From: Motion Team Date: Fri, 27 May 2016 16:21:55 +0000 (+0200) Subject: Built motion from commit 5b01f56.|0.0.106 X-Git-Tag: 0.0.106 X-Git-Url: http://repos.xcallymotion.com/base//%22http:/www.gravatar.com/avatar/%7B%7Bhash%7D%7D/%22?a=commitdiff_plain;h=12391c86d897fc6cd512dd4c4d806074ffb08483;p=motion.git Built motion from commit 5b01f56.|0.0.106 --- diff --git a/package.json b/package.json index bd17ada..3b4c121 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "motion", - "version": "0.0.105", + "version": "0.0.106", "main": "server/app.js", "dependencies": { "accept-language-parser": "^1.0.2", diff --git a/public/app/3c901737.app.js b/public/app/17d782bc.app.js similarity index 59% rename from public/app/3c901737.app.js rename to public/app/17d782bc.app.js index 5a9b943..f548b30 100644 --- a/public/app/3c901737.app.js +++ b/public/app/17d782bc.app.js @@ -1,42 +1,42 @@ -"use strict";angular.module("xCallyShuttleApp",["adf","adf.structures.base","adf.widget.clock","adf.widget.iframe","adf.widget.counter","adf.widget.pie-chart","angular-md5","angular.filter","angularFileUpload","ngLetterAvatar","vAccordion","btford.socket-io","chart.js","checklist-model","colorpicker.module","frapontillo.bootstrap-switch","infinite-scroll","LocalStorageModule","mgo-angular-wizard","ng-slide-down","ngAnimate","ngBootstrap","ngCookies","ngCsv","ngFileSaver","ngJsTree","ngMap","ngPapaParse","ngResource","ngSanitize","notification","oc.lazyLoad","pascalprecht.translate","pdf","remoteValidation","smart-table","sprintf","textAngular","timer","toastr","permission","ui-notification","ui.bootstrap.modal","ui.bootstrap.dropdown","ui.bootstrap.popover","ui.bootstrap.timepicker","ui.bootstrap.tooltip","ui.bootstrap.tpls","ui.bootstrap.accordion","ui.bootstrap.progressbar","ui.bootstrap.buttons","ui.bootstrap.typeahead","ui.grid","ui.grid.autoResize","ui.grid.draggable-rows","ui.grid.exporter","ui.grid.grouping","ui.grid.moveColumns","ui.grid.pagination","ui.grid.treeView","ui.grid.selection","ui.grid.exporter","ui.grid.resizeColumns","ui.router","ui.navbar","ui.select","ui.sortable","xeditable","ngAudio","truncate","ngScrollbars","ngEmoticons","angularSpinner","builder","builder.components","validator","angular-clipboard","ng-code-mirror","angularMoment","jsonFormatter","ui.bootstrap-slider","ui.bootstrap.datepicker"]).config(["$stateProvider","$urlRouterProvider","$locationProvider","$httpProvider","$translateProvider","localStorageServiceProvider","dashboardProvider","ScrollBarsProvider",function(a,b,c,d,e,f,g,h){b.otherwise(function(a){var b=a.get("$state");b.go("landing")}),e.useStaticFilesLoader({prefix:"assets/languages/locale-",suffix:".json"}),e.preferredLanguage("en_EN"),e.useLocalStorage(),e.useSanitizeValueStrategy("sanitize"),c.html5Mode(!0),d.interceptors.push("authInterceptor"),g.structure("4-4-4",{rows:[{columns:[{styleClass:"col-md-4"},{styleClass:"col-md-4"},{styleClass:"col-md-4"}]}]}).structure("3-3-3-3",{rows:[{columns:[{styleClass:"col-md-3"},{styleClass:"col-md-3"},{styleClass:"col-md-3"},{styleClass:"col-md-3"}]}]}),f.setPrefix("motion"),h.defaults={scrollButtons:{scrollAmount:"auto",enable:!0},axis:"y"}}]).factory("settings",["$rootScope","$interval","License","localStorageService","Setting",function(a,b,c,d,e){return a.settings={patternName:"[A-Za-z0-9._\\+*!\\-\\[\\]]+",patternGateway:"^(?:yes|no|[0-9]+)$",patternFaxdetect:"^(?:yes|no|t38|cng|[0-9]+)$",layout:{pageSidebarClosed:d.get("sidebarClosed")||!1,pageQuickSidebarOpened:!1,pageBodySolid:!1,pageAutoScrollOnLoad:1e3}},e.get({id:1}).$promise.then(function(b){a.soundPath=b.soundPath||"/var/opt/motion/server/files/sounds/converted"})["catch"](function(a){console.error(a)}),a.settings}]).factory("authInterceptor",["$rootScope","$q","$cookieStore",function(a,b,c){return{request:function(a){return a.headers=a.headers||{},c.get("token")&&(a.headers.Authorization="Bearer "+c.get("token")),a}}}]).run(["$rootScope","$location","$state","$stateParams","$window","$q","Auth","RoleStore","editableThemes","editableOptions","License","User","PermissionStore",function(a,b,c,d,e,f,g,h,i,j,k,l,m){a.$state=c,a.$stateParams=d,i.bs3.inputClass="input-sm",i.bs3.buttonsClass="btn-xs",j.theme="bs3",a.$on("$stateChangeStart",function(a,c){g.isLoggedInAsync(function(a){c.authenticate&&!a&&b.path("/login")})}),a.updateTableConfig=function(a,b){var c=_.find(a,{name:"All"});c&&(c.value=b)},k.get().$promise.then(function(b){a.license=b.license,m.definePermission("hasCm",function(){return a.license.cm}),m.definePermission("hasChat",function(){return a.license.chat}),m.definePermission("hasMail",function(){return a.license.mail}),m.definePermission("hasFax",function(){return a.license.fax}),m.definePermission("hasSms",function(){return a.license.messaging}),m.definePermission("hasDialer",function(){return a.license.dialer}),m.definePermission("hasJscripty",function(){return a.license.jscripty}),m.definePermission("hasUpdate",function(){return a.license.update})})["catch"](function(a){console.log(a)}),m.definePermission("agent",function(){return g.isAgent()}),m.definePermission("admin",function(){return g.isAdmin()}),m.definePermission("user",function(a,b){var c=f.defer(),d=g.getCurrentUser().$promise;return d?d.then(function(a){_.includes(_.map(a.Modules,"id"),b.toState.data.permissions.id)&&"user"===a.role?c.resolve():c.reject()})["catch"](function(){c.reject()}):c.resolve(),c.promise})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.analytics",{url:"/analytics",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:17}}})}]),angular.module("xCallyShuttleApp").factory("Extracted",["$resource",function(a){return a("/api/analytics/extracted/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.analytics.extracted",{url:"/extracted",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("AnalyticExtractedListCtrl",["$scope","$translate","gridOptions","Extracted","uiGridConstants",function(a,b,c,d,e){a.moment=moment,a.Extracted=d,a.initView=function(){var b={exporterCsvFilename:"ExtractedReports.csv",columnDefs:[{name:"name"},{name:"startDate",displayName:"APPLICATION_START_DATE",filterHeaderTemplate:'
',filters:[{name:"From",condition:e.filter.GREATER_THAN_OR_EQUAL},{name:"To",condition:e.filter.LESS_THAN_OR_EQUAL}]},{name:"endDate",displayName:"APPLICATION_END_DATE",filterHeaderTemplate:'
',filters:[{name:"From",condition:e.filter.GREATER_THAN_OR_EQUAL},{name:"To",condition:e.filter.LESS_THAN_OR_EQUAL}]},{name:"createdAt",displayName:"APPLICATION_RUN_DATE",filterHeaderTemplate:'
',filters:[{name:"From",condition:e.filter.GREATER_THAN_OR_EQUAL},{name:"To",condition:e.filter.LESS_THAN_OR_EQUAL}]},{name:"output"},{name:"status"},{name:"action",width:140,buttons:[{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"},{directive:""}]}]};a.gridOptions=c.gridOptions(d,b,a,{order:"createdAt DESC"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.analytics.extracted.list",{url:"/list",templateUrl:"app/analytic/extracted/list/list.html",controller:"AnalyticExtractedListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").factory("DefaultMetric",["$resource",function(a){return a("/api/analytics/metrics/default/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("AnalyticMetricListCreateModalCtrl",["$scope","$uibModalInstance","Metric","xAlert","$translate","report",function(a,b,c,d,e,f){a.forms={dashboard:void 0},a.item={},a.tables=f.tables,a.ok=function(){return c.save(a.item).$promise.then(function(){b.close()})["catch"](function(a){d.show(e.instant(a.translatedMessage||a.data.translatedMessage),"danger")})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("AnalyticMetricListCtrl",["$scope","xAlert","Modal","$uibModal","$log","gridOptions","Metric","DefaultMetric","$translate",function(a,b,c,d,e,f,g,h,i){a.$translate=i,a.initView=function(){var b={exporterCsvFilename:"Metrics.csv",columnDefs:[{name:"name"},{name:"table",cellTemplate:"
{{'APPLICATION_'+row.entity.table.toUpperCase() | translate}}
"},{name:"description"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/analytics/metrics/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]},c={exporterCsvFilename:"defaultMetrics.csv",columnDefs:[{name:"name"},{name:"table",cellTemplate:"
{{'APPLICATION_'+row.entity.table.toUpperCase() | translate}}
"},{name:"description"},{name:"action",width:125,buttons:[{"class":"blue-hoki",name:"view",onClick:"grid.appScope.showMetric(row.entity)"},{"class":"purple",name:"clone",onClick:"grid.appScope.cloneMetric(row.entity.id)"}]}]};a.gridOptionsDefault=f.gridOptions(h,c,a,null,null,"Default"),a.gridOptions=f.gridOptions(g,b,a)},a.showMetric=function(a){d.open({animation:!0,templateUrl:"app/analytic/metric/list/view.modal.html",controller:"AnalyticMetricListViewModalCtrl",resolve:{metric:a}})},a.cloneMetric=function(c){return h.get({id:c,controller:"clone"}).$promise.then(function(){b.show(i.instant("MESSAGE_WELL_DONE"),"success"),a.gridOptions.getPage()})["catch"](function(a){b.error(a)})},a.create=function(){var c=d.open({animation:!0,templateUrl:"app/analytic/metric/list/create.modal.html",controller:"AnalyticMetricListCreateModalCtrl"});c.result.then(function(){b.show(i.instant("MESSAGE_WELL_DONE")+"!","success"),a.gridOptions.getPage()},function(){e.info("Modal dismissed at: "+new Date)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.analytics.metrics.list",{url:"/list",templateUrl:"app/analytic/metric/list/list.html",controller:"AnalyticMetricListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("AnalyticMetricListViewModalCtrl",["$scope","$uibModalInstance","metric","xAlert","$translate","report",function(a,b,c,d,e,f){a.item=c,a.tables=f.tables,a.close=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").factory("Metric",["$resource",function(a){return a("/api/analytics/metrics/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.analytics.metrics",{url:"/metrics",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("AnalyticMetricViewCtrl",["$scope","xAlert","$translate","$stateParams","$location","Metric","report",function(a,b,c,d,e,f,g){a.tables=g.tables,a.getMetric=function(){return f.get({id:d.id}).$promise.then(function(b){a.metric=b})["catch"](function(a){e.path("/analytics/metrics/list")})},a.updateMetric=function(){return f.update({id:d.id},a.metric).$promise.then(function(){b.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){b.show(c.instant(a.translatedMessage||a.data.translatedMessage),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.analytics.metrics.view",{url:"/view/:id",templateUrl:"app/analytic/metric/view/view.html",controller:"AnalyticMetricViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.analytics.metrics.view.settings",{url:"/settings",templateUrl:"app/analytic/metric/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").factory("CustomReport",["$resource",function(a){return a("/api/analytics/reports/custom/:id/:controller/:action",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("DefaultReport",["$resource",function(a){return a("/api/analytics/reports/default/:id/:controller/:action",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("ReportListCopyModalCtrl",["$scope","$uibModalInstance","$log","customTreeData",function(a,b,c,d){a.customTreeData=d,a.forms={dashboard:void 0},a.item={},a.customTreeConfig={multiple:!1,animation:!0,core:{error:function(a){c.error("treeCtrl: error from js tree - "+angular.toJson(a))},check_callback:!0}},a.ac=function(){return!0},a.initCustomScopeTree=function(){a.customTree=a.customTreeInstance.jstree(!0),a.customTree.deselect_all(),a.customTree.open_all()},a.ok=function(){b.close({parent:a.customTree.get_selected(!0).pop().id})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("ReportListCreateModalCtrl",["$scope","$uibModalInstance","path",function(a,b,c){a.path=c,a.forms={dashboard:void 0},a.item={},a.ok=function(){a.item.model=JSON.stringify({title:a.item.name}),b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("ReportListExtractModalCtrl",["$scope","$uibModalInstance","$translate",function(a,b,c){a.daily=!1,a.dailySwitch={onText:c.instant("APPLICATION_TODAY"),offText:c.instant("APPLICATION_RANGE"),isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"primary"},a.dates={startDate:moment().subtract(1,"days").endOf("day"),endDate:moment().subtract(1,"days").endOf("day")},a.ranges={Yesterday:[moment().subtract(1,"days").startOf("day"),moment().subtract(1,"days").endOf("day")],"Last 7 days":[moment().subtract("days",7).endOf("day"),moment().endOf("day")],"Last 30 days":[moment().subtract("days",30),moment()],"This month":[moment().startOf("month"),moment().endOf("month")]},a.yesterday=moment().subtract(1,"days").format("YYYY-MM-DD"),a.today=moment().format("YYYY-MM-DD"),a.extract=function(c){var d={startDate:moment(a.dates.startDate).format("YYYY-MM-DD"),endDate:moment(a.dates.endDate).format("YYYY-MM-DD"),daily:a.daily,action:c};b.close(d)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("AnalyticReportListCtrl",["$scope","xAlert","$translate","$location","$log","Modal","$uibModal","FileSaver","Blob","gridOptions","CustomReport","DefaultReport","ReportTree",function(a,b,c,d,e,f,g,h,i,j,k,l,m){function n(b,c){var d={parent:c.id};a.selectedNode=b?a.defaultTree.get_path(c," / "):a.customTree.get_path(c," / "),a.gridOptions?a.gridOptions.getPage({parent:c.id},b?l:k):a.gridOptions=j.gridOptions(b?l:k,o,a,d)}var o={exporterCsvFilename:"reports.csv",columnDefs:[{name:"name"},{name:"description"},{name:"manage",width:120,buttons:[{"class":"{{grid.appScope.defaultTreeActive ? 'display-none' : 'blue-hoki'}}",href:"/analytics/reports/view/{{row.entity.id}}/settings",icon:"icon-settings",title:c.instant("APPLICATION_SETTINGS")},{"class":"{{grid.appScope.defaultTreeActive ? 'display-none' : 'red-sunglo'}}",icon:"fa fa-trash-o",title:c.instant("APPLICATION_DELETE"),onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"},{"class":"green",icon:"fa fa-files-o",title:c.instant("APPLICATION_COPY"),onClick:"grid.appScope.copy(row.entity.id)"},{"class":"purple",icon:"fa fa-download",title:c.instant("APPLICATION_EXPORT"),onClick:"grid.appScope.export(row.entity.id)"}]},{name:"actions",buttons:[{"class":"yellow",name:"preview",onClick:"grid.appScope.preview(row.entity.id)"},{"class":"green-turquoise",name:"run",onClick:"grid.appScope.extract(row.entity.id)"}]}]};a.searchField="",a.ac=function(){return!0},a.initDefaultScopeTree=function(){a.defaultTree=a.defaultTreeInstance.jstree(!0),a.defaultTree.deselect_all(),a.defaultTree.close_all(),a.defaultTree.open_node({id:1}),a.defaultTreeReady=!0,a.defaultTreeActive=!0,a.previousDefaultNode=""},a.initCustomScopeTree=function(){a.customTree=a.customTreeInstance.jstree(!0),a.customTree.deselect_all(),a.customTree.close_all(),a.customTree.open_node({id:1}),a.customTreeReady=!0,a.previousCustomNode=""},a.$watchGroup(["defaultTreeReady","customTreeReady"],function(b,c,d){b[0]&&b[1]&&a.defaultTree.select_node({id:"1"})}),a.updateCustomTree=function(){var d={tree:angular.toJson(a.customTree.get_json("#",{flat:!0}))};return m.update({id:2},d).$promise.then(function(a){console.log("Custom Tree Updated")})["catch"](function(a){b.show(c.instant(a.message),"danger")})},a.configTrees=function(){a.defaultTreeConfig={multiple:!1,animation:!0,core:{error:function(a){e.error("treeCtrl: error from js tree - "+angular.toJson(a))},check_callback:!0,themes:{name:"default",url:"../../../assets/css/jstree-metronic/style.css"}},plugins:["search"]},a.customTreeConfig={multiple:!1,animation:!0,core:{error:function(a){e.error("treeCtrl: error from js tree - "+angular.toJson(a))},check_callback:!0,themes:{name:"default",url:"../../../assets/css/jstree-metronic/style.css"}},plugins:["contextmenu","dnd","search"],contextmenu:{items:function(b,d){var e={create:{label:c.instant("APPLICATION_CREATE"),action:function(c){a.customTree.create_node(b),a.customTree.open_node(b)}},rename:{label:c.instant("APPLICATION_RENAME"),action:function(c){a.customTree.edit(b)}},remove:{label:c.instant("APPLICATION_REMOVE"),action:function(c){console.log(b),a.deleteNode(b.text,b)}}};return"#"===b.parent&&(delete e.rename,delete e.remove),d(e),e}}}},a.deleteNode=f.confirm["delete"](function(b){a.customTree.delete_node(b),a.previousCustomNode==b.id&&a.customTree.select_node({id:b.parent})}),a.searchTrees=function(){a.defaultTree.search(a.searchField),a.customTree.search(a.searchField)},a.selectDefaultNode=function(){if(a.customTreeReady){a.previousCustomNode="";var b=a.defaultTree.get_selected(!0),c=b.pop();if(a.defaultTree.deselect_node(b[0],!0),a.customTree.deselect_all(),a.defaultTree.select_node(c,!0),c.id===a.previousDefaultNode)return void console.log("def");a.previousDefaultNode=c.id,a.defaultTreeActive=!0,n(!0,c)}},a.selectCustomNode=function(){if(a.defaultTreeReady){a.previousDefaultNode="";var b=a.customTree.get_selected(!0),c=b.pop();if(a.customTree.deselect_node(b[0],!0),a.defaultTree.deselect_all(),a.customTree.select_node(c,!0),c.id===a.previousCustomNode)return void console.log("cus");a.previousCustomNode=c.id,a.defaultTreeActive=!1,n(!1,c)}},a.getTrees=function(){return m.query().$promise.then(function(b){a.defaultTreeData=JSON.parse(b[0].tree),a.customTreeData=JSON.parse(b[1].tree),a.configTrees()})["catch"](function(a){b.show(c.instant(a.message),"danger")})},a.create=function(){var c=g.open({animation:!0,templateUrl:"app/analytic/report/list/create.modal.html",controller:"ReportListCreateModalCtrl",resolve:{path:function(){return a.selectedNode}}});c.result.then(function(c){return c.parent=a.previousCustomNode,k.save(c).$promise.then(function(a){d.path("/analytics/reports/view/"+a.id+"/settings")})["catch"](function(a){b.show(a.message,"danger")})},function(){e.info("Modal dismissed at: "+new Date)})},a.copy=function(d){var f=a.defaultTreeActive?l:k,h=g.open({animation:!0,templateUrl:"app/analytic/report/list/copy.modal.html",controller:"ReportListCopyModalCtrl",resolve:{customTreeData:function(){return a.customTree.get_json("#",{flat:!0})}}});h.result.then(function(e){return f.save({id:d,controller:"copy"},e).$promise.then(function(){a.gridOptions.getPage(),b.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){b.show(a.message,"danger")})},function(){e.info("Modal dismissed at: "+new Date)})},a["export"]=function(c){var d=a.defaultTreeActive?l:k;return d.get({id:c,controller:"export"}).$promise.then(function(a){var b=new i([angular.toJson(a)],{type:"application/json;charset=utf-8"});h.saveAs(b,a.name+".json")})["catch"](function(a){console.error(data),b.show(a.message,"danger")})},a["import"]=function(d){var e=JSON.parse(d);e.parent=a.previousCustomNode;var f=!(!e.name||!e.parent),g=!0;return _.forEach(e.Fields,function(a){a.field&&a.alias||(g=!1)}),f&&g?k.save({controller:"import"},e).$promise.then(function(){a.gridOptions.getPage(),b.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){b.show(a.message,"danger")}):void b.show(c.instant("MESSAGE_INVALID_JSON"),"danger")},a.preview=function(b){g.open({animation:!0,templateUrl:"app/analytic/report/list/preview.modal.html",controller:"ReportListPreviewModalCtrl",size:"full",resolve:{report:function(){return{id:b,tree:a.defaultTreeActive?"default":"custom"}}}})},a.extract=function(d){var f=g.open({animation:!0,templateUrl:"app/analytic/report/list/extract.modal.html",controller:"ReportListExtractModalCtrl",size:"md",resolve:{report:function(){return{id:d,tree:a.defaultTreeActive?"default":"custom"}}}});f.result.then(function(e){e.daily||delete e.daily;var f=a.defaultTreeActive?l:k;return f.get(_.merge({id:d,controller:"extract"},e)).$promise.then(function(){b.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){b.show(a.message,"danger")})},function(){e.info("Modal dismissed at: "+new Date)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.analytics.reports.list",{url:"/list",templateUrl:"app/analytic/report/list/list.html",controller:"AnalyticReportListCtrl"})}]),angular.module("xCallyShuttleApp").controller("ReportListPreviewModalCtrl",["$scope","$uibModalInstance","report","xAlert","$translate","$timeout","CustomReport","DefaultReport",function(a,b,c,d,e,f,g,h){a.daily=!1,a.dailySwitch={onText:e.instant("APPLICATION_TODAY"),offText:e.instant("APPLICATION_RANGE"),isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"primary"},a.dates={startDate:moment().subtract(1,"days").endOf("day"),endDate:moment().subtract(1,"days").endOf("day")},a.ranges={Yesterday:[moment().subtract(1,"days").startOf("day"),moment().subtract(1,"days").endOf("day")],"Last 7 days":[moment().subtract("days",7).endOf("day"),moment().endOf("day")],"Last 30 days":[moment().subtract("days",30),moment()],"This month":[moment().startOf("month"),moment().endOf("month")]},a.yesterday=moment().subtract(1,"days").format("YYYY-MM-DD"),a.today=moment().format("YYYY-MM-DD");var i={offset:0,limit:25,sort:null,where:{},order:{}};a.gridOptions={paginationPageSizes:[10,25,50],paginationPageSize:25,useExternalPagination:!0,enableSorting:!1,enableFiltering:!0,useExternalFiltering:!0,enableGrouping:!1,enableColumnMenus:!1,treeRowHeaderAlwaysVisible:!1,gridMenuShowHideColumns:!1,enableGridMenu:!1,onRegisterApi:function(b){a.gridApi=b,b.pagination.on.paginationChanged(a,function(b,c){i.offset=(b-1)*c,i.limit=c,a.getPage()}),b.core.on.filterChanged(a,function(){var b=this.grid,c={};b.columns.forEach(function(a){a.filters[0].term&&(c[a.field]=a.filters[0].term)}),i.where=c,a.getPage()})}},a.getPage=function(){var b={offset:i.offset,limit:i.limit,startDate:moment(a.dates.startDate).format("YYYY-MM-DD"),endDate:moment(a.dates.endDate).format("YYYY-MM-DD"),daily:a.daily};_.forOwn(i.where,function(a,c){b[c]=a});var e="custom"===c.tree?g:h;return e.get(_.merge({id:c.id,controller:"preview"},b)).$promise.then(function(b){a.gridOptions.totalItems=b.count,a.gridOptions.paginationPageSizes[3]=b.count,a.gridOptions.data=b.rows,a.showResult=!0})["catch"](function(a){d.error(a)})},a.cancel=function(){b.dismiss("cancel")},f(function(){a.getPage()})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.analytics.reports",{url:"/reports",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("ReportAgent",["$resource",function(a){return a("/api/report/agents/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ReportIntegration",["$resource",function(a){return a("/api/report/integrations/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ReportMember",["$resource",function(a){return a("/api/report/members/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ReportTree",["$resource",function(a){return a("/api/analytics/reports/trees/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("AnalyticReportViewCtrl",["$scope","xAlert","$translate","$stateParams","$location","ReportAgent","ReportCall","ReportMailSession","ReportSmsSession","ReportMember","ReportQueue","ReportIntegration","ReportChatSession","DefaultReport","CustomReport","Metric","report",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){function r(d){var e=_.find(a.tables,{value:d}).resource;e.get({controller:"describe"}).$promise.then(function(b){a.tableFields=_.map(b,function(a,b){return"$promise"!==b&&"$resolved"!==b?{name:b,value:b}:void 0})})["catch"](function(a){b.show(c.instant(a.message),"danger")})["finally"](function(){s(d)})}function s(d){return p.get({controller:"table",table:d}).$promise.then(function(b){_.forEach(b.rows,function(b){a.tableFields.push({name:"Metric."+b.name,value:b.metric,MetricId:b.id})})})["catch"](function(a){b.show(c.instant(a.message),"danger")})}function t(a){return String(a).replace(//g,">")}function u(a){if(!a)return"";for(var b="(",c=0;c0&&(b+=" "+a.operator+" "),b+=a.rules[c].group?u(a.rules[c].group):a.rules[c].field+" "+t(a.rules[c].condition)+" '"+("like"===a.rules[c].condition?"%"+a.rules[c].value+"%":a.rules[c].value)+"'";return b+")"}a.$translate=c,a.tempReport={},a.tables=q.tables;var v={group:{operator:"AND",rules:[]}};a.getReport=function(){return a.firstLoad=!0,o.get({id:d.id}).$promise.then(function(b){a.report=b,_.forEach(a.report.Fields,function(a){delete a.id}),a.report.conditions=a.report.conditions?JSON.parse(a.report.conditions):_.clone(v,!0),a.report.Fields.length&&a.getPreview()})["catch"](function(a){console.error(a),e.path("/analytics/reports/list")})},a.randomName=function(a,b){var c=[];for(a=a||5,b=b||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";--a;)c.push(b.charAt(Math.floor(Math.random()*b.length)));return c.join("")},a.$watch("report.table",function(b,c){b&&(r(b),c&&(a.tempReport[c]={conditions:a.report.conditions,fields:a.report.Fields}),a.firstLoad?a.firstLoad=!1:a.tempReport[b]?(a.report.Fields=a.tempReport[b].fields,a.report.conditions=a.tempReport[b].conditions):(a.report.Fields=[],a.report.conditions=_.clone(v,!0)))},!0),a.setMetricId=function(b,c){a.report.Fields[c].MetricId=b.MetricId?b.MetricId:null},a.groupByField=[{name:"APPLICATION_YES",value:!0},{name:"APPLICATION_NO",value:!1}],a.functions=[{name:"Sum",value:"SUM"},{name:"Count",value:"COUNT"},{name:"Count Distinct",value:"COUNT DISTINCT"},{name:"Maximum",value:"MAX"},{name:"Minimum",value:"MIN"},{name:"Average",value:"AVG"},{name:"Group Concat",value:"GROUP_CONCAT"},{name:"Group Concat(asc)",value:"GROUP_CONCAT ASC"},{name:"Group Concat(desc)",value:"GROUP_CONCAT DESC"}],a.formatFunctions=[{name:"Sec To Time",value:"SEC_TO_TIME"},{name:"Date",value:"DATE"},{name:"Hour",value:"HOUR"},{name:"Round",value:"ROUND"},{name:"Unix TimeStamp",value:"UNIX_TIMESTAMP"}],a.addField=function(){a.report.Fields.push({groupBy:!1})},a.removeField=function(b){a.report.Fields.splice(b,1)},a.sortableOptions={"ui-floating":!0,cancel:".unsortable",handle:".report-field-handle",axis:"y"},a.updateReport=function(){if(a.report.Fields.length){var e=angular.copy(a.report);return e.conditions=angular.toJson(e.conditions),o.update({id:d.id},e).$promise.then(function(){b.show(c.instant("MESSAGE_WELL_DONE")+"!","success"),a.getPreview()})["catch"](function(a){b.error(a)})}b.show(c.instant("MESSAGE_SELECT_A_FIELD"),"danger")},a.$watch("report.conditions",function(b){a.output=b?u(b.group):"()"},!0),a.getPreview=function(){return a.gridOptions=null,o.get({id:d.id,controller:"preview",limit:20}).$promise.then(function(b){a.gridOptions={enableFiltering:!0,treeRowHeaderAlwaysVisible:!1,enableGridMenu:!0,data:b.rows}})["catch"](function(a){console.log(a),b.show(c.instant(a.message||"MESSAGE_QUERY_NOT_VALID"),"warning")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.analytics.reports.view",{url:"/view/:id",templateUrl:"app/analytic/report/view/view.html",controller:"AnalyticReportViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.analytics.reports.view.settings",{url:"/settings",templateUrl:"app/analytic/report/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels",{url:"/channels",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat",{url:"/chat",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("ChatEnquiry",["$resource",function(a){return a("/api/chat/enquiries/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ChatReport",["$resource",function(a){return a("/api/report/chats/:id/:controller1/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ChatVisitor",["$resource",function(a){return a("/api/chat/visitors/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ChatMessage",["$resource",function(a){return a("/api/chat/messages/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ChatRoom",["$resource",function(a){return a("/api/chat/rooms/:id/:controller",{id:"@id"},{me:{method:"GET",isArray:!0,params:{id:"me"}},users:{method:"GET",params:{id:"users"}},externals:{method:"GET",isArray:!0,params:{id:"type",controller:"external"}},groups:{method:"GET",isArray:!0,params:{id:"groups"}},update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("ChatOfflineListCtrl",["$scope","ChatVisitor","gridOptions",function(a,b,c){a.initView=function(){var d={exporterCsvFilename:"chat_offline_messages.csv",columnDefs:[{name:"fullname",cellClass:"text-center"},{name:"email",cellClass:"text-center"},{name:"ChatWebsite.name",displayName:"Website",cellClass:"text-center"},{name:"createdAt",displayName:"createdAt",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
'},{name:"action",width:100,buttons:[{"class":"blue-hoki",href:"/channels/chat/offline/view/{{row.entity.id}}/detail",name:"detail"}]}]};a.gridOptions=c.gridOptions(b,d,a,{origin:"enquiry"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.offline.list",{url:"/list",templateUrl:"app/channels/chat/offline/list/list.html",controller:"ChatOfflineListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.offline",{url:"/offline",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:8}}})}]),angular.module("xCallyShuttleApp").controller("ChatOfflineViewCtrl",["$scope","$stateParams","ChatVisitor",function(a,b,c){a.initView=function(){return c.get({id:b.id}).$promise.then(function(b){a.chatVisitor=b})["catch"](function(a){ -console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.offline.view",{url:"/view/:id",templateUrl:"app/channels/chat/offline/view/view.html",controller:"ChatOfflineViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.chat.offline.view.detail",{url:"/detail",templateUrl:"app/channels/chat/offline/view/view.detail.html",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/news.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("ChatOnlineListCtrl",["$scope","ChatRoom","gridOptions",function(a,b,c){a.initView=function(){var d={exporterCsvFilename:"chat_online_messages.csv",columnDefs:[{name:"ChatVisitor.fullname",displayName:"APPLICATION_FULLNAME",cellClass:"text-center"},{name:"ChatVisitor.email",displayName:"APPLICATION_EMAIL",cellClass:"text-center"},{name:"action",width:100,buttons:[{"class":"blue-hoki",href:"/channels/chat/online/view/{{row.entity.id}}/detail",name:"detail"}]}]};a.gridOptions=c.gridOptions(b,d,a,{id:"online"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.online.list",{url:"/list",templateUrl:"app/channels/chat/online/list/list.html",controller:"ChatOnlineListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.online",{url:"/online",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:8}}})}]),angular.module("xCallyShuttleApp").controller("ChatOnlineViewCtrl",["$scope","$stateParams","ChatRoom",function(a,b,c){a.initView=function(){return a.config={autoHideScrollbar:!1,theme:"light",advanced:{updateOnContentResize:!0},setHeight:400,scrollInertia:0},c.get({id:b.id}).$promise.then(function(b){a.chatRoom=b})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.online.view",{url:"/view/:id",templateUrl:"app/channels/chat/online/view/view.html",controller:"ChatOnlineViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.chat.online.view.detail",{url:"/detail",templateUrl:"app/channels/chat/online/view/view.detail.html",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/news.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("PreviewCtrl",["$scope",function(a){a.message="Hello"}]),angular.module("xCallyShuttleApp").directive("preview",function(){return{templateUrl:"app/channels/chat/preview/preview.html",restrict:"EA",link:function(a,b,c){}}}),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("preview",{url:"/preview",templateUrl:"app/channels/chat/preview/preview.html",controller:"PreviewCtrl",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:8}}})}]),angular.module("xCallyShuttleApp").factory("ChatQueue",["$resource",function(a){return a("/api/chat/queues/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("ChatQueueListCtrl",["$scope","ChatQueue","gridOptions","Auth","$uibModal",function(a,b,c,d,e){a.initView=function(){a.Auth=d;var e={exporterCsvFilename:"chat_queues.csv",columnDefs:[{name:"name"},{name:"description"},{name:"strategy"},{name:"timeout"},{name:"action",width:200,buttons:[{"class":"blue-hoki",href:"/channels/chat/queues/view/{{row.entity.id}}/settings",name:"settings"},{"class":"green-meadow",href:"/channels/chat/queues/view/{{row.entity.id}}/agents",name:"agents",hide:"user"===d.getCurrentUser().role},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,e,a)},a.createItem=function(){var b=e.open({animation:!0,templateUrl:"app/channels/chat/queue/list/list.create.modal.html",controller:"ChatQueueListCreateCtrl"});b.result.then(function(){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("ChatQueueListCreateCtrl",["$scope","$uibModalInstance","$translate","xAlert","ChatQueue",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return e.save(a.item).$promise.then(function(a){d.show(c.instant("MESSAGE_WELL_DONE"),"success"),b.close(a)})["catch"](function(a){d.show(a.data.message,"danger")})},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.queues.list",{url:"/list",templateUrl:"app/channels/chat/queue/list/list.html",controller:"ChatQueueListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.queues",{url:"/queues",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:8}}})}]),angular.module("xCallyShuttleApp").controller("ChatQueueViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","ChatQueue","Team","Auth",function(a,b,c,d,e,f,g,h){a.Auth=h;var i=function(){return{select:function(b){return f.save({id:a.queue.id,controller:"agents"},{agents:b,penalty:a.queue.penalty}).$promise.then(function(){a.getTeams()})["catch"](function(a){console.log(a)})},deselect:function(b){return f["delete"]({id:a.queue.id,controller:"agents",agents:b}).$promise.then(function(){a.getTeams()})["catch"](function(a){console.log(a)})}}};a.getQueue=function(){b.get("/api/chat/queues/"+e.id).success(function(b){b.penalty=0,a.queue=b}).error(function(a){console.error(a)})},a.updateChatQueue=function(){var f=angular.copy(a.queue);b.put("/api/chat/queues/"+e.id,f).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(b){a.queue=f,b.errors.forEach(function(a){c.show(a.message,"danger")})})},a.getTeams=function(){return g.get({controller:"associations"}).$promise.then(function(b){return a.teams=b.rows,f.get({id:e.id,controller:"agents"}).$promise}).then(function(b){ComponentsDropdowns.bindChatQueue(a.teams,_.map(b.rows,function(a){return{id:a.id,penalty:a.UserHasChatQueue.penalty}}),i)})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.queues.view",{url:"/view/:id",templateUrl:"app/channels/chat/queue/view/view.html",controller:"ChatQueueViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.chat.queues.view.settings",{url:"/settings",templateUrl:"app/channels/chat/queue/view/view.settings.html"}).state("main.channels.chat.queues.view.agents",{url:"/agents",templateUrl:"app/channels/chat/queue/view/view.agents.html",cache:!1,serie:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.realtime",{url:"/realtime",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:8}}})}]),angular.module("xCallyShuttleApp").controller("ChatRealtimeViewAgentCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","Agent","Pause","Action","ChatQueue","usSpinnerService","$q","uiGridConstants","Auth",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){function o(){return k.spin("spinner-grid"),g.get(t).$promise.then(function(b){a.gridOptions.totalItems=b.count,a.gridOptions.data=[],b.rows.forEach(function(a){q(a)})})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){k.stop("spinner-grid")})}function p(){e.socket.on("agent:save",function(b){var c=_.find(a.gridOptions.data,{agentId:b.id,isAgent:!0});c&&(c.online=b.online,c.lastLoginAt=b.lastLoginAt,c.pause=b.chatPause,c.pauseType=b.pauseType,c.lastPauseAt=b.lastPauseAt,c.ipaddr=b.ipaddr,c.port=b.port,c.fullcontact=b.fullcontact,c.useragent=b.useragent,c.lastms=b.lastms,c.internal=b.internal,_.map(a.gridOptions.data,function(a){a.isAgent||a.agentId!==b.id||(a.online=b.online)}))}),e.socket.on("agent:remove",function(b){_.remove(a.gridOptions.data,{agentId:b.id})}),e.socket.on("user_has_chat_queue:save",function(b){var c=_.includes(_.map(a.CurrentUser.PChatQueues,"id"),b.ChatQueueId)||n.isAdmin();if(c){var d=_.find(a.gridOptions.data,{agentId:b.UserId,isAgent:!0});if(d){var e=a.gridOptions.data.indexOf(d);a.gridOptions.data.splice(e+1,0,{isAgent:!1,agentId:b.UserId,queue:b.queue,queueId:b.ChatQueueId,agent:b.membername,online:d.online})}}}),e.socket.on("user_has_chat_queue:remove",function(b){_.remove(a.gridOptions.data,{agentId:b.UserId,queueId:b.ChatQueueId})})}function q(b){a.gridOptions.data.push({isAgent:!0,agentId:b.id,agent:b.name,online:b.online,lastLoginAt:b.lastLoginAt,lastPauseAt:b.lastPauseAt,pause:b.chatPause,pauseType:b.pauseType,ipaddr:b.ipaddr,port:b.port,fullcontact:b.fullcontact,useragent:b.useragent,lastms:b.lastms,internal:b.internal,$$treeLevel:0}),b.ChatQueues.forEach(function(c){a.gridOptions.data.push({isAgent:!1,agentId:b.id,queue:c.name,queueId:c.id,agent:b.name,online:b.online})})}function r(){return h.get().$promise.then(function(b){a.pauses=b.rows,e.syncUpdates("pause",a.pauses)})["catch"](function(a){f.show(a.message,"danger")})}function s(){return j.get().$promise.then(function(b){a.chatQueues=b.rows,e.syncUpdates("chat_queue",a.chatQueues)})["catch"](function(a){f.show(a.message,"danger")})}a.chatQueues=[];var t={controller:"realtime",controller1:"chat",offset:0,limit:10};a.moment=moment,a.initAgents=function(){a.gridOptions={enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,multiSelect:!0,showTreeExpandNoChildren:!0,columnDefs:[{name:"name",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{row.entity.agent}} <{{row.entity.internal}}>
'},{name:"online",displayName:"APPLICATION_ONLINE",width:150,headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
({{hhours}}:{{mminutes}}:{{sseconds}})
',filter:{type:m.filter.SELECT,selectOptions:[{value:"true",label:"ONLINE"},{value:"false",label:"OFFLINE"}]}},{name:"chatPause",displayName:"APPLICATION_PAUSE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
({{row.entity.pauseType}}){{hhours}}:{{mminutes}}:{{sseconds}}
',filter:{type:m.filter.SELECT,selectOptions:[{value:"true",label:"PAUSED"},{value:"false",label:"NOT PAUSED"}]},enableSorting:!1,enableColumnMenu:!1},{name:"queue",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"action",displayName:"",width:170,cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1}],data:[],gridMenuTitleFilter:function(a){var b=l.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length)}),a.gridApi.treeBase.on.rowExpanded(a,function(b){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length+b.treeNode.children.length)}),a.gridApi.treeBase.on.rowCollapsed(a,function(b){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length-b.treeNode.children.length)}),a.gridApi.core.on.sortChanged(a,function(a,b){0===b.length?t.order=null:t.order=b[0].name+" "+b[0].sort.direction.toUpperCase(),o()}),a.gridApi.pagination.on.paginationChanged(a,function(a,b){t.offset=(a-1)*b,t.limit=b,o()}),a.gridApi.core.on.filterChanged(a,function(){var a=this.grid;a.columns.forEach(function(a){a.filters[0].term?t[a.name]=a.filters[0].term:delete t[a.name]}),o()})}},o(),r(),s(),p()};var u=function(a){var b=a?30*a+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("agent"),e.unsyncUpdates("user_has_chat_queue")}),a.pause=function(b,c,e){return e&&(a.pauseType=null),i.save({name:c,agent:b,type:e||"DEFAULT PAUSE",data4:e||"DEFAULT PAUSE",channel:"chat"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},a.joinQueue=function(e){var g=c.open({animation:!0,templateUrl:"app/channels/chat/realtime/view/agent/queue.modal.add.html",controller:"ChatRealtimeViewAgentQueueModalCtrl",resolve:{queues:function(){return _.reject(a.chatQueues,function(b){return!!_.find(a.gridOptions.data,{queue:b.name,isAgent:!1,agentId:e})})}}});g.result.then(function(b){return i.save({name:"QueueAdd",agent:e,queues:_.filter(a.chatQueues,function(a){return _.includes(b.queues,a.id)}),channel:"chat",data1:e,data3:b.queues.join(","),data4:"chat"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},function(){b.info("Modal dismissed at: "+new Date)})},a.leaveQueue=function(a,b){return i.save({name:"QueueRemove",agent:a,queueId:b,channel:"chat",data1:a,data3:b,data4:"chat"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},a.showInfo=function(a){c.open({animation:!0,templateUrl:"app/channels/chat/realtime/view/agent/agent.modal.info.html",controller:"ChatRealtimeViewAgentInfoModalCtrl",resolve:{agent:a}})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.realtime.view.agents",{url:"/agents",templateUrl:"app/channels/chat/realtime/view/agent/agent.html",controller:"ChatRealtimeViewAgentCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChatRealtimeViewAgentInfoModalCtrl",["$scope","$uibModalInstance","$http","agent",function(a,b,c,d){a.agent=d,a.close=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("ChatRealtimeViewAgentQueueModalCtrl",["$scope","$uibModalInstance","$http","queues",function(a,b,c,d){a.queues=d,a.item={},a.save=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("ChatRealtimeViewApplicationCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","ReportChatSession","usSpinnerService","$q","uiGridConstants","$timeout",function(a,b,c,d,e,f,g,h,i,j,k){function l(){return h.spin("spinner-grid"),g.get({controller:"waiting",controller2:"applications"}).$promise.then(function(b){a.gridOptions.data=b.rows})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){m(),h.stop("spinner-grid")})}function m(){e.socket.on("report_chat_session:save",function(b){var c=_.find(a.gridOptions.data,{id:b.id});c?(_.merge(c,b),b.leaveAt&&k(function(){_.remove(a.gridOptions.data,{id:b.id})},1e4)):b.leaveAt||a.gridOptions.data.push(b)}),e.socket.on("report_chat_session:remove",function(b){_.remove(a.gridOptions.data,{id:b.id})})}a.moment=moment,a.initApplications=function(){a.gridOptions={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"uniqueid",displayName:"APPLICATION_UNIQUEID",headerCellFilter:"translate"},{name:"websitename",displayName:"APPLICATION_WEBSITE",headerCellFilter:"translate"},{name:"application",displayName:"APPLICATION_APPLICATION",headerCellFilter:"translate"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}{{\'APPLICATION_QUEUESTATUS_ABANDON\' | translate}}{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}{{\'APPLICATION_UNMANAGED\' | translate}} [{{hhours}}:{{mminutes}}:{{sseconds}}]
',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"membername",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.membername || ''}}
"},{name:"queuename",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.queuename || ''}}
"}],data:[],gridMenuTitleFilter:function(a){var b=i.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){n(a.gridOptions.data.length)})}},l()};var n=function(a){var b=a?30*a+60:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("report_chat_session")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.realtime.view.applications",{url:"/applications",templateUrl:"app/channels/chat/realtime/view/application/application.html",controller:"ChatRealtimeViewApplicationCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChatRealtimeViewCtrl",["$scope",function(a){a.agents=[{name:"Queues",link:"main.chat.realtime.view.agent.queues"},{name:"Timeline",link:"main.chat.realtime.view.agent.timeline"}],a.sessions=[{name:"Sessions",link:"main.chat.realtime.view.sessions"}]}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.realtime.view",{url:"/view",templateUrl:"app/channels/chat/realtime/view/view.html",controller:"ChatRealtimeViewCtrl"})}]),angular.module("xCallyShuttleApp").factory("ReportChatRoom",["$resource",function(a){return a("/api/report/chat/rooms/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ReportChatSession",["$resource",function(a){return a("/api/report/chat/sessions/:id/:controller/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.room.external",{url:"/external",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ChatRoomExternalListCtrl",["$scope","$timeout","socket","Auth","ChatRoom","usSpinnerService","Tag",function(a,b,c,d,e,f,g){function h(){return g.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)})}a.openChat=function(b){return e.get({id:b.id}).$promise.then(function(b){var c=_.find(a.workspaces,{id:b.id,type:"chatRoom"});c?c.active=!0:a.workspaces.push({id:b.id,name:b.ChatVisitor.fullname,type:"chatRoom","class":"icon-bubble",active:!0})})["catch"](function(a){console.error(a)})},a.initView=function(){a.query={status:"OPEN",tags:[]},a.gridOptions={enableGridMenu:!1,enableFiltering:!0,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,columnDefs:[{name:"userpic",displayName:"",width:35,cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',enableColumnMenu:!1,enableSorting:!1,enableFiltering:!1},{name:"fullname",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{row.entity.ChatVisitor.fullname}}
',enableSorting:!0,enableFiltering:!0,enableColumnMenu:!0},{name:"action",cellTemplate:'
{{\'APPLICATION_CHAT\' | translate}}
',cellClass:"ui-grid-vcenter",width:100,enableFiltering:!1,enableSorting:!1,enableColumnMenu:!1}],data:[]},a.getPage(),h()},a.onChanged=function(){a.getPage()},a.$watch("query.status",function(){a.getPage()},!0),a.getPage=function(){return f.spin("spinner-grid"),e.get(_.merge({id:"externals"},a.query)).$promise.then(function(b){a.gridOptions.data=b.rows})["catch"](function(a){console.error(a)})["finally"](function(){f.stop("spinner-grid")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.room.external.list",{url:"/list",templateUrl:"app/channels/chat/room/external/list/list.html",controller:"ChatRoomExternalListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.room.group",{url:"/group",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ChatRoomGroupListCtrl",["$scope","$timeout","Auth","ChatRoom","usSpinnerService","Tag",function(a,b,c,d,e,f){function g(){return f.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)})}a.getFullnames=function(a){var b=_.map(a.Users,"fullname");return a.ChatVisitor&&b.unshift(a.ChatVisitor.fullname),_.without(b,c.getCurrentUser().fullname).join(", ")},a.openChat=function(b){return d.get({id:b.id}).$promise.then(function(c){var d=_.find(a.workspaces,{id:c.id,type:"chatRoom"});d?d.active=!0:a.workspaces.push({id:c.id,data:b,name:a.getFullnames(c),type:"chatRoom","class":"icon-bubble",active:!0})})["catch"](function(a){console.error(a)})},a.initView=function(){a.query={status:"OPEN",tags:[]},a.currentUser=c.getCurrentUser(),a.gridOptions={enableGridMenu:!1,enableColumnResizing:!0,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,columnDefs:[{name:"userpic",displayName:"",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',enableColumnMenu:!1,enableSorting:!1,enableFiltering:!1},{name:"Users",displayName:"",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{grid.appScope.getFullnames(row.entity)}}
",enableSorting:!0,enableFiltering:!0,enableColumnMenu:!0},{name:"action",cellTemplate:'
{{\'APPLICATION_CHAT\' | translate}}
',cellClass:"ui-grid-vcenter",width:100,enableFiltering:!1,enableSorting:!1,enableColumnMenu:!1}],data:[]},a.getPage(),g()},a.onChanged=function(){a.getPage()},a.$watch("query.status",function(){a.getPage()},!0),a.getPage=function(){return e.spin("spinner-grid"),d.get(_.merge({id:"groups"},a.query)).$promise.then(function(b){a.gridOptions.data=b.rows})["catch"](function(a){console.error(a)})["finally"](function(){e.stop("spinner-grid")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.room.group.list",{url:"/list",templateUrl:"app/channels/chat/room/group/list/list.html",controller:"ChatRoomGroupListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.room.internal",{url:"/internal",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ChatRoomInternalListCtrl",["$scope","$timeout","socket","Auth","ChatRoom","usSpinnerService",function(a,b,c,d,e,f){a.openChat=function(b){return e.users({users:[d.getCurrentUser().id,b.id]}).$promise.then(function(c){var d=_.find(a.workspaces,{id:c.id,type:"chatRoom"});d?d.active=!0:a.workspaces.push({id:c.id,name:b.fullname,type:"chatRoom","class":"icon-bubble",active:!0})})["catch"](function(a){console.error(a)})},a.initView=function(){a.gridOptions={enableGridMenu:!1,enableFiltering:!0,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,columnDefs:[{name:"userpic",displayName:"",width:35,cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',enableColumnMenu:!1,enableSorting:!1,enableFiltering:!1},{name:"fullname",enableSorting:!0,enableFiltering:!0,enableColumnMenu:!0},{name:"action",cellTemplate:'
{{\'APPLICATION_CHAT\' | translate}}
',cellClass:"ui-grid-vcenter",width:100,enableFiltering:!1,enableSorting:!1,enableColumnMenu:!1}],data:[]},c.socket.on("user:save",function(b){if(b.online&&d.getCurrentUser().id!==b.id){var c=_.find(a.gridOptions.data,{id:b.id});c?_.merge(c,b):a.gridOptions.data.push(b)}else _.remove(a.gridOptions.data,{id:b.id})}),c.socket.on("agent:save",function(b){if(b.online&&d.getCurrentUser().id!==b.id){var c=_.find(a.gridOptions.data,{id:b.id});c?_.merge(c,b):a.gridOptions.data.push(b)}else _.remove(a.gridOptions.data,{id:b.id})}),e.get({id:"agents"}).$promise.then(function(b){a.gridOptions.data=b.rows})["catch"](function(a){console.error(a)})["finally"](function(){f.stop("spinner-grid")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.room.internal.list",{url:"/list",templateUrl:"app/channels/chat/room/internal/list/list.html",controller:"ChatRoomInternalListCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChatRoomAddCtrl",["$scope","$uibModalInstance","Agent","items",function(a,b,c,d){a.items=d,a.agents=c.get(function(b){a.agents=b,a.items.forEach(function(b){_.remove(a.agents.rows,{id:b.id})})}),a.selected={items:[]},a.ok=function(){b.close(_.union(_.map(a.selected.items,"id"),_.map(a.items,"id")))},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").controller("ChatRoomCloseCtrl",["$scope","$uibModalInstance","closed","ChatWebsite","websiteId",function(a,b,c,d,e){a.modal={title:"APPLICATION_CONFIRM_CLOSE",text:"MESSAGE_ARE_YOU_SURE_YOU_WANT_TO_CLOSE_THE_CHAT"},a.initDisposition=function(){return d.get({websiteId:e,controller:"dispositions"}).$promise.then(function(b){a.dispositions=b.rows})["catch"](function(a){console.error(a)})},a.item={},a.closed=c,a.ok=function(){b.close(a.item)},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").directive("chatRoom",["$interval","$rootScope","$uibModal","$notification","$window","socket","Auth","ChatRoom","ngAudio","xAlert","Tag","CannedAnswer","List","$translate",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){return{restrict:"E",scope:{workspace:"="},templateUrl:"app/channels/chat/room/room.directive.html",link:function(a){a.user=g.getCurrentUser(),a.message={body:""},a.openContact=function(c){return a.chatRoom.ChatWebsite.List?m.get({listId:a.chatRoom.ChatWebsite.List.id,controller:"contacts",email:c}).$promise.then(function(a){b.$root.workspaces.push({active:!0,"class":"icon-user",contactID:a.id,name:a.email,type:"contact"})})["catch"](function(a){console.error(a)}):void j.show(n.instant("MESSAGE_NO_LIST_CONFIGURED"),"info")},a.modelOptions={debounce:{"default":500,blur:250},getterSetter:!0},a.form={},a.panelLeft="col-md-4",a.panelRight="col-md-8",a.onSelect=function(){a.message.body=a.modelOptions.selectedAnswer,delete a.modelOptions.selectedAnswer},a.togglePanelLeft=function(){a.panelLeft?(a.panelLeft=null,a.panelRight="col-md-12"):(a.panelLeft="col-md-4",a.panelRight="col-md-8")},a.options={link:!0,linkTarget:"_blank",pdf:{embed:!0},image:{embed:!0},audio:{embed:!0},code:{highlight:!0, -lineNumbers:!1},basicVideo:!0},a.getAnswers=function(a){return l.get({key:a}).$promise.then(function(a){return console.log(a),_.map(a.rows,"value")})},a.isMyRoom=function(b){return!!_.find(b,{id:a.user.id})},h.get({id:a.workspace.id}).$promise.then(function(c){a.chatRoom=c,a.form.tags=c.tags,a.chatRoom.ChatVisitor&&(a.chatRoom.ChatVisitors=[],a.chatRoom.ChatVisitors.push(a.chatRoom.ChatVisitor)),f.socket.on("chat_room:save",function(b){a.chatRoom.id===b.id&&_.merge(a.chatRoom,b)}),f.socket.on("user_has_chat_room:save",function(b){return b.UserId!=a.user.id&&b.ChatRoomId==a.chatRoom.id?h.get({id:"agents",controller:b.UserId}).$promise.then(function(b){var c=_.map(a.chatRoom.Users,"fullname");a.chatRoom.ChatVisitor&&c.unshift(a.chatRoom.ChatVisitor.fullname),a.chatRoom.Users.push(b),a.workspace.name=_.without(c,g.getCurrentUser().fullname).join(", ")})["catch"](function(a){console.error(a)}):void 0}),f.socket.on("chat_message:save",function(c){a.chatRoom.id==c.ChatRoomId&&(a.user.id!=c.UserId&&a.chatRoom.ChatMessages.push(c),!b.settings.layout.onFocus&&e.Notification&&d("CHAT CHANNEL",{icon:"assets/images/media/channels/chat64.png",body:"NEW Chat Message!",delay:5e3}),a.workspace.active||(i.load("api/xchatty/assets?resource=notification/xc_blubb.mp3").play(),a.workspace.unread++))})})["catch"](function(a){console.error(a)}),k.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)}),a.closeRoom=function(b){return c.open({animation:!0,templateUrl:"app/channels/chat/room/room.close.html",controller:"ChatRoomCloseCtrl",resolve:{closed:function(){return"CLOSED"===a.chatRoom.status},websiteId:function(){return a.chatRoom.ChatWebsiteId}}}).result.then(function(a){var c={id:b,status:"CLOSED",completeReason:"agent"};return a.disposition&&(c.disposition=a.disposition),h.update(c).$promise["catch"](function(a){j.show(a.data.message,"danger")})})},a.onChanged=function(b){return h.update({id:b},{tags:a.form.tags}).$promise["catch"](function(a){console.error(a)})},a.addAgent=function(b){c.open({animation:!0,templateUrl:"app/channels/chat/room/room.add.html",controller:"ChatRoomAddCtrl",resolve:{items:function(){return _.map(a.chatRoom.Users||[],function(a){return{id:a.id,fullname:a.fullname}})}}}).result.then(function(a){return h.update({id:b,controller:"users"},{users:a}).$promise["catch"](function(a){j.show(a.data.message,"danger")})})},a.sendMessage=function(){var b={body:angular.copy(a.message.body),createdAt:moment(),UserId:a.user.id,User:{fullname:a.user.fullname}};return a.message.body.trim().length?(a.chatRoom.ChatMessages.push(b),a.message.body="",h.save({id:a.chatRoom.id,controller:"messages"},{body:b.body}).$promise["catch"](function(a){console.error(a)})):void 0}}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.room",{url:"/room",templateUrl:"app/channels/chat/room/room.html",data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:8}},resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/inbox.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("ChatVisitorListCtrl",["$scope","ChatVisitor","gridOptions","$uibModal",function(a,b,c,d){a.initView=function(){var d={exporterCsvFilename:"chat_visitors.csv",columnDefs:[{name:"fullname",cellClass:"text-center"},{name:"email",cellClass:"text-center"},{name:"origin",cellClass:"text-center"},{name:"createdAt",displayName:"createdAt",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
'},{name:"action",width:100,buttons:[{"class":"blue-hoki",href:"/channels/chat/visitors/view/{{row.entity.id}}/profile",name:"profile"}]}]};a.gridOptions=c.gridOptions(b,d,a)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.visitors.list",{url:"/list",templateUrl:"app/channels/chat/visitor/list/list.html",controller:"ChatVisitorListCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChatVisitorViewCtrl",["$scope","$stateParams","ChatVisitor",function(a,b,c){a.initView=function(){return c.get({id:b.id}).$promise.then(function(b){a.chatVisitor=b})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.visitors.view",{url:"/view/:id",templateUrl:"app/channels/chat/visitor/view/view.html",controller:"ChatVisitorViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.chat.visitors.view.profile",{url:"/profile",templateUrl:"app/channels/chat/visitor/view/view.profile.html"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.visitors",{url:"/visitors",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:8}}})}]),angular.module("xCallyShuttleApp").factory("ChatApplication",["$resource",function(a){return a("/api/chat/applications/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ChatWebsite",["$resource",function(a){return a("/api/chat/websites/:websiteId/:controller/:id",{id:"@websiteId"},{update:{method:"PUT"},updateFields:{method:"PUT",isArray:!0}})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteListCtrl",["$scope","gridOptions","ChatWebsite",function(a,b,c){a.initView=function(){var d={exporterCsvFilename:"chat_websites.csv",columnDefs:[{name:"name"},{name:"description"},{name:"address"},{name:"action",buttons:[{"class":"blue-hoki",href:"/channels/chat/websites/view/{{row.entity.id}}/embedding/view",name:"embedding"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=b.gridOptions(c,d,a)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.list",{url:"/list",templateUrl:"app/channels/chat/website/list/list.html",controller:"ChatWebsiteListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.actions",{url:"/actions",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewActionListCtrl",["$scope","gridOptions","ChatWebsite","$http","$translate","$stateParams","socket","xAlert","Modal",function(a,b,c,d,e,f,g,h,i){a.initActons=function(){var d={draggable:!0,exporterCsvFilename:"chat_applications.csv",columnDefs:[{name:"app",cellClass:"text-center"},{name:"name",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.ChatQueue ? row.entity.ChatQueue.name : row.entity.User.name}}
"},{name:"timeout",cellClass:"text-center"},{name:"interval",cellClass:"text-center"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/channels/chat/websites/view/{{row.entity.ChatWebsiteId}}/actions/view/{{row.entity.id}}",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.app, row.entity.id)"}]}]};a.gridOptions=b.gridOptions(c,d,a,{websiteId:f.websiteId,controller:"applications"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.actions.list",{url:"/list",templateUrl:"app/channels/chat/website/view/action/list/list.html",controller:"ChatWebsiteViewActionListCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewActionViewCtrl",["$scope","$http","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval","ChatApplication","ChatQueue","Agent","Interval",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initAction=function(){return a.$application=i.application,a.$stateParams=c,a.$interval=j.interval,a.forms={},a.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"}],k.get({id:c.actionId}).$promise.then(function(b){if(a.application=b,a.application.alwaysTime=!1,a.application.IntervalId)a.application.intType="list";else switch(a.application.interval){case"*,*,*,*":a.application.intType="always";break;default:a.application.intType="custom"}var c=a.application.interval.split(",");"*"===c[0]?a.application.alwaysTime=!0:(a.application.t_from=moment(new Date),a.application.t_to=moment(new Date),a.application.t_from.hour(c[0].split("-")[0].split(":")[0]),a.application.t_from.minute(c[0].split("-")[0].split(":")[1]),a.application.t_to.hour(c[0].split("-")[1].split(":")[0]),a.application.t_to.minute(c[0].split("-")[1].split(":")[1])),"*"===c[1]?(a.application.wd_from="always",a.application.wd_to="always"):(a.application.wd_from=c[1].split("-")[0],a.application.wd_to=c[1].split("-")[1]),"*"===c[2]?(a.application.md_from="always",a.application.md_to="always"):(a.application.md_from=c[2].split("-")[0],a.application.md_to=c[2].split("-")[1]),"*"===c[3]?(a.application.m_from="always",a.application.m_to="always"):(a.application.m_from=c[3].split("-")[0],a.application.m_to=c[3].split("-")[1]),a.$watch("application.t_from",function(b){a.application.t_from_hm=moment(b).format("HH:mm")}),a.$watch("application.t_to",function(b){a.application.t_to_hm=moment(b).format("HH:mm")})})["catch"](function(a){f.show(a.message||a.data.message,"danger")})},a.getQueues=function(){return l.get().$promise.then(function(b){a.queues=b.rows})["catch"](function(a){f.show(a.message||a.data.message,"danger")})},a.getAgents=function(){return m.get().$promise.then(function(b){a.agents=b.rows})["catch"](function(a){f.show(a.message||a.data.message,"danger")})},a.getIntervals=function(){return n.get().$promise.then(function(b){a.intervals=b.rows})["catch"](function(a){f.show(a.message||a.data.message,"danger")})},a.updateItem=function(){var b=["*","*","*","*"],e={app:a.application.app,timeout:a.application.timeout,chatAccountId:c.id};switch(a.application.app){case"agent":e.UserId=a.application.UserId,e.ChatQueueId=null;break;case"queue":e.ChatQueueId=a.application.ChatQueueId,e.UserId=null}switch(a.application.intType){case"always":e.interval=b.join(","),delete a.application.IntervalId;break;case"custom":a.application.alwaysTime||(b[0]=a.application.alwaysTime?"*":a.application.t_from_hm+"-"+a.application.t_to_hm),a.application.wd_from&&a.application.wd_to&&"always"===a.application.wd_from&&"always"===a.application.wd_to?b[1]="*":b[1]=a.application.wd_from&&a.application.wd_to?a.application.wd_from+"-"+a.application.wd_to:"*",a.application.md_from&&a.application.md_to&&"always"===a.application.md_from&&"always"===a.application.md_to?b[2]="*":b[2]=a.application.md_from&&a.application.md_to?a.application.md_from+"-"+a.application.md_to:"*",a.application.m_from&&a.application.m_to&&"always"===a.application.m_from&&"always"===a.application.m_to?b[3]="*":b[3]=a.application.m_from&&a.application.m_to?a.application.m_from+"-"+a.application.m_to:"*",e.interval=b.join(","),delete a.application.IntervalId;break;case"list":e.IntervalId=a.application.IntervalId}return k.update({id:c.actionId},e).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message||a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.actions.view",{url:"/view/:actionId",templateUrl:"app/channels/chat/website/view/action/view/view.html",controller:"ChatWebsiteViewActionViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewActionWizardCtrl",["$scope","$http","Agent","Interval","ChatQueue","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval",function(a,b,c,d,e,f,g,h,i,j,k,l,m){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initWizard=function(){a.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"}],a.$application=l.application,a.$stateParams=f,a.$interval=m.interval,a.forms={},a.application={app:"queue",intType:"always",alwaysTime:!0},a.$watch("application.t_from",function(b){a.application.t_from_hm=moment(b).format("HH:mm")}),a.$watch("application.t_to",function(b){a.application.t_to_hm=moment(b).format("HH:mm")})},a.getQueues=function(){return e.get().$promise.then(function(b){a.queues=b.rows})["catch"](function(a){console.error(a)})},a.getAgents=function(){return c.get().$promise.then(function(b){a.agents=b.rows})["catch"](function(a){i.show(a.message||a.data.message,"danger")})},a.getIntervals=function(){return d.get().$promise.then(function(b){a.intervals=b.rows})["catch"](function(a){i.show(a.message||a.data.message,"danger")})},a.createItem=function(){var c=["*","*","*","*"],d={app:a.application.app,timeout:a.application.timeout,ChatWebsiteId:f.websiteId};switch(a.application.app){case"agent":d.UserId=a.application.UserId;break;case"queue":d.ChatQueueId=a.application.ChatQueueId}switch(a.application.intType){case"always":d.interval=c.join(","),delete a.application.IntervalId;break;case"custom":a.application.alwaysTime||(c[0]=a.application.alwaysTime?"*":a.application.t_from_hm+"-"+a.application.t_to_hm),a.application.wd_from&&a.application.wd_to&&"always"===a.application.wd_from&&"always"===a.application.wd_to?c[1]="*":c[1]=a.application.wd_from&&a.application.wd_to?a.application.wd_from+"-"+a.application.wd_to:"*",a.application.md_from&&a.application.md_to&&"always"===a.application.md_from&&"always"===a.application.md_to?c[2]="*":c[2]=a.application.md_from&&a.application.md_to?a.application.md_from+"-"+a.application.md_to:"*",a.application.m_from&&a.application.m_to&&"always"===a.application.m_from&&"always"===a.application.m_to?c[3]="*":c[3]=a.application.m_from&&a.application.m_to?a.application.m_from+"-"+a.application.m_to:"*",d.interval=c.join(","),delete a.application.IntervalId;break;case"list":d.IntervalId=a.application.IntervalId}b.post("/api/chat/applications",d).success(function(){h.path("/channels/chat/websites/view/"+f.websiteId+"/actions/list")}).error(function(a){i.show(a.message||a.data.message,"danger")})},a.formValidation=function(a){return a},a.next=function(){j.wizard().next()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.actions.wizard",{url:"/wizard",templateUrl:"app/channels/chat/website/view/action/wizard/wizard.html",controller:"ChatWebsiteViewActionWizardCtrl"})}]),angular.module("xCallyShuttleApp").factory("ChatDisposition",["$resource",function(a){return a("/api/chat/dispositions/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewModalDispositionAddCtrl",["$scope","$uibModalInstance","ChatWebsite","id",function(a,b,c,d){a.ok=function(){return c.save({websiteId:d,controller:"dispositions"},{name:a.name}).$promise.then(function(a){b.close(a)})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteDispositionViewCtrl",["$scope","$stateParams","$uibModal","$translate","ChatWebsite","xAlert",function(a,b,c,d,e,f){a.initView=function(){return e.get({websiteId:b.websiteId,controller:"dispositions"}).$promise.then(function(b){a.dispositions=b.rows})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.updateDisposition=function(a,c){return e.update({websiteId:b.websiteId,controller:"dispositions",id:a},{name:c}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.deleteDisposition=function(c){return console.log("delete"),e.remove({websiteId:b.websiteId,controller:"dispositions",id:c}).$promise.then(function(){_.remove(a.dispositions,{id:c})})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.addDisposition=function(){return c.open({animation:!0,templateUrl:"app/channels/chat/website/view/disposition/modal/add.modal.html",controller:"ChatWebsiteViewModalDispositionAddCtrl",resolve:{id:function(){return b.websiteId}}}).result.then(function(b){b&&a.dispositions.push(b)})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.dispositions",{url:"/dispositions",controller:"ChatWebsiteDispositionViewCtrl",templateUrl:"app/channels/chat/website/view/disposition/view/view.html"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.embedding",{url:"/embedding",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewEmbeddingViewCtrl",["$scope","$stateParams","$translate","clipboard","xAlert","ChatWebsite",function(a,b,c,d,e,f){a.initView=function(){return f.get({websiteId:b.websiteId,controller:"snippet"}).$promise.then(function(b){a.snippetCode=b.html})["catch"](function(a){e.show(a.message||a.data.message,"danger")})},a.copyToClipboard=function(){d.copyText(a.snippetCode),e.show(c.instant("MESSAGE_TEXT_COPIED_CLIPBOARD")+"!","success")}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.embedding.view",{url:"/view",templateUrl:"app/channels/chat/website/view/embedding/view/view.html",controller:"ChatWebsiteViewEmbeddingViewCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.form",{url:"/forms",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewFormViewCtrl",["$scope","$builder","$validator","$stateParams","$translate","ChatWebsite","xAlert",function(a,b,c,d,e,f,g){a.saveForm=function(a){var c=angular.copy(b.forms[a]);return c.length>3?g.show("You can insert at least 3 input elements","danger"):(_.forEach(c,function(a){delete a.id}),f.updateFields({websiteId:d.websiteId,controller:"fields",id:a},c).$promise.then(function(){g.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){g.show(a.message||a.data.message,"danger")}))},a.getChatWebsiteFields=function(a){return f.query({websiteId:d.websiteId,controller:"fields",id:a}).$promise.then(function(c){_.forEach(c,function(c){b.addFormObject(a,c)})})["catch"](function(a){g.show(a.message||a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.form.view",{url:"/view",templateUrl:"app/channels/chat/website/view/form/view/view.html",controller:"ChatWebsiteViewFormViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewProactiveListCtrl",["$scope","gridOptions","ChatWebsite","$http","$translate","$stateParams","$uibModal",function(a,b,c,d,e,f,g){a.initProactiveActions=function(){var d={exporterCsvFilename:"telephones.csv",columnDefs:[{name:"name"},{name:"type"},{name:"action",width:125,buttons:[{"class":"blue-hoki",onClick:"grid.appScope.createItem(row.entity)",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=b.gridOptions(c,d,a,{websiteId:f.websiteId,controller:"proactive"})},a.createItem=function(b){var c=g.open({animation:!0,templateUrl:"app/channels/chat/website/view/proactive/list/list.create.modal.html",controller:"ChatWebsiteProactiveListCreateCtrl",resolve:{item:b}});c.result.then(function(){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteProactiveListCreateCtrl",["$scope","$translate","$uibModalInstance","$stateParams","ChatWebsite","xAlert","item",function(a,b,c,d,e,f,g){a.form={},a.item=g||{},a.title=g?b.instant("APPLICATION_EDIT_PROACTIVE_ACTION"):b.instant("APPLICATION_NEW_PROACTIVE_ACTION"),a.possibleType=[{type:"mouseOver",title:"Mouse Over"},{type:"timeout",title:"Timeout"}],a.save=function(){return g?e.update({websiteId:d.websiteId,controller:"proactive",id:a.item.id},a.item).$promise.then(function(a){f.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){f.show(a.message||a.data.message,"danger")}):e.save({websiteId:d.websiteId,controller:"proactive"},a.item).$promise.then(function(a){f.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){f.show(a.message||a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.proactive.list",{url:"/list",templateUrl:"app/channels/chat/website/view/proactive/list/list.html",controller:"ChatWebsiteViewProactiveListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.proactive",{url:"/proactive",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteSettingViewCtrl",["$scope","$stateParams","$translate","$location","$timeout","socket","xAlert","ChatWebsite","List",function(a,b,c,d,e,f,g,h,i){a.initView=function(){return i.get().$promise.then(function(b){a.lists=b.rows})["catch"](function(a){console.error(a)})},a.updateItemChatWebsite=function(){return h.update({id:b.websiteId},{ListId:a.chatWebsite.ListId}).$promise.then(function(){g.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){g.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.settings",{url:"/settings",controller:"ChatWebsiteSettingViewCtrl",templateUrl:"app/channels/chat/website/view/setting/view/view.html"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.snippet",{url:"/snippet",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewSnippetViewCtrl",["$scope","$http","$stateParams","$translate","Template",function(a,b,c,d,e){a.$translate=d,a.statePreview={state:"online"},a.enquirySwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.fidelitySwitch={isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.lang={HeaderCurrentlyChatting:"Live Chat",HeaderOffline:"Contact us",OperatorOfflineMessage:"It appears as if all operators are currently offline.",OfflineMessage:"We're not online.
It doesn't mean we're not there to help - leave your message below and we'll be in touch as soon as possible.",EnquiryMessagePlaceholder:"Your message...",EnquiryButtonText:"Leave message",EnquirySubmitSuccess:"Your message was sucessfully submitted - we will contact you as soon as possible.",OperatorComposing:"{fullname} is typing...",FirstMessageText:"",ExitChatButtonText:"Exit Chat",ExitChatQuestionText:"Are you sure?",ExitChatButtonConfirmText:"Yes",ExitChatButtonCancelText:"No",MessagePlaceholderText:"Your message...",MessageSendButtonText:"Send",ValidationEmailRequired:"Please enter your email address",ValidationEmailInvalid:"Please enter a valid email address",ValidationEmailMaxLength:"The email address may not exceed 85 characters",ValidationUsernameRequired:"Please enter your name",ValidationUsernameMaxLength:"The name may not exceed 45 characters",ValidationEnquiryRequired:"Please enter your enquiry",ValidationEnquiryMaxLength:"The enquiry may not exceed 1500 characters",ValidationMessageRequired:"Please enter your message",ValidationMessageMaxLength:"The message may not exceed 750 characters"},a.initView=function(){return e.get().$promise.then(function(b){a.templates=b.rows})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.snippet.view",{url:"/view",templateUrl:"app/channels/chat/website/view/snippet/view/view.html",controller:"ChatWebsiteViewSnippetViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewCtrl",["$scope","xAlert","$http","$location","$stateParams","$translate","WizardHandler","ChatApplication","ChatWebsite",function(a,b,c,d,e,f,g,h,i){a.initApplication=function(){a.forms={},a.application={}},a.goNext=function(){g.wizard().next()},a.formValidation=function(a){return a},a.deleteItem=function(a){return h["delete"]({id:a}).$promise.then(function(){b.show(f.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){b.show(a.message||a.data.message,"danger")})},a.initView=function(){return i.get({id:e.websiteId}).$promise.then(function(b){a.chatWebsite=b})["catch"](function(a){b.show(a.message||a.data.message,"danger")})},a.updateItem=function(){return i.update({id:a.chatWebsite.id},a.chatWebsite).$promise.then(function(){b.show(f.instant("MESSAGE_CHAT_WEBSITE_UPDATE_SUCCESS")+"!","success")})["catch"](function(a){b.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view",{url:"/view/:websiteId",templateUrl:"app/channels/chat/website/view/view.html",controller:"ChatWebsiteViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites",{url:"/websites",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:8}}})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteWizardCtrl",["$scope","$http","$location","$translate","WizardHandler","xAlert","ChatWebsite",function(a,b,c,d,e,f,g){a.$translate=d,a.forms={formSetting:void 0,formAppearance:void 0,formLabel:void 0,formFunctionality:void 0},a.next=function(){e.wizard().next()},a.exitValidation=function(a){return a},a.item={},a.createItem=function(){return g.save(a.item).$promise.then(function(){f.show(d.instant("MESSAGE_CHAT_WEBSITE_CREATE_SUCCESS"),"success"),c.path("/channels/chat/websites/list")})["catch"](function(a){f.show(a.message||a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.wizard",{url:"/wizard",templateUrl:"app/channels/chat/website/wizard/wizard.html",controller:"ChatWebsiteWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.accounts",{url:"/accounts",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:10}}})}]),angular.module("xCallyShuttleApp").controller("FaxAccountListCtrl",["$scope","$uibModal","gridOptions","FaxAccount",function(a,b,c,d){a.initView=function(){var b={exporterCsvFilename:"chat_websites.csv",columnDefs:[{name:"name"},{name:"description"},{name:"localstationid"},{name:"TrunkName",displayName:"APPLICATION_TRUNK"},{name:"action",buttons:[{"class":"blue-hoki",href:"/channels/fax/accounts/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(d,b,a)},a.createItem=function(){var c=b.open({animation:!0,templateUrl:"app/channels/fax/account/list/list.create.modal.html",controller:"FaxAccountListCreateCtrl"});c.result.then(function(){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("FaxAccountListCreateCtrl",["$scope","$uibModalInstance","$translate","xAlert","FaxAccount","Trunk",function(a,b,c,d,e,f){a.initWizard=function(){return a.form={},a.item={},a.trunks=[],f.get().$promise.then(function(b){a.trunks=b.rows})["catch"](function(a){d.error(a)})},a.save=function(){return e.save(a.item).$promise.then(function(a){d.show(c.instant("MESSAGE_WELL_DONE"),"success"),b.close(a)})["catch"](function(a){d.show(a.data.message,"danger")})},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.accounts.list",{url:"/list",templateUrl:"app/channels/fax/account/list/list.html",controller:"FaxAccountListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.accounts.view.actions",{url:"/actions",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("FaxAccountViewActionListCtrl",["$scope","gridOptions","FaxAccount","$http","$translate","$stateParams",function(a,b,c,d,e,f){a.initActons=function(){var d={draggable:!0,exporterCsvFilename:"fax_applications.csv",enableSorting:!1,enableFiltering:!1,columnDefs:[{name:"app",cellClass:"text-center"},{name:"name",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.FaxQueue ? row.entity.FaxQueue.name : row.entity.User.name}}
"},{name:"timeout",cellClass:"text-center"},{name:"interval",cellClass:"text-center"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/channels/fax/accounts/view/{{row.entity.FaxAccountId}}/actions/view/{{row.entity.id}}",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.app, row.entity.id)"}]}]};a.gridOptions=b.gridOptions(c,d,a,{accountId:f.accountId,controller:"applications"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.accounts.view.actions.list",{url:"/list",templateUrl:"app/channels/fax/account/view/action/list/list.html",controller:"FaxAccountViewActionListCtrl"})}]),angular.module("xCallyShuttleApp").controller("FaxAccountViewActionViewCtrl",["$scope","$http","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval","Agent","Interval","FaxQueue","FaxAccount",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initAction=function(){return a.$application=i.application,a.$stateParams=c,a.$interval=j.interval,a.forms={},a.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"}],n.get({accountId:c.accountId,controller:"applications",id:c.actionId}).$promise.then(function(b){if(a.application=b,a.application.alwaysTime=!1,a.application.IntervalId)a.application.intType="list";else switch(a.application.interval){case"*,*,*,*":a.application.intType="always";break;default:a.application.intType="custom"}var c=a.application.interval.split(",");"*"===c[0]?a.application.alwaysTime=!0:(a.application.t_from=moment(new Date),a.application.t_to=moment(new Date),a.application.t_from.hour(c[0].split("-")[0].split(":")[0]),a.application.t_from.minute(c[0].split("-")[0].split(":")[1]),a.application.t_to.hour(c[0].split("-")[1].split(":")[0]),a.application.t_to.minute(c[0].split("-")[1].split(":")[1])),"*"===c[1]?(a.application.wd_from="always",a.application.wd_to="always"):(a.application.wd_from=c[1].split("-")[0],a.application.wd_to=c[1].split("-")[1]),"*"===c[2]?(a.application.md_from="always",a.application.md_to="always"):(a.application.md_from=c[2].split("-")[0], -a.application.md_to=c[2].split("-")[1]),"*"===c[3]?(a.application.m_from="always",a.application.m_to="always"):(a.application.m_from=c[3].split("-")[0],a.application.m_to=c[3].split("-")[1]),a.$watch("application.t_from",function(b){a.application.t_from_hm=moment(b).format("HH:mm")}),a.$watch("application.t_to",function(b){a.application.t_to_hm=moment(b).format("HH:mm")})})["catch"](function(a){f.error(a)})},a.getQueues=function(){return m.get().$promise.then(function(b){a.queues=b.rows})["catch"](function(a){console.error(a)})},a.getAgents=function(){return k.get().$promise.then(function(b){a.agents=b.rows})["catch"](function(a){console.error(a)})},a.getIntervals=function(){return l.get().$promise.then(function(b){a.intervals=b.rows})["catch"](function(a){console.error(a)})},a.updateItem=function(){var b=["*","*","*","*"],e={app:a.application.app,timeout:a.application.timeout};switch(a.application.app){case"agent":e.UserId=a.application.UserId;break;case"queue":e.FaxQueueId=a.application.FaxQueueId}switch(a.application.intType){case"always":e.interval=b.join(","),delete a.application.IntervalId;break;case"custom":a.application.alwaysTime||(b[0]=a.application.alwaysTime?"*":a.application.t_from_hm+"-"+a.application.t_to_hm),a.application.wd_from&&a.application.wd_to&&"always"===a.application.wd_from&&"always"===a.application.wd_to?b[1]="*":b[1]=a.application.wd_from&&a.application.wd_to?a.application.wd_from+"-"+a.application.wd_to:"*",a.application.md_from&&a.application.md_to&&"always"===a.application.md_from&&"always"===a.application.md_to?b[2]="*":b[2]=a.application.md_from&&a.application.md_to?a.application.md_from+"-"+a.application.md_to:"*",a.application.m_from&&a.application.m_to&&"always"===a.application.m_from&&"always"===a.application.m_to?b[3]="*":b[3]=a.application.m_from&&a.application.m_to?a.application.m_from+"-"+a.application.m_to:"*",e.interval=b.join(","),delete a.application.IntervalId;break;case"list":e.IntervalId=a.application.IntervalId}return n.update({accountId:c.accountId,controller:"applications",id:c.actionId},e).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.accounts.view.actions.view",{url:"/view/:actionId",templateUrl:"app/channels/fax/account/view/action/view/view.html",controller:"FaxAccountViewActionViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("FaxAccountViewActionWizardCtrl",["$scope","$http","Agent","FaxQueue","Interval","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval","FaxAccount",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initWizard=function(){a.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"}],a.$application=l.application,a.$stateParams=f,a.$interval=m.interval,a.forms={},a.application={alwaysTime:!0},a.$watch("application.t_from",function(b){a.application.t_from_hm=moment(b).format("HH:mm")}),a.$watch("application.t_to",function(b){a.application.t_to_hm=moment(b).format("HH:mm")})},a.getQueues=function(){return d.get().$promise.then(function(b){a.queues=b.rows})["catch"](function(a){console.error(a)})},a.getAgents=function(){return c.get().$promise.then(function(b){a.agents=b.rows})["catch"](function(a){console.error(a)})},a.getIntervals=function(){return e.get().$promise.then(function(b){a.intervals=b.rows})["catch"](function(a){console.error(a)})},a.createItem=function(){var b=["*","*","*","*"],c={app:a.application.app,timeout:a.application.timeout};switch(a.application.app){case"agent":c.UserId=a.application.UserId;break;case"queue":c.FaxQueueId=a.application.FaxQueueId}switch(a.application.intType){case"always":c.interval=b.join(","),delete a.application.IntervalId;break;case"custom":a.application.alwaysTime||(b[0]=a.application.alwaysTime?"*":a.application.t_from_hm+"-"+a.application.t_to_hm),a.application.wd_from&&a.application.wd_to&&"always"===a.application.wd_from&&"always"===a.application.wd_to?b[1]="*":b[1]=a.application.wd_from&&a.application.wd_to?a.application.wd_from+"-"+a.application.wd_to:"*",a.application.md_from&&a.application.md_to&&"always"===a.application.md_from&&"always"===a.application.md_to?b[2]="*":b[2]=a.application.md_from&&a.application.md_to?a.application.md_from+"-"+a.application.md_to:"*",a.application.m_from&&a.application.m_to&&"always"===a.application.m_from&&"always"===a.application.m_to?b[3]="*":b[3]=a.application.m_from&&a.application.m_to?a.application.m_from+"-"+a.application.m_to:"*",c.interval=b.join(","),delete a.application.IntervalId;break;case"list":c.IntervalId=a.application.IntervalId}return n.save({accountId:f.accountId,controller:"applications"},c).$promise.then(function(){i.show(g.instant("MESSAGE_WELL_DONE"),"success"),h.path("/channels/fax/accounts/view/"+f.accountId+"/actions/list")})["catch"](function(a){i.error(a)})},a.formValidation=function(a){return a},a.next=function(){j.wizard().next()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.accounts.view.actions.wizard",{url:"/wizard",templateUrl:"app/channels/fax/account/view/action/wizard/wizard.html",controller:"FaxAccountViewActionWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("FaxAccountViewCtrl",["$scope","$http","$stateParams","$translate","$location","WizardHandler","socket","xAlert","Modal","FaxAccount","Trunk",function(a,b,c,d,e,f,g,h,i,j,k){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initView=function(){return a.rate=["2400","4800","7200","9600","12000","14400"],a.techs=["SIP","IAX","DADHI","KHOMP"],k.get().$promise.then(function(b){a.trunks=b.rows})["catch"](function(a){h.error(a)}),j.get({id:c.accountId}).$promise.then(function(b){a.account=b})["catch"](function(a){h.error(a)})},a.updateItemFaxAccount=function(){return j.update({id:c.accountId},a.account).$promise.then(function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.accounts.view",{url:"/view/:accountId",templateUrl:"app/channels/fax/account/view/view.html",controller:"FaxAccountViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]})}]}}).state("main.channels.fax.accounts.view.settings",{url:"/settings",templateUrl:"app/channels/fax/account/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("FaxAccountWizardCtrl",["$scope","$http","$location","$translate","xAlert","WizardHandler","Trunk","FaxAccount",function(a,b,c,d,e,f,g,h){a.translate=d,a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initWizard=function(){return a.$translate=d,a.forms={},a.item={},a.rate=["2400","4800","7200","9600","12000","14400"],a.techs=["SIP","IAX","DADHI","KHOMP"],a.item.headerinfo="xCALLY Motion Fax",a.item.ecm="yes",a.item.minrate="4800",a.item.maxrate="14400",a.item.modem="v17,v27,v29",a.item.gateway="no",a.item.faxdetect="no",a.item.t38timeout=5e3,a.item.tech="SIP",g.get().$promise.then(function(b){a.trunks=b.rows})["catch"](function(a){e.error(a)})},a.next=function(){f.wizard().next()},a.previous=function(){f.wizard().previous()},a.exitValidation=function(a){return a},a.createItem=function(){return h.save(a.item).$promise.then(function(a){e.show(d.instant("MESSAGE_WELL_DONE"),"success"),c.path("/channels/fax/accounts/list")})["catch"](function(a){e.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.accounts.wizard",{url:"/wizard",templateUrl:"app/channels/fax/account/wizard/wizard.html",controller:"FaxAccountWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax",{url:"/fax",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("FaxAccount",["$resource",function(a){return a("/api/fax/accounts/:accountId/:controller/:id",{id:"@accountId"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("FaxAttachment",["$resource",function(a){return a("/api/fax/attachments/:id/:controller",{id:"@id"})}]),angular.module("xCallyShuttleApp").factory("FaxMessage",["$resource",function(a){return a("/api/fax/messages/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("FaxReport",["$resource",function(a){return a("/api/report/faxs/:id/:controller1/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("FaxRoom",["$resource",function(a){return a("/api/fax/rooms/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"},patch:{method:"PATCH"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.inbox",{url:"/inbox",template:"
","abstract":!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:10}}})}]),angular.module("xCallyShuttleApp").directive("faxMessage",function(){return{restrict:"E",scope:{message:"="},templateUrl:"app/channels/fax/inbox/message/message.directive.html"}}),angular.module("xCallyShuttleApp").directive("faxNote",function(){return{restrict:"E",scope:{message:"="},templateUrl:"app/channels/fax/inbox/note/note.directive.html"}}),angular.module("xCallyShuttleApp").controller("FaxInboxViewModalNoteCtrl",["$scope","$uibModalInstance","$translate","id","FaxRoom","xAlert",function(a,b,c,d,e,f){a.initModal=function(){a.item={}},a.ok=function(){return e.save({id:d,controller:"messages"},{text:a.item.text,status:"NOTE"}).$promise.then(function(){f.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.error(a)})["finally"](function(){b.close()})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").directive("faxRoom",["$cookieStore","$translate","$uibModal","$timeout","FaxAccount","FaxRoom","FaxMessage","FileUploader","xAlert","usSpinnerService","socket","Tag","Auth","FaxAttachment",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){return{restrict:"E",scope:{workspace:"="},templateUrl:"app/channels/fax/inbox/room/room.directive.html",link:function(o){function p(a){if(a){var b=_.words(a),c=_.map(b,function(a){return a?a[0]:""});return c.join("").toUpperCase()}return!1}var q=[];o.modelOptions={debounce:{"default":500,blur:250},getterSetter:!0},o.panelLeft=null,o.panelRight="col-md-12",o.forms={},o.form={from:"",to:"",disabled:!1},k.socket.on("fax_message:save",function(a){return o.workspace.id&&a.FaxRoomId==o.workspace.id?g.get({id:a.id}).$promise.then(function(a){o.faxRoom||(o.faxRoom={FaxMessages:[]});var b=_.findIndex(o.faxRoom.FaxMessages,{id:a.id});b>-1?_.merge(o.faxRoom.FaxMessages[b],a):o.faxRoom.FaxMessages.unshift(a),o.panelLeft="col-md-6",o.panelRight="col-md-6"})["catch"](function(a){console.error(a)}):void 0}),o.getMessageMailId=function(a){var b=a.UserId?"imgFaxUserId"+a.UserId:"imgFaxVisitorId";return b+=o.faxRoom.id.toString()+a.id.toString()},o.togglePanelLeft=function(){o.panelLeft?(o.panelLeft=null,o.panelRight="col-md-12"):(o.panelLeft="col-md-6",o.panelRight="col-md-6")},o.updateStatus=function(a){c.open({animation:!0,templateUrl:"app/channels/fax/inbox/view/view.status.modal.html",controller:"FaxInboxViewModalStatusCtrl",resolve:{id:function(){return o.workspace.id},status:function(){return a}}})},o.loadAgents=function(){c.open({animation:!0,templateUrl:"app/channels/fax/inbox/view/view.agents.modal.html",controller:"FaxInboxViewModalAgentCtrl",resolve:{roomId:function(){return o.workspace.id}}})},o.cancel=function(){o.form.disabled=!1,o.form.from="",o.form.to=""},o.loadNote=function(){c.open({animation:!0,templateUrl:"app/channels/fax/inbox/note/note.modal.html",controller:"FaxInboxViewModalNoteCtrl",resolve:{id:function(){return o.workspace.id}}})},o.getMessageFaxId=function(a){var b=a.UserId?"imgFaxUserId"+a.UserId:"imgFaxVisitorId";return b+=o.faxRoom.id.toString()+a.id.toString()},o.getMessageRoomAvatar=function(a,b,c,e){d(function(){var d=b?"#imgFaxUserId"+b:"#imgFaxVisitorId";d+=o.faxRoom.id.toString()+a.toString(),angular.element(d).avatar({useGravatar:!1,initials:e?[]:p(c),fallbackImage:e?"api/users/avatar/"+e:"api/users/avatar/unknown_avatar"})})},o.onChanged=function(){return f.update({id:o.workspace.id},{tags:o.form.tags}).$promise["catch"](function(a){i.error(a)})};var r=o.uploader=new h({url:"api/fax/attachments",autoUpload:!0,withCredentials:!0,queueLimit:1,headers:{Authorization:"Bearer "+a.get("token")}});return r.filters.push({name:"pdfFilter",fn:function(a,b){var c="|"+a.type.slice(a.type.lastIndexOf("/")+1)+"|";return-1!=="|pdf|".indexOf(c)}}),r.onWhenAddingFileFailed=function(a,c,d){switch(c.name){case"queueLimit":i.show(b.instant("MESSAGE_QUEUE_LIMIT_EXCEEDED"),"danger");break;case"pdfFilter":i.show(b.instant("MESSAGE_WRONG_FILE_FORMAT"),"danger");break;default:i.show(b.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")}},r.removeFromQueue=function(a){var c=this;return n["delete"]({id:a.basename}).$promise.then(function(){var b=c.getIndexOfItem(a),d=c.queue[b];d.isUploading&&d.cancel(),c.queue.splice(b,1),d._destroy(),c.progress=c._getTotalProgress(),q=_.reject(q,{basename:a.basename})})["catch"](function(){i.show(b.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},r.onErrorItem=function(){i.show(b.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")},r.onSuccessItem=function(a,b){var c={path:b.path,name:b.name,basename:b.basename};a=_.merge(a,c),q.push(c)},o.sendFax=function(){j.spin("spinner-grid"),o.form.disabled=!0;var a={from:o.form.from,to:o.form.to||"",status:"SENDING",FaxAttachments:q};return o.faxRoom?f.save({id:o.workspace.id,controller:"messages"},a).$promise.then(function(){r.queue=[],q=[],i.show(b.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){i.error(a)})["finally"](function(){j.stop("spinner-grid"),o.form.disabled=!1}):g.save(a).$promise.then(function(a){return i.show(b.instant("MESSAGE_MAIL_MESSAGE_SEND_SUCCESS"),"success"),f.get({id:"messages",controller:a.id}).$promise}).then(function(a){r.queue=[],q=[],o.workspace.id=a.id,o.workspace.name=a.from,o.faxRoom=a})["catch"](function(a){i.error(a)})["finally"](function(){j.stop("spinner-grid"),o.form.disabled=!1})},l.get().$promise.then(function(a){o.tags=_.map(a.rows,"name")})["catch"](function(a){console.error(a)}),e.get().$promise.then(function(a){o.faxAccounts=a.rows})["catch"](function(a){console.error(a)}),o.workspace.id?(o.panelLeft="col-md-6",o.panelRight="col-md-6",f.get({id:o.workspace.id}).$promise.then(function(a){o.faxRoom=a,o.form.from=a.FaxAccount.localstationid,o.form.tags=a.tags;var b=_.findLast(a.FaxMessages,{status:"RECEIVED"});return b&&(o.form.to=b.from),"CLOSED"!==o.faxRoom.status&&m.isAgent()?f.update({id:o.workspace.id,controller:"open"},{status:"OPEN"}):void 0})["catch"](function(a){i.error(a)})["finally"](function(){j.stop("spinner-grid"),o.form.disabled=!1})):(o.panelLeft=null,o.panelRight="col-md-12",j.stop("spinner-grid"),void 0)}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.inbox.view.account",{url:"/account/:id",template:"
","abstract":!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:10}}})}]),angular.module("xCallyShuttleApp").controller("FaxInboxViewAccountListCtrl",["$scope","$rootScope","$uibModal","$translate","$stateParams","$state","Tag","usSpinnerService","socket","FaxAccount","FaxRoom","gridOptions","uiGridConstants","Auth","Modal","xAlert",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){a.onChanged=function(){a.getPage(a.query)},a.loadAgents=function(a){c.open({animation:!0,templateUrl:"app/channels/fax/inbox/view/view.agents.modal.html",controller:"FaxInboxViewModalAgentCtrl",resolve:{roomId:a}})},a.tagItems=function(){c.open({animation:!0,templateUrl:"app/channels/fax/inbox/view/view.tags.modal.html",controller:"FaxInboxViewModalTagCtrl",resolve:{id:function(){return a.id}}}).result.then(function(){a.gridApi.selection.clearSelectedRows(),a.id=[]})},a.openRoom=function(b,c){var d=_.find(a.workspaces,{id:b,type:"faxRoom"});d?d.active=!0:a.workspaces.push({id:b,name:c,type:"faxRoom","class":"icon-paper-plane",active:!0})},a.getPage=function(b){h.spin("spinner-grid");var c={accountId:e.id,controller:"rooms"};return b&&_.merge(c,b),a.query&&_.merge(c,a.query),j.query(c).$promise.then(function(b){a.gridOptions.data=b})["catch"](function(a){p.error(a)})["finally"](function(){h.stop("spinner-grid")})},a.deleteItem=o.confirm["delete"](function(b){var c={id:b};return k.remove(c).$promise.then(function(){a.getPage(),p.show(d.instant("MESSAGE_WELL_DONE")+"!","success"),a.gridApi.selection.clearSelectedRows(),a.id=[]})["catch"](function(a){p.error(a)})}),a.deleteItems=o.confirm["delete"](function(){var b={ids:a.id};return k["delete"](b).$promise.then(function(){a.getPage(),p.show(d.instant("MESSAGE_WELL_DONE")+"!","success"),a.gridApi.selection.clearSelectedRows(),a.id=[]})["catch"](function(a){p.error(a)})}),a.initView=function(){a.id=[],a.isAdmin=n.isAdmin(),a.isAgent=n.isAgent(),a.uncheckable=!1,a.query={status:"UNMANAGED",tags:[]},a.$watch("query.status",function(){a.getPage(a.query)},!0),j.get().$promise.then(function(b){a.faxAccounts=b.rows})["catch"](function(a){console.error(a)}),g.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)}),a.gridOptions={exporterCsvFilename:"fax_rooms.csv",enableRowHeaderSelection:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,enableFiltering:!0,enableSorting:!0,enableGridMenu:!1,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,enableSelectAll:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,columnDefs:[{name:"lastEvent",displayName:"",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
",width:30,enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"id",displayName:"Id",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
#{{row.entity.id}}
",width:75,enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"from",cellClass:"text-center"},{name:"updatedAt",cellFilter:"date:'MM/dd/yyyy HH:mm'",width:120,enableSorting:!1,enableFiltering:!1,sort:{direction:m.DESC}},{name:"action",cellTemplate:'
',enableSorting:!1,cellClass:"ui-grid-vcenter",width:90,enableFiltering:!1,enableColumnMenu:!1}],data:[],onRegisterApi:function(b){a.gridApi=b,a.gridApi.selection&&(a.gridApi.selection.on.rowSelectionChanged(a,function(b){b.isSelected?a.id.push(a.gridApi.grid.options.primaryKey?b.entity[a.gridApi.grid.options.primaryKey]:b.entity.id):_.pull(a.id,a.gridApi.grid.options.primaryKey?b.entity[a.gridApi.grid.options.primaryKey]:b.entity.id)}),a.gridApi.selection.on.rowSelectionChangedBatch(a,function(b){b[0].isSelected?a.id=_.union(a.id,_.map(b,a.gridApi.grid.options.primaryKey?"entity."+a.gridApi.grid.options.primaryKey:"entity.id")):_.map(b,a.gridApi.grid.options.primaryKey?"entity."+a.gridApi.grid.options.primaryKey:"entity.id").forEach(function(b){_.pull(a.id,b)})}))}},i.socket.on("fax_room:save",function(b){var c=_.find(a.gridOptions.data,{id:b.id});c?_.merge(c,b):a.gridOptions.data.unshift(b)}),i.socket.on("fax_room:remove",function(b){_.remove(a.gridOptions.data,{id:b.id})}),a.getPage(a.query)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.inbox.view.account.list",{url:"/list",templateUrl:"app/channels/fax/inbox/view/account/list/list.html",controller:"FaxInboxViewAccountListCtrl",data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:10}}})}]),angular.module("xCallyShuttleApp").controller("FaxInboxViewModalAgentCtrl",["$scope","$uibModalInstance","$translate","$stateParams","Agent","FaxRoom","xAlert","roomId",function(a,b,c,d,e,f,g,h){a.initModal=function(){a.agents=[],a.item={agents:[]},e.get().$promise.then(function(b){b.rows.forEach(function(b){a.agents.push(b)})})["catch"](function(a){console.error(a)}),f.query({id:h,controller:"agents"}).$promise.then(function(b){b.forEach(function(b){a.agents.push(b),a.item.agents.push(b.id)})})["catch"](function(a){console.error(a)}),a.modal={dismissable:!0,title:"APPLICATION_MESSAGE_SEND_RETRY",text:"MESSAGE_MESSAGE_SEND_RETRY",buttons:[{classes:"btn btn-success",text:"APPLICATION_RETRY",click:function(a){b.close(a)}},{classes:"btn default",text:"APPLICATION_CANCEL",click:function(a){b.dismiss(a)}}]}},a.ok=function(){return f.update({id:h,controller:"agents",agents:a.item.agents}).$promise.then(function(){g.show(c.instant("MESSAGE_WELL_DONE"),"success"),b.close()})["catch"](function(a){console.error(a)})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("FaxInboxViewCtrl",["$scope","$timeout","$location","FaxAccount","xAlert",function(a,b,c,d,e){a.initView=function(){return d.get().$promise.then(function(b){var d=null;a.faxAccounts=b.rows,a.faxAccounts.length&&(d="/channels/fax/inbox/view/account/"+a.faxAccounts[0].id+"/list"),d&&c.path(d)})["catch"](function(a){e.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.inbox.view",{url:"/view",templateUrl:"app/channels/fax/inbox/view/view.html",controller:"FaxInboxViewCtrl",reload:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/inbox.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("FaxInboxViewModalStatusCtrl",["$scope","$uibModalInstance","$translate","$stateParams","$location","FaxRoom","xAlert","id","status",function(a,b,c,d,e,f,g,h,i){a.initModal=function(){a.modal={dismissable:!0,title:"APPLICATION_STATUS",html:"

"+c.instant("MESSAGE_CHANGE_STATUS")+" "+i+"?

",status:i,buttons:[{classes:"btn btn-success",text:"APPLICATION_CONFIRM",click:function(a){return f.update({id:h},{status:i}).$promise.then(function(){g.show(c.instant("MESSAGE_STATUS_UPDATE_SUCCESS"),"success"),b.close(a)})["catch"](function(a){g.error(a)})}},{classes:"btn default",text:"APPLICATION_CANCEL",click:function(a){b.dismiss(a)}}]}}}]),angular.module("xCallyShuttleApp").controller("FaxInboxViewModalTagCtrl",["$scope","$uibModalInstance","$translate","$stateParams","Tag","FaxRoom","xAlert","id",function(a,b,c,d,e,f,g,h){console.log(h),a.initModal=function(){return a.tags=[],a.item={tags:[]},a.modal={dismissable:!0,title:"APPLICATION_MESSAGE_SEND_RETRY",text:"MESSAGE_MESSAGE_SEND_RETRY",buttons:[{"class":"btn-success",text:"APPLICATION_TAG",click:function(){var d={status:!0};return f.patch({id:h},{tags:a.item.tags}).$promise["catch"](function(){d.status=!1,g.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})["finally"](function(){b.close(d)})}},{"class":"default",text:"APPLICATION_CANCEL",click:function(a){b.dismiss(a)}}]},e.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").factory("FaxQueue",["$resource",function(a){return a("/api/fax/queues/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("FaxQueueListCtrl",["$scope","FaxQueue","gridOptions","Auth","$uibModal",function(a,b,c,d,e){a.initView=function(){a.Auth=d;var e={exporterCsvFilename:"fax_queues.csv",columnDefs:[{name:"name"},{name:"description"},{name:"strategy"},{name:"timeout"},{name:"action",width:200,buttons:[{"class":"blue-hoki",href:"/channels/fax/queues/view/{{row.entity.id}}/settings",name:"settings"},{"class":"green-meadow",href:"/channels/fax/queues/view/{{row.entity.id}}/agents",name:"agents",hide:"user"===d.getCurrentUser().role},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,e,a)},a.createItem=function(){var b=e.open({animation:!0,templateUrl:"app/channels/fax/queue/list/list.create.modal.html",controller:"FaxQueueListCreateCtrl"});b.result.then(function(b){console.log(b),a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("FaxQueueListCreateCtrl",["$scope","$uibModalInstance","$translate","xAlert","FaxQueue",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return e.save(a.item).$promise.then(function(a){d.show(c.instant("MESSAGE_WELL_DONE"),"success"),b.close(a)})["catch"](function(a){d.show(a.data.message,"danger")})},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.queues.list",{url:"/list",templateUrl:"app/channels/fax/queue/list/list.html",controller:"FaxQueueListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.queues",{url:"/queues",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:10}}})}]),angular.module("xCallyShuttleApp").controller("FaxQueueViewCtrl",["$scope","$http","$translate","$stateParams","xAlert","FaxQueue","Team","Auth",function(a,b,c,d,e,f,g,h){a.Auth=h;var i=function(){return{select:function(b){return f.save({id:a.queue.id,controller:"agents"},{agents:b,penalty:a.queue.penalty}).$promise.then(function(){a.getTeams()})["catch"](function(a){console.error(a)})},deselect:function(b){return f["delete"]({id:a.queue.id,controller:"agents",agents:b}).$promise.then(function(){a.getTeams()})["catch"](function(a){console.error(a)})}}};a.getQueue=function(){return f.get({id:d.id}).$promise.then(function(b){b.penalty=0,a.queue=b})["catch"](function(a){e.show(a.message,"danger")})},a.updateFaxQueue=function(){return f.update({id:d.id},{name:a.queue.name,description:a.queue.description,timeout:a.queue.timeout,strategy:a.queue.strategy}).$promise.then(function(){e.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){e.show(a.message,"danger")})},a.getTeams=function(){return g.get({controller:"associations"}).$promise.then(function(b){return a.teams=b.rows,f.get({id:d.id,controller:"agents"}).$promise}).then(function(b){ComponentsDropdowns.bindMailQueue(a.teams,_.map(b.rows,function(a){return{id:a.id,penalty:a.UserHasFaxQueue.penalty}}),i)})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.queues.view",{url:"/view/:id",templateUrl:"app/channels/fax/queue/view/view.html",controller:"FaxQueueViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.fax.queues.view.settings",{url:"/settings",templateUrl:"app/channels/fax/queue/view/view.settings.html"}).state("main.channels.fax.queues.view.agents",{url:"/agents",templateUrl:"app/channels/fax/queue/view/view.agents.html",cache:!1,serie:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.realtime",{url:"/realtime",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:10}}})}]),angular.module("xCallyShuttleApp").controller("FaxRealtimeViewAgentCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","Agent","Pause","Action","FaxQueue","usSpinnerService","$q","uiGridConstants","Auth",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){function o(){return k.spin("spinner-grid"),g.get(t).$promise.then(function(b){a.gridOptions.totalItems=b.count,a.gridOptions.data=[],b.rows.forEach(function(a){q(a)})})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){k.stop("spinner-grid")})}function p(){e.socket.on("agent:save",function(b){var c=_.find(a.gridOptions.data,{agentId:b.id,isAgent:!0});c&&(c.online=b.online,c.lastLoginAt=b.lastLoginAt,c.pause=b.faxPause,c.pauseType=b.pauseType,c.lastPauseAt=b.lastPauseAt,c.ipaddr=b.ipaddr,c.port=b.port,c.fullcontact=b.fullcontact,c.useragent=b.useragent,c.lastms=b.lastms,c.internal=b.internal,_.map(a.gridOptions.data,function(a){a.isAgent||a.agentId!==b.id||(a.online=b.online)}))}),e.socket.on("agent:remove",function(b){_.remove(a.gridOptions.data,{agentId:b.id})}),e.socket.on("user_has_fax_queue:save",function(b){var c=_.includes(_.map(a.CurrentUser.PFaxQueues,"id"),b.FaxQueueId)||n.isAdmin();if(c){var d=_.find(a.gridOptions.data,{agentId:b.UserId,isAgent:!0});if(d){var e=a.gridOptions.data.indexOf(d);a.gridOptions.data.splice(e+1,0,{isAgent:!1,agentId:b.UserId,queue:b.queue,queueId:b.FaxQueueId,agent:b.membername,online:d.online})}}}),e.socket.on("user_has_fax_queue:remove",function(b){_.remove(a.gridOptions.data,{agentId:b.UserId,queueId:b.FaxQueueId})})}function q(b){a.gridOptions.data.push({isAgent:!0,agentId:b.id,agent:b.name,online:b.online,lastLoginAt:b.lastLoginAt,lastPauseAt:b.lastPauseAt,pause:b.faxPause,pauseType:b.pauseType,ipaddr:b.ipaddr,port:b.port,fullcontact:b.fullcontact,useragent:b.useragent,lastms:b.lastms,internal:b.internal,$$treeLevel:0}),b.FaxQueues.forEach(function(c){a.gridOptions.data.push({isAgent:!1,agentId:b.id,queue:c.name,queueId:c.id,agent:b.name,online:b.online})})}function r(){return h.get().$promise.then(function(b){a.pauses=b.rows,e.syncUpdates("pause",a.pauses)})["catch"](function(a){f.show(a.message,"danger")})}function s(){return j.get().$promise.then(function(b){a.faxQueues=b.rows,e.syncUpdates("fax_queue",a.faxQueues)})["catch"](function(a){f.show(a.message,"danger")})}a.faxQueues=[];var t={controller:"realtime",controller1:"fax",offset:0,limit:10};a.moment=moment,a.initAgents=function(){a.gridOptions={enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,multiSelect:!0,showTreeExpandNoChildren:!0,columnDefs:[{name:"name",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{row.entity.agent}} <{{row.entity.internal}}>
'},{name:"online",displayName:"APPLICATION_ONLINE",width:150, -headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
({{hhours}}:{{mminutes}}:{{sseconds}})
',filter:{type:m.filter.SELECT,selectOptions:[{value:"true",label:"ONLINE"},{value:"false",label:"OFFLINE"}]}},{name:"faxPause",width:300,displayName:"APPLICATION_PAUSE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
({{row.entity.pauseType}}){{hhours}}:{{mminutes}}:{{sseconds}}
',filter:{type:m.filter.SELECT,selectOptions:[{value:"true",label:"PAUSED"},{value:"false",label:"NOT PAUSED"}]},enableSorting:!1,enableColumnMenu:!1},{name:"queue",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"action",displayName:"",width:170,cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1}],data:[],gridMenuTitleFilter:function(a){var b=l.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length)}),a.gridApi.treeBase.on.rowExpanded(a,function(b){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length+b.treeNode.children.length)}),a.gridApi.treeBase.on.rowCollapsed(a,function(b){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length-b.treeNode.children.length)}),a.gridApi.core.on.sortChanged(a,function(a,b){0===b.length?t.order=null:t.order=b[0].name+" "+b[0].sort.direction.toUpperCase(),o()}),a.gridApi.pagination.on.paginationChanged(a,function(a,b){t.offset=(a-1)*b,t.limit=b,o()}),a.gridApi.core.on.filterChanged(a,function(){var a=this.grid;a.columns.forEach(function(a){a.filters[0].term?t[a.name]=a.filters[0].term:delete t[a.name]}),o()})}},o(),r(),s(),p()};var u=function(a){var b=a?30*a+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("agent"),e.unsyncUpdates("user_has_fax_queue")}),a.pause=function(b,c,e){return e&&(a.pauseType=null),i.save({name:c,agent:b,type:e||"DEFAULT PAUSE",data4:e||"DEFAULT PAUSE",channel:"fax"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},a.joinQueue=function(e){var g=c.open({animation:!0,templateUrl:"app/channels/fax/realtime/view/agent/queue.modal.add.html",controller:"FaxRealtimeViewAgentQueueModalCtrl",resolve:{queues:function(){return _.reject(a.faxQueues,function(b){return!!_.find(a.gridOptions.data,{queue:b.name,isAgent:!1,agentId:e})})}}});g.result.then(function(b){return i.save({name:"QueueAdd",agent:e,queues:_.filter(a.faxQueues,function(a){return _.includes(b.queues,a.id)}),channel:"fax",data1:e,data3:b.queues.join(","),data4:"fax"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},function(){b.info("Modal dismissed at: "+new Date)})},a.leaveQueue=function(a,b){return i.save({name:"QueueRemove",agent:a,queueId:b,channel:"fax",data1:a,data3:b,data4:"fax"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},a.showInfo=function(a){c.open({animation:!0,templateUrl:"app/channels/fax/realtime/view/agent/agent.modal.info.html",controller:"FaxRealtimeViewAgentInfoModalCtrl",resolve:{agent:a}})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.realtime.view.agents",{url:"/agents",templateUrl:"app/channels/fax/realtime/view/agent/agent.html",controller:"FaxRealtimeViewAgentCtrl"})}]),angular.module("xCallyShuttleApp").controller("FaxRealtimeViewAgentInfoModalCtrl",["$scope","$uibModalInstance","$http","agent",function(a,b,c,d){a.agent=d,a.close=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("FaxRealtimeViewAgentQueueModalCtrl",["$scope","$uibModalInstance","$http","queues",function(a,b,c,d){a.queues=d,a.item={},a.save=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("FaxRealtimeViewApplicationCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","ReportFaxSession","usSpinnerService","$q","uiGridConstants","$timeout",function(a,b,c,d,e,f,g,h,i,j,k){function l(){return h.spin("spinner-grid"),g.get({controller:"waiting",controller2:"applications"}).$promise.then(function(b){a.gridOptions.data=b.rows})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){m(),h.stop("spinner-grid")})}function m(){e.socket.on("report_fax_session:save",function(b){var c=_.find(a.gridOptions.data,{id:b.id});c?(_.merge(c,b),b.leaveAt&&k(function(){_.remove(a.gridOptions.data,{id:b.id})},1e4)):b.leaveAt||a.gridOptions.data.push(b)}),e.socket.on("report_fax_session:remove",function(b){_.remove(a.gridOptions.data,{id:b.id})})}a.moment=moment,a.initApplications=function(){a.gridOptions={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"uniqueid",displayName:"APPLICATION_UNIQUEID",headerCellFilter:"translate"},{name:"accountname",displayName:"APPLICATION_ACCOUNT",headerCellFilter:"translate"},{name:"application",displayName:"APPLICATION_APPLICATION",headerCellFilter:"translate"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}{{\'APPLICATION_UNMANAGED\' | translate}} [{{hhours}}:{{mminutes}}:{{sseconds}}]
',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"membername",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.membername || ''}}
"},{name:"queuename",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.queuename || ''}}
"}],data:[],gridMenuTitleFilter:function(a){var b=i.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){n(a.gridOptions.data.length)})}},l()};var n=function(a){var b=a?30*a+60:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("report_fax_session")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.realtime.view.applications",{url:"/applications",templateUrl:"app/channels/fax/realtime/view/application/application.html",controller:"FaxRealtimeViewApplicationCtrl"})}]),angular.module("xCallyShuttleApp").controller("FaxRealtimeViewCtrl",["$scope","$state",function(a,b){a.agents=[{name:"Queues",link:"main.channels.fax.realtime.view.agents.queues"},{name:"Timeline",link:"main.channels.fax.realtime.view.agents.timeline"}],a.sessions=[{name:"Sessions",link:"main.channels.fax.realtime.view.sessions"}],a.tree={queues:[{name:"Queues",link:"main.channels.fax.realtime.view.agents.queues"},{name:"Timeline",link:"main.channels.fax.realtime.view.agents.timeline"}],sessions:[{name:"Sessions",link:"main.channels.fax.realtime.view.sessions"}]}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.realtime.view",{url:"/view",templateUrl:"app/channels/fax/realtime/view/view.html",controller:"FaxRealtimeViewCtrl"})}]),angular.module("xCallyShuttleApp").factory("ReportFaxRoom",["$resource",function(a){return a("/api/report/fax/rooms/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ReportFaxSession",["$resource",function(a){return a("/api/report/fax/sessions/:id/:controller/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("MailAccount",["$resource",function(a){return a("/api/mail/accounts/:accountId/:controller/:id",{id:"@accountId"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.accounts",{url:"/accounts",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:9}}})}]),angular.module("xCallyShuttleApp").controller("MailAccountListCtrl",["$scope","$stateParams","gridOptions","MailAccount","socket",function(a,b,c,d,e){a.initView=function(){e.socket.on("mail_server_in:save",function(b){var c=_.find(a.gridOptions.data,{id:b.MailAccountId});c&&(c.MailServerIn.state=b.state,c.MailServerIn.source=JSON.parse(b.source))});var f={exporterCsvFilename:"mail_accounts.csv",columnDefs:[{name:"name"},{name:"description"},{name:"address"},{name:"MailServerIn.state",width:100,cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.MailServerIn.state}}
",displayName:"IMAP",enableSorting:!1,enableFiltering:!1},{name:"MailServerOut.state",width:110,cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.MailServerOut.state}}
",displayName:"SMTP",enableSorting:!1,enableFiltering:!1},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/channels/mail/accounts/view/{{row.entity.id}}/settings",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(d,f,a,{accountId:b.accountId})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.accounts.list",{url:"/list",templateUrl:"app/channels/mail/account/list/list.html",controller:"MailAccountListCtrl"})}]),angular.module("xCallyShuttleApp").factory("MailServerIn",["$resource",function(a){return a("/api/mail/servers/in/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("MailServerOut",["$resource",function(a){return a("/api/mail/servers/out/:id/:controller",{id:"@id"},{update:{method:"PUT"},test:{method:"GET"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.accounts.view.actions",{url:"/actions",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("MailAccountViewActionListCtrl",["$scope","gridOptions","MailAccount","$http","$translate","$stateParams",function(a,b,c,d,e,f){a.initActons=function(){var d={draggable:!0,exporterCsvFilename:"mail_applications.csv",enableSorting:!1,enableFiltering:!1,columnDefs:[{name:"app",cellClass:"text-center"},{name:"name",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.MailQueue ? row.entity.MailQueue.name : row.entity.User.name}}
"},{name:"timeout",cellClass:"text-center"},{name:"interval",cellClass:"text-center"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/channels/mail/accounts/view/{{row.entity.MailAccountId}}/actions/view/{{row.entity.id}}",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.app, row.entity.id)"}]}]};a.gridOptions=b.gridOptions(c,d,a,{accountId:f.accountId,controller:"applications"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.accounts.view.actions.list",{url:"/list",templateUrl:"app/channels/mail/account/view/action/list/list.html",controller:"MailAccountViewActionListCtrl"})}]),angular.module("xCallyShuttleApp").controller("MailAccountViewActionViewCtrl",["$scope","$http","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval","Agent","Interval","MailQueue",function(a,b,c,d,e,f,g,h,i,j,k,l,m){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initAction=function(){a.$application=i.application,a.$stateParams=c,a.$interval=j.interval,a.forms={},a.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"}],b.get("/api/mail/applications/"+c.actionId).success(function(b){if(a.application=b,a.application.alwaysTime=!1,a.application.IntervalId)a.application.intType="list";else switch(a.application.interval){case"*,*,*,*":a.application.intType="always";break;default:a.application.intType="custom"}var c=a.application.interval.split(",");"*"===c[0]?a.application.alwaysTime=!0:(a.application.t_from=moment(new Date),a.application.t_to=moment(new Date),a.application.t_from.hour(c[0].split("-")[0].split(":")[0]),a.application.t_from.minute(c[0].split("-")[0].split(":")[1]),a.application.t_to.hour(c[0].split("-")[1].split(":")[0]),a.application.t_to.minute(c[0].split("-")[1].split(":")[1])),"*"===c[1]?(a.application.wd_from="always",a.application.wd_to="always"):(a.application.wd_from=c[1].split("-")[0],a.application.wd_to=c[1].split("-")[1]),"*"===c[2]?(a.application.md_from="always",a.application.md_to="always"):(a.application.md_from=c[2].split("-")[0],a.application.md_to=c[2].split("-")[1]),"*"===c[3]?(a.application.m_from="always",a.application.m_to="always"):(a.application.m_from=c[3].split("-")[0],a.application.m_to=c[3].split("-")[1]),a.$watch("application.t_from",function(b){a.application.t_from_hm=moment(b).format("HH:mm")}),a.$watch("application.t_to",function(b){a.application.t_to_hm=moment(b).format("HH:mm")})}).error(function(a){console.error(a)})},a.getQueues=function(){return m.get().$promise.then(function(b){a.queues=b.rows})["catch"](function(a){console.error(a)})},a.getAgents=function(){return k.get().$promise.then(function(b){a.agents=b.rows})["catch"](function(a){console.error(a)})},a.getIntervals=function(){return l.get().$promise.then(function(b){a.intervals=b.rows})["catch"](function(a){console.error(a)})},a.updateItem=function(){var e=["*","*","*","*"],g={app:a.application.app,timeout:a.application.timeout,MailAccountId:c.id};switch(a.application.app){case"agent":g.UserId=a.application.UserId;break;case"queue":g.MailQueueId=a.application.MailQueueId}switch(a.application.intType){case"always":g.interval=e.join(","),delete a.application.IntervalId;break;case"custom":a.application.alwaysTime||(e[0]=a.application.alwaysTime?"*":a.application.t_from_hm+"-"+a.application.t_to_hm),a.application.wd_from&&a.application.wd_to&&"always"===a.application.wd_from&&"always"===a.application.wd_to?e[1]="*":e[1]=a.application.wd_from&&a.application.wd_to?a.application.wd_from+"-"+a.application.wd_to:"*",a.application.md_from&&a.application.md_to&&"always"===a.application.md_from&&"always"===a.application.md_to?e[2]="*":e[2]=a.application.md_from&&a.application.md_to?a.application.md_from+"-"+a.application.md_to:"*",a.application.m_from&&a.application.m_to&&"always"===a.application.m_from&&"always"===a.application.m_to?e[3]="*":e[3]=a.application.m_from&&a.application.m_to?a.application.m_from+"-"+a.application.m_to:"*",g.interval=e.join(","),delete a.application.IntervalId;break;case"list":g.IntervalId=a.application.IntervalId}b.put("/api/mail/applications/"+c.actionId,g).success(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.accounts.view.actions.view",{url:"/view/:actionId",templateUrl:"app/channels/mail/account/view/action/view/view.html",controller:"MailAccountViewActionViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("MailAccountViewActionWizardCtrl",["$scope","$http","Agent","MailQueue","Interval","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval",function(a,b,c,d,e,f,g,h,i,j,k,l,m){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initWizard=function(){a.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"}],a.$application=l.application,a.$stateParams=f,a.$interval=m.interval,a.forms={},a.application={alwaysTime:!0},a.$watch("application.t_from",function(b){a.application.t_from_hm=moment(b).format("HH:mm")}),a.$watch("application.t_to",function(b){a.application.t_to_hm=moment(b).format("HH:mm")})},a.getQueues=function(){return d.get().$promise.then(function(b){a.queues=b.rows})["catch"](function(a){console.error(a)})},a.getAgents=function(){return c.get().$promise.then(function(b){a.agents=b.rows})["catch"](function(a){console.error(a)})},a.getIntervals=function(){return e.get().$promise.then(function(b){a.intervals=b.rows})["catch"](function(a){console.error(a)})},a.createItem=function(){var c=["*","*","*","*"],d={app:a.application.app,timeout:a.application.timeout,MailAccountId:f.accountId};switch(a.application.app){case"agent":d.UserId=a.application.UserId;break;case"queue":d.MailQueueId=a.application.MailQueueId}switch(a.application.intType){case"always":d.interval=c.join(","),delete a.application.IntervalId;break;case"custom":a.application.alwaysTime||(c[0]=a.application.alwaysTime?"*":a.application.t_from_hm+"-"+a.application.t_to_hm),a.application.wd_from&&a.application.wd_to&&"always"===a.application.wd_from&&"always"===a.application.wd_to?c[1]="*":c[1]=a.application.wd_from&&a.application.wd_to?a.application.wd_from+"-"+a.application.wd_to:"*",a.application.md_from&&a.application.md_to&&"always"===a.application.md_from&&"always"===a.application.md_to?c[2]="*":c[2]=a.application.md_from&&a.application.md_to?a.application.md_from+"-"+a.application.md_to:"*",a.application.m_from&&a.application.m_to&&"always"===a.application.m_from&&"always"===a.application.m_to?c[3]="*":c[3]=a.application.m_from&&a.application.m_to?a.application.m_from+"-"+a.application.m_to:"*",d.interval=c.join(","),delete a.application.IntervalId;break;case"list":d.IntervalId=a.application.IntervalId}b.post("/api/mail/applications",d).success(function(){h.path("/channels/mail/accounts/view/"+f.accountId+"/actions/list")}).error(function(a){console.error(a)})},a.formValidation=function(a){return a},a.next=function(){j.wizard().next()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.accounts.view.actions.wizard",{url:"/wizard",templateUrl:"app/channels/mail/account/view/action/wizard/wizard.html",controller:"MailAccountViewActionWizardCtrl"})}]),angular.module("xCallyShuttleApp").factory("MailDisposition",["$resource",function(a){return a("/api/mail/dispositions/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("MailInboxViewModaDispositionAddCtrl",["$scope","$uibModalInstance","MailAccount","id",function(a,b,c,d){a.ok=function(){return c.save({accountId:d,controller:"dispositions"},{name:a.name}).$promise.then(function(a){b.close(a)})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("MailAccountDispositionViewCtrl",["$scope","$stateParams","$uibModal","$translate","MailAccount","xAlert",function(a,b,c,d,e,f){a.initView=function(){return e.get({accountId:b.accountId,controller:"dispositions"}).$promise.then(function(b){a.dispositions=b.rows})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.updateDisposition=function(a,c){return e.update({accountId:b.accountId,controller:"dispositions",id:a},{name:c}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.deleteDisposition=function(c){return console.log("delete"),e.remove({accountId:b.accountId,controller:"dispositions",id:c}).$promise.then(function(){_.remove(a.dispositions,{id:c})})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.addDisposition=function(){return c.open({animation:!0,templateUrl:"app/channels/mail/account/view/disposition/modal/add.modal.html",controller:"MailInboxViewModaDispositionAddCtrl",resolve:{id:function(){return b.accountId}}}).result.then(function(b){b&&a.dispositions.push(b)})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.accounts.view.dispositions",{url:"/dispositions",controller:"MailAccountDispositionViewCtrl",templateUrl:"app/channels/mail/account/view/disposition/view/view.html"})}]),angular.module("xCallyShuttleApp").controller("MailAccountSettingViewCtrl",["$scope","$http","$stateParams","$translate","$location","$timeout","socket","xAlert","MailAccount","MailMessage","MailServerIn","MailServerOut","usSpinnerService","List",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){a.imapDisabled=!1,a.smtpDisabled=!1,a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.CONST_TIMEOUT=3e4,a.$on("$destroy",function(){g.socket.removeAllListeners("mail_message:sent"),g.socket.removeAllListeners("mail_message:failed")}),a.initView=function(){return g.socket.on("mail_message:sent",function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success"),m.stop("spinner-grid")}),g.socket.on("mail_message:failed",function(){h.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger"),m.stop("spinner-grid")}),n.get().$promise.then(function(b){a.lists=b.rows})["catch"](function(a){console.error(a)}),i.get({id:c.accountId}).$promise.then(function(b){a.account=b,a.account.MailServerIn.source=JSON.parse(a.account.MailServerIn.source),a.account.MailServerOut.source=JSON.parse(a.account.MailServerOut.source),g.socket.on("mail_server_in:state",function(b){if(b.id===a.account.MailServerIn.id)switch(a.account.MailServerIn.state=b.state,a.account.MailServerIn.source=JSON.parse(b.source),b.state){case"CONNECTING":break;default:m.stop("spinner-grid"),a.imapDisabled=!1}}),g.socket.on("mail_server_out:state",function(b){if(b.id===a.account.MailServerOut.id)switch(a.account.MailServerOut.state=b.state,a.account.MailServerOut.source=JSON.parse(b.source),b.state){case"CONNECTING":break;default:m.stop("spinner-grid"),a.smtpDisabled=!1}})})["catch"](function(a){h.show(a.message,"danger")})},a.updateItemMailAccount=function(){return i.update({id:c.accountId},{name:a.account.name,description:a.account.description,address:a.account.address,fidelity:a.account.fidelity,timeout:a.account.timeout,ListId:a.account.ListId}).$promise.then(function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.show(a.message,"danger")})},a.updateItemMailServerIn=function(){var b=angular.copy(a.account.MailServerIn);return delete b.source,m.spin("spinner-grid"),a.imapDisabled=!0,k.update({id:b.id},b).$promise.then(function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.show(a.message,"danger")})},a.updateItemMailServerOut=function(){var b=angular.copy(a.account.MailServerOut);return delete b.source,m.spin("spinner-grid"),a.smtpDisabled=!0,l.update({id:b.id},b).$promise.then(function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.show(a.message,"danger")})},a.test=function(){return m.spin("spinner-grid"),a.smtpDisabled=!0,l.update({id:a.account.MailServerOut.id},{state:"CONNECTING"}).$promise["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.accounts.view.settings",{url:"/settings",controller:"MailAccountSettingViewCtrl",templateUrl:"app/channels/mail/account/view/setting/view/view.html"})}]),angular.module("xCallyShuttleApp").controller("MailAccountViewCtrl",["$scope","$stateParams","MailAccount",function(a,b,c){a.initView=function(){return c.get({id:b.accountId}).$promise.then(function(b){a.account=b})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.accounts.view",{url:"/view/:accountId",controller:"MailAccountViewCtrl",templateUrl:"app/channels/mail/account/view/view.html",resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]})}]}})}]),angular.module("xCallyShuttleApp").controller("MailAccountWizardCtrl",["$scope","$http","$location","$translate","WizardHandler","xAlert","MailAccount",function(a,b,c,d,e,f,g){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initWizard=function(){a.forms={},a.item={MailServerIn:{port:993,ssl:!0,"delete":!1,protocol:"IMAP",filter:"UNSEEN",mailbox:"INBOX",keepalive:!0,authTimeout:5,connTimeout:10},MailServerOut:{port:465,ssl:!0}}},a.goNext=function(){e.wizard().next()},a.formValidation=function(a){return a},a.createItem=function(){return g.save(a.item).$promise.then(function(){c.path("/channels/mail/accounts/list")})["catch"](function(a){f.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.accounts.wizard",{url:"/wizard",templateUrl:"app/channels/mail/account/wizard/wizard.html",controller:"MailAccountWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.inbox",{url:"/inbox",template:"
","abstract":!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:9}}})}]),angular.module("xCallyShuttleApp").directive("mailMessage",["$rootScope","$translate","MailMessage","List","xAlert",function(a,b,c,d,e){return{restrict:"E",scope:{message:"=",listId:"="},templateUrl:"app/channels/mail/inbox/message/message.directive.html",link:function(f){f.openContact=function(c,g){return f.listId?d.get({listId:f.listId,controller:"contacts",email:g}).$promise.then(function(b){a.$root.workspaces.push({active:!0,"class":"icon-user",contactID:b.id,name:b.email,type:"contact"})})["catch"](function(a){console.error(a)}):void e.show(b.instant("MESSAGE_NO_LIST_CONFIGURED"),"info")},f.retry=function(a){return c.update({id:a,status:"SENDING"}).$promise.then(function(){})["catch"](function(a){console.error(a)})}}}}]),angular.module("xCallyShuttleApp").directive("mailNote",function(){return{restrict:"E",scope:{message:"="},templateUrl:"app/channels/mail/inbox/note/note.directive.html"}}),angular.module("xCallyShuttleApp").controller("MailInboxViewModalNoteCtrl",["$scope","$uibModalInstance","$translate","id","MailRoom","xAlert",function(a,b,c,d,e,f){a.initModal=function(){a.item={}},a.ok=function(){return e.save({id:d,controller:"messages"},{text:a.item.text,status:"NOTE"}).$promise.then(function(){f.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(){f.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})["finally"](function(){b.close()})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").directive("mailRoom",["$cookieStore","$translate","$uibModal","$timeout","Tag","CannedAnswer","MailAttachment","MailAccount","MailRoom","MailMessage","FileUploader","xAlert","usSpinnerService","socket","Auth",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){return{restrict:"E",scope:{workspace:"="},templateUrl:"app/channels/mail/inbox/room/room.directive.html",link:function(d){function p(a){return a?"
"+a.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\n/g,"
")+"
":void 0}var q=[];d.modelOptions={debounce:{"default":500,blur:250},getterSetter:!0},d.panelLeft=null,d.panelRight="col-md-12",d.forms={},d.form={from:[],to:[],sto:[],cc:[],scc:[],tags:[],html:"",disabled:!1},n.socket.on("mail_message:save",function(a){return d.workspace.id&&a.MailRoomId==d.workspace.id?(d.workspace.active||d.workspace.unread++,j.get({id:a.id}).$promise.then(function(a){d.mailRoom||(d.mailRoom={MailMessages:[]});var b=_.findIndex(d.mailRoom.MailMessages,{id:a.id});b>-1?_.merge(d.mailRoom.MailMessages[b],a):d.mailRoom.MailMessages.unshift(a),d.panelLeft="col-md-6",d.panelRight="col-md-6"})["catch"](function(a){console.error(a)})):void 0});var r=d.uploader=new k({url:"api/mail/attachments",autoUpload:!0,withCredentials:!0,headers:{Authorization:"Bearer "+a.get("token")}});return r.removeFromQueue=function(a){var c=this;return g["delete"]({id:a.basename}).$promise.then(function(){var b=c.getIndexOfItem(a),d=c.queue[b];d.isUploading&&d.cancel(),c.queue.splice(b,1),d._destroy(),c.progress=c._getTotalProgress(),q=_.reject(q,{basename:a.basename})})["catch"](function(){l.show(b.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},r.onErrorItem=function(){l.show(b.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")},r.onSuccessItem=function(a,b){var c={size:b.size,path:b.path,name:b.name,basename:b.basename,type:b.type -};a=_.merge(a,c),q.push(c)},d.getMessageMailId=function(a){var b=a.UserId?"imgMailUserId"+a.UserId:"imgMailVisitorId";return b+=d.mailRoom.id.toString()+a.id.toString()},d.togglePanelLeft=function(){d.panelLeft?(d.panelLeft=null,d.panelRight="col-md-12"):(d.panelLeft="col-md-6",d.panelRight="col-md-6")},d.onSelect=function(){d.form.html=d.modelOptions.selectedAnswer,delete d.modelOptions.selectedAnswer},d.onSelectAnswer=function(a){d.form.html+=a,d.selectedAnswer=""},d.getAnswers=function(a){return f.get({key:a}).$promise.then(function(a){return _.map(a.rows,"value")})},d.cancel=function(){d.form.disabled=!1,d.form.from=[],d.form.to=[],d.form.sto=[],d.form.cc=[],d.form.scc=[],delete d.form.subject,delete d.form.html},d.updateStatus=function(a){c.open({animation:!0,templateUrl:"app/channels/mail/inbox/status/status.modal.html",controller:"MailInboxStatusModalCtrl",resolve:{roomId:function(){return d.workspace.id},accountId:function(){return d.mailRoom.MailAccount.id},status:function(){return a}}})},d.loadAgents=function(){c.open({animation:!0,templateUrl:"app/channels/mail/inbox/view/view.agents.modal.html",controller:"MailInboxViewModalAgentCtrl",resolve:{roomId:function(){return d.workspace.id}}})},d.loadTemplate=function(){c.open({animation:!0,templateUrl:"app/channels/mail/inbox/view/view.templates.modal.html",controller:"MailInboxViewModalTemplateCtrl"}).result.then(function(a){d.form.subject=a.template.subject,d.form.html=a.template.html})},d.closeRoom=function(){return c.open({animation:!0,templateUrl:"app/channels/mail/inbox/status/status.modal.html",controller:"MailInboxStatusModalCtrl",resolve:{status:function(){return d.mailRoom.status},accountId:function(){return d.mailRoom.MailAccount.id}}}).result.then(function(a){return i.update({id:d.workspace.id},a).$promise["catch"](function(a){console.error(a),l.show(a.data.message,"danger")})})},d.loadNote=function(){c.open({animation:!0,templateUrl:"app/channels/mail/inbox/note/note.modal.html",controller:"MailInboxViewModalNoteCtrl",resolve:{id:function(){return d.workspace.id}}})},d.onChanged=function(){return i.update({id:d.workspace.id},{tags:d.form.tags}).$promise["catch"](function(a){console.error(a)})},d.sendMail=function(){m.spin("spinner-grid"),d.form.disabled=!0;var a={},c={subject:d.form.subject||d.mailRoom.subject,from:d.form.from,to:d.form.sto||[],cc:d.form.scc||[],html:d.form.html||null,text:d.form.text||null,inReplyTo:a.messageId||null,status:"SENDING",MailAttachments:q};return d.mailRoom?(a=_.last(d.mailRoom.MailMessages,{status:"RECEIVED"}),c.inReplyTo=a.messageId||null,i.save({id:d.workspace.id,controller:"messages"},c).$promise.then(function(){d.form.html="",r.queue=[],q=[],l.show(b.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(){l.show(b.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})["finally"](function(){m.stop("spinner-grid"),d.form.disabled=!1})):j.save(c).$promise.then(function(a){return l.show(b.instant("MESSAGE_MAIL_MESSAGE_SEND_SUCCESS"),"success"),i.get({id:"messages",controller:a.id}).$promise}).then(function(a){d.form.html="",r.queue=[],q=[],d.workspace.id=a.id,d.workspace.name=a.subject,d.mailRoom=a})["catch"](function(){l.show(b.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})["finally"](function(){m.stop("spinner-grid"),d.form.disabled=!1})},e.get().$promise.then(function(a){d.tags=_.map(a.rows,"name")})["catch"](function(a){console.error(a)}),h.get().$promise.then(function(a){d.mailAccounts=a.rows})["catch"](function(a){console.error(a)}),d.workspace.id?(d.panelLeft="col-md-6",d.panelRight="col-md-6",i.get({id:d.workspace.id}).$promise.then(function(a){d.mailRoom=a,d.form.from.push(a.MailAccount.address),d.form.tags=a.tags;var b=_.findLast(d.mailRoom.MailMessages,{status:"RECEIVED"});return b&&(d.form.to=d.form.cc=d.form.bcc=_.union(b.from,b.to,b.cc,b.bcc),d.form.sto=_.remove(d.form.to,function(b){return b!==a.MailAccount.address}),d.form.subject="Re: "+b.subject,d.form.html=p(b.text)),n.socket.on("mail_room:save",function(a){a.id===d.workspace.id&&_.merge(d.mailRoom,a)}),a}).then(function(a){return o.isAgent()&&"CLOSED"!==a.status?i.update({id:d.workspace.id},{status:"OPEN"}):void 0}).then(function(){return o.isAgent()?i.update({id:d.workspace.id,controller:"agents"},{agents:[o.getCurrentUser().id]}).$promise:void 0})["catch"](function(a){console.error(a)})["finally"](function(){m.stop("spinner-grid"),d.form.disabled=!1})):(d.panelLeft=null,d.panelRight="col-md-12",m.stop("spinner-grid"),void 0)}}}]),angular.module("xCallyShuttleApp").controller("MailInboxStatusModalCtrl",["$scope","$uibModalInstance","MailAccount","status","accountId",function(a,b,c,d,e){a.modal={title:"APPLICATION_CONFIRM_CLOSE",text:"MESSAGE_ARE_YOU_SURE_YOU_WANT_TO_CLOSE_THE_MAIL"},a.initDisposition=function(){return a.item={disposition:null,status:"CLOSED"},c.get({accountId:e,controller:"dispositions"}).$promise.then(function(b){a.dispositions=b.rows})["catch"](function(a){console.error(a)})},a.ok=function(){b.close(a.item)},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.inbox.view.account",{url:"/account/:id",template:"
","abstract":!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:9}}})}]),angular.module("xCallyShuttleApp").controller("MailInboxViewAccountListCtrl",["$scope","$rootScope","$uibModal","$translate","$stateParams","$state","Tag","usSpinnerService","socket","MailAccount","MailRoom","gridOptions","uiGridConstants","Auth","Modal","xAlert","localStorageService",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){a.openRoom=function(b,c){var d=_.find(a.workspaces,{id:b,type:"mailRoom"});d?d.active=!0:a.workspaces.push({id:b,name:c,type:"mailRoom","class":"icon-envelope",active:!0})},a.getPage=function(){h.spin("spinner-grid");var b={accountId:e.id,controller:"rooms"};return a.query&&_.merge(b,a.query),j.query(b).$promise.then(function(b){a.gridOptions.data=b,i.unsyncUpdates("mail_room"),i.socket.on("mail_room:save",function(b){if(b.MailAccountId==e.id){var c=_.find(a.gridOptions.data,{id:b.id});c&&(c.status!==b.status?_.remove(a.gridOptions.data,{id:b.id}):_.merge(c,b))}}),i.socket.on("mail_room:remove",function(b){_.remove(a.gridOptions.data,{id:b.id})})})["catch"](function(a){console.error(a)})["finally"](function(){h.stop("spinner-grid")})},a.initView=function(){a.id=[],a.isAdmin=n.isAdmin(),a.isAgent=n.isAgent(),a.uncheckable=!1,a.query={status:q.get("mailStatus")?q.get("mailStatus"):"UNMANAGED",tags:q.get("mailTags")?q.get("mailTags"):[]},a.$watch("query.status",function(){q.set("mailStatus",a.query.status),a.getPage()},!0),j.get().$promise.then(function(b){a.mailAccounts=b.rows})["catch"](function(a){console.error(a)}),g.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)}),a.gridOptions={exporterCsvFilename:"mail_rooms.csv",enableRowHeaderSelection:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,enableFiltering:!0,enableSorting:!0,enableGridMenu:!1,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,enableSelectAll:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,columnDefs:[{name:"lastEvent",displayName:"",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
",width:30,enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"id",displayName:"",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
#{{row.entity.id}}
",width:75,enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"subject"},{name:"from",cellClass:"text-center"},{name:"updatedAt",cellFilter:"date:'MM/dd/yyyy HH:mm'",width:120,enableSorting:!1,enableFiltering:!1,sort:{direction:m.DESC}},{name:"action",cellTemplate:'
',enableSorting:!1,cellClass:"ui-grid-vcenter",width:90,enableFiltering:!1,enableColumnMenu:!1}],data:[],onRegisterApi:function(b){a.gridApi=b,a.gridApi.selection&&(a.gridApi.selection.on.rowSelectionChanged(a,function(b){b.isSelected?a.id.push(a.gridApi.grid.options.primaryKey?b.entity[a.gridApi.grid.options.primaryKey]:b.entity.id):_.pull(a.id,a.gridApi.grid.options.primaryKey?b.entity[a.gridApi.grid.options.primaryKey]:b.entity.id)}),a.gridApi.selection.on.rowSelectionChangedBatch(a,function(b){b[0].isSelected?a.id=_.union(a.id,_.map(b,a.gridApi.grid.options.primaryKey?"entity."+a.gridApi.grid.options.primaryKey:"entity.id")):_.map(b,a.gridApi.grid.options.primaryKey?"entity."+a.gridApi.grid.options.primaryKey:"entity.id").forEach(function(b){_.pull(a.id,b)})}))}},a.getPage(a.query)},a.onChanged=function(){q.set("mailTags",a.query.tags),a.getPage(a.query)},a.loadAgents=function(a){c.open({animation:!0,templateUrl:"app/channels/mail/inbox/view/view.agents.modal.html",controller:"MailInboxViewModalAgentCtrl",resolve:{roomId:a}})},a.tagItems=function(){c.open({animation:!0,templateUrl:"app/channels/mail/inbox/view/view.tags.modal.html",controller:"MailInboxViewModalTagCtrl",resolve:{id:function(){return a.id}}}).result.then(function(){a.gridApi.selection.clearSelectedRows(),a.id=[]})},a.deleteItem=o.confirm["delete"](function(b){var c={id:b};return k.remove(c).$promise.then(function(){a.getPage(),p.show(d.instant("MESSAGE_WELL_DONE")+"!","success"),a.gridApi.selection.clearSelectedRows(),a.id=[]})["catch"](function(a){p.show(a.message?a.message:a.data.message,"danger")})}),a.deleteItems=o.confirm["delete"](function(){var b={ids:a.id};return k["delete"](b).$promise.then(function(){a.getPage(),p.show(d.instant("MESSAGE_WELL_DONE")+"!","success"),a.gridApi.selection.clearSelectedRows(),a.id=[]})["catch"](function(a){p.show(a.message?a.message:a.data.message,"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.inbox.view.account.list",{url:"/list",templateUrl:"app/channels/mail/inbox/view/account/list/list.html",controller:"MailInboxViewAccountListCtrl",data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:9}}})}]),angular.module("xCallyShuttleApp").controller("MailInboxViewModalAgentCtrl",["$scope","$uibModalInstance","$translate","$stateParams","Agent","Auth","MailRoom","xAlert","roomId",function(a,b,c,d,e,f,g,h,i){var j=[];a.initModal=function(){return a.agents=[],a.item={agents:[]},e.get().$promise.then(function(b){for(var c=0;c
","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("MailReport",["$resource",function(a){return a("/api/report/mails/:id/:controller1/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("MailRoom",["$resource",function(a){return a("/api/mail/rooms/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"},patch:{method:"PATCH"}})}]),angular.module("xCallyShuttleApp").factory("MailAttachment",["$resource",function(a){return a("/api/mail/attachments/:id/:controller",{id:"@id"})}]),angular.module("xCallyShuttleApp").factory("MailMessage",["$resource",function(a){return a("/api/mail/messages/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("MailQueueListCtrl",["$scope","MailQueue","gridOptions","$uibModal","Auth",function(a,b,c,d,e){a.initView=function(){a.Auth=e;var d={exporterCsvFilename:"voice_queues.csv",columnDefs:[{name:"name"},{name:"description"},{name:"timeout"},{name:"strategy"},{name:"action",width:200,buttons:[{"class":"blue-hoki",href:"/channels/mail/queues/view/{{row.entity.id}}/settings",name:"settings"},{"class":"green-meadow",href:"/channels/mail/queues/view/{{row.entity.id}}/agents",name:"agents",hide:"user"===e.getCurrentUser().role},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,d,a)},a.createItem=function(){var b=d.open({animation:!0,templateUrl:"app/channels/mail/queue/list/list.create.modal.html",controller:"MailQueueListCreateCtrl"});b.result.then(function(){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("MailQueueListCreateCtrl",["$scope","$uibModalInstance","$translate","xAlert","MailQueue",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return e.save(a.item).$promise.then(function(a){b.close(a)})["catch"](function(a){d.show(a.data.message,"danger")})},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.queues.list",{url:"/list",templateUrl:"app/channels/mail/queue/list/list.html",controller:"MailQueueListCtrl"})}]),angular.module("xCallyShuttleApp").factory("MailQueue",["$resource",function(a){return a("/api/mail/queues/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.queues",{url:"/queues",template:"
","abstract":!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/scripts/components-dropdowns.js"]})}]},data:{permissions:{only:["admin","user"],redirectTo:"landing",id:9}}})}]),angular.module("xCallyShuttleApp").controller("MailQueueViewCtrl",["$scope","$http","$translate","$stateParams","xAlert","Team","MailQueue","Auth",function(a,b,c,d,e,f,g,h){a.Auth=h;var i=function(){return{select:function(b){return g.save({id:a.queue.id,controller:"agents"},{agents:b,penalty:a.queue.penalty}).$promise.then(function(){a.getTeams()})["catch"](function(a){console.error(a)})},deselect:function(b){return g["delete"]({id:a.queue.id,controller:"agents",agents:b}).$promise.then(function(){a.getTeams()})["catch"](function(a){console.error(a)})}}};a.getQueue=function(){return g.get({id:d.id}).$promise.then(function(b){b.penalty=0,a.queue=b})["catch"](function(a){console.error(a)})},a.updateMailQueue=function(){return g.update({id:d.id},{name:a.queue.name,description:a.queue.description,timeout:a.queue.timeout,strategy:a.queue.strategy}).$promise.then(function(){e.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){e.show(a.data.message,"danger")})},a.getTeams=function(){return f.get({controller:"associations"}).$promise.then(function(b){return a.teams=b.rows,g.get({id:d.id,controller:"agents"}).$promise}).then(function(b){ComponentsDropdowns.bindMailQueue(a.teams,_.map(b.rows,function(a){return{id:a.id,penalty:a.UserHasMailQueue.penalty}}),i)})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.queues.view",{url:"/view/:id",templateUrl:"app/channels/mail/queue/view/view.html",controller:"MailQueueViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.mail.queues.view.settings",{url:"/settings",templateUrl:"app/channels/mail/queue/view/view.settings.html"}).state("main.channels.mail.queues.view.agents",{url:"/agents",templateUrl:"app/channels/mail/queue/view/view.agents.html",cache:!1,serie:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.realtime",{url:"/realtime",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:9}}})}]),angular.module("xCallyShuttleApp").controller("MailRealtimeViewAgentCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","Agent","Pause","Action","MailQueue","usSpinnerService","$q","uiGridConstants","Auth",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){function o(){return k.spin("spinner-grid"),g.get(t).$promise.then(function(b){a.gridOptions.totalItems=b.count,a.gridOptions.data=[],b.rows.forEach(function(a){q(a)})})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){k.stop("spinner-grid")})}function p(){e.socket.on("agent:save",function(b){var c=_.find(a.gridOptions.data,{agentId:b.id,isAgent:!0});c&&(c.online=b.online,c.lastLoginAt=b.lastLoginAt,c.pause=b.mailPause,c.pauseType=b.pauseType,c.lastPauseAt=b.lastPauseAt,c.ipaddr=b.ipaddr,c.port=b.port,c.fullcontact=b.fullcontact,c.useragent=b.useragent,c.lastms=b.lastms,c.internal=b.internal,_.map(a.gridOptions.data,function(a){a.isAgent||a.agentId!==b.id||(a.online=b.online)}))}),e.socket.on("agent:remove",function(b){_.remove(a.gridOptions.data,{agentId:b.id})}),e.socket.on("user_has_mail_queue:save",function(b){var c=_.includes(_.map(a.CurrentUser.PMailQueues,"id"),b.MailQueueId)||n.isAdmin();if(c){var d=_.find(a.gridOptions.data,{agentId:b.UserId,isAgent:!0});if(d){var e=a.gridOptions.data.indexOf(d);a.gridOptions.data.splice(e+1,0,{isAgent:!1,agentId:b.UserId,queue:b.queue,queueId:b.MailQueueId,agent:b.membername,online:d.online})}}}),e.socket.on("user_has_mail_queue:remove",function(b){_.remove(a.gridOptions.data,{agentId:b.UserId,queueId:b.MailQueueId})})}function q(b){a.gridOptions.data.push({isAgent:!0,agentId:b.id,agent:b.name,online:b.online,lastLoginAt:b.lastLoginAt,lastPauseAt:b.lastPauseAt,pause:b.mailPause,pauseType:b.pauseType,ipaddr:b.ipaddr,port:b.port,fullcontact:b.fullcontact,useragent:b.useragent,lastms:b.lastms,internal:b.internal,$$treeLevel:0}),b.MailQueues.forEach(function(c){a.gridOptions.data.push({isAgent:!1,agentId:b.id,queue:c.name,queueId:c.id,agent:b.name,online:b.online})})}function r(){return h.get().$promise.then(function(b){a.pauses=b.rows,e.syncUpdates("pause",a.pauses)})["catch"](function(a){f.show(a.message,"danger")})}function s(){return j.get().$promise.then(function(b){a.mailQueues=b.rows,e.syncUpdates("mail_queue",a.mailQueues)})["catch"](function(a){f.show(a.message,"danger")})}a.mailQueues=[];var t={controller:"realtime",controller1:"mail",offset:0,limit:10};a.moment=moment,a.initAgents=function(){a.gridOptions={enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,multiSelect:!0,showTreeExpandNoChildren:!0,columnDefs:[{name:"name",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{row.entity.agent}} <{{row.entity.internal}}>
'},{name:"online",displayName:"APPLICATION_ONLINE",width:150,headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
({{hhours}}:{{mminutes}}:{{sseconds}})
',filter:{type:m.filter.SELECT,selectOptions:[{value:"true",label:"ONLINE"},{value:"false",label:"OFFLINE"}]}},{name:"mailPause",displayName:"APPLICATION_PAUSE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
({{row.entity.pauseType}}){{hhours}}:{{mminutes}}:{{sseconds}}
',filter:{type:m.filter.SELECT,selectOptions:[{value:"true",label:"PAUSED"},{value:"false",label:"NOT PAUSED"}]},enableSorting:!1,enableColumnMenu:!1},{name:"queue",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"action",displayName:"",width:170,cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1}],data:[],gridMenuTitleFilter:function(a){var b=l.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length)}),a.gridApi.treeBase.on.rowExpanded(a,function(b){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length+b.treeNode.children.length)}),a.gridApi.treeBase.on.rowCollapsed(a,function(b){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length-b.treeNode.children.length)}),a.gridApi.core.on.sortChanged(a,function(a,b){0===b.length?t.order=null:t.order=b[0].name+" "+b[0].sort.direction.toUpperCase(),o()}),a.gridApi.pagination.on.paginationChanged(a,function(a,b){t.offset=(a-1)*b,t.limit=b,o()}),a.gridApi.core.on.filterChanged(a,function(){var a=this.grid;a.columns.forEach(function(a){a.filters[0].term?t[a.name]=a.filters[0].term:delete t[a.name]}),o()})}},o(),r(),s(),p()};var u=function(a){var b=a?30*a+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("agent"),e.unsyncUpdates("user_has_mail_queue")}),a.pause=function(b,c,e){return e&&(a.pauseType=null),i.save({name:c,agent:b,type:e||"DEFAULT PAUSE",data4:e||"DEFAULT PAUSE",channel:"mail"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},a.joinQueue=function(e){var g=c.open({animation:!0,templateUrl:"app/channels/mail/realtime/view/agent/queue.modal.add.html",controller:"MailRealtimeViewAgentQueueModalCtrl",resolve:{queues:function(){return _.reject(a.mailQueues,function(b){return!!_.find(a.gridOptions.data,{queue:b.name,isAgent:!1,agentId:e})})}}});g.result.then(function(b){return i.save({name:"QueueAdd",agent:e,queues:_.filter(a.mailQueues,function(a){return _.includes(b.queues,a.id)}),channel:"mail",data1:e,data3:b.queues.join(","),data4:"mail"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},function(){b.info("Modal dismissed at: "+new Date)})},a.leaveQueue=function(a,b){return i.save({name:"QueueRemove",agent:a,queueId:b,channel:"mail",data1:a,data3:b,data4:"mail"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},a.showInfo=function(a){c.open({animation:!0,templateUrl:"app/channels/mail/realtime/view/agent/agent.modal.info.html",controller:"MailRealtimeViewAgentInfoModalCtrl",resolve:{agent:a}})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.realtime.view.agents",{url:"/agents",templateUrl:"app/channels/mail/realtime/view/agent/agent.html",controller:"MailRealtimeViewAgentCtrl"})}]),angular.module("xCallyShuttleApp").controller("MailRealtimeViewAgentInfoModalCtrl",["$scope","$uibModalInstance","$http","agent",function(a,b,c,d){a.agent=d,a.close=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("MailRealtimeViewAgentQueueModalCtrl",["$scope","$uibModalInstance","$http","queues",function(a,b,c,d){a.queues=d,a.item={},a.save=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("MailRealtimeViewApplicationCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","ReportMailSession","usSpinnerService","$q","uiGridConstants","$timeout",function(a,b,c,d,e,f,g,h,i,j,k){function l(){return h.spin("spinner-grid"),g.get({controller:"waiting",controller2:"applications"}).$promise.then(function(b){a.gridOptions.data=b.rows})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){m(),h.stop("spinner-grid")})}function m(){e.socket.on("report_mail_session:save",function(b){var c=_.find(a.gridOptions.data,{id:b.id});c?(_.merge(c,b),b.leaveAt&&k(function(){_.remove(a.gridOptions.data,{id:b.id})},1e4)):b.leaveAt||a.gridOptions.data.push(b)}),e.socket.on("report_mail_session:remove",function(b){_.remove(a.gridOptions.data,{id:b.id})})}a.moment=moment,a.initApplications=function(){a.gridOptions={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"uniqueid",displayName:"APPLICATION_UNIQUEID",headerCellFilter:"translate"},{name:"websitename",displayName:"APPLICATION_WEBSITE",headerCellFilter:"translate"},{name:"application",displayName:"APPLICATION_APPLICATION",headerCellFilter:"translate"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}{{\'APPLICATION_UNMANAGED\' | translate}} [{{hhours}}:{{mminutes}}:{{sseconds}}]
',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"membername",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.membername || ''}}
"},{name:"queuename",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.queuename || ''}}
"}],data:[],gridMenuTitleFilter:function(a){var b=i.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){n(a.gridOptions.data.length)})}},l()};var n=function(a){var b=a?30*a+60:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("report_mail_session")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.realtime.view.applications",{url:"/applications",templateUrl:"app/channels/mail/realtime/view/application/application.html",controller:"MailRealtimeViewApplicationCtrl"})}]),angular.module("xCallyShuttleApp").controller("MailRealtimeViewCtrl",["$scope","$state",function(a,b){ -a.agents=[{name:"Queues",link:"main.channels.mail.realtime.view.agents.queues"},{name:"Timeline",link:"main.channels.mail.realtime.view.agents.timeline"}],a.sessions=[{name:"Sessions",link:"main.channels.mail.realtime.view.sessions"}],a.tree={queues:[{name:"Queues",link:"main.channels.mail.realtime.view.agents.queues"},{name:"Timeline",link:"main.channels.mail.realtime.view.agents.timeline"}],sessions:[{name:"Sessions",link:"main.channels.mail.realtime.view.sessions"}]}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.realtime.view",{url:"/view",templateUrl:"app/channels/mail/realtime/view/view.html",controller:"MailRealtimeViewCtrl"})}]),angular.module("xCallyShuttleApp").factory("ReportMailRoom",["$resource",function(a){return a("/api/report/mail/rooms/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ReportMailSession",["$resource",function(a){return a("/api/report/mail/sessions/:id/:controller/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.realtime",{url:"/realtime",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:12}}})}]),angular.module("xCallyShuttleApp").controller("RealtimeViewAgentCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","Agent","Pause","Action","usSpinnerService","$q","uiGridConstants",function(a,b,c,d,e,f,g,h,i,j,k,l){function m(b){return j.spin("spinner-grid"),g.get(p).$promise.then(function(b){a.gridOptions.totalItems=b.count,a.gridOptions.data=b.rows})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){b&&n(),j.stop("spinner-grid")})}function n(){e.socket.on("agent:save",function(b){var c=_.find(a.gridOptions.data,{id:b.id});c&&_.merge(c,b)}),e.socket.on("agent:remove",function(b){_.remove(a.gridOptions.data,{id:b.id})})}function o(){return h.get().$promise.then(function(b){a.pauses=b.rows,e.syncUpdates("pause",a.pauses)})["catch"](function(a){f.show(a.message,"danger")})}var p={controller:"realtime",offset:0,limit:10};a.moment=moment,a.initAgents=function(){a.gridOptions={enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,showTreeExpandNoChildren:!0,columnDefs:[{name:"name",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.name}} <{{row.entity.internal}}>
"},{name:"online",displayName:"APPLICATION_ONLINE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
({{hhours}}:{{mminutes}}:{{sseconds}})
',filter:{type:l.filter.SELECT,selectOptions:[{value:"true",label:"ONLINE"},{value:"false",label:"OFFLINE"}]}},{name:"pauseStatus",displayName:"APPLICATION_PAUSE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
[{{row.entity.pauseType}}] [{{hhours}}:{{mminutes}}:{{sseconds}}]
'},{name:"voicePause",displayName:"APPLICATION_VOICE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',filter:{type:l.filter.SELECT,selectOptions:[{value:"true",label:d.instant("APPLICATION_PAUSED")},{value:"connect",label:d.instant("APPLICATION_NOT_PAUSED")}]},enableSorting:!1,enableColumnMenu:!1},{name:"mailPause",displayName:"APPLICATION_MAIL",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',filter:{type:l.filter.SELECT,selectOptions:[{value:"true",label:d.instant("APPLICATION_PAUSED")},{value:"connect",label:d.instant("APPLICATION_NOT_PAUSED")}]},enableSorting:!1,enableColumnMenu:!1},{name:"chatPause",displayName:"APPLICATION_CHAT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',filter:{type:l.filter.SELECT,selectOptions:[{value:"true",label:d.instant("APPLICATION_PAUSED")},{value:"connect",label:d.instant("APPLICATION_NOT_PAUSED")}]},enableSorting:!1,enableColumnMenu:!1},{name:"faxPause",displayName:"APPLICATION_FAX",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',filter:{type:l.filter.SELECT,selectOptions:[{value:"true",label:d.instant("APPLICATION_PAUSED")},{value:"connect",label:d.instant("APPLICATION_NOT_PAUSED")}]},enableSorting:!1,enableColumnMenu:!1},{name:"smsPause",displayName:"APPLICATION_SMS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',filter:{type:l.filter.SELECT,selectOptions:[{value:"true",label:d.instant("APPLICATION_PAUSED")},{value:"connect",label:d.instant("APPLICATION_NOT_PAUSED")}]},enableSorting:!1,enableColumnMenu:!1}],data:[],gridMenuTitleFilter:function(a){var b=k.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){q(a.gridApi.core.getVisibleRows(a.gridApi.grid).length)}),a.gridApi.core.on.sortChanged(a,function(a,b){0===b.length?p.order=null:p.order=b[0].name+" "+b[0].sort.direction.toUpperCase(),m()}),a.gridApi.pagination.on.paginationChanged(a,function(a,b){p.offset=(a-1)*b,p.limit=b,m()}),a.gridApi.core.on.filterChanged(a,function(){var a=this.grid;a.columns.forEach(function(a){a.filters[0].term?p[a.name]=a.filters[0].term:delete p[a.name]}),m()})}},m(!0),o()};var q=function(a){var b=a?30*a+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("agent")}),a.pause=function(b,c,e,g){return e&&(a.pauseType=null),i.save({name:c,agent:b,type:e||"DEFAULT PAUSE",data4:e||"DEFAULT PAUSE",channel:g||"all"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(d.instant(a.message||a.data.message||a.translatedMessage||a.data.translatedMessage),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.realtime.view.agents",{url:"/agents",templateUrl:"app/channels/realtime/view/agent/agent.html",controller:"RealtimeViewAgentCtrl"})}]),angular.module("xCallyShuttleApp").controller("RealtimeViewAgentInfoModalCtrl",["$scope","$uibModalInstance","$http","agent",function(a,b,c,d){a.agent=d,a.close=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("RealtimeViewAgentQueueModalCtrl",["$scope","$uibModalInstance","$http","queues",function(a,b,c,d){a.queues=d,a.item={},a.save=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("RealtimeViewCtrl",["$scope",function(a){}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.realtime.view",{url:"/view",templateUrl:"app/channels/realtime/view/view.html",controller:"RealtimeViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}})}]),angular.module("xCallyShuttleApp").factory("ReportCall",["$resource",function(a){return a("/api/report/calls/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("SmsAccount",["$resource",function(a){return a("/api/sms/accounts/:accountId/:controller/:id",{id:"@accountId"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.accounts",{url:"/accounts",template:"
",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:11}}})}]),angular.module("xCallyShuttleApp").controller("SmsAccountListCtrl",["$scope","SmsAccount","gridOptions","$stateParams","xAlert","$translate",function(a,b,c,d,e,f){a.message="Hello",a.initView=function(){var e={exporterCsvFilename:"sms_accounts.csv",columnDefs:[{name:"id",displayName:"ID",cellClass:"text-center",width:75,enableSorting:!1,enableFiltering:!1},{name:"name"},{name:"description"},{name:"type",displayName:"APPLICATION_ACCOUNT_TYPE"},{name:"action",buttons:[{"class":"blue-hoki",href:"/channels/sms/accounts/view/{{row.entity.id}}/settings",name:"profile"},{"class":"green-jungle",name:"check",displayName:"APPLICATION_CHECK",onClick:"grid.appScope.checkAccount(row.entity.id)"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,e,a,{accountId:d.accountId})},a.checkAccount=function(a){return b.get({accountId:a,controller:"check"}).$promise.then(function(){e.show(f.instant("MESSAGE_ACCOUNT_VERIFIED"),"success")})["catch"](function(a){e.show(f.instant("MESSAGE_ACCOUNT_INVALID"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.accounts.list",{url:"/list",templateUrl:"app/channels/sms/account/list/list.html",controller:"SmsAccountListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.accounts.view.action",{url:"/actions",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("SmsApplication",["$resource",function(a){return a("/api/sms/applications/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("SmsAccountViewActionListCtrl",["$scope","gridOptions","SmsAccount","$http","$translate","$stateParams","xAlert",function(a,b,c,d,e,f,g){console.log("SmsAccountViewActionListCtrl"),c.get({accountId:f.accountId,controller:"applications"}).$promise.then(function(a){console.log("apps",a)})["catch"](function(a){g.show(a.message,"danger")}),a.initActions=function(){var d={draggable:!0,exporterCsvFilename:"sms_applications.csv",enableSorting:!1,enableFiltering:!1,columnDefs:[{name:"app",cellClass:"text-center"},{name:"name",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.SmsQueue ? row.entity.SmsQueue.name : row.entity.User.name}}
"},{name:"timeout",cellClass:"text-center"},{name:"interval",cellClass:"text-center"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/channels/sms/accounts/view/{{row.entity.SmsAccountId}}/actions/view/{{row.entity.id}}",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.app, row.entity.id)"}]}]};a.gridOptions=b.gridOptions(c,d,a,{accountId:f.accountId,controller:"applications"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.accounts.view.action.list",{url:"/list",templateUrl:"app/channels/sms/account/view/action/list/list.html",controller:"SmsAccountViewActionListCtrl"})}]),angular.module("xCallyShuttleApp").controller("SmsAccountViewActionViewCtrl",["$scope","$http","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval","Agent","Interval","SmsQueue","SmsApplication",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initAction=function(){a.$application=i.application,a.$stateParams=c,a.$interval=j.interval,a.forms={},a.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"}],b.get("/api/sms/applications/"+c.actionId).success(function(b){if(a.application=b,a.application.alwaysTime=!1,a.application.IntervalId)a.application.intType="list";else switch(a.application.interval){case"*,*,*,*":a.application.intType="always";break;default:a.application.intType="custom"}var c=a.application.interval.split(",");"*"===c[0]?a.application.alwaysTime=!0:(a.application.t_from=moment(new Date),a.application.t_to=moment(new Date),a.application.t_from.hour(c[0].split("-")[0].split(":")[0]),a.application.t_from.minute(c[0].split("-")[0].split(":")[1]),a.application.t_to.hour(c[0].split("-")[1].split(":")[0]),a.application.t_to.minute(c[0].split("-")[1].split(":")[1])),"*"===c[1]?(a.application.wd_from="always",a.application.wd_to="always"):(a.application.wd_from=c[1].split("-")[0],a.application.wd_to=c[1].split("-")[1]),"*"===c[2]?(a.application.md_from="always",a.application.md_to="always"):(a.application.md_from=c[2].split("-")[0],a.application.md_to=c[2].split("-")[1]),"*"===c[3]?(a.application.m_from="always",a.application.m_to="always"):(a.application.m_from=c[3].split("-")[0],a.application.m_to=c[3].split("-")[1]),a.$watch("application.t_from",function(b){a.application.t_from_hm=moment(b).format("HH:mm")}),a.$watch("application.t_to",function(b){a.application.t_to_hm=moment(b).format("HH:mm")})}).error(function(a){console.error(a)})},a.getQueues=function(){return m.get().$promise.then(function(b){a.queues=b.rows})["catch"](function(a){console.error(a)})},a.getAgents=function(){return k.get().$promise.then(function(b){a.agents=b.rows})["catch"](function(a){console.error(a)})},a.getIntervals=function(){return l.get().$promise.then(function(b){a.intervals=b.rows})["catch"](function(a){console.error(a)})},a.updateItem=function(){var b=["*","*","*","*"],g={app:a.application.app,timeout:a.application.timeout,SmsAccountId:c.id};switch(a.application.app){case"agent":g.UserId=a.application.UserId;break;case"queue":g.SmsQueueId=a.application.SmsQueueId}switch(a.application.intType){case"always":g.interval=b.join(","),delete a.application.IntervalId;break;case"custom":a.application.alwaysTime||(b[0]=a.application.alwaysTime?"*":a.application.t_from_hm+"-"+a.application.t_to_hm),a.application.wd_from&&a.application.wd_to&&"always"===a.application.wd_from&&"always"===a.application.wd_to?b[1]="*":b[1]=a.application.wd_from&&a.application.wd_to?a.application.wd_from+"-"+a.application.wd_to:"*",a.application.md_from&&a.application.md_to&&"always"===a.application.md_from&&"always"===a.application.md_to?b[2]="*":b[2]=a.application.md_from&&a.application.md_to?a.application.md_from+"-"+a.application.md_to:"*",a.application.m_from&&a.application.m_to&&"always"===a.application.m_from&&"always"===a.application.m_to?b[3]="*":b[3]=a.application.m_from&&a.application.m_to?a.application.m_from+"-"+a.application.m_to:"*",g.interval=b.join(","),delete a.application.IntervalId;break;case"list":g.IntervalId=a.application.IntervalId}return n.update({id:c.actionId},g).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success"),e.path("/channels/sms/accounts/view/"+c.accountId+"/actions/list")})["catch"](function(a){f.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.accounts.view.action.view",{url:"/view/:actionId",templateUrl:"app/channels/sms/account/view/action/view/view.html",controller:"SmsAccountViewActionViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("SmsAccountViewActionWizardCtrl",["$scope","$http","Agent","SmsQueue","Interval","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval","SmsApplication",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initWizard=function(){a.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"}],a.$application=l.application,a.$stateParams=f,a.$interval=m.interval,a.forms={},a.application={alwaysTime:!0},a.$watch("application.t_from",function(b){a.application.t_from_hm=moment(b).format("HH:mm")}),a.$watch("application.t_to",function(b){a.application.t_to_hm=moment(b).format("HH:mm")})},a.getQueues=function(){return d.get().$promise.then(function(b){console.log(b),a.queues=b.rows})["catch"](function(a){console.error(a)})},a.getAgents=function(){return c.get().$promise.then(function(b){a.agents=b.rows})["catch"](function(a){console.error(a)})},a.getIntervals=function(){return e.get().$promise.then(function(b){a.intervals=b.rows})["catch"](function(a){console.error(a)})},a.createItem=function(){var b=["*","*","*","*"];console.log(a.application);var c={app:a.application.app,timeout:a.application.timeout,SmsAccountId:f.accountId};switch(a.application.app){case"agent":c.UserId=a.application.UserId;break;case"queue":c.SmsQueueId=a.application.SmsQueueId}switch(a.application.intType){case"always":c.interval=b.join(","),delete a.application.IntervalId;break;case"custom":a.application.alwaysTime||(b[0]=a.application.alwaysTime?"*":a.application.t_from_hm+"-"+a.application.t_to_hm),a.application.wd_from&&a.application.wd_to&&"always"===a.application.wd_from&&"always"===a.application.wd_to?b[1]="*":b[1]=a.application.wd_from&&a.application.wd_to?a.application.wd_from+"-"+a.application.wd_to:"*",a.application.md_from&&a.application.md_to&&"always"===a.application.md_from&&"always"===a.application.md_to?b[2]="*":b[2]=a.application.md_from&&a.application.md_to?a.application.md_from+"-"+a.application.md_to:"*",a.application.m_from&&a.application.m_to&&"always"===a.application.m_from&&"always"===a.application.m_to?b[3]="*":b[3]=a.application.m_from&&a.application.m_to?a.application.m_from+"-"+a.application.m_to:"*",c.interval=b.join(","),delete a.application.IntervalId;break;case"list":c.IntervalId=a.application.IntervalId}return console.log(c),n.save(c).$promise.then(function(){h.path("/channels/sms/accounts/view/"+f.accountId+"/actions/list")})["catch"](function(a){i.show(a.data.message,"danger")})},a.formValidation=function(a){return a},a.next=function(){j.wizard().next()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.accounts.view.action.wizard",{url:"/wizard",templateUrl:"app/channels/sms/account/view/action/wizard/wizard.html",controller:"SmsAccountViewActionWizardCtrl"})}]),angular.module("xCallyShuttleApp").factory("SmsDisposition",["$resource",function(a){return a("/api/sms/dispositions/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("SmsInboxViewModaDispositionAddCtrl",["$scope","$uibModalInstance","SmsAccount","id",function(a,b,c,d){a.ok=function(){return c.save({accountId:d,controller:"dispositions"},{name:a.name}).$promise.then(function(a){b.close(a)})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("SmsAccountDispositionViewCtrl",["$scope","$stateParams","$uibModal","$translate","SmsAccount","xAlert",function(a,b,c,d,e,f){a.initView=function(){return e.get({accountId:b.accountId,controller:"dispositions"}).$promise.then(function(b){a.dispositions=b.rows})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.updateDisposition=function(a,c){return e.update({accountId:b.accountId,controller:"dispositions",id:a},{name:c}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.deleteDisposition=function(c){return console.log("delete"),e.remove({accountId:b.accountId,controller:"dispositions",id:c}).$promise.then(function(){_.remove(a.dispositions,{id:c})})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.addDisposition=function(){return c.open({animation:!0,templateUrl:"app/channels/sms/account/view/disposition/modal/add.modal.html",controller:"SmsInboxViewModaDispositionAddCtrl",resolve:{id:function(){return b.accountId}}}).result.then(function(b){b&&a.dispositions.push(b)})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.accounts.view.dispositions",{url:"/dispositions",controller:"SmsAccountDispositionViewCtrl",templateUrl:"app/channels/sms/account/view/disposition/view/view.html"})}]),angular.module("xCallyShuttleApp").controller("SmsAccountViewCtrl",["$scope","SmsAccount","$http","$stateParams","clipboard","$translate","$location","xAlert","List",function(a,b,c,d,e,f,g,h,i){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.CONST_TIMEOUT=3e4,a.copyToClipboard=function(a){e.copyText(a),h.show(f.instant("MESSAGE_TEXT_COPIED_CLIPBOARD")+"!","success")},a.initView=function(){return a.account={},i.get().$promise.then(function(b){a.lists=b.rows})["catch"](function(a){console.error(a)}),b.get({id:d.accountId}).$promise.then(function(b){a.account=b,console.log(b)})["catch"](function(a){h.show(a.message,"danger")})},a.$watch("account.remote",function(){a.deliveryurl=a.account.remote+"/api/sms/accounts/"+a.account.id+"/messageStatus",a.receiveurl=a.account.remote+"/api/sms/accounts/"+a.account.id+"/receive"}),a.updateItemSmsAccount=function(){return b.update({id:d.accountId},a.account).$promise.then(function(){h.show(f.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.accounts.view",{url:"/view/:accountId",templateUrl:"app/channels/sms/account/view/view.html",controller:"SmsAccountViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]})}]}}).state("main.channels.sms.accounts.view.settings",{url:"/settings",templateUrl:"app/channels/sms/account/view/view.settings.html",controller:"SmsAccountViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("SmsAccountWizardCtrl",["$scope","$http","$location","$translate","WizardHandler","xAlert","SmsAccount",function(a,b,c,d,e,f,g){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initWizard=function(){a.forms={},a.item={}},a.goNext=function(){e.wizard().next()},a.formValidation=function(a){return a},a.createItem=function(){return console.log(a.item),g.save(a.item).$promise.then(function(){c.path("/channels/sms/accounts/list")})["catch"](function(a){f.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.accounts.wizard",{url:"/wizard",templateUrl:"app/channels/sms/account/wizard/wizard.html",controller:"SmsAccountWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.inbox",{url:"/inbox",template:"
",data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:11}}})}]),angular.module("xCallyShuttleApp").directive("smsRoom",["$cookieStore","$translate","$uibModal","$timeout","Tag","CannedAnswer","SmsAccount","SmsRoom","SmsMessage","xAlert","usSpinnerService","socket","$stateParams",function(a,b,c,d,e,f,g,h,i,j,k,l,m){return{restrict:"E",scope:{workspace:"=",index:"=",submit:"&onSubmit"},templateUrl:"app/channels/sms/inbox/room/room.directive.html",link:function(a){a.modelOptions={debounce:{"default":500,blur:250},getterSetter:!0},a.panelLeft=null,a.panelRight="col-md-12",a.togglePanelLeft=function(){a.panelLeft?(a.panelLeft=null,a.panelRight="col-md-12"):(a.panelLeft="col-md-6",a.panelRight="col-md-6")},a.form={disabled:!1,from:[],to:"",body:""},l.socket.on("sms_message:save",function(b){a.workspace.id&&b.SmsRoomId==a.workspace.id&&a.SmsRoom.SmsMessages.unshift(b)}),l.socket.on("sms_message:update",function(b){if(a.SmsRoom&&b.SmsRoomId==a.workspace.id){var c=_.find(a.SmsRoom.SmsMessages,{id:b.id});c&&_.merge(c,b)}}),l.socket.on("sms_room:update",function(b){a.SmsRoom&&b.id==a.workspace.id&&(a.SmsRoom.status=b.status)}),a.closeRoom=function(b){return c.open({animation:!0,templateUrl:"app/channels/sms/inbox/view/view.status.modal.html",controller:"SmsInboxViewModalStatusCtrl",resolve:{closed:function(){return"CLOSED"===a.SmsRoom.status},accountId:function(){return a.SmsRoom.SmsAccountId}}}).result.then(function(a){var c={id:b,status:"CLOSED"};return a.disposition&&(c.disposition=a.disposition),h.update(c).$promise["catch"](function(a){j.show(a.data.message,"danger")})})},e.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)}),g.get().$promise.then(function(b){a.smsAccounts=b.rows})["catch"](function(a){console.error(a)}),a.workspace.id?(a.panelLeft="col-md-6",a.panelRight="col-md-6",h.get({id:a.workspace.id}).$promise.then(function(b){a.SmsRoom=b,a.form.from[0]=a.SmsRoom.SmsAccount.phone,a.form.to=a.SmsRoom.from,a.form.tags=b.tags})["catch"](function(a){console.error(a)})["finally"](function(){k.stop("spinner-grid"),a.form.disabled=!1})):k.stop("spinner-grid"),a.onSelect=function(){a.form.body=a.modelOptions.selectedAnswer,delete a.modelOptions.selectedAnswer},a.onSelectAnswer=function(b){a.form.body+=b,a.selectedAnswer=""},a.getAnswers=function(a){return f.get({key:a}).$promise.then(function(a){return _.map(a.rows,"value")})},a.loadAgents=function(){c.open({animation:!0,templateUrl:"app/channels/sms/inbox/view/view.agents.modal.html",controller:"SmsInboxViewModalAgentCtrl",resolve:{roomId:function(){return a.workspace.id}}})},a.onChanged=function(){return h.update({id:a.workspace.id},{tags:a.form.tags}).$promise["catch"](function(a){console.error(a)})},a.cancel=function(){a.forms.compose.$setPristine(),a.form.body=""},a.sendSMS=function(){k.spin("spinner-grid");var c=_.find(a.smsAccounts,{phone:a.form.from[0]}).id;if(c){var d={from:a.form.from[0],to:a.form.to,body:a.form.body};return g.save({accountId:c,controller:"send"},d).$promise.then(function(b){return a.SmsRoom?(a.forms.compose.$setPristine(),void(a.form.body="")):h.get({id:b.SmsRoomId}).$promise}).then(function(b){b&&(a.forms.compose.$setPristine(),a.form.body="",a.workspace.id=b.id,a.workspace.name=b.from,a.SmsRoom=b,a.panelLeft="col-md-6",a.panelRight="col-md-6")})["catch"](function(){j.show(b.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})["finally"](function(){k.stop("spinner-grid")})}}}}}]),angular.module("xCallyShuttleApp").directive("sms",function(){return{templateUrl:"app/channels/sms/inbox/sms/sms.html",restrict:"EA",scope:{smsMessage:"=message",accounttype:"=accounttype"}}}),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.inbox.view.account",{url:"/account/:id",template:"
","abstract":!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:11}}})}]),angular.module("xCallyShuttleApp").controller("SmsInboxViewAccountListCtrl",["$scope","$rootScope","$uibModal","$translate","$stateParams","$state","Tag","usSpinnerService","socket","SmsAccount","SmsRoom","gridOptions","uiGridConstants","Auth","Modal","xAlert",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){a.loadAgents=function(a){c.open({animation:!0,templateUrl:"app/channels/sms/inbox/view/view.agents.modal.html",controller:"SmsInboxViewModalAgentCtrl",resolve:{roomId:a}})},a.initView=function(){a.id=[],a.isAdmin=n.isAdmin(),a.isAgent=n.isAgent(),a.uncheckable=!1,a.query={status:"UNMANAGED",tags:[]},a.$watch("query.status",function(){a.getPage(a.query)},!0),g.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)}),a.gridOptions={exporterCsvFilename:"sms_rooms.csv",enableRowHeaderSelection:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,enableFiltering:!0,enableSorting:!0,enableGridMenu:!1,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,enableSelectAll:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,columnDefs:[{name:"id",displayName:"",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
#{{row.entity.id}}
",width:75,enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"from",cellClass:"text-center"},{name:"updatedAt",cellFilter:"date:'MM/dd/yyyy HH:mm'",width:120,enableSorting:!1,enableFiltering:!1,sort:{direction:m.DESC}},{name:"action",cellTemplate:'
',enableSorting:!1, -cellClass:"ui-grid-vcenter",width:90,enableFiltering:!1,enableColumnMenu:!1}],data:[],onRegisterApi:function(b){a.gridApi=b,a.gridApi.selection&&(a.gridApi.selection.on.rowSelectionChanged(a,function(b){b.isSelected?a.id.push(a.gridApi.grid.options.primaryKey?b.entity[a.gridApi.grid.options.primaryKey]:b.entity.id):_.pull(a.id,a.gridApi.grid.options.primaryKey?b.entity[a.gridApi.grid.options.primaryKey]:b.entity.id)}),a.gridApi.selection.on.rowSelectionChangedBatch(a,function(b){b[0].isSelected?a.id=_.union(a.id,_.map(b,a.gridApi.grid.options.primaryKey?"entity."+a.gridApi.grid.options.primaryKey:"entity.id")):_.map(b,a.gridApi.grid.options.primaryKey?"entity."+a.gridApi.grid.options.primaryKey:"entity.id").forEach(function(b){_.pull(a.id,b)})}))}},i.socket.on("sms_room:remove",function(b){_.remove(a.gridOptions.data,{id:b.id})}),a.getPage(a.query)},a.onChanged=function(){a.getPage(a.query)},a.tagItems=function(){c.open({animation:!0,templateUrl:"app/channels/sms/inbox/view/view.tags.modal.html",controller:"SmsInboxViewModalTagCtrl",resolve:{id:function(){return a.id}}}).result.then(function(){a.gridApi.selection.clearSelectedRows(),a.id=[]})},a.openRoom=function(b,c){var d=_.find(a.workspaces,{id:b,type:"smsRoom"});d?d.active=!0:a.workspaces.push({id:b,name:c,type:"smsRoom","class":"glyphicon glyphicon-comment",active:!0})},a.getPage=function(b){h.spin("spinner-grid");var c={accountId:e.id,controller:"rooms"};return b&&_.merge(c,b),a.query&&_.merge(c,a.query),j.query(c).$promise.then(function(b){a.gridOptions.data=b})["catch"](function(a){console.error(a)})["finally"](function(){h.stop("spinner-grid")})},a.deleteItem=o.confirm["delete"](function(b){var c={id:b};return console.log(c),k["delete"](c).$promise.then(function(){a.getPage(),p.show(d.instant("MESSAGE_WELL_DONE")+"!","success"),a.gridApi.selection.clearSelectedRows(),a.id=[]})["catch"](function(a){p.show(a.message?a.message:a.data.message,"danger")})}),a.deleteItems=o.confirm["delete"](function(){var b={ids:a.id};return k["delete"](b).$promise.then(function(){a.getPage(),p.show(d.instant("MESSAGE_WELL_DONE")+"!","success"),a.gridApi.selection.clearSelectedRows(),a.id=[]})["catch"](function(a){p.show(a.message?a.message:a.data.message,"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.inbox.view.account.list",{url:"/list",templateUrl:"app/channels/sms/inbox/view/account/list/list.html",controller:"SmsInboxViewAccountListCtrl",data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:11}}})}]),angular.module("xCallyShuttleApp").controller("SmsInboxViewModalAgentCtrl",["$scope","$uibModalInstance","$translate","$stateParams","Agent","SmsRoom","xAlert","roomId",function(a,b,c,d,e,f,g,h){a.initModal=function(){a.agents=[],a.item={agents:[]},e.get().$promise.then(function(b){b.rows.forEach(function(b){a.agents.push(b)})})["catch"](function(a){console.error(a)}),f.query({id:h,controller:"agents"}).$promise.then(function(b){b.forEach(function(b){a.agents.push(b),a.item.agents.push(b.id)})})["catch"](function(a){console.error(a)}),a.modal={dismissable:!0,title:"APPLICATION_MESSAGE_SEND_RETRY",text:"MESSAGE_MESSAGE_SEND_RETRY",buttons:[{classes:"btn btn-success",text:"APPLICATION_RETRY",click:function(a){b.close(a)}},{classes:"btn default",text:"APPLICATION_CANCEL",click:function(a){b.dismiss(a)}}]}},a.ok=function(){return f.update({id:h,controller:"agents",agents:a.item.agents}).$promise.then(function(){g.show(c.instant("MESSAGE_WELL_DONE"),"success"),b.close()})["catch"](function(a){console.error(a)})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("SmsInboxViewCtrl",["$scope","$location","$stateParams","$translate","$uibModal","socket","Auth","xAlert","SmsRoom","SmsAccount",function(a,b,c,d,e,f,g,h,i,j){a.initView=function(){j.get().$promise.then(function(c){var d=null;a.smsAccounts=c.rows,a.smsAccounts.length&&(d="/channels/sms/inbox/view/account/"+a.smsAccounts[0].id+"/list"),d&&b.path(d)})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.inbox.view",{url:"/view",templateUrl:"app/channels/sms/inbox/view/view.html",controller:"SmsInboxViewCtrl",reload:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/inbox.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("SmsInboxViewModalStatusCtrl",["$scope","$uibModalInstance","closed","SmsAccount","accountId",function(a,b,c,d,e){a.modal={title:"APPLICATION_CONFIRM_CLOSE",text:"MESSAGE_ARE_YOU_SURE_YOU_WANT_TO_CLOSE_THE_SMS"},a.initDisposition=function(){return d.get({accountId:e,controller:"dispositions"}).$promise.then(function(b){a.dispositions=b.rows})["catch"](function(a){console.error(a)})},a.item={},a.closed=c,a.ok=function(){b.close(a.item)},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").controller("SmsInboxViewModalTagCtrl",["$scope","$uibModalInstance","$translate","$stateParams","Tag","SmsRoom","xAlert","id",function(a,b,c,d,e,f,g,h){console.log(h),a.initModal=function(){return a.tags=[],a.item={tags:[]},a.modal={dismissable:!0,title:"APPLICATION_MESSAGE_SEND_RETRY",text:"MESSAGE_MESSAGE_SEND_RETRY",buttons:[{"class":"btn-success",text:"APPLICATION_TAG",click:function(){var d={status:!0};return f.patch({id:h},{tags:a.item.tags}).$promise["catch"](function(){d.status=!1,g.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})["finally"](function(){b.close(d)})}},{"class":"default",text:"APPLICATION_CANCEL",click:function(a){b.dismiss(a)}}]},e.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").controller("SmsInboxViewModalTemplateCtrl",["$scope","$uibModalInstance","Template",function(a,b,c){a.initModal=function(){return a.item={},c.get().$promise.then(function(b){a.templates=b.rows})["catch"](function(a){console.error(a)})},a.ok=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("SmsQueueListCtrl",["$scope","SmsQueue","gridOptions","$uibModal","xAlert","Auth",function(a,b,c,d,e,f){a.initView=function(){a.Auth=f;var d={exporterCsvFilename:"voice_queues.csv",columnDefs:[{name:"name"},{name:"description"},{name:"timeout"},{name:"strategy"},{name:"action",width:200,buttons:[{"class":"blue-hoki",href:"/channels/sms/queues/view/{{row.entity.id}}/settings",name:"settings"},{"class":"green-meadow",href:"/channels/sms/queues/view/{{row.entity.id}}/agents",name:"agents",hide:"user"===f.getCurrentUser().role},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,d,a)},a.createItem=function(){var b=d.open({animation:!0,templateUrl:"app/channels/sms/queue/list/list.create.modal.html",controller:"SmsQueueListCreateCtrl"});b.result.then(function(b){console.log(b),a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("SmsQueueListCreateCtrl",["$scope","$uibModalInstance","$translate","xAlert","SmsQueue",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return console.log(a.item),e.save(a.item).$promise.then(function(a){b.close(a)})["catch"](function(a){d.show(a.data.message,"danger")})},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.queues.list",{url:"/list",templateUrl:"app/channels/sms/queue/list/list.html",controller:"SmsQueueListCtrl"})}]),angular.module("xCallyShuttleApp").factory("SmsQueue",["$resource",function(a){return a("/api/sms/queues/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.queues",{url:"/queues",template:"
",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:11}}})}]),angular.module("xCallyShuttleApp").controller("SmsQueueViewCtrl",["$scope","$http","$translate","$stateParams","xAlert","Team","SmsQueue",function(a,b,c,d,e,f,g){var h=function(){return{select:function(b){return g.save({id:a.queue.id,controller:"agents"},{agents:b,penalty:a.queue.penalty}).$promise.then(function(b){console.log("sel",b),a.getTeams()})["catch"](function(a){console.error(a)})},deselect:function(b){return g["delete"]({id:a.queue.id,controller:"agents",agents:b}).$promise.then(function(b){console.log("desel",b),a.getTeams()})["catch"](function(a){console.error(a)})}}};a.getQueue=function(){return g.get({id:d.id}).$promise.then(function(b){b.penalty=0,a.queue=b})["catch"](function(a){console.error(a)})},a.updateSmsQueue=function(){return g.update({id:d.id},{name:a.queue.name,description:a.queue.description,timeout:a.queue.timeout,strategy:a.queue.strategy}).$promise.then(function(){e.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){e.show(a.data.message,"danger")})},a.getTeams=function(){return f.get({controller:"associations"}).$promise.then(function(b){return a.teams=b.rows,console.log(b.rows),g.get({id:d.id,controller:"agents"}).$promise}).then(function(b){console.log(b),ComponentsDropdowns.bindSmsQueue(a.teams,_.map(b.rows,function(a){return{id:a.id,penalty:a.UserHasSmsQueue.penalty}}),h)})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.queues.view",{url:"/view/:id",templateUrl:"app/channels/sms/queue/view/view.html",controller:"SmsQueueViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.sms.queues.view.settings",{url:"/settings",templateUrl:"app/channels/sms/queue/view/view.settings.html"}).state("main.channels.sms.queues.view.agents",{url:"/agents",templateUrl:"app/channels/sms/queue/view/view.agents.html",cache:!1,serie:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.realtime",{url:"/realtime",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:11}}})}]),angular.module("xCallyShuttleApp").controller("SmsRealtimeViewAgentCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","Agent","Pause","Action","SmsQueue","usSpinnerService","$q","uiGridConstants",function(a,b,c,d,e,f,g,h,i,j,k,l,m){function n(){return k.spin("spinner-grid"),g.get(s).$promise.then(function(b){a.gridOptions.totalItems=b.count,a.gridOptions.data=[],b.rows.forEach(function(a){p(a)})})["catch"](function(a){f.error(a)})["finally"](function(){k.stop("spinner-grid")})}function o(){e.socket.on("agent:save",function(b){var c=_.find(a.gridOptions.data,{agentId:b.id,isAgent:!0});c&&(c.online=b.online,c.lastLoginAt=b.lastLoginAt,c.pause=b.smsPause,c.pauseType=b.pauseType,c.lastPauseAt=b.lastPauseAt,c.ipaddr=b.ipaddr,c.port=b.port,c.fullcontact=b.fullcontact,c.useragent=b.useragent,c.lastms=b.lastms,c.internal=b.internal,_.map(a.gridOptions.data,function(a){a.isAgent||a.agentId!==b.id||(a.online=b.online)}))}),e.socket.on("agent:remove",function(b){_.remove(a.gridOptions.data,{agentId:b.id})}),e.socket.on("user_has_sms_queue:save",function(b){console.log("new queue",b);var c=_.find(a.gridOptions.data,{agentId:b.UserId,isAgent:!0}),d=a.gridOptions.data.indexOf(c);a.gridOptions.data.splice(d+1,0,{isAgent:!1,agentId:b.UserId,queue:b.queue,queueId:b.SmsQueueId,agent:b.membername,online:c.online})}),e.socket.on("user_has_sms_queue:remove",function(b){_.remove(a.gridOptions.data,{agentId:b.UserId,queueId:b.SmsQueueId})})}function p(b){a.gridOptions.data.push({isAgent:!0,agentId:b.id,agent:b.name,online:b.online,lastLoginAt:b.lastLoginAt,lastPauseAt:b.lastPauseAt,pause:b.smsPause,pauseType:b.pauseType,ipaddr:b.ipaddr,port:b.port,fullcontact:b.fullcontact,useragent:b.useragent,lastms:b.lastms,internal:b.internal,$$treeLevel:0}),b.SmsQueues.forEach(function(c){a.gridOptions.data.push({isAgent:!1,agentId:b.id,queue:c.name,queueId:c.id,agent:b.name,online:b.online})})}function q(){return h.get().$promise.then(function(b){a.pauses=b.rows,e.syncUpdates("pause",a.pauses)})["catch"](function(a){f.error(a)})}function r(){return j.get().$promise.then(function(b){a.smsQueues=b.rows,e.syncUpdates("sms_queue",a.smsQueues)})["catch"](function(a){f.error(a)})}a.smsQueues=[];var s={controller:"realtime",controller1:"sms",offset:0,limit:10};a.moment=moment,a.initAgents=function(){a.gridOptions={enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,multiSelect:!0,showTreeExpandNoChildren:!0,columnDefs:[{name:"name",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{row.entity.agent}} <{{row.entity.internal}}>
'},{name:"online",displayName:"APPLICATION_ONLINE",width:150,headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
({{hhours}}:{{mminutes}}:{{sseconds}})
',filter:{type:m.filter.SELECT,selectOptions:[{value:"true",label:"ONLINE"},{value:"false",label:"OFFLINE"}]}},{name:"smsPause",displayName:"APPLICATION_PAUSE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
({{row.entity.pauseType}}){{hhours}}:{{mminutes}}:{{sseconds}}
',filter:{type:m.filter.SELECT,selectOptions:[{value:"true",label:"PAUSED"},{value:"false",label:"NOT PAUSED"}]},enableSorting:!1,enableColumnMenu:!1},{name:"queue",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"action",displayName:"",width:170,cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1}],data:[],gridMenuTitleFilter:function(a){var b=l.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){t(a.gridApi.core.getVisibleRows(a.gridApi.grid).length)}),a.gridApi.treeBase.on.rowExpanded(a,function(b){t(a.gridApi.core.getVisibleRows(a.gridApi.grid).length+b.treeNode.children.length)}),a.gridApi.treeBase.on.rowCollapsed(a,function(b){t(a.gridApi.core.getVisibleRows(a.gridApi.grid).length-b.treeNode.children.length)}),a.gridApi.core.on.sortChanged(a,function(a,b){0===b.length?s.order=null:s.order=b[0].name+" "+b[0].sort.direction.toUpperCase(),n()}),a.gridApi.pagination.on.paginationChanged(a,function(a,b){s.offset=(a-1)*b,s.limit=b,n()}),a.gridApi.core.on.filterChanged(a,function(){var a=this.grid;a.columns.forEach(function(a){a.filters[0].term?s[a.name]=a.filters[0].term:delete s[a.name]}),n()})}},n(),q(),r(),o()};var t=function(a){var b=a?30*a+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("agent"),e.unsyncUpdates("user_has_sms_queue")}),a.pause=function(b,c,e){return e&&(a.pauseType=null),i.save({name:c,agent:b,type:e||"DEFAULT PAUSE",data4:e||"DEFAULT PAUSE",channel:"sms"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.error(a)})},a.joinQueue=function(e){var g=c.open({animation:!0,templateUrl:"app/channels/sms/realtime/view/agent/queue.modal.add.html",controller:"SmsRealtimeViewAgentQueueModalCtrl",resolve:{queues:function(){return _.reject(a.smsQueues,function(b){return!!_.find(a.gridOptions.data,{queue:b.name,isAgent:!1,agentId:e})})}}});g.result.then(function(b){return i.save({name:"QueueAdd",agent:e,queues:_.filter(a.smsQueues,function(a){return _.includes(b.queues,a.id)}),channel:"sms",data1:e,data3:b.queues.join(","),data4:"sms"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.error(a)})},function(){b.info("Modal dismissed at: "+new Date)})},a.leaveQueue=function(a,b){return i.save({name:"QueueRemove",agent:a,queueId:b,channel:"sms",data1:a,data3:b,data4:"sms"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.error(a)})},a.showInfo=function(a){c.open({animation:!0,templateUrl:"app/channels/sms/realtime/view/agent/agent.modal.info.html",controller:"SmsRealtimeViewAgentInfoModalCtrl",resolve:{agent:a}})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.realtime.view.agents",{url:"/agents",templateUrl:"app/channels/sms/realtime/view/agent/agent.html",controller:"SmsRealtimeViewAgentCtrl"})}]),angular.module("xCallyShuttleApp").controller("SmsRealtimeViewAgentInfoModalCtrl",["$scope","$uibModalInstance","$http","agent",function(a,b,c,d){a.agent=d,a.close=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("SmsRealtimeViewAgentQueueModalCtrl",["$scope","$uibModalInstance","$http","queues",function(a,b,c,d){a.queues=d,a.item={},a.save=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("SmsRealtimeViewApplicationCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","ReportSmsSession","usSpinnerService","$q","uiGridConstants","$timeout",function(a,b,c,d,e,f,g,h,i,j,k){function l(){return h.spin("spinner-grid"),g.get({controller:"waiting",controller2:"applications"}).$promise.then(function(b){a.gridOptions.data=b.rows})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){m(),h.stop("spinner-grid")})}function m(){e.socket.on("report_sms_session:save",function(b){var c=_.find(a.gridOptions.data,{id:b.id});c?(_.merge(c,b),b.leaveAt&&k(function(){_.remove(a.gridOptions.data,{id:b.id})},1e4)):b.leaveAt||a.gridOptions.data.push(b)}),e.socket.on("report_sms_session:remove",function(b){_.remove(a.gridOptions.data,{id:b.id})})}a.moment=moment,a.initApplications=function(){a.gridOptions={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"uniqueid",displayName:"APPLICATION_UNIQUEID",headerCellFilter:"translate"},{name:"accountname",displayName:"APPLICATION_ACCOUNT",headerCellFilter:"translate"},{name:"application",displayName:"APPLICATION_APPLICATION",headerCellFilter:"translate"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}{{\'APPLICATION_UNMANAGED\' | translate}} [{{hhours}}:{{mminutes}}:{{sseconds}}]
',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"membername",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.membername || ''}}
"},{name:"queuename",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.queuename || ''}}
"}],data:[],gridMenuTitleFilter:function(a){var b=i.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){n(a.gridOptions.data.length)})}},l()};var n=function(a){var b=a?30*a+60:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("report_sms_session")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.realtime.view.applications",{url:"/applications",templateUrl:"app/channels/sms/realtime/view/application/application.html",controller:"SmsRealtimeViewApplicationCtrl"})}]),angular.module("xCallyShuttleApp").controller("SmsRealtimeViewCtrl",["$scope","$state",function(a,b){a.agents=[{name:"Queues",link:"main.channels.sms.realtime.view.agents.queues"},{name:"Timeline",link:"main.channels.sms.realtime.view.agents.timeline"}],a.sessions=[{name:"Sessions",link:"main.channels.sms.realtime.view.sessions"}],a.tree={queues:[{name:"Queues",link:"main.channels.sms.realtime.view.agents.queues"},{name:"Timeline",link:"main.channels.sms.realtime.view.agents.timeline"}],sessions:[{name:"Sessions",link:"main.channels.sms.realtime.view.sessions"}]}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.realtime.view",{url:"/view",templateUrl:"app/channels/sms/realtime/view/view.html",controller:"SmsRealtimeViewCtrl"})}]),angular.module("xCallyShuttleApp").factory("ReportSmsRoom",["$resource",function(a){return a("/api/report/sms/rooms/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ReportSmsSession",["$resource",function(a){return a("/api/report/sms/sessions/:id/:controller/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms",{url:"/sms",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("SmsQueue",["$resource",function(a){return a("/api/sms/queues/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("SmsReport",["$resource",function(a){return a("/api/report/sms/:id/:controller1/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("SmsMessage",["$resource",function(a){return a("/api/sms/messages/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("SmsRoom",["$resource",function(a){return a("/api/sms/rooms/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"},patch:{method:"PATCH"}})}]),angular.module("xCallyShuttleApp").factory("ChanSpy",["$resource",function(a){return a("/api/chanspy/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.chanspy",{url:"/chanspy",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ChanSpyListCtrl",["$scope","$uibModal","ChanSpy","gridOptions",function(a,b,c,d){a.initView=function(){var b={exporterCsvFilename:"chanspy.csv",columnDefs:[{name:"name"},{name:"prefix"},{name:"description"},{name:"action",width:160,buttons:[{"class":"blue-hoki",href:"/channels/voice/chanspy/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=d.gridOptions(c,b,a)},a.createItem=function(){var c=b.open({animation:!0,templateUrl:"app/channels/voice/chanspy/list/list.create.modal.html",controller:"ChanSpyListCreateCtrl"});c.result.then(function(b){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("ChanSpyListCreateCtrl",["$scope","$translate","$uibModalInstance","ChanSpy","xAlert",function(a,b,c,d,e){a.form={},a.item={},a.recordSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.options=[{name:"APPLICATION_CHANSPY_OPTION_b",value:"b"},{name:"APPLICATION_CHANSPY_OPTION_B",value:"B"},{name:"APPLICATION_CHANSPY_OPTION_E",value:"E"},{name:"APPLICATION_CHANSPY_OPTION_o",value:"o"},{name:"APPLICATION_CHANSPY_OPTION_q",value:"q"},{name:"APPLICATION_CHANSPY_OPTION_s",value:"s"},{name:"APPLICATION_CHANSPY_OPTION_S",value:"S"},{name:"APPLICATION_CHANSPY_OPTION_w",value:"w"},{name:"APPLICATION_CHANSPY_OPTION_W",value:"W"}],a.save=function(){return a.item.options=a.item.options.join(""),d.save(a.item).$promise.then(function(a){e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){e.show(a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.chanspy.list",{url:"/list",templateUrl:"app/channels/voice/chanspy/list/list.html",controller:"ChanSpyListCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChanSpyViewCtrl",["$scope","$translate","$stateParams","xAlert","ChanSpy",function(a,b,c,d,e){a.recordSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.options=[{name:"APPLICATION_CHANSPY_OPTION_b",value:"b"},{name:"APPLICATION_CHANSPY_OPTION_B",value:"B"},{name:"APPLICATION_CHANSPY_OPTION_E",value:"E"},{name:"APPLICATION_CHANSPY_OPTION_o",value:"o"},{name:"APPLICATION_CHANSPY_OPTION_q",value:"q"},{name:"APPLICATION_CHANSPY_OPTION_s",value:"s"},{name:"APPLICATION_CHANSPY_OPTION_S",value:"S"},{name:"APPLICATION_CHANSPY_OPTION_w",value:"w"},{name:"APPLICATION_CHANSPY_OPTION_W",value:"W"}],a.getChanSpy=function(){return e.get({id:c.id}).$promise.then(function(b){b.options=b.options.split(""),a.chanspy=b})["catch"](function(a){d.show(a.data.message,"danger")})},a.updateChanSpy=function(){var f=angular.copy(a.chanspy);return f.options=f.options.join(""),e.update({id:c.id},f).$promise.then(function(){d.show(b.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){d.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.chanspy.view",{url:"/view/:id",templateUrl:"app/channels/voice/chanspy/view/view.html",controller:"ChanSpyViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.voice.chanspy.view.settings",{url:"/settings",templateUrl:"app/channels/voice/chanspy/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").factory("VoiceContext",["$resource",function(a){return a("/api/voice/contexts/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.contexts",{url:"/contexts",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("VoiceContextListCtrl",["$scope","VoiceContext","gridOptions","$uibModal","xAlert","$translate",function(a,b,c,d,e,f){a.initView=function(){var d={exporterCsvFilename:"voice_contexts.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:170,buttons:[{"class":"{{row.entity.defaultEntry ? 'blue-hoki disabled' : 'blue-hoki'}}",href:"/channels/voice/contexts/view/{{row.entity.id}}/settings",name:"settings"},{"class":"{{row.entity.defaultEntry ? 'red-sunglo disabled' : 'red-sunglo'}}",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,d,a)},a.createItem=function(){var c=d.open({animation:!0,templateUrl:"app/channels/voice/context/list/create.modal.html",controller:["$scope","$uibModalInstance",function(a,b){a.form={},a.item={},a.ok=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]});c.result.then(function(c){return b.save(c).$promise.then(function(){a.gridOptions.getPage(),e.show(f.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){e.show(a.data.message,"danger")})})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.contexts.list",{url:"/list",templateUrl:"app/channels/voice/context/list/list.html",controller:"VoiceContextListCtrl"})}]),angular.module("xCallyShuttleApp").controller("VoiceContextViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","$location",function(a,b,c,d,e,f){a.getContext=function(){b.get("/api/voice/contexts/"+e.id).success(function(b){a.context=b}).error(function(a){console.error(a),f.path("/voice/contexts/list")})},a.updateVoiceContext=function(){var f=angular.copy(a.context);b.put("/api/voice/contexts/"+e.id,f).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(b){c.show(d.instant(b.message),"danger"),a.context=f})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.contexts.view",{url:"/view/:id",templateUrl:"app/channels/voice/context/view/view.html",controller:"VoiceContextViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.voice.contexts.view.settings",{ -url:"/settings",templateUrl:"app/channels/voice/context/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("VoiceMohListCtrl",["$scope","gridOptions","VoiceMoh","$uibModal","xAlert","$translate",function(a,b,c,d,e,f){a.initView=function(){var d={exporterCsvFilename:"voice_mohs.csv",columnDefs:[{name:"name"},{name:"directory"},{name:"sort"},{name:"description"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/channels/voice/mohs/view/{{row.entity.id}}/settings",name:"settings"},{"class":"{{row.entity.defaultEntry ? 'red-sunglo disabled' : 'red-sunglo'}}",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=b.gridOptions(c,d,a)},a.createItem=function(){var b=d.open({animation:!0,templateUrl:"app/channels/voice/moh/list/create.modal.html",controller:["$scope","$uibModalInstance",function(a,b){a.form={},a.item={},a.ok=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]});b.result.then(function(b){return c.save(b).$promise.then(function(){a.gridOptions.getPage(),e.show(f.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){e.show(a.data.message,"danger")})})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.mohs.list",{url:"/list",templateUrl:"app/channels/voice/moh/list/list.html",controller:"VoiceMohListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").factory("VoiceMoh",["$resource",function(a){return a("/api/voice/musiconholds/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.mohs",{url:"/mohs",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("VoiceMohViewCtrl",["$scope","$http","xAlert","$translate","VoiceMoh","$stateParams","socket","Modal","$sce","$location","Sound",function(a,b,c,d,e,f,g,h,i,j,k){a.$translate=d,a.audioSources={},a.sortOptions=[{value:"random",name:"APPLICATION_RANDOM"},{value:"alpha",name:"APPLICATION_ALPHABETICAL"}],a.getMoh=function(){return e.get({id:f.id}).$promise.then(function(b){delete b.stamp,a.moh=b})["catch"](function(a){c.show(a.message,"danger")})},a.updateVoiceMoh=function(){return console.log("update"),e.update({id:f.id},a.moh).$promise.then(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){c.show(a.message,"danger")})},a.addMohs=function(){return e.save({id:f.id,controller:"files"},a.item).$promise.then(function(){j.path("/channels/voice/mohs/view/"+f.id+"/audios")})["catch"](function(a){c.show(a.message,"danger")})},a.getAudioFiles=function(){return e.get({id:f.id,controller:"files"}).$promise.then(function(b){a.audioFiles=b.files,a.mohPath=b.path,a.audioFiles.forEach(function(a){l(a)})})["catch"](function(a){c.show(a.message,"danger")})},a.getSecureSrc=function(a){return i.trustAsResourceUrl(a)},a.getSounds=function(){return a.item={sounds:[]},k.get().$promise.then(function(b){a.soundList=b.rows})["catch"](function(a){c.show(a.message,"danger")})};var l=function(c){b.get("/api/voice/musiconholds/stream",{params:{path:encodeURI(a.mohPath+"/"+c)}}).success(function(b){a.audioSources[c]="data:audio/ogg;base64,"+b}).error(function(a){console.error(a)})};a.deleteItem=h.confirm["delete"](function(e){b["delete"]("/api/voice/musiconholds/"+f.id+"/files",{params:{filename:e}}).success(function(){_.remove(a.audioFiles,function(a){return a===e}),c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){c.show(a.message,"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.mohs.view",{url:"/view/:id",templateUrl:"app/channels/voice/moh/view/view.html",controller:"VoiceMohViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.voice.mohs.view.settings",{url:"/settings",templateUrl:"app/channels/voice/moh/view/view.settings.html"}).state("main.channels.voice.mohs.view.audios",{url:"/audios",templateUrl:"app/channels/voice/moh/view/view.audios.html",cache:!1}).state("main.channels.voice.mohs.view.add",{url:"/add",templateUrl:"app/channels/voice/moh/view/view.addFiles.html",cache:!1})}]),angular.module("xCallyShuttleApp").controller("VoiceQueueListCtrl",["$scope","$rootScope","$uibModal","VoiceQueue","gridOptions","Auth",function(a,b,c,d,e,f){a.initView=function(){a.Auth=f;var b={exporterCsvFilename:"voice_queues.csv",primaryKey:"name",columnDefs:[{name:"name"},{name:"strategy"},{name:"description"},{name:"action",width:200,buttons:[{"class":"blue-hoki",href:"/channels/voice/queues/view/{{row.entity.name}}/settings",name:"settings"},{"class":"green-meadow",href:"/channels/voice/queues/view/{{row.entity.name}}/agents",name:"agents",hide:"user"===f.getCurrentUser().role},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.name)"}]}]};a.gridOptions=e.gridOptions(d,b,a)},a.createItem=function(){var b=c.open({animation:!0,templateUrl:"app/channels/voice/queue/list/list.create.modal.html",controller:"VoiceQueueListCreateCtrl"});b.result.then(function(){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("VoiceQueueListCreateCtrl",["$scope","$uibModalInstance","$translate","xAlert","VoiceQueue",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return e.save(a.item).$promise.then(function(a){d.show(c.instant("MESSAGE_WELL_DONE"),"success"),b.close(a)})["catch"](function(a){d.show(a.data.message,"danger")})},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.queues.list",{url:"/list",templateUrl:"app/channels/voice/queue/list/list.html",controller:"VoiceQueueListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.queues",{url:"/queues",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("ReportQueue",["$resource",function(a){return a("/api/report/queues/:id/:controller/:controller2",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("VoiceQueueViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","socket","$location","VoiceQueue","VoiceContext","Team","Auth",function(a,b,c,d,e,f,g,h,i,j,k){a.penalty=0,a.Auth=k,a.binaryChoices=[{name:"Yes",value:1},{name:"No",value:0}],a.recordSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.monitorFormats=[{name:"wav",value:"wav"},{name:"gsm",value:"gsm"},{name:"Inactive",value:""}],a.queueAnnounces=[{display_name:"Default",value:null},{display_name:"Disabled",value:""}];var l=function(){return{select:function(b){return h.save({id:a.queue.name,controller:"agents"},{agents:b,penalty:a.queue.penalty}).$promise.then(function(){a.getTeams()})["catch"](function(a){console.log(a)})},deselect:function(b){return h["delete"]({id:a.queue.name,controller:"agents",agents:b}).$promise.then(function(){a.getTeams()})["catch"](function(a){console.log(a)})}}};a.getQueue=function(){return h.get({id:e.id}).$promise.then(function(b){b.joinempty=""===b.joinempty?[]:b.joinempty.split(","),b.leavewhenempty=""===b.leavewhenempty?[]:b.leavewhenempty.split(","),b.periodic_announce=""===b.periodic_announce?[]:b.periodic_announce.split(","),b.penalty=0,a.queue=b})["catch"](function(a){g.path("/channels/voice/queues/list")})},a.updateVoiceQueue=function(){var b=angular.copy(a.queue);return b.joinempty=b.joinempty.join(","),b.leavewhenempty=b.leavewhenempty.join(","),b.periodic_announce=b.periodic_announce.join(","),b.context||(b.context=null),h.update({id:e.id},b).$promise.then(function(){c.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){c.show(d.instant(a.data.message),"danger")})},a.getTeams=function(){return j.get({controller:"associations"}).$promise.then(function(b){return a.teams=b.rows,h.get({id:e.id,controller:"agents"}).$promise}).then(function(b){ComponentsDropdowns.bindQueue(a.teams,_.map(b.rows,function(a){return{id:a.id,penalty:a.UserHasVoiceQueue.penalty}}),l)})["catch"](function(a){console.error(a)})},a.getContexts=function(){return i.get().$promise.then(function(b){a.voiceContexts=b.rows})["catch"](function(a){c.show(d.instant(data.message),"danger")})},a.getMohs=function(){b.get("/api/voice/musiconholds").success(function(b){a.voiceMohs=b.rows,f.syncUpdates("voice_musiconhold",a.voiceMohs)}).error(function(a){c.show(a.message,"danger")})},a.getSounds=function(){b.get("/api/sounds").success(function(b){a.queueAnnounces=a.queueAnnounces.concat(b),a.periodicAnnounces=angular.copy(b.rows),b.rows.unshift({display_name:"None",converted_path:null,value:""}),a.sounds=b.rows,f.syncUpdates("sound",a.sounds)}).error(function(a){console.error(a)})},a.returnAnnouncePath=function(a){return a.converted_path?a.converted_path+"/"+a.save_name:null===a.value?null:a.value}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.queues.view",{url:"/view/:id",templateUrl:"app/channels/voice/queue/view/view.html",controller:"VoiceQueueViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.voice.queues.view.settings",{url:"/settings",templateUrl:"app/channels/voice/queue/view/view.settings.html"}).state("main.channels.voice.queues.view.agents",{url:"/agents",templateUrl:"app/channels/voice/queue/view/view.agents.html",cache:!1,serie:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}})}]),angular.module("xCallyShuttleApp").factory("VoiceQueue",["$resource",function(a){return a("/api/voice/queues/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.realtime",{url:"/realtime",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewAgentCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","Agent","Pause","Action","VoiceQueue","usSpinnerService","$q","uiGridConstants","Auth",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){function o(){return k.spin("spinner-grid"),g.get(t).$promise.then(function(b){a.gridOptions.totalItems=b.count,a.gridOptions.data=[],b.rows.forEach(function(a){q(a)})})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){k.stop("spinner-grid")})}function p(){e.socket.on("agent:save",function(b){var c=_.find(a.gridOptions.data,{agentId:b.id,isAgent:!0});c&&(c.online=b.online,c.lastLoginAt=b.lastLoginAt,c.pause=b.voicePause,c.pauseType=b.pauseType,c.lastPauseAt=b.lastPauseAt,c.status=b.status,c.statusAt=b.statusAt,c.queueStatus=b.queueStatus,c.queueStatusAt=b.queueStatusAt,c.lastQueue=b.lastQueue,c.ipaddr=b.ipaddr,c.port=b.port,c.fullcontact=b.fullcontact,c.useragent=b.useragent,c.lastms=b.lastms,c.internal=b.internal,_.map(a.gridOptions.data,function(a){a.isAgent||a.agentId!==b.id||(a.online=b.online)}))}),e.socket.on("agent:remove",function(b){_.remove(a.gridOptions.data,{agentId:b.id})}),e.socket.on("user_has_voice_queue:save",function(b){var c=_.includes(_.map(a.CurrentUser.PVoiceQueues,"name"),b.queue)||n.isAdmin(),d=_.find(a.gridOptions.data,{agentId:b.UserId,queue:b.queue});if(!d&&b.logged&&c){var e=_.find(a.gridOptions.data,{agentId:b.UserId,isAgent:!0}),f=a.gridOptions.data.indexOf(e);a.gridOptions.data.splice(f+1,0,{isAgent:!1,agentId:b.UserId,queue:b.queue,agent:b.membername,callstaken:b.callstaken?b.callstaken:0,online:e.online})}else d&&!b.logged?_.remove(a.gridOptions.data,{agentId:b.UserId,queue:b.queue}):d&&b.logged&&c&&(d.callstaken=b.callstaken?b.callstaken:0)}),e.socket.on("user_has_voice_queue:remove",function(b){_.remove(a.gridOptions.data,{agentId:b.UserId,queue:b.queue})})}function q(b){a.gridOptions.data.push({isAgent:!0,agentId:b.id,agent:b.name,online:b.online,lastLoginAt:b.lastLoginAt,lastPauseAt:b.lastPauseAt,pause:b.voicePause,pauseType:b.pauseType,status:b.status||"UNKNOWN",statusAt:b.statusAt,queueStatus:b.queueStatus||"READY",queueStatusAt:b.queueStatusAt,lastQueue:b.lastQueue,ipaddr:b.ipaddr,port:b.port,fullcontact:b.fullcontact,useragent:b.useragent,lastms:b.lastms,internal:b.internal,$$treeLevel:0}),b.VoiceQueues.forEach(function(c){c.UserHasVoiceQueue.logged&&a.gridOptions.data.push({isAgent:!1,agentId:b.id,queue:c.name,agent:b.name,callstaken:c.UserHasVoiceQueue.callstaken?c.UserHasVoiceQueue.callstaken:0,online:b.online})})}function r(){return h.get().$promise.then(function(b){a.pauses=b.rows,e.syncUpdates("pause",a.pauses)})["catch"](function(a){f.show(a.message,"danger")})}function s(){return j.get().$promise.then(function(b){a.voiceQueues=b.rows,e.syncUpdates("voice_queue",a.voiceQueues)})["catch"](function(a){f.show(a.message,"danger")})}a.voiceQueues=[];var t={controller:"realtime",controller1:"voice",offset:0,limit:10};a.moment=moment,a.initAgents=function(){a.gridOptions={enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,multiSelect:!0,showTreeExpandNoChildren:!0,columnDefs:[{name:"name",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{row.entity.agent}} <{{row.entity.internal}}>
'},{name:"online",displayName:"APPLICATION_ONLINE",width:150,headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
({{hhours}}:{{mminutes}}:{{sseconds}})
',filter:{type:m.filter.SELECT,selectOptions:[{value:"true",label:"ONLINE"},{value:"false",label:"OFFLINE"}]}},{name:"status",displayName:"APPLICATION_PHONE_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{'APPLICATION_'+row.entity.status | translate}} ({{hhours}}:{{mminutes}}:{{sseconds}})
",filter:{type:m.filter.SELECT,selectOptions:[{value:"UNKNOWN",label:d.instant("APPLICATION_UNKNOWN")},{value:"NOT_INUSE",label:d.instant("APPLICATION_NOT_INUSE")},{value:"INUSE",label:d.instant("APPLICATION_INUSE")},{value:"BUSY",label:d.instant("APPLICATION_BUSY")},{value:"INVALID",label:d.instant("APPLICATION_INVALID")},{value:"UNAVAILABLE",label:d.instant("APPLICATION_UNAVAILABLE")},{value:"RINGING",label:d.instant("APPLICATION_RINGING")},{value:"RINGINUSE",label:d.instant("APPLICATION_RINGINUSE")},{value:"ONHOLD",label:d.instant("APPLICATION_ONHOLD")}]}},{name:"queueStatus",displayName:"APPLICATION_QUEUE_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{\'APPLICATION_\'+row.entity.queueStatus.toUpperCase() | translate}} [{{row.entity.lastQueue}}] [{{row.entity.pauseType}}] [{{hhours}}:{{mminutes}}:{{sseconds}}]
',filter:{type:m.filter.SELECT,selectOptions:[{value:"paused",label:d.instant("APPLICATION_PAUSED")},{value:"connect",label:d.instant("APPLICATION_CONNECT")},{value:"complete",label:d.instant("APPLICATION_COMPLETE")},{value:"called",label:d.instant("APPLICATION_CALLED")}]},enableSorting:!1,enableColumnMenu:!1},{name:"queue",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"callstaken",displayName:"APPLICATION_CALLS_TAKEN",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{row.entity.callstaken}}
',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1,width:100},{name:"action",displayName:"",width:170,cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1}],data:[],gridMenuTitleFilter:function(a){var b=l.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length)}),a.gridApi.treeBase.on.rowExpanded(a,function(b){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length+b.treeNode.children.length)}),a.gridApi.treeBase.on.rowCollapsed(a,function(b){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length-b.treeNode.children.length)}),a.gridApi.core.on.sortChanged(a,function(a,b){0===b.length?t.order=null:t.order=b[0].name+" "+b[0].sort.direction.toUpperCase(),o()}),a.gridApi.pagination.on.paginationChanged(a,function(a,b){t.offset=(a-1)*b,t.limit=b,o()}),a.gridApi.core.on.filterChanged(a,function(){var a=this.grid;a.columns.forEach(function(a){a.filters[0].term?t[a.name]=a.filters[0].term:delete t[a.name]}),o()})}},o(),r(),s(),p()};var u=function(a){var b=a?30*a+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("agent"),e.unsyncUpdates("user_has_voice_queue")}),a.pause=function(b,c,e){return e&&(a.pauseType=null),i.save({name:c,agent:b,type:e||"DEFAULT PAUSE",data4:e||"DEFAULT PAUSE",channel:"voice"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(d.instant(a.message||a.data.message||a.translatedMessage||a.data.translatedMessage),"danger")})},a.joinQueue=function(e){var g=c.open({animation:!0,templateUrl:"app/channels/voice/realtime/view/agent/queue.modal.add.html",controller:"VoiceRealtimeViewAgentQueueModalCtrl",resolve:{queues:function(){return _.reject(a.voiceQueues,function(b){return!!_.find(a.gridOptions.data,{queue:b.name,isAgent:!1,agentId:e})})}}});g.result.then(function(a){return i.save({name:"QueueAdd",agent:e,queues:a.queues,channel:"voice",data1:e,data3:a.queues.join(","),data4:"voice"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},function(){b.info("Modal dismissed at: "+new Date)})},a.leaveQueue=function(a,b){return i.save({name:"QueueRemove",agent:a,queue:b,channel:"voice",data1:a,data3:b,data4:"voice"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},a.showInfo=function(a){c.open({animation:!0,templateUrl:"app/channels/voice/realtime/view/agent/agent.modal.info.html",controller:"VoiceRealtimeViewAgentInfoModalCtrl",resolve:{agent:a}})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.realtime.view.agents",{url:"/agents",templateUrl:"app/channels/voice/realtime/view/agent/agent.html",controller:"VoiceRealtimeViewAgentCtrl"})}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewAgentInfoModalCtrl",["$scope","$uibModalInstance","agent",function(a,b,c){a.agent=c,a.close=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewAgentQueueModalCtrl",["$scope","$uibModalInstance","$http","queues",function(a,b,c,d){a.queues=d,a.item={},a.save=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewParameterCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","ReportQueue","usSpinnerService","$q","uiGridConstants",function(a,b,c,d,e,f,g,h,i,j){function k(){return h.spin("spinner-grid"),g.get(m).$promise.then(function(b){a.gridOptions.totalItems=b.count,a.gridOptions.data=b.rows})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){h.stop("spinner-grid")})}function l(){e.socket.on("voice_queue:save",function(b){_.find(a.gridOptions.data,{name:b.name})||a.gridOptions.data.push({abandoned:0,active:0,answered:0,holdtime:"00:00:00",name:b.name,talktime:"00:00:00",totalcalls:0,unmanaged:0,waiting:0})}),e.socket.on("voice_queue:remove",function(b){_.remove(a.gridOptions.data,{name:b.name})}),e.socket.on("report_queue:parameters",function(b){var c=_.find(a.gridOptions.data,{name:b.name});c&&_.merge(c,b)})}var m={offset:0,limit:10,controller:"parameters"};a.moment=moment,a.initParameters=function(){a.gridOptions={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,enableSorting:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalFiltering:!0,useExternalSorting:!0,columnDefs:[{name:"name",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter"},{name:"waiting",displayName:"APPLICATION_WAITING",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"active",displayName:"APPLICATION_ACTIVE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"answered",displayName:"APPLICATION_ANSWERED",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableColumnMenu:!1,filters:[{condition:j.filter.GREATER_THAN_OR_EQUAL,placeholder:"from"},{condition:j.filter.LESS_THAN_OR_EQUAL,placeholder:"to"}]},{name:"abandoned",displayName:"APPLICATION_ABANDONED",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableColumnMenu:!1,filters:[{condition:j.filter.GREATER_THAN,placeholder:"from"},{condition:j.filter.LESS_THAN,placeholder:"to"}]},{name:"unmanaged",displayName:"APPLICATION_UNMANAGED",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableColumnMenu:!1,filters:[{condition:j.filter.GREATER_THAN,placeholder:"from"},{condition:j.filter.LESS_THAN,placeholder:"to"}]},{name:"holdtime",displayName:"APPLICATION_HOLDTIME",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"talktime",displayName:"APPLICATION_TALKTIME",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"totalcalls",displayName:"APPLICATION_TOTAL_CALLS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1}],data:[],gridMenuTitleFilter:function(a){var b=i.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){n(a.gridOptions.data.length)}),a.gridApi.core.on.sortChanged(a,function(a,b){0===b.length?m.order=null:m.order=b[0].name+" "+b[0].sort.direction.toUpperCase(),k()}),a.gridApi.pagination.on.paginationChanged(a,function(a,b){m.offset=(a-1)*b,m.limit=b,k()}),a.gridApi.core.on.filterChanged(a,function(){var a=this.grid;a.columns.forEach(function(a){if(a.filters.length>1){a.filters.forEach(function(b){b.term?64===b.condition?m[a.name+"_uiFrom"]=b.term:256===b.condition&&(m[a.name+"_uiTo"]=b.term):64===b.condition?delete m[a.name+"_uiFrom"]:256===b.condition&&delete m[a.name+"_uiTo"]})}else a.filters.length&&a.filters[0].term?m[a.name]=a.filters[0].term:delete m[a.name]}),k()})}},k(),l()};var n=function(a){var b=a?30*a+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("voice_queue")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.realtime.view.parameters",{url:"/parameters",templateUrl:"app/channels/voice/realtime/view/parameter/parameter.html",controller:"VoiceRealtimeViewParameterCtrl"})}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewQueueCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","ReportQueue","Pause","Action","usSpinnerService","$q","uiGridConstants","$timeout","Auth",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){function o(){return j.spin("spinner-grid"),g.get({controller:"waiting",controller2:"calls"}).$promise.then(function(b){a.gridOptions.data=b.rows})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){p(),j.stop("spinner-grid")})}function p(){e.socket.on("report_queue:save",function(b){var c=_.find(a.gridOptions.data,{id:b.id});c?(_.merge(c,b),b.queuecallerleaveAt&&m(function(){_.remove(a.gridOptions.data,{id:b.id})},1e4)):b.queuecallerleaveAt||a.gridOptions.data.push(b)}),e.socket.on("report_queue:remove",function(b){_.remove(a.gridOptions.data,{id:b.id})})}a.moment=moment,a.initQueues=function(){a.gridOptions={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"queue",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}{{\'APPLICATION_QUEUESTATUS_ABANDON\' | translate}}{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}} [{{hhours}}:{{mminutes}}:{{sseconds}}]
',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"caller",displayName:"APPLICATION_CALLER",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.calleridnum || ''}} {{row.entity.calleridname || ''}}
",enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"agent",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.connectedlinenum || ''}} {{row.entity.connectedlinename || ''}}
",enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1}],data:[],gridMenuTitleFilter:function(a){var b=k.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){q(a.gridOptions.data.length)})}},o()};var q=function(a){var b=a?30*a+60:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("report_queue")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.realtime.view.queues",{url:"/queues",templateUrl:"app/channels/voice/realtime/view/queue/queue.html",controller:"VoiceRealtimeViewQueueCtrl"})}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewTelephoneCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","Telephone","Pause","Action","usSpinnerService","$q","uiGridConstants",function(a,b,c,d,e,f,g,h,i,j,k,l){function m(){return j.spin("spinner-grid"),g.get(o).$promise.then(function(b){a.gridOptions.totalItems=b.count,a.gridOptions.data=b.rows})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){j.stop("spinner-grid")})}function n(){e.socket.on("telephone:save",function(b){var c=_.find(a.gridOptions.data,{id:b.id});c&&(c.status=b.status,c.statusAt=b.statusAt,c.ipaddr=b.ipaddr,c.port=b.port,c.fullcontact=b.fullcontact,c.useragent=b.useragent,c.lastms=b.lastms,c.internal=b.internal)}),e.socket.on("telephone:remove",function(b){_.remove(a.gridOptions.data,{id:b.id})})}var o={offset:0,limit:10};a.moment=moment,a.initTelephones=function(){a.gridOptions={enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,multiSelect:!0,showTreeExpandNoChildren:!0,columnDefs:[{name:"name",displayName:"APPLICATION_TELEPHONE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.name}} <{{row.entity.internal}}>
"},{name:"status",displayName:"APPLICATION_PHONE_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{'APPLICATION_'+row.entity.status | translate}} ({{hhours}}:{{mminutes}}:{{sseconds}})
", -filter:{type:l.filter.SELECT,selectOptions:[{value:"UNKNOWN",label:d.instant("APPLICATION_UNKNOWN")},{value:"NOT_INUSE",label:d.instant("APPLICATION_NOT_INUSE")},{value:"INUSE",label:d.instant("APPLICATION_INUSE")},{value:"BUSY",label:d.instant("APPLICATION_BUSY")},{value:"INVALID",label:d.instant("APPLICATION_INVALID")},{value:"UNAVAILABLE",label:d.instant("APPLICATION_UNAVAILABLE")},{value:"RINGING",label:d.instant("APPLICATION_RINGING")},{value:"RINGINUSE",label:d.instant("APPLICATION_RINGINUSE")},{value:"ONHOLD",label:d.instant("APPLICATION_ONHOLD")}]}},{name:"action",displayName:"",width:170,cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1}],data:[],gridMenuTitleFilter:function(a){var b=k.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){p(a.gridOptions.data.length)}),a.gridApi.core.on.sortChanged(a,function(a,b){0===b.length?o.order=null:o.order=b[0].name+" "+b[0].sort.direction.toUpperCase(),m()}),a.gridApi.pagination.on.paginationChanged(a,function(a,b){o.offset=(a-1)*b,o.limit=b,m()}),a.gridApi.core.on.filterChanged(a,function(){var a=this.grid;a.columns.forEach(function(a){a.filters[0].term?o[a.name]=a.filters[0].term:delete o[a.name]}),m()})}},m(),n()};var p=function(a){var b=a?30*a+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("telephone")}),a.showInfo=function(a){c.open({animation:!0,templateUrl:"app/channels/voice/realtime/view/telephone/telephone.modal.info.html",controller:"VoiceRealtimeViewTelephoneInfoModalCtrl",resolve:{telephone:a}})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.realtime.view.telephones",{url:"/telephones",templateUrl:"app/channels/voice/realtime/view/telephone/telephone.html",controller:"VoiceRealtimeViewTelephoneCtrl",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewTelephoneInfoModalCtrl",["$scope","$uibModalInstance","$http","telephone",function(a,b,c,d){a.telephone=d,a.close=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewCtrl",["$scope","Auth",function(a,b){a.Auth=b}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.realtime.view",{url:"/view",templateUrl:"app/channels/voice/realtime/view/view.html",controller:"VoiceRealtimeViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("VoiceRecordingListCtrl",["$scope","$translate","$sce","Recording","gridOptions","xAlert","uiGridConstants",function(a,b,c,d,e,f,g){a.Recording=d;a.updateRating=function(a,c){return d.update({id:a,rating:c}).$promise.then(function(){f.show(b.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},a.initView=function(){var b={exporterCsvFilename:"recordings.csv",rowHeight:30,primaryKey:"uniqueid",columnDefs:[{name:"uniqueid"},{name:"calleridnum"},{name:"membername"},{name:"type",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
",filter:{type:g.filter.SELECT,selectOptions:[{value:"inbound",label:"Inbound"},{value:"outbound",label:"Outbound"}]}},{name:"queue"},{name:"createdAt",displayName:"APPLICATION_DATE",headerCellFilter:"translate",filterHeaderTemplate:'
',filters:[{name:"From",condition:g.filter.GREATER_THAN_OR_EQUAL},{name:"To",condition:g.filter.LESS_THAN_OR_EQUAL}]},{name:"rating",filter:{type:g.filter.SELECT,selectOptions:[{value:1,label:"1"},{value:2,label:"2"},{value:3,label:"3"},{value:4,label:"4"},{value:5,label:"5"}]},cellClass:"ui-grid-vcenter",width:"100",cellTemplate:'
'},{name:"audio",displayName:"",width:225,enableSorting:!1,enableFiltering:!1,buttons:[{directive:''}]},{name:"action",width:150,buttons:[{directive:''},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.uniqueid, row.entity.uniqueid)"}]}]};a.gridOptions=e.gridOptions(d,b,a,{order:"createdAt DESC"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.recordings.list",{url:"/list",templateUrl:"app/channels/voice/recording/list/list.html",controller:"VoiceRecordingListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Recording",["$resource",function(a){return a("/api/voice/recordings/:id/:controller",{id:"@id"},{update:{method:"PUT"},patch:{method:"PATCH"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.recordings",{url:"/recordings",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.routes.inbound",{url:"/inbound",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("VoiceRouteInboundListCreateCtrl",["$scope","$uibModalInstance","Route","application","xAlert","$location","$translate",function(a,b,c,d,e,f,g){a.$application=d.application,a.forms={route:void 0},a.item={type:"inbound",appdata:"Inbound Call",context:"from-voip-provider"},a.ok=function(){return a.item.exten=a.$application.checkUnderscore(a.item.exten),c.save(a.item).$promise.then(function(a){b.close(a),f.path("/channels/voice/routes/inbound/view/"+a.id+"/applications")})["catch"](function(a){console.log(a),e.show(g.instant(a.data.translatedMessage),"danger")})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("VoiceRouteInboundListCtrl",["$scope","$http","socket","$translate","$rootScope","xAlert","Modal","stResource","gridOptions","Route","$uibModal","$location","$log",function(a,b,c,d,e,f,g,h,i,j,k,l,m){a.initView=function(){var b={exporterCsvFilename:"InboundRoutes.csv",columnDefs:[{name:"exten",displayName:"APPLICATION_PHONE_NUMBER"},{name:"description"},{name:"applications",cellClass:"ui-grid-vcenter",cellTemplate:'
{{app.app}}({{app.appdata[0]}}), ...
{{\'MESSAGE_NO_AVAILABLE_APPLICATIONS\' | translate}}
',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"action",width:170,buttons:[{"class":"blue-hoki",href:"/channels/voice/routes/inbound/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.exten, row.entity.id)"}]}]};a.gridOptions=i.gridOptions(j,b,a,{type:"inbound"})},a.create=function(){k.open({animation:!0,templateUrl:"app/channels/voice/route/inbound/list/create.modal.html",controller:"VoiceRouteInboundListCreateCtrl"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.routes.inbound.list",{url:"/list",templateUrl:"app/channels/voice/route/inbound/list/list.html",controller:"VoiceRouteInboundListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("VoiceRouteInboundViewCtrl",["$scope","$translate","$stateParams","socket","$location","WizardHandler","Modal","xAlert","application","interval","Route","VoiceQueue","Sound","SquareProject","VoiceContext","Interval","VoiceMail","User","Trunk",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){function t(b){var c,d;if("always"===b.intType)c=null,d="*,*,*,*";else if("list"===b.intType)d=b.IntervalId?_.find(a.Intervals,{id:b.IntervalId}).name:"*,*,*,*",c=b.IntervalId||null;else if("custom"===b.intType){c=null;var e,f,g,h;e=b.t_from&&b.t_to&&!b.alwaysTime?moment(b.t_from).format("HH:mm")+"-"+moment(b.t_to).format("HH:mm"):"*",b.wd_from&&"always"!==b.wd_from?(f=b.wd_from,b.wd_to&&"always"!==b.wd_to&&(f+="-"+b.wd_to)):f="*",b.md_from&&"always"!==b.md_from?(g=b.md_from,b.md_to&&"always"!==b.md_to&&(g+="-"+b.md_to)):g="*",b.m_from&&"always"!==b.m_from?(h=b.m_from,b.m_to&&"always"!==b.m_to&&(h+="-"+b.m_to)):h="*",d=e+","+f+","+g+","+h}void 0===a.selectedApp?(a.application.interval=d,a.application.IntervalId=c):(a.route.Applications[a.selectedApp].interval=d,a.route.Applications[a.selectedApp].IntervalId=c)}function u(){if(a.interval.intType=a.route.Applications[a.selectedApp].IntervalId?"list":"*,*,*,*"===a.route.Applications[a.selectedApp].interval?"always":"custom",a.interval.IntervalId=a.route.Applications[a.selectedApp].IntervalId,!a.route.Applications[a.selectedApp].IntervalId){var b,c=a.route.Applications[a.selectedApp].interval?a.route.Applications[a.selectedApp].interval.split(","):["*","*","*","*"];c.forEach(function(c,d){switch(d){case 0:"*"!==c?(b=c.split("-"),a.interval.t_from=moment(b[0],"HH:mm"),a.interval.t_to=moment(b[1],"HH:mm"),a.interval.alwaysTime=!1):(a.interval.t_from=moment(new Date),a.interval.t_to=moment(new Date),a.interval.alwaysTime=!0);break;case 1:"*"!==c?(b=c.split("-"),a.interval.wd_from=b[0],a.interval.wd_to=b[1]?b[1]:"always"):(a.interval.wd_from="always",a.interval.wd_to="always");break;case 2:"*"!==c?(b=c.split("-"),a.interval.md_from=b[0],a.interval.md_to=b[1]?b[1]:"always"):(a.interval.md_from="always",a.interval.md_to="always");break;case 3:"*"!==c?(b=c.split("-"),a.interval.m_from=b[0],a.interval.m_to=b[1]?b[1]:"always"):(a.interval.m_from="always",a.interval.m_to="always")}})}}a.$translate=b,a.selectedApp=void 0,a.showGrid=!0,a.$application=i.application,a.$interval=j.interval,a.gridOptions={enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableSorting:!1,rowTemplate:'
',columnDefs:[{name:"app",headerCellFilter:"translate",displayName:"APPLICATION_APPLICATION",enableColumnMenu:!1},{name:"appType",headerCellFilter:"translate",displayName:"APPLICATION_INFO",enableColumnMenu:!1},{name:"appdata",headerCellFilter:"translate",displayName:"APPLICATION_ARGUMENTS",cellClass:"ui-grid-vcenter",cellTemplate:"
{{row.entity.appdata.join(',')}}
",enableColumnMenu:!1},{name:"interval",headerCellFilter:"translate",displayName:"APPLICATION_TIME",enableColumnMenu:!1},{name:"action",enableColumnMenu:!1,headerCellFilter:"translate",displayName:"APPLICATION_ACTION",width:125,cellClass:"ui-grid-vcenter",cellTemplate:'
'}],onRegisterApi:function(b){b.draggableRows.on.rowDropped(a,function(b,c){a.updateRoute()}),b.grid.registerDataChangeCallback(function(){v(a.gridOptions.data.length)})}};var v=function(a){var b=a?30*a+120:177;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px")};a.initApplication=function(b){b&&(a.selectedApp=void 0),a.forms={settings:void 0,interval:void 0},a.application={},a.interval={intType:"always",t_from:moment(new Date),t_to:moment(new Date),wd_from:"always",wd_to:"always",md_from:"always",md_to:"always",m_from:"always",m_to:"always",alwaysTime:!0},a.main={app:""}},a.$watch("interval",function(a){a&&t(a)},!0),a.updateSetAppdata=function(){a.application.variable&&a.application.value&&"Set"===a.main.app.value?a.application.appdata[0]=a.application.variable+"="+a.application.value:a.application.appdata[0]=null},a.updateSetAppdataSettings=function(){a.application.variable&&a.application.value&&"Set"===a.main.app.value?a.route.Applications[a.selectedApp].appdata[0]=a.application.variable+"="+a.application.value:a.route.Applications[a.selectedApp].appdata[0]=null},a.$watch("main.app",function(c){if(c){var d,e,f={},g={};switch(void 0===a.selectedApp&&(a.application={appType:c.type,app:c.value,interval:a.application.interval||"*,*,*,*",appdata:[]}),c.value){case"Queue":d=l,e=m;break;case"Playback":d=m;break;case"AGI":d=n;break;case"Goto":d=o;break;case"Voicemail":d=q;break;case"Dial":switch(c.type){case"internalDial":d=r,f={controller:"all"};break;case"externalDial":d=s}}if(d)return d.get(f).$promise.then(function(b){a.items=b.rows}).then(function(){return e?e.get(g).$promise:void 0}).then(function(b){b&&(a.items2=b.rows)})["catch"](function(a){h.show(b.instant(a.message),"danger")})}},!0),a.deselectAndRedirect=function(b){a.selectedApp=void 0,e.path(b)},a.getIntervals=function(){return p.get().$promise.then(function(b){a.Intervals=b.rows,d.syncUpdates("interval",a.Intervals)})["catch"](function(a){h.show(b.instant(a.message),"danger")})},a.getRoute=function(){return k.get({id:c.id}).$promise.then(function(b){a.route=b,a.gridOptions.data=b.Applications,v(a.gridOptions.data.length)})["catch"](function(a){e.path("/channels/voice/routes/inbound/list")})},a.getApplication=function(){if(void 0===a.selectedApp)e.path("/channels/voice/routes/inbound/list");else{if(a.showGrid=!0,a.route.Applications[a.selectedApp].appType)a.main.app=_.find(a.$application.applications,{type:a.route.Applications[a.selectedApp].appType});else{var b=_.find(a.$application.applications,{value:a.route.Applications[a.selectedApp].app});if(b)a.main.app=b;else{a.main.app=_.find(a.$application.applications,{type:"custom"});var c=a.route.Applications[a.selectedApp].appdata.join(",");a.route.Applications[a.selectedApp].appdata=[c],a.route.Applications[a.selectedApp].appType="custom"}}if("Set"===a.main.app.value){var d=a.route.Applications[a.selectedApp].appdata[0].split("=");a.application.variable=d[0],a.application.value=d[1]}u()}},a.openApplication=function(b){a.selectedApp=b,a.showGrid=!1,e.path("/channels/voice/routes/inbound/view/"+c.id+"/applications/settings")},a.updateRoute=function(d){return a.route.exten=a.$application.checkUnderscore(a.route.exten),k.update({id:a.route.id},a.route).$promise.then(function(f){a.selectedApp=void 0,h.show(b.instant("MESSAGE_WELL_DONE")+"!","success"),d&&e.path("/channels/voice/routes/inbound/view/"+c.id+"/"+d)})["catch"](function(a){console.log(a),h.show(b.instant(a.data.translatedMessage),"danger")})},a.getContexts=function(){return o.get().$promise.then(function(b){a.voiceContexts=b.rows,d.syncUpdates("voice_context",a.voiceContexts)})["catch"](function(a){h.show(b.instant(a.message),"danger")})},a.deleteApp=g.confirm["delete"](function(b){a.route.Applications.splice(b,1),a.updateRoute()}),a.addApplication=function(){a.route.Applications.push(a.application),a.updateRoute("applications")},a.goNext=function(){f.wizard().next()},a.previous=function(){f.wizard().previous()},a.formValidation=function(a){return a},a.$on("destroy",function(){d.unsyncUpdates("voice_extension")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.routes.inbound.view",{url:"/view/:id",templateUrl:"app/channels/voice/route/inbound/view/view.html",controller:"VoiceRouteInboundViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.voice.routes.inbound.view.settings",{url:"/settings",templateUrl:"app/channels/voice/route/inbound/view/view.settings.html"}).state("main.channels.voice.routes.inbound.view.applications",{url:"/applications",templateUrl:"app/channels/voice/route/inbound/view/view.applications.html"}).state("main.channels.voice.routes.inbound.view.application",{url:"/application",templateUrl:"app/channels/voice/route/view.application.html"}).state("main.channels.voice.routes.inbound.view.applications.settings",{url:"/settings",templateUrl:"app/channels/voice/route/view.applicationSettings.html"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.routes.internal",{url:"/internal",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("VoiceRouteInternalListCreateCtrl",["$scope","$uibModalInstance","Route","application","$location","$translate","xAlert",function(a,b,c,d,e,f,g){a.$application=d.application,a.forms={route:void 0},a.item={type:"internal",appdata:"Internal Call",context:"from-sip"},a.ok=function(){return a.item.exten=a.$application.checkUnderscore(a.item.exten),c.save(a.item).$promise.then(function(a){b.close(a),e.path("/channels/voice/routes/internal/view/"+a.id+"/applications")})["catch"](function(a){g.error(a)})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("VoiceRouteInternalListCtrl",["$scope","$http","socket","$translate","$rootScope","xAlert","Modal","stResource","gridOptions","Route","$uibModal","$location","$log",function(a,b,c,d,e,f,g,h,i,j,k,l,m){a.initView=function(){var b={exporterCsvFilename:"InternalRoutes.csv",columnDefs:[{name:"exten",displayName:"APPLICATION_PHONE_NUMBER"},{name:"description"},{name:"applications",cellClass:"ui-grid-vcenter",cellTemplate:'
{{app.app}}({{app.appdata[0]}}),...
{{\'MESSAGE_NO_AVAILABLE_APPLICATIONS\' | translate}}
',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"action",width:170,buttons:[{"class":"blue-hoki",href:"/channels/voice/routes/internal/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.exten, row.entity.id)"}]}]};a.gridOptions=i.gridOptions(j,b,a,{type:"internal"})},a.create=function(){k.open({animation:!0,templateUrl:"app/channels/voice/route/internal/list/create.modal.html",controller:"VoiceRouteInternalListCreateCtrl"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.routes.internal.list",{url:"/list",templateUrl:"app/channels/voice/route/internal/list/list.html",controller:"VoiceRouteInternalListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("VoiceRouteInternalViewCtrl",["$scope","$translate","$stateParams","socket","$location","WizardHandler","Modal","xAlert","application","interval","Route","VoiceQueue","Sound","SquareProject","VoiceContext","Interval","VoiceMail","User","Trunk",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){function t(b){var c,d;if("always"===b.intType)c=null,d="*,*,*,*";else if("list"===b.intType)d=b.IntervalId?_.find(a.Intervals,{id:b.IntervalId}).name:"*,*,*,*",c=b.IntervalId||null;else if("custom"===b.intType){c=null;var e,f,g,h;e=b.t_from&&b.t_to&&!b.alwaysTime?moment(b.t_from).format("HH:mm")+"-"+moment(b.t_to).format("HH:mm"):"*",b.wd_from&&"always"!==b.wd_from?(f=b.wd_from,b.wd_to&&"always"!==b.wd_to&&(f+="-"+b.wd_to)):f="*",b.md_from&&"always"!==b.md_from?(g=b.md_from,b.md_to&&"always"!==b.md_to&&(g+="-"+b.md_to)):g="*",b.m_from&&"always"!==b.m_from?(h=b.m_from,b.m_to&&"always"!==b.m_to&&(h+="-"+b.m_to)):h="*",d=e+","+f+","+g+","+h}void 0===a.selectedApp?(a.application.interval=d,a.application.IntervalId=c):(a.route.Applications[a.selectedApp].interval=d,a.route.Applications[a.selectedApp].IntervalId=c)}function u(){if(a.interval.intType=a.route.Applications[a.selectedApp].IntervalId?"list":"*,*,*,*"===a.route.Applications[a.selectedApp].interval?"always":"custom",a.interval.IntervalId=a.route.Applications[a.selectedApp].IntervalId,!a.route.Applications[a.selectedApp].IntervalId){var b,c=a.route.Applications[a.selectedApp].interval?a.route.Applications[a.selectedApp].interval.split(","):["*","*","*","*"];c.forEach(function(c,d){switch(d){case 0:"*"!==c?(b=c.split("-"),a.interval.t_from=moment(b[0],"HH:mm"),a.interval.t_to=moment(b[1],"HH:mm"),a.interval.alwaysTime=!1):(a.interval.t_from=moment(new Date),a.interval.t_to=moment(new Date),a.interval.alwaysTime=!0);break;case 1:"*"!==c?(b=c.split("-"),a.interval.wd_from=b[0],a.interval.wd_to=b[1]?b[1]:"always"):(a.interval.wd_from="always",a.interval.wd_to="always");break;case 2:"*"!==c?(b=c.split("-"),a.interval.md_from=b[0],a.interval.md_to=b[1]?b[1]:"always"):(a.interval.md_from="always",a.interval.md_to="always");break;case 3:"*"!==c?(b=c.split("-"),a.interval.m_from=b[0],a.interval.m_to=b[1]?b[1]:"always"):(a.interval.m_from="always",a.interval.m_to="always")}})}}a.$translate=b,a.selectedApp=void 0,a.showGrid=!0,a.$application=i.application,a.$interval=j.interval,a.gridOptions={enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableSorting:!1,rowTemplate:'
',columnDefs:[{name:"app",headerCellFilter:"translate",displayName:"APPLICATION_APPLICATION",enableColumnMenu:!1},{name:"appType",headerCellFilter:"translate",displayName:"APPLICATION_INFO",enableColumnMenu:!1},{name:"appdata",headerCellFilter:"translate",displayName:"APPLICATION_ARGUMENTS",cellClass:"ui-grid-vcenter",cellTemplate:"
{{row.entity.appdata.join(',')}}
",enableColumnMenu:!1},{name:"interval",headerCellFilter:"translate",displayName:"APPLICATION_TIME",enableColumnMenu:!1},{name:"action",enableColumnMenu:!1,headerCellFilter:"translate",displayName:"APPLICATION_ACTION",width:125,cellClass:"ui-grid-vcenter",cellTemplate:'
'}],onRegisterApi:function(b){b.draggableRows.on.rowDropped(a,function(b,c){a.updateRoute()}),b.grid.registerDataChangeCallback(function(){v(a.gridOptions.data.length)})}};var v=function(a){var b=a?30*a+120:177;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px")};a.initApplication=function(b){b&&(a.selectedApp=void 0),a.forms={settings:void 0,interval:void 0},a.application={},a.interval={intType:"always",t_from:moment(new Date),t_to:moment(new Date),wd_from:"always",wd_to:"always",md_from:"always",md_to:"always",m_from:"always",m_to:"always",alwaysTime:!0},a.main={app:""}},a.$watch("interval",function(a){a&&t(a)},!0),a.updateSetAppdata=function(){a.application.variable&&a.application.value&&"Set"===a.main.app.value?a.application.appdata[0]=a.application.variable+"="+a.application.value:a.application.appdata[0]=null},a.updateSetAppdataSettings=function(){a.application.variable&&a.application.value&&"Set"===a.main.app.value?a.route.Applications[a.selectedApp].appdata[0]=a.application.variable+"="+a.application.value:a.application.appdata[0]=null},a.$watch("main.app",function(c){if(c){var d,e,f={},g={};switch(void 0===a.selectedApp&&(a.application={appType:c.type,app:c.value,interval:a.application.interval||"*,*,*,*",appdata:[]}),c.value){case"Queue":d=l,e=m;break;case"Playback":d=m;break;case"AGI":d=n;break;case"Goto":d=o;break;case"Voicemail":d=q;break;case"Dial":switch(c.type){case"internalDial":d=r,f={controller:"all"};break;case"externalDial":d=s}}if(d)return d.get(f).$promise.then(function(b){a.items=b.rows}).then(function(){return e?e.get(g).$promise:void 0}).then(function(b){b&&(a.items2=b.rows)})["catch"](function(a){h.show(b.instant(a.message),"danger")})}},!0),a.deselectAndRedirect=function(b){a.selectedApp=void 0,e.path(b)},a.getIntervals=function(){return p.get().$promise.then(function(b){a.Intervals=b.rows,d.syncUpdates("interval",a.Intervals)})["catch"](function(a){h.show(b.instant(a.message),"danger")})},a.getRoute=function(){return k.get({id:c.id}).$promise.then(function(b){a.route=b,a.gridOptions.data=b.Applications,v(a.gridOptions.data.length)})["catch"](function(a){e.path("/channels/voice/routes/internal/list")})},a.getApplication=function(){if(void 0===a.selectedApp)e.path("/channels/voice/routes/inbound/list");else{if(a.showGrid=!0,a.route.Applications[a.selectedApp].appType)a.main.app=_.find(a.$application.applications,{type:a.route.Applications[a.selectedApp].appType});else{var b=_.find(a.$application.applications,{value:a.route.Applications[a.selectedApp].app});if(b)a.main.app=b;else{a.main.app=_.find(a.$application.applications,{type:"custom"});var c=a.route.Applications[a.selectedApp].appdata.join(",");a.route.Applications[a.selectedApp].appdata=[c],a.route.Applications[a.selectedApp].appType="custom"}}if("Set"===a.main.app.value){var d=a.route.Applications[a.selectedApp].appdata[0].split("=");a.application.variable=d[0],a.application.value=d[1]}u()}},a.openApplication=function(b){a.selectedApp=b,a.showGrid=!1,e.path("/channels/voice/routes/internal/view/"+c.id+"/applications/settings")},a.updateRoute=function(d){return a.route.exten=a.$application.checkUnderscore(a.route.exten),k.update({id:a.route.id},a.route).$promise.then(function(f){a.selectedApp=void 0,h.show(b.instant("MESSAGE_WELL_DONE")+"!","success"),d&&e.path("/channels/voice/routes/internal/view/"+c.id+"/"+d)})["catch"](function(a){h.show(b.instant(a.data.translatedMessage),"danger")})},a.getContexts=function(){return o.get().$promise.then(function(b){a.voiceContexts=b.rows,d.syncUpdates("voice_context",a.voiceContexts)})["catch"](function(a){h.show(b.instant(a.message),"danger")})},a.deleteApp=g.confirm["delete"](function(b){a.route.Applications.splice(b,1),a.updateRoute()}),a.addApplication=function(){a.route.Applications.push(a.application),a.updateRoute("applications")},a.goNext=function(){f.wizard().next()},a.previous=function(){f.wizard().previous()},a.formValidation=function(a){return a},a.$on("destroy",function(){d.unsyncUpdates("voice_extension")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.routes.internal.view",{url:"/view/:id",templateUrl:"app/channels/voice/route/internal/view/view.html",controller:"VoiceRouteInternalViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.voice.routes.internal.view.settings",{url:"/settings",templateUrl:"app/channels/voice/route/internal/view/view.settings.html"}).state("main.channels.voice.routes.internal.view.applications",{url:"/applications",templateUrl:"app/channels/voice/route/internal/view/view.applications.html"}).state("main.channels.voice.routes.internal.view.application",{url:"/application",templateUrl:"app/channels/voice/route/view.application.html"}).state("main.channels.voice.routes.internal.view.applications.settings",{url:"/settings",templateUrl:"app/channels/voice/route/view.applicationSettings.html"})}]),angular.module("xCallyShuttleApp").controller("VoiceRouteOutboundListCreateCtrl",["$scope","$uibModalInstance","Route","application","xAlert","$translate","$location","Tag",function(a,b,c,d,e,f,g,h){a.$application=d.application,a.forms={route:void 0},a.item={type:"outbound",appdata:"Outbound Call",context:"from-sip"},a.getTags=function(){return h.get().$promise.then(function(b){b.rows.unshift({name:"--"}),a.tags=b.rows})["catch"](function(a){e.show(f.instant(a.data.translatedMessage),"danger")})},a.ok=function(){return a.item.exten=a.$application.checkUnderscore(a.item.exten),c.save(a.item).$promise.then(function(a){b.close(a),g.path("/channels/voice/routes/outbound/view/"+a.id+"/routes")})["catch"](function(a){e.show(f.instant(a.data.translatedMessage),"danger")})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("VoiceRouteOutboundListCtrl",["$scope","$http","socket","$translate","$rootScope","xAlert","Modal","stResource","gridOptions","Route","$uibModal","$location","$log",function(a,b,c,d,e,f,g,h,i,j,k,l,m){a.initView=function(){var b={exporterCsvFilename:"OutboundRoutes.csv",columnDefs:[{name:"exten",displayName:"APPLICATION_DESTINATION_PATTERN"},{name:"description"},{name:"applications",cellClass:"ui-grid-vcenter",cellTemplate:'
{{app.app}}({{app.appdata[0]}}),...
{{\'MESSAGE_NO_AVAILABLE_APPLICATIONS\' | translate}}
',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"action",width:170,buttons:[{"class":"blue-hoki",href:"/channels/voice/routes/outbound/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.exten, row.entity.id)"}]}]};a.gridOptions=i.gridOptions(j,b,a,{type:"outbound"})},a.create=function(){k.open({animation:!0,templateUrl:"app/channels/voice/route/outbound/list/create.modal.html",controller:"VoiceRouteOutboundListCreateCtrl"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.routes.outbound.list",{url:"/list",templateUrl:"app/channels/voice/route/outbound/list/list.html",controller:"VoiceRouteOutboundListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.routes.outbound",{url:"/outbound",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("VoiceRouteOutboundViewCtrl",["$scope","xAlert","$translate","$stateParams","socket","$location","WizardHandler","Modal","application","interval","Route","Trunk","VoiceContext","Interval","Tag",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){function p(b){var c,d;if("always"===b.intType)c=null, -d="*,*,*,*";else if("list"===b.intType)d=b.IntervalId?_.find(a.Intervals,{id:b.IntervalId}).name:"*,*,*,*",c=b.IntervalId||null;else if("custom"===b.intType){c=null;var e,f,g,h;e=b.t_from&&b.t_to&&!b.alwaysTime?moment(b.t_from).format("HH:mm")+"-"+moment(b.t_to).format("HH:mm"):"*",b.wd_from&&"always"!==b.wd_from?(f=b.wd_from,b.wd_to&&"always"!==b.wd_to&&(f+="-"+b.wd_to)):f="*",b.md_from&&"always"!==b.md_from?(g=b.md_from,b.md_to&&"always"!==b.md_to&&(g+="-"+b.md_to)):g="*",b.m_from&&"always"!==b.m_from?(h=b.m_from,b.m_to&&"always"!==b.m_to&&(h+="-"+b.m_to)):h="*",d=e+","+f+","+g+","+h}void 0===a.selectedApp?(a.application.interval=d,a.application.IntervalId=c):(a.route.Applications[a.selectedApp].interval=d,a.route.Applications[a.selectedApp].IntervalId=c)}function q(){if(a.interval.intType=a.route.Applications[a.selectedApp].IntervalId?"list":"*,*,*,*"===a.route.Applications[a.selectedApp].interval?"always":"custom",a.interval.IntervalId=a.route.Applications[a.selectedApp].IntervalId,!a.route.Applications[a.selectedApp].IntervalId){var b,c=a.route.Applications[a.selectedApp].interval?a.route.Applications[a.selectedApp].interval.split(","):["*","*","*","*"];c.forEach(function(c,d){switch(d){case 0:"*"!==c?(b=c.split("-"),a.interval.t_from=moment(b[0],"HH:mm"),a.interval.t_to=moment(b[1],"HH:mm"),a.interval.alwaysTime=!1):(a.interval.t_from=moment(new Date),a.interval.t_to=moment(new Date),a.interval.alwaysTime=!0);break;case 1:"*"!==c?(b=c.split("-"),a.interval.wd_from=b[0],a.interval.wd_to=b[1]?b[1]:"always"):(a.interval.wd_from="always",a.interval.wd_to="always");break;case 2:"*"!==c?(b=c.split("-"),a.interval.md_from=b[0],a.interval.md_to=b[1]?b[1]:"always"):(a.interval.md_from="always",a.interval.md_to="always");break;case 3:"*"!==c?(b=c.split("-"),a.interval.m_from=b[0],a.interval.m_to=b[1]?b[1]:"always"):(a.interval.m_from="always",a.interval.m_to="always")}})}}a.$translate=c,a.selectedApp=void 0,a.showGrid=!0,a.$application=i.application,a.$interval=j.interval,a.recordSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.gridOptions={enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableSorting:!1,rowTemplate:'
',columnDefs:[{name:"app",displayName:"APPLICATION_APPLICATION",cellClass:"ui-grid-vcenter",cellTemplate:"
Default{{row.entity.app}}
",headerCellFilter:"translate",enableColumnMenu:!1},{name:"appdata",displayName:"APPLICATION_ARGUMENTS",headerCellFilter:"translate",cellClass:"ui-grid-vcenter",cellTemplate:"
{{row.entity.appdata.join(',')}}
",enableColumnMenu:!1},{name:"interval",displayName:"APPLICATION_TIME",headerCellFilter:"translate",enableColumnMenu:!1},{name:"action",displayName:"APPLICATION_ACTION",headerCellFilter:"translate",width:125,enableColumnMenu:!1,cellClass:"ui-grid-vcenter",cellTemplate:'
'}],onRegisterApi:function(b){b.draggableRows.on.rowDropped(a,function(b,c){a.updateRoute()}),b.grid.registerDataChangeCallback(function(){r(a.gridOptions.data.length)})}};var r=function(a){var b=a?30*a+120:177;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px")};a.initApplication=function(b){b&&(a.selectedApp=void 0),a.forms={info:void 0,interval:void 0},a.application={},a.interval={intType:"always",t_from:moment(new Date),t_to:moment(new Date),wd_from:"always",wd_to:"always",md_from:"always",md_to:"always",m_from:"always",m_to:"always",alwaysTime:!0},a.main={app:""},a.applications=[{name:"Default",value:"Dial",type:"outboundDial"},{name:"Custom",value:"custom",type:"custom"}]},a.$watch("interval",function(a){a&&p(a)},!0),a.$watch("main.app",function(d){if(d){var e,f;switch(void 0===a.selectedApp&&(a.application={appType:d.type,app:d.value,interval:a.application.interval||"*,*,*,*",appdata:[]}),d.value){case"Dial":e=l;break;default:e=null,f=null}if(e)return e.get().$promise.then(function(b){a.items=b.rows}).then(function(){return f?f.get().$promise:void 0}).then(function(b){b&&(a.items2=b.rows)})["catch"](function(a){b.show(c.instant(a.message),"danger")})}},!0),a.deselectAndRedirect=function(b){a.selectedApp=void 0,f.path(b)},a.getIntervals=function(){return n.get().$promise.then(function(b){a.Intervals=b.rows,e.syncUpdates("interval",a.Intervals)})["catch"](function(a){b.show(c.instant(a.message),"danger")})},a.getRoute=function(){return k.get({id:d.id}).$promise.then(function(b){a.route=b,a.gridOptions.data=b.Applications,r(a.gridOptions.data.length)})["catch"](function(a){f.path("/channels/voice/routes/outbound/list")})},a.getApplication=function(){if(void 0===a.selectedApp)f.path("/channels/voice/routes/outbound/list");else{if(a.showGrid=!0,a.route.Applications[a.selectedApp].appType)a.main.app=_.find(a.applications,{type:a.route.Applications[a.selectedApp].appType});else{a.main.app=_.find(a.applications,{type:"custom"});var b=a.route.Applications[a.selectedApp].appdata.join(",");a.route.Applications[a.selectedApp].appdata=[b],a.route.Applications[a.selectedApp].appType="custom"}q()}},a.openApplication=function(b){a.selectedApp=b,a.showGrid=!1,f.path("/channels/voice/routes/outbound/view/"+d.id+"/routes/settings")},a.updateRoute=function(e){return a.route.exten=a.$application.checkUnderscore(a.route.exten),k.update({id:a.route.id},a.route).$promise.then(function(g){a.selectedApp=void 0,b.show(c.instant("MESSAGE_WELL_DONE")+"!","success"),e&&f.path("/channels/voice/routes/outbound/view/"+d.id+"/"+e)})["catch"](function(a){b.show(c.instant(a.data.translatedMessage),"danger")})},a.getContexts=function(){return m.get().$promise.then(function(b){a.voiceContexts=b.rows,e.syncUpdates("voice_context",a.voiceContexts)})["catch"](function(a){b.show(c.instant(a.message),"danger")})},a.getTags=function(){return o.get().$promise.then(function(b){b.rows.unshift({name:"--"}),a.tags=b.rows})["catch"](function(a){b.show(c.instant(a.data.translatedMessage),"danger")})},a.deleteApp=h.confirm["delete"](function(b){a.route.Applications.splice(b,1),a.updateRoute()}),a.addApplication=function(){a.route.Applications.push(a.application),a.updateRoute("routes")},a.goNext=function(){g.wizard().next()},a.previous=function(){g.wizard().previous()},a.formValidation=function(a){return a},a.$on("destroy",function(){e.unsyncUpdates("voice_extension")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.routes.outbound.view",{url:"/view/:id",templateUrl:"app/channels/voice/route/outbound/view/view.html",controller:"VoiceRouteOutboundViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.voice.routes.outbound.view.settings",{url:"/settings",templateUrl:"app/channels/voice/route/outbound/view/view.settings.html"}).state("main.channels.voice.routes.outbound.view.routes",{url:"/routes",templateUrl:"app/channels/voice/route/outbound/view/view.routes.html"}).state("main.channels.voice.routes.outbound.view.route",{url:"/route",templateUrl:"app/channels/voice/route/outbound/view/view.route.html"}).state("main.channels.voice.routes.outbound.view.routes.settings",{url:"/settings",templateUrl:"app/channels/voice/route/outbound/view/view.routeSettings.html"})}]),angular.module("xCallyShuttleApp").factory("Route",["$resource",function(a){return a("/api/voice/extensions/:id",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.routes",{url:"/routes",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice",{url:"/voice",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:7}}})}]),angular.module("xCallyShuttleApp").controller("VoiceVoicemailListCtrl",["$scope","VoiceMail","gridOptions",function(a,b,c){a.initView=function(){var d={exporterCsvFilename:"voice_mails.csv",primaryKey:"uniqueid",columnDefs:[{name:"mailbox"},{name:"fullname"},{name:"email"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/channels/voice/voicemails/view/{{row.entity.uniqueid}}/settings",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.mailbox, row.entity.uniqueid)"}]}]};a.gridOptions=c.gridOptions(b,d,a)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.voicemails.list",{url:"/list",templateUrl:"app/channels/voice/voicemail/list/list.html",controller:"VoiceVoicemailListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("VoiceVoicemailViewCtrl",["$scope","VoiceMail","VoiceMailMessage","VoiceContext","$http","xAlert","$translate","$stateParams","socket","$sce","Modal","$location","gridOptions",function(a,b,c,d,e,f,g,h,i,j,k,l,m){function n(){var b={exporterCsvFilename:"voice_mail_messages.csv",primaryKey:"id",columnDefs:[{name:"callerid"},{name:"stamp",displayName:"APPLICATION_DATE",cellClass:"ui-grid-vcenter",cellTemplate:"
{{grid.appScope.moment(row.entity.stamp).format('YYYY-MM-DD HH:mm:ss')}}
"},{name:"duration",cellClass:"ui-grid-vcenter",cellTemplate:"
{{row.entity.duration*1000 | date:'mm:ss'}}
"},{name:"audio",displayName:"",width:225,enableSorting:!1,enableFiltering:!1,buttons:[{directive:''}]},{name:"action",width:150,buttons:[{directive:''},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.id, row.entity.id)"}]}]};a.gridOptions=m.gridOptions(c,b,a,{mailbox:a.voicemail.mailbox,context:a.voicemail.context})}a.moment=moment,a.VoiceMailMessage=c,a.getVoicemail=function(){return b.get({id:h.uniqueid}).$promise.then(function(b){delete b.password,delete b.stamp,a.voicemail=b})["catch"](function(a){l.path("/voice/voicemails/list")})},a.updateVoiceVoicemail=function(){return b.update({id:h.uniqueid},a.voicemail).$promise.then(function(){f.show(g.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(g.instant(a.message),"danger")})},a.getContexts=function(){return d.get().$promise.then(function(b){a.voiceContexts=b.rows})["catch"](function(a){f.show(a.message,"danger")})},a.getMessages=function(){return a.voicemail?void n():b.get({id:h.uniqueid}).$promise.then(function(b){delete b.password,delete b.stamp,a.voicemail=b,n()})["catch"](function(a){l.path("/voice/voicemails/view/"+h.uniqueid+"/settings")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.voicemails.view",{url:"/view/:uniqueid",templateUrl:"app/channels/voice/voicemail/view/view.html",controller:"VoiceVoicemailViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.voice.voicemails.view.settings",{url:"/settings",templateUrl:"app/channels/voice/voicemail/view/view.settings.html"}).state("main.channels.voice.voicemails.view.messages",{url:"/messages",templateUrl:"app/channels/voice/voicemail/view/view.messages.html"})}]),angular.module("xCallyShuttleApp").factory("VoiceMail",["$resource",function(a){return a("/api/voice/voicemails/:id/:controller",{uniqueid:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.voicemails",{url:"/voicemails",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("VoiceMailMessage",["$resource",function(a){return a("/api/voice/voicemails/messages/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("VoiceVoicemailWizardCtrl",["$scope","VoiceMail","xAlert","WizardHandler","$location","Setting",function(a,b,c,d,e,f){a.initWizard=function(){a.form={},a.item={context:"from-voicemail"}},a.next=function(){d.wizard().next()},a.previous=function(){d.wizard().previous()},a.exitValidation=function(a){return a},a.getFirstFreeMailbox=function(){f.get({controller:"mailbox"}).$promise.then(function(b){a.item.mailbox=b.value})["catch"](function(a){c.show(a.data.message,"danger")})},a.createItem=function(){return a.item.customer_id=a.item.mailbox,b.save(a.item).$promise.then(function(){e.path("/channels/voice/voicemails/list")})["catch"](function(a){c.show(data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.voicemails.wizard",{url:"/wizard",templateUrl:"app/channels/voice/voicemail/wizard/wizard.html",controller:"VoiceVoicemailWizardCtrl"})}]),angular.module("xCallyShuttleApp").factory("VoiceQueue",["$resource",function(a){return a("/api/voice/queues/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("Company",["$resource",function(a){return a("/api/contactmanager/companies/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.contactmanager.companies",{url:"/companies",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:5}}})}]),angular.module("xCallyShuttleApp").controller("CompanyListCreateModalCtrl",["$scope","$uibModalInstance",function(a,b){a.forms={dashboard:void 0},a.item={},a.ok=function(){a.item.model=JSON.stringify({title:a.item.name}),b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("ContactManagerCompanyListCtrl",["$scope","$translate","xAlert","Modal","$uibModal","$log","Company","gridOptions","$location",function(a,b,c,d,e,f,g,h,i){a.initView=function(){var b={exporterCsvFilename:"Companies.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:190,buttons:[{"class":"blue-hoki",name:"profile",href:"/contactmanager/companies/view/{{row.entity.id}}/settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"},{"class":"green-turquoise",name:"contacts",uisref:"main.contactmanager.contacts.list({companyId:{{row.entity.id}}})"}]}]};a.gridOptions=h.gridOptions(g,b,a)},a.create=function(){var a=e.open({animation:!0,size:"lg",templateUrl:"app/contactmanager/company/list/create.modal.html",controller:"CompanyListCreateModalCtrl"});a.result.then(function(a){return g.save(a).$promise.then(function(a){i.path("/contactmanager/companies/view/"+a.id+"/settings")})["catch"](function(a){c.show(a.data.message,"danger")})},function(){f.info("Modal dismissed at: "+new Date)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.contactmanager.companies.list",{url:"/list",templateUrl:"app/contactmanager/company/list/list.html",controller:"ContactManagerCompanyListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("ContactManagerCompanyViewCtrl",["$scope","xAlert","$translate","$stateParams","$location","Company",function(a,b,c,d,e,f){a.getCompany=function(){return f.get({id:d.id}).$promise.then(function(b){a.company=b})["catch"](function(a){e.path("/contactmanager/companies/list")})},a.updateCompany=function(){return f.update({id:d.id},a.company).$promise.then(function(){b.show(c.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){b.show(c.instant(a.message),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.contactmanager.companies.view",{url:"/view/:id",templateUrl:"app/contactmanager/company/view/view.html",controller:"ContactManagerCompanyViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.contactmanager.companies.view.settings",{url:"/settings",templateUrl:"app/contactmanager/company/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").factory("Contact",["$resource",function(a){return a("/api/contactmanager/contacts/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.contactmanager.contacts",{url:"/contacts",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ContactManagerListImportModalCtrl",["$scope","$uibModalInstance","indexes","csv","xAlert","socket","List","Contact","$translate",function(a,b,c,d,e,f,g,h,i){function j(b){if(b>=a.csvLength||a.stopped)return void(a.importing=!1);for(var c,f=[],g=b;b+200>g&&g
","abstract":!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:5}}})}]),angular.module("xCallyShuttleApp").factory("List",["$resource",function(a){return a("/api/contactmanager/lists/:listId/:controller/:id",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.contactmanager.lists",{url:"/lists",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:5}}})}]),angular.module("xCallyShuttleApp").controller("ContactManagerListListCreateModalCtrl",["$scope","$uibModalInstance",function(a,b){a.forms={dashboard:void 0},a.item={},a.ok=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("ContactManagerListListCtrl",["$scope","$http","$translate","Modal","xAlert","$uibModal","$log","List","gridOptions",function(a,b,c,d,e,f,g,h,i){a.initView=function(){var b={exporterCsvFilename:"Lists.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:190,buttons:[{"class":"blue-hoki",name:"settings",href:"/contactmanager/lists/view/{{row.entity.id}}/settings"},{"class":"{{row.entity.defaultEntry ? 'red-sunglo disabled' : 'red-sunglo'}}",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"},{"class":"green-turquoise",name:"contacts",uisref:"main.contactmanager.contacts.list({listId:{{row.entity.id}}})"}]}]};a.gridOptions=i.gridOptions(h,b,a)},a.create=function(){var d=f.open({animation:!0,templateUrl:"app/contactmanager/list/list/create.modal.html",controller:"ContactManagerListListCreateModalCtrl"});d.result.then(function(d){b.post("/api/contactmanager/lists/",d).then(function(b){a.gridOptions.getPage(),e.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){e.show(a.data.message,"danger")})},function(){g.info("Modal dismissed at: "+new Date)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.contactmanager.lists.list",{url:"/list",templateUrl:"app/contactmanager/list/list/list.html",controller:"ContactManagerListListCtrl"})}]),angular.module("xCallyShuttleApp").controller("ContactManagerListCustomFieldViewCreateModalCtrl",["$scope","$uibModalInstance","$translate",function(a,b,c){a.$translate=c,a.forms={dashboard:void 0},a.item={},a.choices=[{value:""}],a.addField=function(){a.choices.push({})},a.removeField=function(b){a.choices.splice(b,1)},a.types=[{name:"APPLICATION_TEXT",value:"text"},{name:"APPLICATION_SELECT",value:"select"}],a.ok=function(){"select"===a.item.type&&(a.item.values=angular.toJson(a.choices)),b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("ContactManagerListViewCtrl",["$scope","xAlert","$translate","$stateParams","socket","$location","$uibModal","$log","Modal","List","Team","gridOptions",function(a,b,c,d,e,f,g,h,i,j,k,l){var m=function(){return{select:function(b){return j.save({listId:a.list.id,controller:"agents"},{agents:b}).$promise.then(function(){a.getTeams()})["catch"](function(a){console.log(a)})},deselect:function(b){return j["delete"]({listId:a.list.id,controller:"agents",agents:b}).$promise.then(function(){a.getTeams()})["catch"](function(a){console.log(a)})}}};a.getList=function(){return j.get({listId:d.id}).$promise.then(function(b){a.list=b})["catch"](function(a){f.path("/contactmanager/lists/list")})},a.updateList=function(){return j.update({id:d.id},a.list).$promise.then(function(){b.show(c.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){b.show(c.instant(a.message),"danger")})},a.getTeams=function(){return k.get({controller:"associations"}).$promise.then(function(b){return a.teams=b.rows,a.list?void 0:a.getList()}).then(function(){return a.list.defaultEntry&&f.path("/contactmanager/lists/list"),j.get({listId:d.id,controller:"agents"}).$promise}).then(function(b){ComponentsDropdowns.bindQueue(a.teams,_.map(b.rows,function(a){return{id:a.id}}),m)})["catch"](function(a){console.error(a)})},a.initCustomFields=function(){var b={exporterCsvFilename:"customfields.csv",primaryKey:"id",columnDefs:[{name:"alias",displayName:"APPLICATION_NAME"},{name:"name",displayName:"APPLICATION_FIELD"},{name:"type"},{name:"description"},{name:"action",width:200,buttons:[{"class":"blue-hoki",href:"/contactmanager/lists/view/{{grid.appScope.$stateParams.id}}/customfields/settings/{{row.entity.id}}",name:"settings"},{"class":"red-sunglo",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)",name:"delete"}]}]};a.gridOptions=l.gridOptions(j,b,a,{listId:d.id,controller:"customfields"})},a.create=function(){var e=g.open({animation:!0,templateUrl:"app/contactmanager/list/view/create.modal.html",controller:"ContactManagerListCustomFieldViewCreateModalCtrl"});e.result.then(function(e){return j.save({listId:d.id,controller:"customfields"},e).$promise.then(function(d){a.gridOptions.getPage(),b.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){b.show(a.message||a.data.message,"danger")})},function(){h.info("Modal dismissed at: "+new Date)})},a.getCustomField=function(){return j.get({listId:d.id,controller:"customfields",id:d.cfId}).$promise.then(function(b){console.log(b),a.customField=b,"select"===a.customField.type&&(a.choices=JSON.parse(a.customField.values))})["catch"](function(a){console.error(a)})},a.updateCustomField=function(){var e=angular.copy(a.customField);return"select"===e.type&&(e.values=angular.toJson(a.choices)),j.update({listId:d.id,controller:"customfields",id:d.cfId},e).$promise.then(function(){b.show(c.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){b.show(c.instant(a.message),"danger")})},a.addField=function(){a.choices.push({})},a.removeField=function(b){a.choices.splice(b,1)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.contactmanager.lists.view",{url:"/view/:id",templateUrl:"app/contactmanager/list/view/view.html",controller:"ContactManagerListViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.contactmanager.lists.view.settings",{url:"/settings",templateUrl:"app/contactmanager/list/view/view.settings.html"}).state("main.contactmanager.lists.view.agents",{url:"/agents",templateUrl:"app/contactmanager/list/view/view.agents.html",cache:!1,serie:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}}).state("main.contactmanager.lists.view.customfields",{url:"/customfields",templateUrl:"app/contactmanager/list/view/view.customFields.html"}).state("main.contactmanager.lists.view.customfields.settings",{url:"/settings/:cfId",templateUrl:"app/contactmanager/list/view/view.customFieldSettings.html",controller:"ContactManagerListViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("DashboardChatCtrl",["$scope","Auth","ReportChatRoom","socket","Agent","$q","$translate","ReportChatSession","$timeout",function(a,b,c,d,e,f,g,h,i){a.Auth=b,a.moment=moment;var j=function(a){var b=a?30*a+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.initAgent=function(){a.table1={enableGridMenu:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,multiSelect:!0,columnDefs:[{name:"UserHasChatQueue.queue",headerCellFilter:"translate",displayName:"APPLICATION_QUEUE",cellClass:"text-center ui-grid-vcenter"}],data:[],onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){j(a.gridApi.core.getVisibleRows(a.gridApi.grid).length)})}},a.table2={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"uniqueid",displayName:"APPLICATION_UNIQUEID",headerCellFilter:"translate"},{name:"websitename",displayName:"APPLICATION_WEBSITE",headerCellFilter:"translate"},{name:"application",displayName:"APPLICATION_APPLICATION",headerCellFilter:"translate"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}{{\'APPLICATION_QUEUESTATUS_ABANDON\' | translate}}{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}{{\'APPLICATION_UNMANAGED\' | translate}} [{{hhours}}:{{mminutes}}:{{sseconds}}]
',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"membername",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.membername || ''}}
"},{name:"queuename",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.queuename || ''}}
" -}],data:[],gridMenuTitleFilter:function(a){var b=f.defer();return b.resolve(g.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){j(a.table2.data.length)})}},e.get({id:b.getCurrentUser().id,controller:"chat",controller1:"queues"}).$promise.then(function(b){a.table1.data=b.rows})["finally"](function(){d.socket.on("user_has_chat_queue:save",function(c){c.UserId!=b.getCurrentUser().id||_.find(a.table1.data,{id:c.ChatQueueId})||a.table1.data.push({id:c.ChatQueueId,UserHasChatQueue:c})}),d.socket.on("user_has_chat_queue:remove",function(c){c.UserId===b.getCurrentUser().id&&_.remove(a.table1.data,{id:c.ChatQueueId})})})["catch"](function(a){console.error(a)}),h.get({controller:"waiting",controller2:"applications"}).$promise.then(function(b){a.table2.data=b.rows})["finally"](function(){d.socket.on("report_chat_session:save",function(b){var c=_.find(a.table2.data,{id:b.id});c?(_.merge(c,b),b.leaveAt&&i(function(){_.remove(a.table2.data,{id:b.id})},1e4)):b.leaveAt||a.table2.data.push(b)}),d.socket.on("report_chat_session:remove",function(b){_.remove(a.table2.data,{id:b.id})})})["catch"](function(a){console.log(a)})},a.initOpen=function(){return c.get({id:"open"}).$promise.then(function(b){a.open=b.value,d.socket.on("chat_dashboard:open",function(b){a.open=b.value})})["catch"](function(a){console.error(a)})},a.initClosed=function(){return c.get({id:"closed"}).$promise.then(function(b){a.closed=b.value,d.socket.on("chat_dashboard:closed",function(b){a.closed=b.value})})["catch"](function(a){console.error(a)})},a.initNew=function(){return c.get({id:"new"}).$promise.then(function(b){a["new"]=b.value,d.socket.on("chat_dashboard:new",function(b){a["new"]=b.value})})["catch"](function(a){console.error(a)})},a.initUnmanaged=function(){return c.get({id:"unmanaged"}).$promise.then(function(b){a.unmanaged=b.value,d.socket.on("chat_dashboard:unmanaged",function(b){a.umanaged=b.value})})["catch"](function(a){console.error(a)})},a.initAbandoned=function(){return c.get({id:"abandoned"}).$promise.then(function(b){a.abandoned=b.value,d.socket.on("chat_dashboard:unmanaged",function(b){a.abandoned=b.value})})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").controller("DashboardCtrl",["$scope","$translate","Auth",function(a,b,c){a.Auth=c}]),angular.module("xCallyShuttleApp").factory("Dashboard",["$resource",function(a){return a("/api/dashboards/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.dashboard",{"abstract":!0,url:"/dashboard",templateUrl:"app/dashboard/dashboard.html",controller:"DashboardCtrl",data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:1}}}).state("main.dashboard.voice",{url:"/voice",controller:"DashboardVoiceCtrl",templateUrl:"app/dashboard/voice/voice.html"}).state("main.dashboard.chat",{url:"/chat",controller:"DashboardChatCtrl",templateUrl:"app/dashboard/chat/chat.html",data:{permissions:{redirectTo:"landing",id:8}}}).state("main.dashboard.mail",{url:"/mail",controller:"DashboardMailCtrl",templateUrl:"app/dashboard/mail/mail.html",data:{permissions:{redirectTo:"landing",id:9}}}).state("main.dashboard.fax",{url:"/fax",controller:"DashboardFaxCtrl",templateUrl:"app/dashboard/fax/fax.html",data:{permissions:{redirectTo:"landing",id:10}}}).state("main.dashboard.sms",{url:"/sms",controller:"DashboardSmsCtrl",templateUrl:"app/dashboard/sms/sms.html",data:{permissions:{redirectTo:"landing",id:11}}})}]),angular.module("xCallyShuttleApp").controller("DashboardFaxCtrl",["$scope","Auth","ReportFaxRoom","socket","Agent","$translate","$q","ReportFaxSession","$timeout",function(a,b,c,d,e,f,g,h,i){a.Auth=b,a.moment=moment,a.initAgent=function(){a.table1={enableGridMenu:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,multiSelect:!0,columnDefs:[{name:"UserHasFaxQueue.queue",headerCellFilter:"translate",displayName:"APPLICATION_QUEUE",cellClass:"text-center ui-grid-vcenter"}],data:[],onRegisterApi:function(b){a.gridApi=b}},a.table2={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"uniqueid",displayName:"APPLICATION_UNIQUEID",headerCellFilter:"translate"},{name:"accountname",displayName:"APPLICATION_ACCOUNT",headerCellFilter:"translate"},{name:"application",displayName:"APPLICATION_APPLICATION",headerCellFilter:"translate"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}{{\'APPLICATION_QUEUESTATUS_ABANDON\' | translate}}{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}{{\'APPLICATION_UNMANAGED\' | translate}} [{{hhours}}:{{mminutes}}:{{sseconds}}]
',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"membername",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.membername || ''}}
"},{name:"queuename",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.queuename || ''}}
"}],data:[],gridMenuTitleFilter:function(a){var b=g.defer();return b.resolve(f.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b}},e.get({id:b.getCurrentUser().id,controller:"fax",controller1:"queues"}).$promise.then(function(b){a.table1.data=b.rows})["finally"](function(){d.socket.on("user_has_fax_queue:save",function(c){c.UserId!=b.getCurrentUser().id||_.find(a.table1.data,{id:c.FaxQueueId})||a.table1.data.push({id:c.FaxQueueId,UserHasFaxQueue:c})}),d.socket.on("user_has_fax_queue:remove",function(c){c.UserId===b.getCurrentUser().id&&_.remove(a.table1.data,{id:c.FaxQueueId})})})["catch"](function(a){console.error(a)})},h.get({controller:"waiting",controller2:"applications"}).$promise.then(function(b){a.table2.data=b.rows})["finally"](function(){d.socket.on("report_fax_session:save",function(b){var c=_.find(a.table2.data,{id:b.id});c?(_.merge(c,b),b.leaveAt&&i(function(){_.remove(a.table2.data,{id:b.id})},1e4)):b.leaveAt||a.table2.data.push(b)}),d.socket.on("report_fax_session:remove",function(b){_.remove(a.table2.data,{id:b.id})})})["catch"](function(a){console.log(a)}),a.initOpen=function(){return c.get({id:"open"}).$promise.then(function(b){a.open=b.value,d.socket.on("fax_dashboard:open",function(b){a.open=b.value})})["catch"](function(a){console.error(a)})},a.initClosed=function(){return c.get({id:"closed"}).$promise.then(function(b){a.closed=b.value,d.socket.on("fax_dashboard:closed",function(b){a.closed=b.value})})["catch"](function(a){console.error(a)})},a.initNew=function(){return c.get({id:"new"}).$promise.then(function(b){a["new"]=b.value,d.socket.on("fax_dashboard:new",function(b){a["new"]=b.value})})["catch"](function(a){console.error(a)})},a.initUnmanaged=function(){return c.get({id:"unmanaged"}).$promise.then(function(b){a.unmanaged=b.value,d.socket.on("fax_dashboard:unmanaged",function(b){a.umanaged=b.value})})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").controller("DashboardMailCtrl",["$scope","Auth","ReportMailRoom","socket","Agent","$translate","$q","ReportMailSession","$timeout",function(a,b,c,d,e,f,g,h,i){a.Auth=b,a.moment=moment,a.initAgent=function(){a.table1={enableGridMenu:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,multiSelect:!0,columnDefs:[{name:"UserHasMailQueue.queue",headerCellFilter:"translate",displayName:"APPLICATION_QUEUE",cellClass:"text-center ui-grid-vcenter"}],data:[],onRegisterApi:function(b){a.gridApi=b}},a.table2={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"uniqueid",displayName:"APPLICATION_UNIQUEID",headerCellFilter:"translate"},{name:"accountname",displayName:"APPLICATION_ACCOUNT",headerCellFilter:"translate"},{name:"application",displayName:"APPLICATION_APPLICATION",headerCellFilter:"translate"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}{{\'APPLICATION_QUEUESTATUS_ABANDON\' | translate}}{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}{{\'APPLICATION_UNMANAGED\' | translate}} [{{hhours}}:{{mminutes}}:{{sseconds}}]
',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"membername",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.membername || ''}}
"},{name:"queuename",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.queuename || ''}}
"}],data:[],gridMenuTitleFilter:function(a){var b=g.defer();return b.resolve(f.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){reSize(a.table2.data.length)})}},e.get({id:b.getCurrentUser().id,controller:"mail",controller1:"queues"}).$promise.then(function(b){a.table1.data=b.rows})["finally"](function(){d.socket.on("user_has_mail_queue:save",function(c){c.UserId!=b.getCurrentUser().id||_.find(a.table1.data,{id:c.MailQueueId})||a.table1.data.push({id:c.MailQueueId,UserHasMailQueue:c})}),d.socket.on("user_has_mail_queue:remove",function(c){console.log(c),c.UserId===b.getCurrentUser().id&&_.remove(a.table1.data,{id:c.MailQueueId})})})["catch"](function(a){console.error(a)}),h.get({controller:"waiting",controller2:"applications"}).$promise.then(function(b){a.table2.data=b.rows})["finally"](function(){d.socket.on("report_mail_session:save",function(b){var c=_.find(a.table2.data,{id:b.id});c?(_.merge(c,b),b.leaveAt&&i(function(){_.remove(a.table2.data,{id:b.id})},1e4)):b.leaveAt||a.table2.data.push(b)}),d.socket.on("report_mail_session:remove",function(b){_.remove(a.table2.data,{id:b.id})})})["catch"](function(a){console.log(a)})},a.initOpen=function(){return c.get({id:"open"}).$promise.then(function(b){a.open=b.value,d.socket.on("mail_dashboard:open",function(b){a.open=b.value})})["catch"](function(a){console.error(a)})},a.initClosed=function(){return c.get({id:"closed"}).$promise.then(function(b){a.closed=b.value,d.socket.on("mail_dashboard:closed",function(b){a.closed=b.value})})["catch"](function(a){console.error(a)})},a.initNew=function(){return c.get({id:"new"}).$promise.then(function(b){a["new"]=b.value,d.socket.on("mail_dashboard:new",function(b){a["new"]=b.value})})["catch"](function(a){console.error(a)})},a.initUnmanaged=function(){return c.get({id:"unmanaged"}).$promise.then(function(b){a.unmanaged=b.value,d.socket.on("mail_dashboard:unmanaged",function(b){a.umanaged=b.value})})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").controller("DashboardSmsCtrl",["$scope","Auth","ReportSmsRoom","socket","Agent","$translate","$q","ReportSmsSession","$timeout",function(a,b,c,d,e,f,g,h,i){a.Auth=b,a.moment=moment,a.initAgent=function(){a.table1={enableGridMenu:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,multiSelect:!0,columnDefs:[{name:"UserHasSmsQueue.queue",headerCellFilter:"translate",displayName:"APPLICATION_QUEUE",cellClass:"text-center ui-grid-vcenter"}],data:[],onRegisterApi:function(b){a.gridApi=b}},a.table2={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"uniqueid",displayName:"APPLICATION_UNIQUEID",headerCellFilter:"translate"},{name:"accountname",displayName:"APPLICATION_ACCOUNT",headerCellFilter:"translate"},{name:"application",displayName:"APPLICATION_APPLICATION",headerCellFilter:"translate"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}{{\'APPLICATION_QUEUESTATUS_ABANDON\' | translate}}{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}{{\'APPLICATION_UNMANAGED\' | translate}} [{{hhours}}:{{mminutes}}:{{sseconds}}]
',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"membername",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.membername || ''}}
"},{name:"queuename",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.queuename || ''}}
"}],data:[],gridMenuTitleFilter:function(a){var b=g.defer();return b.resolve(f.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b}},e.get({id:b.getCurrentUser().id,controller:"sms",controller1:"queues"}).$promise.then(function(b){a.table1.data=b.rows})["finally"](function(){d.socket.on("user_has_sms_queue:save",function(c){c.UserId!=b.getCurrentUser().id||_.find(a.table1.data,{id:c.SmsQueueId})||a.table1.data.push({id:c.SmsQueueId,UserHasSmsQueue:c})}),d.socket.on("user_has_sms_queue:remove",function(c){c.UserId===b.getCurrentUser().id&&_.remove(a.table1.data,{id:c.SmsQueueId})})})["catch"](function(a){console.error(a)}),h.get({controller:"waiting",controller2:"applications"}).$promise.then(function(b){a.table2.data=b.rows})["finally"](function(){d.socket.on("report_sms_session:save",function(b){var c=_.find(a.table2.data,{id:b.id});c?(_.merge(c,b),b.leaveAt&&i(function(){_.remove(a.table2.data,{id:b.id})},1e4)):b.leaveAt||a.table2.data.push(b)}),d.socket.on("report_sms_session:remove",function(b){_.remove(a.table2.data,{id:b.id})})})["catch"](function(a){console.log(a)})},a.initOpen=function(){return c.get({id:"open"}).$promise.then(function(b){a.open=b.value,d.socket.on("sms_dashboard:open",function(b){a.open=b.value})})["catch"](function(a){console.error(a)})},a.initClosed=function(){return c.get({id:"closed"}).$promise.then(function(b){a.closed=b.value,d.socket.on("sms_dashboard:closed",function(b){a.closed=b.value})})["catch"](function(a){console.error(a)})},a.initNew=function(){return c.get({id:"new"}).$promise.then(function(b){a["new"]=b.value,d.socket.on("sms_dashboard:new",function(b){a["new"]=b.value})})["catch"](function(a){console.error(a)})},a.initUnmanaged=function(){return c.get({id:"unmanaged"}).$promise.then(function(b){a.unmanaged=b.value,d.socket.on("sms_dashboard:unmanaged",function(b){a.umanaged=b.value})})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").controller("DashboardVoiceCtrl",["$scope","Auth","ReportQueue","ReportCall","Agent","socket",function(a,b,c,d,e,f){a.Auth=b;var g=function(a){var b=a?30*a+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.initAgent=function(){a.table1={enableGridMenu:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,multiSelect:!0,columnDefs:[{name:"UserHasVoiceQueue.queue",headerCellFilter:"translate",displayName:"APPLICATION_QUEUE",cellClass:"text-center ui-grid-vcenter"},{name:"UserHasVoiceQueue.loggedAt",displayName:"logged At",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
'},{name:"UserHasVoiceQueue.lastcall",headerCellFilter:"translate",displayName:"APPLICATION_LAST_CALL",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
'},{name:"UserHasVoiceQueue.callstaken",headerCellFilter:"translate",displayName:"APPLICATION_CALLS_TAKEN",cellClass:"text-center ui-grid-vcenter"}],data:[],onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){g(a.gridApi.core.getVisibleRows(a.gridApi.grid).length)})}},a.table2={enableGridMenu:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,multiSelect:!0,columnDefs:[{name:"calleridnum",headerCellFilter:"translate",displayName:"APPLICATION_NUMBER",cellClass:"text-center ui-grid-vcenter"},{name:"calleridname",headerCellFilter:"translate",displayName:"APPLICATION_NAME",cellClass:"text-center ui-grid-vcenter"},{name:"queue",headerCellFilter:"translate",displayName:"APPLICATION_QUEUE",cellClass:"text-center ui-grid-vcenter"}],data:[],onRegisterApi:function(b){a.gridApi1=b,a.gridApi1.grid.registerDataChangeCallback(function(){g(a.gridApi1.core.getVisibleRows(a.gridApi1.grid).length)})}},e.get({id:b.getCurrentUser().id,controller:"voice",controller1:"queues"}).$promise.then(function(b){a.table1.data=b.rows})["finally"](function(){f.socket.on("user_has_voice_queue:save",function(c){if(c.UserId===b.getCurrentUser().id){var d=_.findIndex(a.table1.data,{name:c.queue});d>-1?(a.table1.data[d].UserHasVoiceQueue.loggedAt=c.loggedAt,a.table1.data[d].UserHasVoiceQueue.lastcall=c.lastcall,a.table1.data[d].UserHasVoiceQueue.callstaken=c.callstaken):(c.callstaken=0,a.table1.data.push({name:c.queue,UserHasVoiceQueue:c}))}}),f.socket.on("user_has_voice_queue:remove",function(c){c.UserId===b.getCurrentUser().id&&_.remove(a.table1.data,{name:c.queue})})})["catch"](function(a){console.error(a)}),c.get({id:"waiting",controller:"list"}).$promise.then(function(b){a.table2.data=b.rows})["finally"](function(){f.socket.on("report_queue:save",function(b){b.queuecallerleaveAt?_.remove(a.table2.data,{id:b.id}):_.find(a.table1.data,{name:b.queue})&&a.table2.data.push(b)})})["catch"](function(a){console.error(a)})},a.initWaiting=function(){return c.get({id:"waiting"}).$promise.then(function(b){a.waiting=b.value,f.socket.on("dashboard:waiting",function(b){a.waiting=b.value})})["catch"](function(a){console.error(a)})},a.initActive=function(){return c.get({id:"active"}).$promise.then(function(b){a.active=b.value,f.socket.on("dashboard:active",function(b){a.active=b.value})})["catch"](function(a){console.error(a)})},a.initAnswered=function(){return c.get({id:"answered"}).$promise.then(function(b){a.answered=b.value,f.socket.on("dashboard:answered",function(b){a.answered=b.value})})["catch"](function(a){console.error(a)})},a.initAbandoned=function(){return c.get({id:"abandoned"}).$promise.then(function(b){a.abandoned=b.value,f.socket.on("dashboard:abandoned",function(b){a.abandoned=b.value})})["catch"](function(a){console.error(a)})},a.initAvgAnswerTime=function(){return c.get({id:"avganswertime"}).$promise.then(function(b){a.avganswertime=b.value,f.socket.on("dashboard:avganswertime",function(b){a.avganswertime=b.value})})["catch"](function(a){console.error(a)})},a.initAvgTalkTime=function(){return c.get({id:"avgtalktime"}).$promise.then(function(b){a.avgtalktime=b.value,f.socket.on("dashboard:avgtalktime",function(b){a.avgtalktime=b.value})})["catch"](function(a){console.error(a)})},a.initAnswerRate=function(){return c.get({id:"answerrate"}).$promise.then(function(b){a.answerrate=b.value,f.socket.on("dashboard:answerrate",function(b){a.answerrate=b.value})})["catch"](function(a){console.error(a)})},a.initTotalOffered=function(){return c.get({id:"totaloffered"}).$promise.then(function(b){a.totaloffered=b.value,f.socket.on("dashboard:totaloffered",function(b){a.totaloffered=b.value})})["catch"](function(a){console.error(a)})},a.initUnmanaged=function(){return c.get({id:"unmanaged"}).$promise.then(function(b){a.unmanaged=b.value,f.socket.on("dashboard:unmanaged",function(b){a.unmanaged=b.value})})["catch"](function(a){console.error(a)})},a.initAbandonRate=function(){return c.get({id:"abandonrate"}).$promise.then(function(b){a.abandonrate=b.value,f.socket.on("dashboard:abandonrate",function(b){a.abandonrate=b.value})})["catch"](function(a){console.error(a)})},a.initManualOutbound=function(){return d.get({id:"manualoutbound"}).$promise.then(function(b){a.manualoutbound=b.value,f.socket.on("dashboard:manualoutbound",function(b){a.manualoutbound=b.value})})["catch"](function(a){console.error(a)})},a.initManualOutboundGlobalDuration=function(){return d.get({id:"manualoutboundglobalduration"}).$promise.then(function(b){a.manualoutboundglobalduration=b.value,f.socket.on("dashboard:manualoutboundglobalduration",function(b){a.manualoutboundglobalduration=b.value})})["catch"](function(a){console.error(a)})},a.initManualOutboundAvgDuration=function(){return d.get({id:"manualoutboundavgduration"}).$promise.then(function(b){a.manualoutboundavgduration=b.value,f.socket.on("dashboard:manualoutboundavgduration",function(b){a.manualoutboundavgduration=b.value})})["catch"](function(a){console.error(a)})},a.initManualOutboundAnswered=function(){return d.get({id:"manualoutboundanswered"}).$promise.then(function(b){a.manualoutboundanswered=b.value,f.socket.on("dashboard:manualoutboundanswered",function(b){a.manualoutboundanswered=b.value})})["catch"](function(a){console.error(a)})},a.initManualOutboundAnswerRate=function(){return d.get({id:"manualoutboundanswerrate"}).$promise.then(function(b){a.manualoutboundanswerrate=b.value,f.socket.on("dashboard:manualoutboundanswerrate",function(b){a.manualoutboundanswerrate=b.value})})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.desk",{url:"/desk",template:"
","abstract":!0,data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").factory("DeskAccount",["$resource",function(a){return a("/api/desk/accounts/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("DeskListCtrl",["$scope","$http","$rootScope","xAlert","$translate","socket","Modal","stResource",function(a,b,c,d,e,f,g,h){a.conf={accountsByPage:{name:"10",value:10}},a.accountsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.accounts={checked:[]},a.check=function(b,c){c?a.accounts.checked=angular.copy(_.map(a.displayedDeskAccounts,"id")):a.accounts.checked=[]},a.getAccounts=function(b){return _.map(a.displayedDeskAccounts,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){f.unsyncUpdates("desk_account"),b.url="/api/desk/accounts",h.getPage(b).then(function(d){a.displayedDeskAccounts=d.rows,b.pagination.numberOfPages=d.total_pages,c.updateTableConfig(a.accountsByPage,a.displayedDeskAccounts.length),c.updateTableConfig(a.conf.accountsByPage,a.displayedDeskAccounts.length)}),f.socket.on("desk_account:save",function(){a.initList(b)}),f.socket.on("desk_account:remove",function(c){a.accounts.checked=_.without(a.accounts.checked,c.id),a.initList(b)})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/desk/accounts/"+a).success(function(){d.show(e.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){d.show(e.instant(a.message),"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/desk/accounts",{params:{id:a.accounts.checked}}).success(function(){d.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){d.show(e.instant(a.message),"danger")})}),a.checkAccount=function(a){b.get("/api/desk/accounts/"+a+"/check").then(function(){d.show(e.instant("MESSAGE_ACCOUNT_VERIFIED"),"success")})["catch"](function(){d.show(e.instant("MESSAGE_ACCOUNT_INVALID"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.desk.list",{url:"/list",templateUrl:"app/desk/list/list.html",controller:"DeskListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("DeskViewCtrl",["$scope","$http","$stateParams","$translate","$location","WizardHandler","socket","xAlert","Modal","desk_com",function(a,b,c,d,e,f,g,h,i,j){a.$stateParams=c,a.config={autoHideScrollbar:!1,theme:"dark",advanced:{updateOnContentResize:!0},setHeight:500,scrollInertia:0},a.initConfiguration=function(){a.formsConfiguration={},a.configuration={}},a.goNext=function(){f.wizard().next()},a.formValidation=function(a){return a},a.$on("$destroy",function(){g.unsyncUpdates("desk_configuration"),g.unsyncUpdates("desk_field")}),a.initView=function(){b.get("/api/desk/accounts/"+c.id).success(function(b){a.account=b}).error(function(a){h.show(a.message,"danger")})},a.updateItem=function(){b.put("/api/desk/accounts/"+c.id,a.account).success(function(){h.show(d.instant("MESSAGE_WELL_DONE")+".","success")}).error(function(){h.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})},a.getConfigurations=function(){b.get("/api/desk/configurations",{params:{AccountId:c.id}}).success(function(b){a.configurations=b,g.socket.on("desk_configuration:remove",function(b){_.remove(a.configurations,{id:b.id})})}).error(function(a){h.show(a.message,"danger")})},a.deleteConfiguration=i.confirm["delete"](function(a){b["delete"]("api/desk/configurations/"+a).success(function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(){h.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}),a.createConfiguration=function(){a.configuration.AccountId=c.id,b.post("api/desk/configurations",a.configuration).success(function(a){e.path("desk/view/"+c.id+"/configurations/settings/"+a.id)}).error(function(){h.show("Something went wrong!","danger")})},a.fieldType=["string","variable"],a.descFieldType=["string","key_value"],a.getFields=function(){b.get("/api/desk/accounts/"+c.id+"/fields").success(function(b){a.accountFields=j.fields.concat(b)}).error(function(a){h.show(a.message,"danger")})},a.getConfiguration=function(){b.get("/api/desk/configurations/"+c.configurationId).success(function(b){a.configurationName=b.name,a.subjectConfig=b.Subject,a.descriptionConfig=b.Description,a.fieldConfig=b.Field,g.socket.on("desk_field:remove",function(b){_.remove(a.subjectConfig,{id:b.id}),_.remove(a.descriptionConfig,{id:b.id}),_.remove(a.fieldConfig,{id:b.id})})}).error(function(a){h.show(a.message,"danger")})},a.getVariables=function(){b.get("/api/variables").success(function(b){a.variables=b.rows}).error(function(a){h.show(a.message,"danger")})},a.removeItem=function(a){b["delete"]("api/desk/fields/"+a.id).success(function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(){h.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.addItemSubject=function(){var d={type:"string",content:""};b.post("/api/desk/configurations/"+c.configurationId+"/subject",d).success(function(b){a.subjectConfig.push(b)}).error(function(){h.show("Something went wrong!","danger")})},a.addItemDescription=function(){var d={type:"string",content:""};b.post("/api/desk/configurations/"+c.configurationId+"/description",d).success(function(b){a.descriptionConfig.push(b)}).error(function(){h.show("Something went wrong!","danger")})},a.addItemField=function(){var d={content:""};b.post("/api/desk/configurations/"+c.configurationId+"/field",d).success(function(b){a.fieldConfig.push(b)}).error(function(){h.show("Something went wrong!","danger")})},a.updateField=function(a){b.put("/api/desk/fields/"+a.id,a).success(function(){}).error(function(){h.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})},a.changeType=function(b){"variable"===b.type?b.content="":"string"===b.type&&(b.VariableId=null),a.updateField(b)},a.changeDescType=function(b){"key_value"===b.type?(b.content="","string"===b.keyType?b.VariableId=null:"variable"===b.keyType&&(b.keyContent="")):"string"===b.type&&(b.VariableId=null,b.key="",b.keyContent=""),a.updateField(b)},a.changeFieldType=function(b){if(b.content="",b.idField){var c=_.find(a.accountFields,"id",b.idField);c&&(b.customField=_.result(c,"custom",!0))}a.updateField(b)},a.getSystemFieldOptions=function(b){if(b){var c=_.find(a.accountFields,"id",b);return c?c.data.choices?c.data.choices:null:void 0}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.desk.view",{url:"/view/:id",templateUrl:"app/desk/view/view.html",controller:"DeskViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.desk.view.account",{url:"/account",templateUrl:"app/desk/view/view.account.html"}).state("main.desk.view.configurations",{url:"/configurations",templateUrl:"app/desk/view/view.configurations.html"}).state("main.desk.view.configurations.settings",{url:"/settings/:configurationId",templateUrl:"app/desk/view/view.configurationSettings.html",controller:"DeskViewCtrl"}).state("main.desk.view.configuration",{url:"/configuration",templateUrl:"app/desk/view/view.configuration.html"})}]),angular.module("xCallyShuttleApp").controller("DeskWizardCtrl",["$scope","$http","$location","$translate","xAlert","WizardHandler",function(a,b,c,d,e,f){a.translate=d,a.initWizard=function(){a.$translate=d,a.forms={},a.item={}},a.next=function(){f.wizard().next()},a.exitValidation=function(a){return a},a.createItem=function(){console.log(a.item),b.post("api/desk/accounts",a.item).success(function(){e.show(d.instant("MESSAGE_WELL_DONE")+".","success"),c.path("/desk/list")}).error(function(){e.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.desk.wizard",{url:"/wizard",templateUrl:"app/desk/wizard/wizard.html",controller:"DeskWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.freshdesk",{url:"/freshdesk",template:"
","abstract":!0,data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").factory("FreshdeskAccount",["$resource",function(a){return a("/api/freshdesk/accounts/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("FreshdeskListCtrl",["$scope","$http","$rootScope","xAlert","$translate","socket","Modal","stResource",function(a,b,c,d,e,f,g,h){a.conf={accountsByPage:{name:"10",value:10}},a.accountsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.accounts={checked:[]},a.check=function(b,c){c?a.accounts.checked=angular.copy(_.map(a.displayedFreshdeskAccounts,"id")):a.accounts.checked=[]},a.getAccounts=function(b){return _.map(a.displayedFreshdeskAccounts,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){f.unsyncUpdates("freshdesk_account"),b.url="/api/freshdesk/accounts",h.getPage(b).then(function(d){a.displayedFreshdeskAccounts=d.rows,b.pagination.numberOfPages=d.total_pages,c.updateTableConfig(a.accountsByPage,a.displayedFreshdeskAccounts.length),c.updateTableConfig(a.conf.accountsByPage,a.displayedFreshdeskAccounts.length)}),f.socket.on("freshdesk_account:save",function(){a.initList(b)}),f.socket.on("freshdesk_account:remove",function(c){a.accounts.checked=_.without(a.accounts.checked,c.id), -a.initList(b)})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/freshdesk/accounts/"+a).success(function(){d.show(e.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){d.show(e.instant(a.message),"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/freshdesk/accounts",{params:{id:a.accounts.checked}}).success(function(){d.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){d.show(e.instant(a.message),"danger")})}),a.checkAccount=function(a){b.get("/api/freshdesk/accounts/"+a+"/check").then(function(){d.show(e.instant("MESSAGE_ACCOUNT_VERIFIED"),"success")})["catch"](function(){d.show(e.instant("MESSAGE_ACCOUNT_INVALID"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.freshdesk.list",{url:"/list",templateUrl:"app/freshdesk/list/list.html",controller:"FreshdeskListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("FreshdeskViewCtrl",["$scope","$http","$stateParams","$translate","$location","$filter","WizardHandler","socket","xAlert","Modal",function(a,b,c,d,e,f,g,h,i,j){a.$stateParams=c,a.config={autoHideScrollbar:!1,theme:"dark",advanced:{updateOnContentResize:!0},setHeight:500,scrollInertia:0},a.initConfiguration=function(){a.formsConfiguration={},a.configuration={}},a.goNext=function(){g.wizard().next()},a.formValidation=function(a){return a},a.$on("$destroy",function(){h.unsyncUpdates("freshdesk_configuration"),h.unsyncUpdates("freshdesk_field")}),a.initView=function(){b.get("/api/freshdesk/accounts/"+c.id).success(function(b){a.account=b}).error(function(a){i.show(a.message,"danger")})},a.updateItem=function(){b.put("/api/freshdesk/accounts/"+c.id,a.account).success(function(){i.show(d.instant("MESSAGE_WELL_DONE")+".","success")}).error(function(){i.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})},a.getConfigurations=function(){b.get("/api/freshdesk/configurations",{params:{AccountId:c.id}}).success(function(b){a.configurations=b,h.socket.on("freshdesk_configuration:remove",function(b){_.remove(a.configurations,{id:b.id})})}).error(function(a){i.show(a.message,"danger")})},a.deleteConfiguration=j.confirm["delete"](function(a){b["delete"]("api/freshdesk/configurations/"+a).success(function(){i.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(){i.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}),a.createConfiguration=function(){a.configuration.AccountId=c.id,b.post("api/freshdesk/configurations",a.configuration).success(function(a){e.path("freshdesk/view/"+c.id+"/configurations/settings/"+a.id)}).error(function(){i.show("Something went wrong!","danger")})},a.fieldType=["string","variable"],a.descFieldType=["string","key_value"],a.getFields=function(){b.get("/api/freshdesk/accounts/"+c.id+"/fields").success(function(b){a.accountFields=[],b=f("freshdesk")(b),_.forEach(b,function(b){a.accountFields.push(b.ticket_field)})}).error(function(a){i.show(a.message,"danger")})},a.getConfiguration=function(){b.get("/api/freshdesk/configurations/"+c.configurationId).success(function(b){a.configurationName=b.name,a.subjectConfig=b.Subject,a.descriptionConfig=b.Description,a.fieldConfig=b.Field,h.socket.on("freshdesk_field:remove",function(b){_.remove(a.subjectConfig,{id:b.id}),_.remove(a.descriptionConfig,{id:b.id}),_.remove(a.fieldConfig,{id:b.id})})}).error(function(a){i.show(a.message,"danger")})},a.getVariables=function(){b.get("/api/variables").success(function(b){a.variables=b.rows}).error(function(a){i.show(a.message,"danger")})},a.removeItem=function(a){b["delete"]("api/freshdesk/fields/"+a.id).success(function(){i.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(){i.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.addItemSubject=function(){var d={type:"string",content:""};b.post("/api/freshdesk/configurations/"+c.configurationId+"/subject",d).success(function(b){a.subjectConfig.push(b)}).error(function(){i.show("Something went wrong!","danger")})},a.addItemDescription=function(){var d={type:"string",content:""};b.post("/api/freshdesk/configurations/"+c.configurationId+"/description",d).success(function(b){a.descriptionConfig.push(b)}).error(function(){i.show("Something went wrong!","danger")})},a.addItemField=function(){var d={content:""};b.post("/api/freshdesk/configurations/"+c.configurationId+"/field",d).success(function(b){a.fieldConfig.push(b)}).error(function(){i.show("Something went wrong!","danger")})},a.updateField=function(a){b.put("/api/freshdesk/fields/"+a.id,a).success(function(){}).error(function(){i.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})},a.changeType=function(b){"variable"===b.type?b.content="":"string"===b.type&&(b.VariableId=null),a.updateField(b)},a.changeDescType=function(b){"key_value"===b.type?(b.content="","string"===b.keyType?b.VariableId=null:"variable"===b.keyType&&(b.keyContent="")):"string"===b.type&&(b.VariableId=null,b.key="",b.keyContent=""),a.updateField(b)},a.changeFieldType=function(b){if(b.content="",b.idField){var c=_.find(a.accountFields,"name",b.idField);c&&(b.customField=!_.result(c,"default",!0))}a.updateField(b)},a.getSystemFieldOptions=function(b){if(b){var c=_.find(a.accountFields,"name",b);return c?c.choices.length>0?c.choices:null:void 0}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.freshdesk.view",{url:"/view/:id",templateUrl:"app/freshdesk/view/view.html",controller:"FreshdeskViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.freshdesk.view.account",{url:"/account",templateUrl:"app/freshdesk/view/view.account.html"}).state("main.freshdesk.view.configurations",{url:"/configurations",templateUrl:"app/freshdesk/view/view.configurations.html"}).state("main.freshdesk.view.configurations.settings",{url:"/settings/:configurationId",templateUrl:"app/freshdesk/view/view.configurationSettings.html",controller:"FreshdeskViewCtrl"}).state("main.freshdesk.view.configuration",{url:"/configuration",templateUrl:"app/freshdesk/view/view.configuration.html"})}]),angular.module("xCallyShuttleApp").controller("FreshdeskWizardCtrl",["$scope","$http","$location","$translate","xAlert","WizardHandler",function(a,b,c,d,e,f){a.translate=d,a.initWizard=function(){a.$translate=d,a.forms={},a.item={}},a.next=function(){f.wizard().next()},a.exitValidation=function(a){return a},a.createItem=function(){console.log(a.item),b.post("api/freshdesk/accounts",a.item).success(function(){e.show(d.instant("MESSAGE_WELL_DONE")+".","success"),c.path("/freshdesk/list")}).error(function(){e.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.freshdesk.wizard",{url:"/wizard",templateUrl:"app/freshdesk/wizard/wizard.html",controller:"FreshdeskWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.integrations",{url:"/integrations",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:19}}})}]),angular.module("xCallyShuttleApp").factory("Integration",["$resource",function(a){return a("/api/integrations/:id/:controller",{id:"@id"})}]),angular.module("xCallyShuttleApp").controller("IntegrationListCtrl",["$scope","Modal","socket","FileUploader","Integration","xAlert",function(a,b,c,d,e,f){a.integrationsByPage=10;var g=a.uploader=new d({url:"api/integrations",autoUpload:!0,removeAfterUpload:!0});g.filters.push({name:"zipFilter",fn:function(a){var b="|"+a.type.slice(a.type.lastIndexOf("/")+1)+"|";return-1!=="|zip|".indexOf(b)}}),g.onSuccessItem=function(a,b,c,d){console.info("onSuccessItem",a,b,c,d),f.show(b.name,"success")},g.onErrorItem=function(a,b,c,d){console.info("onErrorItem",a,b,c,d),b.errors.forEach(function(a){f.show(a.message,"danger")})},a.deleteItem=b.confirm["delete"](function(a){e["delete"]({id:a},function(){f.show("Integration Removed","success")},function(a){f.show(a.data.errors,"danger")})}),a.initList=function(){a.integrations=e.query({},function(a){c.syncUpdates("integration",a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.integrations.list",{url:"/list",templateUrl:"app/integration/list/list.html",controller:"IntegrationListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/plugins/bootstrap-fileinput/bootstrap-fileinput.js"]})}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.jscripty",{url:"/jscripty",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:15}}})}]),angular.module("xCallyShuttleApp").factory("JscriptyProject",["$resource",function(a){return a("/api/jscripty/projects/:id/:controller/:action/:action2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("JscriptyProjectListCtrl",["$scope","$uibModal","JscriptyProject","gridOptions",function(a,b,c,d){a.initView=function(){var b={exporterCsvFilename:"jscriptyProjects.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:300,buttons:[{"class":"blue-hoki",href:"/jscripty/projects/view/{{row.entity.id}}",name:"settings"},{"class":"green",name:"start",onClick:"grid.appScope.openJscriptyTab(row.entity)"},{"class":"purple",href:"/jscripty/projects/report/{{row.entity.id}}/sessions",name:"report"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=d.gridOptions(c,b,a)},a.createItem=function(){var c=b.open({animation:!0,templateUrl:"app/jscripty/project/list/list.create.modal.html",controller:"JscriptyProjectListCreateCtrl"});c.result.then(function(b){console.log(b),a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("JscriptyProjectListCreateCtrl",["$scope","$translate","$uibModalInstance","JscriptyProject","xAlert",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return d.save(a.item).$promise.then(function(a){e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){console.log(a),e.show(b.instant(a.data.translatedMessage),"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.jscripty.projects.list",{url:"/list",templateUrl:"app/jscripty/project/list/list.html",controller:"JscriptyProjectListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.jscripty.projects",{url:"/projects",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("JscriptyProjectReportCtrl",["$scope","$http","$state","$stateParams","socket","Auth","Modal","xAlert","$translate","$rootScope","gridOptions","JscriptyProject","$location",function(a,b,c,d,e,f,g,h,i,j,k,l,m){a.projectStats={started:0,incomplete:0,completed:0},a.projectId=d.id,a.toggle=function(a){console.log(a),a.graphType="PolarArea"===a.graphType?"Pie":"PolarArea"},a.initView=function(){l.get({id:d.id}).$promise.then(function(b){a.project=b})["catch"](function(a){h.show(a.message,"danger")}),l.get({id:d.id,controller:"sessions"}).$promise.then(function(b){var c=_.groupBy(b.rows,"status");a.projectStats.started=c.started?c.started.length:0,a.projectStats.completed=c.completed?c.completed.length:0,a.projectStats.incomplete=c.incomplete?c.incomplete.length:0})["catch"](function(a){h.show(a.message,"danger")})},a.getProjectSessions=function(){var b={exporterCsvFilename:"jscriptyProjects.csv",columnDefs:[{name:"session_id",displayName:"APPLICATION_SESSIONID"},{name:"queue",displayName:"APPLICATION_QUEUE"},{name:"membername",displayName:"APPLICATION_AGENT"},{name:"calleridnum",displayName:"APPLICATION_CALLERIDNUM"},{name:"createdAt",displayName:"APPLICATION_STARTEDAT",enableFiltering:!1},{name:"completedAt",displayName:"APPLICATION_COMPLETEDAT",enableFiltering:!1},{name:"status",displayName:"APPLICATION_STATUS"},{name:"last_question_id",displayName:"APPLICATION_LASTQUESTIONID"},{name:"action",width:100,buttons:[{"class":"blue-hoki",href:"/jscripty/projects/report/{{row.entity.projectId}}/session/{{row.entity.session_id}}",name:"Detail"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteSession(row.entity.session_id)"}]}]};a.gridOptions=k.gridOptions(l,b,a,{id:d.id,controller:"sessions"})},a.deleteSession=function(b){l["delete"]({id:d.id,controller:"sessions",action:b}).$promise.then(function(b){a.gridOptions.getPage(),a.initView()})["catch"](function(a){h.show(a.message,"danger")})},a.getSessionDetails=function(){l.get({id:d.id,controller:"sessions",action:d.sessionId}).$promise.then(function(b){a.sessionQuestions=b})["catch"](function(a){h.show(a.message,"danger")})},a.getQuestionSummary=function(){var b={exporterCsvFilename:"jscriptyProjects.csv",columnDefs:[{name:"question_id",displayName:"APPLICATION_QUESTIONID"},{name:"question_type",displayName:"APPLICATION_QUESTIONTYPE"},{name:"question_label",displayName:"APPLICATION_QUESTIONLABEL"},{name:"question_text",displayName:"APPLICATION_QUESTION"},{name:"count",displayName:"APPLICATION_COUNT",enableFiltering:!1},{name:"action",width:100,buttons:[{"class":"blue-hoki",href:"/jscripty/projects/report/"+d.id+"/question/{{row.entity.question_id}}",name:"Detail"}]}]};a.gridOptions=k.gridOptions(l,b,a,{id:d.id,controller:"questions",action:"summary"})},a.getQuestionInputs=function(){var b={exporterCsvFilename:"jscriptyProjects.csv",columnDefs:[{name:"session_id",displayName:"APPLICATION_SESSIONID"},{name:"question_id",displayName:"APPLICATION_QUESTIONID",enableFiltering:!1},{name:"question_label",displayName:"APPLICATION_QUESTIONLABEL",enableFiltering:!1},{name:"question_text",displayName:"APPLICATION_QUESTION",enableFiltering:!1},{name:"input_label",displayName:"APPLICATION_INPUTLABEL",enableFiltering:!1},{name:"input_value",cellTemplate:'
{{row.entity.input_value}}
',displayName:"APPLICATION_INPUTVALUE",enableFiltering:!1}]};a.gridOptions=k.gridOptions(l,b,a,{id:d.id,controller:"inputs"})},a.getQuestionDetail=function(){l.query({id:d.id,controller:"questions",action:"detail"}).$promise.then(function(b){a.questionDetail=b})["catch"](function(a){h.show(a.message,"danger")})},a.getDetail=function(){l.get({id:d.id,controller:"questions",action:d.questionId,action2:"detail"}).$promise.then(function(b){a.questionDetail=b})["catch"](function(a){h.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.jscripty.projects.report",{url:"/report/:id",templateUrl:"app/jscripty/project/report/report.html",controller:"JscriptyProjectReportCtrl"}).state("main.jscripty.projects.report.sessions",{url:"/sessions",templateUrl:"app/jscripty/project/report/report.sessions.html"}).state("main.jscripty.projects.report.summary",{url:"/summary",templateUrl:"app/jscripty/project/report/report.summary.html"}).state("main.jscripty.projects.report.detail",{url:"/detail",templateUrl:"app/jscripty/project/report/report.detail.html"}).state("main.jscripty.projects.report.inputs",{url:"/inputs",templateUrl:"app/jscripty/project/report/report.inputs.html"}).state("main.jscripty.projects.report.sessionDetail",{url:"/session/:sessionId",controller:"JscriptyProjectReportCtrl",templateUrl:"app/jscripty/project/report/report.session.detail.html"}).state("main.jscripty.projects.report.questionDetail",{url:"/question/:questionId",controller:"JscriptyProjectReportCtrl",templateUrl:"app/jscripty/project/report/report.question.detail.html"})}]),angular.module("xCallyShuttleApp").controller("JscriptyProjectViewCtrl",["$scope","$http","$state","$stateParams","socket","Auth","Modal","xAlert","$translate","$rootScope",function(a,b,c,d,e,f,g,h,i,j){a.jscriptyProject={},a.getProject=function(){b.get("/api/jscripty/projects/"+d.id).success(function(b){a.jscriptyProject=b,angular.element(document).ready(function(){window.onerror=function(a,b,c){try{if(null!=a&&-1!=a.indexOf("Script error."));else{var d=new Image;d.src="assets/plugins/mxgraph/images/1x1.png?msg="+encodeURIComponent(a)+"&url="+encodeURIComponent(b)+"&lnum="+encodeURIComponent(c)}}catch(e){}},b.token=f.getToken();var a=new EditorUi(new Editor);a.openString(b.draft,b.name,b),a.editor.graphChangeListener=function(a,b){var c=b.properties.rtChange||!1;c||(this.modified=!0)}}),e.syncUpdates("jscripty_project",[b],function(a,c,d){c.id===b.id})})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.jscripty.projects.view",{url:"/view/:id",templateUrl:"app/jscripty/project/view/view.html",controller:"JscriptyProjectViewCtrl",authenticate:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",serie:!0,cache:!1,files:["assets/plugins/mxgraph/css/common.css","assets/plugins/mxgraph/css/explorer.css","assets/plugins/mxgraph/styles/grapheditor.css","assets/plugins/mxgraph/styles/custom.css","assets/plugins/jscripty/js/custom.js","assets/plugins/mxgraph/js/mxClient.js","assets/plugins/jscripty/js/Editor.js","assets/plugins/jscripty/js/Graph.js","assets/plugins/jscripty/js/EditorUi.js","assets/plugins/jscripty/js/Actions.js","assets/plugins/jscripty/js/Menus.js","assets/plugins/jscripty/js/Sidebar.js","assets/plugins/jscripty/js/Toolbar.js","assets/plugins/jscripty/js/Dialogs.js"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("LandingCtrl",["$scope","$location","$window","$timeout","Auth",function(a,b,c,d,e){a.initLanding=function(){var c,f,g;return(g=e.getCurrentUser().$promise)?g.then(function(e){switch(f=e,f.role){case"user":for(var g=0;g1?a.filters.forEach(function(b){b.term?64===b.condition?o[a.name+"_uiFrom"]=b.term:256===b.condition&&(o[a.name+"_uiTo"]=b.term):64===b.condition?delete o[a.name+"_uiFrom"]:256===b.condition&&delete o[a.name+"_uiTo"]}):a.filters.length&&a.filters[0].term?o[a.name]=a.filters[0].term:delete o[a.name])}h.id=[];var n=k?"gridOptions"+k:"gridOptions",o={offset:0,limit:10};g.draggable&&(g.rowTemplate='
',g.useExternalPagination=!1,g.enablePaginationControls=!1,g.showGridFooter=!1);var p=function(a){var b=a?30*a+120:177,c=angular.element(document.getElementsByName(n)).length?angular.element(document.getElementsByName(n)[0]):angular.element(document.getElementsByClassName("ui-grid")[0]);c.css("height",b+"px")},q=function(a,b){return h[n].enablePaginationControls||(delete o.offset,delete o.limit),f.spin("spinner-grid"),i=a||i,d=b||d,d.get(i?_.merge(o,i):o).$promise.then(function(a){h[n].totalItems=a.count,h[n].data=a.rows,p(a.rows.length),l&&l()})["catch"](function(a){console.error(a)})["finally"](function(){f.stop("spinner-grid")})};return h.deleteItem=a.confirm["delete"](function(a){var e=i?angular.copy(i):{};return _.merge(e,{id:a}),d.remove(e).$promise.then(function(){q(),b.show(c.instant("MESSAGE_WELL_DONE")+"!","success"),h.gridApi.selection.clearSelectedRows(),h.id=[]})["catch"](function(a){b.show(a.message?a.message:a.data.message,"danger")})}),h.deleteItems=a.confirm["delete"](function(){var a=i?angular.copy(i):{};return _.merge(a,{ids:h.id}),d["delete"](a).$promise.then(function(){q(),b.show(c.instant("MESSAGE_WELL_DONE")+"!","success"),h.gridApi.selection.clearSelectedRows(),h.id=[]})["catch"](function(a){b.show(a.message?a.message:a.data.message,"danger")})}),g.columnDefs.forEach(function(a){m(a,!0),a.hasOwnProperty("displayName")||(a.displayName="APPLICATION_"+a.name.toUpperCase()),a.headerCellFilter="translate",a.hasOwnProperty("buttons")&&(a.displayName="",a.cellClass="ui-grid-vcenter",a.enableSorting=!1,a.enableFiltering=!1,a.enableColumnMenu=!1,a.cellTemplate="
",a.buttons.forEach(function(b){if(b.directive)a.cellTemplate+=b.directive;else{if(a.cellTemplate+="':"",b.name)switch(b.name){case"delete":a.cellTemplate+='';break;case"profile":case"settings":case"detail":case"embedding":a.cellTemplate+='';break;case"agents":a.cellTemplate+='';break;default:a.cellTemplate+="{{'APPLICATION_"+b.name.toUpperCase()+"' | translate}}"}else a.cellTemplate+=b.displayName?"{{'"+b.displayName+"' | translate}}":"";a.cellTemplate+=" "}}),a.cellTemplate+="
",delete a.buttons)}),_.merge({enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableRowSelection:!0,enableSelectAll:!0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,multiSelect:!0,getPage:q,gridMenuTitleFilter:function(a){var b=e.defer();return b.resolve(c.instant(a)),b.promise},onRegisterApi:function(a){h.gridApi=a,h.gridApi.selection&&(h.gridApi.selection.on.rowSelectionChanged(h,function(a){a.isSelected?h.id.push(h.gridApi.grid.options.primaryKey?a.entity[h.gridApi.grid.options.primaryKey]:a.entity.id):_.pull(h.id,h.gridApi.grid.options.primaryKey?a.entity[h.gridApi.grid.options.primaryKey]:a.entity.id)}),h.gridApi.selection.on.rowSelectionChangedBatch(h,function(a){a[0].isSelected?h.id=_.union(h.id,_.map(a,h.gridApi.grid.options.primaryKey?"entity."+h.gridApi.grid.options.primaryKey:"entity.id")):_.map(a,h.gridApi.grid.options.primaryKey?"entity."+h.gridApi.grid.options.primaryKey:"entity.id").forEach(function(a){_.pull(h.id,a)})})),h.gridApi.core.on.sortChanged(h,function(a,b){0===b.length?o.order=null:o.order=b[0].name+" "+b[0].sort.direction.toUpperCase(),q()}),h.gridApi.pagination.on.paginationChanged(h,function(a,b){o.offset=(a-1)*b,o.limit=b,q()}),h.gridApi.core.on.filterChanged(h,function(){var a=this.grid;a.columns.forEach(function(a){m(a)}),q()}),h.gridApi.draggableRows&&h.gridApi.draggableRows.on.rowDropped(h,function(a){ -a.fromIndex!==a.toIndex&&d.update(i,h[n].data).$promise.then(function(){b.show(c.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){b.show(a.message,"danger")})}),j||q()}},g)}}}]),angular.module("xCallyShuttleApp").controller("MainCtrl",["$scope","$rootScope","$translate","$timeout","socket","Auth","xAlert","$uibModal","$log","$state","Contact","$window",function(a,b,c,d,e,f,g,h,i,j,k,l){a.awesomeThings=[],b.workspaces=[],a.select=function(a){switch(a.type){case"chatRoom":case"mailRoom":a.unread=0}},a.deselect=function(){},a.isAdmin=f.isAdmin,a.isLoggedIn=f.isLoggedIn,a.getCurrentUser=f.getCurrentUser,a.CurrentUser=f.getCurrentUser(),e.socket.on("user_has_voice_queue_permit:change",function(){a.CurrentUser=f.getCurrentUser()}),e.socket.on("user_has_chat_queue_permit:change",function(){a.CurrentUser=f.getCurrentUser()}),e.socket.on("user_has_mail_queue_permit:change",function(){a.CurrentUser=f.getCurrentUser()}),e.socket.on("user_has_fax_queue_permit:change",function(){a.CurrentUser=f.getCurrentUser()}),e.socket.on("user_has_sms_queue_permit:change",function(){a.CurrentUser=f.getCurrentUser()}),a.mainTab={active:!0},a.closeJscriptyTab=function(a){if(b.workspaces[a].edited){var c=h.open({animation:!0,templateUrl:"app/main/closeEditedTab.modal.jscripty.html",controller:"CloseEditedTabModalJscriptyCtrl",resolve:{project:b.workspaces[a]}});c.result.then(function(){b.workspaces.splice(a,1)})}else b.workspaces.splice(a,1)},a.closeTab=function(a){var c;b.workspaces[a].edited?"jscripty"==b.workspaces[a].type?b.workspaces[a].end():(c=h.open({animation:!0,templateUrl:"app/main/closeEditedTab.modal.html",controller:"CloseEditedTabModalCtrl"}),c.result.then(function(){b.workspaces.splice(a,1)},function(){i.info("Modal dismissed at: "+new Date)})):b.workspaces.splice(a,1)},a.createContact=function(d,e){return e.tags=e.tags?e.tags.join(","):void 0,e.CompanyId||delete e.CompanyId,k.save(e).$promise.then(function(e){b.workspaces.splice(d,1);var f=e.firstName;e.lastName&&(f+=" "+e.lastName),a.openContactTab({firstName:e.firstName,lastName:e.lastName,id:e.id}),g.show(c.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){g.show(a.message,"danger")})};var m=function(b){var c=h.open({animation:!0,templateUrl:"app/main/chooseContact.modal.html",controller:"ChooseContactModalCtrl",resolve:{eventId:function(){return b.id}}});c.result.then(function(c){c?a.openContactTab(c,b):a.newContact(b)},function(){i.info("Modal dismissed at: "+new Date)})};a.updateContact=function(a,d){var e=angular.copy(d);return e.tags=e.tags?e.tags.join(","):void 0,e.CompanyId||(e.CompanyId=null),k.update({id:e.id},e).$promise.then(function(){b.workspaces[a].edited=!1,g.show(c.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){g.show(c.instant(a.message)+"!","danger")})},e.socket.on("report_integration:contactmanager",function(a){console.log("choosecontact"),m(a)}),e.socket.on("report_integration:jscripty",function(b){console.log("openJscriptyTab"),a.openJscriptyTab({name:"Jscripty",id:b.projectId,calleridnum:b.calleridnum,calleridname:b.calleridname,queue:b.queue,membername:b.membername})}),e.socket.on("report_integration:salesforce",function(a){l.open(a.url,"_blank")}),a.openContactTab=function(a,c){var d=_.find(b.workspaces,{contactID:a.id});if(d)d.active=!0;else{var e=a.firstName;a.lastName&&(e+=" "+a.lastName),b.workspaces.push({name:e,type:"contact",contactID:a.id,"class":"icon-user",active:!0,eventData:a.uniqueid?a:null,data:c||null})}},a.openJscriptyTab=function(a){b.workspaces.push({name:a.name,type:"jscripty",active:!0,data:a})},a.newContact=function(a){b.workspaces.push({name:"New Contact",type:"newContact","class":"icon-user",active:!0,data:a||null,eventData:a&&a.uniqueid?a:""})},b.language=c.use(),a.changeLanguage=function(a){c.use(a).then(function(a){b.language=a,-1!==["main.jscripty.projects.view","main.square.projects.view"].indexOf(j.current.name)&&l.location.reload()})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").directive("ngSpinnerBar",["$rootScope",function(a){return{link:function(b,c){c.addClass("hide"),a.$on("$stateChangeStart",function(){"spinner-page"===c[0].id&&c.removeClass("hide")}),a.$on("$stateChangeSuccess",function(){"spinner-page"===c[0].id&&(c.addClass("hide"),$("body").removeClass("page-on-load"),Layout.setSidebarMenuActiveLink("match"),setTimeout(function(){Metronic.scrollTop()},1e3))}),a.$on("$spinnerStart",function(){"spinner-request"===c[0].id&&c.removeClass("hide")}),a.$on("$spinnerStop",function(){"spinner-request"===c[0].id&&c.addClass("hide")}),a.$on("$stateNotFound",function(){"spinner-page"===c[0].id&&c.addClass("hide")}),a.$on("$stateChangeError",function(){"spinner-page"===c[0].id&&c.addClass("hide")})}}}]).directive("a",function(){return{restrict:"E",link:function(a,b,c){(c.ngClick||""===c.href||"#"===c.href)&&b.on("click",function(a){a.preventDefault()})}}}).directive("nxEqual",function(){return{require:"ngModel",link:function(a,b,c,d){return c.nxEqual?(a.$watch(c.nxEqual,function(a){d.$setValidity("nxEqual",a===d.$viewValue)}),void d.$parsers.push(function(b){var e=b===a.$eval(c.nxEqual);return d.$setValidity("nxEqual",e),e?b:void 0})):void console.error("nxEqual expects a model as an argument!")}}}).directive("ngEnter",function(){return function(a,b,c){b.bind("keydown keypress",function(b){13===b.which&&(a.$apply(function(){a.$eval(c.ngEnter)}),b.preventDefault())})}}).directive("dropdownMenuHover",function(){return{link:function(a,b){b.dropdownHover()}}}).directive("uiSelectRequired",function(){return{require:"ngModel",link:function(a,b,c,d){d.$validators.uiSelectRequired=function(a){return a&&a.length}}}}).directive("rpattern",function(){return{restrict:"A",require:"ngModel",link:function(a,b,c,d){function e(a,b){return null==b||""===b||!h||a.test(b)?(d.$setValidity("pattern",!0),b):void d.$setValidity("pattern",!1)}var f,g=c.rpattern,h=!0;g&&(g.match(/^\/(.*)\/$/)?(g=new RegExp(g.substr(1,g.length-2)),f=function(a){return e(g,a)}):f=function(b){var c=a.$eval(g);if(!c||!c.test)throw new Error("Expected "+g+" to be a RegExp but was "+c);return e(c,b)}),d.$formatters.push(f),d.$parsers.push(f),c.$observe("required",function(a){h=a,f(d.$viewValue)})}}}).directive("conditionBuilder",["$compile","xAlert","$timeout",function(a,b,c){return{restrict:"E",scope:{element:"=",serviceindex:"=",service:"=",form:"="},templateUrl:"app/main/template/template.conditionBuilder.html",compile:function(d,e){var f,g;return f=d.contents().remove(),function(d,e,h){function i(a){var c=_.find(d.service.services[d.serviceindex].conditions,{value:a});if(c)if(d.elementType=c.type,c.arr)d.values=c.arr;else if(c.resource)return c.resource.get().$promise.then(function(a){d.values=_.map(a.rows,function(a){return{name:a[c.resValue],value:a[c.resValue]}})})["catch"](function(a){b.show($translate.instant(a.message),"danger")})}function j(a,b){var c=[];for(a=a||5,b=b||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";--a;)c.push(b.charAt(Math.floor(Math.random()*b.length)));return c.join("")}d._=_,d.randomName=j(),c(function(){d.element.field&&i(d.element.field)}),d.checkCondition=function(a){d.element.value="",d.element.operator="",i(a)},g||(g=a(f)),e.append(g(d,function(a){return a}))}}}}]).directive("newContact",["$compile","xAlert","socket","$translate","$timeout","List","Tag","Company",function(a,b,c,d,e,f,g,h){return{restrict:"E",scope:{workspace:"=",index:"=",submit:"&onSubmit"},templateUrl:"app/main/template/template.contactTab.html",compile:function(a,i){return function(a,i,j){function k(){a.$watch("contact",function(b,c){angular.equals(b,c)||(a.workspace.edited=!0)},!0)}a.forms={general:{}},a.firstLoad=!0,a.detail={tab:"main"},a.contact={CompanyId:""},a.submitButtonLabel=d.instant("APPLICATION_CONFIRM"),a.init=function(){a.workspace.data&&(a.contact.firstName=a.workspace.data.calleridname?a.workspace.data.calleridname:a.workspace.data.messageId?a.workspace.data.messageId:a.workspace.data.uniqueid?a.workspace.data.uniqueid:"",a.workspace.data.calleridnum&&(a.contact.phone=a.workspace.data.calleridnum),a.workspace.data.from&&(a.contact.email=a.workspace.data.from)),a.getTags(),a.getCompanies(),a.getLists()},a.getLists=function(){return f.get().$promise.then(function(b){a.lists=b.rows,c.syncUpdates("list",a.lists),a.contact.ListId=a.lists[0].id||null,a.getCustomFields()})["catch"](function(a){b.show(d.instant(a.message)+"!","danger")})},a.getCustomFields=function(){return f.get({listId:a.contact.ListId,controller:"customfields"}).$promise.then(function(b){a.customFields=b.rows,a.customFields.forEach(function(a){a.values=JSON.parse(a.values)}),c.socket.on("custom_field:remove",function(b){_.remove(a.customFields,function(a){return b.id==a.id})}),c.socket.on("custom_field:save",function(b){if(b.ListId===a.contact.ListId){var c=_.find(a.customFields,{id:b.id});c||("string"==typeof b.values&&(b.values=JSON.parse(b.values)),a.customFields.push(b))}}),!a.firstLoad||a.workspace.data?(a.workspace.edited=!0,a.firstLoad=!1):(a.firstLoad=!1,k())})["catch"](function(a){console.error(a),b.show(a.message,"danger")})},a.getTags=function(){return g.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a),b.show(a.message,"danger")})},a.getCompanies=function(){return h.get().$promise.then(function(b){a.companies=b.rows,a.companies.unshift({id:"",name:"-- None --"}),c.syncUpdates("company",a.companies)})["catch"](function(a){console.error(a),b.show(a.message,"danger")})},e(function(){a.init()})}}}}]).directive("contact",["$compile","xAlert","socket","$timeout","List","Tag","Company","Contact","$translate","gridOptions","$uibModal",function(a,b,c,d,e,f,g,h,i,j,k){return{restrict:"E",scope:{workspace:"=",index:"=",submit:"&onSubmit"},templateUrl:"app/main/template/template.contactTab.html",compile:function(a,l){return function(a,l,m){function n(b){var c=[];_.forEach(a.columns[a.log[b].show][a.log[b].detail].indexes,function(d,e){c.push({name:d,displayName:a.columns[a.log[b].show][a.log[b].detail].header[e],headerCellFilter:"translate",enableSorting:!1,enableColumnMenu:!1})});var d={enablePaginationControls:!0,exporterCsvFilename:b+".csv",columnDefs:c};a["gridOptions"+b]=j.gridOptions(h,d,a,_.merge({id:a.workspace.contactID,controller:"log",logType:b},a.log[b]),!0,b),a["gridOptions"+b].getPage()}a.moment=moment,a.submitButtonLabel=i.instant("APPLICATION_UPDATE"),a.forms={general:{}},a.detail={tab:"main"},a.log={daily:{show:"phone",type:"inbound",detail:"general"},history:{show:"phone",type:"inbound",detail:"general"}},a.columns={phone:{general:{header:["APPLICATION_SOURCE","APPLICATION_DESTINATION","APPLICATION_DATE"],indexes:["source","destination","createdAt"]},queue:{header:["APPLICATION_CALLERID","APPLICATION_QUEUE","APPLICATION_DATE"],indexes:["calleridnum","queue","createdAt"]},agent:{header:["APPLICATION_AGENT","APPLICATION_QUEUE","APPLICATION_DATE"],indexes:["membername","queue","agentcalledAt"]}},email:{general:{header:["APPLICATION_FROM","APPLICATION_TO","APPLICATION_DISPOSITION","APPLICATION_DATE"],indexes:["from","accountaddress","disposition","createdAt"]}}},a.companyInfo=function(b){k.open({animation:!0,size:"lg",templateUrl:"app/main/company.info.html",controller:["$scope","$uibModalInstance","company",function(a,b,c){a.company=c,a.close=function(){b.dismiss("cancel")}}],resolve:{company:_.find(a.companies,{id:b})}})},a.updateLog=function(b,c,d,e){c&&(a.log[b].show=c),d&&(a.log[b].detail=d),e&&(a.log[b].type=e),n(b)},a.getContact=function(){return h.get({id:a.workspace.contactID}).$promise.then(function(b){b.tags=b.tags?b.tags.split(","):[],a.contact=b,a.contact.CompanyId||(a.contact.CompanyId=""),a.getCustomFields(b.ListId),a.updateLog("daily"),a.updateLog("history")})["catch"](function(a){console.error(a),b.show(a.message,"danger")})},a.getTags=function(){return f.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a),b.show(a.message,"danger")})},a.getCompanies=function(){return g.get().$promise.then(function(b){a.companies=b.rows,a.companies.unshift({id:"",name:"-- None --"}),c.syncUpdates("company",a.companies)})["catch"](function(a){console.error(a),b.show(a.message,"danger")})},a.getCustomFields=function(d){return e.get({listId:d,controller:"customfields"}).$promise.then(function(b){a.customFields=b.rows,a.customFields.forEach(function(a){a.values=JSON.parse(a.values)}),c.socket.on("custom_field:remove",function(b){_.remove(a.customFields,function(a){return b.id==a.id})}),c.socket.on("custom_field:save",function(b){if(b.ListId===d){var c=_.find(a.customFields,{id:b.id});c||("string"==typeof b.values&&(b.values=JSON.parse(b.values)),a.customFields.push(b))}})})["catch"](function(a){console.error(a),b.show(a.message,"danger")})},d(function(){a.getTags(),a.getCompanies(),a.getContact()})}}}}]).directive("jscripty",["$compile","xAlert","$http","socket","JscriptyProject",function(a,b,c,d,e){return{restrict:"E",scope:{workspace:"=",index:"=",submit:"&onSubmit"},templateUrl:"app/main/template/template.jscriptyTab.html",compile:function(a,d){return function(a,d,f){a.count=0,a.questions=[];var g,h=a.workspace.data.id;c.get("/api/jscripty/projects/"+h+"/download").success(function(b){b?c.post("/api/jscripty/projects/"+h+"/sessions",{projectId:h,status:"started",queue:a.workspace.data.queue,calleridnum:a.workspace.data.calleridnum,callername:a.workspace.data.callername,membername:a.workspace.data.membername}).success(function(c){g=c.session_id,a.workspace.edited=!0,a.workspace.sessionId=g,a.workspace.projectId=h;var d=mxUtils.parseXml(b),e=new mxCodec(d);a.decObj=e.decode(d.documentElement);var f=_.find(a.decObj.cells,function(a){return a.vertex&&"start"==a.value.nodeName});if("OFF"==f.getAttribute("state")){var j=_.find(f.edges,function(a){return a.source.id==f.id}).target;a.questions[a.count]=a.currentQuestion=i(j)}else a.questions[a.count]=a.currentQuestion=f;a.saveQuestions()}):(console.log("No project published!"),alert("No project published!"),a.submit({index:a.index}))}),a.next=function(b,c){switch(a.currentQuestion.answer&&a.currentQuestion.answer!=c&&(a.questions=_.take(a.questions,a.count+1)),a.currentQuestion.answer=c,b.value.nodeName){case"question":b=i(b)}a.questions[a.count]=a.currentQuestion,a.currentQuestion=b,a.count++,a.questions[a.count]=b,a.saveQuestions()};var i=function(a){var b=[];return a.options=[],_.forEach(a.edges,function(c,d){if(c.source.id==a.id&&c.value){var e=String(c.value).split(",");e.length>1?(_.forEach(e,function(b,d){var e=Object.create(c);e.setValue(b),a.edges.push(e),a.options.push(b)}),b.push(c)):a.options.push(e[0])}}),_.forEach(b,function(b){_.remove(a.edges,function(a){return a.value==b.value&&a.id==b.id})}),a};a.end=function(){a.saveQuestions(),a.workspace.lastQuestionId=a.questions[a.questions.length-1].id,"end"==a.questions[a.questions.length-1].value.nodeName&&(a.workspace.edited=!1,e.update({id:h,controller:"sessions",action:g},{status:"completed",completedAt:Date(),last_question_id:a.questions[a.questions.length-1].id}).$promise.then(function(a){b.show("Project Ended","success")})),a.submit({index:a.index})},a.workspace.end=a.end,a.back=function(){a.count--,a.currentQuestion=a.questions[a.count]},a.setCurrentQuestion=function(b){a.count=b,a.currentQuestion=a.questions[a.count]},a.saveQuestions=function(){for(var c=[],d=[],f=0;f"},{name:">="},{name:"LIKE"}],b.addCondition=function(){b.group.rules.push({condition:"=",field:"",value:""})},b.removeCondition=function(a){b.group.rules.splice(a,1)},b.addGroup=function(){b.group.rules.push({group:{operator:"AND",rules:[{condition:"=",field:"",value:""}]}})},b.randomName=function(a,b){var c=[];for(a=a||5,b=b||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";--a;)c.push(b.charAt(Math.floor(Math.random()*b.length)));return c.join("")},b.removeGroup=function(){b.$parent.group&&b.$parent.group.rules.splice(b.$parent.$index,1)},e||(e=a(d)),c.append(e(b,function(a){return a}))}}}}]).directive("dynamicName",["$compile",function(a){return{restrict:"A",terminal:!0,priority:1e3,link:function(b,c,d){c.attr("name",b.$eval(d.dynamicName)),c.removeAttr("dynamic-name"),a(c)(b)}}}]).directive("onReadFile",["$parse",function(a){return{restrict:"A",scope:!1,link:function(b,c,d){var e=a(d.onReadFile);c.on("change",function(a){var c=new FileReader;c.onload=function(a){b.$apply(function(){e(b,{$fileContent:a.target.result})})},c.readAsText((a.srcElement||a.target).files[0])})}}}]).directive("motionFileDownload",["xAlert","$translate","$timeout","$location","FileSaver","$compile",function(a,b,c,d,e,f){return{restrict:"E",template:'{{btncontent || \'\'}}',scope:{mimetype:"=",filename:"=",resource:"=",params:"=",btnclass:"@",btncontent:"@",tooltiptext:"@"},link:function(c,d,f){var g=d.children()[0];c.$on("download-start",function(){$(g).attr("disabled","disabled")}),c.$on("downloaded",function(a,b){var d=base64ToBlob(b,c.mimetype);e.saveAs(d,c.filename),$(g).attr("disabled",!1)}),c.download=function(){return c.$emit("download-start"),c.resource.get(c.params).$promise.then(function(a){c.$emit("downloaded",a.downloadString)})["catch"](function(d){a.show(b.instant(d.translatedMessage||d.data.translatedMessage||d.message||d.data.message),"danger"),c.download=function(){}})}}}}]).directive("audioFileDownload",["xAlert","$translate","$sce",function(a,b,c){return{restrict:"E",template:'',scope:{resource:"=",params:"="},link:function(d,e,f){var g=e.children()[0];d.$on("download-start",function(a,b){$(g).attr("disabled","disabled").html(' Loading...')}),d.$on("downloaded",function(a,b){var d=new Audio(c.trustAsResourceUrl("data:audio/ogg;base64,"+b));d.controls=!0,$(g).remove(),e.append(d),d.play()}),d.$on("error",function(a,b){$(g).removeClass("blue-stripe").addClass("red-stripe").html(' Error!')}),d.download=function(){return d.$emit("download-start"),d.resource.get(d.params).$promise.then(function(a){d.$emit("downloaded",a.downloadString)})["catch"](function(c){a.show(b.instant(c.translatedMessage||c.data.translatedMessage||c.message||c.data.message),"danger")})}}}}]).directive("uiRequired",function(){return{require:"ngModel",link:function(a,b,c,d){d.$validators.required=function(a,b){return!(b&&0===b.length&&"true"===c.uiRequired)},c.$observe("uiRequired",function(){d.$setValidity("required",!("true"===c.uiRequired&&d.$viewValue&&0===d.$viewValue.length))})}}}).directive("schrollBottom",function(){return{scope:{schrollBottom:"="},link:function(a,b){a.$watchCollection("schrollBottom",function(a){a&&$(b).scrollTop($(b)[0].scrollHeight)})}}}).directive("customGridDateFilterHeader",function(){return{templateUrl:"app/main/customDateFilterHeader.html",controller:"gridDatePickerFilterCtrl"}}),angular.module("xCallyShuttleApp").filter("propsFilter",function(){return function(a,b){var c=[];return angular.isArray(a)?a.forEach(function(a){for(var d=!1,e=Object.keys(b),f=0;f=0}),b}}).filter("freshdesk",function(){var a=["requester","subject","agent","description"];return function(b){return _.remove(b,function(b){return a.indexOf(b.ticket_field.name)>=0}),b}}).filter("zendesk",function(){var a=["subject","assignee","description"];return function(b){return _.remove(b,function(b){return a.indexOf(b.type)>=0}),b}}).filter("slice",function(){return function(a,b,c){return a?a.slice(b,c):void 0}}),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main",{"abstract":!0,templateUrl:"app/main/main.html",controller:"MainCtrl",resolve:{authorization:["$q","Auth","$state","$timeout","$location",function(a,b,c,d,e){return b.getToken()?a.when():(d(function(){e.path("/login")}),a.reject())}],deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css","assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/plugins/mxgraph/js/mxClient.js"]}])}]}})}]),angular.module("xCallyShuttleApp").factory("xAlert",["$translate","Notification",function(a,b){return{show:function(c,d){switch(d){case"success":b.success({message:c,title:' '+a.instant("MESSAGE_SUCCESS")+"!",delay:5e3});break;case"info":b.info({message:c,title:' '+a.instant("MESSAGE_INFO")+"!",delay:5e3});break;case"danger":b.error({message:c,title:' '+a.instant("MESSAGE_ERROR")+"!",delay:1e4});break;case"warning":b.warning({message:c,title:' '+a.instant("MESSAGE_WARNING")+"!",delay:1e4});break;default:b.info(c)}},error:function(c){var d;d=c?c.data?c.data.translatedMessage||c.data.message||"Generic Error":c.translatedMessage||c.message||"Generic Error":"Generic Error",b.error({message:a.instant(d),title:' '+a.instant("MESSAGE_ERROR")+"!",delay:1e4})}}}]).factory("stResource",["$q","$filter","$timeout","$rootScope","$http","$translate","xAlert",function(a,b,c,d,e,f,g){return{getPage:function(b){var c={page:Math.ceil(b.pagination.start/b.pagination.number),per_page:b.pagination.number};b.sort.predicate&&(c.sort_by=b.sort.predicate,c.sort_order=b.sort.reverse?"DESC":"ASC"),_.forIn(b.search.predicateObject,function(a,b){c[b]=a}),b.search.params&&(c.clientQuery={},_.forIn(b.search.params,function(a,b){c.clientQuery[b]=a})),d.$broadcast("$spinnerStart"),e.get(b.url,{params:c}).success(function(a){h.resolve(a),d.$broadcast("$spinnerStop")}).error(function(a){g.show(f.instant(a.message),"danger"),d.$broadcast("$spinnerStop")});var h=a.defer();return h.promise}}}]).factory("xNotification",["$translate","Notification","$rootScope",function(a,b,c){return{show:function(d,e,f,g,h,i){var j=c.$new();switch(j.acceptBtn=a.instant("APPLICATION_ACCEPT"),j.rejectBtn=a.instant("APPLICATION_REJECT"),j.nAccept=h,j.nReject=i,f){case"chat":return b.info({message:e,title:d,templateUrl:"app/main/template/template.notification.html",delay:g,scope:j});case"mail":return b.success({message:e,title:d,templateUrl:"app/main/template/template.notification.html",delay:g,scope:j});case"fax":return b.warning({message:e,title:d,templateUrl:"app/main/template/template.notification.html",delay:g,scope:j});case"sms":return b.error({message:e,title:d,templateUrl:"app/main/template/template.notification.html",delay:g,scope:j});default:return b.primary({message:e,title:d,templateUrl:"app/main/template/template.notification.html",delay:g,scope:j})}}}}]),angular.module("xCallyShuttleApp").factory("Widget",["$resource",function(a){return a("/api/widgets/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("MarketCtrl",["$scope","$http","$translate","socket","xAlert","Modal","$timeout",function(a,b,c,d,e,f,g){function h(a,b){return Math.floor(Math.random()*(b-a+1))+a}a.initView=function(){b.get("/api/integrations").success(function(b){a.integrations=b.rows,a.groupedIntegration=_.chunk(a.integrations,4),d.syncUpdates("integration",a.integrations,function(){a.groupedIntegration=_.chunk(a.integrations,4)})}).error(function(a){e.show(a.message,"danger")})},a.isProgressing=!1,a.$on("$destroy",function(){d.unsyncUpdates("integration")}),a.installIntegration=function(d){a.status="Downloading",a.percentage=h(1,50),a.isProgressing=!0,d.downloading=!0,b.put("/api/integrations/"+d.id,{active:!0}).success(function(){g(function(){a.percentage=h(51,99),a.status="Installing"},2500),g(function(){a.percentage=100,a.isProgressing=!1,a.status="Completed!",d.downloading=!1,e.show(c.instant("MESSAGE_WELL_DONE")+".","success")},5e3)}).error(function(){d.downloading=!1,a.percentage=0,a.isProgressing=!1,e.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})},a.uninstallIntegration=function(d){a.status="Uninstalling",a.percentage=h(1,99),a.isProgressing=!0,d.downloading=!0,b.put("/api/integrations/"+d.id,{active:!1}).success(function(){g(function(){a.percentage=100,a.isProgressing=!1,a.status="Completed!",d.downloading=!1,e.show(c.instant("MESSAGE_WELL_DONE")+".","success")},5e3)}).error(function(){d.downloading=!1,a.percentage=0,a.isProgressing=!1,e.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.market",{url:"/market",templateUrl:"app/market/market.html",controller:"MarketCtrl",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").controller("MotionbarCtrl",["$scope","$stateParams","$cookieStore","$window","$location","settings","Auth",function(a,b,c,d,e,f,g){console.log(b),b.token&&b.userId&&b.role&&b.redirectTo?(g.loginWithToken(b.token,b.userId,b.role),d.location.href=decodeURIComponent(b.redirectTo)):e.path("/login")}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("motionbar",{url:"/motionbar?redirectTo&token&userId&role",template:"
",controller:"MotionbarCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.motiondialer.blacklist",{url:"/blacklist",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("MotionDialerBlackListListCtrl",["$scope","$uibModal","$translate","xAlert","Modal","MotionDialerBlackList","uiGridConstants",function(a,b,c,d,e,f,g){a.initView=function(){a.gridOptions={paginationPageSizes:[10,25,50,75],paginationPageSize:10,enableFiltering:!0,enableSorting:!0,enableGridMenu:!0,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,columnDefs:[{name:"id",width:60},{name:"phone"},{name:"description",enableSorting:!1},{name:"updatedtime",sort:{direction:g.DESC},enableFiltering:!1},{name:"action",cellTemplate:'',enableSorting:!1,cellClass:"ui-grid-vcenter",enableFiltering:!1}]},f.list({page:1,size:6e5}).$promise.then(function(b){b.status>0?a.gridOptions.data=b.response.RMI.rows:d.show("Please, check your connection!","danger")})["catch"](function(a){d.show(a.message?a.message:a.data.message,"danger")})},a.createItem=function(){var c=b.open({animation:!0,templateUrl:"app/motiondialer/blacklist/list/list.create.modal.html",controller:"MotionDialerBlackListListCreateCtrl"});c.result.then(function(b){a.gridOptions.data.push(b.response.RMI)})},a.deleteItem=e.confirm["delete"](function(b){return f["delete"]({id:b}).$promise.then(function(e){e.status>0?(_.remove(a.gridOptions.data,{id:b}),d.show(c.instant("MESSAGE_WELL_DONE"),"success")):d.show(e.message||"Please, check your connection!","danger")})["catch"](function(a){d.show(a.message?a.message:a.data.message,"danger")})})}]),angular.module("xCallyShuttleApp").controller("MotionDialerBlackListListCreateCtrl",["$scope","$translate","$uibModalInstance","MotionDialerBlackList","xAlert",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return d.insert(a.item).$promise.then(function(a){a.status>0?(e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)):e.show(a.message||"Please, check your connection!","danger")})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.motiondialer.blacklist.list",{url:"/list",templateUrl:"app/motiondialer/blacklist/list/list.html",controller:"MotionDialerBlackListListCtrl",authenticate:!0})}]),angular.module("xCallyShuttleApp").factory("MotionDialerBlackList",["$resource",function(a){return a("/api/rest/blacklist/:controller",null,{list:{method:"POST",params:{controller:"list"}},insert:{method:"POST",params:{controller:"insert"}},"delete":{method:"POST",params:{controller:"delete"}},find:{method:"POST",params:{controller:"find"}},update:{method:"POST",params:{controller:"update"}}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.motiondialer.info",{url:"/info",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("MotionDialerSystem",["$resource",function(a){return a("/api/rest/system/:controller",null,{properties:{method:"POST",params:{controller:"properties"}}})}]),angular.module("xCallyShuttleApp").controller("MotionDialerInfoViewCtrl",["$scope","xAlert","MotionDialerSystem",function(a,b,c){a.getProperties=function(){return c.properties().$promise.then(function(c){console.log(c),c.status>0?a.properties=c.response.RMI:b.show(c.message||"Please, check your connection!","danger")})["catch"](function(a){b.show(a.message?a.message:a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.motiondialer.info.view",{url:"/view",templateUrl:"app/motiondialer/info/view/view.html",controller:"MotionDialerInfoViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.motiondialer.info.view.about",{url:"/about",templateUrl:"app/motiondialer/info/view/view.about.html"}).state("main.motiondialer.info.view.details",{url:"/details",templateUrl:"app/motiondialer/info/view/view.details.html" -})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.motiondialer.lists",{url:"/lists",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("MotionDialerListListCtrl",["$scope","$uibModal","$translate","xAlert","Modal","MotionDialerList","uiGridConstants","usSpinnerService",function(a,b,c,d,e,f,g,h){a.initView=function(){return a.gridOptions={paginationPageSizes:[10,25,50,75],paginationPageSize:10,enableFiltering:!0,enableSorting:!0,enableGridMenu:!0,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,columnDefs:[{name:"id",width:60},{name:"name"},{name:"description",enableSorting:!1},{name:"updatedtime",sort:{direction:g.DESC},enableFiltering:!1},{name:"action",cellTemplate:'',enableSorting:!1,cellClass:"ui-grid-vcenter",enableFiltering:!1}]},f.list({page:1,size:6e5}).$promise.then(function(b){b.status>0?a.gridOptions.data=b.response.RMI.rows:d.show("Please, check your connection!","danger")})["catch"](function(a){d.show(a.message?a.message:a.data.message,"danger")})["finally"](function(){h.stop("spinner-grid")})},a.createItem=function(){var c=b.open({animation:!0,templateUrl:"app/motiondialer/list/list/list.create.modal.html",controller:"MotionDialerListListCreateCtrl"});c.result.then(function(b){a.gridOptions.data.push(b.response.RMI)})},a.deleteItem=e.confirm["delete"](function(b){return f["delete"]({id:b}).$promise.then(function(e){e.status>0?(_.remove(a.gridOptions.data,{id:b}),d.show(c.instant("MESSAGE_WELL_DONE"),"success")):d.show(e.message||"Please, check your connection!","danger")})["catch"](function(a){d.show(a.message?a.message:a.data.message,"danger")})})}]),angular.module("xCallyShuttleApp").controller("MotionDialerListListCreateCtrl",["$scope","$translate","$uibModalInstance","MotionDialerList","xAlert",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return d.insert(a.item).$promise.then(function(a){a.status>0?(e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)):e.show(a.message||"Please, check your connection!","danger")})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.motiondialer.lists.list",{url:"/list",templateUrl:"app/motiondialer/list/list/list.html",controller:"MotionDialerListListCtrl",authenticate:!0})}]),angular.module("xCallyShuttleApp").factory("MotionDialerContact",["$resource",function(a){return a("/api/rest/contact/:controller",null,{list:{method:"POST",params:{controller:"list"}},insert:{method:"POST",params:{controller:"insert"}},"delete":{method:"POST",params:{controller:"delete"}},find:{method:"POST",params:{controller:"find"}},update:{method:"POST",params:{controller:"update"}}})}]),angular.module("xCallyShuttleApp").factory("MotionDialerList",["$resource",function(a){return a("/api/rest/list/:controller",null,{list:{method:"POST",params:{controller:"list"}},insert:{method:"POST",params:{controller:"insert"}},"delete":{method:"POST",params:{controller:"delete"}},find:{method:"POST",params:{controller:"find"}},update:{method:"POST",params:{controller:"update"}}})}]),angular.module("xCallyShuttleApp").controller("MotionDialerViewContactCreateCtrl",["$scope","$translate","$uibModalInstance","$stateParams","MotionDialerContact","xAlert","MotionDialerTimezone",function(a,b,c,d,e,f,g){a.form={},a.item={},a.timezones=g.list(),a.save=function(){return console.log(a.item),e.insert({id_list:parseInt(d.id),name:a.item.name,phones:a.item.phones.trim().split(","),description:a.item.description||""}).$promise.then(function(a){console.log(a),a.status>0?(f.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)):f.show(a.message||"Please, check your connection!","danger")})["catch"](function(a){f.show(a.message?a.message:a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").controller("MotionDialerListContactImportModalCtrl",["$scope","$uibModalInstance","$stateParams","indexes","csv","xAlert","MotionDialerContact","MotionDialerTimezone",function(a,b,c,d,e,f,g,h){function i(b){if(b>=a.csvLength||a.stopped)return void(a.importing=!1);var d={id_list:parseInt(c.id),name:"",phones:[],description:""};return _.forOwn(a.item,function(a,c){"phones"===c?d[c].push(e[b][a]):d[c]=e[b][a]}),g.insert(d).$promise.then(function(b){b.status>0?(a["import"].success+=j,a["import"].succeeded++,k.push(b.response.RMI)):(console.log(b),a["import"].fail+=j,a["import"].failed++)})["catch"](function(b){console.log(b),a["import"].fail+=j,a["import"].failed++})["finally"](function(){i(b+1)})}a.form={},a.item={},a.timezones=h.list(),console.log(d),console.log(e),a.indexes=d,a.importing=!1,a.submitted=!1,a.stopped=!1,a["import"]={success:0,fail:0,succeeded:0,failed:0},a.csvLength=e.length;var j=100/a.csvLength,k=[];a.start=function(){a.importing=!0,a.submitted=!0,i(0)},a.close=function(){b.close(k)},a.stop=function(){a.stopped=!0}}]),angular.module("xCallyShuttleApp").controller("MotionDialerListViewCtrl",["$scope","$translate","$stateParams","$uibModal","xAlert","uiGridConstants","usSpinnerService","MotionDialerList","MotionDialerContact","Modal","FileUploader","Papa",function(a,b,c,d,e,f,g,h,i,j,k,l){a.getList=function(){return h.find({id:parseInt(c.id)}).$promise.then(function(b){b.status>0?a.list=b.response.RMI:e.show(b.message||"Please, check your connection!","danger")})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})},a.updateList=function(){return h.update({id:a.list.id,name:a.list.name,description:a.list.description}).$promise.then(function(a){a.status>0?e.show(b.instant("MESSAGE_WELL_DONE"),"success"):e.show(a.message||"Please, check your connection!","danger")})["catch"](function(a){e.show(a.data.message,"danger")})},a.getContacts=function(){return a.gridOptions={paginationPageSizes:[10,25,50,75],paginationPageSize:10,enableFiltering:!0,enableSorting:!0,enableGridMenu:!0,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,columnDefs:[{name:"name"},{name:"phones"},{name:"description",enableSorting:!1},{name:"updatedtime",sort:{direction:f.DESC},enableFiltering:!1},{name:"action",cellTemplate:'',enableSorting:!1,cellClass:"ui-grid-vcenter",enableFiltering:!1}]},i.list({id_list:parseInt(c.id),page:1,size:6e5}).$promise.then(function(b){b.status>0?a.gridOptions.data=b.response.RMI.rows:e.show(b.message||"Please, check your connection!","danger")})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})["finally"](function(){g.stop("spinner-grid")})},a.deleteContact=j.confirm["delete"](function(c){return i["delete"]({id:c}).$promise.then(function(d){d.status>0?(_.remove(a.gridOptions.data,{id:c}),e.show(b.instant("MESSAGE_WELL_DONE"),"success")):e.show(d.message||"Please, check your connection!","danger")})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})}),a.createContact=function(){var b=d.open({animation:!0,templateUrl:"app/motiondialer/list/view/view.contact.create.modal.html",controller:"MotionDialerViewContactCreateCtrl"});b.result.then(function(b){a.gridOptions.data.push(b.response.RMI)})};var m=a.uploader=new k({queueLimit:1,clearInputAfterAddedToQueue:!0});m.onAfterAddingFile=function(b){l.parse(b._file,{header:!0,complete:function(b){a.uploader.clearQueue(),a["import"](b.data)},error:function(a){e.show(a,"danger")}})},a["import"]=function(b){var c=d.open({animation:!0,backdrop:"static",keyboard:!1,templateUrl:"app/motiondialer/list/view/view.contact.import.modal.html",controller:"MotionDialerListContactImportModalCtrl",resolve:{indexes:function(){return _.keys(b[0])},csv:function(){return b}}});c.result.then(function(b){console.log(b),a.gridOptions.data=a.gridOptions.data.concat(b)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.motiondialer.lists.view",{url:"/view/:id",templateUrl:"app/motiondialer/list/view/view.html",controller:"MotionDialerListViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.motiondialer.lists.view.settings",{url:"/settings",templateUrl:"app/motiondialer/list/view/view.settings.html"}).state("main.motiondialer.lists.view.contacts",{url:"/contacts",templateUrl:"app/motiondialer/list/view/view.contacts.html"})}]),angular.module("xCallyShuttleApp").factory("MotionDialerTimezone",function(){return{list:function(){return[{group:"US (Common)",zones:[{value:"America/Puerto_Rico",name:"Puerto Rico (Atlantic)"},{value:"America/New_York",name:"New York (Eastern)"},{value:"America/Chicago",name:"Chicago (Central)"},{value:"America/Denver",name:"Denver (Mountain)"},{value:"America/Phoenix",name:"Phoenix (MST)"},{value:"America/Los_Angeles",name:"Los Angeles (Pacific)"},{value:"America/Anchorage",name:"Anchorage (Alaska)"},{value:"Pacific/Honolulu",name:"Honolulu (Hawaii)"}]},{group:"America",zones:[{value:"America/Adak",name:"Adak"},{value:"America/Anchorage",name:"Anchorage"},{value:"America/Anguilla",name:"Anguilla"},{value:"America/Antigua",name:"Antigua"},{value:"America/Araguaina",name:"Araguaina"},{value:"America/Argentina/Buenos_Aires",name:"Argentina - Buenos Aires"},{value:"America/Argentina/Catamarca",name:"Argentina - Catamarca"},{value:"America/Argentina/ComodRivadavia",name:"Argentina - ComodRivadavia"},{value:"America/Argentina/Cordoba",name:"Argentina - Cordoba"},{value:"America/Argentina/Jujuy",name:"Argentina - Jujuy"},{value:"America/Argentina/La_Rioja",name:"Argentina - La Rioja"},{value:"America/Argentina/Mendoza",name:"Argentina - Mendoza"},{value:"America/Argentina/Rio_Gallegos",name:"Argentina - Rio Gallegos"},{value:"America/Argentina/Salta",name:"Argentina - Salta"},{value:"America/Argentina/San_Juan",name:"Argentina - San Juan"},{value:"America/Argentina/San_Luis",name:"Argentina - San Luis"},{value:"America/Argentina/Tucuman",name:"Argentina - Tucuman"},{value:"America/Argentina/Ushuaia",name:"Argentina - Ushuaia"},{value:"America/Aruba",name:"Aruba"},{value:"America/Asuncion",name:"Asuncion"},{value:"America/Atikokan",name:"Atikokan"},{value:"America/Atka",name:"Atka"},{value:"America/Bahia",name:"Bahia"},{value:"America/Barbados",name:"Barbados"},{value:"America/Belem",name:"Belem"},{value:"America/Belize",name:"Belize"},{value:"America/Blanc-Sablon",name:"Blanc-Sablon"},{value:"America/Boa_Vista",name:"Boa Vista"},{value:"America/Bogota",name:"Bogota"},{value:"America/Boise",name:"Boise"},{value:"America/Buenos_Aires",name:"Buenos Aires"},{value:"America/Cambridge_Bay",name:"Cambridge Bay"},{value:"America/Campo_Grande",name:"Campo Grande"},{value:"America/Cancun",name:"Cancun"},{value:"America/Caracas",name:"Caracas"},{value:"America/Catamarca",name:"Catamarca"},{value:"America/Cayenne",name:"Cayenne"},{value:"America/Cayman",name:"Cayman"},{value:"America/Chicago",name:"Chicago"},{value:"America/Chihuahua",name:"Chihuahua"},{value:"America/Coral_Harbour",name:"Coral Harbour"},{value:"America/Cordoba",name:"Cordoba"},{value:"America/Costa_Rica",name:"Costa Rica"},{value:"America/Cuiaba",name:"Cuiaba"},{value:"America/Curacao",name:"Curacao"},{value:"America/Danmarkshavn",name:"Danmarkshavn"},{value:"America/Dawson",name:"Dawson"},{value:"America/Dawson_Creek",name:"Dawson Creek"},{value:"America/Denver",name:"Denver"},{value:"America/Detroit",name:"Detroit"},{value:"America/Dominica",name:"Dominica"},{value:"America/Edmonton",name:"Edmonton"},{value:"America/Eirunepe",name:"Eirunepe"},{value:"America/El_Salvador",name:"El Salvador"},{value:"America/Ensenada",name:"Ensenada"},{value:"America/Fortaleza",name:"Fortaleza"},{value:"America/Fort_Wayne",name:"Fort Wayne"},{value:"America/Glace_Bay",name:"Glace Bay"},{value:"America/Godthab",name:"Godthab"},{value:"America/Goose_Bay",name:"Goose Bay"},{value:"America/Grand_Turk",name:"Grand Turk"},{value:"America/Grenada",name:"Grenada"},{value:"America/Guadeloupe",name:"Guadeloupe"},{value:"America/Guatemala",name:"Guatemala"},{value:"America/Guayaquil",name:"Guayaquil"},{value:"America/Guyana",name:"Guyana"},{value:"America/Halifax",name:"Halifax"},{value:"America/Havana",name:"Havana"},{value:"America/Hermosillo",name:"Hermosillo"},{value:"America/Indiana/Indianapolis",name:"Indiana - Indianapolis"},{value:"America/Indiana/Knox",name:"Indiana - Knox"},{value:"America/Indiana/Marengo",name:"Indiana - Marengo"},{value:"America/Indiana/Petersburg",name:"Indiana - Petersburg"},{value:"America/Indiana/Tell_City",name:"Indiana - Tell City"},{value:"America/Indiana/Vevay",name:"Indiana - Vevay"},{value:"America/Indiana/Vincennes",name:"Indiana - Vincennes"},{value:"America/Indiana/Winamac",name:"Indiana - Winamac"},{value:"America/Indianapolis",name:"Indianapolis"},{value:"America/Inuvik",name:"Inuvik"},{value:"America/Iqaluit",name:"Iqaluit"},{value:"America/Jamaica",name:"Jamaica"},{value:"America/Jujuy",name:"Jujuy"},{value:"America/Juneau",name:"Juneau"},{value:"America/Kentucky/Louisville",name:"Kentucky - Louisville"},{value:"America/Kentucky/Monticello",name:"Kentucky - Monticello"},{value:"America/Knox_IN",name:"Knox IN"},{value:"America/La_Paz",name:"La Paz"},{value:"America/Lima",name:"Lima"},{value:"America/Los_Angeles",name:"Los Angeles"},{value:"America/Louisville",name:"Louisville"},{value:"America/Maceio",name:"Maceio"},{value:"America/Managua",name:"Managua"},{value:"America/Manaus",name:"Manaus"},{value:"America/Marigot",name:"Marigot"},{value:"America/Martinique",name:"Martinique"},{value:"America/Matamoros",name:"Matamoros"},{value:"America/Mazatlan",name:"Mazatlan"},{value:"America/Mendoza",name:"Mendoza"},{value:"America/Menominee",name:"Menominee"},{value:"America/Merida",name:"Merida"},{value:"America/Mexico_City",name:"Mexico City"},{value:"America/Miquelon",name:"Miquelon"},{value:"America/Moncton",name:"Moncton"},{value:"America/Monterrey",name:"Monterrey"},{value:"America/Montevideo",name:"Montevideo"},{value:"America/Montreal",name:"Montreal"},{value:"America/Montserrat",name:"Montserrat"},{value:"America/Nassau",name:"Nassau"},{value:"America/New_York",name:"New York"},{value:"America/Nipigon",name:"Nipigon"},{value:"America/Nome",name:"Nome"},{value:"America/Noronha",name:"Noronha"},{value:"America/North_Dakota/Center",name:"North Dakota - Center"},{value:"America/North_Dakota/New_Salem",name:"North Dakota - New Salem"},{value:"America/Ojinaga",name:"Ojinaga"},{value:"America/Panama",name:"Panama"},{value:"America/Pangnirtung",name:"Pangnirtung"},{value:"America/Paramaribo",name:"Paramaribo"},{value:"America/Phoenix",name:"Phoenix"},{value:"America/Port-au-Prince",name:"Port-au-Prince"},{value:"America/Porto_Acre",name:"Porto Acre"},{value:"America/Port_of_Spain",name:"Port of Spain"},{value:"America/Porto_Velho",name:"Porto Velho"},{value:"America/Puerto_Rico",name:"Puerto Rico"},{value:"America/Rainy_River",name:"Rainy River"},{value:"America/Rankin_Inlet",name:"Rankin Inlet"},{value:"America/Recife",name:"Recife"},{value:"America/Regina",name:"Regina"},{value:"America/Resolute",name:"Resolute"},{value:"America/Rio_Branco",name:"Rio Branco"},{value:"America/Rosario",name:"Rosario"},{value:"America/Santa_Isabel",name:"Santa Isabel"},{value:"America/Santarem",name:"Santarem"},{value:"America/Santiago",name:"Santiago"},{value:"America/Santo_Domingo",name:"Santo Domingo"},{value:"America/Sao_Paulo",name:"Sao Paulo"},{value:"America/Scoresbysund",name:"Scoresbysund"},{value:"America/Shiprock",name:"Shiprock"},{value:"America/St_Barthelemy",name:"St Barthelemy"},{value:"America/St_Johns",name:"St Johns"},{value:"America/St_Kitts",name:"St Kitts"},{value:"America/St_Lucia",name:"St Lucia"},{value:"America/St_Thomas",name:"St Thomas"},{value:"America/St_Vincent",name:"St Vincent"},{value:"America/Swift_Current",name:"Swift Current"},{value:"America/Tegucigalpa",name:"Tegucigalpa"},{value:"America/Thule",name:"Thule"},{value:"America/Thunder_Bay",name:"Thunder Bay"},{value:"America/Tijuana",name:"Tijuana"},{value:"America/Toronto",name:"Toronto"},{value:"America/Tortola",name:"Tortola"},{value:"America/Vancouver",name:"Vancouver"},{value:"America/Virgin",name:"Virgin"},{value:"America/Whitehorse",name:"Whitehorse"},{value:"America/Winnipeg",name:"Winnipeg"},{value:"America/Yakutat",name:"Yakutat"},{value:"America/Yellowknife",name:"Yellowknife"}]},{group:"Europe",zones:[{value:"Europe/Amsterdam",name:"Amsterdam"},{value:"Europe/Andorra",name:"Andorra"},{value:"Europe/Athens",name:"Athens"},{value:"Europe/Belfast",name:"Belfast"},{value:"Europe/Belgrade",name:"Belgrade"},{value:"Europe/Berlin",name:"Berlin"},{value:"Europe/Bratislava",name:"Bratislava"},{value:"Europe/Brussels",name:"Brussels"},{value:"Europe/Bucharest",name:"Bucharest"},{value:"Europe/Budapest",name:"Budapest"},{value:"Europe/Chisinau",name:"Chisinau"},{value:"Europe/Copenhagen",name:"Copenhagen"},{value:"Europe/Dublin",name:"Dublin"},{value:"Europe/Gibraltar",name:"Gibraltar"},{value:"Europe/Guernsey",name:"Guernsey"},{value:"Europe/Helsinki",name:"Helsinki"},{value:"Europe/Isle_of_Man",name:"Isle of Man"},{value:"Europe/Istanbul",name:"Istanbul"},{value:"Europe/Jersey",name:"Jersey"},{value:"Europe/Kaliningrad",name:"Kaliningrad"},{value:"Europe/Kiev",name:"Kiev"},{value:"Europe/Lisbon",name:"Lisbon"},{value:"Europe/Ljubljana",name:"Ljubljana"},{value:"Europe/London",name:"London"},{value:"Europe/Luxembourg",name:"Luxembourg"},{value:"Europe/Madrid",name:"Madrid"},{value:"Europe/Malta",name:"Malta"},{value:"Europe/Mariehamn",name:"Mariehamn"},{value:"Europe/Minsk",name:"Minsk"},{value:"Europe/Monaco",name:"Monaco"},{value:"Europe/Moscow",name:"Moscow"},{value:"Europe/Nicosia",name:"Nicosia"},{value:"Europe/Oslo",name:"Oslo"},{value:"Europe/Paris",name:"Paris"},{value:"Europe/Podgorica",name:"Podgorica"},{value:"Europe/Prague",name:"Prague"},{value:"Europe/Riga",name:"Riga"},{value:"Europe/Rome",name:"Rome"},{value:"Europe/Samara",name:"Samara"},{value:"Europe/San_Marino",name:"San Marino"},{value:"Europe/Sarajevo",name:"Sarajevo"},{value:"Europe/Simferopol",name:"Simferopol"},{value:"Europe/Skopje",name:"Skopje"},{value:"Europe/Sofia",name:"Sofia"},{value:"Europe/Stockholm",name:"Stockholm"},{value:"Europe/Tallinn",name:"Tallinn"},{value:"Europe/Tirane",name:"Tirane"},{value:"Europe/Tiraspol",name:"Tiraspol"},{value:"Europe/Uzhgorod",name:"Uzhgorod"},{value:"Europe/Vaduz",name:"Vaduz"},{value:"Europe/Vatican",name:"Vatican"},{value:"Europe/Vienna",name:"Vienna"},{value:"Europe/Vilnius",name:"Vilnius"},{value:"Europe/Volgograd",name:"Volgograd"},{value:"Europe/Warsaw",name:"Warsaw"},{value:"Europe/Zagreb",name:"Zagreb"},{value:"Europe/Zaporozhye",name:"Zaporozhye"},{value:"Europe/Zurich",name:"Zurich"}]},{group:"Asia",zones:[{value:"Asia/Aden",name:"Aden"},{value:"Asia/Almaty",name:"Almaty"},{value:"Asia/Amman",name:"Amman"},{value:"Asia/Anadyr",name:"Anadyr"},{value:"Asia/Aqtau",name:"Aqtau"},{value:"Asia/Aqtobe",name:"Aqtobe"},{value:"Asia/Ashgabat",name:"Ashgabat"},{value:"Asia/Ashkhabad",name:"Ashkhabad"},{value:"Asia/Baghdad",name:"Baghdad"},{value:"Asia/Bahrain",name:"Bahrain"},{value:"Asia/Baku",name:"Baku"},{value:"Asia/Bangkok",name:"Bangkok"},{value:"Asia/Beirut",name:"Beirut"},{value:"Asia/Bishkek",name:"Bishkek"},{value:"Asia/Brunei",name:"Brunei"},{value:"Asia/Calcutta",name:"Calcutta"},{value:"Asia/Choibalsan",name:"Choibalsan"},{value:"Asia/Chongqing",name:"Chongqing"},{value:"Asia/Chungking",name:"Chungking"},{value:"Asia/Colombo",name:"Colombo"},{value:"Asia/Dacca",name:"Dacca"},{value:"Asia/Damascus",name:"Damascus"},{value:"Asia/Dhaka",name:"Dhaka"},{value:"Asia/Dili",name:"Dili"},{value:"Asia/Dubai",name:"Dubai"},{value:"Asia/Dushanbe",name:"Dushanbe"},{value:"Asia/Gaza",name:"Gaza"},{value:"Asia/Harbin",name:"Harbin"},{value:"Asia/Ho_Chi_Minh",name:"Ho Chi Minh"},{value:"Asia/Hong_Kong",name:"Hong Kong"},{value:"Asia/Hovd",name:"Hovd"},{value:"Asia/Irkutsk",name:"Irkutsk"},{value:"Asia/Istanbul",name:"Istanbul"},{value:"Asia/Jakarta",name:"Jakarta"},{value:"Asia/Jayapura",name:"Jayapura"},{value:"Asia/Jerusalem",name:"Jerusalem"},{value:"Asia/Kabul",name:"Kabul"},{value:"Asia/Kamchatka",name:"Kamchatka"},{value:"Asia/Karachi",name:"Karachi"},{value:"Asia/Kashgar",name:"Kashgar"},{value:"Asia/Kathmandu",name:"Kathmandu"},{value:"Asia/Katmandu",name:"Katmandu"},{value:"Asia/Kolkata",name:"Kolkata"},{value:"Asia/Krasnoyarsk",name:"Krasnoyarsk"},{value:"Asia/Kuala_Lumpur",name:"Kuala Lumpur"},{value:"Asia/Kuching",name:"Kuching"},{value:"Asia/Kuwait",name:"Kuwait"},{value:"Asia/Macao",name:"Macao"},{value:"Asia/Macau",name:"Macau"},{value:"Asia/Magadan",name:"Magadan"},{value:"Asia/Makassar",name:"Makassar"},{value:"Asia/Manila",name:"Manila"},{value:"Asia/Muscat",name:"Muscat"},{value:"Asia/Nicosia",name:"Nicosia"},{value:"Asia/Novokuznetsk",name:"Novokuznetsk"},{value:"Asia/Novosibirsk",name:"Novosibirsk"},{value:"Asia/Omsk",name:"Omsk"},{value:"Asia/Oral",name:"Oral"},{value:"Asia/Phnom_Penh",name:"Phnom Penh"},{value:"Asia/Pontianak",name:"Pontianak"},{value:"Asia/Pyongyang",name:"Pyongyang"},{value:"Asia/Qatar",name:"Qatar"},{value:"Asia/Qyzylorda",name:"Qyzylorda"},{value:"Asia/Rangoon",name:"Rangoon"},{value:"Asia/Riyadh",name:"Riyadh"},{value:"Asia/Saigon",name:"Saigon"},{value:"Asia/Sakhalin",name:"Sakhalin"},{value:"Asia/Samarkand",name:"Samarkand"},{value:"Asia/Seoul",name:"Seoul"},{value:"Asia/Shanghai",name:"Shanghai"},{value:"Asia/Singapore",name:"Singapore"},{value:"Asia/Taipei",name:"Taipei"},{value:"Asia/Tashkent",name:"Tashkent"},{value:"Asia/Tbilisi",name:"Tbilisi"},{value:"Asia/Tehran",name:"Tehran"},{value:"Asia/Tel_Aviv",name:"Tel Aviv"},{value:"Asia/Thimbu",name:"Thimbu"},{value:"Asia/Thimphu",name:"Thimphu"},{value:"Asia/Tokyo",name:"Tokyo"},{value:"Asia/Ujung_Pandang",name:"Ujung Pandang"},{value:"Asia/Ulaanbaatar",name:"Ulaanbaatar"},{value:"Asia/Ulan_Bator",name:"Ulan Bator"},{value:"Asia/Urumqi",name:"Urumqi"},{value:"Asia/Vientiane",name:"Vientiane"},{value:"Asia/Vladivostok",name:"Vladivostok"},{value:"Asia/Yakutsk",name:"Yakutsk"},{value:"Asia/Yekaterinburg",name:"Yekaterinburg"},{value:"Asia/Yerevan",name:"Yerevan"}]},{group:"Africa",zones:[{value:"Africa/Abidjan",name:"Abidjan"},{value:"Africa/Accra",name:"Accra"},{value:"Africa/Addis_Ababa",name:"Addis Ababa"},{value:"Africa/Algiers",name:"Algiers"},{value:"Africa/Asmara",name:"Asmara"},{value:"Africa/Asmera",name:"Asmera"},{value:"Africa/Bamako",name:"Bamako"},{value:"Africa/Bangui",name:"Bangui"},{value:"Africa/Banjul",name:"Banjul"},{value:"Africa/Bissau",name:"Bissau"},{value:"Africa/Blantyre",name:"Blantyre"},{value:"Africa/Brazzaville",name:"Brazzaville"},{value:"Africa/Bujumbura",name:"Bujumbura"},{value:"Africa/Cairo",name:"Cairo"},{value:"Africa/Casablanca",name:"Casablanca"},{value:"Africa/Ceuta",name:"Ceuta"},{value:"Africa/Conakry",name:"Conakry"},{value:"Africa/Dakar",name:"Dakar"},{value:"Africa/Dar_es_Salaam",name:"Dar es Salaam"},{value:"Africa/Djibouti",name:"Djibouti"},{value:"Africa/Douala",name:"Douala"},{value:"Africa/El_Aaiun",name:"El Aaiun"},{value:"Africa/Freetown",name:"Freetown"},{value:"Africa/Gaborone",name:"Gaborone"},{value:"Africa/Harare",name:"Harare"},{value:"Africa/Johannesburg",name:"Johannesburg"},{value:"Africa/Kampala",name:"Kampala"},{value:"Africa/Khartoum",name:"Khartoum"},{value:"Africa/Kigali",name:"Kigali"},{value:"Africa/Kinshasa",name:"Kinshasa"},{value:"Africa/Lagos",name:"Lagos"},{value:"Africa/Libreville",name:"Libreville"},{value:"Africa/Lome",name:"Lome"},{value:"Africa/Luanda",name:"Luanda"},{value:"Africa/Lubumbashi",name:"Lubumbashi"},{value:"Africa/Lusaka",name:"Lusaka"},{value:"Africa/Malabo",name:"Malabo"},{value:"Africa/Maputo",name:"Maputo"},{value:"Africa/Maseru",name:"Maseru"},{value:"Africa/Mbabane",name:"Mbabane"},{value:"Africa/Mogadishu",name:"Mogadishu"},{value:"Africa/Monrovia",name:"Monrovia"},{value:"Africa/Nairobi",name:"Nairobi"},{value:"Africa/Ndjamena",name:"Ndjamena"},{value:"Africa/Niamey",name:"Niamey"},{value:"Africa/Nouakchott",name:"Nouakchott"},{value:"Africa/Ouagadougou",name:"Ouagadougou"},{value:"Africa/Porto-Novo",name:"Porto-Novo"},{value:"Africa/Sao_Tome",name:"Sao Tome"},{value:"Africa/Timbuktu",name:"Timbuktu"},{value:"Africa/Tripoli",name:"Tripoli"},{value:"Africa/Tunis",name:"Tunis"},{value:"Africa/Windhoek",name:"Windhoek"}]},{group:"Australia",zones:[{value:"Australia/ACT",name:"ACT"},{value:"Australia/Adelaide",name:"Adelaide"},{value:"Australia/Brisbane",name:"Brisbane"},{value:"Australia/Broken_Hill",name:"Broken Hill"},{value:"Australia/Canberra",name:"Canberra"},{value:"Australia/Currie",name:"Currie"},{value:"Australia/Darwin",name:"Darwin"},{value:"Australia/Eucla",name:"Eucla"},{value:"Australia/Hobart",name:"Hobart"},{value:"Australia/LHI",name:"LHI"},{value:"Australia/Lindeman",name:"Lindeman"},{value:"Australia/Lord_Howe",name:"Lord Howe"},{value:"Australia/Melbourne",name:"Melbourne"},{value:"Australia/North",name:"North"},{value:"Australia/NSW",name:"NSW"},{value:"Australia/Perth",name:"Perth"},{value:"Australia/Queensland",name:"Queensland"},{value:"Australia/South",name:"South"},{value:"Australia/Sydney",name:"Sydney"},{value:"Australia/Tasmania",name:"Tasmania"},{value:"Australia/Victoria",name:"Victoria"},{value:"Australia/West",name:"West"},{value:"Australia/Yancowinna",name:"Yancowinna"}]},{group:"Indian",zones:[{value:"Indian/Antananarivo",name:"Antananarivo"},{value:"Indian/Chagos",name:"Chagos"},{value:"Indian/Christmas",name:"Christmas"},{value:"Indian/Cocos",name:"Cocos"},{value:"Indian/Comoro",name:"Comoro"},{value:"Indian/Kerguelen",name:"Kerguelen"},{value:"Indian/Mahe",name:"Mahe"},{value:"Indian/Maldives",name:"Maldives"},{value:"Indian/Mauritius",name:"Mauritius"},{value:"Indian/Mayotte",name:"Mayotte"},{value:"Indian/Reunion",name:"Reunion"}]},{group:"Atlantic",zones:[{value:"Atlantic/Azores",name:"Azores"},{value:"Atlantic/Bermuda",name:"Bermuda"},{value:"Atlantic/Canary",name:"Canary"},{value:"Atlantic/Cape_Verde",name:"Cape Verde"},{value:"Atlantic/Faeroe",name:"Faeroe"},{value:"Atlantic/Faroe",name:"Faroe"},{value:"Atlantic/Jan_Mayen",name:"Jan Mayen"},{value:"Atlantic/Madeira",name:"Madeira"},{value:"Atlantic/Reykjavik",name:"Reykjavik"},{value:"Atlantic/South_Georgia",name:"South Georgia"},{value:"Atlantic/Stanley",name:"Stanley"},{value:"Atlantic/St_Helena",name:"St Helena"}]},{group:"Pacific",zones:[{value:"Pacific/Apia",name:"Apia"},{value:"Pacific/Auckland",name:"Auckland"},{value:"Pacific/Chatham",name:"Chatham"},{value:"Pacific/Easter",name:"Easter"},{value:"Pacific/Efate",name:"Efate"},{value:"Pacific/Enderbury",name:"Enderbury"},{value:"Pacific/Fakaofo",name:"Fakaofo"},{value:"Pacific/Fiji",name:"Fiji"},{value:"Pacific/Funafuti",name:"Funafuti"},{value:"Pacific/Galapagos",name:"Galapagos"},{value:"Pacific/Gambier",name:"Gambier"},{value:"Pacific/Guadalcanal",name:"Guadalcanal"},{value:"Pacific/Guam",name:"Guam"},{value:"Pacific/Honolulu",name:"Honolulu"},{value:"Pacific/Johnston",name:"Johnston"},{value:"Pacific/Kiritimati",name:"Kiritimati"},{value:"Pacific/Kosrae",name:"Kosrae"},{value:"Pacific/Kwajalein",name:"Kwajalein"},{value:"Pacific/Majuro",name:"Majuro"},{value:"Pacific/Marquesas",name:"Marquesas"},{value:"Pacific/Midway",name:"Midway"},{value:"Pacific/Nauru",name:"Nauru"},{value:"Pacific/Niue",name:"Niue"},{value:"Pacific/Norfolk",name:"Norfolk"},{value:"Pacific/Noumea",name:"Noumea"},{value:"Pacific/Pago_Pago",name:"Pago Pago"},{value:"Pacific/Palau",name:"Palau"},{value:"Pacific/Pitcairn",name:"Pitcairn"},{value:"Pacific/Ponape",name:"Ponape"},{value:"Pacific/Port_Moresby",name:"Port Moresby"},{value:"Pacific/Rarotonga",name:"Rarotonga"},{value:"Pacific/Saipan",name:"Saipan"},{value:"Pacific/Samoa",name:"Samoa"},{value:"Pacific/Tahiti",name:"Tahiti"},{value:"Pacific/Tarawa",name:"Tarawa"},{value:"Pacific/Tongatapu",name:"Tongatapu"},{value:"Pacific/Truk",name:"Truk"},{value:"Pacific/Wake",name:"Wake"},{value:"Pacific/Wallis",name:"Wallis"},{value:"Pacific/Yap",name:"Yap"}]},{group:"Antarctica",zones:[{value:"Antarctica/Casey",name:"Casey"},{value:"Antarctica/Davis",name:"Davis"},{value:"Antarctica/DumontDUrville",name:"DumontDUrville"},{value:"Antarctica/Macquarie",name:"Macquarie"},{value:"Antarctica/Mawson",name:"Mawson"},{value:"Antarctica/McMurdo",name:"McMurdo"},{value:"Antarctica/Palmer",name:"Palmer"},{value:"Antarctica/Rothera",name:"Rothera"},{value:"Antarctica/South_Pole",name:"South Pole"},{value:"Antarctica/Syowa",name:"Syowa"},{value:"Antarctica/Vostok",name:"Vostok"}]},{group:"Arctic",zones:[{value:"Arctic/Longyearbyen",name:"Longyearbyen"}]},{group:"UTC",zones:[{value:"UTC",name:"UTC"}]},{group:"Manual Offsets",zones:[{value:"UTC-12",name:"UTC-12"},{value:"UTC-11",name:"UTC-11"},{value:"UTC-10",name:"UTC-10"},{value:"UTC-9",name:"UTC-9"},{value:"UTC-8",name:"UTC-8"},{value:"UTC-7",name:"UTC-7"},{value:"UTC-6",name:"UTC-6"},{value:"UTC-5",name:"UTC-5"},{value:"UTC-4",name:"UTC-4"},{value:"UTC-3",name:"UTC-3"},{value:"UTC-2",name:"UTC-2"},{value:"UTC-1",name:"UTC-1"},{value:"UTC+0",name:"UTC+0"},{value:"UTC+1",name:"UTC+1"},{value:"UTC+2",name:"UTC+2"},{value:"UTC+3",name:"UTC+3"},{value:"UTC+4",name:"UTC+4"},{value:"UTC+5",name:"UTC+5"},{value:"UTC+6",name:"UTC+6"},{value:"UTC+7",name:"UTC+7"},{value:"UTC+8",name:"UTC+8"},{value:"UTC+9",name:"UTC+9"},{value:"UTC+10",name:"UTC+10"},{value:"UTC+11",name:"UTC+11"},{value:"UTC+12",name:"UTC+12"},{value:"UTC+13",name:"UTC+13"},{value:"UTC+14",name:"UTC+14"}]}]}}}),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.motiondialer",{url:"/motiondialer",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:16}}})}]),angular.module("xCallyShuttleApp").controller("MotionDialerProcessListCtrl",["$scope","$uibModal","$translate","xAlert","Modal","MotionDialerProcess","uiGridConstants","usSpinnerService",function(a,b,c,d,e,f,g,h){a.initView=function(){return a.gridOptions={paginationPageSizes:[10,25,50,75],paginationPageSize:10,enableFiltering:!0,enableSorting:!0,enableGridMenu:!0,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,columnDefs:[{name:"id",width:60},{name:"name"},{name:"queue",enableSorting:!1},{name:"extension",enableSorting:!1},{name:"id_list",enableSorting:!1,cellTemplate:'',cellClass:"ui-grid-vcenter"},{name:"status",cellTemplate:"",cellClass:"ui-grid-vcenter",filter:{type:g.filter.SELECT,selectOptions:[{value:"RUN",label:"RUNNING"},{value:"STOP",label:"STOPPED"}]}},{name:"updatedtime",sort:{direction:g.DESC},enableFiltering:!1},{name:"action",cellTemplate:'',enableSorting:!1,cellClass:"ui-grid-vcenter",enableFiltering:!1}]},f.list({page:1,size:6e5}).$promise.then(function(b){console.log(b),b.status>0?a.gridOptions.data=b.response.RMI.rows:d.show("Please, check your connection!","danger")})["catch"](function(a){ -d.show(a.message?a.message:a.data.message,"danger")})["finally"](function(){h.stop("spinner-grid")})},a.createProcessQueue=function(){var c=b.open({animation:!0,templateUrl:"app/motiondialer/process/list/list.create.queue.modal.html",controller:"MotionDialerProcessListCreateQueueCtrl"});c.result.then(function(b){a.gridOptions.data.push(b.response.RMI)})},a.createProcessSquare=function(){var c=b.open({animation:!0,templateUrl:"app/motiondialer/process/list/list.create.square.modal.html",controller:"MotionDialerProcessListCreateSquareCtrl"});c.result.then(function(b){a.gridOptions.data.push(b.response.RMI)})},a.deleteItem=e.confirm["delete"](function(b){return f["delete"]({id:b}).$promise.then(function(e){e.status>0?(_.remove(a.gridOptions.data,{id:b}),d.show(c.instant("MESSAGE_WELL_DONE"),"success")):d.show(e.message||"Please, check your connection!","danger")})["catch"](function(a){d.show(a.message?a.message:a.data.message,"danger")})})}]),angular.module("xCallyShuttleApp").controller("MotionDialerProcessListCreateQueueCtrl",["$scope","$translate","$uibModalInstance","MotionDialerProcess","MotionDialerList","Trunk","VoiceQueue","Route","xAlert",function(a,b,c,d,e,f,g,h,i){a.form={},a.item={fetch_sort:"ASC",timeout:3},a.initModal=function(){return g.get().$promise.then(function(b){return a.queues={},b&&(a.queues=b.rows),f.get().$promise}).then(function(b){return a.trunks={},b&&(a.trunks=b.rows),a.trunks.push({name:"fake"}),e.list({page:1,size:6e5}).$promise}).then(function(b){a.lists={},b.status>0?a.lists=b.response.RMI.rows:i.show("Please, check your connection!","danger")})["catch"](function(a){i.show(a.message?a.message:a.data.message,"danger")})},a.save=function(){console.log(a.item);var e="process_"+a.item.name+"_queue_"+a.item.queue.name+"_"+Math.round(1e5*Math.random()),f="Generated by Motion Dialer, Process Queue"+(a.item.description?", "+a.item.description:"");return h.save({appdata:"Internal Call",context:"from-sip",exten:e.replace(/\s/g,"_"),type:"internal",description:f,Applications:[{appdata:["QUEUE_PRIO=99"],app:"Set",interval:"*,*,*,*",type:"internal"},{appdata:[a.item.queue.name,"","","",a.item.timeout],app:"Queue",interval:"*,*,*,*",type:"internal"}]}).$promise.then(function(b){return console.log(b),d.insert({name:a.item.name,id_list:a.item.list.id,queue:a.item.queue.name,device:a.item.device.name,context:"from-sip",extension:e.replace(/\s/g,"_"),description:a.item.description,auto_closed:!0,fetch_sort:a.item.fetch_sort}).$promise}).then(function(a){a.status>0?(i.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)):i.show(a.message||"Please, check your connection!","danger")})["catch"](function(a){i.show(a.message?a.message:a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").controller("MotionDialerProcessListCreateSquareCtrl",["$scope","$translate","$uibModalInstance","MotionDialerProcess","MotionDialerList","SquareProject","Trunk","Route","xAlert",function(a,b,c,d,e,f,g,h,i){a.form={},a.item={fetch_sort:"ASC"},a.initModal=function(){return f.get().$promise.then(function(b){return a.projects={},b&&(a.projects=b.rows),g.get().$promise}).then(function(b){return a.trunks={},b&&(a.trunks=b.rows),a.trunks.push({name:"fake"}),e.list({page:1,size:6e5}).$promise}).then(function(b){a.lists={},b.status>0?a.lists=b.response.RMI.rows:i.show("Please, check your connection!","danger")})["catch"](function(a){i.show(a.message?a.message:a.data.message,"danger")})},a.save=function(){console.log(a.item);var e="process_"+a.item.name+"_square_"+a.item.project.name+"_"+Math.round(1e5*Math.random()),f="Generated by Motion Dialer, Process Square"+(a.item.description?", "+a.item.description:"");return h.save({appdata:"Internal Call",context:"from-sip",exten:e.replace(/\s/g,"_"),type:"internal",description:f,Applications:[{appdata:["agi://127.0.0.1/square",a.item.project.name],app:"AGI",interval:"*,*,*,*",type:"internal"}]}).$promise.then(function(b){return console.log(b),d.insert({name:a.item.name,id_list:a.item.list.id,queue:"none",device:a.item.device.name,context:"from-sip",extension:e.replace(/\s/g,"_"),description:a.item.description,auto_closed:!0,channel_limit:15,fetch_sort:a.item.fetch_sort}).$promise}).then(function(a){a.status>0?(i.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)):i.show(a.message||"Please, check your connection!","danger")})["catch"](function(a){i.show(a.message?a.message:a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.motiondialer.processes.list",{url:"/list",templateUrl:"app/motiondialer/process/list/list.html",controller:"MotionDialerProcessListCtrl",authenticate:!0})}]),angular.module("xCallyShuttleApp").factory("MotionDialerProcess",["$resource",function(a){return a("/api/rest/process/:controller",null,{list:{method:"POST",params:{controller:"list"}},insert:{method:"POST",params:{controller:"insert"}},"delete":{method:"POST",params:{controller:"delete"}},find:{method:"POST",params:{controller:"find"}},update:{method:"POST",params:{controller:"update"}}})}]),angular.module("xCallyShuttleApp").factory("MotionDialerSpooler",["$resource",function(a){return a("/api/rest/spooler/:controller/:retrieve",null,{list:{method:"POST",params:{controller:"list"}},"delete":{method:"POST",params:{controller:"delete"}},find:{method:"POST",params:{controller:"find"}},summary:{method:"POST",params:{controller:"summary"}},close:{method:"POST",params:{controller:"retrieve",retrieve:"close"}},open:{method:"POST",params:{controller:"retrieve",retrieve:"open"}},blacklist:{method:"POST",params:{controller:"retrieve",retrieve:"blacklist"}},planning:{method:"POST",params:{controller:"retrieve",retrieve:"planning"}}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.motiondialer.processes",{url:"/processes",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("MotionDialerProcessViewCtrl",["$scope","$translate","$stateParams","$uibModal","xAlert","uiGridConstants","usSpinnerService","MotionDialerProcess","MotionDialerSpooler","Modal","VoiceQueue",function(a,b,c,d,e,f,g,h,i,j,k){a.process={},a.techs=["SIP","IAX","LOCAL","KHOMP"],a.dialFormats=["tech/device/number","tech/number@device"],a.checkDuplicates=["ALWAYS","IFOPEN","NO"],a.codecs=["g729","ilbc","gsm","ulaw","alaw"],a.getProcess=function(){return h.find({id:parseInt(c.id)}).$promise.then(function(b){console.log(b),b.status>0?(b.response.RMI.codecs=b.response.RMI.codecs.split(","),a.process=b.response.RMI):e.show(b.message||"Please, check your connection!","danger")})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})},a.getSummary=function(){return i.summary({id_process:parseInt(c.id)}).$promise.then(function(b){if(b.status>0){a.summary=b.response.RMI.totals,a.total=0;for(var c=0;c0?(c.response.RMI.codecs=c.response.RMI.codecs.split(","),a.process=c.response.RMI,e.show(b.instant("MESSAGE_WELL_DONE"),"success")):c.response.RMI.errors.forEach(function(a){a?e.show(a.field+": "+a.error,"danger"):e.show("Please, check your connection!","danger")})})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})},a.getSpooler=function(){return a.gridOptions={paginationPageSizes:[10,25,50,75],paginationPageSize:10,enableFiltering:!0,enableSorting:!0,enableGridMenu:!0,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,headerCellFilter:"translate",columnDefs:[{name:"name"},{name:"phones"},{name:"retrieve",filter:{type:f.filter.SELECT,selectOptions:[{value:"PLANNED_PEER",label:"PLANNED PEER"},{value:"PLANNED",label:"PLANNED"},{value:"BLACK_LIST",label:"BLACKLIST"},{value:"OPEN",label:"OPEN"},{value:"CLOSED",label:"CLOSED"},{value:"MAX_ATTEMPTS",label:"MAX ATTEMPTS"},{value:"COUNTER_BLOCK",label:"COUNTER BLOCK"},{value:"PLANNED_REQUEST",label:"PLANNED REQUEST"},{value:"DELETE",label:"DELETE"}]}},{name:"counter",enableFiltering:!1},{name:"updatedtime",enableFiltering:!1},{name:"action",cellTemplate:'',enableSorting:!1,cellClass:"ui-grid-vcenter",enableFiltering:!1}]},i.list({id_process:parseInt(c.id),page:1,size:6e5}).$promise.then(function(b){b.status>0?a.gridOptions.data=b.response.RMI.rows:e.show(b.message||"Please, check your connection!","danger")})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})["finally"](function(){g.stop("spinner-grid")})},a.deleteSpooler=j.confirm["delete"](function(c){return i["delete"]({id:c}).$promise.then(function(d){d.status>0?(_.remove(a.gridOptions.data,{id:c}),e.show(b.instant("MESSAGE_WELL_DONE"),"success")):e.show(d.message||"Please, check your connection!","danger")})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})}),a.historySpooler=function(b){var c=d.open({animation:!0,templateUrl:"app/motiondialer/process/view/view.spooler.history.modal.html",controller:"MotionDialerViewSpoolerHistoryCtrl",resolve:{historySpooler:function(){return b}}});c.result.then(function(b){a.gridOptions.data.push(b.response.RMI)})},a.initSettings=function(){return a.queues=null,k.get().$promise.then(function(b){b&&(a.queues=b.rows,a.process.queue&&"none"!==a.process.queue&&(a.queue=_.find(b.rows,{name:a.process.queue})))})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})},a.createInterval=function(b){var c=d.open({animation:!0,templateUrl:"app/motiondialer/process/view/view.create.interval.modal.html",controller:"MotionDialerViewCreateIntervalCtrl",resolve:{objectProcess:function(){return a.process},intervalType:function(){return b},intervalValue:function(){return b?"8:00-20:00|MON-FRI|*|*":"00:01-07:59|SAT-SUN|*|*"}}});c.result.then(function(b){a.process=b})},a.editInterval=function(b,c){var e=d.open({animation:!0,templateUrl:"app/motiondialer/process/view/view.create.interval.modal.html",controller:"MotionDialerViewCreateIntervalCtrl",resolve:{objectProcess:function(){return a.process},intervalType:function(){return b},intervalValue:function(){return c}}});e.result.then(function(b){a.process=b})},a.deleteInterval=j.confirm["delete"](function(c,d){var f={id:a.process.id};return d?(f.intervals=[],f.intervals=f.intervals.concat(a.process.intervals),f.intervals.splice(c,1)):(f.not_intervals=[],f.not_intervals=f.not_intervals.concat(a.process.not_intervals),f.not_intervals.splice(c,1)),h.update(f).$promise.then(function(c){c.status>0?(c.response.RMI.codecs=c.response.RMI.codecs.split(","),a.process=c.response.RMI,e.show(b.instant("MESSAGE_WELL_DONE"),"success")):c.response.RMI.errors.forEach(function(a){a?e.show(a.field+": "+a.error,"danger"):e.show("Please, check your connection!","danger")})})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})}),a.runOrStop=function(){var b=d.open({animation:!0,templateUrl:"app/motiondialer/process/view/view.run.process.modal.html",controller:"MotionDialerViewRunProcessCtrl",resolve:{statusProcess:function(){return a.process.status}}});b.result.then(function(b){a.process.status=b.status})}}]),angular.module("xCallyShuttleApp").controller("MotionDialerViewCreateIntervalCtrl",["$scope","$translate","$uibModalInstance","$stateParams","MotionDialerProcess","xAlert","objectProcess","intervalType","intervalValue","interval",function(a,b,c,d,e,f,g,h,i,j){function k(a){var b,c=a.split("|"),d={};return c.forEach(function(a,c){switch(c){case 0:"*"!==a?(b=a.split("-"),d.t_from=moment(b[0],"HH:mm"),d.t_to=moment(b[1],"HH:mm"),d.alwaysTime=!1):(d.t_from=moment(new Date),d.t_to=moment(new Date),d.alwaysTime=!0);break;case 1:"*"!==a?(b=a.split("-"),d.wd_from=b[0].toLowerCase(),d.wd_to=b[1]?b[1].toLowerCase():"always"):(d.wd_from="always",d.wd_to="always");break;case 2:"*"!==a?(b=a.split("-"),d.md_from=b[0],d.md_to=b[1]?b[1]:"always"):(d.md_from="always",d.md_to="always");break;case 3:"*"!==a?(b=a.split("-"),d.m_from=b[0],d.m_to=b[1]?b[1]:"always"):(d.m_from="always",d.m_to="always")}}),d}function l(a){var b,c,d,e;return b=a.t_from&&a.t_to&&!a.alwaysTime?moment(a.t_from).format("HH:mm")+"-"+moment(a.t_to).format("HH:mm"):"*",a.wd_from&&"always"!==a.wd_from?(c=a.wd_from.toUpperCase(),a.wd_to&&"always"!==a.wd_to&&(c+="-"+a.wd_to.toUpperCase())):c="*",a.md_from&&"always"!==a.md_from?(d=a.md_from,a.md_to&&"always"!==a.md_to&&(d+="-"+a.md_to)):d="*",a.m_from&&"always"!==a.m_from?(e=a.m_from,a.m_to&&"always"!==a.m_to&&(e+="-"+a.m_to)):e="*",b+"|"+c+"|"+d+"|"+e}a.form={},a.$interval=j.interval,a.splittedInterval=k(i),a.save=function(){var d=l(a.splittedInterval);console.log(d);var i={id:g.id};return h?(i.intervals=[],i.intervals=i.intervals.concat(g.intervals),i.intervals.push(d)):(i.not_intervals=[],i.not_intervals=i.not_intervals.concat(g.not_intervals),i.not_intervals.push(d)),console.log(i),e.update(i).$promise.then(function(a){a.status>0?(a.response.RMI.codecs=a.response.RMI.codecs.split(","),f.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a.response.RMI)):a.response.RMI.errors.forEach(function(a){a?f.show(a.field+": "+a.error,"danger"):f.show("Please, check your connection!","danger")})})["catch"](function(a){f.show(a.message?a.message:a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.motiondialer.processes.view",{url:"/view/:id",templateUrl:"app/motiondialer/process/view/view.html",controller:"MotionDialerProcessViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.motiondialer.processes.view.overview",{url:"/overview",templateUrl:"app/motiondialer/process/view/view.overview.html"}).state("main.motiondialer.processes.view.settings",{url:"/settings",templateUrl:"app/motiondialer/process/view/view.settings.html"}).state("main.motiondialer.processes.view.intervals",{url:"/intervals",templateUrl:"app/motiondialer/process/view/view.intervals.html"}).state("main.motiondialer.processes.view.spooler",{url:"/spooler",templateUrl:"app/motiondialer/process/view/view.spooler.html"})}]),angular.module("xCallyShuttleApp").controller("MotionDialerViewRunProcessCtrl",["$scope","$stateParams","$uibModalInstance","$translate","statusProcess","MotionDialerProcess","xAlert",function(a,b,c,d,e,f,g){a.status="RUN"===e?"STOP":"RUN",a.yes=function(){f.update({id:parseInt(b.id),status:a.status}).$promise.then(function(a){a.status>0?(g.show(d.instant("MESSAGE_WELL_DONE"),"success"),c.close(a.response.RMI)):g.show(a.message||"Please, check your connection!","danger")})["catch"](function(a){g.show(a.message?a.message:a.data.message,"danger")})},a.no=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").controller("MotionDialerViewSpoolerHistoryCtrl",["$scope","$translate","$uibModalInstance","$stateParams","MotionDialerSpooler","xAlert","historySpooler",function(a,b,c,d,e,f,g){a.historySpooler=g,a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").controller("SalesforceListCtrl",["$scope","SalesforceAccount","gridOptions","xAlert","$translate",function(a,b,c,d,e){a.initView=function(){var d={exporterCsvFilename:"salesforce_account.csv",columnDefs:[{name:"name",displayName:"APPLICATION_NAME"},{name:"username"},{name:"remoteUri",displayName:"APPLICATION_URI"},{name:"action",buttons:[{"class":"blue-hoki",href:"/salesforce/view/{{row.entity.id}}/account",name:"account"},{"class":"green-jungle",name:"check",displayName:"APPLICATION_CHECK",onClick:"grid.appScope.checkAccount(row.entity.id)"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,d,a)},a.checkAccount=function(a){return b.check({id:a}).$promise.then(function(){d.show(e.instant("MESSAGE_ACCOUNT_VERIFIED"),"success")})["catch"](function(){d.show(e.instant("MESSAGE_ACCOUNT_INVALID"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.salesforce.list",{url:"/list",templateUrl:"app/salesforce/list/list.html",controller:"SalesforceListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").factory("SalesforceAccount",["$resource",function(a){return a("/api/salesforce/accounts/:id/:controller",{id:"@id"},{update:{method:"PUT"},fields:{params:{controller:"fields"},isArray:!0},check:{params:{controller:"check"}}})}]).factory("SalesforceConfiguration",["$resource",function(a){return a("/api/salesforce/accounts/:accountId/configurations/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]).factory("SalesforceField",["$resource",function(a){return a("/api/salesforce/accounts/:accountId/configurations/:configurationId/fields/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.salesforce",{url:"/salesforce",template:"
","abstract":!0,data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.salesforce.view.configurations",{url:"/configurations",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("SalesforceViewConfigurationListCtrl",["$scope","$stateParams","$translate","gridOptions","SalesforceConfiguration","$uibModal",function(a,b,c,d,e,f){a.initView=function(){var c={exporterCsvFilename:"salesforce_configurations.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/salesforce/view/{{row.entity.AccountId}}/configurations/view/{{row.entity.id}}",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=d.gridOptions(e,c,a,{accountId:b.id})},a.createItem=function(){var b=f.open({animation:!0,templateUrl:"app/salesforce/view/configuration/list/create.modal.html",controller:"SalesforceCreateConfigurationCtrl"});b.result.then(function(){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("SalesforceCreateConfigurationCtrl",["$scope","$translate","$uibModalInstance","SalesforceConfiguration","xAlert","$stateParams","channel",function(a,b,c,d,e,f,g){a.form={},a.item={},a.channels=g,a.item.channel="voice",a.save=function(){return d.save({accountId:f.id},a.item).$promise.then(function(a){e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){e.error(a)})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.salesforce.view.configurations.list",{url:"/list",templateUrl:"app/salesforce/view/configuration/list/list.html",controller:"SalesforceViewConfigurationListCtrl"})}]),angular.module("xCallyShuttleApp").controller("SalesforceViewConfigurationViewCtrl",["$scope","$filter","$stateParams","$translate","socket","variable","xAlert","SalesforceAccount","SalesforceConfiguration","SalesforceField","Variable",function(a,b,c,d,e,f,g,h,i,j,k){a.$on("$destroy",function(){e.unsyncUpdates("salesforce_field")}),a.config={autoHideScrollbar:!1,theme:"dark",advanced:{updateOnContentResize:!0},setHeight:300,scrollInertia:0},a.fieldType=[{type:"string",title:"String"},{type:"variable",title:"Variable"},{type:"customVariable",title:"Custom Variable"}],a.descFieldType=[{type:"string",title:"String"},{type:"keyValue",title:"Key Value"}],a.groupVariableByGroup=function(a){switch(a.group){case"voice_queue":return"Voice: Queue";default:return"Other"}},a.initView=function(){a.configurationName="",a.subjectConfig=[],a.descriptionConfig=[],a.fieldConfig=[],a.variables=f},a.getConfiguration=function(){return i.get({accountId:c.id,id:c.configurationId}).$promise.then(function(b){a.configurationName=b.name,a.subjectConfig=b.Subject,a.descriptionConfig=b.Description,a.fieldConfig=b.Field,e.socket.on("salesforce_field:remove",function(b){_.remove(a.subjectConfig,{id:b.id}),_.remove(a.descriptionConfig,{id:b.id}),_.remove(a.fieldConfig,{id:b.id})})})["catch"](function(a){g.error(a)})},a.getCustomVariables=function(){return k.get().$promise.then(function(b){a.customVariables=b.rows})["catch"](function(a){g.error(a)})},a.getFields=function(){return h.fields({id:c.id}).$promise.then(function(c){a.accountFields=_.sortByOrder(b("salesforce")(c),"name","asc"),console.log(a.accountFields)})["catch"](function(a){g.error(a)})},a.addItem=function(b){var d={};switch(b){case"subject":case"description":d={type:"string",content:""};break;case"field":d={content:""}}return i.save({accountId:c.id,id:c.configurationId,controller:b},d).$promise.then(function(c){switch(b){case"subject":a.subjectConfig.push(c);break;case"description":a.descriptionConfig.push(c);break;case"field":a.fieldConfig.push(c)}})["catch"](function(a){g.error(a)})},a.changeType=function(b){"variable"===b.type?(b.content="",b.variableName=""):"string"===b.type?(b.VariableId=null,b.variableName=""):"customVariable"===b.type&&(b.VariableId=null,b.content=""),a.updateField(b)},a.updateField=function(a){return j.update({accountId:c.id,configurationId:c.configurationId,id:a.id},a).$promise.then(function(){})["catch"](function(a){g.error(a)})},a.removeItem=function(a){return j["delete"]({accountId:c.id,configurationId:c.configurationId,id:a.id}).$promise.then(function(){g.show(d.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){g.error(a)})},a.changeDescType=function(b){"keyValue"===b.type?(b.content="","string"===b.keyType?(b.VariableId=null,b.variableName=""):"variable"===b.keyType?(b.keyContent="",b.VariableId=null):"customVariable"===b.keyType&&(b.keyContent="",b.variableName="")):"string"===b.type&&(b.VariableId=null,b.variableName="",b.key="",b.keyContent=""),a.updateField(b)},a.getSystemFieldOptions=function(b){if(b){var c=_.find(a.accountFields,"name",b);if(c)switch(c.type){case"picklist":return c.picklistValues;default:return}}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.salesforce.view.configurations.view",{url:"/view/:configurationId",templateUrl:"app/salesforce/view/configuration/view/view.html",controller:"SalesforceViewConfigurationViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("SalesforceViewCtrl",["$scope","$http","$stateParams","$translate","$location","WizardHandler","socket","xAlert","Modal","$filter","SalesforceAccount",function(a,b,c,d,e,f,g,h,i,j,k){a.initView=function(){return k.get({id:c.id}).$promise.then(function(b){a.account=b})["catch"](function(a){h.error(a)})},a.updateItem=function(){return k.update({id:c.id},a.account).$promise.then(function(){h.show(d.instant("MESSAGE_WELL_DONE")+".","success")})["catch"](function(a){h.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.salesforce.view",{url:"/view/:id",templateUrl:"app/salesforce/view/view.html",controller:"SalesforceViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.salesforce.view.account",{url:"/account",templateUrl:"app/salesforce/view/view.account.html"})}]),angular.module("xCallyShuttleApp").controller("SalesforceWizardCtrl",["$scope","$http","$location","$translate","xAlert","WizardHandler",function(a,b,c,d,e,f){a.translate=d,a.initWizard=function(){a.$translate=d,a.forms={},a.item={}},a.next=function(){f.wizard().next()},a.exitValidation=function(a){return a},a.createItem=function(){console.log(a.item),b.post("api/salesforce/accounts",a.item).success(function(){e.show(d.instant("MESSAGE_WELL_DONE")+".","success"),c.path("/salesforce/list")}).error(function(a){e.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.salesforce.wizard",{url:"/wizard",templateUrl:"app/salesforce/wizard/wizard.html",controller:"SalesforceWizardCtrl"})}]),angular.module("xCallyShuttleApp").factory("License",["$resource",function(a){return a("/api/licenses/:id/:controller",{id:"@id"},{request:{method:"POST",params:{id:"request"}}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.license",{url:"/license",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("LicenseUpdateCtrl",["$scope","$translate","$uibModalInstance","xAlert","Setting",function(a,b,c,d,e){a.form={},a.item={},a.getLicense=function(){return e.get({id:1}).$promise.then(function(b){a.item.license=b.license})["catch"](function(a){d.show(a.data.message,"danger")})},a.update=function(){return e.update({id:1},a.item).$promise.then(function(a){d.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){d.show(a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").controller("LicenseViewCtrl",["$scope","$rootScope","$translate","License","xAlert","$window","$uibModal",function(a,b,c,d,e,f,g){a.initView=function(){return d.get(function(b){a.item=b.license})},a.submitRequest=function(){return d.request(a.item,function(){e.show(c.instant("MESSAGE_WELL_DONE"),"success")},function(a){switch(a.status){case 304:e.show(a.statusText,"info");break;default:e.show(a.statusText,"danger")}})},a.updateLicense=function(){var a=g.open({animation:!0,templateUrl:"app/setting/license/view/update.modal.html",controller:"LicenseUpdateCtrl"});a.result.then(function(){f.location.reload()})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.license.view",{url:"/view",templateUrl:"app/setting/license/view/view.html",controller:"LicenseViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/pricing-tables.css"]}])}]}})}]),angular.module("xCallyShuttleApp").factory("Externip",["$resource",function(a){return a("/api/network/externips/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("Localnet",["$resource",function(a){return a("/api/network/localnets/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.network",{url:"/network",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ExternipCtrl",["$scope","$uibModal","gridOptions","Externip",function(a,b,c,d){a.initView=function(){var b={exporterCsvFilename:"network_externip.csv",columnDefs:[{name:"value"},{name:"action",buttons:[{"class":"blue-hoki",onClick:"grid.appScope.createItem(row.entity)",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(d,b,a)},a.createItem=function(c){var d=b.open({animation:!0,templateUrl:"app/setting/network/view/externip/externip.create.modal.html",controller:"ExternipCreateCtrl",resolve:{item:c}});d.result.then(function(){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("ExternipCreateCtrl",["$scope","$translate","$uibModalInstance","$stateParams","Externip","xAlert","item",function(a,b,c,d,e,f,g){a.initModal=function(){a.form={},a.item=g||{},a.title=g?b.instant("APPLICATION_EDIT_EXTERNIP"):b.instant("APPLICATION_NEW_EXTERNIP")},a.save=function(){return g?e.update({id:a.item.id},a.item).$promise.then(function(a){f.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){f.error(a)}):e.save({},a.item).$promise.then(function(a){f.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){f.error(a)})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.network.view.externip",{url:"/externip",templateUrl:"app/setting/network/view/externip/externip.html",controller:"ExternipCtrl"})}]),angular.module("xCallyShuttleApp").controller("LocalnetCtrl",["$scope","gridOptions","Localnet","$uibModal",function(a,b,c,d){a.initView=function(){var d={exporterCsvFilename:"network_localnet.csv",columnDefs:[{name:"value"},{name:"action",buttons:[{"class":"blue-hoki",onClick:"grid.appScope.createItem(row.entity)",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=b.gridOptions(c,d,a)},a.createItem=function(b){var c=d.open({animation:!0,templateUrl:"app/setting/network/view/localnet/localnet.create.modal.html",controller:"LocalnetCreateCtrl",resolve:{item:b}});c.result.then(function(){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("LocalnetCreateCtrl",["$scope","$translate","$uibModalInstance","$stateParams","Localnet","xAlert","item",function(a,b,c,d,e,f,g){a.initModal=function(){if(a.form={},a.item=g||{},a.title=g?b.instant("APPLICATION_EDIT_LOCALNET"):b.instant("APPLICATION_NEW_LOCALNET"),g&&g.value){var c=a.item.value.split("/");c.length>1&&(a.item.address=c[0],a.item.mask=c[1])}},a.save=function(){var d=a.item.address+"/"+a.item.mask;return g?e.update({id:a.item.id},{value:d}).$promise.then(function(a){f.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){f.error(a)}):e.save({},{value:d}).$promise.then(function(a){f.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){f.error(a)})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.network.view.localnet",{url:"/localnet",templateUrl:"app/setting/network/view/localnet/localnet.html",controller:"LocalnetCtrl"})}]),angular.module("xCallyShuttleApp").controller("NetworkViewCtrl",["$scope","gridOptions","Localnet","Externip",function(a,b,c,d){a.initView=function(){var d={exporterCsvFilename:"network_localnet.csv",columnDefs:[{name:"value"},{name:"action",buttons:[{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=b.gridOptions(c,d,a)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.network.view",{url:"/view",templateUrl:"app/setting/network/view/view.html",controller:"NetworkViewCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting",{url:"/setting",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:18}}})}]),angular.module("xCallyShuttleApp").factory("Setting",["$resource",function(a){return a("/api/settings/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("Smtp",["$resource",function(a){return a("/api/mail/servers/out/:id/:controller",{id:"@id"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.smtp",{url:"/smtp",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("SmtpViewCtrl",["$scope","$stateParams","$translate","socket","MailServerOut","Setting","MailAccount","xAlert","usSpinnerService",function(a,b,c,d,e,f,g,h,i){ -a.initMailAccounts=function(){return e.query().$promise.then(function(b){a.servers=b})["catch"](function(a){h.show(a.message,"danger")})},a.initView=function(){a.smtpDisabled=!1,a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.CONST_TIMEOUT=3e4,a.item={type:"custom",account:{ssl:!1}},e.get({id:"service"}).$promise.then(function(b){b&&(a.item.account=b,d.socket.on("mail_server_out:state",function(b){if(b.id===a.item.account.id)switch(a.item.account.state=b.state,a.item.account.source=JSON.parse(b.source),b.state){case"CONNECTING":break;default:i.stop("spinner-grid"),a.smtpDisabled=!1}}),a.item.account.MailAccountId?a.item.type="account":(a.item.type="custom",a.item.account.ssl=!1))})["catch"](function(a){h.show(a.message,"danger")})},a.updateItem=function(){return a.item.account.service=!0,a.item.account.id?f.update({id:"smtp",controller:a.item.account.id},a.item.account).$promise.then(function(){h.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.show(a.message,"danger")}):f.save({id:"smtp"},a.item.account).$promise.then(function(b){a.item.account=b,h.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.show(a.message,"danger")})},a.test=function(){return i.spin("spinner-grid"),a.smtpDisabled=!0,e.update({id:a.item.account.id},{state:"CONNECTING"}).$promise["catch"](function(a){console.error(a)})["finally"](function(){i.stop("spinner-grid")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.smtp.view",{url:"/view",templateUrl:"app/setting/smtp/view/view.html",controller:"SmtpViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("UpdateListCtrl",["$scope","gridOptions","$uibModal","$location","Update",function(a,b,c,d,e){a.initCounter=function(){a.$on("timer-stopped",function(a,b){console.log("Timer Stopped - data = ",b),d.path("/dashboard/voice")})},a.initView=function(){var c={exporterCsvFilename:"updates.csv",enableFiltering:!1,enableSorting:!1,enablePaginationControls:!1,enableSelectAll:!1,columnDefs:[{name:"message"},{width:125,name:"version",cellClass:"text-center ui-grid-vcenter"},{width:125,name:"createdAt",displayName:"APPLICATION_UPDATED_AT",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
'}]};a.gridOptions=b.gridOptions(e,c,a)},a.pull=function(){c.open({animation:!0,templateUrl:"app/setting/update/list/list.pull.html",controller:"UpdateListPullCtrl"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.updates.list",{url:"/list",templateUrl:"app/setting/update/list/list.html",controller:"UpdateListCtrl"}).state("main.setting.updates.landing",{url:"/landing",templateUrl:"app/setting/update/list/landing.html",controller:"UpdateListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/error.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("UpdateListPullCtrl",["$scope","$uibModalInstance","$translate","$location","Update",function(a,b,c,d,e){a.modal={dismissable:!0,title:"Confirm Checkout",html:"Are you sure you want to checkout?",buttons:[{classes:"btn btn-success",text:"Checkout",click:function(){return e.pull().$promise["finally"](function(){b.dismiss("close"),d.path("/setting/updates/landing")})}},{classes:"btn default",text:"Cancel",click:function(){b.dismiss("cancel")}}]}}]),angular.module("xCallyShuttleApp").factory("Update",["$resource",function(a){return a("/api/updates/:id/:controller",{id:"@id"},{pull:{method:"GET",params:{id:"pull"}}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.updates",{url:"/updates",template:"
","abstract":!0,data:{permissions:{only:["hasUpdate"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").controller("SquareOdbcListCtrl",["$scope","$uibModal","$translate","SquareOdbc","gridOptions","xAlert",function(a,b,c,d,e,f){a.initView=function(){var b={exporterCsvFilename:"odbc.csv",columnDefs:[{name:"name"},{name:"dsn",displayName:"APPLICATION_ODBC"},{name:"description"},{name:"action",width:250,buttons:[{"class":"blue-hoki",href:"/square/odbc/view/{{row.entity.id}}/settings",name:"settings"},{"class":"green-jungle",name:"check",displayName:"APPLICATION_CHECK",onClick:"grid.appScope.checkConnection(row.entity.id)"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=e.gridOptions(d,b,a)},a.createItem=function(){var c=b.open({animation:!0,templateUrl:"app/square/odbc/list/list.create.modal.html",controller:"SquareOdbcListCreateCtrl"});c.result.then(function(){a.gridOptions.getPage()})},a.checkConnection=function(a){return d.get({id:a,controller:"check"}).$promise.then(function(){f.show(c.instant("MESSAGE_CONNECTION_VERIFIED"),"success")})["catch"](function(){f.show(c.instant("MESSAGE_CONNECTION_INVALID"),"danger")})}}]),angular.module("xCallyShuttleApp").controller("SquareOdbcListCreateCtrl",["$scope","$translate","$uibModalInstance","SquareOdbc","xAlert",function(a,b,c,d,e){a.form={},a.item={},a.item.dsn||(a.item.dsn="DRIVER=MySQL;SERVER=127.0.0.1;UID=xcall;PWD=password;DATABASE=motion"),a.save=function(){return d.save(a.item).$promise.then(function(a){e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){e.show(a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.odbc.list",{url:"/list",templateUrl:"app/square/odbc/list/list.html",controller:"SquareOdbcListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.odbc",{url:"/odbc",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("SquareOdbc",["$resource",function(a){return a("/api/square/odbc/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("SquareOdbcViewCtrl",["$scope","$translate","$stateParams","SquareOdbc","xAlert",function(a,b,c,d,e){a.odbc={},a.getOdbc=function(){return d.get({id:c.id}).$promise.then(function(b){a.odbc=b})["catch"](function(a){e.show(a.data.message,"danger")})},a.updateOdbc=function(){var f=angular.copy(a.odbc);return d.update({id:c.id},f).$promise.then(function(){e.show(b.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){e.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.odbc.view",{url:"/view/:id",templateUrl:"app/square/odbc/view/view.html",controller:"SquareOdbcViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.square.odbc.view.settings",{url:"/settings",templateUrl:"app/square/odbc/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("SquareProjectListCtrl",["$scope","$uibModal","SquareProject","gridOptions",function(a,b,c,d){a.initView=function(){var b={exporterCsvFilename:"projects.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:160,buttons:[{"class":"blue-hoki",href:"/square/projects/view/{{row.entity.id}}",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=d.gridOptions(c,b,a)},a.createItem=function(){var c=b.open({animation:!0,templateUrl:"app/square/project/list/list.create.modal.html",controller:"SquareProjectListCreateCtrl"});c.result.then(function(b){console.log(b),a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("SquareProjectListCreateCtrl",["$scope","$translate","$uibModalInstance","SquareProject","xAlert",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return d.save(a.item).$promise.then(function(a){e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){e.show(a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.projects.list",{url:"/list",templateUrl:"app/square/project/list/list.html",controller:"SquareProjectListCtrl",authenticate:!0})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.projects",{url:"/projects",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("SquareProject",["$resource",function(a){return a("/api/square/projects/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("SquareProjectViewCtrl",["$scope","$stateParams","Auth","xAlert","SquareProject",function(a,b,c,d,e){a.squareProject={},a.getProject=function(){return e.get({id:b.id}).$promise.then(function(b){a.squareProject=b,angular.element(document).ready(function(){window.onerror=function(a,b,c){try{if(null!==a&&-1!==a.indexOf("Script error."));else{var e=new Image;e.src="assets/plugins/mxgraph/images/1x1.png?msg="+encodeURIComponent(a)+"&url="+encodeURIComponent(b)+"&lnum="+encodeURIComponent(c)}}catch(f){d.show(f,"danger")}},b.token=c.getToken();var a=new EditorUi(new Editor);a.openString(b.preproduction,b.name,b),a.editor.graphChangeListener=function(a,b){var c=b.properties.rtChange||!1;c||(this.modified=!0)}})})["catch"](function(a){d.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.projects.view",{url:"/view/:id",templateUrl:"app/square/project/view/view.html",controller:"SquareProjectViewCtrl",authenticate:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",serie:!0,cache:!1,files:["assets/plugins/mxgraph/css/common.css","assets/plugins/mxgraph/css/explorer.css","assets/plugins/mxgraph/styles/grapheditor.css","assets/plugins/mxgraph/styles/custom.css","assets/plugins/square/js/custom.js","assets/plugins/mxgraph/js/mxClient.js","assets/plugins/square/js/Editor.js","assets/plugins/square/js/Graph.js","assets/plugins/square/js/EditorUi.js","assets/plugins/square/js/Actions.js","assets/plugins/square/js/Menus.js","assets/plugins/square/js/Sidebar.js","assets/plugins/square/js/Toolbar.js","assets/plugins/square/js/Dialogs.js"]}])}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.realtime",{url:"/realtime",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:14}}})}]),angular.module("xCallyShuttleApp").factory("ReportSquare",["$resource",function(a){return a("/api/report/square/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ReportSquareDetail",["$resource",function(a){return a("/api/report/square/details/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("SquareRealtimeViewGeneralCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","ReportSquare","usSpinnerService","$q","uiGridConstants",function(a,b,c,d,e,f,g,h,i,j){function k(b){return h.spin("spinner-grid"),g.get(m).$promise.then(function(b){a.gridOptions.totalItems=b.count,a.gridOptions.data=b.rows})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){b&&l(),h.stop("spinner-grid")})}function l(){e.socket.on("report_square:save",function(b){if(b.leaveAt){var c=_.remove(a.gridOptions.data,{id:b.id});c&&k()}else{var d=_.find(a.gridOptions.data,{id:b.id});if(!d&&a.gridOptions.data.length{{hhours}}:{{mminutes}}:{{sseconds}}
',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1}],data:[],gridMenuTitleFilter:function(a){var b=i.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){n(a.gridApi.core.getVisibleRows(a.gridApi.grid).length)}),a.gridApi.core.on.sortChanged(a,function(a,b){0===b.length?m.order=null:m.order=b[0].name+" "+b[0].sort.direction.toUpperCase(),k()}),a.gridApi.pagination.on.paginationChanged(a,function(a,b){m.offset=(a-1)*b,m.limit=b,k()}),a.gridApi.core.on.filterChanged(a,function(){var a=this.grid;a.columns.forEach(function(a){a.filters[0].term?m[a.name]=a.filters[0].term:delete m[a.name]}),k()})}},k(!0)};var n=function(a){var b=a?30*a+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("report_square")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.realtime.view.general",{url:"/general",templateUrl:"app/square/realtime/view/general/general.html",controller:"SquareRealtimeViewGeneralCtrl"})}]),angular.module("xCallyShuttleApp").controller("SquareRealtimeViewCtrl",["$scope",function(a){}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.realtime.view",{url:"/view",templateUrl:"app/square/realtime/view/view.html",controller:"SquareRealtimeViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("SquareRecordingListCtrl",["$scope","SquareRecording","gridOptions",function(a,b,c){a.SquareRecording=b;a.initView=function(){var d={exporterCsvFilename:"recordings.csv",rowHeight:30,columnDefs:[{name:"uniqueid"},{name:"callerid",displayName:"APPLICATION_CALLERIDNUM"},{name:"filename"},{name:"extension"},{name:"projectName",displayName:"APPLICATION_PROJECT"},{name:"audio",displayName:"",width:225,enableSorting:!1,enableFiltering:!1,buttons:[{directive:''}]},{name:"action",width:150,buttons:[{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.filename || row.entity.uniqueid, row.entity.id)"},{directive:''}]}]};a.gridOptions=c.gridOptions(b,d,a)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.recordings.list",{url:"/list",templateUrl:"app/square/recording/list/list.html",controller:"SquareRecordingListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.recordings",{url:"/recordings",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("SquareRecording",["$resource",function(a){return a("/api/square/recordings/:id/:controller",{id:"@id"},{update:{method:"PUT"},patch:{method:"PATCH"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square",{url:"/square",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:14}}})}]),angular.module("xCallyShuttleApp").factory("Agent",["$resource",function(a){return a("/api/agents/:id/:controller/:controller1",{id:"@id"},{changePassword:{method:"PUT",params:{controller:"password"}},update:{method:"PUT"},patch:{method:"PATCH"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.agents",{url:"/agents",template:"
","abstract":!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:4}}})}]),angular.module("xCallyShuttleApp").controller("AgentListCtrl",["$scope","$timeout","Agent","Auth","gridOptions",function(a,b,c,d,e){function f(a){if(a){var b=_.words(a),c=_.map(b,function(a){return a?a[0]:""});return c.join("").toUpperCase()}return!1}a.getUserAvatar=function(a,c,d){b(function(){angular.element("#userImg"+a).avatar({useGravatar:!1,initials:d?[]:f(c),fallbackImage:"api/users/avatar/"+d,size:80})})},a.initView=function(){a.Auth=d;var b={exporterCsvFilename:"agents.csv",columnDefs:[{name:"fullname"},{name:"name",displayName:"APPLICATION_USERNAME"},{name:"internal"},{name:"email"},{name:"description"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/staff/agents/view/{{row.entity.id}}/account",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.fullname, row.entity.id)"}]}]};a.gridOptions=e.gridOptions(c,b,a)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.agents.list",{url:"/list",templateUrl:"app/staff/agent/list/list.html",controller:"AgentListCtrl",data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:4}}})}]),angular.module("xCallyShuttleApp").controller("AgentViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","$cookieStore","Agent","FileUploader","Auth","User",function(a,b,c,d,e,f,g,h,i,j){a.Auth=i,a.radioSwitch={isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.recordSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"default",onColor:"success"},a.updatePassword=function(){var b={newPassword:a.agent.newPwd};return i.isAdmin()?b.id=e.id:b.oldPassword=a.agent.currentPwd,j.changePassword(b).$promise.then(function(){c.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){c.show(a.message,"danger")})};var k=a.uploader=new h({url:"api/users/"+e.id+"/avatar",queueLimit:1,withCredentials:!0,headers:{Authorization:"Bearer "+f.get("token")}});k.filters.push({name:"imageFilter",fn:function(a){var b="|"+a.type.slice(a.type.lastIndexOf("/")+1)+"|";return-1!=="|jpg|png|jpeg|".indexOf(b)}}),k.onSuccessItem=function(b,e){a.agent.userpic=e.userpic,a.agent.id===i.getCurrentUser().id&&(i.getCurrentUser().userpic=e.userpic),c.show(d.instant("MESSAGE_WELL_DONE"),"success")},k.onErrorItem=function(){c.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")},k.onCompleteAll=function(){k.clearQueue()},a.initView=function(){return g.get({id:e.id}).$promise.then(function(b){a.agent=b,a.agent.transport=a.agent.transport?a.agent.transport.split(","):[],a.agent.allow=a.agent.allow?a.agent.allow.split(";"):[],a.agent.nat=a.agent.nat?a.agent.nat.split(","):[]})["catch"](function(a){c.show(a.message,"danger")})},a.patchItem=function(){return g.update({id:e.id},{chatCapacity:a.agent.chatCapacity,mailCapacity:a.agent.mailCapacity,faxCapacity:a.agent.faxCapacity,smsCapacity:a.agent.smsCapacity}).$promise.then(function(){c.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){c.show(a.message,"danger")})},a.updateItem=function(){var b=angular.copy(a.agent);return delete b.password,delete b.md5secret,b.transport=b.transport.join(","),b.allow=b.allow.join(";"),b.nat=b.nat.join(","),g.update({id:e.id},b).$promise.then(function(){c.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){c.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.agents.view",{url:"/view/:id",templateUrl:"app/staff/agent/view/view.html",controller:"AgentViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]},data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:4}}}).state("main.staff.agents.view.account",{url:"/account",templateUrl:"app/staff/agent/view/view.account.html",data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:4}},resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/scripts/jquery.sparkline.min.js","assets/plugins/bootstrap-fileinput/bootstrap-fileinput.js","assets/scripts/profile.js"]})}]}}).state("main.staff.agents.view.voice",{url:"/voice",templateUrl:"app/staff/agent/view/view.voice.html",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:4}}}).state("main.staff.agents.view.chat",{url:"/chat",templateUrl:"app/staff/agent/view/view.chat.html",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:4}}}).state("main.staff.agents.view.mail",{url:"/mail",templateUrl:"app/staff/agent/view/view.mail.html",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:4}}}).state("main.staff.agents.view.fax",{url:"/fax",templateUrl:"app/staff/agent/view/view.fax.html",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:4}}}).state("main.staff.agents.view.sms",{url:"/sms",templateUrl:"app/staff/agent/view/view.sms.html",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:4}}}).state("main.staff.agents.view.motionbar",{url:"/motionbar",templateUrl:"app/staff/agent/view/view.motionbar.html",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:4}}})}]),angular.module("xCallyShuttleApp").controller("AgentWizardCtrl",["$scope","$rootScope","Agent","Setting","xAlert","$location","$translate","$http","WizardHandler",function(a,b,c,d,e,f,g,h,i){a.forms={info:void 0,voice:void 0},a.item={role:"agent",allow:["alaw","ulaw","gsm"],transport:["udp"],context:"from-sip"},a.next=function(){i.wizard().next()},a.exitValidation=function(a){return a},a.getFirstFreeInternal=function(){return d.get({controller:"internal"}).$promise.then(function(b){a.item.internal=b.value})["catch"](function(a){e.show(a.data.message,"danger")})},a.createItem=function(){var b=angular.copy(a.item);return b.transport&&(b.transport=b.transport.join(",")),a.item.allow&&(b.allow=b.allow.join(";")),c.save(b).$promise.then(function(){f.path("/staff/agents/list")})["catch"](function(a){console.log(a),e.show(a.message||a.data.message,"danger")})},a.createItems=function(){var b=[];a.item.transport&&(a.item.transport=a.item.transport.join(",")),a.item.allow&&(a.item.allow=a.item.allow.join(";"));for(var d=0;d
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("TeamCreateCtrl",["$scope","$uibModalInstance","Team","xAlert",function(a,b,c,d){a.form={},a.item={},a.ok=function(){return c.save(a.item).$promise.then(function(){b.close(a.item)})["catch"](function(a){d.show(a.data.message,"danger")})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("TeamListCtrl",["$scope","Team","gridOptions","$uibModal",function(a,b,c,d){a.initView=function(){var d={exporterCsvFilename:"teams.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:125,buttons:[{"class":"{{row.entity.defaultEntry ? 'blue-hoki disabled' : 'blue-hoki'}}",href:"/staff/teams/view/{{row.entity.id}}/settings",name:"profile"},{"class":"{{row.entity.defaultEntry ? 'red-sunglo disabled' : 'red-sunglo'}}",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,d,a)},a.createItem=function(){d.open({animation:!0,templateUrl:"app/staff/team/list/create.modal.html",controller:"TeamCreateCtrl"}).result.then(function(){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.teams.list",{url:"/list",templateUrl:"app/staff/team/list/list.html",controller:"TeamListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Team",["$resource",function(a){return a("/api/teams/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.teams",{url:"/teams",template:"
","abstract":!0,data:{permissions:{only:["admin"],redirectTo:"landing"}}})}]),angular.module("xCallyShuttleApp").controller("TeamViewCtrl",["$scope","$http","$stateParams","$translate","Team","Agent","xAlert",function(a,b,c,d,e,f,g){var h=function(){return{select:function(b){return console.log("agents",b),e.save({id:a.team.id,controller:"agents"},{agents:b})},deselect:function(b){return e["delete"]({id:a.team.id,controller:"agents",agents:b})}}};a.initView=function(){return e.get({id:c.id}).$promise.then(function(b){a.team=b})["catch"](function(a){g.show(a.message,"danger")})},a.initAgents=function(){return f.get().$promise.then(function(b){return a.agents=b.rows,e.get({id:c.id,controller:"agents"}).$promise}).then(function(b){ComponentsDropdowns.bindTeam(_.map(b.rows,"id"),_.map(a.agents,function(a){return{id:a.id,name:a.name,fullname:a.fullname,internal:a.internal}}),h)})["catch"](function(a){g.show(a.message,"danger")})},a.updateItem=function(){var b=angular.copy(a.team);return e.update({id:c.id},b).$promise.then(function(){g.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){g.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.teams.view",{url:"/view/:id",templateUrl:"app/staff/team/view/view.html",controller:"TeamViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.staff.teams.view.agents",{url:"/agents",templateUrl:"app/staff/team/view/view.agents.html",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]}])}]}}).state("main.staff.teams.view.settings",{url:"/settings",templateUrl:"app/staff/team/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("TelephoneListCtrl",["$scope","Telephone","gridOptions",function(a,b,c){a.initView=function(){var d={exporterCsvFilename:"telephones.csv",columnDefs:[{name:"fullname"},{name:"name"},{name:"internal"},{name:"description"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/staff/telephones/view/{{row.entity.id}}/account",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.fullname, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,d,a)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.telephones.list",{url:"/list",templateUrl:"app/staff/telephone/list/list.html",controller:"TelephoneListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").factory("Telephone",["$resource",function(a){return a("/api/telephones/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.telephones",{url:"/telephones",template:"
","abstract":!0,data:{permissions:{only:["admin"],redirectTo:"landing"}}})}]),angular.module("xCallyShuttleApp").controller("TelephoneViewCtrl",["$scope","$http","$stateParams","$translate","$cookieStore","Auth","xAlert","Telephone",function(a,b,c,d,e,f,g,h){a.initView=function(){return a.Auth=f,a.forms={},h.get({id:c.id}).$promise.then(function(b){delete b.password,a.item=b,a.item.transport=a.item.transport?a.item.transport.split(","):[],a.item.allow=a.item.allow?a.item.allow.split(";"):[]})["catch"](function(a){g.show(a.message,"danger")})},a.updateItem=function(){var b=angular.copy(a.item);return b.transport=b.transport.join(","),b.allow=b.allow.join(";"),h.update(b).$promise.then(function(){g.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){g.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.telephones.view",{url:"/view/:id",templateUrl:"app/staff/telephone/view/view.html",controller:"TelephoneViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.staff.telephones.view.account",{url:"/account",templateUrl:"app/staff/telephone/view/view.account.html",resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css","assets/scripts/jquery.sparkline.min.js","assets/plugins/bootstrap-fileinput/bootstrap-fileinput.js","assets/scripts/profile.js"]})}]}}).state("main.staff.telephones.view.voice",{url:"/voice",templateUrl:"app/staff/telephone/view/view.voice.html",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").controller("TelephoneWizardCtrl",["$scope","$http","$location","WizardHandler","xAlert","$translate","Telephone","Setting",function(a,b,c,d,e,f,g,h){a.forms={},a.item={allow:["alaw","ulaw","gsm"],transport:["udp"],context:"from-sip"},a.next=function(){d.wizard().next()},a.exitValidation=function(a){return a},a.getFirstFreeInternal=function(){return h.get({controller:"internal"}).$promise.then(function(b){ -a.item.internal=b.value})["catch"](function(a){e.show(a.data.message,"danger")})},a.createItem=function(){var b=angular.copy(a.item);return b.transport&&(b.transport=b.transport.join(",")),a.item.allow&&(b.allow=b.allow.join(";")),g.save(b).$promise.then(function(){c.path("/staff/telephones/list")})["catch"](function(a){e.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.telephones.wizard",{url:"/wizard",templateUrl:"app/staff/telephone/wizard/wizard.html",controller:"TelephoneWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("UserListCtrl",["$scope","$timeout","User","Auth","gridOptions",function(a,b,c,d,e){function f(a){if(a){var b=_.words(a),c=_.map(b,function(a){return a?a[0]:""});return c.join("").toUpperCase()}return!1}a.getUserAvatar=function(a,c,d){b(function(){angular.element("#userImg"+a).avatar({useGravatar:!1,initials:d?[]:f(c),fallbackImage:"api/users/avatar/"+d,size:80})})},a.isAdmin=function(a){return"admin"===a},a.initView=function(){var b={exporterCsvFilename:"users.csv",columnDefs:[{name:"fullname"},{name:"name",displayName:"APPLICATION_USERNAME"},{name:"internal"},{name:"email"},{name:"description"},{name:"action",width:200,buttons:[{"class":"blue-hoki",href:"/staff/users/view/{{row.entity.id}}/account",name:"profile"},{"class":"green-meadow",href:"/staff/users/view/{{row.entity.id}}/permit/voice",name:"permits",hide:"grid.appScope.isAdmin(row.entity.role)"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.fullname, row.entity.id)"}]}]};a.gridOptions=e.gridOptions(c,b,a)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.users.list",{url:"/list",templateUrl:"app/staff/user/list/list.html",controller:"UserListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Module",["$resource",function(a){return a("/api/modules/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("User",["$resource",function(a){return a("/api/users/:id/:controller/:controller2/:controller3",{id:"@id"},{changePassword:{method:"PUT",params:{controller:"password"}},update:{method:"PUT"},me:{method:"GET",params:{id:"me"}}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.users",{url:"/users",template:"
","abstract":!0,data:{permissions:{only:["admin"],redirectTo:"landing"}}})}]),angular.module("xCallyShuttleApp").controller("UserViewCtrl",["$scope","$stateParams","$cookieStore","$translate","FileUploader","User","Auth","xAlert","MailQueue","VoiceQueue","ChatQueue","FaxQueue","SmsQueue","Team","Module","$location",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){function q(b){var c=_.find(a.modules,{id:b.ModuleId});if(b.status===!0)c.status=!0;else{var d=_.filter(a.modules,{ModuleId:b.ModuleId,status:!0});d.length||(c.status=!1)}c.ModuleId&&q(c)}function r(b,c){b.forEach(function(b){b.status=c;var d=_.filter(a.modules,{ModuleId:b.id});d.length&&r(d,c)})}a.Auth=g,a._=_,a.moduleSwitch={onText:"On",offText:"Off",isActive:!0,size:"mini",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.initVoiceQueues=function(){var a={},c={};return j.get().$promise.then(function(b){return a.queues=_.map(b.rows,function(a){return{name:a.name}}),i.get().$promise}).then(function(){return f.query({id:b.id,controller:"allowed",controller2:"voice",controller3:"queues"}).$promise}).then(function(a){c.queues=_.map(a,function(a){return{name:a.name}})}).then(function(){ComponentsDropdowns.bindPermit(a,c,"voice",b.id,f)})["catch"](function(a){console.error(a)})},a.initChatQueues=function(){var a={},c={};return k.get().$promise.then(function(b){return a.queues=_.map(b.rows,function(a){return{id:a.id,name:a.name}}),i.get().$promise}).then(function(){return f.query({id:b.id,controller:"allowed",controller2:"chat",controller3:"queues"}).$promise}).then(function(a){c.queues=_.map(a,function(a){return{id:a.id,name:a.name}})}).then(function(){ComponentsDropdowns.bindPermit(a,c,"chat",b.id,f)})["catch"](function(a){console.error(a)})},a.initMailQueues=function(){var a={},c={};return i.get().$promise.then(function(b){return a.queues=_.map(b.rows,function(a){return{id:a.id,name:a.name}}),i.get().$promise}).then(function(){return f.query({id:b.id,controller:"allowed",controller2:"mail",controller3:"queues"}).$promise}).then(function(a){c.queues=_.map(a,function(a){return{id:a.id,name:a.name}})}).then(function(){ComponentsDropdowns.bindPermit(a,c,"mail",b.id,f)})["catch"](function(a){console.error(a)})},a.initSmsQueues=function(){var a={},c={};return m.get().$promise.then(function(b){return a.queues=_.map(b.rows,function(a){return{id:a.id,name:a.name}}),m.get().$promise}).then(function(){return f.query({id:b.id,controller:"allowed",controller2:"sms",controller3:"queues"}).$promise}).then(function(a){console.log("permits",a),c.queues=_.map(a,function(a){return{id:a.id,name:a.name}})}).then(function(){ComponentsDropdowns.bindPermit(a,c,"sms",b.id,f)})["catch"](function(a){console.error(a)})},a.initFaxQueues=function(){var a={},c={};return l.get().$promise.then(function(b){return a.queues=_.map(b.rows,function(a){return{id:a.id,name:a.name}}),i.get().$promise}).then(function(){return f.query({id:b.id,controller:"allowed",controller2:"fax",controller3:"queues"}).$promise}).then(function(a){c.queues=_.map(a,function(a){return{id:a.id,name:a.name}})}).then(function(){ComponentsDropdowns.bindPermit(a,c,"fax",b.id,f)})["catch"](function(a){console.error(a)})},a.initView=function(){return f.get({id:b.id}).$promise.then(function(b){a.user=b,a.user.transport=a.user.transport?a.user.transport.split(","):[],a.user.allow=a.user.allow?a.user.allow.split(";"):[]})["catch"](function(a){h.show(a.message,"danger")})},a.updateItem=function(){var c=angular.copy(a.user);return delete c.password,delete c.md5secret,c.transport=c.transport.join(","),c.allow=c.allow.join(";"),f.update({id:b.id},c).$promise.then(function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.show(a.message,"danger")})},a.updatePassword=function(){var c={newPassword:a.user.newPwd};return g.isAdmin()?c.id=b.id:c.oldPassword=a.user.currentPwd,f.changePassword(c).$promise.then(function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.show(a.message,"danger")})};var s=a.uploader=new e({url:"api/users/"+b.id+"/avatar",queueLimit:1,withCredentials:!0,headers:{Authorization:"Bearer "+c.get("token")}});s.filters.push({name:"imageFilter",fn:function(a){var b="|"+a.type.slice(a.type.lastIndexOf("/")+1)+"|";return-1!=="|jpg|png|jpeg|".indexOf(b)}}),a.getModules=function(){return a.associatedModules=[],o.get().$promise.then(function(c){return a.modules=c.rows,f.query({id:b.id,controller:"allowed",controller2:"modules"}).$promise}).then(function(b){a.modules.forEach(function(a){_.find(b,{id:a.id})?a.status=!0:a.status=!1})})["catch"](function(a){h.show(a.message,"danger")})},a.updatePermissions=function(c){c.ModuleId&&q(c);var e=_.filter(a.modules,{ModuleId:c.id});return e&&r(e,c.status),f.save({id:b.id,controller:"allowed",controller2:"modules"},{modules:_.map(_.filter(a.modules,{status:!0}),"id")}).$promise.then(function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.error(a)})},s.onSuccessItem=function(b,c){a.user.userpic=c.userpic,a.user.id===g.getCurrentUser().id&&(g.getCurrentUser().userpic=c.userpic),h.show(d.instant("MESSAGE_WELL_DONE"),"success")},s.onErrorItem=function(){h.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")},s.onCompleteAll=function(){s.clearQueue()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.users.view",{url:"/view/:id",templateUrl:"app/staff/user/view/view.html",controller:"UserViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.staff.users.view.account",{url:"/account",templateUrl:"app/staff/user/view/view.account.html",resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css","assets/scripts/jquery.sparkline.min.js","assets/plugins/bootstrap-fileinput/bootstrap-fileinput.js","assets/scripts/profile.js"]})}]}}).state("main.staff.users.view.voice",{url:"/voice",templateUrl:"app/staff/user/view/view.voice.html",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}}).state("main.staff.users.view.permit",{url:"/permit",templateUrl:"app/staff/user/view/view.permit.html",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}},cache:!1,serie:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}}).state("main.staff.users.view.permit.voice",{url:"/voice",templateUrl:"app/staff/user/view/view.permit.voice.html",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}}).state("main.staff.users.view.permit.chat",{url:"/chat",templateUrl:"app/staff/user/view/view.permit.chat.html",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.chat"}}}).state("main.staff.users.view.permit.mail",{url:"/mail",templateUrl:"app/staff/user/view/view.permit.mail.html",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.mail"}}}).state("main.staff.users.view.permit.fax",{url:"/fax",templateUrl:"app/staff/user/view/view.permit.fax.html",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.fax"}}}).state("main.staff.users.view.permit.sms",{url:"/sms",templateUrl:"app/staff/user/view/view.permit.sms.html",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.sms"}}}).state("main.staff.users.view.permit.modules",{url:"/modules",templateUrl:"app/staff/user/view/view.permit.modules.html",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").controller("UserWizardCtrl",["$scope","$location","WizardHandler","xAlert","$translate","User","Setting",function(a,b,c,d,e,f,g){a.forms={info:void 0,voice:void 0},a.item={role:"user",host:"dynamic",context:"from-sip"},a.next=function(){c.wizard().next()},a.exitValidation=function(a){return a},a.getFirstFreeInternal=function(){return g.get({controller:"internal"}).$promise.then(function(b){a.item.internal=b.value})["catch"](function(a){d.show(a.data.message,"danger")})},a.createItem=function(){return f.save(a.item).$promise.then(function(){b.path("/staff/users/list")})["catch"](function(a){d.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.users.wizard",{url:"/wizard",templateUrl:"app/staff/user/wizard/wizard.html",controller:"UserWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("SugarcrmListCtrl",["$scope","SugarcrmAccount","gridOptions","xAlert","$translate","Modal",function(a,b,c,d,e,f){a.initView=function(){var d={exporterCsvFilename:"sugarcrm_account.csv",columnDefs:[{name:"name",displayName:"APPLICATION_NAME"},{name:"username"},{name:"remoteUri",displayName:"APPLICATION_REMOTE_ADDRESS"},{name:"action",width:250,buttons:[{"class":"blue-hoki",href:"/sugarcrm/view/{{row.entity.id}}/account",name:"profile"},{"class":"green-jungle",name:"check",displayName:"APPLICATION_CHECK",onClick:"grid.appScope.checkAccount(row.entity.id)"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,d,a)},a.checkAccount=function(a){return b.get({id:a,controller:"check"}).$promise.then(function(){d.show(e.instant("MESSAGE_ACCOUNT_VERIFIED"),"success")})["catch"](function(a){d.show(e.instant("MESSAGE_ACCOUNT_INVALID"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.sugarcrm.list",{url:"/list",templateUrl:"app/sugarcrm/list/list.html",controller:"SugarcrmListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.sugarcrm",{url:"/sugarcrm",template:"
","abstract":!0,data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").factory("SugarcrmAccount",["$resource",function(a){return a("/api/sugarcrm/accounts/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("SugarcrmConfiguration",["$resource",function(a){return a("/api/sugarcrm/configurations/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("SugarcrmField",["$resource",function(a){return a("/api/sugarcrm/fields/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("SugarcrmViewCtrl",["$scope","$http","$stateParams","$translate","$location","$filter","WizardHandler","socket","xAlert","Modal",function(a,b,c,d,e,f,g,h,i,j){a.$stateParams=c,a.config={autoHideScrollbar:!1,theme:"dark",advanced:{updateOnContentResize:!0},setHeight:500,scrollInertia:0},a.initConfiguration=function(){a.formsConfiguration={},a.configuration={}},a.goNext=function(){g.wizard().next()},a.formValidation=function(a){return a},a.$on("$destroy",function(){h.unsyncUpdates("sugarcrm_configuration"),h.unsyncUpdates("sugarcrm_field")}),a.initView=function(){b.get("/api/sugarcrm/accounts/"+c.id).success(function(b){a.account=b}).error(function(a){i.show(a.message,"danger")})},a.updateItem=function(){b.put("/api/sugarcrm/accounts/"+c.id,a.account).success(function(){i.show(d.instant("MESSAGE_WELL_DONE")+".","success")}).error(function(){i.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})},a.getConfigurations=function(){b.get("/api/sugarcrm/configurations",{params:{AccountId:c.id}}).success(function(b){a.configurations=b,h.socket.on("sugarcrm_configuration:remove",function(b){_.remove(a.configurations,{id:b.id})})}).error(function(a){i.show(a.message,"danger")})},a.deleteConfiguration=j.confirm["delete"](function(a){b["delete"]("api/sugarcrm/configurations/"+a).success(function(){i.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(){i.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}),a.createConfiguration=function(){a.configuration.AccountId=c.id,b.post("api/sugarcrm/configurations",a.configuration).success(function(a){e.path("sugarcrm/view/"+c.id+"/configurations/settings/"+a.id)}).error(function(){i.show("Something went wrong!","danger")})},a.fieldType=["string","variable"],a.descFieldType=["string","key_value"],a.getFields=function(){b.get("/api/sugarcrm/accounts/"+c.id+"/fields").success(function(b){a.accountFields=_.sortByOrder(f("sugarcrm")(_.toArray(b)),"name","asc"),_.forEach(b,function(a){a.options=_.toArray(a.options)})}).error(function(a){i.show(a.message,"danger")})},a.getConfiguration=function(){b.get("/api/sugarcrm/configurations/"+c.configurationId).success(function(b){a.configurationName=b.name,a.subjectConfig=b.Subject,a.descriptionConfig=b.Description,a.fieldConfig=b.Field,h.socket.on("sugarcrm_field:remove",function(b){_.remove(a.subjectConfig,{id:b.id}),_.remove(a.descriptionConfig,{id:b.id}),_.remove(a.fieldConfig,{id:b.id})})}).error(function(a){i.show(a.message,"danger")})},a.getVariables=function(){b.get("/api/variables").success(function(b){a.variables=b.rows}).error(function(a){i.show(a.message,"danger")})},a.removeItem=function(a){b["delete"]("api/sugarcrm/fields/"+a.id).success(function(){i.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(){i.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.addItemSubject=function(){var d={type:"string",content:""};b.post("/api/sugarcrm/configurations/"+c.configurationId+"/subject",d).success(function(b){a.subjectConfig.push(b)}).error(function(){i.show("Something went wrong!","danger")})},a.addItemDescription=function(){var d={type:"string",content:""};b.post("/api/sugarcrm/configurations/"+c.configurationId+"/description",d).success(function(b){a.descriptionConfig.push(b)}).error(function(){i.show("Something went wrong!","danger")})},a.addItemField=function(){var d={content:""};b.post("/api/sugarcrm/configurations/"+c.configurationId+"/field",d).success(function(b){a.fieldConfig.push(b)}).error(function(){i.show("Something went wrong!","danger")})},a.updateField=function(a){b.put("/api/sugarcrm/fields/"+a.id,a).success(function(){}).error(function(){i.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})},a.changeType=function(b){"variable"===b.type?b.content="":"string"===b.type&&(b.VariableId=null),a.updateField(b)},a.changeDescType=function(b){"key_value"===b.type?(b.content="","string"===b.keyType?b.VariableId=null:"variable"===b.keyType&&(b.keyContent="")):"string"===b.type&&(b.VariableId=null,b.key="",b.keyContent=""),a.updateField(b)},a.changeFieldType=function(b){b.content="",a.updateField(b)},a.getSystemFieldOptions=function(b){if(b){var c=_.find(a.accountFields,"name",b);return c?c.options.length>0?c.options:null:void 0}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.sugarcrm.view",{url:"/view/:id",templateUrl:"app/sugarcrm/view/view.html",controller:"SugarcrmViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.sugarcrm.view.account",{url:"/account",templateUrl:"app/sugarcrm/view/view.account.html"}).state("main.sugarcrm.view.configurations",{url:"/configurations",templateUrl:"app/sugarcrm/view/view.configurations.html"}).state("main.sugarcrm.view.configurations.settings",{url:"/settings/:configurationId",templateUrl:"app/sugarcrm/view/view.configurationSettings.html",controller:"SugarcrmViewCtrl"}).state("main.sugarcrm.view.configuration",{url:"/configuration",templateUrl:"app/sugarcrm/view/view.configuration.html"})}]),angular.module("xCallyShuttleApp").controller("SugarcrmkWizardCtrl",["$scope","$http","$location","$translate","xAlert","WizardHandler",function(a,b,c,d,e,f){a.translate=d,a.initWizard=function(){a.$translate=d,a.forms={},a.item={}},a.next=function(){f.wizard().next()},a.exitValidation=function(a){return a},a.createItem=function(){b.post("api/sugarcrm/accounts",a.item).success(function(){e.show(d.instant("MESSAGE_WELL_DONE")+".","success"),c.path("/sugarcrm/list")}).error(function(){e.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.sugarcrm.wizard",{url:"/wizard",templateUrl:"app/sugarcrm/wizard/wizard.html",controller:"SugarcrmkWizardCtrl"})}]),angular.module("xCallyShuttleApp").factory("CannedAnswer",["$resource",function(a){return a("/api/answers/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.answers",{url:"/answers",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:13}}})}]),angular.module("xCallyShuttleApp").controller("AnswerListCtrl",["$scope","$uibModal","CannedAnswer","gridOptions",function(a,b,c,d){a.initView=function(){var b={exporterCsvFilename:"answers.csv",columnDefs:[{name:"key",displayName:"APPLICATION_NAME"},{name:"value"},{name:"description"},{name:"action",width:160,buttons:[{"class":"blue-hoki",href:"/tools/answers/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.key, row.entity.id)"}]}]};a.gridOptions=d.gridOptions(c,b,a)},a.createItem=function(){b.open({animation:!0,templateUrl:"app/tools/answer/list/list.create.modal.html",controller:"AnswerListCreateCtrl"}).result.then(function(b){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("AnswerListCreateCtrl",["$scope","$translate","$uibModalInstance","CannedAnswer","xAlert",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return d.save(a.item).$promise.then(function(a){e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){e.show(a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.answers.list",{url:"/list",templateUrl:"app/tools/answer/list/list.html",controller:"AnswerListCtrl"})}]),angular.module("xCallyShuttleApp").controller("AnswerViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","$location","CannedAnswer",function(a,b,c,d,e,f,g){a.getAnswer=function(){return g.get({id:e.id}).$promise.then(function(b){a.answer=b})["catch"](function(a){c.show(a.data.message,"danger")})},a.updateAnswer=function(){var b=angular.copy(a.answer);return g.update({id:e.id},b).$promise.then(function(){c.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){c.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.answers.view",{url:"/view/:id",templateUrl:"app/tools/answer/view/view.html",controller:"AnswerViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.tools.answers.view.settings",{url:"/settings",templateUrl:"app/tools/answer/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").factory("Automation",["$resource",function(a){return a("/api/automations/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.automations",{url:"/automations",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:13}}})}]),angular.module("xCallyShuttleApp").controller("AutomationListCtrl",["$scope","$http","$translate","xAlert","Automation","gridOptions",function(a,b,c,d,e,f){a.onText="On",a.offText="Off",a.isActive=!0,a.size="mini",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initView=function(){var b={exporterCsvFilename:"Automations.csv",columnDefs:[{name:"name"},{name:"description"},{name:"channel"},{name:"status",cellTemplate:'
',width:100,enableFiltering:!1},{name:"action",width:160,buttons:[{"class":"blue-hoki",href:"/tools/automations/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=f.gridOptions(e,b,a)},a.updateItem=function(a){return e.update({id:a.id},a).$promise.then(function(){d.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){console.error(a),d.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.automations.list",{url:"/list",templateUrl:"app/tools/automation/list/list.html",controller:"AutomationListCtrl"})}]),angular.module("xCallyShuttleApp").controller("AutomationViewCtrl",["$scope","$stateParams","$http","$translate","xAlert","automations","Automation","$location",function(a,b,c,d,e,f,g,h){a.$automations=f,a.recordSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.forms={general:{}},a.addCondition=function(b){a.automation[b].push({field:"",operator:"",value:""})},a.removeCondition=function(b,c){a.automation[b].splice(c,1)},a.addAction=function(){a.automation.Actions.push({action:"",data1:"",data2:"",data3:"",data4:"",data5:""})},a.resetActionData=function(a){a.data1="",a.data2="",a.data3="",a.data4="",a.data5=""},a.removeAction=function(b){a.automation.Actions.splice(b,1)},a.initView=function(){return g.get({id:b.id}).$promise.then(function(b){a.automation=b})["catch"](function(a){e.show(a.message,"danger"),h.path("/tools/automations/list")})},a.updateAutomation=function(){return g.update({id:b.id},a.automation).$promise.then(function(){e.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){console.error(a),e.show(a.message,"danger")})},a.exitValidation=function(b){return console.log(b&&(a.automation.All.length||a.automation.Any.length)&&a.automation.Actions.length),!(!b||!a.automation.All.length&&!a.automation.Any.length||!a.automation.Actions.length)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.automations.view",{url:"/view/:id",templateUrl:"app/tools/automation/view/view.html",controller:"AutomationViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]})}]}}).state("main.tools.automations.view.settings",{url:"/settings",templateUrl:"app/tools/automation/view/view.settings.html"}).state("main.tools.automations.view.routes",{url:"/routes",templateUrl:"app/tools/automation/view/view.routes.html"}).state("main.tools.automations.view.application",{url:"/application",templateUrl:"app/tools/automation/view/view.application.html"})}]),angular.module("xCallyShuttleApp").controller("AutomationWizardCtrl",["$scope","$http","$location","xAlert","automations","WizardHandler","Automation",function(a,b,c,d,e,f,g){a.$automations=e,a.recordSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.tempData={voice:{},mail:{},chat:{},fax:{}},a.item={All:[],Any:[],Actions:[]},a.forms={general:void 0,settings:void 0},a.addCondition=function(b){a.item[b].push({field:"",operator:"",value:""})},a.removeCondition=function(b,c){a.item[b].splice(c,1)},a.addAction=function(){a.item.Actions.push({action:"",data1:"",data2:"",data3:"",data4:"",data5:""})},a.resetActionData=function(a){a.data1="",a.data2="",a.data3="",a.data4="",a.data5=""},a.removeAction=function(b){a.item.Actions.splice(b,1)},a.$watch("item.channel",function(b,c){c&&(a.tempData[c].All=_.clone(a.item.All,!0),a.tempData[c].Any=_.clone(a.item.Any,!0),a.tempData[c].Actions=_.clone(a.item.Actions,!0)),a.item.All=a.tempData[b].All?a.tempData[b].All:[],a.item.Any=a.tempData[b].Any?a.tempData[b].Any:[],a.item.Actions=a.tempData[b].Actions?a.tempData[b].Actions:[]},!0),a.item.channel="mail",a.createItem=function(){return g.save(a.item).$promise.then(function(){c.path("/tools/automations/list")})["catch"](function(a){console.error(a),d.show(a.message,"danger")})},a.next=function(){f.wizard().next()},a.previous=function(){f.wizard().previous()},a.exitValidation=function(a){return a},a.exitSettingsValidation=function(b){return!(!b||!a.item.All.length&&!a.item.Any.length||!a.item.Actions.length)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.automations.wizard",{url:"/wizard",templateUrl:"app/tools/automation/wizard/wizard.html",controller:"AutomationWizardCtrl"})}]),angular.module("xCallyShuttleApp").factory("Interval",["$resource",function(a){return a("/api/intervals/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.intervals",{url:"/intervals",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:13}}})}]),angular.module("xCallyShuttleApp").controller("IntervalListCtrl",["$scope","$uibModal","Interval","gridOptions",function(a,b,c,d){a.initView=function(){var b={exporterCsvFilename:"intervals.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:160,buttons:[{"class":"blue-hoki",href:"/tools/intervals/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=d.gridOptions(c,b,a)},a.createItem=function(){var c=b.open({animation:!0,templateUrl:"app/tools/interval/list/list.create.modal.html",controller:"IntervalListCreateCtrl"});c.result.then(function(b){console.log(b),a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("IntervalListCreateCtrl",["$scope","$translate","$uibModalInstance","Interval","xAlert",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return d.save(a.item).$promise.then(function(a){e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){e.show(b.instant(a.data.message),"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.intervals.list",{url:"/list",templateUrl:"app/tools/interval/list/list.html",controller:"IntervalListCtrl"})}]),angular.module("xCallyShuttleApp").controller("IntervalViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","socket","$location","WizardHandler","Modal","interval",function(a,b,c,d,e,f,g,h,i,j){function k(b){console.log(b);var c,d,e,f;c=b.t_from&&b.t_to&&!b.alwaysTime?moment(b.t_from).format("HH:mm")+"-"+moment(b.t_to).format("HH:mm"):"*",b.wd_from&&"always"!==b.wd_from?(d=b.wd_from,b.wd_to&&"always"!==b.wd_to&&(d+="-"+b.wd_to)):d="*",b.md_from&&"always"!==b.md_from?(e=b.md_from,b.md_to&&"always"!==b.md_to&&(e+="-"+b.md_to)):e="*",b.m_from&&"always"!==b.m_from?(f=b.m_from,b.m_to&&"always"!==b.m_to&&(f+="-"+b.m_to)):f="*",void 0!==a.selectedSubInterval?a.interval.SubIntervals[a.selectedSubInterval].interval=c+","+d+","+e+","+f:a.subinterval.interval=c+","+d+","+e+","+f}a.$translate=d,a.$interval=j.interval,a.selectedSubInterval=void 0,a.gridOptions={columnDefs:[{name:"name",displayName:"APPLICATION_NAME",headerCellFilter:"translate"},{name:"interval",displayName:"APPLICATION_INTERVAL",headerCellFilter:"translate"},{name:"action",displayName:"APPLICATION_ACTION",headerCellFilter:"translate",width:125,cellTemplate:'{{\'APPLICATION_SETTINGS\' | translate}}{{\'APPLICATION_DELETE\' | translate}}'}]},a.forms={subinterval:void 0,general:void 0},a.initSubInterval=function(b){b&&(a.selectedSubInterval=void 0),a.subinterval={},a.splittedInterval={t_from:moment(new Date),t_to:moment(new Date),wd_from:"always",wd_to:"always",md_from:"always",md_to:"always",m_from:"always",m_to:"always",alwaysTime:!0}},a.next=function(){ -h.wizard().next()},a.previous=function(){h.wizard().previous()},a.exitValidation=function(a){return a},a.deselectAndRedirect=function(b){a.selectedSubInterval=void 0,g.path(b)},a.getInterval=function(){b.get("/api/intervals/"+e.id).success(function(b){a.interval=b,a.gridOptions.data=b.SubIntervals}).error(function(a){console.error(a),g.path("/tools/intervals/list")})},a.openSubInterval=function(b){a.selectedSubInterval=b,g.path("/tools/intervals/view/"+e.id+"/subintervals/settings")},a.updateInterval=function(f){a.selectedSubInterval=void 0,b.put("/api/intervals/"+e.id,a.interval).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success"),f&&g.path("/tools/intervals/view/"+e.id+"/"+f)}).error(function(a){c.show(d.instant(a.message),"danger")})},a.getSubInterval=function(){void 0===a.selectedSubInterval&&g.path("/tools/intervals/list"),a.splittedInterval={t_from:moment(new Date),t_to:moment(new Date)};var b,c=a.interval.SubIntervals[a.selectedSubInterval]?a.interval.SubIntervals[a.selectedSubInterval].interval.split(","):["*","*","*","*"];c.forEach(function(c,d){switch(d){case 0:"*"!==c?(b=c.split("-"),a.splittedInterval.t_from=moment(b[0],"HH:mm"),a.splittedInterval.t_to=moment(b[1],"HH:mm"),a.splittedInterval.alwaysTime=!1):(a.splittedInterval.t_from=moment(new Date),a.splittedInterval.t_to=moment(new Date),a.splittedInterval.alwaysTime=!0);break;case 1:"*"!==c?(b=c.split("-"),a.splittedInterval.wd_from=b[0],a.splittedInterval.wd_to=b[1]?b[1]:"always"):(a.splittedInterval.wd_from="always",a.splittedInterval.wd_to="always");break;case 2:"*"!==c?(b=c.split("-"),a.splittedInterval.md_from=b[0],a.splittedInterval.md_to=b[1]?b[1]:"always"):(a.splittedInterval.md_from="always",a.splittedInterval.md_to="always");break;case 3:"*"!==c?(b=c.split("-"),a.splittedInterval.m_from=b[0],a.splittedInterval.m_to=b[1]?b[1]:"always"):(a.splittedInterval.m_from="always",a.splittedInterval.m_to="always")}})},a.$watch("splittedInterval",function(a){a&&k(a)},!0),a.addSubInterval=function(){a.interval.SubIntervals.push(a.subinterval),a.updateInterval("subintervals")},a.deleteSubInterval=i.confirm["delete"](function(b){a.interval.SubIntervals.splice(b,1),a.updateInterval()})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.intervals.view",{url:"/view/:id",templateUrl:"app/tools/interval/view/view.html",controller:"IntervalViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.tools.intervals.view.settings",{url:"/settings",templateUrl:"app/tools/interval/view/view.settings.html"}).state("main.tools.intervals.view.subintervals",{url:"/subintervals",templateUrl:"app/tools/interval/view/view.subintervals.html"}).state("main.tools.intervals.view.subinterval",{url:"/subinterval",templateUrl:"app/tools/interval/view/view.subinterval.html"}).state("main.tools.intervals.view.subintervals.settings",{url:"/settings",templateUrl:"app/tools/interval/view/view.subintervalSettings.html"})}]),angular.module("xCallyShuttleApp").controller("PauseListCtrl",["$scope","$log","$uibModal","$translate","Pause","gridOptions",function(a,b,c,d,e,f){a.initView=function(){var b={exporterCsvFilename:"pauses.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:160,buttons:[{"class":"blue-hoki",href:"/tools/pauses/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=f.gridOptions(e,b,a)},a.createItem=function(){var b=c.open({animation:!0,templateUrl:"app/tools/pause/list/list.create.modal.html",controller:"PauseListCreateCtrl"});b.result.then(function(b){console.log(b),a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("PauseListCreateCtrl",["$scope","$translate","$uibModalInstance","Pause","xAlert",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return d.save(a.item).$promise.then(function(a){e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){e.show(a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.pauses.list",{url:"/list",templateUrl:"app/tools/pause/list/list.html",controller:"PauseListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Pause",["$resource",function(a){return a("/api/pauses/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.pauses",{url:"/pauses",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:13}}})}]),angular.module("xCallyShuttleApp").controller("PauseViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","$location","Pause",function(a,b,c,d,e,f,g){a.getPause=function(){return g.get({id:e.id}).$promise.then(function(b){a.pause=b})["catch"](function(a){c.show(a.data.message,"danger")})},a.updatePause=function(){var b=angular.copy(a.pause);return g.update({id:e.id},b).$promise.then(function(){c.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){c.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.pauses.view",{url:"/view/:id",templateUrl:"app/tools/pause/view/view.html",controller:"PauseViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.tools.pauses.view.settings",{url:"/settings",templateUrl:"app/tools/pause/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("SoundListCtrl",["$scope","$http","socket","Modal","$q","FileUploader","$translate","xAlert","$cookieStore","$sce","Sound",function(a,b,c,d,e,f,g,h,i,j,k){a.Sound=k,a.isCollapsed=!0,a.downloadButtonContent='',a.downloadButtonClass="btn btn-xs blue-hoki",a["delete"]=d.confirm["delete"](function(a){b["delete"]("/api/sounds/"+a).success(function(a){}).error(function(a){console.log(a)})}),a.updateAudio=function(a,c){var d=e.defer();return b.put("/api/sounds/"+a,c).success(function(a){d.resolve()}).error(function(a){console.log(a.message),d.reject(a.message)}),d.promise},a.$on("$destroy",function(){c.unsyncUpdates("sound")}),a.initList=function(){b.get("/api/sounds").success(function(b){a.sounds=b.rows,b.rows.length||(a.isCollapsed=!1),c.syncUpdates("sound",a.sounds,function(){a.sounds.length||(a.isCollapsed=!1)})}).error(function(a){})};var l=a.uploader=new f({url:"/api/sounds",withCredentials:!0,headers:{Authorization:"Bearer "+i.get("token")}});l.filters.push({name:"customFilter",fn:function(a,b){return this.queue.length<10}}),l.onWhenAddingFileFailed=function(a,b,c){console.info("onWhenAddingFileFailed",a,b,c)},l.onAfterAddingFile=function(a){console.info("onAfterAddingFile",a)},l.onAfterAddingAll=function(a){console.info("onAfterAddingAll",a)},l.onBeforeUploadItem=function(a){console.info("onBeforeUploadItem",a)},l.onProgressItem=function(a,b){console.info("onProgressItem",a,b),a.isUploading=!0},l.onProgressAll=function(a){console.info("onProgressAll",a)},l.onSuccessItem=function(a,b,c,d){console.info("onSuccessItem",a,b,c,d),a.isUploading=!1},l.onErrorItem=function(a,b,c,d){console.info("onErrorItem",a,b,c,d),a.responseMessage=b,a.isUploading=!1},l.onCancelItem=function(a,b,c,d){console.info("onCancelItem",a,b,c,d),a.isUploading=!1},l.onCompleteItem=function(a,b,c,d){console.info("onCompleteItem",a,b,c,d),a.isUploading=!1},l.onCompleteAll=function(){console.info("onCompleteAll")},console.info("uploader",l)}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.sounds.list",{url:"/list",templateUrl:"app/tools/sound/list/list.html",controller:"SoundListCtrl",authenticate:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/plugins/bootstrap-fileinput/bootstrap-fileinput.js"]})}]}})}]),angular.module("xCallyShuttleApp").factory("Sound",["$resource",function(a){return a("/api/sounds/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.sounds",{url:"/sounds",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:13}}})}]),angular.module("xCallyShuttleApp").controller("TagListCtrl",["$scope","$uibModal","Tag","gridOptions","$rootScope",function(a,b,c,d,e){a.initView=function(){var b={exporterCsvFilename:"tag.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:160,buttons:[{"class":"blue-hoki",href:"/tools/tags/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=d.gridOptions(c,b,a)},a.createItem=function(){var c=b.open({animation:!0,templateUrl:"app/tools/tag/list/list.create.modal.html",controller:"TagListCreateCtrl"});c.result.then(function(){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("TagListCreateCtrl",["$scope","$translate","$uibModalInstance","Tag","xAlert",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return d.save(a.item).$promise.then(function(a){e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){e.show(a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.tags.list",{url:"/list",templateUrl:"app/tools/tag/list/list.html",controller:"TagListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Tag",["$resource",function(a){return a("/api/tags/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.tags",{url:"/tags",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:13}}})}]),angular.module("xCallyShuttleApp").controller("TagViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","$location","Tag",function(a,b,c,d,e,f,g){a.getTag=function(){return g.get({id:e.id}).$promise.then(function(b){a.tag=b})["catch"](function(a){c.show(a.data.message,"danger")})},a.updateTag=function(){var b=angular.copy(a.tag);return g.update({id:e.id},b).$promise.then(function(){c.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){c.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.tags.view",{url:"/view/:id",templateUrl:"app/tools/tag/view/view.html",controller:"TagViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.tools.tags.view.settings",{url:"/settings",templateUrl:"app/tools/tag/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("TemplateListCtrl",["$scope","Template","gridOptions",function(a,b,c){a.initView=function(){var d={exporterCsvFilename:"templates.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/tools/templates/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,d,a)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.templates.list",{url:"/list",templateUrl:"app/tools/template/list/list.html",controller:"TemplateListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Template",["$resource",function(a){return a("/api/templates/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.templates",{url:"/templates",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:13}}})}]),angular.module("xCallyShuttleApp").controller("TemplateViewCtrl",["$scope","$http","$translate","$stateParams","xAlert","Template",function(a,b,c,d,e,f){a.initItem=function(){a.form={},a.item={},a.groups=[{title:"Voice",variables:[]},{title:"Chat",variables:["username","email","text","chatWebsite"]},{title:"Mail",variables:[]},{title:"Fax",variables:[]}],a.item=f.get({id:d.id})},a.updateItem=function(){f.update(a.item).$promise.then(function(){e.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){e.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.templates.view",{url:"/view/:id",templateUrl:"app/tools/template/view/view.html",controller:"TemplateViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.tools.templates.view.settings",{url:"/settings",templateUrl:"app/tools/template/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("TemplateWizardCtrl",["$scope","$location","$http","WizardHandler","xAlert","Template",function(a,b,c,d,e,f){a.initWizard=function(){a.item={},a.form={},a.groups=[{title:"Voice",variables:[]},{title:"Chat",variables:["username","email","text","chatWebsite"]},{title:"Mail",variables:[]},{title:"Fax",variables:[]}]},a.next=function(){d.wizard().next()},a.exitValidation=function(a){return a},a.createItem=function(){return f.save({name:a.item.name,description:a.item.description,subject:a.item.subject||null,html:a.item.html||null,text:a.item.text||null}).$promise.then(function(){b.path("/tools/templates/list")})["catch"](function(a){e.show(data.err.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.templates.wizard",{url:"/wizard",templateUrl:"app/tools/template/wizard/wizard.html",controller:"TemplateWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools",{url:"/tools",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("TriggerListCtrl",["$scope","$http","$translate","Modal","xAlert","Trigger","gridOptions",function(a,b,c,d,e,f,g){a.onText="On",a.offText="Off",a.isActive=!0,a.size="mini",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initView=function(){var b={exporterCsvFilename:"Triggers.csv",columnDefs:[{name:"name"},{name:"description"},{name:"channel"},{name:"status",cellTemplate:'
',width:100,enableFiltering:!1},{name:"action",width:160,buttons:[{"class":"blue-hoki",href:"/tools/triggers/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=g.gridOptions(f,b,a)},a.updateItem=function(a){return f.update({id:a.id},a).$promise.then(function(){e.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){console.error(a),e.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.triggers.list",{url:"/list",templateUrl:"app/tools/trigger/list/list.html",controller:"TriggerListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Trigger",["$resource",function(a){return a("/api/triggers/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.triggers",{url:"/triggers",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:13}}})}]),angular.module("xCallyShuttleApp").controller("TriggerViewCtrl",["$scope","$stateParams","$translate","xAlert","triggers","Trigger","$location",function(a,b,c,d,e,f,g){a.$triggers=e,a.recordSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.forms={general:{}},a.addCondition=function(b){a.trigger[b].push({field:"",operator:"",value:""})},a.removeCondition=function(b,c){a.trigger[b].splice(c,1)},a.addAction=function(){a.trigger.Actions.push({action:"",data1:"",data2:"",data3:"",data4:"",data5:""})},a.resetActionData=function(a){a.data1="",a.data2="",a.data3="",a.data4="",a.data5=""},a.removeAction=function(b){a.trigger.Actions.splice(b,1)},a.initView=function(){return f.get({id:b.id}).$promise.then(function(b){a.trigger=b})["catch"](function(a){d.show(a.message,"danger"),g.path("/tools/triggers/list")})},a.updateTrigger=function(){return f.update({id:b.id},a.trigger).$promise.then(function(){d.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){console.error(a),d.show(a.message,"danger")})},a.exitValidation=function(b){return console.log(b&&(a.trigger.All.length||a.trigger.Any.length)&&a.trigger.Actions.length),!(!b||!a.trigger.All.length&&!a.trigger.Any.length||!a.trigger.Actions.length)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.triggers.view",{url:"/view/:id",templateUrl:"app/tools/trigger/view/view.html",controller:"TriggerViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]})}]}}).state("main.tools.triggers.view.settings",{url:"/settings",templateUrl:"app/tools/trigger/view/view.settings.html"}).state("main.tools.triggers.view.routes",{url:"/routes",templateUrl:"app/tools/trigger/view/view.routes.html"}).state("main.tools.triggers.view.application",{url:"/application",templateUrl:"app/tools/trigger/view/view.application.html"})}]),angular.module("xCallyShuttleApp").controller("TriggerWizardCtrl",["$scope","$http","$location","xAlert","triggers","WizardHandler","Trigger",function(a,b,c,d,e,f,g){a.$triggers=e,a.tempData={voice:{},mail:{},chat:{},fax:{}},a.item={All:[],Any:[],Actions:[]},a.forms={general:void 0,settings:void 0},a.addCondition=function(b){a.item[b].push({field:"",operator:"",value:""})},a.removeCondition=function(b,c){a.item[b].splice(c,1)},a.addAction=function(){a.item.Actions.push({action:"",data1:"",data2:"",data3:"",data4:"",data5:""})},a.resetActionData=function(a){a.data1="",a.data2="",a.data3="",a.data4="",a.data5=""},a.removeAction=function(b){a.item.Actions.splice(b,1)},a.$watch("item.channel",function(b,c){c&&(a.tempData[c].All=_.clone(a.item.All,!0),a.tempData[c].Any=_.clone(a.item.Any,!0),a.tempData[c].Actions=_.clone(a.item.Actions,!0)),a.item.All=a.tempData[b].All?a.tempData[b].All:[],a.item.Any=a.tempData[b].Any?a.tempData[b].Any:[],a.item.Actions=a.tempData[b].Actions?a.tempData[b].Actions:[]},!0),a.item.channel="voice",a.createItem=function(){return g.save(a.item).$promise.then(function(){c.path("/tools/triggers/list")})["catch"](function(a){console.error(a),d.show(a.message,"danger")})},a.next=function(){f.wizard().next()},a.previous=function(){f.wizard().previous()},a.exitValidation=function(a){return a},a.exitSettingsValidation=function(b){return!(!b||!a.item.All.length&&!a.item.Any.length||!a.item.Actions.length)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.triggers.wizard",{url:"/wizard",templateUrl:"app/tools/trigger/wizard/wizard.html",controller:"TriggerWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("TrunkListCtrl",["$scope","Trunk","gridOptions","xAlert","$translate","socket",function(a,b,c,d,e,f){function g(){f.socket.on("trunk:update",function(b){var c=_.find(a.gridOptions.data,{name:b.name});c&&(c.status=b.status,c.peerstatus=b.peerstatus)})}a.isActive=!0,a.size="mini",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initView=function(){var d={exporterCsvFilename:"Trunks.csv",columnDefs:[{name:"name"},{name:"active",cellTemplate:'
'},{name:"host"},{name:"description"},{name:"status",cellTemplate:'
{{row.entity.status}}
'},{name:"peerstatus",cellTemplate:'
{{row.entity.peerstatus}}
'},{name:"action",width:160,buttons:[{"class":"blue-hoki",href:"/tools/trunks/view/{{row.entity.name}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.name)"}]}]};a.gridOptions=c.gridOptions(b,d,a,null,null,null,g)},a.updateItem=function(a){return b.update({id:a.name},a).$promise.then(function(){d.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){console.error(a),d.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.trunks.list",{url:"/list",templateUrl:"app/tools/trunk/list/list.html",controller:"TrunkListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Trunk",["$resource",function(a){return a("/api/trunks/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.trunks",{url:"/trunks",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:13}}})}]),angular.module("xCallyShuttleApp").controller("TrunkViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","socket","$location","Trunk","VoiceContext",function(a,b,c,d,e,f,g,h,i){a.activeSwitch={isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.initView=function(){return h.get({id:e.id}).$promise.then(function(b){b.nat=b.nat?b.nat.split(","):[],b.allow=b.allow?b.allow.split(";"):[],b.insecure=b.insecure?b.insecure.split(","):[],b.transport=b.transport?b.transport.split(","):[],a.trunk=b}).then(function(){f.socket.on("trunk:update",function(b){b.name===b.name&&(a.trunk.status=b.status)})})["catch"](function(a){console.error(a),g.path("/tools/trunks/list")})},a.updateTrunk=function(){""===a.trunk.password&&delete a.trunk.password;var b=angular.copy(a.trunk);return b.nat=b.nat.join(","),b.allow=b.allow.join(";"),b.insecure=b.insecure.join(","),b.transport=b.transport.join(","),h.update({id:e.id},b).$promise.then(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){c.show(a.data.message,"danger")})},a.getContexts=function(){return i.get().$promise.then(function(b){a.voiceContexts=b.rows})["catch"](function(a){c.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.trunks.view",{url:"/view/:id",templateUrl:"app/tools/trunk/view/view.html",controller:"TrunkViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.tools.trunks.view.settings",{url:"/settings",templateUrl:"app/tools/trunk/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("TrunkWizardCtrl",["$scope","WizardHandler","$location","xAlert","Trunk",function(a,b,c,d,e){a.initWizard=function(){a.forms={},a.item={context:"from-voip-provider"}},a.next=function(){b.wizard().next()},a.previous=function(){b.wizard().previous()},a.exitValidation=function(a){return a},a.createItem=function(){return a.item.fromuser=a.item.defaultuser,a.item.fromdomain=a.item.host,e.save(a.item).$promise.then(function(){c.path("/tools/trunks/list")})["catch"](function(a){d.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.trunks.wizard",{url:"/wizard",templateUrl:"app/tools/trunk/wizard/wizard.html",controller:"TrunkWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("VariableListCtrl",["$scope","$uibModal","Variable","gridOptions",function(a,b,c,d){a.initView=function(){var b={exporterCsvFilename:"variables.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:160,buttons:[{"class":"blue-hoki",href:"/tools/variables/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=d.gridOptions(c,b,a)},a.createItem=function(){var c=b.open({animation:!0,templateUrl:"app/tools/variable/list/list.create.modal.html",controller:"VariableListCreateCtrl"});c.result.then(function(b){console.log(b),a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("VariableListCreateCtrl",["$scope","$translate","$uibModalInstance","Variable","xAlert",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return d.save(a.item).$promise.then(function(a){e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){e.show(a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.variables.list",{url:"/list",templateUrl:"app/tools/variable/list/list.html",controller:"VariableListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Variable",["$resource",function(a){return a("/api/variables/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.variables",{url:"/variables",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:13}}})}]),angular.module("xCallyShuttleApp").controller("VariableViewCtrl",["$scope","$translate","$stateParams","xAlert","Variable",function(a,b,c,d,e){a.getVariable=function(){return e.get({id:c.id}).$promise.then(function(b){a.variable=b})["catch"](function(a){d.show(a.data.message,"danger")})},a.updateVariable=function(){return e.update({id:c.id},a.variable).$promise.then(function(){d.show(b.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){d.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.variables.view",{url:"/view/:id",templateUrl:"app/tools/variable/view/view.html",controller:"VariableViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.tools.variables.view.settings",{url:"/settings",templateUrl:"app/tools/variable/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("YourdashboardListCloneModalCtrl",["$scope","$uibModalInstance",function(a,b){a.forms={dashboard:void 0},a.item={},a.ok=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("YourdashboardListCreateModalCtrl",["$scope","$uibModalInstance",function(a,b){a.forms={dashboard:void 0},a.item={},a.ok=function(){a.item.model=JSON.stringify({title:a.item.name}),b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("YourdashboardListCtrl",["$scope","$http","$translate","xAlert","Modal","$uibModal","$log","YourDashboard","gridOptions",function(a,b,c,d,e,f,g,h,i){a.initView=function(){var b={exporterCsvFilename:"voice_contexts.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:220,buttons:[{"class":"green",href:"/tools/yourdashboards/show/{{row.entity.id}}",name:"view"},{"class":"blue-hoki",href:"/tools/yourdashboards/view/{{row.entity.id}}/settings",name:"settings"},{"class":"{{row.entity.defaultEntry ? 'red-sunglo disabled' : 'red-sunglo'}}",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"},{"class":"purple",name:"clone",onClick:"grid.appScope.clone(row.entity.id)"}]}]};a.gridOptions=i.gridOptions(h,b,a)},a.create=function(){var b=f.open({animation:!0,templateUrl:"app/tools/yourdashboard/list/create.modal.html",controller:"YourdashboardListCreateModalCtrl"});b.result.then(function(b){return h.save(b).$promise.then(function(){d.show(c.instant("MESSAGE_WELL_DONE"),"success"),a.gridOptions.getPage()})["catch"](function(a){console.error(a),d.show(a.message,"danger")})},function(){g.info("Modal dismissed at: "+new Date)})},a.clone=function(b){var e=f.open({animation:!0,templateUrl:"app/tools/yourdashboard/list/clone.modal.html",controller:"YourdashboardListCloneModalCtrl"});e.result.then(function(e){return h.save({id:b,controller:"clone"},e).$promise.then(function(){d.show(c.instant("MESSAGE_WELL_DONE"),"success"),a.gridOptions.getPage()})["catch"](function(a){console.error(a),d.show(a.message,"danger")})},function(){g.info("Modal dismissed at: "+new Date)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.yourdashboards.list",{url:"/list",templateUrl:"app/tools/yourdashboard/list/list.html",controller:"YourdashboardListCtrl"})}]),angular.module("xCallyShuttleApp").controller("LeaveEditedDashboardModalCtrl",["$scope","$uibModalInstance",function(a,b){a.close=function(){b.close()},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("YourdashboardShowCtrl",["$scope","$rootScope","localStorageService","xAlert","$translate","Auth","$stateParams","$location","$uibModal","$log","YourDashboard",function(a,b,c,d,e,f,g,h,i,j,k){a.Auth=f,a.editMode=!1,a.getDashboard=function(){return k.get({id:g.id}).$promise.then(function(b){var c={name:"dashboard",structure:"4-8",enableconfirmdelete:!0,maximizable:!0,collapsible:!0};b.model=JSON.parse(b.model||'{"title":"Dashboard"}'),b.editable=!(!f.isAdmin()||!b.editable),a.dashboard=_.merge(c,b); -})["catch"](function(a){h.path("/tools/yourdashboards/list")})},a.$on("$locationChangeStart",function(b,c,d){if(a.editMode){b.preventDefault();var e=i.open({animation:!0,templateUrl:"app/tools/yourdashboard/show/leaveEditedDashboard.modal.html",controller:"LeaveEditedDashboardModalCtrl"});e.result.then(function(b){a.editMode=!1;var d=location.protocol+"//"+location.host;h.path(c.replace(d,""))},function(){j.info("Modal dismissed at: "+new Date)})}});var l=function(b,c,f){var h=angular.copy(a.dashboard);return h.name=a.dashboard.model.title,h.model=JSON.stringify(h.model),k.update({id:g.id},h).$promise.then(function(){d.show(e.instant("MESSAGE_DASHBOARD_SAVED")+"!","success"),a.editMode=!1})["catch"](function(b){d.show(b.message,"danger"),h.model=JSON.parse(h.model),h.name="dashboard",a.dashboard=h})};a.$on("adfDashboardChanged",l),a.$on("adfIsEditMode",function(){a.editMode=!0}),a.$on("destroy",function(){console.log("main dashboard")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.yourdashboards.show",{url:"/show/:id",templateUrl:"app/tools/yourdashboard/show/show.html",controller:"YourdashboardShowCtrl"})}]),angular.module("xCallyShuttleApp").controller("YourdashboardViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","$location",function(a,b,c,d,e,f){a.radioSwitch={isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.getDashboard=function(){b.get("/api/dashboards/"+e.id).success(function(b){delete b.model,a.dashboard=b}).error(function(a){f.path("/tools/yourdashboards/list")})},a.updateDashboard=function(){var f=angular.copy(a.dashboard);b.put("/api/dashboards/"+e.id,f).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(b){c.show(d.instant(b.message),"danger"),a.dashboard=f})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.yourdashboards.view",{url:"/view/:id",templateUrl:"app/tools/yourdashboard/view/view.html",controller:"YourdashboardViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.tools.yourdashboards.view.settings",{url:"/settings",templateUrl:"app/tools/yourdashboard/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").factory("YourDashboard",["$resource",function(a){return a("/api/dashboards/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.yourdashboards",{url:"/yourdashboards",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:2}}})}]),angular.module("xCallyShuttleApp").controller("ZendeskListCtrl",["$scope","ZendeskAccount","gridOptions","xAlert","$translate",function(a,b,c,d,e){a.initView=function(){var d={exporterCsvFilename:"zendesk_account.csv",columnDefs:[{name:"name",displayName:"APPLICATION_NAME"},{name:"username"},{name:"remoteUri",displayName:"APPLICATION_URI"},{name:"action",buttons:[{"class":"blue-hoki",href:"/zendesk/view/{{row.entity.id}}/account",name:"account"},{"class":"green-jungle",name:"check",displayName:"APPLICATION_CHECK",onClick:"grid.appScope.checkAccount(row.entity.id)"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,d,a)},a.checkAccount=function(a){return b.check({id:a}).$promise.then(function(){d.show(e.instant("MESSAGE_ACCOUNT_VERIFIED"),"success")})["catch"](function(){d.show(e.instant("MESSAGE_ACCOUNT_INVALID"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.zendesk.list",{url:"/list",templateUrl:"app/zendesk/list/list.html",controller:"ZendeskListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.zendesk.view.configurations",{url:"/configurations",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ZendeskViewConfigurationListCtrl",["$scope","$stateParams","$translate","gridOptions","ZendeskConfiguration","$uibModal",function(a,b,c,d,e,f){a.initView=function(){var c={exporterCsvFilename:"zendesk_configurations.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/zendesk/view/{{row.entity.AccountId}}/configurations/view/{{row.entity.id}}",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=d.gridOptions(e,c,a,{accountId:b.id})},a.createItem=function(){var b=f.open({animation:!0,templateUrl:"app/zendesk/view/configuration/list/create.modal.html",controller:"ZendeskCreateConfigurationCtrl"});b.result.then(function(){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("ZendeskCreateConfigurationCtrl",["$scope","$translate","$uibModalInstance","ZendeskConfiguration","xAlert","$stateParams","channel",function(a,b,c,d,e,f,g){a.form={},a.item={},a.channels=g,a.item.channel="voice",a.save=function(){return d.save({accountId:f.id},a.item).$promise.then(function(a){e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){e.error(a)})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.zendesk.view.configurations.list",{url:"/list",templateUrl:"app/zendesk/view/configuration/list/list.html",controller:"ZendeskViewConfigurationListCtrl"})}]),angular.module("xCallyShuttleApp").controller("ZendeskViewConfigurationViewCtrl",["$scope","$stateParams","$filter","$translate","socket","ZendeskConfiguration","xAlert","variable","Variable","ZendeskAccount","Tag","ZendeskField",function(a,b,c,d,e,f,g,h,i,j,k,l){a.$on("$destroy",function(){e.unsyncUpdates("zendesk_field")}),a.config={autoHideScrollbar:!1,theme:"dark",advanced:{updateOnContentResize:!0},setHeight:300,scrollInertia:0},a.fieldType=[{type:"string",title:"String"},{type:"variable",title:"Variable"},{type:"customVariable",title:"Custom Variable"}],a.descFieldType=[{type:"string",title:"String"},{type:"keyValue",title:"Key Value"}],a.groupVariableByGroup=function(a){switch(a.group){case"voice_queue":return"Voice: Queue";default:return"Other"}},a.initView=function(){a.configurationName="",a.subjectConfig=[],a.descriptionConfig=[],a.fieldConfig=[],a.selectedTags={tags:[]},a.variables=h},a.getConfiguration=function(){return f.get({accountId:b.id,id:b.configurationId}).$promise.then(function(b){a.configurationName=b.name,a.subjectConfig=b.Subject,a.descriptionConfig=b.Description,a.fieldConfig=b.Field,a.selectedTags={tags:_.map(b.Tags,function(a){return a.id})},e.socket.on("zendesk_field:remove",function(b){_.remove(a.subjectConfig,{id:b.id}),_.remove(a.descriptionConfig,{id:b.id}),_.remove(a.fieldConfig,{id:b.id})})})["catch"](function(a){g.error(a)})},a.getCustomVariables=function(){return i.get().$promise.then(function(b){a.customVariables=b.rows})["catch"](function(a){g.error(a)})},a.getFields=function(){return j.fields({id:b.id}).$promise.then(function(b){a.accountFields=c("zendesk")(b)})["catch"](function(a){g.error(a)})},a.getTags=function(){return k.get().$promise.then(function(b){a.tags=b.rows})["catch"](function(a){g.error(a)})},a.addItem=function(c){var d={};switch(c){case"subject":case"description":d={type:"string",content:""};break;case"field":d={content:""}}return f.save({accountId:b.id,id:b.configurationId,controller:c},d).$promise.then(function(b){switch(c){case"subject":a.subjectConfig.push(b);break;case"description":a.descriptionConfig.push(b);break;case"field":a.fieldConfig.push(b)}})["catch"](function(a){g.error(a)})},a.changeType=function(b){"variable"===b.type?(b.content="",b.variableName=""):"string"===b.type?(b.VariableId=null,b.variableName=""):"customVariable"===b.type&&(b.VariableId=null,b.content=""),a.updateField(b)},a.updateField=function(a){return l.update({accountId:b.id,configurationId:b.configurationId,id:a.id},a).$promise.then(function(){})["catch"](function(a){g.error(a)})},a.removeItem=function(a){return l["delete"]({accountId:b.id,configurationId:b.configurationId,id:a.id}).$promise.then(function(){g.show(d.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){g.error(a)})},a.changeDescType=function(b){"keyValue"===b.type?(b.content="","string"===b.keyType?(b.VariableId=null,b.variableName=""):"variable"===b.keyType?(b.keyContent="",b.VariableId=null):"customVariable"===b.keyType&&(b.keyContent="",b.variableName="")):"string"===b.type&&(b.VariableId=null,b.variableName="",b.key="",b.keyContent=""),a.updateField(b)},a.changeFieldType=function(b){if(b.content="",b.variableName="",b.nameField="",b.VariableId=null,b.idField){var c=_.find(a.accountFields,"id",b.idField);c&&(c.system_field_options?(b.customField=!1,b.nameField=c.title.toLowerCase()):b.customField=!0)}a.updateField(b)},a.updateTags=function(){return f.update({accountId:b.id,id:b.configurationId,controller:"tags"},a.selectedTags.tags).$promise.then(function(){g.show(d.instant("MESSAGE_WELL_DONE")+".","success")})["catch"](function(a){g.error(a)})},a.getSystemFieldOptions=function(b){if(b){var c=_.find(a.accountFields,"id",b);return c?c.system_field_options?c.system_field_options:null:void 0}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.zendesk.view.configurations.view",{url:"/view/:configurationId",templateUrl:"app/zendesk/view/configuration/view/view.html",controller:"ZendeskViewConfigurationViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("ZendeskViewCtrl",["$scope","$stateParams","$translate","xAlert","Modal","ZendeskAccount",function(a,b,c,d,e,f){a.initView=function(){return f.get({id:b.id}).$promise.then(function(b){a.account=b})["catch"](function(a){d.error(a)})},a.updateItem=function(){return f.update({id:b.id},a.account).$promise.then(function(){d.show(c.instant("MESSAGE_WELL_DONE")+".","success")})["catch"](function(a){d.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.zendesk.view",{url:"/view/:id",templateUrl:"app/zendesk/view/view.html",controller:"ZendeskViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.zendesk.view.account",{url:"/account",templateUrl:"app/zendesk/view/view.account.html"})}]),angular.module("xCallyShuttleApp").controller("ZendeskWizardCtrl",["$scope","$http","$location","$translate","xAlert","WizardHandler","ZendeskAccount",function(a,b,c,d,e,f,g){a.translate=d,a.initWizard=function(){a.$translate=d,a.forms={},a.item={},a.item.authType="password"},a.next=function(){f.wizard().next()},a.exitValidation=function(a){return a},a.createItem=function(){return g.save(a.item).$promise.then(function(){e.show(d.instant("MESSAGE_WELL_DONE")+".","success"),c.path("/zendesk/list")})["catch"](function(a){e.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.zendesk.wizard",{url:"/wizard",templateUrl:"app/zendesk/wizard/wizard.html",controller:"ZendeskWizardCtrl"})}]),angular.module("xCallyShuttleApp").factory("ZendeskAccount",["$resource",function(a){return a("/api/zendesk/accounts/:id/:controller",{id:"@id"},{update:{method:"PUT"},fields:{params:{controller:"fields"},isArray:!0},check:{params:{controller:"check"}}})}]).factory("ZendeskConfiguration",["$resource",function(a){return a("/api/zendesk/accounts/:accountId/configurations/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]).factory("ZendeskField",["$resource",function(a){return a("/api/zendesk/accounts/:accountId/configurations/:configurationId/fields/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.zendesk",{url:"/zendesk",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").service("application",function(){var a={applications:[{type:null,name:"APPLICATION_QUEUE",value:"Queue"},{type:null,name:"APPLICATION_PLAYBACK",value:"Playback"},{type:null,name:"Dial",value:"Dial"},{type:"internalDial",name:"APPLICATION_INTERNAL_DIAL",value:"Dial"},{type:"externalDial",name:"APPLICATION_EXTERNAL_DIAL",value:"Dial"},{type:null,name:"Cally-Square Project",value:"AGI"},{type:null,name:"GoTo",value:"Goto"},{type:null,name:"Hangup",value:"Hangup"},{type:null,name:"Set",value:"Set"},{type:"custom",name:"Custom",value:"custom"},{type:null,name:"APPLICATION_VOICEMAIL",value:"Voicemail"}],queueOptions:[{value:"C",name:"APPLICATION_QUEUE_OPTION_C"},{value:"c",name:"APPLICATION_QUEUE_OPTION_c"},{value:"d",name:"APPLICATION_QUEUE_OPTION_d"},{value:"F",name:"APPLICATION_QUEUE_OPTION_F"},{value:"h",name:"APPLICATION_QUEUE_OPTION_h"},{value:"H",name:"APPLICATION_QUEUE_OPTION_H"},{value:"n",name:"APPLICATION_QUEUE_OPTION_n"},{value:"i",name:"APPLICATION_QUEUE_OPTION_i"},{value:"I",name:"APPLICATION_QUEUE_OPTION_I"},{value:"r",name:"APPLICATION_QUEUE_OPTION_r"},{value:"R",name:"APPLICATION_QUEUE_OPTION_R"},{value:"t",name:"APPLICATION_QUEUE_OPTION_t"},{value:"T",name:"APPLICATION_QUEUE_OPTION_T"},{value:"w",name:"APPLICATION_QUEUE_OPTION_w"},{value:"W",name:"APPLICATION_QUEUE_OPTION_W"},{value:"k",name:"APPLICATION_QUEUE_OPTION_k"},{value:"K",name:"APPLICATION_QUEUE_OPTION_K"},{value:"x",name:"APPLICATION_QUEUE_OPTION_x"},{value:"X",name:"APPLICATION_QUEUE_OPTION_X"}],audioOptions:[{value:"skip",name:"APPLICATION_PLAYBACK_OPTION_SKIP"},{value:"noanswer",name:"APPLICATION_PLAYBACK_OPTION_NOANSWER"},{value:"j",name:"APPLICATION_PLAYBACK_OPTION_J"},{value:"say",name:"APPLICATION_PLAYBACK_OPTION_SAY"}],hangupCauses:[{value:"",name:"--"},{value:"1",name:"APPLICATION_HANGUP_CAUSE_1"},{value:"16",name:"APPLICATION_HANGUP_CAUSE_16"},{value:"17",name:"APPLICATION_HANGUP_CAUSE_17"},{value:"18",name:"APPLICATION_HANGUP_CAUSE_18"},{value:"21",name:"APPLICATION_HANGUP_CAUSE_21"},{value:"22",name:"APPLICATION_HANGUP_CAUSE_22"},{value:"27",name:"APPLICATION_HANGUP_CAUSE_27"},{value:"38",name:"APPLICATION_HANGUP_CAUSE_38"},{value:"41",name:"APPLICATION_HANGUP_CAUSE_41"}],intTypes:[{value:"always",name:"APPLICATION_ALWAYS"},{value:"custom",name:"APPLICATION_CUSTOM"},{value:"list",name:"APPLICATION_FROM_LIST"}],checkUnderscore:function(a){return 0===a.indexOf("_")?a:"_"+a}};return{application:a}}),angular.module("xCallyShuttleApp").factory("Auth",["$location","$rootScope","$http","User","$cookieStore","$q",function(a,b,c,d,e,f){var g={};return e.get("token")&&(g=d.me()),{login:function(a,h){var i=h||angular.noop,j=f.defer();return c.post("/auth/local",{name:a.name,password:a.password,remember:a.remember}).success(function(a){return e.put("role",a.role),e.put("token",a.token),e.put("userId",a.userId),g=d.me({},function(){b.$broadcast("login")}),j.resolve(a),i()}).error(function(a){return this.logout(),j.reject(a),i(a)}.bind(this)),j.promise},loginWithToken:function(a,c,f){e.put("role",f),e.put("token",a),e.put("userId",c),g=d.me({},function(){b.$broadcast("login")})},logout:function(){c.put("/api/users/"+g.id,{online:!1}).success(function(){e.remove("role"),e.remove("token"),e.remove("userId"),g={},b.$broadcast("logout")}).error(function(a){return a})},createUser:function(a,b){var c=b||angular.noop;return d.save(a,function(b){return e.put("token",b.token),g=d.me(),c(a)},function(a){return this.logout(),c(a)}.bind(this)).$promise},changePassword:function(a,b,c){var e=c||angular.noop;return d.changePassword({id:g.id},{oldPassword:a,newPassword:b},function(a){return e(null,a)},function(a){return e(a)}).$promise},getCurrentUser:function(){return g},isLoggedIn:function(){return g.hasOwnProperty("role")},isLoggedInAsync:function(a){g.hasOwnProperty("$promise")?g.$promise.then(function(){a(!0)})["catch"](function(){a(!1)}):a(g.hasOwnProperty("role")?!0:!1)},isAdmin:function(){return"admin"===(e.get("role")||g.role)},isUser:function(){return"user"===(e.get("role")||g.role)},isAgent:function(){return"agent"===(e.get("role")||g.role)},getRole:function(){return g.role},getToken:function(){return e.get("token")}}}]),angular.module("xCallyShuttleApp").service("automations",function(){var a={mail:{conditions:[{name:"APPLICATION_STATUS",value:"status",type:"select",arr:[{name:"APPLICATION_STATUS_NEW",value:"NEW"},{name:"APPLICATION_STATUS_OPEN",value:"OPEN"},{name:"APPLICATION_STATUS_CLOSED",value:"CLOSED"}],operators:[{value:"equals",name:"APPLICATION_EQUALS_TO"},{value:"not_equals",name:"APPLICATION_NOT_EQUALS_TO"}]},{name:"APPLICATION_HOURS_SINCE_CREATED",value:"createdAt",type:"input",operators:[{value:"greater_or_equal",name:"APPLICATION_GTE_TO"},{value:"less_or_equal",name:"APPLICATION_LTE_TO"},{value:"greater",name:"APPLICATION_GREATER_THAN"},{value:"less",name:"APPLICATION_LESS_THAN"}]}],actions:[{name:"APPLICATION_STATUS",value:"status"}]},fax:{conditions:[{name:"APPLICATION_STATUS",value:"status",type:"select",arr:[{name:"APPLICATION_STATUS_NEW",value:"NEW"},{name:"APPLICATION_STATUS_OPEN",value:"OPEN"},{name:"APPLICATION_STATUS_CLOSED",value:"CLOSED"}],operators:[{value:"equals",name:"APPLICATION_EQUALS_TO"},{value:"not_equals",name:"APPLICATION_NOT_EQUALS_TO"}]},{name:"APPLICATION_HOURS_SINCE_CREATED",value:"createdAt",type:"input",operators:[{value:"greater_or_equal",name:"APPLICATION_GTE_TO"},{value:"less_or_equal",name:"APPLICATION_LTE_TO"},{value:"greater",name:"APPLICATION_GREATER_THAN"},{value:"less",name:"APPLICATION_LESS_THAN"}]}],actions:[{name:"APPLICATION_STATUS",value:"status"}]}},b=["mail","chat","fax"];return{services:a,channels:b}}),angular.module("xCallyShuttleApp").service("channel",function(){var a=[{name:"Voice",value:"voice"}];return a}),angular.module("xCallyShuttleApp").service("desk_com",function(){var a=[{id:"priority",label:"Priority",custom:!1,data:{choices:[1,2,3,4,5,6,7,8,9,10]}},{id:"status",label:"Status",custom:!1,data:{choices:["new","open","pending","resolved","closed"]}},{id:"type",label:"Type",custom:!1,data:{choices:["chat","twitter","email","qna","facebook","phone"]}}];return{fields:a}}),angular.module("xCallyShuttleApp").controller("FooterController",["$scope","$http",function(a,b){a.year=moment().year(),a.$on("$includeContentLoaded",function(){Layout.initFooter()}),a.initFooter=function(){b.get("/api/settings/info").success(function(b){a.info=b}).error(function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").controller("HeaderController",["$scope","$rootScope","$location","$state","$http","$notification","Auth","xAlert","socket","ngAudio","settings","toastr","localStorageService","Agent","SmsReport","MailReport","ChatReport","ChatRoom","xNotification","$timeout","$translate","$window","User","Pause","Action","FaxReport",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z){function A(){return a.headerAgent=g.getCurrentUser(),a.readyTimer=1e3*moment().unix(),x.get().$promise.then(function(b){a.headerPauses=b.rows,i.syncUpdates("pause",a.headerPauses)})["finally"](function(){i.socket.on("agent:save",function(b){a.headerAgent.id===b.id&&(_.merge(a.headerAgent,b),b.voicePause&&b.mailPause&&b.chatPause&&b.faxPause&&b.smsPause||(a.readyTimer=1e3*moment().unix()))})})["catch"](function(a){console.log("Error synchronizing agent status:",a)})}a.moment=moment,a.headerPause=function(b,c,d){return y.save({name:b,agent:a.headerAgent.id,type:c||"DEFAULT PAUSE",data4:c||"DEFAULT PAUSE",channel:d||"all"}).$promise.then(function(){h.show(u.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.show(u.instant(a.message||a.data.message||a.translatedMessage||a.data.translatedMessage),"danger")})},"agent"===g.getCurrentUser().role&&A(),i.socket.on("report_chat:save",function(a){j.load("api/xchatty/assets?resource=notification/xc_blubb.mp3").play(),v.Notification&&f("CHAT CHANNEL",{icon:"assets/images/media/channels/chat64.png",body:"NEW Incoming Chat Visitor!",delay:1e3*a.timeslot});var b=""+u.instant("APPLICATION_FROM")+": "+a.visitorname+"
"+u.instant("APPLICATION_EMAIL")+": "+a.visitoremail;"queue"===a.application&&(b+="
"+u.instant("APPLICATION_QUEUE")+": "+a.queuename),s.show(u.instant("APPLICATION_NEW_CHAT_REQUEST"),b,"chat",1e3*a.timeslot,function(){return q.get({id:a.id,controller1:"accept",controller2:a.uniqueid}).$promise.then(function(){h.show("Chat properly assigned","success")})["catch"](function(a){switch(a.status){case 504:h.show(u.instant("MESSAGE_CHAT_ALREADY_MANAGED"),"info");break;default:h.error(a)}})},function(){return q.get({id:a.id,controller1:"reject"}).$promise.then(function(){h.show("Chat properly rejected","success")})["catch"](function(a){h.show(a.data.message,"danger")})})}),i.socket.on("user_has_chat_room:save",function(b){var c;return r.get({id:Number(b.ChatRoomId)}).$promise.then(function(b){c=b;var d=_.find(a.workspaces,{id:Number(c.id),type:"chatRoom"});d?d.name=a.getFullnames(c):a.workspaces.push({id:c.id,name:a.getFullnames(c),type:"chatRoom","class":"icon-bubble",unread:1})})["catch"](function(a){console.error(a)})}),i.socket.on("chat_message:save",function(b){var c;if(b.UserId!==g.getCurrentUser().id){var d=_.find(a.workspaces,{id:Number(b.ChatRoomId),type:"chatRoom"});if(!d)return r.get({id:Number(b.ChatRoomId)}).$promise.then(function(b){c=b,a.workspaces.push({id:c.id,name:a.getFullnames(b),type:"chatRoom","class":"icon-bubble",unread:1})})["catch"](function(a){console.error(a)})}}),a.getFullnames=function(a){var b=_.map(a.Users,"fullname");return a.ChatVisitor&&b.unshift(a.ChatVisitor.fullname),_.without(b,g.getCurrentUser().fullname).join(", ")},a.toggleQuickSidebar=function(){k.layout.pageQuickSidebarOpened=!k.layout.pageQuickSidebarOpened,k.layout.pageQuickSidebarOpened||m.remove("chatRoomId")};var B=function(){return v.Notification},C=function(){b.settings.layout.onFocus=!0},D=function(){b.settings.layout.onFocus=!1};v.onfocus=C,v.onblur=D,a.toogleSidebar=function(){k.layout.pageSidebarClosed=!k.layout.pageSidebarClosed,m.set("sidebarClosed",k.layout.pageSidebarClosed)},a.initHeader=function(){var c=j.load("api/xchatty/assets?resource=notification/xc_blubb.mp3");"agent"===g.getCurrentUser().role&&(i.socket.on("report_mail:save",function(c){var d=_.find(a.workspaces,{id:c.roomid,type:"mailRoom"});if(!d){j.load("api/xchatty/assets?resource=notification/xc_blubb.mp3").play();var e=""+u.instant("APPLICATION_ACCOUNT")+": "+c.accountname+"
"+u.instant("APPLICATION_EMAIL")+": "+c.accountaddress;"queue"===c.application&&(e+="
"+u.instant("APPLICATION_QUEUE")+": "+c.queuename),s.show(u.instant("APPLICATION_NEW_MAIL_REQUEST"),e,"mail",1e3*c.timeslot,function(){return p.get({id:c.id,controller1:"accept",controller2:c.uniqueid}).$promise.then(function(){var b=_.find(a.workspaces,{id:c.roomid,type:"mailRoom"});b?b.active=!0:a.workspaces.push({id:c.roomid,name:c.subject,type:"mailRoom","class":"icon-envelope",active:!0,unread:0})})["catch"](function(a){switch(a.status){case 504:h.show(u.instant("MESSAGE_MAIL_ALREADY_MANAGED"),"info");break;default:h.error(a)}})},function(){return p.get({id:c.id,controller1:"reject"}).$promise["catch"](function(a){h.show(a.data.message,"danger")})}),B&&!b.settings.layout.onFocus?f("MAIL CHANNEL",{icon:"assets/images/media/channels/mail64.png",body:"NEW Incoming Mail Message!",delay:1e3*c.timeslot}):console.log("Notification API not supported in your browser")}}),i.socket.on("report_sms:save",function(b){c.play();var d=""+u.instant("APPLICATION_FROM")+": "+b.accountname+"
"+u.instant("APPLICATION_SMS")+": "+b.accountnumber;"queue"===b.application&&(d+="
"+u.instant("APPLICATION_QUEUE")+": "+b.queuename),s.show(u.instant("APPLICATION_NEW_SMS_REQUEST"),d,"sms",1e3*b.timeslot,function(){return o.get({id:b.id,controller1:"accept",controller2:b.uniqueid}).$promise.then(function(){var c=_.find(a.workspaces,{id:b.roomid,type:"smsRoom"});c?c.active=!0:a.workspaces.push({id:b.roomid,name:b.from,type:"smsRoom","class":"glyphicon glyphicon-comment",active:!0})})["catch"](function(a){h.show(a.data.message,"danger")})},function(){return o.get({id:b.id,controller1:"reject"}).$promise.then(function(){h.show("SMS properly rejected","success")})["catch"](function(a){h.show(a.data.message,"danger")})}),B?f("SMS CHANNEL",{icon:"assets/images/media/channels/chat64.png",body:"NEW Incoming SMS Message!",delay:1e3*b.timeslot}):console.log("Notification API not supported in your browser")}),i.socket.on("report_fax:save",function(c){j.load("api/xchatty/assets?resource=notification/xc_blubb.mp3").play();var d=""+u.instant("APPLICATION_ACCOUNT")+": "+c.accountname+"
"+u.instant("APPLICATION_PHONE")+": "+c.from;"queue"===c.application&&(d+="
"+u.instant("APPLICATION_QUEUE")+": "+c.queuename),s.show(u.instant("APPLICATION_NEW_FAX_REQUEST"),d,"fax",1e3*c.timeslot,function(){return z.get({id:c.id,controller1:"accept",controller2:c.uniqueid}).$promise.then(function(){var b=_.find(a.workspaces,{id:c.roomid,type:"faxRoom"});b?b.active=!0:a.workspaces.push({id:c.roomid,name:c.subject,type:"faxRoom","class":"icon-paper-plane",active:!0})})["catch"](function(a){switch(a.status){case 504:h.show(u.instant("MESSAGE_FAX_ALREADY_MANAGED"),"info");break;default:h.error(a)}})},function(){return z.get({id:c.id,controller1:"reject"}).$promise["catch"](function(a){h.error(a)})}),B&&!b.settings.layout.onFocus?f("FAX CHANNEL",{icon:"assets/images/media/channels/telephone124.png",body:"NEW Incoming Fax Message!",delay:1e3*c.timeslot}):console.log("Notification API not supported in your browser")}))},a.logout=function(){return e.get("/auth/local/logout").success(function(){g.logout(),c.path("/login")}).error(function(a){console.error(a)})},a.isActive=function(a){return a===c.path()}}]),angular.module("xCallyShuttleApp").service("interval",function(){var a={months:[{value:"always",name:"APPLICATION_ALWAYS"},{value:"jan",name:"APPLICATION_JANUARY"},{value:"feb",name:"APPLICATION_FEBRUARY"},{value:"mar",name:"APPLICATION_MARCH"},{value:"apr",name:"APPLICATION_APRIL"},{value:"may",name:"APPLICATION_MAY"},{value:"jun",name:"APPLICATION_JUNE"},{value:"jul",name:"APPLICATION_JULY"},{value:"aug",name:"APPLICATION_AUGUST"},{value:"sep",name:"APPLICATION_SEPTEMBER"},{value:"oct",name:"APPLICATION_OCTOBER"},{value:"nov",name:"APPLICATION_NOVEMBER"},{value:"dec",name:"APPLICATION_DECEMBER"}],monthsNumber:[{value:"always",name:"APPLICATION_ALWAYS"},{value:"1",name:"APPLICATION_JANUARY"},{value:"2",name:"APPLICATION_FEBRUARY"},{value:"3",name:"APPLICATION_MARCH"},{value:"4",name:"APPLICATION_APRIL"},{value:"5",name:"APPLICATION_MAY"},{value:"6",name:"APPLICATION_JUNE"},{value:"7",name:"APPLICATION_JULY"},{value:"8",name:"APPLICATION_AUGUST"},{value:"9",name:"APPLICATION_SEPTEMBER"},{value:"10",name:"APPLICATION_OCTOBER"},{value:"11",name:"APPLICATION_NOVEMBER"},{value:"12",name:"APPLICATION_DECEMBER"}],daysOfWeek:[{value:"always",name:"APPLICATION_ALWAYS"},{value:"mon",name:"APPLICATION_MONDAY"},{value:"tue",name:"APPLICATION_TUESDAY"},{value:"wed",name:"APPLICATION_WEDNESDAY"},{value:"thu",name:"APPLICATION_THURSDAY"},{value:"fri",name:"APPLICATION_FRIDAY"},{value:"sat",name:"APPLICATION_SATURDAY"},{value:"sun",name:"APPLICATION_SUNDAY"}],daysOfMonth:["always",1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31]};return{interval:a}}),angular.module("xCallyShuttleApp").factory("Modal",["$rootScope","$uibModal",function(a,b){function c(c,d){console.log("openModal",d);var e=a.$new();return c=c||{},d=d||"modal-default",angular.extend(e,c),b.open({templateUrl:"components/modal/delete.html",windowClass:d,scope:e})}return{confirm:{"delete":function(a){return a=a||angular.noop,function(){console.log(Array.prototype.slice.call(arguments));var b,d=Array.prototype.slice.call(arguments),e=d.shift();b=c({modal:{dismissable:!0,title:"Confirm Delete",html:"

Are you sure you want to delete"+(e?" "+e+"":" selected items")+"?

",buttons:[{classes:"btn red",text:"Delete",click:function(a){b.close(a)}},{classes:"btn default",text:"Cancel",click:function(a){b.dismiss(a)}}]}},"over-topbar center"),b.result.then(function(b){a.apply(b,d)})}}}}}]),angular.module("xCallyShuttleApp").service("report",["ReportAgent","ReportCall","ReportMailSession","ReportMember","ReportQueue","ReportIntegration","ReportChatSession","ReportSmsSession","Contact","Recording","ReportSquare",function(a,b,c,d,e,f,g,h,i,j,k){var l=[{value:"report_agent_history",resource:a},{value:"report_call_history",resource:b},{value:"report_mail_session_history",resource:c},{value:"report_member_history",resource:d},{value:"report_queue_history",resource:e},{value:"report_integration_history",resource:f},{value:"report_chat_session_history",resource:g},{value:"report_sms_session_history",resource:h},{value:"cm_contacts",resource:i},{value:"voice_recordings",resource:j},{value:"report_square_history",resource:k},{value:"report_square_details_history",resource:k}];return{tables:l}}]),angular.module("xCallyShuttleApp").controller("SidebarController",["$scope","$rootScope","$resource","$location","Auth","Dashboard","Integration","xAlert","$stateParams","socket",function(a,b,c,d,e,f,g,h,i,j){a.Auth=e,a.userModules={},a.$on("$includeContentLoaded",function(){Metronic.init(),Layout.initSidebar()}),a.initSidebar=function(){e.getCurrentUser().Modules.forEach(function(b){a.userModules[b.id]=!0})},a.getSidebarDashboards=function(){return f.get().$promise.then(function(b){a.dashboards=b.rows,j.syncUpdates("dashboard",a.dashboards)})["catch"](function(){h.show("Error loading your dashboards","danger")})},a.getSidebarIntegrations=function(){return e.isAdmin()||a.userModules[19]?g.get().$promise.then(function(b){a.integrations=b.rows,j.syncUpdates("integration",a.integrations)})["catch"](function(a){h.show(a.message,"danger")}):void 0},a.$on("destroy",function(){j.unsyncUpdates("dashboard"),j.unsyncUpdates("integration")})}]),angular.module("xCallyShuttleApp").factory("socket",["$rootScope","$window","socketFactory","Auth",function(a,b,c,d){var e=d.getCurrentUser(),f=io("",{query:"token="+d.getToken()+"&userId="+e.id+"&name="+e.name+"&role="+(e.role||"agent")+"&source=browser",path:"/socket.io-client"}),g=c({ioSocket:f});return a.$on("logout",function(){g&&(g.disconnect(!0),b.location.reload())}),{socket:g,syncUpdates:function(a,b,c){c=c||angular.noop,g.on(a+":save",function(a){var d=_.find(b,{id:a.id}),e=b.indexOf(d),f="created";d?(_.merge(b[e],a),f="updated"):b.unshift(a),c(f,a,b)}),g.on(a+":remove",function(a){var d="deleted";_.remove(b,{id:a.id}),c(d,a,b)})},unsyncUpdates:function(a){g.removeAllListeners(a+":save"),g.removeAllListeners(a+":remove")},syncUpdatesByAttributes:function(a,b,c,d){d=d||angular.noop,g.on(a+":save",function(a){var e=!0;if(_.forIn(b,function(b,c){return a[c]&&a[c]===b?!0:e=!1}),e){var f=_.find(c,{id:a.id}),g=c.indexOf(f),h="created";f?(_.merge(c[g],a),h="updated"):c.unshift(a),d(h,a,c)}}),g.on(a+":remove",function(a){var b="deleted";_.remove(c,{id:a.id}),d(b,a,c)})},syncMailMessageUpdates:function(a,b,c,d){d=d||angular.noop,g.on(a+":"+b+":save",function(a){var b=_.find(c,{id:a.id}),e=c.indexOf(b),f="created";b?(_.merge(c[e],a),f="updated"):c.unshift(a),d(f,a)}),g.on(a+":"+b+":remove",function(a){var b="deleted";_.remove(c,{id:a.id}),d(b,a,c)})},unsyncMailMessageUpdates:function(a,b){g.removeAllListeners(a+":"+b+":save"),g.removeAllListeners(a+":"+b+":remove")},syncFaxMessageUpdates:function(a,b,c,d){d=d||angular.noop,g.on(a+":"+b+":save",function(a){var b=_.find(c,{ -id:a.id}),e=c.indexOf(b),f="created";b?(_.merge(c[e],a),f="updated"):c.unshift(a),d(f,a)}),g.on(a+":"+b+":remove",function(a){var b="deleted";_.remove(c,{id:a.id}),d(b,a,c)})},unsyncFaxMessageUpdates:function(a,b){g.removeAllListeners(a+":"+b+":save"),g.removeAllListeners(a+":"+b+":remove")}}}]),angular.module("xCallyShuttleApp").service("triggers",["VoiceQueue",function(a){var b={voice:{conditions:[{name:"APPLICATION_QUEUE",value:"queue",type:"select",resource:a,resValue:"name",operators:[{value:"equals",name:"APPLICATION_EQUALS_TO"},{value:"not_equals",name:"APPLICATION_NOT_EQUALS_TO"}]},{name:"APPLICATION_CALL_STATUS",value:"lastevent",type:"select",arr:[{name:"ringing",value:"called"},{name:"up",value:"connect"},{name:"hangup",value:"complete"},{name:"rejected",value:"rejected"},{name:"abandoned",value:"abandoned"}],operators:[{value:"equals",name:"APPLICATION_EQUALS_TO"},{value:"not_equals",name:"APPLICATION_NOT_EQUALS_TO"}]}],actions:[{name:"APPLICATION_CONTACT_MANAGER",value:"contactManager"},{name:"APPLICATION_INTEGRATIONS",value:"integration",propertyField:"select"},{name:"APPLICATION_MOTION_BAR",value:"motionbar",propertyField:"select"},{name:"APPLICATION_JSCRIPTY",value:"jscripty",propertyField:"select"}]}},c=["voice"];return{services:b,channels:c}}]),angular.module("xCallyShuttleApp").service("variable",function(){var a=[{title:"Unique ID",name:"uniqueid",group:"voice_queue"},{title:"Caller Number",name:"calleridnum",group:"voice_queue"},{title:"Caller Name",name:"calleridname",group:"voice_queue"},{title:"Queue",name:"queue",group:"voice_queue"},{title:"Called Number",name:"destcalleridnum",group:"voice_queue"},{title:"Called Name",name:"destcalleridname",group:"voice_queue"},{title:"Hold Time",name:"holdtime",group:"voice_queue"},{title:"Talk Time",name:"talktime",group:"voice_queue"},{title:"Connected Time",name:"agentconnectAt",group:"voice_queue"},{title:"Called Time",name:"agentcalledAt",group:"voice_queue"},{title:"DNID",name:"destexten",group:"voice_queue"},{title:"Complete Time",name:"agentcompleteAt",group:"voice_queue"},{title:"No Answer Time",name:"agentringnoanswerAt",group:"voice_queue"}];return a}),function(a,b){angular.module("adf.widget.counter",["adf.provider"]).config(["dashboardProvider",function(a){a.widget("counter",{title:"Single Value",description:"Single Value for db results",templateUrl:"{widgetsPath}/counter/src/view.html",controller:"apiwidgetCounterViewCtrl",edit:{templateUrl:"{widgetsPath}/counter/src/edit.html",controller:"apiwidgetCounterEditCtrl"}})}]).service("apiServiceCounter",["Widget",function(a){return{get:function(b){return a.get({select:b.select,condition:encodeURIComponent(b.condition),table:b.report.replace("_history",""),controller:"counter"}).$promise.then(function(a){return a})["catch"](function(a){console.log(a)})}}}]).controller("apiwidgetCounterEditCtrl",["$scope","report",function(a,b){a.config.reportTables=b.tables,a.config.colors=[{name:"Grey",value:"grey"},{name:"Grey 2",value:"grey-cascade"},{name:"Grey 3",value:"grey-silver"},{name:"Grey 4",value:"grey-steel"},{name:"Grey 5",value:"grey-carrara"},{name:"Grey 6",value:"grey-gallery"},{name:"Blue",value:"blue"},{name:"Blue 2",value:"blue-hoki"},{name:"Blue 3",value:"blue-steel"},{name:"Blue 4",value:"blue-madison"},{name:"Blue 5",value:"blue-chambray"},{name:"Blue 6",value:"blue-ebonyclay"},{name:"Red",value:"red"},{name:"Red 2",value:"red-pink"},{name:"Red 3",value:"red-sunglo"},{name:"Red 4",value:"red-intense"},{name:"Red 5",value:"red-thunderbird"},{name:"Red 6",value:"red-flamingo"},{name:"Green",value:"green"},{name:"Green 2",value:"green-meadow"},{name:"Green 3",value:"green-seagreen"},{name:"Green 4",value:"green-turquoise"},{name:"Green 5",value:"green-haze"},{name:"Green 6",value:"green-jungle"},{name:"Purple",value:"purple"},{name:"Purple 2",value:"purple-plum"},{name:"Purple 3",value:"purple-medium"},{name:"Purple 4",value:"purple-studio"},{name:"Purple 5",value:"purple-wisteria"},{name:"Purple 6",value:"purple-seance"},{name:"Yellow",value:"yellow"},{name:"Yellow 2",value:"yellow-gold"},{name:"Yellow 3",value:"yellow-casablanca"},{name:"Yellow 4",value:"yellow-crusta"},{name:"Yellow 5",value:"yellow-lemon"},{name:"Yellow 6",value:"yellow-saffron"}],a.config.icons=[{name:"Talk bubbles",value:"fa-comments"},{name:"Bar Chart",value:"fa-bar-chart"},{name:"Shopping Cart",value:"fa-shopping-cart"},{name:"Globe",value:"fa-globe"},{name:"Volume Control Phone",value:"fa-volume-control-phone"},{name:"Comments",value:"fa-comments-o"},{name:"Commenting",value:"fa-commenting-o"},{name:"Coffee",value:"fa-coffee"},{name:"Clock",value:"fa-clock-o"},{name:"Envelope",value:"fa-envelope-o"},{name:"Hourglass",value:"fa-hourglass-half"},{name:"Percent",value:"fa-percent"}],a.config.select=a.config.select?a.config.select:"COUNT(*)",a.config.timeout=a.config.timeout?a.config.timeout:1,a.config.color=a.config.color?a.config.color:"blue-madison",a.config.icon=a.config.icon?a.config.icon:"fa-comments",a.config.link=a.config.link?a.config.link:"#",a.config.linkText=a.config.linkText?a.config.linkText:"VIEW MORE"}]).controller("apiwidgetCounterViewCtrl",["$scope","$interval","apiServiceCounter",function(a,b,c){a.config.timeout=a.config.timeout?a.config.timeout:1,a.config.condition=a.config.condition?a.config.condition:null,a.config.color=a.config.color?a.config.color:"blue-madison",a.config.icon=a.config.icon?a.config.icon:"fa-comments",a.config.link=a.config.link?a.config.link:"#",a.config.linkText=a.config.linkText?a.config.linkText:"VIEW MORE",a.counterApiCall=function(){a.config.report&&c.get(a.config).then(function(b){b?b.result&&b.result.length>1||_.keys(b.result[0]).length>1?(a.tooManyResults=!0,a.result=null):(a.tooManyResults=!1,null!==_.values(b.result[0])[0]?a.result=_.values(b.result[0])[0].toString():a.result="--"):a.result=null})},a.counterApiCall();var d=b(function(){a.counterApiCall()},1e3*parseInt(a.config.timeout));a.$on("$destroy",function(){b.cancel(d)})}]),angular.module("adf.widget.counter").run(["$templateCache",function(a){a.put("{widgetsPath}/counter/src/edit.html","
{{'APPLICATION_'+$select.selected.value.toUpperCase() | translate}}
 
 
"),a.put("{widgetsPath}/counter/src/view.html",'
{{result}}
{{config.details}}
{{config.linkText}}
')}])}(window),function(a,b){angular.module("adf.widget.pie-chart",["adf.provider"]).config(["dashboardProvider",function(a){a.widget("pie-chart",{title:"Pie-Chart",description:"Display a pie-chart starting from DB values",templateUrl:"{widgetsPath}/pie-chart/src/view.html",controller:"apiWidgetPieChartViewCtrl",edit:{templateUrl:"{widgetsPath}/pie-chart/src/edit.html",controller:"apiWidgetPieChartEditCtrl"}})}]).service("apiServicePieChart",["Widget",function(a){return{get:function(b){return a.get({condition:encodeURIComponent(b.condition),table:b.report.replace("_history",""),fields:b.fields,controller:"piechart"}).$promise.then(function(a){return a})["catch"](function(a){console.log(a)})}}}]).controller("apiWidgetPieChartEditCtrl",["$scope","report",function(a,b){function c(){return a.config.fields||(a.config.fields=[{column:"",alias:""}]),a.config.fields}a.config.reportTables=b.tables,a.config.timeout=a.config.timeout?a.config.timeout:1,a.config.fields=a.config.fields?a.config.fields:[{column:"",alias:""}],a.addField=function(){c().push({})},a.removeField=function(a){c().splice(a,1)}}]).controller("apiWidgetPieChartViewCtrl",["$scope","$interval","apiServicePieChart",function(a,b,c){a.config.timeout=a.config.timeout?a.config.timeout:1,a.pieChartApiCall=function(){a.config.report&&a.config.fields.length&&""!==a.config.fields[0].column&&""!==a.config.fields[0].alias&&c.get(a.config).then(function(b){if(b&&b.result&&1===b.result.length){a.labels=[],a.data=[];for(var c in b.result[0])a.labels.push(c),a.data.push(b.result[0][c])}else a.labels=[],a.data=[]})},a.pieChartApiCall();var d=b(function(){a.pieChartApiCall()},1e3*parseInt(a.config.timeout));a.$on("$destroy",function(){b.cancel(d)})}]),angular.module("adf.widget.pie-chart").run(["$templateCache",function(a){a.put("{widgetsPath}/pie-chart/src/edit.html","
{{'APPLICATION_'+$select.selected.value.toUpperCase() | translate}}
as 1\">
"),a.put("{widgetsPath}/pie-chart/src/view.html",'
')}])}(window),function(a,b){angular.module("adf.widget.table",["adf.provider"]).value("apiServiceUrlTable","/api/widgets/table").config(["dashboardProvider",function(a){a.widget("table",{title:"Table",description:"Show tabbed results from db",templateUrl:"{widgetsPath}/table/src/view.html",controller:"apiWidgetTableViewCtrl",edit:{templateUrl:"{widgetsPath}/table/src/edit.html",controller:"apiWidgetTableEditCtrl"}})}]).service("apiServiceTable",["$q","$http","apiServiceUrlTable",function(a,b,c){return{get:function(d){var e=a.defer();return b.get(c,{params:{condition:encodeURIComponent(d.condition),table:d.report,fields:d.fields}}).success(function(a){a?e.resolve(a):e.reject()}).error(function(a){console.log(a),e.reject()}),e.promise}}}]).controller("apiWidgetTableEditCtrl",["$scope",function(a){function b(){return a.config.fields||(a.config.fields=[{column:"",alias:""}]),a.config.fields}a.config.reportTables=[{name:"Agents",value:"agent"},{name:"Calls",value:"call"},{name:"Dials",value:"dial"},{name:"Members",value:"member"},{name:"Queues",value:"queue"}],a.config.timeout=a.config.timeout?a.config.timeout:1,a.config.height=a.config.height?a.config.height:350,a.config.fields=a.config.fields?a.config.fields:[{column:"",alias:""}],a.addField=function(){b().push({})},a.removeField=function(a){b().splice(a,1)}}]).controller("apiWidgetTableViewCtrl",["$scope","$interval","apiServiceTable",function(a,b,c){a.config.timeout=a.config.timeout?a.config.timeout:1,a.config.height=a.config.height?a.config.height:350,a.config.style={"max-height":a.config.height+"px",overflow:"scroll"},a.tableApiCall=function(){a.config.condition&&a.config.report&&a.config.fields.length&&""!==a.config.fields[0].column&&""!==a.config.fields[0].alias&&c.get(a.config).then(function(b){a.results=b})},a.tableApiCall();var d=b(function(){a.tableApiCall()},1e3*parseInt(a.config.timeout));a.$on("$destroy",function(){b.cancel(d)})}]),angular.module("adf.widget.table").run(["$templateCache",function(a){a.put("{widgetsPath}/table/src/edit.html",'
{{$select.selected.name}}
as
'),a.put("{widgetsPath}/table/src/view.html",'
{{field.alias}}
{{result[field.alias]}}
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
')}])}(window),function(){angular.module("pdf",[]).directive("ngPdf",["$window",function(a){return{restrict:"E",templateUrl:function(a,b){return b.templateUrl?b.templateUrl:"partials/viewer.html"},link:function(b,c,d){var e=d.pdfUrl,f=null,g=d.page?d.page:1,h=d.scale>0?d.scale:1,i=c.find("canvas"),j=i[0],k=j.getContext("2d"),l=angular.element(a);l.on("scroll",function(){b.$apply(function(){b.scroll=l[0].scrollY})}),PDFJS.disableWorker=!0,b.pageNum=g,b.renderPage=function(a){f.getPage(a).then(function(a){var e,f,g,i={};"page-fit"!==d.scale||h?e=a.getViewport(h):(e=a.getViewport(1),f=c[0].clientWidth/e.width,g=c[0].clientHeight/e.height,h=Math.min(f,g)),j.height=e.height,j.width=e.width,i={canvasContext:k,viewport:e},a.render(i).promise.then(function(){"function"==typeof b.onPageRender&&b.onPageRender()})})},b.goPrevious=function(){b.pageToDisplay<=1||(b.pageNum=parseInt(b.pageNum)-1)},b.goNext=function(){b.pageToDisplay>=f.numPages||(b.pageNum=parseInt(b.pageNum)+1)},b.zoomIn=function(){return h=parseFloat(h)+.2,b.renderPage(b.pageToDisplay),h},b.zoomOut=function(){return h=parseFloat(h)-.2,b.renderPage(b.pageToDisplay),h},b.changePage=function(){b.renderPage(b.pageToDisplay)},b.rotate=function(){"rotate0"===j.getAttribute("class")?j.setAttribute("class","rotate90"):"rotate90"===j.getAttribute("class")?j.setAttribute("class","rotate180"):"rotate180"===j.getAttribute("class")?j.setAttribute("class","rotate270"):j.setAttribute("class","rotate0")},PDFJS.getDocument(e,null,null,b.onProgress).then(function(a){"function"==typeof b.onLoad&&b.onLoad(),f=a,b.renderPage(b.pageToDisplay),b.$apply(function(){b.pageCount=a.numPages})},function(a){a&&"function"==typeof b.onError&&b.onError(a)}),b.$watch("pageNum",function(a){b.pageToDisplay=parseInt(a),null!==f&&b.renderPage(b.pageToDisplay)})}}}])}();var Metronic=function(){var a,b=!1,c=!1,d=!1,e=!1,f=[],g="assets/",h="img/",i="plugins/",j="css/",k={blue:"#89C4F4",red:"#F3565D",green:"#1bbc9b",purple:"#9b59b6",grey:"#95a5a6",yellow:"#F8CB00"},l=function(){"rtl"===$("body").css("direction")&&(b=!0),c=!!navigator.userAgent.match(/MSIE 8.0/),d=!!navigator.userAgent.match(/MSIE 9.0/),e=!!navigator.userAgent.match(/MSIE 10.0/),e&&$("html").addClass("ie10"),(e||d||c)&&$("html").addClass("ie")},m=function(){for(var a=0;a .portlet-title > .tools > a.remove",function(a){a.preventDefault();var b=$(this).closest(".portlet");$("body").hasClass("page-portlet-fullscreen")&&$("body").removeClass("page-portlet-fullscreen"),b.find(".portlet-title .fullscreen").tooltip("destroy"),b.find(".portlet-title > .tools > .reload").tooltip("destroy"),b.find(".portlet-title > .tools > .remove").tooltip("destroy"),b.find(".portlet-title > .tools > .config").tooltip("destroy"),b.find(".portlet-title > .tools > .collapse, .portlet > .portlet-title > .tools > .expand").tooltip("destroy"),b.remove()}),$("body").on("click",".portlet > .portlet-title .fullscreen",function(a){a.preventDefault();var b=$(this).closest(".portlet");if(b.hasClass("portlet-fullscreen"))$(this).removeClass("on"),b.removeClass("portlet-fullscreen"),$("body").removeClass("page-portlet-fullscreen"),b.children(".portlet-body").css("height","auto");else{var c=Metronic.getViewPort().height-b.children(".portlet-title").outerHeight()-parseInt(b.children(".portlet-body").css("padding-top"))-parseInt(b.children(".portlet-body").css("padding-bottom"));$(this).addClass("on"),b.addClass("portlet-fullscreen"),$("body").addClass("page-portlet-fullscreen"),b.children(".portlet-body").css("height",c)}}),$("body").on("click",".portlet > .portlet-title > .tools > a.reload",function(a){a.preventDefault();var b=$(this).closest(".portlet").children(".portlet-body"),c=$(this).attr("data-url"),d=$(this).attr("data-error-display");c?(Metronic.blockUI({target:b,animate:!0,overlayColor:"none"}),$.ajax({type:"GET",cache:!1,url:c,dataType:"html",success:function(a){Metronic.unblockUI(b),b.html(a)},error:function(a,c,e){Metronic.unblockUI(b);var f="Error on reloading the content. Please check your connection and try again.";"toastr"==d&&toastr?toastr.error(f):"notific8"==d&&$.notific8?($.notific8("zindex",11500),$.notific8(f,{theme:"ruby",life:3e3})):alert(f)}})):(Metronic.blockUI({target:b,animate:!0,overlayColor:"none"}),window.setTimeout(function(){Metronic.unblockUI(b)},1e3))}),$('.portlet .portlet-title a.reload[data-load="true"]').click(),$("body").on("click",".portlet > .portlet-title > .tools > .collapse, .portlet .portlet-title > .tools > .expand",function(a){a.preventDefault()})},p=function(){if($().uniform){var a=$("input[type=checkbox]:not(.toggle, .make-switch, .icheck), input[type=radio]:not(.toggle, .star, .make-switch, .icheck)");a.size()>0&&a.each(function(){0===$(this).parents(".checker").size()&&$(this).show()})}},q=function(){$().iCheck&&$(".icheck").each(function(){var a=$(this).attr("data-checkbox")?$(this).attr("data-checkbox"):"icheckbox_minimal-grey",b=$(this).attr("data-radio")?$(this).attr("data-radio"):"iradio_minimal-grey";a.indexOf("_line")>-1||b.indexOf("_line")>-1?$(this).iCheck({checkboxClass:a,radioClass:b,insert:'
'+$(this).attr("data-label")}):$(this).iCheck({checkboxClass:a,radioClass:b})})},r=function(){$().bootstrapSwitch&&$(".make-switch").bootstrapSwitch()},s=function(){$().confirmation&&$("[data-toggle=confirmation]").confirmation({container:"body",btnOkClass:"btn-xs btn-success",btnCancelClass:"btn-xs btn-danger"})},t=function(){$("body").on("shown.bs.collapse",".accordion.scrollable",function(a){Metronic.scrollTo($(a.target))})},u=function(){if(location.hash){var a=location.hash.substr(1);$('a[href="#'+a+'"]').parents(".tab-pane:hidden").each(function(){var a=$(this).attr("id");$('a[href="#'+a+'"]').click()}),$('a[href="#'+a+'"]').click()}},v=function(){$("body").on("hide.bs.modal",function(){$(".modal:visible").size()>1&&$("html").hasClass("modal-open")===!1?$("html").addClass("modal-open"):$(".modal:visible").size()<=1&&$("html").removeClass("modal-open")}),$("body").on("show.bs.modal",".modal",function(){$(this).hasClass("modal-scroll")&&$("body").addClass("modal-open-noscroll")}),$("body").on("hide.bs.modal",".modal",function(){$("body").removeClass("modal-open-noscroll")}),$("body").on("hidden.bs.modal",".modal:not(.modal-cached)",function(){$(this).removeData("bs.modal")})},w=function(){$(".tooltips").tooltip(),$(".portlet > .portlet-title .fullscreen").tooltip({container:"body",title:"Fullscreen"}),$(".portlet > .portlet-title > .tools > .reload").tooltip({container:"body",title:"Reload"}),$(".portlet > .portlet-title > .tools > .remove").tooltip({container:"body",title:"Remove"}),$(".portlet > .portlet-title > .tools > .config").tooltip({container:"body",title:"Settings"}),$(".portlet > .portlet-title > .tools > .collapse, .portlet > .portlet-title > .tools > .expand").tooltip({container:"body",title:"Collapse/Expand"})},x=function(){$("body").on("click",".dropdown-menu.hold-on-click",function(a){a.stopPropagation()})},y=function(){$("body").on("click",'[data-close="alert"]',function(a){$(this).parent(".alert").hide(),$(this).closest(".note").hide(),a.preventDefault()}),$("body").on("click",'[data-close="note"]',function(a){$(this).closest(".note").hide(),a.preventDefault()}),$("body").on("click",'[data-remove="note"]',function(a){$(this).closest(".note").remove(),a.preventDefault()})},z=function(){$('[data-hover="dropdown"]').not(".hover-initialized").each(function(){$(this).dropdownHover(),$(this).addClass("hover-initialized")})},A=function(){$(".popovers").popover(),$(document).on("click.bs.popover.data-api",function(b){a&&a.popover("hide")})},B=function(){Metronic.initSlimScroll(".scroller")},C=function(){jQuery.fancybox&&$(".fancybox-button").size()>0&&$(".fancybox-button").fancybox({groupAttr:"data-rel",prevEffect:"none",nextEffect:"none",closeBtn:!0,helpers:{title:{type:"inside"}}})},D=function(){(c||d)&&$("input[placeholder]:not(.placeholder-no-fix), textarea[placeholder]:not(.placeholder-no-fix)").each(function(){var a=$(this);""===a.val()&&""!==a.attr("placeholder")&&a.addClass("placeholder").val(a.attr("placeholder")),a.focus(function(){a.val()==a.attr("placeholder")&&a.val("")}),a.blur(function(){""!==a.val()&&a.val()!=a.attr("placeholder")||a.val(a.attr("placeholder"))})})},E=function(){$().select2&&$(".select2me").select2({placeholder:"Select"})};return{init:function(){l(),n(),p(),q(),r(),B(),C(),E(),o(),y(),x(),u(),w(),A(),t(),v(),s(),D()},initAjax:function(){p(),q(),r(),z(),B(),E(),C(),x(),w(),A(),t(),s()},initComponents:function(){this.initAjax()},setLastPopedPopover:function(b){a=b},addResizeHandler:function(a){f.push(a)},runResizeHandlers:function(){m()},scrollTo:function(a,b){var c=a&&a.size()>0?a.offset().top:0;a&&($("body").hasClass("page-header-fixed")&&(c-=$(".page-header").height()),c+=b?b:-1*a.height()),$("html,body").animate({scrollTop:c},"slow")},initSlimScroll:function(a){$(a).each(function(){if(!$(this).attr("data-initialized")){var a;a=$(this).attr("data-height")?$(this).attr("data-height"):$(this).css("height"),$(this).slimScroll({allowPageScroll:!0,size:"7px",color:$(this).attr("data-handle-color")?$(this).attr("data-handle-color"):"#bbb",wrapperClass:$(this).attr("data-wrapper-class")?$(this).attr("data-wrapper-class"):"slimScrollDiv",railColor:$(this).attr("data-rail-color")?$(this).attr("data-rail-color"):"#eaeaea",position:b?"left":"right",height:a,alwaysVisible:"1"==$(this).attr("data-always-visible"),railVisible:"1"==$(this).attr("data-rail-visible"),disableFadeOut:!0}),$(this).attr("data-initialized","1")}})},destroySlimScroll:function(a){$(a).each(function(){if("1"===$(this).attr("data-initialized")){$(this).removeAttr("data-initialized"),$(this).removeAttr("style");var a={};$(this).attr("data-handle-color")&&(a["data-handle-color"]=$(this).attr("data-handle-color")),$(this).attr("data-wrapper-class")&&(a["data-wrapper-class"]=$(this).attr("data-wrapper-class")),$(this).attr("data-rail-color")&&(a["data-rail-color"]=$(this).attr("data-rail-color")),$(this).attr("data-always-visible")&&(a["data-always-visible"]=$(this).attr("data-always-visible")),$(this).attr("data-rail-visible")&&(a["data-rail-visible"]=$(this).attr("data-rail-visible")),$(this).slimScroll({wrapperClass:$(this).attr("data-wrapper-class")?$(this).attr("data-wrapper-class"):"slimScrollDiv",destroy:!0});var b=$(this);$.each(a,function(a,c){b.attr(a,c)})}})},scrollTop:function(){Metronic.scrollTo()},blockUI:function(a){a=$.extend(!0,{},a);var b="";if(b=a.animate?'
':a.iconOnly?'
':a.textOnly?'
  '+(a.message?a.message:"LOADING...")+"
":'
  '+(a.message?a.message:"LOADING...")+"
", -a.target){var c=$(a.target);c.height()<=$(window).height()&&(a.cenrerY=!0),c.block({message:b,baseZ:a.zIndex?a.zIndex:1e3,centerY:void 0!==a.cenrerY?a.cenrerY:!1,css:{top:"10%",border:"0",padding:"0",backgroundColor:"none"},overlayCSS:{backgroundColor:a.overlayColor?a.overlayColor:"#555",opacity:a.boxed?.05:.1,cursor:"wait"}})}else $.blockUI({message:b,baseZ:a.zIndex?a.zIndex:1e3,css:{border:"0",padding:"0",backgroundColor:"none"},overlayCSS:{backgroundColor:a.overlayColor?a.overlayColor:"#555",opacity:a.boxed?.05:.1,cursor:"wait"}})},unblockUI:function(a){a?$(a).unblock({onUnblock:function(){$(a).css("position",""),$(a).css("zoom","")}}):$.unblockUI()},startPageLoading:function(a){a&&a.animate?($(".page-spinner-bar").remove(),$("body").append('
')):($(".page-loading").remove(),$("body").append('
  '+(a&&a.message?a.message:"Loading...")+"
"))},stopPageLoading:function(){$(".page-loading, .page-spinner-bar").remove()},alert:function(a){a=$.extend(!0,{container:"",place:"append",type:"success",message:"",close:!0,reset:!0,focus:!0,closeInSeconds:0,icon:""},a);var b=Metronic.getUniqueID("Metronic_alert"),c='
'+(a.close?'':"")+(""!==a.icon?' ':"")+a.message+"
";return a.reset&&$(".Metronic-alerts").remove(),a.container?"append"==a.place?$(a.container).append(c):$(a.container).prepend(c):$("body").hasClass("page-container-bg-solid")?$(".page-title").after(c):$(".page-bar").size()>0?$(".page-bar").after(c):$(".page-breadcrumb").after(c),a.focus&&Metronic.scrollTo($("#"+b)),a.closeInSeconds>0&&setTimeout(function(){$("#"+b).remove()},1e3*a.closeInSeconds),b},initUniform:function(a){a?$(a).each(function(){0===$(this).parents(".checker").size()&&($(this).show(),$(this).uniform())}):p()},updateUniform:function(a){$.uniform.update(a)},initFancybox:function(){C()},getActualVal:function(a){return a=$(a),a.val()===a.attr("placeholder")?"":a.val()},getURLParameter:function(a){var b,c,d=window.location.search.substring(1),e=d.split("&");for(b=0;b a").each(function(){var a=$(this).attr("href").toLowerCase();return a.length>1&&d.substr(1,a.length-1)==a.substr(1)?void(b=$(this)):void 0}),b&&0!=b.size()&&"javascript:;"!==b.attr("href").toLowerCase()&&"#"!==b.attr("href").toLowerCase()){parseInt(e.data("slide-speed")),e.data("keep-expanded");e.find("li.active").removeClass("active"),e.find("li > a > .selected").remove(),e.hasClass("page-sidebar-menu-hover-submenu")===!1?e.find("li.open").each(function(){0===$(this).children(".sub-menu").size()&&($(this).removeClass("open"),$(this).find("> a > .arrow.open").removeClass("open"))}):e.find("li.open").removeClass("open"),b.parents("li").each(function(){$(this).addClass("active"),$(this).find("> a > span.arrow").addClass("open"),1===$(this).parent("ul.page-sidebar-menu").size()&&$(this).find("> a").append(''),1===$(this).children("ul.sub-menu").size()&&$(this).addClass("open")}),"click"===a&&Metronic.getViewPort().width a",function(a){var b=$(this).next().hasClass("sub-menu");if(!(Metronic.getViewPort().width>=c&&1===$(this).parents(".page-sidebar-menu-hover-submenu").size())){if(b===!1)return void(Metronic.getViewPort().width a.ajaxify",function(a){a.preventDefault(),Metronic.scrollTop();var b=$(this).attr("href"),d=jQuery(".page-sidebar ul"),e=($(".page-content"),$(".page-content .page-content-body"));d.children("li.active").removeClass("active"),d.children("arrow.open").removeClass("open"),$(this).parents("li").each(function(){$(this).addClass("active"),$(this).children("a > span.arrow").addClass("open")}),$(this).parents("li").addClass("active"),Metronic.getViewPort().width li.open > a").click(),Metronic.stopPageLoading(),e.html(a),Layout.fixContentHeight(),Metronic.initAjax()},error:function(a,b,c){Metronic.stopPageLoading(),e.html("

Could not load the requested content.

")}})}),jQuery(".page-content").on("click",".ajaxify",function(a){a.preventDefault(),Metronic.scrollTop();var b=$(this).attr("href"),d=($(".page-content"),$(".page-content .page-content-body"));Metronic.startPageLoading(),Metronic.getViewPort().widthCould not load the requested content."),Metronic.stopPageLoading()}})}),i(),$(".page-sidebar").on("click",".sidebar-search .remove",function(a){a.preventDefault(),$(".sidebar-search").removeClass("open")}),$(".page-sidebar .sidebar-search").on("keypress","input.form-control",function(a){return 13==a.which?($(".sidebar-search").submit(),!1):void 0}),0!==$(".sidebar-search").size()&&($(".sidebar-search .input-group").on("click",function(a){a.stopPropagation()}),$("body").on("click",function(){$(".sidebar-search").hasClass("open")&&$(".sidebar-search").removeClass("open")}))},g=function(){var a=Metronic.getViewPort().height-$(".page-header").outerHeight();return $("body").hasClass("page-footer-fixed")&&(a-=$(".page-footer").outerHeight()),a},h=function(){var a=$(".page-sidebar-menu");return Metronic.destroySlimScroll(a),0===$(".page-sidebar-fixed").size()?void d():void(Metronic.getViewPort().width>=c&&(a.attr("data-height",g()),Metronic.initSlimScroll(a),d()))},i=function(){var a=$("body");a.hasClass("page-sidebar-fixed")&&$(".page-sidebar").on("mouseenter",function(){a.hasClass("page-sidebar-closed")&&$(this).find(".page-sidebar-menu").removeClass("page-sidebar-menu-closed")}).on("mouseleave",function(){a.hasClass("page-sidebar-closed")&&$(this).find(".page-sidebar-menu").addClass("page-sidebar-menu-closed")})},j=function(){$("body");$.cookie&&"1"===$.cookie("sidebar_closed")&&Metronic.getViewPort().width>=c?($("body").addClass("page-sidebar-closed"),$(".page-sidebar-menu").addClass("page-sidebar-menu-closed")):$.cookie&&$.cookie("sidebar_closed","0")},k=function(){$(".page-header").on("click",'.hor-menu a[data-toggle="tab"]',function(a){a.preventDefault();var b=$(".hor-menu .nav"),c=b.find("li.current");$("li.active",c).removeClass("active"),$(".selected",c).remove();var d=$(this).parents("li").last();d.addClass("current"),d.find("a:first").append('')}),$(".page-header").on("click",".search-form",function(a){$(this).addClass("open"),$(this).find(".form-control").focus(),$(".page-header .search-form .form-control").on("blur",function(a){$(this).closest(".search-form").removeClass("open"),$(this).unbind("blur")})}),$(".page-header").on("keypress",".hor-menu .search-form .form-control",function(a){return 13==a.which?($(this).closest(".search-form").submit(),!1):void 0}),$(".page-header").on("mousedown",".search-form.open .submit",function(a){a.preventDefault(),a.stopPropagation(),$(this).closest(".search-form").submit()}),$('[data-hover="megamenu-dropdown"]').not(".hover-initialized").each(function(){$(this).dropdownHover(),$(this).addClass("hover-initialized")}),$(document).on("click",".mega-menu-dropdown .dropdown-menu",function(a){a.stopPropagation()})},l=function(){$("body").on("shown.bs.tab",'a[data-toggle="tab"]',function(){d()})},m=function(){var a=300,b=500;navigator.userAgent.match(/iPhone|iPad|iPod/i)?$(window).bind("touchend touchcancel touchleave",function(c){$(this).scrollTop()>a?$(".scroll-to-top").fadeIn(b):$(".scroll-to-top").fadeOut(b)}):$(window).scroll(function(){$(this).scrollTop()>a?$(".scroll-to-top").fadeIn(b):$(".scroll-to-top").fadeOut(b)}),$(".scroll-to-top").click(function(a){return a.preventDefault(),$("html, body").animate({scrollTop:0},b),!1})},n=function(){var a,b=$(".full-height-content");if(a=Metronic.getViewPort().height-$(".page-header").outerHeight(!0)-$(".page-footer").outerHeight(!0)-$(".page-title").outerHeight(!0)-$(".page-bar").outerHeight(!0),b.hasClass("portlet")){var d=b.find(".portlet-body");if(Metronic.getViewPort().width\n
\n
\n \n\n \n
\n
\n
\n \n {{ \'APPLICATION_EXTRACTED_REPORTS\' | translate }} \n
\n \n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n \n
\n
\n\n\n'),a.put("app/analytic/metric/list/create.modal.html",'\n\n\n'),a.put("app/analytic/metric/list/list.html",'\n
\n
\n \n\n \n
\n
\n
\n \n {{ \'APPLICATION_DEFAULT_METRICS\' | translate }} \n
\n
\n
\n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_METRICS\' | translate }} \n
\n
\n \n
\n \n
\n \n
\n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/analytic/metric/list/view.modal.html",'\n\n\n'),a.put("app/analytic/metric/view/view.html",'\n
\n
\n \n\n \n
\n \n
\n \n
\n \n
\n \n \n
\n
\n {{metric.name}}\n
\n \n
\n \n\n \n \n \n
\n \n
\n \n \n
\n
\n \n
\n
\n\n'),a.put("app/analytic/metric/view/view.settings.html",'
\n
\n
\n
\n
\n \n {{ \'APPLICATION_METRIC\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} \n
\n \n
\n\n
\n
\n \n
\n
\n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{\'APPLICATION_\'+$select.selected.value.toUpperCase() | translate}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n \n
\n
\n \n\n
\n
\n
\n
\n
\n'),a.put("app/analytic/report/list/copy.modal.html",'\n\n\n'), -a.put("app/analytic/report/list/create.modal.html",'\n\n\n'),a.put("app/analytic/report/list/extract.modal.html",'\n\n\n'),a.put("app/analytic/report/list/list.html",'\n
\n
\n \n
\n \n
\n
\n
\n \n {{ \'APPLICATION_FOLDERS\' | translate }} \n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_REPORTS\' | translate }} - {{selectedNode}}\n
\n
\n \n
\n \n \n {{\'APPLICATION_IMPORT_FROM_JSON\' | translate}}\n \n \n
\n
\n \n
\n
\n
\n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n
\n \n
\n
\n
\n
\n\n'),a.put("app/analytic/report/list/preview.modal.html",'\n\n\n'),a.put("app/analytic/report/view/view.html",'\n
\n
\n \n\n \n
\n \n
\n \n
\n \n
\n \n \n
\n
\n {{report.name}}\n
\n \n
\n \n\n \n \n \n
\n \n
\n \n \n
\n
\n \n
\n
\n\n'),a.put("app/analytic/report/view/view.settings.html",'
\n
\n
\n
\n
\n \n {{ \'APPLICATION_REPORT\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} \n
\n \n
\n\n
\n\n
\n \n
\n
\n\n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n\n \n\n\n \n
\n\n
\n \n
\n
\n
\n \n \n {{\'APPLICATION_\'+$select.selected.value.toUpperCase() | translate}}\n \n
\n
\n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n
\n
\n \n {{ \'APPLICATION_FIELDS\' | translate}} \n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
{{ \'APPLICATION_FIELD\' | translate }} / {{ \'APPLICATION_METRIC\' | translate }}{{ \'APPLICATION_ALIAS\' | translate }}{{ \'APPLICATION_FUNCTION\' | translate }}{{ \'APPLICATION_FORMAT\' | translate }}{{ \'APPLICATION_GROUP_BY\' | translate }}{{ \'APPLICATION_ORDER_BY\' | translate }}
\n \n
\n \n \n \n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n
\n \n
\n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n
\n \n
\n \n
\n \n \n {{$select.selected.name | translate}}\n \n {{$translate.instant(groupBy.name)}}\n \n \n
\n \n
\n \n
\n \n \n {{$select.selected}}\n \n
\n
\n
\n
\n \n
\n \n \n \n
\n {{ \'MESSAGE_ADD_A_FIELD\' | translate }}\n
\n \n \n
\n
\n
\n
\n \n {{ \'APPLICATION_CONDITIONS\' | translate}} \n
\n
\n
\n Output
\n \n
\n\n \n
\n \n
\n
\n
\n
\n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n
\n
\n
\n
\n
\n
\n
\n'),a.put("app/channels/chat/offline/list/list.html",'\n\n\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_VISITORS\' | translate }} \n
\n \n
\n
\n \n
\n
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/channels/chat/offline/view/view.detail.html",'
\n
\n
\n
\n
\n \n {{\'APPLICATION_DETAIL\' | translate}}\n
\n
\n
\n
\n
\n

\n {{\'APPLICATION_MESSAGE\' | translate}}\n
\n

\n
\n \n
\n

\n {{chatVisitor.ChatEnquiry.text}}\n

\n
\n
\n \n
\n
\n
\n
\n'),a.put("app/channels/chat/offline/view/view.html",'\n
\n
\n \n\n \n
\n \n
\n \n
\n \n
\n \n \n
\n
\n {{chatVisitor.ChatEnquiry.email}}\n
\n
\n {{chatVisitor.ChatEnquiry.username}}\n
\n
\n \n\n \n \n \n
\n \n
\n \n \n
\n
\n \n
\n
\n\n'),a.put("app/channels/chat/online/list/list.html",'\n\n\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_VISITORS\' | translate }} \n
\n \n
\n
\n \n
\n
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
\n
\n \n
\n
\n \n
\n
\n\n'), -a.put("app/channels/chat/online/view/view.detail.html",'
\n
\n
\n
\n
\n \n {{\'APPLICATION_DETAIL\' | translate}}\n
\n
\n \n
\n
\n
\n'),a.put("app/channels/chat/online/view/view.html",'\n
\n
\n \n\n \n
\n \n
\n \n
\n \n
\n \n \n
\n
\n {{chatRoom.ChatVisitor.email}}\n
\n
\n {{chatRoom.ChatVisitor.fullname}}\n
\n
\n \n \n \n \n
\n \n
\n \n \n
\n
\n \n
\n
\n\n'),a.put("app/channels/chat/preview/preview.html",'\n
\n
\n \n \n \n \n \n \n {{statePreview.state == \'online\' ? chatWebsite.header_online : chatWebsite.header_offline}}\n
\n
\n
\n \n
\n
\n

\n
\n
\n
\n \n \n
\n
\n
\n \n \n
\n
\n
\n \n \n
\n
\n \n
\n
\n
\n \n
\n
\n

{{chatWebsite.rating_message}}

\n
\n
\n \n \n
\n
\n \n \n
\n \n \n
\n
\n \n
\n
\n'),a.put("app/channels/chat/queue/list/list.create.modal.html",'\n\n\n'),a.put("app/channels/chat/queue/list/list.html",'\n\n\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_QUEUES\' | translate }} \n
\n \n
\n
\n \n
\n
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/channels/chat/queue/view/view.agents.html",'
\n
\n
\n
\n
\n \n {{\'APPLICATION_AGENTS\' | translate}}\n
\n
\n
\n \n
\n
\n \n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n'),a.put("app/channels/chat/queue/view/view.html",'\n
\n
\n \n\n \n
\n \n
\n \n
\n \n
\n \n \n
\n
\n {{queue.name}}\n
\n
\n \n\n \n \n \n
\n \n
\n \n \n
\n
\n \n
\n
\n\n'),a.put("app/channels/chat/queue/view/view.settings.html",'
\n
\n
\n
\n
\n \n {{\'APPLICATION_SETTINGS\' | translate}}\n
\n
\n
\n
\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n \n {{$select.selected.toUpperCase()}}\n \n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n'), -a.put("app/channels/chat/realtime/view/agent/agent.html",'\n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n\n'),a.put("app/channels/chat/realtime/view/agent/agent.modal.info.html",'\n\n\n'),a.put("app/channels/chat/realtime/view/agent/queue.modal.add.html",'\n\n\n'),a.put("app/channels/chat/realtime/view/application/application.html",'\n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n\n'),a.put("app/channels/chat/realtime/view/view.html",'\n\n\n'),a.put("app/channels/chat/room/external/list/list.html",'\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n
\n \n \n \n
\n
\n
\n \n
\n
\n
\n \n \n \n
\n
\n \n {{$item}}\n \n {{tag}}\n \n \n
\n
\n
\n \n
\n
\n \n \n \n\n \n\n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n\n'),a.put("app/channels/chat/room/group/list/list.html",'\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n
\n \n \n \n
\n
\n
\n \n
\n
\n
\n \n \n \n
\n
\n \n {{$item}}\n \n {{tag}}\n \n \n
\n
\n
\n \n
\n
\n \n \n \n\n \n\n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n\n'),a.put("app/channels/chat/room/internal/list/list.html",'\n
\n
\n \n \n \n\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n\n'),a.put("app/channels/chat/room/room.add.html",'\n\n\n\n\n'),a.put("app/channels/chat/room/room.close.html",'\n\n\n'),a.put("app/channels/chat/room/room.directive.html",'
\n
\n
\n \n | \n {{chatRoom.status}}\n | \n {{chatRoom.ChatWebsite.name | truncate: 25: \'...\': true}}\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n \n \n \n
\n
\n \n {{$item}}\n \n {{tag}}\n \n \n
\n
\n
\n \n
\n
\n \n \n \n \n \n \n {{\'APPLICATION_NAME\' | translate}}:

{{chatRoom.ChatVisitor.fullname}}

\n {{\'APPLICATION_EMAIL\' | translate}}:

{{chatRoom.ChatVisitor.email}}

\n {{\'APPLICATION_REMOTE_ADDRESS\' | translate}}:

{{chatRoom.ChatVisitor.remote_address}}

\n {{\'APPLICATION_BROWSER\' | translate}}:

{{chatRoom.ChatVisitor.browser}}

\n {{\'APPLICATION_OS\' | translate}}:

{{chatRoom.ChatVisitor.os}}

\n
\n
\n\n \n \n \n \n \n {{\'APPLICATION_NAME\' | translate}}:

{{user.fullname}}

\n {{\'APPLICATION_ROLE\' | translate}}:

{{user.role}}

\n {{\'APPLICATION_INTERNAL\' | translate}}:

{{user.internal}}

\n {{\'APPLICATION_EMAIL\' | translate}}:

{{user.email}}

\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n \n
\n
\n \n \n \n \n
\n
\n
\n
\n
\n \n \n \n
\n
\n \n \n
\n No Results Found\n
\n \n'+" {{'APPLICATION_WARNING' | translate}}! {{'MESSAGE_REQUIRED_FIELD' | translate}}.\n \n
\n
\n\n
\n
\n
\n
\n
\n
\n"),a.put("app/channels/chat/room/room.html",'\n\n\n'),a.put("app/channels/chat/room/template.html",'
\n
\n
\n
\n \n \n
\n
\n \n
\n {{video.description}}\n
\n
\n {{video.views}}\n {{video.likes}}\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n \n
\n
\n\n'),a.put("app/channels/chat/visitor/list/list.html",'\n\n\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_VISITORS\' | translate }} \n
\n \n
\n
\n \n
\n
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/channels/chat/visitor/view/view.html",'\n
\n
\n \n\n \n
\n \n
\n \n
\n \n
\n \n \n
\n
\n {{chatVisitor.fullname}}\n
\n
\n \n\n \n \n \n
\n \n
\n \n \n
\n
\n \n
\n
\n\n'),a.put("app/channels/chat/visitor/view/view.profile.html",'
\n
\n
\n
\n
\n \n {{\'APPLICATION_PROFILE\' | translate}}\n
\n
\n \n
\n
\n
\n'),a.put("app/channels/chat/website/list/list.html",'\n\n\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_WEB_SITES\' | translate }} \n
\n \n
\n
\n \n
\n
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
\n
\n \n
\n
\n \n
\n
\n\n'), -a.put("app/channels/chat/website/view/action/list/list.html",'
\n
\n
\n
\n
\n \n {{\'APPLICATION_ACTIONS\' | translate}}\n
\n \n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n
\n
\n'),a.put("app/channels/chat/website/view/action/view/view.html",'\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_ACTION\' | translate }} \n
\n
\n
\n
\n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n\n
\n \n
\n \n \n {{$select.selected.fullname}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n\n \n
\n \n \n {{ $select.selected.name | translate }}\n \n {{ intType.name | translate }}\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n \n
\n \n
\n
\n \n
\n
to
\n
\n \n
\n
\n \n\n \n
\n \n
\n \n
\n
\n \n\n \n
\n \n
\n \n {{ $select.selected.name | translate }}\n \n {{ weekDay.name | translate}}\n \n \n to\n \n {{ $select.selected.name | translate }}\n \n {{ weekDay.name | translate }}\n \n \n
\n
\n \n\n \n
\n \n
\n \n {{$select.selected}}\n \n {{monthDay}}\n \n \n to\n \n {{$select.selected}}\n \n {{monthDay}}\n \n \n
\n
\n \n\n \n
\n \n
\n \n {{ $select.selected.name | translate }}\n \n {{ month.name | translate }}\n \n \n to\n \n {{ $select.selected.name | translate }}\n \n {{ month.name | translate }}\n \n \n
\n
\n \n
\n\n
\n\n \n
\n \n \n {{ $select.selected.name}}\n \n {{ interval.name}}\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n \n
\n
\n
\n \n
\n
\n\n'),a.put("app/channels/chat/website/view/action/wizard/wizard.html",'\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_ACTION\' | translate }} WIZARD \n
\n
\n
\n \n \n
\n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n\n
\n \n
\n \n \n {{$select.selected.fullname}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n\n \n
\n \n \n {{ $select.selected.name | translate }}\n \n {{ intType.name | translate }}\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n \n
\n \n
\n
\n \n
\n
to
\n
\n \n
\n
\n \n\n \n
\n \n
\n \n
\n
\n \n\n \n
\n \n
\n \n {{ $select.selected.name | translate }}\n \n {{ weekDay.name | translate}}\n \n \n to\n \n {{ $select.selected.name | translate }}\n \n {{ weekDay.name | translate }}\n \n \n
\n
\n \n\n \n
\n \n
\n \n {{$select.selected}}\n \n {{monthDay}}\n \n \n to\n \n {{$select.selected}}\n \n {{monthDay}}\n \n \n
\n
\n \n\n \n
\n \n
\n \n {{ $select.selected.name | translate }}\n \n {{ month.name | translate }}\n \n \n to\n \n {{ $select.selected.name | translate }}\n \n {{ month.name | translate }}\n \n \n
\n
\n \n
\n\n
\n\n \n
\n \n \n {{ $select.selected.name}}\n \n {{ interval.name}}\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n\n \n
\n
\n \n

{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

\n \n \n
\n
\n
\n
\n \n
\n
\n\n'),a.put("app/channels/chat/website/view/disposition/modal/add.modal.html",'\n\n\n'),a.put("app/channels/chat/website/view/disposition/view/view.html",'
\n
\n
\n
\n
\n \n {{\'APPLICATION_DISPOSITIONS\' | translate}}\n
\n
\n \n \n \n
\n
\n
\n
\n
\n
\n
\n

Info! {{\'MESSAGE_NO_CHAT_DISPOSITIONS_AVAILABLE\' | translate}}

\n
\n
\n
\n\n \n
\n
\n
\n
\n \n
\n \n \n \n \n
\n
\n
\n \n
\n
\n
\n
\n
\n'),a.put("app/channels/chat/website/view/embedding/view/view.html",'
\n
\n
\n
\n
\n \n {{\'APPLICATION_EMBEDDING\' | translate}}\n
\n \n
\n
\n
\n
\n

{{\'APPLICATION_EMBED_SNIPPET\' | translate}}

\n

\n {{\'MESSAGE_EMBED_SNIPPET\' | translate}}\n

\n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n'), -a.put("app/channels/chat/website/view/form/view/view.html",'
\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n {{ \'APPLICATION_FIELDS_SELECTED\' | translate }}\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n {{ \'APPLICATION_FIELDS_AVAILABLE\' | translate }}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n {{ \'APPLICATION_FIELDS_SELECTED\' | translate }}\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n {{ \'APPLICATION_FIELDS_AVAILABLE\' | translate }}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n'),a.put("app/channels/chat/website/view/proactive/list/list.create.modal.html",'\n\n\n'),a.put("app/channels/chat/website/view/proactive/list/list.html",'
\n
\n
\n
\n
\n \n {{\'APPLICATION_PROACTIVE_ACTIONS\' | translate}}\n
\n \n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n
\n
\n'),a.put("app/channels/chat/website/view/setting/view/view.html",'
\n
\n
\n
\n
\n \n {{\'APPLICATION_SETTINGS\' | translate}}\n
\n
\n
\n
\n \n
\n \n
\n\n \n {{$select.selected.name}}\n \n
\n
\n
\n\n \n \n \n\n
\n
\n \n \n
\n
\n
\n
\n
\n'),a.put("app/channels/chat/website/view/snippet/view/view.html",'
\n
\n
\n \n
\n
\n
\n
\n\n \n
\n
\n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{$translate.instant(\'APPLICATION_\' + $select.selected.toUpperCase())}}\n \n
\n
\n
\n
\n \n\n \n
\n \n \n \n {{$select.selected ? \'On\' : \'Off\'}}\n \n
\n
\n
\n
\n \n\n\n \n
\n
\n \n\n \n
\n
\n\n \n
\n \n \n {{$select.selected ? \'On\' : \'Off\'}}\n \n
\n
\n
\n
\n \n\n \n
\n
\n \n\n \n
\n
\n\n

{{\'APPLICATION_ONLINE_STATE\' | translate}}

\n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n

{{\'APPLICATION_RATING_STATE\' | translate}}

\n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n

{{\'APPLICATION_OFFLINE_STATE\' | translate}}

\n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n
\n \n\n \n
\n
\n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n
\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n
\n \n\n \n
\n
\n\n \n
\n
\n \n
\n \n\n \n
\n
\n \n {{\'MESSAGE_REMEMBER_SMTP_SERVICE_ACCOUNT\' | translate}}.\n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n
\n \n
\n
\n
\n \n
\n \n \n \n {{$select.selected}}\n \n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n'), -a.put("app/channels/chat/website/view/view.html",'\n\n\n'),a.put("app/channels/chat/website/wizard/wizard.html",'\n\n\n\n\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_WEB_SITE\' | translate }} WIZARD \n
\n
\n
\n \n \n
\n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n \n
\n
\n\n \n
\n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{$translate.instant(\'APPLICATION_\' + $select.selected.toUpperCase())}}\n \n
\n
\n
\n
\n \n\n \n
\n \n \n {{$select.selected ? \'On\' : \'Off\'}}\n \n
\n
\n
\n
\n \n\n\n \n
\n
\n\n \n
\n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n
\n\n \n
\n\n \n
\n \n \n {{$select.selected ? \'On\' : \'Off\'}}\n \n
\n
\n
\n
\n \n\n \n
\n
\n\n \n

{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

\n \n
\n
\n
\n
\n \n
\n
\n\n'),a.put("app/channels/fax/account/list/list.create.modal.html",'\n\n\n'),a.put("app/channels/fax/account/list/list.html",'\n\n\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_ACCOUNTS\' | translate }} \n
\n
\n \n
\n \n \n
\n
\n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/channels/fax/account/view/action/list/list.html",'
\n
\n
\n
\n
\n \n {{\'APPLICATION_ACTIONS\' | translate}}\n
\n \n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n
\n
\n'), +"use strict";angular.module("xCallyShuttleApp",["adf","adf.structures.base","adf.widget.clock","adf.widget.iframe","adf.widget.counter","adf.widget.pie-chart","angular-md5","angular.filter","angularFileUpload","ngLetterAvatar","vAccordion","btford.socket-io","chart.js","checklist-model","colorpicker.module","frapontillo.bootstrap-switch","infinite-scroll","LocalStorageModule","mgo-angular-wizard","ng-slide-down","ngAnimate","ngBootstrap","ngCookies","ngCsv","ngFileSaver","ngJsTree","ngMap","ngPapaParse","ngResource","ngSanitize","notification","oc.lazyLoad","pascalprecht.translate","pdf","remoteValidation","smart-table","sprintf","textAngular","timer","toastr","permission","ui-notification","ui.bootstrap.modal","ui.bootstrap.dropdown","ui.bootstrap.popover","ui.bootstrap.timepicker","ui.bootstrap.tooltip","ui.bootstrap.tpls","ui.bootstrap.accordion","ui.bootstrap.progressbar","ui.bootstrap.buttons","ui.bootstrap.typeahead","ui.grid","ui.grid.autoResize","ui.grid.draggable-rows","ui.grid.exporter","ui.grid.grouping","ui.grid.moveColumns","ui.grid.pagination","ui.grid.treeView","ui.grid.selection","ui.grid.exporter","ui.grid.resizeColumns","ui.router","ui.navbar","ui.select","ui.sortable","xeditable","ngAudio","truncate","ngScrollbars","ngEmoticons","angularSpinner","builder","builder.components","validator","angular-clipboard","ng-code-mirror","angularMoment","jsonFormatter","ui.bootstrap-slider","ui.bootstrap.datepicker","prettyBytes","bootstrapLightbox"]).config(["$stateProvider","$urlRouterProvider","$locationProvider","$httpProvider","$translateProvider","localStorageServiceProvider","dashboardProvider","ScrollBarsProvider",function(a,b,c,d,e,f,g,h){b.otherwise(function(a){var b=a.get("$state");b.go("landing")}),e.useStaticFilesLoader({prefix:"assets/languages/locale-",suffix:".json"}),e.preferredLanguage("en_EN"),e.useLocalStorage(),e.useSanitizeValueStrategy("sanitize"),c.html5Mode(!0),d.interceptors.push("authInterceptor"),g.structure("4-4-4",{rows:[{columns:[{styleClass:"col-md-4"},{styleClass:"col-md-4"},{styleClass:"col-md-4"}]}]}).structure("3-3-3-3",{rows:[{columns:[{styleClass:"col-md-3"},{styleClass:"col-md-3"},{styleClass:"col-md-3"},{styleClass:"col-md-3"}]}]}),f.setPrefix("motion"),h.defaults={scrollButtons:{scrollAmount:"auto",enable:!0},axis:"y"}}]).factory("settings",["$rootScope","$interval","License","localStorageService","Setting",function(a,b,c,d,e){return a.settings={patternName:"[A-Za-z0-9._\\+*!\\-\\[\\]]+",patternGateway:"^(?:yes|no|[0-9]+)$",patternFaxdetect:"^(?:yes|no|t38|cng|[0-9]+)$",layout:{pageSidebarClosed:d.get("sidebarClosed")||!1,pageQuickSidebarOpened:!1,pageBodySolid:!1,pageAutoScrollOnLoad:1e3}},e.get({id:1}).$promise.then(function(b){a.soundPath=b.soundPath||"/var/opt/motion/server/files/sounds/converted"})["catch"](function(a){console.error(a)}),a.settings}]).factory("authInterceptor",["$rootScope","$q","$cookieStore",function(a,b,c){return{request:function(a){return a.headers=a.headers||{},c.get("token")&&(a.headers.Authorization="Bearer "+c.get("token")),a}}}]).run(["$rootScope","$location","$state","$stateParams","$window","$q","Auth","RoleStore","editableThemes","editableOptions","License","User","PermissionStore",function(a,b,c,d,e,f,g,h,i,j,k,l,m){a.$state=c,a.$stateParams=d,i.bs3.inputClass="input-sm",i.bs3.buttonsClass="btn-xs",j.theme="bs3",a.$on("$stateChangeStart",function(a,c){g.isLoggedInAsync(function(a){c.authenticate&&!a&&b.path("/login")})}),a.updateTableConfig=function(a,b){var c=_.find(a,{name:"All"});c&&(c.value=b)},k.get().$promise.then(function(b){a.license=b.license,m.definePermission("hasCm",function(){return a.license.cm}),m.definePermission("hasChat",function(){return a.license.chat}),m.definePermission("hasMail",function(){return a.license.mail}),m.definePermission("hasFax",function(){return a.license.fax}),m.definePermission("hasSms",function(){return a.license.messaging}),m.definePermission("hasDialer",function(){return a.license.dialer}),m.definePermission("hasJscripty",function(){return a.license.jscripty}),m.definePermission("hasUpdate",function(){return a.license.update})})["catch"](function(a){console.log(a)}),m.definePermission("agent",function(){return g.isAgent()}),m.definePermission("admin",function(){return g.isAdmin()}),m.definePermission("user",function(a,b){var c=f.defer(),d=g.getCurrentUser().$promise;return d?d.then(function(a){_.includes(_.map(a.Modules,"id"),b.toState.data.permissions.id)&&"user"===a.role?c.resolve():c.reject()})["catch"](function(){c.reject()}):c.resolve(),c.promise})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.analytics",{url:"/analytics",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:17}}})}]),angular.module("xCallyShuttleApp").factory("Extracted",["$resource",function(a){return a("/api/analytics/extracted/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.analytics.extracted",{url:"/extracted",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("AnalyticExtractedListCtrl",["$scope","$translate","gridOptions","Extracted","uiGridConstants",function(a,b,c,d,e){a.moment=moment,a.Extracted=d,a.initView=function(){var b={exporterCsvFilename:"ExtractedReports.csv",columnDefs:[{name:"name"},{name:"startDate",displayName:"APPLICATION_START_DATE",filterHeaderTemplate:'
',filters:[{name:"From",condition:e.filter.GREATER_THAN_OR_EQUAL},{name:"To",condition:e.filter.LESS_THAN_OR_EQUAL}]},{name:"endDate",displayName:"APPLICATION_END_DATE",filterHeaderTemplate:'
',filters:[{name:"From",condition:e.filter.GREATER_THAN_OR_EQUAL},{name:"To",condition:e.filter.LESS_THAN_OR_EQUAL}]},{name:"createdAt",displayName:"APPLICATION_RUN_DATE",filterHeaderTemplate:'
',filters:[{name:"From",condition:e.filter.GREATER_THAN_OR_EQUAL},{name:"To",condition:e.filter.LESS_THAN_OR_EQUAL}]},{name:"output"},{name:"status"},{name:"action",width:140,buttons:[{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"},{directive:""}]}]};a.gridOptions=c.gridOptions(d,b,a,{order:"createdAt DESC"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.analytics.extracted.list",{url:"/list",templateUrl:"app/analytic/extracted/list/list.html",controller:"AnalyticExtractedListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").factory("DefaultMetric",["$resource",function(a){return a("/api/analytics/metrics/default/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("AnalyticMetricListCreateModalCtrl",["$scope","$uibModalInstance","Metric","xAlert","$translate","report",function(a,b,c,d,e,f){a.forms={dashboard:void 0},a.item={},a.tables=f.tables,a.ok=function(){return c.save(a.item).$promise.then(function(){b.close()})["catch"](function(a){d.show(e.instant(a.translatedMessage||a.data.translatedMessage),"danger")})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("AnalyticMetricListCtrl",["$scope","xAlert","Modal","$uibModal","$log","gridOptions","Metric","DefaultMetric","$translate",function(a,b,c,d,e,f,g,h,i){a.$translate=i,a.initView=function(){var b={exporterCsvFilename:"Metrics.csv",columnDefs:[{name:"name"},{name:"table",cellTemplate:"
{{'APPLICATION_'+row.entity.table.toUpperCase() | translate}}
"},{name:"description"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/analytics/metrics/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]},c={exporterCsvFilename:"defaultMetrics.csv",columnDefs:[{name:"name"},{name:"table",cellTemplate:"
{{'APPLICATION_'+row.entity.table.toUpperCase() | translate}}
"},{name:"description"},{name:"action",width:125,buttons:[{"class":"blue-hoki",name:"view",onClick:"grid.appScope.showMetric(row.entity)"},{"class":"purple",name:"clone",onClick:"grid.appScope.cloneMetric(row.entity.id)"}]}]};a.gridOptionsDefault=f.gridOptions(h,c,a,null,null,"Default"),a.gridOptions=f.gridOptions(g,b,a)},a.showMetric=function(a){d.open({animation:!0,templateUrl:"app/analytic/metric/list/view.modal.html",controller:"AnalyticMetricListViewModalCtrl",resolve:{metric:a}})},a.cloneMetric=function(c){return h.get({id:c,controller:"clone"}).$promise.then(function(){b.show(i.instant("MESSAGE_WELL_DONE"),"success"),a.gridOptions.getPage()})["catch"](function(a){b.error(a)})},a.create=function(){var c=d.open({animation:!0,templateUrl:"app/analytic/metric/list/create.modal.html",controller:"AnalyticMetricListCreateModalCtrl"});c.result.then(function(){b.show(i.instant("MESSAGE_WELL_DONE")+"!","success"),a.gridOptions.getPage()},function(){e.info("Modal dismissed at: "+new Date)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.analytics.metrics.list",{url:"/list",templateUrl:"app/analytic/metric/list/list.html",controller:"AnalyticMetricListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("AnalyticMetricListViewModalCtrl",["$scope","$uibModalInstance","metric","xAlert","$translate","report",function(a,b,c,d,e,f){a.item=c,a.tables=f.tables,a.close=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").factory("Metric",["$resource",function(a){return a("/api/analytics/metrics/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.analytics.metrics",{url:"/metrics",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("AnalyticMetricViewCtrl",["$scope","xAlert","$translate","$stateParams","$location","Metric","report",function(a,b,c,d,e,f,g){a.tables=g.tables,a.getMetric=function(){return f.get({id:d.id}).$promise.then(function(b){a.metric=b})["catch"](function(a){e.path("/analytics/metrics/list")})},a.updateMetric=function(){return f.update({id:d.id},a.metric).$promise.then(function(){b.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){b.show(c.instant(a.translatedMessage||a.data.translatedMessage),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.analytics.metrics.view",{url:"/view/:id",templateUrl:"app/analytic/metric/view/view.html",controller:"AnalyticMetricViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.analytics.metrics.view.settings",{url:"/settings",templateUrl:"app/analytic/metric/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").factory("CustomReport",["$resource",function(a){return a("/api/analytics/reports/custom/:id/:controller/:action",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("DefaultReport",["$resource",function(a){return a("/api/analytics/reports/default/:id/:controller/:action",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("ReportListCopyModalCtrl",["$scope","$uibModalInstance","$log","customTreeData",function(a,b,c,d){a.customTreeData=d,a.forms={dashboard:void 0},a.item={},a.customTreeConfig={multiple:!1,animation:!0,core:{error:function(a){c.error("treeCtrl: error from js tree - "+angular.toJson(a))},check_callback:!0}},a.ac=function(){return!0},a.initCustomScopeTree=function(){a.customTree=a.customTreeInstance.jstree(!0),a.customTree.deselect_all(),a.customTree.open_all()},a.ok=function(){b.close({parent:a.customTree.get_selected(!0).pop().id})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("ReportListCreateModalCtrl",["$scope","$uibModalInstance","path",function(a,b,c){a.path=c,a.forms={dashboard:void 0},a.item={},a.ok=function(){a.item.model=JSON.stringify({title:a.item.name}),b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("ReportListExtractModalCtrl",["$scope","$uibModalInstance","$translate",function(a,b,c){a.daily=!1,a.dailySwitch={onText:c.instant("APPLICATION_TODAY"),offText:c.instant("APPLICATION_RANGE"),isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"primary"},a.dates={startDate:moment().subtract(1,"days").endOf("day"),endDate:moment().subtract(1,"days").endOf("day")},a.ranges={Yesterday:[moment().subtract(1,"days").startOf("day"),moment().subtract(1,"days").endOf("day")],"Last 7 days":[moment().subtract("days",7).endOf("day"),moment().endOf("day")],"Last 30 days":[moment().subtract("days",30),moment()],"This month":[moment().startOf("month"),moment().endOf("month")]},a.yesterday=moment().subtract(1,"days").format("YYYY-MM-DD"),a.today=moment().format("YYYY-MM-DD"),a.extract=function(c){var d={startDate:moment(a.dates.startDate).format("YYYY-MM-DD"),endDate:moment(a.dates.endDate).format("YYYY-MM-DD"),daily:a.daily,action:c};b.close(d)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("AnalyticReportListCtrl",["$scope","xAlert","$translate","$location","$log","Modal","$uibModal","FileSaver","Blob","gridOptions","CustomReport","DefaultReport","ReportTree",function(a,b,c,d,e,f,g,h,i,j,k,l,m){function n(b,c){var d={parent:c.id};a.selectedNode=b?a.defaultTree.get_path(c," / "):a.customTree.get_path(c," / "),a.gridOptions?a.gridOptions.getPage({parent:c.id},b?l:k):a.gridOptions=j.gridOptions(b?l:k,o,a,d)}var o={exporterCsvFilename:"reports.csv",columnDefs:[{name:"name"},{name:"description"},{name:"manage",width:120,buttons:[{"class":"{{grid.appScope.defaultTreeActive ? 'display-none' : 'blue-hoki'}}",href:"/analytics/reports/view/{{row.entity.id}}/settings",icon:"icon-settings",title:c.instant("APPLICATION_SETTINGS")},{"class":"{{grid.appScope.defaultTreeActive ? 'display-none' : 'red-sunglo'}}",icon:"fa fa-trash-o",title:c.instant("APPLICATION_DELETE"),onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"},{"class":"green",icon:"fa fa-files-o",title:c.instant("APPLICATION_COPY"),onClick:"grid.appScope.copy(row.entity.id)"},{"class":"purple",icon:"fa fa-download",title:c.instant("APPLICATION_EXPORT"),onClick:"grid.appScope.export(row.entity.id)"}]},{name:"actions",buttons:[{"class":"yellow",name:"preview",onClick:"grid.appScope.preview(row.entity.id)"},{"class":"green-turquoise",name:"run",onClick:"grid.appScope.extract(row.entity.id)"}]}]};a.searchField="",a.ac=function(){return!0},a.initDefaultScopeTree=function(){a.defaultTree=a.defaultTreeInstance.jstree(!0),a.defaultTree.deselect_all(),a.defaultTree.close_all(),a.defaultTree.open_node({id:1}),a.defaultTreeReady=!0,a.defaultTreeActive=!0,a.previousDefaultNode=""},a.initCustomScopeTree=function(){a.customTree=a.customTreeInstance.jstree(!0),a.customTree.deselect_all(),a.customTree.close_all(),a.customTree.open_node({id:1}),a.customTreeReady=!0,a.previousCustomNode=""},a.$watchGroup(["defaultTreeReady","customTreeReady"],function(b,c,d){b[0]&&b[1]&&a.defaultTree.select_node({id:"1"})}),a.updateCustomTree=function(){var d={tree:angular.toJson(a.customTree.get_json("#",{flat:!0}))};return m.update({id:2},d).$promise.then(function(a){console.log("Custom Tree Updated")})["catch"](function(a){b.show(c.instant(a.message),"danger")})},a.configTrees=function(){a.defaultTreeConfig={multiple:!1,animation:!0,core:{error:function(a){e.error("treeCtrl: error from js tree - "+angular.toJson(a))},check_callback:!0,themes:{name:"default",url:"../../../assets/css/jstree-metronic/style.css"}},plugins:["search"]},a.customTreeConfig={multiple:!1,animation:!0,core:{error:function(a){e.error("treeCtrl: error from js tree - "+angular.toJson(a))},check_callback:!0,themes:{name:"default",url:"../../../assets/css/jstree-metronic/style.css"}},plugins:["contextmenu","dnd","search"],contextmenu:{items:function(b,d){var e={create:{label:c.instant("APPLICATION_CREATE"),action:function(c){a.customTree.create_node(b),a.customTree.open_node(b)}},rename:{label:c.instant("APPLICATION_RENAME"),action:function(c){a.customTree.edit(b)}},remove:{label:c.instant("APPLICATION_REMOVE"),action:function(c){console.log(b),a.deleteNode(b.text,b)}}};return"#"===b.parent&&(delete e.rename,delete e.remove),d(e),e}}}},a.deleteNode=f.confirm["delete"](function(b){a.customTree.delete_node(b),a.previousCustomNode==b.id&&a.customTree.select_node({id:b.parent})}),a.searchTrees=function(){a.defaultTree.search(a.searchField),a.customTree.search(a.searchField)},a.selectDefaultNode=function(){if(a.customTreeReady){a.previousCustomNode="";var b=a.defaultTree.get_selected(!0),c=b.pop();if(a.defaultTree.deselect_node(b[0],!0),a.customTree.deselect_all(),a.defaultTree.select_node(c,!0),c.id===a.previousDefaultNode)return void console.log("def");a.previousDefaultNode=c.id,a.defaultTreeActive=!0,n(!0,c)}},a.selectCustomNode=function(){if(a.defaultTreeReady){a.previousDefaultNode="";var b=a.customTree.get_selected(!0),c=b.pop();if(a.customTree.deselect_node(b[0],!0),a.defaultTree.deselect_all(),a.customTree.select_node(c,!0),c.id===a.previousCustomNode)return void console.log("cus");a.previousCustomNode=c.id,a.defaultTreeActive=!1,n(!1,c)}},a.getTrees=function(){return m.query().$promise.then(function(b){a.defaultTreeData=JSON.parse(b[0].tree),a.customTreeData=JSON.parse(b[1].tree),a.configTrees()})["catch"](function(a){b.show(c.instant(a.message),"danger")})},a.create=function(){var c=g.open({animation:!0,templateUrl:"app/analytic/report/list/create.modal.html",controller:"ReportListCreateModalCtrl",resolve:{path:function(){return a.selectedNode}}});c.result.then(function(c){return c.parent=a.previousCustomNode,k.save(c).$promise.then(function(a){d.path("/analytics/reports/view/"+a.id+"/settings")})["catch"](function(a){b.show(a.message,"danger")})},function(){e.info("Modal dismissed at: "+new Date)})},a.copy=function(d){var f=a.defaultTreeActive?l:k,h=g.open({animation:!0,templateUrl:"app/analytic/report/list/copy.modal.html",controller:"ReportListCopyModalCtrl",resolve:{customTreeData:function(){return a.customTree.get_json("#",{flat:!0})}}});h.result.then(function(e){return f.save({id:d,controller:"copy"},e).$promise.then(function(){a.gridOptions.getPage(),b.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){b.show(a.message,"danger")})},function(){e.info("Modal dismissed at: "+new Date)})},a["export"]=function(c){var d=a.defaultTreeActive?l:k;return d.get({id:c,controller:"export"}).$promise.then(function(a){var b=new i([angular.toJson(a)],{type:"application/json;charset=utf-8"});h.saveAs(b,a.name+".json")})["catch"](function(a){console.error(data),b.show(a.message,"danger")})},a["import"]=function(d){var e=JSON.parse(d);e.parent=a.previousCustomNode;var f=!(!e.name||!e.parent),g=!0;return _.forEach(e.Fields,function(a){a.field&&a.alias||(g=!1)}),f&&g?k.save({controller:"import"},e).$promise.then(function(){a.gridOptions.getPage(),b.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){b.show(a.message,"danger")}):void b.show(c.instant("MESSAGE_INVALID_JSON"),"danger")},a.preview=function(b){g.open({animation:!0,templateUrl:"app/analytic/report/list/preview.modal.html",controller:"ReportListPreviewModalCtrl",size:"full",resolve:{report:function(){return{id:b,tree:a.defaultTreeActive?"default":"custom"}}}})},a.extract=function(d){var f=g.open({animation:!0,templateUrl:"app/analytic/report/list/extract.modal.html",controller:"ReportListExtractModalCtrl",size:"md",resolve:{report:function(){return{id:d,tree:a.defaultTreeActive?"default":"custom"}}}});f.result.then(function(e){e.daily||delete e.daily;var f=a.defaultTreeActive?l:k;return f.get(_.merge({id:d,controller:"extract"},e)).$promise.then(function(){b.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){b.show(a.message,"danger")})},function(){e.info("Modal dismissed at: "+new Date)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.analytics.reports.list",{url:"/list",templateUrl:"app/analytic/report/list/list.html",controller:"AnalyticReportListCtrl"})}]),angular.module("xCallyShuttleApp").controller("ReportListPreviewModalCtrl",["$scope","$uibModalInstance","report","xAlert","$translate","$timeout","CustomReport","DefaultReport",function(a,b,c,d,e,f,g,h){a.daily=!1,a.dailySwitch={onText:e.instant("APPLICATION_TODAY"),offText:e.instant("APPLICATION_RANGE"),isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"primary"},a.dates={startDate:moment().subtract(1,"days").endOf("day"),endDate:moment().subtract(1,"days").endOf("day")},a.ranges={Yesterday:[moment().subtract(1,"days").startOf("day"),moment().subtract(1,"days").endOf("day")],"Last 7 days":[moment().subtract("days",7).endOf("day"),moment().endOf("day")],"Last 30 days":[moment().subtract("days",30),moment()],"This month":[moment().startOf("month"),moment().endOf("month")]},a.yesterday=moment().subtract(1,"days").format("YYYY-MM-DD"),a.today=moment().format("YYYY-MM-DD");var i={offset:0,limit:25,sort:null,where:{},order:{}};a.gridOptions={paginationPageSizes:[10,25,50],paginationPageSize:25,useExternalPagination:!0,enableSorting:!1,enableFiltering:!0,useExternalFiltering:!0,enableGrouping:!1,enableColumnMenus:!1,treeRowHeaderAlwaysVisible:!1,gridMenuShowHideColumns:!1,enableGridMenu:!1,onRegisterApi:function(b){a.gridApi=b,b.pagination.on.paginationChanged(a,function(b,c){i.offset=(b-1)*c,i.limit=c,a.getPage()}),b.core.on.filterChanged(a,function(){var b=this.grid,c={};b.columns.forEach(function(a){a.filters[0].term&&(c[a.field]=a.filters[0].term)}),i.where=c,a.getPage()})}},a.getPage=function(){var b={offset:i.offset,limit:i.limit,startDate:moment(a.dates.startDate).format("YYYY-MM-DD"),endDate:moment(a.dates.endDate).format("YYYY-MM-DD"),daily:a.daily};_.forOwn(i.where,function(a,c){b[c]=a});var e="custom"===c.tree?g:h;return e.get(_.merge({id:c.id,controller:"preview"},b)).$promise.then(function(b){a.gridOptions.totalItems=b.count,a.gridOptions.paginationPageSizes[3]=b.count,a.gridOptions.data=b.rows,a.showResult=!0})["catch"](function(a){d.error(a)})},a.cancel=function(){b.dismiss("cancel")},f(function(){a.getPage()})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.analytics.reports",{url:"/reports",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("ReportAgent",["$resource",function(a){return a("/api/report/agents/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ReportIntegration",["$resource",function(a){return a("/api/report/integrations/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ReportMember",["$resource",function(a){return a("/api/report/members/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ReportTree",["$resource",function(a){return a("/api/analytics/reports/trees/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("AnalyticReportViewCtrl",["$scope","xAlert","$translate","$stateParams","$location","ReportAgent","ReportCall","ReportMailSession","ReportSmsSession","ReportMember","ReportQueue","ReportIntegration","ReportChatSession","DefaultReport","CustomReport","Metric","report",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){function r(d){var e=_.find(a.tables,{value:d}).resource;e.get({controller:"describe"}).$promise.then(function(b){a.tableFields=_.map(b,function(a,b){return"$promise"!==b&&"$resolved"!==b?{name:b,value:b}:void 0})})["catch"](function(a){b.show(c.instant(a.message),"danger")})["finally"](function(){s(d)})}function s(d){return p.get({controller:"table",table:d}).$promise.then(function(b){_.forEach(b.rows,function(b){a.tableFields.push({name:"Metric."+b.name,value:b.metric,MetricId:b.id})})})["catch"](function(a){b.show(c.instant(a.message),"danger")})}function t(a){return String(a).replace(//g,">")}function u(a){if(!a)return"";for(var b="(",c=0;c0&&(b+=" "+a.operator+" "),b+=a.rules[c].group?u(a.rules[c].group):a.rules[c].field+" "+t(a.rules[c].condition)+" '"+("like"===a.rules[c].condition?"%"+a.rules[c].value+"%":a.rules[c].value)+"'";return b+")"}a.$translate=c,a.tempReport={},a.tables=q.tables;var v={group:{operator:"AND",rules:[]}};a.getReport=function(){return a.firstLoad=!0,o.get({id:d.id}).$promise.then(function(b){a.report=b,_.forEach(a.report.Fields,function(a){delete a.id}),a.report.conditions=a.report.conditions?JSON.parse(a.report.conditions):_.clone(v,!0),a.report.Fields.length&&a.getPreview()})["catch"](function(a){console.error(a),e.path("/analytics/reports/list")})},a.randomName=function(a,b){var c=[];for(a=a||5,b=b||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";--a;)c.push(b.charAt(Math.floor(Math.random()*b.length)));return c.join("")},a.$watch("report.table",function(b,c){b&&(r(b),c&&(a.tempReport[c]={conditions:a.report.conditions,fields:a.report.Fields}),a.firstLoad?a.firstLoad=!1:a.tempReport[b]?(a.report.Fields=a.tempReport[b].fields,a.report.conditions=a.tempReport[b].conditions):(a.report.Fields=[],a.report.conditions=_.clone(v,!0)))},!0),a.setMetricId=function(b,c){a.report.Fields[c].MetricId=b.MetricId?b.MetricId:null},a.groupByField=[{name:"APPLICATION_YES",value:!0},{name:"APPLICATION_NO",value:!1}],a.functions=[{name:"Sum",value:"SUM"},{name:"Count",value:"COUNT"},{name:"Count Distinct",value:"COUNT DISTINCT"},{name:"Maximum",value:"MAX"},{name:"Minimum",value:"MIN"},{name:"Average",value:"AVG"},{name:"Group Concat",value:"GROUP_CONCAT"},{name:"Group Concat(asc)",value:"GROUP_CONCAT ASC"},{name:"Group Concat(desc)",value:"GROUP_CONCAT DESC"}],a.formatFunctions=[{name:"Sec To Time",value:"SEC_TO_TIME"},{name:"Date",value:"DATE"},{name:"Hour",value:"HOUR"},{name:"Round",value:"ROUND"},{name:"Unix TimeStamp",value:"UNIX_TIMESTAMP"}],a.addField=function(){a.report.Fields.push({groupBy:!1})},a.removeField=function(b){a.report.Fields.splice(b,1)},a.sortableOptions={"ui-floating":!0,cancel:".unsortable",handle:".report-field-handle",axis:"y"},a.updateReport=function(){if(a.report.Fields.length){var e=angular.copy(a.report);return e.conditions=angular.toJson(e.conditions),o.update({id:d.id},e).$promise.then(function(){b.show(c.instant("MESSAGE_WELL_DONE")+"!","success"),a.getPreview()})["catch"](function(a){b.error(a)})}b.show(c.instant("MESSAGE_SELECT_A_FIELD"),"danger")},a.$watch("report.conditions",function(b){a.output=b?u(b.group):"()"},!0),a.getPreview=function(){return a.gridOptions=null,o.get({id:d.id,controller:"preview",limit:20}).$promise.then(function(b){a.gridOptions={enableFiltering:!0,treeRowHeaderAlwaysVisible:!1,enableGridMenu:!0,data:b.rows}})["catch"](function(a){console.log(a),b.show(c.instant(a.message||"MESSAGE_QUERY_NOT_VALID"),"warning")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.analytics.reports.view",{url:"/view/:id",templateUrl:"app/analytic/report/view/view.html",controller:"AnalyticReportViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.analytics.reports.view.settings",{url:"/settings",templateUrl:"app/analytic/report/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels",{url:"/channels",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat",{url:"/chat",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("ChatEnquiry",["$resource",function(a){return a("/api/chat/enquiries/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ChatReport",["$resource",function(a){return a("/api/report/chats/:id/:controller1/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ChatVisitor",["$resource",function(a){return a("/api/chat/visitors/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ChatMessage",["$resource",function(a){return a("/api/chat/messages/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ChatRoom",["$resource",function(a){return a("/api/chat/rooms/:id/:controller",{id:"@id"},{me:{method:"GET",isArray:!0,params:{id:"me"}},users:{method:"GET",params:{id:"users"}},externals:{method:"GET",isArray:!0,params:{id:"type",controller:"external"}},groups:{method:"GET",isArray:!0,params:{id:"groups"}},update:{method:"PUT"},patch:{method:"PATCH"}})}]),angular.module("xCallyShuttleApp").controller("ChatOfflineListCtrl",["$scope","ChatVisitor","gridOptions",function(a,b,c){a.initView=function(){var d={exporterCsvFilename:"chat_offline_messages.csv",columnDefs:[{name:"fullname",cellClass:"text-center"},{name:"email",cellClass:"text-center"},{name:"ChatWebsite.name",displayName:"Website",cellClass:"text-center"},{name:"createdAt",displayName:"createdAt",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
'},{name:"action",width:100,buttons:[{"class":"blue-hoki",href:"/channels/chat/offline/view/{{row.entity.id}}/detail",name:"detail"}]}]};a.gridOptions=c.gridOptions(b,d,a,{origin:"enquiry"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.offline.list",{url:"/list",templateUrl:"app/channels/chat/offline/list/list.html",controller:"ChatOfflineListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.offline",{url:"/offline",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:8}}})}]),angular.module("xCallyShuttleApp").controller("ChatOfflineViewCtrl",["$scope","$stateParams","ChatVisitor",function(a,b,c){a.initView=function(){return c.get({id:b.id}).$promise.then(function(b){ +a.chatVisitor=b})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.offline.view",{url:"/view/:id",templateUrl:"app/channels/chat/offline/view/view.html",controller:"ChatOfflineViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.chat.offline.view.detail",{url:"/detail",templateUrl:"app/channels/chat/offline/view/view.detail.html",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/news.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("ChatOnlineListCtrl",["$scope","ChatRoom","gridOptions",function(a,b,c){a.initView=function(){var d={exporterCsvFilename:"chat_online_messages.csv",columnDefs:[{name:"ChatVisitor.fullname",displayName:"APPLICATION_FULLNAME",cellClass:"text-center"},{name:"ChatVisitor.email",displayName:"APPLICATION_EMAIL",cellClass:"text-center"},{name:"action",width:100,buttons:[{"class":"blue-hoki",href:"/channels/chat/online/view/{{row.entity.id}}/detail",name:"detail"}]}]};a.gridOptions=c.gridOptions(b,d,a,{id:"online"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.online.list",{url:"/list",templateUrl:"app/channels/chat/online/list/list.html",controller:"ChatOnlineListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.online",{url:"/online",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:8}}})}]),angular.module("xCallyShuttleApp").controller("ChatOnlineViewCtrl",["$scope","$stateParams","ChatRoom",function(a,b,c){a.initView=function(){return a.config={autoHideScrollbar:!1,theme:"light",advanced:{updateOnContentResize:!0},setHeight:400,scrollInertia:0},c.get({id:b.id}).$promise.then(function(b){a.chatRoom=b})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.online.view",{url:"/view/:id",templateUrl:"app/channels/chat/online/view/view.html",controller:"ChatOnlineViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.chat.online.view.detail",{url:"/detail",templateUrl:"app/channels/chat/online/view/view.detail.html",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/news.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("PreviewCtrl",["$scope",function(a){a.message="Hello"}]),angular.module("xCallyShuttleApp").directive("preview",function(){return{templateUrl:"app/channels/chat/preview/preview.html",restrict:"EA",link:function(a,b,c){}}}),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("preview",{url:"/preview",templateUrl:"app/channels/chat/preview/preview.html",controller:"PreviewCtrl",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:8}}})}]),angular.module("xCallyShuttleApp").factory("ChatQueue",["$resource",function(a){return a("/api/chat/queues/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("ChatQueueListCtrl",["$scope","ChatQueue","gridOptions","Auth","$uibModal",function(a,b,c,d,e){a.initView=function(){a.Auth=d;var e={exporterCsvFilename:"chat_queues.csv",columnDefs:[{name:"name"},{name:"description"},{name:"strategy"},{name:"timeout"},{name:"action",width:200,buttons:[{"class":"blue-hoki",href:"/channels/chat/queues/view/{{row.entity.id}}/settings",name:"settings"},{"class":"green-meadow",href:"/channels/chat/queues/view/{{row.entity.id}}/agents",name:"agents",hide:"user"===d.getCurrentUser().role},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,e,a)},a.createItem=function(){var b=e.open({animation:!0,templateUrl:"app/channels/chat/queue/list/list.create.modal.html",controller:"ChatQueueListCreateCtrl"});b.result.then(function(){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("ChatQueueListCreateCtrl",["$scope","$uibModalInstance","$translate","xAlert","ChatQueue",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return e.save(a.item).$promise.then(function(a){d.show(c.instant("MESSAGE_WELL_DONE"),"success"),b.close(a)})["catch"](function(a){d.show(a.data.message,"danger")})},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.queues.list",{url:"/list",templateUrl:"app/channels/chat/queue/list/list.html",controller:"ChatQueueListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.queues",{url:"/queues",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:8}}})}]),angular.module("xCallyShuttleApp").controller("ChatQueueViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","ChatQueue","Team","Auth",function(a,b,c,d,e,f,g,h){a.Auth=h;var i=function(){return{select:function(b){return f.save({id:a.queue.id,controller:"agents"},{agents:b,penalty:a.queue.penalty}).$promise.then(function(){a.getTeams()})["catch"](function(a){console.log(a)})},deselect:function(b){return f["delete"]({id:a.queue.id,controller:"agents",agents:b}).$promise.then(function(){a.getTeams()})["catch"](function(a){console.log(a)})}}};a.getQueue=function(){b.get("/api/chat/queues/"+e.id).success(function(b){b.penalty=0,a.queue=b}).error(function(a){console.error(a)})},a.updateChatQueue=function(){var f=angular.copy(a.queue);b.put("/api/chat/queues/"+e.id,f).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(b){a.queue=f,b.errors.forEach(function(a){c.show(a.message,"danger")})})},a.getTeams=function(){return g.get({controller:"associations"}).$promise.then(function(b){return a.teams=b.rows,f.get({id:e.id,controller:"agents"}).$promise}).then(function(b){ComponentsDropdowns.bindChatQueue(a.teams,_.map(b.rows,function(a){return{id:a.id,penalty:a.UserHasChatQueue.penalty}}),i)})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.queues.view",{url:"/view/:id",templateUrl:"app/channels/chat/queue/view/view.html",controller:"ChatQueueViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.chat.queues.view.settings",{url:"/settings",templateUrl:"app/channels/chat/queue/view/view.settings.html"}).state("main.channels.chat.queues.view.agents",{url:"/agents",templateUrl:"app/channels/chat/queue/view/view.agents.html",cache:!1,serie:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.realtime",{url:"/realtime",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:8}}})}]),angular.module("xCallyShuttleApp").controller("ChatRealtimeViewAgentCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","Agent","Pause","Action","ChatQueue","usSpinnerService","$q","uiGridConstants","Auth",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){function o(){return k.spin("spinner-grid"),g.get(t).$promise.then(function(b){a.gridOptions.totalItems=b.count,a.gridOptions.data=[],b.rows.forEach(function(a){q(a)})})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){k.stop("spinner-grid")})}function p(){e.socket.on("agent:save",function(b){var c=_.find(a.gridOptions.data,{agentId:b.id,isAgent:!0});c&&(c.online=b.online,c.lastLoginAt=b.lastLoginAt,c.pause=b.chatPause,c.pauseType=b.pauseType,c.lastPauseAt=b.lastPauseAt,c.ipaddr=b.ipaddr,c.port=b.port,c.fullcontact=b.fullcontact,c.useragent=b.useragent,c.lastms=b.lastms,c.internal=b.internal,_.map(a.gridOptions.data,function(a){a.isAgent||a.agentId!==b.id||(a.online=b.online)}))}),e.socket.on("agent:remove",function(b){_.remove(a.gridOptions.data,{agentId:b.id})}),e.socket.on("user_has_chat_queue:save",function(b){var c=_.includes(_.map(a.CurrentUser.PChatQueues,"id"),b.ChatQueueId)||n.isAdmin();if(c){var d=_.find(a.gridOptions.data,{agentId:b.UserId,isAgent:!0});if(d){var e=a.gridOptions.data.indexOf(d);a.gridOptions.data.splice(e+1,0,{isAgent:!1,agentId:b.UserId,queue:b.queue,queueId:b.ChatQueueId,agent:b.membername,online:d.online})}}}),e.socket.on("user_has_chat_queue:remove",function(b){_.remove(a.gridOptions.data,{agentId:b.UserId,queueId:b.ChatQueueId})})}function q(b){a.gridOptions.data.push({isAgent:!0,agentId:b.id,agent:b.name,online:b.online,lastLoginAt:b.lastLoginAt,lastPauseAt:b.lastPauseAt,pause:b.chatPause,pauseType:b.pauseType,ipaddr:b.ipaddr,port:b.port,fullcontact:b.fullcontact,useragent:b.useragent,lastms:b.lastms,internal:b.internal,$$treeLevel:0}),b.ChatQueues.forEach(function(c){a.gridOptions.data.push({isAgent:!1,agentId:b.id,queue:c.name,queueId:c.id,agent:b.name,online:b.online})})}function r(){return h.get().$promise.then(function(b){a.pauses=b.rows,e.syncUpdates("pause",a.pauses)})["catch"](function(a){f.show(a.message,"danger")})}function s(){return j.get().$promise.then(function(b){a.chatQueues=b.rows,e.syncUpdates("chat_queue",a.chatQueues)})["catch"](function(a){f.show(a.message,"danger")})}a.chatQueues=[];var t={controller:"realtime",controller1:"chat",offset:0,limit:10};a.moment=moment,a.initAgents=function(){a.gridOptions={enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,multiSelect:!0,showTreeExpandNoChildren:!0,columnDefs:[{name:"name",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{row.entity.agent}} <{{row.entity.internal}}>
'},{name:"online",displayName:"APPLICATION_ONLINE",width:150,headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
({{hhours}}:{{mminutes}}:{{sseconds}})
',filter:{type:m.filter.SELECT,selectOptions:[{value:"true",label:"ONLINE"},{value:"false",label:"OFFLINE"}]}},{name:"chatPause",displayName:"APPLICATION_PAUSE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
({{row.entity.pauseType}}){{hhours}}:{{mminutes}}:{{sseconds}}
',filter:{type:m.filter.SELECT,selectOptions:[{value:"true",label:"PAUSED"},{value:"false",label:"NOT PAUSED"}]},enableSorting:!1,enableColumnMenu:!1},{name:"queue",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"action",displayName:"",width:170,cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1}],data:[],gridMenuTitleFilter:function(a){var b=l.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length)}),a.gridApi.treeBase.on.rowExpanded(a,function(b){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length+b.treeNode.children.length)}),a.gridApi.treeBase.on.rowCollapsed(a,function(b){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length-b.treeNode.children.length)}),a.gridApi.core.on.sortChanged(a,function(a,b){0===b.length?t.order=null:t.order=b[0].name+" "+b[0].sort.direction.toUpperCase(),o()}),a.gridApi.pagination.on.paginationChanged(a,function(a,b){t.offset=(a-1)*b,t.limit=b,o()}),a.gridApi.core.on.filterChanged(a,function(){var a=this.grid;a.columns.forEach(function(a){a.filters[0].term?t[a.name]=a.filters[0].term:delete t[a.name]}),o()})}},o(),r(),s(),p()};var u=function(a){var b=a?30*a+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("agent"),e.unsyncUpdates("user_has_chat_queue")}),a.pause=function(b,c,e){return e&&(a.pauseType=null),i.save({name:c,agent:b,type:e||"DEFAULT PAUSE",data4:e||"DEFAULT PAUSE",channel:"chat"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},a.joinQueue=function(e){var g=c.open({animation:!0,templateUrl:"app/channels/chat/realtime/view/agent/queue.modal.add.html",controller:"ChatRealtimeViewAgentQueueModalCtrl",resolve:{queues:function(){return _.reject(a.chatQueues,function(b){return!!_.find(a.gridOptions.data,{queue:b.name,isAgent:!1,agentId:e})})}}});g.result.then(function(b){return i.save({name:"QueueAdd",agent:e,queues:_.filter(a.chatQueues,function(a){return _.includes(b.queues,a.id)}),channel:"chat",data1:e,data3:b.queues.join(","),data4:"chat"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},function(){b.info("Modal dismissed at: "+new Date)})},a.leaveQueue=function(a,b){return i.save({name:"QueueRemove",agent:a,queueId:b,channel:"chat",data1:a,data3:b,data4:"chat"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},a.showInfo=function(a){c.open({animation:!0,templateUrl:"app/channels/chat/realtime/view/agent/agent.modal.info.html",controller:"ChatRealtimeViewAgentInfoModalCtrl",resolve:{agent:a}})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.realtime.view.agents",{url:"/agents",templateUrl:"app/channels/chat/realtime/view/agent/agent.html",controller:"ChatRealtimeViewAgentCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChatRealtimeViewAgentInfoModalCtrl",["$scope","$uibModalInstance","$http","agent",function(a,b,c,d){a.agent=d,a.close=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("ChatRealtimeViewAgentQueueModalCtrl",["$scope","$uibModalInstance","$http","queues",function(a,b,c,d){a.queues=d,a.item={},a.save=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("ChatRealtimeViewApplicationCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","ReportChatSession","usSpinnerService","$q","uiGridConstants","$timeout",function(a,b,c,d,e,f,g,h,i,j,k){function l(){return h.spin("spinner-grid"),g.get({controller:"waiting",controller2:"applications"}).$promise.then(function(b){a.gridOptions.data=b.rows})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){m(),h.stop("spinner-grid")})}function m(){e.socket.on("report_chat_session:save",function(b){var c=_.find(a.gridOptions.data,{id:b.id});c?(_.merge(c,b),b.leaveAt&&k(function(){_.remove(a.gridOptions.data,{id:b.id})},1e4)):b.leaveAt||a.gridOptions.data.push(b)}),e.socket.on("report_chat_session:remove",function(b){_.remove(a.gridOptions.data,{id:b.id})})}a.moment=moment,a.initApplications=function(){a.gridOptions={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"uniqueid",displayName:"APPLICATION_UNIQUEID",headerCellFilter:"translate"},{name:"websitename",displayName:"APPLICATION_WEBSITE",headerCellFilter:"translate"},{name:"application",displayName:"APPLICATION_APPLICATION",headerCellFilter:"translate"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}{{\'APPLICATION_QUEUESTATUS_ABANDON\' | translate}}{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}{{\'APPLICATION_UNMANAGED\' | translate}} [{{hhours}}:{{mminutes}}:{{sseconds}}]
',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"membername",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.membername || ''}}
"},{name:"queuename",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.queuename || ''}}
"}],data:[],gridMenuTitleFilter:function(a){var b=i.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){n(a.gridOptions.data.length)})}},l()};var n=function(a){var b=a?30*a+60:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("report_chat_session")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.realtime.view.applications",{url:"/applications",templateUrl:"app/channels/chat/realtime/view/application/application.html",controller:"ChatRealtimeViewApplicationCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChatRealtimeViewCtrl",["$scope",function(a){a.agents=[{name:"Queues",link:"main.chat.realtime.view.agent.queues"},{name:"Timeline",link:"main.chat.realtime.view.agent.timeline"}],a.sessions=[{name:"Sessions",link:"main.chat.realtime.view.sessions"}]}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.realtime.view",{url:"/view",templateUrl:"app/channels/chat/realtime/view/view.html",controller:"ChatRealtimeViewCtrl"})}]),angular.module("xCallyShuttleApp").factory("ReportChatRoom",["$resource",function(a){return a("/api/report/chat/rooms/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ReportChatSession",["$resource",function(a){return a("/api/report/chat/sessions/:id/:controller/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.room.external",{url:"/external",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ChatRoomExternalListCtrl",["$scope","$timeout","socket","Auth","ChatRoom","usSpinnerService","Tag","$uibModal",function(a,b,c,d,e,f,g,h){function i(){return g.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)})}a.openChat=function(b){return e.get({id:b.id}).$promise.then(function(b){var c=_.find(a.workspaces,{id:b.id,type:"chatRoom"});c?c.active=!0:a.workspaces.push({id:b.id,name:b.ChatVisitor.fullname,type:"chatRoom","class":"icon-bubble",active:!0})})["catch"](function(a){console.error(a)})},a.initView=function(){a.id=[],a.query={status:"OPEN",tags:[]},a.gridOptions={enableGridMenu:!1,enableFiltering:!0,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,columnDefs:[{name:"id",displayName:"",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
#{{row.entity.id}}
",width:75,enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"userpic",displayName:"",width:35,cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',enableColumnMenu:!1,enableSorting:!1,enableFiltering:!1},{name:"fullname",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{row.entity.ChatVisitor.fullname}}
',enableSorting:!0,enableFiltering:!0,enableColumnMenu:!0},{name:"action",cellTemplate:'',cellClass:"ui-grid-vcenter",width:100,enableFiltering:!1,enableSorting:!1,enableColumnMenu:!1}],data:[],onRegisterApi:function(b){a.gridApi=b,a.gridApi.selection&&(a.gridApi.selection.on.rowSelectionChanged(a,function(b){b.isSelected?a.id.push(a.gridApi.grid.options.primaryKey?b.entity[a.gridApi.grid.options.primaryKey]:b.entity.id):_.pull(a.id,a.gridApi.grid.options.primaryKey?b.entity[a.gridApi.grid.options.primaryKey]:b.entity.id)}),a.gridApi.selection.on.rowSelectionChangedBatch(a,function(b){b[0].isSelected?a.id=_.union(a.id,_.map(b,a.gridApi.grid.options.primaryKey?"entity."+a.gridApi.grid.options.primaryKey:"entity.id")):_.map(b,a.gridApi.grid.options.primaryKey?"entity."+a.gridApi.grid.options.primaryKey:"entity.id").forEach(function(b){_.pull(a.id,b)})}))}},a.getPage(),i()},a.tagItems=function(){h.open({animation:!0,templateUrl:"app/channels/chat/room/view.tags.modal.html",controller:"ChatRoomViewModalTagCtrl",resolve:{id:function(){return a.id}}}).result.then(function(){a.gridApi.selection.clearSelectedRows(),a.id=[]})},a.onChanged=function(){a.getPage()},a.$watch("query.status",function(){a.getPage()},!0),a.getPage=function(){return f.spin("spinner-grid"),e.get(_.merge({id:"externals"},a.query)).$promise.then(function(b){a.gridOptions.data=b.rows})["catch"](function(a){console.error(a)})["finally"](function(){f.stop("spinner-grid")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.room.external.list",{url:"/list",templateUrl:"app/channels/chat/room/external/list/list.html",controller:"ChatRoomExternalListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.room.group",{url:"/group",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ChatRoomGroupListCtrl",["$scope","$timeout","Auth","ChatRoom","usSpinnerService","Tag",function(a,b,c,d,e,f){function g(){return f.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)})}a.getFullnames=function(a){var b=_.map(a.Users,"fullname");return a.ChatVisitor&&b.unshift(a.ChatVisitor.fullname),_.without(b,c.getCurrentUser().fullname).join(", ")},a.openChat=function(b){return d.get({id:b.id}).$promise.then(function(c){var d=_.find(a.workspaces,{id:c.id,type:"chatRoom"});d?d.active=!0:a.workspaces.push({id:c.id,data:b,name:a.getFullnames(c),type:"chatRoom","class":"icon-bubble",active:!0})})["catch"](function(a){console.error(a)})},a.initView=function(){a.query={status:"OPEN",tags:[]},a.currentUser=c.getCurrentUser(),a.gridOptions={enableGridMenu:!1,enableColumnResizing:!0,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,columnDefs:[{name:"userpic",displayName:"",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',enableColumnMenu:!1,enableSorting:!1,enableFiltering:!1},{name:"Users",displayName:"",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{grid.appScope.getFullnames(row.entity)}}
",enableSorting:!0,enableFiltering:!0,enableColumnMenu:!0},{name:"action",cellTemplate:'',cellClass:"ui-grid-vcenter",width:100,enableFiltering:!1,enableSorting:!1,enableColumnMenu:!1}],data:[]},a.getPage(),g()},a.onChanged=function(){a.getPage()},a.$watch("query.status",function(){a.getPage()},!0),a.getPage=function(){return e.spin("spinner-grid"),d.get(_.merge({id:"groups"},a.query)).$promise.then(function(b){a.gridOptions.data=b.rows})["catch"](function(a){console.error(a)})["finally"](function(){e.stop("spinner-grid")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.room.group.list",{url:"/list",templateUrl:"app/channels/chat/room/group/list/list.html",controller:"ChatRoomGroupListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.room.internal",{url:"/internal",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ChatRoomInternalListCtrl",["$scope","$timeout","socket","Auth","ChatRoom","usSpinnerService",function(a,b,c,d,e,f){a.openChat=function(b){return e.users({users:[d.getCurrentUser().id,b.id]}).$promise.then(function(c){var d=_.find(a.workspaces,{id:c.id,type:"chatRoom"});d?d.active=!0:a.workspaces.push({id:c.id,name:b.fullname,type:"chatRoom","class":"icon-bubble",active:!0})})["catch"](function(a){console.error(a)})},a.initView=function(){a.gridOptions={enableGridMenu:!1,enableFiltering:!0,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,columnDefs:[{name:"userpic",displayName:"",width:35,cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',enableColumnMenu:!1,enableSorting:!1,enableFiltering:!1},{name:"fullname",enableSorting:!0,enableFiltering:!0,enableColumnMenu:!0},{name:"action",cellTemplate:'',cellClass:"ui-grid-vcenter",width:100,enableFiltering:!1,enableSorting:!1,enableColumnMenu:!1}],data:[]},c.socket.on("user:save",function(b){if(b.online&&d.getCurrentUser().id!==b.id){var c=_.find(a.gridOptions.data,{id:b.id});c?_.merge(c,b):a.gridOptions.data.push(b)}else _.remove(a.gridOptions.data,{id:b.id})}),c.socket.on("agent:save",function(b){if(b.online&&d.getCurrentUser().id!==b.id){var c=_.find(a.gridOptions.data,{id:b.id});c?_.merge(c,b):a.gridOptions.data.push(b)}else _.remove(a.gridOptions.data,{id:b.id})}),e.get({id:"agents"}).$promise.then(function(b){a.gridOptions.data=b.rows})["catch"](function(a){console.error(a)})["finally"](function(){f.stop("spinner-grid")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.room.internal.list",{url:"/list",templateUrl:"app/channels/chat/room/internal/list/list.html",controller:"ChatRoomInternalListCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChatRoomAddCtrl",["$scope","$uibModalInstance","Agent","items",function(a,b,c,d){a.items=d,a.agents=c.get(function(b){a.agents=b,a.items.forEach(function(b){_.remove(a.agents.rows,{id:b.id})})}),a.selected={items:[]},a.ok=function(){b.close(_.union(_.map(a.selected.items,"id"),_.map(a.items,"id")))},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").controller("ChatRoomCloseCtrl",["$scope","$uibModalInstance","closed","ChatWebsite","websiteId",function(a,b,c,d,e){a.modal={title:"APPLICATION_CONFIRM_CLOSE",text:"MESSAGE_ARE_YOU_SURE_YOU_WANT_TO_CLOSE_THE_CHAT"},a.initDisposition=function(){return d.get({websiteId:e,controller:"dispositions"}).$promise.then(function(b){a.dispositions=b.rows})["catch"](function(a){console.error(a)})},a.item={},a.closed=c,a.ok=function(){b.close(a.item)},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").directive("chatRoom",["$interval","$rootScope","$uibModal","$notification","$window","socket","Auth","ChatRoom","ngAudio","xAlert","Tag","CannedAnswer","List","$translate",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){ +return{restrict:"E",scope:{workspace:"="},templateUrl:"app/channels/chat/room/room.directive.html",link:function(a){a.user=g.getCurrentUser(),a.message={body:""},a.openContact=function(c){return a.chatRoom.ChatWebsite.List?m.get({listId:a.chatRoom.ChatWebsite.List.id,controller:"contacts",email:c}).$promise.then(function(a){b.$root.workspaces.push({active:!0,"class":"icon-user",contactID:a.id,name:a.email,type:"contact"})})["catch"](function(a){console.error(a)}):void j.show(n.instant("MESSAGE_NO_LIST_CONFIGURED"),"info")},a.modelOptions={debounce:{"default":500,blur:250},getterSetter:!0},a.form={},a.panelLeft="col-md-4",a.panelRight="col-md-8",a.onSelect=function(){a.message.body=a.modelOptions.selectedAnswer,delete a.modelOptions.selectedAnswer},a.togglePanelLeft=function(){a.panelLeft?(a.panelLeft=null,a.panelRight="col-md-12"):(a.panelLeft="col-md-4",a.panelRight="col-md-8")},a.options={link:!0,linkTarget:"_blank",pdf:{embed:!0},image:{embed:!0},audio:{embed:!0},code:{highlight:!0,lineNumbers:!1},basicVideo:!0},a.getAnswers=function(a){return l.get({key:a}).$promise.then(function(a){return console.log(a),_.map(a.rows,"value")})},a.isMyRoom=function(b){return!!_.find(b,{id:a.user.id})},h.get({id:a.workspace.id}).$promise.then(function(c){a.chatRoom=c,a.form.tags=c.tags,a.chatRoom.ChatVisitor&&(a.chatRoom.ChatVisitors=[],a.chatRoom.ChatVisitors.push(a.chatRoom.ChatVisitor)),f.socket.on("chat_room:save",function(b){a.chatRoom.id===b.id&&_.merge(a.chatRoom,b)}),f.socket.on("user_has_chat_room:save",function(b){return b.UserId!=a.user.id&&b.ChatRoomId==a.chatRoom.id?h.get({id:"agents",controller:b.UserId}).$promise.then(function(b){var c=_.map(a.chatRoom.Users,"fullname");a.chatRoom.ChatVisitor&&c.unshift(a.chatRoom.ChatVisitor.fullname),a.chatRoom.Users.push(b),a.workspace.name=_.without(c,g.getCurrentUser().fullname).join(", ")})["catch"](function(a){console.error(a)}):void 0}),f.socket.on("chat_message:save",function(c){a.chatRoom.id==c.ChatRoomId&&(a.user.id!=c.UserId&&a.chatRoom.ChatMessages.push(c),!b.settings.layout.onFocus&&e.Notification&&d("CHAT CHANNEL",{icon:"assets/images/media/channels/chat64.png",body:"NEW Chat Message!",delay:5e3}),a.workspace.active||(i.load("api/xchatty/assets?resource=notification/xc_blubb.mp3").play(),a.workspace.unread++))})})["catch"](function(a){console.error(a)}),k.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)}),a.closeRoom=function(b){return c.open({animation:!0,templateUrl:"app/channels/chat/room/room.close.html",controller:"ChatRoomCloseCtrl",resolve:{closed:function(){return"CLOSED"===a.chatRoom.status},websiteId:function(){return a.chatRoom.ChatWebsiteId}}}).result.then(function(a){var c={id:b,status:"CLOSED",completeReason:"agent"};return a.disposition&&(c.disposition=a.disposition),h.update(c).$promise["catch"](function(a){j.show(a.data.message,"danger")})})},a.onChanged=function(b){return h.update({id:b},{tags:a.form.tags}).$promise["catch"](function(a){console.error(a)})},a.addAgent=function(b){c.open({animation:!0,templateUrl:"app/channels/chat/room/room.add.html",controller:"ChatRoomAddCtrl",resolve:{items:function(){return _.map(a.chatRoom.Users||[],function(a){return{id:a.id,fullname:a.fullname}})}}}).result.then(function(a){return h.update({id:b,controller:"users"},{users:a}).$promise["catch"](function(a){j.show(a.data.message,"danger")})})},a.sendMessage=function(){var b={body:angular.copy(a.message.body),createdAt:moment(),UserId:a.user.id,User:{fullname:a.user.fullname}};return a.message.body.trim().length?(a.chatRoom.ChatMessages.push(b),a.message.body="",h.save({id:a.chatRoom.id,controller:"messages"},{body:b.body}).$promise["catch"](function(a){console.error(a)})):void 0}}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.room",{url:"/room",templateUrl:"app/channels/chat/room/room.html",data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:8}},resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/inbox.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("ChatRoomViewModalTagCtrl",["$scope","$uibModalInstance","$translate","$stateParams","Tag","ChatRoom","xAlert","id",function(a,b,c,d,e,f,g,h){a.initModal=function(){return a.tags=[],a.item={tags:[]},a.modal={dismissable:!0,title:"APPLICATION_MESSAGE_SEND_RETRY",text:"MESSAGE_MESSAGE_SEND_RETRY",buttons:[{"class":"btn-success",text:"APPLICATION_TAG",click:function(){var d={status:!0};return f.patch({id:h},{tags:a.item.tags}).$promise["catch"](function(){d.status=!1,g.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})["finally"](function(){b.close(d)})}},{"class":"default",text:"APPLICATION_CANCEL",click:function(a){b.dismiss(a)}}]},e.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").controller("ChatVisitorListCtrl",["$scope","ChatVisitor","gridOptions","$uibModal",function(a,b,c,d){a.initView=function(){var d={exporterCsvFilename:"chat_visitors.csv",columnDefs:[{name:"fullname",cellClass:"text-center"},{name:"email",cellClass:"text-center"},{name:"origin",cellClass:"text-center"},{name:"createdAt",displayName:"createdAt",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
'},{name:"action",width:100,buttons:[{"class":"blue-hoki",href:"/channels/chat/visitors/view/{{row.entity.id}}/profile",name:"profile"}]}]};a.gridOptions=c.gridOptions(b,d,a)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.visitors.list",{url:"/list",templateUrl:"app/channels/chat/visitor/list/list.html",controller:"ChatVisitorListCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChatVisitorViewCtrl",["$scope","$stateParams","ChatVisitor",function(a,b,c){a.initView=function(){return c.get({id:b.id}).$promise.then(function(b){a.chatVisitor=b})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.visitors.view",{url:"/view/:id",templateUrl:"app/channels/chat/visitor/view/view.html",controller:"ChatVisitorViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.chat.visitors.view.profile",{url:"/profile",templateUrl:"app/channels/chat/visitor/view/view.profile.html"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.visitors",{url:"/visitors",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:8}}})}]),angular.module("xCallyShuttleApp").factory("ChatApplication",["$resource",function(a){return a("/api/chat/applications/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ChatWebsite",["$resource",function(a){return a("/api/chat/websites/:websiteId/:controller/:id",{id:"@websiteId"},{update:{method:"PUT"},updateFields:{method:"PUT",isArray:!0}})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteListCtrl",["$scope","gridOptions","ChatWebsite",function(a,b,c){a.initView=function(){var d={exporterCsvFilename:"chat_websites.csv",columnDefs:[{name:"name"},{name:"description"},{name:"address"},{name:"action",buttons:[{"class":"blue-hoki",href:"/channels/chat/websites/view/{{row.entity.id}}/embedding/view",name:"embedding"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=b.gridOptions(c,d,a)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.list",{url:"/list",templateUrl:"app/channels/chat/website/list/list.html",controller:"ChatWebsiteListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.actions",{url:"/actions",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewActionListCtrl",["$scope","gridOptions","ChatWebsite","$http","$translate","$stateParams","socket","xAlert","Modal",function(a,b,c,d,e,f,g,h,i){a.initActons=function(){var d={draggable:!0,exporterCsvFilename:"chat_applications.csv",columnDefs:[{name:"app",cellClass:"text-center"},{name:"name",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.ChatQueue ? row.entity.ChatQueue.name : row.entity.User.name}}
"},{name:"timeout",cellClass:"text-center"},{name:"interval",cellClass:"text-center"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/channels/chat/websites/view/{{row.entity.ChatWebsiteId}}/actions/view/{{row.entity.id}}",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.app, row.entity.id)"}]}]};a.gridOptions=b.gridOptions(c,d,a,{websiteId:f.websiteId,controller:"applications"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.actions.list",{url:"/list",templateUrl:"app/channels/chat/website/view/action/list/list.html",controller:"ChatWebsiteViewActionListCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewActionViewCtrl",["$scope","$http","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval","ChatApplication","ChatQueue","Agent","Interval",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initAction=function(){return a.$application=i.application,a.$stateParams=c,a.$interval=j.interval,a.forms={},a.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"}],k.get({id:c.actionId}).$promise.then(function(b){if(a.application=b,a.application.alwaysTime=!1,a.application.IntervalId)a.application.intType="list";else switch(a.application.interval){case"*,*,*,*":a.application.intType="always";break;default:a.application.intType="custom"}var c=a.application.interval.split(",");"*"===c[0]?a.application.alwaysTime=!0:(a.application.t_from=moment(new Date),a.application.t_to=moment(new Date),a.application.t_from.hour(c[0].split("-")[0].split(":")[0]),a.application.t_from.minute(c[0].split("-")[0].split(":")[1]),a.application.t_to.hour(c[0].split("-")[1].split(":")[0]),a.application.t_to.minute(c[0].split("-")[1].split(":")[1])),"*"===c[1]?(a.application.wd_from="always",a.application.wd_to="always"):(a.application.wd_from=c[1].split("-")[0],a.application.wd_to=c[1].split("-")[1]),"*"===c[2]?(a.application.md_from="always",a.application.md_to="always"):(a.application.md_from=c[2].split("-")[0],a.application.md_to=c[2].split("-")[1]),"*"===c[3]?(a.application.m_from="always",a.application.m_to="always"):(a.application.m_from=c[3].split("-")[0],a.application.m_to=c[3].split("-")[1]),a.$watch("application.t_from",function(b){a.application.t_from_hm=moment(b).format("HH:mm")}),a.$watch("application.t_to",function(b){a.application.t_to_hm=moment(b).format("HH:mm")})})["catch"](function(a){f.show(a.message||a.data.message,"danger")})},a.getQueues=function(){return l.get().$promise.then(function(b){a.queues=b.rows})["catch"](function(a){f.show(a.message||a.data.message,"danger")})},a.getAgents=function(){return m.get().$promise.then(function(b){a.agents=b.rows})["catch"](function(a){f.show(a.message||a.data.message,"danger")})},a.getIntervals=function(){return n.get().$promise.then(function(b){a.intervals=b.rows})["catch"](function(a){f.show(a.message||a.data.message,"danger")})},a.updateItem=function(){var b=["*","*","*","*"],e={app:a.application.app,timeout:a.application.timeout,chatAccountId:c.id};switch(a.application.app){case"agent":e.UserId=a.application.UserId,e.ChatQueueId=null;break;case"queue":e.ChatQueueId=a.application.ChatQueueId,e.UserId=null}switch(a.application.intType){case"always":e.interval=b.join(","),delete a.application.IntervalId;break;case"custom":a.application.alwaysTime||(b[0]=a.application.alwaysTime?"*":a.application.t_from_hm+"-"+a.application.t_to_hm),a.application.wd_from&&a.application.wd_to&&"always"===a.application.wd_from&&"always"===a.application.wd_to?b[1]="*":b[1]=a.application.wd_from&&a.application.wd_to?a.application.wd_from+"-"+a.application.wd_to:"*",a.application.md_from&&a.application.md_to&&"always"===a.application.md_from&&"always"===a.application.md_to?b[2]="*":b[2]=a.application.md_from&&a.application.md_to?a.application.md_from+"-"+a.application.md_to:"*",a.application.m_from&&a.application.m_to&&"always"===a.application.m_from&&"always"===a.application.m_to?b[3]="*":b[3]=a.application.m_from&&a.application.m_to?a.application.m_from+"-"+a.application.m_to:"*",e.interval=b.join(","),delete a.application.IntervalId;break;case"list":e.IntervalId=a.application.IntervalId}return k.update({id:c.actionId},e).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message||a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.actions.view",{url:"/view/:actionId",templateUrl:"app/channels/chat/website/view/action/view/view.html",controller:"ChatWebsiteViewActionViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewActionWizardCtrl",["$scope","$http","Agent","Interval","ChatQueue","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval",function(a,b,c,d,e,f,g,h,i,j,k,l,m){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initWizard=function(){a.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"}],a.$application=l.application,a.$stateParams=f,a.$interval=m.interval,a.forms={},a.application={app:"queue",intType:"always",alwaysTime:!0},a.$watch("application.t_from",function(b){a.application.t_from_hm=moment(b).format("HH:mm")}),a.$watch("application.t_to",function(b){a.application.t_to_hm=moment(b).format("HH:mm")})},a.getQueues=function(){return e.get().$promise.then(function(b){a.queues=b.rows})["catch"](function(a){console.error(a)})},a.getAgents=function(){return c.get().$promise.then(function(b){a.agents=b.rows})["catch"](function(a){i.show(a.message||a.data.message,"danger")})},a.getIntervals=function(){return d.get().$promise.then(function(b){a.intervals=b.rows})["catch"](function(a){i.show(a.message||a.data.message,"danger")})},a.createItem=function(){var c=["*","*","*","*"],d={app:a.application.app,timeout:a.application.timeout,ChatWebsiteId:f.websiteId};switch(a.application.app){case"agent":d.UserId=a.application.UserId;break;case"queue":d.ChatQueueId=a.application.ChatQueueId}switch(a.application.intType){case"always":d.interval=c.join(","),delete a.application.IntervalId;break;case"custom":a.application.alwaysTime||(c[0]=a.application.alwaysTime?"*":a.application.t_from_hm+"-"+a.application.t_to_hm),a.application.wd_from&&a.application.wd_to&&"always"===a.application.wd_from&&"always"===a.application.wd_to?c[1]="*":c[1]=a.application.wd_from&&a.application.wd_to?a.application.wd_from+"-"+a.application.wd_to:"*",a.application.md_from&&a.application.md_to&&"always"===a.application.md_from&&"always"===a.application.md_to?c[2]="*":c[2]=a.application.md_from&&a.application.md_to?a.application.md_from+"-"+a.application.md_to:"*",a.application.m_from&&a.application.m_to&&"always"===a.application.m_from&&"always"===a.application.m_to?c[3]="*":c[3]=a.application.m_from&&a.application.m_to?a.application.m_from+"-"+a.application.m_to:"*",d.interval=c.join(","),delete a.application.IntervalId;break;case"list":d.IntervalId=a.application.IntervalId}b.post("/api/chat/applications",d).success(function(){h.path("/channels/chat/websites/view/"+f.websiteId+"/actions/list")}).error(function(a){i.show(a.message||a.data.message,"danger")})},a.formValidation=function(a){return a},a.next=function(){j.wizard().next()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.actions.wizard",{url:"/wizard",templateUrl:"app/channels/chat/website/view/action/wizard/wizard.html",controller:"ChatWebsiteViewActionWizardCtrl"})}]),angular.module("xCallyShuttleApp").factory("ChatDisposition",["$resource",function(a){return a("/api/chat/dispositions/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewModalDispositionAddCtrl",["$scope","$uibModalInstance","ChatWebsite","id","xAlert","$translate",function(a,b,c,d,e,f){a.ok=function(){return c.save({websiteId:d,controller:"dispositions"},{name:a.name}).$promise.then(function(a){b.close(a)})["catch"](function(a){e.show(f.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteDispositionViewCtrl",["$scope","$stateParams","$uibModal","$translate","ChatWebsite","xAlert",function(a,b,c,d,e,f){a.initView=function(){return e.get({websiteId:b.websiteId,controller:"dispositions"}).$promise.then(function(b){a.dispositions=b.rows})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.updateDisposition=function(a,c){return e.update({websiteId:b.websiteId,controller:"dispositions",id:a},{name:c}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.deleteDisposition=function(c){return console.log("delete"),e.remove({websiteId:b.websiteId,controller:"dispositions",id:c}).$promise.then(function(){_.remove(a.dispositions,{id:c})})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.addDisposition=function(){return c.open({animation:!0,templateUrl:"app/channels/chat/website/view/disposition/modal/add.modal.html",controller:"ChatWebsiteViewModalDispositionAddCtrl",resolve:{id:function(){return b.websiteId}}}).result.then(function(b){b&&a.dispositions.push(b)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.dispositions",{url:"/dispositions",controller:"ChatWebsiteDispositionViewCtrl",templateUrl:"app/channels/chat/website/view/disposition/view/view.html"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.embedding",{url:"/embedding",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewEmbeddingViewCtrl",["$scope","$stateParams","$translate","clipboard","xAlert","ChatWebsite",function(a,b,c,d,e,f){a.initView=function(){return f.get({websiteId:b.websiteId,controller:"snippet"}).$promise.then(function(b){a.snippetCode=b.html})["catch"](function(a){e.show(a.message||a.data.message,"danger")})},a.copyToClipboard=function(){d.copyText(a.snippetCode),e.show(c.instant("MESSAGE_TEXT_COPIED_CLIPBOARD")+"!","success")}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.embedding.view",{url:"/view",templateUrl:"app/channels/chat/website/view/embedding/view/view.html",controller:"ChatWebsiteViewEmbeddingViewCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.form",{url:"/forms",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewFormViewCtrl",["$scope","$builder","$validator","$stateParams","$translate","ChatWebsite","xAlert",function(a,b,c,d,e,f,g){a.saveForm=function(a){var c=angular.copy(b.forms[a]);return c.length>3?g.show("You can insert at least 3 input elements","danger"):(_.forEach(c,function(a){delete a.id}),f.updateFields({websiteId:d.websiteId,controller:"fields",id:a},c).$promise.then(function(){g.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){g.show(a.message||a.data.message,"danger")}))},a.getChatWebsiteFields=function(a){return f.query({websiteId:d.websiteId,controller:"fields",id:a}).$promise.then(function(c){_.forEach(c,function(c){b.addFormObject(a,c)})})["catch"](function(a){g.show(a.message||a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.form.view",{url:"/view",templateUrl:"app/channels/chat/website/view/form/view/view.html",controller:"ChatWebsiteViewFormViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewProactiveListCtrl",["$scope","gridOptions","ChatWebsite","$http","$translate","$stateParams","$uibModal",function(a,b,c,d,e,f,g){a.initProactiveActions=function(){var d={exporterCsvFilename:"telephones.csv",columnDefs:[{name:"name"},{name:"type"},{name:"action",width:125,buttons:[{"class":"blue-hoki",onClick:"grid.appScope.createItem(row.entity)",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=b.gridOptions(c,d,a,{websiteId:f.websiteId,controller:"proactive"})},a.createItem=function(b){var c=g.open({animation:!0,templateUrl:"app/channels/chat/website/view/proactive/list/list.create.modal.html",controller:"ChatWebsiteProactiveListCreateCtrl",resolve:{item:b}});c.result.then(function(){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteProactiveListCreateCtrl",["$scope","$translate","$uibModalInstance","$stateParams","ChatWebsite","xAlert","item",function(a,b,c,d,e,f,g){a.form={},a.item=g||{},a.title=g?b.instant("APPLICATION_EDIT_PROACTIVE_ACTION"):b.instant("APPLICATION_NEW_PROACTIVE_ACTION"),a.possibleType=[{type:"mouseOver",title:"Mouse Over"},{type:"timeout",title:"Timeout"}],a.save=function(){return g?e.update({websiteId:d.websiteId,controller:"proactive",id:a.item.id},a.item).$promise.then(function(a){f.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){f.show(a.message||a.data.message,"danger")}):e.save({websiteId:d.websiteId,controller:"proactive"},a.item).$promise.then(function(a){f.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){f.show(a.message||a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.proactive.list",{url:"/list",templateUrl:"app/channels/chat/website/view/proactive/list/list.html",controller:"ChatWebsiteViewProactiveListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.proactive",{url:"/proactive",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteSettingViewCtrl",["$scope","$stateParams","$translate","$location","$timeout","socket","xAlert","ChatWebsite","List",function(a,b,c,d,e,f,g,h,i){a.initView=function(){return i.get().$promise.then(function(b){a.lists=b.rows})["catch"](function(a){console.error(a)})},a.updateItemChatWebsite=function(){return h.update({id:b.websiteId},{ListId:a.chatWebsite.ListId}).$promise.then(function(){g.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){g.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.settings",{url:"/settings",controller:"ChatWebsiteSettingViewCtrl",templateUrl:"app/channels/chat/website/view/setting/view/view.html"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.snippet",{url:"/snippet",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewSnippetViewCtrl",["$scope","$http","$stateParams","$translate","Template",function(a,b,c,d,e){a.$translate=d,a.statePreview={state:"online"},a.enquirySwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.fidelitySwitch={isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.lang={HeaderCurrentlyChatting:"Live Chat",HeaderOffline:"Contact us",OperatorOfflineMessage:"It appears as if all operators are currently offline.",OfflineMessage:"We're not online.
It doesn't mean we're not there to help - leave your message below and we'll be in touch as soon as possible.",EnquiryMessagePlaceholder:"Your message...",EnquiryButtonText:"Leave message",EnquirySubmitSuccess:"Your message was sucessfully submitted - we will contact you as soon as possible.",OperatorComposing:"{fullname} is typing...",FirstMessageText:"",ExitChatButtonText:"Exit Chat",ExitChatQuestionText:"Are you sure?",ExitChatButtonConfirmText:"Yes",ExitChatButtonCancelText:"No",MessagePlaceholderText:"Your message...",MessageSendButtonText:"Send",ValidationEmailRequired:"Please enter your email address",ValidationEmailInvalid:"Please enter a valid email address",ValidationEmailMaxLength:"The email address may not exceed 85 characters",ValidationUsernameRequired:"Please enter your name",ValidationUsernameMaxLength:"The name may not exceed 45 characters",ValidationEnquiryRequired:"Please enter your enquiry",ValidationEnquiryMaxLength:"The enquiry may not exceed 1500 characters",ValidationMessageRequired:"Please enter your message",ValidationMessageMaxLength:"The message may not exceed 750 characters"},a.initView=function(){return e.get().$promise.then(function(b){a.templates=b.rows})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.snippet.view",{url:"/view",templateUrl:"app/channels/chat/website/view/snippet/view/view.html",controller:"ChatWebsiteViewSnippetViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewCtrl",["$scope","xAlert","$http","$location","$stateParams","$translate","WizardHandler","ChatApplication","ChatWebsite",function(a,b,c,d,e,f,g,h,i){a.initApplication=function(){a.forms={},a.application={}},a.goNext=function(){g.wizard().next()},a.formValidation=function(a){return a},a.deleteItem=function(a){return h["delete"]({id:a}).$promise.then(function(){b.show(f.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){b.show(a.message||a.data.message,"danger")})},a.initView=function(){return i.get({id:e.websiteId}).$promise.then(function(b){a.chatWebsite=b})["catch"](function(a){b.show(a.message||a.data.message,"danger")})},a.updateItem=function(){return i.update({id:a.chatWebsite.id},a.chatWebsite).$promise.then(function(){b.show(f.instant("MESSAGE_CHAT_WEBSITE_UPDATE_SUCCESS")+"!","success")})["catch"](function(a){b.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view",{url:"/view/:websiteId",templateUrl:"app/channels/chat/website/view/view.html",controller:"ChatWebsiteViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites",{url:"/websites",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:8}}})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteWizardCtrl",["$scope","$http","$location","$translate","WizardHandler","xAlert","ChatWebsite",function(a,b,c,d,e,f,g){a.$translate=d,a.forms={formSetting:void 0,formAppearance:void 0,formLabel:void 0,formFunctionality:void 0},a.next=function(){e.wizard().next()},a.exitValidation=function(a){return a},a.item={},a.createItem=function(){return g.save(a.item).$promise.then(function(){f.show(d.instant("MESSAGE_CHAT_WEBSITE_CREATE_SUCCESS"),"success"),c.path("/channels/chat/websites/list")})["catch"](function(a){f.show(a.message||a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.wizard",{url:"/wizard",templateUrl:"app/channels/chat/website/wizard/wizard.html",controller:"ChatWebsiteWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.accounts",{url:"/accounts",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:10}}})}]),angular.module("xCallyShuttleApp").controller("FaxAccountListCtrl",["$scope","$uibModal","gridOptions","FaxAccount",function(a,b,c,d){a.initView=function(){var b={exporterCsvFilename:"chat_websites.csv",columnDefs:[{name:"name"},{name:"description"},{name:"localstationid"},{name:"TrunkName",displayName:"APPLICATION_TRUNK"},{name:"action",buttons:[{"class":"blue-hoki",href:"/channels/fax/accounts/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(d,b,a)},a.createItem=function(){var c=b.open({animation:!0,templateUrl:"app/channels/fax/account/list/list.create.modal.html",controller:"FaxAccountListCreateCtrl"});c.result.then(function(){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("FaxAccountListCreateCtrl",["$scope","$uibModalInstance","$translate","xAlert","FaxAccount","Trunk",function(a,b,c,d,e,f){a.initWizard=function(){return a.form={},a.item={},a.trunks=[],f.get().$promise.then(function(b){a.trunks=b.rows})["catch"](function(a){d.error(a)})},a.save=function(){return e.save(a.item).$promise.then(function(a){d.show(c.instant("MESSAGE_WELL_DONE"),"success"),b.close(a)})["catch"](function(a){d.show(a.data.message,"danger")})},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.accounts.list",{url:"/list",templateUrl:"app/channels/fax/account/list/list.html",controller:"FaxAccountListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.accounts.view.actions",{url:"/actions",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("FaxAccountViewActionListCtrl",["$scope","gridOptions","FaxAccount","$http","$translate","$stateParams",function(a,b,c,d,e,f){a.initActons=function(){var d={draggable:!0,exporterCsvFilename:"fax_applications.csv",enableSorting:!1,enableFiltering:!1,columnDefs:[{name:"app",cellClass:"text-center"},{name:"name",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.FaxQueue ? row.entity.FaxQueue.name : row.entity.User.name}}
"},{name:"timeout",cellClass:"text-center"},{name:"interval",cellClass:"text-center"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/channels/fax/accounts/view/{{row.entity.FaxAccountId}}/actions/view/{{row.entity.id}}",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.app, row.entity.id)"}]}]};a.gridOptions=b.gridOptions(c,d,a,{accountId:f.accountId,controller:"applications"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){ +a.state("main.channels.fax.accounts.view.actions.list",{url:"/list",templateUrl:"app/channels/fax/account/view/action/list/list.html",controller:"FaxAccountViewActionListCtrl"})}]),angular.module("xCallyShuttleApp").controller("FaxAccountViewActionViewCtrl",["$scope","$http","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval","Agent","Interval","FaxQueue","FaxAccount",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initAction=function(){return a.$application=i.application,a.$stateParams=c,a.$interval=j.interval,a.forms={},a.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"}],n.get({accountId:c.accountId,controller:"applications",id:c.actionId}).$promise.then(function(b){if(a.application=b,a.application.alwaysTime=!1,a.application.IntervalId)a.application.intType="list";else switch(a.application.interval){case"*,*,*,*":a.application.intType="always";break;default:a.application.intType="custom"}var c=a.application.interval.split(",");"*"===c[0]?a.application.alwaysTime=!0:(a.application.t_from=moment(new Date),a.application.t_to=moment(new Date),a.application.t_from.hour(c[0].split("-")[0].split(":")[0]),a.application.t_from.minute(c[0].split("-")[0].split(":")[1]),a.application.t_to.hour(c[0].split("-")[1].split(":")[0]),a.application.t_to.minute(c[0].split("-")[1].split(":")[1])),"*"===c[1]?(a.application.wd_from="always",a.application.wd_to="always"):(a.application.wd_from=c[1].split("-")[0],a.application.wd_to=c[1].split("-")[1]),"*"===c[2]?(a.application.md_from="always",a.application.md_to="always"):(a.application.md_from=c[2].split("-")[0],a.application.md_to=c[2].split("-")[1]),"*"===c[3]?(a.application.m_from="always",a.application.m_to="always"):(a.application.m_from=c[3].split("-")[0],a.application.m_to=c[3].split("-")[1]),a.$watch("application.t_from",function(b){a.application.t_from_hm=moment(b).format("HH:mm")}),a.$watch("application.t_to",function(b){a.application.t_to_hm=moment(b).format("HH:mm")})})["catch"](function(a){f.error(a)})},a.getQueues=function(){return m.get().$promise.then(function(b){a.queues=b.rows})["catch"](function(a){console.error(a)})},a.getAgents=function(){return k.get().$promise.then(function(b){a.agents=b.rows})["catch"](function(a){console.error(a)})},a.getIntervals=function(){return l.get().$promise.then(function(b){a.intervals=b.rows})["catch"](function(a){console.error(a)})},a.updateItem=function(){var b=["*","*","*","*"],e={app:a.application.app,timeout:a.application.timeout};switch(a.application.app){case"agent":e.UserId=a.application.UserId;break;case"queue":e.FaxQueueId=a.application.FaxQueueId}switch(a.application.intType){case"always":e.interval=b.join(","),delete a.application.IntervalId;break;case"custom":a.application.alwaysTime||(b[0]=a.application.alwaysTime?"*":a.application.t_from_hm+"-"+a.application.t_to_hm),a.application.wd_from&&a.application.wd_to&&"always"===a.application.wd_from&&"always"===a.application.wd_to?b[1]="*":b[1]=a.application.wd_from&&a.application.wd_to?a.application.wd_from+"-"+a.application.wd_to:"*",a.application.md_from&&a.application.md_to&&"always"===a.application.md_from&&"always"===a.application.md_to?b[2]="*":b[2]=a.application.md_from&&a.application.md_to?a.application.md_from+"-"+a.application.md_to:"*",a.application.m_from&&a.application.m_to&&"always"===a.application.m_from&&"always"===a.application.m_to?b[3]="*":b[3]=a.application.m_from&&a.application.m_to?a.application.m_from+"-"+a.application.m_to:"*",e.interval=b.join(","),delete a.application.IntervalId;break;case"list":e.IntervalId=a.application.IntervalId}return n.update({accountId:c.accountId,controller:"applications",id:c.actionId},e).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.accounts.view.actions.view",{url:"/view/:actionId",templateUrl:"app/channels/fax/account/view/action/view/view.html",controller:"FaxAccountViewActionViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("FaxAccountViewActionWizardCtrl",["$scope","$http","Agent","FaxQueue","Interval","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval","FaxAccount",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initWizard=function(){a.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"}],a.$application=l.application,a.$stateParams=f,a.$interval=m.interval,a.forms={},a.application={alwaysTime:!0},a.$watch("application.t_from",function(b){a.application.t_from_hm=moment(b).format("HH:mm")}),a.$watch("application.t_to",function(b){a.application.t_to_hm=moment(b).format("HH:mm")})},a.getQueues=function(){return d.get().$promise.then(function(b){a.queues=b.rows})["catch"](function(a){console.error(a)})},a.getAgents=function(){return c.get().$promise.then(function(b){a.agents=b.rows})["catch"](function(a){console.error(a)})},a.getIntervals=function(){return e.get().$promise.then(function(b){a.intervals=b.rows})["catch"](function(a){console.error(a)})},a.createItem=function(){var b=["*","*","*","*"],c={app:a.application.app,timeout:a.application.timeout};switch(a.application.app){case"agent":c.UserId=a.application.UserId;break;case"queue":c.FaxQueueId=a.application.FaxQueueId}switch(a.application.intType){case"always":c.interval=b.join(","),delete a.application.IntervalId;break;case"custom":a.application.alwaysTime||(b[0]=a.application.alwaysTime?"*":a.application.t_from_hm+"-"+a.application.t_to_hm),a.application.wd_from&&a.application.wd_to&&"always"===a.application.wd_from&&"always"===a.application.wd_to?b[1]="*":b[1]=a.application.wd_from&&a.application.wd_to?a.application.wd_from+"-"+a.application.wd_to:"*",a.application.md_from&&a.application.md_to&&"always"===a.application.md_from&&"always"===a.application.md_to?b[2]="*":b[2]=a.application.md_from&&a.application.md_to?a.application.md_from+"-"+a.application.md_to:"*",a.application.m_from&&a.application.m_to&&"always"===a.application.m_from&&"always"===a.application.m_to?b[3]="*":b[3]=a.application.m_from&&a.application.m_to?a.application.m_from+"-"+a.application.m_to:"*",c.interval=b.join(","),delete a.application.IntervalId;break;case"list":c.IntervalId=a.application.IntervalId}return n.save({accountId:f.accountId,controller:"applications"},c).$promise.then(function(){i.show(g.instant("MESSAGE_WELL_DONE"),"success"),h.path("/channels/fax/accounts/view/"+f.accountId+"/actions/list")})["catch"](function(a){i.error(a)})},a.formValidation=function(a){return a},a.next=function(){j.wizard().next()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.accounts.view.actions.wizard",{url:"/wizard",templateUrl:"app/channels/fax/account/view/action/wizard/wizard.html",controller:"FaxAccountViewActionWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("FaxAccountViewCtrl",["$scope","$http","$stateParams","$translate","$location","WizardHandler","socket","xAlert","Modal","FaxAccount","Trunk",function(a,b,c,d,e,f,g,h,i,j,k){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initView=function(){return a.rate=["2400","4800","7200","9600","12000","14400"],a.techs=["SIP","IAX","DADHI","KHOMP"],k.get().$promise.then(function(b){a.trunks=b.rows})["catch"](function(a){h.error(a)}),j.get({id:c.accountId}).$promise.then(function(b){a.account=b})["catch"](function(a){h.error(a)})},a.updateItemFaxAccount=function(){return j.update({id:c.accountId},a.account).$promise.then(function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.accounts.view",{url:"/view/:accountId",templateUrl:"app/channels/fax/account/view/view.html",controller:"FaxAccountViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]})}]}}).state("main.channels.fax.accounts.view.settings",{url:"/settings",templateUrl:"app/channels/fax/account/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("FaxAccountWizardCtrl",["$scope","$http","$location","$translate","xAlert","WizardHandler","Trunk","FaxAccount",function(a,b,c,d,e,f,g,h){a.translate=d,a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initWizard=function(){return a.$translate=d,a.forms={},a.item={},a.rate=["2400","4800","7200","9600","12000","14400"],a.techs=["SIP","IAX","DADHI","KHOMP"],a.item.headerinfo="xCALLY Motion Fax",a.item.ecm="yes",a.item.minrate="4800",a.item.maxrate="14400",a.item.modem="v17,v27,v29",a.item.gateway="no",a.item.faxdetect="no",a.item.t38timeout=5e3,a.item.tech="SIP",g.get().$promise.then(function(b){a.trunks=b.rows})["catch"](function(a){e.error(a)})},a.next=function(){f.wizard().next()},a.previous=function(){f.wizard().previous()},a.exitValidation=function(a){return a},a.createItem=function(){return h.save(a.item).$promise.then(function(a){e.show(d.instant("MESSAGE_WELL_DONE"),"success"),c.path("/channels/fax/accounts/list")})["catch"](function(a){e.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.accounts.wizard",{url:"/wizard",templateUrl:"app/channels/fax/account/wizard/wizard.html",controller:"FaxAccountWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax",{url:"/fax",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("FaxAccount",["$resource",function(a){return a("/api/fax/accounts/:accountId/:controller/:id",{id:"@accountId"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("FaxAttachment",["$resource",function(a){return a("/api/fax/attachments/:id/:controller",{id:"@id"})}]),angular.module("xCallyShuttleApp").factory("FaxMessage",["$resource",function(a){return a("/api/fax/messages/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("FaxReport",["$resource",function(a){return a("/api/report/faxs/:id/:controller1/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("FaxRoom",["$resource",function(a){return a("/api/fax/rooms/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"},patch:{method:"PATCH"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.inbox",{url:"/inbox",template:"
","abstract":!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:10}}})}]),angular.module("xCallyShuttleApp").directive("faxMessage",function(){return{restrict:"E",scope:{message:"="},templateUrl:"app/channels/fax/inbox/message/message.directive.html"}}),angular.module("xCallyShuttleApp").directive("faxNote",function(){return{restrict:"E",scope:{message:"="},templateUrl:"app/channels/fax/inbox/note/note.directive.html"}}),angular.module("xCallyShuttleApp").controller("FaxInboxViewModalNoteCtrl",["$scope","$uibModalInstance","$translate","id","FaxRoom","xAlert",function(a,b,c,d,e,f){a.initModal=function(){a.item={}},a.ok=function(){return e.save({id:d,controller:"messages"},{text:a.item.text,status:"NOTE"}).$promise.then(function(){f.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.error(a)})["finally"](function(){b.close()})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").directive("faxRoom",["$cookieStore","$translate","$uibModal","$timeout","FaxAccount","FaxRoom","FaxMessage","FileUploader","xAlert","usSpinnerService","socket","Tag","Auth","FaxAttachment",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){return{restrict:"E",scope:{workspace:"="},templateUrl:"app/channels/fax/inbox/room/room.directive.html",link:function(o){function p(a){if(a){var b=_.words(a),c=_.map(b,function(a){return a?a[0]:""});return c.join("").toUpperCase()}return!1}var q=[];o.modelOptions={debounce:{"default":500,blur:250},getterSetter:!0},o.panelLeft=null,o.panelRight="col-md-12",o.forms={},o.form={from:"",to:"",disabled:!1},k.socket.on("fax_message:save",function(a){return o.workspace.id&&a.FaxRoomId==o.workspace.id?g.get({id:a.id}).$promise.then(function(a){o.faxRoom||(o.faxRoom={FaxMessages:[]});var b=_.findIndex(o.faxRoom.FaxMessages,{id:a.id});b>-1?_.merge(o.faxRoom.FaxMessages[b],a):o.faxRoom.FaxMessages.unshift(a),o.panelLeft="col-md-6",o.panelRight="col-md-6"})["catch"](function(a){console.error(a)}):void 0}),o.getMessageMailId=function(a){var b=a.UserId?"imgFaxUserId"+a.UserId:"imgFaxVisitorId";return b+=o.faxRoom.id.toString()+a.id.toString()},o.togglePanelLeft=function(){o.panelLeft?(o.panelLeft=null,o.panelRight="col-md-12"):(o.panelLeft="col-md-6",o.panelRight="col-md-6")},o.updateStatus=function(a){c.open({animation:!0,templateUrl:"app/channels/fax/inbox/view/view.status.modal.html",controller:"FaxInboxViewModalStatusCtrl",resolve:{id:function(){return o.workspace.id},status:function(){return a}}})},o.loadAgents=function(){c.open({animation:!0,templateUrl:"app/channels/fax/inbox/view/view.agents.modal.html",controller:"FaxInboxViewModalAgentCtrl",resolve:{roomId:function(){return o.workspace.id}}})},o.cancel=function(){o.form.disabled=!1,o.form.from="",o.form.to=""},o.loadNote=function(){c.open({animation:!0,templateUrl:"app/channels/fax/inbox/note/note.modal.html",controller:"FaxInboxViewModalNoteCtrl",resolve:{id:function(){return o.workspace.id}}})},o.getMessageFaxId=function(a){var b=a.UserId?"imgFaxUserId"+a.UserId:"imgFaxVisitorId";return b+=o.faxRoom.id.toString()+a.id.toString()},o.getMessageRoomAvatar=function(a,b,c,e){d(function(){var d=b?"#imgFaxUserId"+b:"#imgFaxVisitorId";d+=o.faxRoom.id.toString()+a.toString(),angular.element(d).avatar({useGravatar:!1,initials:e?[]:p(c),fallbackImage:e?"api/users/avatar/"+e:"api/users/avatar/unknown_avatar"})})},o.onChanged=function(){return f.update({id:o.workspace.id},{tags:o.form.tags}).$promise["catch"](function(a){i.error(a)})};var r=o.uploader=new h({url:"api/fax/attachments",autoUpload:!0,withCredentials:!0,queueLimit:1,headers:{Authorization:"Bearer "+a.get("token")}});return r.filters.push({name:"pdfFilter",fn:function(a,b){var c="|"+a.type.slice(a.type.lastIndexOf("/")+1)+"|";return-1!=="|pdf|".indexOf(c)}}),r.onWhenAddingFileFailed=function(a,c,d){switch(c.name){case"queueLimit":i.show(b.instant("MESSAGE_QUEUE_LIMIT_EXCEEDED"),"danger");break;case"pdfFilter":i.show(b.instant("MESSAGE_WRONG_FILE_FORMAT"),"danger");break;default:i.show(b.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")}},r.removeFromQueue=function(a){var c=this;return n["delete"]({id:a.basename}).$promise.then(function(){var b=c.getIndexOfItem(a),d=c.queue[b];d.isUploading&&d.cancel(),c.queue.splice(b,1),d._destroy(),c.progress=c._getTotalProgress(),q=_.reject(q,{basename:a.basename})})["catch"](function(){i.show(b.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},r.onErrorItem=function(){i.show(b.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")},r.onSuccessItem=function(a,b){var c={path:b.path,name:b.name,basename:b.basename};a=_.merge(a,c),q.push(c)},o.sendFax=function(){j.spin("spinner-grid"),o.form.disabled=!0;var a={from:o.form.from,to:o.form.to||"",status:"SENDING",FaxAttachments:q};return o.faxRoom?f.save({id:o.workspace.id,controller:"messages"},a).$promise.then(function(){r.queue=[],q=[],i.show(b.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){i.error(a)})["finally"](function(){j.stop("spinner-grid"),o.form.disabled=!1}):g.save(a).$promise.then(function(a){return i.show(b.instant("MESSAGE_MAIL_MESSAGE_SEND_SUCCESS"),"success"),f.get({id:"messages",controller:a.id}).$promise}).then(function(a){r.queue=[],q=[],o.workspace.id=a.id,o.workspace.name=a.from,o.faxRoom=a})["catch"](function(a){i.error(a)})["finally"](function(){j.stop("spinner-grid"),o.form.disabled=!1})},l.get().$promise.then(function(a){o.tags=_.map(a.rows,"name")})["catch"](function(a){console.error(a)}),e.get().$promise.then(function(a){o.faxAccounts=a.rows})["catch"](function(a){console.error(a)}),o.workspace.id?(o.panelLeft="col-md-6",o.panelRight="col-md-6",f.get({id:o.workspace.id}).$promise.then(function(a){o.faxRoom=a,o.form.from=a.FaxAccount.localstationid,o.form.tags=a.tags;var b=_.findLast(a.FaxMessages,{status:"RECEIVED"});return b&&(o.form.to=b.from),"CLOSED"!==o.faxRoom.status&&m.isAgent()?f.update({id:o.workspace.id,controller:"open"},{status:"OPEN"}):void 0})["catch"](function(a){i.error(a)})["finally"](function(){j.stop("spinner-grid"),o.form.disabled=!1})):(o.panelLeft=null,o.panelRight="col-md-12",j.stop("spinner-grid"),void 0)}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.inbox.view.account",{url:"/account/:id",template:"
","abstract":!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:10}}})}]),angular.module("xCallyShuttleApp").controller("FaxInboxViewAccountListCtrl",["$scope","$rootScope","$uibModal","$translate","$stateParams","$state","Tag","usSpinnerService","socket","FaxAccount","FaxRoom","gridOptions","uiGridConstants","Auth","Modal","xAlert",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){a.onChanged=function(){a.getPage(a.query)},a.loadAgents=function(a){c.open({animation:!0,templateUrl:"app/channels/fax/inbox/view/view.agents.modal.html",controller:"FaxInboxViewModalAgentCtrl",resolve:{roomId:a}})},a.tagItems=function(){c.open({animation:!0,templateUrl:"app/channels/fax/inbox/view/view.tags.modal.html",controller:"FaxInboxViewModalTagCtrl",resolve:{id:function(){return a.id}}}).result.then(function(){a.gridApi.selection.clearSelectedRows(),a.id=[]})},a.openRoom=function(b,c){var d=_.find(a.workspaces,{id:b,type:"faxRoom"});d?d.active=!0:a.workspaces.push({id:b,name:c,type:"faxRoom","class":"icon-paper-plane",active:!0})},a.getPage=function(b){h.spin("spinner-grid");var c={accountId:e.id,controller:"rooms"};return b&&_.merge(c,b),a.query&&_.merge(c,a.query),j.query(c).$promise.then(function(b){a.gridOptions.data=b})["catch"](function(a){p.error(a)})["finally"](function(){h.stop("spinner-grid")})},a.deleteItem=o.confirm["delete"](function(b){var c={id:b};return k.remove(c).$promise.then(function(){a.getPage(),p.show(d.instant("MESSAGE_WELL_DONE")+"!","success"),a.gridApi.selection.clearSelectedRows(),a.id=[]})["catch"](function(a){p.error(a)})}),a.deleteItems=o.confirm["delete"](function(){var b={ids:a.id};return k["delete"](b).$promise.then(function(){a.getPage(),p.show(d.instant("MESSAGE_WELL_DONE")+"!","success"),a.gridApi.selection.clearSelectedRows(),a.id=[]})["catch"](function(a){p.error(a)})}),a.initView=function(){a.id=[],a.isAdmin=n.isAdmin(),a.isAgent=n.isAgent(),a.uncheckable=!1,a.query={status:"UNMANAGED",tags:[]},a.$watch("query.status",function(){a.getPage(a.query)},!0),j.get().$promise.then(function(b){a.faxAccounts=b.rows})["catch"](function(a){console.error(a)}),g.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)}),a.gridOptions={exporterCsvFilename:"fax_rooms.csv",enableRowHeaderSelection:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,enableFiltering:!0,enableSorting:!0,enableGridMenu:!1,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,enableSelectAll:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,columnDefs:[{name:"lastEvent",displayName:"",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
",width:30,enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"id",displayName:"Id",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
#{{row.entity.id}}
",width:75,enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"from",cellClass:"text-center"},{name:"updatedAt",cellFilter:"date:'MM/dd/yyyy HH:mm'",width:120,enableSorting:!1,enableFiltering:!1,sort:{direction:m.DESC}},{name:"action",cellTemplate:'',enableSorting:!1,cellClass:"ui-grid-vcenter",width:90,enableFiltering:!1,enableColumnMenu:!1}],data:[],onRegisterApi:function(b){a.gridApi=b,a.gridApi.selection&&(a.gridApi.selection.on.rowSelectionChanged(a,function(b){b.isSelected?a.id.push(a.gridApi.grid.options.primaryKey?b.entity[a.gridApi.grid.options.primaryKey]:b.entity.id):_.pull(a.id,a.gridApi.grid.options.primaryKey?b.entity[a.gridApi.grid.options.primaryKey]:b.entity.id)}),a.gridApi.selection.on.rowSelectionChangedBatch(a,function(b){b[0].isSelected?a.id=_.union(a.id,_.map(b,a.gridApi.grid.options.primaryKey?"entity."+a.gridApi.grid.options.primaryKey:"entity.id")):_.map(b,a.gridApi.grid.options.primaryKey?"entity."+a.gridApi.grid.options.primaryKey:"entity.id").forEach(function(b){_.pull(a.id,b)})}))}},i.socket.on("fax_room:save",function(b){var c=_.find(a.gridOptions.data,{id:b.id});c?_.merge(c,b):a.gridOptions.data.unshift(b)}),i.socket.on("fax_room:remove",function(b){_.remove(a.gridOptions.data,{id:b.id})}),a.getPage(a.query)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.inbox.view.account.list",{url:"/list",templateUrl:"app/channels/fax/inbox/view/account/list/list.html",controller:"FaxInboxViewAccountListCtrl",data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:10}}})}]),angular.module("xCallyShuttleApp").controller("FaxInboxViewModalAgentCtrl",["$scope","$uibModalInstance","$translate","$stateParams","Agent","FaxRoom","xAlert","roomId",function(a,b,c,d,e,f,g,h){a.initModal=function(){a.agents=[],a.item={agents:[]},e.get().$promise.then(function(b){b.rows.forEach(function(b){a.agents.push(b)})})["catch"](function(a){console.error(a)}),f.query({id:h,controller:"agents"}).$promise.then(function(b){b.forEach(function(b){a.agents.push(b),a.item.agents.push(b.id)})})["catch"](function(a){console.error(a)}),a.modal={dismissable:!0,title:"APPLICATION_MESSAGE_SEND_RETRY",text:"MESSAGE_MESSAGE_SEND_RETRY",buttons:[{classes:"btn btn-success",text:"APPLICATION_RETRY",click:function(a){b.close(a)}},{classes:"btn default",text:"APPLICATION_CANCEL",click:function(a){b.dismiss(a)}}]}},a.ok=function(){return f.update({id:h,controller:"agents",agents:a.item.agents}).$promise.then(function(){g.show(c.instant("MESSAGE_WELL_DONE"),"success"),b.close()})["catch"](function(a){console.error(a)})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("FaxInboxViewCtrl",["$scope","$timeout","$location","FaxAccount","xAlert",function(a,b,c,d,e){a.initView=function(){return d.get().$promise.then(function(b){var d=null;a.faxAccounts=b.rows,a.faxAccounts.length&&(d="/channels/fax/inbox/view/account/"+a.faxAccounts[0].id+"/list"),d&&c.path(d)})["catch"](function(a){e.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.inbox.view",{url:"/view",templateUrl:"app/channels/fax/inbox/view/view.html",controller:"FaxInboxViewCtrl",reload:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/inbox.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("FaxInboxViewModalStatusCtrl",["$scope","$uibModalInstance","$translate","$stateParams","$location","FaxRoom","xAlert","id","status",function(a,b,c,d,e,f,g,h,i){a.initModal=function(){a.modal={dismissable:!0,title:"APPLICATION_STATUS",html:"

"+c.instant("MESSAGE_CHANGE_STATUS")+" "+i+"?

",status:i,buttons:[{classes:"btn btn-success",text:"APPLICATION_CONFIRM",click:function(a){return f.update({id:h},{status:i}).$promise.then(function(){g.show(c.instant("MESSAGE_STATUS_UPDATE_SUCCESS"),"success"),b.close(a)})["catch"](function(a){g.error(a)})}},{classes:"btn default",text:"APPLICATION_CANCEL",click:function(a){b.dismiss(a)}}]}}}]),angular.module("xCallyShuttleApp").controller("FaxInboxViewModalTagCtrl",["$scope","$uibModalInstance","$translate","$stateParams","Tag","FaxRoom","xAlert","id",function(a,b,c,d,e,f,g,h){console.log(h),a.initModal=function(){return a.tags=[],a.item={tags:[]},a.modal={dismissable:!0,title:"APPLICATION_MESSAGE_SEND_RETRY",text:"MESSAGE_MESSAGE_SEND_RETRY",buttons:[{"class":"btn-success",text:"APPLICATION_TAG",click:function(){var d={status:!0};return f.patch({id:h},{tags:a.item.tags}).$promise["catch"](function(){d.status=!1,g.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})["finally"](function(){b.close(d)})}},{"class":"default",text:"APPLICATION_CANCEL",click:function(a){b.dismiss(a)}}]},e.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").factory("FaxQueue",["$resource",function(a){return a("/api/fax/queues/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("FaxQueueListCtrl",["$scope","FaxQueue","gridOptions","Auth","$uibModal",function(a,b,c,d,e){a.initView=function(){a.Auth=d;var e={exporterCsvFilename:"fax_queues.csv",columnDefs:[{name:"name"},{name:"description"},{name:"strategy"},{name:"timeout"},{name:"action",width:200,buttons:[{"class":"blue-hoki",href:"/channels/fax/queues/view/{{row.entity.id}}/settings",name:"settings"},{"class":"green-meadow",href:"/channels/fax/queues/view/{{row.entity.id}}/agents",name:"agents",hide:"user"===d.getCurrentUser().role},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,e,a)},a.createItem=function(){var b=e.open({animation:!0,templateUrl:"app/channels/fax/queue/list/list.create.modal.html",controller:"FaxQueueListCreateCtrl"});b.result.then(function(b){console.log(b),a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("FaxQueueListCreateCtrl",["$scope","$uibModalInstance","$translate","xAlert","FaxQueue",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return e.save(a.item).$promise.then(function(a){d.show(c.instant("MESSAGE_WELL_DONE"),"success"),b.close(a)})["catch"](function(a){d.show(a.data.message,"danger")})},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.queues.list",{url:"/list",templateUrl:"app/channels/fax/queue/list/list.html",controller:"FaxQueueListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.queues",{url:"/queues",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:10}}})}]),angular.module("xCallyShuttleApp").controller("FaxQueueViewCtrl",["$scope","$http","$translate","$stateParams","xAlert","FaxQueue","Team","Auth",function(a,b,c,d,e,f,g,h){a.Auth=h;var i=function(){return{select:function(b){return f.save({id:a.queue.id,controller:"agents"},{agents:b,penalty:a.queue.penalty}).$promise.then(function(){a.getTeams()})["catch"](function(a){console.error(a)})},deselect:function(b){return f["delete"]({id:a.queue.id,controller:"agents",agents:b}).$promise.then(function(){a.getTeams()})["catch"](function(a){console.error(a)})}}};a.getQueue=function(){return f.get({id:d.id}).$promise.then(function(b){b.penalty=0,a.queue=b})["catch"](function(a){e.show(a.message,"danger")})},a.updateFaxQueue=function(){return f.update({id:d.id},{name:a.queue.name,description:a.queue.description,timeout:a.queue.timeout,strategy:a.queue.strategy}).$promise.then(function(){e.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){e.show(a.message,"danger")})},a.getTeams=function(){return g.get({controller:"associations"}).$promise.then(function(b){return a.teams=b.rows,f.get({id:d.id,controller:"agents"}).$promise}).then(function(b){ComponentsDropdowns.bindMailQueue(a.teams,_.map(b.rows,function(a){return{id:a.id,penalty:a.UserHasFaxQueue.penalty}}),i)})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.queues.view",{url:"/view/:id",templateUrl:"app/channels/fax/queue/view/view.html",controller:"FaxQueueViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.fax.queues.view.settings",{url:"/settings",templateUrl:"app/channels/fax/queue/view/view.settings.html"}).state("main.channels.fax.queues.view.agents",{url:"/agents",templateUrl:"app/channels/fax/queue/view/view.agents.html",cache:!1,serie:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.realtime",{url:"/realtime",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:10}}})}]),angular.module("xCallyShuttleApp").controller("FaxRealtimeViewAgentCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","Agent","Pause","Action","FaxQueue","usSpinnerService","$q","uiGridConstants","Auth",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){function o(){return k.spin("spinner-grid"),g.get(t).$promise.then(function(b){a.gridOptions.totalItems=b.count,a.gridOptions.data=[],b.rows.forEach(function(a){q(a)})})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){k.stop("spinner-grid")})}function p(){e.socket.on("agent:save",function(b){var c=_.find(a.gridOptions.data,{agentId:b.id,isAgent:!0});c&&(c.online=b.online,c.lastLoginAt=b.lastLoginAt,c.pause=b.faxPause,c.pauseType=b.pauseType,c.lastPauseAt=b.lastPauseAt,c.ipaddr=b.ipaddr,c.port=b.port,c.fullcontact=b.fullcontact,c.useragent=b.useragent,c.lastms=b.lastms,c.internal=b.internal,_.map(a.gridOptions.data,function(a){a.isAgent||a.agentId!==b.id||(a.online=b.online)}))}),e.socket.on("agent:remove",function(b){_.remove(a.gridOptions.data,{agentId:b.id})}),e.socket.on("user_has_fax_queue:save",function(b){var c=_.includes(_.map(a.CurrentUser.PFaxQueues,"id"),b.FaxQueueId)||n.isAdmin();if(c){var d=_.find(a.gridOptions.data,{agentId:b.UserId,isAgent:!0});if(d){var e=a.gridOptions.data.indexOf(d); +a.gridOptions.data.splice(e+1,0,{isAgent:!1,agentId:b.UserId,queue:b.queue,queueId:b.FaxQueueId,agent:b.membername,online:d.online})}}}),e.socket.on("user_has_fax_queue:remove",function(b){_.remove(a.gridOptions.data,{agentId:b.UserId,queueId:b.FaxQueueId})})}function q(b){a.gridOptions.data.push({isAgent:!0,agentId:b.id,agent:b.name,online:b.online,lastLoginAt:b.lastLoginAt,lastPauseAt:b.lastPauseAt,pause:b.faxPause,pauseType:b.pauseType,ipaddr:b.ipaddr,port:b.port,fullcontact:b.fullcontact,useragent:b.useragent,lastms:b.lastms,internal:b.internal,$$treeLevel:0}),b.FaxQueues.forEach(function(c){a.gridOptions.data.push({isAgent:!1,agentId:b.id,queue:c.name,queueId:c.id,agent:b.name,online:b.online})})}function r(){return h.get().$promise.then(function(b){a.pauses=b.rows,e.syncUpdates("pause",a.pauses)})["catch"](function(a){f.show(a.message,"danger")})}function s(){return j.get().$promise.then(function(b){a.faxQueues=b.rows,e.syncUpdates("fax_queue",a.faxQueues)})["catch"](function(a){f.show(a.message,"danger")})}a.faxQueues=[];var t={controller:"realtime",controller1:"fax",offset:0,limit:10};a.moment=moment,a.initAgents=function(){a.gridOptions={enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,multiSelect:!0,showTreeExpandNoChildren:!0,columnDefs:[{name:"name",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{row.entity.agent}} <{{row.entity.internal}}>
'},{name:"online",displayName:"APPLICATION_ONLINE",width:150,headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
({{hhours}}:{{mminutes}}:{{sseconds}})
',filter:{type:m.filter.SELECT,selectOptions:[{value:"true",label:"ONLINE"},{value:"false",label:"OFFLINE"}]}},{name:"faxPause",width:300,displayName:"APPLICATION_PAUSE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
({{row.entity.pauseType}}){{hhours}}:{{mminutes}}:{{sseconds}}
',filter:{type:m.filter.SELECT,selectOptions:[{value:"true",label:"PAUSED"},{value:"false",label:"NOT PAUSED"}]},enableSorting:!1,enableColumnMenu:!1},{name:"queue",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"action",displayName:"",width:170,cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1}],data:[],gridMenuTitleFilter:function(a){var b=l.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length)}),a.gridApi.treeBase.on.rowExpanded(a,function(b){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length+b.treeNode.children.length)}),a.gridApi.treeBase.on.rowCollapsed(a,function(b){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length-b.treeNode.children.length)}),a.gridApi.core.on.sortChanged(a,function(a,b){0===b.length?t.order=null:t.order=b[0].name+" "+b[0].sort.direction.toUpperCase(),o()}),a.gridApi.pagination.on.paginationChanged(a,function(a,b){t.offset=(a-1)*b,t.limit=b,o()}),a.gridApi.core.on.filterChanged(a,function(){var a=this.grid;a.columns.forEach(function(a){a.filters[0].term?t[a.name]=a.filters[0].term:delete t[a.name]}),o()})}},o(),r(),s(),p()};var u=function(a){var b=a?30*a+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("agent"),e.unsyncUpdates("user_has_fax_queue")}),a.pause=function(b,c,e){return e&&(a.pauseType=null),i.save({name:c,agent:b,type:e||"DEFAULT PAUSE",data4:e||"DEFAULT PAUSE",channel:"fax"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},a.joinQueue=function(e){var g=c.open({animation:!0,templateUrl:"app/channels/fax/realtime/view/agent/queue.modal.add.html",controller:"FaxRealtimeViewAgentQueueModalCtrl",resolve:{queues:function(){return _.reject(a.faxQueues,function(b){return!!_.find(a.gridOptions.data,{queue:b.name,isAgent:!1,agentId:e})})}}});g.result.then(function(b){return i.save({name:"QueueAdd",agent:e,queues:_.filter(a.faxQueues,function(a){return _.includes(b.queues,a.id)}),channel:"fax",data1:e,data3:b.queues.join(","),data4:"fax"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},function(){b.info("Modal dismissed at: "+new Date)})},a.leaveQueue=function(a,b){return i.save({name:"QueueRemove",agent:a,queueId:b,channel:"fax",data1:a,data3:b,data4:"fax"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},a.showInfo=function(a){c.open({animation:!0,templateUrl:"app/channels/fax/realtime/view/agent/agent.modal.info.html",controller:"FaxRealtimeViewAgentInfoModalCtrl",resolve:{agent:a}})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.realtime.view.agents",{url:"/agents",templateUrl:"app/channels/fax/realtime/view/agent/agent.html",controller:"FaxRealtimeViewAgentCtrl"})}]),angular.module("xCallyShuttleApp").controller("FaxRealtimeViewAgentInfoModalCtrl",["$scope","$uibModalInstance","$http","agent",function(a,b,c,d){a.agent=d,a.close=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("FaxRealtimeViewAgentQueueModalCtrl",["$scope","$uibModalInstance","$http","queues",function(a,b,c,d){a.queues=d,a.item={},a.save=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("FaxRealtimeViewApplicationCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","ReportFaxSession","usSpinnerService","$q","uiGridConstants","$timeout",function(a,b,c,d,e,f,g,h,i,j,k){function l(){return h.spin("spinner-grid"),g.get({controller:"waiting",controller2:"applications"}).$promise.then(function(b){a.gridOptions.data=b.rows})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){m(),h.stop("spinner-grid")})}function m(){e.socket.on("report_fax_session:save",function(b){var c=_.find(a.gridOptions.data,{id:b.id});c?(_.merge(c,b),b.leaveAt&&k(function(){_.remove(a.gridOptions.data,{id:b.id})},1e4)):b.leaveAt||a.gridOptions.data.push(b)}),e.socket.on("report_fax_session:remove",function(b){_.remove(a.gridOptions.data,{id:b.id})})}a.moment=moment,a.initApplications=function(){a.gridOptions={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"uniqueid",displayName:"APPLICATION_UNIQUEID",headerCellFilter:"translate"},{name:"accountname",displayName:"APPLICATION_ACCOUNT",headerCellFilter:"translate"},{name:"application",displayName:"APPLICATION_APPLICATION",headerCellFilter:"translate"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}{{\'APPLICATION_UNMANAGED\' | translate}} [{{hhours}}:{{mminutes}}:{{sseconds}}]
',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"membername",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.membername || ''}}
"},{name:"queuename",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.queuename || ''}}
"}],data:[],gridMenuTitleFilter:function(a){var b=i.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){n(a.gridOptions.data.length)})}},l()};var n=function(a){var b=a?30*a+60:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("report_fax_session")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.realtime.view.applications",{url:"/applications",templateUrl:"app/channels/fax/realtime/view/application/application.html",controller:"FaxRealtimeViewApplicationCtrl"})}]),angular.module("xCallyShuttleApp").controller("FaxRealtimeViewCtrl",["$scope","$state",function(a,b){a.agents=[{name:"Queues",link:"main.channels.fax.realtime.view.agents.queues"},{name:"Timeline",link:"main.channels.fax.realtime.view.agents.timeline"}],a.sessions=[{name:"Sessions",link:"main.channels.fax.realtime.view.sessions"}],a.tree={queues:[{name:"Queues",link:"main.channels.fax.realtime.view.agents.queues"},{name:"Timeline",link:"main.channels.fax.realtime.view.agents.timeline"}],sessions:[{name:"Sessions",link:"main.channels.fax.realtime.view.sessions"}]}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.realtime.view",{url:"/view",templateUrl:"app/channels/fax/realtime/view/view.html",controller:"FaxRealtimeViewCtrl"})}]),angular.module("xCallyShuttleApp").factory("ReportFaxRoom",["$resource",function(a){return a("/api/report/fax/rooms/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ReportFaxSession",["$resource",function(a){return a("/api/report/fax/sessions/:id/:controller/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("MailAccount",["$resource",function(a){return a("/api/mail/accounts/:accountId/:controller/:id",{id:"@accountId"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.accounts",{url:"/accounts",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:9}}})}]),angular.module("xCallyShuttleApp").controller("MailAccountListCtrl",["$scope","$stateParams","gridOptions","MailAccount","socket",function(a,b,c,d,e){a.initView=function(){e.socket.on("mail_server_in:save",function(b){var c=_.find(a.gridOptions.data,{id:b.MailAccountId});c&&(c.MailServerIn.state=b.state,c.MailServerIn.source=JSON.parse(b.source))});var f={exporterCsvFilename:"mail_accounts.csv",columnDefs:[{name:"name"},{name:"description"},{name:"address"},{name:"MailServerIn.state",width:100,cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.MailServerIn.state}}
",displayName:"IMAP",enableSorting:!1,enableFiltering:!1},{name:"MailServerOut.state",width:110,cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.MailServerOut.state}}
",displayName:"SMTP",enableSorting:!1,enableFiltering:!1},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/channels/mail/accounts/view/{{row.entity.id}}/settings",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(d,f,a,{accountId:b.accountId})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.accounts.list",{url:"/list",templateUrl:"app/channels/mail/account/list/list.html",controller:"MailAccountListCtrl"})}]),angular.module("xCallyShuttleApp").factory("MailServerIn",["$resource",function(a){return a("/api/mail/servers/in/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("MailServerOut",["$resource",function(a){return a("/api/mail/servers/out/:id/:controller",{id:"@id"},{update:{method:"PUT"},test:{method:"GET"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.accounts.view.actions",{url:"/actions",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("MailAccountViewActionListCtrl",["$scope","gridOptions","MailAccount","$http","$translate","$stateParams",function(a,b,c,d,e,f){a.initActons=function(){var d={draggable:!0,exporterCsvFilename:"mail_applications.csv",enableSorting:!1,enableFiltering:!1,columnDefs:[{name:"app",cellClass:"text-center"},{name:"name",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.MailQueue ? row.entity.MailQueue.name : row.entity.User.name}}
"},{name:"timeout",cellClass:"text-center"},{name:"interval",cellClass:"text-center"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/channels/mail/accounts/view/{{row.entity.MailAccountId}}/actions/view/{{row.entity.id}}",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.app, row.entity.id)"}]}]};a.gridOptions=b.gridOptions(c,d,a,{accountId:f.accountId,controller:"applications"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.accounts.view.actions.list",{url:"/list",templateUrl:"app/channels/mail/account/view/action/list/list.html",controller:"MailAccountViewActionListCtrl"})}]),angular.module("xCallyShuttleApp").controller("MailAccountViewActionViewCtrl",["$scope","$http","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval","Agent","Interval","MailQueue",function(a,b,c,d,e,f,g,h,i,j,k,l,m){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initAction=function(){a.$application=i.application,a.$stateParams=c,a.$interval=j.interval,a.forms={},a.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"}],b.get("/api/mail/applications/"+c.actionId).success(function(b){if(a.application=b,a.application.alwaysTime=!1,a.application.IntervalId)a.application.intType="list";else switch(a.application.interval){case"*,*,*,*":a.application.intType="always";break;default:a.application.intType="custom"}var c=a.application.interval.split(",");"*"===c[0]?a.application.alwaysTime=!0:(a.application.t_from=moment(new Date),a.application.t_to=moment(new Date),a.application.t_from.hour(c[0].split("-")[0].split(":")[0]),a.application.t_from.minute(c[0].split("-")[0].split(":")[1]),a.application.t_to.hour(c[0].split("-")[1].split(":")[0]),a.application.t_to.minute(c[0].split("-")[1].split(":")[1])),"*"===c[1]?(a.application.wd_from="always",a.application.wd_to="always"):(a.application.wd_from=c[1].split("-")[0],a.application.wd_to=c[1].split("-")[1]),"*"===c[2]?(a.application.md_from="always",a.application.md_to="always"):(a.application.md_from=c[2].split("-")[0],a.application.md_to=c[2].split("-")[1]),"*"===c[3]?(a.application.m_from="always",a.application.m_to="always"):(a.application.m_from=c[3].split("-")[0],a.application.m_to=c[3].split("-")[1]),a.$watch("application.t_from",function(b){a.application.t_from_hm=moment(b).format("HH:mm")}),a.$watch("application.t_to",function(b){a.application.t_to_hm=moment(b).format("HH:mm")})}).error(function(a){console.error(a)})},a.getQueues=function(){return m.get().$promise.then(function(b){a.queues=b.rows})["catch"](function(a){console.error(a)})},a.getAgents=function(){return k.get().$promise.then(function(b){a.agents=b.rows})["catch"](function(a){console.error(a)})},a.getIntervals=function(){return l.get().$promise.then(function(b){a.intervals=b.rows})["catch"](function(a){console.error(a)})},a.updateItem=function(){var e=["*","*","*","*"],g={app:a.application.app,timeout:a.application.timeout,MailAccountId:c.id};switch(a.application.app){case"agent":g.UserId=a.application.UserId;break;case"queue":g.MailQueueId=a.application.MailQueueId}switch(a.application.intType){case"always":g.interval=e.join(","),delete a.application.IntervalId;break;case"custom":a.application.alwaysTime||(e[0]=a.application.alwaysTime?"*":a.application.t_from_hm+"-"+a.application.t_to_hm),a.application.wd_from&&a.application.wd_to&&"always"===a.application.wd_from&&"always"===a.application.wd_to?e[1]="*":e[1]=a.application.wd_from&&a.application.wd_to?a.application.wd_from+"-"+a.application.wd_to:"*",a.application.md_from&&a.application.md_to&&"always"===a.application.md_from&&"always"===a.application.md_to?e[2]="*":e[2]=a.application.md_from&&a.application.md_to?a.application.md_from+"-"+a.application.md_to:"*",a.application.m_from&&a.application.m_to&&"always"===a.application.m_from&&"always"===a.application.m_to?e[3]="*":e[3]=a.application.m_from&&a.application.m_to?a.application.m_from+"-"+a.application.m_to:"*",g.interval=e.join(","),delete a.application.IntervalId;break;case"list":g.IntervalId=a.application.IntervalId}b.put("/api/mail/applications/"+c.actionId,g).success(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.accounts.view.actions.view",{url:"/view/:actionId",templateUrl:"app/channels/mail/account/view/action/view/view.html",controller:"MailAccountViewActionViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("MailAccountViewActionWizardCtrl",["$scope","$http","Agent","MailQueue","Interval","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval",function(a,b,c,d,e,f,g,h,i,j,k,l,m){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initWizard=function(){a.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"}],a.$application=l.application,a.$stateParams=f,a.$interval=m.interval,a.forms={},a.application={alwaysTime:!0},a.$watch("application.t_from",function(b){a.application.t_from_hm=moment(b).format("HH:mm")}),a.$watch("application.t_to",function(b){a.application.t_to_hm=moment(b).format("HH:mm")})},a.getQueues=function(){return d.get().$promise.then(function(b){a.queues=b.rows})["catch"](function(a){console.error(a)})},a.getAgents=function(){return c.get().$promise.then(function(b){a.agents=b.rows})["catch"](function(a){console.error(a)})},a.getIntervals=function(){return e.get().$promise.then(function(b){a.intervals=b.rows})["catch"](function(a){console.error(a)})},a.createItem=function(){var c=["*","*","*","*"],d={app:a.application.app,timeout:a.application.timeout,MailAccountId:f.accountId};switch(a.application.app){case"agent":d.UserId=a.application.UserId;break;case"queue":d.MailQueueId=a.application.MailQueueId}switch(a.application.intType){case"always":d.interval=c.join(","),delete a.application.IntervalId;break;case"custom":a.application.alwaysTime||(c[0]=a.application.alwaysTime?"*":a.application.t_from_hm+"-"+a.application.t_to_hm),a.application.wd_from&&a.application.wd_to&&"always"===a.application.wd_from&&"always"===a.application.wd_to?c[1]="*":c[1]=a.application.wd_from&&a.application.wd_to?a.application.wd_from+"-"+a.application.wd_to:"*",a.application.md_from&&a.application.md_to&&"always"===a.application.md_from&&"always"===a.application.md_to?c[2]="*":c[2]=a.application.md_from&&a.application.md_to?a.application.md_from+"-"+a.application.md_to:"*",a.application.m_from&&a.application.m_to&&"always"===a.application.m_from&&"always"===a.application.m_to?c[3]="*":c[3]=a.application.m_from&&a.application.m_to?a.application.m_from+"-"+a.application.m_to:"*",d.interval=c.join(","),delete a.application.IntervalId;break;case"list":d.IntervalId=a.application.IntervalId}b.post("/api/mail/applications",d).success(function(){h.path("/channels/mail/accounts/view/"+f.accountId+"/actions/list")}).error(function(a){console.error(a)})},a.formValidation=function(a){return a},a.next=function(){j.wizard().next()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.accounts.view.actions.wizard",{url:"/wizard",templateUrl:"app/channels/mail/account/view/action/wizard/wizard.html",controller:"MailAccountViewActionWizardCtrl"})}]),angular.module("xCallyShuttleApp").factory("MailDisposition",["$resource",function(a){return a("/api/mail/dispositions/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("MailInboxViewModaDispositionAddCtrl",["$scope","$uibModalInstance","MailAccount","id","xAlert","$translate",function(a,b,c,d,e,f){a.ok=function(){return c.save({accountId:d,controller:"dispositions"},{name:a.name}).$promise.then(function(a){b.close(a)})["catch"](function(a){e.show(f.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("MailAccountDispositionViewCtrl",["$scope","$stateParams","$uibModal","$translate","MailAccount","xAlert",function(a,b,c,d,e,f){a.initView=function(){return e.get({accountId:b.accountId,controller:"dispositions"}).$promise.then(function(b){a.dispositions=b.rows})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.updateDisposition=function(a,c){return e.update({accountId:b.accountId,controller:"dispositions",id:a},{name:c}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.deleteDisposition=function(c){return console.log("delete"),e.remove({accountId:b.accountId,controller:"dispositions",id:c}).$promise.then(function(){_.remove(a.dispositions,{id:c})})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.addDisposition=function(){return c.open({animation:!0,templateUrl:"app/channels/mail/account/view/disposition/modal/add.modal.html",controller:"MailInboxViewModaDispositionAddCtrl",resolve:{id:function(){return b.accountId}}}).result.then(function(b){b&&a.dispositions.push(b)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.accounts.view.dispositions",{url:"/dispositions",controller:"MailAccountDispositionViewCtrl",templateUrl:"app/channels/mail/account/view/disposition/view/view.html"})}]),angular.module("xCallyShuttleApp").controller("MailAccountSettingViewCtrl",["$scope","$http","$stateParams","$translate","$location","$timeout","socket","xAlert","MailAccount","MailMessage","MailServerIn","MailServerOut","usSpinnerService","List",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){a.imapDisabled=!1,a.smtpDisabled=!1,a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.CONST_TIMEOUT=3e4,a.$on("$destroy",function(){g.socket.removeAllListeners("mail_message:sent"),g.socket.removeAllListeners("mail_message:failed")}),a.initView=function(){return g.socket.on("mail_message:sent",function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success"),m.stop("spinner-grid")}),g.socket.on("mail_message:failed",function(){h.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger"),m.stop("spinner-grid")}),n.get().$promise.then(function(b){a.lists=b.rows})["catch"](function(a){console.error(a)}),i.get({id:c.accountId}).$promise.then(function(b){a.account=b,a.account.MailServerIn.source=JSON.parse(a.account.MailServerIn.source),a.account.MailServerOut.source=JSON.parse(a.account.MailServerOut.source),g.socket.on("mail_server_in:state",function(b){if(b.id===a.account.MailServerIn.id)switch(a.account.MailServerIn.state=b.state,a.account.MailServerIn.source=JSON.parse(b.source),b.state){case"CONNECTING":break;default:m.stop("spinner-grid"),a.imapDisabled=!1}}),g.socket.on("mail_server_out:state",function(b){if(b.id===a.account.MailServerOut.id)switch(a.account.MailServerOut.state=b.state,a.account.MailServerOut.source=JSON.parse(b.source),b.state){case"CONNECTING":break;default:m.stop("spinner-grid"),a.smtpDisabled=!1}})})["catch"](function(a){h.show(a.message,"danger")})},a.updateItemMailAccount=function(){return i.update({id:c.accountId},{name:a.account.name,description:a.account.description,address:a.account.address,fidelity:a.account.fidelity,timeout:a.account.timeout,ListId:a.account.ListId}).$promise.then(function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.show(a.message,"danger")})},a.updateItemMailServerIn=function(){var b=angular.copy(a.account.MailServerIn);return delete b.source,m.spin("spinner-grid"),a.imapDisabled=!0,k.update({id:b.id},b).$promise.then(function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.show(a.message,"danger")})},a.updateItemMailServerOut=function(){var b=angular.copy(a.account.MailServerOut);return delete b.source,m.spin("spinner-grid"),a.smtpDisabled=!0,l.update({id:b.id},b).$promise.then(function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.show(a.message,"danger")})},a.test=function(){return m.spin("spinner-grid"),a.smtpDisabled=!0,l.update({id:a.account.MailServerOut.id},{state:"CONNECTING"}).$promise["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.accounts.view.settings",{url:"/settings",controller:"MailAccountSettingViewCtrl",templateUrl:"app/channels/mail/account/view/setting/view/view.html"})}]),angular.module("xCallyShuttleApp").controller("MailAccountViewCtrl",["$scope","$stateParams","MailAccount",function(a,b,c){a.initView=function(){return c.get({id:b.accountId}).$promise.then(function(b){a.account=b})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.accounts.view",{url:"/view/:accountId",controller:"MailAccountViewCtrl",templateUrl:"app/channels/mail/account/view/view.html",resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]})}]}})}]),angular.module("xCallyShuttleApp").controller("MailAccountWizardCtrl",["$scope","$http","$location","$translate","WizardHandler","xAlert","MailAccount",function(a,b,c,d,e,f,g){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initWizard=function(){a.forms={},a.item={MailServerIn:{port:993,ssl:!0,"delete":!1,protocol:"IMAP",filter:"UNSEEN",mailbox:"INBOX",keepalive:!0,authTimeout:5,connTimeout:10},MailServerOut:{port:465,ssl:!0}}},a.goNext=function(){e.wizard().next()},a.formValidation=function(a){return a},a.createItem=function(){return g.save(a.item).$promise.then(function(){c.path("/channels/mail/accounts/list")})["catch"](function(a){f.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.accounts.wizard",{url:"/wizard",templateUrl:"app/channels/mail/account/wizard/wizard.html",controller:"MailAccountWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.inbox",{url:"/inbox",template:"
","abstract":!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:9}}})}]),angular.module("xCallyShuttleApp").directive("mailMessage",["$rootScope","$translate","MailMessage","List","xAlert","Lightbox",function(a,b,c,d,e,f){return{restrict:"E",scope:{message:"=",listId:"="},templateUrl:"app/channels/mail/inbox/message/message.directive.html",link:function(g){g.openPreview=function(a){f.openModal(["api/mail/attachments/"+a],0)},g.openContact=function(c){return g.listId?d.get({listId:g.listId,controller:"contacts",email:c}).$promise.then(function(b){a.$root.workspaces.push({active:!0,"class":"icon-user",contactID:b.id,name:b.email,type:"contact"})})["catch"](function(a){console.error(a)}):void e.show(b.instant("MESSAGE_NO_LIST_CONFIGURED"),"info")},g.retry=function(a){return c.update({id:a,status:"SENDING"}).$promise["catch"](function(a){console.error(a)})}}}}]),angular.module("xCallyShuttleApp").directive("mailNote",["$translate","Modal","Auth","MailMessage","xAlert",function(a,b,c,d,e){return{restrict:"E",scope:{message:"="},templateUrl:"app/channels/mail/inbox/note/note.directive.html",link:function(f){f.Auth=c,f.deleteNote=b.confirm["delete"](function(){return d.remove({id:f.message.id}).$promise.then(function(){e.show(a.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})})}}}]),angular.module("xCallyShuttleApp").controller("MailInboxViewModalNoteCtrl",["$scope","$uibModalInstance","$translate","id","MailRoom","xAlert",function(a,b,c,d,e,f){a.initModal=function(){a.item={}},a.ok=function(){return e.save({id:d,controller:"messages"},{text:a.item.text,status:"NOTE"}).$promise.then(function(){ +f.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(){f.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})["finally"](function(){b.close()})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").directive("mailRoom",["$cookieStore","$translate","$uibModal","$timeout","Tag","CannedAnswer","MailAttachment","MailAccount","MailRoom","MailMessage","FileUploader","xAlert","usSpinnerService","socket","Auth",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){return{restrict:"E",scope:{workspace:"="},templateUrl:"app/channels/mail/inbox/room/room.directive.html",link:function(d){function p(a){return a?"
"+a.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\n/g,"
")+"
":void 0}var q=[];d.modelOptions={debounce:{"default":500,blur:250},getterSetter:!0},d.panelLeft=null,d.panelRight="col-md-12",d.forms={},d.form={from:[],to:[],sto:[],cc:[],scc:[],tags:[],html:"",disabled:!1},n.socket.on("mail_message:remove",function(a){_.remove(d.mailRoom.MailMessages,{id:a.id})}),n.socket.on("mail_message:save",function(a){return d.workspace.id&&a.MailRoomId==d.workspace.id?(d.workspace.active||d.workspace.unread++,j.get({id:a.id}).$promise.then(function(a){d.mailRoom||(d.mailRoom={MailMessages:[]});var b=_.findIndex(d.mailRoom.MailMessages,{id:a.id});b>-1?_.merge(d.mailRoom.MailMessages[b],a):d.mailRoom.MailMessages.unshift(a),d.panelLeft="col-md-6",d.panelRight="col-md-6"})["catch"](function(a){console.error(a)})):void 0});var r=d.uploader=new k({url:"api/mail/attachments",autoUpload:!0,withCredentials:!0,headers:{Authorization:"Bearer "+a.get("token")}});return r.removeFromQueue=function(a){var c=this;return g["delete"]({id:a.basename}).$promise.then(function(){var b=c.getIndexOfItem(a),d=c.queue[b];d.isUploading&&d.cancel(),c.queue.splice(b,1),d._destroy(),c.progress=c._getTotalProgress(),q=_.reject(q,{basename:a.basename})})["catch"](function(){l.show(b.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},r.onErrorItem=function(){l.show(b.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")},r.onSuccessItem=function(a,b){var c={size:b.size,path:b.path,name:b.name,basename:b.basename,type:b.type};a=_.merge(a,c),q.push(c)},d.getMessageMailId=function(a){var b=a.UserId?"imgMailUserId"+a.UserId:"imgMailVisitorId";return b+=d.mailRoom.id.toString()+a.id.toString()},d.togglePanelLeft=function(){d.panelLeft?(d.panelLeft=null,d.panelRight="col-md-12"):(d.panelLeft="col-md-6",d.panelRight="col-md-6")},d.onSelect=function(){d.form.html=d.modelOptions.selectedAnswer,delete d.modelOptions.selectedAnswer},d.onSelectAnswer=function(a){d.form.html+=a,d.selectedAnswer=""},d.getAnswers=function(a){return f.get({key:a}).$promise.then(function(a){return _.map(a.rows,"value")})},d.cancel=function(){d.form.disabled=!1,d.form.from=[],d.form.to=[],d.form.sto=[],d.form.cc=[],d.form.scc=[],delete d.form.subject,delete d.form.html},d.updateStatus=function(a){c.open({animation:!0,templateUrl:"app/channels/mail/inbox/status/status.modal.html",controller:"MailInboxStatusModalCtrl",resolve:{roomId:function(){return d.workspace.id},accountId:function(){return d.mailRoom.MailAccount.id},status:function(){return a}}})},d.loadAgents=function(){c.open({animation:!0,templateUrl:"app/channels/mail/inbox/view/view.agents.modal.html",controller:"MailInboxViewModalAgentCtrl",resolve:{roomId:function(){return d.workspace.id}}})},d.loadTemplate=function(){c.open({animation:!0,templateUrl:"app/channels/mail/inbox/view/view.templates.modal.html",controller:"MailInboxViewModalTemplateCtrl"}).result.then(function(a){d.form.subject=a.template.subject,d.form.html=a.template.html})},d.closeRoom=function(){return c.open({animation:!0,templateUrl:"app/channels/mail/inbox/status/status.modal.html",controller:"MailInboxStatusModalCtrl",resolve:{status:function(){return d.mailRoom.status},accountId:function(){return d.mailRoom.MailAccount.id}}}).result.then(function(a){return i.update({id:d.workspace.id},a).$promise["catch"](function(a){console.error(a),l.show(a.data.message,"danger")})})},d.loadNote=function(){c.open({animation:!0,templateUrl:"app/channels/mail/inbox/note/note.modal.html",controller:"MailInboxViewModalNoteCtrl",resolve:{id:function(){return d.workspace.id}}})},d.onChanged=function(){return i.update({id:d.workspace.id},{tags:d.form.tags}).$promise["catch"](function(a){console.error(a)})},d.sendMail=function(){m.spin("spinner-grid"),d.form.disabled=!0;var a={},c={subject:d.form.subject||d.mailRoom.subject,from:d.form.from,to:d.form.sto||[],cc:d.form.scc||[],html:d.form.html||null,text:d.form.text||null,inReplyTo:a.messageId||null,status:"SENDING",MailAttachments:q};return d.mailRoom?(a=_.last(d.mailRoom.MailMessages,{status:"RECEIVED"}),c.inReplyTo=a.messageId||null,i.save({id:d.workspace.id,controller:"messages"},c).$promise.then(function(){d.form.html="",r.queue=[],q=[],l.show(b.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(){l.show(b.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})["finally"](function(){m.stop("spinner-grid"),d.form.disabled=!1})):j.save(c).$promise.then(function(a){return l.show(b.instant("MESSAGE_MAIL_MESSAGE_SEND_SUCCESS"),"success"),i.get({id:"messages",controller:a.id}).$promise}).then(function(a){d.form.html="",r.queue=[],q=[],d.workspace.id=a.id,d.workspace.name=a.subject,d.mailRoom=a})["catch"](function(){l.show(b.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})["finally"](function(){m.stop("spinner-grid"),d.form.disabled=!1})},e.get().$promise.then(function(a){d.tags=_.map(a.rows,"name")})["catch"](function(a){console.error(a)}),h.get().$promise.then(function(a){d.mailAccounts=a.rows})["catch"](function(a){console.error(a)}),d.workspace.id?(d.panelLeft="col-md-6",d.panelRight="col-md-6",i.get({id:d.workspace.id}).$promise.then(function(a){d.mailRoom=a,d.form.from.push(a.MailAccount.address),d.form.tags=a.tags;var b=_.findLast(d.mailRoom.MailMessages,{status:"RECEIVED"});return b&&(d.form.to=d.form.cc=d.form.bcc=_.union(b.from,b.to,b.cc,b.bcc),d.form.sto=_.remove(d.form.to,function(b){return b!==a.MailAccount.address}),d.form.subject="Re: "+b.subject,d.form.html=p(b.text)),n.socket.on("mail_room:save",function(a){a.id===d.workspace.id&&_.merge(d.mailRoom,a)}),a}).then(function(a){return o.isAgent()&&"CLOSED"!==a.status?i.update({id:d.workspace.id},{status:"OPEN"}):void 0}).then(function(){return o.isAgent()?i.update({id:d.workspace.id,controller:"agents"},{agents:[o.getCurrentUser().id]}).$promise:void 0})["catch"](function(a){console.error(a)})["finally"](function(){m.stop("spinner-grid"),d.form.disabled=!1})):(d.panelLeft=null,d.panelRight="col-md-12",m.stop("spinner-grid"),void 0)}}}]),angular.module("xCallyShuttleApp").controller("MailInboxStatusModalCtrl",["$scope","$uibModalInstance","MailAccount","status","accountId",function(a,b,c,d,e){a.modal={title:"APPLICATION_CONFIRM_CLOSE",text:"MESSAGE_ARE_YOU_SURE_YOU_WANT_TO_CLOSE_THE_MAIL"},a.initDisposition=function(){return a.item={disposition:null,status:"CLOSED"},c.get({accountId:e,controller:"dispositions"}).$promise.then(function(b){a.dispositions=b.rows})["catch"](function(a){console.error(a)})},a.ok=function(){b.close(a.item)},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.inbox.view.account",{url:"/account/:id",template:"
","abstract":!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:9}}})}]),angular.module("xCallyShuttleApp").controller("MailInboxViewAccountListCtrl",["$scope","$rootScope","$uibModal","$translate","$stateParams","$state","Tag","usSpinnerService","socket","MailAccount","MailRoom","gridOptions","uiGridConstants","Auth","Modal","xAlert","localStorageService",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){a.openRoom=function(b,c){var d=_.find(a.workspaces,{id:b,type:"mailRoom"});d?d.active=!0:a.workspaces.push({id:b,name:c,type:"mailRoom","class":"icon-envelope",active:!0})},a.getPage=function(){h.spin("spinner-grid");var b={accountId:e.id,controller:"rooms"};return a.query&&_.merge(b,a.query),j.query(b).$promise.then(function(b){a.gridOptions.data=b,i.unsyncUpdates("mail_room"),i.socket.on("mail_room:save",function(b){if(b.MailAccountId==e.id){var c=_.find(a.gridOptions.data,{id:b.id});c&&(c.status!==b.status?_.remove(a.gridOptions.data,{id:b.id}):_.merge(c,b))}}),i.socket.on("mail_room:remove",function(b){_.remove(a.gridOptions.data,{id:b.id})})})["catch"](function(a){console.error(a)})["finally"](function(){h.stop("spinner-grid")})},a.initView=function(){a.id=[],a.isAdmin=n.isAdmin(),a.isAgent=n.isAgent(),a.uncheckable=!1,a.query={status:q.get("mailStatus")?q.get("mailStatus"):"UNMANAGED",tags:q.get("mailTags")?q.get("mailTags"):[]},a.$watch("query.status",function(){q.set("mailStatus",a.query.status),a.getPage()},!0),j.get().$promise.then(function(b){a.mailAccounts=b.rows})["catch"](function(a){console.error(a)}),g.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)}),a.gridOptions={exporterCsvFilename:"mail_rooms.csv",enableRowHeaderSelection:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,enableFiltering:!0,enableSorting:!0,enableGridMenu:!1,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,enableSelectAll:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,columnDefs:[{name:"lastEvent",displayName:"",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
",width:30,enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"id",displayName:"Id",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
#{{row.entity.id}}
",width:75,enableSorting:!1,enableFiltering:!0,enableColumnMenu:!1},{name:"subject"},{name:"from",cellClass:"text-center"},{name:"updatedAt",cellFilter:"date:'MM/dd/yyyy HH:mm'",width:120,enableSorting:!1,enableFiltering:!1,sort:{direction:m.DESC}},{name:"action",cellTemplate:'
',enableSorting:!1,cellClass:"ui-grid-vcenter",width:90,enableFiltering:!1,enableColumnMenu:!1}],data:[],onRegisterApi:function(b){a.gridApi=b,a.gridApi.selection&&(a.gridApi.selection.on.rowSelectionChanged(a,function(b){b.isSelected?a.id.push(a.gridApi.grid.options.primaryKey?b.entity[a.gridApi.grid.options.primaryKey]:b.entity.id):_.pull(a.id,a.gridApi.grid.options.primaryKey?b.entity[a.gridApi.grid.options.primaryKey]:b.entity.id)}),a.gridApi.selection.on.rowSelectionChangedBatch(a,function(b){b[0].isSelected?a.id=_.union(a.id,_.map(b,a.gridApi.grid.options.primaryKey?"entity."+a.gridApi.grid.options.primaryKey:"entity.id")):_.map(b,a.gridApi.grid.options.primaryKey?"entity."+a.gridApi.grid.options.primaryKey:"entity.id").forEach(function(b){_.pull(a.id,b)})}))}},a.getPage(a.query)},a.onChanged=function(){q.set("mailTags",a.query.tags),a.getPage(a.query)},a.loadAgents=function(a){c.open({animation:!0,templateUrl:"app/channels/mail/inbox/view/view.agents.modal.html",controller:"MailInboxViewModalAgentCtrl",resolve:{roomId:a}})},a.tagItems=function(){c.open({animation:!0,templateUrl:"app/channels/mail/inbox/view/view.tags.modal.html",controller:"MailInboxViewModalTagCtrl",resolve:{id:function(){return a.id}}}).result.then(function(){a.gridApi.selection.clearSelectedRows(),a.id=[]})},a.deleteItem=o.confirm["delete"](function(b){var c={id:b};return k.remove(c).$promise.then(function(){a.getPage(),p.show(d.instant("MESSAGE_WELL_DONE")+"!","success"),a.gridApi.selection.clearSelectedRows(),a.id=[]})["catch"](function(a){p.show(a.message?a.message:a.data.message,"danger")})}),a.deleteItems=o.confirm["delete"](function(){var b={ids:a.id};return k["delete"](b).$promise.then(function(){a.getPage(),p.show(d.instant("MESSAGE_WELL_DONE")+"!","success"),a.gridApi.selection.clearSelectedRows(),a.id=[]})["catch"](function(a){p.show(a.message?a.message:a.data.message,"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.inbox.view.account.list",{url:"/list",templateUrl:"app/channels/mail/inbox/view/account/list/list.html",controller:"MailInboxViewAccountListCtrl",data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:9}}})}]),angular.module("xCallyShuttleApp").controller("MailInboxViewModalAgentCtrl",["$scope","$uibModalInstance","$translate","$stateParams","Agent","Auth","MailRoom","xAlert","roomId",function(a,b,c,d,e,f,g,h,i){var j=[];a.initModal=function(){return a.agents=[],a.item={agents:[]},e.get().$promise.then(function(b){for(var c=0;c
","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("MailReport",["$resource",function(a){return a("/api/report/mails/:id/:controller1/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("MailRoom",["$resource",function(a){return a("/api/mail/rooms/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"},patch:{method:"PATCH"}})}]),angular.module("xCallyShuttleApp").factory("MailAttachment",["$resource",function(a){return a("/api/mail/attachments/:id/:controller",{id:"@id"})}]),angular.module("xCallyShuttleApp").factory("MailMessage",["$resource",function(a){return a("/api/mail/messages/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("MailQueueListCtrl",["$scope","MailQueue","gridOptions","$uibModal","Auth",function(a,b,c,d,e){a.initView=function(){a.Auth=e;var d={exporterCsvFilename:"voice_queues.csv",columnDefs:[{name:"name"},{name:"description"},{name:"timeout"},{name:"strategy"},{name:"action",width:200,buttons:[{"class":"blue-hoki",href:"/channels/mail/queues/view/{{row.entity.id}}/settings",name:"settings"},{"class":"green-meadow",href:"/channels/mail/queues/view/{{row.entity.id}}/agents",name:"agents",hide:"user"===e.getCurrentUser().role},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,d,a)},a.createItem=function(){var b=d.open({animation:!0,templateUrl:"app/channels/mail/queue/list/list.create.modal.html",controller:"MailQueueListCreateCtrl"});b.result.then(function(){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("MailQueueListCreateCtrl",["$scope","$uibModalInstance","$translate","xAlert","MailQueue",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return e.save(a.item).$promise.then(function(a){b.close(a)})["catch"](function(a){d.show(a.data.message,"danger")})},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.queues.list",{url:"/list",templateUrl:"app/channels/mail/queue/list/list.html",controller:"MailQueueListCtrl"})}]),angular.module("xCallyShuttleApp").factory("MailQueue",["$resource",function(a){return a("/api/mail/queues/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.queues",{url:"/queues",template:"
","abstract":!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/scripts/components-dropdowns.js"]})}]},data:{permissions:{only:["admin","user"],redirectTo:"landing",id:9}}})}]),angular.module("xCallyShuttleApp").controller("MailQueueViewCtrl",["$scope","$http","$translate","$stateParams","xAlert","Team","MailQueue","Auth",function(a,b,c,d,e,f,g,h){a.Auth=h;var i=function(){return{select:function(b){return g.save({id:a.queue.id,controller:"agents"},{agents:b,penalty:a.queue.penalty}).$promise.then(function(){a.getTeams()})["catch"](function(a){console.error(a)})},deselect:function(b){return g["delete"]({id:a.queue.id,controller:"agents",agents:b}).$promise.then(function(){a.getTeams()})["catch"](function(a){console.error(a)})}}};a.getQueue=function(){return g.get({id:d.id}).$promise.then(function(b){b.penalty=0,a.queue=b})["catch"](function(a){console.error(a)})},a.updateMailQueue=function(){return g.update({id:d.id},{name:a.queue.name,description:a.queue.description,timeout:a.queue.timeout,strategy:a.queue.strategy}).$promise.then(function(){e.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){e.show(a.data.message,"danger")})},a.getTeams=function(){return f.get({controller:"associations"}).$promise.then(function(b){return a.teams=b.rows,g.get({id:d.id,controller:"agents"}).$promise}).then(function(b){ComponentsDropdowns.bindMailQueue(a.teams,_.map(b.rows,function(a){return{id:a.id,penalty:a.UserHasMailQueue.penalty}}),i)})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.queues.view",{url:"/view/:id",templateUrl:"app/channels/mail/queue/view/view.html",controller:"MailQueueViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.mail.queues.view.settings",{url:"/settings",templateUrl:"app/channels/mail/queue/view/view.settings.html"}).state("main.channels.mail.queues.view.agents",{url:"/agents",templateUrl:"app/channels/mail/queue/view/view.agents.html",cache:!1,serie:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.realtime",{url:"/realtime",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:9}}})}]),angular.module("xCallyShuttleApp").controller("MailRealtimeViewAgentCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","Agent","Pause","Action","MailQueue","usSpinnerService","$q","uiGridConstants","Auth",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){function o(){return k.spin("spinner-grid"),g.get(t).$promise.then(function(b){a.gridOptions.totalItems=b.count,a.gridOptions.data=[],b.rows.forEach(function(a){q(a)})})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){k.stop("spinner-grid")})}function p(){e.socket.on("agent:save",function(b){var c=_.find(a.gridOptions.data,{agentId:b.id,isAgent:!0});c&&(c.online=b.online,c.lastLoginAt=b.lastLoginAt,c.pause=b.mailPause,c.pauseType=b.pauseType,c.lastPauseAt=b.lastPauseAt,c.ipaddr=b.ipaddr,c.port=b.port,c.fullcontact=b.fullcontact,c.useragent=b.useragent,c.lastms=b.lastms,c.internal=b.internal,_.map(a.gridOptions.data,function(a){a.isAgent||a.agentId!==b.id||(a.online=b.online)}))}),e.socket.on("agent:remove",function(b){_.remove(a.gridOptions.data,{agentId:b.id})}),e.socket.on("user_has_mail_queue:save",function(b){var c=_.includes(_.map(a.CurrentUser.PMailQueues,"id"),b.MailQueueId)||n.isAdmin();if(c){var d=_.find(a.gridOptions.data,{agentId:b.UserId,isAgent:!0});if(d){var e=a.gridOptions.data.indexOf(d);a.gridOptions.data.splice(e+1,0,{isAgent:!1,agentId:b.UserId,queue:b.queue,queueId:b.MailQueueId,agent:b.membername,online:d.online})}}}),e.socket.on("user_has_mail_queue:remove",function(b){_.remove(a.gridOptions.data,{agentId:b.UserId,queueId:b.MailQueueId})})}function q(b){a.gridOptions.data.push({isAgent:!0,agentId:b.id,agent:b.name,online:b.online,lastLoginAt:b.lastLoginAt,lastPauseAt:b.lastPauseAt,pause:b.mailPause,pauseType:b.pauseType,ipaddr:b.ipaddr,port:b.port,fullcontact:b.fullcontact,useragent:b.useragent,lastms:b.lastms,internal:b.internal,$$treeLevel:0}),b.MailQueues.forEach(function(c){a.gridOptions.data.push({isAgent:!1,agentId:b.id,queue:c.name,queueId:c.id,agent:b.name,online:b.online})})}function r(){return h.get().$promise.then(function(b){a.pauses=b.rows,e.syncUpdates("pause",a.pauses)})["catch"](function(a){f.show(a.message,"danger")})}function s(){return j.get().$promise.then(function(b){a.mailQueues=b.rows,e.syncUpdates("mail_queue",a.mailQueues)})["catch"](function(a){f.show(a.message,"danger")})}a.mailQueues=[];var t={controller:"realtime",controller1:"mail",offset:0,limit:10};a.moment=moment,a.initAgents=function(){a.gridOptions={enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,multiSelect:!0,showTreeExpandNoChildren:!0,columnDefs:[{name:"name",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{row.entity.agent}} <{{row.entity.internal}}>
'},{name:"online",displayName:"APPLICATION_ONLINE",width:150,headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
({{hhours}}:{{mminutes}}:{{sseconds}})
',filter:{type:m.filter.SELECT,selectOptions:[{value:"true",label:"ONLINE"},{value:"false",label:"OFFLINE"}]}},{name:"mailPause",displayName:"APPLICATION_PAUSE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
({{row.entity.pauseType}}){{hhours}}:{{mminutes}}:{{sseconds}}
',filter:{type:m.filter.SELECT,selectOptions:[{value:"true",label:"PAUSED"},{value:"false",label:"NOT PAUSED"}]},enableSorting:!1,enableColumnMenu:!1},{name:"queue",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"action",displayName:"",width:170,cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1}],data:[],gridMenuTitleFilter:function(a){var b=l.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length)}),a.gridApi.treeBase.on.rowExpanded(a,function(b){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length+b.treeNode.children.length)}),a.gridApi.treeBase.on.rowCollapsed(a,function(b){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length-b.treeNode.children.length)}),a.gridApi.core.on.sortChanged(a,function(a,b){0===b.length?t.order=null:t.order=b[0].name+" "+b[0].sort.direction.toUpperCase(),o()}),a.gridApi.pagination.on.paginationChanged(a,function(a,b){t.offset=(a-1)*b,t.limit=b,o()}),a.gridApi.core.on.filterChanged(a,function(){var a=this.grid;a.columns.forEach(function(a){a.filters[0].term?t[a.name]=a.filters[0].term:delete t[a.name]}),o()})}},o(),r(),s(),p()};var u=function(a){var b=a?30*a+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("agent"),e.unsyncUpdates("user_has_mail_queue")}),a.pause=function(b,c,e){return e&&(a.pauseType=null),i.save({name:c,agent:b,type:e||"DEFAULT PAUSE",data4:e||"DEFAULT PAUSE",channel:"mail"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},a.joinQueue=function(e){var g=c.open({animation:!0,templateUrl:"app/channels/mail/realtime/view/agent/queue.modal.add.html",controller:"MailRealtimeViewAgentQueueModalCtrl",resolve:{queues:function(){return _.reject(a.mailQueues,function(b){return!!_.find(a.gridOptions.data,{queue:b.name,isAgent:!1,agentId:e})})}}});g.result.then(function(b){return i.save({name:"QueueAdd",agent:e,queues:_.filter(a.mailQueues,function(a){return _.includes(b.queues,a.id)}),channel:"mail",data1:e,data3:b.queues.join(","),data4:"mail"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},function(){b.info("Modal dismissed at: "+new Date)})},a.leaveQueue=function(a,b){return i.save({name:"QueueRemove",agent:a,queueId:b,channel:"mail",data1:a,data3:b,data4:"mail"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},a.showInfo=function(a){c.open({animation:!0,templateUrl:"app/channels/mail/realtime/view/agent/agent.modal.info.html",controller:"MailRealtimeViewAgentInfoModalCtrl",resolve:{agent:a}})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.realtime.view.agents",{url:"/agents",templateUrl:"app/channels/mail/realtime/view/agent/agent.html",controller:"MailRealtimeViewAgentCtrl"})}]),angular.module("xCallyShuttleApp").controller("MailRealtimeViewAgentInfoModalCtrl",["$scope","$uibModalInstance","$http","agent",function(a,b,c,d){a.agent=d,a.close=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("MailRealtimeViewAgentQueueModalCtrl",["$scope","$uibModalInstance","$http","queues",function(a,b,c,d){a.queues=d,a.item={},a.save=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("MailRealtimeViewApplicationCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","ReportMailSession","usSpinnerService","$q","uiGridConstants","$timeout",function(a,b,c,d,e,f,g,h,i,j,k){function l(){return h.spin("spinner-grid"),g.get({controller:"waiting",controller2:"applications"}).$promise.then(function(b){a.gridOptions.data=b.rows})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){m(),h.stop("spinner-grid")})}function m(){e.socket.on("report_mail_session:save",function(b){var c=_.find(a.gridOptions.data,{id:b.id});c?(_.merge(c,b),b.leaveAt&&k(function(){_.remove(a.gridOptions.data,{id:b.id})},1e4)):b.leaveAt||a.gridOptions.data.push(b)}),e.socket.on("report_mail_session:remove",function(b){_.remove(a.gridOptions.data,{id:b.id})})}a.moment=moment,a.initApplications=function(){a.gridOptions={ +headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"uniqueid",displayName:"APPLICATION_UNIQUEID",headerCellFilter:"translate"},{name:"websitename",displayName:"APPLICATION_WEBSITE",headerCellFilter:"translate"},{name:"application",displayName:"APPLICATION_APPLICATION",headerCellFilter:"translate"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}{{\'APPLICATION_UNMANAGED\' | translate}} [{{hhours}}:{{mminutes}}:{{sseconds}}]
',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"membername",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.membername || ''}}
"},{name:"queuename",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.queuename || ''}}
"}],data:[],gridMenuTitleFilter:function(a){var b=i.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){n(a.gridOptions.data.length)})}},l()};var n=function(a){var b=a?30*a+60:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("report_mail_session")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.realtime.view.applications",{url:"/applications",templateUrl:"app/channels/mail/realtime/view/application/application.html",controller:"MailRealtimeViewApplicationCtrl"})}]),angular.module("xCallyShuttleApp").controller("MailRealtimeViewCtrl",["$scope","$state",function(a,b){a.agents=[{name:"Queues",link:"main.channels.mail.realtime.view.agents.queues"},{name:"Timeline",link:"main.channels.mail.realtime.view.agents.timeline"}],a.sessions=[{name:"Sessions",link:"main.channels.mail.realtime.view.sessions"}],a.tree={queues:[{name:"Queues",link:"main.channels.mail.realtime.view.agents.queues"},{name:"Timeline",link:"main.channels.mail.realtime.view.agents.timeline"}],sessions:[{name:"Sessions",link:"main.channels.mail.realtime.view.sessions"}]}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.realtime.view",{url:"/view",templateUrl:"app/channels/mail/realtime/view/view.html",controller:"MailRealtimeViewCtrl"})}]),angular.module("xCallyShuttleApp").factory("ReportMailRoom",["$resource",function(a){return a("/api/report/mail/rooms/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ReportMailSession",["$resource",function(a){return a("/api/report/mail/sessions/:id/:controller/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.realtime",{url:"/realtime",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:12}}})}]),angular.module("xCallyShuttleApp").controller("RealtimeViewAgentCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","Agent","Pause","Action","usSpinnerService","$q","uiGridConstants",function(a,b,c,d,e,f,g,h,i,j,k,l){function m(b){return j.spin("spinner-grid"),g.get(p).$promise.then(function(b){a.gridOptions.totalItems=b.count,a.gridOptions.data=b.rows})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){b&&n(),j.stop("spinner-grid")})}function n(){e.socket.on("agent:save",function(b){var c=_.find(a.gridOptions.data,{id:b.id});c&&_.merge(c,b)}),e.socket.on("agent:remove",function(b){_.remove(a.gridOptions.data,{id:b.id})})}function o(){return h.get().$promise.then(function(b){a.pauses=b.rows,e.syncUpdates("pause",a.pauses)})["catch"](function(a){f.show(a.message,"danger")})}var p={controller:"realtime",offset:0,limit:10};a.moment=moment,a.initAgents=function(){a.gridOptions={enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,showTreeExpandNoChildren:!0,columnDefs:[{name:"name",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.name}} <{{row.entity.internal}}>
"},{name:"online",displayName:"APPLICATION_ONLINE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
({{hhours}}:{{mminutes}}:{{sseconds}})
',filter:{type:l.filter.SELECT,selectOptions:[{value:"true",label:"ONLINE"},{value:"false",label:"OFFLINE"}]}},{name:"pauseStatus",displayName:"APPLICATION_PAUSE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
[{{row.entity.pauseType}}] [{{hhours}}:{{mminutes}}:{{sseconds}}]
'},{name:"voicePause",displayName:"APPLICATION_VOICE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',filter:{type:l.filter.SELECT,selectOptions:[{value:"true",label:d.instant("APPLICATION_PAUSED")},{value:"connect",label:d.instant("APPLICATION_NOT_PAUSED")}]},enableSorting:!1,enableColumnMenu:!1},{name:"mailPause",displayName:"APPLICATION_MAIL",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',filter:{type:l.filter.SELECT,selectOptions:[{value:"true",label:d.instant("APPLICATION_PAUSED")},{value:"connect",label:d.instant("APPLICATION_NOT_PAUSED")}]},enableSorting:!1,enableColumnMenu:!1},{name:"chatPause",displayName:"APPLICATION_CHAT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',filter:{type:l.filter.SELECT,selectOptions:[{value:"true",label:d.instant("APPLICATION_PAUSED")},{value:"connect",label:d.instant("APPLICATION_NOT_PAUSED")}]},enableSorting:!1,enableColumnMenu:!1},{name:"faxPause",displayName:"APPLICATION_FAX",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',filter:{type:l.filter.SELECT,selectOptions:[{value:"true",label:d.instant("APPLICATION_PAUSED")},{value:"connect",label:d.instant("APPLICATION_NOT_PAUSED")}]},enableSorting:!1,enableColumnMenu:!1},{name:"smsPause",displayName:"APPLICATION_SMS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',filter:{type:l.filter.SELECT,selectOptions:[{value:"true",label:d.instant("APPLICATION_PAUSED")},{value:"connect",label:d.instant("APPLICATION_NOT_PAUSED")}]},enableSorting:!1,enableColumnMenu:!1}],data:[],gridMenuTitleFilter:function(a){var b=k.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){q(a.gridApi.core.getVisibleRows(a.gridApi.grid).length)}),a.gridApi.core.on.sortChanged(a,function(a,b){0===b.length?p.order=null:p.order=b[0].name+" "+b[0].sort.direction.toUpperCase(),m()}),a.gridApi.pagination.on.paginationChanged(a,function(a,b){p.offset=(a-1)*b,p.limit=b,m()}),a.gridApi.core.on.filterChanged(a,function(){var a=this.grid;a.columns.forEach(function(a){a.filters[0].term?p[a.name]=a.filters[0].term:delete p[a.name]}),m()})}},m(!0),o()};var q=function(a){var b=a?30*a+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("agent")}),a.pause=function(b,c,e,g){return e&&(a.pauseType=null),i.save({name:c,agent:b,type:e||"DEFAULT PAUSE",data4:e||"DEFAULT PAUSE",channel:g||"all"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(d.instant(a.message||a.data.message||a.translatedMessage||a.data.translatedMessage),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.realtime.view.agents",{url:"/agents",templateUrl:"app/channels/realtime/view/agent/agent.html",controller:"RealtimeViewAgentCtrl"})}]),angular.module("xCallyShuttleApp").controller("RealtimeViewAgentInfoModalCtrl",["$scope","$uibModalInstance","$http","agent",function(a,b,c,d){a.agent=d,a.close=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("RealtimeViewAgentQueueModalCtrl",["$scope","$uibModalInstance","$http","queues",function(a,b,c,d){a.queues=d,a.item={},a.save=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("RealtimeViewCtrl",["$scope",function(a){}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.realtime.view",{url:"/view",templateUrl:"app/channels/realtime/view/view.html",controller:"RealtimeViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}})}]),angular.module("xCallyShuttleApp").factory("ReportCall",["$resource",function(a){return a("/api/report/calls/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("SmsAccount",["$resource",function(a){return a("/api/sms/accounts/:accountId/:controller/:id",{id:"@accountId"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.accounts",{url:"/accounts",template:"
",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:11}}})}]),angular.module("xCallyShuttleApp").controller("SmsAccountListCtrl",["$scope","SmsAccount","gridOptions","$stateParams","xAlert","$translate",function(a,b,c,d,e,f){a.message="Hello",a.initView=function(){var e={exporterCsvFilename:"sms_accounts.csv",columnDefs:[{name:"id",displayName:"ID",cellClass:"text-center",width:75,enableSorting:!1,enableFiltering:!1},{name:"name"},{name:"description"},{name:"type",displayName:"APPLICATION_ACCOUNT_TYPE"},{name:"action",buttons:[{"class":"blue-hoki",href:"/channels/sms/accounts/view/{{row.entity.id}}/settings",name:"profile"},{"class":"green-jungle",name:"check",displayName:"APPLICATION_CHECK",onClick:"grid.appScope.checkAccount(row.entity.id)"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,e,a,{accountId:d.accountId})},a.checkAccount=function(a){return b.get({accountId:a,controller:"check"}).$promise.then(function(){e.show(f.instant("MESSAGE_ACCOUNT_VERIFIED"),"success")})["catch"](function(a){e.show(f.instant("MESSAGE_ACCOUNT_INVALID"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.accounts.list",{url:"/list",templateUrl:"app/channels/sms/account/list/list.html",controller:"SmsAccountListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.accounts.view.action",{url:"/actions",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("SmsApplication",["$resource",function(a){return a("/api/sms/applications/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("SmsAccountViewActionListCtrl",["$scope","gridOptions","SmsAccount","$http","$translate","$stateParams","xAlert",function(a,b,c,d,e,f,g){console.log("SmsAccountViewActionListCtrl"),c.get({accountId:f.accountId,controller:"applications"}).$promise.then(function(a){console.log("apps",a)})["catch"](function(a){g.show(a.message,"danger")}),a.initActions=function(){var d={draggable:!0,exporterCsvFilename:"sms_applications.csv",enableSorting:!1,enableFiltering:!1,columnDefs:[{name:"app",cellClass:"text-center"},{name:"name",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.SmsQueue ? row.entity.SmsQueue.name : row.entity.User.name}}
"},{name:"timeout",cellClass:"text-center"},{name:"interval",cellClass:"text-center"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/channels/sms/accounts/view/{{row.entity.SmsAccountId}}/actions/view/{{row.entity.id}}",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.app, row.entity.id)"}]}]};a.gridOptions=b.gridOptions(c,d,a,{accountId:f.accountId,controller:"applications"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.accounts.view.action.list",{url:"/list",templateUrl:"app/channels/sms/account/view/action/list/list.html",controller:"SmsAccountViewActionListCtrl"})}]),angular.module("xCallyShuttleApp").controller("SmsAccountViewActionViewCtrl",["$scope","$http","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval","Agent","Interval","SmsQueue","SmsApplication",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initAction=function(){a.$application=i.application,a.$stateParams=c,a.$interval=j.interval,a.forms={},a.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"}],b.get("/api/sms/applications/"+c.actionId).success(function(b){if(a.application=b,a.application.alwaysTime=!1,a.application.IntervalId)a.application.intType="list";else switch(a.application.interval){case"*,*,*,*":a.application.intType="always";break;default:a.application.intType="custom"}var c=a.application.interval.split(",");"*"===c[0]?a.application.alwaysTime=!0:(a.application.t_from=moment(new Date),a.application.t_to=moment(new Date),a.application.t_from.hour(c[0].split("-")[0].split(":")[0]),a.application.t_from.minute(c[0].split("-")[0].split(":")[1]),a.application.t_to.hour(c[0].split("-")[1].split(":")[0]),a.application.t_to.minute(c[0].split("-")[1].split(":")[1])),"*"===c[1]?(a.application.wd_from="always",a.application.wd_to="always"):(a.application.wd_from=c[1].split("-")[0],a.application.wd_to=c[1].split("-")[1]),"*"===c[2]?(a.application.md_from="always",a.application.md_to="always"):(a.application.md_from=c[2].split("-")[0],a.application.md_to=c[2].split("-")[1]),"*"===c[3]?(a.application.m_from="always",a.application.m_to="always"):(a.application.m_from=c[3].split("-")[0],a.application.m_to=c[3].split("-")[1]),a.$watch("application.t_from",function(b){a.application.t_from_hm=moment(b).format("HH:mm")}),a.$watch("application.t_to",function(b){a.application.t_to_hm=moment(b).format("HH:mm")})}).error(function(a){console.error(a)})},a.getQueues=function(){return m.get().$promise.then(function(b){a.queues=b.rows})["catch"](function(a){console.error(a)})},a.getAgents=function(){return k.get().$promise.then(function(b){a.agents=b.rows})["catch"](function(a){console.error(a)})},a.getIntervals=function(){return l.get().$promise.then(function(b){a.intervals=b.rows})["catch"](function(a){console.error(a)})},a.updateItem=function(){var b=["*","*","*","*"],g={app:a.application.app,timeout:a.application.timeout,SmsAccountId:c.id};switch(a.application.app){case"agent":g.UserId=a.application.UserId;break;case"queue":g.SmsQueueId=a.application.SmsQueueId}switch(a.application.intType){case"always":g.interval=b.join(","),delete a.application.IntervalId;break;case"custom":a.application.alwaysTime||(b[0]=a.application.alwaysTime?"*":a.application.t_from_hm+"-"+a.application.t_to_hm),a.application.wd_from&&a.application.wd_to&&"always"===a.application.wd_from&&"always"===a.application.wd_to?b[1]="*":b[1]=a.application.wd_from&&a.application.wd_to?a.application.wd_from+"-"+a.application.wd_to:"*",a.application.md_from&&a.application.md_to&&"always"===a.application.md_from&&"always"===a.application.md_to?b[2]="*":b[2]=a.application.md_from&&a.application.md_to?a.application.md_from+"-"+a.application.md_to:"*",a.application.m_from&&a.application.m_to&&"always"===a.application.m_from&&"always"===a.application.m_to?b[3]="*":b[3]=a.application.m_from&&a.application.m_to?a.application.m_from+"-"+a.application.m_to:"*",g.interval=b.join(","),delete a.application.IntervalId;break;case"list":g.IntervalId=a.application.IntervalId}return n.update({id:c.actionId},g).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success"),e.path("/channels/sms/accounts/view/"+c.accountId+"/actions/list")})["catch"](function(a){f.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.accounts.view.action.view",{url:"/view/:actionId",templateUrl:"app/channels/sms/account/view/action/view/view.html",controller:"SmsAccountViewActionViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("SmsAccountViewActionWizardCtrl",["$scope","$http","Agent","SmsQueue","Interval","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval","SmsApplication",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initWizard=function(){a.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"}],a.$application=l.application,a.$stateParams=f,a.$interval=m.interval,a.forms={},a.application={alwaysTime:!0},a.$watch("application.t_from",function(b){a.application.t_from_hm=moment(b).format("HH:mm")}),a.$watch("application.t_to",function(b){a.application.t_to_hm=moment(b).format("HH:mm")})},a.getQueues=function(){return d.get().$promise.then(function(b){console.log(b),a.queues=b.rows})["catch"](function(a){console.error(a)})},a.getAgents=function(){return c.get().$promise.then(function(b){a.agents=b.rows})["catch"](function(a){console.error(a)})},a.getIntervals=function(){return e.get().$promise.then(function(b){a.intervals=b.rows})["catch"](function(a){console.error(a)})},a.createItem=function(){var b=["*","*","*","*"];console.log(a.application);var c={app:a.application.app,timeout:a.application.timeout,SmsAccountId:f.accountId};switch(a.application.app){case"agent":c.UserId=a.application.UserId;break;case"queue":c.SmsQueueId=a.application.SmsQueueId}switch(a.application.intType){case"always":c.interval=b.join(","),delete a.application.IntervalId;break;case"custom":a.application.alwaysTime||(b[0]=a.application.alwaysTime?"*":a.application.t_from_hm+"-"+a.application.t_to_hm),a.application.wd_from&&a.application.wd_to&&"always"===a.application.wd_from&&"always"===a.application.wd_to?b[1]="*":b[1]=a.application.wd_from&&a.application.wd_to?a.application.wd_from+"-"+a.application.wd_to:"*",a.application.md_from&&a.application.md_to&&"always"===a.application.md_from&&"always"===a.application.md_to?b[2]="*":b[2]=a.application.md_from&&a.application.md_to?a.application.md_from+"-"+a.application.md_to:"*",a.application.m_from&&a.application.m_to&&"always"===a.application.m_from&&"always"===a.application.m_to?b[3]="*":b[3]=a.application.m_from&&a.application.m_to?a.application.m_from+"-"+a.application.m_to:"*",c.interval=b.join(","),delete a.application.IntervalId;break;case"list":c.IntervalId=a.application.IntervalId}return console.log(c),n.save(c).$promise.then(function(){h.path("/channels/sms/accounts/view/"+f.accountId+"/actions/list")})["catch"](function(a){i.show(a.data.message,"danger")})},a.formValidation=function(a){return a},a.next=function(){j.wizard().next()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.accounts.view.action.wizard",{url:"/wizard",templateUrl:"app/channels/sms/account/view/action/wizard/wizard.html",controller:"SmsAccountViewActionWizardCtrl"})}]),angular.module("xCallyShuttleApp").factory("SmsDisposition",["$resource",function(a){return a("/api/sms/dispositions/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("SmsInboxViewModaDispositionAddCtrl",["$scope","$uibModalInstance","SmsAccount","id",function(a,b,c,d){a.ok=function(){return c.save({accountId:d,controller:"dispositions"},{name:a.name}).$promise.then(function(a){b.close(a)})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("SmsAccountDispositionViewCtrl",["$scope","$stateParams","$uibModal","$translate","SmsAccount","xAlert",function(a,b,c,d,e,f){a.initView=function(){return e.get({accountId:b.accountId,controller:"dispositions"}).$promise.then(function(b){a.dispositions=b.rows})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.updateDisposition=function(a,c){return e.update({accountId:b.accountId,controller:"dispositions",id:a},{name:c}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.deleteDisposition=function(c){return console.log("delete"),e.remove({accountId:b.accountId,controller:"dispositions",id:c}).$promise.then(function(){_.remove(a.dispositions,{id:c})})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.addDisposition=function(){return c.open({animation:!0,templateUrl:"app/channels/sms/account/view/disposition/modal/add.modal.html",controller:"SmsInboxViewModaDispositionAddCtrl",resolve:{id:function(){return b.accountId}}}).result.then(function(b){b&&a.dispositions.push(b)})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.accounts.view.dispositions",{url:"/dispositions",controller:"SmsAccountDispositionViewCtrl",templateUrl:"app/channels/sms/account/view/disposition/view/view.html"})}]),angular.module("xCallyShuttleApp").controller("SmsAccountViewCtrl",["$scope","SmsAccount","$http","$stateParams","clipboard","$translate","$location","xAlert","List",function(a,b,c,d,e,f,g,h,i){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.CONST_TIMEOUT=3e4,a.copyToClipboard=function(a){e.copyText(a),h.show(f.instant("MESSAGE_TEXT_COPIED_CLIPBOARD")+"!","success")},a.initView=function(){return a.account={},i.get().$promise.then(function(b){a.lists=b.rows})["catch"](function(a){console.error(a)}),b.get({id:d.accountId}).$promise.then(function(b){a.account=b,console.log(b)})["catch"](function(a){h.show(a.message,"danger")})},a.$watch("account.remote",function(){a.deliveryurl=a.account.remote+"/api/sms/accounts/"+a.account.id+"/messageStatus",a.receiveurl=a.account.remote+"/api/sms/accounts/"+a.account.id+"/receive"}),a.updateItemSmsAccount=function(){return b.update({id:d.accountId},a.account).$promise.then(function(){h.show(f.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.accounts.view",{url:"/view/:accountId",templateUrl:"app/channels/sms/account/view/view.html",controller:"SmsAccountViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]})}]}}).state("main.channels.sms.accounts.view.settings",{url:"/settings",templateUrl:"app/channels/sms/account/view/view.settings.html",controller:"SmsAccountViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("SmsAccountWizardCtrl",["$scope","$http","$location","$translate","WizardHandler","xAlert","SmsAccount",function(a,b,c,d,e,f,g){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initWizard=function(){a.forms={},a.item={}},a.goNext=function(){e.wizard().next()},a.formValidation=function(a){return a},a.createItem=function(){return console.log(a.item),g.save(a.item).$promise.then(function(){c.path("/channels/sms/accounts/list")})["catch"](function(a){f.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.accounts.wizard",{url:"/wizard",templateUrl:"app/channels/sms/account/wizard/wizard.html",controller:"SmsAccountWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.inbox",{url:"/inbox",template:"
",data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:11}}})}]),angular.module("xCallyShuttleApp").directive("smsRoom",["$cookieStore","$translate","$uibModal","$timeout","Tag","CannedAnswer","Auth","SmsAccount","SmsRoom","SmsMessage","xAlert","usSpinnerService","socket","$stateParams",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){return{restrict:"E",scope:{workspace:"=",index:"=",submit:"&onSubmit"},templateUrl:"app/channels/sms/inbox/room/room.directive.html",link:function(a){a.modelOptions={debounce:{"default":500,blur:250},getterSetter:!0},a.panelLeft=null,a.panelRight="col-md-12",a.togglePanelLeft=function(){a.panelLeft?(a.panelLeft=null,a.panelRight="col-md-12"):(a.panelLeft="col-md-6",a.panelRight="col-md-6")},a.form={disabled:!1,from:[],to:"",body:""},m.socket.on("sms_message:save",function(b){a.workspace.id&&b.SmsRoomId==a.workspace.id&&a.SmsRoom.SmsMessages.unshift(b)}),m.socket.on("sms_message:update",function(b){if(a.SmsRoom&&b.SmsRoomId==a.workspace.id){var c=_.find(a.SmsRoom.SmsMessages,{id:b.id});c&&_.merge(c,b)}}),m.socket.on("sms_room:update",function(b){a.SmsRoom&&b.id==a.workspace.id&&(a.SmsRoom.status=b.status)}),a.closeRoom=function(b){return c.open({animation:!0,templateUrl:"app/channels/sms/inbox/view/view.status.modal.html",controller:"SmsInboxViewModalStatusCtrl",resolve:{closed:function(){return"CLOSED"===a.SmsRoom.status},accountId:function(){return a.SmsRoom.SmsAccountId}}}).result.then(function(a){var c={id:b,status:"CLOSED"};return a.disposition&&(c.disposition=a.disposition),i.update(c).$promise["catch"](function(a){k.show(a.data.message,"danger")})})},e.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)}),h.get().$promise.then(function(b){a.smsAccounts=b.rows})["catch"](function(a){console.error(a)}),a.workspace.id?(a.panelLeft="col-md-6",a.panelRight="col-md-6",i.get({id:a.workspace.id}).$promise.then(function(b){return a.SmsRoom=b,a.form.from[0]=a.SmsRoom.SmsAccount.phone,a.form.to=a.SmsRoom.from,a.form.tags=i.tags,"NEW"==a.SmsRoom.status||"UNMANAGED"==a.SmsRoom.status?i.update({id:a.SmsRoom.id,status:"OPEN"}):void 0}).then(function(b){if(b){var c=[];return c[0]=g.getCurrentUser().id,i.update({id:a.SmsRoom.id,controller:"agents",agents:c})}})["catch"](function(a){console.error(a)})["finally"](function(){l.stop("spinner-grid"),a.form.disabled=!1})):l.stop("spinner-grid"),a.onSelect=function(){a.form.body=a.modelOptions.selectedAnswer,delete a.modelOptions.selectedAnswer},a.onSelectAnswer=function(b){a.form.body+=b,a.selectedAnswer=""},a.getAnswers=function(a){return f.get({key:a}).$promise.then(function(a){return _.map(a.rows,"value")})},a.loadAgents=function(){c.open({animation:!0,templateUrl:"app/channels/sms/inbox/view/view.agents.modal.html",controller:"SmsInboxViewModalAgentCtrl",resolve:{roomId:function(){return a.workspace.id}}})},a.onChanged=function(){return i.update({id:a.workspace.id},{tags:a.form.tags}).$promise["catch"](function(a){console.error(a)})},a.cancel=function(){a.forms.compose.$setPristine(),a.form.body=""},a.sendSMS=function(){l.spin("spinner-grid");var c=_.find(a.smsAccounts,{phone:a.form.from[0]}).id;if(c){var d={from:a.form.from[0],to:a.form.to,body:a.form.body};return h.save({accountId:c,controller:"send"},d).$promise.then(function(b){return a.SmsRoom?(a.forms.compose.$setPristine(),void(a.form.body="")):i.get({id:b.SmsRoomId}).$promise}).then(function(b){b&&(a.forms.compose.$setPristine(),a.form.body="",a.workspace.id=b.id,a.workspace.name=b.from,a.SmsRoom=b,a.panelLeft="col-md-6",a.panelRight="col-md-6")})["catch"](function(){k.show(b.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger"); +})["finally"](function(){l.stop("spinner-grid")})}}}}}]),angular.module("xCallyShuttleApp").directive("sms",["$rootScope","SmsMessage","List","xAlert","$translate",function(a,b,c,d,e){return{restrict:"E",scope:{smsMessage:"=message",accounttype:"=accounttype",listId:"="},templateUrl:"app/channels/sms/inbox/sms/sms.html",link:function(b){b.openContact=function(f){return b.listId?c.get({listId:b.listId,controller:"contacts",phone:f}).$promise.then(function(b){a.$root.workspaces.push({active:!0,"class":"icon-user",contactID:b.id,name:b.phone,type:"contact"})})["catch"](function(a){console.error(a)}):void d.show(e.instant("MESSAGE_NO_LIST_CONFIGURED"),"info")}}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.inbox.view.account",{url:"/account/:id",template:"
","abstract":!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:11}}})}]),angular.module("xCallyShuttleApp").controller("SmsInboxViewAccountListCtrl",["$scope","$rootScope","$uibModal","$translate","$stateParams","$state","Tag","usSpinnerService","socket","SmsAccount","SmsRoom","gridOptions","uiGridConstants","Auth","Modal","xAlert",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){a.loadAgents=function(a){c.open({animation:!0,templateUrl:"app/channels/sms/inbox/view/view.agents.modal.html",controller:"SmsInboxViewModalAgentCtrl",resolve:{roomId:a}})},a.initView=function(){a.id=[],a.isAdmin=n.isAdmin(),a.isAgent=n.isAgent(),a.uncheckable=!1,a.query={status:"UNMANAGED",tags:[]},a.$watch("query.status",function(){a.getPage(a.query)},!0),g.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)}),a.gridOptions={exporterCsvFilename:"sms_rooms.csv",enableRowHeaderSelection:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,enableFiltering:!0,enableSorting:!0,enableGridMenu:!1,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,enableSelectAll:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,columnDefs:[{name:"id",displayName:"",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
#{{row.entity.id}}
",width:75,enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"from",cellClass:"text-center"},{name:"updatedAt",cellFilter:"date:'MM/dd/yyyy HH:mm'",width:120,enableSorting:!1,enableFiltering:!1,sort:{direction:m.DESC}},{name:"action",cellTemplate:'
',enableSorting:!1,cellClass:"ui-grid-vcenter",width:90,enableFiltering:!1,enableColumnMenu:!1}],data:[],onRegisterApi:function(b){a.gridApi=b,a.gridApi.selection&&(a.gridApi.selection.on.rowSelectionChanged(a,function(b){b.isSelected?a.id.push(a.gridApi.grid.options.primaryKey?b.entity[a.gridApi.grid.options.primaryKey]:b.entity.id):_.pull(a.id,a.gridApi.grid.options.primaryKey?b.entity[a.gridApi.grid.options.primaryKey]:b.entity.id)}),a.gridApi.selection.on.rowSelectionChangedBatch(a,function(b){b[0].isSelected?a.id=_.union(a.id,_.map(b,a.gridApi.grid.options.primaryKey?"entity."+a.gridApi.grid.options.primaryKey:"entity.id")):_.map(b,a.gridApi.grid.options.primaryKey?"entity."+a.gridApi.grid.options.primaryKey:"entity.id").forEach(function(b){_.pull(a.id,b)})}))}},i.socket.on("sms_room:remove",function(b){_.remove(a.workspaces,{id:b.id,type:"smsRoom"}),_.remove(a.gridOptions.data,{id:b.id})}),a.getPage(a.query)},a.onChanged=function(){a.getPage(a.query)},a.tagItems=function(){c.open({animation:!0,templateUrl:"app/channels/sms/inbox/view/view.tags.modal.html",controller:"SmsInboxViewModalTagCtrl",resolve:{id:function(){return a.id}}}).result.then(function(){a.gridApi.selection.clearSelectedRows(),a.id=[]})},a.openRoom=function(b,c){var d=_.find(a.workspaces,{id:b,type:"smsRoom"});d?d.active=!0:a.workspaces.push({id:b,name:c,type:"smsRoom","class":"glyphicon glyphicon-comment",active:!0})},a.getPage=function(b){h.spin("spinner-grid");var c={accountId:e.id,controller:"rooms"};return b&&_.merge(c,b),a.query&&_.merge(c,a.query),j.query(c).$promise.then(function(b){a.gridOptions.data=b})["catch"](function(a){console.error(a)})["finally"](function(){h.stop("spinner-grid")})},a.deleteItem=o.confirm["delete"](function(b){var c={id:b};return console.log(c),k["delete"](c).$promise.then(function(){a.getPage(),p.show(d.instant("MESSAGE_WELL_DONE")+"!","success"),a.gridApi.selection.clearSelectedRows(),a.id=[]})["catch"](function(a){p.show(a.message?a.message:a.data.message,"danger")})}),a.deleteItems=o.confirm["delete"](function(){var b={ids:a.id};return k["delete"](b).$promise.then(function(){a.getPage(),p.show(d.instant("MESSAGE_WELL_DONE")+"!","success"),a.gridApi.selection.clearSelectedRows(),a.id=[]})["catch"](function(a){p.show(a.message?a.message:a.data.message,"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.inbox.view.account.list",{url:"/list",templateUrl:"app/channels/sms/inbox/view/account/list/list.html",controller:"SmsInboxViewAccountListCtrl",data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:11}}})}]),angular.module("xCallyShuttleApp").controller("SmsInboxViewModalAgentCtrl",["$scope","$uibModalInstance","$translate","$stateParams","Agent","SmsRoom","xAlert","roomId",function(a,b,c,d,e,f,g,h){a.initModal=function(){a.agents=[],a.item={agents:[]},e.get().$promise.then(function(b){b.rows.forEach(function(b){a.agents.push(b)})})["catch"](function(a){console.error(a)}),f.query({id:h,controller:"agents"}).$promise.then(function(b){b.forEach(function(b){a.agents.push(b),a.item.agents.push(b.id)})})["catch"](function(a){console.error(a)}),a.modal={dismissable:!0,title:"APPLICATION_MESSAGE_SEND_RETRY",text:"MESSAGE_MESSAGE_SEND_RETRY",buttons:[{classes:"btn btn-success",text:"APPLICATION_RETRY",click:function(a){b.close(a)}},{classes:"btn default",text:"APPLICATION_CANCEL",click:function(a){b.dismiss(a)}}]}},a.ok=function(){return f.update({id:h,controller:"agents",agents:a.item.agents}).$promise.then(function(){g.show(c.instant("MESSAGE_WELL_DONE"),"success"),b.close()})["catch"](function(a){console.error(a)})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("SmsInboxViewCtrl",["$scope","$location","$stateParams","$translate","$uibModal","socket","Auth","xAlert","SmsRoom","SmsAccount",function(a,b,c,d,e,f,g,h,i,j){a.initView=function(){j.get().$promise.then(function(c){var d=null;a.smsAccounts=c.rows,a.smsAccounts.length&&(d="/channels/sms/inbox/view/account/"+a.smsAccounts[0].id+"/list"),d&&b.path(d)})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.inbox.view",{url:"/view",templateUrl:"app/channels/sms/inbox/view/view.html",controller:"SmsInboxViewCtrl",reload:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/inbox.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("SmsInboxViewModalStatusCtrl",["$scope","$uibModalInstance","closed","SmsAccount","accountId",function(a,b,c,d,e){a.modal={title:"APPLICATION_CONFIRM_CLOSE",text:"MESSAGE_ARE_YOU_SURE_YOU_WANT_TO_CLOSE_THE_SMS"},a.initDisposition=function(){return d.get({accountId:e,controller:"dispositions"}).$promise.then(function(b){a.dispositions=b.rows})["catch"](function(a){console.error(a)})},a.item={},a.closed=c,a.ok=function(){b.close(a.item)},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").controller("SmsInboxViewModalTagCtrl",["$scope","$uibModalInstance","$translate","$stateParams","Tag","SmsRoom","xAlert","id",function(a,b,c,d,e,f,g,h){console.log(h),a.initModal=function(){return a.tags=[],a.item={tags:[]},a.modal={dismissable:!0,title:"APPLICATION_MESSAGE_SEND_RETRY",text:"MESSAGE_MESSAGE_SEND_RETRY",buttons:[{"class":"btn-success",text:"APPLICATION_TAG",click:function(){var d={status:!0};return f.patch({id:h},{tags:a.item.tags}).$promise.then(function(){g.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(){d.status=!1,g.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})["finally"](function(){b.close(d)})}},{"class":"default",text:"APPLICATION_CANCEL",click:function(a){b.dismiss(a)}}]},e.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").controller("SmsInboxViewModalTemplateCtrl",["$scope","$uibModalInstance","Template",function(a,b,c){a.initModal=function(){return a.item={},c.get().$promise.then(function(b){a.templates=b.rows})["catch"](function(a){console.error(a)})},a.ok=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("SmsQueueListCtrl",["$scope","SmsQueue","gridOptions","$uibModal","xAlert","Auth",function(a,b,c,d,e,f){a.initView=function(){a.Auth=f;var d={exporterCsvFilename:"voice_queues.csv",columnDefs:[{name:"name"},{name:"description"},{name:"timeout"},{name:"strategy"},{name:"action",width:200,buttons:[{"class":"blue-hoki",href:"/channels/sms/queues/view/{{row.entity.id}}/settings",name:"settings"},{"class":"green-meadow",href:"/channels/sms/queues/view/{{row.entity.id}}/agents",name:"agents",hide:"user"===f.getCurrentUser().role},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,d,a)},a.createItem=function(){var b=d.open({animation:!0,templateUrl:"app/channels/sms/queue/list/list.create.modal.html",controller:"SmsQueueListCreateCtrl"});b.result.then(function(b){console.log(b),a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("SmsQueueListCreateCtrl",["$scope","$uibModalInstance","$translate","xAlert","SmsQueue",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return console.log(a.item),e.save(a.item).$promise.then(function(a){b.close(a)})["catch"](function(a){d.show(a.data.message,"danger")})},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.queues.list",{url:"/list",templateUrl:"app/channels/sms/queue/list/list.html",controller:"SmsQueueListCtrl"})}]),angular.module("xCallyShuttleApp").factory("SmsQueue",["$resource",function(a){return a("/api/sms/queues/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.queues",{url:"/queues",template:"
",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:11}}})}]),angular.module("xCallyShuttleApp").controller("SmsQueueViewCtrl",["$scope","$http","$translate","$stateParams","xAlert","Team","SmsQueue",function(a,b,c,d,e,f,g){var h=function(){return{select:function(b){return g.save({id:a.queue.id,controller:"agents"},{agents:b,penalty:a.queue.penalty}).$promise.then(function(b){console.log("sel",b),a.getTeams()})["catch"](function(a){console.error(a)})},deselect:function(b){return g["delete"]({id:a.queue.id,controller:"agents",agents:b}).$promise.then(function(b){console.log("desel",b),a.getTeams()})["catch"](function(a){console.error(a)})}}};a.getQueue=function(){return g.get({id:d.id}).$promise.then(function(b){b.penalty=0,a.queue=b})["catch"](function(a){console.error(a)})},a.updateSmsQueue=function(){return g.update({id:d.id},{name:a.queue.name,description:a.queue.description,timeout:a.queue.timeout,strategy:a.queue.strategy}).$promise.then(function(){e.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){e.show(a.data.message,"danger")})},a.getTeams=function(){return f.get({controller:"associations"}).$promise.then(function(b){return a.teams=b.rows,console.log(b.rows),g.get({id:d.id,controller:"agents"}).$promise}).then(function(b){console.log(b),ComponentsDropdowns.bindSmsQueue(a.teams,_.map(b.rows,function(a){return{id:a.id,penalty:a.UserHasSmsQueue.penalty}}),h)})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.queues.view",{url:"/view/:id",templateUrl:"app/channels/sms/queue/view/view.html",controller:"SmsQueueViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.sms.queues.view.settings",{url:"/settings",templateUrl:"app/channels/sms/queue/view/view.settings.html"}).state("main.channels.sms.queues.view.agents",{url:"/agents",templateUrl:"app/channels/sms/queue/view/view.agents.html",cache:!1,serie:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.realtime",{url:"/realtime",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:11}}})}]),angular.module("xCallyShuttleApp").controller("SmsRealtimeViewAgentCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","Agent","Pause","Action","SmsQueue","usSpinnerService","$q","uiGridConstants",function(a,b,c,d,e,f,g,h,i,j,k,l,m){function n(){return k.spin("spinner-grid"),g.get(s).$promise.then(function(b){a.gridOptions.totalItems=b.count,a.gridOptions.data=[],b.rows.forEach(function(a){p(a)})})["catch"](function(a){f.error(a)})["finally"](function(){k.stop("spinner-grid")})}function o(){e.socket.on("agent:save",function(b){var c=_.find(a.gridOptions.data,{agentId:b.id,isAgent:!0});c&&(c.online=b.online,c.lastLoginAt=b.lastLoginAt,c.pause=b.smsPause,c.pauseType=b.pauseType,c.lastPauseAt=b.lastPauseAt,c.ipaddr=b.ipaddr,c.port=b.port,c.fullcontact=b.fullcontact,c.useragent=b.useragent,c.lastms=b.lastms,c.internal=b.internal,_.map(a.gridOptions.data,function(a){a.isAgent||a.agentId!==b.id||(a.online=b.online)}))}),e.socket.on("agent:remove",function(b){_.remove(a.gridOptions.data,{agentId:b.id})}),e.socket.on("user_has_sms_queue:save",function(b){console.log("new queue",b);var c=_.find(a.gridOptions.data,{agentId:b.UserId,isAgent:!0}),d=a.gridOptions.data.indexOf(c);a.gridOptions.data.splice(d+1,0,{isAgent:!1,agentId:b.UserId,queue:b.queue,queueId:b.SmsQueueId,agent:b.membername,online:c.online})}),e.socket.on("user_has_sms_queue:remove",function(b){_.remove(a.gridOptions.data,{agentId:b.UserId,queueId:b.SmsQueueId})})}function p(b){a.gridOptions.data.push({isAgent:!0,agentId:b.id,agent:b.name,online:b.online,lastLoginAt:b.lastLoginAt,lastPauseAt:b.lastPauseAt,pause:b.smsPause,pauseType:b.pauseType,ipaddr:b.ipaddr,port:b.port,fullcontact:b.fullcontact,useragent:b.useragent,lastms:b.lastms,internal:b.internal,$$treeLevel:0}),b.SmsQueues.forEach(function(c){a.gridOptions.data.push({isAgent:!1,agentId:b.id,queue:c.name,queueId:c.id,agent:b.name,online:b.online})})}function q(){return h.get().$promise.then(function(b){a.pauses=b.rows,e.syncUpdates("pause",a.pauses)})["catch"](function(a){f.error(a)})}function r(){return j.get().$promise.then(function(b){a.smsQueues=b.rows,e.syncUpdates("sms_queue",a.smsQueues)})["catch"](function(a){f.error(a)})}a.smsQueues=[];var s={controller:"realtime",controller1:"sms",offset:0,limit:10};a.moment=moment,a.initAgents=function(){a.gridOptions={enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,multiSelect:!0,showTreeExpandNoChildren:!0,columnDefs:[{name:"name",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{row.entity.agent}} <{{row.entity.internal}}>
'},{name:"online",displayName:"APPLICATION_ONLINE",width:150,headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
({{hhours}}:{{mminutes}}:{{sseconds}})
',filter:{type:m.filter.SELECT,selectOptions:[{value:"true",label:"ONLINE"},{value:"false",label:"OFFLINE"}]}},{name:"smsPause",displayName:"APPLICATION_PAUSE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
({{row.entity.pauseType}}){{hhours}}:{{mminutes}}:{{sseconds}}
',filter:{type:m.filter.SELECT,selectOptions:[{value:"true",label:"PAUSED"},{value:"false",label:"NOT PAUSED"}]},enableSorting:!1,enableColumnMenu:!1},{name:"queue",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"action",displayName:"",width:170,cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1}],data:[],gridMenuTitleFilter:function(a){var b=l.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){t(a.gridApi.core.getVisibleRows(a.gridApi.grid).length)}),a.gridApi.treeBase.on.rowExpanded(a,function(b){t(a.gridApi.core.getVisibleRows(a.gridApi.grid).length+b.treeNode.children.length)}),a.gridApi.treeBase.on.rowCollapsed(a,function(b){t(a.gridApi.core.getVisibleRows(a.gridApi.grid).length-b.treeNode.children.length)}),a.gridApi.core.on.sortChanged(a,function(a,b){0===b.length?s.order=null:s.order=b[0].name+" "+b[0].sort.direction.toUpperCase(),n()}),a.gridApi.pagination.on.paginationChanged(a,function(a,b){s.offset=(a-1)*b,s.limit=b,n()}),a.gridApi.core.on.filterChanged(a,function(){var a=this.grid;a.columns.forEach(function(a){a.filters[0].term?s[a.name]=a.filters[0].term:delete s[a.name]}),n()})}},n(),q(),r(),o()};var t=function(a){var b=a?30*a+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("agent"),e.unsyncUpdates("user_has_sms_queue")}),a.pause=function(b,c,e){return e&&(a.pauseType=null),i.save({name:c,agent:b,type:e||"DEFAULT PAUSE",data4:e||"DEFAULT PAUSE",channel:"sms"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.error(a)})},a.joinQueue=function(e){var g=c.open({animation:!0,templateUrl:"app/channels/sms/realtime/view/agent/queue.modal.add.html",controller:"SmsRealtimeViewAgentQueueModalCtrl",resolve:{queues:function(){return _.reject(a.smsQueues,function(b){return!!_.find(a.gridOptions.data,{queue:b.name,isAgent:!1,agentId:e})})}}});g.result.then(function(b){return i.save({name:"QueueAdd",agent:e,queues:_.filter(a.smsQueues,function(a){return _.includes(b.queues,a.id)}),channel:"sms",data1:e,data3:b.queues.join(","),data4:"sms"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.error(a)})},function(){b.info("Modal dismissed at: "+new Date)})},a.leaveQueue=function(a,b){return i.save({name:"QueueRemove",agent:a,queueId:b,channel:"sms",data1:a,data3:b,data4:"sms"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.error(a)})},a.showInfo=function(a){c.open({animation:!0,templateUrl:"app/channels/sms/realtime/view/agent/agent.modal.info.html",controller:"SmsRealtimeViewAgentInfoModalCtrl",resolve:{agent:a}})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.realtime.view.agents",{url:"/agents",templateUrl:"app/channels/sms/realtime/view/agent/agent.html",controller:"SmsRealtimeViewAgentCtrl"})}]),angular.module("xCallyShuttleApp").controller("SmsRealtimeViewAgentInfoModalCtrl",["$scope","$uibModalInstance","$http","agent",function(a,b,c,d){a.agent=d,a.close=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("SmsRealtimeViewAgentQueueModalCtrl",["$scope","$uibModalInstance","$http","queues",function(a,b,c,d){a.queues=d,a.item={},a.save=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("SmsRealtimeViewApplicationCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","ReportSmsSession","usSpinnerService","$q","uiGridConstants","$timeout",function(a,b,c,d,e,f,g,h,i,j,k){function l(){return h.spin("spinner-grid"),g.get({controller:"waiting",controller2:"applications"}).$promise.then(function(b){a.gridOptions.data=b.rows})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){m(),h.stop("spinner-grid")})}function m(){e.socket.on("report_sms_session:save",function(b){var c=_.find(a.gridOptions.data,{id:b.id});c?(_.merge(c,b),b.leaveAt&&k(function(){_.remove(a.gridOptions.data,{id:b.id})},1e4)):b.leaveAt||a.gridOptions.data.push(b)}),e.socket.on("report_sms_session:remove",function(b){_.remove(a.gridOptions.data,{id:b.id})})}a.moment=moment,a.initApplications=function(){a.gridOptions={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"uniqueid",displayName:"APPLICATION_UNIQUEID",headerCellFilter:"translate"},{name:"accountname",displayName:"APPLICATION_ACCOUNT",headerCellFilter:"translate"},{name:"application",displayName:"APPLICATION_APPLICATION",headerCellFilter:"translate"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}{{\'APPLICATION_UNMANAGED\' | translate}} [{{hhours}}:{{mminutes}}:{{sseconds}}]
',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"membername",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.membername || ''}}
"},{name:"queuename",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.queuename || ''}}
"}],data:[],gridMenuTitleFilter:function(a){var b=i.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){n(a.gridOptions.data.length)})}},l()};var n=function(a){var b=a?30*a+60:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("report_sms_session")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.realtime.view.applications",{url:"/applications",templateUrl:"app/channels/sms/realtime/view/application/application.html",controller:"SmsRealtimeViewApplicationCtrl"})}]),angular.module("xCallyShuttleApp").controller("SmsRealtimeViewCtrl",["$scope","$state",function(a,b){a.agents=[{name:"Queues",link:"main.channels.sms.realtime.view.agents.queues"},{name:"Timeline",link:"main.channels.sms.realtime.view.agents.timeline"}],a.sessions=[{name:"Sessions",link:"main.channels.sms.realtime.view.sessions"}],a.tree={queues:[{name:"Queues",link:"main.channels.sms.realtime.view.agents.queues"},{name:"Timeline",link:"main.channels.sms.realtime.view.agents.timeline"}],sessions:[{name:"Sessions",link:"main.channels.sms.realtime.view.sessions"}]}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.realtime.view",{url:"/view",templateUrl:"app/channels/sms/realtime/view/view.html",controller:"SmsRealtimeViewCtrl"})}]),angular.module("xCallyShuttleApp").factory("ReportSmsRoom",["$resource",function(a){return a("/api/report/sms/rooms/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ReportSmsSession",["$resource",function(a){return a("/api/report/sms/sessions/:id/:controller/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms",{url:"/sms",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("SmsQueue",["$resource",function(a){return a("/api/sms/queues/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("SmsReport",["$resource",function(a){return a("/api/report/sms/:id/:controller1/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("SmsMessage",["$resource",function(a){return a("/api/sms/messages/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("SmsRoom",["$resource",function(a){return a("/api/sms/rooms/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"},patch:{method:"PATCH"}})}]),angular.module("xCallyShuttleApp").factory("ChanSpy",["$resource",function(a){return a("/api/chanspy/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.chanspy",{url:"/chanspy",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ChanSpyListCtrl",["$scope","$uibModal","ChanSpy","gridOptions",function(a,b,c,d){a.initView=function(){var b={exporterCsvFilename:"chanspy.csv",columnDefs:[{name:"name"},{name:"prefix"},{name:"description"},{name:"action",width:160,buttons:[{"class":"blue-hoki",href:"/channels/voice/chanspy/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=d.gridOptions(c,b,a)},a.createItem=function(){var c=b.open({animation:!0,templateUrl:"app/channels/voice/chanspy/list/list.create.modal.html",controller:"ChanSpyListCreateCtrl"});c.result.then(function(b){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("ChanSpyListCreateCtrl",["$scope","$translate","$uibModalInstance","ChanSpy","xAlert",function(a,b,c,d,e){a.form={},a.item={},a.recordSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.options=[{name:"APPLICATION_CHANSPY_OPTION_b",value:"b"},{name:"APPLICATION_CHANSPY_OPTION_B",value:"B"},{name:"APPLICATION_CHANSPY_OPTION_E",value:"E"},{name:"APPLICATION_CHANSPY_OPTION_o",value:"o"},{name:"APPLICATION_CHANSPY_OPTION_q",value:"q"},{name:"APPLICATION_CHANSPY_OPTION_s",value:"s"},{name:"APPLICATION_CHANSPY_OPTION_S",value:"S"},{name:"APPLICATION_CHANSPY_OPTION_w",value:"w"},{name:"APPLICATION_CHANSPY_OPTION_W",value:"W"}],a.save=function(){return a.item.options=a.item.options.join(""),d.save(a.item).$promise.then(function(a){e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){e.show(a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.chanspy.list",{url:"/list",templateUrl:"app/channels/voice/chanspy/list/list.html",controller:"ChanSpyListCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChanSpyViewCtrl",["$scope","$translate","$stateParams","xAlert","ChanSpy",function(a,b,c,d,e){a.recordSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.options=[{name:"APPLICATION_CHANSPY_OPTION_b",value:"b"},{name:"APPLICATION_CHANSPY_OPTION_B",value:"B"},{name:"APPLICATION_CHANSPY_OPTION_E",value:"E"},{name:"APPLICATION_CHANSPY_OPTION_o",value:"o"},{name:"APPLICATION_CHANSPY_OPTION_q",value:"q"},{name:"APPLICATION_CHANSPY_OPTION_s",value:"s"},{name:"APPLICATION_CHANSPY_OPTION_S",value:"S"},{name:"APPLICATION_CHANSPY_OPTION_w",value:"w"},{name:"APPLICATION_CHANSPY_OPTION_W",value:"W"}],a.getChanSpy=function(){return e.get({id:c.id}).$promise.then(function(b){b.options=b.options.split(""),a.chanspy=b})["catch"](function(a){d.show(a.data.message,"danger")})},a.updateChanSpy=function(){var f=angular.copy(a.chanspy);return f.options=f.options.join(""),e.update({id:c.id},f).$promise.then(function(){d.show(b.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){d.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.chanspy.view",{url:"/view/:id",templateUrl:"app/channels/voice/chanspy/view/view.html",controller:"ChanSpyViewCtrl", +resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.voice.chanspy.view.settings",{url:"/settings",templateUrl:"app/channels/voice/chanspy/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").factory("VoiceContext",["$resource",function(a){return a("/api/voice/contexts/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.contexts",{url:"/contexts",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("VoiceContextListCtrl",["$scope","VoiceContext","gridOptions","$uibModal","xAlert","$translate",function(a,b,c,d,e,f){a.initView=function(){var d={exporterCsvFilename:"voice_contexts.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:170,buttons:[{"class":"{{row.entity.defaultEntry ? 'blue-hoki disabled' : 'blue-hoki'}}",href:"/channels/voice/contexts/view/{{row.entity.id}}/settings",name:"settings"},{"class":"{{row.entity.defaultEntry ? 'red-sunglo disabled' : 'red-sunglo'}}",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,d,a)},a.createItem=function(){var c=d.open({animation:!0,templateUrl:"app/channels/voice/context/list/create.modal.html",controller:["$scope","$uibModalInstance",function(a,b){a.form={},a.item={},a.ok=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]});c.result.then(function(c){return b.save(c).$promise.then(function(){a.gridOptions.getPage(),e.show(f.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){e.show(a.data.message,"danger")})})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.contexts.list",{url:"/list",templateUrl:"app/channels/voice/context/list/list.html",controller:"VoiceContextListCtrl"})}]),angular.module("xCallyShuttleApp").controller("VoiceContextViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","$location",function(a,b,c,d,e,f){a.getContext=function(){b.get("/api/voice/contexts/"+e.id).success(function(b){a.context=b}).error(function(a){console.error(a),f.path("/voice/contexts/list")})},a.updateVoiceContext=function(){var f=angular.copy(a.context);b.put("/api/voice/contexts/"+e.id,f).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(b){c.show(d.instant(b.message),"danger"),a.context=f})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.contexts.view",{url:"/view/:id",templateUrl:"app/channels/voice/context/view/view.html",controller:"VoiceContextViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.voice.contexts.view.settings",{url:"/settings",templateUrl:"app/channels/voice/context/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.dispositions",{url:"/dispositions",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("VoiceDispositionListCtrl",["$scope","$stateParams","$uibModal","$translate","VoiceDisposition","xAlert",function(a,b,c,d,e,f){a.initView=function(){return e.get().$promise.then(function(b){a.dispositions=b.rows})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.updateDisposition=function(a,b){return e.update({id:a},{name:b}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.deleteDisposition=function(b){return e.remove({id:b}).$promise.then(function(){_.remove(a.dispositions,{id:b}),f.show(d.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.addDisposition=function(){return c.open({animation:!0,templateUrl:"app/channels/voice/disposition/list/modal/add.modal.html",controller:"VoiceDispositionListModalDispositionAddCtrl"}).result.then(function(b){b&&(a.dispositions.push(b),f.show(d.instant("MESSAGE_WELL_DONE")+"!","success"))})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.dispositions.list",{url:"/list",templateUrl:"app/channels/voice/disposition/list/list.html",controller:"VoiceDispositionListCtrl"})}]),angular.module("xCallyShuttleApp").controller("VoiceDispositionListModalDispositionAddCtrl",["$scope","$uibModalInstance","VoiceDisposition","xAlert","$translate",function(a,b,c,d,e){a.ok=function(){return c.save({name:a.name}).$promise.then(function(a){b.close(a)})["catch"](function(a){d.show(e.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").factory("VoiceDisposition",["$resource",function(a){return a("/api/voice/dispositions/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("VoiceMohListCtrl",["$scope","gridOptions","VoiceMoh","$uibModal","xAlert","$translate",function(a,b,c,d,e,f){a.initView=function(){var d={exporterCsvFilename:"voice_mohs.csv",columnDefs:[{name:"name"},{name:"directory"},{name:"sort"},{name:"description"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/channels/voice/mohs/view/{{row.entity.id}}/settings",name:"settings"},{"class":"{{row.entity.defaultEntry ? 'red-sunglo disabled' : 'red-sunglo'}}",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=b.gridOptions(c,d,a)},a.createItem=function(){var b=d.open({animation:!0,templateUrl:"app/channels/voice/moh/list/create.modal.html",controller:["$scope","$uibModalInstance",function(a,b){a.form={},a.item={},a.ok=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]});b.result.then(function(b){return c.save(b).$promise.then(function(){a.gridOptions.getPage(),e.show(f.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){e.show(a.data.message,"danger")})})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.mohs.list",{url:"/list",templateUrl:"app/channels/voice/moh/list/list.html",controller:"VoiceMohListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").factory("VoiceMoh",["$resource",function(a){return a("/api/voice/musiconholds/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.mohs",{url:"/mohs",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("VoiceMohViewCtrl",["$scope","$http","xAlert","$translate","VoiceMoh","$stateParams","socket","Modal","$sce","$location","Sound",function(a,b,c,d,e,f,g,h,i,j,k){a.$translate=d,a.audioSources={},a.sortOptions=[{value:"random",name:"APPLICATION_RANDOM"},{value:"alpha",name:"APPLICATION_ALPHABETICAL"}],a.getMoh=function(){return e.get({id:f.id}).$promise.then(function(b){delete b.stamp,a.moh=b})["catch"](function(a){c.show(a.message,"danger")})},a.updateVoiceMoh=function(){return console.log("update"),e.update({id:f.id},a.moh).$promise.then(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){c.show(a.message,"danger")})},a.addMohs=function(){return e.save({id:f.id,controller:"files"},a.item).$promise.then(function(){j.path("/channels/voice/mohs/view/"+f.id+"/audios")})["catch"](function(a){c.show(a.message,"danger")})},a.getAudioFiles=function(){return e.get({id:f.id,controller:"files"}).$promise.then(function(b){a.audioFiles=b.files,a.mohPath=b.path,a.audioFiles.forEach(function(a){l(a)})})["catch"](function(a){c.show(a.message,"danger")})},a.getSecureSrc=function(a){return i.trustAsResourceUrl(a)},a.getSounds=function(){return a.item={sounds:[]},k.get().$promise.then(function(b){a.soundList=b.rows})["catch"](function(a){c.show(a.message,"danger")})};var l=function(c){b.get("/api/voice/musiconholds/stream",{params:{path:encodeURI(a.mohPath+"/"+c)}}).success(function(b){a.audioSources[c]="data:audio/ogg;base64,"+b}).error(function(a){console.error(a)})};a.deleteItem=h.confirm["delete"](function(e){b["delete"]("/api/voice/musiconholds/"+f.id+"/files",{params:{filename:e}}).success(function(){_.remove(a.audioFiles,function(a){return a===e}),c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){c.show(a.message,"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.mohs.view",{url:"/view/:id",templateUrl:"app/channels/voice/moh/view/view.html",controller:"VoiceMohViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.voice.mohs.view.settings",{url:"/settings",templateUrl:"app/channels/voice/moh/view/view.settings.html"}).state("main.channels.voice.mohs.view.audios",{url:"/audios",templateUrl:"app/channels/voice/moh/view/view.audios.html",cache:!1}).state("main.channels.voice.mohs.view.add",{url:"/add",templateUrl:"app/channels/voice/moh/view/view.addFiles.html",cache:!1})}]),angular.module("xCallyShuttleApp").controller("VoiceQueueListCtrl",["$scope","$rootScope","$uibModal","VoiceQueue","gridOptions","Auth",function(a,b,c,d,e,f){a.initView=function(){a.Auth=f;var b={exporterCsvFilename:"voice_queues.csv",primaryKey:"name",columnDefs:[{name:"name"},{name:"strategy"},{name:"description"},{name:"action",width:200,buttons:[{"class":"blue-hoki",href:"/channels/voice/queues/view/{{row.entity.name}}/settings",name:"settings"},{"class":"green-meadow",href:"/channels/voice/queues/view/{{row.entity.name}}/agents",name:"agents",hide:"user"===f.getCurrentUser().role},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.name)"}]}]};a.gridOptions=e.gridOptions(d,b,a)},a.createItem=function(){var b=c.open({animation:!0,templateUrl:"app/channels/voice/queue/list/list.create.modal.html",controller:"VoiceQueueListCreateCtrl"});b.result.then(function(){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("VoiceQueueListCreateCtrl",["$scope","$uibModalInstance","$translate","xAlert","VoiceQueue",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return e.save(a.item).$promise.then(function(a){d.show(c.instant("MESSAGE_WELL_DONE"),"success"),b.close(a)})["catch"](function(a){d.show(a.data.message,"danger")})},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.queues.list",{url:"/list",templateUrl:"app/channels/voice/queue/list/list.html",controller:"VoiceQueueListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.queues",{url:"/queues",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("ReportQueue",["$resource",function(a){return a("/api/report/queues/:id/:controller/:controller2",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("VoiceQueueViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","socket","$location","VoiceQueue","VoiceContext","Team","Auth",function(a,b,c,d,e,f,g,h,i,j,k){a.penalty=0,a.Auth=k,a.binaryChoices=[{name:"Yes",value:1},{name:"No",value:0}],a.recordSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.monitorFormats=[{name:"wav",value:"wav"},{name:"gsm",value:"gsm"},{name:"Inactive",value:""}],a.queueAnnounces=[{display_name:"Default",value:null},{display_name:"Disabled",value:""}];var l=function(){return{select:function(b){return h.save({id:a.queue.name,controller:"agents"},{agents:b,penalty:a.queue.penalty}).$promise.then(function(){a.getTeams()})["catch"](function(a){console.log(a)})},deselect:function(b){return h["delete"]({id:a.queue.name,controller:"agents",agents:b}).$promise.then(function(){a.getTeams()})["catch"](function(a){console.log(a)})}}};a.getQueue=function(){return h.get({id:e.id}).$promise.then(function(b){b.joinempty=""===b.joinempty?[]:b.joinempty.split(","),b.leavewhenempty=""===b.leavewhenempty?[]:b.leavewhenempty.split(","),b.periodic_announce=""===b.periodic_announce?[]:b.periodic_announce.split(","),b.penalty=0,a.queue=b})["catch"](function(a){g.path("/channels/voice/queues/list")})},a.updateVoiceQueue=function(){var b=angular.copy(a.queue);return b.joinempty=b.joinempty.join(","),b.leavewhenempty=b.leavewhenempty.join(","),b.periodic_announce=b.periodic_announce.join(","),b.context||(b.context=null),h.update({id:e.id},b).$promise.then(function(){c.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){c.show(d.instant(a.data.message),"danger")})},a.getTeams=function(){return j.get({controller:"associations"}).$promise.then(function(b){return a.teams=b.rows,h.get({id:e.id,controller:"agents"}).$promise}).then(function(b){ComponentsDropdowns.bindQueue(a.teams,_.map(b.rows,function(a){return{id:a.id,penalty:a.UserHasVoiceQueue.penalty}}),l)})["catch"](function(a){console.error(a)})},a.getContexts=function(){return i.get().$promise.then(function(b){a.voiceContexts=b.rows})["catch"](function(a){c.show(d.instant(data.message),"danger")})},a.getMohs=function(){b.get("/api/voice/musiconholds").success(function(b){a.voiceMohs=b.rows,f.syncUpdates("voice_musiconhold",a.voiceMohs)}).error(function(a){c.show(a.message,"danger")})},a.getSounds=function(){b.get("/api/sounds").success(function(b){a.queueAnnounces=a.queueAnnounces.concat(b),a.periodicAnnounces=angular.copy(b.rows),b.rows.unshift({display_name:"None",converted_path:null,value:""}),a.sounds=b.rows,f.syncUpdates("sound",a.sounds)}).error(function(a){console.error(a)})},a.returnAnnouncePath=function(a){return a.converted_path?a.converted_path+"/"+a.save_name:null===a.value?null:a.value}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.queues.view",{url:"/view/:id",templateUrl:"app/channels/voice/queue/view/view.html",controller:"VoiceQueueViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.voice.queues.view.settings",{url:"/settings",templateUrl:"app/channels/voice/queue/view/view.settings.html"}).state("main.channels.voice.queues.view.agents",{url:"/agents",templateUrl:"app/channels/voice/queue/view/view.agents.html",cache:!1,serie:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}})}]),angular.module("xCallyShuttleApp").factory("VoiceQueue",["$resource",function(a){return a("/api/voice/queues/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.realtime",{url:"/realtime",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewAgentCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","Agent","Pause","Action","VoiceQueue","usSpinnerService","$q","uiGridConstants","Auth",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){function o(){return k.spin("spinner-grid"),g.get(t).$promise.then(function(b){a.gridOptions.totalItems=b.count,a.gridOptions.data=[],b.rows.forEach(function(a){q(a)})})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){k.stop("spinner-grid")})}function p(){e.socket.on("agent:save",function(b){var c=_.find(a.gridOptions.data,{agentId:b.id,isAgent:!0});c&&(c.online=b.online,c.lastLoginAt=b.lastLoginAt,c.pause=b.voicePause,c.pauseType=b.pauseType,c.lastPauseAt=b.lastPauseAt,c.status=b.status,c.statusAt=b.statusAt,c.queueStatus=b.queueStatus,c.queueStatusAt=b.queueStatusAt,c.lastQueue=b.lastQueue,c.ipaddr=b.ipaddr,c.port=b.port,c.fullcontact=b.fullcontact,c.useragent=b.useragent,c.lastms=b.lastms,c.internal=b.internal,_.map(a.gridOptions.data,function(a){a.isAgent||a.agentId!==b.id||(a.online=b.online)}))}),e.socket.on("agent:remove",function(b){_.remove(a.gridOptions.data,{agentId:b.id})}),e.socket.on("user_has_voice_queue:save",function(b){var c=_.includes(_.map(a.CurrentUser.PVoiceQueues,"name"),b.queue)||n.isAdmin(),d=_.find(a.gridOptions.data,{agentId:b.UserId,queue:b.queue});if(!d&&b.logged&&c){var e=_.find(a.gridOptions.data,{agentId:b.UserId,isAgent:!0}),f=a.gridOptions.data.indexOf(e);a.gridOptions.data.splice(f+1,0,{isAgent:!1,agentId:b.UserId,queue:b.queue,agent:b.membername,callstaken:b.callstaken?b.callstaken:0,online:e.online})}else d&&!b.logged?_.remove(a.gridOptions.data,{agentId:b.UserId,queue:b.queue}):d&&b.logged&&c&&(d.callstaken=b.callstaken?b.callstaken:0)}),e.socket.on("user_has_voice_queue:remove",function(b){_.remove(a.gridOptions.data,{agentId:b.UserId,queue:b.queue})})}function q(b){a.gridOptions.data.push({isAgent:!0,agentId:b.id,agent:b.name,online:b.online,lastLoginAt:b.lastLoginAt,lastPauseAt:b.lastPauseAt,pause:b.voicePause,pauseType:b.pauseType,status:b.status||"UNKNOWN",statusAt:b.statusAt,queueStatus:b.queueStatus||"READY",queueStatusAt:b.queueStatusAt,lastQueue:b.lastQueue,ipaddr:b.ipaddr,port:b.port,fullcontact:b.fullcontact,useragent:b.useragent,lastms:b.lastms,internal:b.internal,$$treeLevel:0}),b.VoiceQueues.forEach(function(c){c.UserHasVoiceQueue.logged&&a.gridOptions.data.push({isAgent:!1,agentId:b.id,queue:c.name,agent:b.name,callstaken:c.UserHasVoiceQueue.callstaken?c.UserHasVoiceQueue.callstaken:0,online:b.online})})}function r(){return h.get().$promise.then(function(b){a.pauses=b.rows,e.syncUpdates("pause",a.pauses)})["catch"](function(a){f.show(a.message,"danger")})}function s(){return j.get().$promise.then(function(b){a.voiceQueues=b.rows,e.syncUpdates("voice_queue",a.voiceQueues)})["catch"](function(a){f.show(a.message,"danger")})}a.voiceQueues=[];var t={controller:"realtime",controller1:"voice",offset:0,limit:10};a.moment=moment,a.initAgents=function(){a.gridOptions={enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,multiSelect:!0,showTreeExpandNoChildren:!0,columnDefs:[{name:"name",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{row.entity.agent}} <{{row.entity.internal}}>
'},{name:"online",displayName:"APPLICATION_ONLINE",width:150,headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
({{hhours}}:{{mminutes}}:{{sseconds}})
',filter:{type:m.filter.SELECT,selectOptions:[{value:"true",label:"ONLINE"},{value:"false",label:"OFFLINE"}]}},{name:"status",displayName:"APPLICATION_PHONE_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{'APPLICATION_'+row.entity.status | translate}} ({{hhours}}:{{mminutes}}:{{sseconds}})
",filter:{type:m.filter.SELECT,selectOptions:[{value:"UNKNOWN",label:d.instant("APPLICATION_UNKNOWN")},{value:"NOT_INUSE",label:d.instant("APPLICATION_NOT_INUSE")},{value:"INUSE",label:d.instant("APPLICATION_INUSE")},{value:"BUSY",label:d.instant("APPLICATION_BUSY")},{value:"INVALID",label:d.instant("APPLICATION_INVALID")},{value:"UNAVAILABLE",label:d.instant("APPLICATION_UNAVAILABLE")},{value:"RINGING",label:d.instant("APPLICATION_RINGING")},{value:"RINGINUSE",label:d.instant("APPLICATION_RINGINUSE")},{value:"ONHOLD",label:d.instant("APPLICATION_ONHOLD")}]}},{name:"queueStatus",displayName:"APPLICATION_QUEUE_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{\'APPLICATION_\'+row.entity.queueStatus.toUpperCase() | translate}} [{{row.entity.lastQueue}}] [{{row.entity.pauseType}}] [{{hhours}}:{{mminutes}}:{{sseconds}}]
',filter:{type:m.filter.SELECT,selectOptions:[{value:"paused",label:d.instant("APPLICATION_PAUSED")},{value:"connect",label:d.instant("APPLICATION_CONNECT")},{value:"complete",label:d.instant("APPLICATION_COMPLETE")},{value:"called",label:d.instant("APPLICATION_CALLED")}]},enableSorting:!1,enableColumnMenu:!1},{name:"queue",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"callstaken",displayName:"APPLICATION_CALLS_TAKEN",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{row.entity.callstaken}}
',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1,width:100},{name:"action",displayName:"",width:170,cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1}],data:[],gridMenuTitleFilter:function(a){var b=l.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length)}),a.gridApi.treeBase.on.rowExpanded(a,function(b){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length+b.treeNode.children.length)}),a.gridApi.treeBase.on.rowCollapsed(a,function(b){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length-b.treeNode.children.length)}),a.gridApi.core.on.sortChanged(a,function(a,b){0===b.length?t.order=null:t.order=b[0].name+" "+b[0].sort.direction.toUpperCase(),o()}),a.gridApi.pagination.on.paginationChanged(a,function(a,b){t.offset=(a-1)*b,t.limit=b,o()}),a.gridApi.core.on.filterChanged(a,function(){var a=this.grid;a.columns.forEach(function(a){a.filters[0].term?t[a.name]=a.filters[0].term:delete t[a.name]}),o()})}},o(),r(),s(),p()};var u=function(a){var b=a?30*a+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("agent"),e.unsyncUpdates("user_has_voice_queue")}),a.pause=function(b,c,e){return e&&(a.pauseType=null),i.save({name:c,agent:b,type:e||"DEFAULT PAUSE",data4:e||"DEFAULT PAUSE",channel:"voice"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(d.instant(a.message||a.data.message||a.translatedMessage||a.data.translatedMessage),"danger")})},a.joinQueue=function(e){var g=c.open({animation:!0,templateUrl:"app/channels/voice/realtime/view/agent/queue.modal.add.html",controller:"VoiceRealtimeViewAgentQueueModalCtrl",resolve:{queues:function(){return _.reject(a.voiceQueues,function(b){return!!_.find(a.gridOptions.data,{queue:b.name,isAgent:!1,agentId:e})})}}});g.result.then(function(a){return i.save({name:"QueueAdd",agent:e,queues:a.queues,channel:"voice",data1:e,data3:a.queues.join(","),data4:"voice"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},function(){b.info("Modal dismissed at: "+new Date)})},a.leaveQueue=function(a,b){return i.save({name:"QueueRemove",agent:a,queue:b,channel:"voice",data1:a,data3:b,data4:"voice"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},a.showInfo=function(a){c.open({animation:!0,templateUrl:"app/channels/voice/realtime/view/agent/agent.modal.info.html",controller:"VoiceRealtimeViewAgentInfoModalCtrl",resolve:{agent:a}})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.realtime.view.agents",{url:"/agents",templateUrl:"app/channels/voice/realtime/view/agent/agent.html",controller:"VoiceRealtimeViewAgentCtrl"})}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewAgentInfoModalCtrl",["$scope","$uibModalInstance","agent",function(a,b,c){a.agent=c,a.close=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewAgentQueueModalCtrl",["$scope","$uibModalInstance","$http","queues",function(a,b,c,d){a.queues=d,a.item={},a.save=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewParameterCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","ReportQueue","usSpinnerService","$q","uiGridConstants",function(a,b,c,d,e,f,g,h,i,j){function k(){return h.spin("spinner-grid"),g.get(m).$promise.then(function(b){a.gridOptions.totalItems=b.count,a.gridOptions.data=b.rows})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){h.stop("spinner-grid")})}function l(){e.socket.on("voice_queue:save",function(b){_.find(a.gridOptions.data,{name:b.name})||a.gridOptions.data.push({abandoned:0,active:0,answered:0,holdtime:"00:00:00",name:b.name,talktime:"00:00:00",totalcalls:0,unmanaged:0,waiting:0})}),e.socket.on("voice_queue:remove",function(b){_.remove(a.gridOptions.data,{name:b.name})}),e.socket.on("report_queue:parameters",function(b){var c=_.find(a.gridOptions.data,{name:b.name});c&&_.merge(c,b)})}var m={offset:0,limit:10,controller:"parameters"};a.moment=moment,a.initParameters=function(){a.gridOptions={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,enableSorting:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalFiltering:!0,useExternalSorting:!0,columnDefs:[{name:"name",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter"},{name:"waiting",displayName:"APPLICATION_WAITING",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"active",displayName:"APPLICATION_ACTIVE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"answered",displayName:"APPLICATION_ANSWERED",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableColumnMenu:!1,filters:[{condition:j.filter.GREATER_THAN_OR_EQUAL,placeholder:"from"},{condition:j.filter.LESS_THAN_OR_EQUAL,placeholder:"to"}]},{name:"abandoned",displayName:"APPLICATION_ABANDONED",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableColumnMenu:!1,filters:[{condition:j.filter.GREATER_THAN,placeholder:"from"},{condition:j.filter.LESS_THAN,placeholder:"to"}]},{name:"unmanaged",displayName:"APPLICATION_UNMANAGED",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableColumnMenu:!1,filters:[{condition:j.filter.GREATER_THAN,placeholder:"from"},{condition:j.filter.LESS_THAN,placeholder:"to"}]},{name:"holdtime",displayName:"APPLICATION_HOLDTIME",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"talktime",displayName:"APPLICATION_TALKTIME",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"totalcalls",displayName:"APPLICATION_TOTAL_CALLS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1}],data:[],gridMenuTitleFilter:function(a){var b=i.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){n(a.gridOptions.data.length)}),a.gridApi.core.on.sortChanged(a,function(a,b){0===b.length?m.order=null:m.order=b[0].name+" "+b[0].sort.direction.toUpperCase(),k()}),a.gridApi.pagination.on.paginationChanged(a,function(a,b){m.offset=(a-1)*b,m.limit=b,k()}),a.gridApi.core.on.filterChanged(a,function(){var a=this.grid;a.columns.forEach(function(a){if(a.filters.length>1){a.filters.forEach(function(b){b.term?64===b.condition?m[a.name+"_uiFrom"]=b.term:256===b.condition&&(m[a.name+"_uiTo"]=b.term):64===b.condition?delete m[a.name+"_uiFrom"]:256===b.condition&&delete m[a.name+"_uiTo"]})}else a.filters.length&&a.filters[0].term?m[a.name]=a.filters[0].term:delete m[a.name]}),k()})}},k(),l()};var n=function(a){ +var b=a?30*a+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("voice_queue")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.realtime.view.parameters",{url:"/parameters",templateUrl:"app/channels/voice/realtime/view/parameter/parameter.html",controller:"VoiceRealtimeViewParameterCtrl"})}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewQueueCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","ReportQueue","Pause","Action","usSpinnerService","$q","uiGridConstants","$timeout","Auth",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){function o(){return j.spin("spinner-grid"),g.get({controller:"waiting",controller2:"calls"}).$promise.then(function(b){a.gridOptions.data=b.rows})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){p(),j.stop("spinner-grid")})}function p(){e.socket.on("report_queue:save",function(b){var c=_.find(a.gridOptions.data,{id:b.id});c?(_.merge(c,b),b.queuecallerleaveAt&&m(function(){_.remove(a.gridOptions.data,{id:b.id})},1e4)):b.queuecallerleaveAt||a.gridOptions.data.push(b)}),e.socket.on("report_queue:remove",function(b){_.remove(a.gridOptions.data,{id:b.id})})}a.moment=moment,a.initQueues=function(){a.gridOptions={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"queue",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}{{\'APPLICATION_QUEUESTATUS_ABANDON\' | translate}}{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}} [{{hhours}}:{{mminutes}}:{{sseconds}}]
',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"caller",displayName:"APPLICATION_CALLER",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.calleridnum || ''}} {{row.entity.calleridname || ''}}
",enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"agent",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.connectedlinenum || ''}} {{row.entity.connectedlinename || ''}}
",enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1}],data:[],gridMenuTitleFilter:function(a){var b=k.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){q(a.gridOptions.data.length)})}},o()};var q=function(a){var b=a?30*a+60:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("report_queue")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.realtime.view.queues",{url:"/queues",templateUrl:"app/channels/voice/realtime/view/queue/queue.html",controller:"VoiceRealtimeViewQueueCtrl"})}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewTelephoneCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","Telephone","Pause","Action","usSpinnerService","$q","uiGridConstants",function(a,b,c,d,e,f,g,h,i,j,k,l){function m(){return j.spin("spinner-grid"),g.get(o).$promise.then(function(b){a.gridOptions.totalItems=b.count,a.gridOptions.data=b.rows})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){j.stop("spinner-grid")})}function n(){e.socket.on("telephone:save",function(b){var c=_.find(a.gridOptions.data,{id:b.id});c&&(c.status=b.status,c.statusAt=b.statusAt,c.ipaddr=b.ipaddr,c.port=b.port,c.fullcontact=b.fullcontact,c.useragent=b.useragent,c.lastms=b.lastms,c.internal=b.internal)}),e.socket.on("telephone:remove",function(b){_.remove(a.gridOptions.data,{id:b.id})})}var o={offset:0,limit:10};a.moment=moment,a.initTelephones=function(){a.gridOptions={enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,multiSelect:!0,showTreeExpandNoChildren:!0,columnDefs:[{name:"name",displayName:"APPLICATION_TELEPHONE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.name}} <{{row.entity.internal}}>
"},{name:"status",displayName:"APPLICATION_PHONE_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{'APPLICATION_'+row.entity.status | translate}} ({{hhours}}:{{mminutes}}:{{sseconds}})
",filter:{type:l.filter.SELECT,selectOptions:[{value:"UNKNOWN",label:d.instant("APPLICATION_UNKNOWN")},{value:"NOT_INUSE",label:d.instant("APPLICATION_NOT_INUSE")},{value:"INUSE",label:d.instant("APPLICATION_INUSE")},{value:"BUSY",label:d.instant("APPLICATION_BUSY")},{value:"INVALID",label:d.instant("APPLICATION_INVALID")},{value:"UNAVAILABLE",label:d.instant("APPLICATION_UNAVAILABLE")},{value:"RINGING",label:d.instant("APPLICATION_RINGING")},{value:"RINGINUSE",label:d.instant("APPLICATION_RINGINUSE")},{value:"ONHOLD",label:d.instant("APPLICATION_ONHOLD")}]}},{name:"action",displayName:"",width:170,cellClass:"text-center ui-grid-vcenter",cellTemplate:'
',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1}],data:[],gridMenuTitleFilter:function(a){var b=k.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){p(a.gridOptions.data.length)}),a.gridApi.core.on.sortChanged(a,function(a,b){0===b.length?o.order=null:o.order=b[0].name+" "+b[0].sort.direction.toUpperCase(),m()}),a.gridApi.pagination.on.paginationChanged(a,function(a,b){o.offset=(a-1)*b,o.limit=b,m()}),a.gridApi.core.on.filterChanged(a,function(){var a=this.grid;a.columns.forEach(function(a){a.filters[0].term?o[a.name]=a.filters[0].term:delete o[a.name]}),m()})}},m(),n()};var p=function(a){var b=a?30*a+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("telephone")}),a.showInfo=function(a){c.open({animation:!0,templateUrl:"app/channels/voice/realtime/view/telephone/telephone.modal.info.html",controller:"VoiceRealtimeViewTelephoneInfoModalCtrl",resolve:{telephone:a}})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.realtime.view.telephones",{url:"/telephones",templateUrl:"app/channels/voice/realtime/view/telephone/telephone.html",controller:"VoiceRealtimeViewTelephoneCtrl",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewTelephoneInfoModalCtrl",["$scope","$uibModalInstance","$http","telephone",function(a,b,c,d){a.telephone=d,a.close=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewCtrl",["$scope","Auth",function(a,b){a.Auth=b}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.realtime.view",{url:"/view",templateUrl:"app/channels/voice/realtime/view/view.html",controller:"VoiceRealtimeViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("VoiceRecordingListCtrl",["$scope","$translate","$sce","Recording","gridOptions","xAlert","uiGridConstants",function(a,b,c,d,e,f,g){a.Recording=d;a.updateRating=function(a,c){return d.update({id:a,rating:c}).$promise.then(function(){f.show(b.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},a.initView=function(){var b={exporterCsvFilename:"recordings.csv",rowHeight:30,primaryKey:"uniqueid",columnDefs:[{name:"uniqueid"},{name:"calleridnum"},{name:"membername"},{name:"type",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
",filter:{type:g.filter.SELECT,selectOptions:[{value:"inbound",label:"Inbound"},{value:"outbound",label:"Outbound"}]}},{name:"queue"},{name:"createdAt",displayName:"APPLICATION_DATE",headerCellFilter:"translate",filterHeaderTemplate:'
',filters:[{name:"From",condition:g.filter.GREATER_THAN_OR_EQUAL},{name:"To",condition:g.filter.LESS_THAN_OR_EQUAL}]},{name:"rating",filter:{type:g.filter.SELECT,selectOptions:[{value:1,label:"1"},{value:2,label:"2"},{value:3,label:"3"},{value:4,label:"4"},{value:5,label:"5"}]},cellClass:"ui-grid-vcenter",width:"100",cellTemplate:'
'},{name:"audio",displayName:"",width:225,enableSorting:!1,enableFiltering:!1,buttons:[{directive:''}]},{name:"action",width:150,buttons:[{directive:''},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.uniqueid, row.entity.uniqueid)"}]}]};a.gridOptions=e.gridOptions(d,b,a,{order:"createdAt DESC"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.recordings.list",{url:"/list",templateUrl:"app/channels/voice/recording/list/list.html",controller:"VoiceRecordingListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Recording",["$resource",function(a){return a("/api/voice/recordings/:id/:controller",{id:"@id"},{update:{method:"PUT"},patch:{method:"PATCH"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.recordings",{url:"/recordings",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.routes.inbound",{url:"/inbound",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("VoiceRouteInboundListCreateCtrl",["$scope","$uibModalInstance","Route","application","xAlert","$location","$translate",function(a,b,c,d,e,f,g){a.$application=d.application,a.forms={route:void 0},a.item={type:"inbound",appdata:"Inbound Call",context:"from-voip-provider"},a.ok=function(){return a.item.exten=a.$application.checkUnderscore(a.item.exten),c.save(a.item).$promise.then(function(a){b.close(a),f.path("/channels/voice/routes/inbound/view/"+a.id+"/applications")})["catch"](function(a){console.log(a),e.show(g.instant(a.data.translatedMessage),"danger")})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("VoiceRouteInboundListCtrl",["$scope","$http","socket","$translate","$rootScope","xAlert","Modal","stResource","gridOptions","Route","$uibModal","$location","$log",function(a,b,c,d,e,f,g,h,i,j,k,l,m){a.initView=function(){var b={exporterCsvFilename:"InboundRoutes.csv",columnDefs:[{name:"exten",displayName:"APPLICATION_PHONE_NUMBER"},{name:"description"},{name:"applications",cellClass:"ui-grid-vcenter",cellTemplate:'
{{app.app}}({{app.appdata[0]}}), ...
{{\'MESSAGE_NO_AVAILABLE_APPLICATIONS\' | translate}}
',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"action",width:170,buttons:[{"class":"blue-hoki",href:"/channels/voice/routes/inbound/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.exten, row.entity.id)"}]}]};a.gridOptions=i.gridOptions(j,b,a,{type:"inbound"})},a.create=function(){k.open({animation:!0,templateUrl:"app/channels/voice/route/inbound/list/create.modal.html",controller:"VoiceRouteInboundListCreateCtrl"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.routes.inbound.list",{url:"/list",templateUrl:"app/channels/voice/route/inbound/list/list.html",controller:"VoiceRouteInboundListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("VoiceRouteInboundViewCtrl",["$scope","$translate","$stateParams","socket","$location","WizardHandler","Modal","xAlert","application","interval","Route","VoiceQueue","Sound","SquareProject","VoiceContext","Interval","VoiceMail","User","Trunk",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){function t(b){var c,d;if("always"===b.intType)c=null,d="*,*,*,*";else if("list"===b.intType)d=b.IntervalId?_.find(a.Intervals,{id:b.IntervalId}).name:"*,*,*,*",c=b.IntervalId||null;else if("custom"===b.intType){c=null;var e,f,g,h;e=b.t_from&&b.t_to&&!b.alwaysTime?moment(b.t_from).format("HH:mm")+"-"+moment(b.t_to).format("HH:mm"):"*",b.wd_from&&"always"!==b.wd_from?(f=b.wd_from,b.wd_to&&"always"!==b.wd_to&&(f+="-"+b.wd_to)):f="*",b.md_from&&"always"!==b.md_from?(g=b.md_from,b.md_to&&"always"!==b.md_to&&(g+="-"+b.md_to)):g="*",b.m_from&&"always"!==b.m_from?(h=b.m_from,b.m_to&&"always"!==b.m_to&&(h+="-"+b.m_to)):h="*",d=e+","+f+","+g+","+h}void 0===a.selectedApp?(a.application.interval=d,a.application.IntervalId=c):(a.route.Applications[a.selectedApp].interval=d,a.route.Applications[a.selectedApp].IntervalId=c)}function u(){if(a.interval.intType=a.route.Applications[a.selectedApp].IntervalId?"list":"*,*,*,*"===a.route.Applications[a.selectedApp].interval?"always":"custom",a.interval.IntervalId=a.route.Applications[a.selectedApp].IntervalId,!a.route.Applications[a.selectedApp].IntervalId){var b,c=a.route.Applications[a.selectedApp].interval?a.route.Applications[a.selectedApp].interval.split(","):["*","*","*","*"];c.forEach(function(c,d){switch(d){case 0:"*"!==c?(b=c.split("-"),a.interval.t_from=moment(b[0],"HH:mm"),a.interval.t_to=moment(b[1],"HH:mm"),a.interval.alwaysTime=!1):(a.interval.t_from=moment(new Date),a.interval.t_to=moment(new Date),a.interval.alwaysTime=!0);break;case 1:"*"!==c?(b=c.split("-"),a.interval.wd_from=b[0],a.interval.wd_to=b[1]?b[1]:"always"):(a.interval.wd_from="always",a.interval.wd_to="always");break;case 2:"*"!==c?(b=c.split("-"),a.interval.md_from=b[0],a.interval.md_to=b[1]?b[1]:"always"):(a.interval.md_from="always",a.interval.md_to="always");break;case 3:"*"!==c?(b=c.split("-"),a.interval.m_from=b[0],a.interval.m_to=b[1]?b[1]:"always"):(a.interval.m_from="always",a.interval.m_to="always")}})}}a.$translate=b,a.selectedApp=void 0,a.showGrid=!0,a.$application=i.application,a.$interval=j.interval,a.gridOptions={enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableSorting:!1,rowTemplate:'
',columnDefs:[{name:"app",headerCellFilter:"translate",displayName:"APPLICATION_APPLICATION",enableColumnMenu:!1},{name:"appType",headerCellFilter:"translate",displayName:"APPLICATION_INFO",enableColumnMenu:!1},{name:"appdata",headerCellFilter:"translate",displayName:"APPLICATION_ARGUMENTS",cellClass:"ui-grid-vcenter",cellTemplate:"
{{row.entity.appdata.join(',')}}
",enableColumnMenu:!1},{name:"interval",headerCellFilter:"translate",displayName:"APPLICATION_TIME",enableColumnMenu:!1},{name:"action",enableColumnMenu:!1,headerCellFilter:"translate",displayName:"APPLICATION_ACTION",width:125,cellClass:"ui-grid-vcenter",cellTemplate:'
'}],onRegisterApi:function(b){b.draggableRows.on.rowDropped(a,function(b,c){a.updateRoute()}),b.grid.registerDataChangeCallback(function(){v(a.gridOptions.data.length)})}};var v=function(a){var b=a?30*a+120:177;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px")};a.initApplication=function(b){b&&(a.selectedApp=void 0),a.forms={settings:void 0,interval:void 0},a.application={},a.interval={intType:"always",t_from:moment(new Date),t_to:moment(new Date),wd_from:"always",wd_to:"always",md_from:"always",md_to:"always",m_from:"always",m_to:"always",alwaysTime:!0},a.main={app:""}},a.$watch("interval",function(a){a&&t(a)},!0),a.updateSetAppdata=function(){a.application.variable&&a.application.value&&"Set"===a.main.app.value?a.application.appdata[0]=a.application.variable+"="+a.application.value:a.application.appdata[0]=null},a.updateSetAppdataSettings=function(){a.application.variable&&a.application.value&&"Set"===a.main.app.value?a.route.Applications[a.selectedApp].appdata[0]=a.application.variable+"="+a.application.value:a.route.Applications[a.selectedApp].appdata[0]=null},a.$watch("main.app",function(c){if(c){var d,e,f={},g={};switch(void 0===a.selectedApp&&(a.application={appType:c.type,app:c.value,interval:a.application.interval||"*,*,*,*",appdata:[]}),c.value){case"Queue":d=l,e=m;break;case"Playback":d=m;break;case"AGI":d=n;break;case"Goto":d=o;break;case"Voicemail":d=q;break;case"Dial":switch(c.type){case"internalDial":d=r,f={controller:"all"};break;case"externalDial":d=s}}if(d)return d.get(f).$promise.then(function(b){a.items=b.rows}).then(function(){return e?e.get(g).$promise:void 0}).then(function(b){b&&(a.items2=b.rows)})["catch"](function(a){h.show(b.instant(a.message),"danger")})}},!0),a.deselectAndRedirect=function(b){a.selectedApp=void 0,e.path(b)},a.getIntervals=function(){return p.get().$promise.then(function(b){a.Intervals=b.rows,d.syncUpdates("interval",a.Intervals)})["catch"](function(a){h.show(b.instant(a.message),"danger")})},a.getRoute=function(){return k.get({id:c.id}).$promise.then(function(b){a.route=b,a.gridOptions.data=b.Applications,v(a.gridOptions.data.length)})["catch"](function(a){e.path("/channels/voice/routes/inbound/list")})},a.getApplication=function(){if(void 0===a.selectedApp)e.path("/channels/voice/routes/inbound/list");else{if(a.showGrid=!0,a.route.Applications[a.selectedApp].appType)a.main.app=_.find(a.$application.applications,{type:a.route.Applications[a.selectedApp].appType});else{var b=_.find(a.$application.applications,{value:a.route.Applications[a.selectedApp].app});if(b)a.main.app=b;else{a.main.app=_.find(a.$application.applications,{type:"custom"});var c=a.route.Applications[a.selectedApp].appdata.join(",");a.route.Applications[a.selectedApp].appdata=[c],a.route.Applications[a.selectedApp].appType="custom"}}if("Set"===a.main.app.value){var d=a.route.Applications[a.selectedApp].appdata[0].split("=");a.application.variable=d[0],a.application.value=d[1]}u()}},a.openApplication=function(b){a.selectedApp=b,a.showGrid=!1,e.path("/channels/voice/routes/inbound/view/"+c.id+"/applications/settings")},a.updateRoute=function(d){return a.route.exten=a.$application.checkUnderscore(a.route.exten),k.update({id:a.route.id},a.route).$promise.then(function(f){a.selectedApp=void 0,h.show(b.instant("MESSAGE_WELL_DONE")+"!","success"),d&&e.path("/channels/voice/routes/inbound/view/"+c.id+"/"+d)})["catch"](function(a){console.log(a),h.show(b.instant(a.data.translatedMessage),"danger")})},a.getContexts=function(){return o.get().$promise.then(function(b){a.voiceContexts=b.rows,d.syncUpdates("voice_context",a.voiceContexts)})["catch"](function(a){h.show(b.instant(a.message),"danger")})},a.deleteApp=g.confirm["delete"](function(b){a.route.Applications.splice(b,1),a.updateRoute()}),a.addApplication=function(){a.route.Applications.push(a.application),a.updateRoute("applications")},a.goNext=function(){f.wizard().next()},a.previous=function(){f.wizard().previous()},a.formValidation=function(a){return a},a.$on("destroy",function(){d.unsyncUpdates("voice_extension")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.routes.inbound.view",{url:"/view/:id",templateUrl:"app/channels/voice/route/inbound/view/view.html",controller:"VoiceRouteInboundViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.voice.routes.inbound.view.settings",{url:"/settings",templateUrl:"app/channels/voice/route/inbound/view/view.settings.html"}).state("main.channels.voice.routes.inbound.view.applications",{url:"/applications",templateUrl:"app/channels/voice/route/inbound/view/view.applications.html"}).state("main.channels.voice.routes.inbound.view.application",{url:"/application",templateUrl:"app/channels/voice/route/view.application.html"}).state("main.channels.voice.routes.inbound.view.applications.settings",{url:"/settings",templateUrl:"app/channels/voice/route/view.applicationSettings.html"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.routes.internal",{url:"/internal",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("VoiceRouteInternalListCreateCtrl",["$scope","$uibModalInstance","Route","application","$location","$translate","xAlert",function(a,b,c,d,e,f,g){a.$application=d.application,a.forms={route:void 0},a.item={type:"internal",appdata:"Internal Call",context:"from-sip"},a.ok=function(){return a.item.exten=a.$application.checkUnderscore(a.item.exten),c.save(a.item).$promise.then(function(a){b.close(a),e.path("/channels/voice/routes/internal/view/"+a.id+"/applications")})["catch"](function(a){g.error(a)})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("VoiceRouteInternalListCtrl",["$scope","$http","socket","$translate","$rootScope","xAlert","Modal","stResource","gridOptions","Route","$uibModal","$location","$log",function(a,b,c,d,e,f,g,h,i,j,k,l,m){a.initView=function(){var b={exporterCsvFilename:"InternalRoutes.csv",columnDefs:[{name:"exten",displayName:"APPLICATION_PHONE_NUMBER"},{name:"description"},{name:"applications",cellClass:"ui-grid-vcenter",cellTemplate:'
{{app.app}}({{app.appdata[0]}}),...
{{\'MESSAGE_NO_AVAILABLE_APPLICATIONS\' | translate}}
',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"action",width:170,buttons:[{"class":"blue-hoki",href:"/channels/voice/routes/internal/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.exten, row.entity.id)"}]}]};a.gridOptions=i.gridOptions(j,b,a,{type:"internal"})},a.create=function(){k.open({animation:!0,templateUrl:"app/channels/voice/route/internal/list/create.modal.html",controller:"VoiceRouteInternalListCreateCtrl"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.routes.internal.list",{url:"/list",templateUrl:"app/channels/voice/route/internal/list/list.html",controller:"VoiceRouteInternalListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("VoiceRouteInternalViewCtrl",["$scope","$translate","$stateParams","socket","$location","WizardHandler","Modal","xAlert","application","interval","Route","VoiceQueue","Sound","SquareProject","VoiceContext","Interval","VoiceMail","User","Trunk",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){function t(b){var c,d;if("always"===b.intType)c=null,d="*,*,*,*";else if("list"===b.intType)d=b.IntervalId?_.find(a.Intervals,{id:b.IntervalId}).name:"*,*,*,*",c=b.IntervalId||null;else if("custom"===b.intType){c=null;var e,f,g,h;e=b.t_from&&b.t_to&&!b.alwaysTime?moment(b.t_from).format("HH:mm")+"-"+moment(b.t_to).format("HH:mm"):"*",b.wd_from&&"always"!==b.wd_from?(f=b.wd_from,b.wd_to&&"always"!==b.wd_to&&(f+="-"+b.wd_to)):f="*",b.md_from&&"always"!==b.md_from?(g=b.md_from,b.md_to&&"always"!==b.md_to&&(g+="-"+b.md_to)):g="*",b.m_from&&"always"!==b.m_from?(h=b.m_from,b.m_to&&"always"!==b.m_to&&(h+="-"+b.m_to)):h="*",d=e+","+f+","+g+","+h}void 0===a.selectedApp?(a.application.interval=d,a.application.IntervalId=c):(a.route.Applications[a.selectedApp].interval=d,a.route.Applications[a.selectedApp].IntervalId=c)}function u(){if(a.interval.intType=a.route.Applications[a.selectedApp].IntervalId?"list":"*,*,*,*"===a.route.Applications[a.selectedApp].interval?"always":"custom",a.interval.IntervalId=a.route.Applications[a.selectedApp].IntervalId,!a.route.Applications[a.selectedApp].IntervalId){var b,c=a.route.Applications[a.selectedApp].interval?a.route.Applications[a.selectedApp].interval.split(","):["*","*","*","*"];c.forEach(function(c,d){switch(d){case 0:"*"!==c?(b=c.split("-"),a.interval.t_from=moment(b[0],"HH:mm"),a.interval.t_to=moment(b[1],"HH:mm"),a.interval.alwaysTime=!1):(a.interval.t_from=moment(new Date),a.interval.t_to=moment(new Date),a.interval.alwaysTime=!0);break;case 1:"*"!==c?(b=c.split("-"),a.interval.wd_from=b[0],a.interval.wd_to=b[1]?b[1]:"always"):(a.interval.wd_from="always",a.interval.wd_to="always");break;case 2:"*"!==c?(b=c.split("-"),a.interval.md_from=b[0],a.interval.md_to=b[1]?b[1]:"always"):(a.interval.md_from="always",a.interval.md_to="always");break;case 3:"*"!==c?(b=c.split("-"),a.interval.m_from=b[0],a.interval.m_to=b[1]?b[1]:"always"):(a.interval.m_from="always",a.interval.m_to="always")}})}}a.$translate=b,a.selectedApp=void 0,a.showGrid=!0,a.$application=i.application,a.$interval=j.interval,a.gridOptions={enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableSorting:!1,rowTemplate:'
',columnDefs:[{name:"app",headerCellFilter:"translate",displayName:"APPLICATION_APPLICATION",enableColumnMenu:!1},{name:"appType",headerCellFilter:"translate",displayName:"APPLICATION_INFO",enableColumnMenu:!1},{name:"appdata",headerCellFilter:"translate",displayName:"APPLICATION_ARGUMENTS",cellClass:"ui-grid-vcenter",cellTemplate:"
{{row.entity.appdata.join(',')}}
",enableColumnMenu:!1},{name:"interval",headerCellFilter:"translate",displayName:"APPLICATION_TIME",enableColumnMenu:!1},{name:"action",enableColumnMenu:!1,headerCellFilter:"translate",displayName:"APPLICATION_ACTION",width:125,cellClass:"ui-grid-vcenter",cellTemplate:'
'}],onRegisterApi:function(b){b.draggableRows.on.rowDropped(a,function(b,c){a.updateRoute()}),b.grid.registerDataChangeCallback(function(){v(a.gridOptions.data.length)})}};var v=function(a){var b=a?30*a+120:177;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px")};a.initApplication=function(b){b&&(a.selectedApp=void 0),a.forms={settings:void 0,interval:void 0},a.application={},a.interval={intType:"always",t_from:moment(new Date),t_to:moment(new Date),wd_from:"always",wd_to:"always",md_from:"always",md_to:"always",m_from:"always",m_to:"always",alwaysTime:!0},a.main={app:""}},a.$watch("interval",function(a){a&&t(a)},!0),a.updateSetAppdata=function(){a.application.variable&&a.application.value&&"Set"===a.main.app.value?a.application.appdata[0]=a.application.variable+"="+a.application.value:a.application.appdata[0]=null},a.updateSetAppdataSettings=function(){a.application.variable&&a.application.value&&"Set"===a.main.app.value?a.route.Applications[a.selectedApp].appdata[0]=a.application.variable+"="+a.application.value:a.application.appdata[0]=null},a.$watch("main.app",function(c){if(c){var d,e,f={},g={};switch(void 0===a.selectedApp&&(a.application={appType:c.type,app:c.value,interval:a.application.interval||"*,*,*,*",appdata:[]}),c.value){case"Queue":d=l,e=m;break;case"Playback":d=m;break;case"AGI":d=n;break;case"Goto":d=o;break;case"Voicemail":d=q;break;case"Dial":switch(c.type){case"internalDial":d=r,f={controller:"all"};break;case"externalDial":d=s}}if(d)return d.get(f).$promise.then(function(b){a.items=b.rows}).then(function(){return e?e.get(g).$promise:void 0}).then(function(b){b&&(a.items2=b.rows)})["catch"](function(a){h.show(b.instant(a.message),"danger")})}},!0),a.deselectAndRedirect=function(b){a.selectedApp=void 0,e.path(b)},a.getIntervals=function(){return p.get().$promise.then(function(b){a.Intervals=b.rows,d.syncUpdates("interval",a.Intervals)})["catch"](function(a){h.show(b.instant(a.message),"danger")})},a.getRoute=function(){return k.get({id:c.id}).$promise.then(function(b){a.route=b,a.gridOptions.data=b.Applications,v(a.gridOptions.data.length)})["catch"](function(a){e.path("/channels/voice/routes/internal/list")})},a.getApplication=function(){if(void 0===a.selectedApp)e.path("/channels/voice/routes/inbound/list");else{if(a.showGrid=!0,a.route.Applications[a.selectedApp].appType)a.main.app=_.find(a.$application.applications,{type:a.route.Applications[a.selectedApp].appType});else{var b=_.find(a.$application.applications,{value:a.route.Applications[a.selectedApp].app});if(b)a.main.app=b;else{ +a.main.app=_.find(a.$application.applications,{type:"custom"});var c=a.route.Applications[a.selectedApp].appdata.join(",");a.route.Applications[a.selectedApp].appdata=[c],a.route.Applications[a.selectedApp].appType="custom"}}if("Set"===a.main.app.value){var d=a.route.Applications[a.selectedApp].appdata[0].split("=");a.application.variable=d[0],a.application.value=d[1]}u()}},a.openApplication=function(b){a.selectedApp=b,a.showGrid=!1,e.path("/channels/voice/routes/internal/view/"+c.id+"/applications/settings")},a.updateRoute=function(d){return a.route.exten=a.$application.checkUnderscore(a.route.exten),k.update({id:a.route.id},a.route).$promise.then(function(f){a.selectedApp=void 0,h.show(b.instant("MESSAGE_WELL_DONE")+"!","success"),d&&e.path("/channels/voice/routes/internal/view/"+c.id+"/"+d)})["catch"](function(a){h.show(b.instant(a.data.translatedMessage),"danger")})},a.getContexts=function(){return o.get().$promise.then(function(b){a.voiceContexts=b.rows,d.syncUpdates("voice_context",a.voiceContexts)})["catch"](function(a){h.show(b.instant(a.message),"danger")})},a.deleteApp=g.confirm["delete"](function(b){a.route.Applications.splice(b,1),a.updateRoute()}),a.addApplication=function(){a.route.Applications.push(a.application),a.updateRoute("applications")},a.goNext=function(){f.wizard().next()},a.previous=function(){f.wizard().previous()},a.formValidation=function(a){return a},a.$on("destroy",function(){d.unsyncUpdates("voice_extension")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.routes.internal.view",{url:"/view/:id",templateUrl:"app/channels/voice/route/internal/view/view.html",controller:"VoiceRouteInternalViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.voice.routes.internal.view.settings",{url:"/settings",templateUrl:"app/channels/voice/route/internal/view/view.settings.html"}).state("main.channels.voice.routes.internal.view.applications",{url:"/applications",templateUrl:"app/channels/voice/route/internal/view/view.applications.html"}).state("main.channels.voice.routes.internal.view.application",{url:"/application",templateUrl:"app/channels/voice/route/view.application.html"}).state("main.channels.voice.routes.internal.view.applications.settings",{url:"/settings",templateUrl:"app/channels/voice/route/view.applicationSettings.html"})}]),angular.module("xCallyShuttleApp").controller("VoiceRouteOutboundListCreateCtrl",["$scope","$uibModalInstance","Route","application","xAlert","$translate","$location","Tag",function(a,b,c,d,e,f,g,h){a.$application=d.application,a.forms={route:void 0},a.item={type:"outbound",appdata:"Outbound Call",context:"from-sip"},a.getTags=function(){return h.get().$promise.then(function(b){b.rows.unshift({name:"--"}),a.tags=b.rows})["catch"](function(a){e.show(f.instant(a.data.translatedMessage),"danger")})},a.ok=function(){return a.item.exten=a.$application.checkUnderscore(a.item.exten),c.save(a.item).$promise.then(function(a){b.close(a),g.path("/channels/voice/routes/outbound/view/"+a.id+"/routes")})["catch"](function(a){e.show(f.instant(a.data.translatedMessage),"danger")})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("VoiceRouteOutboundListCtrl",["$scope","$http","socket","$translate","$rootScope","xAlert","Modal","stResource","gridOptions","Route","$uibModal","$location","$log",function(a,b,c,d,e,f,g,h,i,j,k,l,m){a.initView=function(){var b={exporterCsvFilename:"OutboundRoutes.csv",columnDefs:[{name:"exten",displayName:"APPLICATION_DESTINATION_PATTERN"},{name:"description"},{name:"applications",cellClass:"ui-grid-vcenter",cellTemplate:'
{{app.app}}({{app.appdata[0]}}),...
{{\'MESSAGE_NO_AVAILABLE_APPLICATIONS\' | translate}}
',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"action",width:170,buttons:[{"class":"blue-hoki",href:"/channels/voice/routes/outbound/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.exten, row.entity.id)"}]}]};a.gridOptions=i.gridOptions(j,b,a,{type:"outbound"})},a.create=function(){k.open({animation:!0,templateUrl:"app/channels/voice/route/outbound/list/create.modal.html",controller:"VoiceRouteOutboundListCreateCtrl"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.routes.outbound.list",{url:"/list",templateUrl:"app/channels/voice/route/outbound/list/list.html",controller:"VoiceRouteOutboundListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.routes.outbound",{url:"/outbound",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("VoiceRouteOutboundViewCtrl",["$scope","xAlert","$translate","$stateParams","socket","$location","WizardHandler","Modal","application","interval","Route","Trunk","VoiceContext","Interval","Tag",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){function p(b){var c,d;if("always"===b.intType)c=null,d="*,*,*,*";else if("list"===b.intType)d=b.IntervalId?_.find(a.Intervals,{id:b.IntervalId}).name:"*,*,*,*",c=b.IntervalId||null;else if("custom"===b.intType){c=null;var e,f,g,h;e=b.t_from&&b.t_to&&!b.alwaysTime?moment(b.t_from).format("HH:mm")+"-"+moment(b.t_to).format("HH:mm"):"*",b.wd_from&&"always"!==b.wd_from?(f=b.wd_from,b.wd_to&&"always"!==b.wd_to&&(f+="-"+b.wd_to)):f="*",b.md_from&&"always"!==b.md_from?(g=b.md_from,b.md_to&&"always"!==b.md_to&&(g+="-"+b.md_to)):g="*",b.m_from&&"always"!==b.m_from?(h=b.m_from,b.m_to&&"always"!==b.m_to&&(h+="-"+b.m_to)):h="*",d=e+","+f+","+g+","+h}void 0===a.selectedApp?(a.application.interval=d,a.application.IntervalId=c):(a.route.Applications[a.selectedApp].interval=d,a.route.Applications[a.selectedApp].IntervalId=c)}function q(){if(a.interval.intType=a.route.Applications[a.selectedApp].IntervalId?"list":"*,*,*,*"===a.route.Applications[a.selectedApp].interval?"always":"custom",a.interval.IntervalId=a.route.Applications[a.selectedApp].IntervalId,!a.route.Applications[a.selectedApp].IntervalId){var b,c=a.route.Applications[a.selectedApp].interval?a.route.Applications[a.selectedApp].interval.split(","):["*","*","*","*"];c.forEach(function(c,d){switch(d){case 0:"*"!==c?(b=c.split("-"),a.interval.t_from=moment(b[0],"HH:mm"),a.interval.t_to=moment(b[1],"HH:mm"),a.interval.alwaysTime=!1):(a.interval.t_from=moment(new Date),a.interval.t_to=moment(new Date),a.interval.alwaysTime=!0);break;case 1:"*"!==c?(b=c.split("-"),a.interval.wd_from=b[0],a.interval.wd_to=b[1]?b[1]:"always"):(a.interval.wd_from="always",a.interval.wd_to="always");break;case 2:"*"!==c?(b=c.split("-"),a.interval.md_from=b[0],a.interval.md_to=b[1]?b[1]:"always"):(a.interval.md_from="always",a.interval.md_to="always");break;case 3:"*"!==c?(b=c.split("-"),a.interval.m_from=b[0],a.interval.m_to=b[1]?b[1]:"always"):(a.interval.m_from="always",a.interval.m_to="always")}})}}a.$translate=c,a.selectedApp=void 0,a.showGrid=!0,a.$application=i.application,a.$interval=j.interval,a.recordSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.gridOptions={enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableSorting:!1,rowTemplate:'
',columnDefs:[{name:"app",displayName:"APPLICATION_APPLICATION",cellClass:"ui-grid-vcenter",cellTemplate:"
Default{{row.entity.app}}
",headerCellFilter:"translate",enableColumnMenu:!1},{name:"appdata",displayName:"APPLICATION_ARGUMENTS",headerCellFilter:"translate",cellClass:"ui-grid-vcenter",cellTemplate:"
{{row.entity.appdata.join(',')}}
",enableColumnMenu:!1},{name:"interval",displayName:"APPLICATION_TIME",headerCellFilter:"translate",enableColumnMenu:!1},{name:"action",displayName:"APPLICATION_ACTION",headerCellFilter:"translate",width:125,enableColumnMenu:!1,cellClass:"ui-grid-vcenter",cellTemplate:'
'}],onRegisterApi:function(b){b.draggableRows.on.rowDropped(a,function(b,c){a.updateRoute()}),b.grid.registerDataChangeCallback(function(){r(a.gridOptions.data.length)})}};var r=function(a){var b=a?30*a+120:177;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px")};a.initApplication=function(b){b&&(a.selectedApp=void 0),a.forms={info:void 0,interval:void 0},a.application={},a.interval={intType:"always",t_from:moment(new Date),t_to:moment(new Date),wd_from:"always",wd_to:"always",md_from:"always",md_to:"always",m_from:"always",m_to:"always",alwaysTime:!0},a.main={app:""},a.applications=[{name:"Default",value:"Dial",type:"outboundDial"},{name:"Custom",value:"custom",type:"custom"}]},a.$watch("interval",function(a){a&&p(a)},!0),a.$watch("main.app",function(d){if(d){var e,f;switch(void 0===a.selectedApp&&(a.application={appType:d.type,app:d.value,interval:a.application.interval||"*,*,*,*",appdata:[]}),d.value){case"Dial":e=l;break;default:e=null,f=null}if(e)return e.get().$promise.then(function(b){a.items=b.rows}).then(function(){return f?f.get().$promise:void 0}).then(function(b){b&&(a.items2=b.rows)})["catch"](function(a){b.show(c.instant(a.message),"danger")})}},!0),a.deselectAndRedirect=function(b){a.selectedApp=void 0,f.path(b)},a.getIntervals=function(){return n.get().$promise.then(function(b){a.Intervals=b.rows,e.syncUpdates("interval",a.Intervals)})["catch"](function(a){b.show(c.instant(a.message),"danger")})},a.getRoute=function(){return k.get({id:d.id}).$promise.then(function(b){a.route=b,a.gridOptions.data=b.Applications,r(a.gridOptions.data.length)})["catch"](function(a){f.path("/channels/voice/routes/outbound/list")})},a.getApplication=function(){if(void 0===a.selectedApp)f.path("/channels/voice/routes/outbound/list");else{if(a.showGrid=!0,a.route.Applications[a.selectedApp].appType)a.main.app=_.find(a.applications,{type:a.route.Applications[a.selectedApp].appType});else{a.main.app=_.find(a.applications,{type:"custom"});var b=a.route.Applications[a.selectedApp].appdata.join(",");a.route.Applications[a.selectedApp].appdata=[b],a.route.Applications[a.selectedApp].appType="custom"}q()}},a.openApplication=function(b){a.selectedApp=b,a.showGrid=!1,f.path("/channels/voice/routes/outbound/view/"+d.id+"/routes/settings")},a.updateRoute=function(e){return a.route.exten=a.$application.checkUnderscore(a.route.exten),k.update({id:a.route.id},a.route).$promise.then(function(g){a.selectedApp=void 0,b.show(c.instant("MESSAGE_WELL_DONE")+"!","success"),e&&f.path("/channels/voice/routes/outbound/view/"+d.id+"/"+e)})["catch"](function(a){b.show(c.instant(a.data.translatedMessage),"danger")})},a.getContexts=function(){return m.get().$promise.then(function(b){a.voiceContexts=b.rows,e.syncUpdates("voice_context",a.voiceContexts)})["catch"](function(a){b.show(c.instant(a.message),"danger")})},a.getTags=function(){return o.get().$promise.then(function(b){b.rows.unshift({name:"--"}),a.tags=b.rows})["catch"](function(a){b.show(c.instant(a.data.translatedMessage),"danger")})},a.deleteApp=h.confirm["delete"](function(b){a.route.Applications.splice(b,1),a.updateRoute()}),a.addApplication=function(){a.route.Applications.push(a.application),a.updateRoute("routes")},a.goNext=function(){g.wizard().next()},a.previous=function(){g.wizard().previous()},a.formValidation=function(a){return a},a.$on("destroy",function(){e.unsyncUpdates("voice_extension")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.routes.outbound.view",{url:"/view/:id",templateUrl:"app/channels/voice/route/outbound/view/view.html",controller:"VoiceRouteOutboundViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.voice.routes.outbound.view.settings",{url:"/settings",templateUrl:"app/channels/voice/route/outbound/view/view.settings.html"}).state("main.channels.voice.routes.outbound.view.routes",{url:"/routes",templateUrl:"app/channels/voice/route/outbound/view/view.routes.html"}).state("main.channels.voice.routes.outbound.view.route",{url:"/route",templateUrl:"app/channels/voice/route/outbound/view/view.route.html"}).state("main.channels.voice.routes.outbound.view.routes.settings",{url:"/settings",templateUrl:"app/channels/voice/route/outbound/view/view.routeSettings.html"})}]),angular.module("xCallyShuttleApp").factory("Route",["$resource",function(a){return a("/api/voice/extensions/:id",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.routes",{url:"/routes",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice",{url:"/voice",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:7}}})}]),angular.module("xCallyShuttleApp").controller("VoiceVoicemailListCtrl",["$scope","VoiceMail","gridOptions",function(a,b,c){a.initView=function(){var d={exporterCsvFilename:"voice_mails.csv",primaryKey:"uniqueid",columnDefs:[{name:"mailbox"},{name:"fullname"},{name:"email"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/channels/voice/voicemails/view/{{row.entity.uniqueid}}/settings",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.mailbox, row.entity.uniqueid)"}]}]};a.gridOptions=c.gridOptions(b,d,a)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.voicemails.list",{url:"/list",templateUrl:"app/channels/voice/voicemail/list/list.html",controller:"VoiceVoicemailListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("VoiceVoicemailViewCtrl",["$scope","VoiceMail","VoiceMailMessage","VoiceContext","$http","xAlert","$translate","$stateParams","socket","$sce","Modal","$location","gridOptions",function(a,b,c,d,e,f,g,h,i,j,k,l,m){function n(){var b={exporterCsvFilename:"voice_mail_messages.csv",primaryKey:"id",columnDefs:[{name:"callerid"},{name:"stamp",displayName:"APPLICATION_DATE",cellClass:"ui-grid-vcenter",cellTemplate:"
{{grid.appScope.moment(row.entity.stamp).format('YYYY-MM-DD HH:mm:ss')}}
"},{name:"duration",cellClass:"ui-grid-vcenter",cellTemplate:"
{{row.entity.duration*1000 | date:'mm:ss'}}
"},{name:"audio",displayName:"",width:225,enableSorting:!1,enableFiltering:!1,buttons:[{directive:''}]},{name:"action",width:150,buttons:[{directive:''},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.id, row.entity.id)"}]}]};a.gridOptions=m.gridOptions(c,b,a,{mailbox:a.voicemail.mailbox,context:a.voicemail.context})}a.moment=moment,a.VoiceMailMessage=c,a.getVoicemail=function(){return b.get({id:h.uniqueid}).$promise.then(function(b){delete b.password,delete b.stamp,a.voicemail=b})["catch"](function(a){l.path("/voice/voicemails/list")})},a.updateVoiceVoicemail=function(){return b.update({id:h.uniqueid},a.voicemail).$promise.then(function(){f.show(g.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(g.instant(a.message),"danger")})},a.getContexts=function(){return d.get().$promise.then(function(b){a.voiceContexts=b.rows})["catch"](function(a){f.show(a.message,"danger")})},a.getMessages=function(){return a.voicemail?void n():b.get({id:h.uniqueid}).$promise.then(function(b){delete b.password,delete b.stamp,a.voicemail=b,n()})["catch"](function(a){l.path("/voice/voicemails/view/"+h.uniqueid+"/settings")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.voicemails.view",{url:"/view/:uniqueid",templateUrl:"app/channels/voice/voicemail/view/view.html",controller:"VoiceVoicemailViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.voice.voicemails.view.settings",{url:"/settings",templateUrl:"app/channels/voice/voicemail/view/view.settings.html"}).state("main.channels.voice.voicemails.view.messages",{url:"/messages",templateUrl:"app/channels/voice/voicemail/view/view.messages.html"})}]),angular.module("xCallyShuttleApp").factory("VoiceMail",["$resource",function(a){return a("/api/voice/voicemails/:id/:controller",{uniqueid:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.voicemails",{url:"/voicemails",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("VoiceMailMessage",["$resource",function(a){return a("/api/voice/voicemails/messages/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("VoiceVoicemailWizardCtrl",["$scope","VoiceMail","xAlert","WizardHandler","$location","Setting",function(a,b,c,d,e,f){a.initWizard=function(){a.form={},a.item={context:"from-voicemail"}},a.next=function(){d.wizard().next()},a.previous=function(){d.wizard().previous()},a.exitValidation=function(a){return a},a.getFirstFreeMailbox=function(){f.get({controller:"mailbox"}).$promise.then(function(b){a.item.mailbox=b.value})["catch"](function(a){c.show(a.data.message,"danger")})},a.createItem=function(){return a.item.customer_id=a.item.mailbox,b.save(a.item).$promise.then(function(){e.path("/channels/voice/voicemails/list")})["catch"](function(a){c.show(data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.voicemails.wizard",{url:"/wizard",templateUrl:"app/channels/voice/voicemail/wizard/wizard.html",controller:"VoiceVoicemailWizardCtrl"})}]),angular.module("xCallyShuttleApp").factory("VoiceQueue",["$resource",function(a){return a("/api/voice/queues/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("Company",["$resource",function(a){return a("/api/contactmanager/companies/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.contactmanager.companies",{url:"/companies",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:5}}})}]),angular.module("xCallyShuttleApp").controller("CompanyListCreateModalCtrl",["$scope","$uibModalInstance",function(a,b){a.forms={dashboard:void 0},a.item={},a.ok=function(){a.item.model=JSON.stringify({title:a.item.name}),b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("ContactManagerCompanyListCtrl",["$scope","$translate","xAlert","Modal","$uibModal","$log","Company","gridOptions","$location",function(a,b,c,d,e,f,g,h,i){a.initView=function(){var b={exporterCsvFilename:"Companies.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:190,buttons:[{"class":"blue-hoki",name:"profile",href:"/contactmanager/companies/view/{{row.entity.id}}/settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"},{"class":"green-turquoise",name:"contacts",uisref:"main.contactmanager.contacts.list({companyId:{{row.entity.id}}})"}]}]};a.gridOptions=h.gridOptions(g,b,a)},a.create=function(){var a=e.open({animation:!0,size:"lg",templateUrl:"app/contactmanager/company/list/create.modal.html",controller:"CompanyListCreateModalCtrl"});a.result.then(function(a){return g.save(a).$promise.then(function(a){i.path("/contactmanager/companies/view/"+a.id+"/settings")})["catch"](function(a){c.show(a.data.message,"danger")})},function(){f.info("Modal dismissed at: "+new Date)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.contactmanager.companies.list",{url:"/list",templateUrl:"app/contactmanager/company/list/list.html",controller:"ContactManagerCompanyListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("ContactManagerCompanyViewCtrl",["$scope","xAlert","$translate","$stateParams","$location","Company",function(a,b,c,d,e,f){a.getCompany=function(){return f.get({id:d.id}).$promise.then(function(b){a.company=b})["catch"](function(a){e.path("/contactmanager/companies/list")})},a.updateCompany=function(){return f.update({id:d.id},a.company).$promise.then(function(){b.show(c.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){b.show(c.instant(a.message),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.contactmanager.companies.view",{url:"/view/:id",templateUrl:"app/contactmanager/company/view/view.html",controller:"ContactManagerCompanyViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.contactmanager.companies.view.settings",{url:"/settings",templateUrl:"app/contactmanager/company/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").factory("Contact",["$resource",function(a){return a("/api/contactmanager/contacts/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.contactmanager.contacts",{url:"/contacts",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ContactManagerListImportModalCtrl",["$scope","$uibModalInstance","indexes","csv","xAlert","socket","List","Contact","$translate",function(a,b,c,d,e,f,g,h,i){function j(b){if(b>=a.csvLength||a.stopped)return void(a.importing=!1);for(var c,f=[],g=b;b+200>g&&g
","abstract":!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:5}}})}]),angular.module("xCallyShuttleApp").factory("List",["$resource",function(a){return a("/api/contactmanager/lists/:listId/:controller/:id",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.contactmanager.lists",{url:"/lists",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:5}}})}]),angular.module("xCallyShuttleApp").controller("ContactManagerListListCreateModalCtrl",["$scope","$uibModalInstance",function(a,b){a.forms={dashboard:void 0},a.item={},a.ok=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("ContactManagerListListCtrl",["$scope","$http","$translate","Modal","xAlert","$uibModal","$log","List","gridOptions",function(a,b,c,d,e,f,g,h,i){a.initView=function(){var b={exporterCsvFilename:"Lists.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:190,buttons:[{"class":"blue-hoki",name:"settings",href:"/contactmanager/lists/view/{{row.entity.id}}/settings"},{"class":"{{row.entity.defaultEntry ? 'red-sunglo disabled' : 'red-sunglo'}}",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"},{"class":"green-turquoise",name:"contacts",uisref:"main.contactmanager.contacts.list({listId:{{row.entity.id}}})"}]}]};a.gridOptions=i.gridOptions(h,b,a)},a.create=function(){var d=f.open({animation:!0,templateUrl:"app/contactmanager/list/list/create.modal.html",controller:"ContactManagerListListCreateModalCtrl"});d.result.then(function(d){b.post("/api/contactmanager/lists/",d).then(function(b){a.gridOptions.getPage(),e.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){e.show(a.data.message,"danger")})},function(){g.info("Modal dismissed at: "+new Date)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.contactmanager.lists.list",{url:"/list",templateUrl:"app/contactmanager/list/list/list.html",controller:"ContactManagerListListCtrl"})}]),angular.module("xCallyShuttleApp").controller("ContactManagerListCustomFieldViewCreateModalCtrl",["$scope","$uibModalInstance","$translate",function(a,b,c){a.$translate=c,a.forms={dashboard:void 0},a.item={},a.choices=[{value:""}],a.addField=function(){a.choices.push({})},a.removeField=function(b){a.choices.splice(b,1)},a.types=[{name:"APPLICATION_TEXT",value:"text"},{name:"APPLICATION_SELECT",value:"select"}],a.ok=function(){"select"===a.item.type&&(a.item.values=angular.toJson(a.choices)),b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("ContactManagerListViewCtrl",["$scope","xAlert","$translate","$stateParams","socket","$location","$uibModal","$log","Modal","List","Team","gridOptions",function(a,b,c,d,e,f,g,h,i,j,k,l){var m=function(){return{select:function(b){return j.save({listId:a.list.id,controller:"agents"},{agents:b}).$promise.then(function(){a.getTeams()})["catch"](function(a){console.log(a)})},deselect:function(b){return j["delete"]({listId:a.list.id,controller:"agents",agents:b}).$promise.then(function(){a.getTeams()})["catch"](function(a){console.log(a)})}}};a.getList=function(){return j.get({listId:d.id}).$promise.then(function(b){a.list=b})["catch"](function(a){f.path("/contactmanager/lists/list")})},a.updateList=function(){return j.update({id:d.id},a.list).$promise.then(function(){b.show(c.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){b.show(c.instant(a.message),"danger")})},a.getTeams=function(){return k.get({controller:"associations"}).$promise.then(function(b){return a.teams=b.rows,a.list?void 0:a.getList()}).then(function(){return a.list.defaultEntry&&f.path("/contactmanager/lists/list"),j.get({listId:d.id,controller:"agents"}).$promise}).then(function(b){ComponentsDropdowns.bindQueue(a.teams,_.map(b.rows,function(a){ +return{id:a.id}}),m)})["catch"](function(a){console.error(a)})},a.initCustomFields=function(){var b={exporterCsvFilename:"customfields.csv",primaryKey:"id",columnDefs:[{name:"alias",displayName:"APPLICATION_NAME"},{name:"name",displayName:"APPLICATION_FIELD"},{name:"type"},{name:"description"},{name:"action",width:200,buttons:[{"class":"blue-hoki",href:"/contactmanager/lists/view/{{grid.appScope.$stateParams.id}}/customfields/settings/{{row.entity.id}}",name:"settings"},{"class":"red-sunglo",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)",name:"delete"}]}]};a.gridOptions=l.gridOptions(j,b,a,{listId:d.id,controller:"customfields"})},a.create=function(){var e=g.open({animation:!0,templateUrl:"app/contactmanager/list/view/create.modal.html",controller:"ContactManagerListCustomFieldViewCreateModalCtrl"});e.result.then(function(e){return j.save({listId:d.id,controller:"customfields"},e).$promise.then(function(d){a.gridOptions.getPage(),b.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){b.show(a.message||a.data.message,"danger")})},function(){h.info("Modal dismissed at: "+new Date)})},a.getCustomField=function(){return j.get({listId:d.id,controller:"customfields",id:d.cfId}).$promise.then(function(b){console.log(b),a.customField=b,"select"===a.customField.type&&(a.choices=JSON.parse(a.customField.values))})["catch"](function(a){console.error(a)})},a.updateCustomField=function(){var e=angular.copy(a.customField);return"select"===e.type&&(e.values=angular.toJson(a.choices)),j.update({listId:d.id,controller:"customfields",id:d.cfId},e).$promise.then(function(){b.show(c.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){b.show(c.instant(a.message),"danger")})},a.addField=function(){a.choices.push({})},a.removeField=function(b){a.choices.splice(b,1)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.contactmanager.lists.view",{url:"/view/:id",templateUrl:"app/contactmanager/list/view/view.html",controller:"ContactManagerListViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.contactmanager.lists.view.settings",{url:"/settings",templateUrl:"app/contactmanager/list/view/view.settings.html"}).state("main.contactmanager.lists.view.agents",{url:"/agents",templateUrl:"app/contactmanager/list/view/view.agents.html",cache:!1,serie:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}}).state("main.contactmanager.lists.view.customfields",{url:"/customfields",templateUrl:"app/contactmanager/list/view/view.customFields.html"}).state("main.contactmanager.lists.view.customfields.settings",{url:"/settings/:cfId",templateUrl:"app/contactmanager/list/view/view.customFieldSettings.html",controller:"ContactManagerListViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("DashboardChatCtrl",["$scope","Auth","ReportChatRoom","socket","Agent","$q","$translate","ReportChatSession","$timeout",function(a,b,c,d,e,f,g,h,i){a.Auth=b,a.moment=moment;var j=function(a){var b=a?30*a+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.initAgent=function(){a.table1={enableGridMenu:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,multiSelect:!0,columnDefs:[{name:"UserHasChatQueue.queue",headerCellFilter:"translate",displayName:"APPLICATION_QUEUE",cellClass:"text-center ui-grid-vcenter"}],data:[],onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){j(a.gridApi.core.getVisibleRows(a.gridApi.grid).length)})}},a.table2={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"uniqueid",displayName:"APPLICATION_UNIQUEID",headerCellFilter:"translate"},{name:"websitename",displayName:"APPLICATION_WEBSITE",headerCellFilter:"translate"},{name:"application",displayName:"APPLICATION_APPLICATION",headerCellFilter:"translate"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}{{\'APPLICATION_QUEUESTATUS_ABANDON\' | translate}}{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}{{\'APPLICATION_UNMANAGED\' | translate}} [{{hhours}}:{{mminutes}}:{{sseconds}}]
',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"membername",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.membername || ''}}
"},{name:"queuename",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.queuename || ''}}
"}],data:[],gridMenuTitleFilter:function(a){var b=f.defer();return b.resolve(g.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){j(a.table2.data.length)})}},e.get({id:b.getCurrentUser().id,controller:"chat",controller1:"queues"}).$promise.then(function(b){a.table1.data=b.rows})["finally"](function(){d.socket.on("user_has_chat_queue:save",function(c){c.UserId!=b.getCurrentUser().id||_.find(a.table1.data,{id:c.ChatQueueId})||a.table1.data.push({id:c.ChatQueueId,UserHasChatQueue:c})}),d.socket.on("user_has_chat_queue:remove",function(c){c.UserId===b.getCurrentUser().id&&_.remove(a.table1.data,{id:c.ChatQueueId})})})["catch"](function(a){console.error(a)}),h.get({controller:"waiting",controller2:"applications"}).$promise.then(function(b){a.table2.data=b.rows})["finally"](function(){d.socket.on("report_chat_session:save",function(b){var c=_.find(a.table2.data,{id:b.id});c?(_.merge(c,b),b.leaveAt&&i(function(){_.remove(a.table2.data,{id:b.id})},1e4)):b.leaveAt||a.table2.data.push(b)}),d.socket.on("report_chat_session:remove",function(b){_.remove(a.table2.data,{id:b.id})})})["catch"](function(a){console.log(a)})},a.initOpen=function(){return c.get({id:"open"}).$promise.then(function(b){a.open=b.value,d.socket.on("chat_dashboard:open",function(b){a.open=b.value})})["catch"](function(a){console.error(a)})},a.initClosed=function(){return c.get({id:"closed"}).$promise.then(function(b){a.closed=b.value,d.socket.on("chat_dashboard:closed",function(b){a.closed=b.value})})["catch"](function(a){console.error(a)})},a.initNew=function(){return c.get({id:"new"}).$promise.then(function(b){a["new"]=b.value,d.socket.on("chat_dashboard:new",function(b){a["new"]=b.value})})["catch"](function(a){console.error(a)})},a.initUnmanaged=function(){return c.get({id:"unmanaged"}).$promise.then(function(b){a.unmanaged=b.value,d.socket.on("chat_dashboard:unmanaged",function(b){a.umanaged=b.value})})["catch"](function(a){console.error(a)})},a.initAbandoned=function(){return c.get({id:"abandoned"}).$promise.then(function(b){a.abandoned=b.value,d.socket.on("chat_dashboard:unmanaged",function(b){a.abandoned=b.value})})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").controller("DashboardCtrl",["$scope","$translate","Auth",function(a,b,c){a.Auth=c}]),angular.module("xCallyShuttleApp").factory("Dashboard",["$resource",function(a){return a("/api/dashboards/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.dashboard",{"abstract":!0,url:"/dashboard",templateUrl:"app/dashboard/dashboard.html",controller:"DashboardCtrl",data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:1}}}).state("main.dashboard.voice",{url:"/voice",controller:"DashboardVoiceCtrl",templateUrl:"app/dashboard/voice/voice.html"}).state("main.dashboard.chat",{url:"/chat",controller:"DashboardChatCtrl",templateUrl:"app/dashboard/chat/chat.html",data:{permissions:{redirectTo:"landing",id:8}}}).state("main.dashboard.mail",{url:"/mail",controller:"DashboardMailCtrl",templateUrl:"app/dashboard/mail/mail.html",data:{permissions:{redirectTo:"landing",id:9}}}).state("main.dashboard.fax",{url:"/fax",controller:"DashboardFaxCtrl",templateUrl:"app/dashboard/fax/fax.html",data:{permissions:{redirectTo:"landing",id:10}}}).state("main.dashboard.sms",{url:"/sms",controller:"DashboardSmsCtrl",templateUrl:"app/dashboard/sms/sms.html",data:{permissions:{redirectTo:"landing",id:11}}})}]),angular.module("xCallyShuttleApp").controller("DashboardFaxCtrl",["$scope","Auth","ReportFaxRoom","socket","Agent","$translate","$q","ReportFaxSession","$timeout",function(a,b,c,d,e,f,g,h,i){a.Auth=b,a.moment=moment,a.initAgent=function(){a.table1={enableGridMenu:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,multiSelect:!0,columnDefs:[{name:"UserHasFaxQueue.queue",headerCellFilter:"translate",displayName:"APPLICATION_QUEUE",cellClass:"text-center ui-grid-vcenter"}],data:[],onRegisterApi:function(b){a.gridApi=b}},a.table2={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"uniqueid",displayName:"APPLICATION_UNIQUEID",headerCellFilter:"translate"},{name:"accountname",displayName:"APPLICATION_ACCOUNT",headerCellFilter:"translate"},{name:"application",displayName:"APPLICATION_APPLICATION",headerCellFilter:"translate"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}{{\'APPLICATION_QUEUESTATUS_ABANDON\' | translate}}{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}{{\'APPLICATION_UNMANAGED\' | translate}} [{{hhours}}:{{mminutes}}:{{sseconds}}]
',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"membername",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.membername || ''}}
"},{name:"queuename",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.queuename || ''}}
"}],data:[],gridMenuTitleFilter:function(a){var b=g.defer();return b.resolve(f.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b}},e.get({id:b.getCurrentUser().id,controller:"fax",controller1:"queues"}).$promise.then(function(b){a.table1.data=b.rows})["finally"](function(){d.socket.on("user_has_fax_queue:save",function(c){c.UserId!=b.getCurrentUser().id||_.find(a.table1.data,{id:c.FaxQueueId})||a.table1.data.push({id:c.FaxQueueId,UserHasFaxQueue:c})}),d.socket.on("user_has_fax_queue:remove",function(c){c.UserId===b.getCurrentUser().id&&_.remove(a.table1.data,{id:c.FaxQueueId})})})["catch"](function(a){console.error(a)})},h.get({controller:"waiting",controller2:"applications"}).$promise.then(function(b){a.table2.data=b.rows})["finally"](function(){d.socket.on("report_fax_session:save",function(b){var c=_.find(a.table2.data,{id:b.id});c?(_.merge(c,b),b.leaveAt&&i(function(){_.remove(a.table2.data,{id:b.id})},1e4)):b.leaveAt||a.table2.data.push(b)}),d.socket.on("report_fax_session:remove",function(b){_.remove(a.table2.data,{id:b.id})})})["catch"](function(a){console.log(a)}),a.initOpen=function(){return c.get({id:"open"}).$promise.then(function(b){a.open=b.value,d.socket.on("fax_dashboard:open",function(b){a.open=b.value})})["catch"](function(a){console.error(a)})},a.initClosed=function(){return c.get({id:"closed"}).$promise.then(function(b){a.closed=b.value,d.socket.on("fax_dashboard:closed",function(b){a.closed=b.value})})["catch"](function(a){console.error(a)})},a.initNew=function(){return c.get({id:"new"}).$promise.then(function(b){a["new"]=b.value,d.socket.on("fax_dashboard:new",function(b){a["new"]=b.value})})["catch"](function(a){console.error(a)})},a.initUnmanaged=function(){return c.get({id:"unmanaged"}).$promise.then(function(b){a.unmanaged=b.value,d.socket.on("fax_dashboard:unmanaged",function(b){a.umanaged=b.value})})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").controller("DashboardMailCtrl",["$scope","Auth","ReportMailRoom","socket","Agent","$translate","$q","ReportMailSession","$timeout",function(a,b,c,d,e,f,g,h,i){a.Auth=b,a.moment=moment,a.initAgent=function(){a.table1={enableGridMenu:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,multiSelect:!0,columnDefs:[{name:"UserHasMailQueue.queue",headerCellFilter:"translate",displayName:"APPLICATION_QUEUE",cellClass:"text-center ui-grid-vcenter"}],data:[],onRegisterApi:function(b){a.gridApi=b}},a.table2={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"uniqueid",displayName:"APPLICATION_UNIQUEID",headerCellFilter:"translate"},{name:"accountname",displayName:"APPLICATION_ACCOUNT",headerCellFilter:"translate"},{name:"application",displayName:"APPLICATION_APPLICATION",headerCellFilter:"translate"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}{{\'APPLICATION_QUEUESTATUS_ABANDON\' | translate}}{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}{{\'APPLICATION_UNMANAGED\' | translate}} [{{hhours}}:{{mminutes}}:{{sseconds}}]
',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"membername",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.membername || ''}}
"},{name:"queuename",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.queuename || ''}}
"}],data:[],gridMenuTitleFilter:function(a){var b=g.defer();return b.resolve(f.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){reSize(a.table2.data.length)})}},e.get({id:b.getCurrentUser().id,controller:"mail",controller1:"queues"}).$promise.then(function(b){a.table1.data=b.rows})["finally"](function(){d.socket.on("user_has_mail_queue:save",function(c){c.UserId!=b.getCurrentUser().id||_.find(a.table1.data,{id:c.MailQueueId})||a.table1.data.push({id:c.MailQueueId,UserHasMailQueue:c})}),d.socket.on("user_has_mail_queue:remove",function(c){console.log(c),c.UserId===b.getCurrentUser().id&&_.remove(a.table1.data,{id:c.MailQueueId})})})["catch"](function(a){console.error(a)}),h.get({controller:"waiting",controller2:"applications"}).$promise.then(function(b){a.table2.data=b.rows})["finally"](function(){d.socket.on("report_mail_session:save",function(b){var c=_.find(a.table2.data,{id:b.id});c?(_.merge(c,b),b.leaveAt&&i(function(){_.remove(a.table2.data,{id:b.id})},1e4)):b.leaveAt||a.table2.data.push(b)}),d.socket.on("report_mail_session:remove",function(b){_.remove(a.table2.data,{id:b.id})})})["catch"](function(a){console.log(a)})},a.initOpen=function(){return c.get({id:"open"}).$promise.then(function(b){a.open=b.value,d.socket.on("mail_dashboard:open",function(b){a.open=b.value})})["catch"](function(a){console.error(a)})},a.initClosed=function(){return c.get({id:"closed"}).$promise.then(function(b){a.closed=b.value,d.socket.on("mail_dashboard:closed",function(b){a.closed=b.value})})["catch"](function(a){console.error(a)})},a.initNew=function(){return c.get({id:"new"}).$promise.then(function(b){a["new"]=b.value,d.socket.on("mail_dashboard:new",function(b){a["new"]=b.value})})["catch"](function(a){console.error(a)})},a.initUnmanaged=function(){return c.get({id:"unmanaged"}).$promise.then(function(b){a.unmanaged=b.value,d.socket.on("mail_dashboard:unmanaged",function(b){a.umanaged=b.value})})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").controller("DashboardSmsCtrl",["$scope","Auth","ReportSmsRoom","socket","Agent","$translate","$q","ReportSmsSession","$timeout",function(a,b,c,d,e,f,g,h,i){a.Auth=b,a.moment=moment,a.initAgent=function(){a.table1={enableGridMenu:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,multiSelect:!0,columnDefs:[{name:"UserHasSmsQueue.queue",headerCellFilter:"translate",displayName:"APPLICATION_QUEUE",cellClass:"text-center ui-grid-vcenter"}],data:[],onRegisterApi:function(b){a.gridApi=b}},a.table2={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"uniqueid",displayName:"APPLICATION_UNIQUEID",headerCellFilter:"translate"},{name:"accountname",displayName:"APPLICATION_ACCOUNT",headerCellFilter:"translate"},{name:"application",displayName:"APPLICATION_APPLICATION",headerCellFilter:"translate"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}{{\'APPLICATION_QUEUESTATUS_ABANDON\' | translate}}{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}{{\'APPLICATION_UNMANAGED\' | translate}} [{{hhours}}:{{mminutes}}:{{sseconds}}]
',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"membername",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.membername || ''}}
"},{name:"queuename",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"
{{row.entity.queuename || ''}}
"}],data:[],gridMenuTitleFilter:function(a){var b=g.defer();return b.resolve(f.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b}},e.get({id:b.getCurrentUser().id,controller:"sms",controller1:"queues"}).$promise.then(function(b){a.table1.data=b.rows})["finally"](function(){d.socket.on("user_has_sms_queue:save",function(c){c.UserId!=b.getCurrentUser().id||_.find(a.table1.data,{id:c.SmsQueueId})||a.table1.data.push({id:c.SmsQueueId,UserHasSmsQueue:c})}),d.socket.on("user_has_sms_queue:remove",function(c){c.UserId===b.getCurrentUser().id&&_.remove(a.table1.data,{id:c.SmsQueueId})})})["catch"](function(a){console.error(a)}),h.get({controller:"waiting",controller2:"applications"}).$promise.then(function(b){a.table2.data=b.rows})["finally"](function(){d.socket.on("report_sms_session:save",function(b){var c=_.find(a.table2.data,{id:b.id});c?(_.merge(c,b),b.leaveAt&&i(function(){_.remove(a.table2.data,{id:b.id})},1e4)):b.leaveAt||a.table2.data.push(b)}),d.socket.on("report_sms_session:remove",function(b){_.remove(a.table2.data,{id:b.id})})})["catch"](function(a){console.log(a)})},a.initOpen=function(){return c.get({id:"open"}).$promise.then(function(b){a.open=b.value,d.socket.on("sms_dashboard:open",function(b){a.open=b.value})})["catch"](function(a){console.error(a)})},a.initClosed=function(){return c.get({id:"closed"}).$promise.then(function(b){a.closed=b.value,d.socket.on("sms_dashboard:closed",function(b){a.closed=b.value})})["catch"](function(a){console.error(a)})},a.initNew=function(){return c.get({id:"new"}).$promise.then(function(b){a["new"]=b.value,d.socket.on("sms_dashboard:new",function(b){a["new"]=b.value})})["catch"](function(a){console.error(a)})},a.initUnmanaged=function(){return c.get({id:"unmanaged"}).$promise.then(function(b){a.unmanaged=b.value,d.socket.on("sms_dashboard:unmanaged",function(b){a.umanaged=b.value})})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").controller("DashboardVoiceCtrl",["$scope","Auth","ReportQueue","ReportCall","Agent","socket",function(a,b,c,d,e,f){a.Auth=b;var g=function(a){var b=a?30*a+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.initAgent=function(){a.table1={enableGridMenu:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,multiSelect:!0,columnDefs:[{name:"UserHasVoiceQueue.queue",headerCellFilter:"translate",displayName:"APPLICATION_QUEUE",cellClass:"text-center ui-grid-vcenter"},{name:"UserHasVoiceQueue.loggedAt",displayName:"logged At",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
'},{name:"UserHasVoiceQueue.lastcall",headerCellFilter:"translate",displayName:"APPLICATION_LAST_CALL",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
'},{name:"UserHasVoiceQueue.callstaken",headerCellFilter:"translate",displayName:"APPLICATION_CALLS_TAKEN",cellClass:"text-center ui-grid-vcenter"}],data:[],onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){g(a.gridApi.core.getVisibleRows(a.gridApi.grid).length)})}},a.table2={enableGridMenu:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,multiSelect:!0,columnDefs:[{name:"calleridnum",headerCellFilter:"translate",displayName:"APPLICATION_NUMBER",cellClass:"text-center ui-grid-vcenter"},{name:"calleridname",headerCellFilter:"translate",displayName:"APPLICATION_NAME",cellClass:"text-center ui-grid-vcenter"},{name:"queue",headerCellFilter:"translate",displayName:"APPLICATION_QUEUE",cellClass:"text-center ui-grid-vcenter"}],data:[],onRegisterApi:function(b){a.gridApi1=b,a.gridApi1.grid.registerDataChangeCallback(function(){g(a.gridApi1.core.getVisibleRows(a.gridApi1.grid).length)})}},e.get({id:b.getCurrentUser().id,controller:"voice",controller1:"queues"}).$promise.then(function(b){a.table1.data=b.rows})["finally"](function(){f.socket.on("user_has_voice_queue:save",function(c){if(c.UserId===b.getCurrentUser().id){var d=_.findIndex(a.table1.data,{name:c.queue});d>-1?(a.table1.data[d].UserHasVoiceQueue.loggedAt=c.loggedAt,a.table1.data[d].UserHasVoiceQueue.lastcall=c.lastcall,a.table1.data[d].UserHasVoiceQueue.callstaken=c.callstaken):(c.callstaken=0,a.table1.data.push({name:c.queue,UserHasVoiceQueue:c}))}}),f.socket.on("user_has_voice_queue:remove",function(c){c.UserId===b.getCurrentUser().id&&_.remove(a.table1.data,{name:c.queue})})})["catch"](function(a){console.error(a)}),c.get({id:"waiting",controller:"list"}).$promise.then(function(b){a.table2.data=b.rows})["finally"](function(){f.socket.on("report_queue:save",function(b){b.queuecallerleaveAt?_.remove(a.table2.data,{id:b.id}):_.find(a.table1.data,{name:b.queue})&&a.table2.data.push(b)})})["catch"](function(a){console.error(a)})},a.initWaiting=function(){return c.get({id:"waiting"}).$promise.then(function(b){a.waiting=b.value,f.socket.on("dashboard:waiting",function(b){a.waiting=b.value})})["catch"](function(a){console.error(a)})},a.initActive=function(){return c.get({id:"active"}).$promise.then(function(b){a.active=b.value,f.socket.on("dashboard:active",function(b){a.active=b.value})})["catch"](function(a){console.error(a)})},a.initAnswered=function(){return c.get({id:"answered"}).$promise.then(function(b){a.answered=b.value,f.socket.on("dashboard:answered",function(b){a.answered=b.value})})["catch"](function(a){console.error(a)})},a.initAbandoned=function(){return c.get({id:"abandoned"}).$promise.then(function(b){a.abandoned=b.value,f.socket.on("dashboard:abandoned",function(b){a.abandoned=b.value})})["catch"](function(a){console.error(a)})},a.initAvgAnswerTime=function(){return c.get({id:"avganswertime"}).$promise.then(function(b){a.avganswertime=b.value,f.socket.on("dashboard:avganswertime",function(b){a.avganswertime=b.value})})["catch"](function(a){console.error(a)})},a.initAvgTalkTime=function(){return c.get({id:"avgtalktime"}).$promise.then(function(b){a.avgtalktime=b.value,f.socket.on("dashboard:avgtalktime",function(b){a.avgtalktime=b.value})})["catch"](function(a){console.error(a)})},a.initAnswerRate=function(){return c.get({id:"answerrate"}).$promise.then(function(b){a.answerrate=b.value,f.socket.on("dashboard:answerrate",function(b){a.answerrate=b.value})})["catch"](function(a){console.error(a)})},a.initTotalOffered=function(){return c.get({id:"totaloffered"}).$promise.then(function(b){a.totaloffered=b.value,f.socket.on("dashboard:totaloffered",function(b){a.totaloffered=b.value})})["catch"](function(a){console.error(a)})},a.initUnmanaged=function(){return c.get({id:"unmanaged"}).$promise.then(function(b){a.unmanaged=b.value,f.socket.on("dashboard:unmanaged",function(b){a.unmanaged=b.value})})["catch"](function(a){console.error(a)})},a.initAbandonRate=function(){return c.get({id:"abandonrate"}).$promise.then(function(b){a.abandonrate=b.value,f.socket.on("dashboard:abandonrate",function(b){a.abandonrate=b.value})})["catch"](function(a){console.error(a)})},a.initManualOutbound=function(){return d.get({id:"manualoutbound"}).$promise.then(function(b){a.manualoutbound=b.value,f.socket.on("dashboard:manualoutbound",function(b){a.manualoutbound=b.value})})["catch"](function(a){console.error(a)})},a.initManualOutboundGlobalDuration=function(){return d.get({id:"manualoutboundglobalduration"}).$promise.then(function(b){a.manualoutboundglobalduration=b.value,f.socket.on("dashboard:manualoutboundglobalduration",function(b){a.manualoutboundglobalduration=b.value})})["catch"](function(a){console.error(a)})},a.initManualOutboundAvgDuration=function(){return d.get({id:"manualoutboundavgduration"}).$promise.then(function(b){a.manualoutboundavgduration=b.value,f.socket.on("dashboard:manualoutboundavgduration",function(b){a.manualoutboundavgduration=b.value})})["catch"](function(a){console.error(a)})},a.initManualOutboundAnswered=function(){return d.get({id:"manualoutboundanswered"}).$promise.then(function(b){a.manualoutboundanswered=b.value,f.socket.on("dashboard:manualoutboundanswered",function(b){a.manualoutboundanswered=b.value})})["catch"](function(a){console.error(a)})},a.initManualOutboundAnswerRate=function(){return d.get({id:"manualoutboundanswerrate"}).$promise.then(function(b){a.manualoutboundanswerrate=b.value,f.socket.on("dashboard:manualoutboundanswerrate",function(b){a.manualoutboundanswerrate=b.value})})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.desk",{url:"/desk",template:"
","abstract":!0,data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").factory("DeskAccount",["$resource",function(a){return a("/api/desk/accounts/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("DeskListCtrl",["$scope","$http","$rootScope","xAlert","$translate","socket","Modal","stResource",function(a,b,c,d,e,f,g,h){a.conf={accountsByPage:{name:"10",value:10}},a.accountsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.accounts={checked:[]},a.check=function(b,c){c?a.accounts.checked=angular.copy(_.map(a.displayedDeskAccounts,"id")):a.accounts.checked=[]},a.getAccounts=function(b){return _.map(a.displayedDeskAccounts,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){f.unsyncUpdates("desk_account"),b.url="/api/desk/accounts",h.getPage(b).then(function(d){a.displayedDeskAccounts=d.rows,b.pagination.numberOfPages=d.total_pages,c.updateTableConfig(a.accountsByPage,a.displayedDeskAccounts.length),c.updateTableConfig(a.conf.accountsByPage,a.displayedDeskAccounts.length)}),f.socket.on("desk_account:save",function(){a.initList(b)}),f.socket.on("desk_account:remove",function(c){a.accounts.checked=_.without(a.accounts.checked,c.id),a.initList(b)})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/desk/accounts/"+a).success(function(){d.show(e.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){d.show(e.instant(a.message),"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/desk/accounts",{params:{id:a.accounts.checked}}).success(function(){d.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){d.show(e.instant(a.message),"danger")})}),a.checkAccount=function(a){b.get("/api/desk/accounts/"+a+"/check").then(function(){d.show(e.instant("MESSAGE_ACCOUNT_VERIFIED"),"success")})["catch"](function(){d.show(e.instant("MESSAGE_ACCOUNT_INVALID"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.desk.list",{url:"/list",templateUrl:"app/desk/list/list.html",controller:"DeskListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("DeskViewCtrl",["$scope","$http","$stateParams","$translate","$location","WizardHandler","socket","xAlert","Modal","desk_com",function(a,b,c,d,e,f,g,h,i,j){a.$stateParams=c,a.config={autoHideScrollbar:!1,theme:"dark",advanced:{updateOnContentResize:!0},setHeight:500,scrollInertia:0},a.initConfiguration=function(){a.formsConfiguration={},a.configuration={}},a.goNext=function(){f.wizard().next()},a.formValidation=function(a){return a},a.$on("$destroy",function(){g.unsyncUpdates("desk_configuration"),g.unsyncUpdates("desk_field")}),a.initView=function(){b.get("/api/desk/accounts/"+c.id).success(function(b){a.account=b}).error(function(a){h.show(a.message,"danger")})},a.updateItem=function(){b.put("/api/desk/accounts/"+c.id,a.account).success(function(){h.show(d.instant("MESSAGE_WELL_DONE")+".","success")}).error(function(){h.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})},a.getConfigurations=function(){b.get("/api/desk/configurations",{params:{AccountId:c.id}}).success(function(b){a.configurations=b,g.socket.on("desk_configuration:remove",function(b){_.remove(a.configurations,{id:b.id})})}).error(function(a){h.show(a.message,"danger")})},a.deleteConfiguration=i.confirm["delete"](function(a){b["delete"]("api/desk/configurations/"+a).success(function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(){h.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}),a.createConfiguration=function(){a.configuration.AccountId=c.id,b.post("api/desk/configurations",a.configuration).success(function(a){e.path("desk/view/"+c.id+"/configurations/settings/"+a.id)}).error(function(){h.show("Something went wrong!","danger")})},a.fieldType=["string","variable"], +a.descFieldType=["string","key_value"],a.getFields=function(){b.get("/api/desk/accounts/"+c.id+"/fields").success(function(b){a.accountFields=j.fields.concat(b)}).error(function(a){h.show(a.message,"danger")})},a.getConfiguration=function(){b.get("/api/desk/configurations/"+c.configurationId).success(function(b){a.configurationName=b.name,a.subjectConfig=b.Subject,a.descriptionConfig=b.Description,a.fieldConfig=b.Field,g.socket.on("desk_field:remove",function(b){_.remove(a.subjectConfig,{id:b.id}),_.remove(a.descriptionConfig,{id:b.id}),_.remove(a.fieldConfig,{id:b.id})})}).error(function(a){h.show(a.message,"danger")})},a.getVariables=function(){b.get("/api/variables").success(function(b){a.variables=b.rows}).error(function(a){h.show(a.message,"danger")})},a.removeItem=function(a){b["delete"]("api/desk/fields/"+a.id).success(function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(){h.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.addItemSubject=function(){var d={type:"string",content:""};b.post("/api/desk/configurations/"+c.configurationId+"/subject",d).success(function(b){a.subjectConfig.push(b)}).error(function(){h.show("Something went wrong!","danger")})},a.addItemDescription=function(){var d={type:"string",content:""};b.post("/api/desk/configurations/"+c.configurationId+"/description",d).success(function(b){a.descriptionConfig.push(b)}).error(function(){h.show("Something went wrong!","danger")})},a.addItemField=function(){var d={content:""};b.post("/api/desk/configurations/"+c.configurationId+"/field",d).success(function(b){a.fieldConfig.push(b)}).error(function(){h.show("Something went wrong!","danger")})},a.updateField=function(a){b.put("/api/desk/fields/"+a.id,a).success(function(){}).error(function(){h.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})},a.changeType=function(b){"variable"===b.type?b.content="":"string"===b.type&&(b.VariableId=null),a.updateField(b)},a.changeDescType=function(b){"key_value"===b.type?(b.content="","string"===b.keyType?b.VariableId=null:"variable"===b.keyType&&(b.keyContent="")):"string"===b.type&&(b.VariableId=null,b.key="",b.keyContent=""),a.updateField(b)},a.changeFieldType=function(b){if(b.content="",b.idField){var c=_.find(a.accountFields,"id",b.idField);c&&(b.customField=_.result(c,"custom",!0))}a.updateField(b)},a.getSystemFieldOptions=function(b){if(b){var c=_.find(a.accountFields,"id",b);return c?c.data.choices?c.data.choices:null:void 0}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.desk.view",{url:"/view/:id",templateUrl:"app/desk/view/view.html",controller:"DeskViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.desk.view.account",{url:"/account",templateUrl:"app/desk/view/view.account.html"}).state("main.desk.view.configurations",{url:"/configurations",templateUrl:"app/desk/view/view.configurations.html"}).state("main.desk.view.configurations.settings",{url:"/settings/:configurationId",templateUrl:"app/desk/view/view.configurationSettings.html",controller:"DeskViewCtrl"}).state("main.desk.view.configuration",{url:"/configuration",templateUrl:"app/desk/view/view.configuration.html"})}]),angular.module("xCallyShuttleApp").controller("DeskWizardCtrl",["$scope","$http","$location","$translate","xAlert","WizardHandler",function(a,b,c,d,e,f){a.translate=d,a.initWizard=function(){a.$translate=d,a.forms={},a.item={}},a.next=function(){f.wizard().next()},a.exitValidation=function(a){return a},a.createItem=function(){console.log(a.item),b.post("api/desk/accounts",a.item).success(function(){e.show(d.instant("MESSAGE_WELL_DONE")+".","success"),c.path("/desk/list")}).error(function(){e.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.desk.wizard",{url:"/wizard",templateUrl:"app/desk/wizard/wizard.html",controller:"DeskWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.freshdesk",{url:"/freshdesk",template:"
","abstract":!0,data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").factory("FreshdeskAccount",["$resource",function(a){return a("/api/freshdesk/accounts/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("FreshdeskListCtrl",["$scope","$http","$rootScope","xAlert","$translate","socket","Modal","stResource",function(a,b,c,d,e,f,g,h){a.conf={accountsByPage:{name:"10",value:10}},a.accountsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.accounts={checked:[]},a.check=function(b,c){c?a.accounts.checked=angular.copy(_.map(a.displayedFreshdeskAccounts,"id")):a.accounts.checked=[]},a.getAccounts=function(b){return _.map(a.displayedFreshdeskAccounts,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){f.unsyncUpdates("freshdesk_account"),b.url="/api/freshdesk/accounts",h.getPage(b).then(function(d){a.displayedFreshdeskAccounts=d.rows,b.pagination.numberOfPages=d.total_pages,c.updateTableConfig(a.accountsByPage,a.displayedFreshdeskAccounts.length),c.updateTableConfig(a.conf.accountsByPage,a.displayedFreshdeskAccounts.length)}),f.socket.on("freshdesk_account:save",function(){a.initList(b)}),f.socket.on("freshdesk_account:remove",function(c){a.accounts.checked=_.without(a.accounts.checked,c.id),a.initList(b)})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/freshdesk/accounts/"+a).success(function(){d.show(e.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){d.show(e.instant(a.message),"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/freshdesk/accounts",{params:{id:a.accounts.checked}}).success(function(){d.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){d.show(e.instant(a.message),"danger")})}),a.checkAccount=function(a){b.get("/api/freshdesk/accounts/"+a+"/check").then(function(){d.show(e.instant("MESSAGE_ACCOUNT_VERIFIED"),"success")})["catch"](function(){d.show(e.instant("MESSAGE_ACCOUNT_INVALID"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.freshdesk.list",{url:"/list",templateUrl:"app/freshdesk/list/list.html",controller:"FreshdeskListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("FreshdeskViewCtrl",["$scope","$http","$stateParams","$translate","$location","$filter","WizardHandler","socket","xAlert","Modal",function(a,b,c,d,e,f,g,h,i,j){a.$stateParams=c,a.config={autoHideScrollbar:!1,theme:"dark",advanced:{updateOnContentResize:!0},setHeight:500,scrollInertia:0},a.initConfiguration=function(){a.formsConfiguration={},a.configuration={}},a.goNext=function(){g.wizard().next()},a.formValidation=function(a){return a},a.$on("$destroy",function(){h.unsyncUpdates("freshdesk_configuration"),h.unsyncUpdates("freshdesk_field")}),a.initView=function(){b.get("/api/freshdesk/accounts/"+c.id).success(function(b){a.account=b}).error(function(a){i.show(a.message,"danger")})},a.updateItem=function(){b.put("/api/freshdesk/accounts/"+c.id,a.account).success(function(){i.show(d.instant("MESSAGE_WELL_DONE")+".","success")}).error(function(){i.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})},a.getConfigurations=function(){b.get("/api/freshdesk/configurations",{params:{AccountId:c.id}}).success(function(b){a.configurations=b,h.socket.on("freshdesk_configuration:remove",function(b){_.remove(a.configurations,{id:b.id})})}).error(function(a){i.show(a.message,"danger")})},a.deleteConfiguration=j.confirm["delete"](function(a){b["delete"]("api/freshdesk/configurations/"+a).success(function(){i.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(){i.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}),a.createConfiguration=function(){a.configuration.AccountId=c.id,b.post("api/freshdesk/configurations",a.configuration).success(function(a){e.path("freshdesk/view/"+c.id+"/configurations/settings/"+a.id)}).error(function(){i.show("Something went wrong!","danger")})},a.fieldType=["string","variable"],a.descFieldType=["string","key_value"],a.getFields=function(){b.get("/api/freshdesk/accounts/"+c.id+"/fields").success(function(b){a.accountFields=[],b=f("freshdesk")(b),_.forEach(b,function(b){a.accountFields.push(b.ticket_field)})}).error(function(a){i.show(a.message,"danger")})},a.getConfiguration=function(){b.get("/api/freshdesk/configurations/"+c.configurationId).success(function(b){a.configurationName=b.name,a.subjectConfig=b.Subject,a.descriptionConfig=b.Description,a.fieldConfig=b.Field,h.socket.on("freshdesk_field:remove",function(b){_.remove(a.subjectConfig,{id:b.id}),_.remove(a.descriptionConfig,{id:b.id}),_.remove(a.fieldConfig,{id:b.id})})}).error(function(a){i.show(a.message,"danger")})},a.getVariables=function(){b.get("/api/variables").success(function(b){a.variables=b.rows}).error(function(a){i.show(a.message,"danger")})},a.removeItem=function(a){b["delete"]("api/freshdesk/fields/"+a.id).success(function(){i.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(){i.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.addItemSubject=function(){var d={type:"string",content:""};b.post("/api/freshdesk/configurations/"+c.configurationId+"/subject",d).success(function(b){a.subjectConfig.push(b)}).error(function(){i.show("Something went wrong!","danger")})},a.addItemDescription=function(){var d={type:"string",content:""};b.post("/api/freshdesk/configurations/"+c.configurationId+"/description",d).success(function(b){a.descriptionConfig.push(b)}).error(function(){i.show("Something went wrong!","danger")})},a.addItemField=function(){var d={content:""};b.post("/api/freshdesk/configurations/"+c.configurationId+"/field",d).success(function(b){a.fieldConfig.push(b)}).error(function(){i.show("Something went wrong!","danger")})},a.updateField=function(a){b.put("/api/freshdesk/fields/"+a.id,a).success(function(){}).error(function(){i.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})},a.changeType=function(b){"variable"===b.type?b.content="":"string"===b.type&&(b.VariableId=null),a.updateField(b)},a.changeDescType=function(b){"key_value"===b.type?(b.content="","string"===b.keyType?b.VariableId=null:"variable"===b.keyType&&(b.keyContent="")):"string"===b.type&&(b.VariableId=null,b.key="",b.keyContent=""),a.updateField(b)},a.changeFieldType=function(b){if(b.content="",b.idField){var c=_.find(a.accountFields,"name",b.idField);c&&(b.customField=!_.result(c,"default",!0))}a.updateField(b)},a.getSystemFieldOptions=function(b){if(b){var c=_.find(a.accountFields,"name",b);return c?c.choices.length>0?c.choices:null:void 0}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.freshdesk.view",{url:"/view/:id",templateUrl:"app/freshdesk/view/view.html",controller:"FreshdeskViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.freshdesk.view.account",{url:"/account",templateUrl:"app/freshdesk/view/view.account.html"}).state("main.freshdesk.view.configurations",{url:"/configurations",templateUrl:"app/freshdesk/view/view.configurations.html"}).state("main.freshdesk.view.configurations.settings",{url:"/settings/:configurationId",templateUrl:"app/freshdesk/view/view.configurationSettings.html",controller:"FreshdeskViewCtrl"}).state("main.freshdesk.view.configuration",{url:"/configuration",templateUrl:"app/freshdesk/view/view.configuration.html"})}]),angular.module("xCallyShuttleApp").controller("FreshdeskWizardCtrl",["$scope","$http","$location","$translate","xAlert","WizardHandler",function(a,b,c,d,e,f){a.translate=d,a.initWizard=function(){a.$translate=d,a.forms={},a.item={}},a.next=function(){f.wizard().next()},a.exitValidation=function(a){return a},a.createItem=function(){console.log(a.item),b.post("api/freshdesk/accounts",a.item).success(function(){e.show(d.instant("MESSAGE_WELL_DONE")+".","success"),c.path("/freshdesk/list")}).error(function(){e.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.freshdesk.wizard",{url:"/wizard",templateUrl:"app/freshdesk/wizard/wizard.html",controller:"FreshdeskWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.integrations",{url:"/integrations",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:19}}})}]),angular.module("xCallyShuttleApp").factory("Integration",["$resource",function(a){return a("/api/integrations/:id/:controller",{id:"@id"})}]),angular.module("xCallyShuttleApp").controller("IntegrationListCtrl",["$scope","Modal","socket","FileUploader","Integration","xAlert",function(a,b,c,d,e,f){a.integrationsByPage=10;var g=a.uploader=new d({url:"api/integrations",autoUpload:!0,removeAfterUpload:!0});g.filters.push({name:"zipFilter",fn:function(a){var b="|"+a.type.slice(a.type.lastIndexOf("/")+1)+"|";return-1!=="|zip|".indexOf(b)}}),g.onSuccessItem=function(a,b,c,d){console.info("onSuccessItem",a,b,c,d),f.show(b.name,"success")},g.onErrorItem=function(a,b,c,d){console.info("onErrorItem",a,b,c,d),b.errors.forEach(function(a){f.show(a.message,"danger")})},a.deleteItem=b.confirm["delete"](function(a){e["delete"]({id:a},function(){f.show("Integration Removed","success")},function(a){f.show(a.data.errors,"danger")})}),a.initList=function(){a.integrations=e.query({},function(a){c.syncUpdates("integration",a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.integrations.list",{url:"/list",templateUrl:"app/integration/list/list.html",controller:"IntegrationListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/plugins/bootstrap-fileinput/bootstrap-fileinput.js"]})}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.jscripty",{url:"/jscripty",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("JscriptyProject",["$resource",function(a){return a("/api/jscripty/projects/:id/:controller/:action/:action2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("JscriptyProjectListCtrl",["$scope","$uibModal","JscriptyProject","gridOptions","Auth",function(a,b,c,d,e){a.isAdmin=e.isAdmin(),a.initView=function(){var b={exporterCsvFilename:"jscriptyProjects.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:300,buttons:[{"class":"blue-hoki",icon:"icon-settings",href:"/jscripty/projects/view/{{row.entity.id}}",hide:!e.isAdmin()},{"class":" green-turquoise",icon:"fa fa-play",onClick:"grid.appScope.openJscriptyTab(row.entity)"},{"class":"purple",icon:"icon-book-open",href:"/jscripty/projects/report/{{row.entity.id}}/sessions",hide:!e.isAdmin()},{"class":"red-sunglo",icon:"fa fa-trash",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)",hide:!e.isAdmin()}]}]};a.gridOptions=d.gridOptions(c,b,a)},a.createItem=function(){var c=b.open({animation:!0,templateUrl:"app/jscripty/project/list/list.create.modal.html",controller:"JscriptyProjectListCreateCtrl"});c.result.then(function(b){console.log(b),a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("JscriptyProjectListCreateCtrl",["$scope","$translate","$uibModalInstance","JscriptyProject","xAlert",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return d.save(a.item).$promise.then(function(a){e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){console.log(a),e.show(b.instant(a.data.translatedMessage),"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.jscripty.projects.list",{url:"/list",templateUrl:"app/jscripty/project/list/list.html",controller:"JscriptyProjectListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.jscripty.projects",{url:"/projects",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("JscriptyProjectReportCtrl",["$scope","uiGridConstants","$http","$state","$stateParams","socket","Auth","Modal","xAlert","$translate","$rootScope","gridOptions","JscriptyProject","$location",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){a.projectStats={started:0,incomplete:0,completed:0},a.projectId=e.id,a.initView=function(){m.get({id:e.id}).$promise.then(function(b){a.project=b})["catch"](function(a){i.show(a.message,"danger")}),m.get({id:e.id,controller:"sessions"}).$promise.then(function(b){var c=_.groupBy(b.rows,"status");a.projectStats.started=c.started?c.started.length:0,a.projectStats.completed=c.completed?c.completed.length:0,a.projectStats.incomplete=c.incomplete?c.incomplete.length:0})["catch"](function(a){i.show(a.message,"danger")})},a.pdf=function(a,b){var c=[];if(a){var d=html2canvas(document.getElementById(a)),e=d.parse(),f=d.render(e),g=f.toDataURL("image/png");c.push({image:g,width:500,style:"img"})}b.length&&_.forEach(b,function(a){var b=html2canvas(document.getElementById(a.question_id)),d=b.parse(),e=b.render(d),f=e.toDataURL("image/png");c.push({image:f,width:500,style:"img"})});var h={content:c};pdfMake.createPdf(h).download("Project_summary.pdf")},a.getProjectSessions=function(){var c={exporterCsvFilename:"jscriptyProjects.csv",columnDefs:[{name:"session_id",displayName:"APPLICATION_SESSIONID"},{name:"queue",displayName:"APPLICATION_QUEUE"},{name:"membername",displayName:"APPLICATION_AGENT"},{name:"calleridnum",displayName:"APPLICATION_CALLERIDNUM"},{name:"createdAt",displayName:"APPLICATION_STARTEDAT",filterHeaderTemplate:'
',filters:[{name:"From",condition:b.filter.GREATER_THAN_OR_EQUAL},{name:"To",condition:b.filter.LESS_THAN_OR_EQUAL}]},{name:"completedAt",displayName:"APPLICATION_COMPLETEDAT",filterHeaderTemplate:'
',filters:[{name:"From",condition:b.filter.GREATER_THAN_OR_EQUAL},{name:"To",condition:b.filter.LESS_THAN_OR_EQUAL}]},{name:"status",displayName:"APPLICATION_STATUS"},{name:"last_question_id",displayName:"APPLICATION_LASTQUESTIONID"},{name:"action",width:100,buttons:[{"class":"blue-hoki",href:"/jscripty/projects/report/{{row.entity.projectId}}/session/{{row.entity.session_id}}",name:"Detail"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteSession(row.entity.session_id)"}]}]};a.gridOptions=l.gridOptions(m,c,a,{id:e.id,controller:"sessions"})},a.deleteSession=function(b){m["delete"]({id:e.id,controller:"sessions",action:b}).$promise.then(function(b){a.gridOptions.getPage(),a.initView(),i.show(j.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){i.show(a.message,"danger")})},a.getSessionDetails=function(){m.get({id:e.id,controller:"sessions",action:e.sessionId}).$promise.then(function(b){a.session=b,a.sessionQuestions=b.ReportJscriptyQuestions})["catch"](function(a){i.show(a.message,"danger")})},a.getQuestionSummary=function(){var b={exporterCsvFilename:"jscriptyProjects.csv",columnDefs:[{name:"question_id",displayName:"APPLICATION_QUESTIONID"},{name:"question_type",displayName:"APPLICATION_QUESTIONTYPE"},{name:"question_label",displayName:"APPLICATION_QUESTIONLABEL"},{name:"question_text",displayName:"APPLICATION_QUESTION"},{name:"count",displayName:"APPLICATION_COUNT",enableFiltering:!1},{name:"action",width:100,buttons:[{"class":"blue-hoki",href:"/jscripty/projects/report/"+e.id+"/detail/{{row.entity.question_id}}",name:"Detail"}]}]};a.gridOptions=l.gridOptions(m,b,a,{id:e.id,controller:"questions",action:"summary"})},a.getQuestionInputs=function(){var b={exporterCsvFilename:"jscriptyProjects.csv",columnDefs:[{name:"session_id",displayName:"APPLICATION_SESSIONID"},{name:"question_id",displayName:"APPLICATION_QUESTIONID",enableFiltering:!1},{name:"question_label",displayName:"APPLICATION_QUESTIONLABEL",enableFiltering:!1},{name:"question_text",displayName:"APPLICATION_QUESTION",enableFiltering:!1},{name:"input_label",displayName:"APPLICATION_INPUTLABEL",enableFiltering:!1},{name:"input_value",cellTemplate:'
{{row.entity.input_value}}
',displayName:"APPLICATION_INPUTVALUE",enableFiltering:!1}]};a.gridOptions=l.gridOptions(m,b,a,{id:e.id,controller:"inputs"})},a.getProjectDetail=function(){a.projectDetail=[],m.query({id:e.id,controller:"questions",action:"detail"}).$promise.then(function(b){console.log(e.questionId),e.questionId?a.projectDetail.push(_.find(b,function(a){return a.question_id==parseInt(e.questionId)})):a.projectDetail=b,console.log(a.projectDetail)})["catch"](function(a){i.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.jscripty.projects.report",{url:"/report/:id",templateUrl:"app/jscripty/project/report/report.html",controller:"JscriptyProjectReportCtrl"}).state("main.jscripty.projects.report.sessions",{url:"/sessions",templateUrl:"app/jscripty/project/report/report.sessions.html"}).state("main.jscripty.projects.report.summary",{url:"/summary",templateUrl:"app/jscripty/project/report/report.summary.html"}).state("main.jscripty.projects.report.inputs",{url:"/inputs",templateUrl:"app/jscripty/project/report/report.inputs.html"}).state("main.jscripty.projects.report.detail",{url:"/detail",templateUrl:"app/jscripty/project/report/report.detail.html"}).state("main.jscripty.projects.report.questionDetail",{url:"/detail/:questionId",controller:"JscriptyProjectReportCtrl",templateUrl:"app/jscripty/project/report/report.detail.html"}).state("main.jscripty.projects.report.sessionDetail",{url:"/session/:sessionId",controller:"JscriptyProjectReportCtrl",templateUrl:"app/jscripty/project/report/report.session.detail.html"})}]),angular.module("xCallyShuttleApp").controller("JscriptyProjectViewCtrl",["$scope","$http","$state","$stateParams","socket","Auth","Modal","xAlert","$translate","$rootScope",function(a,b,c,d,e,f,g,h,i,j){a.jscriptyProject={},a.getProject=function(){b.get("/api/jscripty/projects/"+d.id).success(function(b){a.jscriptyProject=b,angular.element(document).ready(function(){window.onerror=function(a,b,c){try{if(null!=a&&-1!=a.indexOf("Script error."));else{var d=new Image;d.src="assets/plugins/mxgraph/images/1x1.png?msg="+encodeURIComponent(a)+"&url="+encodeURIComponent(b)+"&lnum="+encodeURIComponent(c)}}catch(e){}},b.token=f.getToken();var a=new EditorUi(new Editor);a.openString(b.draft,b.name,b),a.editor.graphChangeListener=function(a,b){var c=b.properties.rtChange||!1;c||(this.modified=!0)}}),e.syncUpdates("jscripty_project",[b],function(a,c,d){c.id===b.id})})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.jscripty.projects.view",{url:"/view/:id",templateUrl:"app/jscripty/project/view/view.html",controller:"JscriptyProjectViewCtrl",authenticate:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",serie:!0,cache:!1,files:["assets/plugins/mxgraph/css/common.css","assets/plugins/mxgraph/css/explorer.css","assets/plugins/mxgraph/styles/grapheditor.css","assets/plugins/mxgraph/styles/custom.css","assets/plugins/jscripty/js/custom.js","assets/plugins/mxgraph/js/mxClient.js","assets/plugins/jscripty/js/Editor.js","assets/plugins/jscripty/js/Graph.js","assets/plugins/jscripty/js/EditorUi.js","assets/plugins/jscripty/js/Actions.js","assets/plugins/jscripty/js/Menus.js","assets/plugins/jscripty/js/Sidebar.js","assets/plugins/jscripty/js/Toolbar.js","assets/plugins/jscripty/js/Dialogs.js"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("LandingCtrl",["$scope","$location","$window","$timeout","Auth",function(a,b,c,d,e){a.initLanding=function(){var c,f,g;return(g=e.getCurrentUser().$promise)?g.then(function(e){switch(f=e,f.role){case"user":for(var g=0;g1?a.filters.forEach(function(b){b.term?64===b.condition?o[a.name+"_uiFrom"]=b.term:256===b.condition&&(o[a.name+"_uiTo"]=b.term):64===b.condition?delete o[a.name+"_uiFrom"]:256===b.condition&&delete o[a.name+"_uiTo"]}):a.filters.length&&a.filters[0].term?o[a.name]=a.filters[0].term:delete o[a.name])}h.id=[];var n=k?"gridOptions"+k:"gridOptions",o={offset:0,limit:10};g.draggable&&(g.rowTemplate='
',g.useExternalPagination=!1,g.enablePaginationControls=!1,g.showGridFooter=!1);var p=function(a){var b=a?30*a+120:177,c=angular.element(document.getElementsByName(n)).length?angular.element(document.getElementsByName(n)[0]):angular.element(document.getElementsByClassName("ui-grid")[0]);c.css("height",b+"px")},q=function(a,b){return h[n].enablePaginationControls||(delete o.offset,delete o.limit),f.spin("spinner-grid"),i=a||i,d=b||d,d.get(i?_.merge(o,i):o).$promise.then(function(a){h[n].totalItems=a.count,h[n].data=a.rows,p(a.rows.length),l&&l()})["catch"](function(a){console.error(a)})["finally"](function(){f.stop("spinner-grid")})};return h.deleteItem=a.confirm["delete"](function(a){var e=i?angular.copy(i):{};return _.merge(e,{id:a}),d.remove(e).$promise.then(function(){q(),b.show(c.instant("MESSAGE_WELL_DONE")+"!","success"),h.gridApi.selection.clearSelectedRows(),h.id=[]})["catch"](function(a){b.show(a.message?a.message:a.data.message,"danger")})}),h.deleteItems=a.confirm["delete"](function(){var a=i?angular.copy(i):{};return _.merge(a,{ids:h.id}),d["delete"](a).$promise.then(function(){q(),b.show(c.instant("MESSAGE_WELL_DONE")+"!","success"),h.gridApi.selection.clearSelectedRows(),h.id=[]})["catch"](function(a){b.show(a.message?a.message:a.data.message,"danger")})}),g.columnDefs.forEach(function(a){m(a,!0),a.hasOwnProperty("displayName")||(a.displayName="APPLICATION_"+a.name.toUpperCase()),a.headerCellFilter="translate",a.hasOwnProperty("buttons")&&(a.displayName="",a.cellClass="ui-grid-vcenter",a.enableSorting=!1,a.enableFiltering=!1,a.enableColumnMenu=!1,a.cellTemplate="
",a.buttons.forEach(function(b){if(b.directive)a.cellTemplate+=b.directive;else{if(a.cellTemplate+="':"",b.name)switch(b.name){case"delete":a.cellTemplate+='';break;case"profile":case"settings":case"detail":case"embedding":a.cellTemplate+='';break;case"agents":a.cellTemplate+='';break;default:a.cellTemplate+="{{'APPLICATION_"+b.name.toUpperCase()+"' | translate}}"}else a.cellTemplate+=b.displayName?"{{'"+b.displayName+"' | translate}}":"";a.cellTemplate+=" "}}),a.cellTemplate+="
",delete a.buttons)}),_.merge({enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableRowSelection:!0,enableSelectAll:!0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,multiSelect:!0,getPage:q,gridMenuTitleFilter:function(a){var b=e.defer();return b.resolve(c.instant(a)),b.promise},onRegisterApi:function(a){h.gridApi=a,h.gridApi.selection&&(h.gridApi.selection.on.rowSelectionChanged(h,function(a){a.isSelected?h.id.push(h.gridApi.grid.options.primaryKey?a.entity[h.gridApi.grid.options.primaryKey]:a.entity.id):_.pull(h.id,h.gridApi.grid.options.primaryKey?a.entity[h.gridApi.grid.options.primaryKey]:a.entity.id)}),h.gridApi.selection.on.rowSelectionChangedBatch(h,function(a){a[0].isSelected?h.id=_.union(h.id,_.map(a,h.gridApi.grid.options.primaryKey?"entity."+h.gridApi.grid.options.primaryKey:"entity.id")):_.map(a,h.gridApi.grid.options.primaryKey?"entity."+h.gridApi.grid.options.primaryKey:"entity.id").forEach(function(a){_.pull(h.id,a)})})),h.gridApi.core.on.sortChanged(h,function(a,b){0===b.length?o.order=null:o.order=b[0].name+" "+b[0].sort.direction.toUpperCase(),q()}),h.gridApi.pagination.on.paginationChanged(h,function(a,b){o.offset=(a-1)*b,o.limit=b,q()}),h.gridApi.core.on.filterChanged(h,function(){var a=this.grid;a.columns.forEach(function(a){m(a)}),q()}),h.gridApi.draggableRows&&h.gridApi.draggableRows.on.rowDropped(h,function(a){a.fromIndex!==a.toIndex&&d.update(i,h[n].data).$promise.then(function(){b.show(c.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){b.show(a.message,"danger")})}),j||q()}},g)}}}]),angular.module("xCallyShuttleApp").controller("MainCtrl",["$scope","$rootScope","$translate","$timeout","socket","Auth","xAlert","$uibModal","$log","$state","Contact","$window",function(a,b,c,d,e,f,g,h,i,j,k,l){a.awesomeThings=[],b.workspaces=[],a.select=function(a){switch(a.type){case"chatRoom":case"mailRoom":a.unread=0}},a.deselect=function(){},a.isAdmin=f.isAdmin,a.isLoggedIn=f.isLoggedIn,a.getCurrentUser=f.getCurrentUser,a.CurrentUser=f.getCurrentUser(),e.socket.on("user_has_voice_queue_permit:change",function(){a.CurrentUser=f.getCurrentUser()}),e.socket.on("user_has_chat_queue_permit:change",function(){a.CurrentUser=f.getCurrentUser()}),e.socket.on("user_has_mail_queue_permit:change",function(){a.CurrentUser=f.getCurrentUser()}),e.socket.on("user_has_fax_queue_permit:change",function(){a.CurrentUser=f.getCurrentUser()}),e.socket.on("user_has_sms_queue_permit:change",function(){a.CurrentUser=f.getCurrentUser()}),a.mainTab={active:!0},a.closeJscriptyTab=function(a){if(b.workspaces[a].edited){var c=h.open({animation:!0,templateUrl:"app/main/closeEditedTab.modal.jscripty.html",controller:"CloseEditedTabModalJscriptyCtrl",resolve:{project:b.workspaces[a]}});c.result.then(function(){b.workspaces.splice(a,1)})}else b.workspaces.splice(a,1)},a.closeTab=function(a){var c;b.workspaces[a].edited?"jscripty"==b.workspaces[a].type?b.workspaces[a].end():(c=h.open({animation:!0,templateUrl:"app/main/closeEditedTab.modal.html",controller:"CloseEditedTabModalCtrl"}),c.result.then(function(){b.workspaces.splice(a,1)},function(){i.info("Modal dismissed at: "+new Date)})):b.workspaces.splice(a,1)},a.createContact=function(d,e){return e.tags=e.tags?e.tags.join(","):void 0,e.CompanyId||delete e.CompanyId,k.save(e).$promise.then(function(e){b.workspaces.splice(d,1);var f=e.firstName;e.lastName&&(f+=" "+e.lastName),a.openContactTab({firstName:e.firstName,lastName:e.lastName,id:e.id}),g.show(c.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){g.show(a.message,"danger")})};var m=function(b){var c=h.open({animation:!0,templateUrl:"app/main/chooseContact.modal.html",controller:"ChooseContactModalCtrl",resolve:{eventId:function(){return b.id}}});c.result.then(function(c){c?a.openContactTab(c,b):a.newContact(b)},function(){i.info("Modal dismissed at: "+new Date)})};a.updateContact=function(a,d){var e=angular.copy(d);return e.tags=e.tags?e.tags.join(","):void 0,e.CompanyId||(e.CompanyId=null),k.update({id:e.id},e).$promise.then(function(){b.workspaces[a].edited=!1,g.show(c.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){g.show(c.instant(a.message)+"!","danger")})},e.socket.on("report_integration:contactmanager",function(a){console.log("choosecontact"),m(a)}),e.socket.on("report_integration:jscripty",function(b){a.openJscriptyTab({name:"Jscripty",id:b.projectId,calleridnum:b.calleridnum,calleridname:b.calleridname,queue:b.queue,membername:b.membername})}),e.socket.on("report_integration:salesforce",function(a){l.open(a.url,"_blank")}),a.openContactTab=function(a,c){var d=_.find(b.workspaces,{contactID:a.id});if(d)d.active=!0;else{var e=a.firstName;a.lastName&&(e+=" "+a.lastName),b.workspaces.push({name:e,type:"contact",contactID:a.id,"class":"icon-user",active:!0,eventData:a.uniqueid?a:null,data:c||null})}},a.openJscriptyTab=function(a){b.workspaces.push({name:a.name,type:"jscripty",active:!0,data:a})},a.newContact=function(a){b.workspaces.push({name:"New Contact",type:"newContact","class":"icon-user",active:!0,data:a||null,eventData:a&&a.uniqueid?a:""})},b.language=c.use(),a.changeLanguage=function(a){c.use(a).then(function(a){b.language=a,-1!==["main.jscripty.projects.view","main.square.projects.view"].indexOf(j.current.name)&&l.location.reload()})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").directive("ngSpinnerBar",["$rootScope",function(a){return{link:function(b,c){c.addClass("hide"),a.$on("$stateChangeStart",function(){"spinner-page"===c[0].id&&c.removeClass("hide")}),a.$on("$stateChangeSuccess",function(){"spinner-page"===c[0].id&&(c.addClass("hide"),$("body").removeClass("page-on-load"),Layout.setSidebarMenuActiveLink("match"),setTimeout(function(){Metronic.scrollTop()},1e3))}),a.$on("$spinnerStart",function(){"spinner-request"===c[0].id&&c.removeClass("hide")}),a.$on("$spinnerStop",function(){"spinner-request"===c[0].id&&c.addClass("hide")}),a.$on("$stateNotFound",function(){"spinner-page"===c[0].id&&c.addClass("hide")}),a.$on("$stateChangeError",function(){"spinner-page"===c[0].id&&c.addClass("hide")})}}}]).directive("a",function(){return{restrict:"E",link:function(a,b,c){(c.ngClick||""===c.href||"#"===c.href)&&b.on("click",function(a){a.preventDefault()})}}}).directive("nxEqual",function(){return{require:"ngModel",link:function(a,b,c,d){return c.nxEqual?(a.$watch(c.nxEqual,function(a){d.$setValidity("nxEqual",a===d.$viewValue)}),void d.$parsers.push(function(b){var e=b===a.$eval(c.nxEqual);return d.$setValidity("nxEqual",e),e?b:void 0})):void console.error("nxEqual expects a model as an argument!")}}}).directive("ngEnter",function(){return function(a,b,c){b.bind("keydown keypress",function(b){13===b.which&&(a.$apply(function(){a.$eval(c.ngEnter)}),b.preventDefault())})}}).directive("dropdownMenuHover",function(){return{link:function(a,b){b.dropdownHover()}}}).directive("uiSelectRequired",function(){return{require:"ngModel",link:function(a,b,c,d){d.$validators.uiSelectRequired=function(a){return a&&a.length}}}}).directive("rpattern",function(){return{restrict:"A",require:"ngModel",link:function(a,b,c,d){function e(a,b){return null==b||""===b||!h||a.test(b)?(d.$setValidity("pattern",!0),b):void d.$setValidity("pattern",!1)}var f,g=c.rpattern,h=!0;g&&(g.match(/^\/(.*)\/$/)?(g=new RegExp(g.substr(1,g.length-2)),f=function(a){return e(g,a)}):f=function(b){var c=a.$eval(g);if(!c||!c.test)throw new Error("Expected "+g+" to be a RegExp but was "+c);return e(c,b)}),d.$formatters.push(f),d.$parsers.push(f),c.$observe("required",function(a){h=a,f(d.$viewValue)})}}}).directive("conditionBuilder",["$compile","xAlert","$timeout",function(a,b,c){return{restrict:"E",scope:{element:"=",serviceindex:"=",service:"=",form:"="},templateUrl:"app/main/template/template.conditionBuilder.html",compile:function(d,e){var f,g;return f=d.contents().remove(),function(d,e,h){function i(a){var c=_.find(d.service.services[d.serviceindex].conditions,{value:a});if(c)if(d.elementType=c.type,c.arr)d.values=c.arr;else if(c.resource)return c.resource.get().$promise.then(function(a){d.values=_.map(a.rows,function(a){return{name:a[c.resValue],value:a[c.resValue]}})})["catch"](function(a){b.show($translate.instant(a.message),"danger")})}function j(a,b){var c=[];for(a=a||5,b=b||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";--a;)c.push(b.charAt(Math.floor(Math.random()*b.length)));return c.join("")}d._=_,d.randomName=j(),c(function(){d.element.field&&i(d.element.field)}),d.checkCondition=function(a){d.element.value="",d.element.operator="",i(a)},g||(g=a(f)),e.append(g(d,function(a){return a}))}}}}]).directive("newContact",["$compile","xAlert","socket","$translate","$timeout","List","Tag","Company","ReportCall","$uibModal",function(a,b,c,d,e,f,g,h,i,j){return{restrict:"E",scope:{workspace:"=",index:"=",submit:"&onSubmit"},templateUrl:"app/main/template/template.contactTab.html",compile:function(a,k){return function(a,k,l){function m(){a.$watch("contact",function(b,c){angular.equals(b,c)||(a.workspace.edited=!0)},!0)}a.forms={general:{}},a.firstLoad=!0,a.detail={tab:"main"},a.contact={CompanyId:"",disposed:!1},a.submitButtonLabel=d.instant("APPLICATION_CONFIRM"),a.dispose=function(){return j.open({animation:!0,templateUrl:"app/main/cm.disposition.html",controller:"ContactManagerSetDisposition"}).result.then(function(c){return i.update({id:a.workspace.data.uniqueid},c).$promise.then(function(){a.contact.disposed=!0,b.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){b.show(a.data.message,"danger")})})},a.init=function(){a.workspace.data&&(a.contact.firstName=a.workspace.data.calleridname?a.workspace.data.calleridname:a.workspace.data.messageId?a.workspace.data.messageId:a.workspace.data.uniqueid?a.workspace.data.uniqueid:"",a.workspace.data.calleridnum&&(a.contact.phone=a.workspace.data.calleridnum),a.workspace.data.from&&(a.contact.email=a.workspace.data.from)),a.getTags(),a.getCompanies(),a.getLists()},a.getLists=function(){return f.get().$promise.then(function(b){a.lists=b.rows,c.syncUpdates("list",a.lists),a.contact.ListId=a.lists[0]?a.lists[0].id:null,a.getCustomFields()})["catch"](function(a){b.show(d.instant(a.message)+"!","danger")})},a.getCustomFields=function(){return f.get({listId:a.contact.ListId,controller:"customfields"}).$promise.then(function(b){a.customFields=b.rows,a.customFields.forEach(function(a){a.values=JSON.parse(a.values)}),c.socket.on("custom_field:remove",function(b){_.remove(a.customFields,function(a){return b.id==a.id})}),c.socket.on("custom_field:save",function(b){if(b.ListId===a.contact.ListId){var c=_.find(a.customFields,{id:b.id});c||("string"==typeof b.values&&(b.values=JSON.parse(b.values)),a.customFields.push(b))}}),!a.firstLoad||a.workspace.data?(a.workspace.edited=!0,a.firstLoad=!1):(a.firstLoad=!1,m())})["catch"](function(a){console.error(a),b.show(a.message,"danger")})},a.getTags=function(){return g.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a),b.show(a.message,"danger")})},a.getCompanies=function(){return h.get().$promise.then(function(b){a.companies=b.rows,a.companies.unshift({id:"",name:"-- None --"}),c.syncUpdates("company",a.companies)})["catch"](function(a){console.error(a),b.show(a.message,"danger")})},e(function(){a.init()})}}}}]).directive("contact",["$compile","xAlert","socket","$timeout","List","Tag","Company","Contact","$translate","gridOptions","$uibModal","ReportCall",function(a,b,c,d,e,f,g,h,i,j,k,l){return{restrict:"E",scope:{workspace:"=",index:"=",submit:"&onSubmit"},templateUrl:"app/main/template/template.contactTab.html",compile:function(a,m){return function(a,m,n){function o(b){var c=[];_.forEach(a.columns[a.log[b].show][a.log[b].detail].indexes,function(d,e){c.push({name:d,displayName:a.columns[a.log[b].show][a.log[b].detail].header[e],headerCellFilter:"translate",enableSorting:!1,enableColumnMenu:!1})});var d={enablePaginationControls:!0,exporterCsvFilename:b+".csv",columnDefs:c};a["gridOptions"+b]=j.gridOptions(h,d,a,_.merge({id:a.workspace.contactID,controller:"log",logType:b,order:"createdAt DESC"},a.log[b]),!0,b),a["gridOptions"+b].getPage()}a.moment=moment,a.submitButtonLabel=i.instant("APPLICATION_UPDATE"),a.forms={general:{}},a.detail={tab:"main"},a.log={daily:{show:"phone",type:"inbound",detail:"general"},history:{show:"phone",type:"inbound",detail:"general"}},a.columns={phone:{general:{header:["APPLICATION_SOURCE","APPLICATION_DESTINATION","APPLICATION_DISPOSITION","APPLICATION_DATE"],indexes:["source","destination","disposition","createdAt"]},queue:{header:["APPLICATION_CALLERID","APPLICATION_QUEUE","APPLICATION_DATE"],indexes:["calleridnum","queue","createdAt"]}},email:{general:{header:["APPLICATION_FROM","APPLICATION_TO","APPLICATION_DISPOSITION","APPLICATION_DATE"],indexes:["from","accountaddress","disposition","createdAt"]}}},a.dispose=function(){return k.open({animation:!0,templateUrl:"app/main/cm.disposition.html",controller:"ContactManagerSetDisposition"}).result.then(function(c){return l.update({id:a.workspace.data.uniqueid},c).$promise.then(function(){a.contact.disposed=!0,b.show(i.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){b.show(a.data.message,"danger")})})},a.companyInfo=function(b){k.open({animation:!0,size:"lg",templateUrl:"app/main/company.info.html",controller:["$scope","$uibModalInstance","company",function(a,b,c){a.company=c,a.close=function(){b.dismiss("cancel")}}],resolve:{company:_.find(a.companies,{id:b})}})},a.updateLog=function(b,c,d,e){c&&(a.log[b].show=c),d&&(a.log[b].detail=d),e&&(a.log[b].type=e),o(b)},a.getContact=function(){return h.get({id:a.workspace.contactID}).$promise.then(function(b){b.tags=b.tags?b.tags.split(","):[],a.contact=b,a.contact.CompanyId||(a.contact.CompanyId=""),a.getCustomFields(b.ListId),a.updateLog("daily"),a.updateLog("history")})["catch"](function(a){console.error(a),b.show(a.message,"danger")})},a.getTags=function(){return f.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a),b.show(a.message,"danger")})},a.getCompanies=function(){return g.get().$promise.then(function(b){a.companies=b.rows,a.companies.unshift({id:"",name:"-- None --"}),c.syncUpdates("company",a.companies)})["catch"](function(a){console.error(a),b.show(a.message,"danger")})},a.getCustomFields=function(d){return e.get({listId:d,controller:"customfields"}).$promise.then(function(b){a.customFields=b.rows,a.customFields.forEach(function(a){a.values=JSON.parse(a.values)}),c.socket.on("custom_field:remove",function(b){_.remove(a.customFields,function(a){return b.id==a.id})}),c.socket.on("custom_field:save",function(b){if(b.ListId===d){var c=_.find(a.customFields,{id:b.id});c||("string"==typeof b.values&&(b.values=JSON.parse(b.values)),a.customFields.push(b))}})})["catch"](function(a){console.error(a),b.show(a.message,"danger")})},d(function(){a.getTags(),a.getCompanies(),a.getContact()})}}}}]).directive("jscripty",["$compile","xAlert","$http","socket","JscriptyProject",function(a,b,c,d,e){return{restrict:"E",scope:{workspace:"=",index:"=",submit:"&onSubmit"},templateUrl:"app/main/template/template.jscriptyTab.html",compile:function(a,d){return function(a,d,f){a.count=0,a.questions=[];var g,h=a.workspace.data.id;c.get("/api/jscripty/projects/"+h+"/download").success(function(b){b?c.post("/api/jscripty/projects/"+h+"/sessions",{projectId:h,status:"started",queue:a.workspace.data.queue,calleridnum:a.workspace.data.calleridnum,callername:a.workspace.data.callername,membername:a.workspace.data.membername}).success(function(c){g=c.session_id,a.workspace.edited=!0,a.workspace.sessionId=g,a.workspace.projectId=h;var d=mxUtils.parseXml(b),e=new mxCodec(d);a.decObj=e.decode(d.documentElement);var f=_.find(a.decObj.cells,function(a){return a.vertex&&"start"==a.value.nodeName});if("OFF"==f.getAttribute("state")){var j=_.find(f.edges,function(a){return a.source.id==f.id}).target;a.questions[a.count]=a.currentQuestion=i(j)}else a.questions[a.count]=a.currentQuestion=f;a.saveQuestions()}):(console.log("No project published!"),alert("No project published!"),a.submit({index:a.index}))}),a.next=function(b,c){switch(a.currentQuestion.answer&&a.currentQuestion.answer!=c&&(a.questions=_.take(a.questions,a.count+1)),a.currentQuestion.answer=c,b.value.nodeName){case"question":b=i(b)}a.questions[a.count]=a.currentQuestion,a.currentQuestion=b,a.count++,a.questions[a.count]=b,a.saveQuestions()};var i=function(a){var b=[];return a.options=[],_.forEach(a.edges,function(c,d){if(c.source.id==a.id&&c.value){var e=String(c.value).split(",");e.length>1?(_.forEach(e,function(b,d){var e=Object.create(c);e.setValue(b),a.edges.push(e),a.options.push(b)}),b.push(c)):a.options.push(e[0])}}),_.forEach(b,function(b){_.remove(a.edges,function(a){return a.value==b.value&&a.id==b.id})}),a};a.end=function(){a.saveQuestions(),a.workspace.lastQuestionId=a.questions[a.questions.length-1].id,"end"==a.questions[a.questions.length-1].value.nodeName&&(a.workspace.edited=!1,e.update({id:h,controller:"sessions",action:g},{status:"completed",completedAt:Date(),last_question_id:a.questions[a.questions.length-1].id}).$promise.then(function(a){b.show("Project Ended","success")})),a.submit({index:a.index})},a.workspace.end=a.end,a.back=function(){a.count--,a.currentQuestion=a.questions[a.count]},a.setCurrentQuestion=function(b){a.count=b,a.currentQuestion=a.questions[a.count]},a.saveQuestions=function(){for(var c=[],d=[],f=0;f"},{name:">="},{name:"LIKE"}],b.addCondition=function(){b.group.rules.push({condition:"=",field:"",value:""})},b.removeCondition=function(a){b.group.rules.splice(a,1)},b.addGroup=function(){b.group.rules.push({group:{operator:"AND",rules:[{condition:"=",field:"",value:""}]}})},b.randomName=function(a,b){var c=[];for(a=a||5,b=b||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";--a;)c.push(b.charAt(Math.floor(Math.random()*b.length)));return c.join("")},b.removeGroup=function(){b.$parent.group&&b.$parent.group.rules.splice(b.$parent.$index,1)},e||(e=a(d)),c.append(e(b,function(a){return a}))}}}}]).directive("dynamicName",["$compile",function(a){return{restrict:"A",terminal:!0,priority:1e3,link:function(b,c,d){c.attr("name",b.$eval(d.dynamicName)),c.removeAttr("dynamic-name"),a(c)(b)}}}]).directive("onReadFile",["$parse",function(a){return{restrict:"A",scope:!1,link:function(b,c,d){var e=a(d.onReadFile);c.on("change",function(a){var c=new FileReader;c.onload=function(a){b.$apply(function(){e(b,{$fileContent:a.target.result})})},c.readAsText((a.srcElement||a.target).files[0])})}}}]).directive("motionFileDownload",["xAlert","$translate","$timeout","$location","FileSaver","$compile",function(a,b,c,d,e,f){return{restrict:"E",template:'{{btncontent || \'\'}}',scope:{mimetype:"=",filename:"=",resource:"=",params:"=",btnclass:"@",btncontent:"@",tooltiptext:"@"},link:function(c,d,f){var g=d.children()[0];c.$on("download-start",function(){$(g).attr("disabled","disabled")}),c.$on("downloaded",function(a,b){var d=base64ToBlob(b,c.mimetype);e.saveAs(d,c.filename),$(g).attr("disabled",!1)}),c.download=function(){return c.$emit("download-start"),c.resource.get(c.params).$promise.then(function(a){c.$emit("downloaded",a.downloadString)})["catch"](function(d){a.show(b.instant(d.translatedMessage||d.data.translatedMessage||d.message||d.data.message),"danger"),c.download=function(){}})}}}}]).directive("audioFileDownload",["xAlert","$translate","$sce",function(a,b,c){return{restrict:"E",template:'',scope:{resource:"=",params:"="},link:function(d,e,f){var g=e.children()[0];d.$on("download-start",function(a,b){$(g).attr("disabled","disabled").html(' Loading...')}),d.$on("downloaded",function(a,b){var d=new Audio(c.trustAsResourceUrl("data:audio/ogg;base64,"+b));d.controls=!0,$(g).remove(),e.append(d),d.play()}),d.$on("error",function(a,b){$(g).removeClass("blue-stripe").addClass("red-stripe").html(' Error!')}),d.download=function(){return d.$emit("download-start"),d.resource.get(d.params).$promise.then(function(a){d.$emit("downloaded",a.downloadString)})["catch"](function(c){a.show(b.instant(c.translatedMessage||c.data.translatedMessage||c.message||c.data.message),"danger")})}}}}]).directive("uiRequired",function(){return{require:"ngModel",link:function(a,b,c,d){d.$validators.required=function(a,b){return!(b&&0===b.length&&"true"===c.uiRequired)},c.$observe("uiRequired",function(){d.$setValidity("required",!("true"===c.uiRequired&&d.$viewValue&&0===d.$viewValue.length))})}}}).directive("schrollBottom",function(){return{scope:{schrollBottom:"="},link:function(a,b){a.$watchCollection("schrollBottom",function(a){a&&$(b).scrollTop($(b)[0].scrollHeight)})}}}).directive("customGridDateFilterHeader",function(){return{templateUrl:"app/main/customDateFilterHeader.html",controller:"gridDatePickerFilterCtrl"}}),angular.module("xCallyShuttleApp").filter("propsFilter",function(){return function(a,b){var c=[];return angular.isArray(a)?a.forEach(function(a){for(var d=!1,e=Object.keys(b),f=0;f=0}),b}}).filter("freshdesk",function(){var a=["requester","subject","agent","description"];return function(b){return _.remove(b,function(b){return a.indexOf(b.ticket_field.name)>=0}),b}}).filter("zendesk",function(){var a=["subject","assignee","description"];return function(b){return _.remove(b,function(b){return a.indexOf(b.type)>=0}),b}}).filter("slice",function(){return function(a,b,c){return a?a.slice(b,c):void 0}}),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main",{"abstract":!0,templateUrl:"app/main/main.html",controller:"MainCtrl",resolve:{authorization:["$q","Auth","$state","$timeout","$location",function(a,b,c,d,e){return b.getToken()?a.when():(d(function(){e.path("/login")}),a.reject())}],deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css","assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/plugins/mxgraph/js/mxClient.js"]}])}]}})}]),angular.module("xCallyShuttleApp").factory("xAlert",["$translate","Notification",function(a,b){return{show:function(c,d){switch(d){case"success":b.success({message:c,title:' '+a.instant("MESSAGE_SUCCESS")+"!",delay:5e3});break;case"info":b.info({message:c,title:' '+a.instant("MESSAGE_INFO")+"!",delay:5e3});break;case"danger":b.error({message:c,title:' '+a.instant("MESSAGE_ERROR")+"!",delay:1e4});break;case"warning":b.warning({message:c,title:' '+a.instant("MESSAGE_WARNING")+"!",delay:1e4});break;default:b.info(c)}},error:function(c){var d;d=c?c.data?c.data.translatedMessage||c.data.message||"Generic Error":c.translatedMessage||c.message||"Generic Error":"Generic Error",b.error({message:a.instant(d),title:' '+a.instant("MESSAGE_ERROR")+"!", +delay:1e4})}}}]).factory("stResource",["$q","$filter","$timeout","$rootScope","$http","$translate","xAlert",function(a,b,c,d,e,f,g){return{getPage:function(b){var c={page:Math.ceil(b.pagination.start/b.pagination.number),per_page:b.pagination.number};b.sort.predicate&&(c.sort_by=b.sort.predicate,c.sort_order=b.sort.reverse?"DESC":"ASC"),_.forIn(b.search.predicateObject,function(a,b){c[b]=a}),b.search.params&&(c.clientQuery={},_.forIn(b.search.params,function(a,b){c.clientQuery[b]=a})),d.$broadcast("$spinnerStart"),e.get(b.url,{params:c}).success(function(a){h.resolve(a),d.$broadcast("$spinnerStop")}).error(function(a){g.show(f.instant(a.message),"danger"),d.$broadcast("$spinnerStop")});var h=a.defer();return h.promise}}}]).factory("xNotification",["$translate","Notification","$rootScope",function(a,b,c){return{show:function(d,e,f,g,h,i){var j=c.$new();switch(j.acceptBtn=a.instant("APPLICATION_ACCEPT"),j.rejectBtn=a.instant("APPLICATION_REJECT"),j.nAccept=h,j.nReject=i,f){case"chat":return b.info({message:e,title:d,templateUrl:"app/main/template/template.notification.html",delay:g,scope:j});case"mail":return b.success({message:e,title:d,templateUrl:"app/main/template/template.notification.html",delay:g,scope:j});case"fax":return b.warning({message:e,title:d,templateUrl:"app/main/template/template.notification.html",delay:g,scope:j});case"sms":return b.error({message:e,title:d,templateUrl:"app/main/template/template.notification.html",delay:g,scope:j});default:return b.primary({message:e,title:d,templateUrl:"app/main/template/template.notification.html",delay:g,scope:j})}}}}]),angular.module("xCallyShuttleApp").factory("Widget",["$resource",function(a){return a("/api/widgets/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("MarketCtrl",["$scope","$http","$translate","socket","xAlert","Modal","$timeout",function(a,b,c,d,e,f,g){function h(a,b){return Math.floor(Math.random()*(b-a+1))+a}a.initView=function(){b.get("/api/integrations").success(function(b){a.integrations=b.rows,a.groupedIntegration=_.chunk(a.integrations,4),d.syncUpdates("integration",a.integrations,function(){a.groupedIntegration=_.chunk(a.integrations,4)})}).error(function(a){e.show(a.message,"danger")})},a.isProgressing=!1,a.$on("$destroy",function(){d.unsyncUpdates("integration")}),a.installIntegration=function(d){a.status="Downloading",a.percentage=h(1,50),a.isProgressing=!0,d.downloading=!0,b.put("/api/integrations/"+d.id,{active:!0}).success(function(){g(function(){a.percentage=h(51,99),a.status="Installing"},2500),g(function(){a.percentage=100,a.isProgressing=!1,a.status="Completed!",d.downloading=!1,e.show(c.instant("MESSAGE_WELL_DONE")+".","success")},5e3)}).error(function(){d.downloading=!1,a.percentage=0,a.isProgressing=!1,e.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})},a.uninstallIntegration=function(d){a.status="Uninstalling",a.percentage=h(1,99),a.isProgressing=!0,d.downloading=!0,b.put("/api/integrations/"+d.id,{active:!1}).success(function(){g(function(){a.percentage=100,a.isProgressing=!1,a.status="Completed!",d.downloading=!1,e.show(c.instant("MESSAGE_WELL_DONE")+".","success")},5e3)}).error(function(){d.downloading=!1,a.percentage=0,a.isProgressing=!1,e.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.market",{url:"/market",templateUrl:"app/market/market.html",controller:"MarketCtrl",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").controller("MotionbarCtrl",["$scope","$stateParams","$cookieStore","$window","$location","settings","Auth",function(a,b,c,d,e,f,g){console.log(b),b.token&&b.userId&&b.role&&b.redirectTo?(g.loginWithToken(b.token,b.userId,b.role),d.location.href=decodeURIComponent(b.redirectTo)):e.path("/login")}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("motionbar",{url:"/motionbar?redirectTo&token&userId&role",template:"
",controller:"MotionbarCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.motiondialer.blacklist",{url:"/blacklist",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("MotionDialerBlackListListCtrl",["$scope","$uibModal","$translate","xAlert","Modal","MotionDialerBlackList","uiGridConstants",function(a,b,c,d,e,f,g){a.initView=function(){a.gridOptions={paginationPageSizes:[10,25,50,75],paginationPageSize:10,enableFiltering:!0,enableSorting:!0,enableGridMenu:!0,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,columnDefs:[{name:"id",width:60},{name:"phone"},{name:"description",enableSorting:!1},{name:"updatedtime",sort:{direction:g.DESC},enableFiltering:!1},{name:"action",cellTemplate:'',enableSorting:!1,cellClass:"ui-grid-vcenter",enableFiltering:!1}]},f.list({page:1,size:6e5}).$promise.then(function(b){b.status>0?a.gridOptions.data=b.response.RMI.rows:d.show("Please, check your connection!","danger")})["catch"](function(a){d.show(a.message?a.message:a.data.message,"danger")})},a.createItem=function(){var c=b.open({animation:!0,templateUrl:"app/motiondialer/blacklist/list/list.create.modal.html",controller:"MotionDialerBlackListListCreateCtrl"});c.result.then(function(b){a.gridOptions.data.push(b.response.RMI)})},a.deleteItem=e.confirm["delete"](function(b){return f["delete"]({id:b}).$promise.then(function(e){e.status>0?(_.remove(a.gridOptions.data,{id:b}),d.show(c.instant("MESSAGE_WELL_DONE"),"success")):d.show(e.message||"Please, check your connection!","danger")})["catch"](function(a){d.show(a.message?a.message:a.data.message,"danger")})})}]),angular.module("xCallyShuttleApp").controller("MotionDialerBlackListListCreateCtrl",["$scope","$translate","$uibModalInstance","MotionDialerBlackList","xAlert",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return d.insert(a.item).$promise.then(function(a){a.status>0?(e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)):e.show(a.message||"Please, check your connection!","danger")})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.motiondialer.blacklist.list",{url:"/list",templateUrl:"app/motiondialer/blacklist/list/list.html",controller:"MotionDialerBlackListListCtrl",authenticate:!0})}]),angular.module("xCallyShuttleApp").factory("MotionDialerBlackList",["$resource",function(a){return a("/api/rest/blacklist/:controller",null,{list:{method:"POST",params:{controller:"list"}},insert:{method:"POST",params:{controller:"insert"}},"delete":{method:"POST",params:{controller:"delete"}},find:{method:"POST",params:{controller:"find"}},update:{method:"POST",params:{controller:"update"}}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.motiondialer.info",{url:"/info",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("MotionDialerSystem",["$resource",function(a){return a("/api/rest/system/:controller",null,{properties:{method:"POST",params:{controller:"properties"}}})}]),angular.module("xCallyShuttleApp").controller("MotionDialerInfoViewCtrl",["$scope","xAlert","MotionDialerSystem",function(a,b,c){a.getProperties=function(){return c.properties().$promise.then(function(c){console.log(c),c.status>0?a.properties=c.response.RMI:b.show(c.message||"Please, check your connection!","danger")})["catch"](function(a){b.show(a.message?a.message:a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.motiondialer.info.view",{url:"/view",templateUrl:"app/motiondialer/info/view/view.html",controller:"MotionDialerInfoViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.motiondialer.info.view.about",{url:"/about",templateUrl:"app/motiondialer/info/view/view.about.html"}).state("main.motiondialer.info.view.details",{url:"/details",templateUrl:"app/motiondialer/info/view/view.details.html"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.motiondialer.lists",{url:"/lists",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("MotionDialerListListCtrl",["$scope","$uibModal","$translate","xAlert","Modal","MotionDialerList","uiGridConstants","usSpinnerService",function(a,b,c,d,e,f,g,h){a.initView=function(){return a.gridOptions={paginationPageSizes:[10,25,50,75],paginationPageSize:10,enableFiltering:!0,enableSorting:!0,enableGridMenu:!0,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,columnDefs:[{name:"id",width:60},{name:"name"},{name:"description",enableSorting:!1},{name:"updatedtime",sort:{direction:g.DESC},enableFiltering:!1},{name:"action",cellTemplate:'',enableSorting:!1,cellClass:"ui-grid-vcenter",enableFiltering:!1}]},f.list({page:1,size:6e5}).$promise.then(function(b){b.status>0?a.gridOptions.data=b.response.RMI.rows:d.show("Please, check your connection!","danger")})["catch"](function(a){d.show(a.message?a.message:a.data.message,"danger")})["finally"](function(){h.stop("spinner-grid")})},a.createItem=function(){var c=b.open({animation:!0,templateUrl:"app/motiondialer/list/list/list.create.modal.html",controller:"MotionDialerListListCreateCtrl"});c.result.then(function(b){a.gridOptions.data.push(b.response.RMI)})},a.deleteItem=e.confirm["delete"](function(b){return f["delete"]({id:b}).$promise.then(function(e){e.status>0?(_.remove(a.gridOptions.data,{id:b}),d.show(c.instant("MESSAGE_WELL_DONE"),"success")):d.show(e.message||"Please, check your connection!","danger")})["catch"](function(a){d.show(a.message?a.message:a.data.message,"danger")})})}]),angular.module("xCallyShuttleApp").controller("MotionDialerListListCreateCtrl",["$scope","$translate","$uibModalInstance","MotionDialerList","xAlert",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return d.insert(a.item).$promise.then(function(a){a.status>0?(e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)):e.show(a.message||"Please, check your connection!","danger")})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.motiondialer.lists.list",{url:"/list",templateUrl:"app/motiondialer/list/list/list.html",controller:"MotionDialerListListCtrl",authenticate:!0})}]),angular.module("xCallyShuttleApp").factory("MotionDialerContact",["$resource",function(a){return a("/api/rest/contact/:controller",null,{list:{method:"POST",params:{controller:"list"}},insert:{method:"POST",params:{controller:"insert"}},"delete":{method:"POST",params:{controller:"delete"}},find:{method:"POST",params:{controller:"find"}},update:{method:"POST",params:{controller:"update"}}})}]),angular.module("xCallyShuttleApp").factory("MotionDialerList",["$resource",function(a){return a("/api/rest/list/:controller",null,{list:{method:"POST",params:{controller:"list"}},insert:{method:"POST",params:{controller:"insert"}},"delete":{method:"POST",params:{controller:"delete"}},find:{method:"POST",params:{controller:"find"}},update:{method:"POST",params:{controller:"update"}}})}]),angular.module("xCallyShuttleApp").controller("MotionDialerViewContactCreateCtrl",["$scope","$translate","$uibModalInstance","$stateParams","MotionDialerContact","xAlert","MotionDialerTimezone",function(a,b,c,d,e,f,g){a.form={},a.item={},a.timezones=g.list(),a.save=function(){return console.log(a.item),e.insert({id_list:parseInt(d.id),name:a.item.name,phones:a.item.phones.trim().split(","),description:a.item.description||""}).$promise.then(function(a){console.log(a),a.status>0?(f.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)):f.show(a.message||"Please, check your connection!","danger")})["catch"](function(a){f.show(a.message?a.message:a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").controller("MotionDialerListContactImportModalCtrl",["$scope","$uibModalInstance","$stateParams","indexes","csv","xAlert","MotionDialerContact","MotionDialerTimezone",function(a,b,c,d,e,f,g,h){function i(b){if(b>=a.csvLength||a.stopped)return void(a.importing=!1);var d={id_list:parseInt(c.id),name:"",phones:[],description:""};return _.forOwn(a.item,function(a,c){"phones"===c?d[c].push(e[b][a]):d[c]=e[b][a]}),g.insert(d).$promise.then(function(b){b.status>0?(a["import"].success+=j,a["import"].succeeded++,k.push(b.response.RMI)):(console.log(b),a["import"].fail+=j,a["import"].failed++)})["catch"](function(b){console.log(b),a["import"].fail+=j,a["import"].failed++})["finally"](function(){i(b+1)})}a.form={},a.item={},a.timezones=h.list(),console.log(d),console.log(e),a.indexes=d,a.importing=!1,a.submitted=!1,a.stopped=!1,a["import"]={success:0,fail:0,succeeded:0,failed:0},a.csvLength=e.length;var j=100/a.csvLength,k=[];a.start=function(){a.importing=!0,a.submitted=!0,i(0)},a.close=function(){b.close(k)},a.stop=function(){a.stopped=!0}}]),angular.module("xCallyShuttleApp").controller("MotionDialerListViewCtrl",["$scope","$translate","$stateParams","$uibModal","xAlert","uiGridConstants","usSpinnerService","MotionDialerList","MotionDialerContact","Modal","FileUploader","Papa",function(a,b,c,d,e,f,g,h,i,j,k,l){a.getList=function(){return h.find({id:parseInt(c.id)}).$promise.then(function(b){b.status>0?a.list=b.response.RMI:e.show(b.message||"Please, check your connection!","danger")})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})},a.updateList=function(){return h.update({id:a.list.id,name:a.list.name,description:a.list.description}).$promise.then(function(a){a.status>0?e.show(b.instant("MESSAGE_WELL_DONE"),"success"):e.show(a.message||"Please, check your connection!","danger")})["catch"](function(a){e.show(a.data.message,"danger")})},a.getContacts=function(){return a.gridOptions={paginationPageSizes:[10,25,50,75],paginationPageSize:10,enableFiltering:!0,enableSorting:!0,enableGridMenu:!0,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,columnDefs:[{name:"name"},{name:"phones"},{name:"description",enableSorting:!1},{name:"updatedtime",sort:{direction:f.DESC},enableFiltering:!1},{name:"action",cellTemplate:'',enableSorting:!1,cellClass:"ui-grid-vcenter",enableFiltering:!1}]},i.list({id_list:parseInt(c.id),page:1,size:6e5}).$promise.then(function(b){b.status>0?a.gridOptions.data=b.response.RMI.rows:e.show(b.message||"Please, check your connection!","danger")})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})["finally"](function(){g.stop("spinner-grid")})},a.deleteContact=j.confirm["delete"](function(c){return i["delete"]({id:c}).$promise.then(function(d){d.status>0?(_.remove(a.gridOptions.data,{id:c}),e.show(b.instant("MESSAGE_WELL_DONE"),"success")):e.show(d.message||"Please, check your connection!","danger")})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})}),a.createContact=function(){var b=d.open({animation:!0,templateUrl:"app/motiondialer/list/view/view.contact.create.modal.html",controller:"MotionDialerViewContactCreateCtrl"});b.result.then(function(b){a.gridOptions.data.push(b.response.RMI)})};var m=a.uploader=new k({queueLimit:1,clearInputAfterAddedToQueue:!0});m.onAfterAddingFile=function(b){l.parse(b._file,{header:!0,complete:function(b){a.uploader.clearQueue(),a["import"](b.data)},error:function(a){e.show(a,"danger")}})},a["import"]=function(b){var c=d.open({animation:!0,backdrop:"static",keyboard:!1,templateUrl:"app/motiondialer/list/view/view.contact.import.modal.html",controller:"MotionDialerListContactImportModalCtrl",resolve:{indexes:function(){return _.keys(b[0])},csv:function(){return b}}});c.result.then(function(b){console.log(b),a.gridOptions.data=a.gridOptions.data.concat(b)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.motiondialer.lists.view",{url:"/view/:id",templateUrl:"app/motiondialer/list/view/view.html",controller:"MotionDialerListViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.motiondialer.lists.view.settings",{url:"/settings",templateUrl:"app/motiondialer/list/view/view.settings.html"}).state("main.motiondialer.lists.view.contacts",{url:"/contacts",templateUrl:"app/motiondialer/list/view/view.contacts.html"})}]),angular.module("xCallyShuttleApp").factory("MotionDialerTimezone",function(){return{list:function(){return[{group:"US (Common)",zones:[{value:"America/Puerto_Rico",name:"Puerto Rico (Atlantic)"},{value:"America/New_York",name:"New York (Eastern)"},{value:"America/Chicago",name:"Chicago (Central)"},{value:"America/Denver",name:"Denver (Mountain)"},{value:"America/Phoenix",name:"Phoenix (MST)"},{value:"America/Los_Angeles",name:"Los Angeles (Pacific)"},{value:"America/Anchorage",name:"Anchorage (Alaska)"},{value:"Pacific/Honolulu",name:"Honolulu (Hawaii)"}]},{group:"America",zones:[{value:"America/Adak",name:"Adak"},{value:"America/Anchorage",name:"Anchorage"},{value:"America/Anguilla",name:"Anguilla"},{value:"America/Antigua",name:"Antigua"},{value:"America/Araguaina",name:"Araguaina"},{value:"America/Argentina/Buenos_Aires",name:"Argentina - Buenos Aires"},{value:"America/Argentina/Catamarca",name:"Argentina - Catamarca"},{value:"America/Argentina/ComodRivadavia",name:"Argentina - ComodRivadavia"},{value:"America/Argentina/Cordoba",name:"Argentina - Cordoba"},{value:"America/Argentina/Jujuy",name:"Argentina - Jujuy"},{value:"America/Argentina/La_Rioja",name:"Argentina - La Rioja"},{value:"America/Argentina/Mendoza",name:"Argentina - Mendoza"},{value:"America/Argentina/Rio_Gallegos",name:"Argentina - Rio Gallegos"},{value:"America/Argentina/Salta",name:"Argentina - Salta"},{value:"America/Argentina/San_Juan",name:"Argentina - San Juan"},{value:"America/Argentina/San_Luis",name:"Argentina - San Luis"},{value:"America/Argentina/Tucuman",name:"Argentina - Tucuman"},{value:"America/Argentina/Ushuaia",name:"Argentina - Ushuaia"},{value:"America/Aruba",name:"Aruba"},{value:"America/Asuncion",name:"Asuncion"},{value:"America/Atikokan",name:"Atikokan"},{value:"America/Atka",name:"Atka"},{value:"America/Bahia",name:"Bahia"},{value:"America/Barbados",name:"Barbados"},{value:"America/Belem",name:"Belem"},{value:"America/Belize",name:"Belize"},{value:"America/Blanc-Sablon",name:"Blanc-Sablon"},{value:"America/Boa_Vista",name:"Boa Vista"},{value:"America/Bogota",name:"Bogota"},{value:"America/Boise",name:"Boise"},{value:"America/Buenos_Aires",name:"Buenos Aires"},{value:"America/Cambridge_Bay",name:"Cambridge Bay"},{value:"America/Campo_Grande",name:"Campo Grande"},{value:"America/Cancun",name:"Cancun"},{value:"America/Caracas",name:"Caracas"},{value:"America/Catamarca",name:"Catamarca"},{value:"America/Cayenne",name:"Cayenne"},{value:"America/Cayman",name:"Cayman"},{value:"America/Chicago",name:"Chicago"},{value:"America/Chihuahua",name:"Chihuahua"},{value:"America/Coral_Harbour",name:"Coral Harbour"},{value:"America/Cordoba",name:"Cordoba"},{value:"America/Costa_Rica",name:"Costa Rica"},{value:"America/Cuiaba",name:"Cuiaba"},{value:"America/Curacao",name:"Curacao"},{value:"America/Danmarkshavn",name:"Danmarkshavn"},{value:"America/Dawson",name:"Dawson"},{value:"America/Dawson_Creek",name:"Dawson Creek"},{value:"America/Denver",name:"Denver"},{value:"America/Detroit",name:"Detroit"},{value:"America/Dominica",name:"Dominica"},{value:"America/Edmonton",name:"Edmonton"},{value:"America/Eirunepe",name:"Eirunepe"},{value:"America/El_Salvador",name:"El Salvador"},{value:"America/Ensenada",name:"Ensenada"},{value:"America/Fortaleza",name:"Fortaleza"},{value:"America/Fort_Wayne",name:"Fort Wayne"},{value:"America/Glace_Bay",name:"Glace Bay"},{value:"America/Godthab",name:"Godthab"},{value:"America/Goose_Bay",name:"Goose Bay"},{value:"America/Grand_Turk",name:"Grand Turk"},{value:"America/Grenada",name:"Grenada"},{value:"America/Guadeloupe",name:"Guadeloupe"},{value:"America/Guatemala",name:"Guatemala"},{value:"America/Guayaquil",name:"Guayaquil"},{value:"America/Guyana",name:"Guyana"},{value:"America/Halifax",name:"Halifax"},{value:"America/Havana",name:"Havana"},{value:"America/Hermosillo",name:"Hermosillo"},{value:"America/Indiana/Indianapolis",name:"Indiana - Indianapolis"},{value:"America/Indiana/Knox",name:"Indiana - Knox"},{value:"America/Indiana/Marengo",name:"Indiana - Marengo"},{value:"America/Indiana/Petersburg",name:"Indiana - Petersburg"},{value:"America/Indiana/Tell_City",name:"Indiana - Tell City"},{value:"America/Indiana/Vevay",name:"Indiana - Vevay"},{value:"America/Indiana/Vincennes",name:"Indiana - Vincennes"},{value:"America/Indiana/Winamac",name:"Indiana - Winamac"},{value:"America/Indianapolis",name:"Indianapolis"},{value:"America/Inuvik",name:"Inuvik"},{value:"America/Iqaluit",name:"Iqaluit"},{value:"America/Jamaica",name:"Jamaica"},{value:"America/Jujuy",name:"Jujuy"},{value:"America/Juneau",name:"Juneau"},{value:"America/Kentucky/Louisville",name:"Kentucky - Louisville"},{value:"America/Kentucky/Monticello",name:"Kentucky - Monticello"},{value:"America/Knox_IN",name:"Knox IN"},{value:"America/La_Paz",name:"La Paz"},{value:"America/Lima",name:"Lima"},{value:"America/Los_Angeles",name:"Los Angeles"},{value:"America/Louisville",name:"Louisville"},{value:"America/Maceio",name:"Maceio"},{value:"America/Managua",name:"Managua"},{value:"America/Manaus",name:"Manaus"},{value:"America/Marigot",name:"Marigot"},{value:"America/Martinique",name:"Martinique"},{value:"America/Matamoros",name:"Matamoros"},{value:"America/Mazatlan",name:"Mazatlan"},{value:"America/Mendoza",name:"Mendoza"},{value:"America/Menominee",name:"Menominee"},{value:"America/Merida",name:"Merida"},{value:"America/Mexico_City",name:"Mexico City"},{value:"America/Miquelon",name:"Miquelon"},{value:"America/Moncton",name:"Moncton"},{value:"America/Monterrey",name:"Monterrey"},{value:"America/Montevideo",name:"Montevideo"},{value:"America/Montreal",name:"Montreal"},{value:"America/Montserrat",name:"Montserrat"},{value:"America/Nassau",name:"Nassau"},{value:"America/New_York",name:"New York"},{value:"America/Nipigon",name:"Nipigon"},{value:"America/Nome",name:"Nome"},{value:"America/Noronha",name:"Noronha"},{value:"America/North_Dakota/Center",name:"North Dakota - Center"},{value:"America/North_Dakota/New_Salem",name:"North Dakota - New Salem"},{value:"America/Ojinaga",name:"Ojinaga"},{value:"America/Panama",name:"Panama"},{value:"America/Pangnirtung",name:"Pangnirtung"},{value:"America/Paramaribo",name:"Paramaribo"},{value:"America/Phoenix",name:"Phoenix"},{value:"America/Port-au-Prince",name:"Port-au-Prince"},{value:"America/Porto_Acre",name:"Porto Acre"},{value:"America/Port_of_Spain",name:"Port of Spain"},{value:"America/Porto_Velho",name:"Porto Velho"},{value:"America/Puerto_Rico",name:"Puerto Rico"},{value:"America/Rainy_River",name:"Rainy River"},{value:"America/Rankin_Inlet",name:"Rankin Inlet"},{value:"America/Recife",name:"Recife"},{value:"America/Regina",name:"Regina"},{value:"America/Resolute",name:"Resolute"},{value:"America/Rio_Branco",name:"Rio Branco"},{value:"America/Rosario",name:"Rosario"},{value:"America/Santa_Isabel",name:"Santa Isabel"},{value:"America/Santarem",name:"Santarem"},{value:"America/Santiago",name:"Santiago"},{value:"America/Santo_Domingo",name:"Santo Domingo"},{value:"America/Sao_Paulo",name:"Sao Paulo"},{value:"America/Scoresbysund",name:"Scoresbysund"},{value:"America/Shiprock",name:"Shiprock"},{value:"America/St_Barthelemy",name:"St Barthelemy"},{value:"America/St_Johns",name:"St Johns"},{value:"America/St_Kitts",name:"St Kitts"},{value:"America/St_Lucia",name:"St Lucia"},{value:"America/St_Thomas",name:"St Thomas"},{value:"America/St_Vincent",name:"St Vincent"},{value:"America/Swift_Current",name:"Swift Current"},{value:"America/Tegucigalpa",name:"Tegucigalpa"},{value:"America/Thule",name:"Thule"},{value:"America/Thunder_Bay",name:"Thunder Bay"},{value:"America/Tijuana",name:"Tijuana"},{value:"America/Toronto",name:"Toronto"},{value:"America/Tortola",name:"Tortola"},{value:"America/Vancouver",name:"Vancouver"},{value:"America/Virgin",name:"Virgin"},{value:"America/Whitehorse",name:"Whitehorse"},{value:"America/Winnipeg",name:"Winnipeg"},{value:"America/Yakutat",name:"Yakutat"},{value:"America/Yellowknife",name:"Yellowknife"}]},{group:"Europe",zones:[{value:"Europe/Amsterdam",name:"Amsterdam"},{value:"Europe/Andorra",name:"Andorra"},{value:"Europe/Athens",name:"Athens"},{value:"Europe/Belfast",name:"Belfast"},{value:"Europe/Belgrade",name:"Belgrade"},{value:"Europe/Berlin",name:"Berlin"},{value:"Europe/Bratislava",name:"Bratislava"},{value:"Europe/Brussels",name:"Brussels"},{value:"Europe/Bucharest",name:"Bucharest"},{value:"Europe/Budapest",name:"Budapest"},{value:"Europe/Chisinau",name:"Chisinau"},{value:"Europe/Copenhagen",name:"Copenhagen"},{value:"Europe/Dublin",name:"Dublin"},{value:"Europe/Gibraltar",name:"Gibraltar"},{value:"Europe/Guernsey",name:"Guernsey"},{value:"Europe/Helsinki",name:"Helsinki"},{value:"Europe/Isle_of_Man",name:"Isle of Man"},{value:"Europe/Istanbul",name:"Istanbul"},{value:"Europe/Jersey",name:"Jersey"},{value:"Europe/Kaliningrad",name:"Kaliningrad"},{value:"Europe/Kiev",name:"Kiev"},{value:"Europe/Lisbon",name:"Lisbon"},{value:"Europe/Ljubljana",name:"Ljubljana"},{value:"Europe/London",name:"London"},{value:"Europe/Luxembourg",name:"Luxembourg"},{value:"Europe/Madrid",name:"Madrid"},{value:"Europe/Malta",name:"Malta"},{value:"Europe/Mariehamn",name:"Mariehamn"},{value:"Europe/Minsk",name:"Minsk"},{value:"Europe/Monaco",name:"Monaco"},{value:"Europe/Moscow",name:"Moscow"},{value:"Europe/Nicosia",name:"Nicosia"},{value:"Europe/Oslo",name:"Oslo"},{value:"Europe/Paris",name:"Paris"},{value:"Europe/Podgorica",name:"Podgorica"},{value:"Europe/Prague",name:"Prague"},{value:"Europe/Riga",name:"Riga"},{value:"Europe/Rome",name:"Rome"},{value:"Europe/Samara",name:"Samara"},{value:"Europe/San_Marino",name:"San Marino"},{value:"Europe/Sarajevo",name:"Sarajevo"},{value:"Europe/Simferopol",name:"Simferopol"},{value:"Europe/Skopje",name:"Skopje"},{value:"Europe/Sofia",name:"Sofia"},{value:"Europe/Stockholm",name:"Stockholm"},{value:"Europe/Tallinn",name:"Tallinn"},{value:"Europe/Tirane",name:"Tirane"},{value:"Europe/Tiraspol",name:"Tiraspol"},{value:"Europe/Uzhgorod",name:"Uzhgorod"},{value:"Europe/Vaduz",name:"Vaduz"},{value:"Europe/Vatican",name:"Vatican"},{value:"Europe/Vienna",name:"Vienna"},{value:"Europe/Vilnius",name:"Vilnius"},{value:"Europe/Volgograd",name:"Volgograd"},{value:"Europe/Warsaw",name:"Warsaw"},{value:"Europe/Zagreb",name:"Zagreb"},{value:"Europe/Zaporozhye",name:"Zaporozhye"},{value:"Europe/Zurich",name:"Zurich"}]},{group:"Asia",zones:[{value:"Asia/Aden",name:"Aden"},{value:"Asia/Almaty",name:"Almaty"},{value:"Asia/Amman",name:"Amman"},{value:"Asia/Anadyr",name:"Anadyr"},{value:"Asia/Aqtau",name:"Aqtau"},{value:"Asia/Aqtobe",name:"Aqtobe"},{value:"Asia/Ashgabat",name:"Ashgabat"},{value:"Asia/Ashkhabad",name:"Ashkhabad"},{value:"Asia/Baghdad",name:"Baghdad"},{value:"Asia/Bahrain",name:"Bahrain"},{value:"Asia/Baku",name:"Baku"},{value:"Asia/Bangkok",name:"Bangkok"},{value:"Asia/Beirut",name:"Beirut"},{value:"Asia/Bishkek",name:"Bishkek"},{value:"Asia/Brunei",name:"Brunei"},{value:"Asia/Calcutta",name:"Calcutta"},{value:"Asia/Choibalsan",name:"Choibalsan"},{value:"Asia/Chongqing",name:"Chongqing"},{value:"Asia/Chungking",name:"Chungking"},{value:"Asia/Colombo",name:"Colombo"},{value:"Asia/Dacca",name:"Dacca"},{value:"Asia/Damascus",name:"Damascus"},{value:"Asia/Dhaka",name:"Dhaka"},{value:"Asia/Dili",name:"Dili"},{value:"Asia/Dubai",name:"Dubai"},{value:"Asia/Dushanbe",name:"Dushanbe"},{value:"Asia/Gaza",name:"Gaza"},{value:"Asia/Harbin",name:"Harbin"},{value:"Asia/Ho_Chi_Minh",name:"Ho Chi Minh"},{value:"Asia/Hong_Kong",name:"Hong Kong"},{value:"Asia/Hovd",name:"Hovd"},{value:"Asia/Irkutsk",name:"Irkutsk"},{value:"Asia/Istanbul",name:"Istanbul"},{value:"Asia/Jakarta",name:"Jakarta"},{value:"Asia/Jayapura",name:"Jayapura"},{value:"Asia/Jerusalem",name:"Jerusalem"},{value:"Asia/Kabul",name:"Kabul"},{value:"Asia/Kamchatka",name:"Kamchatka"},{value:"Asia/Karachi",name:"Karachi"},{value:"Asia/Kashgar",name:"Kashgar"},{value:"Asia/Kathmandu",name:"Kathmandu"},{value:"Asia/Katmandu",name:"Katmandu"},{value:"Asia/Kolkata",name:"Kolkata"},{value:"Asia/Krasnoyarsk",name:"Krasnoyarsk"},{value:"Asia/Kuala_Lumpur",name:"Kuala Lumpur"},{value:"Asia/Kuching",name:"Kuching"},{value:"Asia/Kuwait",name:"Kuwait"},{value:"Asia/Macao",name:"Macao"},{value:"Asia/Macau",name:"Macau"},{value:"Asia/Magadan",name:"Magadan"},{value:"Asia/Makassar",name:"Makassar"},{value:"Asia/Manila",name:"Manila"},{value:"Asia/Muscat",name:"Muscat"},{value:"Asia/Nicosia",name:"Nicosia"},{value:"Asia/Novokuznetsk",name:"Novokuznetsk"},{value:"Asia/Novosibirsk",name:"Novosibirsk"},{value:"Asia/Omsk",name:"Omsk"},{value:"Asia/Oral",name:"Oral"},{value:"Asia/Phnom_Penh",name:"Phnom Penh"},{value:"Asia/Pontianak",name:"Pontianak"},{value:"Asia/Pyongyang",name:"Pyongyang"},{value:"Asia/Qatar",name:"Qatar"},{value:"Asia/Qyzylorda",name:"Qyzylorda"},{value:"Asia/Rangoon",name:"Rangoon"},{value:"Asia/Riyadh",name:"Riyadh"},{value:"Asia/Saigon",name:"Saigon"},{value:"Asia/Sakhalin",name:"Sakhalin"},{value:"Asia/Samarkand",name:"Samarkand"},{value:"Asia/Seoul",name:"Seoul"},{value:"Asia/Shanghai",name:"Shanghai"},{value:"Asia/Singapore",name:"Singapore"},{value:"Asia/Taipei",name:"Taipei"},{value:"Asia/Tashkent",name:"Tashkent"},{value:"Asia/Tbilisi",name:"Tbilisi"},{value:"Asia/Tehran",name:"Tehran"},{value:"Asia/Tel_Aviv",name:"Tel Aviv"},{value:"Asia/Thimbu",name:"Thimbu"},{value:"Asia/Thimphu",name:"Thimphu"},{value:"Asia/Tokyo",name:"Tokyo"},{value:"Asia/Ujung_Pandang",name:"Ujung Pandang"},{value:"Asia/Ulaanbaatar",name:"Ulaanbaatar"},{value:"Asia/Ulan_Bator",name:"Ulan Bator"},{value:"Asia/Urumqi",name:"Urumqi"},{value:"Asia/Vientiane",name:"Vientiane"},{value:"Asia/Vladivostok",name:"Vladivostok"},{value:"Asia/Yakutsk",name:"Yakutsk"},{value:"Asia/Yekaterinburg",name:"Yekaterinburg"},{value:"Asia/Yerevan",name:"Yerevan"}]},{group:"Africa",zones:[{value:"Africa/Abidjan",name:"Abidjan"},{value:"Africa/Accra",name:"Accra"},{value:"Africa/Addis_Ababa",name:"Addis Ababa"},{value:"Africa/Algiers",name:"Algiers"},{value:"Africa/Asmara",name:"Asmara"},{value:"Africa/Asmera",name:"Asmera"},{value:"Africa/Bamako",name:"Bamako"},{value:"Africa/Bangui",name:"Bangui"},{value:"Africa/Banjul",name:"Banjul"},{value:"Africa/Bissau",name:"Bissau"},{value:"Africa/Blantyre",name:"Blantyre"},{value:"Africa/Brazzaville",name:"Brazzaville"},{value:"Africa/Bujumbura",name:"Bujumbura"},{value:"Africa/Cairo",name:"Cairo"},{value:"Africa/Casablanca",name:"Casablanca"},{value:"Africa/Ceuta",name:"Ceuta"},{value:"Africa/Conakry",name:"Conakry"},{value:"Africa/Dakar",name:"Dakar"},{value:"Africa/Dar_es_Salaam",name:"Dar es Salaam"},{value:"Africa/Djibouti",name:"Djibouti"},{value:"Africa/Douala",name:"Douala"},{value:"Africa/El_Aaiun",name:"El Aaiun" +},{value:"Africa/Freetown",name:"Freetown"},{value:"Africa/Gaborone",name:"Gaborone"},{value:"Africa/Harare",name:"Harare"},{value:"Africa/Johannesburg",name:"Johannesburg"},{value:"Africa/Kampala",name:"Kampala"},{value:"Africa/Khartoum",name:"Khartoum"},{value:"Africa/Kigali",name:"Kigali"},{value:"Africa/Kinshasa",name:"Kinshasa"},{value:"Africa/Lagos",name:"Lagos"},{value:"Africa/Libreville",name:"Libreville"},{value:"Africa/Lome",name:"Lome"},{value:"Africa/Luanda",name:"Luanda"},{value:"Africa/Lubumbashi",name:"Lubumbashi"},{value:"Africa/Lusaka",name:"Lusaka"},{value:"Africa/Malabo",name:"Malabo"},{value:"Africa/Maputo",name:"Maputo"},{value:"Africa/Maseru",name:"Maseru"},{value:"Africa/Mbabane",name:"Mbabane"},{value:"Africa/Mogadishu",name:"Mogadishu"},{value:"Africa/Monrovia",name:"Monrovia"},{value:"Africa/Nairobi",name:"Nairobi"},{value:"Africa/Ndjamena",name:"Ndjamena"},{value:"Africa/Niamey",name:"Niamey"},{value:"Africa/Nouakchott",name:"Nouakchott"},{value:"Africa/Ouagadougou",name:"Ouagadougou"},{value:"Africa/Porto-Novo",name:"Porto-Novo"},{value:"Africa/Sao_Tome",name:"Sao Tome"},{value:"Africa/Timbuktu",name:"Timbuktu"},{value:"Africa/Tripoli",name:"Tripoli"},{value:"Africa/Tunis",name:"Tunis"},{value:"Africa/Windhoek",name:"Windhoek"}]},{group:"Australia",zones:[{value:"Australia/ACT",name:"ACT"},{value:"Australia/Adelaide",name:"Adelaide"},{value:"Australia/Brisbane",name:"Brisbane"},{value:"Australia/Broken_Hill",name:"Broken Hill"},{value:"Australia/Canberra",name:"Canberra"},{value:"Australia/Currie",name:"Currie"},{value:"Australia/Darwin",name:"Darwin"},{value:"Australia/Eucla",name:"Eucla"},{value:"Australia/Hobart",name:"Hobart"},{value:"Australia/LHI",name:"LHI"},{value:"Australia/Lindeman",name:"Lindeman"},{value:"Australia/Lord_Howe",name:"Lord Howe"},{value:"Australia/Melbourne",name:"Melbourne"},{value:"Australia/North",name:"North"},{value:"Australia/NSW",name:"NSW"},{value:"Australia/Perth",name:"Perth"},{value:"Australia/Queensland",name:"Queensland"},{value:"Australia/South",name:"South"},{value:"Australia/Sydney",name:"Sydney"},{value:"Australia/Tasmania",name:"Tasmania"},{value:"Australia/Victoria",name:"Victoria"},{value:"Australia/West",name:"West"},{value:"Australia/Yancowinna",name:"Yancowinna"}]},{group:"Indian",zones:[{value:"Indian/Antananarivo",name:"Antananarivo"},{value:"Indian/Chagos",name:"Chagos"},{value:"Indian/Christmas",name:"Christmas"},{value:"Indian/Cocos",name:"Cocos"},{value:"Indian/Comoro",name:"Comoro"},{value:"Indian/Kerguelen",name:"Kerguelen"},{value:"Indian/Mahe",name:"Mahe"},{value:"Indian/Maldives",name:"Maldives"},{value:"Indian/Mauritius",name:"Mauritius"},{value:"Indian/Mayotte",name:"Mayotte"},{value:"Indian/Reunion",name:"Reunion"}]},{group:"Atlantic",zones:[{value:"Atlantic/Azores",name:"Azores"},{value:"Atlantic/Bermuda",name:"Bermuda"},{value:"Atlantic/Canary",name:"Canary"},{value:"Atlantic/Cape_Verde",name:"Cape Verde"},{value:"Atlantic/Faeroe",name:"Faeroe"},{value:"Atlantic/Faroe",name:"Faroe"},{value:"Atlantic/Jan_Mayen",name:"Jan Mayen"},{value:"Atlantic/Madeira",name:"Madeira"},{value:"Atlantic/Reykjavik",name:"Reykjavik"},{value:"Atlantic/South_Georgia",name:"South Georgia"},{value:"Atlantic/Stanley",name:"Stanley"},{value:"Atlantic/St_Helena",name:"St Helena"}]},{group:"Pacific",zones:[{value:"Pacific/Apia",name:"Apia"},{value:"Pacific/Auckland",name:"Auckland"},{value:"Pacific/Chatham",name:"Chatham"},{value:"Pacific/Easter",name:"Easter"},{value:"Pacific/Efate",name:"Efate"},{value:"Pacific/Enderbury",name:"Enderbury"},{value:"Pacific/Fakaofo",name:"Fakaofo"},{value:"Pacific/Fiji",name:"Fiji"},{value:"Pacific/Funafuti",name:"Funafuti"},{value:"Pacific/Galapagos",name:"Galapagos"},{value:"Pacific/Gambier",name:"Gambier"},{value:"Pacific/Guadalcanal",name:"Guadalcanal"},{value:"Pacific/Guam",name:"Guam"},{value:"Pacific/Honolulu",name:"Honolulu"},{value:"Pacific/Johnston",name:"Johnston"},{value:"Pacific/Kiritimati",name:"Kiritimati"},{value:"Pacific/Kosrae",name:"Kosrae"},{value:"Pacific/Kwajalein",name:"Kwajalein"},{value:"Pacific/Majuro",name:"Majuro"},{value:"Pacific/Marquesas",name:"Marquesas"},{value:"Pacific/Midway",name:"Midway"},{value:"Pacific/Nauru",name:"Nauru"},{value:"Pacific/Niue",name:"Niue"},{value:"Pacific/Norfolk",name:"Norfolk"},{value:"Pacific/Noumea",name:"Noumea"},{value:"Pacific/Pago_Pago",name:"Pago Pago"},{value:"Pacific/Palau",name:"Palau"},{value:"Pacific/Pitcairn",name:"Pitcairn"},{value:"Pacific/Ponape",name:"Ponape"},{value:"Pacific/Port_Moresby",name:"Port Moresby"},{value:"Pacific/Rarotonga",name:"Rarotonga"},{value:"Pacific/Saipan",name:"Saipan"},{value:"Pacific/Samoa",name:"Samoa"},{value:"Pacific/Tahiti",name:"Tahiti"},{value:"Pacific/Tarawa",name:"Tarawa"},{value:"Pacific/Tongatapu",name:"Tongatapu"},{value:"Pacific/Truk",name:"Truk"},{value:"Pacific/Wake",name:"Wake"},{value:"Pacific/Wallis",name:"Wallis"},{value:"Pacific/Yap",name:"Yap"}]},{group:"Antarctica",zones:[{value:"Antarctica/Casey",name:"Casey"},{value:"Antarctica/Davis",name:"Davis"},{value:"Antarctica/DumontDUrville",name:"DumontDUrville"},{value:"Antarctica/Macquarie",name:"Macquarie"},{value:"Antarctica/Mawson",name:"Mawson"},{value:"Antarctica/McMurdo",name:"McMurdo"},{value:"Antarctica/Palmer",name:"Palmer"},{value:"Antarctica/Rothera",name:"Rothera"},{value:"Antarctica/South_Pole",name:"South Pole"},{value:"Antarctica/Syowa",name:"Syowa"},{value:"Antarctica/Vostok",name:"Vostok"}]},{group:"Arctic",zones:[{value:"Arctic/Longyearbyen",name:"Longyearbyen"}]},{group:"UTC",zones:[{value:"UTC",name:"UTC"}]},{group:"Manual Offsets",zones:[{value:"UTC-12",name:"UTC-12"},{value:"UTC-11",name:"UTC-11"},{value:"UTC-10",name:"UTC-10"},{value:"UTC-9",name:"UTC-9"},{value:"UTC-8",name:"UTC-8"},{value:"UTC-7",name:"UTC-7"},{value:"UTC-6",name:"UTC-6"},{value:"UTC-5",name:"UTC-5"},{value:"UTC-4",name:"UTC-4"},{value:"UTC-3",name:"UTC-3"},{value:"UTC-2",name:"UTC-2"},{value:"UTC-1",name:"UTC-1"},{value:"UTC+0",name:"UTC+0"},{value:"UTC+1",name:"UTC+1"},{value:"UTC+2",name:"UTC+2"},{value:"UTC+3",name:"UTC+3"},{value:"UTC+4",name:"UTC+4"},{value:"UTC+5",name:"UTC+5"},{value:"UTC+6",name:"UTC+6"},{value:"UTC+7",name:"UTC+7"},{value:"UTC+8",name:"UTC+8"},{value:"UTC+9",name:"UTC+9"},{value:"UTC+10",name:"UTC+10"},{value:"UTC+11",name:"UTC+11"},{value:"UTC+12",name:"UTC+12"},{value:"UTC+13",name:"UTC+13"},{value:"UTC+14",name:"UTC+14"}]}]}}}),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.motiondialer",{url:"/motiondialer",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:16}}})}]),angular.module("xCallyShuttleApp").controller("MotionDialerProcessListCtrl",["$scope","$uibModal","$translate","xAlert","Modal","MotionDialerProcess","uiGridConstants","usSpinnerService",function(a,b,c,d,e,f,g,h){a.initView=function(){return a.gridOptions={paginationPageSizes:[10,25,50,75],paginationPageSize:10,enableFiltering:!0,enableSorting:!0,enableGridMenu:!0,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,columnDefs:[{name:"id",width:60},{name:"name"},{name:"queue",enableSorting:!1},{name:"extension",enableSorting:!1},{name:"id_list",enableSorting:!1,cellTemplate:'',cellClass:"ui-grid-vcenter"},{name:"status",cellTemplate:"",cellClass:"ui-grid-vcenter",filter:{type:g.filter.SELECT,selectOptions:[{value:"RUN",label:"RUNNING"},{value:"STOP",label:"STOPPED"}]}},{name:"updatedtime",sort:{direction:g.DESC},enableFiltering:!1},{name:"action",cellTemplate:'',enableSorting:!1,cellClass:"ui-grid-vcenter",enableFiltering:!1}]},f.list({page:1,size:6e5}).$promise.then(function(b){console.log(b),b.status>0?a.gridOptions.data=b.response.RMI.rows:d.show("Please, check your connection!","danger")})["catch"](function(a){d.show(a.message?a.message:a.data.message,"danger")})["finally"](function(){h.stop("spinner-grid")})},a.createProcessQueue=function(){var c=b.open({animation:!0,templateUrl:"app/motiondialer/process/list/list.create.queue.modal.html",controller:"MotionDialerProcessListCreateQueueCtrl"});c.result.then(function(b){a.gridOptions.data.push(b.response.RMI)})},a.createProcessSquare=function(){var c=b.open({animation:!0,templateUrl:"app/motiondialer/process/list/list.create.square.modal.html",controller:"MotionDialerProcessListCreateSquareCtrl"});c.result.then(function(b){a.gridOptions.data.push(b.response.RMI)})},a.deleteItem=e.confirm["delete"](function(b){return f["delete"]({id:b}).$promise.then(function(e){e.status>0?(_.remove(a.gridOptions.data,{id:b}),d.show(c.instant("MESSAGE_WELL_DONE"),"success")):d.show(e.message||"Please, check your connection!","danger")})["catch"](function(a){d.show(a.message?a.message:a.data.message,"danger")})})}]),angular.module("xCallyShuttleApp").controller("MotionDialerProcessListCreateQueueCtrl",["$scope","$translate","$uibModalInstance","MotionDialerProcess","MotionDialerList","Trunk","VoiceQueue","Route","xAlert",function(a,b,c,d,e,f,g,h,i){a.form={},a.item={fetch_sort:"ASC",timeout:3},a.initModal=function(){return g.get().$promise.then(function(b){return a.queues={},b&&(a.queues=b.rows),f.get().$promise}).then(function(b){return a.trunks={},b&&(a.trunks=b.rows),a.trunks.push({name:"fake"}),e.list({page:1,size:6e5}).$promise}).then(function(b){a.lists={},b.status>0?a.lists=b.response.RMI.rows:i.show("Please, check your connection!","danger")})["catch"](function(a){i.show(a.message?a.message:a.data.message,"danger")})},a.save=function(){console.log(a.item);var e="process_"+a.item.name+"_queue_"+a.item.queue.name+"_"+Math.round(1e5*Math.random()),f="Generated by Motion Dialer, Process Queue"+(a.item.description?", "+a.item.description:"");return h.save({appdata:"Internal Call",context:"from-sip",exten:e.replace(/\s/g,"_"),type:"internal",description:f,Applications:[{appdata:["QUEUE_PRIO=99"],app:"Set",interval:"*,*,*,*",type:"internal"},{appdata:[a.item.queue.name,"","","",a.item.timeout],app:"Queue",interval:"*,*,*,*",type:"internal"}]}).$promise.then(function(b){return console.log(b),d.insert({name:a.item.name,id_list:a.item.list.id,queue:a.item.queue.name,device:a.item.device.name,context:"from-sip",extension:e.replace(/\s/g,"_"),description:a.item.description,auto_closed:!0,fetch_sort:a.item.fetch_sort}).$promise}).then(function(a){a.status>0?(i.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)):i.show(a.message||"Please, check your connection!","danger")})["catch"](function(a){i.show(a.message?a.message:a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").controller("MotionDialerProcessListCreateSquareCtrl",["$scope","$translate","$uibModalInstance","MotionDialerProcess","MotionDialerList","SquareProject","Trunk","Route","xAlert",function(a,b,c,d,e,f,g,h,i){a.form={},a.item={fetch_sort:"ASC"},a.initModal=function(){return f.get().$promise.then(function(b){return a.projects={},b&&(a.projects=b.rows),g.get().$promise}).then(function(b){return a.trunks={},b&&(a.trunks=b.rows),a.trunks.push({name:"fake"}),e.list({page:1,size:6e5}).$promise}).then(function(b){a.lists={},b.status>0?a.lists=b.response.RMI.rows:i.show("Please, check your connection!","danger")})["catch"](function(a){i.show(a.message?a.message:a.data.message,"danger")})},a.save=function(){console.log(a.item);var e="process_"+a.item.name+"_square_"+a.item.project.name+"_"+Math.round(1e5*Math.random()),f="Generated by Motion Dialer, Process Square"+(a.item.description?", "+a.item.description:"");return h.save({appdata:"Internal Call",context:"from-sip",exten:e.replace(/\s/g,"_"),type:"internal",description:f,Applications:[{appdata:["agi://127.0.0.1/square",a.item.project.name],app:"AGI",interval:"*,*,*,*",type:"internal"}]}).$promise.then(function(b){return console.log(b),d.insert({name:a.item.name,id_list:a.item.list.id,queue:"none",device:a.item.device.name,context:"from-sip",extension:e.replace(/\s/g,"_"),description:a.item.description,auto_closed:!0,channel_limit:15,fetch_sort:a.item.fetch_sort}).$promise}).then(function(a){a.status>0?(i.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)):i.show(a.message||"Please, check your connection!","danger")})["catch"](function(a){i.show(a.message?a.message:a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.motiondialer.processes.list",{url:"/list",templateUrl:"app/motiondialer/process/list/list.html",controller:"MotionDialerProcessListCtrl",authenticate:!0})}]),angular.module("xCallyShuttleApp").factory("MotionDialerProcess",["$resource",function(a){return a("/api/rest/process/:controller",null,{list:{method:"POST",params:{controller:"list"}},insert:{method:"POST",params:{controller:"insert"}},"delete":{method:"POST",params:{controller:"delete"}},find:{method:"POST",params:{controller:"find"}},update:{method:"POST",params:{controller:"update"}}})}]),angular.module("xCallyShuttleApp").factory("MotionDialerSpooler",["$resource",function(a){return a("/api/rest/spooler/:controller/:retrieve",null,{list:{method:"POST",params:{controller:"list"}},"delete":{method:"POST",params:{controller:"delete"}},find:{method:"POST",params:{controller:"find"}},summary:{method:"POST",params:{controller:"summary"}},close:{method:"POST",params:{controller:"retrieve",retrieve:"close"}},open:{method:"POST",params:{controller:"retrieve",retrieve:"open"}},blacklist:{method:"POST",params:{controller:"retrieve",retrieve:"blacklist"}},planning:{method:"POST",params:{controller:"retrieve",retrieve:"planning"}}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.motiondialer.processes",{url:"/processes",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("MotionDialerProcessViewCtrl",["$scope","$translate","$stateParams","$uibModal","xAlert","uiGridConstants","usSpinnerService","MotionDialerProcess","MotionDialerSpooler","Modal","VoiceQueue",function(a,b,c,d,e,f,g,h,i,j,k){a.process={},a.techs=["SIP","IAX","LOCAL","KHOMP"],a.dialFormats=["tech/device/number","tech/number@device"],a.checkDuplicates=["ALWAYS","IFOPEN","NO"],a.codecs=["g729","ilbc","gsm","ulaw","alaw"],a.getProcess=function(){return h.find({id:parseInt(c.id)}).$promise.then(function(b){console.log(b),b.status>0?(b.response.RMI.codecs=b.response.RMI.codecs.split(","),a.process=b.response.RMI):e.show(b.message||"Please, check your connection!","danger")})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})},a.getSummary=function(){return i.summary({id_process:parseInt(c.id)}).$promise.then(function(b){if(b.status>0){a.summary=b.response.RMI.totals,a.total=0;for(var c=0;c0?(c.response.RMI.codecs=c.response.RMI.codecs.split(","),a.process=c.response.RMI,e.show(b.instant("MESSAGE_WELL_DONE"),"success")):c.response.RMI.errors.forEach(function(a){a?e.show(a.field+": "+a.error,"danger"):e.show("Please, check your connection!","danger")})})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})},a.getSpooler=function(){return a.gridOptions={paginationPageSizes:[10,25,50,75],paginationPageSize:10,enableFiltering:!0,enableSorting:!0,enableGridMenu:!0,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,headerCellFilter:"translate",columnDefs:[{name:"name"},{name:"phones"},{name:"retrieve",filter:{type:f.filter.SELECT,selectOptions:[{value:"PLANNED_PEER",label:"PLANNED PEER"},{value:"PLANNED",label:"PLANNED"},{value:"BLACK_LIST",label:"BLACKLIST"},{value:"OPEN",label:"OPEN"},{value:"CLOSED",label:"CLOSED"},{value:"MAX_ATTEMPTS",label:"MAX ATTEMPTS"},{value:"COUNTER_BLOCK",label:"COUNTER BLOCK"},{value:"PLANNED_REQUEST",label:"PLANNED REQUEST"},{value:"DELETE",label:"DELETE"}]}},{name:"counter",enableFiltering:!1},{name:"updatedtime",enableFiltering:!1},{name:"action",cellTemplate:'',enableSorting:!1,cellClass:"ui-grid-vcenter",enableFiltering:!1}]},i.list({id_process:parseInt(c.id),page:1,size:6e5}).$promise.then(function(b){b.status>0?a.gridOptions.data=b.response.RMI.rows:e.show(b.message||"Please, check your connection!","danger")})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})["finally"](function(){g.stop("spinner-grid")})},a.deleteSpooler=j.confirm["delete"](function(c){return i["delete"]({id:c}).$promise.then(function(d){d.status>0?(_.remove(a.gridOptions.data,{id:c}),e.show(b.instant("MESSAGE_WELL_DONE"),"success")):e.show(d.message||"Please, check your connection!","danger")})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})}),a.historySpooler=function(b){var c=d.open({animation:!0,templateUrl:"app/motiondialer/process/view/view.spooler.history.modal.html",controller:"MotionDialerViewSpoolerHistoryCtrl",resolve:{historySpooler:function(){return b}}});c.result.then(function(b){a.gridOptions.data.push(b.response.RMI)})},a.initSettings=function(){return a.queues=null,k.get().$promise.then(function(b){b&&(a.queues=b.rows,a.process.queue&&"none"!==a.process.queue&&(a.queue=_.find(b.rows,{name:a.process.queue})))})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})},a.createInterval=function(b){var c=d.open({animation:!0,templateUrl:"app/motiondialer/process/view/view.create.interval.modal.html",controller:"MotionDialerViewCreateIntervalCtrl",resolve:{objectProcess:function(){return a.process},intervalType:function(){return b},intervalValue:function(){return b?"8:00-20:00|MON-FRI|*|*":"00:01-07:59|SAT-SUN|*|*"}}});c.result.then(function(b){a.process=b})},a.editInterval=function(b,c){var e=d.open({animation:!0,templateUrl:"app/motiondialer/process/view/view.create.interval.modal.html",controller:"MotionDialerViewCreateIntervalCtrl",resolve:{objectProcess:function(){return a.process},intervalType:function(){return b},intervalValue:function(){return c}}});e.result.then(function(b){a.process=b})},a.deleteInterval=j.confirm["delete"](function(c,d){var f={id:a.process.id};return d?(f.intervals=[],f.intervals=f.intervals.concat(a.process.intervals),f.intervals.splice(c,1)):(f.not_intervals=[],f.not_intervals=f.not_intervals.concat(a.process.not_intervals),f.not_intervals.splice(c,1)),h.update(f).$promise.then(function(c){c.status>0?(c.response.RMI.codecs=c.response.RMI.codecs.split(","),a.process=c.response.RMI,e.show(b.instant("MESSAGE_WELL_DONE"),"success")):c.response.RMI.errors.forEach(function(a){a?e.show(a.field+": "+a.error,"danger"):e.show("Please, check your connection!","danger")})})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})}),a.runOrStop=function(){var b=d.open({animation:!0,templateUrl:"app/motiondialer/process/view/view.run.process.modal.html",controller:"MotionDialerViewRunProcessCtrl",resolve:{statusProcess:function(){return a.process.status}}});b.result.then(function(b){a.process.status=b.status})}}]),angular.module("xCallyShuttleApp").controller("MotionDialerViewCreateIntervalCtrl",["$scope","$translate","$uibModalInstance","$stateParams","MotionDialerProcess","xAlert","objectProcess","intervalType","intervalValue","interval",function(a,b,c,d,e,f,g,h,i,j){function k(a){var b,c=a.split("|"),d={};return c.forEach(function(a,c){switch(c){case 0:"*"!==a?(b=a.split("-"),d.t_from=moment(b[0],"HH:mm"),d.t_to=moment(b[1],"HH:mm"),d.alwaysTime=!1):(d.t_from=moment(new Date),d.t_to=moment(new Date),d.alwaysTime=!0);break;case 1:"*"!==a?(b=a.split("-"),d.wd_from=b[0].toLowerCase(),d.wd_to=b[1]?b[1].toLowerCase():"always"):(d.wd_from="always",d.wd_to="always");break;case 2:"*"!==a?(b=a.split("-"),d.md_from=b[0],d.md_to=b[1]?b[1]:"always"):(d.md_from="always",d.md_to="always");break;case 3:"*"!==a?(b=a.split("-"),d.m_from=b[0],d.m_to=b[1]?b[1]:"always"):(d.m_from="always",d.m_to="always")}}),d}function l(a){var b,c,d,e;return b=a.t_from&&a.t_to&&!a.alwaysTime?moment(a.t_from).format("HH:mm")+"-"+moment(a.t_to).format("HH:mm"):"*",a.wd_from&&"always"!==a.wd_from?(c=a.wd_from.toUpperCase(),a.wd_to&&"always"!==a.wd_to&&(c+="-"+a.wd_to.toUpperCase())):c="*",a.md_from&&"always"!==a.md_from?(d=a.md_from,a.md_to&&"always"!==a.md_to&&(d+="-"+a.md_to)):d="*",a.m_from&&"always"!==a.m_from?(e=a.m_from,a.m_to&&"always"!==a.m_to&&(e+="-"+a.m_to)):e="*",b+"|"+c+"|"+d+"|"+e}a.form={},a.$interval=j.interval,a.splittedInterval=k(i),a.save=function(){var d=l(a.splittedInterval);console.log(d);var i={id:g.id};return h?(i.intervals=[],i.intervals=i.intervals.concat(g.intervals),i.intervals.push(d)):(i.not_intervals=[],i.not_intervals=i.not_intervals.concat(g.not_intervals),i.not_intervals.push(d)),console.log(i),e.update(i).$promise.then(function(a){a.status>0?(a.response.RMI.codecs=a.response.RMI.codecs.split(","),f.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a.response.RMI)):a.response.RMI.errors.forEach(function(a){a?f.show(a.field+": "+a.error,"danger"):f.show("Please, check your connection!","danger")})})["catch"](function(a){f.show(a.message?a.message:a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.motiondialer.processes.view",{url:"/view/:id",templateUrl:"app/motiondialer/process/view/view.html",controller:"MotionDialerProcessViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.motiondialer.processes.view.overview",{url:"/overview",templateUrl:"app/motiondialer/process/view/view.overview.html"}).state("main.motiondialer.processes.view.settings",{url:"/settings",templateUrl:"app/motiondialer/process/view/view.settings.html"}).state("main.motiondialer.processes.view.intervals",{url:"/intervals",templateUrl:"app/motiondialer/process/view/view.intervals.html"}).state("main.motiondialer.processes.view.spooler",{url:"/spooler",templateUrl:"app/motiondialer/process/view/view.spooler.html"})}]),angular.module("xCallyShuttleApp").controller("MotionDialerViewRunProcessCtrl",["$scope","$stateParams","$uibModalInstance","$translate","statusProcess","MotionDialerProcess","xAlert",function(a,b,c,d,e,f,g){a.status="RUN"===e?"STOP":"RUN",a.yes=function(){f.update({id:parseInt(b.id),status:a.status}).$promise.then(function(a){a.status>0?(g.show(d.instant("MESSAGE_WELL_DONE"),"success"),c.close(a.response.RMI)):g.show(a.message||"Please, check your connection!","danger")})["catch"](function(a){g.show(a.message?a.message:a.data.message,"danger")})},a.no=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").controller("MotionDialerViewSpoolerHistoryCtrl",["$scope","$translate","$uibModalInstance","$stateParams","MotionDialerSpooler","xAlert","historySpooler",function(a,b,c,d,e,f,g){a.historySpooler=g,a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").controller("SalesforceListCtrl",["$scope","SalesforceAccount","gridOptions","xAlert","$translate",function(a,b,c,d,e){a.initView=function(){var d={exporterCsvFilename:"salesforce_account.csv",columnDefs:[{name:"name",displayName:"APPLICATION_NAME"},{name:"username"},{name:"remoteUri",displayName:"APPLICATION_URI"},{name:"action",buttons:[{"class":"blue-hoki",href:"/salesforce/view/{{row.entity.id}}/account",name:"account"},{"class":"green-jungle",name:"check",displayName:"APPLICATION_CHECK",onClick:"grid.appScope.checkAccount(row.entity.id)"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,d,a)},a.checkAccount=function(a){return b.check({id:a}).$promise.then(function(){d.show(e.instant("MESSAGE_ACCOUNT_VERIFIED"),"success")})["catch"](function(){d.show(e.instant("MESSAGE_ACCOUNT_INVALID"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.salesforce.list",{url:"/list",templateUrl:"app/salesforce/list/list.html",controller:"SalesforceListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").factory("SalesforceAccount",["$resource",function(a){return a("/api/salesforce/accounts/:id/:controller",{id:"@id"},{update:{method:"PUT"},fields:{params:{controller:"fields"},isArray:!0},check:{params:{controller:"check"}}})}]).factory("SalesforceConfiguration",["$resource",function(a){return a("/api/salesforce/accounts/:accountId/configurations/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]).factory("SalesforceField",["$resource",function(a){return a("/api/salesforce/accounts/:accountId/configurations/:configurationId/fields/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.salesforce",{url:"/salesforce",template:"
","abstract":!0,data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.salesforce.view.configurations",{url:"/configurations",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("SalesforceViewConfigurationListCtrl",["$scope","$stateParams","$translate","gridOptions","SalesforceConfiguration","$uibModal",function(a,b,c,d,e,f){a.initView=function(){var c={exporterCsvFilename:"salesforce_configurations.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/salesforce/view/{{row.entity.AccountId}}/configurations/view/{{row.entity.id}}",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=d.gridOptions(e,c,a,{accountId:b.id})},a.createItem=function(){var b=f.open({animation:!0,templateUrl:"app/salesforce/view/configuration/list/create.modal.html",controller:"SalesforceCreateConfigurationCtrl"});b.result.then(function(){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("SalesforceCreateConfigurationCtrl",["$scope","$translate","$uibModalInstance","SalesforceConfiguration","xAlert","$stateParams","channel",function(a,b,c,d,e,f,g){a.form={},a.item={},a.channels=g,a.item.channel="voice",a.save=function(){return d.save({accountId:f.id},a.item).$promise.then(function(a){e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){e.error(a)})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.salesforce.view.configurations.list",{url:"/list",templateUrl:"app/salesforce/view/configuration/list/list.html",controller:"SalesforceViewConfigurationListCtrl"})}]),angular.module("xCallyShuttleApp").controller("SalesforceViewConfigurationViewCtrl",["$scope","$filter","$stateParams","$translate","socket","variable","xAlert","SalesforceAccount","SalesforceConfiguration","SalesforceField","Variable",function(a,b,c,d,e,f,g,h,i,j,k){a.$on("$destroy",function(){e.unsyncUpdates("salesforce_field")}),a.config={autoHideScrollbar:!1,theme:"dark",advanced:{updateOnContentResize:!0},setHeight:300,scrollInertia:0},a.fieldType=[{type:"string",title:"String"},{type:"variable",title:"Variable"},{type:"customVariable",title:"Custom Variable"}],a.descFieldType=[{type:"string",title:"String"},{type:"keyValue",title:"Key Value"}],a.groupVariableByGroup=function(a){switch(a.group){case"voice_queue":return"Voice: Queue";default:return"Other"}},a.initView=function(){a.configurationName="",a.subjectConfig=[],a.descriptionConfig=[],a.fieldConfig=[],a.variables=f},a.getConfiguration=function(){return i.get({accountId:c.id,id:c.configurationId}).$promise.then(function(b){a.configurationName=b.name,a.subjectConfig=b.Subject,a.descriptionConfig=b.Description,a.fieldConfig=b.Field,e.socket.on("salesforce_field:remove",function(b){_.remove(a.subjectConfig,{id:b.id}),_.remove(a.descriptionConfig,{id:b.id}),_.remove(a.fieldConfig,{id:b.id})})})["catch"](function(a){g.error(a)})},a.getCustomVariables=function(){return k.get().$promise.then(function(b){a.customVariables=b.rows})["catch"](function(a){g.error(a)})},a.getFields=function(){return h.fields({id:c.id}).$promise.then(function(c){a.accountFields=_.sortByOrder(b("salesforce")(c),"name","asc"),console.log(a.accountFields)})["catch"](function(a){g.error(a)})},a.addItem=function(b){var d={};switch(b){case"subject":case"description":d={type:"string",content:""};break;case"field":d={content:""}}return i.save({accountId:c.id,id:c.configurationId,controller:b},d).$promise.then(function(c){switch(b){case"subject":a.subjectConfig.push(c);break;case"description":a.descriptionConfig.push(c);break;case"field":a.fieldConfig.push(c)}})["catch"](function(a){g.error(a)})},a.changeType=function(b){"variable"===b.type?(b.content="",b.variableName=""):"string"===b.type?(b.VariableId=null,b.variableName=""):"customVariable"===b.type&&(b.VariableId=null,b.content=""),a.updateField(b)},a.updateField=function(a){return j.update({accountId:c.id,configurationId:c.configurationId,id:a.id},a).$promise.then(function(){})["catch"](function(a){g.error(a)})},a.removeItem=function(a){return j["delete"]({accountId:c.id,configurationId:c.configurationId,id:a.id}).$promise.then(function(){g.show(d.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){g.error(a)})},a.changeDescType=function(b){"keyValue"===b.type?(b.content="","string"===b.keyType?(b.VariableId=null,b.variableName=""):"variable"===b.keyType?(b.keyContent="",b.VariableId=null):"customVariable"===b.keyType&&(b.keyContent="",b.variableName="")):"string"===b.type&&(b.VariableId=null,b.variableName="",b.key="",b.keyContent=""),a.updateField(b)},a.getSystemFieldOptions=function(b){if(b){var c=_.find(a.accountFields,"name",b);if(c)switch(c.type){case"picklist":return c.picklistValues;default:return}}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.salesforce.view.configurations.view",{url:"/view/:configurationId",templateUrl:"app/salesforce/view/configuration/view/view.html",controller:"SalesforceViewConfigurationViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("SalesforceViewCtrl",["$scope","$http","$stateParams","$translate","$location","WizardHandler","socket","xAlert","Modal","$filter","SalesforceAccount",function(a,b,c,d,e,f,g,h,i,j,k){a.initView=function(){return k.get({id:c.id}).$promise.then(function(b){a.account=b})["catch"](function(a){h.error(a)})},a.updateItem=function(){return k.update({ +id:c.id},a.account).$promise.then(function(){h.show(d.instant("MESSAGE_WELL_DONE")+".","success")})["catch"](function(a){h.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.salesforce.view",{url:"/view/:id",templateUrl:"app/salesforce/view/view.html",controller:"SalesforceViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.salesforce.view.account",{url:"/account",templateUrl:"app/salesforce/view/view.account.html"})}]),angular.module("xCallyShuttleApp").controller("SalesforceWizardCtrl",["$scope","$http","$location","$translate","xAlert","WizardHandler",function(a,b,c,d,e,f){a.translate=d,a.initWizard=function(){a.$translate=d,a.forms={},a.item={}},a.next=function(){f.wizard().next()},a.exitValidation=function(a){return a},a.createItem=function(){console.log(a.item),b.post("api/salesforce/accounts",a.item).success(function(){e.show(d.instant("MESSAGE_WELL_DONE")+".","success"),c.path("/salesforce/list")}).error(function(a){e.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.salesforce.wizard",{url:"/wizard",templateUrl:"app/salesforce/wizard/wizard.html",controller:"SalesforceWizardCtrl"})}]),angular.module("xCallyShuttleApp").factory("License",["$resource",function(a){return a("/api/licenses/:id/:controller",{id:"@id"},{request:{method:"POST",params:{id:"request"}}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.license",{url:"/license",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("LicenseUpdateCtrl",["$scope","$translate","$uibModalInstance","xAlert","Setting",function(a,b,c,d,e){a.form={},a.item={},a.getLicense=function(){return e.get({id:1}).$promise.then(function(b){a.item.license=b.license})["catch"](function(a){d.show(a.data.message,"danger")})},a.update=function(){return e.update({id:1},a.item).$promise.then(function(a){d.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){d.show(a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").controller("LicenseViewCtrl",["$scope","$rootScope","$translate","License","xAlert","$window","$uibModal",function(a,b,c,d,e,f,g){a.initView=function(){return d.get(function(b){a.item=b.license})},a.submitRequest=function(){return d.request(a.item,function(){e.show(c.instant("MESSAGE_WELL_DONE"),"success")},function(a){switch(a.status){case 304:e.show(a.statusText,"info");break;default:e.show(a.statusText,"danger")}})},a.updateLicense=function(){var a=g.open({animation:!0,templateUrl:"app/setting/license/view/update.modal.html",controller:"LicenseUpdateCtrl"});a.result.then(function(){f.location.reload()})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.license.view",{url:"/view",templateUrl:"app/setting/license/view/view.html",controller:"LicenseViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/pricing-tables.css"]}])}]}})}]),angular.module("xCallyShuttleApp").factory("Externip",["$resource",function(a){return a("/api/network/externips/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("Localnet",["$resource",function(a){return a("/api/network/localnets/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.network",{url:"/network",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ExternipCtrl",["$scope","$uibModal","gridOptions","Externip",function(a,b,c,d){a.initView=function(){var b={exporterCsvFilename:"network_externip.csv",columnDefs:[{name:"value"},{name:"action",buttons:[{"class":"blue-hoki",onClick:"grid.appScope.createItem(row.entity)",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(d,b,a)},a.createItem=function(c){var d=b.open({animation:!0,templateUrl:"app/setting/network/view/externip/externip.create.modal.html",controller:"ExternipCreateCtrl",resolve:{item:c}});d.result.then(function(){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("ExternipCreateCtrl",["$scope","$translate","$uibModalInstance","$stateParams","Externip","xAlert","item",function(a,b,c,d,e,f,g){a.initModal=function(){a.form={},a.item=g||{},a.title=g?b.instant("APPLICATION_EDIT_EXTERNIP"):b.instant("APPLICATION_NEW_EXTERNIP")},a.save=function(){return g?e.update({id:a.item.id},a.item).$promise.then(function(a){f.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){f.error(a)}):e.save({},a.item).$promise.then(function(a){f.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){f.error(a)})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.network.view.externip",{url:"/externip",templateUrl:"app/setting/network/view/externip/externip.html",controller:"ExternipCtrl"})}]),angular.module("xCallyShuttleApp").controller("LocalnetCtrl",["$scope","gridOptions","Localnet","$uibModal",function(a,b,c,d){a.initView=function(){var d={exporterCsvFilename:"network_localnet.csv",columnDefs:[{name:"value"},{name:"action",buttons:[{"class":"blue-hoki",onClick:"grid.appScope.createItem(row.entity)",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=b.gridOptions(c,d,a)},a.createItem=function(b){var c=d.open({animation:!0,templateUrl:"app/setting/network/view/localnet/localnet.create.modal.html",controller:"LocalnetCreateCtrl",resolve:{item:b}});c.result.then(function(){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("LocalnetCreateCtrl",["$scope","$translate","$uibModalInstance","$stateParams","Localnet","xAlert","item",function(a,b,c,d,e,f,g){a.initModal=function(){if(a.form={},a.item=g||{},a.title=g?b.instant("APPLICATION_EDIT_LOCALNET"):b.instant("APPLICATION_NEW_LOCALNET"),g&&g.value){var c=a.item.value.split("/");c.length>1&&(a.item.address=c[0],a.item.mask=c[1])}},a.save=function(){var d=a.item.address+"/"+a.item.mask;return g?e.update({id:a.item.id},{value:d}).$promise.then(function(a){f.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){f.error(a)}):e.save({},{value:d}).$promise.then(function(a){f.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){f.error(a)})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.network.view.localnet",{url:"/localnet",templateUrl:"app/setting/network/view/localnet/localnet.html",controller:"LocalnetCtrl"})}]),angular.module("xCallyShuttleApp").controller("NetworkViewCtrl",["$scope","gridOptions","Localnet","Externip",function(a,b,c,d){a.initView=function(){var d={exporterCsvFilename:"network_localnet.csv",columnDefs:[{name:"value"},{name:"action",buttons:[{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=b.gridOptions(c,d,a)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.network.view",{url:"/view",templateUrl:"app/setting/network/view/view.html",controller:"NetworkViewCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting",{url:"/setting",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:18}}})}]),angular.module("xCallyShuttleApp").factory("Setting",["$resource",function(a){return a("/api/settings/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("Smtp",["$resource",function(a){return a("/api/mail/servers/out/:id/:controller",{id:"@id"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.smtp",{url:"/smtp",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("SmtpViewCtrl",["$scope","$stateParams","$translate","socket","MailServerOut","Setting","MailAccount","xAlert","usSpinnerService",function(a,b,c,d,e,f,g,h,i){a.initMailAccounts=function(){return e.query().$promise.then(function(b){a.servers=b})["catch"](function(a){h.show(a.message,"danger")})},a.initView=function(){a.smtpDisabled=!1,a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.CONST_TIMEOUT=3e4,a.item={type:"custom",account:{ssl:!1}},e.get({id:"service"}).$promise.then(function(b){b&&(a.item.account=b,d.socket.on("mail_server_out:state",function(b){if(b.id===a.item.account.id)switch(a.item.account.state=b.state,a.item.account.source=JSON.parse(b.source),b.state){case"CONNECTING":break;default:i.stop("spinner-grid"),a.smtpDisabled=!1}}),a.item.account.MailAccountId?a.item.type="account":(a.item.type="custom",a.item.account.ssl=!1))})["catch"](function(a){h.show(a.message,"danger")})},a.updateItem=function(){return a.item.account.service=!0,a.item.account.id?f.update({id:"smtp",controller:a.item.account.id},a.item.account).$promise.then(function(){h.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.show(a.message,"danger")}):f.save({id:"smtp"},a.item.account).$promise.then(function(b){a.item.account=b,h.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.show(a.message,"danger")})},a.test=function(){return i.spin("spinner-grid"),a.smtpDisabled=!0,e.update({id:a.item.account.id},{state:"CONNECTING"}).$promise["catch"](function(a){console.error(a)})["finally"](function(){i.stop("spinner-grid")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.smtp.view",{url:"/view",templateUrl:"app/setting/smtp/view/view.html",controller:"SmtpViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("UpdateListCtrl",["$scope","gridOptions","$uibModal","$location","Update",function(a,b,c,d,e){a.initCounter=function(){a.$on("timer-stopped",function(a,b){console.log("Timer Stopped - data = ",b),d.path("/dashboard/voice")})},a.initView=function(){var c={exporterCsvFilename:"updates.csv",enableFiltering:!1,enableSorting:!1,enablePaginationControls:!1,enableSelectAll:!1,columnDefs:[{name:"message"},{width:125,name:"version",cellClass:"text-center ui-grid-vcenter"},{width:125,name:"createdAt",displayName:"APPLICATION_UPDATED_AT",cellClass:"text-center ui-grid-vcenter",cellTemplate:'
'}]};a.gridOptions=b.gridOptions(e,c,a)},a.pull=function(){c.open({animation:!0,templateUrl:"app/setting/update/list/list.pull.html",controller:"UpdateListPullCtrl"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.updates.list",{url:"/list",templateUrl:"app/setting/update/list/list.html",controller:"UpdateListCtrl"}).state("main.setting.updates.landing",{url:"/landing",templateUrl:"app/setting/update/list/landing.html",controller:"UpdateListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/error.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("UpdateListPullCtrl",["$scope","$uibModalInstance","$translate","$location","Update",function(a,b,c,d,e){a.modal={dismissable:!0,title:"Confirm Checkout",html:"Are you sure you want to checkout?",buttons:[{classes:"btn btn-success",text:"Checkout",click:function(){return e.pull().$promise["finally"](function(){b.dismiss("close"),d.path("/setting/updates/landing")})}},{classes:"btn default",text:"Cancel",click:function(){b.dismiss("cancel")}}]}}]),angular.module("xCallyShuttleApp").factory("Update",["$resource",function(a){return a("/api/updates/:id/:controller",{id:"@id"},{pull:{method:"GET",params:{id:"pull"}}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.updates",{url:"/updates",template:"
","abstract":!0,data:{permissions:{only:["hasUpdate"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").controller("SquareOdbcListCtrl",["$scope","$uibModal","$translate","SquareOdbc","gridOptions","xAlert",function(a,b,c,d,e,f){a.initView=function(){var b={exporterCsvFilename:"odbc.csv",columnDefs:[{name:"name"},{name:"dsn",displayName:"APPLICATION_ODBC"},{name:"description"},{name:"action",width:250,buttons:[{"class":"blue-hoki",href:"/square/odbc/view/{{row.entity.id}}/settings",name:"settings"},{"class":"green-jungle",name:"check",displayName:"APPLICATION_CHECK",onClick:"grid.appScope.checkConnection(row.entity.id)"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=e.gridOptions(d,b,a)},a.createItem=function(){var c=b.open({animation:!0,templateUrl:"app/square/odbc/list/list.create.modal.html",controller:"SquareOdbcListCreateCtrl"});c.result.then(function(){a.gridOptions.getPage()})},a.checkConnection=function(a){return d.get({id:a,controller:"check"}).$promise.then(function(){f.show(c.instant("MESSAGE_CONNECTION_VERIFIED"),"success")})["catch"](function(){f.show(c.instant("MESSAGE_CONNECTION_INVALID"),"danger")})}}]),angular.module("xCallyShuttleApp").controller("SquareOdbcListCreateCtrl",["$scope","$translate","$uibModalInstance","SquareOdbc","xAlert",function(a,b,c,d,e){a.form={},a.item={},a.item.dsn||(a.item.dsn="DRIVER=MySQL;SERVER=127.0.0.1;UID=xcall;PWD=password;DATABASE=motion"),a.save=function(){return d.save(a.item).$promise.then(function(a){e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){e.show(a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.odbc.list",{url:"/list",templateUrl:"app/square/odbc/list/list.html",controller:"SquareOdbcListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.odbc",{url:"/odbc",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("SquareOdbc",["$resource",function(a){return a("/api/square/odbc/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("SquareOdbcViewCtrl",["$scope","$translate","$stateParams","SquareOdbc","xAlert",function(a,b,c,d,e){a.odbc={},a.getOdbc=function(){return d.get({id:c.id}).$promise.then(function(b){a.odbc=b})["catch"](function(a){e.show(a.data.message,"danger")})},a.updateOdbc=function(){var f=angular.copy(a.odbc);return d.update({id:c.id},f).$promise.then(function(){e.show(b.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){e.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.odbc.view",{url:"/view/:id",templateUrl:"app/square/odbc/view/view.html",controller:"SquareOdbcViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.square.odbc.view.settings",{url:"/settings",templateUrl:"app/square/odbc/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("SquareProjectListCtrl",["$scope","$uibModal","SquareProject","gridOptions",function(a,b,c,d){a.initView=function(){var b={exporterCsvFilename:"projects.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:160,buttons:[{"class":"blue-hoki",href:"/square/projects/view/{{row.entity.id}}",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=d.gridOptions(c,b,a)},a.createItem=function(){var c=b.open({animation:!0,templateUrl:"app/square/project/list/list.create.modal.html",controller:"SquareProjectListCreateCtrl"});c.result.then(function(b){console.log(b),a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("SquareProjectListCreateCtrl",["$scope","$translate","$uibModalInstance","SquareProject","xAlert",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return d.save(a.item).$promise.then(function(a){e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){e.show(a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.projects.list",{url:"/list",templateUrl:"app/square/project/list/list.html",controller:"SquareProjectListCtrl",authenticate:!0})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.projects",{url:"/projects",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("SquareProject",["$resource",function(a){return a("/api/square/projects/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("SquareProjectViewCtrl",["$scope","$stateParams","Auth","xAlert","SquareProject",function(a,b,c,d,e){a.squareProject={},a.getProject=function(){return e.get({id:b.id}).$promise.then(function(b){a.squareProject=b,angular.element(document).ready(function(){window.onerror=function(a,b,c){try{if(null!==a&&-1!==a.indexOf("Script error."));else{var e=new Image;e.src="assets/plugins/mxgraph/images/1x1.png?msg="+encodeURIComponent(a)+"&url="+encodeURIComponent(b)+"&lnum="+encodeURIComponent(c)}}catch(f){d.show(f,"danger")}},b.token=c.getToken();var a=new EditorUi(new Editor);a.openString(b.preproduction,b.name,b),a.editor.graphChangeListener=function(a,b){var c=b.properties.rtChange||!1;c||(this.modified=!0)}})})["catch"](function(a){d.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.projects.view",{url:"/view/:id",templateUrl:"app/square/project/view/view.html",controller:"SquareProjectViewCtrl",authenticate:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",serie:!0,cache:!1,files:["assets/plugins/mxgraph/css/common.css","assets/plugins/mxgraph/css/explorer.css","assets/plugins/mxgraph/styles/grapheditor.css","assets/plugins/mxgraph/styles/custom.css","assets/plugins/square/js/custom.js","assets/plugins/mxgraph/js/mxClient.js","assets/plugins/square/js/Editor.js","assets/plugins/square/js/Graph.js","assets/plugins/square/js/EditorUi.js","assets/plugins/square/js/Actions.js","assets/plugins/square/js/Menus.js","assets/plugins/square/js/Sidebar.js","assets/plugins/square/js/Toolbar.js","assets/plugins/square/js/Dialogs.js"]}])}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.realtime",{url:"/realtime",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:14}}})}]),angular.module("xCallyShuttleApp").factory("ReportSquare",["$resource",function(a){return a("/api/report/square/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ReportSquareDetail",["$resource",function(a){return a("/api/report/square/details/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("SquareRealtimeViewGeneralCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","ReportSquare","usSpinnerService","$q","uiGridConstants",function(a,b,c,d,e,f,g,h,i,j){function k(b){return h.spin("spinner-grid"),g.get(m).$promise.then(function(b){a.gridOptions.totalItems=b.count,a.gridOptions.data=b.rows})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){b&&l(),h.stop("spinner-grid")})}function l(){e.socket.on("report_square:save",function(b){if(b.leaveAt){var c=_.remove(a.gridOptions.data,{id:b.id});c&&k()}else{var d=_.find(a.gridOptions.data,{id:b.id});if(!d&&a.gridOptions.data.length{{hhours}}:{{mminutes}}:{{sseconds}}
',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1}],data:[],gridMenuTitleFilter:function(a){var b=i.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){n(a.gridApi.core.getVisibleRows(a.gridApi.grid).length)}),a.gridApi.core.on.sortChanged(a,function(a,b){0===b.length?m.order=null:m.order=b[0].name+" "+b[0].sort.direction.toUpperCase(),k()}),a.gridApi.pagination.on.paginationChanged(a,function(a,b){m.offset=(a-1)*b,m.limit=b,k()}),a.gridApi.core.on.filterChanged(a,function(){var a=this.grid;a.columns.forEach(function(a){a.filters[0].term?m[a.name]=a.filters[0].term:delete m[a.name]}),k()})}},k(!0)};var n=function(a){var b=a?30*a+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("report_square")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.realtime.view.general",{url:"/general",templateUrl:"app/square/realtime/view/general/general.html",controller:"SquareRealtimeViewGeneralCtrl"})}]),angular.module("xCallyShuttleApp").controller("SquareRealtimeViewCtrl",["$scope",function(a){}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.realtime.view",{url:"/view",templateUrl:"app/square/realtime/view/view.html",controller:"SquareRealtimeViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("SquareRecordingListCtrl",["$scope","SquareRecording","gridOptions",function(a,b,c){a.SquareRecording=b;a.initView=function(){var d={exporterCsvFilename:"recordings.csv",rowHeight:30,columnDefs:[{name:"uniqueid"},{name:"callerid",displayName:"APPLICATION_CALLERIDNUM"},{name:"filename"},{name:"extension"},{name:"projectName",displayName:"APPLICATION_PROJECT"},{name:"audio",displayName:"",width:225,enableSorting:!1,enableFiltering:!1,buttons:[{directive:''}]},{name:"action",width:150,buttons:[{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.filename || row.entity.uniqueid, row.entity.id)"},{directive:''}]}]};a.gridOptions=c.gridOptions(b,d,a)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.recordings.list",{url:"/list",templateUrl:"app/square/recording/list/list.html",controller:"SquareRecordingListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.recordings",{url:"/recordings",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("SquareRecording",["$resource",function(a){return a("/api/square/recordings/:id/:controller",{id:"@id"},{update:{method:"PUT"},patch:{method:"PATCH"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square",{url:"/square",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:14}}})}]),angular.module("xCallyShuttleApp").factory("Agent",["$resource",function(a){return a("/api/agents/:id/:controller/:controller1",{id:"@id"},{changePassword:{method:"PUT",params:{controller:"password"}},update:{method:"PUT"},patch:{method:"PATCH"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.agents",{url:"/agents",template:"
","abstract":!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:4}}})}]),angular.module("xCallyShuttleApp").controller("AgentListCtrl",["$scope","$timeout","Agent","Auth","gridOptions",function(a,b,c,d,e){a.initView=function(){a.Auth=d;var b={exporterCsvFilename:"agents.csv",columnDefs:[{name:"fullname"},{name:"name",displayName:"APPLICATION_USERNAME"},{name:"internal"},{name:"email"},{name:"description"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/staff/agents/view/{{row.entity.id}}/account",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.fullname, row.entity.id)"}]}]};a.gridOptions=e.gridOptions(c,b,a)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.agents.list",{url:"/list",templateUrl:"app/staff/agent/list/list.html",controller:"AgentListCtrl",data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:4}}})}]),angular.module("xCallyShuttleApp").controller("AgentViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","$cookieStore","Agent","FileUploader","Auth","User",function(a,b,c,d,e,f,g,h,i,j){a.Auth=i,a.radioSwitch={isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.recordSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"default",onColor:"success"},a.updatePassword=function(){var b={newPassword:a.agent.newPwd};return i.isAdmin()?b.id=e.id:b.oldPassword=a.agent.currentPwd,j.changePassword(b).$promise.then(function(){c.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){c.show(a.message,"danger")})};var k=a.uploader=new h({url:"api/users/"+e.id+"/avatar",queueLimit:1,withCredentials:!0,headers:{Authorization:"Bearer "+f.get("token")}});k.filters.push({name:"imageFilter",fn:function(a){var b="|"+a.type.slice(a.type.lastIndexOf("/")+1)+"|";return-1!=="|jpg|png|jpeg|".indexOf(b)}}),k.onSuccessItem=function(b,e){a.agent.userpic=e.userpic,a.agent.id===i.getCurrentUser().id&&(i.getCurrentUser().userpic=e.userpic),c.show(d.instant("MESSAGE_WELL_DONE"),"success")},k.onErrorItem=function(){c.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")},k.onCompleteAll=function(){k.clearQueue()},a.initView=function(){return g.get({id:e.id}).$promise.then(function(b){a.agent=b,a.agent.transport=a.agent.transport?a.agent.transport.split(","):[],a.agent.allow=a.agent.allow?a.agent.allow.split(";"):[],a.agent.nat=a.agent.nat?a.agent.nat.split(","):[]})["catch"](function(a){c.show(a.message,"danger")})},a.patchItem=function(){return g.update({id:e.id},{chatCapacity:a.agent.chatCapacity,mailCapacity:a.agent.mailCapacity,faxCapacity:a.agent.faxCapacity,smsCapacity:a.agent.smsCapacity}).$promise.then(function(){c.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){c.show(a.message,"danger")})},a.updateItem=function(){var b=angular.copy(a.agent);return delete b.password,delete b.md5secret,b.transport=b.transport.join(","),b.allow=b.allow.join(";"),b.nat=b.nat.join(","),g.update({id:e.id},b).$promise.then(function(){c.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){c.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.agents.view",{url:"/view/:id",templateUrl:"app/staff/agent/view/view.html",controller:"AgentViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]},data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:4}}}).state("main.staff.agents.view.account",{url:"/account",templateUrl:"app/staff/agent/view/view.account.html",data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:4}},resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/scripts/jquery.sparkline.min.js","assets/plugins/bootstrap-fileinput/bootstrap-fileinput.js","assets/scripts/profile.js"]})}]}}).state("main.staff.agents.view.voice",{url:"/voice",templateUrl:"app/staff/agent/view/view.voice.html",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:4}}}).state("main.staff.agents.view.chat",{url:"/chat",templateUrl:"app/staff/agent/view/view.chat.html",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:4}}}).state("main.staff.agents.view.mail",{url:"/mail",templateUrl:"app/staff/agent/view/view.mail.html",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:4}}}).state("main.staff.agents.view.fax",{url:"/fax",templateUrl:"app/staff/agent/view/view.fax.html",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:4}}}).state("main.staff.agents.view.sms",{url:"/sms",templateUrl:"app/staff/agent/view/view.sms.html",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:4}}}).state("main.staff.agents.view.motionbar",{url:"/motionbar",templateUrl:"app/staff/agent/view/view.motionbar.html",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:4}}})}]),angular.module("xCallyShuttleApp").controller("AgentWizardCtrl",["$scope","$rootScope","Agent","Setting","xAlert","$location","$translate","$http","WizardHandler",function(a,b,c,d,e,f,g,h,i){a.forms={info:void 0,voice:void 0},a.item={role:"agent",allow:["alaw","ulaw","gsm"],transport:["udp"],context:"from-sip"},a.next=function(){i.wizard().next()},a.exitValidation=function(a){return a},a.getFirstFreeInternal=function(){return d.get({controller:"internal"}).$promise.then(function(b){a.item.internal=b.value})["catch"](function(a){e.show(a.data.message,"danger")})},a.createItem=function(){var b=angular.copy(a.item);return b.transport&&(b.transport=b.transport.join(",")),a.item.allow&&(b.allow=b.allow.join(";")),c.save(b).$promise.then(function(){f.path("/staff/agents/list")})["catch"](function(a){console.log(a),e.show(a.message||a.data.message,"danger")})},a.createItems=function(){var b=[];a.item.transport&&(a.item.transport=a.item.transport.join(",")), +a.item.allow&&(a.item.allow=a.item.allow.join(";"));for(var d=0;d
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("TeamCreateCtrl",["$scope","$uibModalInstance","Team","xAlert",function(a,b,c,d){a.form={},a.item={},a.ok=function(){return c.save(a.item).$promise.then(function(){b.close(a.item)})["catch"](function(a){d.show(a.data.message,"danger")})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("TeamListCtrl",["$scope","Team","gridOptions","$uibModal",function(a,b,c,d){a.initView=function(){var d={exporterCsvFilename:"teams.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:125,buttons:[{"class":"{{row.entity.defaultEntry ? 'blue-hoki disabled' : 'blue-hoki'}}",href:"/staff/teams/view/{{row.entity.id}}/settings",name:"profile"},{"class":"{{row.entity.defaultEntry ? 'red-sunglo disabled' : 'red-sunglo'}}",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,d,a)},a.createItem=function(){d.open({animation:!0,templateUrl:"app/staff/team/list/create.modal.html",controller:"TeamCreateCtrl"}).result.then(function(){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.teams.list",{url:"/list",templateUrl:"app/staff/team/list/list.html",controller:"TeamListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Team",["$resource",function(a){return a("/api/teams/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.teams",{url:"/teams",template:"
","abstract":!0,data:{permissions:{only:["admin"],redirectTo:"landing"}}})}]),angular.module("xCallyShuttleApp").controller("TeamViewCtrl",["$scope","$http","$stateParams","$translate","Team","Agent","xAlert",function(a,b,c,d,e,f,g){var h=function(){return{select:function(b){return console.log("agents",b),e.save({id:a.team.id,controller:"agents"},{agents:b})},deselect:function(b){return e["delete"]({id:a.team.id,controller:"agents",agents:b})}}};a.initView=function(){return e.get({id:c.id}).$promise.then(function(b){a.team=b})["catch"](function(a){g.show(a.message,"danger")})},a.initAgents=function(){return f.get().$promise.then(function(b){return a.agents=b.rows,e.get({id:c.id,controller:"agents"}).$promise}).then(function(b){ComponentsDropdowns.bindTeam(_.map(b.rows,"id"),_.map(a.agents,function(a){return{id:a.id,name:a.name,fullname:a.fullname,internal:a.internal}}),h)})["catch"](function(a){g.show(a.message,"danger")})},a.updateItem=function(){var b=angular.copy(a.team);return e.update({id:c.id},b).$promise.then(function(){g.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){g.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.teams.view",{url:"/view/:id",templateUrl:"app/staff/team/view/view.html",controller:"TeamViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.staff.teams.view.agents",{url:"/agents",templateUrl:"app/staff/team/view/view.agents.html",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]}])}]}}).state("main.staff.teams.view.settings",{url:"/settings",templateUrl:"app/staff/team/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("TelephoneListCtrl",["$scope","Telephone","gridOptions",function(a,b,c){a.initView=function(){var d={exporterCsvFilename:"telephones.csv",columnDefs:[{name:"fullname"},{name:"name"},{name:"internal"},{name:"description"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/staff/telephones/view/{{row.entity.id}}/account",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.fullname, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,d,a)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.telephones.list",{url:"/list",templateUrl:"app/staff/telephone/list/list.html",controller:"TelephoneListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").factory("Telephone",["$resource",function(a){return a("/api/telephones/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.telephones",{url:"/telephones",template:"
","abstract":!0,data:{permissions:{only:["admin"],redirectTo:"landing"}}})}]),angular.module("xCallyShuttleApp").controller("TelephoneViewCtrl",["$scope","$http","$stateParams","$translate","$cookieStore","Auth","xAlert","Telephone",function(a,b,c,d,e,f,g,h){a.initView=function(){return a.Auth=f,a.forms={},h.get({id:c.id}).$promise.then(function(b){delete b.password,a.item=b,a.item.transport=a.item.transport?a.item.transport.split(","):[],a.item.allow=a.item.allow?a.item.allow.split(";"):[]})["catch"](function(a){g.show(a.message,"danger")})},a.updateItem=function(){var b=angular.copy(a.item);return b.transport=b.transport.join(","),b.allow=b.allow.join(";"),h.update(b).$promise.then(function(){g.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){g.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.telephones.view",{url:"/view/:id",templateUrl:"app/staff/telephone/view/view.html",controller:"TelephoneViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.staff.telephones.view.account",{url:"/account",templateUrl:"app/staff/telephone/view/view.account.html",resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css","assets/scripts/jquery.sparkline.min.js","assets/plugins/bootstrap-fileinput/bootstrap-fileinput.js","assets/scripts/profile.js"]})}]}}).state("main.staff.telephones.view.voice",{url:"/voice",templateUrl:"app/staff/telephone/view/view.voice.html",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").controller("TelephoneWizardCtrl",["$scope","$http","$location","WizardHandler","xAlert","$translate","Telephone","Setting",function(a,b,c,d,e,f,g,h){a.forms={},a.item={allow:["alaw","ulaw","gsm"],transport:["udp"],context:"from-sip"},a.next=function(){d.wizard().next()},a.exitValidation=function(a){return a},a.getFirstFreeInternal=function(){return h.get({controller:"internal"}).$promise.then(function(b){a.item.internal=b.value})["catch"](function(a){e.show(a.data.message,"danger")})},a.createItem=function(){var b=angular.copy(a.item);return b.transport&&(b.transport=b.transport.join(",")),a.item.allow&&(b.allow=b.allow.join(";")),g.save(b).$promise.then(function(){c.path("/staff/telephones/list")})["catch"](function(a){e.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.telephones.wizard",{url:"/wizard",templateUrl:"app/staff/telephone/wizard/wizard.html",controller:"TelephoneWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("UserListCtrl",["$scope","$timeout","User","Auth","gridOptions",function(a,b,c,d,e){function f(a){if(a){var b=_.words(a),c=_.map(b,function(a){return a?a[0]:""});return c.join("").toUpperCase()}return!1}a.getUserAvatar=function(a,c,d){b(function(){angular.element("#userImg"+a).avatar({useGravatar:!1,initials:d?[]:f(c),fallbackImage:"api/users/avatar/"+d,size:80})})},a.isAdmin=function(a){return"admin"===a},a.initView=function(){var b={exporterCsvFilename:"users.csv",columnDefs:[{name:"fullname"},{name:"name",displayName:"APPLICATION_USERNAME"},{name:"internal"},{name:"email"},{name:"description"},{name:"action",width:200,buttons:[{"class":"blue-hoki",href:"/staff/users/view/{{row.entity.id}}/account",name:"profile"},{"class":"green-meadow",href:"/staff/users/view/{{row.entity.id}}/permit/voice",name:"permits",hide:"grid.appScope.isAdmin(row.entity.role)"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.fullname, row.entity.id)"}]}]};a.gridOptions=e.gridOptions(c,b,a)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.users.list",{url:"/list",templateUrl:"app/staff/user/list/list.html",controller:"UserListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Module",["$resource",function(a){return a("/api/modules/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("User",["$resource",function(a){return a("/api/users/:id/:controller/:controller2/:controller3",{id:"@id"},{changePassword:{method:"PUT",params:{controller:"password"}},update:{method:"PUT"},me:{method:"GET",params:{id:"me"}}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.users",{url:"/users",template:"
","abstract":!0,data:{permissions:{only:["admin"],redirectTo:"landing"}}})}]),angular.module("xCallyShuttleApp").controller("UserViewCtrl",["$scope","$stateParams","$cookieStore","$translate","FileUploader","User","Auth","xAlert","MailQueue","VoiceQueue","ChatQueue","FaxQueue","SmsQueue","Team","Module","$location",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){function q(b){var c=_.find(a.modules,{id:b.ModuleId});if(b.status===!0)c.status=!0;else{var d=_.filter(a.modules,{ModuleId:b.ModuleId,status:!0});d.length||(c.status=!1)}c.ModuleId&&q(c)}function r(b,c){b.forEach(function(b){b.status=c;var d=_.filter(a.modules,{ModuleId:b.id});d.length&&r(d,c)})}a.Auth=g,a._=_,a.moduleSwitch={onText:"On",offText:"Off",isActive:!0,size:"mini",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.initVoiceQueues=function(){var a={},c={};return j.get().$promise.then(function(b){return a.queues=_.map(b.rows,function(a){return{name:a.name}}),i.get().$promise}).then(function(){return f.query({id:b.id,controller:"allowed",controller2:"voice",controller3:"queues"}).$promise}).then(function(a){c.queues=_.map(a,function(a){return{name:a.name}})}).then(function(){ComponentsDropdowns.bindPermit(a,c,"voice",b.id,f)})["catch"](function(a){console.error(a)})},a.initChatQueues=function(){var a={},c={};return k.get().$promise.then(function(b){return a.queues=_.map(b.rows,function(a){return{id:a.id,name:a.name}}),i.get().$promise}).then(function(){return f.query({id:b.id,controller:"allowed",controller2:"chat",controller3:"queues"}).$promise}).then(function(a){c.queues=_.map(a,function(a){return{id:a.id,name:a.name}})}).then(function(){ComponentsDropdowns.bindPermit(a,c,"chat",b.id,f)})["catch"](function(a){console.error(a)})},a.initMailQueues=function(){var a={},c={};return i.get().$promise.then(function(b){return a.queues=_.map(b.rows,function(a){return{id:a.id,name:a.name}}),i.get().$promise}).then(function(){return f.query({id:b.id,controller:"allowed",controller2:"mail",controller3:"queues"}).$promise}).then(function(a){c.queues=_.map(a,function(a){return{id:a.id,name:a.name}})}).then(function(){ComponentsDropdowns.bindPermit(a,c,"mail",b.id,f)})["catch"](function(a){console.error(a)})},a.initSmsQueues=function(){var a={},c={};return m.get().$promise.then(function(b){return a.queues=_.map(b.rows,function(a){return{id:a.id,name:a.name}}),m.get().$promise}).then(function(){return f.query({id:b.id,controller:"allowed",controller2:"sms",controller3:"queues"}).$promise}).then(function(a){console.log("permits",a),c.queues=_.map(a,function(a){return{id:a.id,name:a.name}})}).then(function(){ComponentsDropdowns.bindPermit(a,c,"sms",b.id,f)})["catch"](function(a){console.error(a)})},a.initFaxQueues=function(){var a={},c={};return l.get().$promise.then(function(b){return a.queues=_.map(b.rows,function(a){return{id:a.id,name:a.name}}),i.get().$promise}).then(function(){return f.query({id:b.id,controller:"allowed",controller2:"fax",controller3:"queues"}).$promise}).then(function(a){c.queues=_.map(a,function(a){return{id:a.id,name:a.name}})}).then(function(){ComponentsDropdowns.bindPermit(a,c,"fax",b.id,f)})["catch"](function(a){console.error(a)})},a.initView=function(){return f.get({id:b.id}).$promise.then(function(b){a.user=b,a.user.transport=a.user.transport?a.user.transport.split(","):[],a.user.allow=a.user.allow?a.user.allow.split(";"):[]})["catch"](function(a){h.show(a.message,"danger")})},a.updateItem=function(){var c=angular.copy(a.user);return delete c.password,delete c.md5secret,c.transport=c.transport.join(","),c.allow=c.allow.join(";"),f.update({id:b.id},c).$promise.then(function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.show(a.message,"danger")})},a.updatePassword=function(){var c={newPassword:a.user.newPwd};return g.isAdmin()?c.id=b.id:c.oldPassword=a.user.currentPwd,f.changePassword(c).$promise.then(function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.show(a.message,"danger")})};var s=a.uploader=new e({url:"api/users/"+b.id+"/avatar",queueLimit:1,withCredentials:!0,headers:{Authorization:"Bearer "+c.get("token")}});s.filters.push({name:"imageFilter",fn:function(a){var b="|"+a.type.slice(a.type.lastIndexOf("/")+1)+"|";return-1!=="|jpg|png|jpeg|".indexOf(b)}}),a.getModules=function(){return a.associatedModules=[],o.get().$promise.then(function(c){return a.modules=c.rows,f.query({id:b.id,controller:"allowed",controller2:"modules"}).$promise}).then(function(b){a.modules.forEach(function(a){_.find(b,{id:a.id})?a.status=!0:a.status=!1})})["catch"](function(a){h.show(a.message,"danger")})},a.updatePermissions=function(c){c.ModuleId&&q(c);var e=_.filter(a.modules,{ModuleId:c.id});return e&&r(e,c.status),f.save({id:b.id,controller:"allowed",controller2:"modules"},{modules:_.map(_.filter(a.modules,{status:!0}),"id")}).$promise.then(function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.error(a)})},s.onSuccessItem=function(b,c){a.user.userpic=c.userpic,a.user.id===g.getCurrentUser().id&&(g.getCurrentUser().userpic=c.userpic),h.show(d.instant("MESSAGE_WELL_DONE"),"success")},s.onErrorItem=function(){h.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")},s.onCompleteAll=function(){s.clearQueue()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.users.view",{url:"/view/:id",templateUrl:"app/staff/user/view/view.html",controller:"UserViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.staff.users.view.account",{url:"/account",templateUrl:"app/staff/user/view/view.account.html",resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css","assets/scripts/jquery.sparkline.min.js","assets/plugins/bootstrap-fileinput/bootstrap-fileinput.js","assets/scripts/profile.js"]})}]}}).state("main.staff.users.view.voice",{url:"/voice",templateUrl:"app/staff/user/view/view.voice.html",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}}).state("main.staff.users.view.permit",{url:"/permit",templateUrl:"app/staff/user/view/view.permit.html",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}},cache:!1,serie:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}}).state("main.staff.users.view.permit.voice",{url:"/voice",templateUrl:"app/staff/user/view/view.permit.voice.html",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}}).state("main.staff.users.view.permit.chat",{url:"/chat",templateUrl:"app/staff/user/view/view.permit.chat.html",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.chat"}}}).state("main.staff.users.view.permit.mail",{url:"/mail",templateUrl:"app/staff/user/view/view.permit.mail.html",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.mail"}}}).state("main.staff.users.view.permit.fax",{url:"/fax",templateUrl:"app/staff/user/view/view.permit.fax.html",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.fax"}}}).state("main.staff.users.view.permit.sms",{url:"/sms",templateUrl:"app/staff/user/view/view.permit.sms.html",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.sms"}}}).state("main.staff.users.view.permit.modules",{url:"/modules",templateUrl:"app/staff/user/view/view.permit.modules.html",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").controller("UserWizardCtrl",["$scope","$location","WizardHandler","xAlert","$translate","User","Setting",function(a,b,c,d,e,f,g){a.forms={info:void 0,voice:void 0},a.item={role:"user",host:"dynamic",context:"from-sip"},a.next=function(){c.wizard().next()},a.exitValidation=function(a){return a},a.getFirstFreeInternal=function(){return g.get({controller:"internal"}).$promise.then(function(b){a.item.internal=b.value})["catch"](function(a){d.show(a.data.message,"danger")})},a.createItem=function(){return f.save(a.item).$promise.then(function(){b.path("/staff/users/list")})["catch"](function(a){d.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.users.wizard",{url:"/wizard",templateUrl:"app/staff/user/wizard/wizard.html",controller:"UserWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("SugarcrmListCtrl",["$scope","SugarcrmAccount","gridOptions","xAlert","$translate","Modal",function(a,b,c,d,e,f){a.initView=function(){var d={exporterCsvFilename:"sugarcrm_account.csv",columnDefs:[{name:"name",displayName:"APPLICATION_NAME"},{name:"username"},{name:"remoteUri",displayName:"APPLICATION_REMOTE_ADDRESS"},{name:"action",width:250,buttons:[{"class":"blue-hoki",href:"/sugarcrm/view/{{row.entity.id}}/account",name:"profile"},{"class":"green-jungle",name:"check",displayName:"APPLICATION_CHECK",onClick:"grid.appScope.checkAccount(row.entity.id)"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,d,a)},a.checkAccount=function(a){return b.get({id:a,controller:"check"}).$promise.then(function(){d.show(e.instant("MESSAGE_ACCOUNT_VERIFIED"),"success")})["catch"](function(a){d.show(e.instant("MESSAGE_ACCOUNT_INVALID"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.sugarcrm.list",{url:"/list",templateUrl:"app/sugarcrm/list/list.html",controller:"SugarcrmListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.sugarcrm",{url:"/sugarcrm",template:"
","abstract":!0,data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").factory("SugarcrmAccount",["$resource",function(a){return a("/api/sugarcrm/accounts/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("SugarcrmConfiguration",["$resource",function(a){return a("/api/sugarcrm/configurations/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("SugarcrmField",["$resource",function(a){return a("/api/sugarcrm/fields/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("SugarcrmViewCtrl",["$scope","$http","$stateParams","$translate","$location","$filter","WizardHandler","socket","xAlert","Modal",function(a,b,c,d,e,f,g,h,i,j){a.$stateParams=c,a.config={autoHideScrollbar:!1,theme:"dark",advanced:{updateOnContentResize:!0},setHeight:500,scrollInertia:0},a.initConfiguration=function(){a.formsConfiguration={},a.configuration={}},a.goNext=function(){g.wizard().next()},a.formValidation=function(a){return a},a.$on("$destroy",function(){h.unsyncUpdates("sugarcrm_configuration"),h.unsyncUpdates("sugarcrm_field")}),a.initView=function(){b.get("/api/sugarcrm/accounts/"+c.id).success(function(b){a.account=b}).error(function(a){i.show(a.message,"danger")})},a.updateItem=function(){b.put("/api/sugarcrm/accounts/"+c.id,a.account).success(function(){i.show(d.instant("MESSAGE_WELL_DONE")+".","success")}).error(function(){i.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})},a.getConfigurations=function(){b.get("/api/sugarcrm/configurations",{params:{AccountId:c.id}}).success(function(b){a.configurations=b,h.socket.on("sugarcrm_configuration:remove",function(b){_.remove(a.configurations,{id:b.id})})}).error(function(a){i.show(a.message,"danger")})},a.deleteConfiguration=j.confirm["delete"](function(a){b["delete"]("api/sugarcrm/configurations/"+a).success(function(){i.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(){i.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}),a.createConfiguration=function(){a.configuration.AccountId=c.id,b.post("api/sugarcrm/configurations",a.configuration).success(function(a){e.path("sugarcrm/view/"+c.id+"/configurations/settings/"+a.id)}).error(function(){i.show("Something went wrong!","danger")})},a.fieldType=["string","variable"],a.descFieldType=["string","key_value"],a.getFields=function(){b.get("/api/sugarcrm/accounts/"+c.id+"/fields").success(function(b){a.accountFields=_.sortByOrder(f("sugarcrm")(_.toArray(b)),"name","asc"),_.forEach(b,function(a){a.options=_.toArray(a.options)})}).error(function(a){i.show(a.message,"danger")})},a.getConfiguration=function(){b.get("/api/sugarcrm/configurations/"+c.configurationId).success(function(b){a.configurationName=b.name,a.subjectConfig=b.Subject,a.descriptionConfig=b.Description,a.fieldConfig=b.Field,h.socket.on("sugarcrm_field:remove",function(b){_.remove(a.subjectConfig,{id:b.id}),_.remove(a.descriptionConfig,{id:b.id}),_.remove(a.fieldConfig,{id:b.id})})}).error(function(a){i.show(a.message,"danger")})},a.getVariables=function(){b.get("/api/variables").success(function(b){a.variables=b.rows}).error(function(a){i.show(a.message,"danger")})},a.removeItem=function(a){b["delete"]("api/sugarcrm/fields/"+a.id).success(function(){i.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(){i.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.addItemSubject=function(){var d={type:"string",content:""};b.post("/api/sugarcrm/configurations/"+c.configurationId+"/subject",d).success(function(b){a.subjectConfig.push(b)}).error(function(){i.show("Something went wrong!","danger")})},a.addItemDescription=function(){var d={type:"string",content:""};b.post("/api/sugarcrm/configurations/"+c.configurationId+"/description",d).success(function(b){a.descriptionConfig.push(b)}).error(function(){i.show("Something went wrong!","danger")})},a.addItemField=function(){var d={content:""};b.post("/api/sugarcrm/configurations/"+c.configurationId+"/field",d).success(function(b){a.fieldConfig.push(b)}).error(function(){i.show("Something went wrong!","danger")})},a.updateField=function(a){b.put("/api/sugarcrm/fields/"+a.id,a).success(function(){}).error(function(){i.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})},a.changeType=function(b){"variable"===b.type?b.content="":"string"===b.type&&(b.VariableId=null),a.updateField(b)},a.changeDescType=function(b){"key_value"===b.type?(b.content="","string"===b.keyType?b.VariableId=null:"variable"===b.keyType&&(b.keyContent="")):"string"===b.type&&(b.VariableId=null,b.key="",b.keyContent=""),a.updateField(b)},a.changeFieldType=function(b){b.content="",a.updateField(b)},a.getSystemFieldOptions=function(b){if(b){var c=_.find(a.accountFields,"name",b);return c?c.options.length>0?c.options:null:void 0}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.sugarcrm.view",{url:"/view/:id",templateUrl:"app/sugarcrm/view/view.html",controller:"SugarcrmViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.sugarcrm.view.account",{url:"/account",templateUrl:"app/sugarcrm/view/view.account.html"}).state("main.sugarcrm.view.configurations",{url:"/configurations",templateUrl:"app/sugarcrm/view/view.configurations.html"}).state("main.sugarcrm.view.configurations.settings",{url:"/settings/:configurationId",templateUrl:"app/sugarcrm/view/view.configurationSettings.html",controller:"SugarcrmViewCtrl"}).state("main.sugarcrm.view.configuration",{url:"/configuration",templateUrl:"app/sugarcrm/view/view.configuration.html"})}]),angular.module("xCallyShuttleApp").controller("SugarcrmkWizardCtrl",["$scope","$http","$location","$translate","xAlert","WizardHandler",function(a,b,c,d,e,f){a.translate=d,a.initWizard=function(){a.$translate=d,a.forms={},a.item={}},a.next=function(){f.wizard().next()},a.exitValidation=function(a){return a},a.createItem=function(){b.post("api/sugarcrm/accounts",a.item).success(function(){e.show(d.instant("MESSAGE_WELL_DONE")+".","success"),c.path("/sugarcrm/list")}).error(function(){e.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.sugarcrm.wizard",{url:"/wizard",templateUrl:"app/sugarcrm/wizard/wizard.html",controller:"SugarcrmkWizardCtrl"})}]),angular.module("xCallyShuttleApp").factory("CannedAnswer",["$resource",function(a){return a("/api/answers/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.answers",{url:"/answers",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:13}}})}]),angular.module("xCallyShuttleApp").controller("AnswerListCtrl",["$scope","$uibModal","CannedAnswer","gridOptions",function(a,b,c,d){a.initView=function(){var b={exporterCsvFilename:"answers.csv",columnDefs:[{name:"key",displayName:"APPLICATION_NAME"},{name:"value"},{name:"description"},{name:"action",width:160,buttons:[{"class":"blue-hoki",href:"/tools/answers/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.key, row.entity.id)"}]}]};a.gridOptions=d.gridOptions(c,b,a)},a.createItem=function(){b.open({animation:!0,templateUrl:"app/tools/answer/list/list.create.modal.html",controller:"AnswerListCreateCtrl"}).result.then(function(b){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("AnswerListCreateCtrl",["$scope","$translate","$uibModalInstance","CannedAnswer","xAlert",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return d.save(a.item).$promise.then(function(a){e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){e.show(a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.answers.list",{url:"/list",templateUrl:"app/tools/answer/list/list.html",controller:"AnswerListCtrl"})}]),angular.module("xCallyShuttleApp").controller("AnswerViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","$location","CannedAnswer",function(a,b,c,d,e,f,g){a.getAnswer=function(){return g.get({id:e.id}).$promise.then(function(b){a.answer=b})["catch"](function(a){c.show(a.data.message,"danger")})},a.updateAnswer=function(){var b=angular.copy(a.answer);return g.update({id:e.id},b).$promise.then(function(){c.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){c.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.answers.view",{url:"/view/:id",templateUrl:"app/tools/answer/view/view.html",controller:"AnswerViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.tools.answers.view.settings",{url:"/settings",templateUrl:"app/tools/answer/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").factory("Automation",["$resource",function(a){return a("/api/automations/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.automations",{url:"/automations",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:13}}})}]),angular.module("xCallyShuttleApp").controller("AutomationListCtrl",["$scope","$http","$translate","xAlert","Automation","gridOptions",function(a,b,c,d,e,f){a.onText="On",a.offText="Off",a.isActive=!0,a.size="mini",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initView=function(){var b={exporterCsvFilename:"Automations.csv",columnDefs:[{name:"name"},{name:"description"},{name:"channel"},{name:"status",cellTemplate:'
', +width:100,enableFiltering:!1},{name:"action",width:160,buttons:[{"class":"blue-hoki",href:"/tools/automations/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=f.gridOptions(e,b,a)},a.updateItem=function(a){return e.update({id:a.id},a).$promise.then(function(){d.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){console.error(a),d.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.automations.list",{url:"/list",templateUrl:"app/tools/automation/list/list.html",controller:"AutomationListCtrl"})}]),angular.module("xCallyShuttleApp").controller("AutomationViewCtrl",["$scope","$stateParams","$http","$translate","xAlert","automations","Automation","$location",function(a,b,c,d,e,f,g,h){a.$automations=f,a.recordSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.forms={general:{}},a.addCondition=function(b){a.automation[b].push({field:"",operator:"",value:""})},a.removeCondition=function(b,c){a.automation[b].splice(c,1)},a.addAction=function(){a.automation.Actions.push({action:"",data1:"",data2:"",data3:"",data4:"",data5:""})},a.resetActionData=function(a){a.data1="",a.data2="",a.data3="",a.data4="",a.data5=""},a.removeAction=function(b){a.automation.Actions.splice(b,1)},a.initView=function(){return g.get({id:b.id}).$promise.then(function(b){a.automation=b})["catch"](function(a){e.show(a.message,"danger"),h.path("/tools/automations/list")})},a.updateAutomation=function(){return g.update({id:b.id},a.automation).$promise.then(function(){e.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){console.error(a),e.show(a.message,"danger")})},a.exitValidation=function(b){return console.log(b&&(a.automation.All.length||a.automation.Any.length)&&a.automation.Actions.length),!(!b||!a.automation.All.length&&!a.automation.Any.length||!a.automation.Actions.length)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.automations.view",{url:"/view/:id",templateUrl:"app/tools/automation/view/view.html",controller:"AutomationViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]})}]}}).state("main.tools.automations.view.settings",{url:"/settings",templateUrl:"app/tools/automation/view/view.settings.html"}).state("main.tools.automations.view.routes",{url:"/routes",templateUrl:"app/tools/automation/view/view.routes.html"}).state("main.tools.automations.view.application",{url:"/application",templateUrl:"app/tools/automation/view/view.application.html"})}]),angular.module("xCallyShuttleApp").controller("AutomationWizardCtrl",["$scope","$http","$location","xAlert","automations","WizardHandler","Automation",function(a,b,c,d,e,f,g){a.$automations=e,a.recordSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.tempData={voice:{},mail:{},chat:{},fax:{}},a.item={All:[],Any:[],Actions:[]},a.forms={general:void 0,settings:void 0},a.addCondition=function(b){a.item[b].push({field:"",operator:"",value:""})},a.removeCondition=function(b,c){a.item[b].splice(c,1)},a.addAction=function(){a.item.Actions.push({action:"",data1:"",data2:"",data3:"",data4:"",data5:""})},a.resetActionData=function(a){a.data1="",a.data2="",a.data3="",a.data4="",a.data5=""},a.removeAction=function(b){a.item.Actions.splice(b,1)},a.$watch("item.channel",function(b,c){c&&(a.tempData[c].All=_.clone(a.item.All,!0),a.tempData[c].Any=_.clone(a.item.Any,!0),a.tempData[c].Actions=_.clone(a.item.Actions,!0)),a.item.All=a.tempData[b].All?a.tempData[b].All:[],a.item.Any=a.tempData[b].Any?a.tempData[b].Any:[],a.item.Actions=a.tempData[b].Actions?a.tempData[b].Actions:[]},!0),a.item.channel="mail",a.createItem=function(){return g.save(a.item).$promise.then(function(){c.path("/tools/automations/list")})["catch"](function(a){console.error(a),d.show(a.message,"danger")})},a.next=function(){f.wizard().next()},a.previous=function(){f.wizard().previous()},a.exitValidation=function(a){return a},a.exitSettingsValidation=function(b){return!(!b||!a.item.All.length&&!a.item.Any.length||!a.item.Actions.length)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.automations.wizard",{url:"/wizard",templateUrl:"app/tools/automation/wizard/wizard.html",controller:"AutomationWizardCtrl"})}]),angular.module("xCallyShuttleApp").factory("Interval",["$resource",function(a){return a("/api/intervals/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.intervals",{url:"/intervals",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:13}}})}]),angular.module("xCallyShuttleApp").controller("IntervalListCtrl",["$scope","$uibModal","Interval","gridOptions",function(a,b,c,d){a.initView=function(){var b={exporterCsvFilename:"intervals.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:160,buttons:[{"class":"blue-hoki",href:"/tools/intervals/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=d.gridOptions(c,b,a)},a.createItem=function(){var c=b.open({animation:!0,templateUrl:"app/tools/interval/list/list.create.modal.html",controller:"IntervalListCreateCtrl"});c.result.then(function(b){console.log(b),a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("IntervalListCreateCtrl",["$scope","$translate","$uibModalInstance","Interval","xAlert",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return d.save(a.item).$promise.then(function(a){e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){e.show(b.instant(a.data.message),"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.intervals.list",{url:"/list",templateUrl:"app/tools/interval/list/list.html",controller:"IntervalListCtrl"})}]),angular.module("xCallyShuttleApp").controller("IntervalViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","socket","$location","WizardHandler","Modal","interval",function(a,b,c,d,e,f,g,h,i,j){function k(b){console.log(b);var c,d,e,f;c=b.t_from&&b.t_to&&!b.alwaysTime?moment(b.t_from).format("HH:mm")+"-"+moment(b.t_to).format("HH:mm"):"*",b.wd_from&&"always"!==b.wd_from?(d=b.wd_from,b.wd_to&&"always"!==b.wd_to&&(d+="-"+b.wd_to)):d="*",b.md_from&&"always"!==b.md_from?(e=b.md_from,b.md_to&&"always"!==b.md_to&&(e+="-"+b.md_to)):e="*",b.m_from&&"always"!==b.m_from?(f=b.m_from,b.m_to&&"always"!==b.m_to&&(f+="-"+b.m_to)):f="*",void 0!==a.selectedSubInterval?a.interval.SubIntervals[a.selectedSubInterval].interval=c+","+d+","+e+","+f:a.subinterval.interval=c+","+d+","+e+","+f}a.$translate=d,a.$interval=j.interval,a.selectedSubInterval=void 0,a.gridOptions={columnDefs:[{name:"name",displayName:"APPLICATION_NAME",headerCellFilter:"translate"},{name:"interval",displayName:"APPLICATION_INTERVAL",headerCellFilter:"translate"},{name:"action",displayName:"APPLICATION_ACTION",headerCellFilter:"translate",width:125,cellTemplate:'{{\'APPLICATION_SETTINGS\' | translate}}{{\'APPLICATION_DELETE\' | translate}}'}]},a.forms={subinterval:void 0,general:void 0},a.initSubInterval=function(b){b&&(a.selectedSubInterval=void 0),a.subinterval={},a.splittedInterval={t_from:moment(new Date),t_to:moment(new Date),wd_from:"always",wd_to:"always",md_from:"always",md_to:"always",m_from:"always",m_to:"always",alwaysTime:!0}},a.next=function(){h.wizard().next()},a.previous=function(){h.wizard().previous()},a.exitValidation=function(a){return a},a.deselectAndRedirect=function(b){a.selectedSubInterval=void 0,g.path(b)},a.getInterval=function(){b.get("/api/intervals/"+e.id).success(function(b){a.interval=b,a.gridOptions.data=b.SubIntervals}).error(function(a){console.error(a),g.path("/tools/intervals/list")})},a.openSubInterval=function(b){a.selectedSubInterval=b,g.path("/tools/intervals/view/"+e.id+"/subintervals/settings")},a.updateInterval=function(f){a.selectedSubInterval=void 0,b.put("/api/intervals/"+e.id,a.interval).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success"),f&&g.path("/tools/intervals/view/"+e.id+"/"+f)}).error(function(a){c.show(d.instant(a.message),"danger")})},a.getSubInterval=function(){void 0===a.selectedSubInterval&&g.path("/tools/intervals/list"),a.splittedInterval={t_from:moment(new Date),t_to:moment(new Date)};var b,c=a.interval.SubIntervals[a.selectedSubInterval]?a.interval.SubIntervals[a.selectedSubInterval].interval.split(","):["*","*","*","*"];c.forEach(function(c,d){switch(d){case 0:"*"!==c?(b=c.split("-"),a.splittedInterval.t_from=moment(b[0],"HH:mm"),a.splittedInterval.t_to=moment(b[1],"HH:mm"),a.splittedInterval.alwaysTime=!1):(a.splittedInterval.t_from=moment(new Date),a.splittedInterval.t_to=moment(new Date),a.splittedInterval.alwaysTime=!0);break;case 1:"*"!==c?(b=c.split("-"),a.splittedInterval.wd_from=b[0],a.splittedInterval.wd_to=b[1]?b[1]:"always"):(a.splittedInterval.wd_from="always",a.splittedInterval.wd_to="always");break;case 2:"*"!==c?(b=c.split("-"),a.splittedInterval.md_from=b[0],a.splittedInterval.md_to=b[1]?b[1]:"always"):(a.splittedInterval.md_from="always",a.splittedInterval.md_to="always");break;case 3:"*"!==c?(b=c.split("-"),a.splittedInterval.m_from=b[0],a.splittedInterval.m_to=b[1]?b[1]:"always"):(a.splittedInterval.m_from="always",a.splittedInterval.m_to="always")}})},a.$watch("splittedInterval",function(a){a&&k(a)},!0),a.addSubInterval=function(){a.interval.SubIntervals.push(a.subinterval),a.updateInterval("subintervals")},a.deleteSubInterval=i.confirm["delete"](function(b){a.interval.SubIntervals.splice(b,1),a.updateInterval()})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.intervals.view",{url:"/view/:id",templateUrl:"app/tools/interval/view/view.html",controller:"IntervalViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.tools.intervals.view.settings",{url:"/settings",templateUrl:"app/tools/interval/view/view.settings.html"}).state("main.tools.intervals.view.subintervals",{url:"/subintervals",templateUrl:"app/tools/interval/view/view.subintervals.html"}).state("main.tools.intervals.view.subinterval",{url:"/subinterval",templateUrl:"app/tools/interval/view/view.subinterval.html"}).state("main.tools.intervals.view.subintervals.settings",{url:"/settings",templateUrl:"app/tools/interval/view/view.subintervalSettings.html"})}]),angular.module("xCallyShuttleApp").controller("PauseListCtrl",["$scope","$log","$uibModal","$translate","Pause","gridOptions",function(a,b,c,d,e,f){a.initView=function(){var b={exporterCsvFilename:"pauses.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:160,buttons:[{"class":"blue-hoki",href:"/tools/pauses/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=f.gridOptions(e,b,a)},a.createItem=function(){var b=c.open({animation:!0,templateUrl:"app/tools/pause/list/list.create.modal.html",controller:"PauseListCreateCtrl"});b.result.then(function(b){console.log(b),a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("PauseListCreateCtrl",["$scope","$translate","$uibModalInstance","Pause","xAlert",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return d.save(a.item).$promise.then(function(a){e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){e.show(a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.pauses.list",{url:"/list",templateUrl:"app/tools/pause/list/list.html",controller:"PauseListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Pause",["$resource",function(a){return a("/api/pauses/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.pauses",{url:"/pauses",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:13}}})}]),angular.module("xCallyShuttleApp").controller("PauseViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","$location","Pause",function(a,b,c,d,e,f,g){a.getPause=function(){return g.get({id:e.id}).$promise.then(function(b){a.pause=b})["catch"](function(a){c.show(a.data.message,"danger")})},a.updatePause=function(){var b=angular.copy(a.pause);return g.update({id:e.id},b).$promise.then(function(){c.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){c.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.pauses.view",{url:"/view/:id",templateUrl:"app/tools/pause/view/view.html",controller:"PauseViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.tools.pauses.view.settings",{url:"/settings",templateUrl:"app/tools/pause/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("SoundListCtrl",["$scope","$http","socket","Modal","$q","FileUploader","$translate","xAlert","$cookieStore","$sce","Sound",function(a,b,c,d,e,f,g,h,i,j,k){a.Sound=k,a.isCollapsed=!0,a.downloadButtonContent='',a.downloadButtonClass="btn btn-xs blue-hoki",a["delete"]=d.confirm["delete"](function(a){b["delete"]("/api/sounds/"+a).success(function(a){}).error(function(a){console.log(a)})}),a.updateAudio=function(a,c){var d=e.defer();return b.put("/api/sounds/"+a,c).success(function(a){d.resolve()}).error(function(a){console.log(a.message),d.reject(a.message)}),d.promise},a.$on("$destroy",function(){c.unsyncUpdates("sound")}),a.initList=function(){b.get("/api/sounds").success(function(b){a.sounds=b.rows,b.rows.length||(a.isCollapsed=!1),c.syncUpdates("sound",a.sounds,function(){a.sounds.length||(a.isCollapsed=!1)})}).error(function(a){})};var l=a.uploader=new f({url:"/api/sounds",withCredentials:!0,headers:{Authorization:"Bearer "+i.get("token")}});l.filters.push({name:"customFilter",fn:function(a,b){return this.queue.length<10}}),l.onWhenAddingFileFailed=function(a,b,c){console.info("onWhenAddingFileFailed",a,b,c)},l.onAfterAddingFile=function(a){console.info("onAfterAddingFile",a)},l.onAfterAddingAll=function(a){console.info("onAfterAddingAll",a)},l.onBeforeUploadItem=function(a){console.info("onBeforeUploadItem",a)},l.onProgressItem=function(a,b){console.info("onProgressItem",a,b),a.isUploading=!0},l.onProgressAll=function(a){console.info("onProgressAll",a)},l.onSuccessItem=function(a,b,c,d){console.info("onSuccessItem",a,b,c,d),a.isUploading=!1},l.onErrorItem=function(a,b,c,d){console.info("onErrorItem",a,b,c,d),a.responseMessage=b,a.isUploading=!1},l.onCancelItem=function(a,b,c,d){console.info("onCancelItem",a,b,c,d),a.isUploading=!1},l.onCompleteItem=function(a,b,c,d){console.info("onCompleteItem",a,b,c,d),a.isUploading=!1},l.onCompleteAll=function(){console.info("onCompleteAll")},console.info("uploader",l)}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.sounds.list",{url:"/list",templateUrl:"app/tools/sound/list/list.html",controller:"SoundListCtrl",authenticate:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/plugins/bootstrap-fileinput/bootstrap-fileinput.js"]})}]}})}]),angular.module("xCallyShuttleApp").factory("Sound",["$resource",function(a){return a("/api/sounds/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.sounds",{url:"/sounds",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:13}}})}]),angular.module("xCallyShuttleApp").controller("TagListCtrl",["$scope","$uibModal","Tag","gridOptions","$rootScope",function(a,b,c,d,e){a.initView=function(){var b={exporterCsvFilename:"tag.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:160,buttons:[{"class":"blue-hoki",href:"/tools/tags/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=d.gridOptions(c,b,a)},a.createItem=function(){var c=b.open({animation:!0,templateUrl:"app/tools/tag/list/list.create.modal.html",controller:"TagListCreateCtrl"});c.result.then(function(){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("TagListCreateCtrl",["$scope","$translate","$uibModalInstance","Tag","xAlert",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return d.save(a.item).$promise.then(function(a){e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){e.show(a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.tags.list",{url:"/list",templateUrl:"app/tools/tag/list/list.html",controller:"TagListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Tag",["$resource",function(a){return a("/api/tags/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.tags",{url:"/tags",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:13}}})}]),angular.module("xCallyShuttleApp").controller("TagViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","$location","Tag",function(a,b,c,d,e,f,g){a.getTag=function(){return g.get({id:e.id}).$promise.then(function(b){a.tag=b})["catch"](function(a){c.show(a.data.message,"danger")})},a.updateTag=function(){var b=angular.copy(a.tag);return g.update({id:e.id},b).$promise.then(function(){c.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){c.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.tags.view",{url:"/view/:id",templateUrl:"app/tools/tag/view/view.html",controller:"TagViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.tools.tags.view.settings",{url:"/settings",templateUrl:"app/tools/tag/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("TemplateListCtrl",["$scope","Template","gridOptions",function(a,b,c){a.initView=function(){var d={exporterCsvFilename:"templates.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/tools/templates/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,d,a)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.templates.list",{url:"/list",templateUrl:"app/tools/template/list/list.html",controller:"TemplateListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Template",["$resource",function(a){return a("/api/templates/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.templates",{url:"/templates",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:13}}})}]),angular.module("xCallyShuttleApp").controller("TemplateViewCtrl",["$scope","$http","$translate","$stateParams","xAlert","Template",function(a,b,c,d,e,f){a.initItem=function(){a.form={},a.item={},a.groups=[{title:"Voice",variables:[]},{title:"Chat",variables:["username","email","text","chatWebsite"]},{title:"Mail",variables:[]},{title:"Fax",variables:[]}],a.item=f.get({id:d.id})},a.updateItem=function(){f.update(a.item).$promise.then(function(){e.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){e.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.templates.view",{url:"/view/:id",templateUrl:"app/tools/template/view/view.html",controller:"TemplateViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.tools.templates.view.settings",{url:"/settings",templateUrl:"app/tools/template/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("TemplateWizardCtrl",["$scope","$location","$http","WizardHandler","xAlert","Template",function(a,b,c,d,e,f){a.initWizard=function(){a.item={},a.form={},a.groups=[{title:"Voice",variables:[]},{title:"Chat",variables:["username","email","text","chatWebsite"]},{title:"Mail",variables:[]},{title:"Fax",variables:[]}]},a.next=function(){d.wizard().next()},a.exitValidation=function(a){return a},a.createItem=function(){return f.save({name:a.item.name,description:a.item.description,subject:a.item.subject||null,html:a.item.html||null,text:a.item.text||null}).$promise.then(function(){b.path("/tools/templates/list")})["catch"](function(a){e.show(data.err.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.templates.wizard",{url:"/wizard",templateUrl:"app/tools/template/wizard/wizard.html",controller:"TemplateWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools",{url:"/tools",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("TriggerListCtrl",["$scope","$http","$translate","Modal","xAlert","Trigger","gridOptions",function(a,b,c,d,e,f,g){a.onText="On",a.offText="Off",a.isActive=!0,a.size="mini",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initView=function(){var b={exporterCsvFilename:"Triggers.csv",columnDefs:[{name:"name"},{name:"description"},{name:"channel"},{name:"status",cellTemplate:'
',width:100,enableFiltering:!1},{name:"action",width:160,buttons:[{"class":"blue-hoki",href:"/tools/triggers/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=g.gridOptions(f,b,a)},a.updateItem=function(a){return f.update({id:a.id},a).$promise.then(function(){e.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){console.error(a),e.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.triggers.list",{url:"/list",templateUrl:"app/tools/trigger/list/list.html",controller:"TriggerListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Trigger",["$resource",function(a){return a("/api/triggers/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.triggers",{url:"/triggers",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:13}}})}]),angular.module("xCallyShuttleApp").controller("TriggerViewCtrl",["$scope","$stateParams","$translate","xAlert","triggers","Trigger","$location",function(a,b,c,d,e,f,g){a.$triggers=e,a.recordSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.forms={general:{}},a.addCondition=function(b){a.trigger[b].push({field:"",operator:"",value:""})},a.removeCondition=function(b,c){a.trigger[b].splice(c,1)},a.addAction=function(){a.trigger.Actions.push({action:"",data1:"",data2:"",data3:"",data4:"",data5:""})},a.resetActionData=function(a){a.data1="",a.data2="",a.data3="",a.data4="",a.data5=""},a.removeAction=function(b){a.trigger.Actions.splice(b,1)},a.initView=function(){return f.get({id:b.id}).$promise.then(function(b){a.trigger=b})["catch"](function(a){d.show(a.message,"danger"),g.path("/tools/triggers/list")})},a.updateTrigger=function(){return f.update({id:b.id},a.trigger).$promise.then(function(){d.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){console.error(a),d.show(a.message,"danger")})},a.exitValidation=function(b){return console.log(b&&(a.trigger.All.length||a.trigger.Any.length)&&a.trigger.Actions.length),!(!b||!a.trigger.All.length&&!a.trigger.Any.length||!a.trigger.Actions.length)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.triggers.view",{url:"/view/:id",templateUrl:"app/tools/trigger/view/view.html",controller:"TriggerViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]})}]}}).state("main.tools.triggers.view.settings",{url:"/settings",templateUrl:"app/tools/trigger/view/view.settings.html"}).state("main.tools.triggers.view.routes",{url:"/routes",templateUrl:"app/tools/trigger/view/view.routes.html"}).state("main.tools.triggers.view.application",{url:"/application",templateUrl:"app/tools/trigger/view/view.application.html"})}]),angular.module("xCallyShuttleApp").controller("TriggerWizardCtrl",["$scope","$http","$location","xAlert","triggers","WizardHandler","Trigger",function(a,b,c,d,e,f,g){a.$triggers=e,a.tempData={voice:{},mail:{},chat:{},fax:{}},a.item={All:[],Any:[],Actions:[]},a.forms={general:void 0,settings:void 0},a.addCondition=function(b){a.item[b].push({field:"",operator:"",value:""})},a.removeCondition=function(b,c){a.item[b].splice(c,1)},a.addAction=function(){a.item.Actions.push({action:"",data1:"",data2:"",data3:"",data4:"",data5:""})},a.resetActionData=function(a){a.data1="",a.data2="",a.data3="",a.data4="",a.data5=""},a.removeAction=function(b){a.item.Actions.splice(b,1)},a.$watch("item.channel",function(b,c){c&&(a.tempData[c].All=_.clone(a.item.All,!0),a.tempData[c].Any=_.clone(a.item.Any,!0),a.tempData[c].Actions=_.clone(a.item.Actions,!0)),a.item.All=a.tempData[b].All?a.tempData[b].All:[],a.item.Any=a.tempData[b].Any?a.tempData[b].Any:[],a.item.Actions=a.tempData[b].Actions?a.tempData[b].Actions:[]},!0),a.item.channel="voice",a.createItem=function(){return g.save(a.item).$promise.then(function(){c.path("/tools/triggers/list")})["catch"](function(a){console.error(a),d.show(a.message,"danger")})},a.next=function(){f.wizard().next()},a.previous=function(){f.wizard().previous()},a.exitValidation=function(a){return a},a.exitSettingsValidation=function(b){return!(!b||!a.item.All.length&&!a.item.Any.length||!a.item.Actions.length)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.triggers.wizard",{url:"/wizard",templateUrl:"app/tools/trigger/wizard/wizard.html",controller:"TriggerWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("TrunkListCtrl",["$scope","Trunk","gridOptions","xAlert","$translate","socket",function(a,b,c,d,e,f){function g(){f.socket.on("trunk:update",function(b){var c=_.find(a.gridOptions.data,{name:b.name});c&&(c.status=b.status,c.peerstatus=b.peerstatus)})}a.isActive=!0,a.size="mini",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initView=function(){var d={exporterCsvFilename:"Trunks.csv",columnDefs:[{name:"name"},{name:"active",cellTemplate:'
'},{name:"host"},{name:"description"},{name:"status",cellTemplate:'
{{row.entity.status}}
'},{name:"peerstatus",cellTemplate:'
{{row.entity.peerstatus}}
'},{name:"action",width:160,buttons:[{"class":"blue-hoki",href:"/tools/trunks/view/{{row.entity.name}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.name)"}]}]};a.gridOptions=c.gridOptions(b,d,a,null,null,null,g)},a.updateItem=function(a){return b.update({id:a.name},a).$promise.then(function(){d.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){console.error(a),d.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.trunks.list",{url:"/list",templateUrl:"app/tools/trunk/list/list.html",controller:"TrunkListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Trunk",["$resource",function(a){return a("/api/trunks/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.trunks",{url:"/trunks",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:13}}})}]),angular.module("xCallyShuttleApp").controller("TrunkViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","socket","$location","Trunk","VoiceContext",function(a,b,c,d,e,f,g,h,i){a.activeSwitch={ +isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.initView=function(){return h.get({id:e.id}).$promise.then(function(b){b.nat=b.nat?b.nat.split(","):[],b.allow=b.allow?b.allow.split(";"):[],b.insecure=b.insecure?b.insecure.split(","):[],b.transport=b.transport?b.transport.split(","):[],a.trunk=b}).then(function(){f.socket.on("trunk:update",function(b){b.name===b.name&&(a.trunk.status=b.status)})})["catch"](function(a){console.error(a),g.path("/tools/trunks/list")})},a.updateTrunk=function(){""===a.trunk.password&&delete a.trunk.password;var b=angular.copy(a.trunk);return b.nat=b.nat.join(","),b.allow=b.allow.join(";"),b.insecure=b.insecure.join(","),b.transport=b.transport.join(","),h.update({id:e.id},b).$promise.then(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){c.show(a.data.message,"danger")})},a.getContexts=function(){return i.get().$promise.then(function(b){a.voiceContexts=b.rows})["catch"](function(a){c.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.trunks.view",{url:"/view/:id",templateUrl:"app/tools/trunk/view/view.html",controller:"TrunkViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.tools.trunks.view.settings",{url:"/settings",templateUrl:"app/tools/trunk/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("TrunkWizardCtrl",["$scope","WizardHandler","$location","xAlert","Trunk",function(a,b,c,d,e){a.initWizard=function(){a.forms={},a.item={context:"from-voip-provider"}},a.next=function(){b.wizard().next()},a.previous=function(){b.wizard().previous()},a.exitValidation=function(a){return a},a.createItem=function(){return a.item.fromuser=a.item.defaultuser,a.item.fromdomain=a.item.host,e.save(a.item).$promise.then(function(){c.path("/tools/trunks/list")})["catch"](function(a){d.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.trunks.wizard",{url:"/wizard",templateUrl:"app/tools/trunk/wizard/wizard.html",controller:"TrunkWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("VariableListCtrl",["$scope","$uibModal","Variable","gridOptions",function(a,b,c,d){a.initView=function(){var b={exporterCsvFilename:"variables.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:160,buttons:[{"class":"blue-hoki",href:"/tools/variables/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=d.gridOptions(c,b,a)},a.createItem=function(){var c=b.open({animation:!0,templateUrl:"app/tools/variable/list/list.create.modal.html",controller:"VariableListCreateCtrl"});c.result.then(function(b){console.log(b),a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("VariableListCreateCtrl",["$scope","$translate","$uibModalInstance","Variable","xAlert",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return d.save(a.item).$promise.then(function(a){e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){e.show(a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.variables.list",{url:"/list",templateUrl:"app/tools/variable/list/list.html",controller:"VariableListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Variable",["$resource",function(a){return a("/api/variables/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.variables",{url:"/variables",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:13}}})}]),angular.module("xCallyShuttleApp").controller("VariableViewCtrl",["$scope","$translate","$stateParams","xAlert","Variable",function(a,b,c,d,e){a.getVariable=function(){return e.get({id:c.id}).$promise.then(function(b){a.variable=b})["catch"](function(a){d.show(a.data.message,"danger")})},a.updateVariable=function(){return e.update({id:c.id},a.variable).$promise.then(function(){d.show(b.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){d.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.variables.view",{url:"/view/:id",templateUrl:"app/tools/variable/view/view.html",controller:"VariableViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.tools.variables.view.settings",{url:"/settings",templateUrl:"app/tools/variable/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("YourdashboardListCloneModalCtrl",["$scope","$uibModalInstance",function(a,b){a.forms={dashboard:void 0},a.item={},a.ok=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("YourdashboardListCreateModalCtrl",["$scope","$uibModalInstance",function(a,b){a.forms={dashboard:void 0},a.item={},a.ok=function(){a.item.model=JSON.stringify({title:a.item.name}),b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("YourdashboardListCtrl",["$scope","$http","$translate","xAlert","Modal","$uibModal","$log","YourDashboard","gridOptions",function(a,b,c,d,e,f,g,h,i){a.initView=function(){var b={exporterCsvFilename:"voice_contexts.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:220,buttons:[{"class":"green",href:"/tools/yourdashboards/show/{{row.entity.id}}",name:"view"},{"class":"blue-hoki",href:"/tools/yourdashboards/view/{{row.entity.id}}/settings",name:"settings"},{"class":"{{row.entity.defaultEntry ? 'red-sunglo disabled' : 'red-sunglo'}}",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"},{"class":"purple",name:"clone",onClick:"grid.appScope.clone(row.entity.id)"}]}]};a.gridOptions=i.gridOptions(h,b,a)},a.create=function(){var b=f.open({animation:!0,templateUrl:"app/tools/yourdashboard/list/create.modal.html",controller:"YourdashboardListCreateModalCtrl"});b.result.then(function(b){return h.save(b).$promise.then(function(){d.show(c.instant("MESSAGE_WELL_DONE"),"success"),a.gridOptions.getPage()})["catch"](function(a){console.error(a),d.show(a.message,"danger")})},function(){g.info("Modal dismissed at: "+new Date)})},a.clone=function(b){var e=f.open({animation:!0,templateUrl:"app/tools/yourdashboard/list/clone.modal.html",controller:"YourdashboardListCloneModalCtrl"});e.result.then(function(e){return h.save({id:b,controller:"clone"},e).$promise.then(function(){d.show(c.instant("MESSAGE_WELL_DONE"),"success"),a.gridOptions.getPage()})["catch"](function(a){console.error(a),d.show(a.message,"danger")})},function(){g.info("Modal dismissed at: "+new Date)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.yourdashboards.list",{url:"/list",templateUrl:"app/tools/yourdashboard/list/list.html",controller:"YourdashboardListCtrl"})}]),angular.module("xCallyShuttleApp").controller("LeaveEditedDashboardModalCtrl",["$scope","$uibModalInstance",function(a,b){a.close=function(){b.close()},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("YourdashboardShowCtrl",["$scope","$rootScope","localStorageService","xAlert","$translate","Auth","$stateParams","$location","$uibModal","$log","YourDashboard",function(a,b,c,d,e,f,g,h,i,j,k){a.Auth=f,a.editMode=!1,a.getDashboard=function(){return k.get({id:g.id}).$promise.then(function(b){var c={name:"dashboard",structure:"4-8",enableconfirmdelete:!0,maximizable:!0,collapsible:!0};b.model=JSON.parse(b.model||'{"title":"Dashboard"}'),b.editable=!(!f.isAdmin()||!b.editable),a.dashboard=_.merge(c,b)})["catch"](function(a){h.path("/tools/yourdashboards/list")})},a.$on("$locationChangeStart",function(b,c,d){if(a.editMode){b.preventDefault();var e=i.open({animation:!0,templateUrl:"app/tools/yourdashboard/show/leaveEditedDashboard.modal.html",controller:"LeaveEditedDashboardModalCtrl"});e.result.then(function(b){a.editMode=!1;var d=location.protocol+"//"+location.host;h.path(c.replace(d,""))},function(){j.info("Modal dismissed at: "+new Date)})}});var l=function(b,c,f){var h=angular.copy(a.dashboard);return h.name=a.dashboard.model.title,h.model=JSON.stringify(h.model),k.update({id:g.id},h).$promise.then(function(){d.show(e.instant("MESSAGE_DASHBOARD_SAVED")+"!","success"),a.editMode=!1})["catch"](function(b){d.show(b.message,"danger"),h.model=JSON.parse(h.model),h.name="dashboard",a.dashboard=h})};a.$on("adfDashboardChanged",l),a.$on("adfIsEditMode",function(){a.editMode=!0}),a.$on("destroy",function(){console.log("main dashboard")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.yourdashboards.show",{url:"/show/:id",templateUrl:"app/tools/yourdashboard/show/show.html",controller:"YourdashboardShowCtrl"})}]),angular.module("xCallyShuttleApp").controller("YourdashboardViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","$location",function(a,b,c,d,e,f){a.radioSwitch={isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.getDashboard=function(){b.get("/api/dashboards/"+e.id).success(function(b){delete b.model,a.dashboard=b}).error(function(a){f.path("/tools/yourdashboards/list")})},a.updateDashboard=function(){var f=angular.copy(a.dashboard);b.put("/api/dashboards/"+e.id,f).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(b){c.show(d.instant(b.message),"danger"),a.dashboard=f})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.yourdashboards.view",{url:"/view/:id",templateUrl:"app/tools/yourdashboard/view/view.html",controller:"YourdashboardViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.tools.yourdashboards.view.settings",{url:"/settings",templateUrl:"app/tools/yourdashboard/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").factory("YourDashboard",["$resource",function(a){return a("/api/dashboards/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.yourdashboards",{url:"/yourdashboards",template:"
","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:2}}})}]),angular.module("xCallyShuttleApp").controller("ZendeskListCtrl",["$scope","ZendeskAccount","gridOptions","xAlert","$translate",function(a,b,c,d,e){a.initView=function(){var d={exporterCsvFilename:"zendesk_account.csv",columnDefs:[{name:"name",displayName:"APPLICATION_NAME"},{name:"username"},{name:"remoteUri",displayName:"APPLICATION_URI"},{name:"action",buttons:[{"class":"blue-hoki",href:"/zendesk/view/{{row.entity.id}}/account",name:"account"},{"class":"green-jungle",name:"check",displayName:"APPLICATION_CHECK",onClick:"grid.appScope.checkAccount(row.entity.id)"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,d,a)},a.checkAccount=function(a){return b.check({id:a}).$promise.then(function(){d.show(e.instant("MESSAGE_ACCOUNT_VERIFIED"),"success")})["catch"](function(){d.show(e.instant("MESSAGE_ACCOUNT_INVALID"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.zendesk.list",{url:"/list",templateUrl:"app/zendesk/list/list.html",controller:"ZendeskListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.zendesk.view.configurations",{url:"/configurations",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ZendeskViewConfigurationListCtrl",["$scope","$stateParams","$translate","gridOptions","ZendeskConfiguration","$uibModal",function(a,b,c,d,e,f){a.initView=function(){var c={exporterCsvFilename:"zendesk_configurations.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/zendesk/view/{{row.entity.AccountId}}/configurations/view/{{row.entity.id}}",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=d.gridOptions(e,c,a,{accountId:b.id})},a.createItem=function(){var b=f.open({animation:!0,templateUrl:"app/zendesk/view/configuration/list/create.modal.html",controller:"ZendeskCreateConfigurationCtrl"});b.result.then(function(){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("ZendeskCreateConfigurationCtrl",["$scope","$translate","$uibModalInstance","ZendeskConfiguration","xAlert","$stateParams","channel",function(a,b,c,d,e,f,g){a.form={},a.item={},a.channels=g,a.item.channel="voice",a.save=function(){return d.save({accountId:f.id},a.item).$promise.then(function(a){e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){e.error(a)})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.zendesk.view.configurations.list",{url:"/list",templateUrl:"app/zendesk/view/configuration/list/list.html",controller:"ZendeskViewConfigurationListCtrl"})}]),angular.module("xCallyShuttleApp").controller("ZendeskViewConfigurationViewCtrl",["$scope","$stateParams","$filter","$translate","socket","ZendeskConfiguration","xAlert","variable","Variable","ZendeskAccount","Tag","ZendeskField",function(a,b,c,d,e,f,g,h,i,j,k,l){a.$on("$destroy",function(){e.unsyncUpdates("zendesk_field")}),a.config={autoHideScrollbar:!1,theme:"dark",advanced:{updateOnContentResize:!0},setHeight:300,scrollInertia:0},a.fieldType=[{type:"string",title:"String"},{type:"variable",title:"Variable"},{type:"customVariable",title:"Custom Variable"}],a.descFieldType=[{type:"string",title:"String"},{type:"keyValue",title:"Key Value"}],a.groupVariableByGroup=function(a){switch(a.group){case"voice_queue":return"Voice: Queue";default:return"Other"}},a.initView=function(){a.configurationName="",a.subjectConfig=[],a.descriptionConfig=[],a.fieldConfig=[],a.selectedTags={tags:[]},a.variables=h},a.getConfiguration=function(){return f.get({accountId:b.id,id:b.configurationId}).$promise.then(function(b){a.configurationName=b.name,a.subjectConfig=b.Subject,a.descriptionConfig=b.Description,a.fieldConfig=b.Field,a.selectedTags={tags:_.map(b.Tags,function(a){return a.id})},e.socket.on("zendesk_field:remove",function(b){_.remove(a.subjectConfig,{id:b.id}),_.remove(a.descriptionConfig,{id:b.id}),_.remove(a.fieldConfig,{id:b.id})})})["catch"](function(a){g.error(a)})},a.getCustomVariables=function(){return i.get().$promise.then(function(b){a.customVariables=b.rows})["catch"](function(a){g.error(a)})},a.getFields=function(){return j.fields({id:b.id}).$promise.then(function(b){a.accountFields=c("zendesk")(b)})["catch"](function(a){g.error(a)})},a.getTags=function(){return k.get().$promise.then(function(b){a.tags=b.rows})["catch"](function(a){g.error(a)})},a.addItem=function(c){var d={};switch(c){case"subject":case"description":d={type:"string",content:""};break;case"field":d={content:""}}return f.save({accountId:b.id,id:b.configurationId,controller:c},d).$promise.then(function(b){switch(c){case"subject":a.subjectConfig.push(b);break;case"description":a.descriptionConfig.push(b);break;case"field":a.fieldConfig.push(b)}})["catch"](function(a){g.error(a)})},a.changeType=function(b){"variable"===b.type?(b.content="",b.variableName=""):"string"===b.type?(b.VariableId=null,b.variableName=""):"customVariable"===b.type&&(b.VariableId=null,b.content=""),a.updateField(b)},a.updateField=function(a){return l.update({accountId:b.id,configurationId:b.configurationId,id:a.id},a).$promise.then(function(){})["catch"](function(a){g.error(a)})},a.removeItem=function(a){return l["delete"]({accountId:b.id,configurationId:b.configurationId,id:a.id}).$promise.then(function(){g.show(d.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){g.error(a)})},a.changeDescType=function(b){"keyValue"===b.type?(b.content="","string"===b.keyType?(b.VariableId=null,b.variableName=""):"variable"===b.keyType?(b.keyContent="",b.VariableId=null):"customVariable"===b.keyType&&(b.keyContent="",b.variableName="")):"string"===b.type&&(b.VariableId=null,b.variableName="",b.key="",b.keyContent=""),a.updateField(b)},a.changeFieldType=function(b){if(b.content="",b.variableName="",b.nameField="",b.VariableId=null,b.idField){var c=_.find(a.accountFields,"id",b.idField);c&&(c.system_field_options?(b.customField=!1,b.nameField=c.title.toLowerCase()):b.customField=!0)}a.updateField(b)},a.updateTags=function(){return f.update({accountId:b.id,id:b.configurationId,controller:"tags"},a.selectedTags.tags).$promise.then(function(){g.show(d.instant("MESSAGE_WELL_DONE")+".","success")})["catch"](function(a){g.error(a)})},a.getSystemFieldOptions=function(b){if(b){var c=_.find(a.accountFields,"id",b);return c?c.system_field_options?c.system_field_options:null:void 0}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.zendesk.view.configurations.view",{url:"/view/:configurationId",templateUrl:"app/zendesk/view/configuration/view/view.html",controller:"ZendeskViewConfigurationViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("ZendeskViewCtrl",["$scope","$stateParams","$translate","xAlert","Modal","ZendeskAccount",function(a,b,c,d,e,f){a.initView=function(){return f.get({id:b.id}).$promise.then(function(b){a.account=b})["catch"](function(a){d.error(a)})},a.updateItem=function(){return f.update({id:b.id},a.account).$promise.then(function(){d.show(c.instant("MESSAGE_WELL_DONE")+".","success")})["catch"](function(a){d.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.zendesk.view",{url:"/view/:id",templateUrl:"app/zendesk/view/view.html",controller:"ZendeskViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.zendesk.view.account",{url:"/account",templateUrl:"app/zendesk/view/view.account.html"})}]),angular.module("xCallyShuttleApp").controller("ZendeskWizardCtrl",["$scope","$http","$location","$translate","xAlert","WizardHandler","ZendeskAccount",function(a,b,c,d,e,f,g){a.translate=d,a.initWizard=function(){a.$translate=d,a.forms={},a.item={},a.item.authType="password"},a.next=function(){f.wizard().next()},a.exitValidation=function(a){return a},a.createItem=function(){return g.save(a.item).$promise.then(function(){e.show(d.instant("MESSAGE_WELL_DONE")+".","success"),c.path("/zendesk/list")})["catch"](function(a){e.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.zendesk.wizard",{url:"/wizard",templateUrl:"app/zendesk/wizard/wizard.html",controller:"ZendeskWizardCtrl"})}]),angular.module("xCallyShuttleApp").factory("ZendeskAccount",["$resource",function(a){return a("/api/zendesk/accounts/:id/:controller",{id:"@id"},{update:{method:"PUT"},fields:{params:{controller:"fields"},isArray:!0},check:{params:{controller:"check"}}})}]).factory("ZendeskConfiguration",["$resource",function(a){return a("/api/zendesk/accounts/:accountId/configurations/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]).factory("ZendeskField",["$resource",function(a){return a("/api/zendesk/accounts/:accountId/configurations/:configurationId/fields/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.zendesk",{url:"/zendesk",template:"
","abstract":!0})}]),angular.module("xCallyShuttleApp").service("application",function(){var a={applications:[{type:null,name:"APPLICATION_QUEUE",value:"Queue"},{type:null,name:"APPLICATION_PLAYBACK",value:"Playback"},{type:null,name:"Dial",value:"Dial"},{type:"internalDial",name:"APPLICATION_INTERNAL_DIAL",value:"Dial"},{type:"externalDial",name:"APPLICATION_EXTERNAL_DIAL",value:"Dial"},{type:null,name:"Cally-Square Project",value:"AGI"},{type:null,name:"GoTo",value:"Goto"},{type:null,name:"Hangup",value:"Hangup"},{type:null,name:"Set",value:"Set"},{type:"custom",name:"Custom",value:"custom"},{type:null,name:"APPLICATION_VOICEMAIL",value:"Voicemail"}],queueOptions:[{value:"C",name:"APPLICATION_QUEUE_OPTION_C"},{value:"c",name:"APPLICATION_QUEUE_OPTION_c"},{value:"d",name:"APPLICATION_QUEUE_OPTION_d"},{value:"F",name:"APPLICATION_QUEUE_OPTION_F"},{value:"h",name:"APPLICATION_QUEUE_OPTION_h"},{value:"H",name:"APPLICATION_QUEUE_OPTION_H"},{value:"n",name:"APPLICATION_QUEUE_OPTION_n"},{value:"i",name:"APPLICATION_QUEUE_OPTION_i"},{value:"I",name:"APPLICATION_QUEUE_OPTION_I"},{value:"r",name:"APPLICATION_QUEUE_OPTION_r"},{value:"R",name:"APPLICATION_QUEUE_OPTION_R"},{value:"t",name:"APPLICATION_QUEUE_OPTION_t"},{value:"T",name:"APPLICATION_QUEUE_OPTION_T"},{value:"w",name:"APPLICATION_QUEUE_OPTION_w"},{value:"W",name:"APPLICATION_QUEUE_OPTION_W"},{value:"k",name:"APPLICATION_QUEUE_OPTION_k"},{value:"K",name:"APPLICATION_QUEUE_OPTION_K"},{value:"x",name:"APPLICATION_QUEUE_OPTION_x"},{value:"X",name:"APPLICATION_QUEUE_OPTION_X"}],audioOptions:[{value:"skip",name:"APPLICATION_PLAYBACK_OPTION_SKIP"},{value:"noanswer",name:"APPLICATION_PLAYBACK_OPTION_NOANSWER"},{value:"j",name:"APPLICATION_PLAYBACK_OPTION_J"},{value:"say",name:"APPLICATION_PLAYBACK_OPTION_SAY"}],hangupCauses:[{value:"",name:"--"},{value:"1",name:"APPLICATION_HANGUP_CAUSE_1"},{value:"16",name:"APPLICATION_HANGUP_CAUSE_16"},{value:"17",name:"APPLICATION_HANGUP_CAUSE_17"},{value:"18",name:"APPLICATION_HANGUP_CAUSE_18"},{value:"21",name:"APPLICATION_HANGUP_CAUSE_21"},{value:"22",name:"APPLICATION_HANGUP_CAUSE_22"},{value:"27",name:"APPLICATION_HANGUP_CAUSE_27"},{value:"38",name:"APPLICATION_HANGUP_CAUSE_38"},{value:"41",name:"APPLICATION_HANGUP_CAUSE_41"}],intTypes:[{value:"always",name:"APPLICATION_ALWAYS"},{value:"custom",name:"APPLICATION_CUSTOM"},{value:"list",name:"APPLICATION_FROM_LIST"}],checkUnderscore:function(a){return 0===a.indexOf("_")?a:"_"+a}};return{application:a}}),angular.module("xCallyShuttleApp").factory("Auth",["$location","$rootScope","$http","User","$cookieStore","$q",function(a,b,c,d,e,f){var g={};return e.get("token")&&(g=d.me()),{login:function(a,h){var i=h||angular.noop,j=f.defer();return c.post("/auth/local",{name:a.name,password:a.password,remember:a.remember}).success(function(a){return e.put("role",a.role),e.put("token",a.token),e.put("userId",a.userId),g=d.me({},function(){b.$broadcast("login")}),j.resolve(a),i()}).error(function(a){return this.logout(),j.reject(a),i(a)}.bind(this)),j.promise},loginWithToken:function(a,c,f){e.put("role",f),e.put("token",a),e.put("userId",c),g=d.me({},function(){b.$broadcast("login")})},logout:function(){c.put("/api/users/"+g.id,{online:!1}).success(function(){e.remove("role"),e.remove("token"),e.remove("userId"),g={},b.$broadcast("logout")}).error(function(a){return a})},createUser:function(a,b){var c=b||angular.noop;return d.save(a,function(b){return e.put("token",b.token),g=d.me(),c(a)},function(a){return this.logout(),c(a)}.bind(this)).$promise},changePassword:function(a,b,c){var e=c||angular.noop;return d.changePassword({id:g.id},{oldPassword:a,newPassword:b},function(a){return e(null,a)},function(a){return e(a)}).$promise},getCurrentUser:function(){return g},isLoggedIn:function(){return g.hasOwnProperty("role")},isLoggedInAsync:function(a){g.hasOwnProperty("$promise")?g.$promise.then(function(){a(!0)})["catch"](function(){a(!1)}):a(g.hasOwnProperty("role")?!0:!1)},isAdmin:function(){return"admin"===(e.get("role")||g.role)},isUser:function(){return"user"===(e.get("role")||g.role)},isAgent:function(){return"agent"===(e.get("role")||g.role)},getRole:function(){return g.role},getToken:function(){return e.get("token")}}}]),angular.module("xCallyShuttleApp").service("automations",function(){var a={mail:{conditions:[{name:"APPLICATION_STATUS",value:"status",type:"select",arr:[{name:"APPLICATION_STATUS_NEW",value:"NEW"},{name:"APPLICATION_STATUS_OPEN",value:"OPEN"},{name:"APPLICATION_STATUS_CLOSED",value:"CLOSED"}],operators:[{value:"equals",name:"APPLICATION_EQUALS_TO"},{value:"not_equals",name:"APPLICATION_NOT_EQUALS_TO"}]},{name:"APPLICATION_HOURS_SINCE_CREATED",value:"createdAt",type:"input",operators:[{value:"greater_or_equal",name:"APPLICATION_GTE_TO"},{value:"less_or_equal",name:"APPLICATION_LTE_TO"},{value:"greater",name:"APPLICATION_GREATER_THAN"},{value:"less",name:"APPLICATION_LESS_THAN"}]}],actions:[{name:"APPLICATION_STATUS",value:"status"}]},fax:{conditions:[{name:"APPLICATION_STATUS",value:"status",type:"select",arr:[{name:"APPLICATION_STATUS_NEW",value:"NEW"},{name:"APPLICATION_STATUS_OPEN",value:"OPEN"},{name:"APPLICATION_STATUS_CLOSED",value:"CLOSED"}],operators:[{value:"equals",name:"APPLICATION_EQUALS_TO"},{value:"not_equals",name:"APPLICATION_NOT_EQUALS_TO"}]},{name:"APPLICATION_HOURS_SINCE_CREATED",value:"createdAt",type:"input",operators:[{value:"greater_or_equal",name:"APPLICATION_GTE_TO"},{value:"less_or_equal",name:"APPLICATION_LTE_TO"},{value:"greater",name:"APPLICATION_GREATER_THAN"},{value:"less",name:"APPLICATION_LESS_THAN"}]}],actions:[{name:"APPLICATION_STATUS",value:"status"}]}},b=["mail","chat","fax"];return{services:a,channels:b}}),angular.module("xCallyShuttleApp").service("channel",function(){var a=[{name:"Voice",value:"voice"}];return a}),angular.module("xCallyShuttleApp").service("desk_com",function(){var a=[{id:"priority",label:"Priority",custom:!1,data:{choices:[1,2,3,4,5,6,7,8,9,10]}},{id:"status",label:"Status",custom:!1,data:{choices:["new","open","pending","resolved","closed"]}},{id:"type",label:"Type",custom:!1,data:{choices:["chat","twitter","email","qna","facebook","phone"]}}];return{fields:a}}),angular.module("xCallyShuttleApp").controller("FooterController",["$scope","$http",function(a,b){a.year=moment().year(),a.$on("$includeContentLoaded",function(){Layout.initFooter()}),a.initFooter=function(){b.get("/api/settings/info").success(function(b){a.info=b}).error(function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").controller("HeaderController",["$scope","$rootScope","$location","$state","$http","$notification","Auth","xAlert","socket","ngAudio","settings","toastr","localStorageService","Agent","SmsReport","MailReport","ChatReport","ChatRoom","xNotification","$timeout","$translate","$window","User","Pause","Action","FaxReport",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z){function A(){return a.headerAgent=g.getCurrentUser(),a.readyTimer=1e3*moment().unix(),x.get().$promise.then(function(b){a.headerPauses=b.rows,i.syncUpdates("pause",a.headerPauses)})["finally"](function(){i.socket.on("agent:save",function(b){a.headerAgent.id===b.id&&(_.merge(a.headerAgent,b),b.voicePause&&b.mailPause&&b.chatPause&&b.faxPause&&b.smsPause||(a.readyTimer=1e3*moment().unix()))})})["catch"](function(a){console.log("Error synchronizing agent status:",a)})}function B(a,b,c){return null==b&&(b=100),null==c&&(c="..."),a.length>b?a.substring(0,b-c.length)+c:a}a.moment=moment,a.headerPause=function(b,c,d){return y.save({name:b,agent:a.headerAgent.id,type:c||"DEFAULT PAUSE",data4:c||"DEFAULT PAUSE",channel:d||"all"}).$promise.then(function(){h.show(u.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.show(u.instant(a.message||a.data.message||a.translatedMessage||a.data.translatedMessage),"danger")})},"agent"===g.getCurrentUser().role&&A(),i.socket.on("report_chat:save",function(a){j.load("api/xchatty/assets?resource=notification/xc_blubb.mp3").play(),v.Notification&&f("CHAT CHANNEL",{icon:"assets/images/media/channels/chat64.png",body:"NEW Incoming Chat Visitor!",delay:1e3*a.timeslot});var b=""+u.instant("APPLICATION_FROM")+": "+a.visitorname+"
"+u.instant("APPLICATION_EMAIL")+": "+a.visitoremail;"queue"===a.application&&(b+="
"+u.instant("APPLICATION_QUEUE")+": "+a.queuename),s.show(u.instant("APPLICATION_NEW_CHAT_REQUEST"),b,"chat",1e3*a.timeslot,function(){return q.get({id:a.id,controller1:"accept",controller2:a.uniqueid}).$promise.then(function(){h.show("Chat properly assigned","success")})["catch"](function(a){switch(a.status){case 504:h.show(u.instant("MESSAGE_CHAT_ALREADY_MANAGED"),"info");break;default:h.error(a)}})},function(){return q.get({id:a.id,controller1:"reject"}).$promise.then(function(){h.show("Chat properly rejected","success")})["catch"](function(a){h.show(a.data.message,"danger")})})}),i.socket.on("user_has_chat_room:save",function(b){var c;return r.get({id:Number(b.ChatRoomId)}).$promise.then(function(b){c=b;var d=_.find(a.workspaces,{id:Number(c.id),type:"chatRoom"});d?d.name=a.getFullnames(c):a.workspaces.push({id:c.id,name:a.getFullnames(c),type:"chatRoom","class":"icon-bubble",unread:1})})["catch"](function(a){console.error(a)})}),i.socket.on("chat_message:save",function(b){var c;if(b.UserId!==g.getCurrentUser().id){var d=_.find(a.workspaces,{id:Number(b.ChatRoomId),type:"chatRoom"});if(!d)return r.get({id:Number(b.ChatRoomId)}).$promise.then(function(b){c=b,a.workspaces.push({id:c.id,name:a.getFullnames(b),type:"chatRoom","class":"icon-bubble",unread:1})})["catch"](function(a){console.error(a)})}}),a.getFullnames=function(a){var b=_.map(a.Users,"fullname");return a.ChatVisitor&&b.unshift(a.ChatVisitor.fullname),_.without(b,g.getCurrentUser().fullname).join(", ")},a.toggleQuickSidebar=function(){k.layout.pageQuickSidebarOpened=!k.layout.pageQuickSidebarOpened,k.layout.pageQuickSidebarOpened||m.remove("chatRoomId")};var C=function(){return v.Notification},D=function(){b.settings.layout.onFocus=!0},E=function(){b.settings.layout.onFocus=!1};v.onfocus=D,v.onblur=E,a.toogleSidebar=function(){k.layout.pageSidebarClosed=!k.layout.pageSidebarClosed,m.set("sidebarClosed",k.layout.pageSidebarClosed)},a.initHeader=function(){var c=j.load("api/xchatty/assets?resource=notification/xc_blubb.mp3");"agent"===g.getCurrentUser().role&&(i.socket.on("report_mail:save",function(c){var d=_.find(a.workspaces,{id:c.roomid,type:"mailRoom"});if(!d){j.load("api/xchatty/assets?resource=notification/xc_blubb.mp3").play();var e=""+u.instant("APPLICATION_ACCOUNT")+": "+c.accountname+"
"+u.instant("APPLICATION_FROM")+": "+c.from+"
"+u.instant("APPLICATION_SUBJECT")+": "+B(c.subject,30,"...");"queue"===c.application&&(e+="
"+u.instant("APPLICATION_QUEUE")+": "+c.queuename),s.show(u.instant("APPLICATION_NEW_MAIL_REQUEST"),e,"mail",1e3*c.timeslot,function(){return p.get({id:c.id,controller1:"accept",controller2:c.uniqueid}).$promise.then(function(){var b=_.find(a.workspaces,{id:c.roomid,type:"mailRoom"});b?b.active=!0:a.workspaces.push({id:c.roomid,name:c.subject,type:"mailRoom","class":"icon-envelope",active:!0,unread:0})})["catch"](function(a){switch(a.status){case 504:h.show(u.instant("MESSAGE_MAIL_ALREADY_MANAGED"),"info");break;default:h.error(a)}})},function(){return p.get({ +id:c.id,controller1:"reject"}).$promise["catch"](function(a){h.show(a.data.message,"danger")})}),C&&!b.settings.layout.onFocus?f("MAIL CHANNEL",{icon:"assets/images/media/channels/mail64.png",body:"NEW Incoming Mail Message!",delay:1e3*c.timeslot}):console.log("Notification API not supported in your browser")}}),i.socket.on("report_sms:save",function(b){c.play();var d=""+u.instant("APPLICATION_FROM")+": "+b.accountname+"
"+u.instant("APPLICATION_SMS")+": "+b.accountnumber;"queue"===b.application&&(d+="
"+u.instant("APPLICATION_QUEUE")+": "+b.queuename),s.show(u.instant("APPLICATION_NEW_SMS_REQUEST"),d,"sms",1e3*b.timeslot,function(){return o.get({id:b.id,controller1:"accept",controller2:b.uniqueid}).$promise.then(function(){var c=_.find(a.workspaces,{id:b.roomid,type:"smsRoom"});c?c.active=!0:a.workspaces.push({id:b.roomid,name:b.from,type:"smsRoom","class":"glyphicon glyphicon-comment",active:!0})})["catch"](function(a){h.show(a.data.message,"danger")})},function(){return o.get({id:b.id,controller1:"reject"}).$promise.then(function(){h.show("SMS properly rejected","success")})["catch"](function(a){h.show(a.data.message,"danger")})}),C?f("SMS CHANNEL",{icon:"assets/images/media/channels/chat64.png",body:"NEW Incoming SMS Message!",delay:1e3*b.timeslot}):console.log("Notification API not supported in your browser")}),i.socket.on("report_fax:save",function(c){j.load("api/xchatty/assets?resource=notification/xc_blubb.mp3").play();var d=""+u.instant("APPLICATION_ACCOUNT")+": "+c.accountname+"
"+u.instant("APPLICATION_PHONE")+": "+c.from;"queue"===c.application&&(d+="
"+u.instant("APPLICATION_QUEUE")+": "+c.queuename),s.show(u.instant("APPLICATION_NEW_FAX_REQUEST"),d,"fax",1e3*c.timeslot,function(){return z.get({id:c.id,controller1:"accept",controller2:c.uniqueid}).$promise.then(function(){var b=_.find(a.workspaces,{id:c.roomid,type:"faxRoom"});b?b.active=!0:a.workspaces.push({id:c.roomid,name:c.subject,type:"faxRoom","class":"icon-paper-plane",active:!0})})["catch"](function(a){switch(a.status){case 504:h.show(u.instant("MESSAGE_FAX_ALREADY_MANAGED"),"info");break;default:h.error(a)}})},function(){return z.get({id:c.id,controller1:"reject"}).$promise["catch"](function(a){h.error(a)})}),C&&!b.settings.layout.onFocus?f("FAX CHANNEL",{icon:"assets/images/media/channels/telephone124.png",body:"NEW Incoming Fax Message!",delay:1e3*c.timeslot}):console.log("Notification API not supported in your browser")}))},a.logout=function(){return e.get("/auth/local/logout").success(function(){g.logout(),c.path("/login")}).error(function(a){console.error(a)})},a.isActive=function(a){return a===c.path()}}]),angular.module("xCallyShuttleApp").service("interval",function(){var a={months:[{value:"always",name:"APPLICATION_ALWAYS"},{value:"jan",name:"APPLICATION_JANUARY"},{value:"feb",name:"APPLICATION_FEBRUARY"},{value:"mar",name:"APPLICATION_MARCH"},{value:"apr",name:"APPLICATION_APRIL"},{value:"may",name:"APPLICATION_MAY"},{value:"jun",name:"APPLICATION_JUNE"},{value:"jul",name:"APPLICATION_JULY"},{value:"aug",name:"APPLICATION_AUGUST"},{value:"sep",name:"APPLICATION_SEPTEMBER"},{value:"oct",name:"APPLICATION_OCTOBER"},{value:"nov",name:"APPLICATION_NOVEMBER"},{value:"dec",name:"APPLICATION_DECEMBER"}],monthsNumber:[{value:"always",name:"APPLICATION_ALWAYS"},{value:"1",name:"APPLICATION_JANUARY"},{value:"2",name:"APPLICATION_FEBRUARY"},{value:"3",name:"APPLICATION_MARCH"},{value:"4",name:"APPLICATION_APRIL"},{value:"5",name:"APPLICATION_MAY"},{value:"6",name:"APPLICATION_JUNE"},{value:"7",name:"APPLICATION_JULY"},{value:"8",name:"APPLICATION_AUGUST"},{value:"9",name:"APPLICATION_SEPTEMBER"},{value:"10",name:"APPLICATION_OCTOBER"},{value:"11",name:"APPLICATION_NOVEMBER"},{value:"12",name:"APPLICATION_DECEMBER"}],daysOfWeek:[{value:"always",name:"APPLICATION_ALWAYS"},{value:"mon",name:"APPLICATION_MONDAY"},{value:"tue",name:"APPLICATION_TUESDAY"},{value:"wed",name:"APPLICATION_WEDNESDAY"},{value:"thu",name:"APPLICATION_THURSDAY"},{value:"fri",name:"APPLICATION_FRIDAY"},{value:"sat",name:"APPLICATION_SATURDAY"},{value:"sun",name:"APPLICATION_SUNDAY"}],daysOfMonth:["always",1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31]};return{interval:a}}),angular.module("xCallyShuttleApp").factory("Modal",["$rootScope","$uibModal",function(a,b){function c(c,d){var e=a.$new();return c=c||{},d=d||"modal-default",angular.extend(e,c),b.open({templateUrl:"components/modal/delete.html",windowClass:d,scope:e})}return{confirm:{"delete":function(a){return a=a||angular.noop,function(){var b,d=Array.prototype.slice.call(arguments),e=d.shift();b=c({modal:{dismissable:!0,title:"Confirm Delete",html:"

Are you sure you want to delete"+(e?" "+e+"":" selected items")+"?

",buttons:[{classes:"btn red",text:"Delete",click:function(a){b.close(a)}},{classes:"btn default",text:"Cancel",click:function(a){b.dismiss(a)}}]}},"over-topbar center"),b.result.then(function(b){a.apply(b,d)})}}}}}]),angular.module("xCallyShuttleApp").service("report",["ReportAgent","ReportCall","ReportMailSession","ReportMember","ReportQueue","ReportIntegration","ReportChatSession","ReportSmsSession","Contact","Recording","ReportSquare",function(a,b,c,d,e,f,g,h,i,j,k){var l=[{value:"report_agent_history",resource:a},{value:"report_call_history",resource:b},{value:"report_mail_session_history",resource:c},{value:"report_member_history",resource:d},{value:"report_queue_history",resource:e},{value:"report_integration_history",resource:f},{value:"report_chat_session_history",resource:g},{value:"report_sms_session_history",resource:h},{value:"cm_contacts",resource:i},{value:"voice_recordings",resource:j},{value:"report_square_history",resource:k},{value:"report_square_details_history",resource:k}];return{tables:l}}]),angular.module("xCallyShuttleApp").controller("SidebarController",["$scope","$rootScope","$resource","$location","Auth","Dashboard","Integration","xAlert","$stateParams","socket",function(a,b,c,d,e,f,g,h,i,j){a.Auth=e,a.userModules={},a.$on("$includeContentLoaded",function(){Metronic.init(),Layout.initSidebar()}),a.initSidebar=function(){e.getCurrentUser().Modules.forEach(function(b){a.userModules[b.id]=!0})},a.getSidebarDashboards=function(){return f.get().$promise.then(function(b){a.dashboards=b.rows,j.syncUpdates("dashboard",a.dashboards)})["catch"](function(){h.show("Error loading your dashboards","danger")})},a.getSidebarIntegrations=function(){return e.isAdmin()||a.userModules[19]?g.get().$promise.then(function(b){a.integrations=b.rows,j.syncUpdates("integration",a.integrations)})["catch"](function(a){h.show(a.message,"danger")}):void 0},a.$on("destroy",function(){j.unsyncUpdates("dashboard"),j.unsyncUpdates("integration")})}]),angular.module("xCallyShuttleApp").factory("socket",["$rootScope","$window","socketFactory","Auth",function(a,b,c,d){var e=d.getCurrentUser(),f=io("",{query:"token="+d.getToken()+"&userId="+e.id+"&name="+e.name+"&role="+(e.role||"agent")+"&source=browser",path:"/socket.io-client"}),g=c({ioSocket:f});return a.$on("logout",function(){g&&(g.disconnect(!0),b.location.reload())}),{socket:g,syncUpdates:function(a,b,c){c=c||angular.noop,g.on(a+":save",function(a){var d=_.find(b,{id:a.id}),e=b.indexOf(d),f="created";d?(_.merge(b[e],a),f="updated"):b.unshift(a),c(f,a,b)}),g.on(a+":remove",function(a){var d="deleted";_.remove(b,{id:a.id}),c(d,a,b)})},unsyncUpdates:function(a){g.removeAllListeners(a+":save"),g.removeAllListeners(a+":remove")},syncUpdatesByAttributes:function(a,b,c,d){d=d||angular.noop,g.on(a+":save",function(a){var e=!0;if(_.forIn(b,function(b,c){return a[c]&&a[c]===b?!0:e=!1}),e){var f=_.find(c,{id:a.id}),g=c.indexOf(f),h="created";f?(_.merge(c[g],a),h="updated"):c.unshift(a),d(h,a,c)}}),g.on(a+":remove",function(a){var b="deleted";_.remove(c,{id:a.id}),d(b,a,c)})},syncMailMessageUpdates:function(a,b,c,d){d=d||angular.noop,g.on(a+":"+b+":save",function(a){var b=_.find(c,{id:a.id}),e=c.indexOf(b),f="created";b?(_.merge(c[e],a),f="updated"):c.unshift(a),d(f,a)}),g.on(a+":"+b+":remove",function(a){var b="deleted";_.remove(c,{id:a.id}),d(b,a,c)})},unsyncMailMessageUpdates:function(a,b){g.removeAllListeners(a+":"+b+":save"),g.removeAllListeners(a+":"+b+":remove")},syncFaxMessageUpdates:function(a,b,c,d){d=d||angular.noop,g.on(a+":"+b+":save",function(a){var b=_.find(c,{id:a.id}),e=c.indexOf(b),f="created";b?(_.merge(c[e],a),f="updated"):c.unshift(a),d(f,a)}),g.on(a+":"+b+":remove",function(a){var b="deleted";_.remove(c,{id:a.id}),d(b,a,c)})},unsyncFaxMessageUpdates:function(a,b){g.removeAllListeners(a+":"+b+":save"),g.removeAllListeners(a+":"+b+":remove")}}}]),angular.module("xCallyShuttleApp").service("triggers",["VoiceQueue",function(a){var b={voice:{conditions:[{name:"APPLICATION_QUEUE",value:"queue",type:"select",resource:a,resValue:"name",operators:[{value:"equals",name:"APPLICATION_EQUALS_TO"},{value:"not_equals",name:"APPLICATION_NOT_EQUALS_TO"}]},{name:"APPLICATION_CALL_STATUS",value:"lastevent",type:"select",arr:[{name:"ringing",value:"called"},{name:"up",value:"connect"},{name:"hangup",value:"complete"},{name:"rejected",value:"rejected"},{name:"abandoned",value:"abandoned"}],operators:[{value:"equals",name:"APPLICATION_EQUALS_TO"},{value:"not_equals",name:"APPLICATION_NOT_EQUALS_TO"}]}],actions:[{name:"APPLICATION_CONTACT_MANAGER",value:"contactManager"},{name:"APPLICATION_INTEGRATIONS",value:"integration",propertyField:"select"},{name:"APPLICATION_MOTION_BAR",value:"motionbar",propertyField:"select"},{name:"APPLICATION_JSCRIPTY",value:"jscripty",propertyField:"select"},{name:"APPLICATION_URL_FORWARD",value:"urlForward"}]}},c=["voice"];return{services:b,channels:c}}]),angular.module("xCallyShuttleApp").service("variable",function(){var a=[{title:"Unique ID",name:"uniqueid",group:"voice_queue"},{title:"Caller Number",name:"calleridnum",group:"voice_queue"},{title:"Caller Name",name:"calleridname",group:"voice_queue"},{title:"Queue",name:"queue",group:"voice_queue"},{title:"Called Number",name:"destcalleridnum",group:"voice_queue"},{title:"Called Name",name:"destcalleridname",group:"voice_queue"},{title:"Hold Time",name:"holdtime",group:"voice_queue"},{title:"Talk Time",name:"talktime",group:"voice_queue"},{title:"Connected Time",name:"agentconnectAt",group:"voice_queue"},{title:"Called Time",name:"agentcalledAt",group:"voice_queue"},{title:"DNID",name:"destexten",group:"voice_queue"},{title:"Complete Time",name:"agentcompleteAt",group:"voice_queue"},{title:"No Answer Time",name:"agentringnoanswerAt",group:"voice_queue"}];return a}),function(a,b){angular.module("adf.widget.counter",["adf.provider"]).config(["dashboardProvider",function(a){a.widget("counter",{title:"Single Value",description:"Single Value for db results",templateUrl:"{widgetsPath}/counter/src/view.html",controller:"apiwidgetCounterViewCtrl",edit:{templateUrl:"{widgetsPath}/counter/src/edit.html",controller:"apiwidgetCounterEditCtrl"}})}]).service("apiServiceCounter",["Widget",function(a){return{get:function(b){return a.get({select:b.select,condition:encodeURIComponent(b.condition),table:b.report.replace("_history",""),controller:"counter"}).$promise.then(function(a){return a})["catch"](function(a){console.log(a)})}}}]).controller("apiwidgetCounterEditCtrl",["$scope","report",function(a,b){a.config.reportTables=b.tables,a.config.colors=[{name:"Grey",value:"grey"},{name:"Grey 2",value:"grey-cascade"},{name:"Grey 3",value:"grey-silver"},{name:"Grey 4",value:"grey-steel"},{name:"Grey 5",value:"grey-carrara"},{name:"Grey 6",value:"grey-gallery"},{name:"Blue",value:"blue"},{name:"Blue 2",value:"blue-hoki"},{name:"Blue 3",value:"blue-steel"},{name:"Blue 4",value:"blue-madison"},{name:"Blue 5",value:"blue-chambray"},{name:"Blue 6",value:"blue-ebonyclay"},{name:"Red",value:"red"},{name:"Red 2",value:"red-pink"},{name:"Red 3",value:"red-sunglo"},{name:"Red 4",value:"red-intense"},{name:"Red 5",value:"red-thunderbird"},{name:"Red 6",value:"red-flamingo"},{name:"Green",value:"green"},{name:"Green 2",value:"green-meadow"},{name:"Green 3",value:"green-seagreen"},{name:"Green 4",value:"green-turquoise"},{name:"Green 5",value:"green-haze"},{name:"Green 6",value:"green-jungle"},{name:"Purple",value:"purple"},{name:"Purple 2",value:"purple-plum"},{name:"Purple 3",value:"purple-medium"},{name:"Purple 4",value:"purple-studio"},{name:"Purple 5",value:"purple-wisteria"},{name:"Purple 6",value:"purple-seance"},{name:"Yellow",value:"yellow"},{name:"Yellow 2",value:"yellow-gold"},{name:"Yellow 3",value:"yellow-casablanca"},{name:"Yellow 4",value:"yellow-crusta"},{name:"Yellow 5",value:"yellow-lemon"},{name:"Yellow 6",value:"yellow-saffron"}],a.config.icons=[{name:"Talk bubbles",value:"fa-comments"},{name:"Bar Chart",value:"fa-bar-chart"},{name:"Shopping Cart",value:"fa-shopping-cart"},{name:"Globe",value:"fa-globe"},{name:"Volume Control Phone",value:"fa-volume-control-phone"},{name:"Comments",value:"fa-comments-o"},{name:"Commenting",value:"fa-commenting-o"},{name:"Coffee",value:"fa-coffee"},{name:"Clock",value:"fa-clock-o"},{name:"Envelope",value:"fa-envelope-o"},{name:"Hourglass",value:"fa-hourglass-half"},{name:"Percent",value:"fa-percent"}],a.config.select=a.config.select?a.config.select:"COUNT(*)",a.config.timeout=a.config.timeout?a.config.timeout:1,a.config.color=a.config.color?a.config.color:"blue-madison",a.config.icon=a.config.icon?a.config.icon:"fa-comments",a.config.link=a.config.link?a.config.link:"#",a.config.linkText=a.config.linkText?a.config.linkText:"VIEW MORE"}]).controller("apiwidgetCounterViewCtrl",["$scope","$interval","apiServiceCounter",function(a,b,c){a.config.timeout=a.config.timeout?a.config.timeout:1,a.config.condition=a.config.condition?a.config.condition:null,a.config.color=a.config.color?a.config.color:"blue-madison",a.config.icon=a.config.icon?a.config.icon:"fa-comments",a.config.link=a.config.link?a.config.link:"#",a.config.linkText=a.config.linkText?a.config.linkText:"VIEW MORE",a.counterApiCall=function(){a.config.report&&c.get(a.config).then(function(b){b?b.result&&b.result.length>1||_.keys(b.result[0]).length>1?(a.tooManyResults=!0,a.result=null):(a.tooManyResults=!1,null!==_.values(b.result[0])[0]?a.result=_.values(b.result[0])[0].toString():a.result="--"):a.result=null})},a.counterApiCall();var d=b(function(){a.counterApiCall()},1e3*parseInt(a.config.timeout));a.$on("$destroy",function(){b.cancel(d)})}]),angular.module("adf.widget.counter").run(["$templateCache",function(a){a.put("{widgetsPath}/counter/src/edit.html","
{{'APPLICATION_'+$select.selected.value.toUpperCase() | translate}}
 
 
"),a.put("{widgetsPath}/counter/src/view.html",'
{{result}}
{{config.details}}
{{config.linkText}}
')}])}(window),function(a,b){angular.module("adf.widget.pie-chart",["adf.provider"]).config(["dashboardProvider",function(a){a.widget("pie-chart",{title:"Pie-Chart",description:"Display a pie-chart starting from DB values",templateUrl:"{widgetsPath}/pie-chart/src/view.html",controller:"apiWidgetPieChartViewCtrl",edit:{templateUrl:"{widgetsPath}/pie-chart/src/edit.html",controller:"apiWidgetPieChartEditCtrl"}})}]).service("apiServicePieChart",["Widget",function(a){return{get:function(b){return a.get({condition:encodeURIComponent(b.condition),table:b.report.replace("_history",""),fields:b.fields,controller:"piechart"}).$promise.then(function(a){return a})["catch"](function(a){console.log(a)})}}}]).controller("apiWidgetPieChartEditCtrl",["$scope","report",function(a,b){function c(){return a.config.fields||(a.config.fields=[{column:"",alias:""}]),a.config.fields}a.config.reportTables=b.tables,a.config.timeout=a.config.timeout?a.config.timeout:1,a.config.fields=a.config.fields?a.config.fields:[{column:"",alias:""}],a.addField=function(){c().push({})},a.removeField=function(a){c().splice(a,1)}}]).controller("apiWidgetPieChartViewCtrl",["$scope","$interval","apiServicePieChart",function(a,b,c){a.config.timeout=a.config.timeout?a.config.timeout:1,a.pieChartApiCall=function(){a.config.report&&a.config.fields.length&&""!==a.config.fields[0].column&&""!==a.config.fields[0].alias&&c.get(a.config).then(function(b){if(b&&b.result&&1===b.result.length){a.labels=[],a.data=[];for(var c in b.result[0])a.labels.push(c),a.data.push(b.result[0][c])}else a.labels=[],a.data=[]})},a.pieChartApiCall();var d=b(function(){a.pieChartApiCall()},1e3*parseInt(a.config.timeout));a.$on("$destroy",function(){b.cancel(d)})}]),angular.module("adf.widget.pie-chart").run(["$templateCache",function(a){a.put("{widgetsPath}/pie-chart/src/edit.html","
{{'APPLICATION_'+$select.selected.value.toUpperCase() | translate}}
as 1\">
"),a.put("{widgetsPath}/pie-chart/src/view.html",'
')}])}(window),function(a,b){angular.module("adf.widget.table",["adf.provider"]).value("apiServiceUrlTable","/api/widgets/table").config(["dashboardProvider",function(a){a.widget("table",{title:"Table",description:"Show tabbed results from db",templateUrl:"{widgetsPath}/table/src/view.html",controller:"apiWidgetTableViewCtrl",edit:{templateUrl:"{widgetsPath}/table/src/edit.html",controller:"apiWidgetTableEditCtrl"}})}]).service("apiServiceTable",["$q","$http","apiServiceUrlTable",function(a,b,c){return{get:function(d){var e=a.defer();return b.get(c,{params:{condition:encodeURIComponent(d.condition),table:d.report,fields:d.fields}}).success(function(a){a?e.resolve(a):e.reject()}).error(function(a){console.log(a),e.reject()}),e.promise}}}]).controller("apiWidgetTableEditCtrl",["$scope",function(a){function b(){return a.config.fields||(a.config.fields=[{column:"",alias:""}]),a.config.fields}a.config.reportTables=[{name:"Agents",value:"agent"},{name:"Calls",value:"call"},{name:"Dials",value:"dial"},{name:"Members",value:"member"},{name:"Queues",value:"queue"}],a.config.timeout=a.config.timeout?a.config.timeout:1,a.config.height=a.config.height?a.config.height:350,a.config.fields=a.config.fields?a.config.fields:[{column:"",alias:""}],a.addField=function(){b().push({})},a.removeField=function(a){b().splice(a,1)}}]).controller("apiWidgetTableViewCtrl",["$scope","$interval","apiServiceTable",function(a,b,c){a.config.timeout=a.config.timeout?a.config.timeout:1,a.config.height=a.config.height?a.config.height:350,a.config.style={"max-height":a.config.height+"px",overflow:"scroll"},a.tableApiCall=function(){a.config.condition&&a.config.report&&a.config.fields.length&&""!==a.config.fields[0].column&&""!==a.config.fields[0].alias&&c.get(a.config).then(function(b){a.results=b})},a.tableApiCall();var d=b(function(){a.tableApiCall()},1e3*parseInt(a.config.timeout));a.$on("$destroy",function(){b.cancel(d)})}]),angular.module("adf.widget.table").run(["$templateCache",function(a){a.put("{widgetsPath}/table/src/edit.html",'
{{$select.selected.name}}
as
'),a.put("{widgetsPath}/table/src/view.html",'
{{field.alias}}
{{result[field.alias]}}
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
')}])}(window),function(){angular.module("pdf",[]).directive("ngPdf",["$window",function(a){return{restrict:"E",templateUrl:function(a,b){return b.templateUrl?b.templateUrl:"partials/viewer.html"},link:function(b,c,d){var e=d.pdfUrl,f=null,g=d.page?d.page:1,h=d.scale>0?d.scale:1,i=c.find("canvas"),j=i[0],k=j.getContext("2d"),l=angular.element(a);l.on("scroll",function(){b.$apply(function(){b.scroll=l[0].scrollY})}),PDFJS.disableWorker=!0,b.pageNum=g,b.renderPage=function(a){f.getPage(a).then(function(a){var e,f,g,i={};"page-fit"!==d.scale||h?e=a.getViewport(h):(e=a.getViewport(1),f=c[0].clientWidth/e.width,g=c[0].clientHeight/e.height,h=Math.min(f,g)),j.height=e.height,j.width=e.width,i={canvasContext:k,viewport:e},a.render(i).promise.then(function(){"function"==typeof b.onPageRender&&b.onPageRender()})})},b.goPrevious=function(){b.pageToDisplay<=1||(b.pageNum=parseInt(b.pageNum)-1)},b.goNext=function(){b.pageToDisplay>=f.numPages||(b.pageNum=parseInt(b.pageNum)+1)},b.zoomIn=function(){return h=parseFloat(h)+.2,b.renderPage(b.pageToDisplay),h},b.zoomOut=function(){return h=parseFloat(h)-.2,b.renderPage(b.pageToDisplay),h},b.changePage=function(){b.renderPage(b.pageToDisplay)},b.rotate=function(){"rotate0"===j.getAttribute("class")?j.setAttribute("class","rotate90"):"rotate90"===j.getAttribute("class")?j.setAttribute("class","rotate180"):"rotate180"===j.getAttribute("class")?j.setAttribute("class","rotate270"):j.setAttribute("class","rotate0")},PDFJS.getDocument(e,null,null,b.onProgress).then(function(a){"function"==typeof b.onLoad&&b.onLoad(),f=a,b.renderPage(b.pageToDisplay),b.$apply(function(){b.pageCount=a.numPages})},function(a){a&&"function"==typeof b.onError&&b.onError(a)}),b.$watch("pageNum",function(a){b.pageToDisplay=parseInt(a),null!==f&&b.renderPage(b.pageToDisplay)})}}}])}();var Metronic=function(){var a,b=!1,c=!1,d=!1,e=!1,f=[],g="assets/",h="img/",i="plugins/",j="css/",k={blue:"#89C4F4",red:"#F3565D",green:"#1bbc9b",purple:"#9b59b6",grey:"#95a5a6",yellow:"#F8CB00"},l=function(){"rtl"===$("body").css("direction")&&(b=!0),c=!!navigator.userAgent.match(/MSIE 8.0/),d=!!navigator.userAgent.match(/MSIE 9.0/),e=!!navigator.userAgent.match(/MSIE 10.0/),e&&$("html").addClass("ie10"),(e||d||c)&&$("html").addClass("ie")},m=function(){for(var a=0;a .portlet-title > .tools > a.remove",function(a){a.preventDefault();var b=$(this).closest(".portlet");$("body").hasClass("page-portlet-fullscreen")&&$("body").removeClass("page-portlet-fullscreen"),b.find(".portlet-title .fullscreen").tooltip("destroy"),b.find(".portlet-title > .tools > .reload").tooltip("destroy"),b.find(".portlet-title > .tools > .remove").tooltip("destroy"), +b.find(".portlet-title > .tools > .config").tooltip("destroy"),b.find(".portlet-title > .tools > .collapse, .portlet > .portlet-title > .tools > .expand").tooltip("destroy"),b.remove()}),$("body").on("click",".portlet > .portlet-title .fullscreen",function(a){a.preventDefault();var b=$(this).closest(".portlet");if(b.hasClass("portlet-fullscreen"))$(this).removeClass("on"),b.removeClass("portlet-fullscreen"),$("body").removeClass("page-portlet-fullscreen"),b.children(".portlet-body").css("height","auto");else{var c=Metronic.getViewPort().height-b.children(".portlet-title").outerHeight()-parseInt(b.children(".portlet-body").css("padding-top"))-parseInt(b.children(".portlet-body").css("padding-bottom"));$(this).addClass("on"),b.addClass("portlet-fullscreen"),$("body").addClass("page-portlet-fullscreen"),b.children(".portlet-body").css("height",c)}}),$("body").on("click",".portlet > .portlet-title > .tools > a.reload",function(a){a.preventDefault();var b=$(this).closest(".portlet").children(".portlet-body"),c=$(this).attr("data-url"),d=$(this).attr("data-error-display");c?(Metronic.blockUI({target:b,animate:!0,overlayColor:"none"}),$.ajax({type:"GET",cache:!1,url:c,dataType:"html",success:function(a){Metronic.unblockUI(b),b.html(a)},error:function(a,c,e){Metronic.unblockUI(b);var f="Error on reloading the content. Please check your connection and try again.";"toastr"==d&&toastr?toastr.error(f):"notific8"==d&&$.notific8?($.notific8("zindex",11500),$.notific8(f,{theme:"ruby",life:3e3})):alert(f)}})):(Metronic.blockUI({target:b,animate:!0,overlayColor:"none"}),window.setTimeout(function(){Metronic.unblockUI(b)},1e3))}),$('.portlet .portlet-title a.reload[data-load="true"]').click(),$("body").on("click",".portlet > .portlet-title > .tools > .collapse, .portlet .portlet-title > .tools > .expand",function(a){a.preventDefault()})},p=function(){if($().uniform){var a=$("input[type=checkbox]:not(.toggle, .make-switch, .icheck), input[type=radio]:not(.toggle, .star, .make-switch, .icheck)");a.size()>0&&a.each(function(){0===$(this).parents(".checker").size()&&$(this).show()})}},q=function(){$().iCheck&&$(".icheck").each(function(){var a=$(this).attr("data-checkbox")?$(this).attr("data-checkbox"):"icheckbox_minimal-grey",b=$(this).attr("data-radio")?$(this).attr("data-radio"):"iradio_minimal-grey";a.indexOf("_line")>-1||b.indexOf("_line")>-1?$(this).iCheck({checkboxClass:a,radioClass:b,insert:'
'+$(this).attr("data-label")}):$(this).iCheck({checkboxClass:a,radioClass:b})})},r=function(){$().bootstrapSwitch&&$(".make-switch").bootstrapSwitch()},s=function(){$().confirmation&&$("[data-toggle=confirmation]").confirmation({container:"body",btnOkClass:"btn-xs btn-success",btnCancelClass:"btn-xs btn-danger"})},t=function(){$("body").on("shown.bs.collapse",".accordion.scrollable",function(a){Metronic.scrollTo($(a.target))})},u=function(){if(location.hash){var a=location.hash.substr(1);$('a[href="#'+a+'"]').parents(".tab-pane:hidden").each(function(){var a=$(this).attr("id");$('a[href="#'+a+'"]').click()}),$('a[href="#'+a+'"]').click()}},v=function(){$("body").on("hide.bs.modal",function(){$(".modal:visible").size()>1&&$("html").hasClass("modal-open")===!1?$("html").addClass("modal-open"):$(".modal:visible").size()<=1&&$("html").removeClass("modal-open")}),$("body").on("show.bs.modal",".modal",function(){$(this).hasClass("modal-scroll")&&$("body").addClass("modal-open-noscroll")}),$("body").on("hide.bs.modal",".modal",function(){$("body").removeClass("modal-open-noscroll")}),$("body").on("hidden.bs.modal",".modal:not(.modal-cached)",function(){$(this).removeData("bs.modal")})},w=function(){$(".tooltips").tooltip(),$(".portlet > .portlet-title .fullscreen").tooltip({container:"body",title:"Fullscreen"}),$(".portlet > .portlet-title > .tools > .reload").tooltip({container:"body",title:"Reload"}),$(".portlet > .portlet-title > .tools > .remove").tooltip({container:"body",title:"Remove"}),$(".portlet > .portlet-title > .tools > .config").tooltip({container:"body",title:"Settings"}),$(".portlet > .portlet-title > .tools > .collapse, .portlet > .portlet-title > .tools > .expand").tooltip({container:"body",title:"Collapse/Expand"})},x=function(){$("body").on("click",".dropdown-menu.hold-on-click",function(a){a.stopPropagation()})},y=function(){$("body").on("click",'[data-close="alert"]',function(a){$(this).parent(".alert").hide(),$(this).closest(".note").hide(),a.preventDefault()}),$("body").on("click",'[data-close="note"]',function(a){$(this).closest(".note").hide(),a.preventDefault()}),$("body").on("click",'[data-remove="note"]',function(a){$(this).closest(".note").remove(),a.preventDefault()})},z=function(){$('[data-hover="dropdown"]').not(".hover-initialized").each(function(){$(this).dropdownHover(),$(this).addClass("hover-initialized")})},A=function(){$(".popovers").popover(),$(document).on("click.bs.popover.data-api",function(b){a&&a.popover("hide")})},B=function(){Metronic.initSlimScroll(".scroller")},C=function(){jQuery.fancybox&&$(".fancybox-button").size()>0&&$(".fancybox-button").fancybox({groupAttr:"data-rel",prevEffect:"none",nextEffect:"none",closeBtn:!0,helpers:{title:{type:"inside"}}})},D=function(){(c||d)&&$("input[placeholder]:not(.placeholder-no-fix), textarea[placeholder]:not(.placeholder-no-fix)").each(function(){var a=$(this);""===a.val()&&""!==a.attr("placeholder")&&a.addClass("placeholder").val(a.attr("placeholder")),a.focus(function(){a.val()==a.attr("placeholder")&&a.val("")}),a.blur(function(){""!==a.val()&&a.val()!=a.attr("placeholder")||a.val(a.attr("placeholder"))})})},E=function(){$().select2&&$(".select2me").select2({placeholder:"Select"})};return{init:function(){l(),n(),p(),q(),r(),B(),C(),E(),o(),y(),x(),u(),w(),A(),t(),v(),s(),D()},initAjax:function(){p(),q(),r(),z(),B(),E(),C(),x(),w(),A(),t(),s()},initComponents:function(){this.initAjax()},setLastPopedPopover:function(b){a=b},addResizeHandler:function(a){f.push(a)},runResizeHandlers:function(){m()},scrollTo:function(a,b){var c=a&&a.size()>0?a.offset().top:0;a&&($("body").hasClass("page-header-fixed")&&(c-=$(".page-header").height()),c+=b?b:-1*a.height()),$("html,body").animate({scrollTop:c},"slow")},initSlimScroll:function(a){$(a).each(function(){if(!$(this).attr("data-initialized")){var a;a=$(this).attr("data-height")?$(this).attr("data-height"):$(this).css("height"),$(this).slimScroll({allowPageScroll:!0,size:"7px",color:$(this).attr("data-handle-color")?$(this).attr("data-handle-color"):"#bbb",wrapperClass:$(this).attr("data-wrapper-class")?$(this).attr("data-wrapper-class"):"slimScrollDiv",railColor:$(this).attr("data-rail-color")?$(this).attr("data-rail-color"):"#eaeaea",position:b?"left":"right",height:a,alwaysVisible:"1"==$(this).attr("data-always-visible"),railVisible:"1"==$(this).attr("data-rail-visible"),disableFadeOut:!0}),$(this).attr("data-initialized","1")}})},destroySlimScroll:function(a){$(a).each(function(){if("1"===$(this).attr("data-initialized")){$(this).removeAttr("data-initialized"),$(this).removeAttr("style");var a={};$(this).attr("data-handle-color")&&(a["data-handle-color"]=$(this).attr("data-handle-color")),$(this).attr("data-wrapper-class")&&(a["data-wrapper-class"]=$(this).attr("data-wrapper-class")),$(this).attr("data-rail-color")&&(a["data-rail-color"]=$(this).attr("data-rail-color")),$(this).attr("data-always-visible")&&(a["data-always-visible"]=$(this).attr("data-always-visible")),$(this).attr("data-rail-visible")&&(a["data-rail-visible"]=$(this).attr("data-rail-visible")),$(this).slimScroll({wrapperClass:$(this).attr("data-wrapper-class")?$(this).attr("data-wrapper-class"):"slimScrollDiv",destroy:!0});var b=$(this);$.each(a,function(a,c){b.attr(a,c)})}})},scrollTop:function(){Metronic.scrollTo()},blockUI:function(a){a=$.extend(!0,{},a);var b="";if(b=a.animate?'
':a.iconOnly?'
':a.textOnly?'
  '+(a.message?a.message:"LOADING...")+"
":'
  '+(a.message?a.message:"LOADING...")+"
",a.target){var c=$(a.target);c.height()<=$(window).height()&&(a.cenrerY=!0),c.block({message:b,baseZ:a.zIndex?a.zIndex:1e3,centerY:void 0!==a.cenrerY?a.cenrerY:!1,css:{top:"10%",border:"0",padding:"0",backgroundColor:"none"},overlayCSS:{backgroundColor:a.overlayColor?a.overlayColor:"#555",opacity:a.boxed?.05:.1,cursor:"wait"}})}else $.blockUI({message:b,baseZ:a.zIndex?a.zIndex:1e3,css:{border:"0",padding:"0",backgroundColor:"none"},overlayCSS:{backgroundColor:a.overlayColor?a.overlayColor:"#555",opacity:a.boxed?.05:.1,cursor:"wait"}})},unblockUI:function(a){a?$(a).unblock({onUnblock:function(){$(a).css("position",""),$(a).css("zoom","")}}):$.unblockUI()},startPageLoading:function(a){a&&a.animate?($(".page-spinner-bar").remove(),$("body").append('
')):($(".page-loading").remove(),$("body").append('
  '+(a&&a.message?a.message:"Loading...")+"
"))},stopPageLoading:function(){$(".page-loading, .page-spinner-bar").remove()},alert:function(a){a=$.extend(!0,{container:"",place:"append",type:"success",message:"",close:!0,reset:!0,focus:!0,closeInSeconds:0,icon:""},a);var b=Metronic.getUniqueID("Metronic_alert"),c='
'+(a.close?'':"")+(""!==a.icon?' ':"")+a.message+"
";return a.reset&&$(".Metronic-alerts").remove(),a.container?"append"==a.place?$(a.container).append(c):$(a.container).prepend(c):$("body").hasClass("page-container-bg-solid")?$(".page-title").after(c):$(".page-bar").size()>0?$(".page-bar").after(c):$(".page-breadcrumb").after(c),a.focus&&Metronic.scrollTo($("#"+b)),a.closeInSeconds>0&&setTimeout(function(){$("#"+b).remove()},1e3*a.closeInSeconds),b},initUniform:function(a){a?$(a).each(function(){0===$(this).parents(".checker").size()&&($(this).show(),$(this).uniform())}):p()},updateUniform:function(a){$.uniform.update(a)},initFancybox:function(){C()},getActualVal:function(a){return a=$(a),a.val()===a.attr("placeholder")?"":a.val()},getURLParameter:function(a){var b,c,d=window.location.search.substring(1),e=d.split("&");for(b=0;b a").each(function(){var a=$(this).attr("href").toLowerCase();return a.length>1&&d.substr(1,a.length-1)==a.substr(1)?void(b=$(this)):void 0}),b&&0!=b.size()&&"javascript:;"!==b.attr("href").toLowerCase()&&"#"!==b.attr("href").toLowerCase()){parseInt(e.data("slide-speed")),e.data("keep-expanded");e.find("li.active").removeClass("active"),e.find("li > a > .selected").remove(),e.hasClass("page-sidebar-menu-hover-submenu")===!1?e.find("li.open").each(function(){0===$(this).children(".sub-menu").size()&&($(this).removeClass("open"),$(this).find("> a > .arrow.open").removeClass("open"))}):e.find("li.open").removeClass("open"),b.parents("li").each(function(){$(this).addClass("active"),$(this).find("> a > span.arrow").addClass("open"),1===$(this).parent("ul.page-sidebar-menu").size()&&$(this).find("> a").append(''),1===$(this).children("ul.sub-menu").size()&&$(this).addClass("open")}),"click"===a&&Metronic.getViewPort().width a",function(a){var b=$(this).next().hasClass("sub-menu");if(!(Metronic.getViewPort().width>=c&&1===$(this).parents(".page-sidebar-menu-hover-submenu").size())){if(b===!1)return void(Metronic.getViewPort().width a.ajaxify",function(a){a.preventDefault(),Metronic.scrollTop();var b=$(this).attr("href"),d=jQuery(".page-sidebar ul"),e=($(".page-content"),$(".page-content .page-content-body"));d.children("li.active").removeClass("active"),d.children("arrow.open").removeClass("open"),$(this).parents("li").each(function(){$(this).addClass("active"),$(this).children("a > span.arrow").addClass("open")}),$(this).parents("li").addClass("active"),Metronic.getViewPort().width li.open > a").click(),Metronic.stopPageLoading(),e.html(a),Layout.fixContentHeight(),Metronic.initAjax()},error:function(a,b,c){Metronic.stopPageLoading(),e.html("

Could not load the requested content.

")}})}),jQuery(".page-content").on("click",".ajaxify",function(a){a.preventDefault(),Metronic.scrollTop();var b=$(this).attr("href"),d=($(".page-content"),$(".page-content .page-content-body"));Metronic.startPageLoading(),Metronic.getViewPort().widthCould not load the requested content."),Metronic.stopPageLoading()}})}),i(),$(".page-sidebar").on("click",".sidebar-search .remove",function(a){a.preventDefault(),$(".sidebar-search").removeClass("open")}),$(".page-sidebar .sidebar-search").on("keypress","input.form-control",function(a){return 13==a.which?($(".sidebar-search").submit(),!1):void 0}),0!==$(".sidebar-search").size()&&($(".sidebar-search .input-group").on("click",function(a){a.stopPropagation()}),$("body").on("click",function(){$(".sidebar-search").hasClass("open")&&$(".sidebar-search").removeClass("open")}))},g=function(){var a=Metronic.getViewPort().height-$(".page-header").outerHeight();return $("body").hasClass("page-footer-fixed")&&(a-=$(".page-footer").outerHeight()),a},h=function(){var a=$(".page-sidebar-menu");return Metronic.destroySlimScroll(a),0===$(".page-sidebar-fixed").size()?void d():void(Metronic.getViewPort().width>=c&&(a.attr("data-height",g()),Metronic.initSlimScroll(a),d()))},i=function(){var a=$("body");a.hasClass("page-sidebar-fixed")&&$(".page-sidebar").on("mouseenter",function(){a.hasClass("page-sidebar-closed")&&$(this).find(".page-sidebar-menu").removeClass("page-sidebar-menu-closed")}).on("mouseleave",function(){a.hasClass("page-sidebar-closed")&&$(this).find(".page-sidebar-menu").addClass("page-sidebar-menu-closed")})},j=function(){$("body");$.cookie&&"1"===$.cookie("sidebar_closed")&&Metronic.getViewPort().width>=c?($("body").addClass("page-sidebar-closed"),$(".page-sidebar-menu").addClass("page-sidebar-menu-closed")):$.cookie&&$.cookie("sidebar_closed","0")},k=function(){$(".page-header").on("click",'.hor-menu a[data-toggle="tab"]',function(a){a.preventDefault();var b=$(".hor-menu .nav"),c=b.find("li.current");$("li.active",c).removeClass("active"),$(".selected",c).remove();var d=$(this).parents("li").last();d.addClass("current"),d.find("a:first").append('')}),$(".page-header").on("click",".search-form",function(a){$(this).addClass("open"),$(this).find(".form-control").focus(),$(".page-header .search-form .form-control").on("blur",function(a){$(this).closest(".search-form").removeClass("open"),$(this).unbind("blur")})}),$(".page-header").on("keypress",".hor-menu .search-form .form-control",function(a){return 13==a.which?($(this).closest(".search-form").submit(),!1):void 0}),$(".page-header").on("mousedown",".search-form.open .submit",function(a){a.preventDefault(),a.stopPropagation(),$(this).closest(".search-form").submit()}),$('[data-hover="megamenu-dropdown"]').not(".hover-initialized").each(function(){$(this).dropdownHover(),$(this).addClass("hover-initialized")}),$(document).on("click",".mega-menu-dropdown .dropdown-menu",function(a){a.stopPropagation()})},l=function(){$("body").on("shown.bs.tab",'a[data-toggle="tab"]',function(){d()})},m=function(){var a=300,b=500;navigator.userAgent.match(/iPhone|iPad|iPod/i)?$(window).bind("touchend touchcancel touchleave",function(c){$(this).scrollTop()>a?$(".scroll-to-top").fadeIn(b):$(".scroll-to-top").fadeOut(b)}):$(window).scroll(function(){$(this).scrollTop()>a?$(".scroll-to-top").fadeIn(b):$(".scroll-to-top").fadeOut(b)}),$(".scroll-to-top").click(function(a){return a.preventDefault(),$("html, body").animate({scrollTop:0},b),!1})},n=function(){var a,b=$(".full-height-content");if(a=Metronic.getViewPort().height-$(".page-header").outerHeight(!0)-$(".page-footer").outerHeight(!0)-$(".page-title").outerHeight(!0)-$(".page-bar").outerHeight(!0),b.hasClass("portlet")){var d=b.find(".portlet-body");if(Metronic.getViewPort().width\n
\n
\n \n\n \n
\n
\n
\n \n {{ \'APPLICATION_EXTRACTED_REPORTS\' | translate }} \n
\n \n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n \n
\n
\n\n\n'),a.put("app/analytic/metric/list/create.modal.html",'\n\n\n'),a.put("app/analytic/metric/list/list.html",'\n
\n
\n \n\n \n
\n
\n
\n \n {{ \'APPLICATION_DEFAULT_METRICS\' | translate }} \n
\n
\n
\n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_METRICS\' | translate }} \n
\n
\n \n
\n \n
\n \n
\n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/analytic/metric/list/view.modal.html",'\n\n\n'), +a.put("app/analytic/metric/view/view.html",'\n
\n
\n \n\n \n
\n \n
\n \n
\n \n
\n \n \n
\n
\n {{metric.name}}\n
\n \n
\n \n\n \n \n \n
\n \n
\n \n \n
\n
\n \n
\n
\n\n'),a.put("app/analytic/metric/view/view.settings.html",'
\n
\n
\n
\n
\n \n {{ \'APPLICATION_METRIC\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} \n
\n \n
\n\n
\n
\n \n
\n
\n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{\'APPLICATION_\'+$select.selected.value.toUpperCase() | translate}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n \n
\n
\n \n\n
\n
\n
\n
\n
\n'),a.put("app/analytic/report/list/copy.modal.html",'\n\n\n'),a.put("app/analytic/report/list/create.modal.html",'\n\n\n'),a.put("app/analytic/report/list/extract.modal.html",'\n\n\n'),a.put("app/analytic/report/list/list.html",'\n
\n
\n \n
\n \n
\n
\n
\n \n {{ \'APPLICATION_FOLDERS\' | translate }} \n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_REPORTS\' | translate }} - {{selectedNode}}\n
\n
\n \n
\n \n \n {{\'APPLICATION_IMPORT_FROM_JSON\' | translate}}\n \n \n
\n
\n \n
\n
\n
\n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n
\n \n
\n
\n
\n
\n\n'),a.put("app/analytic/report/list/preview.modal.html",'\n\n\n'),a.put("app/analytic/report/view/view.html",'\n
\n
\n \n\n \n
\n \n
\n \n
\n \n
\n \n \n
\n
\n {{report.name}}\n
\n \n
\n \n\n \n \n \n
\n \n
\n \n \n
\n
\n \n
\n
\n\n'),a.put("app/analytic/report/view/view.settings.html",'
\n
\n
\n
\n
\n \n {{ \'APPLICATION_REPORT\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} \n
\n \n
\n\n
\n\n
\n \n
\n
\n\n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n\n \n\n\n \n
\n\n
\n \n
\n
\n
\n \n \n {{\'APPLICATION_\'+$select.selected.value.toUpperCase() | translate}}\n \n
\n
\n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n
\n
\n \n {{ \'APPLICATION_FIELDS\' | translate}} \n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
{{ \'APPLICATION_FIELD\' | translate }} / {{ \'APPLICATION_METRIC\' | translate }}{{ \'APPLICATION_ALIAS\' | translate }}{{ \'APPLICATION_FUNCTION\' | translate }}{{ \'APPLICATION_FORMAT\' | translate }}{{ \'APPLICATION_GROUP_BY\' | translate }}{{ \'APPLICATION_ORDER_BY\' | translate }}
\n \n
\n \n \n \n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n
\n \n
\n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n
\n \n
\n \n
\n \n \n {{$select.selected.name | translate}}\n \n {{$translate.instant(groupBy.name)}}\n \n \n
\n \n
\n \n
\n \n \n {{$select.selected}}\n \n
\n
\n
\n
\n \n
\n \n \n \n
\n {{ \'MESSAGE_ADD_A_FIELD\' | translate }}\n
\n \n \n
\n
\n
\n
\n \n {{ \'APPLICATION_CONDITIONS\' | translate}} \n
\n
\n
\n Output
\n \n
\n\n \n
\n \n
\n
\n
\n
\n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n
\n
\n
\n
\n
\n
\n
\n'), +a.put("app/channels/chat/offline/list/list.html",'\n\n\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_VISITORS\' | translate }} \n
\n \n
\n
\n \n
\n
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/channels/chat/offline/view/view.detail.html",'
\n
\n
\n
\n
\n \n {{\'APPLICATION_DETAIL\' | translate}}\n
\n
\n
\n
\n
\n

\n {{\'APPLICATION_MESSAGE\' | translate}}\n
\n

\n
\n \n
\n

\n {{chatVisitor.ChatEnquiry.text}}\n

\n
\n
\n \n
\n
\n
\n
\n'),a.put("app/channels/chat/offline/view/view.html",'\n
\n
\n \n\n \n
\n \n
\n \n
\n \n
\n \n \n
\n
\n {{chatVisitor.ChatEnquiry.email}}\n
\n
\n {{chatVisitor.ChatEnquiry.username}}\n
\n
\n \n\n \n \n \n
\n \n
\n \n \n
\n
\n \n
\n
\n\n'),a.put("app/channels/chat/online/list/list.html",'\n\n\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_VISITORS\' | translate }} \n
\n \n
\n
\n \n
\n
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/channels/chat/online/view/view.detail.html",'
\n
\n
\n
\n
\n \n {{\'APPLICATION_DETAIL\' | translate}}\n
\n
\n \n
\n
\n
\n'),a.put("app/channels/chat/online/view/view.html",'\n
\n
\n \n\n \n
\n \n
\n \n
\n \n
\n \n \n
\n
\n {{chatRoom.ChatVisitor.email}}\n
\n
\n {{chatRoom.ChatVisitor.fullname}}\n
\n
\n \n \n \n \n
\n \n
\n \n \n
\n
\n \n
\n
\n\n'),a.put("app/channels/chat/preview/preview.html",'\n
\n
\n \n \n \n \n \n \n {{statePreview.state == \'online\' ? chatWebsite.header_online : chatWebsite.header_offline}}\n
\n
\n
\n \n
\n
\n

\n
\n
\n
\n \n \n
\n
\n
\n \n \n
\n
\n
\n \n \n
\n
\n \n
\n
\n
\n \n
\n
\n

{{chatWebsite.rating_message}}

\n
\n
\n \n \n
\n
\n \n \n
\n \n \n
\n
\n \n
\n
\n'),a.put("app/channels/chat/queue/list/list.create.modal.html",'\n\n\n'), +a.put("app/channels/chat/queue/list/list.html",'\n\n\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_QUEUES\' | translate }} \n
\n \n
\n
\n \n
\n
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/channels/chat/queue/view/view.agents.html",'
\n
\n
\n
\n
\n \n {{\'APPLICATION_AGENTS\' | translate}}\n
\n
\n
\n \n
\n
\n \n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n'),a.put("app/channels/chat/queue/view/view.html",'\n
\n
\n \n\n \n
\n \n
\n \n
\n \n
\n \n \n
\n
\n {{queue.name}}\n
\n
\n \n\n \n \n \n
\n \n
\n \n \n
\n
\n \n
\n
\n\n'),a.put("app/channels/chat/queue/view/view.settings.html",'
\n
\n
\n
\n
\n \n {{\'APPLICATION_SETTINGS\' | translate}}\n
\n
\n
\n
\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n \n {{$select.selected.toUpperCase()}}\n \n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n'),a.put("app/channels/chat/realtime/view/agent/agent.html",'\n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n\n'),a.put("app/channels/chat/realtime/view/agent/agent.modal.info.html",'\n\n\n'),a.put("app/channels/chat/realtime/view/agent/queue.modal.add.html",'\n\n\n'),a.put("app/channels/chat/realtime/view/application/application.html",'\n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n\n'),a.put("app/channels/chat/realtime/view/view.html",'\n\n\n'),a.put("app/channels/chat/room/external/list/list.html",'\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n
\n \n \n \n \n \n \n
\n
\n
\n \n
\n
\n
\n \n \n \n
\n
\n \n {{$item}}\n \n {{tag}}\n \n \n
\n
\n
\n \n
\n
\n \n \n \n\n \n\n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n\n'),a.put("app/channels/chat/room/group/list/list.html",'\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n
\n \n \n \n
\n
\n
\n \n
\n
\n
\n \n \n \n
\n
\n \n {{$item}}\n \n {{tag}}\n \n \n
\n
\n
\n \n
\n
\n \n \n \n\n \n\n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n\n'),a.put("app/channels/chat/room/internal/list/list.html",'\n
\n
\n \n \n \n\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n\n'),a.put("app/channels/chat/room/room.add.html",'\n\n\n\n\n'),a.put("app/channels/chat/room/room.close.html",'\n\n\n'),a.put("app/channels/chat/room/room.directive.html",'
\n
\n
\n \n | \n {{chatRoom.status}}\n | \n {{chatRoom.ChatWebsite.name | truncate: 25: \'...\': true}}\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n \n \n \n
\n
\n \n {{$item}}\n \n {{tag}}\n \n \n
\n
\n
\n \n
\n
\n \n \n \n \n \n \n {{\'APPLICATION_ROOM_ID\' | translate}}:

{{chatRoom.id}}

\n {{\'APPLICATION_NAME\' | translate}}:

{{chatRoom.ChatVisitor.fullname}}

\n {{\'APPLICATION_EMAIL\' | translate}}:

{{chatRoom.ChatVisitor.email}}

\n {{\'APPLICATION_REMOTE_ADDRESS\' | translate}}:

{{chatRoom.ChatVisitor.remote_address}}

\n {{\'APPLICATION_BROWSER\' | translate}}:

{{chatRoom.ChatVisitor.browser}}

\n {{\'APPLICATION_OS\' | translate}}:

{{chatRoom.ChatVisitor.os}}

\n
\n
\n\n \n \n \n \n \n {{\'APPLICATION_NAME\' | translate}}:

{{user.fullname}}

\n {{\'APPLICATION_ROLE\' | translate}}:

{{user.role}}

\n {{\'APPLICATION_INTERNAL\' | translate}}:

{{user.internal}}

\n {{\'APPLICATION_EMAIL\' | translate}}:

{{user.email}}

\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n \n
\n
\n \n \n \n \n
\n
\n
\n
\n
\n \n \n \n
\n
\n \n \n
\n No Results Found\n
\n \n'+" {{'APPLICATION_WARNING' | translate}}! {{'MESSAGE_REQUIRED_FIELD' | translate}}.\n \n
\n
\n\n
\n
\n
\n
\n
\n
\n"),a.put("app/channels/chat/room/room.html",'\n\n\n'), +a.put("app/channels/chat/room/template.html",'
\n
\n
\n
\n \n \n
\n
\n \n
\n {{video.description}}\n
\n
\n {{video.views}}\n {{video.likes}}\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n \n
\n
\n\n'),a.put("app/channels/chat/room/view.tags.modal.html",'\n\n\n'),a.put("app/channels/chat/visitor/list/list.html",'\n\n\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_VISITORS\' | translate }} \n
\n \n
\n
\n \n
\n
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/channels/chat/visitor/view/view.html",'\n
\n
\n \n\n \n
\n \n
\n \n
\n \n
\n \n \n
\n
\n {{chatVisitor.fullname}}\n
\n
\n \n\n \n \n \n
\n \n
\n \n \n
\n
\n \n
\n
\n\n'),a.put("app/channels/chat/visitor/view/view.profile.html",'
\n
\n
\n
\n
\n \n {{\'APPLICATION_PROFILE\' | translate}}\n
\n
\n \n
\n
\n
\n'),a.put("app/channels/chat/website/list/list.html",'\n\n\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_WEB_SITES\' | translate }} \n
\n \n
\n
\n \n
\n
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/channels/chat/website/view/action/list/list.html",'
\n
\n
\n
\n
\n \n {{\'APPLICATION_ACTIONS\' | translate}}\n
\n \n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n
\n
\n'),a.put("app/channels/chat/website/view/action/view/view.html",'\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_ACTION\' | translate }} \n
\n
\n
\n
\n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n\n
\n \n
\n \n \n {{$select.selected.fullname}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n\n \n
\n \n \n {{ $select.selected.name | translate }}\n \n {{ intType.name | translate }}\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n \n
\n \n
\n
\n \n
\n
to
\n
\n \n
\n
\n \n\n \n
\n \n
\n \n
\n
\n \n\n \n
\n \n
\n \n {{ $select.selected.name | translate }}\n \n {{ weekDay.name | translate}}\n \n \n to\n \n {{ $select.selected.name | translate }}\n \n {{ weekDay.name | translate }}\n \n \n
\n
\n \n\n \n
\n \n
\n \n {{$select.selected}}\n \n {{monthDay}}\n \n \n to\n \n {{$select.selected}}\n \n {{monthDay}}\n \n \n
\n
\n \n\n \n
\n \n
\n \n {{ $select.selected.name | translate }}\n \n {{ month.name | translate }}\n \n \n to\n \n {{ $select.selected.name | translate }}\n \n {{ month.name | translate }}\n \n \n
\n
\n \n
\n\n
\n\n \n
\n \n \n {{ $select.selected.name}}\n \n {{ interval.name}}\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n \n
\n
\n
\n \n
\n
\n\n'),a.put("app/channels/chat/website/view/action/wizard/wizard.html",'\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_ACTION\' | translate }} WIZARD \n
\n
\n
\n \n \n
\n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n\n
\n \n
\n \n \n {{$select.selected.fullname}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n\n \n
\n \n \n {{ $select.selected.name | translate }}\n \n {{ intType.name | translate }}\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n \n
\n \n
\n
\n \n
\n
to
\n
\n \n
\n
\n \n\n \n
\n \n
\n \n
\n
\n \n\n \n
\n \n
\n \n {{ $select.selected.name | translate }}\n \n {{ weekDay.name | translate}}\n \n \n to\n \n {{ $select.selected.name | translate }}\n \n {{ weekDay.name | translate }}\n \n \n
\n
\n \n\n \n
\n \n
\n \n {{$select.selected}}\n \n {{monthDay}}\n \n \n to\n \n {{$select.selected}}\n \n {{monthDay}}\n \n \n
\n
\n \n\n \n
\n \n
\n \n {{ $select.selected.name | translate }}\n \n {{ month.name | translate }}\n \n \n to\n \n {{ $select.selected.name | translate }}\n \n {{ month.name | translate }}\n \n \n
\n
\n \n
\n\n
\n\n \n
\n \n \n {{ $select.selected.name}}\n \n {{ interval.name}}\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n\n \n
\n
\n \n

{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

\n \n \n
\n
\n
\n
\n \n
\n
\n\n'), +a.put("app/channels/chat/website/view/disposition/modal/add.modal.html",'\n\n\n'),a.put("app/channels/chat/website/view/disposition/view/view.html",'
\n
\n
\n
\n
\n \n {{\'APPLICATION_DISPOSITIONS\' | translate}}\n
\n
\n \n \n \n
\n
\n
\n
\n
\n
\n
\n

Info! {{\'MESSAGE_NO_DISPOSITIONS_AVAILABLE\' | translate}}

\n
\n
\n
\n\n \n
\n
\n
\n
\n \n
\n \n \n \n \n
\n
\n
\n \n
\n
\n
\n
\n
\n'),a.put("app/channels/chat/website/view/embedding/view/view.html",'
\n
\n
\n
\n
\n \n {{\'APPLICATION_EMBEDDING\' | translate}}\n
\n \n
\n
\n
\n
\n

{{\'APPLICATION_EMBED_SNIPPET\' | translate}}

\n

\n {{\'MESSAGE_EMBED_SNIPPET\' | translate}}\n

\n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n'),a.put("app/channels/chat/website/view/form/view/view.html",'
\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n {{ \'APPLICATION_FIELDS_SELECTED\' | translate }}\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n {{ \'APPLICATION_FIELDS_AVAILABLE\' | translate }}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n {{ \'APPLICATION_FIELDS_SELECTED\' | translate }}\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n {{ \'APPLICATION_FIELDS_AVAILABLE\' | translate }}\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n'),a.put("app/channels/chat/website/view/proactive/list/list.create.modal.html",'\n\n\n'),a.put("app/channels/chat/website/view/proactive/list/list.html",'
\n
\n
\n
\n
\n \n {{\'APPLICATION_PROACTIVE_ACTIONS\' | translate}}\n
\n \n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n
\n
\n'),a.put("app/channels/chat/website/view/setting/view/view.html",'
\n
\n
\n
\n
\n \n {{\'APPLICATION_SETTINGS\' | translate}}\n
\n
\n
\n
\n \n
\n \n
\n\n \n {{$select.selected.name}}\n \n
\n
\n
\n\n \n \n \n\n
\n
\n \n \n
\n
\n
\n
\n
\n'),a.put("app/channels/chat/website/view/snippet/view/view.html",'
\n
\n
\n \n
\n
\n
\n
\n\n \n
\n
\n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{$translate.instant(\'APPLICATION_\' + $select.selected.toUpperCase())}}\n \n
\n
\n
\n
\n \n\n \n
\n \n \n \n {{$select.selected ? \'On\' : \'Off\'}}\n \n
\n
\n
\n
\n \n\n\n \n
\n
\n \n\n \n
\n
\n\n \n
\n \n \n {{$select.selected ? \'On\' : \'Off\'}}\n \n
\n
\n
\n
\n \n\n \n
\n
\n \n\n \n
\n
\n\n

{{\'APPLICATION_ONLINE_STATE\' | translate}}

\n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n

{{\'APPLICATION_RATING_STATE\' | translate}}

\n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n

{{\'APPLICATION_OFFLINE_STATE\' | translate}}

\n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n
\n \n\n \n
\n
\n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n
\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n
\n \n\n \n
\n
\n\n \n
\n
\n \n
\n \n\n \n
\n
\n \n {{\'MESSAGE_REMEMBER_SMTP_SERVICE_ACCOUNT\' | translate}}.\n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n
\n \n
\n
\n
\n \n
\n \n \n \n {{$select.selected}}\n \n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n'), +a.put("app/channels/chat/website/view/view.html",'\n\n\n'),a.put("app/channels/chat/website/wizard/wizard.html",'\n\n\n\n\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_WEB_SITE\' | translate }} WIZARD \n
\n
\n
\n \n \n
\n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n \n
\n
\n\n \n
\n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{$translate.instant(\'APPLICATION_\' + $select.selected.toUpperCase())}}\n \n
\n
\n
\n
\n \n\n \n
\n \n \n {{$select.selected ? \'On\' : \'Off\'}}\n \n
\n
\n
\n
\n \n\n\n \n
\n
\n\n \n
\n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n
\n\n \n
\n\n \n
\n \n \n {{$select.selected ? \'On\' : \'Off\'}}\n \n
\n
\n
\n
\n \n\n \n
\n
\n\n \n

{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

\n \n
\n
\n
\n
\n \n
\n
\n\n'),a.put("app/channels/fax/account/list/list.create.modal.html",'\n\n\n'),a.put("app/channels/fax/account/list/list.html",'\n\n\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_ACCOUNTS\' | translate }} \n
\n
\n \n
\n \n \n
\n
\n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/channels/fax/account/view/action/list/list.html",'
\n
\n
\n
\n
\n \n {{\'APPLICATION_ACTIONS\' | translate}}\n
\n \n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n
\n
\n'), a.put("app/channels/fax/account/view/action/view/view.html",'\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_ACTION\' | translate }} \n
\n
\n
\n
\n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n
\n

Warning!

\n

\n {{ \'MESSAGE_NO_QUEUES_AVAILABLE\' | translate }}\n

\n

\n {{\'APPLICATION_GO_TO\' | translate}} {{\'APPLICATION_QUEUES\' | translate}}\n

\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n\n
\n \n
\n \n \n {{$select.selected.fullname}}\n \n
\n
\n
\n
\n

Warning!

\n

\n {{ \'MESSAGE_NO_AGENTS_AVAILABLE\' | translate }}\n

\n

\n {{\'APPLICATION_GO_TO\' | translate}} {{\'APPLICATION_QUEUES\' | translate}}\n

\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n\n \n
\n \n \n {{ $select.selected.name | translate }}\n \n {{ intType.name | translate }}\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n \n
\n \n
\n
\n \n
\n
to
\n
\n \n
\n
\n \n\n \n
\n \n
\n \n
\n
\n \n\n \n
\n \n
\n \n {{ $select.selected.name | translate }}\n \n {{ weekDay.name | translate}}\n \n \n to\n \n {{ $select.selected.name | translate }}\n \n {{ weekDay.name | translate }}\n \n \n
\n
\n \n\n \n
\n \n
\n \n {{$select.selected}}\n \n {{monthDay}}\n \n \n to\n \n {{$select.selected}}\n \n {{monthDay}}\n \n \n
\n
\n \n\n \n
\n \n
\n \n {{ $select.selected.name | translate }}\n \n {{ month.name | translate }}\n \n \n to\n \n {{ $select.selected.name | translate }}\n \n {{ month.name | translate }}\n \n \n
\n
\n \n
\n\n
\n\n \n
\n \n \n {{ $select.selected.name}}\n \n {{ interval.name}}\n \n \n
\n

Warning!

\n

\n {{ \'MESSAGE_NO_INTERVALS_AVAILABLE\' | translate }}\n

\n

\n {{\'APPLICATION_GO_TO\' | translate}} {{\'APPLICATION_INTERVALS\' | translate}}\n

\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n \n
\n
\n
\n \n
\n
\n\n'),a.put("app/channels/fax/account/view/action/wizard/wizard.html",'\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_ACTION\' | translate }} WIZARD \n
\n
\n
\n \n \n
\n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n
\n

Warning!

\n

\n {{ \'MESSAGE_NO_QUEUES_AVAILABLE\' | translate }}\n

\n

\n {{\'APPLICATION_GO_TO\' | translate}} {{\'APPLICATION_QUEUES\' | translate}}\n

\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n\n
\n \n
\n \n \n {{$select.selected.fullname}}\n \n
\n
\n
\n
\n

Warning!

\n

\n {{ \'MESSAGE_NO_AGENTS_AVAILABLE\' | translate }}\n

\n

\n {{\'APPLICATION_GO_TO\' | translate}} {{\'APPLICATION_QUEUES\' | translate}}\n

\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n\n \n
\n \n \n {{ $select.selected.name | translate }}\n \n {{ intType.name | translate }}\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n \n
\n \n
\n
\n \n
\n
to
\n
\n \n
\n
\n \n\n \n
\n \n
\n \n
\n
\n \n\n \n
\n \n
\n \n {{ $select.selected.name | translate }}\n \n {{ weekDay.name | translate}}\n \n \n to\n \n {{ $select.selected.name | translate }}\n \n {{ weekDay.name | translate }}\n \n \n
\n
\n \n\n \n
\n \n
\n \n {{$select.selected}}\n \n {{monthDay}}\n \n \n to\n \n {{$select.selected}}\n \n {{monthDay}}\n \n \n
\n
\n \n\n \n
\n \n
\n \n {{ $select.selected.name | translate }}\n \n {{ month.name | translate }}\n \n \n to\n \n {{ $select.selected.name | translate }}\n \n {{ month.name | translate }}\n \n \n
\n
\n \n
\n\n
\n\n \n
\n \n \n {{ $select.selected.name}}\n \n {{ interval.name}}\n \n \n
\n

Warning!

\n

\n {{ \'MESSAGE_NO_INTERVALS_AVAILABLE\' | translate }}\n

\n

\n {{\'APPLICATION_GO_TO\' | translate}} {{\'APPLICATION_INTERVALS\' | translate}}\n

\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n\n \n
\n
\n \n

{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

\n \n \n
\n
\n
\n
\n \n
\n
\n\n'),a.put("app/channels/fax/account/view/view.html",'\n
\n
\n \n\n\n\n\n \n
\n \n
\n \n
\n \n
\n \n\n \n
\n
\n {{ account.name || account.description }}\n
\n
\n {{ account.phone }}\n
\n
\n \n\n \n \n \n
\n
\n \n \n
\n
\n \n
\n
\n\n'),a.put("app/channels/fax/account/view/view.settings.html",'
\n
\n
\n
\n
\n \n {{\'APPLICATION_SETTINGS\' | translate}}\n
\n \n
\n
\n
\n \n
\n
\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'DESCRIPTION_HEADERINFO\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n
\n

Warning!

\n

\n {{ \'MESSAGE_NO_TRUNKS_AVAILABLE\' | translate }}\n

\n

\n {{\'APPLICATION_GO_TO\' | translate}} {{\'APPLICATION_INTERVALS\' | translate}}\n

\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'DESCRIPTION_LOCALSTATIONID\' | translate}}.\n \n
\n \n\n \n
\n
\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n
\n \n\n \n
\n
\n
\n
\n \n
\n
\n \n \n {{\'DESCRIPTION_ECM\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected}}\n \n
\n
\n
\n \n {{\'DESCRIPTION_MINRATE\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected}}\n \n
\n
\n
\n \n {{\'DESCRIPTION_MAXRATE\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'DESCRIPTION_MODEM\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n
\n \n
\n \n \n \n {{\'DESCRIPTION_GATEWAY\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_PATTERN_GATEWAY\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'DESCRIPTION_FAXDETECT\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_PATTERN_FAXDETECT\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'DESCRIPTION_T38TIMEOUT\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_T38TIMEOUT\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n
\n\n \n
\n
\n \n\n
\n
\n
\n
\n
\n'), a.put("app/channels/fax/account/wizard/wizard.html",'\n\n\n\n\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD \n
\n
\n
\n \n \n
\n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'DESCRIPTION_HEADERINFO\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n
\n

Warning!

\n

\n {{ \'MESSAGE_NO_TRUNKS_AVAILABLE\' | translate }}\n

\n

\n {{\'APPLICATION_GO_TO\' | translate}} {{\'APPLICATION_INTERVALS\' | translate}}\n

\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'DESCRIPTION_LOCALSTATIONID\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n\n \n\n
\n
\n\n \n
\n\n \n
\n
\n \n \n {{\'DESCRIPTION_ECM\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected}}\n \n
\n
\n
\n \n {{\'DESCRIPTION_MINRATE\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected}}\n \n
\n
\n
\n \n {{\'DESCRIPTION_MAXRATE\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'DESCRIPTION_MODEM\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'DESCRIPTION_GATEWAY\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_PATTERN_GATEWAY\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'DESCRIPTION_FAXDETECT\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_PATTERN_FAXDETECT\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'DESCRIPTION_T38TIMEOUT\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_T38TIMEOUT\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n \n\n
\n
\n\n \n

{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

\n \n \n
\n\n
\n\n
\n
\n \n
\n
\n\n'),a.put("app/channels/fax/inbox/message/message.directive.html",'
\n
\n
\n From: \n {{message.from}}\n
\n To: \n {{message.to}} \n
\n
\n {{\'APPLICATION_SENT_BY\' | translate}}: {{message.User.fullname}}\n
\n
\n
\n \n \n {{message.status | uppercase}}\n \n \n {{message.status | uppercase}}\n \n \n {{message.status | uppercase}}\n \n \n \n \n \n \n
\n \n
\n'),a.put("app/channels/fax/inbox/note/note.directive.html",'
\n
\n
\n \n
\n
\n {{\'APPLICATION_ADD_BY\' | translate}}: {{message.User.fullname}}\n
\n
\n
\n \n
\n'),a.put("app/channels/fax/inbox/note/note.modal.html",'\n\n\n'),a.put("app/channels/fax/inbox/room/room.directive.html",'\n
\n
\n
\n
\n \n | \n {{faxRoom.status}}\n | \n {{faxRoom.from}}\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n \n \n \n
\n
\n \n {{$item}}\n \n {{tag}}\n \n \n
\n
\n
\n \n
\n\n
\n\n \n
\n
    \n \n
    \n \n \n
    \n \n \n \n
\n
\n
\n
\n
\n \n
\n\n \n
\n
\n
\n
\n \n
\n
\n \n {{$select.selected.name}}\n \n
\n \n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n
\n
\n \n\n \n
\n
\n
\n
\n \n
\n
\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n
\n
\n \n\n \n
\n
\n \n \n \n \n \n \n \n \n \n \n \n
{{ item.file.name }}{{ item.file.size/1024/1024|number:2 }} MB\n
\n
\n
\n
\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n\n \n
\n
\n
\n
\n
\n
\n
\n\n'),a.put("app/channels/fax/inbox/view/account/list/list.html",'\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n
\n \n \n \n
\n
\n \n {{$item}}\n \n {{tag}}\n \n \n
\n
\n
\n \n
\n
\n \n \n \n\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n\n'),a.put("app/channels/fax/inbox/view/view.agents.modal.html",'\n\n\n'), a.put("app/channels/fax/inbox/view/view.html",'\n\n\n
\n
\n \n
\n

Warning!

\n

\n {{ \'MESSAGE_NO_AVAILABLE_ACCOUNTS\' | translate }}\n

\n

\n {{\'APPLICATION_GO_TO\' | translate}} {{\'APPLICATION_ACCOUNTS\' | translate}}\n

\n
\n
\n\n
\n \n
\n
\n
\n

Info! {{\'APPLICATION_NO_ACCOUNT_SELECTED\' | translate}}

\n
\n
\n
\n \n
\n
\n'),a.put("app/channels/fax/inbox/view/view.status.modal.html",'\n\n\n'),a.put("app/channels/fax/inbox/view/view.tags.modal.html",'\n\n\n'),a.put("app/channels/fax/queue/list/list.create.modal.html",'\n\n\n'),a.put("app/channels/fax/queue/list/list.html",'\n\n\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_QUEUES\' | translate }} \n
\n \n
\n
\n \n
\n
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/channels/fax/queue/view/view.agents.html",'
\n
\n
\n
\n
\n \n {{\'APPLICATION_AGENTS\' | translate}}\n
\n
\n
\n \n
\n
\n \n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n'),a.put("app/channels/fax/queue/view/view.html",'\n
\n
\n \n\n \n
\n \n
\n \n
\n \n
\n \n \n
\n
\n {{queue.name}}\n
\n \n
\n \n\n \n \n \n
\n \n
\n \n \n
\n
\n \n
\n
\n\n'),a.put("app/channels/fax/queue/view/view.settings.html",'
\n
\n
\n
\n
\n \n {{\'APPLICATION_SETTINGS\' | translate}}\n
\n
\n
\n
\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n \n {{$select.selected.toUpperCase()}}\n \n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n'),a.put("app/channels/fax/realtime/view/agent/agent.html",'\n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n\n'),a.put("app/channels/fax/realtime/view/agent/agent.modal.info.html",'\n\n\n'),a.put("app/channels/fax/realtime/view/agent/queue.modal.add.html",'\n\n\n'),a.put("app/channels/fax/realtime/view/application/application.html",'\n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n\n'),a.put("app/channels/fax/realtime/view/view.html",'\n\n\n'),a.put("app/channels/mail/account/list/list.html",'\n\n\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_ACCOUNTS\' | translate }} \n
\n \n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/channels/mail/account/view/action/list/list.html",'
\n
\n
\n
\n
\n \n {{\'APPLICATION_ACTIONS\' | translate}}\n
\n \n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n
\n
\n'),a.put("app/channels/mail/account/view/action/view/view.html",'\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_ACTION\' | translate }} \n
\n
\n
\n
\n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n\n
\n \n
\n \n \n {{$select.selected.fullname}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n\n \n
\n \n \n {{ $select.selected.name | translate }}\n \n {{ intType.name | translate }}\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n \n
\n \n
\n
\n \n
\n
to
\n
\n \n
\n
\n \n\n \n
\n \n
\n \n
\n
\n \n\n \n
\n \n
\n \n {{ $select.selected.name | translate }}\n \n {{ weekDay.name | translate}}\n \n \n to\n \n {{ $select.selected.name | translate }}\n \n {{ weekDay.name | translate }}\n \n \n
\n
\n \n\n \n
\n \n
\n \n {{$select.selected}}\n \n {{monthDay}}\n \n \n to\n \n {{$select.selected}}\n \n {{monthDay}}\n \n \n
\n
\n \n\n \n
\n \n
\n \n {{ $select.selected.name | translate }}\n \n {{ month.name | translate }}\n \n \n to\n \n {{ $select.selected.name | translate }}\n \n {{ month.name | translate }}\n \n \n
\n
\n \n
\n\n
\n\n \n
\n \n \n {{ $select.selected.name}}\n \n {{ interval.name}}\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n \n
\n
\n
\n \n
\n
\n\n'), a.put("app/channels/mail/account/view/action/wizard/wizard.html",'\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_ACTION\' | translate }} WIZARD \n
\n
\n
\n \n \n
\n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n\n
\n \n
\n \n \n {{$select.selected.fullname}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n\n \n
\n \n \n {{ $select.selected.name | translate }}\n \n {{ intType.name | translate }}\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n \n
\n \n
\n
\n \n
\n
to
\n
\n \n
\n
\n \n\n \n
\n \n
\n \n
\n
\n \n\n \n
\n \n
\n \n {{ $select.selected.name | translate }}\n \n {{ weekDay.name | translate}}\n \n \n to\n \n {{ $select.selected.name | translate }}\n \n {{ weekDay.name | translate }}\n \n \n
\n
\n \n\n \n
\n \n
\n \n {{$select.selected}}\n \n {{monthDay}}\n \n \n to\n \n {{$select.selected}}\n \n {{monthDay}}\n \n \n
\n
\n \n\n \n
\n \n
\n \n {{ $select.selected.name | translate }}\n \n {{ month.name | translate }}\n \n \n to\n \n {{ $select.selected.name | translate }}\n \n {{ month.name | translate }}\n \n \n
\n
\n \n
\n\n
\n\n \n
\n \n \n {{ $select.selected.name}}\n \n {{ interval.name}}\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n\n \n
\n
\n \n

{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

\n \n \n
\n
\n
\n
\n \n
\n
\n\n'),a.put("app/channels/mail/account/view/disposition/modal/add.modal.html",'\n\n\n'),a.put("app/channels/mail/account/view/disposition/view/view.html",'
\n
\n
\n
\n
\n \n {{\'APPLICATION_DISPOSITIONS\' | translate}}\n
\n
\n \n \n \n
\n
\n
\n
\n
\n
\n
\n

Info! {{\'MESSAGE_NO_MAIL_DISPOSITIONS_AVAILABLE\' | translate}}

\n
\n
\n
\n\n \n
\n
\n
\n
\n \n
\n \n \n \n \n
\n
\n
\n \n
\n
\n
\n
\n
\n'),a.put("app/channels/mail/account/view/setting/view/view.html",'
\n
\n
\n
\n
\n \n {{\'APPLICATION_SETTINGS\' | translate}}\n
\n \n
\n
\n \n \n \n\n
\n \n
\n
\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n
\n\n \n {{$select.selected.name}}\n \n
\n
\n
\n\n \n \n \n\n
\n
\n \n\n \n
\n
\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n
\n \n\n \n
\n
\n

ERROR

\n \n
\n\n
\n

CONNECTED

\n
\n\n
\n

TRYING...

\n
\n\n
\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n {{$select.selected}}\n \n
\n
\n
\n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n \n
\n \n\n \n
\n
\n \n
\n \n\n \n
\n
\n \n
\n \n\n \n
\n
\n \n
\n \n\n \n
\n
\n \n\n \n
\n\n
\n

ERROR

\n \n
\n\n
\n

CONNECTED

\n
\n\n
\n

TRYING...

\n
\n\n
\n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n \n
\n \n\n \n
\n
\n \n
\n \n\n \n \n
\n
\n \n
\n
\n
\n
\n
\n'), -a.put("app/channels/mail/account/view/view.html",'\n
\n
\n \n\n\n\n\n \n
\n \n
\n \n
\n \n
\n \n\n \n
\n
\n {{ account.description || account.name }}\n
\n
\n {{account.email}}\n
\n
\n \n\n \n \n \n
\n
\n \n
\n \n
\n\n
\n'),a.put("app/channels/mail/account/wizard/wizard.html",'\n
\n
\n \n \n \n\n \n
\n
\n
\n \n {{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD \n
\n
\n
\n \n \n
\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n \n
\n
\n\n \n
\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n {{$select.selected}}\n \n
\n
\n
\n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n \n
\n \n\n \n
\n
\n \n
\n \n\n \n
\n
\n \n
\n \n\n \n
\n
\n \n
\n \n\n \n
\n
\n\n \n
\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n \n
\n \n\n \n
\n
\n \n
\n \n\n \n \n
\n
\n\n \n

{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

\n \n
\n
\n
\n
\n \n
\n
\n\n'),a.put("app/channels/mail/inbox/message/message.directive.html",'
\n
\n
\n From: \n [{{message.from[0]}}]\n
\n To: \n {{message.to}} \n
\n Cc: \n

{{message.cc}}

\n
\n
\n {{\'APPLICATION_SENT_BY\' | translate}}: {{message.User.fullname}}\n
\n
\n
\n \n \n {{message.status | uppercase}}\n \n \n {{message.status | uppercase}}\n \n \n {{message.status | uppercase}}\n \n \n {{message.status | uppercase}}\n \n \n\n \n \n \n
\n
\n
{{\'MESSAGE_NO_AVAILABLE_TEXT\' | translate | lowercase}}
\n
\n
\n {{mailAttachment.name}}\n \n {{mailAttachment.size}}B\n \n \n {{ \'APPLICATION_DOWNLOAD\' | translate }}\n \n
\n
\n'),a.put("app/channels/mail/inbox/note/note.directive.html",'
\n
\n
\n \n
\n
\n {{\'APPLICATION_ADD_BY\' | translate}}: {{message.User.fullname}}\n
\n
\n
\n \n
\n'),a.put("app/channels/mail/inbox/note/note.modal.html",'\n\n\n'),a.put("app/channels/mail/inbox/room/room.directive.html",'\n
\n
\n
\n
\n \n | \n {{mailRoom.status}}\n | \n {{mailRoom.subject | truncate: 25: \'...\': true}}\n
\n
\n \n \n \n \n \n \n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n \n \n \n
\n
\n \n {{$item}}\n \n {{tag}}\n \n \n
\n
\n
\n \n
\n\n
\n\n \n
\n
    \n \n
    \n \n \n
    \n \n \n \n
\n
\n
\n
\n
\n

Info! {{\'MESSAGE_MAIL_ROOM_CLOSED\' | translate}}

\n

\n {{\'MESSAGE_MAIL_ROOM_CLOSED_DETAILS\' | translate}}.\n

\n
\n
\n \n
\n\n \n
\n
\n
\n
\n \n
\n
\n \n {{$select.selected.name}}\n \n
\n \n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n
\n
\n \n\n \n
\n
\n
\n
\n \n
\n
\n \n {{$item}}\n \n {{to}}\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n
\n
\n \n\n \n
\n
\n
\n
\n \n
\n
\n \n {{$item}}\n \n {{cc}}\n \n \n
\n
\n
\n
\n \n\n \n
\n
\n
\n
\n \n
\n
\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n
\n
\n \n\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n \n\n \n
\n
\n \n \n \n
\n
\n \n \n
\n No Results Found\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n \n\n \n
\n
\n \n \n \n \n \n \n \n \n \n \n \n
{{ item.file.name }}{{ item.file.size/1024/1024|number:2 }} MB\n
\n
\n
\n
\n \n \n \n \n \n
\n
\n
\n
\n\n
\n
\n \n \n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n\n'), -a.put("app/channels/mail/inbox/status/status.modal.html",'\n\n\n'),a.put("app/channels/mail/inbox/view/account/list/list.html",'\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n
\n \n \n \n
\n
\n \n {{$item}}\n \n {{tag}}\n \n \n
\n
\n
\n \n
\n
\n \n \n \n\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n\n'),a.put("app/channels/mail/inbox/view/view.agents.modal.html",'\n\n\n'),a.put("app/channels/mail/inbox/view/view.html",'\n\n\n
\n
\n \n
\n\n
\n \n
\n
\n
\n

Info! {{\'APPLICATION_NO_ACCOUNT_SELECTED\' | translate}}

\n
\n
\n
\n \n
\n\n
\n'),a.put("app/channels/mail/inbox/view/view.tags.modal.html",'\n\n\n'),a.put("app/channels/mail/inbox/view/view.templates.modal.html",'\n\n\n'),a.put("app/channels/mail/queue/list/list.create.modal.html",'\n\n\n'),a.put("app/channels/mail/queue/list/list.html",'\n\n\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_QUEUES\' | translate }} \n
\n \n
\n
\n \n
\n
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/channels/mail/queue/view/view.agents.html",'
\n
\n
\n
\n
\n \n {{\'APPLICATION_AGENTS\' | translate}}\n
\n
\n
\n

Warning!

\n

\n {{ \'MESSAGE_NO_AVAILABLE_TEAMS\' | translate }}\n

\n
\n
\n \n
\n
\n \n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n'),a.put("app/channels/mail/queue/view/view.html",'\n
\n
\n \n\n \n
\n \n
\n \n
\n \n
\n \n \n
\n
\n {{queue.name}}\n
\n \n
\n \n\n \n \n \n
\n \n
\n \n \n
\n
\n \n
\n
\n \n'),a.put("app/channels/mail/queue/view/view.settings.html",'
\n
\n
\n
\n
\n \n {{\'APPLICATION_SETTINGS\' | translate}}\n
\n
\n
\n
\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n {{$select.selected.toUpperCase()}}\n \n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n'),a.put("app/channels/mail/realtime/view/agent/agent.html",'\n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n\n'),a.put("app/channels/mail/realtime/view/agent/agent.modal.info.html",'\n\n\n'),a.put("app/channels/mail/realtime/view/agent/queue.modal.add.html",'\n\n\n'),a.put("app/channels/mail/realtime/view/application/application.html",'\n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n\n'),a.put("app/channels/mail/realtime/view/view.html",'\n\n\n'),a.put("app/channels/mail/realtime/view/view.queue.html",'\n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n\n'),a.put("app/channels/realtime/view/agent/agent.html",'\n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n\n'),a.put("app/channels/realtime/view/agent/agent.modal.info.html",'\n\n\n'),a.put("app/channels/realtime/view/agent/queue.modal.add.html",'\n\n\n'),a.put("app/channels/realtime/view/view.html",'\n\n\n'),a.put("app/channels/sms/account/list/list.html",'\n\n\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_ACCOUNTS\' | translate }} \n
\n \n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n \n
\n
\n\n'), +a.put("app/channels/mail/account/view/view.html",'\n
\n
\n \n\n\n\n\n \n
\n \n
\n \n
\n \n
\n \n\n \n
\n
\n {{ account.description || account.name }}\n
\n
\n {{account.email}}\n
\n
\n \n\n \n \n \n
\n
\n \n
\n \n
\n\n
\n'),a.put("app/channels/mail/account/wizard/wizard.html",'\n
\n
\n \n \n \n\n \n
\n
\n
\n \n {{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD \n
\n
\n
\n \n \n
\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n \n
\n
\n\n \n
\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n {{$select.selected}}\n \n
\n
\n
\n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n \n
\n \n\n \n
\n
\n \n
\n \n\n \n
\n
\n \n
\n \n\n \n
\n
\n \n
\n \n\n \n
\n
\n\n \n
\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n \n
\n \n\n \n
\n
\n \n
\n \n\n \n \n
\n
\n\n \n

{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

\n \n
\n
\n
\n
\n \n
\n
\n\n'),a.put("app/channels/mail/inbox/message/message.directive.html",'
\n
\n
\n From: \n [{{message.from[0]}}]\n
\n To: \n

["{{to}}",]

\n
\n Cc: \n

["{{cc}}",]

\n
\n
\n {{\'APPLICATION_SENT_BY\' | translate}}: {{message.User.fullname}}\n
\n
\n
\n \n \n {{message.status | uppercase}}\n \n \n {{message.status | uppercase}}\n \n \n {{message.status | uppercase}}\n \n \n {{message.status | uppercase}}\n \n \n\n \n \n \n
\n
\n
{{\'MESSAGE_NO_AVAILABLE_TEXT\' | translate | lowercase}}
\n
\n
\n {{mailAttachment.name}}\n \n ({{mailAttachment.size | prettyBytes}})\n \n \n \n \n \n \n \n
\n
\n'),a.put("app/channels/mail/inbox/note/note.directive.html",'
\n
\n
\n \n \n \n\n \n
\n
\n {{\'APPLICATION_ADD_BY\' | translate}}: {{message.User.fullname}}\n
\n
\n
\n \n
\n'),a.put("app/channels/mail/inbox/note/note.modal.html",'\n\n\n'),a.put("app/channels/mail/inbox/room/room.directive.html",'\n
\n
\n
\n
\n \n | \n #{{mailRoom.id}} {{mailRoom.status}}\n | \n {{mailRoom.subject | truncate: 25: \'...\': true}}\n
\n
\n \n \n \n \n \n \n \n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n \n \n \n
\n
\n \n {{$item}}\n \n {{tag}}\n \n \n
\n
\n
\n \n
\n\n
\n\n \n
\n
    \n \n
    \n \n \n
    \n \n \n \n
\n
\n
\n
\n
\n

Info! {{\'MESSAGE_MAIL_ROOM_CLOSED\' | translate}}

\n

\n {{\'MESSAGE_MAIL_ROOM_CLOSED_DETAILS\' | translate}}.\n

\n
\n
\n \n
\n\n \n
\n
\n
\n
\n \n
\n
\n \n {{$select.selected.name}}\n \n
\n \n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n
\n
\n \n\n \n
\n
\n
\n
\n \n
\n
\n \n {{$item}}\n \n {{to}}\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n
\n
\n \n\n \n
\n
\n
\n
\n \n
\n
\n \n {{$item}}\n \n {{cc}}\n \n \n
\n
\n
\n
\n \n\n \n
\n
\n
\n
\n \n
\n
\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n
\n
\n \n\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n \n\n \n
\n
\n \n \n \n
\n
\n \n \n
\n No Results Found\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n \n\n \n
\n
\n \n \n \n \n \n \n \n \n \n \n \n
{{ item.file.name }}{{ item.file.size/1024/1024|number:2 }} MB\n
\n
\n
\n
\n \n \n \n \n \n
\n
\n
\n
\n\n
\n
\n \n \n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n\n'), +a.put("app/channels/mail/inbox/status/status.modal.html",'\n\n\n'),a.put("app/channels/mail/inbox/view/account/list/list.html",'\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n
\n \n \n \n
\n
\n \n {{$item}}\n \n {{tag}}\n \n \n
\n
\n
\n \n
\n
\n \n \n \n\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n\n'),a.put("app/channels/mail/inbox/view/view.agents.modal.html",'\n\n\n'),a.put("app/channels/mail/inbox/view/view.html",'\n\n\n
\n
\n \n
\n\n
\n \n
\n
\n
\n

Info! {{\'APPLICATION_NO_ACCOUNT_SELECTED\' | translate}}

\n
\n
\n
\n \n
\n\n
\n'),a.put("app/channels/mail/inbox/view/view.tags.modal.html",'\n\n\n'),a.put("app/channels/mail/inbox/view/view.templates.modal.html",'\n\n\n'),a.put("app/channels/mail/queue/list/list.create.modal.html",'\n\n\n'),a.put("app/channels/mail/queue/list/list.html",'\n\n\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_QUEUES\' | translate }} \n
\n \n
\n
\n \n
\n
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/channels/mail/queue/view/view.agents.html",'
\n
\n
\n
\n
\n \n {{\'APPLICATION_AGENTS\' | translate}}\n
\n
\n
\n

Warning!

\n

\n {{ \'MESSAGE_NO_AVAILABLE_TEAMS\' | translate }}\n

\n
\n
\n \n
\n
\n \n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n'),a.put("app/channels/mail/queue/view/view.html",'\n
\n
\n \n\n \n
\n \n
\n \n
\n \n
\n \n \n
\n
\n {{queue.name}}\n
\n \n
\n \n\n \n \n \n
\n \n
\n \n \n
\n
\n \n
\n
\n \n'),a.put("app/channels/mail/queue/view/view.settings.html",'
\n
\n
\n
\n
\n \n {{\'APPLICATION_SETTINGS\' | translate}}\n
\n
\n
\n
\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n {{$select.selected.toUpperCase()}}\n \n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n'),a.put("app/channels/mail/realtime/view/agent/agent.html",'\n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n\n'),a.put("app/channels/mail/realtime/view/agent/agent.modal.info.html",'\n\n\n'),a.put("app/channels/mail/realtime/view/agent/queue.modal.add.html",'\n\n\n'),a.put("app/channels/mail/realtime/view/application/application.html",'\n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n\n'),a.put("app/channels/mail/realtime/view/view.html",'\n\n\n'),a.put("app/channels/mail/realtime/view/view.queue.html",'\n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n\n'),a.put("app/channels/realtime/view/agent/agent.html",'\n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n\n'),a.put("app/channels/realtime/view/agent/agent.modal.info.html",'\n\n\n'),a.put("app/channels/realtime/view/agent/queue.modal.add.html",'\n\n\n'),a.put("app/channels/realtime/view/view.html",'\n\n\n'),a.put("app/channels/sms/account/list/list.html",'\n\n\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_ACCOUNTS\' | translate }} \n
\n \n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n \n
\n
\n\n'), a.put("app/channels/sms/account/view/action/list/list.html",'
\n
\n
\n
\n
\n \n {{\'APPLICATION_ACTIONS\' | translate}}\n
\n \n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n
\n
\n'),a.put("app/channels/sms/account/view/action/view/view.html",'\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_ACTION\' | translate }} \n
\n
\n
\n
\n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n\n
\n \n
\n \n \n {{$select.selected.fullname}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n\n \n
\n \n \n {{ $select.selected.name | translate }}\n \n {{ intType.name | translate }}\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n \n
\n \n
\n
\n \n
\n
to
\n
\n \n
\n
\n \n\n \n
\n \n
\n \n
\n
\n \n\n \n
\n \n
\n \n {{ $select.selected.name | translate }}\n \n {{ weekDay.name | translate}}\n \n \n to\n \n {{ $select.selected.name | translate }}\n \n {{ weekDay.name | translate }}\n \n \n
\n
\n \n\n \n
\n \n
\n \n {{$select.selected}}\n \n {{monthDay}}\n \n \n to\n \n {{$select.selected}}\n \n {{monthDay}}\n \n \n
\n
\n \n\n \n
\n \n
\n \n {{ $select.selected.name | translate }}\n \n {{ month.name | translate }}\n \n \n to\n \n {{ $select.selected.name | translate }}\n \n {{ month.name | translate }}\n \n \n
\n
\n \n
\n\n
\n\n \n
\n \n \n {{ $select.selected.name}}\n \n {{ interval.name}}\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n \n
\n
\n
\n \n
\n
\n\n'),a.put("app/channels/sms/account/view/action/wizard/wizard.html",'\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_ACTION\' | translate }} WIZARD \n
\n
\n
\n \n \n
\n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n\n
\n \n
\n \n \n {{$select.selected.fullname}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n\n \n
\n \n \n {{ $select.selected.name | translate }}\n \n {{ intType.name | translate }}\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n \n
\n \n
\n
\n \n
\n
to
\n
\n \n
\n
\n \n\n \n
\n \n
\n \n
\n
\n \n\n \n
\n \n
\n \n {{ $select.selected.name | translate }}\n \n {{ weekDay.name | translate}}\n \n \n to\n \n {{ $select.selected.name | translate }}\n \n {{ weekDay.name | translate }}\n \n \n
\n
\n \n\n \n
\n \n
\n \n {{$select.selected}}\n \n {{monthDay}}\n \n \n to\n \n {{$select.selected}}\n \n {{monthDay}}\n \n \n
\n
\n \n\n \n
\n \n
\n \n {{ $select.selected.name | translate }}\n \n {{ month.name | translate }}\n \n \n to\n \n {{ $select.selected.name | translate }}\n \n {{ month.name | translate }}\n \n \n
\n
\n \n
\n\n
\n\n \n
\n \n \n {{ $select.selected.name}}\n \n {{ interval.name}}\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n\n \n
\n
\n \n

{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

\n \n \n
\n
\n
\n
\n \n
\n
\n\n'),a.put("app/channels/sms/account/view/disposition/modal/add.modal.html",'\n\n\n'),a.put("app/channels/sms/account/view/disposition/view/view.html",'
\n
\n
\n
\n
\n \n {{\'APPLICATION_DISPOSITIONS\' | translate}}\n
\n
\n \n \n \n
\n
\n
\n
\n
\n
\n
\n

Info! {{\'MESSAGE_NO_SMS_DISPOSITIONS_AVAILABLE\' | translate}}

\n
\n
\n
\n\n \n
\n
\n
\n
\n \n
\n \n \n \n \n
\n
\n
\n \n
\n
\n
\n
\n
\n'),a.put("app/channels/sms/account/view/view.html",'\n
\n
\n \n\n\n\n\n \n
\n \n
\n \n
\n \n
\n \n\n \n
\n
\n {{ account.description || account.name }}\n
\n
\n {{account.email}}\n
\n
\n \n\n \n \n \n
\n
\n \n
\n \n
\n\n
\n'), -a.put("app/channels/sms/account/view/view.settings.html",'
\n
\n
\n
\n
\n \n {{\'APPLICATION_SETTINGS\' | translate}}\n
\n \n
\n
\n
\n \n
\n
\n \n
\n \n \n
\n \n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n \n
\n \n
\n\n \n {{$select.selected.name}}\n \n
\n
\n
\n\n \n \n \n\n
\n
\n \n\n\n \n
\n
\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n\n \n\n
\n \n \n \n {{ \'DESCRIPTION_PHONE_NUMBER\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n\n
\n \n \n {{$select.selected | uppercase}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n \n
\n \n \n \n {{ \'DESCRIPTION_PHONE_NUMBER\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n \n
\n\n
\n Copy the following url and insert it into your {{account.type}} account settings to receive sms.\n Detail.\n \n {{\'APPLICATION_COPY_TO_CLIPBOARD\' | translate}}\n \n

\n \n\n
\n \n \n
\n\n
\n Copy the following url and insert it into your {{account.type}} account settings to receive delivery status.\n Detail\n \n {{\'APPLICATION_COPY_TO_CLIPBOARD\' | translate}}\n \n

\n\n \n\n
\n \n \n
\n
\n \n\n\n\n
\n
\n
\n
\n
\n'),a.put("app/channels/sms/account/wizard/wizard.html",'\n
\n
\n \n \n \n\n \n
\n
\n
\n \n {{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD \n
\n
\n
\n \n \n
\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n \n\n
\n \n \n {{$select.selected | uppercase}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n \n
\n \n \n \n \n {{ \'DESCRIPTION_PHONE_NUMBER\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n\n
\n \n \n {{$select.selected | uppercase}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n \n
\n \n \n \n {{ \'DESCRIPTION_PHONE_NUMBER\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n\n\n\n
\n \n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n \n
\n
\n\n\n\n \n

{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

\n \n
\n
\n
\n
\n \n
\n
\n\n'),a.put("app/channels/sms/inbox/room/room.directive.html",'\n\n
\n
\n
\n
\n \n | \n {{SmsRoom.status}}\n \n
\n
\n \n \n \n \n \n \n \n \n \n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n \n \n \n
\n
\n \n {{$item}}\n \n {{tag}}\n \n \n
\n
\n
\n \n
\n
\n\n
\n
    \n
  • \n \n \n
    \n \n \n
    \n \n
  • \n
\n
\n
\n
\n
\n \n
\n\n \n
\n
\n
\n
\n \n
\n
\n \n {{$select.selected.name}}\n \n
\n \n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n
\n
\n \n \n
\n\n
\n
\n
\n \n
\n
\n \n \n {{ \'DESCRIPTION_PHONE_NUMBER\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n
\n
\n \n \n
\n
\n \n \n Max 160 chars\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n \n
\n
\n
\n \n \n \n
\n
\n \n \n
\n No Results Found\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n\n
\n \n \n
\n
\n \n \n
\n
\n\n
\n
\n
\n
\n
\n
\n
\n\n'), -a.put("app/channels/sms/inbox/sms/sms.html",'
\n
\n
\n From: \n {{smsMessage.from}}\n
\n To: \n {{smsMessage.to}} \n
\n \n
\n
\n {{\'APPLICATION_SENT_BY\' | translate}}: {{smsMessage.User.fullname}}\n {{\'APPLICATION_SENT_BY\' | translate}}: {{smsMessage.source}}\n\n
\n
\n\n
\n \n \n'+" {{smsMessage.status | uppercase}}\n \n \n
\n Error Code:{{smsMessage.errorcode}}\n\n 2 ? 'http://www.skebby.com/sms-api/sms-gateway/developers-docs/#receiveNotifySection' : 'http://www.skebby.com/sms-api/sms-gateway/developers-docs/#errorCodesSection'}}\" target=\"_blank\" ng-if=\"(smsMessage.errorcode) && (accounttype=='skebby')\">Error Code:{{smsMessage.errorcode}}\n\n
\n \n
\n
\n \n \n\n
\n"),a.put("app/channels/sms/inbox/view/account/list/list.html",'\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n
\n \n \n \n
\n
\n \n {{$item}}\n \n {{tag}}\n \n \n
\n
\n
\n \n
\n
\n \n \n \n\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n\n'),a.put("app/channels/sms/inbox/view/view.agents.modal.html",'\n\n\n'),a.put("app/channels/sms/inbox/view/view.html",'\n\n\n\n
\n
\n \n
\n\n
\n \n
\n
\n

Info! {{\'APPLICATION_NO_ACCOUNT_SELECTED\' | translate}}

\n
\n
\n \n
\n
\n\n'),a.put("app/channels/sms/inbox/view/view.status.modal.html",'\n\n\n'),a.put("app/channels/sms/inbox/view/view.tags.modal.html",'\n\n\n'),a.put("app/channels/sms/inbox/view/view.templates.modal.html",'\n\n\n'),a.put("app/channels/sms/queue/list/list.create.modal.html",'\n\n\n'),a.put("app/channels/sms/queue/list/list.html",'\n\n\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_QUEUES\' | translate }} \n
\n \n
\n
\n \n
\n
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/channels/sms/queue/view/view.agents.html",'
\n
\n
\n
\n
\n \n {{\'APPLICATION_AGENTS\' | translate}}\n
\n
\n
\n

Warning!

\n

\n {{ \'MESSAGE_NO_AVAILABLE_TEAMS\' | translate }}\n

\n
\n
\n \n
\n
\n \n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n'),a.put("app/channels/sms/queue/view/view.html",'\n
\n
\n \n\n \n
\n \n
\n \n
\n \n
\n \n \n
\n
\n {{queue.name}}\n
\n \n
\n \n\n \n \n \n
\n \n
\n \n \n
\n
\n \n
\n
\n \n'),a.put("app/channels/sms/queue/view/view.settings.html",'
\n
\n
\n
\n
\n \n {{\'APPLICATION_SETTINGS\' | translate}}\n
\n
\n
\n
\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n {{$select.selected.toUpperCase()}}\n \n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n'),a.put("app/channels/sms/realtime/view/agent/agent.html",'\n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n\n'),a.put("app/channels/sms/realtime/view/agent/agent.modal.info.html",'\n\n\n'),a.put("app/channels/sms/realtime/view/agent/queue.modal.add.html",'\n\n\n'),a.put("app/channels/sms/realtime/view/application/application.html",'\n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n\n'),a.put("app/channels/sms/realtime/view/view.html",'\n\n\n'),a.put("app/channels/sms/realtime/view/view.queue.html",'\n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n\n'),a.put("app/channels/voice/chanspy/list/list.create.modal.html",'\n\n\n'), -a.put("app/channels/voice/chanspy/list/list.html",'\n
\n
\n \n\n \n
\n
\n
\n \n {{ \'APPLICATION_CHANSPY\' | translate }} \n
\n
\n \n
\n \n
\n
\n
\n
\n \n
\n
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/channels/voice/chanspy/view/view.html",'\n
\n
\n \n\n \n
\n \n
\n \n
\n \n
\n \n \n
\n
\n {{chanspy.name}}\n
\n \n
\n \n\n \n \n \n
\n \n
\n \n \n
\n
\n \n
\n
\n\n'),a.put("app/channels/voice/chanspy/view/view.settings.html",'
\n
\n
\n
\n
\n \n {{ \'APPLICATION_CHANSPY\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} \n
\n \n
\n\n
\n
\n \n
\n
\n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$item.value}}: {{$item.name | translate}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n
\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n \n
\n
\n \n\n
\n
\n
\n
\n
\n'),a.put("app/channels/voice/context/list/create.modal.html",'\n\n\n'),a.put("app/channels/voice/context/list/list.html",'\n
\n
\n \n\n \n
\n
\n
\n \n {{ \'APPLICATION_CONTEXTS\' | translate }} \n
\n \n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/channels/voice/context/view/view.html",'\n
\n
\n \n\n \n
\n \n
\n \n
\n \n
\n \n \n
\n
\n {{context.name}}\n
\n
\n \n\n \n \n \n
\n \n
\n \n \n
\n
\n \n
\n
\n \n'),a.put("app/channels/voice/context/view/view.settings.html",'
\n
\n
\n
\n
\n \n {{ \'APPLICATION_CONTEXT\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} \n
\n \n
\n\n
\n
\n \n
\n
\n\n \n
\n \n \n \n {{ \'DESCRIPTION_CANT_EDIT_NAME\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n \n
\n
\n \n\n
\n
\n
\n
\n
\n'),a.put("app/channels/voice/moh/list/create.modal.html",'\n\n\n'),a.put("app/channels/voice/moh/list/list.html",'\n
\n
\n \n\n \n
\n
\n
\n \n {{ \'APPLICATION_MOHS\' | translate }} \n
\n \n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/channels/voice/moh/view/view.addFiles.html",'\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_MOH\' | translate }} {{ \'APPLICATION_ADD_FILES\' | translate }} \n
\n
\n
\n
\n

Warning!

\n

\n {{ \'MESSAGE_NO_SOUNDS_AVAILABLE\' | translate }}\n

\n

\n {{\'APPLICATION_GO_TO\' | translate}} {{\'APPLICATION_SOUNDS\' | translate}}\n

\n
\n
\n\n \n
\n \n \n {{$item.display_name}}\n \n {{sound.display_name}}\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n
\n
\n \n
\n
\n\n'),a.put("app/channels/voice/moh/view/view.audios.html",'
\n
\n
\n
\n
\n
\n \n {{\'APPLICATION_AUDIOS\' | translate}}\n
\n \n
\n
\n
\n

Warning!

\n

\n {{ \'MESSAGE_FOLDER_DOES_NOT_EXIST\' | translate }}\n

\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
{{ \'APPLICATION_NAME\' | translate }}{{ \'APPLICATION_PREVIEW\' | translate }}{{ \'APPLICATION_ACTIONS\' | translate }}
{{audiofile}}\n \n \n {{ \'APPLICATION_DELETE\' | translate }}\n \n
\n {{ \'MESSAGE_NO_AUDIOFILES_AVAILABLE\' | translate }}\n
\n \n
\n
\n
\n
\n
\n'),a.put("app/channels/voice/moh/view/view.html",'\n
\n
\n \n\n \n
\n \n
\n \n
\n \n
\n \n \n
\n
\n {{moh.name}}\n
\n
\n \n\n \n \n \n
\n \n
\n \n \n
\n
\n \n
\n
\n\n'),a.put("app/channels/voice/moh/view/view.settings.html",'
\n
\n
\n
\n
\n \n {{ \'APPLICATION_MOH_CLASS\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} \n
\n \n
\n\n
\n
\n \n
\n
\n\n \n
\n \n \n
\n \n\n \n
\n \n \n {{$translate.instant($select.selected.name)}}\n \n {{$translate.instant(sort.name)}}\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n
\n \n
\n
\n
\n
\n
\n'), -a.put("app/channels/voice/queue/list/list.create.modal.html",'\n\n\n'),a.put("app/channels/voice/queue/list/list.html",'\n
\n
\n \n\n \n
\n
\n
\n \n {{ \'APPLICATION_QUEUES\' | translate }}\n
\n \n
\n
\n \n
\n
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/channels/voice/queue/view/view.agents.html",'
\n
\n
\n
\n
\n \n {{\'APPLICATION_AGENTS\' | translate}}\n
\n
\n
\n

Warning!

{{ \'MESSAGE_NO_AVAILABLE_TEAMS\' | translate }}

\n
\n
\n \n
\n
\n \n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n'),a.put("app/channels/voice/queue/view/view.html",'\n
\n
\n \n\n \n
\n \n
\n \n
\n \n
\n \n \n
\n
\n {{queue.name}}\n
\n
\n \n\n \n \n \n
\n \n
\n \n \n
\n
\n \n
\n
\n\n'),a.put("app/channels/voice/queue/view/view.settings.html",'
\n
\n
\n
\n
\n \n {{ \'APPLICATION_QUEUE_SETTINGS\' | translate}}\n
\n \n
\n\n
\n
\n \n
\n
\n
\n
\n \n
\n \n \n {{$select.selected.toUpperCase()}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_STRATEGY\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_VOICE_MOH\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{ \'DESCRIPTION_QUEUE_TIMEOUT\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{ \'DESCRIPTION_QUEUE_MAXLEN\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{ \'DESCRIPTION_QUEUE_RETRY\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n
\n \n
\n \n \n \n {{ \'DESCRIPTION_QUEUE_WRAPUPTIME\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{ \'DESCRIPTION_QUEUE_WEIGHT\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$item}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_JOINEMPTY\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$item}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_LEAVEWHENEMPTY\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected.display_name}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_ANNOUNCE\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n
\n \n
\n \n \n
\n \n\n \n
\n
\n\n
\n
\n
\n
\n \n
\n \n \n {{$item.display_name}}\n \n
\n
\n
\n
\n

Warning!

\n

\n {{ \'MESSAGE_NO_SOUNDS_AVAILABLE\' | translate }}\n

\n

\n {{\'APPLICATION_GO_TO\' | translate}} {{\'APPLICATION_SOUNDS\' | translate}}\n

\n
\n \n {{ \'DESCRIPTION_QUEUE_PERIODIC_ANNOUNCE\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n
\n
\n
\n

{{\'APPLICATION_SETTINGS\' | translate}}

\n \n
\n \n \n \n {{ \'DESCRIPTION_QUEUE_ANNOUNCE_FREQUENCY\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{ \'DESCRIPTION_QUEUE_MIN_ANNOUNCE_FREQUENCY\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{ \'DESCRIPTION_QUEUE_PERIODIC_ANNOUNCE_FREQUENCY\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected | capitalize}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_RANDOM_PERIODIC_ANNOUNCE\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected | capitalize}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_ANNOUNCE_HOLDTIME\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected | capitalize}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_ANNOUNCE_POSITION\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{ \'DESCRIPTION_QUEUE_ANNOUNCE_POSITION_LIMIT\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected | capitalize}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_REPORTHOLDTIME\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n
\n

{{\'APPLICATION_SOUNDS\' | translate}}

\n \n
\n \n \n {{$select.selected.display_name}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_REPORTHOLD\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected.display_name}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_YOUARENEXT\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected.display_name}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_THEREARE\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected.display_name}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_CALLSWAITING\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected.display_name}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_HOLDTIME\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected.display_name}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_MINUTES\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected.display_name}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_MINUTE\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected.display_name}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_SECONDS\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected.display_name}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_THANKYOU\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n
\n\n \n
\n
\n \n \n
\n
\n\n
\n
\n\n \n
\n \n \n {{$select.selected | capitalize}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_AUTOPAUSE\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected | capitalize}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_RINGINUSE\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{ \'DESCRIPTION_QUEUE_MEMBER_DELAY\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n
\n \n \n {{ \'DESCRIPTION_ACW\' | translate }}\n \n \n {{\'APPLICATION_ACW\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n
\n\n \n
\n \n \n {{$select.selected | capitalize}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_TIMEOUTRESTART\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_MONITOR_FORMAT\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_VOICE_CONTEXT\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{ \'DESCRIPTION_ACW_TIMEOUT\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n
\n\n \n
\n
\n \n\n
\n
\n
\n
\n
\n'), +a.put("app/channels/sms/account/view/view.settings.html",'
\n
\n
\n
\n
\n \n {{\'APPLICATION_SETTINGS\' | translate}}\n
\n \n
\n
\n
\n \n
\n
\n \n
\n \n \n
\n \n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n \n
\n \n
\n\n \n {{$select.selected.name}}\n \n
\n
\n
\n\n \n \n \n\n
\n
\n \n\n\n \n
\n
\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n\n \n\n
\n \n \n \n {{ \'DESCRIPTION_PHONE_NUMBER\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n\n
\n \n \n {{$select.selected | uppercase}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n \n
\n \n \n \n {{ \'DESCRIPTION_PHONE_NUMBER\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n \n
\n\n
\n Copy the following url and insert it into your {{account.type}} account settings to receive sms.\n Detail.\n \n {{\'APPLICATION_COPY_TO_CLIPBOARD\' | translate}}\n \n

\n \n\n
\n \n \n
\n\n
\n Copy the following url and insert it into your {{account.type}} account settings to receive delivery status.\n Detail\n \n {{\'APPLICATION_COPY_TO_CLIPBOARD\' | translate}}\n \n

\n\n \n\n
\n \n \n
\n
\n \n\n\n\n
\n
\n
\n
\n
\n'),a.put("app/channels/sms/account/wizard/wizard.html",'\n
\n
\n \n \n \n\n \n
\n
\n
\n \n {{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD \n
\n
\n
\n \n \n
\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n \n\n
\n \n \n {{$select.selected | uppercase}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n \n
\n \n \n \n \n {{ \'DESCRIPTION_PHONE_NUMBER\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n\n
\n \n \n {{$select.selected | uppercase}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n \n
\n \n \n \n {{ \'DESCRIPTION_PHONE_NUMBER\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n\n\n\n
\n \n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n \n
\n
\n\n\n\n \n

{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

\n \n
\n
\n
\n
\n \n
\n
\n\n'),a.put("app/channels/sms/inbox/room/room.directive.html",'\n\n
\n
\n
\n
\n \n | \n {{SmsRoom.status}}\n \n
\n
\n \n \n \n \n \n \n \n \n \n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n \n \n \n
\n
\n \n {{$item}}\n \n {{tag}}\n \n \n
\n
\n
\n \n
\n
\n\n
\n
    \n
  • \n \n \n
    \n \n \n
    \n \n
  • \n
\n
\n
\n
\n
\n \n
\n\n \n
\n
\n
\n
\n \n
\n
\n \n {{$select.selected.name}}\n \n
\n \n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n
\n
\n \n \n
\n\n
\n
\n
\n \n
\n
\n \n \n {{ \'DESCRIPTION_PHONE_NUMBER\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n
\n
\n \n \n
\n
\n \n \n Max 160 chars\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n \n
\n
\n
\n \n \n \n
\n
\n \n \n
\n No Results Found\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n\n
\n \n \n
\n
\n \n \n
\n
\n\n
\n
\n
\n
\n
\n
\n
\n\n'), +a.put("app/channels/sms/inbox/sms/sms.html",'
\n
\n
\n From: \n [{{smsMessage.from}}]\n
\n To: \n [{{smsMessage.to}}]\n
\n
\n
\n {{\'APPLICATION_SENT_BY\' | translate}}: {{smsMessage.User.fullname}}\n {{\'APPLICATION_SENT_BY\' | translate}}: {{smsMessage.source}}\n\n
\n
\n\n
\n \n \n {{smsMessage.status | uppercase}}\n \n \n {{smsMessage.status | uppercase}}\n \n \n {{smsMessage.status | uppercase}}\n \n \n {{smsMessage.status | uppercase}}\n \n \n {{smsMessage.status | uppercase}}\n \n \n {{smsMessage.status | uppercase}}\n \n
\n Error Code:{{smsMessage.errorcode}}\n Error Code:{{smsMessage.errorcode}}\n
\n\n \n
\n
\n \n\n
\n'),a.put("app/channels/sms/inbox/view/account/list/list.html",'\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n
\n \n \n \n
\n
\n \n {{$item}}\n \n {{tag}}\n \n \n
\n
\n
\n \n
\n
\n \n \n \n\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n\n'),a.put("app/channels/sms/inbox/view/view.agents.modal.html",'\n\n\n'),a.put("app/channels/sms/inbox/view/view.html",'\n\n\n\n
\n
\n \n
\n\n
\n \n
\n
\n

Info! {{\'APPLICATION_NO_ACCOUNT_SELECTED\' | translate}}

\n
\n
\n \n
\n
\n\n'),a.put("app/channels/sms/inbox/view/view.status.modal.html",'\n\n\n'),a.put("app/channels/sms/inbox/view/view.tags.modal.html",'\n\n\n'),a.put("app/channels/sms/inbox/view/view.templates.modal.html",'\n\n\n'),a.put("app/channels/sms/queue/list/list.create.modal.html",'\n\n\n'),a.put("app/channels/sms/queue/list/list.html",'\n\n\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_QUEUES\' | translate }} \n
\n \n
\n
\n \n
\n
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/channels/sms/queue/view/view.agents.html",'
\n
\n
\n
\n
\n \n {{\'APPLICATION_AGENTS\' | translate}}\n
\n
\n
\n

Warning!

\n

\n {{ \'MESSAGE_NO_AVAILABLE_TEAMS\' | translate }}\n

\n
\n
\n \n
\n
\n \n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n'),a.put("app/channels/sms/queue/view/view.html",'\n
\n
\n \n\n \n
\n \n
\n \n
\n \n
\n \n \n
\n
\n {{queue.name}}\n
\n \n
\n \n\n \n \n \n
\n \n
\n \n \n
\n
\n \n
\n
\n \n'),a.put("app/channels/sms/queue/view/view.settings.html",'
\n
\n
\n
\n
\n \n {{\'APPLICATION_SETTINGS\' | translate}}\n
\n
\n
\n
\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n {{$select.selected.toUpperCase()}}\n \n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n'),a.put("app/channels/sms/realtime/view/agent/agent.html",'\n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n\n'),a.put("app/channels/sms/realtime/view/agent/agent.modal.info.html",'\n\n\n'),a.put("app/channels/sms/realtime/view/agent/queue.modal.add.html",'\n\n\n'),a.put("app/channels/sms/realtime/view/application/application.html",'\n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n\n'),a.put("app/channels/sms/realtime/view/view.html",'\n\n\n'),a.put("app/channels/sms/realtime/view/view.queue.html",'\n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n\n'),a.put("app/channels/voice/chanspy/list/list.create.modal.html",'\n\n\n'), +a.put("app/channels/voice/chanspy/list/list.html",'\n
\n
\n \n\n \n
\n
\n
\n \n {{ \'APPLICATION_CHANSPY\' | translate }} \n
\n
\n \n
\n \n
\n
\n
\n
\n \n
\n
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/channels/voice/chanspy/view/view.html",'\n
\n
\n \n\n \n
\n \n
\n \n
\n \n
\n \n \n
\n
\n {{chanspy.name}}\n
\n \n
\n \n\n \n \n \n
\n \n
\n \n \n
\n
\n \n
\n
\n\n'),a.put("app/channels/voice/chanspy/view/view.settings.html",'
\n
\n
\n
\n
\n \n {{ \'APPLICATION_CHANSPY\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} \n
\n \n
\n\n
\n
\n \n
\n
\n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$item.value}}: {{$item.name | translate}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n
\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n \n
\n
\n \n\n
\n
\n
\n
\n
\n'),a.put("app/channels/voice/context/list/create.modal.html",'\n\n\n'),a.put("app/channels/voice/context/list/list.html",'\n
\n
\n \n\n \n
\n
\n
\n \n {{ \'APPLICATION_CONTEXTS\' | translate }} \n
\n \n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/channels/voice/context/view/view.html",'\n
\n
\n \n\n \n
\n \n
\n \n
\n \n
\n \n \n
\n
\n {{context.name}}\n
\n
\n \n\n \n \n \n
\n \n
\n \n \n
\n
\n \n
\n
\n \n'),a.put("app/channels/voice/context/view/view.settings.html",'
\n
\n
\n
\n
\n \n {{ \'APPLICATION_CONTEXT\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} \n
\n \n
\n\n
\n
\n \n
\n
\n\n \n
\n \n \n \n {{ \'DESCRIPTION_CANT_EDIT_NAME\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n \n
\n
\n \n\n
\n
\n
\n
\n
\n'),a.put("app/channels/voice/disposition/list/list.html",'\n
\n
\n \n\n \n
\n
\n
\n \n {{ \'APPLICATION_DISPOSITIONS\' | translate }} \n
\n
\n \n \n \n
\n
\n
\n
\n
\n
\n
\n

Info! {{\'MESSAGE_NO_DISPOSITIONS_AVAILABLE\' | translate}}

\n
\n
\n
\n\n \n
\n
\n
\n
\n \n
\n \n \n \n \n
\n
\n
\n \n
\n
\n
\n \n
\n
\n\n'),a.put("app/channels/voice/disposition/list/modal/add.modal.html",'\n\n\n'),a.put("app/channels/voice/moh/list/create.modal.html",'\n\n\n'),a.put("app/channels/voice/moh/list/list.html",'\n
\n
\n \n\n \n
\n
\n
\n \n {{ \'APPLICATION_MOHS\' | translate }} \n
\n \n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/channels/voice/moh/view/view.addFiles.html",'\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_MOH\' | translate }} {{ \'APPLICATION_ADD_FILES\' | translate }} \n
\n
\n
\n
\n

Warning!

\n

\n {{ \'MESSAGE_NO_SOUNDS_AVAILABLE\' | translate }}\n

\n

\n {{\'APPLICATION_GO_TO\' | translate}} {{\'APPLICATION_SOUNDS\' | translate}}\n

\n
\n
\n\n \n
\n \n \n {{$item.display_name}}\n \n {{sound.display_name}}\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n
\n
\n \n
\n
\n\n'),a.put("app/channels/voice/moh/view/view.audios.html",'
\n
\n
\n
\n
\n
\n \n {{\'APPLICATION_AUDIOS\' | translate}}\n
\n \n
\n
\n
\n

Warning!

\n

\n {{ \'MESSAGE_FOLDER_DOES_NOT_EXIST\' | translate }}\n

\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
{{ \'APPLICATION_NAME\' | translate }}{{ \'APPLICATION_PREVIEW\' | translate }}{{ \'APPLICATION_ACTIONS\' | translate }}
{{audiofile}}\n \n \n {{ \'APPLICATION_DELETE\' | translate }}\n \n
\n {{ \'MESSAGE_NO_AUDIOFILES_AVAILABLE\' | translate }}\n
\n \n
\n
\n
\n
\n
\n'),a.put("app/channels/voice/moh/view/view.html",'\n
\n
\n \n\n \n
\n \n
\n \n
\n \n
\n \n \n
\n
\n {{moh.name}}\n
\n
\n \n\n \n \n \n
\n \n
\n \n \n
\n
\n \n
\n
\n\n'), +a.put("app/channels/voice/moh/view/view.settings.html",'
\n
\n
\n
\n
\n \n {{ \'APPLICATION_MOH_CLASS\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} \n
\n \n
\n\n
\n
\n \n
\n
\n\n \n
\n \n \n
\n \n\n \n
\n \n \n {{$translate.instant($select.selected.name)}}\n \n {{$translate.instant(sort.name)}}\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n
\n \n
\n
\n
\n
\n
\n'),a.put("app/channels/voice/queue/list/list.create.modal.html",'\n\n\n'),a.put("app/channels/voice/queue/list/list.html",'\n
\n
\n \n\n \n
\n
\n
\n \n {{ \'APPLICATION_QUEUES\' | translate }}\n
\n \n
\n
\n \n
\n
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/channels/voice/queue/view/view.agents.html",'
\n
\n
\n
\n
\n \n {{\'APPLICATION_AGENTS\' | translate}}\n
\n
\n
\n

Warning!

{{ \'MESSAGE_NO_AVAILABLE_TEAMS\' | translate }}

\n
\n
\n \n
\n
\n \n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n'),a.put("app/channels/voice/queue/view/view.html",'\n
\n
\n \n\n \n
\n \n
\n \n
\n \n
\n \n \n
\n
\n {{queue.name}}\n
\n
\n \n\n \n \n \n
\n \n
\n \n \n
\n
\n \n
\n
\n\n'),a.put("app/channels/voice/queue/view/view.settings.html",'
\n
\n
\n
\n
\n \n {{ \'APPLICATION_QUEUE_SETTINGS\' | translate}}\n
\n \n
\n\n
\n
\n \n
\n
\n
\n
\n \n
\n \n \n {{$select.selected.toUpperCase()}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_STRATEGY\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_VOICE_MOH\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{ \'DESCRIPTION_QUEUE_TIMEOUT\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{ \'DESCRIPTION_QUEUE_MAXLEN\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{ \'DESCRIPTION_QUEUE_RETRY\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n
\n \n
\n \n \n \n {{ \'DESCRIPTION_QUEUE_WRAPUPTIME\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{ \'DESCRIPTION_QUEUE_WEIGHT\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$item}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_JOINEMPTY\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$item}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_LEAVEWHENEMPTY\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected.display_name}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_ANNOUNCE\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n
\n \n
\n \n \n
\n \n\n \n
\n
\n\n
\n
\n
\n
\n \n
\n \n \n {{$item.display_name}}\n \n
\n
\n
\n
\n

Warning!

\n

\n {{ \'MESSAGE_NO_SOUNDS_AVAILABLE\' | translate }}\n

\n

\n {{\'APPLICATION_GO_TO\' | translate}} {{\'APPLICATION_SOUNDS\' | translate}}\n

\n
\n \n {{ \'DESCRIPTION_QUEUE_PERIODIC_ANNOUNCE\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n
\n
\n
\n

{{\'APPLICATION_SETTINGS\' | translate}}

\n \n
\n \n \n \n {{ \'DESCRIPTION_QUEUE_ANNOUNCE_FREQUENCY\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{ \'DESCRIPTION_QUEUE_MIN_ANNOUNCE_FREQUENCY\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{ \'DESCRIPTION_QUEUE_PERIODIC_ANNOUNCE_FREQUENCY\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected | capitalize}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_RANDOM_PERIODIC_ANNOUNCE\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected | capitalize}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_ANNOUNCE_HOLDTIME\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected | capitalize}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_ANNOUNCE_POSITION\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{ \'DESCRIPTION_QUEUE_ANNOUNCE_POSITION_LIMIT\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected | capitalize}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_REPORTHOLDTIME\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n
\n

{{\'APPLICATION_SOUNDS\' | translate}}

\n \n
\n \n \n {{$select.selected.display_name}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_REPORTHOLD\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected.display_name}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_YOUARENEXT\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected.display_name}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_THEREARE\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected.display_name}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_CALLSWAITING\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected.display_name}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_HOLDTIME\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected.display_name}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_MINUTES\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected.display_name}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_MINUTE\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected.display_name}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_SECONDS\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected.display_name}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_THANKYOU\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n
\n\n \n
\n
\n \n \n
\n
\n\n
\n
\n\n \n
\n \n \n {{$select.selected | capitalize}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_AUTOPAUSE\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected | capitalize}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_RINGINUSE\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{ \'DESCRIPTION_QUEUE_MEMBER_DELAY\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n
\n \n \n {{ \'DESCRIPTION_ACW\' | translate }}\n \n \n {{\'APPLICATION_ACW\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n
\n\n \n
\n \n \n {{$select.selected | capitalize}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_TIMEOUTRESTART\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_MONITOR_FORMAT\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_QUEUE_VOICE_CONTEXT\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{ \'DESCRIPTION_ACW_TIMEOUT\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n
\n\n \n
\n
\n \n\n
\n
\n
\n
\n
\n'), a.put("app/channels/voice/realtime/view/agent/agent.html",'\n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n\n'),a.put("app/channels/voice/realtime/view/agent/agent.modal.info.html",'\n\n\n'),a.put("app/channels/voice/realtime/view/agent/queue.modal.add.html",'\n\n\n'),a.put("app/channels/voice/realtime/view/parameter/parameter.html",'\n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n\n'),a.put("app/channels/voice/realtime/view/queue/queue.html",'\n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n\n'),a.put("app/channels/voice/realtime/view/telephone/telephone.html",'\n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n\n'),a.put("app/channels/voice/realtime/view/telephone/telephone.modal.info.html",'\n\n\n'),a.put("app/channels/voice/realtime/view/view.html",'\n\n\n'),a.put("app/channels/voice/recording/list/list.html",'\n
\n
\n \n\n \n
\n
\n
\n \n {{ \'APPLICATION_RECORDINGS\' | translate }} \n
\n \n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/channels/voice/route/inbound/list/create.modal.html",'\n\n\n\n'),a.put("app/channels/voice/route/inbound/list/list.html",'\n
\n
\n \n\n \n
\n
\n
\n \n {{ \'APPLICATION_INBOUND\' | translate }} {{ \'APPLICATION_ROUTES\' | translate }} \n
\n \n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/channels/voice/route/inbound/view/view.applications.html",'
\n
\n
\n
\n
\n
\n \n {{\'APPLICATION_ACTIONS\' | translate}}\n
\n \n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n
\n
\n
\n'),a.put("app/channels/voice/route/inbound/view/view.html",'\n
\n
\n \n\n \n
\n \n
\n \n
\n \n
\n \n \n
\n
\n {{route.exten}}\n
\n \n
\n \n\n \n \n \n
\n \n
\n \n \n
\n
\n \n
\n
\n\n"),a.put("app/channels/voice/route/inbound/view/view.settings.html",'
\n
\n
\n
\n
\n \n {{ \'APPLICATION_INBOUND\' | translate}} {{ \'APPLICATION_ROUTE\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} \n
\n \n
\n\n
\n
\n \n
\n
\n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_VOICE_CONTEXT\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n
\n \n\n
\n
\n
\n
\n
\n'),a.put("app/channels/voice/route/internal/list/create.modal.html",'\n\n\n\n'),a.put("app/channels/voice/route/internal/list/list.html",'\n
\n
\n \n\n \n
\n
\n
\n \n {{ \'APPLICATION_INTERNAL\' | translate }} {{ \'APPLICATION_ROUTES\' | translate }} \n
\n \n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/channels/voice/route/internal/view/view.applications.html",'
\n
\n
\n
\n
\n
\n \n {{\'APPLICATION_ACTIONS\' | translate}}\n
\n \n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n
\n
\n
\n'),a.put("app/channels/voice/route/internal/view/view.html",'\n
\n
\n \n\n \n
\n \n
\n \n
\n \n
\n \n \n
\n
\n {{route.exten}}\n
\n \n
\n \n\n \n \n \n
\n \n
\n \n \n
\n
\n \n \n
\n
\n\n"),a.put("app/channels/voice/route/internal/view/view.settings.html",'
\n
\n
\n
\n
\n \n {{ \'APPLICATION_INTERNAL\' | translate}} {{ \'APPLICATION_ROUTE\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} \n
\n \n
\n\n
\n
\n \n
\n
\n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_VOICE_CONTEXT\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n
\n \n\n
\n
\n
\n
\n
\n'),a.put("app/channels/voice/route/outbound/list/create.modal.html",'\n\n\n\n'), a.put("app/channels/voice/route/outbound/list/list.html",'\n
\n
\n \n\n \n
\n
\n
\n \n {{ \'APPLICATION_OUTBOUND\' | translate }} {{ \'APPLICATION_ROUTES\' | translate }} \n
\n \n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/channels/voice/route/outbound/view/view.html",'\n
\n
\n \n\n \n
\n \n
\n \n
\n \n
\n \n \n
\n
\n {{route.exten}}\n
\n \n
\n \n\n \n \n \n
\n \n
\n \n \n
\n
\n \n \n
\n
\n\n"),a.put("app/channels/voice/route/outbound/view/view.route.html",'
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_NEW_ROUTE\' | translate }} WIZARD \n
\n
\n
\n
\n {{(main.app.name | translate) || \'Application\'}}\n
\n \n \n
\n \n \n
\n \n \n {{$select.selected.name | translate}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n
\n

Warning!

\n

\n {{ \'MESSAGE_NO_TRUNKS_AVAILABLE\' | translate }}\n

\n

\n {{\'APPLICATION_GO_TO\' | translate}} {{\'APPLICATION_TRUNKS\' | translate}}\n

\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \' placeholder=\'"name" \' class="form-control" data-ng-model="application.appdata[1]" data-ng-init="application.appdata[1] = null">\n \n {{ \'DESCRIPTION_OUTBOUND_CALLERID\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{ \'DESCRIPTION_OUTBOUND_PREFIX\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n
\n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n \n
\n
\n \n
\n \n \n \n
\n \n \n {{$select.selected.name | translate}}\n \n {{$translate.instant(intType.name)}}\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n \n
\n \n
\n
\n
to
\n
\n \n
\n
\n \n\n \n
\n \n
\n \n {{$select.selected.name | translate}}\n \n {{weekDay.name | translate}}\n \n \n to\n \n {{$select.selected.name | translate}}\n \n {{weekDay.name | translate}}\n \n \n
\n
\n \n\n \n
\n \n
\n \n {{$select.selected === \'always\' ? \'APPLICATION_ALWAYS\' : $select.selected | translate}}\n \n {{monthDay === \'always\' ? \'APPLICATION_ALWAYS\' : monthDay | translate}}\n \n \n to\n \n {{$select.selected === \'always\' ? \'APPLICATION_ALWAYS\' : $select.selected | translate}}\n \n {{monthDay === \'always\' ? \'APPLICATION_ALWAYS\' : monthDay | translate}}\n \n \n
\n
\n \n\n \n
\n \n
\n \n {{$select.selected.name | translate}}\n \n {{month.name | translate}}\n \n \n to\n \n {{$select.selected.name | translate}}\n \n {{month.name | translate}}\n \n \n
\n
\n \n
\n\n
\n\n \n
\n \n \n {{$select.selected.name | translate}}\n \n {{interval.name | translate}}\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n\n \n \n
\n
\n\n \n

{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

\n \n \n
\n
\n
\n
\n \n
\n
\n\n'),a.put("app/channels/voice/route/outbound/view/view.routeSettings.html",'
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_APPLICATION_SETTINGS\' | translate }} WIZARD \n
\n
\n
\n \n
\n {{(main.app.name | translate) || \'Application\'}}\n
\n \n
\n \n
\n\n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n
\n

Warning!

\n

\n {{ \'MESSAGE_NO_TRUNKS_AVAILABLE\' | translate }}\n

\n

\n {{\'APPLICATION_GO_TO\' | translate}} {{\'APPLICATION_TRUNKS\' | translate}}\n

\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \' placeholder=\'"name" \' class="form-control" data-ng-model="route.Applications[selectedApp].appdata[1]">\n \n {{ \'DESCRIPTION_OUTBOUND_CALLERID\' | translate }} "name" <number>\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{ \'DESCRIPTION_OUTBOUND_PREFIX\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n
\n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n \n
\n
\n \n
\n \n \n \n
\n \n \n {{$select.selected.name | translate}}\n \n {{intType.name | translate}}\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n \n
\n \n
\n
\n
to
\n
\n \n
\n
\n \n\n \n
\n \n
\n \n {{$select.selected.name | translate}}\n \n {{weekDay.name | translate}}\n \n \n to\n \n {{$select.selected.name | translate}}\n \n {{weekDay.name | translate}}\n \n \n
\n
\n \n\n \n
\n \n
\n \n {{$select.selected === \'always\' ? \'APPLICATION_ALWAYS\' : $select.selected | translate}}\n \n {{monthDay === \'always\' ? \'APPLICATION_ALWAYS\' : monthDay | translate}}\n \n \n to\n \n {{$select.selected === \'always\' ? \'APPLICATION_ALWAYS\' : $select.selected | translate}}\n \n {{monthDay === \'always\' ? \'APPLICATION_ALWAYS\' : monthDay | translate}}\n \n \n
\n
\n \n\n \n
\n \n
\n \n {{$select.selected.name | translate}}\n \n {{month.name | translate}}\n \n \n to\n \n {{$select.selected.name | translate}}\n \n {{month.name | translate}}\n \n \n
\n
\n \n
\n\n
\n\n \n
\n \n \n {{$select.selected.name | translate}}\n \n {{interval.name | translate}}\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n \n \n
\n
\n\n \n

{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

\n \n \n
\n
\n
\n
\n \n
\n
\n\n'), a.put("app/channels/voice/route/outbound/view/view.routes.html",'
\n
\n
\n
\n
\n
\n \n {{\'APPLICATION_ACTIONS\' | translate}}\n
\n \n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n
\n
\n
\n'),a.put("app/channels/voice/route/outbound/view/view.settings.html",'
\n
\n
\n
\n
\n \n {{ \'APPLICATION_OUTBOUND\' | translate}} {{ \'APPLICATION_ROUTE\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} \n
\n \n
\n\n
\n
\n \n
\n
\n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n \n
\n \n\n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_VOICE_CONTEXT\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n
\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n
\n \n\n
\n
\n
\n
\n
\n'),a.put("app/channels/voice/route/view.application.html",'\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_NEW_APPLICATION\' | translate }} WIZARD \n
\n
\n
\n \n
\n {{(main.app.name | translate) || \'Application\'}}\n
\n \n
\n \n \n
\n \n \n {{$select.selected.name | translate}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n
\n

Warning!

\n

\n {{ \'MESSAGE_NO_QUEUES_AVAILABLE\' | translate }}\n

\n

\n {{\'APPLICATION_GO_TO\' | translate}} {{\'APPLICATION_QUEUES\' | translate}}\n

\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected.display_name}}\n \n
\n
\n
\n
\n

Warning!

\n

\n {{ \'MESSAGE_NO_SOUNDS_AVAILABLE\' | translate }}\n

\n

\n {{\'APPLICATION_GO_TO\' | translate}} {{\'APPLICATION_SOUNDS\' | translate}}\n

\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n
\n \n
\n \n \n {{$select.selected.display_name}}\n \n
\n
\n
\n
\n

Warning!

\n

\n {{ \'MESSAGE_NO_SOUNDS_AVAILABLE\' | translate }}\n

\n

\n {{\'APPLICATION_GO_TO\' | translate}} {{\'APPLICATION_SOUNDS\' | translate}}\n

\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n
\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n
\n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n
\n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n
\n

Warning!

\n

\n {{ \'MESSAGE_NO_TRUNKS_AVAILABLE\' | translate }}\n

\n

\n {{\'APPLICATION_GO_TO\' | translate}} {{\'APPLICATION_TRUNKS\' | translate}}\n

\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n
\n \n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n
\n

Warning!

\n

\n {{ \'MESSAGE_NO_PROJECTS_AVAILABLE\' | translate }}\n

\n

\n {{\'APPLICATION_GO_TO\' | translate}} {{\'APPLICATION_PROJECTS\' | translate}}\n

\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n
\n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n
\n \n
\n \n \n {{$select.selected.name | translate}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n
\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n
\n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n
\n \n
\n \n \n {{$select.selected.mailbox}}\n \n
\n
\n
\n
\n

Warning!

\n

\n {{ \'MESSAGE_NO_VOICEMAILS_AVAILABLE\' | translate }}\n

\n

\n {{\'APPLICATION_GO_TO\' | translate}} {{\'APPLICATION_VOICEMAILS\' | translate}}\n

\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n \n
\n
\n \n
\n \n \n \n
\n \n \n {{$select.selected.name | translate}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n \n
\n \n
\n
\n
to
\n
\n \n
\n
\n \n\n \n
\n \n
\n \n {{$select.selected.name | translate}}\n \n {{weekDay.name | translate}}\n \n \n to\n \n {{$select.selected.name | translate}}\n \n {{weekDay.name | translate}}\n \n \n
\n
\n \n\n \n
\n \n
\n \n {{$select.selected === \'always\' ? \'APPLICATION_ALWAYS\' : $select.selected | translate}}\n \n {{monthDay === \'always\' ? \'APPLICATION_ALWAYS\' : monthDay | translate}}\n \n \n to\n \n {{$select.selected === \'always\' ? \'APPLICATION_ALWAYS\' : $select.selected | translate}}\n \n {{monthDay === \'always\' ? \'APPLICATION_ALWAYS\' : monthDay | translate}}\n \n \n
\n
\n \n\n \n
\n \n
\n \n {{$select.selected.name | translate}}\n \n {{month.name | translate}}\n \n \n to\n \n {{$select.selected.name | translate}}\n \n {{month.name | translate}}\n \n \n
\n
\n \n
\n\n
\n\n \n
\n \n \n {{$select.selected.name | translate}}\n \n {{interval.name | translate}}\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n \n \n
\n
\n\n \n

{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

\n \n \n
\n
\n
\n
\n \n
\n
\n\n\n\n'), @@ -46,8 +46,9 @@ a.put("app/contactmanager/contact/list/import.modal.html",'\n'),a.put("app/jscripty/project/report/report.sessions.html",'\n
\n
\n
\n
\n
\n \n {{ \'APPLICATION_SESSIONS\' | translate }} \n
\n
\n
\n \n \n \n
\n
\n
\n
\n
\n
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
\n
\n
\n
\n
\n
\n'),a.put("app/jscripty/project/report/report.summary.html",'
\n
\n
\n
\n
\n \n {{ \'APPLICATION_QUESTIONS\' | translate }} \n
\n
\n
\n \n
\n
\n
\n
\n
\n
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
\n
\n
\n
\n
\n
\n'),a.put("app/jscripty/project/view/view.html",'\n\n
\n
\n
\n
\n
\n\n\n'),a.put("app/landing/landing.html",'\n\n\n\n\n
\n
\n
\n Oops!\n
\n
\n

{{message | translate}}.

\n

\n Please contact your administrator.

\n

\n
\n
\n
\n\n\n\n'),a.put("app/login/login.html",'\n\n\n\n
\n \n \n
\n\n\n'), -a.put("app/main/chooseContact.modal.html",'\n\n\n'),a.put("app/main/closeEditedTab.modal.html",'\n\n\n'),a.put("app/main/closeEditedTab.modal.jscripty.html",' \n\n\n\n\n'),a.put("app/main/company.info.html",'\n\n\n'),a.put("app/main/customDateFilter.modal.html",'\n\n'),a.put("app/main/customDateFilterHeader.html",'\n\n  \n\n'),a.put("app/main/main.html",'\n\n\n\n
\n
\n\n
\n\n \n
\n
\n \n\n \n
\n
\n\n \n \n \n \n Motion \n \n
\n
\n \n \n {{workspace.name | truncate: 25: \'...\': true}} {{workspace.unread}} \n \n
\n \n \n \n \n \n \n \n \n
\n
\n
\n \n\n
\n
\n \n\n
\n\n\n\n\n\n\n\n\n\n\n\n'),a.put("app/main/template/actionBuilder/template.actionBuilderIntegration.html",'
\n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{\'APPLICATION_INTEGRATION\' | translate}}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{\'APPLICATION_ACCOUNT\' | translate}}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{\'APPLICATION_CONFIGURATION\' | translate}}\n \n \n'+" {{'APPLICATION_WARNING' | translate}}! {{'MESSAGE_REQUIRED_FIELD' | translate}}.\n \n
\n"),a.put("app/main/template/actionBuilder/template.actionBuilderJscripty.html",'
\n \n {{$select.selected.name}}\n \n
\n
\n
\n \n'+" {{'APPLICATION_WARNING' | translate}}! {{'MESSAGE_REQUIRED_FIELD' | translate}}.\n \n
\n"),a.put("app/main/template/actionBuilder/template.actionBuilderMotionBar.html",'\n
\n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{ \'APPLICATION_TYPE\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n\n\n
\n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{ \'APPLICATION_TEMPLATE\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n\n\n
\n \n \n {{ \'APPLICATION_URL\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n\n\n
\n \n \n {{ \'APPLICATION_APPLICATION\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n \n \n {{ \'APPLICATION_ARGUMENTS\' | translate }}\n \n
\n'),a.put("app/main/template/actionBuilder/template.actionBuilderStatus.html",'
\n \n {{$select.selected.name | translate}}\n \n
\n
\n
\n \n'+" {{'APPLICATION_WARNING' | translate}}! {{'MESSAGE_REQUIRED_FIELD' | translate}}.\n \n
\n"),a.put("app/main/template/actionBuilder/template.actionBuilderTemplate.html",'
\n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n \n
\n'),a.put("app/main/template/template.conditionBuilder.html",'
\n \n {{$select.selected.name | translate}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n \n {{$select.selected.name | translate}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n \n {{$select.selected.name | translate}}\n \n
\n
\n
\n \n'+" {{'APPLICATION_WARNING' | translate}}! {{'MESSAGE_REQUIRED_FIELD' | translate}}.\n \n
\n"),a.put("app/main/template/template.contactTab.html",'
\n
\n
\n \n
\n \n
\n
\n \n
\n
\n
\n \n
\n

{{\'MESSAGE_INBOUND_CALL_FROM\' | translate}} - {{workspace.data.calleridnum}}

\n

\n {{\'MESSAGE_CALL_UNIQUEID\' | translate}} : {{workspace.data.uniqueid}}\n

\n
\n
\n
\n
\n
{{\'APPLICATION_QUEUE\' | translate}}
\n

{{workspace.data.queue}}

\n
\n
\n
{{\'APPLICATION_AGENT\' | translate}}
\n

{{workspace.data.membername}}

\n
\n
\n
{{\'APPLICATION_DATE\' | translate}}
\n

{{workspace.data.agentcalledAt | date:\'dd/MM/yyyy HH:mm:ss\'}}

\n
\n
\n \n \n
\n
\n
\n \n {{\'APPLICATION_DETAIL\' | translate}}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n
\n \n {{$select.selected.name}}\n \n
\n
\n
\n \n \n \n
\n
\n

Warning!

\n

\n {{ \'MESSAGE_NO_COMPANIES_AVAILABLE\' | translate }}\n

\n

\n {{\'APPLICATION_GO_TO\' | translate}} {{\'APPLICATION_COMPANIES\' | translate}}\n

\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n
\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n
\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n \n
\n \n \n {{$item}}\n \n {{tag}}\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n \n
\n \n \n
\n \n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n
\n

Warning!

\n

\n {{ \'MESSAGE_NO_LISTS_AVAILABLE\' | translate }}\n

\n

\n {{\'APPLICATION_GO_TO\' | translate}} {{\'APPLICATION_LISTS\' | translate}}\n

\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n
\n
\n
\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n
\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n
\n
\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n
\n
\n
\n \n
\n \n \n
\n
\n
\n \n {{\'APPLICATION_CUSTOM_FIELDS\' | translate}}\n
\n
\n
\n
\n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n \n \n {{$select.selected.value}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n
\n \n {{\'APPLICATION_LOG\' | translate}}\n
\n \n
\n
\n \n
\n
\n
\n
\n
\n \n \n
|\n
\n \n \n
|\n
\n \n \n
\n
\n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n
\n
\n
\n
\n
\n
\n \n \n
|\n
\n \n \n
|\n
\n \n \n
\n
\n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n
\n
\n
\n \n
\n
\n \n
\n \n \n
\n
\n
\n'), +a.put("app/integration/list/list.html",'\n\n
\n
\n \n\n \n
\n
\n
\n \n {{ \'APPLICATION_INTEGRATIONS\' | translate }} \n
\n
\n \n New App \n \n \n \n \n \n
\n
\n
\n \n \n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n
\n \n
\n
\n
\n \n \n \n \n
\n
\n
\n
{{ \'APPLICATION_ID\' | translate }}{{ \'APPLICATION_NAME\' | translate }}{{ \'APPLICATION_FILENAME\' | translate }}{{ \'APPLICATION_VERSION\' | translate }}{{ \'APPLICATION_DESCRIPTION\' | translate }}{{ \'APPLICATION_ACTIONS\' | translate }}
{{integration.id}}{{integration.name}}{{integration.filename}}{{integration.version}}{{integration.description}}\n \n {{ \'APPLICATION_UPDATE\' | translate }} \n \n \n \n {{ \'APPLICATION_DELETE\' | translate }}\n \n
\n No integrations available\n
\n
\n \n \n
\n
\n
\n \n \n
\n
\n
\n \n \n
\n
\n \n \n
\n \n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/jscripty/project/list/list.create.modal.html",'\n\n\n'),a.put("app/jscripty/project/list/list.html",'\n
\n
\n \n\n \n
\n
\n
\n \n {{ \'APPLICATION_PROJECTS\' | translate }} \n
\n \n
\n
\n \n\n \n\n\n
\n
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
\n\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/jscripty/project/report/report.detail.html",'
\n
\n
\n\n{{ \'APPLICATION_SUMMARY\' | translate }} \n
\n
\n
\n \n \n
\n
\n
\n
\n
\n

{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}

\n
\n
\n
\n
\n \n \n \n Question Id: {{question.question_id}}\n \n \n
\n
\n
\n

{{question.question_label}} : {{question.question_text}}

\n

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Response #Response %
{{choice.value}}{{choice.count}}{{choice.percentage | number:2}}
\n
\n
\n
\n \n \n \n \n \n \n \n {{question.question_other_label}}
\n
\n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n
Response #Response
{{choice.value}}{{choice.count}}
\n
\n
\n
\n
\n
\n
\n

Total Respondents: {{question.total}}


\n
\n
\n
\n
\n \n \n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n'),a.put("app/jscripty/project/report/report.html",'\n\n
\n
\n\n \n
\n
\n \n
\n \n
\n \n \n
\n
\n {{project.name}}[{{project.id}}]\n
\n
\n\n
\n
\n \n\n \n
\n \n
\n \n\n
\n\n
\n\n
\n
\n
\n
\n
\n
\n
\n

{{projectStats.started}}

\n Started\n
\n
\n \n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

{{projectStats.incomplete}}

\n Incomplete\n
\n
\n \n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

{{projectStats.completed}}

\n Completed\n
\n
\n \n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n\n
\n
\n
\n
\n
\n
\n
\n'),a.put("app/jscripty/project/report/report.inputs.html",'
\n
\n
\n
\n
\n \n {{ \'APPLICATION_INPUTS\' | translate }} \n
\n
\n \n
\n
\n
\n
\n
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
\n
\n
\n
\n
\n
\n'),a.put("app/jscripty/project/report/report.question.detail.html",'
\n
\n
\n
\n
\n \n {{ \'APPLICATION_DETAIL\' | translate }} \n
\n
\n
\n
\n

{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}

\n
\n
\n
\n
\n
\n

\n\n Question Id: {{questionDetail.question_id}}\n

\n
\n
\n
\n

{{questionDetail.question_label}}

\n
\n
\n
\n
\n

{{questionDetail.question_text}}


\n
\n
\n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Value Count %
{{choice.value}}{{choice.count}}{{choice.percentage | number:2}}
\n
\n
\n
\n
\n {{choice.value}} {{choice.count}}
\n\n
\n
\n
\n
\n

Total: {{questionDetail.total}}


\n
\n
\n
\n
\n \n \n \n
\n
\n\n
\n\n
\n\n
\n
\n\n
\n
\n
\n
\n'),a.put("app/jscripty/project/report/report.session.detail.html",'\n\n
\n
\n
\n
\n
\n \n {{ \'APPLICATION_DETAIL\' | translate }} \n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n \n \n Question Id: {{question.question_id}}\n \n \n

{{question.question_label}} : {{question.question_text}}

\n
\n

Answer: {{question.question_answer}}

\n
\n
\n

\n {{question.question_other_label}}: \n {{question.question_other_answer || \'No Value\'}}\n

\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n
Label Answer
{{input.input_label}}{{input.input_value || \'No Value\'}}
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n'),a.put("app/jscripty/project/report/report.sessions.html",'\n
\n
\n
\n
\n
\n \n {{ \'APPLICATION_SESSIONS\' | translate }} \n
\n
\n
\n \n \n \n
\n
\n
\n
\n
\n
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
\n
\n
\n
\n
\n
\n'),a.put("app/jscripty/project/report/report.summary.html",'
\n
\n
\n
\n
\n \n {{ \'APPLICATION_QUESTIONS\' | translate }} \n
\n
\n
\n \n
\n
\n
\n
\n
\n
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
\n
\n
\n
\n
\n
\n'),a.put("app/jscripty/project/view/view.html",'\n\n
\n
\n
\n
\n
\n\n\n'),a.put("app/landing/landing.html",'\n\n\n\n\n
\n
\n
\n Oops!\n
\n
\n

{{message | translate}}.

\n

\n Please contact your administrator.

\n

\n
\n
\n
\n\n\n\n'), +a.put("app/login/login.html",'\n\n\n\n
\n \n \n
\n\n\n'),a.put("app/main/chooseContact.modal.html",'\n\n\n'),a.put("app/main/closeEditedTab.modal.html",'\n\n\n'),a.put("app/main/closeEditedTab.modal.jscripty.html",' \n\n\n\n\n'),a.put("app/main/cm.disposition.html",'\n\n\n'),a.put("app/main/company.info.html",'\n\n\n'),a.put("app/main/customDateFilter.modal.html",'\n\n'),a.put("app/main/customDateFilterHeader.html",'\n\n  \n\n'),a.put("app/main/main.html",'\n\n\n\n
\n
\n\n
\n\n \n
\n
\n \n\n \n
\n
\n\n \n \n \n \n Motion \n \n
\n
\n \n \n {{workspace.name | truncate: 25: \'...\': true}} {{workspace.unread}} \n \n
\n \n \n \n \n \n \n \n \n
\n
\n
\n \n\n
\n
\n \n\n
\n\n\n\n\n\n\n\n\n\n\n\n'),a.put("app/main/template/actionBuilder/template.actionBuilderIntegration.html",'
\n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{\'APPLICATION_INTEGRATION\' | translate}}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{\'APPLICATION_ACCOUNT\' | translate}}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{\'APPLICATION_CONFIGURATION\' | translate}}\n \n \n'+" {{'APPLICATION_WARNING' | translate}}! {{'MESSAGE_REQUIRED_FIELD' | translate}}.\n \n
\n"),a.put("app/main/template/actionBuilder/template.actionBuilderJscripty.html",'
\n \n {{$select.selected.name}}\n \n
\n
\n
\n \n'+" {{'APPLICATION_WARNING' | translate}}! {{'MESSAGE_REQUIRED_FIELD' | translate}}.\n \n
\n"),a.put("app/main/template/actionBuilder/template.actionBuilderMotionBar.html",'\n
\n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{ \'APPLICATION_TYPE\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n\n\n
\n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{ \'APPLICATION_TEMPLATE\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n\n\n
\n \n \n {{ \'APPLICATION_URL\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n\n\n
\n \n \n {{ \'APPLICATION_APPLICATION\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n \n \n {{ \'APPLICATION_ARGUMENTS\' | translate }}\n \n
\n'),a.put("app/main/template/actionBuilder/template.actionBuilderStatus.html",'
\n \n {{$select.selected.name | translate}}\n \n
\n
\n
\n \n'+" {{'APPLICATION_WARNING' | translate}}! {{'MESSAGE_REQUIRED_FIELD' | translate}}.\n \n
\n"),a.put("app/main/template/actionBuilder/template.actionBuilderTemplate.html",'
\n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n \n
\n'),a.put("app/main/template/actionBuilder/template.actionBuilderUrlForward.html",'
\n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{\'APPLICATION_TYPE\' | translate}}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n \n \n {{\'APPLICATION_URL\' | translate}}\n \n \n'+" {{'APPLICATION_WARNING' | translate}}! {{'MESSAGE_REQUIRED_FIELD' | translate}}.\n \n
\n"), +a.put("app/main/template/template.conditionBuilder.html",'
\n \n {{$select.selected.name | translate}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n \n {{$select.selected.name | translate}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n \n {{$select.selected.name | translate}}\n \n
\n
\n
\n \n'+" {{'APPLICATION_WARNING' | translate}}! {{'MESSAGE_REQUIRED_FIELD' | translate}}.\n \n
\n"),a.put("app/main/template/template.contactTab.html",'
\n
\n
\n \n
\n \n
\n
\n \n
\n
\n
\n \n
\n

{{\'MESSAGE_INBOUND_CALL_FROM\' | translate}} - {{workspace.data.calleridnum}}

\n

\n {{\'MESSAGE_CALL_UNIQUEID\' | translate}} : {{workspace.data.uniqueid}}\n

\n
\n
\n
\n
\n
{{\'APPLICATION_QUEUE\' | translate}}
\n

{{workspace.data.queue}}

\n
\n
\n
{{\'APPLICATION_AGENT\' | translate}}
\n

{{workspace.data.membername}}

\n
\n
\n
{{\'APPLICATION_DATE\' | translate}}
\n

{{workspace.data.agentcalledAt | date:\'dd/MM/yyyy HH:mm:ss\'}}

\n
\n
\n \n
\n
\n \n \n
\n
\n
\n \n {{\'APPLICATION_DETAIL\' | translate}}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n
\n \n {{$select.selected.name}}\n \n
\n
\n
\n \n \n \n
\n
\n

Warning!

\n

\n {{ \'MESSAGE_NO_COMPANIES_AVAILABLE\' | translate }}\n

\n

\n {{\'APPLICATION_GO_TO\' | translate}} {{\'APPLICATION_COMPANIES\' | translate}}\n

\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n
\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n
\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n \n
\n \n \n {{$item}}\n \n {{tag}}\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n \n
\n \n \n
\n \n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n
\n

Warning!

\n

\n {{ \'MESSAGE_NO_LISTS_AVAILABLE\' | translate }}\n

\n

\n {{\'APPLICATION_GO_TO\' | translate}} {{\'APPLICATION_LISTS\' | translate}}\n

\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n
\n
\n
\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n
\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n
\n
\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n
\n
\n
\n \n
\n \n \n
\n
\n
\n \n {{\'APPLICATION_CUSTOM_FIELDS\' | translate}}\n
\n
\n
\n
\n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n \n \n {{$select.selected.value}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n
\n \n {{\'APPLICATION_LOG\' | translate}}\n
\n \n
\n
\n \n
\n
\n
\n
\n
\n \n \n
|\n
\n \n \n
|\n
\n \n \n
\n
\n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n
\n
\n
\n
\n
\n
\n \n \n
|\n
\n \n \n
|\n
\n \n \n
\n
\n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n
\n
\n
\n \n
\n
\n \n
\n \n \n
\n
\n
\n'), a.put("app/main/template/template.jscriptyTab.html",'
\n \n
\n
\n \n
\n \n \n
\n \n
\n \n \n
\n \n
\n
\n
\n
\n \n {{attribute.value}} \n
\n\n
\n
\n
\n
\n
\n
\n\n \n
\n

{{attribute.value}}

\n
\n \n\n
\n
\n \n

\n
\n
\n \n\n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n
\n
\n
\n \n
\n
\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n \n
\n
\n \n \n \n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n'),a.put("app/main/template/template.notification.html",'\n'),a.put("app/main/template/template.reportBuilderView.html",'
\n
\n \n \n \n \n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n \n \n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n {{$select.selected.name}}\n \n
\n
\n
\n
\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n
\n
\n
\n
\n
\n
\n'),a.put("app/market/market.html",'
\n
\n \n
\n
\n\n
\n
\n \n
\n

Our Integrations

\n
\n
\n
\n
\n

{{integration.name}} {{integration.author}}

\n {{integration.name}}\n
\n

\n {{integration.description}}\n

\n \n
\n
\n
\n {{status}}\n
\n
\n
\n
\n
\n \n \n
\n
\n'),a.put("app/motiondialer/blacklist/list/list.create.modal.html",'\n\n\n'),a.put("app/motiondialer/blacklist/list/list.html",'\n
\n
\n \n\n \n
\n
\n
\n \n {{ \'APPLICATION_BLACKLIST\' | translate }} \n
\n
\n
\n \n
\n
\n
\n
\n \n
\n
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/motiondialer/info/view/view.about.html",'
\n
\n
\n
\n
\n \n {{ \'APPLICATION_ABOUT\' | translate}}\n
\n
\n
\n
\n
\n \n
\n \n
\n \n \n \n
\n
\n \n \n
\n \n
\n \n \n \n
\n
\n \n \n
\n \n
\n \n \n \n
\n
\n \n \n
\n \n
\n \n \n \n
\n
\n \n \n
\n \n
\n \n \n \n
\n
\n \n \n
\n \n
\n \n \n \n
\n
\n \n \n
\n \n
\n \n \n \n
\n
\n \n \n
\n \n
\n \n \n \n
\n
\n \n \n
\n \n
\n \n \n \n
\n
\n \n
\n
\n
\n
\n
\n
\n'),a.put("app/motiondialer/info/view/view.details.html",'
\n
\n
\n
\n
\n \n {{ \'APPLICATION_DETAILS\' | translate}}\n
\n
\n
\n
\n
\n \n
\n \n
\n \n \n \n
\n
\n \n \n
\n \n
\n \n \n \n
\n
\n \n \n
\n \n
\n \n \n \n
\n
\n \n\n \n
\n \n
\n \n \n \n
\n
\n \n \n
\n \n
\n \n \n \n
\n
\n \n \n
\n \n
\n \n \n \n
\n
\n \n \n
\n \n
\n \n \n \n
\n
\n \n \n
\n \n
\n \n \n \n
\n
\n \n \n
\n \n
\n \n \n \n
\n
\n \n
\n
\n
\n
\n
\n
\n'),a.put("app/motiondialer/info/view/view.html",'\n
\n
\n \n\n \n
\n \n
\n \n
\n \n
\n \n \n
\n
\n {{ \'APPLICATION_INFO\' | translate }}\n
\n \n
\n \n\n \n \n \n
\n \n
\n \n \n
\n
\n \n
\n
\n\n'),a.put("app/motiondialer/list/list/list.create.modal.html",'\n\n\n'),a.put("app/motiondialer/list/list/list.html",'\n
\n
\n \n\n \n
\n
\n
\n \n {{ \'APPLICATION_LISTS\' | translate }} \n
\n
\n
\n \n
\n
\n
\n
\n \n \n \n \n
\n
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
\n
\n \n
\n
\n \n
\n
\n\n'), a.put("app/motiondialer/list/view/view.contact.create.modal.html",'\n\n\n'),a.put("app/motiondialer/list/view/view.contact.import.modal.html",'\n\n\n'),a.put("app/motiondialer/list/view/view.contacts.html",'
\n
\n
\n
\n
\n \n {{ \'APPLICATION_LIST\' | translate}} {{ \'APPLICATION_CONTACTS\' | translate}} \n
\n
\n\n
\n
\n \n \n {{\'APPLICATION_IMPORT_FROM_CSV\' | translate}}\n \n \n
\n\n \n \n \n \n \n
\n
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
\n
\n \n
\n
\n
\n
\n'),a.put("app/motiondialer/list/view/view.html",'\n
\n
\n \n\n \n
\n \n
\n \n
\n \n
\n \n \n
\n
\n {{list.name}}\n
\n \n
\n \n\n \n \n \n
\n \n
\n \n \n
\n
\n \n
\n
\n\n'),a.put("app/motiondialer/list/view/view.settings.html",'
\n
\n
\n
\n
\n \n {{ \'APPLICATION_LIST\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} \n
\n \n
\n\n
\n
\n \n
\n
\n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n \n
\n
\n \n\n
\n
\n
\n
\n
\n'),a.put("app/motiondialer/process/list/list.create.queue.modal.html",'\n\n\n'),a.put("app/motiondialer/process/list/list.create.square.modal.html",'\n\n\n'),a.put("app/motiondialer/process/list/list.html",'\n
\n
\n \n\n \n
\n
\n
\n \n {{ \'APPLICATION_PROCESSES\' | translate }} \n
\n
\n
\n \n \n
\n
\n
\n
\n \n \n \n \n
\n
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/motiondialer/process/view/view.create.interval.modal.html",'\n\n\n'),a.put("app/motiondialer/process/view/view.html",'\n
\n
\n \n\n \n
\n \n
\n \n
\n \n
\n \n \n
\n
\n {{process.name}} ({{ (process.status === \'RUN\') ? \'RUNNING...\' : \'STOPPED\' }})\n
\n \n
\n \n
\n \n
\n
\n \n \n
\n \n \n \n
\n \n
\n \n \n
\n
\n \n
\n
\n\n'), a.put("app/motiondialer/process/view/view.intervals.html",'
\n
\n
\n
\n
\n \n {{ \'APPLICATION_PROCESS\' | translate}} {{ \'APPLICATION_INTERVALS\' | translate}} \n
\n \n
\n
\n
\n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n {{ \'APPLICATION_VALUE\' | translate}}\n \n {{ \'APPLICATION_ACTIONS\' | translate}}\n
\n {{interval}}\n \n \n \n
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
\n
\n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n {{ \'APPLICATION_VALUE\' | translate}}\n \n {{ \'APPLICATION_ACTIONS\' | translate}}\n
\n {{interval}}\n \n \n \n
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
\n\n
\n \n
\n
\n
\n
\n
\n'),a.put("app/motiondialer/process/view/view.overview.html",'
\n
\n \n
\n
\n
\n \n {{\'APPLICATION_OVERVIEW\' | translate}}\n
\n \n
\n
\n
\n \n
\n \n \n \n
\n
\n
\n
\n
\n {{\'APPLICATION_TOTAL\' | translate}}\n
\n
\n {{total}}\n
\n
\n
\n
\n
\n
\n
\n
\n {{\'APPLICATION_FRESH\' | translate}}\n
\n
\n {{process.runtime.fresh || 0}}\n
\n
\n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n {{\'APPLICATION_STATUS\' | translate}}\n \n {{\'APPLICATION_VALUE\' | translate}}\n \n {{\'APPLICATION_RATE\' | translate}}\n \n {{\'APPLICATION_DESCRIPTION\' | translate}}\n
\n {{\'APPLICATION_TD_\' + sum[0] | translate}}\n \n {{sum[1]}}\n \n {{ total ? ((sum[1]/total)*100).toFixed(2) : 0 }}%\n \n {{\'DESCRIPTION_TD_\' + sum[0] | translate}}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n {{\'APPLICATION_SUCCESS\' | translate}}\n
\n
\n {{process.runtime.success || 0}}\n
\n
\n
\n
\n
\n
\n
\n
\n {{\'APPLICATION_FAILED\' | translate}}\n
\n
\n {{process.runtime.failed || 0}}\n
\n
\n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n {{\'APPLICATION_STATUS\' | translate}}\n \n {{\'APPLICATION_VALUE\' | translate}}\n \n {{\'APPLICATION_DESCRIPTION\' | translate}}\n
\n {{\'APPLICATION_\' + key.toUpperCase() | translate}}\n \n {{value | number:2}}\n {{value | number:2}}\n {{value | number:2}}\n {{((value)? \'APPLICATION_YES\' : \'APPLICATION_NO\') | translate}}\n {{((value)? \'APPLICATION_YES\' : \'APPLICATION_NO\') | translate}}\n {{value}}\n \n {{\'DESCRIPTION_TD_\' + key.toUpperCase() | translate}}\n
\n
\n
\n \n
\n
\n
\n \n
\n
\n'),a.put("app/motiondialer/process/view/view.run.process.modal.html",'\n\n\n'),a.put("app/motiondialer/process/view/view.settings.html",'
\n
\n
\n
\n
\n \n {{ \'APPLICATION_PROCESS\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} \n
\n \n
\n
\n
\n \n
\n
\n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n \n
\n \n \n {{\'DESCRIPTION_TD_MAX_RETRIES\' | translate}}\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n \n
\n \n \n
\n \n \n {{\'DESCRIPTION_TD_RETRY_TIME\' | translate}}\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n \n
\n \n \n
\n \n \n {{\'DESCRIPTION_TD_WAIT_TIME\' | translate}}\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n \n
\n \n \n
\n
\n \n {{\'DESCRIPTION_TD_AUTO_CLOSED\' | translate}}\n
\n \n \n \n
\n
\n \n \n {{\'DESCRIPTION_TD_WEIGHT\' | translate}}\n
\n \n
\n \n \n
\n \n \n
\n
\n \n \n
\n
\n \n
\n \n \n {{\'DESCRIPTION_TD_CONTEXT\' | translate}}\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n \n
\n \n \n {{\'DESCRIPTION_TD_EXTENSION\' | translate}}Link {{\'APPLICATION_INTERNAL\' | translate}}\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n \n
\n \n \n {{\'DESCRIPTION_TD_PRIORITY\' | translate}}\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n \n
\n \n \n
\n \n \n {{\'DESCRIPTION_TD_PREFIX\' | translate}}\n
\n \n \n
\n \n \n {{\'DESCRIPTION_TD_TECHNOLOGY\' | translate}}\n
\n \n \n
\n \n \n {{\'DESCRIPTION_TD_TRUNK\' | translate}}\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n \n
\n \n \n {{\'DESCRIPTION_TD_CALLERID\' | translate}}\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n \n
\n \n \n {{$item}}\n \n {{codec}}\n \n \n
\n \n \n
\n \n \n {{\'DESCRIPTION_TD_DIAL_FORMAT\' | translate}}\n
\n \n \n
\n
\n \n \n
\n
\n \n
\n \n \n {{\'DESCRIPTION_TD_CHECK_DUPLICATE\' | translate}}\n
\n \n \n
\n
\n \n {{\'DESCRIPTION_TD_CHECK_BLACKLIST\' | translate}}\n
\n \n \n
\n \n \n {{\'DESCRIPTION_TD_CHECK_PHONE_LENGHT\' | translate}}\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n \n
\n \n \n
\n \n \n {{\'DESCRIPTION_TD_TIME_SLICE\' | translate}}\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n \n
\n \n \n
\n
\n \n {{\'DESCRIPTION_TD_CHECK_MISSED\' | translate}}\n
\n \n \n
\n \n \n {{\'DESCRIPTION_TD_CHANNEL_LIMIT\' | translate}}\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n \n
\n \n \n
\n \n \n {{\'DESCRIPTION_TD_CONTEXT_FOR_OTHER_CALLS\' | translate}}\n
\n \n \n
\n \n \n {{\'DESCRIPTION_TD_EXTENSION_FOR_OTHER_CALLS\' | translate}}\n
\n \n \n
\n \n \n {{\'DESCRIPTION_TD_PRIORITY_FOR_OTHER_CALLS\' | translate}}\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n \n
\n \n \n
\n \n \n {{\'DESCRIPTION_TD_EXTENDED_TIME_INTERVAL\' | translate}}\n
\n \n\n \n
\n
\n \n {{\'DESCRIPTION_TD_AUTO_TIMEZONE_MANAGEMENT\' | translate}}\n
\n \n \n \n \n \n \n
\n \n \n {{\'DESCRIPTION_TD_MIN_OPERATOR\' | translate}}\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n \n
\n \n \n
\n \n \n {{\'DESCRIPTION_TD_ALERT_MAX_CALLS\' | translate}}\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n \n
\n \n \n
\n \n \n {{\'DESCRIPTION_TD_ALERT_TIME_SLICE\' | translate}}\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n \n
\n \n \n
\n \n \n {{\'DESCRIPTION_TD_DROP_MAX_COUNT\' | translate}}\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n \n
\n \n \n
\n \n \n {{\'DESCRIPTION_TD_SUCCESS_CALL_SIZE\' | translate}}\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n \n
\n \n \n
\n \n \n {{\'DESCRIPTION_TD_TIME_EXPIRED\' | translate}}\n
\n \n \n
\n
\n \n \n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n {{ \'APPLICATION_VALUE\' | translate}}\n \n {{ \'APPLICATION_MAX_RETRIES\' | translate}}\n \n {{ \'APPLICATION_RETRY_TIME\' | translate}} [min]\n \n {{ \'APPLICATION_DESCRIPTION\' | translate}}\n
\n {{ \'APPLICATION_AMD\' | translate}}\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n \n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n \n \n {{ \'DESCRIPTION_TD_STATUS_AMD\' | translate}}\n
\n {{ \'APPLICATION_BUSY\' | translate}}\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n \n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n \n \n {{ \'DESCRIPTION_TD_STATUS_BUSY\' | translate}}\n
\n {{ \'APPLICATION_CONGESTION\' | translate}}\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n \n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n \n \n {{ \'DESCRIPTION_TD_STATUS_CONGESTION\' | translate}}\n
\n {{ \'APPLICATION_DROP\' | translate}}\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n \n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n \n \n {{ \'DESCRIPTION_TD_STATUS_DROP\' | translate}}\n
\n {{ \'APPLICATION_FAILED\' | translate}}\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n \n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n \n \n {{ \'DESCRIPTION_TD_STATUS_FAILED\' | translate}}\n
\n {{ \'APPLICATION_NOANSWER\' | translate}}\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n \n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n \n \n {{ \'DESCRIPTION_TD_STATUS_NOANSWER\' | translate}}\n
\n {{ \'APPLICATION_NOSUCHEXTENSION\' | translate}}\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n \n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n \n \n {{ \'DESCRIPTION_TD_STATUS_NOSUCHEXTENSION\' | translate}}\n
\n \n
\n
\n \n
\n
\n
\n
\n
\n'), @@ -61,9 +62,9 @@ a.put("app/staff/user/view/view.permit.modules.html",' a.put("app/sugarcrm/view/view.configurations.html",'
\n
\n
\n
\n
\n
\n \n {{\'APPLICATION_CONFIGURATIONS\' | translate}}\n
\n \n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
{{\'APPLICATION_NAME\' | translate}}{{\'APPLICATION_DESCRIPTION\' | translate}}{{ \'APPLICATION_ACTIONS\' | translate }}
{{configuration.name}}{{configuration.description}}\n \n {{ \'APPLICATION_SETTINGS\' | translate}}\n \n \n {{ \'APPLICATION_DELETE\' | translate }}\n \n
\n No configuration available\n
\n \n
\n
\n
\n
\n
\n'),a.put("app/sugarcrm/view/view.html",'\n
\n
\n \n\n \n
\n \n
\n \n
\n \n
\n \n \n
\n
\n {{account.name}}\n
\n
\n {{account.remoteUri}}\n
\n
\n \n \n \n \n
\n \n
\n \n \n
\n
\n \n
\n
\n\n'),a.put("app/sugarcrm/wizard/wizard.html",'\n\n\n\n\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD \n
\n
\n
\n \n \n
\n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_EXIST_DOMAIN\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n\n
\n
\n\n \n

{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

\n \n
\n\n
\n\n
\n
\n \n
\n
\n\n'),a.put("app/tools/answer/list/list.create.modal.html",'\n\n\n'),a.put("app/tools/answer/list/list.html",'\n
\n
\n \n\n \n
\n
\n
\n \n {{ \'APPLICATION_CANNED_ANSWERS\' | translate }} \n
\n \n
\n
\n \n
\n
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/tools/answer/view/view.html",'\n
\n
\n \n\n \n
\n \n
\n \n
\n \n
\n \n \n
\n
\n {{answer.name}}\n
\n
\n \n\n \n \n \n
\n \n
\n \n \n
\n
\n \n
\n
\n\n'),a.put("app/tools/answer/view/view.settings.html",'
\n
\n
\n
\n
\n \n {{ \'APPLICATION_CANNED_ANSWER\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} \n
\n \n
\n\n
\n
\n \n
\n
\n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n \n
\n
\n \n\n
\n
\n
\n
\n
\n'),a.put("app/tools/automation/list/list.html",'\n\n\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_AUTOMATIONS\' | translate }} \n
\n \n
\n
\n \n
\n
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/tools/automation/view/view.html",'\n
\n
\n \n\n\n\n\n \n
\n \n
\n \n
\n \n
\n \n\n \n
\n
\n {{ automation.name }}\n
\n
\n {{ automation.description }}\n
\n
\n \n\n \n \n \n
\n
\n \n \n
\n
\n \n
\n
\n\n'),a.put("app/tools/automation/view/view.settings.html",'
\n
\n
\n \n
\n \n
\n
\n \n
\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n
\n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n
\n
\n
\n
\n \n :\n
\n
\n
\n
\n \n \n
\n \n
\n
\n
\n
\n
\n \n :\n
\n
\n
\n
\n \n \n
\n \n
\n
\n
\n
\n
\n \n {{ \'APPLICATION_ACTIONS\' | translate }}:\n
\n
\n
\n
\n
\n \n {{$select.selected.name | translate}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n \n \n \n
\n \n
\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INSERT_AT_LEAST_ONE_CONDITION\' | translate}}.\n \n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INSERT_AT_LEAST_ONE_ACTION\' | translate}}.\n \n
\n \n
\n
\n
\n
\n
\n
\n
\n'), a.put("app/tools/automation/wizard/wizard.html",'
\n
\n \n \n \n\n \n
\n
\n
\n \n {{ \'APPLICATION_AUTOMATIONS\' | translate }} WIZARD \n
\n
\n
\n \n \n
\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n
\n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n
\n \n
\n
\n
\n
\n \n {{ \'APPLICATION_CHANNEL\' | translate }}\n
\n
\n
\n
\n \n \n {{$select.selected | capitalize}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n
\n
\n
\n
\n \n :\n
\n
\n
\n
\n \n \n
\n \n
\n
\n
\n
\n
\n \n :\n
\n
\n
\n
\n \n \n
\n \n
\n
\n
\n
\n
\n \n {{ \'APPLICATION_ACTIONS\' | translate }}:\n
\n
\n
\n
\n
\n \n {{$select.selected.name | translate}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n \n \n \n
\n \n
\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INSERT_AT_LEAST_ONE_CONDITION\' | translate}}.\n \n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INSERT_AT_LEAST_ONE_ACTION\' | translate}}.\n \n
\n \n \n
\n
\n \n

{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

\n \n \n
\n
\n
\n
\n \n
\n
\n\n'),a.put("app/tools/interval/list/list.create.modal.html",'\n\n\n'),a.put("app/tools/interval/list/list.html",'\n
\n
\n \n\n \n
\n
\n
\n \n {{ \'APPLICATION_INTERVALS\' | translate }} \n
\n
\n \n
\n \n
\n
\n
\n
\n \n
\n
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/tools/interval/view/view.html",'\n
\n
\n \n\n \n
\n \n
\n \n
\n \n
\n \n \n
\n
\n {{interval.name}}\n
\n \n
\n \n\n \n \n \n
\n \n
\n \n \n
\n
\n \n
\n
\n\n"),a.put("app/tools/interval/view/view.settings.html",'
\n
\n
\n
\n
\n \n {{ \'APPLICATION_INTERVAL\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} \n
\n \n
\n\n
\n
\n \n
\n
\n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n
\n \n\n
\n
\n
\n
\n
\n'),a.put("app/tools/interval/view/view.subinterval.html",'\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_NEW_SUBINTERVAL\' | translate }} WIZARD \n
\n
\n
\n \n \n
\n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n
\n
\n
to
\n
\n \n
\n
\n \n\n \n
\n \n
\n \n {{$select.selected.name | translate}}\n \n {{weekDay.name | translate}}\n \n \n to\n \n {{$select.selected.name | translate}}\n \n {{weekDay.name | translate}}\n \n \n
\n
\n \n\n \n
\n \n
\n \n {{$select.selected === \'always\' ? \'APPLICATION_ALWAYS\' : $select.selected | translate}}\n \n {{monthDay === \'always\' ? \'APPLICATION_ALWAYS\' : monthDay | translate}}\n \n \n to\n \n {{$select.selected === \'always\' ? \'APPLICATION_ALWAYS\' : $select.selected | translate}}\n \n {{monthDay === \'always\' ? \'APPLICATION_ALWAYS\' : monthDay | translate}}\n \n \n
\n
\n \n\n \n
\n \n
\n \n {{$select.selected.name | translate}}\n \n {{month.name | translate}}\n \n \n to\n \n {{$select.selected.name | translate}}\n \n {{month.name | translate}}\n \n \n
\n
\n \n\n\n\n \n
\n
\n\n\n \n

{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

\n \n \n
\n
\n
\n
\n \n
\n
\n\n'),a.put("app/tools/interval/view/view.subintervalSettings.html",'\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_SUBINTERVAL_SETTINGS\' | translate }} WIZARD \n
\n
\n
\n \n
\n {{subinterval.name}}\n
\n \n
\n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n
\n
\n
to
\n
\n \n
\n
\n \n\n \n
\n \n
\n \n {{$select.selected.name | translate}}\n \n {{weekDay.name | translate}}\n \n \n to\n \n {{$select.selected.name | translate}}\n \n {{weekDay.name | translate}}\n \n \n
\n
\n \n\n \n
\n \n
\n \n {{$select.selected === \'always\' ? \'APPLICATION_ALWAYS\' : $select.selected | translate}}\n \n {{monthDay === \'always\' ? \'APPLICATION_ALWAYS\' : monthDay | translate}}\n \n \n to\n \n {{$select.selected === \'always\' ? \'APPLICATION_ALWAYS\' : $select.selected | translate}}\n \n {{monthDay === \'always\' ? \'APPLICATION_ALWAYS\' : monthDay | translate}}\n \n \n
\n
\n \n\n \n
\n \n
\n \n {{$select.selected.name | translate}}\n \n {{month.name | translate}}\n \n \n to\n \n {{$select.selected.name | translate}}\n \n {{month.name | translate}}\n \n \n
\n
\n \n\n\n\n \n
\n
\n\n\n \n

{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

\n \n \n
\n
\n
\n
\n \n
\n
\n\n'), a.put("app/tools/interval/view/view.subintervals.html",'
\n
\n
\n
\n
\n
\n \n {{\'APPLICATION_SUBINTERVALS\' | translate}}\n
\n \n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n
\n
\n
\n'),a.put("app/tools/pause/list/list.create.modal.html",'\n\n\n'),a.put("app/tools/pause/list/list.html",'\n
\n
\n \n\n \n
\n
\n
\n \n {{ \'APPLICATION_PAUSES\' | translate }} \n
\n \n
\n
\n \n
\n
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/tools/pause/view/view.html",'\n
\n
\n \n\n \n
\n \n
\n \n
\n \n
\n \n \n
\n
\n {{pause.name}}\n
\n
\n \n\n \n \n \n
\n \n
\n \n \n
\n
\n \n
\n
\n\n'),a.put("app/tools/pause/view/view.settings.html",'
\n
\n
\n
\n
\n \n {{ \'APPLICATION_PAUSE\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} \n
\n \n
\n\n
\n
\n \n
\n
\n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n \n
\n
\n \n\n
\n
\n
\n
\n
\n'),a.put("app/tools/sound/list/list.html",'\n\n\n\n
\n

{{ \'APPLICATION_SOUNDS\' | translate }}

\n
\n
\n
\n
\n \n \n {{\'APPLICATION_FILE_UPLOAD\' | translate}} \n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n {{\'APPLICATION_SELECT_FILES\' | translate}}\n \n
\n
\n
\n
\n
\n
\n
\n Base drop zone\n
\n
\n \n \n {{\'APPLICATION_FILE_UPLOAD\' | translate}}\n \n \n \n \n {{\'APPLICATION_MULTI_FILE_UPLOAD\' | translate}}\n
\n
\n

\n
\n {{ \'MESSAGE_SUPPORTED_FORMATS\' | translate }} wav, mp3, gsm, ogg.\n

\n

\n {{ \'MESSAGE_MAXIMUM_SOUND_UPLOAD_SIZE\' | translate }} 15 Mb.\n

\n
\n
\n
\n
\n
\n
\n
\n \n {{\'APPLICATION_UPLOAD_QUEUE\' | translate}}\n {{\'APPLICATION_QUEUE_LENGTH\' | translate}}: {{ uploader.queue.length }}\n
\n
\n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
{{\'APPLICATION_NAME\' | translate}}{{\'APPLICATION_SIZE\' | translate}}{{\'APPLICATION_PROGRESS\' | translate}}{{\'APPLICATION_STATUS\' | translate}}{{\'APPLICATION_MESSAGE\' | translate}}{{\'APPLICATION_ACTIONS\' | translate}}
{{ item.file.name }}{{ item.file.size/1024/1024|number:2 }} MB\n
\n
\n
\n
\n \n \n \n \n \n {{item.responseMessage}}\n \n \n \n \n
\n
\n
\n

{{\'APPLICATION_UPLOAD_QUEUE_PROGRESS\' | translate}}:

\n
\n
\n
\n
\n \n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

{{ \'MESSAGE_NO_SOUNDS\' | translate }}

\n

\n \n {{ \'MESSAGE_RETURN_HOME\' | translate }} \n {{ \'MESSAGE_OR_UPLOAD_SOUND_FILE\' | translate }}\n

\n
\n
\n
\n
\n
\n \n \n
\n
\n \n
\n

\n {{ sound.description || "Empty" }}\n

\n

\n \n \n \n

\n
\n
\n
\n \n
\n\n'),a.put("app/tools/tag/list/list.create.modal.html",'\n\n\n'),a.put("app/tools/tag/list/list.html",'\n
\n
\n \n\n \n
\n
\n
\n \n {{ \'APPLICATION_TAGS\' | translate }} \n
\n
\n \n
\n \n
\n
\n
\n
\n \n
\n
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/tools/tag/view/view.html",'\n
\n
\n \n\n \n
\n \n
\n \n
\n \n
\n \n \n
\n
\n {{tag.name}}\n
\n \n
\n \n\n \n \n \n
\n \n
\n \n \n
\n
\n \n
\n
\n\n'),a.put("app/tools/tag/view/view.settings.html",'
\n
\n
\n
\n
\n \n {{ \'APPLICATION_TAG\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} \n
\n \n
\n\n
\n
\n \n
\n
\n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n \n
\n
\n \n\n
\n
\n
\n
\n
\n'),a.put("app/tools/template/list/list.html",'\n\n\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_TEMPLATES\' | translate }}\n
\n \n
\n
\n \n
\n
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/tools/template/view/view.html",'\n
\n
\n \n\n \n
\n\n \n
\n \n
\n \n
\n \n \n
\n
\n {{item.name}}\n
\n
\n \n\n \n \n \n
\n \n
\n \n \n
\n
\n \n
\n
\n\n'),a.put("app/tools/template/view/view.settings.html",'
\n
\n
\n
\n
\n \n {{\'APPLICATION_SETTINGS\' | translate}}\n
\n
\n
\n\n
\n \n
\n
\n
\n
\n \n
\n
\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n
\n
\n \n\n \n
\n
\n
\n
\n \n
\n
\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n
\n
\n \n\n
\n\n \n
\n
\n
\n
\n \n
\n
\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n
\n
\n \n\n \n
\n\n
\n
\n
\n
\n {{\'APPLICATION_VARIABLES\' | translate}}\n
\n
\n
\n \n \n {{group.content | translate}}\n
    \n
  1. \n {{variable}}\n
  2. \n
\n
\n
\n
\n
\n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n \n\n \n
\n
\n
\n
\n
\n'), -a.put("app/tools/template/wizard/wizard.html",'
\n \n \n \n\n \n
\n
\n
\n \n {{ \'APPLICATION_TEMPLATES\' | translate }} FORM \n
\n
\n
\n
\n \n
\n \n
\n
\n
\n
\n \n
\n
\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n
\n
\n \n\n \n
\n
\n
\n
\n \n
\n
\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n
\n
\n \n\n \n
\n
\n
\n
\n \n
\n
\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n
\n
\n \n\n \n
\n
\n
\n
\n
\n {{\'APPLICATION_VARIABLES\' | translate}}\n
\n
\n
\n \n \n {{group.content | translate}}\n
    \n
  1. \n {{variable}}\n
  2. \n
\n
\n
\n
\n
\n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n \n\n
\n \n
\n
\n
\n \n
\n'),a.put("app/tools/trigger/list/list.html",'\n\n\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_TRIGGERS\' | translate }} \n
\n \n
\n
\n \n
\n
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/tools/trigger/view/view.html",'\n
\n
\n \n\n\n\n\n \n
\n \n
\n \n
\n \n
\n \n\n \n
\n
\n {{ trigger.name }}\n
\n
\n {{ trigger.description }}\n
\n
\n \n\n \n \n \n
\n
\n \n \n
\n
\n \n
\n
\n\n'),a.put("app/tools/trigger/view/view.settings.html",'
\n
\n
\n \n
\n \n
\n
\n \n
\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n
\n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n
\n
\n
\n
\n \n :\n
\n
\n
\n
\n \n \n
\n \n
\n
\n
\n
\n
\n \n :\n
\n
\n
\n
\n \n \n
\n \n
\n
\n
\n
\n
\n \n {{ \'APPLICATION_ACTIONS\' | translate }}:\n
\n
\n
\n
\n
\n \n {{$select.selected.name | translate}}\n \n
\n
\n
\n \n {{ \'APPLICATION_ACTION\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n \n \n \n \n\n
\n \n
\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INSERT_AT_LEAST_ONE_CONDITION\' | translate}}.\n \n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INSERT_AT_LEAST_ONE_ACTION\' | translate}}.\n \n
\n \n
\n
\n
\n
\n
\n
\n
\n'),a.put("app/tools/trigger/wizard/wizard.html",'
\n
\n \n \n \n\n \n
\n
\n
\n \n {{ \'APPLICATION_TRIGGERS\' | translate }} WIZARD\n
\n
\n
\n \n \n
\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n
\n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n
\n \n
\n
\n
\n
\n \n {{ \'APPLICATION_CHANNEL\' | translate }}\n
\n
\n
\n
\n \n \n {{$select.selected | capitalize}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n
\n
\n
\n
\n \n :\n
\n
\n
\n
\n \n \n
\n \n
\n
\n
\n
\n
\n \n :\n
\n
\n
\n
\n \n \n
\n \n
\n
\n
\n
\n
\n \n {{ \'APPLICATION_ACTIONS\' | translate }}:\n
\n
\n
\n
\n
\n \n {{$select.selected.name | translate}}\n \n
\n
\n
\n \n {{ \'APPLICATION_ACTION\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n \n \n \n \n
\n \n
\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INSERT_AT_LEAST_ONE_CONDITION\' | translate}}.\n \n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INSERT_AT_LEAST_ONE_ACTION\' | translate}}.\n \n
\n \n \n
\n
\n \n

{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

\n \n \n
\n
\n
\n
\n \n
\n
\n\n'),a.put("app/tools/trunk/list/list.html",'\n
\n
\n \n\n \n
\n
\n
\n \n {{ \'APPLICATION_TRUNKS\' | translate }} \n
\n \n
\n
\n \n
\n
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/tools/trunk/view/view.html",'\n
\n
\n \n\n \n
\n \n
\n \n
\n \n
\n \n \n
\n
\n {{trunk.name}}\n
\n

({{trunk.status}})

\n
\n \n\n \n \n \n
\n \n
\n \n \n
\n
\n \n
\n
\n\n'), +a.put("app/tools/template/wizard/wizard.html",'
\n \n \n \n\n \n
\n
\n
\n \n {{ \'APPLICATION_TEMPLATES\' | translate }} FORM \n
\n
\n
\n
\n \n
\n \n
\n
\n
\n
\n \n
\n
\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n
\n
\n \n\n \n
\n
\n
\n
\n \n
\n
\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n
\n
\n \n\n \n
\n
\n
\n
\n \n
\n
\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n
\n
\n \n\n \n
\n
\n
\n
\n
\n {{\'APPLICATION_VARIABLES\' | translate}}\n
\n
\n
\n \n \n {{group.content | translate}}\n
    \n
  1. \n {{variable}}\n
  2. \n
\n
\n
\n
\n
\n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n \n\n
\n \n
\n
\n
\n \n
\n'),a.put("app/tools/trigger/list/list.html",'\n\n\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_TRIGGERS\' | translate }} \n
\n \n
\n
\n \n
\n
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/tools/trigger/view/view.html",'\n
\n
\n \n\n\n\n\n \n
\n \n
\n \n
\n \n
\n \n\n \n
\n
\n {{ trigger.name }}\n
\n
\n {{ trigger.description }}\n
\n
\n \n\n \n \n \n
\n
\n \n \n
\n
\n \n
\n
\n\n'),a.put("app/tools/trigger/view/view.settings.html",'
\n
\n
\n \n
\n \n
\n
\n \n
\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n
\n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n
\n
\n
\n
\n \n :\n
\n
\n
\n
\n \n \n
\n \n
\n
\n
\n
\n
\n \n :\n
\n
\n
\n
\n \n \n
\n \n
\n
\n
\n
\n
\n \n {{ \'APPLICATION_ACTIONS\' | translate }}:\n
\n
\n
\n
\n
\n \n {{$select.selected.name | translate}}\n \n
\n
\n
\n \n {{ \'APPLICATION_ACTION\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n \n \n \n \n \n
\n \n
\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INSERT_AT_LEAST_ONE_CONDITION\' | translate}}.\n \n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INSERT_AT_LEAST_ONE_ACTION\' | translate}}.\n \n
\n \n
\n
\n
\n
\n
\n
\n
\n'),a.put("app/tools/trigger/wizard/wizard.html",'
\n
\n \n \n \n\n \n
\n
\n
\n \n {{ \'APPLICATION_TRIGGERS\' | translate }} WIZARD\n
\n
\n
\n \n \n
\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n
\n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n
\n \n
\n
\n
\n
\n \n {{ \'APPLICATION_CHANNEL\' | translate }}\n
\n
\n
\n
\n \n \n {{$select.selected | capitalize}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n
\n
\n
\n
\n \n :\n
\n
\n
\n
\n \n \n
\n \n
\n
\n
\n
\n
\n \n :\n
\n
\n
\n
\n \n \n
\n \n
\n
\n
\n
\n
\n \n {{ \'APPLICATION_ACTIONS\' | translate }}:\n
\n
\n
\n
\n
\n \n {{$select.selected.name | translate}}\n \n
\n
\n
\n \n {{ \'APPLICATION_ACTION\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n
\n \n \n \n \n \n
\n \n
\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INSERT_AT_LEAST_ONE_CONDITION\' | translate}}.\n \n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INSERT_AT_LEAST_ONE_ACTION\' | translate}}.\n \n
\n \n \n
\n
\n \n

{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

\n \n \n
\n
\n
\n
\n \n
\n
\n\n'),a.put("app/tools/trunk/list/list.html",'\n
\n
\n \n\n \n
\n
\n
\n \n {{ \'APPLICATION_TRUNKS\' | translate }} \n
\n \n
\n
\n \n
\n
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/tools/trunk/view/view.html",'\n
\n
\n \n\n \n
\n \n
\n \n
\n \n
\n \n \n
\n
\n {{trunk.name}}\n
\n

({{trunk.status}})

\n
\n \n\n \n \n \n
\n \n
\n \n \n
\n
\n \n
\n
\n\n'), a.put("app/tools/trunk/view/view.settings.html",'
\n
\n
\n
\n
\n \n {{ \'APPLICATION_TRUNK\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} \n
\n \n
\n\n
\n
\n \n
\n
\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n \n
\n \n\n \n
\n
\n \n
\n \n
\n\n
\n\n \n
\n \n \n \n {{ \'DESCRIPTION_TRUNK_HOST\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{ \'DESCRIPTION_TRUNK_SECRET\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected.name}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_TRUNK_VOICE_CONTEXT\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \' placeholder="{{\'APPLICATION_CALLERID\' | translate}}" class="form-control" data-ng-model="trunk.callerid"/>\n \n {{ \'DESCRIPTION_OUTBOUND_CALLERID\' | translate }} "name" <number>\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected | capitalize}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_TRUNK_TYPE\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_TRUNK_DTMFMODE\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n\n
\n\n \n
\n \n \n \n {{ \'DESCRIPTION_TRUNK_DEFAULT_USER\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$item}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_TRUNK_NAT\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected | capitalize}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_TRUNK_QUALIFY\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$item}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_TRUNK_ALLOW_CODEC\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$item}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_TRUNK_INSECURE\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{ \'DESCRIPTION_TRUNK_CALLLIMIT\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n
\n\n \n
\n \n \n
\n \n\n \n
\n
\n \n \n
\n
\n
\n
\n\n \n
\n \n \n \n {{ \'DESCRIPTION_TRUNK_REGISTRY\' | translate }}\n \n
\n \n\n \n
\n \n \n {{$select.selected | capitalize}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_TRUNK_DIRECTMEDIA\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected | capitalize}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_TRUNK_CALLCOUNTER\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{ \'DESCRIPTION_TRUNK_FROMDOMAIN\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{ \'DESCRIPTION_TRUNK_FROMUSER\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n
\n\n \n
\n \n \n \n {{ \'DESCRIPTION_TRUNK_OUTBOUNDPROXY\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected | capitalize}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_TRUNK_USEREQPHONE\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected | capitalize}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_TRUNK_TRUSTRPID\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected | capitalize}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_TRUNK_SENDRPID\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected | capitalize}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_TRUNK_ENCRYPTION\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{ \'DESCRIPTION_TRUNK_PORT\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$item}}\n \n
\n
\n
\n \n {{ \'DESCRIPTION_TRUNK_TRANSPORT\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n
\n
\n\n \n
\n
\n \n \n
\n
\n
\n
\n \n
\n \n \n \n {{ \'DESCRIPTION_TRUNK_OTHER_FIELDS\' | translate }}\n \n
\n \n
\n
\n
\n \n
\n
host=dynamicp
\n
secret=********
\n
regcontext=tammari-internal
\n
regexten=1005
\n
dtmfmode=rfc2833
\n
insecure=invite,port
\n
canreinvite=yes
\n
nat=yes
\n
qualify=yes
\n
context=merus-sipphone
\n
pickupgroup=1
\n
callgroup=1
\n
mailbox=1000@default
\n
\n
\n
\n
\n\n \n
\n\n
\n \n
\n
\n
\n
\n
\n'), a.put("app/tools/trunk/wizard/wizard.html",'
\n \n \n \n\n \n
\n
\n
\n \n {{ \'APPLICATION_TRUNK\' | translate }} WIZARD \n
\n
\n
\n \n \n
\n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{ \'DESCRIPTION_TRUNK_HOST\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{ \'DESCRIPTION_TRUNK_SECRET\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{ \'DESCRIPTION_TRUNK_DEFAULT_USER\' | translate }}\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_WRONG_PASSWORD\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n
\n\n \n
\n\n \n
\n \n \n \n {{ \'DESCRIPTION_TRUNK_REGISTRY\' | translate }}\n \n
\n \n \n \n
\n
\n\n \n

{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

\n \n \n
\n
\n
\n
\n \n
\n'),a.put("app/tools/variable/list/list.create.modal.html",'\n\n\n'),a.put("app/tools/variable/list/list.html",'\n
\n
\n \n\n \n
\n
\n
\n \n {{ \'APPLICATION_VARIABLES\' | translate }} \n
\n
\n \n
\n \n
\n
\n
\n
\n \n
\n
{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}
\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/tools/variable/view/view.html",'\n
\n
\n \n\n \n
\n \n
\n \n
\n \n
\n \n \n
\n
\n {{variable.name}}\n
\n \n
\n \n\n \n \n \n
\n \n
\n \n \n
\n
\n \n
\n
\n\n'),a.put("app/tools/variable/view/view.settings.html",'
\n
\n
\n
\n
\n \n {{ \'APPLICATION_VARIABLE\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} \n
\n \n
\n\n
\n
\n \n
\n
\n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n \n
\n
\n \n\n
\n
\n
\n
\n
\n'),a.put("app/tools/yourdashboard/list/clone.modal.html",'\n\n\n'),a.put("app/tools/yourdashboard/list/create.modal.html",'\n\n\n'),a.put("app/tools/yourdashboard/list/list.html",'\n
\n
\n \n\n \n
\n
\n
\n \n {{ \'APPLICATION_YOUR_DASHBOARDS\' | translate }} \n
\n
\n \n
\n \n
\n \n
\n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/tools/yourdashboard/show/leaveEditedDashboard.modal.html",'\n\n\n'),a.put("app/tools/yourdashboard/show/show.html",'
\n
\n \n
\n
\n'),a.put("app/tools/yourdashboard/view/view.html",'\n
\n
\n \n\n \n
\n \n
\n \n
\n \n
\n \n \n
\n
\n {{dashboard.name}}\n
\n \n
\n \n\n \n \n \n
\n \n
\n \n \n
\n
\n \n
\n
\n\n'),a.put("app/tools/yourdashboard/view/view.settings.html",'
\n
\n
\n
\n
\n \n {{ \'APPLICATION_DASHBOARD\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} \n
\n \n
\n\n
\n
\n \n
\n
\n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n
\n \n
\n \n\n \n
\n
\n \n
\n \n\n \n
\n
\n \n
\n \n\n \n
\n \n \n
\n \n \n
\n
\n \n\n
\n
\n
\n
\n
\n'),a.put("app/zendesk/list/list.html",'\n
\n
\n \n\n \n
\n
\n
\n \n {{ \'APPLICATION_ZENDESK\' | translate }} \n
\n \n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n \n
\n
\n \n
\n
\n\n'),a.put("app/zendesk/view/configuration/list/create.modal.html",'\n\n\n'), a.put("app/zendesk/view/configuration/list/list.html",'
\n
\n
\n
\n
\n
\n \n {{\'APPLICATION_CONFIGURATIONS\' | translate}}\n
\n \n
\n
\n \n
\n
{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}
\n
\n
\n
\n
\n
\n
\n'),a.put("app/zendesk/view/configuration/view/view.html",'
\n
\n
\n
\n
\n \n {{\'APPLICATION_CONFIGURATION\' | translate}}: {{configurationName}}\n
\n \n
\n
\n
\n \n
\n
\n
\n All following fields will be join by blank space:\n
\n
\n \n
\n
\n
\n \n
\n
\n \n {{$select.selected.title}}\n \n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n \n {{$select.selected.title}}\n \n
\n
\n
\n
\n
\n
\n
\n \n {{$select.selected.name}}\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n \n
\n \n \n
\n
\n
\n All following fields will be join by new line:\n
\n
\n \n
\n
\n
\n \n
\n
\n \n {{$select.selected.title}}\n \n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n \n
\n
\n \n {{$select.selected.title}}\n \n
\n
\n
\n
\n
\n \n
\n
\n
\n \n {{$select.selected.title}}\n \n
\n
\n
\n
\n
\n
\n
\n \n {{$select.selected.name}}\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n \n
\n \n \n
\n
\n
\n Add how to fill the fields present in your account:\n
\n
\n \n
\n
\n
\n \n
\n
\n \n {{$select.selected.title}}\n \n
\n
\n
\n
\n
\n
\n \n {{$select.selected.name}}\n \n
\n
\n
\n
\n
\n
\n
\n \n {{$select.selected.title}}\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n \n {{$select.selected.title}}\n \n
\n
\n
\n
\n
\n
\n
\n \n {{$select.selected.name}}\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n \n
\n \n \n
\n
\n
\n Select tags that you want add in the ticket:\n
\n
\n
\n
\n \n
\n \n {{$item.name}}\n \n {{tag.name}}\n \n \n
\n \n \n
\n
\n \n
\n
\n
\n
\n
\n'),a.put("app/zendesk/view/view.account.html",'
\n
\n
\n
\n
\n \n {{\'APPLICATION_ACCOUNT\' | translate}}\n
\n \n
\n
\n
\n \n
\n
\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n \n
\n \n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected | capitalize}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n
\n \n\n
\n
\n
\n
\n
\n'),a.put("app/zendesk/view/view.html",'\n
\n
\n \n\n \n
\n \n
\n \n
\n \n
\n \n \n
\n
\n {{account.name}}\n
\n
\n {{account.remoteUri}}\n
\n
\n \n \n \n \n
\n \n
\n \n \n
\n
\n \n
\n
\n\n'),a.put("app/zendesk/wizard/wizard.html",'\n\n\n\n\n
\n
\n \n
\n
\n
\n \n {{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD \n
\n
\n
\n \n \n
\n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_EXIST_USERNAME\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_EXIST_DOMAIN\' | translate}}.\n \n
\n \n\n \n
\n \n \n {{$select.selected | capitalize}}\n \n
\n
\n
\n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n
\n \n \n \n {{\'APPLICATION_WARNING\' | translate}}! {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n \n
\n \n\n \n\n
\n
\n\n \n

{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}

\n \n
\n\n
\n\n
\n
\n \n
\n
\n\n'), -a.put("components/footer/footer.html",'\n\n\n'),a.put("components/header/header.html",'\n
\n \n \n \n \n \n
\n
\n \n \n \n \n
\n
\n \n \n \n \n \n \n
\n \n \n \n
\n \n
\n\n'),a.put("components/modal/delete.html",'\n\n\n'),a.put("components/sidebar/sidebar.html",'\n'); +a.put("components/footer/footer.html",'\n\n\n'),a.put("components/header/header.html",'\n
\n \n \n \n \n \n
\n
\n \n \n \n \n
\n
\n \n \n \n \n \n \n
\n \n \n \n
\n \n
\n\n'),a.put("components/modal/delete.html",'\n\n\n'),a.put("components/sidebar/sidebar.html",'\n'); }]); \ No newline at end of file diff --git a/public/app/a4661d96.vendor.js b/public/app/51307aaf.vendor.js similarity index 69% rename from public/app/a4661d96.vendor.js rename to public/app/51307aaf.vendor.js index 93d704f..ce38d13 100644 --- a/public/app/a4661d96.vendor.js +++ b/public/app/51307aaf.vendor.js @@ -1,56 +1,56 @@ function $notificationProvider(){function a(a,c,d){function e(c,d){function f(){d=angular.extend({focusWindowOnClick:!0},b.options||{},d);try{g.baseNotification=new a.Notification(c,d)}catch(e){return}d.delay&&setTimeout(angular.bind(g,g.close),d.delay),d.focusWindowOnClick&&g.$on("click",function(){a.focus()}),g._events.forEach(function(a){g.$on.apply(g,a)}),g._events=[]}if(!a.Notification)return!1;d=d||{};var g=this;return this._events=[],"granted"===a.Notification.permission?f():void("denied"!==a.Notification.permission&&e.requestPermission().then(f))}function f(a,b){return new e(a,b)}return e.prototype.$on=function(a,b){function d(){var a=arguments;c.$apply(function(){b.apply(e,a)})}var e=this;return this.baseNotification?(this.baseNotification.addEventListener(a,d),function(){this.baseNotification.removeListener(event,d)}):this._events.push([a,b])},e.prototype.close=function(){this.baseNotification&&this.baseNotification.close()},e.requestPermission=function(){return d(function(b,c){return a.Notification?void a.Notification.requestPermission(function(c){a.Notification.permission=a.Notification.permission||c,b(a.Notification.permission)}):c()})},f.requestPermission=e.requestPermission,f}var b=this;this.$get=["$window","$rootScope","$q",a],this.setOptions=function(a){this.options=a}}function wizardButtonDirective(a){angular.module("mgo-angular-wizard").directive(a,function(){return{restrict:"A",replace:!1,require:"^wizard",link:function(b,c,d,e){c.on("click",function(c){c.preventDefault(),b.$apply(function(){b.$eval(d[a]),e[a.replace("wz","").toLowerCase()]()})})}}})}function validElementString(a){try{return 0!==angular.element(a).length}catch(b){return!1}}function registerTextAngularTool(a,b){if(!a||""===a||taTools.hasOwnProperty(a))throw"textAngular Error: A unique name is required for a Tool Definition";if(b.display&&(""===b.display||!validElementString(b.display))||!b.display&&!b.buttontext&&!b.iconclass)throw'textAngular Error: Tool Definition for "'+a+'" does not have a valid display/iconclass/buttontext value';taTools[a]=b}function _typeof(a){return a&&"undefined"!=typeof Symbol&&a.constructor===Symbol?"symbol":typeof a}function getRandomColors(){for(var a="0123456789ABCDEF".split(""),b="#",c=0;6>c;c++)b+=a[Math.floor(16*Math.random())];return b}function getFirstAndLastName(a){var b=a.split(" ");if(b&&b.length>=2){var c=b[0],d=b[1];if(c&&d){var e=c.substr(0,1)+d.substr(0,1);return e}return a.substr(0,2)}}function getImgTag(a,b,c){var d=angular.element("").attr({xmlns:"http://www.w3.org/2000/svg","pointer-events":"none",width:a,height:b}).css({"background-color":c,width:a+"px",height:b+"px"});return d}function getCharacterObject(a,b,c,d,e){var f=angular.element('').attr({y:"50%",x:"50%",dy:"0.35em","pointer-events":"auto",fill:b,"font-family":c}).html(a).css({"font-weight":d,"font-size":e+"px"});return f}if(function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){function c(a){var b="length"in a&&a.length,c=_.type(a);return"function"===c||_.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}function d(a,b,c){if(_.isFunction(b))return _.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return _.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(ha.test(b))return _.filter(b,a,c);b=_.filter(b,a)}return _.grep(a,function(a){return U.call(b,a)>=0!==c})}function e(a,b){for(;(a=a[b])&&1!==a.nodeType;);return a}function f(a){var b=oa[a]={};return _.each(a.match(na)||[],function(a,c){b[c]=!0}),b}function g(){Z.removeEventListener("DOMContentLoaded",g,!1),a.removeEventListener("load",g,!1),_.ready()}function h(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=_.expando+h.uid++}function i(a,b,c){var d;if(void 0===c&&1===a.nodeType)if(d="data-"+b.replace(ua,"-$1").toLowerCase(),c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:ta.test(c)?_.parseJSON(c):c}catch(e){}sa.set(a,b,c)}else c=void 0;return c}function j(){return!0}function k(){return!1}function l(){try{return Z.activeElement}catch(a){}}function m(a,b){return _.nodeName(a,"table")&&_.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function n(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function o(a){var b=Ka.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function p(a,b){for(var c=0,d=a.length;d>c;c++)ra.set(a[c],"globalEval",!b||ra.get(b[c],"globalEval"))}function q(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(ra.hasData(a)&&(f=ra.access(a),g=ra.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;d>c;c++)_.event.add(b,e,j[e][c])}sa.hasData(a)&&(h=sa.access(a),i=_.extend({},h),sa.set(b,i))}}function r(a,b){var c=a.getElementsByTagName?a.getElementsByTagName(b||"*"):a.querySelectorAll?a.querySelectorAll(b||"*"):[];return void 0===b||b&&_.nodeName(a,b)?_.merge([a],c):c}function s(a,b){var c=b.nodeName.toLowerCase();"input"===c&&ya.test(a.type)?b.checked=a.checked:"input"!==c&&"textarea"!==c||(b.defaultValue=a.defaultValue)}function t(b,c){var d,e=_(c.createElement(b)).appendTo(c.body),f=a.getDefaultComputedStyle&&(d=a.getDefaultComputedStyle(e[0]))?d.display:_.css(e[0],"display");return e.detach(),f}function u(a){var b=Z,c=Oa[a];return c||(c=t(a,b),"none"!==c&&c||(Na=(Na||_("':''),v=a(d.theme?'':''),d.theme&&q?(x='"):d.theme?(x='"):x=q?'':'',w=a(x),r&&(d.theme?(w.css(p),w.addClass("ui-widget-content")):w.css(f)),d.theme||v.css(d.overlayCSS),v.css("position",q?"fixed":"absolute"),(k||d.forceIframe)&&u.css("opacity",0);var z=[u,v,w],A=a(q?"body":b);a.each(z,function(){this.appendTo(A)}),d.theme&&d.draggable&&a.fn.draggable&&w.draggable({handle:".ui-dialog-titlebar",cancel:"li"});var B=m&&(!a.support.boxModel||a("object,embed",q?null:b).length>0);if(l||B){if(q&&d.allowBodyStretch&&a.support.boxModel&&a("html,body").css("height","100%"),(l||!a.support.boxModel)&&!q)var C=i(b,"borderTopWidth"),D=i(b,"borderLeftWidth"),E=C?"(0 - "+C+")":0,F=D?"(0 - "+D+")":0;a.each(z,function(a,b){var c=b[0].style;if(c.position="absolute",2>a)q?c.setExpression("height","Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.support.boxModel?0:"+d.quirksmodeOffsetHack+') + "px"'):c.setExpression("height",'this.parentNode.offsetHeight + "px"'),q?c.setExpression("width",'jQuery.support.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"'):c.setExpression("width",'this.parentNode.offsetWidth + "px"'),F&&c.setExpression("left",F),E&&c.setExpression("top",E);else if(d.centerY)q&&c.setExpression("top",'(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"'),c.marginTop=0;else if(!d.centerY&&q){var e=d.css&&d.css.top?parseInt(d.css.top,10):0,f="((document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "+e+') + "px"';c.setExpression("top",f)}})}if(r&&(d.theme?w.find(".ui-widget-content").append(r):w.append(r),(r.jquery||r.nodeType)&&a(r).show()),(k||d.forceIframe)&&d.showOverlay&&u.show(),d.fadeIn){var G=d.onBlock?d.onBlock:j,H=d.showOverlay&&!r?G:j,I=r?G:j;d.showOverlay&&v._fadeIn(d.fadeIn,H),r&&w._fadeIn(d.fadeIn,I)}else d.showOverlay&&v.show(),r&&w.show(),d.onBlock&&d.onBlock.bind(w)();if(e(1,b,d),q?(n=w[0],o=a(d.focusableElements,n),d.focusInput&&setTimeout(g,20)):h(w[0],d.centerX,d.centerY),d.timeout){var J=setTimeout(function(){q?a.unblockUI(d):a(b).unblock(d)},d.timeout);a(b).data("blockUI.timeout",J)}}}function c(b,c){var f,g=b==window,h=a(b),i=h.data("blockUI.history"),j=h.data("blockUI.timeout");j&&(clearTimeout(j),h.removeData("blockUI.timeout")),c=a.extend({},a.blockUI.defaults,c||{}),e(0,b,c),null===c.onUnblock&&(c.onUnblock=h.data("blockUI.onUnblock"),h.removeData("blockUI.onUnblock"));var k;k=g?a("body").children().filter(".blockUI").add("body > .blockUI"):h.find(">.blockUI"),c.cursorReset&&(k.length>1&&(k[1].style.cursor=c.cursorReset),k.length>2&&(k[2].style.cursor=c.cursorReset)),g&&(n=o=null),c.fadeOut?(f=k.length,k.stop().fadeOut(c.fadeOut,function(){0===--f&&d(k,i,c,b)})):d(k,i,c,b)}function d(b,c,d,e){var f=a(e);if(!f.data("blockUI.isBlocked")){b.each(function(a,b){this.parentNode&&this.parentNode.removeChild(this)}),c&&c.el&&(c.el.style.display=c.display,c.el.style.position=c.position,c.el.style.cursor="default",c.parent&&c.parent.appendChild(c.el),f.removeData("blockUI.history")),f.data("blockUI.static")&&f.css("position","static"),"function"==typeof d.onUnblock&&d.onUnblock(e,d);var g=a(document.body),h=g.width(),i=g[0].style.width;g.width(h-1).width(h),g[0].style.width=i}}function e(b,c,d){var e=c==window,g=a(c);if((b||(!e||n)&&(e||g.data("blockUI.isBlocked")))&&(g.data("blockUI.isBlocked",b),e&&d.bindEvents&&(!b||d.showOverlay))){var h="mousedown mouseup keydown keypress keyup touchstart touchend touchmove";b?a(document).bind(h,d,f):a(document).unbind(h,f)}}function f(b){if("keydown"===b.type&&b.keyCode&&9==b.keyCode&&n&&b.data.constrainTabKey){var c=o,d=!b.shiftKey&&b.target===c[c.length-1],e=b.shiftKey&&b.target===c[0];if(d||e)return setTimeout(function(){g(e)},10),!1}var f=b.data,h=a(b.target);return h.hasClass("blockOverlay")&&f.onOverlayClick&&f.onOverlayClick(b),h.parents("div."+f.blockMsgClass).length>0?!0:0===h.parents().children().filter("div.blockUI").length}function g(a){if(o){var b=o[a===!0?o.length-1:0];b&&b.focus()}}function h(a,b,c){var d=a.parentNode,e=a.style,f=(d.offsetWidth-a.offsetWidth)/2-i(d,"borderLeftWidth"),g=(d.offsetHeight-a.offsetHeight)/2-i(d,"borderTopWidth");b&&(e.left=f>0?f+"px":"0"),c&&(e.top=g>0?g+"px":"0")}function i(b,c){return parseInt(a.css(b,c),10)||0}a.fn._fadeIn=a.fn.fadeIn;var j=a.noop||function(){},k=/MSIE/.test(navigator.userAgent),l=/MSIE 6.0/.test(navigator.userAgent)&&!/MSIE 8.0/.test(navigator.userAgent),m=(document.documentMode||0,a.isFunction(document.createElement("div").style.setExpression));a.blockUI=function(a){b(window,a)},a.unblockUI=function(a){c(window,a)},a.growlUI=function(b,c,d,e){var f=a('
');b&&f.append("

"+b+"

"),c&&f.append("

"+c+"

"),void 0===d&&(d=3e3);var g=function(b){b=b||{},a.blockUI({message:f,fadeIn:"undefined"!=typeof b.fadeIn?b.fadeIn:700,fadeOut:"undefined"!=typeof b.fadeOut?b.fadeOut:1e3,timeout:"undefined"!=typeof b.timeout?b.timeout:d,centerY:!1,showOverlay:!1,onUnblock:e,css:a.blockUI.defaults.growlCSS})};g();f.css("opacity");f.mouseover(function(){g({fadeIn:0,timeout:3e4});var b=a(".blockMsg");b.stop(),b.fadeTo(300,1)}).mouseout(function(){a(".blockMsg").fadeOut(1e3)})},a.fn.block=function(c){if(this[0]===window)return a.blockUI(c),this;var d=a.extend({},a.blockUI.defaults,c||{});return this.each(function(){var b=a(this);d.ignoreIfBlocked&&b.data("blockUI.isBlocked")||b.unblock({fadeOut:0})}),this.each(function(){"static"==a.css(this,"position")&&(this.style.position="relative",a(this).data("blockUI.static",!0)),this.style.zoom=1,b(this,c)})},a.fn.unblock=function(b){return this[0]===window?(a.unblockUI(b),this):this.each(function(){c(this,b)})},a.blockUI.version=2.7,a.blockUI.defaults={message:"

Please wait...

",title:null,draggable:!0,theme:!1,css:{padding:0,margin:0,width:"30%",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"3px solid #aaa",backgroundColor:"#fff",cursor:"wait"},themedCSS:{width:"30%",top:"40%",left:"35%"},overlayCSS:{backgroundColor:"#000",opacity:.6,cursor:"wait"},cursorReset:"default",growlCSS:{width:"350px",top:"10px",left:"",right:"10px",border:"none",padding:"5px",opacity:.6,cursor:"default",color:"#fff",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px","border-radius":"10px"},iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",forceIframe:!1,baseZ:1e3,centerX:!0,centerY:!0,allowBodyStretch:!0,bindEvents:!0,constrainTabKey:!0,fadeIn:200,fadeOut:400,timeout:0,showOverlay:!0,focusInput:!0,focusableElements:":input:enabled:visible",onBlock:null,onUnblock:null,onOverlayClick:null,quirksmodeOffsetHack:4,blockMsgClass:"blockMsg",ignoreIfBlocked:!1};var n=null,o=[]}"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],a):a(jQuery)}(),function(a,b,c){var d=a();a.fn.dropdownHover=function(c){return"ontouchstart"in document?this:(d=d.add(this.parent()),this.each(function(){function e(a){b.clearTimeout(f),b.clearTimeout(g),g=b.setTimeout(function(){d.find(":focus").blur(),n.instantlyCloseOthers===!0&&d.removeClass("open"),b.clearTimeout(g),h.attr("aria-expanded","true"),i.addClass("open"),h.trigger(l)},n.hoverDelay)}var f,g,h=a(this),i=h.parent(),j={delay:500,hoverDelay:0,instantlyCloseOthers:!0},k={delay:a(this).data("delay"),hoverDelay:a(this).data("hover-delay"),instantlyCloseOthers:a(this).data("close-others")},l="show.bs.dropdown",m="hide.bs.dropdown",n=a.extend(!0,{},j,c,k);i.hover(function(a){return i.hasClass("open")||h.is(a.target)?void e(a):!0},function(){b.clearTimeout(g),f=b.setTimeout(function(){h.attr("aria-expanded","false"),i.removeClass("open"),h.trigger(m)},n.delay)}),h.hover(function(a){return i.hasClass("open")||i.is(a.target)?void e(a):!0}),i.find(".dropdown-submenu").each(function(){var c,d=a(this);d.hover(function(){b.clearTimeout(c),d.children(".dropdown-menu").show(),d.siblings().children(".dropdown-menu").hide()},function(){var a=d.children(".dropdown-menu");c=b.setTimeout(function(){a.hide()},n.delay)})})}))},a(document).ready(function(){a('[data-hover="dropdown"]').dropdownHover()})}(jQuery,window),function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof exports?module.exports=b(require("jquery")):b(jQuery)}(this,function(a){!function(a){"use strict";function b(b){var c=[{re:/[\xC0-\xC6]/g,ch:"A"},{re:/[\xE0-\xE6]/g,ch:"a"},{re:/[\xC8-\xCB]/g,ch:"E"},{re:/[\xE8-\xEB]/g,ch:"e"},{re:/[\xCC-\xCF]/g,ch:"I"},{re:/[\xEC-\xEF]/g,ch:"i"},{re:/[\xD2-\xD6]/g,ch:"O"},{re:/[\xF2-\xF6]/g,ch:"o"},{re:/[\xD9-\xDC]/g,ch:"U"},{re:/[\xF9-\xFC]/g,ch:"u"},{re:/[\xC7-\xE7]/g,ch:"c"},{re:/[\xD1]/g,ch:"N"},{re:/[\xF1]/g,ch:"n"}];return a.each(c,function(){b=b.replace(this.re,this.ch)}),b}function c(a){var b={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},c="(?:"+Object.keys(b).join("|")+")",d=new RegExp(c),e=new RegExp(c,"g"),f=null==a?"":""+a;return d.test(f)?f.replace(e,function(a){return b[a]}):f}function d(b,c){var d=arguments,f=b,g=c;[].shift.apply(d);var h,i=this.each(function(){var b=a(this);if(b.is("select")){var c=b.data("selectpicker"),i="object"==typeof f&&f;if(c){if(i)for(var j in i)i.hasOwnProperty(j)&&(c.options[j]=i[j])}else{var k=a.extend({},e.DEFAULTS,a.fn.selectpicker.defaults||{},b.data(),i);k.template=a.extend({},e.DEFAULTS.template,a.fn.selectpicker.defaults?a.fn.selectpicker.defaults.template:{},b.data().template,i.template),b.data("selectpicker",c=new e(this,k,g))}"string"==typeof f&&(h=c[f]instanceof Function?c[f].apply(c,d):c.options[f])}});return"undefined"!=typeof h?h:i}String.prototype.includes||!function(){var a={}.toString,b=function(){try{var a={},b=Object.defineProperty,c=b(a,a,a)&&b}catch(d){}return c}(),c="".indexOf,d=function(b){if(null==this)throw new TypeError;var d=String(this);if(b&&"[object RegExp]"==a.call(b))throw new TypeError;var e=d.length,f=String(b),g=f.length,h=arguments.length>1?arguments[1]:void 0,i=h?Number(h):0;i!=i&&(i=0);var j=Math.min(Math.max(i,0),e);return g+j>e?!1:-1!=c.call(d,f,i)};b?b(String.prototype,"includes",{value:d,configurable:!0,writable:!0}):String.prototype.includes=d}(),String.prototype.startsWith||!function(){var a=function(){try{var a={},b=Object.defineProperty,c=b(a,a,a)&&b}catch(d){}return c}(),b={}.toString,c=function(a){if(null==this)throw new TypeError;var c=String(this);if(a&&"[object RegExp]"==b.call(a))throw new TypeError;var d=c.length,e=String(a),f=e.length,g=arguments.length>1?arguments[1]:void 0,h=g?Number(g):0;h!=h&&(h=0);var i=Math.min(Math.max(h,0),d);if(f+i>d)return!1;for(var j=-1;++j'},maxOptions:!1,mobile:!1,selectOnTab:!1,dropdownAlignRight:!1},e.prototype={constructor:e,init:function(){var b=this,c=this.$element.attr("id");this.$element.addClass("bs-select-hidden"),this.liObj={},this.multiple=this.$element.prop("multiple"),this.autofocus=this.$element.prop("autofocus"),this.$newElement=this.createView(),this.$element.after(this.$newElement),this.$button=this.$newElement.children("button"),this.$menu=this.$newElement.children(".dropdown-menu"),this.$menuInner=this.$menu.children(".inner"),this.$searchbox=this.$menu.find("input"),this.options.dropdownAlignRight&&this.$menu.addClass("dropdown-menu-right"),"undefined"!=typeof c&&(this.$button.attr("data-id",c),a('label[for="'+c+'"]').click(function(a){a.preventDefault(),b.$button.focus()})),this.checkDisabled(),this.clickListener(),this.options.liveSearch&&this.liveSearchListener(),this.render(),this.setStyle(),this.setWidth(),this.options.container&&this.selectPosition(),this.$menu.data("this",this),this.$newElement.data("this",this),this.options.mobile&&this.mobile(),this.$newElement.on({"hide.bs.dropdown":function(a){b.$element.trigger("hide.bs.select",a)},"hidden.bs.dropdown":function(a){b.$element.trigger("hidden.bs.select",a)},"show.bs.dropdown":function(a){b.$element.trigger("show.bs.select",a)},"shown.bs.dropdown":function(a){b.$element.trigger("shown.bs.select",a)}}),setTimeout(function(){b.$element.trigger("loaded.bs.select")})},createDropdown:function(){var b=this.multiple?" show-tick":"",d=this.$element.parent().hasClass("input-group")?" input-group-btn":"",e=this.autofocus?" autofocus":"",f=this.options.header?'
'+this.options.header+"
":"",g=this.options.liveSearch?'":"",h=this.multiple&&this.options.actionsBox?'
":"",i=this.multiple&&this.options.doneButton?'
":"",j='
";return a(j)},createView:function(){var a=this.createDropdown(),b=this.createLi();return a.find("ul")[0].innerHTML=b,a},reloadLi:function(){this.destroyLi();var a=this.createLi();this.$menuInner[0].innerHTML=a},destroyLi:function(){this.$menu.find("li").remove()},createLi:function(){var d=this,e=[],f=0,g=document.createElement("option"),h=-1,i=function(a,b,c,d){return""+a+""},j=function(a,e,f,g){return'"+a+''};if(this.options.title&&!this.multiple&&(h--,!this.$element.find(".bs-title-option").length)){var k=this.$element[0];g.className="bs-title-option",g.appendChild(document.createTextNode(this.options.title)),g.value="",k.insertBefore(g,k.firstChild),void 0===a(k.options[k.selectedIndex]).attr("selected")&&(g.selected=!0)}return this.$element.find("option").each(function(b){var c=a(this);if(h++,!c.hasClass("bs-title-option")){var g=this.className||"",k=this.style.cssText,l=c.data("content")?c.data("content"):c.html(),m=c.data("tokens")?c.data("tokens"):null,n="undefined"!=typeof c.data("subtext")?''+c.data("subtext")+"":"",o="undefined"!=typeof c.data("icon")?' ':"",p=this.disabled||"OPTGROUP"===this.parentNode.tagName&&this.parentNode.disabled;if(""!==o&&p&&(o=""+o+""),d.options.hideDisabled&&p)return void h--;if(c.data("content")||(l=o+''+l+n+""),"OPTGROUP"===this.parentNode.tagName&&c.data("divider")!==!0){var q=" "+this.parentNode.className||"";if(0===c.index()){f+=1;var r=this.parentNode.label,s="undefined"!=typeof c.parent().data("subtext")?''+c.parent().data("subtext")+"":"",t=c.parent().data("icon")?' ':"";r=t+''+r+s+"",0!==b&&e.length>0&&(h++,e.push(i("",null,"divider",f+"div"))),h++,e.push(i(r,null,"dropdown-header"+q,f))}e.push(i(j(l,"opt "+g+q,k,m),b,"",f))}else c.data("divider")===!0?e.push(i("",b,"divider")):c.data("hidden")===!0?e.push(i(j(l,g,k,m),b,"hidden is-hidden")):(this.previousElementSibling&&"OPTGROUP"===this.previousElementSibling.tagName&&(h++,e.push(i("",null,"divider",f+"div"))),e.push(i(j(l,g,k,m),b)));d.liObj[b]=h}}),this.multiple||0!==this.$element.find("option:selected").length||this.options.title||this.$element.find("option").eq(0).prop("selected",!0).attr("selected","selected"),e.join("")},findLis:function(){return null==this.$lis&&(this.$lis=this.$menu.find("li")),this.$lis},render:function(b){var c,d=this;b!==!1&&this.$element.find("option").each(function(a){var b=d.findLis().eq(d.liObj[a]);d.setDisabled(a,this.disabled||"OPTGROUP"===this.parentNode.tagName&&this.parentNode.disabled,b),d.setSelected(a,this.selected,b)}),this.tabIndex();var e=this.$element.find("option").map(function(){if(this.selected){if(d.options.hideDisabled&&(this.disabled||"OPTGROUP"===this.parentNode.tagName&&this.parentNode.disabled))return;var b,c=a(this),e=c.data("icon")&&d.options.showIcon?' ':"";return b=d.options.showSubtext&&c.data("subtext")&&!d.multiple?' '+c.data("subtext")+"":"","undefined"!=typeof c.attr("title")?c.attr("title"):c.data("content")&&d.options.showContent?c.data("content"):e+c.html()+b}}).toArray(),f=this.multiple?e.join(this.options.multipleSeparator):e[0];if(this.multiple&&this.options.selectedTextFormat.indexOf("count")>-1){var g=this.options.selectedTextFormat.split(">");if(g.length>1&&e.length>g[1]||1==g.length&&e.length>=2){c=this.options.hideDisabled?", [disabled]":"";var h=this.$element.find("option").not('[data-divider="true"], [data-hidden="true"]'+c).length,i="function"==typeof this.options.countSelectedText?this.options.countSelectedText(e.length,h):this.options.countSelectedText;f=i.replace("{0}",e.length.toString()).replace("{1}",h.toString())}}void 0==this.options.title&&(this.options.title=this.$element.attr("title")),"static"==this.options.selectedTextFormat&&(f=this.options.title),f||(f="undefined"!=typeof this.options.title?this.options.title:this.options.noneSelectedText),this.$button.attr("title",a.trim(f.replace(/<[^>]*>?/g,""))),this.$button.children(".filter-option").html(f),this.$element.trigger("rendered.bs.select")},setStyle:function(a,b){this.$element.attr("class")&&this.$newElement.addClass(this.$element.attr("class").replace(/selectpicker|mobile-device|bs-select-hidden|validate\[.*\]/gi,""));var c=a?a:this.options.style;"add"==b?this.$button.addClass(c):"remove"==b?this.$button.removeClass(c):(this.$button.removeClass(this.options.style),this.$button.addClass(c))},liHeight:function(b){if(b||this.options.size!==!1&&!this.sizeInfo){var c=document.createElement("div"),d=document.createElement("div"),e=document.createElement("ul"),f=document.createElement("li"),g=document.createElement("li"),h=document.createElement("a"),i=document.createElement("span"),j=this.options.header?this.$menu.find(".popover-title")[0].cloneNode(!0):null,k=this.options.liveSearch?document.createElement("div"):null,l=this.options.actionsBox&&this.multiple?this.$menu.find(".bs-actionsbox")[0].cloneNode(!0):null,m=this.options.doneButton&&this.multiple?this.$menu.find(".bs-donebutton")[0].cloneNode(!0):null;if(i.className="text",c.className=this.$menu[0].parentNode.className+" open",d.className="dropdown-menu open",e.className="dropdown-menu inner",f.className="divider",i.appendChild(document.createTextNode("Inner text")),h.appendChild(i),g.appendChild(h),e.appendChild(g),e.appendChild(f),j&&d.appendChild(j),k){var n=document.createElement("span");k.className="bs-searchbox",n.className="form-control",k.appendChild(n),d.appendChild(k)}l&&d.appendChild(l),d.appendChild(e),m&&d.appendChild(m),c.appendChild(d),document.body.appendChild(c);var o=h.offsetHeight,p=j?j.offsetHeight:0,q=k?k.offsetHeight:0,r=l?l.offsetHeight:0,s=m?m.offsetHeight:0,t=a(f).outerHeight(!0),u="function"==typeof getComputedStyle?getComputedStyle(d):!1,v=u?null:a(d),w=parseInt(u?u.paddingTop:v.css("paddingTop"))+parseInt(u?u.paddingBottom:v.css("paddingBottom"))+parseInt(u?u.borderTopWidth:v.css("borderTopWidth"))+parseInt(u?u.borderBottomWidth:v.css("borderBottomWidth")),x=w+parseInt(u?u.marginTop:v.css("marginTop"))+parseInt(u?u.marginBottom:v.css("marginBottom"))+2;document.body.removeChild(c),this.sizeInfo={liHeight:o,headerHeight:p,searchHeight:q,actionsHeight:r,doneButtonHeight:s,dividerHeight:t,menuPadding:w,menuExtras:x}}},setSize:function(){if(this.findLis(),this.liHeight(),this.options.header&&this.$menu.css("padding-top",0),this.options.size!==!1){var b,c,d,e,f=this,g=this.$menu,h=this.$menuInner,i=a(window),j=this.$newElement[0].offsetHeight,k=this.sizeInfo.liHeight,l=this.sizeInfo.headerHeight,m=this.sizeInfo.searchHeight,n=this.sizeInfo.actionsHeight,o=this.sizeInfo.doneButtonHeight,p=this.sizeInfo.dividerHeight,q=this.sizeInfo.menuPadding,r=this.sizeInfo.menuExtras,s=this.options.hideDisabled?".disabled":"",t=function(){d=f.$newElement.offset().top-i.scrollTop(),e=i.height()-d-j};if(t(),"auto"===this.options.size){var u=function(){var i,j=function(b,c){return function(d){return c?d.classList?d.classList.contains(b):a(d).hasClass(b):!(d.classList?d.classList.contains(b):a(d).hasClass(b))}},p=f.$menuInner[0].getElementsByTagName("li"),s=Array.prototype.filter?Array.prototype.filter.call(p,j("hidden",!1)):f.$lis.not(".hidden"),u=Array.prototype.filter?Array.prototype.filter.call(s,j("dropdown-header",!0)):s.filter(".dropdown-header");t(),b=e-r,f.options.container?(g.data("height")||g.data("height",g.height()),c=g.data("height")):c=g.height(),f.options.dropupAuto&&f.$newElement.toggleClass("dropup",d>e&&c>b-r),f.$newElement.hasClass("dropup")&&(b=d-r),i=s.length+u.length>3?3*k+r-2:0,g.css({"max-height":b+"px",overflow:"hidden","min-height":i+l+m+n+o+"px"}),h.css({"max-height":b-l-m-n-o-q+"px","overflow-y":"auto","min-height":Math.max(i-q,0)+"px"})};u(),this.$searchbox.off("input.getSize propertychange.getSize").on("input.getSize propertychange.getSize",u),i.off("resize.getSize scroll.getSize").on("resize.getSize scroll.getSize",u)}else if(this.options.size&&"auto"!=this.options.size&&this.$lis.not(s).length>this.options.size){var v=this.$lis.not(".divider").not(s).children().slice(0,this.options.size).last().parent().index(),w=this.$lis.slice(0,v+1).filter(".divider").length;b=k*this.options.size+w*p+q,f.options.container?(g.data("height")||g.data("height",g.height()),c=g.data("height")):c=g.height(),f.options.dropupAuto&&this.$newElement.toggleClass("dropup",d>e&&c>b-r),g.css({"max-height":b+l+m+n+o+"px",overflow:"hidden","min-height":""}),h.css({"max-height":b-q+"px","overflow-y":"auto","min-height":""})}}},setWidth:function(){if("auto"===this.options.width){this.$menu.css("min-width","0");var a=this.$menu.parent().clone().appendTo("body"),b=this.options.container?this.$newElement.clone().appendTo("body"):a,c=a.children(".dropdown-menu").outerWidth(),d=b.css("width","auto").children("button").outerWidth();a.remove(),b.remove(),this.$newElement.css("width",Math.max(c,d)+"px")}else"fit"===this.options.width?(this.$menu.css("min-width",""),this.$newElement.css("width","").addClass("fit-width")):this.options.width?(this.$menu.css("min-width",""),this.$newElement.css("width",this.options.width)):(this.$menu.css("min-width",""),this.$newElement.css("width",""));this.$newElement.hasClass("fit-width")&&"fit"!==this.options.width&&this.$newElement.removeClass("fit-width")},selectPosition:function(){var b,c,d=this,e=a('
'),f=function(a){e.addClass(a.attr("class").replace(/form-control|fit-width/gi,"")).toggleClass("dropup",a.hasClass("dropup")),b=a.offset(),c=a.hasClass("dropup")?0:a[0].offsetHeight,e.css({top:b.top+c,left:b.left,width:a[0].offsetWidth})};this.$newElement.on("click",function(){d.isDisabled()||(f(a(this)),e.appendTo(d.options.container),e.toggleClass("open",!a(this).hasClass("open")),e.append(d.$menu))}),a(window).on("resize scroll",function(){f(d.$newElement)}),this.$element.on("hide.bs.select",function(){d.$menu.data("height",d.$menu.height()),e.detach()})},setSelected:function(a,b,c){c||(c=this.findLis().eq(this.liObj[a])),c.toggleClass("selected",b)},setDisabled:function(a,b,c){c||(c=this.findLis().eq(this.liObj[a])),b?c.addClass("disabled").children("a").attr("href","#").attr("tabindex",-1):c.removeClass("disabled").children("a").removeAttr("href").attr("tabindex",0)},isDisabled:function(){return this.$element[0].disabled},checkDisabled:function(){var a=this;this.isDisabled()?(this.$newElement.addClass("disabled"),this.$button.addClass("disabled").attr("tabindex",-1)):(this.$button.hasClass("disabled")&&(this.$newElement.removeClass("disabled"),this.$button.removeClass("disabled")),-1!=this.$button.attr("tabindex")||this.$element.data("tabindex")||this.$button.removeAttr("tabindex")),this.$button.click(function(){return!a.isDisabled()})},tabIndex:function(){this.$element.is("[tabindex]")&&(this.$element.data("tabindex",this.$element.attr("tabindex")),this.$button.attr("tabindex",this.$element.data("tabindex")))},clickListener:function(){var b=this,c=a(document);this.$newElement.on("touchstart.dropdown",".dropdown-menu",function(a){a.stopPropagation()}),c.data("spaceSelect",!1),this.$button.on("keyup",function(a){/(32)/.test(a.keyCode.toString(10))&&c.data("spaceSelect")&&(a.preventDefault(),c.data("spaceSelect",!1))}),this.$newElement.on("click",function(){b.setSize(),b.$element.on("shown.bs.select",function(){if(b.options.liveSearch||b.multiple){if(!b.multiple){var a=b.liObj[b.$element[0].selectedIndex];if("number"!=typeof a||b.options.size===!1)return;var c=b.$lis.eq(a)[0].offsetTop-b.$menuInner[0].offsetTop;c=c-b.$menuInner[0].offsetHeight/2+b.sizeInfo.liHeight/2,b.$menuInner[0].scrollTop=c}}else b.$menuInner.find(".selected a").focus()})}),this.$menuInner.on("click","li a",function(c){var d=a(this),e=d.parent().data("originalIndex"),f=b.$element.val(),g=b.$element.prop("selectedIndex");if(b.multiple&&c.stopPropagation(),c.preventDefault(),!b.isDisabled()&&!d.parent().hasClass("disabled")){var h=b.$element.find("option"),i=h.eq(e),j=i.prop("selected"),k=i.parent("optgroup"),l=b.options.maxOptions,m=k.data("maxOptions")||!1;if(b.multiple){if(i.prop("selected",!j),b.setSelected(e,!j),d.blur(),l!==!1||m!==!1){var n=l
');q[2]&&(r=r.replace("{var}",q[2][l>1?0:1]),s=s.replace("{var}",q[2][m>1?0:1])),i.prop("selected",!1),b.$menu.append(t),l&&n&&(t.append(a("
"+r+"
")),b.$element.trigger("maxReached.bs.select")),m&&o&&(t.append(a("
"+s+"
")),b.$element.trigger("maxReachedGrp.bs.select")),setTimeout(function(){b.setSelected(e,!1)},10),t.delay(750).fadeOut(300,function(){a(this).remove()})}}}else h.prop("selected",!1),i.prop("selected",!0),b.$menuInner.find(".selected").removeClass("selected"), -b.setSelected(e,!0);b.multiple?b.options.liveSearch&&b.$searchbox.focus():b.$button.focus(),(f!=b.$element.val()&&b.multiple||g!=b.$element.prop("selectedIndex")&&!b.multiple)&&(b.$element.triggerNative("change"),b.$element.trigger("changed.bs.select",[e,i.prop("selected"),j]))}}),this.$menu.on("click","li.disabled a, .popover-title, .popover-title :not(.close)",function(c){c.currentTarget==this&&(c.preventDefault(),c.stopPropagation(),b.options.liveSearch&&!a(c.target).hasClass("close")?b.$searchbox.focus():b.$button.focus())}),this.$menuInner.on("click",".divider, .dropdown-header",function(a){a.preventDefault(),a.stopPropagation(),b.options.liveSearch?b.$searchbox.focus():b.$button.focus()}),this.$menu.on("click",".popover-title .close",function(){b.$button.click()}),this.$searchbox.on("click",function(a){a.stopPropagation()}),this.$menu.on("click",".actions-btn",function(c){b.options.liveSearch?b.$searchbox.focus():b.$button.focus(),c.preventDefault(),c.stopPropagation(),a(this).hasClass("bs-select-all")?b.selectAll():b.deselectAll(),b.$element.triggerNative("change")}),this.$element.change(function(){b.render(!1)})},liveSearchListener:function(){var d=this,e=a('
  • ');this.$newElement.on("click.dropdown.data-api touchstart.dropdown.data-api",function(){d.$menuInner.find(".active").removeClass("active"),d.$searchbox.val()&&(d.$searchbox.val(""),d.$lis.not(".is-hidden").removeClass("hidden"),e.parent().length&&e.remove()),d.multiple||d.$menuInner.find(".selected").addClass("active"),setTimeout(function(){d.$searchbox.focus()},10)}),this.$searchbox.on("click.dropdown.data-api focus.dropdown.data-api touchend.dropdown.data-api",function(a){a.stopPropagation()}),this.$searchbox.on("input propertychange",function(){if(d.$searchbox.val()){var f=d.$lis.not(".is-hidden").removeClass("hidden").children("a");f=d.options.liveSearchNormalize?f.not(":a"+d._searchStyle()+'("'+b(d.$searchbox.val())+'")'):f.not(":"+d._searchStyle()+'("'+d.$searchbox.val()+'")'),f.parent().addClass("hidden"),d.$lis.filter(".dropdown-header").each(function(){var b=a(this),c=b.data("optgroup");0===d.$lis.filter("[data-optgroup="+c+"]").not(b).not(".hidden").length&&(b.addClass("hidden"),d.$lis.filter("[data-optgroup="+c+"div]").addClass("hidden"))});var g=d.$lis.not(".hidden");g.each(function(b){var c=a(this);c.hasClass("divider")&&(c.index()===g.first().index()||c.index()===g.last().index()||g.eq(b+1).hasClass("divider"))&&c.addClass("hidden")}),d.$lis.not(".hidden, .no-results").length?e.parent().length&&e.remove():(e.parent().length&&e.remove(),e.html(d.options.noneResultsText.replace("{0}",'"'+c(d.$searchbox.val())+'"')).show(),d.$menuInner.append(e))}else d.$lis.not(".is-hidden").removeClass("hidden"),e.parent().length&&e.remove();d.$lis.filter(".active").removeClass("active"),d.$searchbox.val()&&d.$lis.not(".hidden, .divider, .dropdown-header").eq(0).addClass("active").children("a").focus(),a(this).focus()})},_searchStyle:function(){var a={begins:"ibegins",startsWith:"ibegins"};return a[this.options.liveSearchStyle]||"icontains"},val:function(a){return"undefined"!=typeof a?(this.$element.val(a),this.render(),this.$element):this.$element.val()},changeAll:function(b){"undefined"==typeof b&&(b=!0),this.findLis();for(var c=this.$element.find("option"),d=this.$lis.not(".divider, .dropdown-header, .disabled, .hidden").toggleClass("selected",b),e=d.length,f=[],g=0;e>g;g++){var h=d[g].getAttribute("data-original-index");f[f.length]=c.eq(h)[0]}a(f).prop("selected",b),this.render(!1)},selectAll:function(){return this.changeAll(!0)},deselectAll:function(){return this.changeAll(!1)},keydown:function(c){var d,e,f,g,h,i,j,k,l,m=a(this),n=m.is("input")?m.parent().parent():m.parent(),o=n.data("this"),p=":not(.disabled, .hidden, .dropdown-header, .divider)",q={32:" ",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9"};if(o.options.liveSearch&&(n=m.parent().parent()),o.options.container&&(n=o.$menu),d=a("[role=menu] li",n),l=o.$menu.parent().hasClass("open"),!l&&(c.keyCode>=48&&c.keyCode<=57||c.keyCode>=96&&c.keyCode<=105||c.keyCode>=65&&c.keyCode<=90)&&(o.options.container?o.$newElement.trigger("click"):(o.setSize(),o.$menu.parent().addClass("open"),l=!0),o.$searchbox.focus()),o.options.liveSearch&&(/(^9$|27)/.test(c.keyCode.toString(10))&&l&&0===o.$menu.find(".active").length&&(c.preventDefault(),o.$menu.parent().removeClass("open"),o.options.container&&o.$newElement.removeClass("open"),o.$button.focus()),d=a("[role=menu] li"+p,n),m.val()||/(38|40)/.test(c.keyCode.toString(10))||0===d.filter(".active").length&&(d=o.$menuInner.find("li"),d=o.options.liveSearchNormalize?d.filter(":a"+o._searchStyle()+"("+b(q[c.keyCode])+")"):d.filter(":"+o._searchStyle()+"("+q[c.keyCode]+")"))),d.length){if(/(38|40)/.test(c.keyCode.toString(10)))e=d.index(d.find("a").filter(":focus").parent()),g=d.filter(p).first().index(),h=d.filter(p).last().index(),f=d.eq(e).nextAll(p).eq(0).index(),i=d.eq(e).prevAll(p).eq(0).index(),j=d.eq(f).prevAll(p).eq(0).index(),o.options.liveSearch&&(d.each(function(b){a(this).hasClass("disabled")||a(this).data("index",b)}),e=d.index(d.filter(".active")),g=d.first().data("index"),h=d.last().data("index"),f=d.eq(e).nextAll().eq(0).data("index"),i=d.eq(e).prevAll().eq(0).data("index"),j=d.eq(f).prevAll().eq(0).data("index")),k=m.data("prevIndex"),38==c.keyCode?(o.options.liveSearch&&e--,e!=j&&e>i&&(e=i),g>e&&(e=g),e==k&&(e=h)):40==c.keyCode&&(o.options.liveSearch&&e++,-1==e&&(e=0),e!=j&&f>e&&(e=f),e>h&&(e=h),e==k&&(e=g)),m.data("prevIndex",e),o.options.liveSearch?(c.preventDefault(),m.hasClass("dropdown-toggle")||(d.removeClass("active").eq(e).addClass("active").children("a").focus(),m.focus())):d.eq(e).children("a").focus();else if(!m.is("input")){var r,s,t=[];d.each(function(){a(this).hasClass("disabled")||a.trim(a(this).children("a").text().toLowerCase()).substring(0,1)==q[c.keyCode]&&t.push(a(this).index())}),r=a(document).data("keycount"),r++,a(document).data("keycount",r),s=a.trim(a(":focus").text().toLowerCase()).substring(0,1),s!=q[c.keyCode]?(r=1,a(document).data("keycount",r)):r>=t.length&&(a(document).data("keycount",0),r>t.length&&(r=1)),d.eq(t[r-1]).children("a").focus()}if((/(13|32)/.test(c.keyCode.toString(10))||/(^9$)/.test(c.keyCode.toString(10))&&o.options.selectOnTab)&&l){if(/(32)/.test(c.keyCode.toString(10))||c.preventDefault(),o.options.liveSearch)/(32)/.test(c.keyCode.toString(10))||(o.$menuInner.find(".active a").click(),m.focus());else{var u=a(":focus");u.click(),u.focus(),c.preventDefault(),a(document).data("spaceSelect",!0)}a(document).data("keycount",0)}(/(^9$|27)/.test(c.keyCode.toString(10))&&l&&(o.multiple||o.options.liveSearch)||/(27)/.test(c.keyCode.toString(10))&&!l)&&(o.$menu.parent().removeClass("open"),o.options.container&&o.$newElement.removeClass("open"),o.$button.focus())}},mobile:function(){this.$element.addClass("mobile-device").appendTo(this.$newElement),this.options.container&&this.$menu.hide()},refresh:function(){this.$lis=null,this.liObj={},this.reloadLi(),this.render(),this.checkDisabled(),this.liHeight(!0),this.setStyle(),this.setWidth(),this.$lis&&this.$searchbox.trigger("propertychange"),this.$element.trigger("refreshed.bs.select")},hide:function(){this.$newElement.hide()},show:function(){this.$newElement.show()},remove:function(){this.$newElement.remove(),this.$element.remove()}};var f=a.fn.selectpicker;a.fn.selectpicker=d,a.fn.selectpicker.Constructor=e,a.fn.selectpicker.noConflict=function(){return a.fn.selectpicker=f,this},a(document).data("keycount",0).on("keydown",'.bootstrap-select [data-toggle=dropdown], .bootstrap-select [role="menu"], .bs-searchbox input',e.prototype.keydown).on("focusin.modal",'.bootstrap-select [data-toggle=dropdown], .bootstrap-select [role="menu"], .bs-searchbox input',function(a){a.stopPropagation()}),a(window).on("load.bs.select.data-api",function(){a(".selectpicker").each(function(){var b=a(this);d.call(b,b.data())})})}(a)}),angular.module("checklist-model",[]).directive("checklistModel",["$parse","$compile",function(a,b){function c(a,b,c){if(angular.isArray(a))for(var d=a.length;d--;)if(c(a[d],b))return!0;return!1}function d(a,b,d){return a=angular.isArray(a)?a:[],c(a,b,d)||a.push(b),a}function e(a,b,c){if(angular.isArray(a))for(var d=a.length;d--;)if(c(a[d],b)){a.splice(d,1);break}return a}function f(f,g,h){function i(a,b){f[h.ngModel]=c(a,n,o)}var j=h.checklistModel;h.$set("checklistModel",null),b(g)(f),h.$set("checklistModel",j);var k=a(j),l=k.assign,m=a(h.checklistChange),n=h.checklistValue?a(h.checklistValue)(f.$parent):h.value,o=angular.equals;if(h.hasOwnProperty("checklistComparator"))if("."==h.checklistComparator[0]){var p=h.checklistComparator.substring(1);o=function(a,b){return a[p]===b[p]}}else o=a(h.checklistComparator)(f.$parent);f.$watch(h.ngModel,function(a,b){if(a!==b){var c=k(f.$parent);angular.isFunction(l)&&(a===!0?l(f.$parent,d(c,n,o)):l(f.$parent,e(c,n,o))),m&&m(f)}}),angular.isFunction(f.$parent.$watchCollection)?f.$parent.$watchCollection(j,i):f.$parent.$watch(j,i,!0)}return{restrict:"A",priority:1e3,terminal:!0,scope:!0,compile:function(a,b){if(("INPUT"!==a[0].tagName||"checkbox"!==b.type)&&"MD-CHECKBOX"!==a[0].tagName&&!b.btnCheckbox)throw'checklist-model should be applied to `input[type="checkbox"]` or `md-checkbox`.';if(!b.checklistValue&&!b.value)throw"You should provide `value` or `checklist-value`.";return b.ngModel||b.$set("ngModel","checked"),f}}}]),function(a,b,c){"use strict";a.fn.backstretch=function(d,f){return d!==c&&0!==d.length||a.error("No images were supplied for Backstretch"),0===a(b).scrollTop()&&b.scrollTo(0,0),this.each(function(){var b=a(this),c=b.data("backstretch");if(c){if("string"==typeof d&&"function"==typeof c[d])return void c[d](f);f=a.extend(c.options,f),c.destroy(!0)}c=new e(this,d,f),b.data("backstretch",c)})},a.backstretch=function(b,c){return a("body").backstretch(b,c).data("backstretch")},a.expr[":"].backstretch=function(b){return a(b).data("backstretch")!==c},a.fn.backstretch.defaults={centeredX:!0,centeredY:!0,duration:5e3,fade:0};var d={wrap:{left:0,top:0,overflow:"hidden",margin:0,padding:0,height:"100%",width:"100%",zIndex:-999999},img:{position:"absolute",display:"none",margin:0,padding:0,border:"none",width:"auto",height:"auto",maxHeight:"none",maxWidth:"none",zIndex:-999999}},e=function(c,e,g){this.options=a.extend({},a.fn.backstretch.defaults,g||{}),this.images=a.isArray(e)?e:[e],a.each(this.images,function(){a("")[0].src=this}),this.isBody=c===document.body,this.$container=a(c),this.$root=this.isBody?a(f?b:document):this.$container;var h=this.$container.children(".backstretch").first();if(this.$wrap=h.length?h:a('
    ').css(d.wrap).appendTo(this.$container),!this.isBody){var i=this.$container.css("position"),j=this.$container.css("zIndex");this.$container.css({position:"static"===i?"relative":i,zIndex:"auto"===j?0:j,background:"none"}),this.$wrap.css({zIndex:-999998})}this.$wrap.css({position:this.isBody&&f?"fixed":"absolute"}),this.index=0,this.show(this.index),a(b).on("resize.backstretch",a.proxy(this.resize,this)).on("orientationchange.backstretch",a.proxy(function(){this.isBody&&0===b.pageYOffset&&(b.scrollTo(0,1),this.resize())},this))};e.prototype={resize:function(){try{var a,c={left:0,top:0},d=this.isBody?this.$root.width():this.$root.innerWidth(),e=d,f=this.isBody?b.innerHeight?b.innerHeight:this.$root.height():this.$root.innerHeight(),g=e/this.$img.data("ratio");g>=f?(a=(g-f)/2,this.options.centeredY&&(c.top="-"+a+"px")):(g=f,e=g*this.$img.data("ratio"),a=(e-d)/2,this.options.centeredX&&(c.left="-"+a+"px")),this.$wrap.css({width:d,height:f}).find("img:not(.deleteable)").css({width:e,height:g}).css(c)}catch(h){}return this},show:function(b){if(!(Math.abs(b)>this.images.length-1)){var c=this,e=c.$wrap.find("img").addClass("deleteable"),f={relatedTarget:c.$container[0]};return c.$container.trigger(a.Event("backstretch.before",f),[c,b]),this.index=b,clearInterval(c.interval),c.$img=a("").css(d.img).bind("load",function(d){var g=this.width||a(d.target).width(),h=this.height||a(d.target).height();a(this).data("ratio",g/h),a(this).fadeIn(c.options.speed||c.options.fade,function(){e.remove(),c.paused||c.cycle(),a(["after","show"]).each(function(){c.$container.trigger(a.Event("backstretch."+this,f),[c,b])})}),c.resize()}).appendTo(c.$wrap),c.$img.attr("src",c.images[b]),c}},next:function(){return this.show(this.index1&&(clearInterval(this.interval),this.interval=setInterval(a.proxy(function(){this.paused||this.next()},this),this.options.duration)),this},destroy:function(c){a(b).off("resize.backstretch orientationchange.backstretch"),clearInterval(this.interval),c||this.$wrap.remove(),this.$container.removeData("backstretch")}};var f=function(){var a=navigator.userAgent,c=navigator.platform,d=a.match(/AppleWebKit\/([0-9]+)/),e=!!d&&d[1],f=a.match(/Fennec\/([0-9]+)/),g=!!f&&f[1],h=a.match(/Opera Mobi\/([0-9]+)/),i=!!h&&h[1],j=a.match(/MSIE ([0-9]+)/),k=!!j&&j[1];return!((c.indexOf("iPhone")>-1||c.indexOf("iPad")>-1||c.indexOf("iPod")>-1)&&e&&534>e||b.operamini&&"[object OperaMini]"==={}.toString.call(b.operamini)||h&&7458>i||a.indexOf("Android")>-1&&e&&533>e||g&&6>g||"palmGetResource"in b&&e&&534>e||a.indexOf("MeeGo")>-1&&a.indexOf("NokiaBrowser/8.5.0")>-1||k&&6>=k)}()}(jQuery,window),function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):jQuery)}(function(a){function b(a){return h.raw?a:encodeURIComponent(a)}function c(a){return h.raw?a:decodeURIComponent(a)}function d(a){return b(h.json?JSON.stringify(a):String(a))}function e(a){0===a.indexOf('"')&&(a=a.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return a=decodeURIComponent(a.replace(g," ")),h.json?JSON.parse(a):a}catch(b){}}function f(b,c){var d=h.raw?b:e(b);return a.isFunction(c)?c(d):d}var g=/\+/g,h=a.cookie=function(e,g,i){if(void 0!==g&&!a.isFunction(g)){if(i=a.extend({},h.defaults,i),"number"==typeof i.expires){var j=i.expires,k=i.expires=new Date;k.setTime(+k+864e5*j)}return document.cookie=[b(e),"=",d(g),i.expires?"; expires="+i.expires.toUTCString():"",i.path?"; path="+i.path:"",i.domain?"; domain="+i.domain:"",i.secure?"; secure":""].join("")}for(var l=e?void 0:{},m=document.cookie?document.cookie.split("; "):[],n=0,o=m.length;o>n;n++){var p=m[n].split("="),q=c(p.shift()),r=p.join("=");if(e&&e===q){l=f(r,g);break}e||void 0===(r=f(r))||(l[q]=r)}return l};h.defaults={},a.removeCookie=function(b,c){return void 0===a.cookie(b)?!1:(a.cookie(b,"",a.extend({},c,{expires:-1})),!a.cookie(b))}}),function(a,b,c){function d(c){var d=b.console;f[c]||(f[c]=!0,a.migrateWarnings.push(c),d&&d.warn&&!a.migrateMute&&(d.warn("JQMIGRATE: "+c),a.migrateTrace&&d.trace&&d.trace()))}function e(b,c,e,f){if(Object.defineProperty)try{return void Object.defineProperty(b,c,{configurable:!0,enumerable:!0,get:function(){return d(f),e},set:function(a){d(f),e=a}})}catch(g){}a._definePropertyBroken=!0,b[c]=e}var f={};a.migrateWarnings=[],!a.migrateMute&&b.console&&b.console.log&&b.console.log("JQMIGRATE: Logging is active"),a.migrateTrace===c&&(a.migrateTrace=!0),a.migrateReset=function(){f={},a.migrateWarnings.length=0},"BackCompat"===document.compatMode&&d("jQuery is not compatible with Quirks Mode");var g=a("",{size:1}).attr("size")&&a.attrFn,h=a.attr,i=a.attrHooks.value&&a.attrHooks.value.get||function(){return null},j=a.attrHooks.value&&a.attrHooks.value.set||function(){return c},k=/^(?:input|button)$/i,l=/^[238]$/,m=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,n=/^(?:checked|selected)$/i;e(a,"attrFn",g||{},"jQuery.attrFn is deprecated"),a.attr=function(b,e,f,i){var j=e.toLowerCase(),o=b&&b.nodeType;return i&&(h.length<4&&d("jQuery.fn.attr( props, pass ) is deprecated"),b&&!l.test(o)&&(g?e in g:a.isFunction(a.fn[e])))?a(b)[e](f):("type"===e&&f!==c&&k.test(b.nodeName)&&b.parentNode&&d("Can't change the 'type' of an input or button in IE 6/7/8"),!a.attrHooks[j]&&m.test(j)&&(a.attrHooks[j]={get:function(b,d){var e,f=a.prop(b,d);return f===!0||"boolean"!=typeof f&&(e=b.getAttributeNode(d))&&e.nodeValue!==!1?d.toLowerCase():c},set:function(b,c,d){var e;return c===!1?a.removeAttr(b,d):(e=a.propFix[d]||d,e in b&&(b[e]=!0),b.setAttribute(d,d.toLowerCase())),d}},n.test(j)&&d("jQuery.fn.attr('"+j+"') may use property instead of attribute")),h.call(a,b,e,f))},a.attrHooks.value={get:function(a,b){var c=(a.nodeName||"").toLowerCase();return"button"===c?i.apply(this,arguments):("input"!==c&&"option"!==c&&d("jQuery.fn.attr('value') no longer gets properties"),b in a?a.value:null)},set:function(a,b){var c=(a.nodeName||"").toLowerCase();return"button"===c?j.apply(this,arguments):("input"!==c&&"option"!==c&&d("jQuery.fn.attr('value', val) no longer sets properties"),void(a.value=b))}};var o,p,q=a.fn.init,r=a.parseJSON,s=/^([^<]*)(<[\w\W]+>)([^>]*)$/;a.fn.init=function(b,c,e){var f;return b&&"string"==typeof b&&!a.isPlainObject(c)&&(f=s.exec(a.trim(b)))&&f[0]&&("<"!==b.charAt(0)&&d("$(html) HTML strings must start with '<' character"),f[3]&&d("$(html) HTML text after last tag is ignored"),"#"===f[0].charAt(0)&&(d("HTML string cannot start with a '#' character"),a.error("JQMIGRATE: Invalid selector string (XSS)")),c&&c.context&&(c=c.context),a.parseHTML)?q.call(this,a.parseHTML(f[2],c,!0),c,e):q.apply(this,arguments)},a.fn.init.prototype=a.fn,a.parseJSON=function(a){return a||null===a?r.apply(this,arguments):(d("jQuery.parseJSON requires a valid JSON string"),null)},a.uaMatch=function(a){a=a.toLowerCase();var b=/(chrome)[ \/]([\w.]+)/.exec(a)||/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||a.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},a.browser||(o=a.uaMatch(navigator.userAgent),p={},o.browser&&(p[o.browser]=!0,p.version=o.version),p.chrome?p.webkit=!0:p.webkit&&(p.safari=!0),a.browser=p),e(a,"browser",a.browser,"jQuery.browser is deprecated"),a.sub=function(){function b(a,c){return new b.fn.init(a,c)}a.extend(!0,b,this),b.superclass=this,b.fn=b.prototype=this(),b.fn.constructor=b,b.sub=this.sub,b.fn.init=function(d,e){return e&&e instanceof a&&!(e instanceof b)&&(e=b(e)),a.fn.init.call(this,d,e,c)},b.fn.init.prototype=b.fn;var c=b(document);return d("jQuery.sub() is deprecated"),b},a.ajaxSetup({converters:{"text json":a.parseJSON}});var t=a.fn.data;a.fn.data=function(b){var e,f,g=this[0];return!g||"events"!==b||1!==arguments.length||(e=a.data(g,b),f=a._data(g,b),e!==c&&e!==f||f===c)?t.apply(this,arguments):(d("Use of jQuery.fn.data('events') is deprecated"),f)};var u=/\/(java|ecma)script/i,v=a.fn.andSelf||a.fn.addBack;a.fn.andSelf=function(){return d("jQuery.fn.andSelf() replaced by jQuery.fn.addBack()"),v.apply(this,arguments)},a.clean||(a.clean=function(b,c,e,f){c=c||document,c=!c.nodeType&&c[0]||c,c=c.ownerDocument||c,d("jQuery.clean() is deprecated");var g,h,i,j,k=[];if(a.merge(k,a.buildFragment(b,c).childNodes),e)for(i=function(a){return!a.type||u.test(a.type)?f?f.push(a.parentNode?a.parentNode.removeChild(a):a):e.appendChild(a):void 0},g=0;null!=(h=k[g]);g++)a.nodeName(h,"script")&&i(h)||(e.appendChild(h),"undefined"!=typeof h.getElementsByTagName&&(j=a.grep(a.merge([],h.getElementsByTagName("script")),i),k.splice.apply(k,[g+1,0].concat(j)),g+=j.length));return k});var w=a.event.add,x=a.event.remove,y=a.event.trigger,z=a.fn.toggle,A=a.fn.live,B=a.fn.die,C="ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess",D=new RegExp("\\b(?:"+C+")\\b"),E=/(?:^|\s)hover(\.\S+|)\b/,F=function(b){return"string"!=typeof b||a.event.special.hover?b:(E.test(b)&&d("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'"),b&&b.replace(E,"mouseenter$1 mouseleave$1"))};a.event.props&&"attrChange"!==a.event.props[0]&&a.event.props.unshift("attrChange","attrName","relatedNode","srcElement"),a.event.dispatch&&e(a.event,"handle",a.event.dispatch,"jQuery.event.handle is undocumented and deprecated"),a.event.add=function(a,b,c,e,f){a!==document&&D.test(b)&&d("AJAX events should be attached to document: "+b),w.call(this,a,F(b||""),c,e,f)},a.event.remove=function(a,b,c,d,e){x.call(this,a,F(b)||"",c,d,e)},a.fn.error=function(){var a=Array.prototype.slice.call(arguments,0);return d("jQuery.fn.error() is deprecated"),a.splice(0,0,"error"),arguments.length?this.bind.apply(this,a):(this.triggerHandler.apply(this,a),this)},a.fn.toggle=function(b,c){if(!a.isFunction(b)||!a.isFunction(c))return z.apply(this,arguments);d("jQuery.fn.toggle(handler, handler...) is deprecated");var e=arguments,f=b.guid||a.guid++,g=0,h=function(c){var d=(a._data(this,"lastToggle"+b.guid)||0)%g;return a._data(this,"lastToggle"+b.guid,d+1),c.preventDefault(),e[d].apply(this,arguments)||!1};for(h.guid=f;g").attr("name",c.submitButton.name).val(a(c.submitButton).val()).appendTo(c.currentForm)),e=c.settings.submitHandler.call(c,c.currentForm,b),c.submitButton&&d.remove(),void 0!==e?e:!1):!0}return c.settings.debug&&b.preventDefault(),c.cancelSubmit?(c.cancelSubmit=!1,d()):c.form()?c.pendingRequest?(c.formSubmitted=!0,!1):d():(c.focusInvalid(),!1)})),c)},valid:function(){var b,c,d;return a(this[0]).is("form")?b=this.validate().form():(d=[],b=!0,c=a(this[0].form).validate(),this.each(function(){b=c.element(this)&&b,d=d.concat(c.errorList)}),c.errorList=d),b},rules:function(b,c){var d,e,f,g,h,i,j=this[0];if(b)switch(d=a.data(j.form,"validator").settings,e=d.rules,f=a.validator.staticRules(j),b){case"add":a.extend(f,a.validator.normalizeRule(c)),delete f.messages,e[j.name]=f,c.messages&&(d.messages[j.name]=a.extend(d.messages[j.name],c.messages));break;case"remove":return c?(i={},a.each(c.split(/\s/),function(b,c){i[c]=f[c],delete f[c],"required"===c&&a(j).removeAttr("aria-required")}),i):(delete e[j.name],f)}return g=a.validator.normalizeRules(a.extend({},a.validator.classRules(j),a.validator.attributeRules(j),a.validator.dataRules(j),a.validator.staticRules(j)),j),g.required&&(h=g.required,delete g.required,g=a.extend({required:h},g),a(j).attr("aria-required","true")),g.remote&&(h=g.remote,delete g.remote,g=a.extend(g,{remote:h})),g}}),a.extend(a.expr[":"],{blank:function(b){return!a.trim(""+a(b).val())},filled:function(b){return!!a.trim(""+a(b).val())},unchecked:function(b){return!a(b).prop("checked")}}),a.validator=function(b,c){this.settings=a.extend(!0,{},a.validator.defaults,b),this.currentForm=c,this.init()},a.validator.format=function(b,c){return 1===arguments.length?function(){var c=a.makeArray(arguments);return c.unshift(b),a.validator.format.apply(this,c)}:(arguments.length>2&&c.constructor!==Array&&(c=a.makeArray(arguments).slice(1)),c.constructor!==Array&&(c=[c]),a.each(c,function(a,c){b=b.replace(new RegExp("\\{"+a+"\\}","g"),function(){return c})}),b)},a.extend(a.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",validClass:"valid",errorElement:"label",focusCleanup:!1,focusInvalid:!0,errorContainer:a([]),errorLabelContainer:a([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(a){this.lastActive=a,this.settings.focusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,a,this.settings.errorClass,this.settings.validClass),this.hideThese(this.errorsFor(a)))},onfocusout:function(a){this.checkable(a)||!(a.name in this.submitted)&&this.optional(a)||this.element(a)},onkeyup:function(b,c){var d=[16,17,18,20,35,36,37,38,39,40,45,144,225];9===c.which&&""===this.elementValue(b)||-1!==a.inArray(c.keyCode,d)||(b.name in this.submitted||b===this.lastElement)&&this.element(b)},onclick:function(a){a.name in this.submitted?this.element(a):a.parentNode.name in this.submitted&&this.element(a.parentNode)},highlight:function(b,c,d){"radio"===b.type?this.findByName(b.name).addClass(c).removeClass(d):a(b).addClass(c).removeClass(d)},unhighlight:function(b,c,d){"radio"===b.type?this.findByName(b.name).removeClass(c).addClass(d):a(b).removeClass(c).addClass(d)}},setDefaults:function(b){a.extend(a.validator.defaults,b)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date ( ISO ).",number:"Please enter a valid number.",digits:"Please enter only digits.",creditcard:"Please enter a valid credit card number.",equalTo:"Please enter the same value again.",maxlength:a.validator.format("Please enter no more than {0} characters."),minlength:a.validator.format("Please enter at least {0} characters."),rangelength:a.validator.format("Please enter a value between {0} and {1} characters long."),range:a.validator.format("Please enter a value between {0} and {1}."),max:a.validator.format("Please enter a value less than or equal to {0}."),min:a.validator.format("Please enter a value greater than or equal to {0}.")},autoCreateRanges:!1,prototype:{init:function(){function b(b){var c=a.data(this.form,"validator"),d="on"+b.type.replace(/^validate/,""),e=c.settings;e[d]&&!a(this).is(e.ignore)&&e[d].call(c,this,b)}this.labelContainer=a(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||a(this.currentForm),this.containers=a(this.settings.errorContainer).add(this.settings.errorLabelContainer),this.submitted={},this.valueCache={},this.pendingRequest=0,this.pending={},this.invalid={},this.reset();var c,d=this.groups={};a.each(this.settings.groups,function(b,c){"string"==typeof c&&(c=c.split(/\s/)),a.each(c,function(a,c){d[c]=b})}),c=this.settings.rules,a.each(c,function(b,d){c[b]=a.validator.normalizeRule(d)}),a(this.currentForm).on("focusin.validate focusout.validate keyup.validate",":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'], [type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'], [type='radio'], [type='checkbox']",b).on("click.validate","select, option, [type='radio'], [type='checkbox']",b),this.settings.invalidHandler&&a(this.currentForm).on("invalid-form.validate",this.settings.invalidHandler),a(this.currentForm).find("[required], [data-rule-required], .required").attr("aria-required","true")},form:function(){return this.checkForm(),a.extend(this.submitted,this.errorMap),this.invalid=a.extend({},this.errorMap),this.valid()||a(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var a=0,b=this.currentElements=this.elements();b[a];a++)this.check(b[a]);return this.valid()},element:function(b){var c=this.clean(b),d=this.validationTargetFor(c),e=!0;return this.lastElement=d,void 0===d?delete this.invalid[c.name]:(this.prepareElement(d),this.currentElements=a(d),e=this.check(d)!==!1,e?delete this.invalid[d.name]:this.invalid[d.name]=!0),a(b).attr("aria-invalid",!e),this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),e},showErrors:function(b){if(b){a.extend(this.errorMap,b),this.errorList=[];for(var c in b)this.errorList.push({message:b[c],element:this.findByName(c)[0]});this.successList=a.grep(this.successList,function(a){return!(a.name in b)})}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){a.fn.resetForm&&a(this.currentForm).resetForm(),this.submitted={},this.lastElement=null,this.prepareForm(),this.hideErrors();var b,c=this.elements().removeData("previousValue").removeAttr("aria-invalid");if(this.settings.unhighlight)for(b=0;c[b];b++)this.settings.unhighlight.call(this,c[b],this.settings.errorClass,"");else c.removeClass(this.settings.errorClass)},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(a){var b,c=0;for(b in a)c++;return c},hideErrors:function(){this.hideThese(this.toHide)},hideThese:function(a){a.not(this.containers).text(""),this.addWrapper(a).hide()},valid:function(){return 0===this.size()},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{a(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus().trigger("focusin")}catch(b){}},findLastActive:function(){var b=this.lastActive;return b&&1===a.grep(this.errorList,function(a){return a.element.name===b.name}).length&&b},elements:function(){var b=this,c={};return a(this.currentForm).find("input, select, textarea").not(":submit, :reset, :image, :disabled").not(this.settings.ignore).filter(function(){return!this.name&&b.settings.debug&&window.console&&console.error("%o has no name assigned",this),this.name in c||!b.objectLength(a(this).rules())?!1:(c[this.name]=!0,!0)})},clean:function(b){return a(b)[0]},errors:function(){var b=this.settings.errorClass.split(" ").join(".");return a(this.settings.errorElement+"."+b,this.errorContext)},reset:function(){this.successList=[],this.errorList=[],this.errorMap={},this.toShow=a([]),this.toHide=a([]),this.currentElements=a([])},prepareForm:function(){this.reset(),this.toHide=this.errors().add(this.containers)},prepareElement:function(a){this.reset(),this.toHide=this.errorsFor(a)},elementValue:function(b){var c,d=a(b),e=b.type;return"radio"===e||"checkbox"===e?this.findByName(b.name).filter(":checked").val():"number"===e&&"undefined"!=typeof b.validity?b.validity.badInput?!1:d.val():(c=d.val(),"string"==typeof c?c.replace(/\r/g,""):c)},check:function(b){b=this.validationTargetFor(this.clean(b));var c,d,e,f=a(b).rules(),g=a.map(f,function(a,b){return b}).length,h=!1,i=this.elementValue(b);for(d in f){e={method:d,parameters:f[d]};try{if(c=a.validator.methods[d].call(this,i,b,e.parameters),"dependency-mismatch"===c&&1===g){h=!0;continue; -}if(h=!1,"pending"===c)return void(this.toHide=this.toHide.not(this.errorsFor(b)));if(!c)return this.formatAndAdd(b,e),!1}catch(j){throw this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+b.id+", check the '"+e.method+"' method.",j),j instanceof TypeError&&(j.message+=". Exception occurred when checking element "+b.id+", check the '"+e.method+"' method."),j}}if(!h)return this.objectLength(f)&&this.successList.push(b),!0},customDataMessage:function(b,c){return a(b).data("msg"+c.charAt(0).toUpperCase()+c.substring(1).toLowerCase())||a(b).data("msg")},customMessage:function(a,b){var c=this.settings.messages[a];return c&&(c.constructor===String?c:c[b])},findDefined:function(){for(var a=0;aWarning: No message defined for "+b.name+"")},formatAndAdd:function(b,c){var d=this.defaultMessage(b,c.method),e=/\$?\{(\d+)\}/g;"function"==typeof d?d=d.call(this,c.parameters,b):e.test(d)&&(d=a.validator.format(d.replace(e,"{$1}"),c.parameters)),this.errorList.push({message:d,element:b,method:c.method}),this.errorMap[b.name]=d,this.submitted[b.name]=d},addWrapper:function(a){return this.settings.wrapper&&(a=a.add(a.parent(this.settings.wrapper))),a},defaultShowErrors:function(){var a,b,c;for(a=0;this.errorList[a];a++)c=this.errorList[a],this.settings.highlight&&this.settings.highlight.call(this,c.element,this.settings.errorClass,this.settings.validClass),this.showLabel(c.element,c.message);if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(a=0;this.successList[a];a++)this.showLabel(this.successList[a]);if(this.settings.unhighlight)for(a=0,b=this.validElements();b[a];a++)this.settings.unhighlight.call(this,b[a],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow),this.hideErrors(),this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return a(this.errorList).map(function(){return this.element})},showLabel:function(b,c){var d,e,f,g=this.errorsFor(b),h=this.idOrName(b),i=a(b).attr("aria-describedby");g.length?(g.removeClass(this.settings.validClass).addClass(this.settings.errorClass),g.html(c)):(g=a("<"+this.settings.errorElement+">").attr("id",h+"-error").addClass(this.settings.errorClass).html(c||""),d=g,this.settings.wrapper&&(d=g.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.length?this.labelContainer.append(d):this.settings.errorPlacement?this.settings.errorPlacement(d,a(b)):d.insertAfter(b),g.is("label")?g.attr("for",h):0===g.parents("label[for='"+h+"']").length&&(f=g.attr("id").replace(/(:|\.|\[|\]|\$)/g,"\\$1"),i?i.match(new RegExp("\\b"+f+"\\b"))||(i+=" "+f):i=f,a(b).attr("aria-describedby",i),e=this.groups[b.name],e&&a.each(this.groups,function(b,c){c===e&&a("[name='"+b+"']",this.currentForm).attr("aria-describedby",g.attr("id"))}))),!c&&this.settings.success&&(g.text(""),"string"==typeof this.settings.success?g.addClass(this.settings.success):this.settings.success(g,b)),this.toShow=this.toShow.add(g)},errorsFor:function(b){var c=this.idOrName(b),d=a(b).attr("aria-describedby"),e="label[for='"+c+"'], label[for='"+c+"'] *";return d&&(e=e+", #"+d.replace(/\s+/g,", #")),this.errors().filter(e)},idOrName:function(a){return this.groups[a.name]||(this.checkable(a)?a.name:a.id||a.name)},validationTargetFor:function(b){return this.checkable(b)&&(b=this.findByName(b.name)),a(b).not(this.settings.ignore)[0]},checkable:function(a){return/radio|checkbox/i.test(a.type)},findByName:function(b){return a(this.currentForm).find("[name='"+b+"']")},getLength:function(b,c){switch(c.nodeName.toLowerCase()){case"select":return a("option:selected",c).length;case"input":if(this.checkable(c))return this.findByName(c.name).filter(":checked").length}return b.length},depend:function(a,b){return this.dependTypes[typeof a]?this.dependTypes[typeof a](a,b):!0},dependTypes:{"boolean":function(a){return a},string:function(b,c){return!!a(b,c.form).length},"function":function(a,b){return a(b)}},optional:function(b){var c=this.elementValue(b);return!a.validator.methods.required.call(this,c,b)&&"dependency-mismatch"},startRequest:function(a){this.pending[a.name]||(this.pendingRequest++,this.pending[a.name]=!0)},stopRequest:function(b,c){this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[b.name],c&&0===this.pendingRequest&&this.formSubmitted&&this.form()?(a(this.currentForm).submit(),this.formSubmitted=!1):!c&&0===this.pendingRequest&&this.formSubmitted&&(a(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(b){return a.data(b,"previousValue")||a.data(b,"previousValue",{old:null,valid:!0,message:this.defaultMessage(b,"remote")})},destroy:function(){this.resetForm(),a(this.currentForm).off(".validate").removeData("validator")}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(b,c){b.constructor===String?this.classRuleSettings[b]=c:a.extend(this.classRuleSettings,b)},classRules:function(b){var c={},d=a(b).attr("class");return d&&a.each(d.split(" "),function(){this in a.validator.classRuleSettings&&a.extend(c,a.validator.classRuleSettings[this])}),c},normalizeAttributeRule:function(a,b,c,d){/min|max/.test(c)&&(null===b||/number|range|text/.test(b))&&(d=Number(d),isNaN(d)&&(d=void 0)),d||0===d?a[c]=d:b===c&&"range"!==b&&(a[c]=!0)},attributeRules:function(b){var c,d,e={},f=a(b),g=b.getAttribute("type");for(c in a.validator.methods)"required"===c?(d=b.getAttribute(c),""===d&&(d=!0),d=!!d):d=f.attr(c),this.normalizeAttributeRule(e,g,c,d);return e.maxlength&&/-1|2147483647|524288/.test(e.maxlength)&&delete e.maxlength,e},dataRules:function(b){var c,d,e={},f=a(b),g=b.getAttribute("type");for(c in a.validator.methods)d=f.data("rule"+c.charAt(0).toUpperCase()+c.substring(1).toLowerCase()),this.normalizeAttributeRule(e,g,c,d);return e},staticRules:function(b){var c={},d=a.data(b.form,"validator");return d.settings.rules&&(c=a.validator.normalizeRule(d.settings.rules[b.name])||{}),c},normalizeRules:function(b,c){return a.each(b,function(d,e){if(e===!1)return void delete b[d];if(e.param||e.depends){var f=!0;switch(typeof e.depends){case"string":f=!!a(e.depends,c.form).length;break;case"function":f=e.depends.call(c,c)}f?b[d]=void 0!==e.param?e.param:!0:delete b[d]}}),a.each(b,function(d,e){b[d]=a.isFunction(e)?e(c):e}),a.each(["minlength","maxlength"],function(){b[this]&&(b[this]=Number(b[this]))}),a.each(["rangelength","range"],function(){var c;b[this]&&(a.isArray(b[this])?b[this]=[Number(b[this][0]),Number(b[this][1])]:"string"==typeof b[this]&&(c=b[this].replace(/[\[\]]/g,"").split(/[\s,]+/),b[this]=[Number(c[0]),Number(c[1])]))}),a.validator.autoCreateRanges&&(null!=b.min&&null!=b.max&&(b.range=[b.min,b.max],delete b.min,delete b.max),null!=b.minlength&&null!=b.maxlength&&(b.rangelength=[b.minlength,b.maxlength],delete b.minlength,delete b.maxlength)),b},normalizeRule:function(b){if("string"==typeof b){var c={};a.each(b.split(/\s/),function(){c[this]=!0}),b=c}return b},addMethod:function(b,c,d){a.validator.methods[b]=c,a.validator.messages[b]=void 0!==d?d:a.validator.messages[b],c.length<3&&a.validator.addClassRules(b,a.validator.normalizeRule(b))},methods:{required:function(b,c,d){if(!this.depend(d,c))return"dependency-mismatch";if("select"===c.nodeName.toLowerCase()){var e=a(c).val();return e&&e.length>0}return this.checkable(c)?this.getLength(b,c)>0:b.length>0},email:function(a,b){return this.optional(b)||/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(a)},url:function(a,b){return this.optional(b)||/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})).?)(?::\d{2,5})?(?:[\/?#]\S*)?$/i.test(a)},date:function(a,b){return this.optional(b)||!/Invalid|NaN/.test(new Date(a).toString())},dateISO:function(a,b){return this.optional(b)||/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(a)},number:function(a,b){return this.optional(b)||/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(a)},digits:function(a,b){return this.optional(b)||/^\d+$/.test(a)},creditcard:function(a,b){if(this.optional(b))return"dependency-mismatch";if(/[^0-9 \-]+/.test(a))return!1;var c,d,e=0,f=0,g=!1;if(a=a.replace(/\D/g,""),a.length<13||a.length>19)return!1;for(c=a.length-1;c>=0;c--)d=a.charAt(c),f=parseInt(d,10),g&&(f*=2)>9&&(f-=9),e+=f,g=!g;return e%10===0},minlength:function(b,c,d){var e=a.isArray(b)?b.length:this.getLength(b,c);return this.optional(c)||e>=d},maxlength:function(b,c,d){var e=a.isArray(b)?b.length:this.getLength(b,c);return this.optional(c)||d>=e},rangelength:function(b,c,d){var e=a.isArray(b)?b.length:this.getLength(b,c);return this.optional(c)||e>=d[0]&&e<=d[1]},min:function(a,b,c){return this.optional(b)||a>=c},max:function(a,b,c){return this.optional(b)||c>=a},range:function(a,b,c){return this.optional(b)||a>=c[0]&&a<=c[1]},equalTo:function(b,c,d){var e=a(d);return this.settings.onfocusout&&e.off(".validate-equalTo").on("blur.validate-equalTo",function(){a(c).valid()}),b===e.val()},remote:function(b,c,d){if(this.optional(c))return"dependency-mismatch";var e,f,g=this.previousValue(c);return this.settings.messages[c.name]||(this.settings.messages[c.name]={}),g.originalMessage=this.settings.messages[c.name].remote,this.settings.messages[c.name].remote=g.message,d="string"==typeof d&&{url:d}||d,g.old===b?g.valid:(g.old=b,e=this,this.startRequest(c),f={},f[c.name]=b,a.ajax(a.extend(!0,{mode:"abort",port:"validate"+c.name,dataType:"json",data:f,context:e.currentForm,success:function(d){var f,h,i,j=d===!0||"true"===d;e.settings.messages[c.name].remote=g.originalMessage,j?(i=e.formSubmitted,e.prepareElement(c),e.formSubmitted=i,e.successList.push(c),delete e.invalid[c.name],e.showErrors()):(f={},h=d||e.defaultMessage(c,"remote"),f[c.name]=g.message=a.isFunction(h)?h(b):h,e.invalid[c.name]=!0,e.showErrors(f)),g.valid=j,e.stopRequest(c,j)}},d)),"pending")}}});var b,c={};a.ajaxPrefilter?a.ajaxPrefilter(function(a,b,d){var e=a.port;"abort"===a.mode&&(c[e]&&c[e].abort(),c[e]=d)}):(b=a.ajax,a.ajax=function(d){var e=("mode"in d?d:a.ajaxSettings).mode,f=("port"in d?d:a.ajaxSettings).port;return"abort"===e?(c[f]&&c[f].abort(),c[f]=b.apply(this,arguments),c[f]):b.apply(this,arguments)})}),function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a(jQuery)}(function(a){a.fn.addBack=a.fn.addBack||a.fn.andSelf,a.fn.extend({actual:function(b,c){if(!this[b])throw'$.actual => The jQuery method "'+b+'" you called does not exist';var d,e,f={absolute:!1,clone:!1,includeMargin:!1,display:"block"},g=a.extend(f,c),h=this.eq(0);if(g.clone===!0)d=function(){var a="position: absolute !important; top: -1000 !important; ";h=h.clone().attr("style",a).appendTo("body")},e=function(){h.remove()};else{var i,j=[],k="";d=function(){i=h.parents().addBack().filter(":hidden"),k+="visibility: hidden !important; display: "+g.display+" !important; ",g.absolute===!0&&(k+="position: absolute !important; "),i.each(function(){var b=a(this),c=b.attr("style");j.push(c),b.attr("style",c?c+";"+k:k)})},e=function(){i.each(function(b){var c=a(this),d=j[b];void 0===d?c.removeAttr("style"):c.attr("style",d)})}}d();var l=/(outer)/.test(b)?h[b](g.includeMargin):h[b]();return e(),l}})}),function(a,b){"object"==typeof exports&&"undefined"!=typeof module?module.exports=b():"function"==typeof define&&define.amd?define(b):a.moment=b()}(this,function(){"use strict";function a(){return Hc.apply(null,arguments)}function b(a){Hc=a}function c(a){return"[object Array]"===Object.prototype.toString.call(a)}function d(a){return a instanceof Date||"[object Date]"===Object.prototype.toString.call(a)}function e(a,b){var c,d=[];for(c=0;c0)for(c in Jc)d=Jc[c],e=b[d],"undefined"!=typeof e&&(a[d]=e);return a}function n(b){m(this,b),this._d=new Date(null!=b._d?b._d.getTime():NaN),Kc===!1&&(Kc=!0,a.updateOffset(this),Kc=!1)}function o(a){return a instanceof n||null!=a&&null!=a._isAMomentObject}function p(a){return 0>a?Math.ceil(a):Math.floor(a)}function q(a){var b=+a,c=0;return 0!==b&&isFinite(b)&&(c=p(b)),c}function r(a,b,c){var d,e=Math.min(a.length,b.length),f=Math.abs(a.length-b.length),g=0;for(d=0;e>d;d++)(c&&a[d]!==b[d]||!c&&q(a[d])!==q(b[d]))&&g++;return g+f}function s(){}function t(a){return a?a.toLowerCase().replace("_","-"):a}function u(a){for(var b,c,d,e,f=0;f0;){if(d=v(e.slice(0,b).join("-")))return d;if(c&&c.length>=b&&r(e,c,!0)>=b-1)break;b--}f++}return null}function v(a){var b=null;if(!Lc[a]&&"undefined"!=typeof module&&module&&module.exports)try{b=Ic._abbr,require("./locale/"+a),w(b)}catch(c){}return Lc[a]}function w(a,b){var c;return a&&(c="undefined"==typeof b?y(a):x(a,b),c&&(Ic=c)),Ic._abbr}function x(a,b){return null!==b?(b.abbr=a,Lc[a]=Lc[a]||new s,Lc[a].set(b),w(a),Lc[a]):(delete Lc[a],null)}function y(a){var b;if(a&&a._locale&&a._locale._abbr&&(a=a._locale._abbr),!a)return Ic;if(!c(a)){if(b=v(a))return b;a=[a]}return u(a)}function z(a,b){var c=a.toLowerCase();Mc[c]=Mc[c+"s"]=Mc[b]=a}function A(a){return"string"==typeof a?Mc[a]||Mc[a.toLowerCase()]:void 0}function B(a){var b,c,d={};for(c in a)f(a,c)&&(b=A(c),b&&(d[b]=a[c]));return d}function C(b,c){return function(d){return null!=d?(E(this,b,d),a.updateOffset(this,c),this):D(this,b)}}function D(a,b){return a._d["get"+(a._isUTC?"UTC":"")+b]()}function E(a,b,c){return a._d["set"+(a._isUTC?"UTC":"")+b](c)}function F(a,b){var c;if("object"==typeof a)for(c in a)this.set(c,a[c]);else if(a=A(a),"function"==typeof this[a])return this[a](b);return this}function G(a,b,c){var d=""+Math.abs(a),e=b-d.length,f=a>=0;return(f?c?"+":"":"-")+Math.pow(10,Math.max(0,e)).toString().substr(1)+d}function H(a,b,c,d){var e=d;"string"==typeof d&&(e=function(){return this[d]()}),a&&(Qc[a]=e),b&&(Qc[b[0]]=function(){return G(e.apply(this,arguments),b[1],b[2])}),c&&(Qc[c]=function(){return this.localeData().ordinal(e.apply(this,arguments),a)})}function I(a){return a.match(/\[[\s\S]/)?a.replace(/^\[|\]$/g,""):a.replace(/\\/g,"")}function J(a){var b,c,d=a.match(Nc);for(b=0,c=d.length;c>b;b++)Qc[d[b]]?d[b]=Qc[d[b]]:d[b]=I(d[b]);return function(e){var f="";for(b=0;c>b;b++)f+=d[b]instanceof Function?d[b].call(e,a):d[b];return f}}function K(a,b){return a.isValid()?(b=L(b,a.localeData()),Pc[b]=Pc[b]||J(b),Pc[b](a)):a.localeData().invalidDate()}function L(a,b){function c(a){return b.longDateFormat(a)||a}var d=5;for(Oc.lastIndex=0;d>=0&&Oc.test(a);)a=a.replace(Oc,c),Oc.lastIndex=0,d-=1;return a}function M(a){return"function"==typeof a&&"[object Function]"===Object.prototype.toString.call(a)}function N(a,b,c){dd[a]=M(b)?b:function(a){return a&&c?c:b}}function O(a,b){return f(dd,a)?dd[a](b._strict,b._locale):new RegExp(P(a))}function P(a){return a.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(a,b,c,d,e){return b||c||d||e}).replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Q(a,b){var c,d=b;for("string"==typeof a&&(a=[a]),"number"==typeof b&&(d=function(a,c){c[b]=q(a)}),c=0;cd;d++){if(e=h([2e3,d]),c&&!this._longMonthsParse[d]&&(this._longMonthsParse[d]=new RegExp("^"+this.months(e,"").replace(".","")+"$","i"),this._shortMonthsParse[d]=new RegExp("^"+this.monthsShort(e,"").replace(".","")+"$","i")),c||this._monthsParse[d]||(f="^"+this.months(e,"")+"|^"+this.monthsShort(e,""),this._monthsParse[d]=new RegExp(f.replace(".",""),"i")),c&&"MMMM"===b&&this._longMonthsParse[d].test(a))return d;if(c&&"MMM"===b&&this._shortMonthsParse[d].test(a))return d;if(!c&&this._monthsParse[d].test(a))return d}}function X(a,b){var c;return"string"==typeof b&&(b=a.localeData().monthsParse(b),"number"!=typeof b)?a:(c=Math.min(a.date(),T(a.year(),b)),a._d["set"+(a._isUTC?"UTC":"")+"Month"](b,c),a)}function Y(b){return null!=b?(X(this,b),a.updateOffset(this,!0),this):D(this,"Month")}function Z(){return T(this.year(),this.month())}function $(a){var b,c=a._a;return c&&-2===j(a).overflow&&(b=c[gd]<0||c[gd]>11?gd:c[hd]<1||c[hd]>T(c[fd],c[gd])?hd:c[id]<0||c[id]>24||24===c[id]&&(0!==c[jd]||0!==c[kd]||0!==c[ld])?id:c[jd]<0||c[jd]>59?jd:c[kd]<0||c[kd]>59?kd:c[ld]<0||c[ld]>999?ld:-1,j(a)._overflowDayOfYear&&(fd>b||b>hd)&&(b=hd),j(a).overflow=b),a}function _(b){a.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+b)}function aa(a,b){var c=!0;return g(function(){return c&&(_(a+"\n"+(new Error).stack),c=!1),b.apply(this,arguments)},b)}function ba(a,b){od[a]||(_(b),od[a]=!0)}function ca(a){var b,c,d=a._i,e=pd.exec(d);if(e){for(j(a).iso=!0,b=0,c=qd.length;c>b;b++)if(qd[b][1].exec(d)){a._f=qd[b][0];break}for(b=0,c=rd.length;c>b;b++)if(rd[b][1].exec(d)){a._f+=(e[6]||" ")+rd[b][0];break}d.match(ad)&&(a._f+="Z"),va(a)}else a._isValid=!1}function da(b){var c=sd.exec(b._i);return null!==c?void(b._d=new Date(+c[1])):(ca(b),void(b._isValid===!1&&(delete b._isValid,a.createFromInputFallback(b))))}function ea(a,b,c,d,e,f,g){var h=new Date(a,b,c,d,e,f,g);return 1970>a&&h.setFullYear(a),h}function fa(a){var b=new Date(Date.UTC.apply(null,arguments));return 1970>a&&b.setUTCFullYear(a),b}function ga(a){return ha(a)?366:365}function ha(a){return a%4===0&&a%100!==0||a%400===0}function ia(){return ha(this.year())}function ja(a,b,c){var d,e=c-b,f=c-a.day();return f>e&&(f-=7),e-7>f&&(f+=7),d=Da(a).add(f,"d"),{week:Math.ceil(d.dayOfYear()/7),year:d.year()}}function ka(a){return ja(a,this._week.dow,this._week.doy).week}function la(){return this._week.dow}function ma(){return this._week.doy}function na(a){var b=this.localeData().week(this);return null==a?b:this.add(7*(a-b),"d")}function oa(a){var b=ja(this,1,4).week;return null==a?b:this.add(7*(a-b),"d")}function pa(a,b,c,d,e){var f,g=6+e-d,h=fa(a,0,1+g),i=h.getUTCDay();return e>i&&(i+=7),c=null!=c?1*c:e,f=1+g+7*(b-1)-i+c,{year:f>0?a:a-1,dayOfYear:f>0?f:ga(a-1)+f}}function qa(a){var b=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==a?b:this.add(a-b,"d")}function ra(a,b,c){return null!=a?a:null!=b?b:c}function sa(a){var b=new Date;return a._useUTC?[b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate()]:[b.getFullYear(),b.getMonth(),b.getDate()]}function ta(a){var b,c,d,e,f=[];if(!a._d){for(d=sa(a),a._w&&null==a._a[hd]&&null==a._a[gd]&&ua(a),a._dayOfYear&&(e=ra(a._a[fd],d[fd]),a._dayOfYear>ga(e)&&(j(a)._overflowDayOfYear=!0),c=fa(e,0,a._dayOfYear),a._a[gd]=c.getUTCMonth(),a._a[hd]=c.getUTCDate()),b=0;3>b&&null==a._a[b];++b)a._a[b]=f[b]=d[b];for(;7>b;b++)a._a[b]=f[b]=null==a._a[b]?2===b?1:0:a._a[b];24===a._a[id]&&0===a._a[jd]&&0===a._a[kd]&&0===a._a[ld]&&(a._nextDay=!0,a._a[id]=0),a._d=(a._useUTC?fa:ea).apply(null,f),null!=a._tzm&&a._d.setUTCMinutes(a._d.getUTCMinutes()-a._tzm),a._nextDay&&(a._a[id]=24)}}function ua(a){var b,c,d,e,f,g,h;b=a._w,null!=b.GG||null!=b.W||null!=b.E?(f=1,g=4,c=ra(b.GG,a._a[fd],ja(Da(),1,4).year),d=ra(b.W,1),e=ra(b.E,1)):(f=a._locale._week.dow,g=a._locale._week.doy,c=ra(b.gg,a._a[fd],ja(Da(),f,g).year),d=ra(b.w,1),null!=b.d?(e=b.d,f>e&&++d):e=null!=b.e?b.e+f:f),h=pa(c,d,e,g,f),a._a[fd]=h.year,a._dayOfYear=h.dayOfYear}function va(b){if(b._f===a.ISO_8601)return void ca(b);b._a=[],j(b).empty=!0;var c,d,e,f,g,h=""+b._i,i=h.length,k=0;for(e=L(b._f,b._locale).match(Nc)||[],c=0;c0&&j(b).unusedInput.push(g),h=h.slice(h.indexOf(d)+d.length),k+=d.length),Qc[f]?(d?j(b).empty=!1:j(b).unusedTokens.push(f),S(f,d,b)):b._strict&&!d&&j(b).unusedTokens.push(f);j(b).charsLeftOver=i-k,h.length>0&&j(b).unusedInput.push(h),j(b).bigHour===!0&&b._a[id]<=12&&b._a[id]>0&&(j(b).bigHour=void 0),b._a[id]=wa(b._locale,b._a[id],b._meridiem),ta(b),$(b)}function wa(a,b,c){var d;return null==c?b:null!=a.meridiemHour?a.meridiemHour(b,c):null!=a.isPM?(d=a.isPM(c),d&&12>b&&(b+=12),d||12!==b||(b=0),b):b}function xa(a){var b,c,d,e,f;if(0===a._f.length)return j(a).invalidFormat=!0,void(a._d=new Date(NaN));for(e=0;ef)&&(d=f,c=b));g(a,c||b)}function ya(a){if(!a._d){var b=B(a._i);a._a=[b.year,b.month,b.day||b.date,b.hour,b.minute,b.second,b.millisecond],ta(a)}}function za(a){var b=new n($(Aa(a)));return b._nextDay&&(b.add(1,"d"),b._nextDay=void 0),b}function Aa(a){var b=a._i,e=a._f;return a._locale=a._locale||y(a._l),null===b||void 0===e&&""===b?l({nullInput:!0}):("string"==typeof b&&(a._i=b=a._locale.preparse(b)),o(b)?new n($(b)):(c(e)?xa(a):e?va(a):d(b)?a._d=b:Ba(a),a))}function Ba(b){var f=b._i;void 0===f?b._d=new Date:d(f)?b._d=new Date(+f):"string"==typeof f?da(b):c(f)?(b._a=e(f.slice(0),function(a){return parseInt(a,10)}),ta(b)):"object"==typeof f?ya(b):"number"==typeof f?b._d=new Date(f):a.createFromInputFallback(b)}function Ca(a,b,c,d,e){var f={};return"boolean"==typeof c&&(d=c,c=void 0),f._isAMomentObject=!0,f._useUTC=f._isUTC=e,f._l=c,f._i=a,f._f=b,f._strict=d,za(f)}function Da(a,b,c,d){return Ca(a,b,c,d,!1)}function Ea(a,b){var d,e;if(1===b.length&&c(b[0])&&(b=b[0]),!b.length)return Da();for(d=b[0],e=1;ea&&(a=-a,c="-"),c+G(~~(a/60),2)+b+G(~~a%60,2)})}function Ka(a){var b=(a||"").match(ad)||[],c=b[b.length-1]||[],d=(c+"").match(xd)||["-",0,0],e=+(60*d[1])+q(d[2]);return"+"===d[0]?e:-e}function La(b,c){var e,f;return c._isUTC?(e=c.clone(),f=(o(b)||d(b)?+b:+Da(b))-+e,e._d.setTime(+e._d+f),a.updateOffset(e,!1),e):Da(b).local()}function Ma(a){return 15*-Math.round(a._d.getTimezoneOffset()/15)}function Na(b,c){var d,e=this._offset||0;return null!=b?("string"==typeof b&&(b=Ka(b)),Math.abs(b)<16&&(b=60*b),!this._isUTC&&c&&(d=Ma(this)),this._offset=b,this._isUTC=!0,null!=d&&this.add(d,"m"),e!==b&&(!c||this._changeInProgress?bb(this,Ya(b-e,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,a.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?e:Ma(this)}function Oa(a,b){return null!=a?("string"!=typeof a&&(a=-a),this.utcOffset(a,b),this):-this.utcOffset()}function Pa(a){return this.utcOffset(0,a)}function Qa(a){return this._isUTC&&(this.utcOffset(0,a),this._isUTC=!1,a&&this.subtract(Ma(this),"m")),this}function Ra(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(Ka(this._i)),this}function Sa(a){return a=a?Da(a).utcOffset():0,(this.utcOffset()-a)%60===0}function Ta(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Ua(){if("undefined"!=typeof this._isDSTShifted)return this._isDSTShifted;var a={};if(m(a,this),a=Aa(a),a._a){var b=a._isUTC?h(a._a):Da(a._a);this._isDSTShifted=this.isValid()&&r(a._a,b.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Va(){return!this._isUTC}function Wa(){return this._isUTC}function Xa(){return this._isUTC&&0===this._offset}function Ya(a,b){var c,d,e,g=a,h=null;return Ia(a)?g={ms:a._milliseconds,d:a._days,M:a._months}:"number"==typeof a?(g={},b?g[b]=a:g.milliseconds=a):(h=yd.exec(a))?(c="-"===h[1]?-1:1,g={y:0,d:q(h[hd])*c,h:q(h[id])*c,m:q(h[jd])*c,s:q(h[kd])*c,ms:q(h[ld])*c}):(h=zd.exec(a))?(c="-"===h[1]?-1:1,g={y:Za(h[2],c),M:Za(h[3],c),d:Za(h[4],c),h:Za(h[5],c),m:Za(h[6],c),s:Za(h[7],c),w:Za(h[8],c)}):null==g?g={}:"object"==typeof g&&("from"in g||"to"in g)&&(e=_a(Da(g.from),Da(g.to)),g={},g.ms=e.milliseconds,g.M=e.months),d=new Ha(g),Ia(a)&&f(a,"_locale")&&(d._locale=a._locale),d}function Za(a,b){var c=a&&parseFloat(a.replace(",","."));return(isNaN(c)?0:c)*b}function $a(a,b){var c={milliseconds:0,months:0};return c.months=b.month()-a.month()+12*(b.year()-a.year()),a.clone().add(c.months,"M").isAfter(b)&&--c.months,c.milliseconds=+b-+a.clone().add(c.months,"M"),c}function _a(a,b){var c;return b=La(b,a),a.isBefore(b)?c=$a(a,b):(c=$a(b,a),c.milliseconds=-c.milliseconds,c.months=-c.months),c}function ab(a,b){return function(c,d){var e,f;return null===d||isNaN(+d)||(ba(b,"moment()."+b+"(period, number) is deprecated. Please use moment()."+b+"(number, period)."),f=c,c=d,d=f),c="string"==typeof c?+c:c,e=Ya(c,d),bb(this,e,a),this}}function bb(b,c,d,e){var f=c._milliseconds,g=c._days,h=c._months;e=null==e?!0:e,f&&b._d.setTime(+b._d+f*d),g&&E(b,"Date",D(b,"Date")+g*d),h&&X(b,D(b,"Month")+h*d),e&&a.updateOffset(b,g||h)}function cb(a,b){var c=a||Da(),d=La(c,this).startOf("day"),e=this.diff(d,"days",!0),f=-6>e?"sameElse":-1>e?"lastWeek":0>e?"lastDay":1>e?"sameDay":2>e?"nextDay":7>e?"nextWeek":"sameElse";return this.format(b&&b[f]||this.localeData().calendar(f,this,Da(c)))}function db(){return new n(this)}function eb(a,b){var c;return b=A("undefined"!=typeof b?b:"millisecond"),"millisecond"===b?(a=o(a)?a:Da(a),+this>+a):(c=o(a)?+a:+Da(a),c<+this.clone().startOf(b))}function fb(a,b){var c;return b=A("undefined"!=typeof b?b:"millisecond"),"millisecond"===b?(a=o(a)?a:Da(a),+a>+this):(c=o(a)?+a:+Da(a),+this.clone().endOf(b)b-f?(c=a.clone().add(e-1,"months"),d=(b-f)/(f-c)):(c=a.clone().add(e+1,"months"),d=(b-f)/(c-f)),-(e+d)}function kb(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function lb(){var a=this.clone().utc();return 0b;b++)if(this._weekdaysParse[b]||(c=Da([2e3,1]).day(b),d="^"+this.weekdays(c,"")+"|^"+this.weekdaysShort(c,"")+"|^"+this.weekdaysMin(c,""),this._weekdaysParse[b]=new RegExp(d.replace(".",""),"i")),this._weekdaysParse[b].test(a))return b}function Pb(a){var b=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=a?(a=Kb(a,this.localeData()), -this.add(a-b,"d")):b}function Qb(a){var b=(this.day()+7-this.localeData()._week.dow)%7;return null==a?b:this.add(a-b,"d")}function Rb(a){return null==a?this.day()||7:this.day(this.day()%7?a:a-7)}function Sb(a,b){H(a,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),b)})}function Tb(a,b){return b._meridiemParse}function Ub(a){return"p"===(a+"").toLowerCase().charAt(0)}function Vb(a,b,c){return a>11?c?"pm":"PM":c?"am":"AM"}function Wb(a,b){b[ld]=q(1e3*("0."+a))}function Xb(){return this._isUTC?"UTC":""}function Yb(){return this._isUTC?"Coordinated Universal Time":""}function Zb(a){return Da(1e3*a)}function $b(){return Da.apply(null,arguments).parseZone()}function _b(a,b,c){var d=this._calendar[a];return"function"==typeof d?d.call(b,c):d}function ac(a){var b=this._longDateFormat[a],c=this._longDateFormat[a.toUpperCase()];return b||!c?b:(this._longDateFormat[a]=c.replace(/MMMM|MM|DD|dddd/g,function(a){return a.slice(1)}),this._longDateFormat[a])}function bc(){return this._invalidDate}function cc(a){return this._ordinal.replace("%d",a)}function dc(a){return a}function ec(a,b,c,d){var e=this._relativeTime[c];return"function"==typeof e?e(a,b,c,d):e.replace(/%d/i,a)}function fc(a,b){var c=this._relativeTime[a>0?"future":"past"];return"function"==typeof c?c(b):c.replace(/%s/i,b)}function gc(a){var b,c;for(c in a)b=a[c],"function"==typeof b?this[c]=b:this["_"+c]=b;this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function hc(a,b,c,d){var e=y(),f=h().set(d,b);return e[c](f,a)}function ic(a,b,c,d,e){if("number"==typeof a&&(b=a,a=void 0),a=a||"",null!=b)return hc(a,b,c,e);var f,g=[];for(f=0;d>f;f++)g[f]=hc(a,f,c,e);return g}function jc(a,b){return ic(a,b,"months",12,"month")}function kc(a,b){return ic(a,b,"monthsShort",12,"month")}function lc(a,b){return ic(a,b,"weekdays",7,"day")}function mc(a,b){return ic(a,b,"weekdaysShort",7,"day")}function nc(a,b){return ic(a,b,"weekdaysMin",7,"day")}function oc(){var a=this._data;return this._milliseconds=Wd(this._milliseconds),this._days=Wd(this._days),this._months=Wd(this._months),a.milliseconds=Wd(a.milliseconds),a.seconds=Wd(a.seconds),a.minutes=Wd(a.minutes),a.hours=Wd(a.hours),a.months=Wd(a.months),a.years=Wd(a.years),this}function pc(a,b,c,d){var e=Ya(b,c);return a._milliseconds+=d*e._milliseconds,a._days+=d*e._days,a._months+=d*e._months,a._bubble()}function qc(a,b){return pc(this,a,b,1)}function rc(a,b){return pc(this,a,b,-1)}function sc(a){return 0>a?Math.floor(a):Math.ceil(a)}function tc(){var a,b,c,d,e,f=this._milliseconds,g=this._days,h=this._months,i=this._data;return f>=0&&g>=0&&h>=0||0>=f&&0>=g&&0>=h||(f+=864e5*sc(vc(h)+g),g=0,h=0),i.milliseconds=f%1e3,a=p(f/1e3),i.seconds=a%60,b=p(a/60),i.minutes=b%60,c=p(b/60),i.hours=c%24,g+=p(c/24),e=p(uc(g)),h+=e,g-=sc(vc(e)),d=p(h/12),h%=12,i.days=g,i.months=h,i.years=d,this}function uc(a){return 4800*a/146097}function vc(a){return 146097*a/4800}function wc(a){var b,c,d=this._milliseconds;if(a=A(a),"month"===a||"year"===a)return b=this._days+d/864e5,c=this._months+uc(b),"month"===a?c:c/12;switch(b=this._days+Math.round(vc(this._months)),a){case"week":return b/7+d/6048e5;case"day":return b+d/864e5;case"hour":return 24*b+d/36e5;case"minute":return 1440*b+d/6e4;case"second":return 86400*b+d/1e3;case"millisecond":return Math.floor(864e5*b)+d;default:throw new Error("Unknown unit "+a)}}function xc(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*q(this._months/12)}function yc(a){return function(){return this.as(a)}}function zc(a){return a=A(a),this[a+"s"]()}function Ac(a){return function(){return this._data[a]}}function Bc(){return p(this.days()/7)}function Cc(a,b,c,d,e){return e.relativeTime(b||1,!!c,a,d)}function Dc(a,b,c){var d=Ya(a).abs(),e=ke(d.as("s")),f=ke(d.as("m")),g=ke(d.as("h")),h=ke(d.as("d")),i=ke(d.as("M")),j=ke(d.as("y")),k=e0,k[4]=c,Cc.apply(null,k)}function Ec(a,b){return void 0===le[a]?!1:void 0===b?le[a]:(le[a]=b,!0)}function Fc(a){var b=this.localeData(),c=Dc(this,!a,b);return a&&(c=b.pastFuture(+this,c)),b.postformat(c)}function Gc(){var a,b,c,d=me(this._milliseconds)/1e3,e=me(this._days),f=me(this._months);a=p(d/60),b=p(a/60),d%=60,a%=60,c=p(f/12),f%=12;var g=c,h=f,i=e,j=b,k=a,l=d,m=this.asSeconds();return m?(0>m?"-":"")+"P"+(g?g+"Y":"")+(h?h+"M":"")+(i?i+"D":"")+(j||k||l?"T":"")+(j?j+"H":"")+(k?k+"M":"")+(l?l+"S":""):"P0D"}var Hc,Ic,Jc=a.momentProperties=[],Kc=!1,Lc={},Mc={},Nc=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Oc=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Pc={},Qc={},Rc=/\d/,Sc=/\d\d/,Tc=/\d{3}/,Uc=/\d{4}/,Vc=/[+-]?\d{6}/,Wc=/\d\d?/,Xc=/\d{1,3}/,Yc=/\d{1,4}/,Zc=/[+-]?\d{1,6}/,$c=/\d+/,_c=/[+-]?\d+/,ad=/Z|[+-]\d\d:?\d\d/gi,bd=/[+-]?\d+(\.\d{1,3})?/,cd=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,dd={},ed={},fd=0,gd=1,hd=2,id=3,jd=4,kd=5,ld=6;H("M",["MM",2],"Mo",function(){return this.month()+1}),H("MMM",0,0,function(a){return this.localeData().monthsShort(this,a)}),H("MMMM",0,0,function(a){return this.localeData().months(this,a)}),z("month","M"),N("M",Wc),N("MM",Wc,Sc),N("MMM",cd),N("MMMM",cd),Q(["M","MM"],function(a,b){b[gd]=q(a)-1}),Q(["MMM","MMMM"],function(a,b,c,d){var e=c._locale.monthsParse(a,d,c._strict);null!=e?b[gd]=e:j(c).invalidMonth=a});var md="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),nd="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),od={};a.suppressDeprecationWarnings=!1;var pd=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,qd=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],rd=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],sd=/^\/?Date\((\-?\d+)/i;a.createFromInputFallback=aa("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(a){a._d=new Date(a._i+(a._useUTC?" UTC":""))}),H(0,["YY",2],0,function(){return this.year()%100}),H(0,["YYYY",4],0,"year"),H(0,["YYYYY",5],0,"year"),H(0,["YYYYYY",6,!0],0,"year"),z("year","y"),N("Y",_c),N("YY",Wc,Sc),N("YYYY",Yc,Uc),N("YYYYY",Zc,Vc),N("YYYYYY",Zc,Vc),Q(["YYYYY","YYYYYY"],fd),Q("YYYY",function(b,c){c[fd]=2===b.length?a.parseTwoDigitYear(b):q(b)}),Q("YY",function(b,c){c[fd]=a.parseTwoDigitYear(b)}),a.parseTwoDigitYear=function(a){return q(a)+(q(a)>68?1900:2e3)};var td=C("FullYear",!1);H("w",["ww",2],"wo","week"),H("W",["WW",2],"Wo","isoWeek"),z("week","w"),z("isoWeek","W"),N("w",Wc),N("ww",Wc,Sc),N("W",Wc),N("WW",Wc,Sc),R(["w","ww","W","WW"],function(a,b,c,d){b[d.substr(0,1)]=q(a)});var ud={dow:0,doy:6};H("DDD",["DDDD",3],"DDDo","dayOfYear"),z("dayOfYear","DDD"),N("DDD",Xc),N("DDDD",Tc),Q(["DDD","DDDD"],function(a,b,c){c._dayOfYear=q(a)}),a.ISO_8601=function(){};var vd=aa("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var a=Da.apply(null,arguments);return this>a?this:a}),wd=aa("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var a=Da.apply(null,arguments);return a>this?this:a});Ja("Z",":"),Ja("ZZ",""),N("Z",ad),N("ZZ",ad),Q(["Z","ZZ"],function(a,b,c){c._useUTC=!0,c._tzm=Ka(a)});var xd=/([\+\-]|\d\d)/gi;a.updateOffset=function(){};var yd=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,zd=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/;Ya.fn=Ha.prototype;var Ad=ab(1,"add"),Bd=ab(-1,"subtract");a.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";var Cd=aa("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(a){return void 0===a?this.localeData():this.locale(a)});H(0,["gg",2],0,function(){return this.weekYear()%100}),H(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Db("gggg","weekYear"),Db("ggggg","weekYear"),Db("GGGG","isoWeekYear"),Db("GGGGG","isoWeekYear"),z("weekYear","gg"),z("isoWeekYear","GG"),N("G",_c),N("g",_c),N("GG",Wc,Sc),N("gg",Wc,Sc),N("GGGG",Yc,Uc),N("gggg",Yc,Uc),N("GGGGG",Zc,Vc),N("ggggg",Zc,Vc),R(["gggg","ggggg","GGGG","GGGGG"],function(a,b,c,d){b[d.substr(0,2)]=q(a)}),R(["gg","GG"],function(b,c,d,e){c[e]=a.parseTwoDigitYear(b)}),H("Q",0,0,"quarter"),z("quarter","Q"),N("Q",Rc),Q("Q",function(a,b){b[gd]=3*(q(a)-1)}),H("D",["DD",2],"Do","date"),z("date","D"),N("D",Wc),N("DD",Wc,Sc),N("Do",function(a,b){return a?b._ordinalParse:b._ordinalParseLenient}),Q(["D","DD"],hd),Q("Do",function(a,b){b[hd]=q(a.match(Wc)[0],10)});var Dd=C("Date",!0);H("d",0,"do","day"),H("dd",0,0,function(a){return this.localeData().weekdaysMin(this,a)}),H("ddd",0,0,function(a){return this.localeData().weekdaysShort(this,a)}),H("dddd",0,0,function(a){return this.localeData().weekdays(this,a)}),H("e",0,0,"weekday"),H("E",0,0,"isoWeekday"),z("day","d"),z("weekday","e"),z("isoWeekday","E"),N("d",Wc),N("e",Wc),N("E",Wc),N("dd",cd),N("ddd",cd),N("dddd",cd),R(["dd","ddd","dddd"],function(a,b,c){var d=c._locale.weekdaysParse(a);null!=d?b.d=d:j(c).invalidWeekday=a}),R(["d","e","E"],function(a,b,c,d){b[d]=q(a)});var Ed="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Fd="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Gd="Su_Mo_Tu_We_Th_Fr_Sa".split("_");H("H",["HH",2],0,"hour"),H("h",["hh",2],0,function(){return this.hours()%12||12}),Sb("a",!0),Sb("A",!1),z("hour","h"),N("a",Tb),N("A",Tb),N("H",Wc),N("h",Wc),N("HH",Wc,Sc),N("hh",Wc,Sc),Q(["H","HH"],id),Q(["a","A"],function(a,b,c){c._isPm=c._locale.isPM(a),c._meridiem=a}),Q(["h","hh"],function(a,b,c){b[id]=q(a),j(c).bigHour=!0});var Hd=/[ap]\.?m?\.?/i,Id=C("Hours",!0);H("m",["mm",2],0,"minute"),z("minute","m"),N("m",Wc),N("mm",Wc,Sc),Q(["m","mm"],jd);var Jd=C("Minutes",!1);H("s",["ss",2],0,"second"),z("second","s"),N("s",Wc),N("ss",Wc,Sc),Q(["s","ss"],kd);var Kd=C("Seconds",!1);H("S",0,0,function(){return~~(this.millisecond()/100)}),H(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),H(0,["SSS",3],0,"millisecond"),H(0,["SSSS",4],0,function(){return 10*this.millisecond()}),H(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),H(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),H(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),H(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),H(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),z("millisecond","ms"),N("S",Xc,Rc),N("SS",Xc,Sc),N("SSS",Xc,Tc);var Ld;for(Ld="SSSS";Ld.length<=9;Ld+="S")N(Ld,$c);for(Ld="S";Ld.length<=9;Ld+="S")Q(Ld,Wb);var Md=C("Milliseconds",!1);H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var Nd=n.prototype;Nd.add=Ad,Nd.calendar=cb,Nd.clone=db,Nd.diff=ib,Nd.endOf=ub,Nd.format=mb,Nd.from=nb,Nd.fromNow=ob,Nd.to=pb,Nd.toNow=qb,Nd.get=F,Nd.invalidAt=Cb,Nd.isAfter=eb,Nd.isBefore=fb,Nd.isBetween=gb,Nd.isSame=hb,Nd.isValid=Ab,Nd.lang=Cd,Nd.locale=rb,Nd.localeData=sb,Nd.max=wd,Nd.min=vd,Nd.parsingFlags=Bb,Nd.set=F,Nd.startOf=tb,Nd.subtract=Bd,Nd.toArray=yb,Nd.toObject=zb,Nd.toDate=xb,Nd.toISOString=lb,Nd.toJSON=lb,Nd.toString=kb,Nd.unix=wb,Nd.valueOf=vb,Nd.year=td,Nd.isLeapYear=ia,Nd.weekYear=Fb,Nd.isoWeekYear=Gb,Nd.quarter=Nd.quarters=Jb,Nd.month=Y,Nd.daysInMonth=Z,Nd.week=Nd.weeks=na,Nd.isoWeek=Nd.isoWeeks=oa,Nd.weeksInYear=Ib,Nd.isoWeeksInYear=Hb,Nd.date=Dd,Nd.day=Nd.days=Pb,Nd.weekday=Qb,Nd.isoWeekday=Rb,Nd.dayOfYear=qa,Nd.hour=Nd.hours=Id,Nd.minute=Nd.minutes=Jd,Nd.second=Nd.seconds=Kd,Nd.millisecond=Nd.milliseconds=Md,Nd.utcOffset=Na,Nd.utc=Pa,Nd.local=Qa,Nd.parseZone=Ra,Nd.hasAlignedHourOffset=Sa,Nd.isDST=Ta,Nd.isDSTShifted=Ua,Nd.isLocal=Va,Nd.isUtcOffset=Wa,Nd.isUtc=Xa,Nd.isUTC=Xa,Nd.zoneAbbr=Xb,Nd.zoneName=Yb,Nd.dates=aa("dates accessor is deprecated. Use date instead.",Dd),Nd.months=aa("months accessor is deprecated. Use month instead",Y),Nd.years=aa("years accessor is deprecated. Use year instead",td),Nd.zone=aa("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",Oa);var Od=Nd,Pd={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Qd={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Rd="Invalid date",Sd="%d",Td=/\d{1,2}/,Ud={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Vd=s.prototype;Vd._calendar=Pd,Vd.calendar=_b,Vd._longDateFormat=Qd,Vd.longDateFormat=ac,Vd._invalidDate=Rd,Vd.invalidDate=bc,Vd._ordinal=Sd,Vd.ordinal=cc,Vd._ordinalParse=Td,Vd.preparse=dc,Vd.postformat=dc,Vd._relativeTime=Ud,Vd.relativeTime=ec,Vd.pastFuture=fc,Vd.set=gc,Vd.months=U,Vd._months=md,Vd.monthsShort=V,Vd._monthsShort=nd,Vd.monthsParse=W,Vd.week=ka,Vd._week=ud,Vd.firstDayOfYear=ma,Vd.firstDayOfWeek=la,Vd.weekdays=Lb,Vd._weekdays=Ed,Vd.weekdaysMin=Nb,Vd._weekdaysMin=Gd,Vd.weekdaysShort=Mb,Vd._weekdaysShort=Fd,Vd.weekdaysParse=Ob,Vd.isPM=Ub,Vd._meridiemParse=Hd,Vd.meridiem=Vb,w("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(a){var b=a%10,c=1===q(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c}}),a.lang=aa("moment.lang is deprecated. Use moment.locale instead.",w),a.langData=aa("moment.langData is deprecated. Use moment.localeData instead.",y);var Wd=Math.abs,Xd=yc("ms"),Yd=yc("s"),Zd=yc("m"),$d=yc("h"),_d=yc("d"),ae=yc("w"),be=yc("M"),ce=yc("y"),de=Ac("milliseconds"),ee=Ac("seconds"),fe=Ac("minutes"),ge=Ac("hours"),he=Ac("days"),ie=Ac("months"),je=Ac("years"),ke=Math.round,le={s:45,m:45,h:22,d:26,M:11},me=Math.abs,ne=Ha.prototype;ne.abs=oc,ne.add=qc,ne.subtract=rc,ne.as=wc,ne.asMilliseconds=Xd,ne.asSeconds=Yd,ne.asMinutes=Zd,ne.asHours=$d,ne.asDays=_d,ne.asWeeks=ae,ne.asMonths=be,ne.asYears=ce,ne.valueOf=xc,ne._bubble=tc,ne.get=zc,ne.milliseconds=de,ne.seconds=ee,ne.minutes=fe,ne.hours=ge,ne.days=he,ne.weeks=Bc,ne.months=ie,ne.years=je,ne.humanize=Fc,ne.toISOString=Gc,ne.toString=Gc,ne.toJSON=Gc,ne.locale=rb,ne.localeData=sb,ne.toIsoString=aa("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Gc),ne.lang=Cd,H("X",0,0,"unix"),H("x",0,0,"valueOf"),N("x",_c),N("X",bd),Q("X",function(a,b,c){c._d=new Date(1e3*parseFloat(a,10))}),Q("x",function(a,b,c){c._d=new Date(q(a))}),a.version="2.10.6",b(Da),a.fn=Od,a.min=Fa,a.max=Ga,a.utc=h,a.unix=Zb,a.months=jc,a.isDate=d,a.locale=w,a.invalid=l,a.duration=Ya,a.isMoment=o,a.weekdays=lc,a.parseZone=$b,a.localeData=y,a.isDuration=Ia,a.monthsShort=kc,a.weekdaysMin=nc,a.defineLocale=x,a.weekdaysShort=mc,a.normalizeUnits=A,a.relativeTimeThreshold=Ec;var oe=a;return oe}),!function(a){angular.module("ngCsv.config",[]).value("ngCsv.config",{debug:!0}).config(["$compileProvider",function(a){angular.isDefined(a.urlSanitizationWhitelist)?a.urlSanitizationWhitelist(/^\s*(https?|ftp|mailto|file|data):/):a.aHrefSanitizationWhitelist(/^\s*(https?|ftp|mailto|file|data):/)}]),angular.module("ngCsv.directives",["ngCsv.services"]),angular.module("ngCsv.services",[]),angular.module("ngCsv",["ngCsv.config","ngCsv.services","ngCsv.directives","ngSanitize"]),"undefined"!=typeof module&&"undefined"!=typeof exports&&module.exports===exports&&(module.exports="ngCsv"),angular.module("ngCsv.services").service("CSV",["$q",function(a){var b="\r\n",c="\ufeff",d={"\\t":" ","\\b":"\b","\\v":"\x0B","\\f":"\f","\\r":"\r"};this.stringifyField=function(a,b){return"locale"===b.decimalSep&&this.isFloat(a)?a.toLocaleString():"."!==b.decimalSep&&this.isFloat(a)?a.toString().replace(".",b.decimalSep):"string"==typeof a?(a=a.replace(/"/g,'""'),(b.quoteStrings||a.indexOf(",")>-1||a.indexOf("\n")>-1||a.indexOf("\r")>-1)&&(a=b.txtDelim+a+b.txtDelim),a):"boolean"==typeof a?a?"TRUE":"FALSE":a},this.isFloat=function(a){return+a===a&&(!isFinite(a)||Boolean(a%1))},this.stringify=function(d,e){var f=a.defer(),g=this,h="",i="",j=a.when(d).then(function(a){if(angular.isDefined(e.header)&&e.header){var d,j;d=[],angular.forEach(e.header,function(a){this.push(g.stringifyField(a,e))},d),j=d.join(e.fieldSep?e.fieldSep:","),i+=j+b}var k=[];if(angular.isArray(a)?k=a:angular.isFunction(a)&&(k=a()),angular.isDefined(e.label)&&e.label&&"boolean"==typeof e.label){var l,m;l=[],angular.forEach(k[0],function(a,b){this.push(g.stringifyField(b,e))},l),m=l.join(e.fieldSep?e.fieldSep:","),i+=m+b}angular.forEach(k,function(a,c){var d,f,h=angular.copy(k[c]);f=[];var j=e.columnOrder?e.columnOrder:h;angular.forEach(j,function(a){var b=e.columnOrder?h[a]:a;this.push(g.stringifyField(b,e))},f),d=f.join(e.fieldSep?e.fieldSep:","),i+=c
    '),h=angular.element(g.children()[0]);h.attr("href",a.URL.createObjectURL(d)),h.attr("download",b.getFilename()),h.attr("target","_blank"),e.find("body").append(g),f(function(){h[0].click(),h.remove()},null)}}c.bind("click",function(){b.buildCSV().then(function(){d()}),b.$apply()})}}}])}(window,document),function(angular){"use strict";if(!angular)throw"Missing something? Please add angular.js to your project or move this script below the angular.js reference";var directiveId="ngRemoteValidate",remoteValidate=function($http,$timeout,$q){return{restrict:"A",require:["^form","ngModel"],scope:{ngRemoteInterceptors:"=?"},link:function(scope,el,attrs,ctrls){var cache={},handleChange,setValidation,addToCache,request,shouldProcess,ngForm=ctrls[0],ngModel=ctrls[1],options={ngRemoteThrottle:400,ngRemoteMethod:"POST"};angular.extend(options,attrs),"["===options.ngRemoteValidate.charAt(0)?options.urls=eval(options.ngRemoteValidate):"{"===options.ngRemoteValidate.charAt(0)?(options.keys=eval("("+options.ngRemoteValidate+")"),options.urls=Object.keys(options.keys)):options.urls=[options.ngRemoteValidate],addToCache=function(a){var b=a[0].data.value;return cache[b]?cache[b]:void(cache[b]=a)},shouldProcess=function(a){var b=!1;for(var c in ngModel.$error){var d=!options.hasOwnProperty("keys")||!Object.keys(options.keys).filter(function(a){return options.keys[a]===c})[0];if(ngModel.$error[c]&&c!=directiveId&&d){b=!0;break}}return!(ngModel.$pristine||b)},setValidation=function(a,b){for(var c=0,d=a.length,e=options.hasOwnProperty("keys"),f=!0;d>c&&(scope.ngRemoteInterceptors&&scope.ngRemoteInterceptors.response&&(a[c]=scope.ngRemoteInterceptors.response(a[c])),a[c].data.isValid||(f=!1,e));c++){var g=e&&a[c].hasOwnProperty("config")&&options.keys[a[c].config.url];if(g){var h=options.keys[a[c].config.url];ngModel.$setValidity(h,a[c].data.isValid)}}b||addToCache(a),ngModel.$setValidity(directiveId,f),ngModel.$processing=ngModel.$pending=ngForm.$pending=!1},handleChange=function(a){return"undefined"==typeof a||""===a?void ngModel.$setPristine():shouldProcess(a)?cache[a]?setValidation(cache[a],!0):(ngModel.$pending||(ngModel.$processing=ngModel.$pending=ngForm.$pending=!0),request&&$timeout.cancel(request),request=$timeout(function(){var b=[],c=0,d=options.urls.length,e={value:a},f={method:options.ngRemoteMethod};for(scope[el[0].name+"SetArgs"]&&(e=scope[el[0].name+"SetArgs"](a,el,attrs,ngModel)),"POST"==options.ngRemoteMethod?f.data=e:f.params=e;d>c;c++)f.url=options.urls[c],scope.ngRemoteInterceptors&&scope.ngRemoteInterceptors.request&&(f=scope.ngRemoteInterceptors.request(f)),b.push($http(f));$q.all(b).then(setValidation)},options.ngRemoteThrottle),!0):setValidation([{data:{isValid:!0,value:a}}],!0)},scope.$watch(function(){return ngModel.$viewValue},handleChange)}}};angular.module("remoteValidation",[]).constant("MODULE_VERSION","0.6.1").directive(directiveId,["$http","$timeout","$q",remoteValidate])}(this.angular),function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof exports?module.exports=a:a(jQuery)}(function(a){function b(b){var g=b||window.event,h=i.call(arguments,1),j=0,l=0,m=0,n=0,o=0,p=0;if(b=a.event.fix(g),b.type="mousewheel","detail"in g&&(m=-1*g.detail),"wheelDelta"in g&&(m=g.wheelDelta),"wheelDeltaY"in g&&(m=g.wheelDeltaY),"wheelDeltaX"in g&&(l=-1*g.wheelDeltaX),"axis"in g&&g.axis===g.HORIZONTAL_AXIS&&(l=-1*m,m=0),j=0===m?l:m,"deltaY"in g&&(m=-1*g.deltaY,j=m),"deltaX"in g&&(l=g.deltaX,0===m&&(j=-1*l)),0!==m||0!==l){if(1===g.deltaMode){var q=a.data(this,"mousewheel-line-height");j*=q,m*=q,l*=q}else if(2===g.deltaMode){var r=a.data(this,"mousewheel-page-height");j*=r,m*=r,l*=r}if(n=Math.max(Math.abs(m),Math.abs(l)),(!f||f>n)&&(f=n,d(g,n)&&(f/=40)),d(g,n)&&(j/=40,l/=40,m/=40),j=Math[j>=1?"floor":"ceil"](j/f),l=Math[l>=1?"floor":"ceil"](l/f),m=Math[m>=1?"floor":"ceil"](m/f),k.settings.normalizeOffset&&this.getBoundingClientRect){var s=this.getBoundingClientRect();o=b.clientX-s.left,p=b.clientY-s.top}return b.deltaX=l,b.deltaY=m,b.deltaFactor=f,b.offsetX=o,b.offsetY=p,b.deltaMode=0,h.unshift(b,j,l,m),e&&clearTimeout(e),e=setTimeout(c,200),(a.event.dispatch||a.event.handle).apply(this,h)}}function c(){f=null}function d(a,b){return k.settings.adjustOldDeltas&&"mousewheel"===a.type&&b%120===0}var e,f,g=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],h="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],i=Array.prototype.slice;if(a.event.fixHooks)for(var j=g.length;j;)a.event.fixHooks[g[--j]]=a.event.mouseHooks;var k=a.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var c=h.length;c;)this.addEventListener(h[--c],b,!1);else this.onmousewheel=b;a.data(this,"mousewheel-line-height",k.getLineHeight(this)),a.data(this,"mousewheel-page-height",k.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var c=h.length;c;)this.removeEventListener(h[--c],b,!1);else this.onmousewheel=null;a.removeData(this,"mousewheel-line-height"),a.removeData(this,"mousewheel-page-height")},getLineHeight:function(b){var c=a(b),d=c["offsetParent"in a.fn?"offsetParent":"parent"]();return d.length||(d=a("body")),parseInt(d.css("fontSize"),10)||parseInt(c.css("fontSize"),10)||16},getPageHeight:function(b){return a(b).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};a.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})}),function(a){"undefined"!=typeof module&&module.exports?module.exports=a:a(jQuery,window,document)}(function(a){!function(b){var c="function"==typeof define&&define.amd,d="undefined"!=typeof module&&module.exports,e="https:"==document.location.protocol?"https:":"http:",f="cdnjs.cloudflare.com/ajax/libs/jquery-mousewheel/3.1.13/jquery.mousewheel.min.js";c||(d?require("jquery-mousewheel")(a):a.event.special.mousewheel||a("head").append(decodeURI("%3Cscript src="+e+"//"+f+"%3E%3C/script%3E"))),b()}(function(){var b,c="mCustomScrollbar",d="mCS",e=".mCustomScrollbar",f={setTop:0,setLeft:0,axis:"y",scrollbarPosition:"inside",scrollInertia:950,autoDraggerLength:!0,alwaysShowScrollbar:0,snapOffset:0,mouseWheel:{enable:!0,scrollAmount:"auto",axis:"y",deltaFactor:"auto",disableOver:["select","option","keygen","datalist","textarea"]},scrollButtons:{scrollType:"stepless",scrollAmount:"auto"},keyboard:{enable:!0,scrollType:"stepless",scrollAmount:"auto"},contentTouchScroll:25,documentTouchScroll:!0,advanced:{autoScrollOnFocus:"input,textarea,select,button,datalist,keygen,a[tabindex],area,object,[contenteditable='true']",updateOnContentResize:!0,updateOnImageLoad:"auto",autoUpdateTimeout:60},theme:"light",callbacks:{onTotalScrollOffset:0,onTotalScrollBackOffset:0,alwaysTriggerOffsets:!0}},g=0,h={},i=window.attachEvent&&!window.addEventListener?1:0,j=!1,k=["mCSB_dragger_onDrag","mCSB_scrollTools_onDrag","mCS_img_loaded","mCS_disabled","mCS_destroyed","mCS_no_scrollbar","mCS-autoHide","mCS-dir-rtl","mCS_no_scrollbar_y","mCS_no_scrollbar_x","mCS_y_hidden","mCS_x_hidden","mCSB_draggerContainer","mCSB_buttonUp","mCSB_buttonDown","mCSB_buttonLeft","mCSB_buttonRight"],l={init:function(b){var b=a.extend(!0,{},f,b),c=m.call(this);if(b.live){var i=b.liveSelector||this.selector||e,j=a(i);if("off"===b.live)return void o(i);h[i]=setTimeout(function(){j.mCustomScrollbar(b),"once"===b.live&&j.length&&o(i)},500)}else o(i);return b.setWidth=b.set_width?b.set_width:b.setWidth,b.setHeight=b.set_height?b.set_height:b.setHeight,b.axis=b.horizontalScroll?"x":p(b.axis),b.scrollInertia=b.scrollInertia>0&&b.scrollInertia<17?17:b.scrollInertia,"object"!=typeof b.mouseWheel&&1==b.mouseWheel&&(b.mouseWheel={enable:!0,scrollAmount:"auto",axis:"y",preventDefault:!1,deltaFactor:"auto",normalizeDelta:!1,invert:!1}),b.mouseWheel.scrollAmount=b.mouseWheelPixels?b.mouseWheelPixels:b.mouseWheel.scrollAmount,b.mouseWheel.normalizeDelta=b.advanced.normalizeMouseWheelDelta?b.advanced.normalizeMouseWheelDelta:b.mouseWheel.normalizeDelta,b.scrollButtons.scrollType=q(b.scrollButtons.scrollType),n(b),a(c).each(function(){var c=a(this);if(!c.data(d)){c.data(d,{idx:++g,opt:b,scrollRatio:{y:null,x:null},overflowed:null,contentReset:{y:null,x:null},bindEvents:!1,tweenRunning:!1,sequential:{},langDir:c.css("direction"),cbOffsets:null,trigger:null,poll:{size:{o:0,n:0},img:{o:0,n:0},change:{o:0,n:0}}});var e=c.data(d),f=e.opt,h=c.data("mcs-axis"),i=c.data("mcs-scrollbar-position"),j=c.data("mcs-theme");h&&(f.axis=h),i&&(f.scrollbarPosition=i),j&&(f.theme=j,n(f)),r.call(this),e&&f.callbacks.onCreate&&"function"==typeof f.callbacks.onCreate&&f.callbacks.onCreate.call(this),a("#mCSB_"+e.idx+"_container img:not(."+k[2]+")").addClass(k[2]),l.update.call(null,c)}})},update:function(b,c){var e=b||m.call(this);return a(e).each(function(){var b=a(this);if(b.data(d)){var e=b.data(d),f=e.opt,g=a("#mCSB_"+e.idx+"_container"),h=a("#mCSB_"+e.idx),i=[a("#mCSB_"+e.idx+"_dragger_vertical"),a("#mCSB_"+e.idx+"_dragger_horizontal")];if(!g.length)return;e.tweenRunning&&U(b),c&&e&&f.callbacks.onBeforeUpdate&&"function"==typeof f.callbacks.onBeforeUpdate&&f.callbacks.onBeforeUpdate.call(this),b.hasClass(k[3])&&b.removeClass(k[3]),b.hasClass(k[4])&&b.removeClass(k[4]),h.css("max-height","none"),h.height()!==b.height()&&h.css("max-height",b.height()),t.call(this),"y"===f.axis||f.advanced.autoExpandHorizontalScroll||g.css("width",s(g)),e.overflowed=y.call(this),C.call(this),f.autoDraggerLength&&v.call(this),w.call(this),A.call(this);var j=[Math.abs(g[0].offsetTop),Math.abs(g[0].offsetLeft)];"x"!==f.axis&&(e.overflowed[0]?i[0].height()>i[0].parent().height()?z.call(this):(V(b,j[0].toString(),{dir:"y",dur:0,overwrite:"none"}),e.contentReset.y=null):(z.call(this),"y"===f.axis?B.call(this):"yx"===f.axis&&e.overflowed[1]&&V(b,j[1].toString(),{dir:"x",dur:0,overwrite:"none"}))),"y"!==f.axis&&(e.overflowed[1]?i[1].width()>i[1].parent().width()?z.call(this):(V(b,j[1].toString(),{dir:"x",dur:0,overwrite:"none"}),e.contentReset.x=null):(z.call(this),"x"===f.axis?B.call(this):"yx"===f.axis&&e.overflowed[0]&&V(b,j[0].toString(),{dir:"y",dur:0,overwrite:"none"}))),c&&e&&(2===c&&f.callbacks.onImageLoad&&"function"==typeof f.callbacks.onImageLoad?f.callbacks.onImageLoad.call(this):3===c&&f.callbacks.onSelectorChange&&"function"==typeof f.callbacks.onSelectorChange?f.callbacks.onSelectorChange.call(this):f.callbacks.onUpdate&&"function"==typeof f.callbacks.onUpdate&&f.callbacks.onUpdate.call(this)),S.call(this)}})},scrollTo:function(b,c){if("undefined"!=typeof b&&null!=b){var e=m.call(this);return a(e).each(function(){var e=a(this);if(e.data(d)){var f=e.data(d),g=f.opt,h={trigger:"external",scrollInertia:g.scrollInertia,scrollEasing:"mcsEaseInOut",moveDragger:!1,timeout:60,callbacks:!0,onStart:!0,onUpdate:!0,onComplete:!0},i=a.extend(!0,{},h,c),j=Q.call(this,b),k=i.scrollInertia>0&&i.scrollInertia<17?17:i.scrollInertia;j[0]=R.call(this,j[0],"y"),j[1]=R.call(this,j[1],"x"),i.moveDragger&&(j[0]*=f.scrollRatio.y,j[1]*=f.scrollRatio.x),i.dur=ca()?0:k,setTimeout(function(){null!==j[0]&&"undefined"!=typeof j[0]&&"x"!==g.axis&&f.overflowed[0]&&(i.dir="y",i.overwrite="all",V(e,j[0].toString(),i)),null!==j[1]&&"undefined"!=typeof j[1]&&"y"!==g.axis&&f.overflowed[1]&&(i.dir="x",i.overwrite="none",V(e,j[1].toString(),i))},i.timeout)}})}},stop:function(){var b=m.call(this);return a(b).each(function(){var b=a(this);b.data(d)&&U(b)})},disable:function(b){var c=m.call(this);return a(c).each(function(){var c=a(this);if(c.data(d)){c.data(d);S.call(this,"remove"),B.call(this),b&&z.call(this),C.call(this,!0),c.addClass(k[3])}})},destroy:function(){var b=m.call(this);return a(b).each(function(){var e=a(this);if(e.data(d)){var f=e.data(d),g=f.opt,h=a("#mCSB_"+f.idx),i=a("#mCSB_"+f.idx+"_container"),j=a(".mCSB_"+f.idx+"_scrollbar");g.live&&o(g.liveSelector||a(b).selector),S.call(this,"remove"),B.call(this),z.call(this),e.removeData(d),Z(this,"mcs"),j.remove(),i.find("img."+k[2]).removeClass(k[2]),h.replaceWith(i.contents()),e.removeClass(c+" _"+d+"_"+f.idx+" "+k[6]+" "+k[7]+" "+k[5]+" "+k[3]).addClass(k[4])}})}},m=function(){return"object"!=typeof a(this)||a(this).length<1?e:this},n=function(b){var c=["rounded","rounded-dark","rounded-dots","rounded-dots-dark"],d=["rounded-dots","rounded-dots-dark","3d","3d-dark","3d-thick","3d-thick-dark","inset","inset-dark","inset-2","inset-2-dark","inset-3","inset-3-dark"],e=["minimal","minimal-dark"],f=["minimal","minimal-dark"],g=["minimal","minimal-dark"];b.autoDraggerLength=a.inArray(b.theme,c)>-1?!1:b.autoDraggerLength,b.autoExpandScrollbar=a.inArray(b.theme,d)>-1?!1:b.autoExpandScrollbar,b.scrollButtons.enable=a.inArray(b.theme,e)>-1?!1:b.scrollButtons.enable, -b.autoHideScrollbar=a.inArray(b.theme,f)>-1?!0:b.autoHideScrollbar,b.scrollbarPosition=a.inArray(b.theme,g)>-1?"outside":b.scrollbarPosition},o=function(a){h[a]&&(clearTimeout(h[a]),Z(h,a))},p=function(a){return"yx"===a||"xy"===a||"auto"===a?"yx":"x"===a||"horizontal"===a?"x":"y"},q=function(a){return"stepped"===a||"pixels"===a||"step"===a||"click"===a?"stepped":"stepless"},r=function(){var b=a(this),e=b.data(d),f=e.opt,g=f.autoExpandScrollbar?" "+k[1]+"_expand":"",h=["
    ","
    "],i="yx"===f.axis?"mCSB_vertical_horizontal":"x"===f.axis?"mCSB_horizontal":"mCSB_vertical",j="yx"===f.axis?h[0]+h[1]:"x"===f.axis?h[1]:h[0],l="yx"===f.axis?"
    ":"",m=f.autoHideScrollbar?" "+k[6]:"",n="x"!==f.axis&&"rtl"===e.langDir?" "+k[7]:"";f.setWidth&&b.css("width",f.setWidth),f.setHeight&&b.css("height",f.setHeight),f.setLeft="y"!==f.axis&&"rtl"===e.langDir?"989999px":f.setLeft,b.addClass(c+" _"+d+"_"+e.idx+m+n).wrapInner("
    ");var o=a("#mCSB_"+e.idx),p=a("#mCSB_"+e.idx+"_container");"y"===f.axis||f.advanced.autoExpandHorizontalScroll||p.css("width",s(p)),"outside"===f.scrollbarPosition?("static"===b.css("position")&&b.css("position","relative"),b.css("overflow","visible"),o.addClass("mCSB_outside").after(j)):(o.addClass("mCSB_inside").append(j),p.wrap(l)),u.call(this);var q=[a("#mCSB_"+e.idx+"_dragger_vertical"),a("#mCSB_"+e.idx+"_dragger_horizontal")];q[0].css("min-height",q[0].height()),q[1].css("min-width",q[1].width())},s=function(b){var c=[b[0].scrollWidth,Math.max.apply(Math,b.children().map(function(){return a(this).outerWidth(!0)}).get())],d=b.parent().width();return c[0]>d?c[0]:c[1]>d?c[1]:"100%"},t=function(){var b=a(this),c=b.data(d),e=c.opt,f=a("#mCSB_"+c.idx+"_container");if(e.advanced.autoExpandHorizontalScroll&&"y"!==e.axis){f.css({width:"auto","min-width":0,"overflow-x":"scroll"});var g=Math.ceil(f[0].scrollWidth);3===e.advanced.autoExpandHorizontalScroll||2!==e.advanced.autoExpandHorizontalScroll&&g>f.parent().width()?f.css({width:g,"min-width":"100%","overflow-x":"inherit"}):f.css({"overflow-x":"inherit",position:"absolute"}).wrap("
    ").css({width:Math.ceil(f[0].getBoundingClientRect().right+.4)-Math.floor(f[0].getBoundingClientRect().left),"min-width":"100%",position:"relative"}).unwrap()}},u=function(){var b=a(this),c=b.data(d),e=c.opt,f=a(".mCSB_"+c.idx+"_scrollbar:first"),g=aa(e.scrollButtons.tabindex)?"tabindex='"+e.scrollButtons.tabindex+"'":"",h=["","","",""],i=["x"===e.axis?h[2]:h[0],"x"===e.axis?h[3]:h[1],h[2],h[3]];e.scrollButtons.enable&&f.prepend(i[0]).append(i[1]).next(".mCSB_scrollTools").prepend(i[2]).append(i[3])},v=function(){var b=a(this),c=b.data(d),e=a("#mCSB_"+c.idx),f=a("#mCSB_"+c.idx+"_container"),g=[a("#mCSB_"+c.idx+"_dragger_vertical"),a("#mCSB_"+c.idx+"_dragger_horizontal")],h=[e.height()/f.outerHeight(!1),e.width()/f.outerWidth(!1)],j=[parseInt(g[0].css("min-height")),Math.round(h[0]*g[0].parent().height()),parseInt(g[1].css("min-width")),Math.round(h[1]*g[1].parent().width())],k=i&&j[1]g&&(g=i),j>h&&(h=j),[g>e.height(),h>e.width()]},z=function(){var b=a(this),c=b.data(d),e=c.opt,f=a("#mCSB_"+c.idx),g=a("#mCSB_"+c.idx+"_container"),h=[a("#mCSB_"+c.idx+"_dragger_vertical"),a("#mCSB_"+c.idx+"_dragger_horizontal")];if(U(b),("x"!==e.axis&&!c.overflowed[0]||"y"===e.axis&&c.overflowed[0])&&(h[0].add(g).css("top",0),V(b,"_resetY")),"y"!==e.axis&&!c.overflowed[1]||"x"===e.axis&&c.overflowed[1]){var i=dx=0;"rtl"===c.langDir&&(i=f.width()-g.outerWidth(!1),dx=Math.abs(i/c.scrollRatio.x)),g.css("left",i),h[1].css("left",dx),V(b,"_resetX")}},A=function(){function b(){g=setTimeout(function(){a.event.special.mousewheel?(clearTimeout(g),H.call(c[0])):b()},100)}var c=a(this),e=c.data(d),f=e.opt;if(!e.bindEvents){if(E.call(this),f.contentTouchScroll&&F.call(this),G.call(this),f.mouseWheel.enable){var g;b()}K.call(this),M.call(this),f.advanced.autoScrollOnFocus&&L.call(this),f.scrollButtons.enable&&N.call(this),f.keyboard.enable&&O.call(this),e.bindEvents=!0}},B=function(){var b=a(this),c=b.data(d),e=c.opt,f=d+"_"+c.idx,g=".mCSB_"+c.idx+"_scrollbar",h=a("#mCSB_"+c.idx+",#mCSB_"+c.idx+"_container,#mCSB_"+c.idx+"_container_wrapper,"+g+" ."+k[12]+",#mCSB_"+c.idx+"_dragger_vertical,#mCSB_"+c.idx+"_dragger_horizontal,"+g+">a"),i=a("#mCSB_"+c.idx+"_container");e.advanced.releaseDraggableSelectors&&h.add(a(e.advanced.releaseDraggableSelectors)),e.advanced.extraDraggableSelectors&&h.add(a(e.advanced.extraDraggableSelectors)),c.bindEvents&&(a(document).add(a(!I()||top.document)).unbind("."+f),h.each(function(){a(this).unbind("."+f)}),clearTimeout(b[0]._focusTimeout),Z(b[0],"_focusTimeout"),clearTimeout(c.sequential.step),Z(c.sequential,"step"),clearTimeout(i[0].onCompleteTimeout),Z(i[0],"onCompleteTimeout"),c.bindEvents=!1)},C=function(b){var c=a(this),e=c.data(d),f=e.opt,g=a("#mCSB_"+e.idx+"_container_wrapper"),h=g.length?g:a("#mCSB_"+e.idx+"_container"),i=[a("#mCSB_"+e.idx+"_scrollbar_vertical"),a("#mCSB_"+e.idx+"_scrollbar_horizontal")],j=[i[0].find(".mCSB_dragger"),i[1].find(".mCSB_dragger")];"x"!==f.axis&&(e.overflowed[0]&&!b?(i[0].add(j[0]).add(i[0].children("a")).css("display","block"),h.removeClass(k[8]+" "+k[10])):(f.alwaysShowScrollbar?(2!==f.alwaysShowScrollbar&&j[0].css("display","none"),h.removeClass(k[10])):(i[0].css("display","none"),h.addClass(k[10])),h.addClass(k[8]))),"y"!==f.axis&&(e.overflowed[1]&&!b?(i[1].add(j[1]).add(i[1].children("a")).css("display","block"),h.removeClass(k[9]+" "+k[11])):(f.alwaysShowScrollbar?(2!==f.alwaysShowScrollbar&&j[1].css("display","none"),h.removeClass(k[11])):(i[1].css("display","none"),h.addClass(k[11])),h.addClass(k[9]))),e.overflowed[0]||e.overflowed[1]?c.removeClass(k[5]):c.addClass(k[5])},D=function(b){var c=b.type,d=b.target.ownerDocument!==document?[a(frameElement).offset().top,a(frameElement).offset().left]:null,e=I()&&b.target.ownerDocument!==top.document?[a(b.view.frameElement).offset().top,a(b.view.frameElement).offset().left]:[0,0];switch(c){case"pointerdown":case"MSPointerDown":case"pointermove":case"MSPointerMove":case"pointerup":case"MSPointerUp":return d?[b.originalEvent.pageY-d[0]+e[0],b.originalEvent.pageX-d[1]+e[1],!1]:[b.originalEvent.pageY,b.originalEvent.pageX,!1];case"touchstart":case"touchmove":case"touchend":var f=b.originalEvent.touches[0]||b.originalEvent.changedTouches[0],g=b.originalEvent.touches.length||b.originalEvent.changedTouches.length;return b.target.ownerDocument!==document?[f.screenY,f.screenX,g>1]:[f.pageY,f.pageX,g>1];default:return d?[b.pageY-d[0]+e[0],b.pageX-d[1]+e[1],!1]:[b.pageY,b.pageX,!1]}},E=function(){function b(a){var b=o.find("iframe");if(b.length){var c=a?"auto":"none";b.css("pointer-events",c)}}function c(a,b,c,d){if(o[0].idleTimer=l.scrollInertia<233?250:0,e.attr("id")===n[1])var f="x",g=(e[0].offsetLeft-b+d)*k.scrollRatio.x;else var f="y",g=(e[0].offsetTop-a+c)*k.scrollRatio.y;V(h,g.toString(),{dir:f,drag:!0})}var e,f,g,h=a(this),k=h.data(d),l=k.opt,m=d+"_"+k.idx,n=["mCSB_"+k.idx+"_dragger_vertical","mCSB_"+k.idx+"_dragger_horizontal"],o=a("#mCSB_"+k.idx+"_container"),p=a("#"+n[0]+",#"+n[1]),q=l.advanced.releaseDraggableSelectors?p.add(a(l.advanced.releaseDraggableSelectors)):p,r=l.advanced.extraDraggableSelectors?a(!I()||top.document).add(a(l.advanced.extraDraggableSelectors)):a(!I()||top.document);p.bind("mousedown."+m+" touchstart."+m+" pointerdown."+m+" MSPointerDown."+m,function(c){if(c.stopImmediatePropagation(),c.preventDefault(),$(c)){j=!0,i&&(document.onselectstart=function(){return!1}),b(!1),U(h),e=a(this);var d=e.offset(),k=D(c)[0]-d.top,m=D(c)[1]-d.left,n=e.height()+d.top,o=e.width()+d.left;n>k&&k>0&&o>m&&m>0&&(f=k,g=m),x(e,"active",l.autoExpandScrollbar)}}).bind("touchmove."+m,function(a){a.stopImmediatePropagation(),a.preventDefault();var b=e.offset(),d=D(a)[0]-b.top,h=D(a)[1]-b.left;c(f,g,d,h)}),a(document).add(r).bind("mousemove."+m+" pointermove."+m+" MSPointerMove."+m,function(a){if(e){var b=e.offset(),d=D(a)[0]-b.top,h=D(a)[1]-b.left;if(f===d&&g===h)return;c(f,g,d,h)}}).add(q).bind("mouseup."+m+" touchend."+m+" pointerup."+m+" MSPointerUp."+m,function(a){e&&(x(e,"active",l.autoExpandScrollbar),e=null),j=!1,i&&(document.onselectstart=null),b(!0)})},F=function(){function c(a){if(!_(a)||j||D(a)[2])return void(b=0);b=1,w=0,x=0,k=1,y.removeClass("mCS_touch_action");var c=E.offset();l=D(a)[0]-c.top,m=D(a)[1]-c.left,L=[D(a)[0],D(a)[1]]}function e(a){if(_(a)&&!j&&!D(a)[2]&&(A.documentTouchScroll||a.preventDefault(),a.stopImmediatePropagation(),(!x||w)&&k)){q=X();var b=C.offset(),c=D(a)[0]-b.top,d=D(a)[1]-b.left,e="mcsLinearOut";if(G.push(c),H.push(d),L[2]=Math.abs(D(a)[0]-L[0]),L[3]=Math.abs(D(a)[1]-L[1]),z.overflowed[0])var f=F[0].parent().height()-F[0].height(),g=l-c>0&&c-l>-(f*z.scrollRatio.y)&&(2*L[3]0&&d-m>-(h*z.scrollRatio.x)&&(2*L[2]30)){t=1e3/(r-p);var e="mcsEaseOut",f=2.5>t,g=f?[G[G.length-2],H[H.length-2]]:[0,0];s=f?[c-g[0],d-g[1]]:[c-n,d-o];var l=[Math.abs(s[0]),Math.abs(s[1])];t=f?[Math.abs(s[0]/4),Math.abs(s[1]/4)]:[t,t];var m=[Math.abs(E[0].offsetTop)-s[0]*h(l[0]/t[0],t[0]),Math.abs(E[0].offsetLeft)-s[1]*h(l[1]/t[1],t[1])];u="yx"===A.axis?[m[0],m[1]]:"x"===A.axis?[null,m[1]]:[m[0],null],v=[4*l[0]+A.scrollInertia,4*l[1]+A.scrollInertia];var y=parseInt(A.contentTouchScroll)||0;u[0]=l[0]>y?u[0]:0,u[1]=l[1]>y?u[1]:0,z.overflowed[0]&&i(u[0],v[0],e,"y",K,!1),z.overflowed[1]&&i(u[1],v[1],e,"x",K,!1)}}}function h(a,b){var c=[1.5*b,2*b,b/1.5,b/2];return a>90?b>4?c[0]:c[3]:a>60?b>3?c[3]:c[2]:a>30?b>8?c[1]:b>6?c[0]:b>4?b:c[2]:b>8?b:c[3]}function i(a,b,c,d,e,f){a&&V(y,a.toString(),{dur:b,scrollEasing:c,dir:d,overwrite:e,drag:f})}var k,l,m,n,o,p,q,r,s,t,u,v,w,x,y=a(this),z=y.data(d),A=z.opt,B=d+"_"+z.idx,C=a("#mCSB_"+z.idx),E=a("#mCSB_"+z.idx+"_container"),F=[a("#mCSB_"+z.idx+"_dragger_vertical"),a("#mCSB_"+z.idx+"_dragger_horizontal")],G=[],H=[],J=0,K="yx"===A.axis?"none":"all",L=[],M=E.find("iframe"),N=["touchstart."+B+" pointerdown."+B+" MSPointerDown."+B,"touchmove."+B+" pointermove."+B+" MSPointerMove."+B,"touchend."+B+" pointerup."+B+" MSPointerUp."+B],O=void 0!==document.body.style.touchAction;E.bind(N[0],function(a){c(a)}).bind(N[1],function(a){e(a)}),C.bind(N[0],function(a){f(a)}).bind(N[2],function(a){g(a)}),M.length&&M.each(function(){a(this).load(function(){I(this)&&a(this.contentDocument||this.contentWindow.document).bind(N[0],function(a){c(a),f(a)}).bind(N[1],function(a){e(a)}).bind(N[2],function(a){g(a)})})})},G=function(){function c(){return window.getSelection?window.getSelection().toString():document.selection&&"Control"!=document.selection.type?document.selection.createRange().text:0}function e(a,b,c){k.type=c&&f?"stepped":"stepless",k.scrollAmount=10,P(g,a,b,"mcsLinearOut",c?60:null)}var f,g=a(this),h=g.data(d),i=h.opt,k=h.sequential,l=d+"_"+h.idx,m=a("#mCSB_"+h.idx+"_container"),n=m.parent();m.bind("mousedown."+l,function(a){b||f||(f=1,j=!0)}).add(document).bind("mousemove."+l,function(a){if(!b&&f&&c()){var d=m.offset(),g=D(a)[0]-d.top+m[0].offsetTop,j=D(a)[1]-d.left+m[0].offsetLeft;g>0&&g0&&jg?e("on",38):g>n.height()&&e("on",40)),"y"!==i.axis&&h.overflowed[1]&&(0>j?e("on",37):j>n.width()&&e("on",39)))}}).bind("mouseup."+l+" dragend."+l,function(a){b||(f&&(f=0,e("off",null)),j=!1)})},H=function(){function b(b,d){if(U(c),!J(c,b.target)){var g="auto"!==f.mouseWheel.deltaFactor?parseInt(f.mouseWheel.deltaFactor):i&&b.deltaFactor<100?100:b.deltaFactor||100,k=f.scrollInertia;if("x"===f.axis||"x"===f.mouseWheel.axis)var l="x",m=[Math.round(g*e.scrollRatio.x),parseInt(f.mouseWheel.scrollAmount)],n="auto"!==f.mouseWheel.scrollAmount?m[1]:m[0]>=h.width()?.9*h.width():m[0],o=Math.abs(a("#mCSB_"+e.idx+"_container")[0].offsetLeft),p=j[1][0].offsetLeft,q=j[1].parent().width()-j[1].width(),r=b.deltaX||b.deltaY||d;else var l="y",m=[Math.round(g*e.scrollRatio.y),parseInt(f.mouseWheel.scrollAmount)],n="auto"!==f.mouseWheel.scrollAmount?m[1]:m[0]>=h.height()?.9*h.height():m[0],o=Math.abs(a("#mCSB_"+e.idx+"_container")[0].offsetTop),p=j[0][0].offsetTop,q=j[0].parent().height()-j[0].height(),r=b.deltaY||d;"y"===l&&!e.overflowed[0]||"x"===l&&!e.overflowed[1]||((f.mouseWheel.invert||b.webkitDirectionInvertedFromDevice)&&(r=-r),f.mouseWheel.normalizeDelta&&(r=0>r?-1:1),(r>0&&0!==p||0>r&&p!==q||f.mouseWheel.preventDefault)&&(b.stopImmediatePropagation(),b.preventDefault()),b.deltaFactor<2&&!f.mouseWheel.normalizeDelta&&(n=b.deltaFactor,k=17),V(c,(o-r*n).toString(),{dir:l,dur:k}))}}if(a(this).data(d)){var c=a(this),e=c.data(d),f=e.opt,g=d+"_"+e.idx,h=a("#mCSB_"+e.idx),j=[a("#mCSB_"+e.idx+"_dragger_vertical"),a("#mCSB_"+e.idx+"_dragger_horizontal")],k=a("#mCSB_"+e.idx+"_container").find("iframe");k.length&&k.each(function(){a(this).load(function(){I(this)&&a(this.contentDocument||this.contentWindow.document).bind("mousewheel."+g,function(a,c){b(a,c)})})}),h.bind("mousewheel."+g,function(a,c){b(a,c)})}},I=function(a){var b=null;if(a){try{var c=a.contentDocument||a.contentWindow.document;b=c.body.innerHTML}catch(d){}return null!==b}try{var c=top.document;b=c.body.innerHTML}catch(d){}return null!==b},J=function(b,c){var e=c.nodeName.toLowerCase(),f=b.data(d).opt.mouseWheel.disableOver,g=["select","textarea"];return a.inArray(e,f)>-1&&!(a.inArray(e,g)>-1&&!a(c).is(":focus"))},K=function(){var b,c=a(this),e=c.data(d),f=d+"_"+e.idx,g=a("#mCSB_"+e.idx+"_container"),h=g.parent(),i=a(".mCSB_"+e.idx+"_scrollbar ."+k[12]);i.bind("mousedown."+f+" touchstart."+f+" pointerdown."+f+" MSPointerDown."+f,function(c){j=!0,a(c.target).hasClass("mCSB_dragger")||(b=1)}).bind("touchend."+f+" pointerup."+f+" MSPointerUp."+f,function(a){j=!1}).bind("click."+f,function(d){if(b&&(b=0,a(d.target).hasClass(k[12])||a(d.target).hasClass("mCSB_draggerRail"))){U(c);var f=a(this),i=f.find(".mCSB_dragger");if(f.parent(".mCSB_scrollTools_horizontal").length>0){if(!e.overflowed[1])return;var j="x",l=d.pageX>i.offset().left?-1:1,m=Math.abs(g[0].offsetLeft)-l*(.9*h.width())}else{if(!e.overflowed[0])return;var j="y",l=d.pageY>i.offset().top?-1:1,m=Math.abs(g[0].offsetTop)-l*(.9*h.height())}V(c,m.toString(),{dir:j,scrollEasing:"mcsEaseInOut"})}})},L=function(){var b=a(this),c=b.data(d),e=c.opt,f=d+"_"+c.idx,g=a("#mCSB_"+c.idx+"_container"),h=g.parent();g.bind("focusin."+f,function(c){var d=a(document.activeElement),f=g.find(".mCustomScrollBox").length,i=0;d.is(e.advanced.autoScrollOnFocus)&&(U(b),clearTimeout(b[0]._focusTimeout),b[0]._focusTimer=f?(i+17)*f:0,b[0]._focusTimeout=setTimeout(function(){var a=[ba(d)[0],ba(d)[1]],c=[g[0].offsetTop,g[0].offsetLeft],f=[c[0]+a[0]>=0&&c[0]+a[0]=0&&c[0]+a[1]a");i.bind("mousedown."+g+" touchstart."+g+" pointerdown."+g+" MSPointerDown."+g+" mouseup."+g+" touchend."+g+" pointerup."+g+" MSPointerUp."+g+" mouseout."+g+" pointerout."+g+" MSPointerOut."+g+" click."+g,function(d){function g(a,c){f.scrollAmount=e.scrollButtons.scrollAmount,P(b,a,c)}if(d.preventDefault(),$(d)){var h=a(this).attr("class");switch(f.type=e.scrollButtons.scrollType,d.type){case"mousedown":case"touchstart":case"pointerdown":case"MSPointerDown":if("stepped"===f.type)return;j=!0,c.tweenRunning=!1,g("on",h);break;case"mouseup":case"touchend":case"pointerup":case"MSPointerUp":case"mouseout":case"pointerout":case"MSPointerOut":if("stepped"===f.type)return;j=!1,f.dir&&g("off",h);break;case"click":if("stepped"!==f.type||c.tweenRunning)return;g("on",h)}}})},O=function(){function b(b){function d(a,b){g.type=f.keyboard.scrollType,g.scrollAmount=f.keyboard.scrollAmount,"stepped"===g.type&&e.tweenRunning||P(c,a,b)}switch(b.type){case"blur":e.tweenRunning&&g.dir&&d("off",null);break;case"keydown":case"keyup":var h=b.keyCode?b.keyCode:b.which,i="on";if("x"!==f.axis&&(38===h||40===h)||"y"!==f.axis&&(37===h||39===h)){if((38===h||40===h)&&!e.overflowed[0]||(37===h||39===h)&&!e.overflowed[1])return;"keyup"===b.type&&(i="off"),a(document.activeElement).is(l)||(b.preventDefault(),b.stopImmediatePropagation(),d(i,h))}else if(33===h||34===h){if((e.overflowed[0]||e.overflowed[1])&&(b.preventDefault(),b.stopImmediatePropagation()),"keyup"===b.type){U(c);var m=34===h?-1:1;if("x"===f.axis||"yx"===f.axis&&e.overflowed[1]&&!e.overflowed[0])var n="x",o=Math.abs(j[0].offsetLeft)-m*(.9*k.width());else var n="y",o=Math.abs(j[0].offsetTop)-m*(.9*k.height());V(c,o.toString(),{dir:n,scrollEasing:"mcsEaseInOut"})}}else if((35===h||36===h)&&!a(document.activeElement).is(l)&&((e.overflowed[0]||e.overflowed[1])&&(b.preventDefault(),b.stopImmediatePropagation()),"keyup"===b.type)){if("x"===f.axis||"yx"===f.axis&&e.overflowed[1]&&!e.overflowed[0])var n="x",o=35===h?Math.abs(k.width()-j.outerWidth(!1)):0;else var n="y",o=35===h?Math.abs(k.height()-j.outerHeight(!1)):0;V(c,o.toString(),{dir:n,scrollEasing:"mcsEaseInOut"})}}}var c=a(this),e=c.data(d),f=e.opt,g=e.sequential,h=d+"_"+e.idx,i=a("#mCSB_"+e.idx),j=a("#mCSB_"+e.idx+"_container"),k=j.parent(),l="input,textarea,select,datalist,keygen,[contenteditable='true']",m=j.find("iframe"),n=["blur."+h+" keydown."+h+" keyup."+h];m.length&&m.each(function(){a(this).load(function(){I(this)&&a(this.contentDocument||this.contentWindow.document).bind(n[0],function(a){b(a)})})}),i.attr("tabindex","0").bind(n[0],function(a){b(a)})},P=function(b,c,e,f,g){function h(a){l.snapAmount&&(m.scrollAmount=l.snapAmount instanceof Array?"x"===m.dir[0]?l.snapAmount[1]:l.snapAmount[0]:l.snapAmount);var c="stepped"!==m.type,d=g?g:a?c?p/1.5:q:1e3/60,e=a?c?7.5:40:2.5,i=[Math.abs(n[0].offsetTop),Math.abs(n[0].offsetLeft)],k=[j.scrollRatio.y>10?10:j.scrollRatio.y,j.scrollRatio.x>10?10:j.scrollRatio.x],o="x"===m.dir[0]?i[1]+m.dir[1]*(k[1]*e):i[0]+m.dir[1]*(k[0]*e),r="x"===m.dir[0]?i[1]+m.dir[1]*parseInt(m.scrollAmount):i[0]+m.dir[1]*parseInt(m.scrollAmount),s="auto"!==m.scrollAmount?r:o,t=f?f:a?c?"mcsLinearOut":"mcsEaseInOut":"mcsLinear",u=!!a;return a&&17>d&&(s="x"===m.dir[0]?i[1]:i[0]),V(b,s.toString(),{dir:m.dir[0],scrollEasing:t,dur:d,onComplete:u}),a?void(m.dir=!1):(clearTimeout(m.step),void(m.step=setTimeout(function(){h()},d)))}function i(){clearTimeout(m.step),Z(m,"step"),U(b)}var j=b.data(d),l=j.opt,m=j.sequential,n=a("#mCSB_"+j.idx+"_container"),o="stepped"===m.type,p=l.scrollInertia<26?26:l.scrollInertia,q=l.scrollInertia<1?17:l.scrollInertia;switch(c){case"on":if(m.dir=[e===k[16]||e===k[15]||39===e||37===e?"x":"y",e===k[13]||e===k[15]||38===e||37===e?-1:1],U(b),aa(e)&&"stepped"===m.type)return;h(o);break;case"off":i(),(o||j.tweenRunning&&m.dir)&&h(!0)}},Q=function(b){var c=a(this).data(d).opt,e=[];return"function"==typeof b&&(b=b()),b instanceof Array?e=b.length>1?[b[0],b[1]]:"x"===c.axis?[null,b[0]]:[b[0],null]:(e[0]=b.y?b.y:b.x||"x"===c.axis?null:b,e[1]=b.x?b.x:b.y||"y"===c.axis?null:b),"function"==typeof e[0]&&(e[0]=e[0]()),"function"==typeof e[1]&&(e[1]=e[1]()),e},R=function(b,c){if(null!=b&&"undefined"!=typeof b){var e=a(this),f=e.data(d),g=f.opt,h=a("#mCSB_"+f.idx+"_container"),i=h.parent(),j=typeof b;c||(c="x"===g.axis?"x":"y");var k="x"===c?h.outerWidth(!1):h.outerHeight(!1),m="x"===c?h[0].offsetLeft:h[0].offsetTop,n="x"===c?"left":"top";switch(j){case"function":return b();case"object":var o=b.jquery?b:a(b);if(!o.length)return;return"x"===c?ba(o)[1]:ba(o)[0];case"string":case"number":if(aa(b))return Math.abs(b);if(-1!==b.indexOf("%"))return Math.abs(k*parseInt(b)/100);if(-1!==b.indexOf("-="))return Math.abs(m-parseInt(b.split("-=")[1]));if(-1!==b.indexOf("+=")){var p=m+parseInt(b.split("+=")[1]);return p>=0?0:Math.abs(p)}if(-1!==b.indexOf("px")&&aa(b.split("px")[0]))return Math.abs(b.split("px")[0]);if("top"===b||"left"===b)return 0;if("bottom"===b)return Math.abs(i.height()-h.outerHeight(!1));if("right"===b)return Math.abs(i.width()-h.outerWidth(!1));if("first"===b||"last"===b){var o=h.find(":"+b);return"x"===c?ba(o)[1]:ba(o)[0]}return a(b).length?"x"===c?ba(a(b))[1]:ba(a(b))[0]:(h.css(n,b),void l.update.call(null,e[0]))}}},S=function(b){function c(){return clearTimeout(m[0].autoUpdate),0===h.parents("html").length?void(h=null):void(m[0].autoUpdate=setTimeout(function(){return j.advanced.updateOnSelectorChange&&(i.poll.change.n=f(),i.poll.change.n!==i.poll.change.o)?(i.poll.change.o=i.poll.change.n,void g(3)):j.advanced.updateOnContentResize&&(i.poll.size.n=h[0].scrollHeight+h[0].scrollWidth+m[0].offsetHeight+h[0].offsetHeight+h[0].offsetWidth,i.poll.size.n!==i.poll.size.o)?(i.poll.size.o=i.poll.size.n,void g(1)):!j.advanced.updateOnImageLoad||"auto"===j.advanced.updateOnImageLoad&&"y"===j.axis||(i.poll.img.n=m.find("img").length,i.poll.img.n===i.poll.img.o)?void((j.advanced.updateOnSelectorChange||j.advanced.updateOnContentResize||j.advanced.updateOnImageLoad)&&c()):(i.poll.img.o=i.poll.img.n,void m.find("img").each(function(){e(this)}))},j.advanced.autoUpdateTimeout))}function e(b){function c(a,b){return function(){return b.apply(a,arguments)}}function d(){this.onload=null,a(b).addClass(k[2]),g(2)}if(a(b).hasClass(k[2]))return void g();var e=new Image;e.onload=c(e,d),e.src=b.src}function f(){j.advanced.updateOnSelectorChange===!0&&(j.advanced.updateOnSelectorChange="*");var a=0,b=m.find(j.advanced.updateOnSelectorChange);return j.advanced.updateOnSelectorChange&&b.length>0&&b.each(function(){a+=this.offsetHeight+this.offsetWidth}),a}function g(a){clearTimeout(m[0].autoUpdate),l.update.call(null,h[0],a)}var h=a(this),i=h.data(d),j=i.opt,m=a("#mCSB_"+i.idx+"_container");return b?(clearTimeout(m[0].autoUpdate),void Z(m[0],"autoUpdate")):void c()},T=function(a,b,c){return Math.round(a/b)*b-c},U=function(b){var c=b.data(d),e=a("#mCSB_"+c.idx+"_container,#mCSB_"+c.idx+"_container_wrapper,#mCSB_"+c.idx+"_dragger_vertical,#mCSB_"+c.idx+"_dragger_horizontal");e.each(function(){Y.call(this)})},V=function(b,c,e){function f(a){return i&&j.callbacks[a]&&"function"==typeof j.callbacks[a]}function g(){return[j.callbacks.alwaysTriggerOffsets||u>=v[0]+y,j.callbacks.alwaysTriggerOffsets||-z>=u]}function h(){var a=[n[0].offsetTop,n[0].offsetLeft],c=[s[0].offsetTop,s[0].offsetLeft],d=[n.outerHeight(!1),n.outerWidth(!1)],f=[m.height(),m.width()];b[0].mcs={content:n,top:a[0],left:a[1],draggerTop:c[0],draggerLeft:c[1],topPct:Math.round(100*Math.abs(a[0])/(Math.abs(d[0])-f[0])),leftPct:Math.round(100*Math.abs(a[1])/(Math.abs(d[1])-f[1])),direction:e.dir}}var i=b.data(d),j=i.opt,k={trigger:"internal",dir:"y",scrollEasing:"mcsEaseOut",drag:!1,dur:j.scrollInertia,overwrite:"all",callbacks:!0,onStart:!0,onUpdate:!0,onComplete:!0},e=a.extend(k,e),l=[e.dur,e.drag?0:e.dur],m=a("#mCSB_"+i.idx),n=a("#mCSB_"+i.idx+"_container"),o=n.parent(),p=j.callbacks.onTotalScrollOffset?Q.call(b,j.callbacks.onTotalScrollOffset):[0,0],q=j.callbacks.onTotalScrollBackOffset?Q.call(b,j.callbacks.onTotalScrollBackOffset):[0,0];if(i.trigger=e.trigger,0===o.scrollTop()&&0===o.scrollLeft()||(a(".mCSB_"+i.idx+"_scrollbar").css("visibility","visible"),o.scrollTop(0).scrollLeft(0)),"_resetY"!==c||i.contentReset.y||(f("onOverflowYNone")&&j.callbacks.onOverflowYNone.call(b[0]),i.contentReset.y=1),"_resetX"!==c||i.contentReset.x||(f("onOverflowXNone")&&j.callbacks.onOverflowXNone.call(b[0]),i.contentReset.x=1),"_resetY"!==c&&"_resetX"!==c){if(!i.contentReset.y&&b[0].mcs||!i.overflowed[0]||(f("onOverflowY")&&j.callbacks.onOverflowY.call(b[0]),i.contentReset.x=null),!i.contentReset.x&&b[0].mcs||!i.overflowed[1]||(f("onOverflowX")&&j.callbacks.onOverflowX.call(b[0]),i.contentReset.x=null),j.snapAmount){var r=j.snapAmount instanceof Array?"x"===e.dir?j.snapAmount[1]:j.snapAmount[0]:j.snapAmount;c=T(c,r,j.snapOffset)}switch(e.dir){case"x":var s=a("#mCSB_"+i.idx+"_dragger_horizontal"),t="left",u=n[0].offsetLeft,v=[m.width()-n.outerWidth(!1),s.parent().width()-s.width()],w=[c,0===c?0:c/i.scrollRatio.x],y=p[1],z=q[1],A=y>0?y/i.scrollRatio.x:0,B=z>0?z/i.scrollRatio.x:0;break;case"y":var s=a("#mCSB_"+i.idx+"_dragger_vertical"),t="top",u=n[0].offsetTop,v=[m.height()-n.outerHeight(!1),s.parent().height()-s.height()],w=[c,0===c?0:c/i.scrollRatio.y],y=p[0],z=q[0],A=y>0?y/i.scrollRatio.y:0,B=z>0?z/i.scrollRatio.y:0}w[1]<0||0===w[0]&&0===w[1]?w=[0,0]:w[1]>=v[1]?w=[v[0],v[1]]:w[0]=-w[0],b[0].mcs||(h(),f("onInit")&&j.callbacks.onInit.call(b[0])),clearTimeout(n[0].onCompleteTimeout),W(s[0],t,Math.round(w[1]),l[1],e.scrollEasing),!i.tweenRunning&&(0===u&&w[0]>=0||u===v[0]&&w[0]<=v[0])||W(n[0],t,Math.round(w[0]),l[0],e.scrollEasing,e.overwrite,{onStart:function(){e.callbacks&&e.onStart&&!i.tweenRunning&&(f("onScrollStart")&&(h(),j.callbacks.onScrollStart.call(b[0])),i.tweenRunning=!0,x(s),i.cbOffsets=g())},onUpdate:function(){e.callbacks&&e.onUpdate&&f("whileScrolling")&&(h(),j.callbacks.whileScrolling.call(b[0]))},onComplete:function(){if(e.callbacks&&e.onComplete){"yx"===j.axis&&clearTimeout(n[0].onCompleteTimeout);var a=n[0].idleTimer||0;n[0].onCompleteTimeout=setTimeout(function(){f("onScroll")&&(h(),j.callbacks.onScroll.call(b[0])),f("onTotalScroll")&&w[1]>=v[1]-A&&i.cbOffsets[0]&&(h(),j.callbacks.onTotalScroll.call(b[0])),f("onTotalScrollBack")&&w[1]<=B&&i.cbOffsets[1]&&(h(),j.callbacks.onTotalScrollBack.call(b[0])),i.tweenRunning=!1,n[0].idleTimer=0,x(s,"hide")},a)}}})}},W=function(a,b,c,d,e,f,g){function h(){v.stop||(s||o.call(),s=X()-r,i(),s>=v.time&&(v.time=s>v.time?s+m-(s-v.time):s+m-1,v.time0?(v.currVal=l(v.time,t,w,d,e),u[b]=Math.round(v.currVal)+"px"):u[b]=c+"px",p.call()}function j(){m=1e3/60,v.time=s+m,n=window.requestAnimationFrame?window.requestAnimationFrame:function(a){return i(),setTimeout(a,.01)},v.id=n(h)}function k(){null!=v.id&&(window.requestAnimationFrame?window.cancelAnimationFrame(v.id):clearTimeout(v.id),v.id=null)}function l(a,b,c,d,e){switch(e){case"linear":case"mcsLinear":return c*a/d+b;case"mcsLinearOut":return a/=d,a--,c*Math.sqrt(1-a*a)+b;case"easeInOutSmooth":return a/=d/2,1>a?c/2*a*a+b:(a--,-c/2*(a*(a-2)-1)+b);case"easeInOutStrong":return a/=d/2,1>a?c/2*Math.pow(2,10*(a-1))+b:(a--,c/2*(-Math.pow(2,-10*a)+2)+b);case"easeInOut":case"mcsEaseInOut":return a/=d/2,1>a?c/2*a*a*a+b:(a-=2,c/2*(a*a*a+2)+b);case"easeOutSmooth":return a/=d,a--,-c*(a*a*a*a-1)+b;case"easeOutStrong":return c*(-Math.pow(2,-10*a/d)+1)+b;case"easeOut":case"mcsEaseOut":default:var f=(a/=d)*a,g=f*a;return b+c*(.499999999999997*g*f+-2.5*f*f+5.5*g+-6.5*f+4*a)}}a._mTween||(a._mTween={top:{},left:{}});var m,n,g=g||{},o=g.onStart||function(){},p=g.onUpdate||function(){},q=g.onComplete||function(){},r=X(),s=0,t=a.offsetTop,u=a.style,v=a._mTween[b];"left"===b&&(t=a.offsetLeft);var w=c-t;v.stop=0,"none"!==f&&k(),j()},X=function(){return window.performance&&window.performance.now?window.performance.now():window.performance&&window.performance.webkitNow?window.performance.webkitNow():Date.now?Date.now():(new Date).getTime()},Y=function(){var a=this;a._mTween||(a._mTween={top:{},left:{}});for(var b=["top","left"],c=0;c=0&&d[0]+ba(e)[0]=0&&d[1]+ba(e)[1]
    ":"
    "},c=function(b,c,d,e,f){var g,h,i,j,k,l,m,n,o,p,q;return h=d.duration||1,q=d.timingFunction||"ease-in-out",i=c.scope(),j=d.emitOnClose,n=d.onClose,m=void 0!==d.lazyRender,g=null,o=null,k=function(a){var b,d,e,f,g;for(e=0,d=c.children(),f=0,g=d.length;g>f;f++)b=d[f],e+=b.clientHeight;return""+e+"px"},p=function(){return g&&a.cancel(g),m&&(b.lazyRender=!0),a(function(){return o&&a.cancel(o),c.css({overflow:"hidden",transitionProperty:"height",transitionDuration:""+h+"s",transitionTimingFunction:q,height:k()}),o=a(function(){return c.css({overflow:"visible",transition:"none",height:"auto"})},1e3*h)})},l=function(){return o&&a.cancel(o),c.css({overflow:"hidden",transitionProperty:"height",transitionDuration:""+h+"s",transitionTimingFunction:q,height:"0px"}),j||n||m?g=a(function(){return j&&b.$emit(j,{}),n&&i.$eval(n),m?b.lazyRender=!1:void 0},1e3*h):void 0},b.$watch("expanded",function(b,d){return b?a(p):(null!=b&&(c.css({height:k()}),c[0].clientHeight),a(l))})},{restrict:"A",scope:{expanded:"=ngSlideDown"},transclude:!0,link:c,template:function(a,c){return b(a,c)}}}])}.call(this);var mod;mod=angular.module("infinite-scroll",[]),mod.directive("infiniteScroll",["$rootScope","$window","$timeout",function(a,b,c){return{link:function(d,e,f){var g,h,i,j;return b=angular.element(b),i=0,null!=f.infiniteScrollDistance&&d.$watch(f.infiniteScrollDistance,function(a){return i=parseInt(a,10)}),j=!0,g=!1,null!=f.infiniteScrollDisabled&&d.$watch(f.infiniteScrollDisabled,function(a){return j=!a,j&&g?(g=!1,h()):void 0}),h=function(){var c,h,k,l;return l=b.height()+b.scrollTop(),c=e.offset().top+e.height(),h=c-l,k=h<=b.height()*i,k&&j?a.$$phase?d.$eval(f.infiniteScroll):d.$apply(f.infiniteScroll):k?g=!0:void 0},b.on("scroll",h),d.$on("$destroy",function(){return b.off("scroll",h)}),c(function(){return f.infiniteScrollImmediateCheck?d.$eval(f.infiniteScrollImmediateCheck)?h():void 0:h()},0)}}}]),angular.module("ngMap",[]),function(){"use strict";function camelCase(a){return a.replace(SPECIAL_CHARS_REGEXP,function(a,b,c,d){return d?c.toUpperCase():c}).replace(MOZ_HACK_REGEXP,"Moz$1")}function JSONize(a){try{return JSON.parse(a),a}catch(b){return a.replace(/([\$\w]+)\s*:/g,function(a,b){return'"'+b+'":'}).replace(/'([^']+)'/g,function(a,b){return'"'+b+'"'})}}var SPECIAL_CHARS_REGEXP=/([\:\-\_]+(.))/g,MOZ_HACK_REGEXP=/^moz([A-Z])/,Attr2Options=function($parse,$timeout,$log,NavigatorGeolocation,GeoCoder){var orgAttributes=function(a){a.length>0&&(a=a[0]);for(var b={},c=0;c-1&&b.splice(c,1),this.el.className=b.join(" ")},d.prototype.onAdd=function(){this.getPanes().overlayMouseTarget.appendChild(this.el)},d.prototype.draw=function(){this.setPosition(),this.setZIndex(this.zIndex),this.setVisible(this.visible)},d.prototype.onRemove=function(){this.el.parentNode.removeChild(this.el),this.el=null}},f=function(c,e){return function(f,g,h,i){var j=(a.orgAttributes(g),a.filter(h)),k=a.getOptions(j,f),l=a.getEvents(f,j),m=g[0].parentElement.removeChild(g[0]),n=new d(k);b(function(){f.$watch("["+e.join(",")+"]",function(a){n.setContent(c,f)}),n.setContent(m.innerHTML,f);var a=m.firstElementChild.className;n.addClass("custom-marker"),n.addClass(a),k.position instanceof google.maps.LatLng||i.getGeoLocation(k.position).then(function(a){n.setPosition(a)})});for(var o in l)google.maps.event.addDomListener(n.el,o,l[o]);i.addObject("customMarkers",n),g.bind("$destroy",function(){i.deleteObject("customMarkers",n)})}},g=function(d,g,h){return a=d,b=g,c=h,e(),{restrict:"E",require:"^map",compile:function(a){var b=a.html(),c=b.match(/{{([^}]+)}}/g),d=[];return(c||[]).forEach(function(a){var b=a.replace("{{","").replace("}}","");-1==a.indexOf("::")&&-1==a.indexOf("this.")&&-1==d.indexOf(b)&&d.push(a.replace("{{","").replace("}}",""))}),f(b,d)}}};g.$inject=["Attr2Options","$timeout","$compile"],angular.module("ngMap").directive("customMarker",g)}(),function(){"use strict";var a=function(a,b){a.panel&&(a.panel=document.getElementById(a.panel)||document.querySelector(a.panel));var c=new google.maps.DirectionsRenderer(a);for(var d in b)google.maps.event.addListener(c,d,b[d]);return c},b=function(b,c,d){var e=b,f=new google.maps.DirectionsService,g=function(a,b){var e=b;e.travelMode=e.travelMode||"DRIVING";var g=["origin","destination","travelMode","transitOptions","unitSystem","durationInTraffic","waypoints","optimizeWaypoints","provideRouteAlternatives","avoidHighways","avoidTolls","region"];for(var h in e)-1===g.indexOf(h)&&delete e[h];e.waypoints&&("[]"!=e.waypoints&&""!=e.waypoints||delete e.waypoints);var i=function(b){f.route(b,function(b,d){d==google.maps.DirectionsStatus.OK&&c(function(){a.setDirections(b)})})};e.origin&&e.destination&&("current-location"==e.origin?d.getCurrentPosition().then(function(a){e.origin=new google.maps.LatLng(a.coords.latitude,a.coords.longitude),i(e)}):"current-location"==e.destination?d.getCurrentPosition().then(function(a){e.destination=new google.maps.LatLng(a.coords.latitude,a.coords.longitude),i(e)}):i(e))},h=function(b,d,f,h){var i=e.orgAttributes(d),j=e.filter(f),k=e.getOptions(j),l=e.getEvents(b,j),m=e.getAttrsToObserve(i),n=a(k,l);h.addObject("directionsRenderers",n),m.forEach(function(a){!function(a){f.$observe(a,function(b){if("panel"==a)c(function(){var a=document.getElementById(b)||document.querySelector(b);a&&n.setPanel(a)});else if(k[a]!==b){var d=e.toOptionValue(b,{key:a});k[a]=d,g(n,k)}})}(a)}),b.$on("mapInitialized",function(a,b){g(n,k)}),b.$on("$destroy",function(a,b){h.deleteObject("directionsRenderers",n)})};return{restrict:"E",require:"^map",link:h}};b.$inject=["Attr2Options","$timeout","NavigatorGeolocation"],angular.module("ngMap").directive("directions",b)}(),function(){"use strict";angular.module("ngMap").directive("drawingManager",["Attr2Options",function(a){var b=a;return{restrict:"E",require:"^map",link:function(a,c,d,e){var f=(b.orgAttributes(c),b.filter(d)),g=b.getOptions(f),h=b.getControlOptions(f),i=b.getEvents(a,f),j=new google.maps.drawing.DrawingManager({drawingMode:g.drawingmode,drawingControl:g.drawingcontrol,drawingControlOptions:h.drawingControlOptions,circleOptions:g.circleoptions,markerOptions:g.markeroptions,polygonOptions:g.polygonoptions,polylineOptions:g.polylineoptions,rectangleOptions:g.rectangleoptions}),i=b.getEvents(a,f);for(var k in i)google.maps.event.addListener(j,k,i[k]);e.addObject("mapDrawingManager",j)}}}])}(),function(){"use strict";angular.module("ngMap").directive("dynamicMapsEngineLayer",["Attr2Options",function(a){var b=a,c=function(a,b){var c=new google.maps.visualization.DynamicMapsEngineLayer(a);for(var d in b)google.maps.event.addListener(c,d,b[d]);return c};return{restrict:"E",require:"^map",link:function(a,d,e,f){var g=b.filter(e),h=b.getOptions(g),i=b.getEvents(a,g,i),j=c(h,i);f.addObject("mapsEngineLayers",j)}}}])}(),function(){"use strict";angular.module("ngMap").directive("fusionTablesLayer",["Attr2Options",function(a){var b=a,c=function(a,b){var c=new google.maps.FusionTablesLayer(a);for(var d in b)google.maps.event.addListener(c,d,b[d]);return c};return{restrict:"E",require:"^map",link:function(a,d,e,f){var g=b.filter(e),h=b.getOptions(g),i=b.getEvents(a,g,i),j=c(h,i);f.addObject("fusionTablesLayers",j)}}}])}(),function(){"use strict";angular.module("ngMap").directive("heatmapLayer",["Attr2Options","$window",function(a,b){var c=a;return{restrict:"E",require:"^map",link:function(a,d,e,f){var g=c.filter(e),h=c.getOptions(g);if(h.data=b[e.data]||a[e.data],!(h.data instanceof Array))throw"invalid heatmap data";h.data=new google.maps.MVCArray(h.data);var i=new google.maps.visualization.HeatmapLayer(h);c.getEvents(a,g);f.addObject("heatmapLayers",i)}}}])}(),function(){"use strict";var a=function(a,b,c,d){var e=a,f=function(a,d,e){var f;!a.position||a.position instanceof google.maps.LatLng||delete a.position,f=new google.maps.InfoWindow(a),Object.keys(d).length>0;for(var g in d)g&&google.maps.event.addListener(f,g,d[g]);var h=e.html().trim();if(1!=angular.element(h).length)throw"info-window working as a template must have a container";return f.__template=h.replace(/\s?ng-non-bindable[='"]+/,""),f.__compile=function(a,c){c&&(a["this"]=c);var d=b(f.__template)(a);f.setContent(d[0]),a.$apply()},f.__open=function(a,b,d){c(function(){f.__compile(b,d),d&&d.getPosition?f.open(a,d):d&&d instanceof google.maps.LatLng?(f.open(a),f.setPosition(d)):f.open(a)})},f},g=function(a,b,c,g){b.css("display","none");var h,i=e.orgAttributes(b),j=e.filter(c),k=e.getOptions(j,a),l=e.getEvents(a,j);!k.position||k.position instanceof google.maps.LatLng||(h=k.position);var m=f(k,l,b);h&&g.getGeoLocation(h).then(function(b){m.setPosition(b),m.__open(g.map,a,b);var e=c.geoCallback;e&&d(e)(a)}),g.addObject("infoWindows",m),g.observeAttrSetObj(i,c,m),a.$on("mapInitialized",function(b,c){if(m.visible&&m.__open(c,a),m.visibleOnMarker){var d=m.visibleOnMarker;m.__open(c,a,c.markers[d])}}),a.showInfoWindow=function(b,c,d){var e=g.map.infoWindows[c],f=d?d:this.getPosition?this:null;e.__open(g.map,a,f),g.singleInfoWindow&&(g.lastInfoWindow&&a.hideInfoWindow(b,g.lastInfoWindow),g.lastInfoWindow=c)},a.hideInfoWindow=a.hideInfoWindow||function(a,b){var c=g.map.infoWindows[b];c.close()}};return{restrict:"E",require:"^map",link:g}};a.$inject=["Attr2Options","$compile","$timeout","$parse"],angular.module("ngMap").directive("infoWindow",a)}(),function(){"use strict";angular.module("ngMap").directive("kmlLayer",["Attr2Options",function(a){var b=a,c=function(a,b){var c=new google.maps.KmlLayer(a);for(var d in b)google.maps.event.addListener(c,d,b[d]);return c};return{restrict:"E",require:"^map",link:function(a,d,e,f){var g=b.orgAttributes(d),h=b.filter(e),i=b.getOptions(h),j=b.getEvents(a,h),k=c(i,j);f.addObject("kmlLayers",k),f.observeAttrSetObj(g,e,k),d.bind("$destroy",function(){f.deleteObject("kmlLayers",k)})}}}])}(),function(){"use strict";angular.module("ngMap").directive("mapData",["Attr2Options",function(a){var b=a;return{restrict:"E",require:"^map",link:function(a,c,d,e){var f=b.filter(d),g=b.getOptions(f),h=b.getEvents(a,f,h);a.$on("mapInitialized",function(b,c){for(var d in g)if(d){var e=g[d];"function"==typeof a[e]?c.data[d](a[e]):c.data[d](e)}for(var f in h)h[f]&&c.data.addListener(f,h[f])})}}}])}(),function(){"use strict";var a,b,c,d,e=function(c,e,f){var g=f.mapLazyLoadParams||f.mapLazyLoad;if(window.lazyLoadCallback=function(){a(function(){e.html(d),b(e.contents())(c)},100)},void 0===window.google||void 0===window.google.maps){var h=document.createElement("script");h.src=g+(g.indexOf("?")>-1?"&":"?")+"callback=lazyLoadCallback",document.body.appendChild(h)}else e.html(d),b(e.contents())(c)},f=function(a,b){return!b.mapLazyLoad&&void 0,d=a.html(),c=b.mapLazyLoad,document.querySelector('script[src="'+c+(c.indexOf("?")>-1?"&":"?")+'callback=lazyLoadCallback"]')?!1:(a.html(""),{pre:e})},g=function(c,d){return b=c,a=d,{compile:f}};g.$inject=["$compile","$timeout"],angular.module("ngMap").directive("mapLazyLoad",g)}(),function(){"use strict";angular.module("ngMap").directive("mapType",["Attr2Options","$window",function(a,b){return{restrict:"E",require:"^map",link:function(a,c,d,e){var f,g=d.name;if(!g)throw"invalid map-type name";if(d.object){var h=a[d.object]?a:b;f=h[d.object],"function"==typeof f&&(f=new f)}if(!f)throw"invalid map-type object";a.$on("mapInitialized",function(a,b){b.mapTypes.set(g,f)}),e.addObject("mapTypes",f)}}}])}(),function(){"use strict";function a(a,b){var c;return a.currentStyle?c=a.currentStyle[b]:window.getComputedStyle&&(c=document.defaultView.getComputedStyle(a,null).getPropertyValue(b)),c}var b=function(b,c,d){var e=b,f=function(b,f,g,h){var i=e.orgAttributes(f);b.google=google;var j=document.createElement("div");j.style.width="100%",j.style.height="100%",f.prepend(j),"false"!==g.defaultStyle&&("block"!=a(f[0],"display")&&f.css("display","block"),a(f[0],"height").match(/^(0|auto)/)&&f.css("height","300px")),f[0].addEventListener("dragstart",function(a){return a.preventDefault(),!1});var k=function(a,e){var f=new google.maps.Map(j,{});f.markers={},f.shapes={},c(function(){google.maps.event.trigger(f,"resize")}),a.zoom=a.zoom||15;var k=a.center;k?k instanceof google.maps.LatLng||(delete a.center,h.getGeoLocation(k,m.geoLocationOptions).then(function(a){f.setCenter(a);var c=g.geoCallback;c&&d(c)(b)},function(a){f.setCenter(m.geoFallbackCenter)})):a.center=new google.maps.LatLng(0,0),f.setOptions(a),h.singleInfoWindow=a.singleInfoWindow;for(var l in e)l&&google.maps.event.addListener(f,l,e[l]);h.observeAttrSetObj(i,g,f),h.map=f,h.addObjects(h._objects),b.map=f,b.map.scope=b,google.maps.event.addListenerOnce(f,"idle",function(){b.$emit("mapInitialized",f),g.zoomToIncludeMarkers&&(h.zoomToIncludeMarkers(),"auto"==g.zoomToIncludeMarkers&&b.$on("objectChanged",function(a,b){"markers"==b[0]&&h.zoomToIncludeMarkers()}))})},l=e.filter(g),m=e.getOptions(l,b),n=e.getControlOptions(l),o=angular.extend(m,n),p=e.getEvents(b,l);g.initEvent?b.$on(g.initEvent,function(){!h.map&&k(o,p)}):k(o,p)};return{restrict:"AE",controller:"MapController",link:f}};angular.module("ngMap").directive("map",["Attr2Options","$timeout","$parse",b])}(),function(){"use strict";var a=function(a,b,c,d,e){var f=e,g=this,h=function(a,b,c){a.$observe(b,function(a){if(a){var d=f.camelCase("set-"+b),e=f.toOptionValue(a,{key:b});c[d]&&(b.match(/center|position/)&&"string"==typeof e?g.getGeoLocation(e).then(function(a){c[d](a)}):c[d](e))}})};this.map=null,this._objects=[],this.addObject=function(b,c){if(this.map){this.map[b]=this.map[b]||{};var d=Object.keys(this.map[b]).length;this.map[b][c.id||d]=c,"infoWindows"!=b&&c.setMap&&c.setMap&&c.setMap(this.map),c.centered&&c.position&&this.map.setCenter(c.position),a.$emit("objectChanged",[b,this.map[b]])}else c.groupName=b,this._objects.push(c)},this.deleteObject=function(b,c){if(c.map){var d=c.map[b];for(var e in d)d[e]===c&&delete d[e];c.map&&c.setMap&&c.setMap(null),a.$emit("objectChanged",[b,this.map[b]])}},this.addObjects=function(a){for(var b=0;b0;for(var d in b)d&&google.maps.event.addListener(c,d,b[d]);return c},b=function(b,c){var d=b,e=function(b,e,f,g){var h,i=d.orgAttributes(e),j=d.filter(f),k=d.getOptions(j,b),l=d.getEvents(b,j);k.position instanceof google.maps.LatLng||(h=k.position);var m=a(k,l);g.addObject("markers",m),h&&g.getGeoLocation(h).then(function(a){m.setPosition(a),k.centered&&m.map.setCenter(a);var d=f.geoCallback;d&&c(d)(b)}),k.noWatcher||g.observeAttrSetObj(i,f,m),e.bind("$destroy",function(){g.deleteObject("markers",m)})};return{restrict:"E",require:"^map",link:e}};b.$inject=["Attr2Options","$parse"],angular.module("ngMap").directive("marker",b)}(),function(){"use strict";angular.module("ngMap").directive("overlayMapType",["Attr2Options","$window",function(a,b){return{restrict:"E",require:"^map",link:function(a,c,d,e){var f,g=d.initMethod||"insertAt";if(d.object){var h=a[d.object]?a:b;f=h[d.object],"function"==typeof f&&(f=new f)}if(!f)throw"invalid map-type object";a.$on("mapInitialized",function(a,b){if("insertAt"==g){var c=parseInt(d.index,10);b.overlayMapTypes.insertAt(c,f)}else"push"==g&&b.overlayMapTypes.push(f)}),e.addObject("overlayMapTypes",f)}}}])}(),function(){"use strict";var a=function(a,b){var c=a,d=function(a,d,e,f){if("false"===e.placesAutoComplete)return!1;var g=c.filter(e),h=c.getOptions(g),i=c.getEvents(a,g),j=new google.maps.places.Autocomplete(d[0],h);for(var k in i)google.maps.event.addListener(j,k,i[k]);var l=function(){b(function(){f&&f.$setViewValue(d.val())},100)};google.maps.event.addListener(j,"place_changed",l),d[0].addEventListener("change",l),e.$observe("types",function(a){if(a){var b=c.toOptionValue(a,{key:"types"});j.setTypes(b)}})};return{restrict:"A",require:"?ngModel",link:d}};a.$inject=["Attr2Options","$timeout"],angular.module("ngMap").directive("placesAutoComplete",a)}(),function(){"use strict";var a=function(a,b){var c,d=a.name;switch(delete a.name,d){case"circle":a.center instanceof google.maps.LatLng||(a.center=new google.maps.LatLng(0,0)),c=new google.maps.Circle(a);break;case"polygon":c=new google.maps.Polygon(a);break;case"polyline":c=new google.maps.Polyline(a);break;case"rectangle":c=new google.maps.Rectangle(a);break;case"groundOverlay":case"image":var e=a.url,f={opacity:a.opacity,clickable:a.clickable,id:a.id};c=new google.maps.GroundOverlay(e,a.bounds,f)}for(var g in b)b[g]&&google.maps.event.addListener(c,g,b[g]);return c},b=function(b,c){var d=b,e=function(b,e,f,g){var h,i,j=d.orgAttributes(e),k=d.filter(f),l=d.getOptions(k),m=d.getEvents(b,k);i=l.name,l.center instanceof google.maps.LatLng||(h=l.center);var n=a(l,m);g.addObject("shapes",n),h&&"circle"==i&&g.getGeoLocation(h).then(function(a){n.setCenter(a),n.centered&&n.map.setCenter(a);var d=f.geoCallback;d&&c(d)(b)}),g.observeAttrSetObj(j,f,n),e.bind("$destroy",function(){g.deleteObject("shapes",n)})};return{restrict:"E",require:"^map",link:e}};b.$inject=["Attr2Options","$parse"],angular.module("ngMap").directive("shape",b)}(),function(){"use strict";var a=function(a){var b=a,c=function(a,b,c){var d,e;b.container&&(e=document.getElementById(b.container),e=e||document.querySelector(b.container)),e?d=new google.maps.StreetViewPanorama(e,b):(d=a.getStreetView(),d.setOptions(b));for(var f in c)f&&google.maps.event.addListener(d,f,c[f]);return d},d=function(a,d,e,f){var g=(b.orgAttributes(d),b.filter(e)),h=b.getOptions(g),i=b.getControlOptions(g),j=angular.extend(h,i),k=b.getEvents(a,g);a.$on("mapInitialized",function(a,b){var d=c(b,j,k);b.setStreetView(d),!d.getPosition()&&d.setPosition(b.getCenter()),google.maps.event.addListener(d,"position_changed",function(){d.getPosition()!==b.getCenter()&&b.setCenter(d.getPosition())});var e=google.maps.event.addListener(b,"center_changed",function(){d.setPosition(b.getCenter()),google.maps.event.removeListener(e)})})};return{restrict:"E",require:"^map",link:d}};a.$inject=["Attr2Options"],angular.module("ngMap").directive("streetViewPanorama",a)}(),function(){"use strict";angular.module("ngMap").directive("trafficLayer",["Attr2Options",function(a){var b=a,c=function(a,b){var c=new google.maps.TrafficLayer(a);for(var d in b)google.maps.event.addListener(c,d,b[d]);return c};return{restrict:"E",require:"^map",link:function(a,d,e,f){var g=b.orgAttributes(d),h=b.filter(e),i=b.getOptions(h),j=b.getEvents(a,h),k=c(i,j);f.addObject("trafficLayers",k),f.observeAttrSetObj(g,e,k),d.bind("$destroy",function(){f.deleteObject("trafficLayers",k)})}}}])}(),function(){"use strict";angular.module("ngMap").directive("transitLayer",["Attr2Options",function(a){var b=a,c=function(a,b){var c=new google.maps.TransitLayer(a);for(var d in b)google.maps.event.addListener(c,d,b[d]);return c};return{restrict:"E",require:"^map",link:function(a,d,e,f){var g=b.orgAttributes(d),h=b.filter(e),i=b.getOptions(h),j=b.getEvents(a,h),k=c(i,j);f.addObject("transitLayers",k),f.observeAttrSetObj(g,e,k),d.bind("$destroy",function(){f.deleteObject("transitLayers",k)})}}}])}(),function(){"use strict";angular.module("ngMap").directive("weatherLayer",["Attr2Options",function(a){var b=a,c=function(a,b){var c=new google.maps.weather.WeatherLayer(a);for(var d in b)google.maps.event.addListener(c,d,b[d]);return c};return{restrict:"E",require:"^map",link:function(a,d,e,f){var g=b.orgAttributes(d),h=b.filter(e),i=b.getOptions(h),j=b.getEvents(a,h),k=c(i,j);f.addObject("weatherLayers",k),f.observeAttrSetObj(g,e,k),d.bind("$destroy",function(){f.deleteObject("weatherLayers",k)})}}}])}(),function(a,b){"use strict";var c=["ng","oc.lazyLoad"],d={},e=[],f=[],g=[],h=[],i=a.noop,j={},k=[],l=a.module("oc.lazyLoad",["ng"]);l.provider("$ocLazyLoad",["$controllerProvider","$provide","$compileProvider","$filterProvider","$injector","$animateProvider",function(l,m,p,q,r,s){function t(b,d,e){if(d){var f,h,l,m=[];for(f=d.length-1;f>=0;f--)if(h=d[f],a.isString(h)||(h=w(h)),h&&-1===k.indexOf(h)&&(!y[h]||-1!==g.indexOf(h))){var n=-1===c.indexOf(h);if(l=o(h),n&&(c.push(h),t(b,l.requires,e)),l._runBlocks.length>0)for(j[h]=[];l._runBlocks.length>0;)j[h].push(l._runBlocks.shift());a.isDefined(j[h])&&(n||e.rerun)&&(m=m.concat(j[h])),v(b,l._invokeQueue,h,e.reconfig),v(b,l._configBlocks,h,e.reconfig),i(n?"ocLazyLoad.moduleLoaded":"ocLazyLoad.moduleReloaded",h),d.pop(),k.push(h)}var p=b.getInstanceInjector();a.forEach(m,function(a){p.invoke(a)})}}function u(b,c){function e(b,c){var d,e=!0;return c.length&&(d=f(b),a.forEach(c,function(a){e=e&&f(a)!==d})),e}function f(b){return a.isArray(b)?F(b.toString()):a.isObject(b)?F(E(b)):a.isDefined(b)&&null!==b?F(b.toString()):b}var g=b[2][0],h=b[1],j=!1;a.isUndefined(d[c])&&(d[c]={}),a.isUndefined(d[c][h])&&(d[c][h]={});var k=function(a,b){d[c][h].hasOwnProperty(a)||(d[c][h][a]=[]),e(b,d[c][h][a])&&(j=!0,d[c][h][a].push(b),i("ocLazyLoad.componentLoaded",[c,h,a]))};if(a.isString(g))k(g,b[2][1]);else{if(!a.isObject(g))return!1;a.forEach(g,function(b,c){a.isString(b)?k(b,g[1]):k(c,b)})}return j}function v(b,c,d,f){if(c){var g,h,i,j;for(g=0,h=c.length;h>g;g++)if(i=c[g],a.isArray(i)){if(null!==b){if(!b.hasOwnProperty(i[0]))throw new Error("unsupported provider "+i[0]);j=b[i[0]]} -var k=u(i,d);if("invoke"!==i[1])k&&a.isDefined(j)&&j[i[1]].apply(j,i[2]);else{var l=function(b){var c=e.indexOf(d+"-"+b);(-1===c||f)&&(-1===c&&e.push(d+"-"+b),a.isDefined(j)&&j[i[1]].apply(j,i[2]))};if(a.isFunction(i[2][0]))l(i[2][0]);else if(a.isArray(i[2][0]))for(var m=0,n=i[2][0].length;n>m;m++)a.isFunction(i[2][0][m])&&l(i[2][0][m])}}}}function w(b){var c=null;return a.isString(b)?c=b:a.isObject(b)&&b.hasOwnProperty("name")&&a.isString(b.name)&&(c=b.name),c}function x(b){if(!a.isString(b))return!1;try{return o(b)}catch(c){if(/No module/.test(c)||c.message.indexOf("$injector:nomod")>-1)return!1}}var y={},z={$controllerProvider:l,$compileProvider:p,$filterProvider:q,$provide:m,$injector:r,$animateProvider:s},A=!1,B=!1,C=[],D={};C.push=function(a){-1===this.indexOf(a)&&Array.prototype.push.apply(this,arguments)},this.config=function(b){a.isDefined(b.modules)&&(a.isArray(b.modules)?a.forEach(b.modules,function(a){y[a.name]=a}):y[b.modules.name]=b.modules),a.isDefined(b.debug)&&(A=b.debug),a.isDefined(b.events)&&(B=b.events)},this._init=function(d){if(0===f.length){var e=[d],g=["ng:app","ng-app","x-ng-app","data-ng-app"],i=/\sng[:\-]app(:\s*([\w\d_]+);?)?\s/,j=function(a){return a&&e.push(a)};a.forEach(g,function(b){g[b]=!0,j(document.getElementById(b)),b=b.replace(":","\\:"),"undefined"!=typeof d[0]&&d[0].querySelectorAll&&(a.forEach(d[0].querySelectorAll("."+b),j),a.forEach(d[0].querySelectorAll("."+b+"\\:"),j),a.forEach(d[0].querySelectorAll("["+b+"]"),j))}),a.forEach(e,function(b){if(0===f.length){var c=" "+d.className+" ",e=i.exec(c);e?f.push((e[2]||"").replace(/\s+/g,",")):a.forEach(b.attributes,function(a){0===f.length&&g[a.name]&&f.push(a.value)})}})}0!==f.length||(b.jasmine||b.mocha)&&a.isDefined(a.mock)||console.error("No module found during bootstrap, unable to init ocLazyLoad. You should always use the ng-app directive or angular.boostrap when you use ocLazyLoad.");var k=function l(b){if(-1===c.indexOf(b)){c.push(b);var d=a.module(b);v(null,d._invokeQueue,b),v(null,d._configBlocks,b),a.forEach(d.requires,l)}};a.forEach(f,function(a){k(a)}),f=[],h.pop()};var E=function(b){try{return JSON.stringify(b)}catch(c){var d=[];return JSON.stringify(b,function(b,c){if(a.isObject(c)&&null!==c){if(-1!==d.indexOf(c))return;d.push(c)}return c})}},F=function(a){var b,c,d,e=0;if(0==a.length)return e;for(b=0,d=a.length;d>b;b++)c=a.charCodeAt(b),e=(e<<5)-e+c,e|=0;return e};this.$get=["$log","$rootElement","$rootScope","$cacheFactory","$q",function(b,e,g,j,l){function m(a){var c=l.defer();return b.error(a.message),c.reject(a),c.promise}var p,q=j("ocLazyLoad");return A||(b={},b.error=a.noop,b.warn=a.noop,b.info=a.noop),z.getInstanceInjector=function(){return p?p:p=e.data("$injector")||a.injector()},i=function(a,c){B&&g.$broadcast(a,c),A&&b.info(a,c)},{_broadcast:i,_$log:b,_getFilesCache:function(){return q},toggleWatch:function(a){a?h.push(!0):h.pop()},getModuleConfig:function(b){if(!a.isString(b))throw new Error("You need to give the name of the module to get");return y[b]?a.copy(y[b]):null},setModuleConfig:function(b){if(!a.isObject(b))throw new Error("You need to give the module config object to set");return y[b.name]=b,b},getModules:function(){return c},isLoaded:function(b){var d=function(a){var b=c.indexOf(a)>-1;return b||(b=!!x(a)),b};if(a.isString(b)&&(b=[b]),a.isArray(b)){var e,f;for(e=0,f=b.length;f>e;e++)if(!d(b[e]))return!1;return!0}throw new Error("You need to define the module(s) name(s)")},_getModuleName:w,_getModule:function(a){try{return o(a)}catch(b){throw(/No module/.test(b)||b.message.indexOf("$injector:nomod")>-1)&&(b.message='The module "'+E(a)+'" that you are trying to load does not exist. '+b.message),b}},moduleExists:x,_loadDependencies:function(b,c){var d,e,f,g=[],h=this;if(b=h._getModuleName(b),null===b)return l.when();try{d=h._getModule(b)}catch(i){return m(i)}return e=h.getRequires(d),a.forEach(e,function(d){if(a.isString(d)){var e=h.getModuleConfig(d);if(null===e)return void C.push(d);d=e,e.name=void 0}if(h.moduleExists(d.name))return f=d.files.filter(function(a){return h.getModuleConfig(d.name).files.indexOf(a)<0}),0!==f.length&&h._$log.warn('Module "',b,'" attempted to redefine configuration for dependency. "',d.name,'"\n Additional Files Loaded:',f),a.isDefined(h.filesLoader)?void g.push(h.filesLoader(d,c).then(function(){return h._loadDependencies(d)})):m(new Error("Error: New dependencies need to be loaded from external files ("+d.files+"), but no loader has been defined."));if(a.isArray(d)){var i=[];a.forEach(d,function(a){var b=h.getModuleConfig(a);null===b?i.push(a):b.files&&(i=i.concat(b.files))}),i.length>0&&(d={files:i})}else a.isObject(d)&&d.hasOwnProperty("name")&&d.name&&(h.setModuleConfig(d),C.push(d.name));if(a.isDefined(d.files)&&0!==d.files.length){if(!a.isDefined(h.filesLoader))return m(new Error('Error: the module "'+d.name+'" is defined in external files ('+d.files+"), but no loader has been defined."));g.push(h.filesLoader(d,c).then(function(){return h._loadDependencies(d)}))}}),l.all(g)},inject:function(b){var c=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],d=arguments.length<=2||void 0===arguments[2]?!1:arguments[2],e=this,g=l.defer();if(a.isDefined(b)&&null!==b){if(a.isArray(b)){var h=[];return a.forEach(b,function(a){h.push(e.inject(a,c,d))}),l.all(h)}e._addToLoadList(e._getModuleName(b),!0,d)}if(f.length>0){var i=f.slice(),j=function m(a){C.push(a),D[a]=g.promise,e._loadDependencies(a,c).then(function(){try{k=[],t(z,C,c)}catch(a){return e._$log.error(a.message),void g.reject(a)}f.length>0?m(f.shift()):g.resolve(i)},function(a){g.reject(a)})};j(f.shift())}else{if(c&&c.name&&D[c.name])return D[c.name];g.resolve()}return g.promise},getRequires:function(b){var d=[];return a.forEach(b.requires,function(a){-1===c.indexOf(a)&&d.push(a)}),d},_invokeQueue:v,_registerInvokeList:u,_register:t,_addToLoadList:n,_unregister:function(b){a.isDefined(b)&&a.isArray(b)&&a.forEach(b,function(a){d[a]=void 0})}}}],this._init(a.element(b.document))}]);var m=a.bootstrap;a.bootstrap=function(b,c,d){return a.forEach(c.slice(),function(a){n(a,!0,!0)}),m(b,c,d)};var n=function(b,c,d){(h.length>0||c)&&a.isString(b)&&-1===f.indexOf(b)&&(f.push(b),d&&g.push(b))},o=a.module;a.module=function(a,b,c){return n(a,!1,!0),o(a,b,c)},"undefined"!=typeof module&&"undefined"!=typeof exports&&module.exports===exports&&(module.exports="oc.lazyLoad")}(angular,window),function(a){"use strict";a.module("oc.lazyLoad").directive("ocLazyLoad",["$ocLazyLoad","$compile","$animate","$parse","$timeout",function(b,c,d,e,f){return{restrict:"A",terminal:!0,priority:1e3,compile:function(f,g){var h=f[0].innerHTML;return f.html(""),function(f,g,i){var j=e(i.ocLazyLoad);f.$watch(function(){return j(f)||i.ocLazyLoad},function(e){a.isDefined(e)&&b.load(e).then(function(){d.enter(h,g),c(g.contents())(f)})},!0)}}}}])}(angular),function(a){"use strict";a.module("oc.lazyLoad").config(["$provide",function(b){b.decorator("$ocLazyLoad",["$delegate","$q","$window","$interval",function(b,c,d,e){var f=!1,g=!1,h=d.document.getElementsByTagName("head")[0]||d.document.getElementsByTagName("body")[0];return b.buildElement=function(i,j,k){var l,m,n=c.defer(),o=b._getFilesCache(),p=function(a){var b=(new Date).getTime();return a.indexOf("?")>=0?"&"===a.substring(0,a.length-1)?a+"_dc="+b:a+"&_dc="+b:a+"?_dc="+b};switch(a.isUndefined(o.get(j))&&o.put(j,n.promise),i){case"css":l=d.document.createElement("link"),l.type="text/css",l.rel="stylesheet",l.href=k.cache===!1?p(j):j;break;case"js":l=d.document.createElement("script"),l.src=k.cache===!1?p(j):j;break;default:o.remove(j),n.reject(new Error('Requested type "'+i+'" is not known. Could not inject "'+j+'"'))}l.onload=l.onreadystatechange=function(a){l.readyState&&!/^c|loade/.test(l.readyState)||m||(l.onload=l.onreadystatechange=null,m=1,b._broadcast("ocLazyLoad.fileLoaded",j),n.resolve())},l.onerror=function(){o.remove(j),n.reject(new Error("Unable to load "+j))},l.async=k.serie?0:1;var q=h.lastChild;if(k.insertBefore){var r=a.element(a.isDefined(window.jQuery)?k.insertBefore:document.querySelector(k.insertBefore));r&&r.length>0&&(q=r[0])}if(q.parentNode.insertBefore(l,q),"css"==i){if(!f){var s=d.navigator.userAgent.toLowerCase();if(/iP(hone|od|ad)/.test(d.navigator.platform)){var t=d.navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/),u=parseFloat([parseInt(t[1],10),parseInt(t[2],10),parseInt(t[3]||0,10)].join("."));g=6>u}else if(s.indexOf("android")>-1){var v=parseFloat(s.slice(s.indexOf("android")+8));g=4.4>v}else if(s.indexOf("safari")>-1){var w=s.match(/version\/([\.\d]+)/i);g=w&&w[1]&&parseFloat(w[1])<6}}if(g)var x=1e3,y=e(function(){try{l.sheet.cssRules,e.cancel(y),l.onload()}catch(a){--x<=0&&l.onerror()}},20)}return n.promise},b}])}])}(angular),function(a){"use strict";a.module("oc.lazyLoad").config(["$provide",function(b){b.decorator("$ocLazyLoad",["$delegate","$q",function(b,c){return b.filesLoader=function(d){var e=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],f=[],g=[],h=[],i=[],j=null,k=b._getFilesCache();b.toggleWatch(!0),a.extend(e,d);var l=function(c){var d,l=null;if(a.isObject(c)&&(l=c.type,c=c.path),j=k.get(c),a.isUndefined(j)||e.cache===!1){if(null!==(d=/^(css|less|html|htm|js)?(?=!)/.exec(c))&&(l=d[1],c=c.substr(d[1].length+1,c.length)),!l)if(null!==(d=/[.](css|less|html|htm|js)?((\?|#).*)?$/.exec(c)))l=d[1];else{if(b.jsLoader.hasOwnProperty("ocLazyLoadLoader")||!b.jsLoader.hasOwnProperty("requirejs"))return void b._$log.error("File type could not be determined. "+c);l="js"}"css"!==l&&"less"!==l||-1!==f.indexOf(c)?"html"!==l&&"htm"!==l||-1!==g.indexOf(c)?"js"===l||-1===h.indexOf(c)?h.push(c):b._$log.error("File type is not valid. "+c):g.push(c):f.push(c)}else j&&i.push(j)};if(e.serie?l(e.files.shift()):a.forEach(e.files,function(a){l(a)}),f.length>0){var m=c.defer();b.cssLoader(f,function(c){a.isDefined(c)&&b.cssLoader.hasOwnProperty("ocLazyLoadLoader")?(b._$log.error(c),m.reject(c)):m.resolve()},e),i.push(m.promise)}if(g.length>0){var n=c.defer();b.templatesLoader(g,function(c){a.isDefined(c)&&b.templatesLoader.hasOwnProperty("ocLazyLoadLoader")?(b._$log.error(c),n.reject(c)):n.resolve()},e),i.push(n.promise)}if(h.length>0){var o=c.defer();b.jsLoader(h,function(c){a.isDefined(c)&&(b.jsLoader.hasOwnProperty("ocLazyLoadLoader")||b.jsLoader.hasOwnProperty("requirejs"))?(b._$log.error(c),o.reject(c)):o.resolve()},e),i.push(o.promise)}if(0===i.length){var p=c.defer(),q="Error: no file to load has been found, if you're trying to load an existing module you should use the 'inject' method instead of 'load'.";return b._$log.error(q),p.reject(q),p.promise}return e.serie&&e.files.length>0?c.all(i).then(function(){return b.filesLoader(d,e)}):c.all(i)["finally"](function(a){return b.toggleWatch(!1),a})},b.load=function(d){var e,f=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],g=this,h=null,i=[],j=c.defer(),k=a.copy(d),l=a.copy(f);if(a.isArray(k))return a.forEach(k,function(a){i.push(g.load(a,l))}),c.all(i).then(function(a){j.resolve(a)},function(a){j.reject(a)}),j.promise;if(a.isString(k)?(h=g.getModuleConfig(k),h||(h={files:[k]})):a.isObject(k)&&(h=a.isDefined(k.path)&&a.isDefined(k.type)?{files:[k]}:g.setModuleConfig(k)),null===h){var m=g._getModuleName(k);return e='Module "'+(m||"unknown")+'" is not configured, cannot load.',b._$log.error(e),j.reject(new Error(e)),j.promise}a.isDefined(h.template)&&(a.isUndefined(h.files)&&(h.files=[]),a.isString(h.template)?h.files.push(h.template):a.isArray(h.template)&&h.files.concat(h.template));var n=a.extend({},l,h);return a.isUndefined(h.files)&&a.isDefined(h.name)&&b.moduleExists(h.name)?b.inject(h.name,n,!0):(b.filesLoader(h,n).then(function(){b.inject(null,n).then(function(a){j.resolve(a)},function(a){j.reject(a)})},function(a){j.reject(a)}),j.promise)},b}])}])}(angular),function(a){"use strict";a.module("oc.lazyLoad").config(["$provide",function(b){b.decorator("$ocLazyLoad",["$delegate","$q",function(b,c){return b.cssLoader=function(d,e,f){var g=[];a.forEach(d,function(a){g.push(b.buildElement("css",a,f))}),c.all(g).then(function(){e()},function(a){e(a)})},b.cssLoader.ocLazyLoadLoader=!0,b}])}])}(angular),function(a){"use strict";a.module("oc.lazyLoad").config(["$provide",function(b){b.decorator("$ocLazyLoad",["$delegate","$q",function(b,c){return b.jsLoader=function(d,e,f){var g=[];a.forEach(d,function(a){g.push(b.buildElement("js",a,f))}),c.all(g).then(function(){e()},function(a){e(a)})},b.jsLoader.ocLazyLoadLoader=!0,b}])}])}(angular),function(a){"use strict";a.module("oc.lazyLoad").config(["$provide",function(b){b.decorator("$ocLazyLoad",["$delegate","$templateCache","$q","$http",function(b,c,d,e){return b.templatesLoader=function(f,g,h){var i=[],j=b._getFilesCache();return a.forEach(f,function(b){var f=d.defer();i.push(f.promise),e.get(b,h).success(function(d){a.isString(d)&&d.length>0&&a.forEach(a.element(d),function(a){"SCRIPT"===a.nodeName&&"text/ng-template"===a.type&&c.put(a.id,a.innerHTML)}),a.isUndefined(j.get(b))&&j.put(b,!0),f.resolve()}).error(function(a){f.reject(new Error('Unable to load template file "'+b+'": '+a))})}),d.all(i).then(function(){g()},function(a){g(a)})},b.templatesLoader.ocLazyLoadLoader=!0,b}])}])}(angular),Array.prototype.indexOf||(Array.prototype.indexOf=function(a,b){var c;if(null==this)throw new TypeError('"this" is null or not defined');var d=Object(this),e=d.length>>>0;if(0===e)return-1;var f=+b||0;if(Math.abs(f)===1/0&&(f=0),f>=e)return-1;for(c=Math.max(f>=0?f:e-Math.abs(f),0);e>c;){if(c in d&&d[c]===a)return c;c++}return-1}),"undefined"==typeof PDFJS&&(("undefined"!=typeof window?window:this).PDFJS={}),PDFJS.version="1.1.551",PDFJS.build="2a5616c",function(){"use strict";function a(a){PDFJS.verbosity>=PDFJS.VERBOSITY_LEVELS.infos&&console.log("Info: "+a)}function b(a){PDFJS.verbosity>=PDFJS.VERBOSITY_LEVELS.warnings&&console.log("Warning: "+a)}function c(a){b("Deprecated API usage: "+a)}function d(a){throw PDFJS.verbosity>=PDFJS.VERBOSITY_LEVELS.errors&&(console.log("Error: "+a),console.log(e())),I.notify(H.unknown),new Error(a)}function e(){try{throw new Error}catch(a){return a.stack?a.stack.split("\n").slice(2).join("\n"):""}}function f(a,b){a||d(b)}function g(a,b){if(!b)return a;if(/^[a-z][a-z0-9+\-.]*:/i.test(b))return b;var c;if("/"===b.charAt(0))return c=a.indexOf("://"),"/"===b.charAt(1)?++c:c=a.indexOf("/",c+3),a.substring(0,c)+b;var d=a.length;c=a.lastIndexOf("#"),d=c>=0?c:d,c=a.lastIndexOf("?",d),d=c>=0?c:d;var e=a.lastIndexOf("/",d);return a.substring(0,e+1)+b}function h(a,b){if(!a)return!1;var c=/^[a-z][a-z0-9+\-.]*(?=:)/i.exec(a);if(!c)return b;switch(c=c[0].toLowerCase()){case"http":case"https":case"ftp":case"mailto":case"tel":return!0;default:return!1}}function i(a,b,c){return Object.defineProperty(a,b,{value:c,enumerable:!0,configurable:!0,writable:!1}),c}function j(){switch(PDFJS.openExternalLinksInNewWindow&&(b("PDFJS.openExternalLinksInNewWindow is deprecated, use PDFJS.externalLinkTarget instead."),PDFJS.externalLinkTarget===J.NONE&&(PDFJS.externalLinkTarget=J.BLANK),PDFJS.openExternalLinksInNewWindow=!1),PDFJS.externalLinkTarget){case J.NONE:return!1;case J.SELF:case J.BLANK:case J.PARENT:case J.TOP:return!0}return b("PDFJS.externalLinkTarget is invalid: "+PDFJS.externalLinkTarget),PDFJS.externalLinkTarget=J.NONE,!1}function k(a){f(null!==a&&"object"==typeof a&&void 0!==a.length,"Invalid argument for bytesToString");var b=a.length,c=8192;if(c>b)return String.fromCharCode.apply(null,a);for(var d=[],e=0;b>e;e+=c){var g=Math.min(e+c,b),h=a.subarray(e,g);d.push(String.fromCharCode.apply(null,h))}return d.join("")}function l(a){f("string"==typeof a,"Invalid argument for stringToBytes");for(var b=a.length,c=new Uint8Array(b),d=0;b>d;++d)c[d]=255&a.charCodeAt(d);return c}function m(a){return String.fromCharCode(a>>24&255,a>>16&255,a>>8&255,255&a)}function n(){var a=new Uint8Array(2);a[0]=1;var b=new Uint16Array(a.buffer);return 1===b[0]}function o(){var a=document.createElement("canvas");a.width=a.height=1;var b=a.getContext("2d"),c=b.createImageData(1,1);return"undefined"!=typeof c.data.buffer}function p(a){return"number"==typeof a}function q(a){return a instanceof Array}function r(a){return"object"==typeof a&&null!==a&&void 0!==a.byteLength}function s(){var a={};return a.promise=new Promise(function(b,c){a.resolve=b,a.reject=c}),a}function t(a,b){this.name=a,this.comObj=b,this.callbackIndex=1,this.postMessageTransfers=!0;var c=this.callbacksCapabilities={},e=this.actionHandler={};e.console_log=[function(a){console.log.apply(console,a)}],e.console_error=[function(a){console.error.apply(console,a)}],e._unsupported_feature=[function(a){I.notify(a)}],b.onmessage=function(a){var f=a.data;if(f.isReply){var g=f.callbackId;if(f.callbackId in c){var h=c[g];delete c[g],"error"in f?h.reject(f.error):h.resolve(f.data)}else d("Cannot resolve callback "+g)}else if(f.action in e){var i=e[f.action];f.callbackId?Promise.resolve().then(function(){return i[0].call(i[1],f.data)}).then(function(a){b.postMessage({isReply:!0,callbackId:f.callbackId,data:a})},function(a){a instanceof Error&&(a+=""),b.postMessage({isReply:!0,callbackId:f.callbackId,error:a})}):i[0].call(i[1],f.data)}else d("Unknown action from worker: "+f.action)}}function u(a,c,d){var e=new Image;e.onload=function(){d.resolve(a,e)},e.onerror=function(){d.resolve(a,null),b("Error during JPEG image loading")},e.src=c}function v(a,b){var c=document.createElement("canvas");return c.width=a,c.height=b,c}function w(a){a.mozCurrentTransform||(a._originalSave=a.save,a._originalRestore=a.restore,a._originalRotate=a.rotate,a._originalScale=a.scale,a._originalTranslate=a.translate,a._originalTransform=a.transform,a._originalSetTransform=a.setTransform,a._transformMatrix=a._transformMatrix||[1,0,0,1,0,0],a._transformStack=[],Object.defineProperty(a,"mozCurrentTransform",{get:function(){return this._transformMatrix}}),Object.defineProperty(a,"mozCurrentTransformInverse",{get:function(){var a=this._transformMatrix,b=a[0],c=a[1],d=a[2],e=a[3],f=a[4],g=a[5],h=b*e-c*d,i=c*d-b*e;return[e/h,c/i,d/i,b/h,(e*f-d*g)/i,(c*f-b*g)/h]}}),a.save=function(){var a=this._transformMatrix;this._transformStack.push(a),this._transformMatrix=a.slice(0,6),this._originalSave()},a.restore=function(){var a=this._transformStack.pop();a&&(this._transformMatrix=a,this._originalRestore())},a.translate=function(a,b){var c=this._transformMatrix;c[4]=c[0]*a+c[2]*b+c[4],c[5]=c[1]*a+c[3]*b+c[5],this._originalTranslate(a,b)},a.scale=function(a,b){var c=this._transformMatrix;c[0]=c[0]*a,c[1]=c[1]*a,c[2]=c[2]*b,c[3]=c[3]*b,this._originalScale(a,b)},a.transform=function(b,c,d,e,f,g){var h=this._transformMatrix;this._transformMatrix=[h[0]*b+h[2]*c,h[1]*b+h[3]*c,h[0]*d+h[2]*e,h[1]*d+h[3]*e,h[0]*f+h[2]*g+h[4],h[1]*f+h[3]*g+h[5]],a._originalTransform(b,c,d,e,f,g)},a.setTransform=function(b,c,d,e,f,g){this._transformMatrix=[b,c,d,e,f,g],a._originalSetTransform(b,c,d,e,f,g)},a.rotate=function(a){var b=Math.cos(a),c=Math.sin(a),d=this._transformMatrix;this._transformMatrix=[d[0]*b+d[2]*c,d[1]*b+d[3]*c,d[0]*-c+d[2]*b,d[1]*-c+d[3]*b,d[4],d[5]],this._originalRotate(a)})}function x(a){var b,c,d,e,f=1e3,g=a.width,h=a.height,i=g+1,j=new Uint8Array(i*(h+1)),k=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),l=g+7&-8,m=a.data,n=new Uint8Array(l*h),o=0;for(b=0,e=m.length;e>b;b++)for(var p=128,q=m[b];p>0;)n[o++]=q&p?0:255,p>>=1;var r=0;for(o=0,0!==n[o]&&(j[0]=1,++r),c=1;g>c;c++)n[o]!==n[o+1]&&(j[c]=n[o]?2:1,++r),o++;for(0!==n[o]&&(j[c]=2,++r),b=1;h>b;b++){o=b*l,d=b*i,n[o-l]!==n[o]&&(j[d]=n[o]?1:8,++r);var s=(n[o]?4:0)+(n[o-l]?8:0);for(c=1;g>c;c++)s=(s>>2)+(n[o+1]?4:0)+(n[o-l+1]?8:0),k[s]&&(j[d+c]=k[s],++r),o++;if(n[o-l]!==n[o]&&(j[d+c]=n[o]?2:4,++r),r>f)return null}for(o=l*(h-1),d=b*i,0!==n[o]&&(j[d]=8,++r),c=1;g>c;c++)n[o]!==n[o+1]&&(j[d+c]=n[o]?4:8,++r),o++;if(0!==n[o]&&(j[d+c]=4,++r),r>f)return null;var t=new Int32Array([0,i,-1,0,-i,0,0,0,1]),u=[];for(b=0;r&&h>=b;b++){for(var v=b*i,w=v+g;w>v&&!j[v];)v++;if(v!==w){var x,y=[v%i,b],z=j[v],A=v;do{var B=t[z];do v+=B;while(!j[v]);x=j[v],5!==x&&10!==x?(z=x,j[v]=0):(z=x&51*z>>4,j[v]&=z>>2|z<<2),y.push(v%i),y.push(v/i|0),--r}while(A!==v);u.push(y),--b}}var C=function(a){a.save(),a.scale(1/g,-1/h),a.translate(0,-h),a.beginPath();for(var b=0,c=u.length;c>b;b++){var d=u[b];a.moveTo(d[0],d[1]);for(var e=2,f=d.length;f>e;e+=2)a.lineTo(d[e],d[e+1])}a.fill(),a.beginPath(),a.restore()};return C}function y(a){var b=ma[a[0]];return b||d("Unknown IR type: "+a[0]),b.fromIR(a)}var z="undefined"==typeof window?this:window,A="undefined"==typeof window,B=[.001,0,0,.001,0,0],C={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4},D={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},E={WIDGET:1,TEXT:2,LINK:3},F={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5};z.PDFJS||(z.PDFJS={}),z.PDFJS.pdfBug=!1,PDFJS.VERBOSITY_LEVELS={errors:0,warnings:1,infos:5};var G=PDFJS.OPS={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotations:78,endAnnotations:79,beginAnnotation:80,endAnnotation:81,paintJpegXObject:82,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91},H=PDFJS.UNSUPPORTED_FEATURES={unknown:"unknown",forms:"forms",javaScript:"javaScript",smask:"smask",shadingPattern:"shadingPattern",font:"font"},I=PDFJS.UnsupportedManager=function(){var a=[];return{listen:function(b){a.push(b)},notify:function(c){b('Unsupported feature "'+c+'"');for(var d=0,e=a.length;e>d;d++)a[d](c)}}}();PDFJS.isValidUrl=h,PDFJS.shadow=i;var J=PDFJS.LinkTarget={NONE:0,SELF:1,BLANK:2,PARENT:3,TOP:4},K=["","_self","_blank","_parent","_top"];PDFJS.isExternalLinkTargetSet=j;var L=PDFJS.PasswordResponses={NEED_PASSWORD:1,INCORRECT_PASSWORD:2},M=function(){function a(a,b){this.name="PasswordException",this.message=a,this.code=b}return a.prototype=new Error,a.constructor=a,a}();PDFJS.PasswordException=M;var N=function(){function a(a,b){this.name="UnknownErrorException",this.message=a,this.details=b}return a.prototype=new Error,a.constructor=a,a}();PDFJS.UnknownErrorException=N;var O=function(){function a(a){this.name="InvalidPDFException",this.message=a}return a.prototype=new Error,a.constructor=a,a}();PDFJS.InvalidPDFException=O;var P=function(){function a(a){this.name="MissingPDFException",this.message=a}return a.prototype=new Error,a.constructor=a,a}();PDFJS.MissingPDFException=P;var Q=function(){function a(a,b){this.name="UnexpectedResponseException",this.message=a,this.status=b}return a.prototype=new Error,a.constructor=a,a}();PDFJS.UnexpectedResponseException=Q;(function(){function a(a){this.message=a}return a.prototype=new Error,a.prototype.name="NotImplementedException",a.constructor=a,a})(),function(){function a(a,b){this.begin=a,this.end=b,this.message="Missing data ["+a+", "+b+")"}return a.prototype=new Error,a.prototype.name="MissingDataException",a.constructor=a,a}(),function(){function a(a){this.message=a}return a.prototype=new Error,a.prototype.name="XRefParseException",a.constructor=a,a}();Object.defineProperty(PDFJS,"isLittleEndian",{configurable:!0,get:function(){return i(PDFJS,"isLittleEndian",n())}}),Object.defineProperty(PDFJS,"hasCanvasTypedArrays",{configurable:!0,get:function(){return i(PDFJS,"hasCanvasTypedArrays",o())}});var R=function(){function a(a,b){this.buffer=a,this.byteLength=a.length,this.length=void 0===b?this.byteLength>>2:b,c(this.length)}function b(a){return{get:function(){var b=this.buffer,c=a<<2;return(b[c]|b[c+1]<<8|b[c+2]<<16|b[c+3]<<24)>>>0},set:function(b){var c=this.buffer,d=a<<2;c[d]=255&b,c[d+1]=b>>8&255,c[d+2]=b>>16&255,c[d+3]=b>>>24&255}}}function c(c){for(;c>d;)Object.defineProperty(a.prototype,d,b(d)),d++}a.prototype=Object.create(null);var d=0;return a}(),S=[1,0,0,1,0,0],T=PDFJS.Util=function(){function a(){}var b=["rgb(",0,",",0,",",0,")"];return a.makeCssRgb=function(a,c,d){return b[1]=a,b[3]=c,b[5]=d,b.join("")},a.transform=function(a,b){return[a[0]*b[0]+a[2]*b[1],a[1]*b[0]+a[3]*b[1],a[0]*b[2]+a[2]*b[3],a[1]*b[2]+a[3]*b[3],a[0]*b[4]+a[2]*b[5]+a[4],a[1]*b[4]+a[3]*b[5]+a[5]]},a.applyTransform=function(a,b){var c=a[0]*b[0]+a[1]*b[2]+b[4],d=a[0]*b[1]+a[1]*b[3]+b[5];return[c,d]},a.applyInverseTransform=function(a,b){var c=b[0]*b[3]-b[1]*b[2],d=(a[0]*b[3]-a[1]*b[2]+b[2]*b[5]-b[4]*b[3])/c,e=(-a[0]*b[1]+a[1]*b[0]+b[4]*b[1]-b[5]*b[0])/c;return[d,e]},a.getAxialAlignedBoundingBox=function(b,c){var d=a.applyTransform(b,c),e=a.applyTransform(b.slice(2,4),c),f=a.applyTransform([b[0],b[3]],c),g=a.applyTransform([b[2],b[1]],c);return[Math.min(d[0],e[0],f[0],g[0]),Math.min(d[1],e[1],f[1],g[1]),Math.max(d[0],e[0],f[0],g[0]),Math.max(d[1],e[1],f[1],g[1])]},a.inverseTransform=function(a){var b=a[0]*a[3]-a[1]*a[2];return[a[3]/b,-a[1]/b,-a[2]/b,a[0]/b,(a[2]*a[5]-a[4]*a[3])/b,(a[4]*a[1]-a[5]*a[0])/b]},a.apply3dTransform=function(a,b){return[a[0]*b[0]+a[1]*b[1]+a[2]*b[2],a[3]*b[0]+a[4]*b[1]+a[5]*b[2],a[6]*b[0]+a[7]*b[1]+a[8]*b[2]]},a.singularValueDecompose2dScale=function(a){var b=[a[0],a[2],a[1],a[3]],c=a[0]*b[0]+a[1]*b[2],d=a[0]*b[1]+a[1]*b[3],e=a[2]*b[0]+a[3]*b[2],f=a[2]*b[1]+a[3]*b[3],g=(c+f)/2,h=Math.sqrt((c+f)*(c+f)-4*(c*f-e*d))/2,i=g+h||1,j=g-h||1;return[Math.sqrt(i),Math.sqrt(j)]},a.normalizeRect=function(a){var b=a.slice(0);return a[0]>a[2]&&(b[0]=a[2],b[2]=a[0]),a[1]>a[3]&&(b[1]=a[3],b[3]=a[1]),b},a.intersect=function(b,c){function d(a,b){return a-b}var e=[b[0],b[2],c[0],c[2]].sort(d),f=[b[1],b[3],c[1],c[3]].sort(d),g=[];return b=a.normalizeRect(b),c=a.normalizeRect(c),e[0]===b[0]&&e[1]===c[0]||e[0]===c[0]&&e[1]===b[0]?(g[0]=e[1],g[2]=e[2],f[0]===b[1]&&f[1]===c[1]||f[0]===c[1]&&f[1]===b[1]?(g[1]=f[1],g[3]=f[2],g):!1):!1},a.sign=function(a){return 0>a?-1:1},a.appendToArray=function(a,b){Array.prototype.push.apply(a,b)},a.prependToArray=function(a,b){Array.prototype.unshift.apply(a,b)},a.extendObj=function(a,b){for(var c in b)a[c]=b[c]},a.getInheritableProperty=function(a,b){for(;a&&!a.has(b);)a=a.get("Parent");return a?a.get(b):null},a.inherit=function(a,b,c){a.prototype=Object.create(b.prototype),a.prototype.constructor=a;for(var d in c)a.prototype[d]=c[d]},a.loadScript=function(a,b){var c=document.createElement("script"),d=!1;c.setAttribute("src",a),b&&(c.onload=function(){d||b(),d=!0}),document.getElementsByTagName("head")[0].appendChild(c)},a}();PDFJS.PageViewport=function(){function a(a,b,c,d,e,f){this.viewBox=a,this.scale=b,this.rotation=c,this.offsetX=d,this.offsetY=e;var g,h,i,j,k=(a[2]+a[0])/2,l=(a[3]+a[1])/2;switch(c%=360,c=0>c?c+360:c){case 180:g=-1,h=0,i=0,j=1;break;case 90:g=0,h=1,i=1,j=0;break;case 270:g=0,h=-1,i=-1,j=0;break;default:g=1,h=0,i=0,j=-1}f&&(i=-i,j=-j);var m,n,o,p;0===g?(m=Math.abs(l-a[1])*b+d,n=Math.abs(k-a[0])*b+e,o=Math.abs(a[3]-a[1])*b,p=Math.abs(a[2]-a[0])*b):(m=Math.abs(k-a[0])*b+d,n=Math.abs(l-a[1])*b+e,o=Math.abs(a[2]-a[0])*b,p=Math.abs(a[3]-a[1])*b),this.transform=[g*b,h*b,i*b,j*b,m-g*b*k-i*b*l,n-h*b*k-j*b*l],this.width=o,this.height=p,this.fontScale=b}return a.prototype={clone:function(b){b=b||{};var c="scale"in b?b.scale:this.scale,d="rotation"in b?b.rotation:this.rotation;return new a(this.viewBox.slice(),c,d,this.offsetX,this.offsetY,b.dontFlip)},convertToViewportPoint:function(a,b){return T.applyTransform([a,b],this.transform)},convertToViewportRectangle:function(a){var b=T.applyTransform([a[0],a[1]],this.transform),c=T.applyTransform([a[2],a[3]],this.transform);return[b[0],b[1],c[0],c[1]]},convertToPdfPoint:function(a,b){return T.applyInverseTransform([a,b],this.transform)}},a}();PDFJS.createPromiseCapability=s,function(){function a(a){this._status=c,this._handlers=[];try{a.call(this,this._resolve.bind(this),this._reject.bind(this))}catch(b){this._reject(b)}}if(z.Promise)return"function"!=typeof z.Promise.all&&(z.Promise.all=function(a){var b,c,d=0,e=[],f=new z.Promise(function(a,d){b=a,c=d});return a.forEach(function(a,f){d++,a.then(function(a){e[f]=a,d--,0===d&&b(e)},c)}),0===d&&b(e),f}),"function"!=typeof z.Promise.resolve&&(z.Promise.resolve=function(a){return new z.Promise(function(b){b(a)})}),"function"!=typeof z.Promise.reject&&(z.Promise.reject=function(a){return new z.Promise(function(b,c){c(a)})}),void("function"!=typeof z.Promise.prototype["catch"]&&(z.Promise.prototype["catch"]=function(a){return z.Promise.prototype.then(void 0,a)}));var c=0,d=1,e=2,f=500,g={handlers:[],running:!1,unhandledRejections:[],pendingRejectionCheck:!1,scheduleHandlers:function(a){a._status!==c&&(this.handlers=this.handlers.concat(a._handlers),a._handlers=[],this.running||(this.running=!0,setTimeout(this.runHandlers.bind(this),0)))},runHandlers:function(){for(var a=1,b=Date.now()+a;this.handlers.length>0;){var c=this.handlers.shift(),f=c.thisPromise._status,g=c.thisPromise._value;try{f===d?"function"==typeof c.onResolve&&(g=c.onResolve(g)):"function"==typeof c.onReject&&(g=c.onReject(g),f=d,c.thisPromise._unhandledRejection&&this.removeUnhandeledRejection(c.thisPromise))}catch(h){f=e,g=h}if(c.nextPromise._updateStatus(f,g),Date.now()>=b)break}return this.handlers.length>0?void setTimeout(this.runHandlers.bind(this),0):void(this.running=!1)},addUnhandledRejection:function(a){this.unhandledRejections.push({promise:a,time:Date.now()}),this.scheduleRejectionCheck()},removeUnhandeledRejection:function(a){a._unhandledRejection=!1;for(var b=0;bf){var d=this.unhandledRejections[c].promise._value,e="Unhandled rejection: "+d;d.stack&&(e+="\n"+d.stack),b(e),this.unhandledRejections.splice(c),c--}this.unhandledRejections.length&&this.scheduleRejectionCheck()}.bind(this),f))}};a.all=function(b){function c(a){g._status!==e&&(i=[],f(a))}var d,f,g=new a(function(a,b){d=a,f=b}),h=b.length,i=[];if(0===h)return d(i),g;for(var j=0,k=b.length;k>j;++j){var l=b[j],m=function(a){return function(b){g._status!==e&&(i[a]=b,h--,0===h&&d(i))}}(j);a.isPromise(l)?l.then(m,c):m(l)}return g},a.isPromise=function(a){return a&&"function"==typeof a.then},a.resolve=function(b){return new a(function(a){a(b)})},a.reject=function(b){return new a(function(a,c){c(b)})},a.prototype={_status:null,_value:null,_handlers:null,_unhandledRejection:null,_updateStatus:function(b,c){if(this._status!==d&&this._status!==e){if(b===d&&a.isPromise(c))return void c.then(this._updateStatus.bind(this,d),this._updateStatus.bind(this,e));this._status=b,this._value=c,b===e&&0===this._handlers.length&&(this._unhandledRejection=!0,g.addUnhandledRejection(this)), -g.scheduleHandlers(this)}},_resolve:function(a){this._updateStatus(d,a)},_reject:function(a){this._updateStatus(e,a)},then:function(b,c){var d=new a(function(a,b){this.resolve=a,this.reject=b});return this._handlers.push({thisPromise:this,onResolve:b,onReject:c,nextPromise:d}),g.scheduleHandlers(this),d},"catch":function(a){return this.then(void 0,a)}},z.Promise=a}();var U=function(){function a(a,b,c){for(;a.lengthb;++b){var g=d[b].name;g.length>f&&(f=g.length)}for(b=0,c=d.length;c>b;++b){var h=d[b],i=h.end-h.start;e+=a(h.name," ",f)+" "+i+"ms\n"}return e}},c}();PDFJS.createBlob=function(a,b){if("undefined"!=typeof Blob)return new Blob([a],{type:b});var c=new MozBlobBuilder;return c.append(a),c.getBlob(b)},PDFJS.createObjectURL=function(){var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return function(b,c){if(!PDFJS.disableCreateObjectURL&&"undefined"!=typeof URL&&URL.createObjectURL){var d=PDFJS.createBlob(b,c);return URL.createObjectURL(d)}for(var e="data:"+c+";base64,",f=0,g=b.length;g>f;f+=3){var h=255&b[f],i=255&b[f+1],j=255&b[f+2],k=h>>2,l=(3&h)<<4|i>>4,m=g>f+1?(15&i)<<2|j>>6:64,n=g>f+2?63&j:64;e+=a[k]+a[l]+a[m]+a[n]}return e}}(),t.prototype={on:function(a,b,c){var e=this.actionHandler;e[a]&&d('There is already an actionName called "'+a+'"'),e[a]=[b,c]},send:function(a,b,c){var d={action:a,data:b};this.postMessage(d,c)},sendWithPromise:function(a,b,c){var d=this.callbackIndex++,e={action:a,data:b,callbackId:d},f=s();this.callbacksCapabilities[d]=f;try{this.postMessage(e,c)}catch(g){f.reject(g)}return f.promise},postMessage:function(a,b){b&&this.postMessageTransfers?this.comObj.postMessage(a,b):this.comObj.postMessage(a)}},PDFJS.maxImageSize=void 0===PDFJS.maxImageSize?-1:PDFJS.maxImageSize,PDFJS.cMapUrl=void 0===PDFJS.cMapUrl?null:PDFJS.cMapUrl,PDFJS.cMapPacked=void 0===PDFJS.cMapPacked?!1:PDFJS.cMapPacked,PDFJS.disableFontFace=void 0===PDFJS.disableFontFace?!1:PDFJS.disableFontFace,PDFJS.imageResourcesPath=void 0===PDFJS.imageResourcesPath?"":PDFJS.imageResourcesPath,PDFJS.disableWorker=void 0===PDFJS.disableWorker?!1:PDFJS.disableWorker,PDFJS.workerSrc=void 0===PDFJS.workerSrc?null:PDFJS.workerSrc,PDFJS.disableRange=void 0===PDFJS.disableRange?!1:PDFJS.disableRange,PDFJS.disableStream=void 0===PDFJS.disableStream?!1:PDFJS.disableStream,PDFJS.disableAutoFetch=void 0===PDFJS.disableAutoFetch?!1:PDFJS.disableAutoFetch,PDFJS.pdfBug=void 0===PDFJS.pdfBug?!1:PDFJS.pdfBug,PDFJS.postMessageTransfers=void 0===PDFJS.postMessageTransfers?!0:PDFJS.postMessageTransfers,PDFJS.disableCreateObjectURL=void 0===PDFJS.disableCreateObjectURL?!1:PDFJS.disableCreateObjectURL,PDFJS.disableWebGL=void 0===PDFJS.disableWebGL?!0:PDFJS.disableWebGL,PDFJS.disableFullscreen=void 0===PDFJS.disableFullscreen?!1:PDFJS.disableFullscreen,PDFJS.useOnlyCssZoom=void 0===PDFJS.useOnlyCssZoom?!1:PDFJS.useOnlyCssZoom,PDFJS.verbosity=void 0===PDFJS.verbosity?PDFJS.VERBOSITY_LEVELS.warnings:PDFJS.verbosity,PDFJS.maxCanvasPixels=void 0===PDFJS.maxCanvasPixels?16777216:PDFJS.maxCanvasPixels,PDFJS.openExternalLinksInNewWindow=void 0===PDFJS.openExternalLinksInNewWindow?!1:PDFJS.openExternalLinksInNewWindow,PDFJS.externalLinkTarget=void 0===PDFJS.externalLinkTarget?PDFJS.LinkTarget.NONE:PDFJS.externalLinkTarget,PDFJS.isEvalSupported=void 0===PDFJS.isEvalSupported?!0:PDFJS.isEvalSupported,PDFJS.getDocument=function(a,b,e,f){var h=new V;arguments.length>1&&c("getDocument is called with pdfDataRangeTransport, passwordCallback or progressCallback argument"),b&&(b instanceof W||(b=Object.create(b),b.length=a.length,b.initialData=a.initialData,b.abort||(b.abort=function(){})),a=Object.create(a),a.range=b),h.onPassword=e||null,h.onProgress=f||null;var i,j,k;"string"==typeof a?k={url:a}:r(a)?k={data:a}:a instanceof W?k={range:a}:("object"!=typeof a&&d("Invalid parameter in getDocument, need either Uint8Array, string or a parameter object"),a.url||a.data||a.range||d("Invalid parameter object: need either .data, .range or .url"),k=a);var m={};for(var n in k)if("url"!==n||"undefined"==typeof window){if("range"!==n)if("data"!==n||k[n]instanceof Uint8Array)m[n]=k[n];else{var o=k[n];"string"==typeof o?m[n]=l(o):"object"!=typeof o||null===o||isNaN(o.length)?r(o)?m[n]=new Uint8Array(o):d("Invalid PDF binary data: either typed array, string or array-like object is expected in the data property."):m[n]=new Uint8Array(o)}}else m[n]=g(window.location.href,k[n]);return i=s(),j=new Z(i,k.range),i.promise.then(function(){j.fetchDocument(h,m)}),h._transport=j,h};var V=function(){function a(){this._capability=s(),this._transport=null,this.onPassword=null,this.onProgress=null}return a.prototype={get promise(){return this._capability.promise},destroy:function(){return this._transport.destroy()},then:function(a,b){return this.promise.then.apply(this.promise,arguments)}},a}(),W=function(){function a(a,b){this.length=a,this.initialData=b,this._rangeListeners=[],this._progressListeners=[],this._progressiveReadListeners=[],this._readyCapability=s()}return a.prototype={addRangeListener:function(a){this._rangeListeners.push(a)},addProgressListener:function(a){this._progressListeners.push(a)},addProgressiveReadListener:function(a){this._progressiveReadListeners.push(a)},onDataRange:function(a,b){for(var c=this._rangeListeners,d=0,e=c.length;e>d;++d)c[d](a,b)},onDataProgress:function(a){this._readyCapability.promise.then(function(){for(var b=this._progressListeners,c=0,d=b.length;d>c;++c)b[c](a)}.bind(this))},onDataProgressiveRead:function(a){this._readyCapability.promise.then(function(){for(var b=this._progressiveReadListeners,c=0,d=b.length;d>c;++c)b[c](a)}.bind(this))},transportReady:function(){this._readyCapability.resolve()},requestDataRange:function(a,b){throw new Error("Abstract method PDFDataRangeTransport.requestDataRange")},abort:function(){}},a}();PDFJS.PDFDataRangeTransport=W;var X=function(){function a(a,b,c){this.pdfInfo=a,this.transport=b,this.loadingTask=c}return a.prototype={get numPages(){return this.pdfInfo.numPages},get fingerprint(){return this.pdfInfo.fingerprint},getPage:function(a){return this.transport.getPage(a)},getPageIndex:function(a){return this.transport.getPageIndex(a)},getDestinations:function(){return this.transport.getDestinations()},getDestination:function(a){return this.transport.getDestination(a)},getAttachments:function(){return this.transport.getAttachments()},getJavaScript:function(){return this.transport.getJavaScript()},getOutline:function(){return this.transport.getOutline()},getMetadata:function(){return this.transport.getMetadata()},getData:function(){return this.transport.getData()},getDownloadInfo:function(){return this.transport.downloadInfoCapability.promise},getStats:function(){return this.transport.getStats()},cleanup:function(){this.transport.startCleanup()},destroy:function(){return this.transport.destroy()}},a}(),Y=function(){function a(a,b,c){this.pageIndex=a,this.pageInfo=b,this.transport=c,this.stats=new U,this.stats.enabled=!!z.PDFJS.enableStats,this.commonObjs=c.commonObjs,this.objs=new $,this.cleanupAfterRender=!1,this.pendingCleanup=!1,this.intentStates={},this.destroyed=!1}return a.prototype={get pageNumber(){return this.pageIndex+1},get rotate(){return this.pageInfo.rotate},get ref(){return this.pageInfo.ref},get view(){return this.pageInfo.view},getViewport:function(a,b){return arguments.length<2&&(b=this.rotate),new PDFJS.PageViewport(this.view,a,b,0,0)},getAnnotations:function(){return this.annotationsPromise||(this.annotationsPromise=this.transport.getAnnotations(this.pageIndex)),this.annotationsPromise},render:function(a){function b(a){var b=f.renderTasks.indexOf(g);b>=0&&f.renderTasks.splice(b,1),i.cleanupAfterRender&&(i.pendingCleanup=!0),i._tryCleanup(),a?g.capability.reject(a):g.capability.resolve(),d.timeEnd("Rendering"),d.timeEnd("Overall")}var d=this.stats;d.time("Overall"),this.pendingCleanup=!1;var e="print"===a.intent?"print":"display";this.intentStates[e]||(this.intentStates[e]={});var f=this.intentStates[e];f.displayReadyCapability||(f.receivingOperatorList=!0,f.displayReadyCapability=s(),f.operatorList={fnArray:[],argsArray:[],lastChunk:!1},this.stats.time("Page Request"),this.transport.messageHandler.send("RenderPageRequest",{pageIndex:this.pageNumber-1,intent:e}));var g=new aa(b,a,this.objs,this.commonObjs,f.operatorList,this.pageNumber);g.useRequestAnimationFrame="print"!==e,f.renderTasks||(f.renderTasks=[]),f.renderTasks.push(g);var h=g.task;a.continueCallback&&(c("render is used with continueCallback parameter"),h.onContinue=a.continueCallback);var i=this;return f.displayReadyCapability.promise.then(function(a){return i.pendingCleanup?void b():(d.time("Rendering"),g.initalizeGraphics(a),void g.operatorListChanged())},function(a){b(a)}),h},getOperatorList:function(){function a(){c.operatorList.lastChunk&&c.opListReadCapability.resolve(c.operatorList)}var b="oplist";this.intentStates[b]||(this.intentStates[b]={});var c=this.intentStates[b];if(!c.opListReadCapability){var d={};d.operatorListChanged=a,c.receivingOperatorList=!0,c.opListReadCapability=s(),c.renderTasks=[],c.renderTasks.push(d),c.operatorList={fnArray:[],argsArray:[],lastChunk:!1},this.transport.messageHandler.send("RenderPageRequest",{pageIndex:this.pageIndex,intent:b})}return c.opListReadCapability.promise},getTextContent:function(){return this.transport.messageHandler.sendWithPromise("GetTextContent",{pageIndex:this.pageNumber-1})},_destroy:function(){this.destroyed=!0,this.transport.pageCache[this.pageIndex]=null;var a=[];return Object.keys(this.intentStates).forEach(function(b){var c=this.intentStates[b];c.renderTasks.forEach(function(b){var c=b.capability.promise["catch"](function(){});a.push(c),b.cancel()})},this),this.objs.clear(),this.annotationsPromise=null,this.pendingCleanup=!1,Promise.all(a)},destroy:function(){c("page destroy method, use cleanup() instead"),this.cleanup()},cleanup:function(){this.pendingCleanup=!0,this._tryCleanup()},_tryCleanup:function(){this.pendingCleanup&&!Object.keys(this.intentStates).some(function(a){var b=this.intentStates[a];return 0!==b.renderTasks.length||b.receivingOperatorList},this)&&(Object.keys(this.intentStates).forEach(function(a){delete this.intentStates[a]},this),this.objs.clear(),this.annotationsPromise=null,this.pendingCleanup=!1)},_startRenderPage:function(a,b){var c=this.intentStates[b];c.displayReadyCapability&&c.displayReadyCapability.resolve(a)},_renderPageChunk:function(a,b){var c,d,e=this.intentStates[b];for(c=0,d=a.length;d>c;c++)e.operatorList.fnArray.push(a.fnArray[c]),e.operatorList.argsArray.push(a.argsArray[c]);for(e.operatorList.lastChunk=a.lastChunk,c=0;ch&&(g.cleanupAfterRender=!0);break;default:d("Got unknown object type "+f)}},this),a.on("DocProgress",function(a){var b=this.loadingTask;b.onProgress&&b.onProgress({loaded:a.loaded,total:a.total})},this),a.on("PageError",function(a){var b=this.pageCache[a.pageNum-1],c=b.intentStates[a.intent];c.displayReadyCapability?c.displayReadyCapability.reject(a.error):d(a.error)},this),a.on("JpegDecode",function(a){var b=a[0],c=a[1];return 3!==c&&1!==c?Promise.reject(new Error("Only 3 components or 1 component can be returned")):new Promise(function(a,d){var e=new Image;e.onload=function(){var b=e.width,d=e.height,f=b*d,g=4*f,h=new Uint8Array(f*c),i=v(b,d),j=i.getContext("2d");j.drawImage(e,0,0);var k,l,m=j.getImageData(0,0,b,d).data;if(3===c)for(k=0,l=0;g>k;k+=4,l+=3)h[l]=m[k],h[l+1]=m[k+1],h[l+2]=m[k+2];else if(1===c)for(k=0,l=0;g>k;k+=4,l++)h[l]=m[k];a({data:h,width:b,height:d})},e.onerror=function(){d(new Error("JpegDecode failed to load image"))},e.src=b})})},fetchDocument:function(a,b){return this.destroyed?(a._capability.reject(new Error("Loading aborted")),void this.destroyCapability.resolve()):(this.loadingTask=a,b.disableAutoFetch=PDFJS.disableAutoFetch,b.disableStream=PDFJS.disableStream,b.chunkedViewerLoading=!!this.pdfDataRangeTransport,this.pdfDataRangeTransport&&(b.length=this.pdfDataRangeTransport.length,b.initialData=this.pdfDataRangeTransport.initialData),void this.messageHandler.send("GetDocRequest",{source:b,disableRange:PDFJS.disableRange,maxImageSize:PDFJS.maxImageSize,cMapUrl:PDFJS.cMapUrl,cMapPacked:PDFJS.cMapPacked,disableFontFace:PDFJS.disableFontFace,disableCreateObjectURL:PDFJS.disableCreateObjectURL,verbosity:PDFJS.verbosity}))},getData:function(){return this.messageHandler.sendWithPromise("GetData",null)},getPage:function(a,b){if(0>=a||a>this.numPages||(0|a)!==a)return Promise.reject(new Error("Invalid page request"));var c=a-1;if(c in this.pagePromises)return this.pagePromises[c];var d=this.messageHandler.sendWithPromise("GetPage",{pageIndex:c}).then(function(a){if(this.destroyed)throw new Error("Transport destroyed");var b=new Y(c,a,this);return this.pageCache[c]=b,b}.bind(this));return this.pagePromises[c]=d,d},getPageIndex:function(a){return this.messageHandler.sendWithPromise("GetPageIndex",{ref:a})},getAnnotations:function(a){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:a})},getDestinations:function(){return this.messageHandler.sendWithPromise("GetDestinations",null)},getDestination:function(a){return this.messageHandler.sendWithPromise("GetDestination",{id:a})},getAttachments:function(){return this.messageHandler.sendWithPromise("GetAttachments",null)},getJavaScript:function(){return this.messageHandler.sendWithPromise("GetJavaScript",null)},getOutline:function(){return this.messageHandler.sendWithPromise("GetOutline",null)},getMetadata:function(){return this.messageHandler.sendWithPromise("GetMetadata",null).then(function(a){return{info:a[0],metadata:a[1]?new PDFJS.Metadata(a[1]):null}})},getStats:function(){return this.messageHandler.sendWithPromise("GetStats",null)},startCleanup:function(){this.messageHandler.sendWithPromise("Cleanup",null).then(function(){for(var a=0,b=this.pageCache.length;b>a;a++){var c=this.pageCache[a];c&&c.cleanup()}this.commonObjs.clear(),pa.clear()}.bind(this))}},c}(),$=function(){function a(){this.objs={}}return a.prototype={ensureObj:function(a){if(this.objs[a])return this.objs[a];var b={capability:s(),data:null,resolved:!1};return this.objs[a]=b,b},get:function(a,b){if(b)return this.ensureObj(a).capability.promise.then(b),null;var c=this.objs[a];return c&&c.resolved||d("Requesting object that isn't resolved yet "+a),c.data},resolve:function(a,b){var c=this.ensureObj(a);c.resolved=!0,c.data=b,c.capability.resolve(b)},isResolved:function(a){var b=this.objs;return b[a]?b[a].resolved:!1},hasData:function(a){return this.isResolved(a)},getData:function(a){var b=this.objs;return b[a]&&b[a].resolved?b[a].data:null},clear:function(){this.objs={}}},a}(),_=function(){function a(a){this._internalRenderTask=a,this.onContinue=null}return a.prototype={get promise(){return this._internalRenderTask.capability.promise},cancel:function(){this._internalRenderTask.cancel()},then:function(a,b){return this.promise.then.apply(this.promise,arguments)}},a}(),aa=function(){function a(a,b,c,d,e,f){this.callback=a,this.params=b,this.objs=c,this.commonObjs=d,this.operatorListIdx=null,this.operatorList=e,this.pageNumber=f,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this.useRequestAnimationFrame=!1,this.cancelled=!1,this.capability=s(),this.task=new _(this),this._continueBound=this._continue.bind(this),this._scheduleNextBound=this._scheduleNext.bind(this),this._nextBound=this._next.bind(this)}return a.prototype={initalizeGraphics:function(a){if(!this.cancelled){PDFJS.pdfBug&&"StepperManager"in z&&z.StepperManager.enabled&&(this.stepper=z.StepperManager.create(this.pageNumber-1),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());var b=this.params;this.gfx=new ka(b.canvasContext,this.commonObjs,this.objs,b.imageLayer),this.gfx.beginDrawing(b.viewport,a),this.operatorListIdx=0,this.graphicsReady=!0,this.graphicsReadyCallback&&this.graphicsReadyCallback()}},cancel:function(){this.running=!1,this.cancelled=!0,this.callback("cancelled")},operatorListChanged:function(){return this.graphicsReady?(this.stepper&&this.stepper.updateOperatorList(this.operatorList),void(this.running||this._continue())):void(this.graphicsReadyCallback||(this.graphicsReadyCallback=this._continueBound))},_continue:function(){this.running=!0,this.cancelled||(this.task.onContinue?this.task.onContinue.call(this.task,this._scheduleNextBound):this._scheduleNext())},_scheduleNext:function(){this.useRequestAnimationFrame?window.requestAnimationFrame(this._nextBound):Promise.resolve(void 0).then(this._nextBound)},_next:function(){this.cancelled||(this.operatorListIdx=this.gfx.executeOperatorList(this.operatorList,this.operatorListIdx,this._continueBound,this.stepper),this.operatorListIdx===this.operatorList.argsArray.length&&(this.running=!1,this.operatorList.lastChunk&&(this.gfx.endDrawing(),this.callback())))}},a}(),ba=(PDFJS.Metadata=function(){function a(a){return a.replace(/>\\376\\377([^<]+)/g,function(a,b){for(var c=b.replace(/\\([0-3])([0-7])([0-7])/g,function(a,b,c,d){return String.fromCharCode(64*b+8*c+1*d)}),d="",e=0;e"+d})}function b(b){if("string"==typeof b){b=a(b);var c=new DOMParser;b=c.parseFromString(b,"application/xml")}else b instanceof Document||d("Metadata: Invalid metadata object");this.metaDocument=b,this.metadata={},this.parse()}return b.prototype={parse:function(){var a=this.metaDocument,b=a.documentElement;if("rdf:rdf"!==b.nodeName.toLowerCase())for(b=b.firstChild;b&&"rdf:rdf"!==b.nodeName.toLowerCase();)b=b.nextSibling;var c=b?b.nodeName.toLowerCase():null;if(b&&"rdf:rdf"===c&&b.hasChildNodes()){var d,e,f,g,h,i,j,k=b.childNodes;for(g=0,i=k.length;i>g;g++)if(d=k[g],"rdf:description"===d.nodeName.toLowerCase())for(h=0,j=d.childNodes.length;j>h;h++)"#text"!==d.childNodes[h].nodeName.toLowerCase()&&(e=d.childNodes[h],f=e.nodeName.toLowerCase(),this.metadata[f]=e.textContent.trim())}},get:function(a){return this.metadata[a]||null},has:function(a){return"undefined"!=typeof this.metadata[a]}},b}(),16),ca=100,da=4096,ea=.65,fa=!0,ga=1e3,ha=16,ia=function(){var a={};return{getCanvas:function(b,c,d,e){var f;if(void 0!==a[b])f=a[b],f.canvas.width=c,f.canvas.height=d,f.context.setTransform(1,0,0,1,0,0);else{var g=v(c,d),h=g.getContext("2d");e&&w(h),a[b]=f={canvas:g,context:h}}return f},clear:function(){for(var b in a){var c=a[b];c.canvas.width=0,c.canvas.height=0,delete a[b]}}}}(),ja=function(){function a(a){this.alphaIsShape=!1,this.fontSize=0,this.fontSizeScale=1,this.textMatrix=S,this.textMatrixScale=1,this.fontMatrix=B,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRenderingMode=C.FILL,this.textRise=0,this.fillColor="#000000",this.strokeColor="#000000",this.patternFill=!1,this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.activeSMask=null,this.old=a}return a.prototype={clone:function(){return Object.create(this)},setCurrentPoint:function(a,b){this.x=a,this.y=b}},a}(),ka=function(){function c(a,b,c,d){this.ctx=a,this.current=new ja,this.stateStack=[],this.pendingClip=null,this.pendingEOFill=!1,this.res=null,this.xobjs=null,this.commonObjs=b,this.objs=c,this.imageLayer=d,this.groupStack=[],this.processingType3=null,this.baseTransform=null,this.baseTransformStack=[],this.groupLevel=0,this.smaskStack=[],this.smaskCounter=0,this.tempSMask=null,a&&w(a),this.cachedGetSinglePixelWidth=null}function e(a,b){if("undefined"!=typeof ImageData&&b instanceof ImageData)return void a.putImageData(b,0,0);var c,e,f,g,h,i=b.height,j=b.width,k=i%ha,l=(i-k)/ha,m=0===k?l:l+1,n=a.createImageData(j,ha),o=0,p=b.data,q=n.data;if(b.kind===D.GRAYSCALE_1BPP){var r=p.byteLength,s=PDFJS.hasCanvasTypedArrays?new Uint32Array(q.buffer):new R(q),t=s.length,u=j+7>>3,v=4294967295,w=PDFJS.isLittleEndian||!PDFJS.hasCanvasTypedArrays?4278190080:255;for(e=0;m>e;e++){for(g=l>e?ha:k,c=0,f=0;g>f;f++){for(var x=r-o,y=0,z=x>u?j:8*x-7,A=-8&z,B=0,C=0;A>y;y+=8)C=p[o++],s[c++]=128&C?v:w,s[c++]=64&C?v:w,s[c++]=32&C?v:w,s[c++]=16&C?v:w,s[c++]=8&C?v:w,s[c++]=4&C?v:w,s[c++]=2&C?v:w,s[c++]=1&C?v:w;for(;z>y;y++)0===B&&(C=p[o++],B=128),s[c++]=C&B?v:w,B>>=1}for(;t>c;)s[c++]=0;a.putImageData(n,0,e*ha)}}else if(b.kind===D.RGBA_32BPP){for(f=0,h=j*ha*4,e=0;l>e;e++)q.set(p.subarray(o,o+h)),o+=h,a.putImageData(n,0,f),f+=ha;m>e&&(h=j*k*4,q.set(p.subarray(o,o+h)),a.putImageData(n,0,f))}else if(b.kind===D.RGB_24BPP)for(g=ha,h=j*g,e=0;m>e;e++){for(e>=l&&(g=k,h=j*g),c=0,f=h;f--;)q[c++]=p[o++],q[c++]=p[o++],q[c++]=p[o++],q[c++]=255;a.putImageData(n,0,e*ha)}else d("bad image kind: "+b.kind)}function g(a,b){for(var c=b.height,d=b.width,e=c%ha,f=(c-e)/ha,g=0===e?f:f+1,h=a.createImageData(d,ha),i=0,j=b.data,k=h.data,l=0;g>l;l++){for(var m=f>l?ha:e,n=3,o=0;m>o;o++)for(var p=0,q=0;d>q;q++){if(!p){var r=j[i++];p=128}k[n]=r&p?0:255,n+=4,p>>=1}a.putImageData(h,0,l*ha)}}function h(a,b){for(var c=["strokeStyle","fillStyle","fillRule","globalAlpha","lineWidth","lineCap","lineJoin","miterLimit","globalCompositeOperation","font"],d=0,e=c.length;e>d;d++){var f=c[d];void 0!==a[f]&&(b[f]=a[f])}void 0!==a.setLineDash?(b.setLineDash(a.getLineDash()),b.lineDashOffset=a.lineDashOffset):void 0!==a.mozDashOffset&&(b.mozDash=a.mozDash,b.mozDashOffset=a.mozDashOffset)}function j(a,b,c,d){for(var e=a.length,f=3;e>f;f+=4){var g=a[f];if(0===g)a[f-3]=b,a[f-2]=c,a[f-1]=d;else if(255>g){var h=255-g;a[f-3]=a[f-3]*g+b*h>>8,a[f-2]=a[f-2]*g+c*h>>8,a[f-1]=a[f-1]*g+d*h>>8}}}function k(a,b){for(var c=a.length,d=1/255,e=3;c>e;e+=4){var f=a[e];b[e]=b[e]*f*d|0}}function l(a,b){for(var c=a.length,d=3;c>d;d+=4){var e=77*a[d-3]+152*a[d-2]+28*a[d-1];b[d]=b[d]*e>>16}}function m(a,b,c,d,e,f){var g,h=!!f,i=h?f[0]:0,m=h?f[1]:0,n=h?f[2]:0;g="Luminosity"===e?l:k;for(var o=1048576,p=Math.min(d,Math.ceil(o/c)),q=0;d>q;q+=p){var r=Math.min(p,d-q),s=a.getImageData(0,q,c,r),t=b.getImageData(0,q,c,r);h&&j(s.data,i,m,n),g(s.data,t.data),a.putImageData(t,0,q)}}function n(a,b,c){var d=b.canvas,e=b.context;a.setTransform(b.scaleX,0,0,b.scaleY,b.offsetX,b.offsetY);var f=b.backdrop||null;if(la.isEnabled){var g=la.composeSMask(c.canvas,d,{subtype:b.subtype,backdrop:f});return a.setTransform(1,0,0,1,0,0),void a.drawImage(g,b.offsetX,b.offsetY)}m(e,c,d.width,d.height,b.subtype,f),a.drawImage(d,0,0)}var o=15,r=10,s=["butt","round","square"],t=["miter","round","bevel"],u={},v={};c.prototype={beginDrawing:function(a,b){var c=this.ctx.canvas.width,d=this.ctx.canvas.height;b?this.ctx.clearRect(0,0,c,d):(this.ctx.mozOpaque=!0,this.ctx.save(),this.ctx.fillStyle="rgb(255, 255, 255)",this.ctx.fillRect(0,0,c,d),this.ctx.restore());var e=a.transform;this.ctx.save(),this.ctx.transform.apply(this.ctx,e),this.baseTransform=this.ctx.mozCurrentTransform.slice(),this.imageLayer&&this.imageLayer.beginLayout()},executeOperatorList:function(a,b,c,d){var e=a.argsArray,f=a.fnArray,g=b||0,h=e.length;if(h===g)return g;for(var i,j=h-g>r&&"function"==typeof c,k=j?Date.now()+o:0,l=0,m=this.commonObjs,n=this.objs;;){if(void 0!==d&&g===d.nextBreakPoint)return d.breakIt(g,c),g;if(i=f[g],i!==G.dependency)this[i].apply(this,e[g]);else for(var p=e[g],q=0,s=p.length;s>q;q++){var t=p[q],u="g"===t[0]&&"_"===t[1],v=u?m:n;if(!v.isResolved(t))return v.get(t,c),g}if(g++,g===h)return g;if(j&&++l>r){if(Date.now()>k)return c(),g;l=0}}},endDrawing:function(){this.ctx.restore(),ia.clear(),la.clear(),this.imageLayer&&this.imageLayer.endLayout()},setLineWidth:function(a){this.current.lineWidth=a,this.ctx.lineWidth=a},setLineCap:function(a){this.ctx.lineCap=s[a]},setLineJoin:function(a){this.ctx.lineJoin=t[a]},setMiterLimit:function(a){this.ctx.miterLimit=a},setDash:function(a,b){var c=this.ctx;void 0!==c.setLineDash?(c.setLineDash(a),c.lineDashOffset=b):(c.mozDash=a,c.mozDashOffset=b)},setRenderingIntent:function(a){},setFlatness:function(a){},setGState:function(a){for(var c=0,d=a.length;d>c;c++){var e=a[c],f=e[0],g=e[1];switch(f){case"LW":this.setLineWidth(g);break;case"LC":this.setLineCap(g);break;case"LJ":this.setLineJoin(g);break;case"ML":this.setMiterLimit(g);break;case"D":this.setDash(g[0],g[1]);break;case"RI":this.setRenderingIntent(g);break;case"FL":this.setFlatness(g);break;case"Font":this.setFont(g[0],g[1]);break;case"CA":this.current.strokeAlpha=e[1];break;case"ca":this.current.fillAlpha=e[1],this.ctx.globalAlpha=e[1];break;case"BM":if(g&&g.name&&"Normal"!==g.name){var h=g.name.replace(/([A-Z])/g,function(a){return"-"+a.toLowerCase()}).substring(1);this.ctx.globalCompositeOperation=h,this.ctx.globalCompositeOperation!==h&&b('globalCompositeOperation "'+h+'" is not supported')}else this.ctx.globalCompositeOperation="source-over";break;case"SMask":this.current.activeSMask&&this.endSMaskGroup(),this.current.activeSMask=g?this.tempSMask:null,this.current.activeSMask&&this.beginSMaskGroup(),this.tempSMask=null}}},beginSMaskGroup:function(){var a=this.current.activeSMask,b=a.canvas.width,c=a.canvas.height,d="smaskGroupAt"+this.groupLevel,e=ia.getCanvas(d,b,c,!0),f=this.ctx,g=f.mozCurrentTransform;this.ctx.save();var i=e.context;i.scale(1/a.scaleX,1/a.scaleY),i.translate(-a.offsetX,-a.offsetY),i.transform.apply(i,g),h(f,i),this.ctx=i,this.setGState([["BM","Normal"],["ca",1],["CA",1]]),this.groupStack.push(f),this.groupLevel++},endSMaskGroup:function(){var a=this.ctx;this.groupLevel--,this.ctx=this.groupStack.pop(),n(this.ctx,this.current.activeSMask,a),this.ctx.restore()},save:function(){this.ctx.save();var a=this.current;this.stateStack.push(a),this.current=a.clone(),this.current.activeSMask=null},restore:function(){0!==this.stateStack.length&&(null!==this.current.activeSMask&&this.endSMaskGroup(),this.current=this.stateStack.pop(),this.ctx.restore(),this.pendingClip=null,this.cachedGetSinglePixelWidth=null)},transform:function(a,b,c,d,e,f){this.ctx.transform(a,b,c,d,e,f),this.cachedGetSinglePixelWidth=null},constructPath:function(a,b){for(var c=this.ctx,d=this.current,e=d.x,f=d.y,g=0,h=0,i=a.length;i>g;g++)switch(0|a[g]){case G.rectangle:e=b[h++],f=b[h++];var j=b[h++],k=b[h++];0===j&&(j=this.getSinglePixelWidth()),0===k&&(k=this.getSinglePixelWidth());var l=e+j,m=f+k;this.ctx.moveTo(e,f),this.ctx.lineTo(l,f),this.ctx.lineTo(l,m),this.ctx.lineTo(e,m),this.ctx.lineTo(e,f),this.ctx.closePath();break;case G.moveTo:e=b[h++],f=b[h++],c.moveTo(e,f);break;case G.lineTo:e=b[h++],f=b[h++],c.lineTo(e,f);break;case G.curveTo:e=b[h+4],f=b[h+5],c.bezierCurveTo(b[h],b[h+1],b[h+2],b[h+3],e,f),h+=6;break;case G.curveTo2:c.bezierCurveTo(e,f,b[h],b[h+1],b[h+2],b[h+3]),e=b[h+2],f=b[h+3],h+=4;break;case G.curveTo3:e=b[h+2],f=b[h+3],c.bezierCurveTo(b[h],b[h+1],e,f,e,f),h+=4;break;case G.closePath:c.closePath()}d.setCurrentPoint(e,f)},closePath:function(){this.ctx.closePath()},stroke:function(a){a="undefined"!=typeof a?a:!0;var b=this.ctx,c=this.current.strokeColor;b.lineWidth=Math.max(this.getSinglePixelWidth()*ea,this.current.lineWidth),b.globalAlpha=this.current.strokeAlpha,c&&c.hasOwnProperty("type")&&"Pattern"===c.type?(b.save(), -b.strokeStyle=c.getPattern(b,this),b.stroke(),b.restore()):b.stroke(),a&&this.consumePath(),b.globalAlpha=this.current.fillAlpha},closeStroke:function(){this.closePath(),this.stroke()},fill:function(a){a="undefined"!=typeof a?a:!0;var b=this.ctx,c=this.current.fillColor,d=this.current.patternFill,e=!1;d&&(b.save(),b.fillStyle=c.getPattern(b,this),e=!0),this.pendingEOFill?(void 0!==b.mozFillRule?(b.mozFillRule="evenodd",b.fill(),b.mozFillRule="nonzero"):b.fill("evenodd"),this.pendingEOFill=!1):b.fill(),e&&b.restore(),a&&this.consumePath()},eoFill:function(){this.pendingEOFill=!0,this.fill()},fillStroke:function(){this.fill(!1),this.stroke(!1),this.consumePath()},eoFillStroke:function(){this.pendingEOFill=!0,this.fillStroke()},closeFillStroke:function(){this.closePath(),this.fillStroke()},closeEOFillStroke:function(){this.pendingEOFill=!0,this.closePath(),this.fillStroke()},endPath:function(){this.consumePath()},clip:function(){this.pendingClip=u},eoClip:function(){this.pendingClip=v},beginText:function(){this.current.textMatrix=S,this.current.textMatrixScale=1,this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0},endText:function(){var a=this.pendingTextPaths,b=this.ctx;if(void 0===a)return void b.beginPath();b.save(),b.beginPath();for(var c=0;cc?(c=-c,f.fontDirection=-1):f.fontDirection=1,this.current.font=e,this.current.fontSize=c,!e.isType3Font){var g=e.loadedName||"sans-serif",h=e.black?e.bold?"900":"bold":e.bold?"bold":"normal",i=e.italic?"italic":"normal",j='"'+g+'", '+e.fallbackName,k=ba>c?ba:c>ca?ca:c;this.current.fontSizeScale=c/k;var l=i+" "+h+" "+k+"px "+j;this.ctx.font=l}},setTextRenderingMode:function(a){this.current.textRenderingMode=a},setTextRise:function(a){this.current.textRise=a},moveText:function(a,b){this.current.x=this.current.lineX+=a,this.current.y=this.current.lineY+=b},setLeadingMoveText:function(a,b){this.setLeading(-b),this.moveText(a,b)},setTextMatrix:function(a,b,c,d,e,f){this.current.textMatrix=[a,b,c,d,e,f],this.current.textMatrixScale=Math.sqrt(a*a+b*b),this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0},nextLine:function(){this.moveText(0,this.current.leading)},paintChar:function(a,b,c){var d,e=this.ctx,f=this.current,g=f.font,h=f.textRenderingMode,i=f.fontSize/f.fontSizeScale,j=h&C.FILL_STROKE_MASK,k=!!(h&C.ADD_TO_PATH_FLAG);if((g.disableFontFace||k)&&(d=g.getPathGenerator(this.commonObjs,a)),g.disableFontFace?(e.save(),e.translate(b,c),e.beginPath(),d(e,i),j!==C.FILL&&j!==C.FILL_STROKE||e.fill(),j!==C.STROKE&&j!==C.FILL_STROKE||e.stroke(),e.restore()):(j!==C.FILL&&j!==C.FILL_STROKE||e.fillText(a,b,c),j!==C.STROKE&&j!==C.FILL_STROKE||e.strokeText(a,b,c)),k){var l=this.pendingTextPaths||(this.pendingTextPaths=[]);l.push({transform:e.mozCurrentTransform,x:b,y:c,fontSize:i,addToPath:d})}},get isFontSubpixelAAEnabled(){var a=document.createElement("canvas").getContext("2d");a.scale(1.5,1),a.fillText("I",0,10);for(var b=a.getImageData(0,0,10,10).data,c=!1,d=3;d0&&b[d]<255){c=!0;break}return i(this,"isFontSubpixelAAEnabled",c)},showText:function(a){var b=this.current,c=b.font;if(c.isType3Font)return this.showType3Text(a);var d=b.fontSize;if(0!==d){var e=this.ctx,f=b.fontSizeScale,g=b.charSpacing,h=b.wordSpacing,i=b.fontDirection,j=b.textHScale*i,k=a.length,l=c.vertical,m=l?1:-1,n=c.defaultVMetrics,o=d*b.fontMatrix[0],q=b.textRenderingMode===C.FILL&&!c.disableFontFace;e.save(),e.transform.apply(e,b.textMatrix),e.translate(b.x,b.y+b.textRise),i>0?e.scale(j,-1):e.scale(j,1);var r=b.lineWidth,s=b.textMatrixScale;if(0===s||0===r){var t=b.textRenderingMode&C.FILL_STROKE_MASK;t!==C.STROKE&&t!==C.FILL_STROKE||(this.cachedGetSinglePixelWidth=null,r=this.getSinglePixelWidth()*ea)}else r/=s;1!==f&&(e.scale(f,f),r/=f),e.lineWidth=r;var u,v=0;for(u=0;k>u;++u){var w=a[u];if(null!==w)if(p(w))v+=m*w*d/1e3;else{var x,y,z,A,B=!1,D=w.fontChar,E=w.accent,F=w.width;if(l){var G,H,I;G=w.vmetric||n,H=w.vmetric?G[1]:.5*F,H=-H*o,I=G[2]*o,F=G?-G[0]:F,x=H/f,y=(v+I)/f}else x=v/f,y=0;if(c.remeasure&&F>0&&this.isFontSubpixelAAEnabled){var J=1e3*e.measureText(D).width/d*f,K=F/J;B=!0,e.save(),e.scale(K,1),x/=K}q&&!E?e.fillText(D,x,y):(this.paintChar(D,x,y),E&&(z=x+E.offset.x/f,A=y-E.offset.y/f,this.paintChar(E.fontChar,z,A)));var L=F*o+g*i;v+=L,B&&e.restore()}else v+=i*h}l?b.y-=v*j:b.x+=v*j,e.restore()}},showType3Text:function(a){var c,d,e,f,g=this.ctx,h=this.current,i=h.font,j=h.fontSize,k=h.fontDirection,l=i.vertical?1:-1,m=h.charSpacing,n=h.wordSpacing,o=h.textHScale*k,q=h.fontMatrix||B,r=a.length,s=h.textRenderingMode===C.INVISIBLE;if(!s&&0!==j){for(this.cachedGetSinglePixelWidth=null,g.save(),g.transform.apply(g,h.textMatrix),g.translate(h.x,h.y),g.scale(o,k),c=0;r>c;++c)if(d=a[c],null!==d)if(p(d))f=l*d*j/1e3,this.ctx.translate(f,0),h.x+=f*o;else{var t=i.charProcOperatorList[d.operatorListId];if(t){this.processingType3=d,this.save(),g.scale(j,j),g.transform.apply(g,q),this.executeOperatorList(t),this.restore();var u=T.applyTransform([d.width,0],q);e=u[0]*j+m,g.translate(e,0),h.x+=e*o}else b('Type3 character "'+d.operatorListId+'" is not available')}else this.ctx.translate(n,0),h.x+=n*o;g.restore(),this.processingType3=null}},setCharWidth:function(a,b){},setCharWidthAndBounds:function(a,b,c,d,e,f){this.ctx.rect(c,d,e-c,f-d),this.clip(),this.endPath()},getColorN_Pattern:function(a){var b;if("TilingPattern"===a[0]){var c=a[1],d=this.baseTransform||this.ctx.mozCurrentTransform.slice();b=new oa(a,c,this.ctx,this.objs,this.commonObjs,d)}else b=y(a);return b},setStrokeColorN:function(){this.current.strokeColor=this.getColorN_Pattern(arguments)},setFillColorN:function(){this.current.fillColor=this.getColorN_Pattern(arguments),this.current.patternFill=!0},setStrokeRGBColor:function(a,b,c){var d=T.makeCssRgb(a,b,c);this.ctx.strokeStyle=d,this.current.strokeColor=d},setFillRGBColor:function(a,b,c){var d=T.makeCssRgb(a,b,c);this.ctx.fillStyle=d,this.current.fillColor=d,this.current.patternFill=!1},shadingFill:function(a){var b=this.ctx;this.save();var c=y(a);b.fillStyle=c.getPattern(b,this,!0);var d=b.mozCurrentTransformInverse;if(d){var e=b.canvas,f=e.width,g=e.height,h=T.applyTransform([0,0],d),i=T.applyTransform([0,g],d),j=T.applyTransform([f,0],d),k=T.applyTransform([f,g],d),l=Math.min(h[0],i[0],j[0],k[0]),m=Math.min(h[1],i[1],j[1],k[1]),n=Math.max(h[0],i[0],j[0],k[0]),o=Math.max(h[1],i[1],j[1],k[1]);this.ctx.fillRect(l,m,n-l,o-m)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);this.restore()},beginInlineImage:function(){d("Should not call beginInlineImage")},beginImageData:function(){d("Should not call beginImageData")},paintFormXObjectBegin:function(a,b){if(this.save(),this.baseTransformStack.push(this.baseTransform),q(a)&&6===a.length&&this.transform.apply(this,a),this.baseTransform=this.ctx.mozCurrentTransform,q(b)&&4===b.length){var c=b[2]-b[0],d=b[3]-b[1];this.ctx.rect(b[0],b[1],c,d),this.clip(),this.endPath()}},paintFormXObjectEnd:function(){this.restore(),this.baseTransform=this.baseTransformStack.pop()},beginGroup:function(c){this.save();var d=this.ctx;c.isolated||a("TODO: Support non-isolated groups."),c.knockout&&b("Knockout groups not supported.");var e=d.mozCurrentTransform;c.matrix&&d.transform.apply(d,c.matrix),f(c.bbox,"Bounding box is required.");var g=T.getAxialAlignedBoundingBox(c.bbox,d.mozCurrentTransform),i=[0,0,d.canvas.width,d.canvas.height];g=T.intersect(g,i)||[0,0,0,0];var j=Math.floor(g[0]),k=Math.floor(g[1]),l=Math.max(Math.ceil(g[2])-j,1),m=Math.max(Math.ceil(g[3])-k,1),n=1,o=1;l>da&&(n=l/da,l=da),m>da&&(o=m/da,m=da);var p="groupAt"+this.groupLevel;c.smask&&(p+="_smask_"+this.smaskCounter++%2);var q=ia.getCanvas(p,l,m,!0),r=q.context;r.scale(1/n,1/o),r.translate(-j,-k),r.transform.apply(r,e),c.smask?this.smaskStack.push({canvas:q.canvas,context:r,offsetX:j,offsetY:k,scaleX:n,scaleY:o,subtype:c.smask.subtype,backdrop:c.smask.backdrop}):(d.setTransform(1,0,0,1,0,0),d.translate(j,k),d.scale(n,o)),h(d,r),this.ctx=r,this.setGState([["BM","Normal"],["ca",1],["CA",1]]),this.groupStack.push(d),this.groupLevel++},endGroup:function(a){this.groupLevel--;var b=this.ctx;this.ctx=this.groupStack.pop(),void 0!==this.ctx.imageSmoothingEnabled?this.ctx.imageSmoothingEnabled=!1:this.ctx.mozImageSmoothingEnabled=!1,a.smask?this.tempSMask=this.smaskStack.pop():this.ctx.drawImage(b.canvas,0,0),this.restore()},beginAnnotations:function(){this.save(),this.current=new ja},endAnnotations:function(){this.restore()},beginAnnotation:function(a,b,c){if(this.save(),q(a)&&4===a.length){var d=a[2]-a[0],e=a[3]-a[1];this.ctx.rect(a[0],a[1],d,e),this.clip(),this.endPath()}this.transform.apply(this,b),this.transform.apply(this,c)},endAnnotation:function(){this.restore()},paintJpegXObject:function(a,c,d){var e=this.objs.get(a);if(!e)return void b("Dependent image isn't ready yet");this.save();var f=this.ctx;if(f.scale(1/c,-1/d),f.drawImage(e,0,0,e.width,e.height,0,-d,c,d),this.imageLayer){var g=f.mozCurrentTransformInverse,h=this.getCanvasPosition(0,0);this.imageLayer.appendImage({objId:a,left:h[0],top:h[1],width:c/g[0],height:d/g[3]})}this.restore()},paintImageMaskXObject:function(a){var b=this.ctx,c=a.width,d=a.height,e=this.current.fillColor,f=this.current.patternFill,h=this.processingType3;if(fa&&h&&void 0===h.compiled&&(ga>=c&&ga>=d?h.compiled=x({data:a.data,width:c,height:d}):h.compiled=null),h&&h.compiled)return void h.compiled(b);var i=ia.getCanvas("maskCanvas",c,d),j=i.context;j.save(),g(j,a),j.globalCompositeOperation="source-in",j.fillStyle=f?e.getPattern(j,this):e,j.fillRect(0,0,c,d),j.restore(),this.paintInlineImageXObject(i.canvas)},paintImageMaskXObjectRepeat:function(a,b,c,d){var e=a.width,f=a.height,h=this.current.fillColor,i=this.current.patternFill,j=ia.getCanvas("maskCanvas",e,f),k=j.context;k.save(),g(k,a),k.globalCompositeOperation="source-in",k.fillStyle=i?h.getPattern(k,this):h,k.fillRect(0,0,e,f),k.restore();for(var l=this.ctx,m=0,n=d.length;n>m;m+=2)l.save(),l.transform(b,0,0,c,d[m],d[m+1]),l.scale(1,-1),l.drawImage(j.canvas,0,0,e,f,0,-1,1,1),l.restore()},paintImageMaskXObjectGroup:function(a){for(var b=this.ctx,c=this.current.fillColor,d=this.current.patternFill,e=0,f=a.length;f>e;e++){var h=a[e],i=h.width,j=h.height,k=ia.getCanvas("maskCanvas",i,j),l=k.context;l.save(),g(l,h),l.globalCompositeOperation="source-in",l.fillStyle=d?c.getPattern(l,this):c,l.fillRect(0,0,i,j),l.restore(),b.save(),b.transform.apply(b,h.transform),b.scale(1,-1),b.drawImage(k.canvas,0,0,i,j,0,-1,1,1),b.restore()}},paintImageXObject:function(a){var c=this.objs.get(a);return c?void this.paintInlineImageXObject(c):void b("Dependent image isn't ready yet")},paintImageXObjectRepeat:function(a,c,d,e){var f=this.objs.get(a);if(!f)return void b("Dependent image isn't ready yet");for(var g=f.width,h=f.height,i=[],j=0,k=e.length;k>j;j+=2)i.push({transform:[c,0,0,d,e[j],e[j+1]],x:0,y:0,w:g,h:h});this.paintInlineImageXObjectGroup(f,i)},paintInlineImageXObject:function(a){var b=a.width,c=a.height,d=this.ctx;this.save(),d.scale(1/b,-1/c);var f,g,h=d.mozCurrentTransformInverse,i=h[0],j=h[1],k=Math.max(Math.sqrt(i*i+j*j),1),l=h[2],m=h[3],n=Math.max(Math.sqrt(l*l+m*m),1);if(a instanceof HTMLElement||!a.data)f=a;else{g=ia.getCanvas("inlineImage",b,c);var o=g.context;e(o,a),f=g.canvas}for(var p=b,q=c,r="prescale1";k>2&&p>1||n>2&&q>1;){var s=p,t=q;k>2&&p>1&&(s=Math.ceil(p/2),k/=p/s),n>2&&q>1&&(t=Math.ceil(q/2),n/=q/t),g=ia.getCanvas(r,s,t),o=g.context,o.clearRect(0,0,s,t),o.drawImage(f,0,0,p,q,0,0,s,t),f=g.canvas,p=s,q=t,r="prescale1"===r?"prescale2":"prescale1"}if(d.drawImage(f,0,0,p,q,0,-c,b,c),this.imageLayer){var u=this.getCanvasPosition(0,-c);this.imageLayer.appendImage({imgData:a,left:u[0],top:u[1],width:b/h[0],height:c/h[3]})}this.restore()},paintInlineImageXObjectGroup:function(a,b){var c=this.ctx,d=a.width,f=a.height,g=ia.getCanvas("inlineImage",d,f),h=g.context;e(h,a);for(var i=0,j=b.length;j>i;i++){var k=b[i];if(c.save(),c.transform.apply(c,k.transform),c.scale(1,-1),c.drawImage(g.canvas,k.x,k.y,k.w,k.h,0,-1,1,1),this.imageLayer){var l=this.getCanvasPosition(k.x,k.y);this.imageLayer.appendImage({imgData:a,left:l[0],top:l[1],width:d,height:f})}c.restore()}},paintSolidColorImageMask:function(){this.ctx.fillRect(0,0,1,1)},paintXObject:function(){I.notify(H.unknown),b("Unsupported 'paintXObject' command.")},markPoint:function(a){},markPointProps:function(a,b){},beginMarkedContent:function(a){},beginMarkedContentProps:function(a,b){},endMarkedContent:function(){},beginCompat:function(){},endCompat:function(){},consumePath:function(){var a=this.ctx;this.pendingClip&&(this.pendingClip===v?void 0!==a.mozFillRule?(a.mozFillRule="evenodd",a.clip(),a.mozFillRule="nonzero"):a.clip("evenodd"):a.clip(),this.pendingClip=null),a.beginPath()},getSinglePixelWidth:function(a){if(null===this.cachedGetSinglePixelWidth){var b=this.ctx.mozCurrentTransformInverse;this.cachedGetSinglePixelWidth=Math.sqrt(Math.max(b[0]*b[0]+b[1]*b[1],b[2]*b[2]+b[3]*b[3]))}return this.cachedGetSinglePixelWidth},getCanvasPosition:function(a,b){var c=this.ctx.mozCurrentTransform;return[c[0]*a+c[2]*b+c[4],c[1]*a+c[3]*b+c[5]]}};for(var z in G)c.prototype[G[z]]=c.prototype[z];return c}(),la=function(){function a(a,b,c){var d=a.createShader(c);a.shaderSource(d,b),a.compileShader(d);var e=a.getShaderParameter(d,a.COMPILE_STATUS);if(!e){var f=a.getShaderInfoLog(d);throw new Error("Error during shader compilation: "+f)}return d}function b(b,c){return a(b,c,b.VERTEX_SHADER)}function c(b,c){return a(b,c,b.FRAGMENT_SHADER)}function d(a,b){for(var c=a.createProgram(),d=0,e=b.length;e>d;++d)a.attachShader(c,b[d]);a.linkProgram(c);var f=a.getProgramParameter(c,a.LINK_STATUS);if(!f){var g=a.getProgramInfoLog(c);throw new Error("Error during program linking: "+g)}return c}function e(a,b,c){a.activeTexture(c);var d=a.createTexture();return a.bindTexture(a.TEXTURE_2D,d),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_WRAP_S,a.CLAMP_TO_EDGE),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_WRAP_T,a.CLAMP_TO_EDGE),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MIN_FILTER,a.NEAREST),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MAG_FILTER,a.NEAREST),a.texImage2D(a.TEXTURE_2D,0,a.RGBA,a.RGBA,a.UNSIGNED_BYTE,b),d}function f(){m||(n=document.createElement("canvas"),m=n.getContext("webgl",{premultipliedalpha:!1}))}function g(){var a,e;f(),a=n,n=null,e=m,m=null;var g=b(e,o),h=c(e,p),i=d(e,[g,h]);e.useProgram(i);var j={};j.gl=e,j.canvas=a,j.resolutionLocation=e.getUniformLocation(i,"u_resolution"),j.positionLocation=e.getAttribLocation(i,"a_position"),j.backdropLocation=e.getUniformLocation(i,"u_backdrop"),j.subtypeLocation=e.getUniformLocation(i,"u_subtype");var k=e.getAttribLocation(i,"a_texCoord"),l=e.getUniformLocation(i,"u_image"),r=e.getUniformLocation(i,"u_mask"),s=e.createBuffer();e.bindBuffer(e.ARRAY_BUFFER,s),e.bufferData(e.ARRAY_BUFFER,new Float32Array([0,0,1,0,0,1,0,1,1,0,1,1]),e.STATIC_DRAW),e.enableVertexAttribArray(k),e.vertexAttribPointer(k,2,e.FLOAT,!1,0,0),e.uniform1i(l,0),e.uniform1i(r,1),q=j}function h(a,b,c){var d=a.width,f=a.height;q||g();var h=q,i=h.canvas,j=h.gl;i.width=d,i.height=f,j.viewport(0,0,j.drawingBufferWidth,j.drawingBufferHeight),j.uniform2f(h.resolutionLocation,d,f),c.backdrop?j.uniform4f(h.resolutionLocation,c.backdrop[0],c.backdrop[1],c.backdrop[2],1):j.uniform4f(h.resolutionLocation,0,0,0,0),j.uniform1i(h.subtypeLocation,"Luminosity"===c.subtype?1:0);var k=e(j,a,j.TEXTURE0),l=e(j,b,j.TEXTURE1),m=j.createBuffer();return j.bindBuffer(j.ARRAY_BUFFER,m),j.bufferData(j.ARRAY_BUFFER,new Float32Array([0,0,d,0,0,f,0,f,d,0,d,f]),j.STATIC_DRAW),j.enableVertexAttribArray(h.positionLocation),j.vertexAttribPointer(h.positionLocation,2,j.FLOAT,!1,0,0),j.clearColor(0,0,0,0),j.enable(j.BLEND),j.blendFunc(j.ONE,j.ONE_MINUS_SRC_ALPHA),j.clear(j.COLOR_BUFFER_BIT),j.drawArrays(j.TRIANGLES,0,6),j.flush(),j.deleteTexture(k),j.deleteTexture(l),j.deleteBuffer(m),i}function j(){var a,e;f(),a=n,n=null,e=m,m=null;var g=b(e,r),h=c(e,s),i=d(e,[g,h]);e.useProgram(i);var j={};j.gl=e,j.canvas=a,j.resolutionLocation=e.getUniformLocation(i,"u_resolution"),j.scaleLocation=e.getUniformLocation(i,"u_scale"),j.offsetLocation=e.getUniformLocation(i,"u_offset"),j.positionLocation=e.getAttribLocation(i,"a_position"),j.colorLocation=e.getAttribLocation(i,"a_color"),t=j}function k(a,b,c,d,e){t||j();var f=t,g=f.canvas,h=f.gl;g.width=a,g.height=b,h.viewport(0,0,h.drawingBufferWidth,h.drawingBufferHeight),h.uniform2f(f.resolutionLocation,a,b);var i,k,l,m=0;for(i=0,k=d.length;k>i;i++)switch(d[i].type){case"lattice":l=d[i].coords.length/d[i].verticesPerRow|0,m+=(l-1)*(d[i].verticesPerRow-1)*6;break;case"triangles":m+=d[i].coords.length}var n=new Float32Array(2*m),o=new Uint8Array(3*m),p=e.coords,q=e.colors,r=0,s=0;for(i=0,k=d.length;k>i;i++){var u=d[i],v=u.coords,w=u.colors;switch(u.type){case"lattice":var x=u.verticesPerRow;l=v.length/x|0;for(var y=1;l>y;y++)for(var z=y*x+1,A=1;x>A;A++,z++)n[r]=p[v[z-x-1]],n[r+1]=p[v[z-x-1]+1],n[r+2]=p[v[z-x]],n[r+3]=p[v[z-x]+1],n[r+4]=p[v[z-1]],n[r+5]=p[v[z-1]+1],o[s]=q[w[z-x-1]],o[s+1]=q[w[z-x-1]+1],o[s+2]=q[w[z-x-1]+2],o[s+3]=q[w[z-x]],o[s+4]=q[w[z-x]+1],o[s+5]=q[w[z-x]+2],o[s+6]=q[w[z-1]],o[s+7]=q[w[z-1]+1],o[s+8]=q[w[z-1]+2],n[r+6]=n[r+2],n[r+7]=n[r+3],n[r+8]=n[r+4],n[r+9]=n[r+5],n[r+10]=p[v[z]],n[r+11]=p[v[z]+1],o[s+9]=o[s+3],o[s+10]=o[s+4],o[s+11]=o[s+5],o[s+12]=o[s+6],o[s+13]=o[s+7],o[s+14]=o[s+8],o[s+15]=q[w[z]],o[s+16]=q[w[z]+1],o[s+17]=q[w[z]+2],r+=12,s+=18;break;case"triangles":for(var B=0,C=v.length;C>B;B++)n[r]=p[v[B]],n[r+1]=p[v[B]+1],o[s]=q[w[B]],o[s+1]=q[w[B]+1],o[s+2]=q[w[B]+2],r+=2,s+=3}}c?h.clearColor(c[0]/255,c[1]/255,c[2]/255,1):h.clearColor(0,0,0,0),h.clear(h.COLOR_BUFFER_BIT);var D=h.createBuffer();h.bindBuffer(h.ARRAY_BUFFER,D),h.bufferData(h.ARRAY_BUFFER,n,h.STATIC_DRAW),h.enableVertexAttribArray(f.positionLocation),h.vertexAttribPointer(f.positionLocation,2,h.FLOAT,!1,0,0);var E=h.createBuffer();return h.bindBuffer(h.ARRAY_BUFFER,E),h.bufferData(h.ARRAY_BUFFER,o,h.STATIC_DRAW),h.enableVertexAttribArray(f.colorLocation),h.vertexAttribPointer(f.colorLocation,3,h.UNSIGNED_BYTE,!1,0,0),h.uniform2f(f.scaleLocation,e.scaleX,e.scaleY),h.uniform2f(f.offsetLocation,e.offsetX,e.offsetY),h.drawArrays(h.TRIANGLES,0,m),h.flush(),h.deleteBuffer(D),h.deleteBuffer(E),g}function l(){q&&q.canvas&&(q.canvas.width=0,q.canvas.height=0),t&&t.canvas&&(t.canvas.width=0,t.canvas.height=0),q=null,t=null}var m,n,o=" attribute vec2 a_position; attribute vec2 a_texCoord; uniform vec2 u_resolution; varying vec2 v_texCoord; void main() { vec2 clipSpace = (a_position / u_resolution) * 2.0 - 1.0; gl_Position = vec4(clipSpace * vec2(1, -1), 0, 1); v_texCoord = a_texCoord; } ",p=" precision mediump float; uniform vec4 u_backdrop; uniform int u_subtype; uniform sampler2D u_image; uniform sampler2D u_mask; varying vec2 v_texCoord; void main() { vec4 imageColor = texture2D(u_image, v_texCoord); vec4 maskColor = texture2D(u_mask, v_texCoord); if (u_backdrop.a > 0.0) { maskColor.rgb = maskColor.rgb * maskColor.a + u_backdrop.rgb * (1.0 - maskColor.a); } float lum; if (u_subtype == 0) { lum = maskColor.a; } else { lum = maskColor.r * 0.3 + maskColor.g * 0.59 + maskColor.b * 0.11; } imageColor.a *= lum; imageColor.rgb *= imageColor.a; gl_FragColor = imageColor; } ",q=null,r=" attribute vec2 a_position; attribute vec3 a_color; uniform vec2 u_resolution; uniform vec2 u_scale; uniform vec2 u_offset; varying vec4 v_color; void main() { vec2 position = (a_position + u_offset) * u_scale; vec2 clipSpace = (position / u_resolution) * 2.0 - 1.0; gl_Position = vec4(clipSpace * vec2(1, -1), 0, 1); v_color = vec4(a_color / 255.0, 1.0); } ",s=" precision mediump float; varying vec4 v_color; void main() { gl_FragColor = v_color; } ",t=null;return{get isEnabled(){if(PDFJS.disableWebGL)return!1;var a=!1;try{f(),a=!!m}catch(b){}return i(this,"isEnabled",a)},composeSMask:h,drawFigures:k,clear:l}}(),ma={};ma.RadialAxial={fromIR:function(a){var b=a[1],c=a[2],d=a[3],e=a[4],f=a[5],g=a[6];return{type:"Pattern",getPattern:function(a){var h;"axial"===b?h=a.createLinearGradient(d[0],d[1],e[0],e[1]):"radial"===b&&(h=a.createRadialGradient(d[0],d[1],f,e[0],e[1],g));for(var i=0,j=c.length;j>i;++i){var k=c[i];h.addColorStop(k[0],k[1])}return h}}}};var na=function(){function a(a,b,c,d,e,f,g,h){var i,j=b.coords,k=b.colors,l=a.data,m=4*a.width;j[c+1]>j[d+1]&&(i=c,c=d,d=i,i=f,f=g,g=i),j[d+1]>j[e+1]&&(i=d,d=e,e=i,i=g,g=h,h=i),j[c+1]>j[d+1]&&(i=c,c=d,d=i,i=f,f=g,g=i);var n=(j[c]+b.offsetX)*b.scaleX,o=(j[c+1]+b.offsetY)*b.scaleY,p=(j[d]+b.offsetX)*b.scaleX,q=(j[d+1]+b.offsetY)*b.scaleY,r=(j[e]+b.offsetX)*b.scaleX,s=(j[e+1]+b.offsetY)*b.scaleY;if(!(o>=s))for(var t,u,v,w,x,y,z,A,B,C=k[f],D=k[f+1],E=k[f+2],F=k[g],G=k[g+1],H=k[g+2],I=k[h],J=k[h+1],K=k[h+2],L=Math.round(o),M=Math.round(s),N=L;M>=N;N++){q>N?(B=o>N?0:o===q?1:(o-N)/(o-q),t=n-(n-p)*B,u=C-(C-F)*B,v=D-(D-G)*B,w=E-(E-H)*B):(B=N>s?1:q===s?0:(q-N)/(q-s),t=p-(p-r)*B,u=F-(F-I)*B,v=G-(G-J)*B,w=H-(H-K)*B),B=o>N?0:N>s?1:(o-N)/(o-s),x=n-(n-r)*B,y=C-(C-I)*B,z=D-(D-J)*B,A=E-(E-K)*B;for(var O=Math.round(Math.min(t,x)),P=Math.round(Math.max(t,x)),Q=m*N+4*O,R=O;P>=R;R++)B=(t-R)/(t-x),B=0>B?0:B>1?1:B,l[Q++]=u-(u-y)*B|0,l[Q++]=v-(v-z)*B|0,l[Q++]=w-(w-A)*B|0,l[Q++]=255}}function b(b,c,e){var f,g,h=c.coords,i=c.colors;switch(c.type){case"lattice":var j=c.verticesPerRow,k=Math.floor(h.length/j)-1,l=j-1;for(f=0;k>f;f++)for(var m=f*j,n=0;l>n;n++,m++)a(b,e,h[m],h[m+1],h[m+j],i[m],i[m+1],i[m+j]),a(b,e,h[m+j+1],h[m+1],h[m+j],i[m+j+1],i[m+1],i[m+j]);break;case"triangles":for(f=0,g=h.length;g>f;f+=3)a(b,e,h[f],h[f+1],h[f+2],i[f],i[f+1],i[f+2]);break;default:d("illigal figure")}}function c(a,c,d,e,f,g){var h,i,j,k,l=1.1,m=3e3,n=Math.floor(a[0]),o=Math.floor(a[1]),p=Math.ceil(a[2])-n,q=Math.ceil(a[3])-o,r=Math.min(Math.ceil(Math.abs(p*c[0]*l)),m),s=Math.min(Math.ceil(Math.abs(q*c[1]*l)),m),t=p/r,u=q/s,v={coords:d,colors:e,offsetX:-n,offsetY:-o,scaleX:1/t,scaleY:1/u};if(la.isEnabled)h=la.drawFigures(r,s,g,f,v),i=ia.getCanvas("mesh",r,s,!1),i.context.drawImage(h,0,0),h=i.canvas;else{i=ia.getCanvas("mesh",r,s,!1);var w=i.context,x=w.createImageData(r,s);if(g){var y=x.data;for(j=0,k=y.length;k>j;j+=4)y[j]=g[0],y[j+1]=g[1],y[j+2]=g[2],y[j+3]=255}for(j=0;j=14?!0:"node"===a}(),nativeFontFaces:[],isFontLoadingAPISupported:!A&&"undefined"!=typeof document&&!!document.fonts,addNativeFontFace:function(a){this.nativeFontFaces.push(a),document.fonts.add(a)},bind:function(a,c){f(!A,"bind() shall be called from main thread");for(var d=[],e=[],g=[],h=function(a){return a.loaded["catch"](function(c){b('Failed to load font "'+a.family+'": '+c)})},i=0,j=a.length;j>i;i++){var k=a[i];if(!k.attached&&k.loading!==!1)if(k.attached=!0,this.isFontLoadingAPISupported){var l=k.createNativeFontFace();l&&g.push(h(l))}else{var m=k.bindDOM();m&&(d.push(m),e.push(k))}}var n=pa.queueLoadingCallback(c);this.isFontLoadingAPISupported?Promise.all(g).then(function(){n.complete()}):d.length>0&&!this.isSyncFontLoadingSupported?pa.prepareFontLoadEvent(d,e,n):n.complete()},queueLoadingCallback:function(a){function b(){for(f(!e.end,"completeRequest() cannot be called twice"),e.end=Date.now();c.requests.length>0&&c.requests[0].end;){var a=c.requests.shift();setTimeout(a.callback,0)}}var c=pa.loadingContext,d="pdfjs-font-loading-"+c.nextRequestId++,e={id:d,complete:b,callback:a,started:Date.now()};return c.requests.push(e),e},prepareFontLoadEvent:function(a,c,d){function e(a,b){return a.charCodeAt(b)<<24|a.charCodeAt(b+1)<<16|a.charCodeAt(b+2)<<8|255&a.charCodeAt(b+3)}function f(a,b,c,d){var e=a.substr(0,b),f=a.substr(b+c);return e+d+f}function g(a,c){if(l++,l>30)return b("Load test font never loaded."),void c();k.font="30px "+a,k.fillText(".",0,20); -var d=k.getImageData(0,0,1,1);return d.data[3]>0?void c():void setTimeout(g.bind(null,a,c))}var h,i,j=document.createElement("canvas");j.width=1,j.height=1;var k=j.getContext("2d"),l=0,n="lt"+Date.now()+this.loadTestFontId++,o=this.loadTestFont,p=976;o=f(o,p,n.length,n);var q=16,r=1482184792,s=e(o,q);for(h=0,i=n.length-3;i>h;h+=4)s=s-r+e(n,h)|0;hh;h++)v.push(c[h].loadedName);v.push(n);var w=document.createElement("div");for(w.setAttribute("style","visibility: hidden;width: 10px; height: 10px;position: absolute; top: 0px; left: 0px;"),h=0,i=v.length;i>h;++h){var x=document.createElement("span");x.textContent="Hi",x.style.fontFamily=v[h],w.appendChild(x)}document.body.appendChild(w),g(n,function(){document.body.removeChild(w),d.complete()})}},qa=function(){function a(a,b,c){if(this.compiledGlyphs={},1!==arguments.length);else{var d=arguments[0];for(var e in d)this[e]=d[e]}}return a.prototype={createNativeFontFace:function(){if(!this.data)return null;if(PDFJS.disableFontFace)return this.disableFontFace=!0,null;var a=new FontFace(this.loadedName,this.data,{});return pa.addNativeFontFace(a),PDFJS.pdfBug&&"FontInspector"in z&&z.FontInspector.enabled&&z.FontInspector.fontAdded(this),a},bindDOM:function(){if(!this.data)return null;if(PDFJS.disableFontFace)return this.disableFontFace=!0,null;var a=k(new Uint8Array(this.data)),b=this.loadedName,c="url(data:"+this.mimetype+";base64,"+window.btoa(a)+");",d='@font-face { font-family:"'+b+'";src:'+c+"}";return pa.insertRule(d),PDFJS.pdfBug&&"FontInspector"in z&&z.FontInspector.enabled&&z.FontInspector.fontAdded(this,c),d},getPathGenerator:function(a,b){if(!(b in this.compiledGlyphs)){var c,d,e,f=a.get(this.loadedName+"_path_"+b);if(pa.isEvalSupported){var g,h="";for(d=0,e=f.length;e>d;d++)c=f[d],g=void 0!==c.args?c.args.join(","):"",h+="c."+c.cmd+"("+g+");\n";this.compiledGlyphs[b]=new Function("c","size",h)}else this.compiledGlyphs[b]=function(a,b){for(d=0,e=f.length;e>d;d++)c=f[d],"scale"===c.cmd&&(c.args=[b,-b]),a[c.cmd].apply(a,c.args)}}return this.compiledGlyphs[b]}},a}(),ra=10,sa=function(){function a(a,b,c){var d=a.style;if(d.fontSize=b.fontSize+"px",d.direction=b.fontDirection<0?"rtl":"ltr",c){d.fontWeight=c.black?c.bold?"bolder":"bold":c.bold?"bold":"normal",d.fontStyle=c.italic?"italic":"normal";var e=c.loadedName,f=e?'"'+e+'", ':"",g=c.fallbackName||"Helvetica, sans-serif";d.fontFamily=f+g}}function c(a){var c=document.createElement("section"),d=c.style,e=a.rect[2]-a.rect[0],f=a.rect[3]-a.rect[1];if(a.borderStyle.width>0){c.style.borderWidth=a.borderStyle.width+"px",a.borderStyle.style!==F.UNDERLINE&&(e-=2*a.borderStyle.width,f-=2*a.borderStyle.width);var g=a.borderStyle.horizontalCornerRadius,h=a.borderStyle.verticalCornerRadius;if(g>0||h>0){var i=g+"px / "+h+"px";CustomStyle.setProp("borderRadius",c,i)}switch(a.borderStyle.style){case F.SOLID:c.style.borderStyle="solid";break;case F.DASHED:c.style.borderStyle="dashed";break;case F.BEVELED:b("Unimplemented border style: beveled");break;case F.INSET:b("Unimplemented border style: inset");break;case F.UNDERLINE:c.style.borderBottomStyle="solid"}a.color?c.style.borderColor=T.makeCssRgb(0|a.color[0],0|a.color[1],0|a.color[2]):c.style.borderWidth=0}return d.width=e+"px",d.height=f+"px",c}function d(b,c){var d=document.createElement("div"),e=b.rect[2]-b.rect[0],f=b.rect[3]-b.rect[1];d.style.width=e+"px",d.style.height=f+"px",d.style.display="table";var g=document.createElement("div");g.textContent=b.fieldValue;var h=b.textAlignment;g.style.textAlign=["left","center","right"][h],g.style.verticalAlign="middle",g.style.display="table-cell";var i=b.fontRefName?c.getData(b.fontRefName):null;return a(g,b,i),d.appendChild(g),d}function e(a){var b=a.rect;b[3]-b[1]i;++i){var t=s[i];r.appendChild(document.createTextNode(t)),j-1>i&&r.appendChild(document.createElement("br"))}q.appendChild(r);var u=!1,v=function(a){a&&(u=!0),h.hasAttribute("hidden")&&(d.style.zIndex+=1,h.removeAttribute("hidden"))},w=function(a){a&&(u=!1),h.hasAttribute("hidden")||u||(d.style.zIndex-=1,h.setAttribute("hidden",!0))},x=function(){u?w(!0):v(!0)};e.addEventListener("click",function(){x()},!1),e.addEventListener("mouseover",function(){v()},!1),e.addEventListener("mouseout",function(){w()},!1),h.addEventListener("click",function(){w(!0)},!1)}else h.setAttribute("hidden",!0);return h.appendChild(p),h.appendChild(q),g.appendChild(h),d.appendChild(e),d.appendChild(g),d}function f(a){var b=c(a);b.className="annotLink";var d=document.createElement("a");return d.href=d.title=a.url||"",a.url&&j()&&(d.target=K[PDFJS.externalLinkTarget]),b.appendChild(d),b}function g(a,b){switch(a.annotationType){case E.WIDGET:return d(a,b);case E.TEXT:return e(a);case E.LINK:return f(a);default:throw new Error("Unsupported annotationType: "+a.annotationType)}}return{getHtmlElement:g}}();PDFJS.AnnotationUtils=sa;var ta={fontStyle:"normal",fontWeight:"normal",fillColor:"#000000"},ua=function(){function a(a,b,c){for(var d=-1,e=b;c>e;e++){var f=255&(d^a[e]),h=g[f];d=d>>>8^h}return-1^d}function b(b,c,d,e){var f=e,g=c.length;d[f]=g>>24&255,d[f+1]=g>>16&255,d[f+2]=g>>8&255,d[f+3]=255&g,f+=4,d[f]=255&b.charCodeAt(0),d[f+1]=255&b.charCodeAt(1),d[f+2]=255&b.charCodeAt(2),d[f+3]=255&b.charCodeAt(3),f+=4,d.set(c,f),f+=c.length;var h=a(d,e+4,f);d[f]=h>>24&255,d[f+1]=h>>16&255,d[f+2]=h>>8&255,d[f+3]=255&h}function c(a,b,c){for(var d=1,e=0,f=b;c>f;++f)d=(d+(255&a[f]))%65521,e=(e+d)%65521;return e<<16|d}function d(a,d){var g,h,i,j=a.width,k=a.height,l=a.data;switch(d){case D.GRAYSCALE_1BPP:h=0,g=1,i=j+7>>3;break;case D.RGB_24BPP:h=2,g=8,i=3*j;break;case D.RGBA_32BPP:h=6,g=8,i=4*j;break;default:throw new Error("invalid format")}var m,n,o=new Uint8Array((1+i)*k),p=0,q=0;for(m=0;k>m;++m)o[p++]=0,o.set(l.subarray(q,q+i),p),q+=i,p+=i;if(d===D.GRAYSCALE_1BPP)for(p=0,m=0;k>m;m++)for(p++,n=0;i>n;n++)o[p++]^=255;var r=new Uint8Array([j>>24&255,j>>16&255,j>>8&255,255&j,k>>24&255,k>>16&255,k>>8&255,255&k,g,h,0,0,0]),s=o.length,t=65535,u=Math.ceil(s/t),v=new Uint8Array(2+s+5*u+4),w=0;v[w++]=120,v[w++]=156;for(var x=0;s>t;)v[w++]=0,v[w++]=255,v[w++]=255,v[w++]=0,v[w++]=0,v.set(o.subarray(x,x+t),w),w+=t,x+=t,s-=t;v[w++]=1,v[w++]=255&s,v[w++]=s>>8&255,v[w++]=65535&~s&255,v[w++]=(65535&~s)>>8&255,v.set(o.subarray(x),w),w+=o.length-x;var y=c(o,0,o.length);v[w++]=y>>24&255,v[w++]=y>>16&255,v[w++]=y>>8&255,v[w++]=255&y;var z=e.length+3*f+r.length+v.length,A=new Uint8Array(z),B=0;return A.set(e,B),B+=e.length,b("IHDR",r,A,B),B+=f+r.length,b("IDATA",v,A,B),B+=f+v.length,b("IEND",new Uint8Array(0),A,B),PDFJS.createObjectURL(A,"image/png")}for(var e=new Uint8Array([137,80,78,71,13,10,26,10]),f=12,g=new Int32Array(256),h=0;256>h;h++){for(var i=h,j=0;8>j;j++)i=1&i?3988292384^i>>1&2147483647:i>>1&2147483647;g[h]=i}return function(a){var b=void 0===a.kind?D.GRAYSCALE_1BPP:a.kind;return d(a,b)}}(),va=function(){function a(){this.fontSizeScale=1,this.fontWeight=ta.fontWeight,this.fontSize=0,this.textMatrix=S,this.fontMatrix=B,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRise=0,this.fillColor=ta.fillColor,this.strokeColor="#000000",this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.lineJoin="",this.lineCap="",this.miterLimit=0,this.dashArray=[],this.dashPhase=0,this.dependencies=[],this.clipId="",this.pendingClip=!1,this.maskId=""}return a.prototype={clone:function(){return Object.create(this)},setCurrentPoint:function(a,b){this.x=a,this.y=b}},a}(),wa=function(){function a(a,b){var c="http://www.w3.org/2000/svg",d=document.createElementNS(c,"svg:svg");return d.setAttributeNS(null,"version","1.1"),d.setAttributeNS(null,"width",a+"px"),d.setAttributeNS(null,"height",b+"px"),d.setAttributeNS(null,"viewBox","0 0 "+a+" "+b),d}function c(a){for(var b=[],c=[],d=a.length,e=0;d>e;e++)"save"!==a[e].fn?"restore"===a[e].fn?b=c.pop():b.push(a[e]):(b.push({fnId:92,fn:"group",items:[]}),c.push(b),b=b[b.length-1].items);return b}function d(a){if(a===(0|a))return a.toString();var b=a.toFixed(10),c=b.length-1;if("0"!==b[c])return b;do c--;while("0"===b[c]);return b.substr(0,"."===b[c]?c:c+1)}function e(a){if(0===a[4]&&0===a[5]){if(0===a[1]&&0===a[2])return 1===a[0]&&1===a[3]?"":"scale("+d(a[0])+" "+d(a[3])+")";if(a[0]===a[3]&&a[1]===-a[2]){var b=180*Math.acos(a[0])/Math.PI;return"rotate("+d(b)+")"}}else if(1===a[0]&&0===a[1]&&0===a[2]&&1===a[3])return"translate("+d(a[4])+" "+d(a[5])+")";return"matrix("+d(a[0])+" "+d(a[1])+" "+d(a[2])+" "+d(a[3])+" "+d(a[4])+" "+d(a[5])+")"}function f(a,b){this.current=new va,this.transformMatrix=S,this.transformStack=[],this.extraStack=[],this.commonObjs=a,this.objs=b,this.pendingEOFill=!1,this.embedFonts=!1,this.embeddedFonts={},this.cssStyle=null}var g="http://www.w3.org/2000/svg",h="http://www.w3.org/XML/1998/namespace",i="http://www.w3.org/1999/xlink",j=["butt","round","square"],k=["miter","round","bevel"],l=0,m=0;return f.prototype={save:function(){this.transformStack.push(this.transformMatrix);var a=this.current;this.extraStack.push(a),this.current=a.clone()},restore:function(){this.transformMatrix=this.transformStack.pop(),this.current=this.extraStack.pop(),this.tgrp=document.createElementNS(g,"svg:g"),this.tgrp.setAttributeNS(null,"transform",e(this.transformMatrix)),this.pgrp.appendChild(this.tgrp)},group:function(a){this.save(),this.executeOpTree(a),this.restore()},loadDependencies:function(a){for(var b=a.fnArray,c=b.length,d=a.argsArray,e=this,f=0;c>f;f++)if(G.dependency===b[f])for(var g=d[f],h=0,i=g.length;i>h;h++){var j,k=g[h],l="g_"===k.substring(0,2);j=l?new Promise(function(a){e.commonObjs.get(k,a)}):new Promise(function(a){e.objs.get(k,a)}),this.current.dependencies.push(j)}return Promise.all(this.current.dependencies)},transform:function(a,b,c,d,f,h){var i=[a,b,c,d,f,h];this.transformMatrix=PDFJS.Util.transform(this.transformMatrix,i),this.tgrp=document.createElementNS(g,"svg:g"),this.tgrp.setAttributeNS(null,"transform",e(this.transformMatrix))},getSVG:function(b,c){return this.svg=a(c.width,c.height),this.viewport=c,this.loadDependencies(b).then(function(){this.transformMatrix=S,this.pgrp=document.createElementNS(g,"svg:g"),this.pgrp.setAttributeNS(null,"transform",e(c.transform)),this.tgrp=document.createElementNS(g,"svg:g"),this.tgrp.setAttributeNS(null,"transform",e(this.transformMatrix)),this.defs=document.createElementNS(g,"svg:defs"),this.pgrp.appendChild(this.defs),this.pgrp.appendChild(this.tgrp),this.svg.appendChild(this.pgrp);var a=this.convertOpList(b);return this.executeOpTree(a),this.svg}.bind(this))},convertOpList:function(a){var b=a.argsArray,d=a.fnArray,e=d.length,f=[],g=[];for(var h in G)f[G[h]]=h;for(var i=0;e>i;i++){var j=d[i];g.push({fnId:j,fn:f[j],args:b[i]})}return c(g)},executeOpTree:function(a){for(var c=a.length,d=0;c>d;d++){var e=a[d].fn,f=a[d].fnId,g=a[d].args;switch(0|f){case G.beginText:this.beginText();break;case G.setLeading:this.setLeading(g);break;case G.setLeadingMoveText:this.setLeadingMoveText(g[0],g[1]);break;case G.setFont:this.setFont(g);break;case G.showText:this.showText(g[0]);break;case G.showSpacedText:this.showText(g[0]);break;case G.endText:this.endText();break;case G.moveText:this.moveText(g[0],g[1]);break;case G.setCharSpacing:this.setCharSpacing(g[0]);break;case G.setWordSpacing:this.setWordSpacing(g[0]);break;case G.setHScale:this.setHScale(g[0]);break;case G.setTextMatrix:this.setTextMatrix(g[0],g[1],g[2],g[3],g[4],g[5]);break;case G.setLineWidth:this.setLineWidth(g[0]);break;case G.setLineJoin:this.setLineJoin(g[0]);break;case G.setLineCap:this.setLineCap(g[0]);break;case G.setMiterLimit:this.setMiterLimit(g[0]);break;case G.setFillRGBColor:this.setFillRGBColor(g[0],g[1],g[2]);break;case G.setStrokeRGBColor:this.setStrokeRGBColor(g[0],g[1],g[2]);break;case G.setDash:this.setDash(g[0],g[1]);break;case G.setGState:this.setGState(g[0]);break;case G.fill:this.fill();break;case G.eoFill:this.eoFill();break;case G.stroke:this.stroke();break;case G.fillStroke:this.fillStroke();break;case G.eoFillStroke:this.eoFillStroke();break;case G.clip:this.clip("nonzero");break;case G.eoClip:this.clip("evenodd");break;case G.paintSolidColorImageMask:this.paintSolidColorImageMask();break;case G.paintJpegXObject:this.paintJpegXObject(g[0],g[1],g[2]);break;case G.paintImageXObject:this.paintImageXObject(g[0]);break;case G.paintInlineImageXObject:this.paintInlineImageXObject(g[0]);break;case G.paintImageMaskXObject:this.paintImageMaskXObject(g[0]);break;case G.paintFormXObjectBegin:this.paintFormXObjectBegin(g[0],g[1]);break;case G.paintFormXObjectEnd:this.paintFormXObjectEnd();break;case G.closePath:this.closePath();break;case G.closeStroke:this.closeStroke();break;case G.closeFillStroke:this.closeFillStroke();break;case G.nextLine:this.nextLine();break;case G.transform:this.transform(g[0],g[1],g[2],g[3],g[4],g[5]);break;case G.constructPath:this.constructPath(g[0],g[1]);break;case G.endPath:this.endPath();break;case 92:this.group(a[d].items);break;default:b("Unimplemented method "+e)}}},setWordSpacing:function(a){this.current.wordSpacing=a},setCharSpacing:function(a){this.current.charSpacing=a},nextLine:function(){this.moveText(0,this.current.leading)},setTextMatrix:function(a,b,c,e,f,h){var i=this.current;this.current.textMatrix=this.current.lineMatrix=[a,b,c,e,f,h],this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0,i.xcoords=[],i.tspan=document.createElementNS(g,"svg:tspan"),i.tspan.setAttributeNS(null,"font-family",i.fontFamily),i.tspan.setAttributeNS(null,"font-size",d(i.fontSize)+"px"),i.tspan.setAttributeNS(null,"y",d(-i.y)),i.txtElement=document.createElementNS(g,"svg:text"),i.txtElement.appendChild(i.tspan)},beginText:function(){this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0,this.current.textMatrix=S,this.current.lineMatrix=S,this.current.tspan=document.createElementNS(g,"svg:tspan"),this.current.txtElement=document.createElementNS(g,"svg:text"),this.current.txtgrp=document.createElementNS(g,"svg:g"),this.current.xcoords=[]},moveText:function(a,b){var c=this.current;this.current.x=this.current.lineX+=a,this.current.y=this.current.lineY+=b,c.xcoords=[],c.tspan=document.createElementNS(g,"svg:tspan"),c.tspan.setAttributeNS(null,"font-family",c.fontFamily),c.tspan.setAttributeNS(null,"font-size",d(c.fontSize)+"px"),c.tspan.setAttributeNS(null,"y",d(-c.y))},showText:function(a){var b=this.current,c=b.font,f=b.fontSize;if(0!==f){var g,i=b.charSpacing,j=b.wordSpacing,k=b.fontDirection,l=b.textHScale*k,m=a.length,n=c.vertical,o=f*b.fontMatrix[0],q=0;for(g=0;m>g;++g){var r=a[g];if(null!==r)if(p(r))q+=-r*f*.001;else{b.xcoords.push(b.x+q*l);var s=r.width,t=r.fontChar,u=s*o+i*k;q+=u,b.tspan.textContent+=t}else q+=k*j}n?b.y-=q*l:b.x+=q*l,b.tspan.setAttributeNS(null,"x",b.xcoords.map(d).join(" ")),b.tspan.setAttributeNS(null,"y",d(-b.y)),b.tspan.setAttributeNS(null,"font-family",b.fontFamily),b.tspan.setAttributeNS(null,"font-size",d(b.fontSize)+"px"),b.fontStyle!==ta.fontStyle&&b.tspan.setAttributeNS(null,"font-style",b.fontStyle),b.fontWeight!==ta.fontWeight&&b.tspan.setAttributeNS(null,"font-weight",b.fontWeight),b.fillColor!==ta.fillColor&&b.tspan.setAttributeNS(null,"fill",b.fillColor),b.txtElement.setAttributeNS(null,"transform",e(b.textMatrix)+" scale(1, -1)"),b.txtElement.setAttributeNS(h,"xml:space","preserve"),b.txtElement.appendChild(b.tspan),b.txtgrp.appendChild(b.txtElement),this.tgrp.appendChild(b.txtElement)}},setLeadingMoveText:function(a,b){this.setLeading(-b),this.moveText(a,b)},addFontStyle:function(a){this.cssStyle||(this.cssStyle=document.createElementNS(g,"svg:style"),this.cssStyle.setAttributeNS(null,"type","text/css"),this.defs.appendChild(this.cssStyle));var b=PDFJS.createObjectURL(a.data,a.mimetype);this.cssStyle.textContent+='@font-face { font-family: "'+a.loadedName+'"; src: url('+b+"); }\n"},setFont:function(a){var b=this.current,c=this.commonObjs.get(a[0]),e=a[1];this.current.font=c,this.embedFonts&&c.data&&!this.embeddedFonts[c.loadedName]&&(this.addFontStyle(c),this.embeddedFonts[c.loadedName]=c),b.fontMatrix=c.fontMatrix?c.fontMatrix:B;var f=c.black?c.bold?"bolder":"bold":c.bold?"bold":"normal",h=c.italic?"italic":"normal";0>e?(e=-e,b.fontDirection=-1):b.fontDirection=1,b.fontSize=e,b.fontFamily=c.loadedName,b.fontWeight=f,b.fontStyle=h,b.tspan=document.createElementNS(g,"svg:tspan"),b.tspan.setAttributeNS(null,"y",d(-b.y)),b.xcoords=[]},endText:function(){this.current.pendingClip?(this.cgrp.appendChild(this.tgrp),this.pgrp.appendChild(this.cgrp)):this.pgrp.appendChild(this.tgrp),this.tgrp=document.createElementNS(g,"svg:g"),this.tgrp.setAttributeNS(null,"transform",e(this.transformMatrix))},setLineWidth:function(a){this.current.lineWidth=a},setLineCap:function(a){this.current.lineCap=j[a]},setLineJoin:function(a){this.current.lineJoin=k[a]},setMiterLimit:function(a){this.current.miterLimit=a},setStrokeRGBColor:function(a,b,c){var d=T.makeCssRgb(a,b,c);this.current.strokeColor=d},setFillRGBColor:function(a,b,c){var d=T.makeCssRgb(a,b,c);this.current.fillColor=d,this.current.tspan=document.createElementNS(g,"svg:tspan"),this.current.xcoords=[]},setDash:function(a,b){this.current.dashArray=a,this.current.dashPhase=b},constructPath:function(a,b){var c=this.current,e=c.x,f=c.y;c.path=document.createElementNS(g,"svg:path");for(var h=[],i=a.length,j=0,k=0;i>j;j++)switch(0|a[j]){case G.rectangle:e=b[k++],f=b[k++];var l=b[k++],m=b[k++],n=e+l,o=f+m;h.push("M",d(e),d(f),"L",d(n),d(f),"L",d(n),d(o),"L",d(e),d(o),"Z");break;case G.moveTo:e=b[k++],f=b[k++],h.push("M",d(e),d(f));break;case G.lineTo:e=b[k++],f=b[k++],h.push("L",d(e),d(f));break;case G.curveTo:e=b[k+4],f=b[k+5],h.push("C",d(b[k]),d(b[k+1]),d(b[k+2]),d(b[k+3]),d(e),d(f)),k+=6;break;case G.curveTo2:e=b[k+2],f=b[k+3],h.push("C",d(e),d(f),d(b[k]),d(b[k+1]),d(b[k+2]),d(b[k+3])),k+=4;break;case G.curveTo3:e=b[k+2],f=b[k+3],h.push("C",d(b[k]),d(b[k+1]),d(e),d(f),d(e),d(f)),k+=4;break;case G.closePath:h.push("Z")}c.path.setAttributeNS(null,"d",h.join(" ")),c.path.setAttributeNS(null,"stroke-miterlimit",d(c.miterLimit)),c.path.setAttributeNS(null,"stroke-linecap",c.lineCap),c.path.setAttributeNS(null,"stroke-linejoin",c.lineJoin),c.path.setAttributeNS(null,"stroke-width",d(c.lineWidth)+"px"),c.path.setAttributeNS(null,"stroke-dasharray",c.dashArray.map(d).join(" ")),c.path.setAttributeNS(null,"stroke-dashoffset",d(c.dashPhase)+"px"),c.path.setAttributeNS(null,"fill","none"),this.tgrp.appendChild(c.path),c.pendingClip?(this.cgrp.appendChild(this.tgrp),this.pgrp.appendChild(this.cgrp)):this.pgrp.appendChild(this.tgrp),c.element=c.path,c.setCurrentPoint(e,f)},endPath:function(){var a=this.current;a.pendingClip?(this.cgrp.appendChild(this.tgrp),this.pgrp.appendChild(this.cgrp)):this.pgrp.appendChild(this.tgrp),this.tgrp=document.createElementNS(g,"svg:g"),this.tgrp.setAttributeNS(null,"transform",e(this.transformMatrix))},clip:function(a){var b=this.current;b.clipId="clippath"+l,l++,this.clippath=document.createElementNS(g,"svg:clipPath"),this.clippath.setAttributeNS(null,"id",b.clipId);var c=b.element.cloneNode();"evenodd"===a?c.setAttributeNS(null,"clip-rule","evenodd"):c.setAttributeNS(null,"clip-rule","nonzero"),this.clippath.setAttributeNS(null,"transform",e(this.transformMatrix)),this.clippath.appendChild(c),this.defs.appendChild(this.clippath),b.pendingClip=!0,this.cgrp=document.createElementNS(g,"svg:g"),this.cgrp.setAttributeNS(null,"clip-path","url(#"+b.clipId+")"),this.pgrp.appendChild(this.cgrp)},closePath:function(){var a=this.current,b=a.path.getAttributeNS(null,"d");b+="Z",a.path.setAttributeNS(null,"d",b)},setLeading:function(a){this.current.leading=-a},setTextRise:function(a){this.current.textRise=a},setHScale:function(a){this.current.textHScale=a/100},setGState:function(a){for(var b=0,c=a.length;c>b;b++){var d=a[b],e=d[0],f=d[1];switch(e){case"LW":this.setLineWidth(f);break;case"LC":this.setLineCap(f);break;case"LJ":this.setLineJoin(f);break;case"ML":this.setMiterLimit(f);break;case"D":this.setDash(f[0],f[1]);break;case"RI":break;case"FL":break;case"Font":this.setFont(f);break;case"CA":break;case"ca":break;case"BM":break;case"SMask":}}},fill:function(){var a=this.current;a.element.setAttributeNS(null,"fill",a.fillColor)},stroke:function(){var a=this.current;a.element.setAttributeNS(null,"stroke",a.strokeColor),a.element.setAttributeNS(null,"fill","none")},eoFill:function(){var a=this.current;a.element.setAttributeNS(null,"fill",a.fillColor),a.element.setAttributeNS(null,"fill-rule","evenodd")},fillStroke:function(){this.stroke(),this.fill()},eoFillStroke:function(){this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fillStroke()},closeStroke:function(){this.closePath(),this.stroke()},closeFillStroke:function(){this.closePath(),this.fillStroke()},paintSolidColorImageMask:function(){var a=this.current,b=document.createElementNS(g,"svg:rect");b.setAttributeNS(null,"x","0"),b.setAttributeNS(null,"y","0"),b.setAttributeNS(null,"width","1px"),b.setAttributeNS(null,"height","1px"),b.setAttributeNS(null,"fill",a.fillColor),this.tgrp.appendChild(b)},paintJpegXObject:function(a,b,c){var e=this.current,f=this.objs.get(a),h=document.createElementNS(g,"svg:image");h.setAttributeNS(i,"xlink:href",f.src),h.setAttributeNS(null,"width",f.width+"px"),h.setAttributeNS(null,"height",f.height+"px"),h.setAttributeNS(null,"x","0"),h.setAttributeNS(null,"y",d(-c)),h.setAttributeNS(null,"transform","scale("+d(1/b)+" "+d(-1/c)+")"),this.tgrp.appendChild(h),e.pendingClip?(this.cgrp.appendChild(this.tgrp),this.pgrp.appendChild(this.cgrp)):this.pgrp.appendChild(this.tgrp)},paintImageXObject:function(a){var c=this.objs.get(a);return c?void this.paintInlineImageXObject(c):void b("Dependent image isn't ready yet")},paintInlineImageXObject:function(a,b){var c=this.current,e=a.width,f=a.height,h=ua(a),j=document.createElementNS(g,"svg:rect");j.setAttributeNS(null,"x","0"),j.setAttributeNS(null,"y","0"),j.setAttributeNS(null,"width",d(e)),j.setAttributeNS(null,"height",d(f)),c.element=j,this.clip("nonzero");var k=document.createElementNS(g,"svg:image");k.setAttributeNS(i,"xlink:href",h),k.setAttributeNS(null,"x","0"),k.setAttributeNS(null,"y",d(-f)),k.setAttributeNS(null,"width",d(e)+"px"),k.setAttributeNS(null,"height",d(f)+"px"),k.setAttributeNS(null,"transform","scale("+d(1/e)+" "+d(-1/f)+")"),b?b.appendChild(k):this.tgrp.appendChild(k),c.pendingClip?(this.cgrp.appendChild(this.tgrp),this.pgrp.appendChild(this.cgrp)):this.pgrp.appendChild(this.tgrp)},paintImageMaskXObject:function(a){var b=this.current,c=a.width,e=a.height,f=b.fillColor;b.maskId="mask"+m++;var h=document.createElementNS(g,"svg:mask");h.setAttributeNS(null,"id",b.maskId);var i=document.createElementNS(g,"svg:rect");i.setAttributeNS(null,"x","0"),i.setAttributeNS(null,"y","0"),i.setAttributeNS(null,"width",d(c)),i.setAttributeNS(null,"height",d(e)),i.setAttributeNS(null,"fill",f),i.setAttributeNS(null,"mask","url(#"+b.maskId+")"),this.defs.appendChild(h),this.tgrp.appendChild(i),this.paintInlineImageXObject(a,h)},paintFormXObjectBegin:function(a,b){if(this.save(),q(a)&&6===a.length&&this.transform(a[0],a[1],a[2],a[3],a[4],a[5]),q(b)&&4===b.length){var c=b[2]-b[0],e=b[3]-b[1],f=document.createElementNS(g,"svg:rect");f.setAttributeNS(null,"x",b[0]),f.setAttributeNS(null,"y",b[1]),f.setAttributeNS(null,"width",d(c)),f.setAttributeNS(null,"height",d(e)),this.current.element=f,this.clip("nonzero"),this.endPath()}},paintFormXObjectEnd:function(){this.restore()}},f}();PDFJS.SVGGraphics=wa}.call("undefined"==typeof window?this:window),PDFJS.workerSrc||"undefined"==typeof document||(PDFJS.workerSrc=function(){"use strict";var a=document.body||document.getElementsByTagName("head")[0],b=a.lastChild.src;return b&&b.replace(/\.js$/i,".worker.js")}()),"undefined"==typeof PDFJS&&(("undefined"!=typeof window?window:this).PDFJS={}),PDFJS.version="1.1.551",PDFJS.build="2a5616c",function(){"use strict";function a(a){PDFJS.verbosity>=PDFJS.VERBOSITY_LEVELS.infos&&console.log("Info: "+a)}function b(a){PDFJS.verbosity>=PDFJS.VERBOSITY_LEVELS.warnings&&console.log("Warning: "+a)}function c(a){throw PDFJS.verbosity>=PDFJS.VERBOSITY_LEVELS.errors&&(console.log("Error: "+a),console.log(d())),aa.notify(_.unknown),new Error(a)}function d(){try{throw new Error}catch(a){return a.stack?a.stack.split("\n").slice(2).join("\n"):""}}function e(a,b){a||c(b)}function f(a,b){if(!a)return!1;var c=/^[a-z][a-z0-9+\-.]*(?=:)/i.exec(a);if(!c)return b;switch(c=c[0].toLowerCase()){case"http":case"https":case"ftp":case"mailto":case"tel":return!0;default:return!1}}function g(a,b,c){return Object.defineProperty(a,b,{value:c,enumerable:!0,configurable:!0,writable:!1}),c}function h(){switch(PDFJS.openExternalLinksInNewWindow&&(b("PDFJS.openExternalLinksInNewWindow is deprecated, use PDFJS.externalLinkTarget instead."),PDFJS.externalLinkTarget===ba.NONE&&(PDFJS.externalLinkTarget=ba.BLANK),PDFJS.openExternalLinksInNewWindow=!1),PDFJS.externalLinkTarget){case ba.NONE:return!1;case ba.SELF:case ba.BLANK:case ba.PARENT:case ba.TOP:return!0}return b("PDFJS.externalLinkTarget is invalid: "+PDFJS.externalLinkTarget),PDFJS.externalLinkTarget=ba.NONE,!1}function i(a){e(null!==a&&"object"==typeof a&&void 0!==a.length,"Invalid argument for bytesToString");var b=a.length,c=8192;if(c>b)return String.fromCharCode.apply(null,a);for(var d=[],f=0;b>f;f+=c){var g=Math.min(f+c,b),h=a.subarray(f,g);d.push(String.fromCharCode.apply(null,h))}return d.join("")}function j(a){e("string"==typeof a,"Invalid argument for stringToBytes");for(var b=a.length,c=new Uint8Array(b),d=0;b>d;++d)c[d]=255&a.charCodeAt(d);return c}function k(a){return String.fromCharCode(a>>24&255,a>>16&255,a>>8&255,255&a)}function l(a){for(var b=1,c=0;a>b;)b<<=1,c++;return c}function m(a,b){return a[b]<<24>>24}function n(a,b){return a[b]<<8|a[b+1]}function o(a,b){return(a[b]<<24|a[b+1]<<16|a[b+2]<<8|a[b+3])>>>0}function p(){var a=new Uint8Array(2);a[0]=1;var b=new Uint16Array(a.buffer);return 1===b[0]}function q(){var a=document.createElement("canvas");a.width=a.height=1;var b=a.getContext("2d"),c=b.createImageData(1,1);return"undefined"!=typeof c.data.buffer}function r(a){var b,c=a.length,d=[];if("þ"===a[0]&&"ÿ"===a[1])for(b=2;c>b;b+=2)d.push(String.fromCharCode(a.charCodeAt(b)<<8|a.charCodeAt(b+1)));else for(b=0;c>b;++b){var e=oa[a.charCodeAt(b)];d.push(e?String.fromCharCode(e):a.charAt(b))}return d.join("")}function s(a){return decodeURIComponent(escape(a))}function t(a){return unescape(encodeURIComponent(a))}function u(a){for(var b in a)return!1;return!0}function v(a){return"boolean"==typeof a}function w(a){return"number"==typeof a&&(0|a)===a}function x(a){return"number"==typeof a}function y(a){return"string"==typeof a}function z(a){return a instanceof ya}function A(a,b){return a instanceof za&&(void 0===b||a.cmd===b)}function B(a,b){if(!(a instanceof Aa))return!1;if(!b)return!0;var c=a.get("Type");return z(c)&&c.name===b}function C(a){return a instanceof Array}function D(a){return"object"==typeof a&&null!==a&&void 0!==a.getBytes}function E(a){return"object"==typeof a&&null!==a&&void 0!==a.byteLength}function F(a){return a instanceof Ba}function G(){var a={};return a.promise=new Promise(function(b,c){a.resolve=b,a.reject=c}),a}function H(a,b){this.name=a,this.comObj=b,this.callbackIndex=1,this.postMessageTransfers=!0;var d=this.callbacksCapabilities={},e=this.actionHandler={};e.console_log=[function(a){console.log.apply(console,a)}],e.console_error=[function(a){console.error.apply(console,a)}],e._unsupported_feature=[function(a){aa.notify(a)}],b.onmessage=function(a){var f=a.data;if(f.isReply){var g=f.callbackId;if(f.callbackId in d){var h=d[g];delete d[g],"error"in f?h.reject(f.error):h.resolve(f.data)}else c("Cannot resolve callback "+g)}else if(f.action in e){var i=e[f.action];f.callbackId?Promise.resolve().then(function(){return i[0].call(i[1],f.data)}).then(function(a){b.postMessage({isReply:!0,callbackId:f.callbackId,data:a})},function(a){a instanceof Error&&(a+=""),b.postMessage({isReply:!0,callbackId:f.callbackId,error:a})}):i[0].call(i[1],f.data)}else c("Unknown action from worker: "+f.action)}}function I(){}function J(a,b,c){var d=b.get("Matrix"),e=b.get("BBox"),f=b.get("XStep"),g=b.get("YStep"),h=b.get("PaintType"),i=b.get("TilingType");return["TilingPattern",c,a,d,e,f,g,h,i]}function K(a){return a>=65520&&65535>=a?0:a>=62976&&63743>=a?Wb[a]||a:a}function L(a){for(var b=0,c=Xb.length;c>b;b++){var d=Xb[b];if(a>=d.begin&&a=b.begin&&a=b.begin&&a=b||!M(a.charCodeAt(0)))return a;for(var c="",d=b-1;d>=0;d--)c+=a[d];return c}function O(a){if(a.fontMatrix[0]!==T[0]){var b=.001/a.fontMatrix[0],c=a.widths;for(var d in c)c[d]*=b;a.defaultWidth*=b}}function P(a,b){switch(a){case"Type1":return"Type1C"===b?Z.TYPE1C:Z.TYPE1;case"CIDFontType0":return"CIDFontType0C"===b?Z.CIDFONTTYPE0C:Z.CIDFONTTYPE0;case"OpenType":return Z.OPENTYPE;case"TrueType":return Z.TRUETYPE;case"CIDFontType2":return Z.CIDFONTTYPE2;case"MMType1":return Z.MMTYPE1;case"Type0":return Z.TYPE0;default:return Z.UNKNOWN}}function Q(a,b,c){var d,e,f,g=Object.create(null);if(a.baseEncodingName)for(f=Pb[a.baseEncodingName],e=0;e=0?g[e]=d:g[e]=0;else if(a.flags&Ob.Symbolic)for(e in b)g[e]=b[e];else for(f=Pb.StandardEncoding,e=0;e=0?g[e]=d:g[e]=0;var h=a.differences;if(h)for(e in h){var i=h[e];d=c.indexOf(i),d>=0?g[e]=d:g[e]=0}return g}function R(a){return a===Dc}var S="undefined"==typeof window?this:window,T=("undefined"==typeof window,[.001,0,0,.001,0,0]),U={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4},V={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},W={WIDGET:1,TEXT:2,LINK:3},X={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5},Y={UNKNOWN:0,FLATE:1,LZW:2,DCT:3,JPX:4,JBIG:5,A85:6,AHX:7,CCF:8,RL:9},Z={UNKNOWN:0,TYPE1:1,TYPE1C:2,CIDFONTTYPE0:3,CIDFONTTYPE0C:4,TRUETYPE:5,CIDFONTTYPE2:6,TYPE3:7,OPENTYPE:8,TYPE0:9,MMTYPE1:10};S.PDFJS||(S.PDFJS={}),S.PDFJS.pdfBug=!1,PDFJS.VERBOSITY_LEVELS={errors:0,warnings:1,infos:5};var $=PDFJS.OPS={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47, -setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotations:78,endAnnotations:79,beginAnnotation:80,endAnnotation:81,paintJpegXObject:82,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91},_=PDFJS.UNSUPPORTED_FEATURES={unknown:"unknown",forms:"forms",javaScript:"javaScript",smask:"smask",shadingPattern:"shadingPattern",font:"font"},aa=PDFJS.UnsupportedManager=function(){var a=[];return{listen:function(b){a.push(b)},notify:function(c){b('Unsupported feature "'+c+'"');for(var d=0,e=a.length;e>d;d++)a[d](c)}}}();PDFJS.isValidUrl=f,PDFJS.shadow=g;var ba=PDFJS.LinkTarget={NONE:0,SELF:1,BLANK:2,PARENT:3,TOP:4};PDFJS.isExternalLinkTargetSet=h;var ca=PDFJS.PasswordResponses={NEED_PASSWORD:1,INCORRECT_PASSWORD:2},da=function(){function a(a,b){this.name="PasswordException",this.message=a,this.code=b}return a.prototype=new Error,a.constructor=a,a}();PDFJS.PasswordException=da;var ea=function(){function a(a,b){this.name="UnknownErrorException",this.message=a,this.details=b}return a.prototype=new Error,a.constructor=a,a}();PDFJS.UnknownErrorException=ea;var fa=function(){function a(a){this.name="InvalidPDFException",this.message=a}return a.prototype=new Error,a.constructor=a,a}();PDFJS.InvalidPDFException=fa;var ga=function(){function a(a){this.name="MissingPDFException",this.message=a}return a.prototype=new Error,a.constructor=a,a}();PDFJS.MissingPDFException=ga;var ha=function(){function a(a,b){this.name="UnexpectedResponseException",this.message=a,this.status=b}return a.prototype=new Error,a.constructor=a,a}();PDFJS.UnexpectedResponseException=ha;var ia=function(){function a(a){this.message=a}return a.prototype=new Error,a.prototype.name="NotImplementedException",a.constructor=a,a}(),ja=function(){function a(a,b){this.begin=a,this.end=b,this.message="Missing data ["+a+", "+b+")"}return a.prototype=new Error,a.prototype.name="MissingDataException",a.constructor=a,a}(),ka=function(){function a(a){this.message=a}return a.prototype=new Error,a.prototype.name="XRefParseException",a.constructor=a,a}();Object.defineProperty(PDFJS,"isLittleEndian",{configurable:!0,get:function(){return g(PDFJS,"isLittleEndian",p())}}),Object.defineProperty(PDFJS,"hasCanvasTypedArrays",{configurable:!0,get:function(){return g(PDFJS,"hasCanvasTypedArrays",q())}});var la=function(){function a(a,b){this.buffer=a,this.byteLength=a.length,this.length=void 0===b?this.byteLength>>2:b,c(this.length)}function b(a){return{get:function(){var b=this.buffer,c=a<<2;return(b[c]|b[c+1]<<8|b[c+2]<<16|b[c+3]<<24)>>>0},set:function(b){var c=this.buffer,d=a<<2;c[d]=255&b,c[d+1]=b>>8&255,c[d+2]=b>>16&255,c[d+3]=b>>>24&255}}}function c(c){for(;c>d;)Object.defineProperty(a.prototype,d,b(d)),d++}a.prototype=Object.create(null);var d=0;return a}(),ma=[1,0,0,1,0,0],na=PDFJS.Util=function(){function a(){}var b=["rgb(",0,",",0,",",0,")"];return a.makeCssRgb=function(a,c,d){return b[1]=a,b[3]=c,b[5]=d,b.join("")},a.transform=function(a,b){return[a[0]*b[0]+a[2]*b[1],a[1]*b[0]+a[3]*b[1],a[0]*b[2]+a[2]*b[3],a[1]*b[2]+a[3]*b[3],a[0]*b[4]+a[2]*b[5]+a[4],a[1]*b[4]+a[3]*b[5]+a[5]]},a.applyTransform=function(a,b){var c=a[0]*b[0]+a[1]*b[2]+b[4],d=a[0]*b[1]+a[1]*b[3]+b[5];return[c,d]},a.applyInverseTransform=function(a,b){var c=b[0]*b[3]-b[1]*b[2],d=(a[0]*b[3]-a[1]*b[2]+b[2]*b[5]-b[4]*b[3])/c,e=(-a[0]*b[1]+a[1]*b[0]+b[4]*b[1]-b[5]*b[0])/c;return[d,e]},a.getAxialAlignedBoundingBox=function(b,c){var d=a.applyTransform(b,c),e=a.applyTransform(b.slice(2,4),c),f=a.applyTransform([b[0],b[3]],c),g=a.applyTransform([b[2],b[1]],c);return[Math.min(d[0],e[0],f[0],g[0]),Math.min(d[1],e[1],f[1],g[1]),Math.max(d[0],e[0],f[0],g[0]),Math.max(d[1],e[1],f[1],g[1])]},a.inverseTransform=function(a){var b=a[0]*a[3]-a[1]*a[2];return[a[3]/b,-a[1]/b,-a[2]/b,a[0]/b,(a[2]*a[5]-a[4]*a[3])/b,(a[4]*a[1]-a[5]*a[0])/b]},a.apply3dTransform=function(a,b){return[a[0]*b[0]+a[1]*b[1]+a[2]*b[2],a[3]*b[0]+a[4]*b[1]+a[5]*b[2],a[6]*b[0]+a[7]*b[1]+a[8]*b[2]]},a.singularValueDecompose2dScale=function(a){var b=[a[0],a[2],a[1],a[3]],c=a[0]*b[0]+a[1]*b[2],d=a[0]*b[1]+a[1]*b[3],e=a[2]*b[0]+a[3]*b[2],f=a[2]*b[1]+a[3]*b[3],g=(c+f)/2,h=Math.sqrt((c+f)*(c+f)-4*(c*f-e*d))/2,i=g+h||1,j=g-h||1;return[Math.sqrt(i),Math.sqrt(j)]},a.normalizeRect=function(a){var b=a.slice(0);return a[0]>a[2]&&(b[0]=a[2],b[2]=a[0]),a[1]>a[3]&&(b[1]=a[3],b[3]=a[1]),b},a.intersect=function(b,c){function d(a,b){return a-b}var e=[b[0],b[2],c[0],c[2]].sort(d),f=[b[1],b[3],c[1],c[3]].sort(d),g=[];return b=a.normalizeRect(b),c=a.normalizeRect(c),e[0]===b[0]&&e[1]===c[0]||e[0]===c[0]&&e[1]===b[0]?(g[0]=e[1],g[2]=e[2],f[0]===b[1]&&f[1]===c[1]||f[0]===c[1]&&f[1]===b[1]?(g[1]=f[1],g[3]=f[2],g):!1):!1},a.sign=function(a){return 0>a?-1:1},a.appendToArray=function(a,b){Array.prototype.push.apply(a,b)},a.prependToArray=function(a,b){Array.prototype.unshift.apply(a,b)},a.extendObj=function(a,b){for(var c in b)a[c]=b[c]},a.getInheritableProperty=function(a,b){for(;a&&!a.has(b);)a=a.get("Parent");return a?a.get(b):null},a.inherit=function(a,b,c){a.prototype=Object.create(b.prototype),a.prototype.constructor=a;for(var d in c)a.prototype[d]=c[d]},a.loadScript=function(a,b){var c=document.createElement("script"),d=!1;c.setAttribute("src",a),b&&(c.onload=function(){d||b(),d=!0}),document.getElementsByTagName("head")[0].appendChild(c)},a}(),oa=(PDFJS.PageViewport=function(){function a(a,b,c,d,e,f){this.viewBox=a,this.scale=b,this.rotation=c,this.offsetX=d,this.offsetY=e;var g,h,i,j,k=(a[2]+a[0])/2,l=(a[3]+a[1])/2;switch(c%=360,c=0>c?c+360:c){case 180:g=-1,h=0,i=0,j=1;break;case 90:g=0,h=1,i=1,j=0;break;case 270:g=0,h=-1,i=-1,j=0;break;default:g=1,h=0,i=0,j=-1}f&&(i=-i,j=-j);var m,n,o,p;0===g?(m=Math.abs(l-a[1])*b+d,n=Math.abs(k-a[0])*b+e,o=Math.abs(a[3]-a[1])*b,p=Math.abs(a[2]-a[0])*b):(m=Math.abs(k-a[0])*b+d,n=Math.abs(l-a[1])*b+e,o=Math.abs(a[2]-a[0])*b,p=Math.abs(a[3]-a[1])*b),this.transform=[g*b,h*b,i*b,j*b,m-g*b*k-i*b*l,n-h*b*k-j*b*l],this.width=o,this.height=p,this.fontScale=b}return a.prototype={clone:function(b){b=b||{};var c="scale"in b?b.scale:this.scale,d="rotation"in b?b.rotation:this.rotation;return new a(this.viewBox.slice(),c,d,this.offsetX,this.offsetY,b.dontFlip)},convertToViewportPoint:function(a,b){return na.applyTransform([a,b],this.transform)},convertToViewportRectangle:function(a){var b=na.applyTransform([a[0],a[1]],this.transform),c=na.applyTransform([a[2],a[3]],this.transform);return[b[0],b[1],c[0],c[1]]},convertToPdfPoint:function(a,b){return na.applyInverseTransform([a,b],this.transform)}},a}(),[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,728,711,710,729,733,731,730,732,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8226,8224,8225,8230,8212,8211,402,8260,8249,8250,8722,8240,8222,8220,8221,8216,8217,8218,8482,64257,64258,321,338,352,376,381,305,322,339,353,382,0,8364]);PDFJS.createPromiseCapability=G,function(){function a(a){this._status=c,this._handlers=[];try{a.call(this,this._resolve.bind(this),this._reject.bind(this))}catch(b){this._reject(b)}}if(S.Promise)return"function"!=typeof S.Promise.all&&(S.Promise.all=function(a){var b,c,d=0,e=[],f=new S.Promise(function(a,d){b=a,c=d});return a.forEach(function(a,f){d++,a.then(function(a){e[f]=a,d--,0===d&&b(e)},c)}),0===d&&b(e),f}),"function"!=typeof S.Promise.resolve&&(S.Promise.resolve=function(a){return new S.Promise(function(b){b(a)})}),"function"!=typeof S.Promise.reject&&(S.Promise.reject=function(a){return new S.Promise(function(b,c){c(a)})}),void("function"!=typeof S.Promise.prototype["catch"]&&(S.Promise.prototype["catch"]=function(a){return S.Promise.prototype.then(void 0,a)}));var c=0,d=1,e=2,f=500,g={handlers:[],running:!1,unhandledRejections:[],pendingRejectionCheck:!1,scheduleHandlers:function(a){a._status!==c&&(this.handlers=this.handlers.concat(a._handlers),a._handlers=[],this.running||(this.running=!0,setTimeout(this.runHandlers.bind(this),0)))},runHandlers:function(){for(var a=1,b=Date.now()+a;this.handlers.length>0;){var c=this.handlers.shift(),f=c.thisPromise._status,g=c.thisPromise._value;try{f===d?"function"==typeof c.onResolve&&(g=c.onResolve(g)):"function"==typeof c.onReject&&(g=c.onReject(g),f=d,c.thisPromise._unhandledRejection&&this.removeUnhandeledRejection(c.thisPromise))}catch(h){f=e,g=h}if(c.nextPromise._updateStatus(f,g),Date.now()>=b)break}return this.handlers.length>0?void setTimeout(this.runHandlers.bind(this),0):void(this.running=!1)},addUnhandledRejection:function(a){this.unhandledRejections.push({promise:a,time:Date.now()}),this.scheduleRejectionCheck()},removeUnhandeledRejection:function(a){a._unhandledRejection=!1;for(var b=0;bf){var d=this.unhandledRejections[c].promise._value,e="Unhandled rejection: "+d;d.stack&&(e+="\n"+d.stack),b(e),this.unhandledRejections.splice(c),c--}this.unhandledRejections.length&&this.scheduleRejectionCheck()}.bind(this),f))}};a.all=function(b){function c(a){g._status!==e&&(i=[],f(a))}var d,f,g=new a(function(a,b){d=a,f=b}),h=b.length,i=[];if(0===h)return d(i),g;for(var j=0,k=b.length;k>j;++j){var l=b[j],m=function(a){return function(b){g._status!==e&&(i[a]=b,h--,0===h&&d(i))}}(j);a.isPromise(l)?l.then(m,c):m(l)}return g},a.isPromise=function(a){return a&&"function"==typeof a.then},a.resolve=function(b){return new a(function(a){a(b)})},a.reject=function(b){return new a(function(a,c){c(b)})},a.prototype={_status:null,_value:null,_handlers:null,_unhandledRejection:null,_updateStatus:function(b,c){if(this._status!==d&&this._status!==e){if(b===d&&a.isPromise(c))return void c.then(this._updateStatus.bind(this,d),this._updateStatus.bind(this,e));this._status=b,this._value=c,b===e&&0===this._handlers.length&&(this._unhandledRejection=!0,g.addUnhandledRejection(this)),g.scheduleHandlers(this)}},_resolve:function(a){this._updateStatus(d,a)},_reject:function(a){this._updateStatus(e,a)},then:function(b,c){var d=new a(function(a,b){this.resolve=a,this.reject=b});return this._handlers.push({thisPromise:this,onResolve:b,onReject:c,nextPromise:d}),g.scheduleHandlers(this),d},"catch":function(a){return this.then(void 0,a)}},S.Promise=a}();(function(){function a(a,b,c){for(;a.lengthb;++b){var g=d[b].name;g.length>f&&(f=g.length)}for(b=0,c=d.length;c>b;++b){var h=d[b],i=h.end-h.start;e+=a(h.name," ",f)+" "+i+"ms\n"}return e}},c})();PDFJS.createBlob=function(a,b){if("undefined"!=typeof Blob)return new Blob([a],{type:b});var c=new MozBlobBuilder;return c.append(a),c.getBlob(b)},PDFJS.createObjectURL=function(){var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return function(b,c){if(!PDFJS.disableCreateObjectURL&&"undefined"!=typeof URL&&URL.createObjectURL){var d=PDFJS.createBlob(b,c);return URL.createObjectURL(d)}for(var e="data:"+c+";base64,",f=0,g=b.length;g>f;f+=3){var h=255&b[f],i=255&b[f+1],j=255&b[f+2],k=h>>2,l=(3&h)<<4|i>>4,m=g>f+1?(15&i)<<2|j>>6:64,n=g>f+2?63&j:64;e+=a[k]+a[l]+a[m]+a[n]}return e}}(),H.prototype={on:function(a,b,d){var e=this.actionHandler;e[a]&&c('There is already an actionName called "'+a+'"'),e[a]=[b,d]},send:function(a,b,c){var d={action:a,data:b};this.postMessage(d,c)},sendWithPromise:function(a,b,c){var d=this.callbackIndex++,e={action:a,data:b,callbackId:d},f=G();this.callbacksCapabilities[d]=f;try{this.postMessage(e,c)}catch(g){f.reject(g)}return f.promise},postMessage:function(a,b){b&&this.postMessageTransfers?this.comObj.postMessage(a,b):this.comObj.postMessage(a)}};var pa=function(){function a(a,b){this.url=a,b=b||{},this.isHttp=/^https?:/i.test(a),this.httpHeaders=this.isHttp&&b.httpHeaders||{},this.withCredentials=b.withCredentials||!1,this.getXhr=b.getXhr||function(){return new XMLHttpRequest},this.currXhrId=0,this.pendingRequests={},this.loadedRequests={}}function b(a){var b=a.response;if("string"!=typeof b)return b;for(var c=b.length,d=new Uint8Array(c),e=0;c>e;e++)d[e]=255&b.charCodeAt(e);return d.buffer}var c=200,d=206,e=function(){try{var a=new XMLHttpRequest;return a.open("GET","https://example.com"),a.responseType="moz-chunked-arraybuffer","moz-chunked-arraybuffer"===a.responseType}catch(b){return!1}}();return a.prototype={requestRange:function(a,b,c){var d={begin:a,end:b};for(var e in c)d[e]=c[e];return this.request(d)},requestFull:function(a){return this.request(a)},request:function(a){var b=this.getXhr(),c=this.currXhrId++,d=this.pendingRequests[c]={xhr:b};b.open("GET",this.url),b.withCredentials=this.withCredentials;for(var f in this.httpHeaders){var g=this.httpHeaders[f];"undefined"!=typeof g&&b.setRequestHeader(f,g)}if(this.isHttp&&"begin"in a&&"end"in a){var h=a.begin+"-"+(a.end-1);b.setRequestHeader("Range","bytes="+h),d.expectedStatus=206}else d.expectedStatus=200;var i=e&&!!a.onProgressiveData;return i?(b.responseType="moz-chunked-arraybuffer",d.onProgressiveData=a.onProgressiveData,d.mozChunked=!0):b.responseType="arraybuffer",a.onError&&(b.onerror=function(c){a.onError(b.status)}),b.onreadystatechange=this.onStateChange.bind(this,c),b.onprogress=this.onProgress.bind(this,c),d.onHeadersReceived=a.onHeadersReceived,d.onDone=a.onDone,d.onError=a.onError,d.onProgress=a.onProgress,b.send(null),c},onProgress:function(a,c){var d=this.pendingRequests[a];if(d){if(d.mozChunked){var e=b(d.xhr);d.onProgressiveData(e)}var f=d.onProgress;f&&f(c)}},onStateChange:function(a,e){var f=this.pendingRequests[a];if(f){var g=f.xhr;if(g.readyState>=2&&f.onHeadersReceived&&(f.onHeadersReceived(),delete f.onHeadersReceived),4===g.readyState&&a in this.pendingRequests){if(delete this.pendingRequests[a],0===g.status&&this.isHttp)return void(f.onError&&f.onError(g.status));var h=g.status||c,i=h===c&&f.expectedStatus===d;if(!i&&h!==f.expectedStatus)return void(f.onError&&f.onError(g.status));this.loadedRequests[a]=!0;var j=b(g);if(h===d){var k=g.getResponseHeader("Content-Range"),l=/bytes (\d+)-(\d+)\/(\d+)/.exec(k),m=parseInt(l[1],10);f.onDone({begin:m,chunk:j})}else f.onProgressiveData?f.onDone(null):f.onDone({begin:0,chunk:j})}}},hasPendingRequests:function(){for(var a in this.pendingRequests)return!0;return!1},getRequestXhr:function(a){return this.pendingRequests[a].xhr},isStreamingRequest:function(a){return!!this.pendingRequests[a].onProgressiveData},isPendingRequest:function(a){return a in this.pendingRequests},isLoadedRequest:function(a){return a in this.loadedRequests},abortAllRequests:function(){for(var a in this.pendingRequests)this.abortRequest(0|a)},abortRequest:function(a){var b=this.pendingRequests[a].xhr;delete this.pendingRequests[a],b.abort()}},a}(),qa=function(){function a(a,b,c){this.bytes=new Uint8Array(a),this.start=0,this.pos=0,this.end=a,this.chunkSize=b,this.loadedChunks=[],this.numChunksLoaded=0,this.numChunks=Math.ceil(a/b),this.manager=c,this.progressiveDataLength=0,this.lastSuccessfulEnsureByteChunk=-1}return a.prototype={getMissingChunks:function(){for(var a=[],b=0,c=this.numChunks;c>b;++b)this.loadedChunks[b]||a.push(b);return a},getBaseStreams:function(){return[this]},allChunksLoaded:function(){return this.numChunksLoaded===this.numChunks},onReceiveData:function(a,b){var c=a+b.byteLength;e(a%this.chunkSize===0,"Bad begin offset: "+a);var d=this.bytes.length;e(c%this.chunkSize===0||c===d,"Bad end offset: "+c),this.bytes.set(new Uint8Array(b),a);var f,g=this.chunkSize,h=Math.floor(a/g),i=Math.floor((c-1)/g)+1;for(f=h;i>f;++f)this.loadedChunks[f]||(this.loadedChunks[f]=!0,++this.numChunksLoaded)},onReceiveProgressiveData:function(a){var b=this.progressiveDataLength,c=Math.floor(b/this.chunkSize);this.bytes.set(new Uint8Array(a),b),b+=a.byteLength,this.progressiveDataLength=b;var d,e=b>=this.end?this.numChunks:Math.floor(b/this.chunkSize);for(d=c;e>d;++d)this.loadedChunks[d]||(this.loadedChunks[d]=!0,++this.numChunksLoaded)},ensureByte:function(a){var b=Math.floor(a/this.chunkSize);if(b!==this.lastSuccessfulEnsureByteChunk){if(!this.loadedChunks[b])throw new ja(a,a+1);this.lastSuccessfulEnsureByteChunk=b}},ensureRange:function(a,b){if(!(a>=b||b<=this.progressiveDataLength))for(var c=this.chunkSize,d=Math.floor(a/c),e=Math.floor((b-1)/c)+1,f=d;e>f;++f)if(!this.loadedChunks[f])throw new ja(a,b)},nextEmptyChunk:function(a){for(var b,c=this.numChunks,d=0;c>d;++d)if(b=(a+d)%c,!this.loadedChunks[b])return b;return null},hasChunk:function(a){return!!this.loadedChunks[a]},get length(){return this.end-this.start},get isEmpty(){return 0===this.length},getByte:function(){var a=this.pos;return a>=this.end?-1:(this.ensureByte(a),this.bytes[this.pos++])},getUint16:function(){var a=this.getByte(),b=this.getByte();return-1===a||-1===b?-1:(a<<8)+b},getInt32:function(){var a=this.getByte(),b=this.getByte(),c=this.getByte(),d=this.getByte();return(a<<24)+(b<<16)+(c<<8)+d},getBytes:function(a){var b=this.bytes,c=this.pos,d=this.end;if(!a)return this.ensureRange(c,d),b.subarray(c,d);var e=c+a;return e>d&&(e=d),this.ensureRange(c,e),this.pos=e,b.subarray(c,e)},peekByte:function(){var a=this.getByte();return this.pos--,a},peekBytes:function(a){var b=this.getBytes(a);return this.pos-=b.length,b},getByteRange:function(a,b){return this.ensureRange(a,b),this.bytes.subarray(a,b)},skip:function(a){a||(a=1),this.pos+=a},reset:function(){this.pos=this.start},moveStart:function(){this.start=this.pos},makeSubStream:function(a,b,c){function d(){}this.ensureRange(a,a+b),d.prototype=Object.create(this),d.prototype.getMissingChunks=function(){for(var a=this.chunkSize,b=Math.floor(this.start/a),c=Math.floor((this.end-1)/a)+1,d=[],e=b;c>e;++e)this.loadedChunks[e]||d.push(e);return d};var e=new d;return e.pos=e.start=a,e.end=a+b||this.end,e.dict=c,e},isStream:!0},a}(),ra=function(){function a(a,b,c,d){this.stream=new qa(a,b,this),this.length=a,this.chunkSize=b,this.url=c,this.disableAutoFetch=d.disableAutoFetch;var e=this.msgHandler=d.msgHandler;if(d.chunkedViewerLoading)e.on("OnDataRange",this.onReceiveData.bind(this)),e.on("OnDataProgress",this.onProgress.bind(this)),this.sendRequest=function(a,b){e.send("RequestDataRange",{begin:a,end:b})};else{var f=function(){return new XMLHttpRequest};this.networkManager=new pa(this.url,{getXhr:f,httpHeaders:d.httpHeaders,withCredentials:d.withCredentials}),this.sendRequest=function(a,b){this.networkManager.requestRange(a,b,{onDone:this.onReceiveData.bind(this),onProgress:this.onProgress.bind(this)})}}this.currRequestId=0,this.chunksNeededByRequest={},this.requestsByChunk={},this.promisesByRequest={},this.progressiveDataLength=0,this._loadedStreamCapability=G(),d.initialData&&this.onReceiveData({chunk:d.initialData})}return a.prototype={onLoadedStream:function(){return this._loadedStreamCapability.promise},requestAllChunks:function(){var a=this.stream.getMissingChunks();return this._requestChunks(a),this._loadedStreamCapability.promise},_requestChunks:function(a){var b,c,d,e=this.currRequestId++;for(this.chunksNeededByRequest[e]=b={},c=0,d=a.length;d>c;c++)this.stream.hasChunk(a[c])||(b[a[c]]=!0);if(u(b))return Promise.resolve();var f=G();this.promisesByRequest[e]=f;var g=[];for(var h in b)h=0|h,h in this.requestsByChunk||(this.requestsByChunk[h]=[],g.push(h)),this.requestsByChunk[h].push(e);if(!g.length)return f.promise;var i=this.groupChunks(g);for(c=0;cf;++f)e.push(f);return this._requestChunks(e)},requestRanges:function(a){a=a||[];for(var b=[],c=0;cf;++f)b.indexOf(f)<0&&b.push(f);return b.sort(function(a,b){return a-b}),this._requestChunks(b)},groupChunks:function(a){for(var b=[],c=-1,d=-1,e=0;ec&&(c=f),d>=0&&d+1!==f&&(b.push({beginChunk:c,endChunk:d+1}),c=f),e+1===a.length&&b.push({beginChunk:c,endChunk:f+1}),d=f}return b},onProgress:function(a){var b=this.stream.numChunksLoaded*this.chunkSize+a.loaded;this.msgHandler.send("DocProgress",{loaded:b,total:this.length})},onReceiveData:function(a){var b=a.chunk,c=void 0===a.begin,d=c?this.progressiveDataLength:a.begin,e=d+b.byteLength,f=Math.floor(d/this.chunkSize),g=eb;++b){var k=this.requestsByChunk[b]||[];for(delete this.requestsByChunk[b],h=0;hf){b("Page_getInheritedPageProp: maximum loop count exceeded.");break}c=c.get("Parent")}return d?1===d.length||!B(d[0])||e>f?d[0]:Aa.merge(this.xref,d):Aa.empty},get content(){return this.getPageProp("Contents")},get resources(){return g(this,"resources",this.getInheritedPageProp("Resources"))},get mediaBox(){var a=this.getInheritedPageProp("MediaBox");return C(a)&&4===a.length||(a=c),g(this,"mediaBox",a)},get view(){var a=this.mediaBox,b=this.getInheritedPageProp("CropBox");return C(b)&&4===b.length?(b=na.intersect(b,a),b?g(this,"view",b):g(this,"view",a)):g(this,"view",a)},get rotate(){var a=this.getInheritedPageProp("Rotate")||0;return a%90!==0?a=0:a>=360?a%=360:0>a&&(a=(a%360+360)%360),g(this,"rotate",a)},getContentStream:function(){var a,b=this.content;if(C(b)){var c,d=this.xref,e=b.length,f=[];for(c=0;e>c;++c)f.push(d.fetchIfRef(b[c]));a=new Pc(f)}else a=D(b)?b:new _c;return a},loadResources:function(a){return this.resourcesPromise||(this.resourcesPromise=this.pdfManager.ensure(this,"resources")),this.resourcesPromise.then(function(){var b=new Ia(this.resources.map,a,this.xref);return b.load()}.bind(this))},getOperatorList:function(a,b,c){var d=this,e=this.pdfManager,f=e.ensure(this,"getContentStream",[]),g=this.loadResources(["ExtGState","ColorSpace","Pattern","Shading","XObject","Font"]),h=new vb(e,this.xref,a,this.pageIndex,"p"+this.pageIndex+"_",this.idCounters,this.fontCache),i=Promise.all([f,g]),j=i.then(function(e){var f=e[0],g=new xb(c,a,d.pageIndex);return a.send("StartRenderPage",{transparency:h.hasBlendModes(d.resources),pageIndex:d.pageIndex,intent:c}),h.getOperatorList(f,b,d.resources,g).then(function(){return g})}),k=e.ensure(this,"annotations");return Promise.all([j,k]).then(function(a){var d=a[0],f=a[1];if(0===f.length)return d.flush(!0),d;var g=Na.appendToOperatorList(f,d,e,h,b,c);return g.then(function(){return d.flush(!0),d})})},extractTextContent:function(a){var b={on:function(){},send:function(){}},c=this,d=this.pdfManager,e=d.ensure(this,"getContentStream",[]),f=this.loadResources(["ExtGState","XObject","Font"]),g=Promise.all([e,f]);return g.then(function(e){var f=e[0],g=new vb(d,c.xref,b,c.pageIndex,"p"+c.pageIndex+"_",c.idCounters,c.fontCache);return g.getTextContent(f,a,c.resources)})},getAnnotationsData:function(){for(var a=this.annotations,b=[],c=0,d=a.length;d>c;++c)b.push(a[c].data);return b},get annotations(){for(var a=[],b=this.getInheritedPageProp("Annots")||[],c=new I,d=0,e=b.length;e>d;++d){var f=b[d],h=c.create(this.xref,f);h&&(h.isViewable()||h.isPrintable())&&a.push(h)}return g(this,"annotations",a)}},a}(),xa=function(){function b(a,b,e){D(b)?d.call(this,a,b,e):E(b)?d.call(this,a,new Mc(b),e):c("PDFDocument: Unknown argument type")}function d(a,b,c){e(b.length>0,"stream must have data"),this.pdfManager=a,this.stream=b;var d=new Fa(this.stream,c,a);this.xref=d}function f(a,b,c,d){var e=a.pos,f=a.end,g=[];e+c>f&&(c=f-e);for(var h=0;c>h;++h)g.push(String.fromCharCode(a.getByte()));var i=g.join("");a.pos=e;var j=d?i.lastIndexOf(b):i.indexOf(b);return-1===j?!1:(a.pos+=j,!0)}var h=1024,i="\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00",k={get entries(){return g(this,"entries",{Title:y,Author:y,Subject:y,Keywords:y,Creator:y,Producer:y,CreationDate:y,ModDate:y,Trapped:z})}};return b.prototype={parse:function(b){this.setup(b);var c=this.catalog.catDict.get("Version");z(c)&&(this.pdfFormatVersion=c.name);try{if(this.acroForm=this.catalog.catDict.get("AcroForm"),this.acroForm){this.xfa=this.acroForm.get("XFA");var d=this.acroForm.get("Fields");d&&C(d)&&0!==d.length||this.xfa||(this.acroForm=null)}}catch(e){a("Something wrong with AcroForm entry"),this.acroForm=null}},get linearization(){var b=null;if(this.stream.length)try{b=Hc.create(this.stream)}catch(c){if(c instanceof ja)throw c;a(c)}return g(this,"linearization",b)},get startXRef(){var a=this.stream,b=0,c=this.linearization;if(c)a.reset(),f(a,"endobj",1024)&&(b=a.pos+6);else{for(var d=1024,e=!1,h=a.end;!e&&h>0;)h-=d-"startxref".length,0>h&&(h=0),a.pos=h,e=f(a,"startxref",d,!0);if(e){a.skip(9);var i;do i=a.getByte();while(Gc.isSpace(i));for(var j="";i>=32&&57>=i;)j+=String.fromCharCode(i),i=a.getByte();b=parseInt(j,10),isNaN(b)&&(b=0)}}return g(this,"startXRef",b)},get mainXRefEntriesOffset(){var a=0,b=this.linearization;return b&&(a=b.mainXRefEntriesOffset),g(this,"mainXRefEntriesOffset",a)},checkHeader:function(){var a=this.stream;if(a.reset(),f(a,"%PDF-",1024)){a.moveStart();for(var b,c=12,d="";(b=a.getByte())>32&&!(d.length>=c);)d+=String.fromCharCode(b);return void(this.pdfFormatVersion||(this.pdfFormatVersion=d.substring(5)))}},parseStartXRef:function(){var a=this.startXRef;this.xref.setStartXRef(a)},setup:function(a){this.xref.parse(a),this.catalog=new Ea(this.pdfManager,this.xref)},get numPages(){var a=this.linearization,b=a?a.numPages:this.catalog.numPages;return g(this,"numPages",b)},get documentInfo(){var b,c={PDFFormatVersion:this.pdfFormatVersion,IsAcroFormPresent:!!this.acroForm,IsXFAPresent:!!this.xfa};try{b=this.xref.trailer.get("Info")}catch(d){a("The document information dictionary is invalid.")}if(b){var e=k.entries;for(var f in e)if(b.has(f)){var h=b.get(f);e[f](h)?c[f]="string"!=typeof h?h:r(h):a('Bad value in document info for "'+f+'"')}}return g(this,"documentInfo",c)},get fingerprint(){var a,b=this.xref,c="",d=b.trailer.get("ID");d&&C(d)&&d[0]&&y(d[0])&&d[0]!==i?a=j(d[0]):(this.stream.ensureRange&&this.stream.ensureRange(0,Math.min(h,this.stream.end)),a=gb(this.stream.bytes.subarray(0,h),0,h));for(var e=0,f=a.length;f>e;e++){var k=a[e].toString(16);c+=1===k.length?"0"+k:k}return g(this,"fingerprint",c)},getPage:function(a){return this.catalog.getPage(a)},cleanup:function(){return this.catalog.cleanup()}},b}(),ya=function(){function a(a){this.name=a}a.prototype={};var b={};return a.get=function(c){var d=b[c];return d?d:b[c]=new a(c)},a}(),za=function(){function a(a){this.cmd=a}a.prototype={}; -var b={};return a.get=function(c){var d=b[c];return d?d:b[c]=new a(c)},a}(),Aa=function(){function a(a){if(!z(a.Type))return!0;var b=a.Type.name;return d[b]===!0}function b(a){this.map=Object.create(null),this.xref=a,this.objId=null,this.__nonSerializable__=c}var c=function(){return c},d={Background:!0,ExtGState:!0,Halftone:!0,Layout:!0,Mask:!0,Pagination:!0,Printing:!0};return b.prototype={assignXref:function(a){this.xref=a},get:function(a,b,c){var d,e=this.xref;return"undefined"!=typeof(d=this.map[a])||a in this.map||"undefined"==typeof b?e?e.fetchIfRef(d):d:"undefined"!=typeof(d=this.map[b])||b in this.map||"undefined"==typeof c?e?e.fetchIfRef(d):d:(d=this.map[c]||null,e?e.fetchIfRef(d):d)},getAsync:function(a,b,c){var d,e=this.xref;return"undefined"!=typeof(d=this.map[a])||a in this.map||"undefined"==typeof b?e?e.fetchIfRefAsync(d):Promise.resolve(d):"undefined"!=typeof(d=this.map[b])||b in this.map||"undefined"==typeof c?e?e.fetchIfRefAsync(d):Promise.resolve(d):(d=this.map[c]||null,e?e.fetchIfRefAsync(d):Promise.resolve(d))},getArray:function(a,b,c){var d=this.get(a,b,c),e=this.xref;if(!C(d)||!e)return d;d=d.slice();for(var f=0,g=d.length;g>f;f++)F(d[f])&&(d[f]=e.fetch(d[f]));return d},getRaw:function(a){return this.map[a]},getAll:function(){var c,d,e=Object.create(null),f=null;for(c in this.map)d=this.get(c),d instanceof b?a(d)?(f||(f=[])).push({target:e,key:c,obj:d}):e[c]=this.getRaw(c):e[c]=d;if(!f)return e;for(var g=Object.create(null);f.length>0;){var h=f.shift(),i=h.obj,j=i.objId;if(j&&j in g)h.target[h.key]=g[j];else{var k=Object.create(null);for(c in i.map)d=i.get(c),d instanceof b?a(d)?f.push({target:k,key:c,obj:d}):k[c]=i.getRaw(c):k[c]=d;j&&(g[j]=k),h.target[h.key]=k}}return e},getKeys:function(){return Object.keys(this.map)},set:function(a,b){this.map[a]=b},has:function(a){return a in this.map},forEach:function(a){for(var b in this.map)a(b,this.get(b))}},b.empty=new b(null),b.merge=function(a,c){for(var d=new b(a),e=0,f=c.length;f>e;e++){var g=c[e];if(B(g))for(var h in g.map)d.map[h]||(d.map[h]=g.map[h])}return d},b}(),Ba=function(){function a(a,b){this.num=a,this.gen=b}return a.prototype={toString:function(){var a=this.num+"R";return 0!==this.gen&&(a+=this.gen),a}},a}(),Ca=function(){function a(){this.dict={}}return a.prototype={has:function(a){return a.toString()in this.dict},put:function(a){this.dict[a.toString()]=!0},remove:function(a){delete this.dict[a.toString()]}},a}(),Da=function(){function a(){this.dict=Object.create(null)}return a.prototype={get:function(a){return this.dict[a.toString()]},has:function(a){return a.toString()in this.dict},put:function(a,b){this.dict[a.toString()]=b},putAlias:function(a,b){this.dict[a.toString()]=this.get(b)},forEach:function(a,b){for(var c in this.dict)a.call(b,this.dict[c])},clear:function(){this.dict=Object.create(null)}},a}(),Ea=function(){function d(a,b){this.pdfManager=a,this.xref=b,this.catDict=b.getCatalogObj(),this.fontCache=new Da,e(B(this.catDict),"catalog object is not a dictionary"),this.pagePromises=[]}return d.prototype={get metadata(){var b=this.catDict.getRaw("Metadata");if(!F(b))return g(this,"metadata",null);var c,d=this.xref.encrypt?this.xref.encrypt.encryptMetadata:!1,e=this.xref.fetch(b,!d);if(e&&B(e.dict)){var f=e.dict.get("Type"),h=e.dict.get("Subtype");if(z(f)&&z(h)&&"Metadata"===f.name&&"XML"===h.name)try{c=s(i(e.getBytes()))}catch(j){a("Skipping invalid metadata.")}}return g(this,"metadata",c)},get toplevelPagesDict(){var a=this.catDict.get("Pages");return e(B(a),"invalid top-level pages dictionary"),g(this,"toplevelPagesDict",a)},get documentOutline(){var a=null;try{a=this.readDocumentOutline()}catch(c){if(c instanceof ja)throw c;b("Unable to read document outline")}return g(this,"documentOutline",a)},readDocumentOutline:function(){var a=this.xref,b=this.catDict.get("Outlines"),d={items:[]};if(B(b)){b=b.getRaw("First");var e=new Ca;if(F(b)){var f=[{obj:b,parent:d}];for(e.put(b);f.length>0;){var g=f.shift(),h=a.fetchIfRef(g.obj);if(null!==h){h.has("Title")||c("Invalid outline item");var i=h.get("A");i?i=i.get("D"):h.has("Dest")&&(i=h.getRaw("Dest"),z(i)&&(i=i.name));var j=h.get("Title"),k={dest:i,title:r(j),color:h.get("C")||[0,0,0],count:h.get("Count"),bold:!!(2&h.get("F")),italic:!!(1&h.get("F")),items:[]};g.parent.items.push(k),b=h.getRaw("First"),F(b)&&!e.has(b)&&(f.push({obj:b,parent:k}),e.put(b)),b=h.getRaw("Next"),F(b)&&!e.has(b)&&(f.push({obj:b,parent:g.parent}),e.put(b))}}}}return d.items.length>0?d.items:null},get numPages(){var a=this.toplevelPagesDict.get("Count");return e(w(a),"page count in top level pages object is not an integer"),g(this,"num",a)},get destinations(){function a(a){return B(a)?a.get("D"):a}var b,c,d=this.xref,e={},f=this.catDict.get("Names");if(f&&f.has("Dests")?b=f.getRaw("Dests"):this.catDict.has("Dests")&&(c=this.catDict.get("Dests")),c&&(f=c,f.forEach(function(b,c){c&&(e[b]=a(c))})),b){var h=new Ga(b,d),i=h.getAll();for(var j in i)i.hasOwnProperty(j)&&(e[j]=a(i[j]))}return g(this,"destinations",e)},getDestination:function(a){function b(a){return B(a)?a.get("D"):a}var c,d,e=this.xref,f=null,g=this.catDict.get("Names");if(g&&g.has("Dests")?c=g.getRaw("Dests"):this.catDict.has("Dests")&&(d=this.catDict.get("Dests")),d){var h=d.get(a);h&&(f=b(h))}if(c){var i=new Ga(c,e);f=b(i.get(a))}return f},get attachments(){var a,b=this.xref,c=null,d=this.catDict.get("Names");if(d&&(a=d.getRaw("EmbeddedFiles")),a){var e=new Ga(a,b),f=e.getAll();for(var h in f)if(f.hasOwnProperty(h)){var i=new Ha(f[h],b);c||(c={}),c[r(h)]=i.serializable}}return g(this,"attachments",c)},get javaScript(){function a(a){var b=a.get("S");if(z(b)&&"JavaScript"===b.name){var c=a.get("JS");if(D(c))c=i(c.getBytes());else if(!y(c))return;d.push(r(c))}}var b=this.xref,c=this.catDict.get("Names"),d=[];if(c&&c.has("JavaScript")){var e=new Ga(c.getRaw("JavaScript"),b),f=e.getAll();for(var h in f)if(f.hasOwnProperty(h)){var j=f[h];B(j)&&a(j)}}var k=this.catDict.get("OpenAction");if(B(k,"Action")){var l=k.get("S");if(z(l)&&"Named"===l.name){var m=k.get("N");z(m)&&"Print"===m.name&&d.push("print({});")}else a(k)}return g(this,"javaScript",d)},cleanup:function(){var a=[];return this.fontCache.forEach(function(b){a.push(b)}),Promise.all(a).then(function(a){for(var b=0,c=a.length;c>b;b++){var d=a[b].dict;delete d.translated}this.fontCache.clear()}.bind(this))},getPage:function(a){return a in this.pagePromises||(this.pagePromises[a]=this.getPageDict(a).then(function(b){var c=b[0],d=b[1];return new wa(this.pdfManager,this.xref,a,c,d,this.fontCache)}.bind(this))),this.pagePromises[a]},getPageDict:function(a){function b(){for(;d.length;){var i=d.pop();if(F(i))return void g.fetchAsync(i).then(function(e){return B(e,"Page")||B(e)&&!e.has("Kids")?void(a===f?c.resolve([e,i]):(f++,b())):(d.push(e),void b())},c.reject);e(B(i),"page dictionary kid reference points to wrong type of object");var j=i.get("Count");if(0===j&&(h=!0),a>=f+j)f+=j;else{var k=i.get("Kids");if(e(C(k),"page dictionary kids object is not an array"),h||j!==k.length)for(var l=k.length-1;l>=0;l--)d.push(k[l]);else d=[k[a-f]],f=a}}c.reject("Page index "+a+" not found.")}var c=G(),d=[this.catDict.getRaw("Pages")],f=0,g=this.xref,h=!1;return b(),c.promise},getPageIndex:function(a){function b(a){var b,d=0;return f.fetchAsync(a).then(function(a){return a?(b=a.getRaw("Parent"),a.getAsync("Parent")):null}).then(function(a){return a?a.getAsync("Kids"):null}).then(function(g){if(!g)return null;for(var h=[],i=!1,j=0;jh;h++){d.streamPos=b.pos,d.entryNum=h,d.parserBuf1=a.buf1,d.parserBuf2=a.buf2;var i={};i.offset=a.getObj(),i.gen=a.getObj();var j=a.getObj();A(j,"f")?i.free=!0:A(j,"n")&&(i.uncompressed=!0),w(i.offset)&&w(i.gen)&&(i.free||i.uncompressed)||c("Invalid entry in XRef subsection: "+f+", "+g),this.entries[h+f]||(this.entries[h+f]=i)}d.entryNum=0,d.streamPos=b.pos,d.parserBuf1=a.buf1,d.parserBuf2=a.buf2,delete d.firstEntryNum,delete d.entryCount}return 1===f&&this.entries[1]&&this.entries[1].free&&this.entries.shift(),this.entries[0]&&!this.entries[0].free&&c("Invalid XRef table: unexpected first object"),e},processXRefStream:function(a){if(!("streamState"in this)){var b=a.dict,c=b.get("W"),d=b.get("Index");d||(d=[0,b.get("Size")]),this.streamState={entryRanges:d,byteWidths:c,entryNum:0,streamPos:a.pos}}return this.readXRefStream(a),delete this.streamState,a.dict},readXRefStream:function(a){var b,d,e=this.streamState;a.pos=e.streamPos;for(var f=e.byteWidths,g=f[0],h=f[1],i=f[2],j=e.entryRanges;j.length>0;){var k=j[0],l=j[1];for(w(k)&&w(l)||c("Invalid XRef range fields: "+k+", "+l),w(g)&&w(h)&&w(i)||c("Invalid XRef entry fields length: "+k+", "+l),b=e.entryNum;l>b;++b){e.entryNum=b,e.streamPos=a.pos;var m=0,n=0,o=0;for(d=0;g>d;++d)m=m<<8|a.getByte();for(0===g&&(m=1),d=0;h>d;++d)n=n<<8|a.getByte();for(d=0;i>d;++d)o=o<<8|a.getByte();var p={};switch(p.offset=n,p.gen=o,m){case 0:p.free=!0;break;case 1:p.uncompressed=!0;break;case 2:break;default:c("Invalid XRef entry type: "+m)}this.entries[k+b]||(this.entries[k+b]=p)}e.entryNum=0,e.streamPos=a.pos,j.splice(0,2)}},indexObjects:function(){function a(a,b){for(var c="",f=a[b];f!==d&&f!==e&&f!==h&&!(++b>=a.length);)c+=String.fromCharCode(f),f=a[b];return c}function b(a,b,c){for(var d=c.length,e=a.length,f=0;e>b;){for(var g=0;d>g&&a[b+g]===c[g];)++g;if(g>=d)break;b++,f++}return f}var c=9,d=10,e=13,f=32,g=37,h=60,i=/^(\d+)\s+(\d+)\s+obj\b/,j=new Uint8Array([116,114,97,105,108,101,114]),k=new Uint8Array([115,116,97,114,116,120,114,101,102]),l=new Uint8Array([101,110,100,111,98,106]),m=new Uint8Array([47,88,82,101,102]);this.entries.length=0;var n=this.stream;n.pos=0;for(var o=n.getBytes(),p=n.start,q=o.length,r=[],s=[];q>p;){var t=o[p];if(t!==c&&t!==d&&t!==e&&t!==f)if(t!==g){var u,v=a(o,p);if(0!==v.indexOf("xref")||4!==v.length&&!/\s/.test(v[4]))if(u=i.exec(v)){"undefined"==typeof this.entries[u[1]]&&(this.entries[u[1]]={offset:p-n.start,gen:0|u[2],uncompressed:!0});var w=b(o,p,l)+7,x=o.subarray(p,p+w),y=b(x,0,m);w>y&&x[y+5]<64&&(s.push(p-n.start),this.xrefstms[p-n.start]=1),p+=w}else 0!==v.indexOf("trailer")||7!==v.length&&!/\s/.test(v[7])?p+=v.length+1:(r.push(p),p+=b(o,p,k));else p+=b(o,p,j),r.push(p),p+=b(o,p,k)}else do{if(++p,p>=q)break;t=o[p]}while(t!==d&&t!==e);else++p}var z,C;for(z=0,C=s.length;C>z;++z)this.startXRefQueue.push(s[z]),this.readXRef(!0);var D;for(z=0,C=r.length;C>z;++z){n.pos=r[z];var E=new Fc(new Gc(n),!0,this),F=E.getObj();if(A(F,"trailer")&&B(D=E.getObj())&&D.has("ID"))return D}if(D)return D;throw new fa("Invalid PDF structure")},readXRef:function(b){var d=this.stream;try{for(;this.startXRefQueue.length;){var e=this.startXRefQueue[0];d.pos=e+d.start;var f,g=new Fc(new Gc(d),!0,this),h=g.getObj();if(A(h,"xref")){if(f=this.processXRefTable(g),this.topDict||(this.topDict=f),h=f.get("XRefStm"),w(h)){var i=h;i in this.xrefstms||(this.xrefstms[i]=1,this.startXRefQueue.push(i))}}else w(h)?(w(g.getObj())&&A(g.getObj(),"obj")&&D(h=g.getObj())||c("Invalid XRef stream"),f=this.processXRefStream(h),this.topDict||(this.topDict=f),f||c("Failed to read XRef stream")):c("Invalid XRef stream header");h=f.get("Prev"),w(h)?this.startXRefQueue.push(h):F(h)&&this.startXRefQueue.push(h.num),this.startXRefQueue.shift()}return this.topDict}catch(j){if(j instanceof ja)throw j;a("(while reading XRef): "+j)}if(!b)throw new ka},getEntry:function(a){var b=this.entries[a];return b&&!b.free&&b.offset?b:null},fetchIfRef:function(a){return F(a)?this.fetch(a):a},fetch:function(a,b){e(F(a),"ref object is not a reference");var c=a.num;if(c in this.cache){var d=this.cache[c];return d}var f=this.getEntry(c);return null===f?this.cache[c]=null:(f=f.uncompressed?this.fetchUncompressed(a,f,b):this.fetchCompressed(f,b),B(f)?f.objId=a.toString():D(f)&&(f.dict.objId=a.toString()),f)},fetchUncompressed:function(a,b,d){var e=a.gen,f=a.num;b.gen!==e&&c("inconsistent generation in XRef");var g=this.stream.makeSubStream(b.offset+this.stream.start),h=new Fc(new Gc(g),!0,this),i=h.getObj(),j=h.getObj(),k=h.getObj();if(w(i)&&parseInt(i,10)===f&&w(j)&&parseInt(j,10)===e&&A(k)||c("bad XRef entry"),!A(k,"obj")){if(0===k.cmd.indexOf("obj")&&(f=parseInt(k.cmd.substring(3),10),!isNaN(f)))return f;c("bad XRef entry")}return b=this.encrypt&&!d?h.getObj(this.encrypt.createCipherTransform(f,e)):h.getObj(),D(b)||(this.cache[f]=b),b},fetchCompressed:function(a,b){var d=a.offset,e=this.fetch(new Ba(d,0));D(e)||c("bad ObjStm stream");var f=e.dict.get("First"),g=e.dict.get("N");w(f)&&w(g)||c("invalid first and n parameters for ObjStm stream");var h=new Fc(new Gc(e),!1,this);h.allowStreams=!0;var i,j,k=[],l=[];for(i=0;g>i;++i){j=h.getObj(),w(j)||c("invalid object number in the ObjStm stream: "+j),l.push(j);var m=h.getObj();w(m)||c("invalid object offset in the ObjStm stream: "+m)}for(i=0;g>i;++i){k.push(h.getObj()),j=l[i];var n=this.entries[j];n&&n.offset===d&&n.gen===i&&(this.cache[j]=k[i])}return a=k[a.gen],void 0===a&&c("bad XRef entry for compressed object"),a},fetchIfRefAsync:function(a){return F(a)?this.fetchAsync(a):Promise.resolve(a)},fetchAsync:function(a,b){var c=this.stream.manager,d=this;return new Promise(function e(f,g){try{f(d.fetch(a,b))}catch(h){if(h instanceof ja)return void c.requestRange(h.begin,h.end).then(function(){e(f,g)},g);g(h)}})},getCatalogObj:function(){return this.root}},d}(),Ga=function(){function a(a,b){this.root=a,this.xref=b}return a.prototype={getAll:function(){var a={};if(!this.root)return a;var b=this.xref,d=new Ca;d.put(this.root);for(var e=[this.root];e.length>0;){var f,g,h=b.fetchIfRef(e.shift());if(B(h))if(h.has("Kids")){var i=h.get("Kids");for(f=0,g=i.length;g>f;f++){var j=i[f];d.has(j)&&c("invalid destinations"),e.push(j),d.put(j)}}else{var k=h.get("Names");if(k)for(f=0,g=k.length;g>f;f+=2)a[b.fetchIfRef(k[f])]=b.fetchIfRef(k[f+1])}}return a},get:function(a){if(!this.root)return null;for(var c,d,e,f=this.xref,g=f.fetchIfRef(this.root),h=0,i=10;g.has("Kids");){if(h++,h>i)return b("Search depth limit for named destionations has been reached."),null;var j=g.get("Kids");if(!C(j))return null;for(c=0,d=j.length-1;d>=c;){e=c+d>>1;var k=f.fetchIfRef(j[e]),l=k.get("Limits");if(af.fetchIfRef(l[1]))){g=f.fetchIfRef(j[e]);break}c=e+1}}if(c>d)return null}var m=g.get("Names");if(C(m))for(c=0,d=m.length-2;d>=c;)if(e=c+d&-2,af.fetchIfRef(m[e])))return f.fetchIfRef(m[e+1]);c=e+2}return null}},a}(),Ha=function(){function a(a,c){a&&B(a)&&(this.xref=c,this.root=a,a.has("FS")&&(this.fs=a.get("FS")),this.description=a.has("Desc")?r(a.get("Desc")):"",a.has("RF")&&b("Related file specifications are not supported"),this.contentAvailable=!0,a.has("EF")||(this.contentAvailable=!1,b("Non-embedded file specifications are not supported")))}function c(a){return a.has("UF")?a.get("UF"):a.has("F")?a.get("F"):a.has("Unix")?a.get("Unix"):a.has("Mac")?a.get("Mac"):a.has("DOS")?a.get("DOS"):null}return a.prototype={get filename(){if(!this._filename&&this.root){var a=c(this.root)||"unnamed";this._filename=r(a).replace(/\\\\/g,"\\").replace(/\\\//g,"/").replace(/\\/g,"/")}return this._filename},get content(){if(!this.contentAvailable)return null;!this.contentRef&&this.root&&(this.contentRef=c(this.root.get("EF")));var a=null;if(this.contentRef){var d=this.xref,e=d.fetchIfRef(this.contentRef);e&&D(e)?a=e.getBytes():b("Embedded file specification points to non-existing/invalid content")}else b("Embedded file specification does not have a content");return a},get serializable(){return{filename:this.filename,content:this.content}}},a}(),Ia=function(){function a(a){return F(a)||B(a)||C(a)||D(a)}function b(b,c){var d;if(B(b)||D(b)){var e;e=B(b)?b.map:b.dict.map;for(var f in e)d=e[f],a(d)&&c.push(d)}else if(C(b))for(var g=0,h=b.length;h>g;g++)d=b[g],a(d)&&c.push(d)}function c(a,b,c){this.obj=a,this.keys=b,this.xref=c,this.refSet=null,this.capability=null}return c.prototype={load:function(){var a=this.keys;if(this.capability=G(),!(this.xref.stream instanceof qa)||0===this.xref.stream.getMissingChunks().length)return this.capability.resolve(),this.capability.promise;this.refSet=new Ca;for(var b=[],c=0;c=3&&(this.borderStyle.setHorizontalCornerRadius(d[0]),this.borderStyle.setVerticalCornerRadius(d[1]),this.borderStyle.setWidth(d[2]),4===d.length&&this.borderStyle.setDashArray(d[3]))}else this.borderStyle.setWidth(0)},isInvisible:function(){var a=this.data;return!!(a&&a.annotationFlags&&1&a.annotationFlags)},isViewable:function(){var a=this.data;return!(this.isInvisible()||!a||a.annotationFlags&&34&a.annotationFlags||!a.rect)},isPrintable:function(){var a=this.data;return!(!(!this.isInvisible()&&a&&a.annotationFlags&&4&a.annotationFlags)||2&a.annotationFlags||!a.rect)},loadResources:function(a){return new Promise(function(b,c){this.appearance.dict.getAsync("Resources").then(function(d){if(!d)return void b();var e=new Ia(d.map,a,d.xref);e.load().then(function(){b(d)},c)},c)}.bind(this))},getOperatorList:function(b,c){if(!this.appearance)return Promise.resolve(new xb);var d=this.data,e=this.appearance.dict,f=this.loadResources(["ExtGState","ColorSpace","Pattern","Shading","XObject","Font"]),g=e.get("BBox")||[0,0,1,1],h=e.get("Matrix")||[1,0,0,1,0,0],i=a(d.rect,g,h),j=this;return f.then(function(a){var e=new xb;return e.addOp($.beginAnnotation,[d.rect,i,h]),b.getOperatorList(j.appearance,c,a,e).then(function(){return e.addOp($.endAnnotation,[]),j.appearance.reset(),e})})}},c.appendToOperatorList=function(a,b,c,d,e,f){function g(a){h.reject(a)}for(var h=G(),i=[],j=0,k=a.length;k>j;++j)("display"===f&&a[j].isViewable()||"print"===f&&a[j].isPrintable())&&i.push(a[j].getOperatorList(d,e));return Promise.all(i).then(function(a){b.addOp($.beginAnnotations,[]);for(var c=0,d=a.length;d>c;++c){var e=a[c];b.addOpList(e)}b.addOp($.endAnnotations,[]),h.resolve()},g),h.promise},c}(),Oa=function(){function a(){this.width=1,this.style=X.SOLID,this.dashArray=[3],this.horizontalCornerRadius=0,this.verticalCornerRadius=0}return a.prototype={setWidth:function(a){a===(0|a)&&(this.width=a)},setStyle:function(a){if(a)switch(a.name){case"S":this.style=X.SOLID;break;case"D":this.style=X.DASHED;break;case"B":this.style=X.BEVELED;break;case"I":this.style=X.INSET;break;case"U":this.style=X.UNDERLINE}},setDashArray:function(a){if(C(a)&&a.length>0){for(var b=!0,c=!0,d=0,e=a.length;e>d;d++){var f=a[d],g=+f>=0;if(!g){b=!1;break}f>0&&(c=!1)}b&&!c?this.dashArray=a:this.width=0}else a&&(this.width=0)},setHorizontalCornerRadius:function(a){a===(0|a)&&(this.horizontalCornerRadius=a)},setVerticalCornerRadius:function(a){a===(0|a)&&(this.verticalCornerRadius=a)}},a}(),Pa=function(){function a(a){Na.call(this,a);var b=a.dict,c=this.data;c.fieldValue=r(na.getInheritableProperty(b,"V")||""),c.alternativeText=r(b.get("TU")||""),c.defaultAppearance=na.getInheritableProperty(b,"DA")||"";var d=na.getInheritableProperty(b,"FT");c.fieldType=z(d)?d.name:"",c.fieldFlags=na.getInheritableProperty(b,"Ff")||0,this.fieldResources=na.getInheritableProperty(b,"DR")||Aa.empty;for(var e=[],f=b,g=a.ref;f;){var h=f.get("Parent"),i=f.getRaw("Parent"),j=f.get("T");if(j)e.unshift(r(j));else if(h&&g){var k,l,m=h.get("Kids");for(k=0,l=m.length;l>k;k++){var n=m[k];if(n.num===g.num&&n.gen===g.gen)break}e.unshift("`"+k)}f=h,g=i}c.fullName=e.join(".")}var c=Na.prototype;return na.inherit(a,Na,{isViewable:function(){return"Sig"===this.data.fieldType?(b("unimplemented annotation type: Widget signature"),!1):c.isViewable.call(this)}}),a}(),Qa=function(){function a(a){Pa.call(this,a),this.data.textAlignment=na.getInheritableProperty(a.dict,"Q"),this.data.annotationType=W.WIDGET,this.data.hasHtml=!this.data.hasAppearance&&!!this.data.fieldValue}return na.inherit(a,Pa,{getOperatorList:function(a,b){if(this.appearance)return Na.prototype.getOperatorList.call(this,a,b);var c=new xb,d=this.data;if(!d.defaultAppearance)return Promise.resolve(c);var e=new Mc(j(d.defaultAppearance));return a.getOperatorList(e,b,this.fieldResources,c).then(function(){return c})}}),a}(),Ra=function(){function a(a){Na.call(this,a);var b=a.dict,c=this.data,d=b.get("Contents"),e=b.get("T");c.annotationType=W.TEXT,c.content=r(d||""),c.title=r(e||""),c.hasHtml=!0,c.hasAppearance?c.name="NoIcon":(c.rect[1]=c.rect[3]-Ma,c.rect[2]=c.rect[0]+Ma,c.name=b.has("Name")?b.get("Name").name:"Note"),b.has("C")&&(c.hasBgColor=!0)}return na.inherit(a,Na,{}),a}(),Sa=function(){function a(a){Na.call(this,a);var d=a.dict,e=this.data;e.annotationType=W.LINK,e.hasHtml=!0;var g=d.get("A");if(g&&B(g)){var h=g.get("S").name;if("URI"===h){var i=g.get("URI");z(i)?i="/"+i.name:i&&(i=c(i)),f(i,!1)||(i="");try{e.url=s(i)}catch(j){e.url=i}}else if("GoTo"===h)e.dest=g.get("D");else if("GoToR"===h){var k=g.get("F");B(k)&&(i=k.get("F")||""),f(i,!1)||(i=""),e.url=i,e.dest=g.get("D")}else"Named"===h?e.action=g.get("N").name:b("unrecognized link type: "+h)}else if(d.has("Dest")){var l=d.get("Dest");e.dest=z(l)?l.name:l}}function c(a){return a&&0===a.indexOf("www.")?"http://"+a:a}return na.inherit(a,Na,{}),a}(),Ta=function(){var b=0,d=2,e=3,f=4;return{getSampleArray:function(a,b,c,d){var e,f,g=1;for(e=0,f=a.length;f>e;e++)g*=a[e];g*=b;var h=new Array(g),i=0,j=0,k=1/(Math.pow(2,c)-1),l=d.getBytes((g*c+7)/8),m=0;for(e=0;g>e;e++){for(;c>i;)j<<=8,j|=l[m++],i+=8;i-=c,h[e]=(j>>i)*k,j&=(1<d;d++){var f=a.fetchIfRef(b[d]);c.push(Ta.parse(a,f))}return function(a,b,d,e){for(var f=0,g=c.length;g>f;f++)c[f](a,b,d,e+f)}},constructSampled:function(d,e){function f(a){for(var b=a.length,c=[],d=0,e=0;b>e;e+=2)c[d]=[a[e],a[e+1]],++d;return c}var g=e.get("Domain"),h=e.get("Range"); -g&&h||c("No domain or range");var i=g.length/2,j=h.length/2;g=f(g),h=f(h);var k=e.get("Size"),l=e.get("BitsPerSample"),m=e.get("Order")||1;1!==m&&a("No support for cubic spline interpolation: "+m);var n=e.get("Encode");if(!n){n=[];for(var o=0;i>o;++o)n.push(0),n.push(k[o]-1)}n=f(n);var p=e.get("Decode");p=p?f(p):h;var q=this.getSampleArray(k,j,l,d);return[b,i,g,n,p,q,k,j,Math.pow(2,l)-1,h]},constructSampledFromIR:function(a){function b(a,b,c,d,e){return d+(a-b)*((e-d)/(c-b))}return function(c,d,e,f){var g,h,i=a[1],j=a[2],k=a[3],l=a[4],m=a[5],n=a[6],o=a[7],p=a[9],q=1<h;h++)r[h]=1;var t=o,u=1;for(g=0;i>g;++g){var v=j[g][0],w=j[g][1],x=Math.min(Math.max(c[d+g],v),w),y=b(x,v,w,k[g][0],k[g][1]),z=n[g];y=Math.min(Math.max(y,0),z-1);var A=z-1>y?Math.floor(y):y-1,B=A+1-y,C=y-A,D=A*t,E=D+t;for(h=0;q>h;h++)h&u?(r[h]*=C,s[h]+=E):(r[h]*=B,s[h]+=D);t*=z,u<<=1}for(h=0;o>h;++h){var F=0;for(g=0;q>g;g++)F+=m[s[g]+h]*r[g];F=b(F,0,1,l[h][0],l[h][1]),e[f+h]=Math.min(Math.max(F,p[h][0]),p[h][1])}}},constructInterpolated:function(a,b){var e=b.get("C0")||[0],f=b.get("C1")||[1],g=b.get("N");C(e)&&C(f)||c("Illegal dictionary for interpolated function");for(var h=e.length,i=[],j=0;h>j;++j)i.push(f[j]-e[j]);return[d,e,i,g]},constructInterpolatedFromIR:function(a){var b=a[1],c=a[2],d=a[3],e=c.length;return function(a,f,g,h){for(var i=1===d?a[f]:Math.pow(a[f],d),j=0;e>j;++j)g[h+j]=b[j]+i*c[j]}},constructStiched:function(a,b,d){var f=b.get("Domain");f||c("No domain");var g=f.length/2;1!==g&&c("Bad domain for stiched function");for(var h=b.get("Functions"),i=[],j=0,k=h.length;k>j;++j)i.push(Ta.getIR(d,d.fetchIfRef(h[j])));var l=b.get("Bounds"),m=b.get("Encode");return[e,f,l,m,i]},constructStichedFromIR:function(a){for(var b=a[1],c=a[2],d=a[3],e=a[4],f=[],g=new Float32Array(1),h=0,i=e.length;i>h;h++)f.push(Ta.fromIR(e[h]));return function(a,e,h,i){for(var j=function(a,b,c){return a>c?a=c:b>a&&(a=b),a},k=j(a[e],b[0],b[1]),l=0,m=c.length;m>l&&!(k0&&(n=c[l-1]);var o=b[1];l>1,h=c.length>>1,i=new Va(e),j={},k=8192,l=k,m=new Float32Array(h);return function(a,b,c,e){var f,k,n="",o=m;for(f=0;h>f;f++)k=a[b+f],o[f]=k,n+=k+"_";var p=j[n];if(void 0!==p)return void c.set(p,e);var q=new Float32Array(g),r=i.execute(o),s=r.length-g;for(f=0;g>f;f++){k=r[s+f];var t=d[2*f];t>k?k=t:(t=d[2*f+1],k>t&&(k=t)),q[f]=k}l>0&&(l--,j[n]=q),c.set(q,e)}}}}(),Ua=function(){function a(a){this.stack=a?Array.prototype.slice.call(a,0):[]}var b=100;return a.prototype={push:function(a){this.stack.length>=b&&c("PostScript function stack overflow."),this.stack.push(a)},pop:function(){return this.stack.length<=0&&c("PostScript function stack underflow."),this.stack.pop()},copy:function(a){this.stack.length+a>=b&&c("PostScript function stack overflow.");for(var d=this.stack,e=d.length-a,f=a-1;f>=0;f--,e++)d.push(d[e])},index:function(a){this.push(this.stack[this.stack.length-a-1])},roll:function(a,b){var c,d,e,f=this.stack,g=f.length-a,h=f.length-1,i=g+(b-Math.floor(b/a)*a);for(c=g,d=h;d>c;c++,d--)e=f[c],f[c]=f[d],f[d]=e;for(c=g,d=i-1;d>c;c++,d--)e=f[c],f[c]=f[d],f[d]=e;for(c=i,d=h;d>c;c++,d--)e=f[c],f[c]=f[d],f[d]=e}},a}(),Va=function(){function a(a){this.operators=a}return a.prototype={execute:function(a){for(var b,d,e,f=new Ua(a),g=0,h=this.operators,i=h.length;i>g;)if(b=h[g++],"number"!=typeof b)switch(b){case"jz":e=f.pop(),d=f.pop(),d||(g=e);break;case"j":d=f.pop(),g=d;break;case"abs":d=f.pop(),f.push(Math.abs(d));break;case"add":e=f.pop(),d=f.pop(),f.push(d+e);break;case"and":e=f.pop(),d=f.pop(),v(d)&&v(e)?f.push(d&&e):f.push(d&e);break;case"atan":d=f.pop(),f.push(Math.atan(d));break;case"bitshift":e=f.pop(),d=f.pop(),d>0?f.push(d<>e);break;case"ceiling":d=f.pop(),f.push(Math.ceil(d));break;case"copy":d=f.pop(),f.copy(d);break;case"cos":d=f.pop(),f.push(Math.cos(d));break;case"cvi":d=0|f.pop(),f.push(d);break;case"cvr":break;case"div":e=f.pop(),d=f.pop(),f.push(d/e);break;case"dup":f.copy(1);break;case"eq":e=f.pop(),d=f.pop(),f.push(d===e);break;case"exch":f.roll(2,1);break;case"exp":e=f.pop(),d=f.pop(),f.push(Math.pow(d,e));break;case"false":f.push(!1);break;case"floor":d=f.pop(),f.push(Math.floor(d));break;case"ge":e=f.pop(),d=f.pop(),f.push(d>=e);break;case"gt":e=f.pop(),d=f.pop(),f.push(d>e);break;case"idiv":e=f.pop(),d=f.pop(),f.push(d/e|0);break;case"index":d=f.pop(),f.index(d);break;case"le":e=f.pop(),d=f.pop(),f.push(e>=d);break;case"ln":d=f.pop(),f.push(Math.log(d));break;case"log":d=f.pop(),f.push(Math.log(d)/Math.LN10);break;case"lt":e=f.pop(),d=f.pop(),f.push(e>d);break;case"mod":e=f.pop(),d=f.pop(),f.push(d%e);break;case"mul":e=f.pop(),d=f.pop(),f.push(d*e);break;case"ne":e=f.pop(),d=f.pop(),f.push(d!==e);break;case"neg":d=f.pop(),f.push(-d);break;case"not":d=f.pop(),v(d)?f.push(!d):f.push(~d);break;case"or":e=f.pop(),d=f.pop(),v(d)&&v(e)?f.push(d||e):f.push(d|e);break;case"pop":f.pop();break;case"roll":e=f.pop(),d=f.pop(),f.roll(d,e);break;case"round":d=f.pop(),f.push(Math.round(d));break;case"sin":d=f.pop(),f.push(Math.sin(d));break;case"sqrt":d=f.pop(),f.push(Math.sqrt(d));break;case"sub":e=f.pop(),d=f.pop(),f.push(d-e);break;case"true":f.push(!0);break;case"truncate":d=f.pop(),d=0>d?Math.ceil(d):Math.floor(d),f.push(d);break;case"xor":e=f.pop(),d=f.pop(),v(d)&&v(e)?f.push(d!==e):f.push(d^e);break;default:c("Unknown operator "+b)}else f.push(b);return f.stack}},a}(),Wa=function(){function a(a){this.type=a}function b(b,c,d){a.call(this,"args"),this.index=b,this.min=c,this.max=d}function c(b){a.call(this,"literal"),this.number=b,this.min=b,this.max=b}function d(b,c,d,e,f){a.call(this,"binary"),this.op=b,this.arg1=c,this.arg2=d,this.min=e,this.max=f}function e(b,c){a.call(this,"max"),this.arg=b,this.min=b.min,this.max=c}function f(b,c,d){a.call(this,"var"),this.index=b,this.min=c,this.max=d}function g(b,c){a.call(this,"definition"),this.variable=b,this.arg=c}function h(){this.parts=[]}function i(a,b){return"literal"===b.type&&0===b.number?a:"literal"===a.type&&0===a.number?b:"literal"===b.type&&"literal"===a.type?new c(a.number+b.number):new d("+",a,b,a.min+b.min,a.max+b.max)}function j(a,b){if("literal"===b.type){if(0===b.number)return new c(0);if(1===b.number)return a;if("literal"===a.type)return new c(a.number*b.number)}if("literal"===a.type){if(0===a.number)return new c(0);if(1===a.number)return b}var e=Math.min(a.min*b.min,a.min*b.max,a.max*b.min,a.max*b.max),f=Math.max(a.min*b.min,a.min*b.max,a.max*b.min,a.max*b.max);return new d("*",a,b,e,f)}function k(a,b){if("literal"===b.type){if(0===b.number)return a;if("literal"===a.type)return new c(a.number-b.number)}return"binary"===b.type&&"-"===b.op&&"literal"===a.type&&1===a.number&&"literal"===b.arg1.type&&1===b.arg1.number?b.arg2:new d("-",a,b,a.min-b.max,a.max-b.min)}function l(a,b){return a.min>=b?new c(b):a.max<=b?a:new e(a,b)}function m(){}return a.prototype.visit=function(a){throw new Error("abstract method")},b.prototype=Object.create(a.prototype),b.prototype.visit=function(a){a.visitArgument(this)},c.prototype=Object.create(a.prototype),c.prototype.visit=function(a){a.visitLiteral(this)},d.prototype=Object.create(a.prototype),d.prototype.visit=function(a){a.visitBinaryOperation(this)},e.prototype=Object.create(a.prototype),e.prototype.visit=function(a){a.visitMin(this)},f.prototype=Object.create(a.prototype),f.prototype.visit=function(a){a.visitVariable(this)},g.prototype=Object.create(a.prototype),g.prototype.visit=function(a){a.visitVariableDefinition(this)},h.prototype={visitArgument:function(a){this.parts.push("Math.max(",a.min,", Math.min(",a.max,", src[srcOffset + ",a.index,"]))")},visitVariable:function(a){this.parts.push("v",a.index)},visitLiteral:function(a){this.parts.push(a.number)},visitBinaryOperation:function(a){this.parts.push("("),a.arg1.visit(this),this.parts.push(" ",a.op," "),a.arg2.visit(this),this.parts.push(")")},visitVariableDefinition:function(a){this.parts.push("var "),a.variable.visit(this),this.parts.push(" = "),a.arg.visit(this),this.parts.push(";")},visitMin:function(a){this.parts.push("Math.min("),a.arg.visit(this),this.parts.push(", ",a.max,")")},toString:function(){return this.parts.join("")}},m.prototype={compile:function(a,d,e){var m,n,o,p,q,r,s,t,u,v,w=[],x=[],y=d.length>>1,z=e.length>>1,A=0;for(m=0;y>m;m++)w.push(new b(m,d[2*m],d[2*m+1]));for(m=0,n=a.length;n>m;m++)if(v=a[m],"number"!=typeof v)switch(v){case"add":if(w.length<2)return null;r=w.pop(),q=w.pop(),w.push(i(q,r));break;case"cvr":if(w.length<1)return null;break;case"mul":if(w.length<2)return null;r=w.pop(),q=w.pop(),w.push(j(q,r));break;case"sub":if(w.length<2)return null;r=w.pop(),q=w.pop(),w.push(k(q,r));break;case"exch":if(w.length<2)return null;s=w.pop(),t=w.pop(),w.push(s,t);break;case"pop":if(w.length<1)return null;w.pop();break;case"index":if(w.length<1)return null;if(q=w.pop(),"literal"!==q.type)return null;if(o=q.number,0>o||(0|o)!==o||w.length=o||(0|o)!==o||(0|p)!==p||w.lengtha.min&&(g.unshift("Math.max(",d,", "),g.push(")")),fn&&"DeviceGray"!==this.name&&"DeviceRGB"!==this.name){var p,q=8>=g?new Uint8Array(n):new Uint16Array(n);for(j=0;n>j;j++)q[j]=j;var r=new Uint8Array(3*n);this.getRgbBuffer(q,0,n,r,0,g,0);var s,t;if(o)for(m=new Uint8Array(3*l),t=0,j=0;l>j;++j)p=3*h[j],m[t++]=r[p],m[t++]=r[p+1],m[t++]=r[p+2];else for(s=0,j=0;l>j;++j)p=3*h[j],a[s++]=r[p],a[s++]=r[p+1],a[s++]=r[p+2],s+=i}else o?(m=new Uint8Array(3*l),this.getRgbBuffer(h,0,l,m,0,g,0)):this.getRgbBuffer(h,0,d*f,a,0,g,i);if(m)if(o)Bc.resize(m,g,3,b,c,d,e,a,i);else for(t=0,s=0,j=0,k=d*f;k>j;j++)a[s++]=m[t++],a[s++]=m[t++],a[s++]=m[t++],s+=i},usesZeroToOneRange:!0},a.parse=function(b,c,d){var e=a.parseToIR(b,c,d);return e instanceof Ya?e:a.fromIR(e)},a.fromIR=function(b){var d,e,f,g=C(b)?b[0]:b;switch(g){case"DeviceGrayCS":return this.singletons.gray;case"DeviceRgbCS":return this.singletons.rgb;case"DeviceCmykCS":return this.singletons.cmyk;case"CalGrayCS":return d=b[1].WhitePoint,e=b[1].BlackPoint,f=b[1].Gamma,new cb(d,e,f);case"CalRGBCS":d=b[1].WhitePoint,e=b[1].BlackPoint,f=b[1].Gamma;var h=b[1].Matrix;return new db(d,e,f,h);case"PatternCS":var i=b[1];return i&&(i=a.fromIR(i)),new Za(i);case"IndexedCS":var j=b[1],k=b[2],l=b[3];return new $a(a.fromIR(j),k,l);case"AlternateCS":var m=b[1],n=b[2],o=b[3];return new Ya(m,a.fromIR(n),Ta.fromIR(o));case"LabCS":d=b[1].WhitePoint,e=b[1].BlackPoint;var p=b[1].Range;return new eb(d,e,p);default:c("Unknown name "+g)}return null},a.parseToIR=function(d,e,f){if(z(d)){var g=f.get("ColorSpace");if(B(g)){var h=g.get(d.name);h&&(d=h)}}d=e.fetchIfRef(d);var i;if(z(d))switch(i=d.name,this.mode=i,i){case"DeviceGray":case"G":return"DeviceGrayCS";case"DeviceRGB":case"RGB":return"DeviceRgbCS";case"DeviceCMYK":case"CMYK":return"DeviceCmykCS";case"Pattern":return["PatternCS",null];default:c("unrecognized colorspace "+i)}else if(C(d)){i=e.fetchIfRef(d[0]).name,this.mode=i;var j,k,l;switch(i){case"DeviceGray":case"G":return"DeviceGrayCS";case"DeviceRGB":case"RGB":return"DeviceRgbCS";case"DeviceCMYK":case"CMYK":return"DeviceCmykCS";case"CalGray":return k=e.fetchIfRef(d[1]).getAll(),["CalGrayCS",k];case"CalRGB":return k=e.fetchIfRef(d[1]).getAll(),["CalRGBCS",k];case"ICCBased":var m=e.fetchIfRef(d[1]),n=m.dict;if(j=n.get("N"),l=n.get("Alternate")){var o=a.parseToIR(l,e,f),p=a.fromIR(o);if(p.numComps===j)return o;b("ICCBased color space: Ignoring incorrect /Alternate entry.")}if(1===j)return"DeviceGrayCS";if(3===j)return"DeviceRgbCS";if(4===j)return"DeviceCmykCS";break;case"Pattern":var q=d[1]||null;return q&&(q=a.parseToIR(q,e,f)),["PatternCS",q];case"Indexed":case"I":var r=a.parseToIR(d[1],e,f),s=e.fetchIfRef(d[2])+1,t=e.fetchIfRef(d[3]);return D(t)&&(t=t.getBytes()),["IndexedCS",r,s,t];case"Separation":case"DeviceN":var u=e.fetchIfRef(d[1]);j=1,z(u)?j=1:C(u)&&(j=u.length),l=a.parseToIR(d[2],e,f);var v=Ta.getIR(e,e.fetchIfRef(d[3]));return["AlternateCS",j,l,v];case"Lab":return k=e.fetchIfRef(d[1]).getAll(),["LabCS",k];default:c('unimplemented color space object "'+i+'"')}}else c('unrecognized color space object: "'+d+'"');return null},a.isDefaultDecode=function(a,c){if(!C(a))return!0;if(2*c!==a.length)return b("The decode map is not the correct length"),!0;for(var d=0,e=a.length;e>d;d+=2)if(0!==a[d]||1!==a[d+1])return!1;return!0},a.singletons={get gray(){return g(this,"gray",new _a)},get rgb(){return g(this,"rgb",new ab)},get cmyk(){return g(this,"cmyk",new bb)}},a}(),Ya=function(){function a(a,b,c){this.name="Alternate",this.numComps=a,this.defaultColor=new Float32Array(a);for(var d=0;a>d;++d)this.defaultColor[d]=1;this.base=b,this.tintFn=c,this.tmpBuf=new Float32Array(b.numComps)}return a.prototype={getRgb:Xa.prototype.getRgb,getRgbItem:function(a,b,c,d){var e=this.tmpBuf;this.tintFn(a,b,e,0),this.base.getRgbItem(e,0,c,d)},getRgbBuffer:function(a,b,c,d,e,f,g){var h,i,j=this.tintFn,k=this.base,l=1/((1<h;h++){for(i=0;r>i;i++)s[i]=a[b++]*l;for(j(s,0,t,0),i=0;m>i;i++)q[p++]=255*t[i]}else for(h=0;c>h;h++){for(i=0;r>i;i++)s[i]=a[b++]*l;j(s,0,t,0),k.getRgbItem(t,0,q,p),p+=m}o||k.getRgbBuffer(q,0,c,d,e,8,g)},getOutputLength:function(a,b){return this.base.getOutputLength(a*this.base.numComps/this.numComps,b)},isPassthrough:Xa.prototype.isPassthrough,fillRgb:Xa.prototype.fillRgb,isDefaultDecode:function(a){return Xa.isDefaultDecode(a,this.numComps)},usesZeroToOneRange:!0},a}(),Za=function(){function a(a){this.name="Pattern",this.base=a}return a.prototype={},a}(),$a=function(){function a(a,b,d){this.name="Indexed",this.numComps=1,this.defaultColor=new Uint8Array([0]),this.base=a,this.highVal=b;var e,f=a.numComps,g=f*b;if(D(d)){e=new Uint8Array(g);var h=d.getBytes(g);e.set(h)}else if(y(d)){e=new Uint8Array(g);for(var i=0;g>i;++i)e[i]=d.charCodeAt(i)}else d instanceof Uint8Array||d instanceof Array?e=d:c("Unrecognized lookup table: "+d);this.lookup=e}return a.prototype={getRgb:Xa.prototype.getRgb,getRgbItem:function(a,b,c,d){var e=this.base.numComps,f=a[b]*e;this.base.getRgbItem(this.lookup,f,c,d)},getRgbBuffer:function(a,b,c,d,e,f,g){for(var h=this.base,i=h.numComps,j=h.getOutputLength(i,g),k=this.lookup,l=0;c>l;++l){var m=a[b++]*i;h.getRgbBuffer(k,m,1,d,e,8,g),e+=j}},getOutputLength:function(a,b){return this.base.getOutputLength(a*this.base.numComps,b)},isPassthrough:Xa.prototype.isPassthrough,fillRgb:Xa.prototype.fillRgb,isDefaultDecode:function(a){return!0},usesZeroToOneRange:!0},a}(),_a=function(){function a(){this.name="DeviceGray",this.numComps=1,this.defaultColor=new Float32Array([0])}return a.prototype={getRgb:Xa.prototype.getRgb,getRgbItem:function(a,b,c,d){var e=255*a[b]|0;e=0>e?0:e>255?255:e,c[d]=c[d+1]=c[d+2]=e},getRgbBuffer:function(a,b,c,d,e,f,g){for(var h=255/((1<k;++k){var l=h*a[i++]|0;d[j++]=l,d[j++]=l,d[j++]=l,j+=g}},getOutputLength:function(a,b){return a*(3+b)},isPassthrough:Xa.prototype.isPassthrough,fillRgb:Xa.prototype.fillRgb,isDefaultDecode:function(a){return Xa.isDefaultDecode(a,this.numComps)},usesZeroToOneRange:!0},a}(),ab=function(){function a(){this.name="DeviceRGB",this.numComps=3,this.defaultColor=new Float32Array([0,0,0])}return a.prototype={getRgb:Xa.prototype.getRgb,getRgbItem:function(a,b,c,d){var e=255*a[b]|0,f=255*a[b+1]|0,g=255*a[b+2]|0;c[d]=0>e?0:e>255?255:e,c[d+1]=0>f?0:f>255?255:f,c[d+2]=0>g?0:g>255?255:g},getRgbBuffer:function(a,b,c,d,e,f,g){if(8===f&&0===g)return void d.set(a.subarray(b,b+3*c),e);for(var h=255/((1<k;++k)d[j++]=h*a[i++]|0,d[j++]=h*a[i++]|0,d[j++]=h*a[i++]|0,j+=g},getOutputLength:function(a,b){return a*(3+b)/3|0},isPassthrough:function(a){return 8===a},fillRgb:Xa.prototype.fillRgb,isDefaultDecode:function(a){return Xa.isDefaultDecode(a,this.numComps)},usesZeroToOneRange:!0},a}(),bb=function(){function a(a,b,c,d,e){var f=a[b+0]*c,g=a[b+1]*c,h=a[b+2]*c,i=a[b+3]*c,j=f*(-4.387332384609988*f+54.48615194189176*g+18.82290502165302*h+212.25662451639585*i+-285.2331026137004)+g*(1.7149763477362134*g-5.6096736904047315*h+-17.873870861415444*i-5.497006427196366)+h*(-2.5217340131683033*h-21.248923337353073*i+17.5119270841813)+i*(-21.86122147463605*i-189.48180835922747)+255|0,k=f*(8.841041422036149*f+60.118027045597366*g+6.871425592049007*h+31.159100130055922*i+-79.2970844816548)+g*(-15.310361306967817*g+17.575251261109482*h+131.35250912493976*i-190.9453302588951)+h*(4.444339102852739*h+9.8632861493405*i-24.86741582555878)+i*(-20.737325471181034*i-187.80453709719578)+255|0,l=f*(.8842522430003296*f+8.078677503112928*g+30.89978309703729*h-.23883238689178934*i+-14.183576799673286)+g*(10.49593273432072*g+63.02378494754052*h+50.606957656360734*i-112.23884253719248)+h*(.03296041114873217*h+115.60384449646641*i+-193.58209356861505)+i*(-22.33816807309886*i-180.12613974708367)+255|0;d[e]=j>255?255:0>j?0:j,d[e+1]=k>255?255:0>k?0:k,d[e+2]=l>255?255:0>l?0:l}function b(){this.name="DeviceCMYK",this.numComps=4,this.defaultColor=new Float32Array([0,0,0,1])}return b.prototype={getRgb:Xa.prototype.getRgb,getRgbItem:function(b,c,d,e){a(b,c,1,d,e)},getRgbBuffer:function(b,c,d,e,f,g,h){for(var i=1/((1<j;j++)a(b,c,i,e,f),c+=4,f+=3+h},getOutputLength:function(a,b){return a/4*(3+b)|0},isPassthrough:Xa.prototype.isPassthrough,fillRgb:Xa.prototype.fillRgb,isDefaultDecode:function(a){return Xa.isDefaultDecode(a,this.numComps)},usesZeroToOneRange:!0},b}(),cb=function(){function d(d,e,f){this.name="CalGray",this.numComps=1,this.defaultColor=new Float32Array([0]),d||c("WhitePoint missing - required for color space CalGray"),e=e||[0,0,0],f=f||1,this.XW=d[0],this.YW=d[1],this.ZW=d[2],this.XB=e[0],this.YB=e[1],this.ZB=e[2],this.G=f,(this.XW<0||this.ZW<0||1!==this.YW)&&c("Invalid WhitePoint components for "+this.name+", no fallback available"),(this.XB<0||this.YB<0||this.ZB<0)&&(a("Invalid BlackPoint for "+this.name+", falling back to default"),this.XB=this.YB=this.ZB=0),0===this.XB&&0===this.YB&&0===this.ZB||b(this.name+", BlackPoint: XB: "+this.XB+", YB: "+this.YB+", ZB: "+this.ZB+", only default values are supported."),this.G<1&&(a("Invalid Gamma: "+this.G+" for "+this.name+", falling back to default"),this.G=1)}function e(a,b,c,d,e,f){var g=b[c]*f,h=Math.pow(g,a.G),i=a.YW*h,j=0|Math.max(295.8*Math.pow(i,.3333333333333333)-40.8,0);d[e]=j,d[e+1]=j,d[e+2]=j}return d.prototype={getRgb:Xa.prototype.getRgb,getRgbItem:function(a,b,c,d){e(this,a,b,c,d,1)},getRgbBuffer:function(a,b,c,d,f,g,h){for(var i=1/((1<j;++j)e(this,a,b,d,f,i),b+=1,f+=3+h},getOutputLength:function(a,b){return a*(3+b)},isPassthrough:Xa.prototype.isPassthrough,fillRgb:Xa.prototype.fillRgb,isDefaultDecode:function(a){return Xa.isDefaultDecode(a,this.numComps)},usesZeroToOneRange:!0},d}(),db=function(){function b(b,d,e,f){this.name="CalRGB",this.numComps=3,this.defaultColor=new Float32Array(3),b||c("WhitePoint missing - required for color space CalRGB"),d=d||new Float32Array(3),e=e||new Float32Array([1,1,1]),f=f||new Float32Array([1,0,0,0,1,0,0,0,1]);var g=b[0],h=b[1],i=b[2];this.whitePoint=b;var j=d[0],k=d[1],l=d[2];this.blackPoint=d,this.GR=e[0],this.GG=e[1],this.GB=e[2],this.MXA=f[0],this.MYA=f[1],this.MZA=f[2],this.MXB=f[3],this.MYB=f[4],this.MZB=f[5],this.MXC=f[6],this.MYC=f[7],this.MZC=f[8],(0>g||0>i||1!==h)&&c("Invalid WhitePoint components for "+this.name+", no fallback available"),(0>j||0>k||0>l)&&(a("Invalid BlackPoint for "+this.name+" ["+j+", "+k+", "+l+"], falling back to default"),this.blackPoint=new Float32Array(3)),(this.GR<0||this.GG<0||this.GB<0)&&(a("Invalid Gamma ["+this.GR+", "+this.GG+", "+this.GB+"] for "+this.name+", falling back to default"),this.GR=this.GG=this.GB=1),(this.MXA<0||this.MYA<0||this.MZA<0||this.MXB<0||this.MYB<0||this.MZB<0||this.MXC<0||this.MYC<0||this.MZC<0)&&(a("Invalid Matrix for "+this.name+" ["+this.MXA+", "+this.MYA+", "+this.MZA+this.MXB+", "+this.MYB+", "+this.MZB+this.MXC+", "+this.MYC+", "+this.MZC+"], falling back to default"),this.MXA=this.MYB=this.MZC=1,this.MXB=this.MYA=this.MZA=this.MXC=this.MYC=this.MZB=0)}function d(a,b,c){c[0]=a[0]*b[0]+a[1]*b[1]+a[2]*b[2],c[1]=a[3]*b[0]+a[4]*b[1]+a[5]*b[2],c[2]=a[6]*b[0]+a[7]*b[1]+a[8]*b[2]}function e(a,b,c){c[0]=1*b[0]/a[0],c[1]=1*b[1]/a[1],c[2]=1*b[2]/a[2]}function f(a,b,c){var d=.95047,e=1,f=1.08883;c[0]=b[0]*d/a[0],c[1]=b[1]*e/a[1],c[2]=b[2]*f/a[2]}function g(a){return.0031308>=a?h(0,1,12.92*a):h(0,1,1.055*Math.pow(a,1/2.4)-.055)}function h(a,b,c){return Math.max(a,Math.min(b,c))}function i(a){return 0>a?-i(-a):a>8?Math.pow((a+16)/116,3):a*u}function j(a,b,c){if(0===a[0]&&0===a[1]&&0===a[2])return c[0]=b[0],c[1]=b[1],void(c[2]=b[2]);var d=i(0),e=d,f=i(a[0]),g=d,h=i(a[1]),j=d,k=i(a[2]),l=(1-e)/(1-f),m=1-l,n=(1-g)/(1-h),o=1-n,p=(1-j)/(1-k),q=1-p;c[0]=b[0]*l+m,c[1]=b[1]*n+o,c[2]=b[2]*p+q}function k(a,b,c){if(1===a[0]&&1===a[2])return c[0]=b[0],c[1]=b[1],void(c[2]=b[2]);var f=c;d(n,b,f);var g=r;e(a,f,g),d(o,g,c)}function l(a,b,c){var e=c;d(n,b,e);var g=r;f(a,e,g),d(o,g,c)}function m(a,b,c,e,f,i){var m=h(0,1,b[c]*i),n=h(0,1,b[c+1]*i),o=h(0,1,b[c+2]*i),r=Math.pow(m,a.GR),u=Math.pow(n,a.GG),v=Math.pow(o,a.GB),w=a.MXA*r+a.MXB*u+a.MXC*v,x=a.MYA*r+a.MYB*u+a.MYC*v,y=a.MZA*r+a.MZB*u+a.MZC*v,z=s;z[0]=w,z[1]=x,z[2]=y;var A=t;k(a.whitePoint,z,A);var B=s;j(a.blackPoint,A,B);var C=t;l(q,B,C);var D=s;d(p,C,D);var E=g(D[0]),F=g(D[1]),G=g(D[2]);e[f]=Math.round(255*E),e[f+1]=Math.round(255*F),e[f+2]=Math.round(255*G)}var n=new Float32Array([.8951,.2664,-.1614,-.7502,1.7135,.0367,.0389,-.0685,1.0296]),o=new Float32Array([.9869929,-.1470543,.1599627,.4323053,.5183603,.0492912,-.0085287,.0400428,.9684867]),p=new Float32Array([3.2404542,-1.5371385,-.4985314,-.969266,1.8760108,.041556,.0556434,-.2040259,1.0572252]),q=new Float32Array([1,1,1]),r=new Float32Array(3),s=new Float32Array(3),t=new Float32Array(3),u=Math.pow(24/116,3)/8;return b.prototype={getRgb:function(a,b){var c=new Uint8Array(3);return this.getRgbItem(a,b,c,0),c},getRgbItem:function(a,b,c,d){m(this,a,b,c,d,1)},getRgbBuffer:function(a,b,c,d,e,f,g){for(var h=1/((1<i;++i)m(this,a,b,d,e,h),b+=3,e+=3+g},getOutputLength:function(a,b){return a*(3+b)/3|0},isPassthrough:Xa.prototype.isPassthrough,fillRgb:Xa.prototype.fillRgb,isDefaultDecode:function(a){return Xa.isDefaultDecode(a,this.numComps)},usesZeroToOneRange:!0},b}(),eb=function(){function b(b,d,e){this.name="Lab",this.numComps=3,this.defaultColor=new Float32Array([0,0,0]),b||c("WhitePoint missing - required for color space Lab"),d=d||[0,0,0],e=e||[-100,100,-100,100],this.XW=b[0],this.YW=b[1],this.ZW=b[2],this.amin=e[0],this.amax=e[1],this.bmin=e[2],this.bmax=e[3],this.XB=d[0],this.YB=d[1],this.ZB=d[2],(this.XW<0||this.ZW<0||1!==this.YW)&&c("Invalid WhitePoint components, no fallback available"),(this.XB<0||this.YB<0||this.ZB<0)&&(a("Invalid BlackPoint, falling back to default"),this.XB=this.YB=this.ZB=0),(this.amin>this.amax||this.bmin>this.bmax)&&(a("Invalid Range, falling back to defaults"),this.amin=-100,this.amax=100,this.bmin=-100,this.bmax=100)}function d(a){return a>=6/29?a*a*a:108/841*(a-4/29)}function e(a,b,c,d){return c+a*(d-c)/b}function f(a,b,c,f,g,h){var i=b[c],j=b[c+1],k=b[c+2];f!==!1&&(i=e(i,f,0,100),j=e(j,f,a.amin,a.amax),k=e(k,f,a.bmin,a.bmax)),j=j>a.amax?a.amax:ja.bmax?a.bmax:k=l?0:l>=1?255:255*Math.sqrt(l)|0,g[h+1]=0>=m?0:m>=1?255:255*Math.sqrt(m)|0,g[h+2]=0>=n?0:n>=1?255:255*Math.sqrt(n)|0}return b.prototype={getRgb:Xa.prototype.getRgb,getRgbItem:function(a,b,c,d){f(this,a,b,!1,c,d)},getRgbBuffer:function(a,b,c,d,e,g,h){for(var i=(1<j;j++)f(this,a,b,i,d,e),b+=3,e+=3+h},getOutputLength:function(a,b){return a*(3+b)/3|0},isPassthrough:Xa.prototype.isPassthrough,fillRgb:Xa.prototype.fillRgb,isDefaultDecode:function(a){return!0},usesZeroToOneRange:!1},b}(),fb=function(){function a(a){this.a=0,this.b=0;var b,c,d=new Uint8Array(256),e=0,f=a.length;for(b=0;256>b;++b)d[b]=b;for(b=0;256>b;++b)c=d[b],e=e+c+a[b%f]&255,d[b]=d[e],d[e]=c;this.s=d}return a.prototype={encryptBlock:function(a){var b,c,d,e=a.length,f=this.a,g=this.b,h=this.s,i=new Uint8Array(e);for(b=0;e>b;++b)f=f+1&255,c=h[f],g=g+c&255,d=h[g],h[f]=d,h[g]=c,i[b]=a[b]^h[c+d&255];return this.a=f,this.b=g,i}},a.prototype.decryptBlock=a.prototype.encryptBlock,a}(),gb=function(){function a(a,d,e){var f,g,h,i=1732584193,j=-271733879,k=-1732584194,l=271733878,m=e+72&-64,n=new Uint8Array(m);for(f=0;e>f;++f)n[f]=a[d++];for(n[f++]=128,h=m-8;h>f;)n[f++]=0;n[f++]=e<<3&255,n[f++]=e>>5&255,n[f++]=e>>13&255,n[f++]=e>>21&255,n[f++]=e>>>29&255,n[f++]=0,n[f++]=0,n[f++]=0;var o=new Int32Array(16);for(f=0;m>f;){for(g=0;16>g;++g,f+=4)o[g]=n[f]|n[f+1]<<8|n[f+2]<<16|n[f+3]<<24;var p,q,r=i,s=j,t=k,u=l;for(g=0;64>g;++g){16>g?(p=s&t|~s&u,q=g):32>g?(p=u&s|~u&t,q=5*g+1&15):48>g?(p=s^t^u,q=3*g+5&15):(p=t^(s|~u),q=7*g&15);var v=u,w=r+p+c[g]+o[q]|0,x=b[g];u=t,t=s,s=s+(w<>>32-x)|0,r=v}i=i+r|0,j=j+s|0,k=k+t|0,l=l+u|0}return new Uint8Array([255&i,i>>8&255,i>>16&255,i>>>24&255,255&j,j>>8&255,j>>16&255,j>>>24&255,255&k,k>>8&255,k>>16&255,k>>>24&255,255&l,l>>8&255,l>>16&255,l>>>24&255])}var b=new Uint8Array([7,12,17,22,7,12,17,22,7,12,17,22,7,12,17,22,5,9,14,20,5,9,14,20,5,9,14,20,5,9,14,20,4,11,16,23,4,11,16,23,4,11,16,23,4,11,16,23,6,10,15,21,6,10,15,21,6,10,15,21,6,10,15,21]),c=new Int32Array([-680876936,-389564586,606105819,-1044525330,-176418897,1200080426,-1473231341,-45705983,1770035416,-1958414417,-42063,-1990404162,1804603682,-40341101,-1502002290,1236535329,-165796510,-1069501632,643717713,-373897302,-701558691,38016083,-660478335,-405537848,568446438,-1019803690,-187363961,1163531501,-1444681467,-51403784,1735328473,-1926607734,-378558,-2022574463,1839030562,-35309556,-1530992060,1272893353,-155497632,-1094730640,681279174,-358537222,-722521979,76029189,-640364487,-421815835,530742520,-995338651,-198630844,1126891415,-1416354905,-57434055,1700485571,-1894986606,-1051523,-2054922799,1873313359,-30611744,-1560198380,1309151649,-145523070,-1120210379,718787259,-343485551]);return a}(),hb=function(){function a(a,b){this.high=0|a,this.low=0|b}return a.prototype={and:function(a){this.high&=a.high,this.low&=a.low},xor:function(a){this.high^=a.high,this.low^=a.low},or:function(a){this.high|=a.high,this.low|=a.low},shiftRight:function(a){a>=32?(this.low=this.high>>>a-32|0,this.high=0):(this.low=this.low>>>a|this.high<<32-a,this.high=this.high>>>a|0)},shiftLeft:function(a){a>=32?(this.high=this.low<>>32-a,this.low=this.low<>>a|c<<32-a,this.high=c>>>a|b<<32-a},not:function(){this.high=~this.high,this.low=~this.low},add:function(a){var b=(this.low>>>0)+(a.low>>>0),c=(this.high>>>0)+(a.high>>>0);b>4294967295&&(c+=1),this.low=0|b,this.high=0|c},copyTo:function(a,b){a[b]=this.high>>>24&255,a[b+1]=this.high>>16&255,a[b+2]=this.high>>8&255,a[b+3]=255&this.high,a[b+4]=this.low>>>24&255,a[b+5]=this.low>>16&255,a[b+6]=this.low>>8&255,a[b+7]=255&this.low},assign:function(a){this.high=a.high,this.low=a.low}},a}(),ib=function(){function a(a,b){return a>>>b|a<<32-b}function b(a,b,c){return a&b^~a&c}function c(a,b,c){return a&b^a&c^b&c}function d(b){return a(b,2)^a(b,13)^a(b,22)}function e(b){return a(b,6)^a(b,11)^a(b,25)}function f(b){return a(b,7)^a(b,18)^b>>>3}function g(b){return a(b,17)^a(b,19)^b>>>10}function h(a,h,j){var k,l,m,n=1779033703,o=3144134277,p=1013904242,q=2773480762,r=1359893119,s=2600822924,t=528734635,u=1541459225,v=64*Math.ceil((j+9)/64),w=new Uint8Array(v);for(k=0;j>k;++k)w[k]=a[h++];for(w[k++]=128,m=v-8;m>k;)w[k++]=0;w[k++]=0,w[k++]=0,w[k++]=0,w[k++]=j>>>29&255,w[k++]=j>>21&255,w[k++]=j>>13&255,w[k++]=j>>5&255,w[k++]=j<<3&255;var x=new Uint32Array(64);for(k=0;v>k;){for(l=0;16>l;++l)x[l]=w[k]<<24|w[k+1]<<16|w[k+2]<<8|w[k+3],k+=4;for(l=16;64>l;++l)x[l]=g(x[l-2])+x[l-7]+f(x[l-15])+x[l-16]|0;var y,z,A=n,B=o,C=p,D=q,E=r,F=s,G=t,H=u;for(l=0;64>l;++l)y=H+e(E)+b(E,F,G)+i[l]+x[l],z=d(A)+c(A,B,C),H=G,G=F,F=E,E=D+y|0,D=C,C=B,B=A,A=y+z|0;n=n+A|0,o=o+B|0,p=p+C|0,q=q+D|0,r=r+E|0,s=s+F|0,t=t+G|0,u=u+H|0}return new Uint8Array([n>>24&255,n>>16&255,n>>8&255,255&n,o>>24&255,o>>16&255,o>>8&255,255&o,p>>24&255,p>>16&255,p>>8&255,255&p,q>>24&255,q>>16&255,q>>8&255,255&q,r>>24&255,r>>16&255,r>>8&255,255&r,s>>24&255,s>>16&255,s>>8&255,255&s,t>>24&255,t>>16&255,t>>8&255,255&t,u>>24&255,u>>16&255,u>>8&255,255&u])}var i=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];return h}(),jb=function(){function a(a,b,c,d,e){a.assign(b),a.and(c),e.assign(b),e.not(),e.and(d),a.xor(e)}function b(a,b,c,d,e){a.assign(b),a.and(c),e.assign(b),e.and(d),a.xor(e),e.assign(c),e.and(d),a.xor(e)}function c(a,b,c){a.assign(b),a.rotateRight(28),c.assign(b),c.rotateRight(34),a.xor(c),c.assign(b),c.rotateRight(39),a.xor(c)}function d(a,b,c){a.assign(b),a.rotateRight(14),c.assign(b),c.rotateRight(18),a.xor(c),c.assign(b),c.rotateRight(41),a.xor(c)}function e(a,b,c){a.assign(b), -a.rotateRight(1),c.assign(b),c.rotateRight(8),a.xor(c),c.assign(b),c.shiftRight(7),a.xor(c)}function f(a,b,c){a.assign(b),a.rotateRight(19),c.assign(b),c.rotateRight(61),a.xor(c),c.assign(b),c.shiftRight(6),a.xor(c)}function g(g,i,j,k){k=!!k;var l,m,n,o,p,q,r,s;k?(l=new hb(3418070365,3238371032),m=new hb(1654270250,914150663),n=new hb(2438529370,812702999),o=new hb(355462360,4144912697),p=new hb(1731405415,4290775857),q=new hb(2394180231,1750603025),r=new hb(3675008525,1694076839),s=new hb(1203062813,3204075428)):(l=new hb(1779033703,4089235720),m=new hb(3144134277,2227873595),n=new hb(1013904242,4271175723),o=new hb(2773480762,1595750129),p=new hb(1359893119,2917565137),q=new hb(2600822924,725511199),r=new hb(528734635,4215389547),s=new hb(1541459225,327033209));var t,u,v,w=128*Math.ceil((j+17)/128),x=new Uint8Array(w);for(t=0;j>t;++t)x[t]=g[i++];for(x[t++]=128,v=w-16;v>t;)x[t++]=0;x[t++]=0,x[t++]=0,x[t++]=0,x[t++]=0,x[t++]=0,x[t++]=0,x[t++]=0,x[t++]=0,x[t++]=0,x[t++]=0,x[t++]=0,x[t++]=j>>>29&255,x[t++]=j>>21&255,x[t++]=j>>13&255,x[t++]=j>>5&255,x[t++]=j<<3&255;var y=new Array(80);for(t=0;80>t;t++)y[t]=new hb(0,0);var z,A=new hb(0,0),B=new hb(0,0),C=new hb(0,0),D=new hb(0,0),E=new hb(0,0),F=new hb(0,0),G=new hb(0,0),H=new hb(0,0),I=new hb(0,0),J=new hb(0,0),K=new hb(0,0),L=new hb(0,0);for(t=0;w>t;){for(u=0;16>u;++u)y[u].high=x[t]<<24|x[t+1]<<16|x[t+2]<<8|x[t+3],y[u].low=x[t+4]<<24|x[t+5]<<16|x[t+6]<<8|x[t+7],t+=8;for(u=16;80>u;++u)z=y[u],f(z,y[u-2],L),z.add(y[u-7]),e(K,y[u-15],L),z.add(K),z.add(y[u-16]);for(A.assign(l),B.assign(m),C.assign(n),D.assign(o),E.assign(p),F.assign(q),G.assign(r),H.assign(s),u=0;80>u;++u)I.assign(H),d(K,E,L),I.add(K),a(K,E,F,G,L),I.add(K),I.add(h[u]),I.add(y[u]),c(J,A,L),b(K,A,B,C,L),J.add(K),z=H,H=G,G=F,F=E,D.add(I),E=D,D=C,C=B,B=A,z.assign(I),z.add(J),A=z;l.add(A),m.add(B),n.add(C),o.add(D),p.add(E),q.add(F),r.add(G),s.add(H)}var M;return k?(M=new Uint8Array(48),l.copyTo(M,0),m.copyTo(M,8),n.copyTo(M,16),o.copyTo(M,24),p.copyTo(M,32),q.copyTo(M,40)):(M=new Uint8Array(64),l.copyTo(M,0),m.copyTo(M,8),n.copyTo(M,16),o.copyTo(M,24),p.copyTo(M,32),q.copyTo(M,40),r.copyTo(M,48),s.copyTo(M,56)),M}var h=[new hb(1116352408,3609767458),new hb(1899447441,602891725),new hb(3049323471,3964484399),new hb(3921009573,2173295548),new hb(961987163,4081628472),new hb(1508970993,3053834265),new hb(2453635748,2937671579),new hb(2870763221,3664609560),new hb(3624381080,2734883394),new hb(310598401,1164996542),new hb(607225278,1323610764),new hb(1426881987,3590304994),new hb(1925078388,4068182383),new hb(2162078206,991336113),new hb(2614888103,633803317),new hb(3248222580,3479774868),new hb(3835390401,2666613458),new hb(4022224774,944711139),new hb(264347078,2341262773),new hb(604807628,2007800933),new hb(770255983,1495990901),new hb(1249150122,1856431235),new hb(1555081692,3175218132),new hb(1996064986,2198950837),new hb(2554220882,3999719339),new hb(2821834349,766784016),new hb(2952996808,2566594879),new hb(3210313671,3203337956),new hb(3336571891,1034457026),new hb(3584528711,2466948901),new hb(113926993,3758326383),new hb(338241895,168717936),new hb(666307205,1188179964),new hb(773529912,1546045734),new hb(1294757372,1522805485),new hb(1396182291,2643833823),new hb(1695183700,2343527390),new hb(1986661051,1014477480),new hb(2177026350,1206759142),new hb(2456956037,344077627),new hb(2730485921,1290863460),new hb(2820302411,3158454273),new hb(3259730800,3505952657),new hb(3345764771,106217008),new hb(3516065817,3606008344),new hb(3600352804,1432725776),new hb(4094571909,1467031594),new hb(275423344,851169720),new hb(430227734,3100823752),new hb(506948616,1363258195),new hb(659060556,3750685593),new hb(883997877,3785050280),new hb(958139571,3318307427),new hb(1322822218,3812723403),new hb(1537002063,2003034995),new hb(1747873779,3602036899),new hb(1955562222,1575990012),new hb(2024104815,1125592928),new hb(2227730452,2716904306),new hb(2361852424,442776044),new hb(2428436474,593698344),new hb(2756734187,3733110249),new hb(3204031479,2999351573),new hb(3329325298,3815920427),new hb(3391569614,3928383900),new hb(3515267271,566280711),new hb(3940187606,3454069534),new hb(4118630271,4000239992),new hb(116418474,1914138554),new hb(174292421,2731055270),new hb(289380356,3203993006),new hb(460393269,320620315),new hb(685471733,587496836),new hb(852142971,1086792851),new hb(1017036298,365543100),new hb(1126000580,2618297676),new hb(1288033470,3409855158),new hb(1501505948,4234509866),new hb(1607167915,987167468),new hb(1816402316,1246189591)];return g}(),kb=function(){function a(a,b,c){return jb(a,b,c,!0)}return a}(),lb=function(){function a(){}return a.prototype={decryptBlock:function(a){return a}},a}(),mb=function(){function a(a){var b=176,c=new Uint8Array(b);c.set(a);for(var d=16,e=1;b>d;++e){var h=c[d-3],i=c[d-2],j=c[d-1],k=c[d-4];h=g[h],i=g[i],j=g[j],k=g[k],h^=f[e];for(var l=0;4>l;++l)c[d]=h^=c[d-16],d++,c[d]=i^=c[d-16],d++,c[d]=j^=c[d-16],d++,c[d]=k^=c[d-16],d++}return c}function b(a,b){var c=new Uint8Array(16);c.set(a);var d,e,f,g,i,j;for(e=0,f=160;16>e;++e,++f)c[e]^=b[f];for(d=9;d>=1;--d){for(g=c[13],c[13]=c[9],c[9]=c[5],c[5]=c[1],c[1]=g,g=c[14],i=c[10],c[14]=c[6],c[10]=c[2],c[6]=g,c[2]=i,g=c[15],i=c[11],j=c[7],c[15]=c[3],c[11]=g,c[7]=i,c[3]=j,e=0;16>e;++e)c[e]=h[c[e]];for(e=0,f=16*d;16>e;++e,++f)c[e]^=b[f];for(e=0;16>e;e+=4){var l=k[c[e]],m=k[c[e+1]],n=k[c[e+2]],o=k[c[e+3]];g=l^m>>>8^m<<24^n>>>16^n<<16^o>>>24^o<<8,c[e]=g>>>24&255,c[e+1]=g>>16&255,c[e+2]=g>>8&255,c[e+3]=255&g}}for(g=c[13],c[13]=c[9],c[9]=c[5],c[5]=c[1],c[1]=g,g=c[14],i=c[10],c[14]=c[6],c[10]=c[2],c[6]=g,c[2]=i,g=c[15],i=c[11],j=c[7],c[15]=c[3],c[11]=g,c[7]=i,c[3]=j,e=0;16>e;++e)c[e]=h[c[e]],c[e]^=b[e];return c}function c(a,b){var c,d,e,f,h=new Uint8Array(16);for(h.set(a),k=0;16>k;++k)h[k]^=b[k];for(j=1;10>j;j++){for(k=0;16>k;++k)h[k]=g[h[k]];e=h[1],h[1]=h[5],h[5]=h[9],h[9]=h[13],h[13]=e,e=h[2],d=h[6],h[2]=h[10],h[6]=h[14],h[10]=e,h[14]=d,e=h[3],d=h[7],c=h[11],h[3]=h[15],h[7]=e,h[11]=d,h[15]=c;for(var k=0;16>k;k+=4){var l=h[k+0],m=h[k+1],n=h[k+2],o=h[k+3];c=l^m^n^o,h[k+0]^=c^i[l^m],h[k+1]^=c^i[m^n],h[k+2]^=c^i[n^o],h[k+3]^=c^i[o^l]}for(k=0,f=16*j;16>k;++k,++f)h[k]^=b[f]}for(k=0;16>k;++k)h[k]=g[h[k]];for(e=h[1],h[1]=h[5],h[5]=h[9],h[9]=h[13],h[13]=e,e=h[2],d=h[6],h[2]=h[10],h[6]=h[14],h[10]=e,h[14]=d,e=h[3],d=h[7],c=h[11],h[3]=h[15],h[7]=e,h[11]=d,h[15]=c,k=0,f=160;16>k;++k,++f)h[k]^=b[f];return h}function d(b){this.key=a(b),this.buffer=new Uint8Array(16),this.bufferPosition=0}function e(a,c){var d,e,f,g=a.length,h=this.buffer,i=this.bufferPosition,j=[],k=this.iv;for(d=0;g>d;++d)if(h[i]=a[d],++i,!(16>i)){var l=b(h,this.key);for(e=0;16>e;++e)l[e]^=k[e];k=h,j.push(l),h=new Uint8Array(16),i=0}if(this.buffer=h,this.bufferLength=i,this.iv=k,0===j.length)return new Uint8Array([]);var m=16*j.length;if(c){var n=j[j.length-1],o=n[15];if(16>=o){for(d=15,f=16-o;d>=f;--d)if(n[d]!==o){o=0;break}m-=o,j[j.length-1]=n.subarray(0,16-o)}}var p=new Uint8Array(m);for(d=0,e=0,f=j.length;f>d;++d,e+=16)p.set(j[d],e);return p}for(var f=new Uint8Array([141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141]),g=new Uint8Array([99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22]),h=new Uint8Array([82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125]),i=new Uint8Array(256),j=0;256>j;j++)128>j?i[j]=j<<1:i[j]=j<<1^27;var k=new Uint32Array([0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795]);return d.prototype={decryptBlock:function(a,b){var c,d=a.length,f=this.buffer,g=this.bufferPosition;for(c=0;16>g&&d>c;++c,++g)f[g]=a[c];return 16>g?(this.bufferLength=g,new Uint8Array([])):(this.iv=f,this.buffer=new Uint8Array(16),this.bufferLength=0,this.decryptBlock=e,this.decryptBlock(a.subarray(16),b))},encrypt:function(a,b){var d,e,f,g=a.length,h=this.buffer,i=this.bufferPosition,j=[];for(b||(b=new Uint8Array(16)),d=0;g>d;++d)if(h[i]=a[d],++i,!(16>i)){for(e=0;16>e;++e)h[e]^=b[e];var k=c(h,this.key);b=k,j.push(k),h=new Uint8Array(16),i=0}if(this.buffer=h,this.bufferLength=i,this.iv=b,0===j.length)return new Uint8Array([]);var l=16*j.length,m=new Uint8Array(l);for(d=0,e=0,f=j.length;f>d;++d,e+=16)m.set(j[d],e);return m}},d}(),nb=function(){function a(a){var b=240,c=new Uint8Array(b),d=1;c.set(a);for(var e=32,g=1;b>e;++g){if(e%32===16)h=f[h],i=f[i],j=f[j],k=f[k];else if(e%32===0){var h=c[e-3],i=c[e-2],j=c[e-1],k=c[e-4];h=f[h],i=f[i],j=f[j],k=f[k],h^=d,(d<<=1)>=256&&(d=255&(27^d))}for(var l=0;4>l;++l)c[e]=h^=c[e-32],e++,c[e]=i^=c[e-32],e++,c[e]=j^=c[e-32],e++,c[e]=k^=c[e-32],e++}return c}function b(a,b){var c=new Uint8Array(16);c.set(a);var d,e,f,h,i,k;for(e=0,f=224;16>e;++e,++f)c[e]^=b[f];for(d=13;d>=1;--d){for(h=c[13],c[13]=c[9],c[9]=c[5],c[5]=c[1],c[1]=h,h=c[14],i=c[10],c[14]=c[6],c[10]=c[2],c[6]=h,c[2]=i,h=c[15],i=c[11],k=c[7],c[15]=c[3],c[11]=h,c[7]=i,c[3]=k,e=0;16>e;++e)c[e]=g[c[e]];for(e=0,f=16*d;16>e;++e,++f)c[e]^=b[f];for(e=0;16>e;e+=4){var l=j[c[e]],m=j[c[e+1]],n=j[c[e+2]],o=j[c[e+3]];h=l^m>>>8^m<<24^n>>>16^n<<16^o>>>24^o<<8,c[e]=h>>>24&255,c[e+1]=h>>16&255,c[e+2]=h>>8&255,c[e+3]=255&h}}for(h=c[13],c[13]=c[9],c[9]=c[5],c[5]=c[1],c[1]=h,h=c[14],i=c[10],c[14]=c[6],c[10]=c[2],c[6]=h,c[2]=i,h=c[15],i=c[11],k=c[7],c[15]=c[3],c[11]=h,c[7]=i,c[3]=k,e=0;16>e;++e)c[e]=g[c[e]],c[e]^=b[e];return c}function c(a,b){var c,d,e,g,j=new Uint8Array(16);for(j.set(a),k=0;16>k;++k)j[k]^=b[k];for(i=1;14>i;i++){for(k=0;16>k;++k)j[k]=f[j[k]];e=j[1],j[1]=j[5],j[5]=j[9],j[9]=j[13],j[13]=e,e=j[2],d=j[6],j[2]=j[10],j[6]=j[14],j[10]=e,j[14]=d,e=j[3],d=j[7],c=j[11],j[3]=j[15],j[7]=e,j[11]=d,j[15]=c;for(var k=0;16>k;k+=4){var l=j[k+0],m=j[k+1],n=j[k+2],o=j[k+3];c=l^m^n^o,j[k+0]^=c^h[l^m],j[k+1]^=c^h[m^n],j[k+2]^=c^h[n^o],j[k+3]^=c^h[o^l]}for(k=0,g=16*i;16>k;++k,++g)j[k]^=b[g]}for(k=0;16>k;++k)j[k]=f[j[k]];for(e=j[1],j[1]=j[5],j[5]=j[9],j[9]=j[13],j[13]=e,e=j[2],d=j[6],j[2]=j[10],j[6]=j[14],j[10]=e,j[14]=d,e=j[3],d=j[7],c=j[11],j[3]=j[15],j[7]=e,j[11]=d,j[15]=c,k=0,g=224;16>k;++k,++g)j[k]^=b[g];return j}function d(b){this.key=a(b),this.buffer=new Uint8Array(16),this.bufferPosition=0}function e(a,c){var d,e,f,g=a.length,h=this.buffer,i=this.bufferPosition,j=[],k=this.iv;for(d=0;g>d;++d)if(h[i]=a[d],++i,!(16>i)){var l=b(h,this.key);for(e=0;16>e;++e)l[e]^=k[e];k=h,j.push(l),h=new Uint8Array(16),i=0}if(this.buffer=h,this.bufferLength=i,this.iv=k,0===j.length)return new Uint8Array([]);var m=16*j.length;if(c){var n=j[j.length-1],o=n[15];if(16>=o){for(d=15,f=16-o;d>=f;--d)if(n[d]!==o){o=0;break}m-=o,j[j.length-1]=n.subarray(0,16-o)}}var p=new Uint8Array(m);for(d=0,e=0,f=j.length;f>d;++d,e+=16)p.set(j[d],e);return p}for(var f=(new Uint8Array([141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141]),new Uint8Array([99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22])),g=new Uint8Array([82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125]),h=new Uint8Array(256),i=0;256>i;i++)128>i?h[i]=i<<1:h[i]=i<<1^27;var j=new Uint32Array([0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795]);return d.prototype={decryptBlock:function(a,b,c){var d,f=a.length,g=this.buffer,h=this.bufferPosition;if(c)this.iv=c;else{for(d=0;16>h&&f>d;++d,++h)g[h]=a[d];if(16>h)return this.bufferLength=h,new Uint8Array([]);this.iv=g,a=a.subarray(16)}return this.buffer=new Uint8Array(16),this.bufferLength=0,this.decryptBlock=e,this.decryptBlock(a,b)},encrypt:function(a,b){var d,e,f,g=a.length,h=this.buffer,i=this.bufferPosition,j=[];for(b||(b=new Uint8Array(16)),d=0;g>d;++d)if(h[i]=a[d],++i,!(16>i)){for(e=0;16>e;++e)h[e]^=b[e];var k=c(h,this.key);this.iv=k,j.push(k),h=new Uint8Array(16),i=0}if(this.buffer=h,this.bufferLength=i,this.iv=b,0===j.length)return new Uint8Array([]);var l=16*j.length,m=new Uint8Array(l);for(d=0,e=0,f=j.length;f>d;++d,e+=16)m.set(j[d],e);return m}},d}(),ob=function(){function a(a,b){if(a.length!==b.length)return!1;for(var c=0;cg||f[f.length-1]>g-32;){var h=b.length+e.length+d.length,i=new Uint8Array(64*h),j=a(b,e);j=a(j,d);for(var k=0,l=0;64>k;k++,l+=h)i.set(j,l);var m=new mb(e.subarray(0,16));f=m.encrypt(i,e.subarray(16,32));for(var n=0,o=0;16>o;o++)n*=1,n%=3,n+=(f[o]>>>0)%3,n%=3;0===n?e=ib(f,0,f.length):1===n?e=kb(f,0,f.length):2===n&&(e=jb(f,0,f.length)),g++}return e.subarray(0,32)}function c(){}function d(a,b){if(a.length!==b.length)return!1;for(var c=0;cn;++n)m[n]=b[n];for(j=0;32>n;)m[n++]=i[j++];for(j=0,k=c.length;k>j;++j)m[n++]=c[j];for(m[n++]=255&e,m[n++]=e>>8&255,m[n++]=e>>16&255,m[n++]=e>>>24&255,j=0,k=a.length;k>j;++j)m[n++]=a[j];f>=4&&!h&&(m[n++]=255,m[n++]=255,m[n++]=255,m[n++]=255);var o=gb(m,0,n),p=g>>3;if(f>=3)for(j=0;50>j;++j)o=gb(o,0,p);var q,r,s=o.subarray(0,p);if(f>=3){for(n=0;32>n;++n)m[n]=i[n];for(j=0,k=a.length;k>j;++j)m[n++]=a[j];q=new fb(s),r=q.encryptBlock(gb(m,0,n)),k=s.length;var t,u=new Uint8Array(k);for(j=1;19>=j;++j){for(t=0;k>t;++t)u[t]=s[t]^j;q=new fb(u),r=q.encryptBlock(r)}for(j=0,k=r.length;k>j;++j)if(d[j]!==r[j])return null}else for(q=new fb(s),r=q.encryptBlock(i),j=0,k=r.length;k>j;++j)if(d[j]!==r[j])return null;return s}function e(a,b,c,d){var e,f,g=new Uint8Array(32),h=0;for(f=Math.min(32,a.length);f>h;++h)g[h]=a[h];for(e=0;32>h;)g[h++]=i[e++];var j=gb(g,0,h),k=d>>3;if(c>=3)for(e=0;50>e;++e)j=gb(j,0,j.length);var l,m;if(c>=3){m=b;var n,o=new Uint8Array(k);for(e=19;e>=0;e--){for(n=0;k>n;++n)o[n]=j[n]^e;l=new fb(o),m=l.encryptBlock(m)}}else l=new fb(j.subarray(0,k)),m=l.encryptBlock(b);return m}function f(f,g,h){var i=f.get("Filter");z(i)&&"Standard"===i.name||c("unknown encryption method"),this.dict=f;var l=f.get("V");(!w(l)||1!==l&&2!==l&&4!==l&&5!==l)&&c("unsupported encryption algorithm"),this.algorithm=l;var m=f.get("Length")||40;(!w(m)||40>m||m%8!==0)&&c("invalid key length");var n=j(f.get("O")).subarray(0,32),o=j(f.get("U")).subarray(0,32),p=f.get("P"),q=f.get("R"),r=(4===l||5===l)&&f.get("EncryptMetadata")!==!1;this.encryptMetadata=r;var s,u=j(g);if(h){if(6===q)try{h=t(h)}catch(v){b("CipherTransformFactory: Unable to convert UTF8 encoded password.")}s=j(h)}var x;if(5!==l)x=d(u,s,n,o,p,q,m,r);else{var y=j(f.get("O")).subarray(32,40),A=j(f.get("O")).subarray(40,48),B=j(f.get("U")).subarray(0,48),C=j(f.get("U")).subarray(32,40),D=j(f.get("U")).subarray(40,48),E=j(f.get("OE")),F=j(f.get("UE")),G=j(f.get("Perms"));x=a(q,s,n,y,A,B,o,C,D,E,F,G)}if(!x&&!h)throw new da("No password given",ca.NEED_PASSWORD);if(!x&&h){var H=e(s,n,q,m);x=d(u,H,n,o,p,q,m,r)}if(!x)throw new da("Incorrect Password",ca.INCORRECT_PASSWORD);this.encryptionKey=x,l>=4&&(this.cf=f.get("CF"),this.stmf=f.get("StmF")||k,this.strf=f.get("StrF")||k,this.eff=f.get("EFF")||this.stmf)}function g(a,b,c,d){var e,f,g=new Uint8Array(c.length+9);for(e=0,f=c.length;f>e;++e)g[e]=c[e];g[e++]=255&a,g[e++]=a>>8&255,g[e++]=a>>16&255,g[e++]=255&b,g[e++]=b>>8&255,d&&(g[e++]=115,g[e++]=65,g[e++]=108,g[e++]=84);var h=gb(g,0,e);return h.subarray(0,Math.min(c.length+5,16))}function h(a,b,d,e,f){var h,i=a.get(b.name);return null!==i&&void 0!==i&&(h=i.get("CFM")),h&&"None"!==h.name?"V2"===h.name?function(){return new fb(g(d,e,f,!1))}:"AESV2"===h.name?function(){return new mb(g(d,e,f,!0))}:"AESV3"===h.name?function(){return new nb(f)}:void c("Unknown crypto method"):function(){return new lb}}var i=new Uint8Array([40,191,78,94,78,117,138,65,100,0,78,86,255,250,1,8,46,46,0,182,208,104,62,128,47,12,169,254,100,83,105,122]),k=ya.get("Identity");return f.prototype={createCipherTransform:function(a,b){if(4===this.algorithm||5===this.algorithm)return new qb(h(this.cf,this.stmf,a,b,this.encryptionKey),h(this.cf,this.strf,a,b,this.encryptionKey));var c=g(a,b,this.encryptionKey,!1),d=function(){return new fb(c)};return new qb(d,d)}},f}(),sb={FUNCTION_BASED:1,AXIAL:2,RADIAL:3,FREE_FORM_MESH:4,LATTICE_FORM_MESH:5,COONS_PATCH_MESH:6,TENSOR_PATCH_MESH:7},tb=function(){function a(){c("should not call Pattern constructor")}return a.prototype={getPattern:function(a){c("Should not call Pattern.getStyle: "+a)}},a.parseShading=function(a,c,d,e){var f=D(a)?a.dict:a,g=f.get("ShadingType");try{switch(g){case sb.AXIAL:case sb.RADIAL:return new ub.RadialAxial(f,c,d,e);case sb.FREE_FORM_MESH:case sb.LATTICE_FORM_MESH:case sb.COONS_PATCH_MESH:case sb.TENSOR_PATCH_MESH:return new ub.Mesh(a,c,d,e);default:throw new Error("Unsupported ShadingType: "+g)}}catch(h){if(h instanceof ja)throw h;return aa.notify(_.shadingPattern),b(h),new ub.Dummy}},a}(),ub={};ub.SMALL_NUMBER=.01,ub.RadialAxial=function(){function d(c,d,e,f){this.matrix=d,this.coordsArr=c.get("Coords"),this.shadingType=c.get("ShadingType"),this.type="Pattern";var g=c.get("ColorSpace","CS");g=Xa.parse(g,e,f),this.cs=g;var h=0,i=1;if(c.has("Domain")){var j=c.get("Domain");h=j[0],i=j[1]}var k=!1,l=!1;if(c.has("Extend")){var m=c.get("Extend");k=m[0],l=m[1]}if(!(this.shadingType!==sb.RADIAL||k&&l)){var n=this.coordsArr[0],o=this.coordsArr[1],p=this.coordsArr[2],q=this.coordsArr[3],r=this.coordsArr[4],s=this.coordsArr[5],t=Math.sqrt((n-q)*(n-q)+(o-r)*(o-r));s+t>=p&&p+t>=s&&b("Unsupported radial gradient.")}this.extendStart=k,this.extendEnd=l;var u=c.get("Function"),v=Ta.parseArray(e,u),w=i-h,x=w/10,y=this.colorStops=[];if(h>=i||0>=x)return void a("Bad shading domain.");for(var z,A=new Float32Array(g.numComps),B=new Float32Array(1),C=h;i>=C;C+=x){B[0]=C,v(B,0,A,0),z=g.getRgb(A,0);var D=na.makeCssRgb(z[0],z[1],z[2]);y.push([(C-h)/w,D])}var E="transparent";c.has("Background")&&(z=g.getRgb(c.get("Background"),0),E=na.makeCssRgb(z[0],z[1],z[2])),k||(y.unshift([0,E]),y[1][0]+=ub.SMALL_NUMBER),l||(y[y.length-1][0]-=ub.SMALL_NUMBER,y.push([1,E])),this.colorStops=y}return d.prototype={getIR:function(){var a,b,d,e,f,g=this.coordsArr,h=this.shadingType;h===sb.AXIAL?(b=[g[0],g[1]],d=[g[2],g[3]],e=null,f=null,a="axial"):h===sb.RADIAL?(b=[g[0],g[1]],d=[g[3],g[4]],e=g[2],f=g[5],a="radial"):c("getPattern type unknown: "+h);var i=this.matrix;return i&&(b=na.applyTransform(b,i),d=na.applyTransform(d,i)),["RadialAxial",a,this.colorStops,b,d,e,f]}},d}(),ub.Mesh=function(){function a(a,b){this.stream=a,this.context=b,this.buffer=0,this.bufferLength=0;var c=b.numComps;this.tmpCompsBuf=new Float32Array(c);var d=b.colorSpace.numComps;this.tmpCsCompsBuf=b.colorFn?new Float32Array(d):this.tmpCompsBuf}function b(a,b){for(var c=a.coords,d=a.colors,f=[],g=[],h=0;b.hasData;){var i=b.readFlag(),j=b.readCoordinate(),k=b.readComponents();if(0===h){switch(e(i>=0&&2>=i,"Unknown type4 flag"),i){case 0:h=3;break;case 1:g.push(g[g.length-2],g[g.length-1]),h=1;break;case 2:g.push(g[g.length-3],g[g.length-1]),h=1}f.push(i)}g.push(c.length),c.push(j),d.push(k),h--,b.align()}a.figures.push({type:"triangles",coords:new Int32Array(g),colors:new Int32Array(g)})}function d(a,b,c){for(var d=a.coords,e=a.colors,f=[];b.hasData;){var g=b.readCoordinate(),h=b.readComponents();f.push(d.length),d.push(g),e.push(h)}a.figures.push({type:"lattice",coords:new Int32Array(f),colors:new Int32Array(f),verticesPerRow:c})}function f(a,b){var c=a.figures[b];e("patch"===c.type,"Unexpected patch mesh figure");var d=a.coords,f=a.colors,g=c.coords,h=c.colors,i=Math.min(d[g[0]][0],d[g[3]][0],d[g[12]][0],d[g[15]][0]),j=Math.min(d[g[0]][1],d[g[3]][1],d[g[12]][1],d[g[15]][1]),k=Math.max(d[g[0]][0],d[g[3]][0],d[g[12]][0],d[g[15]][0]),p=Math.max(d[g[0]][1],d[g[3]][1],d[g[12]][1],d[g[15]][1]),q=Math.ceil((k-i)*n/(a.bounds[2]-a.bounds[0])); -q=Math.max(l,Math.min(m,q));var r=Math.ceil((p-j)*n/(a.bounds[3]-a.bounds[1]));r=Math.max(l,Math.min(m,r));for(var s=q+1,t=new Int32Array((r+1)*s),u=new Int32Array((r+1)*s),v=0,w=new Uint8Array(3),x=new Uint8Array(3),y=f[h[0]],z=f[h[1]],A=f[h[2]],B=f[h[3]],C=o(r),D=o(q),E=0;r>=E;E++){w[0]=(y[0]*(r-E)+A[0]*E)/r|0,w[1]=(y[1]*(r-E)+A[1]*E)/r|0,w[2]=(y[2]*(r-E)+A[2]*E)/r|0,x[0]=(z[0]*(r-E)+B[0]*E)/r|0,x[1]=(z[1]*(r-E)+B[1]*E)/r|0,x[2]=(z[2]*(r-E)+B[2]*E)/r|0;for(var F=0;q>=F;F++,v++)if(0!==E&&E!==r||0!==F&&F!==q){for(var G=0,H=0,I=0,J=0;3>=J;J++)for(var K=0;3>=K;K++,I++){var L=C[E][J]*D[F][K];G+=d[g[I]][0]*L,H+=d[g[I]][1]*L}t[v]=d.length,d.push([G,H]),u[v]=f.length;var M=new Uint8Array(3);M[0]=(w[0]*(q-F)+x[0]*F)/q|0,M[1]=(w[1]*(q-F)+x[1]*F)/q|0,M[2]=(w[2]*(q-F)+x[2]*F)/q|0,f.push(M)}}t[0]=g[0],u[0]=h[0],t[q]=g[3],u[q]=h[1],t[s*r]=g[12],u[s*r]=h[2],t[s*r+q]=g[15],u[s*r+q]=h[3],a.figures[b]={type:"lattice",coords:t,colors:u,verticesPerRow:s}}function g(a,b){for(var c=a.coords,d=a.colors,f=new Int32Array(16),g=new Int32Array(4);b.hasData;){var h=b.readFlag();e(h>=0&&3>=h,"Unknown type6 flag");var i,j,k=c.length;for(i=0,j=0!==h?8:12;j>i;i++)c.push(b.readCoordinate());var l=d.length;for(i=0,j=0!==h?2:4;j>i;i++)d.push(b.readComponents());var m,n,o,p;switch(h){case 0:f[12]=k+3,f[13]=k+4,f[14]=k+5,f[15]=k+6,f[8]=k+2,f[11]=k+7,f[4]=k+1,f[7]=k+8,f[0]=k,f[1]=k+11,f[2]=k+10,f[3]=k+9,g[2]=l+1,g[3]=l+2,g[0]=l,g[1]=l+3;break;case 1:m=f[12],n=f[13],o=f[14],p=f[15],f[12]=p,f[13]=k+0,f[14]=k+1,f[15]=k+2,f[8]=o,f[11]=k+3,f[4]=n,f[7]=k+4,f[0]=m,f[1]=k+7,f[2]=k+6,f[3]=k+5,m=g[2],n=g[3],g[2]=n,g[3]=l,g[0]=m,g[1]=l+1;break;case 2:m=f[15],n=f[11],f[12]=f[3],f[13]=k+0,f[14]=k+1,f[15]=k+2,f[8]=f[7],f[11]=k+3,f[4]=n,f[7]=k+4,f[0]=m,f[1]=k+7,f[2]=k+6,f[3]=k+5,m=g[3],g[2]=g[1],g[3]=l,g[0]=m,g[1]=l+1;break;case 3:f[12]=f[0],f[13]=k+0,f[14]=k+1,f[15]=k+2,f[8]=f[1],f[11]=k+3,f[4]=f[2],f[7]=k+4,f[0]=f[3],f[1]=k+7,f[2]=k+6,f[3]=k+5,g[2]=g[0],g[3]=l,g[0]=g[1],g[1]=l+1}f[5]=c.length,c.push([(-4*c[f[0]][0]-c[f[15]][0]+6*(c[f[4]][0]+c[f[1]][0])-2*(c[f[12]][0]+c[f[3]][0])+3*(c[f[13]][0]+c[f[7]][0]))/9,(-4*c[f[0]][1]-c[f[15]][1]+6*(c[f[4]][1]+c[f[1]][1])-2*(c[f[12]][1]+c[f[3]][1])+3*(c[f[13]][1]+c[f[7]][1]))/9]),f[6]=c.length,c.push([(-4*c[f[3]][0]-c[f[12]][0]+6*(c[f[2]][0]+c[f[7]][0])-2*(c[f[0]][0]+c[f[15]][0])+3*(c[f[4]][0]+c[f[14]][0]))/9,(-4*c[f[3]][1]-c[f[12]][1]+6*(c[f[2]][1]+c[f[7]][1])-2*(c[f[0]][1]+c[f[15]][1])+3*(c[f[4]][1]+c[f[14]][1]))/9]),f[9]=c.length,c.push([(-4*c[f[12]][0]-c[f[3]][0]+6*(c[f[8]][0]+c[f[13]][0])-2*(c[f[0]][0]+c[f[15]][0])+3*(c[f[11]][0]+c[f[1]][0]))/9,(-4*c[f[12]][1]-c[f[3]][1]+6*(c[f[8]][1]+c[f[13]][1])-2*(c[f[0]][1]+c[f[15]][1])+3*(c[f[11]][1]+c[f[1]][1]))/9]),f[10]=c.length,c.push([(-4*c[f[15]][0]-c[f[0]][0]+6*(c[f[11]][0]+c[f[14]][0])-2*(c[f[12]][0]+c[f[3]][0])+3*(c[f[2]][0]+c[f[8]][0]))/9,(-4*c[f[15]][1]-c[f[0]][1]+6*(c[f[11]][1]+c[f[14]][1])-2*(c[f[12]][1]+c[f[3]][1])+3*(c[f[2]][1]+c[f[8]][1]))/9]),a.figures.push({type:"patch",coords:new Int32Array(f),colors:new Int32Array(g)})}}function h(a,b){for(var c=a.coords,d=a.colors,f=new Int32Array(16),g=new Int32Array(4);b.hasData;){var h=b.readFlag();e(h>=0&&3>=h,"Unknown type7 flag");var i,j,k=c.length;for(i=0,j=0!==h?12:16;j>i;i++)c.push(b.readCoordinate());var l=d.length;for(i=0,j=0!==h?2:4;j>i;i++)d.push(b.readComponents());var m,n,o,p;switch(h){case 0:f[12]=k+3,f[13]=k+4,f[14]=k+5,f[15]=k+6,f[8]=k+2,f[9]=k+13,f[10]=k+14,f[11]=k+7,f[4]=k+1,f[5]=k+12,f[6]=k+15,f[7]=k+8,f[0]=k,f[1]=k+11,f[2]=k+10,f[3]=k+9,g[2]=l+1,g[3]=l+2,g[0]=l,g[1]=l+3;break;case 1:m=f[12],n=f[13],o=f[14],p=f[15],f[12]=p,f[13]=k+0,f[14]=k+1,f[15]=k+2,f[8]=o,f[9]=k+9,f[10]=k+10,f[11]=k+3,f[4]=n,f[5]=k+8,f[6]=k+11,f[7]=k+4,f[0]=m,f[1]=k+7,f[2]=k+6,f[3]=k+5,m=g[2],n=g[3],g[2]=n,g[3]=l,g[0]=m,g[1]=l+1;break;case 2:m=f[15],n=f[11],f[12]=f[3],f[13]=k+0,f[14]=k+1,f[15]=k+2,f[8]=f[7],f[9]=k+9,f[10]=k+10,f[11]=k+3,f[4]=n,f[5]=k+8,f[6]=k+11,f[7]=k+4,f[0]=m,f[1]=k+7,f[2]=k+6,f[3]=k+5,m=g[3],g[2]=g[1],g[3]=l,g[0]=m,g[1]=l+1;break;case 3:f[12]=f[0],f[13]=k+0,f[14]=k+1,f[15]=k+2,f[8]=f[1],f[9]=k+9,f[10]=k+10,f[11]=k+3,f[4]=f[2],f[5]=k+8,f[6]=k+11,f[7]=k+4,f[0]=f[3],f[1]=k+7,f[2]=k+6,f[3]=k+5,g[2]=g[0],g[3]=l,g[0]=g[1],g[1]=l+1}a.figures.push({type:"patch",coords:new Int32Array(f),colors:new Int32Array(g)})}}function i(a){for(var b=a.coords[0][0],c=a.coords[0][1],d=b,e=c,f=1,g=a.coords.length;g>f;f++){var h=a.coords[f][0],i=a.coords[f][1];b=b>h?h:b,c=c>i?i:c,d=h>d?h:d,e=i>e?i:e}a.bounds=[b,c,d,e]}function j(a){var b,c,d,e,f=a.coords,g=new Float32Array(2*f.length);for(b=0,d=0,c=f.length;c>b;b++){var h=f[b];g[d++]=h[0],g[d++]=h[1]}a.coords=g;var i=a.colors,j=new Uint8Array(3*i.length);for(b=0,d=0,c=i.length;c>b;b++){var k=i[b];j[d++]=k[0],j[d++]=k[1],j[d++]=k[2]}a.colors=j;var l=a.figures;for(b=0,c=l.length;c>b;b++){var m=l[b],n=m.coords,o=m.colors;for(d=0,e=n.length;e>d;d++)n[d]*=2,o[d]*=3}}function k(k,l,m,n){e(D(k),"Mesh data is not a stream");var o=k.dict;this.matrix=l,this.shadingType=o.get("ShadingType"),this.type="Pattern",this.bbox=o.get("BBox");var p=o.get("ColorSpace","CS");p=Xa.parse(p,m,n),this.cs=p,this.background=o.has("Background")?p.getRgb(o.get("Background"),0):null;var q=o.get("Function"),r=q?Ta.parseArray(m,q):null;this.coords=[],this.colors=[],this.figures=[];var s={bitsPerCoordinate:o.get("BitsPerCoordinate"),bitsPerComponent:o.get("BitsPerComponent"),bitsPerFlag:o.get("BitsPerFlag"),decode:o.get("Decode"),colorFn:r,colorSpace:p,numComps:r?1:p.numComps},t=new a(k,s),u=!1;switch(this.shadingType){case sb.FREE_FORM_MESH:b(this,t);break;case sb.LATTICE_FORM_MESH:var v=0|o.get("VerticesPerRow");e(v>=2,"Invalid VerticesPerRow"),d(this,t,v);break;case sb.COONS_PATCH_MESH:g(this,t),u=!0;break;case sb.TENSOR_PATCH_MESH:h(this,t),u=!0;break;default:c("Unsupported mesh type.")}if(u){i(this);for(var w=0,x=this.figures.length;x>w;w++)f(this,w)}i(this),j(this)}a.prototype={get hasData(){if(this.stream.end)return this.stream.pos0)return!0;var a=this.stream.getByte();return 0>a?!1:(this.buffer=a,this.bufferLength=8,!0)},readBits:function(a){var b=this.buffer,c=this.bufferLength;if(32===a){if(0===c)return(this.stream.getByte()<<24|this.stream.getByte()<<16|this.stream.getByte()<<8|this.stream.getByte())>>>0;b=b<<24|this.stream.getByte()<<16|this.stream.getByte()<<8|this.stream.getByte();var d=this.stream.getByte();return this.buffer=d&(1<>c)>>>0}if(8===a&&0===c)return this.stream.getByte();for(;a>c;)b=b<<8|this.stream.getByte(),c+=8;return c-=a,this.bufferLength=c,this.buffer=b&(1<>c},align:function(){this.buffer=0,this.bufferLength=0},readFlag:function(){return this.readBits(this.context.bitsPerFlag)},readCoordinate:function(){var a=this.context.bitsPerCoordinate,b=this.readBits(a),c=this.readBits(a),d=this.context.decode,e=32>a?1/((1<b?1/((1<f;f++,g+=2){var h=this.readBits(b);e[f]=h*c*(d[g+1]-d[g])+d[g]}var i=this.tmpCsCompsBuf;return this.context.colorFn&&this.context.colorFn(e,0,i,0),this.context.colorSpace.getRgb(i,0)}};var l=3,m=20,n=20,o=function(){function a(a){for(var b=[],c=0;a>=c;c++){var d=c/a,e=1-d;b.push(new Float32Array([e*e*e,3*d*e*e,3*d*d*e,d*d*d]))}return b}var b=[];return function(c){return b[c]||(b[c]=a(c)),b[c]}}();return k.prototype={getIR:function(){return["Mesh",this.shadingType,this.coords,this.colors,this.figures,this.bounds,this.matrix,this.bbox,this.background]}},k}(),ub.Dummy=function(){function a(){this.type="Pattern"}return a.prototype={getIR:function(){return["Dummy"]}},a}();var vb=function(){function d(a,b,c,d,e,f,g){this.pdfManager=a,this.xref=b,this.handler=c,this.pageIndex=d,this.uniquePrefix=e,this.idCounters=f,this.fontCache=g}function f(){this.reset()}var g=20,h=100;f.prototype={check:function(){return++this.checkedPDFJS.maxImageSize)return void b("Image exceeded maximum allowed size and was removed.");var l,m,n=i.get("ImageMask","IM")||!1;if(n){var o=i.get("Width","W"),p=i.get("Height","H"),q=o+7>>3,r=c.getBytes(q*p),s=i.get("Decode","D"),t=!!s&&s[0]>0;return l=Bc.createMask(r,o,p,c instanceof Oc,t),l.cached=!0,m=[l],e.addOp($.paintImageMaskXObject,m),void(f&&(g[f]={fn:$.paintImageMaskXObject,args:m}))}var u=i.get("SMask","SM")||!1,v=i.get("Mask")||!1,w=200;if(d&&!u&&!v&&!(c instanceof Sc)&&w>j+k){var y=new Bc(this.xref,a,c,d,null,null);return l=y.createImageData(!0),void e.addOp($.paintInlineImageXObject,[l])}var z=this.uniquePrefix||"",A="img_"+z+ ++this.idCounters.obj;return e.addDependency(A),m=[A,j,k],!u&&!v&&c instanceof Sc&&c.isNativelySupported(this.xref,a)?(e.addOp($.paintJpegXObject,m),void this.handler.send("obj",[A,this.pageIndex,"JpegStream",c.getIR()])):(Bc.buildImage(h.handler,h.xref,a,c,d).then(function(a){var b=a.createImageData(!1);h.handler.send("obj",[A,h.pageIndex,"Image",b],[b.data.buffer])}).then(void 0,function(a){b("Unable to decode image: "+a),h.handler.send("obj",[A,h.pageIndex,"Image",null])}),e.addOp($.paintImageXObject,m),void(f&&(g[f]={fn:$.paintImageXObject,args:m})))},handleSMask:function(a,b,c,d,e){var f=a.get("G"),g={subtype:a.get("S").name,backdrop:a.get("BC")};return this.buildFormXObject(b,f,g,c,d,e.state.clone())},handleTilingType:function(a,b,c,d,e,f,g){var h=new xb,i=[e.get("Resources"),c],j=Aa.merge(this.xref,i);return this.getOperatorList(d,g,j,h).then(function(){f.addDependencies(h.dependencies),f.addOp(a,J({fnArray:h.fnArray,argsArray:h.argsArray},e,b))})},handleSetFont:function(a,b,c,d,e,f){var g;b&&(b=b.slice(),g=b[0].name);var h=this;return this.loadFont(g,c,this.xref,a).then(function(b){return b.font.isType3Font?b.loadType3Data(h,a,d,e).then(function(){return b}):b}).then(function(a){return f.font=a.font,a.send(h.handler),a.loadedName})},handleText:function(a,b){var c=b.font,d=c.charsToGlyphs(a),e=!!(b.textRenderingMode&U.ADD_TO_PATH_FLAG);if(c.data&&(e||PDFJS.disableFontFace))for(var f=function(a){if(!c.renderer.hasBuiltPath(a)){var b=c.renderer.getPathJs(a);this.handler.send("commonobj",[c.loadedName+"_path_"+a,"FontPath",b])}}.bind(this),g=0,h=d.length;h>g;g++){var i=d[g];if(null!==i){f(i.fontChar);var j=i.accent;j&&j.fontChar&&f(j.fontChar)}}return d},setGState:function(c,d,e,f,g,h){var i=[],j=d.map,k=this,l=Promise.resolve();for(var m in j){var n=j[m];switch(m){case"Type":break;case"LW":case"LC":case"LJ":case"ML":case"D":case"RI":case"FL":case"CA":case"ca":i.push([m,n]);break;case"Font":l=l.then(function(){return k.handleSetFont(c,null,n[0],e,f,h.state).then(function(a){e.addDependency(a),i.push([m,[a,n[1]]])})});break;case"BM":i.push([m,n]);break;case"SMask":if(z(n)&&"None"===n.name){i.push([m,!1]);break}var o=g.fetchIfRef(n);B(o)?(l=l.then(function(){return k.handleSMask(o,c,e,f,h)}),i.push([m,!0])):b("Unsupported SMask type");break;case"OP":case"op":case"OPM":case"BG":case"BG2":case"UCR":case"UCR2":case"TR":case"TR2":case"HT":case"SM":case"SA":case"AIS":case"TK":a("graphic state operator "+m);break;default:a("Unknown graphic state operator "+m)}}return l.then(function(){i.length>=0&&e.addOp($.setGState,[i])})},loadFont:function(a,c,d,f){function g(){return Promise.resolve(new wb("g_font_error",new ec("Font "+a+" is not available"),c))}var h;if(c)e(F(c)),h=c;else{var i=f.get("Font");if(!i)return b("fontRes not available"),g();h=i.getRaw(a)}if(!h)return b("fontRef not available"),g();if(this.fontCache.has(h))return this.fontCache.get(h);if(c=d.fetchIfRef(h),!B(c))return g();if(c.translated)return c.translated;var j=G(),k=this.preEvaluateFont(c,d),l=k.descriptor,m=h.num+"_"+h.gen;if(B(l)){l.fontAliases||(l.fontAliases=Object.create(null));var n=l.fontAliases,o=k.hash;if(n[o]){var p=n[o].aliasRef;if(p&&this.fontCache.has(p))return this.fontCache.putAlias(h,p),this.fontCache.get(h)}n[o]||(n[o]={fontID:dc.getFontID()}),n[o].aliasRef=h,m=n[o].fontID}var q=B(h);q||this.fontCache.put(h,j.promise),c.loadedName="g_font_"+(q?a.replace(/\W/g,""):m),c.translated=j.promise;var r;try{r=Promise.resolve(this.translateFont(k,d))}catch(s){r=Promise.reject(s)}return r.then(function(a){if(void 0!==a.fontType){var b=d.stats.fontTypes;b[a.fontType]=!0}j.resolve(new wb(c.loadedName,a,c))},function(a){aa.notify(_.font);try{var b=k.descriptor,e=b&&b.get("FontFile3"),f=e&&e.get("Subtype"),g=P(k.type,f&&f.name),h=d.stats.fontTypes;h[g]=!0}catch(i){}j.resolve(new wb(c.loadedName,new ec(a instanceof Error?a.message:a),c))}),j.promise},buildPath:function(a,b,c){var d=a.length-1;if(c||(c=[]),0>d||a.fnArray[d]!==$.constructPath)a.addOp($.constructPath,[[b],c]);else{var e=a.argsArray[d];e[0].push(b),Array.prototype.push.apply(e[1],c)}},handleColorN:function(a,b,c,d,e,f,g,h){var i,l=c[c.length-1];if(z(l)&&(i=e.get(l.name))){var m=D(i)?i.dict:i,n=m.get("PatternType");if(n===j){var o=d.base?d.base.getRgb(c,0):null;return this.handleTilingType(b,o,f,i,m,a,g)}if(n===k){var p=m.get("Shading"),q=m.get("Matrix");return i=tb.parseShading(p,q,h,f),a.addOp(b,i.getIR()),Promise.resolve()}return Promise.reject("Unknown PatternType: "+n)}return a.addOp(b,c),Promise.resolve()},getOperatorList:function(d,g,h,j,k){var l=this,m=this.xref,n={};e(j),h=h||Aa.empty;var o=h.get("XObject")||Aa.empty,p=h.get("Pattern")||Aa.empty,q=new yb(k||new Ab),r=new Bb(d,m,q),s=new f;return new Promise(function t(d,f){g.ensureNotTerminated(),s.reset();for(var k,u,v,w,A={};!(k=s.check())&&(A.args=null,r.read(A));){var C=A.args,E=A.fn;switch(0|E){case $.paintXObject:if(C[0].code)break;var F=C[0].name;if(!F){b("XObject must be referred to by name.");continue}if(void 0!==n[F]){j.addOp(n[F].fn,n[F].args),C=null;continue}var G=o.get(F);if(G){e(D(G),"XObject should be a stream");var H=G.dict.get("Subtype");if(e(z(H),"XObject should have a Name subtype"),"Form"===H.name)return q.save(),l.buildFormXObject(h,G,null,j,g,q.state.clone()).then(function(){q.restore(),t(d,f)},f);if("Image"===H.name){l.buildPaintImageXObject(h,G,!1,j,F,n),C=null;continue}if("PS"===H.name){a("Ignored XObject subtype PS");continue}c("Unhandled XObject subtype "+H.name)}break;case $.setFont:var I=C[1];return l.handleSetFont(h,C,null,j,g,q.state).then(function(a){j.addDependency(a),j.addOp($.setFont,[a,I]),t(d,f)},f);case $.endInlineImage:var J=C[0].cacheKey;if(J){var K=n[J];if(void 0!==K){j.addOp(K.fn,K.args),C=null;continue}}l.buildPaintImageXObject(h,C[0],!0,j,J,n),C=null;continue;case $.showText:C[0]=l.handleText(C[0],q.state);break;case $.showSpacedText:var L=C[0],M=[],N=L.length,O=q.state;for(u=0;N>u;++u){var P=L[u];y(P)?Array.prototype.push.apply(M,l.handleText(P,O)):x(P)&&M.push(P)}C[0]=M,E=$.showText;break;case $.nextLineShowText:j.addOp($.nextLine),C[0]=l.handleText(C[0],q.state),E=$.showText;break;case $.nextLineSetSpacingShowText:j.addOp($.nextLine),j.addOp($.setWordSpacing,[C.shift()]),j.addOp($.setCharSpacing,[C.shift()]),C[0]=l.handleText(C[0],q.state),E=$.showText;break;case $.setTextRenderingMode:q.state.textRenderingMode=C[0];break;case $.setFillColorSpace:q.state.fillColorSpace=Xa.parse(C[0],m,h);continue;case $.setStrokeColorSpace:q.state.strokeColorSpace=Xa.parse(C[0],m,h);continue;case $.setFillColor:w=q.state.fillColorSpace,C=w.getRgb(C,0),E=$.setFillRGBColor;break;case $.setStrokeColor:w=q.state.strokeColorSpace,C=w.getRgb(C,0),E=$.setStrokeRGBColor;break;case $.setFillGray:q.state.fillColorSpace=Xa.singletons.gray,C=Xa.singletons.gray.getRgb(C,0),E=$.setFillRGBColor;break;case $.setStrokeGray:q.state.strokeColorSpace=Xa.singletons.gray,C=Xa.singletons.gray.getRgb(C,0),E=$.setStrokeRGBColor;break;case $.setFillCMYKColor:q.state.fillColorSpace=Xa.singletons.cmyk,C=Xa.singletons.cmyk.getRgb(C,0),E=$.setFillRGBColor;break;case $.setStrokeCMYKColor:q.state.strokeColorSpace=Xa.singletons.cmyk,C=Xa.singletons.cmyk.getRgb(C,0),E=$.setStrokeRGBColor;break;case $.setFillRGBColor:q.state.fillColorSpace=Xa.singletons.rgb,C=Xa.singletons.rgb.getRgb(C,0);break;case $.setStrokeRGBColor:q.state.strokeColorSpace=Xa.singletons.rgb,C=Xa.singletons.rgb.getRgb(C,0);break;case $.setFillColorN:if(w=q.state.fillColorSpace,"Pattern"===w.name)return l.handleColorN(j,$.setFillColorN,C,w,p,h,g,m).then(function(){t(d,f)},f);C=w.getRgb(C,0),E=$.setFillRGBColor;break;case $.setStrokeColorN:if(w=q.state.strokeColorSpace,"Pattern"===w.name)return l.handleColorN(j,$.setStrokeColorN,C,w,p,h,g,m).then(function(){t(d,f)},f);C=w.getRgb(C,0),E=$.setStrokeRGBColor;break;case $.shadingFill:var Q=h.get("Shading");Q||c("No shading resource found");var R=Q.get(C[0].name);R||c("No shading object found");var S=tb.parseShading(R,null,m,h),T=S.getIR();C=[T],E=$.shadingFill;break;case $.setGState:var U=C[0],V=h.get("ExtGState");if(!B(V)||!V.has(U.name))break;var W=V.get(U.name);return l.setGState(h,W,j,g,m,q).then(function(){t(d,f)},f);case $.moveTo:case $.lineTo:case $.curveTo:case $.curveTo2:case $.curveTo3:case $.closePath:l.buildPath(j,E,C);continue;case $.rectangle:l.buildPath(j,E,C);continue;case $.markPoint:case $.markPointProps:case $.beginMarkedContent:case $.beginMarkedContentProps:case $.endMarkedContent:case $.beginCompat:case $.endCompat:continue}j.addOp(E,C)}if(k)return void i.then(function(){t(d,f)},f);for(u=0,v=r.savedStatesDepth;v>u;u++)j.addOp($.restore,[]);d()})},getTextContent:function(a,b,c,d){function g(){var a=r.font;return a.loadedName in l.styles||(l.styles[a.loadedName]={fontFamily:a.fallbackName,ascent:a.ascent,descent:a.descent,vertical:a.vertical}),{str:[],dir:null,width:0,height:0,transform:null,fontName:a.loadedName}}function h(a){var b=a.str.join(""),c=PDFJS.bidi(b,-1,r.font.vertical);return a.str=c.str,a.dir=c.dir,a}function j(a,b){return p.loadFont(a,b,q,c).then(function(a){r.font=a.font,r.fontMatrix=a.font.fontMatrix||T})}function k(a,b){var c=r.font;if(b=b||g(),!b.transform){var d=[r.fontSize*r.textHScale,0,0,r.fontSize,0,r.textRise];if(c.isType3Font&&r.fontMatrix!==T&&1===r.fontSize){var e=c.bbox[3]-c.bbox[1];e>0&&(e*=r.fontMatrix[3],d[3]*=e)}var f=b.transform=na.transform(r.ctm,na.transform(r.textMatrix,d));c.vertical?b.width=Math.sqrt(f[0]*f[0]+f[1]*f[1]):b.height=Math.sqrt(f[2]*f[2]+f[3]*f[3])}for(var h=0,i=0,j=c.charsToGlyphs(a),k=c.defaultVMetrics,l=0;l0&&(s=r.charSpacing);var t=0,u=0;if(c.vertical){var v=p*r.fontMatrix[0];u=v*r.fontSize+s,i+=u}else{var w=p*r.fontMatrix[0];t=(w*r.fontSize+s)*r.textHScale,h+=t}r.translateTextMatrix(t,u),b.str.push(q)}else h+=r.wordSpacing*r.textHScale}var x=r.textLineMatrix[0],y=r.textLineMatrix[1],z=Math.sqrt(x*x+y*y);x=r.ctm[0],y=r.ctm[1];var A=Math.sqrt(x*x+y*y);return c.vertical?b.height+=Math.abs(i*A*z):b.width+=h*A*z,b}d=d||new yb(new zb);var l={items:[],styles:Object.create(null)},m=l.items,n=.3,o=1.5,p=this,q=this.xref;c=q.fetchIfRef(c)||Aa.empty;var r,s=null,t={},u=new Bb(a,q,d),v=new f;return new Promise(function w(a,f){b.ensureNotTerminated(),v.reset();for(var q,x={},y=[];!(q=v.check())&&(y.length=0,x.args=y,u.read(x));){r=d.state;var A=x.fn;switch(y=x.args,0|A){case $.setFont:return r.fontSize=y[1],j(y[0].name).then(function(){w(a,f)},f);case $.setTextRise:r.textRise=y[0];break;case $.setHScale:r.textHScale=y[0]/100;break;case $.setLeading:r.leading=y[0];break;case $.moveText:r.translateTextLineMatrix(y[0],y[1]),r.textMatrix=r.textLineMatrix.slice();break;case $.setLeadingMoveText:r.leading=-y[1],r.translateTextLineMatrix(y[0],y[1]),r.textMatrix=r.textLineMatrix.slice();break;case $.nextLine:r.carriageReturn();break;case $.setTextMatrix:r.setTextMatrix(y[0],y[1],y[2],y[3],y[4],y[5]),r.setTextLineMatrix(y[0],y[1],y[2],y[3],y[4],y[5]);break;case $.setCharSpacing:r.charSpacing=y[0];break;case $.setWordSpacing:r.wordSpacing=y[0];break;case $.beginText:r.textMatrix=ma.slice(),r.textLineMatrix=ma.slice();break;case $.showSpacedText:for(var E,F=y[0],G=g(),H=0,I=F.length;I>H;H++)if("string"==typeof F[H])k(F[H],G);else{var J=F[H]*r.fontSize/1e3;if(r.font.vertical?(E=J*r.textMatrix[3],r.translateTextMatrix(0,E),G.height+=E):(E=J*r.textHScale*r.textMatrix[0],r.translateTextMatrix(E,0),G.width-=E),F[H]<0&&r.font.spaceWidth>0){var K=-F[H]/r.font.spaceWidth;if(K>o)for(K=Math.round(K);K--;)G.str.push(" ");else K>n&&G.str.push(" ")}}m.push(h(G));break;case $.showText:m.push(h(k(y[0])));break;case $.nextLineShowText:r.carriageReturn(),m.push(h(k(y[0])));break;case $.nextLineSetSpacingShowText:r.wordSpacing=y[0],r.charSpacing=y[1],r.carriageReturn(),m.push(h(k(y[2])));break;case $.paintXObject:if(y[0].code)break;s||(s=c.get("XObject")||Aa.empty);var L=y[0].name;if(t.key===L){t.texts&&(na.appendToArray(m,t.texts.items),na.extendObj(l.styles,t.texts.styles));break}var M=s.get(L);if(!M)break;e(D(M),"XObject should be a stream");var N=M.dict.get("Subtype");if(e(z(N),"XObject should have a Name subtype"),"Form"!==N.name){t.key=L,t.texts=null;break}d.save();var O=M.dict.get("Matrix");return C(O)&&6===O.length&&d.transform(O),p.getTextContent(M,b,M.dict.get("Resources")||c,d).then(function(b){na.appendToArray(m,b.items),na.extendObj(l.styles,b.styles),d.restore(),t.key=L,t.texts=b,w(a,f)},f);case $.setGState:var P=y[0],Q=c.get("ExtGState");if(!B(Q)||!Q.has(P.name))break;var R=Q.get(P.name),S=null;for(var T in R)"Font"===T&&(e(!S),S=R[T]);if(S)return r.fontSize=S[1],j(S[0]).then(function(){w(a,f)},f)}}return q?void i.then(function(){w(a,f)},f):void a(l)})},extractDataStructures:function(a,b,d,e){var f=a.get("ToUnicode")||b.get("ToUnicode");if(f&&(e.toUnicode=this.readToUnicode(f)),e.composite){var g=a.get("CIDSystemInfo");B(g)&&(e.cidSystemInfo={registry:g.get("Registry"),ordering:g.get("Ordering"),supplement:g.get("Supplement")});var h=a.get("CIDToGIDMap");D(h)&&(e.cidToGidMap=this.readCidToGidMap(h))}var i,j=[],k=null;if(a.has("Encoding")){if(i=a.get("Encoding"),B(i)){if(k=i.get("BaseEncoding"),k=z(k)?k.name:null,i.has("Differences"))for(var l=i.get("Differences"),m=0,n=0,o=l.length;o>n;n++){var p=l[n];if(x(p))m=p;else if(z(p))j[m++]=p.name;else{if(F(p)){l[n--]=d.fetch(p);continue}c("Invalid entry in 'Differences' array: "+p)}}}else z(i)?k=i.name:c("Encoding is not a Name nor a Dict");"MacRomanEncoding"!==k&&"MacExpertEncoding"!==k&&"WinAnsiEncoding"!==k&&(k=null)}k?e.defaultEncoding=Pb[k].slice():(i="TrueType"===e.type?Pb.WinAnsiEncoding:Pb.StandardEncoding,e.flags&Ob.Symbolic&&(i=Pb.MacRomanEncoding,e.file||(/Symbol/i.test(e.name)?i=Pb.SymbolSetEncoding:/Dingbats/i.test(e.name)&&(i=Pb.ZapfDingbatsEncoding))),e.defaultEncoding=i),e.differences=j,e.baseEncodingName=k,e.dict=a},readToUnicode:function(a){var b,c=a;if(z(c))return b=Hb.create(c,{url:PDFJS.cMapUrl,packed:PDFJS.cMapPacked},null),b instanceof Fb?new ac(0,65535):new _b(b.getMap());if(D(c)){if(b=Hb.create(c,{url:PDFJS.cMapUrl,packed:PDFJS.cMapPacked},null),b instanceof Fb)return new ac(0,65535);var d=new Array(b.length);return b.forEach(function(a,b){for(var c=[],e=0;ed;d++){var f=b[d++]<<8|b[d];if(0!==f){var g=d>>1;c[g]=f}}return c},extractWidths:function(a,b,c,d){var e,f,g,h,i,j,k,l,m=[],n=0,o=[];if(d.composite){if(n=a.get("DW")||1e3,l=a.get("W"))for(f=0,g=l.length;g>f;f++)if(j=l[f++],k=b.fetchIfRef(l[f]),C(k))for(h=0,i=k.length;i>h;h++)m[j++]=k[h];else{var p=l[++f];for(h=j;k>=h;h++)m[h]=p}if(d.vertical){var q=a.get("DW2")||[880,-1e3];if(e=[q[1],.5*n,q[0]],q=a.get("W2"))for(f=0,g=q.length;g>f;f++)if(j=q[f++],k=b.fetchIfRef(q[f]),C(k))for(h=0,i=k.length;i>h;h++)o[j++]=[k[h++],k[h++],k[h]];else{var r=[q[++f],q[++f],q[++f]];for(h=j;k>=h;h++)o[h]=r}}}else{var s=d.firstChar;if(l=a.get("Widths")){for(h=s,f=0,g=l.length;g>f;f++)m[h++]=l[f];n=parseFloat(c.get("MissingWidth"))||0}else{var t=a.get("BaseFont");if(z(t)){var u=this.getBaseFontMetrics(t.name);m=this.buildCharCodeToWidth(u.widths,d),n=u.defaultWidth}}}var v=!0,w=n;for(var x in m){var y=m[x];if(y)if(w){if(w!==y){v=!1;break}}else w=y}v&&(d.flags|=Ob.FixedPitch),d.defaultWidth=n,d.widths=m,d.defaultVMetrics=e,d.vmetrics=o},isSerifFont:function(a){var b=a.split("-")[0];return b in Sb||-1!==b.search(/serif/gi)},getBaseFontMetrics:function(a){var b=0,c=[],d=!1,e=Qb[a]||a;e in Cc||(e=this.isSerifFont(a)?"Times-Roman":"Helvetica");var f=Cc[e];return x(f)?(b=f,d=!0):c=f,{defaultWidth:b,monospace:d,widths:c}},buildCharCodeToWidth:function(a,b){for(var c=Object.create(null),d=b.differences,e=b.defaultEncoding,f=0;256>f;f++)f in d&&a[d[f]]?c[f]=a[d[f]]:f in e&&a[e[f]]&&(c[f]=a[e[f]]);return c},preEvaluateFont:function(a,b){var d=a,f=a.get("Subtype");e(z(f),"invalid font Subtype");var g,h=!1;if("Type0"===f.name){var i=a.get("DescendantFonts");i||c("Descendant fonts are not specified"),a=C(i)?b.fetchIfRef(i[0]):i,f=a.get("Subtype"),e(z(f),"invalid font Subtype"),h=!0}var j=a.get("FontDescriptor");if(j){var k=new jd,l=d.getRaw("Encoding");if(z(l))k.update(l.name);else if(F(l))k.update(l.num+"_"+l.gen);else if(B(l))for(var m=l.getKeys(),n=0,o=m.length;o>n;n++){var p=l.getRaw(m[n]);z(p)?k.update(p.name):F(p)?k.update(p.num+"_"+p.gen):C(p)&&k.update(p.length.toString())}var q=a.get("ToUnicode")||d.get("ToUnicode");if(D(q)){var r=q.str||q;g=r.buffer?new Uint8Array(r.buffer.buffer,0,r.bufferLength):new Uint8Array(r.bytes.buffer,r.start,r.end-r.start),k.update(g)}else z(q)&&k.update(q.name);var s=a.get("Widths")||d.get("Widths");s&&(g=new Uint8Array(new Uint32Array(s).buffer),k.update(g))}return{descriptor:j,dict:a,baseDict:d,composite:h,type:f.name,hash:k?k.hexdigest():""}},translateFont:function(b,d){var f,g=b.baseDict,h=b.dict,i=b.composite,j=b.descriptor,k=b.type,l=i?65535:255;if(!j){if("Type3"!==k){var m=h.get("BaseFont");z(m)||c("Base font is not specified"),m=m.name.replace(/[,_]/g,"-");var n=this.getBaseFontMetrics(m),o=m.split("-")[0],p=(this.isSerifFont(o)?Ob.Serif:0)|(n.monospace?Ob.FixedPitch:0)|(Tb[o]?Ob.Symbolic:Ob.Nonsymbolic);return f={type:k,name:m,widths:n.widths,defaultWidth:n.defaultWidth,flags:p,firstChar:0,lastChar:l},this.extractDataStructures(h,h,d,f),f.widths=this.buildCharCodeToWidth(n.widths,f),new dc(m,null,f)}j=new Aa(null),j.set("FontName",ya.get(k)),j.set("FontBBox",h.get("FontBBox"))}var q=h.get("FirstChar")||0,r=h.get("LastChar")||l,s=j.get("FontName"),t=h.get("BaseFont");if(y(s)&&(s=ya.get(s)),y(t)&&(t=ya.get(t)),"Type3"!==k){var u=s&&s.name,v=t&&t.name;u!==v&&(a("The FontDescriptor's FontName is \""+u+'" but should be the same as the Font\'s BaseFont "'+v+'"'),u&&v&&0===v.indexOf(u)&&(s=t))}s=s||t,e(z(s),"invalid font name");var w=j.get("FontFile","FontFile2","FontFile3");if(w&&w.dict){var x=w.dict.get("Subtype");x&&(x=x.name);var A=w.dict.get("Length1"),B=w.dict.get("Length2")}if(f={type:k,name:s.name,subtype:x,file:w,length1:A,length2:B,loadedName:g.loadedName,composite:i,wideChars:i,fixedPitch:!1,fontMatrix:h.get("FontMatrix")||T,firstChar:q||0,lastChar:r||l,bbox:j.get("FontBBox"),ascent:j.get("Ascent"),descent:j.get("Descent"),xHeight:j.get("XHeight"),capHeight:j.get("CapHeight"),flags:j.get("Flags"),italicAngle:j.get("ItalicAngle"),coded:!1},i){var C=g.get("Encoding");z(C)&&(f.cidEncoding=C.name),f.cMap=Hb.create(C,{url:PDFJS.cMapUrl,packed:PDFJS.cMapPacked},null),f.vertical=f.cMap.vertical}return this.extractDataStructures(h,g,d,f),this.extractWidths(h,d,j,f),"Type3"===k&&(f.isType3Font=!0),new dc(s.name,w,f)}},d}(),wb=function(){function a(a,b,c){this.loadedName=a,this.font=b,this.dict=c,this.type3Loaded=null,this.sent=!1}return a.prototype={send:function(a){if(!this.sent){var b=this.font.exportData();a.send("commonobj",[this.loadedName,"Font",b]),this.sent=!0}},loadType3Data:function(a,c,d,f){if(e(this.font.isType3Font),this.type3Loaded)return this.type3Loaded;for(var g=this.font,h=Promise.resolve(),i=this.dict.get("CharProcs").getAll(),j=this.dict.get("Resources")||c,k=Object.keys(i),l={},m=0,n=k.length;n>m;++m)h=h.then(function(c){var e=i[c],g=new xb;return a.getOperatorList(e,f,j,g).then(function(){l[c]=g.getIR(),d.addDependencies(g.dependencies)},function(a){b('Type3 font resource "'+c+'" is not available');var d=new xb;l[c]=d.getIR()})}.bind(this,k[m]));return this.type3Loaded=h.then(function(){g.charProcOperatorList=l}),this.type3Loaded}},a}(),xb=function(){function a(a){for(var b=[],c=a.fnArray,d=a.argsArray,e=0,f=a.length;f>e;e++)switch(c[e]){case $.paintInlineImageXObject:case $.paintInlineImageXObjectGroup:case $.paintImageMaskXObject:var g=d[e][0];g.cached||b.push(g.data.buffer)}return b}function b(a,b,c){this.messageHandler=b,this.fnArray=[],this.argsArray=[],this.dependencies={},this.pageIndex=c,this.intent=a}var c=1e3,d=c-5;return b.prototype={get length(){return this.argsArray.length},addOp:function(a,b){this.fnArray.push(a),this.argsArray.push(b),this.messageHandler&&(this.fnArray.length>=c?this.flush():this.fnArray.length>=d&&(a===$.restore||a===$.endText)&&this.flush())},addDependency:function(a){a in this.dependencies||(this.dependencies[a]=!0,this.addOp($.dependency,[a]))},addDependencies:function(a){for(var b in a)this.addDependency(b)},addOpList:function(a){na.extendObj(this.dependencies,a.dependencies);for(var b=0,c=a.length;c>b;b++)this.addOp(a.fnArray[b],a.argsArray[b])},getIR:function(){return{fnArray:this.fnArray,argsArray:this.argsArray,length:this.length}},flush:function(b){"oplist"!==this.intent&&(new Cb).optimize(this);var c=a(this);this.messageHandler.send("RenderPageChunk",{operatorList:{fnArray:this.fnArray,argsArray:this.argsArray,lastChunk:b,length:this.length},pageIndex:this.pageIndex,intent:this.intent},c),this.dependencies={},this.fnArray.length=0,this.argsArray.length=0}},b}(),yb=function(){function a(a){this.state=a,this.stateStack=[]}return a.prototype={save:function(){var a=this.state;this.stateStack.push(this.state),this.state=a.clone()},restore:function(){var a=this.stateStack.pop();a&&(this.state=a)},transform:function(a){this.state.ctm=na.transform(this.state.ctm,a)}},a}(),zb=function(){function a(){this.ctm=new Float32Array(ma),this.fontSize=0,this.font=null,this.fontMatrix=T,this.textMatrix=ma.slice(),this.textLineMatrix=ma.slice(),this.charSpacing=0,this.wordSpacing=0,this.leading=0,this.textHScale=1,this.textRise=0}return a.prototype={ -setTextMatrix:function(a,b,c,d,e,f){var g=this.textMatrix;g[0]=a,g[1]=b,g[2]=c,g[3]=d,g[4]=e,g[5]=f},setTextLineMatrix:function(a,b,c,d,e,f){var g=this.textLineMatrix;g[0]=a,g[1]=b,g[2]=c,g[3]=d,g[4]=e,g[5]=f},translateTextMatrix:function(a,b){var c=this.textMatrix;c[4]=c[0]*a+c[2]*b+c[4],c[5]=c[1]*a+c[3]*b+c[5]},translateTextLineMatrix:function(a,b){var c=this.textLineMatrix;c[4]=c[0]*a+c[2]*b+c[4],c[5]=c[1]*a+c[3]*b+c[5]},calcRenderMatrix:function(a){var b=[this.fontSize*this.textHScale,0,0,this.fontSize,0,this.textRise];return na.transform(a,na.transform(this.textMatrix,b))},carriageReturn:function(){this.translateTextLineMatrix(0,-this.leading),this.textMatrix=this.textLineMatrix.slice()},clone:function(){var a=Object.create(this);return a.textMatrix=this.textMatrix.slice(),a.textLineMatrix=this.textLineMatrix.slice(),a.fontMatrix=this.fontMatrix.slice(),a}},a}(),Ab=function(){function a(){this.ctm=new Float32Array(ma),this.font=null,this.textRenderingMode=U.FILL,this.fillColorSpace=Xa.singletons.gray,this.strokeColorSpace=Xa.singletons.gray}return a.prototype={clone:function(){return Object.create(this)}},a}(),Bb=function(){function c(a,b,c){this.parser=new Fc(new Gc(a,d),!1,b),this.stateManager=c,this.nonProcessedArgs=[]}var d={w:{id:$.setLineWidth,numArgs:1,variableArgs:!1},J:{id:$.setLineCap,numArgs:1,variableArgs:!1},j:{id:$.setLineJoin,numArgs:1,variableArgs:!1},M:{id:$.setMiterLimit,numArgs:1,variableArgs:!1},d:{id:$.setDash,numArgs:2,variableArgs:!1},ri:{id:$.setRenderingIntent,numArgs:1,variableArgs:!1},i:{id:$.setFlatness,numArgs:1,variableArgs:!1},gs:{id:$.setGState,numArgs:1,variableArgs:!1},q:{id:$.save,numArgs:0,variableArgs:!1},Q:{id:$.restore,numArgs:0,variableArgs:!1},cm:{id:$.transform,numArgs:6,variableArgs:!1},m:{id:$.moveTo,numArgs:2,variableArgs:!1},l:{id:$.lineTo,numArgs:2,variableArgs:!1},c:{id:$.curveTo,numArgs:6,variableArgs:!1},v:{id:$.curveTo2,numArgs:4,variableArgs:!1},y:{id:$.curveTo3,numArgs:4,variableArgs:!1},h:{id:$.closePath,numArgs:0,variableArgs:!1},re:{id:$.rectangle,numArgs:4,variableArgs:!1},S:{id:$.stroke,numArgs:0,variableArgs:!1},s:{id:$.closeStroke,numArgs:0,variableArgs:!1},f:{id:$.fill,numArgs:0,variableArgs:!1},F:{id:$.fill,numArgs:0,variableArgs:!1},"f*":{id:$.eoFill,numArgs:0,variableArgs:!1},B:{id:$.fillStroke,numArgs:0,variableArgs:!1},"B*":{id:$.eoFillStroke,numArgs:0,variableArgs:!1},b:{id:$.closeFillStroke,numArgs:0,variableArgs:!1},"b*":{id:$.closeEOFillStroke,numArgs:0,variableArgs:!1},n:{id:$.endPath,numArgs:0,variableArgs:!1},W:{id:$.clip,numArgs:0,variableArgs:!1},"W*":{id:$.eoClip,numArgs:0,variableArgs:!1},BT:{id:$.beginText,numArgs:0,variableArgs:!1},ET:{id:$.endText,numArgs:0,variableArgs:!1},Tc:{id:$.setCharSpacing,numArgs:1,variableArgs:!1},Tw:{id:$.setWordSpacing,numArgs:1,variableArgs:!1},Tz:{id:$.setHScale,numArgs:1,variableArgs:!1},TL:{id:$.setLeading,numArgs:1,variableArgs:!1},Tf:{id:$.setFont,numArgs:2,variableArgs:!1},Tr:{id:$.setTextRenderingMode,numArgs:1,variableArgs:!1},Ts:{id:$.setTextRise,numArgs:1,variableArgs:!1},Td:{id:$.moveText,numArgs:2,variableArgs:!1},TD:{id:$.setLeadingMoveText,numArgs:2,variableArgs:!1},Tm:{id:$.setTextMatrix,numArgs:6,variableArgs:!1},"T*":{id:$.nextLine,numArgs:0,variableArgs:!1},Tj:{id:$.showText,numArgs:1,variableArgs:!1},TJ:{id:$.showSpacedText,numArgs:1,variableArgs:!1},"'":{id:$.nextLineShowText,numArgs:1,variableArgs:!1},'"':{id:$.nextLineSetSpacingShowText,numArgs:3,variableArgs:!1},d0:{id:$.setCharWidth,numArgs:2,variableArgs:!1},d1:{id:$.setCharWidthAndBounds,numArgs:6,variableArgs:!1},CS:{id:$.setStrokeColorSpace,numArgs:1,variableArgs:!1},cs:{id:$.setFillColorSpace,numArgs:1,variableArgs:!1},SC:{id:$.setStrokeColor,numArgs:4,variableArgs:!0},SCN:{id:$.setStrokeColorN,numArgs:33,variableArgs:!0},sc:{id:$.setFillColor,numArgs:4,variableArgs:!0},scn:{id:$.setFillColorN,numArgs:33,variableArgs:!0},G:{id:$.setStrokeGray,numArgs:1,variableArgs:!1},g:{id:$.setFillGray,numArgs:1,variableArgs:!1},RG:{id:$.setStrokeRGBColor,numArgs:3,variableArgs:!1},rg:{id:$.setFillRGBColor,numArgs:3,variableArgs:!1},K:{id:$.setStrokeCMYKColor,numArgs:4,variableArgs:!1},k:{id:$.setFillCMYKColor,numArgs:4,variableArgs:!1},sh:{id:$.shadingFill,numArgs:1,variableArgs:!1},BI:{id:$.beginInlineImage,numArgs:0,variableArgs:!1},ID:{id:$.beginImageData,numArgs:0,variableArgs:!1},EI:{id:$.endInlineImage,numArgs:1,variableArgs:!1},Do:{id:$.paintXObject,numArgs:1,variableArgs:!1},MP:{id:$.markPoint,numArgs:1,variableArgs:!1},DP:{id:$.markPointProps,numArgs:2,variableArgs:!1},BMC:{id:$.beginMarkedContent,numArgs:1,variableArgs:!1},BDC:{id:$.beginMarkedContentProps,numArgs:2,variableArgs:!1},EMC:{id:$.endMarkedContent,numArgs:0,variableArgs:!1},BX:{id:$.beginCompat,numArgs:0,variableArgs:!1},EX:{id:$.endCompat,numArgs:0,variableArgs:!1},BM:null,BD:null,"true":null,fa:null,fal:null,fals:null,"false":null,nu:null,nul:null,"null":null};return c.prototype={get savedStatesDepth(){return this.stateManager.stateStack.length},read:function(c){for(var f=c.args;;){var g=this.parser.getObj();if(A(g)){var h=g.cmd,i=d[h];if(!i){b('Unknown command "'+h+'"');continue}var j=i.id,k=i.numArgs,l=null!==f?f.length:0;if(i.variableArgs)l>k&&a("Command "+j+": expected [0,"+k+"] args, but received "+l+" args");else{if(l!==k){for(var m=this.nonProcessedArgs;l>k;)m.push(f.shift()),l--;for(;k>l&&0!==m.length;)f||(f=[]),f.unshift(m.pop()),l++}if(k>l){a("Command "+j+": because expected "+k+" args, but received "+l+" args; skipping"),f=null;continue}}return this.preprocessCommand(j,f),c.fn=j,c.args=f,!0}if(R(g))return!1;null!==g&&(f||(f=[]),f.push(g instanceof Aa?g.getAll():g),e(f.length<=33,"Too many arguments"))}},preprocessCommand:function(a,b){switch(0|a){case $.save:this.stateManager.save();break;case $.restore:this.stateManager.restore();break;case $.transform:this.stateManager.transform(b)}}},c}(),Cb=function(){function a(a,b,c){for(var d=a,e=0,f=b.length-1;f>e;e++){var g=b[e];d=d[g]||(d[g]=[])}d[b[b.length-1]]=c}function b(a,b,c,d){for(var e=a+2,f=0;b>f;f++){var g=d[e+4*f],h=1===g.length&&g[0];if(!h||1!==h.width||1!==h.height||h.data.length&&(1!==h.data.length||0!==h.data[0]))break;c[e+4*f]=$.paintSolidColorImageMask}return b-f}function c(){}var d=[];return a(d,[$.save,$.transform,$.paintInlineImageXObject,$.restore],function(a){for(var b=10,c=200,d=1e3,e=1,f=a.fnArray,g=a.argsArray,h=a.iCurr,i=h-3,j=h-2,k=h-1,l=i+4,m=f.length;m>l+3&&f[l]===$.save&&f[l+1]===$.transform&&f[l+2]===$.paintInlineImageXObject&&f[l+3]===$.restore;)l+=4;var n=Math.min((l-i)/4,c);if(b>n)return l;var o,p=0,q=[],r=0,s=e,t=e;for(o=0;n>o;o++){var u=g[j+(o<<2)],v=g[k+(o<<2)][0];s+v.width>d&&(p=Math.max(p,s),t+=r+2*e,s=0,r=0),q.push({transform:u,x:s,y:t,w:v.width,h:v.height}),s+=v.width+2*e,r=Math.max(r,v.height)}var w=Math.max(p,s)+e,x=t+r+e,y=new Uint8Array(w*x*4),z=w<<2;for(o=0;n>o;o++){var A=g[k+(o<<2)][0].data,B=q[o].w<<2,C=0,D=q[o].x+q[o].y*w<<2;y.set(A.subarray(0,B),D-z);for(var E=0,F=q[o].h;F>E;E++)y.set(A.subarray(C,C+B),D),C+=B,D+=z;for(y.set(A.subarray(C-B,C),D);D>=0;)A[D-4]=A[D],A[D-3]=A[D+1],A[D-2]=A[D+2],A[D-1]=A[D+3],A[D+B]=A[D+B-4],A[D+B+1]=A[D+B-3],A[D+B+2]=A[D+B-2],A[D+B+3]=A[D+B-1],D-=z}return f.splice(i,4*n,$.paintInlineImageXObjectGroup),g.splice(i,4*n,[{width:w,height:x,kind:V.RGBA_32BPP,data:y},q]),i+1}),a(d,[$.save,$.transform,$.paintImageMaskXObject,$.restore],function(a){for(var c=10,d=100,e=1e3,f=a.fnArray,g=a.argsArray,h=a.iCurr,i=h-3,j=h-2,k=h-1,l=i+4,m=f.length;m>l+3&&f[l]===$.save&&f[l+1]===$.transform&&f[l+2]===$.paintImageMaskXObject&&f[l+3]===$.restore;)l+=4;var n=(l-i)/4;if(n=b(i,n,f,g),c>n)return l;var o,p,q,r=!1,s=g[k][0];if(0===g[j][1]&&0===g[j][2]){r=!0;var t=g[j][0],u=g[j][3];p=j+4;var v=k+4;for(o=1;n>o;o++,p+=4,v+=4)if(q=g[p],g[v][0]!==s||q[0]!==t||0!==q[1]||0!==q[2]||q[3]!==u){c>o?r=!1:n=o;break}}if(r){n=Math.min(n,e);var w=new Float32Array(2*n);for(p=j,o=0;n>o;o++,p+=4)q=g[p],w[o<<1]=q[4],w[(o<<1)+1]=q[5];f.splice(i,4*n,$.paintImageMaskXObjectRepeat),g.splice(i,4*n,[s,t,u,w])}else{n=Math.min(n,d);var x=[];for(o=0;n>o;o++){q=g[j+(o<<2)];var y=g[k+(o<<2)][0];x.push({data:y.data,width:y.width,height:y.height,transform:q})}f.splice(i,4*n,$.paintImageMaskXObjectGroup),g.splice(i,4*n,[x])}return i+1}),a(d,[$.save,$.transform,$.paintImageXObject,$.restore],function(a){var b=3,c=1e3,d=a.fnArray,e=a.argsArray,f=a.iCurr,g=f-3,h=f-2,i=f-1,j=f;if(0!==e[h][1]||0!==e[h][2])return j+1;for(var k=e[i][0],l=e[h][0],m=e[h][3],n=g+4,o=d.length;o>n+3&&d[n]===$.save&&d[n+1]===$.transform&&d[n+2]===$.paintImageXObject&&d[n+3]===$.restore&&e[n+1][0]===l&&0===e[n+1][1]&&0===e[n+1][2]&&e[n+1][3]===m&&e[n+2][0]===k;)n+=4;var p=Math.min((n-g)/4,c);if(b>p)return n;for(var q=new Float32Array(2*p),r=h,s=0;p>s;s++,r+=4){var t=e[r];q[s<<1]=t[4],q[(s<<1)+1]=t[5]}var u=[k,l,m,q];return d.splice(g,4*p,$.paintImageXObjectRepeat),e.splice(g,4*p,u),g+1}),a(d,[$.beginText,$.setFont,$.setTextMatrix,$.showText,$.endText],function(a){for(var b=3,c=1e3,d=a.fnArray,e=a.argsArray,f=a.iCurr,g=f-4,h=f-3,i=f-2,j=f-1,k=f,l=e[h][0],m=e[h][1],n=g+5,o=d.length;o>n+4&&d[n]===$.beginText&&d[n+1]===$.setFont&&d[n+2]===$.setTextMatrix&&d[n+3]===$.showText&&d[n+4]===$.endText&&e[n+1][0]===l&&e[n+1][1]===m;)n+=5;var p=Math.min((n-g)/5,c);if(b>p)return n;var q=g;g>=4&&d[g-4]===d[h]&&d[g-3]===d[i]&&d[g-2]===d[j]&&d[g-1]===d[k]&&e[g-4][0]===l&&e[g-4][1]===m&&(p++,q-=5);for(var r=q+4,s=1;p>s;s++)d.splice(r,3),e.splice(r,3),r+=2;return r+1}),c.prototype={optimize:function(a){for(var b,c=a.fnArray,e=a.argsArray,f={iCurr:0,fnArray:c,argsArray:e},g=0,h=c.length;h>g;)b=(b||d)[c[g]],"function"==typeof b?(f.iCurr=g,g=b(f),b=void 0,h=f.fnArray.length):g++}},c}(),Db=["Adobe-GB1-UCS2","Adobe-CNS1-UCS2","Adobe-Japan1-UCS2","Adobe-Korea1-UCS2","78-EUC-H","78-EUC-V","78-H","78-RKSJ-H","78-RKSJ-V","78-V","78ms-RKSJ-H","78ms-RKSJ-V","83pv-RKSJ-H","90ms-RKSJ-H","90ms-RKSJ-V","90msp-RKSJ-H","90msp-RKSJ-V","90pv-RKSJ-H","90pv-RKSJ-V","Add-H","Add-RKSJ-H","Add-RKSJ-V","Add-V","Adobe-CNS1-0","Adobe-CNS1-1","Adobe-CNS1-2","Adobe-CNS1-3","Adobe-CNS1-4","Adobe-CNS1-5","Adobe-CNS1-6","Adobe-GB1-0","Adobe-GB1-1","Adobe-GB1-2","Adobe-GB1-3","Adobe-GB1-4","Adobe-GB1-5","Adobe-Japan1-0","Adobe-Japan1-1","Adobe-Japan1-2","Adobe-Japan1-3","Adobe-Japan1-4","Adobe-Japan1-5","Adobe-Japan1-6","Adobe-Korea1-0","Adobe-Korea1-1","Adobe-Korea1-2","B5-H","B5-V","B5pc-H","B5pc-V","CNS-EUC-H","CNS-EUC-V","CNS1-H","CNS1-V","CNS2-H","CNS2-V","ETHK-B5-H","ETHK-B5-V","ETen-B5-H","ETen-B5-V","ETenms-B5-H","ETenms-B5-V","EUC-H","EUC-V","Ext-H","Ext-RKSJ-H","Ext-RKSJ-V","Ext-V","GB-EUC-H","GB-EUC-V","GB-H","GB-V","GBK-EUC-H","GBK-EUC-V","GBK2K-H","GBK2K-V","GBKp-EUC-H","GBKp-EUC-V","GBT-EUC-H","GBT-EUC-V","GBT-H","GBT-V","GBTpc-EUC-H","GBTpc-EUC-V","GBpc-EUC-H","GBpc-EUC-V","H","HKdla-B5-H","HKdla-B5-V","HKdlb-B5-H","HKdlb-B5-V","HKgccs-B5-H","HKgccs-B5-V","HKm314-B5-H","HKm314-B5-V","HKm471-B5-H","HKm471-B5-V","HKscs-B5-H","HKscs-B5-V","Hankaku","Hiragana","KSC-EUC-H","KSC-EUC-V","KSC-H","KSC-Johab-H","KSC-Johab-V","KSC-V","KSCms-UHC-H","KSCms-UHC-HW-H","KSCms-UHC-HW-V","KSCms-UHC-V","KSCpc-EUC-H","KSCpc-EUC-V","Katakana","NWP-H","NWP-V","RKSJ-H","RKSJ-V","Roman","UniCNS-UCS2-H","UniCNS-UCS2-V","UniCNS-UTF16-H","UniCNS-UTF16-V","UniCNS-UTF32-H","UniCNS-UTF32-V","UniCNS-UTF8-H","UniCNS-UTF8-V","UniGB-UCS2-H","UniGB-UCS2-V","UniGB-UTF16-H","UniGB-UTF16-V","UniGB-UTF32-H","UniGB-UTF32-V","UniGB-UTF8-H","UniGB-UTF8-V","UniJIS-UCS2-H","UniJIS-UCS2-HW-H","UniJIS-UCS2-HW-V","UniJIS-UCS2-V","UniJIS-UTF16-H","UniJIS-UTF16-V","UniJIS-UTF32-H","UniJIS-UTF32-V","UniJIS-UTF8-H","UniJIS-UTF8-V","UniJIS2004-UTF16-H","UniJIS2004-UTF16-V","UniJIS2004-UTF32-H","UniJIS2004-UTF32-V","UniJIS2004-UTF8-H","UniJIS2004-UTF8-V","UniJISPro-UCS2-HW-V","UniJISPro-UCS2-V","UniJISPro-UTF8-V","UniJISX0213-UTF32-H","UniJISX0213-UTF32-V","UniJISX02132004-UTF32-H","UniJISX02132004-UTF32-V","UniKS-UCS2-H","UniKS-UCS2-V","UniKS-UTF16-H","UniKS-UTF16-V","UniKS-UTF32-H","UniKS-UTF32-V","UniKS-UTF8-H","UniKS-UTF8-V","V","WP-Symbol"],Eb=function(){function a(a){this.codespaceRanges=[[],[],[],[]],this.numCodespaceRanges=0,this._map=[],this.name="",this.vertical=!1,this.useCMap=null,this.builtInCMap=a}return a.prototype={addCodespaceRange:function(a,b,c){this.codespaceRanges[a-1].push(b,c),this.numCodespaceRanges++},mapCidRange:function(a,b,c){for(;b>=a;)this._map[a++]=c++},mapBfRange:function(a,b,c){for(var d=c.length-1;b>=a;)this._map[a++]=c,c=c.substr(0,d)+String.fromCharCode(c.charCodeAt(d)+1)},mapBfRangeToArray:function(a,b,c){for(var d=0,e=c.length;b>=a&&e>d;)this._map[a]=c[d++],++a},mapOne:function(a,b){this._map[a]=b},lookup:function(a){return this._map[a]},contains:function(a){return void 0!==this._map[a]},forEach:function(a){var b,c=this._map,d=c.length;if(65536>=d)for(b=0;d>b;b++)void 0!==c[b]&&a(b,c[b]);else for(b in this._map)a(b,c[b])},charCodeOf:function(a){return this._map.indexOf(a)},getMap:function(){return this._map},readCharCode:function(a,b,c){for(var d=0,e=this.codespaceRanges,f=this.codespaceRanges.length,g=0;f>g;g++){d=(d<<8|a.charCodeAt(b+g))>>>0;for(var h=e[g],i=0,j=h.length;j>i;){var k=h[i++],l=h[i++];if(d>=k&&l>=d)return c.charcode=d,void(c.length=g+1)}}c.charcode=0,c.length=1},get length(){return this._map.length},get isIdentityCMap(){if("Identity-H"!==this.name&&"Identity-V"!==this.name)return!1;if(65536!==this._map.length)return!1;for(var a=0;65536>a;a++)if(this._map[a]!==a)return!1;return!0}},a}(),Fb=function(){function a(a,b){Eb.call(this),this.vertical=a,this.addCodespaceRange(b,0,65535)}return na.inherit(a,Eb,{}),a.prototype={addCodespaceRange:Eb.prototype.addCodespaceRange,mapCidRange:function(a,b,d){c("should not call mapCidRange")},mapBfRange:function(a,b,d){c("should not call mapBfRange")},mapBfRangeToArray:function(a,b,d){c("should not call mapBfRangeToArray")},mapOne:function(a,b){c("should not call mapCidOne")},lookup:function(a){return w(a)&&65535>=a?a:void 0},contains:function(a){return w(a)&&65535>=a},forEach:function(a){for(var b=0;65535>=b;b++)a(b,b)},charCodeOf:function(a){return w(a)&&65535>=a?a:-1},getMap:function(){for(var a=new Array(65536),b=0;65535>=b;b++)a[b]=b;return a},readCharCode:Eb.prototype.readCharCode,get length(){return 65536},get isIdentityCMap(){c("should not access .isIdentityCMap")}},a}(),Gb=function(){function a(a){var b=PDFJS.disableWorker,d=new XMLHttpRequest;if(d.open("GET",a,!1),!b)try{d.responseType="arraybuffer",b="arraybuffer"!==d.responseType}catch(e){b=!0}if(b&&d.overrideMimeType&&d.overrideMimeType("text/plain; charset=x-user-defined"),d.send(null),(b?d.responseText:d.response)||c("Unable to get binary cMap at: "+a),b){var f=Array.prototype.map.call(d.responseText,function(a){return 255&a.charCodeAt(0)});return new Uint8Array(f)}return new Uint8Array(d.response)}function b(a,b){for(var c=0,d=0;b>=d;d++)c=c<<8|a[d];return c>>>0}function d(a,b){return 1===b?String.fromCharCode(a[0],a[1]):3===b?String.fromCharCode(a[0],a[1],a[2],a[3]):String.fromCharCode.apply(null,a.subarray(0,b+1))}function f(a,b,c){for(var d=0,e=c;e>=0;e--)d+=a[e]+b[e],a[e]=255&d,d>>=8}function g(a,b){for(var c=1,d=b;d>=0&&c>0;d--)c+=a[d],a[d]=255&c,c>>=8}function h(a){this.buffer=a,this.pos=0,this.end=a.length,this.tmpBuf=new Uint8Array(l)}function i(i,j,l){var m=a(i),n=new h(m),o=n.readByte();j.vertical=!!(1&o);for(var p,q,r=null,s=new Uint8Array(k),t=new Uint8Array(k),u=new Uint8Array(k),v=new Uint8Array(k),w=new Uint8Array(k);(q=n.readByte())>=0;){var x=q>>5;if(7!==x){var y=!!(16&q),z=15&q;e(k>=z+1);var A,B=1,C=n.readNumber();switch(x){case 0:for(n.readHex(s,z),n.readHexNumber(t,z),f(t,s,z),j.addCodespaceRange(z+1,b(s,z),b(t,z)),A=1;C>A;A++)g(t,z),n.readHexNumber(s,z),f(s,t,z),n.readHexNumber(t,z),f(t,s,z),j.addCodespaceRange(z+1,b(s,z),b(t,z));break;case 1:for(n.readHex(s,z),n.readHexNumber(t,z),f(t,s,z),p=n.readNumber(),A=1;C>A;A++)g(t,z),n.readHexNumber(s,z),f(s,t,z),n.readHexNumber(t,z),f(t,s,z),p=n.readNumber();break;case 2:for(n.readHex(u,z),p=n.readNumber(),j.mapOne(b(u,z),p),A=1;C>A;A++)g(u,z),y||(n.readHexNumber(w,z),f(u,w,z)),p=n.readSigned()+(p+1),j.mapOne(b(u,z),p);break;case 3:for(n.readHex(s,z),n.readHexNumber(t,z),f(t,s,z),p=n.readNumber(),j.mapCidRange(b(s,z),b(t,z),p),A=1;C>A;A++)g(t,z),y?s.set(t):(n.readHexNumber(s,z),f(s,t,z)),n.readHexNumber(t,z),f(t,s,z),p=n.readNumber(),j.mapCidRange(b(s,z),b(t,z),p);break;case 4:for(n.readHex(u,B),n.readHex(v,z),j.mapOne(b(u,B),d(v,z)),A=1;C>A;A++)g(u,B),y||(n.readHexNumber(w,B),f(u,w,B)),g(v,z),n.readHexSigned(w,z),f(v,w,z),j.mapOne(b(u,B),d(v,z));break;case 5:for(n.readHex(s,B),n.readHexNumber(t,B),f(t,s,B),n.readHex(v,z),j.mapBfRange(b(s,B),b(t,B),d(v,z)),A=1;C>A;A++)g(t,B),y?s.set(t):(n.readHexNumber(s,B),f(s,t,B)),n.readHexNumber(t,B),f(t,s,B),n.readHex(v,z),j.mapBfRange(b(s,B),b(t,B),d(v,z));break;default:c("Unknown type: "+x)}}else switch(31&q){case 0:n.readString();break;case 1:r=n.readString()}}return r&&l(r),j}function j(){}var k=16,l=19;return h.prototype={readByte:function(){return this.pos>=this.end?-1:this.buffer[this.pos++]},readNumber:function(){var a,b=0;do{var d=this.readByte();0>d&&c("unexpected EOF in bcmap"),a=!(128&d),b=b<<7|127&d}while(!a);return b},readSigned:function(){var a=this.readNumber();return 1&a?~(a>>>1):a>>>1},readHex:function(a,b){a.set(this.buffer.subarray(this.pos,this.pos+b+1)),this.pos+=b+1},readHexNumber:function(a,b){var d,e=this.tmpBuf,f=0;do{var g=this.readByte();0>g&&c("unexpected EOF in bcmap"),d=!(128&g),e[f++]=127&g}while(!d);for(var h=b,i=0,j=0;h>=0;){for(;8>j&&e.length>0;)i=e[--f]<>=8,j-=8}},readHexSigned:function(a,b){this.readHexNumber(a,b);for(var c=1&a[b]?255:0,d=0,e=0;b>=e;e++)d=(1&d)<<8|a[e],a[e]=d>>1^c},readString:function(){for(var a=this.readNumber(),b="",c=0;a>c;c++)b+=String.fromCharCode(this.readNumber());return b}},j.prototype={read:i},j}(),Hb=function(){function a(a){for(var b=0,c=0;c>>0}function d(a){y(a)||c("Malformed CMap: expected string.")}function f(a){w(a)||c("Malformed CMap: expected int.")}function g(b,c){for(;;){var e=c.getObj();if(R(e))break;if(A(e,"endbfchar"))return;d(e);var f=a(e);e=c.getObj(),d(e);var g=e;b.mapOne(f,g)}}function h(b,e){for(;;){var f=e.getObj();if(R(f))break;if(A(f,"endbfrange"))return;d(f);var g=a(f);f=e.getObj(),d(f);var h=a(f);if(f=e.getObj(),w(f)||y(f)){var i=w(f)?String.fromCharCode(f):f;b.mapBfRange(g,h,i)}else{if(!A(f,"["))break;f=e.getObj();for(var j=[];!A(f,"]")&&!R(f);)j.push(f),f=e.getObj();b.mapBfRangeToArray(g,h,j)}}c("Invalid bf range.")}function i(b,c){for(;;){var e=c.getObj();if(R(e))break;if(A(e,"endcidchar"))return;d(e);var g=a(e);e=c.getObj(),f(e);var h=e;b.mapOne(g,h)}}function j(b,c){for(;;){var e=c.getObj();if(R(e))break;if(A(e,"endcidrange"))return;d(e);var g=a(e);e=c.getObj(),d(e);var h=a(e);e=c.getObj(),f(e);var i=e;b.mapCidRange(g,h,i)}}function k(b,d){for(;;){var e=d.getObj();if(R(e))break;if(A(e,"endcodespacerange"))return;if(!y(e))break;var f=a(e);if(e=d.getObj(),!y(e))break;var g=a(e);b.addCodespaceRange(e.length,f,g)}c("Invalid codespace range.")}function l(a,b){var c=b.getObj();w(c)&&(a.vertical=!!c)}function m(a,b){var c=b.getObj();z(c)&&y(c.name)&&(a.name=c.name)}function n(a,b,c,d){var e,f;a:for(;;){var n=b.getObj();if(R(n))break;if(z(n))"WMode"===n.name?l(a,b):"CMapName"===n.name&&m(a,b),e=n;else if(A(n))switch(n.cmd){case"endcmap":break a;case"usecmap":z(e)&&(f=e.name);break;case"begincodespacerange":k(a,b);break;case"beginbfchar":g(a,b);break;case"begincidchar":i(a,b);break;case"beginbfrange":h(a,b);break;case"begincidrange":j(a,b)}}!d&&f&&(d=f),d&&o(a,c,d)}function o(a,b,c){if(a.useCMap=q(c,b),0===a.numCodespaceRanges){for(var d=a.useCMap.codespaceRanges,e=0;e=b;b++)a(b,b)},has:function(a){return this.firstChar<=a&&a<=this.lastChar},get:function(a){return this.firstChar<=a&&a<=this.lastChar?String.fromCharCode(a):void 0},charCodeOf:function(a){c("should not call .charCodeOf")}},a}(),bc=function(){function a(a,b,c){a[b]=c>>8&255,a[b+1]=255&c}function b(a,b,c){a[b]=c>>24&255,a[b+1]=c>>16&255,a[b+2]=c>>8&255,a[b+3]=255&c}function c(a,b,c){var d,e;if(c instanceof Uint8Array)a.set(c,b);else if("string"==typeof c)for(d=0,e=c.length;e>d;d++)a[b++]=255&c.charCodeAt(d);else for(d=0,e=c.length;e>d;d++)a[b++]=255&c[d]}function d(a){this.sfnt=a,this.tables=Object.create(null)}d.getSearchParams=function(a,b){for(var c=1,d=0;(c^a)>c;)c<<=1,d++;var e=c*b;return{range:e,entry:d,rangeShift:b*a-e}};var e=12,f=16;return d.prototype={toArray:function(){var g=this.sfnt,h=this.tables,i=Object.keys(h);i.sort();var j,l,m,n,o,p=i.length,q=e+p*f,r=[q];for(j=0;p>j;j++){n=h[i[j]];var s=(n.length+3&-4)>>>0;q+=s,r.push(q)}var t=new Uint8Array(q);for(j=0;p>j;j++)n=h[i[j]],c(t,r[j],n);"true"===g&&(g=k(65536)),t[0]=255&g.charCodeAt(0),t[1]=255&g.charCodeAt(1),t[2]=255&g.charCodeAt(2),t[3]=255&g.charCodeAt(3),a(t,4,p);var u=d.getSearchParams(p,16);for(a(t,6,u.range),a(t,8,u.entry),a(t,10,u.rangeShift),q=e,j=0;p>j;j++){o=i[j],t[q]=255&o.charCodeAt(0),t[q+1]=255&o.charCodeAt(1),t[q+2]=255&o.charCodeAt(2),t[q+3]=255&o.charCodeAt(3);var v=0;for(l=r[j],m=r[j+1];m>l;l+=4){var w=(t[l]<<24)+(t[l+1]<<16)+(t[l+2]<<8)+t[l+3];v=v+w|0}b(t,q+4,v),b(t,q+8,r[j]),b(t,q+12,h[o].length),q+=f}return t},addTable:function(a,b){if(a in this.tables)throw new Error("Table "+a+" already exists");this.tables[a]=b}},d}(),cc=new Int32Array([0,32,127,161,173,174,1536,1920,2208,4256,6016,6144,8192,8208,8209,8210,8232,8240,8287,8304,9676,9677,43616,43648,65520,65536]),dc=function(){function d(d,e,f){var g,h,i;this.name=d,this.loadedName=f.loadedName,this.isType3Font=f.isType3Font,this.sizes=[],this.glyphCache={};var j=d.split("+");j=j.length>1?j[1]:j[0],j=j.split(/[-,_]/g)[0],this.isSerifFont=!!(f.flags&Ob.Serif),this.isSymbolicFont=!!(f.flags&Ob.Symbolic),this.isMonospace=!!(f.flags&Ob.FixedPitch);var k=f.type,l=f.subtype;if(this.type=k,this.fallbackName=this.isMonospace?"monospace":this.isSerifFont?"serif":"sans-serif",this.differences=f.differences,this.widths=f.widths,this.defaultWidth=f.defaultWidth,this.composite=f.composite,this.wideChars=f.wideChars,this.cMap=f.cMap,this.ascent=f.ascent/Lb,this.descent=f.descent/Lb,this.fontMatrix=f.fontMatrix,this.bbox=f.bbox,this.toUnicode=f.toUnicode=this.buildToUnicode(f),this.toFontChar=[],"Type3"===f.type){for(g=0;256>g;g++)this.toFontChar[g]=this.differences[g]||f.defaultEncoding[g];return void(this.fontType=Z.TYPE3)}if(this.cidEncoding=f.cidEncoding,this.vertical=f.vertical,this.vertical&&(this.vmetrics=f.vmetrics,this.defaultVMetrics=f.defaultVMetrics),!e||e.isEmpty){e&&b('Font file is empty in "'+d+'" ('+this.loadedName+")"),this.missingFile=!0;var o=d.replace(/[,_]/g,"-"),p=!!Qb[o]||!(!Rb[o]||!Qb[Rb[o]]);if(o=Qb[o]||Rb[o]||o,this.bold=-1!==o.search(/bold/gi),this.italic=-1!==o.search(/oblique/gi)||-1!==o.search(/italic/gi),this.black=-1!==d.search(/Black/g),this.remeasure=Object.keys(this.widths).length>0,p&&"CIDFontType2"===k&&0===f.cidEncoding.indexOf("Identity-")){var q=[];for(g in Ub)q[+g]=Ub[g];if(/ArialBlack/i.test(d))for(g in Vb)q[+g]=Vb[g];var r=this.toUnicode instanceof ac;r||this.toUnicode.forEach(function(a,b){q[+a]=b}),this.toFontChar=q,this.toUnicode=new _b(q)}else if(/Symbol/i.test(o)){var s=Pb.SymbolSetEncoding;for(g in s)i=zc[s[g]],i&&(this.toFontChar[g]=i);for(g in f.differences)i=zc[f.differences[g]],i&&(this.toFontChar[g]=i)}else if(/Dingbats/i.test(o)){/Wingdings/i.test(d)&&b("Wingdings font without embedded font file, falling back to the ZapfDingbats encoding.");var t=Pb.ZapfDingbatsEncoding;for(g in t)i=Ac[t[g]],i&&(this.toFontChar[g]=i); -for(g in f.differences)i=Ac[f.differences[g]],i&&(this.toFontChar[g]=i)}else if(p){this.toFontChar=[];for(g in f.defaultEncoding)h=f.differences[g]||f.defaultEncoding[g],this.toFontChar[g]=zc[h]}else{var u=-1===k.indexOf("CIDFontType");this.toUnicode.forEach(function(a,b){u&&(h=f.differences[a]||f.defaultEncoding[a],b=zc[h]||b),this.toFontChar[a]=b}.bind(this))}return this.loadedName=o.split("-")[0],this.loading=!1,void(this.fontType=P(k,l))}"Type1C"===l&&"Type1"!==k&&"MMType1"!==k&&(m(e)?l="TrueType":k="Type1"),"CIDFontType0C"===l&&"CIDFontType0"!==k&&(k="CIDFontType0"),"OpenType"===l&&(k="OpenType"),"CIDFontType0"===k&&(l=n(e)?"CIDFontType0":"CIDFontType0C");var v;switch(k){case"MMType1":a("MMType1 font ("+d+"), falling back to Type1.");case"Type1":case"CIDFontType0":this.mimetype="font/opentype";var w="Type1C"===l||"CIDFontType0C"===l?new jc(e,f):new ic(d,e,f);O(f),v=this.convert(d,w,f);break;case"OpenType":case"TrueType":case"CIDFontType2":this.mimetype="font/opentype",v=this.checkAndRepair(d,e,f),this.isOpenType&&(k="OpenType");break;default:c("Font "+k+" is not supported")}this.data=v,this.fontType=P(k,l),this.fontMatrix=f.fontMatrix,this.widths=f.widths,this.defaultWidth=f.defaultWidth,this.encoding=f.baseEncoding,this.seacMap=f.seacMap,this.loading=!0}function f(a,b){return(a<<8)+b}function h(a,b,c,d){return(a<<24)+(b<<16)+(c<<8)+d}function j(a){return String.fromCharCode(a>>8&255,255&a)}function l(a){return a=a>32767?32767:-32768>a?-32768:a,String.fromCharCode(a>>8&255,255&a)}function m(a){var b=a.peekBytes(4);return 65536===o(b,0)}function n(a){var b=a.peekBytes(2);return 37===b[0]&&33===b[1]?!0:128===b[0]&&1===b[1]}function p(a){for(var b=0,c=cc.length-1;c>b;){var d=b+c+1>>1;a=i)do l=i++,Kb&&61440===l&&(l=61472,i=l+1);while(void 0!==h[l]&&Jb>=i);f[l]=k,g[j]=l,h[l]=!0}return{toFontChar:g,charCodeToGlyphId:f,nextAvailableFontCharCode:i}}function r(a){var b=[];for(var c in a)b.push({fontCharCode:0|c,glyphId:a[c]});b.sort(function(a,b){return a.fontCharCode-b.fontCharCode});for(var d=[],e=b.length,f=0;e>f;){var g=b[f].fontCharCode,h=[b[f].glyphId];++f;for(var i=g;e>f&&i+1===b[f].fontCharCode&&(h.push(b[f].glyphId),++i,++f,65535!==i););d.push([g,i,h])}return d}function s(a){var b,c,d,e,f=r(a),g=f[f.length-1][1]>65535?2:1,h="\x00\x00"+j(g)+"\x00\x00"+k(4+8*g);for(b=f.length-1;b>=0&&!(f[b][0]<=65535);--b);var i=b+1;f[b][0]<65535&&65535===f[b][1]&&(f[b][1]=65534);var l,m,n,o,p=f[b][1]<65535?1:0,q=i+p,s=bc.getSearchParams(q,2),t="",u="",v="",w="",x="",y=0;for(b=0,c=i;c>b;b++){l=f[b],m=l[0],n=l[1],t+=j(m),u+=j(n),o=l[2];var z=!0;for(d=1,e=o.length;e>d;++d)if(o[d]!==o[d-1]+1){z=!1;break}if(z){var A=o[0];v+=j(A-m&65535),w+=j(0)}else{var B=2*(q-b)+2*y;for(y+=n-m+1,v+=j(0),w+=j(B),d=0,e=o.length;e>d;++d)x+=j(o[d])}}p>0&&(u+="ÿÿ",t+="ÿÿ",v+="\x00",w+="\x00\x00");var C="\x00\x00"+j(2*q)+j(s.range)+j(s.entry)+j(s.rangeShift)+u+"\x00\x00"+t+v+w+x,D="",E="";if(g>1){for(h+="\x00\x00\n"+k(4+8*g+4+C.length),D="",b=0,c=f.length;c>b;b++){l=f[b],m=l[0],o=l[2];var F=o[0];for(d=1,e=o.length;e>d;++d)o[d]!==o[d-1]+1&&(n=l[0]+d-1,D+=k(m)+k(n)+k(F),m=n+1,F=o[d]);D+=k(m)+k(l[1])+k(F)}E="\x00\f\x00\x00"+k(D.length+16)+"\x00\x00\x00\x00"+k(D.length/12)}return h+"\x00"+j(C.length+4)+C+E+D}function t(a){var b=new Mc(a.data),c=b.getUint16();b.getBytes(60);var d=b.getUint16();if(4>c&&768&d)return!1;var e=b.getUint16(),f=b.getUint16();if(e>f)return!1;b.getBytes(6);var g=b.getUint16();return 0===g?!1:(a.data[8]=a.data[9]=0,!0)}function u(a,b,d){d=d||{unitsPerEm:0,yMax:0,yMin:0,ascent:0,descent:0};var e=0,f=0,g=0,h=0,i=null,l=0;if(b)for(var m in b){m|=0,(i>m||!i)&&(i=m),m>l&&(l=m);var n=L(m);32>n?e|=1<n?f|=1<n?g|=1<n?h|=1< 123 are reserved for internal usage")}else i=0,l=255;var o=a.bbox||[0,0,0,0],p=d.unitsPerEm||1/(a.fontMatrix||T)[0],q=a.ascentScaled?1:p/Lb,r=d.ascent||Math.round(q*(a.ascent||o[3])),s=d.descent||Math.round(q*(a.descent||o[1]));s>0&&a.descent>0&&o[1]<0&&(s=-s);var t=d.yMax||r,u=-d.yMin||-s;return"\x00$ô\x00\x00\x00Š»\x00\x00\x00ŒŠ»\x00\x00ß\x001\x00\x00\x00\x00"+String.fromCharCode(a.fixedPitch?9:0)+"\x00\x00\x00\x00\x00\x00"+k(e)+k(f)+k(g)+k(h)+"*21*"+j(a.italicAngle?1:0)+j(i||a.firstChar)+j(l||a.lastChar)+j(r)+j(s)+"\x00d"+j(t)+j(u)+"\x00\x00\x00\x00\x00\x00\x00\x00"+j(a.xHeight)+j(a.capHeight)+j(0)+j(i||a.firstChar)+"\x00"}function v(a){var b=Math.floor(a.italicAngle*Math.pow(2,16));return"\x00\x00\x00"+k(b)+"\x00\x00\x00\x00"+k(a.fixedPitch)+"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}function w(a,b){b||(b=[[],[]]);var c,d,e,f,g,h=[b[0][0]||"Original licence",b[0][1]||a,b[0][2]||"Unknown",b[0][3]||"uniqueID",b[0][4]||a,b[0][5]||"Version 0.11",b[0][6]||"",b[0][7]||"Unknown",b[0][8]||"Unknown",b[0][9]||"Unknown"],i=[];for(c=0,d=h.length;d>c;c++){g=b[1][c]||h[c];var k=[];for(e=0,f=g.length;f>e;e++)k.push(j(g.charCodeAt(e)));i.push(k.join(""))}var l=[h,i],m=["\x00","\x00"],n=["\x00\x00","\x00"],o=["\x00\x00"," "],p=h.length*m.length,q="\x00\x00"+j(p)+j(12*p+6),r=0;for(c=0,d=m.length;d>c;c++){var s=l[c];for(e=0,f=s.length;f>e;e++){g=s[e];var t=m[c]+n[c]+o[c]+j(e)+j(g.length)+j(r);q+=t,r+=g.length}}return q+=h.join("")+i.join("")}return d.getFontID=function(){var a=1;return function(){return String(a++)}}(),d.prototype={name:null,font:null,mimetype:null,encoding:null,get renderer(){var a=yc.create(this);return g(this,"renderer",a)},exportData:function(){var a={};for(var b in this)this.hasOwnProperty(b)&&(a[b]=this[b]);return a},checkAndRepair:function(d,g,j){function k(a){var b=i(a.getBytes(4)),c=a.getInt32(),d=a.getInt32()>>>0,e=a.getInt32()>>>0,f=a.pos;a.pos=a.start?a.start:0,a.skip(d);var g=a.getBytes(e);return a.pos=f,"head"===b&&(g[8]=g[9]=g[10]=g[11]=0,g[17]|=32),{tag:b,checksum:c,length:e,offset:d,data:g}}function l(a){return{version:i(a.getBytes(4)),numTables:a.getUint16(),searchRange:a.getUint16(),entrySelector:a.getUint16(),rangeShift:a.getUint16()}}function m(a,c,d,e){var f,g=(c.start?c.start:0)+a.offset;c.pos=g;for(var h,i=(c.getUint16(),c.getUint16()),j=!1,k=0;i>k;k++){var l=c.getUint16(),m=c.getUint16(),n=c.getInt32()>>>0,o=!1;if(0===l&&0===m?o=!0:1===l&&0===m?o=!0:3!==l||1!==m||(d||!e)&&h?d&&3===l&&0===m&&(o=!0,j=!0):(o=!0,d||(j=!0)),o&&(h={platformId:l,encodingId:m,offset:n}),j)break}if(h&&(c.pos=g+h.offset),!h||-1===c.peekByte())return b("Could not find a preferred cmap table."),{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1};var p,q,r=c.getUint16(),s=(c.getUint16(),c.getUint16(),!1),t=[];if(0===r){for(p=0;256>p;p++){var u=c.getByte();u&&t.push({charCode:p,glyphId:u})}s=!0}else if(4===r){var v=c.getUint16()>>1;c.getBytes(6);var w,x=[];for(w=0;v>w;w++)x.push({end:c.getUint16()});for(c.getUint16(),w=0;v>w;w++)x[w].start=c.getUint16();for(w=0;v>w;w++)x[w].delta=c.getUint16();var y=0;for(w=0;v>w;w++){f=x[w];var z=c.getUint16();if(z){var A=(z>>1)-(v-w);f.offsetIndex=A,y=Math.max(y,A+f.end-f.start+1)}else f.offsetIndex=-1}var B=[];for(p=0;y>p;p++)B.push(c.getUint16());for(w=0;v>w;w++){f=x[w],g=f.start;var C=f.end,D=f.delta;for(A=f.offsetIndex,p=g;C>=p;p++)65535!==p&&(q=0>A?p:B[A+p-g],q=q+D&65535,0!==q&&t.push({charCode:p,glyphId:q}))}}else{if(6!==r)return b("cmap table has unsupported format: "+r),{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1};var E=c.getUint16(),F=c.getUint16();for(p=0;F>p;p++){q=c.getUint16();var G=E+p;t.push({charCode:G,glyphId:q})}}for(t.sort(function(a,b){return a.charCode-b.charCode}),k=1;ke&&(a("The numOfMetrics ("+f+") should not be greater than the numGlyphs ("+e+")"),f=e,c.data[34]=(65280&f)>>8,c.data[35]=255&f);var g=e-f,h=g-(d.length-4*f>>1);if(h>0){var i=new Uint8Array(d.length+2*h);i.set(d.data),d.data=i}}function o(a,b,c,d,e,f){if(12>=c-b)return 0;var g=a.subarray(b,c),h=g[0]<<8|g[1];if(32768&h)return d.set(g,e),g.length;var i,j=10,k=0;for(i=0;h>i;i++){var l=g[j]<<8|g[j+1];k=l+1,j+=2}var m=j,n=g[j]<<8|g[j+1];j+=2+n;var o=j,p=0;for(i=0;k>i;i++){var q=g[j++];192&q&&(g[j-1]=63&q);var r=(2&q?1:16&q?0:2)+(4&q?1:32&q?0:2);if(p+=r,8&q){var s=g[j++];i+=s,p+=s*r}}if(0===p)return 0;var t=j+p;return t>g.length?0:!f&&n>0?(d.set(g.subarray(0,m),e),d.set([0,0],e+m),d.set(g.subarray(o,t),e+m+2),t-=n,g.length-t>3&&(t=t+3&-4),t):g.length-t>3?(t=t+3&-4,d.set(g.subarray(0,t),e),t):(d.set(g,e),g.length)}function p(c,d,e){var g=c.data,i=h(g[0],g[1],g[2],g[3]);i>>16!==1&&(a("Attempting to fix invalid version in head table: "+i),g[0]=0,g[1]=1,g[2]=0,g[3]=0);var j=f(g[50],g[51]);if(0>j||j>1){a("Attempting to fix invalid indexToLocFormat in head table: "+j);var k=d+1;e===k<<1?(g[50]=0,g[51]=0):e===k<<2?(g[50]=0,g[51]=1):b("Could not fix indexToLocFormat: "+j)}}function r(a,b,c,d,e,f){var g,h,i;d?(g=4,h=function(a,b){return a[b]<<24|a[b+1]<<16|a[b+2]<<8|a[b+3]},i=function(a,b,c){a[b]=c>>>24&255,a[b+1]=c>>16&255,a[b+2]=c>>8&255,a[b+3]=255&c}):(g=2,h=function(a,b){return a[b]<<9|a[b+1]<<1},i=function(a,b,c){a[b]=c>>9&255,a[b+1]=c>>1&255});var j=a.data,k=g*(1+c);j.length!==k&&(j=new Uint8Array(k),j.set(a.data.subarray(0,k)),a.data=j);var l=b.data,m=l.length,n=new Uint8Array(m),p=h(j,0),q=0,r={};i(j,0,q);var s,t;for(s=0,t=g;c>s;s++,t+=g){var u=h(j,t);if(u>m&&(m+3&-4)===u&&(u=m),u>m)i(j,t,q),p=u;else{p===u&&(r[s]=!0);var v=o(l,p,u,n,q,e);q+=v,i(j,t,q),p=u}}if(0===q){var w=new Uint8Array([0,1,0,0,0,0,0,0,0,0,0,0,0,0,49,0]);for(s=0,t=g;c>s;s++,t+=g)i(j,t,w.length);return b.data=w,r}if(f){var x=h(j,g);n.length>x+q?b.data=n.subarray(0,x+q):(b.data=new Uint8Array(x+q),b.data.set(n.subarray(0,q))),b.data.set(n.subarray(0,x),q),i(a.data,j.length-g,q+x)}else b.data=n.subarray(0,q);return r}function y(a,c,d){var e=(g.start?g.start:0)+a.offset;g.pos=e;var f=a.length,h=e+f,i=g.getInt32();g.getBytes(28);var j,k,l=!0;switch(i){case 65536:j=Yb;break;case 131072:var m=g.getUint16();if(m!==d){l=!1;break}var n=[];for(k=0;m>k;++k){var o=g.getUint16();if(o>=32768){l=!1;break}n.push(o)}if(!l)break;for(var p=[],q=[];g.posk;++k)q[k]=String.fromCharCode(g.getByte());p.push(q.join(""))}for(j=[],k=0;m>k;++k){var s=n[k];258>s?j.push(Yb[s]):j.push(p[s-258])}break;case 196608:break;default:b("Unknown/unsupported post table version "+i),l=!1,c.defaultEncoding&&(j=c.defaultEncoding)}return c.glyphNames=j,l}function z(a){var b=(g.start?g.start:0)+a.offset;g.pos=b;var c=[[],[]],d=a.length,e=b+d,f=g.getUint16(),h=6;if(0!==f||h>d)return c;var j,k,l=g.getUint16(),m=g.getUint16(),n=[],o=12;for(j=0;l>j&&g.pos+o<=e;j++){var p={platform:g.getUint16(),encoding:g.getUint16(),language:g.getUint16(),name:g.getUint16(),length:g.getUint16(),offset:g.getUint16()};(1===p.platform&&0===p.encoding&&0===p.language||3===p.platform&&1===p.encoding&&1033===p.language)&&n.push(p)}for(j=0,k=n.length;k>j;j++){var q=n[j],r=b+m+q.offset;if(!(r+q.length>e)){g.pos=r;var s=q.name;if(q.encoding){for(var t="",u=0,v=q.length;v>u;u+=2)t+=String.fromCharCode(g.getUint16());c[1][s]=t}else c[0][s]=i(g.getBytes(q.length))}}return c}function A(a,c){for(var d,e,f,g,h,i=a.data,j=0,k=0,l=0,m=[],n=[],o=[],p=c.tooComplexToFollowFunctions,q=!1,r=0,s=0,t=i.length;t>j;){var u=i[j++];if(64===u)if(e=i[j++],q||s)j+=e;else for(d=0;e>d;d++)m.push(i[j++]);else if(65===u)if(e=i[j++],q||s)j+=2*e;else for(d=0;e>d;d++)f=i[j++],m.push(f<<8|i[j++]);else if(176===(248&u))if(e=u-176+1,q||s)j+=e;else for(d=0;e>d;d++)m.push(i[j++]);else if(184===(248&u))if(e=u-184+1,q||s)j+=2*e;else for(d=0;e>d;d++)f=i[j++],m.push(f<<8|i[j++]);else if(43!==u||p)if(44!==u||p){if(45===u)if(q)q=!1,k=j;else{if(h=n.pop(),!h)return b("TT: ENDF bad stack"),void(c.hintsValid=!1);g=o.pop(),i=h.data,j=h.i,c.functionsStackDeltas[g]=m.length-h.stackTop}else if(137===u)(q||s)&&(b("TT: nested IDEFs not allowed"),p=!0),q=!0,l=j;else if(88===u)++r;else if(27===u)s=r;else if(89===u)s===r&&(s=0),--r;else if(28===u&&!q&&!s){var v=m[m.length-1];v>0&&(j+=v-1)}}else(q||s)&&(b("TT: nested FDEFs not allowed"),p=!0),q=!0,l=j,g=m.pop(),c.functionsDefined[g]={data:i,i:j};else if(!q&&!s)if(g=m[m.length-1],c.functionsUsed[g]=!0,g in c.functionsStackDeltas)m.length+=c.functionsStackDeltas[g];else if(g in c.functionsDefined&&o.indexOf(g)<0){if(n.push({data:i,i:j,stackTop:m.length-1}),o.push(g),h=c.functionsDefined[g],!h)return b("TT: CALL non-existent function"),void(c.hintsValid=!1);i=h.data,j=h.i}if(!q&&!s){var w=142>=u?F[u]:u>=192&&223>=u?-1:u>=224?-2:0;for(u>=113&&117>=u&&(e=m.pop(),e===e&&(w=2*-e));0>w&&m.length>0;)m.pop(),w++;for(;w>0;)m.push(NaN),w--}}c.tooComplexToFollowFunctions=p;var x=[i];j>i.length&&x.push(new Uint8Array(j-i.length)),l>k&&(b("TT: complementing a missing function tail"),x.push(new Uint8Array([34,45]))),C(a,x)}function B(a,c){if(!a.tooComplexToFollowFunctions){if(a.functionsDefined.length>c)return b("TT: more functions defined than expected"),void(a.hintsValid=!1);for(var d=0,e=a.functionsUsed.length;e>d;d++){if(d>c)return b("TT: invalid function id: "+d),void(a.hintsValid=!1);if(a.functionsUsed[d]&&!a.functionsDefined[d])return b("TT: undefined function: "+d),void(a.hintsValid=!1)}}}function C(a,b){if(b.length>1){var c,d,e=0;for(c=0,d=b.length;d>c;c++)e+=b[c].length;e=e+3&-4;var f=new Uint8Array(e),g=0;for(c=0,d=b.length;d>c;c++)f.set(b[c],g),g+=b[c].length;a.data=f,a.length=e}}function D(a,b,c){var d={functionsDefined:[],functionsUsed:[],functionsStackDeltas:[],tooComplexToFollowFunctions:!1,hintsValid:!0};if(a&&A(a,d),b&&A(b,d),a&&B(d,R),c&&1&c.length){var e=new Uint8Array(c.length+1);e.set(c.data),c.data=e}return d.hintsValid}function E(a,b,c){return V[a]?!aa&&b>=0&&$.has(b)?!0:!!(_&&c>=0&&x(_[c])):!0}var F=[0,0,0,0,0,0,0,0,-2,-2,-2,-2,0,0,-2,-5,-1,-1,-1,-1,-1,-1,-1,-1,0,0,-1,0,-1,-1,-1,-1,1,-1,-999,0,1,0,-1,-2,0,-1,-2,-1,-1,0,-1,-1,0,0,-999,-999,-1,-1,-1,-1,-2,-999,-2,-2,-999,0,-2,-2,0,0,-2,0,-2,0,0,0,-2,-1,-1,1,1,0,0,-1,-1,-1,-1,-1,-1,-1,0,0,-1,0,-1,-1,0,-999,-1,-1,-1,-1,-1,-1,0,0,0,0,0,0,0,0,0,0,0,0,-2,-999,-999,-999,-999,-999,-1,-1,-2,-2,0,0,0,0,-1,-1,-999,-2,-2,0,0,-1,-2,-2,0,0,0,-1,-1,-1,-2];g=new Mc(new Uint8Array(g.getBytes()));for(var G,H,I,J=["OS/2","cmap","head","hhea","hmtx","maxp","name","post","loca","glyf","fpgm","prep","cvt ","CFF "],K=l(g),L=K.numTables,M={"OS/2":null,cmap:null,head:null,hhea:null,hmtx:null,maxp:null,name:null,post:null},N=0;L>N;N++)I=k(g),J.indexOf(I.tag)<0||0!==I.length&&(M[I.tag]=I);var O=!M["CFF "];if(O)M.glyf&&M.loca||c('Required "glyf" or "loca" tables are not found'),this.isOpenType=!1;else{if("OTTO"===K.version&&"CIDFontType2"!==j.type||!M.head||!M.hhea||!M.maxp||!M.post)return H=new Mc(M["CFF "].data),G=new jc(H,j),this.convert(d,G,j);delete M.glyf,delete M.loca,delete M.fpgm,delete M.prep,delete M["cvt "],this.isOpenType=!0}M.maxp||c('Required "maxp" table is not found'),g.pos=(g.start||0)+M.maxp.offset;var P=g.getInt32(),Q=g.getUint16(),R=0;if(P>=65536&&M.maxp.length>=22){g.pos+=8;var S=g.getUint16();S>2&&(M.maxp.data[14]=0,M.maxp.data[15]=2),g.pos+=4,R=g.getUint16()}var T=!1;"CIDFontType2"===j.type&&j.toUnicode&&j.toUnicode.get(0)>"\x00"&&(T=!0,Q++,M.maxp.data[4]=Q>>8,M.maxp.data[5]=255&Q);var U=D(M.fpgm,M.prep,M["cvt "],R);U||(delete M.fpgm,delete M.prep,delete M["cvt "]),n(g,M.hhea,M.hmtx,Q),M.head||c('Required "head" table is not found'),p(M.head,Q,O?M.loca.length:0);var V={};if(O){var W=f(M.head.data[50],M.head.data[51]);V=r(M.loca,M.glyf,Q,W,U,T)}if(M.hhea||c('Required "hhea" table is not found'),0===M.hhea.data[10]&&0===M.hhea.data[11]&&(M.hhea.data[10]=255,M.hhea.data[11]=255),M.post){var X=y(M.post,j,Q);X||(M.post=null)}var Y,Z=[],$=j.toUnicode,_=j.widths,aa=$ instanceof ac||65536===$.length;if("CIDFontType2"===j.type){var ba=j.cidToGidMap||[],ca=0===ba.length;j.cMap.forEach(function(a,b){e(65535>=b,"Max size of CID is 65,535");var c=-1;ca?c=a:void 0!==ba[b]&&(c=ba[b]),c>=0&&Q>c&&E(c,a,b)&&(Z[a]=c)}),T&&(Z[0]=Q-1)}else{var da=j.differences.length>0||!!j.baseEncodingName,ea=m(M.cmap,g,this.isSymbolicFont,da),fa=ea.platformId,ga=ea.encodingId,ha=ea.mappings,ia=ha.length;if(da&&(3===fa&&1===ga||1===fa&&0===ga)||-1===fa&&-1===ga&&Pb[j.baseEncodingName]){var ja=[];for("MacRomanEncoding"!==j.baseEncodingName&&"WinAnsiEncoding"!==j.baseEncodingName||(ja=Pb[j.baseEncodingName]),Y=0;256>Y;Y++){var ka;if(ka=this.differences&&Y in this.differences?this.differences[Y]:Y in ja&&""!==ja[Y]?ja[Y]:Pb.StandardEncoding[Y]){var la,ma=!1;3===fa&&1===ga?(la=zc[ka],ma=!0):1===fa&&0===ga&&(la=Pb.MacRomanEncoding.indexOf(ka));var na=!1;for(N=0;ia>N;++N)if(ha[N].charCode===la){var oa=ma?Y:la;if(E(ha[N].glyphId,oa,-1)){Z[Y]=ha[N].glyphId,na=!0;break}}if(!na&&j.glyphNames){var pa=j.glyphNames.indexOf(ka);pa>0&&E(pa,-1,-1)?Z[Y]=pa:Z[Y]=0}}}}else if(0===fa&&0===ga)for(N=0;ia>N;++N)Z[ha[N].charCode]=ha[N].glyphId;else for(N=0;ia>N;++N)Y=255&ha[N].charCode,Z[Y]=ha[N].glyphId}0===Z.length&&(Z[0]=0);var qa=q(Z,j);if(this.toFontChar=qa.toFontChar,M.cmap={tag:"cmap",data:s(qa.charCodeToGlyphId)},!M["OS/2"]||!t(M["OS/2"])){var ra={unitsPerEm:f(M.head.data[18],M.head.data[19]),yMax:f(M.head.data[42],M.head.data[43]),yMin:f(M.head.data[38],M.head.data[39])-65536,ascent:f(M.hhea.data[4],M.hhea.data[5]),descent:f(M.hhea.data[6],M.hhea.data[7])-65536};M["OS/2"]={tag:"OS/2",data:u(j,qa.charCodeToGlyphId,ra)}}if(M.post||(M.post={tag:"post",data:v(j)}),!O)try{H=new Mc(M["CFF "].data);var sa=new kc(H,j);G=sa.parse();var ta=new xc(G);M["CFF "].data=ta.compile()}catch(ua){b("Failed to compile font "+j.loadedName)}if(M.name){var va=z(M.name);M.name.data=w(d,va)}else M.name={tag:"name",data:w(this.name)};var wa=new bc(K.version);for(var xa in M)wa.addTable(xa,M[xa].data);return wa.toArray()},convert:function(a,b,c){function d(a,b){var c=null;for(var d in a)b===a[d]&&(c||(c=[]),c.push(0|d));return c}function e(a,b){for(var c in a)if(b===a[c])return 0|c;return g.charCodeToGlyphId[g.nextAvailableFontCharCode]=b,g.nextAvailableFontCharCode++}c.fixedPitch=!1;var f=b.getGlyphMapping(c),g=q(f,c);this.toFontChar=g.toFontChar;var h=b.numGlyphs,i=b.seacs;if(Nb&&i&&i.length){var k=c.fontMatrix||T,m=b.getCharset(),n=Object.create(null);for(var o in i){o|=0;var p=i[o],r=Pb.StandardEncoding[p[2]],t=Pb.StandardEncoding[p[3]],x=m.indexOf(r),y=m.indexOf(t);if(!(0>x||0>y)){var z={x:p[0]*k[0]+p[1]*k[2]+k[4],y:p[0]*k[1]+p[1]*k[3]+k[5]},A=d(f,o);if(A)for(var B=0,C=A.length;C>B;B++){var D=A[B],E=g.charCodeToGlyphId,F=e(E,x),G=e(E,y);n[D]={baseFontCharCode:F,accentFontCharCode:G,accentOffset:z}}}}c.seacMap=n}var H=1/(c.fontMatrix||T)[0],I=new bc("OTTO");return I.addTable("CFF ",b.data),I.addTable("OS/2",u(c,g.charCodeToGlyphId)),I.addTable("cmap",s(g.charCodeToGlyphId)),I.addTable("head","\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00_<õ\x00\x00"+l(H)+"\x00\x00\x00\x00ž\x0B~'\x00\x00\x00\x00ž\x0B~'\x00\x00"+l(c.descent)+"ÿ"+l(c.ascent)+j(c.italicAngle?2:0)+"\x00\x00\x00\x00\x00\x00\x00"),I.addTable("hhea","\x00\x00\x00"+l(c.ascent)+l(c.descent)+"\x00\x00ÿÿ\x00\x00\x00\x00\x00\x00"+l(c.capHeight)+l(Math.tan(c.italicAngle)*c.xHeight)+"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"+j(h)),I.addTable("hmtx",function(){for(var a=b.charstrings,c=b.cff?b.cff.widths:null,d="\x00\x00\x00\x00",e=1,f=h;f>e;e++){var g=0;if(a){var i=a[e-1];g="width"in i?i.width:0}else c&&(g=Math.ceil(c[e]||0));d+=j(g)+j(0)}return d}()),I.addTable("maxp","\x00\x00P\x00"+j(h)),I.addTable("name",w(a)),I.addTable("post",v(c)),I.toArray()},buildToUnicode:function(a){if(a.toUnicode&&0!==a.toUnicode.length)return a.toUnicode;var b,c;if(!a.composite){b=[];var d=a.defaultEncoding.slice(),f=a.baseEncodingName,g=a.differences;for(c in g)d[c]=g[c];for(c in d){var h=d[c];if(""!==h)if(void 0!==zc[h])b[c]=String.fromCharCode(zc[h]);else{var i=0;switch(h[0]){case"G":3===h.length&&(i=parseInt(h.substr(1),16));break;case"g":5===h.length&&(i=parseInt(h.substr(1),16));break;case"C":case"c":h.length>=3&&(i=+h.substr(1))}if(i){if(f&&i===+c){var j=Pb[f];if(j&&(h=j[c])){b[c]=String.fromCharCode(zc[h]);continue}}b[c]=String.fromCharCode(i)}}}return new _b(b)}if(a.composite&&(a.cMap.builtInCMap&&!(a.cMap instanceof Fb)||"Adobe"===a.cidSystemInfo.registry&&("GB1"===a.cidSystemInfo.ordering||"CNS1"===a.cidSystemInfo.ordering||"Japan1"===a.cidSystemInfo.ordering||"Korea1"===a.cidSystemInfo.ordering))){var k=a.cidSystemInfo.registry,l=a.cidSystemInfo.ordering,m=new ya(k+"-"+l+"-UCS2"),n=Hb.create(m,{url:PDFJS.cMapUrl,packed:PDFJS.cMapPacked},null),o=a.cMap;return b=[],o.forEach(function(a,c){e(65535>=c,"Max size of CID is 65,535");var d=n.lookup(c);d&&(b[a]=String.fromCharCode((d.charCodeAt(0)<<8)+d.charCodeAt(1)))}),new _b(b)}return new ac(a.firstChar,a.lastChar)},get spaceWidth(){if("_shadowWidth"in this)return this._shadowWidth;for(var a,b=["space","minus","one","i"],c=0,d=b.length;d>c;c++){var e=b[c];if(e in this.widths){a=this.widths[e];break}var f=zc[e],g=0;if(this.composite&&this.cMap.contains(f)&&(g=this.cMap.lookup(f)),!g&&"toUnicode"in this&&(g=this.toUnicode.charCodeOf(f)),0>=g&&(g=f),a=this.widths[g])break}return a=a||this.defaultWidth,this._shadowWidth=a,a},charToGlyph:function(a){var b,c,d,e=a;this.cMap&&this.cMap.contains(a)&&(e=this.cMap.lookup(a)),c=this.widths[e],c=x(c)?c:this.defaultWidth;var f=this.vmetrics&&this.vmetrics[e],g=this.toUnicode.get(a)||a;"number"==typeof g&&(g=String.fromCharCode(g)),b=this.toFontChar[a]||a,this.missingFile&&(b=K(b)),this.isType3Font&&(d=b);var h=null;if(this.seacMap&&this.seacMap[a]){var i=this.seacMap[a];b=i.baseFontCharCode,h={fontChar:String.fromCharCode(i.accentFontCharCode),offset:i.accentOffset}}var j=String.fromCharCode(b),k=this.glyphCache[a];return k&&k.matchesForCache(j,g,h,c,f,d)||(k=new $b(j,g,h,c,f,d),this.glyphCache[a]=k),k},charsToGlyphs:function(a){var b,c,d,e=this.charsCache;if(e&&(b=e[a]))return b;e||(e=this.charsCache=Object.create(null)),b=[];var f,g=a,h=0;if(this.cMap)for(var i={};hh;++h)d=a.charCodeAt(h),c=this.charToGlyph(d),b.push(c),32===d&&b.push(null);return e[g]=b}},d}(),ec=function(){function a(a){this.error=a,this.loadedName="g_font_error",this.loading=!1}return a.prototype={charsToGlyphs:function(){return[]},exportData:function(){return{error:this.error}}},a}(),fc=function(){function a(){this.width=0,this.lsb=0,this.flexing=!1,this.output=[],this.stack=[]}var c={hstem:[1],vstem:[3],vmoveto:[4],rlineto:[5],hlineto:[6],vlineto:[7],rrcurveto:[8],callsubr:[10],flex:[12,35],drop:[12,18],endchar:[14],rmoveto:[21],hmoveto:[22],vhcurveto:[30],hvcurveto:[31]};return a.prototype={convert:function(a,d){for(var e,f,g,h=a.length,i=!1,j=0;h>j;j++){var k=a[j];if(32>k){switch(12===k&&(k=(k<<8)+a[++j]),k){case 1:if(!Mb){this.stack=[];break}i=this.executeCommand(2,c.hstem);break;case 3:if(!Mb){this.stack=[];break}i=this.executeCommand(2,c.vstem);break;case 4:if(this.flexing){if(this.stack.length<1){i=!0;break}var l=this.stack.pop();this.stack.push(0,l);break}i=this.executeCommand(1,c.vmoveto);break;case 5:i=this.executeCommand(2,c.rlineto);break;case 6:i=this.executeCommand(1,c.hlineto);break;case 7:i=this.executeCommand(1,c.vlineto);break;case 8:i=this.executeCommand(6,c.rrcurveto);break;case 9:this.stack=[];break;case 10:if(this.stack.length<1){i=!0;break}g=this.stack.pop(),i=this.convert(d[g],d);break;case 11:return i;case 13:if(this.stack.length<2){i=!0;break}e=this.stack.pop(),f=this.stack.pop(),this.lsb=f,this.width=e,this.stack.push(e,f),i=this.executeCommand(2,c.hmoveto);break;case 14:this.output.push(c.endchar[0]);break;case 21:if(this.flexing)break;i=this.executeCommand(2,c.rmoveto);break;case 22:if(this.flexing){this.stack.push(0);break}i=this.executeCommand(1,c.hmoveto);break;case 30:i=this.executeCommand(4,c.vhcurveto);break;case 31:i=this.executeCommand(4,c.hvcurveto);break;case 3072:this.stack=[];break;case 3073:if(!Mb){this.stack=[];break}i=this.executeCommand(2,c.vstem);break;case 3074:if(!Mb){this.stack=[];break}i=this.executeCommand(2,c.hstem);break;case 3078:Nb?(this.seac=this.stack.splice(-4,4),i=this.executeCommand(0,c.endchar)):i=this.executeCommand(4,c.endchar);break;case 3079:if(this.stack.length<4){i=!0;break}this.stack.pop();e=this.stack.pop();var m=this.stack.pop();f=this.stack.pop(),this.lsb=f,this.width=e,this.stack.push(e,f,m),i=this.executeCommand(3,c.rmoveto);break;case 3084:if(this.stack.length<2){i=!0;break}var n=this.stack.pop(),o=this.stack.pop();this.stack.push(o/n);break;case 3088:if(this.stack.length<2){i=!0;break}g=this.stack.pop();var p=this.stack.pop();if(0===g&&3===p){var q=this.stack.splice(this.stack.length-17,17);this.stack.push(q[2]+q[0],q[3]+q[1],q[4],q[5],q[6],q[7],q[8],q[9],q[10],q[11],q[12],q[13],q[14]),i=this.executeCommand(13,c.flex,!0),this.flexing=!1,this.stack.push(q[15],q[16])}else 1===g&&0===p&&(this.flexing=!0);break;case 3089:break;case 3105:this.stack=[];break;default:b('Unknown type 1 charstring command of "'+k+'"')}if(i)break}else 246>=k?k-=139:k=250>=k?256*(k-247)+a[++j]+108:254>=k?-(256*(k-251))-a[++j]-108:(255&a[++j])<<24|(255&a[++j])<<16|(255&a[++j])<<8|(255&a[++j])<<0,this.stack.push(k)}return i},executeCommand:function(a,b,c){var d=this.stack.length;if(a>d)return!0;for(var e=d-a,f=e;d>f;f++){var g=this.stack[f];g===(0|g)?this.output.push(28,g>>8&255,255&g):(g=65536*g|0,this.output.push(255,g>>24&255,g>>16&255,g>>8&255,255&g))}return this.output.push.apply(this.output,b),c?this.stack.splice(e,a):this.stack.length=0,!1}},a}(),gc=function(){function a(a){return a>=48&&57>=a||a>=65&&70>=a||a>=97&&102>=a}function b(a,b,c){for(var d=0|b,e=52845,f=22719,g=a.length,h=new Uint8Array(g),i=0;g>i;i++){var j=a[i];h[i]=j^d>>8,d=(j+d)*e+f&65535}return Array.prototype.slice.call(h,c)}function c(b,c,d){var e,f,g=0|c,h=52845,i=22719,j=b.length,k=j>>>1,l=new Uint8Array(k);for(e=0,f=0;j>e;e++){var m=b[e];if(a(m)){e++;for(var n;j>e&&!a(n=b[e]);)e++;if(j>e){var o=parseInt(String.fromCharCode(m,n),16);l[f++]=o^g>>8,g=(o+g)*h+i&65535}}}return Array.prototype.slice.call(l,d,f)}function d(a){return 47===a||91===a||93===a||123===a||125===a||40===a||41===a}function e(d,e){if(e){var g=d.getBytes(),h=!(a(g[0])&&a(g[1])&&a(g[2])&&a(g[3]));d=new Mc(h?b(g,f,4):c(g,f,4))}this.stream=d,this.nextChar()}var f=55665,g=4330;return e.prototype={readNumberArray:function(){this.getToken();for(var a=[];;){var b=this.getToken();if(null===b||"]"===b||"}"===b)break;a.push(parseFloat(b||0))}return a},readNumber:function(){var a=this.getToken();return parseFloat(a||0)},readInt:function(){var a=this.getToken();return 0|parseInt(a||0,10)},readBoolean:function(){var a=this.getToken();return"true"===a?1:0},nextChar:function(){return this.currentChar=this.stream.getByte()},getToken:function(){for(var a=!1,b=this.currentChar;;){if(-1===b)return null;if(a)10!==b&&13!==b||(a=!1);else if(37===b)a=!0;else if(!Gc.isSpace(b))break;b=this.nextChar()}if(d(b))return this.nextChar(),String.fromCharCode(b);var c="";do c+=String.fromCharCode(b),b=this.nextChar();while(b>=0&&!Gc.isSpace(b)&&!d(b));return c},extractFontProgram:function(){for(var a,c,d,e,f,h=this.stream,i=[],j=[],k={subrs:[],charstrings:[],properties:{privateData:{lenIV:4}}};null!==(a=this.getToken());)if("/"===a)switch(a=this.getToken()){case"CharStrings":for(this.getToken(),this.getToken(),this.getToken(),this.getToken();;){if(a=this.getToken(),null===a||"end"===a)break;if("/"===a){var l=this.getToken();c=this.readInt(),this.getToken(),d=h.makeSubStream(h.pos,c),e=k.properties.privateData.lenIV,f=b(d.getBytes(),g,e),h.skip(c),this.nextChar(),a=this.getToken(),"noaccess"===a&&this.getToken(),j.push({glyph:l,encoded:f})}}break;case"Subrs":this.readInt();for(this.getToken();"dup"===(a=this.getToken());){var m=this.readInt();c=this.readInt(),this.getToken(),d=h.makeSubStream(h.pos,c),e=k.properties.privateData.lenIV,f=b(d.getBytes(),g,e),h.skip(c),this.nextChar(),a=this.getToken(),"noaccess"===a&&this.getToken(),i[m]=f}break;case"BlueValues":case"OtherBlues":case"FamilyBlues":case"FamilyOtherBlues":var n=this.readNumberArray();n.length>0&&n.length%2===0&&Mb&&(k.properties.privateData[a]=n);break;case"StemSnapH":case"StemSnapV":k.properties.privateData[a]=this.readNumberArray();break;case"StdHW":case"StdVW":k.properties.privateData[a]=this.readNumberArray()[0];break;case"BlueShift":case"lenIV":case"BlueFuzz":case"BlueScale":case"LanguageGroup":case"ExpansionFactor":k.properties.privateData[a]=this.readNumber();break;case"ForceBold":k.properties.privateData[a]=this.readBoolean()}for(var o=0;og;g++){for(b=this.getToken();"dup"!==b&&"def"!==b;)if(b=this.getToken(),null===b)return;if("def"===b)break;var h=this.readInt();this.getToken();var i=this.getToken();d[h]=i,this.getToken()}}else d=Pb[e];a.builtInEncoding=d;break;case"FontBBox":var j=this.readNumberArray();a.ascent=j[3],a.descent=j[1],a.ascentScaled=!0}}},e}(),hc=[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall","001.000","001.001","001.002","001.003","Black","Bold","Book","Light","Medium","Regular","Roman","Semibold"],ic=function(a,b,c){ -var d=6,e=c.length1,f=c.length2,g=b.peekBytes(d),h=128===g[0]&&1===g[1];h&&(b.skip(d),e=g[5]<<24|g[4]<<16|g[3]<<8|g[2]);var i=new Mc(b.getBytes(e)),j=new gc(i);j.extractFontHeader(c),h&&(g=b.getBytes(d),f=g[5]<<24|g[4]<<16|g[3]<<8|g[2]);var k=new Mc(b.getBytes(f)),l=new gc(k,!0),m=l.extractFontProgram();for(var n in m.properties)c[n]=m.properties[n];var o=m.charstrings,p=this.getType2Charstrings(o),q=this.getType2Subrs(m.subrs);this.charstrings=o,this.data=this.wrap(a,p,this.charstrings,q,c),this.seacs=this.getSeacs(m.charstrings)};ic.prototype={get numGlyphs(){return this.charstrings.length+1},getCharset:function(){for(var a=[".notdef"],b=this.charstrings,c=0;c=0&&(f[g]=b)}return Q(a,f,d)},getSeacs:function(a){var b,c,d=[];for(b=0,c=a.length;c>b;b++){var e=a[b];e.seac&&(d[b+1]=e.seac)}return d},getType2Charstrings:function(a){for(var b=[],c=0,d=a.length;d>c;c++)b.push(a[c].charstring);return b},getType2Subrs:function(a){var b=0,c=a.length;b=1133>c?107:33769>c?1131:32768;var d,e=[];for(d=0;b>d;d++)e.push([11]);for(d=0;c>d;d++)e.push(a[d]);return e},wrap:function(a,b,c,d,e){var f=new lc;f.header=new mc(1,0,4,4),f.names=[a];var g=new qc;g.setByName("version",391),g.setByName("Notice",392),g.setByName("FullName",393),g.setByName("FamilyName",394),g.setByName("Weight",395),g.setByName("Encoding",null),g.setByName("FontMatrix",e.fontMatrix),g.setByName("FontBBox",e.bbox),g.setByName("charset",null),g.setByName("CharStrings",null),g.setByName("Private",null),f.topDict=g;var h=new nc;h.add("Version 0.11"),h.add("See original notice"),h.add(a),h.add(a),h.add("Medium"),f.strings=h,f.globalSubrIndex=new oc;var i,j,k=b.length,l=[0];for(i=0;k>i;i++){var m=hc.indexOf(c[i].glyphName);-1===m&&(m=0),l.push(m>>8&255,255&m)}f.charset=new tc(!1,0,[],l);var n=new oc;for(n.add([139,14]),i=0;k>i;i++)n.add(b[i]);f.charStrings=n;var o=new rc;o.setByName("Subrs",null);var p=["BlueValues","OtherBlues","FamilyBlues","FamilyOtherBlues","StemSnapH","StemSnapV","BlueShift","BlueFuzz","BlueScale","LanguageGroup","ExpansionFactor","ForceBold","StdHW","StdVW"];for(i=0,j=p.length;j>i;i++){var q=p[i];if(e.privateData.hasOwnProperty(q)){var r=e.privateData[q];if(C(r))for(var s=r.length-1;s>0;s--)r[s]-=r[s-1];o.setByName(q,r)}}f.topDict.privateDict=o;var t=new oc;for(i=0,j=d.length;j>i;i++)t.add(d[i]);o.subrsIndex=t;var u=new xc(f);return u.compile()}};var jc=function(){function a(a,c){this.properties=c;var d=new kc(a,c);this.cff=d.parse();var e=new xc(this.cff);this.seacs=this.cff.seacs;try{this.data=e.compile()}catch(f){b("Failed to compile font "+c.loadedName),this.data=a}}return a.prototype={get numGlyphs(){return this.cff.charStrings.count},getCharset:function(){return this.cff.charset.charset},getGlyphMapping:function(){var a,b,c=this.cff,d=this.properties,e=c.charset.charset;if(d.composite){if(a=Object.create(null),c.isCIDFont)for(b=0;bq;++q){var s=p.get(q),t=this.createDict(qc,this.parseDict(s),b.strings);this.parsePrivateDict(t),b.fdArray.push(t)}o=null,n=this.parseCharsets(i.getByName("charset"),b.charStrings.count,b.strings,!0),b.fdSelect=this.parseFDSelect(i.getByName("FDSelect"),b.charStrings.count)}else n=this.parseCharsets(i.getByName("charset"),b.charStrings.count,b.strings,!1),o=this.parseEncoding(i.getByName("Encoding"),a,b.strings,n.charset);return b.charset=n,b.encoding=o,b},parseHeader:function(){for(var b=this.bytes,d=b.length,e=0;d>e&&1!==b[e];)++e;e>=d?c("Invalid CFF header"):0!==e&&(a("cff data is shifted"),b=b.subarray(e),this.bytes=b);var f=b[0],g=b[1],h=b[2],i=b[3],j=new mc(f,g,h,i);return{obj:j,endPos:h}},parseDict:function(a){function b(){var b=a[e++];return 30===b?d(e):28===b?(b=a[e++],b=(b<<24|a[e++]<<16)>>16):29===b?(b=a[e++],b=b<<8|a[e++],b=b<<8|a[e++],b=b<<8|a[e++]):b>=32&&246>=b?b-139:b>=247&&250>=b?256*(b-247)+a[e++]+108:b>=251&&254>=b?-(256*(b-251))-a[e++]-108:(c("255 is not a valid DICT command"),-1)}function d(){for(var b="",c=15,d=["0","1","2","3","4","5","6","7","8","9",".","E","E-",null,"-"],f=a.length;f>e;){var g=a[e++],h=g>>4,i=15&g;if(h===c)break;if(b+=d[h],i===c)break;b+=d[i]}return parseFloat(b)}var e=0,f=[],g=[];e=0;for(var h=a.length;h>e;){var i=a[e];21>=i?(12===i&&(i=i<<8|a[++e]),g.push([i,f]),f=[],++e):f.push(b())}return g},parseIndex:function(a){var b,c,d=new oc,e=this.bytes,f=e[a++]<<8|e[a++],g=[],h=a;if(0!==f){var i=e[a++],j=a+(f+1)*i-1;for(b=0,c=f+1;c>b;++b){for(var k=0,l=0;i>l;++l)k<<=8,k+=e[a++];g.push(j+k)}h=g[f]}for(b=0,c=g.length-1;c>b;++b){var m=g[b],n=g[b+1];d.add(e.subarray(m,n))}return{obj:d,endPos:h}},parseNameIndex:function(a){for(var b=[],c=0,d=a.count;d>c;++c){for(var e=a.get(c),f=Math.min(e.length,127),g=[],h=0;f>h;++h){var j=e[h];(0!==h||0!==j)&&(33>j||j>126||91===j||93===j||40===j||41===j||123===j||125===j||60===j||62===j||47===j||37===j||35===j)?g[h]=95:g[h]=j}b.push(i(g))}return b},parseStringIndex:function(a){for(var b=new nc,c=0,d=a.count;d>c;++c){var e=a.get(c);b.add(i(e))}return b},createDict:function(a,b,c){for(var d=new a(c),e=0,f=b.length;f>e;++e){var g=b[e],h=g[0],i=g[1];d.setByKey(h,i)}return d},parseCharStrings:function(a){for(var c=this.parseIndex(a).obj,d=[],g=[],h=c.count,i=0;h>i;i++){for(var j=c.get(i),k=0,l=[],m=!0,n=0,o=!0,p=j,q=p.length,r=!0,s=0;q>s;){var t=p[s++],u=null;if(12===t){var v=p[s++];0===v?(p[s-2]=139,p[s-1]=22,k=0):u=f[v]}else 28===t?(l[k]=(p[s]<<24|p[s+1]<<16)>>16,s+=2,k++):14===t?(k>=4&&(k-=4,Nb&&(d[i]=l.slice(k,k+4),o=!1)),u=e[t]):t>=32&&246>=t?(l[k]=t-139,k++):t>=247&&254>=t?(l[k]=251>t?(t-247<<8)+p[s]+108:-(t-251<<8)-p[s]-108,s++,k++):255===t?(l[k]=(p[s]<<24|p[s+1]<<16|p[s+2]<<8|p[s+3])/65536,s+=4,k++):19===t||20===t?(n+=k>>1,s+=n+7>>3,k%=2,u=e[t]):u=e[t];if(u){if(u.stem&&(n+=k>>1),"min"in u&&!m&&k=2&&u.stem?k%=2:k>1&&b("Found too many parameters for stack-clearing command"),k>0&&l[k-1]>=0&&(g[i]=l[k-1])),"stackDelta"in u?("stackFn"in u&&u.stackFn(l,k),k+=u.stackDelta):u.stackClearing?k=0:u.resetStack?(k=0,m=!1):u.undefStack&&(k=0,m=!0,r=!1)}}o||c.set(i,new Uint8Array([14]))}return{charStrings:c,seacs:d,widths:g}},emptyPrivateDictionary:function(a){var b=this.createDict(rc,[],a.strings);a.setByKey(18,[0,0]),a.privateDict=b},parsePrivateDict:function(a){if(!a.hasName("Private"))return void this.emptyPrivateDictionary(a);var b=a.getByName("Private");if(!C(b)||2!==b.length)return void a.removeByName("Private");var c=b[0],d=b[1];if(0===c||d>=this.bytes.length)return void this.emptyPrivateDictionary(a);var e=d+c,f=this.bytes.subarray(d,e),g=this.parseDict(f),h=this.createDict(rc,g,a.strings);if(a.privateDict=h,h.getByName("Subrs")){var i=h.getByName("Subrs"),j=d+i;if(0===i||j>=this.bytes.length)return void this.emptyPrivateDictionary(a);var k=this.parseIndex(j);h.subrsIndex=k.obj}},parseCharsets:function(a,b,d,e){if(0===a)return new tc(!0,sc.ISO_ADOBE,Ja);if(1===a)return new tc(!0,sc.EXPERT,Ka);if(2===a)return new tc(!0,sc.EXPERT_SUBSET,La);var f,g,h,i=this.bytes,j=a,k=i[a++],l=[".notdef"];switch(b-=1,k){case 0:for(h=0;b>h;h++)f=i[a++]<<8|i[a++],l.push(e?f:d.get(f));break;case 1:for(;l.length<=b;)for(f=i[a++]<<8|i[a++],g=i[a++],h=0;g>=h;h++)l.push(e?f++:d.get(f++));break;case 2:for(;l.length<=b;)for(f=i[a++]<<8|i[a++],g=i[a++]<<8|i[a++],h=0;g>=h;h++)l.push(e?f++:d.get(f++));break;default:c("Unknown charset format")}var m=a,n=i.subarray(j,m);return new tc(!1,k,l,n)},parseEncoding:function(a,b,d,e){function f(){var b=k[a++];for(h=0;b>h;h++){var c=k[a++],f=(k[a++]<<8)+(255&k[a++]);j[c]=e.indexOf(d.get(f))}}var g,h,i,j={},k=this.bytes,l=!1,m=!1,n=null;if(0===a||1===a){l=!0,g=a;var o=a?Pb.ExpertEncoding:Pb.StandardEncoding;for(h=0,i=e.length;i>h;h++){var p=o.indexOf(e[h]);-1!==p&&(j[p]=h)}}else{var q=a;switch(g=k[a++],127&g){case 0:var r=k[a++];for(h=1;r>=h;h++)j[k[a++]]=h;break;case 1:var s=k[a++],t=1;for(h=0;s>h;h++)for(var u=k[a++],v=k[a++],w=u;u+v>=w;w++)j[w]=t++;break;default:c("Unknow encoding format: "+g+" in CFF")}var x=a;128&g&&(k[q]&=127,f(),m=!0),n=k.subarray(q,x)}return g=127&g,new uc(l,g,j,n)},parseFDSelect:function(a,b){var d,e=a,f=this.bytes,g=f[a++],h=[];switch(g){case 0:for(d=0;b>d;++d){var i=f[a++];h.push(i)}break;case 3:var j=f[a++]<<8|f[a++];for(d=0;j>d;++d)for(var k=f[a++]<<8|f[a++],l=f[a++],m=f[a]<<8|f[a+1],n=k;m>n;++n)h.push(l);a+=2;break;default:c("Unknown fdselect format "+g)}var o=a;return new vc(h,f.subarray(e,o))}},d}(),lc=function(){function a(){this.header=null,this.names=[],this.topDict=null,this.strings=new nc,this.globalSubrIndex=null,this.encoding=null,this.charset=null,this.charStrings=null,this.fdArray=[],this.fdSelect=null,this.isCIDFont=!1}return a}(),mc=function(){function a(a,b,c,d){this.major=a,this.minor=b,this.hdrSize=c,this.offSize=d}return a}(),nc=function(){function a(){this.strings=[]}return a.prototype={get:function(a){return a>=0&&390>=a?hc[a]:a-391<=this.strings.length?this.strings[a-391]:hc[0]},add:function(a){this.strings.push(a)},get count(){return this.strings.length}},a}(),oc=function(){function a(){this.objects=[],this.length=0}return a.prototype={add:function(a){this.length+=a.length,this.objects.push(a)},set:function(a,b){this.length+=b.length-this.objects[a].length,this.objects[a]=b},get:function(a){return this.objects[a]},get count(){return this.objects.length}},a}(),pc=function(){function a(a,b){this.keyToNameMap=a.keyToNameMap,this.nameToKeyMap=a.nameToKeyMap,this.defaults=a.defaults,this.types=a.types,this.opcodes=a.opcodes,this.order=a.order,this.strings=b,this.values={}}return a.prototype={setByKey:function(a,b){if(!(a in this.keyToNameMap))return!1;if(0===b.length)return!0;var c=this.types[a];return"num"!==c&&"sid"!==c&&"offset"!==c||(b=b[0]),this.values[a]=b,!0},setByName:function(a,b){a in this.nameToKeyMap||c('Invalid dictionary name "'+a+'"'),this.values[this.nameToKeyMap[a]]=b},hasName:function(a){return this.nameToKeyMap[a]in this.values},getByName:function(a){a in this.nameToKeyMap||c('Invalid dictionary name "'+a+'"');var b=this.nameToKeyMap[a];return b in this.values?this.values[b]:this.defaults[b]},removeByName:function(a){delete this.values[this.nameToKeyMap[a]]}},a.createTables=function(a){for(var b={keyToNameMap:{},nameToKeyMap:{},defaults:{},types:{},opcodes:{},order:[]},c=0,d=a.length;d>c;++c){var e=a[c],f=C(e[0])?(e[0][0]<<8)+e[0][1]:e[0];b.keyToNameMap[f]=e[1],b.nameToKeyMap[e[1]]=f,b.types[f]=e[2],b.defaults[f]=e[3],b.opcodes[f]=C(e[0])?e[0]:[e[0]],b.order.push(f)}return b},a}(),qc=function(){function a(a){null===c&&(c=pc.createTables(b)),pc.call(this,c,a),this.privateDict=null}var b=[[[12,30],"ROS",["sid","sid","num"],null],[[12,20],"SyntheticBase","num",null],[0,"version","sid",null],[1,"Notice","sid",null],[[12,0],"Copyright","sid",null],[2,"FullName","sid",null],[3,"FamilyName","sid",null],[4,"Weight","sid",null],[[12,1],"isFixedPitch","num",0],[[12,2],"ItalicAngle","num",0],[[12,3],"UnderlinePosition","num",-100],[[12,4],"UnderlineThickness","num",50],[[12,5],"PaintType","num",0],[[12,6],"CharstringType","num",2],[[12,7],"FontMatrix",["num","num","num","num","num","num"],[.001,0,0,.001,0,0]],[13,"UniqueID","num",null],[5,"FontBBox",["num","num","num","num"],[0,0,0,0]],[[12,8],"StrokeWidth","num",0],[14,"XUID","array",null],[15,"charset","offset",0],[16,"Encoding","offset",0],[17,"CharStrings","offset",0],[18,"Private",["offset","offset"],null],[[12,21],"PostScript","sid",null],[[12,22],"BaseFontName","sid",null],[[12,23],"BaseFontBlend","delta",null],[[12,31],"CIDFontVersion","num",0],[[12,32],"CIDFontRevision","num",0],[[12,33],"CIDFontType","num",0],[[12,34],"CIDCount","num",8720],[[12,35],"UIDBase","num",null],[[12,37],"FDSelect","offset",null],[[12,36],"FDArray","offset",null],[[12,38],"FontName","sid",null]],c=null;return a.prototype=Object.create(pc.prototype),a}(),rc=function(){function a(a){null===c&&(c=pc.createTables(b)),pc.call(this,c,a),this.subrsIndex=null}var b=[[6,"BlueValues","delta",null],[7,"OtherBlues","delta",null],[8,"FamilyBlues","delta",null],[9,"FamilyOtherBlues","delta",null],[[12,9],"BlueScale","num",.039625],[[12,10],"BlueShift","num",7],[[12,11],"BlueFuzz","num",1],[10,"StdHW","num",null],[11,"StdVW","num",null],[[12,12],"StemSnapH","delta",null],[[12,13],"StemSnapV","delta",null],[[12,14],"ForceBold","num",0],[[12,17],"LanguageGroup","num",0],[[12,18],"ExpansionFactor","num",.06],[[12,19],"initialRandomSeed","num",0],[20,"defaultWidthX","num",0],[21,"nominalWidthX","num",0],[19,"Subrs","offset",null]],c=null;return a.prototype=Object.create(pc.prototype),a}(),sc={ISO_ADOBE:0,EXPERT:1,EXPERT_SUBSET:2},tc=function(){function a(a,b,c,d){this.predefined=a,this.format=b,this.charset=c,this.raw=d}return a}(),uc=function(){function a(a,b,c,d){this.predefined=a,this.format=b,this.encoding=c,this.raw=d}return a}(),vc=function(){function a(a,b){this.fdSelect=a,this.raw=b}return a}(),wc=function(){function a(){this.offsets={}}return a.prototype={isTracking:function(a){return a in this.offsets},track:function(a,b){a in this.offsets&&c("Already tracking location of "+a),this.offsets[a]=b},offset:function(a){for(var b in this.offsets)this.offsets[b]+=a},setEntryLocation:function(a,b,d){a in this.offsets||c("Not tracking location of "+a);for(var e=d.data,f=this.offsets[a],g=5,h=0,i=b.length;i>h;++h){var j=h*g+f,k=j+1,l=j+2,m=j+3,n=j+4;29===e[j]&&0===e[k]&&0===e[l]&&0===e[m]&&0===e[n]||c("writing to an offset that is not empty");var o=b[h];e[j]=29,e[k]=o>>24&255,e[l]=o>>16&255,e[m]=o>>8&255,e[n]=255&o}}},a}(),xc=function(){function a(a){this.cff=a}return a.prototype={compile:function(){var a=this.cff,b={data:[],length:0,add:function(a){this.data=this.data.concat(a),this.length=this.data.length}},c=this.compileHeader(a.header);b.add(c);var d=this.compileNameIndex(a.names);if(b.add(d),a.isCIDFont&&a.topDict.hasName("FontMatrix")){var e=a.topDict.getByName("FontMatrix");a.topDict.removeByName("FontMatrix");for(var f=0,g=a.fdArray.length;g>f;f++){var h=a.fdArray[f],i=e.slice(0);h.hasName("FontMatrix")&&(i=na.transform(i,h.getByName("FontMatrix"))),h.setByName("FontMatrix",i)}}var j=this.compileTopDicts([a.topDict],b.length,a.isCIDFont);b.add(j.output);var k=j.trackers[0],l=this.compileStringIndex(a.strings.strings);b.add(l);var m=this.compileIndex(a.globalSubrIndex);if(b.add(m),a.encoding&&a.topDict.hasName("Encoding"))if(a.encoding.predefined)k.setEntryLocation("Encoding",[a.encoding.format],b);else{var n=this.compileEncoding(a.encoding);k.setEntryLocation("Encoding",[b.length],b),b.add(n)}if(a.charset&&a.topDict.hasName("charset"))if(a.charset.predefined)k.setEntryLocation("charset",[a.charset.format],b);else{var o=this.compileCharset(a.charset);k.setEntryLocation("charset",[b.length],b),b.add(o)}var p=this.compileCharStrings(a.charStrings);if(k.setEntryLocation("CharStrings",[b.length],b),b.add(p),a.isCIDFont){k.setEntryLocation("FDSelect",[b.length],b);var q=this.compileFDSelect(a.fdSelect.raw);b.add(q),j=this.compileTopDicts(a.fdArray,b.length,!0),k.setEntryLocation("FDArray",[b.length],b),b.add(j.output);var r=j.trackers;this.compilePrivateDicts(a.fdArray,r,b)}return this.compilePrivateDicts([a.topDict],[k],b),b.add([0]),b.data},encodeNumber:function(a){return parseFloat(a)!==parseInt(a,10)||isNaN(a)?this.encodeFloat(a):this.encodeInteger(a)},encodeFloat:function(a){var b=a.toString(),c=/\.(\d*?)(?:9{5,20}|0{5,20})\d{0,2}(?:e(.+)|$)/.exec(b);if(c){var d=parseFloat("1e"+((c[2]?+c[2]:0)+c[1].length));b=(Math.round(a*d)/d).toString()}var e,f,g="";for(e=0,f=b.length;f>e;++e){var h=b[e];g+="e"===h?"-"===b[++e]?"c":"b":"."===h?"a":"-"===h?"e":h}g+=1&g.length?"f":"ff";var i=[30];for(e=0,f=g.length;f>e;e+=2)i.push(parseInt(g.substr(e,2),16));return i},encodeInteger:function(a){var b;return a>=-107&&107>=a?b=[a+139]:a>=108&&1131>=a?(a=[a-108],b=[(a>>8)+247,255&a]):a>=-1131&&-108>=a?(a=-a-108,b=[(a>>8)+251,255&a]):b=a>=-32768&&32767>=a?[28,a>>8&255,255&a]:[29,a>>24&255,a>>16&255,a>>8&255,255&a],b},compileHeader:function(a){return[a.major,a.minor,a.hdrSize,a.offSize]},compileNameIndex:function(a){for(var b=new oc,c=0,d=a.length;d>c;++c)b.add(j(a[c]));return this.compileIndex(b)},compileTopDicts:function(a,b,c){for(var d=[],e=new oc,f=0,g=a.length;g>f;++f){var h=a[f];c&&(h.removeByName("CIDFontVersion"),h.removeByName("CIDFontRevision"),h.removeByName("CIDFontType"),h.removeByName("CIDCount"),h.removeByName("UIDBase"));var i=new wc,j=this.compileDict(h,i);d.push(i),e.add(j),i.offset(b)}return e=this.compileIndex(e,d),{trackers:d,output:e}},compilePrivateDicts:function(a,b,c){for(var d=0,f=a.length;f>d;++d){var g=a[d];e(g.privateDict&&g.hasName("Private"),"There must be an private dictionary.");var h=g.privateDict,i=new wc,j=this.compileDict(h,i),k=c.length;if(i.offset(k),j.length||(k=0),b[d].setEntryLocation("Private",[j.length,k],c),c.add(j),h.subrsIndex&&h.hasName("Subrs")){var l=this.compileIndex(h.subrsIndex);i.setEntryLocation("Subrs",[j.length],c),c.add(l)}}},compileDict:function(a,b){for(var d=[],e=a.order,f=0;fj;++j){var l=i[j],m=h[j];switch(l){case"num":case"sid":d=d.concat(this.encodeNumber(m));break;case"offset":var n=a.keyToNameMap[g];b.isTracking(n)||b.track(n,d.length),d=d.concat([29,0,0,0,0]);break;case"array":case"delta":d=d.concat(this.encodeNumber(m));for(var o=1,p=h.length;p>o;++o)d=d.concat(this.encodeNumber(h[o]));break;default:c("Unknown data type of "+l)}}d=d.concat(a.opcodes[g])}}}return d},compileStringIndex:function(a){for(var b=new oc,c=0,d=a.length;d>c;++c)b.add(j(a[c]));return this.compileIndex(b)},compileGlobalSubrIndex:function(){var a=this.cff.globalSubrIndex;this.out.writeByteArray(this.compileIndex(a))},compileCharStrings:function(a){return this.compileIndex(a)},compileCharset:function(a){return this.compileTypedArray(a.raw)},compileEncoding:function(a){return this.compileTypedArray(a.raw)},compileFDSelect:function(a){return this.compileTypedArray(a)},compileTypedArray:function(a){for(var b=[],c=0,d=a.length;d>c;++c)b[c]=a[c];return b},compileIndex:function(a,b){b=b||[];var c=a.objects,d=c.length;if(0===d)return[0,0,0];var e,f=[d>>8&255,255&d],g=1;for(e=0;d>e;++e)g+=c[e].length;var h;h=256>g?1:65536>g?2:16777216>g?3:4,f.push(h);var i=1;for(e=0;d+1>e;e++)1===h?f.push(255&i):2===h?f.push(i>>8&255,255&i):3===h?f.push(i>>16&255,i>>8&255,255&i):f.push(i>>>24&255,i>>16&255,i>>8&255,255&i),c[e]&&(i+=c[e].length);for(e=0;d>e;e++){b[e]&&b[e].offset(f.length);for(var j=0,k=c[e].length;k>j;j++)f.push(c[e][j])}return f}},a}();!function(){/Windows/.test(navigator.userAgent)&&(Nb=!0)}(),function(){/Windows.*Chrome/.test(navigator.userAgent)&&(Kb=!0)}();var yc=function(){function a(a,b){return a[b]<<24|a[b+1]<<16|a[b+2]<<8|a[b+3]}function b(a,b){return a[b]<<8|a[b+1]}function d(d,e,f){var g,h,i,j,k=1===b(d,e+2)?a(d,e+8):a(d,e+16),l=b(d,e+k);if(4===l){g=b(d,e+k+2);var m=b(d,e+k+6)>>1;for(i=e+k+14,h=[],j=0;m>j;j++,i+=2)h[j]={end:b(d,i)};for(i+=2,j=0;m>j;j++,i+=2)h[j].start=b(d,i);for(j=0;m>j;j++,i+=2)h[j].idDelta=b(d,i);for(j=0;m>j;j++,i+=2){var n=b(d,i);if(0!==n){h[j].ids=[];for(var o=0,p=h[j].end-h[j].start+1;p>o;o++)h[j].ids[o]=b(d,i+n),n+=2}}return h}if(12===l){g=a(d,e+k+4);var q=a(d,e+k+12);for(i=e+k+16,h=[],j=0;q>j;j++)h.push({start:a(d,i),end:a(d,i+4),idDelta:a(d,i+8)-a(d,i)}),i+=12;return h}c("not supported cmap: "+l)}function e(a,b,c){var d={},e=new kc(new Mc(a,b,c-b),d),f=e.parse();return{glyphs:f.charStrings.objects,subrs:f.topDict.privateDict&&f.topDict.privateDict.subrsIndex&&f.topDict.privateDict.subrsIndex.objects,gsubrs:f.globalSubrIndex&&f.globalSubrIndex.objects}}function f(a,b,c){var d,e;c?(d=4,e=function(a,b){return a[b]<<24|a[b+1]<<16|a[b+2]<<8|a[b+3]}):(d=2,e=function(a,b){return a[b]<<9|a[b+1]<<1});for(var f=[],g=e(b,0),h=d;hd;){var f=d+e+1>>1;c>16,k=0,l=0;if(i+=10,0>j){do{g=a[i]<<8|a[i+1];var m=a[i+2]<<8|a[i+3];i+=4;var n,o;1&g?(n=(a[i]<<24|a[i+1]<<16)>>16,o=(a[i+2]<<24|a[i+3]<<16)>>16,i+=4):(n=a[i++],o=a[i++]),2&g?(k=n,l=o):(k=0,l=0);var p=1,q=1,r=0,s=0;8&g?(p=q=(a[i]<<24|a[i+1]<<16)/1073741824,i+=2):64&g?(p=(a[i]<<24|a[i+1]<<16)/1073741824,q=(a[i+2]<<24|a[i+3]<<16)/1073741824,i+=4):128&g&&(p=(a[i]<<24|a[i+1]<<16)/1073741824,r=(a[i+2]<<24|a[i+3]<<16)/1073741824,s=(a[i+4]<<24|a[i+5]<<16)/1073741824,q=(a[i+6]<<24|a[i+7]<<16)/1073741824,i+=8);var t=c.glyphs[m];t&&(b.push({cmd:"save"}),b.push({cmd:"transform",args:[p,r,s,q,k,l]}),h(t,b,c),b.push({cmd:"restore"}))}while(32&g)}else{var u,v,w=[];for(u=0;j>u;u++)w.push(a[i]<<8|a[i+1]),i+=2;var x=a[i]<<8|a[i+1];i+=2+x;for(var y=w[w.length-1]+1,z=[];z.length0;)z.push({flags:g})}for(u=0;y>u;u++){switch(18&z[u].flags){case 0:k+=(a[i]<<24|a[i+1]<<16)>>16,i+=2;break;case 2:k-=a[i++];break;case 18:k+=a[i++]}z[u].x=k}for(u=0;y>u;u++){switch(36&z[u].flags){case 0:l+=(a[i]<<24|a[i+1]<<16)>>16,i+=2;break;case 4:l-=a[i++];break;case 36:l+=a[i++]}z[u].y=l}var B=0;for(i=0;j>i;i++){var C=w[i],D=z.slice(B,C+1);if(1&D[0].flags)D.push(D[0]);else if(1&D[D.length-1].flags)D.unshift(D[D.length-1]);else{var E={flags:1,x:(D[0].x+D[D.length-1].x)/2,y:(D[0].y+D[D.length-1].y)/2};D.unshift(E),D.push(E)}for(d(D[0].x,D[0].y),u=1,v=D.length;v>u;u++)1&D[u].flags?e(D[u].x,D[u].y):1&D[u+1].flags?(f(D[u].x,D[u].y,D[u+1].x,D[u+1].y),u++):f(D[u].x,D[u].y,(D[u].x+D[u+1].x)/2,(D[u].y+D[u+1].y)/2);B=C+1}}}function j(a,b,d){function e(a,c){b.push({cmd:"moveTo",args:[a,c]})}function f(a,c){b.push({cmd:"lineTo",args:[a,c]})}function h(a,c,d,e,f,g){b.push({cmd:"bezierCurveTo",args:[a,c,d,e,f,g]})}function i(a){for(var o=0;o>1,y=!0;break;case 3:n+=k.length>>1,y=!0;break;case 4:m+=k.pop(),e(l,m),y=!0;break;case 5:for(;k.length>0;)l+=k.shift(),m+=k.shift(),f(l,m);break;case 6:for(;k.length>0&&(l+=k.shift(),f(l,m),0!==k.length);)m+=k.shift(),f(l,m);break;case 7:for(;k.length>0&&(m+=k.shift(),f(l,m),0!==k.length);)l+=k.shift(),f(l,m);break;case 8:for(;k.length>0;)p=l+k.shift(),r=m+k.shift(),q=p+k.shift(),s=r+k.shift(),l=q+k.shift(),m=s+k.shift(),h(p,r,q,s,l,m);break;case 10:w=k.pop()+d.subrsBias,x=d.subrs[w],x&&i(x);break;case 11:return;case 12:switch(z=a[o++]){case 34:p=l+k.shift(),q=p+k.shift(),t=m+k.shift(),l=q+k.shift(),h(p,m,q,t,l,t),p=l+k.shift(),q=p+k.shift(),l=q+k.shift(),h(p,t,q,m,l,m);break;case 35:p=l+k.shift(),r=m+k.shift(),q=p+k.shift(),s=r+k.shift(),l=q+k.shift(),m=s+k.shift(),h(p,r,q,s,l,m),p=l+k.shift(),r=m+k.shift(),q=p+k.shift(),s=r+k.shift(),l=q+k.shift(),m=s+k.shift(),h(p,r,q,s,l,m),k.pop();break;case 36:p=l+k.shift(),t=m+k.shift(),q=p+k.shift(),u=t+k.shift(),l=q+k.shift(),h(p,t,q,u,l,u),p=l+k.shift(),q=p+k.shift(),v=u+k.shift(),l=q+k.shift(),h(p,u,q,v,l,m);break;case 37:var A=l,B=m;p=l+k.shift(),r=m+k.shift(),q=p+k.shift(),s=r+k.shift(),l=q+k.shift(),m=s+k.shift(),h(p,r,q,s,l,m),p=l+k.shift(),r=m+k.shift(),q=p+k.shift(),s=r+k.shift(),l=q,m=s,Math.abs(l-A)>Math.abs(m-B)?l+=k.shift():m+=k.shift(),h(p,r,q,s,l,m);break;default:c("unknown operator: 12 "+z)}break;case 14:if(k.length>=4){var C=k.pop(),D=k.pop();m=k.pop(),l=k.pop(),b.push({cmd:"save"}),b.push({cmd:"translate",args:[l,m]});var E=g(d.cmap,String.fromCharCode(d.glyphNameMap[Pb.StandardEncoding[C]]));j(d.glyphs[E],b,d),b.push({cmd:"restore"}),E=g(d.cmap,String.fromCharCode(d.glyphNameMap[Pb.StandardEncoding[D]])),j(d.glyphs[E],b,d)}return;case 18:n+=k.length>>1,y=!0;break;case 19:n+=k.length>>1,o+=n+7>>3,y=!0;break;case 20:n+=k.length>>1,o+=n+7>>3,y=!0;break;case 21:m+=k.pop(),l+=k.pop(),e(l,m),y=!0;break;case 22:l+=k.pop(),e(l,m),y=!0;break;case 23:n+=k.length>>1,y=!0;break;case 24:for(;k.length>2;)p=l+k.shift(),r=m+k.shift(),q=p+k.shift(),s=r+k.shift(),l=q+k.shift(),m=s+k.shift(),h(p,r,q,s,l,m);l+=k.shift(),m+=k.shift(),f(l,m);break;case 25:for(;k.length>6;)l+=k.shift(),m+=k.shift(),f(l,m);p=l+k.shift(),r=m+k.shift(),q=p+k.shift(),s=r+k.shift(),l=q+k.shift(),m=s+k.shift(),h(p,r,q,s,l,m);break;case 26:for(k.length%2&&(l+=k.shift());k.length>0;)p=l,r=m+k.shift(),q=p+k.shift(),s=r+k.shift(),l=q,m=s+k.shift(),h(p,r,q,s,l,m);break;case 27:for(k.length%2&&(m+=k.shift());k.length>0;)p=l+k.shift(),r=m,q=p+k.shift(),s=r+k.shift(),l=q+k.shift(),m=s,h(p,r,q,s,l,m);break;case 28:k.push((a[o]<<24|a[o+1]<<16)>>16),o+=2;break;case 29:w=k.pop()+d.gsubrsBias,x=d.gsubrs[w],x&&i(x);break;case 30:for(;k.length>0&&(p=l,r=m+k.shift(),q=p+k.shift(),s=r+k.shift(),l=q+k.shift(),m=s+(1===k.length?k.shift():0),h(p,r,q,s,l,m),0!==k.length);)p=l+k.shift(),r=m,q=p+k.shift(),s=r+k.shift(),m=s+k.shift(),l=q+(1===k.length?k.shift():0),h(p,r,q,s,l,m);break;case 31:for(;k.length>0&&(p=l+k.shift(),r=m,q=p+k.shift(),s=r+k.shift(),m=s+k.shift(),l=q+(1===k.length?k.shift():0),h(p,r,q,s,l,m),0!==k.length);)p=l,r=m+k.shift(),q=p+k.shift(),s=r+k.shift(),l=q+k.shift(),m=s+(1===k.length?k.shift():0),h(p,r,q,s,l,m);break;default:32>z&&c("unknown operator: "+z),247>z?k.push(z-139):251>z?k.push(256*(z-247)+a[o++]+108):255>z?k.push(256*-(z-251)-a[o++]-108):(k.push((a[o]<<24|a[o+1]<<16|a[o+2]<<8|a[o+3])/65536),o+=4)}y&&(k.length=0)}}var k=[],l=0,m=0,n=0;i(a)}function k(a){this.compiledGlyphs={},this.fontMatrix=a}function l(a,b,c){c=c||[488e-6,0,0,488e-6,0,0],k.call(this,c),this.glyphs=a,this.cmap=b,this.compiledGlyphs=[]}function m(a,b,c,d){c=c||[.001,0,0,.001,0,0],k.call(this,c),this.glyphs=a.glyphs,this.gsubrs=a.gsubrs||[],this.subrs=a.subrs||[],this.cmap=b,this.glyphNameMap=d||zc,this.compiledGlyphs=[],this.gsubrsBias=this.gsubrs.length<1240?107:this.gsubrs.length<33900?1131:32768,this.subrsBias=this.subrs.length<1240?107:this.subrs.length<33900?1131:32768}var n="";return k.prototype={getPathJs:function(a){var b=g(this.cmap,a),c=this.compiledGlyphs[b];return c||(this.compiledGlyphs[b]=c=this.compileGlyph(this.glyphs[b])),c},compileGlyph:function(a){if(!a||0===a.length||14===a[0])return n;var b=[];return b.push({cmd:"save"}),b.push({cmd:"transform",args:this.fontMatrix.slice()}),b.push({cmd:"scale",args:["size","-size"]}),this.compileGlyphImpl(a,b),b.push({cmd:"restore"}),b},compileGlyphImpl:function(){c("Children classes should implement this.")},hasBuiltPath:function(a){var b=g(this.cmap,a);return b in this.compiledGlyphs}},na.inherit(l,k,{compileGlyphImpl:function(a,b){h(a,b,this)}}),na.inherit(m,k,{compileGlyphImpl:function(a,b){j(a,b,this)}}),{create:function(c){for(var g,h,j,k,n,o,p=new Uint8Array(c.data),q=b(p,4),r=0,s=12;q>r;r++,s+=16){var t=i(p.subarray(s,s+4)),u=a(p,s+8),v=a(p,s+12);switch(t){case"cmap":g=d(p,u,u+v);break;case"glyf":h=p.subarray(u,u+v);break;case"loca":j=p.subarray(u,u+v);break;case"head":o=b(p,u+18),n=b(p,u+50);break;case"CFF ":k=e(p,u,u+v)}}if(h){var w=o?[1/o,0,0,1/o,0,0]:c.fontMatrix;return new l(f(h,j,n),g,w)}return new m(k,g,c.fontMatrix,c.glyphNameMap)}}}(),zc={A:65,AE:198,AEacute:508,AEmacron:482,AEsmall:63462,Aacute:193,Aacutesmall:63457,Abreve:258,Abreveacute:7854,Abrevecyrillic:1232,Abrevedotbelow:7862,Abrevegrave:7856,Abrevehookabove:7858,Abrevetilde:7860,Acaron:461,Acircle:9398,Acircumflex:194,Acircumflexacute:7844,Acircumflexdotbelow:7852,Acircumflexgrave:7846,Acircumflexhookabove:7848,Acircumflexsmall:63458,Acircumflextilde:7850,Acute:63177,Acutesmall:63412,Acyrillic:1040,Adblgrave:512,Adieresis:196,Adieresiscyrillic:1234,Adieresismacron:478,Adieresissmall:63460,Adotbelow:7840,Adotmacron:480,Agrave:192,Agravesmall:63456,Ahookabove:7842,Aiecyrillic:1236,Ainvertedbreve:514,Alpha:913,Alphatonos:902,Amacron:256,Amonospace:65313,Aogonek:260,Aring:197,Aringacute:506,Aringbelow:7680,Aringsmall:63461,Asmall:63329,Atilde:195,Atildesmall:63459,Aybarmenian:1329,B:66,Bcircle:9399,Bdotaccent:7682,Bdotbelow:7684,Becyrillic:1041,Benarmenian:1330,Beta:914,Bhook:385,Blinebelow:7686,Bmonospace:65314,Brevesmall:63220,Bsmall:63330,Btopbar:386,C:67,Caarmenian:1342,Cacute:262,Caron:63178,Caronsmall:63221,Ccaron:268,Ccedilla:199,Ccedillaacute:7688,Ccedillasmall:63463,Ccircle:9400,Ccircumflex:264,Cdot:266,Cdotaccent:266,Cedillasmall:63416,Chaarmenian:1353,Cheabkhasiancyrillic:1212,Checyrillic:1063,Chedescenderabkhasiancyrillic:1214,Chedescendercyrillic:1206,Chedieresiscyrillic:1268,Cheharmenian:1347,Chekhakassiancyrillic:1227,Cheverticalstrokecyrillic:1208,Chi:935,Chook:391,Circumflexsmall:63222,Cmonospace:65315,Coarmenian:1361,Csmall:63331,D:68,DZ:497,DZcaron:452,Daarmenian:1332,Dafrican:393, -Dcaron:270,Dcedilla:7696,Dcircle:9401,Dcircumflexbelow:7698,Dcroat:272,Ddotaccent:7690,Ddotbelow:7692,Decyrillic:1044,Deicoptic:1006,Delta:8710,Deltagreek:916,Dhook:394,Dieresis:63179,DieresisAcute:63180,DieresisGrave:63181,Dieresissmall:63400,Digammagreek:988,Djecyrillic:1026,Dlinebelow:7694,Dmonospace:65316,Dotaccentsmall:63223,Dslash:272,Dsmall:63332,Dtopbar:395,Dz:498,Dzcaron:453,Dzeabkhasiancyrillic:1248,Dzecyrillic:1029,Dzhecyrillic:1039,E:69,Eacute:201,Eacutesmall:63465,Ebreve:276,Ecaron:282,Ecedillabreve:7708,Echarmenian:1333,Ecircle:9402,Ecircumflex:202,Ecircumflexacute:7870,Ecircumflexbelow:7704,Ecircumflexdotbelow:7878,Ecircumflexgrave:7872,Ecircumflexhookabove:7874,Ecircumflexsmall:63466,Ecircumflextilde:7876,Ecyrillic:1028,Edblgrave:516,Edieresis:203,Edieresissmall:63467,Edot:278,Edotaccent:278,Edotbelow:7864,Efcyrillic:1060,Egrave:200,Egravesmall:63464,Eharmenian:1335,Ehookabove:7866,Eightroman:8551,Einvertedbreve:518,Eiotifiedcyrillic:1124,Elcyrillic:1051,Elevenroman:8554,Emacron:274,Emacronacute:7702,Emacrongrave:7700,Emcyrillic:1052,Emonospace:65317,Encyrillic:1053,Endescendercyrillic:1186,Eng:330,Enghecyrillic:1188,Enhookcyrillic:1223,Eogonek:280,Eopen:400,Epsilon:917,Epsilontonos:904,Ercyrillic:1056,Ereversed:398,Ereversedcyrillic:1069,Escyrillic:1057,Esdescendercyrillic:1194,Esh:425,Esmall:63333,Eta:919,Etarmenian:1336,Etatonos:905,Eth:208,Ethsmall:63472,Etilde:7868,Etildebelow:7706,Euro:8364,Ezh:439,Ezhcaron:494,Ezhreversed:440,F:70,Fcircle:9403,Fdotaccent:7710,Feharmenian:1366,Feicoptic:996,Fhook:401,Fitacyrillic:1138,Fiveroman:8548,Fmonospace:65318,Fourroman:8547,Fsmall:63334,G:71,GBsquare:13191,Gacute:500,Gamma:915,Gammaafrican:404,Gangiacoptic:1002,Gbreve:286,Gcaron:486,Gcedilla:290,Gcircle:9404,Gcircumflex:284,Gcommaaccent:290,Gdot:288,Gdotaccent:288,Gecyrillic:1043,Ghadarmenian:1346,Ghemiddlehookcyrillic:1172,Ghestrokecyrillic:1170,Gheupturncyrillic:1168,Ghook:403,Gimarmenian:1331,Gjecyrillic:1027,Gmacron:7712,Gmonospace:65319,Grave:63182,Gravesmall:63328,Gsmall:63335,Gsmallhook:667,Gstroke:484,H:72,H18533:9679,H18543:9642,H18551:9643,H22073:9633,HPsquare:13259,Haabkhasiancyrillic:1192,Hadescendercyrillic:1202,Hardsigncyrillic:1066,Hbar:294,Hbrevebelow:7722,Hcedilla:7720,Hcircle:9405,Hcircumflex:292,Hdieresis:7718,Hdotaccent:7714,Hdotbelow:7716,Hmonospace:65320,Hoarmenian:1344,Horicoptic:1e3,Hsmall:63336,Hungarumlaut:63183,Hungarumlautsmall:63224,Hzsquare:13200,I:73,IAcyrillic:1071,IJ:306,IUcyrillic:1070,Iacute:205,Iacutesmall:63469,Ibreve:300,Icaron:463,Icircle:9406,Icircumflex:206,Icircumflexsmall:63470,Icyrillic:1030,Idblgrave:520,Idieresis:207,Idieresisacute:7726,Idieresiscyrillic:1252,Idieresissmall:63471,Idot:304,Idotaccent:304,Idotbelow:7882,Iebrevecyrillic:1238,Iecyrillic:1045,Ifraktur:8465,Igrave:204,Igravesmall:63468,Ihookabove:7880,Iicyrillic:1048,Iinvertedbreve:522,Iishortcyrillic:1049,Imacron:298,Imacroncyrillic:1250,Imonospace:65321,Iniarmenian:1339,Iocyrillic:1025,Iogonek:302,Iota:921,Iotaafrican:406,Iotadieresis:938,Iotatonos:906,Ismall:63337,Istroke:407,Itilde:296,Itildebelow:7724,Izhitsacyrillic:1140,Izhitsadblgravecyrillic:1142,J:74,Jaarmenian:1345,Jcircle:9407,Jcircumflex:308,Jecyrillic:1032,Jheharmenian:1355,Jmonospace:65322,Jsmall:63338,K:75,KBsquare:13189,KKsquare:13261,Kabashkircyrillic:1184,Kacute:7728,Kacyrillic:1050,Kadescendercyrillic:1178,Kahookcyrillic:1219,Kappa:922,Kastrokecyrillic:1182,Kaverticalstrokecyrillic:1180,Kcaron:488,Kcedilla:310,Kcircle:9408,Kcommaaccent:310,Kdotbelow:7730,Keharmenian:1364,Kenarmenian:1343,Khacyrillic:1061,Kheicoptic:998,Khook:408,Kjecyrillic:1036,Klinebelow:7732,Kmonospace:65323,Koppacyrillic:1152,Koppagreek:990,Ksicyrillic:1134,Ksmall:63339,L:76,LJ:455,LL:63167,Lacute:313,Lambda:923,Lcaron:317,Lcedilla:315,Lcircle:9409,Lcircumflexbelow:7740,Lcommaaccent:315,Ldot:319,Ldotaccent:319,Ldotbelow:7734,Ldotbelowmacron:7736,Liwnarmenian:1340,Lj:456,Ljecyrillic:1033,Llinebelow:7738,Lmonospace:65324,Lslash:321,Lslashsmall:63225,Lsmall:63340,M:77,MBsquare:13190,Macron:63184,Macronsmall:63407,Macute:7742,Mcircle:9410,Mdotaccent:7744,Mdotbelow:7746,Menarmenian:1348,Mmonospace:65325,Msmall:63341,Mturned:412,Mu:924,N:78,NJ:458,Nacute:323,Ncaron:327,Ncedilla:325,Ncircle:9411,Ncircumflexbelow:7754,Ncommaaccent:325,Ndotaccent:7748,Ndotbelow:7750,Nhookleft:413,Nineroman:8552,Nj:459,Njecyrillic:1034,Nlinebelow:7752,Nmonospace:65326,Nowarmenian:1350,Nsmall:63342,Ntilde:209,Ntildesmall:63473,Nu:925,O:79,OE:338,OEsmall:63226,Oacute:211,Oacutesmall:63475,Obarredcyrillic:1256,Obarreddieresiscyrillic:1258,Obreve:334,Ocaron:465,Ocenteredtilde:415,Ocircle:9412,Ocircumflex:212,Ocircumflexacute:7888,Ocircumflexdotbelow:7896,Ocircumflexgrave:7890,Ocircumflexhookabove:7892,Ocircumflexsmall:63476,Ocircumflextilde:7894,Ocyrillic:1054,Odblacute:336,Odblgrave:524,Odieresis:214,Odieresiscyrillic:1254,Odieresissmall:63478,Odotbelow:7884,Ogoneksmall:63227,Ograve:210,Ogravesmall:63474,Oharmenian:1365,Ohm:8486,Ohookabove:7886,Ohorn:416,Ohornacute:7898,Ohorndotbelow:7906,Ohorngrave:7900,Ohornhookabove:7902,Ohorntilde:7904,Ohungarumlaut:336,Oi:418,Oinvertedbreve:526,Omacron:332,Omacronacute:7762,Omacrongrave:7760,Omega:8486,Omegacyrillic:1120,Omegagreek:937,Omegaroundcyrillic:1146,Omegatitlocyrillic:1148,Omegatonos:911,Omicron:927,Omicrontonos:908,Omonospace:65327,Oneroman:8544,Oogonek:490,Oogonekmacron:492,Oopen:390,Oslash:216,Oslashacute:510,Oslashsmall:63480,Osmall:63343,Ostrokeacute:510,Otcyrillic:1150,Otilde:213,Otildeacute:7756,Otildedieresis:7758,Otildesmall:63477,P:80,Pacute:7764,Pcircle:9413,Pdotaccent:7766,Pecyrillic:1055,Peharmenian:1354,Pemiddlehookcyrillic:1190,Phi:934,Phook:420,Pi:928,Piwrarmenian:1363,Pmonospace:65328,Psi:936,Psicyrillic:1136,Psmall:63344,Q:81,Qcircle:9414,Qmonospace:65329,Qsmall:63345,R:82,Raarmenian:1356,Racute:340,Rcaron:344,Rcedilla:342,Rcircle:9415,Rcommaaccent:342,Rdblgrave:528,Rdotaccent:7768,Rdotbelow:7770,Rdotbelowmacron:7772,Reharmenian:1360,Rfraktur:8476,Rho:929,Ringsmall:63228,Rinvertedbreve:530,Rlinebelow:7774,Rmonospace:65330,Rsmall:63346,Rsmallinverted:641,Rsmallinvertedsuperior:694,S:83,SF010000:9484,SF020000:9492,SF030000:9488,SF040000:9496,SF050000:9532,SF060000:9516,SF070000:9524,SF080000:9500,SF090000:9508,SF100000:9472,SF110000:9474,SF190000:9569,SF200000:9570,SF210000:9558,SF220000:9557,SF230000:9571,SF240000:9553,SF250000:9559,SF260000:9565,SF270000:9564,SF280000:9563,SF360000:9566,SF370000:9567,SF380000:9562,SF390000:9556,SF400000:9577,SF410000:9574,SF420000:9568,SF430000:9552,SF440000:9580,SF450000:9575,SF460000:9576,SF470000:9572,SF480000:9573,SF490000:9561,SF500000:9560,SF510000:9554,SF520000:9555,SF530000:9579,SF540000:9578,Sacute:346,Sacutedotaccent:7780,Sampigreek:992,Scaron:352,Scarondotaccent:7782,Scaronsmall:63229,Scedilla:350,Schwa:399,Schwacyrillic:1240,Schwadieresiscyrillic:1242,Scircle:9416,Scircumflex:348,Scommaaccent:536,Sdotaccent:7776,Sdotbelow:7778,Sdotbelowdotaccent:7784,Seharmenian:1357,Sevenroman:8550,Shaarmenian:1351,Shacyrillic:1064,Shchacyrillic:1065,Sheicoptic:994,Shhacyrillic:1210,Shimacoptic:1004,Sigma:931,Sixroman:8549,Smonospace:65331,Softsigncyrillic:1068,Ssmall:63347,Stigmagreek:986,T:84,Tau:932,Tbar:358,Tcaron:356,Tcedilla:354,Tcircle:9417,Tcircumflexbelow:7792,Tcommaaccent:354,Tdotaccent:7786,Tdotbelow:7788,Tecyrillic:1058,Tedescendercyrillic:1196,Tenroman:8553,Tetsecyrillic:1204,Theta:920,Thook:428,Thorn:222,Thornsmall:63486,Threeroman:8546,Tildesmall:63230,Tiwnarmenian:1359,Tlinebelow:7790,Tmonospace:65332,Toarmenian:1337,Tonefive:444,Tonesix:388,Tonetwo:423,Tretroflexhook:430,Tsecyrillic:1062,Tshecyrillic:1035,Tsmall:63348,Twelveroman:8555,Tworoman:8545,U:85,Uacute:218,Uacutesmall:63482,Ubreve:364,Ucaron:467,Ucircle:9418,Ucircumflex:219,Ucircumflexbelow:7798,Ucircumflexsmall:63483,Ucyrillic:1059,Udblacute:368,Udblgrave:532,Udieresis:220,Udieresisacute:471,Udieresisbelow:7794,Udieresiscaron:473,Udieresiscyrillic:1264,Udieresisgrave:475,Udieresismacron:469,Udieresissmall:63484,Udotbelow:7908,Ugrave:217,Ugravesmall:63481,Uhookabove:7910,Uhorn:431,Uhornacute:7912,Uhorndotbelow:7920,Uhorngrave:7914,Uhornhookabove:7916,Uhorntilde:7918,Uhungarumlaut:368,Uhungarumlautcyrillic:1266,Uinvertedbreve:534,Ukcyrillic:1144,Umacron:362,Umacroncyrillic:1262,Umacrondieresis:7802,Umonospace:65333,Uogonek:370,Upsilon:933,Upsilon1:978,Upsilonacutehooksymbolgreek:979,Upsilonafrican:433,Upsilondieresis:939,Upsilondieresishooksymbolgreek:980,Upsilonhooksymbol:978,Upsilontonos:910,Uring:366,Ushortcyrillic:1038,Usmall:63349,Ustraightcyrillic:1198,Ustraightstrokecyrillic:1200,Utilde:360,Utildeacute:7800,Utildebelow:7796,V:86,Vcircle:9419,Vdotbelow:7806,Vecyrillic:1042,Vewarmenian:1358,Vhook:434,Vmonospace:65334,Voarmenian:1352,Vsmall:63350,Vtilde:7804,W:87,Wacute:7810,Wcircle:9420,Wcircumflex:372,Wdieresis:7812,Wdotaccent:7814,Wdotbelow:7816,Wgrave:7808,Wmonospace:65335,Wsmall:63351,X:88,Xcircle:9421,Xdieresis:7820,Xdotaccent:7818,Xeharmenian:1341,Xi:926,Xmonospace:65336,Xsmall:63352,Y:89,Yacute:221,Yacutesmall:63485,Yatcyrillic:1122,Ycircle:9422,Ycircumflex:374,Ydieresis:376,Ydieresissmall:63487,Ydotaccent:7822,Ydotbelow:7924,Yericyrillic:1067,Yerudieresiscyrillic:1272,Ygrave:7922,Yhook:435,Yhookabove:7926,Yiarmenian:1349,Yicyrillic:1031,Yiwnarmenian:1362,Ymonospace:65337,Ysmall:63353,Ytilde:7928,Yusbigcyrillic:1130,Yusbigiotifiedcyrillic:1132,Yuslittlecyrillic:1126,Yuslittleiotifiedcyrillic:1128,Z:90,Zaarmenian:1334,Zacute:377,Zcaron:381,Zcaronsmall:63231,Zcircle:9423,Zcircumflex:7824,Zdot:379,Zdotaccent:379,Zdotbelow:7826,Zecyrillic:1047,Zedescendercyrillic:1176,Zedieresiscyrillic:1246,Zeta:918,Zhearmenian:1338,Zhebrevecyrillic:1217,Zhecyrillic:1046,Zhedescendercyrillic:1174,Zhedieresiscyrillic:1244,Zlinebelow:7828,Zmonospace:65338,Zsmall:63354,Zstroke:437,a:97,aabengali:2438,aacute:225,aadeva:2310,aagujarati:2694,aagurmukhi:2566,aamatragurmukhi:2622,aarusquare:13059,aavowelsignbengali:2494,aavowelsigndeva:2366,aavowelsigngujarati:2750,abbreviationmarkarmenian:1375,abbreviationsigndeva:2416,abengali:2437,abopomofo:12570,abreve:259,abreveacute:7855,abrevecyrillic:1233,abrevedotbelow:7863,abrevegrave:7857,abrevehookabove:7859,abrevetilde:7861,acaron:462,acircle:9424,acircumflex:226,acircumflexacute:7845,acircumflexdotbelow:7853,acircumflexgrave:7847,acircumflexhookabove:7849,acircumflextilde:7851,acute:180,acutebelowcmb:791,acutecmb:769,acutecomb:769,acutedeva:2388,acutelowmod:719,acutetonecmb:833,acyrillic:1072,adblgrave:513,addakgurmukhi:2673,adeva:2309,adieresis:228,adieresiscyrillic:1235,adieresismacron:479,adotbelow:7841,adotmacron:481,ae:230,aeacute:509,aekorean:12624,aemacron:483,afii00208:8213,afii08941:8356,afii10017:1040,afii10018:1041,afii10019:1042,afii10020:1043,afii10021:1044,afii10022:1045,afii10023:1025,afii10024:1046,afii10025:1047,afii10026:1048,afii10027:1049,afii10028:1050,afii10029:1051,afii10030:1052,afii10031:1053,afii10032:1054,afii10033:1055,afii10034:1056,afii10035:1057,afii10036:1058,afii10037:1059,afii10038:1060,afii10039:1061,afii10040:1062,afii10041:1063,afii10042:1064,afii10043:1065,afii10044:1066,afii10045:1067,afii10046:1068,afii10047:1069,afii10048:1070,afii10049:1071,afii10050:1168,afii10051:1026,afii10052:1027,afii10053:1028,afii10054:1029,afii10055:1030,afii10056:1031,afii10057:1032,afii10058:1033,afii10059:1034,afii10060:1035,afii10061:1036,afii10062:1038,afii10063:63172,afii10064:63173,afii10065:1072,afii10066:1073,afii10067:1074,afii10068:1075,afii10069:1076,afii10070:1077,afii10071:1105,afii10072:1078,afii10073:1079,afii10074:1080,afii10075:1081,afii10076:1082,afii10077:1083,afii10078:1084,afii10079:1085,afii10080:1086,afii10081:1087,afii10082:1088,afii10083:1089,afii10084:1090,afii10085:1091,afii10086:1092,afii10087:1093,afii10088:1094,afii10089:1095,afii10090:1096,afii10091:1097,afii10092:1098,afii10093:1099,afii10094:1100,afii10095:1101,afii10096:1102,afii10097:1103,afii10098:1169,afii10099:1106,afii10100:1107,afii10101:1108,afii10102:1109,afii10103:1110,afii10104:1111,afii10105:1112,afii10106:1113,afii10107:1114,afii10108:1115,afii10109:1116,afii10110:1118,afii10145:1039,afii10146:1122,afii10147:1138,afii10148:1140,afii10192:63174,afii10193:1119,afii10194:1123,afii10195:1139,afii10196:1141,afii10831:63175,afii10832:63176,afii10846:1241,afii299:8206,afii300:8207,afii301:8205,afii57381:1642,afii57388:1548,afii57392:1632,afii57393:1633,afii57394:1634,afii57395:1635,afii57396:1636,afii57397:1637,afii57398:1638,afii57399:1639,afii57400:1640,afii57401:1641,afii57403:1563,afii57407:1567,afii57409:1569,afii57410:1570,afii57411:1571,afii57412:1572,afii57413:1573,afii57414:1574,afii57415:1575,afii57416:1576,afii57417:1577,afii57418:1578,afii57419:1579,afii57420:1580,afii57421:1581,afii57422:1582,afii57423:1583,afii57424:1584,afii57425:1585,afii57426:1586,afii57427:1587,afii57428:1588,afii57429:1589,afii57430:1590,afii57431:1591,afii57432:1592,afii57433:1593,afii57434:1594,afii57440:1600,afii57441:1601,afii57442:1602,afii57443:1603,afii57444:1604,afii57445:1605,afii57446:1606,afii57448:1608,afii57449:1609,afii57450:1610,afii57451:1611,afii57452:1612,afii57453:1613,afii57454:1614,afii57455:1615,afii57456:1616,afii57457:1617,afii57458:1618,afii57470:1607,afii57505:1700,afii57506:1662,afii57507:1670,afii57508:1688,afii57509:1711,afii57511:1657,afii57512:1672,afii57513:1681,afii57514:1722,afii57519:1746,afii57534:1749,afii57636:8362,afii57645:1470,afii57658:1475,afii57664:1488,afii57665:1489,afii57666:1490,afii57667:1491,afii57668:1492,afii57669:1493,afii57670:1494,afii57671:1495,afii57672:1496,afii57673:1497,afii57674:1498,afii57675:1499,afii57676:1500,afii57677:1501,afii57678:1502,afii57679:1503,afii57680:1504,afii57681:1505,afii57682:1506,afii57683:1507,afii57684:1508,afii57685:1509,afii57686:1510,afii57687:1511,afii57688:1512,afii57689:1513,afii57690:1514,afii57694:64298,afii57695:64299,afii57700:64331,afii57705:64287,afii57716:1520,afii57717:1521,afii57718:1522,afii57723:64309,afii57793:1460,afii57794:1461,afii57795:1462,afii57796:1467,afii57797:1464,afii57798:1463,afii57799:1456,afii57800:1458,afii57801:1457,afii57802:1459,afii57803:1474,afii57804:1473,afii57806:1465,afii57807:1468,afii57839:1469,afii57841:1471,afii57842:1472,afii57929:700,afii61248:8453,afii61289:8467,afii61352:8470,afii61573:8236,afii61574:8237,afii61575:8238,afii61664:8204,afii63167:1645,afii64937:701,agrave:224,agujarati:2693,agurmukhi:2565,ahiragana:12354,ahookabove:7843,aibengali:2448,aibopomofo:12574,aideva:2320,aiecyrillic:1237,aigujarati:2704,aigurmukhi:2576,aimatragurmukhi:2632,ainarabic:1593,ainfinalarabic:65226,aininitialarabic:65227,ainmedialarabic:65228,ainvertedbreve:515,aivowelsignbengali:2504,aivowelsigndeva:2376,aivowelsigngujarati:2760,akatakana:12450,akatakanahalfwidth:65393,akorean:12623,alef:1488,alefarabic:1575,alefdageshhebrew:64304,aleffinalarabic:65166,alefhamzaabovearabic:1571,alefhamzaabovefinalarabic:65156,alefhamzabelowarabic:1573,alefhamzabelowfinalarabic:65160,alefhebrew:1488,aleflamedhebrew:64335,alefmaddaabovearabic:1570,alefmaddaabovefinalarabic:65154,alefmaksuraarabic:1609,alefmaksurafinalarabic:65264,alefmaksurainitialarabic:65267,alefmaksuramedialarabic:65268,alefpatahhebrew:64302,alefqamatshebrew:64303,aleph:8501,allequal:8780,alpha:945,alphatonos:940,amacron:257,amonospace:65345,ampersand:38,ampersandmonospace:65286,ampersandsmall:63270,amsquare:13250,anbopomofo:12578,angbopomofo:12580,angbracketleft:12296,angbracketright:12297,angkhankhuthai:3674,angle:8736,anglebracketleft:12296,anglebracketleftvertical:65087,anglebracketright:12297,anglebracketrightvertical:65088,angleleft:9001,angleright:9002,angstrom:8491,anoteleia:903,anudattadeva:2386,anusvarabengali:2434,anusvaradeva:2306,anusvaragujarati:2690,aogonek:261,apaatosquare:13056,aparen:9372,apostrophearmenian:1370,apostrophemod:700,apple:63743,approaches:8784,approxequal:8776,approxequalorimage:8786,approximatelyequal:8773,araeaekorean:12686,araeakorean:12685,arc:8978,arighthalfring:7834,aring:229,aringacute:507,aringbelow:7681,arrowboth:8596,arrowdashdown:8675,arrowdashleft:8672,arrowdashright:8674,arrowdashup:8673,arrowdblboth:8660,arrowdbldown:8659,arrowdblleft:8656,arrowdblright:8658,arrowdblup:8657,arrowdown:8595,arrowdownleft:8601,arrowdownright:8600,arrowdownwhite:8681,arrowheaddownmod:709,arrowheadleftmod:706,arrowheadrightmod:707,arrowheadupmod:708,arrowhorizex:63719,arrowleft:8592,arrowleftdbl:8656,arrowleftdblstroke:8653,arrowleftoverright:8646,arrowleftwhite:8678,arrowright:8594,arrowrightdblstroke:8655,arrowrightheavy:10142,arrowrightoverleft:8644,arrowrightwhite:8680,arrowtableft:8676,arrowtabright:8677,arrowup:8593,arrowupdn:8597,arrowupdnbse:8616,arrowupdownbase:8616,arrowupleft:8598,arrowupleftofdown:8645,arrowupright:8599,arrowupwhite:8679,arrowvertex:63718,asciicircum:94,asciicircummonospace:65342,asciitilde:126,asciitildemonospace:65374,ascript:593,ascriptturned:594,asmallhiragana:12353,asmallkatakana:12449,asmallkatakanahalfwidth:65383,asterisk:42,asteriskaltonearabic:1645,asteriskarabic:1645,asteriskmath:8727,asteriskmonospace:65290,asterisksmall:65121,asterism:8258,asuperior:63209,asymptoticallyequal:8771,at:64,atilde:227,atmonospace:65312,atsmall:65131,aturned:592,aubengali:2452,aubopomofo:12576,audeva:2324,augujarati:2708,augurmukhi:2580,aulengthmarkbengali:2519,aumatragurmukhi:2636,auvowelsignbengali:2508,auvowelsigndeva:2380,auvowelsigngujarati:2764,avagrahadeva:2365,aybarmenian:1377,ayin:1506,ayinaltonehebrew:64288,ayinhebrew:1506,b:98,babengali:2476,backslash:92,backslashmonospace:65340,badeva:2348,bagujarati:2732,bagurmukhi:2604,bahiragana:12400,bahtthai:3647,bakatakana:12496,bar:124,barmonospace:65372,bbopomofo:12549,bcircle:9425,bdotaccent:7683,bdotbelow:7685,beamedsixteenthnotes:9836,because:8757,becyrillic:1073,beharabic:1576,behfinalarabic:65168,behinitialarabic:65169,behiragana:12409,behmedialarabic:65170,behmeeminitialarabic:64671,behmeemisolatedarabic:64520,behnoonfinalarabic:64621,bekatakana:12505,benarmenian:1378,bet:1489,beta:946,betasymbolgreek:976,betdagesh:64305,betdageshhebrew:64305,bethebrew:1489,betrafehebrew:64332,bhabengali:2477,bhadeva:2349,bhagujarati:2733,bhagurmukhi:2605,bhook:595,bihiragana:12403,bikatakana:12499,bilabialclick:664,bindigurmukhi:2562,birusquare:13105,blackcircle:9679,blackdiamond:9670,blackdownpointingtriangle:9660,blackleftpointingpointer:9668,blackleftpointingtriangle:9664,blacklenticularbracketleft:12304,blacklenticularbracketleftvertical:65083,blacklenticularbracketright:12305,blacklenticularbracketrightvertical:65084,blacklowerlefttriangle:9699,blacklowerrighttriangle:9698,blackrectangle:9644,blackrightpointingpointer:9658,blackrightpointingtriangle:9654,blacksmallsquare:9642,blacksmilingface:9787,blacksquare:9632,blackstar:9733,blackupperlefttriangle:9700,blackupperrighttriangle:9701,blackuppointingsmalltriangle:9652,blackuppointingtriangle:9650,blank:9251,blinebelow:7687,block:9608,bmonospace:65346,bobaimaithai:3610,bohiragana:12412,bokatakana:12508,bparen:9373,bqsquare:13251,braceex:63732,braceleft:123,braceleftbt:63731,braceleftmid:63730,braceleftmonospace:65371,braceleftsmall:65115,bracelefttp:63729,braceleftvertical:65079,braceright:125,bracerightbt:63742,bracerightmid:63741,bracerightmonospace:65373,bracerightsmall:65116,bracerighttp:63740,bracerightvertical:65080,bracketleft:91,bracketleftbt:63728,bracketleftex:63727,bracketleftmonospace:65339,bracketlefttp:63726,bracketright:93,bracketrightbt:63739,bracketrightex:63738,bracketrightmonospace:65341,bracketrighttp:63737,breve:728,brevebelowcmb:814,brevecmb:774,breveinvertedbelowcmb:815,breveinvertedcmb:785,breveinverteddoublecmb:865,bridgebelowcmb:810,bridgeinvertedbelowcmb:826,brokenbar:166,bstroke:384,bsuperior:63210,btopbar:387,buhiragana:12406,bukatakana:12502,bullet:8226,bulletinverse:9688,bulletoperator:8729,bullseye:9678,c:99,caarmenian:1390,cabengali:2458,cacute:263,cadeva:2330,cagujarati:2714,cagurmukhi:2586,calsquare:13192,candrabindubengali:2433,candrabinducmb:784,candrabindudeva:2305,candrabindugujarati:2689,capslock:8682,careof:8453,caron:711,caronbelowcmb:812,caroncmb:780,carriagereturn:8629,cbopomofo:12568,ccaron:269,ccedilla:231,ccedillaacute:7689,ccircle:9426,ccircumflex:265,ccurl:597,cdot:267,cdotaccent:267,cdsquare:13253,cedilla:184,cedillacmb:807,cent:162,centigrade:8451,centinferior:63199,centmonospace:65504,centoldstyle:63394,centsuperior:63200,chaarmenian:1401,chabengali:2459,chadeva:2331,chagujarati:2715,chagurmukhi:2587,chbopomofo:12564,cheabkhasiancyrillic:1213,checkmark:10003,checyrillic:1095,chedescenderabkhasiancyrillic:1215,chedescendercyrillic:1207,chedieresiscyrillic:1269,cheharmenian:1395,chekhakassiancyrillic:1228,cheverticalstrokecyrillic:1209,chi:967,chieuchacirclekorean:12919,chieuchaparenkorean:12823,chieuchcirclekorean:12905,chieuchkorean:12618,chieuchparenkorean:12809,chochangthai:3594,chochanthai:3592,chochingthai:3593,chochoethai:3596,chook:392,cieucacirclekorean:12918,cieucaparenkorean:12822,cieuccirclekorean:12904,cieuckorean:12616,cieucparenkorean:12808,cieucuparenkorean:12828,circle:9675,circlecopyrt:169,circlemultiply:8855,circleot:8857,circleplus:8853,circlepostalmark:12342,circlewithlefthalfblack:9680,circlewithrighthalfblack:9681,circumflex:710,circumflexbelowcmb:813,circumflexcmb:770,clear:8999,clickalveolar:450,clickdental:448,clicklateral:449,clickretroflex:451,club:9827,clubsuitblack:9827,clubsuitwhite:9831,cmcubedsquare:13220,cmonospace:65347,cmsquaredsquare:13216,coarmenian:1409,colon:58,colonmonetary:8353,colonmonospace:65306,colonsign:8353,colonsmall:65109,colontriangularhalfmod:721,colontriangularmod:720,comma:44,commaabovecmb:787,commaaboverightcmb:789,commaaccent:63171,commaarabic:1548,commaarmenian:1373,commainferior:63201,commamonospace:65292,commareversedabovecmb:788,commareversedmod:701,commasmall:65104,commasuperior:63202,commaturnedabovecmb:786,commaturnedmod:699,compass:9788,congruent:8773,contourintegral:8750,control:8963,controlACK:6,controlBEL:7,controlBS:8,controlCAN:24,controlCR:13,controlDC1:17,controlDC2:18,controlDC3:19,controlDC4:20,controlDEL:127,controlDLE:16,controlEM:25,controlENQ:5,controlEOT:4,controlESC:27,controlETB:23,controlETX:3,controlFF:12,controlFS:28,controlGS:29,controlHT:9,controlLF:10,controlNAK:21,controlRS:30,controlSI:15,controlSO:14,controlSOT:2,controlSTX:1,controlSUB:26,controlSYN:22,controlUS:31,controlVT:11,copyright:169,copyrightsans:63721,copyrightserif:63193,cornerbracketleft:12300,cornerbracketlefthalfwidth:65378,cornerbracketleftvertical:65089,cornerbracketright:12301,cornerbracketrighthalfwidth:65379,cornerbracketrightvertical:65090,corporationsquare:13183,cosquare:13255,coverkgsquare:13254,cparen:9374,cruzeiro:8354,cstretched:663,curlyand:8911,curlyor:8910,currency:164,cyrBreve:63185,cyrFlex:63186,cyrbreve:63188,cyrflex:63189,d:100,daarmenian:1380,dabengali:2470,dadarabic:1590,dadeva:2342,dadfinalarabic:65214,dadinitialarabic:65215,dadmedialarabic:65216,dagesh:1468,dageshhebrew:1468,dagger:8224,daggerdbl:8225,dagujarati:2726,dagurmukhi:2598,dahiragana:12384,dakatakana:12480,dalarabic:1583,dalet:1491,daletdagesh:64307,daletdageshhebrew:64307,dalethebrew:1491,dalfinalarabic:65194,dammaarabic:1615,dammalowarabic:1615,dammatanaltonearabic:1612,dammatanarabic:1612,danda:2404,dargahebrew:1447,dargalefthebrew:1447,dasiapneumatacyrilliccmb:1157,dblGrave:63187,dblanglebracketleft:12298,dblanglebracketleftvertical:65085,dblanglebracketright:12299,dblanglebracketrightvertical:65086,dblarchinvertedbelowcmb:811,dblarrowleft:8660,dblarrowright:8658,dbldanda:2405,dblgrave:63190,dblgravecmb:783,dblintegral:8748,dbllowline:8215,dbllowlinecmb:819,dbloverlinecmb:831,dblprimemod:698,dblverticalbar:8214,dblverticallineabovecmb:782,dbopomofo:12553,dbsquare:13256,dcaron:271,dcedilla:7697,dcircle:9427,dcircumflexbelow:7699,dcroat:273,ddabengali:2465,ddadeva:2337,ddagujarati:2721,ddagurmukhi:2593,ddalarabic:1672,ddalfinalarabic:64393,dddhadeva:2396,ddhabengali:2466,ddhadeva:2338,ddhagujarati:2722,ddhagurmukhi:2594,ddotaccent:7691,ddotbelow:7693,decimalseparatorarabic:1643,decimalseparatorpersian:1643,decyrillic:1076,degree:176,dehihebrew:1453,dehiragana:12391,deicoptic:1007,dekatakana:12487,deleteleft:9003,deleteright:8998,delta:948,deltaturned:397,denominatorminusonenumeratorbengali:2552,dezh:676,dhabengali:2471,dhadeva:2343,dhagujarati:2727,dhagurmukhi:2599,dhook:599,dialytikatonos:901,dialytikatonoscmb:836,diamond:9830,diamondsuitwhite:9826,dieresis:168,dieresisacute:63191,dieresisbelowcmb:804,dieresiscmb:776,dieresisgrave:63192,dieresistonos:901,dihiragana:12386,dikatakana:12482,dittomark:12291,divide:247,divides:8739,divisionslash:8725,djecyrillic:1106,dkshade:9619,dlinebelow:7695,dlsquare:13207,dmacron:273,dmonospace:65348,dnblock:9604,dochadathai:3598,dodekthai:3604,dohiragana:12393,dokatakana:12489,dollar:36,dollarinferior:63203,dollarmonospace:65284,dollaroldstyle:63268,dollarsmall:65129,dollarsuperior:63204,dong:8363,dorusquare:13094,dotaccent:729,dotaccentcmb:775,dotbelowcmb:803,dotbelowcomb:803,dotkatakana:12539,dotlessi:305,dotlessj:63166,dotlessjstrokehook:644,dotmath:8901,dottedcircle:9676,doubleyodpatah:64287,doubleyodpatahhebrew:64287,downtackbelowcmb:798,downtackmod:725,dparen:9375,dsuperior:63211,dtail:598,dtopbar:396,duhiragana:12389,dukatakana:12485,dz:499,dzaltone:675,dzcaron:454,dzcurl:677,dzeabkhasiancyrillic:1249,dzecyrillic:1109,dzhecyrillic:1119,e:101,eacute:233,earth:9793,ebengali:2447,ebopomofo:12572,ebreve:277,ecandradeva:2317,ecandragujarati:2701,ecandravowelsigndeva:2373,ecandravowelsigngujarati:2757,ecaron:283,ecedillabreve:7709,echarmenian:1381,echyiwnarmenian:1415,ecircle:9428,ecircumflex:234,ecircumflexacute:7871,ecircumflexbelow:7705,ecircumflexdotbelow:7879,ecircumflexgrave:7873,ecircumflexhookabove:7875,ecircumflextilde:7877,ecyrillic:1108,edblgrave:517,edeva:2319,edieresis:235,edot:279,edotaccent:279,edotbelow:7865,eegurmukhi:2575,eematragurmukhi:2631,efcyrillic:1092,egrave:232,egujarati:2703,eharmenian:1383,ehbopomofo:12573,ehiragana:12360,ehookabove:7867,eibopomofo:12575,eight:56,eightarabic:1640,eightbengali:2542,eightcircle:9319,eightcircleinversesansserif:10129,eightdeva:2414,eighteencircle:9329,eighteenparen:9349,eighteenperiod:9369,eightgujarati:2798,eightgurmukhi:2670,eighthackarabic:1640,eighthangzhou:12328,eighthnotebeamed:9835,eightideographicparen:12839,eightinferior:8328,eightmonospace:65304,eightoldstyle:63288,eightparen:9339,eightperiod:9359,eightpersian:1784,eightroman:8567,eightsuperior:8312,eightthai:3672,einvertedbreve:519,eiotifiedcyrillic:1125,ekatakana:12456,ekatakanahalfwidth:65396,ekonkargurmukhi:2676,ekorean:12628,elcyrillic:1083,element:8712,elevencircle:9322,elevenparen:9342,elevenperiod:9362,elevenroman:8570,ellipsis:8230,ellipsisvertical:8942,emacron:275,emacronacute:7703,emacrongrave:7701,emcyrillic:1084,emdash:8212,emdashvertical:65073,emonospace:65349,emphasismarkarmenian:1371,emptyset:8709,enbopomofo:12579,encyrillic:1085,endash:8211,endashvertical:65074,endescendercyrillic:1187,eng:331,engbopomofo:12581,enghecyrillic:1189,enhookcyrillic:1224,enspace:8194,eogonek:281,eokorean:12627,eopen:603,eopenclosed:666,eopenreversed:604,eopenreversedclosed:606,eopenreversedhook:605,eparen:9376,epsilon:949,epsilontonos:941,equal:61,equalmonospace:65309,equalsmall:65126,equalsuperior:8316,equivalence:8801,erbopomofo:12582,ercyrillic:1088,ereversed:600,ereversedcyrillic:1101,escyrillic:1089,esdescendercyrillic:1195,esh:643,eshcurl:646,eshortdeva:2318,eshortvowelsigndeva:2374,eshreversedloop:426,eshsquatreversed:645,esmallhiragana:12359,esmallkatakana:12455,esmallkatakanahalfwidth:65386,estimated:8494,esuperior:63212,eta:951,etarmenian:1384,etatonos:942,eth:240,etilde:7869,etildebelow:7707,etnahtafoukhhebrew:1425,etnahtafoukhlefthebrew:1425,etnahtahebrew:1425,etnahtalefthebrew:1425,eturned:477,eukorean:12641,euro:8364,evowelsignbengali:2503,evowelsigndeva:2375,evowelsigngujarati:2759,exclam:33,exclamarmenian:1372,exclamdbl:8252,exclamdown:161,exclamdownsmall:63393,exclammonospace:65281,exclamsmall:63265,existential:8707,ezh:658,ezhcaron:495,ezhcurl:659,ezhreversed:441,ezhtail:442,f:102,fadeva:2398,fagurmukhi:2654,fahrenheit:8457,fathaarabic:1614,fathalowarabic:1614,fathatanarabic:1611,fbopomofo:12552,fcircle:9429,fdotaccent:7711,feharabic:1601,feharmenian:1414,fehfinalarabic:65234,fehinitialarabic:65235,fehmedialarabic:65236,feicoptic:997,female:9792,ff:64256,ffi:64259,ffl:64260,fi:64257,fifteencircle:9326,fifteenparen:9346,fifteenperiod:9366,figuredash:8210,filledbox:9632,filledrect:9644,finalkaf:1498,finalkafdagesh:64314,finalkafdageshhebrew:64314,finalkafhebrew:1498,finalmem:1501,finalmemhebrew:1501,finalnun:1503,finalnunhebrew:1503,finalpe:1507,finalpehebrew:1507,finaltsadi:1509,finaltsadihebrew:1509,firsttonechinese:713,fisheye:9673,fitacyrillic:1139,five:53,fivearabic:1637,fivebengali:2539,fivecircle:9316,fivecircleinversesansserif:10126,fivedeva:2411,fiveeighths:8541,fivegujarati:2795,fivegurmukhi:2667,fivehackarabic:1637,fivehangzhou:12325,fiveideographicparen:12836,fiveinferior:8325,fivemonospace:65301,fiveoldstyle:63285,fiveparen:9336,fiveperiod:9356,fivepersian:1781,fiveroman:8564,fivesuperior:8309,fivethai:3669,fl:64258,florin:402,fmonospace:65350,fmsquare:13209,fofanthai:3615,fofathai:3613,fongmanthai:3663,forall:8704,four:52,fourarabic:1636,fourbengali:2538,fourcircle:9315,fourcircleinversesansserif:10125,fourdeva:2410,fourgujarati:2794,fourgurmukhi:2666,fourhackarabic:1636,fourhangzhou:12324,fourideographicparen:12835,fourinferior:8324,fourmonospace:65300,fournumeratorbengali:2551,fouroldstyle:63284,fourparen:9335,fourperiod:9355,fourpersian:1780,fourroman:8563,foursuperior:8308,fourteencircle:9325,fourteenparen:9345,fourteenperiod:9365,fourthai:3668,fourthtonechinese:715,fparen:9377,fraction:8260,franc:8355,g:103,gabengali:2455,gacute:501,gadeva:2327,gafarabic:1711,gaffinalarabic:64403,gafinitialarabic:64404,gafmedialarabic:64405,gagujarati:2711,gagurmukhi:2583,gahiragana:12364,gakatakana:12460,gamma:947,gammalatinsmall:611,gammasuperior:736,gangiacoptic:1003,gbopomofo:12557,gbreve:287,gcaron:487,gcedilla:291,gcircle:9430,gcircumflex:285,gcommaaccent:291,gdot:289,gdotaccent:289,gecyrillic:1075,gehiragana:12370,gekatakana:12466,geometricallyequal:8785,gereshaccenthebrew:1436,gereshhebrew:1523,gereshmuqdamhebrew:1437,germandbls:223,gershayimaccenthebrew:1438,gershayimhebrew:1524,getamark:12307,ghabengali:2456,ghadarmenian:1394,ghadeva:2328,ghagujarati:2712,ghagurmukhi:2584,ghainarabic:1594,ghainfinalarabic:65230,ghaininitialarabic:65231,ghainmedialarabic:65232,ghemiddlehookcyrillic:1173,ghestrokecyrillic:1171,gheupturncyrillic:1169,ghhadeva:2394,ghhagurmukhi:2650,ghook:608,ghzsquare:13203,gihiragana:12366,gikatakana:12462,gimarmenian:1379,gimel:1490,gimeldagesh:64306,gimeldageshhebrew:64306,gimelhebrew:1490,gjecyrillic:1107,glottalinvertedstroke:446,glottalstop:660,glottalstopinverted:662,glottalstopmod:704,glottalstopreversed:661,glottalstopreversedmod:705,glottalstopreversedsuperior:740,glottalstopstroke:673,glottalstopstrokereversed:674,gmacron:7713,gmonospace:65351,gohiragana:12372,gokatakana:12468,gparen:9378,gpasquare:13228,gradient:8711,grave:96,gravebelowcmb:790,gravecmb:768,gravecomb:768,gravedeva:2387,gravelowmod:718,gravemonospace:65344,gravetonecmb:832,greater:62,greaterequal:8805,greaterequalorless:8923,greatermonospace:65310,greaterorequivalent:8819,greaterorless:8823,greateroverequal:8807,greatersmall:65125,gscript:609,gstroke:485,guhiragana:12368,guillemotleft:171,guillemotright:187,guilsinglleft:8249,guilsinglright:8250,gukatakana:12464,guramusquare:13080,gysquare:13257,h:104,haabkhasiancyrillic:1193,haaltonearabic:1729,habengali:2489,hadescendercyrillic:1203,hadeva:2361,hagujarati:2745,hagurmukhi:2617,haharabic:1581,hahfinalarabic:65186,hahinitialarabic:65187,hahiragana:12399,hahmedialarabic:65188,haitusquare:13098,hakatakana:12495,hakatakanahalfwidth:65418,halantgurmukhi:2637,hamzaarabic:1569,hamzalowarabic:1569,hangulfiller:12644,hardsigncyrillic:1098,harpoonleftbarbup:8636,harpoonrightbarbup:8640,hasquare:13258,hatafpatah:1458,hatafpatah16:1458,hatafpatah23:1458,hatafpatah2f:1458, -hatafpatahhebrew:1458,hatafpatahnarrowhebrew:1458,hatafpatahquarterhebrew:1458,hatafpatahwidehebrew:1458,hatafqamats:1459,hatafqamats1b:1459,hatafqamats28:1459,hatafqamats34:1459,hatafqamatshebrew:1459,hatafqamatsnarrowhebrew:1459,hatafqamatsquarterhebrew:1459,hatafqamatswidehebrew:1459,hatafsegol:1457,hatafsegol17:1457,hatafsegol24:1457,hatafsegol30:1457,hatafsegolhebrew:1457,hatafsegolnarrowhebrew:1457,hatafsegolquarterhebrew:1457,hatafsegolwidehebrew:1457,hbar:295,hbopomofo:12559,hbrevebelow:7723,hcedilla:7721,hcircle:9431,hcircumflex:293,hdieresis:7719,hdotaccent:7715,hdotbelow:7717,he:1492,heart:9829,heartsuitblack:9829,heartsuitwhite:9825,hedagesh:64308,hedageshhebrew:64308,hehaltonearabic:1729,heharabic:1607,hehebrew:1492,hehfinalaltonearabic:64423,hehfinalalttwoarabic:65258,hehfinalarabic:65258,hehhamzaabovefinalarabic:64421,hehhamzaaboveisolatedarabic:64420,hehinitialaltonearabic:64424,hehinitialarabic:65259,hehiragana:12408,hehmedialaltonearabic:64425,hehmedialarabic:65260,heiseierasquare:13179,hekatakana:12504,hekatakanahalfwidth:65421,hekutaarusquare:13110,henghook:615,herutusquare:13113,het:1495,hethebrew:1495,hhook:614,hhooksuperior:689,hieuhacirclekorean:12923,hieuhaparenkorean:12827,hieuhcirclekorean:12909,hieuhkorean:12622,hieuhparenkorean:12813,hihiragana:12402,hikatakana:12498,hikatakanahalfwidth:65419,hiriq:1460,hiriq14:1460,hiriq21:1460,hiriq2d:1460,hiriqhebrew:1460,hiriqnarrowhebrew:1460,hiriqquarterhebrew:1460,hiriqwidehebrew:1460,hlinebelow:7830,hmonospace:65352,hoarmenian:1392,hohipthai:3627,hohiragana:12411,hokatakana:12507,hokatakanahalfwidth:65422,holam:1465,holam19:1465,holam26:1465,holam32:1465,holamhebrew:1465,holamnarrowhebrew:1465,holamquarterhebrew:1465,holamwidehebrew:1465,honokhukthai:3630,hookabovecomb:777,hookcmb:777,hookpalatalizedbelowcmb:801,hookretroflexbelowcmb:802,hoonsquare:13122,horicoptic:1001,horizontalbar:8213,horncmb:795,hotsprings:9832,house:8962,hparen:9379,hsuperior:688,hturned:613,huhiragana:12405,huiitosquare:13107,hukatakana:12501,hukatakanahalfwidth:65420,hungarumlaut:733,hungarumlautcmb:779,hv:405,hyphen:45,hypheninferior:63205,hyphenmonospace:65293,hyphensmall:65123,hyphensuperior:63206,hyphentwo:8208,i:105,iacute:237,iacyrillic:1103,ibengali:2439,ibopomofo:12583,ibreve:301,icaron:464,icircle:9432,icircumflex:238,icyrillic:1110,idblgrave:521,ideographearthcircle:12943,ideographfirecircle:12939,ideographicallianceparen:12863,ideographiccallparen:12858,ideographiccentrecircle:12965,ideographicclose:12294,ideographiccomma:12289,ideographiccommaleft:65380,ideographiccongratulationparen:12855,ideographiccorrectcircle:12963,ideographicearthparen:12847,ideographicenterpriseparen:12861,ideographicexcellentcircle:12957,ideographicfestivalparen:12864,ideographicfinancialcircle:12950,ideographicfinancialparen:12854,ideographicfireparen:12843,ideographichaveparen:12850,ideographichighcircle:12964,ideographiciterationmark:12293,ideographiclaborcircle:12952,ideographiclaborparen:12856,ideographicleftcircle:12967,ideographiclowcircle:12966,ideographicmedicinecircle:12969,ideographicmetalparen:12846,ideographicmoonparen:12842,ideographicnameparen:12852,ideographicperiod:12290,ideographicprintcircle:12958,ideographicreachparen:12867,ideographicrepresentparen:12857,ideographicresourceparen:12862,ideographicrightcircle:12968,ideographicsecretcircle:12953,ideographicselfparen:12866,ideographicsocietyparen:12851,ideographicspace:12288,ideographicspecialparen:12853,ideographicstockparen:12849,ideographicstudyparen:12859,ideographicsunparen:12848,ideographicsuperviseparen:12860,ideographicwaterparen:12844,ideographicwoodparen:12845,ideographiczero:12295,ideographmetalcircle:12942,ideographmooncircle:12938,ideographnamecircle:12948,ideographsuncircle:12944,ideographwatercircle:12940,ideographwoodcircle:12941,ideva:2311,idieresis:239,idieresisacute:7727,idieresiscyrillic:1253,idotbelow:7883,iebrevecyrillic:1239,iecyrillic:1077,ieungacirclekorean:12917,ieungaparenkorean:12821,ieungcirclekorean:12903,ieungkorean:12615,ieungparenkorean:12807,igrave:236,igujarati:2695,igurmukhi:2567,ihiragana:12356,ihookabove:7881,iibengali:2440,iicyrillic:1080,iideva:2312,iigujarati:2696,iigurmukhi:2568,iimatragurmukhi:2624,iinvertedbreve:523,iishortcyrillic:1081,iivowelsignbengali:2496,iivowelsigndeva:2368,iivowelsigngujarati:2752,ij:307,ikatakana:12452,ikatakanahalfwidth:65394,ikorean:12643,ilde:732,iluyhebrew:1452,imacron:299,imacroncyrillic:1251,imageorapproximatelyequal:8787,imatragurmukhi:2623,imonospace:65353,increment:8710,infinity:8734,iniarmenian:1387,integral:8747,integralbottom:8993,integralbt:8993,integralex:63733,integraltop:8992,integraltp:8992,intersection:8745,intisquare:13061,invbullet:9688,invcircle:9689,invsmileface:9787,iocyrillic:1105,iogonek:303,iota:953,iotadieresis:970,iotadieresistonos:912,iotalatin:617,iotatonos:943,iparen:9380,irigurmukhi:2674,ismallhiragana:12355,ismallkatakana:12451,ismallkatakanahalfwidth:65384,issharbengali:2554,istroke:616,isuperior:63213,iterationhiragana:12445,iterationkatakana:12541,itilde:297,itildebelow:7725,iubopomofo:12585,iucyrillic:1102,ivowelsignbengali:2495,ivowelsigndeva:2367,ivowelsigngujarati:2751,izhitsacyrillic:1141,izhitsadblgravecyrillic:1143,j:106,jaarmenian:1393,jabengali:2460,jadeva:2332,jagujarati:2716,jagurmukhi:2588,jbopomofo:12560,jcaron:496,jcircle:9433,jcircumflex:309,jcrossedtail:669,jdotlessstroke:607,jecyrillic:1112,jeemarabic:1580,jeemfinalarabic:65182,jeeminitialarabic:65183,jeemmedialarabic:65184,jeharabic:1688,jehfinalarabic:64395,jhabengali:2461,jhadeva:2333,jhagujarati:2717,jhagurmukhi:2589,jheharmenian:1403,jis:12292,jmonospace:65354,jparen:9381,jsuperior:690,k:107,kabashkircyrillic:1185,kabengali:2453,kacute:7729,kacyrillic:1082,kadescendercyrillic:1179,kadeva:2325,kaf:1499,kafarabic:1603,kafdagesh:64315,kafdageshhebrew:64315,kaffinalarabic:65242,kafhebrew:1499,kafinitialarabic:65243,kafmedialarabic:65244,kafrafehebrew:64333,kagujarati:2709,kagurmukhi:2581,kahiragana:12363,kahookcyrillic:1220,kakatakana:12459,kakatakanahalfwidth:65398,kappa:954,kappasymbolgreek:1008,kapyeounmieumkorean:12657,kapyeounphieuphkorean:12676,kapyeounpieupkorean:12664,kapyeounssangpieupkorean:12665,karoriisquare:13069,kashidaautoarabic:1600,kashidaautonosidebearingarabic:1600,kasmallkatakana:12533,kasquare:13188,kasraarabic:1616,kasratanarabic:1613,kastrokecyrillic:1183,katahiraprolongmarkhalfwidth:65392,kaverticalstrokecyrillic:1181,kbopomofo:12558,kcalsquare:13193,kcaron:489,kcedilla:311,kcircle:9434,kcommaaccent:311,kdotbelow:7731,keharmenian:1412,kehiragana:12369,kekatakana:12465,kekatakanahalfwidth:65401,kenarmenian:1391,kesmallkatakana:12534,kgreenlandic:312,khabengali:2454,khacyrillic:1093,khadeva:2326,khagujarati:2710,khagurmukhi:2582,khaharabic:1582,khahfinalarabic:65190,khahinitialarabic:65191,khahmedialarabic:65192,kheicoptic:999,khhadeva:2393,khhagurmukhi:2649,khieukhacirclekorean:12920,khieukhaparenkorean:12824,khieukhcirclekorean:12906,khieukhkorean:12619,khieukhparenkorean:12810,khokhaithai:3586,khokhonthai:3589,khokhuatthai:3587,khokhwaithai:3588,khomutthai:3675,khook:409,khorakhangthai:3590,khzsquare:13201,kihiragana:12365,kikatakana:12461,kikatakanahalfwidth:65399,kiroguramusquare:13077,kiromeetorusquare:13078,kirosquare:13076,kiyeokacirclekorean:12910,kiyeokaparenkorean:12814,kiyeokcirclekorean:12896,kiyeokkorean:12593,kiyeokparenkorean:12800,kiyeoksioskorean:12595,kjecyrillic:1116,klinebelow:7733,klsquare:13208,kmcubedsquare:13222,kmonospace:65355,kmsquaredsquare:13218,kohiragana:12371,kohmsquare:13248,kokaithai:3585,kokatakana:12467,kokatakanahalfwidth:65402,kooposquare:13086,koppacyrillic:1153,koreanstandardsymbol:12927,koroniscmb:835,kparen:9382,kpasquare:13226,ksicyrillic:1135,ktsquare:13263,kturned:670,kuhiragana:12367,kukatakana:12463,kukatakanahalfwidth:65400,kvsquare:13240,kwsquare:13246,l:108,labengali:2482,lacute:314,ladeva:2354,lagujarati:2738,lagurmukhi:2610,lakkhangyaothai:3653,lamaleffinalarabic:65276,lamalefhamzaabovefinalarabic:65272,lamalefhamzaaboveisolatedarabic:65271,lamalefhamzabelowfinalarabic:65274,lamalefhamzabelowisolatedarabic:65273,lamalefisolatedarabic:65275,lamalefmaddaabovefinalarabic:65270,lamalefmaddaaboveisolatedarabic:65269,lamarabic:1604,lambda:955,lambdastroke:411,lamed:1500,lameddagesh:64316,lameddageshhebrew:64316,lamedhebrew:1500,lamfinalarabic:65246,lamhahinitialarabic:64714,laminitialarabic:65247,lamjeeminitialarabic:64713,lamkhahinitialarabic:64715,lamlamhehisolatedarabic:65010,lammedialarabic:65248,lammeemhahinitialarabic:64904,lammeeminitialarabic:64716,largecircle:9711,lbar:410,lbelt:620,lbopomofo:12556,lcaron:318,lcedilla:316,lcircle:9435,lcircumflexbelow:7741,lcommaaccent:316,ldot:320,ldotaccent:320,ldotbelow:7735,ldotbelowmacron:7737,leftangleabovecmb:794,lefttackbelowcmb:792,less:60,lessequal:8804,lessequalorgreater:8922,lessmonospace:65308,lessorequivalent:8818,lessorgreater:8822,lessoverequal:8806,lesssmall:65124,lezh:622,lfblock:9612,lhookretroflex:621,lira:8356,liwnarmenian:1388,lj:457,ljecyrillic:1113,ll:63168,lladeva:2355,llagujarati:2739,llinebelow:7739,llladeva:2356,llvocalicbengali:2529,llvocalicdeva:2401,llvocalicvowelsignbengali:2531,llvocalicvowelsigndeva:2403,lmiddletilde:619,lmonospace:65356,lmsquare:13264,lochulathai:3628,logicaland:8743,logicalnot:172,logicalnotreversed:8976,logicalor:8744,lolingthai:3621,longs:383,lowlinecenterline:65102,lowlinecmb:818,lowlinedashed:65101,lozenge:9674,lparen:9383,lslash:322,lsquare:8467,lsuperior:63214,ltshade:9617,luthai:3622,lvocalicbengali:2444,lvocalicdeva:2316,lvocalicvowelsignbengali:2530,lvocalicvowelsigndeva:2402,lxsquare:13267,m:109,mabengali:2478,macron:175,macronbelowcmb:817,macroncmb:772,macronlowmod:717,macronmonospace:65507,macute:7743,madeva:2350,magujarati:2734,magurmukhi:2606,mahapakhhebrew:1444,mahapakhlefthebrew:1444,mahiragana:12414,maichattawalowleftthai:63637,maichattawalowrightthai:63636,maichattawathai:3659,maichattawaupperleftthai:63635,maieklowleftthai:63628,maieklowrightthai:63627,maiekthai:3656,maiekupperleftthai:63626,maihanakatleftthai:63620,maihanakatthai:3633,maitaikhuleftthai:63625,maitaikhuthai:3655,maitholowleftthai:63631,maitholowrightthai:63630,maithothai:3657,maithoupperleftthai:63629,maitrilowleftthai:63634,maitrilowrightthai:63633,maitrithai:3658,maitriupperleftthai:63632,maiyamokthai:3654,makatakana:12510,makatakanahalfwidth:65423,male:9794,mansyonsquare:13127,maqafhebrew:1470,mars:9794,masoracirclehebrew:1455,masquare:13187,mbopomofo:12551,mbsquare:13268,mcircle:9436,mcubedsquare:13221,mdotaccent:7745,mdotbelow:7747,meemarabic:1605,meemfinalarabic:65250,meeminitialarabic:65251,meemmedialarabic:65252,meemmeeminitialarabic:64721,meemmeemisolatedarabic:64584,meetorusquare:13133,mehiragana:12417,meizierasquare:13182,mekatakana:12513,mekatakanahalfwidth:65426,mem:1502,memdagesh:64318,memdageshhebrew:64318,memhebrew:1502,menarmenian:1396,merkhahebrew:1445,merkhakefulahebrew:1446,merkhakefulalefthebrew:1446,merkhalefthebrew:1445,mhook:625,mhzsquare:13202,middledotkatakanahalfwidth:65381,middot:183,mieumacirclekorean:12914,mieumaparenkorean:12818,mieumcirclekorean:12900,mieumkorean:12609,mieumpansioskorean:12656,mieumparenkorean:12804,mieumpieupkorean:12654,mieumsioskorean:12655,mihiragana:12415,mikatakana:12511,mikatakanahalfwidth:65424,minus:8722,minusbelowcmb:800,minuscircle:8854,minusmod:727,minusplus:8723,minute:8242,miribaarusquare:13130,mirisquare:13129,mlonglegturned:624,mlsquare:13206,mmcubedsquare:13219,mmonospace:65357,mmsquaredsquare:13215,mohiragana:12418,mohmsquare:13249,mokatakana:12514,mokatakanahalfwidth:65427,molsquare:13270,momathai:3617,moverssquare:13223,moverssquaredsquare:13224,mparen:9384,mpasquare:13227,mssquare:13235,msuperior:63215,mturned:623,mu:181,mu1:181,muasquare:13186,muchgreater:8811,muchless:8810,mufsquare:13196,mugreek:956,mugsquare:13197,muhiragana:12416,mukatakana:12512,mukatakanahalfwidth:65425,mulsquare:13205,multiply:215,mumsquare:13211,munahhebrew:1443,munahlefthebrew:1443,musicalnote:9834,musicalnotedbl:9835,musicflatsign:9837,musicsharpsign:9839,mussquare:13234,muvsquare:13238,muwsquare:13244,mvmegasquare:13241,mvsquare:13239,mwmegasquare:13247,mwsquare:13245,n:110,nabengali:2472,nabla:8711,nacute:324,nadeva:2344,nagujarati:2728,nagurmukhi:2600,nahiragana:12394,nakatakana:12490,nakatakanahalfwidth:65413,napostrophe:329,nasquare:13185,nbopomofo:12555,nbspace:160,ncaron:328,ncedilla:326,ncircle:9437,ncircumflexbelow:7755,ncommaaccent:326,ndotaccent:7749,ndotbelow:7751,nehiragana:12397,nekatakana:12493,nekatakanahalfwidth:65416,newsheqelsign:8362,nfsquare:13195,ngabengali:2457,ngadeva:2329,ngagujarati:2713,ngagurmukhi:2585,ngonguthai:3591,nhiragana:12435,nhookleft:626,nhookretroflex:627,nieunacirclekorean:12911,nieunaparenkorean:12815,nieuncieuckorean:12597,nieuncirclekorean:12897,nieunhieuhkorean:12598,nieunkorean:12596,nieunpansioskorean:12648,nieunparenkorean:12801,nieunsioskorean:12647,nieuntikeutkorean:12646,nihiragana:12395,nikatakana:12491,nikatakanahalfwidth:65414,nikhahitleftthai:63641,nikhahitthai:3661,nine:57,ninearabic:1641,ninebengali:2543,ninecircle:9320,ninecircleinversesansserif:10130,ninedeva:2415,ninegujarati:2799,ninegurmukhi:2671,ninehackarabic:1641,ninehangzhou:12329,nineideographicparen:12840,nineinferior:8329,ninemonospace:65305,nineoldstyle:63289,nineparen:9340,nineperiod:9360,ninepersian:1785,nineroman:8568,ninesuperior:8313,nineteencircle:9330,nineteenparen:9350,nineteenperiod:9370,ninethai:3673,nj:460,njecyrillic:1114,nkatakana:12531,nkatakanahalfwidth:65437,nlegrightlong:414,nlinebelow:7753,nmonospace:65358,nmsquare:13210,nnabengali:2467,nnadeva:2339,nnagujarati:2723,nnagurmukhi:2595,nnnadeva:2345,nohiragana:12398,nokatakana:12494,nokatakanahalfwidth:65417,nonbreakingspace:160,nonenthai:3603,nonuthai:3609,noonarabic:1606,noonfinalarabic:65254,noonghunnaarabic:1722,noonghunnafinalarabic:64415,nooninitialarabic:65255,noonjeeminitialarabic:64722,noonjeemisolatedarabic:64587,noonmedialarabic:65256,noonmeeminitialarabic:64725,noonmeemisolatedarabic:64590,noonnoonfinalarabic:64653,notcontains:8716,notelement:8713,notelementof:8713,notequal:8800,notgreater:8815,notgreaternorequal:8817,notgreaternorless:8825,notidentical:8802,notless:8814,notlessnorequal:8816,notparallel:8742,notprecedes:8832,notsubset:8836,notsucceeds:8833,notsuperset:8837,nowarmenian:1398,nparen:9385,nssquare:13233,nsuperior:8319,ntilde:241,nu:957,nuhiragana:12396,nukatakana:12492,nukatakanahalfwidth:65415,nuktabengali:2492,nuktadeva:2364,nuktagujarati:2748,nuktagurmukhi:2620,numbersign:35,numbersignmonospace:65283,numbersignsmall:65119,numeralsigngreek:884,numeralsignlowergreek:885,numero:8470,nun:1504,nundagesh:64320,nundageshhebrew:64320,nunhebrew:1504,nvsquare:13237,nwsquare:13243,nyabengali:2462,nyadeva:2334,nyagujarati:2718,nyagurmukhi:2590,o:111,oacute:243,oangthai:3629,obarred:629,obarredcyrillic:1257,obarreddieresiscyrillic:1259,obengali:2451,obopomofo:12571,obreve:335,ocandradeva:2321,ocandragujarati:2705,ocandravowelsigndeva:2377,ocandravowelsigngujarati:2761,ocaron:466,ocircle:9438,ocircumflex:244,ocircumflexacute:7889,ocircumflexdotbelow:7897,ocircumflexgrave:7891,ocircumflexhookabove:7893,ocircumflextilde:7895,ocyrillic:1086,odblacute:337,odblgrave:525,odeva:2323,odieresis:246,odieresiscyrillic:1255,odotbelow:7885,oe:339,oekorean:12634,ogonek:731,ogonekcmb:808,ograve:242,ogujarati:2707,oharmenian:1413,ohiragana:12362,ohookabove:7887,ohorn:417,ohornacute:7899,ohorndotbelow:7907,ohorngrave:7901,ohornhookabove:7903,ohorntilde:7905,ohungarumlaut:337,oi:419,oinvertedbreve:527,okatakana:12458,okatakanahalfwidth:65397,okorean:12631,olehebrew:1451,omacron:333,omacronacute:7763,omacrongrave:7761,omdeva:2384,omega:969,omega1:982,omegacyrillic:1121,omegalatinclosed:631,omegaroundcyrillic:1147,omegatitlocyrillic:1149,omegatonos:974,omgujarati:2768,omicron:959,omicrontonos:972,omonospace:65359,one:49,onearabic:1633,onebengali:2535,onecircle:9312,onecircleinversesansserif:10122,onedeva:2407,onedotenleader:8228,oneeighth:8539,onefitted:63196,onegujarati:2791,onegurmukhi:2663,onehackarabic:1633,onehalf:189,onehangzhou:12321,oneideographicparen:12832,oneinferior:8321,onemonospace:65297,onenumeratorbengali:2548,oneoldstyle:63281,oneparen:9332,oneperiod:9352,onepersian:1777,onequarter:188,oneroman:8560,onesuperior:185,onethai:3665,onethird:8531,oogonek:491,oogonekmacron:493,oogurmukhi:2579,oomatragurmukhi:2635,oopen:596,oparen:9386,openbullet:9702,option:8997,ordfeminine:170,ordmasculine:186,orthogonal:8735,oshortdeva:2322,oshortvowelsigndeva:2378,oslash:248,oslashacute:511,osmallhiragana:12361,osmallkatakana:12457,osmallkatakanahalfwidth:65387,ostrokeacute:511,osuperior:63216,otcyrillic:1151,otilde:245,otildeacute:7757,otildedieresis:7759,oubopomofo:12577,overline:8254,overlinecenterline:65098,overlinecmb:773,overlinedashed:65097,overlinedblwavy:65100,overlinewavy:65099,overscore:175,ovowelsignbengali:2507,ovowelsigndeva:2379,ovowelsigngujarati:2763,p:112,paampssquare:13184,paasentosquare:13099,pabengali:2474,pacute:7765,padeva:2346,pagedown:8671,pageup:8670,pagujarati:2730,pagurmukhi:2602,pahiragana:12401,paiyannoithai:3631,pakatakana:12497,palatalizationcyrilliccmb:1156,palochkacyrillic:1216,pansioskorean:12671,paragraph:182,parallel:8741,parenleft:40,parenleftaltonearabic:64830,parenleftbt:63725,parenleftex:63724,parenleftinferior:8333,parenleftmonospace:65288,parenleftsmall:65113,parenleftsuperior:8317,parenlefttp:63723,parenleftvertical:65077,parenright:41,parenrightaltonearabic:64831,parenrightbt:63736,parenrightex:63735,parenrightinferior:8334,parenrightmonospace:65289,parenrightsmall:65114,parenrightsuperior:8318,parenrighttp:63734,parenrightvertical:65078,partialdiff:8706,paseqhebrew:1472,pashtahebrew:1433,pasquare:13225,patah:1463,patah11:1463,patah1d:1463,patah2a:1463,patahhebrew:1463,patahnarrowhebrew:1463,patahquarterhebrew:1463,patahwidehebrew:1463,pazerhebrew:1441,pbopomofo:12550,pcircle:9439,pdotaccent:7767,pe:1508,pecyrillic:1087,pedagesh:64324,pedageshhebrew:64324,peezisquare:13115,pefinaldageshhebrew:64323,peharabic:1662,peharmenian:1402,pehebrew:1508,pehfinalarabic:64343,pehinitialarabic:64344,pehiragana:12410,pehmedialarabic:64345,pekatakana:12506,pemiddlehookcyrillic:1191,perafehebrew:64334,percent:37,percentarabic:1642,percentmonospace:65285,percentsmall:65130,period:46,periodarmenian:1417,periodcentered:183,periodhalfwidth:65377,periodinferior:63207,periodmonospace:65294,periodsmall:65106,periodsuperior:63208,perispomenigreekcmb:834,perpendicular:8869,perthousand:8240,peseta:8359,pfsquare:13194,phabengali:2475,phadeva:2347,phagujarati:2731,phagurmukhi:2603,phi:966,phi1:981,phieuphacirclekorean:12922,phieuphaparenkorean:12826,phieuphcirclekorean:12908,phieuphkorean:12621,phieuphparenkorean:12812,philatin:632,phinthuthai:3642,phisymbolgreek:981,phook:421,phophanthai:3614,phophungthai:3612,phosamphaothai:3616,pi:960,pieupacirclekorean:12915,pieupaparenkorean:12819,pieupcieuckorean:12662,pieupcirclekorean:12901,pieupkiyeokkorean:12658,pieupkorean:12610,pieupparenkorean:12805,pieupsioskiyeokkorean:12660,pieupsioskorean:12612,pieupsiostikeutkorean:12661,pieupthieuthkorean:12663,pieuptikeutkorean:12659,pihiragana:12404,pikatakana:12500,pisymbolgreek:982,piwrarmenian:1411,plus:43,plusbelowcmb:799,pluscircle:8853,plusminus:177,plusmod:726,plusmonospace:65291,plussmall:65122,plussuperior:8314,pmonospace:65360,pmsquare:13272,pohiragana:12413,pointingindexdownwhite:9759,pointingindexleftwhite:9756,pointingindexrightwhite:9758,pointingindexupwhite:9757,pokatakana:12509,poplathai:3611,postalmark:12306,postalmarkface:12320,pparen:9387,precedes:8826,prescription:8478,primemod:697,primereversed:8245,product:8719,projective:8965,prolongedkana:12540,propellor:8984,propersubset:8834,propersuperset:8835,proportion:8759,proportional:8733,psi:968,psicyrillic:1137,psilipneumatacyrilliccmb:1158,pssquare:13232,puhiragana:12407,pukatakana:12503,pvsquare:13236,pwsquare:13242,q:113,qadeva:2392,qadmahebrew:1448,qafarabic:1602,qaffinalarabic:65238,qafinitialarabic:65239,qafmedialarabic:65240,qamats:1464,qamats10:1464,qamats1a:1464,qamats1c:1464,qamats27:1464,qamats29:1464,qamats33:1464,qamatsde:1464,qamatshebrew:1464,qamatsnarrowhebrew:1464,qamatsqatanhebrew:1464,qamatsqatannarrowhebrew:1464,qamatsqatanquarterhebrew:1464,qamatsqatanwidehebrew:1464,qamatsquarterhebrew:1464,qamatswidehebrew:1464,qarneyparahebrew:1439,qbopomofo:12561,qcircle:9440,qhook:672,qmonospace:65361,qof:1511,qofdagesh:64327,qofdageshhebrew:64327,qofhebrew:1511,qparen:9388,quarternote:9833,qubuts:1467,qubuts18:1467,qubuts25:1467,qubuts31:1467,qubutshebrew:1467,qubutsnarrowhebrew:1467,qubutsquarterhebrew:1467,qubutswidehebrew:1467,question:63,questionarabic:1567,questionarmenian:1374,questiondown:191,questiondownsmall:63423,questiongreek:894,questionmonospace:65311,questionsmall:63295,quotedbl:34,quotedblbase:8222,quotedblleft:8220,quotedblmonospace:65282,quotedblprime:12318,quotedblprimereversed:12317,quotedblright:8221,quoteleft:8216,quoteleftreversed:8219,quotereversed:8219,quoteright:8217,quoterightn:329,quotesinglbase:8218,quotesingle:39,quotesinglemonospace:65287,r:114,raarmenian:1404,rabengali:2480,racute:341,radeva:2352,radical:8730,radicalex:63717,radoverssquare:13230,radoverssquaredsquare:13231,radsquare:13229,rafe:1471,rafehebrew:1471,ragujarati:2736,ragurmukhi:2608,rahiragana:12425,rakatakana:12521,rakatakanahalfwidth:65431,ralowerdiagonalbengali:2545,ramiddlediagonalbengali:2544,ramshorn:612,ratio:8758,rbopomofo:12566,rcaron:345,rcedilla:343,rcircle:9441,rcommaaccent:343,rdblgrave:529,rdotaccent:7769,rdotbelow:7771,rdotbelowmacron:7773,referencemark:8251,reflexsubset:8838,reflexsuperset:8839,registered:174,registersans:63720,registerserif:63194,reharabic:1585,reharmenian:1408,rehfinalarabic:65198,rehiragana:12428,rekatakana:12524,rekatakanahalfwidth:65434,resh:1512,reshdageshhebrew:64328,reshhebrew:1512,reversedtilde:8765,reviahebrew:1431,reviamugrashhebrew:1431,revlogicalnot:8976,rfishhook:638,rfishhookreversed:639,rhabengali:2525,rhadeva:2397,rho:961,rhook:637,rhookturned:635,rhookturnedsuperior:693,rhosymbolgreek:1009,rhotichookmod:734,rieulacirclekorean:12913,rieulaparenkorean:12817,rieulcirclekorean:12899,rieulhieuhkorean:12608,rieulkiyeokkorean:12602,rieulkiyeoksioskorean:12649,rieulkorean:12601,rieulmieumkorean:12603,rieulpansioskorean:12652,rieulparenkorean:12803,rieulphieuphkorean:12607,rieulpieupkorean:12604,rieulpieupsioskorean:12651,rieulsioskorean:12605,rieulthieuthkorean:12606,rieultikeutkorean:12650,rieulyeorinhieuhkorean:12653,rightangle:8735,righttackbelowcmb:793,righttriangle:8895,rihiragana:12426,rikatakana:12522,rikatakanahalfwidth:65432,ring:730,ringbelowcmb:805,ringcmb:778,ringhalfleft:703,ringhalfleftarmenian:1369,ringhalfleftbelowcmb:796,ringhalfleftcentered:723,ringhalfright:702,ringhalfrightbelowcmb:825,ringhalfrightcentered:722,rinvertedbreve:531,rittorusquare:13137,rlinebelow:7775,rlongleg:636,rlonglegturned:634,rmonospace:65362,rohiragana:12429,rokatakana:12525,rokatakanahalfwidth:65435,roruathai:3619,rparen:9389,rrabengali:2524,rradeva:2353,rragurmukhi:2652,rreharabic:1681,rrehfinalarabic:64397,rrvocalicbengali:2528,rrvocalicdeva:2400,rrvocalicgujarati:2784,rrvocalicvowelsignbengali:2500,rrvocalicvowelsigndeva:2372,rrvocalicvowelsigngujarati:2756,rsuperior:63217,rtblock:9616,rturned:633,rturnedsuperior:692,ruhiragana:12427,rukatakana:12523,rukatakanahalfwidth:65433,rupeemarkbengali:2546,rupeesignbengali:2547,rupiah:63197,ruthai:3620,rvocalicbengali:2443,rvocalicdeva:2315,rvocalicgujarati:2699,rvocalicvowelsignbengali:2499,rvocalicvowelsigndeva:2371,rvocalicvowelsigngujarati:2755,s:115,sabengali:2488,sacute:347,sacutedotaccent:7781,sadarabic:1589,sadeva:2360,sadfinalarabic:65210,sadinitialarabic:65211,sadmedialarabic:65212,sagujarati:2744,sagurmukhi:2616,sahiragana:12373,sakatakana:12469,sakatakanahalfwidth:65403,sallallahoualayhewasallamarabic:65018,samekh:1505,samekhdagesh:64321,samekhdageshhebrew:64321,samekhhebrew:1505,saraaathai:3634,saraaethai:3649,saraaimaimalaithai:3652,saraaimaimuanthai:3651,saraamthai:3635,saraathai:3632,saraethai:3648,saraiileftthai:63622,saraiithai:3637,saraileftthai:63621,saraithai:3636,saraothai:3650,saraueeleftthai:63624,saraueethai:3639,saraueleftthai:63623,sarauethai:3638,sarauthai:3640,sarauuthai:3641,sbopomofo:12569,scaron:353,scarondotaccent:7783,scedilla:351,schwa:601,schwacyrillic:1241,schwadieresiscyrillic:1243,schwahook:602,scircle:9442,scircumflex:349,scommaaccent:537,sdotaccent:7777,sdotbelow:7779,sdotbelowdotaccent:7785,seagullbelowcmb:828,second:8243,secondtonechinese:714,section:167,seenarabic:1587,seenfinalarabic:65202,seeninitialarabic:65203,seenmedialarabic:65204,segol:1462,segol13:1462,segol1f:1462,segol2c:1462,segolhebrew:1462,segolnarrowhebrew:1462,segolquarterhebrew:1462,segoltahebrew:1426,segolwidehebrew:1462,seharmenian:1405,sehiragana:12379,sekatakana:12475,sekatakanahalfwidth:65406,semicolon:59,semicolonarabic:1563,semicolonmonospace:65307,semicolonsmall:65108,semivoicedmarkkana:12444,semivoicedmarkkanahalfwidth:65439,sentisquare:13090,sentosquare:13091,seven:55,sevenarabic:1639,sevenbengali:2541,sevencircle:9318,sevencircleinversesansserif:10128,sevendeva:2413,seveneighths:8542,sevengujarati:2797,sevengurmukhi:2669,sevenhackarabic:1639,sevenhangzhou:12327,sevenideographicparen:12838,seveninferior:8327,sevenmonospace:65303,sevenoldstyle:63287,sevenparen:9338,sevenperiod:9358,sevenpersian:1783,sevenroman:8566,sevensuperior:8311,seventeencircle:9328,seventeenparen:9348,seventeenperiod:9368,seventhai:3671,sfthyphen:173,shaarmenian:1399,shabengali:2486,shacyrillic:1096,shaddaarabic:1617,shaddadammaarabic:64609,shaddadammatanarabic:64606,shaddafathaarabic:64608,shaddakasraarabic:64610,shaddakasratanarabic:64607,shade:9618,shadedark:9619,shadelight:9617,shademedium:9618,shadeva:2358,shagujarati:2742,shagurmukhi:2614,shalshelethebrew:1427,shbopomofo:12565,shchacyrillic:1097,sheenarabic:1588,sheenfinalarabic:65206,sheeninitialarabic:65207,sheenmedialarabic:65208,sheicoptic:995,sheqel:8362,sheqelhebrew:8362,sheva:1456,sheva115:1456,sheva15:1456,sheva22:1456,sheva2e:1456,shevahebrew:1456,shevanarrowhebrew:1456,shevaquarterhebrew:1456,shevawidehebrew:1456,shhacyrillic:1211,shimacoptic:1005,shin:1513,shindagesh:64329,shindageshhebrew:64329,shindageshshindot:64300,shindageshshindothebrew:64300,shindageshsindot:64301,shindageshsindothebrew:64301,shindothebrew:1473,shinhebrew:1513,shinshindot:64298,shinshindothebrew:64298,shinsindot:64299,shinsindothebrew:64299,shook:642,sigma:963,sigma1:962,sigmafinal:962,sigmalunatesymbolgreek:1010,sihiragana:12375,sikatakana:12471,sikatakanahalfwidth:65404,siluqhebrew:1469,siluqlefthebrew:1469,similar:8764,sindothebrew:1474,siosacirclekorean:12916,siosaparenkorean:12820,sioscieuckorean:12670,sioscirclekorean:12902,sioskiyeokkorean:12666,sioskorean:12613,siosnieunkorean:12667,siosparenkorean:12806,siospieupkorean:12669,siostikeutkorean:12668,six:54,sixarabic:1638,sixbengali:2540,sixcircle:9317,sixcircleinversesansserif:10127,sixdeva:2412,sixgujarati:2796,sixgurmukhi:2668,sixhackarabic:1638,sixhangzhou:12326,sixideographicparen:12837,sixinferior:8326,sixmonospace:65302,sixoldstyle:63286,sixparen:9337,sixperiod:9357,sixpersian:1782,sixroman:8565,sixsuperior:8310,sixteencircle:9327,sixteencurrencydenominatorbengali:2553,sixteenparen:9347,sixteenperiod:9367,sixthai:3670,slash:47,slashmonospace:65295,slong:383,slongdotaccent:7835,smileface:9786,smonospace:65363,sofpasuqhebrew:1475,softhyphen:173,softsigncyrillic:1100,sohiragana:12381,sokatakana:12477,sokatakanahalfwidth:65407,soliduslongoverlaycmb:824,solidusshortoverlaycmb:823,sorusithai:3625,sosalathai:3624,sosothai:3595,sosuathai:3626,space:32,spacehackarabic:32,spade:9824,spadesuitblack:9824,spadesuitwhite:9828,sparen:9390,squarebelowcmb:827,squarecc:13252,squarecm:13213,squarediagonalcrosshatchfill:9641,squarehorizontalfill:9636,squarekg:13199,squarekm:13214,squarekmcapital:13262,squareln:13265,squarelog:13266,squaremg:13198,squaremil:13269,squaremm:13212,squaremsquared:13217,squareorthogonalcrosshatchfill:9638,squareupperlefttolowerrightfill:9639,squareupperrighttolowerleftfill:9640,squareverticalfill:9637,squarewhitewithsmallblack:9635,srsquare:13275,ssabengali:2487,ssadeva:2359,ssagujarati:2743,ssangcieuckorean:12617,ssanghieuhkorean:12677,ssangieungkorean:12672,ssangkiyeokkorean:12594,ssangnieunkorean:12645,ssangpieupkorean:12611,ssangsioskorean:12614,ssangtikeutkorean:12600,ssuperior:63218,sterling:163,sterlingmonospace:65505,strokelongoverlaycmb:822,strokeshortoverlaycmb:821,subset:8834,subsetnotequal:8842,subsetorequal:8838,succeeds:8827,suchthat:8715,suhiragana:12377,sukatakana:12473,sukatakanahalfwidth:65405,sukunarabic:1618,summation:8721,sun:9788,superset:8835,supersetnotequal:8843,supersetorequal:8839,svsquare:13276,syouwaerasquare:13180,t:116,tabengali:2468,tackdown:8868,tackleft:8867,tadeva:2340,tagujarati:2724,tagurmukhi:2596,taharabic:1591,tahfinalarabic:65218,tahinitialarabic:65219,tahiragana:12383,tahmedialarabic:65220,taisyouerasquare:13181,takatakana:12479,takatakanahalfwidth:65408,tatweelarabic:1600,tau:964,tav:1514,tavdages:64330,tavdagesh:64330,tavdageshhebrew:64330,tavhebrew:1514,tbar:359,tbopomofo:12554,tcaron:357,tccurl:680,tcedilla:355,tcheharabic:1670,tchehfinalarabic:64379,tchehinitialarabic:64380,tchehmedialarabic:64381,tcircle:9443,tcircumflexbelow:7793,tcommaaccent:355,tdieresis:7831,tdotaccent:7787,tdotbelow:7789,tecyrillic:1090,tedescendercyrillic:1197,teharabic:1578,tehfinalarabic:65174,tehhahinitialarabic:64674,tehhahisolatedarabic:64524,tehinitialarabic:65175,tehiragana:12390,tehjeeminitialarabic:64673,tehjeemisolatedarabic:64523,tehmarbutaarabic:1577,tehmarbutafinalarabic:65172,tehmedialarabic:65176,tehmeeminitialarabic:64676,tehmeemisolatedarabic:64526,tehnoonfinalarabic:64627,tekatakana:12486,tekatakanahalfwidth:65411,telephone:8481,telephoneblack:9742,telishagedolahebrew:1440,telishaqetanahebrew:1449,tencircle:9321,tenideographicparen:12841,tenparen:9341,tenperiod:9361,tenroman:8569,tesh:679,tet:1496,tetdagesh:64312,tetdageshhebrew:64312,tethebrew:1496,tetsecyrillic:1205,tevirhebrew:1435,tevirlefthebrew:1435,thabengali:2469,thadeva:2341,thagujarati:2725,thagurmukhi:2597,thalarabic:1584,thalfinalarabic:65196,thanthakhatlowleftthai:63640,thanthakhatlowrightthai:63639,thanthakhatthai:3660,thanthakhatupperleftthai:63638,theharabic:1579,thehfinalarabic:65178,thehinitialarabic:65179,thehmedialarabic:65180,thereexists:8707,therefore:8756,theta:952,theta1:977,thetasymbolgreek:977,thieuthacirclekorean:12921,thieuthaparenkorean:12825,thieuthcirclekorean:12907,thieuthkorean:12620,thieuthparenkorean:12811,thirteencircle:9324,thirteenparen:9344,thirteenperiod:9364,thonangmonthothai:3601,thook:429,thophuthaothai:3602,thorn:254,thothahanthai:3607,thothanthai:3600,thothongthai:3608,thothungthai:3606,thousandcyrillic:1154,thousandsseparatorarabic:1644,thousandsseparatorpersian:1644,three:51,threearabic:1635,threebengali:2537,threecircle:9314,threecircleinversesansserif:10124,threedeva:2409,threeeighths:8540,threegujarati:2793,threegurmukhi:2665,threehackarabic:1635,threehangzhou:12323,threeideographicparen:12834,threeinferior:8323,threemonospace:65299,threenumeratorbengali:2550,threeoldstyle:63283,threeparen:9334,threeperiod:9354,threepersian:1779,threequarters:190,threequartersemdash:63198,threeroman:8562,threesuperior:179,threethai:3667,thzsquare:13204,tihiragana:12385,tikatakana:12481,tikatakanahalfwidth:65409,tikeutacirclekorean:12912,tikeutaparenkorean:12816,tikeutcirclekorean:12898,tikeutkorean:12599,tikeutparenkorean:12802,tilde:732,tildebelowcmb:816,tildecmb:771,tildecomb:771,tildedoublecmb:864,tildeoperator:8764,tildeoverlaycmb:820,tildeverticalcmb:830,timescircle:8855,tipehahebrew:1430,tipehalefthebrew:1430,tippigurmukhi:2672,titlocyrilliccmb:1155,tiwnarmenian:1407,tlinebelow:7791,tmonospace:65364,toarmenian:1385,tohiragana:12392,tokatakana:12488,tokatakanahalfwidth:65412,tonebarextrahighmod:741,tonebarextralowmod:745,tonebarhighmod:742,tonebarlowmod:744,tonebarmidmod:743, -tonefive:445,tonesix:389,tonetwo:424,tonos:900,tonsquare:13095,topatakthai:3599,tortoiseshellbracketleft:12308,tortoiseshellbracketleftsmall:65117,tortoiseshellbracketleftvertical:65081,tortoiseshellbracketright:12309,tortoiseshellbracketrightsmall:65118,tortoiseshellbracketrightvertical:65082,totaothai:3605,tpalatalhook:427,tparen:9391,trademark:8482,trademarksans:63722,trademarkserif:63195,tretroflexhook:648,triagdn:9660,triaglf:9668,triagrt:9658,triagup:9650,ts:678,tsadi:1510,tsadidagesh:64326,tsadidageshhebrew:64326,tsadihebrew:1510,tsecyrillic:1094,tsere:1461,tsere12:1461,tsere1e:1461,tsere2b:1461,tserehebrew:1461,tserenarrowhebrew:1461,tserequarterhebrew:1461,tserewidehebrew:1461,tshecyrillic:1115,tsuperior:63219,ttabengali:2463,ttadeva:2335,ttagujarati:2719,ttagurmukhi:2591,tteharabic:1657,ttehfinalarabic:64359,ttehinitialarabic:64360,ttehmedialarabic:64361,tthabengali:2464,tthadeva:2336,tthagujarati:2720,tthagurmukhi:2592,tturned:647,tuhiragana:12388,tukatakana:12484,tukatakanahalfwidth:65410,tusmallhiragana:12387,tusmallkatakana:12483,tusmallkatakanahalfwidth:65391,twelvecircle:9323,twelveparen:9343,twelveperiod:9363,twelveroman:8571,twentycircle:9331,twentyhangzhou:21316,twentyparen:9351,twentyperiod:9371,two:50,twoarabic:1634,twobengali:2536,twocircle:9313,twocircleinversesansserif:10123,twodeva:2408,twodotenleader:8229,twodotleader:8229,twodotleadervertical:65072,twogujarati:2792,twogurmukhi:2664,twohackarabic:1634,twohangzhou:12322,twoideographicparen:12833,twoinferior:8322,twomonospace:65298,twonumeratorbengali:2549,twooldstyle:63282,twoparen:9333,twoperiod:9353,twopersian:1778,tworoman:8561,twostroke:443,twosuperior:178,twothai:3666,twothirds:8532,u:117,uacute:250,ubar:649,ubengali:2441,ubopomofo:12584,ubreve:365,ucaron:468,ucircle:9444,ucircumflex:251,ucircumflexbelow:7799,ucyrillic:1091,udattadeva:2385,udblacute:369,udblgrave:533,udeva:2313,udieresis:252,udieresisacute:472,udieresisbelow:7795,udieresiscaron:474,udieresiscyrillic:1265,udieresisgrave:476,udieresismacron:470,udotbelow:7909,ugrave:249,ugujarati:2697,ugurmukhi:2569,uhiragana:12358,uhookabove:7911,uhorn:432,uhornacute:7913,uhorndotbelow:7921,uhorngrave:7915,uhornhookabove:7917,uhorntilde:7919,uhungarumlaut:369,uhungarumlautcyrillic:1267,uinvertedbreve:535,ukatakana:12454,ukatakanahalfwidth:65395,ukcyrillic:1145,ukorean:12636,umacron:363,umacroncyrillic:1263,umacrondieresis:7803,umatragurmukhi:2625,umonospace:65365,underscore:95,underscoredbl:8215,underscoremonospace:65343,underscorevertical:65075,underscorewavy:65103,union:8746,universal:8704,uogonek:371,uparen:9392,upblock:9600,upperdothebrew:1476,upsilon:965,upsilondieresis:971,upsilondieresistonos:944,upsilonlatin:650,upsilontonos:973,uptackbelowcmb:797,uptackmod:724,uragurmukhi:2675,uring:367,ushortcyrillic:1118,usmallhiragana:12357,usmallkatakana:12453,usmallkatakanahalfwidth:65385,ustraightcyrillic:1199,ustraightstrokecyrillic:1201,utilde:361,utildeacute:7801,utildebelow:7797,uubengali:2442,uudeva:2314,uugujarati:2698,uugurmukhi:2570,uumatragurmukhi:2626,uuvowelsignbengali:2498,uuvowelsigndeva:2370,uuvowelsigngujarati:2754,uvowelsignbengali:2497,uvowelsigndeva:2369,uvowelsigngujarati:2753,v:118,vadeva:2357,vagujarati:2741,vagurmukhi:2613,vakatakana:12535,vav:1493,vavdagesh:64309,vavdagesh65:64309,vavdageshhebrew:64309,vavhebrew:1493,vavholam:64331,vavholamhebrew:64331,vavvavhebrew:1520,vavyodhebrew:1521,vcircle:9445,vdotbelow:7807,vecyrillic:1074,veharabic:1700,vehfinalarabic:64363,vehinitialarabic:64364,vehmedialarabic:64365,vekatakana:12537,venus:9792,verticalbar:124,verticallineabovecmb:781,verticallinebelowcmb:809,verticallinelowmod:716,verticallinemod:712,vewarmenian:1406,vhook:651,vikatakana:12536,viramabengali:2509,viramadeva:2381,viramagujarati:2765,visargabengali:2435,visargadeva:2307,visargagujarati:2691,vmonospace:65366,voarmenian:1400,voicediterationhiragana:12446,voicediterationkatakana:12542,voicedmarkkana:12443,voicedmarkkanahalfwidth:65438,vokatakana:12538,vparen:9393,vtilde:7805,vturned:652,vuhiragana:12436,vukatakana:12532,w:119,wacute:7811,waekorean:12633,wahiragana:12431,wakatakana:12527,wakatakanahalfwidth:65436,wakorean:12632,wasmallhiragana:12430,wasmallkatakana:12526,wattosquare:13143,wavedash:12316,wavyunderscorevertical:65076,wawarabic:1608,wawfinalarabic:65262,wawhamzaabovearabic:1572,wawhamzaabovefinalarabic:65158,wbsquare:13277,wcircle:9446,wcircumflex:373,wdieresis:7813,wdotaccent:7815,wdotbelow:7817,wehiragana:12433,weierstrass:8472,wekatakana:12529,wekorean:12638,weokorean:12637,wgrave:7809,whitebullet:9702,whitecircle:9675,whitecircleinverse:9689,whitecornerbracketleft:12302,whitecornerbracketleftvertical:65091,whitecornerbracketright:12303,whitecornerbracketrightvertical:65092,whitediamond:9671,whitediamondcontainingblacksmalldiamond:9672,whitedownpointingsmalltriangle:9663,whitedownpointingtriangle:9661,whiteleftpointingsmalltriangle:9667,whiteleftpointingtriangle:9665,whitelenticularbracketleft:12310,whitelenticularbracketright:12311,whiterightpointingsmalltriangle:9657,whiterightpointingtriangle:9655,whitesmallsquare:9643,whitesmilingface:9786,whitesquare:9633,whitestar:9734,whitetelephone:9743,whitetortoiseshellbracketleft:12312,whitetortoiseshellbracketright:12313,whiteuppointingsmalltriangle:9653,whiteuppointingtriangle:9651,wihiragana:12432,wikatakana:12528,wikorean:12639,wmonospace:65367,wohiragana:12434,wokatakana:12530,wokatakanahalfwidth:65382,won:8361,wonmonospace:65510,wowaenthai:3623,wparen:9394,wring:7832,wsuperior:695,wturned:653,wynn:447,x:120,xabovecmb:829,xbopomofo:12562,xcircle:9447,xdieresis:7821,xdotaccent:7819,xeharmenian:1389,xi:958,xmonospace:65368,xparen:9395,xsuperior:739,y:121,yaadosquare:13134,yabengali:2479,yacute:253,yadeva:2351,yaekorean:12626,yagujarati:2735,yagurmukhi:2607,yahiragana:12420,yakatakana:12516,yakatakanahalfwidth:65428,yakorean:12625,yamakkanthai:3662,yasmallhiragana:12419,yasmallkatakana:12515,yasmallkatakanahalfwidth:65388,yatcyrillic:1123,ycircle:9448,ycircumflex:375,ydieresis:255,ydotaccent:7823,ydotbelow:7925,yeharabic:1610,yehbarreearabic:1746,yehbarreefinalarabic:64431,yehfinalarabic:65266,yehhamzaabovearabic:1574,yehhamzaabovefinalarabic:65162,yehhamzaaboveinitialarabic:65163,yehhamzaabovemedialarabic:65164,yehinitialarabic:65267,yehmedialarabic:65268,yehmeeminitialarabic:64733,yehmeemisolatedarabic:64600,yehnoonfinalarabic:64660,yehthreedotsbelowarabic:1745,yekorean:12630,yen:165,yenmonospace:65509,yeokorean:12629,yeorinhieuhkorean:12678,yerahbenyomohebrew:1450,yerahbenyomolefthebrew:1450,yericyrillic:1099,yerudieresiscyrillic:1273,yesieungkorean:12673,yesieungpansioskorean:12675,yesieungsioskorean:12674,yetivhebrew:1434,ygrave:7923,yhook:436,yhookabove:7927,yiarmenian:1397,yicyrillic:1111,yikorean:12642,yinyang:9775,yiwnarmenian:1410,ymonospace:65369,yod:1497,yoddagesh:64313,yoddageshhebrew:64313,yodhebrew:1497,yodyodhebrew:1522,yodyodpatahhebrew:64287,yohiragana:12424,yoikorean:12681,yokatakana:12520,yokatakanahalfwidth:65430,yokorean:12635,yosmallhiragana:12423,yosmallkatakana:12519,yosmallkatakanahalfwidth:65390,yotgreek:1011,yoyaekorean:12680,yoyakorean:12679,yoyakthai:3618,yoyingthai:3597,yparen:9396,ypogegrammeni:890,ypogegrammenigreekcmb:837,yr:422,yring:7833,ysuperior:696,ytilde:7929,yturned:654,yuhiragana:12422,yuikorean:12684,yukatakana:12518,yukatakanahalfwidth:65429,yukorean:12640,yusbigcyrillic:1131,yusbigiotifiedcyrillic:1133,yuslittlecyrillic:1127,yuslittleiotifiedcyrillic:1129,yusmallhiragana:12421,yusmallkatakana:12517,yusmallkatakanahalfwidth:65389,yuyekorean:12683,yuyeokorean:12682,yyabengali:2527,yyadeva:2399,z:122,zaarmenian:1382,zacute:378,zadeva:2395,zagurmukhi:2651,zaharabic:1592,zahfinalarabic:65222,zahinitialarabic:65223,zahiragana:12374,zahmedialarabic:65224,zainarabic:1586,zainfinalarabic:65200,zakatakana:12470,zaqefgadolhebrew:1429,zaqefqatanhebrew:1428,zarqahebrew:1432,zayin:1494,zayindagesh:64310,zayindageshhebrew:64310,zayinhebrew:1494,zbopomofo:12567,zcaron:382,zcircle:9449,zcircumflex:7825,zcurl:657,zdot:380,zdotaccent:380,zdotbelow:7827,zecyrillic:1079,zedescendercyrillic:1177,zedieresiscyrillic:1247,zehiragana:12380,zekatakana:12476,zero:48,zeroarabic:1632,zerobengali:2534,zerodeva:2406,zerogujarati:2790,zerogurmukhi:2662,zerohackarabic:1632,zeroinferior:8320,zeromonospace:65296,zerooldstyle:63280,zeropersian:1776,zerosuperior:8304,zerothai:3664,zerowidthjoiner:65279,zerowidthnonjoiner:8204,zerowidthspace:8203,zeta:950,zhbopomofo:12563,zhearmenian:1386,zhebrevecyrillic:1218,zhecyrillic:1078,zhedescendercyrillic:1175,zhedieresiscyrillic:1245,zihiragana:12376,zikatakana:12472,zinorhebrew:1454,zlinebelow:7829,zmonospace:65370,zohiragana:12382,zokatakana:12478,zparen:9397,zretroflexhook:656,zstroke:438,zuhiragana:12378,zukatakana:12474,".notdef":0},Ac={space:32,a1:9985,a2:9986,a202:9987,a3:9988,a4:9742,a5:9990,a119:9991,a118:9992,a117:9993,a11:9755,a12:9758,a13:9996,a14:9997,a15:9998,a16:9999,a105:1e4,a17:10001,a18:10002,a19:10003,a20:10004,a21:10005,a22:10006,a23:10007,a24:10008,a25:10009,a26:10010,a27:10011,a28:10012,a6:10013,a7:10014,a8:10015,a9:10016,a10:10017,a29:10018,a30:10019,a31:10020,a32:10021,a33:10022,a34:10023,a35:9733,a36:10025,a37:10026,a38:10027,a39:10028,a40:10029,a41:10030,a42:10031,a43:10032,a44:10033,a45:10034,a46:10035,a47:10036,a48:10037,a49:10038,a50:10039,a51:10040,a52:10041,a53:10042,a54:10043,a55:10044,a56:10045,a57:10046,a58:10047,a59:10048,a60:10049,a61:10050,a62:10051,a63:10052,a64:10053,a65:10054,a66:10055,a67:10056,a68:10057,a69:10058,a70:10059,a71:9679,a72:10061,a73:9632,a74:10063,a203:10064,a75:10065,a204:10066,a76:9650,a77:9660,a78:9670,a79:10070,a81:9687,a82:10072,a83:10073,a84:10074,a97:10075,a98:10076,a99:10077,a100:10078,a101:10081,a102:10082,a103:10083,a104:10084,a106:10085,a107:10086,a108:10087,a112:9827,a111:9830,a110:9829,a109:9824,a120:9312,a121:9313,a122:9314,a123:9315,a124:9316,a125:9317,a126:9318,a127:9319,a128:9320,a129:9321,a130:10102,a131:10103,a132:10104,a133:10105,a134:10106,a135:10107,a136:10108,a137:10109,a138:10110,a139:10111,a140:10112,a141:10113,a142:10114,a143:10115,a144:10116,a145:10117,a146:10118,a147:10119,a148:10120,a149:10121,a150:10122,a151:10123,a152:10124,a153:10125,a154:10126,a155:10127,a156:10128,a157:10129,a158:10130,a159:10131,a160:10132,a161:8594,a163:8596,a164:8597,a196:10136,a165:10137,a192:10138,a166:10139,a167:10140,a168:10141,a169:10142,a170:10143,a171:10144,a172:10145,a173:10146,a162:10147,a174:10148,a175:10149,a176:10150,a177:10151,a178:10152,a179:10153,a193:10154,a180:10155,a199:10156,a181:10157,a200:10158,a182:10159,a201:10161,a183:10162,a184:10163,a197:10164,a185:10165,a194:10166,a198:10167,a186:10168,a195:10169,a187:10170,a188:10171,a189:10172,a190:10173,a191:10174,a89:10088,a90:10089,a93:10090,a94:10091,a91:10092,a92:10093,a205:10094,a85:10095,a206:10096,a86:10097,a87:10098,a88:10099,a95:10100,a96:10101,".notdef":0},Bc=function(){function d(a,b,c,d){if(d instanceof Sc&&d.isNativelyDecodable(b,c)){var e=d.dict,f=e.get("ColorSpace","CS");f=Xa.parse(f,b,c);var g=f.numComps,h=a.sendWithPromise("JpegDecode",[d.getIR(),g]);return h.then(function(a){var b=a.data;return new Mc(b,0,b.length,d.dict)})}return Promise.resolve(d)}function f(a,b,c,d){return a=b+a*c,0>a?0:a>d?d:a}function g(b,d,e,f,h,i,j){this.image=e;var k=e.dict;if(k.has("Filter")){var l=k.get("Filter").name;if("JPXDecode"===l){var m=new hd;m.parseImageProperties(e.stream),e.stream.reset(),e.bitsPerComponent=m.bitsPerComponent,e.numComps=m.componentsCount}else"JBIG2Decode"===l&&(e.bitsPerComponent=1,e.numComps=1)}this.width=k.get("Width","W"),this.height=k.get("Height","H"),(this.width<1||this.height<1)&&c("Invalid image width: "+this.width+" or height: "+this.height),this.interpolate=k.get("Interpolate","I")||!1,this.imageMask=k.get("ImageMask","IM")||!1,this.matte=k.get("Matte")||!1;var n=e.bitsPerComponent;if(n||(n=k.get("BitsPerComponent","BPC"),n||(this.imageMask?n=1:c("Bits per component missing in image: "+this.imageMask))),this.bpc=n,!this.imageMask){var o=k.get("ColorSpace","CS");if(!o)switch(a("JPX images (which do not require color spaces)"),e.numComps){case 1:o=ya.get("DeviceGray");break;case 3:o=ya.get("DeviceRGB");break;case 4:o=ya.get("DeviceCMYK");break;default:c("JPX images with "+this.numComps+" color components not supported.")}this.colorSpace=Xa.parse(o,b,d),this.numComps=this.colorSpace.numComps}if(this.decode=k.get("Decode","D"),this.needsDecode=!1,this.decode&&(this.colorSpace&&!this.colorSpace.isDefaultDecode(this.decode)||j&&!Xa.isDefaultDecode(this.decode,1))){this.needsDecode=!0;var p=(1<=b?new Uint8Array(o):16>=b?new Uint16Array(o):new Uint32Array(o),q=e/g,r=f/h,s=0,t=new Uint16Array(g),u=e*d;for(1!==j&&(j=0),l=0;g>l;l++)t[l]=Math.floor(l*q)*d;if(1===d)for(k=0;h>k;k++)for(m=Math.floor(k*r)*u,l=0;g>l;l++)n=m+t[l],p[s++]=a[n];else if(3===d)for(k=0;h>k;k++)for(m=Math.floor(k*r)*u,l=0;g>l;l++)n=m+t[l],p[s++]=a[n++],p[s++]=a[n++],p[s++]=a[n++],s+=j;return p},g.createMask=function(a,b,c,d,e){var f,g,h=(b+7>>3)*c,i=a.byteLength,j=h===i;if(!d||e&&!j)if(e)for(f=new Uint8Array(h),f.set(a),g=i;h>g;g++)f[g]=255;else f=new Uint8Array(i),f.set(a);else f=a;if(e)for(g=0;i>g;g++)f[g]=~f[g];return{data:f,width:b,height:c}},g.prototype={get drawWidth(){return Math.max(this.width,this.smask&&this.smask.width||0,this.mask&&this.mask.width||0)},get drawHeight(){return Math.max(this.height,this.smask&&this.smask.height||0,this.mask&&this.mask.height||0)},decodeBuffer:function(a){var b,c,d=this.bpc,e=this.numComps,g=this.decodeAddends,h=this.decodeCoefficients,i=(1<b;b++)for(var k=0;e>k;k++)a[j]=f(a[j],g[k],h[k],i),j++}else for(b=0,c=a.length;c>b;b++)a[b]=+!a[b]},getComponents:function(a){var b=this.bpc;if(8===b)return a;var c,d,e=this.width,f=this.height,g=this.numComps,h=e*f*g,i=0,j=8>=b?new Uint8Array(h):16>=b?new Uint16Array(h):new Uint32Array(h),k=e*g,l=(1<q;q++){for(o=m+(-8&k),p=m+k;o>m;)d=a[i++],j[m]=d>>7&1,j[m+1]=d>>6&1,j[m+2]=d>>5&1,j[m+3]=d>>4&1,j[m+4]=d>>3&1,j[m+5]=d>>2&1,j[m+6]=d>>1&1,j[m+7]=1&d,m+=8;if(p>m)for(d=a[i++],n=128;p>m;)j[m++]=+!!(d&n),n>>=1}else{var r=0;for(d=0,m=0,c=h;c>m;++m){for(m%k===0&&(d=0,r=0);b>r;)d=d<<8|a[i++],r+=8;var s=r-b,t=d>>s;j[m]=0>t?0:t>l?l:t,d&=(1<k;++k)h[k]=255-h[k];i===b&&j===d||(h=g.resize(h,o.bpc,1,i,j,b,d))}else if(C(o)){h=new Uint8Array(b*d);var p=this.numComps;for(k=0,l=b*d;l>k;++k){var q=0,r=k*p;for(m=0;p>m;++m){var s=f[r+m],t=2*m;if(so[t+1]){q=255;break}}h[k]=q}}else c("Unknown mask format.");if(h)for(k=0,m=3,l=b*e;l>k;++k,m+=4)a[m]=h[k];else for(k=0,m=3,l=b*e;l>k;++k,m+=4)a[m]=255},undoPreblend:function(a,b,c){var d=this.smask&&this.smask.matte;if(d)for(var e,f,g,h=this.colorSpace.getRgb(d,0),i=h[0],j=h[1],k=h[2],l=b*c*4,m=0;l>m;m+=4){var n=a[m+3];if(0!==n){var o=255/n;e=(a[m]-i)*o+i,f=(a[m+1]-j)*o+j,g=(a[m+2]-k)*o+k,a[m]=0>=e?0:e>=255?255:0|e,a[m+1]=0>=f?0:f>=255?255:0|f,a[m+2]=0>=g?0:g>=255?255:0|g}else a[m]=255,a[m+1]=255,a[m+2]=255}},createImageData:function(a){var b,c=this.drawWidth,d=this.drawHeight,f={width:c,height:d},g=this.numComps,h=this.width,i=this.height,j=this.bpc,k=h*g*j+7>>3;if(!a){var l;if("DeviceGray"===this.colorSpace.name&&1===j?l=V.GRAYSCALE_1BPP:"DeviceRGB"!==this.colorSpace.name||8!==j||this.needsDecode||(l=V.RGB_24BPP),l&&!this.smask&&!this.mask&&c===h&&d===i){if(f.kind=l,b=this.getImageBytes(i*k),this.image instanceof Oc)f.data=b;else{var m=new Uint8Array(b.length);m.set(b),f.data=m}if(this.needsDecode){e(l===V.GRAYSCALE_1BPP);for(var n=f.data,o=0,p=n.length;p>o;o++)n[o]^=255}return f}if(this.image instanceof Sc&&!this.smask&&!this.mask&&("DeviceGray"===this.colorSpace.name||"DeviceRGB"===this.colorSpace.name||"DeviceCMYK"===this.colorSpace.name))return f.kind=V.RGB_24BPP,f.data=this.getImageBytes(i*k,c,d,!0),f}b=this.getImageBytes(i*k);var q,r,s=0|b.length/k*d/i,t=this.getComponents(b);return a||this.smask||this.mask?(f.kind=V.RGBA_32BPP,f.data=new Uint8Array(c*d*4),q=1,r=!0,this.fillOpacity(f.data,c,d,s,t)):(f.kind=V.RGB_24BPP,f.data=new Uint8Array(c*d*3),q=0,r=!1),this.needsDecode&&this.decodeBuffer(t),this.colorSpace.fillRgb(f.data,h,i,c,d,s,j,t,q),r&&this.undoPreblend(f.data,c,s),f},fillGrayBuffer:function(a){var b=this.numComps;1!==b&&c("Reading gray scale from a color image: "+b);var d,e,f=this.width,g=this.height,h=this.bpc,i=f*b*h+7>>3,j=this.getImageBytes(g*i),k=this.getComponents(j);if(1!==h){this.needsDecode&&this.decodeBuffer(k),e=f*g;var l=255/((1<d;++d)a[d]=l*k[d]|0}else if(e=f*g,this.needsDecode)for(d=0;e>d;++d)a[d]=k[d]-1&255;else for(d=0;e>d;++d)a[d]=255&-k[d]},getImageBytes:function(a,b,c,d){return this.image.reset(),this.image.drawWidth=b||this.width,this.image.drawHeight=c||this.height,this.image.forceRGB=!!d,this.image.getBytes(a)}},g}(),Cc={Courier:600,"Courier-Bold":600,"Courier-BoldOblique":600,"Courier-Oblique":600,Helvetica:{space:278,exclam:278,quotedbl:355,numbersign:556,dollar:556,percent:889,ampersand:667,quoteright:222,parenleft:333,parenright:333,asterisk:389,plus:584,comma:278,hyphen:333,period:278,slash:278,zero:556,one:556,two:556,three:556,four:556,five:556,six:556,seven:556,eight:556,nine:556,colon:278,semicolon:278,less:584,equal:584,greater:584,question:556,at:1015,A:667,B:667,C:722,D:722,E:667,F:611,G:778,H:722,I:278,J:500,K:667,L:556,M:833,N:722,O:778,P:667,Q:778,R:722,S:667,T:611,U:722,V:667,W:944,X:667,Y:667,Z:611,bracketleft:278,backslash:278,bracketright:278,asciicircum:469,underscore:556,quoteleft:222,a:556,b:556,c:500,d:556,e:556,f:278,g:556,h:556,i:222,j:222,k:500,l:222,m:833,n:556,o:556,p:556,q:556,r:333,s:500,t:278,u:556,v:500,w:722,x:500,y:500,z:500,braceleft:334,bar:260,braceright:334,asciitilde:584,exclamdown:333,cent:556,sterling:556,fraction:167,yen:556,florin:556,section:556,currency:556,quotesingle:191,quotedblleft:333,guillemotleft:556,guilsinglleft:333,guilsinglright:333,fi:500,fl:500,endash:556,dagger:556,daggerdbl:556,periodcentered:278,paragraph:537,bullet:350,quotesinglbase:222,quotedblbase:333,quotedblright:333,guillemotright:556,ellipsis:1e3,perthousand:1e3,questiondown:611,grave:333,acute:333,circumflex:333,tilde:333,macron:333,breve:333,dotaccent:333,dieresis:333,ring:333,cedilla:333,hungarumlaut:333,ogonek:333,caron:333,emdash:1e3,AE:1e3,ordfeminine:370,Lslash:556,Oslash:778,OE:1e3,ordmasculine:365,ae:889,dotlessi:278,lslash:222,oslash:611,oe:944,germandbls:611,Idieresis:278,eacute:556,abreve:556,uhungarumlaut:556,ecaron:556,Ydieresis:667,divide:584,Yacute:667,Acircumflex:667,aacute:556,Ucircumflex:722,yacute:500,scommaaccent:500,ecircumflex:556,Uring:722,Udieresis:722,aogonek:556,Uacute:722,uogonek:556,Edieresis:667,Dcroat:722,commaaccent:250,copyright:737,Emacron:667,ccaron:500,aring:556,Ncommaaccent:722,lacute:222,agrave:556,Tcommaaccent:611,Cacute:722,atilde:556,Edotaccent:667,scaron:500,scedilla:500,iacute:278,lozenge:471,Rcaron:722,Gcommaaccent:778,ucircumflex:556,acircumflex:556,Amacron:667,rcaron:333,ccedilla:500,Zdotaccent:611,Thorn:667,Omacron:778,Racute:722,Sacute:667,dcaron:643,Umacron:722,uring:556,threesuperior:333,Ograve:778,Agrave:667,Abreve:667,multiply:584,uacute:556,Tcaron:611,partialdiff:476,ydieresis:500,Nacute:722,icircumflex:278,Ecircumflex:667,adieresis:556,edieresis:556,cacute:500,nacute:556,umacron:556,Ncaron:722,Iacute:278,plusminus:584,brokenbar:260,registered:737,Gbreve:778,Idotaccent:278,summation:600,Egrave:667,racute:333,omacron:556,Zacute:611,Zcaron:611,greaterequal:549,Eth:722,Ccedilla:722,lcommaaccent:222,tcaron:317,eogonek:556,Uogonek:722,Aacute:667,Adieresis:667,egrave:556,zacute:500,iogonek:222,Oacute:778,oacute:556,amacron:556,sacute:500,idieresis:278,Ocircumflex:778,Ugrave:722,Delta:612,thorn:556,twosuperior:333,Odieresis:778,mu:556,igrave:278,ohungarumlaut:556,Eogonek:667,dcroat:556,threequarters:834,Scedilla:667,lcaron:299,Kcommaaccent:667,Lacute:556,trademark:1e3,edotaccent:556,Igrave:278,Imacron:278,Lcaron:556,onehalf:834,lessequal:549,ocircumflex:556,ntilde:556,Uhungarumlaut:722,Eacute:667,emacron:556,gbreve:556,onequarter:834,Scaron:667,Scommaaccent:667,Ohungarumlaut:778,degree:400,ograve:556,Ccaron:722,ugrave:556,radical:453,Dcaron:722,rcommaaccent:333,Ntilde:722,otilde:556,Rcommaaccent:722,Lcommaaccent:556,Atilde:667,Aogonek:667,Aring:667,Otilde:778,zdotaccent:500,Ecaron:667,Iogonek:278,kcommaaccent:500,minus:584,Icircumflex:278,ncaron:556,tcommaaccent:278,logicalnot:584,odieresis:556,udieresis:556,notequal:549,gcommaaccent:556,eth:556,zcaron:500,ncommaaccent:556,onesuperior:333,imacron:278,Euro:556},"Helvetica-Bold":{space:278,exclam:333,quotedbl:474,numbersign:556,dollar:556,percent:889,ampersand:722,quoteright:278,parenleft:333,parenright:333,asterisk:389,plus:584,comma:278,hyphen:333,period:278,slash:278,zero:556,one:556,two:556,three:556,four:556,five:556,six:556,seven:556,eight:556,nine:556,colon:333,semicolon:333,less:584,equal:584,greater:584,question:611,at:975,A:722,B:722,C:722,D:722,E:667,F:611,G:778,H:722,I:278,J:556,K:722,L:611,M:833,N:722,O:778,P:667,Q:778,R:722,S:667,T:611,U:722,V:667,W:944,X:667,Y:667,Z:611,bracketleft:333,backslash:278,bracketright:333,asciicircum:584,underscore:556,quoteleft:278,a:556,b:611,c:556,d:611,e:556,f:333,g:611,h:611,i:278,j:278,k:556,l:278,m:889,n:611,o:611,p:611,q:611,r:389,s:556,t:333,u:611,v:556,w:778,x:556,y:556,z:500,braceleft:389,bar:280,braceright:389,asciitilde:584,exclamdown:333,cent:556,sterling:556,fraction:167,yen:556,florin:556,section:556,currency:556,quotesingle:238,quotedblleft:500,guillemotleft:556,guilsinglleft:333,guilsinglright:333,fi:611,fl:611,endash:556,dagger:556,daggerdbl:556,periodcentered:278,paragraph:556,bullet:350,quotesinglbase:278,quotedblbase:500,quotedblright:500,guillemotright:556,ellipsis:1e3,perthousand:1e3,questiondown:611,grave:333,acute:333,circumflex:333,tilde:333,macron:333,breve:333,dotaccent:333,dieresis:333,ring:333,cedilla:333,hungarumlaut:333,ogonek:333,caron:333,emdash:1e3,AE:1e3,ordfeminine:370,Lslash:611,Oslash:778,OE:1e3,ordmasculine:365,ae:889,dotlessi:278,lslash:278,oslash:611,oe:944,germandbls:611,Idieresis:278,eacute:556,abreve:556,uhungarumlaut:611,ecaron:556,Ydieresis:667,divide:584,Yacute:667,Acircumflex:722,aacute:556,Ucircumflex:722,yacute:556,scommaaccent:556,ecircumflex:556,Uring:722,Udieresis:722,aogonek:556,Uacute:722,uogonek:611,Edieresis:667,Dcroat:722,commaaccent:250,copyright:737,Emacron:667,ccaron:556,aring:556,Ncommaaccent:722,lacute:278,agrave:556,Tcommaaccent:611,Cacute:722,atilde:556,Edotaccent:667,scaron:556,scedilla:556,iacute:278,lozenge:494,Rcaron:722,Gcommaaccent:778,ucircumflex:611,acircumflex:556,Amacron:722,rcaron:389,ccedilla:556,Zdotaccent:611,Thorn:667,Omacron:778,Racute:722,Sacute:667,dcaron:743,Umacron:722,uring:611,threesuperior:333,Ograve:778,Agrave:722,Abreve:722,multiply:584,uacute:611,Tcaron:611,partialdiff:494,ydieresis:556,Nacute:722,icircumflex:278,Ecircumflex:667,adieresis:556,edieresis:556,cacute:556,nacute:611,umacron:611,Ncaron:722,Iacute:278,plusminus:584,brokenbar:280,registered:737,Gbreve:778,Idotaccent:278,summation:600,Egrave:667,racute:389,omacron:611,Zacute:611,Zcaron:611,greaterequal:549,Eth:722,Ccedilla:722,lcommaaccent:278,tcaron:389,eogonek:556,Uogonek:722,Aacute:722,Adieresis:722,egrave:556,zacute:500,iogonek:278,Oacute:778,oacute:611,amacron:556,sacute:556,idieresis:278,Ocircumflex:778,Ugrave:722,Delta:612,thorn:611,twosuperior:333,Odieresis:778,mu:611,igrave:278,ohungarumlaut:611,Eogonek:667,dcroat:611,threequarters:834,Scedilla:667,lcaron:400,Kcommaaccent:722,Lacute:611,trademark:1e3,edotaccent:556,Igrave:278,Imacron:278,Lcaron:611,onehalf:834,lessequal:549,ocircumflex:611,ntilde:611,Uhungarumlaut:722,Eacute:667,emacron:556,gbreve:611,onequarter:834,Scaron:667,Scommaaccent:667,Ohungarumlaut:778,degree:400,ograve:611,Ccaron:722,ugrave:611,radical:549,Dcaron:722,rcommaaccent:389,Ntilde:722,otilde:611,Rcommaaccent:722,Lcommaaccent:611,Atilde:722,Aogonek:722,Aring:722,Otilde:778,zdotaccent:500,Ecaron:667,Iogonek:278,kcommaaccent:556,minus:584,Icircumflex:278,ncaron:611,tcommaaccent:333,logicalnot:584,odieresis:611,udieresis:611,notequal:549,gcommaaccent:611,eth:611,zcaron:500,ncommaaccent:611,onesuperior:333,imacron:278,Euro:556},"Helvetica-BoldOblique":{space:278,exclam:333,quotedbl:474,numbersign:556,dollar:556,percent:889,ampersand:722,quoteright:278,parenleft:333,parenright:333,asterisk:389,plus:584,comma:278,hyphen:333,period:278,slash:278,zero:556,one:556,two:556,three:556,four:556,five:556,six:556,seven:556,eight:556,nine:556,colon:333,semicolon:333,less:584,equal:584,greater:584,question:611,at:975,A:722,B:722,C:722,D:722,E:667,F:611,G:778,H:722,I:278,J:556,K:722,L:611,M:833,N:722,O:778,P:667,Q:778,R:722,S:667,T:611,U:722,V:667,W:944,X:667,Y:667,Z:611,bracketleft:333,backslash:278,bracketright:333,asciicircum:584,underscore:556,quoteleft:278,a:556,b:611,c:556,d:611,e:556,f:333,g:611,h:611,i:278,j:278,k:556,l:278,m:889,n:611,o:611,p:611,q:611,r:389,s:556,t:333,u:611,v:556,w:778,x:556,y:556,z:500,braceleft:389,bar:280,braceright:389,asciitilde:584,exclamdown:333,cent:556,sterling:556,fraction:167,yen:556,florin:556,section:556,currency:556,quotesingle:238,quotedblleft:500,guillemotleft:556,guilsinglleft:333,guilsinglright:333,fi:611,fl:611,endash:556,dagger:556,daggerdbl:556,periodcentered:278,paragraph:556,bullet:350,quotesinglbase:278,quotedblbase:500,quotedblright:500,guillemotright:556,ellipsis:1e3,perthousand:1e3,questiondown:611,grave:333,acute:333,circumflex:333,tilde:333,macron:333,breve:333,dotaccent:333,dieresis:333,ring:333,cedilla:333,hungarumlaut:333,ogonek:333,caron:333,emdash:1e3,AE:1e3,ordfeminine:370,Lslash:611,Oslash:778,OE:1e3,ordmasculine:365,ae:889,dotlessi:278,lslash:278,oslash:611,oe:944,germandbls:611,Idieresis:278,eacute:556,abreve:556,uhungarumlaut:611,ecaron:556,Ydieresis:667,divide:584,Yacute:667,Acircumflex:722,aacute:556,Ucircumflex:722,yacute:556,scommaaccent:556,ecircumflex:556,Uring:722,Udieresis:722,aogonek:556,Uacute:722,uogonek:611,Edieresis:667,Dcroat:722,commaaccent:250,copyright:737,Emacron:667,ccaron:556,aring:556,Ncommaaccent:722,lacute:278,agrave:556,Tcommaaccent:611,Cacute:722,atilde:556,Edotaccent:667,scaron:556,scedilla:556,iacute:278,lozenge:494,Rcaron:722,Gcommaaccent:778,ucircumflex:611,acircumflex:556,Amacron:722,rcaron:389,ccedilla:556,Zdotaccent:611,Thorn:667,Omacron:778,Racute:722,Sacute:667,dcaron:743,Umacron:722,uring:611,threesuperior:333,Ograve:778,Agrave:722,Abreve:722,multiply:584,uacute:611,Tcaron:611,partialdiff:494,ydieresis:556,Nacute:722,icircumflex:278,Ecircumflex:667,adieresis:556,edieresis:556,cacute:556,nacute:611,umacron:611,Ncaron:722,Iacute:278,plusminus:584,brokenbar:280,registered:737,Gbreve:778,Idotaccent:278,summation:600,Egrave:667,racute:389,omacron:611,Zacute:611,Zcaron:611,greaterequal:549,Eth:722,Ccedilla:722,lcommaaccent:278,tcaron:389,eogonek:556,Uogonek:722,Aacute:722,Adieresis:722,egrave:556,zacute:500,iogonek:278,Oacute:778,oacute:611,amacron:556,sacute:556,idieresis:278,Ocircumflex:778,Ugrave:722,Delta:612,thorn:611,twosuperior:333,Odieresis:778,mu:611,igrave:278,ohungarumlaut:611,Eogonek:667,dcroat:611,threequarters:834,Scedilla:667,lcaron:400,Kcommaaccent:722,Lacute:611,trademark:1e3,edotaccent:556,Igrave:278,Imacron:278,Lcaron:611,onehalf:834,lessequal:549,ocircumflex:611,ntilde:611,Uhungarumlaut:722,Eacute:667,emacron:556,gbreve:611,onequarter:834,Scaron:667,Scommaaccent:667,Ohungarumlaut:778,degree:400,ograve:611,Ccaron:722,ugrave:611,radical:549,Dcaron:722,rcommaaccent:389,Ntilde:722,otilde:611,Rcommaaccent:722,Lcommaaccent:611,Atilde:722,Aogonek:722,Aring:722,Otilde:778,zdotaccent:500,Ecaron:667,Iogonek:278,kcommaaccent:556,minus:584,Icircumflex:278,ncaron:611,tcommaaccent:333,logicalnot:584,odieresis:611,udieresis:611,notequal:549,gcommaaccent:611,eth:611,zcaron:500,ncommaaccent:611,onesuperior:333,imacron:278,Euro:556},"Helvetica-Oblique":{space:278,exclam:278,quotedbl:355,numbersign:556,dollar:556,percent:889,ampersand:667,quoteright:222,parenleft:333,parenright:333,asterisk:389,plus:584,comma:278,hyphen:333,period:278,slash:278,zero:556,one:556,two:556,three:556,four:556,five:556,six:556,seven:556,eight:556,nine:556,colon:278,semicolon:278,less:584,equal:584,greater:584,question:556,at:1015,A:667,B:667,C:722,D:722,E:667,F:611,G:778,H:722,I:278,J:500,K:667,L:556,M:833,N:722,O:778,P:667,Q:778,R:722,S:667,T:611,U:722,V:667,W:944,X:667,Y:667,Z:611,bracketleft:278,backslash:278,bracketright:278,asciicircum:469,underscore:556,quoteleft:222,a:556,b:556,c:500,d:556,e:556,f:278,g:556,h:556,i:222,j:222,k:500,l:222,m:833,n:556,o:556,p:556,q:556,r:333,s:500,t:278,u:556,v:500,w:722,x:500,y:500,z:500,braceleft:334,bar:260,braceright:334,asciitilde:584,exclamdown:333,cent:556,sterling:556,fraction:167,yen:556,florin:556,section:556,currency:556,quotesingle:191,quotedblleft:333,guillemotleft:556,guilsinglleft:333,guilsinglright:333,fi:500,fl:500,endash:556,dagger:556,daggerdbl:556,periodcentered:278,paragraph:537,bullet:350,quotesinglbase:222,quotedblbase:333,quotedblright:333,guillemotright:556,ellipsis:1e3,perthousand:1e3,questiondown:611,grave:333,acute:333,circumflex:333,tilde:333,macron:333,breve:333,dotaccent:333,dieresis:333,ring:333,cedilla:333,hungarumlaut:333,ogonek:333,caron:333,emdash:1e3,AE:1e3,ordfeminine:370,Lslash:556,Oslash:778,OE:1e3,ordmasculine:365,ae:889,dotlessi:278,lslash:222,oslash:611,oe:944,germandbls:611,Idieresis:278,eacute:556,abreve:556,uhungarumlaut:556,ecaron:556,Ydieresis:667,divide:584,Yacute:667,Acircumflex:667,aacute:556,Ucircumflex:722,yacute:500,scommaaccent:500,ecircumflex:556,Uring:722,Udieresis:722,aogonek:556,Uacute:722,uogonek:556,Edieresis:667,Dcroat:722,commaaccent:250,copyright:737,Emacron:667,ccaron:500,aring:556,Ncommaaccent:722,lacute:222,agrave:556,Tcommaaccent:611,Cacute:722,atilde:556,Edotaccent:667,scaron:500,scedilla:500,iacute:278,lozenge:471,Rcaron:722,Gcommaaccent:778,ucircumflex:556,acircumflex:556,Amacron:667,rcaron:333,ccedilla:500,Zdotaccent:611,Thorn:667,Omacron:778,Racute:722,Sacute:667,dcaron:643,Umacron:722,uring:556,threesuperior:333,Ograve:778,Agrave:667,Abreve:667,multiply:584,uacute:556,Tcaron:611,partialdiff:476,ydieresis:500,Nacute:722,icircumflex:278,Ecircumflex:667,adieresis:556,edieresis:556,cacute:500,nacute:556,umacron:556,Ncaron:722,Iacute:278,plusminus:584,brokenbar:260,registered:737,Gbreve:778,Idotaccent:278,summation:600,Egrave:667,racute:333,omacron:556,Zacute:611,Zcaron:611,greaterequal:549,Eth:722,Ccedilla:722,lcommaaccent:222,tcaron:317,eogonek:556,Uogonek:722,Aacute:667,Adieresis:667,egrave:556,zacute:500,iogonek:222,Oacute:778,oacute:556,amacron:556,sacute:500,idieresis:278,Ocircumflex:778,Ugrave:722,Delta:612,thorn:556,twosuperior:333,Odieresis:778,mu:556,igrave:278,ohungarumlaut:556,Eogonek:667,dcroat:556,threequarters:834,Scedilla:667,lcaron:299,Kcommaaccent:667,Lacute:556,trademark:1e3,edotaccent:556,Igrave:278,Imacron:278,Lcaron:556, -onehalf:834,lessequal:549,ocircumflex:556,ntilde:556,Uhungarumlaut:722,Eacute:667,emacron:556,gbreve:556,onequarter:834,Scaron:667,Scommaaccent:667,Ohungarumlaut:778,degree:400,ograve:556,Ccaron:722,ugrave:556,radical:453,Dcaron:722,rcommaaccent:333,Ntilde:722,otilde:556,Rcommaaccent:722,Lcommaaccent:556,Atilde:667,Aogonek:667,Aring:667,Otilde:778,zdotaccent:500,Ecaron:667,Iogonek:278,kcommaaccent:500,minus:584,Icircumflex:278,ncaron:556,tcommaaccent:278,logicalnot:584,odieresis:556,udieresis:556,notequal:549,gcommaaccent:556,eth:556,zcaron:500,ncommaaccent:556,onesuperior:333,imacron:278,Euro:556},Symbol:{space:250,exclam:333,universal:713,numbersign:500,existential:549,percent:833,ampersand:778,suchthat:439,parenleft:333,parenright:333,asteriskmath:500,plus:549,comma:250,minus:549,period:250,slash:278,zero:500,one:500,two:500,three:500,four:500,five:500,six:500,seven:500,eight:500,nine:500,colon:278,semicolon:278,less:549,equal:549,greater:549,question:444,congruent:549,Alpha:722,Beta:667,Chi:722,Delta:612,Epsilon:611,Phi:763,Gamma:603,Eta:722,Iota:333,theta1:631,Kappa:722,Lambda:686,Mu:889,Nu:722,Omicron:722,Pi:768,Theta:741,Rho:556,Sigma:592,Tau:611,Upsilon:690,sigma1:439,Omega:768,Xi:645,Psi:795,Zeta:611,bracketleft:333,therefore:863,bracketright:333,perpendicular:658,underscore:500,radicalex:500,alpha:631,beta:549,chi:549,delta:494,epsilon:439,phi:521,gamma:411,eta:603,iota:329,phi1:603,kappa:549,lambda:549,mu:576,nu:521,omicron:549,pi:549,theta:521,rho:549,sigma:603,tau:439,upsilon:576,omega1:713,omega:686,xi:493,psi:686,zeta:494,braceleft:480,bar:200,braceright:480,similar:549,Euro:750,Upsilon1:620,minute:247,lessequal:549,fraction:167,infinity:713,florin:500,club:753,diamond:753,heart:753,spade:753,arrowboth:1042,arrowleft:987,arrowup:603,arrowright:987,arrowdown:603,degree:400,plusminus:549,second:411,greaterequal:549,multiply:549,proportional:713,partialdiff:494,bullet:460,divide:549,notequal:549,equivalence:549,approxequal:549,ellipsis:1e3,arrowvertex:603,arrowhorizex:1e3,carriagereturn:658,aleph:823,Ifraktur:686,Rfraktur:795,weierstrass:987,circlemultiply:768,circleplus:768,emptyset:823,intersection:768,union:768,propersuperset:713,reflexsuperset:713,notsubset:713,propersubset:713,reflexsubset:713,element:713,notelement:713,angle:768,gradient:713,registerserif:790,copyrightserif:790,trademarkserif:890,product:823,radical:549,dotmath:250,logicalnot:713,logicaland:603,logicalor:603,arrowdblboth:1042,arrowdblleft:987,arrowdblup:603,arrowdblright:987,arrowdbldown:603,lozenge:494,angleleft:329,registersans:790,copyrightsans:790,trademarksans:786,summation:713,parenlefttp:384,parenleftex:384,parenleftbt:384,bracketlefttp:384,bracketleftex:384,bracketleftbt:384,bracelefttp:494,braceleftmid:494,braceleftbt:494,braceex:494,angleright:329,integral:274,integraltp:686,integralex:686,integralbt:686,parenrighttp:384,parenrightex:384,parenrightbt:384,bracketrighttp:384,bracketrightex:384,bracketrightbt:384,bracerighttp:494,bracerightmid:494,bracerightbt:494,apple:790},"Times-Roman":{space:250,exclam:333,quotedbl:408,numbersign:500,dollar:500,percent:833,ampersand:778,quoteright:333,parenleft:333,parenright:333,asterisk:500,plus:564,comma:250,hyphen:333,period:250,slash:278,zero:500,one:500,two:500,three:500,four:500,five:500,six:500,seven:500,eight:500,nine:500,colon:278,semicolon:278,less:564,equal:564,greater:564,question:444,at:921,A:722,B:667,C:667,D:722,E:611,F:556,G:722,H:722,I:333,J:389,K:722,L:611,M:889,N:722,O:722,P:556,Q:722,R:667,S:556,T:611,U:722,V:722,W:944,X:722,Y:722,Z:611,bracketleft:333,backslash:278,bracketright:333,asciicircum:469,underscore:500,quoteleft:333,a:444,b:500,c:444,d:500,e:444,f:333,g:500,h:500,i:278,j:278,k:500,l:278,m:778,n:500,o:500,p:500,q:500,r:333,s:389,t:278,u:500,v:500,w:722,x:500,y:500,z:444,braceleft:480,bar:200,braceright:480,asciitilde:541,exclamdown:333,cent:500,sterling:500,fraction:167,yen:500,florin:500,section:500,currency:500,quotesingle:180,quotedblleft:444,guillemotleft:500,guilsinglleft:333,guilsinglright:333,fi:556,fl:556,endash:500,dagger:500,daggerdbl:500,periodcentered:250,paragraph:453,bullet:350,quotesinglbase:333,quotedblbase:444,quotedblright:444,guillemotright:500,ellipsis:1e3,perthousand:1e3,questiondown:444,grave:333,acute:333,circumflex:333,tilde:333,macron:333,breve:333,dotaccent:333,dieresis:333,ring:333,cedilla:333,hungarumlaut:333,ogonek:333,caron:333,emdash:1e3,AE:889,ordfeminine:276,Lslash:611,Oslash:722,OE:889,ordmasculine:310,ae:667,dotlessi:278,lslash:278,oslash:500,oe:722,germandbls:500,Idieresis:333,eacute:444,abreve:444,uhungarumlaut:500,ecaron:444,Ydieresis:722,divide:564,Yacute:722,Acircumflex:722,aacute:444,Ucircumflex:722,yacute:500,scommaaccent:389,ecircumflex:444,Uring:722,Udieresis:722,aogonek:444,Uacute:722,uogonek:500,Edieresis:611,Dcroat:722,commaaccent:250,copyright:760,Emacron:611,ccaron:444,aring:444,Ncommaaccent:722,lacute:278,agrave:444,Tcommaaccent:611,Cacute:667,atilde:444,Edotaccent:611,scaron:389,scedilla:389,iacute:278,lozenge:471,Rcaron:667,Gcommaaccent:722,ucircumflex:500,acircumflex:444,Amacron:722,rcaron:333,ccedilla:444,Zdotaccent:611,Thorn:556,Omacron:722,Racute:667,Sacute:556,dcaron:588,Umacron:722,uring:500,threesuperior:300,Ograve:722,Agrave:722,Abreve:722,multiply:564,uacute:500,Tcaron:611,partialdiff:476,ydieresis:500,Nacute:722,icircumflex:278,Ecircumflex:611,adieresis:444,edieresis:444,cacute:444,nacute:500,umacron:500,Ncaron:722,Iacute:333,plusminus:564,brokenbar:200,registered:760,Gbreve:722,Idotaccent:333,summation:600,Egrave:611,racute:333,omacron:500,Zacute:611,Zcaron:611,greaterequal:549,Eth:722,Ccedilla:667,lcommaaccent:278,tcaron:326,eogonek:444,Uogonek:722,Aacute:722,Adieresis:722,egrave:444,zacute:444,iogonek:278,Oacute:722,oacute:500,amacron:444,sacute:389,idieresis:278,Ocircumflex:722,Ugrave:722,Delta:612,thorn:500,twosuperior:300,Odieresis:722,mu:500,igrave:278,ohungarumlaut:500,Eogonek:611,dcroat:500,threequarters:750,Scedilla:556,lcaron:344,Kcommaaccent:722,Lacute:611,trademark:980,edotaccent:444,Igrave:333,Imacron:333,Lcaron:611,onehalf:750,lessequal:549,ocircumflex:500,ntilde:500,Uhungarumlaut:722,Eacute:611,emacron:444,gbreve:500,onequarter:750,Scaron:556,Scommaaccent:556,Ohungarumlaut:722,degree:400,ograve:500,Ccaron:667,ugrave:500,radical:453,Dcaron:722,rcommaaccent:333,Ntilde:722,otilde:500,Rcommaaccent:667,Lcommaaccent:611,Atilde:722,Aogonek:722,Aring:722,Otilde:722,zdotaccent:444,Ecaron:611,Iogonek:333,kcommaaccent:500,minus:564,Icircumflex:333,ncaron:500,tcommaaccent:278,logicalnot:564,odieresis:500,udieresis:500,notequal:549,gcommaaccent:500,eth:500,zcaron:444,ncommaaccent:500,onesuperior:300,imacron:278,Euro:500},"Times-Bold":{space:250,exclam:333,quotedbl:555,numbersign:500,dollar:500,percent:1e3,ampersand:833,quoteright:333,parenleft:333,parenright:333,asterisk:500,plus:570,comma:250,hyphen:333,period:250,slash:278,zero:500,one:500,two:500,three:500,four:500,five:500,six:500,seven:500,eight:500,nine:500,colon:333,semicolon:333,less:570,equal:570,greater:570,question:500,at:930,A:722,B:667,C:722,D:722,E:667,F:611,G:778,H:778,I:389,J:500,K:778,L:667,M:944,N:722,O:778,P:611,Q:778,R:722,S:556,T:667,U:722,V:722,W:1e3,X:722,Y:722,Z:667,bracketleft:333,backslash:278,bracketright:333,asciicircum:581,underscore:500,quoteleft:333,a:500,b:556,c:444,d:556,e:444,f:333,g:500,h:556,i:278,j:333,k:556,l:278,m:833,n:556,o:500,p:556,q:556,r:444,s:389,t:333,u:556,v:500,w:722,x:500,y:500,z:444,braceleft:394,bar:220,braceright:394,asciitilde:520,exclamdown:333,cent:500,sterling:500,fraction:167,yen:500,florin:500,section:500,currency:500,quotesingle:278,quotedblleft:500,guillemotleft:500,guilsinglleft:333,guilsinglright:333,fi:556,fl:556,endash:500,dagger:500,daggerdbl:500,periodcentered:250,paragraph:540,bullet:350,quotesinglbase:333,quotedblbase:500,quotedblright:500,guillemotright:500,ellipsis:1e3,perthousand:1e3,questiondown:500,grave:333,acute:333,circumflex:333,tilde:333,macron:333,breve:333,dotaccent:333,dieresis:333,ring:333,cedilla:333,hungarumlaut:333,ogonek:333,caron:333,emdash:1e3,AE:1e3,ordfeminine:300,Lslash:667,Oslash:778,OE:1e3,ordmasculine:330,ae:722,dotlessi:278,lslash:278,oslash:500,oe:722,germandbls:556,Idieresis:389,eacute:444,abreve:500,uhungarumlaut:556,ecaron:444,Ydieresis:722,divide:570,Yacute:722,Acircumflex:722,aacute:500,Ucircumflex:722,yacute:500,scommaaccent:389,ecircumflex:444,Uring:722,Udieresis:722,aogonek:500,Uacute:722,uogonek:556,Edieresis:667,Dcroat:722,commaaccent:250,copyright:747,Emacron:667,ccaron:444,aring:500,Ncommaaccent:722,lacute:278,agrave:500,Tcommaaccent:667,Cacute:722,atilde:500,Edotaccent:667,scaron:389,scedilla:389,iacute:278,lozenge:494,Rcaron:722,Gcommaaccent:778,ucircumflex:556,acircumflex:500,Amacron:722,rcaron:444,ccedilla:444,Zdotaccent:667,Thorn:611,Omacron:778,Racute:722,Sacute:556,dcaron:672,Umacron:722,uring:556,threesuperior:300,Ograve:778,Agrave:722,Abreve:722,multiply:570,uacute:556,Tcaron:667,partialdiff:494,ydieresis:500,Nacute:722,icircumflex:278,Ecircumflex:667,adieresis:500,edieresis:444,cacute:444,nacute:556,umacron:556,Ncaron:722,Iacute:389,plusminus:570,brokenbar:220,registered:747,Gbreve:778,Idotaccent:389,summation:600,Egrave:667,racute:444,omacron:500,Zacute:667,Zcaron:667,greaterequal:549,Eth:722,Ccedilla:722,lcommaaccent:278,tcaron:416,eogonek:444,Uogonek:722,Aacute:722,Adieresis:722,egrave:444,zacute:444,iogonek:278,Oacute:778,oacute:500,amacron:500,sacute:389,idieresis:278,Ocircumflex:778,Ugrave:722,Delta:612,thorn:556,twosuperior:300,Odieresis:778,mu:556,igrave:278,ohungarumlaut:500,Eogonek:667,dcroat:556,threequarters:750,Scedilla:556,lcaron:394,Kcommaaccent:778,Lacute:667,trademark:1e3,edotaccent:444,Igrave:389,Imacron:389,Lcaron:667,onehalf:750,lessequal:549,ocircumflex:500,ntilde:556,Uhungarumlaut:722,Eacute:667,emacron:444,gbreve:500,onequarter:750,Scaron:556,Scommaaccent:556,Ohungarumlaut:778,degree:400,ograve:500,Ccaron:722,ugrave:556,radical:549,Dcaron:722,rcommaaccent:444,Ntilde:722,otilde:500,Rcommaaccent:722,Lcommaaccent:667,Atilde:722,Aogonek:722,Aring:722,Otilde:778,zdotaccent:444,Ecaron:667,Iogonek:389,kcommaaccent:556,minus:570,Icircumflex:389,ncaron:556,tcommaaccent:333,logicalnot:570,odieresis:500,udieresis:556,notequal:549,gcommaaccent:500,eth:500,zcaron:444,ncommaaccent:556,onesuperior:300,imacron:278,Euro:500},"Times-BoldItalic":{space:250,exclam:389,quotedbl:555,numbersign:500,dollar:500,percent:833,ampersand:778,quoteright:333,parenleft:333,parenright:333,asterisk:500,plus:570,comma:250,hyphen:333,period:250,slash:278,zero:500,one:500,two:500,three:500,four:500,five:500,six:500,seven:500,eight:500,nine:500,colon:333,semicolon:333,less:570,equal:570,greater:570,question:500,at:832,A:667,B:667,C:667,D:722,E:667,F:667,G:722,H:778,I:389,J:500,K:667,L:611,M:889,N:722,O:722,P:611,Q:722,R:667,S:556,T:611,U:722,V:667,W:889,X:667,Y:611,Z:611,bracketleft:333,backslash:278,bracketright:333,asciicircum:570,underscore:500,quoteleft:333,a:500,b:500,c:444,d:500,e:444,f:333,g:500,h:556,i:278,j:278,k:500,l:278,m:778,n:556,o:500,p:500,q:500,r:389,s:389,t:278,u:556,v:444,w:667,x:500,y:444,z:389,braceleft:348,bar:220,braceright:348,asciitilde:570,exclamdown:389,cent:500,sterling:500,fraction:167,yen:500,florin:500,section:500,currency:500,quotesingle:278,quotedblleft:500,guillemotleft:500,guilsinglleft:333,guilsinglright:333,fi:556,fl:556,endash:500,dagger:500,daggerdbl:500,periodcentered:250,paragraph:500,bullet:350,quotesinglbase:333,quotedblbase:500,quotedblright:500,guillemotright:500,ellipsis:1e3,perthousand:1e3,questiondown:500,grave:333,acute:333,circumflex:333,tilde:333,macron:333,breve:333,dotaccent:333,dieresis:333,ring:333,cedilla:333,hungarumlaut:333,ogonek:333,caron:333,emdash:1e3,AE:944,ordfeminine:266,Lslash:611,Oslash:722,OE:944,ordmasculine:300,ae:722,dotlessi:278,lslash:278,oslash:500,oe:722,germandbls:500,Idieresis:389,eacute:444,abreve:500,uhungarumlaut:556,ecaron:444,Ydieresis:611,divide:570,Yacute:611,Acircumflex:667,aacute:500,Ucircumflex:722,yacute:444,scommaaccent:389,ecircumflex:444,Uring:722,Udieresis:722,aogonek:500,Uacute:722,uogonek:556,Edieresis:667,Dcroat:722,commaaccent:250,copyright:747,Emacron:667,ccaron:444,aring:500,Ncommaaccent:722,lacute:278,agrave:500,Tcommaaccent:611,Cacute:667,atilde:500,Edotaccent:667,scaron:389,scedilla:389,iacute:278,lozenge:494,Rcaron:667,Gcommaaccent:722,ucircumflex:556,acircumflex:500,Amacron:667,rcaron:389,ccedilla:444,Zdotaccent:611,Thorn:611,Omacron:722,Racute:667,Sacute:556,dcaron:608,Umacron:722,uring:556,threesuperior:300,Ograve:722,Agrave:667,Abreve:667,multiply:570,uacute:556,Tcaron:611,partialdiff:494,ydieresis:444,Nacute:722,icircumflex:278,Ecircumflex:667,adieresis:500,edieresis:444,cacute:444,nacute:556,umacron:556,Ncaron:722,Iacute:389,plusminus:570,brokenbar:220,registered:747,Gbreve:722,Idotaccent:389,summation:600,Egrave:667,racute:389,omacron:500,Zacute:611,Zcaron:611,greaterequal:549,Eth:722,Ccedilla:667,lcommaaccent:278,tcaron:366,eogonek:444,Uogonek:722,Aacute:667,Adieresis:667,egrave:444,zacute:389,iogonek:278,Oacute:722,oacute:500,amacron:500,sacute:389,idieresis:278,Ocircumflex:722,Ugrave:722,Delta:612,thorn:500,twosuperior:300,Odieresis:722,mu:576,igrave:278,ohungarumlaut:500,Eogonek:667,dcroat:500,threequarters:750,Scedilla:556,lcaron:382,Kcommaaccent:667,Lacute:611,trademark:1e3,edotaccent:444,Igrave:389,Imacron:389,Lcaron:611,onehalf:750,lessequal:549,ocircumflex:500,ntilde:556,Uhungarumlaut:722,Eacute:667,emacron:444,gbreve:500,onequarter:750,Scaron:556,Scommaaccent:556,Ohungarumlaut:722,degree:400,ograve:500,Ccaron:667,ugrave:556,radical:549,Dcaron:722,rcommaaccent:389,Ntilde:722,otilde:500,Rcommaaccent:667,Lcommaaccent:611,Atilde:667,Aogonek:667,Aring:667,Otilde:722,zdotaccent:389,Ecaron:667,Iogonek:389,kcommaaccent:500,minus:606,Icircumflex:389,ncaron:556,tcommaaccent:278,logicalnot:606,odieresis:500,udieresis:556,notequal:549,gcommaaccent:500,eth:500,zcaron:389,ncommaaccent:556,onesuperior:300,imacron:278,Euro:500},"Times-Italic":{space:250,exclam:333,quotedbl:420,numbersign:500,dollar:500,percent:833,ampersand:778,quoteright:333,parenleft:333,parenright:333,asterisk:500,plus:675,comma:250,hyphen:333,period:250,slash:278,zero:500,one:500,two:500,three:500,four:500,five:500,six:500,seven:500,eight:500,nine:500,colon:333,semicolon:333,less:675,equal:675,greater:675,question:500,at:920,A:611,B:611,C:667,D:722,E:611,F:611,G:722,H:722,I:333,J:444,K:667,L:556,M:833,N:667,O:722,P:611,Q:722,R:611,S:500,T:556,U:722,V:611,W:833,X:611,Y:556,Z:556,bracketleft:389,backslash:278,bracketright:389,asciicircum:422,underscore:500,quoteleft:333,a:500,b:500,c:444,d:500,e:444,f:278,g:500,h:500,i:278,j:278,k:444,l:278,m:722,n:500,o:500,p:500,q:500,r:389,s:389,t:278,u:500,v:444,w:667,x:444,y:444,z:389,braceleft:400,bar:275,braceright:400,asciitilde:541,exclamdown:389,cent:500,sterling:500,fraction:167,yen:500,florin:500,section:500,currency:500,quotesingle:214,quotedblleft:556,guillemotleft:500,guilsinglleft:333,guilsinglright:333,fi:500,fl:500,endash:500,dagger:500,daggerdbl:500,periodcentered:250,paragraph:523,bullet:350,quotesinglbase:333,quotedblbase:556,quotedblright:556,guillemotright:500,ellipsis:889,perthousand:1e3,questiondown:500,grave:333,acute:333,circumflex:333,tilde:333,macron:333,breve:333,dotaccent:333,dieresis:333,ring:333,cedilla:333,hungarumlaut:333,ogonek:333,caron:333,emdash:889,AE:889,ordfeminine:276,Lslash:556,Oslash:722,OE:944,ordmasculine:310,ae:667,dotlessi:278,lslash:278,oslash:500,oe:667,germandbls:500,Idieresis:333,eacute:444,abreve:500,uhungarumlaut:500,ecaron:444,Ydieresis:556,divide:675,Yacute:556,Acircumflex:611,aacute:500,Ucircumflex:722,yacute:444,scommaaccent:389,ecircumflex:444,Uring:722,Udieresis:722,aogonek:500,Uacute:722,uogonek:500,Edieresis:611,Dcroat:722,commaaccent:250,copyright:760,Emacron:611,ccaron:444,aring:500,Ncommaaccent:667,lacute:278,agrave:500,Tcommaaccent:556,Cacute:667,atilde:500,Edotaccent:611,scaron:389,scedilla:389,iacute:278,lozenge:471,Rcaron:611,Gcommaaccent:722,ucircumflex:500,acircumflex:500,Amacron:611,rcaron:389,ccedilla:444,Zdotaccent:556,Thorn:611,Omacron:722,Racute:611,Sacute:500,dcaron:544,Umacron:722,uring:500,threesuperior:300,Ograve:722,Agrave:611,Abreve:611,multiply:675,uacute:500,Tcaron:556,partialdiff:476,ydieresis:444,Nacute:667,icircumflex:278,Ecircumflex:611,adieresis:500,edieresis:444,cacute:444,nacute:500,umacron:500,Ncaron:667,Iacute:333,plusminus:675,brokenbar:275,registered:760,Gbreve:722,Idotaccent:333,summation:600,Egrave:611,racute:389,omacron:500,Zacute:556,Zcaron:556,greaterequal:549,Eth:722,Ccedilla:667,lcommaaccent:278,tcaron:300,eogonek:444,Uogonek:722,Aacute:611,Adieresis:611,egrave:444,zacute:389,iogonek:278,Oacute:722,oacute:500,amacron:500,sacute:389,idieresis:278,Ocircumflex:722,Ugrave:722,Delta:612,thorn:500,twosuperior:300,Odieresis:722,mu:500,igrave:278,ohungarumlaut:500,Eogonek:611,dcroat:500,threequarters:750,Scedilla:500,lcaron:300,Kcommaaccent:667,Lacute:556,trademark:980,edotaccent:444,Igrave:333,Imacron:333,Lcaron:611,onehalf:750,lessequal:549,ocircumflex:500,ntilde:500,Uhungarumlaut:722,Eacute:611,emacron:444,gbreve:500,onequarter:750,Scaron:500,Scommaaccent:500,Ohungarumlaut:722,degree:400,ograve:500,Ccaron:667,ugrave:500,radical:453,Dcaron:722,rcommaaccent:389,Ntilde:667,otilde:500,Rcommaaccent:611,Lcommaaccent:556,Atilde:611,Aogonek:611,Aring:611,Otilde:722,zdotaccent:389,Ecaron:611,Iogonek:333,kcommaaccent:444,minus:675,Icircumflex:333,ncaron:500,tcommaaccent:278,logicalnot:675,odieresis:500,udieresis:500,notequal:549,gcommaaccent:500,eth:500,zcaron:389,ncommaaccent:500,onesuperior:300,imacron:278,Euro:500},ZapfDingbats:{space:278,a1:974,a2:961,a202:974,a3:980,a4:719,a5:789,a119:790,a118:791,a117:690,a11:960,a12:939,a13:549,a14:855,a15:911,a16:933,a105:911,a17:945,a18:974,a19:755,a20:846,a21:762,a22:761,a23:571,a24:677,a25:763,a26:760,a27:759,a28:754,a6:494,a7:552,a8:537,a9:577,a10:692,a29:786,a30:788,a31:788,a32:790,a33:793,a34:794,a35:816,a36:823,a37:789,a38:841,a39:823,a40:833,a41:816,a42:831,a43:923,a44:744,a45:723,a46:749,a47:790,a48:792,a49:695,a50:776,a51:768,a52:792,a53:759,a54:707,a55:708,a56:682,a57:701,a58:826,a59:815,a60:789,a61:789,a62:707,a63:687,a64:696,a65:689,a66:786,a67:787,a68:713,a69:791,a70:785,a71:791,a72:873,a73:761,a74:762,a203:762,a75:759,a204:759,a76:892,a77:892,a78:788,a79:784,a81:438,a82:138,a83:277,a84:415,a97:392,a98:392,a99:668,a100:668,a89:390,a90:390,a93:317,a94:317,a91:276,a92:276,a205:509,a85:509,a206:410,a86:410,a87:234,a88:234,a95:334,a96:334,a101:732,a102:544,a103:544,a104:910,a106:667,a107:760,a108:760,a112:776,a111:595,a110:694,a109:626,a120:788,a121:788,a122:788,a123:788,a124:788,a125:788,a126:788,a127:788,a128:788,a129:788,a130:788,a131:788,a132:788,a133:788,a134:788,a135:788,a136:788,a137:788,a138:788,a139:788,a140:788,a141:788,a142:788,a143:788,a144:788,a145:788,a146:788,a147:788,a148:788,a149:788,a150:788,a151:788,a152:788,a153:788,a154:788,a155:788,a156:788,a157:788,a158:788,a159:788,a160:894,a161:838,a163:1016,a164:458,a196:748,a165:924,a192:748,a166:918,a167:927,a168:928,a169:928,a170:834,a171:873,a172:828,a173:924,a162:924,a174:917,a175:930,a176:931,a177:463,a178:883,a179:836,a193:836,a180:867,a199:867,a181:696,a200:696,a182:874,a201:874,a183:760,a184:946,a197:771,a185:865,a194:771,a198:888,a186:967,a195:888,a187:831,a188:873,a189:927,a190:970,a191:918}},Dc={},Ec=1e3,Fc=function(){function d(a,b,c){this.lexer=a,this.allowStreams=b,this.xref=c,this.imageCache={},this.refill()}return d.prototype={refill:function(){this.buf1=this.lexer.getObj(),this.buf2=this.lexer.getObj()},shift:function(){A(this.buf2,"ID")?(this.buf1=this.buf2,this.buf2=null):(this.buf1=this.buf2,this.buf2=this.lexer.getObj())},tryShift:function(){try{return this.shift(),!0}catch(a){if(a instanceof ja)throw a;return!1}},getObj:function(b){var d=this.buf1;if(this.shift(),d instanceof za)switch(d.cmd){case"BI":return this.makeInlineImage(b);case"[":for(var e=[];!A(this.buf1,"]")&&!R(this.buf1);)e.push(this.getObj(b));return R(this.buf1)&&c("End of file inside array"),this.shift(),e;case"<<":for(var f=new Aa(this.xref);!A(this.buf1,">>")&&!R(this.buf1);)if(z(this.buf1)){var g=this.buf1.name;if(this.shift(),R(this.buf1))break;f.set(g,this.getObj(b))}else a("Malformed dictionary: key must be a name object"),this.shift();return R(this.buf1)&&c("End of file inside dictionary"),A(this.buf2,"stream")?this.allowStreams?this.makeStream(f,b):f:(this.shift(),f);default:return d}if(w(d)){var h=d;if(w(this.buf1)&&A(this.buf2,"R")){var i=new Ba(h,this.buf1);return this.shift(),this.shift(),i}return h}if(y(d)){var j=d;return b&&(j=b.decryptString(j)),j}return d},findDefaultInlineStreamEnd:function(a){for(var b,c,d,f,g=69,h=73,i=32,j=10,k=13,l=a.pos,m=0;-1!==(b=a.getByte());)if(0===m)m=b===g?1:0;else if(1===m)m=b===h?2:0;else if(e(2===m),b===i||b===j||b===k){for(d=5,f=a.peekBytes(d),c=0;d>c;c++)if(b=f[c],b!==j&&b!==k&&(i>b||b>127)){m=0;break}if(2===m)break}else m=0;return a.pos-4-l},findDCTDecodeInlineStreamEnd:function(a){for(var c,d,e,f=a.pos,g=!1;-1!==(c=a.getByte());)if(255===c){switch(a.getByte()){case 0:break;case 255:a.skip(-1);break;case 217:g=!0;break;case 192:case 193:case 194:case 195:case 197:case 198:case 199:case 201:case 202:case 203:case 205:case 206:case 207:case 196:case 204:case 218:case 219:case 220:case 221:case 222:case 223:case 224:case 225:case 226:case 227:case 228:case 229:case 230:case 231:case 232:case 233:case 234:case 235:case 236:case 237:case 238:case 239:case 254:d=a.getUint16(),d>2?a.skip(d-2):a.skip(-2)}if(g)break}return e=a.pos-f,-1===c?(b("Inline DCTDecode image stream: EOI marker not found, searching for /EI/ instead."),a.skip(-e),this.findDefaultInlineStreamEnd(a)):(this.inlineStreamSkipEI(a),e)},findASCII85DecodeInlineStreamEnd:function(a){for(var c,d,e=126,f=62,g=a.pos;-1!==(c=a.getByte());)if(c===e&&a.peekByte()===f){a.skip();break}return d=a.pos-g,-1===c?(b("Inline ASCII85Decode image stream: EOD marker not found, searching for /EI/ instead."),a.skip(-d),this.findDefaultInlineStreamEnd(a)):(this.inlineStreamSkipEI(a),d)},findASCIIHexDecodeInlineStreamEnd:function(a){for(var c,d,e=62,f=a.pos;-1!==(c=a.getByte())&&c!==e;);return d=a.pos-f,-1===c?(b("Inline ASCIIHexDecode image stream: EOD marker not found, searching for /EI/ instead."),a.skip(-d),this.findDefaultInlineStreamEnd(a)):(this.inlineStreamSkipEI(a),d)},inlineStreamSkipEI:function(a){for(var b,c=69,d=73,e=0;-1!==(b=a.getByte());)if(0===e)e=b===c?1:0;else if(1===e)e=b===d?2:0;else if(2===e)break},makeInlineImage:function(a){for(var b=this.lexer,d=b.stream,e=new Aa(this.xref);!A(this.buf1,"ID")&&!R(this.buf1);){z(this.buf1)||c("Dictionary key must be a name object");var f=this.buf1.name;if(this.shift(),R(this.buf1))break;e.set(f,this.getObj(a))}var g,h=e.get("Filter","F");z(h)?g=h.name:C(h)&&z(h[0])&&(g=h[0].name);var i,j,k,l=d.pos;i="DCTDecode"===g||"DCT"===g?this.findDCTDecodeInlineStreamEnd(d):"ASCII85Decide"===g||"A85"===g?this.findASCII85DecodeInlineStreamEnd(d):"ASCIIHexDecode"===g||"AHx"===g?this.findASCIIHexDecodeInlineStreamEnd(d):this.findDefaultInlineStreamEnd(d);var m,n=d.makeSubStream(l,i,e);if(Ec>i){var o=n.getBytes();n.reset();var p=1,q=0;for(j=0,k=o.length;k>j;++j)p+=255&o[j],q+=p;if(m=q%65521<<16|p%65521,this.imageCache.adler32===m)return this.buf2=za.get("EI"),this.shift(),this.imageCache[m].reset(),this.imageCache[m]}return a&&(n=a.createStream(n,i)),n=this.filter(n,e,i),n.dict=e,void 0!==m&&(n.cacheKey="inline_"+i+"_"+m,this.imageCache[m]=n),this.buf2=za.get("EI"),this.shift(),n},makeStream:function(b,d){var e=this.lexer,f=e.stream;e.skipToNextLine();var g=f.pos-1,h=b.get("Length");if(w(h)||(a("Bad "+h+" attribute in stream"),h=0),f.pos=g+h,e.nextChar(),this.tryShift()&&A(this.buf2,"endstream"))this.shift();else{f.pos=g;for(var i,j,k=2048,l=9,m=[101,110,100,115,116,114,101,97,109],n=0,o=!1;f.pos=q)break;for(o=!1,i=0,j=0;q>i;i++){var r=p[i];if(r!==m[j])i-=j,j=0;else if(j++,j>=l){i++,o=!0;break}}if(o){n+=i-l,f.pos+=i-l;break}n+=q,f.pos+=q}o||c("Missing endstream"),h=n,e.nextChar(),this.shift(),this.shift()}return this.shift(),f=f.makeSubStream(g,h,b),d&&(f=d.createStream(f,h)),f=this.filter(f,b,h),f.dict=b,f},filter:function(a,b,d){var e=b.get("Filter","F"),f=b.get("DecodeParms","DP");if(z(e))return this.makeFilter(a,e.name,d,f);var g=d;if(C(e))for(var h=e,i=f,j=0,k=h.length;k>j;++j)e=h[j],z(e)||c("Bad filter name: "+e),f=null,C(i)&&j in i&&(f=i[j]),a=this.makeFilter(a,e.name,g,f),g=null;return a},makeFilter:function(a,c,d,e){if(0===a.dict.get("Length")&&!d)return b('Empty "'+c+'" stream.'),new _c(a);try{e&&this.xref&&(e=this.xref.fetchIfRef(e));var f=this.xref.stats.streamTypes;if("FlateDecode"===c||"Fl"===c)return f[Y.FLATE]=!0,e?new Rc(new Qc(a,d),d,e):new Qc(a,d);if("LZWDecode"===c||"LZW"===c){f[Y.LZW]=!0;var g=1;return e?(e.has("EarlyChange")&&(g=e.get("EarlyChange")),new Rc(new $c(a,d,g),d,e)):new $c(a,d,g)}return"DCTDecode"===c||"DCT"===c?(f[Y.DCT]=!0,new Sc(a,d,a.dict,this.xref)):"JPXDecode"===c||"JPX"===c?(f[Y.JPX]=!0,new Tc(a,d,a.dict)):"ASCII85Decode"===c||"A85"===c?(f[Y.A85]=!0,new Wc(a,d)):"ASCIIHexDecode"===c||"AHx"===c?(f[Y.AHX]=!0,new Xc(a,d)):"CCITTFaxDecode"===c||"CCF"===c?(f[Y.CCF]=!0,new Zc(a,d,e)):"RunLengthDecode"===c||"RL"===c?(f[Y.RL]=!0,new Yc(a,d)):"JBIG2Decode"===c?(f[Y.JBIG]=!0,new Uc(a,d,a.dict)):(b('filter "'+c+'" not supported yet'),a)}catch(h){if(h instanceof ja)throw h;return b('Invalid stream: "'+h+'"'),new _c(a)}}},d}(),Gc=function(){function a(a,b){this.stream=a,this.nextChar(),this.strBuf=[],this.knownCommands=b}function d(a){return a>=48&&57>=a?15&a:a>=65&&70>=a||a>=97&&102>=a?(15&a)+9:-1}a.isSpace=function(a){return 32===a||9===a||13===a||10===a};var e=[1,0,0,0,0,0,0,0,0,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,2,0,0,2,2,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];return a.prototype={nextChar:function(){return this.currentChar=this.stream.getByte()},peekChar:function(){return this.stream.peekByte()},getNumber:function(){var a=this.currentChar,d=!1,e=0,f=1;if(45===a?(f=-1,a=this.nextChar(),45===a&&(a=this.nextChar())):43===a&&(a=this.nextChar()),46===a&&(e=10,a=this.nextChar()),48>a||a>57)return c("Invalid number: "+String.fromCharCode(a)),0;for(var g=a-48,h=0,i=1;(a=this.nextChar())>=0;)if(a>=48&&57>=a){var j=a-48;d?h=10*h+j:(0!==e&&(e*=10),g=10*g+j)}else if(46===a){if(0!==e)break;e=1}else if(45===a)b("Badly formated number");else{if(69!==a&&101!==a)break;if(a=this.peekChar(),43===a||45===a)i=45===a?-1:1,this.nextChar();else if(48>a||a>57)break;d=!0}return 0!==e&&(g/=e),d&&(g*=Math.pow(10,i*h)),f*g},getString:function(){var a=1,c=!1,d=this.strBuf;d.length=0;for(var e=this.nextChar();;){var f=!1;switch(0|e){case-1:b("Unterminated string"),c=!0;break;case 40:++a,d.push("(");break;case 41:0===--a?(this.nextChar(),c=!0):d.push(")");break;case 92:switch(e=this.nextChar()){case-1:b("Unterminated string"),c=!0;break;case 110:d.push("\n");break;case 114:d.push("\r");break;case 116:d.push(" ");break;case 98:d.push("\b");break;case 102:d.push("\f");break;case 92:case 40:case 41:d.push(String.fromCharCode(e));break;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:var g=15&e;e=this.nextChar(),f=!0,e>=48&&55>=e&&(g=(g<<3)+(15&e),e=this.nextChar(),e>=48&&55>=e&&(f=!1,g=(g<<3)+(15&e))),d.push(String.fromCharCode(g));break;case 13:10===this.peekChar()&&this.nextChar();break;case 10:break;default:d.push(String.fromCharCode(e))}break;default:d.push(String.fromCharCode(e))}if(c)break;f||(e=this.nextChar())}return d.join("")},getName:function(){var a,f=this.strBuf;for(f.length=0;(a=this.nextChar())>=0&&!e[a];)if(35===a){a=this.nextChar();var g=d(a);if(-1!==g){var h=d(this.nextChar());-1===h&&c("Illegal digit in hex char in name: "+h),f.push(String.fromCharCode(g<<4|h))}else f.push("#",String.fromCharCode(a))}else f.push(String.fromCharCode(a));return f.length>127&&b("name token is longer than allowed by the spec: "+f.length),ya.get(f.join(""))},getHexString:function(){var a=this.strBuf;a.length=0;for(var c,f,g=this.currentChar,h=!0;;){if(0>g){b("Unterminated hex string");break}if(62===g){this.nextChar();break}if(1!==e[g]){if(h){if(c=d(g),-1===c){b('Ignoring invalid character "'+g+'" in hex string'),g=this.nextChar();continue}}else{if(f=d(g),-1===f){b('Ignoring invalid character "'+g+'" in hex string'),g=this.nextChar();continue}a.push(String.fromCharCode(c<<4|f))}h=!h,g=this.nextChar()}else g=this.nextChar()}return a.join("")},getObj:function(){for(var a=!1,b=this.currentChar;;){if(0>b)return Dc;if(a)10!==b&&13!==b||(a=!1);else if(37===b)a=!0;else if(1!==e[b])break;b=this.nextChar()}switch(0|b){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 43:case 45:case 46:return this.getNumber();case 40:return this.getString();case 47:return this.getName();case 91:return this.nextChar(),za.get("[");case 93:return this.nextChar(),za.get("]");case 60:return b=this.nextChar(),60===b?(this.nextChar(),za.get("<<")):this.getHexString();case 62:return b=this.nextChar(),62===b?(this.nextChar(),za.get(">>")):za.get(">");case 123:return this.nextChar(),za.get("{");case 125:return this.nextChar(),za.get("}");case 41:c("Illegal character: "+b)}for(var d=String.fromCharCode(b),f=this.knownCommands,g=f&&void 0!==f[d];(b=this.nextChar())>=0&&!e[b];){var h=d+String.fromCharCode(b);if(g&&void 0===f[h])break;128===d.length&&c("Command token too long: "+d.length),d=h,g=f&&void 0!==f[d]}return"true"===d?!0:"false"===d?!1:"null"===d?null:za.get(d)},skipToNextLine:function(){for(var a=this.currentChar;a>=0;){if(13===a){a=this.nextChar(),10===a&&this.nextChar();break}if(10===a){this.nextChar();break}a=this.nextChar()}}},a}(),Hc={create:function(a){function b(a,b){var c=j.get(a);if(w(c)&&(b?c>=0:c>0))return c;throw new Error('The "'+a+'" parameter in the linearization dictionary is invalid.')}function c(){var a,b,c=j.get("H");if(C(c)&&(2===(a=c.length)||4===a)){for(var d=0;a>d;d++)if(!(w(b=c[d])&&b>0))throw new Error("Hint ("+d+") in the linearization dictionary is invalid.");return c}throw new Error("Hint array in the linearization dictionary is invalid.")}var d,e,f=new Fc(new Gc(a),!1,null),g=f.getObj(),h=f.getObj(),i=f.getObj(),j=f.getObj();if(!(w(g)&&w(h)&&A(i,"obj")&&B(j)&&x(d=j.get("Linearized"))&&d>0))return null;if((e=b("L"))!==a.length)throw new Error('The "L" parameter in the linearization dictionary does not equal the stream length.');return{length:e,hints:c(),objectNumberFirst:b("O"),endFirst:b("E"),numPages:b("N"),mainXRefEntriesOffset:b("T"),pageFirst:j.has("P")?b("P",!0):0}}},Ic=function(){function a(a){this.lexer=a,this.operators=[],this.token=null,this.prev=null}return a.prototype={nextToken:function(){this.prev=this.token,this.token=this.lexer.getToken()},accept:function(a){return this.token.type===a?(this.nextToken(),!0):!1},expect:function(a){return this.accept(a)?!0:void c("Unexpected symbol: found "+this.token.type+" expected "+a+".")},parse:function(){return this.nextToken(),this.expect(Jc.LBRACE),this.parseBlock(),this.expect(Jc.RBRACE),this.operators},parseBlock:function(){for(;;)if(this.accept(Jc.NUMBER))this.operators.push(this.prev.value);else if(this.accept(Jc.OPERATOR))this.operators.push(this.prev.value);else{if(!this.accept(Jc.LBRACE))return;this.parseCondition()}},parseCondition:function(){var a=this.operators.length;if(this.operators.push(null,null),this.parseBlock(),this.expect(Jc.RBRACE),this.accept(Jc.IF))this.operators[a]=this.operators.length,this.operators[a+1]="jz";else if(this.accept(Jc.LBRACE)){var b=this.operators.length;this.operators.push(null,null);var d=this.operators.length; -this.parseBlock(),this.expect(Jc.RBRACE),this.expect(Jc.IFELSE),this.operators[b]=this.operators.length,this.operators[b+1]="j",this.operators[a]=d,this.operators[a+1]="jz"}else c("PS Function: error parsing conditional.")}},a}(),Jc={LBRACE:0,RBRACE:1,NUMBER:2,OPERATOR:3,IF:4,IFELSE:5},Kc=function(){function a(a,b){this.type=a,this.value=b}var b={};return a.getOperator=function(c){var d=b[c];return d?d:b[c]=new a(Jc.OPERATOR,c)},a.LBRACE=new a(Jc.LBRACE,"{"),a.RBRACE=new a(Jc.RBRACE,"}"),a.IF=new a(Jc.IF,"IF"),a.IFELSE=new a(Jc.IFELSE,"IFELSE"),a}(),Lc=function(){function a(a){this.stream=a,this.nextChar(),this.strBuf=[]}return a.prototype={nextChar:function(){return this.currentChar=this.stream.getByte()},getToken:function(){for(var a=!1,b=this.currentChar;;){if(0>b)return Dc;if(a)10!==b&&13!==b||(a=!1);else if(37===b)a=!0;else if(!Gc.isSpace(b))break;b=this.nextChar()}switch(0|b){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 43:case 45:case 46:return new Kc(Jc.NUMBER,this.getNumber());case 123:return this.nextChar(),Kc.LBRACE;case 125:return this.nextChar(),Kc.RBRACE}var c=this.strBuf;for(c.length=0,c[0]=String.fromCharCode(b);(b=this.nextChar())>=0&&(b>=65&&90>=b||b>=97&&122>=b);)c.push(String.fromCharCode(b));var d=c.join("");switch(d.toLowerCase()){case"if":return Kc.IF;case"ifelse":return Kc.IFELSE;default:return Kc.getOperator(d)}},getNumber:function(){var a=this.currentChar,b=this.strBuf;for(b.length=0,b[0]=String.fromCharCode(a);(a=this.nextChar())>=0&&(a>=48&&57>=a||45===a||46===a);)b.push(String.fromCharCode(a));var d=parseFloat(b.join(""));return isNaN(d)&&c("Invalid floating point number: "+d),d}},a}(),Mc=function(){function a(a,b,c,d){this.bytes=a instanceof Uint8Array?a:new Uint8Array(a),this.start=b||0,this.pos=this.start,this.end=b+c||this.bytes.length,this.dict=d}return a.prototype={get length(){return this.end-this.start},get isEmpty(){return 0===this.length},getByte:function(){return this.pos>=this.end?-1:this.bytes[this.pos++]},getUint16:function(){var a=this.getByte(),b=this.getByte();return-1===a||-1===b?-1:(a<<8)+b},getInt32:function(){var a=this.getByte(),b=this.getByte(),c=this.getByte(),d=this.getByte();return(a<<24)+(b<<16)+(c<<8)+d},getBytes:function(a){var b=this.bytes,c=this.pos,d=this.end;if(!a)return b.subarray(c,d);var e=c+a;return e>d&&(e=d),this.pos=e,b.subarray(c,e)},peekByte:function(){var a=this.getByte();return this.pos--,a},peekBytes:function(a){var b=this.getBytes(a);return this.pos-=b.length,b},skip:function(a){a||(a=1),this.pos+=a},reset:function(){this.pos=this.start},moveStart:function(){this.start=this.pos},makeSubStream:function(b,c,d){return new a(this.bytes.buffer,b,c,d)},isStream:!0},a}(),Nc=function(){function a(a){for(var b=a.length,c=new Uint8Array(b),d=0;b>d;++d)c[d]=a.charCodeAt(d);Mc.call(this,c)}return a.prototype=Mc.prototype,a}(),Oc=function(){function a(a){if(this.pos=0,this.bufferLength=0,this.eof=!1,this.buffer=b,this.minBufferLength=512,a)for(;this.minBufferLengthc;)c*=2;var d=new Uint8Array(c);return d.set(b),this.buffer=d},getByte:function(){for(var a=this.pos;this.bufferLength<=a;){if(this.eof)return-1;this.readBlock()}return this.buffer[this.pos++]},getUint16:function(){var a=this.getByte(),b=this.getByte();return-1===a||-1===b?-1:(a<<8)+b},getInt32:function(){var a=this.getByte(),b=this.getByte(),c=this.getByte(),d=this.getByte();return(a<<24)+(b<<16)+(c<<8)+d},getBytes:function(a){var b,c=this.pos;if(a){for(this.ensureBuffer(c+a),b=c+a;!this.eof&&this.bufferLengthd&&(b=d)}else{for(;!this.eof;)this.readBlock();b=this.bufferLength}return this.pos=b,this.buffer.subarray(c,b)},peekByte:function(){var a=this.getByte();return this.pos--,a},peekBytes:function(a){var b=this.getBytes(a);return this.pos-=b.length,b},makeSubStream:function(a,b,c){for(var d=a+b;this.bufferLength<=d&&!this.eof;)this.readBlock();return new Mc(this.buffer,a,b,c)},skip:function(a){a||(a=1),this.pos+=a},reset:function(){this.pos=0},getBaseStreams:function(){return this.str&&this.str.getBaseStreams?this.str.getBaseStreams():[]}},a}(),Pc=function(){function a(a){this.streams=a,Oc.call(this,null)}return a.prototype=Object.create(Oc.prototype),a.prototype.readBlock=function(){var a=this.streams;if(0===a.length)return void(this.eof=!0);var b=a.shift(),c=b.getBytes(),d=this.bufferLength,e=d+c.length,f=this.ensureBuffer(e);f.set(c,d),this.bufferLength=e},a.prototype.getBaseStreams=function(){for(var a=[],b=0,c=this.streams.length;c>b;b++){var d=this.streams[b];d.getBaseStreams&&na.appendToArray(a,d.getBaseStreams())}return a},a}(),Qc=function(){function a(a,b){this.str=a,this.dict=a.dict;var d=a.getByte(),e=a.getByte();-1!==d&&-1!==e||c("Invalid header in flate stream: "+d+", "+e),8!==(15&d)&&c("Unknown compression method in flate stream: "+d+", "+e),((d<<8)+e)%31!==0&&c("Bad FCHECK in flate stream: "+d+", "+e),32&e&&c("FDICT bit set in flate stream: "+d+", "+e),this.codeSize=0,this.codeBuf=0,Oc.call(this,b)}var b=new Int32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),d=new Int32Array([3,4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]),e=new Int32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),f=[new Int32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59e4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,524369,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,590041,459022,524396,524332,590009,524300,524428,524364,590073,459009,524370,524306,524570,459025,524402,524338,590021,459017,524386,524322,589989,524290,524418,524354,590053,459013,524378,524314,589973,459029,524410,524346,590037,459021,524394,524330,590005,524298,524426,524362,590069,459011,524374,524310,524574,459027,524406,524342,590029,459019,524390,524326,589997,524294,524422,524358,590061,459015,524382,524318,589981,459031,524414,524350,590045,459023,524398,524334,590013,524302,524430,524366,590077,459008,524369,524305,524569,459024,524401,524337,590019,459016,524385,524321,589987,524289,524417,524353,590051,459012,524377,524313,589971,459028,524409,524345,590035,459020,524393,524329,590003,524297,524425,524361,590067,459010,524373,524309,524573,459026,524405,524341,590027,459018,524389,524325,589995,524293,524421,524357,590059,459014,524381,524317,589979,459030,524413,524349,590043,459022,524397,524333,590011,524301,524429,524365,590075,459009,524371,524307,524571,459025,524403,524339,590023,459017,524387,524323,589991,524291,524419,524355,590055,459013,524379,524315,589975,459029,524411,524347,590039,459021,524395,524331,590007,524299,524427,524363,590071,459011,524375,524311,524575,459027,524407,524343,590031,459019,524391,524327,589999,524295,524423,524359,590063,459015,524383,524319,589983,459031,524415,524351,590047,459023,524399,524335,590015,524303,524431,524367,590079]),9],g=[new Int32Array([327680,327696,327688,327704,327684,327700,327692,327708,327682,327698,327690,327706,327686,327702,327694,0,327681,327697,327689,327705,327685,327701,327693,327709,327683,327699,327691,327707,327687,327703,327695,0]),5];return a.prototype=Object.create(Oc.prototype),a.prototype.getBits=function(a){for(var b,d=this.str,e=this.codeSize,f=this.codeBuf;a>e;)-1===(b=d.getByte())&&c("Bad encoding in flate stream"),f|=b<>a,this.codeSize=e-=a,b},a.prototype.getCode=function(a){for(var b,d=this.str,e=a[0],f=a[1],g=this.codeSize,h=this.codeBuf;f>g&&-1!==(b=d.getByte());)h|=b<>16,k=65535&i;return(1>j||j>g)&&c("Bad encoding in flate stream"),this.codeBuf=h>>j,this.codeSize=g-j,k},a.prototype.generateHuffmanTable=function(a){var b,c=a.length,d=0;for(b=0;c>b;++b)a[b]>d&&(d=a[b]);for(var e=1<=g;++g,h<<=1,i<<=1)for(var j=0;c>j;++j)if(a[j]===g){var k=0,l=h;for(b=0;g>b;++b)k=k<<1|1&l,l>>=1;for(b=k;e>b;b+=i)f[b]=g<<16|j;++h}return[f,d]},a.prototype.readBlock=function(){var a,h,i=this.str,j=this.getBits(3);if(1&j&&(this.eof=!0),j>>=1,0!==j){var k,l;if(1===j)k=f,l=g;else if(2===j){var m,n=this.getBits(5)+257,o=this.getBits(5)+1,p=this.getBits(4)+4,q=new Uint8Array(b.length);for(m=0;p>m;++m)q[b[m]]=this.getBits(3);var r=this.generateHuffmanTable(q);h=0,m=0;for(var s,t,u,v=n+o,w=new Uint8Array(v);v>m;){var x=this.getCode(r);if(16===x)s=2,t=3,u=h;else if(17===x)s=3,t=3,u=h=0;else{if(18!==x){w[m++]=h=x;continue}s=7,t=11,u=h=0}for(var y=this.getBits(s)+t;y-- >0;)w[m++]=u}k=this.generateHuffmanTable(w.subarray(0,n)),l=this.generateHuffmanTable(w.subarray(n,v))}else c("Unknown block type in flate stream");a=this.buffer;for(var z=a?a.length:0,A=this.bufferLength;;){var B=this.getCode(k);if(256>B)A+1>=z&&(a=this.ensureBuffer(A+1),z=a.length),a[A++]=B;else{if(256===B)return void(this.bufferLength=A);B-=257,B=d[B];var C=B>>16;C>0&&(C=this.getBits(C)),h=(65535&B)+C,B=this.getCode(l),B=e[B],C=B>>16,C>0&&(C=this.getBits(C));var D=(65535&B)+C;A+h>=z&&(a=this.ensureBuffer(A+h),z=a.length);for(var E=0;h>E;++E,++A)a[A]=a[A-D]}}}else{var F;-1===(F=i.getByte())&&c("Bad block header in flate stream");var G=F;-1===(F=i.getByte())&&c("Bad block header in flate stream"),G|=F<<8,-1===(F=i.getByte())&&c("Bad block header in flate stream");var H=F;-1===(F=i.getByte())&&c("Bad block header in flate stream"),H|=F<<8,H===(65535&~G)||0===G&&0===H||c("Bad uncompressed block length in flate stream"),this.codeBuf=0,this.codeSize=0;var I=this.bufferLength;a=this.ensureBuffer(I+G);var J=I+G;if(this.bufferLength=J,0===G)-1===i.peekByte()&&(this.eof=!0);else for(var K=I;J>K;++K){if(-1===(F=i.getByte())){this.eof=!0;break}a[K]=F}}},a}(),Rc=function(){function a(a,b,d){var e=this.predictor=d.get("Predictor")||1;if(1>=e)return a;2!==e&&(10>e||e>15)&&c("Unsupported predictor: "+e),2===e?this.readBlock=this.readBlockTiff:this.readBlock=this.readBlockPng,this.str=a,this.dict=a.dict;var f=this.colors=d.get("Colors")||1,g=this.bits=d.get("BitsPerComponent")||8,h=this.columns=d.get("Columns")||1;return this.pixBytes=f*g+7>>3,this.rowBytes=h*f*g+7>>3,Oc.call(this,b),this}return a.prototype=Object.create(Oc.prototype),a.prototype.readBlockTiff=function(){var a=this.rowBytes,b=this.bufferLength,c=this.ensureBuffer(b+a),d=this.bits,e=this.colors,f=this.str.getBytes(a);if(this.eof=!f.length,!this.eof){var g,h=0,i=0,j=0,k=0,l=b;if(1===d)for(g=0;a>g;++g){var m=f[g];h=h<<8|m,c[l++]=255&(m^h>>e),h&=65535}else if(8===d){for(g=0;e>g;++g)c[l++]=f[g];for(;a>g;++g)c[l]=c[l-e]+f[g],l++}else{var n=new Uint8Array(e+1),o=(1<g;++g)for(var s=0;e>s;++s)d>j&&(h=h<<8|255&f[p++],j+=8),n[s]=n[s]+(h>>j-d)&o,j-=d,i=i<=8&&(c[q++]=i>>k-8&255,k-=8);k>0&&(c[q++]=(i<<8-k)+(h&(1<<8-k)-1))}this.bufferLength+=a}},a.prototype.readBlockPng=function(){var a=this.rowBytes,b=this.pixBytes,d=this.str.getByte(),e=this.str.getBytes(a);if(this.eof=!e.length,!this.eof){var f=this.bufferLength,g=this.ensureBuffer(f+a),h=g.subarray(f-a,f);0===h.length&&(h=new Uint8Array(a));var i,j,k,l=f;switch(d){case 0:for(i=0;a>i;++i)g[l++]=e[i];break;case 1:for(i=0;b>i;++i)g[l++]=e[i];for(;a>i;++i)g[l]=g[l-b]+e[i]&255,l++;break;case 2:for(i=0;a>i;++i)g[l++]=h[i]+e[i]&255;break;case 3:for(i=0;b>i;++i)g[l++]=(h[i]>>1)+e[i];for(;a>i;++i)g[l]=(h[i]+g[l-b]>>1)+e[i]&255,l++;break;case 4:for(i=0;b>i;++i)j=h[i],k=e[i],g[l++]=j+k;for(;a>i;++i){j=h[i];var m=h[i-b],n=g[l-b],o=n+j-m,p=o-n;0>p&&(p=-p);var q=o-j;0>q&&(q=-q);var r=o-m;0>r&&(r=-r),k=e[i],q>=p&&r>=p?g[l++]=n+k:r>=q?g[l++]=j+k:g[l++]=m+k}break;default:c("Unsupported predictor: "+d)}this.bufferLength+=a}},a}(),Sc=function(){function a(a,b,c,d){for(var e;-1!==(e=a.getByte());)if(255===e){a.skip(-1);break}this.stream=a,this.maybeLength=b,this.dict=c,Oc.call(this,b)}return a.prototype=Object.create(Oc.prototype),Object.defineProperty(a.prototype,"bytes",{get:function(){return g(this,"bytes",this.stream.getBytes(this.maybeLength))},configurable:!0}),a.prototype.ensureBuffer=function(a){if(!this.bufferLength)try{var b=new gd;if(this.forceRGB&&this.dict&&C(this.dict.get("Decode"))){for(var d=this.dict.get("Decode"),e=this.dict.get("BitsPerComponent")||8,f=d.length,g=new Int32Array(f),h=!1,i=(1<j;j+=2)g[j]=256*(d[j+1]-d[j])|0,g[j+1]=d[j]*i|0,256===g[j]&&0===g[j+1]||(h=!0);h&&(b.decodeTransform=g)}b.parse(this.bytes);var k=b.getData(this.drawWidth,this.drawHeight,this.forceRGB);this.buffer=k,this.bufferLength=k.length,this.eof=!0}catch(l){c("JPEG error: "+l)}},a.prototype.getBytes=function(a){return this.ensureBuffer(),this.buffer},a.prototype.getIR=function(){return PDFJS.createObjectURL(this.bytes,"image/jpeg")},a.prototype.isNativelySupported=function(a,b){var c=Xa.parse(this.dict.get("ColorSpace","CS"),a,b);return("DeviceGray"===c.name||"DeviceRGB"===c.name)&&c.isDefaultDecode(this.dict.get("Decode","D"))},a.prototype.isNativelyDecodable=function(a,b){var c=Xa.parse(this.dict.get("ColorSpace","CS"),a,b);return(1===c.numComps||3===c.numComps)&&c.isDefaultDecode(this.dict.get("Decode","D"))},a}(),Tc=function(){function a(a,b,c){this.stream=a,this.maybeLength=b,this.dict=c,Oc.call(this,b)}return a.prototype=Object.create(Oc.prototype),Object.defineProperty(a.prototype,"bytes",{get:function(){return g(this,"bytes",this.stream.getBytes(this.maybeLength))},configurable:!0}),a.prototype.ensureBuffer=function(a){if(!this.bufferLength){var b=new hd;b.parse(this.bytes);var c=b.width,d=b.height,e=b.componentsCount,f=b.tiles.length;if(1===f)this.buffer=b.tiles[0].items;else{for(var g=new Uint8Array(c*d*e),h=0;f>h;h++)for(var i=b.tiles[h],j=i.width,k=i.height,l=i.left,m=i.top,n=i.items,o=0,p=(c*m+l)*e,q=c*e,r=j*e,s=0;k>s;s++){var t=n.subarray(o,o+r);g.set(t,p),o+=r,p+=q}this.buffer=g}this.bufferLength=this.buffer.length,this.eof=!0}},a}(),Uc=function(){function a(a,b,c){this.stream=a,this.maybeLength=b,this.dict=c,Oc.call(this,b)}return a.prototype=Object.create(Oc.prototype),Object.defineProperty(a.prototype,"bytes",{get:function(){return g(this,"bytes",this.stream.getBytes(this.maybeLength))},configurable:!0}),a.prototype.ensureBuffer=function(a){if(!this.bufferLength){var c=new id,d=[],e=this.dict.xref,f=e.fetchIfRef(this.dict.get("DecodeParms"));if(C(f)&&(f.length>1&&b("JBIG2 - 'DecodeParms' array with multiple elements not supported."),f=e.fetchIfRef(f[0])),f&&f.has("JBIG2Globals")){var g=f.get("JBIG2Globals"),h=g.getBytes();d.push({data:h,start:0,end:h.length})}d.push({data:this.bytes,start:0,end:this.bytes.length});for(var i=c.parseChunks(d),j=i.length,k=0;j>k;k++)i[k]^=255;this.buffer=i,this.bufferLength=j,this.eof=!0}},a}(),Vc=function(){function a(a,b,c){this.str=a,this.dict=a.dict,this.decrypt=c,this.nextChunk=null,this.initialized=!1,Oc.call(this,b)}var b=512;return a.prototype=Object.create(Oc.prototype),a.prototype.readBlock=function(){var a;if(this.initialized?a=this.nextChunk:(a=this.str.getBytes(b),this.initialized=!0),!a||0===a.length)return void(this.eof=!0);this.nextChunk=this.str.getBytes(b);var c=this.nextChunk&&this.nextChunk.length>0,d=this.decrypt;a=d(a,!c);var e,f=this.bufferLength,g=a.length,h=this.ensureBuffer(f+g);for(e=0;g>e;e++)h[f++]=a[e];this.bufferLength=f},a}(),Wc=function(){function a(a,b){this.str=a,this.dict=a.dict,this.input=new Uint8Array(5),b&&(b=.8*b),Oc.call(this,b)}return a.prototype=Object.create(Oc.prototype),a.prototype.readBlock=function(){for(var a=126,b=122,c=-1,d=this.str,e=d.getByte();Gc.isSpace(e);)e=d.getByte();if(e===c||e===a)return void(this.eof=!0);var f,g,h=this.bufferLength;if(e===b){for(f=this.ensureBuffer(h+4),g=0;4>g;++g)f[h+g]=0;this.bufferLength+=4}else{var i=this.input;for(i[0]=e,g=1;5>g;++g){for(e=d.getByte();Gc.isSpace(e);)e=d.getByte();if(i[g]=e,e===c||e===a)break}if(f=this.ensureBuffer(h+g-1),this.bufferLength+=g-1,5>g){for(;5>g;++g)i[g]=117;this.eof=!0}var j=0;for(g=0;5>g;++g)j=85*j+(i[g]-33);for(g=3;g>=0;--g)f[h+g]=255&j,j>>=8}},a}(),Xc=function(){function a(a,b){this.str=a,this.dict=a.dict,this.firstDigit=-1,b&&(b=.5*b),Oc.call(this,b)}return a.prototype=Object.create(Oc.prototype),a.prototype.readBlock=function(){var a=8e3,b=this.str.getBytes(a);if(!b.length)return void(this.eof=!0);for(var c=b.length+1>>1,d=this.ensureBuffer(this.bufferLength+c),e=this.bufferLength,f=this.firstDigit,g=0,h=b.length;h>g;g++){var i,j=b[g];if(j>=48&&57>=j)i=15&j;else{if(!(j>=65&&70>=j||j>=97&&102>=j)){if(62===j){this.eof=!0;break}continue}i=(15&j)+9}0>f?f=i:(d[e++]=f<<4|i,f=-1)}f>=0&&this.eof&&(d[e++]=f<<4,f=-1),this.firstDigit=f,this.bufferLength=e},a}(),Yc=function(){function a(a,b){this.str=a,this.dict=a.dict,Oc.call(this,b)}return a.prototype=Object.create(Oc.prototype),a.prototype.readBlock=function(){var a=this.str.getBytes(2);if(!a||a.length<2||128===a[0])return void(this.eof=!0);var b,c=this.bufferLength,d=a[0];if(128>d){if(b=this.ensureBuffer(c+d+1),b[c++]=a[1],d>0){var e=this.str.getBytes(d);b.set(e,c),c+=d}}else{d=257-d;var f=a[1];b=this.ensureBuffer(c+d+1);for(var g=0;d>g;g++)b[c++]=f}this.bufferLength=c},a}(),Zc=function(){function b(a,b,c){this.str=a,this.dict=a.dict,c=c||Aa.empty,this.encoding=c.get("K")||0,this.eoline=c.get("EndOfLine")||!1,this.byteAlign=c.get("EncodedByteAlign")||!1,this.columns=c.get("Columns")||1728,this.rows=c.get("Rows")||0;var d=c.get("EndOfBlock");null!==d&&void 0!==d||(d=!0),this.eoblock=d,this.black=c.get("BlackIs1")||!1,this.codingLine=new Uint32Array(this.columns+1),this.refLine=new Uint32Array(this.columns+2),this.codingLine[0]=this.columns,this.codingPos=0,this.row=0,this.nextLine2D=this.encoding<0,this.inputBits=0,this.inputBuf=0,this.outputBits=0;for(var e;0===(e=this.lookBits(12));)this.eatBits(1);1===e&&this.eatBits(12),this.encoding>0&&(this.nextLine2D=!this.lookBits(1),this.eatBits(1)),Oc.call(this,b)}var c=-2,d=0,e=1,f=2,g=3,h=4,i=5,j=6,k=7,l=8,m=[[-1,-1],[-1,-1],[7,l],[7,k],[6,j],[6,j],[6,i],[6,i],[4,d],[4,d],[4,d],[4,d],[4,d],[4,d],[4,d],[4,d],[3,e],[3,e],[3,e],[3,e],[3,e],[3,e],[3,e],[3,e],[3,e],[3,e],[3,e],[3,e],[3,e],[3,e],[3,e],[3,e],[3,h],[3,h],[3,h],[3,h],[3,h],[3,h],[3,h],[3,h],[3,h],[3,h],[3,h],[3,h],[3,h],[3,h],[3,h],[3,h],[3,g],[3,g],[3,g],[3,g],[3,g],[3,g],[3,g],[3,g],[3,g],[3,g],[3,g],[3,g],[3,g],[3,g],[3,g],[3,g],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f],[1,f]],n=[[-1,-1],[12,c],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[11,1792],[11,1792],[12,1984],[12,2048],[12,2112],[12,2176],[12,2240],[12,2304],[11,1856],[11,1856],[11,1920],[11,1920],[12,2368],[12,2432],[12,2496],[12,2560]],o=[[-1,-1],[-1,-1],[-1,-1],[-1,-1],[8,29],[8,29],[8,30],[8,30],[8,45],[8,45],[8,46],[8,46],[7,22],[7,22],[7,22],[7,22],[7,23],[7,23],[7,23],[7,23],[8,47],[8,47],[8,48],[8,48],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[7,20],[7,20],[7,20],[7,20],[8,33],[8,33],[8,34],[8,34],[8,35],[8,35],[8,36],[8,36],[8,37],[8,37],[8,38],[8,38],[7,19],[7,19],[7,19],[7,19],[8,31],[8,31],[8,32],[8,32],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[8,53],[8,53],[8,54],[8,54],[7,26],[7,26],[7,26],[7,26],[8,39],[8,39],[8,40],[8,40],[8,41],[8,41],[8,42],[8,42],[8,43],[8,43],[8,44],[8,44],[7,21],[7,21],[7,21],[7,21],[7,28],[7,28],[7,28],[7,28],[8,61],[8,61],[8,62],[8,62],[8,63],[8,63],[8,0],[8,0],[8,320],[8,320],[8,384],[8,384],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[7,27],[7,27],[7,27],[7,27],[8,59],[8,59],[8,60],[8,60],[9,1472],[9,1536],[9,1600],[9,1728],[7,18],[7,18],[7,18],[7,18],[7,24],[7,24],[7,24],[7,24],[8,49],[8,49],[8,50],[8,50],[8,51],[8,51],[8,52],[8,52],[7,25],[7,25],[7,25],[7,25],[8,55],[8,55],[8,56],[8,56],[8,57],[8,57],[8,58],[8,58],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[8,448],[8,448],[8,512],[8,512],[9,704],[9,768],[8,640],[8,640],[8,576],[8,576],[9,832],[9,896],[9,960],[9,1024],[9,1088],[9,1152],[9,1216],[9,1280],[9,1344],[9,1408],[7,256],[7,256],[7,256],[7,256],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7]],p=[[-1,-1],[-1,-1],[12,c],[12,c],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[11,1792],[11,1792],[11,1792],[11,1792],[12,1984],[12,1984],[12,2048],[12,2048],[12,2112],[12,2112],[12,2176],[12,2176],[12,2240],[12,2240],[12,2304],[12,2304],[11,1856],[11,1856],[11,1856],[11,1856],[11,1920],[11,1920],[11,1920],[11,1920],[12,2368],[12,2368],[12,2432],[12,2432],[12,2496],[12,2496],[12,2560],[12,2560],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[12,52],[12,52],[13,640],[13,704],[13,768],[13,832],[12,55],[12,55],[12,56],[12,56],[13,1280],[13,1344],[13,1408],[13,1472],[12,59],[12,59],[12,60],[12,60],[13,1536],[13,1600],[11,24],[11,24],[11,24],[11,24],[11,25],[11,25],[11,25],[11,25],[13,1664],[13,1728],[12,320],[12,320],[12,384],[12,384],[12,448],[12,448],[13,512],[13,576],[12,53],[12,53],[12,54],[12,54],[13,896],[13,960],[13,1024],[13,1088],[13,1152],[13,1216],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64]],q=[[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[11,23],[11,23],[12,50],[12,51],[12,44],[12,45],[12,46],[12,47],[12,57],[12,58],[12,61],[12,256],[10,16],[10,16],[10,16],[10,16],[10,17],[10,17],[10,17],[10,17],[12,48],[12,49],[12,62],[12,63],[12,30],[12,31],[12,32],[12,33],[12,40],[12,41],[11,22],[11,22],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[12,128],[12,192],[12,26],[12,27],[12,28],[12,29],[11,19],[11,19],[11,20],[11,20],[12,34],[12,35],[12,36],[12,37],[12,38],[12,39],[11,21],[11,21],[12,42],[12,43],[10,0],[10,0],[10,0],[10,0],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12]],r=[[-1,-1],[-1,-1],[-1,-1],[-1,-1],[6,9],[6,8],[5,7],[5,7],[4,6],[4,6],[4,6],[4,6],[4,5],[4,5],[4,5],[4,5],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2]];return b.prototype=Object.create(Oc.prototype),b.prototype.readBlock=function(){for(;!this.eof;){var a=this.lookChar();this.ensureBuffer(this.bufferLength+1),this.buffer[this.bufferLength++]=a}},b.prototype.addPixels=function(b,c){var d=this.codingLine,e=this.codingPos;b>d[e]&&(b>this.columns&&(a("row is wrong length"),this.err=!0,b=this.columns),1&e^c&&++e,d[e]=b),this.codingPos=e},b.prototype.addPixelsNeg=function(b,c){var d=this.codingLine,e=this.codingPos;if(b>d[e])b>this.columns&&(a("row is wrong length"),this.err=!0,b=this.columns),1&e^c&&++e,d[e]=b;else if(bb&&(a("invalid code"),this.err=!0,b=0);e>0&&b=64);do s+=t=this.getWhiteCode();while(t>=64)}else{do r+=t=this.getWhiteCode();while(t>=64);do s+=t=this.getBlackCode();while(t>=64)}for(this.addPixels(p[this.codingPos]+r,c),p[this.codingPos]0?--b:++b;o[b]<=p[this.codingPos]&&o[b]0?--b:++b;o[b]<=p[this.codingPos]&&o[b]0?--b:++b;o[b]<=p[this.codingPos]&&o[b]=64)}else do r+=t=this.getWhiteCode();while(t>=64);this.addPixels(p[this.codingPos]+r,c),c^=1}var u=!1;if(this.byteAlign&&(this.inputBits&=-8),this.eoblock||this.row!==this.rows-1){if(r=this.lookBits(12),this.eoline)for(;r!==Dc&&1!==r;)this.eatBits(1),r=this.lookBits(12);else for(;0===r;)this.eatBits(1),r=this.lookBits(12);1===r?(this.eatBits(12),u=!0):r===Dc&&(this.eof=!0)}else this.eof=!0;if(!this.eof&&this.encoding>0&&(this.nextLine2D=!this.lookBits(1),this.eatBits(1)),this.eoblock&&u&&this.byteAlign){if(r=this.lookBits(12),1===r){if(this.eatBits(12),this.encoding>0&&(this.lookBits(1),this.eatBits(1)),this.encoding>=0)for(n=0;4>n;++n)r=this.lookBits(12),1!==r&&a("bad rtc code: "+r),this.eatBits(12),this.encoding>0&&(this.lookBits(1),this.eatBits(1));this.eof=!0}}else if(this.err&&this.eoline){for(;;){if(r=this.lookBits(13),r===Dc)return this.eof=!0,null;if(r>>1===1)break;this.eatBits(1)}this.eatBits(12),this.encoding>0&&(this.eatBits(1),this.nextLine2D=!(1&r))}p[0]>0?this.outputBits=p[this.codingPos=0]:this.outputBits=p[this.codingPos=1],this.row++}var v;if(this.outputBits>=8)v=1&this.codingPos?0:255,this.outputBits-=8,0===this.outputBits&&p[this.codingPos]m?(v<<=m,1&this.codingPos||(v|=255>>8-m),this.outputBits-=m,m=0):(v<<=this.outputBits,1&this.codingPos||(v|=255>>8-this.outputBits),m-=this.outputBits,this.outputBits=0,p[this.codingPos]0&&(v<<=m,m=0));while(m)}return this.black&&(v^=255),v},b.prototype.findTableCode=function(a,b,c,d){for(var e=d||0,f=a;b>=f;++f){var g=this.lookBits(f);if(g===Dc)return[!0,1,!1];if(b>f&&(g<<=b-f),!e||g>=e){var h=c[g-e];if(h[0]===f)return this.eatBits(f),[!0,h[1],!0]}}return[!1,0,!1]},b.prototype.getTwoDimCode=function(){var b,c=0;if(this.eoblock){if(c=this.lookBits(7),b=m[c],b&&b[0]>0)return this.eatBits(b[0]), -b[1]}else{var d=this.findTableCode(1,7,m);if(d[0]&&d[2])return d[1]}return a("Bad two dim code"),Dc},b.prototype.getWhiteCode=function(){var b,c=0;if(this.eoblock){if(c=this.lookBits(12),c===Dc)return 1;if(b=c>>5===0?n[c]:o[c>>3],b[0]>0)return this.eatBits(b[0]),b[1]}else{var d=this.findTableCode(1,9,o);if(d[0])return d[1];if(d=this.findTableCode(11,12,n),d[0])return d[1]}return a("bad white code"),this.eatBits(1),1},b.prototype.getBlackCode=function(){var b,c;if(this.eoblock){if(b=this.lookBits(13),b===Dc)return 1;if(c=b>>7===0?p[b]:b>>9===0&&b>>7!==0?q[(b>>1)-64]:r[b>>7],c[0]>0)return this.eatBits(c[0]),c[1]}else{var d=this.findTableCode(2,6,r);if(d[0])return d[1];if(d=this.findTableCode(7,12,q,64),d[0])return d[1];if(d=this.findTableCode(10,13,p),d[0])return d[1]}return a("bad black code"),this.eatBits(1),1},b.prototype.lookBits=function(a){for(var b;this.inputBits>16-a;this.inputBuf=(this.inputBuf<<8)+b,this.inputBits+=8}return this.inputBuf>>this.inputBits-a&65535>>16-a},b.prototype.eatBits=function(a){(this.inputBits-=a)<0&&(this.inputBits=0)},b}(),$c=function(){function a(a,b,c){this.str=a,this.dict=a.dict,this.cachedData=0,this.bitsCached=0;for(var d=4096,e={earlyChange:c,codeLength:9,nextCode:258,dictionaryValues:new Uint8Array(d),dictionaryLengths:new Uint16Array(d),dictionaryPrevCodes:new Uint16Array(d),currentSequence:new Uint8Array(d),currentSequenceLength:0},f=0;256>f;++f)e.dictionaryValues[f]=f,e.dictionaryLengths[f]=1;this.lzwState=e,Oc.call(this,b)}return a.prototype=Object.create(Oc.prototype),a.prototype.readBits=function(a){for(var b=this.bitsCached,c=this.cachedData;a>b;){var d=this.str.getByte();if(-1===d)return this.eof=!0,null;c=c<<8|d,b+=8}return this.bitsCached=b-=a,this.cachedData=c,this.lastCode=null,c>>>b&(1<a;a++){var t=this.readBits(m),u=p>0;if(256>t)o[0]=t,p=1;else{if(!(t>=258)){if(256===t){m=9,i=258,p=0;continue}this.eof=!0,delete this.lzwState;break}if(i>t)for(p=k[t],b=p-1,c=t;b>=0;b--)o[b]=j[c],c=l[c];else o[p++]=o[0]}if(u&&(l[i]=n,k[i]=k[n]+1,j[i]=o[0],i++,m=i+h&i+h-1?m:0|Math.min(Math.log(i+h)/.6931471805599453+1,12)),n=t,q+=p,q>e){do e+=f;while(q>e);s=this.ensureBuffer(this.bufferLength+e)}for(b=0;p>b;b++)s[r++]=o[b]}g.nextCode=i,g.codeLength=m,g.prevCode=n,g.currentSequenceLength=p,this.bufferLength=r}},a}(),_c=function(){function a(){Mc.call(this,new Uint8Array(0))}return a.prototype=Mc.prototype,a}(),ad=function(){function a(a){this.name=a,this.terminated=!1,this._capability=G()}return a.prototype={get finished(){return this._capability.promise},finish:function(){this._capability.resolve()},terminate:function(){this.terminated=!0},ensureNotTerminated:function(){if(this.terminated)throw new Error("Worker task was terminated")}},a}(),bd=PDFJS.WorkerMessageHandler={setup:function(c){function d(){if(j)throw new Error("Worker was terminated")}function e(a){l.push(a)}function f(a){a.finish();var b=l.indexOf(a);l.splice(b,1)}function g(a){var b=G(),c=function(){var a=i.ensureDoc("numPages"),c=i.ensureDoc("fingerprint"),e=i.ensureXRef("encrypt");Promise.all([a,c,e]).then(function(a){var c={numPages:a[0],fingerprint:a[1],encrypted:!!a[2]};b.resolve(c)},d)},d=function(a){b.reject(a)};return i.ensureDoc("checkHeader",[]).then(function(){i.ensureDoc("parseStartXRef",[]).then(function(){i.ensureDoc("parse",[a]).then(c,d)},d)},d),b.promise}function h(a){var d,e=G(),f=a.source,g=a.disableRange;if(f.data){try{d=new ua(f.data,f.password),e.resolve(d)}catch(h){e.reject(h)}return e.promise}if(f.chunkedViewerLoading){try{d=new va(f,c),e.resolve(d)}catch(h){e.reject(h)}return e.promise}var i=new pa(f.url,{httpHeaders:f.httpHeaders,withCredentials:f.withCredentials}),j=[],l=i.requestFull({onHeadersReceived:function(){if(!g){var a=i.getRequestXhr(l);if("bytes"===a.getResponseHeader("Accept-Ranges")){var b=a.getResponseHeader("Content-Encoding")||"identity";if("identity"===b){var h=a.getResponseHeader("Content-Length");if(h=parseInt(h,10),w(h)&&(f.length=h,!(2*sa>=h))){i.isStreamingRequest(l)?f.disableAutoFetch=!0:i.abortRequest(l);try{d=new va(f,c),e.resolve(d)}catch(j){e.reject(j)}k=null}}}}},onProgressiveData:f.disableStream?null:function(a){return d?void d.sendProgressiveData(a):void j.push(a)},onDone:function(a){if(!d){var c;if(null===a){var g=0,h=0;j.forEach(function(a){g+=a.byteLength}),f.length&&g!==f.length&&b("reported HTTP length is different from actual");var i=new Uint8Array(g);j.forEach(function(a){i.set(new Uint8Array(a),h),h+=a.byteLength}),c=i.buffer}else c=a.chunk;try{d=new ua(c,f.password),e.resolve(d)}catch(l){e.reject(l)}k=null}},onError:function(a){var b;404===a?(b=new ga('Missing PDF "'+f.url+'".'),c.send("MissingPDF",b)):(b=new ha("Unexpected server response ("+a+') while retrieving PDF "'+f.url+'".',a),c.send("UnexpectedResponse",b)),k=null},onProgress:function(a){c.send("DocProgress",{loaded:a.loaded,total:a.lengthComputable?a.total:f.length})}});return k=function(){i.abortRequest(l)},e.promise}var i,j=!1,k=null,l=[];c.on("test",function(a){if(!(a instanceof Uint8Array))return void c.send("test",!1);var b=255===a[0];c.postMessageTransfers=b;var d=new XMLHttpRequest,e="response"in d;try{d.responseType}catch(f){e=!1}return e?void c.send("test",{supportTypedArray:!0,supportTransfers:b}):void c.send("test",!1)}),c.on("GetDocRequest",function(a){var b=function(a){d(),c.send("GetDoc",{pdfInfo:a})},e=function(a){a instanceof da?a.code===ca.NEED_PASSWORD?c.send("NeedPassword",a):a.code===ca.INCORRECT_PASSWORD&&c.send("IncorrectPassword",a):a instanceof fa?c.send("InvalidPDF",a):a instanceof ga?c.send("MissingPDF",a):a instanceof ha?c.send("UnexpectedResponse",a):c.send("UnknownError",new ea(a.message,a.toString()))};d(),PDFJS.maxImageSize=void 0===a.maxImageSize?-1:a.maxImageSize,PDFJS.disableFontFace=a.disableFontFace,PDFJS.disableCreateObjectURL=a.disableCreateObjectURL,PDFJS.verbosity=a.verbosity,PDFJS.cMapUrl=void 0===a.cMapUrl?null:a.cMapUrl,PDFJS.cMapPacked=a.cMapPacked===!0,h(a).then(function(a){if(j)throw a.terminate(),new Error("Worker was terminated");i=a,c.send("PDFManagerReady",null),i.onLoadedStream().then(function(a){c.send("DataLoaded",{length:a.bytes.byteLength})})}).then(function f(){d(),g(!1).then(b,function(a){return d(),a instanceof ka?(i.requestLoadedStream(),void i.onLoadedStream().then(function(){d(),g(!0).then(b,e)})):(a instanceof da&&i.passwordChanged().then(f),void e(a))},e)},e)}),c.on("GetPage",function(a){return i.getPage(a.pageIndex).then(function(a){var b=i.ensure(a,"rotate"),c=i.ensure(a,"ref"),d=i.ensure(a,"view");return Promise.all([b,c,d]).then(function(a){return{rotate:a[0],ref:a[1],view:a[2]}})})}),c.on("GetPageIndex",function(a){var b=new Ba(a.ref.num,a.ref.gen),c=i.pdfDocument.catalog;return c.getPageIndex(b)}),c.on("GetDestinations",function(a){return i.ensureCatalog("destinations")}),c.on("GetDestination",function(a){return i.ensureCatalog("getDestination",[a.id])}),c.on("GetAttachments",function(a){return i.ensureCatalog("attachments")}),c.on("GetJavaScript",function(a){return i.ensureCatalog("javaScript")}),c.on("GetOutline",function(a){return i.ensureCatalog("documentOutline")}),c.on("GetMetadata",function(a){return Promise.all([i.ensureDoc("documentInfo"),i.ensureCatalog("metadata")])}),c.on("GetData",function(a){return i.requestLoadedStream(),i.onLoadedStream().then(function(a){return a.bytes})}),c.on("GetStats",function(a){return i.pdfDocument.xref.stats}),c.on("UpdatePassword",function(a){i.updatePassword(a)}),c.on("GetAnnotations",function(a){return i.getPage(a.pageIndex).then(function(a){return i.ensure(a,"getAnnotationsData",[])})}),c.on("RenderPageRequest",function(b){var d=b.pageIndex;i.getPage(d).then(function(g){var h=new ad("RenderPageRequest: page "+d);e(h);var i=d+1,j=Date.now();g.getOperatorList(c,h,b.intent).then(function(b){f(h),a("page="+i+" - getOperatorList: time="+(Date.now()-j)+"ms, len="+b.fnArray.length)},function(a){if(f(h),!h.terminated){var d,e="worker.js: while trying to getPage() and getOperatorList()";d="string"==typeof a?{message:a,stack:e}:"object"==typeof a?{message:a.message||a.toString(),stack:a.stack||e}:{message:"Unknown exception type: "+typeof a,stack:e},c.send("PageError",{pageNum:i,error:d,intent:b.intent})}})})},this),c.on("GetTextContent",function(b){var c=b.pageIndex;return i.getPage(c).then(function(b){var d=new ad("GetTextContent: page "+c);e(d);var g=c+1,h=Date.now();return b.extractTextContent(d).then(function(b){return f(d),a("text indexing: page="+g+" - time="+(Date.now()-h)+"ms"),b},function(a){if(f(d),!d.terminated)throw a})})}),c.on("Cleanup",function(a){return i.cleanup()}),c.on("Terminate",function(a){j=!0,i&&(i.terminate(),i=null),k&&k();var b=[];return l.forEach(function(a){b.push(a.finished),a.terminate()}),Promise.all(b).then(function(){})})}},cd={},dd={log:function(){var a=Array.prototype.slice.call(arguments);S.postMessage({action:"console_log",data:a})},error:function(){var a=Array.prototype.slice.call(arguments);throw S.postMessage({action:"console_error",data:a}),"pdf.js execution error"},time:function(a){cd[a]=Date.now()},timeEnd:function(a){var b=cd[a];b||c("Unknown timer name "+a),this.log("Timer:",a,Date.now()-b)}};if("undefined"==typeof window){"console"in S||(S.console=dd),PDFJS.UnsupportedManager.listen(function(a){S.postMessage({action:"_unsupported_feature",data:a})});var ed=new H("worker_processor",this);bd.setup(ed)}var fd=function(){function a(a,b,c){this.data=a,this.bp=b,this.dataEnd=c,this.chigh=a[b],this.clow=0,this.byteIn(),this.chigh=this.chigh<<7&65535|this.clow>>9&127,this.clow=this.clow<<7&65535,this.ct-=7,this.a=32768}var b=[{qe:22017,nmps:1,nlps:1,switchFlag:1},{qe:13313,nmps:2,nlps:6,switchFlag:0},{qe:6145,nmps:3,nlps:9,switchFlag:0},{qe:2753,nmps:4,nlps:12,switchFlag:0},{qe:1313,nmps:5,nlps:29,switchFlag:0},{qe:545,nmps:38,nlps:33,switchFlag:0},{qe:22017,nmps:7,nlps:6,switchFlag:1},{qe:21505,nmps:8,nlps:14,switchFlag:0},{qe:18433,nmps:9,nlps:14,switchFlag:0},{qe:14337,nmps:10,nlps:14,switchFlag:0},{qe:12289,nmps:11,nlps:17,switchFlag:0},{qe:9217,nmps:12,nlps:18,switchFlag:0},{qe:7169,nmps:13,nlps:20,switchFlag:0},{qe:5633,nmps:29,nlps:21,switchFlag:0},{qe:22017,nmps:15,nlps:14,switchFlag:1},{qe:21505,nmps:16,nlps:14,switchFlag:0},{qe:20737,nmps:17,nlps:15,switchFlag:0},{qe:18433,nmps:18,nlps:16,switchFlag:0},{qe:14337,nmps:19,nlps:17,switchFlag:0},{qe:13313,nmps:20,nlps:18,switchFlag:0},{qe:12289,nmps:21,nlps:19,switchFlag:0},{qe:10241,nmps:22,nlps:19,switchFlag:0},{qe:9217,nmps:23,nlps:20,switchFlag:0},{qe:8705,nmps:24,nlps:21,switchFlag:0},{qe:7169,nmps:25,nlps:22,switchFlag:0},{qe:6145,nmps:26,nlps:23,switchFlag:0},{qe:5633,nmps:27,nlps:24,switchFlag:0},{qe:5121,nmps:28,nlps:25,switchFlag:0},{qe:4609,nmps:29,nlps:26,switchFlag:0},{qe:4353,nmps:30,nlps:27,switchFlag:0},{qe:2753,nmps:31,nlps:28,switchFlag:0},{qe:2497,nmps:32,nlps:29,switchFlag:0},{qe:2209,nmps:33,nlps:30,switchFlag:0},{qe:1313,nmps:34,nlps:31,switchFlag:0},{qe:1089,nmps:35,nlps:32,switchFlag:0},{qe:673,nmps:36,nlps:33,switchFlag:0},{qe:545,nmps:37,nlps:34,switchFlag:0},{qe:321,nmps:38,nlps:35,switchFlag:0},{qe:273,nmps:39,nlps:36,switchFlag:0},{qe:133,nmps:40,nlps:37,switchFlag:0},{qe:73,nmps:41,nlps:38,switchFlag:0},{qe:37,nmps:42,nlps:39,switchFlag:0},{qe:21,nmps:43,nlps:40,switchFlag:0},{qe:9,nmps:44,nlps:41,switchFlag:0},{qe:5,nmps:45,nlps:42,switchFlag:0},{qe:1,nmps:45,nlps:43,switchFlag:0},{qe:22017,nmps:46,nlps:46,switchFlag:0}];return a.prototype={byteIn:function(){var a=this.data,b=this.bp;if(255===a[b]){var c=a[b+1];c>143?(this.clow+=65280,this.ct=8):(b++,this.clow+=a[b]<<9,this.ct=7,this.bp=b)}else b++,this.clow+=b65535&&(this.chigh+=this.clow>>16,this.clow&=65535)},readBit:function(a,c){var d,e=a[c]>>1,f=1&a[c],g=b[e],h=g.qe,i=this.a-h;if(this.chighi?(i=h,d=f,e=g.nmps):(i=h,d=1^f,1===g.switchFlag&&(f=d),e=g.nlps);else{if(this.chigh-=h,0!==(32768&i))return this.a=i,f;h>i?(d=1^f,1===g.switchFlag&&(f=d),e=g.nlps):(d=f,e=g.nmps)}do 0===this.ct&&this.byteIn(),i<<=1,this.chigh=this.chigh<<1&65535|this.clow>>15&1,this.clow=this.clow<<1&65535,this.ct--;while(0===(32768&i));return this.a=i,a[c]=e<<1|f,d}},a}(),gd=function(){function a(){}function b(a,b){for(var c,d,e=0,f=[],g=16;g>0&&!a[g-1];)g--;f.push({children:[],index:0});var h,i=f[0];for(c=0;g>c;c++){for(d=0;d0;)i=f.pop();for(i.index++,f.push(i);f.length<=c;)f.push(h={children:[],index:0}),i.children[i.index]=h.children,i=h;e++}g>c+1&&(f.push(h={children:[],index:0}),i.children[i.index]=h.children,i=h)}return f[0].children}function c(a,b,c){return 64*((a.blocksPerLine+1)*b+c)}function d(a,b,d,e,f,g,i,j,k){function l(){if(H>0)return H--,G>>H&1;if(G=a[b++],255===G){var c=a[b++];if(c)throw"unexpected marker: "+(G<<8|c).toString(16)}return H=7,G>>>7}function m(a){for(var b=a;;){if(b=b[l()],"number"==typeof b)return b;if("object"!=typeof b)throw"invalid huffman sequence"}}function n(a){for(var b=0;a>0;)b=b<<1|l(),a--;return b}function o(a){if(1===a)return 1===l()?1:-1;var b=n(a);return b>=1<e;){var f=m(a.huffmanTableAC),g=15&f,i=f>>4;if(0!==g){e+=i;var j=h[e];a.blockData[b+j]=o(g),e++}else{if(15>i)break;e+=16}}}function q(a,b){var c=m(a.huffmanTableDC),d=0===c?0:o(c)<0)return void I--;for(var c=g,d=i;d>=c;){var e=m(a.huffmanTableAC),f=15&e,j=e>>4;if(0!==f){c+=j;var l=h[c];a.blockData[b+l]=o(f)*(1<j){I=n(j)+(1<=e;){var p=h[e];switch(J){case 0:if(d=m(a.huffmanTableAC),c=15&d,j=d>>4,0===c)15>j?(I=n(j)+(1<N;){for(y=0;K>y;y++)e[y].pred=0;if(I=0,1===K)for(x=e[0],B=0;f>B;B++)v(x,C,N),N++;else for(B=0;f>B;B++){for(y=0;K>y;y++)for(x=e[y],O=x.h,P=x.v,z=0;P>z;z++)for(A=0;O>A;A++)u(x,C,N,z,A);N++}if(H=0,L=a[b]<<8|a[b+1],65280>=L)throw"marker was not found";if(!(L>=65488&&65495>=L))break;b+=2}return b-F}function e(a,b,c){for(var d,e,f,g,h,q,r,s,t,u,v,w,x,y,z,A,B,C=a.quantizationTable,D=a.blockData,E=0;64>E;E+=8)t=D[b+E],u=D[b+E+1],v=D[b+E+2],w=D[b+E+3],x=D[b+E+4],y=D[b+E+5],z=D[b+E+6],A=D[b+E+7],t*=C[E],0!==(u|v|w|x|y|z|A)?(u*=C[E+1],v*=C[E+2],w*=C[E+3],x*=C[E+4],y*=C[E+5],z*=C[E+6],A*=C[E+7],d=o*t+128>>8,e=o*x+128>>8,f=v,g=z,h=p*(u-A)+128>>8,s=p*(u+A)+128>>8,q=w<<4,r=y<<4,d=d+e+1>>1,e=d-e,B=f*n+g*m+128>>8,f=f*m-g*n+128>>8,g=B,h=h+r+1>>1,r=h-r,s=s+q+1>>1,q=s-q,d=d+g+1>>1,g=d-g,e=e+f+1>>1,f=e-f,B=h*l+s*k+2048>>12,h=h*k-s*l+2048>>12,s=B,B=q*j+r*i+2048>>12,q=q*i-r*j+2048>>12,r=B,c[E]=d+s,c[E+7]=d-s,c[E+1]=e+r,c[E+6]=e-r,c[E+2]=f+q,c[E+5]=f-q,c[E+3]=g+h,c[E+4]=g-h):(B=o*t+512>>10,c[E]=B,c[E+1]=B,c[E+2]=B,c[E+3]=B,c[E+4]=B,c[E+5]=B,c[E+6]=B,c[E+7]=B);for(var F=0;8>F;++F)t=c[F],u=c[F+8],v=c[F+16],w=c[F+24],x=c[F+32],y=c[F+40],z=c[F+48],A=c[F+56],0!==(u|v|w|x|y|z|A)?(d=o*t+2048>>12,e=o*x+2048>>12,f=v,g=z,h=p*(u-A)+2048>>12,s=p*(u+A)+2048>>12,q=w,r=y,d=(d+e+1>>1)+4112,e=d-e,B=f*n+g*m+2048>>12,f=f*m-g*n+2048>>12,g=B,h=h+r+1>>1,r=h-r,s=s+q+1>>1,q=s-q,d=d+g+1>>1,g=d-g,e=e+f+1>>1,f=e-f,B=h*l+s*k+2048>>12,h=h*k-s*l+2048>>12,s=B,B=q*j+r*i+2048>>12,q=q*i-r*j+2048>>12,r=B,t=d+s,A=d-s,u=e+r,z=e-r,v=f+q,y=f-q,w=g+h,x=g-h,t=16>t?0:t>=4080?255:t>>4,u=16>u?0:u>=4080?255:u>>4,v=16>v?0:v>=4080?255:v>>4,w=16>w?0:w>=4080?255:w>>4,x=16>x?0:x>=4080?255:x>>4,y=16>y?0:y>=4080?255:y>>4,z=16>z?0:z>=4080?255:z>>4,A=16>A?0:A>=4080?255:A>>4,D[b+F]=t,D[b+F+8]=u,D[b+F+16]=v,D[b+F+24]=w,D[b+F+32]=x,D[b+F+40]=y,D[b+F+48]=z,D[b+F+56]=A):(B=o*t+8192>>14,B=-2040>B?0:B>=2024?255:B+2056>>4,D[b+F]=B,D[b+F+8]=B,D[b+F+16]=B,D[b+F+24]=B,D[b+F+32]=B,D[b+F+40]=B,D[b+F+48]=B,D[b+F+56]=B)}function f(a,b){for(var d=b.blocksPerLine,f=b.blocksPerColumn,g=new Int16Array(64),h=0;f>h;h++)for(var i=0;d>i;i++){var j=c(b,h,i);e(b,j,g)}return b.blockData}function g(a){return 0>=a?0:a>=255?255:a}var h=new Uint8Array([0,1,8,16,9,2,3,10,17,24,32,25,18,11,4,5,12,19,26,33,40,48,41,34,27,20,13,6,7,14,21,28,35,42,49,56,57,50,43,36,29,22,15,23,30,37,44,51,58,59,52,45,38,31,39,46,53,60,61,54,47,55,62,63]),i=4017,j=799,k=3406,l=2276,m=1567,n=3784,o=5793,p=2896;return a.prototype={parse:function(a){function c(){var b=a[k]<<8|a[k+1];return k+=2,b}function e(){var b=c(),d=a.subarray(k,k+b-2);return k+=d.length,d}function g(a){for(var b=Math.ceil(a.samplesPerLine/8/a.maxH),c=Math.ceil(a.scanLines/8/a.maxV),d=0;dk;){var y=a[k++],z=new Uint16Array(64);if(y>>4===0)for(s=0;64>s;s++)v=h[s],z[v]=a[k++];else{if(y>>4!==1)throw"DQT: invalid table spec";for(s=0;64>s;s++)v=h[s],z[v]=c()}n[15&y]=z}break;case 65472:case 65473:case 65474:if(i)throw"Only single frame JPEGs supported";c(),i={},i.extended=65473===q,i.progressive=65474===q,i.precision=a[k++],i.scanLines=c(),i.samplesPerLine=c(),i.components=[],i.componentIds={};var A,B=a[k++],C=0,D=0;for(r=0;B>r;r++){A=a[k];var E=a[k+1]>>4,F=15&a[k+1];E>C&&(C=E),F>D&&(D=F);var G=a[k+2];t=i.components.push({h:E,v:F,quantizationTable:n[G]}),i.componentIds[A]=t-1,k+=3}i.maxH=C,i.maxV=D,g(i);break;case 65476:var H=c();for(r=2;H>r;){var I=a[k++],J=new Uint8Array(16),K=0;for(s=0;16>s;s++,k++)K+=J[s]=a[k];var L=new Uint8Array(K);for(s=0;K>s;s++,k++)L[s]=a[k];r+=17+K,(I>>4===0?p:o)[15&I]=b(J,L)}break;case 65501:c(),j=c();break;case 65498:var M,N=(c(),a[k++]),O=[];for(r=0;N>r;r++){var P=i.componentIds[a[k++]];M=i.components[P];var Q=a[k++];M.huffmanTableDC=p[Q>>4],M.huffmanTableAC=o[15&Q],O.push(M)}var R=a[k++],S=a[k++],T=a[k++],U=d(a,k,i,O,j,R,S,T>>4,15&T);k+=U;break;case 65535:255!==a[k]&&k--;break;default:if(255===a[k-3]&&a[k-2]>=192&&a[k-2]<=254){k-=3;break}throw"unknown JPEG marker "+q.toString(16)}q=c()}for(this.width=i.samplesPerLine,this.height=i.scanLines,this.jfif=l,this.adobe=m,this.components=[],r=0;ri;i++){for(c=this.components[i],d=c.scaleX*n,e=c.scaleY*o,p=i,m=c.output,f=c.blocksPerLine+1<<3,g=0;a>g;g++)j=0|g*d,t[g]=(j&u)<<3|7&j;for(h=0;b>h;h++)for(j=0|h*e,l=f*(j&u)|(7&j)<<3,g=0;a>g;g++)s[p]=m[l+t[g]],p+=q}var v=this.decodeTransform;if(v)for(i=0;r>i;)for(j=0,k=0;q>j;j++,i++,k+=2)s[i]=(s[i]*v[k]>>8)+v[k+1];return s},_isColorConversionNeeded:function(){return this.adobe&&this.adobe.transformCode?!0:3===this.numComponents},_convertYccToRgb:function(a){for(var b,c,d,e=0,f=a.length;f>e;e+=3)b=a[e],c=a[e+1],d=a[e+2],a[e]=g(b-179.456+1.402*d),a[e+1]=g(b+135.459-.344*c-.714*d),a[e+2]=g(b-226.816+1.772*c);return a},_convertYcckToRgb:function(a){for(var b,c,d,e,f=0,h=0,i=a.length;i>h;h+=4){b=a[h],c=a[h+1],d=a[h+2],e=a[h+3];var j=-122.67195406894+c*(-660635669420364e-19*c+.000437130475926232*d-54080610064599e-18*b+.00048449797120281*e-.154362151871126)+d*(-.000957964378445773*d+.000817076911346625*b-.00477271405408747*e+1.53380253221734)+b*(.000961250184130688*b-.00266257332283933*e+.48357088451265)+e*(-.000336197177618394*e+.484791561490776),k=107.268039397724+c*(219927104525741e-19*c-.000640992018297945*d+.000659397001245577*b+.000426105652938837*e-.176491792462875)+d*(-.000778269941513683*d+.00130872261408275*b+.000770482631801132*e-.151051492775562)+b*(.00126935368114843*b-.00265090189010898*e+.25802910206845)+e*(-.000318913117588328*e-.213742400323665),l=-20.810012546947+c*(-.000570115196973677*c-263409051004589e-19*d+.0020741088115012*b-.00288260236853442*e+.814272968359295)+d*(-153496057440975e-19*d-.000132689043961446*b+.000560833691242812*e-.195152027534049)+b*(.00174418132927582*b-.00255243321439347*e+.116935020465145)+e*(-.000343531996510555*e+.24165260232407);a[f++]=g(j),a[f++]=g(k),a[f++]=g(l)}return a},_convertYcckToCmyk:function(a){for(var b,c,d,e=0,f=a.length;f>e;e+=4)b=a[e],c=a[e+1],d=a[e+2],a[e]=g(434.456-b-1.402*d),a[e+1]=g(119.541-b+.344*c+.714*d),a[e+2]=g(481.816-b-1.772*c);return a},_convertCmykToRgb:function(a){for(var b,c,d,e,f=0,g=-16581375,h=1/255/255,i=0,j=a.length;j>i;i+=4){b=a[i],c=a[i+1],d=a[i+2],e=a[i+3];var k=b*(-4.387332384609988*b+54.48615194189176*c+18.82290502165302*d+212.25662451639585*e-72734.4411664936)+c*(1.7149763477362134*c-5.6096736904047315*d-17.873870861415444*e-1401.7366389350734)+d*(-2.5217340131683033*d-21.248923337353073*e+4465.541406466231)-e*(21.86122147463605*e+48317.86113160301),l=b*(8.841041422036149*b+60.118027045597366*c+6.871425592049007*d+31.159100130055922*e-20220.756542821975)+c*(-15.310361306967817*c+17.575251261109482*d+131.35250912493976*e-48691.05921601825)+d*(4.444339102852739*d+9.8632861493405*e-6341.191035517494)-e*(20.737325471181034*e+47890.15695978492),m=b*(.8842522430003296*b+8.078677503112928*c+30.89978309703729*d-.23883238689178934*e-3616.812083916688)+c*(10.49593273432072*c+63.02378494754052*d+50.606957656360734*e-28620.90484698408)+d*(.03296041114873217*d+115.60384449646641*e-49363.43385999684)-e*(22.33816807309886*e+45932.16563550634);a[f++]=k>=0?255:g>=k?0:255+k*h|0,a[f++]=l>=0?255:g>=l?0:255+l*h|0,a[f++]=m>=0?255:g>=m?0:255+m*h|0}return a},getData:function(a,b,c){if(this.numComponents>4)throw"Unsupported color mode";var d=this._getLinearizedBlockData(a,b);if(3===this.numComponents)return this._convertYccToRgb(d);if(4===this.numComponents){if(this._isColorConversionNeeded())return c?this._convertYcckToRgb(d):this._convertYcckToCmyk(d);if(c)return this._convertCmykToRgb(d)}return d}},a}(),hd=function(){function c(){this.failOnCorruptedImage=!1}function d(a,b){a.x0=Math.ceil(b.XOsiz/a.XRsiz),a.x1=Math.ceil(b.Xsiz/a.XRsiz),a.y0=Math.ceil(b.YOsiz/a.YRsiz),a.y1=Math.ceil(b.Ysiz/a.YRsiz),a.width=a.x1-a.x0,a.height=a.y1-a.y0}function e(a,b){for(var c,d=a.SIZ,e=[],f=Math.ceil((d.Xsiz-d.XTOsiz)/d.XTsiz),g=Math.ceil((d.Ysiz-d.YTOsiz)/d.YTsiz),h=0;g>h;h++)for(var i=0;f>i;i++)c={},c.tx0=Math.max(d.XTOsiz+i*d.XTsiz,d.XOsiz),c.ty0=Math.max(d.YTOsiz+h*d.YTsiz,d.YOsiz),c.tx1=Math.min(d.XTOsiz+(i+1)*d.XTsiz,d.Xsiz),c.ty1=Math.min(d.YTOsiz+(h+1)*d.YTsiz,d.Ysiz),c.width=c.tx1-c.tx0,c.height=c.ty1-c.ty0,c.components=[],e.push(c);a.tiles=e;for(var j=d.Csiz,k=0,l=j;l>k;k++)for(var m=b[k],n=0,o=e.length;o>n;n++){var p={};c=e[n],p.tcx0=Math.ceil(c.tx0/m.XRsiz),p.tcy0=Math.ceil(c.ty0/m.YRsiz),p.tcx1=Math.ceil(c.tx1/m.XRsiz),p.tcy1=Math.ceil(c.ty1/m.YRsiz),p.width=p.tcx1-p.tcx0,p.height=p.tcy1-p.tcy0,c.components[k]=p}}function f(a,b,c){var d=b.codingStyleParameters,e={};return d.entropyCoderWithCustomPrecincts?(e.PPx=d.precinctsSizes[c].PPx,e.PPy=d.precinctsSizes[c].PPy):(e.PPx=15,e.PPy=15),e.xcb_=c>0?Math.min(d.xcb,e.PPx-1):Math.min(d.xcb,e.PPx),e.ycb_=c>0?Math.min(d.ycb,e.PPy-1):Math.min(d.ycb,e.PPy),e}function g(a,b,c){var d=1<b.trx0?Math.ceil(b.trx1/d)-Math.floor(b.trx0/d):0,j=b.try1>b.try0?Math.ceil(b.try1/e)-Math.floor(b.try0/e):0,k=i*j;b.precinctParameters={precinctWidth:d,precinctHeight:e,numprecinctswide:i,numprecinctshigh:j,numprecincts:k,precinctWidthInSubband:g,precinctHeightInSubband:h}}function h(a,b,c){var d,e,f,g,h=c.xcb_,i=c.ycb_,j=1<>h,m=b.tby0>>i,n=b.tbx1+j-1>>h,o=b.tby1+k-1>>i,p=b.resolution.precinctParameters,q=[],r=[];for(e=m;o>e;e++)for(d=l;n>d;d++){f={cbx:d,cby:e,tbx0:j*d,tby0:k*e,tbx1:j*(d+1),tby1:k*(e+1)},f.tbx0_=Math.max(b.tbx0,f.tbx0),f.tby0_=Math.max(b.tby0,f.tby0),f.tbx1_=Math.min(b.tbx1,f.tbx1),f.tby1_=Math.min(b.tby1,f.tby1);var s=Math.floor((f.tbx0_-b.tbx0)/p.precinctWidthInSubband),t=Math.floor((f.tby0_-b.tby0)/p.precinctHeightInSubband);if(g=s+t*p.numprecinctswide,f.precinctNumber=g,f.subbandType=b.type,f.Lblock=3,!(f.tbx1_<=f.tbx0_||f.tby1_<=f.tby0_)){q.push(f);var u=r[g];void 0!==u?(du.cbxMax&&(u.cbxMax=d),eu.cbyMax&&(u.cbyMax=e)):r[g]=u={cbxMin:d,cbyMin:e,cbxMax:d,cbyMax:e},f.precinct=u}}b.codeblockParameters={codeblockWidth:h,codeblockHeight:i,numcodeblockwide:n-l+1,numcodeblockhigh:o-m+1},b.codeblocks=q,b.precincts=r}function i(a,b,c){for(var d=[],e=a.subbands,f=0,g=e.length;g>f;f++)for(var h=e[f],i=h.codeblocks,j=0,k=i.length;k>j;j++){var l=i[j];l.precinctNumber===b&&d.push(l)}return{layerNumber:c,codeblocks:d}}function j(a){for(var b=a.SIZ,c=a.currentTile.index,d=a.tiles[c],e=d.codingStyleDefaultParameters.layersCount,f=b.Csiz,g=0,h=0;f>h;h++)g=Math.max(g,d.components[h].codingStyleParameters.decompositionLevelsCount);var j=0,k=0,l=0,m=0;this.nextPacket=function(){for(;e>j;j++){for(;g>=k;k++){for(;f>l;l++){var a=d.components[l];if(!(k>a.codingStyleParameters.decompositionLevelsCount)){for(var b=a.resolutions[k],c=b.precinctParameters.numprecincts;c>m;){var h=i(b,m,j);return m++,h}m=0}}l=0}k=0}throw new Error("JPX Error: Out of packets")}}function k(a){for(var b=a.SIZ,c=a.currentTile.index,d=a.tiles[c],e=d.codingStyleDefaultParameters.layersCount,f=b.Csiz,g=0,h=0;f>h;h++)g=Math.max(g,d.components[h].codingStyleParameters.decompositionLevelsCount);var j=0,k=0,l=0,m=0;this.nextPacket=function(){for(;g>=j;j++){for(;e>k;k++){for(;f>l;l++){var a=d.components[l];if(!(j>a.codingStyleParameters.decompositionLevelsCount)){for(var b=a.resolutions[j],c=b.precinctParameters.numprecincts;c>m;){var h=i(b,m,k);return m++,h}m=0}}l=0}k=0}throw new Error("JPX Error: Out of packets")}}function m(a){var b,c,d,e,f=a.SIZ,g=a.currentTile.index,h=a.tiles[g],j=h.codingStyleDefaultParameters.layersCount,k=f.Csiz,l=0;for(d=0;k>d;d++){var m=h.components[d];l=Math.max(l,m.codingStyleParameters.decompositionLevelsCount)}var n=new Int32Array(l+1);for(c=0;l>=c;++c){var o=0;for(d=0;k>d;++d){var p=h.components[d].resolutions;c=c;c++){for(;ed;d++){var a=h.components[d];if(!(c>a.codingStyleParameters.decompositionLevelsCount)){var f=a.resolutions[c],g=f.precinctParameters.numprecincts;if(!(e>=g)){for(;j>b;){var m=i(f,e,b);return b++,m}b=0}}}d=0}e=0}throw new Error("JPX Error: Out of packets")}}function p(a){var b=a.SIZ,c=a.currentTile.index,d=a.tiles[c],e=d.codingStyleDefaultParameters.layersCount,f=b.Csiz,g=s(d),h=g,j=0,k=0,l=0,m=0,n=0;this.nextPacket=function(){for(;nl;l++){for(var a=d.components[l],b=a.codingStyleParameters.decompositionLevelsCount;b>=k;k++){var c=a.resolutions[k],o=g.components[l].resolutions[k],p=r(m,n,o,h,c);if(null!==p){for(;e>j;){var q=i(c,p,j);return j++,q}j=0}}k=0}l=0}m=0}throw new Error("JPX Error: Out of packets")}}function q(a){var b=a.SIZ,c=a.currentTile.index,d=a.tiles[c],e=d.codingStyleDefaultParameters.layersCount,f=b.Csiz,g=s(d),h=0,j=0,k=0,l=0,m=0;this.nextPacket=function(){for(;f>k;++k){for(var a=d.components[k],b=g.components[k],c=a.codingStyleParameters.decompositionLevelsCount;m=j;j++){var n=a.resolutions[j],o=b.resolutions[j],p=r(l,m,o,b,n);if(null!==p){for(;e>h;){var q=i(n,p,h);return h++,q}h=0}}j=0}l=0}m=0}throw new Error("JPX Error: Out of packets")}}function r(a,b,c,d,e){var f=a*d.minWidth,g=b*d.minHeight;if(f%c.width!==0||g%c.height!==0)return null;var h=g/c.width*e.precinctParameters.numprecinctswide;return f/c.height+h}function s(a){for(var b=a.components.length,c=Number.MAX_VALUE,d=Number.MAX_VALUE,e=0,f=0,g=new Array(b),h=0;b>h;h++){for(var i=a.components[h],j=i.codingStyleParameters.decompositionLevelsCount,k=new Array(j+1),l=Number.MAX_VALUE,m=Number.MAX_VALUE,n=0,o=0,p=1,q=j;q>=0;--q){var r=i.resolutions[q],s=p*r.precinctParameters.precinctWidth,t=p*r.precinctParameters.precinctHeight;l=Math.min(l,s),m=Math.min(m,t),n=Math.max(n,r.precinctParameters.numprecinctswide),o=Math.max(o,r.precinctParameters.numprecinctshigh),k[q]={width:s,height:t},p<<=1}c=Math.min(c,l),d=Math.min(d,m),e=Math.max(e,n),f=Math.max(f,o),g[h]={resolutions:k,minWidth:l,minHeight:m,maxNumWide:n,maxNumHigh:o}}return{components:g,minWidth:c,minHeight:d,maxNumWide:e,maxNumHigh:f}}function t(a){for(var b=a.SIZ,c=a.currentTile.index,d=a.tiles[c],e=b.Csiz,i=0;e>i;i++){for(var l=d.components[i],n=l.codingStyleParameters.decompositionLevelsCount,o=[],r=[],s=0;n>=s;s++){var t=f(a,l,s),u={},v=1<m;){var d=b[c+k];k++,n?(j=j<<7|d,m+=7,n=!1):(j=j<<8|d,m+=8),255===d&&(n=!0)}return m-=a,j>>>m&(1<a?a+3:(a=e(5),31>a?a+6:(a=e(7),a+37))}for(var j,k=0,m=0,n=!1,o=a.currentTile.index,p=a.tiles[o],q=a.COD.sopMarkerUsed,r=a.COD.ephMarkerUsed,s=p.packetsIterator;d>k;){h(),q&&f(145)&&g(4);var t=s.nextPacket();if(e(1)){for(var u,v=t.layerNumber,w=[],x=0,y=t.codeblocks.length;y>x;x++){u=t.codeblocks[x];var z,C=u.precinct,D=u.cbx-C.cbxMin,E=u.cby-C.cbyMin,F=!1,G=!1;if(void 0!==u.included)F=!!e(1);else{C=u.precinct;var H,I;if(void 0!==C.inclusionTree)H=C.inclusionTree;else{var J=C.cbxMax-C.cbxMin+1,K=C.cbyMax-C.cbyMin+1;H=new B(J,K,v),I=new A(J,K),C.inclusionTree=H,C.zeroBitPlanesTree=I}if(H.reset(D,E,v))for(;;){if(!e(1)){H.incrementValue(v);break}if(z=!H.nextLevel()){u.included=!0,F=G=!0;break}}}if(F){if(G){for(I=C.zeroBitPlanesTree,I.reset(D,E);;)if(e(1)){if(z=!I.nextLevel())break}else I.incrementValue();u.zeroBitPlanes=I.value}for(var L=i();e(1);)u.Lblock++;var M=l(L),N=(1<L?M-1:M)+u.Lblock,O=e(N);w.push({codeblock:u,codingpasses:L,dataLength:O})}}for(h(),r&&f(146);w.length>0;){var P=w.shift();u=P.codeblock,void 0===u.data&&(u.data=[]),u.data.push({data:b,start:c+k,end:c+k+P.dataLength,codingpasses:P.codingpasses}),k+=P.dataLength}}}return k}function v(a,b,c,d,e,f,g,h){for(var i=d.tbx0,j=d.tby0,k=d.tbx1-d.tbx0,l=d.codeblocks,m="H"===d.type.charAt(0)?1:0,n="H"===d.type.charAt(1)?b:0,o=0,p=l.length;p>o;++o){var q=l[o],r=q.tbx1_-q.tbx0_,s=q.tby1_-q.tby0_;if(0!==r&&0!==s&&void 0!==q.data){var t,u;t=new C(r,s,q.subbandType,q.zeroBitPlanes,f),u=2;var v,w,x,y=q.data,z=0,A=0;for(v=0,w=y.length;w>v;v++)x=y[v],z+=x.end-x.start,A+=x.codingpasses;var B=new Uint8Array(z),D=0;for(v=0,w=y.length;w>v;v++){x=y[v];var E=x.data.subarray(x.start,x.end);B.set(E,D),D+=E.length}var F=new fd(B,0,z);for(t.setDecoder(F),v=0;A>v;v++){switch(u){case 0:t.runSignificancePropogationPass();break;case 1:t.runMagnitudeRefinementPass();break;case 2:t.runCleanupPass(),h&&t.checkSegmentationSymbol()}u=(u+1)%3}var G,H,I,J=q.tbx0_-i+(q.tby0_-j)*k,K=t.coefficentsSign,L=t.coefficentsMagnitude,M=t.bitsDecoded,N=g?0:.5;D=0;var O="LL"!==d.type;for(v=0;s>v;v++){var P=J/k|0,Q=2*P*(b-k)+m+n;for(G=0;r>G;G++){if(H=L[D],0!==H){H=(H+N)*e,0!==K[D]&&(H=-H),I=M[D];var R=O?Q+(J<<1):J;g&&I>=f?a[R]=H:a[R]=H*(1<=q;q++){for(var r=d.resolutions[q],s=r.trx1-r.trx0,t=r.try1-r.try0,u=new Float32Array(s*t),w=0,x=r.subbands.length;x>w;w++){var y,A;i?(y=h[p].mu,A=h[p].epsilon,p++):(y=h[0].mu,A=h[0].epsilon+(q>0?1-q:0));var B=r.subbands[w],C=z[B.type],D=m?1:Math.pow(2,l+C-A)*(1+y/2048),G=j+A-1;v(u,s,t,B,D,G,m,k)}o.push({width:s,height:t,items:u})}var H=n.calculate(o,d.tcx0,d.tcy0);return{left:d.tcx0,top:d.tcy0,width:H.width,height:H.height,items:H.items}}function x(a){for(var b=a.SIZ,c=a.components,d=b.Csiz,e=[],f=0,g=a.tiles.length;g>f;f++){var h,i=a.tiles[f],j=[];for(h=0;d>h;h++)j[h]=w(a,i,h);var k,l,m,n,o,p,q,r,s,t,u,v,x,y,z,A=j[0],B=new Uint8Array(A.items.length*d),C={left:A.left,top:A.top,width:A.width,height:A.height,items:B},D=0;if(i.codingStyleDefaultParameters.multipleComponentTransform){var E=4===d,F=j[0].items,G=j[1].items,H=j[2].items,I=E?j[3].items:null;k=c[0].precision-8,l=(128<p;p++,D+=K)r=F[p]+l,s=G[p],t=H[p],v=r-(t+s>>2),u=v+t,x=v+s,B[D++]=0>=u?0:u>=m?255:u>>k,B[D++]=0>=v?0:v>=m?255:v>>k,B[D++]=0>=x?0:x>=m?255:x>>k;else for(p=0;q>p;p++,D+=K)r=F[p]+l,s=G[p],t=H[p],u=r+1.402*t,v=r-.34413*s-.71414*t,x=r+1.772*s,B[D++]=0>=u?0:u>=m?255:u>>k,B[D++]=0>=v?0:v>=m?255:v>>k,B[D++]=0>=x?0:x>=m?255:x>>k;if(E)for(p=0,D=3;q>p;p++,D+=4)y=I[p],B[D]=n>=y?0:y>=o?255:y+l>>k}else for(h=0;d>h;h++){var L=j[h].items;for(k=c[h].precision-8,l=(128<p;p++)z=L[p],B[D]=n>=z?0:z>=m?255:z+l>>k,D+=d}e.push(C)}return e}function y(a,b){for(var c=a.SIZ,d=c.Csiz,e=a.tiles[b],f=0;d>f;f++){var g=e.components[f],h=void 0!==a.currentTile.QCC[f]?a.currentTile.QCC[f]:a.currentTile.QCD;g.quantizationParameters=h;var i=void 0!==a.currentTile.COC[f]?a.currentTile.COC[f]:a.currentTile.COD;g.codingStyleParameters=i}e.codingStyleDefaultParameters=a.currentTile.COD}var z={LL:0,LH:1,HL:1,HH:2};c.prototype={parse:function(c){var d=n(c,0);if(65359===d)return void this.parseCodestream(c,0,c.length);for(var e=0,f=c.length;f>e;){var g=8,h=o(c,e),i=o(c,e+4);if(e+=g,1===h&&(h=4294967296*o(c,e)+o(c,e+4),e+=8,g+=8),0===h&&(h=f-e+g),g>h)throw new Error("JPX Error: Invalid box field size");var j=h-g,k=!0;switch(i){case 1785737832:k=!1;break;case 1668246642:var l=c[e];c[e+1],c[e+2];if(1===l){var m=o(c,e+3);switch(m){case 16:case 17:case 18:break;default:b("Unknown colorspace "+m)}}else 2===l&&a("ICC profile not supported");break;case 1785737827:this.parseCodestream(c,e,e+j);break;case 1783636e3:218793738!==o(c,e)&&b("Invalid JP2 signature");break;case 1783634458:case 1718909296:case 1920099697:case 1919251232:case 1768449138:break;default:var p=String.fromCharCode(i>>24&255,i>>16&255,i>>8&255,255&i);b("Unsupported header type "+i+" ("+p+")")}k&&(e+=j)}},parseImageProperties:function(a){for(var b=a.getByte();b>=0;){var c=b;b=a.getByte();var d=c<<8|b;if(65361===d){a.skip(4);var e=a.getInt32()>>>0,f=a.getInt32()>>>0,g=a.getInt32()>>>0,h=a.getInt32()>>>0;a.skip(16);var i=a.getUint16();return this.width=e-g,this.height=f-h,this.componentsCount=i,void(this.bitsPerComponent=8)}}throw new Error("JPX Error: No size marker found in JPX stream")},parseCodestream:function(a,c,f){var g={};try{for(var h=!1,i=c;f>i+1;){var j=n(a,i);i+=2;var k,l,m,p,q,r,s=0;switch(j){case 65359:g.mainHeader=!0;break;case 65497:break;case 65361:s=n(a,i);var v={};v.Xsiz=o(a,i+4),v.Ysiz=o(a,i+8),v.XOsiz=o(a,i+12),v.YOsiz=o(a,i+16),v.XTsiz=o(a,i+20),v.YTsiz=o(a,i+24),v.XTOsiz=o(a,i+28),v.YTOsiz=o(a,i+32);var w=n(a,i+36);v.Csiz=w;var z=[];k=i+38;for(var A=0;w>A;A++){var B={precision:(127&a[k])+1,isSigned:!!(128&a[k]),XRsiz:a[k+1],YRsiz:a[k+1]};d(B,v),z.push(B)}g.SIZ=v,g.components=z,e(g,z),g.QCC=[],g.COC=[];break;case 65372:s=n(a,i);var C={};switch(k=i+2,l=a[k++],31&l){case 0:p=8,q=!0;break;case 1:p=16,q=!1;break;case 2:p=16,q=!0;break;default:throw new Error("JPX Error: Invalid SQcd value "+l)}for(C.noQuantization=8===p,C.scalarExpounded=q,C.guardBits=l>>5,m=[];s+i>k;){var D={};8===p?(D.epsilon=a[k++]>>3,D.mu=0):(D.epsilon=a[k]>>3,D.mu=(7&a[k])<<8|a[k+1],k+=2),m.push(D)}C.SPqcds=m,g.mainHeader?g.QCD=C:(g.currentTile.QCD=C,g.currentTile.QCC=[]);break;case 65373:s=n(a,i);var E={};k=i+2;var F;switch(g.SIZ.Csiz<257?F=a[k++]:(F=n(a,k),k+=2),l=a[k++],31&l){case 0:p=8,q=!0;break;case 1:p=16,q=!1;break;case 2:p=16,q=!0;break;default:throw new Error("JPX Error: Invalid SQcd value "+l)}for(E.noQuantization=8===p,E.scalarExpounded=q,E.guardBits=l>>5,m=[];s+i>k;)D={},8===p?(D.epsilon=a[k++]>>3,D.mu=0):(D.epsilon=a[k]>>3,D.mu=(7&a[k])<<8|a[k+1],k+=2),m.push(D);E.SPqcds=m,g.mainHeader?g.QCC[F]=E:g.currentTile.QCC[F]=E;break;case 65362:s=n(a,i);var G={};k=i+2;var H=a[k++];G.entropyCoderWithCustomPrecincts=!!(1&H),G.sopMarkerUsed=!!(2&H),G.ephMarkerUsed=!!(4&H),G.progressionOrder=a[k++],G.layersCount=n(a,k),k+=2,G.multipleComponentTransform=a[k++],G.decompositionLevelsCount=a[k++],G.xcb=(15&a[k++])+2,G.ycb=(15&a[k++])+2;var I=a[k++];if(G.selectiveArithmeticCodingBypass=!!(1&I),G.resetContextProbabilities=!!(2&I),G.terminationOnEachCodingPass=!!(4&I),G.verticalyStripe=!!(8&I),G.predictableTermination=!!(16&I),G.segmentationSymbolUsed=!!(32&I),G.reversibleTransformation=a[k++],G.entropyCoderWithCustomPrecincts){for(var J=[];s+i>k;){var K=a[k++];J.push({PPx:15&K,PPy:K>>4})}G.precinctsSizes=J}var L=[];if(G.selectiveArithmeticCodingBypass&&L.push("selectiveArithmeticCodingBypass"),G.resetContextProbabilities&&L.push("resetContextProbabilities"),G.terminationOnEachCodingPass&&L.push("terminationOnEachCodingPass"),G.verticalyStripe&&L.push("verticalyStripe"),G.predictableTermination&&L.push("predictableTermination"),L.length>0)throw h=!0,new Error("JPX Error: Unsupported COD options ("+L.join(", ")+")");g.mainHeader?g.COD=G:(g.currentTile.COD=G,g.currentTile.COC=[]);break;case 65424:s=n(a,i),r={},r.index=n(a,i+2),r.length=o(a,i+4),r.dataEnd=r.length+i-2,r.partIndex=a[i+8],r.partsCount=a[i+9],g.mainHeader=!1,0===r.partIndex&&(r.COD=g.COD,r.COC=g.COC.slice(0),r.QCD=g.QCD,r.QCC=g.QCC.slice(0)),g.currentTile=r;break;case 65427:r=g.currentTile,0===r.partIndex&&(y(g,r.index),t(g)),s=r.dataEnd-i,u(g,a,i,s);break;case 65365:case 65367:case 65368:case 65380:s=n(a,i);break;case 65363:throw new Error("JPX Error: Codestream code 0xFF53 (COC) is not implemented");default:throw new Error("JPX Error: Unknown codestream code: "+j.toString(16))}i+=s}}catch(M){if(h||this.failOnCorruptedImage)throw M;b("Trying to recover from "+M.message)}this.tiles=x(g),this.width=g.SIZ.Xsiz-g.SIZ.XOsiz,this.height=g.SIZ.Ysiz-g.SIZ.YOsiz,this.componentsCount=g.SIZ.Csiz}};var A=function(){function a(a,b){var c=l(Math.max(a,b))+1;this.levels=[];for(var d=0;c>d;d++){var e={width:a,height:b,items:[]};this.levels.push(e),a=Math.ceil(a/2),b=Math.ceil(b/2)}}return a.prototype={reset:function(a,b){for(var c,d=0,e=0;d>=1,b>>=1,d++}d--,c=this.levels[d],c.items[c.index]=e,this.currentLevel=d,delete this.value},incrementValue:function(){var a=this.levels[this.currentLevel];a.items[a.index]++},nextLevel:function(){var a=this.currentLevel,b=this.levels[a],c=b.items[b.index];return a--,0>a?(this.value=c,!1):(this.currentLevel=a,b=this.levels[a],b.items[b.index]=c,!0)}},a}(),B=function(){function a(a,b,c){var d=l(Math.max(a,b))+1;this.levels=[];for(var e=0;d>e;e++){for(var f=new Uint8Array(a*b),g=0,h=f.length;h>g;g++)f[g]=c;var i={width:a,height:b,items:f};this.levels.push(i),a=Math.ceil(a/2),b=Math.ceil(b/2)}}return a.prototype={reset:function(a,b,c){for(var d=0;dc)return this.currentLevel=d,this.propagateValues(),!1;a>>=1,b>>=1,d++}return this.currentLevel=d-1,!0},incrementValue:function(a){var b=this.levels[this.currentLevel];b.items[b.index]=a+1,this.propagateValues()},propagateValues:function(){for(var a=this.currentLevel,b=this.levels[a],c=b.items[b.index];--a>=0;)b=this.levels[a],b.items[b.index]=c},nextLevel:function(){var a=this.currentLevel,b=this.levels[a],c=b.items[b.index];return b.items[b.index]=255,a--,0>a?!1:(this.currentLevel=a,b=this.levels[a],b.items[b.index]=c,!0)}},a}(),C=function(){function a(a,b,c,g,h){this.width=a,this.height=b,this.contextLabelTable="HH"===c?f:"HL"===c?e:d;var i=a*b;this.neighborsSignificance=new Uint8Array(i),this.coefficentsSign=new Uint8Array(i),this.coefficentsMagnitude=h>14?new Uint32Array(i):h>6?new Uint16Array(i):new Uint8Array(i),this.processingFlags=new Uint8Array(i);var j=new Uint8Array(i);if(0!==g)for(var k=0;i>k;k++)j[k]=g;this.bitsDecoded=j,this.reset()}var b=17,c=18,d=new Uint8Array([0,5,8,0,3,7,8,0,4,7,8,0,0,0,0,0,1,6,8,0,3,7,8,0,4,7,8,0,0,0,0,0,2,6,8,0,3,7,8,0,4,7,8,0,0,0,0,0,2,6,8,0,3,7,8,0,4,7,8,0,0,0,0,0,2,6,8,0,3,7,8,0,4,7,8]),e=new Uint8Array([0,3,4,0,5,7,7,0,8,8,8,0,0,0,0,0,1,3,4,0,6,7,7,0,8,8,8,0,0,0,0,0,2,3,4,0,6,7,7,0,8,8,8,0,0,0,0,0,2,3,4,0,6,7,7,0,8,8,8,0,0,0,0,0,2,3,4,0,6,7,7,0,8,8,8]),f=new Uint8Array([0,1,2,0,1,2,2,0,2,2,2,0,0,0,0,0,3,4,5,0,4,5,5,0,5,5,5,0,0,0,0,0,6,7,7,0,7,7,7,0,7,7,7,0,0,0,0,0,8,8,8,0,8,8,8,0,8,8,8,0,0,0,0,0,8,8,8,0,8,8,8,0,8,8,8]);return a.prototype={setDecoder:function(a){this.decoder=a},reset:function(){this.contexts=new Int8Array(19),this.contexts[0]=8,this.contexts[b]=92,this.contexts[c]=6},setNeighborsSignificance:function(a,b,c){var d,e=this.neighborsSignificance,f=this.width,g=this.height,h=b>0,i=f>b+1;a>0&&(d=c-f,h&&(e[d-1]+=16),i&&(e[d+1]+=16),e[d]+=4),g>a+1&&(d=c+f,h&&(e[d-1]+=16),i&&(e[d+1]+=16),e[d]+=4),h&&(e[c-1]+=1),i&&(e[c+1]+=1),e[c]|=128},runSignificancePropogationPass:function(){for(var a=this.decoder,b=this.width,c=this.height,d=this.coefficentsMagnitude,e=this.coefficentsSign,f=this.neighborsSignificance,g=this.processingFlags,h=this.contexts,i=this.contextLabelTable,j=this.bitsDecoded,k=-2,l=1,m=2,n=0;c>n;n+=4)for(var o=0;b>o;o++)for(var p=n*b+o,q=0;4>q;q++,p+=b){var r=n+q;if(r>=c)break;if(g[p]&=k,!d[p]&&f[p]){var s=i[f[p]],t=a.readBit(h,s);if(t){var u=this.decodeSignBit(r,o,p);e[p]=u,d[p]=1,this.setNeighborsSignificance(r,o,p),g[p]|=m}j[p]++,g[p]|=l}}},decodeSignBit:function(a,b,c){var d,e,f,g,h,i,j=this.width,k=this.height,l=this.coefficentsMagnitude,m=this.coefficentsSign;g=b>0&&0!==l[c-1],j>b+1&&0!==l[c+1]?(f=m[c+1],g?(e=m[c-1],d=1-f-e):d=1-f-f):g?(e=m[c-1],d=1-e-e):d=0;var n=3*d;return g=a>0&&0!==l[c-j],k>a+1&&0!==l[c+j]?(f=m[c+j],g?(e=m[c-j],d=1-f-e+n):d=1-f-f+n):g?(e=m[c-j],d=1-e-e+n):d=n,d>=0?(h=9+d,i=this.decoder.readBit(this.contexts,h)):(h=9-d,i=1^this.decoder.readBit(this.contexts,h)),i},runMagnitudeRefinementPass:function(){for(var a,b=this.decoder,c=this.width,d=this.height,e=this.coefficentsMagnitude,f=this.neighborsSignificance,g=this.contexts,h=this.bitsDecoded,i=this.processingFlags,j=1,k=2,l=c*d,m=4*c,n=0;l>n;n=a){a=Math.min(l,n+m);for(var o=0;c>o;o++)for(var p=n+o;a>p;p+=c)if(e[p]&&0===(i[p]&j)){var q=16;if(0!==(i[p]&k)){i[p]^=k;var r=127&f[p];q=0===r?15:14}var s=b.readBit(g,q);e[p]=e[p]<<1|s,h[p]++,i[p]|=j}}},runCleanupPass:function(){for(var a,d=this.decoder,e=this.width,f=this.height,g=this.neighborsSignificance,h=this.coefficentsMagnitude,i=this.coefficentsSign,j=this.contexts,k=this.contextLabelTable,l=this.bitsDecoded,m=this.processingFlags,n=1,o=2,p=e,q=2*e,r=3*e,s=0;f>s;s=a){a=Math.min(s+4,f);for(var t=s*e,u=f>s+3,v=0;e>v;v++){var w,x=t+v,y=u&&0===m[x]&&0===m[x+p]&&0===m[x+q]&&0===m[x+r]&&0===g[x]&&0===g[x+p]&&0===g[x+q]&&0===g[x+r],z=0,A=x,B=s;if(y){var C=d.readBit(j,c);if(!C){l[x]++,l[x+p]++,l[x+q]++,l[x+r]++;continue}z=d.readBit(j,b)<<1|d.readBit(j,b),0!==z&&(B=s+z,A+=z*e),w=this.decodeSignBit(B,v,A),i[A]=w,h[A]=1,this.setNeighborsSignificance(B,v,A),m[A]|=o,A=x;for(var D=s;B>=D;D++,A+=e)l[A]++;z++}for(B=s+z;a>B;B++,A+=e)if(!h[A]&&0===(m[A]&n)){var E=k[g[A]],F=d.readBit(j,E);1===F&&(w=this.decodeSignBit(B,v,A),i[A]=w,h[A]=1,this.setNeighborsSignificance(B,v,A),m[A]|=o),l[A]++}}}},checkSegmentationSymbol:function(){var a=this.decoder,c=this.contexts,d=a.readBit(c,b)<<3|a.readBit(c,b)<<2|a.readBit(c,b)<<1|a.readBit(c,b);if(10!==d)throw new Error("JPX Error: Invalid segmentation symbol")}},a}(),D=function(){function a(){}return a.prototype.calculate=function(a,b,c){for(var d=a[0],e=1,f=a.length;f>e;e++)d=this.iterate(d,a[e],b,c);return d},a.prototype.extend=function(a,b,c){var d=b-1,e=b+1,f=b+c-2,g=b+c;a[d--]=a[e++],a[g++]=a[f--],a[d--]=a[e++],a[g++]=a[f--],a[d--]=a[e++],a[g++]=a[f--],a[d]=a[e],a[g]=a[f]},a.prototype.iterate=function(a,b,c,d){var e,f,g,h,i,j,k=a.width,l=a.height,m=a.items,n=b.width,o=b.height,p=b.items;for(g=0,e=0;l>e;e++)for(h=2*e*n,f=0;k>f;f++,g++,h+=2)p[h]=m[g];m=a.items=null;var q=4,r=new Float32Array(n+2*q);if(1===n){if(0!==(1&c))for(j=0,g=0;o>j;j++,g+=n)p[g]*=.5}else for(j=0,g=0;o>j;j++,g+=n)r.set(p.subarray(g,g+n),q),this.extend(r,q,n),this.filter(r,q,n),p.set(r.subarray(q,q+n),g);var s=16,t=[];for(e=0;s>e;e++)t.push(new Float32Array(o+2*q));var u,v=0;if(a=q+o,1===o){if(0!==(1&d))for(i=0;n>i;i++)p[i]*=.5}else for(i=0;n>i;i++){if(0===v){for(s=Math.min(n-i,s),g=i,h=q;a>h;g+=n,h++)for(u=0;s>u;u++)t[u][h]=p[g+u];v=s}v--;var w=t[v];if(this.extend(w,q,o),this.filter(w,q,o),0===v)for(g=i-s+1,h=q;a>h;g+=n,h++)for(u=0;s>u;u++)p[g+u]=t[u][h]}return{width:n,height:o,items:p}},a}(),E=function(){function a(){D.call(this)}return a.prototype=Object.create(D.prototype),a.prototype.filter=function(a,b,c){var d=c>>1;b=0|b;var e,f,g,h,i=-1.586134342059924,j=-.052980118572961,k=.882911075530934,l=.443506852043971,m=1.230174104914001,n=1/m;for(e=b-3,f=d+4;f--;e+=2)a[e]*=n;for(e=b-2,g=l*a[e-1],f=d+3;f--&&(h=l*a[e+1],a[e]=m*a[e]-g-h,f--);e+=2)e+=2,g=l*a[e+1],a[e]=m*a[e]-g-h;for(e=b-1,g=k*a[e-1],f=d+2;f--&&(h=k*a[e+1],a[e]-=g+h,f--);e+=2)e+=2,g=k*a[e+1],a[e]-=g+h;for(e=b,g=j*a[e-1],f=d+1;f--&&(h=j*a[e+1],a[e]-=g+h,f--);e+=2)e+=2,g=j*a[e+1],a[e]-=g+h;if(0!==d)for(e=b+1,g=i*a[e-1],f=d;f--&&(h=i*a[e+1],a[e]-=g+h,f--);e+=2)e+=2,g=i*a[e+1],a[e]-=g+h},a}(),F=function(){function a(){D.call(this)}return a.prototype=Object.create(D.prototype),a.prototype.filter=function(a,b,c){var d=c>>1;b=0|b;var e,f;for(e=b,f=d+1;f--;e+=2)a[e]-=a[e-1]+a[e+1]+2>>2;for(e=b+1,f=d;f--;e+=2)a[e]+=a[e-1]+a[e+1]>>1},a}();return c}(),id=function(){function a(){}function b(a,b,c){this.data=a,this.start=b,this.end=c}function d(a,b,c){function d(a){for(var b=0,d=0;a>d;d++){var g=c.readBit(e,f);f=256>f?f<<1|g:511&(f<<1|g)|256,b=b<<1|g}return b>>>0}var e=a.getContexts(b),f=1,g=d(1),h=d(1)?d(1)?d(1)?d(1)?d(1)?d(32)+4436:d(12)+340:d(8)+84:d(6)+20:d(4)+4:d(2);return 0===g?h:h>0?-h:null}function e(a,b,c){for(var d=a.getContexts("IAID"),e=1,f=0;c>f;f++){var g=b.readBit(d,e);e=e<<1|g}return 31>c?e&(1<e;e++)for(h=m[e]=new Uint8Array(a),i=1>e?h:m[e-1],j=2>e?h:m[e-2],d=j[0]<<13|j[1]<<12|j[2]<<11|i[0]<<7|i[1]<<6|i[2]<<5|i[3]<<4,f=0;a>f;f++)h[f]=g=k.readBit(l,d),d=(d&n)<<1|(a>f+3?j[f+3]<<11:0)|(a>f+4?i[f+4]<<4:0)|g;return m}function h(a,b,d,e,g,h,i,j){if(a&&c("JBIG2 error: MMR encoding is not supported"),0===e&&!h&&!g&&4===i.length&&3===i[0].x&&-1===i[0].y&&-3===i[1].x&&-1===i[1].y&&2===i[2].x&&-2===i[2].y&&-2===i[3].x&&-2===i[3].y)return f(b,d,j);var k=!!h,l=y[e].concat(i);l.sort(function(a,b){return a.y-b.y||a.x-b.x});var m,n,o=l.length,p=new Int8Array(o),q=new Int8Array(o),r=[],s=0,t=0,u=0,v=0;for(n=0;o>n;n++)p[n]=l[n].x,q[n]=l[n].y,t=Math.min(t,l[n].x),u=Math.max(u,l[n].x),v=Math.min(v,l[n].y),o-1>n&&l[n].y===l[n+1].y&&l[n].x===l[n+1].x-1?s|=1<m;m++)n=r[m],x[m]=l[n].x,z[m]=l[n].y,B[m]=1<R;R++){if(g){var S=N.readBit(O,K);if(P^=S){M.push(L);continue}}for(L=new Uint8Array(L),M.push(L),C=0;b>C;C++)if(k&&h[R][C])L[C]=0;else{if(C>=H&&J>C&&R>=I)for(Q=Q<<1&s,n=0;w>n;n++)D=R+z[n],E=C+x[n],F=M[D][E],F&&(F=B[n],Q|=F);else for(Q=0,G=o-1,n=0;o>n;n++,G--)E=C+p[n],E>=0&&b>E&&(D=R+q[n],D>=0&&(F=M[D][E],F&&(Q|=F<l;l++)n[l]=k[l].x,o[l]=k[l].y;var p=z[d].reference;0===d&&(p=p.concat([i[1]]));var q=p.length,r=new Int32Array(q),s=new Int32Array(q);for(l=0;q>l;l++)r[l]=p[l].x,s[l]=p[l].y;for(var t=e[0].length,u=e.length,v=B[d],w=[],x=j.decoder,y=j.contextCache.getContexts("GR"),A=0,C=0;b>C;C++){if(h){var D=x.readBit(y,v);A^=D,A&&c("JBIG2 error: prediction is not supported")}var E=new Uint8Array(a);w.push(E);for(var F=0;a>F;F++){var G,H,I=0;for(l=0;m>l;l++)G=C+o[l],H=F+n[l],0>G||0>H||H>=a?I<<=1:I=I<<1|w[G][H];for(l=0;q>l;l++)G=C+s[l]+g,H=F+r[l]+f,0>G||G>=u||0>H||H>=t?I<<=1:I=I<<1|e[G][H];var J=x.readBit(y,I);E[F]=J}}return w}function j(a,b,f,g,j,m,n,o,p,q,r){a&&c("JBIG2 error: huffman is not supported");for(var s=[],t=0,u=l(f.length+g),v=r.decoder,w=r.contextCache;s.length1)B=k(a,b,y,t,0,C,1,f.concat(s),u,0,0,1,0,m,p,q,r);else{var D=e(w,v,u),E=d(w,"IARDX",v),F=d(w,"IARDY",v),G=DM;M++)I[M]&&H.push(f[M]);for(var O=0;g>O;M++,O++)I[M]&&H.push(s[O]);return H}function k(a,b,f,g,h,j,k,l,m,n,o,p,q,r,s,t,u){a&&c("JBIG2 error: huffman is not supported");var v,w,x=[];for(v=0;g>v;v++){if(w=new Uint8Array(f),h)for(var y=0;f>y;y++)w[y]=h;x.push(w)}var z=u.decoder,A=u.contextCache,B=-d(A,"IADT",z),C=0;for(v=0;j>v;){var D=d(A,"IADT",z);B+=D;var E=d(A,"IAFS",z);C+=E;for(var F=C;;){var G=1===k?0:d(A,"IAIT",z),H=k*B+G,I=e(A,z,m),J=b&&d(A,"IARI",z),K=l[I],L=K[0].length,M=K.length;if(J){var N=d(A,"IARDW",z),O=d(A,"IARDH",z),P=d(A,"IARDX",z),Q=d(A,"IARDY",z);L+=N,M+=O,K=i(L,M,s,K,(N>>1)+P,(O>>1)+Q,!1,t,u)}var R,S,T,U=H-(1&p?0:M),V=F-(2&p?L:0);if(n){for(R=0;M>R;R++)if(w=x[V+R]){T=K[R];var W=Math.min(f-U,L);switch(q){case 0:for(S=0;W>S;S++)w[U+S]|=T[S];break;case 2:for(S=0;W>S;S++)w[U+S]^=T[S];break;default:c("JBIG2 error: operator "+q+" is not supported")}}F+=M-1}else{for(S=0;M>S;S++)if(w=x[U+S])switch(T=K[S],q){case 0:for(R=0;L>R;R++)w[V+R]|=T[R];break;case 2:for(R=0;L>R;R++)w[V+R]^=T[R];break;default:c("JBIG2 error: operator "+q+" is not supported")}F+=L-1}v++;var X=d(A,"IADS",z);if(null===X)break;F+=X+o}}return x}function p(a,b){var d={};d.number=o(a,b);var e=a[b+4],f=63&e;x[f]||c("JBIG2 error: invalid segment type: "+f),d.type=f,d.typeName=x[f],d.deferredNonRetain=!!(128&e);var g=!!(64&e),h=a[b+5],i=h>>5&7,j=[31&h],k=b+6;if(7===h){i=536870911&o(a,k-1),k+=3;var l=i+7>>3;for(j[0]=a[k++];--l>0;)j.push(a[k++])}else 5!==h&&6!==h||c("JBIG2 error: invalid referred-to flags");d.retainBits=j;var m,p,q=d.number<=256?1:d.number<=65536?2:4,s=[];for(m=0;i>m;m++){var t=1===q?a[k]:2===q?n(a,k):o(a,k);s.push(t),k+=q}if(d.referredTo=s,g?(d.pageAssociation=o(a,k),k+=4):d.pageAssociation=a[k++],d.length=o(a,k),k+=4,4294967295===d.length)if(38===f){var u=r(a,k),v=a[k+C],w=!!(1&v),y=6,z=new Uint8Array(y);for(w||(z[0]=255,z[1]=172),z[2]=u.height>>>24&255,z[3]=u.height>>16&255,z[4]=u.height>>8&255,z[5]=255&u.height,m=k,p=a.length;p>m;m++){for(var A=0;y>A&&z[A]===a[m+A];)A++;if(A===y){d.length=m+y;break}}4294967295===d.length&&c("JBIG2 error: segment end was not found")}else c("JBIG2 error: invalid unknown segment length");return d.headerEnd=k,d}function q(a,b,c,d){for(var e=[],f=c;d>f;){var g=p(b,f);f=g.headerEnd;var h={header:g,data:b};if(a.randomAccess||(h.start=f,f+=g.length,h.end=f),e.push(h),51===g.type)break}if(a.randomAccess)for(var i=0,j=e.length;j>i;i++)e[i].start=f,f+=e[i].header.length,e[i].end=f;return e}function r(a,b){return{width:o(a,b),height:o(a,b+4),x:o(a,b+8),y:o(a,b+12),combinationOperator:7&a[b+16]}}function s(a,b){var d,e,f,g,h=a.header,i=a.data,j=a.start,k=a.end;switch(h.type){case 0:var l={},p=n(i,j);if(l.huffman=!!(1&p),l.refinement=!!(2&p),l.huffmanDHSelector=p>>2&3,l.huffmanDWSelector=p>>4&3,l.bitmapSizeSelector=p>>6&1,l.aggregationInstancesSelector=p>>7&1,l.bitmapCodingContextUsed=!!(256&p),l.bitmapCodingContextRetained=!!(512&p),l.template=p>>10&3,l.refinementTemplate=p>>12&1,j+=2,!l.huffman){for(g=0===l.template?4:1,e=[],f=0;g>f;f++)e.push({x:m(i,j),y:m(i,j+1)}),j+=2;l.at=e}if(l.refinement&&!l.refinementTemplate){for(e=[],f=0;2>f;f++)e.push({x:m(i,j),y:m(i,j+1)}),j+=2;l.refinementAt=e}l.numberOfExportedSymbols=o(i,j),j+=4,l.numberOfNewSymbols=o(i,j),j+=4,d=[l,h.number,h.referredTo,i,j,k];break;case 6:case 7:var q={};q.info=r(i,j),j+=C;var s=n(i,j);if(j+=2,q.huffman=!!(1&s),q.refinement=!!(2&s),q.stripSize=1<<(s>>2&3),q.referenceCorner=s>>4&3,q.transposed=!!(64&s),q.combinationOperator=s>>7&3,q.defaultPixelValue=s>>9&1,q.dsOffset=s<<17>>27,q.refinementTemplate=s>>15&1,q.huffman){var t=n(i,j);j+=2,q.huffmanFS=3&t,q.huffmanDS=t>>2&3,q.huffmanDT=t>>4&3,q.huffmanRefinementDW=t>>6&3,q.huffmanRefinementDH=t>>8&3,q.huffmanRefinementDX=t>>10&3,q.huffmanRefinementDY=t>>12&3,q.huffmanRefinementSizeSelector=!!(14&t)}if(q.refinement&&!q.refinementTemplate){for(e=[],f=0;2>f;f++)e.push({x:m(i,j),y:m(i,j+1)}),j+=2;q.refinementAt=e}q.numberOfSymbolInstances=o(i,j),j+=4,q.huffman&&c("JBIG2 error: huffman is not supported"),d=[q,h.referredTo,i,j,k];break;case 38:case 39:var u={};u.info=r(i,j),j+=C;var v=i[j++];if(u.mmr=!!(1&v),u.template=v>>1&3,u.prediction=!!(8&v),!u.mmr){for(g=0===u.template?4:1,e=[],f=0;g>f;f++)e.push({x:m(i,j),y:m(i,j+1)}),j+=2;u.at=e}d=[u,i,j,k];break;case 48:var w={width:o(i,j),height:o(i,j+4),resolutionX:o(i,j+8),resolutionY:o(i,j+12)};4294967295===w.height&&delete w.height;var x=i[j+16];n(i,j+17);w.lossless=!!(1&x),w.refinement=!!(2&x),w.defaultPixelValue=x>>2&1,w.combinationOperator=x>>3&3,w.requiresBuffer=!!(32&x),w.combinationOperatorOverride=!!(64&x),d=[w];break;case 49:break;case 50:break;case 51:break;case 62:break;default:c("JBIG2 error: segment type "+h.typeName+"("+h.type+") is not implemented")}var y="on"+h.typeName;y in b&&b[y].apply(b,d)}function t(a,b){for(var c=0,d=a.length;d>c;c++)s(a[c],b)}function u(a){for(var b=new v,c=0,d=a.length;d>c;c++){var e=a[c],f=q({},e.data,e.start,e.end);t(f,b)}return b.buffer}function v(){}function w(){}a.prototype={getContexts:function(a){return a in this?this[a]:this[a]=new Int8Array(65536)}},b.prototype={get decoder(){var a=new fd(this.data,this.start,this.end);return g(this,"decoder",a)},get contextCache(){var b=new a;return g(this,"contextCache",b)}};var x=["SymbolDictionary",null,null,null,"IntermediateTextRegion",null,"ImmediateTextRegion","ImmediateLosslessTextRegion",null,null,null,null,null,null,null,null,"patternDictionary",null,null,null,"IntermediateHalftoneRegion",null,"ImmediateHalftoneRegion","ImmediateLosslessHalftoneRegion",null,null,null,null,null,null,null,null,null,null,null,null,"IntermediateGenericRegion",null,"ImmediateGenericRegion","ImmediateLosslessGenericRegion","IntermediateGenericRefinementRegion",null,"ImmediateGenericRefinementRegion","ImmediateLosslessGenericRefinementRegion",null,null,null,null,"PageInformation","EndOfPage","EndOfStripe","EndOfFile","Profiles","Tables",null,null,null,null,null,null,null,null,"Extension"],y=[[{x:-1,y:-2},{x:0,y:-2},{x:1,y:-2},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:2,y:-1},{x:-4,y:0},{x:-3,y:0},{x:-2,y:0},{x:-1,y:0}],[{x:-1,y:-2},{x:0,y:-2},{x:1,y:-2},{x:2,y:-2},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:2,y:-1},{x:-3,y:0},{x:-2,y:0},{x:-1,y:0}],[{x:-1,y:-2},{x:0,y:-2},{x:1,y:-2},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:-2,y:0},{x:-1,y:0}],[{x:-3,y:-1},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:-4,y:0},{x:-3,y:0},{x:-2,y:0},{x:-1,y:0}]],z=[{coding:[{x:0,y:-1},{x:1,y:-1},{x:-1,y:0}],reference:[{x:0,y:-1},{x:1,y:-1},{x:-1,y:0},{x:0,y:0},{x:1,y:0},{x:-1,y:1},{x:0,y:1},{x:1,y:1}]},{coding:[{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:-1,y:0}],reference:[{x:0,y:-1},{x:-1,y:0},{x:0,y:0},{x:1,y:0},{x:0,y:1},{x:1,y:1}]}],A=[39717,1941,229,405],B=[32,8],C=17;return v.prototype={onPageInformation:function(a){this.currentPageInfo=a;var b=a.width+7>>3,c=new Uint8Array(b*a.height);if(a.defaultPixelValue)for(var d=0,e=c.length;e>d;d++)c[d]=255;this.buffer=c},drawBitmap:function(a,b){var d,e,f,g,h=this.currentPageInfo,i=a.width,j=a.height,k=h.width+7>>3,l=h.combinationOperatorOverride?a.combinationOperator:h.combinationOperator,m=this.buffer,n=128>>(7&a.x),o=a.y*k+(a.x>>3);switch(l){case 0:for(d=0;j>d;d++){for(f=n,g=o,e=0;i>e;e++)b[d][e]&&(m[g]|=f),f>>=1,f||(f=128,g++);o+=k}break;case 2:for(d=0;j>d;d++){for(f=n,g=o,e=0;i>e;e++)b[d][e]&&(m[g]^=f),f>>=1,f||(f=128,g++);o+=k}break;default:c("JBIG2 error: operator "+l+" is not supported")}},onImmediateGenericRegion:function(a,c,d,e){var f=a.info,g=new b(c,d,e),i=h(a.mmr,f.width,f.height,a.template,a.prediction,null,a.at,g);this.drawBitmap(f,i)},onImmediateLosslessGenericRegion:function(){this.onImmediateGenericRegion.apply(this,arguments)},onSymbolDictionary:function(a,d,e,f,g,h){var i;a.huffman&&c("JBIG2 error: huffman is not supported");var k=this.symbols;k||(this.symbols=k={});for(var l=[],m=0,n=e.length;n>m;m++)l=l.concat(k[e[m]]);var o=new b(f,g,h);k[d]=j(a.huffman,a.refinement,l,a.numberOfNewSymbols,a.numberOfExportedSymbols,i,a.template,a.at,a.refinementTemplate,a.refinementAt,o)},onImmediateTextRegion:function(a,c,d,e,f){for(var g,h=a.info,i=this.symbols,j=[],m=0,n=c.length;n>m;m++)j=j.concat(i[c[m]]);var o=l(j.length),p=new b(d,e,f),q=k(a.huffman,a.refinement,h.width,h.height,a.defaultPixelValue,a.numberOfSymbolInstances,a.stripSize,j,o,a.transposed,a.dsOffset,a.referenceCorner,a.combinationOperator,g,a.refinementTemplate,a.refinementAt,p);this.drawBitmap(h,q)},onImmediateLosslessTextRegion:function(){this.onImmediateTextRegion.apply(this,arguments)}},w.prototype={parseChunks:function(a){return u(a)}},w}(),jd=(PDFJS.bidi=function(){function a(a){return 0!==(1&a)}function b(a){return 0===(1&a)}function c(a,b,c){for(var d=b,e=a.length;e>d;++d)if(a[d]!==c)return d;return d}function d(a,b,c,d){for(var e=b;c>e;++e)a[e]=d}function e(a,b,c){for(var d=b,e=c-1;e>d;++d,--e){var f=a[d];a[d]=a[e],a[e]=f}}function f(a,b,c){return{str:a,dir:c?"ttb":b?"ltr":"rtl"}}function g(g,l,m){var n=!0,o=g.length;if(0===o||m)return f(g,n,m);j.length=o,k.length=o;var p,q,r=0;for(p=0;o>p;++p){j[p]=g.charAt(p);var s=g.charCodeAt(p),t="L";255>=s?t=h[s]:s>=1424&&1524>=s?t="R":s>=1536&&1791>=s?t=i[255&s]:s>=1792&&2220>=s&&(t="AL"),"R"!==t&&"AL"!==t&&"AN"!==t||r++,k[p]=t}if(0===r)return n=!0,f(g,n);-1===l&&(.3>o/r?(n=!0,l=0):(n=!1,l=1));var u=[];for(p=0;o>p;++p)u[p]=l;var v=a(l)?"R":"L",w=v,x=w,y=w;for(p=0;o>p;++p)"NSM"===k[p]?k[p]=y:y=k[p];y=w;var z;for(p=0;o>p;++p)z=k[p],"EN"===z?k[p]="AL"===y?"AN":"EN":"R"!==z&&"L"!==z&&"AL"!==z||(y=z);for(p=0;o>p;++p)z=k[p],"AL"===z&&(k[p]="R");for(p=1;o-1>p;++p)"ES"===k[p]&&"EN"===k[p-1]&&"EN"===k[p+1]&&(k[p]="EN"),"CS"!==k[p]||"EN"!==k[p-1]&&"AN"!==k[p-1]||k[p+1]!==k[p-1]||(k[p]=k[p-1]);for(p=0;o>p;++p)if("EN"===k[p]){var A;for(A=p-1;A>=0&&"ET"===k[A];--A)k[A]="EN";for(A=p+1;o>A&&"ET"===k[A];--A)k[A]="EN"}for(p=0;o>p;++p)z=k[p],"WS"!==z&&"ES"!==z&&"ET"!==z&&"CS"!==z||(k[p]="ON");for(y=w,p=0;o>p;++p)z=k[p],"EN"===z?k[p]="L"===y?"L":"EN":"R"!==z&&"L"!==z||(y=z);for(p=0;o>p;++p)if("ON"===k[p]){var B=c(k,p+1,"ON"),C=w;p>0&&(C=k[p-1]);var D=x;o>B+1&&(D=k[B+1]),"L"!==C&&(C="R"),"L"!==D&&(D="R"),C===D&&d(k,p,B,C),p=B-1}for(p=0;o>p;++p)"ON"===k[p]&&(k[p]=v);for(p=0;o>p;++p)z=k[p],b(u[p])?"R"===z?u[p]+=1:"AN"!==z&&"EN"!==z||(u[p]+=2):"L"!==z&&"AN"!==z&&"EN"!==z||(u[p]+=1);var E,F=-1,G=99;for(p=0,q=u.length;q>p;++p)E=u[p],E>F&&(F=E),G>E&&a(E)&&(G=E);for(E=F;E>=G;--E){var H=-1;for(p=0,q=u.length;q>p;++p)u[p]=0&&(e(j,H,p),H=-1):0>H&&(H=p);H>=0&&e(j,H,u.length)}for(p=0,q=j.length;q>p;++p){var I=j[p];"<"!==I&&">"!==I||(j[p]="")}return f(j.join(""),n)}var h=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","ON","ON","ET","ET","ET","ON","ON","ON","ON","ON","ON","CS","ON","CS","ON","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ON","ON","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","ON","ON","ON","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","ON","ET","ET","ET","ET","ON","ON","ON","ON","L","ON","ON","ON","ON","ON","ET","ET","EN","EN","ON","L","ON","ON","ON","EN","L","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","L","L","L","L","L","L","L","L"],i=["AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","CS","AL","ON","ON","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","AL","AL","AL","AL","AL","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","ON","NSM","NSM","NSM","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL"],j=[],k=[]; +c&&c.set?c.set(this):C.propHooks._default.set(this),this}},C.prototype.init.prototype=C.prototype,C.propHooks={_default:{get:function(a){var b;return null==a.elem[a.prop]||a.elem.style&&null!=a.elem.style[a.prop]?(b=_.css(a.elem,a.prop,""),b&&"auto"!==b?b:0):a.elem[a.prop]},set:function(a){_.fx.step[a.prop]?_.fx.step[a.prop](a):a.elem.style&&(null!=a.elem.style[_.cssProps[a.prop]]||_.cssHooks[a.prop])?_.style(a.elem,a.prop,a.now+a.unit):a.elem[a.prop]=a.now}}},C.propHooks.scrollTop=C.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},_.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2}},_.fx=C.prototype.init,_.fx.step={};var Ya,Za,$a=/^(?:toggle|show|hide)$/,_a=new RegExp("^(?:([+-])=|)("+va+")([a-z%]*)$","i"),ab=/queueHooks$/,bb=[G],cb={"*":[function(a,b){var c=this.createTween(a,b),d=c.cur(),e=_a.exec(b),f=e&&e[3]||(_.cssNumber[a]?"":"px"),g=(_.cssNumber[a]||"px"!==f&&+d)&&_a.exec(_.css(c.elem,a)),h=1,i=20;if(g&&g[3]!==f){f=f||g[3],e=e||[],g=+d||1;do h=h||".5",g/=h,_.style(c.elem,a,g+f);while(h!==(h=c.cur()/d)&&1!==h&&--i)}return e&&(g=c.start=+g||+d||0,c.unit=f,c.end=e[1]?g+(e[1]+1)*e[2]:+e[2]),c}]};_.Animation=_.extend(I,{tweener:function(a,b){_.isFunction(a)?(b=a,a=["*"]):a=a.split(" ");for(var c,d=0,e=a.length;e>d;d++)c=a[d],cb[c]=cb[c]||[],cb[c].unshift(b)},prefilter:function(a,b){b?bb.unshift(a):bb.push(a)}}),_.speed=function(a,b,c){var d=a&&"object"==typeof a?_.extend({},a):{complete:c||!c&&b||_.isFunction(a)&&a,duration:a,easing:c&&b||b&&!_.isFunction(b)&&b};return d.duration=_.fx.off?0:"number"==typeof d.duration?d.duration:d.duration in _.fx.speeds?_.fx.speeds[d.duration]:_.fx.speeds._default,null!=d.queue&&d.queue!==!0||(d.queue="fx"),d.old=d.complete,d.complete=function(){_.isFunction(d.old)&&d.old.call(this),d.queue&&_.dequeue(this,d.queue)},d},_.fn.extend({fadeTo:function(a,b,c,d){return this.filter(xa).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=_.isEmptyObject(a),f=_.speed(b,c,d),g=function(){var b=I(this,_.extend({},a),f);(e||ra.get(this,"finish"))&&b.stop(!0)};return g.finish=g,e||f.queue===!1?this.each(g):this.queue(f.queue,g)},stop:function(a,b,c){var d=function(a){var b=a.stop;delete a.stop,b(c)};return"string"!=typeof a&&(c=b,b=a,a=void 0),b&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){var b=!0,e=null!=a&&a+"queueHooks",f=_.timers,g=ra.get(this);if(e)g[e]&&g[e].stop&&d(g[e]);else for(e in g)g[e]&&g[e].stop&&ab.test(e)&&d(g[e]);for(e=f.length;e--;)f[e].elem!==this||null!=a&&f[e].queue!==a||(f[e].anim.stop(c),b=!1,f.splice(e,1));!b&&c||_.dequeue(this,a)})},finish:function(a){return a!==!1&&(a=a||"fx"),this.each(function(){var b,c=ra.get(this),d=c[a+"queue"],e=c[a+"queueHooks"],f=_.timers,g=d?d.length:0;for(c.finish=!0,_.queue(this,a,[]),e&&e.stop&&e.stop.call(this,!0),b=f.length;b--;)f[b].elem===this&&f[b].queue===a&&(f[b].anim.stop(!0),f.splice(b,1));for(b=0;g>b;b++)d[b]&&d[b].finish&&d[b].finish.call(this);delete c.finish})}}),_.each(["toggle","show","hide"],function(a,b){var c=_.fn[b];_.fn[b]=function(a,d,e){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(E(b,!0),a,d,e)}}),_.each({slideDown:E("show"),slideUp:E("hide"),slideToggle:E("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){_.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),_.timers=[],_.fx.tick=function(){var a,b=0,c=_.timers;for(Ya=_.now();b1)},removeAttr:function(a){return this.each(function(){_.removeAttr(this,a)})}}),_.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(a&&3!==f&&8!==f&&2!==f)return typeof a.getAttribute===za?_.prop(a,b,c):(1===f&&_.isXMLDoc(a)||(b=b.toLowerCase(),d=_.attrHooks[b]||(_.expr.match.bool.test(b)?eb:db)),void 0===c?d&&"get"in d&&null!==(e=d.get(a,b))?e:(e=_.find.attr(a,b),null==e?void 0:e):null!==c?d&&"set"in d&&void 0!==(e=d.set(a,c,b))?e:(a.setAttribute(b,c+""),c):void _.removeAttr(a,b))},removeAttr:function(a,b){var c,d,e=0,f=b&&b.match(na);if(f&&1===a.nodeType)for(;c=f[e++];)d=_.propFix[c]||c,_.expr.match.bool.test(c)&&(a[d]=!1),a.removeAttribute(c)},attrHooks:{type:{set:function(a,b){if(!Y.radioValue&&"radio"===b&&_.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}}}),eb={set:function(a,b,c){return b===!1?_.removeAttr(a,c):a.setAttribute(c,c),c}},_.each(_.expr.match.bool.source.match(/\w+/g),function(a,b){var c=fb[b]||_.find.attr;fb[b]=function(a,b,d){var e,f;return d||(f=fb[b],fb[b]=e,e=null!=c(a,b,d)?b.toLowerCase():null,fb[b]=f),e}});var gb=/^(?:input|select|textarea|button)$/i;_.fn.extend({prop:function(a,b){return qa(this,_.prop,a,b,arguments.length>1)},removeProp:function(a){return this.each(function(){delete this[_.propFix[a]||a]})}}),_.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(a,b,c){var d,e,f,g=a.nodeType;if(a&&3!==g&&8!==g&&2!==g)return f=1!==g||!_.isXMLDoc(a),f&&(b=_.propFix[b]||b,e=_.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){return a.hasAttribute("tabindex")||gb.test(a.nodeName)||a.href?a.tabIndex:-1}}}}),Y.optSelected||(_.propHooks.selected={get:function(a){var b=a.parentNode;return b&&b.parentNode&&b.parentNode.selectedIndex,null}}),_.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){_.propFix[this.toLowerCase()]=this});var hb=/[\t\r\n\f]/g;_.fn.extend({addClass:function(a){var b,c,d,e,f,g,h="string"==typeof a&&a,i=0,j=this.length;if(_.isFunction(a))return this.each(function(b){_(this).addClass(a.call(this,b,this.className))});if(h)for(b=(a||"").match(na)||[];j>i;i++)if(c=this[i],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(hb," "):" ")){for(f=0;e=b[f++];)d.indexOf(" "+e+" ")<0&&(d+=e+" ");g=_.trim(d),c.className!==g&&(c.className=g)}return this},removeClass:function(a){var b,c,d,e,f,g,h=0===arguments.length||"string"==typeof a&&a,i=0,j=this.length;if(_.isFunction(a))return this.each(function(b){_(this).removeClass(a.call(this,b,this.className))});if(h)for(b=(a||"").match(na)||[];j>i;i++)if(c=this[i],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(hb," "):"")){for(f=0;e=b[f++];)for(;d.indexOf(" "+e+" ")>=0;)d=d.replace(" "+e+" "," ");g=a?_.trim(d):"",c.className!==g&&(c.className=g)}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):_.isFunction(a)?this.each(function(c){_(this).toggleClass(a.call(this,c,this.className,b),b)}):this.each(function(){if("string"===c)for(var b,d=0,e=_(this),f=a.match(na)||[];b=f[d++];)e.hasClass(b)?e.removeClass(b):e.addClass(b);else c!==za&&"boolean"!==c||(this.className&&ra.set(this,"__className__",this.className),this.className=this.className||a===!1?"":ra.get(this,"__className__")||"")})},hasClass:function(a){for(var b=" "+a+" ",c=0,d=this.length;d>c;c++)if(1===this[c].nodeType&&(" "+this[c].className+" ").replace(hb," ").indexOf(b)>=0)return!0;return!1}});var ib=/\r/g;_.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=_.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,_(this).val()):a,null==e?e="":"number"==typeof e?e+="":_.isArray(e)&&(e=_.map(e,function(a){return null==a?"":a+""})),b=_.valHooks[this.type]||_.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=_.valHooks[e.type]||_.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(ib,""):null==c?"":c)}}}),_.extend({valHooks:{option:{get:function(a){var b=_.find.attr(a,"value");return null!=b?b:_.trim(_.text(a))}},select:{get:function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type||0>e,g=f?null:[],h=f?e+1:d.length,i=0>e?h:f?e:0;h>i;i++)if(c=d[i],(c.selected||i===e)&&(Y.optDisabled?!c.disabled:null===c.getAttribute("disabled"))&&(!c.parentNode.disabled||!_.nodeName(c.parentNode,"optgroup"))){if(b=_(c).val(),f)return b;g.push(b)}return g},set:function(a,b){for(var c,d,e=a.options,f=_.makeArray(b),g=e.length;g--;)d=e[g],(d.selected=_.inArray(d.value,f)>=0)&&(c=!0);return c||(a.selectedIndex=-1),f}}}}),_.each(["radio","checkbox"],function(){_.valHooks[this]={set:function(a,b){return _.isArray(b)?a.checked=_.inArray(_(a).val(),b)>=0:void 0}},Y.checkOn||(_.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})}),_.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){_.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),_.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)}});var jb=_.now(),kb=/\?/;_.parseJSON=function(a){return JSON.parse(a+"")},_.parseXML=function(a){var b,c;if(!a||"string"!=typeof a)return null;try{c=new DOMParser,b=c.parseFromString(a,"text/xml")}catch(d){b=void 0}return b&&!b.getElementsByTagName("parsererror").length||_.error("Invalid XML: "+a),b};var lb=/#.*$/,mb=/([?&])_=[^&]*/,nb=/^(.*?):[ \t]*([^\r\n]*)$/gm,ob=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,pb=/^(?:GET|HEAD)$/,qb=/^\/\//,rb=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,sb={},tb={},ub="*/".concat("*"),vb=a.location.href,wb=rb.exec(vb.toLowerCase())||[];_.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:vb,type:"GET",isLocal:ob.test(wb[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":ub,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":_.parseJSON,"text xml":_.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?L(L(a,_.ajaxSettings),b):L(_.ajaxSettings,a)},ajaxPrefilter:J(sb),ajaxTransport:J(tb),ajax:function(a,b){function c(a,b,c,g){var i,k,r,s,u,w=b;2!==t&&(t=2,h&&clearTimeout(h),d=void 0,f=g||"",v.readyState=a>0?4:0,i=a>=200&&300>a||304===a,c&&(s=M(l,v,c)),s=N(l,s,v,i),i?(l.ifModified&&(u=v.getResponseHeader("Last-Modified"),u&&(_.lastModified[e]=u),u=v.getResponseHeader("etag"),u&&(_.etag[e]=u)),204===a||"HEAD"===l.type?w="nocontent":304===a?w="notmodified":(w=s.state,k=s.data,r=s.error,i=!r)):(r=w,!a&&w||(w="error",0>a&&(a=0))),v.status=a,v.statusText=(b||w)+"",i?o.resolveWith(m,[k,w,v]):o.rejectWith(m,[v,w,r]),v.statusCode(q),q=void 0,j&&n.trigger(i?"ajaxSuccess":"ajaxError",[v,l,i?k:r]),p.fireWith(m,[v,w]),j&&(n.trigger("ajaxComplete",[v,l]),--_.active||_.event.trigger("ajaxStop")))}"object"==typeof a&&(b=a,a=void 0),b=b||{};var d,e,f,g,h,i,j,k,l=_.ajaxSetup({},b),m=l.context||l,n=l.context&&(m.nodeType||m.jquery)?_(m):_.event,o=_.Deferred(),p=_.Callbacks("once memory"),q=l.statusCode||{},r={},s={},t=0,u="canceled",v={readyState:0,getResponseHeader:function(a){var b;if(2===t){if(!g)for(g={};b=nb.exec(f);)g[b[1].toLowerCase()]=b[2];b=g[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return 2===t?f:null},setRequestHeader:function(a,b){var c=a.toLowerCase();return t||(a=s[c]=s[c]||a,r[a]=b),this},overrideMimeType:function(a){return t||(l.mimeType=a),this},statusCode:function(a){var b;if(a)if(2>t)for(b in a)q[b]=[q[b],a[b]];else v.always(a[v.status]);return this},abort:function(a){var b=a||u;return d&&d.abort(b),c(0,b),this}};if(o.promise(v).complete=p.add,v.success=v.done,v.error=v.fail,l.url=((a||l.url||vb)+"").replace(lb,"").replace(qb,wb[1]+"//"),l.type=b.method||b.type||l.method||l.type,l.dataTypes=_.trim(l.dataType||"*").toLowerCase().match(na)||[""],null==l.crossDomain&&(i=rb.exec(l.url.toLowerCase()),l.crossDomain=!(!i||i[1]===wb[1]&&i[2]===wb[2]&&(i[3]||("http:"===i[1]?"80":"443"))===(wb[3]||("http:"===wb[1]?"80":"443")))),l.data&&l.processData&&"string"!=typeof l.data&&(l.data=_.param(l.data,l.traditional)),K(sb,l,b,v),2===t)return v;j=_.event&&l.global,j&&0===_.active++&&_.event.trigger("ajaxStart"),l.type=l.type.toUpperCase(),l.hasContent=!pb.test(l.type),e=l.url,l.hasContent||(l.data&&(e=l.url+=(kb.test(e)?"&":"?")+l.data,delete l.data),l.cache===!1&&(l.url=mb.test(e)?e.replace(mb,"$1_="+jb++):e+(kb.test(e)?"&":"?")+"_="+jb++)),l.ifModified&&(_.lastModified[e]&&v.setRequestHeader("If-Modified-Since",_.lastModified[e]),_.etag[e]&&v.setRequestHeader("If-None-Match",_.etag[e])),(l.data&&l.hasContent&&l.contentType!==!1||b.contentType)&&v.setRequestHeader("Content-Type",l.contentType),v.setRequestHeader("Accept",l.dataTypes[0]&&l.accepts[l.dataTypes[0]]?l.accepts[l.dataTypes[0]]+("*"!==l.dataTypes[0]?", "+ub+"; q=0.01":""):l.accepts["*"]);for(k in l.headers)v.setRequestHeader(k,l.headers[k]);if(l.beforeSend&&(l.beforeSend.call(m,v,l)===!1||2===t))return v.abort();u="abort";for(k in{success:1,error:1,complete:1})v[k](l[k]);if(d=K(tb,l,b,v)){v.readyState=1,j&&n.trigger("ajaxSend",[v,l]),l.async&&l.timeout>0&&(h=setTimeout(function(){v.abort("timeout")},l.timeout));try{t=1,d.send(r,c)}catch(w){if(!(2>t))throw w;c(-1,w)}}else c(-1,"No Transport");return v},getJSON:function(a,b,c){return _.get(a,b,c,"json")},getScript:function(a,b){return _.get(a,void 0,b,"script")}}),_.each(["get","post"],function(a,b){_[b]=function(a,c,d,e){return _.isFunction(c)&&(e=e||d,d=c,c=void 0),_.ajax({url:a,type:b,dataType:e,data:c,success:d})}}),_._evalUrl=function(a){return _.ajax({url:a,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},_.fn.extend({wrapAll:function(a){var b;return _.isFunction(a)?this.each(function(b){_(this).wrapAll(a.call(this,b))}):(this[0]&&(b=_(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){for(var a=this;a.firstElementChild;)a=a.firstElementChild;return a}).append(this)),this)},wrapInner:function(a){return _.isFunction(a)?this.each(function(b){_(this).wrapInner(a.call(this,b))}):this.each(function(){var b=_(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=_.isFunction(a);return this.each(function(c){_(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){_.nodeName(this,"body")||_(this).replaceWith(this.childNodes)}).end()}}),_.expr.filters.hidden=function(a){return a.offsetWidth<=0&&a.offsetHeight<=0},_.expr.filters.visible=function(a){return!_.expr.filters.hidden(a)};var xb=/%20/g,yb=/\[\]$/,zb=/\r?\n/g,Ab=/^(?:submit|button|image|reset|file)$/i,Bb=/^(?:input|select|textarea|keygen)/i;_.param=function(a,b){var c,d=[],e=function(a,b){b=_.isFunction(b)?b():null==b?"":b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(void 0===b&&(b=_.ajaxSettings&&_.ajaxSettings.traditional),_.isArray(a)||a.jquery&&!_.isPlainObject(a))_.each(a,function(){e(this.name,this.value)});else for(c in a)O(c,a[c],b,e);return d.join("&").replace(xb,"+")},_.fn.extend({serialize:function(){return _.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=_.prop(this,"elements");return a?_.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!_(this).is(":disabled")&&Bb.test(this.nodeName)&&!Ab.test(a)&&(this.checked||!ya.test(a))}).map(function(a,b){var c=_(this).val();return null==c?null:_.isArray(c)?_.map(c,function(a){return{name:b.name,value:a.replace(zb,"\r\n")}}):{name:b.name,value:c.replace(zb,"\r\n")}}).get()}}),_.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(a){}};var Cb=0,Db={},Eb={0:200,1223:204},Fb=_.ajaxSettings.xhr();a.attachEvent&&a.attachEvent("onunload",function(){for(var a in Db)Db[a]()}),Y.cors=!!Fb&&"withCredentials"in Fb,Y.ajax=Fb=!!Fb,_.ajaxTransport(function(a){var b;return Y.cors||Fb&&!a.crossDomain?{send:function(c,d){var e,f=a.xhr(),g=++Cb;if(f.open(a.type,a.url,a.async,a.username,a.password),a.xhrFields)for(e in a.xhrFields)f[e]=a.xhrFields[e];a.mimeType&&f.overrideMimeType&&f.overrideMimeType(a.mimeType),a.crossDomain||c["X-Requested-With"]||(c["X-Requested-With"]="XMLHttpRequest");for(e in c)f.setRequestHeader(e,c[e]);b=function(a){return function(){b&&(delete Db[g],b=f.onload=f.onerror=null,"abort"===a?f.abort():"error"===a?d(f.status,f.statusText):d(Eb[f.status]||f.status,f.statusText,"string"==typeof f.responseText?{text:f.responseText}:void 0,f.getAllResponseHeaders()))}},f.onload=b(),f.onerror=b("error"),b=Db[g]=b("abort");try{f.send(a.hasContent&&a.data||null)}catch(h){if(b)throw h}},abort:function(){b&&b()}}:void 0}),_.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(a){return _.globalEval(a),a}}}),_.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET")}),_.ajaxTransport("script",function(a){if(a.crossDomain){var b,c;return{send:function(d,e){b=_(" -
    +
    //demo.label//
    @@ -13781,9 +13518,6 @@ ASTCompiler.prototype = { intoId = intoId || this.nextId(); self.recurse(ast.object, left, undefined, function() { self.if_(self.notNull(left), function() { - if (create && create !== 1) { - self.addEnsureSafeAssignContext(left); - } if (ast.computed) { right = self.nextId(); self.recurse(ast.property, right); @@ -13865,7 +13599,7 @@ ASTCompiler.prototype = { right = this.nextId(); left = {}; if (!isAssignable(ast.left)) { - throw $parseMinErr('lval', 'Trying to assign a value to a non l-value'); + throw $parseMinErr('lval', 'Trying to assing a value to a non l-value'); } this.recurse(ast.left, undefined, left, function() { self.if_(self.notNull(left.context), function() { @@ -14398,11 +14132,8 @@ ASTInterpreter.prototype = { rhs = right(scope, locals, assign, inputs); rhs = getStringValue(rhs); ensureSafeMemberName(rhs, expression); - if (create && create !== 1) { - ensureSafeAssignContext(lhs); - if (lhs && !(lhs[rhs])) { - lhs[rhs] = {}; - } + if (create && create !== 1 && lhs && !(lhs[rhs])) { + lhs[rhs] = {}; } value = lhs[rhs]; ensureSafeObject(value, expression); @@ -14417,11 +14148,8 @@ ASTInterpreter.prototype = { nonComputedMember: function(left, right, expensiveChecks, context, create, expression) { return function(scope, locals, assign, inputs) { var lhs = left(scope, locals, assign, inputs); - if (create && create !== 1) { - ensureSafeAssignContext(lhs); - if (lhs && !(lhs[right])) { - lhs[right] = {}; - } + if (create && create !== 1 && lhs && !(lhs[right])) { + lhs[right] = {}; } var value = lhs != null ? lhs[right] : undefined; if (expensiveChecks || isPossiblyDangerousMemberName(right)) { @@ -14462,6 +14190,9 @@ Parser.prototype = { } }; +var getterFnCacheDefault = createMap(); +var getterFnCacheExpensive = createMap(); + function isPossiblyDangerousMemberName(name) { return name == 'constructor'; } @@ -14537,19 +14268,10 @@ function $ParseProvider() { csp: noUnsafeEval, expensiveChecks: true }; - var runningChecksEnabled = false; - - $parse.$$runningExpensiveChecks = function() { - return runningChecksEnabled; - }; - - return $parse; - function $parse(exp, interceptorFn, expensiveChecks) { + return function $parse(exp, interceptorFn, expensiveChecks) { var parsedExpression, oneTime, cacheKey; - expensiveChecks = expensiveChecks || runningChecksEnabled; - switch (typeof exp) { case 'string': exp = exp.trim(); @@ -14575,9 +14297,6 @@ function $ParseProvider() { } else if (parsedExpression.inputs) { parsedExpression.$$watchDelegate = inputsWatchDelegate; } - if (expensiveChecks) { - parsedExpression = expensiveChecksInterceptor(parsedExpression); - } cache[cacheKey] = parsedExpression; } return addInterceptor(parsedExpression, interceptorFn); @@ -14586,33 +14305,9 @@ function $ParseProvider() { return addInterceptor(exp, interceptorFn); default: - return addInterceptor(noop, interceptorFn); - } - } - - function expensiveChecksInterceptor(fn) { - if (!fn) return fn; - expensiveCheckFn.$$watchDelegate = fn.$$watchDelegate; - expensiveCheckFn.assign = expensiveChecksInterceptor(fn.assign); - expensiveCheckFn.constant = fn.constant; - expensiveCheckFn.literal = fn.literal; - for (var i = 0; fn.inputs && i < fn.inputs.length; ++i) { - fn.inputs[i] = expensiveChecksInterceptor(fn.inputs[i]); - } - expensiveCheckFn.inputs = fn.inputs; - - return expensiveCheckFn; - - function expensiveCheckFn(scope, locals, assign, inputs) { - var expensiveCheckOldValue = runningChecksEnabled; - runningChecksEnabled = true; - try { - return fn(scope, locals, assign, inputs); - } finally { - runningChecksEnabled = expensiveCheckOldValue; - } + return noop; } - } + }; function expressionInputDirtyCheck(newValue, oldValueOfValue) { @@ -16144,7 +15839,7 @@ function $RootScopeProvider() { * */ $digest: function() { - var watch, value, last, fn, get, + var watch, value, last, watchers, length, dirty, ttl = TTL, @@ -16190,8 +15885,7 @@ function $RootScopeProvider() { // Most common watches are on primitives, in which case we can short // circuit it with === operator, only when === fails do we use .equals if (watch) { - get = watch.get; - if ((value = get(current)) !== (last = watch.last) && + if ((value = watch.get(current)) !== (last = watch.last) && !(watch.eq ? equals(value, last) : (typeof value === 'number' && typeof last === 'number' @@ -16199,8 +15893,7 @@ function $RootScopeProvider() { dirty = true; lastDirtyWatch = watch; watch.last = watch.eq ? copy(value, null) : value; - fn = watch.fn; - fn(value, ((last === initWatchVal) ? value : last), current); + watch.fn(value, ((last === initWatchVal) ? value : last), current); if (ttl < 5) { logIdx = 4 - ttl; if (!watchLog[logIdx]) watchLog[logIdx] = []; @@ -16400,7 +16093,7 @@ function $RootScopeProvider() { }); } - asyncQueue.push({scope: this, expression: $parse(expr), locals: locals}); + asyncQueue.push({scope: this, expression: expr, locals: locals}); }, $$postDigest: function(fn) { @@ -16492,7 +16185,6 @@ function $RootScopeProvider() { $applyAsync: function(expr) { var scope = this; expr && applyAsyncQueue.push($applyAsyncExpression); - expr = $parse(expr); scheduleApplyAsync(); function $applyAsyncExpression() { @@ -16768,21 +16460,6 @@ function $RootScopeProvider() { } /** - * @ngdoc service - * @name $rootElement - * - * @description - * The root element of Angular application. This is either the element where {@link - * ng.directive:ngApp ngApp} was declared or the element passed into - * {@link angular.bootstrap}. The element represents the root element of application. It is also the - * location where the application's {@link auto.$injector $injector} service gets - * published, and can be retrieved using `$rootElement.injector()`. - */ - - -// the implementation is in angular.bootstrap - -/** * @description * Private service to sanitize uris for links and images. Used by $compile and $sanitize. */ @@ -16996,15 +16673,13 @@ function $SceDelegateProvider() { * @kind function * * @param {Array=} whitelist When provided, replaces the resourceUrlWhitelist with the value - * provided. This must be an array or null. A snapshot of this array is used so further - * changes to the array are ignored. + * provided. This must be an array or null. A snapshot of this array is used so further + * changes to the array are ignored. * - * Follow {@link ng.$sce#resourceUrlPatternItem this link} for a description of the items - * allowed in this array. + * Follow {@link ng.$sce#resourceUrlPatternItem this link} for a description of the items + * allowed in this array. * - *
    - * **Note:** an empty whitelist array will block all URLs! - *
    + * Note: **an empty whitelist array will block all URLs**! * * @return {Array} the currently set whitelist array. * @@ -17027,17 +16702,17 @@ function $SceDelegateProvider() { * @kind function * * @param {Array=} blacklist When provided, replaces the resourceUrlBlacklist with the value - * provided. This must be an array or null. A snapshot of this array is used so further - * changes to the array are ignored. + * provided. This must be an array or null. A snapshot of this array is used so further + * changes to the array are ignored. * - * Follow {@link ng.$sce#resourceUrlPatternItem this link} for a description of the items - * allowed in this array. + * Follow {@link ng.$sce#resourceUrlPatternItem this link} for a description of the items + * allowed in this array. * - * The typical usage for the blacklist is to **block - * [open redirects](http://cwe.mitre.org/data/definitions/601.html)** served by your domain as - * these would otherwise be trusted but actually return content from the redirected domain. + * The typical usage for the blacklist is to **block + * [open redirects](http://cwe.mitre.org/data/definitions/601.html)** served by your domain as + * these would otherwise be trusted but actually return content from the redirected domain. * - * Finally, **the blacklist overrides the whitelist** and has the final say. + * Finally, **the blacklist overrides the whitelist** and has the final say. * * @return {Array} the currently set blacklist array. * @@ -18221,8 +17896,8 @@ function $TimeoutProvider() { * @param {boolean=} [invokeApply=true] If set to `false` skips model dirty checking, otherwise * will invoke `fn` within the {@link ng.$rootScope.Scope#$apply $apply} block. * @param {...*=} Pass additional parameters to the executed function. - * @returns {Promise} Promise that will be resolved when the timeout is reached. The promise - * will be resolved with the return value of the `fn` function. + * @returns {Promise} Promise that will be resolved when the timeout is reached. The value this + * promise will be resolved with is the return value of the `fn` function. * */ function timeout(fn, delay, invokeApply) { @@ -18898,10 +18573,6 @@ function getTypeForFilter(val) { return (val === null) ? 'null' : typeof val; } -var MAX_DIGITS = 22; -var DECIMAL_SEP = '.'; -var ZERO_CHAR = '0'; - /** * @ngdoc filter * @name currency @@ -18983,7 +18654,7 @@ function currencyFilter($locale) { * Formats a number as text. * * If the input is null or undefined, it will just be returned. - * If the input is infinite (Infinity or -Infinity), the Infinity symbol '∞' or '-∞' is returned, respectively. + * If the input is infinite (Infinity/-Infinity) the Infinity symbol '∞' is returned. * If the input is not a number an empty string is returned. * * @@ -18991,7 +18662,7 @@ function currencyFilter($locale) { * @param {(number|string)=} fractionSize Number of decimal places to round the number to. * If this is not provided then the fraction size is computed from the current locale's number * formatting pattern. In the case of the default locale, it will be 3. - * @returns {string} Number rounded to fractionSize and places a “,” after each third digit. + * @returns {string} Number rounded to decimalPlaces and places a “,” after each third digit. * * @example @@ -19026,6 +18697,8 @@ function currencyFilter($locale) { */ + + numberFilter.$inject = ['$locale']; function numberFilter($locale) { var formats = $locale.NUMBER_FORMATS; @@ -19039,194 +18712,93 @@ function numberFilter($locale) { }; } -/** - * Parse a number (as a string) into three components that can be used - * for formatting the number. - * - * (Significant bits of this parse algorithm came from https://github.com/MikeMcl/big.js/) - * - * @param {string} numStr The number to parse - * @return {object} An object describing this number, containing the following keys: - * - d : an array of digits containing leading zeros as necessary - * - i : the number of the digits in `d` that are to the left of the decimal point - * - e : the exponent for numbers that would need more than `MAX_DIGITS` digits in `d` - * - */ -function parse(numStr) { - var exponent = 0, digits, numberOfIntegerDigits; - var i, j, zeros; - - // Decimal point? - if ((numberOfIntegerDigits = numStr.indexOf(DECIMAL_SEP)) > -1) { - numStr = numStr.replace(DECIMAL_SEP, ''); - } - - // Exponential form? - if ((i = numStr.search(/e/i)) > 0) { - // Work out the exponent. - if (numberOfIntegerDigits < 0) numberOfIntegerDigits = i; - numberOfIntegerDigits += +numStr.slice(i + 1); - numStr = numStr.substring(0, i); - } else if (numberOfIntegerDigits < 0) { - // There was no decimal point or exponent so it is an integer. - numberOfIntegerDigits = numStr.length; - } - - // Count the number of leading zeros. - for (i = 0; numStr.charAt(i) == ZERO_CHAR; i++) {/* jshint noempty: false */} - - if (i == (zeros = numStr.length)) { - // The digits are all zero. - digits = [0]; - numberOfIntegerDigits = 1; - } else { - // Count the number of trailing zeros - zeros--; - while (numStr.charAt(zeros) == ZERO_CHAR) zeros--; - - // Trailing zeros are insignificant so ignore them - numberOfIntegerDigits -= i; - digits = []; - // Convert string to array of digits without leading/trailing zeros. - for (j = 0; i <= zeros; i++, j++) { - digits[j] = +numStr.charAt(i); - } - } +var DECIMAL_SEP = '.'; +function formatNumber(number, pattern, groupSep, decimalSep, fractionSize) { + if (isObject(number)) return ''; - // If the number overflows the maximum allowed digits then use an exponent. - if (numberOfIntegerDigits > MAX_DIGITS) { - digits = digits.splice(0, MAX_DIGITS - 1); - exponent = numberOfIntegerDigits - 1; - numberOfIntegerDigits = 1; - } + var isNegative = number < 0; + number = Math.abs(number); - return { d: digits, e: exponent, i: numberOfIntegerDigits }; -} + var isInfinity = number === Infinity; + if (!isInfinity && !isFinite(number)) return ''; -/** - * Round the parsed number to the specified number of decimal places - * This function changed the parsedNumber in-place - */ -function roundNumber(parsedNumber, fractionSize, minFrac, maxFrac) { - var digits = parsedNumber.d; - var fractionLen = digits.length - parsedNumber.i; + var numStr = number + '', + formatedText = '', + hasExponent = false, + parts = []; - // determine fractionSize if it is not specified; `+fractionSize` converts it to a number - fractionSize = (isUndefined(fractionSize)) ? Math.min(Math.max(minFrac, fractionLen), maxFrac) : +fractionSize; + if (isInfinity) formatedText = '\u221e'; - // The index of the digit to where rounding is to occur - var roundAt = fractionSize + parsedNumber.i; - var digit = digits[roundAt]; - - if (roundAt > 0) { - digits.splice(roundAt); + if (!isInfinity && numStr.indexOf('e') !== -1) { + var match = numStr.match(/([\d\.]+)e(-?)(\d+)/); + if (match && match[2] == '-' && match[3] > fractionSize + 1) { + number = 0; } else { - // We rounded to zero so reset the parsedNumber - parsedNumber.i = 1; - digits.length = roundAt = fractionSize + 1; - for (var i=0; i < roundAt; i++) digits[i] = 0; + formatedText = numStr; + hasExponent = true; } + } - if (digit >= 5) digits[roundAt - 1]++; - - // Pad out with zeros to get the required fraction length - for (; fractionLen < fractionSize; fractionLen++) digits.push(0); - + if (!isInfinity && !hasExponent) { + var fractionLen = (numStr.split(DECIMAL_SEP)[1] || '').length; - // Do any carrying, e.g. a digit was rounded up to 10 - var carry = digits.reduceRight(function(carry, d, i, digits) { - d = d + carry; - digits[i] = d % 10; - return Math.floor(d / 10); - }, 0); - if (carry) { - digits.unshift(carry); - parsedNumber.i++; + // determine fractionSize if it is not specified + if (isUndefined(fractionSize)) { + fractionSize = Math.min(Math.max(pattern.minFrac, fractionLen), pattern.maxFrac); } -} - -/** - * Format a number into a string - * @param {number} number The number to format - * @param {{ - * minFrac, // the minimum number of digits required in the fraction part of the number - * maxFrac, // the maximum number of digits required in the fraction part of the number - * gSize, // number of digits in each group of separated digits - * lgSize, // number of digits in the last group of digits before the decimal separator - * negPre, // the string to go in front of a negative number (e.g. `-` or `(`)) - * posPre, // the string to go in front of a positive number - * negSuf, // the string to go after a negative number (e.g. `)`) - * posSuf // the string to go after a positive number - * }} pattern - * @param {string} groupSep The string to separate groups of number (e.g. `,`) - * @param {string} decimalSep The string to act as the decimal separator (e.g. `.`) - * @param {[type]} fractionSize The size of the fractional part of the number - * @return {string} The number formatted as a string - */ -function formatNumber(number, pattern, groupSep, decimalSep, fractionSize) { - - if (!(isString(number) || isNumber(number)) || isNaN(number)) return ''; - - var isInfinity = !isFinite(number); - var isZero = false; - var numStr = Math.abs(number) + '', - formattedText = '', - parsedNumber; - - if (isInfinity) { - formattedText = '\u221e'; - } else { - parsedNumber = parse(numStr); - roundNumber(parsedNumber, fractionSize, pattern.minFrac, pattern.maxFrac); + // safely round numbers in JS without hitting imprecisions of floating-point arithmetics + // inspired by: + // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/round + number = +(Math.round(+(number.toString() + 'e' + fractionSize)).toString() + 'e' + -fractionSize); - var digits = parsedNumber.d; - var integerLen = parsedNumber.i; - var exponent = parsedNumber.e; - var decimals = []; - isZero = digits.reduce(function(isZero, d) { return isZero && !d; }, true); + var fraction = ('' + number).split(DECIMAL_SEP); + var whole = fraction[0]; + fraction = fraction[1] || ''; - // pad zeros for small numbers - while (integerLen < 0) { - digits.unshift(0); - integerLen++; - } + var i, pos = 0, + lgroup = pattern.lgSize, + group = pattern.gSize; - // extract decimals digits - if (integerLen > 0) { - decimals = digits.splice(integerLen); - } else { - decimals = digits; - digits = [0]; + if (whole.length >= (lgroup + group)) { + pos = whole.length - lgroup; + for (i = 0; i < pos; i++) { + if ((pos - i) % group === 0 && i !== 0) { + formatedText += groupSep; + } + formatedText += whole.charAt(i); + } } - // format the integer digits with grouping separators - var groups = []; - if (digits.length > pattern.lgSize) { - groups.unshift(digits.splice(-pattern.lgSize).join('')); - } - while (digits.length > pattern.gSize) { - groups.unshift(digits.splice(-pattern.gSize).join('')); - } - if (digits.length) { - groups.unshift(digits.join('')); + for (i = pos; i < whole.length; i++) { + if ((whole.length - i) % lgroup === 0 && i !== 0) { + formatedText += groupSep; + } + formatedText += whole.charAt(i); } - formattedText = groups.join(groupSep); - // append the decimal digits - if (decimals.length) { - formattedText += decimalSep + decimals.join(''); + // format fraction part. + while (fraction.length < fractionSize) { + fraction += '0'; } - if (exponent) { - formattedText += 'e+' + exponent; + if (fractionSize && fractionSize !== "0") formatedText += decimalSep + fraction.substr(0, fractionSize); + } else { + if (fractionSize > 0 && number < 1) { + formatedText = number.toFixed(fractionSize); + number = parseFloat(formatedText); + formatedText = formatedText.replace(DECIMAL_SEP, decimalSep); } } - if (number < 0 && !isZero) { - return pattern.negPre + formattedText + pattern.negSuf; - } else { - return pattern.posPre + formattedText + pattern.posSuf; + + if (number === 0) { + isNegative = false; } + + parts.push(isNegative ? pattern.negPre : pattern.posPre, + formatedText, + isNegative ? pattern.negSuf : pattern.posSuf); + return parts.join(''); } function padNumber(num, digits, trim) { @@ -19236,7 +18808,7 @@ function padNumber(num, digits, trim) { num = -num; } num = '' + num; - while (num.length < digits) num = ZERO_CHAR + num; + while (num.length < digits) num = '0' + num; if (trim) { num = num.substr(num.length - digits); } @@ -19505,13 +19077,13 @@ function dateFilter($locale) { var dateTimezoneOffset = date.getTimezoneOffset(); if (timezone) { - dateTimezoneOffset = timezoneToOffset(timezone, dateTimezoneOffset); + dateTimezoneOffset = timezoneToOffset(timezone, date.getTimezoneOffset()); date = convertTimezoneToLocal(date, timezone, true); } forEach(parts, function(value) { fn = DATE_FORMATS[value]; text += fn ? fn(date, $locale.DATETIME_FORMATS, dateTimezoneOffset) - : value === "''" ? "'" : value.replace(/(^'|'$)/g, '').replace(/''/g, "'"); + : value.replace(/(^'|'$)/g, '').replace(/''/g, "'"); }); return text; @@ -19747,6 +19319,17 @@ function limitToFilter() { * `reverse` is not set, which means it defaults to `false`. +
    @@ -19762,17 +19345,6 @@ function limitToFilter() {
    - - angular.module('orderByExample', []) - .controller('ExampleController', ['$scope', function($scope) { - $scope.friends = - [{name:'John', phone:'555-1212', age:10}, - {name:'Mary', phone:'555-9876', age:19}, - {name:'Mike', phone:'555-4321', age:21}, - {name:'Adam', phone:'555-5678', age:35}, - {name:'Julie', phone:'555-8765', age:29}]; - }]); -
    * * The predicate and reverse parameters can be controlled dynamically through scope properties, @@ -19780,24 +19352,49 @@ function limitToFilter() { * @example + +
    Sorting predicate = {{predicate}}; reverse = {{reverse}}

    - + [
    unsorted ] - - - + + + @@ -19807,31 +19404,6 @@ function limitToFilter() {
    - - - - - - - - - + Name + + + Phone Number + + + Age + +
    {{friend.name}}
    - - angular.module('orderByExample', []) - .controller('ExampleController', ['$scope', function($scope) { - $scope.friends = - [{name:'John', phone:'555-1212', age:10}, - {name:'Mary', phone:'555-9876', age:19}, - {name:'Mike', phone:'555-4321', age:21}, - {name:'Adam', phone:'555-5678', age:35}, - {name:'Julie', phone:'555-8765', age:29}]; - $scope.predicate = 'age'; - $scope.reverse = true; - $scope.order = function(predicate) { - $scope.reverse = ($scope.predicate === predicate) ? !$scope.reverse : false; - $scope.predicate = predicate; - }; - }]); - - - .sortorder:after { - content: '\25b2'; - } - .sortorder.reverse:after { - content: '\25bc'; - } - * * It's also possible to call the orderBy filter manually, by injecting `$filter`, retrieving the @@ -19843,30 +19415,21 @@ function limitToFilter() { * @example -
    -
    Sorting predicate = {{predicate}}; reverse = {{reverse}}
    - - - - - - - - - - - -
    - - - - - - - - -
    {{friend.name}}{{friend.phone}}{{friend.age}}
    -
    +
    + + + + + + + + + + + +
    Name + (^)Phone NumberAge
    {{friend.name}}{{friend.phone}}{{friend.age}}
    +
    @@ -19880,23 +19443,12 @@ function limitToFilter() { { name: 'Adam', phone: '555-5678', age: 35 }, { name: 'Julie', phone: '555-8765', age: 29 } ]; - $scope.order = function(predicate) { - $scope.predicate = predicate; - $scope.reverse = ($scope.predicate === predicate) ? !$scope.reverse : false; - $scope.friends = orderBy($scope.friends, predicate, $scope.reverse); + $scope.order = function(predicate, reverse) { + $scope.friends = orderBy($scope.friends, predicate, reverse); }; - $scope.order('age', true); + $scope.order('-age',false); }]); - - - .sortorder:after { - content: '\25b2'; - } - .sortorder.reverse:after { - content: '\25bc'; - } -
    */ orderByFilter.$inject = ['$parse']; @@ -20226,7 +19778,20 @@ var htmlAnchorDirective = valueFn({ * {@link guide/expression expression} inside `ngDisabled` evaluates to truthy. * * A special directive is necessary because we cannot use interpolation inside the `disabled` - * attribute. See the {@link guide/interpolation interpolation guide} for more info. + * attribute. The following example would make the button enabled on Chrome/Firefox + * but not on older IEs: + * + * ```html + * + *
    + * + *
    + * ``` + * + * This is because the HTML specification does not require browsers to preserve the values of + * boolean attributes such as `disabled` (Their presence means true and their absence means false.) + * If we put an Angular interpolation expression into such an attribute then the + * binding information would be lost when the browser removes the attribute. * * @example @@ -20261,9 +19826,15 @@ var htmlAnchorDirective = valueFn({ * Note that this directive should not be used together with {@link ngModel `ngModel`}, * as this can lead to unexpected behavior. * - * A special directive is necessary because we cannot use interpolation inside the `checked` - * attribute. See the {@link guide/interpolation interpolation guide} for more info. + * ### Why do we need `ngChecked`? * + * The HTML specification does not require browsers to preserve the values of boolean attributes + * such as checked. (Their presence means true and their absence means false.) + * If we put an Angular interpolation expression into such an attribute then the + * binding information would be lost when the browser removes the attribute. + * The `ngChecked` directive solves this problem for the `checked` attribute. + * This complementary directive is not removed by the browser and so provides + * a permanent reliable place to store the binding information. * @example @@ -20292,12 +19863,13 @@ var htmlAnchorDirective = valueFn({ * @priority 100 * * @description - * - * Sets the `readOnly` attribute on the element, if the expression inside `ngReadonly` is truthy. - * - * A special directive is necessary because we cannot use interpolation inside the `readOnly` - * attribute. See the {@link guide/interpolation interpolation guide} for more info. - * + * The HTML specification does not require browsers to preserve the values of boolean attributes + * such as readonly. (Their presence means true and their absence means false.) + * If we put an Angular interpolation expression into such an attribute then the + * binding information would be lost when the browser removes the attribute. + * The `ngReadonly` directive solves this problem for the `readonly` attribute. + * This complementary directive is not removed by the browser and so provides + * a permanent reliable place to store the binding information. * @example @@ -20326,11 +19898,13 @@ var htmlAnchorDirective = valueFn({ * @priority 100 * * @description - * - * Sets the `selected` attribute on the element, if the expression inside `ngSelected` is truthy. - * - * A special directive is necessary because we cannot use interpolation inside the `selected` - * attribute. See the {@link guide/interpolation interpolation guide} for more info. + * The HTML specification does not require browsers to preserve the values of boolean attributes + * such as selected. (Their presence means true and their absence means false.) + * If we put an Angular interpolation expression into such an attribute then the + * binding information would be lost when the browser removes the attribute. + * The `ngSelected` directive solves this problem for the `selected` attribute. + * This complementary directive is not removed by the browser and so provides + * a permanent reliable place to store the binding information. * * @example @@ -20362,12 +19936,13 @@ var htmlAnchorDirective = valueFn({ * @priority 100 * * @description - * - * Sets the `open` attribute on the element, if the expression inside `ngOpen` is truthy. - * - * A special directive is necessary because we cannot use interpolation inside the `open` - * attribute. See the {@link guide/interpolation interpolation guide} for more info. - * + * The HTML specification does not require browsers to preserve the values of boolean attributes + * such as open. (Their presence means true and their absence means false.) + * If we put an Angular interpolation expression into such an attribute then the + * binding information would be lost when the browser removes the attribute. + * The `ngOpen` directive solves this problem for the `open` attribute. + * This complementary directive is not removed by the browser and so provides + * a permanent reliable place to store the binding information. * @example @@ -20823,9 +20398,13 @@ function FormController(element, attrs, $scope, $animate, $interpolate) { * * In Angular, forms can be nested. This means that the outer form is valid when all of the child * forms are valid as well. However, browsers do not allow nesting of `
    ` elements, so - * Angular provides the {@link ng.directive:ngForm `ngForm`} directive, which behaves identically to - * `form` but can be nested. Nested forms can be useful, for example, if the validity of a sub-group - * of controls needs to be determined. + * Angular provides the {@link ng.directive:ngForm `ngForm`} directive which behaves identically to + * `` but can be nested. This allows you to have nested forms, which is very useful when + * using Angular validation directives in forms that are dynamically generated using the + * {@link ng.directive:ngRepeat `ngRepeat`} directive. Since you cannot dynamically generate the `name` + * attribute of input elements using interpolation, you have to wrap each set of repeated inputs in an + * `ngForm` directive and nest these in an outer `form` element. + * * * # CSS classes * - `ng-valid` is set if the form is valid. @@ -21046,18 +20625,7 @@ var ngFormDirective = formDirectiveFactory(true); // Regex code is obtained from SO: https://stackoverflow.com/questions/3143070/javascript-regex-iso-datetime#answer-3143231 var ISO_DATE_REGEXP = /\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)/; // See valid URLs in RFC3987 (http://tools.ietf.org/html/rfc3987) -// Note: We are being more lenient, because browsers are too. -// 1. Scheme -// 2. Slashes -// 3. Username -// 4. Password -// 5. Hostname -// 6. Port -// 7. Path -// 8. Query -// 9. Fragment -// 1111111111111111 222 333333 44444 555555555555555555555555 666 77777777 8888888 999 -var URL_REGEXP = /^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:/?#]+|\[[a-f\d:]+\])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i; +var URL_REGEXP = /^[A-Za-z][A-Za-z\d.+-]*:\/*(?:\w+(?::\w+)?@)?[^\s/]+(?::\d+)?(?:\/[\w#!:.?+=&%@\-/]*)?$/; var EMAIL_REGEXP = /^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i; var NUMBER_REGEXP = /^\s*(\-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/; var DATE_REGEXP = /^(\d{4})-(\d{2})-(\d{2})$/; @@ -21066,12 +20634,6 @@ var WEEK_REGEXP = /^(\d{4})-W(\d\d)$/; var MONTH_REGEXP = /^(\d{4})-(\d\d)$/; var TIME_REGEXP = /^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/; -var PARTIAL_VALIDATION_EVENTS = 'keydown wheel mousedown'; -var PARTIAL_VALIDATION_TYPES = createMap(); -forEach('date,datetime-local,month,time,week'.split(','), function(type) { - PARTIAL_VALIDATION_TYPES[type] = true; -}); - var inputType = { /** @@ -22158,8 +21720,6 @@ function baseInputType(scope, element, attr, ctrl, $sniffer, $browser) { }); } - var timeout; - var listener = function(ev) { if (timeout) { $browser.defer.cancel(timeout); @@ -22189,6 +21749,8 @@ function baseInputType(scope, element, attr, ctrl, $sniffer, $browser) { if ($sniffer.hasEvent('input')) { element.on('input', listener); } else { + var timeout; + var deferListener = function(ev, input, origValue) { if (!timeout) { timeout = $browser.defer(function() { @@ -22220,26 +21782,6 @@ function baseInputType(scope, element, attr, ctrl, $sniffer, $browser) { // or form autocomplete on newer browser, we need "change" event to catch it element.on('change', listener); - // Some native input types (date-family) have the ability to change validity without - // firing any input/change events. - // For these event types, when native validators are present and the browser supports the type, - // check for validity changes on various DOM events. - if (PARTIAL_VALIDATION_TYPES[type] && ctrl.$$hasNativeValidators && type === attr.type) { - element.on(PARTIAL_VALIDATION_EVENTS, function(ev) { - if (!timeout) { - var validity = this[VALIDITY_STATE_PROPERTY]; - var origBadInput = validity.badInput; - var origTypeMismatch = validity.typeMismatch; - timeout = $browser.defer(function() { - timeout = null; - if (validity.badInput !== origBadInput || validity.typeMismatch !== origTypeMismatch) { - listener(ev); - } - }); - } - }); - } - ctrl.$render = function() { // Workaround for Firefox validation #12102. var value = ctrl.$isEmpty(ctrl.$viewValue) ? '' : ctrl.$viewValue; @@ -24847,8 +24389,6 @@ var ngIncludeDirective = ['$templateRequest', '$anchorScroll', '$animate', //set the 2nd param to true to ignore the template request error so that the inner //contents and scope can be cleaned up. $templateRequest(src, true).then(function(response) { - if (scope.$$destroyed) return; - if (thisChangeId !== changeCounter) return; var newScope = scope.$new(); ctrl.template = response; @@ -24870,8 +24410,6 @@ var ngIncludeDirective = ['$templateRequest', '$anchorScroll', '$animate', currentScope.$emit('$includeContentLoaded', src); scope.$eval(onloadExp); }, function() { - if (scope.$$destroyed) return; - if (thisChangeId === changeCounter) { cleanupLastIncludeContent(); scope.$emit('$includeContentError', src); @@ -25550,14 +25088,11 @@ var NgModelController = ['$scope', '$exceptionHandler', '$attrs', '$element', '$ * which may be caused by a pending debounced event or because the input is waiting for a some * future event. * - * If you have an input that uses `ng-model-options` to set up debounced updates or updates that - * depend on special events such as blur, you can have a situation where there is a period when - * the `$viewValue` is out of sync with the ngModel's `$modelValue`. - * - * In this case, you can use `$rollbackViewValue()` to manually cancel the debounced / future update - * and reset the input to the last committed view value. + * If you have an input that uses `ng-model-options` to set up debounced events or events such + * as blur you can have a situation where there is a period when the `$viewValue` + * is out of synch with the ngModel's `$modelValue`. * - * It is also possible that you run into difficulties if you try to update the ngModel's `$modelValue` + * In this case, you can run into difficulties if you try to update the ngModel's `$modelValue` * programmatically before these debounced/future events have resolved/occurred, because Angular's * dirty checking mechanism is not able to tell whether the model has actually changed or not. * @@ -25570,63 +25105,39 @@ var NgModelController = ['$scope', '$exceptionHandler', '$attrs', '$element', '$ * angular.module('cancel-update-example', []) * * .controller('CancelUpdateController', ['$scope', function($scope) { - * $scope.model = {}; - * - * $scope.setEmpty = function(e, value, rollback) { + * $scope.resetWithCancel = function(e) { + * if (e.keyCode == 27) { + * $scope.myForm.myInput1.$rollbackViewValue(); + * $scope.myValue = ''; + * } + * }; + * $scope.resetWithoutCancel = function(e) { * if (e.keyCode == 27) { - * e.preventDefault(); - * if (rollback) { - * $scope.myForm[value].$rollbackViewValue(); - * } - * $scope.model[value] = ''; + * $scope.myValue = ''; * } * }; * }]); * * *
    - *

    Both of these inputs are only updated if they are blurred. Hitting escape should - * empty them. Follow these steps and observe the difference:

    - *
      - *
    1. Type something in the input. You will see that the model is not yet updated
    2. - *
    3. Press the Escape key. - *
        - *
      1. In the first example, nothing happens, because the model is already '', and no - * update is detected. If you blur the input, the model will be set to the current view. - *
      2. - *
      3. In the second example, the pending update is cancelled, and the input is set back - * to the last committed view value (''). Blurring the input does nothing. - *
      4. - *
      - *
    4. - *
    + *

    Try typing something in each input. See that the model only updates when you + * blur off the input. + *

    + *

    Now see what happens if you start typing then press the Escape key

    * * - *
    - *

    Without $rollbackViewValue():

    - * - * value1: "{{ model.value1 }}" - *
    - * - *
    - *

    With $rollbackViewValue():

    - * - * value2: "{{ model.value2 }}" - *
    + *

    With $rollbackViewValue()

    + *
    + * myValue: "{{ myValue }}" + * + *

    Without $rollbackViewValue()

    + *
    + * myValue: "{{ myValue }}" * *
    *
    - - div { - display: table-cell; - } - div:nth-child(1) { - padding-right: 30px; - } - - *
    */ this.$rollbackViewValue = function() { @@ -25740,7 +25251,7 @@ var NgModelController = ['$scope', '$exceptionHandler', '$attrs', '$element', '$ forEach(ctrl.$asyncValidators, function(validator, name) { var promise = validator(modelValue, viewValue); if (!isPromiseLike(promise)) { - throw ngModelMinErr('nopromise', + throw ngModelMinErr("$asyncValidators", "Expected asynchronous validator to return a promise but got '{0}' instead.", promise); } setValidity(name, undefined); @@ -26036,22 +25547,6 @@ var NgModelController = ['$scope', '$exceptionHandler', '$attrs', '$element', '$ * - {@link ng.directive:select select} * - {@link ng.directive:textarea textarea} * - * # Complex Models (objects or collections) - * - * By default, `ngModel` watches the model by reference, not value. This is important to know when - * binding inputs to models that are objects (e.g. `Date`) or collections (e.g. arrays). If only properties of the - * object or collection change, `ngModel` will not be notified and so the input will not be re-rendered. - * - * The model must be assigned an entirely new object or collection before a re-rendering will occur. - * - * Some directives have options that will cause them to use a custom `$watchCollection` on the model expression - * - for example, `ngOptions` will do so when a `track by` clause is included in the comprehension expression or - * if the select is given the `multiple` attribute. - * - * The `$watchCollection()` method only does a shallow comparison, meaning that changing properties deeper than the - * first level of the object (or only changing the properties of an item in the collection if it's an array) will still - * not trigger a re-rendering of the model. - * * # CSS classes * The following CSS classes are added and removed on the associated input/select/textarea element * depending on the validity of the model. @@ -27027,20 +26522,14 @@ var ngOptionsDirective = ['$compile', '$parse', function($compile, $parse) { var option = options.getOptionFromViewValue(value); if (option && !option.disabled) { - // Don't update the option when it is already selected. - // For example, the browser will select the first option by default. In that case, - // most properties are set automatically - except the `selected` attribute, which we - // set always - if (selectElement[0].value !== option.selectValue) { removeUnknownOption(); removeEmptyOption(); selectElement[0].value = option.selectValue; option.element.selected = true; + option.element.setAttribute('selected', 'selected'); } - - option.element.setAttribute('selected', 'selected'); } else { if (value === null || providedEmptyOption) { removeUnknownOption(); @@ -27208,7 +26697,7 @@ var ngOptionsDirective = ['$compile', '$parse', function($compile, $parse) { (current === emptyOption_ || current === unknownOption_ || current.nodeType === NODE_TYPE_COMMENT || - (nodeName_(current) === 'option' && current.value === ''))) { + current.value === '')) { current = current.nextSibling; } } @@ -27298,8 +26787,7 @@ var ngOptionsDirective = ['$compile', '$parse', function($compile, $parse) { // Check to see if the value has changed due to the update to the options if (!ngModelCtrl.$isEmpty(previousValue)) { var nextValue = selectCtrl.readValue(); - var isNotPrimitive = ngOptions.trackBy || multiple; - if (isNotPrimitive ? !equals(previousValue, nextValue) : previousValue !== nextValue) { + if (ngOptions.trackBy ? !equals(previousValue, nextValue) : previousValue !== nextValue) { ngModelCtrl.$setViewValue(nextValue); ngModelCtrl.$render(); } @@ -28071,7 +27559,7 @@ var ngRepeatDirective = ['$parse', '$animate', function($parse, $animate) { if (getBlockStart(block) != nextNode) { // existing item which got moved - $animate.move(getBlockNodes(block.clone), null, previousNode); + $animate.move(getBlockNodes(block.clone), null, jqLite(previousNode)); } previousNode = getBlockEnd(block); updateScope(block.scope, index, valueIdentifier, value, keyIdentifier, key, collectionLength); @@ -28083,7 +27571,8 @@ var ngRepeatDirective = ['$parse', '$animate', function($parse, $animate) { var endNode = ngRepeatEndComment.cloneNode(false); clone[clone.length++] = endNode; - $animate.enter(clone, null, previousNode); + // TODO(perf): support naked previousNode in `enter` to avoid creation of jqLite wrapper? + $animate.enter(clone, null, jqLite(previousNode)); previousNode = endNode; // Note: We only need the first/last node of the cloned nodes. // However, we need to keep the reference to the jqlite wrapper as it might be changed later @@ -28893,9 +28382,6 @@ var SelectController = // Tell the select control that an option, with the given value, has been added self.addOption = function(value, element) { - // Skip comment nodes, as they only pollute the `optionsMap` - if (element[0].nodeType === NODE_TYPE_COMMENT) return; - assertNotHasOwnProperty(value, '"option value"'); if (value === '') { self.emptyOption = element; @@ -28970,7 +28456,7 @@ var SelectController = * * The `select` directive is used together with {@link ngModel `ngModel`} to provide data-binding * between the scope and the `` menu is selected, the value of the selected option will be bound @@ -29172,8 +28658,7 @@ var selectDirective = function() { controller: SelectController, priority: 1, link: { - pre: selectPreLink, - post: selectPostLink + pre: selectPreLink } }; @@ -29187,6 +28672,13 @@ var selectDirective = function() { selectCtrl.ngModelCtrl = ngModelCtrl; + // We delegate rendering to the `writeValue` method, which can be changed + // if the select can have multiple selected values or if the options are being + // generated by `ngOptions` + ngModelCtrl.$render = function() { + selectCtrl.writeValue(ngModelCtrl.$viewValue); + }; + // When the selected item(s) changes we delegate getting the value of the select control // to the `readValue` method, which can be changed if the select can have multiple // selected values or if the options are being generated by `ngOptions` @@ -29240,23 +28732,6 @@ var selectDirective = function() { } } - - function selectPostLink(scope, element, attrs, ctrls) { - // if ngModel is not defined, we don't need to do anything - var ngModelCtrl = ctrls[1]; - if (!ngModelCtrl) return; - - var selectCtrl = ctrls[0]; - - // We delegate rendering to the `writeValue` method, which can be changed - // if the select can have multiple selected values or if the options are being - // generated by `ngOptions`. - // This must be done in the postLink fn to prevent $render to be called before - // all nodes have been linked correctly. - ngModelCtrl.$render = function() { - selectCtrl.writeValue(ngModelCtrl.$viewValue); - }; - } }; @@ -29268,6 +28743,7 @@ var optionDirective = ['$interpolate', function($interpolate) { restrict: 'E', priority: 100, compile: function(element, attr) { + if (isDefined(attr.value)) { // If the value attribute is defined, check if it contains an interpolation var interpolateValueFn = $interpolate(attr.value, true); @@ -29281,6 +28757,7 @@ var optionDirective = ['$interpolate', function($interpolate) { } return function(scope, element, attr) { + // This is an optimization over using ^^ since we don't want to have to search // all the way to the root of the DOM for every single option element var selectCtrlName = '$selectController', @@ -29301,64 +28778,6 @@ var styleDirective = valueFn({ terminal: false }); -/** - * @ngdoc directive - * @name ngRequired - * - * @description - * - * ngRequired adds the required {@link ngModel.NgModelController#$validators `validator`} to {@link ngModel `ngModel`}. - * It is most often used for {@link input `input`} and {@link select `select`} controls, but can also be - * applied to custom controls. - * - * The directive sets the `required` attribute on the element if the Angular expression inside - * `ngRequired` evaluates to true. A special directive for setting `required` is necessary because we - * cannot use interpolation inside `required`. See the {@link guide/interpolation interpolation guide} - * for more info. - * - * The validator will set the `required` error key to true if the `required` attribute is set and - * calling {@link ngModel.NgModelController#$isEmpty `NgModelController.$isEmpty`} with the - * {@link ngModel.NgModelController#$viewValue `ngModel.$viewValue`} returns `true`. For example, the - * `$isEmpty()` implementation for `input[text]` checks the length of the `$viewValue`. When developing - * custom controls, `$isEmpty()` can be overwritten to account for a $viewValue that is not string-based. - * - * @example - * - * - * - *
    - *
    - * - * - *
    - * - *
    - *
    - * required error set? = {{form.input.$error.required}}
    - * model = {{model}} - *
    - *
    - *
    - * - var required = element(by.binding('form.input.$error.required')); - var model = element(by.binding('model')); - var input = element(by.id('input')); - - it('should set the required error', function() { - expect(required.getText()).toContain('true'); - - input.sendKeys('123'); - expect(required.getText()).not.toContain('true'); - expect(model.getText()).toContain('123'); - }); - * - *
    - */ var requiredDirective = function() { return { restrict: 'A', @@ -29378,81 +28797,7 @@ var requiredDirective = function() { }; }; -/** - * @ngdoc directive - * @name ngPattern - * - * @description - * - * ngPattern adds the pattern {@link ngModel.NgModelController#$validators `validator`} to {@link ngModel `ngModel`}. - * It is most often used for text-based {@link input `input`} controls, but can also be applied to custom text-based controls. - * - * The validator sets the `pattern` error key if the {@link ngModel.NgModelController#$viewValue `ngModel.$viewValue`} - * does not match a RegExp which is obtained by evaluating the Angular expression given in the - * `ngPattern` attribute value: - * * If the expression evaluates to a RegExp object, then this is used directly. - * * If the expression evaluates to a string, then it will be converted to a RegExp after wrapping it - * in `^` and `$` characters. For instance, `"abc"` will be converted to `new RegExp('^abc$')`. - * - *
    - * **Note:** Avoid using the `g` flag on the RegExp, as it will cause each successive search to - * start at the index of the last search's match, thus not taking the whole input value into - * account. - *
    - * - *
    - * **Note:** This directive is also added when the plain `pattern` attribute is used, with two - * differences: - *
      - *
    1. - * `ngPattern` does not set the `pattern` attribute and therefore HTML5 constraint validation is - * not available. - *
    2. - *
    3. - * The `ngPattern` attribute must be an expression, while the `pattern` value must be - * interpolated. - *
    4. - *
    - *
    - * - * @example - * - * - * - *
    - *
    - * - * - *
    - * - *
    - *
    - * input valid? = {{form.input.$valid}}
    - * model = {{model}} - *
    - *
    - *
    - * - var model = element(by.binding('model')); - var input = element(by.id('input')); - - it('should validate the input with the default pattern', function() { - input.sendKeys('aaa'); - expect(model.getText()).not.toContain('aaa'); - input.clear().then(function() { - input.sendKeys('123'); - expect(model.getText()).toContain('123'); - }); - }); - * - *
    - */ var patternDirective = function() { return { restrict: 'A', @@ -29484,72 +28829,7 @@ var patternDirective = function() { }; }; -/** - * @ngdoc directive - * @name ngMaxlength - * - * @description - * - * ngMaxlength adds the maxlength {@link ngModel.NgModelController#$validators `validator`} to {@link ngModel `ngModel`}. - * It is most often used for text-based {@link input `input`} controls, but can also be applied to custom text-based controls. - * - * The validator sets the `maxlength` error key if the {@link ngModel.NgModelController#$viewValue `ngModel.$viewValue`} - * is longer than the integer obtained by evaluating the Angular expression given in the - * `ngMaxlength` attribute value. - * - *
    - * **Note:** This directive is also added when the plain `maxlength` attribute is used, with two - * differences: - *
      - *
    1. - * `ngMaxlength` does not set the `maxlength` attribute and therefore HTML5 constraint - * validation is not available. - *
    2. - *
    3. - * The `ngMaxlength` attribute must be an expression, while the `maxlength` value must be - * interpolated. - *
    4. - *
    - *
    - * - * @example - * - * - * - *
    - *
    - * - * - *
    - * - *
    - *
    - * input valid? = {{form.input.$valid}}
    - * model = {{model}} - *
    - *
    - *
    - * - var model = element(by.binding('model')); - var input = element(by.id('input')); - - it('should validate the input with the default maxlength', function() { - input.sendKeys('abcdef'); - expect(model.getText()).not.toContain('abcdef'); - input.clear().then(function() { - input.sendKeys('abcde'); - expect(model.getText()).toContain('abcde'); - }); - }); - * - *
    - */ var maxlengthDirective = function() { return { restrict: 'A', @@ -29570,70 +28850,6 @@ var maxlengthDirective = function() { }; }; -/** - * @ngdoc directive - * @name ngMinlength - * - * @description - * - * ngMinlength adds the minlength {@link ngModel.NgModelController#$validators `validator`} to {@link ngModel `ngModel`}. - * It is most often used for text-based {@link input `input`} controls, but can also be applied to custom text-based controls. - * - * The validator sets the `minlength` error key if the {@link ngModel.NgModelController#$viewValue `ngModel.$viewValue`} - * is shorter than the integer obtained by evaluating the Angular expression given in the - * `ngMinlength` attribute value. - * - *
    - * **Note:** This directive is also added when the plain `minlength` attribute is used, with two - * differences: - *
      - *
    1. - * `ngMinlength` does not set the `minlength` attribute and therefore HTML5 constraint - * validation is not available. - *
    2. - *
    3. - * The `ngMinlength` value must be an expression, while the `minlength` value must be - * interpolated. - *
    4. - *
    - *
    - * - * @example - * - * - * - *
    - *
    - * - * - *
    - * - *
    - *
    - * input valid? = {{form.input.$valid}}
    - * model = {{model}} - *
    - *
    - *
    - * - var model = element(by.binding('model')); - var input = element(by.id('input')); - - it('should validate the input with the default minlength', function() { - input.sendKeys('ab'); - expect(model.getText()).not.toContain('ab'); - - input.sendKeys('abc'); - expect(model.getText()).toContain('abc'); - }); - * - *
    - */ var minlengthDirective = function() { return { restrict: 'A', @@ -29655,9 +28871,7 @@ var minlengthDirective = function() { if (window.angular.bootstrap) { //AngularJS is already loaded, so we can return here... - if (window.console) { - console.log('WARNING: Tried to load angular more than once.'); - } + console.log('WARNING: Tried to load angular more than once.'); return; } @@ -29748,20 +28962,6 @@ $provide.value("$locale", { "Nov", "Dec" ], - "STANDALONEMONTH": [ - "January", - "February", - "March", - "April", - "May", - "June", - "July", - "August", - "September", - "October", - "November", - "December" - ], "WEEKENDRANGE": [ 5, 6 @@ -29805,7 +29005,6 @@ $provide.value("$locale", { ] }, "id": "en-us", - "localeID": "en_US", "pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]); diff --git a/public/bower_components/pretty-bytes/pretty-bytes.js b/public/bower_components/pretty-bytes/pretty-bytes.js new file mode 100644 index 0000000..626c18a --- /dev/null +++ b/public/bower_components/pretty-bytes/pretty-bytes.js @@ -0,0 +1,46 @@ +/*! + pretty-bytes + Convert bytes to a human readable string: 1337 → 1.34 kB + https://github.com/sindresorhus/pretty-bytes + by Sindre Sorhus + MIT License +*/ +(function () { + 'use strict'; + + // Number.isNaN() polyfill + var isNaN = function (val) { + return val !== val; + }; + + var prettyBytes = function (num) { + if (typeof num !== 'number' || isNaN(num)) { + throw new TypeError('Expected a number'); + } + + var exponent; + var unit; + var neg = num < 0; + var units = ['B', 'kB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB']; + + if (neg) { + num = -num; + } + + if (num < 1) { + return (neg ? '-' : '') + num + ' B'; + } + + exponent = Math.min(Math.floor(Math.log(num) / Math.log(1000)), units.length - 1); + num = (num / Math.pow(1000, exponent)).toFixed(2) * 1; + unit = units[exponent]; + + return (neg ? '-' : '') + num + ' ' + unit; + }; + + if (typeof module !== 'undefined' && module.exports) { + module.exports = prettyBytes; + } else { + self.prettyBytes = prettyBytes; + } +})(); diff --git a/public/index.html b/public/index.html index d6ee3b9..d875fae 100644 --- a/public/index.html +++ b/public/index.html @@ -12,7 +12,7 @@ - + @@ -48,9 +48,9 @@ - + - + diff --git a/release-notes/changelog_0.0.105.txt b/release-notes/changelog_0.0.106.txt similarity index 81% rename from release-notes/changelog_0.0.105.txt rename to release-notes/changelog_0.0.106.txt index 37a4ee9..20d3963 100644 --- a/release-notes/changelog_0.0.105.txt +++ b/release-notes/changelog_0.0.106.txt @@ -1,6 +1,28 @@ # xCALLY MOTION Changelog +- * 07341a9 - 2016-05-27: add set cdr type in seed +- * 00eb9cd - 2016-05-27: Fixed tagging for chat,mail,fax,sms +- * 208e88c - 2016-05-27: client side app app.js +- * 45001c2 - 2016-05-27: Chat multiple tagging +- * 9540c86 - 2016-05-27: bower.json +- * 4faaf91 - 2016-05-27: server side api mail_attach + mail_message +- * 8ca10f9 - 2016-05-27: server side config imap attach +- * c8ff286 - 2016-05-27: client side components modal +- * 00d91f1 - 2016-05-27: client side app staff agent +- * bcf4fd5 - 2016-05-27: client side app channels mail inbox note + message improvement +- * f6d1166 - 2016-05-27: Logged url forward in report integration +- * 945af7d - 2016-05-27: Added URL Forward trigger; Removed dynamic tagging for cm. +- * a6e5832 - 2016-05-27: add from and subject in mail notification (agent) +- * 71ee8a4 - 2016-05-27: sms message directive update +- * 3423ace - 2016-05-27: language update +- * 0447edc - 2016-05-27: jscripty report client side and server side update +- * 7841158 - 2016-05-27: Open or create contact on cc and to +- * 2d24da9 - 2016-05-27: Added voice dispositions; Added contact disposition after cm trigger. +- * 181ee72 - 2016-05-27: fixed tag creation (validation name) - * 12b39f1 - 2016-05-27: server side imap index attachments bug fix +- * 7e2f5dd - 2016-05-27: Fixed disposition modal +- * 492def8 - 2016-05-27: Added voice dispositions +- * e699f21 - 2016-05-26: sms client side update - * b5399f3 - 2016-05-26: Added opencontact or create for chat visitor - * b22d252 - 2016-05-26: server side config imap - * bf37bec - 2016-05-26: client side assets languages @@ -88,15 +110,4 @@ - * aa03d28 - 2016-05-22: fixed mail attachment in room after send (client) - * 9d84ef9 - 2016-05-22: add upload in fax room fixed fax api - * 2cd0476 - 2016-05-20: restrict fax room open to agent -- * 661aa57 - 2016-05-20: update on fax room (client side) -- * 580e5b0 - 2016-05-20: update dashboard - client (fax,mail and sms) -- * 7ea4ca8 - 2016-05-20: Added canned answers for chat rooms -- * 9378936 - 2016-05-20: Added tagging for chat rooms; Added search by tags for chat rooms; Fixed search by tag for mail and chat rooms; Added filter by status for chat rooms. -- * fa757dc - 2016-05-20: Fixed list update -- * 0877c5c - 2016-05-20: add from field in report fax -- * c1914c8 - 2016-05-20: updated voice extension based on fax account settings -- * 5abe84d - 2016-05-20: fixed ng-class avatar in mail room -- * c2bf31a - 2016-05-20: Moved sms and fax dashboard api from Report models to general models -- * 34cf1bf - 2016-05-20: Switched mail dashboard api to MailRoom model -- * cb66011 - 2016-05-20: client app channel mail account view bug fix diff --git a/server/api/action/action.controller.js b/server/api/action/action.controller.js index 877f6f7..baae245 100644 --- a/server/api/action/action.controller.js +++ b/server/api/action/action.controller.js @@ -1 +1 @@ -var _0xa2f2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x41\x63\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x66\x69\x6E\x64\x41\x6C\x6C","\x63\x72\x65\x61\x74\x65","\x55\x73\x65\x72\x49\x64","\x62\x6F\x64\x79","\x69\x64","\x75\x73\x65\x72","\x6C\x6F\x67","\x6D\x65\x73\x73\x61\x67\x65","\x49\x6E\x74\x65\x72\x66\x61\x63\x65\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64","\x4E\x6F\x20\x71\x75\x65\x75\x65\x73\x20\x61\x73\x73\x6F\x63\x69\x61\x74\x65\x64\x20\x66\x6F\x72\x20\x74\x68\x65\x20\x75\x73\x65\x72","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x64\x4D\x65\x73\x73\x61\x67\x65","\x4D\x45\x53\x53\x41\x47\x45\x5F\x4E\x4F\x5F\x55\x53\x45\x52\x5F\x51\x55\x45\x55\x45\x53","\x70\x61\x72\x61\x6D\x73","\x6D\x65\x72\x67\x65","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E"];_0xa2f2[0];var _=require(_0xa2f2[1]);var Action=require(_0xa2f2[3])[_0xa2f2[2]];var sequelize=require(_0xa2f2[3])[_0xa2f2[4]];function handleError(_0xccaax5,_0xccaax6){return _0xccaax5[_0xa2f2[6]](500)[_0xa2f2[5]](_0xccaax6)}function responseWithResult(_0xccaax5,_0xccaax8){_0xccaax8=_0xccaax8||200;return function(_0xccaax9){if(_0xccaax9){_0xccaax5[_0xa2f2[6]](_0xccaax8)[_0xa2f2[7]](_0xccaax9)}}}function handleEntityNotFound(_0xccaax5){return function(_0xccaax9){if(!_0xccaax9){_0xccaax5[_0xa2f2[6]](404)[_0xa2f2[8]]();return null};return _0xccaax9}}function saveUpdates(_0xccaaxc){return function(_0xccaax9){return _0xccaax9[_0xa2f2[10]](_0xccaaxc)[_0xa2f2[9]](function(_0xccaaxd){return _0xccaaxd})}}function removeEntity(_0xccaax5){return function(_0xccaax9){if(_0xccaax9){return _0xccaax9[_0xa2f2[11]]()[_0xa2f2[9]](function(){_0xccaax5[_0xa2f2[6]](204)[_0xa2f2[8]]()})}}}exports[_0xa2f2[12]]=function(_0xccaaxf,_0xccaax5){return Action[_0xa2f2[14]]()[_0xa2f2[9]](responseWithResult(_0xccaax5))[_0xa2f2[13]](handleError(_0xccaax5))};exports[_0xa2f2[15]]=function(_0xccaaxf,_0xccaax5,_0xccaax10){_0xccaaxf[_0xa2f2[17]][_0xa2f2[16]]=_0xccaaxf[_0xa2f2[19]][_0xa2f2[18]];return sequelize[_0xa2f2[28]](function(_0xccaax12){return Action[_0xa2f2[15]](_[_0xa2f2[27]](_0xccaaxf[_0xa2f2[17]],_0xccaaxf[_0xa2f2[26]]),{transaction:_0xccaax12,body:_0xccaaxf[_0xa2f2[17]]})})[_0xa2f2[9]](function(_0xccaax11){return _0xccaax5[_0xa2f2[6]](201)[_0xa2f2[5]](_0xccaax11)})[_0xa2f2[13]](function(_0xccaax6){console[_0xa2f2[20]](_0xccaax6);if(_0xccaax6[_0xa2f2[21]]===_0xa2f2[22]){_0xccaax6[_0xa2f2[21]]=_0xa2f2[23];_0xccaax6[_0xa2f2[24]]=_0xa2f2[25]};return handleError(_0xccaax5,_0xccaax6)})} \ No newline at end of file +var _0x9a5b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x41\x63\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x66\x69\x6E\x64\x41\x6C\x6C","\x63\x72\x65\x61\x74\x65","\x55\x73\x65\x72\x49\x64","\x62\x6F\x64\x79","\x69\x64","\x75\x73\x65\x72","\x6C\x6F\x67","\x6D\x65\x73\x73\x61\x67\x65","\x49\x6E\x74\x65\x72\x66\x61\x63\x65\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64","\x4E\x6F\x20\x71\x75\x65\x75\x65\x73\x20\x61\x73\x73\x6F\x63\x69\x61\x74\x65\x64\x20\x66\x6F\x72\x20\x74\x68\x65\x20\x75\x73\x65\x72","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x64\x4D\x65\x73\x73\x61\x67\x65","\x4D\x45\x53\x53\x41\x47\x45\x5F\x4E\x4F\x5F\x55\x53\x45\x52\x5F\x51\x55\x45\x55\x45\x53","\x70\x61\x72\x61\x6D\x73","\x6D\x65\x72\x67\x65","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E"];_0x9a5b[0];var _=require(_0x9a5b[1]);var Action=require(_0x9a5b[3])[_0x9a5b[2]];var sequelize=require(_0x9a5b[3])[_0x9a5b[4]];function handleError(_0xcd6ax5,_0xcd6ax6){return _0xcd6ax5[_0x9a5b[6]](500)[_0x9a5b[5]](_0xcd6ax6)}function responseWithResult(_0xcd6ax5,_0xcd6ax8){_0xcd6ax8=_0xcd6ax8||200;return function(_0xcd6ax9){if(_0xcd6ax9){_0xcd6ax5[_0x9a5b[6]](_0xcd6ax8)[_0x9a5b[7]](_0xcd6ax9)}}}function handleEntityNotFound(_0xcd6ax5){return function(_0xcd6ax9){if(!_0xcd6ax9){_0xcd6ax5[_0x9a5b[6]](404)[_0x9a5b[8]]();return null};return _0xcd6ax9}}function saveUpdates(_0xcd6axc){return function(_0xcd6ax9){return _0xcd6ax9[_0x9a5b[10]](_0xcd6axc)[_0x9a5b[9]](function(_0xcd6axd){return _0xcd6axd})}}function removeEntity(_0xcd6ax5){return function(_0xcd6ax9){if(_0xcd6ax9){return _0xcd6ax9[_0x9a5b[11]]()[_0x9a5b[9]](function(){_0xcd6ax5[_0x9a5b[6]](204)[_0x9a5b[8]]()})}}}exports[_0x9a5b[12]]=function(_0xcd6axf,_0xcd6ax5){return Action[_0x9a5b[14]]()[_0x9a5b[9]](responseWithResult(_0xcd6ax5))[_0x9a5b[13]](handleError(_0xcd6ax5))};exports[_0x9a5b[15]]=function(_0xcd6axf,_0xcd6ax5,_0xcd6ax10){_0xcd6axf[_0x9a5b[17]][_0x9a5b[16]]=_0xcd6axf[_0x9a5b[19]][_0x9a5b[18]];return sequelize[_0x9a5b[28]](function(_0xcd6ax12){return Action[_0x9a5b[15]](_[_0x9a5b[27]](_0xcd6axf[_0x9a5b[17]],_0xcd6axf[_0x9a5b[26]]),{transaction:_0xcd6ax12,body:_0xcd6axf[_0x9a5b[17]]})})[_0x9a5b[9]](function(_0xcd6ax11){return _0xcd6ax5[_0x9a5b[6]](201)[_0x9a5b[5]](_0xcd6ax11)})[_0x9a5b[13]](function(_0xcd6ax6){console[_0x9a5b[20]](_0xcd6ax6);if(_0xcd6ax6[_0x9a5b[21]]===_0x9a5b[22]){_0xcd6ax6[_0x9a5b[21]]=_0x9a5b[23];_0xcd6ax6[_0x9a5b[24]]=_0x9a5b[25]};return handleError(_0xcd6ax5,_0xcd6ax6)})} \ No newline at end of file diff --git a/server/api/action/action.socket.js b/server/api/action/action.socket.js index fdbb79c..efe52be 100644 --- a/server/api/action/action.socket.js +++ b/server/api/action/action.socket.js @@ -1 +1 @@ -var _0xd06f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x41\x63\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x41\x63\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x41\x63\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0xd06f[0];var Action=require(_0xd06f[2])[_0xd06f[1]];exports[_0xd06f[3]]=function(_0x5e59x2){Action[_0xd06f[4]](function(_0x5e59x3){onSave(_0x5e59x2,_0x5e59x3)});Action[_0xd06f[5]](function(_0x5e59x3){onSave(_0x5e59x2,_0x5e59x3)})};function onSave(_0x5e59x2,_0x5e59x3,_0x5e59x5){_0x5e59x2[_0xd06f[7]](_0xd06f[6],_0x5e59x3)}function onRemove(_0x5e59x2,_0x5e59x3,_0x5e59x5){_0x5e59x2[_0xd06f[7]](_0xd06f[8],_0x5e59x3)} \ No newline at end of file +var _0xdcb5=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x41\x63\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x41\x63\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x41\x63\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0xdcb5[0];var Action=require(_0xdcb5[2])[_0xdcb5[1]];exports[_0xdcb5[3]]=function(_0x91a0x2){Action[_0xdcb5[4]](function(_0x91a0x3){onSave(_0x91a0x2,_0x91a0x3)});Action[_0xdcb5[5]](function(_0x91a0x3){onSave(_0x91a0x2,_0x91a0x3)})};function onSave(_0x91a0x2,_0x91a0x3,_0x91a0x5){_0x91a0x2[_0xdcb5[7]](_0xdcb5[6],_0x91a0x3)}function onRemove(_0x91a0x2,_0x91a0x3,_0x91a0x5){_0x91a0x2[_0xdcb5[7]](_0xdcb5[8],_0x91a0x3)} \ No newline at end of file diff --git a/server/api/action/index.js b/server/api/action/index.js index fc35d31..2fe36a4 100644 --- a/server/api/action/index.js +++ b/server/api/action/index.js @@ -1 +1 @@ -var _0x9652=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x61\x63\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x6E\x61\x6D\x65","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x9652[0];var express=require(_0x9652[1]);var auth=require(_0x9652[2]);var controller=require(_0x9652[3]);var router=express.Router();router[_0x9652[7]](_0x9652[4],auth[_0x9652[5]](),controller[_0x9652[6]]);router[_0x9652[10]](_0x9652[8],auth[_0x9652[5]](),controller[_0x9652[9]]);module[_0x9652[11]]=router \ No newline at end of file +var _0x40ff=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x61\x63\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x6E\x61\x6D\x65","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x40ff[0];var express=require(_0x40ff[1]);var auth=require(_0x40ff[2]);var controller=require(_0x40ff[3]);var router=express.Router();router[_0x40ff[7]](_0x40ff[4],auth[_0x40ff[5]](),controller[_0x40ff[6]]);router[_0x40ff[10]](_0x40ff[8],auth[_0x40ff[5]](),controller[_0x40ff[9]]);module[_0x40ff[11]]=router \ No newline at end of file diff --git a/server/api/agent/agent.controller.js b/server/api/agent/agent.controller.js index 9ea4ccf..99f46ba 100644 --- a/server/api/agent/agent.controller.js +++ b/server/api/agent/agent.controller.js @@ -1 +1 @@ -var _0xe20b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x55\x73\x65\x72","\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x46\x61\x78\x51\x75\x65\x75\x65","\x53\x6D\x73\x51\x75\x65\x75\x65","\x54\x65\x61\x6D","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x4C\x69\x73\x74","\x69\x6E\x64\x65\x78","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x41\x67\x65\x6E\x74\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x69\x64","\x75\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x61\x67\x65\x6E\x74","\x73\x63\x6F\x70\x65","\x72\x6F\x6C\x65","\x72\x65\x61\x6C\x74\x69\x6D\x65\x49\x6E\x64\x65\x78","\x6C\x6F\x67","\x63\x68\x65\x63\x6B\x50\x61\x75\x73\x65\x53\x74\x61\x74\x75\x73","\x63\x68\x65\x63\x6B\x51\x75\x65\x75\x65\x53\x74\x61\x74\x75\x73","\x63\x68\x65\x63\x6B\x4F\x6E\x6C\x69\x6E\x65\x53\x74\x61\x74\x75\x73","\x63\x68\x65\x63\x6B\x53\x69\x70\x53\x74\x61\x74\x75\x73","\x71\x75\x65\x75\x65\x73","\x72\x65\x61\x6C\x74\x69\x6D\x65\x56\x6F\x69\x63\x65\x49\x6E\x64\x65\x78","\x72\x6F\x77\x73","\x6E\x61\x6D\x65","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x6D\x65\x72\x67\x65","\x67\x65\x74\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x72\x65\x61\x6C\x74\x69\x6D\x65\x43\x68\x61\x74\x49\x6E\x64\x65\x78","\x67\x65\x74\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x72\x65\x61\x6C\x74\x69\x6D\x65\x4D\x61\x69\x6C\x49\x6E\x64\x65\x78","\x67\x65\x74\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x72\x65\x61\x6C\x74\x69\x6D\x65\x46\x61\x78\x49\x6E\x64\x65\x78","\x67\x65\x74\x46\x61\x78\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x72\x65\x61\x6C\x74\x69\x6D\x65\x53\x6D\x73\x49\x6E\x64\x65\x78","\x67\x65\x74\x53\x6D\x73\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x70\x61\x72\x61\x6D\x73","\x73\x68\x6F\x77\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73","\x6C\x65\x6E\x67\x74\x68","\x67\x65\x74\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73","\x73\x68\x6F\x77\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73","\x67\x65\x74\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73","\x73\x68\x6F\x77\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73","\x67\x65\x74\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73","\x73\x68\x6F\x77\x46\x61\x78\x51\x75\x65\x75\x65\x73","\x67\x65\x74\x46\x61\x78\x51\x75\x65\x75\x65\x73","\x73\x68\x6F\x77\x53\x6D\x73\x51\x75\x65\x75\x65\x73","\x67\x65\x74\x53\x6D\x73\x51\x75\x65\x75\x65\x73","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x68\x61\x6E\x64\x6C\x65\x55\x6E\x69\x71\x75\x65\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x45\x72\x72\x6F\x72","\x65\x72\x72\x6F\x72\x4D\x61\x6E\x61\x67\x65\x72","\x61\x64\x64\x55\x73\x65\x72","\x66\x69\x6E\x64\x4F\x6E\x65","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x61\x64\x64\x55\x73\x65\x72\x73","\x75\x70\x64\x61\x74\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x68\x61\x6E\x64\x6C\x65\x46\x6F\x72\x65\x69\x67\x6E\x4B\x65\x79\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x45\x72\x72\x6F\x72","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x63\x68\x61\x6E\x67\x65\x50\x61\x73\x73\x77\x6F\x72\x64","\x6F\x6C\x64\x50\x61\x73\x73\x77\x6F\x72\x64","\x6E\x65\x77\x50\x61\x73\x73\x77\x6F\x72\x64","\x61\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65","\x70\x61\x73\x73\x77\x6F\x72\x64","\x72\x65\x73\x65\x74\x50\x61\x73\x73\x77\x6F\x72\x64"];_0xe20b[0];var _=require(_0xe20b[1]);var sequelize=require(_0xe20b[3])[_0xe20b[2]];var Util=require(_0xe20b[4]);var Agent=require(_0xe20b[3])[_0xe20b[5]];var VoiceQueue=require(_0xe20b[3])[_0xe20b[6]];var ChatQueue=require(_0xe20b[3])[_0xe20b[7]];var MailQueue=require(_0xe20b[3])[_0xe20b[8]];var FaxQueue=require(_0xe20b[3])[_0xe20b[9]];var SmsQueue=require(_0xe20b[3])[_0xe20b[10]];var User=require(_0xe20b[3])[_0xe20b[5]];var Team=require(_0xe20b[3])[_0xe20b[11]];var MailRoom=require(_0xe20b[3])[_0xe20b[12]];var List=require(_0xe20b[3])[_0xe20b[13]];exports[_0xe20b[14]]=function(_0x6ea1xe,_0x6ea1xf,_0x6ea1x10){switch(_0x6ea1xe[_0xe20b[23]][_0xe20b[29]]){case _0xe20b[23]:return User[_0xe20b[24]](_0x6ea1xe[_0xe20b[23]][_0xe20b[22]],{attributes:[_0xe20b[22]]})[_0xe20b[19]](Util[_0xe20b[21]](_0x6ea1xe[_0xe20b[20]]))[_0xe20b[19]](function(_0x6ea1x12){return _0x6ea1xf[_0xe20b[18]](200)[_0xe20b[17]](_0x6ea1x12)})[_0xe20b[16]](function(_0x6ea1x11){console[_0xe20b[15]](_0x6ea1x11);return handleError(_0x6ea1xf,_0x6ea1x11)});default:return Agent[_0xe20b[28]](_0xe20b[27])[_0xe20b[26]](Util[_0xe20b[25]](_0x6ea1xe[_0xe20b[20]]))[_0xe20b[19]](function(_0x6ea1x12){return _0x6ea1xf[_0xe20b[18]](200)[_0xe20b[17]](_0x6ea1x12)})[_0xe20b[16]](function(_0x6ea1x11){return handleError(_0x6ea1xf,_0x6ea1x11)})}};exports[_0xe20b[30]]=function(_0x6ea1xe,_0x6ea1xf,_0x6ea1x10){switch(_0x6ea1xe[_0xe20b[23]][_0xe20b[29]]){case _0xe20b[23]:return User[_0xe20b[24]](_0x6ea1xe[_0xe20b[23]][_0xe20b[22]],{attributes:[_0xe20b[22]]})[_0xe20b[19]](Util[_0xe20b[21]](_0x6ea1xe[_0xe20b[20]]))[_0xe20b[19]](function(_0x6ea1x12){return _0x6ea1xf[_0xe20b[18]](200)[_0xe20b[17]](_0x6ea1x12)})[_0xe20b[16]](function(_0x6ea1x11){console[_0xe20b[31]](_0x6ea1x11);return handleError(_0x6ea1xf,_0x6ea1x11)});default:return Agent[_0xe20b[28]](_0xe20b[27],{method:[_0xe20b[32],_0x6ea1xe[_0xe20b[20]]]},{method:[_0xe20b[33],_0x6ea1xe[_0xe20b[20]]]},{method:[_0xe20b[34],_0x6ea1xe[_0xe20b[20]]]},{method:[_0xe20b[35],_0x6ea1xe[_0xe20b[20]]]},_0xe20b[36])[_0xe20b[26]](Util[_0xe20b[25]](_0x6ea1xe[_0xe20b[20]]))[_0xe20b[19]](function(_0x6ea1x12){return _0x6ea1xf[_0xe20b[18]](200)[_0xe20b[17]](_0x6ea1x12)})[_0xe20b[16]](function(_0x6ea1x11){console[_0xe20b[31]](_0x6ea1x11);return handleError(_0x6ea1xf,_0x6ea1x11)})}};exports[_0xe20b[37]]=function(_0x6ea1xe,_0x6ea1xf,_0x6ea1x10){switch(_0x6ea1xe[_0xe20b[23]][_0xe20b[29]]){case _0xe20b[23]:var _0x6ea1x13=[];return User[_0xe20b[24]](_0x6ea1xe[_0xe20b[23]][_0xe20b[22]],{attributes:[_0xe20b[22]]})[_0xe20b[19]](Util[_0xe20b[44]]({},{attributes:[_0xe20b[39]],include:[{raw:true,model:User,attributes:[_0xe20b[22]]}]}))[_0xe20b[19]](function(_0x6ea1x14){var _0x6ea1x15=_[_0xe20b[40]](_0x6ea1x14[_0xe20b[38]],_0xe20b[39]);_0x6ea1x14[_0xe20b[38]][_0xe20b[42]](function(_0x6ea1x16){_0x6ea1x13=_[_0xe20b[41]](_0x6ea1x13,_[_0xe20b[40]](_0x6ea1x16.Users,_0xe20b[22]))});return User[_0xe20b[28]](_0xe20b[27],{method:[_0xe20b[32],_0x6ea1xe[_0xe20b[20]]]},{method:[_0xe20b[33],_0x6ea1xe[_0xe20b[20]]]},{method:[_0xe20b[34],_0x6ea1xe[_0xe20b[20]]]},{method:[_0xe20b[35],_0x6ea1xe[_0xe20b[20]]]})[_0xe20b[26]](_[_0xe20b[43]](Util[_0xe20b[25]](_0x6ea1xe[_0xe20b[20]],{id:{$in:_0x6ea1x13}}),{include:[{model:VoiceQueue,where:{name:{$in:_0x6ea1x15}},required:false}]}))})[_0xe20b[19]](function(_0x6ea1x12){return _0x6ea1xf[_0xe20b[18]](200)[_0xe20b[17]](_0x6ea1x12)})[_0xe20b[16]](function(_0x6ea1x11){console[_0xe20b[31]](_0x6ea1x11);return handleError(_0x6ea1xf,_0x6ea1x11)});default:return Agent[_0xe20b[28]](_0xe20b[27],{method:[_0xe20b[32],_0x6ea1xe[_0xe20b[20]]]},{method:[_0xe20b[33],_0x6ea1xe[_0xe20b[20]]]},{method:[_0xe20b[34],_0x6ea1xe[_0xe20b[20]]]},{method:[_0xe20b[35],_0x6ea1xe[_0xe20b[20]]]},_0xe20b[36])[_0xe20b[26]](Util[_0xe20b[25]](_0x6ea1xe[_0xe20b[20]]))[_0xe20b[19]](function(_0x6ea1x12){return _0x6ea1xf[_0xe20b[18]](200)[_0xe20b[17]](_0x6ea1x12)})[_0xe20b[16]](function(_0x6ea1x11){console[_0xe20b[31]](_0x6ea1x11);return handleError(_0x6ea1xf,_0x6ea1x11)})}};exports[_0xe20b[45]]=function(_0x6ea1xe,_0x6ea1xf,_0x6ea1x10){switch(_0x6ea1xe[_0xe20b[23]][_0xe20b[29]]){case _0xe20b[23]:var _0x6ea1x13=[];return User[_0xe20b[24]](_0x6ea1xe[_0xe20b[23]][_0xe20b[22]],{attributes:[_0xe20b[22]]})[_0xe20b[19]](Util[_0xe20b[46]]({},{attributes:[_0xe20b[22]],include:[{raw:true,model:User,attributes:[_0xe20b[22]]}]}))[_0xe20b[19]](function(_0x6ea1x14){var _0x6ea1x17=_[_0xe20b[40]](_0x6ea1x14[_0xe20b[38]],_0xe20b[22]);_0x6ea1x14[_0xe20b[38]][_0xe20b[42]](function(_0x6ea1x16){_0x6ea1x13=_[_0xe20b[41]](_0x6ea1x13,_[_0xe20b[40]](_0x6ea1x16.Users,_0xe20b[22]))});return User[_0xe20b[28]](_0xe20b[27],{method:[_0xe20b[32],_0x6ea1xe[_0xe20b[20]]]},{method:[_0xe20b[33],_0x6ea1xe[_0xe20b[20]]]},{method:[_0xe20b[34],_0x6ea1xe[_0xe20b[20]]]},{method:[_0xe20b[35],_0x6ea1xe[_0xe20b[20]]]})[_0xe20b[26]](_[_0xe20b[43]](Util[_0xe20b[25]](_0x6ea1xe[_0xe20b[20]],{id:{$in:_0x6ea1x13}}),{include:[{model:ChatQueue,where:{id:{$in:_0x6ea1x17}},required:false}]}))})[_0xe20b[19]](function(_0x6ea1x12){return _0x6ea1xf[_0xe20b[18]](200)[_0xe20b[17]](_0x6ea1x12)})[_0xe20b[16]](function(_0x6ea1x11){console[_0xe20b[31]](_0x6ea1x11);return handleError(_0x6ea1xf,_0x6ea1x11)});default:return Agent[_0xe20b[28]](_0xe20b[27],{method:[_0xe20b[32],_0x6ea1xe[_0xe20b[20]]]},{method:[_0xe20b[33],_0x6ea1xe[_0xe20b[20]]]},{method:[_0xe20b[34],_0x6ea1xe[_0xe20b[20]]]},{method:[_0xe20b[35],_0x6ea1xe[_0xe20b[20]]]},_0xe20b[36])[_0xe20b[26]](Util[_0xe20b[25]](_0x6ea1xe[_0xe20b[20]]))[_0xe20b[19]](function(_0x6ea1x12){return _0x6ea1xf[_0xe20b[18]](200)[_0xe20b[17]](_0x6ea1x12)})[_0xe20b[16]](function(_0x6ea1x11){console[_0xe20b[31]](_0x6ea1x11);return handleError(_0x6ea1xf,_0x6ea1x11)})}};exports[_0xe20b[47]]=function(_0x6ea1xe,_0x6ea1xf,_0x6ea1x10){switch(_0x6ea1xe[_0xe20b[23]][_0xe20b[29]]){case _0xe20b[23]:var _0x6ea1x13=[];return User[_0xe20b[24]](_0x6ea1xe[_0xe20b[23]][_0xe20b[22]],{attributes:[_0xe20b[22]]})[_0xe20b[19]](Util[_0xe20b[48]]({},{attributes:[_0xe20b[22]],include:[{raw:true,model:User,attributes:[_0xe20b[22]]}]}))[_0xe20b[19]](function(_0x6ea1x14){var _0x6ea1x18=_[_0xe20b[40]](_0x6ea1x14[_0xe20b[38]],_0xe20b[22]);_0x6ea1x14[_0xe20b[38]][_0xe20b[42]](function(_0x6ea1x16){_0x6ea1x13=_[_0xe20b[41]](_0x6ea1x13,_[_0xe20b[40]](_0x6ea1x16.Users,_0xe20b[22]))});return User[_0xe20b[28]](_0xe20b[27],{method:[_0xe20b[32],_0x6ea1xe[_0xe20b[20]]]},{method:[_0xe20b[33],_0x6ea1xe[_0xe20b[20]]]},{method:[_0xe20b[34],_0x6ea1xe[_0xe20b[20]]]},{method:[_0xe20b[35],_0x6ea1xe[_0xe20b[20]]]})[_0xe20b[26]](_[_0xe20b[43]](Util[_0xe20b[25]](_0x6ea1xe[_0xe20b[20]],{id:{$in:_0x6ea1x13}}),{include:[{model:MailQueue,where:{id:{$in:_0x6ea1x18}},required:false}]}))})[_0xe20b[19]](function(_0x6ea1x12){return _0x6ea1xf[_0xe20b[18]](200)[_0xe20b[17]](_0x6ea1x12)})[_0xe20b[16]](function(_0x6ea1x11){console[_0xe20b[31]](_0x6ea1x11);return handleError(_0x6ea1xf,_0x6ea1x11)});default:return Agent[_0xe20b[28]](_0xe20b[27],{method:[_0xe20b[32],_0x6ea1xe[_0xe20b[20]]]},{method:[_0xe20b[33],_0x6ea1xe[_0xe20b[20]]]},{method:[_0xe20b[34],_0x6ea1xe[_0xe20b[20]]]},{method:[_0xe20b[35],_0x6ea1xe[_0xe20b[20]]]},_0xe20b[36])[_0xe20b[26]](Util[_0xe20b[25]](_0x6ea1xe[_0xe20b[20]]))[_0xe20b[19]](function(_0x6ea1x12){return _0x6ea1xf[_0xe20b[18]](200)[_0xe20b[17]](_0x6ea1x12)})[_0xe20b[16]](function(_0x6ea1x11){console[_0xe20b[31]](_0x6ea1x11);return handleError(_0x6ea1xf,_0x6ea1x11)})}};exports[_0xe20b[49]]=function(_0x6ea1xe,_0x6ea1xf,_0x6ea1x10){switch(_0x6ea1xe[_0xe20b[23]][_0xe20b[29]]){case _0xe20b[23]:var _0x6ea1x13=[];return User[_0xe20b[24]](_0x6ea1xe[_0xe20b[23]][_0xe20b[22]],{attributes:[_0xe20b[22]]})[_0xe20b[19]](Util[_0xe20b[50]]({},{attributes:[_0xe20b[22]],include:[{raw:true,model:User,attributes:[_0xe20b[22]]}]}))[_0xe20b[19]](function(_0x6ea1x14){var _0x6ea1x19=_[_0xe20b[40]](_0x6ea1x14[_0xe20b[38]],_0xe20b[22]);_0x6ea1x14[_0xe20b[38]][_0xe20b[42]](function(_0x6ea1x16){_0x6ea1x13=_[_0xe20b[41]](_0x6ea1x13,_[_0xe20b[40]](_0x6ea1x16.Users,_0xe20b[22]))});return User[_0xe20b[28]](_0xe20b[27],{method:[_0xe20b[32],_0x6ea1xe[_0xe20b[20]]]},{method:[_0xe20b[33],_0x6ea1xe[_0xe20b[20]]]},{method:[_0xe20b[34],_0x6ea1xe[_0xe20b[20]]]},{method:[_0xe20b[35],_0x6ea1xe[_0xe20b[20]]]})[_0xe20b[26]](_[_0xe20b[43]](Util[_0xe20b[25]](_0x6ea1xe[_0xe20b[20]],{id:{$in:_0x6ea1x13}}),{include:[{model:FaxQueue,where:{id:{$in:_0x6ea1x19}},required:false}]}))})[_0xe20b[19]](function(_0x6ea1x12){return _0x6ea1xf[_0xe20b[18]](200)[_0xe20b[17]](_0x6ea1x12)})[_0xe20b[16]](function(_0x6ea1x11){console[_0xe20b[31]](_0x6ea1x11);return handleError(_0x6ea1xf,_0x6ea1x11)});default:return Agent[_0xe20b[28]](_0xe20b[27],{method:[_0xe20b[32],_0x6ea1xe[_0xe20b[20]]]},{method:[_0xe20b[33],_0x6ea1xe[_0xe20b[20]]]},{method:[_0xe20b[34],_0x6ea1xe[_0xe20b[20]]]},{method:[_0xe20b[35],_0x6ea1xe[_0xe20b[20]]]},_0xe20b[36])[_0xe20b[26]](Util[_0xe20b[25]](_0x6ea1xe[_0xe20b[20]]))[_0xe20b[19]](function(_0x6ea1x12){return _0x6ea1xf[_0xe20b[18]](200)[_0xe20b[17]](_0x6ea1x12)})[_0xe20b[16]](function(_0x6ea1x11){console[_0xe20b[31]](_0x6ea1x11);return handleError(_0x6ea1xf,_0x6ea1x11)})}};exports[_0xe20b[51]]=function(_0x6ea1xe,_0x6ea1xf,_0x6ea1x10){switch(_0x6ea1xe[_0xe20b[23]][_0xe20b[29]]){case _0xe20b[23]:var _0x6ea1x13=[];return User[_0xe20b[24]](_0x6ea1xe[_0xe20b[23]][_0xe20b[22]],{attributes:[_0xe20b[22]]})[_0xe20b[19]](Util[_0xe20b[52]]({},{attributes:[_0xe20b[22]],include:[{raw:true,model:User,attributes:[_0xe20b[22]]}]}))[_0xe20b[19]](function(_0x6ea1x14){var _0x6ea1x1a=_[_0xe20b[40]](_0x6ea1x14[_0xe20b[38]],_0xe20b[22]);_0x6ea1x14[_0xe20b[38]][_0xe20b[42]](function(_0x6ea1x16){_0x6ea1x13=_[_0xe20b[41]](_0x6ea1x13,_[_0xe20b[40]](_0x6ea1x16.Users,_0xe20b[22]))});return User[_0xe20b[28]](_0xe20b[27],{method:[_0xe20b[32],_0x6ea1xe[_0xe20b[20]]]},{method:[_0xe20b[33],_0x6ea1xe[_0xe20b[20]]]},{method:[_0xe20b[34],_0x6ea1xe[_0xe20b[20]]]},{method:[_0xe20b[35],_0x6ea1xe[_0xe20b[20]]]})[_0xe20b[26]](_[_0xe20b[43]](Util[_0xe20b[25]](_0x6ea1xe[_0xe20b[20]],{id:{$in:_0x6ea1x13}}),{include:[{model:SmsQueue,where:{id:{$in:_0x6ea1x1a}},required:false}]}))})[_0xe20b[19]](function(_0x6ea1x12){return _0x6ea1xf[_0xe20b[18]](200)[_0xe20b[17]](_0x6ea1x12)})[_0xe20b[16]](function(_0x6ea1x11){console[_0xe20b[31]](_0x6ea1x11);return handleError(_0x6ea1xf,_0x6ea1x11)});default:return Agent[_0xe20b[28]](_0xe20b[27],{method:[_0xe20b[32],_0x6ea1xe[_0xe20b[20]]]},{method:[_0xe20b[33],_0x6ea1xe[_0xe20b[20]]]},{method:[_0xe20b[34],_0x6ea1xe[_0xe20b[20]]]},{method:[_0xe20b[35],_0x6ea1xe[_0xe20b[20]]]},_0xe20b[36])[_0xe20b[26]](Util[_0xe20b[25]](_0x6ea1xe[_0xe20b[20]]))[_0xe20b[19]](function(_0x6ea1x12){return _0x6ea1xf[_0xe20b[18]](200)[_0xe20b[17]](_0x6ea1x12)})[_0xe20b[16]](function(_0x6ea1x11){console[_0xe20b[31]](_0x6ea1x11);return handleError(_0x6ea1xf,_0x6ea1x11)})}};exports[_0xe20b[53]]=function(_0x6ea1xe,_0x6ea1xf){return Agent[_0xe20b[28]](_0xe20b[27])[_0xe20b[24]](_0x6ea1xe[_0xe20b[55]][_0xe20b[22]])[_0xe20b[19]](function(_0x6ea1x1b){if(!_0x6ea1x1b){return _0x6ea1xf[_0xe20b[54]](404)};return _0x6ea1xf[_0xe20b[17]](_0x6ea1x1b)})[_0xe20b[16]](function(_0x6ea1x11){return handleError(_0x6ea1xf,_0x6ea1x11)})};exports[_0xe20b[56]]=function(_0x6ea1xe,_0x6ea1xf){return Agent[_0xe20b[28]](_0xe20b[27])[_0xe20b[24]](_0x6ea1xe[_0xe20b[55]][_0xe20b[22]])[_0xe20b[19]](function(_0x6ea1x1b){if(!_0x6ea1x1b){return _0x6ea1xf[_0xe20b[54]](404)};return _0x6ea1x1b[_0xe20b[58]]({attributes:[_0xe20b[39]]})})[_0xe20b[19]](function(_0x6ea1x15){return _0x6ea1xf[_0xe20b[17]]({count:_0x6ea1x15[_0xe20b[57]],rows:_0x6ea1x15})})[_0xe20b[16]](function(_0x6ea1x11){return handleError(_0x6ea1xf,_0x6ea1x11)})};exports[_0xe20b[59]]=function(_0x6ea1xe,_0x6ea1xf){return Agent[_0xe20b[28]](_0xe20b[27])[_0xe20b[24]](_0x6ea1xe[_0xe20b[55]][_0xe20b[22]])[_0xe20b[19]](function(_0x6ea1x1b){if(!_0x6ea1x1b){return _0x6ea1xf[_0xe20b[54]](404)};return _0x6ea1x1b[_0xe20b[60]]({attributes:[_0xe20b[22]]})})[_0xe20b[19]](function(_0x6ea1x17){return _0x6ea1xf[_0xe20b[17]]({count:_0x6ea1x17[_0xe20b[57]],rows:_0x6ea1x17})})[_0xe20b[16]](function(_0x6ea1x11){return handleError(_0x6ea1xf,_0x6ea1x11)})};exports[_0xe20b[61]]=function(_0x6ea1xe,_0x6ea1xf){return Agent[_0xe20b[28]](_0xe20b[27])[_0xe20b[24]](_0x6ea1xe[_0xe20b[55]][_0xe20b[22]])[_0xe20b[19]](function(_0x6ea1x1b){if(!_0x6ea1x1b){return _0x6ea1xf[_0xe20b[54]](404)};return _0x6ea1x1b[_0xe20b[62]]({attributes:[_0xe20b[22]]})})[_0xe20b[19]](function(_0x6ea1x18){return _0x6ea1xf[_0xe20b[17]]({count:_0x6ea1x18[_0xe20b[57]],rows:_0x6ea1x18})})[_0xe20b[16]](function(_0x6ea1x11){return handleError(_0x6ea1xf,_0x6ea1x11)})};exports[_0xe20b[63]]=function(_0x6ea1xe,_0x6ea1xf){return Agent[_0xe20b[28]](_0xe20b[27])[_0xe20b[24]](_0x6ea1xe[_0xe20b[55]][_0xe20b[22]])[_0xe20b[19]](function(_0x6ea1x1b){if(!_0x6ea1x1b){return _0x6ea1xf[_0xe20b[54]](404)};return _0x6ea1x1b[_0xe20b[64]]({attributes:[_0xe20b[22]]})})[_0xe20b[19]](function(_0x6ea1x19){return _0x6ea1xf[_0xe20b[17]]({count:_0x6ea1x19[_0xe20b[57]],rows:_0x6ea1x19})})[_0xe20b[16]](function(_0x6ea1x11){return handleError(_0x6ea1xf,_0x6ea1x11)})};exports[_0xe20b[65]]=function(_0x6ea1xe,_0x6ea1xf){return Agent[_0xe20b[28]](_0xe20b[27])[_0xe20b[24]](_0x6ea1xe[_0xe20b[55]][_0xe20b[22]])[_0xe20b[19]](function(_0x6ea1x1b){if(!_0x6ea1x1b){return _0x6ea1xf[_0xe20b[54]](404)};return _0x6ea1x1b[_0xe20b[66]]({attributes:[_0xe20b[22]]})})[_0xe20b[19]](function(_0x6ea1x1a){return _0x6ea1xf[_0xe20b[17]]({count:_0x6ea1x1a[_0xe20b[57]],rows:_0x6ea1x1a})})[_0xe20b[16]](function(_0x6ea1x11){return handleError(_0x6ea1xf,_0x6ea1x11)})};exports[_0xe20b[67]]=function(_0x6ea1xe,_0x6ea1xf){var _0x6ea1x1c;_0x6ea1xe[_0xe20b[68]][_0xe20b[29]]=_0xe20b[27];return sequelize[_0xe20b[73]](function(_0x6ea1x1d){return Agent[_0xe20b[28]](_0xe20b[27])[_0xe20b[67]](_0x6ea1xe[_0xe20b[68]],{transaction:_0x6ea1x1d})[_0xe20b[19]](function(_0x6ea1x1b){_0x6ea1x1c=_0x6ea1x1b;return Team[_0xe20b[72]]({where:{defaultEntry:true}})})[_0xe20b[19]](function(_0x6ea1x1f){return _0x6ea1x1f[_0xe20b[71]](_0x6ea1x1c[_0xe20b[22]],{transaction:_0x6ea1x1d})})[_0xe20b[19]](function(){return List[_0xe20b[72]]({where:{defaultEntry:true}})})[_0xe20b[19]](function(_0x6ea1x1e){return _0x6ea1x1e[_0xe20b[71]](_0x6ea1x1c[_0xe20b[22]],{transaction:_0x6ea1x1d})})})[_0xe20b[19]](function(){return _0x6ea1xf[_0xe20b[18]](201)[_0xe20b[17]](_0x6ea1x1c)})[_0xe20b[16]](sequelize.UniqueConstraintError,function(_0x6ea1x11){console[_0xe20b[31]](_0x6ea1x11);return Util[_0xe20b[70]][_0xe20b[69]](_0x6ea1xf,_0x6ea1x11)})[_0xe20b[16]](function(_0x6ea1x11){console[_0xe20b[31]](_0x6ea1x11);return handleError(_0x6ea1xf,_0x6ea1x11)})};exports[_0xe20b[74]]=function(_0x6ea1xe,_0x6ea1xf){var _0x6ea1x20;if(_0x6ea1xe[_0xe20b[68]]&&_0x6ea1xe[_0xe20b[68]][_0xe20b[57]]){_0x6ea1xe[_0xe20b[68]][_0xe20b[42]](function(_0x6ea1x1b){_0x6ea1x1b[_0xe20b[29]]=_0xe20b[27]})};return sequelize[_0xe20b[73]](function(_0x6ea1x1d){return Agent[_0xe20b[74]](_0x6ea1xe[_0xe20b[68]],{transaction:_0x6ea1x1d,individualHooks:true})[_0xe20b[19]](function(_0x6ea1x21){_0x6ea1x20=_0x6ea1x21;return Team[_0xe20b[72]]({where:{defaultEntry:true}})})[_0xe20b[19]](function(_0x6ea1x1f){return _0x6ea1x1f[_0xe20b[75]](_[_0xe20b[40]](_0x6ea1x20,_0xe20b[22]),{transaction:_0x6ea1x1d})})})[_0xe20b[19]](function(){return _0x6ea1xf[_0xe20b[54]](201)})[_0xe20b[16]](sequelize.UniqueConstraintError,function(_0x6ea1x11){console[_0xe20b[31]](_0x6ea1x11);return Util[_0xe20b[70]][_0xe20b[69]](_0x6ea1xf,_0x6ea1x11)})[_0xe20b[16]](function(_0x6ea1x11){console[_0xe20b[31]](_0x6ea1x11);return handleError(_0x6ea1xf,_0x6ea1x11)})};exports[_0xe20b[76]]=function(_0x6ea1xe,_0x6ea1xf){if(_0x6ea1xe[_0xe20b[68]][_0xe20b[22]]){delete _0x6ea1xe[_0xe20b[68]][_0xe20b[22]];delete _0x6ea1xe[_0xe20b[68]][_0xe20b[29]]};return sequelize[_0xe20b[73]](function(_0x6ea1x1d){return Agent[_0xe20b[24]](_0x6ea1xe[_0xe20b[55]][_0xe20b[22]])[_0xe20b[19]](function(_0x6ea1x1b){if(!_0x6ea1x1b){return _0x6ea1xf[_0xe20b[54]](404)};var _0x6ea1x22=_[_0xe20b[43]](_0x6ea1x1b,_0x6ea1xe[_0xe20b[68]]);return _0x6ea1x22[_0xe20b[77]]({transaction:_0x6ea1x1d})})[_0xe20b[19]](function(_0x6ea1x1b){return _0x6ea1xf[_0xe20b[18]](200)[_0xe20b[17]](_0x6ea1x1b)})})[_0xe20b[16]](sequelize.UniqueConstraintError,function(_0x6ea1x11){console[_0xe20b[31]](_0x6ea1x11);return Util[_0xe20b[70]][_0xe20b[69]](_0x6ea1xf,_0x6ea1x11)})[_0xe20b[16]](function(_0x6ea1x11){console[_0xe20b[31]](_0x6ea1x11);return handleError(_0x6ea1xf,_0x6ea1x11)})};exports[_0xe20b[78]]=function(_0x6ea1xe,_0x6ea1xf){var _0x6ea1x1c;return Agent[_0xe20b[24]](_0x6ea1xe[_0xe20b[55]][_0xe20b[22]])[_0xe20b[19]](function(_0x6ea1x1b){_0x6ea1x1c=_0x6ea1x1b;if(!_0x6ea1x1b){return _0x6ea1xf[_0xe20b[54]](404)};return _0x6ea1x1b[_0xe20b[78]]()})[_0xe20b[19]](function(){return _0x6ea1xf[_0xe20b[54]](204)})[_0xe20b[16]](sequelize.ForeignKeyConstraintError,function(_0x6ea1x11){return Util[_0xe20b[70]][_0xe20b[79]](_0x6ea1xf,_0xe20b[27],_0x6ea1x1c[_0xe20b[39]],_0x6ea1x11)})[_0xe20b[16]](function(_0x6ea1x11){return handleError(_0x6ea1xf,_0x6ea1x11)})};exports[_0xe20b[80]]=function(_0x6ea1xe,_0x6ea1xf){return Agent[_0xe20b[78]]({where:{id:_0x6ea1xe[_0xe20b[20]][_0xe20b[81]]},individualHooks:true})[_0xe20b[19]](function(){return _0x6ea1xf[_0xe20b[54]](204)})[_0xe20b[16]](function(_0x6ea1x11){return handleError(_0x6ea1xf,_0x6ea1x11)})};exports[_0xe20b[82]]=function(_0x6ea1xe,_0x6ea1xf,_0x6ea1x10){var _0x6ea1x23=_0x6ea1xe[_0xe20b[23]][_0xe20b[22]];var _0x6ea1x24=String(_0x6ea1xe[_0xe20b[68]][_0xe20b[83]]);var _0x6ea1x25=String(_0x6ea1xe[_0xe20b[68]][_0xe20b[84]]);return Agent[_0xe20b[24]](_0x6ea1x23)[_0xe20b[19]](function(_0x6ea1x26){if(_0x6ea1x26[_0xe20b[85]](_0x6ea1x24)){_0x6ea1x26[_0xe20b[86]]=_0x6ea1x25;_0x6ea1x26[_0xe20b[77]]()[_0xe20b[19]](function(){return _0x6ea1xf[_0xe20b[54]](200)})[_0xe20b[16]](function(_0x6ea1x11){return handleError(_0x6ea1xf,_0x6ea1x11)})}else {return _0x6ea1xf[_0xe20b[54]](403)}})};exports[_0xe20b[87]]=function(_0x6ea1xe,_0x6ea1xf,_0x6ea1x10){var _0x6ea1x23=_0x6ea1xe[_0xe20b[55]][_0xe20b[22]];var _0x6ea1x25=String(_0x6ea1xe[_0xe20b[68]][_0xe20b[84]]);return Agent[_0xe20b[24]](_0x6ea1x23)[_0xe20b[19]](function(_0x6ea1x26){_0x6ea1x26[_0xe20b[86]]=_0x6ea1x25;return _0x6ea1x26[_0xe20b[77]]()})[_0xe20b[19]](function(){return _0x6ea1xf[_0xe20b[54]](200)})[_0xe20b[16]](function(_0x6ea1x11){return handleError(_0x6ea1xf,_0x6ea1x11)})};function handleError(_0x6ea1xf,_0x6ea1x11){return _0x6ea1xf[_0xe20b[18]](500)[_0xe20b[17]](_0x6ea1x11)} \ No newline at end of file +var _0xc3ca=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x55\x73\x65\x72","\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x46\x61\x78\x51\x75\x65\x75\x65","\x53\x6D\x73\x51\x75\x65\x75\x65","\x54\x65\x61\x6D","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x4C\x69\x73\x74","\x69\x6E\x64\x65\x78","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x41\x67\x65\x6E\x74\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x69\x64","\x75\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x61\x67\x65\x6E\x74","\x73\x63\x6F\x70\x65","\x72\x6F\x6C\x65","\x72\x65\x61\x6C\x74\x69\x6D\x65\x49\x6E\x64\x65\x78","\x6C\x6F\x67","\x63\x68\x65\x63\x6B\x50\x61\x75\x73\x65\x53\x74\x61\x74\x75\x73","\x63\x68\x65\x63\x6B\x51\x75\x65\x75\x65\x53\x74\x61\x74\x75\x73","\x63\x68\x65\x63\x6B\x4F\x6E\x6C\x69\x6E\x65\x53\x74\x61\x74\x75\x73","\x63\x68\x65\x63\x6B\x53\x69\x70\x53\x74\x61\x74\x75\x73","\x71\x75\x65\x75\x65\x73","\x72\x65\x61\x6C\x74\x69\x6D\x65\x56\x6F\x69\x63\x65\x49\x6E\x64\x65\x78","\x72\x6F\x77\x73","\x6E\x61\x6D\x65","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x6D\x65\x72\x67\x65","\x67\x65\x74\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x72\x65\x61\x6C\x74\x69\x6D\x65\x43\x68\x61\x74\x49\x6E\x64\x65\x78","\x67\x65\x74\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x72\x65\x61\x6C\x74\x69\x6D\x65\x4D\x61\x69\x6C\x49\x6E\x64\x65\x78","\x67\x65\x74\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x72\x65\x61\x6C\x74\x69\x6D\x65\x46\x61\x78\x49\x6E\x64\x65\x78","\x67\x65\x74\x46\x61\x78\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x72\x65\x61\x6C\x74\x69\x6D\x65\x53\x6D\x73\x49\x6E\x64\x65\x78","\x67\x65\x74\x53\x6D\x73\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x70\x61\x72\x61\x6D\x73","\x73\x68\x6F\x77\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73","\x6C\x65\x6E\x67\x74\x68","\x67\x65\x74\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73","\x73\x68\x6F\x77\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73","\x67\x65\x74\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73","\x73\x68\x6F\x77\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73","\x67\x65\x74\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73","\x73\x68\x6F\x77\x46\x61\x78\x51\x75\x65\x75\x65\x73","\x67\x65\x74\x46\x61\x78\x51\x75\x65\x75\x65\x73","\x73\x68\x6F\x77\x53\x6D\x73\x51\x75\x65\x75\x65\x73","\x67\x65\x74\x53\x6D\x73\x51\x75\x65\x75\x65\x73","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x68\x61\x6E\x64\x6C\x65\x55\x6E\x69\x71\x75\x65\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x45\x72\x72\x6F\x72","\x65\x72\x72\x6F\x72\x4D\x61\x6E\x61\x67\x65\x72","\x61\x64\x64\x55\x73\x65\x72","\x66\x69\x6E\x64\x4F\x6E\x65","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x61\x64\x64\x55\x73\x65\x72\x73","\x75\x70\x64\x61\x74\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x68\x61\x6E\x64\x6C\x65\x46\x6F\x72\x65\x69\x67\x6E\x4B\x65\x79\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x45\x72\x72\x6F\x72","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x63\x68\x61\x6E\x67\x65\x50\x61\x73\x73\x77\x6F\x72\x64","\x6F\x6C\x64\x50\x61\x73\x73\x77\x6F\x72\x64","\x6E\x65\x77\x50\x61\x73\x73\x77\x6F\x72\x64","\x61\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65","\x70\x61\x73\x73\x77\x6F\x72\x64","\x72\x65\x73\x65\x74\x50\x61\x73\x73\x77\x6F\x72\x64"];_0xc3ca[0];var _=require(_0xc3ca[1]);var sequelize=require(_0xc3ca[3])[_0xc3ca[2]];var Util=require(_0xc3ca[4]);var Agent=require(_0xc3ca[3])[_0xc3ca[5]];var VoiceQueue=require(_0xc3ca[3])[_0xc3ca[6]];var ChatQueue=require(_0xc3ca[3])[_0xc3ca[7]];var MailQueue=require(_0xc3ca[3])[_0xc3ca[8]];var FaxQueue=require(_0xc3ca[3])[_0xc3ca[9]];var SmsQueue=require(_0xc3ca[3])[_0xc3ca[10]];var User=require(_0xc3ca[3])[_0xc3ca[5]];var Team=require(_0xc3ca[3])[_0xc3ca[11]];var MailRoom=require(_0xc3ca[3])[_0xc3ca[12]];var List=require(_0xc3ca[3])[_0xc3ca[13]];exports[_0xc3ca[14]]=function(_0x481dxe,_0x481dxf,_0x481dx10){switch(_0x481dxe[_0xc3ca[23]][_0xc3ca[29]]){case _0xc3ca[23]:return User[_0xc3ca[24]](_0x481dxe[_0xc3ca[23]][_0xc3ca[22]],{attributes:[_0xc3ca[22]]})[_0xc3ca[19]](Util[_0xc3ca[21]](_0x481dxe[_0xc3ca[20]]))[_0xc3ca[19]](function(_0x481dx12){return _0x481dxf[_0xc3ca[18]](200)[_0xc3ca[17]](_0x481dx12)})[_0xc3ca[16]](function(_0x481dx11){console[_0xc3ca[15]](_0x481dx11);return handleError(_0x481dxf,_0x481dx11)});default:return Agent[_0xc3ca[28]](_0xc3ca[27])[_0xc3ca[26]](Util[_0xc3ca[25]](_0x481dxe[_0xc3ca[20]]))[_0xc3ca[19]](function(_0x481dx12){return _0x481dxf[_0xc3ca[18]](200)[_0xc3ca[17]](_0x481dx12)})[_0xc3ca[16]](function(_0x481dx11){return handleError(_0x481dxf,_0x481dx11)})}};exports[_0xc3ca[30]]=function(_0x481dxe,_0x481dxf,_0x481dx10){switch(_0x481dxe[_0xc3ca[23]][_0xc3ca[29]]){case _0xc3ca[23]:return User[_0xc3ca[24]](_0x481dxe[_0xc3ca[23]][_0xc3ca[22]],{attributes:[_0xc3ca[22]]})[_0xc3ca[19]](Util[_0xc3ca[21]](_0x481dxe[_0xc3ca[20]]))[_0xc3ca[19]](function(_0x481dx12){return _0x481dxf[_0xc3ca[18]](200)[_0xc3ca[17]](_0x481dx12)})[_0xc3ca[16]](function(_0x481dx11){console[_0xc3ca[31]](_0x481dx11);return handleError(_0x481dxf,_0x481dx11)});default:return Agent[_0xc3ca[28]](_0xc3ca[27],{method:[_0xc3ca[32],_0x481dxe[_0xc3ca[20]]]},{method:[_0xc3ca[33],_0x481dxe[_0xc3ca[20]]]},{method:[_0xc3ca[34],_0x481dxe[_0xc3ca[20]]]},{method:[_0xc3ca[35],_0x481dxe[_0xc3ca[20]]]},_0xc3ca[36])[_0xc3ca[26]](Util[_0xc3ca[25]](_0x481dxe[_0xc3ca[20]]))[_0xc3ca[19]](function(_0x481dx12){return _0x481dxf[_0xc3ca[18]](200)[_0xc3ca[17]](_0x481dx12)})[_0xc3ca[16]](function(_0x481dx11){console[_0xc3ca[31]](_0x481dx11);return handleError(_0x481dxf,_0x481dx11)})}};exports[_0xc3ca[37]]=function(_0x481dxe,_0x481dxf,_0x481dx10){switch(_0x481dxe[_0xc3ca[23]][_0xc3ca[29]]){case _0xc3ca[23]:var _0x481dx13=[];return User[_0xc3ca[24]](_0x481dxe[_0xc3ca[23]][_0xc3ca[22]],{attributes:[_0xc3ca[22]]})[_0xc3ca[19]](Util[_0xc3ca[44]]({},{attributes:[_0xc3ca[39]],include:[{raw:true,model:User,attributes:[_0xc3ca[22]]}]}))[_0xc3ca[19]](function(_0x481dx14){var _0x481dx15=_[_0xc3ca[40]](_0x481dx14[_0xc3ca[38]],_0xc3ca[39]);_0x481dx14[_0xc3ca[38]][_0xc3ca[42]](function(_0x481dx16){_0x481dx13=_[_0xc3ca[41]](_0x481dx13,_[_0xc3ca[40]](_0x481dx16.Users,_0xc3ca[22]))});return User[_0xc3ca[28]](_0xc3ca[27],{method:[_0xc3ca[32],_0x481dxe[_0xc3ca[20]]]},{method:[_0xc3ca[33],_0x481dxe[_0xc3ca[20]]]},{method:[_0xc3ca[34],_0x481dxe[_0xc3ca[20]]]},{method:[_0xc3ca[35],_0x481dxe[_0xc3ca[20]]]})[_0xc3ca[26]](_[_0xc3ca[43]](Util[_0xc3ca[25]](_0x481dxe[_0xc3ca[20]],{id:{$in:_0x481dx13}}),{include:[{model:VoiceQueue,where:{name:{$in:_0x481dx15}},required:false}]}))})[_0xc3ca[19]](function(_0x481dx12){return _0x481dxf[_0xc3ca[18]](200)[_0xc3ca[17]](_0x481dx12)})[_0xc3ca[16]](function(_0x481dx11){console[_0xc3ca[31]](_0x481dx11);return handleError(_0x481dxf,_0x481dx11)});default:return Agent[_0xc3ca[28]](_0xc3ca[27],{method:[_0xc3ca[32],_0x481dxe[_0xc3ca[20]]]},{method:[_0xc3ca[33],_0x481dxe[_0xc3ca[20]]]},{method:[_0xc3ca[34],_0x481dxe[_0xc3ca[20]]]},{method:[_0xc3ca[35],_0x481dxe[_0xc3ca[20]]]},_0xc3ca[36])[_0xc3ca[26]](Util[_0xc3ca[25]](_0x481dxe[_0xc3ca[20]]))[_0xc3ca[19]](function(_0x481dx12){return _0x481dxf[_0xc3ca[18]](200)[_0xc3ca[17]](_0x481dx12)})[_0xc3ca[16]](function(_0x481dx11){console[_0xc3ca[31]](_0x481dx11);return handleError(_0x481dxf,_0x481dx11)})}};exports[_0xc3ca[45]]=function(_0x481dxe,_0x481dxf,_0x481dx10){switch(_0x481dxe[_0xc3ca[23]][_0xc3ca[29]]){case _0xc3ca[23]:var _0x481dx13=[];return User[_0xc3ca[24]](_0x481dxe[_0xc3ca[23]][_0xc3ca[22]],{attributes:[_0xc3ca[22]]})[_0xc3ca[19]](Util[_0xc3ca[46]]({},{attributes:[_0xc3ca[22]],include:[{raw:true,model:User,attributes:[_0xc3ca[22]]}]}))[_0xc3ca[19]](function(_0x481dx14){var _0x481dx17=_[_0xc3ca[40]](_0x481dx14[_0xc3ca[38]],_0xc3ca[22]);_0x481dx14[_0xc3ca[38]][_0xc3ca[42]](function(_0x481dx16){_0x481dx13=_[_0xc3ca[41]](_0x481dx13,_[_0xc3ca[40]](_0x481dx16.Users,_0xc3ca[22]))});return User[_0xc3ca[28]](_0xc3ca[27],{method:[_0xc3ca[32],_0x481dxe[_0xc3ca[20]]]},{method:[_0xc3ca[33],_0x481dxe[_0xc3ca[20]]]},{method:[_0xc3ca[34],_0x481dxe[_0xc3ca[20]]]},{method:[_0xc3ca[35],_0x481dxe[_0xc3ca[20]]]})[_0xc3ca[26]](_[_0xc3ca[43]](Util[_0xc3ca[25]](_0x481dxe[_0xc3ca[20]],{id:{$in:_0x481dx13}}),{include:[{model:ChatQueue,where:{id:{$in:_0x481dx17}},required:false}]}))})[_0xc3ca[19]](function(_0x481dx12){return _0x481dxf[_0xc3ca[18]](200)[_0xc3ca[17]](_0x481dx12)})[_0xc3ca[16]](function(_0x481dx11){console[_0xc3ca[31]](_0x481dx11);return handleError(_0x481dxf,_0x481dx11)});default:return Agent[_0xc3ca[28]](_0xc3ca[27],{method:[_0xc3ca[32],_0x481dxe[_0xc3ca[20]]]},{method:[_0xc3ca[33],_0x481dxe[_0xc3ca[20]]]},{method:[_0xc3ca[34],_0x481dxe[_0xc3ca[20]]]},{method:[_0xc3ca[35],_0x481dxe[_0xc3ca[20]]]},_0xc3ca[36])[_0xc3ca[26]](Util[_0xc3ca[25]](_0x481dxe[_0xc3ca[20]]))[_0xc3ca[19]](function(_0x481dx12){return _0x481dxf[_0xc3ca[18]](200)[_0xc3ca[17]](_0x481dx12)})[_0xc3ca[16]](function(_0x481dx11){console[_0xc3ca[31]](_0x481dx11);return handleError(_0x481dxf,_0x481dx11)})}};exports[_0xc3ca[47]]=function(_0x481dxe,_0x481dxf,_0x481dx10){switch(_0x481dxe[_0xc3ca[23]][_0xc3ca[29]]){case _0xc3ca[23]:var _0x481dx13=[];return User[_0xc3ca[24]](_0x481dxe[_0xc3ca[23]][_0xc3ca[22]],{attributes:[_0xc3ca[22]]})[_0xc3ca[19]](Util[_0xc3ca[48]]({},{attributes:[_0xc3ca[22]],include:[{raw:true,model:User,attributes:[_0xc3ca[22]]}]}))[_0xc3ca[19]](function(_0x481dx14){var _0x481dx18=_[_0xc3ca[40]](_0x481dx14[_0xc3ca[38]],_0xc3ca[22]);_0x481dx14[_0xc3ca[38]][_0xc3ca[42]](function(_0x481dx16){_0x481dx13=_[_0xc3ca[41]](_0x481dx13,_[_0xc3ca[40]](_0x481dx16.Users,_0xc3ca[22]))});return User[_0xc3ca[28]](_0xc3ca[27],{method:[_0xc3ca[32],_0x481dxe[_0xc3ca[20]]]},{method:[_0xc3ca[33],_0x481dxe[_0xc3ca[20]]]},{method:[_0xc3ca[34],_0x481dxe[_0xc3ca[20]]]},{method:[_0xc3ca[35],_0x481dxe[_0xc3ca[20]]]})[_0xc3ca[26]](_[_0xc3ca[43]](Util[_0xc3ca[25]](_0x481dxe[_0xc3ca[20]],{id:{$in:_0x481dx13}}),{include:[{model:MailQueue,where:{id:{$in:_0x481dx18}},required:false}]}))})[_0xc3ca[19]](function(_0x481dx12){return _0x481dxf[_0xc3ca[18]](200)[_0xc3ca[17]](_0x481dx12)})[_0xc3ca[16]](function(_0x481dx11){console[_0xc3ca[31]](_0x481dx11);return handleError(_0x481dxf,_0x481dx11)});default:return Agent[_0xc3ca[28]](_0xc3ca[27],{method:[_0xc3ca[32],_0x481dxe[_0xc3ca[20]]]},{method:[_0xc3ca[33],_0x481dxe[_0xc3ca[20]]]},{method:[_0xc3ca[34],_0x481dxe[_0xc3ca[20]]]},{method:[_0xc3ca[35],_0x481dxe[_0xc3ca[20]]]},_0xc3ca[36])[_0xc3ca[26]](Util[_0xc3ca[25]](_0x481dxe[_0xc3ca[20]]))[_0xc3ca[19]](function(_0x481dx12){return _0x481dxf[_0xc3ca[18]](200)[_0xc3ca[17]](_0x481dx12)})[_0xc3ca[16]](function(_0x481dx11){console[_0xc3ca[31]](_0x481dx11);return handleError(_0x481dxf,_0x481dx11)})}};exports[_0xc3ca[49]]=function(_0x481dxe,_0x481dxf,_0x481dx10){switch(_0x481dxe[_0xc3ca[23]][_0xc3ca[29]]){case _0xc3ca[23]:var _0x481dx13=[];return User[_0xc3ca[24]](_0x481dxe[_0xc3ca[23]][_0xc3ca[22]],{attributes:[_0xc3ca[22]]})[_0xc3ca[19]](Util[_0xc3ca[50]]({},{attributes:[_0xc3ca[22]],include:[{raw:true,model:User,attributes:[_0xc3ca[22]]}]}))[_0xc3ca[19]](function(_0x481dx14){var _0x481dx19=_[_0xc3ca[40]](_0x481dx14[_0xc3ca[38]],_0xc3ca[22]);_0x481dx14[_0xc3ca[38]][_0xc3ca[42]](function(_0x481dx16){_0x481dx13=_[_0xc3ca[41]](_0x481dx13,_[_0xc3ca[40]](_0x481dx16.Users,_0xc3ca[22]))});return User[_0xc3ca[28]](_0xc3ca[27],{method:[_0xc3ca[32],_0x481dxe[_0xc3ca[20]]]},{method:[_0xc3ca[33],_0x481dxe[_0xc3ca[20]]]},{method:[_0xc3ca[34],_0x481dxe[_0xc3ca[20]]]},{method:[_0xc3ca[35],_0x481dxe[_0xc3ca[20]]]})[_0xc3ca[26]](_[_0xc3ca[43]](Util[_0xc3ca[25]](_0x481dxe[_0xc3ca[20]],{id:{$in:_0x481dx13}}),{include:[{model:FaxQueue,where:{id:{$in:_0x481dx19}},required:false}]}))})[_0xc3ca[19]](function(_0x481dx12){return _0x481dxf[_0xc3ca[18]](200)[_0xc3ca[17]](_0x481dx12)})[_0xc3ca[16]](function(_0x481dx11){console[_0xc3ca[31]](_0x481dx11);return handleError(_0x481dxf,_0x481dx11)});default:return Agent[_0xc3ca[28]](_0xc3ca[27],{method:[_0xc3ca[32],_0x481dxe[_0xc3ca[20]]]},{method:[_0xc3ca[33],_0x481dxe[_0xc3ca[20]]]},{method:[_0xc3ca[34],_0x481dxe[_0xc3ca[20]]]},{method:[_0xc3ca[35],_0x481dxe[_0xc3ca[20]]]},_0xc3ca[36])[_0xc3ca[26]](Util[_0xc3ca[25]](_0x481dxe[_0xc3ca[20]]))[_0xc3ca[19]](function(_0x481dx12){return _0x481dxf[_0xc3ca[18]](200)[_0xc3ca[17]](_0x481dx12)})[_0xc3ca[16]](function(_0x481dx11){console[_0xc3ca[31]](_0x481dx11);return handleError(_0x481dxf,_0x481dx11)})}};exports[_0xc3ca[51]]=function(_0x481dxe,_0x481dxf,_0x481dx10){switch(_0x481dxe[_0xc3ca[23]][_0xc3ca[29]]){case _0xc3ca[23]:var _0x481dx13=[];return User[_0xc3ca[24]](_0x481dxe[_0xc3ca[23]][_0xc3ca[22]],{attributes:[_0xc3ca[22]]})[_0xc3ca[19]](Util[_0xc3ca[52]]({},{attributes:[_0xc3ca[22]],include:[{raw:true,model:User,attributes:[_0xc3ca[22]]}]}))[_0xc3ca[19]](function(_0x481dx14){var _0x481dx1a=_[_0xc3ca[40]](_0x481dx14[_0xc3ca[38]],_0xc3ca[22]);_0x481dx14[_0xc3ca[38]][_0xc3ca[42]](function(_0x481dx16){_0x481dx13=_[_0xc3ca[41]](_0x481dx13,_[_0xc3ca[40]](_0x481dx16.Users,_0xc3ca[22]))});return User[_0xc3ca[28]](_0xc3ca[27],{method:[_0xc3ca[32],_0x481dxe[_0xc3ca[20]]]},{method:[_0xc3ca[33],_0x481dxe[_0xc3ca[20]]]},{method:[_0xc3ca[34],_0x481dxe[_0xc3ca[20]]]},{method:[_0xc3ca[35],_0x481dxe[_0xc3ca[20]]]})[_0xc3ca[26]](_[_0xc3ca[43]](Util[_0xc3ca[25]](_0x481dxe[_0xc3ca[20]],{id:{$in:_0x481dx13}}),{include:[{model:SmsQueue,where:{id:{$in:_0x481dx1a}},required:false}]}))})[_0xc3ca[19]](function(_0x481dx12){return _0x481dxf[_0xc3ca[18]](200)[_0xc3ca[17]](_0x481dx12)})[_0xc3ca[16]](function(_0x481dx11){console[_0xc3ca[31]](_0x481dx11);return handleError(_0x481dxf,_0x481dx11)});default:return Agent[_0xc3ca[28]](_0xc3ca[27],{method:[_0xc3ca[32],_0x481dxe[_0xc3ca[20]]]},{method:[_0xc3ca[33],_0x481dxe[_0xc3ca[20]]]},{method:[_0xc3ca[34],_0x481dxe[_0xc3ca[20]]]},{method:[_0xc3ca[35],_0x481dxe[_0xc3ca[20]]]},_0xc3ca[36])[_0xc3ca[26]](Util[_0xc3ca[25]](_0x481dxe[_0xc3ca[20]]))[_0xc3ca[19]](function(_0x481dx12){return _0x481dxf[_0xc3ca[18]](200)[_0xc3ca[17]](_0x481dx12)})[_0xc3ca[16]](function(_0x481dx11){console[_0xc3ca[31]](_0x481dx11);return handleError(_0x481dxf,_0x481dx11)})}};exports[_0xc3ca[53]]=function(_0x481dxe,_0x481dxf){return Agent[_0xc3ca[28]](_0xc3ca[27])[_0xc3ca[24]](_0x481dxe[_0xc3ca[55]][_0xc3ca[22]])[_0xc3ca[19]](function(_0x481dx1b){if(!_0x481dx1b){return _0x481dxf[_0xc3ca[54]](404)};return _0x481dxf[_0xc3ca[17]](_0x481dx1b)})[_0xc3ca[16]](function(_0x481dx11){return handleError(_0x481dxf,_0x481dx11)})};exports[_0xc3ca[56]]=function(_0x481dxe,_0x481dxf){return Agent[_0xc3ca[28]](_0xc3ca[27])[_0xc3ca[24]](_0x481dxe[_0xc3ca[55]][_0xc3ca[22]])[_0xc3ca[19]](function(_0x481dx1b){if(!_0x481dx1b){return _0x481dxf[_0xc3ca[54]](404)};return _0x481dx1b[_0xc3ca[58]]({attributes:[_0xc3ca[39]]})})[_0xc3ca[19]](function(_0x481dx15){return _0x481dxf[_0xc3ca[17]]({count:_0x481dx15[_0xc3ca[57]],rows:_0x481dx15})})[_0xc3ca[16]](function(_0x481dx11){return handleError(_0x481dxf,_0x481dx11)})};exports[_0xc3ca[59]]=function(_0x481dxe,_0x481dxf){return Agent[_0xc3ca[28]](_0xc3ca[27])[_0xc3ca[24]](_0x481dxe[_0xc3ca[55]][_0xc3ca[22]])[_0xc3ca[19]](function(_0x481dx1b){if(!_0x481dx1b){return _0x481dxf[_0xc3ca[54]](404)};return _0x481dx1b[_0xc3ca[60]]({attributes:[_0xc3ca[22]]})})[_0xc3ca[19]](function(_0x481dx17){return _0x481dxf[_0xc3ca[17]]({count:_0x481dx17[_0xc3ca[57]],rows:_0x481dx17})})[_0xc3ca[16]](function(_0x481dx11){return handleError(_0x481dxf,_0x481dx11)})};exports[_0xc3ca[61]]=function(_0x481dxe,_0x481dxf){return Agent[_0xc3ca[28]](_0xc3ca[27])[_0xc3ca[24]](_0x481dxe[_0xc3ca[55]][_0xc3ca[22]])[_0xc3ca[19]](function(_0x481dx1b){if(!_0x481dx1b){return _0x481dxf[_0xc3ca[54]](404)};return _0x481dx1b[_0xc3ca[62]]({attributes:[_0xc3ca[22]]})})[_0xc3ca[19]](function(_0x481dx18){return _0x481dxf[_0xc3ca[17]]({count:_0x481dx18[_0xc3ca[57]],rows:_0x481dx18})})[_0xc3ca[16]](function(_0x481dx11){return handleError(_0x481dxf,_0x481dx11)})};exports[_0xc3ca[63]]=function(_0x481dxe,_0x481dxf){return Agent[_0xc3ca[28]](_0xc3ca[27])[_0xc3ca[24]](_0x481dxe[_0xc3ca[55]][_0xc3ca[22]])[_0xc3ca[19]](function(_0x481dx1b){if(!_0x481dx1b){return _0x481dxf[_0xc3ca[54]](404)};return _0x481dx1b[_0xc3ca[64]]({attributes:[_0xc3ca[22]]})})[_0xc3ca[19]](function(_0x481dx19){return _0x481dxf[_0xc3ca[17]]({count:_0x481dx19[_0xc3ca[57]],rows:_0x481dx19})})[_0xc3ca[16]](function(_0x481dx11){return handleError(_0x481dxf,_0x481dx11)})};exports[_0xc3ca[65]]=function(_0x481dxe,_0x481dxf){return Agent[_0xc3ca[28]](_0xc3ca[27])[_0xc3ca[24]](_0x481dxe[_0xc3ca[55]][_0xc3ca[22]])[_0xc3ca[19]](function(_0x481dx1b){if(!_0x481dx1b){return _0x481dxf[_0xc3ca[54]](404)};return _0x481dx1b[_0xc3ca[66]]({attributes:[_0xc3ca[22]]})})[_0xc3ca[19]](function(_0x481dx1a){return _0x481dxf[_0xc3ca[17]]({count:_0x481dx1a[_0xc3ca[57]],rows:_0x481dx1a})})[_0xc3ca[16]](function(_0x481dx11){return handleError(_0x481dxf,_0x481dx11)})};exports[_0xc3ca[67]]=function(_0x481dxe,_0x481dxf){var _0x481dx1c;_0x481dxe[_0xc3ca[68]][_0xc3ca[29]]=_0xc3ca[27];return sequelize[_0xc3ca[73]](function(_0x481dx1d){return Agent[_0xc3ca[28]](_0xc3ca[27])[_0xc3ca[67]](_0x481dxe[_0xc3ca[68]],{transaction:_0x481dx1d})[_0xc3ca[19]](function(_0x481dx1b){_0x481dx1c=_0x481dx1b;return Team[_0xc3ca[72]]({where:{defaultEntry:true}})})[_0xc3ca[19]](function(_0x481dx1f){return _0x481dx1f[_0xc3ca[71]](_0x481dx1c[_0xc3ca[22]],{transaction:_0x481dx1d})})[_0xc3ca[19]](function(){return List[_0xc3ca[72]]({where:{defaultEntry:true}})})[_0xc3ca[19]](function(_0x481dx1e){return _0x481dx1e[_0xc3ca[71]](_0x481dx1c[_0xc3ca[22]],{transaction:_0x481dx1d})})})[_0xc3ca[19]](function(){return _0x481dxf[_0xc3ca[18]](201)[_0xc3ca[17]](_0x481dx1c)})[_0xc3ca[16]](sequelize.UniqueConstraintError,function(_0x481dx11){console[_0xc3ca[31]](_0x481dx11);return Util[_0xc3ca[70]][_0xc3ca[69]](_0x481dxf,_0x481dx11)})[_0xc3ca[16]](function(_0x481dx11){console[_0xc3ca[31]](_0x481dx11);return handleError(_0x481dxf,_0x481dx11)})};exports[_0xc3ca[74]]=function(_0x481dxe,_0x481dxf){var _0x481dx20;if(_0x481dxe[_0xc3ca[68]]&&_0x481dxe[_0xc3ca[68]][_0xc3ca[57]]){_0x481dxe[_0xc3ca[68]][_0xc3ca[42]](function(_0x481dx1b){_0x481dx1b[_0xc3ca[29]]=_0xc3ca[27]})};return sequelize[_0xc3ca[73]](function(_0x481dx1d){return Agent[_0xc3ca[74]](_0x481dxe[_0xc3ca[68]],{transaction:_0x481dx1d,individualHooks:true})[_0xc3ca[19]](function(_0x481dx21){_0x481dx20=_0x481dx21;return Team[_0xc3ca[72]]({where:{defaultEntry:true}})})[_0xc3ca[19]](function(_0x481dx1f){return _0x481dx1f[_0xc3ca[75]](_[_0xc3ca[40]](_0x481dx20,_0xc3ca[22]),{transaction:_0x481dx1d})})})[_0xc3ca[19]](function(){return _0x481dxf[_0xc3ca[54]](201)})[_0xc3ca[16]](sequelize.UniqueConstraintError,function(_0x481dx11){console[_0xc3ca[31]](_0x481dx11);return Util[_0xc3ca[70]][_0xc3ca[69]](_0x481dxf,_0x481dx11)})[_0xc3ca[16]](function(_0x481dx11){console[_0xc3ca[31]](_0x481dx11);return handleError(_0x481dxf,_0x481dx11)})};exports[_0xc3ca[76]]=function(_0x481dxe,_0x481dxf){if(_0x481dxe[_0xc3ca[68]][_0xc3ca[22]]){delete _0x481dxe[_0xc3ca[68]][_0xc3ca[22]];delete _0x481dxe[_0xc3ca[68]][_0xc3ca[29]]};return sequelize[_0xc3ca[73]](function(_0x481dx1d){return Agent[_0xc3ca[24]](_0x481dxe[_0xc3ca[55]][_0xc3ca[22]])[_0xc3ca[19]](function(_0x481dx1b){if(!_0x481dx1b){return _0x481dxf[_0xc3ca[54]](404)};var _0x481dx22=_[_0xc3ca[43]](_0x481dx1b,_0x481dxe[_0xc3ca[68]]);return _0x481dx22[_0xc3ca[77]]({transaction:_0x481dx1d})})[_0xc3ca[19]](function(_0x481dx1b){return _0x481dxf[_0xc3ca[18]](200)[_0xc3ca[17]](_0x481dx1b)})})[_0xc3ca[16]](sequelize.UniqueConstraintError,function(_0x481dx11){console[_0xc3ca[31]](_0x481dx11);return Util[_0xc3ca[70]][_0xc3ca[69]](_0x481dxf,_0x481dx11)})[_0xc3ca[16]](function(_0x481dx11){console[_0xc3ca[31]](_0x481dx11);return handleError(_0x481dxf,_0x481dx11)})};exports[_0xc3ca[78]]=function(_0x481dxe,_0x481dxf){var _0x481dx1c;return Agent[_0xc3ca[24]](_0x481dxe[_0xc3ca[55]][_0xc3ca[22]])[_0xc3ca[19]](function(_0x481dx1b){_0x481dx1c=_0x481dx1b;if(!_0x481dx1b){return _0x481dxf[_0xc3ca[54]](404)};return _0x481dx1b[_0xc3ca[78]]()})[_0xc3ca[19]](function(){return _0x481dxf[_0xc3ca[54]](204)})[_0xc3ca[16]](sequelize.ForeignKeyConstraintError,function(_0x481dx11){return Util[_0xc3ca[70]][_0xc3ca[79]](_0x481dxf,_0xc3ca[27],_0x481dx1c[_0xc3ca[39]],_0x481dx11)})[_0xc3ca[16]](function(_0x481dx11){return handleError(_0x481dxf,_0x481dx11)})};exports[_0xc3ca[80]]=function(_0x481dxe,_0x481dxf){return Agent[_0xc3ca[78]]({where:{id:_0x481dxe[_0xc3ca[20]][_0xc3ca[81]]},individualHooks:true})[_0xc3ca[19]](function(){return _0x481dxf[_0xc3ca[54]](204)})[_0xc3ca[16]](function(_0x481dx11){return handleError(_0x481dxf,_0x481dx11)})};exports[_0xc3ca[82]]=function(_0x481dxe,_0x481dxf,_0x481dx10){var _0x481dx23=_0x481dxe[_0xc3ca[23]][_0xc3ca[22]];var _0x481dx24=String(_0x481dxe[_0xc3ca[68]][_0xc3ca[83]]);var _0x481dx25=String(_0x481dxe[_0xc3ca[68]][_0xc3ca[84]]);return Agent[_0xc3ca[24]](_0x481dx23)[_0xc3ca[19]](function(_0x481dx26){if(_0x481dx26[_0xc3ca[85]](_0x481dx24)){_0x481dx26[_0xc3ca[86]]=_0x481dx25;_0x481dx26[_0xc3ca[77]]()[_0xc3ca[19]](function(){return _0x481dxf[_0xc3ca[54]](200)})[_0xc3ca[16]](function(_0x481dx11){return handleError(_0x481dxf,_0x481dx11)})}else {return _0x481dxf[_0xc3ca[54]](403)}})};exports[_0xc3ca[87]]=function(_0x481dxe,_0x481dxf,_0x481dx10){var _0x481dx23=_0x481dxe[_0xc3ca[55]][_0xc3ca[22]];var _0x481dx25=String(_0x481dxe[_0xc3ca[68]][_0xc3ca[84]]);return Agent[_0xc3ca[24]](_0x481dx23)[_0xc3ca[19]](function(_0x481dx26){_0x481dx26[_0xc3ca[86]]=_0x481dx25;return _0x481dx26[_0xc3ca[77]]()})[_0xc3ca[19]](function(){return _0x481dxf[_0xc3ca[54]](200)})[_0xc3ca[16]](function(_0x481dx11){return handleError(_0x481dxf,_0x481dx11)})};function handleError(_0x481dxf,_0x481dx11){return _0x481dxf[_0xc3ca[18]](500)[_0xc3ca[17]](_0x481dx11)} \ No newline at end of file diff --git a/server/api/agent/agent.socket.js b/server/api/agent/agent.socket.js index 80ffef3..745a057 100644 --- a/server/api/agent/agent.socket.js +++ b/server/api/agent/agent.socket.js @@ -1 +1 @@ -var _0xc8cd=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x72\x6F\x6C\x65","\x61\x67\x65\x6E\x74","\x75\x73\x65\x72\x49\x64","\x69\x64","\x6F\x6E\x6C\x69\x6E\x65","\x63\x68\x61\x6E\x67\x65\x64","\x61\x67\x65\x6E\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x61\x67\x65\x6E\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0xc8cd[0];var agent=require(_0xc8cd[2])[_0xc8cd[1]];exports[_0xc8cd[3]]=function(_0x2392x2){agent[_0xc8cd[4]](function(_0x2392x3){onSave(_0x2392x2,_0x2392x3)});agent[_0xc8cd[5]](function(_0x2392x3){onSave(_0x2392x2,_0x2392x3)});agent[_0xc8cd[6]](function(_0x2392x3){onRemove(_0x2392x2,_0x2392x3)})};function onSave(_0x2392x2,_0x2392x3,_0x2392x5){if(_0x2392x3[_0xc8cd[7]]===_0xc8cd[8]&&(_0x2392x2[_0xc8cd[7]]!==_0xc8cd[8]||_0x2392x2[_0xc8cd[9]]==_0x2392x3[_0xc8cd[10]]||_0x2392x3[_0xc8cd[12]](_0xc8cd[11]))){_0x2392x2[_0xc8cd[14]](_0xc8cd[13],_0x2392x3)}}function onRemove(_0x2392x2,_0x2392x3,_0x2392x5){if(_0x2392x3[_0xc8cd[7]]===_0xc8cd[8]&&(_0x2392x2[_0xc8cd[7]]!==_0xc8cd[8]||_0x2392x2[_0xc8cd[9]]==_0x2392x3[_0xc8cd[10]])){_0x2392x2[_0xc8cd[14]](_0xc8cd[15],_0x2392x3)}} \ No newline at end of file +var _0xf839=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x72\x6F\x6C\x65","\x61\x67\x65\x6E\x74","\x75\x73\x65\x72\x49\x64","\x69\x64","\x6F\x6E\x6C\x69\x6E\x65","\x63\x68\x61\x6E\x67\x65\x64","\x61\x67\x65\x6E\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x61\x67\x65\x6E\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0xf839[0];var agent=require(_0xf839[2])[_0xf839[1]];exports[_0xf839[3]]=function(_0xc518x2){agent[_0xf839[4]](function(_0xc518x3){onSave(_0xc518x2,_0xc518x3)});agent[_0xf839[5]](function(_0xc518x3){onSave(_0xc518x2,_0xc518x3)});agent[_0xf839[6]](function(_0xc518x3){onRemove(_0xc518x2,_0xc518x3)})};function onSave(_0xc518x2,_0xc518x3,_0xc518x5){if(_0xc518x3[_0xf839[7]]===_0xf839[8]&&(_0xc518x2[_0xf839[7]]!==_0xf839[8]||_0xc518x2[_0xf839[9]]==_0xc518x3[_0xf839[10]]||_0xc518x3[_0xf839[12]](_0xf839[11]))){_0xc518x2[_0xf839[14]](_0xf839[13],_0xc518x3)}}function onRemove(_0xc518x2,_0xc518x3,_0xc518x5){if(_0xc518x3[_0xf839[7]]===_0xf839[8]&&(_0xc518x2[_0xf839[7]]!==_0xf839[8]||_0xc518x2[_0xf839[9]]==_0xc518x3[_0xf839[10]])){_0xc518x2[_0xf839[14]](_0xf839[15],_0xc518x3)}} \ No newline at end of file diff --git a/server/api/agent/index.js b/server/api/agent/index.js index a047198..9544e50 100644 --- a/server/api/agent/index.js +++ b/server/api/agent/index.js @@ -1 +1 @@ -var _0xa747=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x61\x67\x65\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x72\x65\x61\x6C\x74\x69\x6D\x65","\x72\x65\x61\x6C\x74\x69\x6D\x65\x49\x6E\x64\x65\x78","\x2F\x72\x65\x61\x6C\x74\x69\x6D\x65\x2F\x76\x6F\x69\x63\x65","\x72\x65\x61\x6C\x74\x69\x6D\x65\x56\x6F\x69\x63\x65\x49\x6E\x64\x65\x78","\x2F\x72\x65\x61\x6C\x74\x69\x6D\x65\x2F\x6D\x61\x69\x6C","\x72\x65\x61\x6C\x74\x69\x6D\x65\x4D\x61\x69\x6C\x49\x6E\x64\x65\x78","\x2F\x72\x65\x61\x6C\x74\x69\x6D\x65\x2F\x63\x68\x61\x74","\x72\x65\x61\x6C\x74\x69\x6D\x65\x43\x68\x61\x74\x49\x6E\x64\x65\x78","\x2F\x72\x65\x61\x6C\x74\x69\x6D\x65\x2F\x66\x61\x78","\x72\x65\x61\x6C\x74\x69\x6D\x65\x46\x61\x78\x49\x6E\x64\x65\x78","\x2F\x72\x65\x61\x6C\x74\x69\x6D\x65\x2F\x73\x6D\x73","\x72\x65\x61\x6C\x74\x69\x6D\x65\x53\x6D\x73\x49\x6E\x64\x65\x78","\x2F\x3A\x69\x64","\x75\x73\x65\x72","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x62\x75\x6C\x6B","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x2F\x70\x61\x73\x73\x77\x6F\x72\x64","\x63\x68\x61\x6E\x67\x65\x50\x61\x73\x73\x77\x6F\x72\x64","\x2F\x3A\x69\x64\x2F\x70\x61\x73\x73\x77\x6F\x72\x64","\x72\x65\x73\x65\x74\x50\x61\x73\x73\x77\x6F\x72\x64","\x2F\x3A\x69\x64\x2F\x76\x6F\x69\x63\x65\x2F\x71\x75\x65\x75\x65\x73","\x73\x68\x6F\x77\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73","\x2F\x3A\x69\x64\x2F\x63\x68\x61\x74\x2F\x71\x75\x65\x75\x65\x73","\x73\x68\x6F\x77\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73","\x2F\x3A\x69\x64\x2F\x6D\x61\x69\x6C\x2F\x71\x75\x65\x75\x65\x73","\x73\x68\x6F\x77\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73","\x2F\x3A\x69\x64\x2F\x66\x61\x78\x2F\x71\x75\x65\x75\x65\x73","\x73\x68\x6F\x77\x46\x61\x78\x51\x75\x65\x75\x65\x73","\x2F\x3A\x69\x64\x2F\x73\x6D\x73\x2F\x71\x75\x65\x75\x65\x73","\x73\x68\x6F\x77\x53\x6D\x73\x51\x75\x65\x75\x65\x73","\x65\x78\x70\x6F\x72\x74\x73"];_0xa747[0];var express=require(_0xa747[1]);var controller=require(_0xa747[2]);var auth=require(_0xa747[3]);var license=require(_0xa747[4]);var router=express.Router();router[_0xa747[11]](_0xa747[5],auth[_0xa747[6]](),auth[_0xa747[9]]([4],[_0xa747[7],_0xa747[8]]),controller[_0xa747[10]]);router[_0xa747[11]](_0xa747[12],auth[_0xa747[6]](),auth[_0xa747[9]]([12],[_0xa747[7]]),controller[_0xa747[13]]);router[_0xa747[11]](_0xa747[14],auth[_0xa747[6]](),auth[_0xa747[9]]([7],[_0xa747[7]]),controller[_0xa747[15]]);router[_0xa747[11]](_0xa747[16],auth[_0xa747[6]](),auth[_0xa747[9]]([9],[_0xa747[7]]),controller[_0xa747[17]]);router[_0xa747[11]](_0xa747[18],auth[_0xa747[6]](),auth[_0xa747[9]]([8],[_0xa747[7]]),controller[_0xa747[19]]);router[_0xa747[11]](_0xa747[20],auth[_0xa747[6]](),auth[_0xa747[9]]([10],[_0xa747[7]]),controller[_0xa747[21]]);router[_0xa747[11]](_0xa747[22],auth[_0xa747[6]](),auth[_0xa747[9]]([10],[_0xa747[7]]),controller[_0xa747[23]]);router[_0xa747[11]](_0xa747[24],auth[_0xa747[6]](),auth[_0xa747[9]]([4],[_0xa747[7],_0xa747[25],_0xa747[8]]),controller[_0xa747[26]]);router[_0xa747[28]](_0xa747[5],auth[_0xa747[6]](),auth[_0xa747[9]]([4],[_0xa747[7]]),controller[_0xa747[27]]);router[_0xa747[28]](_0xa747[29],auth[_0xa747[6]](),auth[_0xa747[9]]([4],[_0xa747[7]]),controller[_0xa747[30]]);router[_0xa747[32]](_0xa747[24],auth[_0xa747[6]](),auth[_0xa747[9]]([4],[_0xa747[7]]),controller[_0xa747[31]]);router[_0xa747[34]](_0xa747[5],auth[_0xa747[6]](),auth[_0xa747[9]]([4],[_0xa747[7]]),controller[_0xa747[33]]);router[_0xa747[34]](_0xa747[24],auth[_0xa747[6]](),auth[_0xa747[9]]([4],[_0xa747[7]]),controller[_0xa747[35]]);router[_0xa747[32]](_0xa747[36],auth[_0xa747[6]](),auth[_0xa747[9]]([4],[_0xa747[7]]),controller[_0xa747[37]]);router[_0xa747[32]](_0xa747[38],auth[_0xa747[6]](),auth[_0xa747[9]]([4],[_0xa747[7]]),controller[_0xa747[39]]);router[_0xa747[11]](_0xa747[40],auth[_0xa747[6]](),auth[_0xa747[9]]([4],[_0xa747[7],_0xa747[8]]),controller[_0xa747[41]]);router[_0xa747[11]](_0xa747[42],auth[_0xa747[6]](),auth[_0xa747[9]]([4],[_0xa747[7],_0xa747[8]]),controller[_0xa747[43]]);router[_0xa747[11]](_0xa747[44],auth[_0xa747[6]](),auth[_0xa747[9]]([4],[_0xa747[7],_0xa747[8]]),controller[_0xa747[45]]);router[_0xa747[11]](_0xa747[46],auth[_0xa747[6]](),auth[_0xa747[9]]([4],[_0xa747[7],_0xa747[8]]),controller[_0xa747[47]]);router[_0xa747[11]](_0xa747[48],auth[_0xa747[6]](),auth[_0xa747[9]]([4],[_0xa747[7],_0xa747[8]]),controller[_0xa747[49]]);module[_0xa747[50]]=router \ No newline at end of file +var _0xdbec=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x61\x67\x65\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x72\x65\x61\x6C\x74\x69\x6D\x65","\x72\x65\x61\x6C\x74\x69\x6D\x65\x49\x6E\x64\x65\x78","\x2F\x72\x65\x61\x6C\x74\x69\x6D\x65\x2F\x76\x6F\x69\x63\x65","\x72\x65\x61\x6C\x74\x69\x6D\x65\x56\x6F\x69\x63\x65\x49\x6E\x64\x65\x78","\x2F\x72\x65\x61\x6C\x74\x69\x6D\x65\x2F\x6D\x61\x69\x6C","\x72\x65\x61\x6C\x74\x69\x6D\x65\x4D\x61\x69\x6C\x49\x6E\x64\x65\x78","\x2F\x72\x65\x61\x6C\x74\x69\x6D\x65\x2F\x63\x68\x61\x74","\x72\x65\x61\x6C\x74\x69\x6D\x65\x43\x68\x61\x74\x49\x6E\x64\x65\x78","\x2F\x72\x65\x61\x6C\x74\x69\x6D\x65\x2F\x66\x61\x78","\x72\x65\x61\x6C\x74\x69\x6D\x65\x46\x61\x78\x49\x6E\x64\x65\x78","\x2F\x72\x65\x61\x6C\x74\x69\x6D\x65\x2F\x73\x6D\x73","\x72\x65\x61\x6C\x74\x69\x6D\x65\x53\x6D\x73\x49\x6E\x64\x65\x78","\x2F\x3A\x69\x64","\x75\x73\x65\x72","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x62\x75\x6C\x6B","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x2F\x70\x61\x73\x73\x77\x6F\x72\x64","\x63\x68\x61\x6E\x67\x65\x50\x61\x73\x73\x77\x6F\x72\x64","\x2F\x3A\x69\x64\x2F\x70\x61\x73\x73\x77\x6F\x72\x64","\x72\x65\x73\x65\x74\x50\x61\x73\x73\x77\x6F\x72\x64","\x2F\x3A\x69\x64\x2F\x76\x6F\x69\x63\x65\x2F\x71\x75\x65\x75\x65\x73","\x73\x68\x6F\x77\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73","\x2F\x3A\x69\x64\x2F\x63\x68\x61\x74\x2F\x71\x75\x65\x75\x65\x73","\x73\x68\x6F\x77\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73","\x2F\x3A\x69\x64\x2F\x6D\x61\x69\x6C\x2F\x71\x75\x65\x75\x65\x73","\x73\x68\x6F\x77\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73","\x2F\x3A\x69\x64\x2F\x66\x61\x78\x2F\x71\x75\x65\x75\x65\x73","\x73\x68\x6F\x77\x46\x61\x78\x51\x75\x65\x75\x65\x73","\x2F\x3A\x69\x64\x2F\x73\x6D\x73\x2F\x71\x75\x65\x75\x65\x73","\x73\x68\x6F\x77\x53\x6D\x73\x51\x75\x65\x75\x65\x73","\x65\x78\x70\x6F\x72\x74\x73"];_0xdbec[0];var express=require(_0xdbec[1]);var controller=require(_0xdbec[2]);var auth=require(_0xdbec[3]);var license=require(_0xdbec[4]);var router=express.Router();router[_0xdbec[11]](_0xdbec[5],auth[_0xdbec[6]](),auth[_0xdbec[9]]([4],[_0xdbec[7],_0xdbec[8]]),controller[_0xdbec[10]]);router[_0xdbec[11]](_0xdbec[12],auth[_0xdbec[6]](),auth[_0xdbec[9]]([12],[_0xdbec[7]]),controller[_0xdbec[13]]);router[_0xdbec[11]](_0xdbec[14],auth[_0xdbec[6]](),auth[_0xdbec[9]]([7],[_0xdbec[7]]),controller[_0xdbec[15]]);router[_0xdbec[11]](_0xdbec[16],auth[_0xdbec[6]](),auth[_0xdbec[9]]([9],[_0xdbec[7]]),controller[_0xdbec[17]]);router[_0xdbec[11]](_0xdbec[18],auth[_0xdbec[6]](),auth[_0xdbec[9]]([8],[_0xdbec[7]]),controller[_0xdbec[19]]);router[_0xdbec[11]](_0xdbec[20],auth[_0xdbec[6]](),auth[_0xdbec[9]]([10],[_0xdbec[7]]),controller[_0xdbec[21]]);router[_0xdbec[11]](_0xdbec[22],auth[_0xdbec[6]](),auth[_0xdbec[9]]([10],[_0xdbec[7]]),controller[_0xdbec[23]]);router[_0xdbec[11]](_0xdbec[24],auth[_0xdbec[6]](),auth[_0xdbec[9]]([4],[_0xdbec[7],_0xdbec[25],_0xdbec[8]]),controller[_0xdbec[26]]);router[_0xdbec[28]](_0xdbec[5],auth[_0xdbec[6]](),auth[_0xdbec[9]]([4],[_0xdbec[7]]),controller[_0xdbec[27]]);router[_0xdbec[28]](_0xdbec[29],auth[_0xdbec[6]](),auth[_0xdbec[9]]([4],[_0xdbec[7]]),controller[_0xdbec[30]]);router[_0xdbec[32]](_0xdbec[24],auth[_0xdbec[6]](),auth[_0xdbec[9]]([4],[_0xdbec[7]]),controller[_0xdbec[31]]);router[_0xdbec[34]](_0xdbec[5],auth[_0xdbec[6]](),auth[_0xdbec[9]]([4],[_0xdbec[7]]),controller[_0xdbec[33]]);router[_0xdbec[34]](_0xdbec[24],auth[_0xdbec[6]](),auth[_0xdbec[9]]([4],[_0xdbec[7]]),controller[_0xdbec[35]]);router[_0xdbec[32]](_0xdbec[36],auth[_0xdbec[6]](),auth[_0xdbec[9]]([4],[_0xdbec[7]]),controller[_0xdbec[37]]);router[_0xdbec[32]](_0xdbec[38],auth[_0xdbec[6]](),auth[_0xdbec[9]]([4],[_0xdbec[7]]),controller[_0xdbec[39]]);router[_0xdbec[11]](_0xdbec[40],auth[_0xdbec[6]](),auth[_0xdbec[9]]([4],[_0xdbec[7],_0xdbec[8]]),controller[_0xdbec[41]]);router[_0xdbec[11]](_0xdbec[42],auth[_0xdbec[6]](),auth[_0xdbec[9]]([4],[_0xdbec[7],_0xdbec[8]]),controller[_0xdbec[43]]);router[_0xdbec[11]](_0xdbec[44],auth[_0xdbec[6]](),auth[_0xdbec[9]]([4],[_0xdbec[7],_0xdbec[8]]),controller[_0xdbec[45]]);router[_0xdbec[11]](_0xdbec[46],auth[_0xdbec[6]](),auth[_0xdbec[9]]([4],[_0xdbec[7],_0xdbec[8]]),controller[_0xdbec[47]]);router[_0xdbec[11]](_0xdbec[48],auth[_0xdbec[6]](),auth[_0xdbec[9]]([4],[_0xdbec[7],_0xdbec[8]]),controller[_0xdbec[49]]);module[_0xdbec[50]]=router \ No newline at end of file diff --git a/server/api/ami/ami.ami.js b/server/api/ami/ami.ami.js index f75cda0..7823179 100644 --- a/server/api/ami/ami.ami.js +++ b/server/api/ami/ami.ami.js @@ -1 +1 @@ -var _0xc98c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x41\x6D\x69","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x61\x73\x79\x6E\x63","\x6C\x6F\x64\x61\x73\x68","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x6D\x69","\x61\x63\x74\x69\x6F\x6E","\x69\x73\x43\x6F\x6E\x6E\x65\x63\x74\x65\x64","\x6D\x65\x72\x67\x65","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x63\x72\x65\x61\x74\x65","\x41\x73\x74\x65\x72\x69\x73\x6B\x20\x4D\x61\x6E\x61\x67\x65\x72\x20\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64\x2E\x2E"];_0xc98c[0];var Ami=require(_0xc98c[2])[_0xc98c[1]];var async=require(_0xc98c[3]);var _=require(_0xc98c[4]);var ami=null;exports[_0xc98c[5]]=function(ami){this[_0xc98c[6]]=ami};exports[_0xc98c[7]]=function(_0x5264x5,_0x5264x6){if(this[_0xc98c[6]]&&this[_0xc98c[6]][_0xc98c[8]]()){this[_0xc98c[6]][_0xc98c[7]](_0x5264x5,function(_0x5264x7,_0x5264x8){if(_0x5264x7){_0x5264x6(_0x5264x7)};var _0x5264x9=_[_0xc98c[9]](_0x5264x8,_0x5264x5);Ami[_0xc98c[12]](_0x5264x9)[_0xc98c[11]](function(ami){_0x5264x6(null,ami)})[_0xc98c[10]](function(_0x5264x7){return _0x5264x6(_0x5264x7)})})}else {_0x5264x6( new Error(_0xc98c[13]))}} \ No newline at end of file +var _0x5bb9=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x41\x6D\x69","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x61\x73\x79\x6E\x63","\x6C\x6F\x64\x61\x73\x68","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x6D\x69","\x61\x63\x74\x69\x6F\x6E","\x69\x73\x43\x6F\x6E\x6E\x65\x63\x74\x65\x64","\x6D\x65\x72\x67\x65","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x63\x72\x65\x61\x74\x65","\x41\x73\x74\x65\x72\x69\x73\x6B\x20\x4D\x61\x6E\x61\x67\x65\x72\x20\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64\x2E\x2E"];_0x5bb9[0];var Ami=require(_0x5bb9[2])[_0x5bb9[1]];var async=require(_0x5bb9[3]);var _=require(_0x5bb9[4]);var ami=null;exports[_0x5bb9[5]]=function(ami){this[_0x5bb9[6]]=ami};exports[_0x5bb9[7]]=function(_0xa8b7x5,_0xa8b7x6){if(this[_0x5bb9[6]]&&this[_0x5bb9[6]][_0x5bb9[8]]()){this[_0x5bb9[6]][_0x5bb9[7]](_0xa8b7x5,function(_0xa8b7x7,_0xa8b7x8){if(_0xa8b7x7){_0xa8b7x6(_0xa8b7x7)};var _0xa8b7x9=_[_0x5bb9[9]](_0xa8b7x8,_0xa8b7x5);Ami[_0x5bb9[12]](_0xa8b7x9)[_0x5bb9[11]](function(ami){_0xa8b7x6(null,ami)})[_0x5bb9[10]](function(_0xa8b7x7){return _0xa8b7x6(_0xa8b7x7)})})}else {_0xa8b7x6( new Error(_0x5bb9[13]))}} \ No newline at end of file diff --git a/server/api/ami/ami.controller.js b/server/api/ami/ami.controller.js index 8746b73..7e6039d 100644 --- a/server/api/ami/ami.controller.js +++ b/server/api/ami/ami.controller.js @@ -1 +1 @@ -var _0x7d97=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x41\x6D\x69","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x63\x72\x65\x61\x74\x65","\x64\x61\x74\x61","\x62\x6F\x64\x79","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x55\x73\x65\x72\x49\x64","\x69\x64","\x75\x73\x65\x72","\x61\x63\x74\x69\x6F\x6E","\x2E\x2F\x61\x6D\x69\x2E\x61\x6D\x69"];_0x7d97[0];var _=require(_0x7d97[1]);var Ami=require(_0x7d97[3])[_0x7d97[2]];var Util=require(_0x7d97[4]);exports[_0x7d97[5]]=function(_0xce1dx4,_0xce1dx5,_0xce1dx6){return Ami[_0x7d97[12]](Util[_0x7d97[11]](_0xce1dx4[_0x7d97[10]]))[_0x7d97[9]](function(_0xce1dx8){return _0xce1dx5[_0x7d97[8]](200)[_0x7d97[7]](_0xce1dx8)})[_0x7d97[6]](function(_0xce1dx7){return handleError(_0xce1dx5,_0xce1dx7)})};exports[_0x7d97[13]]=function(_0xce1dx4,_0xce1dx5){_0xce1dx4[_0x7d97[15]][_0x7d97[14]]=JSON[_0x7d97[16]](_0xce1dx4[_0x7d97[15]]);_0xce1dx4[_0x7d97[15]][_0x7d97[17]]=_0xce1dx4[_0x7d97[19]][_0x7d97[18]];require(_0x7d97[21])[_0x7d97[20]](_0xce1dx4[_0x7d97[15]],function(_0xce1dx7,_0xce1dx8){if(_0xce1dx7){handleError(_0xce1dx5,_0xce1dx7)}else {return _0xce1dx5[_0x7d97[8]](201)[_0x7d97[7]](_0xce1dx8)}})};function handleError(_0xce1dx5,_0xce1dx7){return _0xce1dx5[_0x7d97[8]](500)[_0x7d97[7]](_0xce1dx7)} \ No newline at end of file +var _0x1b24=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x41\x6D\x69","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x63\x72\x65\x61\x74\x65","\x64\x61\x74\x61","\x62\x6F\x64\x79","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x55\x73\x65\x72\x49\x64","\x69\x64","\x75\x73\x65\x72","\x61\x63\x74\x69\x6F\x6E","\x2E\x2F\x61\x6D\x69\x2E\x61\x6D\x69"];_0x1b24[0];var _=require(_0x1b24[1]);var Ami=require(_0x1b24[3])[_0x1b24[2]];var Util=require(_0x1b24[4]);exports[_0x1b24[5]]=function(_0x76efx4,_0x76efx5,_0x76efx6){return Ami[_0x1b24[12]](Util[_0x1b24[11]](_0x76efx4[_0x1b24[10]]))[_0x1b24[9]](function(_0x76efx8){return _0x76efx5[_0x1b24[8]](200)[_0x1b24[7]](_0x76efx8)})[_0x1b24[6]](function(_0x76efx7){return handleError(_0x76efx5,_0x76efx7)})};exports[_0x1b24[13]]=function(_0x76efx4,_0x76efx5){_0x76efx4[_0x1b24[15]][_0x1b24[14]]=JSON[_0x1b24[16]](_0x76efx4[_0x1b24[15]]);_0x76efx4[_0x1b24[15]][_0x1b24[17]]=_0x76efx4[_0x1b24[19]][_0x1b24[18]];require(_0x1b24[21])[_0x1b24[20]](_0x76efx4[_0x1b24[15]],function(_0x76efx7,_0x76efx8){if(_0x76efx7){handleError(_0x76efx5,_0x76efx7)}else {return _0x76efx5[_0x1b24[8]](201)[_0x1b24[7]](_0x76efx8)}})};function handleError(_0x76efx5,_0x76efx7){return _0x76efx5[_0x1b24[8]](500)[_0x1b24[7]](_0x76efx7)} \ No newline at end of file diff --git a/server/api/ami/ami.socket.js b/server/api/ami/ami.socket.js index 4fca5ed..6ff15c2 100644 --- a/server/api/ami/ami.socket.js +++ b/server/api/ami/ami.socket.js @@ -1 +1 @@ -var _0xc83b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x41\x6D\x69","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x61\x6D\x69\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x61\x6D\x69\x3A\x72\x65\x6D\x6F\x76\x65"];_0xc83b[0];var Ami=require(_0xc83b[2])[_0xc83b[1]];exports[_0xc83b[3]]=function(_0x3a4ax2){Ami[_0xc83b[4]](function(_0x3a4ax3){onSave(_0x3a4ax2,_0x3a4ax3)});Ami[_0xc83b[5]](function(_0x3a4ax3){onRemove(_0x3a4ax2,_0x3a4ax3)})};function onSave(_0x3a4ax2,_0x3a4ax3,_0x3a4ax5){_0x3a4ax2[_0xc83b[7]](_0xc83b[6],_0x3a4ax3)}function onRemove(_0x3a4ax2,_0x3a4ax3,_0x3a4ax5){_0x3a4ax2[_0xc83b[7]](_0xc83b[8],_0x3a4ax3)} \ No newline at end of file +var _0xce5d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x41\x6D\x69","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x61\x6D\x69\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x61\x6D\x69\x3A\x72\x65\x6D\x6F\x76\x65"];_0xce5d[0];var Ami=require(_0xce5d[2])[_0xce5d[1]];exports[_0xce5d[3]]=function(_0x31b2x2){Ami[_0xce5d[4]](function(_0x31b2x3){onSave(_0x31b2x2,_0x31b2x3)});Ami[_0xce5d[5]](function(_0x31b2x3){onRemove(_0x31b2x2,_0x31b2x3)})};function onSave(_0x31b2x2,_0x31b2x3,_0x31b2x5){_0x31b2x2[_0xce5d[7]](_0xce5d[6],_0x31b2x3)}function onRemove(_0x31b2x2,_0x31b2x3,_0x31b2x5){_0x31b2x2[_0xce5d[7]](_0xce5d[8],_0x31b2x3)} \ No newline at end of file diff --git a/server/api/ami/index.js b/server/api/ami/index.js index 029e3bc..375c076 100644 --- a/server/api/ami/index.js +++ b/server/api/ami/index.js @@ -1 +1 @@ -var _0xddb0=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x61\x6D\x69\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0xddb0[0];var express=require(_0xddb0[1]);var controller=require(_0xddb0[2]);var auth=require(_0xddb0[3]);var router=express.Router();router[_0xddb0[7]](_0xddb0[4],auth[_0xddb0[5]](),controller[_0xddb0[6]]);router[_0xddb0[9]](_0xddb0[4],auth[_0xddb0[5]](),controller[_0xddb0[8]]);module[_0xddb0[10]]=router \ No newline at end of file +var _0x68db=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x61\x6D\x69\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x68db[0];var express=require(_0x68db[1]);var controller=require(_0x68db[2]);var auth=require(_0x68db[3]);var router=express.Router();router[_0x68db[7]](_0x68db[4],auth[_0x68db[5]](),controller[_0x68db[6]]);router[_0x68db[9]](_0x68db[4],auth[_0x68db[5]](),controller[_0x68db[8]]);module[_0x68db[10]]=router \ No newline at end of file diff --git a/server/api/automation/automation.controller.js b/server/api/automation/automation.controller.js index 3d5c945..86f4dd6 100644 --- a/server/api/automation/automation.controller.js +++ b/server/api/automation/automation.controller.js @@ -1 +1 @@ -var _0x7f36=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E","\x54\x6F\x6F\x6C\x73\x43\x6F\x6E\x64\x69\x74\x69\x6F\x6E","\x54\x6F\x6F\x6C\x73\x41\x63\x74\x69\x6F\x6E","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x61\x6C\x6C","\x73\x63\x6F\x70\x65","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x41\x6C\x6C","\x41\x6E\x79","\x41\x63\x74\x69\x6F\x6E\x73","\x75\x70\x64\x61\x74\x65","\x6C\x6F\x67","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x69\x73\x41\x72\x72\x61\x79","\x6C\x65\x6E\x67\x74\x68","\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x49\x64","\x66\x6F\x72\x45\x61\x63\x68","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x41\x6C\x6C\x49\x64","\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x41\x6E\x79\x49\x64","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0x7f36[0];var _=require(_0x7f36[1]);var util=require(_0x7f36[2]);var Util=require(_0x7f36[3]);var sequelize=require(_0x7f36[5])[_0x7f36[4]];var Automation=require(_0x7f36[5])[_0x7f36[6]];var ToolsCondition=require(_0x7f36[5])[_0x7f36[7]];var ToolsAction=require(_0x7f36[5])[_0x7f36[8]];exports[_0x7f36[9]]=function(_0xc7e1x8,_0xc7e1x9,_0xc7e1xa){return Automation[_0x7f36[18]](_0x7f36[17])[_0x7f36[16]](Util[_0x7f36[15]](_0xc7e1x8[_0x7f36[14]]))[_0x7f36[13]](function(_0xc7e1xc){_0xc7e1x9[_0x7f36[12]](200)[_0x7f36[11]](_0xc7e1xc)})[_0x7f36[10]](function(_0xc7e1xb){return handleError(_0xc7e1x9,_0xc7e1xb)})};exports[_0x7f36[19]]=function(_0xc7e1x8,_0xc7e1x9){return Automation[_0x7f36[18]](_0x7f36[17])[_0x7f36[23]](_0xc7e1x8[_0x7f36[22]][_0x7f36[21]])[_0x7f36[13]](function(Automation){if(!Automation){return _0xc7e1x9[_0x7f36[20]](404)};return _0xc7e1x9[_0x7f36[11]](Automation)})[_0x7f36[10]](function(_0xc7e1xb){return handleError(_0xc7e1x9,_0xc7e1xb)})};exports[_0x7f36[24]]=function(_0xc7e1x8,_0xc7e1x9,_0xc7e1xa){return Automation[_0x7f36[24]](_0xc7e1x8[_0x7f36[25]],{include:[{model:ToolsCondition,as:_0x7f36[26]},{model:ToolsCondition,as:_0x7f36[27]},{model:ToolsAction,as:_0x7f36[28]}]})[_0x7f36[13]](function(){return _0xc7e1x9[_0x7f36[20]](201)})[_0x7f36[10]](function(_0xc7e1xb){return handleError(_0xc7e1x9,_0xc7e1xb)})};exports[_0x7f36[29]]=function(_0xc7e1x8,_0xc7e1x9,_0xc7e1xa){var _0xc7e1xd;if(_0xc7e1x8[_0x7f36[25]][_0x7f36[21]]){delete _0xc7e1x8[_0x7f36[25]][_0x7f36[21]]};return sequelize[_0x7f36[41]](function(_0xc7e1xe){return Automation[_0x7f36[23]](_0xc7e1x8[_0x7f36[22]][_0x7f36[21]])[_0x7f36[13]](function(_0xc7e1x11){if(!_0xc7e1x11){return _0xc7e1x9[_0x7f36[20]](404)};_0xc7e1xd=_0xc7e1x11;if(_0xc7e1x8[_0x7f36[25]][_0x7f36[27]]){return ToolsCondition[_0x7f36[38]]({where:{AutomationAnyId:_0xc7e1x8[_0x7f36[22]][_0x7f36[21]]},transaction:_0xc7e1xe})}})[_0x7f36[13]](function(){if(_0xc7e1x8[_0x7f36[25]][_0x7f36[27]]&&Array[_0x7f36[33]](_0xc7e1x8[_0x7f36[25]].Any)&&_0xc7e1x8[_0x7f36[25]][_0x7f36[27]][_0x7f36[34]]){_[_0x7f36[36]](_0xc7e1x8[_0x7f36[25]].Any,function(_0xc7e1x10){_0xc7e1x10[_0x7f36[40]]=_0xc7e1x8[_0x7f36[22]][_0x7f36[21]]});return ToolsCondition[_0x7f36[37]](_0xc7e1x8[_0x7f36[25]].Any,{transaction:_0xc7e1xe})};return})[_0x7f36[13]](function(){if(_0xc7e1x8[_0x7f36[25]][_0x7f36[26]]){return ToolsCondition[_0x7f36[38]]({where:{AutomationAllId:_0xc7e1x8[_0x7f36[22]][_0x7f36[21]]},transaction:_0xc7e1xe})}})[_0x7f36[13]](function(){if(_0xc7e1x8[_0x7f36[25]][_0x7f36[26]]&&Array[_0x7f36[33]](_0xc7e1x8[_0x7f36[25]].All)&&_0xc7e1x8[_0x7f36[25]][_0x7f36[26]][_0x7f36[34]]){_[_0x7f36[36]](_0xc7e1x8[_0x7f36[25]].All,function(_0xc7e1x10){_0xc7e1x10[_0x7f36[39]]=_0xc7e1x8[_0x7f36[22]][_0x7f36[21]]});return ToolsCondition[_0x7f36[37]](_0xc7e1x8[_0x7f36[25]].All,{transaction:_0xc7e1xe})};return})[_0x7f36[13]](function(){if(_0xc7e1x8[_0x7f36[25]][_0x7f36[28]]){return ToolsAction[_0x7f36[38]]({where:{AutomationId:_0xc7e1x8[_0x7f36[22]][_0x7f36[21]]},transaction:_0xc7e1xe})}})[_0x7f36[13]](function(){if(_0xc7e1x8[_0x7f36[25]][_0x7f36[28]]&&Array[_0x7f36[33]](_0xc7e1x8[_0x7f36[25]].Actions)&&_0xc7e1x8[_0x7f36[25]][_0x7f36[28]][_0x7f36[34]]){_[_0x7f36[36]](_0xc7e1x8[_0x7f36[25]].Actions,function(_0xc7e1x10){_0xc7e1x10[_0x7f36[35]]=_0xc7e1x8[_0x7f36[22]][_0x7f36[21]]});return ToolsAction[_0x7f36[37]](_0xc7e1x8[_0x7f36[25]].Actions,{transaction:_0xc7e1xe})};return})[_0x7f36[13]](function(){var _0xc7e1xf=_[_0x7f36[31]](_0xc7e1xd,_0xc7e1x8[_0x7f36[25]]);return _0xc7e1xf[_0x7f36[32]]({transaction:_0xc7e1xe})})})[_0x7f36[13]](function(){return _0xc7e1x9[_0x7f36[20]](200)})[_0x7f36[10]](function(_0xc7e1xb){console[_0x7f36[30]](_0xc7e1xb);return handleError(_0xc7e1x9,_0xc7e1xb)})};exports[_0x7f36[38]]=function(_0xc7e1x8,_0xc7e1x9){return Automation[_0x7f36[23]](_0xc7e1x8[_0x7f36[22]][_0x7f36[21]])[_0x7f36[13]](function(Automation){if(!Automation){return _0xc7e1x9[_0x7f36[20]](404)};Automation[_0x7f36[38]]()[_0x7f36[13]](function(){return _0xc7e1x9[_0x7f36[20]](204)})[_0x7f36[10]](function(_0xc7e1xb){return handleError(_0xc7e1x9,_0xc7e1xb)})})[_0x7f36[10]](function(_0xc7e1xb){return handleError(_0xc7e1x9,_0xc7e1xb)})};exports[_0x7f36[42]]=function(_0xc7e1x8,_0xc7e1x9){return Automation[_0x7f36[38]]({where:{id:_0xc7e1x8[_0x7f36[14]][_0x7f36[43]]},individualHooks:true})[_0x7f36[13]](function(){return _0xc7e1x9[_0x7f36[20]](204)})[_0x7f36[10]](function(_0xc7e1xb){return handleError(_0xc7e1x9,_0xc7e1xb)})};function handleError(_0xc7e1x9,_0xc7e1xb){return _0xc7e1x9[_0x7f36[12]](500)[_0x7f36[11]](_0xc7e1xb)} \ No newline at end of file +var _0x3026=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E","\x54\x6F\x6F\x6C\x73\x43\x6F\x6E\x64\x69\x74\x69\x6F\x6E","\x54\x6F\x6F\x6C\x73\x41\x63\x74\x69\x6F\x6E","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x61\x6C\x6C","\x73\x63\x6F\x70\x65","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x41\x6C\x6C","\x41\x6E\x79","\x41\x63\x74\x69\x6F\x6E\x73","\x75\x70\x64\x61\x74\x65","\x6C\x6F\x67","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x69\x73\x41\x72\x72\x61\x79","\x6C\x65\x6E\x67\x74\x68","\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x49\x64","\x66\x6F\x72\x45\x61\x63\x68","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x41\x6C\x6C\x49\x64","\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x41\x6E\x79\x49\x64","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0x3026[0];var _=require(_0x3026[1]);var util=require(_0x3026[2]);var Util=require(_0x3026[3]);var sequelize=require(_0x3026[5])[_0x3026[4]];var Automation=require(_0x3026[5])[_0x3026[6]];var ToolsCondition=require(_0x3026[5])[_0x3026[7]];var ToolsAction=require(_0x3026[5])[_0x3026[8]];exports[_0x3026[9]]=function(_0x9eebx8,_0x9eebx9,_0x9eebxa){return Automation[_0x3026[18]](_0x3026[17])[_0x3026[16]](Util[_0x3026[15]](_0x9eebx8[_0x3026[14]]))[_0x3026[13]](function(_0x9eebxc){_0x9eebx9[_0x3026[12]](200)[_0x3026[11]](_0x9eebxc)})[_0x3026[10]](function(_0x9eebxb){return handleError(_0x9eebx9,_0x9eebxb)})};exports[_0x3026[19]]=function(_0x9eebx8,_0x9eebx9){return Automation[_0x3026[18]](_0x3026[17])[_0x3026[23]](_0x9eebx8[_0x3026[22]][_0x3026[21]])[_0x3026[13]](function(Automation){if(!Automation){return _0x9eebx9[_0x3026[20]](404)};return _0x9eebx9[_0x3026[11]](Automation)})[_0x3026[10]](function(_0x9eebxb){return handleError(_0x9eebx9,_0x9eebxb)})};exports[_0x3026[24]]=function(_0x9eebx8,_0x9eebx9,_0x9eebxa){return Automation[_0x3026[24]](_0x9eebx8[_0x3026[25]],{include:[{model:ToolsCondition,as:_0x3026[26]},{model:ToolsCondition,as:_0x3026[27]},{model:ToolsAction,as:_0x3026[28]}]})[_0x3026[13]](function(){return _0x9eebx9[_0x3026[20]](201)})[_0x3026[10]](function(_0x9eebxb){return handleError(_0x9eebx9,_0x9eebxb)})};exports[_0x3026[29]]=function(_0x9eebx8,_0x9eebx9,_0x9eebxa){var _0x9eebxd;if(_0x9eebx8[_0x3026[25]][_0x3026[21]]){delete _0x9eebx8[_0x3026[25]][_0x3026[21]]};return sequelize[_0x3026[41]](function(_0x9eebxe){return Automation[_0x3026[23]](_0x9eebx8[_0x3026[22]][_0x3026[21]])[_0x3026[13]](function(_0x9eebx11){if(!_0x9eebx11){return _0x9eebx9[_0x3026[20]](404)};_0x9eebxd=_0x9eebx11;if(_0x9eebx8[_0x3026[25]][_0x3026[27]]){return ToolsCondition[_0x3026[38]]({where:{AutomationAnyId:_0x9eebx8[_0x3026[22]][_0x3026[21]]},transaction:_0x9eebxe})}})[_0x3026[13]](function(){if(_0x9eebx8[_0x3026[25]][_0x3026[27]]&&Array[_0x3026[33]](_0x9eebx8[_0x3026[25]].Any)&&_0x9eebx8[_0x3026[25]][_0x3026[27]][_0x3026[34]]){_[_0x3026[36]](_0x9eebx8[_0x3026[25]].Any,function(_0x9eebx10){_0x9eebx10[_0x3026[40]]=_0x9eebx8[_0x3026[22]][_0x3026[21]]});return ToolsCondition[_0x3026[37]](_0x9eebx8[_0x3026[25]].Any,{transaction:_0x9eebxe})};return})[_0x3026[13]](function(){if(_0x9eebx8[_0x3026[25]][_0x3026[26]]){return ToolsCondition[_0x3026[38]]({where:{AutomationAllId:_0x9eebx8[_0x3026[22]][_0x3026[21]]},transaction:_0x9eebxe})}})[_0x3026[13]](function(){if(_0x9eebx8[_0x3026[25]][_0x3026[26]]&&Array[_0x3026[33]](_0x9eebx8[_0x3026[25]].All)&&_0x9eebx8[_0x3026[25]][_0x3026[26]][_0x3026[34]]){_[_0x3026[36]](_0x9eebx8[_0x3026[25]].All,function(_0x9eebx10){_0x9eebx10[_0x3026[39]]=_0x9eebx8[_0x3026[22]][_0x3026[21]]});return ToolsCondition[_0x3026[37]](_0x9eebx8[_0x3026[25]].All,{transaction:_0x9eebxe})};return})[_0x3026[13]](function(){if(_0x9eebx8[_0x3026[25]][_0x3026[28]]){return ToolsAction[_0x3026[38]]({where:{AutomationId:_0x9eebx8[_0x3026[22]][_0x3026[21]]},transaction:_0x9eebxe})}})[_0x3026[13]](function(){if(_0x9eebx8[_0x3026[25]][_0x3026[28]]&&Array[_0x3026[33]](_0x9eebx8[_0x3026[25]].Actions)&&_0x9eebx8[_0x3026[25]][_0x3026[28]][_0x3026[34]]){_[_0x3026[36]](_0x9eebx8[_0x3026[25]].Actions,function(_0x9eebx10){_0x9eebx10[_0x3026[35]]=_0x9eebx8[_0x3026[22]][_0x3026[21]]});return ToolsAction[_0x3026[37]](_0x9eebx8[_0x3026[25]].Actions,{transaction:_0x9eebxe})};return})[_0x3026[13]](function(){var _0x9eebxf=_[_0x3026[31]](_0x9eebxd,_0x9eebx8[_0x3026[25]]);return _0x9eebxf[_0x3026[32]]({transaction:_0x9eebxe})})})[_0x3026[13]](function(){return _0x9eebx9[_0x3026[20]](200)})[_0x3026[10]](function(_0x9eebxb){console[_0x3026[30]](_0x9eebxb);return handleError(_0x9eebx9,_0x9eebxb)})};exports[_0x3026[38]]=function(_0x9eebx8,_0x9eebx9){return Automation[_0x3026[23]](_0x9eebx8[_0x3026[22]][_0x3026[21]])[_0x3026[13]](function(Automation){if(!Automation){return _0x9eebx9[_0x3026[20]](404)};Automation[_0x3026[38]]()[_0x3026[13]](function(){return _0x9eebx9[_0x3026[20]](204)})[_0x3026[10]](function(_0x9eebxb){return handleError(_0x9eebx9,_0x9eebxb)})})[_0x3026[10]](function(_0x9eebxb){return handleError(_0x9eebx9,_0x9eebxb)})};exports[_0x3026[42]]=function(_0x9eebx8,_0x9eebx9){return Automation[_0x3026[38]]({where:{id:_0x9eebx8[_0x3026[14]][_0x3026[43]]},individualHooks:true})[_0x3026[13]](function(){return _0x9eebx9[_0x3026[20]](204)})[_0x3026[10]](function(_0x9eebxb){return handleError(_0x9eebx9,_0x9eebxb)})};function handleError(_0x9eebx9,_0x9eebxb){return _0x9eebx9[_0x3026[12]](500)[_0x3026[11]](_0x9eebxb)} \ No newline at end of file diff --git a/server/api/automation/automation.socket.js b/server/api/automation/automation.socket.js index 004a002..35fc9ad 100644 --- a/server/api/automation/automation.socket.js +++ b/server/api/automation/automation.socket.js @@ -1 +1 @@ -var _0x24dd=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x24dd[0];var Automation=require(_0x24dd[2])[_0x24dd[1]];exports[_0x24dd[3]]=function(_0x3c63x2){Automation[_0x24dd[4]](function(_0x3c63x3){onSave(_0x3c63x2,_0x3c63x3)});Automation[_0x24dd[5]](function(_0x3c63x3){onRemove(_0x3c63x2,_0x3c63x3)})};function onSave(_0x3c63x2,_0x3c63x3,_0x3c63x5){_0x3c63x2[_0x24dd[7]](_0x24dd[6],_0x3c63x3)}function onRemove(_0x3c63x2,_0x3c63x3,_0x3c63x5){_0x3c63x2[_0x24dd[7]](_0x24dd[8],_0x3c63x3)} \ No newline at end of file +var _0xaa39=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0xaa39[0];var Automation=require(_0xaa39[2])[_0xaa39[1]];exports[_0xaa39[3]]=function(_0xcb47x2){Automation[_0xaa39[4]](function(_0xcb47x3){onSave(_0xcb47x2,_0xcb47x3)});Automation[_0xaa39[5]](function(_0xcb47x3){onRemove(_0xcb47x2,_0xcb47x3)})};function onSave(_0xcb47x2,_0xcb47x3,_0xcb47x5){_0xcb47x2[_0xaa39[7]](_0xaa39[6],_0xcb47x3)}function onRemove(_0xcb47x2,_0xcb47x3,_0xcb47x5){_0xcb47x2[_0xaa39[7]](_0xaa39[8],_0xcb47x3)} \ No newline at end of file diff --git a/server/api/automation/index.js b/server/api/automation/index.js index 11a8dc4..0721452 100644 --- a/server/api/automation/index.js +++ b/server/api/automation/index.js @@ -1 +1 @@ -var _0xe39b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0xe39b[0];var express=require(_0xe39b[1]);var controller=require(_0xe39b[2]);var auth=require(_0xe39b[3]);var router=express.Router();router[_0xe39b[9]](_0xe39b[4],auth[_0xe39b[5]](),auth[_0xe39b[7]]([13],[_0xe39b[6]]),controller[_0xe39b[8]]);router[_0xe39b[9]](_0xe39b[10],auth[_0xe39b[5]](),auth[_0xe39b[7]]([13],[_0xe39b[6]]),controller[_0xe39b[11]]);router[_0xe39b[13]](_0xe39b[4],auth[_0xe39b[5]](),auth[_0xe39b[7]]([13],[_0xe39b[6]]),controller[_0xe39b[12]]);router[_0xe39b[15]](_0xe39b[10],auth[_0xe39b[5]](),auth[_0xe39b[7]]([13],[_0xe39b[6]]),controller[_0xe39b[14]]);router[_0xe39b[17]](_0xe39b[10],auth[_0xe39b[5]](),auth[_0xe39b[7]]([13],[_0xe39b[6]]),controller[_0xe39b[16]]);router[_0xe39b[17]](_0xe39b[4],auth[_0xe39b[5]](),auth[_0xe39b[7]]([13],[_0xe39b[6]]),controller[_0xe39b[18]]);module[_0xe39b[19]]=router \ No newline at end of file +var _0x7948=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x7948[0];var express=require(_0x7948[1]);var controller=require(_0x7948[2]);var auth=require(_0x7948[3]);var router=express.Router();router[_0x7948[9]](_0x7948[4],auth[_0x7948[5]](),auth[_0x7948[7]]([13],[_0x7948[6]]),controller[_0x7948[8]]);router[_0x7948[9]](_0x7948[10],auth[_0x7948[5]](),auth[_0x7948[7]]([13],[_0x7948[6]]),controller[_0x7948[11]]);router[_0x7948[13]](_0x7948[4],auth[_0x7948[5]](),auth[_0x7948[7]]([13],[_0x7948[6]]),controller[_0x7948[12]]);router[_0x7948[15]](_0x7948[10],auth[_0x7948[5]](),auth[_0x7948[7]]([13],[_0x7948[6]]),controller[_0x7948[14]]);router[_0x7948[17]](_0x7948[10],auth[_0x7948[5]](),auth[_0x7948[7]]([13],[_0x7948[6]]),controller[_0x7948[16]]);router[_0x7948[17]](_0x7948[4],auth[_0x7948[5]](),auth[_0x7948[7]]([13],[_0x7948[6]]),controller[_0x7948[18]]);module[_0x7948[19]]=router \ No newline at end of file diff --git a/server/api/canned_answer/canned_answer.controller.js b/server/api/canned_answer/canned_answer.controller.js index d23d311..069651d 100644 --- a/server/api/canned_answer/canned_answer.controller.js +++ b/server/api/canned_answer/canned_answer.controller.js @@ -1 +1 @@ -var _0xe77f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x43\x61\x6E\x6E\x65\x64\x41\x6E\x73\x77\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64\x73"];_0xe77f[0];var _=require(_0xe77f[1]);var Util=require(_0xe77f[2]);var CannedAnswer=require(_0xe77f[4])[_0xe77f[3]];function handleError(_0x9b1bx5,_0x9b1bx6){_0x9b1bx6=_0x9b1bx6||500;return function(_0x9b1bx7){_0x9b1bx5[_0xe77f[6]](_0x9b1bx6)[_0xe77f[5]](_0x9b1bx7)}}function responseWithResult(_0x9b1bx5,_0x9b1bx6){_0x9b1bx6=_0x9b1bx6||200;return function(_0x9b1bx9){if(_0x9b1bx9){_0x9b1bx5[_0xe77f[6]](_0x9b1bx6)[_0xe77f[7]](_0x9b1bx9)}}}function handleEntityNotFound(_0x9b1bx5){return function(_0x9b1bx9){if(!_0x9b1bx9){_0x9b1bx5[_0xe77f[6]](404)[_0xe77f[8]]();return null};return _0x9b1bx9}}function saveUpdates(_0x9b1bxc){return function(_0x9b1bx9){return _0x9b1bx9[_0xe77f[10]](_0x9b1bxc)[_0xe77f[9]](function(_0x9b1bxd){return _0x9b1bxd})}}function removeEntity(_0x9b1bx5){return function(_0x9b1bx9){if(_0x9b1bx9){return _0x9b1bx9[_0xe77f[11]]()[_0xe77f[9]](function(){_0x9b1bx5[_0xe77f[6]](204)[_0xe77f[8]]()})}}}exports[_0xe77f[12]]=function(_0x9b1bxf,_0x9b1bx5,_0x9b1bx10){return CannedAnswer[_0xe77f[17]](Util[_0xe77f[16]](_0x9b1bxf[_0xe77f[15]]))[_0xe77f[9]](function(_0x9b1bx11){_0x9b1bx5[_0xe77f[6]](200)[_0xe77f[5]](_0x9b1bx11)})[_0xe77f[14]](function(_0x9b1bx7){console[_0xe77f[13]](_0x9b1bx7);return handleError(_0x9b1bx5,_0x9b1bx7)})};exports[_0xe77f[18]]=function(_0x9b1bxf,_0x9b1bx5){return CannedAnswer[_0xe77f[21]](_0x9b1bxf[_0xe77f[20]][_0xe77f[19]])[_0xe77f[9]](handleEntityNotFound(_0x9b1bx5))[_0xe77f[9]](responseWithResult(_0x9b1bx5))[_0xe77f[14]](handleError(_0x9b1bx5))};exports[_0xe77f[22]]=function(_0x9b1bxf,_0x9b1bx5){CannedAnswer[_0xe77f[22]](_0x9b1bxf[_0xe77f[23]])[_0xe77f[9]](responseWithResult(_0x9b1bx5,201))[_0xe77f[14]](handleError(_0x9b1bx5))};exports[_0xe77f[24]]=function(_0x9b1bxf,_0x9b1bx5){if(_0x9b1bxf[_0xe77f[23]][_0xe77f[19]]){delete _0x9b1bxf[_0xe77f[23]][_0xe77f[19]]};return CannedAnswer[_0xe77f[21]](_0x9b1bxf[_0xe77f[20]][_0xe77f[19]])[_0xe77f[9]](handleEntityNotFound(_0x9b1bx5))[_0xe77f[9]](saveUpdates(_0x9b1bxf[_0xe77f[23]]))[_0xe77f[9]](responseWithResult(_0x9b1bx5))[_0xe77f[14]](handleError(_0x9b1bx5))};exports[_0xe77f[11]]=function(_0x9b1bxf,_0x9b1bx5){return CannedAnswer[_0xe77f[21]](_0x9b1bxf[_0xe77f[20]][_0xe77f[19]])[_0xe77f[9]](handleEntityNotFound(_0x9b1bx5))[_0xe77f[9]](removeEntity(_0x9b1bx5))[_0xe77f[14]](handleError(_0x9b1bx5))};exports[_0xe77f[25]]=function(_0x9b1bxf,_0x9b1bx5){return CannedAnswer[_0xe77f[11]]({where:{id:_0x9b1bxf[_0xe77f[15]][_0xe77f[27]]},individualHooks:true})[_0xe77f[9]](function(){return _0x9b1bx5[_0xe77f[26]](204)})[_0xe77f[14]](function(_0x9b1bx7){return handleError(_0x9b1bx5,_0x9b1bx7)})} \ No newline at end of file +var _0xb8fb=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x43\x61\x6E\x6E\x65\x64\x41\x6E\x73\x77\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64\x73"];_0xb8fb[0];var _=require(_0xb8fb[1]);var Util=require(_0xb8fb[2]);var CannedAnswer=require(_0xb8fb[4])[_0xb8fb[3]];function handleError(_0xc76ax5,_0xc76ax6){_0xc76ax6=_0xc76ax6||500;return function(_0xc76ax7){_0xc76ax5[_0xb8fb[6]](_0xc76ax6)[_0xb8fb[5]](_0xc76ax7)}}function responseWithResult(_0xc76ax5,_0xc76ax6){_0xc76ax6=_0xc76ax6||200;return function(_0xc76ax9){if(_0xc76ax9){_0xc76ax5[_0xb8fb[6]](_0xc76ax6)[_0xb8fb[7]](_0xc76ax9)}}}function handleEntityNotFound(_0xc76ax5){return function(_0xc76ax9){if(!_0xc76ax9){_0xc76ax5[_0xb8fb[6]](404)[_0xb8fb[8]]();return null};return _0xc76ax9}}function saveUpdates(_0xc76axc){return function(_0xc76ax9){return _0xc76ax9[_0xb8fb[10]](_0xc76axc)[_0xb8fb[9]](function(_0xc76axd){return _0xc76axd})}}function removeEntity(_0xc76ax5){return function(_0xc76ax9){if(_0xc76ax9){return _0xc76ax9[_0xb8fb[11]]()[_0xb8fb[9]](function(){_0xc76ax5[_0xb8fb[6]](204)[_0xb8fb[8]]()})}}}exports[_0xb8fb[12]]=function(_0xc76axf,_0xc76ax5,_0xc76ax10){return CannedAnswer[_0xb8fb[17]](Util[_0xb8fb[16]](_0xc76axf[_0xb8fb[15]]))[_0xb8fb[9]](function(_0xc76ax11){_0xc76ax5[_0xb8fb[6]](200)[_0xb8fb[5]](_0xc76ax11)})[_0xb8fb[14]](function(_0xc76ax7){console[_0xb8fb[13]](_0xc76ax7);return handleError(_0xc76ax5,_0xc76ax7)})};exports[_0xb8fb[18]]=function(_0xc76axf,_0xc76ax5){return CannedAnswer[_0xb8fb[21]](_0xc76axf[_0xb8fb[20]][_0xb8fb[19]])[_0xb8fb[9]](handleEntityNotFound(_0xc76ax5))[_0xb8fb[9]](responseWithResult(_0xc76ax5))[_0xb8fb[14]](handleError(_0xc76ax5))};exports[_0xb8fb[22]]=function(_0xc76axf,_0xc76ax5){CannedAnswer[_0xb8fb[22]](_0xc76axf[_0xb8fb[23]])[_0xb8fb[9]](responseWithResult(_0xc76ax5,201))[_0xb8fb[14]](handleError(_0xc76ax5))};exports[_0xb8fb[24]]=function(_0xc76axf,_0xc76ax5){if(_0xc76axf[_0xb8fb[23]][_0xb8fb[19]]){delete _0xc76axf[_0xb8fb[23]][_0xb8fb[19]]};return CannedAnswer[_0xb8fb[21]](_0xc76axf[_0xb8fb[20]][_0xb8fb[19]])[_0xb8fb[9]](handleEntityNotFound(_0xc76ax5))[_0xb8fb[9]](saveUpdates(_0xc76axf[_0xb8fb[23]]))[_0xb8fb[9]](responseWithResult(_0xc76ax5))[_0xb8fb[14]](handleError(_0xc76ax5))};exports[_0xb8fb[11]]=function(_0xc76axf,_0xc76ax5){return CannedAnswer[_0xb8fb[21]](_0xc76axf[_0xb8fb[20]][_0xb8fb[19]])[_0xb8fb[9]](handleEntityNotFound(_0xc76ax5))[_0xb8fb[9]](removeEntity(_0xc76ax5))[_0xb8fb[14]](handleError(_0xc76ax5))};exports[_0xb8fb[25]]=function(_0xc76axf,_0xc76ax5){return CannedAnswer[_0xb8fb[11]]({where:{id:_0xc76axf[_0xb8fb[15]][_0xb8fb[27]]},individualHooks:true})[_0xb8fb[9]](function(){return _0xc76ax5[_0xb8fb[26]](204)})[_0xb8fb[14]](function(_0xc76ax7){return handleError(_0xc76ax5,_0xc76ax7)})} \ No newline at end of file diff --git a/server/api/canned_answer/canned_answer.socket.js b/server/api/canned_answer/canned_answer.socket.js index 67f1701..98112fd 100644 --- a/server/api/canned_answer/canned_answer.socket.js +++ b/server/api/canned_answer/canned_answer.socket.js @@ -1 +1 @@ -var _0xe114=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x61\x6E\x6E\x65\x64\x41\x6E\x73\x77\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x61\x6E\x6E\x65\x64\x5F\x61\x6E\x73\x77\x65\x72\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x61\x6E\x6E\x65\x64\x5F\x61\x6E\x73\x77\x65\x72\x3A\x72\x65\x6D\x6F\x76\x65"];_0xe114[0];var CannedAnswer=require(_0xe114[2])[_0xe114[1]];exports[_0xe114[3]]=function(_0xa3ebx2){CannedAnswer[_0xe114[4]](function(_0xa3ebx3){onSave(_0xa3ebx2,_0xa3ebx3)});CannedAnswer[_0xe114[5]](function(_0xa3ebx3){onRemove(_0xa3ebx2,_0xa3ebx3)})};function onSave(_0xa3ebx2,_0xa3ebx3,_0xa3ebx5){_0xa3ebx2[_0xe114[7]](_0xe114[6],_0xa3ebx3)}function onRemove(_0xa3ebx2,_0xa3ebx3,_0xa3ebx5){_0xa3ebx2[_0xe114[7]](_0xe114[8],_0xa3ebx3)} \ No newline at end of file +var _0xf825=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x61\x6E\x6E\x65\x64\x41\x6E\x73\x77\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x61\x6E\x6E\x65\x64\x5F\x61\x6E\x73\x77\x65\x72\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x61\x6E\x6E\x65\x64\x5F\x61\x6E\x73\x77\x65\x72\x3A\x72\x65\x6D\x6F\x76\x65"];_0xf825[0];var CannedAnswer=require(_0xf825[2])[_0xf825[1]];exports[_0xf825[3]]=function(_0xd00ex2){CannedAnswer[_0xf825[4]](function(_0xd00ex3){onSave(_0xd00ex2,_0xd00ex3)});CannedAnswer[_0xf825[5]](function(_0xd00ex3){onRemove(_0xd00ex2,_0xd00ex3)})};function onSave(_0xd00ex2,_0xd00ex3,_0xd00ex5){_0xd00ex2[_0xf825[7]](_0xf825[6],_0xd00ex3)}function onRemove(_0xd00ex2,_0xd00ex3,_0xd00ex5){_0xd00ex2[_0xf825[7]](_0xf825[8],_0xd00ex3)} \ No newline at end of file diff --git a/server/api/canned_answer/index.js b/server/api/canned_answer/index.js index 2cfa87a..bee10b2 100644 --- a/server/api/canned_answer/index.js +++ b/server/api/canned_answer/index.js @@ -1 +1 @@ -var _0xfa27=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x63\x61\x6E\x6E\x65\x64\x5F\x61\x6E\x73\x77\x65\x72\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0xfa27[0];var express=require(_0xfa27[1]);var auth=require(_0xfa27[2]);var controller=require(_0xfa27[3]);var router=express.Router();router[_0xfa27[10]](_0xfa27[4],auth[_0xfa27[5]](),auth[_0xfa27[8]]([13],[_0xfa27[6],_0xfa27[7]]),controller[_0xfa27[9]]);router[_0xfa27[10]](_0xfa27[11],auth[_0xfa27[5]](),auth[_0xfa27[8]]([13],[_0xfa27[6]]),controller[_0xfa27[12]]);router[_0xfa27[14]](_0xfa27[4],auth[_0xfa27[5]](),auth[_0xfa27[8]]([13],[_0xfa27[6]]),controller[_0xfa27[13]]);router[_0xfa27[16]](_0xfa27[11],auth[_0xfa27[5]](),auth[_0xfa27[8]]([13],[_0xfa27[6]]),controller[_0xfa27[15]]);router[_0xfa27[18]](_0xfa27[4],auth[_0xfa27[5]](),auth[_0xfa27[8]]([13],[_0xfa27[6]]),controller[_0xfa27[17]]);router[_0xfa27[18]](_0xfa27[11],auth[_0xfa27[5]](),auth[_0xfa27[8]]([13],[_0xfa27[6]]),controller[_0xfa27[19]]);module[_0xfa27[20]]=router \ No newline at end of file +var _0x9b20=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x63\x61\x6E\x6E\x65\x64\x5F\x61\x6E\x73\x77\x65\x72\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x9b20[0];var express=require(_0x9b20[1]);var auth=require(_0x9b20[2]);var controller=require(_0x9b20[3]);var router=express.Router();router[_0x9b20[10]](_0x9b20[4],auth[_0x9b20[5]](),auth[_0x9b20[8]]([13],[_0x9b20[6],_0x9b20[7]]),controller[_0x9b20[9]]);router[_0x9b20[10]](_0x9b20[11],auth[_0x9b20[5]](),auth[_0x9b20[8]]([13],[_0x9b20[6]]),controller[_0x9b20[12]]);router[_0x9b20[14]](_0x9b20[4],auth[_0x9b20[5]](),auth[_0x9b20[8]]([13],[_0x9b20[6]]),controller[_0x9b20[13]]);router[_0x9b20[16]](_0x9b20[11],auth[_0x9b20[5]](),auth[_0x9b20[8]]([13],[_0x9b20[6]]),controller[_0x9b20[15]]);router[_0x9b20[18]](_0x9b20[4],auth[_0x9b20[5]](),auth[_0x9b20[8]]([13],[_0x9b20[6]]),controller[_0x9b20[17]]);router[_0x9b20[18]](_0x9b20[11],auth[_0x9b20[5]](),auth[_0x9b20[8]]([13],[_0x9b20[6]]),controller[_0x9b20[19]]);module[_0x9b20[20]]=router \ No newline at end of file diff --git a/server/api/chanspy/chanspy.controller.js b/server/api/chanspy/chanspy.controller.js index f548f56..3e080b5 100644 --- a/server/api/chanspy/chanspy.controller.js +++ b/server/api/chanspy/chanspy.controller.js @@ -1 +1 @@ -var _0x4e70=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x43\x68\x61\x6E\x53\x70\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0x4e70[0];var _=require(_0x4e70[1]);var ChanSpy=require(_0x4e70[3])[_0x4e70[2]];var Util=require(_0x4e70[4]);exports[_0x4e70[5]]=function(_0x8f46x4,_0x8f46x5,_0x8f46x6){return ChanSpy[_0x4e70[13]](Util[_0x4e70[12]](_0x8f46x4[_0x4e70[11]]))[_0x4e70[10]](function(_0x8f46x8){_0x8f46x5[_0x4e70[9]](200)[_0x4e70[8]](_0x8f46x8)})[_0x4e70[7]](function(_0x8f46x7){console[_0x4e70[6]](_0x8f46x7);return handleError(_0x8f46x5,_0x8f46x7)})};exports[_0x4e70[14]]=function(_0x8f46x4,_0x8f46x5){return ChanSpy[_0x4e70[18]](_0x8f46x4[_0x4e70[17]][_0x4e70[16]])[_0x4e70[10]](function(_0x8f46x9){if(!_0x8f46x9){return _0x8f46x5[_0x4e70[15]](404)};return _0x8f46x5[_0x4e70[8]](_0x8f46x9)})[_0x4e70[7]](function(_0x8f46x7){return handleError(_0x8f46x5,_0x8f46x7)})};exports[_0x4e70[19]]=function(_0x8f46x4,_0x8f46x5){return ChanSpy[_0x4e70[19]](_0x8f46x4[_0x4e70[20]])[_0x4e70[10]](function(_0x8f46x9){return _0x8f46x5[_0x4e70[9]](201)[_0x4e70[8]](_0x8f46x9)})[_0x4e70[7]](function(_0x8f46x7){return handleError(_0x8f46x5,_0x8f46x7)})};exports[_0x4e70[21]]=function(_0x8f46x4,_0x8f46x5){if(_0x8f46x4[_0x4e70[20]][_0x4e70[16]]){delete _0x8f46x4[_0x4e70[20]][_0x4e70[16]]};return ChanSpy[_0x4e70[18]](_0x8f46x4[_0x4e70[17]][_0x4e70[16]])[_0x4e70[10]](function(_0x8f46x9){if(!_0x8f46x9){return _0x8f46x5[_0x4e70[15]](404)};var _0x8f46xa=_[_0x4e70[22]](_0x8f46x9,_0x8f46x4[_0x4e70[20]]);return _0x8f46xa[_0x4e70[23]]()})[_0x4e70[10]](function(_0x8f46x9){return _0x8f46x5[_0x4e70[9]](200)[_0x4e70[8]](_0x8f46x9)})[_0x4e70[7]](function(_0x8f46x7){return handleError(_0x8f46x5,_0x8f46x7)})};exports[_0x4e70[24]]=function(_0x8f46x4,_0x8f46x5){return ChanSpy[_0x4e70[18]](_0x8f46x4[_0x4e70[17]][_0x4e70[16]])[_0x4e70[10]](function(_0x8f46x9){if(!_0x8f46x9){return _0x8f46x5[_0x4e70[15]](404)};return _0x8f46x9[_0x4e70[24]]()})[_0x4e70[10]](function(){return _0x8f46x5[_0x4e70[15]](204)})[_0x4e70[7]](function(_0x8f46x7){return handleError(_0x8f46x5,_0x8f46x7)})};exports[_0x4e70[25]]=function(_0x8f46x4,_0x8f46x5){return ChanSpy[_0x4e70[24]]({where:{id:_0x8f46x4[_0x4e70[11]][_0x4e70[26]]},individualHooks:true})[_0x4e70[10]](function(){return _0x8f46x5[_0x4e70[15]](204)})[_0x4e70[7]](function(_0x8f46x7){return handleError(_0x8f46x5,_0x8f46x7)})};function handleError(_0x8f46x5,_0x8f46x7){return _0x8f46x5[_0x4e70[9]](500)[_0x4e70[8]](_0x8f46x7)} \ No newline at end of file +var _0x4d66=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x43\x68\x61\x6E\x53\x70\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0x4d66[0];var _=require(_0x4d66[1]);var ChanSpy=require(_0x4d66[3])[_0x4d66[2]];var Util=require(_0x4d66[4]);exports[_0x4d66[5]]=function(_0x2223x4,_0x2223x5,_0x2223x6){return ChanSpy[_0x4d66[13]](Util[_0x4d66[12]](_0x2223x4[_0x4d66[11]]))[_0x4d66[10]](function(_0x2223x8){_0x2223x5[_0x4d66[9]](200)[_0x4d66[8]](_0x2223x8)})[_0x4d66[7]](function(_0x2223x7){console[_0x4d66[6]](_0x2223x7);return handleError(_0x2223x5,_0x2223x7)})};exports[_0x4d66[14]]=function(_0x2223x4,_0x2223x5){return ChanSpy[_0x4d66[18]](_0x2223x4[_0x4d66[17]][_0x4d66[16]])[_0x4d66[10]](function(_0x2223x9){if(!_0x2223x9){return _0x2223x5[_0x4d66[15]](404)};return _0x2223x5[_0x4d66[8]](_0x2223x9)})[_0x4d66[7]](function(_0x2223x7){return handleError(_0x2223x5,_0x2223x7)})};exports[_0x4d66[19]]=function(_0x2223x4,_0x2223x5){return ChanSpy[_0x4d66[19]](_0x2223x4[_0x4d66[20]])[_0x4d66[10]](function(_0x2223x9){return _0x2223x5[_0x4d66[9]](201)[_0x4d66[8]](_0x2223x9)})[_0x4d66[7]](function(_0x2223x7){return handleError(_0x2223x5,_0x2223x7)})};exports[_0x4d66[21]]=function(_0x2223x4,_0x2223x5){if(_0x2223x4[_0x4d66[20]][_0x4d66[16]]){delete _0x2223x4[_0x4d66[20]][_0x4d66[16]]};return ChanSpy[_0x4d66[18]](_0x2223x4[_0x4d66[17]][_0x4d66[16]])[_0x4d66[10]](function(_0x2223x9){if(!_0x2223x9){return _0x2223x5[_0x4d66[15]](404)};var _0x2223xa=_[_0x4d66[22]](_0x2223x9,_0x2223x4[_0x4d66[20]]);return _0x2223xa[_0x4d66[23]]()})[_0x4d66[10]](function(_0x2223x9){return _0x2223x5[_0x4d66[9]](200)[_0x4d66[8]](_0x2223x9)})[_0x4d66[7]](function(_0x2223x7){return handleError(_0x2223x5,_0x2223x7)})};exports[_0x4d66[24]]=function(_0x2223x4,_0x2223x5){return ChanSpy[_0x4d66[18]](_0x2223x4[_0x4d66[17]][_0x4d66[16]])[_0x4d66[10]](function(_0x2223x9){if(!_0x2223x9){return _0x2223x5[_0x4d66[15]](404)};return _0x2223x9[_0x4d66[24]]()})[_0x4d66[10]](function(){return _0x2223x5[_0x4d66[15]](204)})[_0x4d66[7]](function(_0x2223x7){return handleError(_0x2223x5,_0x2223x7)})};exports[_0x4d66[25]]=function(_0x2223x4,_0x2223x5){return ChanSpy[_0x4d66[24]]({where:{id:_0x2223x4[_0x4d66[11]][_0x4d66[26]]},individualHooks:true})[_0x4d66[10]](function(){return _0x2223x5[_0x4d66[15]](204)})[_0x4d66[7]](function(_0x2223x7){return handleError(_0x2223x5,_0x2223x7)})};function handleError(_0x2223x5,_0x2223x7){return _0x2223x5[_0x4d66[9]](500)[_0x4d66[8]](_0x2223x7)} \ No newline at end of file diff --git a/server/api/chanspy/chanspy.socket.js b/server/api/chanspy/chanspy.socket.js index e5a7d15..4419da1 100644 --- a/server/api/chanspy/chanspy.socket.js +++ b/server/api/chanspy/chanspy.socket.js @@ -1 +1 @@ -var _0xf181=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x68\x61\x6E\x53\x70\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x68\x61\x6E\x73\x70\x79\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x68\x61\x6E\x73\x70\x79\x3A\x72\x65\x6D\x6F\x76\x65"];_0xf181[0];var ChanSpy=require(_0xf181[2])[_0xf181[1]];exports[_0xf181[3]]=function(_0x8ae2x2){ChanSpy[_0xf181[4]](function(_0x8ae2x3){onSave(_0x8ae2x2,_0x8ae2x3)});ChanSpy[_0xf181[5]](function(_0x8ae2x3){onRemove(_0x8ae2x2,_0x8ae2x3)})};function onSave(_0x8ae2x2,_0x8ae2x3,_0x8ae2x5){_0x8ae2x2[_0xf181[7]](_0xf181[6],_0x8ae2x3)}function onRemove(_0x8ae2x2,_0x8ae2x3,_0x8ae2x5){_0x8ae2x2[_0xf181[7]](_0xf181[8],_0x8ae2x3)} \ No newline at end of file +var _0x4dd5=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x68\x61\x6E\x53\x70\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x68\x61\x6E\x73\x70\x79\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x68\x61\x6E\x73\x70\x79\x3A\x72\x65\x6D\x6F\x76\x65"];_0x4dd5[0];var ChanSpy=require(_0x4dd5[2])[_0x4dd5[1]];exports[_0x4dd5[3]]=function(_0xfad8x2){ChanSpy[_0x4dd5[4]](function(_0xfad8x3){onSave(_0xfad8x2,_0xfad8x3)});ChanSpy[_0x4dd5[5]](function(_0xfad8x3){onRemove(_0xfad8x2,_0xfad8x3)})};function onSave(_0xfad8x2,_0xfad8x3,_0xfad8x5){_0xfad8x2[_0x4dd5[7]](_0x4dd5[6],_0xfad8x3)}function onRemove(_0xfad8x2,_0xfad8x3,_0xfad8x5){_0xfad8x2[_0x4dd5[7]](_0x4dd5[8],_0xfad8x3)} \ No newline at end of file diff --git a/server/api/chanspy/index.js b/server/api/chanspy/index.js index 7123dd2..219611d 100644 --- a/server/api/chanspy/index.js +++ b/server/api/chanspy/index.js @@ -1 +1 @@ -var _0xe74f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x63\x68\x61\x6E\x73\x70\x79\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0xe74f[0];var express=require(_0xe74f[1]);var controller=require(_0xe74f[2]);var auth=require(_0xe74f[3]);var router=express.Router();router[_0xe74f[9]](_0xe74f[4],auth[_0xe74f[5]](),auth[_0xe74f[7]]([7],[_0xe74f[6]]),controller[_0xe74f[8]]);router[_0xe74f[9]](_0xe74f[10],auth[_0xe74f[5]](),auth[_0xe74f[7]]([7],[_0xe74f[6]]),controller[_0xe74f[11]]);router[_0xe74f[13]](_0xe74f[4],auth[_0xe74f[5]](),auth[_0xe74f[7]]([7],[_0xe74f[6]]),controller[_0xe74f[12]]);router[_0xe74f[15]](_0xe74f[10],auth[_0xe74f[5]](),auth[_0xe74f[7]]([7],[_0xe74f[6]]),controller[_0xe74f[14]]);router[_0xe74f[17]](_0xe74f[4],auth[_0xe74f[5]](),auth[_0xe74f[7]]([7],[_0xe74f[6]]),controller[_0xe74f[16]]);router[_0xe74f[17]](_0xe74f[10],auth[_0xe74f[5]](),auth[_0xe74f[7]]([7],[_0xe74f[6]]),controller[_0xe74f[18]]);module[_0xe74f[19]]=router \ No newline at end of file +var _0xbc52=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x63\x68\x61\x6E\x73\x70\x79\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0xbc52[0];var express=require(_0xbc52[1]);var controller=require(_0xbc52[2]);var auth=require(_0xbc52[3]);var router=express.Router();router[_0xbc52[9]](_0xbc52[4],auth[_0xbc52[5]](),auth[_0xbc52[7]]([7],[_0xbc52[6]]),controller[_0xbc52[8]]);router[_0xbc52[9]](_0xbc52[10],auth[_0xbc52[5]](),auth[_0xbc52[7]]([7],[_0xbc52[6]]),controller[_0xbc52[11]]);router[_0xbc52[13]](_0xbc52[4],auth[_0xbc52[5]](),auth[_0xbc52[7]]([7],[_0xbc52[6]]),controller[_0xbc52[12]]);router[_0xbc52[15]](_0xbc52[10],auth[_0xbc52[5]](),auth[_0xbc52[7]]([7],[_0xbc52[6]]),controller[_0xbc52[14]]);router[_0xbc52[17]](_0xbc52[4],auth[_0xbc52[5]](),auth[_0xbc52[7]]([7],[_0xbc52[6]]),controller[_0xbc52[16]]);router[_0xbc52[17]](_0xbc52[10],auth[_0xbc52[5]](),auth[_0xbc52[7]]([7],[_0xbc52[6]]),controller[_0xbc52[18]]);module[_0xbc52[19]]=router \ No newline at end of file diff --git a/server/api/chat_application/chat_application.controller.js b/server/api/chat_application/chat_application.controller.js index e698d28..2feddbc 100644 --- a/server/api/chat_application/chat_application.controller.js +++ b/server/api/chat_application/chat_application.controller.js @@ -1 +1 @@ -var _0x509e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x43\x68\x61\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x70\x72\x69\x6F\x72\x69\x74\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x49\x64","\x6D\x61\x78","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0x509e[0];var _=require(_0x509e[1]);var ChatApplication=require(_0x509e[3])[_0x509e[2]];exports[_0x509e[4]]=function(_0x66d3x3,_0x66d3x4){return ChatApplication[_0x509e[11]]({where:_0x66d3x3[_0x509e[9]],order:_0x509e[10],include:[{all:true}]})[_0x509e[8]](function(_0x66d3x6){return _0x66d3x4[_0x509e[7]](200)[_0x509e[6]](_0x66d3x6)})[_0x509e[5]](function(_0x66d3x5){return handleError(_0x66d3x4,_0x66d3x5)})};exports[_0x509e[12]]=function(_0x66d3x3,_0x66d3x4){return ChatApplication[_0x509e[16]](_0x66d3x3[_0x509e[15]][_0x509e[14]])[_0x509e[8]](function(_0x66d3x7){if(!_0x66d3x7){return _0x66d3x4[_0x509e[13]](404)};return _0x66d3x4[_0x509e[6]](_0x66d3x7)})[_0x509e[5]](function(_0x66d3x5){return handleError(_0x66d3x4,_0x66d3x5)})};exports[_0x509e[17]]=function(_0x66d3x3,_0x66d3x4,_0x66d3x8){return ChatApplication[_0x509e[20]](_0x509e[10],{where:{ChatWebsiteId:_0x66d3x3[_0x509e[18]][_0x509e[19]]}})[_0x509e[8]](function(_0x66d3xa){_0x66d3x3[_0x509e[18]][_0x509e[10]]=_0x66d3xa?++_0x66d3xa:1;return ChatApplication[_0x509e[17]](_0x66d3x3[_0x509e[18]])})[_0x509e[8]](function(_0x66d3x9){return _0x66d3x4[_0x509e[7]](201)[_0x509e[6]](_0x66d3x9)})[_0x509e[5]](function(_0x66d3x5){_0x66d3x8(_0x66d3x5)})};exports[_0x509e[21]]=function(_0x66d3x3,_0x66d3x4){if(_0x66d3x3[_0x509e[18]][_0x509e[14]]){delete _0x66d3x3[_0x509e[18]][_0x509e[14]]};return ChatApplication[_0x509e[16]](_0x66d3x3[_0x509e[15]][_0x509e[14]])[_0x509e[8]](function(_0x66d3x7){if(!_0x66d3x7){return _0x66d3x4[_0x509e[13]](404)};var _0x66d3xb=_[_0x509e[22]](_0x66d3x7,_0x66d3x3[_0x509e[18]]);return _0x66d3xb[_0x509e[23]]()})[_0x509e[8]](function(_0x66d3x7){return _0x66d3x4[_0x509e[7]](200)[_0x509e[6]](_0x66d3x7)})[_0x509e[5]](function(_0x66d3x5){return handleError(_0x66d3x4,_0x66d3x5)})};exports[_0x509e[24]]=function(_0x66d3x3,_0x66d3x4){return ChatApplication[_0x509e[16]](_0x66d3x3[_0x509e[15]][_0x509e[14]])[_0x509e[8]](function(_0x66d3x7){if(!_0x66d3x7){return _0x66d3x4[_0x509e[13]](404)};return _0x66d3x7[_0x509e[24]]()})[_0x509e[8]](function(){return _0x66d3x4[_0x509e[13]](204)})[_0x509e[5]](function(_0x66d3x5){return handleError(_0x66d3x4,_0x66d3x5)})};function handleError(_0x66d3x4,_0x66d3x5){return _0x66d3x4[_0x509e[7]](500)[_0x509e[6]](_0x66d3x5)} \ No newline at end of file +var _0x4b34=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x43\x68\x61\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x70\x72\x69\x6F\x72\x69\x74\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x49\x64","\x6D\x61\x78","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0x4b34[0];var _=require(_0x4b34[1]);var ChatApplication=require(_0x4b34[3])[_0x4b34[2]];exports[_0x4b34[4]]=function(_0xc4a5x3,_0xc4a5x4){return ChatApplication[_0x4b34[11]]({where:_0xc4a5x3[_0x4b34[9]],order:_0x4b34[10],include:[{all:true}]})[_0x4b34[8]](function(_0xc4a5x6){return _0xc4a5x4[_0x4b34[7]](200)[_0x4b34[6]](_0xc4a5x6)})[_0x4b34[5]](function(_0xc4a5x5){return handleError(_0xc4a5x4,_0xc4a5x5)})};exports[_0x4b34[12]]=function(_0xc4a5x3,_0xc4a5x4){return ChatApplication[_0x4b34[16]](_0xc4a5x3[_0x4b34[15]][_0x4b34[14]])[_0x4b34[8]](function(_0xc4a5x7){if(!_0xc4a5x7){return _0xc4a5x4[_0x4b34[13]](404)};return _0xc4a5x4[_0x4b34[6]](_0xc4a5x7)})[_0x4b34[5]](function(_0xc4a5x5){return handleError(_0xc4a5x4,_0xc4a5x5)})};exports[_0x4b34[17]]=function(_0xc4a5x3,_0xc4a5x4,_0xc4a5x8){return ChatApplication[_0x4b34[20]](_0x4b34[10],{where:{ChatWebsiteId:_0xc4a5x3[_0x4b34[18]][_0x4b34[19]]}})[_0x4b34[8]](function(_0xc4a5xa){_0xc4a5x3[_0x4b34[18]][_0x4b34[10]]=_0xc4a5xa?++_0xc4a5xa:1;return ChatApplication[_0x4b34[17]](_0xc4a5x3[_0x4b34[18]])})[_0x4b34[8]](function(_0xc4a5x9){return _0xc4a5x4[_0x4b34[7]](201)[_0x4b34[6]](_0xc4a5x9)})[_0x4b34[5]](function(_0xc4a5x5){_0xc4a5x8(_0xc4a5x5)})};exports[_0x4b34[21]]=function(_0xc4a5x3,_0xc4a5x4){if(_0xc4a5x3[_0x4b34[18]][_0x4b34[14]]){delete _0xc4a5x3[_0x4b34[18]][_0x4b34[14]]};return ChatApplication[_0x4b34[16]](_0xc4a5x3[_0x4b34[15]][_0x4b34[14]])[_0x4b34[8]](function(_0xc4a5x7){if(!_0xc4a5x7){return _0xc4a5x4[_0x4b34[13]](404)};var _0xc4a5xb=_[_0x4b34[22]](_0xc4a5x7,_0xc4a5x3[_0x4b34[18]]);return _0xc4a5xb[_0x4b34[23]]()})[_0x4b34[8]](function(_0xc4a5x7){return _0xc4a5x4[_0x4b34[7]](200)[_0x4b34[6]](_0xc4a5x7)})[_0x4b34[5]](function(_0xc4a5x5){return handleError(_0xc4a5x4,_0xc4a5x5)})};exports[_0x4b34[24]]=function(_0xc4a5x3,_0xc4a5x4){return ChatApplication[_0x4b34[16]](_0xc4a5x3[_0x4b34[15]][_0x4b34[14]])[_0x4b34[8]](function(_0xc4a5x7){if(!_0xc4a5x7){return _0xc4a5x4[_0x4b34[13]](404)};return _0xc4a5x7[_0x4b34[24]]()})[_0x4b34[8]](function(){return _0xc4a5x4[_0x4b34[13]](204)})[_0x4b34[5]](function(_0xc4a5x5){return handleError(_0xc4a5x4,_0xc4a5x5)})};function handleError(_0xc4a5x4,_0xc4a5x5){return _0xc4a5x4[_0x4b34[7]](500)[_0x4b34[6]](_0xc4a5x5)} \ No newline at end of file diff --git a/server/api/chat_application/chat_application.socket.js b/server/api/chat_application/chat_application.socket.js index d355866..f1662f3 100644 --- a/server/api/chat_application/chat_application.socket.js +++ b/server/api/chat_application/chat_application.socket.js @@ -1 +1 @@ -var _0xfb06=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x68\x61\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x68\x61\x74\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x68\x61\x74\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0xfb06[0];var ChatApplication=require(_0xfb06[2])[_0xfb06[1]];exports[_0xfb06[3]]=function(_0x80d0x2){ChatApplication[_0xfb06[4]](function(_0x80d0x3){onSave(_0x80d0x2,_0x80d0x3)});ChatApplication[_0xfb06[5]](function(_0x80d0x3){onRemove(_0x80d0x2,_0x80d0x3)})};function onSave(_0x80d0x2,_0x80d0x3,_0x80d0x5){_0x80d0x2[_0xfb06[7]](_0xfb06[6],_0x80d0x3)}function onRemove(_0x80d0x2,_0x80d0x3,_0x80d0x5){_0x80d0x2[_0xfb06[7]](_0xfb06[8],_0x80d0x3)} \ No newline at end of file +var _0xf233=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x68\x61\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x68\x61\x74\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x68\x61\x74\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0xf233[0];var ChatApplication=require(_0xf233[2])[_0xf233[1]];exports[_0xf233[3]]=function(_0x1f33x2){ChatApplication[_0xf233[4]](function(_0x1f33x3){onSave(_0x1f33x2,_0x1f33x3)});ChatApplication[_0xf233[5]](function(_0x1f33x3){onRemove(_0x1f33x2,_0x1f33x3)})};function onSave(_0x1f33x2,_0x1f33x3,_0x1f33x5){_0x1f33x2[_0xf233[7]](_0xf233[6],_0x1f33x3)}function onRemove(_0x1f33x2,_0x1f33x3,_0x1f33x5){_0x1f33x2[_0xf233[7]](_0xf233[8],_0x1f33x3)} \ No newline at end of file diff --git a/server/api/chat_application/index.js b/server/api/chat_application/index.js index b1fd093..bbbc36c 100644 --- a/server/api/chat_application/index.js +++ b/server/api/chat_application/index.js @@ -1 +1 @@ -var _0x50e9=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x63\x68\x61\x74\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x50e9[0];var express=require(_0x50e9[1]);var controller=require(_0x50e9[2]);var auth=require(_0x50e9[3]);var router=express.Router();router[_0x50e9[9]](_0x50e9[4],auth[_0x50e9[5]](),auth[_0x50e9[7]]([8],[_0x50e9[6]]),controller[_0x50e9[8]]);router[_0x50e9[9]](_0x50e9[10],auth[_0x50e9[5]](),auth[_0x50e9[7]]([8],[_0x50e9[6]]),controller[_0x50e9[11]]);router[_0x50e9[13]](_0x50e9[4],auth[_0x50e9[5]](),auth[_0x50e9[7]]([8],[_0x50e9[6]]),controller[_0x50e9[12]]);router[_0x50e9[15]](_0x50e9[10],auth[_0x50e9[5]](),auth[_0x50e9[7]]([8],[_0x50e9[6]]),controller[_0x50e9[14]]);router[_0x50e9[16]](_0x50e9[10],auth[_0x50e9[5]](),auth[_0x50e9[7]]([8],[_0x50e9[6]]),controller[_0x50e9[14]]);router[_0x50e9[18]](_0x50e9[10],auth[_0x50e9[5]](),auth[_0x50e9[7]]([8],[_0x50e9[6]]),controller[_0x50e9[17]]);module[_0x50e9[19]]=router \ No newline at end of file +var _0x7b65=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x63\x68\x61\x74\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x7b65[0];var express=require(_0x7b65[1]);var controller=require(_0x7b65[2]);var auth=require(_0x7b65[3]);var router=express.Router();router[_0x7b65[9]](_0x7b65[4],auth[_0x7b65[5]](),auth[_0x7b65[7]]([8],[_0x7b65[6]]),controller[_0x7b65[8]]);router[_0x7b65[9]](_0x7b65[10],auth[_0x7b65[5]](),auth[_0x7b65[7]]([8],[_0x7b65[6]]),controller[_0x7b65[11]]);router[_0x7b65[13]](_0x7b65[4],auth[_0x7b65[5]](),auth[_0x7b65[7]]([8],[_0x7b65[6]]),controller[_0x7b65[12]]);router[_0x7b65[15]](_0x7b65[10],auth[_0x7b65[5]](),auth[_0x7b65[7]]([8],[_0x7b65[6]]),controller[_0x7b65[14]]);router[_0x7b65[16]](_0x7b65[10],auth[_0x7b65[5]](),auth[_0x7b65[7]]([8],[_0x7b65[6]]),controller[_0x7b65[14]]);router[_0x7b65[18]](_0x7b65[10],auth[_0x7b65[5]](),auth[_0x7b65[7]]([8],[_0x7b65[6]]),controller[_0x7b65[17]]);module[_0x7b65[19]]=router \ No newline at end of file diff --git a/server/api/chat_disposition/chat_disposition.controller.js b/server/api/chat_disposition/chat_disposition.controller.js index cf49e1a..b56b05b 100644 --- a/server/api/chat_disposition/chat_disposition.controller.js +++ b/server/api/chat_disposition/chat_disposition.controller.js @@ -1 +1 @@ -var _0x35b7=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x43\x68\x61\x74\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65"];_0x35b7[0];var _=require(_0x35b7[1]);var ChatDisposition=require(_0x35b7[3])[_0x35b7[2]];function handleError(_0xda2cx4,_0xda2cx5){_0xda2cx5=_0xda2cx5||500;return function(_0xda2cx6){_0xda2cx4[_0x35b7[5]](_0xda2cx5)[_0x35b7[4]](_0xda2cx6)}}function responseWithResult(_0xda2cx4,_0xda2cx5){_0xda2cx5=_0xda2cx5||200;return function(_0xda2cx8){if(_0xda2cx8){_0xda2cx4[_0x35b7[5]](_0xda2cx5)[_0x35b7[6]](_0xda2cx8)}}}function responseWithoutResult(_0xda2cx4,_0xda2cx5){_0xda2cx5=_0xda2cx5||200;return function(){_0xda2cx4[_0x35b7[7]](_0xda2cx5)}}function handleEntityNotFound(_0xda2cx4){return function(_0xda2cx8){if(!_0xda2cx8){_0xda2cx4[_0x35b7[5]](404)[_0x35b7[8]]();return null};return _0xda2cx8}}function saveUpdates(_0xda2cxc){return function(_0xda2cx8){return _0xda2cx8[_0x35b7[10]](_0xda2cxc)[_0x35b7[9]](function(_0xda2cxd){return _0xda2cxd})}}function removeEntity(_0xda2cx4){return function(_0xda2cx8){if(_0xda2cx8){return _0xda2cx8[_0x35b7[11]]()[_0x35b7[9]](function(){_0xda2cx4[_0x35b7[5]](204)[_0x35b7[8]]()})}}}exports[_0x35b7[12]]=function(_0xda2cxf,_0xda2cx4){ChatDisposition[_0x35b7[14]]()[_0x35b7[9]](responseWithResult(_0xda2cx4))[_0x35b7[13]](handleError(_0xda2cx4))};exports[_0x35b7[15]]=function(_0xda2cxf,_0xda2cx4){ChatDisposition[_0x35b7[18]](_0xda2cxf[_0x35b7[17]][_0x35b7[16]])[_0x35b7[9]](handleEntityNotFound(_0xda2cx4))[_0x35b7[9]](responseWithResult(_0xda2cx4))[_0x35b7[13]](handleError(_0xda2cx4))};exports[_0x35b7[19]]=function(_0xda2cxf,_0xda2cx4){ChatDisposition[_0x35b7[19]](_0xda2cxf[_0x35b7[20]])[_0x35b7[9]](responseWithResult(_0xda2cx4,201))[_0x35b7[13]](handleError(_0xda2cx4))};exports[_0x35b7[21]]=function(_0xda2cxf,_0xda2cx4){if(_0xda2cxf[_0x35b7[20]][_0x35b7[16]]){delete _0xda2cxf[_0x35b7[20]][_0x35b7[16]]};ChatDisposition[_0x35b7[18]](_0xda2cxf[_0x35b7[17]][_0x35b7[16]])[_0x35b7[9]](handleEntityNotFound(_0xda2cx4))[_0x35b7[9]](saveUpdates(_0xda2cxf[_0x35b7[20]]))[_0x35b7[9]](responseWithResult(_0xda2cx4))[_0x35b7[13]](handleError(_0xda2cx4))};exports[_0x35b7[11]]=function(_0xda2cxf,_0xda2cx4){ChatDisposition[_0x35b7[18]](_0xda2cxf[_0x35b7[17]][_0x35b7[16]])[_0x35b7[9]](handleEntityNotFound(_0xda2cx4))[_0x35b7[9]](removeEntity(_0xda2cx4))[_0x35b7[13]](handleError(_0xda2cx4))} \ No newline at end of file +var _0xa223=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x43\x68\x61\x74\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65"];_0xa223[0];var _=require(_0xa223[1]);var ChatDisposition=require(_0xa223[3])[_0xa223[2]];function handleError(_0x8503x4,_0x8503x5){_0x8503x5=_0x8503x5||500;return function(_0x8503x6){_0x8503x4[_0xa223[5]](_0x8503x5)[_0xa223[4]](_0x8503x6)}}function responseWithResult(_0x8503x4,_0x8503x5){_0x8503x5=_0x8503x5||200;return function(_0x8503x8){if(_0x8503x8){_0x8503x4[_0xa223[5]](_0x8503x5)[_0xa223[6]](_0x8503x8)}}}function responseWithoutResult(_0x8503x4,_0x8503x5){_0x8503x5=_0x8503x5||200;return function(){_0x8503x4[_0xa223[7]](_0x8503x5)}}function handleEntityNotFound(_0x8503x4){return function(_0x8503x8){if(!_0x8503x8){_0x8503x4[_0xa223[5]](404)[_0xa223[8]]();return null};return _0x8503x8}}function saveUpdates(_0x8503xc){return function(_0x8503x8){return _0x8503x8[_0xa223[10]](_0x8503xc)[_0xa223[9]](function(_0x8503xd){return _0x8503xd})}}function removeEntity(_0x8503x4){return function(_0x8503x8){if(_0x8503x8){return _0x8503x8[_0xa223[11]]()[_0xa223[9]](function(){_0x8503x4[_0xa223[5]](204)[_0xa223[8]]()})}}}exports[_0xa223[12]]=function(_0x8503xf,_0x8503x4){ChatDisposition[_0xa223[14]]()[_0xa223[9]](responseWithResult(_0x8503x4))[_0xa223[13]](handleError(_0x8503x4))};exports[_0xa223[15]]=function(_0x8503xf,_0x8503x4){ChatDisposition[_0xa223[18]](_0x8503xf[_0xa223[17]][_0xa223[16]])[_0xa223[9]](handleEntityNotFound(_0x8503x4))[_0xa223[9]](responseWithResult(_0x8503x4))[_0xa223[13]](handleError(_0x8503x4))};exports[_0xa223[19]]=function(_0x8503xf,_0x8503x4){ChatDisposition[_0xa223[19]](_0x8503xf[_0xa223[20]])[_0xa223[9]](responseWithResult(_0x8503x4,201))[_0xa223[13]](handleError(_0x8503x4))};exports[_0xa223[21]]=function(_0x8503xf,_0x8503x4){if(_0x8503xf[_0xa223[20]][_0xa223[16]]){delete _0x8503xf[_0xa223[20]][_0xa223[16]]};ChatDisposition[_0xa223[18]](_0x8503xf[_0xa223[17]][_0xa223[16]])[_0xa223[9]](handleEntityNotFound(_0x8503x4))[_0xa223[9]](saveUpdates(_0x8503xf[_0xa223[20]]))[_0xa223[9]](responseWithResult(_0x8503x4))[_0xa223[13]](handleError(_0x8503x4))};exports[_0xa223[11]]=function(_0x8503xf,_0x8503x4){ChatDisposition[_0xa223[18]](_0x8503xf[_0xa223[17]][_0xa223[16]])[_0xa223[9]](handleEntityNotFound(_0x8503x4))[_0xa223[9]](removeEntity(_0x8503x4))[_0xa223[13]](handleError(_0x8503x4))} \ No newline at end of file diff --git a/server/api/chat_disposition/chat_disposition.socket.js b/server/api/chat_disposition/chat_disposition.socket.js index 4e3df10..8740b15 100644 --- a/server/api/chat_disposition/chat_disposition.socket.js +++ b/server/api/chat_disposition/chat_disposition.socket.js @@ -1 +1 @@ -var _0x3833=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x68\x61\x74\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x68\x61\x74\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x68\x61\x74\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x3833[0];var ChatDisposition=require(_0x3833[2])[_0x3833[1]];exports[_0x3833[3]]=function(_0x261fx2){ChatDisposition[_0x3833[4]](function(_0x261fx3){onSave(_0x261fx2,_0x261fx3)});ChatDisposition[_0x3833[5]](function(_0x261fx3){onRemove(_0x261fx2,_0x261fx3)})};function onSave(_0x261fx2,_0x261fx3,_0x261fx5){_0x261fx2[_0x3833[7]](_0x3833[6],_0x261fx3)}function onRemove(_0x261fx2,_0x261fx3,_0x261fx5){_0x261fx2[_0x3833[7]](_0x3833[8],_0x261fx3)} \ No newline at end of file +var _0x785b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x68\x61\x74\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x68\x61\x74\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x68\x61\x74\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x785b[0];var ChatDisposition=require(_0x785b[2])[_0x785b[1]];exports[_0x785b[3]]=function(_0x895bx2){ChatDisposition[_0x785b[4]](function(_0x895bx3){onSave(_0x895bx2,_0x895bx3)});ChatDisposition[_0x785b[5]](function(_0x895bx3){onRemove(_0x895bx2,_0x895bx3)})};function onSave(_0x895bx2,_0x895bx3,_0x895bx5){_0x895bx2[_0x785b[7]](_0x785b[6],_0x895bx3)}function onRemove(_0x895bx2,_0x895bx3,_0x895bx5){_0x895bx2[_0x785b[7]](_0x785b[8],_0x895bx3)} \ No newline at end of file diff --git a/server/api/chat_disposition/index.js b/server/api/chat_disposition/index.js index dc96b5a..ff5e638 100644 --- a/server/api/chat_disposition/index.js +++ b/server/api/chat_disposition/index.js @@ -1 +1 @@ -var _0xdb23=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x63\x68\x61\x74\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xdb23[0];var express=require(_0xdb23[1]);var auth=require(_0xdb23[2]);var controller=require(_0xdb23[3]);var router=express.Router();router[_0xdb23[7]](_0xdb23[4],auth[_0xdb23[5]](),controller[_0xdb23[6]]);router[_0xdb23[7]](_0xdb23[8],auth[_0xdb23[5]](),controller[_0xdb23[9]]);router[_0xdb23[11]](_0xdb23[4],auth[_0xdb23[5]](),controller[_0xdb23[10]]);router[_0xdb23[13]](_0xdb23[8],auth[_0xdb23[5]](),controller[_0xdb23[12]]);router[_0xdb23[14]](_0xdb23[8],auth[_0xdb23[5]](),controller[_0xdb23[12]]);router[_0xdb23[16]](_0xdb23[8],auth[_0xdb23[5]](),controller[_0xdb23[15]]);module[_0xdb23[17]]=router \ No newline at end of file +var _0x5b1e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x63\x68\x61\x74\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x5b1e[0];var express=require(_0x5b1e[1]);var auth=require(_0x5b1e[2]);var controller=require(_0x5b1e[3]);var router=express.Router();router[_0x5b1e[7]](_0x5b1e[4],auth[_0x5b1e[5]](),controller[_0x5b1e[6]]);router[_0x5b1e[7]](_0x5b1e[8],auth[_0x5b1e[5]](),controller[_0x5b1e[9]]);router[_0x5b1e[11]](_0x5b1e[4],auth[_0x5b1e[5]](),controller[_0x5b1e[10]]);router[_0x5b1e[13]](_0x5b1e[8],auth[_0x5b1e[5]](),controller[_0x5b1e[12]]);router[_0x5b1e[14]](_0x5b1e[8],auth[_0x5b1e[5]](),controller[_0x5b1e[12]]);router[_0x5b1e[16]](_0x5b1e[8],auth[_0x5b1e[5]](),controller[_0x5b1e[15]]);module[_0x5b1e[17]]=router \ No newline at end of file diff --git a/server/api/chat_enquiry/enquiry.controller.js b/server/api/chat_enquiry/enquiry.controller.js index 5b54ab9..bea2c6f 100644 --- a/server/api/chat_enquiry/enquiry.controller.js +++ b/server/api/chat_enquiry/enquiry.controller.js @@ -1 +1 @@ -var _0x7be6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x43\x68\x61\x74\x45\x6E\x71\x75\x69\x72\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x69\x64","\x6E\x61\x6D\x65","\x6D\x65\x72\x67\x65","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x65\x72\x72\x6F\x72","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0x7be6[0];var _=require(_0x7be6[1]);var Util=require(_0x7be6[2]);var ChatEnquiry=require(_0x7be6[4])[_0x7be6[3]];var ChatVisitor=require(_0x7be6[4])[_0x7be6[5]];var ChatWebsite=require(_0x7be6[4])[_0x7be6[6]];exports[_0x7be6[7]]=function(_0xea46x6,_0xea46x7,_0xea46x8){return ChatEnquiry[_0x7be6[17]](_[_0x7be6[16]](Util[_0x7be6[13]](_0xea46x6[_0x7be6[12]]),{include:[{model:ChatWebsite,attributes:[_0x7be6[14],_0x7be6[15]]}]}))[_0x7be6[11]](function(_0xea46xa){return _0xea46x7[_0x7be6[10]](200)[_0x7be6[9]](_0xea46xa)})[_0x7be6[8]](function(_0xea46x9){return handleError(_0xea46x7,_0xea46x9)})};exports[_0x7be6[18]]=function(_0xea46x6,_0xea46x7){return ChatEnquiry[_0x7be6[22]](_0xea46x6[_0x7be6[21]][_0x7be6[14]],{include:[{model:ChatWebsite,attributes:[_0x7be6[14],_0x7be6[15]]},{model:ChatVisitor}]})[_0x7be6[11]](function(_0xea46xb){if(!_0xea46xb){return _0xea46x7[_0x7be6[20]](404)};return _0xea46x7[_0x7be6[9]](_0xea46xb)})[_0x7be6[8]](function(_0xea46x9){console[_0x7be6[19]](_0xea46x9);return handleError(_0xea46x7,_0xea46x9)})};exports[_0x7be6[23]]=function(_0xea46x6,_0xea46x7){return ChatEnquiry[_0x7be6[23]](_0xea46x6[_0x7be6[24]])[_0x7be6[11]](function(_0xea46xb){return _0xea46x7[_0x7be6[10]](201)[_0x7be6[9]](_0xea46xb)})[_0x7be6[8]](function(_0xea46x9){return handleError(_0xea46x7,_0xea46x9)})};exports[_0x7be6[25]]=function(_0xea46x6,_0xea46x7){if(_0xea46x6[_0x7be6[24]][_0x7be6[14]]){delete _0xea46x6[_0x7be6[24]][_0x7be6[14]]};return ChatEnquiry[_0x7be6[22]](_0xea46x6[_0x7be6[21]][_0x7be6[14]])[_0x7be6[11]](function(_0xea46xb){if(!_0xea46xb){return _0xea46x7[_0x7be6[20]](404)};var _0xea46xc=_[_0x7be6[16]](_0xea46xb,_0xea46x6[_0x7be6[24]]);return _0xea46xc[_0x7be6[26]]()})[_0x7be6[11]](function(_0xea46xb){return _0xea46x7[_0x7be6[10]](200)[_0x7be6[9]](_0xea46xb)})[_0x7be6[8]](function(_0xea46x9){return handleError(_0xea46x7,_0xea46x9)})};exports[_0x7be6[27]]=function(_0xea46x6,_0xea46x7){return ChatEnquiry[_0x7be6[22]](_0xea46x6[_0x7be6[21]][_0x7be6[14]])[_0x7be6[11]](function(_0xea46xb){if(!_0xea46xb){return _0xea46x7[_0x7be6[20]](404)};return _0xea46xb[_0x7be6[27]]()})[_0x7be6[11]](function(){return _0xea46x7[_0x7be6[20]](204)})[_0x7be6[8]](function(_0xea46x9){return handleError(_0xea46x7,_0xea46x9)})};function handleError(_0xea46x7,_0xea46x9){return _0xea46x7[_0x7be6[10]](500)[_0x7be6[9]](_0xea46x9)} \ No newline at end of file +var _0xeb4d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x43\x68\x61\x74\x45\x6E\x71\x75\x69\x72\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x69\x64","\x6E\x61\x6D\x65","\x6D\x65\x72\x67\x65","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x65\x72\x72\x6F\x72","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0xeb4d[0];var _=require(_0xeb4d[1]);var Util=require(_0xeb4d[2]);var ChatEnquiry=require(_0xeb4d[4])[_0xeb4d[3]];var ChatVisitor=require(_0xeb4d[4])[_0xeb4d[5]];var ChatWebsite=require(_0xeb4d[4])[_0xeb4d[6]];exports[_0xeb4d[7]]=function(_0x3e19x6,_0x3e19x7,_0x3e19x8){return ChatEnquiry[_0xeb4d[17]](_[_0xeb4d[16]](Util[_0xeb4d[13]](_0x3e19x6[_0xeb4d[12]]),{include:[{model:ChatWebsite,attributes:[_0xeb4d[14],_0xeb4d[15]]}]}))[_0xeb4d[11]](function(_0x3e19xa){return _0x3e19x7[_0xeb4d[10]](200)[_0xeb4d[9]](_0x3e19xa)})[_0xeb4d[8]](function(_0x3e19x9){return handleError(_0x3e19x7,_0x3e19x9)})};exports[_0xeb4d[18]]=function(_0x3e19x6,_0x3e19x7){return ChatEnquiry[_0xeb4d[22]](_0x3e19x6[_0xeb4d[21]][_0xeb4d[14]],{include:[{model:ChatWebsite,attributes:[_0xeb4d[14],_0xeb4d[15]]},{model:ChatVisitor}]})[_0xeb4d[11]](function(_0x3e19xb){if(!_0x3e19xb){return _0x3e19x7[_0xeb4d[20]](404)};return _0x3e19x7[_0xeb4d[9]](_0x3e19xb)})[_0xeb4d[8]](function(_0x3e19x9){console[_0xeb4d[19]](_0x3e19x9);return handleError(_0x3e19x7,_0x3e19x9)})};exports[_0xeb4d[23]]=function(_0x3e19x6,_0x3e19x7){return ChatEnquiry[_0xeb4d[23]](_0x3e19x6[_0xeb4d[24]])[_0xeb4d[11]](function(_0x3e19xb){return _0x3e19x7[_0xeb4d[10]](201)[_0xeb4d[9]](_0x3e19xb)})[_0xeb4d[8]](function(_0x3e19x9){return handleError(_0x3e19x7,_0x3e19x9)})};exports[_0xeb4d[25]]=function(_0x3e19x6,_0x3e19x7){if(_0x3e19x6[_0xeb4d[24]][_0xeb4d[14]]){delete _0x3e19x6[_0xeb4d[24]][_0xeb4d[14]]};return ChatEnquiry[_0xeb4d[22]](_0x3e19x6[_0xeb4d[21]][_0xeb4d[14]])[_0xeb4d[11]](function(_0x3e19xb){if(!_0x3e19xb){return _0x3e19x7[_0xeb4d[20]](404)};var _0x3e19xc=_[_0xeb4d[16]](_0x3e19xb,_0x3e19x6[_0xeb4d[24]]);return _0x3e19xc[_0xeb4d[26]]()})[_0xeb4d[11]](function(_0x3e19xb){return _0x3e19x7[_0xeb4d[10]](200)[_0xeb4d[9]](_0x3e19xb)})[_0xeb4d[8]](function(_0x3e19x9){return handleError(_0x3e19x7,_0x3e19x9)})};exports[_0xeb4d[27]]=function(_0x3e19x6,_0x3e19x7){return ChatEnquiry[_0xeb4d[22]](_0x3e19x6[_0xeb4d[21]][_0xeb4d[14]])[_0xeb4d[11]](function(_0x3e19xb){if(!_0x3e19xb){return _0x3e19x7[_0xeb4d[20]](404)};return _0x3e19xb[_0xeb4d[27]]()})[_0xeb4d[11]](function(){return _0x3e19x7[_0xeb4d[20]](204)})[_0xeb4d[8]](function(_0x3e19x9){return handleError(_0x3e19x7,_0x3e19x9)})};function handleError(_0x3e19x7,_0x3e19x9){return _0x3e19x7[_0xeb4d[10]](500)[_0xeb4d[9]](_0x3e19x9)} \ No newline at end of file diff --git a/server/api/chat_enquiry/enquiry.socket.js b/server/api/chat_enquiry/enquiry.socket.js index 1240309..a0c9414 100644 --- a/server/api/chat_enquiry/enquiry.socket.js +++ b/server/api/chat_enquiry/enquiry.socket.js @@ -1 +1 @@ -var _0x9855=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x68\x61\x74\x45\x6E\x71\x75\x69\x72\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x65\x6E\x71\x75\x69\x72\x79\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x65\x6E\x71\x75\x69\x72\x79\x3A\x72\x65\x6D\x6F\x76\x65"];_0x9855[0];var enquiry=require(_0x9855[2])[_0x9855[1]];exports[_0x9855[3]]=function(_0xfb1ex2){enquiry[_0x9855[4]](function(_0xfb1ex3){onSave(_0xfb1ex2,_0xfb1ex3)});enquiry[_0x9855[5]](function(_0xfb1ex3){onRemove(_0xfb1ex2,_0xfb1ex3)})};function onSave(_0xfb1ex2,_0xfb1ex3,_0xfb1ex5){_0xfb1ex2[_0x9855[7]](_0x9855[6],_0xfb1ex3)}function onRemove(_0xfb1ex2,_0xfb1ex3,_0xfb1ex5){_0xfb1ex2[_0x9855[7]](_0x9855[8],_0xfb1ex3)} \ No newline at end of file +var _0x139e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x68\x61\x74\x45\x6E\x71\x75\x69\x72\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x65\x6E\x71\x75\x69\x72\x79\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x65\x6E\x71\x75\x69\x72\x79\x3A\x72\x65\x6D\x6F\x76\x65"];_0x139e[0];var enquiry=require(_0x139e[2])[_0x139e[1]];exports[_0x139e[3]]=function(_0x1512x2){enquiry[_0x139e[4]](function(_0x1512x3){onSave(_0x1512x2,_0x1512x3)});enquiry[_0x139e[5]](function(_0x1512x3){onRemove(_0x1512x2,_0x1512x3)})};function onSave(_0x1512x2,_0x1512x3,_0x1512x5){_0x1512x2[_0x139e[7]](_0x139e[6],_0x1512x3)}function onRemove(_0x1512x2,_0x1512x3,_0x1512x5){_0x1512x2[_0x139e[7]](_0x139e[8],_0x1512x3)} \ No newline at end of file diff --git a/server/api/chat_enquiry/index.js b/server/api/chat_enquiry/index.js index 5376524..badfeaa 100644 --- a/server/api/chat_enquiry/index.js +++ b/server/api/chat_enquiry/index.js @@ -1 +1 @@ -var _0x97a1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x65\x6E\x71\x75\x69\x72\x79\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x43\x68\x61\x74","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x97a1[0];var express=require(_0x97a1[1]);var controller=require(_0x97a1[2]);var license=require(_0x97a1[3]);var auth=require(_0x97a1[4]);var router=express.Router();router[_0x97a1[12]](_0x97a1[5],license[_0x97a1[6]](),license[_0x97a1[7]](),auth[_0x97a1[8]](),auth[_0x97a1[10]]([8],[_0x97a1[9]]),controller[_0x97a1[11]]);router[_0x97a1[12]](_0x97a1[13],license[_0x97a1[6]](),license[_0x97a1[7]](),auth[_0x97a1[8]](),auth[_0x97a1[10]]([8],[_0x97a1[9]]),controller[_0x97a1[14]]);router[_0x97a1[16]](_0x97a1[5],license[_0x97a1[6]](),license[_0x97a1[7]](),auth[_0x97a1[8]](),auth[_0x97a1[10]]([8],[_0x97a1[9]]),controller[_0x97a1[15]]);router[_0x97a1[18]](_0x97a1[13],license[_0x97a1[6]](),license[_0x97a1[7]](),auth[_0x97a1[8]](),auth[_0x97a1[10]]([8],[_0x97a1[9]]),controller[_0x97a1[17]]);router[_0x97a1[19]](_0x97a1[13],license[_0x97a1[6]](),license[_0x97a1[7]](),auth[_0x97a1[8]](),auth[_0x97a1[10]]([8],[_0x97a1[9]]),controller[_0x97a1[17]]);router[_0x97a1[21]](_0x97a1[13],license[_0x97a1[6]](),license[_0x97a1[7]](),auth[_0x97a1[8]](),auth[_0x97a1[10]]([8],[_0x97a1[9]]),controller[_0x97a1[20]]);module[_0x97a1[22]]=router \ No newline at end of file +var _0xd330=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x65\x6E\x71\x75\x69\x72\x79\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x43\x68\x61\x74","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xd330[0];var express=require(_0xd330[1]);var controller=require(_0xd330[2]);var license=require(_0xd330[3]);var auth=require(_0xd330[4]);var router=express.Router();router[_0xd330[12]](_0xd330[5],license[_0xd330[6]](),license[_0xd330[7]](),auth[_0xd330[8]](),auth[_0xd330[10]]([8],[_0xd330[9]]),controller[_0xd330[11]]);router[_0xd330[12]](_0xd330[13],license[_0xd330[6]](),license[_0xd330[7]](),auth[_0xd330[8]](),auth[_0xd330[10]]([8],[_0xd330[9]]),controller[_0xd330[14]]);router[_0xd330[16]](_0xd330[5],license[_0xd330[6]](),license[_0xd330[7]](),auth[_0xd330[8]](),auth[_0xd330[10]]([8],[_0xd330[9]]),controller[_0xd330[15]]);router[_0xd330[18]](_0xd330[13],license[_0xd330[6]](),license[_0xd330[7]](),auth[_0xd330[8]](),auth[_0xd330[10]]([8],[_0xd330[9]]),controller[_0xd330[17]]);router[_0xd330[19]](_0xd330[13],license[_0xd330[6]](),license[_0xd330[7]](),auth[_0xd330[8]](),auth[_0xd330[10]]([8],[_0xd330[9]]),controller[_0xd330[17]]);router[_0xd330[21]](_0xd330[13],license[_0xd330[6]](),license[_0xd330[7]](),auth[_0xd330[8]](),auth[_0xd330[10]]([8],[_0xd330[9]]),controller[_0xd330[20]]);module[_0xd330[22]]=router \ No newline at end of file diff --git a/server/api/chat_message/chat_message.controller.js b/server/api/chat_message/chat_message.controller.js index 24c7745..ac72861 100644 --- a/server/api/chat_message/chat_message.controller.js +++ b/server/api/chat_message/chat_message.controller.js @@ -1 +1 @@ -var _0x77db=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x64\x35","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x43\x68\x61\x74\x4D\x65\x73\x73\x61\x67\x65","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x73\x65\x72","\x6D\x65\x72\x67\x65","\x75\x70\x64\x61\x74\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0x77db[0];var _=require(_0x77db[1]);var md5=require(_0x77db[2]);var User=require(_0x77db[4])[_0x77db[3]];var ChatRoom=require(_0x77db[4])[_0x77db[5]];var ChatMessage=require(_0x77db[4])[_0x77db[6]];var ChatVisitor=require(_0x77db[4])[_0x77db[7]];exports[_0x77db[8]]=function(_0xb4cax7,_0xb4cax8){return ChatMessage[_0x77db[13]]()[_0x77db[12]](function(_0xb4caxa){return _0xb4cax8[_0x77db[11]](200)[_0x77db[10]](_0xb4caxa)})[_0x77db[9]](function(_0xb4cax9){return handleError(_0xb4cax8,_0xb4cax9)})};exports[_0x77db[14]]=function(_0xb4cax7,_0xb4cax8){return ChatMessage[_0x77db[18]](_0xb4cax7[_0x77db[17]][_0x77db[16]])[_0x77db[12]](function(_0xb4caxb){if(!_0xb4caxb){return _0xb4cax8[_0x77db[15]](404)};return _0xb4cax8[_0x77db[10]](_0xb4caxb)})[_0x77db[9]](function(_0xb4cax9){return handleError(_0xb4cax8,_0xb4cax9)})};exports[_0x77db[19]]=function(_0xb4cax7,_0xb4cax8,_0xb4caxc){return ChatMessage[_0x77db[19]](_[_0x77db[22]](_0xb4cax7[_0x77db[20]],{UserId:_0xb4cax7[_0x77db[21]][_0x77db[16]]}))[_0x77db[12]](function(_0xb4caxb){return _0xb4cax8[_0x77db[11]](201)[_0x77db[10]](_0xb4caxb)})[_0x77db[9]](function(_0xb4cax9){return handleError(_0xb4cax8,_0xb4cax9)})};exports[_0x77db[23]]=function(_0xb4cax7,_0xb4cax8){if(_0xb4cax7[_0x77db[20]][_0x77db[16]]){delete _0xb4cax7[_0x77db[20]][_0x77db[16]]};return ChatMessage[_0x77db[18]](_0xb4cax7[_0x77db[17]][_0x77db[16]])[_0x77db[12]](function(_0xb4caxb){if(!_0xb4caxb){return _0xb4cax8[_0x77db[15]](404)};var _0xb4caxd=_[_0x77db[22]](_0xb4caxb,_0xb4cax7[_0x77db[20]]);return _0xb4caxd[_0x77db[24]]()})[_0x77db[12]](function(_0xb4caxb){return _0xb4cax8[_0x77db[11]](200)[_0x77db[10]](_0xb4caxb)})[_0x77db[9]](function(_0xb4cax9){return handleError(_0xb4cax8,_0xb4cax9)})};exports[_0x77db[25]]=function(_0xb4cax7,_0xb4cax8){return ChatMessage[_0x77db[18]](_0xb4cax7[_0x77db[17]][_0x77db[16]])[_0x77db[12]](function(_0xb4caxb){if(!_0xb4caxb){return _0xb4cax8[_0x77db[15]](404)};return _0xb4caxb[_0x77db[25]]()})[_0x77db[12]](function(){return _0xb4cax8[_0x77db[15]](204)})[_0x77db[9]](function(_0xb4cax9){return handleError(_0xb4cax8,_0xb4cax9)})};function handleError(_0xb4cax8,_0xb4cax9){return _0xb4cax8[_0x77db[11]](500)[_0x77db[10]](_0xb4cax9)} \ No newline at end of file +var _0xa7c3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x64\x35","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x43\x68\x61\x74\x4D\x65\x73\x73\x61\x67\x65","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x73\x65\x72","\x6D\x65\x72\x67\x65","\x75\x70\x64\x61\x74\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0xa7c3[0];var _=require(_0xa7c3[1]);var md5=require(_0xa7c3[2]);var User=require(_0xa7c3[4])[_0xa7c3[3]];var ChatRoom=require(_0xa7c3[4])[_0xa7c3[5]];var ChatMessage=require(_0xa7c3[4])[_0xa7c3[6]];var ChatVisitor=require(_0xa7c3[4])[_0xa7c3[7]];exports[_0xa7c3[8]]=function(_0xb3e6x7,_0xb3e6x8){return ChatMessage[_0xa7c3[13]]()[_0xa7c3[12]](function(_0xb3e6xa){return _0xb3e6x8[_0xa7c3[11]](200)[_0xa7c3[10]](_0xb3e6xa)})[_0xa7c3[9]](function(_0xb3e6x9){return handleError(_0xb3e6x8,_0xb3e6x9)})};exports[_0xa7c3[14]]=function(_0xb3e6x7,_0xb3e6x8){return ChatMessage[_0xa7c3[18]](_0xb3e6x7[_0xa7c3[17]][_0xa7c3[16]])[_0xa7c3[12]](function(_0xb3e6xb){if(!_0xb3e6xb){return _0xb3e6x8[_0xa7c3[15]](404)};return _0xb3e6x8[_0xa7c3[10]](_0xb3e6xb)})[_0xa7c3[9]](function(_0xb3e6x9){return handleError(_0xb3e6x8,_0xb3e6x9)})};exports[_0xa7c3[19]]=function(_0xb3e6x7,_0xb3e6x8,_0xb3e6xc){return ChatMessage[_0xa7c3[19]](_[_0xa7c3[22]](_0xb3e6x7[_0xa7c3[20]],{UserId:_0xb3e6x7[_0xa7c3[21]][_0xa7c3[16]]}))[_0xa7c3[12]](function(_0xb3e6xb){return _0xb3e6x8[_0xa7c3[11]](201)[_0xa7c3[10]](_0xb3e6xb)})[_0xa7c3[9]](function(_0xb3e6x9){return handleError(_0xb3e6x8,_0xb3e6x9)})};exports[_0xa7c3[23]]=function(_0xb3e6x7,_0xb3e6x8){if(_0xb3e6x7[_0xa7c3[20]][_0xa7c3[16]]){delete _0xb3e6x7[_0xa7c3[20]][_0xa7c3[16]]};return ChatMessage[_0xa7c3[18]](_0xb3e6x7[_0xa7c3[17]][_0xa7c3[16]])[_0xa7c3[12]](function(_0xb3e6xb){if(!_0xb3e6xb){return _0xb3e6x8[_0xa7c3[15]](404)};var _0xb3e6xd=_[_0xa7c3[22]](_0xb3e6xb,_0xb3e6x7[_0xa7c3[20]]);return _0xb3e6xd[_0xa7c3[24]]()})[_0xa7c3[12]](function(_0xb3e6xb){return _0xb3e6x8[_0xa7c3[11]](200)[_0xa7c3[10]](_0xb3e6xb)})[_0xa7c3[9]](function(_0xb3e6x9){return handleError(_0xb3e6x8,_0xb3e6x9)})};exports[_0xa7c3[25]]=function(_0xb3e6x7,_0xb3e6x8){return ChatMessage[_0xa7c3[18]](_0xb3e6x7[_0xa7c3[17]][_0xa7c3[16]])[_0xa7c3[12]](function(_0xb3e6xb){if(!_0xb3e6xb){return _0xb3e6x8[_0xa7c3[15]](404)};return _0xb3e6xb[_0xa7c3[25]]()})[_0xa7c3[12]](function(){return _0xb3e6x8[_0xa7c3[15]](204)})[_0xa7c3[9]](function(_0xb3e6x9){return handleError(_0xb3e6x8,_0xb3e6x9)})};function handleError(_0xb3e6x8,_0xb3e6x9){return _0xb3e6x8[_0xa7c3[11]](500)[_0xa7c3[10]](_0xb3e6x9)} \ No newline at end of file diff --git a/server/api/chat_message/chat_message.socket.js b/server/api/chat_message/chat_message.socket.js index a75b67a..c546a27 100644 --- a/server/api/chat_message/chat_message.socket.js +++ b/server/api/chat_message/chat_message.socket.js @@ -1 +1 @@ -var _0x29f7=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x68\x61\x74\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x6C\x6F\x64\x61\x73\x68","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x55\x73\x65\x72\x49\x64","\x66\x69\x6E\x64","\x75\x73\x65\x72\x49\x64","\x69\x64","\x63\x68\x61\x74\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x73\x61\x76\x65","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x6D\x65\x72\x67\x65","\x65\x6D\x69\x74","\x66\x6F\x72\x45\x61\x63\x68","\x73\x70\x72\x65\x61\x64","\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x72\x6F\x6C\x65","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x75\x73\x65\x72\x70\x69\x63","\x67\x65\x74\x55\x73\x65\x72\x73","\x67\x65\x74\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x74\x68\x65\x6E","\x67\x65\x74\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x43\x68\x61\x74\x4D\x65\x73\x73\x61\x67\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x29f7[0];var ChatMessage=require(_0x29f7[2])[_0x29f7[1]];var _=require(_0x29f7[3]);exports[_0x29f7[4]]=function(_0x706ex3){ChatMessage[_0x29f7[5]](function(_0x706ex4){onSave(_0x706ex3,_0x706ex4)});ChatMessage[_0x29f7[6]](function(_0x706ex4){onSave(_0x706ex3,_0x706ex4)});ChatMessage[_0x29f7[7]](function(_0x706ex4){onRemove(_0x706ex3,_0x706ex4)})};function onSave(_0x706ex3,_0x706ex4,_0x706ex6){return _0x706ex4[_0x29f7[29]]()[_0x29f7[28]](function(_0x706exc){return [_0x706exc[_0x29f7[26]]({attributes:[_0x29f7[13],_0x29f7[20],_0x29f7[21],_0x29f7[22],_0x29f7[23],_0x29f7[24],_0x29f7[25]],raw:true}),_0x706exc[_0x29f7[27]]({attributes:[_0x29f7[13],_0x29f7[21],_0x29f7[22]],raw:true})]})[_0x29f7[19]](function(_0x706ex8,_0x706ex9){var _0x706exa=_[_0x29f7[11]](_0x706ex8,{id:_0x706ex4[_0x29f7[10]]});_0x706ex8[_0x29f7[18]](function(_0x706exb){if(_0x706ex3[_0x29f7[12]]==_0x706exb[_0x29f7[13]]&&(_0x706exa||_0x706ex9)){_0x706ex3[_0x29f7[17]](_0x29f7[14],_[_0x29f7[16]](_0x706ex4[_0x29f7[15]],{User:_0x706exa,ChatVisitor:_0x706exa?null:_0x706ex9}))}})})[_0x29f7[9]](function(_0x706ex7){console[_0x29f7[8]](_0x706ex7)})}function onRemove(_0x706ex3,_0x706ex4,_0x706ex6){_0x706ex3[_0x29f7[17]](_0x29f7[30],_0x706ex4)} \ No newline at end of file +var _0x38a6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x68\x61\x74\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x6C\x6F\x64\x61\x73\x68","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x55\x73\x65\x72\x49\x64","\x66\x69\x6E\x64","\x75\x73\x65\x72\x49\x64","\x69\x64","\x63\x68\x61\x74\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x73\x61\x76\x65","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x6D\x65\x72\x67\x65","\x65\x6D\x69\x74","\x66\x6F\x72\x45\x61\x63\x68","\x73\x70\x72\x65\x61\x64","\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x72\x6F\x6C\x65","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x75\x73\x65\x72\x70\x69\x63","\x67\x65\x74\x55\x73\x65\x72\x73","\x67\x65\x74\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x74\x68\x65\x6E","\x67\x65\x74\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x43\x68\x61\x74\x4D\x65\x73\x73\x61\x67\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x38a6[0];var ChatMessage=require(_0x38a6[2])[_0x38a6[1]];var _=require(_0x38a6[3]);exports[_0x38a6[4]]=function(_0x40bdx3){ChatMessage[_0x38a6[5]](function(_0x40bdx4){onSave(_0x40bdx3,_0x40bdx4)});ChatMessage[_0x38a6[6]](function(_0x40bdx4){onSave(_0x40bdx3,_0x40bdx4)});ChatMessage[_0x38a6[7]](function(_0x40bdx4){onRemove(_0x40bdx3,_0x40bdx4)})};function onSave(_0x40bdx3,_0x40bdx4,_0x40bdx6){return _0x40bdx4[_0x38a6[29]]()[_0x38a6[28]](function(_0x40bdxc){return [_0x40bdxc[_0x38a6[26]]({attributes:[_0x38a6[13],_0x38a6[20],_0x38a6[21],_0x38a6[22],_0x38a6[23],_0x38a6[24],_0x38a6[25]],raw:true}),_0x40bdxc[_0x38a6[27]]({attributes:[_0x38a6[13],_0x38a6[21],_0x38a6[22]],raw:true})]})[_0x38a6[19]](function(_0x40bdx8,_0x40bdx9){var _0x40bdxa=_[_0x38a6[11]](_0x40bdx8,{id:_0x40bdx4[_0x38a6[10]]});_0x40bdx8[_0x38a6[18]](function(_0x40bdxb){if(_0x40bdx3[_0x38a6[12]]==_0x40bdxb[_0x38a6[13]]&&(_0x40bdxa||_0x40bdx9)){_0x40bdx3[_0x38a6[17]](_0x38a6[14],_[_0x38a6[16]](_0x40bdx4[_0x38a6[15]],{User:_0x40bdxa,ChatVisitor:_0x40bdxa?null:_0x40bdx9}))}})})[_0x38a6[9]](function(_0x40bdx7){console[_0x38a6[8]](_0x40bdx7)})}function onRemove(_0x40bdx3,_0x40bdx4,_0x40bdx6){_0x40bdx3[_0x38a6[17]](_0x38a6[30],_0x40bdx4)} \ No newline at end of file diff --git a/server/api/chat_message/index.js b/server/api/chat_message/index.js index 7c9ec8f..1e65bf4 100644 --- a/server/api/chat_message/index.js +++ b/server/api/chat_message/index.js @@ -1 +1 @@ -var _0xb742=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x63\x68\x61\x74\x5F\x6D\x65\x73\x73\x61\x67\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x43\x68\x61\x74","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xb742[0];var express=require(_0xb742[1]);var controller=require(_0xb742[2]);var license=require(_0xb742[3]);var auth=require(_0xb742[4]);var router=express.Router();router[_0xb742[13]](_0xb742[5],license[_0xb742[6]](),license[_0xb742[7]](),auth[_0xb742[8]](),auth[_0xb742[11]]([8],[_0xb742[9],_0xb742[10]]),controller[_0xb742[12]]);router[_0xb742[13]](_0xb742[14],license[_0xb742[6]](),license[_0xb742[7]](),auth[_0xb742[8]](),auth[_0xb742[11]]([8],[_0xb742[9],_0xb742[10]]),controller[_0xb742[15]]);router[_0xb742[17]](_0xb742[5],license[_0xb742[6]](),license[_0xb742[7]](),auth[_0xb742[8]](),auth[_0xb742[11]]([8],[_0xb742[9],_0xb742[10]]),controller[_0xb742[16]]);router[_0xb742[19]](_0xb742[14],license[_0xb742[6]](),license[_0xb742[7]](),auth[_0xb742[8]](),auth[_0xb742[11]]([8],[_0xb742[9]]),controller[_0xb742[18]]);router[_0xb742[21]](_0xb742[14],license[_0xb742[6]](),license[_0xb742[7]](),auth[_0xb742[8]](),auth[_0xb742[11]]([8],[_0xb742[9]]),controller[_0xb742[20]]);module[_0xb742[22]]=router \ No newline at end of file +var _0x40bb=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x63\x68\x61\x74\x5F\x6D\x65\x73\x73\x61\x67\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x43\x68\x61\x74","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x40bb[0];var express=require(_0x40bb[1]);var controller=require(_0x40bb[2]);var license=require(_0x40bb[3]);var auth=require(_0x40bb[4]);var router=express.Router();router[_0x40bb[13]](_0x40bb[5],license[_0x40bb[6]](),license[_0x40bb[7]](),auth[_0x40bb[8]](),auth[_0x40bb[11]]([8],[_0x40bb[9],_0x40bb[10]]),controller[_0x40bb[12]]);router[_0x40bb[13]](_0x40bb[14],license[_0x40bb[6]](),license[_0x40bb[7]](),auth[_0x40bb[8]](),auth[_0x40bb[11]]([8],[_0x40bb[9],_0x40bb[10]]),controller[_0x40bb[15]]);router[_0x40bb[17]](_0x40bb[5],license[_0x40bb[6]](),license[_0x40bb[7]](),auth[_0x40bb[8]](),auth[_0x40bb[11]]([8],[_0x40bb[9],_0x40bb[10]]),controller[_0x40bb[16]]);router[_0x40bb[19]](_0x40bb[14],license[_0x40bb[6]](),license[_0x40bb[7]](),auth[_0x40bb[8]](),auth[_0x40bb[11]]([8],[_0x40bb[9]]),controller[_0x40bb[18]]);router[_0x40bb[21]](_0x40bb[14],license[_0x40bb[6]](),license[_0x40bb[7]](),auth[_0x40bb[8]](),auth[_0x40bb[11]]([8],[_0x40bb[9]]),controller[_0x40bb[20]]);module[_0x40bb[22]]=router \ No newline at end of file diff --git a/server/api/chat_proactive_action/chat_proactive_action.controller.js b/server/api/chat_proactive_action/chat_proactive_action.controller.js index 0c75669..0cac589 100644 --- a/server/api/chat_proactive_action/chat_proactive_action.controller.js +++ b/server/api/chat_proactive_action/chat_proactive_action.controller.js @@ -1 +1 @@ -var _0x4bdd=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x43\x68\x61\x74\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65"];_0x4bdd[0];var _=require(_0x4bdd[1]);var Util=require(_0x4bdd[2]);var ChatProactiveAction=require(_0x4bdd[4])[_0x4bdd[3]];function handleError(_0x8c5cx5,_0x8c5cx6){_0x8c5cx6=_0x8c5cx6||500;return function(_0x8c5cx7){_0x8c5cx5[_0x4bdd[6]](_0x8c5cx6)[_0x4bdd[5]](_0x8c5cx7)}}function responseWithResult(_0x8c5cx5,_0x8c5cx6){_0x8c5cx6=_0x8c5cx6||200;return function(_0x8c5cx9){if(_0x8c5cx9){_0x8c5cx5[_0x4bdd[6]](_0x8c5cx6)[_0x4bdd[7]](_0x8c5cx9)}}}function responseWithoutResult(_0x8c5cx5,_0x8c5cx6){_0x8c5cx6=_0x8c5cx6||204;return function(){_0x8c5cx5[_0x4bdd[8]](_0x8c5cx6)}}function handleEntityNotFound(_0x8c5cx5){return function(_0x8c5cx9){if(!_0x8c5cx9){_0x8c5cx5[_0x4bdd[6]](404)[_0x4bdd[9]]();return null};return _0x8c5cx9}}function saveUpdates(_0x8c5cxd){return function(_0x8c5cx9){return _0x8c5cx9[_0x4bdd[11]](_0x8c5cxd)[_0x4bdd[10]](function(_0x8c5cxe){return _0x8c5cxe})}}function removeEntity(_0x8c5cx5){return function(_0x8c5cx9){if(_0x8c5cx9){return _0x8c5cx9[_0x4bdd[12]]()[_0x4bdd[10]](function(){_0x8c5cx5[_0x4bdd[6]](204)[_0x4bdd[9]]()})}}}exports[_0x4bdd[13]]=function(_0x8c5cx10,_0x8c5cx5){return ChatProactiveAction[_0x4bdd[17]](Util[_0x4bdd[16]](_0x8c5cx10[_0x4bdd[15]]))[_0x4bdd[10]](responseWithResult(_0x8c5cx5))[_0x4bdd[14]](handleError(_0x8c5cx5))};exports[_0x4bdd[18]]=function(_0x8c5cx10,_0x8c5cx5){return ChatProactiveAction[_0x4bdd[21]](_0x8c5cx10[_0x4bdd[20]][_0x4bdd[19]])[_0x4bdd[10]](handleEntityNotFound(_0x8c5cx5))[_0x4bdd[10]](responseWithResult(_0x8c5cx5))[_0x4bdd[14]](handleError(_0x8c5cx5))};exports[_0x4bdd[22]]=function(_0x8c5cx10,_0x8c5cx5){return ChatProactiveAction[_0x4bdd[22]](_0x8c5cx10[_0x4bdd[23]])[_0x4bdd[10]](responseWithResult(_0x8c5cx5,201))[_0x4bdd[14]](handleError(_0x8c5cx5))};exports[_0x4bdd[24]]=function(_0x8c5cx10,_0x8c5cx5){if(_0x8c5cx10[_0x4bdd[23]][_0x4bdd[19]]){delete _0x8c5cx10[_0x4bdd[23]][_0x4bdd[19]]};return ChatProactiveAction[_0x4bdd[21]](_0x8c5cx10[_0x4bdd[20]][_0x4bdd[19]])[_0x4bdd[10]](handleEntityNotFound(_0x8c5cx5))[_0x4bdd[10]](saveUpdates(_0x8c5cx10[_0x4bdd[23]]))[_0x4bdd[10]](responseWithResult(_0x8c5cx5))[_0x4bdd[14]](handleError(_0x8c5cx5))};exports[_0x4bdd[12]]=function(_0x8c5cx10,_0x8c5cx5){return ChatProactiveAction[_0x4bdd[21]](_0x8c5cx10[_0x4bdd[20]][_0x4bdd[19]])[_0x4bdd[10]](handleEntityNotFound(_0x8c5cx5))[_0x4bdd[10]](removeEntity(_0x8c5cx5))[_0x4bdd[14]](handleError(_0x8c5cx5))} \ No newline at end of file +var _0x6f6a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x43\x68\x61\x74\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65"];_0x6f6a[0];var _=require(_0x6f6a[1]);var Util=require(_0x6f6a[2]);var ChatProactiveAction=require(_0x6f6a[4])[_0x6f6a[3]];function handleError(_0xa662x5,_0xa662x6){_0xa662x6=_0xa662x6||500;return function(_0xa662x7){_0xa662x5[_0x6f6a[6]](_0xa662x6)[_0x6f6a[5]](_0xa662x7)}}function responseWithResult(_0xa662x5,_0xa662x6){_0xa662x6=_0xa662x6||200;return function(_0xa662x9){if(_0xa662x9){_0xa662x5[_0x6f6a[6]](_0xa662x6)[_0x6f6a[7]](_0xa662x9)}}}function responseWithoutResult(_0xa662x5,_0xa662x6){_0xa662x6=_0xa662x6||204;return function(){_0xa662x5[_0x6f6a[8]](_0xa662x6)}}function handleEntityNotFound(_0xa662x5){return function(_0xa662x9){if(!_0xa662x9){_0xa662x5[_0x6f6a[6]](404)[_0x6f6a[9]]();return null};return _0xa662x9}}function saveUpdates(_0xa662xd){return function(_0xa662x9){return _0xa662x9[_0x6f6a[11]](_0xa662xd)[_0x6f6a[10]](function(_0xa662xe){return _0xa662xe})}}function removeEntity(_0xa662x5){return function(_0xa662x9){if(_0xa662x9){return _0xa662x9[_0x6f6a[12]]()[_0x6f6a[10]](function(){_0xa662x5[_0x6f6a[6]](204)[_0x6f6a[9]]()})}}}exports[_0x6f6a[13]]=function(_0xa662x10,_0xa662x5){return ChatProactiveAction[_0x6f6a[17]](Util[_0x6f6a[16]](_0xa662x10[_0x6f6a[15]]))[_0x6f6a[10]](responseWithResult(_0xa662x5))[_0x6f6a[14]](handleError(_0xa662x5))};exports[_0x6f6a[18]]=function(_0xa662x10,_0xa662x5){return ChatProactiveAction[_0x6f6a[21]](_0xa662x10[_0x6f6a[20]][_0x6f6a[19]])[_0x6f6a[10]](handleEntityNotFound(_0xa662x5))[_0x6f6a[10]](responseWithResult(_0xa662x5))[_0x6f6a[14]](handleError(_0xa662x5))};exports[_0x6f6a[22]]=function(_0xa662x10,_0xa662x5){return ChatProactiveAction[_0x6f6a[22]](_0xa662x10[_0x6f6a[23]])[_0x6f6a[10]](responseWithResult(_0xa662x5,201))[_0x6f6a[14]](handleError(_0xa662x5))};exports[_0x6f6a[24]]=function(_0xa662x10,_0xa662x5){if(_0xa662x10[_0x6f6a[23]][_0x6f6a[19]]){delete _0xa662x10[_0x6f6a[23]][_0x6f6a[19]]};return ChatProactiveAction[_0x6f6a[21]](_0xa662x10[_0x6f6a[20]][_0x6f6a[19]])[_0x6f6a[10]](handleEntityNotFound(_0xa662x5))[_0x6f6a[10]](saveUpdates(_0xa662x10[_0x6f6a[23]]))[_0x6f6a[10]](responseWithResult(_0xa662x5))[_0x6f6a[14]](handleError(_0xa662x5))};exports[_0x6f6a[12]]=function(_0xa662x10,_0xa662x5){return ChatProactiveAction[_0x6f6a[21]](_0xa662x10[_0x6f6a[20]][_0x6f6a[19]])[_0x6f6a[10]](handleEntityNotFound(_0xa662x5))[_0x6f6a[10]](removeEntity(_0xa662x5))[_0x6f6a[14]](handleError(_0xa662x5))} \ No newline at end of file diff --git a/server/api/chat_proactive_action/chat_proactive_action.socket.js b/server/api/chat_proactive_action/chat_proactive_action.socket.js index cb3dcbc..f31a929 100644 --- a/server/api/chat_proactive_action/chat_proactive_action.socket.js +++ b/server/api/chat_proactive_action/chat_proactive_action.socket.js @@ -1 +1 @@ -var _0x43b5=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x68\x61\x74\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x68\x61\x74\x5F\x70\x72\x6F\x61\x63\x74\x69\x76\x65\x5F\x61\x63\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x68\x61\x74\x5F\x70\x72\x6F\x61\x63\x74\x69\x76\x65\x5F\x61\x63\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x43b5[0];var ChatProactiveAction=require(_0x43b5[2])[_0x43b5[1]];exports[_0x43b5[3]]=function(_0x2a9cx2){ChatProactiveAction[_0x43b5[4]](function(_0x2a9cx3){onSave(_0x2a9cx2,_0x2a9cx3)});ChatProactiveAction[_0x43b5[5]](function(_0x2a9cx3){onRemove(_0x2a9cx2,_0x2a9cx3)})};function onSave(_0x2a9cx2,_0x2a9cx3,_0x2a9cx5){_0x2a9cx2[_0x43b5[7]](_0x43b5[6],_0x2a9cx3)}function onRemove(_0x2a9cx2,_0x2a9cx3,_0x2a9cx5){_0x2a9cx2[_0x43b5[7]](_0x43b5[8],_0x2a9cx3)} \ No newline at end of file +var _0xea8a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x68\x61\x74\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x68\x61\x74\x5F\x70\x72\x6F\x61\x63\x74\x69\x76\x65\x5F\x61\x63\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x68\x61\x74\x5F\x70\x72\x6F\x61\x63\x74\x69\x76\x65\x5F\x61\x63\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0xea8a[0];var ChatProactiveAction=require(_0xea8a[2])[_0xea8a[1]];exports[_0xea8a[3]]=function(_0x6192x2){ChatProactiveAction[_0xea8a[4]](function(_0x6192x3){onSave(_0x6192x2,_0x6192x3)});ChatProactiveAction[_0xea8a[5]](function(_0x6192x3){onRemove(_0x6192x2,_0x6192x3)})};function onSave(_0x6192x2,_0x6192x3,_0x6192x5){_0x6192x2[_0xea8a[7]](_0xea8a[6],_0x6192x3)}function onRemove(_0x6192x2,_0x6192x3,_0x6192x5){_0x6192x2[_0xea8a[7]](_0xea8a[8],_0x6192x3)} \ No newline at end of file diff --git a/server/api/chat_proactive_action/index.js b/server/api/chat_proactive_action/index.js index d17c1b9..ff1b9b0 100644 --- a/server/api/chat_proactive_action/index.js +++ b/server/api/chat_proactive_action/index.js @@ -1 +1 @@ -var _0x7438=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x63\x68\x61\x74\x5F\x70\x72\x6F\x61\x63\x74\x69\x76\x65\x5F\x61\x63\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x7438[0];var express=require(_0x7438[1]);var auth=require(_0x7438[2]);var controller=require(_0x7438[3]);var router=express.Router();router[_0x7438[9]](_0x7438[4],auth[_0x7438[5]](),auth[_0x7438[7]]([8],[_0x7438[6]]),controller[_0x7438[8]]);router[_0x7438[9]](_0x7438[10],auth[_0x7438[5]](),auth[_0x7438[7]]([8],[_0x7438[6]]),controller[_0x7438[11]]);router[_0x7438[13]](_0x7438[4],auth[_0x7438[5]](),auth[_0x7438[7]]([8],[_0x7438[6]]),controller[_0x7438[12]]);router[_0x7438[15]](_0x7438[10],auth[_0x7438[5]](),auth[_0x7438[7]]([8],[_0x7438[6]]),controller[_0x7438[14]]);router[_0x7438[16]](_0x7438[10],auth[_0x7438[5]](),auth[_0x7438[7]]([8],[_0x7438[6]]),controller[_0x7438[14]]);router[_0x7438[18]](_0x7438[10],auth[_0x7438[5]](),auth[_0x7438[7]]([8],[_0x7438[6]]),controller[_0x7438[17]]);module[_0x7438[19]]=router \ No newline at end of file +var _0x7740=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x63\x68\x61\x74\x5F\x70\x72\x6F\x61\x63\x74\x69\x76\x65\x5F\x61\x63\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x7740[0];var express=require(_0x7740[1]);var auth=require(_0x7740[2]);var controller=require(_0x7740[3]);var router=express.Router();router[_0x7740[9]](_0x7740[4],auth[_0x7740[5]](),auth[_0x7740[7]]([8],[_0x7740[6]]),controller[_0x7740[8]]);router[_0x7740[9]](_0x7740[10],auth[_0x7740[5]](),auth[_0x7740[7]]([8],[_0x7740[6]]),controller[_0x7740[11]]);router[_0x7740[13]](_0x7740[4],auth[_0x7740[5]](),auth[_0x7740[7]]([8],[_0x7740[6]]),controller[_0x7740[12]]);router[_0x7740[15]](_0x7740[10],auth[_0x7740[5]](),auth[_0x7740[7]]([8],[_0x7740[6]]),controller[_0x7740[14]]);router[_0x7740[16]](_0x7740[10],auth[_0x7740[5]](),auth[_0x7740[7]]([8],[_0x7740[6]]),controller[_0x7740[14]]);router[_0x7740[18]](_0x7740[10],auth[_0x7740[5]](),auth[_0x7740[7]]([8],[_0x7740[6]]),controller[_0x7740[17]]);module[_0x7740[19]]=router \ No newline at end of file diff --git a/server/api/chat_queue/chat_queue.controller.js b/server/api/chat_queue/chat_queue.controller.js index 99b1b9a..d5f31ab 100644 --- a/server/api/chat_queue/chat_queue.controller.js +++ b/server/api/chat_queue/chat_queue.controller.js @@ -1 +1 @@ -var _0x7aab=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x55\x73\x65\x72\x48\x61\x73\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x69\x64","\x75\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x66\x61\x75\x6C\x74","\x73\x63\x6F\x70\x65","\x72\x6F\x6C\x65","\x6D\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x70\x61\x72\x61\x6D\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x6C\x65\x6E\x67\x74\x68","\x61\x67\x65\x6E\x74","\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x67\x65\x74\x55\x73\x65\x72\x73","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x61\x67\x65\x6E\x74\x73","\x70\x65\x6E\x61\x6C\x74\x79","\x6D\x61\x70","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x72\x65\x6D\x6F\x76\x65\x55\x73\x65\x72\x73","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0x7aab[0];var _=require(_0x7aab[1]);var Util=require(_0x7aab[2]);var ChatQueue=require(_0x7aab[4])[_0x7aab[3]];var User=require(_0x7aab[4])[_0x7aab[5]];var UserHasChatQueue=require(_0x7aab[4])[_0x7aab[6]];exports[_0x7aab[7]]=function(_0xe5f5x6,_0xe5f5x7){switch(_0xe5f5x6[_0x7aab[15]][_0x7aab[21]]){case _0x7aab[15]:return User[_0x7aab[16]](_0xe5f5x6[_0x7aab[15]][_0x7aab[14]],{attributes:[_0x7aab[14]]})[_0x7aab[11]](Util[_0x7aab[13]](_0xe5f5x6[_0x7aab[12]]))[_0x7aab[11]](function(_0xe5f5x9){_0xe5f5x7[_0x7aab[10]](200)[_0x7aab[9]](_0xe5f5x9)})[_0x7aab[8]](function(_0xe5f5x8){return handleError(_0xe5f5x7,_0xe5f5x8)});default:return ChatQueue[_0x7aab[20]](_0x7aab[19])[_0x7aab[18]](Util[_0x7aab[17]](_0xe5f5x6[_0x7aab[12]]))[_0x7aab[11]](function(_0xe5f5x9){_0xe5f5x7[_0x7aab[10]](200)[_0x7aab[9]](_0xe5f5x9)})[_0x7aab[8]](function(_0xe5f5x8){return handleError(_0xe5f5x7,_0xe5f5x8)})}};exports[_0x7aab[22]]=function(_0xe5f5x6,_0xe5f5x7,_0xe5f5xa){return UserHasChatQueue[_0x7aab[23]]({where:{UserId:_0xe5f5x6[_0x7aab[15]][_0x7aab[14]]}})[_0x7aab[11]](function(_0xe5f5xb){return _0xe5f5x7[_0x7aab[10]](200)[_0x7aab[9]](_0xe5f5xb)})[_0x7aab[8]](function(_0xe5f5x8){return handleError(_0xe5f5x7,_0xe5f5x8)})};exports[_0x7aab[24]]=function(_0xe5f5x6,_0xe5f5x7){return ChatQueue[_0x7aab[16]](_0xe5f5x6[_0x7aab[26]][_0x7aab[14]])[_0x7aab[11]](function(_0xe5f5xc){if(!_0xe5f5xc){return _0xe5f5x7[_0x7aab[25]](404)};return _0xe5f5x7[_0x7aab[9]](_0xe5f5xc)})[_0x7aab[8]](function(_0xe5f5x8){return handleError(_0xe5f5x7,_0xe5f5x8)})};exports[_0x7aab[27]]=function(_0xe5f5x6,_0xe5f5x7){return ChatQueue[_0x7aab[16]](_0xe5f5x6[_0x7aab[26]][_0x7aab[14]])[_0x7aab[11]](function(_0xe5f5xe){if(!_0xe5f5xe){return _0xe5f5x7[_0x7aab[25]](404)};return _0xe5f5xe[_0x7aab[33]]({where:{role:_0x7aab[29]},attributes:[_0x7aab[14],_0x7aab[30],_0x7aab[31],_0x7aab[32]]})})[_0x7aab[11]](function(_0xe5f5xd){return _0xe5f5x7[_0x7aab[10]](200)[_0x7aab[9]]({rows:_0xe5f5xd,count:_0xe5f5xd[_0x7aab[28]]})})[_0x7aab[8]](function(_0xe5f5x8){return handleError(_0xe5f5x7,_0xe5f5x8)})};exports[_0x7aab[34]]=function(_0xe5f5x6,_0xe5f5x7){return ChatQueue[_0x7aab[34]](_0xe5f5x6[_0x7aab[35]])[_0x7aab[11]](function(_0xe5f5xc){return _0xe5f5x7[_0x7aab[10]](201)[_0x7aab[9]](_0xe5f5xc)})[_0x7aab[8]](function(_0xe5f5x8){return handleError(_0xe5f5x7,_0xe5f5x8)})};exports[_0x7aab[36]]=function(_0xe5f5x6,_0xe5f5x7){if(_0xe5f5x6[_0x7aab[35]][_0x7aab[14]]){delete _0xe5f5x6[_0x7aab[35]][_0x7aab[14]]};return ChatQueue[_0x7aab[16]](_0xe5f5x6[_0x7aab[26]][_0x7aab[14]])[_0x7aab[11]](function(_0xe5f5xc){if(!_0xe5f5xc){return _0xe5f5x7[_0x7aab[25]](404)};var _0xe5f5xf=_[_0x7aab[37]](_0xe5f5xc,_0xe5f5x6[_0x7aab[35]]);return _0xe5f5xf[_0x7aab[38]]()})[_0x7aab[11]](function(_0xe5f5xc){return _0xe5f5x7[_0x7aab[10]](200)[_0x7aab[9]](_0xe5f5xc)})[_0x7aab[8]](function(_0xe5f5x8){return handleError(_0xe5f5x7,_0xe5f5x8)})};exports[_0x7aab[39]]=function(_0xe5f5x6,_0xe5f5x7,_0xe5f5xa){return ChatQueue[_0x7aab[16]](_0xe5f5x6[_0x7aab[26]][_0x7aab[14]])[_0x7aab[11]](function(_0xe5f5x10){if(!_0xe5f5x10){return _0xe5f5x7[_0x7aab[25]](404)};var _0xe5f5xb=_[_0x7aab[42]](_0xe5f5x6[_0x7aab[35]][_0x7aab[40]],function(_0xe5f5x11){return {UserId:_0xe5f5x11,penalty:_0xe5f5x6[_0x7aab[35]][_0x7aab[41]],ChatQueueId:_0xe5f5x10[_0x7aab[14]],queue:_0xe5f5x10[_0x7aab[30]]}});return UserHasChatQueue[_0x7aab[43]](_0xe5f5xb,{individualHooks:true})})[_0x7aab[11]](function(){return _0xe5f5x7[_0x7aab[25]](200)})[_0x7aab[8]](function(_0xe5f5x8){return handleError(_0xe5f5x7,_0xe5f5x8)})};exports[_0x7aab[44]]=function(_0xe5f5x6,_0xe5f5x7,_0xe5f5xa){return ChatQueue[_0x7aab[16]](_0xe5f5x6[_0x7aab[26]][_0x7aab[14]])[_0x7aab[11]](function(_0xe5f5x10){if(!_0xe5f5x10){return _0xe5f5x7[_0x7aab[25]](404)};return _0xe5f5x10[_0x7aab[45]](_0xe5f5x6[_0x7aab[12]][_0x7aab[40]],{individualHooks:true})})[_0x7aab[11]](function(){return _0xe5f5x7[_0x7aab[25]](200)})[_0x7aab[8]](function(_0xe5f5x8){return handleError(_0xe5f5x7,_0xe5f5x8)})};exports[_0x7aab[46]]=function(_0xe5f5x6,_0xe5f5x7){return ChatQueue[_0x7aab[16]](_0xe5f5x6[_0x7aab[26]][_0x7aab[14]])[_0x7aab[11]](function(_0xe5f5xc){if(!_0xe5f5xc){return _0xe5f5x7[_0x7aab[25]](404)};return _0xe5f5xc[_0x7aab[46]]()})[_0x7aab[11]](function(){return _0xe5f5x7[_0x7aab[25]](204)})[_0x7aab[8]](function(_0xe5f5x8){return handleError(_0xe5f5x7,_0xe5f5x8)})};exports[_0x7aab[47]]=function(_0xe5f5x6,_0xe5f5x7){return ChatQueue[_0x7aab[46]]({where:{id:_0xe5f5x6[_0x7aab[12]][_0x7aab[48]]},individualHooks:true})[_0x7aab[11]](function(){return _0xe5f5x7[_0x7aab[25]](204)})[_0x7aab[8]](function(_0xe5f5x8){return handleError(_0xe5f5x7,_0xe5f5x8)})};function handleError(_0xe5f5x7,_0xe5f5x8){return _0xe5f5x7[_0x7aab[10]](500)[_0x7aab[9]](_0xe5f5x8)} \ No newline at end of file +var _0xcb36=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x55\x73\x65\x72\x48\x61\x73\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x69\x64","\x75\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x66\x61\x75\x6C\x74","\x73\x63\x6F\x70\x65","\x72\x6F\x6C\x65","\x6D\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x70\x61\x72\x61\x6D\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x6C\x65\x6E\x67\x74\x68","\x61\x67\x65\x6E\x74","\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x67\x65\x74\x55\x73\x65\x72\x73","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x61\x67\x65\x6E\x74\x73","\x70\x65\x6E\x61\x6C\x74\x79","\x6D\x61\x70","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x72\x65\x6D\x6F\x76\x65\x55\x73\x65\x72\x73","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0xcb36[0];var _=require(_0xcb36[1]);var Util=require(_0xcb36[2]);var ChatQueue=require(_0xcb36[4])[_0xcb36[3]];var User=require(_0xcb36[4])[_0xcb36[5]];var UserHasChatQueue=require(_0xcb36[4])[_0xcb36[6]];exports[_0xcb36[7]]=function(_0xb461x6,_0xb461x7){switch(_0xb461x6[_0xcb36[15]][_0xcb36[21]]){case _0xcb36[15]:return User[_0xcb36[16]](_0xb461x6[_0xcb36[15]][_0xcb36[14]],{attributes:[_0xcb36[14]]})[_0xcb36[11]](Util[_0xcb36[13]](_0xb461x6[_0xcb36[12]]))[_0xcb36[11]](function(_0xb461x9){_0xb461x7[_0xcb36[10]](200)[_0xcb36[9]](_0xb461x9)})[_0xcb36[8]](function(_0xb461x8){return handleError(_0xb461x7,_0xb461x8)});default:return ChatQueue[_0xcb36[20]](_0xcb36[19])[_0xcb36[18]](Util[_0xcb36[17]](_0xb461x6[_0xcb36[12]]))[_0xcb36[11]](function(_0xb461x9){_0xb461x7[_0xcb36[10]](200)[_0xcb36[9]](_0xb461x9)})[_0xcb36[8]](function(_0xb461x8){return handleError(_0xb461x7,_0xb461x8)})}};exports[_0xcb36[22]]=function(_0xb461x6,_0xb461x7,_0xb461xa){return UserHasChatQueue[_0xcb36[23]]({where:{UserId:_0xb461x6[_0xcb36[15]][_0xcb36[14]]}})[_0xcb36[11]](function(_0xb461xb){return _0xb461x7[_0xcb36[10]](200)[_0xcb36[9]](_0xb461xb)})[_0xcb36[8]](function(_0xb461x8){return handleError(_0xb461x7,_0xb461x8)})};exports[_0xcb36[24]]=function(_0xb461x6,_0xb461x7){return ChatQueue[_0xcb36[16]](_0xb461x6[_0xcb36[26]][_0xcb36[14]])[_0xcb36[11]](function(_0xb461xc){if(!_0xb461xc){return _0xb461x7[_0xcb36[25]](404)};return _0xb461x7[_0xcb36[9]](_0xb461xc)})[_0xcb36[8]](function(_0xb461x8){return handleError(_0xb461x7,_0xb461x8)})};exports[_0xcb36[27]]=function(_0xb461x6,_0xb461x7){return ChatQueue[_0xcb36[16]](_0xb461x6[_0xcb36[26]][_0xcb36[14]])[_0xcb36[11]](function(_0xb461xe){if(!_0xb461xe){return _0xb461x7[_0xcb36[25]](404)};return _0xb461xe[_0xcb36[33]]({where:{role:_0xcb36[29]},attributes:[_0xcb36[14],_0xcb36[30],_0xcb36[31],_0xcb36[32]]})})[_0xcb36[11]](function(_0xb461xd){return _0xb461x7[_0xcb36[10]](200)[_0xcb36[9]]({rows:_0xb461xd,count:_0xb461xd[_0xcb36[28]]})})[_0xcb36[8]](function(_0xb461x8){return handleError(_0xb461x7,_0xb461x8)})};exports[_0xcb36[34]]=function(_0xb461x6,_0xb461x7){return ChatQueue[_0xcb36[34]](_0xb461x6[_0xcb36[35]])[_0xcb36[11]](function(_0xb461xc){return _0xb461x7[_0xcb36[10]](201)[_0xcb36[9]](_0xb461xc)})[_0xcb36[8]](function(_0xb461x8){return handleError(_0xb461x7,_0xb461x8)})};exports[_0xcb36[36]]=function(_0xb461x6,_0xb461x7){if(_0xb461x6[_0xcb36[35]][_0xcb36[14]]){delete _0xb461x6[_0xcb36[35]][_0xcb36[14]]};return ChatQueue[_0xcb36[16]](_0xb461x6[_0xcb36[26]][_0xcb36[14]])[_0xcb36[11]](function(_0xb461xc){if(!_0xb461xc){return _0xb461x7[_0xcb36[25]](404)};var _0xb461xf=_[_0xcb36[37]](_0xb461xc,_0xb461x6[_0xcb36[35]]);return _0xb461xf[_0xcb36[38]]()})[_0xcb36[11]](function(_0xb461xc){return _0xb461x7[_0xcb36[10]](200)[_0xcb36[9]](_0xb461xc)})[_0xcb36[8]](function(_0xb461x8){return handleError(_0xb461x7,_0xb461x8)})};exports[_0xcb36[39]]=function(_0xb461x6,_0xb461x7,_0xb461xa){return ChatQueue[_0xcb36[16]](_0xb461x6[_0xcb36[26]][_0xcb36[14]])[_0xcb36[11]](function(_0xb461x10){if(!_0xb461x10){return _0xb461x7[_0xcb36[25]](404)};var _0xb461xb=_[_0xcb36[42]](_0xb461x6[_0xcb36[35]][_0xcb36[40]],function(_0xb461x11){return {UserId:_0xb461x11,penalty:_0xb461x6[_0xcb36[35]][_0xcb36[41]],ChatQueueId:_0xb461x10[_0xcb36[14]],queue:_0xb461x10[_0xcb36[30]]}});return UserHasChatQueue[_0xcb36[43]](_0xb461xb,{individualHooks:true})})[_0xcb36[11]](function(){return _0xb461x7[_0xcb36[25]](200)})[_0xcb36[8]](function(_0xb461x8){return handleError(_0xb461x7,_0xb461x8)})};exports[_0xcb36[44]]=function(_0xb461x6,_0xb461x7,_0xb461xa){return ChatQueue[_0xcb36[16]](_0xb461x6[_0xcb36[26]][_0xcb36[14]])[_0xcb36[11]](function(_0xb461x10){if(!_0xb461x10){return _0xb461x7[_0xcb36[25]](404)};return _0xb461x10[_0xcb36[45]](_0xb461x6[_0xcb36[12]][_0xcb36[40]],{individualHooks:true})})[_0xcb36[11]](function(){return _0xb461x7[_0xcb36[25]](200)})[_0xcb36[8]](function(_0xb461x8){return handleError(_0xb461x7,_0xb461x8)})};exports[_0xcb36[46]]=function(_0xb461x6,_0xb461x7){return ChatQueue[_0xcb36[16]](_0xb461x6[_0xcb36[26]][_0xcb36[14]])[_0xcb36[11]](function(_0xb461xc){if(!_0xb461xc){return _0xb461x7[_0xcb36[25]](404)};return _0xb461xc[_0xcb36[46]]()})[_0xcb36[11]](function(){return _0xb461x7[_0xcb36[25]](204)})[_0xcb36[8]](function(_0xb461x8){return handleError(_0xb461x7,_0xb461x8)})};exports[_0xcb36[47]]=function(_0xb461x6,_0xb461x7){return ChatQueue[_0xcb36[46]]({where:{id:_0xb461x6[_0xcb36[12]][_0xcb36[48]]},individualHooks:true})[_0xcb36[11]](function(){return _0xb461x7[_0xcb36[25]](204)})[_0xcb36[8]](function(_0xb461x8){return handleError(_0xb461x7,_0xb461x8)})};function handleError(_0xb461x7,_0xb461x8){return _0xb461x7[_0xcb36[10]](500)[_0xcb36[9]](_0xb461x8)} \ No newline at end of file diff --git a/server/api/chat_queue/chat_queue.socket.js b/server/api/chat_queue/chat_queue.socket.js index 5536ce9..6b3c9e7 100644 --- a/server/api/chat_queue/chat_queue.socket.js +++ b/server/api/chat_queue/chat_queue.socket.js @@ -1 +1 @@ -var _0x2c49=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x2c49[0];var chatQueue=require(_0x2c49[2])[_0x2c49[1]];exports[_0x2c49[3]]=function(_0x6948x2){chatQueue[_0x2c49[4]](function(_0x6948x3){onSave(_0x6948x2,_0x6948x3)});chatQueue[_0x2c49[5]](function(_0x6948x3){onRemove(_0x6948x2,_0x6948x3)})};function onSave(_0x6948x2,_0x6948x3,_0x6948x5){_0x6948x2[_0x2c49[7]](_0x2c49[6],_0x6948x3)}function onRemove(_0x6948x2,_0x6948x3,_0x6948x5){_0x6948x2[_0x2c49[7]](_0x2c49[8],_0x6948x3)} \ No newline at end of file +var _0xf918=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0xf918[0];var chatQueue=require(_0xf918[2])[_0xf918[1]];exports[_0xf918[3]]=function(_0xc14bx2){chatQueue[_0xf918[4]](function(_0xc14bx3){onSave(_0xc14bx2,_0xc14bx3)});chatQueue[_0xf918[5]](function(_0xc14bx3){onRemove(_0xc14bx2,_0xc14bx3)})};function onSave(_0xc14bx2,_0xc14bx3,_0xc14bx5){_0xc14bx2[_0xf918[7]](_0xf918[6],_0xc14bx3)}function onRemove(_0xc14bx2,_0xc14bx3,_0xc14bx5){_0xc14bx2[_0xf918[7]](_0xf918[8],_0xc14bx3)} \ No newline at end of file diff --git a/server/api/chat_queue/index.js b/server/api/chat_queue/index.js index bb8341c..3ea24c0 100644 --- a/server/api/chat_queue/index.js +++ b/server/api/chat_queue/index.js @@ -1 +1 @@ -var _0x3b51=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x43\x68\x61\x74","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x6D\x65","\x6D\x65","\x2F\x3A\x69\x64\x2F\x61\x67\x65\x6E\x74\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x64\x65\x6C\x65\x74\x65","\x70\x61\x74\x63\x68","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x3b51[0];var express=require(_0x3b51[1]);var controller=require(_0x3b51[2]);var auth=require(_0x3b51[3]);var license=require(_0x3b51[4]);var router=express.Router();router[_0x3b51[12]](_0x3b51[5],license[_0x3b51[6]](),license[_0x3b51[7]](),auth[_0x3b51[8]](),auth[_0x3b51[10]]([8],[_0x3b51[9]]),controller[_0x3b51[11]]);router[_0x3b51[12]](_0x3b51[13],license[_0x3b51[6]](),license[_0x3b51[7]](),auth[_0x3b51[8]](),auth[_0x3b51[10]]([8],[_0x3b51[9]]),controller[_0x3b51[14]]);router[_0x3b51[12]](_0x3b51[15],license[_0x3b51[6]](),license[_0x3b51[7]](),auth[_0x3b51[8]](),auth[_0x3b51[10]]([8],[_0x3b51[9]]),controller[_0x3b51[16]]);router[_0x3b51[12]](_0x3b51[17],license[_0x3b51[6]](),license[_0x3b51[7]](),auth[_0x3b51[8]](),auth[_0x3b51[10]]([8],[_0x3b51[9]]),controller[_0x3b51[18]]);router[_0x3b51[20]](_0x3b51[5],license[_0x3b51[6]](),license[_0x3b51[7]](),auth[_0x3b51[8]](),auth[_0x3b51[10]]([8],[_0x3b51[9]]),controller[_0x3b51[19]]);router[_0x3b51[20]](_0x3b51[15],license[_0x3b51[6]](),license[_0x3b51[7]](),auth[_0x3b51[8]](),auth[_0x3b51[10]]([8],[_0x3b51[9]]),controller[_0x3b51[21]]);router[_0x3b51[23]](_0x3b51[17],license[_0x3b51[6]](),license[_0x3b51[7]](),auth[_0x3b51[8]](),auth[_0x3b51[10]]([8],[_0x3b51[9]]),controller[_0x3b51[22]]);router[_0x3b51[25]](_0x3b51[15],license[_0x3b51[6]](),license[_0x3b51[7]](),auth[_0x3b51[8]](),auth[_0x3b51[10]]([8],[_0x3b51[9]]),controller[_0x3b51[24]]);router[_0x3b51[26]](_0x3b51[17],license[_0x3b51[6]](),license[_0x3b51[7]](),auth[_0x3b51[8]](),auth[_0x3b51[10]]([8],[_0x3b51[9]]),controller[_0x3b51[22]]);router[_0x3b51[25]](_0x3b51[5],license[_0x3b51[6]](),license[_0x3b51[7]](),auth[_0x3b51[8]](),auth[_0x3b51[10]]([8],[_0x3b51[9]]),controller[_0x3b51[27]]);router[_0x3b51[25]](_0x3b51[17],license[_0x3b51[6]](),license[_0x3b51[7]](),auth[_0x3b51[8]](),auth[_0x3b51[10]]([8],[_0x3b51[9]]),controller[_0x3b51[28]]);module[_0x3b51[29]]=router \ No newline at end of file +var _0xd1e5=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x43\x68\x61\x74","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x6D\x65","\x6D\x65","\x2F\x3A\x69\x64\x2F\x61\x67\x65\x6E\x74\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x64\x65\x6C\x65\x74\x65","\x70\x61\x74\x63\x68","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0xd1e5[0];var express=require(_0xd1e5[1]);var controller=require(_0xd1e5[2]);var auth=require(_0xd1e5[3]);var license=require(_0xd1e5[4]);var router=express.Router();router[_0xd1e5[12]](_0xd1e5[5],license[_0xd1e5[6]](),license[_0xd1e5[7]](),auth[_0xd1e5[8]](),auth[_0xd1e5[10]]([8],[_0xd1e5[9]]),controller[_0xd1e5[11]]);router[_0xd1e5[12]](_0xd1e5[13],license[_0xd1e5[6]](),license[_0xd1e5[7]](),auth[_0xd1e5[8]](),auth[_0xd1e5[10]]([8],[_0xd1e5[9]]),controller[_0xd1e5[14]]);router[_0xd1e5[12]](_0xd1e5[15],license[_0xd1e5[6]](),license[_0xd1e5[7]](),auth[_0xd1e5[8]](),auth[_0xd1e5[10]]([8],[_0xd1e5[9]]),controller[_0xd1e5[16]]);router[_0xd1e5[12]](_0xd1e5[17],license[_0xd1e5[6]](),license[_0xd1e5[7]](),auth[_0xd1e5[8]](),auth[_0xd1e5[10]]([8],[_0xd1e5[9]]),controller[_0xd1e5[18]]);router[_0xd1e5[20]](_0xd1e5[5],license[_0xd1e5[6]](),license[_0xd1e5[7]](),auth[_0xd1e5[8]](),auth[_0xd1e5[10]]([8],[_0xd1e5[9]]),controller[_0xd1e5[19]]);router[_0xd1e5[20]](_0xd1e5[15],license[_0xd1e5[6]](),license[_0xd1e5[7]](),auth[_0xd1e5[8]](),auth[_0xd1e5[10]]([8],[_0xd1e5[9]]),controller[_0xd1e5[21]]);router[_0xd1e5[23]](_0xd1e5[17],license[_0xd1e5[6]](),license[_0xd1e5[7]](),auth[_0xd1e5[8]](),auth[_0xd1e5[10]]([8],[_0xd1e5[9]]),controller[_0xd1e5[22]]);router[_0xd1e5[25]](_0xd1e5[15],license[_0xd1e5[6]](),license[_0xd1e5[7]](),auth[_0xd1e5[8]](),auth[_0xd1e5[10]]([8],[_0xd1e5[9]]),controller[_0xd1e5[24]]);router[_0xd1e5[26]](_0xd1e5[17],license[_0xd1e5[6]](),license[_0xd1e5[7]](),auth[_0xd1e5[8]](),auth[_0xd1e5[10]]([8],[_0xd1e5[9]]),controller[_0xd1e5[22]]);router[_0xd1e5[25]](_0xd1e5[5],license[_0xd1e5[6]](),license[_0xd1e5[7]](),auth[_0xd1e5[8]](),auth[_0xd1e5[10]]([8],[_0xd1e5[9]]),controller[_0xd1e5[27]]);router[_0xd1e5[25]](_0xd1e5[17],license[_0xd1e5[6]](),license[_0xd1e5[7]](),auth[_0xd1e5[8]](),auth[_0xd1e5[10]]([8],[_0xd1e5[9]]),controller[_0xd1e5[28]]);module[_0xd1e5[29]]=router \ No newline at end of file diff --git a/server/api/chat_room/chat_room.controller.js b/server/api/chat_room/chat_room.controller.js index 8e5a733..d15cdfb 100644 --- a/server/api/chat_room/chat_room.controller.js +++ b/server/api/chat_room/chat_room.controller.js @@ -1 +1 @@ -var _0xfe0c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x64\x35","\x6D\x6F\x6D\x65\x6E\x74","\x74\x6F\x2D\x63\x73\x76","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x43\x68\x61\x74\x4D\x65\x73\x73\x61\x67\x65","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x4C\x69\x73\x74","\x55\x73\x65\x72\x48\x61\x73\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x69\x6E\x64\x65\x78","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x69\x64","\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x72\x6F\x6C\x65","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x6D\x65\x72\x67\x65","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x74\x61\x67\x73","\x24\x61\x6E\x64","\x69\x73\x41\x72\x72\x61\x79","\x6C\x65\x6E\x67\x74\x68","\x25","\x3B\x25","\x70\x75\x73\x68","\x67\x65\x74\x41\x67\x65\x6E\x74\x73","\x75\x73\x65\x72","\x67\x65\x74\x41\x67\x65\x6E\x74\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x61\x6C\x6C","\x73\x63\x6F\x70\x65","\x67\x65\x74\x47\x72\x6F\x75\x70\x73","\x67\x72\x6F\x75\x70","\x61\x67\x65\x6E\x74","\x6D\x61\x70","\x75\x73\x65\x72\x70\x69\x63","\x66\x69\x6E\x64\x41\x6C\x6C","\x67\x65\x74\x45\x78\x74\x65\x72\x6E\x61\x6C\x73","\x65\x78\x74\x65\x72\x6E\x61\x6C","\x69\x6E\x63\x6C\x75\x64\x65","\x67\x65\x74\x41\x67\x65\x6E\x74","\x70\x61\x72\x61\x6D\x73","\x67\x65\x74\x4F\x6E\x6C\x69\x6E\x65\x52\x6F\x6F\x6D","\x6F\x6E\x6C\x69\x6E\x65","\x6D\x65","\x65\x72\x72\x6F\x72","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x67\x65\x74\x43\x68\x61\x74\x52\x6F\x6F\x6D\x73","\x73\x68\x6F\x77","\x61\x64\x64\x72\x65\x73\x73","\x67\x65\x74\x52\x6F\x6F\x6D\x42\x79\x55\x73\x65\x72\x73","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x67\x65\x74\x55\x73\x65\x72\x73","\x75\x73\x65\x72\x73","\x73\x65\x74\x55\x73\x65\x72\x73","\x73\x70\x72\x65\x61\x64","\x62\x61\x73\x65\x36\x34","\x73\x6F\x72\x74","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x4F\x50\x45\x4E","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x63\x72\x65\x61\x74\x65\x4D\x65\x73\x73\x61\x67\x65","\x62\x6F\x64\x79","\x74\x79\x70\x65","\x63\x72\x65\x61\x74\x65","\x65\x78\x70\x6F\x72\x74","\x20","\x72\x65\x70\x6C\x61\x63\x65","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x66\x6F\x72\x45\x61\x63\x68","\x43\x68\x61\x74\x4D\x65\x73\x73\x61\x67\x65\x73","\x74\x65\x78\x74\x2F\x63\x73\x76","\x67\x65\x74\x52\x6F\x6F\x6D\x42\x79\x54\x79\x70\x65","\x67\x65\x74\x52\x6F\x6F\x6D\x47\x72\x6F\x75\x70\x73","\x75\x70\x64\x61\x74\x65","\x75\x70\x64\x61\x74\x65\x55\x73\x65\x72\x73","\x64\x65\x73\x74\x72\x6F\x79"];_0xfe0c[0];var _=require(_0xfe0c[1]);var md5=require(_0xfe0c[2]);var moment=require(_0xfe0c[3]);var csv=require(_0xfe0c[4]);var Util=require(_0xfe0c[5]);var User=require(_0xfe0c[7])[_0xfe0c[6]];var Agent=require(_0xfe0c[7])[_0xfe0c[6]];var ChatRoom=require(_0xfe0c[7])[_0xfe0c[8]];var ChatMessage=require(_0xfe0c[7])[_0xfe0c[9]];var ChatWebsite=require(_0xfe0c[7])[_0xfe0c[10]];var ChatVisitor=require(_0xfe0c[7])[_0xfe0c[11]];var List=require(_0xfe0c[7])[_0xfe0c[12]];var UserHasChatRoom=require(_0xfe0c[7])[_0xfe0c[13]];exports[_0xfe0c[14]]=function(_0x8840xe,_0x8840xf,_0x8840x10){return ChatRoom[_0xfe0c[29]](_[_0xfe0c[28]](Util[_0xfe0c[21]](_0x8840xe[_0xfe0c[20]]),{include:[{model:User,attributes:[_0xfe0c[22],_0xfe0c[23],_0xfe0c[24],_0xfe0c[25],_0xfe0c[26],_0xfe0c[27]]},{model:ChatMessage},{model:ChatVisitor}]}))[_0xfe0c[19]](function(_0x8840x12){_0x8840xf[_0xfe0c[18]](200)[_0xfe0c[17]](_0x8840x12)})[_0xfe0c[16]](function(_0x8840x11){console[_0xfe0c[15]](_0x8840x11);return handleError(_0x8840xf,_0x8840x11)})};function checkTags(_0x8840x14){if(_0x8840x14){if(_0x8840x14[_0xfe0c[30]]){_0x8840x14[_0xfe0c[31]]=[];if(_[_0xfe0c[32]](_0x8840x14[_0xfe0c[30]])){for(var _0x8840x15=0;_0x8840x15<_0x8840x14[_0xfe0c[30]][_0xfe0c[33]];_0x8840x15++){_0x8840x14[_0xfe0c[31]][_0xfe0c[36]]({tags:{$like:_0xfe0c[34]+_0x8840x14[_0xfe0c[30]][_0x8840x15]+_0xfe0c[35]}})}}else {_0x8840x14[_0xfe0c[31]][_0xfe0c[36]]({tags:{$like:_0xfe0c[34]+_0x8840x14[_0xfe0c[30]]+_0xfe0c[35]}})};delete _0x8840x14[_0xfe0c[30]]}}}exports[_0xfe0c[37]]=function(_0x8840xe,_0x8840xf,_0x8840x10){switch(_0x8840xe[_0xfe0c[38]][_0xfe0c[26]]){case _0xfe0c[38]:return User[_0xfe0c[40]](_0x8840xe[_0xfe0c[38]][_0xfe0c[22]],{attributes:[_0xfe0c[22]],where:{id:{$ne:_0x8840xe[_0xfe0c[38]][_0xfe0c[22]]},online:true}})[_0xfe0c[19]](Util[_0xfe0c[39]](_[_0xfe0c[28]](_0x8840xe[_0xfe0c[20]],{id:{$ne:_0x8840xe[_0xfe0c[38]][_0xfe0c[22]]}})))[_0xfe0c[19]](function(_0x8840x12){return _0x8840xf[_0xfe0c[18]](200)[_0xfe0c[17]](_0x8840x12)})[_0xfe0c[16]](function(_0x8840x11){return handleError(_0x8840xf,_0x8840x11)});default:return User[_0xfe0c[42]](_0xfe0c[41])[_0xfe0c[29]](_[_0xfe0c[28]](Util[_0xfe0c[21]](_0x8840xe[_0xfe0c[20]]),{where:{id:{$ne:_0x8840xe[_0xfe0c[38]][_0xfe0c[22]]},online:true}}))[_0xfe0c[19]](function(_0x8840x12){return _0x8840xf[_0xfe0c[18]](200)[_0xfe0c[17]](_0x8840x12)})[_0xfe0c[16]](function(_0x8840x11){return handleError(_0x8840xf,_0x8840x11)})}};exports[_0xfe0c[43]]=function(_0x8840xe,_0x8840xf,_0x8840x10){checkTags(_0x8840xe[_0xfe0c[20]]);var _0x8840x16={where:_[_0xfe0c[28]]({type:_0xfe0c[44]},_0x8840xe[_0xfe0c[20]])};switch(_0x8840xe[_0xfe0c[38]][_0xfe0c[26]]){case _0xfe0c[45]:_[_0xfe0c[28]](_0x8840x16,{include:[{model:User,attributes:[_0xfe0c[22]],where:{id:_0x8840xe[_0xfe0c[38]][_0xfe0c[22]]}}]});break;default:};return ChatRoom[_0xfe0c[48]](_0x8840x16)[_0xfe0c[19]](function(_0x8840x17){return ChatRoom[_0xfe0c[48]]({where:{id:{$in:_[_0xfe0c[46]](_0x8840x17,_0xfe0c[22])}},include:[{model:User,attributes:[_0xfe0c[22],_0xfe0c[23],_0xfe0c[24],_0xfe0c[26],_0xfe0c[47]]},{model:ChatVisitor}]})})[_0xfe0c[19]](function(_0x8840x17){return _0x8840xf[_0xfe0c[18]](200)[_0xfe0c[17]]({rows:_0x8840x17,count:_0x8840x17[_0xfe0c[33]]})})[_0xfe0c[16]](function(_0x8840x11){return handleError(_0x8840xf,_0x8840x11)})};exports[_0xfe0c[49]]=function(_0x8840xe,_0x8840xf,_0x8840x10){checkTags(_0x8840xe[_0xfe0c[20]]);var _0x8840x16={where:_[_0xfe0c[28]]({type:_0xfe0c[50]},_0x8840xe[_0xfe0c[20]]),include:[{model:ChatVisitor,attributes:[_0xfe0c[22],_0xfe0c[24]]}]};switch(_0x8840xe[_0xfe0c[38]][_0xfe0c[26]]){case _0xfe0c[45]:_0x8840x16[_0xfe0c[51]][_0xfe0c[36]]({model:User,attributes:[_0xfe0c[22]],where:{id:_0x8840xe[_0xfe0c[38]][_0xfe0c[22]]}});break;default:};return ChatRoom[_0xfe0c[48]](_0x8840x16)[_0xfe0c[19]](function(_0x8840x17){return _0x8840xf[_0xfe0c[18]](200)[_0xfe0c[17]]({rows:_0x8840x17,count:_0x8840x17[_0xfe0c[33]]})})[_0xfe0c[16]](function(_0x8840x11){return handleError(_0x8840xf,_0x8840x11)})};exports[_0xfe0c[52]]=function(_0x8840xe,_0x8840xf,_0x8840x10){return User[_0xfe0c[42]](_0xfe0c[41])[_0xfe0c[40]](_0x8840xe[_0xfe0c[53]][_0xfe0c[22]])[_0xfe0c[19]](function(_0x8840x12){return _0x8840xf[_0xfe0c[18]](200)[_0xfe0c[17]](_0x8840x12)})[_0xfe0c[16]](function(_0x8840x11){return handleError(_0x8840xf,_0x8840x11)})};exports[_0xfe0c[54]]=function(_0x8840xe,_0x8840xf,_0x8840x10){return ChatRoom[_0xfe0c[42]](_0xfe0c[55])[_0xfe0c[29]](_[_0xfe0c[28]](Util[_0xfe0c[21]](_0x8840xe[_0xfe0c[20]]),{include:[{model:User,attributes:[_0xfe0c[22],_0xfe0c[23],_0xfe0c[24],_0xfe0c[25],_0xfe0c[26],_0xfe0c[27]]},{model:ChatMessage},{model:ChatVisitor}]}))[_0xfe0c[19]](function(_0x8840x12){_0x8840xf[_0xfe0c[18]](200)[_0xfe0c[17]](_0x8840x12)})[_0xfe0c[16]](function(_0x8840x11){console[_0xfe0c[15]](_0x8840x11);return handleError(_0x8840xf,_0x8840x11)})};exports[_0xfe0c[56]]=function(_0x8840xe,_0x8840xf){return User[_0xfe0c[40]](_0x8840xe[_0xfe0c[38]][_0xfe0c[22]])[_0xfe0c[19]](function(_0x8840x18){return _0x8840x18[_0xfe0c[59]]({include:[{model:ChatVisitor,attributes:[_0xfe0c[22],_0xfe0c[24],_0xfe0c[25]]},{model:User,attributes:[_0xfe0c[22],_0xfe0c[23],_0xfe0c[24],_0xfe0c[25],_0xfe0c[26],_0xfe0c[27]]}]})})[_0xfe0c[19]](function(_0x8840x17){if(!_0x8840x17){return _0x8840xf[_0xfe0c[58]](404)};return _0x8840xf[_0xfe0c[17]](_0x8840x17)})[_0xfe0c[16]](function(_0x8840x11){console[_0xfe0c[57]](_0x8840x11);return handleError(_0x8840xf,_0x8840x11)})};exports[_0xfe0c[60]]=function(_0x8840xe,_0x8840xf){return ChatRoom[_0xfe0c[40]](_0x8840xe[_0xfe0c[53]][_0xfe0c[22]],{include:[{model:ChatMessage,include:[{model:ChatVisitor,attributes:[_0xfe0c[22],_0xfe0c[25],_0xfe0c[24]]},{model:User,attributes:[_0xfe0c[22],_0xfe0c[25],_0xfe0c[23],_0xfe0c[24],_0xfe0c[47],_0xfe0c[26],_0xfe0c[27]]}]},{model:User,attributes:[_0xfe0c[22],_0xfe0c[25],_0xfe0c[23],_0xfe0c[24],_0xfe0c[47],_0xfe0c[26],_0xfe0c[27]]},{model:ChatVisitor},{model:ChatWebsite,attributes:[_0xfe0c[22],_0xfe0c[23],_0xfe0c[61]],include:[List]}]})[_0xfe0c[19]](function(_0x8840x19){if(!_0x8840x19){return _0x8840xf[_0xfe0c[58]](404)};return _0x8840xf[_0xfe0c[17]](_0x8840x19)})[_0xfe0c[16]](function(_0x8840x11){return handleError(_0x8840xf,_0x8840x11)})};exports[_0xfe0c[62]]=function(_0x8840xe,_0x8840xf,_0x8840x10){var _0x8840x1a;return ChatRoom[_0xfe0c[72]]({where:{token:md5(JSON[_0xfe0c[70]](_0x8840xe[_0xfe0c[20]][_0xfe0c[65]][_0xfe0c[69]]())).toString(_0xfe0c[68])},defaults:{type:_0xfe0c[27],token:md5(JSON[_0xfe0c[70]](_0x8840xe[_0xfe0c[20]][_0xfe0c[65]][_0xfe0c[69]]())).toString(_0xfe0c[68]),status:_0xfe0c[71]},include:[{model:ChatMessage,include:[{model:ChatVisitor,attributes:[_0xfe0c[22],_0xfe0c[25],_0xfe0c[24]]},{model:User,attributes:[_0xfe0c[22],_0xfe0c[23],_0xfe0c[24],_0xfe0c[25],_0xfe0c[26],_0xfe0c[27]]}]},{model:User,attributes:[_0xfe0c[22],_0xfe0c[23],_0xfe0c[24],_0xfe0c[25],_0xfe0c[26],_0xfe0c[27]]}]})[_0xfe0c[67]](function(_0x8840x19,_0x8840x1c){_0x8840x1a=_0x8840x19;if(_0x8840x1c){return _0x8840x1a[_0xfe0c[66]](_0x8840xe[_0xfe0c[20]][_0xfe0c[65]])}})[_0xfe0c[19]](function(){return _0x8840x1a[_0xfe0c[64]]()})[_0xfe0c[19]](function(_0x8840x1b){return _0x8840xf[_0xfe0c[18]](200)[_0xfe0c[17]](_[_0xfe0c[28]](_0x8840x1a[_0xfe0c[63]],{Users:_0x8840x1b}))})[_0xfe0c[16]](function(_0x8840x11){return handleError(_0x8840xf,_0x8840x11)})};exports[_0xfe0c[73]]=function(_0x8840xe,_0x8840xf,_0x8840x10){var _0x8840x1a;return ChatRoom[_0xfe0c[40]](_0x8840xe[_0xfe0c[53]][_0xfe0c[22]])[_0xfe0c[19]](function(_0x8840x19){_0x8840x1a=_0x8840x19;if(!_0x8840x1a){return _0x8840xf[_0xfe0c[58]](404)}})[_0xfe0c[19]](function(){return ChatMessage[_0xfe0c[76]](_[_0xfe0c[28]](_0x8840xe[_0xfe0c[74]],{type:_0x8840x1a[_0xfe0c[75]],ChatRoomId:_0x8840xe[_0xfe0c[53]][_0xfe0c[22]],UserId:_0x8840xe[_0xfe0c[38]][_0xfe0c[22]]}))})[_0xfe0c[19]](function(_0x8840x1d){return _0x8840xf[_0xfe0c[18]](200)[_0xfe0c[17]](_0x8840x1d)})[_0xfe0c[16]](function(_0x8840x11){return handleError(_0x8840xf,_0x8840x11)})};exports[_0xfe0c[77]]=function(_0x8840xe,_0x8840xf,_0x8840x10){return ChatRoom[_0xfe0c[40]](_0x8840xe[_0xfe0c[53]][_0xfe0c[22]],{include:[{model:ChatMessage,include:[{model:ChatVisitor,attributes:[_0xfe0c[22],_0xfe0c[24]]},{model:User,attributes:[_0xfe0c[22],_0xfe0c[24]]}]}]})[_0xfe0c[19]](function(_0x8840x19){var _0x8840x1e=[];_0x8840x19[_0xfe0c[82]][_0xfe0c[81]](function(_0x8840x1d){_0x8840x1e[_0xfe0c[36]]({name:_0x8840x1d[_0xfe0c[6]]?_0x8840x1d[_0xfe0c[6]][_0xfe0c[24]]:_0x8840x1d[_0xfe0c[11]][_0xfe0c[24]],text:_0x8840x1d[_0xfe0c[74]][_0xfe0c[79]](/(\r\n|\n|\r)/gm,_0xfe0c[78]),date:_0x8840x1d[_0xfe0c[80]]})});return _0x8840xf[_0xfe0c[75]](_0xfe0c[83])[_0xfe0c[18]](200)[_0xfe0c[17]](csv(_0x8840x1e))})[_0xfe0c[16]](function(_0x8840x11){return handleError(_0x8840xf,_0x8840x11)})};exports[_0xfe0c[84]]=function(_0x8840xe,_0x8840xf){return User[_0xfe0c[40]](_0x8840xe[_0xfe0c[38]][_0xfe0c[22]])[_0xfe0c[19]](function(_0x8840x18){return _0x8840x18[_0xfe0c[59]]({where:{type:_0x8840xe[_0xfe0c[53]][_0xfe0c[75]]},include:[{model:ChatVisitor,attributes:[_0xfe0c[22],_0xfe0c[24],_0xfe0c[25]]}]})})[_0xfe0c[19]](function(_0x8840x17){if(!_0x8840x17){return _0x8840xf[_0xfe0c[58]](404)};return _0x8840xf[_0xfe0c[17]](_0x8840x17)})[_0xfe0c[16]](function(_0x8840x11){return handleError(_0x8840xf,_0x8840x11)})};exports[_0xfe0c[85]]=function(_0x8840xe,_0x8840xf){return User[_0xfe0c[40]](_0x8840xe[_0xfe0c[38]][_0xfe0c[22]])[_0xfe0c[19]](function(_0x8840x18){return _0x8840x18[_0xfe0c[59]]({include:[{model:ChatVisitor,attributes:[_0xfe0c[22],_0xfe0c[24],_0xfe0c[25]]},{model:User,attributes:[_0xfe0c[22],_0xfe0c[23],_0xfe0c[24],_0xfe0c[25],_0xfe0c[26],_0xfe0c[27]]}]})})[_0xfe0c[19]](function(_0x8840x17){if(!_0x8840x17){return _0x8840xf[_0xfe0c[58]](404)};return _0x8840xf[_0xfe0c[17]](_0x8840x17)})[_0xfe0c[16]](function(_0x8840x11){return handleError(_0x8840xf,_0x8840x11)})};exports[_0xfe0c[76]]=function(_0x8840xe,_0x8840xf){};exports[_0xfe0c[86]]=function(_0x8840xe,_0x8840xf){if(_0x8840xe[_0xfe0c[74]][_0xfe0c[22]]){delete _0x8840xe[_0xfe0c[74]][_0xfe0c[22]]};return ChatRoom[_0xfe0c[40]](_0x8840xe[_0xfe0c[53]][_0xfe0c[22]])[_0xfe0c[19]](function(_0x8840x19){if(!_0x8840x19){return _0x8840xf[_0xfe0c[58]](404)};return _0x8840x19[_0xfe0c[86]](_0x8840xe[_0xfe0c[74]])})[_0xfe0c[19]](function(_0x8840x19){return _0x8840xf[_0xfe0c[18]](200)[_0xfe0c[17]](_0x8840x19)})[_0xfe0c[16]](function(_0x8840x11){return handleError(_0x8840xf,_0x8840x11)})};exports[_0xfe0c[87]]=function(_0x8840xe,_0x8840xf){var _0x8840x1a;if(_0x8840xe[_0xfe0c[74]][_0xfe0c[22]]){delete _0x8840xe[_0xfe0c[74]][_0xfe0c[22]]};return ChatRoom[_0xfe0c[40]](_0x8840xe[_0xfe0c[53]][_0xfe0c[22]])[_0xfe0c[19]](function(_0x8840x19){if(!_0x8840x19||!_0x8840xe[_0xfe0c[74]][_0xfe0c[65]]){return _0x8840xf[_0xfe0c[58]](404)};return _0x8840x19})[_0xfe0c[19]](function(_0x8840x19){return _0x8840x19[_0xfe0c[86]]({type:_0xfe0c[44],token:md5(JSON[_0xfe0c[70]](_0x8840xe[_0xfe0c[74]][_0xfe0c[65]][_0xfe0c[69]]())).toString(_0xfe0c[68])})})[_0xfe0c[19]](function(_0x8840x19){_0x8840x1a=_0x8840x19;return _0x8840x19[_0xfe0c[66]](_0x8840xe[_0xfe0c[74]][_0xfe0c[65]][_0xfe0c[69]](),{individualHooks:true})})[_0xfe0c[19]](function(){return _0x8840x1a[_0xfe0c[64]]()})[_0xfe0c[19]](function(_0x8840x1b){_[_0xfe0c[28]](_0x8840x1a[_0xfe0c[63]],{Users:_0x8840x1b});return _0x8840xf[_0xfe0c[18]](200)[_0xfe0c[17]](_0x8840x1a)})[_0xfe0c[16]](function(_0x8840x11){return handleError(_0x8840xf,_0x8840x11)})};exports[_0xfe0c[88]]=function(_0x8840xe,_0x8840xf){return ChatRoom[_0xfe0c[40]](_0x8840xe[_0xfe0c[53]][_0xfe0c[22]])[_0xfe0c[19]](function(_0x8840x19){if(!_0x8840x19){return _0x8840xf[_0xfe0c[58]](404)};return _0x8840x19[_0xfe0c[88]]()})[_0xfe0c[19]](function(){return _0x8840xf[_0xfe0c[58]](204)})[_0xfe0c[16]](function(_0x8840x11){return handleError(_0x8840xf,_0x8840x11)})};function handleError(_0x8840xf,_0x8840x11){return _0x8840xf[_0xfe0c[18]](500)[_0xfe0c[17]](_0x8840x11)} \ No newline at end of file +var _0x50c6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x64\x35","\x6D\x6F\x6D\x65\x6E\x74","\x74\x6F\x2D\x63\x73\x76","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x43\x68\x61\x74\x4D\x65\x73\x73\x61\x67\x65","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x4C\x69\x73\x74","\x55\x73\x65\x72\x48\x61\x73\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x69\x6E\x64\x65\x78","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x69\x64","\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x72\x6F\x6C\x65","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x6D\x65\x72\x67\x65","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x75\x70\x64\x61\x74\x65\x50\x61\x74\x63\x68","\x74\x61\x67\x73","\x62\x6F\x64\x79","\x2C","\x73\x70\x6C\x69\x74","\x70\x61\x72\x61\x6D\x73","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x75\x70\x64\x61\x74\x65","\x24\x61\x6E\x64","\x69\x73\x41\x72\x72\x61\x79","\x6C\x65\x6E\x67\x74\x68","\x25","\x3B\x25","\x70\x75\x73\x68","\x67\x65\x74\x41\x67\x65\x6E\x74\x73","\x75\x73\x65\x72","\x67\x65\x74\x41\x67\x65\x6E\x74\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x61\x6C\x6C","\x73\x63\x6F\x70\x65","\x67\x65\x74\x47\x72\x6F\x75\x70\x73","\x67\x72\x6F\x75\x70","\x61\x67\x65\x6E\x74","\x6D\x61\x70","\x75\x73\x65\x72\x70\x69\x63","\x66\x69\x6E\x64\x41\x6C\x6C","\x67\x65\x74\x45\x78\x74\x65\x72\x6E\x61\x6C\x73","\x65\x78\x74\x65\x72\x6E\x61\x6C","\x69\x6E\x63\x6C\x75\x64\x65","\x67\x65\x74\x41\x67\x65\x6E\x74","\x67\x65\x74\x4F\x6E\x6C\x69\x6E\x65\x52\x6F\x6F\x6D","\x6F\x6E\x6C\x69\x6E\x65","\x6D\x65","\x65\x72\x72\x6F\x72","\x67\x65\x74\x43\x68\x61\x74\x52\x6F\x6F\x6D\x73","\x73\x68\x6F\x77","\x61\x64\x64\x72\x65\x73\x73","\x67\x65\x74\x52\x6F\x6F\x6D\x42\x79\x55\x73\x65\x72\x73","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x67\x65\x74\x55\x73\x65\x72\x73","\x75\x73\x65\x72\x73","\x73\x65\x74\x55\x73\x65\x72\x73","\x73\x70\x72\x65\x61\x64","\x62\x61\x73\x65\x36\x34","\x73\x6F\x72\x74","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x4F\x50\x45\x4E","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x63\x72\x65\x61\x74\x65\x4D\x65\x73\x73\x61\x67\x65","\x74\x79\x70\x65","\x63\x72\x65\x61\x74\x65","\x65\x78\x70\x6F\x72\x74","\x20","\x72\x65\x70\x6C\x61\x63\x65","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x66\x6F\x72\x45\x61\x63\x68","\x43\x68\x61\x74\x4D\x65\x73\x73\x61\x67\x65\x73","\x74\x65\x78\x74\x2F\x63\x73\x76","\x67\x65\x74\x52\x6F\x6F\x6D\x42\x79\x54\x79\x70\x65","\x67\x65\x74\x52\x6F\x6F\x6D\x47\x72\x6F\x75\x70\x73","\x75\x70\x64\x61\x74\x65\x55\x73\x65\x72\x73","\x64\x65\x73\x74\x72\x6F\x79"];_0x50c6[0];var _=require(_0x50c6[1]);var md5=require(_0x50c6[2]);var moment=require(_0x50c6[3]);var csv=require(_0x50c6[4]);var Util=require(_0x50c6[5]);var User=require(_0x50c6[7])[_0x50c6[6]];var Agent=require(_0x50c6[7])[_0x50c6[6]];var ChatRoom=require(_0x50c6[7])[_0x50c6[8]];var ChatMessage=require(_0x50c6[7])[_0x50c6[9]];var ChatWebsite=require(_0x50c6[7])[_0x50c6[10]];var ChatVisitor=require(_0x50c6[7])[_0x50c6[11]];var List=require(_0x50c6[7])[_0x50c6[12]];var UserHasChatRoom=require(_0x50c6[7])[_0x50c6[13]];exports[_0x50c6[14]]=function(_0xf8c0xe,_0xf8c0xf,_0xf8c0x10){return ChatRoom[_0x50c6[29]](_[_0x50c6[28]](Util[_0x50c6[21]](_0xf8c0xe[_0x50c6[20]]),{include:[{model:User,attributes:[_0x50c6[22],_0x50c6[23],_0x50c6[24],_0x50c6[25],_0x50c6[26],_0x50c6[27]]},{model:ChatMessage},{model:ChatVisitor}]}))[_0x50c6[19]](function(_0xf8c0x12){_0xf8c0xf[_0x50c6[18]](200)[_0x50c6[17]](_0xf8c0x12)})[_0x50c6[16]](function(_0xf8c0x11){console[_0x50c6[15]](_0xf8c0x11);return handleError(_0xf8c0xf,_0xf8c0x11)})};exports[_0x50c6[30]]=function(_0xf8c0xe,_0xf8c0xf,_0xf8c0x10){var _0xf8c0x13={tags:_0xf8c0xe[_0x50c6[32]][_0x50c6[31]]};var _0xf8c0x14={where:{id:_0xf8c0xe[_0x50c6[35]][_0x50c6[22]][_0x50c6[34]](_0x50c6[33])}};return ChatRoom[_0x50c6[37]](_0xf8c0x13,_0xf8c0x14)[_0x50c6[19]](function(_0xf8c0x15){if(!_0xf8c0x15){return _0xf8c0xf[_0x50c6[36]](404)};return _0xf8c0x15})[_0x50c6[19]](function(_0xf8c0x15){return _0xf8c0xf[_0x50c6[36]](200)})[_0x50c6[16]](function(_0xf8c0x11){return handleError(_0xf8c0xf,_0xf8c0x11)})};function checkTags(_0xf8c0x17){if(_0xf8c0x17){if(_0xf8c0x17[_0x50c6[31]]){_0xf8c0x17[_0x50c6[38]]=[];if(_[_0x50c6[39]](_0xf8c0x17[_0x50c6[31]])){for(var _0xf8c0x18=0;_0xf8c0x18<_0xf8c0x17[_0x50c6[31]][_0x50c6[40]];_0xf8c0x18++){_0xf8c0x17[_0x50c6[38]][_0x50c6[43]]({tags:{$like:_0x50c6[41]+_0xf8c0x17[_0x50c6[31]][_0xf8c0x18]+_0x50c6[42]}})}}else {_0xf8c0x17[_0x50c6[38]][_0x50c6[43]]({tags:{$like:_0x50c6[41]+_0xf8c0x17[_0x50c6[31]]+_0x50c6[42]}})};delete _0xf8c0x17[_0x50c6[31]]}}}exports[_0x50c6[44]]=function(_0xf8c0xe,_0xf8c0xf,_0xf8c0x10){switch(_0xf8c0xe[_0x50c6[45]][_0x50c6[26]]){case _0x50c6[45]:return User[_0x50c6[47]](_0xf8c0xe[_0x50c6[45]][_0x50c6[22]],{attributes:[_0x50c6[22]],where:{id:{$ne:_0xf8c0xe[_0x50c6[45]][_0x50c6[22]]},online:true}})[_0x50c6[19]](Util[_0x50c6[46]](_[_0x50c6[28]](_0xf8c0xe[_0x50c6[20]],{id:{$ne:_0xf8c0xe[_0x50c6[45]][_0x50c6[22]]}})))[_0x50c6[19]](function(_0xf8c0x12){return _0xf8c0xf[_0x50c6[18]](200)[_0x50c6[17]](_0xf8c0x12)})[_0x50c6[16]](function(_0xf8c0x11){return handleError(_0xf8c0xf,_0xf8c0x11)});default:return User[_0x50c6[49]](_0x50c6[48])[_0x50c6[29]](_[_0x50c6[28]](Util[_0x50c6[21]](_0xf8c0xe[_0x50c6[20]]),{where:{id:{$ne:_0xf8c0xe[_0x50c6[45]][_0x50c6[22]]},online:true}}))[_0x50c6[19]](function(_0xf8c0x12){return _0xf8c0xf[_0x50c6[18]](200)[_0x50c6[17]](_0xf8c0x12)})[_0x50c6[16]](function(_0xf8c0x11){return handleError(_0xf8c0xf,_0xf8c0x11)})}};exports[_0x50c6[50]]=function(_0xf8c0xe,_0xf8c0xf,_0xf8c0x10){checkTags(_0xf8c0xe[_0x50c6[20]]);var _0xf8c0x19={where:_[_0x50c6[28]]({type:_0x50c6[51]},_0xf8c0xe[_0x50c6[20]])};switch(_0xf8c0xe[_0x50c6[45]][_0x50c6[26]]){case _0x50c6[52]:_[_0x50c6[28]](_0xf8c0x19,{include:[{model:User,attributes:[_0x50c6[22]],where:{id:_0xf8c0xe[_0x50c6[45]][_0x50c6[22]]}}]});break;default:};return ChatRoom[_0x50c6[55]](_0xf8c0x19)[_0x50c6[19]](function(_0xf8c0x15){return ChatRoom[_0x50c6[55]]({where:{id:{$in:_[_0x50c6[53]](_0xf8c0x15,_0x50c6[22])}},include:[{model:User,attributes:[_0x50c6[22],_0x50c6[23],_0x50c6[24],_0x50c6[26],_0x50c6[54]]},{model:ChatVisitor}]})})[_0x50c6[19]](function(_0xf8c0x15){return _0xf8c0xf[_0x50c6[18]](200)[_0x50c6[17]]({rows:_0xf8c0x15,count:_0xf8c0x15[_0x50c6[40]]})})[_0x50c6[16]](function(_0xf8c0x11){return handleError(_0xf8c0xf,_0xf8c0x11)})};exports[_0x50c6[56]]=function(_0xf8c0xe,_0xf8c0xf,_0xf8c0x10){checkTags(_0xf8c0xe[_0x50c6[20]]);var _0xf8c0x19={where:_[_0x50c6[28]]({type:_0x50c6[57]},_0xf8c0xe[_0x50c6[20]]),include:[{model:ChatVisitor,attributes:[_0x50c6[22],_0x50c6[24]]}]};switch(_0xf8c0xe[_0x50c6[45]][_0x50c6[26]]){case _0x50c6[52]:_0xf8c0x19[_0x50c6[58]][_0x50c6[43]]({model:User,attributes:[_0x50c6[22]],where:{id:_0xf8c0xe[_0x50c6[45]][_0x50c6[22]]}});break;default:};return ChatRoom[_0x50c6[55]](_0xf8c0x19)[_0x50c6[19]](function(_0xf8c0x15){return _0xf8c0xf[_0x50c6[18]](200)[_0x50c6[17]]({rows:_0xf8c0x15,count:_0xf8c0x15[_0x50c6[40]]})})[_0x50c6[16]](function(_0xf8c0x11){return handleError(_0xf8c0xf,_0xf8c0x11)})};exports[_0x50c6[59]]=function(_0xf8c0xe,_0xf8c0xf,_0xf8c0x10){return User[_0x50c6[49]](_0x50c6[48])[_0x50c6[47]](_0xf8c0xe[_0x50c6[35]][_0x50c6[22]])[_0x50c6[19]](function(_0xf8c0x12){return _0xf8c0xf[_0x50c6[18]](200)[_0x50c6[17]](_0xf8c0x12)})[_0x50c6[16]](function(_0xf8c0x11){return handleError(_0xf8c0xf,_0xf8c0x11)})};exports[_0x50c6[60]]=function(_0xf8c0xe,_0xf8c0xf,_0xf8c0x10){return ChatRoom[_0x50c6[49]](_0x50c6[61])[_0x50c6[29]](_[_0x50c6[28]](Util[_0x50c6[21]](_0xf8c0xe[_0x50c6[20]]),{include:[{model:User,attributes:[_0x50c6[22],_0x50c6[23],_0x50c6[24],_0x50c6[25],_0x50c6[26],_0x50c6[27]]},{model:ChatMessage},{model:ChatVisitor}]}))[_0x50c6[19]](function(_0xf8c0x12){_0xf8c0xf[_0x50c6[18]](200)[_0x50c6[17]](_0xf8c0x12)})[_0x50c6[16]](function(_0xf8c0x11){console[_0x50c6[15]](_0xf8c0x11);return handleError(_0xf8c0xf,_0xf8c0x11)})};exports[_0x50c6[62]]=function(_0xf8c0xe,_0xf8c0xf){return User[_0x50c6[47]](_0xf8c0xe[_0x50c6[45]][_0x50c6[22]])[_0x50c6[19]](function(_0xf8c0x1a){return _0xf8c0x1a[_0x50c6[64]]({include:[{model:ChatVisitor,attributes:[_0x50c6[22],_0x50c6[24],_0x50c6[25]]},{model:User,attributes:[_0x50c6[22],_0x50c6[23],_0x50c6[24],_0x50c6[25],_0x50c6[26],_0x50c6[27]]}]})})[_0x50c6[19]](function(_0xf8c0x15){if(!_0xf8c0x15){return _0xf8c0xf[_0x50c6[36]](404)};return _0xf8c0xf[_0x50c6[17]](_0xf8c0x15)})[_0x50c6[16]](function(_0xf8c0x11){console[_0x50c6[63]](_0xf8c0x11);return handleError(_0xf8c0xf,_0xf8c0x11)})};exports[_0x50c6[65]]=function(_0xf8c0xe,_0xf8c0xf){return ChatRoom[_0x50c6[47]](_0xf8c0xe[_0x50c6[35]][_0x50c6[22]],{include:[{model:ChatMessage,include:[{model:ChatVisitor,attributes:[_0x50c6[22],_0x50c6[25],_0x50c6[24]]},{model:User,attributes:[_0x50c6[22],_0x50c6[25],_0x50c6[23],_0x50c6[24],_0x50c6[54],_0x50c6[26],_0x50c6[27]]}]},{model:User,attributes:[_0x50c6[22],_0x50c6[25],_0x50c6[23],_0x50c6[24],_0x50c6[54],_0x50c6[26],_0x50c6[27]]},{model:ChatVisitor},{model:ChatWebsite,attributes:[_0x50c6[22],_0x50c6[23],_0x50c6[66]],include:[List]}]})[_0x50c6[19]](function(_0xf8c0x1b){if(!_0xf8c0x1b){return _0xf8c0xf[_0x50c6[36]](404)};return _0xf8c0xf[_0x50c6[17]](_0xf8c0x1b)})[_0x50c6[16]](function(_0xf8c0x11){return handleError(_0xf8c0xf,_0xf8c0x11)})};exports[_0x50c6[67]]=function(_0xf8c0xe,_0xf8c0xf,_0xf8c0x10){var _0xf8c0x1c;return ChatRoom[_0x50c6[77]]({where:{token:md5(JSON[_0x50c6[75]](_0xf8c0xe[_0x50c6[20]][_0x50c6[70]][_0x50c6[74]]())).toString(_0x50c6[73])},defaults:{type:_0x50c6[27],token:md5(JSON[_0x50c6[75]](_0xf8c0xe[_0x50c6[20]][_0x50c6[70]][_0x50c6[74]]())).toString(_0x50c6[73]),status:_0x50c6[76]},include:[{model:ChatMessage,include:[{model:ChatVisitor,attributes:[_0x50c6[22],_0x50c6[25],_0x50c6[24]]},{model:User,attributes:[_0x50c6[22],_0x50c6[23],_0x50c6[24],_0x50c6[25],_0x50c6[26],_0x50c6[27]]}]},{model:User,attributes:[_0x50c6[22],_0x50c6[23],_0x50c6[24],_0x50c6[25],_0x50c6[26],_0x50c6[27]]}]})[_0x50c6[72]](function(_0xf8c0x1b,_0xf8c0x1e){_0xf8c0x1c=_0xf8c0x1b;if(_0xf8c0x1e){return _0xf8c0x1c[_0x50c6[71]](_0xf8c0xe[_0x50c6[20]][_0x50c6[70]])}})[_0x50c6[19]](function(){return _0xf8c0x1c[_0x50c6[69]]()})[_0x50c6[19]](function(_0xf8c0x1d){return _0xf8c0xf[_0x50c6[18]](200)[_0x50c6[17]](_[_0x50c6[28]](_0xf8c0x1c[_0x50c6[68]],{Users:_0xf8c0x1d}))})[_0x50c6[16]](function(_0xf8c0x11){return handleError(_0xf8c0xf,_0xf8c0x11)})};exports[_0x50c6[78]]=function(_0xf8c0xe,_0xf8c0xf,_0xf8c0x10){var _0xf8c0x1c;return ChatRoom[_0x50c6[47]](_0xf8c0xe[_0x50c6[35]][_0x50c6[22]])[_0x50c6[19]](function(_0xf8c0x1b){_0xf8c0x1c=_0xf8c0x1b;if(!_0xf8c0x1c){return _0xf8c0xf[_0x50c6[36]](404)}})[_0x50c6[19]](function(){return ChatMessage[_0x50c6[80]](_[_0x50c6[28]](_0xf8c0xe[_0x50c6[32]],{type:_0xf8c0x1c[_0x50c6[79]],ChatRoomId:_0xf8c0xe[_0x50c6[35]][_0x50c6[22]],UserId:_0xf8c0xe[_0x50c6[45]][_0x50c6[22]]}))})[_0x50c6[19]](function(_0xf8c0x1f){return _0xf8c0xf[_0x50c6[18]](200)[_0x50c6[17]](_0xf8c0x1f)})[_0x50c6[16]](function(_0xf8c0x11){return handleError(_0xf8c0xf,_0xf8c0x11)})};exports[_0x50c6[81]]=function(_0xf8c0xe,_0xf8c0xf,_0xf8c0x10){return ChatRoom[_0x50c6[47]](_0xf8c0xe[_0x50c6[35]][_0x50c6[22]],{include:[{model:ChatMessage,include:[{model:ChatVisitor,attributes:[_0x50c6[22],_0x50c6[24]]},{model:User,attributes:[_0x50c6[22],_0x50c6[24]]}]}]})[_0x50c6[19]](function(_0xf8c0x1b){var _0xf8c0x20=[];_0xf8c0x1b[_0x50c6[86]][_0x50c6[85]](function(_0xf8c0x1f){_0xf8c0x20[_0x50c6[43]]({name:_0xf8c0x1f[_0x50c6[6]]?_0xf8c0x1f[_0x50c6[6]][_0x50c6[24]]:_0xf8c0x1f[_0x50c6[11]][_0x50c6[24]],text:_0xf8c0x1f[_0x50c6[32]][_0x50c6[83]](/(\r\n|\n|\r)/gm,_0x50c6[82]),date:_0xf8c0x1f[_0x50c6[84]]})});return _0xf8c0xf[_0x50c6[79]](_0x50c6[87])[_0x50c6[18]](200)[_0x50c6[17]](csv(_0xf8c0x20))})[_0x50c6[16]](function(_0xf8c0x11){return handleError(_0xf8c0xf,_0xf8c0x11)})};exports[_0x50c6[88]]=function(_0xf8c0xe,_0xf8c0xf){return User[_0x50c6[47]](_0xf8c0xe[_0x50c6[45]][_0x50c6[22]])[_0x50c6[19]](function(_0xf8c0x1a){return _0xf8c0x1a[_0x50c6[64]]({where:{type:_0xf8c0xe[_0x50c6[35]][_0x50c6[79]]},include:[{model:ChatVisitor,attributes:[_0x50c6[22],_0x50c6[24],_0x50c6[25]]}]})})[_0x50c6[19]](function(_0xf8c0x15){if(!_0xf8c0x15){return _0xf8c0xf[_0x50c6[36]](404)};return _0xf8c0xf[_0x50c6[17]](_0xf8c0x15)})[_0x50c6[16]](function(_0xf8c0x11){return handleError(_0xf8c0xf,_0xf8c0x11)})};exports[_0x50c6[89]]=function(_0xf8c0xe,_0xf8c0xf){return User[_0x50c6[47]](_0xf8c0xe[_0x50c6[45]][_0x50c6[22]])[_0x50c6[19]](function(_0xf8c0x1a){return _0xf8c0x1a[_0x50c6[64]]({include:[{model:ChatVisitor,attributes:[_0x50c6[22],_0x50c6[24],_0x50c6[25]]},{model:User,attributes:[_0x50c6[22],_0x50c6[23],_0x50c6[24],_0x50c6[25],_0x50c6[26],_0x50c6[27]]}]})})[_0x50c6[19]](function(_0xf8c0x15){if(!_0xf8c0x15){return _0xf8c0xf[_0x50c6[36]](404)};return _0xf8c0xf[_0x50c6[17]](_0xf8c0x15)})[_0x50c6[16]](function(_0xf8c0x11){return handleError(_0xf8c0xf,_0xf8c0x11)})};exports[_0x50c6[80]]=function(_0xf8c0xe,_0xf8c0xf){};exports[_0x50c6[37]]=function(_0xf8c0xe,_0xf8c0xf){if(_0xf8c0xe[_0x50c6[32]][_0x50c6[22]]){delete _0xf8c0xe[_0x50c6[32]][_0x50c6[22]]};return ChatRoom[_0x50c6[47]](_0xf8c0xe[_0x50c6[35]][_0x50c6[22]])[_0x50c6[19]](function(_0xf8c0x1b){if(!_0xf8c0x1b){return _0xf8c0xf[_0x50c6[36]](404)};return _0xf8c0x1b[_0x50c6[37]](_0xf8c0xe[_0x50c6[32]])})[_0x50c6[19]](function(_0xf8c0x1b){return _0xf8c0xf[_0x50c6[18]](200)[_0x50c6[17]](_0xf8c0x1b)})[_0x50c6[16]](function(_0xf8c0x11){return handleError(_0xf8c0xf,_0xf8c0x11)})};exports[_0x50c6[90]]=function(_0xf8c0xe,_0xf8c0xf){var _0xf8c0x1c;if(_0xf8c0xe[_0x50c6[32]][_0x50c6[22]]){delete _0xf8c0xe[_0x50c6[32]][_0x50c6[22]]};return ChatRoom[_0x50c6[47]](_0xf8c0xe[_0x50c6[35]][_0x50c6[22]])[_0x50c6[19]](function(_0xf8c0x1b){if(!_0xf8c0x1b||!_0xf8c0xe[_0x50c6[32]][_0x50c6[70]]){return _0xf8c0xf[_0x50c6[36]](404)};return _0xf8c0x1b})[_0x50c6[19]](function(_0xf8c0x1b){return _0xf8c0x1b[_0x50c6[37]]({type:_0x50c6[51],token:md5(JSON[_0x50c6[75]](_0xf8c0xe[_0x50c6[32]][_0x50c6[70]][_0x50c6[74]]())).toString(_0x50c6[73])})})[_0x50c6[19]](function(_0xf8c0x1b){_0xf8c0x1c=_0xf8c0x1b;return _0xf8c0x1b[_0x50c6[71]](_0xf8c0xe[_0x50c6[32]][_0x50c6[70]][_0x50c6[74]](),{individualHooks:true})})[_0x50c6[19]](function(){return _0xf8c0x1c[_0x50c6[69]]()})[_0x50c6[19]](function(_0xf8c0x1d){_[_0x50c6[28]](_0xf8c0x1c[_0x50c6[68]],{Users:_0xf8c0x1d});return _0xf8c0xf[_0x50c6[18]](200)[_0x50c6[17]](_0xf8c0x1c)})[_0x50c6[16]](function(_0xf8c0x11){return handleError(_0xf8c0xf,_0xf8c0x11)})};exports[_0x50c6[91]]=function(_0xf8c0xe,_0xf8c0xf){return ChatRoom[_0x50c6[47]](_0xf8c0xe[_0x50c6[35]][_0x50c6[22]])[_0x50c6[19]](function(_0xf8c0x1b){if(!_0xf8c0x1b){return _0xf8c0xf[_0x50c6[36]](404)};return _0xf8c0x1b[_0x50c6[91]]()})[_0x50c6[19]](function(){return _0xf8c0xf[_0x50c6[36]](204)})[_0x50c6[16]](function(_0xf8c0x11){return handleError(_0xf8c0xf,_0xf8c0x11)})};function handleError(_0xf8c0xf,_0xf8c0x11){return _0xf8c0xf[_0x50c6[18]](500)[_0x50c6[17]](_0xf8c0x11)} \ No newline at end of file diff --git a/server/api/chat_room/chat_room.socket.js b/server/api/chat_room/chat_room.socket.js index 7ff67fe..65f0fd5 100644 --- a/server/api/chat_room/chat_room.socket.js +++ b/server/api/chat_room/chat_room.socket.js @@ -1 +1 @@ -var _0xe5fa=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x43\x68\x61\x74\x4D\x65\x73\x73\x61\x67\x65","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x3A\x72\x65\x6D\x6F\x76\x65"];_0xe5fa[0];var User=require(_0xe5fa[2])[_0xe5fa[1]];var ChatRoom=require(_0xe5fa[2])[_0xe5fa[3]];var ChatMessage=require(_0xe5fa[2])[_0xe5fa[4]];var ChatVisitor=require(_0xe5fa[2])[_0xe5fa[5]];exports[_0xe5fa[6]]=function(_0x8241x5){ChatRoom[_0xe5fa[7]](function(_0x8241x6){onSave(_0x8241x5,_0x8241x6)});ChatRoom[_0xe5fa[8]](function(_0x8241x6){onSave(_0x8241x5,_0x8241x6)});ChatRoom[_0xe5fa[9]](function(_0x8241x6){onRemove(_0x8241x5,_0x8241x6)})};function onSave(_0x8241x5,_0x8241x6,_0x8241x8){_0x8241x5[_0xe5fa[11]](_0xe5fa[10],_0x8241x6)}function onRemove(_0x8241x5,_0x8241x6,_0x8241x8){_0x8241x5[_0xe5fa[11]](_0xe5fa[12],_0x8241x6)} \ No newline at end of file +var _0xa8ae=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x43\x68\x61\x74\x4D\x65\x73\x73\x61\x67\x65","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x3A\x72\x65\x6D\x6F\x76\x65"];_0xa8ae[0];var User=require(_0xa8ae[2])[_0xa8ae[1]];var ChatRoom=require(_0xa8ae[2])[_0xa8ae[3]];var ChatMessage=require(_0xa8ae[2])[_0xa8ae[4]];var ChatVisitor=require(_0xa8ae[2])[_0xa8ae[5]];exports[_0xa8ae[6]]=function(_0xaa08x5){ChatRoom[_0xa8ae[7]](function(_0xaa08x6){onSave(_0xaa08x5,_0xaa08x6)});ChatRoom[_0xa8ae[8]](function(_0xaa08x6){onSave(_0xaa08x5,_0xaa08x6)});ChatRoom[_0xa8ae[9]](function(_0xaa08x6){onRemove(_0xaa08x5,_0xaa08x6)})};function onSave(_0xaa08x5,_0xaa08x6,_0xaa08x8){_0xaa08x5[_0xa8ae[11]](_0xa8ae[10],_0xaa08x6)}function onRemove(_0xaa08x5,_0xaa08x6,_0xaa08x8){_0xaa08x5[_0xa8ae[11]](_0xa8ae[12],_0xaa08x6)} \ No newline at end of file diff --git a/server/api/chat_room/index.js b/server/api/chat_room/index.js index ab744f2..110e259 100644 --- a/server/api/chat_room/index.js +++ b/server/api/chat_room/index.js @@ -1 +1 @@ -var _0x1a9c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x43\x68\x61\x74","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x6F\x6E\x6C\x69\x6E\x65","\x67\x65\x74\x4F\x6E\x6C\x69\x6E\x65\x52\x6F\x6F\x6D","\x2F\x6D\x65","\x75\x73\x65\x72","\x6D\x65","\x2F\x67\x72\x6F\x75\x70\x73","\x67\x65\x74\x47\x72\x6F\x75\x70\x73","\x2F\x65\x78\x74\x65\x72\x6E\x61\x6C\x73","\x67\x65\x74\x45\x78\x74\x65\x72\x6E\x61\x6C\x73","\x2F\x61\x67\x65\x6E\x74\x73","\x67\x65\x74\x41\x67\x65\x6E\x74\x73","\x2F\x61\x67\x65\x6E\x74\x73\x2F\x3A\x69\x64","\x67\x65\x74\x41\x67\x65\x6E\x74","\x2F\x75\x73\x65\x72\x73","\x67\x65\x74\x52\x6F\x6F\x6D\x42\x79\x55\x73\x65\x72\x73","\x2F\x74\x79\x70\x65\x2F\x3A\x74\x79\x70\x65","\x67\x65\x74\x52\x6F\x6F\x6D\x42\x79\x54\x79\x70\x65","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x65\x78\x70\x6F\x72\x74","\x65\x78\x70\x6F\x72\x74","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x3A\x69\x64\x2F\x6D\x65\x73\x73\x61\x67\x65\x73","\x63\x72\x65\x61\x74\x65\x4D\x65\x73\x73\x61\x67\x65","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x2F\x3A\x69\x64\x2F\x75\x73\x65\x72\x73","\x75\x70\x64\x61\x74\x65\x55\x73\x65\x72\x73","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x1a9c[0];var express=require(_0x1a9c[1]);var controller=require(_0x1a9c[2]);var auth=require(_0x1a9c[3]);var license=require(_0x1a9c[4]);var router=express.Router();router[_0x1a9c[13]](_0x1a9c[5],license[_0x1a9c[6]](),license[_0x1a9c[7]](),auth[_0x1a9c[8]](),auth[_0x1a9c[11]]([8],[_0x1a9c[9],_0x1a9c[10]]),controller[_0x1a9c[12]]);router[_0x1a9c[13]](_0x1a9c[14],license[_0x1a9c[6]](),license[_0x1a9c[7]](),auth[_0x1a9c[8]](),auth[_0x1a9c[11]]([8],[_0x1a9c[9],_0x1a9c[10]]),controller[_0x1a9c[15]]);router[_0x1a9c[13]](_0x1a9c[16],license[_0x1a9c[6]](),license[_0x1a9c[7]](),auth[_0x1a9c[8]](),auth[_0x1a9c[11]]([8],[_0x1a9c[9],_0x1a9c[17],_0x1a9c[10]]),controller[_0x1a9c[18]]);router[_0x1a9c[13]](_0x1a9c[19],license[_0x1a9c[6]](),license[_0x1a9c[7]](),auth[_0x1a9c[8]](),auth[_0x1a9c[11]]([8],[_0x1a9c[9],_0x1a9c[10]]),controller[_0x1a9c[20]]);router[_0x1a9c[13]](_0x1a9c[21],license[_0x1a9c[6]](),license[_0x1a9c[7]](),auth[_0x1a9c[8]](),auth[_0x1a9c[11]]([8],[_0x1a9c[9],_0x1a9c[10]]),controller[_0x1a9c[22]]);router[_0x1a9c[13]](_0x1a9c[23],license[_0x1a9c[6]](),license[_0x1a9c[7]](),auth[_0x1a9c[8]](),auth[_0x1a9c[11]]([8],[_0x1a9c[9],_0x1a9c[10]]),controller[_0x1a9c[24]]);router[_0x1a9c[13]](_0x1a9c[25],license[_0x1a9c[6]](),license[_0x1a9c[7]](),auth[_0x1a9c[8]](),auth[_0x1a9c[11]]([8],[_0x1a9c[9],_0x1a9c[10]]),controller[_0x1a9c[26]]);router[_0x1a9c[13]](_0x1a9c[27],license[_0x1a9c[6]](),license[_0x1a9c[7]](),auth[_0x1a9c[8]](),auth[_0x1a9c[11]]([8],[_0x1a9c[9],_0x1a9c[10]]),controller[_0x1a9c[28]]);router[_0x1a9c[13]](_0x1a9c[29],license[_0x1a9c[6]](),license[_0x1a9c[7]](),auth[_0x1a9c[8]](),auth[_0x1a9c[11]]([8],[_0x1a9c[9],_0x1a9c[10]]),controller[_0x1a9c[30]]);router[_0x1a9c[13]](_0x1a9c[31],license[_0x1a9c[6]](),license[_0x1a9c[7]](),auth[_0x1a9c[8]](),auth[_0x1a9c[11]]([8],[_0x1a9c[9],_0x1a9c[10]]),controller[_0x1a9c[32]]);router[_0x1a9c[13]](_0x1a9c[33],controller[_0x1a9c[34]]);router[_0x1a9c[36]](_0x1a9c[5],license[_0x1a9c[6]](),license[_0x1a9c[7]](),auth[_0x1a9c[8]](),auth[_0x1a9c[11]]([8],[_0x1a9c[9],_0x1a9c[10]]),controller[_0x1a9c[35]]);router[_0x1a9c[36]](_0x1a9c[37],license[_0x1a9c[6]](),license[_0x1a9c[7]](),auth[_0x1a9c[8]](),auth[_0x1a9c[11]]([8],[_0x1a9c[9],_0x1a9c[10]]),controller[_0x1a9c[38]]);router[_0x1a9c[40]](_0x1a9c[31],license[_0x1a9c[6]](),license[_0x1a9c[7]](),auth[_0x1a9c[8]](),auth[_0x1a9c[11]]([8],[_0x1a9c[9],_0x1a9c[10]]),controller[_0x1a9c[39]]);router[_0x1a9c[40]](_0x1a9c[41],license[_0x1a9c[6]](),license[_0x1a9c[7]](),auth[_0x1a9c[8]](),auth[_0x1a9c[11]]([8],[_0x1a9c[9],_0x1a9c[10]]),controller[_0x1a9c[42]]);router[_0x1a9c[44]](_0x1a9c[31],license[_0x1a9c[6]](),license[_0x1a9c[7]](),auth[_0x1a9c[8]](),auth[_0x1a9c[11]]([8],[_0x1a9c[9],_0x1a9c[10]]),controller[_0x1a9c[43]]);module[_0x1a9c[45]]=router \ No newline at end of file +var _0x44f5=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x43\x68\x61\x74","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x6F\x6E\x6C\x69\x6E\x65","\x67\x65\x74\x4F\x6E\x6C\x69\x6E\x65\x52\x6F\x6F\x6D","\x2F\x6D\x65","\x75\x73\x65\x72","\x6D\x65","\x2F\x67\x72\x6F\x75\x70\x73","\x67\x65\x74\x47\x72\x6F\x75\x70\x73","\x2F\x65\x78\x74\x65\x72\x6E\x61\x6C\x73","\x67\x65\x74\x45\x78\x74\x65\x72\x6E\x61\x6C\x73","\x2F\x61\x67\x65\x6E\x74\x73","\x67\x65\x74\x41\x67\x65\x6E\x74\x73","\x2F\x61\x67\x65\x6E\x74\x73\x2F\x3A\x69\x64","\x67\x65\x74\x41\x67\x65\x6E\x74","\x2F\x75\x73\x65\x72\x73","\x67\x65\x74\x52\x6F\x6F\x6D\x42\x79\x55\x73\x65\x72\x73","\x2F\x74\x79\x70\x65\x2F\x3A\x74\x79\x70\x65","\x67\x65\x74\x52\x6F\x6F\x6D\x42\x79\x54\x79\x70\x65","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x65\x78\x70\x6F\x72\x74","\x65\x78\x70\x6F\x72\x74","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x3A\x69\x64\x2F\x6D\x65\x73\x73\x61\x67\x65\x73","\x63\x72\x65\x61\x74\x65\x4D\x65\x73\x73\x61\x67\x65","\x75\x70\x64\x61\x74\x65\x50\x61\x74\x63\x68","\x70\x61\x74\x63\x68","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x2F\x3A\x69\x64\x2F\x75\x73\x65\x72\x73","\x75\x70\x64\x61\x74\x65\x55\x73\x65\x72\x73","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x44f5[0];var express=require(_0x44f5[1]);var controller=require(_0x44f5[2]);var auth=require(_0x44f5[3]);var license=require(_0x44f5[4]);var router=express.Router();router[_0x44f5[13]](_0x44f5[5],license[_0x44f5[6]](),license[_0x44f5[7]](),auth[_0x44f5[8]](),auth[_0x44f5[11]]([8],[_0x44f5[9],_0x44f5[10]]),controller[_0x44f5[12]]);router[_0x44f5[13]](_0x44f5[14],license[_0x44f5[6]](),license[_0x44f5[7]](),auth[_0x44f5[8]](),auth[_0x44f5[11]]([8],[_0x44f5[9],_0x44f5[10]]),controller[_0x44f5[15]]);router[_0x44f5[13]](_0x44f5[16],license[_0x44f5[6]](),license[_0x44f5[7]](),auth[_0x44f5[8]](),auth[_0x44f5[11]]([8],[_0x44f5[9],_0x44f5[17],_0x44f5[10]]),controller[_0x44f5[18]]);router[_0x44f5[13]](_0x44f5[19],license[_0x44f5[6]](),license[_0x44f5[7]](),auth[_0x44f5[8]](),auth[_0x44f5[11]]([8],[_0x44f5[9],_0x44f5[10]]),controller[_0x44f5[20]]);router[_0x44f5[13]](_0x44f5[21],license[_0x44f5[6]](),license[_0x44f5[7]](),auth[_0x44f5[8]](),auth[_0x44f5[11]]([8],[_0x44f5[9],_0x44f5[10]]),controller[_0x44f5[22]]);router[_0x44f5[13]](_0x44f5[23],license[_0x44f5[6]](),license[_0x44f5[7]](),auth[_0x44f5[8]](),auth[_0x44f5[11]]([8],[_0x44f5[9],_0x44f5[10]]),controller[_0x44f5[24]]);router[_0x44f5[13]](_0x44f5[25],license[_0x44f5[6]](),license[_0x44f5[7]](),auth[_0x44f5[8]](),auth[_0x44f5[11]]([8],[_0x44f5[9],_0x44f5[10]]),controller[_0x44f5[26]]);router[_0x44f5[13]](_0x44f5[27],license[_0x44f5[6]](),license[_0x44f5[7]](),auth[_0x44f5[8]](),auth[_0x44f5[11]]([8],[_0x44f5[9],_0x44f5[10]]),controller[_0x44f5[28]]);router[_0x44f5[13]](_0x44f5[29],license[_0x44f5[6]](),license[_0x44f5[7]](),auth[_0x44f5[8]](),auth[_0x44f5[11]]([8],[_0x44f5[9],_0x44f5[10]]),controller[_0x44f5[30]]);router[_0x44f5[13]](_0x44f5[31],license[_0x44f5[6]](),license[_0x44f5[7]](),auth[_0x44f5[8]](),auth[_0x44f5[11]]([8],[_0x44f5[9],_0x44f5[10]]),controller[_0x44f5[32]]);router[_0x44f5[13]](_0x44f5[33],controller[_0x44f5[34]]);router[_0x44f5[36]](_0x44f5[5],license[_0x44f5[6]](),license[_0x44f5[7]](),auth[_0x44f5[8]](),auth[_0x44f5[11]]([8],[_0x44f5[9],_0x44f5[10]]),controller[_0x44f5[35]]);router[_0x44f5[36]](_0x44f5[37],license[_0x44f5[6]](),license[_0x44f5[7]](),auth[_0x44f5[8]](),auth[_0x44f5[11]]([8],[_0x44f5[9],_0x44f5[10]]),controller[_0x44f5[38]]);router[_0x44f5[40]](_0x44f5[31],license[_0x44f5[6]](),license[_0x44f5[7]](),auth[_0x44f5[8]](),auth[_0x44f5[11]]([8],[_0x44f5[9],_0x44f5[10]]),controller[_0x44f5[39]]);router[_0x44f5[42]](_0x44f5[31],license[_0x44f5[6]](),license[_0x44f5[7]](),auth[_0x44f5[8]](),auth[_0x44f5[11]]([8],[_0x44f5[9],_0x44f5[10]]),controller[_0x44f5[41]]);router[_0x44f5[42]](_0x44f5[43],license[_0x44f5[6]](),license[_0x44f5[7]](),auth[_0x44f5[8]](),auth[_0x44f5[11]]([8],[_0x44f5[9],_0x44f5[10]]),controller[_0x44f5[44]]);router[_0x44f5[46]](_0x44f5[31],license[_0x44f5[6]](),license[_0x44f5[7]](),auth[_0x44f5[8]](),auth[_0x44f5[11]]([8],[_0x44f5[9],_0x44f5[10]]),controller[_0x44f5[45]]);module[_0x44f5[47]]=router \ No newline at end of file diff --git a/server/api/chat_visitor/chat_visitor.controller.js b/server/api/chat_visitor/chat_visitor.controller.js index 6747978..d4efbe5 100644 --- a/server/api/chat_visitor/chat_visitor.controller.js +++ b/server/api/chat_visitor/chat_visitor.controller.js @@ -1 +1 @@ -var _0x1ade=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x68\x61\x74\x45\x6E\x71\x75\x69\x72\x79","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65","\x69\x6E\x64\x65\x78","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x6D\x65\x72\x67\x65","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0x1ade[0];var _=require(_0x1ade[1]);var Util=require(_0x1ade[2]);var ChatVisitor=require(_0x1ade[4])[_0x1ade[3]];var ChatEnquiry=require(_0x1ade[4])[_0x1ade[5]];var ChatWebsite=require(_0x1ade[4])[_0x1ade[6]];exports[_0x1ade[7]]=function(_0xfde9x6,_0xfde9x7,_0xfde9x8){return ChatVisitor[_0x1ade[16]](_[_0x1ade[15]](Util[_0x1ade[14]](_0xfde9x6[_0x1ade[13]]),{include:[{model:ChatWebsite}]}))[_0x1ade[12]](function(_0xfde9xa){_0xfde9x7[_0x1ade[11]](200)[_0x1ade[10]](_0xfde9xa)})[_0x1ade[9]](function(_0xfde9x9){console[_0x1ade[8]](_0xfde9x9);return handleError(_0xfde9x7,_0xfde9x9)})};exports[_0x1ade[17]]=function(_0xfde9x6,_0xfde9x7){return ChatVisitor[_0x1ade[21]](_0xfde9x6[_0x1ade[20]][_0x1ade[19]],{include:[{model:ChatEnquiry},{model:ChatWebsite}]})[_0x1ade[12]](function(_0xfde9xb){if(!_0xfde9xb){return _0xfde9x7[_0x1ade[18]](404)};return _0xfde9x7[_0x1ade[10]](_0xfde9xb)})[_0x1ade[9]](function(_0xfde9x9){return handleError(_0xfde9x7,_0xfde9x9)})};exports[_0x1ade[22]]=function(_0xfde9x6,_0xfde9x7){return ChatVisitor[_0x1ade[22]](_0xfde9x6[_0x1ade[23]])[_0x1ade[12]](function(_0xfde9xb){return _0xfde9x7[_0x1ade[11]](201)[_0x1ade[10]](_0xfde9xb)})[_0x1ade[9]](function(_0xfde9x9){return handleError(_0xfde9x7,_0xfde9x9)})};exports[_0x1ade[24]]=function(_0xfde9x6,_0xfde9x7){if(_0xfde9x6[_0x1ade[23]][_0x1ade[19]]){delete _0xfde9x6[_0x1ade[23]][_0x1ade[19]]};return ChatVisitor[_0x1ade[21]](_0xfde9x6[_0x1ade[20]][_0x1ade[19]])[_0x1ade[12]](function(_0xfde9xb){if(!_0xfde9xb){return _0xfde9x7[_0x1ade[18]](404)};var _0xfde9xc=_[_0x1ade[15]](_0xfde9xb,_0xfde9x6[_0x1ade[23]]);return _0xfde9xc[_0x1ade[25]]()})[_0x1ade[12]](function(_0xfde9xb){return _0xfde9x7[_0x1ade[11]](200)[_0x1ade[10]](_0xfde9xb)})[_0x1ade[9]](function(_0xfde9x9){return handleError(_0xfde9x7,_0xfde9x9)})};exports[_0x1ade[26]]=function(_0xfde9x6,_0xfde9x7){return ChatVisitor[_0x1ade[21]](_0xfde9x6[_0x1ade[20]][_0x1ade[19]])[_0x1ade[12]](function(_0xfde9xb){if(!_0xfde9xb){return _0xfde9x7[_0x1ade[18]](404)};return _0xfde9xb[_0x1ade[26]]()})[_0x1ade[12]](function(){return _0xfde9x7[_0x1ade[18]](204)})[_0x1ade[9]](function(_0xfde9x9){return handleError(_0xfde9x7,_0xfde9x9)})};function handleError(_0xfde9x7,_0xfde9x9){return _0xfde9x7[_0x1ade[11]](500)[_0x1ade[10]](_0xfde9x9)} \ No newline at end of file +var _0xaadd=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x68\x61\x74\x45\x6E\x71\x75\x69\x72\x79","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65","\x69\x6E\x64\x65\x78","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x6D\x65\x72\x67\x65","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0xaadd[0];var _=require(_0xaadd[1]);var Util=require(_0xaadd[2]);var ChatVisitor=require(_0xaadd[4])[_0xaadd[3]];var ChatEnquiry=require(_0xaadd[4])[_0xaadd[5]];var ChatWebsite=require(_0xaadd[4])[_0xaadd[6]];exports[_0xaadd[7]]=function(_0xeec3x6,_0xeec3x7,_0xeec3x8){return ChatVisitor[_0xaadd[16]](_[_0xaadd[15]](Util[_0xaadd[14]](_0xeec3x6[_0xaadd[13]]),{include:[{model:ChatWebsite}]}))[_0xaadd[12]](function(_0xeec3xa){_0xeec3x7[_0xaadd[11]](200)[_0xaadd[10]](_0xeec3xa)})[_0xaadd[9]](function(_0xeec3x9){console[_0xaadd[8]](_0xeec3x9);return handleError(_0xeec3x7,_0xeec3x9)})};exports[_0xaadd[17]]=function(_0xeec3x6,_0xeec3x7){return ChatVisitor[_0xaadd[21]](_0xeec3x6[_0xaadd[20]][_0xaadd[19]],{include:[{model:ChatEnquiry},{model:ChatWebsite}]})[_0xaadd[12]](function(_0xeec3xb){if(!_0xeec3xb){return _0xeec3x7[_0xaadd[18]](404)};return _0xeec3x7[_0xaadd[10]](_0xeec3xb)})[_0xaadd[9]](function(_0xeec3x9){return handleError(_0xeec3x7,_0xeec3x9)})};exports[_0xaadd[22]]=function(_0xeec3x6,_0xeec3x7){return ChatVisitor[_0xaadd[22]](_0xeec3x6[_0xaadd[23]])[_0xaadd[12]](function(_0xeec3xb){return _0xeec3x7[_0xaadd[11]](201)[_0xaadd[10]](_0xeec3xb)})[_0xaadd[9]](function(_0xeec3x9){return handleError(_0xeec3x7,_0xeec3x9)})};exports[_0xaadd[24]]=function(_0xeec3x6,_0xeec3x7){if(_0xeec3x6[_0xaadd[23]][_0xaadd[19]]){delete _0xeec3x6[_0xaadd[23]][_0xaadd[19]]};return ChatVisitor[_0xaadd[21]](_0xeec3x6[_0xaadd[20]][_0xaadd[19]])[_0xaadd[12]](function(_0xeec3xb){if(!_0xeec3xb){return _0xeec3x7[_0xaadd[18]](404)};var _0xeec3xc=_[_0xaadd[15]](_0xeec3xb,_0xeec3x6[_0xaadd[23]]);return _0xeec3xc[_0xaadd[25]]()})[_0xaadd[12]](function(_0xeec3xb){return _0xeec3x7[_0xaadd[11]](200)[_0xaadd[10]](_0xeec3xb)})[_0xaadd[9]](function(_0xeec3x9){return handleError(_0xeec3x7,_0xeec3x9)})};exports[_0xaadd[26]]=function(_0xeec3x6,_0xeec3x7){return ChatVisitor[_0xaadd[21]](_0xeec3x6[_0xaadd[20]][_0xaadd[19]])[_0xaadd[12]](function(_0xeec3xb){if(!_0xeec3xb){return _0xeec3x7[_0xaadd[18]](404)};return _0xeec3xb[_0xaadd[26]]()})[_0xaadd[12]](function(){return _0xeec3x7[_0xaadd[18]](204)})[_0xaadd[9]](function(_0xeec3x9){return handleError(_0xeec3x7,_0xeec3x9)})};function handleError(_0xeec3x7,_0xeec3x9){return _0xeec3x7[_0xaadd[11]](500)[_0xaadd[10]](_0xeec3x9)} \ No newline at end of file diff --git a/server/api/chat_visitor/chat_visitor.socket.js b/server/api/chat_visitor/chat_visitor.socket.js index f81f1eb..75c48a6 100644 --- a/server/api/chat_visitor/chat_visitor.socket.js +++ b/server/api/chat_visitor/chat_visitor.socket.js @@ -1 +1 @@ -var _0x60f1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x68\x61\x74\x5F\x76\x69\x73\x69\x74\x6F\x72\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x68\x61\x74\x5F\x76\x69\x73\x69\x74\x6F\x72\x3A\x72\x65\x6D\x6F\x76\x65"];_0x60f1[0];var chat_visitor=require(_0x60f1[2])[_0x60f1[1]];exports[_0x60f1[3]]=function(_0x6761x2){chat_visitor[_0x60f1[4]](function(_0x6761x3){onSave(_0x6761x2,_0x6761x3)});chat_visitor[_0x60f1[5]](function(_0x6761x3){onSave(_0x6761x2,_0x6761x3)});chat_visitor[_0x60f1[6]](function(_0x6761x3){onRemove(_0x6761x2,_0x6761x3)})};function onSave(_0x6761x2,_0x6761x3,_0x6761x5){_0x6761x2[_0x60f1[8]](_0x60f1[7],_0x6761x3)}function onRemove(_0x6761x2,_0x6761x3,_0x6761x5){_0x6761x2[_0x60f1[8]](_0x60f1[9],_0x6761x3)} \ No newline at end of file +var _0x59fb=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x68\x61\x74\x5F\x76\x69\x73\x69\x74\x6F\x72\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x68\x61\x74\x5F\x76\x69\x73\x69\x74\x6F\x72\x3A\x72\x65\x6D\x6F\x76\x65"];_0x59fb[0];var chat_visitor=require(_0x59fb[2])[_0x59fb[1]];exports[_0x59fb[3]]=function(_0xc530x2){chat_visitor[_0x59fb[4]](function(_0xc530x3){onSave(_0xc530x2,_0xc530x3)});chat_visitor[_0x59fb[5]](function(_0xc530x3){onSave(_0xc530x2,_0xc530x3)});chat_visitor[_0x59fb[6]](function(_0xc530x3){onRemove(_0xc530x2,_0xc530x3)})};function onSave(_0xc530x2,_0xc530x3,_0xc530x5){_0xc530x2[_0x59fb[8]](_0x59fb[7],_0xc530x3)}function onRemove(_0xc530x2,_0xc530x3,_0xc530x5){_0xc530x2[_0x59fb[8]](_0x59fb[9],_0xc530x3)} \ No newline at end of file diff --git a/server/api/chat_visitor/index.js b/server/api/chat_visitor/index.js index 7ff7855..310812e 100644 --- a/server/api/chat_visitor/index.js +++ b/server/api/chat_visitor/index.js @@ -1 +1 @@ -var _0xcef3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x63\x68\x61\x74\x5F\x76\x69\x73\x69\x74\x6F\x72\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x43\x68\x61\x74","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xcef3[0];var express=require(_0xcef3[1]);var controller=require(_0xcef3[2]);var auth=require(_0xcef3[3]);var license=require(_0xcef3[4]);var router=express.Router();router[_0xcef3[12]](_0xcef3[5],license[_0xcef3[6]](),license[_0xcef3[7]](),auth[_0xcef3[8]](),auth[_0xcef3[10]]([8],[_0xcef3[9]]),controller[_0xcef3[11]]);router[_0xcef3[12]](_0xcef3[13],license[_0xcef3[6]](),license[_0xcef3[7]](),auth[_0xcef3[8]](),auth[_0xcef3[10]]([8],[_0xcef3[9]]),controller[_0xcef3[14]]);router[_0xcef3[16]](_0xcef3[5],license[_0xcef3[6]](),license[_0xcef3[7]](),auth[_0xcef3[8]](),auth[_0xcef3[10]]([8],[_0xcef3[9]]),controller[_0xcef3[15]]);router[_0xcef3[18]](_0xcef3[13],license[_0xcef3[6]](),license[_0xcef3[7]](),auth[_0xcef3[8]](),auth[_0xcef3[10]]([8],[_0xcef3[9]]),controller[_0xcef3[17]]);router[_0xcef3[20]](_0xcef3[13],license[_0xcef3[6]](),license[_0xcef3[7]](),auth[_0xcef3[8]](),auth[_0xcef3[10]]([8],[_0xcef3[9]]),controller[_0xcef3[19]]);module[_0xcef3[21]]=router \ No newline at end of file +var _0xe4b5=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x63\x68\x61\x74\x5F\x76\x69\x73\x69\x74\x6F\x72\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x43\x68\x61\x74","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xe4b5[0];var express=require(_0xe4b5[1]);var controller=require(_0xe4b5[2]);var auth=require(_0xe4b5[3]);var license=require(_0xe4b5[4]);var router=express.Router();router[_0xe4b5[12]](_0xe4b5[5],license[_0xe4b5[6]](),license[_0xe4b5[7]](),auth[_0xe4b5[8]](),auth[_0xe4b5[10]]([8],[_0xe4b5[9]]),controller[_0xe4b5[11]]);router[_0xe4b5[12]](_0xe4b5[13],license[_0xe4b5[6]](),license[_0xe4b5[7]](),auth[_0xe4b5[8]](),auth[_0xe4b5[10]]([8],[_0xe4b5[9]]),controller[_0xe4b5[14]]);router[_0xe4b5[16]](_0xe4b5[5],license[_0xe4b5[6]](),license[_0xe4b5[7]](),auth[_0xe4b5[8]](),auth[_0xe4b5[10]]([8],[_0xe4b5[9]]),controller[_0xe4b5[15]]);router[_0xe4b5[18]](_0xe4b5[13],license[_0xe4b5[6]](),license[_0xe4b5[7]](),auth[_0xe4b5[8]](),auth[_0xe4b5[10]]([8],[_0xe4b5[9]]),controller[_0xe4b5[17]]);router[_0xe4b5[20]](_0xe4b5[13],license[_0xe4b5[6]](),license[_0xe4b5[7]](),auth[_0xe4b5[8]](),auth[_0xe4b5[10]]([8],[_0xe4b5[9]]),controller[_0xe4b5[19]]);module[_0xe4b5[21]]=router \ No newline at end of file diff --git a/server/api/chat_website/chat_website.controller.js b/server/api/chat_website/chat_website.controller.js index 9f6f386..8bf9627 100644 --- a/server/api/chat_website/chat_website.controller.js +++ b/server/api/chat_website/chat_website.controller.js @@ -1 +1 @@ -var _0x8796=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x61\x73\x79\x6E\x63","\x6D\x75\x73\x74\x61\x63\x68\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65","\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x55\x73\x65\x72","\x43\x68\x61\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x73\x46\x69\x65\x6C\x64","\x43\x68\x61\x74\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E","\x43\x68\x61\x74\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x73\x6E\x69\x70\x70\x65\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6D\x70\x6F\x6E\x65\x6E\x74\x73\x2F\x78\x63\x68\x61\x74\x74\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x67\x65\x74\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x6C\x65\x6E\x67\x74\x68","\x67\x65\x74\x43\x68\x61\x74\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x63\x72\x65\x61\x74\x65\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x49\x64","\x62\x6F\x64\x79","\x63\x72\x65\x61\x74\x65","\x75\x70\x64\x61\x74\x65\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x69\x73\x70\x49\x64","\x64\x65\x73\x74\x72\x6F\x79\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x64\x65\x73\x74\x72\x6F\x79","\x73\x68\x6F\x77\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x6C\x6F\x67","\x6E\x61\x6D\x65","\x67\x65\x74\x43\x68\x61\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x73\x68\x6F\x77\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E\x73","\x67\x65\x74\x43\x68\x61\x74\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E\x73","\x67\x65\x74\x53\x6E\x69\x70\x70\x65\x74\x43\x6F\x64\x65","\x72\x65\x6D\x6F\x74\x65","\x72\x65\x6E\x64\x65\x72","\x75\x70\x64\x61\x74\x65","\x75\x70\x64\x61\x74\x65\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x75\x70\x64\x61\x74\x65\x64\x41\x74","\x70\x72\x69\x6F\x72\x69\x74\x79","\x66\x6F\x72\x45\x61\x63\x68","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x77\x65\x62\x73\x69\x74\x65\x73","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x69\x64\x73","\x64\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x61\x70\x70\x49\x64","\x67\x65\x74\x46\x6F\x72\x6D\x73","\x6A\x73\x6F\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x74\x79\x70\x65","\x73\x63\x6F\x70\x65","\x75\x70\x64\x61\x74\x65\x46\x6F\x72\x6D\x73","\x6F\x6E\x6C\x69\x6E\x65","\x4F\x6E\x6C\x69\x6E\x65\x49\x64","\x6F\x66\x66\x6C\x69\x6E\x65","\x4F\x66\x66\x6C\x69\x6E\x65\x49\x64","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E\x73","\x64\x65\x73\x74\x72\x6F\x79\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E","\x70\x61\x63\x74\x69\x6F\x6E\x49\x64","\x63\x72\x65\x61\x74\x65\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E"];_0x8796[0];var _=require(_0x8796[1]);var util=require(_0x8796[2]);var async=require(_0x8796[3]);var Mustache=require(_0x8796[4]);var Util=require(_0x8796[5]);var sequelize=require(_0x8796[7])[_0x8796[6]];var ChatWebsite=require(_0x8796[7])[_0x8796[8]];var ChatQueue=require(_0x8796[7])[_0x8796[9]];var User=require(_0x8796[7])[_0x8796[10]];var ChatApplication=require(_0x8796[7])[_0x8796[11]];var ChatWebsitesField=require(_0x8796[7])[_0x8796[12]];var ChatProactiveAction=require(_0x8796[7])[_0x8796[13]];var ChatDisposition=require(_0x8796[7])[_0x8796[14]];var snippet=require(_0x8796[16])[_0x8796[15]];exports[_0x8796[17]]=function(_0x1173xf,_0x1173x10,_0x1173x11){return ChatWebsite[_0x8796[24]](Util[_0x8796[23]](_0x1173xf[_0x8796[22]]))[_0x8796[21]](function(_0x1173x13){_0x1173x10[_0x8796[20]](200)[_0x8796[19]](_0x1173x13)})[_0x8796[18]](function(_0x1173x12){return handleError(_0x1173x10,_0x1173x12)})};exports[_0x8796[25]]=function(_0x1173xf,_0x1173x10){return ChatWebsite[_0x8796[29]](_0x1173xf[_0x8796[28]][_0x8796[27]])[_0x8796[21]](function(_0x1173x14){if(!_0x1173x14){return _0x1173x10[_0x8796[26]](404)};return _0x1173x10[_0x8796[19]](_0x1173x14)})[_0x8796[18]](function(_0x1173x12){return handleError(_0x1173x10,_0x1173x12)})};exports[_0x8796[30]]=function(_0x1173xf,_0x1173x10,_0x1173x11){return ChatWebsite[_0x8796[29]](_0x1173xf[_0x8796[28]][_0x8796[27]])[_0x8796[21]](function(_0x1173x14){if(!_0x1173x14){return _0x1173x10[_0x8796[26]](404)};return _0x1173x14[_0x8796[32]]()})[_0x8796[21]](function(_0x1173x15){return _0x1173x10[_0x8796[20]](200)[_0x8796[19]]({rows:_0x1173x15,count:_0x1173x15[_0x8796[31]]})})[_0x8796[18]](function(_0x1173x12){return handleError(_0x1173x10,_0x1173x12)})};exports[_0x8796[33]]=function(_0x1173xf,_0x1173x10,_0x1173x11){_0x1173xf[_0x8796[35]][_0x8796[34]]=_0x1173xf[_0x8796[28]][_0x8796[27]];return ChatDisposition[_0x8796[36]](_0x1173xf[_0x8796[35]])[_0x8796[21]](function(_0x1173x16){return _0x1173x10[_0x8796[20]](201)[_0x8796[19]](_0x1173x16)})[_0x8796[18]](function(_0x1173x12){return handleError(_0x1173x10,_0x1173x12)})};exports[_0x8796[37]]=function(_0x1173xf,_0x1173x10){if(_0x1173xf[_0x8796[35]][_0x8796[27]]){delete _0x1173xf[_0x8796[35]][_0x8796[27]]};return ChatDisposition[_0x8796[29]](_0x1173xf[_0x8796[28]][_0x8796[40]])[_0x8796[21]](function(_0x1173x16){if(!_0x1173x16){return _0x1173x10[_0x8796[26]](404)};var _0x1173x17=_[_0x8796[38]](_0x1173x16,_0x1173xf[_0x8796[35]]);return _0x1173x17[_0x8796[39]]()})[_0x8796[21]](function(_0x1173x14){return _0x1173x10[_0x8796[20]](200)[_0x8796[19]](_0x1173x14)})[_0x8796[18]](function(_0x1173x12){return handleError(_0x1173x10,_0x1173x12)})};exports[_0x8796[41]]=function(_0x1173xf,_0x1173x10,_0x1173x11){return ChatDisposition[_0x8796[29]](_0x1173xf[_0x8796[28]][_0x8796[40]])[_0x8796[21]](function(_0x1173x18){if(!_0x1173x18){return _0x1173x10[_0x8796[26]](404)};return _0x1173x18[_0x8796[42]]()})[_0x8796[21]](function(){return _0x1173x10[_0x8796[26]](204)})[_0x8796[18]](function(_0x1173x12){return handleError(_0x1173x10,_0x1173x12)})};exports[_0x8796[43]]=function(_0x1173xf,_0x1173x10,_0x1173x11){return ChatWebsite[_0x8796[29]](_0x1173xf[_0x8796[28]][_0x8796[27]])[_0x8796[21]](function(_0x1173x1a){if(!_0x1173x1a){return _0x1173x10[_0x8796[26]](404)};return _0x1173x1a[_0x8796[46]](_[_0x8796[38]](Util[_0x8796[23]](_0x1173xf[_0x8796[22]]),{include:[{model:ChatQueue,attributes:[_0x8796[27],_0x8796[45]]},{model:User,attributes:[_0x8796[27],_0x8796[45]]}]}))})[_0x8796[21]](function(_0x1173x19){return _0x1173x10[_0x8796[19]]({count:_0x1173x19[_0x8796[31]],rows:_0x1173x19})})[_0x8796[18]](function(_0x1173x12){console[_0x8796[44]](_0x1173x12);return handleError(_0x1173x10,_0x1173x12)})};exports[_0x8796[47]]=function(_0x1173xf,_0x1173x10,_0x1173x11){return ChatWebsite[_0x8796[29]](_0x1173xf[_0x8796[28]][_0x8796[27]])[_0x8796[21]](function(_0x1173x1a){if(!_0x1173x1a){return _0x1173x10[_0x8796[26]](404)};return _0x1173x1a[_0x8796[48]](Util[_0x8796[23]](_0x1173xf[_0x8796[22]]))})[_0x8796[21]](function(_0x1173x1b){return _0x1173x10[_0x8796[19]]({count:_0x1173x1b[_0x8796[31]],rows:_0x1173x1b})})[_0x8796[18]](function(_0x1173x12){return handleError(_0x1173x10,_0x1173x12)})};exports[_0x8796[49]]=function(_0x1173xf,_0x1173x10){return ChatWebsite[_0x8796[29]](_0x1173xf[_0x8796[28]][_0x8796[27]])[_0x8796[21]](function(_0x1173x14){var _0x1173x1c={remote:_0x1173x14[_0x8796[50]],websiteId:_0x1173xf[_0x8796[28]][_0x8796[27]]};var _0x1173x1d=Mustache[_0x8796[51]](snippet,_0x1173x1c);return _0x1173x10[_0x8796[20]](200)[_0x8796[19]]({html:_0x1173x1d})})[_0x8796[18]](function(_0x1173x12){return handleError(_0x1173x10,_0x1173x12)})};exports[_0x8796[36]]=function(_0x1173xf,_0x1173x10){return ChatWebsite[_0x8796[36]](_0x1173xf[_0x8796[35]])[_0x8796[21]](function(_0x1173x14){return _0x1173x10[_0x8796[20]](201)[_0x8796[19]](_0x1173x14)})[_0x8796[18]](function(_0x1173x12){console[_0x8796[44]](_0x1173x12);return handleError(_0x1173x10,_0x1173x12)})};exports[_0x8796[52]]=function(_0x1173xf,_0x1173x10){if(_0x1173xf[_0x8796[35]][_0x8796[27]]){delete _0x1173xf[_0x8796[35]][_0x8796[27]]};return ChatWebsite[_0x8796[29]](_0x1173xf[_0x8796[28]][_0x8796[27]])[_0x8796[21]](function(_0x1173x14){if(!_0x1173x14){return _0x1173x10[_0x8796[26]](404)};return _0x1173x14[_0x8796[52]](_0x1173xf[_0x8796[35]])})[_0x8796[21]](function(_0x1173x14){return _0x1173x10[_0x8796[20]](200)[_0x8796[19]](_0x1173x14)})[_0x8796[18]](function(_0x1173x12){return handleError(_0x1173x10,_0x1173x12)})};exports[_0x8796[53]]=function(_0x1173xf,_0x1173x10){var _0x1173x1e=0;var _0x1173x1f=_0x1173xf[_0x8796[35]];_0x1173x1f[_0x8796[57]](function(_0x1173x20){delete _0x1173x20[_0x8796[27]];delete _0x1173x20[_0x8796[54]];delete _0x1173x20[_0x8796[55]];_0x1173x20[_0x8796[56]]= ++_0x1173x1e});return sequelize[_0x8796[59]](function(_0x1173x21){return ChatApplication[_0x8796[42]]({where:{ChatWebsiteId:_0x1173xf[_0x8796[28]][_0x8796[27]]},individualHooks:true,transaction:_0x1173x21})[_0x8796[21]](function(){return ChatApplication[_0x8796[58]](_0x1173x1f,{individualHooks:true,transaction:_0x1173x21})})})[_0x8796[21]](function(_0x1173x19){return _0x1173x10[_0x8796[20]](200)[_0x8796[19]]({count:_0x1173x19[_0x8796[31]],rows:_0x1173x19})})[_0x8796[18]](function(_0x1173x12){return handleError(_0x1173x10,_0x1173x12)})};exports[_0x8796[42]]=function(_0x1173xf,_0x1173x10){return ChatWebsite[_0x8796[29]](_0x1173xf[_0x8796[28]][_0x8796[27]])[_0x8796[21]](function(_0x1173x14){if(!_0x1173x14){return _0x1173x10[_0x8796[26]](404)};return _0x1173x14[_0x8796[42]]()})[_0x8796[21]](function(){return _0x1173x10[_0x8796[26]](204)})[_0x8796[18]](function(_0x1173x12){return handleError(_0x1173x10,_0x1173x12)})};exports[_0x8796[60]]=function(_0x1173xf,_0x1173x10){return ChatWebsite[_0x8796[42]]({where:{id:_0x1173xf[_0x8796[22]][_0x8796[61]]},individualHooks:true})[_0x8796[21]](function(){return _0x1173x10[_0x8796[26]](204)})[_0x8796[18]](function(_0x1173x12){return handleError(_0x1173x10,_0x1173x12)})};exports[_0x8796[62]]=function(_0x1173xf,_0x1173x10){return ChatApplication[_0x8796[42]]({where:{id:_0x1173xf[_0x8796[22]][_0x8796[63]]},individualHooks:true})[_0x8796[21]](function(){return _0x1173x10[_0x8796[26]](204)})[_0x8796[18]](function(_0x1173x12){return handleError(_0x1173x10,_0x1173x12)})};exports[_0x8796[64]]=function(_0x1173xf,_0x1173x10,_0x1173x11){return ChatApplication[_0x8796[29]](_0x1173xf[_0x8796[28]][_0x8796[65]])[_0x8796[21]](function(_0x1173x22){if(!_0x1173x22){return _0x1173x10[_0x8796[26]](404)};return _0x1173x22[_0x8796[42]]()})[_0x8796[21]](function(){return _0x1173x10[_0x8796[26]](204)})[_0x8796[18]](function(_0x1173x12){return handleError(_0x1173x10,_0x1173x12)})};exports[_0x8796[66]]=function(_0x1173xf,_0x1173x10){return ChatWebsitesField[_0x8796[70]]({method:[_0x1173xf[_0x8796[28]][_0x8796[69]],_0x1173xf[_0x8796[28]][_0x8796[27]]]})[_0x8796[68]]()[_0x8796[21]](function(_0x1173x23){return _0x1173x10[_0x8796[20]](200)[_0x8796[67]](_0x1173x23)})[_0x8796[18]](function(_0x1173x12){return handleError(_0x1173x10,_0x1173x12)})};exports[_0x8796[71]]=function(_0x1173xf,_0x1173x10,_0x1173x11){return ChatWebsitesField[_0x8796[42]]({where:_0x1173xf[_0x8796[28]][_0x8796[69]]===_0x8796[72]?{OnlineId:_0x1173xf[_0x8796[28]][_0x8796[27]]}:{OfflineId:_0x1173xf[_0x8796[28]][_0x8796[27]]}})[_0x8796[21]](function(){_[_0x8796[57]](_0x1173xf[_0x8796[35]],function(_0x1173x25){if(_0x1173xf[_0x8796[28]][_0x8796[69]]===_0x8796[72]){_0x1173x25[_0x8796[73]]=_0x1173xf[_0x8796[28]][_0x8796[27]]}else {if(_0x1173xf[_0x8796[28]][_0x8796[69]]===_0x8796[74]){_0x1173x25[_0x8796[75]]=_0x1173xf[_0x8796[28]][_0x8796[27]]}}});return ChatWebsitesField[_0x8796[58]](_0x1173xf[_0x8796[35]])})[_0x8796[21]](function(_0x1173x24){_0x1173x10[_0x8796[20]](201)[_0x8796[67]](_0x1173x24)})[_0x8796[18]](function(_0x1173x12){return handleError(_0x1173x10,_0x1173x12)})};exports[_0x8796[76]]=function(_0x1173xf,_0x1173x10){return ChatProactiveAction[_0x8796[42]]({where:{id:_0x1173xf[_0x8796[22]][_0x8796[63]]},individualHooks:true})[_0x8796[21]](function(){return _0x1173x10[_0x8796[26]](204)})[_0x8796[18]](function(_0x1173x12){return handleError(_0x1173x10,_0x1173x12)})};exports[_0x8796[77]]=function(_0x1173xf,_0x1173x10,_0x1173x11){return ChatProactiveAction[_0x8796[29]](_0x1173xf[_0x8796[28]][_0x8796[78]])[_0x8796[21]](function(_0x1173x26){if(!_0x1173x26){return _0x1173x10[_0x8796[26]](404)};return _0x1173x26[_0x8796[42]]()})[_0x8796[21]](function(){return _0x1173x10[_0x8796[26]](204)})[_0x8796[18]](function(_0x1173x12){return handleError(_0x1173x10,_0x1173x12)})};exports[_0x8796[79]]=function(_0x1173xf,_0x1173x10,_0x1173x11){return ChatWebsite[_0x8796[29]](_0x1173xf[_0x8796[28]][_0x8796[27]])[_0x8796[21]](function(_0x1173x1a){if(!_0x1173x1a){return _0x1173x10[_0x8796[26]](404)};_0x1173xf[_0x8796[35]][_0x8796[34]]=_0x1173x1a[_0x8796[27]];return ChatProactiveAction[_0x8796[36]](_0x1173xf[_0x8796[35]])})[_0x8796[21]](function(_0x1173x26){return _0x1173x10[_0x8796[20]](201)[_0x8796[19]](_0x1173x26)})[_0x8796[18]](function(_0x1173x12){return handleError(_0x1173x10,_0x1173x12)})};exports[_0x8796[80]]=function(_0x1173xf,_0x1173x10){if(_0x1173xf[_0x8796[35]][_0x8796[27]]){delete _0x1173xf[_0x8796[35]][_0x8796[27]]};return ChatProactiveAction[_0x8796[29]](_0x1173xf[_0x8796[28]][_0x8796[78]])[_0x8796[21]](function(_0x1173x26){if(!_0x1173x26){return _0x1173x10[_0x8796[26]](404)};return _0x1173x26[_0x8796[52]](_0x1173xf[_0x8796[35]])})[_0x8796[21]](function(_0x1173x26){console[_0x8796[44]](_0x1173x26);return _0x1173x10[_0x8796[20]](200)[_0x8796[19]](_0x1173x26)})[_0x8796[18]](function(_0x1173x12){return handleError(_0x1173x10,_0x1173x12)})};function handleError(_0x1173x10,_0x1173x12){return _0x1173x10[_0x8796[20]](500)[_0x8796[19]](_0x1173x12)} \ No newline at end of file +var _0xe787=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x61\x73\x79\x6E\x63","\x6D\x75\x73\x74\x61\x63\x68\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65","\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x55\x73\x65\x72","\x43\x68\x61\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x73\x46\x69\x65\x6C\x64","\x43\x68\x61\x74\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E","\x43\x68\x61\x74\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x73\x6E\x69\x70\x70\x65\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6D\x70\x6F\x6E\x65\x6E\x74\x73\x2F\x78\x63\x68\x61\x74\x74\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x67\x65\x74\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x6C\x65\x6E\x67\x74\x68","\x67\x65\x74\x43\x68\x61\x74\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x63\x72\x65\x61\x74\x65\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x49\x64","\x62\x6F\x64\x79","\x63\x72\x65\x61\x74\x65","\x75\x70\x64\x61\x74\x65\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x69\x73\x70\x49\x64","\x64\x65\x73\x74\x72\x6F\x79\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x64\x65\x73\x74\x72\x6F\x79","\x73\x68\x6F\x77\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x6C\x6F\x67","\x6E\x61\x6D\x65","\x67\x65\x74\x43\x68\x61\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x73\x68\x6F\x77\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E\x73","\x67\x65\x74\x43\x68\x61\x74\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E\x73","\x67\x65\x74\x53\x6E\x69\x70\x70\x65\x74\x43\x6F\x64\x65","\x72\x65\x6D\x6F\x74\x65","\x72\x65\x6E\x64\x65\x72","\x75\x70\x64\x61\x74\x65","\x75\x70\x64\x61\x74\x65\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x75\x70\x64\x61\x74\x65\x64\x41\x74","\x70\x72\x69\x6F\x72\x69\x74\x79","\x66\x6F\x72\x45\x61\x63\x68","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x77\x65\x62\x73\x69\x74\x65\x73","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x69\x64\x73","\x64\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x61\x70\x70\x49\x64","\x67\x65\x74\x46\x6F\x72\x6D\x73","\x6A\x73\x6F\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x74\x79\x70\x65","\x73\x63\x6F\x70\x65","\x75\x70\x64\x61\x74\x65\x46\x6F\x72\x6D\x73","\x6F\x6E\x6C\x69\x6E\x65","\x4F\x6E\x6C\x69\x6E\x65\x49\x64","\x6F\x66\x66\x6C\x69\x6E\x65","\x4F\x66\x66\x6C\x69\x6E\x65\x49\x64","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E\x73","\x64\x65\x73\x74\x72\x6F\x79\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E","\x70\x61\x63\x74\x69\x6F\x6E\x49\x64","\x63\x72\x65\x61\x74\x65\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E"];_0xe787[0];var _=require(_0xe787[1]);var util=require(_0xe787[2]);var async=require(_0xe787[3]);var Mustache=require(_0xe787[4]);var Util=require(_0xe787[5]);var sequelize=require(_0xe787[7])[_0xe787[6]];var ChatWebsite=require(_0xe787[7])[_0xe787[8]];var ChatQueue=require(_0xe787[7])[_0xe787[9]];var User=require(_0xe787[7])[_0xe787[10]];var ChatApplication=require(_0xe787[7])[_0xe787[11]];var ChatWebsitesField=require(_0xe787[7])[_0xe787[12]];var ChatProactiveAction=require(_0xe787[7])[_0xe787[13]];var ChatDisposition=require(_0xe787[7])[_0xe787[14]];var snippet=require(_0xe787[16])[_0xe787[15]];exports[_0xe787[17]]=function(_0x4708xf,_0x4708x10,_0x4708x11){return ChatWebsite[_0xe787[24]](Util[_0xe787[23]](_0x4708xf[_0xe787[22]]))[_0xe787[21]](function(_0x4708x13){_0x4708x10[_0xe787[20]](200)[_0xe787[19]](_0x4708x13)})[_0xe787[18]](function(_0x4708x12){return handleError(_0x4708x10,_0x4708x12)})};exports[_0xe787[25]]=function(_0x4708xf,_0x4708x10){return ChatWebsite[_0xe787[29]](_0x4708xf[_0xe787[28]][_0xe787[27]])[_0xe787[21]](function(_0x4708x14){if(!_0x4708x14){return _0x4708x10[_0xe787[26]](404)};return _0x4708x10[_0xe787[19]](_0x4708x14)})[_0xe787[18]](function(_0x4708x12){return handleError(_0x4708x10,_0x4708x12)})};exports[_0xe787[30]]=function(_0x4708xf,_0x4708x10,_0x4708x11){return ChatWebsite[_0xe787[29]](_0x4708xf[_0xe787[28]][_0xe787[27]])[_0xe787[21]](function(_0x4708x14){if(!_0x4708x14){return _0x4708x10[_0xe787[26]](404)};return _0x4708x14[_0xe787[32]]()})[_0xe787[21]](function(_0x4708x15){return _0x4708x10[_0xe787[20]](200)[_0xe787[19]]({rows:_0x4708x15,count:_0x4708x15[_0xe787[31]]})})[_0xe787[18]](function(_0x4708x12){return handleError(_0x4708x10,_0x4708x12)})};exports[_0xe787[33]]=function(_0x4708xf,_0x4708x10,_0x4708x11){_0x4708xf[_0xe787[35]][_0xe787[34]]=_0x4708xf[_0xe787[28]][_0xe787[27]];return ChatDisposition[_0xe787[36]](_0x4708xf[_0xe787[35]])[_0xe787[21]](function(_0x4708x16){return _0x4708x10[_0xe787[20]](201)[_0xe787[19]](_0x4708x16)})[_0xe787[18]](function(_0x4708x12){return handleError(_0x4708x10,_0x4708x12)})};exports[_0xe787[37]]=function(_0x4708xf,_0x4708x10){if(_0x4708xf[_0xe787[35]][_0xe787[27]]){delete _0x4708xf[_0xe787[35]][_0xe787[27]]};return ChatDisposition[_0xe787[29]](_0x4708xf[_0xe787[28]][_0xe787[40]])[_0xe787[21]](function(_0x4708x16){if(!_0x4708x16){return _0x4708x10[_0xe787[26]](404)};var _0x4708x17=_[_0xe787[38]](_0x4708x16,_0x4708xf[_0xe787[35]]);return _0x4708x17[_0xe787[39]]()})[_0xe787[21]](function(_0x4708x14){return _0x4708x10[_0xe787[20]](200)[_0xe787[19]](_0x4708x14)})[_0xe787[18]](function(_0x4708x12){return handleError(_0x4708x10,_0x4708x12)})};exports[_0xe787[41]]=function(_0x4708xf,_0x4708x10,_0x4708x11){return ChatDisposition[_0xe787[29]](_0x4708xf[_0xe787[28]][_0xe787[40]])[_0xe787[21]](function(_0x4708x18){if(!_0x4708x18){return _0x4708x10[_0xe787[26]](404)};return _0x4708x18[_0xe787[42]]()})[_0xe787[21]](function(){return _0x4708x10[_0xe787[26]](204)})[_0xe787[18]](function(_0x4708x12){return handleError(_0x4708x10,_0x4708x12)})};exports[_0xe787[43]]=function(_0x4708xf,_0x4708x10,_0x4708x11){return ChatWebsite[_0xe787[29]](_0x4708xf[_0xe787[28]][_0xe787[27]])[_0xe787[21]](function(_0x4708x1a){if(!_0x4708x1a){return _0x4708x10[_0xe787[26]](404)};return _0x4708x1a[_0xe787[46]](_[_0xe787[38]](Util[_0xe787[23]](_0x4708xf[_0xe787[22]]),{include:[{model:ChatQueue,attributes:[_0xe787[27],_0xe787[45]]},{model:User,attributes:[_0xe787[27],_0xe787[45]]}]}))})[_0xe787[21]](function(_0x4708x19){return _0x4708x10[_0xe787[19]]({count:_0x4708x19[_0xe787[31]],rows:_0x4708x19})})[_0xe787[18]](function(_0x4708x12){console[_0xe787[44]](_0x4708x12);return handleError(_0x4708x10,_0x4708x12)})};exports[_0xe787[47]]=function(_0x4708xf,_0x4708x10,_0x4708x11){return ChatWebsite[_0xe787[29]](_0x4708xf[_0xe787[28]][_0xe787[27]])[_0xe787[21]](function(_0x4708x1a){if(!_0x4708x1a){return _0x4708x10[_0xe787[26]](404)};return _0x4708x1a[_0xe787[48]](Util[_0xe787[23]](_0x4708xf[_0xe787[22]]))})[_0xe787[21]](function(_0x4708x1b){return _0x4708x10[_0xe787[19]]({count:_0x4708x1b[_0xe787[31]],rows:_0x4708x1b})})[_0xe787[18]](function(_0x4708x12){return handleError(_0x4708x10,_0x4708x12)})};exports[_0xe787[49]]=function(_0x4708xf,_0x4708x10){return ChatWebsite[_0xe787[29]](_0x4708xf[_0xe787[28]][_0xe787[27]])[_0xe787[21]](function(_0x4708x14){var _0x4708x1c={remote:_0x4708x14[_0xe787[50]],websiteId:_0x4708xf[_0xe787[28]][_0xe787[27]]};var _0x4708x1d=Mustache[_0xe787[51]](snippet,_0x4708x1c);return _0x4708x10[_0xe787[20]](200)[_0xe787[19]]({html:_0x4708x1d})})[_0xe787[18]](function(_0x4708x12){return handleError(_0x4708x10,_0x4708x12)})};exports[_0xe787[36]]=function(_0x4708xf,_0x4708x10){return ChatWebsite[_0xe787[36]](_0x4708xf[_0xe787[35]])[_0xe787[21]](function(_0x4708x14){return _0x4708x10[_0xe787[20]](201)[_0xe787[19]](_0x4708x14)})[_0xe787[18]](function(_0x4708x12){console[_0xe787[44]](_0x4708x12);return handleError(_0x4708x10,_0x4708x12)})};exports[_0xe787[52]]=function(_0x4708xf,_0x4708x10){if(_0x4708xf[_0xe787[35]][_0xe787[27]]){delete _0x4708xf[_0xe787[35]][_0xe787[27]]};return ChatWebsite[_0xe787[29]](_0x4708xf[_0xe787[28]][_0xe787[27]])[_0xe787[21]](function(_0x4708x14){if(!_0x4708x14){return _0x4708x10[_0xe787[26]](404)};return _0x4708x14[_0xe787[52]](_0x4708xf[_0xe787[35]])})[_0xe787[21]](function(_0x4708x14){return _0x4708x10[_0xe787[20]](200)[_0xe787[19]](_0x4708x14)})[_0xe787[18]](function(_0x4708x12){return handleError(_0x4708x10,_0x4708x12)})};exports[_0xe787[53]]=function(_0x4708xf,_0x4708x10){var _0x4708x1e=0;var _0x4708x1f=_0x4708xf[_0xe787[35]];_0x4708x1f[_0xe787[57]](function(_0x4708x20){delete _0x4708x20[_0xe787[27]];delete _0x4708x20[_0xe787[54]];delete _0x4708x20[_0xe787[55]];_0x4708x20[_0xe787[56]]= ++_0x4708x1e});return sequelize[_0xe787[59]](function(_0x4708x21){return ChatApplication[_0xe787[42]]({where:{ChatWebsiteId:_0x4708xf[_0xe787[28]][_0xe787[27]]},individualHooks:true,transaction:_0x4708x21})[_0xe787[21]](function(){return ChatApplication[_0xe787[58]](_0x4708x1f,{individualHooks:true,transaction:_0x4708x21})})})[_0xe787[21]](function(_0x4708x19){return _0x4708x10[_0xe787[20]](200)[_0xe787[19]]({count:_0x4708x19[_0xe787[31]],rows:_0x4708x19})})[_0xe787[18]](function(_0x4708x12){return handleError(_0x4708x10,_0x4708x12)})};exports[_0xe787[42]]=function(_0x4708xf,_0x4708x10){return ChatWebsite[_0xe787[29]](_0x4708xf[_0xe787[28]][_0xe787[27]])[_0xe787[21]](function(_0x4708x14){if(!_0x4708x14){return _0x4708x10[_0xe787[26]](404)};return _0x4708x14[_0xe787[42]]()})[_0xe787[21]](function(){return _0x4708x10[_0xe787[26]](204)})[_0xe787[18]](function(_0x4708x12){return handleError(_0x4708x10,_0x4708x12)})};exports[_0xe787[60]]=function(_0x4708xf,_0x4708x10){return ChatWebsite[_0xe787[42]]({where:{id:_0x4708xf[_0xe787[22]][_0xe787[61]]},individualHooks:true})[_0xe787[21]](function(){return _0x4708x10[_0xe787[26]](204)})[_0xe787[18]](function(_0x4708x12){return handleError(_0x4708x10,_0x4708x12)})};exports[_0xe787[62]]=function(_0x4708xf,_0x4708x10){return ChatApplication[_0xe787[42]]({where:{id:_0x4708xf[_0xe787[22]][_0xe787[63]]},individualHooks:true})[_0xe787[21]](function(){return _0x4708x10[_0xe787[26]](204)})[_0xe787[18]](function(_0x4708x12){return handleError(_0x4708x10,_0x4708x12)})};exports[_0xe787[64]]=function(_0x4708xf,_0x4708x10,_0x4708x11){return ChatApplication[_0xe787[29]](_0x4708xf[_0xe787[28]][_0xe787[65]])[_0xe787[21]](function(_0x4708x22){if(!_0x4708x22){return _0x4708x10[_0xe787[26]](404)};return _0x4708x22[_0xe787[42]]()})[_0xe787[21]](function(){return _0x4708x10[_0xe787[26]](204)})[_0xe787[18]](function(_0x4708x12){return handleError(_0x4708x10,_0x4708x12)})};exports[_0xe787[66]]=function(_0x4708xf,_0x4708x10){return ChatWebsitesField[_0xe787[70]]({method:[_0x4708xf[_0xe787[28]][_0xe787[69]],_0x4708xf[_0xe787[28]][_0xe787[27]]]})[_0xe787[68]]()[_0xe787[21]](function(_0x4708x23){return _0x4708x10[_0xe787[20]](200)[_0xe787[67]](_0x4708x23)})[_0xe787[18]](function(_0x4708x12){return handleError(_0x4708x10,_0x4708x12)})};exports[_0xe787[71]]=function(_0x4708xf,_0x4708x10,_0x4708x11){return ChatWebsitesField[_0xe787[42]]({where:_0x4708xf[_0xe787[28]][_0xe787[69]]===_0xe787[72]?{OnlineId:_0x4708xf[_0xe787[28]][_0xe787[27]]}:{OfflineId:_0x4708xf[_0xe787[28]][_0xe787[27]]}})[_0xe787[21]](function(){_[_0xe787[57]](_0x4708xf[_0xe787[35]],function(_0x4708x25){if(_0x4708xf[_0xe787[28]][_0xe787[69]]===_0xe787[72]){_0x4708x25[_0xe787[73]]=_0x4708xf[_0xe787[28]][_0xe787[27]]}else {if(_0x4708xf[_0xe787[28]][_0xe787[69]]===_0xe787[74]){_0x4708x25[_0xe787[75]]=_0x4708xf[_0xe787[28]][_0xe787[27]]}}});return ChatWebsitesField[_0xe787[58]](_0x4708xf[_0xe787[35]])})[_0xe787[21]](function(_0x4708x24){_0x4708x10[_0xe787[20]](201)[_0xe787[67]](_0x4708x24)})[_0xe787[18]](function(_0x4708x12){return handleError(_0x4708x10,_0x4708x12)})};exports[_0xe787[76]]=function(_0x4708xf,_0x4708x10){return ChatProactiveAction[_0xe787[42]]({where:{id:_0x4708xf[_0xe787[22]][_0xe787[63]]},individualHooks:true})[_0xe787[21]](function(){return _0x4708x10[_0xe787[26]](204)})[_0xe787[18]](function(_0x4708x12){return handleError(_0x4708x10,_0x4708x12)})};exports[_0xe787[77]]=function(_0x4708xf,_0x4708x10,_0x4708x11){return ChatProactiveAction[_0xe787[29]](_0x4708xf[_0xe787[28]][_0xe787[78]])[_0xe787[21]](function(_0x4708x26){if(!_0x4708x26){return _0x4708x10[_0xe787[26]](404)};return _0x4708x26[_0xe787[42]]()})[_0xe787[21]](function(){return _0x4708x10[_0xe787[26]](204)})[_0xe787[18]](function(_0x4708x12){return handleError(_0x4708x10,_0x4708x12)})};exports[_0xe787[79]]=function(_0x4708xf,_0x4708x10,_0x4708x11){return ChatWebsite[_0xe787[29]](_0x4708xf[_0xe787[28]][_0xe787[27]])[_0xe787[21]](function(_0x4708x1a){if(!_0x4708x1a){return _0x4708x10[_0xe787[26]](404)};_0x4708xf[_0xe787[35]][_0xe787[34]]=_0x4708x1a[_0xe787[27]];return ChatProactiveAction[_0xe787[36]](_0x4708xf[_0xe787[35]])})[_0xe787[21]](function(_0x4708x26){return _0x4708x10[_0xe787[20]](201)[_0xe787[19]](_0x4708x26)})[_0xe787[18]](function(_0x4708x12){return handleError(_0x4708x10,_0x4708x12)})};exports[_0xe787[80]]=function(_0x4708xf,_0x4708x10){if(_0x4708xf[_0xe787[35]][_0xe787[27]]){delete _0x4708xf[_0xe787[35]][_0xe787[27]]};return ChatProactiveAction[_0xe787[29]](_0x4708xf[_0xe787[28]][_0xe787[78]])[_0xe787[21]](function(_0x4708x26){if(!_0x4708x26){return _0x4708x10[_0xe787[26]](404)};return _0x4708x26[_0xe787[52]](_0x4708xf[_0xe787[35]])})[_0xe787[21]](function(_0x4708x26){console[_0xe787[44]](_0x4708x26);return _0x4708x10[_0xe787[20]](200)[_0xe787[19]](_0x4708x26)})[_0xe787[18]](function(_0x4708x12){return handleError(_0x4708x10,_0x4708x12)})};function handleError(_0x4708x10,_0x4708x12){return _0x4708x10[_0xe787[20]](500)[_0xe787[19]](_0x4708x12)} \ No newline at end of file diff --git a/server/api/chat_website/chat_website.socket.js b/server/api/chat_website/chat_website.socket.js index 3a86254..26142f1 100644 --- a/server/api/chat_website/chat_website.socket.js +++ b/server/api/chat_website/chat_website.socket.js @@ -1 +1 @@ -var _0x6e12=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x6e12[0];var chat_website=require(_0x6e12[2])[_0x6e12[1]];exports[_0x6e12[3]]=function(_0x4e95x2){chat_website[_0x6e12[4]](function(_0x4e95x3){onSave(_0x4e95x2,_0x4e95x3)});chat_website[_0x6e12[5]](function(_0x4e95x3){onRemove(_0x4e95x2,_0x4e95x3)})};function onSave(_0x4e95x2,_0x4e95x3,_0x4e95x5){_0x4e95x2[_0x6e12[7]](_0x6e12[6],_0x4e95x3)}function onRemove(_0x4e95x2,_0x4e95x3,_0x4e95x5){_0x4e95x2[_0x6e12[7]](_0x6e12[8],_0x4e95x3)} \ No newline at end of file +var _0x85cb=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x85cb[0];var chat_website=require(_0x85cb[2])[_0x85cb[1]];exports[_0x85cb[3]]=function(_0xb333x2){chat_website[_0x85cb[4]](function(_0xb333x3){onSave(_0xb333x2,_0xb333x3)});chat_website[_0x85cb[5]](function(_0xb333x3){onRemove(_0xb333x2,_0xb333x3)})};function onSave(_0xb333x2,_0xb333x3,_0xb333x5){_0xb333x2[_0x85cb[7]](_0x85cb[6],_0xb333x3)}function onRemove(_0xb333x2,_0xb333x3,_0xb333x5){_0xb333x2[_0x85cb[7]](_0x85cb[8],_0xb333x3)} \ No newline at end of file diff --git a/server/api/chat_website/index.js b/server/api/chat_website/index.js index 950f85b..4999aec 100644 --- a/server/api/chat_website/index.js +++ b/server/api/chat_website/index.js @@ -1 +1 @@ -var _0x2eaf=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x43\x68\x61\x74","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x73\x68\x6F\x77\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x68\x61\x73\x4D\x61\x69\x6C","\x61\x67\x65\x6E\x74","\x67\x65\x74\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x70\x72\x6F\x61\x63\x74\x69\x76\x65","\x73\x68\x6F\x77\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x66\x69\x65\x6C\x64\x73\x2F\x3A\x74\x79\x70\x65","\x67\x65\x74\x46\x6F\x72\x6D\x73","\x2F\x3A\x69\x64\x2F\x73\x6E\x69\x70\x70\x65\x74","\x67\x65\x74\x53\x6E\x69\x70\x70\x65\x74\x43\x6F\x64\x65","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x63\x72\x65\x61\x74\x65\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x63\x72\x65\x61\x74\x65\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x75\x70\x64\x61\x74\x65\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73\x2F\x3A\x64\x69\x73\x70\x49\x64","\x75\x70\x64\x61\x74\x65\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x2F\x3A\x69\x64\x2F\x70\x72\x6F\x61\x63\x74\x69\x76\x65\x2F\x3A\x70\x61\x63\x74\x69\x6F\x6E\x49\x64","\x75\x70\x64\x61\x74\x65\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65\x46\x6F\x72\x6D\x73","\x70\x61\x74\x63\x68","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x61\x70\x70\x49\x64","\x64\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x64\x65\x73\x74\x72\x6F\x79\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E","\x64\x65\x73\x74\x72\x6F\x79\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x65\x78\x70\x6F\x72\x74\x73"];_0x2eaf[0];var express=require(_0x2eaf[1]);var controller=require(_0x2eaf[2]);var auth=require(_0x2eaf[3]);var license=require(_0x2eaf[4]);var router=express.Router();router[_0x2eaf[12]](_0x2eaf[5],license[_0x2eaf[6]](),license[_0x2eaf[7]](),auth[_0x2eaf[8]](),auth[_0x2eaf[10]]([8],[_0x2eaf[9]]),controller[_0x2eaf[11]]);router[_0x2eaf[12]](_0x2eaf[13],license[_0x2eaf[6]](),license[_0x2eaf[7]](),auth[_0x2eaf[8]](),auth[_0x2eaf[10]]([8],[_0x2eaf[9]]),controller[_0x2eaf[14]]);router[_0x2eaf[12]](_0x2eaf[15],license[_0x2eaf[6]](),license[_0x2eaf[7]](),auth[_0x2eaf[8]](),auth[_0x2eaf[10]]([8],[_0x2eaf[9]]),controller[_0x2eaf[16]]);router[_0x2eaf[12]](_0x2eaf[17],license[_0x2eaf[6]](),license[_0x2eaf[18]](),auth[_0x2eaf[8]](),auth[_0x2eaf[10]]([9],[_0x2eaf[9],_0x2eaf[19]]),controller[_0x2eaf[20]]);router[_0x2eaf[12]](_0x2eaf[21],license[_0x2eaf[6]](),license[_0x2eaf[7]](),auth[_0x2eaf[8]](),auth[_0x2eaf[10]]([8],[_0x2eaf[9]]),controller[_0x2eaf[22]]);router[_0x2eaf[12]](_0x2eaf[23],license[_0x2eaf[6]](),license[_0x2eaf[7]](),auth[_0x2eaf[8]](),auth[_0x2eaf[10]]([8],[_0x2eaf[9]]),controller[_0x2eaf[24]]);router[_0x2eaf[12]](_0x2eaf[25],license[_0x2eaf[6]](),license[_0x2eaf[7]](),auth[_0x2eaf[8]](),auth[_0x2eaf[10]]([8],[_0x2eaf[9]]),controller[_0x2eaf[26]]);router[_0x2eaf[28]](_0x2eaf[5],license[_0x2eaf[6]](),license[_0x2eaf[7]](),auth[_0x2eaf[8]](),auth[_0x2eaf[10]]([8],[_0x2eaf[9]]),controller[_0x2eaf[27]]);router[_0x2eaf[28]](_0x2eaf[17],license[_0x2eaf[6]](),license[_0x2eaf[18]](),auth[_0x2eaf[8]](),auth[_0x2eaf[10]]([9],[_0x2eaf[9]]),controller[_0x2eaf[29]]);router[_0x2eaf[28]](_0x2eaf[21],license[_0x2eaf[6]](),license[_0x2eaf[7]](),auth[_0x2eaf[8]](),auth[_0x2eaf[10]]([8],[_0x2eaf[9]]),controller[_0x2eaf[30]]);router[_0x2eaf[32]](_0x2eaf[13],license[_0x2eaf[6]](),license[_0x2eaf[7]](),auth[_0x2eaf[8]](),auth[_0x2eaf[10]]([8],[_0x2eaf[9]]),controller[_0x2eaf[31]]);router[_0x2eaf[32]](_0x2eaf[15],license[_0x2eaf[6]](),license[_0x2eaf[7]](),auth[_0x2eaf[8]](),auth[_0x2eaf[10]]([8],[_0x2eaf[9]]),controller[_0x2eaf[33]]);router[_0x2eaf[32]](_0x2eaf[34],license[_0x2eaf[6]](),license[_0x2eaf[18]](),auth[_0x2eaf[8]](),auth[_0x2eaf[10]]([9],[_0x2eaf[9]]),controller[_0x2eaf[35]]);router[_0x2eaf[32]](_0x2eaf[36],license[_0x2eaf[6]](),license[_0x2eaf[7]](),auth[_0x2eaf[8]](),auth[_0x2eaf[10]]([8],[_0x2eaf[9]]),controller[_0x2eaf[37]]);router[_0x2eaf[32]](_0x2eaf[23],license[_0x2eaf[6]](),license[_0x2eaf[7]](),auth[_0x2eaf[8]](),auth[_0x2eaf[10]]([8],[_0x2eaf[9]]),controller[_0x2eaf[38]]);router[_0x2eaf[39]](_0x2eaf[13],license[_0x2eaf[6]](),license[_0x2eaf[7]](),auth[_0x2eaf[8]](),auth[_0x2eaf[10]]([8],[_0x2eaf[9]]),controller[_0x2eaf[31]]);router[_0x2eaf[41]](_0x2eaf[5],license[_0x2eaf[6]](),license[_0x2eaf[7]](),auth[_0x2eaf[8]](),auth[_0x2eaf[10]]([8],[_0x2eaf[9]]),controller[_0x2eaf[40]]);router[_0x2eaf[41]](_0x2eaf[13],license[_0x2eaf[6]](),license[_0x2eaf[7]](),auth[_0x2eaf[8]](),auth[_0x2eaf[10]]([8],[_0x2eaf[9]]),controller[_0x2eaf[42]]);router[_0x2eaf[41]](_0x2eaf[15],license[_0x2eaf[6]](),license[_0x2eaf[7]](),auth[_0x2eaf[8]](),auth[_0x2eaf[10]]([8],[_0x2eaf[9]]),controller[_0x2eaf[43]]);router[_0x2eaf[41]](_0x2eaf[21],license[_0x2eaf[6]](),license[_0x2eaf[7]](),auth[_0x2eaf[8]](),auth[_0x2eaf[10]]([8],[_0x2eaf[9]]),controller[_0x2eaf[44]]);router[_0x2eaf[41]](_0x2eaf[45],license[_0x2eaf[6]](),license[_0x2eaf[7]](),auth[_0x2eaf[8]](),auth[_0x2eaf[10]]([8],[_0x2eaf[9]]),controller[_0x2eaf[46]]);router[_0x2eaf[41]](_0x2eaf[36],license[_0x2eaf[6]](),license[_0x2eaf[7]](),auth[_0x2eaf[8]](),auth[_0x2eaf[10]]([8],[_0x2eaf[9]]),controller[_0x2eaf[47]]);router[_0x2eaf[41]](_0x2eaf[34],license[_0x2eaf[6]](),license[_0x2eaf[18]](),auth[_0x2eaf[8]](),auth[_0x2eaf[10]]([9],[_0x2eaf[9]]),controller[_0x2eaf[48]]);module[_0x2eaf[49]]=router \ No newline at end of file +var _0xfbbc=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x43\x68\x61\x74","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x73\x68\x6F\x77\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x68\x61\x73\x4D\x61\x69\x6C","\x61\x67\x65\x6E\x74","\x67\x65\x74\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x70\x72\x6F\x61\x63\x74\x69\x76\x65","\x73\x68\x6F\x77\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x66\x69\x65\x6C\x64\x73\x2F\x3A\x74\x79\x70\x65","\x67\x65\x74\x46\x6F\x72\x6D\x73","\x2F\x3A\x69\x64\x2F\x73\x6E\x69\x70\x70\x65\x74","\x67\x65\x74\x53\x6E\x69\x70\x70\x65\x74\x43\x6F\x64\x65","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x63\x72\x65\x61\x74\x65\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x63\x72\x65\x61\x74\x65\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x75\x70\x64\x61\x74\x65\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73\x2F\x3A\x64\x69\x73\x70\x49\x64","\x75\x70\x64\x61\x74\x65\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x2F\x3A\x69\x64\x2F\x70\x72\x6F\x61\x63\x74\x69\x76\x65\x2F\x3A\x70\x61\x63\x74\x69\x6F\x6E\x49\x64","\x75\x70\x64\x61\x74\x65\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65\x46\x6F\x72\x6D\x73","\x70\x61\x74\x63\x68","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x61\x70\x70\x49\x64","\x64\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x64\x65\x73\x74\x72\x6F\x79\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E","\x64\x65\x73\x74\x72\x6F\x79\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x65\x78\x70\x6F\x72\x74\x73"];_0xfbbc[0];var express=require(_0xfbbc[1]);var controller=require(_0xfbbc[2]);var auth=require(_0xfbbc[3]);var license=require(_0xfbbc[4]);var router=express.Router();router[_0xfbbc[12]](_0xfbbc[5],license[_0xfbbc[6]](),license[_0xfbbc[7]](),auth[_0xfbbc[8]](),auth[_0xfbbc[10]]([8],[_0xfbbc[9]]),controller[_0xfbbc[11]]);router[_0xfbbc[12]](_0xfbbc[13],license[_0xfbbc[6]](),license[_0xfbbc[7]](),auth[_0xfbbc[8]](),auth[_0xfbbc[10]]([8],[_0xfbbc[9]]),controller[_0xfbbc[14]]);router[_0xfbbc[12]](_0xfbbc[15],license[_0xfbbc[6]](),license[_0xfbbc[7]](),auth[_0xfbbc[8]](),auth[_0xfbbc[10]]([8],[_0xfbbc[9]]),controller[_0xfbbc[16]]);router[_0xfbbc[12]](_0xfbbc[17],license[_0xfbbc[6]](),license[_0xfbbc[18]](),auth[_0xfbbc[8]](),auth[_0xfbbc[10]]([9],[_0xfbbc[9],_0xfbbc[19]]),controller[_0xfbbc[20]]);router[_0xfbbc[12]](_0xfbbc[21],license[_0xfbbc[6]](),license[_0xfbbc[7]](),auth[_0xfbbc[8]](),auth[_0xfbbc[10]]([8],[_0xfbbc[9]]),controller[_0xfbbc[22]]);router[_0xfbbc[12]](_0xfbbc[23],license[_0xfbbc[6]](),license[_0xfbbc[7]](),auth[_0xfbbc[8]](),auth[_0xfbbc[10]]([8],[_0xfbbc[9]]),controller[_0xfbbc[24]]);router[_0xfbbc[12]](_0xfbbc[25],license[_0xfbbc[6]](),license[_0xfbbc[7]](),auth[_0xfbbc[8]](),auth[_0xfbbc[10]]([8],[_0xfbbc[9]]),controller[_0xfbbc[26]]);router[_0xfbbc[28]](_0xfbbc[5],license[_0xfbbc[6]](),license[_0xfbbc[7]](),auth[_0xfbbc[8]](),auth[_0xfbbc[10]]([8],[_0xfbbc[9]]),controller[_0xfbbc[27]]);router[_0xfbbc[28]](_0xfbbc[17],license[_0xfbbc[6]](),license[_0xfbbc[18]](),auth[_0xfbbc[8]](),auth[_0xfbbc[10]]([9],[_0xfbbc[9]]),controller[_0xfbbc[29]]);router[_0xfbbc[28]](_0xfbbc[21],license[_0xfbbc[6]](),license[_0xfbbc[7]](),auth[_0xfbbc[8]](),auth[_0xfbbc[10]]([8],[_0xfbbc[9]]),controller[_0xfbbc[30]]);router[_0xfbbc[32]](_0xfbbc[13],license[_0xfbbc[6]](),license[_0xfbbc[7]](),auth[_0xfbbc[8]](),auth[_0xfbbc[10]]([8],[_0xfbbc[9]]),controller[_0xfbbc[31]]);router[_0xfbbc[32]](_0xfbbc[15],license[_0xfbbc[6]](),license[_0xfbbc[7]](),auth[_0xfbbc[8]](),auth[_0xfbbc[10]]([8],[_0xfbbc[9]]),controller[_0xfbbc[33]]);router[_0xfbbc[32]](_0xfbbc[34],license[_0xfbbc[6]](),license[_0xfbbc[18]](),auth[_0xfbbc[8]](),auth[_0xfbbc[10]]([9],[_0xfbbc[9]]),controller[_0xfbbc[35]]);router[_0xfbbc[32]](_0xfbbc[36],license[_0xfbbc[6]](),license[_0xfbbc[7]](),auth[_0xfbbc[8]](),auth[_0xfbbc[10]]([8],[_0xfbbc[9]]),controller[_0xfbbc[37]]);router[_0xfbbc[32]](_0xfbbc[23],license[_0xfbbc[6]](),license[_0xfbbc[7]](),auth[_0xfbbc[8]](),auth[_0xfbbc[10]]([8],[_0xfbbc[9]]),controller[_0xfbbc[38]]);router[_0xfbbc[39]](_0xfbbc[13],license[_0xfbbc[6]](),license[_0xfbbc[7]](),auth[_0xfbbc[8]](),auth[_0xfbbc[10]]([8],[_0xfbbc[9]]),controller[_0xfbbc[31]]);router[_0xfbbc[41]](_0xfbbc[5],license[_0xfbbc[6]](),license[_0xfbbc[7]](),auth[_0xfbbc[8]](),auth[_0xfbbc[10]]([8],[_0xfbbc[9]]),controller[_0xfbbc[40]]);router[_0xfbbc[41]](_0xfbbc[13],license[_0xfbbc[6]](),license[_0xfbbc[7]](),auth[_0xfbbc[8]](),auth[_0xfbbc[10]]([8],[_0xfbbc[9]]),controller[_0xfbbc[42]]);router[_0xfbbc[41]](_0xfbbc[15],license[_0xfbbc[6]](),license[_0xfbbc[7]](),auth[_0xfbbc[8]](),auth[_0xfbbc[10]]([8],[_0xfbbc[9]]),controller[_0xfbbc[43]]);router[_0xfbbc[41]](_0xfbbc[21],license[_0xfbbc[6]](),license[_0xfbbc[7]](),auth[_0xfbbc[8]](),auth[_0xfbbc[10]]([8],[_0xfbbc[9]]),controller[_0xfbbc[44]]);router[_0xfbbc[41]](_0xfbbc[45],license[_0xfbbc[6]](),license[_0xfbbc[7]](),auth[_0xfbbc[8]](),auth[_0xfbbc[10]]([8],[_0xfbbc[9]]),controller[_0xfbbc[46]]);router[_0xfbbc[41]](_0xfbbc[36],license[_0xfbbc[6]](),license[_0xfbbc[7]](),auth[_0xfbbc[8]](),auth[_0xfbbc[10]]([8],[_0xfbbc[9]]),controller[_0xfbbc[47]]);router[_0xfbbc[41]](_0xfbbc[34],license[_0xfbbc[6]](),license[_0xfbbc[18]](),auth[_0xfbbc[8]](),auth[_0xfbbc[10]]([9],[_0xfbbc[9]]),controller[_0xfbbc[48]]);module[_0xfbbc[49]]=router \ No newline at end of file diff --git a/server/api/chat_websites_field/chat_websites_field.controller.js b/server/api/chat_websites_field/chat_websites_field.controller.js index b6e758f..cb8fbb1 100644 --- a/server/api/chat_websites_field/chat_websites_field.controller.js +++ b/server/api/chat_websites_field/chat_websites_field.controller.js @@ -1 +1 @@ -var _0x845a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x73\x46\x69\x65\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65"];_0x845a[0];var _=require(_0x845a[1]);var Util=require(_0x845a[2]);var ChatWebsitesField=require(_0x845a[4])[_0x845a[3]];function handleError(_0xa309x5,_0xa309x6){_0xa309x6=_0xa309x6||500;return function(_0xa309x7){_0xa309x5[_0x845a[6]](_0xa309x6)[_0x845a[5]](_0xa309x7)}}function responseWithResult(_0xa309x5,_0xa309x6){_0xa309x6=_0xa309x6||200;return function(_0xa309x9){if(_0xa309x9){_0xa309x5[_0x845a[6]](_0xa309x6)[_0x845a[7]](_0xa309x9)}}}function responseWithoutResult(_0xa309x5,_0xa309x6){_0xa309x6=_0xa309x6||204;return function(){_0xa309x5[_0x845a[8]](_0xa309x6)}}function handleEntityNotFound(_0xa309x5){return function(_0xa309x9){if(!_0xa309x9){_0xa309x5[_0x845a[6]](404)[_0x845a[9]]();return null};return _0xa309x9}}function saveUpdates(_0xa309xd){return function(_0xa309x9){return _0xa309x9[_0x845a[11]](_0xa309xd)[_0x845a[10]](function(_0xa309xe){return _0xa309xe})}}function removeEntity(_0xa309x5){return function(_0xa309x9){if(_0xa309x9){return _0xa309x9[_0x845a[12]]()[_0x845a[10]](function(){_0xa309x5[_0x845a[6]](204)[_0x845a[9]]()})}}}exports[_0x845a[13]]=function(_0xa309x10,_0xa309x5){return ChatWebsitesField[_0x845a[17]](Util[_0x845a[16]](_0xa309x10[_0x845a[15]]))[_0x845a[10]](responseWithResult(_0xa309x5))[_0x845a[14]](handleError(_0xa309x5))};exports[_0x845a[18]]=function(_0xa309x10,_0xa309x5){return ChatWebsitesField[_0x845a[21]](_0xa309x10[_0x845a[20]][_0x845a[19]])[_0x845a[10]](handleEntityNotFound(_0xa309x5))[_0x845a[10]](responseWithResult(_0xa309x5))[_0x845a[14]](handleError(_0xa309x5))};exports[_0x845a[22]]=function(_0xa309x10,_0xa309x5){return ChatWebsitesField[_0x845a[22]](_0xa309x10[_0x845a[23]])[_0x845a[10]](responseWithResult(_0xa309x5,201))[_0x845a[14]](handleError(_0xa309x5))};exports[_0x845a[24]]=function(_0xa309x10,_0xa309x5){if(_0xa309x10[_0x845a[23]][_0x845a[19]]){delete _0xa309x10[_0x845a[23]][_0x845a[19]]};return ChatWebsitesField[_0x845a[21]](_0xa309x10[_0x845a[20]][_0x845a[19]])[_0x845a[10]](handleEntityNotFound(_0xa309x5))[_0x845a[10]](saveUpdates(_0xa309x10[_0x845a[23]]))[_0x845a[10]](responseWithResult(_0xa309x5))[_0x845a[14]](handleError(_0xa309x5))};exports[_0x845a[12]]=function(_0xa309x10,_0xa309x5){return ChatWebsitesField[_0x845a[21]](_0xa309x10[_0x845a[20]][_0x845a[19]])[_0x845a[10]](handleEntityNotFound(_0xa309x5))[_0x845a[10]](removeEntity(_0xa309x5))[_0x845a[14]](handleError(_0xa309x5))} \ No newline at end of file +var _0xf717=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x73\x46\x69\x65\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65"];_0xf717[0];var _=require(_0xf717[1]);var Util=require(_0xf717[2]);var ChatWebsitesField=require(_0xf717[4])[_0xf717[3]];function handleError(_0xeeb0x5,_0xeeb0x6){_0xeeb0x6=_0xeeb0x6||500;return function(_0xeeb0x7){_0xeeb0x5[_0xf717[6]](_0xeeb0x6)[_0xf717[5]](_0xeeb0x7)}}function responseWithResult(_0xeeb0x5,_0xeeb0x6){_0xeeb0x6=_0xeeb0x6||200;return function(_0xeeb0x9){if(_0xeeb0x9){_0xeeb0x5[_0xf717[6]](_0xeeb0x6)[_0xf717[7]](_0xeeb0x9)}}}function responseWithoutResult(_0xeeb0x5,_0xeeb0x6){_0xeeb0x6=_0xeeb0x6||204;return function(){_0xeeb0x5[_0xf717[8]](_0xeeb0x6)}}function handleEntityNotFound(_0xeeb0x5){return function(_0xeeb0x9){if(!_0xeeb0x9){_0xeeb0x5[_0xf717[6]](404)[_0xf717[9]]();return null};return _0xeeb0x9}}function saveUpdates(_0xeeb0xd){return function(_0xeeb0x9){return _0xeeb0x9[_0xf717[11]](_0xeeb0xd)[_0xf717[10]](function(_0xeeb0xe){return _0xeeb0xe})}}function removeEntity(_0xeeb0x5){return function(_0xeeb0x9){if(_0xeeb0x9){return _0xeeb0x9[_0xf717[12]]()[_0xf717[10]](function(){_0xeeb0x5[_0xf717[6]](204)[_0xf717[9]]()})}}}exports[_0xf717[13]]=function(_0xeeb0x10,_0xeeb0x5){return ChatWebsitesField[_0xf717[17]](Util[_0xf717[16]](_0xeeb0x10[_0xf717[15]]))[_0xf717[10]](responseWithResult(_0xeeb0x5))[_0xf717[14]](handleError(_0xeeb0x5))};exports[_0xf717[18]]=function(_0xeeb0x10,_0xeeb0x5){return ChatWebsitesField[_0xf717[21]](_0xeeb0x10[_0xf717[20]][_0xf717[19]])[_0xf717[10]](handleEntityNotFound(_0xeeb0x5))[_0xf717[10]](responseWithResult(_0xeeb0x5))[_0xf717[14]](handleError(_0xeeb0x5))};exports[_0xf717[22]]=function(_0xeeb0x10,_0xeeb0x5){return ChatWebsitesField[_0xf717[22]](_0xeeb0x10[_0xf717[23]])[_0xf717[10]](responseWithResult(_0xeeb0x5,201))[_0xf717[14]](handleError(_0xeeb0x5))};exports[_0xf717[24]]=function(_0xeeb0x10,_0xeeb0x5){if(_0xeeb0x10[_0xf717[23]][_0xf717[19]]){delete _0xeeb0x10[_0xf717[23]][_0xf717[19]]};return ChatWebsitesField[_0xf717[21]](_0xeeb0x10[_0xf717[20]][_0xf717[19]])[_0xf717[10]](handleEntityNotFound(_0xeeb0x5))[_0xf717[10]](saveUpdates(_0xeeb0x10[_0xf717[23]]))[_0xf717[10]](responseWithResult(_0xeeb0x5))[_0xf717[14]](handleError(_0xeeb0x5))};exports[_0xf717[12]]=function(_0xeeb0x10,_0xeeb0x5){return ChatWebsitesField[_0xf717[21]](_0xeeb0x10[_0xf717[20]][_0xf717[19]])[_0xf717[10]](handleEntityNotFound(_0xeeb0x5))[_0xf717[10]](removeEntity(_0xeeb0x5))[_0xf717[14]](handleError(_0xeeb0x5))} \ No newline at end of file diff --git a/server/api/chat_websites_field/chat_websites_field.socket.js b/server/api/chat_websites_field/chat_websites_field.socket.js index 444b978..2db1cf2 100644 --- a/server/api/chat_websites_field/chat_websites_field.socket.js +++ b/server/api/chat_websites_field/chat_websites_field.socket.js @@ -1 +1 @@ -var _0xd7e9=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x73\x46\x69\x65\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x73\x5F\x66\x69\x65\x6C\x64\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x73\x5F\x66\x69\x65\x6C\x64\x3A\x72\x65\x6D\x6F\x76\x65"];_0xd7e9[0];var ChatWebsitesField=require(_0xd7e9[2])[_0xd7e9[1]];exports[_0xd7e9[3]]=function(_0xedd4x2){ChatWebsitesField[_0xd7e9[4]](function(_0xedd4x3){onSave(_0xedd4x2,_0xedd4x3)});ChatWebsitesField[_0xd7e9[5]](function(_0xedd4x3){onRemove(_0xedd4x2,_0xedd4x3)})};function onSave(_0xedd4x2,_0xedd4x3,_0xedd4x5){_0xedd4x2[_0xd7e9[7]](_0xd7e9[6],_0xedd4x3)}function onRemove(_0xedd4x2,_0xedd4x3,_0xedd4x5){_0xedd4x2[_0xd7e9[7]](_0xd7e9[8],_0xedd4x3)} \ No newline at end of file +var _0x3184=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x73\x46\x69\x65\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x73\x5F\x66\x69\x65\x6C\x64\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x73\x5F\x66\x69\x65\x6C\x64\x3A\x72\x65\x6D\x6F\x76\x65"];_0x3184[0];var ChatWebsitesField=require(_0x3184[2])[_0x3184[1]];exports[_0x3184[3]]=function(_0x32b1x2){ChatWebsitesField[_0x3184[4]](function(_0x32b1x3){onSave(_0x32b1x2,_0x32b1x3)});ChatWebsitesField[_0x3184[5]](function(_0x32b1x3){onRemove(_0x32b1x2,_0x32b1x3)})};function onSave(_0x32b1x2,_0x32b1x3,_0x32b1x5){_0x32b1x2[_0x3184[7]](_0x3184[6],_0x32b1x3)}function onRemove(_0x32b1x2,_0x32b1x3,_0x32b1x5){_0x32b1x2[_0x3184[7]](_0x3184[8],_0x32b1x3)} \ No newline at end of file diff --git a/server/api/chat_websites_field/index.js b/server/api/chat_websites_field/index.js index 3f65f9f..101358b 100644 --- a/server/api/chat_websites_field/index.js +++ b/server/api/chat_websites_field/index.js @@ -1 +1 @@ -var _0xf82e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x73\x5F\x66\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x43\x68\x61\x74","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xf82e[0];var express=require(_0xf82e[1]);var auth=require(_0xf82e[2]);var controller=require(_0xf82e[3]);var license=require(_0xf82e[4]);var router=express.Router();router[_0xf82e[12]](_0xf82e[5],license[_0xf82e[6]](),license[_0xf82e[7]](),auth[_0xf82e[8]](),auth[_0xf82e[10]]([8],[_0xf82e[9]]),controller[_0xf82e[11]]);router[_0xf82e[12]](_0xf82e[13],license[_0xf82e[6]](),license[_0xf82e[7]](),auth[_0xf82e[8]](),auth[_0xf82e[10]]([8],[_0xf82e[9]]),controller[_0xf82e[14]]);router[_0xf82e[16]](_0xf82e[5],license[_0xf82e[6]](),license[_0xf82e[7]](),auth[_0xf82e[8]](),auth[_0xf82e[10]]([8],[_0xf82e[9]]),controller[_0xf82e[15]]);router[_0xf82e[18]](_0xf82e[13],license[_0xf82e[6]](),license[_0xf82e[7]](),auth[_0xf82e[8]](),auth[_0xf82e[10]]([8],[_0xf82e[9]]),controller[_0xf82e[17]]);router[_0xf82e[19]](_0xf82e[13],license[_0xf82e[6]](),license[_0xf82e[7]](),auth[_0xf82e[8]](),auth[_0xf82e[10]]([8],[_0xf82e[9]]),controller[_0xf82e[17]]);router[_0xf82e[21]](_0xf82e[13],license[_0xf82e[6]](),license[_0xf82e[7]](),auth[_0xf82e[8]](),auth[_0xf82e[10]]([8],[_0xf82e[9]]),controller[_0xf82e[20]]);module[_0xf82e[22]]=router \ No newline at end of file +var _0x9d96=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x73\x5F\x66\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x43\x68\x61\x74","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x9d96[0];var express=require(_0x9d96[1]);var auth=require(_0x9d96[2]);var controller=require(_0x9d96[3]);var license=require(_0x9d96[4]);var router=express.Router();router[_0x9d96[12]](_0x9d96[5],license[_0x9d96[6]](),license[_0x9d96[7]](),auth[_0x9d96[8]](),auth[_0x9d96[10]]([8],[_0x9d96[9]]),controller[_0x9d96[11]]);router[_0x9d96[12]](_0x9d96[13],license[_0x9d96[6]](),license[_0x9d96[7]](),auth[_0x9d96[8]](),auth[_0x9d96[10]]([8],[_0x9d96[9]]),controller[_0x9d96[14]]);router[_0x9d96[16]](_0x9d96[5],license[_0x9d96[6]](),license[_0x9d96[7]](),auth[_0x9d96[8]](),auth[_0x9d96[10]]([8],[_0x9d96[9]]),controller[_0x9d96[15]]);router[_0x9d96[18]](_0x9d96[13],license[_0x9d96[6]](),license[_0x9d96[7]](),auth[_0x9d96[8]](),auth[_0x9d96[10]]([8],[_0x9d96[9]]),controller[_0x9d96[17]]);router[_0x9d96[19]](_0x9d96[13],license[_0x9d96[6]](),license[_0x9d96[7]](),auth[_0x9d96[8]](),auth[_0x9d96[10]]([8],[_0x9d96[9]]),controller[_0x9d96[17]]);router[_0x9d96[21]](_0x9d96[13],license[_0x9d96[6]](),license[_0x9d96[7]](),auth[_0x9d96[8]](),auth[_0x9d96[10]]([8],[_0x9d96[9]]),controller[_0x9d96[20]]);module[_0x9d96[22]]=router \ No newline at end of file diff --git a/server/api/company/company.controller.js b/server/api/company/company.controller.js index ef381a2..62432d6 100644 --- a/server/api/company/company.controller.js +++ b/server/api/company/company.controller.js @@ -1 +1 @@ -var _0xc817=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x43\x6F\x6D\x70\x61\x6E\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x63\x6F\x6D\x70\x61\x6E\x79\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x6E\x61\x6D\x65","\x62\x6F\x64\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x6C\x65\x6E\x67\x74\x68","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x43\x4F\x4D\x50\x41\x4E\x59","\x66\x69\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0xc817[0];var _=require(_0xc817[1]);var Company=require(_0xc817[3])[_0xc817[2]];var util=require(_0xc817[4]);var Util=require(_0xc817[5]);exports[_0xc817[6]]=function(_0x267ex5,_0x267ex6,_0x267ex7){return Company[_0xc817[13]](Util[_0xc817[12]](_0x267ex5[_0xc817[11]]))[_0xc817[10]](function(_0x267ex9){_0x267ex6[_0xc817[9]](200)[_0xc817[8]](_0x267ex9)})[_0xc817[7]](function(_0x267ex8){return handleError(_0x267ex6,_0x267ex8)})};exports[_0xc817[14]]=function(_0x267ex5,_0x267ex6){return Company[_0xc817[18]]({where:{name:_0x267ex5[_0xc817[17]][_0xc817[16]]}})[_0xc817[10]](function(_0x267exa){if(!_0x267exa){return _0x267ex6[_0xc817[15]](404)};return _0x267ex6[_0xc817[8]](_0x267exa)})[_0xc817[7]](function(_0x267ex8){return handleError(_0x267ex6,_0x267ex8)})};exports[_0xc817[19]]=function(_0x267ex5,_0x267ex6){return Company[_0xc817[22]](_0x267ex5[_0xc817[21]][_0xc817[20]])[_0xc817[10]](function(_0x267exb){if(!_0x267exb){return _0x267ex6[_0xc817[15]](404)};return _0x267ex6[_0xc817[8]](_0x267exb)})[_0xc817[7]](function(_0x267ex8){return handleError(_0x267ex6,_0x267ex8)})};exports[_0xc817[23]]=function(_0x267ex5,_0x267ex6){return Company[_0xc817[23]](_0x267ex5[_0xc817[17]])[_0xc817[10]](function(_0x267exb){return _0x267ex6[_0xc817[9]](201)[_0xc817[8]](_0x267exb)})[_0xc817[7]](function(_0x267ex8){return handleError(_0x267ex6,_0x267ex8)})};exports[_0xc817[24]]=function(_0x267ex5,_0x267ex6){return Company[_0xc817[18]]({where:{name:_0x267ex5[_0xc817[17]][_0xc817[16]],id:{$ne:_0x267ex5[_0xc817[17]][_0xc817[20]]}}})[_0xc817[10]](function(_0x267exa){if(!_0x267exa){return _0x267ex6[_0xc817[15]](404)};if(_0x267exa[_0xc817[27]]>0){return _0x267ex6[_0xc817[9]](500)[_0xc817[8]]({message:_0xc817[28]})};if(_0x267ex5[_0xc817[17]][_0xc817[20]]){delete _0x267ex5[_0xc817[17]][_0xc817[20]]};return Company[_0xc817[29]]({where:{id:_0x267ex5[_0xc817[21]][_0xc817[20]]}})})[_0xc817[10]](function(_0x267exb){if(!_0x267exb){return _0x267ex6[_0xc817[15]](404)};var _0x267exc=_[_0xc817[25]](_0x267exb,_0x267ex5[_0xc817[17]]);return _0x267exc[_0xc817[26]]()})[_0xc817[10]](function(_0x267exb){return _0x267ex6[_0xc817[9]](200)[_0xc817[8]](_0x267exb)})[_0xc817[7]](function(_0x267ex8){return handleError(_0x267ex6,_0x267ex8)})};exports[_0xc817[30]]=function(_0x267ex5,_0x267ex6){return Company[_0xc817[22]](_0x267ex5[_0xc817[21]][_0xc817[20]])[_0xc817[10]](function(_0x267exb){if(!_0x267exb){return _0x267ex6[_0xc817[15]](404)};return _0x267exb[_0xc817[30]]()})[_0xc817[10]](function(){return _0x267ex6[_0xc817[15]](204)})[_0xc817[7]](function(_0x267ex8){return handleError(_0x267ex6,_0x267ex8)})};exports[_0xc817[31]]=function(_0x267ex5,_0x267ex6){return Company[_0xc817[30]]({where:{id:_0x267ex5[_0xc817[11]][_0xc817[32]]},individualHooks:true})[_0xc817[10]](function(){return _0x267ex6[_0xc817[15]](204)})[_0xc817[7]](function(_0x267ex8){return handleError(_0x267ex6,_0x267ex8)})};function handleError(_0x267ex6,_0x267ex8){return _0x267ex6[_0xc817[9]](500)[_0xc817[8]](_0x267ex8)} \ No newline at end of file +var _0x9185=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x43\x6F\x6D\x70\x61\x6E\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x63\x6F\x6D\x70\x61\x6E\x79\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x6E\x61\x6D\x65","\x62\x6F\x64\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x6C\x65\x6E\x67\x74\x68","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x43\x4F\x4D\x50\x41\x4E\x59","\x66\x69\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0x9185[0];var _=require(_0x9185[1]);var Company=require(_0x9185[3])[_0x9185[2]];var util=require(_0x9185[4]);var Util=require(_0x9185[5]);exports[_0x9185[6]]=function(_0x2a0cx5,_0x2a0cx6,_0x2a0cx7){return Company[_0x9185[13]](Util[_0x9185[12]](_0x2a0cx5[_0x9185[11]]))[_0x9185[10]](function(_0x2a0cx9){_0x2a0cx6[_0x9185[9]](200)[_0x9185[8]](_0x2a0cx9)})[_0x9185[7]](function(_0x2a0cx8){return handleError(_0x2a0cx6,_0x2a0cx8)})};exports[_0x9185[14]]=function(_0x2a0cx5,_0x2a0cx6){return Company[_0x9185[18]]({where:{name:_0x2a0cx5[_0x9185[17]][_0x9185[16]]}})[_0x9185[10]](function(_0x2a0cxa){if(!_0x2a0cxa){return _0x2a0cx6[_0x9185[15]](404)};return _0x2a0cx6[_0x9185[8]](_0x2a0cxa)})[_0x9185[7]](function(_0x2a0cx8){return handleError(_0x2a0cx6,_0x2a0cx8)})};exports[_0x9185[19]]=function(_0x2a0cx5,_0x2a0cx6){return Company[_0x9185[22]](_0x2a0cx5[_0x9185[21]][_0x9185[20]])[_0x9185[10]](function(_0x2a0cxb){if(!_0x2a0cxb){return _0x2a0cx6[_0x9185[15]](404)};return _0x2a0cx6[_0x9185[8]](_0x2a0cxb)})[_0x9185[7]](function(_0x2a0cx8){return handleError(_0x2a0cx6,_0x2a0cx8)})};exports[_0x9185[23]]=function(_0x2a0cx5,_0x2a0cx6){return Company[_0x9185[23]](_0x2a0cx5[_0x9185[17]])[_0x9185[10]](function(_0x2a0cxb){return _0x2a0cx6[_0x9185[9]](201)[_0x9185[8]](_0x2a0cxb)})[_0x9185[7]](function(_0x2a0cx8){return handleError(_0x2a0cx6,_0x2a0cx8)})};exports[_0x9185[24]]=function(_0x2a0cx5,_0x2a0cx6){return Company[_0x9185[18]]({where:{name:_0x2a0cx5[_0x9185[17]][_0x9185[16]],id:{$ne:_0x2a0cx5[_0x9185[17]][_0x9185[20]]}}})[_0x9185[10]](function(_0x2a0cxa){if(!_0x2a0cxa){return _0x2a0cx6[_0x9185[15]](404)};if(_0x2a0cxa[_0x9185[27]]>0){return _0x2a0cx6[_0x9185[9]](500)[_0x9185[8]]({message:_0x9185[28]})};if(_0x2a0cx5[_0x9185[17]][_0x9185[20]]){delete _0x2a0cx5[_0x9185[17]][_0x9185[20]]};return Company[_0x9185[29]]({where:{id:_0x2a0cx5[_0x9185[21]][_0x9185[20]]}})})[_0x9185[10]](function(_0x2a0cxb){if(!_0x2a0cxb){return _0x2a0cx6[_0x9185[15]](404)};var _0x2a0cxc=_[_0x9185[25]](_0x2a0cxb,_0x2a0cx5[_0x9185[17]]);return _0x2a0cxc[_0x9185[26]]()})[_0x9185[10]](function(_0x2a0cxb){return _0x2a0cx6[_0x9185[9]](200)[_0x9185[8]](_0x2a0cxb)})[_0x9185[7]](function(_0x2a0cx8){return handleError(_0x2a0cx6,_0x2a0cx8)})};exports[_0x9185[30]]=function(_0x2a0cx5,_0x2a0cx6){return Company[_0x9185[22]](_0x2a0cx5[_0x9185[21]][_0x9185[20]])[_0x9185[10]](function(_0x2a0cxb){if(!_0x2a0cxb){return _0x2a0cx6[_0x9185[15]](404)};return _0x2a0cxb[_0x9185[30]]()})[_0x9185[10]](function(){return _0x2a0cx6[_0x9185[15]](204)})[_0x9185[7]](function(_0x2a0cx8){return handleError(_0x2a0cx6,_0x2a0cx8)})};exports[_0x9185[31]]=function(_0x2a0cx5,_0x2a0cx6){return Company[_0x9185[30]]({where:{id:_0x2a0cx5[_0x9185[11]][_0x9185[32]]},individualHooks:true})[_0x9185[10]](function(){return _0x2a0cx6[_0x9185[15]](204)})[_0x9185[7]](function(_0x2a0cx8){return handleError(_0x2a0cx6,_0x2a0cx8)})};function handleError(_0x2a0cx6,_0x2a0cx8){return _0x2a0cx6[_0x9185[9]](500)[_0x9185[8]](_0x2a0cx8)} \ No newline at end of file diff --git a/server/api/company/company.socket.js b/server/api/company/company.socket.js index 134b45b..af7a86e 100644 --- a/server/api/company/company.socket.js +++ b/server/api/company/company.socket.js @@ -1 +1 @@ -var _0xf35f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x6F\x6D\x70\x61\x6E\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x6F\x6D\x70\x61\x6E\x79\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x6F\x6D\x70\x61\x6E\x79\x3A\x72\x65\x6D\x6F\x76\x65"];_0xf35f[0];var Company=require(_0xf35f[2])[_0xf35f[1]];exports[_0xf35f[3]]=function(_0x5221x2){Company[_0xf35f[4]](function(_0x5221x3){onSave(_0x5221x2,_0x5221x3)});Company[_0xf35f[5]](function(_0x5221x3){onRemove(_0x5221x2,_0x5221x3)})};function onSave(_0x5221x2,_0x5221x3,_0x5221x5){_0x5221x2[_0xf35f[7]](_0xf35f[6],_0x5221x3)}function onRemove(_0x5221x2,_0x5221x3,_0x5221x5){_0x5221x2[_0xf35f[7]](_0xf35f[8],_0x5221x3)} \ No newline at end of file +var _0x7bb9=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x6F\x6D\x70\x61\x6E\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x6F\x6D\x70\x61\x6E\x79\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x6F\x6D\x70\x61\x6E\x79\x3A\x72\x65\x6D\x6F\x76\x65"];_0x7bb9[0];var Company=require(_0x7bb9[2])[_0x7bb9[1]];exports[_0x7bb9[3]]=function(_0x8e7dx2){Company[_0x7bb9[4]](function(_0x8e7dx3){onSave(_0x8e7dx2,_0x8e7dx3)});Company[_0x7bb9[5]](function(_0x8e7dx3){onRemove(_0x8e7dx2,_0x8e7dx3)})};function onSave(_0x8e7dx2,_0x8e7dx3,_0x8e7dx5){_0x8e7dx2[_0x7bb9[7]](_0x7bb9[6],_0x8e7dx3)}function onRemove(_0x8e7dx2,_0x8e7dx3,_0x8e7dx5){_0x8e7dx2[_0x7bb9[7]](_0x7bb9[8],_0x8e7dx3)} \ No newline at end of file diff --git a/server/api/company/index.js b/server/api/company/index.js index 1a5ff1c..157d968 100644 --- a/server/api/company/index.js +++ b/server/api/company/index.js @@ -1 +1 @@ -var _0xfc06=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x63\x6F\x6D\x70\x61\x6E\x79\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x68\x61\x73\x43\x6D","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x76\x61\x6C\x69\x64\x61\x74\x65","\x63\x6F\x6D\x70\x61\x6E\x79\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0xfc06[0];var express=require(_0xfc06[1]);var controller=require(_0xfc06[2]);var auth=require(_0xfc06[3]);var license=require(_0xfc06[4]);var router=express.Router();router[_0xfc06[12]](_0xfc06[5],auth[_0xfc06[6]](),license[_0xfc06[7]](),auth[_0xfc06[10]]([5],[_0xfc06[8],_0xfc06[9]]),controller[_0xfc06[11]]);router[_0xfc06[12]](_0xfc06[13],auth[_0xfc06[6]](),license[_0xfc06[7]](),auth[_0xfc06[10]]([5],[_0xfc06[8],_0xfc06[9]]),controller[_0xfc06[14]]);router[_0xfc06[16]](_0xfc06[5],auth[_0xfc06[6]](),license[_0xfc06[7]](),auth[_0xfc06[10]]([5],[_0xfc06[8]]),controller[_0xfc06[15]]);router[_0xfc06[16]](_0xfc06[17],auth[_0xfc06[6]](),license[_0xfc06[7]](),auth[_0xfc06[10]]([5],[_0xfc06[8]]),controller[_0xfc06[18]]);router[_0xfc06[20]](_0xfc06[13],auth[_0xfc06[6]](),license[_0xfc06[7]](),auth[_0xfc06[10]]([5],[_0xfc06[8]]),controller[_0xfc06[19]]);router[_0xfc06[22]](_0xfc06[5],auth[_0xfc06[6]](),license[_0xfc06[7]](),auth[_0xfc06[10]]([5],[_0xfc06[8]]),controller[_0xfc06[21]]);router[_0xfc06[22]](_0xfc06[13],auth[_0xfc06[6]](),license[_0xfc06[7]](),auth[_0xfc06[10]]([5],[_0xfc06[8]]),controller[_0xfc06[23]]);module[_0xfc06[24]]=router \ No newline at end of file +var _0x6e8a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x63\x6F\x6D\x70\x61\x6E\x79\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x68\x61\x73\x43\x6D","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x76\x61\x6C\x69\x64\x61\x74\x65","\x63\x6F\x6D\x70\x61\x6E\x79\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x6e8a[0];var express=require(_0x6e8a[1]);var controller=require(_0x6e8a[2]);var auth=require(_0x6e8a[3]);var license=require(_0x6e8a[4]);var router=express.Router();router[_0x6e8a[12]](_0x6e8a[5],auth[_0x6e8a[6]](),license[_0x6e8a[7]](),auth[_0x6e8a[10]]([5],[_0x6e8a[8],_0x6e8a[9]]),controller[_0x6e8a[11]]);router[_0x6e8a[12]](_0x6e8a[13],auth[_0x6e8a[6]](),license[_0x6e8a[7]](),auth[_0x6e8a[10]]([5],[_0x6e8a[8],_0x6e8a[9]]),controller[_0x6e8a[14]]);router[_0x6e8a[16]](_0x6e8a[5],auth[_0x6e8a[6]](),license[_0x6e8a[7]](),auth[_0x6e8a[10]]([5],[_0x6e8a[8]]),controller[_0x6e8a[15]]);router[_0x6e8a[16]](_0x6e8a[17],auth[_0x6e8a[6]](),license[_0x6e8a[7]](),auth[_0x6e8a[10]]([5],[_0x6e8a[8]]),controller[_0x6e8a[18]]);router[_0x6e8a[20]](_0x6e8a[13],auth[_0x6e8a[6]](),license[_0x6e8a[7]](),auth[_0x6e8a[10]]([5],[_0x6e8a[8]]),controller[_0x6e8a[19]]);router[_0x6e8a[22]](_0x6e8a[5],auth[_0x6e8a[6]](),license[_0x6e8a[7]](),auth[_0x6e8a[10]]([5],[_0x6e8a[8]]),controller[_0x6e8a[21]]);router[_0x6e8a[22]](_0x6e8a[13],auth[_0x6e8a[6]](),license[_0x6e8a[7]](),auth[_0x6e8a[10]]([5],[_0x6e8a[8]]),controller[_0x6e8a[23]]);module[_0x6e8a[24]]=router \ No newline at end of file diff --git a/server/api/contact_manager/contact_manager.controller.js b/server/api/contact_manager/contact_manager.controller.js index a201a14..93455a5 100644 --- a/server/api/contact_manager/contact_manager.controller.js +++ b/server/api/contact_manager/contact_manager.controller.js @@ -1 +1 @@ -var _0x8eb9=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x43\x6F\x6E\x74\x61\x63\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x43\x6F\x6E\x74\x61\x63\x74\x50\x68\x6F\x6E\x65","\x43\x6F\x6E\x74\x61\x63\x74\x45\x6D\x61\x69\x6C","\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x52\x65\x70\x6F\x72\x74\x43\x61\x6C\x6C","\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x75\x65","\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x75\x65\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x52\x65\x70\x6F\x72\x74\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x4C\x69\x73\x74","\x52\x65\x70\x6F\x72\x74\x43\x61\x6C\x6C\x48\x69\x73\x74\x6F\x72\x79","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x53\x65\x73\x73\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x48\x69\x73\x74\x6F\x72\x79","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x53\x65\x73\x73\x69\x6F\x6E\x48\x69\x73\x74\x6F\x72\x79","\x54\x61\x67","\x73\x74\x72\x65\x61\x6D","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x61\x73\x79\x6E\x63","\x69\x6E\x64\x65\x78","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x69\x64","\x6D\x61\x70","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x6C\x69\x73\x74","\x63\x6F\x6D\x70\x61\x6E\x79","\x63\x6F\x6D\x70\x61\x6E\x79\x5F\x6C\x69\x73\x74\x5F\x66\x69\x6C\x74\x65\x72","\x73\x63\x6F\x70\x65","\x67\x65\x74\x4C\x69\x73\x74\x73","\x75\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x67\x65\x74\x4C\x6F\x67","\x64\x65\x74\x61\x69\x6C","\x67\x65\x6E\x65\x72\x61\x6C","\x73\x68\x6F\x77","\x70\x68\x6F\x6E\x65","\x6C\x6F\x67\x54\x79\x70\x65","\x6A\x6F\x75\x72\x6E\x61\x6C","\x74\x79\x70\x65","\x69\x6E\x62\x6F\x75\x6E\x64","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x64\x65\x73\x74\x69\x6E\x61\x74\x69\x6F\x6E","\x6D\x6F\x62\x69\x6C\x65","\x73\x6F\x75\x72\x63\x65","\x66\x72\x6F\x6D","\x65\x6D\x61\x69\x6C","\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x75\x6D","\x71\x75\x65\x75\x65","\x70\x61\x72\x61\x6D\x73","\x6D\x65\x72\x67\x65","\x6C\x65\x6E\x67\x74\x68","\x2C","\x6A\x6F\x69\x6E","\x6E\x61\x6D\x65","\x53\x45\x4C\x45\x43\x54\x20\x25\x73\x20\x46\x52\x4F\x4D\x20\x63\x6D\x5F\x63\x6F\x6E\x74\x61\x63\x74\x73\x20\x57\x48\x45\x52\x45\x20\x69\x64\x3D\x25\x73","\x66\x6F\x72\x6D\x61\x74","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x4C\x69\x73\x74\x49\x64","\x66\x69\x6E\x64\x41\x6C\x6C","\x67\x65\x74\x45\x76\x65\x6E\x74\x43\x6F\x6E\x74\x61\x63\x74\x73","\x76\x6F\x69\x63\x65","\x6D\x61\x69\x6C","\x65\x76\x65\x6E\x74\x43\x68\x61\x6E\x6E\x65\x6C","\x63\x72\x65\x61\x74\x65","\x68\x61\x73\x4F\x77\x6E\x50\x72\x6F\x70\x65\x72\x74\x79","\x62\x6F\x64\x79","\x25\x73\x3D\x27\x25\x73\x27","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x55\x50\x44\x41\x54\x45\x20\x63\x6D\x5F\x63\x6F\x6E\x74\x61\x63\x74\x73\x20\x53\x45\x54\x20\x25\x73\x20\x57\x48\x45\x52\x45\x20\x69\x64\x3D\x25\x73","\x55\x73\x65\x72\x49\x64","\x61\x6C\x6C","\x74\x61\x67\x73","\x73\x70\x6C\x69\x74","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x63\x6F\x6E\x74\x61\x63\x74\x73","\x6B\x6F","\x6F\x6B","\x66\x6F\x72\x45\x61\x63\x68\x4F\x66","\x75\x6E\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0x8eb9[0];var _=require(_0x8eb9[1]);var Contact=require(_0x8eb9[3])[_0x8eb9[2]];var User=require(_0x8eb9[3])[_0x8eb9[4]];var ContactPhone=require(_0x8eb9[3])[_0x8eb9[5]];var ContactEmail=require(_0x8eb9[3])[_0x8eb9[6]];var CustomField=require(_0x8eb9[3])[_0x8eb9[7]];var ReportCall=require(_0x8eb9[3])[_0x8eb9[8]];var ReportQueue=require(_0x8eb9[3])[_0x8eb9[9]];var ReportQueueHistory=require(_0x8eb9[3])[_0x8eb9[11]][_0x8eb9[10]];var ReportIntegration=require(_0x8eb9[3])[_0x8eb9[12]];var List=require(_0x8eb9[3])[_0x8eb9[13]];var ReportCallHistory=require(_0x8eb9[3])[_0x8eb9[11]][_0x8eb9[14]];var ReportMailSession=require(_0x8eb9[3])[_0x8eb9[15]];var ReportMailRoom=require(_0x8eb9[3])[_0x8eb9[16]];var ReportMailRoomHistory=require(_0x8eb9[3])[_0x8eb9[11]][_0x8eb9[17]];var ReportMailSessionHistory=require(_0x8eb9[3])[_0x8eb9[11]][_0x8eb9[18]];var Tag=require(_0x8eb9[3])[_0x8eb9[19]];var stream=require(_0x8eb9[20]);var sequelize=require(_0x8eb9[3])[_0x8eb9[21]];var util=require(_0x8eb9[22]);var Util=require(_0x8eb9[23]);var Async=require(_0x8eb9[24]);exports[_0x8eb9[25]]=function(_0x81c1x17,_0x81c1x18,_0x81c1x19){switch(_0x81c1x17[_0x8eb9[41]][_0x8eb9[44]]){case _0x8eb9[43]:return User[_0x8eb9[42]](_0x81c1x17[_0x8eb9[41]][_0x8eb9[31]])[_0x8eb9[30]](function(_0x81c1x1e){return _0x81c1x1e[_0x8eb9[40]]()})[_0x8eb9[30]](function(_0x81c1x1c){var _0x81c1x1d=_[_0x8eb9[32]](_0x81c1x1c,_0x8eb9[31]);return Contact[_0x8eb9[39]](_0x8eb9[36],_0x8eb9[37],{method:[_0x8eb9[38],_0x81c1x17[_0x8eb9[33]]]})[_0x8eb9[35]](Util[_0x8eb9[34]](_0x81c1x17[_0x8eb9[33]],{ListId:{$in:_0x81c1x1d}}))})[_0x8eb9[30]](function(_0x81c1x1b){_0x81c1x18[_0x8eb9[29]](200)[_0x8eb9[28]](_0x81c1x1b)})[_0x8eb9[27]](function(_0x81c1x1a){console[_0x8eb9[26]](_0x81c1x1a);return handleError(_0x81c1x18,_0x81c1x1a)});default:return Contact[_0x8eb9[39]](_0x8eb9[36],_0x8eb9[37],{method:[_0x8eb9[38],_0x81c1x17[_0x8eb9[33]]]})[_0x8eb9[35]](Util[_0x8eb9[34]](_0x81c1x17[_0x8eb9[33]]))[_0x8eb9[30]](function(_0x81c1x1b){_0x81c1x18[_0x8eb9[29]](200)[_0x8eb9[28]](_0x81c1x1b)})[_0x8eb9[27]](function(_0x81c1x1a){console[_0x8eb9[26]](_0x81c1x1a);return handleError(_0x81c1x18,_0x81c1x1a)})}};exports[_0x8eb9[45]]=function(_0x81c1x17,_0x81c1x18){return Contact[_0x8eb9[45]]()[_0x8eb9[30]](function(_0x81c1x1f){return _0x81c1x18[_0x8eb9[29]](200)[_0x8eb9[28]](_0x81c1x1f)})[_0x8eb9[27]](function(_0x81c1x1a){return handleError(_0x81c1x18,_0x81c1x1a)})};exports[_0x8eb9[46]]=function(_0x81c1x17,_0x81c1x18,_0x81c1x19){_0x81c1x17[_0x8eb9[33]][_0x8eb9[47]]=_0x81c1x17[_0x8eb9[33]][_0x8eb9[47]]||_0x8eb9[48];_0x81c1x17[_0x8eb9[33]][_0x8eb9[49]]=_0x81c1x17[_0x8eb9[33]][_0x8eb9[49]]||_0x8eb9[50];_0x81c1x17[_0x8eb9[33]][_0x8eb9[51]]=_0x81c1x17[_0x8eb9[33]][_0x8eb9[51]]||_0x8eb9[52];_0x81c1x17[_0x8eb9[33]][_0x8eb9[53]]=_0x81c1x17[_0x8eb9[33]][_0x8eb9[53]]||_0x8eb9[54];var _0x81c1x20,_0x81c1x21={};return Contact[_0x8eb9[42]](_0x81c1x17[_0x8eb9[64]][_0x8eb9[31]])[_0x8eb9[30]](function(_0x81c1x22){if(!_0x81c1x22){return _0x81c1x18[_0x8eb9[55]](404)};switch(_0x81c1x17[_0x8eb9[33]][_0x8eb9[47]]){case _0x8eb9[48]:switch(_0x81c1x17[_0x8eb9[33]][_0x8eb9[49]]){case _0x8eb9[50]:_0x81c1x20=(_0x81c1x17[_0x8eb9[33]][_0x8eb9[51]]===_0x8eb9[11])?ReportCallHistory:ReportCall;if(_0x81c1x17[_0x8eb9[33]][_0x8eb9[53]]===_0x8eb9[56]){_0x81c1x21[_0x8eb9[57]]=[_0x81c1x22[_0x8eb9[50]],_0x81c1x22[_0x8eb9[58]]]}else {_0x81c1x21[_0x8eb9[59]]=[_0x81c1x22[_0x8eb9[50]],_0x81c1x22[_0x8eb9[58]]]};break;case _0x8eb9[61]:_0x81c1x20=(_0x81c1x17[_0x8eb9[33]][_0x8eb9[51]]===_0x8eb9[11])?ReportMailRoomHistory:ReportMailRoom;_0x81c1x21[_0x8eb9[60]]=_0x81c1x22[_0x8eb9[61]];break;default:_0x81c1x20=(_0x81c1x17[_0x8eb9[33]][_0x8eb9[51]]===_0x8eb9[11])?ReportCallHistory:ReportCall};break;case _0x8eb9[63]:switch(_0x81c1x17[_0x8eb9[33]][_0x8eb9[49]]){case _0x8eb9[50]:_0x81c1x20=(_0x81c1x17[_0x8eb9[33]][_0x8eb9[51]]===_0x8eb9[11])?ReportQueueHistory:ReportQueue;_0x81c1x21[_0x8eb9[62]]=[_0x81c1x22[_0x8eb9[50]],_0x81c1x22[_0x8eb9[58]]];break;case _0x8eb9[61]:return _0x81c1x18[_0x8eb9[55]](404);default:_0x81c1x20=(_0x81c1x17[_0x8eb9[33]][_0x8eb9[51]]===_0x8eb9[11])?ReportQueueHistory:ReportQueue};break;default:_0x81c1x20=ReportCall;_0x81c1x17[_0x8eb9[33]][_0x8eb9[49]]=_0x8eb9[50]};delete _0x81c1x17[_0x8eb9[33]][_0x8eb9[47]];delete _0x81c1x17[_0x8eb9[33]][_0x8eb9[49]];delete _0x81c1x17[_0x8eb9[33]][_0x8eb9[51]];delete _0x81c1x17[_0x8eb9[33]][_0x8eb9[53]];return _0x81c1x20[_0x8eb9[35]](Util[_0x8eb9[34]](_0x81c1x17[_0x8eb9[33]],_0x81c1x21))})[_0x8eb9[30]](function(_0x81c1x1b){_0x81c1x18[_0x8eb9[29]](200)[_0x8eb9[28]](_0x81c1x1b)})[_0x8eb9[27]](function(_0x81c1x1a){console[_0x8eb9[26]](_0x81c1x1a);return handleError(_0x81c1x18,_0x81c1x1a)})};exports[_0x8eb9[49]]=function(_0x81c1x17,_0x81c1x18){var _0x81c1x23;return Contact[_0x8eb9[39]](_0x8eb9[36],_0x8eb9[41],_0x8eb9[37])[_0x8eb9[42]](_0x81c1x17[_0x8eb9[64]][_0x8eb9[31]])[_0x8eb9[30]](function(_0x81c1x27){if(!_0x81c1x27){return _0x81c1x18[_0x8eb9[55]](404)};_0x81c1x23=_0x81c1x27[_0x8eb9[74]];return CustomField[_0x8eb9[76]]({where:{ListId:_0x81c1x23[_0x8eb9[75]]}})})[_0x8eb9[30]](function(_0x81c1x25){if(_0x81c1x25[_0x8eb9[66]]){var _0x81c1x26=_[_0x8eb9[32]](_0x81c1x25,_0x8eb9[69])[_0x8eb9[68]](_0x8eb9[67]);return sequelize[_0x8eb9[33]](util[_0x8eb9[71]](_0x8eb9[70],_0x81c1x26,_0x81c1x17[_0x8eb9[64]][_0x8eb9[31]]),{type:sequelize[_0x8eb9[73]][_0x8eb9[72]]})}})[_0x8eb9[30]](function(_0x81c1x24){if(_0x81c1x24){_[_0x8eb9[65]](_0x81c1x23,_0x81c1x24[0])}})[_0x8eb9[30]](function(){return _0x81c1x18[_0x8eb9[29]](200)[_0x8eb9[28]](_0x81c1x23)})[_0x8eb9[27]](function(_0x81c1x1a){console[_0x8eb9[26]](_0x81c1x1a);return handleError(_0x81c1x18,_0x81c1x1a)})};exports[_0x8eb9[77]]=function(_0x81c1x17,_0x81c1x18){return ReportIntegration[_0x8eb9[42]](_0x81c1x17[_0x8eb9[64]][_0x8eb9[31]])[_0x8eb9[30]](function(_0x81c1x29){var _0x81c1x21={};switch(_0x81c1x29[_0x8eb9[80]]){case _0x8eb9[78]:_0x81c1x21={$or:{phone:_0x81c1x29[_0x8eb9[62]],mobile:_0x81c1x29[_0x8eb9[62]]}};break;case _0x8eb9[79]:_0x81c1x21={email:_0x81c1x29[_0x8eb9[60]]};break;default:_0x81c1x21={}};return Contact[_0x8eb9[76]]({where:_0x81c1x21,include:[{model:List,where:{id:_[_0x8eb9[32]](_[_0x8eb9[32]](_0x81c1x17[_0x8eb9[41]].Lists,_0x8eb9[74]),_0x8eb9[31])}}]})})[_0x8eb9[30]](function(_0x81c1x28){return _0x81c1x18[_0x8eb9[29]](200)[_0x8eb9[28]](_0x81c1x28)})[_0x8eb9[27]](function(_0x81c1x1a){console[_0x8eb9[26]](_0x81c1x1a);return handleError(_0x81c1x18,_0x81c1x1a)})};exports[_0x8eb9[81]]=function(_0x81c1x17,_0x81c1x18,_0x81c1x19){var _0x81c1x23;return Tag[_0x8eb9[76]]()[_0x8eb9[30]](function(_0x81c1x2b){var _0x81c1x2c=[];var _0x81c1x2d=_[_0x8eb9[32]](_[_0x8eb9[32]](_0x81c1x2b,_0x8eb9[74]),_0x8eb9[69]);if(_0x81c1x17[_0x8eb9[83]][_0x8eb9[90]]){var _0x81c1x2e=_0x81c1x17[_0x8eb9[83]][_0x8eb9[90]][_0x8eb9[91]](_0x8eb9[67]);_0x81c1x2e[_0x8eb9[86]](function(_0x81c1x2a){if(!_[_0x8eb9[92]](_0x81c1x2d,_0x81c1x2a)){_0x81c1x2c[_0x8eb9[85]](Tag[_0x8eb9[81]]({name:_0x81c1x2a}))}})};return _0x81c1x2c})[_0x8eb9[89]]()[_0x8eb9[30]](function(){_0x81c1x17[_0x8eb9[83]][_0x8eb9[88]]=_0x81c1x17[_0x8eb9[41]][_0x8eb9[31]];return Contact[_0x8eb9[81]](_0x81c1x17[_0x8eb9[83]])})[_0x8eb9[30]](function(_0x81c1x22){_0x81c1x23=_0x81c1x22;return CustomField[_0x8eb9[76]]({where:{ListId:_0x81c1x23[_0x8eb9[75]]}})})[_0x8eb9[30]](function(_0x81c1x25){if(_0x81c1x25[_0x8eb9[66]]){var _0x81c1x26=[];_0x81c1x25[_0x8eb9[86]](function(_0x81c1x2a){if(_0x81c1x17[_0x8eb9[83]][_0x8eb9[82]](_0x81c1x2a[_0x8eb9[69]])){_0x81c1x26[_0x8eb9[85]](util[_0x8eb9[71]](_0x8eb9[84],_0x81c1x2a[_0x8eb9[69]],_0x81c1x17[_0x8eb9[83]][_0x81c1x2a[_0x8eb9[69]]]))}});if(_0x81c1x26[_0x8eb9[66]]){_0x81c1x26=_0x81c1x26[_0x8eb9[68]](_0x8eb9[67]);return sequelize[_0x8eb9[33]](util[_0x8eb9[71]](_0x8eb9[87],_0x81c1x26,_0x81c1x23[_0x8eb9[31]]))}}})[_0x8eb9[30]](function(){return _0x81c1x18[_0x8eb9[29]](201)[_0x8eb9[28]](_0x81c1x23)})[_0x8eb9[27]](function(_0x81c1x1a){console[_0x8eb9[26]](_0x81c1x1a);return _0x81c1x19(_0x81c1x1a)})};exports[_0x8eb9[93]]=function(_0x81c1x17,_0x81c1x18,_0x81c1x19){var _0x81c1x2f=[];var _0x81c1x30={ok:0,ko:0};return Tag[_0x8eb9[76]]()[_0x8eb9[30]](function(_0x81c1x2b){var _0x81c1x2c=[],_0x81c1x2e=[];var _0x81c1x2d=_[_0x8eb9[32]](_[_0x8eb9[32]](_0x81c1x2b,_0x8eb9[74]),_0x8eb9[69]);_0x81c1x17[_0x8eb9[83]][_0x8eb9[94]][_0x8eb9[86]](function(_0x81c1x22){if(_0x81c1x22[_0x8eb9[90]]){_0x81c1x2e=_[_0x8eb9[98]](_0x81c1x2e,_0x81c1x22[_0x8eb9[90]][_0x8eb9[91]](_0x8eb9[67]))}});_0x81c1x2e[_0x8eb9[86]](function(_0x81c1x2a){if(!_[_0x8eb9[92]](_0x81c1x2d,_0x81c1x2a)){_0x81c1x2c[_0x8eb9[85]](Tag[_0x8eb9[81]]({name:_0x81c1x2a}))}});return _0x81c1x2c})[_0x8eb9[89]]()[_0x8eb9[30]](function(){var _0x81c1x32=[];Async[_0x8eb9[97]](_0x81c1x17[_0x8eb9[83]][_0x8eb9[94]],function(_0x81c1x22){_0x81c1x22[_0x8eb9[88]]=_0x81c1x17[_0x8eb9[41]][_0x8eb9[31]];_0x81c1x32[_0x8eb9[85]](Contact[_0x8eb9[81]](_0x81c1x22)[_0x8eb9[30]](function(_0x81c1x22){_0x81c1x2f[_0x8eb9[85]](_0x81c1x22);_0x81c1x30[_0x8eb9[96]]++})[_0x8eb9[27]](function(_0x81c1x1a){_0x81c1x30[_0x8eb9[95]]++}))});return _0x81c1x32})[_0x8eb9[89]]()[_0x8eb9[30]](function(){return CustomField[_0x8eb9[76]]({where:{ListId:{$in:_[_0x8eb9[32]](_0x81c1x17[_0x8eb9[83]][_0x8eb9[94]],_0x8eb9[75])}}})})[_0x8eb9[30]](function(_0x81c1x25){var _0x81c1x31=[];if(_0x81c1x25[_0x8eb9[66]]){var _0x81c1x26=[];_0x81c1x2f[_0x8eb9[86]](function(_0x81c1x22){_0x81c1x26=[];_0x81c1x25[_0x8eb9[86]](function(_0x81c1x2a){if(_0x81c1x22[_0x8eb9[82]](_0x81c1x2a[_0x8eb9[69]])){_0x81c1x26[_0x8eb9[85]](util[_0x8eb9[71]](_0x8eb9[84],_0x81c1x2a[_0x8eb9[69]],_0x81c1x17[_0x8eb9[83]][_0x81c1x2a[_0x8eb9[69]]]))}});if(_0x81c1x26[_0x8eb9[66]]){_0x81c1x26=_0x81c1x26[_0x8eb9[68]](_0x8eb9[67]);_0x81c1x31[_0x8eb9[85]](sequelize[_0x8eb9[33]](util[_0x8eb9[71]](_0x8eb9[87],_0x81c1x26,_0x81c1x22[_0x8eb9[31]])))}})};return _0x81c1x31})[_0x8eb9[89]]()[_0x8eb9[30]](function(){return _0x81c1x18[_0x8eb9[29]](201)[_0x8eb9[28]](_0x81c1x30)})[_0x8eb9[27]](function(_0x81c1x1a){console[_0x8eb9[26]](_0x81c1x1a);return _0x81c1x19(_0x81c1x1a)})};exports[_0x8eb9[99]]=function(_0x81c1x17,_0x81c1x18,_0x81c1x19){var _0x81c1x23;return Tag[_0x8eb9[76]]()[_0x8eb9[30]](function(_0x81c1x2b){var _0x81c1x2c=[];var _0x81c1x2d=_[_0x8eb9[32]](_[_0x8eb9[32]](_0x81c1x2b,_0x8eb9[74]),_0x8eb9[69]);if(_0x81c1x17[_0x8eb9[83]][_0x8eb9[90]]){var _0x81c1x2e=_0x81c1x17[_0x8eb9[83]][_0x8eb9[90]][_0x8eb9[91]](_0x8eb9[67]);_0x81c1x2e[_0x8eb9[86]](function(_0x81c1x2a){if(!_[_0x8eb9[92]](_0x81c1x2d,_0x81c1x2a)){_0x81c1x2c[_0x8eb9[85]](Tag[_0x8eb9[81]]({name:_0x81c1x2a}))}})};return _0x81c1x2c})[_0x8eb9[30]](function(){return Contact[_0x8eb9[42]](_0x81c1x17[_0x8eb9[64]][_0x8eb9[31]])})[_0x8eb9[30]](function(_0x81c1x22){delete _0x81c1x17[_0x8eb9[83]][_0x8eb9[31]];return _0x81c1x22[_0x8eb9[100]](_0x81c1x17[_0x8eb9[83]])})[_0x8eb9[30]](function(_0x81c1x22){_0x81c1x23=_0x81c1x22;return CustomField[_0x8eb9[76]]({where:{ListId:_0x81c1x23[_0x8eb9[75]]}})})[_0x8eb9[30]](function(_0x81c1x25){if(_0x81c1x25[_0x8eb9[66]]){var _0x81c1x26=[];_0x81c1x25[_0x8eb9[86]](function(_0x81c1x2a){if(_0x81c1x17[_0x8eb9[83]][_0x8eb9[82]](_0x81c1x2a[_0x8eb9[69]])){_0x81c1x26[_0x8eb9[85]](util[_0x8eb9[71]](_0x8eb9[84],_0x81c1x2a[_0x8eb9[69]],_0x81c1x17[_0x8eb9[83]][_0x81c1x2a[_0x8eb9[69]]]))}});if(_0x81c1x26[_0x8eb9[66]]){_0x81c1x26=_0x81c1x26[_0x8eb9[68]](_0x8eb9[67]);return sequelize[_0x8eb9[33]](util[_0x8eb9[71]](_0x8eb9[87],_0x81c1x26,_0x81c1x23[_0x8eb9[31]]))}}})[_0x8eb9[30]](function(){return _0x81c1x18[_0x8eb9[29]](200)[_0x8eb9[28]](_0x81c1x23)})[_0x8eb9[27]](function(_0x81c1x1a){console[_0x8eb9[26]](_0x81c1x1a);return handleError(_0x81c1x18,_0x81c1x1a)})};exports[_0x8eb9[101]]=function(_0x81c1x17,_0x81c1x18){return Contact[_0x8eb9[42]](_0x81c1x17[_0x8eb9[64]][_0x8eb9[31]])[_0x8eb9[30]](function(_0x81c1x27){if(!_0x81c1x27){return _0x81c1x18[_0x8eb9[55]](404)};return _0x81c1x27[_0x8eb9[101]]()})[_0x8eb9[30]](function(){return _0x81c1x18[_0x8eb9[55]](204)})[_0x8eb9[27]](function(_0x81c1x1a){return handleError(_0x81c1x18,_0x81c1x1a)})};exports[_0x8eb9[102]]=function(_0x81c1x17,_0x81c1x18){return Contact[_0x8eb9[101]]({where:{id:_0x81c1x17[_0x8eb9[33]][_0x8eb9[103]]},individualHooks:true})[_0x8eb9[30]](function(){return _0x81c1x18[_0x8eb9[55]](204)})[_0x8eb9[27]](function(_0x81c1x1a){return handleError(_0x81c1x18,_0x81c1x1a)})};function handleError(_0x81c1x18,_0x81c1x1a){return _0x81c1x18[_0x8eb9[29]](500)[_0x8eb9[28]](_0x81c1x1a)} \ No newline at end of file +var _0xbab9=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x43\x6F\x6E\x74\x61\x63\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x43\x6F\x6E\x74\x61\x63\x74\x50\x68\x6F\x6E\x65","\x43\x6F\x6E\x74\x61\x63\x74\x45\x6D\x61\x69\x6C","\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x52\x65\x70\x6F\x72\x74\x43\x61\x6C\x6C","\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x75\x65","\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x75\x65\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x52\x65\x70\x6F\x72\x74\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x4C\x69\x73\x74","\x52\x65\x70\x6F\x72\x74\x43\x61\x6C\x6C\x48\x69\x73\x74\x6F\x72\x79","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x53\x65\x73\x73\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x48\x69\x73\x74\x6F\x72\x79","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x53\x65\x73\x73\x69\x6F\x6E\x48\x69\x73\x74\x6F\x72\x79","\x54\x61\x67","\x73\x74\x72\x65\x61\x6D","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x61\x73\x79\x6E\x63","\x69\x6E\x64\x65\x78","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x69\x64","\x6D\x61\x70","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x6C\x69\x73\x74","\x63\x6F\x6D\x70\x61\x6E\x79","\x63\x6F\x6D\x70\x61\x6E\x79\x5F\x6C\x69\x73\x74\x5F\x66\x69\x6C\x74\x65\x72","\x73\x63\x6F\x70\x65","\x67\x65\x74\x4C\x69\x73\x74\x73","\x75\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x67\x65\x74\x4C\x6F\x67","\x64\x65\x74\x61\x69\x6C","\x67\x65\x6E\x65\x72\x61\x6C","\x73\x68\x6F\x77","\x70\x68\x6F\x6E\x65","\x6C\x6F\x67\x54\x79\x70\x65","\x6A\x6F\x75\x72\x6E\x61\x6C","\x74\x79\x70\x65","\x69\x6E\x62\x6F\x75\x6E\x64","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x64\x65\x73\x74\x69\x6E\x61\x74\x69\x6F\x6E","\x6D\x6F\x62\x69\x6C\x65","\x73\x6F\x75\x72\x63\x65","\x66\x72\x6F\x6D","\x65\x6D\x61\x69\x6C","\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x75\x6D","\x71\x75\x65\x75\x65","\x70\x61\x72\x61\x6D\x73","\x6D\x65\x72\x67\x65","\x6C\x65\x6E\x67\x74\x68","\x2C","\x6A\x6F\x69\x6E","\x6E\x61\x6D\x65","\x53\x45\x4C\x45\x43\x54\x20\x25\x73\x20\x46\x52\x4F\x4D\x20\x63\x6D\x5F\x63\x6F\x6E\x74\x61\x63\x74\x73\x20\x57\x48\x45\x52\x45\x20\x69\x64\x3D\x25\x73","\x66\x6F\x72\x6D\x61\x74","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x4C\x69\x73\x74\x49\x64","\x66\x69\x6E\x64\x41\x6C\x6C","\x67\x65\x74\x45\x76\x65\x6E\x74\x43\x6F\x6E\x74\x61\x63\x74\x73","\x76\x6F\x69\x63\x65","\x6D\x61\x69\x6C","\x65\x76\x65\x6E\x74\x43\x68\x61\x6E\x6E\x65\x6C","\x63\x72\x65\x61\x74\x65","\x68\x61\x73\x4F\x77\x6E\x50\x72\x6F\x70\x65\x72\x74\x79","\x62\x6F\x64\x79","\x25\x73\x3D\x27\x25\x73\x27","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x55\x50\x44\x41\x54\x45\x20\x63\x6D\x5F\x63\x6F\x6E\x74\x61\x63\x74\x73\x20\x53\x45\x54\x20\x25\x73\x20\x57\x48\x45\x52\x45\x20\x69\x64\x3D\x25\x73","\x55\x73\x65\x72\x49\x64","\x61\x6C\x6C","\x74\x61\x67\x73","\x73\x70\x6C\x69\x74","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x63\x6F\x6E\x74\x61\x63\x74\x73","\x6B\x6F","\x6F\x6B","\x66\x6F\x72\x45\x61\x63\x68\x4F\x66","\x75\x6E\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0xbab9[0];var _=require(_0xbab9[1]);var Contact=require(_0xbab9[3])[_0xbab9[2]];var User=require(_0xbab9[3])[_0xbab9[4]];var ContactPhone=require(_0xbab9[3])[_0xbab9[5]];var ContactEmail=require(_0xbab9[3])[_0xbab9[6]];var CustomField=require(_0xbab9[3])[_0xbab9[7]];var ReportCall=require(_0xbab9[3])[_0xbab9[8]];var ReportQueue=require(_0xbab9[3])[_0xbab9[9]];var ReportQueueHistory=require(_0xbab9[3])[_0xbab9[11]][_0xbab9[10]];var ReportIntegration=require(_0xbab9[3])[_0xbab9[12]];var List=require(_0xbab9[3])[_0xbab9[13]];var ReportCallHistory=require(_0xbab9[3])[_0xbab9[11]][_0xbab9[14]];var ReportMailSession=require(_0xbab9[3])[_0xbab9[15]];var ReportMailRoom=require(_0xbab9[3])[_0xbab9[16]];var ReportMailRoomHistory=require(_0xbab9[3])[_0xbab9[11]][_0xbab9[17]];var ReportMailSessionHistory=require(_0xbab9[3])[_0xbab9[11]][_0xbab9[18]];var Tag=require(_0xbab9[3])[_0xbab9[19]];var stream=require(_0xbab9[20]);var sequelize=require(_0xbab9[3])[_0xbab9[21]];var util=require(_0xbab9[22]);var Util=require(_0xbab9[23]);var Async=require(_0xbab9[24]);exports[_0xbab9[25]]=function(_0xf075x17,_0xf075x18,_0xf075x19){switch(_0xf075x17[_0xbab9[41]][_0xbab9[44]]){case _0xbab9[43]:return User[_0xbab9[42]](_0xf075x17[_0xbab9[41]][_0xbab9[31]])[_0xbab9[30]](function(_0xf075x1e){return _0xf075x1e[_0xbab9[40]]()})[_0xbab9[30]](function(_0xf075x1c){var _0xf075x1d=_[_0xbab9[32]](_0xf075x1c,_0xbab9[31]);return Contact[_0xbab9[39]](_0xbab9[36],_0xbab9[37],{method:[_0xbab9[38],_0xf075x17[_0xbab9[33]]]})[_0xbab9[35]](Util[_0xbab9[34]](_0xf075x17[_0xbab9[33]],{ListId:{$in:_0xf075x1d}}))})[_0xbab9[30]](function(_0xf075x1b){_0xf075x18[_0xbab9[29]](200)[_0xbab9[28]](_0xf075x1b)})[_0xbab9[27]](function(_0xf075x1a){console[_0xbab9[26]](_0xf075x1a);return handleError(_0xf075x18,_0xf075x1a)});default:return Contact[_0xbab9[39]](_0xbab9[36],_0xbab9[37],{method:[_0xbab9[38],_0xf075x17[_0xbab9[33]]]})[_0xbab9[35]](Util[_0xbab9[34]](_0xf075x17[_0xbab9[33]]))[_0xbab9[30]](function(_0xf075x1b){_0xf075x18[_0xbab9[29]](200)[_0xbab9[28]](_0xf075x1b)})[_0xbab9[27]](function(_0xf075x1a){console[_0xbab9[26]](_0xf075x1a);return handleError(_0xf075x18,_0xf075x1a)})}};exports[_0xbab9[45]]=function(_0xf075x17,_0xf075x18){return Contact[_0xbab9[45]]()[_0xbab9[30]](function(_0xf075x1f){return _0xf075x18[_0xbab9[29]](200)[_0xbab9[28]](_0xf075x1f)})[_0xbab9[27]](function(_0xf075x1a){return handleError(_0xf075x18,_0xf075x1a)})};exports[_0xbab9[46]]=function(_0xf075x17,_0xf075x18,_0xf075x19){_0xf075x17[_0xbab9[33]][_0xbab9[47]]=_0xf075x17[_0xbab9[33]][_0xbab9[47]]||_0xbab9[48];_0xf075x17[_0xbab9[33]][_0xbab9[49]]=_0xf075x17[_0xbab9[33]][_0xbab9[49]]||_0xbab9[50];_0xf075x17[_0xbab9[33]][_0xbab9[51]]=_0xf075x17[_0xbab9[33]][_0xbab9[51]]||_0xbab9[52];_0xf075x17[_0xbab9[33]][_0xbab9[53]]=_0xf075x17[_0xbab9[33]][_0xbab9[53]]||_0xbab9[54];var _0xf075x20,_0xf075x21={};return Contact[_0xbab9[42]](_0xf075x17[_0xbab9[64]][_0xbab9[31]])[_0xbab9[30]](function(_0xf075x22){if(!_0xf075x22){return _0xf075x18[_0xbab9[55]](404)};switch(_0xf075x17[_0xbab9[33]][_0xbab9[47]]){case _0xbab9[48]:switch(_0xf075x17[_0xbab9[33]][_0xbab9[49]]){case _0xbab9[50]:_0xf075x20=(_0xf075x17[_0xbab9[33]][_0xbab9[51]]===_0xbab9[11])?ReportCallHistory:ReportCall;if(_0xf075x17[_0xbab9[33]][_0xbab9[53]]===_0xbab9[56]){_0xf075x21[_0xbab9[57]]=[_0xf075x22[_0xbab9[50]],_0xf075x22[_0xbab9[58]]]}else {_0xf075x21[_0xbab9[59]]=[_0xf075x22[_0xbab9[50]],_0xf075x22[_0xbab9[58]]]};break;case _0xbab9[61]:_0xf075x20=(_0xf075x17[_0xbab9[33]][_0xbab9[51]]===_0xbab9[11])?ReportMailRoomHistory:ReportMailRoom;_0xf075x21[_0xbab9[60]]=_0xf075x22[_0xbab9[61]];break;default:_0xf075x20=(_0xf075x17[_0xbab9[33]][_0xbab9[51]]===_0xbab9[11])?ReportCallHistory:ReportCall};break;case _0xbab9[63]:switch(_0xf075x17[_0xbab9[33]][_0xbab9[49]]){case _0xbab9[50]:_0xf075x20=(_0xf075x17[_0xbab9[33]][_0xbab9[51]]===_0xbab9[11])?ReportQueueHistory:ReportQueue;_0xf075x21[_0xbab9[62]]=[_0xf075x22[_0xbab9[50]],_0xf075x22[_0xbab9[58]]];break;case _0xbab9[61]:return _0xf075x18[_0xbab9[55]](404);default:_0xf075x20=(_0xf075x17[_0xbab9[33]][_0xbab9[51]]===_0xbab9[11])?ReportQueueHistory:ReportQueue};break;default:_0xf075x20=ReportCall;_0xf075x17[_0xbab9[33]][_0xbab9[49]]=_0xbab9[50]};delete _0xf075x17[_0xbab9[33]][_0xbab9[47]];delete _0xf075x17[_0xbab9[33]][_0xbab9[49]];delete _0xf075x17[_0xbab9[33]][_0xbab9[51]];delete _0xf075x17[_0xbab9[33]][_0xbab9[53]];return _0xf075x20[_0xbab9[35]](Util[_0xbab9[34]](_0xf075x17[_0xbab9[33]],_0xf075x21))})[_0xbab9[30]](function(_0xf075x1b){_0xf075x18[_0xbab9[29]](200)[_0xbab9[28]](_0xf075x1b)})[_0xbab9[27]](function(_0xf075x1a){console[_0xbab9[26]](_0xf075x1a);return handleError(_0xf075x18,_0xf075x1a)})};exports[_0xbab9[49]]=function(_0xf075x17,_0xf075x18){var _0xf075x23;return Contact[_0xbab9[39]](_0xbab9[36],_0xbab9[41],_0xbab9[37])[_0xbab9[42]](_0xf075x17[_0xbab9[64]][_0xbab9[31]])[_0xbab9[30]](function(_0xf075x27){if(!_0xf075x27){return _0xf075x18[_0xbab9[55]](404)};_0xf075x23=_0xf075x27[_0xbab9[74]];return CustomField[_0xbab9[76]]({where:{ListId:_0xf075x23[_0xbab9[75]]}})})[_0xbab9[30]](function(_0xf075x25){if(_0xf075x25[_0xbab9[66]]){var _0xf075x26=_[_0xbab9[32]](_0xf075x25,_0xbab9[69])[_0xbab9[68]](_0xbab9[67]);return sequelize[_0xbab9[33]](util[_0xbab9[71]](_0xbab9[70],_0xf075x26,_0xf075x17[_0xbab9[64]][_0xbab9[31]]),{type:sequelize[_0xbab9[73]][_0xbab9[72]]})}})[_0xbab9[30]](function(_0xf075x24){if(_0xf075x24){_[_0xbab9[65]](_0xf075x23,_0xf075x24[0])}})[_0xbab9[30]](function(){return _0xf075x18[_0xbab9[29]](200)[_0xbab9[28]](_0xf075x23)})[_0xbab9[27]](function(_0xf075x1a){console[_0xbab9[26]](_0xf075x1a);return handleError(_0xf075x18,_0xf075x1a)})};exports[_0xbab9[77]]=function(_0xf075x17,_0xf075x18){return ReportIntegration[_0xbab9[42]](_0xf075x17[_0xbab9[64]][_0xbab9[31]])[_0xbab9[30]](function(_0xf075x29){var _0xf075x21={};switch(_0xf075x29[_0xbab9[80]]){case _0xbab9[78]:_0xf075x21={$or:{phone:_0xf075x29[_0xbab9[62]],mobile:_0xf075x29[_0xbab9[62]]}};break;case _0xbab9[79]:_0xf075x21={email:_0xf075x29[_0xbab9[60]]};break;default:_0xf075x21={}};return Contact[_0xbab9[76]]({where:_0xf075x21,include:[{model:List,where:{id:_[_0xbab9[32]](_[_0xbab9[32]](_0xf075x17[_0xbab9[41]].Lists,_0xbab9[74]),_0xbab9[31])}}]})})[_0xbab9[30]](function(_0xf075x28){return _0xf075x18[_0xbab9[29]](200)[_0xbab9[28]](_0xf075x28)})[_0xbab9[27]](function(_0xf075x1a){console[_0xbab9[26]](_0xf075x1a);return handleError(_0xf075x18,_0xf075x1a)})};exports[_0xbab9[81]]=function(_0xf075x17,_0xf075x18,_0xf075x19){var _0xf075x23;return Tag[_0xbab9[76]]()[_0xbab9[30]](function(_0xf075x2b){var _0xf075x2c=[];var _0xf075x2d=_[_0xbab9[32]](_[_0xbab9[32]](_0xf075x2b,_0xbab9[74]),_0xbab9[69]);if(_0xf075x17[_0xbab9[83]][_0xbab9[90]]){var _0xf075x2e=_0xf075x17[_0xbab9[83]][_0xbab9[90]][_0xbab9[91]](_0xbab9[67]);_0xf075x2e[_0xbab9[86]](function(_0xf075x2a){if(!_[_0xbab9[92]](_0xf075x2d,_0xf075x2a)){_0xf075x2c[_0xbab9[85]](Tag[_0xbab9[81]]({name:_0xf075x2a}))}})};return _0xf075x2c})[_0xbab9[89]]()[_0xbab9[30]](function(){_0xf075x17[_0xbab9[83]][_0xbab9[88]]=_0xf075x17[_0xbab9[41]][_0xbab9[31]];return Contact[_0xbab9[81]](_0xf075x17[_0xbab9[83]])})[_0xbab9[30]](function(_0xf075x22){_0xf075x23=_0xf075x22;return CustomField[_0xbab9[76]]({where:{ListId:_0xf075x23[_0xbab9[75]]}})})[_0xbab9[30]](function(_0xf075x25){if(_0xf075x25[_0xbab9[66]]){var _0xf075x26=[];_0xf075x25[_0xbab9[86]](function(_0xf075x2a){if(_0xf075x17[_0xbab9[83]][_0xbab9[82]](_0xf075x2a[_0xbab9[69]])){_0xf075x26[_0xbab9[85]](util[_0xbab9[71]](_0xbab9[84],_0xf075x2a[_0xbab9[69]],_0xf075x17[_0xbab9[83]][_0xf075x2a[_0xbab9[69]]]))}});if(_0xf075x26[_0xbab9[66]]){_0xf075x26=_0xf075x26[_0xbab9[68]](_0xbab9[67]);return sequelize[_0xbab9[33]](util[_0xbab9[71]](_0xbab9[87],_0xf075x26,_0xf075x23[_0xbab9[31]]))}}})[_0xbab9[30]](function(){return _0xf075x18[_0xbab9[29]](201)[_0xbab9[28]](_0xf075x23)})[_0xbab9[27]](function(_0xf075x1a){console[_0xbab9[26]](_0xf075x1a);return _0xf075x19(_0xf075x1a)})};exports[_0xbab9[93]]=function(_0xf075x17,_0xf075x18,_0xf075x19){var _0xf075x2f=[];var _0xf075x30={ok:0,ko:0};return Tag[_0xbab9[76]]()[_0xbab9[30]](function(_0xf075x2b){var _0xf075x2c=[],_0xf075x2e=[];var _0xf075x2d=_[_0xbab9[32]](_[_0xbab9[32]](_0xf075x2b,_0xbab9[74]),_0xbab9[69]);_0xf075x17[_0xbab9[83]][_0xbab9[94]][_0xbab9[86]](function(_0xf075x22){if(_0xf075x22[_0xbab9[90]]){_0xf075x2e=_[_0xbab9[98]](_0xf075x2e,_0xf075x22[_0xbab9[90]][_0xbab9[91]](_0xbab9[67]))}});_0xf075x2e[_0xbab9[86]](function(_0xf075x2a){if(!_[_0xbab9[92]](_0xf075x2d,_0xf075x2a)){_0xf075x2c[_0xbab9[85]](Tag[_0xbab9[81]]({name:_0xf075x2a}))}});return _0xf075x2c})[_0xbab9[89]]()[_0xbab9[30]](function(){var _0xf075x32=[];Async[_0xbab9[97]](_0xf075x17[_0xbab9[83]][_0xbab9[94]],function(_0xf075x22){_0xf075x22[_0xbab9[88]]=_0xf075x17[_0xbab9[41]][_0xbab9[31]];_0xf075x32[_0xbab9[85]](Contact[_0xbab9[81]](_0xf075x22)[_0xbab9[30]](function(_0xf075x22){_0xf075x2f[_0xbab9[85]](_0xf075x22);_0xf075x30[_0xbab9[96]]++})[_0xbab9[27]](function(_0xf075x1a){_0xf075x30[_0xbab9[95]]++}))});return _0xf075x32})[_0xbab9[89]]()[_0xbab9[30]](function(){return CustomField[_0xbab9[76]]({where:{ListId:{$in:_[_0xbab9[32]](_0xf075x17[_0xbab9[83]][_0xbab9[94]],_0xbab9[75])}}})})[_0xbab9[30]](function(_0xf075x25){var _0xf075x31=[];if(_0xf075x25[_0xbab9[66]]){var _0xf075x26=[];_0xf075x2f[_0xbab9[86]](function(_0xf075x22){_0xf075x26=[];_0xf075x25[_0xbab9[86]](function(_0xf075x2a){if(_0xf075x22[_0xbab9[82]](_0xf075x2a[_0xbab9[69]])){_0xf075x26[_0xbab9[85]](util[_0xbab9[71]](_0xbab9[84],_0xf075x2a[_0xbab9[69]],_0xf075x17[_0xbab9[83]][_0xf075x2a[_0xbab9[69]]]))}});if(_0xf075x26[_0xbab9[66]]){_0xf075x26=_0xf075x26[_0xbab9[68]](_0xbab9[67]);_0xf075x31[_0xbab9[85]](sequelize[_0xbab9[33]](util[_0xbab9[71]](_0xbab9[87],_0xf075x26,_0xf075x22[_0xbab9[31]])))}})};return _0xf075x31})[_0xbab9[89]]()[_0xbab9[30]](function(){return _0xf075x18[_0xbab9[29]](201)[_0xbab9[28]](_0xf075x30)})[_0xbab9[27]](function(_0xf075x1a){console[_0xbab9[26]](_0xf075x1a);return _0xf075x19(_0xf075x1a)})};exports[_0xbab9[99]]=function(_0xf075x17,_0xf075x18,_0xf075x19){var _0xf075x23;return Tag[_0xbab9[76]]()[_0xbab9[30]](function(_0xf075x2b){var _0xf075x2c=[];var _0xf075x2d=_[_0xbab9[32]](_[_0xbab9[32]](_0xf075x2b,_0xbab9[74]),_0xbab9[69]);if(_0xf075x17[_0xbab9[83]][_0xbab9[90]]){var _0xf075x2e=_0xf075x17[_0xbab9[83]][_0xbab9[90]][_0xbab9[91]](_0xbab9[67]);_0xf075x2e[_0xbab9[86]](function(_0xf075x2a){if(!_[_0xbab9[92]](_0xf075x2d,_0xf075x2a)){_0xf075x2c[_0xbab9[85]](Tag[_0xbab9[81]]({name:_0xf075x2a}))}})};return _0xf075x2c})[_0xbab9[30]](function(){return Contact[_0xbab9[42]](_0xf075x17[_0xbab9[64]][_0xbab9[31]])})[_0xbab9[30]](function(_0xf075x22){delete _0xf075x17[_0xbab9[83]][_0xbab9[31]];return _0xf075x22[_0xbab9[100]](_0xf075x17[_0xbab9[83]])})[_0xbab9[30]](function(_0xf075x22){_0xf075x23=_0xf075x22;return CustomField[_0xbab9[76]]({where:{ListId:_0xf075x23[_0xbab9[75]]}})})[_0xbab9[30]](function(_0xf075x25){if(_0xf075x25[_0xbab9[66]]){var _0xf075x26=[];_0xf075x25[_0xbab9[86]](function(_0xf075x2a){if(_0xf075x17[_0xbab9[83]][_0xbab9[82]](_0xf075x2a[_0xbab9[69]])){_0xf075x26[_0xbab9[85]](util[_0xbab9[71]](_0xbab9[84],_0xf075x2a[_0xbab9[69]],_0xf075x17[_0xbab9[83]][_0xf075x2a[_0xbab9[69]]]))}});if(_0xf075x26[_0xbab9[66]]){_0xf075x26=_0xf075x26[_0xbab9[68]](_0xbab9[67]);return sequelize[_0xbab9[33]](util[_0xbab9[71]](_0xbab9[87],_0xf075x26,_0xf075x23[_0xbab9[31]]))}}})[_0xbab9[30]](function(){return _0xf075x18[_0xbab9[29]](200)[_0xbab9[28]](_0xf075x23)})[_0xbab9[27]](function(_0xf075x1a){console[_0xbab9[26]](_0xf075x1a);return handleError(_0xf075x18,_0xf075x1a)})};exports[_0xbab9[101]]=function(_0xf075x17,_0xf075x18){return Contact[_0xbab9[42]](_0xf075x17[_0xbab9[64]][_0xbab9[31]])[_0xbab9[30]](function(_0xf075x27){if(!_0xf075x27){return _0xf075x18[_0xbab9[55]](404)};return _0xf075x27[_0xbab9[101]]()})[_0xbab9[30]](function(){return _0xf075x18[_0xbab9[55]](204)})[_0xbab9[27]](function(_0xf075x1a){return handleError(_0xf075x18,_0xf075x1a)})};exports[_0xbab9[102]]=function(_0xf075x17,_0xf075x18){return Contact[_0xbab9[101]]({where:{id:_0xf075x17[_0xbab9[33]][_0xbab9[103]]},individualHooks:true})[_0xbab9[30]](function(){return _0xf075x18[_0xbab9[55]](204)})[_0xbab9[27]](function(_0xf075x1a){return handleError(_0xf075x18,_0xf075x1a)})};function handleError(_0xf075x18,_0xf075x1a){return _0xf075x18[_0xbab9[29]](500)[_0xbab9[28]](_0xf075x1a)} \ No newline at end of file diff --git a/server/api/contact_manager/contact_manager.socket.js b/server/api/contact_manager/contact_manager.socket.js index ec2bb33..30129df 100644 --- a/server/api/contact_manager/contact_manager.socket.js +++ b/server/api/contact_manager/contact_manager.socket.js @@ -1 +1 @@ -var _0xa134=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x6F\x6E\x74\x61\x63\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x6F\x6E\x74\x61\x63\x74\x5F\x6D\x61\x6E\x61\x67\x65\x72\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x6F\x6E\x74\x61\x63\x74\x5F\x6D\x61\x6E\x61\x67\x65\x72\x3A\x72\x65\x6D\x6F\x76\x65"];_0xa134[0];var Contact=require(_0xa134[2])[_0xa134[1]];exports[_0xa134[3]]=function(_0x3e53x2){Contact[_0xa134[4]](function(_0x3e53x3){onSave(_0x3e53x2,_0x3e53x3)});Contact[_0xa134[5]](function(_0x3e53x3){onRemove(_0x3e53x2,_0x3e53x3)})};function onSave(_0x3e53x2,_0x3e53x3,_0x3e53x5){_0x3e53x2[_0xa134[7]](_0xa134[6],_0x3e53x3)}function onRemove(_0x3e53x2,_0x3e53x3,_0x3e53x5){_0x3e53x2[_0xa134[7]](_0xa134[8],_0x3e53x3)} \ No newline at end of file +var _0x7811=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x6F\x6E\x74\x61\x63\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x6F\x6E\x74\x61\x63\x74\x5F\x6D\x61\x6E\x61\x67\x65\x72\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x6F\x6E\x74\x61\x63\x74\x5F\x6D\x61\x6E\x61\x67\x65\x72\x3A\x72\x65\x6D\x6F\x76\x65"];_0x7811[0];var Contact=require(_0x7811[2])[_0x7811[1]];exports[_0x7811[3]]=function(_0x7019x2){Contact[_0x7811[4]](function(_0x7019x3){onSave(_0x7019x2,_0x7019x3)});Contact[_0x7811[5]](function(_0x7019x3){onRemove(_0x7019x2,_0x7019x3)})};function onSave(_0x7019x2,_0x7019x3,_0x7019x5){_0x7019x2[_0x7811[7]](_0x7811[6],_0x7019x3)}function onRemove(_0x7019x2,_0x7019x3,_0x7019x5){_0x7019x2[_0x7811[7]](_0x7811[8],_0x7019x3)} \ No newline at end of file diff --git a/server/api/contact_manager/index.js b/server/api/contact_manager/index.js index 6250b94..96ed9a4 100644 --- a/server/api/contact_manager/index.js +++ b/server/api/contact_manager/index.js @@ -1 +1 @@ -var _0xb2bd=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x63\x6F\x6E\x74\x61\x63\x74\x5F\x6D\x61\x6E\x61\x67\x65\x72\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x68\x61\x73\x43\x6D","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x2F\x3A\x69\x64\x2F\x63\x68\x65\x63\x6B\x65\x76\x65\x6E\x74","\x67\x65\x74\x45\x76\x65\x6E\x74\x43\x6F\x6E\x74\x61\x63\x74\x73","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x6C\x6F\x67","\x67\x65\x74\x4C\x6F\x67","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x62\x75\x6C\x6B","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0xb2bd[0];var express=require(_0xb2bd[1]);var controller=require(_0xb2bd[2]);var auth=require(_0xb2bd[3]);var license=require(_0xb2bd[4]);var router=express.Router();router[_0xb2bd[12]](_0xb2bd[5],auth[_0xb2bd[6]](),license[_0xb2bd[7]](),auth[_0xb2bd[10]]([5],[_0xb2bd[8],_0xb2bd[9]]),controller[_0xb2bd[11]]);router[_0xb2bd[12]](_0xb2bd[13],auth[_0xb2bd[6]](),license[_0xb2bd[7]](),auth[_0xb2bd[10]]([5],[_0xb2bd[8]]),controller[_0xb2bd[14]]);router[_0xb2bd[12]](_0xb2bd[15],auth[_0xb2bd[6]](),license[_0xb2bd[7]](),auth[_0xb2bd[10]]([5],[_0xb2bd[8],_0xb2bd[9]]),controller[_0xb2bd[16]]);router[_0xb2bd[12]](_0xb2bd[17],auth[_0xb2bd[6]](),license[_0xb2bd[7]](),auth[_0xb2bd[10]]([5],[_0xb2bd[8],_0xb2bd[9]]),controller[_0xb2bd[18]]);router[_0xb2bd[12]](_0xb2bd[19],auth[_0xb2bd[6]](),license[_0xb2bd[7]](),auth[_0xb2bd[10]]([5],[_0xb2bd[8],_0xb2bd[9]]),controller[_0xb2bd[20]]);router[_0xb2bd[22]](_0xb2bd[5],auth[_0xb2bd[6]](),license[_0xb2bd[7]](),auth[_0xb2bd[10]]([5],[_0xb2bd[8],_0xb2bd[9]]),controller[_0xb2bd[21]]);router[_0xb2bd[22]](_0xb2bd[23],auth[_0xb2bd[6]](),license[_0xb2bd[7]](),auth[_0xb2bd[10]]([5],[_0xb2bd[8]]),controller[_0xb2bd[24]]);router[_0xb2bd[26]](_0xb2bd[17],auth[_0xb2bd[6]](),license[_0xb2bd[7]](),auth[_0xb2bd[10]]([5],[_0xb2bd[8],_0xb2bd[9]]),controller[_0xb2bd[25]]);router[_0xb2bd[28]](_0xb2bd[5],auth[_0xb2bd[6]](),license[_0xb2bd[7]](),auth[_0xb2bd[10]]([5],[_0xb2bd[8]]),controller[_0xb2bd[27]]);router[_0xb2bd[28]](_0xb2bd[17],auth[_0xb2bd[6]](),license[_0xb2bd[7]](),auth[_0xb2bd[10]]([5],[_0xb2bd[8]]),controller[_0xb2bd[29]]);module[_0xb2bd[30]]=router \ No newline at end of file +var _0xa003=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x63\x6F\x6E\x74\x61\x63\x74\x5F\x6D\x61\x6E\x61\x67\x65\x72\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x68\x61\x73\x43\x6D","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x2F\x3A\x69\x64\x2F\x63\x68\x65\x63\x6B\x65\x76\x65\x6E\x74","\x67\x65\x74\x45\x76\x65\x6E\x74\x43\x6F\x6E\x74\x61\x63\x74\x73","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x6C\x6F\x67","\x67\x65\x74\x4C\x6F\x67","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x62\x75\x6C\x6B","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0xa003[0];var express=require(_0xa003[1]);var controller=require(_0xa003[2]);var auth=require(_0xa003[3]);var license=require(_0xa003[4]);var router=express.Router();router[_0xa003[12]](_0xa003[5],auth[_0xa003[6]](),license[_0xa003[7]](),auth[_0xa003[10]]([5],[_0xa003[8],_0xa003[9]]),controller[_0xa003[11]]);router[_0xa003[12]](_0xa003[13],auth[_0xa003[6]](),license[_0xa003[7]](),auth[_0xa003[10]]([5],[_0xa003[8]]),controller[_0xa003[14]]);router[_0xa003[12]](_0xa003[15],auth[_0xa003[6]](),license[_0xa003[7]](),auth[_0xa003[10]]([5],[_0xa003[8],_0xa003[9]]),controller[_0xa003[16]]);router[_0xa003[12]](_0xa003[17],auth[_0xa003[6]](),license[_0xa003[7]](),auth[_0xa003[10]]([5],[_0xa003[8],_0xa003[9]]),controller[_0xa003[18]]);router[_0xa003[12]](_0xa003[19],auth[_0xa003[6]](),license[_0xa003[7]](),auth[_0xa003[10]]([5],[_0xa003[8],_0xa003[9]]),controller[_0xa003[20]]);router[_0xa003[22]](_0xa003[5],auth[_0xa003[6]](),license[_0xa003[7]](),auth[_0xa003[10]]([5],[_0xa003[8],_0xa003[9]]),controller[_0xa003[21]]);router[_0xa003[22]](_0xa003[23],auth[_0xa003[6]](),license[_0xa003[7]](),auth[_0xa003[10]]([5],[_0xa003[8]]),controller[_0xa003[24]]);router[_0xa003[26]](_0xa003[17],auth[_0xa003[6]](),license[_0xa003[7]](),auth[_0xa003[10]]([5],[_0xa003[8],_0xa003[9]]),controller[_0xa003[25]]);router[_0xa003[28]](_0xa003[5],auth[_0xa003[6]](),license[_0xa003[7]](),auth[_0xa003[10]]([5],[_0xa003[8]]),controller[_0xa003[27]]);router[_0xa003[28]](_0xa003[17],auth[_0xa003[6]](),license[_0xa003[7]](),auth[_0xa003[10]]([5],[_0xa003[8]]),controller[_0xa003[29]]);module[_0xa003[30]]=router \ No newline at end of file diff --git a/server/api/custom_report/custom_report.controller.js b/server/api/custom_report/custom_report.controller.js index 94a09e5..8cac1af 100644 --- a/server/api/custom_report/custom_report.controller.js +++ b/server/api/custom_report/custom_report.controller.js @@ -1 +1 @@ -var _0xeccd=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x75\x73\x74\x6F\x6D\x52\x65\x70\x6F\x72\x74","\x52\x65\x70\x6F\x72\x74\x46\x69\x65\x6C\x64","\x4D\x65\x74\x72\x69\x63","\x45\x78\x74\x72\x61\x63\x74\x65\x64\x52\x65\x70\x6F\x72\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C\x73\x2F\x72\x65\x70\x6F\x72\x74\x5F\x65\x78\x74\x72\x61\x63\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C\x73\x2F\x72\x65\x70\x6F\x72\x74\x5F\x62\x75\x69\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x69\x6D\x70\x6C\x65\x2D\x72\x61\x6E\x64\x6F\x6D","\x6D\x6F\x6D\x65\x6E\x74","\x63\x68\x69\x6C\x64\x5F\x70\x72\x6F\x63\x65\x73\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x67\x65\x74\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x72\x79","\x45\x72\x72\x6F\x72\x20\x67\x65\x74\x74\x69\x6E\x67\x20\x71\x75\x65\x72\x79\x20\x66\x72\x6F\x6D\x20\x61\x70\x69\x3A","\x6C\x6F\x67","\x61\x6C\x6C","\x62\x75\x69\x6C\x64\x51\x75\x65\x72\x79","\x73\x70\x72\x65\x61\x64","\x75\x73\x65\x72","\x62\x75\x69\x6C\x64\x46\x69\x6C\x74\x65\x72","\x66\x6F\x75\x6E\x64\x20\x72\x65\x70\x6F\x72\x74","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x64\x61\x69\x6C\x79","\x74\x72\x75\x65","\x73\x74\x61\x72\x74\x44\x61\x74\x65","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44","\x66\x6F\x72\x6D\x61\x74","\x65\x6E\x64\x44\x61\x74\x65","\x74\x61\x62\x6C\x65","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x5F\x68\x69\x73\x74\x6F\x72\x79","","\x72\x65\x70\x6C\x61\x63\x65","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x66\x69\x65\x6C\x64\x73","\x73\x63\x6F\x70\x65","\x70\x72\x65\x76\x69\x65\x77","\x6C\x65\x6E\x67\x74\x68","\x6C\x69\x6D\x69\x74","\x76\x61\x6C\x75\x65","\x74\x61\x6B\x65","\x6F\x66\x66\x73\x65\x74","\x73\x6C\x69\x63\x65","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\x66\x6F\x72\x4F\x77\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\x65\x78\x74\x72\x61\x63\x74\x50\x64\x66","\x50\x44\x46","\x65\x78\x74\x72\x61\x63\x74\x43\x73\x76","\x43\x53\x56","\x2F\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C\x73\x2F\x72\x65\x70\x6F\x72\x74\x5F\x65\x78\x74\x72\x61\x63\x74\x69\x6F\x6E\x2E\x6A\x73","\x66\x6F\x72\x6B","\x65\x72\x72\x6F\x72","\x63\x68\x69\x6C\x64\x20\x65\x72\x72\x6F\x72","\x6F\x6E","\x63\x6C\x6F\x73\x65","\x63\x68\x69\x6C\x64\x20\x63\x6C\x6F\x73\x65","\x6D\x65\x73\x73\x61\x67\x65","\x63\x68\x69\x6C\x64\x20\x6D\x65\x73\x73\x61\x67\x65","\x6B\x69\x6C\x6C","\x6E\x61\x6D\x65","\x63\x72\x65\x61\x74\x65","\x73\x68\x6F\x77","\x65\x78\x70\x6F\x72\x74","\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x70\x61\x72\x65\x6E\x74","\x65\x78\x70\x6F\x72\x74\x46\x69\x65\x6C\x64\x73","\x63\x6F\x70\x79","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x75\x70\x64\x61\x74\x65\x64\x41\x74","\x62\x6F\x64\x79","\x6D\x61\x70","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x46\x69\x65\x6C\x64\x73","\x69\x6D\x70\x6F\x72\x74","\x75\x70\x64\x61\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x69\x73\x41\x72\x72\x61\x79","\x43\x75\x73\x74\x6F\x6D\x52\x65\x70\x6F\x72\x74\x49\x64","\x4D\x65\x74\x72\x69\x63\x49\x64","\x66\x69\x6E\x64","\x66\x69\x65\x6C\x64","\x6D\x65\x74\x72\x69\x63","\x70\x75\x73\x68","\x54\x68\x65\x20\x6D\x65\x74\x72\x69\x63\x20\x77\x69\x74\x68\x20\x69\x64\x20","\x20\x79\x6F\x75\x20\x73\x70\x65\x63\x69\x66\x69\x65\x64\x20\x64\x6F\x65\x73\x20\x6E\x6F\x74\x20\x65\x78\x69\x73\x74","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x54\x68\x65\x20\x66\x69\x65\x6C\x64\x20","\x20\x79\x6F\x75\x20\x73\x70\x65\x63\x69\x66\x69\x65\x64\x20\x64\x6F\x65\x73\x20\x6E\x6F\x74\x20\x65\x78\x69\x73\x74\x20\x69\x6E\x20\x74\x68\x65\x20\x74\x61\x62\x6C\x65","\x6B\x65\x79\x73","\x66\x69\x6E\x64\x41\x6C\x6C","\x64\x65\x73\x63\x72\x69\x62\x65","\x59\x6F\x75\x20\x68\x61\x76\x65\x20\x6E\x6F\x74\x20\x73\x70\x65\x63\x69\x66\x69\x65\x64\x20\x74\x68\x65\x20\x74\x61\x62\x6C\x65\x20\x6F\x72\x20\x74\x68\x65\x20\x74\x61\x62\x6C\x65\x20\x64\x6F\x65\x73\x20\x6E\x6F\x74\x20\x65\x78\x69\x73\x74","\x67\x72\x6F\x75\x70\x42\x79","\x75\x6E\x64\x65\x66\x69\x6E\x65\x64","\x6E\x75\x6C\x6C","\x52\x65\x70\x6F\x72\x74\x46\x69\x65\x6C\x64\x73","\x5F","\x52\x65\x70\x6F\x72\x74\x41\x67\x65\x6E\x74\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x5F\x68\x69\x73\x74\x6F\x72\x79","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x53\x65\x73\x73\x69\x6F\x6E\x48\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x73\x65\x73\x73\x69\x6F\x6E\x5F\x68\x69\x73\x74\x6F\x72\x79","\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x75\x65\x48\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x5F\x68\x69\x73\x74\x6F\x72\x79","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x53\x65\x73\x73\x69\x6F\x6E\x48\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x73\x65\x73\x73\x69\x6F\x6E\x5F\x68\x69\x73\x74\x6F\x72\x79","\x52\x65\x70\x6F\x72\x74\x43\x61\x6C\x6C\x48\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x5F\x68\x69\x73\x74\x6F\x72\x79","\x52\x65\x70\x6F\x72\x74\x4D\x65\x6D\x62\x65\x72\x48\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x65\x6D\x62\x65\x72\x5F\x68\x69\x73\x74\x6F\x72\x79","\x52\x65\x70\x6F\x72\x74\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x48\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x5F\x68\x69\x73\x74\x6F\x72\x79","\x52\x65\x70\x6F\x72\x74\x53\x6D\x73\x53\x65\x73\x73\x69\x6F\x6E\x48\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x5F\x73\x65\x73\x73\x69\x6F\x6E\x5F\x68\x69\x73\x74\x6F\x72\x79","\x43\x6F\x6E\x74\x61\x63\x74","\x63\x6D\x5F\x63\x6F\x6E\x74\x61\x63\x74\x73","\x56\x6F\x69\x63\x65\x52\x65\x63\x6F\x72\x64\x69\x6E\x67","\x76\x6F\x69\x63\x65\x5F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67\x73","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0xeccd[0];var _=require(_0xeccd[1]);var util=require(_0xeccd[2]);var sequelize=require(_0xeccd[4])[_0xeccd[3]];var CustomReport=require(_0xeccd[4])[_0xeccd[5]];var ReportField=require(_0xeccd[4])[_0xeccd[6]];var Metric=require(_0xeccd[4])[_0xeccd[7]];var ExtractedReport=require(_0xeccd[4])[_0xeccd[8]];var extractUtils=require(_0xeccd[9]);var reportBuildUtils=require(_0xeccd[10]);var Util=require(_0xeccd[11]);var sr=require(_0xeccd[12]);var moment=require(_0xeccd[13]);var cp=require(_0xeccd[14]);exports[_0xeccd[15]]=function(_0xa398xe,_0xa398xf,_0xa398x10){return CustomReport[_0xeccd[22]](Util[_0xeccd[21]](_0xa398xe[_0xeccd[20]]))[_0xeccd[19]](function(_0xa398x12){_0xa398xf[_0xeccd[18]](200)[_0xeccd[17]](_0xa398x12)})[_0xeccd[16]](function(_0xa398x11){return handleError(_0xa398xf,_0xa398x11)})};exports[_0xeccd[23]]=function(_0xa398xe,_0xa398xf){return Promise[_0xeccd[26]]([])[_0xeccd[19]](getQuery(_0xa398xe,_0xa398xf))[_0xeccd[19]](function(_0xa398x13){_0xa398xf[_0xeccd[18]](200)[_0xeccd[17]]({query:_0xa398x13})})[_0xeccd[16]](function(_0xa398x11){console[_0xeccd[25]](_0xeccd[24],_0xa398x11)})};function getQuery(_0xa398xe,_0xa398xf){var _0xa398x15;return function(){return CustomReport[_0xeccd[48]](_0xeccd[47])[_0xeccd[46]](_0xa398xe[_0xeccd[45]][_0xeccd[44]])[_0xeccd[19]](function(_0xa398x17){console[_0xeccd[25]](_0xeccd[31]);if(!_0xa398x17){return _0xa398xf[_0xeccd[32]](404)};if(_0xa398xe[_0xeccd[20]][_0xeccd[33]]&&_0xa398xe[_0xeccd[20]][_0xeccd[33]]===_0xeccd[34]){_0xa398xe[_0xeccd[20]][_0xeccd[35]]=moment()[_0xeccd[37]](_0xeccd[36]);_0xa398xe[_0xeccd[20]][_0xeccd[38]]=moment()[_0xeccd[37]](_0xeccd[36]);_0xa398x17[_0xeccd[40]][_0xeccd[39]]=_0xa398x17[_0xeccd[40]][_0xeccd[39]][_0xeccd[43]](_0xeccd[41],_0xeccd[42])};delete _0xa398xe[_0xeccd[20]][_0xeccd[33]];_0xa398x15=_0xa398x17[_0xeccd[40]];return _0xa398x15[_0xeccd[39]]})[_0xeccd[19]](reportBuildUtils[_0xeccd[30]](_0xa398xe[_0xeccd[29]]))[_0xeccd[19]](function(_0xa398x16){return [_0xa398x16,_0xa398x15]})[_0xeccd[28]](reportBuildUtils[_0xeccd[27]](_0xa398xe[_0xeccd[20]]))}}exports[_0xeccd[49]]=function(_0xa398xe,_0xa398xf){var _0xa398x18;return Promise[_0xeccd[26]]([])[_0xeccd[19]](getQuery(_0xa398xe,_0xa398xf))[_0xeccd[19]](function(_0xa398x13){return _0xa398x13?sequelize[_0xeccd[20]](_0xa398x13,{type:sequelize[_0xeccd[60]][_0xeccd[59]]}):[]})[_0xeccd[19]](function(_0xa398x19){_0xa398x18=_0xa398x19[_0xeccd[50]];if(_0xa398xe[_0xeccd[20]][_0xeccd[51]]){_0xa398x19=_(_0xa398x19)[_0xeccd[55]](_0xa398xe[_0xeccd[20]][_0xeccd[54]]||0)[_0xeccd[53]](_0xa398xe[_0xeccd[20]][_0xeccd[51]])[_0xeccd[52]]()};_[_0xeccd[58]](_0xa398x19,function(_0xa398x1a){_[_0xeccd[57]](_0xa398x1a,function(_0xa398x1b,_0xa398x1c){if(_0xa398x1b instanceof Date){_0xa398x1a[_0xa398x1c]=moment(_0xa398x1b)[_0xeccd[37]](_0xeccd[56]).toString()}})});_0xa398xf[_0xeccd[18]](200)[_0xeccd[17]]({rows:_0xa398x19,count:_0xa398x18})})[_0xeccd[16]](function(_0xa398x11){console[_0xeccd[25]](_0xa398x11);return handleError(_0xa398xf,_0xa398x11)})};exports[_0xeccd[61]]=function(_0xa398xe,_0xa398xf){docExtract(_0xa398xe,_0xa398xf,_0xeccd[62])};exports[_0xeccd[63]]=function(_0xa398xe,_0xa398xf){docExtract(_0xa398xe,_0xa398xf,_0xeccd[64])};function docExtract(_0xa398xe,_0xa398xf,_0xa398x1e){CustomReport[_0xeccd[48]](_0xeccd[47])[_0xeccd[46]](_0xa398xe[_0xeccd[45]][_0xeccd[44]])[_0xeccd[19]](function(_0xa398x17){if(!_0xa398x17){return _0xa398xf[_0xeccd[32]](404)};if(_0xa398xe[_0xeccd[20]][_0xeccd[33]]&&_0xa398xe[_0xeccd[20]][_0xeccd[33]]===_0xeccd[34]){_0xa398xe[_0xeccd[20]][_0xeccd[35]]=moment()[_0xeccd[37]](_0xeccd[36]);_0xa398xe[_0xeccd[20]][_0xeccd[38]]=moment()[_0xeccd[37]](_0xeccd[36]);_0xa398x17[_0xeccd[40]][_0xeccd[39]]=_0xa398x17[_0xeccd[40]][_0xeccd[39]][_0xeccd[43]](_0xeccd[41],_0xeccd[42])};delete _0xa398xe[_0xeccd[20]][_0xeccd[33]];return [_0xa398x17,ExtractedReport[_0xeccd[76]]({name:_0xa398x17[_0xeccd[75]],startDate:_0xa398xe[_0xeccd[20]][_0xeccd[35]]||null,endDate:_0xa398xe[_0xeccd[20]][_0xeccd[38]]||null,output:_0xa398x1e,UserId:_0xa398xe[_0xeccd[29]][_0xeccd[44]]})]})[_0xeccd[28]](function(_0xa398x17,_0xa398x1f){var _0xa398x20=cp[_0xeccd[66]](__dirname+_0xeccd[65]);_0xa398x20[_0xeccd[69]](_0xeccd[72],function(_0xa398x21){console[_0xeccd[25]](_0xeccd[73],_0xa398x21);_0xa398x20[_0xeccd[74]]()})[_0xeccd[69]](_0xeccd[70],function(){console[_0xeccd[25]](_0xeccd[71])})[_0xeccd[69]](_0xeccd[67],function(_0xa398x11){console[_0xeccd[25]](_0xeccd[68],_0xa398x11)});_0xa398x20[_0xeccd[17]]({report:_0xa398x17,query:_0xa398xe[_0xeccd[20]],extractedId:_0xa398x1f[_0xeccd[44]],user:_0xa398xe[_0xeccd[29]],type:_0xa398x1e})})[_0xeccd[16]](function(_0xa398x11){console[_0xeccd[25]](_0xa398x11);return handleError(_0xa398xf,_0xa398x11)});return _0xa398xf[_0xeccd[32]](200)}exports[_0xeccd[77]]=function(_0xa398xe,_0xa398xf){return CustomReport[_0xeccd[48]](_0xeccd[47])[_0xeccd[46]](_0xa398xe[_0xeccd[45]][_0xeccd[44]])[_0xeccd[19]](function(_0xa398x17){if(!_0xa398x17){return _0xa398xf[_0xeccd[32]](404)};return _0xa398xf[_0xeccd[17]](_0xa398x17)})[_0xeccd[16]](function(_0xa398x11){return handleError(_0xa398xf,_0xa398x11)})};exports[_0xeccd[78]]=function(_0xa398xe,_0xa398xf){return CustomReport[_0xeccd[48]]({method:[_0xeccd[82],{CustomReportId:_0xa398xe[_0xeccd[45]][_0xeccd[44]]}]})[_0xeccd[46]](_0xa398xe[_0xeccd[45]][_0xeccd[44]],{attributes:[_0xeccd[79],_0xeccd[80],_0xeccd[75],_0xeccd[81],_0xeccd[39]]})[_0xeccd[19]](function(_0xa398x17){if(!_0xa398x17){return _0xa398xf[_0xeccd[32]](404)};return _0xa398xf[_0xeccd[17]](_0xa398x17)})[_0xeccd[16]](function(_0xa398x11){return handleError(_0xa398xf,_0xa398x11)})};exports[_0xeccd[83]]=function(_0xa398xe,_0xa398xf){var _0xa398x22;return sequelize[_0xeccd[88]](function(_0xa398x23){return CustomReport[_0xeccd[48]](_0xeccd[47])[_0xeccd[46]](_0xa398xe[_0xeccd[45]][_0xeccd[44]])[_0xeccd[19]](function(_0xa398x17){if(!_0xa398x17){return _0xa398xf[_0xeccd[32]](404)};var _0xa398x24=_0xa398x17[_0xeccd[40]];delete _0xa398x24[_0xeccd[44]];delete _0xa398x24[_0xeccd[84]];delete _0xa398x24[_0xeccd[85]];_0xa398x24[_0xeccd[81]]=_0xa398xe[_0xeccd[86]][_0xeccd[81]];_0xa398x22=_[_0xeccd[87]](_0xa398x24.Fields,_0xeccd[40]);return CustomReport[_0xeccd[76]](_0xa398x24,{transaction:_0xa398x23})})[_0xeccd[19]](function(_0xa398x17){return [_0xa398x17,_0xa398x22]})[_0xeccd[28]](createFields(_0xa398x23))})[_0xeccd[19]](function(){return _0xa398xf[_0xeccd[32]](201)})[_0xeccd[16]](function(_0xa398x11){console[_0xeccd[25]](_0xa398x11);return handleError(_0xa398xf,_0xa398x11)})};exports[_0xeccd[76]]=function(_0xa398xe,_0xa398xf){var _0xa398x15;return sequelize[_0xeccd[88]](function(_0xa398x23){return CustomReport[_0xeccd[76]](_0xa398xe[_0xeccd[86]],{transaction:_0xa398x23})[_0xeccd[19]](function(_0xa398x17){_0xa398x15=_0xa398x17;return [_0xa398x15,_0xa398xe[_0xeccd[86]][_0xeccd[89]]]})[_0xeccd[28]](createFields(_0xa398x23))})[_0xeccd[19]](function(){return _0xa398xf[_0xeccd[18]](201)[_0xeccd[17]](_0xa398x15)})[_0xeccd[16]](function(_0xa398x11){console[_0xeccd[25]](_0xa398x11);return handleError(_0xa398xf,_0xa398x11)})};exports[_0xeccd[90]]=function(_0xa398xe,_0xa398xf){var _0xa398x15;return sequelize[_0xeccd[88]](function(_0xa398x23){return CustomReport[_0xeccd[76]](_0xa398xe[_0xeccd[86]],{transaction:_0xa398x23})[_0xeccd[19]](function(_0xa398x17){_0xa398x15=_0xa398x17;return [_0xa398x15,_0xa398xe[_0xeccd[86]][_0xeccd[89]]]})[_0xeccd[28]](createImportFields(_0xa398x23))})[_0xeccd[19]](function(){return _0xa398xf[_0xeccd[18]](201)[_0xeccd[17]](_0xa398x15)})[_0xeccd[16]](function(_0xa398x11){console[_0xeccd[25]](_0xa398x11);return handleError(_0xa398xf,_0xa398x11)})};exports[_0xeccd[91]]=function(_0xa398xe,_0xa398xf,_0xa398x10){if(_0xa398xe[_0xeccd[86]][_0xeccd[44]]){delete _0xa398xe[_0xeccd[86]][_0xeccd[44]]};var _0xa398x15;return sequelize[_0xeccd[88]](function(_0xa398x23){return CustomReport[_0xeccd[46]](_0xa398xe[_0xeccd[45]][_0xeccd[44]])[_0xeccd[19]](function(_0xa398x17){if(!_0xa398x17){return _0xa398xf[_0xeccd[32]](404)};var _0xa398x25=_[_0xeccd[93]](_0xa398x17,_0xa398xe[_0xeccd[86]]);return _0xa398x17[_0xeccd[94]]({transaction:_0xa398x23})})[_0xeccd[19]](function(_0xa398x17){_0xa398x15=_0xa398x17;if(_0xa398xe[_0xeccd[86]][_0xeccd[89]]){return ReportField[_0xeccd[92]]({where:{CustomReportId:_0xa398xe[_0xeccd[45]][_0xeccd[44]]},transaction:_0xa398x23})}})[_0xeccd[19]](function(){return [_0xa398x15,_0xa398xe[_0xeccd[86]][_0xeccd[89]]]})[_0xeccd[28]](createFields(_0xa398x23))})[_0xeccd[19]](function(){return _0xa398xf[_0xeccd[32]](200)})[_0xeccd[16]](function(_0xa398x11){console[_0xeccd[25]](_0xa398x11);return handleError(_0xa398xf,_0xa398x11)})};function createFields(_0xa398x23){return function(_0xa398x17,_0xa398x27){if(_0xa398x27&&Array[_0xeccd[95]](_0xa398x27)&&_0xa398x27[_0xeccd[50]]){var _0xa398x28=getTable(_0xa398x17[_0xeccd[39]]);if(_0xa398x28){var _0xa398x29;return _0xa398x28[_0xeccd[109]]()[_0xeccd[19]](function(_0xa398x2e){_0xa398x29=_[_0xeccd[107]](_0xa398x2e);return Metric[_0xeccd[108]]()})[_0xeccd[19]](function(_0xa398x2a){var _0xa398x2b=[];_0xa398x2a=_[_0xeccd[87]](_0xa398x2a,_0xeccd[40]);_0xa398x27[_0xeccd[58]](function(_0xa398x2c){_0xa398x2c[_0xeccd[96]]=_0xa398x17[_0xeccd[44]];if(_0xa398x2c[_0xeccd[97]]){var _0xa398x2d=_[_0xeccd[98]](_0xa398x2a,{id:_0xa398x2c[_0xeccd[97]]});if(_0xa398x2d){_0xa398x2c[_0xeccd[99]]=_0xa398x2d[_0xeccd[100]];_0xa398x2b[_0xeccd[101]](ReportField[_0xeccd[76]](_0xa398x2c,{transaction:_0xa398x23}))}else {throw new sequelize.Error(_0xeccd[102]+_0xa398x2c[_0xeccd[97]]+_0xeccd[103])}}else {if(_[_0xeccd[104]](_0xa398x29,_0xa398x2c[_0xeccd[99]])){_0xa398x2b[_0xeccd[101]](ReportField[_0xeccd[76]](_0xa398x2c,{transaction:_0xa398x23}))}else {throw new sequelize.Error(_0xeccd[105]+_0xa398x2c[_0xeccd[99]]+_0xeccd[106])}}});return _0xa398x2b})[_0xeccd[26]]()}else {throw new sequelize.Error(_0xeccd[110])}}}}function createImportFields(_0xa398x23){return function(_0xa398x17,_0xa398x27){if(_0xa398x27&&Array[_0xeccd[95]](_0xa398x27)&&_0xa398x27[_0xeccd[50]]){var _0xa398x28=getTable(_0xa398x17[_0xeccd[39]]);if(_0xa398x28){var _0xa398x29;return _0xa398x28[_0xeccd[109]]()[_0xeccd[19]](function(_0xa398x2e){_0xa398x29=_[_0xeccd[107]](_0xa398x2e);return Metric[_0xeccd[108]]()})[_0xeccd[19]](function(_0xa398x2a){var _0xa398x2b=[];var _0xa398x30=_[_0xeccd[111]](_0xa398x27,_0xeccd[97]);_[_0xeccd[57]](_0xa398x30,function(_0xa398x31,_0xa398x1c){if(_0xa398x1c!==_0xeccd[112]&&_0xa398x1c!==_0xeccd[113]){_0xa398x31[0][_0xeccd[7]][_0xeccd[114]][_0xeccd[58]](function(_0xa398x2c){_0xa398x2c[_0xeccd[96]]=_0xa398x17[_0xeccd[44]]});_0xa398x31[0][_0xeccd[7]][_0xeccd[75]]+=_0xeccd[115]+sr({length:5});console[_0xeccd[25]](_0xeccd[100],_0xa398x31[0].Metric);_0xa398x2b[_0xeccd[101]](Metric[_0xeccd[76]](_0xa398x31[0].Metric,{include:[{model:ReportField,as:_0xeccd[114]}],transaction:_0xa398x23}))}else {_0xa398x31[_0xeccd[58]](function(_0xa398x2c){if(_[_0xeccd[104]](_0xa398x29,_0xa398x2c[_0xeccd[99]])){_0xa398x2c[_0xeccd[96]]=_0xa398x17[_0xeccd[44]];_0xa398x2b[_0xeccd[101]](ReportField[_0xeccd[76]](_0xa398x2c,{transaction:_0xa398x23}))}else {throw new sequelize.Error(_0xeccd[105]+_0xa398x2c[_0xeccd[99]]+_0xeccd[106])}})}});return _0xa398x2b})[_0xeccd[26]]()}else {throw new sequelize.Error(_0xeccd[110])}}}}function getTable(_0xa398x33){var _0xa398x28;switch(_0xa398x33){case _0xeccd[118]:_0xa398x28=require(_0xeccd[4])[_0xeccd[117]][_0xeccd[116]];break;case _0xeccd[120]:_0xa398x28=require(_0xeccd[4])[_0xeccd[117]][_0xeccd[119]];break;case _0xeccd[122]:_0xa398x28=require(_0xeccd[4])[_0xeccd[117]][_0xeccd[121]];break;case _0xeccd[124]:_0xa398x28=require(_0xeccd[4])[_0xeccd[117]][_0xeccd[123]];break;case _0xeccd[126]:_0xa398x28=require(_0xeccd[4])[_0xeccd[117]][_0xeccd[125]];break;case _0xeccd[128]:_0xa398x28=require(_0xeccd[4])[_0xeccd[117]][_0xeccd[127]];break;case _0xeccd[130]:_0xa398x28=require(_0xeccd[4])[_0xeccd[117]][_0xeccd[129]];break;case _0xeccd[132]:_0xa398x28=require(_0xeccd[4])[_0xeccd[117]][_0xeccd[131]];break;case _0xeccd[134]:_0xa398x28=require(_0xeccd[4])[_0xeccd[133]];break;case _0xeccd[136]:_0xa398x28=require(_0xeccd[4])[_0xeccd[135]];break;default:};return _0xa398x28}exports[_0xeccd[92]]=function(_0xa398xe,_0xa398xf){return CustomReport[_0xeccd[46]](_0xa398xe[_0xeccd[45]][_0xeccd[44]])[_0xeccd[19]](function(_0xa398x17){if(!_0xa398x17){return _0xa398xf[_0xeccd[32]](404)};return _0xa398x17[_0xeccd[92]]()})[_0xeccd[19]](function(){return _0xa398xf[_0xeccd[32]](204)})[_0xeccd[16]](function(_0xa398x11){return handleError(_0xa398xf,_0xa398x11)})};exports[_0xeccd[137]]=function(_0xa398xe,_0xa398xf){return CustomReport[_0xeccd[92]]({where:{id:_0xa398xe[_0xeccd[20]][_0xeccd[138]]},individualHooks:true})[_0xeccd[19]](function(){return _0xa398xf[_0xeccd[32]](204)})[_0xeccd[16]](function(_0xa398x11){return handleError(_0xa398xf,_0xa398x11)})};function handleError(_0xa398xf,_0xa398x11){return _0xa398xf[_0xeccd[18]](500)[_0xeccd[17]](_0xa398x11)} \ No newline at end of file +var _0x44a3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x75\x73\x74\x6F\x6D\x52\x65\x70\x6F\x72\x74","\x52\x65\x70\x6F\x72\x74\x46\x69\x65\x6C\x64","\x4D\x65\x74\x72\x69\x63","\x45\x78\x74\x72\x61\x63\x74\x65\x64\x52\x65\x70\x6F\x72\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C\x73\x2F\x72\x65\x70\x6F\x72\x74\x5F\x65\x78\x74\x72\x61\x63\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C\x73\x2F\x72\x65\x70\x6F\x72\x74\x5F\x62\x75\x69\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x69\x6D\x70\x6C\x65\x2D\x72\x61\x6E\x64\x6F\x6D","\x6D\x6F\x6D\x65\x6E\x74","\x63\x68\x69\x6C\x64\x5F\x70\x72\x6F\x63\x65\x73\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x67\x65\x74\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x72\x79","\x45\x72\x72\x6F\x72\x20\x67\x65\x74\x74\x69\x6E\x67\x20\x71\x75\x65\x72\x79\x20\x66\x72\x6F\x6D\x20\x61\x70\x69\x3A","\x6C\x6F\x67","\x61\x6C\x6C","\x62\x75\x69\x6C\x64\x51\x75\x65\x72\x79","\x73\x70\x72\x65\x61\x64","\x75\x73\x65\x72","\x62\x75\x69\x6C\x64\x46\x69\x6C\x74\x65\x72","\x66\x6F\x75\x6E\x64\x20\x72\x65\x70\x6F\x72\x74","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x64\x61\x69\x6C\x79","\x74\x72\x75\x65","\x73\x74\x61\x72\x74\x44\x61\x74\x65","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44","\x66\x6F\x72\x6D\x61\x74","\x65\x6E\x64\x44\x61\x74\x65","\x74\x61\x62\x6C\x65","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x5F\x68\x69\x73\x74\x6F\x72\x79","","\x72\x65\x70\x6C\x61\x63\x65","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x66\x69\x65\x6C\x64\x73","\x73\x63\x6F\x70\x65","\x70\x72\x65\x76\x69\x65\x77","\x6C\x65\x6E\x67\x74\x68","\x6C\x69\x6D\x69\x74","\x76\x61\x6C\x75\x65","\x74\x61\x6B\x65","\x6F\x66\x66\x73\x65\x74","\x73\x6C\x69\x63\x65","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\x66\x6F\x72\x4F\x77\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\x65\x78\x74\x72\x61\x63\x74\x50\x64\x66","\x50\x44\x46","\x65\x78\x74\x72\x61\x63\x74\x43\x73\x76","\x43\x53\x56","\x2F\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C\x73\x2F\x72\x65\x70\x6F\x72\x74\x5F\x65\x78\x74\x72\x61\x63\x74\x69\x6F\x6E\x2E\x6A\x73","\x66\x6F\x72\x6B","\x65\x72\x72\x6F\x72","\x63\x68\x69\x6C\x64\x20\x65\x72\x72\x6F\x72","\x6F\x6E","\x63\x6C\x6F\x73\x65","\x63\x68\x69\x6C\x64\x20\x63\x6C\x6F\x73\x65","\x6D\x65\x73\x73\x61\x67\x65","\x63\x68\x69\x6C\x64\x20\x6D\x65\x73\x73\x61\x67\x65","\x6B\x69\x6C\x6C","\x6E\x61\x6D\x65","\x63\x72\x65\x61\x74\x65","\x73\x68\x6F\x77","\x65\x78\x70\x6F\x72\x74","\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x70\x61\x72\x65\x6E\x74","\x65\x78\x70\x6F\x72\x74\x46\x69\x65\x6C\x64\x73","\x63\x6F\x70\x79","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x75\x70\x64\x61\x74\x65\x64\x41\x74","\x62\x6F\x64\x79","\x6D\x61\x70","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x46\x69\x65\x6C\x64\x73","\x69\x6D\x70\x6F\x72\x74","\x75\x70\x64\x61\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x69\x73\x41\x72\x72\x61\x79","\x43\x75\x73\x74\x6F\x6D\x52\x65\x70\x6F\x72\x74\x49\x64","\x4D\x65\x74\x72\x69\x63\x49\x64","\x66\x69\x6E\x64","\x66\x69\x65\x6C\x64","\x6D\x65\x74\x72\x69\x63","\x70\x75\x73\x68","\x54\x68\x65\x20\x6D\x65\x74\x72\x69\x63\x20\x77\x69\x74\x68\x20\x69\x64\x20","\x20\x79\x6F\x75\x20\x73\x70\x65\x63\x69\x66\x69\x65\x64\x20\x64\x6F\x65\x73\x20\x6E\x6F\x74\x20\x65\x78\x69\x73\x74","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x54\x68\x65\x20\x66\x69\x65\x6C\x64\x20","\x20\x79\x6F\x75\x20\x73\x70\x65\x63\x69\x66\x69\x65\x64\x20\x64\x6F\x65\x73\x20\x6E\x6F\x74\x20\x65\x78\x69\x73\x74\x20\x69\x6E\x20\x74\x68\x65\x20\x74\x61\x62\x6C\x65","\x6B\x65\x79\x73","\x66\x69\x6E\x64\x41\x6C\x6C","\x64\x65\x73\x63\x72\x69\x62\x65","\x59\x6F\x75\x20\x68\x61\x76\x65\x20\x6E\x6F\x74\x20\x73\x70\x65\x63\x69\x66\x69\x65\x64\x20\x74\x68\x65\x20\x74\x61\x62\x6C\x65\x20\x6F\x72\x20\x74\x68\x65\x20\x74\x61\x62\x6C\x65\x20\x64\x6F\x65\x73\x20\x6E\x6F\x74\x20\x65\x78\x69\x73\x74","\x67\x72\x6F\x75\x70\x42\x79","\x75\x6E\x64\x65\x66\x69\x6E\x65\x64","\x6E\x75\x6C\x6C","\x52\x65\x70\x6F\x72\x74\x46\x69\x65\x6C\x64\x73","\x5F","\x52\x65\x70\x6F\x72\x74\x41\x67\x65\x6E\x74\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x5F\x68\x69\x73\x74\x6F\x72\x79","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x53\x65\x73\x73\x69\x6F\x6E\x48\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x73\x65\x73\x73\x69\x6F\x6E\x5F\x68\x69\x73\x74\x6F\x72\x79","\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x75\x65\x48\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x5F\x68\x69\x73\x74\x6F\x72\x79","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x53\x65\x73\x73\x69\x6F\x6E\x48\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x73\x65\x73\x73\x69\x6F\x6E\x5F\x68\x69\x73\x74\x6F\x72\x79","\x52\x65\x70\x6F\x72\x74\x43\x61\x6C\x6C\x48\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x5F\x68\x69\x73\x74\x6F\x72\x79","\x52\x65\x70\x6F\x72\x74\x4D\x65\x6D\x62\x65\x72\x48\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x65\x6D\x62\x65\x72\x5F\x68\x69\x73\x74\x6F\x72\x79","\x52\x65\x70\x6F\x72\x74\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x48\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x5F\x68\x69\x73\x74\x6F\x72\x79","\x52\x65\x70\x6F\x72\x74\x53\x6D\x73\x53\x65\x73\x73\x69\x6F\x6E\x48\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x5F\x73\x65\x73\x73\x69\x6F\x6E\x5F\x68\x69\x73\x74\x6F\x72\x79","\x43\x6F\x6E\x74\x61\x63\x74","\x63\x6D\x5F\x63\x6F\x6E\x74\x61\x63\x74\x73","\x56\x6F\x69\x63\x65\x52\x65\x63\x6F\x72\x64\x69\x6E\x67","\x76\x6F\x69\x63\x65\x5F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67\x73","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0x44a3[0];var _=require(_0x44a3[1]);var util=require(_0x44a3[2]);var sequelize=require(_0x44a3[4])[_0x44a3[3]];var CustomReport=require(_0x44a3[4])[_0x44a3[5]];var ReportField=require(_0x44a3[4])[_0x44a3[6]];var Metric=require(_0x44a3[4])[_0x44a3[7]];var ExtractedReport=require(_0x44a3[4])[_0x44a3[8]];var extractUtils=require(_0x44a3[9]);var reportBuildUtils=require(_0x44a3[10]);var Util=require(_0x44a3[11]);var sr=require(_0x44a3[12]);var moment=require(_0x44a3[13]);var cp=require(_0x44a3[14]);exports[_0x44a3[15]]=function(_0xcf6axe,_0xcf6axf,_0xcf6ax10){return CustomReport[_0x44a3[22]](Util[_0x44a3[21]](_0xcf6axe[_0x44a3[20]]))[_0x44a3[19]](function(_0xcf6ax12){_0xcf6axf[_0x44a3[18]](200)[_0x44a3[17]](_0xcf6ax12)})[_0x44a3[16]](function(_0xcf6ax11){return handleError(_0xcf6axf,_0xcf6ax11)})};exports[_0x44a3[23]]=function(_0xcf6axe,_0xcf6axf){return Promise[_0x44a3[26]]([])[_0x44a3[19]](getQuery(_0xcf6axe,_0xcf6axf))[_0x44a3[19]](function(_0xcf6ax13){_0xcf6axf[_0x44a3[18]](200)[_0x44a3[17]]({query:_0xcf6ax13})})[_0x44a3[16]](function(_0xcf6ax11){console[_0x44a3[25]](_0x44a3[24],_0xcf6ax11)})};function getQuery(_0xcf6axe,_0xcf6axf){var _0xcf6ax15;return function(){return CustomReport[_0x44a3[48]](_0x44a3[47])[_0x44a3[46]](_0xcf6axe[_0x44a3[45]][_0x44a3[44]])[_0x44a3[19]](function(_0xcf6ax17){console[_0x44a3[25]](_0x44a3[31]);if(!_0xcf6ax17){return _0xcf6axf[_0x44a3[32]](404)};if(_0xcf6axe[_0x44a3[20]][_0x44a3[33]]&&_0xcf6axe[_0x44a3[20]][_0x44a3[33]]===_0x44a3[34]){_0xcf6axe[_0x44a3[20]][_0x44a3[35]]=moment()[_0x44a3[37]](_0x44a3[36]);_0xcf6axe[_0x44a3[20]][_0x44a3[38]]=moment()[_0x44a3[37]](_0x44a3[36]);_0xcf6ax17[_0x44a3[40]][_0x44a3[39]]=_0xcf6ax17[_0x44a3[40]][_0x44a3[39]][_0x44a3[43]](_0x44a3[41],_0x44a3[42])};delete _0xcf6axe[_0x44a3[20]][_0x44a3[33]];_0xcf6ax15=_0xcf6ax17[_0x44a3[40]];return _0xcf6ax15[_0x44a3[39]]})[_0x44a3[19]](reportBuildUtils[_0x44a3[30]](_0xcf6axe[_0x44a3[29]]))[_0x44a3[19]](function(_0xcf6ax16){return [_0xcf6ax16,_0xcf6ax15]})[_0x44a3[28]](reportBuildUtils[_0x44a3[27]](_0xcf6axe[_0x44a3[20]]))}}exports[_0x44a3[49]]=function(_0xcf6axe,_0xcf6axf){var _0xcf6ax18;return Promise[_0x44a3[26]]([])[_0x44a3[19]](getQuery(_0xcf6axe,_0xcf6axf))[_0x44a3[19]](function(_0xcf6ax13){return _0xcf6ax13?sequelize[_0x44a3[20]](_0xcf6ax13,{type:sequelize[_0x44a3[60]][_0x44a3[59]]}):[]})[_0x44a3[19]](function(_0xcf6ax19){_0xcf6ax18=_0xcf6ax19[_0x44a3[50]];if(_0xcf6axe[_0x44a3[20]][_0x44a3[51]]){_0xcf6ax19=_(_0xcf6ax19)[_0x44a3[55]](_0xcf6axe[_0x44a3[20]][_0x44a3[54]]||0)[_0x44a3[53]](_0xcf6axe[_0x44a3[20]][_0x44a3[51]])[_0x44a3[52]]()};_[_0x44a3[58]](_0xcf6ax19,function(_0xcf6ax1a){_[_0x44a3[57]](_0xcf6ax1a,function(_0xcf6ax1b,_0xcf6ax1c){if(_0xcf6ax1b instanceof Date){_0xcf6ax1a[_0xcf6ax1c]=moment(_0xcf6ax1b)[_0x44a3[37]](_0x44a3[56]).toString()}})});_0xcf6axf[_0x44a3[18]](200)[_0x44a3[17]]({rows:_0xcf6ax19,count:_0xcf6ax18})})[_0x44a3[16]](function(_0xcf6ax11){console[_0x44a3[25]](_0xcf6ax11);return handleError(_0xcf6axf,_0xcf6ax11)})};exports[_0x44a3[61]]=function(_0xcf6axe,_0xcf6axf){docExtract(_0xcf6axe,_0xcf6axf,_0x44a3[62])};exports[_0x44a3[63]]=function(_0xcf6axe,_0xcf6axf){docExtract(_0xcf6axe,_0xcf6axf,_0x44a3[64])};function docExtract(_0xcf6axe,_0xcf6axf,_0xcf6ax1e){CustomReport[_0x44a3[48]](_0x44a3[47])[_0x44a3[46]](_0xcf6axe[_0x44a3[45]][_0x44a3[44]])[_0x44a3[19]](function(_0xcf6ax17){if(!_0xcf6ax17){return _0xcf6axf[_0x44a3[32]](404)};if(_0xcf6axe[_0x44a3[20]][_0x44a3[33]]&&_0xcf6axe[_0x44a3[20]][_0x44a3[33]]===_0x44a3[34]){_0xcf6axe[_0x44a3[20]][_0x44a3[35]]=moment()[_0x44a3[37]](_0x44a3[36]);_0xcf6axe[_0x44a3[20]][_0x44a3[38]]=moment()[_0x44a3[37]](_0x44a3[36]);_0xcf6ax17[_0x44a3[40]][_0x44a3[39]]=_0xcf6ax17[_0x44a3[40]][_0x44a3[39]][_0x44a3[43]](_0x44a3[41],_0x44a3[42])};delete _0xcf6axe[_0x44a3[20]][_0x44a3[33]];return [_0xcf6ax17,ExtractedReport[_0x44a3[76]]({name:_0xcf6ax17[_0x44a3[75]],startDate:_0xcf6axe[_0x44a3[20]][_0x44a3[35]]||null,endDate:_0xcf6axe[_0x44a3[20]][_0x44a3[38]]||null,output:_0xcf6ax1e,UserId:_0xcf6axe[_0x44a3[29]][_0x44a3[44]]})]})[_0x44a3[28]](function(_0xcf6ax17,_0xcf6ax1f){var _0xcf6ax20=cp[_0x44a3[66]](__dirname+_0x44a3[65]);_0xcf6ax20[_0x44a3[69]](_0x44a3[72],function(_0xcf6ax21){console[_0x44a3[25]](_0x44a3[73],_0xcf6ax21);_0xcf6ax20[_0x44a3[74]]()})[_0x44a3[69]](_0x44a3[70],function(){console[_0x44a3[25]](_0x44a3[71])})[_0x44a3[69]](_0x44a3[67],function(_0xcf6ax11){console[_0x44a3[25]](_0x44a3[68],_0xcf6ax11)});_0xcf6ax20[_0x44a3[17]]({report:_0xcf6ax17,query:_0xcf6axe[_0x44a3[20]],extractedId:_0xcf6ax1f[_0x44a3[44]],user:_0xcf6axe[_0x44a3[29]],type:_0xcf6ax1e})})[_0x44a3[16]](function(_0xcf6ax11){console[_0x44a3[25]](_0xcf6ax11);return handleError(_0xcf6axf,_0xcf6ax11)});return _0xcf6axf[_0x44a3[32]](200)}exports[_0x44a3[77]]=function(_0xcf6axe,_0xcf6axf){return CustomReport[_0x44a3[48]](_0x44a3[47])[_0x44a3[46]](_0xcf6axe[_0x44a3[45]][_0x44a3[44]])[_0x44a3[19]](function(_0xcf6ax17){if(!_0xcf6ax17){return _0xcf6axf[_0x44a3[32]](404)};return _0xcf6axf[_0x44a3[17]](_0xcf6ax17)})[_0x44a3[16]](function(_0xcf6ax11){return handleError(_0xcf6axf,_0xcf6ax11)})};exports[_0x44a3[78]]=function(_0xcf6axe,_0xcf6axf){return CustomReport[_0x44a3[48]]({method:[_0x44a3[82],{CustomReportId:_0xcf6axe[_0x44a3[45]][_0x44a3[44]]}]})[_0x44a3[46]](_0xcf6axe[_0x44a3[45]][_0x44a3[44]],{attributes:[_0x44a3[79],_0x44a3[80],_0x44a3[75],_0x44a3[81],_0x44a3[39]]})[_0x44a3[19]](function(_0xcf6ax17){if(!_0xcf6ax17){return _0xcf6axf[_0x44a3[32]](404)};return _0xcf6axf[_0x44a3[17]](_0xcf6ax17)})[_0x44a3[16]](function(_0xcf6ax11){return handleError(_0xcf6axf,_0xcf6ax11)})};exports[_0x44a3[83]]=function(_0xcf6axe,_0xcf6axf){var _0xcf6ax22;return sequelize[_0x44a3[88]](function(_0xcf6ax23){return CustomReport[_0x44a3[48]](_0x44a3[47])[_0x44a3[46]](_0xcf6axe[_0x44a3[45]][_0x44a3[44]])[_0x44a3[19]](function(_0xcf6ax17){if(!_0xcf6ax17){return _0xcf6axf[_0x44a3[32]](404)};var _0xcf6ax24=_0xcf6ax17[_0x44a3[40]];delete _0xcf6ax24[_0x44a3[44]];delete _0xcf6ax24[_0x44a3[84]];delete _0xcf6ax24[_0x44a3[85]];_0xcf6ax24[_0x44a3[81]]=_0xcf6axe[_0x44a3[86]][_0x44a3[81]];_0xcf6ax22=_[_0x44a3[87]](_0xcf6ax24.Fields,_0x44a3[40]);return CustomReport[_0x44a3[76]](_0xcf6ax24,{transaction:_0xcf6ax23})})[_0x44a3[19]](function(_0xcf6ax17){return [_0xcf6ax17,_0xcf6ax22]})[_0x44a3[28]](createFields(_0xcf6ax23))})[_0x44a3[19]](function(){return _0xcf6axf[_0x44a3[32]](201)})[_0x44a3[16]](function(_0xcf6ax11){console[_0x44a3[25]](_0xcf6ax11);return handleError(_0xcf6axf,_0xcf6ax11)})};exports[_0x44a3[76]]=function(_0xcf6axe,_0xcf6axf){var _0xcf6ax15;return sequelize[_0x44a3[88]](function(_0xcf6ax23){return CustomReport[_0x44a3[76]](_0xcf6axe[_0x44a3[86]],{transaction:_0xcf6ax23})[_0x44a3[19]](function(_0xcf6ax17){_0xcf6ax15=_0xcf6ax17;return [_0xcf6ax15,_0xcf6axe[_0x44a3[86]][_0x44a3[89]]]})[_0x44a3[28]](createFields(_0xcf6ax23))})[_0x44a3[19]](function(){return _0xcf6axf[_0x44a3[18]](201)[_0x44a3[17]](_0xcf6ax15)})[_0x44a3[16]](function(_0xcf6ax11){console[_0x44a3[25]](_0xcf6ax11);return handleError(_0xcf6axf,_0xcf6ax11)})};exports[_0x44a3[90]]=function(_0xcf6axe,_0xcf6axf){var _0xcf6ax15;return sequelize[_0x44a3[88]](function(_0xcf6ax23){return CustomReport[_0x44a3[76]](_0xcf6axe[_0x44a3[86]],{transaction:_0xcf6ax23})[_0x44a3[19]](function(_0xcf6ax17){_0xcf6ax15=_0xcf6ax17;return [_0xcf6ax15,_0xcf6axe[_0x44a3[86]][_0x44a3[89]]]})[_0x44a3[28]](createImportFields(_0xcf6ax23))})[_0x44a3[19]](function(){return _0xcf6axf[_0x44a3[18]](201)[_0x44a3[17]](_0xcf6ax15)})[_0x44a3[16]](function(_0xcf6ax11){console[_0x44a3[25]](_0xcf6ax11);return handleError(_0xcf6axf,_0xcf6ax11)})};exports[_0x44a3[91]]=function(_0xcf6axe,_0xcf6axf,_0xcf6ax10){if(_0xcf6axe[_0x44a3[86]][_0x44a3[44]]){delete _0xcf6axe[_0x44a3[86]][_0x44a3[44]]};var _0xcf6ax15;return sequelize[_0x44a3[88]](function(_0xcf6ax23){return CustomReport[_0x44a3[46]](_0xcf6axe[_0x44a3[45]][_0x44a3[44]])[_0x44a3[19]](function(_0xcf6ax17){if(!_0xcf6ax17){return _0xcf6axf[_0x44a3[32]](404)};var _0xcf6ax25=_[_0x44a3[93]](_0xcf6ax17,_0xcf6axe[_0x44a3[86]]);return _0xcf6ax17[_0x44a3[94]]({transaction:_0xcf6ax23})})[_0x44a3[19]](function(_0xcf6ax17){_0xcf6ax15=_0xcf6ax17;if(_0xcf6axe[_0x44a3[86]][_0x44a3[89]]){return ReportField[_0x44a3[92]]({where:{CustomReportId:_0xcf6axe[_0x44a3[45]][_0x44a3[44]]},transaction:_0xcf6ax23})}})[_0x44a3[19]](function(){return [_0xcf6ax15,_0xcf6axe[_0x44a3[86]][_0x44a3[89]]]})[_0x44a3[28]](createFields(_0xcf6ax23))})[_0x44a3[19]](function(){return _0xcf6axf[_0x44a3[32]](200)})[_0x44a3[16]](function(_0xcf6ax11){console[_0x44a3[25]](_0xcf6ax11);return handleError(_0xcf6axf,_0xcf6ax11)})};function createFields(_0xcf6ax23){return function(_0xcf6ax17,_0xcf6ax27){if(_0xcf6ax27&&Array[_0x44a3[95]](_0xcf6ax27)&&_0xcf6ax27[_0x44a3[50]]){var _0xcf6ax28=getTable(_0xcf6ax17[_0x44a3[39]]);if(_0xcf6ax28){var _0xcf6ax29;return _0xcf6ax28[_0x44a3[109]]()[_0x44a3[19]](function(_0xcf6ax2e){_0xcf6ax29=_[_0x44a3[107]](_0xcf6ax2e);return Metric[_0x44a3[108]]()})[_0x44a3[19]](function(_0xcf6ax2a){var _0xcf6ax2b=[];_0xcf6ax2a=_[_0x44a3[87]](_0xcf6ax2a,_0x44a3[40]);_0xcf6ax27[_0x44a3[58]](function(_0xcf6ax2c){_0xcf6ax2c[_0x44a3[96]]=_0xcf6ax17[_0x44a3[44]];if(_0xcf6ax2c[_0x44a3[97]]){var _0xcf6ax2d=_[_0x44a3[98]](_0xcf6ax2a,{id:_0xcf6ax2c[_0x44a3[97]]});if(_0xcf6ax2d){_0xcf6ax2c[_0x44a3[99]]=_0xcf6ax2d[_0x44a3[100]];_0xcf6ax2b[_0x44a3[101]](ReportField[_0x44a3[76]](_0xcf6ax2c,{transaction:_0xcf6ax23}))}else {throw new sequelize.Error(_0x44a3[102]+_0xcf6ax2c[_0x44a3[97]]+_0x44a3[103])}}else {if(_[_0x44a3[104]](_0xcf6ax29,_0xcf6ax2c[_0x44a3[99]])){_0xcf6ax2b[_0x44a3[101]](ReportField[_0x44a3[76]](_0xcf6ax2c,{transaction:_0xcf6ax23}))}else {throw new sequelize.Error(_0x44a3[105]+_0xcf6ax2c[_0x44a3[99]]+_0x44a3[106])}}});return _0xcf6ax2b})[_0x44a3[26]]()}else {throw new sequelize.Error(_0x44a3[110])}}}}function createImportFields(_0xcf6ax23){return function(_0xcf6ax17,_0xcf6ax27){if(_0xcf6ax27&&Array[_0x44a3[95]](_0xcf6ax27)&&_0xcf6ax27[_0x44a3[50]]){var _0xcf6ax28=getTable(_0xcf6ax17[_0x44a3[39]]);if(_0xcf6ax28){var _0xcf6ax29;return _0xcf6ax28[_0x44a3[109]]()[_0x44a3[19]](function(_0xcf6ax2e){_0xcf6ax29=_[_0x44a3[107]](_0xcf6ax2e);return Metric[_0x44a3[108]]()})[_0x44a3[19]](function(_0xcf6ax2a){var _0xcf6ax2b=[];var _0xcf6ax30=_[_0x44a3[111]](_0xcf6ax27,_0x44a3[97]);_[_0x44a3[57]](_0xcf6ax30,function(_0xcf6ax31,_0xcf6ax1c){if(_0xcf6ax1c!==_0x44a3[112]&&_0xcf6ax1c!==_0x44a3[113]){_0xcf6ax31[0][_0x44a3[7]][_0x44a3[114]][_0x44a3[58]](function(_0xcf6ax2c){_0xcf6ax2c[_0x44a3[96]]=_0xcf6ax17[_0x44a3[44]]});_0xcf6ax31[0][_0x44a3[7]][_0x44a3[75]]+=_0x44a3[115]+sr({length:5});console[_0x44a3[25]](_0x44a3[100],_0xcf6ax31[0].Metric);_0xcf6ax2b[_0x44a3[101]](Metric[_0x44a3[76]](_0xcf6ax31[0].Metric,{include:[{model:ReportField,as:_0x44a3[114]}],transaction:_0xcf6ax23}))}else {_0xcf6ax31[_0x44a3[58]](function(_0xcf6ax2c){if(_[_0x44a3[104]](_0xcf6ax29,_0xcf6ax2c[_0x44a3[99]])){_0xcf6ax2c[_0x44a3[96]]=_0xcf6ax17[_0x44a3[44]];_0xcf6ax2b[_0x44a3[101]](ReportField[_0x44a3[76]](_0xcf6ax2c,{transaction:_0xcf6ax23}))}else {throw new sequelize.Error(_0x44a3[105]+_0xcf6ax2c[_0x44a3[99]]+_0x44a3[106])}})}});return _0xcf6ax2b})[_0x44a3[26]]()}else {throw new sequelize.Error(_0x44a3[110])}}}}function getTable(_0xcf6ax33){var _0xcf6ax28;switch(_0xcf6ax33){case _0x44a3[118]:_0xcf6ax28=require(_0x44a3[4])[_0x44a3[117]][_0x44a3[116]];break;case _0x44a3[120]:_0xcf6ax28=require(_0x44a3[4])[_0x44a3[117]][_0x44a3[119]];break;case _0x44a3[122]:_0xcf6ax28=require(_0x44a3[4])[_0x44a3[117]][_0x44a3[121]];break;case _0x44a3[124]:_0xcf6ax28=require(_0x44a3[4])[_0x44a3[117]][_0x44a3[123]];break;case _0x44a3[126]:_0xcf6ax28=require(_0x44a3[4])[_0x44a3[117]][_0x44a3[125]];break;case _0x44a3[128]:_0xcf6ax28=require(_0x44a3[4])[_0x44a3[117]][_0x44a3[127]];break;case _0x44a3[130]:_0xcf6ax28=require(_0x44a3[4])[_0x44a3[117]][_0x44a3[129]];break;case _0x44a3[132]:_0xcf6ax28=require(_0x44a3[4])[_0x44a3[117]][_0x44a3[131]];break;case _0x44a3[134]:_0xcf6ax28=require(_0x44a3[4])[_0x44a3[133]];break;case _0x44a3[136]:_0xcf6ax28=require(_0x44a3[4])[_0x44a3[135]];break;default:};return _0xcf6ax28}exports[_0x44a3[92]]=function(_0xcf6axe,_0xcf6axf){return CustomReport[_0x44a3[46]](_0xcf6axe[_0x44a3[45]][_0x44a3[44]])[_0x44a3[19]](function(_0xcf6ax17){if(!_0xcf6ax17){return _0xcf6axf[_0x44a3[32]](404)};return _0xcf6ax17[_0x44a3[92]]()})[_0x44a3[19]](function(){return _0xcf6axf[_0x44a3[32]](204)})[_0x44a3[16]](function(_0xcf6ax11){return handleError(_0xcf6axf,_0xcf6ax11)})};exports[_0x44a3[137]]=function(_0xcf6axe,_0xcf6axf){return CustomReport[_0x44a3[92]]({where:{id:_0xcf6axe[_0x44a3[20]][_0x44a3[138]]},individualHooks:true})[_0x44a3[19]](function(){return _0xcf6axf[_0x44a3[32]](204)})[_0x44a3[16]](function(_0xcf6ax11){return handleError(_0xcf6axf,_0xcf6ax11)})};function handleError(_0xcf6axf,_0xcf6ax11){return _0xcf6axf[_0x44a3[18]](500)[_0x44a3[17]](_0xcf6ax11)} \ No newline at end of file diff --git a/server/api/custom_report/custom_report.socket.js b/server/api/custom_report/custom_report.socket.js index 026f61c..d8f8082 100644 --- a/server/api/custom_report/custom_report.socket.js +++ b/server/api/custom_report/custom_report.socket.js @@ -1 +1 @@ -var _0xa1d1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x75\x73\x74\x6F\x6D\x52\x65\x70\x6F\x72\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x75\x73\x74\x6F\x6D\x5F\x72\x65\x70\x6F\x72\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x75\x73\x74\x6F\x6D\x5F\x72\x65\x70\x6F\x72\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0xa1d1[0];var CustomReport=require(_0xa1d1[2])[_0xa1d1[1]];exports[_0xa1d1[3]]=function(_0xed6bx2){CustomReport[_0xa1d1[4]](function(_0xed6bx3){onSave(_0xed6bx2,_0xed6bx3)});CustomReport[_0xa1d1[5]](function(_0xed6bx3){onRemove(_0xed6bx2,_0xed6bx3)})};function onSave(_0xed6bx2,_0xed6bx3,_0xed6bx5){_0xed6bx2[_0xa1d1[7]](_0xa1d1[6],_0xed6bx3)}function onRemove(_0xed6bx2,_0xed6bx3,_0xed6bx5){_0xed6bx2[_0xa1d1[7]](_0xa1d1[8],_0xed6bx3)} \ No newline at end of file +var _0x4f89=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x43\x75\x73\x74\x6F\x6D\x52\x65\x70\x6F\x72\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x75\x73\x74\x6F\x6D\x5F\x72\x65\x70\x6F\x72\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x75\x73\x74\x6F\x6D\x5F\x72\x65\x70\x6F\x72\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x4f89[0];var CustomReport=require(_0x4f89[2])[_0x4f89[1]];exports[_0x4f89[3]]=function(_0x2879x2){CustomReport[_0x4f89[4]](function(_0x2879x3){onSave(_0x2879x2,_0x2879x3)});CustomReport[_0x4f89[5]](function(_0x2879x3){onRemove(_0x2879x2,_0x2879x3)})};function onSave(_0x2879x2,_0x2879x3,_0x2879x5){_0x2879x2[_0x4f89[7]](_0x4f89[6],_0x2879x3)}function onRemove(_0x2879x2,_0x2879x3,_0x2879x5){_0x2879x2[_0x4f89[7]](_0x4f89[8],_0x2879x3)} \ No newline at end of file diff --git a/server/api/custom_report/index.js b/server/api/custom_report/index.js index bccb6f3..f3a04f7 100644 --- a/server/api/custom_report/index.js +++ b/server/api/custom_report/index.js @@ -1 +1 @@ -var _0xc5e1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x63\x75\x73\x74\x6F\x6D\x5F\x72\x65\x70\x6F\x72\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64\x2F\x70\x72\x65\x76\x69\x65\x77","\x70\x72\x65\x76\x69\x65\x77","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x71\x75\x65\x72\x79","\x67\x65\x74\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x72\x79","\x2F\x3A\x69\x64\x2F\x65\x78\x70\x6F\x72\x74","\x65\x78\x70\x6F\x72\x74","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x3A\x69\x64\x2F\x65\x78\x74\x72\x61\x63\x74\x2F\x70\x64\x66","\x65\x78\x74\x72\x61\x63\x74\x50\x64\x66","\x2F\x3A\x69\x64\x2F\x65\x78\x74\x72\x61\x63\x74\x2F\x63\x73\x76","\x65\x78\x74\x72\x61\x63\x74\x43\x73\x76","\x2F\x69\x6D\x70\x6F\x72\x74","\x69\x6D\x70\x6F\x72\x74","\x2F\x3A\x69\x64\x2F\x63\x6F\x70\x79","\x63\x6F\x70\x79","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0xc5e1[0];var express=require(_0xc5e1[1]);var controller=require(_0xc5e1[2]);var auth=require(_0xc5e1[3]);var router=express.Router();router[_0xc5e1[9]](_0xc5e1[4],auth[_0xc5e1[5]](),auth[_0xc5e1[7]]([17],[_0xc5e1[6]]),controller[_0xc5e1[8]]);router[_0xc5e1[9]](_0xc5e1[10],auth[_0xc5e1[5]](),auth[_0xc5e1[7]]([17],[_0xc5e1[6]]),controller[_0xc5e1[11]]);router[_0xc5e1[9]](_0xc5e1[12],auth[_0xc5e1[5]](),auth[_0xc5e1[7]]([17],[_0xc5e1[6]]),controller[_0xc5e1[13]]);router[_0xc5e1[9]](_0xc5e1[14],auth[_0xc5e1[5]](),auth[_0xc5e1[7]]([17],[_0xc5e1[6]]),controller[_0xc5e1[15]]);router[_0xc5e1[9]](_0xc5e1[16],auth[_0xc5e1[5]](),auth[_0xc5e1[7]]([17],[_0xc5e1[6]]),controller[_0xc5e1[17]]);router[_0xc5e1[19]](_0xc5e1[4],auth[_0xc5e1[5]](),auth[_0xc5e1[7]]([17],[_0xc5e1[6]]),controller[_0xc5e1[18]]);router[_0xc5e1[9]](_0xc5e1[20],auth[_0xc5e1[5]](),auth[_0xc5e1[7]]([17],[_0xc5e1[6]]),controller[_0xc5e1[21]]);router[_0xc5e1[9]](_0xc5e1[22],auth[_0xc5e1[5]](),auth[_0xc5e1[7]]([17],[_0xc5e1[6]]),controller[_0xc5e1[23]]);router[_0xc5e1[19]](_0xc5e1[24],auth[_0xc5e1[5]](),auth[_0xc5e1[7]]([17],[_0xc5e1[6]]),controller[_0xc5e1[25]]);router[_0xc5e1[19]](_0xc5e1[26],auth[_0xc5e1[5]](),auth[_0xc5e1[7]]([17],[_0xc5e1[6]]),controller[_0xc5e1[27]]);router[_0xc5e1[29]](_0xc5e1[12],auth[_0xc5e1[5]](),auth[_0xc5e1[7]]([17],[_0xc5e1[6]]),controller[_0xc5e1[28]]);router[_0xc5e1[31]](_0xc5e1[4],auth[_0xc5e1[5]](),auth[_0xc5e1[7]]([17],[_0xc5e1[6]]),controller[_0xc5e1[30]]);router[_0xc5e1[31]](_0xc5e1[12],auth[_0xc5e1[5]](),auth[_0xc5e1[7]]([17],[_0xc5e1[6]]),controller[_0xc5e1[32]]);module[_0xc5e1[33]]=router \ No newline at end of file +var _0x429e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x63\x75\x73\x74\x6F\x6D\x5F\x72\x65\x70\x6F\x72\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64\x2F\x70\x72\x65\x76\x69\x65\x77","\x70\x72\x65\x76\x69\x65\x77","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x71\x75\x65\x72\x79","\x67\x65\x74\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x72\x79","\x2F\x3A\x69\x64\x2F\x65\x78\x70\x6F\x72\x74","\x65\x78\x70\x6F\x72\x74","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x3A\x69\x64\x2F\x65\x78\x74\x72\x61\x63\x74\x2F\x70\x64\x66","\x65\x78\x74\x72\x61\x63\x74\x50\x64\x66","\x2F\x3A\x69\x64\x2F\x65\x78\x74\x72\x61\x63\x74\x2F\x63\x73\x76","\x65\x78\x74\x72\x61\x63\x74\x43\x73\x76","\x2F\x69\x6D\x70\x6F\x72\x74","\x69\x6D\x70\x6F\x72\x74","\x2F\x3A\x69\x64\x2F\x63\x6F\x70\x79","\x63\x6F\x70\x79","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x429e[0];var express=require(_0x429e[1]);var controller=require(_0x429e[2]);var auth=require(_0x429e[3]);var router=express.Router();router[_0x429e[9]](_0x429e[4],auth[_0x429e[5]](),auth[_0x429e[7]]([17],[_0x429e[6]]),controller[_0x429e[8]]);router[_0x429e[9]](_0x429e[10],auth[_0x429e[5]](),auth[_0x429e[7]]([17],[_0x429e[6]]),controller[_0x429e[11]]);router[_0x429e[9]](_0x429e[12],auth[_0x429e[5]](),auth[_0x429e[7]]([17],[_0x429e[6]]),controller[_0x429e[13]]);router[_0x429e[9]](_0x429e[14],auth[_0x429e[5]](),auth[_0x429e[7]]([17],[_0x429e[6]]),controller[_0x429e[15]]);router[_0x429e[9]](_0x429e[16],auth[_0x429e[5]](),auth[_0x429e[7]]([17],[_0x429e[6]]),controller[_0x429e[17]]);router[_0x429e[19]](_0x429e[4],auth[_0x429e[5]](),auth[_0x429e[7]]([17],[_0x429e[6]]),controller[_0x429e[18]]);router[_0x429e[9]](_0x429e[20],auth[_0x429e[5]](),auth[_0x429e[7]]([17],[_0x429e[6]]),controller[_0x429e[21]]);router[_0x429e[9]](_0x429e[22],auth[_0x429e[5]](),auth[_0x429e[7]]([17],[_0x429e[6]]),controller[_0x429e[23]]);router[_0x429e[19]](_0x429e[24],auth[_0x429e[5]](),auth[_0x429e[7]]([17],[_0x429e[6]]),controller[_0x429e[25]]);router[_0x429e[19]](_0x429e[26],auth[_0x429e[5]](),auth[_0x429e[7]]([17],[_0x429e[6]]),controller[_0x429e[27]]);router[_0x429e[29]](_0x429e[12],auth[_0x429e[5]](),auth[_0x429e[7]]([17],[_0x429e[6]]),controller[_0x429e[28]]);router[_0x429e[31]](_0x429e[4],auth[_0x429e[5]](),auth[_0x429e[7]]([17],[_0x429e[6]]),controller[_0x429e[30]]);router[_0x429e[31]](_0x429e[12],auth[_0x429e[5]](),auth[_0x429e[7]]([17],[_0x429e[6]]),controller[_0x429e[32]]);module[_0x429e[33]]=router \ No newline at end of file diff --git a/server/api/dashboard/dashboard.controller.js b/server/api/dashboard/dashboard.controller.js index 1d3eac7..6435a54 100644 --- a/server/api/dashboard/dashboard.controller.js +++ b/server/api/dashboard/dashboard.controller.js @@ -1 +1 @@ -var _0xb9b3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x44\x61\x73\x68\x62\x6F\x61\x72\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x61\x6C\x6C","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x63\x6C\x6F\x6E\x65","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x65\x64\x69\x74\x61\x62\x6C\x65","\x64\x65\x66\x61\x75\x6C\x74\x45\x6E\x74\x72\x79","\x6E\x61\x6D\x65","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0xb9b3[0];var _=require(_0xb9b3[1]);var util=require(_0xb9b3[2]);var Dashboard=require(_0xb9b3[4])[_0xb9b3[3]];var Util=require(_0xb9b3[5]);exports[_0xb9b3[6]]=function(_0x88ddx5,_0x88ddx6,_0x88ddx7){return Dashboard[_0xb9b3[13]](Util[_0xb9b3[12]](_0x88ddx5[_0xb9b3[11]]))[_0xb9b3[10]](function(_0x88ddx9){_0x88ddx6[_0xb9b3[9]](200)[_0xb9b3[8]](_0x88ddx9)})[_0xb9b3[7]](function(_0x88ddx8){return handleError(_0x88ddx6,_0x88ddx8)})};exports[_0xb9b3[14]]=function(_0x88ddx5,_0x88ddx6){return Dashboard[_0xb9b3[16]]()[_0xb9b3[10]](function(_0x88ddxa){if(!_0x88ddxa){return _0x88ddx6[_0xb9b3[15]](404)};return _0x88ddx6[_0xb9b3[9]](200)[_0xb9b3[8]](_0x88ddxa)})[_0xb9b3[7]](function(_0x88ddx8){return handleError(_0x88ddx6,_0x88ddx8)})};exports[_0xb9b3[17]]=function(_0x88ddx5,_0x88ddx6){return Dashboard[_0xb9b3[20]](_0x88ddx5[_0xb9b3[19]][_0xb9b3[18]])[_0xb9b3[10]](function(_0x88ddxb){if(!_0x88ddxb){return _0x88ddx6[_0xb9b3[15]](404)};return _0x88ddx6[_0xb9b3[8]](_0x88ddxb)})[_0xb9b3[7]](function(_0x88ddx8){return handleError(_0x88ddx6,_0x88ddx8)})};exports[_0xb9b3[21]]=function(_0x88ddx5,_0x88ddx6){return Dashboard[_0xb9b3[21]](_0x88ddx5[_0xb9b3[22]])[_0xb9b3[10]](function(_0x88ddxb){return _0x88ddx6[_0xb9b3[9]](201)[_0xb9b3[8]](_0x88ddxb)})[_0xb9b3[7]](function(_0x88ddx8){return handleError(_0x88ddx6,_0x88ddx8)})};exports[_0xb9b3[23]]=function(_0x88ddx5,_0x88ddx6){return Dashboard[_0xb9b3[20]](_0x88ddx5[_0xb9b3[19]][_0xb9b3[18]])[_0xb9b3[10]](function(_0x88ddxb){var _0x88ddxc=_0x88ddxb[_0xb9b3[24]];delete _0x88ddxc[_0xb9b3[18]];_0x88ddxc[_0xb9b3[25]]=true;_0x88ddxc[_0xb9b3[26]]=false;_0x88ddxc[_0xb9b3[27]]=_0x88ddx5[_0xb9b3[22]][_0xb9b3[27]]||_0x88ddxc[_0xb9b3[27]];return Dashboard[_0xb9b3[21]](_0x88ddxc)})[_0xb9b3[10]](function(_0x88ddxb){return _0x88ddx6[_0xb9b3[9]](201)[_0xb9b3[8]](_0x88ddxb)})[_0xb9b3[7]](function(_0x88ddx8){return handleError(_0x88ddx6,_0x88ddx8)})};exports[_0xb9b3[28]]=function(_0x88ddx5,_0x88ddx6){if(_0x88ddx5[_0xb9b3[22]][_0xb9b3[18]]){delete _0x88ddx5[_0xb9b3[22]][_0xb9b3[18]]};return Dashboard[_0xb9b3[20]](_0x88ddx5[_0xb9b3[19]][_0xb9b3[18]])[_0xb9b3[10]](function(_0x88ddxb){if(!_0x88ddxb){return _0x88ddx6[_0xb9b3[15]](404)};var _0x88ddxd=_[_0xb9b3[29]](_0x88ddxb,_0x88ddx5[_0xb9b3[22]]);return _0x88ddxd[_0xb9b3[30]]()})[_0xb9b3[10]](function(_0x88ddxb){return _0x88ddx6[_0xb9b3[9]](200)[_0xb9b3[8]](_0x88ddxb)})[_0xb9b3[7]](function(_0x88ddx8){return handleError(_0x88ddx6,_0x88ddx8)})};exports[_0xb9b3[31]]=function(_0x88ddx5,_0x88ddx6){return Dashboard[_0xb9b3[20]](_0x88ddx5[_0xb9b3[19]][_0xb9b3[18]])[_0xb9b3[10]](function(_0x88ddxb){if(!_0x88ddxb){return _0x88ddx6[_0xb9b3[15]](404)};return _0x88ddxb[_0xb9b3[31]]()})[_0xb9b3[10]](function(){return _0x88ddx6[_0xb9b3[15]](204)})[_0xb9b3[7]](function(_0x88ddx8){return handleError(_0x88ddx6,_0x88ddx8)})};exports[_0xb9b3[32]]=function(_0x88ddx5,_0x88ddx6){return Dashboard[_0xb9b3[31]]({where:{id:_0x88ddx5[_0xb9b3[11]][_0xb9b3[33]]},individualHooks:true})[_0xb9b3[10]](function(){return _0x88ddx6[_0xb9b3[15]](204)})[_0xb9b3[7]](function(_0x88ddx8){return handleError(_0x88ddx6,_0x88ddx8)})};function handleError(_0x88ddx6,_0x88ddx8){return _0x88ddx6[_0xb9b3[9]](500)[_0xb9b3[8]](_0x88ddx8)} \ No newline at end of file +var _0x910a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x44\x61\x73\x68\x62\x6F\x61\x72\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x61\x6C\x6C","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x63\x6C\x6F\x6E\x65","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x65\x64\x69\x74\x61\x62\x6C\x65","\x64\x65\x66\x61\x75\x6C\x74\x45\x6E\x74\x72\x79","\x6E\x61\x6D\x65","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0x910a[0];var _=require(_0x910a[1]);var util=require(_0x910a[2]);var Dashboard=require(_0x910a[4])[_0x910a[3]];var Util=require(_0x910a[5]);exports[_0x910a[6]]=function(_0x7296x5,_0x7296x6,_0x7296x7){return Dashboard[_0x910a[13]](Util[_0x910a[12]](_0x7296x5[_0x910a[11]]))[_0x910a[10]](function(_0x7296x9){_0x7296x6[_0x910a[9]](200)[_0x910a[8]](_0x7296x9)})[_0x910a[7]](function(_0x7296x8){return handleError(_0x7296x6,_0x7296x8)})};exports[_0x910a[14]]=function(_0x7296x5,_0x7296x6){return Dashboard[_0x910a[16]]()[_0x910a[10]](function(_0x7296xa){if(!_0x7296xa){return _0x7296x6[_0x910a[15]](404)};return _0x7296x6[_0x910a[9]](200)[_0x910a[8]](_0x7296xa)})[_0x910a[7]](function(_0x7296x8){return handleError(_0x7296x6,_0x7296x8)})};exports[_0x910a[17]]=function(_0x7296x5,_0x7296x6){return Dashboard[_0x910a[20]](_0x7296x5[_0x910a[19]][_0x910a[18]])[_0x910a[10]](function(_0x7296xb){if(!_0x7296xb){return _0x7296x6[_0x910a[15]](404)};return _0x7296x6[_0x910a[8]](_0x7296xb)})[_0x910a[7]](function(_0x7296x8){return handleError(_0x7296x6,_0x7296x8)})};exports[_0x910a[21]]=function(_0x7296x5,_0x7296x6){return Dashboard[_0x910a[21]](_0x7296x5[_0x910a[22]])[_0x910a[10]](function(_0x7296xb){return _0x7296x6[_0x910a[9]](201)[_0x910a[8]](_0x7296xb)})[_0x910a[7]](function(_0x7296x8){return handleError(_0x7296x6,_0x7296x8)})};exports[_0x910a[23]]=function(_0x7296x5,_0x7296x6){return Dashboard[_0x910a[20]](_0x7296x5[_0x910a[19]][_0x910a[18]])[_0x910a[10]](function(_0x7296xb){var _0x7296xc=_0x7296xb[_0x910a[24]];delete _0x7296xc[_0x910a[18]];_0x7296xc[_0x910a[25]]=true;_0x7296xc[_0x910a[26]]=false;_0x7296xc[_0x910a[27]]=_0x7296x5[_0x910a[22]][_0x910a[27]]||_0x7296xc[_0x910a[27]];return Dashboard[_0x910a[21]](_0x7296xc)})[_0x910a[10]](function(_0x7296xb){return _0x7296x6[_0x910a[9]](201)[_0x910a[8]](_0x7296xb)})[_0x910a[7]](function(_0x7296x8){return handleError(_0x7296x6,_0x7296x8)})};exports[_0x910a[28]]=function(_0x7296x5,_0x7296x6){if(_0x7296x5[_0x910a[22]][_0x910a[18]]){delete _0x7296x5[_0x910a[22]][_0x910a[18]]};return Dashboard[_0x910a[20]](_0x7296x5[_0x910a[19]][_0x910a[18]])[_0x910a[10]](function(_0x7296xb){if(!_0x7296xb){return _0x7296x6[_0x910a[15]](404)};var _0x7296xd=_[_0x910a[29]](_0x7296xb,_0x7296x5[_0x910a[22]]);return _0x7296xd[_0x910a[30]]()})[_0x910a[10]](function(_0x7296xb){return _0x7296x6[_0x910a[9]](200)[_0x910a[8]](_0x7296xb)})[_0x910a[7]](function(_0x7296x8){return handleError(_0x7296x6,_0x7296x8)})};exports[_0x910a[31]]=function(_0x7296x5,_0x7296x6){return Dashboard[_0x910a[20]](_0x7296x5[_0x910a[19]][_0x910a[18]])[_0x910a[10]](function(_0x7296xb){if(!_0x7296xb){return _0x7296x6[_0x910a[15]](404)};return _0x7296xb[_0x910a[31]]()})[_0x910a[10]](function(){return _0x7296x6[_0x910a[15]](204)})[_0x910a[7]](function(_0x7296x8){return handleError(_0x7296x6,_0x7296x8)})};exports[_0x910a[32]]=function(_0x7296x5,_0x7296x6){return Dashboard[_0x910a[31]]({where:{id:_0x7296x5[_0x910a[11]][_0x910a[33]]},individualHooks:true})[_0x910a[10]](function(){return _0x7296x6[_0x910a[15]](204)})[_0x910a[7]](function(_0x7296x8){return handleError(_0x7296x6,_0x7296x8)})};function handleError(_0x7296x6,_0x7296x8){return _0x7296x6[_0x910a[9]](500)[_0x910a[8]](_0x7296x8)} \ No newline at end of file diff --git a/server/api/dashboard/dashboard.socket.js b/server/api/dashboard/dashboard.socket.js index 4b9b9ec..d9c71d9 100644 --- a/server/api/dashboard/dashboard.socket.js +++ b/server/api/dashboard/dashboard.socket.js @@ -1 +1 @@ -var _0xd8d0=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x44\x61\x73\x68\x62\x6F\x61\x72\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x72\x65\x6D\x6F\x76\x65"];_0xd8d0[0];var Dashboard=require(_0xd8d0[2])[_0xd8d0[1]];exports[_0xd8d0[3]]=function(_0x2903x2){Dashboard[_0xd8d0[4]](function(_0x2903x3){onSave(_0x2903x2,_0x2903x3)});Dashboard[_0xd8d0[5]](function(_0x2903x3){onSave(_0x2903x2,_0x2903x3)});Dashboard[_0xd8d0[6]](function(_0x2903x3){onRemove(_0x2903x2,_0x2903x3)})};function onSave(_0x2903x2,_0x2903x3,_0x2903x5){_0x2903x2[_0xd8d0[8]](_0xd8d0[7],_0x2903x3)}function onRemove(_0x2903x2,_0x2903x3,_0x2903x5){_0x2903x2[_0xd8d0[8]](_0xd8d0[9],_0x2903x3)} \ No newline at end of file +var _0x6279=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x44\x61\x73\x68\x62\x6F\x61\x72\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x72\x65\x6D\x6F\x76\x65"];_0x6279[0];var Dashboard=require(_0x6279[2])[_0x6279[1]];exports[_0x6279[3]]=function(_0xd0ccx2){Dashboard[_0x6279[4]](function(_0xd0ccx3){onSave(_0xd0ccx2,_0xd0ccx3)});Dashboard[_0x6279[5]](function(_0xd0ccx3){onSave(_0xd0ccx2,_0xd0ccx3)});Dashboard[_0x6279[6]](function(_0xd0ccx3){onRemove(_0xd0ccx2,_0xd0ccx3)})};function onSave(_0xd0ccx2,_0xd0ccx3,_0xd0ccx5){_0xd0ccx2[_0x6279[8]](_0x6279[7],_0xd0ccx3)}function onRemove(_0xd0ccx2,_0xd0ccx3,_0xd0ccx5){_0xd0ccx2[_0x6279[8]](_0x6279[9],_0xd0ccx3)} \ No newline at end of file diff --git a/server/api/dashboard/index.js b/server/api/dashboard/index.js index 200ee46..5d72600 100644 --- a/server/api/dashboard/index.js +++ b/server/api/dashboard/index.js @@ -1 +1 @@ -var _0x5dd6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x75\x73\x65\x72","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x61\x6C\x6C","\x61\x6C\x6C","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x3A\x69\x64\x2F\x63\x6C\x6F\x6E\x65","\x63\x6C\x6F\x6E\x65","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x5dd6[0];var express=require(_0x5dd6[1]);var controller=require(_0x5dd6[2]);var auth=require(_0x5dd6[3]);var router=express.Router();router[_0x5dd6[11]](_0x5dd6[4],auth[_0x5dd6[5]](),auth[_0x5dd6[9]]([2],[_0x5dd6[6],_0x5dd6[7],_0x5dd6[8]]),controller[_0x5dd6[10]]);router[_0x5dd6[11]](_0x5dd6[12],auth[_0x5dd6[5]](),auth[_0x5dd6[9]]([2],[_0x5dd6[6]]),controller[_0x5dd6[13]]);router[_0x5dd6[11]](_0x5dd6[14],auth[_0x5dd6[5]](),auth[_0x5dd6[9]]([2],[_0x5dd6[6]]),controller[_0x5dd6[15]]);router[_0x5dd6[17]](_0x5dd6[4],auth[_0x5dd6[5]](),auth[_0x5dd6[9]]([2],[_0x5dd6[6]]),controller[_0x5dd6[16]]);router[_0x5dd6[17]](_0x5dd6[18],auth[_0x5dd6[5]](),auth[_0x5dd6[9]]([2],[_0x5dd6[6]]),controller[_0x5dd6[19]]);router[_0x5dd6[21]](_0x5dd6[14],auth[_0x5dd6[5]](),auth[_0x5dd6[9]]([2],[_0x5dd6[6]]),controller[_0x5dd6[20]]);router[_0x5dd6[23]](_0x5dd6[4],auth[_0x5dd6[5]](),auth[_0x5dd6[9]]([2],[_0x5dd6[6]]),controller[_0x5dd6[22]]);router[_0x5dd6[23]](_0x5dd6[14],auth[_0x5dd6[5]](),auth[_0x5dd6[9]]([2],[_0x5dd6[6]]),controller[_0x5dd6[24]]);module[_0x5dd6[25]]=router \ No newline at end of file +var _0x6002=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x75\x73\x65\x72","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x61\x6C\x6C","\x61\x6C\x6C","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x3A\x69\x64\x2F\x63\x6C\x6F\x6E\x65","\x63\x6C\x6F\x6E\x65","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x6002[0];var express=require(_0x6002[1]);var controller=require(_0x6002[2]);var auth=require(_0x6002[3]);var router=express.Router();router[_0x6002[11]](_0x6002[4],auth[_0x6002[5]](),auth[_0x6002[9]]([2],[_0x6002[6],_0x6002[7],_0x6002[8]]),controller[_0x6002[10]]);router[_0x6002[11]](_0x6002[12],auth[_0x6002[5]](),auth[_0x6002[9]]([2],[_0x6002[6]]),controller[_0x6002[13]]);router[_0x6002[11]](_0x6002[14],auth[_0x6002[5]](),auth[_0x6002[9]]([2],[_0x6002[6]]),controller[_0x6002[15]]);router[_0x6002[17]](_0x6002[4],auth[_0x6002[5]](),auth[_0x6002[9]]([2],[_0x6002[6]]),controller[_0x6002[16]]);router[_0x6002[17]](_0x6002[18],auth[_0x6002[5]](),auth[_0x6002[9]]([2],[_0x6002[6]]),controller[_0x6002[19]]);router[_0x6002[21]](_0x6002[14],auth[_0x6002[5]](),auth[_0x6002[9]]([2],[_0x6002[6]]),controller[_0x6002[20]]);router[_0x6002[23]](_0x6002[4],auth[_0x6002[5]](),auth[_0x6002[9]]([2],[_0x6002[6]]),controller[_0x6002[22]]);router[_0x6002[23]](_0x6002[14],auth[_0x6002[5]](),auth[_0x6002[9]]([2],[_0x6002[6]]),controller[_0x6002[24]]);module[_0x6002[25]]=router \ No newline at end of file diff --git a/server/api/default_metric/default_metric.controller.js b/server/api/default_metric/default_metric.controller.js index 9f1063a..578b05f 100644 --- a/server/api/default_metric/default_metric.controller.js +++ b/server/api/default_metric/default_metric.controller.js @@ -1 +1 @@ -var _0x754c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x44\x65\x66\x61\x75\x6C\x74\x4D\x65\x74\x72\x69\x63","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x65\x74\x72\x69\x63","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x73\x69\x6D\x70\x6C\x65\x2D\x72\x61\x6E\x64\x6F\x6D","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x67\x65\x74\x4D\x65\x74\x72\x69\x63\x73\x42\x79\x54\x61\x62\x6C\x65","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x6C\x65\x6E\x67\x74\x68","\x74\x61\x62\x6C\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x63\x6C\x6F\x6E\x65\x4D\x65\x74\x72\x69\x63","\x69\x64","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x6E\x61\x6D\x65","\x5F","\x63\x72\x65\x61\x74\x65","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64"];_0x754c[0];var _=require(_0x754c[1]);var DefaultMetric=require(_0x754c[3])[_0x754c[2]];var Metric=require(_0x754c[3])[_0x754c[4]];var util=require(_0x754c[5]);var Util=require(_0x754c[6]);var sequelize=require(_0x754c[3])[_0x754c[7]];var sr=require(_0x754c[8]);exports[_0x754c[9]]=function(_0x1ff3x8,_0x1ff3x9,_0x1ff3xa){return DefaultMetric[_0x754c[16]](Util[_0x754c[15]](_0x1ff3x8[_0x754c[14]]))[_0x754c[13]](function(_0x1ff3xc){return _0x1ff3x9[_0x754c[12]](200)[_0x754c[11]](_0x1ff3xc)})[_0x754c[10]](function(_0x1ff3xb){return handleError(_0x1ff3x9,_0x1ff3xb)})};exports[_0x754c[17]]=function(_0x1ff3x8,_0x1ff3x9){return DefaultMetric[_0x754c[21]]({where:{table:_0x1ff3x8[_0x754c[14]][_0x754c[20]]}})[_0x754c[13]](function(_0x1ff3xd){if(!_0x1ff3xd){return _0x1ff3x9[_0x754c[18]](404)};return _0x1ff3x9[_0x754c[12]](200)[_0x754c[11]]({count:_0x1ff3xd[_0x754c[19]],rows:_0x1ff3xd})})[_0x754c[10]](function(_0x1ff3xb){return handleError(_0x1ff3x9,_0x1ff3xb)})};exports[_0x754c[22]]=function(_0x1ff3x8,_0x1ff3x9){return DefaultMetric[_0x754c[29]](_0x1ff3x8[_0x754c[28]][_0x754c[23]])[_0x754c[13]](function(_0x1ff3xe){if(!_0x1ff3xe){return _0x1ff3x9[_0x754c[18]](404)};delete _0x1ff3xe[_0x754c[24]][_0x754c[23]];_0x1ff3xe[_0x754c[24]][_0x754c[25]]+=_0x754c[26]+sr({length:5});return Metric[_0x754c[27]](_0x1ff3xe[_0x754c[24]])})[_0x754c[13]](function(){return _0x1ff3x9[_0x754c[18]](201)})[_0x754c[10]](function(_0x1ff3xb){return handleError(_0x1ff3x9,_0x1ff3xb)})};function handleError(_0x1ff3x9,_0x1ff3xb){return _0x1ff3x9[_0x754c[12]](500)[_0x754c[11]](_0x1ff3xb)} \ No newline at end of file +var _0x32c2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x44\x65\x66\x61\x75\x6C\x74\x4D\x65\x74\x72\x69\x63","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x65\x74\x72\x69\x63","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x73\x69\x6D\x70\x6C\x65\x2D\x72\x61\x6E\x64\x6F\x6D","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x67\x65\x74\x4D\x65\x74\x72\x69\x63\x73\x42\x79\x54\x61\x62\x6C\x65","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x6C\x65\x6E\x67\x74\x68","\x74\x61\x62\x6C\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x63\x6C\x6F\x6E\x65\x4D\x65\x74\x72\x69\x63","\x69\x64","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x6E\x61\x6D\x65","\x5F","\x63\x72\x65\x61\x74\x65","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64"];_0x32c2[0];var _=require(_0x32c2[1]);var DefaultMetric=require(_0x32c2[3])[_0x32c2[2]];var Metric=require(_0x32c2[3])[_0x32c2[4]];var util=require(_0x32c2[5]);var Util=require(_0x32c2[6]);var sequelize=require(_0x32c2[3])[_0x32c2[7]];var sr=require(_0x32c2[8]);exports[_0x32c2[9]]=function(_0x7b96x8,_0x7b96x9,_0x7b96xa){return DefaultMetric[_0x32c2[16]](Util[_0x32c2[15]](_0x7b96x8[_0x32c2[14]]))[_0x32c2[13]](function(_0x7b96xc){return _0x7b96x9[_0x32c2[12]](200)[_0x32c2[11]](_0x7b96xc)})[_0x32c2[10]](function(_0x7b96xb){return handleError(_0x7b96x9,_0x7b96xb)})};exports[_0x32c2[17]]=function(_0x7b96x8,_0x7b96x9){return DefaultMetric[_0x32c2[21]]({where:{table:_0x7b96x8[_0x32c2[14]][_0x32c2[20]]}})[_0x32c2[13]](function(_0x7b96xd){if(!_0x7b96xd){return _0x7b96x9[_0x32c2[18]](404)};return _0x7b96x9[_0x32c2[12]](200)[_0x32c2[11]]({count:_0x7b96xd[_0x32c2[19]],rows:_0x7b96xd})})[_0x32c2[10]](function(_0x7b96xb){return handleError(_0x7b96x9,_0x7b96xb)})};exports[_0x32c2[22]]=function(_0x7b96x8,_0x7b96x9){return DefaultMetric[_0x32c2[29]](_0x7b96x8[_0x32c2[28]][_0x32c2[23]])[_0x32c2[13]](function(_0x7b96xe){if(!_0x7b96xe){return _0x7b96x9[_0x32c2[18]](404)};delete _0x7b96xe[_0x32c2[24]][_0x32c2[23]];_0x7b96xe[_0x32c2[24]][_0x32c2[25]]+=_0x32c2[26]+sr({length:5});return Metric[_0x32c2[27]](_0x7b96xe[_0x32c2[24]])})[_0x32c2[13]](function(){return _0x7b96x9[_0x32c2[18]](201)})[_0x32c2[10]](function(_0x7b96xb){return handleError(_0x7b96x9,_0x7b96xb)})};function handleError(_0x7b96x9,_0x7b96xb){return _0x7b96x9[_0x32c2[12]](500)[_0x32c2[11]](_0x7b96xb)} \ No newline at end of file diff --git a/server/api/default_metric/default_metric.socket.js b/server/api/default_metric/default_metric.socket.js index eb53fde..541d62b 100644 --- a/server/api/default_metric/default_metric.socket.js +++ b/server/api/default_metric/default_metric.socket.js @@ -1 +1 @@ -var _0xdf09=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x72\x65\x67\x69\x73\x74\x65\x72"];_0xdf09[0];exports[_0xdf09[1]]=function(_0x1dc0x1){} \ No newline at end of file +var _0x1eba=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x72\x65\x67\x69\x73\x74\x65\x72"];_0x1eba[0];exports[_0x1eba[1]]=function(_0x2f0ax1){} \ No newline at end of file diff --git a/server/api/default_metric/index.js b/server/api/default_metric/index.js index d2e6e22..ec671e0 100644 --- a/server/api/default_metric/index.js +++ b/server/api/default_metric/index.js @@ -1 +1 @@ -var _0x72f2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x64\x65\x66\x61\x75\x6C\x74\x5F\x6D\x65\x74\x72\x69\x63\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x74\x61\x62\x6C\x65","\x67\x65\x74\x4D\x65\x74\x72\x69\x63\x73\x42\x79\x54\x61\x62\x6C\x65","\x2F\x3A\x69\x64\x2F\x63\x6C\x6F\x6E\x65","\x63\x6C\x6F\x6E\x65\x4D\x65\x74\x72\x69\x63","\x65\x78\x70\x6F\x72\x74\x73"];_0x72f2[0];var express=require(_0x72f2[1]);var controller=require(_0x72f2[2]);var auth=require(_0x72f2[3]);var router=express.Router();router[_0x72f2[9]](_0x72f2[4],auth[_0x72f2[5]](),auth[_0x72f2[7]]([17],[_0x72f2[6]]),controller[_0x72f2[8]]);router[_0x72f2[9]](_0x72f2[10],auth[_0x72f2[5]](),auth[_0x72f2[7]]([17],[_0x72f2[6]]),controller[_0x72f2[11]]);router[_0x72f2[9]](_0x72f2[12],auth[_0x72f2[5]](),auth[_0x72f2[7]]([17],[_0x72f2[6]]),controller[_0x72f2[13]]);module[_0x72f2[14]]=router \ No newline at end of file +var _0x6f58=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x64\x65\x66\x61\x75\x6C\x74\x5F\x6D\x65\x74\x72\x69\x63\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x74\x61\x62\x6C\x65","\x67\x65\x74\x4D\x65\x74\x72\x69\x63\x73\x42\x79\x54\x61\x62\x6C\x65","\x2F\x3A\x69\x64\x2F\x63\x6C\x6F\x6E\x65","\x63\x6C\x6F\x6E\x65\x4D\x65\x74\x72\x69\x63","\x65\x78\x70\x6F\x72\x74\x73"];_0x6f58[0];var express=require(_0x6f58[1]);var controller=require(_0x6f58[2]);var auth=require(_0x6f58[3]);var router=express.Router();router[_0x6f58[9]](_0x6f58[4],auth[_0x6f58[5]](),auth[_0x6f58[7]]([17],[_0x6f58[6]]),controller[_0x6f58[8]]);router[_0x6f58[9]](_0x6f58[10],auth[_0x6f58[5]](),auth[_0x6f58[7]]([17],[_0x6f58[6]]),controller[_0x6f58[11]]);router[_0x6f58[9]](_0x6f58[12],auth[_0x6f58[5]](),auth[_0x6f58[7]]([17],[_0x6f58[6]]),controller[_0x6f58[13]]);module[_0x6f58[14]]=router \ No newline at end of file diff --git a/server/api/default_report/default_report.controller.js b/server/api/default_report/default_report.controller.js index cbf8efb..e359c5e 100644 --- a/server/api/default_report/default_report.controller.js +++ b/server/api/default_report/default_report.controller.js @@ -1 +1 @@ -var _0x1c2f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x43\x75\x73\x74\x6F\x6D\x52\x65\x70\x6F\x72\x74","\x45\x78\x74\x72\x61\x63\x74\x65\x64\x52\x65\x70\x6F\x72\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C\x73\x2F\x72\x65\x70\x6F\x72\x74\x5F\x65\x78\x74\x72\x61\x63\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C\x73\x2F\x72\x65\x70\x6F\x72\x74\x5F\x62\x75\x69\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x6D\x6F\x6D\x65\x6E\x74","\x63\x68\x69\x6C\x64\x5F\x70\x72\x6F\x63\x65\x73\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x67\x65\x74\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x72\x79","\x45\x72\x72\x6F\x72\x20\x67\x65\x74\x74\x69\x6E\x67\x20\x71\x75\x65\x72\x79\x20\x66\x72\x6F\x6D\x20\x61\x70\x69\x3A","\x6C\x6F\x67","\x61\x6C\x6C","\x62\x75\x69\x6C\x64\x51\x75\x65\x72\x79","\x73\x70\x72\x65\x61\x64","\x75\x73\x65\x72","\x62\x75\x69\x6C\x64\x46\x69\x6C\x74\x65\x72","\x66\x6F\x75\x6E\x64\x20\x72\x65\x70\x6F\x72\x74","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x64\x61\x69\x6C\x79","\x74\x72\x75\x65","\x73\x74\x61\x72\x74\x44\x61\x74\x65","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44","\x66\x6F\x72\x6D\x61\x74","\x65\x6E\x64\x44\x61\x74\x65","\x74\x61\x62\x6C\x65","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x5F\x68\x69\x73\x74\x6F\x72\x79","","\x72\x65\x70\x6C\x61\x63\x65","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x66\x69\x65\x6C\x64\x73","\x73\x63\x6F\x70\x65","\x70\x72\x65\x76\x69\x65\x77","\x6C\x65\x6E\x67\x74\x68","\x6C\x69\x6D\x69\x74","\x76\x61\x6C\x75\x65","\x74\x61\x6B\x65","\x6F\x66\x66\x73\x65\x74","\x73\x6C\x69\x63\x65","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\x66\x6F\x72\x4F\x77\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\x65\x78\x74\x72\x61\x63\x74\x50\x64\x66","\x50\x44\x46","\x65\x78\x74\x72\x61\x63\x74\x43\x73\x76","\x43\x53\x56","\x2F\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C\x73\x2F\x72\x65\x70\x6F\x72\x74\x5F\x65\x78\x74\x72\x61\x63\x74\x69\x6F\x6E\x2E\x6A\x73","\x66\x6F\x72\x6B","\x65\x72\x72\x6F\x72","\x63\x68\x69\x6C\x64\x20\x65\x72\x72\x6F\x72","\x6F\x6E","\x63\x6C\x6F\x73\x65","\x63\x68\x69\x6C\x64\x20\x63\x6C\x6F\x73\x65","\x6D\x65\x73\x73\x61\x67\x65","\x63\x68\x69\x6C\x64\x20\x6D\x65\x73\x73\x61\x67\x65","\x6B\x69\x6C\x6C","\x6E\x61\x6D\x65","\x63\x72\x65\x61\x74\x65","\x28","\x72\x75\x6C\x65\x73","\x20","\x6F\x70\x65\x72\x61\x74\x6F\x72","\x67\x72\x6F\x75\x70","\x66\x69\x65\x6C\x64","\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E","\x20\x27","\x4C\x49\x4B\x45","\x25","\x27","\x29","\x73\x68\x6F\x77","\x63\x6F\x70\x79","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x75\x70\x64\x61\x74\x65\x64\x41\x74","\x70\x61\x72\x65\x6E\x74","\x62\x6F\x64\x79","\x46\x69\x65\x6C\x64\x73","\x6D\x61\x70","\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0x1c2f[0];var _=require(_0x1c2f[1]);var util=require(_0x1c2f[2]);var DefaultReport=require(_0x1c2f[4])[_0x1c2f[3]];var sequelize=require(_0x1c2f[4])[_0x1c2f[5]];var CustomReport=require(_0x1c2f[4])[_0x1c2f[6]];var ExtractedReport=require(_0x1c2f[4])[_0x1c2f[7]];var extractUtils=require(_0x1c2f[8]);var reportBuildUtils=require(_0x1c2f[9]);var Util=require(_0x1c2f[10]);var moment=require(_0x1c2f[11]);var cp=require(_0x1c2f[12]);exports[_0x1c2f[13]]=function(_0xd239xc,_0xd239xd,_0xd239xe){return DefaultReport[_0x1c2f[20]](Util[_0x1c2f[19]](_0xd239xc[_0x1c2f[18]]))[_0x1c2f[17]](function(_0xd239x10){_0xd239xd[_0x1c2f[16]](200)[_0x1c2f[15]](_0xd239x10)})[_0x1c2f[14]](function(_0xd239xf){return handleError(_0xd239xd,_0xd239xf)})};exports[_0x1c2f[21]]=function(_0xd239xc,_0xd239xd){return Promise[_0x1c2f[24]]([])[_0x1c2f[17]](getQuery(_0xd239xc,_0xd239xd))[_0x1c2f[17]](function(_0xd239x11){_0xd239xd[_0x1c2f[16]](200)[_0x1c2f[15]]({query:_0xd239x11})})[_0x1c2f[14]](function(_0xd239xf){console[_0x1c2f[23]](_0x1c2f[22],_0xd239xf)})};function getQuery(_0xd239xc,_0xd239xd){var _0xd239x13;return function(){return DefaultReport[_0x1c2f[46]](_0x1c2f[45])[_0x1c2f[44]](_0xd239xc[_0x1c2f[43]][_0x1c2f[42]])[_0x1c2f[17]](function(_0xd239x15){console[_0x1c2f[23]](_0x1c2f[29]);if(!_0xd239x15){return _0xd239xd[_0x1c2f[30]](404)};if(_0xd239xc[_0x1c2f[18]][_0x1c2f[31]]&&_0xd239xc[_0x1c2f[18]][_0x1c2f[31]]===_0x1c2f[32]){_0xd239xc[_0x1c2f[18]][_0x1c2f[33]]=moment()[_0x1c2f[35]](_0x1c2f[34]);_0xd239xc[_0x1c2f[18]][_0x1c2f[36]]=moment()[_0x1c2f[35]](_0x1c2f[34]);_0xd239x15[_0x1c2f[38]][_0x1c2f[37]]=_0xd239x15[_0x1c2f[38]][_0x1c2f[37]][_0x1c2f[41]](_0x1c2f[39],_0x1c2f[40])};delete _0xd239xc[_0x1c2f[18]][_0x1c2f[31]];_0xd239x13=_0xd239x15[_0x1c2f[38]];return _0xd239x13[_0x1c2f[37]]})[_0x1c2f[17]](reportBuildUtils[_0x1c2f[28]](_0xd239xc[_0x1c2f[27]]))[_0x1c2f[17]](function(_0xd239x14){return [_0xd239x14,_0xd239x13]})[_0x1c2f[26]](reportBuildUtils[_0x1c2f[25]](_0xd239xc[_0x1c2f[18]]))}}exports[_0x1c2f[47]]=function(_0xd239xc,_0xd239xd){var _0xd239x16;return Promise[_0x1c2f[24]]([])[_0x1c2f[17]](getQuery(_0xd239xc,_0xd239xd))[_0x1c2f[17]](function(_0xd239x11){return sequelize[_0x1c2f[18]](_0xd239x11,{type:sequelize[_0x1c2f[58]][_0x1c2f[57]]})})[_0x1c2f[17]](function(_0xd239x17){_0xd239x16=_0xd239x17[_0x1c2f[48]];if(_0xd239xc[_0x1c2f[18]][_0x1c2f[49]]){_0xd239x17=_(_0xd239x17)[_0x1c2f[53]](_0xd239xc[_0x1c2f[18]][_0x1c2f[52]]||0)[_0x1c2f[51]](_0xd239xc[_0x1c2f[18]][_0x1c2f[49]])[_0x1c2f[50]]()};_[_0x1c2f[56]](_0xd239x17,function(_0xd239x18){_[_0x1c2f[55]](_0xd239x18,function(_0xd239x19,_0xd239x1a){if(_0xd239x19 instanceof Date){_0xd239x18[_0xd239x1a]=moment(_0xd239x19)[_0x1c2f[35]](_0x1c2f[54]).toString()}})});_0xd239xd[_0x1c2f[16]](200)[_0x1c2f[15]]({rows:_0xd239x17,count:_0xd239x16})})[_0x1c2f[14]](function(_0xd239xf){console[_0x1c2f[23]](_0xd239xf);return handleError(_0xd239xd,_0xd239xf)})};exports[_0x1c2f[59]]=function(_0xd239xc,_0xd239xd){docExtract(_0xd239xc,_0xd239xd,_0x1c2f[60])};exports[_0x1c2f[61]]=function(_0xd239xc,_0xd239xd){docExtract(_0xd239xc,_0xd239xd,_0x1c2f[62])};function docExtract(_0xd239xc,_0xd239xd,_0xd239x1c){DefaultReport[_0x1c2f[46]](_0x1c2f[45])[_0x1c2f[44]](_0xd239xc[_0x1c2f[43]][_0x1c2f[42]])[_0x1c2f[17]](function(_0xd239x15){if(!_0xd239x15){return _0xd239xd[_0x1c2f[30]](404)};if(_0xd239xc[_0x1c2f[18]][_0x1c2f[31]]&&_0xd239xc[_0x1c2f[18]][_0x1c2f[31]]===_0x1c2f[32]){_0xd239xc[_0x1c2f[18]][_0x1c2f[33]]=moment()[_0x1c2f[35]](_0x1c2f[34]);_0xd239xc[_0x1c2f[18]][_0x1c2f[36]]=moment()[_0x1c2f[35]](_0x1c2f[34]);_0xd239x15[_0x1c2f[38]][_0x1c2f[37]]=_0xd239x15[_0x1c2f[38]][_0x1c2f[37]][_0x1c2f[41]](_0x1c2f[39],_0x1c2f[40])};delete _0xd239xc[_0x1c2f[18]][_0x1c2f[31]];return [_0xd239x15,ExtractedReport[_0x1c2f[74]]({name:_0xd239x15[_0x1c2f[73]],startDate:_0xd239xc[_0x1c2f[18]][_0x1c2f[33]]||null,endDate:_0xd239xc[_0x1c2f[18]][_0x1c2f[36]]||null,output:_0xd239x1c})]})[_0x1c2f[26]](function(_0xd239x15,_0xd239x1d){var _0xd239x1e=cp[_0x1c2f[64]](__dirname+_0x1c2f[63]);_0xd239x1e[_0x1c2f[67]](_0x1c2f[70],function(_0xd239x1f){console[_0x1c2f[23]](_0x1c2f[71],_0xd239x1f);_0xd239x1e[_0x1c2f[72]]()})[_0x1c2f[67]](_0x1c2f[68],function(){console[_0x1c2f[23]](_0x1c2f[69])})[_0x1c2f[67]](_0x1c2f[65],function(_0xd239xf){console[_0x1c2f[23]](_0x1c2f[66],_0xd239xf)});_0xd239x1e[_0x1c2f[15]]({report:_0xd239x15,query:_0xd239xc[_0x1c2f[18]],extractedId:_0xd239x1d[_0x1c2f[42]],user:_0xd239xc[_0x1c2f[27]],type:_0xd239x1c})})[_0x1c2f[14]](function(_0xd239xf){console[_0x1c2f[23]](_0xd239xf);return handleError(_0xd239xd,_0xd239xf)});return _0xd239xd[_0x1c2f[30]](200)}function getConditions(_0xd239x21){if(!_0xd239x21){return _0x1c2f[40]};for(var _0xd239x22=_0x1c2f[75],_0xd239x23=0;_0xd239x23<_0xd239x21[_0x1c2f[76]][_0x1c2f[48]];_0xd239x23++){_0xd239x23>0&&(_0xd239x22+=_0x1c2f[77]+_0xd239x21[_0x1c2f[78]]+_0x1c2f[77]);_0xd239x22+=_0xd239x21[_0x1c2f[76]][_0xd239x23][_0x1c2f[79]]?getConditions(_0xd239x21[_0x1c2f[76]][_0xd239x23][_0x1c2f[79]]):_0xd239x21[_0x1c2f[76]][_0xd239x23][_0x1c2f[80]]+_0x1c2f[77]+_0xd239x21[_0x1c2f[76]][_0xd239x23][_0x1c2f[81]]+_0x1c2f[82]+(_0xd239x21[_0x1c2f[76]][_0xd239x23][_0x1c2f[81]]===_0x1c2f[83]?_0x1c2f[84]+_0xd239x21[_0x1c2f[76]][_0xd239x23][_0x1c2f[50]]+_0x1c2f[84]:_0xd239x21[_0x1c2f[76]][_0xd239x23][_0x1c2f[50]])+_0x1c2f[85]};return _0xd239x22+_0x1c2f[86]}exports[_0x1c2f[87]]=function(_0xd239xc,_0xd239xd){return DefaultReport[_0x1c2f[44]](_0xd239xc[_0x1c2f[43]][_0x1c2f[42]],{include:[{all:true}]})[_0x1c2f[17]](function(_0xd239x15){if(!_0xd239x15){return _0xd239xd[_0x1c2f[30]](404)};return _0xd239xd[_0x1c2f[15]](_0xd239x15)})[_0x1c2f[14]](function(_0xd239xf){return handleError(_0xd239xd,_0xd239xf)})};exports[_0x1c2f[88]]=function(_0xd239xc,_0xd239xd){return DefaultReport[_0x1c2f[44]](_0xd239xc[_0x1c2f[43]][_0x1c2f[42]],{include:[{all:true}]})[_0x1c2f[17]](function(_0xd239x15){if(!_0xd239x15){return _0xd239xd[_0x1c2f[30]](404)};var _0xd239x24=_0xd239x15[_0x1c2f[38]];delete _0xd239x24[_0x1c2f[42]];delete _0xd239x24[_0x1c2f[89]];delete _0xd239x24[_0x1c2f[90]];_0xd239x24[_0x1c2f[91]]=_0xd239xc[_0x1c2f[92]][_0x1c2f[91]];_0xd239x24[_0x1c2f[93]]=_[_0x1c2f[94]](_0xd239x24.Fields,_0x1c2f[38]);_[_0x1c2f[56]](_0xd239x24.Fields,function(_0xd239x25){delete _0xd239x25[_0x1c2f[42]];delete _0xd239x25[_0x1c2f[95]];delete _0xd239x25[_0x1c2f[89]];delete _0xd239x25[_0x1c2f[90]]});return CustomReport[_0x1c2f[74]](_0xd239x24,{include:[{all:true}]})})[_0x1c2f[17]](function(){return _0xd239xd[_0x1c2f[30]](201)})[_0x1c2f[14]](function(_0xd239xf){console[_0x1c2f[23]](_0xd239xf);return handleError(_0xd239xd,_0xd239xf)})};exports[_0x1c2f[74]]=function(_0xd239xc,_0xd239xd){return DefaultReport[_0x1c2f[74]](_0xd239xc[_0x1c2f[92]])[_0x1c2f[17]](function(_0xd239x15){return _0xd239xd[_0x1c2f[16]](201)[_0x1c2f[15]](_0xd239x15)})[_0x1c2f[14]](function(_0xd239xf){return handleError(_0xd239xd,_0xd239xf)})};exports[_0x1c2f[96]]=function(_0xd239xc,_0xd239xd){if(_0xd239xc[_0x1c2f[92]][_0x1c2f[42]]){delete _0xd239xc[_0x1c2f[92]][_0x1c2f[42]]};return DefaultReport[_0x1c2f[44]](_0xd239xc[_0x1c2f[43]][_0x1c2f[42]])[_0x1c2f[17]](function(_0xd239x15){if(!_0xd239x15){return _0xd239xd[_0x1c2f[30]](404)};var _0xd239x26=_[_0x1c2f[97]](_0xd239x15,_0xd239xc[_0x1c2f[92]]);return _0xd239x26[_0x1c2f[98]]()})[_0x1c2f[17]](function(_0xd239x15){return _0xd239xd[_0x1c2f[16]](200)[_0x1c2f[15]](_0xd239x15)})[_0x1c2f[14]](function(_0xd239xf){return handleError(_0xd239xd,_0xd239xf)})};exports[_0x1c2f[99]]=function(_0xd239xc,_0xd239xd){return DefaultReport[_0x1c2f[44]](_0xd239xc[_0x1c2f[43]][_0x1c2f[42]])[_0x1c2f[17]](function(_0xd239x15){if(!_0xd239x15){return _0xd239xd[_0x1c2f[30]](404)};return _0xd239x15[_0x1c2f[99]]()})[_0x1c2f[17]](function(){return _0xd239xd[_0x1c2f[30]](204)})[_0x1c2f[14]](function(_0xd239xf){return handleError(_0xd239xd,_0xd239xf)})};function handleError(_0xd239xd,_0xd239xf){return _0xd239xd[_0x1c2f[16]](500)[_0x1c2f[15]](_0xd239xf)} \ No newline at end of file +var _0xf56d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x43\x75\x73\x74\x6F\x6D\x52\x65\x70\x6F\x72\x74","\x45\x78\x74\x72\x61\x63\x74\x65\x64\x52\x65\x70\x6F\x72\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C\x73\x2F\x72\x65\x70\x6F\x72\x74\x5F\x65\x78\x74\x72\x61\x63\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C\x73\x2F\x72\x65\x70\x6F\x72\x74\x5F\x62\x75\x69\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x6D\x6F\x6D\x65\x6E\x74","\x63\x68\x69\x6C\x64\x5F\x70\x72\x6F\x63\x65\x73\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x67\x65\x74\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x72\x79","\x45\x72\x72\x6F\x72\x20\x67\x65\x74\x74\x69\x6E\x67\x20\x71\x75\x65\x72\x79\x20\x66\x72\x6F\x6D\x20\x61\x70\x69\x3A","\x6C\x6F\x67","\x61\x6C\x6C","\x62\x75\x69\x6C\x64\x51\x75\x65\x72\x79","\x73\x70\x72\x65\x61\x64","\x75\x73\x65\x72","\x62\x75\x69\x6C\x64\x46\x69\x6C\x74\x65\x72","\x66\x6F\x75\x6E\x64\x20\x72\x65\x70\x6F\x72\x74","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x64\x61\x69\x6C\x79","\x74\x72\x75\x65","\x73\x74\x61\x72\x74\x44\x61\x74\x65","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44","\x66\x6F\x72\x6D\x61\x74","\x65\x6E\x64\x44\x61\x74\x65","\x74\x61\x62\x6C\x65","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x5F\x68\x69\x73\x74\x6F\x72\x79","","\x72\x65\x70\x6C\x61\x63\x65","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x66\x69\x65\x6C\x64\x73","\x73\x63\x6F\x70\x65","\x70\x72\x65\x76\x69\x65\x77","\x6C\x65\x6E\x67\x74\x68","\x6C\x69\x6D\x69\x74","\x76\x61\x6C\x75\x65","\x74\x61\x6B\x65","\x6F\x66\x66\x73\x65\x74","\x73\x6C\x69\x63\x65","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\x66\x6F\x72\x4F\x77\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\x65\x78\x74\x72\x61\x63\x74\x50\x64\x66","\x50\x44\x46","\x65\x78\x74\x72\x61\x63\x74\x43\x73\x76","\x43\x53\x56","\x2F\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C\x73\x2F\x72\x65\x70\x6F\x72\x74\x5F\x65\x78\x74\x72\x61\x63\x74\x69\x6F\x6E\x2E\x6A\x73","\x66\x6F\x72\x6B","\x65\x72\x72\x6F\x72","\x63\x68\x69\x6C\x64\x20\x65\x72\x72\x6F\x72","\x6F\x6E","\x63\x6C\x6F\x73\x65","\x63\x68\x69\x6C\x64\x20\x63\x6C\x6F\x73\x65","\x6D\x65\x73\x73\x61\x67\x65","\x63\x68\x69\x6C\x64\x20\x6D\x65\x73\x73\x61\x67\x65","\x6B\x69\x6C\x6C","\x6E\x61\x6D\x65","\x63\x72\x65\x61\x74\x65","\x28","\x72\x75\x6C\x65\x73","\x20","\x6F\x70\x65\x72\x61\x74\x6F\x72","\x67\x72\x6F\x75\x70","\x66\x69\x65\x6C\x64","\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E","\x20\x27","\x4C\x49\x4B\x45","\x25","\x27","\x29","\x73\x68\x6F\x77","\x63\x6F\x70\x79","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x75\x70\x64\x61\x74\x65\x64\x41\x74","\x70\x61\x72\x65\x6E\x74","\x62\x6F\x64\x79","\x46\x69\x65\x6C\x64\x73","\x6D\x61\x70","\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0xf56d[0];var _=require(_0xf56d[1]);var util=require(_0xf56d[2]);var DefaultReport=require(_0xf56d[4])[_0xf56d[3]];var sequelize=require(_0xf56d[4])[_0xf56d[5]];var CustomReport=require(_0xf56d[4])[_0xf56d[6]];var ExtractedReport=require(_0xf56d[4])[_0xf56d[7]];var extractUtils=require(_0xf56d[8]);var reportBuildUtils=require(_0xf56d[9]);var Util=require(_0xf56d[10]);var moment=require(_0xf56d[11]);var cp=require(_0xf56d[12]);exports[_0xf56d[13]]=function(_0xb3e0xc,_0xb3e0xd,_0xb3e0xe){return DefaultReport[_0xf56d[20]](Util[_0xf56d[19]](_0xb3e0xc[_0xf56d[18]]))[_0xf56d[17]](function(_0xb3e0x10){_0xb3e0xd[_0xf56d[16]](200)[_0xf56d[15]](_0xb3e0x10)})[_0xf56d[14]](function(_0xb3e0xf){return handleError(_0xb3e0xd,_0xb3e0xf)})};exports[_0xf56d[21]]=function(_0xb3e0xc,_0xb3e0xd){return Promise[_0xf56d[24]]([])[_0xf56d[17]](getQuery(_0xb3e0xc,_0xb3e0xd))[_0xf56d[17]](function(_0xb3e0x11){_0xb3e0xd[_0xf56d[16]](200)[_0xf56d[15]]({query:_0xb3e0x11})})[_0xf56d[14]](function(_0xb3e0xf){console[_0xf56d[23]](_0xf56d[22],_0xb3e0xf)})};function getQuery(_0xb3e0xc,_0xb3e0xd){var _0xb3e0x13;return function(){return DefaultReport[_0xf56d[46]](_0xf56d[45])[_0xf56d[44]](_0xb3e0xc[_0xf56d[43]][_0xf56d[42]])[_0xf56d[17]](function(_0xb3e0x15){console[_0xf56d[23]](_0xf56d[29]);if(!_0xb3e0x15){return _0xb3e0xd[_0xf56d[30]](404)};if(_0xb3e0xc[_0xf56d[18]][_0xf56d[31]]&&_0xb3e0xc[_0xf56d[18]][_0xf56d[31]]===_0xf56d[32]){_0xb3e0xc[_0xf56d[18]][_0xf56d[33]]=moment()[_0xf56d[35]](_0xf56d[34]);_0xb3e0xc[_0xf56d[18]][_0xf56d[36]]=moment()[_0xf56d[35]](_0xf56d[34]);_0xb3e0x15[_0xf56d[38]][_0xf56d[37]]=_0xb3e0x15[_0xf56d[38]][_0xf56d[37]][_0xf56d[41]](_0xf56d[39],_0xf56d[40])};delete _0xb3e0xc[_0xf56d[18]][_0xf56d[31]];_0xb3e0x13=_0xb3e0x15[_0xf56d[38]];return _0xb3e0x13[_0xf56d[37]]})[_0xf56d[17]](reportBuildUtils[_0xf56d[28]](_0xb3e0xc[_0xf56d[27]]))[_0xf56d[17]](function(_0xb3e0x14){return [_0xb3e0x14,_0xb3e0x13]})[_0xf56d[26]](reportBuildUtils[_0xf56d[25]](_0xb3e0xc[_0xf56d[18]]))}}exports[_0xf56d[47]]=function(_0xb3e0xc,_0xb3e0xd){var _0xb3e0x16;return Promise[_0xf56d[24]]([])[_0xf56d[17]](getQuery(_0xb3e0xc,_0xb3e0xd))[_0xf56d[17]](function(_0xb3e0x11){return sequelize[_0xf56d[18]](_0xb3e0x11,{type:sequelize[_0xf56d[58]][_0xf56d[57]]})})[_0xf56d[17]](function(_0xb3e0x17){_0xb3e0x16=_0xb3e0x17[_0xf56d[48]];if(_0xb3e0xc[_0xf56d[18]][_0xf56d[49]]){_0xb3e0x17=_(_0xb3e0x17)[_0xf56d[53]](_0xb3e0xc[_0xf56d[18]][_0xf56d[52]]||0)[_0xf56d[51]](_0xb3e0xc[_0xf56d[18]][_0xf56d[49]])[_0xf56d[50]]()};_[_0xf56d[56]](_0xb3e0x17,function(_0xb3e0x18){_[_0xf56d[55]](_0xb3e0x18,function(_0xb3e0x19,_0xb3e0x1a){if(_0xb3e0x19 instanceof Date){_0xb3e0x18[_0xb3e0x1a]=moment(_0xb3e0x19)[_0xf56d[35]](_0xf56d[54]).toString()}})});_0xb3e0xd[_0xf56d[16]](200)[_0xf56d[15]]({rows:_0xb3e0x17,count:_0xb3e0x16})})[_0xf56d[14]](function(_0xb3e0xf){console[_0xf56d[23]](_0xb3e0xf);return handleError(_0xb3e0xd,_0xb3e0xf)})};exports[_0xf56d[59]]=function(_0xb3e0xc,_0xb3e0xd){docExtract(_0xb3e0xc,_0xb3e0xd,_0xf56d[60])};exports[_0xf56d[61]]=function(_0xb3e0xc,_0xb3e0xd){docExtract(_0xb3e0xc,_0xb3e0xd,_0xf56d[62])};function docExtract(_0xb3e0xc,_0xb3e0xd,_0xb3e0x1c){DefaultReport[_0xf56d[46]](_0xf56d[45])[_0xf56d[44]](_0xb3e0xc[_0xf56d[43]][_0xf56d[42]])[_0xf56d[17]](function(_0xb3e0x15){if(!_0xb3e0x15){return _0xb3e0xd[_0xf56d[30]](404)};if(_0xb3e0xc[_0xf56d[18]][_0xf56d[31]]&&_0xb3e0xc[_0xf56d[18]][_0xf56d[31]]===_0xf56d[32]){_0xb3e0xc[_0xf56d[18]][_0xf56d[33]]=moment()[_0xf56d[35]](_0xf56d[34]);_0xb3e0xc[_0xf56d[18]][_0xf56d[36]]=moment()[_0xf56d[35]](_0xf56d[34]);_0xb3e0x15[_0xf56d[38]][_0xf56d[37]]=_0xb3e0x15[_0xf56d[38]][_0xf56d[37]][_0xf56d[41]](_0xf56d[39],_0xf56d[40])};delete _0xb3e0xc[_0xf56d[18]][_0xf56d[31]];return [_0xb3e0x15,ExtractedReport[_0xf56d[74]]({name:_0xb3e0x15[_0xf56d[73]],startDate:_0xb3e0xc[_0xf56d[18]][_0xf56d[33]]||null,endDate:_0xb3e0xc[_0xf56d[18]][_0xf56d[36]]||null,output:_0xb3e0x1c})]})[_0xf56d[26]](function(_0xb3e0x15,_0xb3e0x1d){var _0xb3e0x1e=cp[_0xf56d[64]](__dirname+_0xf56d[63]);_0xb3e0x1e[_0xf56d[67]](_0xf56d[70],function(_0xb3e0x1f){console[_0xf56d[23]](_0xf56d[71],_0xb3e0x1f);_0xb3e0x1e[_0xf56d[72]]()})[_0xf56d[67]](_0xf56d[68],function(){console[_0xf56d[23]](_0xf56d[69])})[_0xf56d[67]](_0xf56d[65],function(_0xb3e0xf){console[_0xf56d[23]](_0xf56d[66],_0xb3e0xf)});_0xb3e0x1e[_0xf56d[15]]({report:_0xb3e0x15,query:_0xb3e0xc[_0xf56d[18]],extractedId:_0xb3e0x1d[_0xf56d[42]],user:_0xb3e0xc[_0xf56d[27]],type:_0xb3e0x1c})})[_0xf56d[14]](function(_0xb3e0xf){console[_0xf56d[23]](_0xb3e0xf);return handleError(_0xb3e0xd,_0xb3e0xf)});return _0xb3e0xd[_0xf56d[30]](200)}function getConditions(_0xb3e0x21){if(!_0xb3e0x21){return _0xf56d[40]};for(var _0xb3e0x22=_0xf56d[75],_0xb3e0x23=0;_0xb3e0x23<_0xb3e0x21[_0xf56d[76]][_0xf56d[48]];_0xb3e0x23++){_0xb3e0x23>0&&(_0xb3e0x22+=_0xf56d[77]+_0xb3e0x21[_0xf56d[78]]+_0xf56d[77]);_0xb3e0x22+=_0xb3e0x21[_0xf56d[76]][_0xb3e0x23][_0xf56d[79]]?getConditions(_0xb3e0x21[_0xf56d[76]][_0xb3e0x23][_0xf56d[79]]):_0xb3e0x21[_0xf56d[76]][_0xb3e0x23][_0xf56d[80]]+_0xf56d[77]+_0xb3e0x21[_0xf56d[76]][_0xb3e0x23][_0xf56d[81]]+_0xf56d[82]+(_0xb3e0x21[_0xf56d[76]][_0xb3e0x23][_0xf56d[81]]===_0xf56d[83]?_0xf56d[84]+_0xb3e0x21[_0xf56d[76]][_0xb3e0x23][_0xf56d[50]]+_0xf56d[84]:_0xb3e0x21[_0xf56d[76]][_0xb3e0x23][_0xf56d[50]])+_0xf56d[85]};return _0xb3e0x22+_0xf56d[86]}exports[_0xf56d[87]]=function(_0xb3e0xc,_0xb3e0xd){return DefaultReport[_0xf56d[44]](_0xb3e0xc[_0xf56d[43]][_0xf56d[42]],{include:[{all:true}]})[_0xf56d[17]](function(_0xb3e0x15){if(!_0xb3e0x15){return _0xb3e0xd[_0xf56d[30]](404)};return _0xb3e0xd[_0xf56d[15]](_0xb3e0x15)})[_0xf56d[14]](function(_0xb3e0xf){return handleError(_0xb3e0xd,_0xb3e0xf)})};exports[_0xf56d[88]]=function(_0xb3e0xc,_0xb3e0xd){return DefaultReport[_0xf56d[44]](_0xb3e0xc[_0xf56d[43]][_0xf56d[42]],{include:[{all:true}]})[_0xf56d[17]](function(_0xb3e0x15){if(!_0xb3e0x15){return _0xb3e0xd[_0xf56d[30]](404)};var _0xb3e0x24=_0xb3e0x15[_0xf56d[38]];delete _0xb3e0x24[_0xf56d[42]];delete _0xb3e0x24[_0xf56d[89]];delete _0xb3e0x24[_0xf56d[90]];_0xb3e0x24[_0xf56d[91]]=_0xb3e0xc[_0xf56d[92]][_0xf56d[91]];_0xb3e0x24[_0xf56d[93]]=_[_0xf56d[94]](_0xb3e0x24.Fields,_0xf56d[38]);_[_0xf56d[56]](_0xb3e0x24.Fields,function(_0xb3e0x25){delete _0xb3e0x25[_0xf56d[42]];delete _0xb3e0x25[_0xf56d[95]];delete _0xb3e0x25[_0xf56d[89]];delete _0xb3e0x25[_0xf56d[90]]});return CustomReport[_0xf56d[74]](_0xb3e0x24,{include:[{all:true}]})})[_0xf56d[17]](function(){return _0xb3e0xd[_0xf56d[30]](201)})[_0xf56d[14]](function(_0xb3e0xf){console[_0xf56d[23]](_0xb3e0xf);return handleError(_0xb3e0xd,_0xb3e0xf)})};exports[_0xf56d[74]]=function(_0xb3e0xc,_0xb3e0xd){return DefaultReport[_0xf56d[74]](_0xb3e0xc[_0xf56d[92]])[_0xf56d[17]](function(_0xb3e0x15){return _0xb3e0xd[_0xf56d[16]](201)[_0xf56d[15]](_0xb3e0x15)})[_0xf56d[14]](function(_0xb3e0xf){return handleError(_0xb3e0xd,_0xb3e0xf)})};exports[_0xf56d[96]]=function(_0xb3e0xc,_0xb3e0xd){if(_0xb3e0xc[_0xf56d[92]][_0xf56d[42]]){delete _0xb3e0xc[_0xf56d[92]][_0xf56d[42]]};return DefaultReport[_0xf56d[44]](_0xb3e0xc[_0xf56d[43]][_0xf56d[42]])[_0xf56d[17]](function(_0xb3e0x15){if(!_0xb3e0x15){return _0xb3e0xd[_0xf56d[30]](404)};var _0xb3e0x26=_[_0xf56d[97]](_0xb3e0x15,_0xb3e0xc[_0xf56d[92]]);return _0xb3e0x26[_0xf56d[98]]()})[_0xf56d[17]](function(_0xb3e0x15){return _0xb3e0xd[_0xf56d[16]](200)[_0xf56d[15]](_0xb3e0x15)})[_0xf56d[14]](function(_0xb3e0xf){return handleError(_0xb3e0xd,_0xb3e0xf)})};exports[_0xf56d[99]]=function(_0xb3e0xc,_0xb3e0xd){return DefaultReport[_0xf56d[44]](_0xb3e0xc[_0xf56d[43]][_0xf56d[42]])[_0xf56d[17]](function(_0xb3e0x15){if(!_0xb3e0x15){return _0xb3e0xd[_0xf56d[30]](404)};return _0xb3e0x15[_0xf56d[99]]()})[_0xf56d[17]](function(){return _0xb3e0xd[_0xf56d[30]](204)})[_0xf56d[14]](function(_0xb3e0xf){return handleError(_0xb3e0xd,_0xb3e0xf)})};function handleError(_0xb3e0xd,_0xb3e0xf){return _0xb3e0xd[_0xf56d[16]](500)[_0xf56d[15]](_0xb3e0xf)} \ No newline at end of file diff --git a/server/api/default_report/default_report.socket.js b/server/api/default_report/default_report.socket.js index 35d1694..3565379 100644 --- a/server/api/default_report/default_report.socket.js +++ b/server/api/default_report/default_report.socket.js @@ -1 +1 @@ -var _0xcb08=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x66\x61\x75\x6C\x74\x5F\x72\x65\x70\x6F\x72\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x64\x65\x66\x61\x75\x6C\x74\x5F\x72\x65\x70\x6F\x72\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0xcb08[0];var DefaultReport=require(_0xcb08[2])[_0xcb08[1]];exports[_0xcb08[3]]=function(_0x36a6x2){DefaultReport[_0xcb08[4]](function(_0x36a6x3){onSave(_0x36a6x2,_0x36a6x3)});DefaultReport[_0xcb08[5]](function(_0x36a6x3){onRemove(_0x36a6x2,_0x36a6x3)})};function onSave(_0x36a6x2,_0x36a6x3,_0x36a6x5){_0x36a6x2[_0xcb08[7]](_0xcb08[6],_0x36a6x3)}function onRemove(_0x36a6x2,_0x36a6x3,_0x36a6x5){_0x36a6x2[_0xcb08[7]](_0xcb08[8],_0x36a6x3)} \ No newline at end of file +var _0xa9fc=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x66\x61\x75\x6C\x74\x5F\x72\x65\x70\x6F\x72\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x64\x65\x66\x61\x75\x6C\x74\x5F\x72\x65\x70\x6F\x72\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0xa9fc[0];var DefaultReport=require(_0xa9fc[2])[_0xa9fc[1]];exports[_0xa9fc[3]]=function(_0x41bbx2){DefaultReport[_0xa9fc[4]](function(_0x41bbx3){onSave(_0x41bbx2,_0x41bbx3)});DefaultReport[_0xa9fc[5]](function(_0x41bbx3){onRemove(_0x41bbx2,_0x41bbx3)})};function onSave(_0x41bbx2,_0x41bbx3,_0x41bbx5){_0x41bbx2[_0xa9fc[7]](_0xa9fc[6],_0x41bbx3)}function onRemove(_0x41bbx2,_0x41bbx3,_0x41bbx5){_0x41bbx2[_0xa9fc[7]](_0xa9fc[8],_0x41bbx3)} \ No newline at end of file diff --git a/server/api/default_report/index.js b/server/api/default_report/index.js index 2df0e03..9801817 100644 --- a/server/api/default_report/index.js +++ b/server/api/default_report/index.js @@ -1 +1 @@ -var _0xfae0=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x64\x65\x66\x61\x75\x6C\x74\x5F\x72\x65\x70\x6F\x72\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64\x2F\x70\x72\x65\x76\x69\x65\x77","\x70\x72\x65\x76\x69\x65\x77","\x2F\x3A\x69\x64\x2F\x71\x75\x65\x72\x79","\x67\x65\x74\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x72\x79","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x65\x78\x74\x72\x61\x63\x74\x2F\x70\x64\x66","\x65\x78\x74\x72\x61\x63\x74\x50\x64\x66","\x2F\x3A\x69\x64\x2F\x65\x78\x74\x72\x61\x63\x74\x2F\x63\x73\x76","\x65\x78\x74\x72\x61\x63\x74\x43\x73\x76","\x2F\x3A\x69\x64\x2F\x63\x6F\x70\x79","\x63\x6F\x70\x79","\x70\x6F\x73\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0xfae0[0];var express=require(_0xfae0[1]);var controller=require(_0xfae0[2]);var auth=require(_0xfae0[3]);var router=express.Router();router[_0xfae0[9]](_0xfae0[4],auth[_0xfae0[5]](),auth[_0xfae0[7]]([17],[_0xfae0[6]]),controller[_0xfae0[8]]);router[_0xfae0[9]](_0xfae0[10],auth[_0xfae0[5]](),auth[_0xfae0[7]]([17],[_0xfae0[6]]),controller[_0xfae0[11]]);router[_0xfae0[9]](_0xfae0[12],auth[_0xfae0[5]](),auth[_0xfae0[7]]([17],[_0xfae0[6]]),controller[_0xfae0[13]]);router[_0xfae0[9]](_0xfae0[14],auth[_0xfae0[5]](),auth[_0xfae0[7]]([17],[_0xfae0[6]]),controller[_0xfae0[15]]);router[_0xfae0[9]](_0xfae0[16],auth[_0xfae0[5]](),auth[_0xfae0[7]]([17],[_0xfae0[6]]),controller[_0xfae0[17]]);router[_0xfae0[9]](_0xfae0[18],auth[_0xfae0[5]](),auth[_0xfae0[7]]([17],[_0xfae0[6]]),controller[_0xfae0[19]]);router[_0xfae0[22]](_0xfae0[20],auth[_0xfae0[5]](),auth[_0xfae0[7]]([17],[_0xfae0[6]]),controller[_0xfae0[21]]);module[_0xfae0[23]]=router \ No newline at end of file +var _0x3a2b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x64\x65\x66\x61\x75\x6C\x74\x5F\x72\x65\x70\x6F\x72\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64\x2F\x70\x72\x65\x76\x69\x65\x77","\x70\x72\x65\x76\x69\x65\x77","\x2F\x3A\x69\x64\x2F\x71\x75\x65\x72\x79","\x67\x65\x74\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x72\x79","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x65\x78\x74\x72\x61\x63\x74\x2F\x70\x64\x66","\x65\x78\x74\x72\x61\x63\x74\x50\x64\x66","\x2F\x3A\x69\x64\x2F\x65\x78\x74\x72\x61\x63\x74\x2F\x63\x73\x76","\x65\x78\x74\x72\x61\x63\x74\x43\x73\x76","\x2F\x3A\x69\x64\x2F\x63\x6F\x70\x79","\x63\x6F\x70\x79","\x70\x6F\x73\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x3a2b[0];var express=require(_0x3a2b[1]);var controller=require(_0x3a2b[2]);var auth=require(_0x3a2b[3]);var router=express.Router();router[_0x3a2b[9]](_0x3a2b[4],auth[_0x3a2b[5]](),auth[_0x3a2b[7]]([17],[_0x3a2b[6]]),controller[_0x3a2b[8]]);router[_0x3a2b[9]](_0x3a2b[10],auth[_0x3a2b[5]](),auth[_0x3a2b[7]]([17],[_0x3a2b[6]]),controller[_0x3a2b[11]]);router[_0x3a2b[9]](_0x3a2b[12],auth[_0x3a2b[5]](),auth[_0x3a2b[7]]([17],[_0x3a2b[6]]),controller[_0x3a2b[13]]);router[_0x3a2b[9]](_0x3a2b[14],auth[_0x3a2b[5]](),auth[_0x3a2b[7]]([17],[_0x3a2b[6]]),controller[_0x3a2b[15]]);router[_0x3a2b[9]](_0x3a2b[16],auth[_0x3a2b[5]](),auth[_0x3a2b[7]]([17],[_0x3a2b[6]]),controller[_0x3a2b[17]]);router[_0x3a2b[9]](_0x3a2b[18],auth[_0x3a2b[5]](),auth[_0x3a2b[7]]([17],[_0x3a2b[6]]),controller[_0x3a2b[19]]);router[_0x3a2b[22]](_0x3a2b[20],auth[_0x3a2b[5]](),auth[_0x3a2b[7]]([17],[_0x3a2b[6]]),controller[_0x3a2b[21]]);module[_0x3a2b[23]]=router \ No newline at end of file diff --git a/server/api/desk_account/desk_account.controller.js b/server/api/desk_account/desk_account.controller.js index c146cfd..c956957 100644 --- a/server/api/desk_account/desk_account.controller.js +++ b/server/api/desk_account/desk_account.controller.js @@ -1 +1 @@ -var _0x8129=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x64\x65\x73\x6B\x2E\x6A\x73","\x44\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x6E\x61\x6D\x65","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x72\x65\x6D\x6F\x74\x65\x55\x72\x69","\x70\x65\x72\x5F\x70\x61\x67\x65","\x71\x75\x65\x72\x79","\x70\x61\x67\x65","\x6F\x72\x64\x65\x72","\x25\x73\x20\x25\x73","\x73\x6F\x72\x74\x5F\x62\x79","\x73\x6F\x72\x74\x5F\x6F\x72\x64\x65\x72","\x41\x53\x43","\x66\x6F\x72\x6D\x61\x74","\x24\x6F\x72","\x77\x68\x65\x72\x65","\x25","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x24","\x24\x6C\x69\x6B\x65","\x66\x6F\x72\x49\x6E","\x53\x6F\x6D\x65\x74\x68\x69\x6E\x67\x20\x62\x6C\x65\x77\x20\x75\x70\x21","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x63\x61\x74\x63\x68","\x63\x6F\x75\x6E\x74","\x63\x65\x69\x6C","\x6F\x66\x66\x73\x65\x74","\x25\x73\x3A\x2F\x2F\x25\x73\x25\x73\x3F\x70\x61\x67\x65\x3D\x25\x64","\x70\x72\x6F\x74\x6F\x63\x6F\x6C","\x68\x6F\x73\x74","\x68\x65\x61\x64\x65\x72\x73","\x62\x61\x73\x65\x55\x72\x6C","\x72\x6F\x77\x73","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x63\x68\x65\x63\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x61\x75\x74\x68\x54\x79\x70\x65","\x62\x61\x73\x69\x63","\x70\x61\x73\x73\x77\x6F\x72\x64","\x6F\x61\x75\x74\x68","\x63\x6F\x6E\x73\x75\x6D\x65\x72\x4B\x65\x79","\x63\x6F\x6E\x73\x75\x6D\x65\x72\x53\x65\x63\x72\x65\x74","\x74\x6F\x6B\x65\x6E","\x74\x6F\x6B\x65\x6E\x53\x65\x63\x72\x65\x74","\x63\x72\x65\x61\x74\x65\x43\x6C\x69\x65\x6E\x74","\x2F\x61\x70\x69\x2F\x76\x32\x2F\x75\x73\x65\x72\x73\x2F\x6D\x65","\x67\x65\x74","\x64\x65\x73\x6B\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x66\x69\x65\x6C\x64","\x76\x61\x6C\x75\x65","\x67\x65\x74\x46\x69\x65\x6C\x64\x73","\x2F\x61\x70\x69\x2F\x76\x32\x2F\x63\x75\x73\x74\x6F\x6D\x5F\x66\x69\x65\x6C\x64\x73","\x65\x6E\x74\x72\x69\x65\x73","\x5F\x65\x6D\x62\x65\x64\x64\x65\x64","\x6A\x73\x6F\x6E","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x73\x75\x62\x73\x74\x72","\x2F","\x6C\x65\x6E\x67\x74\x68"];_0x8129[0];var _=require(_0x8129[1]);var util=require(_0x8129[2]);var desk=require(_0x8129[3]);var DeskAccount=require(_0x8129[5])[_0x8129[4]];exports[_0x8129[6]]=function(_0x3627x5,_0x3627x6){var _0x3627x7=[_0x8129[7],_0x8129[8],_0x8129[9],_0x8129[10]];var _0x3627x8=_0x3627x5[_0x8129[12]][_0x8129[11]]?parseInt(_0x3627x5[_0x8129[12]][_0x8129[11]],10):100;var _0x3627x9=_0x3627x5[_0x8129[12]][_0x8129[13]]?parseInt(_0x3627x5[_0x8129[12]][_0x8129[13]],10):0;var _0x3627xa={where:{},limit:_0x3627x8,offset:_0x3627x9*_0x3627x8};_[_0x8129[27]](_0x3627x5[_0x8129[12]],function(_0x3627xb,_0x3627xc){switch(_0x3627xc){case _0x8129[11]:;case _0x8129[13]:break;case _0x8129[16]:_0x3627xa[_0x8129[14]]=util[_0x8129[19]](_0x8129[15],_0x3627x5[_0x8129[12]][_0x8129[16]],_0x3627x5[_0x8129[12]][_0x8129[17]]||_0x8129[18])||null;break;case _0x8129[17]:break;case _0x8129[25]:_0x3627xa[_0x8129[21]][_0x8129[20]]=[];_0x3627x7[_0x8129[24]](function(_0x3627xd){var _0x3627xe={};_0x3627xe[_0x3627xd]={$like:_0x8129[22]+_0x3627xb+_0x8129[22]};_0x3627xa[_0x8129[21]][_0x8129[20]][_0x8129[23]](_0x3627xe)});break;default:_0x3627xa[_0x8129[21]][_0x3627xc]={$like:{}};_0x3627xa[_0x8129[21]][_0x3627xc][_0x8129[26]]=_0x8129[22]+_0x3627xb+_0x8129[22]}});return DeskAccount[_0x8129[42]](_0x3627xa)[_0x8129[41]](function(_0x3627x10){var _0x3627x11=Math[_0x8129[33]](_0x3627x10[_0x8129[32]]/_0x3627x8);var _0x3627x12=_0x3627x11>(_0x3627xa[_0x8129[34]]+1)?util[_0x8129[19]](_0x8129[35],_0x3627x5[_0x8129[36]],_0x3627x5[_0x8129[38]][_0x8129[37]],_0x3627x5[_0x8129[39]],_0x3627x9+1):null;var _0x3627x13=_0x3627x9>0?util[_0x8129[19]](_0x8129[35],_0x3627x5[_0x8129[36]],_0x3627x5[_0x8129[38]][_0x8129[37]],_0x3627x5[_0x8129[39]],_0x3627x9-1):null;return _0x3627x6[_0x8129[30]](200)[_0x8129[29]]({count:_0x3627x10[_0x8129[32]],rows:_0x3627x10[_0x8129[40]],next_page:_0x3627x12,previous_page:_0x3627x13,total_pages:_0x3627x11})})[_0x8129[31]](function(_0x3627xf){return _0x3627x6[_0x8129[30]](500)[_0x8129[29]]({error:_0x8129[28]})})};exports[_0x8129[43]]=function(_0x3627x5,_0x3627x6){DeskAccount[_0x8129[47]](_0x3627x5[_0x8129[46]][_0x8129[45]])[_0x8129[41]](function(_0x3627x14){if(!_0x3627x14){return _0x3627x6[_0x8129[44]](404)};return _0x3627x6[_0x8129[29]](_0x3627x14)})[_0x8129[31]](function(_0x3627xf){return handleError(_0x3627x6,_0x3627xf)})};exports[_0x8129[48]]=function(_0x3627x5,_0x3627x6,_0x3627x15){DeskAccount[_0x8129[48]](_0x3627x5[_0x8129[49]])[_0x8129[41]](function(_0x3627x14){return _0x3627x6[_0x8129[30]](201)[_0x8129[29]](_0x3627x14)})[_0x8129[31]](function(_0x3627xf){return handleError(_0x3627x6,_0x3627xf)})};exports[_0x8129[50]]=function(_0x3627x5,_0x3627x6){if(_0x3627x5[_0x8129[49]][_0x8129[45]]){delete _0x3627x5[_0x8129[49]][_0x8129[45]]};DeskAccount[_0x8129[47]](_0x3627x5[_0x8129[46]][_0x8129[45]])[_0x8129[41]](function(_0x3627x14){if(!_0x3627x14){return _0x3627x6[_0x8129[44]](404)};var _0x3627x16=_[_0x8129[51]](_0x3627x14,_0x3627x5[_0x8129[49]]);_0x3627x16[_0x8129[52]]()[_0x8129[41]](function(){return _0x3627x6[_0x8129[30]](200)[_0x8129[29]](_0x3627x14)})[_0x8129[31]](function(_0x3627xf){return handleError(_0x3627x6,_0x3627xf)})})[_0x8129[31]](function(_0x3627xf){return handleError(_0x3627x6,_0x3627xf)})};exports[_0x8129[53]]=function(_0x3627x5,_0x3627x6){DeskAccount[_0x8129[47]](_0x3627x5[_0x8129[46]][_0x8129[45]])[_0x8129[41]](function(_0x3627x14){if(!_0x3627x14){return _0x3627x6[_0x8129[44]](404)};_0x3627x14[_0x8129[53]]()[_0x8129[41]](function(){return _0x3627x6[_0x8129[44]](204)})[_0x8129[31]](function(_0x3627xf){return handleError(_0x3627x6,_0x3627xf)})})[_0x8129[31]](function(_0x3627xf){return handleError(_0x3627x6,_0x3627xf)})};exports[_0x8129[54]]=function(_0x3627x5,_0x3627x6){DeskAccount[_0x8129[47]](_0x3627x5[_0x8129[46]][_0x8129[45]])[_0x8129[41]](function(_0x3627x17){var _0x3627x14={endpoint:stripTrailingSlash(_0x3627x17[_0x8129[10]]),retry:false};if(_0x3627x17[_0x8129[55]]===_0x8129[56]){_0x3627x14[_0x8129[9]]=_0x3627x17[_0x8129[9]];_0x3627x14[_0x8129[57]]=_0x3627x17[_0x8129[57]]}else {if(_0x3627x17[_0x8129[55]]===_0x8129[58]){_0x3627x14[_0x8129[59]]=_0x3627x17[_0x8129[59]];_0x3627x14[_0x8129[60]]=_0x3627x17[_0x8129[60]];_0x3627x14[_0x8129[61]]=_0x3627x17[_0x8129[61]];_0x3627x14[_0x8129[62]]=_0x3627x17[_0x8129[62]]}};var _0x3627x18=desk[_0x8129[63]](_0x3627x14);_0x3627x18[_0x8129[65]](_0x8129[64],function(_0x3627xf,_0x3627x19,_0x3627x1a){if(_0x3627xf){return handleError(_0x3627x6,_0x3627xf)};return _0x3627x6[_0x8129[44]](200)})})[_0x8129[31]](function(_0x3627xf){return handleError(_0x3627x6,_0x3627xf)})};exports[_0x8129[66]]=function(_0x3627x5,_0x3627x6){var _0x3627x1b={};_0x3627x1b[_0x3627x5[_0x8129[46]][_0x8129[67]]]=_0x3627x5[_0x8129[49]][_0x8129[68]];DeskAccount[_0x8129[42]]({where:_0x3627x1b})[_0x8129[41]](function(_0x3627x10){if(_0x3627x10[_0x8129[32]]){return _0x3627x6[_0x8129[30]](200)[_0x8129[29]]({isValid:false,value:_0x3627x5[_0x8129[49]][_0x8129[68]]})};return _0x3627x6[_0x8129[30]](200)[_0x8129[29]]({isValid:true,value:_0x3627x5[_0x8129[49]][_0x8129[68]]})})[_0x8129[31]](function(_0x3627xf){return handleError(_0x3627x6,_0x3627xf)})};exports[_0x8129[69]]=function(_0x3627x5,_0x3627x6){DeskAccount[_0x8129[47]](_0x3627x5[_0x8129[46]][_0x8129[45]])[_0x8129[41]](function(_0x3627x17){var _0x3627x14={endpoint:stripTrailingSlash(_0x3627x17[_0x8129[10]]),retry:false};if(_0x3627x17[_0x8129[55]]===_0x8129[56]){_0x3627x14[_0x8129[9]]=_0x3627x17[_0x8129[9]];_0x3627x14[_0x8129[57]]=_0x3627x17[_0x8129[57]]}else {if(_0x3627x17[_0x8129[55]]===_0x8129[58]){_0x3627x14[_0x8129[59]]=_0x3627x17[_0x8129[59]];_0x3627x14[_0x8129[60]]=_0x3627x17[_0x8129[60]];_0x3627x14[_0x8129[61]]=_0x3627x17[_0x8129[61]];_0x3627x14[_0x8129[62]]=_0x3627x17[_0x8129[62]]}};var _0x3627x18=desk[_0x8129[63]](_0x3627x14);_0x3627x18[_0x8129[65]](_0x8129[70],function(_0x3627xf,_0x3627x19,_0x3627x1a){if(_0x3627xf){return handleError(_0x3627x6,_0x3627xf)};return _0x3627x6[_0x8129[30]](200)[_0x8129[73]](_0x3627x19[_0x8129[72]][_0x8129[71]])})})[_0x8129[31]](function(_0x3627xf){return handleError(_0x3627x6,_0x3627xf)})};exports[_0x8129[74]]=function(_0x3627x5,_0x3627x6){DeskAccount[_0x8129[53]]({where:{id:_0x3627x5[_0x8129[12]][_0x8129[45]]},individualHooks:true})[_0x8129[41]](function(){return _0x3627x6[_0x8129[44]](204)})[_0x8129[31]](function(_0x3627xf){return handleError(_0x3627x6,_0x3627xf)})};function stripTrailingSlash(_0x3627x1d){if(_0x3627x1d[_0x8129[75]](-1)===_0x8129[76]){return _0x3627x1d[_0x8129[75]](0,_0x3627x1d[_0x8129[77]]-1)};return _0x3627x1d}function handleError(_0x3627x6,_0x3627xf){return _0x3627x6[_0x8129[30]](500)[_0x8129[29]](_0x3627xf)} \ No newline at end of file +var _0x7028=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x64\x65\x73\x6B\x2E\x6A\x73","\x44\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x6E\x61\x6D\x65","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x72\x65\x6D\x6F\x74\x65\x55\x72\x69","\x70\x65\x72\x5F\x70\x61\x67\x65","\x71\x75\x65\x72\x79","\x70\x61\x67\x65","\x6F\x72\x64\x65\x72","\x25\x73\x20\x25\x73","\x73\x6F\x72\x74\x5F\x62\x79","\x73\x6F\x72\x74\x5F\x6F\x72\x64\x65\x72","\x41\x53\x43","\x66\x6F\x72\x6D\x61\x74","\x24\x6F\x72","\x77\x68\x65\x72\x65","\x25","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x24","\x24\x6C\x69\x6B\x65","\x66\x6F\x72\x49\x6E","\x53\x6F\x6D\x65\x74\x68\x69\x6E\x67\x20\x62\x6C\x65\x77\x20\x75\x70\x21","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x63\x61\x74\x63\x68","\x63\x6F\x75\x6E\x74","\x63\x65\x69\x6C","\x6F\x66\x66\x73\x65\x74","\x25\x73\x3A\x2F\x2F\x25\x73\x25\x73\x3F\x70\x61\x67\x65\x3D\x25\x64","\x70\x72\x6F\x74\x6F\x63\x6F\x6C","\x68\x6F\x73\x74","\x68\x65\x61\x64\x65\x72\x73","\x62\x61\x73\x65\x55\x72\x6C","\x72\x6F\x77\x73","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x63\x68\x65\x63\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x61\x75\x74\x68\x54\x79\x70\x65","\x62\x61\x73\x69\x63","\x70\x61\x73\x73\x77\x6F\x72\x64","\x6F\x61\x75\x74\x68","\x63\x6F\x6E\x73\x75\x6D\x65\x72\x4B\x65\x79","\x63\x6F\x6E\x73\x75\x6D\x65\x72\x53\x65\x63\x72\x65\x74","\x74\x6F\x6B\x65\x6E","\x74\x6F\x6B\x65\x6E\x53\x65\x63\x72\x65\x74","\x63\x72\x65\x61\x74\x65\x43\x6C\x69\x65\x6E\x74","\x2F\x61\x70\x69\x2F\x76\x32\x2F\x75\x73\x65\x72\x73\x2F\x6D\x65","\x67\x65\x74","\x64\x65\x73\x6B\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x66\x69\x65\x6C\x64","\x76\x61\x6C\x75\x65","\x67\x65\x74\x46\x69\x65\x6C\x64\x73","\x2F\x61\x70\x69\x2F\x76\x32\x2F\x63\x75\x73\x74\x6F\x6D\x5F\x66\x69\x65\x6C\x64\x73","\x65\x6E\x74\x72\x69\x65\x73","\x5F\x65\x6D\x62\x65\x64\x64\x65\x64","\x6A\x73\x6F\x6E","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x73\x75\x62\x73\x74\x72","\x2F","\x6C\x65\x6E\x67\x74\x68"];_0x7028[0];var _=require(_0x7028[1]);var util=require(_0x7028[2]);var desk=require(_0x7028[3]);var DeskAccount=require(_0x7028[5])[_0x7028[4]];exports[_0x7028[6]]=function(_0xb98fx5,_0xb98fx6){var _0xb98fx7=[_0x7028[7],_0x7028[8],_0x7028[9],_0x7028[10]];var _0xb98fx8=_0xb98fx5[_0x7028[12]][_0x7028[11]]?parseInt(_0xb98fx5[_0x7028[12]][_0x7028[11]],10):100;var _0xb98fx9=_0xb98fx5[_0x7028[12]][_0x7028[13]]?parseInt(_0xb98fx5[_0x7028[12]][_0x7028[13]],10):0;var _0xb98fxa={where:{},limit:_0xb98fx8,offset:_0xb98fx9*_0xb98fx8};_[_0x7028[27]](_0xb98fx5[_0x7028[12]],function(_0xb98fxb,_0xb98fxc){switch(_0xb98fxc){case _0x7028[11]:;case _0x7028[13]:break;case _0x7028[16]:_0xb98fxa[_0x7028[14]]=util[_0x7028[19]](_0x7028[15],_0xb98fx5[_0x7028[12]][_0x7028[16]],_0xb98fx5[_0x7028[12]][_0x7028[17]]||_0x7028[18])||null;break;case _0x7028[17]:break;case _0x7028[25]:_0xb98fxa[_0x7028[21]][_0x7028[20]]=[];_0xb98fx7[_0x7028[24]](function(_0xb98fxd){var _0xb98fxe={};_0xb98fxe[_0xb98fxd]={$like:_0x7028[22]+_0xb98fxb+_0x7028[22]};_0xb98fxa[_0x7028[21]][_0x7028[20]][_0x7028[23]](_0xb98fxe)});break;default:_0xb98fxa[_0x7028[21]][_0xb98fxc]={$like:{}};_0xb98fxa[_0x7028[21]][_0xb98fxc][_0x7028[26]]=_0x7028[22]+_0xb98fxb+_0x7028[22]}});return DeskAccount[_0x7028[42]](_0xb98fxa)[_0x7028[41]](function(_0xb98fx10){var _0xb98fx11=Math[_0x7028[33]](_0xb98fx10[_0x7028[32]]/_0xb98fx8);var _0xb98fx12=_0xb98fx11>(_0xb98fxa[_0x7028[34]]+1)?util[_0x7028[19]](_0x7028[35],_0xb98fx5[_0x7028[36]],_0xb98fx5[_0x7028[38]][_0x7028[37]],_0xb98fx5[_0x7028[39]],_0xb98fx9+1):null;var _0xb98fx13=_0xb98fx9>0?util[_0x7028[19]](_0x7028[35],_0xb98fx5[_0x7028[36]],_0xb98fx5[_0x7028[38]][_0x7028[37]],_0xb98fx5[_0x7028[39]],_0xb98fx9-1):null;return _0xb98fx6[_0x7028[30]](200)[_0x7028[29]]({count:_0xb98fx10[_0x7028[32]],rows:_0xb98fx10[_0x7028[40]],next_page:_0xb98fx12,previous_page:_0xb98fx13,total_pages:_0xb98fx11})})[_0x7028[31]](function(_0xb98fxf){return _0xb98fx6[_0x7028[30]](500)[_0x7028[29]]({error:_0x7028[28]})})};exports[_0x7028[43]]=function(_0xb98fx5,_0xb98fx6){DeskAccount[_0x7028[47]](_0xb98fx5[_0x7028[46]][_0x7028[45]])[_0x7028[41]](function(_0xb98fx14){if(!_0xb98fx14){return _0xb98fx6[_0x7028[44]](404)};return _0xb98fx6[_0x7028[29]](_0xb98fx14)})[_0x7028[31]](function(_0xb98fxf){return handleError(_0xb98fx6,_0xb98fxf)})};exports[_0x7028[48]]=function(_0xb98fx5,_0xb98fx6,_0xb98fx15){DeskAccount[_0x7028[48]](_0xb98fx5[_0x7028[49]])[_0x7028[41]](function(_0xb98fx14){return _0xb98fx6[_0x7028[30]](201)[_0x7028[29]](_0xb98fx14)})[_0x7028[31]](function(_0xb98fxf){return handleError(_0xb98fx6,_0xb98fxf)})};exports[_0x7028[50]]=function(_0xb98fx5,_0xb98fx6){if(_0xb98fx5[_0x7028[49]][_0x7028[45]]){delete _0xb98fx5[_0x7028[49]][_0x7028[45]]};DeskAccount[_0x7028[47]](_0xb98fx5[_0x7028[46]][_0x7028[45]])[_0x7028[41]](function(_0xb98fx14){if(!_0xb98fx14){return _0xb98fx6[_0x7028[44]](404)};var _0xb98fx16=_[_0x7028[51]](_0xb98fx14,_0xb98fx5[_0x7028[49]]);_0xb98fx16[_0x7028[52]]()[_0x7028[41]](function(){return _0xb98fx6[_0x7028[30]](200)[_0x7028[29]](_0xb98fx14)})[_0x7028[31]](function(_0xb98fxf){return handleError(_0xb98fx6,_0xb98fxf)})})[_0x7028[31]](function(_0xb98fxf){return handleError(_0xb98fx6,_0xb98fxf)})};exports[_0x7028[53]]=function(_0xb98fx5,_0xb98fx6){DeskAccount[_0x7028[47]](_0xb98fx5[_0x7028[46]][_0x7028[45]])[_0x7028[41]](function(_0xb98fx14){if(!_0xb98fx14){return _0xb98fx6[_0x7028[44]](404)};_0xb98fx14[_0x7028[53]]()[_0x7028[41]](function(){return _0xb98fx6[_0x7028[44]](204)})[_0x7028[31]](function(_0xb98fxf){return handleError(_0xb98fx6,_0xb98fxf)})})[_0x7028[31]](function(_0xb98fxf){return handleError(_0xb98fx6,_0xb98fxf)})};exports[_0x7028[54]]=function(_0xb98fx5,_0xb98fx6){DeskAccount[_0x7028[47]](_0xb98fx5[_0x7028[46]][_0x7028[45]])[_0x7028[41]](function(_0xb98fx17){var _0xb98fx14={endpoint:stripTrailingSlash(_0xb98fx17[_0x7028[10]]),retry:false};if(_0xb98fx17[_0x7028[55]]===_0x7028[56]){_0xb98fx14[_0x7028[9]]=_0xb98fx17[_0x7028[9]];_0xb98fx14[_0x7028[57]]=_0xb98fx17[_0x7028[57]]}else {if(_0xb98fx17[_0x7028[55]]===_0x7028[58]){_0xb98fx14[_0x7028[59]]=_0xb98fx17[_0x7028[59]];_0xb98fx14[_0x7028[60]]=_0xb98fx17[_0x7028[60]];_0xb98fx14[_0x7028[61]]=_0xb98fx17[_0x7028[61]];_0xb98fx14[_0x7028[62]]=_0xb98fx17[_0x7028[62]]}};var _0xb98fx18=desk[_0x7028[63]](_0xb98fx14);_0xb98fx18[_0x7028[65]](_0x7028[64],function(_0xb98fxf,_0xb98fx19,_0xb98fx1a){if(_0xb98fxf){return handleError(_0xb98fx6,_0xb98fxf)};return _0xb98fx6[_0x7028[44]](200)})})[_0x7028[31]](function(_0xb98fxf){return handleError(_0xb98fx6,_0xb98fxf)})};exports[_0x7028[66]]=function(_0xb98fx5,_0xb98fx6){var _0xb98fx1b={};_0xb98fx1b[_0xb98fx5[_0x7028[46]][_0x7028[67]]]=_0xb98fx5[_0x7028[49]][_0x7028[68]];DeskAccount[_0x7028[42]]({where:_0xb98fx1b})[_0x7028[41]](function(_0xb98fx10){if(_0xb98fx10[_0x7028[32]]){return _0xb98fx6[_0x7028[30]](200)[_0x7028[29]]({isValid:false,value:_0xb98fx5[_0x7028[49]][_0x7028[68]]})};return _0xb98fx6[_0x7028[30]](200)[_0x7028[29]]({isValid:true,value:_0xb98fx5[_0x7028[49]][_0x7028[68]]})})[_0x7028[31]](function(_0xb98fxf){return handleError(_0xb98fx6,_0xb98fxf)})};exports[_0x7028[69]]=function(_0xb98fx5,_0xb98fx6){DeskAccount[_0x7028[47]](_0xb98fx5[_0x7028[46]][_0x7028[45]])[_0x7028[41]](function(_0xb98fx17){var _0xb98fx14={endpoint:stripTrailingSlash(_0xb98fx17[_0x7028[10]]),retry:false};if(_0xb98fx17[_0x7028[55]]===_0x7028[56]){_0xb98fx14[_0x7028[9]]=_0xb98fx17[_0x7028[9]];_0xb98fx14[_0x7028[57]]=_0xb98fx17[_0x7028[57]]}else {if(_0xb98fx17[_0x7028[55]]===_0x7028[58]){_0xb98fx14[_0x7028[59]]=_0xb98fx17[_0x7028[59]];_0xb98fx14[_0x7028[60]]=_0xb98fx17[_0x7028[60]];_0xb98fx14[_0x7028[61]]=_0xb98fx17[_0x7028[61]];_0xb98fx14[_0x7028[62]]=_0xb98fx17[_0x7028[62]]}};var _0xb98fx18=desk[_0x7028[63]](_0xb98fx14);_0xb98fx18[_0x7028[65]](_0x7028[70],function(_0xb98fxf,_0xb98fx19,_0xb98fx1a){if(_0xb98fxf){return handleError(_0xb98fx6,_0xb98fxf)};return _0xb98fx6[_0x7028[30]](200)[_0x7028[73]](_0xb98fx19[_0x7028[72]][_0x7028[71]])})})[_0x7028[31]](function(_0xb98fxf){return handleError(_0xb98fx6,_0xb98fxf)})};exports[_0x7028[74]]=function(_0xb98fx5,_0xb98fx6){DeskAccount[_0x7028[53]]({where:{id:_0xb98fx5[_0x7028[12]][_0x7028[45]]},individualHooks:true})[_0x7028[41]](function(){return _0xb98fx6[_0x7028[44]](204)})[_0x7028[31]](function(_0xb98fxf){return handleError(_0xb98fx6,_0xb98fxf)})};function stripTrailingSlash(_0xb98fx1d){if(_0xb98fx1d[_0x7028[75]](-1)===_0x7028[76]){return _0xb98fx1d[_0x7028[75]](0,_0xb98fx1d[_0x7028[77]]-1)};return _0xb98fx1d}function handleError(_0xb98fx6,_0xb98fxf){return _0xb98fx6[_0x7028[30]](500)[_0x7028[29]](_0xb98fxf)} \ No newline at end of file diff --git a/server/api/desk_account/desk_account.socket.js b/server/api/desk_account/desk_account.socket.js index dafae1a..7f1b327 100644 --- a/server/api/desk_account/desk_account.socket.js +++ b/server/api/desk_account/desk_account.socket.js @@ -1 +1 @@ -var _0x67f9=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x44\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x67f9[0];var DeskAccount=require(_0x67f9[2])[_0x67f9[1]];exports[_0x67f9[3]]=function(_0xd2c7x2){DeskAccount[_0x67f9[4]](function(_0xd2c7x3){onSave(_0xd2c7x2,_0xd2c7x3)});DeskAccount[_0x67f9[5]](function(_0xd2c7x3){onRemove(_0xd2c7x2,_0xd2c7x3)})};function onSave(_0xd2c7x2,_0xd2c7x3,_0xd2c7x5){_0xd2c7x2[_0x67f9[7]](_0x67f9[6],_0xd2c7x3)}function onRemove(_0xd2c7x2,_0xd2c7x3,_0xd2c7x5){_0xd2c7x2[_0x67f9[7]](_0x67f9[8],_0xd2c7x3)} \ No newline at end of file +var _0xafbf=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x44\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0xafbf[0];var DeskAccount=require(_0xafbf[2])[_0xafbf[1]];exports[_0xafbf[3]]=function(_0x76f2x2){DeskAccount[_0xafbf[4]](function(_0x76f2x3){onSave(_0x76f2x2,_0x76f2x3)});DeskAccount[_0xafbf[5]](function(_0x76f2x3){onRemove(_0x76f2x2,_0x76f2x3)})};function onSave(_0x76f2x2,_0x76f2x3,_0x76f2x5){_0x76f2x2[_0xafbf[7]](_0xafbf[6],_0x76f2x3)}function onRemove(_0x76f2x2,_0x76f2x3,_0x76f2x5){_0x76f2x2[_0xafbf[7]](_0xafbf[8],_0x76f2x3)} \ No newline at end of file diff --git a/server/api/desk_account/index.js b/server/api/desk_account/index.js index 3114349..a532de5 100644 --- a/server/api/desk_account/index.js +++ b/server/api/desk_account/index.js @@ -1 +1 @@ -var _0x3bd1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x63\x68\x65\x63\x6B","\x63\x68\x65\x63\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x2F\x3A\x69\x64\x2F\x66\x69\x65\x6C\x64\x73","\x67\x65\x74\x46\x69\x65\x6C\x64\x73","\x2F\x76\x61\x6C\x69\x64\x61\x74\x65\x2F\x3A\x66\x69\x65\x6C\x64","\x64\x65\x73\x6B\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x70\x6F\x73\x74","\x63\x72\x65\x61\x74\x65","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x3bd1[0];var express=require(_0x3bd1[1]);var controller=require(_0x3bd1[2]);var auth=require(_0x3bd1[3]);var router=express.Router();router[_0x3bd1[9]](_0x3bd1[4],auth[_0x3bd1[5]](),auth[_0x3bd1[7]]([19,13],[_0x3bd1[6]]),controller[_0x3bd1[8]]);router[_0x3bd1[9]](_0x3bd1[10],auth[_0x3bd1[5]](),auth[_0x3bd1[7]]([19],[_0x3bd1[6]]),controller[_0x3bd1[11]]);router[_0x3bd1[9]](_0x3bd1[12],auth[_0x3bd1[5]](),auth[_0x3bd1[7]]([19],[_0x3bd1[6]]),controller[_0x3bd1[13]]);router[_0x3bd1[9]](_0x3bd1[14],auth[_0x3bd1[5]](),auth[_0x3bd1[7]]([19],[_0x3bd1[6]]),controller[_0x3bd1[15]]);router[_0x3bd1[18]](_0x3bd1[16],auth[_0x3bd1[5]](),auth[_0x3bd1[7]]([19],[_0x3bd1[6]]),controller[_0x3bd1[17]]);router[_0x3bd1[18]](_0x3bd1[4],auth[_0x3bd1[5]](),auth[_0x3bd1[7]]([19],[_0x3bd1[6]]),controller[_0x3bd1[19]]);router[_0x3bd1[21]](_0x3bd1[10],auth[_0x3bd1[5]](),auth[_0x3bd1[7]]([19],[_0x3bd1[6]]),controller[_0x3bd1[20]]);router[_0x3bd1[23]](_0x3bd1[4],auth[_0x3bd1[5]](),auth[_0x3bd1[7]]([19],[_0x3bd1[6]]),controller[_0x3bd1[22]]);router[_0x3bd1[23]](_0x3bd1[10],auth[_0x3bd1[5]](),auth[_0x3bd1[7]]([19],[_0x3bd1[6]]),controller[_0x3bd1[24]]);module[_0x3bd1[25]]=router \ No newline at end of file +var _0xbda6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x63\x68\x65\x63\x6B","\x63\x68\x65\x63\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x2F\x3A\x69\x64\x2F\x66\x69\x65\x6C\x64\x73","\x67\x65\x74\x46\x69\x65\x6C\x64\x73","\x2F\x76\x61\x6C\x69\x64\x61\x74\x65\x2F\x3A\x66\x69\x65\x6C\x64","\x64\x65\x73\x6B\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x70\x6F\x73\x74","\x63\x72\x65\x61\x74\x65","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0xbda6[0];var express=require(_0xbda6[1]);var controller=require(_0xbda6[2]);var auth=require(_0xbda6[3]);var router=express.Router();router[_0xbda6[9]](_0xbda6[4],auth[_0xbda6[5]](),auth[_0xbda6[7]]([19,13],[_0xbda6[6]]),controller[_0xbda6[8]]);router[_0xbda6[9]](_0xbda6[10],auth[_0xbda6[5]](),auth[_0xbda6[7]]([19],[_0xbda6[6]]),controller[_0xbda6[11]]);router[_0xbda6[9]](_0xbda6[12],auth[_0xbda6[5]](),auth[_0xbda6[7]]([19],[_0xbda6[6]]),controller[_0xbda6[13]]);router[_0xbda6[9]](_0xbda6[14],auth[_0xbda6[5]](),auth[_0xbda6[7]]([19],[_0xbda6[6]]),controller[_0xbda6[15]]);router[_0xbda6[18]](_0xbda6[16],auth[_0xbda6[5]](),auth[_0xbda6[7]]([19],[_0xbda6[6]]),controller[_0xbda6[17]]);router[_0xbda6[18]](_0xbda6[4],auth[_0xbda6[5]](),auth[_0xbda6[7]]([19],[_0xbda6[6]]),controller[_0xbda6[19]]);router[_0xbda6[21]](_0xbda6[10],auth[_0xbda6[5]](),auth[_0xbda6[7]]([19],[_0xbda6[6]]),controller[_0xbda6[20]]);router[_0xbda6[23]](_0xbda6[4],auth[_0xbda6[5]](),auth[_0xbda6[7]]([19],[_0xbda6[6]]),controller[_0xbda6[22]]);router[_0xbda6[23]](_0xbda6[10],auth[_0xbda6[5]](),auth[_0xbda6[7]]([19],[_0xbda6[6]]),controller[_0xbda6[24]]);module[_0xbda6[25]]=router \ No newline at end of file diff --git a/server/api/desk_configuration/desk_configuration.controller.js b/server/api/desk_configuration/desk_configuration.controller.js index 41822f6..83d7471 100644 --- a/server/api/desk_configuration/desk_configuration.controller.js +++ b/server/api/desk_configuration/desk_configuration.controller.js @@ -1 +1 @@ -var _0xaf41=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x44\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x44\x65\x73\x6B\x46\x69\x65\x6C\x64","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x71\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x53\x75\x62\x6A\x65\x63\x74","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x46\x69\x65\x6C\x64","\x66\x69\x6E\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x66\x69\x6E\x64\x42\x79\x49\x64","\x61\x64\x64\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x46\x69\x65\x6C\x64","\x73\x70\x72\x65\x61\x64","\x61\x64\x64\x53\x75\x62\x6A\x65\x63\x74","\x73\x75\x62\x6A\x65\x63\x74","\x61\x64\x64\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x61\x64\x64\x46\x69\x65\x6C\x64","\x66\x69\x65\x6C\x64","\x74\x79\x70\x65"];_0xaf41[0];var _=require(_0xaf41[1]);var DeskConfiguration=require(_0xaf41[3])[_0xaf41[2]];var DeskField=require(_0xaf41[3])[_0xaf41[4]];function handleError(_0x45f4x5,_0x45f4x6){_0x45f4x6=_0x45f4x6||500;return function(_0x45f4x7){_0x45f4x5[_0xaf41[6]](_0x45f4x6)[_0xaf41[5]](_0x45f4x7)}}function responseWithResult(_0x45f4x5,_0x45f4x6){_0x45f4x6=_0x45f4x6||200;return function(_0x45f4x9){if(_0x45f4x9){_0x45f4x5[_0xaf41[6]](_0x45f4x6)[_0xaf41[7]](_0x45f4x9)}}}function handleEntityNotFound(_0x45f4x5){return function(_0x45f4x9){if(!_0x45f4x9){_0x45f4x5[_0xaf41[6]](404)[_0xaf41[8]]();return null};return _0x45f4x9}}function saveUpdates(_0x45f4xc){return function(_0x45f4x9){return _0x45f4x9[_0xaf41[10]](_0x45f4xc)[_0xaf41[9]](function(_0x45f4xd){return _0x45f4xd})}}function removeEntity(_0x45f4x5){return function(_0x45f4x9){if(_0x45f4x9){return _0x45f4x9[_0xaf41[11]]()[_0xaf41[9]](function(){_0x45f4x5[_0xaf41[6]](204)[_0xaf41[8]]()})}}}exports[_0xaf41[12]]=function(_0x45f4xf,_0x45f4x5){DeskConfiguration[_0xaf41[15]]({where:_0x45f4xf[_0xaf41[14]]})[_0xaf41[9]](responseWithResult(_0x45f4x5))[_0xaf41[13]](handleError(_0x45f4x5))};exports[_0xaf41[16]]=function(_0x45f4xf,_0x45f4x5){DeskConfiguration[_0xaf41[22]]({where:{id:_0x45f4xf[_0xaf41[18]][_0xaf41[17]]},include:[{model:DeskField,as:_0xaf41[19]},{model:DeskField,as:_0xaf41[20]},{model:DeskField,as:_0xaf41[21]}]})[_0xaf41[9]](handleEntityNotFound(_0x45f4x5))[_0xaf41[9]](responseWithResult(_0x45f4x5))[_0xaf41[13]](handleError(_0x45f4x5))};exports[_0xaf41[23]]=function(_0x45f4xf,_0x45f4x5){DeskConfiguration[_0xaf41[23]](_0x45f4xf[_0xaf41[24]])[_0xaf41[9]](responseWithResult(_0x45f4x5,201))[_0xaf41[13]](handleError(_0x45f4x5))};exports[_0xaf41[25]]=function(_0x45f4xf,_0x45f4x5){if(_0x45f4xf[_0xaf41[24]][_0xaf41[17]]){delete _0x45f4xf[_0xaf41[24]][_0xaf41[17]]};DeskConfiguration[_0xaf41[26]](_0x45f4xf[_0xaf41[18]][_0xaf41[17]])[_0xaf41[9]](handleEntityNotFound(_0x45f4x5))[_0xaf41[9]](saveUpdates(_0x45f4xf[_0xaf41[24]]))[_0xaf41[9]](responseWithResult(_0x45f4x5))[_0xaf41[13]](handleError(_0x45f4x5))};exports[_0xaf41[11]]=function(_0x45f4xf,_0x45f4x5){DeskConfiguration[_0xaf41[26]](_0x45f4xf[_0xaf41[18]][_0xaf41[17]])[_0xaf41[9]](handleEntityNotFound(_0x45f4x5))[_0xaf41[9]](removeEntity(_0x45f4x5))[_0xaf41[13]](handleError(_0x45f4x5))};exports[_0xaf41[27]]=function(_0x45f4xf,_0x45f4x5,_0x45f4x10){var _0x45f4x11;DeskConfiguration[_0xaf41[26]](_0x45f4xf[_0xaf41[18]][_0xaf41[17]])[_0xaf41[9]](handleEntityNotFound(_0x45f4x5))[_0xaf41[9]](function(_0x45f4x14){_0x45f4x11=_0x45f4x14;return DeskField[_0xaf41[23]](_0x45f4xf[_0xaf41[24]])})[_0xaf41[9]](function(_0x45f4x13){switch(_0x45f4xf[_0xaf41[18]][_0xaf41[35]]){case _0xaf41[30]:return [_0x45f4x11[_0xaf41[29]](_0x45f4x13),_0x45f4x13];case _0xaf41[32]:return [_0x45f4x11[_0xaf41[31]](_0x45f4x13),_0x45f4x13];case _0xaf41[34]:return [_0x45f4x11[_0xaf41[33]](_0x45f4x13),_0x45f4x13]}})[_0xaf41[28]](function(_0x45f4x12,_0x45f4x13){return _0x45f4x5[_0xaf41[6]](201)[_0xaf41[7]](_0x45f4x13)})[_0xaf41[13]](handleError(_0x45f4x5))} \ No newline at end of file +var _0x764a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x44\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x44\x65\x73\x6B\x46\x69\x65\x6C\x64","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x71\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x53\x75\x62\x6A\x65\x63\x74","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x46\x69\x65\x6C\x64","\x66\x69\x6E\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x66\x69\x6E\x64\x42\x79\x49\x64","\x61\x64\x64\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x46\x69\x65\x6C\x64","\x73\x70\x72\x65\x61\x64","\x61\x64\x64\x53\x75\x62\x6A\x65\x63\x74","\x73\x75\x62\x6A\x65\x63\x74","\x61\x64\x64\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x61\x64\x64\x46\x69\x65\x6C\x64","\x66\x69\x65\x6C\x64","\x74\x79\x70\x65"];_0x764a[0];var _=require(_0x764a[1]);var DeskConfiguration=require(_0x764a[3])[_0x764a[2]];var DeskField=require(_0x764a[3])[_0x764a[4]];function handleError(_0x9525x5,_0x9525x6){_0x9525x6=_0x9525x6||500;return function(_0x9525x7){_0x9525x5[_0x764a[6]](_0x9525x6)[_0x764a[5]](_0x9525x7)}}function responseWithResult(_0x9525x5,_0x9525x6){_0x9525x6=_0x9525x6||200;return function(_0x9525x9){if(_0x9525x9){_0x9525x5[_0x764a[6]](_0x9525x6)[_0x764a[7]](_0x9525x9)}}}function handleEntityNotFound(_0x9525x5){return function(_0x9525x9){if(!_0x9525x9){_0x9525x5[_0x764a[6]](404)[_0x764a[8]]();return null};return _0x9525x9}}function saveUpdates(_0x9525xc){return function(_0x9525x9){return _0x9525x9[_0x764a[10]](_0x9525xc)[_0x764a[9]](function(_0x9525xd){return _0x9525xd})}}function removeEntity(_0x9525x5){return function(_0x9525x9){if(_0x9525x9){return _0x9525x9[_0x764a[11]]()[_0x764a[9]](function(){_0x9525x5[_0x764a[6]](204)[_0x764a[8]]()})}}}exports[_0x764a[12]]=function(_0x9525xf,_0x9525x5){DeskConfiguration[_0x764a[15]]({where:_0x9525xf[_0x764a[14]]})[_0x764a[9]](responseWithResult(_0x9525x5))[_0x764a[13]](handleError(_0x9525x5))};exports[_0x764a[16]]=function(_0x9525xf,_0x9525x5){DeskConfiguration[_0x764a[22]]({where:{id:_0x9525xf[_0x764a[18]][_0x764a[17]]},include:[{model:DeskField,as:_0x764a[19]},{model:DeskField,as:_0x764a[20]},{model:DeskField,as:_0x764a[21]}]})[_0x764a[9]](handleEntityNotFound(_0x9525x5))[_0x764a[9]](responseWithResult(_0x9525x5))[_0x764a[13]](handleError(_0x9525x5))};exports[_0x764a[23]]=function(_0x9525xf,_0x9525x5){DeskConfiguration[_0x764a[23]](_0x9525xf[_0x764a[24]])[_0x764a[9]](responseWithResult(_0x9525x5,201))[_0x764a[13]](handleError(_0x9525x5))};exports[_0x764a[25]]=function(_0x9525xf,_0x9525x5){if(_0x9525xf[_0x764a[24]][_0x764a[17]]){delete _0x9525xf[_0x764a[24]][_0x764a[17]]};DeskConfiguration[_0x764a[26]](_0x9525xf[_0x764a[18]][_0x764a[17]])[_0x764a[9]](handleEntityNotFound(_0x9525x5))[_0x764a[9]](saveUpdates(_0x9525xf[_0x764a[24]]))[_0x764a[9]](responseWithResult(_0x9525x5))[_0x764a[13]](handleError(_0x9525x5))};exports[_0x764a[11]]=function(_0x9525xf,_0x9525x5){DeskConfiguration[_0x764a[26]](_0x9525xf[_0x764a[18]][_0x764a[17]])[_0x764a[9]](handleEntityNotFound(_0x9525x5))[_0x764a[9]](removeEntity(_0x9525x5))[_0x764a[13]](handleError(_0x9525x5))};exports[_0x764a[27]]=function(_0x9525xf,_0x9525x5,_0x9525x10){var _0x9525x11;DeskConfiguration[_0x764a[26]](_0x9525xf[_0x764a[18]][_0x764a[17]])[_0x764a[9]](handleEntityNotFound(_0x9525x5))[_0x764a[9]](function(_0x9525x14){_0x9525x11=_0x9525x14;return DeskField[_0x764a[23]](_0x9525xf[_0x764a[24]])})[_0x764a[9]](function(_0x9525x13){switch(_0x9525xf[_0x764a[18]][_0x764a[35]]){case _0x764a[30]:return [_0x9525x11[_0x764a[29]](_0x9525x13),_0x9525x13];case _0x764a[32]:return [_0x9525x11[_0x764a[31]](_0x9525x13),_0x9525x13];case _0x764a[34]:return [_0x9525x11[_0x764a[33]](_0x9525x13),_0x9525x13]}})[_0x764a[28]](function(_0x9525x12,_0x9525x13){return _0x9525x5[_0x764a[6]](201)[_0x764a[7]](_0x9525x13)})[_0x764a[13]](handleError(_0x9525x5))} \ No newline at end of file diff --git a/server/api/desk_configuration/desk_configuration.socket.js b/server/api/desk_configuration/desk_configuration.socket.js index 9c3bc3f..23929bf 100644 --- a/server/api/desk_configuration/desk_configuration.socket.js +++ b/server/api/desk_configuration/desk_configuration.socket.js @@ -1 +1 @@ -var _0x209f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x44\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x209f[0];var DeskConfiguration=require(_0x209f[2])[_0x209f[1]];exports[_0x209f[3]]=function(_0xe055x2){DeskConfiguration[_0x209f[4]](function(_0xe055x3){onSave(_0xe055x2,_0xe055x3)});DeskConfiguration[_0x209f[5]](function(_0xe055x3){onRemove(_0xe055x2,_0xe055x3)})};function onSave(_0xe055x2,_0xe055x3,_0xe055x5){_0xe055x2[_0x209f[7]](_0x209f[6],_0xe055x3)}function onRemove(_0xe055x2,_0xe055x3,_0xe055x5){_0xe055x2[_0x209f[7]](_0x209f[8],_0xe055x3)} \ No newline at end of file +var _0xfbb2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x44\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0xfbb2[0];var DeskConfiguration=require(_0xfbb2[2])[_0xfbb2[1]];exports[_0xfbb2[3]]=function(_0x9902x2){DeskConfiguration[_0xfbb2[4]](function(_0x9902x3){onSave(_0x9902x2,_0x9902x3)});DeskConfiguration[_0xfbb2[5]](function(_0x9902x3){onRemove(_0x9902x2,_0x9902x3)})};function onSave(_0x9902x2,_0x9902x3,_0x9902x5){_0x9902x2[_0xfbb2[7]](_0xfbb2[6],_0x9902x3)}function onRemove(_0x9902x2,_0x9902x3,_0x9902x5){_0x9902x2[_0xfbb2[7]](_0xfbb2[8],_0x9902x3)} \ No newline at end of file diff --git a/server/api/desk_configuration/index.js b/server/api/desk_configuration/index.js index 550427d..6dcc2b1 100644 --- a/server/api/desk_configuration/index.js +++ b/server/api/desk_configuration/index.js @@ -1 +1 @@ -var _0xf2e8=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x2F\x3A\x69\x64\x2F\x3A\x74\x79\x70\x65","\x61\x64\x64\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x46\x69\x65\x6C\x64","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xf2e8[0];var express=require(_0xf2e8[1]);var auth=require(_0xf2e8[2]);var controller=require(_0xf2e8[3]);var router=express.Router();router[_0xf2e8[7]](_0xf2e8[4],auth[_0xf2e8[5]](),controller[_0xf2e8[6]]);router[_0xf2e8[7]](_0xf2e8[8],auth[_0xf2e8[5]](),auth[_0xf2e8[10]]([19],[_0xf2e8[9]]),controller[_0xf2e8[11]]);router[_0xf2e8[13]](_0xf2e8[4],auth[_0xf2e8[5]](),auth[_0xf2e8[10]]([19],[_0xf2e8[9]]),controller[_0xf2e8[12]]);router[_0xf2e8[15]](_0xf2e8[8],auth[_0xf2e8[5]](),auth[_0xf2e8[10]]([19],[_0xf2e8[9]]),controller[_0xf2e8[14]]);router[_0xf2e8[13]](_0xf2e8[16],auth[_0xf2e8[5]](),auth[_0xf2e8[10]]([19],[_0xf2e8[9]]),controller[_0xf2e8[17]]);router[_0xf2e8[19]](_0xf2e8[8],auth[_0xf2e8[5]](),auth[_0xf2e8[10]]([19],[_0xf2e8[9]]),controller[_0xf2e8[18]]);module[_0xf2e8[20]]=router \ No newline at end of file +var _0x5668=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x2F\x3A\x69\x64\x2F\x3A\x74\x79\x70\x65","\x61\x64\x64\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x46\x69\x65\x6C\x64","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x5668[0];var express=require(_0x5668[1]);var auth=require(_0x5668[2]);var controller=require(_0x5668[3]);var router=express.Router();router[_0x5668[7]](_0x5668[4],auth[_0x5668[5]](),controller[_0x5668[6]]);router[_0x5668[7]](_0x5668[8],auth[_0x5668[5]](),auth[_0x5668[10]]([19],[_0x5668[9]]),controller[_0x5668[11]]);router[_0x5668[13]](_0x5668[4],auth[_0x5668[5]](),auth[_0x5668[10]]([19],[_0x5668[9]]),controller[_0x5668[12]]);router[_0x5668[15]](_0x5668[8],auth[_0x5668[5]](),auth[_0x5668[10]]([19],[_0x5668[9]]),controller[_0x5668[14]]);router[_0x5668[13]](_0x5668[16],auth[_0x5668[5]](),auth[_0x5668[10]]([19],[_0x5668[9]]),controller[_0x5668[17]]);router[_0x5668[19]](_0x5668[8],auth[_0x5668[5]](),auth[_0x5668[10]]([19],[_0x5668[9]]),controller[_0x5668[18]]);module[_0x5668[20]]=router \ No newline at end of file diff --git a/server/api/desk_field/desk_field.controller.js b/server/api/desk_field/desk_field.controller.js index bc5907d..30118aa 100644 --- a/server/api/desk_field/desk_field.controller.js +++ b/server/api/desk_field/desk_field.controller.js @@ -1 +1 @@ -var _0x8ff0=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x44\x65\x73\x6B\x46\x69\x65\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65"];_0x8ff0[0];var _=require(_0x8ff0[1]);var DeskField=require(_0x8ff0[3])[_0x8ff0[2]];function handleError(_0xdd15x4,_0xdd15x5){_0xdd15x5=_0xdd15x5||500;return function(_0xdd15x6){_0xdd15x4[_0x8ff0[5]](_0xdd15x5)[_0x8ff0[4]](_0xdd15x6)}}function responseWithResult(_0xdd15x4,_0xdd15x5){_0xdd15x5=_0xdd15x5||200;return function(_0xdd15x8){if(_0xdd15x8){_0xdd15x4[_0x8ff0[5]](_0xdd15x5)[_0x8ff0[6]](_0xdd15x8)}}}function handleEntityNotFound(_0xdd15x4){return function(_0xdd15x8){if(!_0xdd15x8){_0xdd15x4[_0x8ff0[5]](404)[_0x8ff0[7]]();return null};return _0xdd15x8}}function saveUpdates(_0xdd15xb){return function(_0xdd15x8){return _0xdd15x8[_0x8ff0[9]](_0xdd15xb)[_0x8ff0[8]](function(_0xdd15xc){return _0xdd15xc})}}function removeEntity(_0xdd15x4){return function(_0xdd15x8){if(_0xdd15x8){return _0xdd15x8[_0x8ff0[10]]()[_0x8ff0[8]](function(){_0xdd15x4[_0x8ff0[5]](204)[_0x8ff0[7]]()})}}}exports[_0x8ff0[11]]=function(_0xdd15xe,_0xdd15x4){DeskField[_0x8ff0[13]]()[_0x8ff0[8]](responseWithResult(_0xdd15x4))[_0x8ff0[12]](handleError(_0xdd15x4))};exports[_0x8ff0[14]]=function(_0xdd15xe,_0xdd15x4){DeskField[_0x8ff0[17]](_0xdd15xe[_0x8ff0[16]][_0x8ff0[15]])[_0x8ff0[8]](handleEntityNotFound(_0xdd15x4))[_0x8ff0[8]](responseWithResult(_0xdd15x4))[_0x8ff0[12]](handleError(_0xdd15x4))};exports[_0x8ff0[18]]=function(_0xdd15xe,_0xdd15x4){DeskField[_0x8ff0[18]](_0xdd15xe[_0x8ff0[19]])[_0x8ff0[8]](responseWithResult(_0xdd15x4,201))[_0x8ff0[12]](handleError(_0xdd15x4))};exports[_0x8ff0[20]]=function(_0xdd15xe,_0xdd15x4){if(_0xdd15xe[_0x8ff0[19]][_0x8ff0[15]]){delete _0xdd15xe[_0x8ff0[19]][_0x8ff0[15]]};DeskField[_0x8ff0[17]](_0xdd15xe[_0x8ff0[16]][_0x8ff0[15]])[_0x8ff0[8]](handleEntityNotFound(_0xdd15x4))[_0x8ff0[8]](saveUpdates(_0xdd15xe[_0x8ff0[19]]))[_0x8ff0[8]](responseWithResult(_0xdd15x4))[_0x8ff0[12]](handleError(_0xdd15x4))};exports[_0x8ff0[10]]=function(_0xdd15xe,_0xdd15x4){DeskField[_0x8ff0[17]](_0xdd15xe[_0x8ff0[16]][_0x8ff0[15]])[_0x8ff0[8]](handleEntityNotFound(_0xdd15x4))[_0x8ff0[8]](removeEntity(_0xdd15x4))[_0x8ff0[12]](handleError(_0xdd15x4))} \ No newline at end of file +var _0xf4e2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x44\x65\x73\x6B\x46\x69\x65\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65"];_0xf4e2[0];var _=require(_0xf4e2[1]);var DeskField=require(_0xf4e2[3])[_0xf4e2[2]];function handleError(_0xbd69x4,_0xbd69x5){_0xbd69x5=_0xbd69x5||500;return function(_0xbd69x6){_0xbd69x4[_0xf4e2[5]](_0xbd69x5)[_0xf4e2[4]](_0xbd69x6)}}function responseWithResult(_0xbd69x4,_0xbd69x5){_0xbd69x5=_0xbd69x5||200;return function(_0xbd69x8){if(_0xbd69x8){_0xbd69x4[_0xf4e2[5]](_0xbd69x5)[_0xf4e2[6]](_0xbd69x8)}}}function handleEntityNotFound(_0xbd69x4){return function(_0xbd69x8){if(!_0xbd69x8){_0xbd69x4[_0xf4e2[5]](404)[_0xf4e2[7]]();return null};return _0xbd69x8}}function saveUpdates(_0xbd69xb){return function(_0xbd69x8){return _0xbd69x8[_0xf4e2[9]](_0xbd69xb)[_0xf4e2[8]](function(_0xbd69xc){return _0xbd69xc})}}function removeEntity(_0xbd69x4){return function(_0xbd69x8){if(_0xbd69x8){return _0xbd69x8[_0xf4e2[10]]()[_0xf4e2[8]](function(){_0xbd69x4[_0xf4e2[5]](204)[_0xf4e2[7]]()})}}}exports[_0xf4e2[11]]=function(_0xbd69xe,_0xbd69x4){DeskField[_0xf4e2[13]]()[_0xf4e2[8]](responseWithResult(_0xbd69x4))[_0xf4e2[12]](handleError(_0xbd69x4))};exports[_0xf4e2[14]]=function(_0xbd69xe,_0xbd69x4){DeskField[_0xf4e2[17]](_0xbd69xe[_0xf4e2[16]][_0xf4e2[15]])[_0xf4e2[8]](handleEntityNotFound(_0xbd69x4))[_0xf4e2[8]](responseWithResult(_0xbd69x4))[_0xf4e2[12]](handleError(_0xbd69x4))};exports[_0xf4e2[18]]=function(_0xbd69xe,_0xbd69x4){DeskField[_0xf4e2[18]](_0xbd69xe[_0xf4e2[19]])[_0xf4e2[8]](responseWithResult(_0xbd69x4,201))[_0xf4e2[12]](handleError(_0xbd69x4))};exports[_0xf4e2[20]]=function(_0xbd69xe,_0xbd69x4){if(_0xbd69xe[_0xf4e2[19]][_0xf4e2[15]]){delete _0xbd69xe[_0xf4e2[19]][_0xf4e2[15]]};DeskField[_0xf4e2[17]](_0xbd69xe[_0xf4e2[16]][_0xf4e2[15]])[_0xf4e2[8]](handleEntityNotFound(_0xbd69x4))[_0xf4e2[8]](saveUpdates(_0xbd69xe[_0xf4e2[19]]))[_0xf4e2[8]](responseWithResult(_0xbd69x4))[_0xf4e2[12]](handleError(_0xbd69x4))};exports[_0xf4e2[10]]=function(_0xbd69xe,_0xbd69x4){DeskField[_0xf4e2[17]](_0xbd69xe[_0xf4e2[16]][_0xf4e2[15]])[_0xf4e2[8]](handleEntityNotFound(_0xbd69x4))[_0xf4e2[8]](removeEntity(_0xbd69x4))[_0xf4e2[12]](handleError(_0xbd69x4))} \ No newline at end of file diff --git a/server/api/desk_field/desk_field.socket.js b/server/api/desk_field/desk_field.socket.js index c16a742..7d4ffe7 100644 --- a/server/api/desk_field/desk_field.socket.js +++ b/server/api/desk_field/desk_field.socket.js @@ -1 +1 @@ -var _0x428a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x44\x65\x73\x6B\x46\x69\x65\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x3A\x72\x65\x6D\x6F\x76\x65"];_0x428a[0];var DeskField=require(_0x428a[2])[_0x428a[1]];exports[_0x428a[3]]=function(_0x4cfex2){DeskField[_0x428a[4]](function(_0x4cfex3){onSave(_0x4cfex2,_0x4cfex3)});DeskField[_0x428a[5]](function(_0x4cfex3){onRemove(_0x4cfex2,_0x4cfex3)})};function onSave(_0x4cfex2,_0x4cfex3,_0x4cfex5){_0x4cfex2[_0x428a[7]](_0x428a[6],_0x4cfex3)}function onRemove(_0x4cfex2,_0x4cfex3,_0x4cfex5){_0x4cfex2[_0x428a[7]](_0x428a[8],_0x4cfex3)} \ No newline at end of file +var _0x9adc=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x44\x65\x73\x6B\x46\x69\x65\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x3A\x72\x65\x6D\x6F\x76\x65"];_0x9adc[0];var DeskField=require(_0x9adc[2])[_0x9adc[1]];exports[_0x9adc[3]]=function(_0xc1b6x2){DeskField[_0x9adc[4]](function(_0xc1b6x3){onSave(_0xc1b6x2,_0xc1b6x3)});DeskField[_0x9adc[5]](function(_0xc1b6x3){onRemove(_0xc1b6x2,_0xc1b6x3)})};function onSave(_0xc1b6x2,_0xc1b6x3,_0xc1b6x5){_0xc1b6x2[_0x9adc[7]](_0x9adc[6],_0xc1b6x3)}function onRemove(_0xc1b6x2,_0xc1b6x3,_0xc1b6x5){_0xc1b6x2[_0x9adc[7]](_0x9adc[8],_0xc1b6x3)} \ No newline at end of file diff --git a/server/api/desk_field/index.js b/server/api/desk_field/index.js index 6a3e032..a89a339 100644 --- a/server/api/desk_field/index.js +++ b/server/api/desk_field/index.js @@ -1 +1 @@ -var _0x3944=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x3944[0];var express=require(_0x3944[1]);var auth=require(_0x3944[2]);var controller=require(_0x3944[3]);var router=express.Router();router[_0x3944[9]](_0x3944[4],auth[_0x3944[5]](),auth[_0x3944[7]]([19],[_0x3944[6]]),controller[_0x3944[8]]);router[_0x3944[9]](_0x3944[10],auth[_0x3944[5]](),auth[_0x3944[7]]([19],[_0x3944[6]]),controller[_0x3944[11]]);router[_0x3944[13]](_0x3944[4],auth[_0x3944[5]](),auth[_0x3944[7]]([19],[_0x3944[6]]),controller[_0x3944[12]]);router[_0x3944[15]](_0x3944[10],auth[_0x3944[5]](),auth[_0x3944[7]]([19],[_0x3944[6]]),controller[_0x3944[14]]);router[_0x3944[17]](_0x3944[10],auth[_0x3944[5]](),auth[_0x3944[7]]([19],[_0x3944[6]]),controller[_0x3944[16]]);module[_0x3944[18]]=router \ No newline at end of file +var _0x31e4=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x31e4[0];var express=require(_0x31e4[1]);var auth=require(_0x31e4[2]);var controller=require(_0x31e4[3]);var router=express.Router();router[_0x31e4[9]](_0x31e4[4],auth[_0x31e4[5]](),auth[_0x31e4[7]]([19],[_0x31e4[6]]),controller[_0x31e4[8]]);router[_0x31e4[9]](_0x31e4[10],auth[_0x31e4[5]](),auth[_0x31e4[7]]([19],[_0x31e4[6]]),controller[_0x31e4[11]]);router[_0x31e4[13]](_0x31e4[4],auth[_0x31e4[5]](),auth[_0x31e4[7]]([19],[_0x31e4[6]]),controller[_0x31e4[12]]);router[_0x31e4[15]](_0x31e4[10],auth[_0x31e4[5]](),auth[_0x31e4[7]]([19],[_0x31e4[6]]),controller[_0x31e4[14]]);router[_0x31e4[17]](_0x31e4[10],auth[_0x31e4[5]](),auth[_0x31e4[7]]([19],[_0x31e4[6]]),controller[_0x31e4[16]]);module[_0x31e4[18]]=router \ No newline at end of file diff --git a/server/api/extracted_report/extracted_report.controller.js b/server/api/extracted_report/extracted_report.controller.js index 5c7abfe..c72d490 100644 --- a/server/api/extracted_report/extracted_report.controller.js +++ b/server/api/extracted_report/extracted_report.controller.js @@ -1 +1 @@ -var _0x5b2b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x45\x78\x74\x72\x61\x63\x74\x65\x64\x52\x65\x70\x6F\x72\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x75\x74\x69\x6C","\x70\x61\x74\x68","\x6D\x6F\x6D\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x66\x69\x6C\x65\x2D\x62\x61\x73\x65\x36\x34","\x66\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x69\x64","\x75\x73\x65\x72","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x72\x6F\x6C\x65","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72","\x66\x69\x6C\x65\x73","\x72\x65\x70\x6F\x72\x74\x73","\x73\x61\x76\x65\x6E\x61\x6D\x65","\x6A\x6F\x69\x6E","\x65\x6E\x63\x6F\x64\x65","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x6E\x61\x6D\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x64\x65\x73\x74\x72\x6F\x79","\x52\x5F\x4F\x4B","\x57\x5F\x4F\x4B","\x46\x69\x6C\x65\x20\x64\x6F\x65\x73\x20\x6E\x6F\x74\x20\x65\x78\x69\x73\x74\x20\x6F\x72\x20\x6F\x70\x65\x72\x61\x74\x69\x6F\x6E\x20\x6E\x6F\x74\x20\x70\x65\x72\x6D\x69\x74\x74\x65\x64","\x65\x72\x72\x6F\x72","\x65\x72\x72\x6F\x72\x20\x64\x65\x6C\x65\x74\x69\x6E\x67\x20\x66\x69\x6C\x65\x20\x3A","\x66\x69\x6C\x65\x20\x64\x65\x6C\x65\x74\x65\x64","\x6C\x6F\x67","\x75\x6E\x6C\x69\x6E\x6B","\x61\x63\x63\x65\x73\x73","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x66\x6F\x72\x45\x61\x63\x68","\x61\x6C\x6C","\x70\x75\x73\x68","\x69\x64\x73"];_0x5b2b[0];var _=require(_0x5b2b[1]);var ExtractedReport=require(_0x5b2b[3])[_0x5b2b[2]];var util=require(_0x5b2b[4]);var path=require(_0x5b2b[5]);var moment=require(_0x5b2b[6]);var config=require(_0x5b2b[7]);var base64=require(_0x5b2b[8]);var fs=require(_0x5b2b[9]);var Util=require(_0x5b2b[10]);exports[_0x5b2b[11]]=function(_0x1a2dxa,_0x1a2dxb,_0x1a2dxc){switch(_0x1a2dxa[_0x5b2b[18]][_0x5b2b[21]]){case _0x5b2b[18]:return ExtractedReport[_0x5b2b[20]](Util[_0x5b2b[19]](_0x1a2dxa[_0x5b2b[16]],{UserId:_0x1a2dxa[_0x5b2b[18]][_0x5b2b[17]]}))[_0x5b2b[15]](function(_0x1a2dxe){_0x1a2dxb[_0x5b2b[14]](200)[_0x5b2b[13]](_0x1a2dxe)})[_0x5b2b[12]](function(_0x1a2dxd){return handleError(_0x1a2dxb,_0x1a2dxd)});default:return ExtractedReport[_0x5b2b[20]](Util[_0x5b2b[19]](_0x1a2dxa[_0x5b2b[16]]))[_0x5b2b[15]](function(_0x1a2dxe){_0x1a2dxb[_0x5b2b[14]](200)[_0x5b2b[13]](_0x1a2dxe)})[_0x5b2b[12]](function(_0x1a2dxd){return handleError(_0x1a2dxb,_0x1a2dxd)})}};exports[_0x5b2b[22]]=function(_0x1a2dxa,_0x1a2dxb){return ExtractedReport[_0x5b2b[25]](_0x1a2dxa[_0x5b2b[24]][_0x5b2b[17]])[_0x5b2b[15]](function(_0x1a2dxf){if(!_0x1a2dxf){return _0x1a2dxb[_0x5b2b[23]](404)};return _0x1a2dxb[_0x5b2b[13]](_0x1a2dxf)})[_0x5b2b[12]](function(_0x1a2dxd){return handleError(_0x1a2dxb,_0x1a2dxd)})};exports[_0x5b2b[26]]=function(_0x1a2dxa,_0x1a2dxb){return ExtractedReport[_0x5b2b[25]](_0x1a2dxa[_0x5b2b[24]][_0x5b2b[17]])[_0x5b2b[15]](function(_0x1a2dx10){if(!_0x1a2dx10){return _0x1a2dxb[_0x5b2b[14]](404)[_0x5b2b[13]](_0x1a2dx10)};var _0x1a2dx11=path[_0x5b2b[32]](config[_0x5b2b[27]],_0x5b2b[28],_0x5b2b[29],_0x5b2b[30],_0x1a2dx10[_0x5b2b[31]]);base64[_0x5b2b[33]](_0x1a2dx11,function(_0x1a2dxd,_0x1a2dx12){if(_0x1a2dxd){return handleError(_0x1a2dxb,_0x1a2dxd)}else {return _0x1a2dxb[_0x5b2b[14]](200)[_0x5b2b[13]]({downloadString:_0x1a2dx12})}})})[_0x5b2b[12]](function(_0x1a2dxd){return handleError(_0x1a2dxb,_0x1a2dxd)})};exports[_0x5b2b[34]]=function(_0x1a2dxa,_0x1a2dxb){return ExtractedReport[_0x5b2b[34]](_0x1a2dxa[_0x5b2b[35]])[_0x5b2b[15]](function(_0x1a2dxf){return _0x1a2dxb[_0x5b2b[14]](201)[_0x5b2b[13]](_0x1a2dxf)})[_0x5b2b[12]](function(_0x1a2dxd){return handleError(_0x1a2dxb,_0x1a2dxd)})};exports[_0x5b2b[36]]=function(_0x1a2dxa,_0x1a2dxb){return ExtractedReport[_0x5b2b[40]]({where:{name:_0x1a2dxa[_0x5b2b[35]][_0x5b2b[39]],id:{$ne:_0x1a2dxa[_0x5b2b[35]][_0x5b2b[17]]}}})[_0x5b2b[15]](function(_0x1a2dx14){if(!_0x1a2dx14){return _0x1a2dxb[_0x5b2b[23]](404)};if(_0x1a2dxa[_0x5b2b[35]][_0x5b2b[17]]){delete _0x1a2dxa[_0x5b2b[35]][_0x5b2b[17]]};return ExtractedReport[_0x5b2b[25]](_0x1a2dxa[_0x5b2b[24]][_0x5b2b[17]])})[_0x5b2b[15]](function(_0x1a2dxf){if(!_0x1a2dxf){return _0x1a2dxb[_0x5b2b[23]](404)};var _0x1a2dx13=_[_0x5b2b[37]](_0x1a2dxf,_0x1a2dxa[_0x5b2b[35]]);return _0x1a2dx13[_0x5b2b[38]]()})[_0x5b2b[15]](function(_0x1a2dxf){return _0x1a2dxb[_0x5b2b[14]](200)[_0x5b2b[13]](_0x1a2dxf)})[_0x5b2b[12]](function(_0x1a2dxd){return handleError(_0x1a2dxb,_0x1a2dxd)})};exports[_0x5b2b[41]]=function(_0x1a2dxa,_0x1a2dxb){var _0x1a2dx15;return ExtractedReport[_0x5b2b[25]](_0x1a2dxa[_0x5b2b[24]][_0x5b2b[17]])[_0x5b2b[15]](function(_0x1a2dxf){_0x1a2dx15=_0x1a2dxf;if(!_0x1a2dxf){return _0x1a2dxb[_0x5b2b[23]](404)};return _0x1a2dxf[_0x5b2b[41]]()})[_0x5b2b[15]](function(){if(_0x1a2dx15[_0x5b2b[31]]){var _0x1a2dx11=path[_0x5b2b[32]](config[_0x5b2b[27]],_0x5b2b[28],_0x5b2b[29],_0x5b2b[30],_0x1a2dx15[_0x5b2b[31]]);fs[_0x5b2b[50]](_0x1a2dx11,fs[_0x5b2b[42]]|fs[_0x5b2b[43]],function(_0x1a2dxd){if(_0x1a2dxd){console[_0x5b2b[45]](_0x5b2b[44])}else {fs[_0x5b2b[49]](_0x1a2dx11,function(_0x1a2dxd){if(_0x1a2dxd){console[_0x5b2b[45]](_0x5b2b[46],_0x1a2dxd)}else {console[_0x5b2b[48]](_0x5b2b[47])}})}})};return _0x1a2dxb[_0x5b2b[23]](204)})[_0x5b2b[12]](function(_0x1a2dxd){return handleError(_0x1a2dxb,_0x1a2dxd)})};exports[_0x5b2b[51]]=function(_0x1a2dxa,_0x1a2dxb){var _0x1a2dx16;return ExtractedReport[_0x5b2b[40]]({where:{id:_0x1a2dxa[_0x5b2b[16]][_0x5b2b[55]]}})[_0x5b2b[15]](function(_0x1a2dx17){_0x1a2dx16=_0x1a2dx17;var _0x1a2dx18=[];_0x1a2dx17[_0x5b2b[52]](function(_0x1a2dxf){_0x1a2dx18[_0x5b2b[54]](_0x1a2dxf[_0x5b2b[41]]())});return _0x1a2dx18})[_0x5b2b[53]]()[_0x5b2b[15]](function(){_0x1a2dx16[_0x5b2b[52]](function(_0x1a2dxf){if(_0x1a2dxf[_0x5b2b[31]]){var _0x1a2dx11=path[_0x5b2b[32]](config[_0x5b2b[27]],_0x5b2b[28],_0x5b2b[29],_0x5b2b[30],_0x1a2dxf[_0x5b2b[31]]);fs[_0x5b2b[50]](_0x1a2dx11,fs[_0x5b2b[42]]|fs[_0x5b2b[43]],function(_0x1a2dxd){if(_0x1a2dxd){console[_0x5b2b[45]](_0x5b2b[44])}else {fs[_0x5b2b[49]](_0x1a2dx11,function(_0x1a2dxd){if(_0x1a2dxd){console[_0x5b2b[45]](_0x5b2b[46],_0x1a2dxd)}else {console[_0x5b2b[48]](_0x5b2b[47])}})}})}});return _0x1a2dxb[_0x5b2b[23]](204)})[_0x5b2b[12]](function(_0x1a2dxd){return handleError(_0x1a2dxb,_0x1a2dxd)})};function handleError(_0x1a2dxb,_0x1a2dxd){console[_0x5b2b[48]](_0x1a2dxd);return _0x1a2dxb[_0x5b2b[14]](500)[_0x5b2b[13]](_0x1a2dxd)} \ No newline at end of file +var _0xdbc6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x45\x78\x74\x72\x61\x63\x74\x65\x64\x52\x65\x70\x6F\x72\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x75\x74\x69\x6C","\x70\x61\x74\x68","\x6D\x6F\x6D\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x66\x69\x6C\x65\x2D\x62\x61\x73\x65\x36\x34","\x66\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x69\x64","\x75\x73\x65\x72","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x72\x6F\x6C\x65","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72","\x66\x69\x6C\x65\x73","\x72\x65\x70\x6F\x72\x74\x73","\x73\x61\x76\x65\x6E\x61\x6D\x65","\x6A\x6F\x69\x6E","\x65\x6E\x63\x6F\x64\x65","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x6E\x61\x6D\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x64\x65\x73\x74\x72\x6F\x79","\x52\x5F\x4F\x4B","\x57\x5F\x4F\x4B","\x46\x69\x6C\x65\x20\x64\x6F\x65\x73\x20\x6E\x6F\x74\x20\x65\x78\x69\x73\x74\x20\x6F\x72\x20\x6F\x70\x65\x72\x61\x74\x69\x6F\x6E\x20\x6E\x6F\x74\x20\x70\x65\x72\x6D\x69\x74\x74\x65\x64","\x65\x72\x72\x6F\x72","\x65\x72\x72\x6F\x72\x20\x64\x65\x6C\x65\x74\x69\x6E\x67\x20\x66\x69\x6C\x65\x20\x3A","\x66\x69\x6C\x65\x20\x64\x65\x6C\x65\x74\x65\x64","\x6C\x6F\x67","\x75\x6E\x6C\x69\x6E\x6B","\x61\x63\x63\x65\x73\x73","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x66\x6F\x72\x45\x61\x63\x68","\x61\x6C\x6C","\x70\x75\x73\x68","\x69\x64\x73"];_0xdbc6[0];var _=require(_0xdbc6[1]);var ExtractedReport=require(_0xdbc6[3])[_0xdbc6[2]];var util=require(_0xdbc6[4]);var path=require(_0xdbc6[5]);var moment=require(_0xdbc6[6]);var config=require(_0xdbc6[7]);var base64=require(_0xdbc6[8]);var fs=require(_0xdbc6[9]);var Util=require(_0xdbc6[10]);exports[_0xdbc6[11]]=function(_0xe75fxa,_0xe75fxb,_0xe75fxc){switch(_0xe75fxa[_0xdbc6[18]][_0xdbc6[21]]){case _0xdbc6[18]:return ExtractedReport[_0xdbc6[20]](Util[_0xdbc6[19]](_0xe75fxa[_0xdbc6[16]],{UserId:_0xe75fxa[_0xdbc6[18]][_0xdbc6[17]]}))[_0xdbc6[15]](function(_0xe75fxe){_0xe75fxb[_0xdbc6[14]](200)[_0xdbc6[13]](_0xe75fxe)})[_0xdbc6[12]](function(_0xe75fxd){return handleError(_0xe75fxb,_0xe75fxd)});default:return ExtractedReport[_0xdbc6[20]](Util[_0xdbc6[19]](_0xe75fxa[_0xdbc6[16]]))[_0xdbc6[15]](function(_0xe75fxe){_0xe75fxb[_0xdbc6[14]](200)[_0xdbc6[13]](_0xe75fxe)})[_0xdbc6[12]](function(_0xe75fxd){return handleError(_0xe75fxb,_0xe75fxd)})}};exports[_0xdbc6[22]]=function(_0xe75fxa,_0xe75fxb){return ExtractedReport[_0xdbc6[25]](_0xe75fxa[_0xdbc6[24]][_0xdbc6[17]])[_0xdbc6[15]](function(_0xe75fxf){if(!_0xe75fxf){return _0xe75fxb[_0xdbc6[23]](404)};return _0xe75fxb[_0xdbc6[13]](_0xe75fxf)})[_0xdbc6[12]](function(_0xe75fxd){return handleError(_0xe75fxb,_0xe75fxd)})};exports[_0xdbc6[26]]=function(_0xe75fxa,_0xe75fxb){return ExtractedReport[_0xdbc6[25]](_0xe75fxa[_0xdbc6[24]][_0xdbc6[17]])[_0xdbc6[15]](function(_0xe75fx10){if(!_0xe75fx10){return _0xe75fxb[_0xdbc6[14]](404)[_0xdbc6[13]](_0xe75fx10)};var _0xe75fx11=path[_0xdbc6[32]](config[_0xdbc6[27]],_0xdbc6[28],_0xdbc6[29],_0xdbc6[30],_0xe75fx10[_0xdbc6[31]]);base64[_0xdbc6[33]](_0xe75fx11,function(_0xe75fxd,_0xe75fx12){if(_0xe75fxd){return handleError(_0xe75fxb,_0xe75fxd)}else {return _0xe75fxb[_0xdbc6[14]](200)[_0xdbc6[13]]({downloadString:_0xe75fx12})}})})[_0xdbc6[12]](function(_0xe75fxd){return handleError(_0xe75fxb,_0xe75fxd)})};exports[_0xdbc6[34]]=function(_0xe75fxa,_0xe75fxb){return ExtractedReport[_0xdbc6[34]](_0xe75fxa[_0xdbc6[35]])[_0xdbc6[15]](function(_0xe75fxf){return _0xe75fxb[_0xdbc6[14]](201)[_0xdbc6[13]](_0xe75fxf)})[_0xdbc6[12]](function(_0xe75fxd){return handleError(_0xe75fxb,_0xe75fxd)})};exports[_0xdbc6[36]]=function(_0xe75fxa,_0xe75fxb){return ExtractedReport[_0xdbc6[40]]({where:{name:_0xe75fxa[_0xdbc6[35]][_0xdbc6[39]],id:{$ne:_0xe75fxa[_0xdbc6[35]][_0xdbc6[17]]}}})[_0xdbc6[15]](function(_0xe75fx14){if(!_0xe75fx14){return _0xe75fxb[_0xdbc6[23]](404)};if(_0xe75fxa[_0xdbc6[35]][_0xdbc6[17]]){delete _0xe75fxa[_0xdbc6[35]][_0xdbc6[17]]};return ExtractedReport[_0xdbc6[25]](_0xe75fxa[_0xdbc6[24]][_0xdbc6[17]])})[_0xdbc6[15]](function(_0xe75fxf){if(!_0xe75fxf){return _0xe75fxb[_0xdbc6[23]](404)};var _0xe75fx13=_[_0xdbc6[37]](_0xe75fxf,_0xe75fxa[_0xdbc6[35]]);return _0xe75fx13[_0xdbc6[38]]()})[_0xdbc6[15]](function(_0xe75fxf){return _0xe75fxb[_0xdbc6[14]](200)[_0xdbc6[13]](_0xe75fxf)})[_0xdbc6[12]](function(_0xe75fxd){return handleError(_0xe75fxb,_0xe75fxd)})};exports[_0xdbc6[41]]=function(_0xe75fxa,_0xe75fxb){var _0xe75fx15;return ExtractedReport[_0xdbc6[25]](_0xe75fxa[_0xdbc6[24]][_0xdbc6[17]])[_0xdbc6[15]](function(_0xe75fxf){_0xe75fx15=_0xe75fxf;if(!_0xe75fxf){return _0xe75fxb[_0xdbc6[23]](404)};return _0xe75fxf[_0xdbc6[41]]()})[_0xdbc6[15]](function(){if(_0xe75fx15[_0xdbc6[31]]){var _0xe75fx11=path[_0xdbc6[32]](config[_0xdbc6[27]],_0xdbc6[28],_0xdbc6[29],_0xdbc6[30],_0xe75fx15[_0xdbc6[31]]);fs[_0xdbc6[50]](_0xe75fx11,fs[_0xdbc6[42]]|fs[_0xdbc6[43]],function(_0xe75fxd){if(_0xe75fxd){console[_0xdbc6[45]](_0xdbc6[44])}else {fs[_0xdbc6[49]](_0xe75fx11,function(_0xe75fxd){if(_0xe75fxd){console[_0xdbc6[45]](_0xdbc6[46],_0xe75fxd)}else {console[_0xdbc6[48]](_0xdbc6[47])}})}})};return _0xe75fxb[_0xdbc6[23]](204)})[_0xdbc6[12]](function(_0xe75fxd){return handleError(_0xe75fxb,_0xe75fxd)})};exports[_0xdbc6[51]]=function(_0xe75fxa,_0xe75fxb){var _0xe75fx16;return ExtractedReport[_0xdbc6[40]]({where:{id:_0xe75fxa[_0xdbc6[16]][_0xdbc6[55]]}})[_0xdbc6[15]](function(_0xe75fx17){_0xe75fx16=_0xe75fx17;var _0xe75fx18=[];_0xe75fx17[_0xdbc6[52]](function(_0xe75fxf){_0xe75fx18[_0xdbc6[54]](_0xe75fxf[_0xdbc6[41]]())});return _0xe75fx18})[_0xdbc6[53]]()[_0xdbc6[15]](function(){_0xe75fx16[_0xdbc6[52]](function(_0xe75fxf){if(_0xe75fxf[_0xdbc6[31]]){var _0xe75fx11=path[_0xdbc6[32]](config[_0xdbc6[27]],_0xdbc6[28],_0xdbc6[29],_0xdbc6[30],_0xe75fxf[_0xdbc6[31]]);fs[_0xdbc6[50]](_0xe75fx11,fs[_0xdbc6[42]]|fs[_0xdbc6[43]],function(_0xe75fxd){if(_0xe75fxd){console[_0xdbc6[45]](_0xdbc6[44])}else {fs[_0xdbc6[49]](_0xe75fx11,function(_0xe75fxd){if(_0xe75fxd){console[_0xdbc6[45]](_0xdbc6[46],_0xe75fxd)}else {console[_0xdbc6[48]](_0xdbc6[47])}})}})}});return _0xe75fxb[_0xdbc6[23]](204)})[_0xdbc6[12]](function(_0xe75fxd){return handleError(_0xe75fxb,_0xe75fxd)})};function handleError(_0xe75fxb,_0xe75fxd){console[_0xdbc6[48]](_0xe75fxd);return _0xe75fxb[_0xdbc6[14]](500)[_0xdbc6[13]](_0xe75fxd)} \ No newline at end of file diff --git a/server/api/extracted_report/extracted_report.socket.js b/server/api/extracted_report/extracted_report.socket.js index b521707..93ae900 100644 --- a/server/api/extracted_report/extracted_report.socket.js +++ b/server/api/extracted_report/extracted_report.socket.js @@ -1 +1 @@ -var _0x6944=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x45\x78\x74\x72\x61\x63\x74\x65\x64\x52\x65\x70\x6F\x72\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x65\x78\x74\x72\x61\x63\x74\x65\x64\x5F\x72\x65\x70\x6F\x72\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x65\x78\x74\x72\x61\x63\x74\x65\x64\x5F\x72\x65\x70\x6F\x72\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x6944[0];var ExtractedReport=require(_0x6944[2])[_0x6944[1]];exports[_0x6944[3]]=function(_0x765fx2){ExtractedReport[_0x6944[4]](function(_0x765fx3){onSave(_0x765fx2,_0x765fx3)});ExtractedReport[_0x6944[5]](function(_0x765fx3){onRemove(_0x765fx2,_0x765fx3)})};function onSave(_0x765fx2,_0x765fx3,_0x765fx5){_0x765fx2[_0x6944[7]](_0x6944[6],_0x765fx3)}function onRemove(_0x765fx2,_0x765fx3,_0x765fx5){_0x765fx2[_0x6944[7]](_0x6944[8],_0x765fx3)} \ No newline at end of file +var _0x5407=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x45\x78\x74\x72\x61\x63\x74\x65\x64\x52\x65\x70\x6F\x72\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x65\x78\x74\x72\x61\x63\x74\x65\x64\x5F\x72\x65\x70\x6F\x72\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x65\x78\x74\x72\x61\x63\x74\x65\x64\x5F\x72\x65\x70\x6F\x72\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x5407[0];var ExtractedReport=require(_0x5407[2])[_0x5407[1]];exports[_0x5407[3]]=function(_0x7d76x2){ExtractedReport[_0x5407[4]](function(_0x7d76x3){onSave(_0x7d76x2,_0x7d76x3)});ExtractedReport[_0x5407[5]](function(_0x7d76x3){onRemove(_0x7d76x2,_0x7d76x3)})};function onSave(_0x7d76x2,_0x7d76x3,_0x7d76x5){_0x7d76x2[_0x5407[7]](_0x5407[6],_0x7d76x3)}function onRemove(_0x7d76x2,_0x7d76x3,_0x7d76x5){_0x7d76x2[_0x5407[7]](_0x5407[8],_0x7d76x3)} \ No newline at end of file diff --git a/server/api/extracted_report/index.js b/server/api/extracted_report/index.js index f6a8b93..a717b77 100644 --- a/server/api/extracted_report/index.js +++ b/server/api/extracted_report/index.js @@ -1 +1 @@ -var _0xddf0=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x65\x78\x74\x72\x61\x63\x74\x65\x64\x5F\x72\x65\x70\x6F\x72\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64\x2F\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0xddf0[0];var express=require(_0xddf0[1]);var controller=require(_0xddf0[2]);var auth=require(_0xddf0[3]);var router=express.Router();router[_0xddf0[9]](_0xddf0[4],auth[_0xddf0[5]](),auth[_0xddf0[7]]([17],[_0xddf0[6]]),controller[_0xddf0[8]]);router[_0xddf0[9]](_0xddf0[10],auth[_0xddf0[5]](),auth[_0xddf0[7]]([17],[_0xddf0[6]]),controller[_0xddf0[11]]);router[_0xddf0[9]](_0xddf0[12],auth[_0xddf0[5]](),auth[_0xddf0[7]]([17],[_0xddf0[6]]),controller[_0xddf0[13]]);router[_0xddf0[15]](_0xddf0[4],auth[_0xddf0[5]](),auth[_0xddf0[7]]([17],[_0xddf0[6]]),controller[_0xddf0[14]]);router[_0xddf0[17]](_0xddf0[12],auth[_0xddf0[5]](),auth[_0xddf0[7]]([17],[_0xddf0[6]]),controller[_0xddf0[16]]);router[_0xddf0[19]](_0xddf0[4],auth[_0xddf0[5]](),auth[_0xddf0[7]]([17],[_0xddf0[6]]),controller[_0xddf0[18]]);router[_0xddf0[19]](_0xddf0[12],auth[_0xddf0[5]](),auth[_0xddf0[7]]([17],[_0xddf0[6]]),controller[_0xddf0[20]]);module[_0xddf0[21]]=router \ No newline at end of file +var _0x56e7=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x65\x78\x74\x72\x61\x63\x74\x65\x64\x5F\x72\x65\x70\x6F\x72\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64\x2F\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x56e7[0];var express=require(_0x56e7[1]);var controller=require(_0x56e7[2]);var auth=require(_0x56e7[3]);var router=express.Router();router[_0x56e7[9]](_0x56e7[4],auth[_0x56e7[5]](),auth[_0x56e7[7]]([17],[_0x56e7[6]]),controller[_0x56e7[8]]);router[_0x56e7[9]](_0x56e7[10],auth[_0x56e7[5]](),auth[_0x56e7[7]]([17],[_0x56e7[6]]),controller[_0x56e7[11]]);router[_0x56e7[9]](_0x56e7[12],auth[_0x56e7[5]](),auth[_0x56e7[7]]([17],[_0x56e7[6]]),controller[_0x56e7[13]]);router[_0x56e7[15]](_0x56e7[4],auth[_0x56e7[5]](),auth[_0x56e7[7]]([17],[_0x56e7[6]]),controller[_0x56e7[14]]);router[_0x56e7[17]](_0x56e7[12],auth[_0x56e7[5]](),auth[_0x56e7[7]]([17],[_0x56e7[6]]),controller[_0x56e7[16]]);router[_0x56e7[19]](_0x56e7[4],auth[_0x56e7[5]](),auth[_0x56e7[7]]([17],[_0x56e7[6]]),controller[_0x56e7[18]]);router[_0x56e7[19]](_0x56e7[12],auth[_0x56e7[5]](),auth[_0x56e7[7]]([17],[_0x56e7[6]]),controller[_0x56e7[20]]);module[_0x56e7[21]]=router \ No newline at end of file diff --git a/server/api/fax_account/fax_account.controller.js b/server/api/fax_account/fax_account.controller.js index 9808bb2..f0d9dec 100644 --- a/server/api/fax_account/fax_account.controller.js +++ b/server/api/fax_account/fax_account.controller.js @@ -1 +1 @@ -var _0x13e5=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74","\x46\x61\x78\x52\x6F\x6F\x6D","\x46\x61\x78\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x46\x61\x78\x51\x75\x65\x75\x65","\x55\x73\x65\x72","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x68\x61\x6E\x64\x6C\x65\x55\x6E\x69\x71\x75\x65\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x45\x72\x72\x6F\x72","\x65\x72\x72\x6F\x72\x4D\x61\x6E\x61\x67\x65\x72","\x6D\x65\x73\x73\x61\x67\x65","\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x2F\x63\x6F\x6E\x74\x65\x78\x74\x20\x63\x6F\x6D\x62\x69\x6E\x61\x74\x69\x6F\x6E\x20\x61\x6C\x72\x65\x61\x64\x79\x20\x65\x78\x69\x73\x74","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x64\x4D\x65\x73\x73\x61\x67\x65","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x52\x4F\x55\x54\x45","\x62\x6F\x64\x79","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x73\x68\x6F\x77\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x6C\x65\x6E\x67\x74\x68","\x6E\x61\x6D\x65","\x6F\x6E\x6C\x69\x6E\x65","\x6D\x65\x72\x67\x65","\x67\x65\x74\x46\x61\x78\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x64\x65\x66\x61\x75\x6C\x74","\x73\x63\x6F\x70\x65","\x63\x72\x65\x61\x74\x65\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x70\x72\x69\x6F\x72\x69\x74\x79","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x6D\x61\x78","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x64\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x61\x70\x70\x49\x64","\x75\x70\x64\x61\x74\x65\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x75\x70\x64\x61\x74\x65\x64\x41\x74","\x66\x6F\x72\x45\x61\x63\x68","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x75\x70\x64\x61\x74\x65\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x73\x68\x6F\x77\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x67\x65\x74\x46\x61\x78\x52\x6F\x6F\x6D\x73","\x66\x72\x6F\x6D","\x6C\x61\x73\x74\x45\x76\x65\x6E\x74","\x74\x61\x67\x73","\x69\x73\x41\x72\x72\x61\x79","\x25","\x70\x75\x73\x68","\x24\x61\x6E\x64","\x77\x68\x65\x72\x65","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x69\x6E\x63\x6C\x75\x64\x65","\x75\x73\x65\x72","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65","\x6C\x6F\x67","\x66\x69\x6E\x64\x41\x6C\x6C"];_0x13e5[0];var _=require(_0x13e5[1]);var Util=require(_0x13e5[2]);var sequelize=require(_0x13e5[4])[_0x13e5[3]];var FaxAccount=require(_0x13e5[4])[_0x13e5[5]];var FaxRoom=require(_0x13e5[4])[_0x13e5[6]];var FaxApplication=require(_0x13e5[4])[_0x13e5[7]];var FaxQueue=require(_0x13e5[4])[_0x13e5[8]];var User=require(_0x13e5[4])[_0x13e5[9]];function handleError(_0x3476xa,_0x3476xb){_0x3476xb=_0x3476xb||500;return function(_0x3476xc){_0x3476xa[_0x13e5[11]](_0x3476xb)[_0x13e5[10]](_0x3476xc)}}function responseWithResult(_0x3476xa,_0x3476xb){_0x3476xb=_0x3476xb||200;return function(_0x3476xe){if(_0x3476xe){_0x3476xa[_0x13e5[11]](_0x3476xb)[_0x13e5[12]](_0x3476xe)}}}function responseWithoutResult(_0x3476xa,_0x3476xb){_0x3476xb=_0x3476xb||204;return function(){_0x3476xa[_0x13e5[13]](_0x3476xb)}}function handleEntityNotFound(_0x3476xa){return function(_0x3476xe){if(!_0x3476xe){_0x3476xa[_0x13e5[11]](404)[_0x13e5[14]]();return null};return _0x3476xe}}function saveUpdates(_0x3476x12){return function(_0x3476xe){return _0x3476xe[_0x13e5[16]](_0x3476x12)[_0x13e5[15]](function(_0x3476x13){return _0x3476x13})}}function removeEntity(_0x3476xa){return function(_0x3476xe){if(_0x3476xe){return _0x3476xe[_0x13e5[17]]()[_0x13e5[15]](function(){_0x3476xa[_0x13e5[11]](204)[_0x13e5[14]]()})}}}exports[_0x13e5[18]]=function(_0x3476x15,_0x3476xa){return FaxAccount[_0x13e5[22]](Util[_0x13e5[21]](_0x3476x15[_0x13e5[20]]))[_0x13e5[15]](responseWithResult(_0x3476xa))[_0x13e5[19]](handleError(_0x3476xa))};exports[_0x13e5[23]]=function(_0x3476x15,_0x3476xa){return FaxAccount[_0x13e5[26]](_0x3476x15[_0x13e5[25]][_0x13e5[24]])[_0x13e5[15]](handleEntityNotFound(_0x3476xa))[_0x13e5[15]](responseWithResult(_0x3476xa))[_0x13e5[19]](handleError(_0x3476xa))};exports[_0x13e5[27]]=function(_0x3476x15,_0x3476xa){return sequelize[_0x13e5[35]](function(_0x3476x16){return FaxAccount[_0x13e5[27]](_0x3476x15[_0x13e5[34]],{transaction:_0x3476x16})})[_0x13e5[15]](responseWithoutResult(_0x3476xa,201))[_0x13e5[19]](sequelize.ValidationError,function(_0x3476xc){_0x3476xc[_0x13e5[30]]=_0x13e5[31];_0x3476xc[_0x13e5[32]]=_0x13e5[33];return _0x3476xa[_0x13e5[11]](500)[_0x13e5[10]](_0x3476xc)})[_0x13e5[19]](sequelize.UniqueConstraintError,function(_0x3476xc){return Util[_0x13e5[29]][_0x13e5[28]](_0x3476xa,_0x3476xc)})[_0x13e5[19]](handleError(_0x3476xa))};exports[_0x13e5[36]]=function(_0x3476x15,_0x3476xa){if(_0x3476x15[_0x13e5[34]][_0x13e5[24]]){delete _0x3476x15[_0x13e5[34]][_0x13e5[24]]};return sequelize[_0x13e5[35]](function(_0x3476x16){return FaxAccount[_0x13e5[26]](_0x3476x15[_0x13e5[25]][_0x13e5[24]])[_0x13e5[15]](handleEntityNotFound(_0x3476xa))[_0x13e5[15]](function(_0x3476x17){return _0x3476x17[_0x13e5[16]](_0x3476x15[_0x13e5[34]],{transaction:_0x3476x16})})})[_0x13e5[15]](responseWithoutResult(_0x3476xa))[_0x13e5[19]](sequelize.ValidationError,function(_0x3476xc){_0x3476xc[_0x13e5[30]]=_0x13e5[31];_0x3476xc[_0x13e5[32]]=_0x13e5[33];return _0x3476xa[_0x13e5[11]](500)[_0x13e5[10]](_0x3476xc)})[_0x13e5[19]](sequelize.UniqueConstraintError,function(_0x3476xc){return Util[_0x13e5[29]][_0x13e5[28]](_0x3476xa,_0x3476xc)})[_0x13e5[19]](handleError(_0x3476xa))};exports[_0x13e5[17]]=function(_0x3476x15,_0x3476xa){return sequelize[_0x13e5[35]](function(_0x3476x16){return FaxAccount[_0x13e5[26]](_0x3476x15[_0x13e5[25]][_0x13e5[24]])[_0x13e5[15]](handleEntityNotFound(_0x3476xa))[_0x13e5[15]](function(_0x3476x17){return _0x3476x17[_0x13e5[17]]()})})[_0x13e5[15]](function(){_0x3476xa[_0x13e5[11]](204)[_0x13e5[14]]()})[_0x13e5[19]](handleError(_0x3476xa))};exports[_0x13e5[37]]=function(_0x3476x15,_0x3476xa){return FaxAccount[_0x13e5[17]]({where:{id:_0x3476x15[_0x13e5[20]][_0x13e5[38]]},individualHooks:true})[_0x13e5[15]](responseWithoutResult(_0x3476xa))[_0x13e5[19]](handleError(_0x3476xa))};exports[_0x13e5[39]]=function(_0x3476x15,_0x3476xa,_0x3476x18){return FaxAccount[_0x13e5[46]](_0x13e5[45])[_0x13e5[26]](_0x3476x15[_0x13e5[25]][_0x13e5[24]])[_0x13e5[15]](handleEntityNotFound(_0x3476xa))[_0x13e5[15]](function(_0x3476x17){return _0x3476x17[_0x13e5[44]](_[_0x13e5[43]](Util[_0x13e5[21]](_0x3476x15[_0x13e5[20]]),{include:[{model:FaxQueue,attributes:[_0x13e5[24],_0x13e5[41]]},{model:User,attributes:[_0x13e5[24],_0x13e5[41],_0x13e5[42]]}]}))})[_0x13e5[15]](function(_0x3476x19){return _0x3476xa[_0x13e5[10]]({count:_0x3476x19[_0x13e5[40]],rows:_0x3476x19})})[_0x13e5[19]](handleError(_0x3476xa))};exports[_0x13e5[47]]=function(_0x3476x15,_0x3476xa,_0x3476x18){return FaxApplication[_0x13e5[50]](_0x13e5[48],{where:{FaxAccountId:_0x3476x15[_0x13e5[25]][_0x13e5[24]]}})[_0x13e5[15]](function(_0x3476x1a){_0x3476x15[_0x13e5[34]][_0x13e5[48]]=_0x3476x1a?++_0x3476x1a:1;_0x3476x15[_0x13e5[34]][_0x13e5[49]]=_0x3476x15[_0x13e5[25]][_0x13e5[24]];return FaxApplication[_0x13e5[27]](_0x3476x15[_0x13e5[34]])})[_0x13e5[15]](responseWithResult(_0x3476xa,201))[_0x13e5[19]](handleError(_0x3476xa))};exports[_0x13e5[51]]=function(_0x3476x15,_0x3476xa){return FaxApplication[_0x13e5[17]]({where:{id:_0x3476x15[_0x13e5[20]][_0x13e5[38]]},individualHooks:true})[_0x13e5[15]](responseWithoutResult(_0x3476xa))[_0x13e5[19]](handleError(_0x3476xa))};exports[_0x13e5[52]]=function(_0x3476x15,_0x3476xa,_0x3476x18){return FaxApplication[_0x13e5[26]](_0x3476x15[_0x13e5[25]][_0x13e5[53]])[_0x13e5[15]](handleEntityNotFound(_0x3476xa))[_0x13e5[15]](removeEntity(_0x3476xa))[_0x13e5[19]](handleError(_0x3476xa))};exports[_0x13e5[54]]=function(_0x3476x15,_0x3476xa){var _0x3476x1b=0;var _0x3476x1c=_0x3476x15[_0x13e5[34]];_0x3476x1c[_0x13e5[57]](function(_0x3476x1d){delete _0x3476x1d[_0x13e5[24]];delete _0x3476x1d[_0x13e5[55]];delete _0x3476x1d[_0x13e5[56]];_0x3476x1d[_0x13e5[48]]= ++_0x3476x1b});return sequelize[_0x13e5[35]](function(_0x3476x16){return FaxApplication[_0x13e5[17]]({where:{FaxAccountId:_0x3476x15[_0x13e5[25]][_0x13e5[24]]},individualHooks:true,transaction:_0x3476x16})[_0x13e5[15]](function(_0x3476x1e){return FaxApplication[_0x13e5[58]](_0x3476x1c,{individualHooks:true,transaction:_0x3476x16})})})[_0x13e5[15]](function(_0x3476x19){return _0x3476xa[_0x13e5[11]](200)[_0x13e5[10]]({count:_0x3476x19[_0x13e5[40]],rows:_0x3476x19})})[_0x13e5[19]](handleError(_0x3476xa))};exports[_0x13e5[59]]=function(_0x3476x15,_0x3476xa){if(_0x3476x15[_0x13e5[34]][_0x13e5[24]]){delete _0x3476x15[_0x13e5[34]][_0x13e5[24]]};return FaxApplication[_0x13e5[26]](_0x3476x15[_0x13e5[25]][_0x13e5[53]])[_0x13e5[15]](handleEntityNotFound(_0x3476xa))[_0x13e5[15]](saveUpdates(_0x3476x15[_0x13e5[34]]))[_0x13e5[15]](responseWithResult(_0x3476xa))[_0x13e5[19]](handleError(_0x3476xa))};exports[_0x13e5[60]]=function(_0x3476x15,_0x3476xa){return FaxApplication[_0x13e5[26]](_0x3476x15[_0x13e5[25]][_0x13e5[53]],{include:[{all:true}]})[_0x13e5[15]](handleEntityNotFound(_0x3476xa))[_0x13e5[15]](responseWithResult(_0x3476xa))[_0x13e5[19]](handleError(_0x3476xa))};exports[_0x13e5[61]]=function(_0x3476x15,_0x3476xa,_0x3476x18){var _0x3476x1f={where:{FaxAccountId:_0x3476x15[_0x13e5[25]][_0x13e5[24]],$and:[]},attributes:[_0x13e5[24],_0x13e5[62],_0x13e5[63],_0x13e5[56]]};if(_0x3476x15[_0x13e5[20]]){if(_0x3476x15[_0x13e5[20]][_0x13e5[64]]){if(_[_0x13e5[65]](_0x3476x15[_0x13e5[20]][_0x13e5[64]])){for(var _0x3476x20=0;_0x3476x20<_0x3476x15[_0x13e5[20]][_0x13e5[64]][_0x13e5[40]];_0x3476x20++){_0x3476x1f[_0x13e5[69]][_0x13e5[68]][_0x13e5[67]]({tags:{$like:_0x13e5[66]+_0x3476x15[_0x13e5[20]][_0x13e5[64]][_0x3476x20]+_0x13e5[66]}})}}else {_0x3476x1f[_0x13e5[69]][_0x13e5[68]][_0x13e5[67]]({tags:{$like:_0x13e5[66]+_0x3476x15[_0x13e5[20]][_0x13e5[64]]+_0x13e5[66]}})};delete _0x3476x15[_0x13e5[20]][_0x13e5[64]]};_[_0x13e5[43]](_0x3476x1f[_0x13e5[69]],_0x3476x15[_0x13e5[20]])};switch(_0x3476x15[_0x13e5[72]][_0x13e5[74]]){case _0x13e5[73]:if(_0x3476x15[_0x13e5[20]][_0x13e5[11]]&&_0x3476x15[_0x13e5[20]][_0x13e5[11]]!==_0x13e5[70]){_0x3476x1f[_0x13e5[71]]=[{model:User,where:{id:_0x3476x15[_0x13e5[72]][_0x13e5[24]]}}]};break;default:};console[_0x13e5[75]](_0x13e5[20],_0x3476x1f);return FaxRoom[_0x13e5[76]](_0x3476x1f)[_0x13e5[15]](function(_0x3476x21){return _0x3476xa[_0x13e5[11]](200)[_0x13e5[10]](_0x3476x21)})[_0x13e5[19]](handleError(_0x3476xa))} \ No newline at end of file +var _0xd00d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74","\x46\x61\x78\x52\x6F\x6F\x6D","\x46\x61\x78\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x46\x61\x78\x51\x75\x65\x75\x65","\x55\x73\x65\x72","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x68\x61\x6E\x64\x6C\x65\x55\x6E\x69\x71\x75\x65\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x45\x72\x72\x6F\x72","\x65\x72\x72\x6F\x72\x4D\x61\x6E\x61\x67\x65\x72","\x6D\x65\x73\x73\x61\x67\x65","\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x2F\x63\x6F\x6E\x74\x65\x78\x74\x20\x63\x6F\x6D\x62\x69\x6E\x61\x74\x69\x6F\x6E\x20\x61\x6C\x72\x65\x61\x64\x79\x20\x65\x78\x69\x73\x74","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x64\x4D\x65\x73\x73\x61\x67\x65","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x52\x4F\x55\x54\x45","\x62\x6F\x64\x79","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x73\x68\x6F\x77\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x6C\x65\x6E\x67\x74\x68","\x6E\x61\x6D\x65","\x6F\x6E\x6C\x69\x6E\x65","\x6D\x65\x72\x67\x65","\x67\x65\x74\x46\x61\x78\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x64\x65\x66\x61\x75\x6C\x74","\x73\x63\x6F\x70\x65","\x63\x72\x65\x61\x74\x65\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x70\x72\x69\x6F\x72\x69\x74\x79","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x6D\x61\x78","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x64\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x61\x70\x70\x49\x64","\x75\x70\x64\x61\x74\x65\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x75\x70\x64\x61\x74\x65\x64\x41\x74","\x66\x6F\x72\x45\x61\x63\x68","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x75\x70\x64\x61\x74\x65\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x73\x68\x6F\x77\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x67\x65\x74\x46\x61\x78\x52\x6F\x6F\x6D\x73","\x66\x72\x6F\x6D","\x6C\x61\x73\x74\x45\x76\x65\x6E\x74","\x74\x61\x67\x73","\x69\x73\x41\x72\x72\x61\x79","\x25","\x70\x75\x73\x68","\x24\x61\x6E\x64","\x77\x68\x65\x72\x65","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x69\x6E\x63\x6C\x75\x64\x65","\x75\x73\x65\x72","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65","\x6C\x6F\x67","\x66\x69\x6E\x64\x41\x6C\x6C"];_0xd00d[0];var _=require(_0xd00d[1]);var Util=require(_0xd00d[2]);var sequelize=require(_0xd00d[4])[_0xd00d[3]];var FaxAccount=require(_0xd00d[4])[_0xd00d[5]];var FaxRoom=require(_0xd00d[4])[_0xd00d[6]];var FaxApplication=require(_0xd00d[4])[_0xd00d[7]];var FaxQueue=require(_0xd00d[4])[_0xd00d[8]];var User=require(_0xd00d[4])[_0xd00d[9]];function handleError(_0x59cfxa,_0x59cfxb){_0x59cfxb=_0x59cfxb||500;return function(_0x59cfxc){_0x59cfxa[_0xd00d[11]](_0x59cfxb)[_0xd00d[10]](_0x59cfxc)}}function responseWithResult(_0x59cfxa,_0x59cfxb){_0x59cfxb=_0x59cfxb||200;return function(_0x59cfxe){if(_0x59cfxe){_0x59cfxa[_0xd00d[11]](_0x59cfxb)[_0xd00d[12]](_0x59cfxe)}}}function responseWithoutResult(_0x59cfxa,_0x59cfxb){_0x59cfxb=_0x59cfxb||204;return function(){_0x59cfxa[_0xd00d[13]](_0x59cfxb)}}function handleEntityNotFound(_0x59cfxa){return function(_0x59cfxe){if(!_0x59cfxe){_0x59cfxa[_0xd00d[11]](404)[_0xd00d[14]]();return null};return _0x59cfxe}}function saveUpdates(_0x59cfx12){return function(_0x59cfxe){return _0x59cfxe[_0xd00d[16]](_0x59cfx12)[_0xd00d[15]](function(_0x59cfx13){return _0x59cfx13})}}function removeEntity(_0x59cfxa){return function(_0x59cfxe){if(_0x59cfxe){return _0x59cfxe[_0xd00d[17]]()[_0xd00d[15]](function(){_0x59cfxa[_0xd00d[11]](204)[_0xd00d[14]]()})}}}exports[_0xd00d[18]]=function(_0x59cfx15,_0x59cfxa){return FaxAccount[_0xd00d[22]](Util[_0xd00d[21]](_0x59cfx15[_0xd00d[20]]))[_0xd00d[15]](responseWithResult(_0x59cfxa))[_0xd00d[19]](handleError(_0x59cfxa))};exports[_0xd00d[23]]=function(_0x59cfx15,_0x59cfxa){return FaxAccount[_0xd00d[26]](_0x59cfx15[_0xd00d[25]][_0xd00d[24]])[_0xd00d[15]](handleEntityNotFound(_0x59cfxa))[_0xd00d[15]](responseWithResult(_0x59cfxa))[_0xd00d[19]](handleError(_0x59cfxa))};exports[_0xd00d[27]]=function(_0x59cfx15,_0x59cfxa){return sequelize[_0xd00d[35]](function(_0x59cfx16){return FaxAccount[_0xd00d[27]](_0x59cfx15[_0xd00d[34]],{transaction:_0x59cfx16})})[_0xd00d[15]](responseWithoutResult(_0x59cfxa,201))[_0xd00d[19]](sequelize.ValidationError,function(_0x59cfxc){_0x59cfxc[_0xd00d[30]]=_0xd00d[31];_0x59cfxc[_0xd00d[32]]=_0xd00d[33];return _0x59cfxa[_0xd00d[11]](500)[_0xd00d[10]](_0x59cfxc)})[_0xd00d[19]](sequelize.UniqueConstraintError,function(_0x59cfxc){return Util[_0xd00d[29]][_0xd00d[28]](_0x59cfxa,_0x59cfxc)})[_0xd00d[19]](handleError(_0x59cfxa))};exports[_0xd00d[36]]=function(_0x59cfx15,_0x59cfxa){if(_0x59cfx15[_0xd00d[34]][_0xd00d[24]]){delete _0x59cfx15[_0xd00d[34]][_0xd00d[24]]};return sequelize[_0xd00d[35]](function(_0x59cfx16){return FaxAccount[_0xd00d[26]](_0x59cfx15[_0xd00d[25]][_0xd00d[24]])[_0xd00d[15]](handleEntityNotFound(_0x59cfxa))[_0xd00d[15]](function(_0x59cfx17){return _0x59cfx17[_0xd00d[16]](_0x59cfx15[_0xd00d[34]],{transaction:_0x59cfx16})})})[_0xd00d[15]](responseWithoutResult(_0x59cfxa))[_0xd00d[19]](sequelize.ValidationError,function(_0x59cfxc){_0x59cfxc[_0xd00d[30]]=_0xd00d[31];_0x59cfxc[_0xd00d[32]]=_0xd00d[33];return _0x59cfxa[_0xd00d[11]](500)[_0xd00d[10]](_0x59cfxc)})[_0xd00d[19]](sequelize.UniqueConstraintError,function(_0x59cfxc){return Util[_0xd00d[29]][_0xd00d[28]](_0x59cfxa,_0x59cfxc)})[_0xd00d[19]](handleError(_0x59cfxa))};exports[_0xd00d[17]]=function(_0x59cfx15,_0x59cfxa){return sequelize[_0xd00d[35]](function(_0x59cfx16){return FaxAccount[_0xd00d[26]](_0x59cfx15[_0xd00d[25]][_0xd00d[24]])[_0xd00d[15]](handleEntityNotFound(_0x59cfxa))[_0xd00d[15]](function(_0x59cfx17){return _0x59cfx17[_0xd00d[17]]()})})[_0xd00d[15]](function(){_0x59cfxa[_0xd00d[11]](204)[_0xd00d[14]]()})[_0xd00d[19]](handleError(_0x59cfxa))};exports[_0xd00d[37]]=function(_0x59cfx15,_0x59cfxa){return FaxAccount[_0xd00d[17]]({where:{id:_0x59cfx15[_0xd00d[20]][_0xd00d[38]]},individualHooks:true})[_0xd00d[15]](responseWithoutResult(_0x59cfxa))[_0xd00d[19]](handleError(_0x59cfxa))};exports[_0xd00d[39]]=function(_0x59cfx15,_0x59cfxa,_0x59cfx18){return FaxAccount[_0xd00d[46]](_0xd00d[45])[_0xd00d[26]](_0x59cfx15[_0xd00d[25]][_0xd00d[24]])[_0xd00d[15]](handleEntityNotFound(_0x59cfxa))[_0xd00d[15]](function(_0x59cfx17){return _0x59cfx17[_0xd00d[44]](_[_0xd00d[43]](Util[_0xd00d[21]](_0x59cfx15[_0xd00d[20]]),{include:[{model:FaxQueue,attributes:[_0xd00d[24],_0xd00d[41]]},{model:User,attributes:[_0xd00d[24],_0xd00d[41],_0xd00d[42]]}]}))})[_0xd00d[15]](function(_0x59cfx19){return _0x59cfxa[_0xd00d[10]]({count:_0x59cfx19[_0xd00d[40]],rows:_0x59cfx19})})[_0xd00d[19]](handleError(_0x59cfxa))};exports[_0xd00d[47]]=function(_0x59cfx15,_0x59cfxa,_0x59cfx18){return FaxApplication[_0xd00d[50]](_0xd00d[48],{where:{FaxAccountId:_0x59cfx15[_0xd00d[25]][_0xd00d[24]]}})[_0xd00d[15]](function(_0x59cfx1a){_0x59cfx15[_0xd00d[34]][_0xd00d[48]]=_0x59cfx1a?++_0x59cfx1a:1;_0x59cfx15[_0xd00d[34]][_0xd00d[49]]=_0x59cfx15[_0xd00d[25]][_0xd00d[24]];return FaxApplication[_0xd00d[27]](_0x59cfx15[_0xd00d[34]])})[_0xd00d[15]](responseWithResult(_0x59cfxa,201))[_0xd00d[19]](handleError(_0x59cfxa))};exports[_0xd00d[51]]=function(_0x59cfx15,_0x59cfxa){return FaxApplication[_0xd00d[17]]({where:{id:_0x59cfx15[_0xd00d[20]][_0xd00d[38]]},individualHooks:true})[_0xd00d[15]](responseWithoutResult(_0x59cfxa))[_0xd00d[19]](handleError(_0x59cfxa))};exports[_0xd00d[52]]=function(_0x59cfx15,_0x59cfxa,_0x59cfx18){return FaxApplication[_0xd00d[26]](_0x59cfx15[_0xd00d[25]][_0xd00d[53]])[_0xd00d[15]](handleEntityNotFound(_0x59cfxa))[_0xd00d[15]](removeEntity(_0x59cfxa))[_0xd00d[19]](handleError(_0x59cfxa))};exports[_0xd00d[54]]=function(_0x59cfx15,_0x59cfxa){var _0x59cfx1b=0;var _0x59cfx1c=_0x59cfx15[_0xd00d[34]];_0x59cfx1c[_0xd00d[57]](function(_0x59cfx1d){delete _0x59cfx1d[_0xd00d[24]];delete _0x59cfx1d[_0xd00d[55]];delete _0x59cfx1d[_0xd00d[56]];_0x59cfx1d[_0xd00d[48]]= ++_0x59cfx1b});return sequelize[_0xd00d[35]](function(_0x59cfx16){return FaxApplication[_0xd00d[17]]({where:{FaxAccountId:_0x59cfx15[_0xd00d[25]][_0xd00d[24]]},individualHooks:true,transaction:_0x59cfx16})[_0xd00d[15]](function(_0x59cfx1e){return FaxApplication[_0xd00d[58]](_0x59cfx1c,{individualHooks:true,transaction:_0x59cfx16})})})[_0xd00d[15]](function(_0x59cfx19){return _0x59cfxa[_0xd00d[11]](200)[_0xd00d[10]]({count:_0x59cfx19[_0xd00d[40]],rows:_0x59cfx19})})[_0xd00d[19]](handleError(_0x59cfxa))};exports[_0xd00d[59]]=function(_0x59cfx15,_0x59cfxa){if(_0x59cfx15[_0xd00d[34]][_0xd00d[24]]){delete _0x59cfx15[_0xd00d[34]][_0xd00d[24]]};return FaxApplication[_0xd00d[26]](_0x59cfx15[_0xd00d[25]][_0xd00d[53]])[_0xd00d[15]](handleEntityNotFound(_0x59cfxa))[_0xd00d[15]](saveUpdates(_0x59cfx15[_0xd00d[34]]))[_0xd00d[15]](responseWithResult(_0x59cfxa))[_0xd00d[19]](handleError(_0x59cfxa))};exports[_0xd00d[60]]=function(_0x59cfx15,_0x59cfxa){return FaxApplication[_0xd00d[26]](_0x59cfx15[_0xd00d[25]][_0xd00d[53]],{include:[{all:true}]})[_0xd00d[15]](handleEntityNotFound(_0x59cfxa))[_0xd00d[15]](responseWithResult(_0x59cfxa))[_0xd00d[19]](handleError(_0x59cfxa))};exports[_0xd00d[61]]=function(_0x59cfx15,_0x59cfxa,_0x59cfx18){var _0x59cfx1f={where:{FaxAccountId:_0x59cfx15[_0xd00d[25]][_0xd00d[24]],$and:[]},attributes:[_0xd00d[24],_0xd00d[62],_0xd00d[63],_0xd00d[56]]};if(_0x59cfx15[_0xd00d[20]]){if(_0x59cfx15[_0xd00d[20]][_0xd00d[64]]){if(_[_0xd00d[65]](_0x59cfx15[_0xd00d[20]][_0xd00d[64]])){for(var _0x59cfx20=0;_0x59cfx20<_0x59cfx15[_0xd00d[20]][_0xd00d[64]][_0xd00d[40]];_0x59cfx20++){_0x59cfx1f[_0xd00d[69]][_0xd00d[68]][_0xd00d[67]]({tags:{$like:_0xd00d[66]+_0x59cfx15[_0xd00d[20]][_0xd00d[64]][_0x59cfx20]+_0xd00d[66]}})}}else {_0x59cfx1f[_0xd00d[69]][_0xd00d[68]][_0xd00d[67]]({tags:{$like:_0xd00d[66]+_0x59cfx15[_0xd00d[20]][_0xd00d[64]]+_0xd00d[66]}})};delete _0x59cfx15[_0xd00d[20]][_0xd00d[64]]};_[_0xd00d[43]](_0x59cfx1f[_0xd00d[69]],_0x59cfx15[_0xd00d[20]])};switch(_0x59cfx15[_0xd00d[72]][_0xd00d[74]]){case _0xd00d[73]:if(_0x59cfx15[_0xd00d[20]][_0xd00d[11]]&&_0x59cfx15[_0xd00d[20]][_0xd00d[11]]!==_0xd00d[70]){_0x59cfx1f[_0xd00d[71]]=[{model:User,where:{id:_0x59cfx15[_0xd00d[72]][_0xd00d[24]]}}]};break;default:};console[_0xd00d[75]](_0xd00d[20],_0x59cfx1f);return FaxRoom[_0xd00d[76]](_0x59cfx1f)[_0xd00d[15]](function(_0x59cfx21){return _0x59cfxa[_0xd00d[11]](200)[_0xd00d[10]](_0x59cfx21)})[_0xd00d[19]](handleError(_0x59cfxa))} \ No newline at end of file diff --git a/server/api/fax_account/fax_account.socket.js b/server/api/fax_account/fax_account.socket.js index 57e16c8..4ce5dd1 100644 --- a/server/api/fax_account/fax_account.socket.js +++ b/server/api/fax_account/fax_account.socket.js @@ -1 +1 @@ -var _0x6229=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x61\x78\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x66\x61\x78\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x6229[0];var FaxAccount=require(_0x6229[2])[_0x6229[1]];exports[_0x6229[3]]=function(_0xa150x2){FaxAccount[_0x6229[4]](function(_0xa150x3){onSave(_0xa150x2,_0xa150x3)});FaxAccount[_0x6229[5]](function(_0xa150x3){onSave(_0xa150x2,_0xa150x3)});FaxAccount[_0x6229[6]](function(_0xa150x3){onRemove(_0xa150x2,_0xa150x3)})};function onSave(_0xa150x2,_0xa150x3,_0xa150x5){_0xa150x2[_0x6229[8]](_0x6229[7],_0xa150x3)}function onRemove(_0xa150x2,_0xa150x3,_0xa150x5){_0xa150x2[_0x6229[8]](_0x6229[9],_0xa150x3)} \ No newline at end of file +var _0xac00=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x61\x78\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x66\x61\x78\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0xac00[0];var FaxAccount=require(_0xac00[2])[_0xac00[1]];exports[_0xac00[3]]=function(_0x4607x2){FaxAccount[_0xac00[4]](function(_0x4607x3){onSave(_0x4607x2,_0x4607x3)});FaxAccount[_0xac00[5]](function(_0x4607x3){onSave(_0x4607x2,_0x4607x3)});FaxAccount[_0xac00[6]](function(_0x4607x3){onRemove(_0x4607x2,_0x4607x3)})};function onSave(_0x4607x2,_0x4607x3,_0x4607x5){_0x4607x2[_0xac00[8]](_0xac00[7],_0x4607x3)}function onRemove(_0x4607x2,_0x4607x3,_0x4607x5){_0x4607x2[_0xac00[8]](_0xac00[9],_0x4607x3)} \ No newline at end of file diff --git a/server/api/fax_account/index.js b/server/api/fax_account/index.js index 46ccc65..d5b67ef 100644 --- a/server/api/fax_account/index.js +++ b/server/api/fax_account/index.js @@ -1 +1 @@ -var _0xea44=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x66\x61\x78\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x46\x61\x78","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x73\x68\x6F\x77\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x61\x70\x70\x49\x64","\x73\x68\x6F\x77\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x2F\x3A\x69\x64\x2F\x72\x6F\x6F\x6D\x73","\x67\x65\x74\x46\x61\x78\x52\x6F\x6F\x6D\x73","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x63\x72\x65\x61\x74\x65\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x75\x70\x64\x61\x74\x65\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x75\x70\x64\x61\x74\x65\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x64\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x65\x78\x70\x6F\x72\x74\x73"];_0xea44[0];var express=require(_0xea44[1]);var auth=require(_0xea44[2]);var controller=require(_0xea44[3]);var license=require(_0xea44[4]);var router=express.Router();router[_0xea44[13]](_0xea44[5],license[_0xea44[6]](),license[_0xea44[7]](),auth[_0xea44[8]](),auth[_0xea44[11]]([10],[_0xea44[9],_0xea44[10]]),controller[_0xea44[12]]);router[_0xea44[13]](_0xea44[14],license[_0xea44[6]](),license[_0xea44[7]](),auth[_0xea44[8]](),auth[_0xea44[11]]([10],[_0xea44[9],_0xea44[10]]),controller[_0xea44[15]]);router[_0xea44[13]](_0xea44[16],license[_0xea44[6]](),license[_0xea44[7]](),auth[_0xea44[8]](),auth[_0xea44[11]]([10],[_0xea44[9]]),controller[_0xea44[17]]);router[_0xea44[13]](_0xea44[18],license[_0xea44[6]](),license[_0xea44[7]](),auth[_0xea44[8]](),auth[_0xea44[11]]([10],[_0xea44[9]]),controller[_0xea44[19]]);router[_0xea44[13]](_0xea44[20],license[_0xea44[6]](),license[_0xea44[7]](),auth[_0xea44[8]](),auth[_0xea44[11]]([10],[_0xea44[9],_0xea44[10]]),controller[_0xea44[21]]);router[_0xea44[23]](_0xea44[5],license[_0xea44[6]](),license[_0xea44[7]](),auth[_0xea44[8]](),auth[_0xea44[11]]([10],[_0xea44[9]]),controller[_0xea44[22]]);router[_0xea44[23]](_0xea44[16],license[_0xea44[6]](),license[_0xea44[7]](),auth[_0xea44[8]](),auth[_0xea44[11]]([10],[_0xea44[9]]),controller[_0xea44[24]]);router[_0xea44[26]](_0xea44[14],license[_0xea44[6]](),license[_0xea44[7]](),auth[_0xea44[8]](),auth[_0xea44[11]]([10],[_0xea44[9]]),controller[_0xea44[25]]);router[_0xea44[26]](_0xea44[16],license[_0xea44[6]](),license[_0xea44[7]](),auth[_0xea44[8]](),auth[_0xea44[11]]([10],[_0xea44[9]]),controller[_0xea44[27]]);router[_0xea44[26]](_0xea44[18],license[_0xea44[6]](),license[_0xea44[7]](),auth[_0xea44[8]](),auth[_0xea44[11]]([10],[_0xea44[9]]),controller[_0xea44[28]]);router[_0xea44[30]](_0xea44[5],license[_0xea44[6]](),license[_0xea44[7]](),auth[_0xea44[8]](),auth[_0xea44[11]]([10],[_0xea44[9]]),controller[_0xea44[29]]);router[_0xea44[30]](_0xea44[14],license[_0xea44[6]](),license[_0xea44[7]](),auth[_0xea44[8]](),auth[_0xea44[11]]([10],[_0xea44[9]]),controller[_0xea44[31]]);router[_0xea44[30]](_0xea44[16],license[_0xea44[6]](),license[_0xea44[7]](),auth[_0xea44[8]](),auth[_0xea44[11]]([10],[_0xea44[9]]),controller[_0xea44[32]]);router[_0xea44[30]](_0xea44[18],license[_0xea44[6]](),license[_0xea44[7]](),auth[_0xea44[8]](),auth[_0xea44[11]]([10],[_0xea44[9]]),controller[_0xea44[33]]);module[_0xea44[34]]=router \ No newline at end of file +var _0xe5f7=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x66\x61\x78\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x46\x61\x78","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x73\x68\x6F\x77\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x61\x70\x70\x49\x64","\x73\x68\x6F\x77\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x2F\x3A\x69\x64\x2F\x72\x6F\x6F\x6D\x73","\x67\x65\x74\x46\x61\x78\x52\x6F\x6F\x6D\x73","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x63\x72\x65\x61\x74\x65\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x75\x70\x64\x61\x74\x65\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x75\x70\x64\x61\x74\x65\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x64\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x65\x78\x70\x6F\x72\x74\x73"];_0xe5f7[0];var express=require(_0xe5f7[1]);var auth=require(_0xe5f7[2]);var controller=require(_0xe5f7[3]);var license=require(_0xe5f7[4]);var router=express.Router();router[_0xe5f7[13]](_0xe5f7[5],license[_0xe5f7[6]](),license[_0xe5f7[7]](),auth[_0xe5f7[8]](),auth[_0xe5f7[11]]([10],[_0xe5f7[9],_0xe5f7[10]]),controller[_0xe5f7[12]]);router[_0xe5f7[13]](_0xe5f7[14],license[_0xe5f7[6]](),license[_0xe5f7[7]](),auth[_0xe5f7[8]](),auth[_0xe5f7[11]]([10],[_0xe5f7[9],_0xe5f7[10]]),controller[_0xe5f7[15]]);router[_0xe5f7[13]](_0xe5f7[16],license[_0xe5f7[6]](),license[_0xe5f7[7]](),auth[_0xe5f7[8]](),auth[_0xe5f7[11]]([10],[_0xe5f7[9]]),controller[_0xe5f7[17]]);router[_0xe5f7[13]](_0xe5f7[18],license[_0xe5f7[6]](),license[_0xe5f7[7]](),auth[_0xe5f7[8]](),auth[_0xe5f7[11]]([10],[_0xe5f7[9]]),controller[_0xe5f7[19]]);router[_0xe5f7[13]](_0xe5f7[20],license[_0xe5f7[6]](),license[_0xe5f7[7]](),auth[_0xe5f7[8]](),auth[_0xe5f7[11]]([10],[_0xe5f7[9],_0xe5f7[10]]),controller[_0xe5f7[21]]);router[_0xe5f7[23]](_0xe5f7[5],license[_0xe5f7[6]](),license[_0xe5f7[7]](),auth[_0xe5f7[8]](),auth[_0xe5f7[11]]([10],[_0xe5f7[9]]),controller[_0xe5f7[22]]);router[_0xe5f7[23]](_0xe5f7[16],license[_0xe5f7[6]](),license[_0xe5f7[7]](),auth[_0xe5f7[8]](),auth[_0xe5f7[11]]([10],[_0xe5f7[9]]),controller[_0xe5f7[24]]);router[_0xe5f7[26]](_0xe5f7[14],license[_0xe5f7[6]](),license[_0xe5f7[7]](),auth[_0xe5f7[8]](),auth[_0xe5f7[11]]([10],[_0xe5f7[9]]),controller[_0xe5f7[25]]);router[_0xe5f7[26]](_0xe5f7[16],license[_0xe5f7[6]](),license[_0xe5f7[7]](),auth[_0xe5f7[8]](),auth[_0xe5f7[11]]([10],[_0xe5f7[9]]),controller[_0xe5f7[27]]);router[_0xe5f7[26]](_0xe5f7[18],license[_0xe5f7[6]](),license[_0xe5f7[7]](),auth[_0xe5f7[8]](),auth[_0xe5f7[11]]([10],[_0xe5f7[9]]),controller[_0xe5f7[28]]);router[_0xe5f7[30]](_0xe5f7[5],license[_0xe5f7[6]](),license[_0xe5f7[7]](),auth[_0xe5f7[8]](),auth[_0xe5f7[11]]([10],[_0xe5f7[9]]),controller[_0xe5f7[29]]);router[_0xe5f7[30]](_0xe5f7[14],license[_0xe5f7[6]](),license[_0xe5f7[7]](),auth[_0xe5f7[8]](),auth[_0xe5f7[11]]([10],[_0xe5f7[9]]),controller[_0xe5f7[31]]);router[_0xe5f7[30]](_0xe5f7[16],license[_0xe5f7[6]](),license[_0xe5f7[7]](),auth[_0xe5f7[8]](),auth[_0xe5f7[11]]([10],[_0xe5f7[9]]),controller[_0xe5f7[32]]);router[_0xe5f7[30]](_0xe5f7[18],license[_0xe5f7[6]](),license[_0xe5f7[7]](),auth[_0xe5f7[8]](),auth[_0xe5f7[11]]([10],[_0xe5f7[9]]),controller[_0xe5f7[33]]);module[_0xe5f7[34]]=router \ No newline at end of file diff --git a/server/api/fax_application/fax_application.controller.js b/server/api/fax_application/fax_application.controller.js index 8e29814..535d525 100644 --- a/server/api/fax_application/fax_application.controller.js +++ b/server/api/fax_application/fax_application.controller.js @@ -1 +1 @@ -var _0x5501=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x46\x61\x78\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x6C\x6F\x67","\x70\x72\x69\x6F\x72\x69\x74\x79","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x6D\x61\x78","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x66\x69\x6E\x64"];_0x5501[0];var _=require(_0x5501[1]);var FaxApplication=require(_0x5501[3])[_0x5501[2]];exports[_0x5501[4]]=function(_0x57e3x3,_0x57e3x4){FaxApplication[_0x5501[10]]({where:_0x57e3x3[_0x5501[9]]})[_0x5501[8]](function(_0x57e3x6){return _0x57e3x4[_0x5501[7]](200)[_0x5501[6]](_0x57e3x6)})[_0x5501[5]](function(_0x57e3x5){return handleError(_0x57e3x4,_0x57e3x5)})};exports[_0x5501[11]]=function(_0x57e3x3,_0x57e3x4){FaxApplication[_0x5501[15]](_0x57e3x3[_0x5501[14]][_0x5501[13]])[_0x5501[8]](function(_0x57e3x7){if(!_0x57e3x7){return _0x57e3x4[_0x5501[12]](404)};return _0x57e3x4[_0x5501[6]](_0x57e3x7)})[_0x5501[5]](function(_0x57e3x5){return handleError(_0x57e3x4,_0x57e3x5)})};exports[_0x5501[16]]=function(_0x57e3x3,_0x57e3x4,_0x57e3x8){console[_0x5501[18]](_0x57e3x3[_0x5501[17]]);FaxApplication[_0x5501[21]](_0x5501[19],{where:{FaxAccountId:_0x57e3x3[_0x5501[17]][_0x5501[20]]}})[_0x5501[8]](function(_0x57e3x9){_0x57e3x3[_0x5501[17]][_0x5501[19]]=_0x57e3x9?++_0x57e3x9:1;FaxApplication[_0x5501[16]](_0x57e3x3[_0x5501[17]])[_0x5501[8]](function(_0x57e3xa){return _0x57e3x4[_0x5501[7]](201)[_0x5501[6]](_0x57e3xa)})[_0x5501[5]](function(_0x57e3x5){return _0x57e3x8(_0x57e3x5)});console[_0x5501[18]](_0x57e3x9)})[_0x5501[5]](function(_0x57e3x5){_0x57e3x8(_0x57e3x5)})};exports[_0x5501[22]]=function(_0x57e3x3,_0x57e3x4){if(_0x57e3x3[_0x5501[17]][_0x5501[13]]){delete _0x57e3x3[_0x5501[17]][_0x5501[13]]};FaxApplication[_0x5501[15]](_0x57e3x3[_0x5501[14]][_0x5501[13]])[_0x5501[8]](function(_0x57e3x7){if(!_0x57e3x7){return _0x57e3x4[_0x5501[12]](404)};var _0x57e3xb=_[_0x5501[23]](_0x57e3x7,_0x57e3x3[_0x5501[17]]);_0x57e3xb[_0x5501[24]]()[_0x5501[8]](function(){return _0x57e3x4[_0x5501[7]](200)[_0x5501[6]](_0x57e3x7)})[_0x5501[5]](function(_0x57e3x5){return handleError(_0x57e3x4,_0x57e3x5)})})[_0x5501[5]](function(_0x57e3x5){return handleError(_0x57e3x4,_0x57e3x5)})};exports[_0x5501[25]]=function(_0x57e3x3,_0x57e3x4){FaxApplication[_0x5501[26]]({where:{id:_0x57e3x3[_0x5501[14]][_0x5501[13]]}})[_0x5501[8]](function(_0x57e3x7){if(!_0x57e3x7){return _0x57e3x4[_0x5501[12]](404)};_0x57e3x7[_0x5501[25]]()[_0x5501[8]](function(){return _0x57e3x4[_0x5501[12]](204)})[_0x5501[5]](function(_0x57e3x5){return handleError(_0x57e3x4,_0x57e3x5)})})[_0x5501[5]](function(_0x57e3x5){return handleError(_0x57e3x4,_0x57e3x5)})};function handleError(_0x57e3x4,_0x57e3x5){return _0x57e3x4[_0x5501[7]](500)[_0x5501[6]](_0x57e3x5)} \ No newline at end of file +var _0xedc8=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x46\x61\x78\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x6C\x6F\x67","\x70\x72\x69\x6F\x72\x69\x74\x79","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x6D\x61\x78","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x66\x69\x6E\x64"];_0xedc8[0];var _=require(_0xedc8[1]);var FaxApplication=require(_0xedc8[3])[_0xedc8[2]];exports[_0xedc8[4]]=function(_0x7767x3,_0x7767x4){FaxApplication[_0xedc8[10]]({where:_0x7767x3[_0xedc8[9]]})[_0xedc8[8]](function(_0x7767x6){return _0x7767x4[_0xedc8[7]](200)[_0xedc8[6]](_0x7767x6)})[_0xedc8[5]](function(_0x7767x5){return handleError(_0x7767x4,_0x7767x5)})};exports[_0xedc8[11]]=function(_0x7767x3,_0x7767x4){FaxApplication[_0xedc8[15]](_0x7767x3[_0xedc8[14]][_0xedc8[13]])[_0xedc8[8]](function(_0x7767x7){if(!_0x7767x7){return _0x7767x4[_0xedc8[12]](404)};return _0x7767x4[_0xedc8[6]](_0x7767x7)})[_0xedc8[5]](function(_0x7767x5){return handleError(_0x7767x4,_0x7767x5)})};exports[_0xedc8[16]]=function(_0x7767x3,_0x7767x4,_0x7767x8){console[_0xedc8[18]](_0x7767x3[_0xedc8[17]]);FaxApplication[_0xedc8[21]](_0xedc8[19],{where:{FaxAccountId:_0x7767x3[_0xedc8[17]][_0xedc8[20]]}})[_0xedc8[8]](function(_0x7767x9){_0x7767x3[_0xedc8[17]][_0xedc8[19]]=_0x7767x9?++_0x7767x9:1;FaxApplication[_0xedc8[16]](_0x7767x3[_0xedc8[17]])[_0xedc8[8]](function(_0x7767xa){return _0x7767x4[_0xedc8[7]](201)[_0xedc8[6]](_0x7767xa)})[_0xedc8[5]](function(_0x7767x5){return _0x7767x8(_0x7767x5)});console[_0xedc8[18]](_0x7767x9)})[_0xedc8[5]](function(_0x7767x5){_0x7767x8(_0x7767x5)})};exports[_0xedc8[22]]=function(_0x7767x3,_0x7767x4){if(_0x7767x3[_0xedc8[17]][_0xedc8[13]]){delete _0x7767x3[_0xedc8[17]][_0xedc8[13]]};FaxApplication[_0xedc8[15]](_0x7767x3[_0xedc8[14]][_0xedc8[13]])[_0xedc8[8]](function(_0x7767x7){if(!_0x7767x7){return _0x7767x4[_0xedc8[12]](404)};var _0x7767xb=_[_0xedc8[23]](_0x7767x7,_0x7767x3[_0xedc8[17]]);_0x7767xb[_0xedc8[24]]()[_0xedc8[8]](function(){return _0x7767x4[_0xedc8[7]](200)[_0xedc8[6]](_0x7767x7)})[_0xedc8[5]](function(_0x7767x5){return handleError(_0x7767x4,_0x7767x5)})})[_0xedc8[5]](function(_0x7767x5){return handleError(_0x7767x4,_0x7767x5)})};exports[_0xedc8[25]]=function(_0x7767x3,_0x7767x4){FaxApplication[_0xedc8[26]]({where:{id:_0x7767x3[_0xedc8[14]][_0xedc8[13]]}})[_0xedc8[8]](function(_0x7767x7){if(!_0x7767x7){return _0x7767x4[_0xedc8[12]](404)};_0x7767x7[_0xedc8[25]]()[_0xedc8[8]](function(){return _0x7767x4[_0xedc8[12]](204)})[_0xedc8[5]](function(_0x7767x5){return handleError(_0x7767x4,_0x7767x5)})})[_0xedc8[5]](function(_0x7767x5){return handleError(_0x7767x4,_0x7767x5)})};function handleError(_0x7767x4,_0x7767x5){return _0x7767x4[_0xedc8[7]](500)[_0xedc8[6]](_0x7767x5)} \ No newline at end of file diff --git a/server/api/fax_application/fax_application.socket.js b/server/api/fax_application/fax_application.socket.js index 30abd02..75959e2 100644 --- a/server/api/fax_application/fax_application.socket.js +++ b/server/api/fax_application/fax_application.socket.js @@ -1 +1 @@ -var _0xb0b5=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x46\x61\x78\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0xb0b5[0];var fax_application=require(_0xb0b5[2])[_0xb0b5[1]];exports[_0xb0b5[3]]=function(_0x8d59x2){fax_application[_0xb0b5[4]](function(_0x8d59x3){onSave(_0x8d59x2,_0x8d59x3)});fax_application[_0xb0b5[5]](function(_0x8d59x3){onRemove(_0x8d59x2,_0x8d59x3)})};function onSave(_0x8d59x2,_0x8d59x3,_0x8d59x5){_0x8d59x2[_0xb0b5[7]](_0xb0b5[6],_0x8d59x3)}function onRemove(_0x8d59x2,_0x8d59x3,_0x8d59x5){_0x8d59x2[_0xb0b5[7]](_0xb0b5[8],_0x8d59x3)} \ No newline at end of file +var _0x58d7=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x46\x61\x78\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x58d7[0];var fax_application=require(_0x58d7[2])[_0x58d7[1]];exports[_0x58d7[3]]=function(_0xbc14x2){fax_application[_0x58d7[4]](function(_0xbc14x3){onSave(_0xbc14x2,_0xbc14x3)});fax_application[_0x58d7[5]](function(_0xbc14x3){onRemove(_0xbc14x2,_0xbc14x3)})};function onSave(_0xbc14x2,_0xbc14x3,_0xbc14x5){_0xbc14x2[_0x58d7[7]](_0x58d7[6],_0xbc14x3)}function onRemove(_0xbc14x2,_0xbc14x3,_0xbc14x5){_0xbc14x2[_0x58d7[7]](_0x58d7[8],_0xbc14x3)} \ No newline at end of file diff --git a/server/api/fax_application/index.js b/server/api/fax_application/index.js index d907efb..6dbc659 100644 --- a/server/api/fax_application/index.js +++ b/server/api/fax_application/index.js @@ -1 +1 @@ -var _0x9a11=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x46\x61\x78","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x9a11[0];var express=require(_0x9a11[1]);var controller=require(_0x9a11[2]);var auth=require(_0x9a11[3]);var license=require(_0x9a11[4]);var router=express.Router();router[_0x9a11[12]](_0x9a11[5],license[_0x9a11[6]](),license[_0x9a11[7]](),auth[_0x9a11[8]](),auth[_0x9a11[10]]([10],[_0x9a11[9]]),controller[_0x9a11[11]]);router[_0x9a11[12]](_0x9a11[13],license[_0x9a11[6]](),license[_0x9a11[7]](),auth[_0x9a11[8]](),auth[_0x9a11[10]]([10],[_0x9a11[9]]),controller[_0x9a11[14]]);router[_0x9a11[16]](_0x9a11[5],license[_0x9a11[6]](),license[_0x9a11[7]](),auth[_0x9a11[8]](),auth[_0x9a11[10]]([10],[_0x9a11[9]]),controller[_0x9a11[15]]);router[_0x9a11[18]](_0x9a11[13],license[_0x9a11[6]](),license[_0x9a11[7]](),auth[_0x9a11[8]](),auth[_0x9a11[10]]([10],[_0x9a11[9]]),controller[_0x9a11[17]]);router[_0x9a11[20]](_0x9a11[13],license[_0x9a11[6]](),license[_0x9a11[7]](),auth[_0x9a11[8]](),auth[_0x9a11[10]]([10],[_0x9a11[9]]),controller[_0x9a11[19]]);module[_0x9a11[21]]=router \ No newline at end of file +var _0x7ebf=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x46\x61\x78","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x7ebf[0];var express=require(_0x7ebf[1]);var controller=require(_0x7ebf[2]);var auth=require(_0x7ebf[3]);var license=require(_0x7ebf[4]);var router=express.Router();router[_0x7ebf[12]](_0x7ebf[5],license[_0x7ebf[6]](),license[_0x7ebf[7]](),auth[_0x7ebf[8]](),auth[_0x7ebf[10]]([10],[_0x7ebf[9]]),controller[_0x7ebf[11]]);router[_0x7ebf[12]](_0x7ebf[13],license[_0x7ebf[6]](),license[_0x7ebf[7]](),auth[_0x7ebf[8]](),auth[_0x7ebf[10]]([10],[_0x7ebf[9]]),controller[_0x7ebf[14]]);router[_0x7ebf[16]](_0x7ebf[5],license[_0x7ebf[6]](),license[_0x7ebf[7]](),auth[_0x7ebf[8]](),auth[_0x7ebf[10]]([10],[_0x7ebf[9]]),controller[_0x7ebf[15]]);router[_0x7ebf[18]](_0x7ebf[13],license[_0x7ebf[6]](),license[_0x7ebf[7]](),auth[_0x7ebf[8]](),auth[_0x7ebf[10]]([10],[_0x7ebf[9]]),controller[_0x7ebf[17]]);router[_0x7ebf[20]](_0x7ebf[13],license[_0x7ebf[6]](),license[_0x7ebf[7]](),auth[_0x7ebf[8]](),auth[_0x7ebf[10]]([10],[_0x7ebf[9]]),controller[_0x7ebf[19]]);module[_0x7ebf[21]]=router \ No newline at end of file diff --git a/server/api/fax_attachment/fax_attachment.controller.js b/server/api/fax_attachment/fax_attachment.controller.js index b58a6a1..44a8b36 100644 --- a/server/api/fax_attachment/fax_attachment.controller.js +++ b/server/api/fax_attachment/fax_attachment.controller.js @@ -1 +1 @@ -var _0x44b3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x70\x61\x74\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x66\x6F\x72\x6D\x69\x64\x61\x62\x6C\x65","\x62\x6C\x75\x65\x62\x69\x72\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x46\x61\x78\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x46\x69\x6C\x65","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x75\x70\x6C\x6F\x61\x64\x44\x69\x72","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72","\x66\x69\x6C\x65\x73","\x66\x61\x78","\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x6F\x72\x69\x67\x69\x6E\x61\x6C","\x6A\x6F\x69\x6E","\x6B\x65\x65\x70\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73","\x6D\x75\x6C\x74\x69\x70\x6C\x65\x73","\x68\x61\x73\x68","\x66\x69\x6C\x65","\x6E\x61\x6D\x65","\x62\x61\x73\x65\x6E\x61\x6D\x65","\x70\x61\x72\x73\x65","\x75\x70\x64\x61\x74\x65","\x62\x6F\x64\x79","\x75\x6E\x6C\x69\x6E\x6B","\x66\x73","\x70\x72\x6F\x6D\x69\x73\x69\x66\x79"];_0x44b3[0];var _=require(_0x44b3[1]);var path=require(_0x44b3[2]);var Util=require(_0x44b3[3]);var formidable=require(_0x44b3[4]);var Promise=require(_0x44b3[5]);var config=require(_0x44b3[6]);var FaxAttachment=require(_0x44b3[8])[_0x44b3[7]];function handleError(_0x1fbax9,_0x1fbaxa){_0x1fbaxa=_0x1fbaxa||500;return function(_0x1fbaxb){_0x1fbax9[_0x44b3[10]](_0x1fbaxa)[_0x44b3[9]](_0x1fbaxb)}}function responseWithResult(_0x1fbax9,_0x1fbaxa){_0x1fbaxa=_0x1fbaxa||200;return function(_0x1fbaxd){if(_0x1fbaxd){_0x1fbax9[_0x44b3[10]](_0x1fbaxa)[_0x44b3[11]](_0x1fbaxd)}}}function responseWithoutResult(_0x1fbax9,_0x1fbaxa){_0x1fbaxa=_0x1fbaxa||204;return function(){_0x1fbax9[_0x44b3[12]](_0x1fbaxa)}}function handleEntityNotFound(_0x1fbax9){return function(_0x1fbaxd){if(!_0x1fbaxd){_0x1fbax9[_0x44b3[10]](404)[_0x44b3[13]]();return null};return _0x1fbaxd}}function saveUpdates(_0x1fbax11){return function(_0x1fbaxd){return _0x1fbaxd[_0x44b3[15]](_0x1fbax11)[_0x44b3[14]](function(_0x1fbax12){return _0x1fbax12})}}function removeEntity(_0x1fbax9){return function(_0x1fbaxd){if(_0x1fbaxd){return _0x1fbaxd[_0x44b3[16]]()[_0x44b3[14]](function(){_0x1fbax9[_0x44b3[10]](204)[_0x44b3[13]]()})}}}exports[_0x44b3[17]]=function(_0x1fbax14,_0x1fbax9){return FaxAttachment[_0x44b3[21]](Util[_0x44b3[20]](_0x1fbax14[_0x44b3[19]]))[_0x44b3[14]](responseWithResult(_0x1fbax9))[_0x44b3[18]](handleError(_0x1fbax9))};exports[_0x44b3[22]]=function(_0x1fbax14,_0x1fbax9){return FaxAttachment[_0x44b3[26]](_0x1fbax14[_0x44b3[25]][_0x44b3[24]])[_0x44b3[14]](handleEntityNotFound(_0x1fbax9))[_0x44b3[14]](function(_0x1fbax15){return _0x1fbax9[_0x44b3[23]](_0x1fbax15[_0x44b3[2]])})[_0x44b3[18]](handleError(_0x1fbax9))};exports[_0x44b3[27]]=function(_0x1fbax14,_0x1fbax9){var _0x1fbax16= new formidable.IncomingForm();_0x1fbax16[_0x44b3[28]]=path[_0x44b3[35]](config[_0x44b3[29]],_0x44b3[30],_0x44b3[31],_0x44b3[32],_0x44b3[33],_0x44b3[34]);_0x1fbax16[_0x44b3[36]]=true;_0x1fbax16[_0x44b3[37]]=true;_0x1fbax16[_0x44b3[38]]=true;_0x1fbax16[_0x44b3[42]](_0x1fbax14,function(_0x1fbaxb,_0x1fbax16,_0x1fbax17){if(_0x1fbaxb){return _0x1fbax9[_0x44b3[10]](500)[_0x44b3[9]](_0x1fbaxb)};return _0x1fbax9[_0x44b3[10]](201)[_0x44b3[9]]({path:_0x1fbax17[_0x44b3[39]][_0x44b3[2]],name:_0x1fbax17[_0x44b3[39]][_0x44b3[40]],basename:path[_0x44b3[41]](_0x1fbax17[_0x44b3[39]][_0x44b3[2]])})})};exports[_0x44b3[43]]=function(_0x1fbax14,_0x1fbax9){if(_0x1fbax14[_0x44b3[44]][_0x44b3[24]]){delete _0x1fbax14[_0x44b3[44]][_0x44b3[24]]};return FaxAttachment[_0x44b3[26]](_0x1fbax14[_0x44b3[25]][_0x44b3[24]])[_0x44b3[14]](handleEntityNotFound(_0x1fbax9))[_0x44b3[14]](saveUpdates(_0x1fbax14[_0x44b3[44]]))[_0x44b3[14]](responseWithResult(_0x1fbax9))[_0x44b3[18]](handleError(_0x1fbax9))};exports[_0x44b3[16]]=function(_0x1fbax14,_0x1fbax9){var _0x1fbax18=Promise[_0x44b3[47]](require(_0x44b3[46])[_0x44b3[45]]);var _0x1fbax19=path[_0x44b3[35]](config[_0x44b3[29]],_0x44b3[30],_0x44b3[31],_0x44b3[32],_0x44b3[33],_0x44b3[34],_0x1fbax14[_0x44b3[25]][_0x44b3[24]]);return _0x1fbax18(_0x1fbax19)[_0x44b3[14]](function(){return _0x1fbax9[_0x44b3[12]](204)})[_0x44b3[18]](function(_0x1fbaxb){return handleError(_0x1fbax9,_0x1fbaxb)})} \ No newline at end of file +var _0x78a1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x70\x61\x74\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x66\x6F\x72\x6D\x69\x64\x61\x62\x6C\x65","\x62\x6C\x75\x65\x62\x69\x72\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x46\x61\x78\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x46\x69\x6C\x65","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x75\x70\x6C\x6F\x61\x64\x44\x69\x72","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72","\x66\x69\x6C\x65\x73","\x66\x61\x78","\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x6F\x72\x69\x67\x69\x6E\x61\x6C","\x6A\x6F\x69\x6E","\x6B\x65\x65\x70\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73","\x6D\x75\x6C\x74\x69\x70\x6C\x65\x73","\x68\x61\x73\x68","\x66\x69\x6C\x65","\x6E\x61\x6D\x65","\x62\x61\x73\x65\x6E\x61\x6D\x65","\x70\x61\x72\x73\x65","\x75\x70\x64\x61\x74\x65","\x62\x6F\x64\x79","\x75\x6E\x6C\x69\x6E\x6B","\x66\x73","\x70\x72\x6F\x6D\x69\x73\x69\x66\x79"];_0x78a1[0];var _=require(_0x78a1[1]);var path=require(_0x78a1[2]);var Util=require(_0x78a1[3]);var formidable=require(_0x78a1[4]);var Promise=require(_0x78a1[5]);var config=require(_0x78a1[6]);var FaxAttachment=require(_0x78a1[8])[_0x78a1[7]];function handleError(_0xda9ax9,_0xda9axa){_0xda9axa=_0xda9axa||500;return function(_0xda9axb){_0xda9ax9[_0x78a1[10]](_0xda9axa)[_0x78a1[9]](_0xda9axb)}}function responseWithResult(_0xda9ax9,_0xda9axa){_0xda9axa=_0xda9axa||200;return function(_0xda9axd){if(_0xda9axd){_0xda9ax9[_0x78a1[10]](_0xda9axa)[_0x78a1[11]](_0xda9axd)}}}function responseWithoutResult(_0xda9ax9,_0xda9axa){_0xda9axa=_0xda9axa||204;return function(){_0xda9ax9[_0x78a1[12]](_0xda9axa)}}function handleEntityNotFound(_0xda9ax9){return function(_0xda9axd){if(!_0xda9axd){_0xda9ax9[_0x78a1[10]](404)[_0x78a1[13]]();return null};return _0xda9axd}}function saveUpdates(_0xda9ax11){return function(_0xda9axd){return _0xda9axd[_0x78a1[15]](_0xda9ax11)[_0x78a1[14]](function(_0xda9ax12){return _0xda9ax12})}}function removeEntity(_0xda9ax9){return function(_0xda9axd){if(_0xda9axd){return _0xda9axd[_0x78a1[16]]()[_0x78a1[14]](function(){_0xda9ax9[_0x78a1[10]](204)[_0x78a1[13]]()})}}}exports[_0x78a1[17]]=function(_0xda9ax14,_0xda9ax9){return FaxAttachment[_0x78a1[21]](Util[_0x78a1[20]](_0xda9ax14[_0x78a1[19]]))[_0x78a1[14]](responseWithResult(_0xda9ax9))[_0x78a1[18]](handleError(_0xda9ax9))};exports[_0x78a1[22]]=function(_0xda9ax14,_0xda9ax9){return FaxAttachment[_0x78a1[26]](_0xda9ax14[_0x78a1[25]][_0x78a1[24]])[_0x78a1[14]](handleEntityNotFound(_0xda9ax9))[_0x78a1[14]](function(_0xda9ax15){return _0xda9ax9[_0x78a1[23]](_0xda9ax15[_0x78a1[2]])})[_0x78a1[18]](handleError(_0xda9ax9))};exports[_0x78a1[27]]=function(_0xda9ax14,_0xda9ax9){var _0xda9ax16= new formidable.IncomingForm();_0xda9ax16[_0x78a1[28]]=path[_0x78a1[35]](config[_0x78a1[29]],_0x78a1[30],_0x78a1[31],_0x78a1[32],_0x78a1[33],_0x78a1[34]);_0xda9ax16[_0x78a1[36]]=true;_0xda9ax16[_0x78a1[37]]=true;_0xda9ax16[_0x78a1[38]]=true;_0xda9ax16[_0x78a1[42]](_0xda9ax14,function(_0xda9axb,_0xda9ax16,_0xda9ax17){if(_0xda9axb){return _0xda9ax9[_0x78a1[10]](500)[_0x78a1[9]](_0xda9axb)};return _0xda9ax9[_0x78a1[10]](201)[_0x78a1[9]]({path:_0xda9ax17[_0x78a1[39]][_0x78a1[2]],name:_0xda9ax17[_0x78a1[39]][_0x78a1[40]],basename:path[_0x78a1[41]](_0xda9ax17[_0x78a1[39]][_0x78a1[2]])})})};exports[_0x78a1[43]]=function(_0xda9ax14,_0xda9ax9){if(_0xda9ax14[_0x78a1[44]][_0x78a1[24]]){delete _0xda9ax14[_0x78a1[44]][_0x78a1[24]]};return FaxAttachment[_0x78a1[26]](_0xda9ax14[_0x78a1[25]][_0x78a1[24]])[_0x78a1[14]](handleEntityNotFound(_0xda9ax9))[_0x78a1[14]](saveUpdates(_0xda9ax14[_0x78a1[44]]))[_0x78a1[14]](responseWithResult(_0xda9ax9))[_0x78a1[18]](handleError(_0xda9ax9))};exports[_0x78a1[16]]=function(_0xda9ax14,_0xda9ax9){var _0xda9ax18=Promise[_0x78a1[47]](require(_0x78a1[46])[_0x78a1[45]]);var _0xda9ax19=path[_0x78a1[35]](config[_0x78a1[29]],_0x78a1[30],_0x78a1[31],_0x78a1[32],_0x78a1[33],_0x78a1[34],_0xda9ax14[_0x78a1[25]][_0x78a1[24]]);return _0xda9ax18(_0xda9ax19)[_0x78a1[14]](function(){return _0xda9ax9[_0x78a1[12]](204)})[_0x78a1[18]](function(_0xda9axb){return handleError(_0xda9ax9,_0xda9axb)})} \ No newline at end of file diff --git a/server/api/fax_attachment/fax_attachment.socket.js b/server/api/fax_attachment/fax_attachment.socket.js index 5828eb7..816eea9 100644 --- a/server/api/fax_attachment/fax_attachment.socket.js +++ b/server/api/fax_attachment/fax_attachment.socket.js @@ -1 +1 @@ -var _0xa299=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x46\x61\x78\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x61\x78\x5F\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x66\x61\x78\x5F\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0xa299[0];var FaxAttachment=require(_0xa299[2])[_0xa299[1]];exports[_0xa299[3]]=function(_0x7729x2){FaxAttachment[_0xa299[4]](function(_0x7729x3){onSave(_0x7729x2,_0x7729x3)});FaxAttachment[_0xa299[5]](function(_0x7729x3){onRemove(_0x7729x2,_0x7729x3)})};function onSave(_0x7729x2,_0x7729x3,_0x7729x5){_0x7729x2[_0xa299[7]](_0xa299[6],_0x7729x3)}function onRemove(_0x7729x2,_0x7729x3,_0x7729x5){_0x7729x2[_0xa299[7]](_0xa299[8],_0x7729x3)} \ No newline at end of file +var _0xd260=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x46\x61\x78\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x61\x78\x5F\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x66\x61\x78\x5F\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0xd260[0];var FaxAttachment=require(_0xd260[2])[_0xd260[1]];exports[_0xd260[3]]=function(_0x6c51x2){FaxAttachment[_0xd260[4]](function(_0x6c51x3){onSave(_0x6c51x2,_0x6c51x3)});FaxAttachment[_0xd260[5]](function(_0x6c51x3){onRemove(_0x6c51x2,_0x6c51x3)})};function onSave(_0x6c51x2,_0x6c51x3,_0x6c51x5){_0x6c51x2[_0xd260[7]](_0xd260[6],_0x6c51x3)}function onRemove(_0x6c51x2,_0x6c51x3,_0x6c51x5){_0x6c51x2[_0xd260[7]](_0xd260[8],_0x6c51x3)} \ No newline at end of file diff --git a/server/api/fax_attachment/index.js b/server/api/fax_attachment/index.js index 0ca735e..d2787bb 100644 --- a/server/api/fax_attachment/index.js +++ b/server/api/fax_attachment/index.js @@ -1 +1 @@ -var _0x79cd=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x66\x61\x78\x5F\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x46\x61\x78","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x79cd[0];var express=require(_0x79cd[1]);var auth=require(_0x79cd[2]);var controller=require(_0x79cd[3]);var license=require(_0x79cd[4]);var router=express.Router();router[_0x79cd[13]](_0x79cd[5],license[_0x79cd[6]](),license[_0x79cd[7]](),auth[_0x79cd[8]](),auth[_0x79cd[11]]([10],[_0x79cd[9],_0x79cd[10]]),controller[_0x79cd[12]]);router[_0x79cd[13]](_0x79cd[14],license[_0x79cd[6]](),license[_0x79cd[7]](),controller[_0x79cd[15]]);router[_0x79cd[17]](_0x79cd[5],license[_0x79cd[6]](),license[_0x79cd[7]](),auth[_0x79cd[8]](),auth[_0x79cd[11]]([10],[_0x79cd[9],_0x79cd[10]]),controller[_0x79cd[16]]);router[_0x79cd[19]](_0x79cd[14],license[_0x79cd[6]](),license[_0x79cd[7]](),auth[_0x79cd[8]](),auth[_0x79cd[11]]([10],[_0x79cd[9],_0x79cd[10]]),controller[_0x79cd[18]]);router[_0x79cd[21]](_0x79cd[14],license[_0x79cd[6]](),license[_0x79cd[7]](),auth[_0x79cd[8]](),auth[_0x79cd[11]]([10],[_0x79cd[9],_0x79cd[10]]),controller[_0x79cd[20]]);module[_0x79cd[22]]=router \ No newline at end of file +var _0xfcdb=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x66\x61\x78\x5F\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x46\x61\x78","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xfcdb[0];var express=require(_0xfcdb[1]);var auth=require(_0xfcdb[2]);var controller=require(_0xfcdb[3]);var license=require(_0xfcdb[4]);var router=express.Router();router[_0xfcdb[13]](_0xfcdb[5],license[_0xfcdb[6]](),license[_0xfcdb[7]](),auth[_0xfcdb[8]](),auth[_0xfcdb[11]]([10],[_0xfcdb[9],_0xfcdb[10]]),controller[_0xfcdb[12]]);router[_0xfcdb[13]](_0xfcdb[14],license[_0xfcdb[6]](),license[_0xfcdb[7]](),controller[_0xfcdb[15]]);router[_0xfcdb[17]](_0xfcdb[5],license[_0xfcdb[6]](),license[_0xfcdb[7]](),auth[_0xfcdb[8]](),auth[_0xfcdb[11]]([10],[_0xfcdb[9],_0xfcdb[10]]),controller[_0xfcdb[16]]);router[_0xfcdb[19]](_0xfcdb[14],license[_0xfcdb[6]](),license[_0xfcdb[7]](),auth[_0xfcdb[8]](),auth[_0xfcdb[11]]([10],[_0xfcdb[9],_0xfcdb[10]]),controller[_0xfcdb[18]]);router[_0xfcdb[21]](_0xfcdb[14],license[_0xfcdb[6]](),license[_0xfcdb[7]](),auth[_0xfcdb[8]](),auth[_0xfcdb[11]]([10],[_0xfcdb[9],_0xfcdb[10]]),controller[_0xfcdb[20]]);module[_0xfcdb[22]]=router \ No newline at end of file diff --git a/server/api/fax_message/fax_message.ami.js b/server/api/fax_message/fax_message.ami.js index 894faf3..428abfb 100644 --- a/server/api/fax_message/fax_message.ami.js +++ b/server/api/fax_message/fax_message.ami.js @@ -1 +1 @@ -var _0x6e00=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x46\x61\x78\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x72\x65\x67\x69\x73\x74\x65\x72","\x46\x61\x78\x4D\x65\x73\x73\x61\x67\x65\x20\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x6C\x6F\x67","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x73\x74\x61\x74\x75\x73","\x4E\x4F\x54\x20\x53\x45\x4E\x54","\x61\x63\x74\x69\x6F\x6E\x69\x64","\x62\x6F\x64\x79","\x70\x61\x72\x73\x65","\x66\x61\x78\x42\x6F\x64\x79","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x6F\x72\x69\x67\x69\x6E\x61\x74\x65","\x66\x72\x6F\x6D","\x25\x73\x2F\x25\x73\x40\x25\x73","\x74\x65\x63\x68\x6E\x6F\x6C\x6F\x67\x79","\x74\x6F","\x6E\x61\x6D\x65","\x66\x6F\x72\x6D\x61\x74","\x6F\x75\x74\x62\x6F\x75\x6E\x64\x2D\x66\x61\x78","\x73","\x74\x72\x75\x65","\x6D\x61\x78\x72\x61\x74\x65","\x6D\x69\x6E\x72\x61\x74\x65","\x65\x63\x6D","\x79\x65\x73","\x6E\x6F","\x66\x61\x78\x5F\x6C\x6F\x63\x61\x6C\x69\x64","\x66\x61\x78\x5F\x66\x69\x6C\x65","\x66\x61\x78\x5F\x68\x65\x61\x64\x65\x72","\x75\x75\x69\x64","\x46\x41\x49\x4C\x45\x44","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x72\x65\x73\x70\x6F\x6E\x73\x65","\x61\x63\x74\x69\x6F\x6E","\x74\x68\x65\x6E","\x69\x64","\x74\x72\x75\x6E\x6B","\x66\x69\x6E\x64\x42\x79\x49\x64"];_0x6e00[0];var _=require(_0x6e00[1]);var util=require(_0x6e00[2]);var FaxMessage=require(_0x6e00[4])[_0x6e00[3]];var Trunk=require(_0x6e00[4])[_0x6e00[5]];exports[_0x6e00[6]]=function(_0xa4d9x5){FaxMessage[_0x6e00[9]](function(_0xa4d9x6){console[_0x6e00[8]](_0x6e00[7])})};function onSave(_0xa4d9x5,_0xa4d9x6,_0xa4d9x8){if(_0xa4d9x6[_0x6e00[10]]===_0x6e00[11]&&!_0xa4d9x6[_0x6e00[12]]){var _0xa4d9x9=JSON[_0x6e00[14]](_0xa4d9x6[_0x6e00[13]]);console[_0x6e00[8]](_0x6e00[15],_0xa4d9x9);Trunk[_0x6e00[44]](_0xa4d9x9[_0x6e00[43]][_0x6e00[42]])[_0x6e00[41]](function(_0xa4d9xb){var _0xa4d9xc={Action:_0x6e00[18],CallerID:_0xa4d9x9[_0x6e00[19]],Channel:util[_0x6e00[24]](_0x6e00[20],_0xa4d9x9[_0x6e00[21]],_0xa4d9x9[_0x6e00[22]],_0xa4d9xb[_0x6e00[23]]),Context:_0x6e00[25],Exten:_0x6e00[26],Priority:1,Async:_0x6e00[27],Variable:{MAXRATE:_0xa4d9x9[_0x6e00[28]],MINRATE:_0xa4d9x9[_0x6e00[29]],ECM:_0xa4d9x9[_0x6e00[30]]?_0x6e00[31]:_0x6e00[32],LOCALID:_0xa4d9x9[_0x6e00[33]],FAXFILE:_0xa4d9x9[_0x6e00[34]],FAXHEADER:_0xa4d9x9[_0x6e00[35]],FAXUUID:_0xa4d9x9[_0x6e00[36]]}};_0xa4d9x5[_0x6e00[40]](_0xa4d9xc,function(_0xa4d9xa,_0xa4d9xd){if(_0xa4d9xa){_0xa4d9x6[_0x6e00[38]]({status:_0x6e00[37]})}else {if(_0xa4d9xd[_0x6e00[39]]&&_0xa4d9xd[_0x6e00[12]]){_0xa4d9x6[_0x6e00[38]]({actionid:_0xa4d9xd[_0x6e00[12]]})}}})})[_0x6e00[17]](function(_0xa4d9xa){console[_0x6e00[16]](_0xa4d9xa)})}} \ No newline at end of file +var _0x6722=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x46\x61\x78\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x72\x65\x67\x69\x73\x74\x65\x72","\x46\x61\x78\x4D\x65\x73\x73\x61\x67\x65\x20\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x6C\x6F\x67","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x73\x74\x61\x74\x75\x73","\x4E\x4F\x54\x20\x53\x45\x4E\x54","\x61\x63\x74\x69\x6F\x6E\x69\x64","\x62\x6F\x64\x79","\x70\x61\x72\x73\x65","\x66\x61\x78\x42\x6F\x64\x79","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x6F\x72\x69\x67\x69\x6E\x61\x74\x65","\x66\x72\x6F\x6D","\x25\x73\x2F\x25\x73\x40\x25\x73","\x74\x65\x63\x68\x6E\x6F\x6C\x6F\x67\x79","\x74\x6F","\x6E\x61\x6D\x65","\x66\x6F\x72\x6D\x61\x74","\x6F\x75\x74\x62\x6F\x75\x6E\x64\x2D\x66\x61\x78","\x73","\x74\x72\x75\x65","\x6D\x61\x78\x72\x61\x74\x65","\x6D\x69\x6E\x72\x61\x74\x65","\x65\x63\x6D","\x79\x65\x73","\x6E\x6F","\x66\x61\x78\x5F\x6C\x6F\x63\x61\x6C\x69\x64","\x66\x61\x78\x5F\x66\x69\x6C\x65","\x66\x61\x78\x5F\x68\x65\x61\x64\x65\x72","\x75\x75\x69\x64","\x46\x41\x49\x4C\x45\x44","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x72\x65\x73\x70\x6F\x6E\x73\x65","\x61\x63\x74\x69\x6F\x6E","\x74\x68\x65\x6E","\x69\x64","\x74\x72\x75\x6E\x6B","\x66\x69\x6E\x64\x42\x79\x49\x64"];_0x6722[0];var _=require(_0x6722[1]);var util=require(_0x6722[2]);var FaxMessage=require(_0x6722[4])[_0x6722[3]];var Trunk=require(_0x6722[4])[_0x6722[5]];exports[_0x6722[6]]=function(_0x58afx5){FaxMessage[_0x6722[9]](function(_0x58afx6){console[_0x6722[8]](_0x6722[7])})};function onSave(_0x58afx5,_0x58afx6,_0x58afx8){if(_0x58afx6[_0x6722[10]]===_0x6722[11]&&!_0x58afx6[_0x6722[12]]){var _0x58afx9=JSON[_0x6722[14]](_0x58afx6[_0x6722[13]]);console[_0x6722[8]](_0x6722[15],_0x58afx9);Trunk[_0x6722[44]](_0x58afx9[_0x6722[43]][_0x6722[42]])[_0x6722[41]](function(_0x58afxb){var _0x58afxc={Action:_0x6722[18],CallerID:_0x58afx9[_0x6722[19]],Channel:util[_0x6722[24]](_0x6722[20],_0x58afx9[_0x6722[21]],_0x58afx9[_0x6722[22]],_0x58afxb[_0x6722[23]]),Context:_0x6722[25],Exten:_0x6722[26],Priority:1,Async:_0x6722[27],Variable:{MAXRATE:_0x58afx9[_0x6722[28]],MINRATE:_0x58afx9[_0x6722[29]],ECM:_0x58afx9[_0x6722[30]]?_0x6722[31]:_0x6722[32],LOCALID:_0x58afx9[_0x6722[33]],FAXFILE:_0x58afx9[_0x6722[34]],FAXHEADER:_0x58afx9[_0x6722[35]],FAXUUID:_0x58afx9[_0x6722[36]]}};_0x58afx5[_0x6722[40]](_0x58afxc,function(_0x58afxa,_0x58afxd){if(_0x58afxa){_0x58afx6[_0x6722[38]]({status:_0x6722[37]})}else {if(_0x58afxd[_0x6722[39]]&&_0x58afxd[_0x6722[12]]){_0x58afx6[_0x6722[38]]({actionid:_0x58afxd[_0x6722[12]]})}}})})[_0x6722[17]](function(_0x58afxa){console[_0x6722[16]](_0x58afxa)})}} \ No newline at end of file diff --git a/server/api/fax_message/fax_message.controller.js b/server/api/fax_message/fax_message.controller.js index 11be7b5..d507bdb 100644 --- a/server/api/fax_message/fax_message.controller.js +++ b/server/api/fax_message/fax_message.controller.js @@ -1 +1 @@ -var _0x282f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x66\x73","\x70\x61\x74\x68","\x75\x70\x6C\x6F\x61\x64\x2D\x66\x69\x6C\x65","\x6E\x6F\x64\x65\x2D\x75\x75\x69\x64","\x68\x74\x6D\x6C\x2D\x70\x64\x66","\x66\x6F\x72\x6D\x69\x64\x61\x62\x6C\x65","\x65\x78\x65\x63","\x63\x68\x69\x6C\x64\x5F\x70\x72\x6F\x63\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x46\x61\x78\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x46\x61\x78\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x46\x61\x78\x52\x6F\x6F\x6D","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74","\x55\x73\x65\x72","\x69\x6E\x64\x65\x78","\x63\x72\x65\x61\x74\x65\x64\x41\x74\x20\x44\x45\x53\x43","\x77\x68\x65\x72\x65","\x71\x75\x65\x72\x79","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65","\x75\x73\x65\x72","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x55\x73\x65\x72\x49\x64","\x62\x6F\x64\x79","\x74\x65\x78\x74","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x6C\x65\x74\x65","\x54\x52\x41\x53\x48","\x62\x75\x6C\x6B\x55\x70\x64\x61\x74\x65"];_0x282f[0];var _=require(_0x282f[1]);var fs=require(_0x282f[2]);var path=require(_0x282f[3]);var uploadFile=require(_0x282f[4]);var uuidLib=require(_0x282f[5]);var pdf=require(_0x282f[6]);var formidable=require(_0x282f[7]);var exec=require(_0x282f[9])[_0x282f[8]];var config=require(_0x282f[10]);var FaxMessage=require(_0x282f[12])[_0x282f[11]];var FaxAttachment=require(_0x282f[12])[_0x282f[13]];var FaxRoom=require(_0x282f[12])[_0x282f[14]];var FaxAccount=require(_0x282f[12])[_0x282f[15]];var FaxAttachment=require(_0x282f[12])[_0x282f[13]];var User=require(_0x282f[12])[_0x282f[16]];exports[_0x282f[17]]=function(_0xc250xf,_0xc250x10,_0xc250x11){var _0xc250x12={order:_0x282f[18],include:[{all:true,include:[{all:true}]}]};switch(_0xc250xf[_0x282f[24]][_0x282f[23]]){case _0x282f[21]:_0xc250x12[_0x282f[19]]=_0xc250xf[_0x282f[20]];break;case _0x282f[22]:break;default:};return FaxMessage[_0x282f[29]](_0xc250x12)[_0x282f[28]](function(_0xc250x14){return _0xc250x10[_0x282f[27]](200)[_0x282f[26]](_0xc250x14)})[_0x282f[25]](function(_0xc250x13){return handleError(_0xc250x10,_0xc250x13,_0xc250x11)})};exports[_0x282f[30]]=function(_0xc250xf,_0xc250x10,_0xc250x11){return FaxMessage[_0x282f[37]](_0xc250xf[_0x282f[33]][_0x282f[32]],{include:[{model:FaxAttachment},{model:User,attributes:[_0x282f[32],_0x282f[34],_0x282f[35],_0x282f[36]]}]})[_0x282f[28]](function(_0xc250x15){if(!_0xc250x15){return _0xc250x10[_0x282f[31]](404)};return _0xc250x10[_0x282f[26]](_0xc250x15)})[_0x282f[25]](function(_0xc250x13){return handleError(_0xc250x10,_0xc250x13,_0xc250x11)})};exports[_0x282f[38]]=function(_0xc250xf,_0xc250x10,_0xc250x11){_0xc250xf[_0x282f[40]][_0x282f[39]]=_0xc250xf[_0x282f[24]][_0x282f[32]];_0xc250xf[_0x282f[40]][_0x282f[41]]=_0xc250xf[_0x282f[40]][_0x282f[41]];return FaxMessage[_0x282f[38]](_0xc250xf[_0x282f[40]],{include:[{model:FaxAttachment}]})[_0x282f[28]](function(_0xc250x15){return _0xc250x10[_0x282f[27]](201)[_0x282f[26]](_0xc250x15)})[_0x282f[25]](function(_0xc250x13){return handleError(_0xc250x10,_0xc250x13)})};exports[_0x282f[42]]=function(_0xc250xf,_0xc250x10,_0xc250x11){return FaxMessage[_0x282f[37]](_0xc250xf[_0x282f[33]][_0x282f[32]],{include:[{all:true}]})[_0x282f[28]](function(_0xc250x15){if(!_0xc250x15){return _0xc250x10[_0x282f[31]](404)};var _0xc250x16=_[_0x282f[43]](_0xc250x15,_0xc250xf[_0x282f[40]]);return _0xc250x16[_0x282f[44]]()})[_0x282f[28]](function(_0xc250x16){return _0xc250x10[_0x282f[27]](200)[_0x282f[26]](_0xc250x16)})[_0x282f[25]](function(_0xc250x13){return handleError(_0xc250x10,_0xc250x13,_0xc250x11)})};exports[_0x282f[45]]=function(_0xc250xf,_0xc250x10,_0xc250x11){return FaxMessage[_0x282f[37]](_0xc250xf[_0x282f[33]][_0x282f[32]])[_0x282f[28]](function(_0xc250x15){if(!_0xc250x15){return _0xc250x10[_0x282f[31]](404)};return _0xc250x15[_0x282f[45]]()})[_0x282f[28]](function(){return _0xc250x10[_0x282f[31]](204)})[_0x282f[25]](function(_0xc250x13){return handleError(_0xc250x10,_0xc250x13,_0xc250x11)})};exports[_0x282f[46]]=function(_0xc250xf,_0xc250x10,_0xc250x11){return FaxMessage[_0x282f[48]]({where:{id:{$in:_0xc250xf[_0x282f[40]][_0x282f[32]]}},attributes:{directory:_0x282f[47]}})[_0x282f[28]](function(_0xc250x15){if(!_0xc250x15){return _0xc250x10[_0x282f[31]](404)};return _0xc250x15[_0x282f[45]]()})[_0x282f[28]](function(){return _0xc250x10[_0x282f[31]](204)})[_0x282f[25]](function(_0xc250x13){return handleError(_0xc250x10,_0xc250x13,_0xc250x11)})};function handleError(_0xc250x10,_0xc250x13,_0xc250x11){return _0xc250x10[_0x282f[27]](500)[_0x282f[26]](_0xc250x13)} \ No newline at end of file +var _0xec78=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x66\x73","\x70\x61\x74\x68","\x75\x70\x6C\x6F\x61\x64\x2D\x66\x69\x6C\x65","\x6E\x6F\x64\x65\x2D\x75\x75\x69\x64","\x68\x74\x6D\x6C\x2D\x70\x64\x66","\x66\x6F\x72\x6D\x69\x64\x61\x62\x6C\x65","\x65\x78\x65\x63","\x63\x68\x69\x6C\x64\x5F\x70\x72\x6F\x63\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x46\x61\x78\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x46\x61\x78\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x46\x61\x78\x52\x6F\x6F\x6D","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74","\x55\x73\x65\x72","\x69\x6E\x64\x65\x78","\x63\x72\x65\x61\x74\x65\x64\x41\x74\x20\x44\x45\x53\x43","\x77\x68\x65\x72\x65","\x71\x75\x65\x72\x79","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65","\x75\x73\x65\x72","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x55\x73\x65\x72\x49\x64","\x62\x6F\x64\x79","\x74\x65\x78\x74","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x6C\x65\x74\x65","\x54\x52\x41\x53\x48","\x62\x75\x6C\x6B\x55\x70\x64\x61\x74\x65"];_0xec78[0];var _=require(_0xec78[1]);var fs=require(_0xec78[2]);var path=require(_0xec78[3]);var uploadFile=require(_0xec78[4]);var uuidLib=require(_0xec78[5]);var pdf=require(_0xec78[6]);var formidable=require(_0xec78[7]);var exec=require(_0xec78[9])[_0xec78[8]];var config=require(_0xec78[10]);var FaxMessage=require(_0xec78[12])[_0xec78[11]];var FaxAttachment=require(_0xec78[12])[_0xec78[13]];var FaxRoom=require(_0xec78[12])[_0xec78[14]];var FaxAccount=require(_0xec78[12])[_0xec78[15]];var FaxAttachment=require(_0xec78[12])[_0xec78[13]];var User=require(_0xec78[12])[_0xec78[16]];exports[_0xec78[17]]=function(_0xe77bxf,_0xe77bx10,_0xe77bx11){var _0xe77bx12={order:_0xec78[18],include:[{all:true,include:[{all:true}]}]};switch(_0xe77bxf[_0xec78[24]][_0xec78[23]]){case _0xec78[21]:_0xe77bx12[_0xec78[19]]=_0xe77bxf[_0xec78[20]];break;case _0xec78[22]:break;default:};return FaxMessage[_0xec78[29]](_0xe77bx12)[_0xec78[28]](function(_0xe77bx14){return _0xe77bx10[_0xec78[27]](200)[_0xec78[26]](_0xe77bx14)})[_0xec78[25]](function(_0xe77bx13){return handleError(_0xe77bx10,_0xe77bx13,_0xe77bx11)})};exports[_0xec78[30]]=function(_0xe77bxf,_0xe77bx10,_0xe77bx11){return FaxMessage[_0xec78[37]](_0xe77bxf[_0xec78[33]][_0xec78[32]],{include:[{model:FaxAttachment},{model:User,attributes:[_0xec78[32],_0xec78[34],_0xec78[35],_0xec78[36]]}]})[_0xec78[28]](function(_0xe77bx15){if(!_0xe77bx15){return _0xe77bx10[_0xec78[31]](404)};return _0xe77bx10[_0xec78[26]](_0xe77bx15)})[_0xec78[25]](function(_0xe77bx13){return handleError(_0xe77bx10,_0xe77bx13,_0xe77bx11)})};exports[_0xec78[38]]=function(_0xe77bxf,_0xe77bx10,_0xe77bx11){_0xe77bxf[_0xec78[40]][_0xec78[39]]=_0xe77bxf[_0xec78[24]][_0xec78[32]];_0xe77bxf[_0xec78[40]][_0xec78[41]]=_0xe77bxf[_0xec78[40]][_0xec78[41]];return FaxMessage[_0xec78[38]](_0xe77bxf[_0xec78[40]],{include:[{model:FaxAttachment}]})[_0xec78[28]](function(_0xe77bx15){return _0xe77bx10[_0xec78[27]](201)[_0xec78[26]](_0xe77bx15)})[_0xec78[25]](function(_0xe77bx13){return handleError(_0xe77bx10,_0xe77bx13)})};exports[_0xec78[42]]=function(_0xe77bxf,_0xe77bx10,_0xe77bx11){return FaxMessage[_0xec78[37]](_0xe77bxf[_0xec78[33]][_0xec78[32]],{include:[{all:true}]})[_0xec78[28]](function(_0xe77bx15){if(!_0xe77bx15){return _0xe77bx10[_0xec78[31]](404)};var _0xe77bx16=_[_0xec78[43]](_0xe77bx15,_0xe77bxf[_0xec78[40]]);return _0xe77bx16[_0xec78[44]]()})[_0xec78[28]](function(_0xe77bx16){return _0xe77bx10[_0xec78[27]](200)[_0xec78[26]](_0xe77bx16)})[_0xec78[25]](function(_0xe77bx13){return handleError(_0xe77bx10,_0xe77bx13,_0xe77bx11)})};exports[_0xec78[45]]=function(_0xe77bxf,_0xe77bx10,_0xe77bx11){return FaxMessage[_0xec78[37]](_0xe77bxf[_0xec78[33]][_0xec78[32]])[_0xec78[28]](function(_0xe77bx15){if(!_0xe77bx15){return _0xe77bx10[_0xec78[31]](404)};return _0xe77bx15[_0xec78[45]]()})[_0xec78[28]](function(){return _0xe77bx10[_0xec78[31]](204)})[_0xec78[25]](function(_0xe77bx13){return handleError(_0xe77bx10,_0xe77bx13,_0xe77bx11)})};exports[_0xec78[46]]=function(_0xe77bxf,_0xe77bx10,_0xe77bx11){return FaxMessage[_0xec78[48]]({where:{id:{$in:_0xe77bxf[_0xec78[40]][_0xec78[32]]}},attributes:{directory:_0xec78[47]}})[_0xec78[28]](function(_0xe77bx15){if(!_0xe77bx15){return _0xe77bx10[_0xec78[31]](404)};return _0xe77bx15[_0xec78[45]]()})[_0xec78[28]](function(){return _0xe77bx10[_0xec78[31]](204)})[_0xec78[25]](function(_0xe77bx13){return handleError(_0xe77bx10,_0xe77bx13,_0xe77bx11)})};function handleError(_0xe77bx10,_0xe77bx13,_0xe77bx11){return _0xe77bx10[_0xec78[27]](500)[_0xec78[26]](_0xe77bx13)} \ No newline at end of file diff --git a/server/api/fax_message/fax_message.socket.js b/server/api/fax_message/fax_message.socket.js index cc8916f..dba866c 100644 --- a/server/api/fax_message/fax_message.socket.js +++ b/server/api/fax_message/fax_message.socket.js @@ -1 +1 @@ -var _0x2a1d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x46\x61\x78\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x6F\x6E\x74\x61\x63\x74","\x46\x61\x78\x52\x6F\x6F\x6D","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x75\x70\x64\x61\x74\x65","\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x2a1d[0];var FaxMessage=require(_0x2a1d[2])[_0x2a1d[1]];var Contact=require(_0x2a1d[2])[_0x2a1d[3]];var FaxRoom=require(_0x2a1d[2])[_0x2a1d[4]];var FaxAccount=require(_0x2a1d[2])[_0x2a1d[5]];exports[_0x2a1d[6]]=function(_0x508ax5){FaxMessage[_0x2a1d[7]](function(_0x508ax6){onSave(_0x508ax5,_0x508ax6)});FaxMessage[_0x2a1d[8]](function(_0x508ax6){onSave(_0x508ax5,_0x508ax6)});FaxMessage[_0x2a1d[9]](function(_0x508ax6){onRemove(_0x508ax5,_0x508ax6)})};function onSave(_0x508ax5,_0x508ax6,_0x508ax8){_0x508ax5[_0x2a1d[11]](_0x2a1d[10],_0x508ax6)}function onUpdate(_0x508ax5,_0x508ax6,_0x508ax8){_0x508ax5[_0x2a1d[11]](_0x2a1d[12],_0x508ax6)}function onRemove(_0x508ax5,_0x508ax6,_0x508ax8){_0x508ax5[_0x2a1d[11]](_0x2a1d[13],_0x508ax6)} \ No newline at end of file +var _0xbea2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x46\x61\x78\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x6F\x6E\x74\x61\x63\x74","\x46\x61\x78\x52\x6F\x6F\x6D","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x75\x70\x64\x61\x74\x65","\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0xbea2[0];var FaxMessage=require(_0xbea2[2])[_0xbea2[1]];var Contact=require(_0xbea2[2])[_0xbea2[3]];var FaxRoom=require(_0xbea2[2])[_0xbea2[4]];var FaxAccount=require(_0xbea2[2])[_0xbea2[5]];exports[_0xbea2[6]]=function(_0x1513x5){FaxMessage[_0xbea2[7]](function(_0x1513x6){onSave(_0x1513x5,_0x1513x6)});FaxMessage[_0xbea2[8]](function(_0x1513x6){onSave(_0x1513x5,_0x1513x6)});FaxMessage[_0xbea2[9]](function(_0x1513x6){onRemove(_0x1513x5,_0x1513x6)})};function onSave(_0x1513x5,_0x1513x6,_0x1513x8){_0x1513x5[_0xbea2[11]](_0xbea2[10],_0x1513x6)}function onUpdate(_0x1513x5,_0x1513x6,_0x1513x8){_0x1513x5[_0xbea2[11]](_0xbea2[12],_0x1513x6)}function onRemove(_0x1513x5,_0x1513x6,_0x1513x8){_0x1513x5[_0xbea2[11]](_0xbea2[13],_0x1513x6)} \ No newline at end of file diff --git a/server/api/fax_message/index.js b/server/api/fax_message/index.js index 7e3f7c4..e41a8d4 100644 --- a/server/api/fax_message/index.js +++ b/server/api/fax_message/index.js @@ -1 +1 @@ -var _0x4c75=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x46\x61\x78","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x2F\x64\x65\x6C\x65\x74\x65\x2F\x62\x75\x6C\x6B","\x62\x75\x6C\x6B\x44\x65\x6C\x65\x74\x65","\x2F\x64\x65\x6C\x65\x74\x65\x2F\x3A\x69\x64","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x4c75[0];var express=require(_0x4c75[1]);var controller=require(_0x4c75[2]);var auth=require(_0x4c75[3]);var license=require(_0x4c75[4]);var router=express.Router();router[_0x4c75[13]](_0x4c75[5],license[_0x4c75[6]](),license[_0x4c75[7]](),auth[_0x4c75[8]](),auth[_0x4c75[11]]([10],[_0x4c75[9],_0x4c75[10]]),controller[_0x4c75[12]]);router[_0x4c75[13]](_0x4c75[14],license[_0x4c75[6]](),license[_0x4c75[7]](),auth[_0x4c75[8]](),auth[_0x4c75[11]]([10],[_0x4c75[9],_0x4c75[10]]),controller[_0x4c75[15]]);router[_0x4c75[17]](_0x4c75[5],license[_0x4c75[6]](),license[_0x4c75[7]](),auth[_0x4c75[8]](),auth[_0x4c75[11]]([10],[_0x4c75[9],_0x4c75[10]]),controller[_0x4c75[16]]);router[_0x4c75[19]](_0x4c75[5],license[_0x4c75[6]](),license[_0x4c75[7]](),auth[_0x4c75[8]](),auth[_0x4c75[11]]([10],[_0x4c75[9],_0x4c75[10]]),controller[_0x4c75[18]]);router[_0x4c75[19]](_0x4c75[20],license[_0x4c75[6]](),license[_0x4c75[7]](),auth[_0x4c75[8]](),auth[_0x4c75[11]]([10],[_0x4c75[9]]),controller[_0x4c75[21]]);router[_0x4c75[19]](_0x4c75[22],license[_0x4c75[6]](),license[_0x4c75[7]](),auth[_0x4c75[8]](),auth[_0x4c75[11]]([10],[_0x4c75[9]]),controller[_0x4c75[18]]);router[_0x4c75[19]](_0x4c75[14],license[_0x4c75[6]](),license[_0x4c75[7]](),auth[_0x4c75[8]](),auth[_0x4c75[11]]([10],[_0x4c75[9],_0x4c75[10]]),controller[_0x4c75[18]]);router[_0x4c75[24]](_0x4c75[14],license[_0x4c75[6]](),license[_0x4c75[7]](),auth[_0x4c75[8]](),auth[_0x4c75[11]]([10],[_0x4c75[9]]),controller[_0x4c75[23]]);module[_0x4c75[25]]=router \ No newline at end of file +var _0x2a99=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x46\x61\x78","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x2F\x64\x65\x6C\x65\x74\x65\x2F\x62\x75\x6C\x6B","\x62\x75\x6C\x6B\x44\x65\x6C\x65\x74\x65","\x2F\x64\x65\x6C\x65\x74\x65\x2F\x3A\x69\x64","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x2a99[0];var express=require(_0x2a99[1]);var controller=require(_0x2a99[2]);var auth=require(_0x2a99[3]);var license=require(_0x2a99[4]);var router=express.Router();router[_0x2a99[13]](_0x2a99[5],license[_0x2a99[6]](),license[_0x2a99[7]](),auth[_0x2a99[8]](),auth[_0x2a99[11]]([10],[_0x2a99[9],_0x2a99[10]]),controller[_0x2a99[12]]);router[_0x2a99[13]](_0x2a99[14],license[_0x2a99[6]](),license[_0x2a99[7]](),auth[_0x2a99[8]](),auth[_0x2a99[11]]([10],[_0x2a99[9],_0x2a99[10]]),controller[_0x2a99[15]]);router[_0x2a99[17]](_0x2a99[5],license[_0x2a99[6]](),license[_0x2a99[7]](),auth[_0x2a99[8]](),auth[_0x2a99[11]]([10],[_0x2a99[9],_0x2a99[10]]),controller[_0x2a99[16]]);router[_0x2a99[19]](_0x2a99[5],license[_0x2a99[6]](),license[_0x2a99[7]](),auth[_0x2a99[8]](),auth[_0x2a99[11]]([10],[_0x2a99[9],_0x2a99[10]]),controller[_0x2a99[18]]);router[_0x2a99[19]](_0x2a99[20],license[_0x2a99[6]](),license[_0x2a99[7]](),auth[_0x2a99[8]](),auth[_0x2a99[11]]([10],[_0x2a99[9]]),controller[_0x2a99[21]]);router[_0x2a99[19]](_0x2a99[22],license[_0x2a99[6]](),license[_0x2a99[7]](),auth[_0x2a99[8]](),auth[_0x2a99[11]]([10],[_0x2a99[9]]),controller[_0x2a99[18]]);router[_0x2a99[19]](_0x2a99[14],license[_0x2a99[6]](),license[_0x2a99[7]](),auth[_0x2a99[8]](),auth[_0x2a99[11]]([10],[_0x2a99[9],_0x2a99[10]]),controller[_0x2a99[18]]);router[_0x2a99[24]](_0x2a99[14],license[_0x2a99[6]](),license[_0x2a99[7]](),auth[_0x2a99[8]](),auth[_0x2a99[11]]([10],[_0x2a99[9]]),controller[_0x2a99[23]]);module[_0x2a99[25]]=router \ No newline at end of file diff --git a/server/api/fax_queue/fax_queue.controller.js b/server/api/fax_queue/fax_queue.controller.js index 90af93c..1574623 100644 --- a/server/api/fax_queue/fax_queue.controller.js +++ b/server/api/fax_queue/fax_queue.controller.js @@ -1 +1 @@ -var _0x1f48=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x46\x61\x78\x51\x75\x65\x75\x65","\x55\x73\x65\x72\x48\x61\x73\x46\x61\x78\x51\x75\x65\x75\x65","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x46\x61\x78\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x69\x64","\x75\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x72\x6F\x6C\x65","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x70\x61\x72\x61\x6D\x73","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x61\x67\x65\x6E\x74\x73","\x70\x65\x6E\x61\x6C\x74\x79","\x6E\x61\x6D\x65","\x6D\x61\x70","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x6C\x65\x6E\x67\x74\x68","\x61\x67\x65\x6E\x74","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x67\x65\x74\x55\x73\x65\x72\x73","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x72\x65\x6D\x6F\x76\x65\x55\x73\x65\x72\x73","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0x1f48[0];var _=require(_0x1f48[1]);var Util=require(_0x1f48[2]);var User=require(_0x1f48[4])[_0x1f48[3]];var FaxQueue=require(_0x1f48[4])[_0x1f48[5]];var UserHasFaxQueue=require(_0x1f48[4])[_0x1f48[6]];exports[_0x1f48[7]]=function(_0xf711x6,_0xf711x7){switch(_0xf711x6[_0x1f48[15]][_0x1f48[19]]){case _0x1f48[15]:return User[_0x1f48[16]](_0xf711x6[_0x1f48[15]][_0x1f48[14]],{attributes:[_0x1f48[14]]})[_0x1f48[11]](Util[_0x1f48[13]](_0xf711x6[_0x1f48[12]]))[_0x1f48[11]](function(_0xf711x9){_0xf711x7[_0x1f48[10]](200)[_0x1f48[9]](_0xf711x9)})[_0x1f48[8]](function(_0xf711x8){return handleError(_0xf711x7,_0xf711x8)});default:return FaxQueue[_0x1f48[18]](Util[_0x1f48[17]](_0xf711x6[_0x1f48[12]]))[_0x1f48[11]](function(_0xf711x9){_0xf711x7[_0x1f48[10]](200)[_0x1f48[9]](_0xf711x9)})[_0x1f48[8]](function(_0xf711x8){return handleError(_0xf711x7,_0xf711x8)})}};exports[_0x1f48[20]]=function(_0xf711x6,_0xf711x7){return FaxQueue[_0x1f48[16]](_0xf711x6[_0x1f48[22]][_0x1f48[14]])[_0x1f48[11]](function(_0xf711xa){if(!_0xf711xa){return _0xf711x7[_0x1f48[21]](404)};return _0xf711x7[_0x1f48[9]](_0xf711xa)})[_0x1f48[8]](function(_0xf711x8){return handleError(_0xf711x7,_0xf711x8)})};exports[_0x1f48[23]]=function(_0xf711x6,_0xf711x7){return FaxQueue[_0x1f48[23]](_0xf711x6[_0x1f48[24]])[_0x1f48[11]](function(_0xf711xa){return _0xf711x7[_0x1f48[10]](201)[_0x1f48[9]](_0xf711xa)})[_0x1f48[8]](function(_0xf711x8){return handleError(_0xf711x7,_0xf711x8)})};exports[_0x1f48[25]]=function(_0xf711x6,_0xf711x7){if(_0xf711x6[_0x1f48[24]][_0x1f48[14]]){delete _0xf711x6[_0x1f48[24]][_0x1f48[14]]};return FaxQueue[_0x1f48[16]](_0xf711x6[_0x1f48[22]][_0x1f48[14]])[_0x1f48[11]](function(_0xf711xa){if(!_0xf711xa){return _0xf711x7[_0x1f48[21]](404)};var _0xf711xb=_[_0x1f48[26]](_0xf711xa,_0xf711x6[_0x1f48[24]]);return _0xf711xb[_0x1f48[27]]()})[_0x1f48[11]](function(_0xf711xa){return _0xf711x7[_0x1f48[10]](200)[_0x1f48[9]](_0xf711xa)})[_0x1f48[8]](function(_0xf711x8){return handleError(_0xf711x7,_0xf711x8)})};exports[_0x1f48[28]]=function(_0xf711x6,_0xf711x7){return FaxQueue[_0x1f48[16]](_0xf711x6[_0x1f48[22]][_0x1f48[14]])[_0x1f48[11]](function(_0xf711xa){if(!_0xf711xa){return _0xf711x7[_0x1f48[21]](404)};return _0xf711xa[_0x1f48[28]]()})[_0x1f48[11]](function(){return _0xf711x7[_0x1f48[21]](204)})[_0x1f48[8]](function(_0xf711x8){return handleError(_0xf711x7,_0xf711x8)})};exports[_0x1f48[29]]=function(_0xf711x6,_0xf711x7,_0xf711xc){return FaxQueue[_0x1f48[16]](_0xf711x6[_0x1f48[22]][_0x1f48[14]])[_0x1f48[11]](function(_0xf711xd){if(!_0xf711xd){return _0xf711x7[_0x1f48[21]](404)};var _0xf711xe=_[_0x1f48[33]](_0xf711x6[_0x1f48[24]][_0x1f48[30]],function(_0xf711xf){return {UserId:_0xf711xf,penalty:_0xf711x6[_0x1f48[24]][_0x1f48[31]],FaxQueueId:_0xf711xd[_0x1f48[14]],queue:_0xf711xd[_0x1f48[32]]}});return UserHasFaxQueue[_0x1f48[34]](_0xf711xe,{individualHooks:true})})[_0x1f48[11]](function(){return _0xf711x7[_0x1f48[21]](200)})[_0x1f48[8]](function(_0xf711x8){return handleError(_0xf711x7,_0xf711x8)})};exports[_0x1f48[35]]=function(_0xf711x6,_0xf711x7){return FaxQueue[_0x1f48[16]](_0xf711x6[_0x1f48[22]][_0x1f48[14]])[_0x1f48[11]](function(_0xf711x11){if(!_0xf711x11){return _0xf711x7[_0x1f48[21]](404)};return _0xf711x11[_0x1f48[40]]({where:{role:_0x1f48[37]},attributes:[_0x1f48[14],_0x1f48[32],_0x1f48[38],_0x1f48[39]]})})[_0x1f48[11]](function(_0xf711x10){return _0xf711x7[_0x1f48[10]](200)[_0x1f48[9]]({rows:_0xf711x10,count:_0xf711x10[_0x1f48[36]]})})[_0x1f48[8]](function(_0xf711x8){return handleError(_0xf711x7,_0xf711x8)})};exports[_0x1f48[41]]=function(_0xf711x6,_0xf711x7,_0xf711xc){return FaxQueue[_0x1f48[16]](_0xf711x6[_0x1f48[22]][_0x1f48[14]])[_0x1f48[11]](function(_0xf711x11){if(!_0xf711x11){return _0xf711x7[_0x1f48[21]](404)};return _0xf711x11[_0x1f48[42]](_0xf711x6[_0x1f48[12]][_0x1f48[30]],{individualHooks:true})})[_0x1f48[11]](function(){return _0xf711x7[_0x1f48[21]](202)})[_0x1f48[8]](function(_0xf711x8){return _0xf711xc(_0xf711x8)})};exports[_0x1f48[43]]=function(_0xf711x6,_0xf711x7){return FaxQueue[_0x1f48[28]]({where:{id:_0xf711x6[_0x1f48[12]][_0x1f48[44]]},individualHooks:true})[_0x1f48[11]](function(){return _0xf711x7[_0x1f48[21]](204)})[_0x1f48[8]](function(_0xf711x8){return handleError(_0xf711x7,_0xf711x8)})};function handleError(_0xf711x7,_0xf711x8){return _0xf711x7[_0x1f48[10]](500)[_0x1f48[9]](_0xf711x8)} \ No newline at end of file +var _0xa298=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x46\x61\x78\x51\x75\x65\x75\x65","\x55\x73\x65\x72\x48\x61\x73\x46\x61\x78\x51\x75\x65\x75\x65","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x46\x61\x78\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x69\x64","\x75\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x72\x6F\x6C\x65","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x70\x61\x72\x61\x6D\x73","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x61\x67\x65\x6E\x74\x73","\x70\x65\x6E\x61\x6C\x74\x79","\x6E\x61\x6D\x65","\x6D\x61\x70","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x6C\x65\x6E\x67\x74\x68","\x61\x67\x65\x6E\x74","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x67\x65\x74\x55\x73\x65\x72\x73","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x72\x65\x6D\x6F\x76\x65\x55\x73\x65\x72\x73","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0xa298[0];var _=require(_0xa298[1]);var Util=require(_0xa298[2]);var User=require(_0xa298[4])[_0xa298[3]];var FaxQueue=require(_0xa298[4])[_0xa298[5]];var UserHasFaxQueue=require(_0xa298[4])[_0xa298[6]];exports[_0xa298[7]]=function(_0x3af2x6,_0x3af2x7){switch(_0x3af2x6[_0xa298[15]][_0xa298[19]]){case _0xa298[15]:return User[_0xa298[16]](_0x3af2x6[_0xa298[15]][_0xa298[14]],{attributes:[_0xa298[14]]})[_0xa298[11]](Util[_0xa298[13]](_0x3af2x6[_0xa298[12]]))[_0xa298[11]](function(_0x3af2x9){_0x3af2x7[_0xa298[10]](200)[_0xa298[9]](_0x3af2x9)})[_0xa298[8]](function(_0x3af2x8){return handleError(_0x3af2x7,_0x3af2x8)});default:return FaxQueue[_0xa298[18]](Util[_0xa298[17]](_0x3af2x6[_0xa298[12]]))[_0xa298[11]](function(_0x3af2x9){_0x3af2x7[_0xa298[10]](200)[_0xa298[9]](_0x3af2x9)})[_0xa298[8]](function(_0x3af2x8){return handleError(_0x3af2x7,_0x3af2x8)})}};exports[_0xa298[20]]=function(_0x3af2x6,_0x3af2x7){return FaxQueue[_0xa298[16]](_0x3af2x6[_0xa298[22]][_0xa298[14]])[_0xa298[11]](function(_0x3af2xa){if(!_0x3af2xa){return _0x3af2x7[_0xa298[21]](404)};return _0x3af2x7[_0xa298[9]](_0x3af2xa)})[_0xa298[8]](function(_0x3af2x8){return handleError(_0x3af2x7,_0x3af2x8)})};exports[_0xa298[23]]=function(_0x3af2x6,_0x3af2x7){return FaxQueue[_0xa298[23]](_0x3af2x6[_0xa298[24]])[_0xa298[11]](function(_0x3af2xa){return _0x3af2x7[_0xa298[10]](201)[_0xa298[9]](_0x3af2xa)})[_0xa298[8]](function(_0x3af2x8){return handleError(_0x3af2x7,_0x3af2x8)})};exports[_0xa298[25]]=function(_0x3af2x6,_0x3af2x7){if(_0x3af2x6[_0xa298[24]][_0xa298[14]]){delete _0x3af2x6[_0xa298[24]][_0xa298[14]]};return FaxQueue[_0xa298[16]](_0x3af2x6[_0xa298[22]][_0xa298[14]])[_0xa298[11]](function(_0x3af2xa){if(!_0x3af2xa){return _0x3af2x7[_0xa298[21]](404)};var _0x3af2xb=_[_0xa298[26]](_0x3af2xa,_0x3af2x6[_0xa298[24]]);return _0x3af2xb[_0xa298[27]]()})[_0xa298[11]](function(_0x3af2xa){return _0x3af2x7[_0xa298[10]](200)[_0xa298[9]](_0x3af2xa)})[_0xa298[8]](function(_0x3af2x8){return handleError(_0x3af2x7,_0x3af2x8)})};exports[_0xa298[28]]=function(_0x3af2x6,_0x3af2x7){return FaxQueue[_0xa298[16]](_0x3af2x6[_0xa298[22]][_0xa298[14]])[_0xa298[11]](function(_0x3af2xa){if(!_0x3af2xa){return _0x3af2x7[_0xa298[21]](404)};return _0x3af2xa[_0xa298[28]]()})[_0xa298[11]](function(){return _0x3af2x7[_0xa298[21]](204)})[_0xa298[8]](function(_0x3af2x8){return handleError(_0x3af2x7,_0x3af2x8)})};exports[_0xa298[29]]=function(_0x3af2x6,_0x3af2x7,_0x3af2xc){return FaxQueue[_0xa298[16]](_0x3af2x6[_0xa298[22]][_0xa298[14]])[_0xa298[11]](function(_0x3af2xd){if(!_0x3af2xd){return _0x3af2x7[_0xa298[21]](404)};var _0x3af2xe=_[_0xa298[33]](_0x3af2x6[_0xa298[24]][_0xa298[30]],function(_0x3af2xf){return {UserId:_0x3af2xf,penalty:_0x3af2x6[_0xa298[24]][_0xa298[31]],FaxQueueId:_0x3af2xd[_0xa298[14]],queue:_0x3af2xd[_0xa298[32]]}});return UserHasFaxQueue[_0xa298[34]](_0x3af2xe,{individualHooks:true})})[_0xa298[11]](function(){return _0x3af2x7[_0xa298[21]](200)})[_0xa298[8]](function(_0x3af2x8){return handleError(_0x3af2x7,_0x3af2x8)})};exports[_0xa298[35]]=function(_0x3af2x6,_0x3af2x7){return FaxQueue[_0xa298[16]](_0x3af2x6[_0xa298[22]][_0xa298[14]])[_0xa298[11]](function(_0x3af2x11){if(!_0x3af2x11){return _0x3af2x7[_0xa298[21]](404)};return _0x3af2x11[_0xa298[40]]({where:{role:_0xa298[37]},attributes:[_0xa298[14],_0xa298[32],_0xa298[38],_0xa298[39]]})})[_0xa298[11]](function(_0x3af2x10){return _0x3af2x7[_0xa298[10]](200)[_0xa298[9]]({rows:_0x3af2x10,count:_0x3af2x10[_0xa298[36]]})})[_0xa298[8]](function(_0x3af2x8){return handleError(_0x3af2x7,_0x3af2x8)})};exports[_0xa298[41]]=function(_0x3af2x6,_0x3af2x7,_0x3af2xc){return FaxQueue[_0xa298[16]](_0x3af2x6[_0xa298[22]][_0xa298[14]])[_0xa298[11]](function(_0x3af2x11){if(!_0x3af2x11){return _0x3af2x7[_0xa298[21]](404)};return _0x3af2x11[_0xa298[42]](_0x3af2x6[_0xa298[12]][_0xa298[30]],{individualHooks:true})})[_0xa298[11]](function(){return _0x3af2x7[_0xa298[21]](202)})[_0xa298[8]](function(_0x3af2x8){return _0x3af2xc(_0x3af2x8)})};exports[_0xa298[43]]=function(_0x3af2x6,_0x3af2x7){return FaxQueue[_0xa298[28]]({where:{id:_0x3af2x6[_0xa298[12]][_0xa298[44]]},individualHooks:true})[_0xa298[11]](function(){return _0x3af2x7[_0xa298[21]](204)})[_0xa298[8]](function(_0x3af2x8){return handleError(_0x3af2x7,_0x3af2x8)})};function handleError(_0x3af2x7,_0x3af2x8){return _0x3af2x7[_0xa298[10]](500)[_0xa298[9]](_0x3af2x8)} \ No newline at end of file diff --git a/server/api/fax_queue/fax_queue.socket.js b/server/api/fax_queue/fax_queue.socket.js index 497a08f..c6a4629 100644 --- a/server/api/fax_queue/fax_queue.socket.js +++ b/server/api/fax_queue/fax_queue.socket.js @@ -1 +1 @@ -var _0x432a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x46\x61\x78\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x432a[0];var fax_queue=require(_0x432a[2])[_0x432a[1]];exports[_0x432a[3]]=function(_0xb07bx2){fax_queue[_0x432a[4]](function(_0xb07bx3){onSave(_0xb07bx2,_0xb07bx3)});fax_queue[_0x432a[5]](function(_0xb07bx3){onRemove(_0xb07bx2,_0xb07bx3)})};function onSave(_0xb07bx2,_0xb07bx3,_0xb07bx5){_0xb07bx2[_0x432a[7]](_0x432a[6],_0xb07bx3)}function onRemove(_0xb07bx2,_0xb07bx3,_0xb07bx5){_0xb07bx2[_0x432a[7]](_0x432a[8],_0xb07bx3)} \ No newline at end of file +var _0xe22e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x46\x61\x78\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0xe22e[0];var fax_queue=require(_0xe22e[2])[_0xe22e[1]];exports[_0xe22e[3]]=function(_0x1986x2){fax_queue[_0xe22e[4]](function(_0x1986x3){onSave(_0x1986x2,_0x1986x3)});fax_queue[_0xe22e[5]](function(_0x1986x3){onRemove(_0x1986x2,_0x1986x3)})};function onSave(_0x1986x2,_0x1986x3,_0x1986x5){_0x1986x2[_0xe22e[7]](_0xe22e[6],_0x1986x3)}function onRemove(_0x1986x2,_0x1986x3,_0x1986x5){_0x1986x2[_0xe22e[7]](_0xe22e[8],_0x1986x3)} \ No newline at end of file diff --git a/server/api/fax_queue/index.js b/server/api/fax_queue/index.js index 5af2d3d..76be410 100644 --- a/server/api/fax_queue/index.js +++ b/server/api/fax_queue/index.js @@ -1 +1 @@ -var _0x57c8=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x61\x67\x65\x6E\x74\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x65\x78\x70\x6F\x72\x74\x73"];_0x57c8[0];var express=require(_0x57c8[1]);var controller=require(_0x57c8[2]);var auth=require(_0x57c8[3]);var router=express.Router();router[_0x57c8[7]](_0x57c8[4],auth[_0x57c8[5]](),controller[_0x57c8[6]]);router[_0x57c8[7]](_0x57c8[8],auth[_0x57c8[5]](),controller[_0x57c8[9]]);router[_0x57c8[7]](_0x57c8[10],auth[_0x57c8[5]](),controller[_0x57c8[11]]);router[_0x57c8[13]](_0x57c8[4],auth[_0x57c8[5]](),controller[_0x57c8[12]]);router[_0x57c8[13]](_0x57c8[10],auth[_0x57c8[5]](),controller[_0x57c8[14]]);router[_0x57c8[16]](_0x57c8[8],auth[_0x57c8[5]](),controller[_0x57c8[15]]);router[_0x57c8[17]](_0x57c8[8],auth[_0x57c8[5]](),controller[_0x57c8[15]]);router[_0x57c8[19]](_0x57c8[4],auth[_0x57c8[5]](),controller[_0x57c8[18]]);router[_0x57c8[19]](_0x57c8[8],auth[_0x57c8[5]](),controller[_0x57c8[20]]);router[_0x57c8[19]](_0x57c8[10],auth[_0x57c8[5]](),controller[_0x57c8[21]]);module[_0x57c8[22]]=router \ No newline at end of file +var _0x53e0=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x61\x67\x65\x6E\x74\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x65\x78\x70\x6F\x72\x74\x73"];_0x53e0[0];var express=require(_0x53e0[1]);var controller=require(_0x53e0[2]);var auth=require(_0x53e0[3]);var router=express.Router();router[_0x53e0[7]](_0x53e0[4],auth[_0x53e0[5]](),controller[_0x53e0[6]]);router[_0x53e0[7]](_0x53e0[8],auth[_0x53e0[5]](),controller[_0x53e0[9]]);router[_0x53e0[7]](_0x53e0[10],auth[_0x53e0[5]](),controller[_0x53e0[11]]);router[_0x53e0[13]](_0x53e0[4],auth[_0x53e0[5]](),controller[_0x53e0[12]]);router[_0x53e0[13]](_0x53e0[10],auth[_0x53e0[5]](),controller[_0x53e0[14]]);router[_0x53e0[16]](_0x53e0[8],auth[_0x53e0[5]](),controller[_0x53e0[15]]);router[_0x53e0[17]](_0x53e0[8],auth[_0x53e0[5]](),controller[_0x53e0[15]]);router[_0x53e0[19]](_0x53e0[4],auth[_0x53e0[5]](),controller[_0x53e0[18]]);router[_0x53e0[19]](_0x53e0[8],auth[_0x53e0[5]](),controller[_0x53e0[20]]);router[_0x53e0[19]](_0x53e0[10],auth[_0x53e0[5]](),controller[_0x53e0[21]]);module[_0x53e0[22]]=router \ No newline at end of file diff --git a/server/api/fax_room/fax_room.controller.js b/server/api/fax_room/fax_room.controller.js index 125ca01..d1cd62d 100644 --- a/server/api/fax_room/fax_room.controller.js +++ b/server/api/fax_room/fax_room.controller.js @@ -1 +1 @@ -var _0x2132=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x43\x6F\x6E\x74\x61\x63\x74","\x46\x61\x78\x52\x6F\x6F\x6D","\x46\x61\x78\x4D\x65\x73\x73\x61\x67\x65","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74","\x46\x61\x78\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x66\x61\x75\x6C\x74","\x73\x63\x6F\x70\x65","\x69\x6E\x62\x6F\x78","\x65\x72\x72\x6F\x72","\x53\x45\x4C\x45\x43\x54\x20\x60\x46\x61\x78\x52\x6F\x6F\x6D\x60\x2E\x60\x69\x64\x60\x2C\x20\x60\x46\x61\x78\x52\x6F\x6F\x6D\x60\x2E\x60\x66\x72\x6F\x6D\x60\x2C\x20\x60\x46\x61\x78\x52\x6F\x6F\x6D\x60\x2E\x60\x61\x63\x63\x6F\x75\x6E\x74\x60\x2C\x20\x60\x46\x61\x78\x52\x6F\x6F\x6D\x60\x2E\x60\x73\x74\x61\x74\x75\x73\x60\x2C\x20\x60\x46\x61\x78\x52\x6F\x6F\x6D\x60\x2E\x60\x6C\x61\x73\x74\x45\x76\x65\x6E\x74\x60\x2C\x20\x60\x46\x61\x78\x52\x6F\x6F\x6D\x60\x2E\x60\x75\x70\x64\x61\x74\x65\x64\x41\x74\x60\x20\x46\x52\x4F\x4D\x20\x60\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x73\x60\x20\x41\x53\x20\x60\x46\x61\x78\x52\x6F\x6F\x6D\x60\x20\x4C\x45\x46\x54\x20\x4F\x55\x54\x45\x52\x20\x4A\x4F\x49\x4E\x20\x28\x60\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x73\x60\x20\x41\x53\x20\x60\x55\x73\x65\x72\x73\x2E\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x73\x60\x20\x49\x4E\x4E\x45\x52\x20\x4A\x4F\x49\x4E\x20\x60\x75\x73\x65\x72\x73\x60\x20\x41\x53\x20\x60\x55\x73\x65\x72\x73\x60\x20\x4F\x4E\x20\x60\x55\x73\x65\x72\x73\x60\x2E\x60\x69\x64\x60\x20\x3D\x20\x60\x55\x73\x65\x72\x73\x2E\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x73\x60\x2E\x60\x55\x73\x65\x72\x49\x64\x60\x29\x20\x4F\x4E\x20\x60\x46\x61\x78\x52\x6F\x6F\x6D\x60\x2E\x60\x69\x64\x60\x20\x3D\x20\x60\x55\x73\x65\x72\x73\x2E\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x73\x60\x2E\x60\x46\x61\x78\x52\x6F\x6F\x6D\x49\x64\x60\x20\x57\x48\x45\x52\x45\x20\x28\x60\x46\x61\x78\x52\x6F\x6F\x6D\x60\x2E\x60\x64\x65\x6C\x65\x74\x65\x64\x41\x74\x60\x20\x49\x53\x20\x4E\x55\x4C\x4C\x20\x41\x4E\x44\x20\x28\x60\x46\x61\x78\x52\x6F\x6F\x6D\x60\x2E\x60\x73\x74\x61\x74\x75\x73\x60\x20\x3D\x20\x3A\x73\x74\x61\x74\x75\x73\x20\x4F\x52\x20\x60\x55\x73\x65\x72\x73\x60\x2E\x60\x69\x64\x60\x20\x3D\x20\x3A\x69\x64\x29\x29","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x69\x64","\x75\x73\x65\x72","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\x61\x67\x65\x6E\x74","\x53\x45\x4C\x45\x43\x54\x20\x60\x69\x64\x60\x2C\x20\x60\x66\x72\x6F\x6D\x60\x2C\x20\x60\x61\x63\x63\x6F\x75\x6E\x74\x60\x2C\x20\x60\x73\x74\x61\x74\x75\x73\x60\x2C\x20\x60\x6C\x61\x73\x74\x45\x76\x65\x6E\x74\x60\x20\x2C\x60\x75\x70\x64\x61\x74\x65\x64\x41\x74\x60\x20\x46\x52\x4F\x4D\x20\x60\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x73\x60\x20\x57\x48\x45\x52\x45\x20\x60\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x73\x60\x2E\x60\x64\x65\x6C\x65\x74\x65\x64\x41\x74\x60\x20\x49\x53\x20\x4E\x55\x4C\x4C","\x72\x6F\x6C\x65","\x61\x67\x65\x6E\x74\x49\x6E\x64\x65\x78","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x41\x6C\x6C","\x6F\x70\x65\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x61\x64\x64\x55\x73\x65\x72","\x4F\x50\x45\x4E","\x75\x70\x64\x61\x74\x65","\x66\x69\x6E\x64\x42\x79\x49\x64","\x73\x68\x6F\x77","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x67\x65\x74\x55\x73\x65\x72\x73","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x63\x72\x65\x61\x74\x65\x4D\x65\x73\x73\x61\x67\x65","\x55\x73\x65\x72\x49\x64","\x46\x61\x78\x52\x6F\x6F\x6D\x49\x64","\x74\x65\x78\x74","\x6A\x6F\x62\x49\x64","\x46\x61\x78\x20\x61\x6C\x72\x65\x61\x64\x79\x20\x61\x73\x73\x69\x67\x6E\x65\x64","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x75\x70\x64\x61\x74\x65\x41\x67\x65\x6E\x74\x73","\x61\x67\x65\x6E\x74\x73","\x73\x65\x74\x55\x73\x65\x72\x73","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x75\x70\x64\x61\x74\x65\x50\x61\x74\x63\x68","\x74\x61\x67\x73","\x2C","\x73\x70\x6C\x69\x74"];_0x2132[0];var _=require(_0x2132[1]);var util=require(_0x2132[2]);var Util=require(_0x2132[3]);var sequelize=require(_0x2132[5])[_0x2132[4]];var User=require(_0x2132[5])[_0x2132[6]];var Agent=require(_0x2132[5])[_0x2132[6]];var Contact=require(_0x2132[5])[_0x2132[7]];var FaxRoom=require(_0x2132[5])[_0x2132[8]];var FaxMessage=require(_0x2132[5])[_0x2132[9]];var FaxAccount=require(_0x2132[5])[_0x2132[10]];var FaxAttachment=require(_0x2132[5])[_0x2132[11]];exports[_0x2132[12]]=function(_0xbc0bxc,_0xbc0bxd,_0xbc0bxe){return FaxRoom[_0x2132[21]](_0x2132[20])[_0x2132[19]](Util[_0x2132[18]](_0xbc0bxc[_0x2132[17]]))[_0x2132[16]](function(_0xbc0bx10){return _0xbc0bxd[_0x2132[15]](200)[_0x2132[14]](_0xbc0bx10)})[_0x2132[13]](function(_0xbc0bxf){return handleError(_0xbc0bxd,_0xbc0bxf)})};exports[_0x2132[22]]=function(_0xbc0bxc,_0xbc0bxd,_0xbc0bxe){switch(_0xbc0bxc[_0x2132[27]][_0x2132[32]]){case _0x2132[30]:return sequelize[_0x2132[17]](_0x2132[24],{replacements:{status:_0x2132[25],id:_0xbc0bxc[_0x2132[27]][_0x2132[26]]},type:sequelize[_0x2132[29]][_0x2132[28]]})[_0x2132[16]](function(_0xbc0bx10){return _0xbc0bxd[_0x2132[15]](200)[_0x2132[14]](_0xbc0bx10)})[_0x2132[13]](function(_0xbc0bxf){console[_0x2132[23]](_0xbc0bxf);return handleError(_0xbc0bxd,_0xbc0bxf)});default:return sequelize[_0x2132[17]](_0x2132[31],{replacements:{status:_0x2132[25],id:_0xbc0bxc[_0x2132[27]][_0x2132[26]]},type:sequelize[_0x2132[29]][_0x2132[28]]})[_0x2132[16]](function(_0xbc0bx10){return _0xbc0bxd[_0x2132[15]](200)[_0x2132[14]](_0xbc0bx10)})[_0x2132[13]](function(_0xbc0bxf){return handleError(_0xbc0bxd,_0xbc0bxf)})}};exports[_0x2132[33]]=function(_0xbc0bxc,_0xbc0bxd,_0xbc0bxe){return FaxRoom[_0x2132[35]]({where:{UserId:_0xbc0bxc[_0x2132[34]][_0x2132[26]]},include:[{all:true}]})[_0x2132[16]](function(_0xbc0bx11){return _0xbc0bxd[_0x2132[15]](200)[_0x2132[14]](_0xbc0bx11)})[_0x2132[13]](function(_0xbc0bxf){return handleError(_0xbc0bxd,_0xbc0bxf)})};exports[_0x2132[36]]=function(_0xbc0bxc,_0xbc0bxd,_0xbc0bxe){var _0xbc0bx12;if(_0xbc0bxc[_0x2132[27]][_0x2132[32]]===_0x2132[30]){return FaxRoom[_0x2132[41]](_0xbc0bxc[_0x2132[34]][_0x2132[26]])[_0x2132[16]](function(_0xbc0bx13){_0xbc0bx12=_0xbc0bx13;if(!_0xbc0bx12){return _0xbc0bxd[_0x2132[37]](404)};return _0xbc0bx12[_0x2132[40]]({status:_0x2132[39]},{userId:_0xbc0bxc[_0x2132[27]][_0x2132[26]]})})[_0x2132[16]](function(){return _0xbc0bx12[_0x2132[38]](_0xbc0bxc[_0x2132[27]][_0x2132[26]])})[_0x2132[16]](function(){return _0xbc0bxd[_0x2132[37]](200)})[_0x2132[13]](function(_0xbc0bxf){return handleError(_0xbc0bxd,_0xbc0bxf)})}};exports[_0x2132[42]]=function(_0xbc0bxc,_0xbc0bxd,_0xbc0bxe){return FaxRoom[_0x2132[21]](_0x2132[20])[_0x2132[41]](_0xbc0bxc[_0x2132[34]][_0x2132[26]])[_0x2132[16]](function(_0xbc0bx13){if(!_0xbc0bx13){return _0xbc0bxd[_0x2132[37]](404)};return _0xbc0bxd[_0x2132[14]](_0xbc0bx13)})[_0x2132[13]](function(_0xbc0bxf){console[_0x2132[23]](_0xbc0bxf);return handleError(_0xbc0bxd,_0xbc0bxf)})};exports[_0x2132[43]]=function(_0xbc0bxc,_0xbc0bxd,_0xbc0bxe){return FaxRoom[_0x2132[41]](_0xbc0bxc[_0x2132[34]][_0x2132[26]])[_0x2132[16]](function(_0xbc0bx13){if(!_0xbc0bx13){return _0xbc0bxd[_0x2132[37]](404)};return _0xbc0bx13[_0x2132[48]]({attributes:[_0x2132[26],_0x2132[44],_0x2132[45],_0x2132[46],_0x2132[32],_0x2132[47]]})})[_0x2132[16]](function(_0xbc0bx14){return _0xbc0bxd[_0x2132[14]](_0xbc0bx14)})[_0x2132[13]](function(_0xbc0bxf){return handleError(_0xbc0bxd,_0xbc0bxf)})};exports[_0x2132[49]]=function(_0xbc0bxc,_0xbc0bxd,_0xbc0bxe){return FaxRoom[_0x2132[49]](_0xbc0bxc[_0x2132[50]])[_0x2132[16]](function(_0xbc0bx13){return _0xbc0bxd[_0x2132[15]](201)[_0x2132[14]](_0xbc0bx13)})[_0x2132[13]](function(_0xbc0bxf){return handleError(_0xbc0bxd,_0xbc0bxf)})};exports[_0x2132[51]]=function(_0xbc0bxc,_0xbc0bxd,_0xbc0bxe){_0xbc0bxc[_0x2132[50]][_0x2132[52]]=_0xbc0bxc[_0x2132[27]][_0x2132[26]];_0xbc0bxc[_0x2132[50]][_0x2132[53]]=_0xbc0bxc[_0x2132[34]][_0x2132[26]];_0xbc0bxc[_0x2132[50]][_0x2132[54]]=_0xbc0bxc[_0x2132[50]][_0x2132[54]];return FaxMessage[_0x2132[49]](_0xbc0bxc[_0x2132[50]],{include:[{model:FaxAttachment}],user:_0xbc0bxc[_0x2132[27]]})[_0x2132[16]](function(_0xbc0bx15){return _0xbc0bxd[_0x2132[15]](201)[_0x2132[14]](_0xbc0bx15)})[_0x2132[13]](function(_0xbc0bxf){return handleError(_0xbc0bxd,_0xbc0bxf)})};exports[_0x2132[40]]=function(_0xbc0bxc,_0xbc0bxd,_0xbc0bxe){return FaxRoom[_0x2132[41]](_0xbc0bxc[_0x2132[34]][_0x2132[26]])[_0x2132[16]](function(_0xbc0bx13){if(!_0xbc0bx13){return _0xbc0bxd[_0x2132[37]](404)};if(_0xbc0bx13[_0x2132[55]]){throw new Error(_0x2132[56])};var _0xbc0bx16=_[_0x2132[57]](_0xbc0bx13,_0xbc0bxc[_0x2132[50]]);return _0xbc0bx16[_0x2132[58]]()})[_0x2132[16]](function(_0xbc0bx13){return _0xbc0bxd[_0x2132[15]](200)[_0x2132[14]](_0xbc0bx13)})[_0x2132[13]](function(_0xbc0bxf){return handleError(_0xbc0bxd,_0xbc0bxf)})};exports[_0x2132[59]]=function(_0xbc0bxc,_0xbc0bxd,_0xbc0bxe){return FaxRoom[_0x2132[41]](_0xbc0bxc[_0x2132[34]][_0x2132[26]])[_0x2132[16]](function(_0xbc0bx13){if(!_0xbc0bx13){return _0xbc0bxd[_0x2132[37]](404)};return _0xbc0bx13[_0x2132[61]](_0xbc0bxc[_0x2132[50]][_0x2132[60]],{individualHooks:true})})[_0x2132[16]](function(){return _0xbc0bxd[_0x2132[37]](200)})[_0x2132[13]](function(_0xbc0bxf){return handleError(_0xbc0bxd,_0xbc0bxf)})};exports[_0x2132[62]]=function(_0xbc0bxc,_0xbc0bxd,_0xbc0bxe){return FaxRoom[_0x2132[41]](_0xbc0bxc[_0x2132[34]][_0x2132[26]])[_0x2132[16]](function(_0xbc0bx13){if(!_0xbc0bx13){return _0xbc0bxd[_0x2132[37]](404)};return _0xbc0bx13[_0x2132[62]]()})[_0x2132[16]](function(){return _0xbc0bxd[_0x2132[37]](204)})[_0x2132[13]](function(_0xbc0bxf){return handleError(_0xbc0bxd,_0xbc0bxf)})};exports[_0x2132[63]]=function(_0xbc0bxc,_0xbc0bxd){return FaxRoom[_0x2132[62]]({where:{id:_0xbc0bxc[_0x2132[17]][_0x2132[64]]},individualHooks:true})[_0x2132[16]](function(){return _0xbc0bxd[_0x2132[37]](200)})[_0x2132[13]](function(_0xbc0bxf){return handleError(_0xbc0bxd,_0xbc0bxf)})};function handleError(_0xbc0bxd,_0xbc0bxf){return _0xbc0bxd[_0x2132[15]](500)[_0x2132[14]](_0xbc0bxf)}exports[_0x2132[65]]=function(_0xbc0bxc,_0xbc0bxd,_0xbc0bxe){var _0xbc0bx18={tags:_0xbc0bxc[_0x2132[50]][_0x2132[66]]};var _0xbc0bx19={where:{id:_0xbc0bxc[_0x2132[34]][_0x2132[26]][_0x2132[68]](_0x2132[67])}};return FaxRoom[_0x2132[40]](_0xbc0bx18,_0xbc0bx19)[_0x2132[16]](function(_0xbc0bx11){if(!_0xbc0bx11){return _0xbc0bxd[_0x2132[37]](404)};return _0xbc0bx11})[_0x2132[16]](function(_0xbc0bx11){return _0xbc0bxd[_0x2132[37]](200)})[_0x2132[13]](function(_0xbc0bxf){return handleError(_0xbc0bxd,_0xbc0bxf)})} \ No newline at end of file +var _0x924b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x43\x6F\x6E\x74\x61\x63\x74","\x46\x61\x78\x52\x6F\x6F\x6D","\x46\x61\x78\x4D\x65\x73\x73\x61\x67\x65","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74","\x46\x61\x78\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x66\x61\x75\x6C\x74","\x73\x63\x6F\x70\x65","\x69\x6E\x62\x6F\x78","\x65\x72\x72\x6F\x72","\x53\x45\x4C\x45\x43\x54\x20\x60\x46\x61\x78\x52\x6F\x6F\x6D\x60\x2E\x60\x69\x64\x60\x2C\x20\x60\x46\x61\x78\x52\x6F\x6F\x6D\x60\x2E\x60\x66\x72\x6F\x6D\x60\x2C\x20\x60\x46\x61\x78\x52\x6F\x6F\x6D\x60\x2E\x60\x61\x63\x63\x6F\x75\x6E\x74\x60\x2C\x20\x60\x46\x61\x78\x52\x6F\x6F\x6D\x60\x2E\x60\x73\x74\x61\x74\x75\x73\x60\x2C\x20\x60\x46\x61\x78\x52\x6F\x6F\x6D\x60\x2E\x60\x6C\x61\x73\x74\x45\x76\x65\x6E\x74\x60\x2C\x20\x60\x46\x61\x78\x52\x6F\x6F\x6D\x60\x2E\x60\x75\x70\x64\x61\x74\x65\x64\x41\x74\x60\x20\x46\x52\x4F\x4D\x20\x60\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x73\x60\x20\x41\x53\x20\x60\x46\x61\x78\x52\x6F\x6F\x6D\x60\x20\x4C\x45\x46\x54\x20\x4F\x55\x54\x45\x52\x20\x4A\x4F\x49\x4E\x20\x28\x60\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x73\x60\x20\x41\x53\x20\x60\x55\x73\x65\x72\x73\x2E\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x73\x60\x20\x49\x4E\x4E\x45\x52\x20\x4A\x4F\x49\x4E\x20\x60\x75\x73\x65\x72\x73\x60\x20\x41\x53\x20\x60\x55\x73\x65\x72\x73\x60\x20\x4F\x4E\x20\x60\x55\x73\x65\x72\x73\x60\x2E\x60\x69\x64\x60\x20\x3D\x20\x60\x55\x73\x65\x72\x73\x2E\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x73\x60\x2E\x60\x55\x73\x65\x72\x49\x64\x60\x29\x20\x4F\x4E\x20\x60\x46\x61\x78\x52\x6F\x6F\x6D\x60\x2E\x60\x69\x64\x60\x20\x3D\x20\x60\x55\x73\x65\x72\x73\x2E\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x73\x60\x2E\x60\x46\x61\x78\x52\x6F\x6F\x6D\x49\x64\x60\x20\x57\x48\x45\x52\x45\x20\x28\x60\x46\x61\x78\x52\x6F\x6F\x6D\x60\x2E\x60\x64\x65\x6C\x65\x74\x65\x64\x41\x74\x60\x20\x49\x53\x20\x4E\x55\x4C\x4C\x20\x41\x4E\x44\x20\x28\x60\x46\x61\x78\x52\x6F\x6F\x6D\x60\x2E\x60\x73\x74\x61\x74\x75\x73\x60\x20\x3D\x20\x3A\x73\x74\x61\x74\x75\x73\x20\x4F\x52\x20\x60\x55\x73\x65\x72\x73\x60\x2E\x60\x69\x64\x60\x20\x3D\x20\x3A\x69\x64\x29\x29","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x69\x64","\x75\x73\x65\x72","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\x61\x67\x65\x6E\x74","\x53\x45\x4C\x45\x43\x54\x20\x60\x69\x64\x60\x2C\x20\x60\x66\x72\x6F\x6D\x60\x2C\x20\x60\x61\x63\x63\x6F\x75\x6E\x74\x60\x2C\x20\x60\x73\x74\x61\x74\x75\x73\x60\x2C\x20\x60\x6C\x61\x73\x74\x45\x76\x65\x6E\x74\x60\x20\x2C\x60\x75\x70\x64\x61\x74\x65\x64\x41\x74\x60\x20\x46\x52\x4F\x4D\x20\x60\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x73\x60\x20\x57\x48\x45\x52\x45\x20\x60\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x73\x60\x2E\x60\x64\x65\x6C\x65\x74\x65\x64\x41\x74\x60\x20\x49\x53\x20\x4E\x55\x4C\x4C","\x72\x6F\x6C\x65","\x61\x67\x65\x6E\x74\x49\x6E\x64\x65\x78","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x41\x6C\x6C","\x6F\x70\x65\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x61\x64\x64\x55\x73\x65\x72","\x4F\x50\x45\x4E","\x75\x70\x64\x61\x74\x65","\x66\x69\x6E\x64\x42\x79\x49\x64","\x73\x68\x6F\x77","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x67\x65\x74\x55\x73\x65\x72\x73","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x63\x72\x65\x61\x74\x65\x4D\x65\x73\x73\x61\x67\x65","\x55\x73\x65\x72\x49\x64","\x46\x61\x78\x52\x6F\x6F\x6D\x49\x64","\x74\x65\x78\x74","\x6A\x6F\x62\x49\x64","\x46\x61\x78\x20\x61\x6C\x72\x65\x61\x64\x79\x20\x61\x73\x73\x69\x67\x6E\x65\x64","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x75\x70\x64\x61\x74\x65\x41\x67\x65\x6E\x74\x73","\x61\x67\x65\x6E\x74\x73","\x73\x65\x74\x55\x73\x65\x72\x73","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x75\x70\x64\x61\x74\x65\x50\x61\x74\x63\x68","\x74\x61\x67\x73","\x2C","\x73\x70\x6C\x69\x74"];_0x924b[0];var _=require(_0x924b[1]);var util=require(_0x924b[2]);var Util=require(_0x924b[3]);var sequelize=require(_0x924b[5])[_0x924b[4]];var User=require(_0x924b[5])[_0x924b[6]];var Agent=require(_0x924b[5])[_0x924b[6]];var Contact=require(_0x924b[5])[_0x924b[7]];var FaxRoom=require(_0x924b[5])[_0x924b[8]];var FaxMessage=require(_0x924b[5])[_0x924b[9]];var FaxAccount=require(_0x924b[5])[_0x924b[10]];var FaxAttachment=require(_0x924b[5])[_0x924b[11]];exports[_0x924b[12]]=function(_0xf9d4xc,_0xf9d4xd,_0xf9d4xe){return FaxRoom[_0x924b[21]](_0x924b[20])[_0x924b[19]](Util[_0x924b[18]](_0xf9d4xc[_0x924b[17]]))[_0x924b[16]](function(_0xf9d4x10){return _0xf9d4xd[_0x924b[15]](200)[_0x924b[14]](_0xf9d4x10)})[_0x924b[13]](function(_0xf9d4xf){return handleError(_0xf9d4xd,_0xf9d4xf)})};exports[_0x924b[22]]=function(_0xf9d4xc,_0xf9d4xd,_0xf9d4xe){switch(_0xf9d4xc[_0x924b[27]][_0x924b[32]]){case _0x924b[30]:return sequelize[_0x924b[17]](_0x924b[24],{replacements:{status:_0x924b[25],id:_0xf9d4xc[_0x924b[27]][_0x924b[26]]},type:sequelize[_0x924b[29]][_0x924b[28]]})[_0x924b[16]](function(_0xf9d4x10){return _0xf9d4xd[_0x924b[15]](200)[_0x924b[14]](_0xf9d4x10)})[_0x924b[13]](function(_0xf9d4xf){console[_0x924b[23]](_0xf9d4xf);return handleError(_0xf9d4xd,_0xf9d4xf)});default:return sequelize[_0x924b[17]](_0x924b[31],{replacements:{status:_0x924b[25],id:_0xf9d4xc[_0x924b[27]][_0x924b[26]]},type:sequelize[_0x924b[29]][_0x924b[28]]})[_0x924b[16]](function(_0xf9d4x10){return _0xf9d4xd[_0x924b[15]](200)[_0x924b[14]](_0xf9d4x10)})[_0x924b[13]](function(_0xf9d4xf){return handleError(_0xf9d4xd,_0xf9d4xf)})}};exports[_0x924b[33]]=function(_0xf9d4xc,_0xf9d4xd,_0xf9d4xe){return FaxRoom[_0x924b[35]]({where:{UserId:_0xf9d4xc[_0x924b[34]][_0x924b[26]]},include:[{all:true}]})[_0x924b[16]](function(_0xf9d4x11){return _0xf9d4xd[_0x924b[15]](200)[_0x924b[14]](_0xf9d4x11)})[_0x924b[13]](function(_0xf9d4xf){return handleError(_0xf9d4xd,_0xf9d4xf)})};exports[_0x924b[36]]=function(_0xf9d4xc,_0xf9d4xd,_0xf9d4xe){var _0xf9d4x12;if(_0xf9d4xc[_0x924b[27]][_0x924b[32]]===_0x924b[30]){return FaxRoom[_0x924b[41]](_0xf9d4xc[_0x924b[34]][_0x924b[26]])[_0x924b[16]](function(_0xf9d4x13){_0xf9d4x12=_0xf9d4x13;if(!_0xf9d4x12){return _0xf9d4xd[_0x924b[37]](404)};return _0xf9d4x12[_0x924b[40]]({status:_0x924b[39]},{userId:_0xf9d4xc[_0x924b[27]][_0x924b[26]]})})[_0x924b[16]](function(){return _0xf9d4x12[_0x924b[38]](_0xf9d4xc[_0x924b[27]][_0x924b[26]])})[_0x924b[16]](function(){return _0xf9d4xd[_0x924b[37]](200)})[_0x924b[13]](function(_0xf9d4xf){return handleError(_0xf9d4xd,_0xf9d4xf)})}};exports[_0x924b[42]]=function(_0xf9d4xc,_0xf9d4xd,_0xf9d4xe){return FaxRoom[_0x924b[21]](_0x924b[20])[_0x924b[41]](_0xf9d4xc[_0x924b[34]][_0x924b[26]])[_0x924b[16]](function(_0xf9d4x13){if(!_0xf9d4x13){return _0xf9d4xd[_0x924b[37]](404)};return _0xf9d4xd[_0x924b[14]](_0xf9d4x13)})[_0x924b[13]](function(_0xf9d4xf){console[_0x924b[23]](_0xf9d4xf);return handleError(_0xf9d4xd,_0xf9d4xf)})};exports[_0x924b[43]]=function(_0xf9d4xc,_0xf9d4xd,_0xf9d4xe){return FaxRoom[_0x924b[41]](_0xf9d4xc[_0x924b[34]][_0x924b[26]])[_0x924b[16]](function(_0xf9d4x13){if(!_0xf9d4x13){return _0xf9d4xd[_0x924b[37]](404)};return _0xf9d4x13[_0x924b[48]]({attributes:[_0x924b[26],_0x924b[44],_0x924b[45],_0x924b[46],_0x924b[32],_0x924b[47]]})})[_0x924b[16]](function(_0xf9d4x14){return _0xf9d4xd[_0x924b[14]](_0xf9d4x14)})[_0x924b[13]](function(_0xf9d4xf){return handleError(_0xf9d4xd,_0xf9d4xf)})};exports[_0x924b[49]]=function(_0xf9d4xc,_0xf9d4xd,_0xf9d4xe){return FaxRoom[_0x924b[49]](_0xf9d4xc[_0x924b[50]])[_0x924b[16]](function(_0xf9d4x13){return _0xf9d4xd[_0x924b[15]](201)[_0x924b[14]](_0xf9d4x13)})[_0x924b[13]](function(_0xf9d4xf){return handleError(_0xf9d4xd,_0xf9d4xf)})};exports[_0x924b[51]]=function(_0xf9d4xc,_0xf9d4xd,_0xf9d4xe){_0xf9d4xc[_0x924b[50]][_0x924b[52]]=_0xf9d4xc[_0x924b[27]][_0x924b[26]];_0xf9d4xc[_0x924b[50]][_0x924b[53]]=_0xf9d4xc[_0x924b[34]][_0x924b[26]];_0xf9d4xc[_0x924b[50]][_0x924b[54]]=_0xf9d4xc[_0x924b[50]][_0x924b[54]];return FaxMessage[_0x924b[49]](_0xf9d4xc[_0x924b[50]],{include:[{model:FaxAttachment}],user:_0xf9d4xc[_0x924b[27]]})[_0x924b[16]](function(_0xf9d4x15){return _0xf9d4xd[_0x924b[15]](201)[_0x924b[14]](_0xf9d4x15)})[_0x924b[13]](function(_0xf9d4xf){return handleError(_0xf9d4xd,_0xf9d4xf)})};exports[_0x924b[40]]=function(_0xf9d4xc,_0xf9d4xd,_0xf9d4xe){return FaxRoom[_0x924b[41]](_0xf9d4xc[_0x924b[34]][_0x924b[26]])[_0x924b[16]](function(_0xf9d4x13){if(!_0xf9d4x13){return _0xf9d4xd[_0x924b[37]](404)};if(_0xf9d4x13[_0x924b[55]]){throw new Error(_0x924b[56])};var _0xf9d4x16=_[_0x924b[57]](_0xf9d4x13,_0xf9d4xc[_0x924b[50]]);return _0xf9d4x16[_0x924b[58]]()})[_0x924b[16]](function(_0xf9d4x13){return _0xf9d4xd[_0x924b[15]](200)[_0x924b[14]](_0xf9d4x13)})[_0x924b[13]](function(_0xf9d4xf){return handleError(_0xf9d4xd,_0xf9d4xf)})};exports[_0x924b[59]]=function(_0xf9d4xc,_0xf9d4xd,_0xf9d4xe){return FaxRoom[_0x924b[41]](_0xf9d4xc[_0x924b[34]][_0x924b[26]])[_0x924b[16]](function(_0xf9d4x13){if(!_0xf9d4x13){return _0xf9d4xd[_0x924b[37]](404)};return _0xf9d4x13[_0x924b[61]](_0xf9d4xc[_0x924b[50]][_0x924b[60]],{individualHooks:true})})[_0x924b[16]](function(){return _0xf9d4xd[_0x924b[37]](200)})[_0x924b[13]](function(_0xf9d4xf){return handleError(_0xf9d4xd,_0xf9d4xf)})};exports[_0x924b[62]]=function(_0xf9d4xc,_0xf9d4xd,_0xf9d4xe){return FaxRoom[_0x924b[41]](_0xf9d4xc[_0x924b[34]][_0x924b[26]])[_0x924b[16]](function(_0xf9d4x13){if(!_0xf9d4x13){return _0xf9d4xd[_0x924b[37]](404)};return _0xf9d4x13[_0x924b[62]]()})[_0x924b[16]](function(){return _0xf9d4xd[_0x924b[37]](204)})[_0x924b[13]](function(_0xf9d4xf){return handleError(_0xf9d4xd,_0xf9d4xf)})};exports[_0x924b[63]]=function(_0xf9d4xc,_0xf9d4xd){return FaxRoom[_0x924b[62]]({where:{id:_0xf9d4xc[_0x924b[17]][_0x924b[64]]},individualHooks:true})[_0x924b[16]](function(){return _0xf9d4xd[_0x924b[37]](200)})[_0x924b[13]](function(_0xf9d4xf){return handleError(_0xf9d4xd,_0xf9d4xf)})};function handleError(_0xf9d4xd,_0xf9d4xf){return _0xf9d4xd[_0x924b[15]](500)[_0x924b[14]](_0xf9d4xf)}exports[_0x924b[65]]=function(_0xf9d4xc,_0xf9d4xd,_0xf9d4xe){var _0xf9d4x18={tags:_0xf9d4xc[_0x924b[50]][_0x924b[66]]};var _0xf9d4x19={where:{id:_0xf9d4xc[_0x924b[34]][_0x924b[26]][_0x924b[68]](_0x924b[67])}};return FaxRoom[_0x924b[40]](_0xf9d4x18,_0xf9d4x19)[_0x924b[16]](function(_0xf9d4x11){if(!_0xf9d4x11){return _0xf9d4xd[_0x924b[37]](404)};return _0xf9d4x11})[_0x924b[16]](function(_0xf9d4x11){return _0xf9d4xd[_0x924b[37]](200)})[_0x924b[13]](function(_0xf9d4xf){return handleError(_0xf9d4xd,_0xf9d4xf)})} \ No newline at end of file diff --git a/server/api/fax_room/fax_room.socket.js b/server/api/fax_room/fax_room.socket.js index c55f2b3..904b84c 100644 --- a/server/api/fax_room/fax_room.socket.js +++ b/server/api/fax_room/fax_room.socket.js @@ -1 +1 @@ -var _0x44c4=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x46\x61\x78\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x72\x6F\x6C\x65","\x61\x67\x65\x6E\x74","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x75\x73\x65\x72\x49\x64","\x4F\x50\x45\x4E","\x73\x74\x61\x74\x75\x73","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x63\x68\x61\x6E\x67\x65\x64","\x4E\x45\x57","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x43\x4C\x4F\x53\x45\x44","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x3A\x72\x65\x6D\x6F\x76\x65"];_0x44c4[0];var FaxRoom=require(_0x44c4[2])[_0x44c4[1]];exports[_0x44c4[3]]=function(_0x4f64x2){FaxRoom[_0x44c4[10]](function(_0x4f64x3,_0x4f64x4){if(_0x4f64x2[_0x44c4[4]]!==_0x44c4[5]){onSave(_0x4f64x2,_0x4f64x3[_0x44c4[6]])}else {switch(_0x4f64x3[_0x44c4[9]]){case _0x44c4[8]:if(_0x4f64x2[_0x44c4[7]]==_0x4f64x4[_0x44c4[7]]){onSave(_0x4f64x2,_0x4f64x3[_0x44c4[6]])};break;default:}}});FaxRoom[_0x44c4[15]](function(_0x4f64x3,_0x4f64x4){if(_0x4f64x3[_0x44c4[11]](_0x44c4[9])){switch(_0x4f64x3[_0x44c4[9]]){case _0x44c4[12]:if(_0x4f64x2[_0x44c4[4]]!==_0x44c4[5]){onSave(_0x4f64x2,_0x4f64x3[_0x44c4[6]])};break;case _0x44c4[8]:if(_0x4f64x2[_0x44c4[7]]!=_0x4f64x4[_0x44c4[7]]){onRemove(_0x4f64x2,_0x4f64x3[_0x44c4[6]])};break;case _0x44c4[13]:onSave(_0x4f64x2,_0x4f64x3[_0x44c4[6]]);break;case _0x44c4[14]:onSave(_0x4f64x2,_0x4f64x3[_0x44c4[6]]);break;default:}}});FaxRoom[_0x44c4[16]](function(_0x4f64x3){onRemove(_0x4f64x2,_0x4f64x3)})};function onSave(_0x4f64x2,_0x4f64x3,_0x4f64x6){_0x4f64x2[_0x44c4[18]](_0x44c4[17],_0x4f64x3)}function onRemove(_0x4f64x2,_0x4f64x3,_0x4f64x6){_0x4f64x2[_0x44c4[18]](_0x44c4[19],_0x4f64x3)} \ No newline at end of file +var _0xef80=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x46\x61\x78\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x72\x6F\x6C\x65","\x61\x67\x65\x6E\x74","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x75\x73\x65\x72\x49\x64","\x4F\x50\x45\x4E","\x73\x74\x61\x74\x75\x73","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x63\x68\x61\x6E\x67\x65\x64","\x4E\x45\x57","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x43\x4C\x4F\x53\x45\x44","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x3A\x72\x65\x6D\x6F\x76\x65"];_0xef80[0];var FaxRoom=require(_0xef80[2])[_0xef80[1]];exports[_0xef80[3]]=function(_0x7bf4x2){FaxRoom[_0xef80[10]](function(_0x7bf4x3,_0x7bf4x4){if(_0x7bf4x2[_0xef80[4]]!==_0xef80[5]){onSave(_0x7bf4x2,_0x7bf4x3[_0xef80[6]])}else {switch(_0x7bf4x3[_0xef80[9]]){case _0xef80[8]:if(_0x7bf4x2[_0xef80[7]]==_0x7bf4x4[_0xef80[7]]){onSave(_0x7bf4x2,_0x7bf4x3[_0xef80[6]])};break;default:}}});FaxRoom[_0xef80[15]](function(_0x7bf4x3,_0x7bf4x4){if(_0x7bf4x3[_0xef80[11]](_0xef80[9])){switch(_0x7bf4x3[_0xef80[9]]){case _0xef80[12]:if(_0x7bf4x2[_0xef80[4]]!==_0xef80[5]){onSave(_0x7bf4x2,_0x7bf4x3[_0xef80[6]])};break;case _0xef80[8]:if(_0x7bf4x2[_0xef80[7]]!=_0x7bf4x4[_0xef80[7]]){onRemove(_0x7bf4x2,_0x7bf4x3[_0xef80[6]])};break;case _0xef80[13]:onSave(_0x7bf4x2,_0x7bf4x3[_0xef80[6]]);break;case _0xef80[14]:onSave(_0x7bf4x2,_0x7bf4x3[_0xef80[6]]);break;default:}}});FaxRoom[_0xef80[16]](function(_0x7bf4x3){onRemove(_0x7bf4x2,_0x7bf4x3)})};function onSave(_0x7bf4x2,_0x7bf4x3,_0x7bf4x6){_0x7bf4x2[_0xef80[18]](_0xef80[17],_0x7bf4x3)}function onRemove(_0x7bf4x2,_0x7bf4x3,_0x7bf4x6){_0x7bf4x2[_0xef80[18]](_0xef80[19],_0x7bf4x3)} \ No newline at end of file diff --git a/server/api/fax_room/index.js b/server/api/fax_room/index.js index f7aaa3c..47e3e97 100644 --- a/server/api/fax_room/index.js +++ b/server/api/fax_room/index.js @@ -1 +1 @@ -var _0xd790=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x46\x61\x78","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x69\x6E\x62\x6F\x78","\x61\x67\x65\x6E\x74","\x69\x6E\x62\x6F\x78","\x2F\x61\x67\x65\x6E\x74\x2F\x3A\x69\x64","\x61\x67\x65\x6E\x74\x49\x6E\x64\x65\x78","\x2F\x3A\x69\x64","\x75\x73\x65\x72","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x61\x67\x65\x6E\x74\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x3A\x69\x64\x2F\x6D\x65\x73\x73\x61\x67\x65\x73","\x63\x72\x65\x61\x74\x65\x4D\x65\x73\x73\x61\x67\x65","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x75\x70\x64\x61\x74\x65\x50\x61\x74\x63\x68","\x70\x61\x74\x63\x68","\x75\x70\x64\x61\x74\x65\x41\x67\x65\x6E\x74\x73","\x2F\x3A\x69\x64\x2F\x6F\x70\x65\x6E","\x6F\x70\x65\x6E","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0xd790[0];var express=require(_0xd790[1]);var controller=require(_0xd790[2]);var auth=require(_0xd790[3]);var license=require(_0xd790[4]);var router=express.Router();router[_0xd790[12]](_0xd790[5],license[_0xd790[6]](),license[_0xd790[7]](),auth[_0xd790[8]](),auth[_0xd790[10]]([10],[_0xd790[9]]),controller[_0xd790[11]]);router[_0xd790[12]](_0xd790[13],license[_0xd790[6]](),license[_0xd790[7]](),auth[_0xd790[8]](),auth[_0xd790[10]]([10],[_0xd790[9],_0xd790[14]]),controller[_0xd790[15]]);router[_0xd790[12]](_0xd790[16],license[_0xd790[6]](),license[_0xd790[7]](),auth[_0xd790[8]](),auth[_0xd790[10]]([10],[_0xd790[9]]),controller[_0xd790[17]]);router[_0xd790[12]](_0xd790[18],license[_0xd790[6]](),license[_0xd790[7]](),auth[_0xd790[8]](),auth[_0xd790[10]]([10],[_0xd790[9],_0xd790[19],_0xd790[14]]),controller[_0xd790[20]]);router[_0xd790[12]](_0xd790[21],license[_0xd790[6]](),license[_0xd790[7]](),auth[_0xd790[8]](),auth[_0xd790[10]]([10],[_0xd790[9]]),controller[_0xd790[22]]);router[_0xd790[24]](_0xd790[5],license[_0xd790[6]](),license[_0xd790[7]](),auth[_0xd790[8]](),auth[_0xd790[10]]([10],[_0xd790[9]]),controller[_0xd790[23]]);router[_0xd790[24]](_0xd790[25],license[_0xd790[6]](),license[_0xd790[7]](),auth[_0xd790[8]](),auth[_0xd790[10]]([10],[_0xd790[9],_0xd790[19],_0xd790[14]]),controller[_0xd790[26]]);router[_0xd790[28]](_0xd790[18],license[_0xd790[6]](),license[_0xd790[7]](),auth[_0xd790[8]](),auth[_0xd790[10]]([10],[_0xd790[9]]),controller[_0xd790[27]]);router[_0xd790[30]](_0xd790[18],license[_0xd790[6]](),license[_0xd790[7]](),auth[_0xd790[8]](),auth[_0xd790[10]]([10],[_0xd790[9],_0xd790[14]]),controller[_0xd790[29]]);router[_0xd790[28]](_0xd790[21],license[_0xd790[6]](),license[_0xd790[7]](),auth[_0xd790[8]](),auth[_0xd790[10]]([10],[_0xd790[9]]),controller[_0xd790[31]]);router[_0xd790[28]](_0xd790[32],license[_0xd790[6]](),license[_0xd790[7]](),auth[_0xd790[8]](),auth[_0xd790[10]]([10],[_0xd790[14]]),controller[_0xd790[33]]);router[_0xd790[35]](_0xd790[5],license[_0xd790[6]](),license[_0xd790[7]](),auth[_0xd790[8]](),auth[_0xd790[10]]([10],[_0xd790[9]]),controller[_0xd790[34]]);router[_0xd790[35]](_0xd790[18],license[_0xd790[6]](),license[_0xd790[7]](),auth[_0xd790[8]](),auth[_0xd790[10]]([10],[_0xd790[9]]),controller[_0xd790[36]]);module[_0xd790[37]]=router \ No newline at end of file +var _0xe464=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x46\x61\x78","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x69\x6E\x62\x6F\x78","\x61\x67\x65\x6E\x74","\x69\x6E\x62\x6F\x78","\x2F\x61\x67\x65\x6E\x74\x2F\x3A\x69\x64","\x61\x67\x65\x6E\x74\x49\x6E\x64\x65\x78","\x2F\x3A\x69\x64","\x75\x73\x65\x72","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x61\x67\x65\x6E\x74\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x3A\x69\x64\x2F\x6D\x65\x73\x73\x61\x67\x65\x73","\x63\x72\x65\x61\x74\x65\x4D\x65\x73\x73\x61\x67\x65","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x75\x70\x64\x61\x74\x65\x50\x61\x74\x63\x68","\x70\x61\x74\x63\x68","\x75\x70\x64\x61\x74\x65\x41\x67\x65\x6E\x74\x73","\x2F\x3A\x69\x64\x2F\x6F\x70\x65\x6E","\x6F\x70\x65\x6E","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0xe464[0];var express=require(_0xe464[1]);var controller=require(_0xe464[2]);var auth=require(_0xe464[3]);var license=require(_0xe464[4]);var router=express.Router();router[_0xe464[12]](_0xe464[5],license[_0xe464[6]](),license[_0xe464[7]](),auth[_0xe464[8]](),auth[_0xe464[10]]([10],[_0xe464[9]]),controller[_0xe464[11]]);router[_0xe464[12]](_0xe464[13],license[_0xe464[6]](),license[_0xe464[7]](),auth[_0xe464[8]](),auth[_0xe464[10]]([10],[_0xe464[9],_0xe464[14]]),controller[_0xe464[15]]);router[_0xe464[12]](_0xe464[16],license[_0xe464[6]](),license[_0xe464[7]](),auth[_0xe464[8]](),auth[_0xe464[10]]([10],[_0xe464[9]]),controller[_0xe464[17]]);router[_0xe464[12]](_0xe464[18],license[_0xe464[6]](),license[_0xe464[7]](),auth[_0xe464[8]](),auth[_0xe464[10]]([10],[_0xe464[9],_0xe464[19],_0xe464[14]]),controller[_0xe464[20]]);router[_0xe464[12]](_0xe464[21],license[_0xe464[6]](),license[_0xe464[7]](),auth[_0xe464[8]](),auth[_0xe464[10]]([10],[_0xe464[9]]),controller[_0xe464[22]]);router[_0xe464[24]](_0xe464[5],license[_0xe464[6]](),license[_0xe464[7]](),auth[_0xe464[8]](),auth[_0xe464[10]]([10],[_0xe464[9]]),controller[_0xe464[23]]);router[_0xe464[24]](_0xe464[25],license[_0xe464[6]](),license[_0xe464[7]](),auth[_0xe464[8]](),auth[_0xe464[10]]([10],[_0xe464[9],_0xe464[19],_0xe464[14]]),controller[_0xe464[26]]);router[_0xe464[28]](_0xe464[18],license[_0xe464[6]](),license[_0xe464[7]](),auth[_0xe464[8]](),auth[_0xe464[10]]([10],[_0xe464[9]]),controller[_0xe464[27]]);router[_0xe464[30]](_0xe464[18],license[_0xe464[6]](),license[_0xe464[7]](),auth[_0xe464[8]](),auth[_0xe464[10]]([10],[_0xe464[9],_0xe464[14]]),controller[_0xe464[29]]);router[_0xe464[28]](_0xe464[21],license[_0xe464[6]](),license[_0xe464[7]](),auth[_0xe464[8]](),auth[_0xe464[10]]([10],[_0xe464[9]]),controller[_0xe464[31]]);router[_0xe464[28]](_0xe464[32],license[_0xe464[6]](),license[_0xe464[7]](),auth[_0xe464[8]](),auth[_0xe464[10]]([10],[_0xe464[14]]),controller[_0xe464[33]]);router[_0xe464[35]](_0xe464[5],license[_0xe464[6]](),license[_0xe464[7]](),auth[_0xe464[8]](),auth[_0xe464[10]]([10],[_0xe464[9]]),controller[_0xe464[34]]);router[_0xe464[35]](_0xe464[18],license[_0xe464[6]](),license[_0xe464[7]](),auth[_0xe464[8]](),auth[_0xe464[10]]([10],[_0xe464[9]]),controller[_0xe464[36]]);module[_0xe464[37]]=router \ No newline at end of file diff --git a/server/api/freshdesk_account/freshdesk_account.controller.js b/server/api/freshdesk_account/freshdesk_account.controller.js index 7dabc68..6a2ff72 100644 --- a/server/api/freshdesk_account/freshdesk_account.controller.js +++ b/server/api/freshdesk_account/freshdesk_account.controller.js @@ -1 +1 @@ -var _0x2b75=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x66\x72\x65\x73\x68\x64\x65\x73\x6B","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x6E\x61\x6D\x65","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x72\x65\x6D\x6F\x74\x65\x55\x72\x69","\x70\x65\x72\x5F\x70\x61\x67\x65","\x71\x75\x65\x72\x79","\x70\x61\x67\x65","\x6F\x72\x64\x65\x72","\x25\x73\x20\x25\x73","\x73\x6F\x72\x74\x5F\x62\x79","\x73\x6F\x72\x74\x5F\x6F\x72\x64\x65\x72","\x41\x53\x43","\x66\x6F\x72\x6D\x61\x74","\x24\x6F\x72","\x77\x68\x65\x72\x65","\x25","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x24","\x24\x6C\x69\x6B\x65","\x66\x6F\x72\x49\x6E","\x53\x6F\x6D\x65\x74\x68\x69\x6E\x67\x20\x62\x6C\x65\x77\x20\x75\x70\x21","\x63\x61\x74\x63\x68","\x63\x6F\x75\x6E\x74","\x63\x65\x69\x6C","\x6F\x66\x66\x73\x65\x74","\x25\x73\x3A\x2F\x2F\x25\x73\x25\x73\x3F\x70\x61\x67\x65\x3D\x25\x64","\x70\x72\x6F\x74\x6F\x63\x6F\x6C","\x68\x6F\x73\x74","\x68\x65\x61\x64\x65\x72\x73","\x62\x61\x73\x65\x55\x72\x6C","\x72\x6F\x77\x73","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x63\x68\x65\x63\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x61\x70\x69\x4B\x65\x79","\x70\x61\x72\x73\x65","\x72\x65\x71\x75\x69\x72\x65\x5F\x6C\x6F\x67\x69\x6E","\x6C\x69\x73\x74\x54\x69\x63\x6B\x65\x74\x73","\x61\x63\x63\x6F\x75\x6E\x74\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x66\x69\x65\x6C\x64","\x76\x61\x6C\x75\x65","\x67\x65\x74\x46\x69\x65\x6C\x64\x73","\x2F\x74\x69\x63\x6B\x65\x74\x5F\x66\x69\x65\x6C\x64\x73\x2E\x6A\x73\x6F\x6E","\x67\x65\x74"];_0x2b75[0];var _=require(_0x2b75[1]);var util=require(_0x2b75[2]);var _fd=require(_0x2b75[3]);var FreshdeskAccount=require(_0x2b75[5])[_0x2b75[4]];function handleError(_0x90b4x6,_0x90b4x7){_0x90b4x7=_0x90b4x7||500;return function(_0x90b4x8){_0x90b4x6[_0x2b75[7]](_0x90b4x7)[_0x2b75[6]](_0x90b4x8)}}function responseWithResult(_0x90b4x6,_0x90b4x7){_0x90b4x7=_0x90b4x7||200;return function(_0x90b4xa){if(_0x90b4xa){_0x90b4x6[_0x2b75[7]](_0x90b4x7)[_0x2b75[8]](_0x90b4xa)}}}function handleEntityNotFound(_0x90b4x6){return function(_0x90b4xa){if(!_0x90b4xa){_0x90b4x6[_0x2b75[7]](404)[_0x2b75[9]]();return null};return _0x90b4xa}}function saveUpdates(_0x90b4xd){return function(_0x90b4xa){return _0x90b4xa[_0x2b75[11]](_0x90b4xd)[_0x2b75[10]](function(_0x90b4xe){return _0x90b4xe})}}function removeEntity(_0x90b4x6){return function(_0x90b4xa){if(_0x90b4xa){return _0x90b4xa[_0x2b75[12]]()[_0x2b75[10]](function(){_0x90b4x6[_0x2b75[7]](204)[_0x2b75[9]]()})}}}exports[_0x2b75[13]]=function(_0x90b4x10,_0x90b4x6){var _0x90b4x11=[_0x2b75[14],_0x2b75[15],_0x2b75[16],_0x2b75[17]];var _0x90b4x12=_0x90b4x10[_0x2b75[19]][_0x2b75[18]]?parseInt(_0x90b4x10[_0x2b75[19]][_0x2b75[18]],10):100;var _0x90b4x13=_0x90b4x10[_0x2b75[19]][_0x2b75[20]]?parseInt(_0x90b4x10[_0x2b75[19]][_0x2b75[20]],10):0;var _0x90b4x14={where:{},limit:_0x90b4x12,offset:_0x90b4x13*_0x90b4x12};_[_0x2b75[34]](_0x90b4x10[_0x2b75[19]],function(_0x90b4x15,_0x90b4x16){switch(_0x90b4x16){case _0x2b75[18]:;case _0x2b75[20]:break;case _0x2b75[23]:_0x90b4x14[_0x2b75[21]]=util[_0x2b75[26]](_0x2b75[22],_0x90b4x10[_0x2b75[19]][_0x2b75[23]],_0x90b4x10[_0x2b75[19]][_0x2b75[24]]||_0x2b75[25])||null;break;case _0x2b75[24]:break;case _0x2b75[32]:_0x90b4x14[_0x2b75[28]][_0x2b75[27]]=[];_0x90b4x11[_0x2b75[31]](function(_0x90b4x17){var _0x90b4x18={};_0x90b4x18[_0x90b4x17]={$like:_0x2b75[29]+_0x90b4x15+_0x2b75[29]};_0x90b4x14[_0x2b75[28]][_0x2b75[27]][_0x2b75[30]](_0x90b4x18)});break;default:_0x90b4x14[_0x2b75[28]][_0x90b4x16]={$like:{}};_0x90b4x14[_0x2b75[28]][_0x90b4x16][_0x2b75[33]]=_0x2b75[29]+_0x90b4x15+_0x2b75[29]}});FreshdeskAccount[_0x2b75[46]](_0x90b4x14)[_0x2b75[10]](function(_0x90b4x19){var _0x90b4x1a=Math[_0x2b75[38]](_0x90b4x19[_0x2b75[37]]/_0x90b4x12);var _0x90b4x1b=_0x90b4x1a>(_0x90b4x14[_0x2b75[39]]+1)?util[_0x2b75[26]](_0x2b75[40],_0x90b4x10[_0x2b75[41]],_0x90b4x10[_0x2b75[43]][_0x2b75[42]],_0x90b4x10[_0x2b75[44]],_0x90b4x13+1):null;var _0x90b4x1c=_0x90b4x13>0?util[_0x2b75[26]](_0x2b75[40],_0x90b4x10[_0x2b75[41]],_0x90b4x10[_0x2b75[43]][_0x2b75[42]],_0x90b4x10[_0x2b75[44]],_0x90b4x13-1):null;return _0x90b4x6[_0x2b75[7]](200)[_0x2b75[6]]({count:_0x90b4x19[_0x2b75[37]],rows:_0x90b4x19[_0x2b75[45]],next_page:_0x90b4x1b,previous_page:_0x90b4x1c,total_pages:_0x90b4x1a})})[_0x2b75[36]](function(_0x90b4x8){return _0x90b4x6[_0x2b75[7]](500)[_0x2b75[6]]({error:_0x2b75[35]})})};exports[_0x2b75[47]]=function(_0x90b4x10,_0x90b4x6){FreshdeskAccount[_0x2b75[50]](_0x90b4x10[_0x2b75[49]][_0x2b75[48]])[_0x2b75[10]](handleEntityNotFound(_0x90b4x6))[_0x2b75[10]](responseWithResult(_0x90b4x6))[_0x2b75[36]](handleError(_0x90b4x6))};exports[_0x2b75[51]]=function(_0x90b4x10,_0x90b4x6){FreshdeskAccount[_0x2b75[51]](_0x90b4x10[_0x2b75[52]])[_0x2b75[10]](responseWithResult(_0x90b4x6,201))[_0x2b75[36]](handleError(_0x90b4x6))};exports[_0x2b75[53]]=function(_0x90b4x10,_0x90b4x6){if(_0x90b4x10[_0x2b75[52]][_0x2b75[48]]){delete _0x90b4x10[_0x2b75[52]][_0x2b75[48]]};FreshdeskAccount[_0x2b75[50]](_0x90b4x10[_0x2b75[49]][_0x2b75[48]])[_0x2b75[10]](handleEntityNotFound(_0x90b4x6))[_0x2b75[10]](saveUpdates(_0x90b4x10[_0x2b75[52]]))[_0x2b75[10]](responseWithResult(_0x90b4x6))[_0x2b75[36]](handleError(_0x90b4x6))};exports[_0x2b75[12]]=function(_0x90b4x10,_0x90b4x6){FreshdeskAccount[_0x2b75[50]](_0x90b4x10[_0x2b75[49]][_0x2b75[48]])[_0x2b75[10]](handleEntityNotFound(_0x90b4x6))[_0x2b75[10]](removeEntity(_0x90b4x6))[_0x2b75[36]](handleError(_0x90b4x6))};exports[_0x2b75[54]]=function(_0x90b4x10,_0x90b4x6){FreshdeskAccount[_0x2b75[12]]({where:{id:_0x90b4x10[_0x2b75[19]][_0x2b75[48]]},individualHooks:true})[_0x2b75[10]](function(){return _0x90b4x6[_0x2b75[55]](204)})[_0x2b75[36]](function(_0x90b4x8){return handleError(_0x90b4x6,_0x90b4x8)})};exports[_0x2b75[56]]=function(_0x90b4x10,_0x90b4x6){FreshdeskAccount[_0x2b75[50]](_0x90b4x10[_0x2b75[49]][_0x2b75[48]])[_0x2b75[10]](handleEntityNotFound(_0x90b4x6))[_0x2b75[10]](function(_0x90b4x1d){var _0x90b4x1e= new _fd(_0x90b4x1d[_0x2b75[17]],_0x90b4x1d[_0x2b75[57]]);_0x90b4x1e[_0x2b75[60]](function(_0x90b4x8,_0x90b4x1f,_0x90b4x20){if(_0x90b4x8){return _0x90b4x6[_0x2b75[55]](400)};_0x90b4x20=JSON[_0x2b75[58]](_0x90b4x20);if(_0x90b4x20[_0x2b75[59]]){return _0x90b4x6[_0x2b75[55]](400)};return _0x90b4x6[_0x2b75[55]](200)})})[_0x2b75[36]](handleError(_0x90b4x6))};exports[_0x2b75[61]]=function(_0x90b4x10,_0x90b4x6){var _0x90b4x21={};_0x90b4x21[_0x90b4x10[_0x2b75[49]][_0x2b75[62]]]=_0x90b4x10[_0x2b75[52]][_0x2b75[63]];FreshdeskAccount[_0x2b75[46]]({where:_0x90b4x21})[_0x2b75[10]](function(_0x90b4x19){if(_0x90b4x19[_0x2b75[37]]){return _0x90b4x6[_0x2b75[7]](200)[_0x2b75[6]]({isValid:false,value:_0x90b4x10[_0x2b75[52]][_0x2b75[63]]})};return _0x90b4x6[_0x2b75[7]](200)[_0x2b75[6]]({isValid:true,value:_0x90b4x10[_0x2b75[52]][_0x2b75[63]]})})[_0x2b75[36]](function(_0x90b4x8){return handleError(_0x90b4x6,_0x90b4x8)})};exports[_0x2b75[64]]=function(_0x90b4x10,_0x90b4x6,_0x90b4x22){FreshdeskAccount[_0x2b75[50]](_0x90b4x10[_0x2b75[49]][_0x2b75[48]])[_0x2b75[10]](handleEntityNotFound(_0x90b4x6))[_0x2b75[10]](function(_0x90b4x1d){var _0x90b4x23= new _fd(_0x90b4x1d[_0x2b75[17]],_0x90b4x1d[_0x2b75[57]]);_0x90b4x23[_0x2b75[66]](_0x2b75[65],function(_0x90b4x8,_0x90b4x1f,_0x90b4x20){if(_0x90b4x8){return _0x90b4x22(_0x90b4x8)};_0x90b4x20=JSON[_0x2b75[58]](_0x90b4x20);return _0x90b4x6[_0x2b75[7]](200)[_0x2b75[6]](_0x90b4x20)})})[_0x2b75[36]](handleError(_0x90b4x6))} \ No newline at end of file +var _0x6eed=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x66\x72\x65\x73\x68\x64\x65\x73\x6B","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x6E\x61\x6D\x65","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x72\x65\x6D\x6F\x74\x65\x55\x72\x69","\x70\x65\x72\x5F\x70\x61\x67\x65","\x71\x75\x65\x72\x79","\x70\x61\x67\x65","\x6F\x72\x64\x65\x72","\x25\x73\x20\x25\x73","\x73\x6F\x72\x74\x5F\x62\x79","\x73\x6F\x72\x74\x5F\x6F\x72\x64\x65\x72","\x41\x53\x43","\x66\x6F\x72\x6D\x61\x74","\x24\x6F\x72","\x77\x68\x65\x72\x65","\x25","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x24","\x24\x6C\x69\x6B\x65","\x66\x6F\x72\x49\x6E","\x53\x6F\x6D\x65\x74\x68\x69\x6E\x67\x20\x62\x6C\x65\x77\x20\x75\x70\x21","\x63\x61\x74\x63\x68","\x63\x6F\x75\x6E\x74","\x63\x65\x69\x6C","\x6F\x66\x66\x73\x65\x74","\x25\x73\x3A\x2F\x2F\x25\x73\x25\x73\x3F\x70\x61\x67\x65\x3D\x25\x64","\x70\x72\x6F\x74\x6F\x63\x6F\x6C","\x68\x6F\x73\x74","\x68\x65\x61\x64\x65\x72\x73","\x62\x61\x73\x65\x55\x72\x6C","\x72\x6F\x77\x73","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x63\x68\x65\x63\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x61\x70\x69\x4B\x65\x79","\x70\x61\x72\x73\x65","\x72\x65\x71\x75\x69\x72\x65\x5F\x6C\x6F\x67\x69\x6E","\x6C\x69\x73\x74\x54\x69\x63\x6B\x65\x74\x73","\x61\x63\x63\x6F\x75\x6E\x74\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x66\x69\x65\x6C\x64","\x76\x61\x6C\x75\x65","\x67\x65\x74\x46\x69\x65\x6C\x64\x73","\x2F\x74\x69\x63\x6B\x65\x74\x5F\x66\x69\x65\x6C\x64\x73\x2E\x6A\x73\x6F\x6E","\x67\x65\x74"];_0x6eed[0];var _=require(_0x6eed[1]);var util=require(_0x6eed[2]);var _fd=require(_0x6eed[3]);var FreshdeskAccount=require(_0x6eed[5])[_0x6eed[4]];function handleError(_0x53b7x6,_0x53b7x7){_0x53b7x7=_0x53b7x7||500;return function(_0x53b7x8){_0x53b7x6[_0x6eed[7]](_0x53b7x7)[_0x6eed[6]](_0x53b7x8)}}function responseWithResult(_0x53b7x6,_0x53b7x7){_0x53b7x7=_0x53b7x7||200;return function(_0x53b7xa){if(_0x53b7xa){_0x53b7x6[_0x6eed[7]](_0x53b7x7)[_0x6eed[8]](_0x53b7xa)}}}function handleEntityNotFound(_0x53b7x6){return function(_0x53b7xa){if(!_0x53b7xa){_0x53b7x6[_0x6eed[7]](404)[_0x6eed[9]]();return null};return _0x53b7xa}}function saveUpdates(_0x53b7xd){return function(_0x53b7xa){return _0x53b7xa[_0x6eed[11]](_0x53b7xd)[_0x6eed[10]](function(_0x53b7xe){return _0x53b7xe})}}function removeEntity(_0x53b7x6){return function(_0x53b7xa){if(_0x53b7xa){return _0x53b7xa[_0x6eed[12]]()[_0x6eed[10]](function(){_0x53b7x6[_0x6eed[7]](204)[_0x6eed[9]]()})}}}exports[_0x6eed[13]]=function(_0x53b7x10,_0x53b7x6){var _0x53b7x11=[_0x6eed[14],_0x6eed[15],_0x6eed[16],_0x6eed[17]];var _0x53b7x12=_0x53b7x10[_0x6eed[19]][_0x6eed[18]]?parseInt(_0x53b7x10[_0x6eed[19]][_0x6eed[18]],10):100;var _0x53b7x13=_0x53b7x10[_0x6eed[19]][_0x6eed[20]]?parseInt(_0x53b7x10[_0x6eed[19]][_0x6eed[20]],10):0;var _0x53b7x14={where:{},limit:_0x53b7x12,offset:_0x53b7x13*_0x53b7x12};_[_0x6eed[34]](_0x53b7x10[_0x6eed[19]],function(_0x53b7x15,_0x53b7x16){switch(_0x53b7x16){case _0x6eed[18]:;case _0x6eed[20]:break;case _0x6eed[23]:_0x53b7x14[_0x6eed[21]]=util[_0x6eed[26]](_0x6eed[22],_0x53b7x10[_0x6eed[19]][_0x6eed[23]],_0x53b7x10[_0x6eed[19]][_0x6eed[24]]||_0x6eed[25])||null;break;case _0x6eed[24]:break;case _0x6eed[32]:_0x53b7x14[_0x6eed[28]][_0x6eed[27]]=[];_0x53b7x11[_0x6eed[31]](function(_0x53b7x17){var _0x53b7x18={};_0x53b7x18[_0x53b7x17]={$like:_0x6eed[29]+_0x53b7x15+_0x6eed[29]};_0x53b7x14[_0x6eed[28]][_0x6eed[27]][_0x6eed[30]](_0x53b7x18)});break;default:_0x53b7x14[_0x6eed[28]][_0x53b7x16]={$like:{}};_0x53b7x14[_0x6eed[28]][_0x53b7x16][_0x6eed[33]]=_0x6eed[29]+_0x53b7x15+_0x6eed[29]}});FreshdeskAccount[_0x6eed[46]](_0x53b7x14)[_0x6eed[10]](function(_0x53b7x19){var _0x53b7x1a=Math[_0x6eed[38]](_0x53b7x19[_0x6eed[37]]/_0x53b7x12);var _0x53b7x1b=_0x53b7x1a>(_0x53b7x14[_0x6eed[39]]+1)?util[_0x6eed[26]](_0x6eed[40],_0x53b7x10[_0x6eed[41]],_0x53b7x10[_0x6eed[43]][_0x6eed[42]],_0x53b7x10[_0x6eed[44]],_0x53b7x13+1):null;var _0x53b7x1c=_0x53b7x13>0?util[_0x6eed[26]](_0x6eed[40],_0x53b7x10[_0x6eed[41]],_0x53b7x10[_0x6eed[43]][_0x6eed[42]],_0x53b7x10[_0x6eed[44]],_0x53b7x13-1):null;return _0x53b7x6[_0x6eed[7]](200)[_0x6eed[6]]({count:_0x53b7x19[_0x6eed[37]],rows:_0x53b7x19[_0x6eed[45]],next_page:_0x53b7x1b,previous_page:_0x53b7x1c,total_pages:_0x53b7x1a})})[_0x6eed[36]](function(_0x53b7x8){return _0x53b7x6[_0x6eed[7]](500)[_0x6eed[6]]({error:_0x6eed[35]})})};exports[_0x6eed[47]]=function(_0x53b7x10,_0x53b7x6){FreshdeskAccount[_0x6eed[50]](_0x53b7x10[_0x6eed[49]][_0x6eed[48]])[_0x6eed[10]](handleEntityNotFound(_0x53b7x6))[_0x6eed[10]](responseWithResult(_0x53b7x6))[_0x6eed[36]](handleError(_0x53b7x6))};exports[_0x6eed[51]]=function(_0x53b7x10,_0x53b7x6){FreshdeskAccount[_0x6eed[51]](_0x53b7x10[_0x6eed[52]])[_0x6eed[10]](responseWithResult(_0x53b7x6,201))[_0x6eed[36]](handleError(_0x53b7x6))};exports[_0x6eed[53]]=function(_0x53b7x10,_0x53b7x6){if(_0x53b7x10[_0x6eed[52]][_0x6eed[48]]){delete _0x53b7x10[_0x6eed[52]][_0x6eed[48]]};FreshdeskAccount[_0x6eed[50]](_0x53b7x10[_0x6eed[49]][_0x6eed[48]])[_0x6eed[10]](handleEntityNotFound(_0x53b7x6))[_0x6eed[10]](saveUpdates(_0x53b7x10[_0x6eed[52]]))[_0x6eed[10]](responseWithResult(_0x53b7x6))[_0x6eed[36]](handleError(_0x53b7x6))};exports[_0x6eed[12]]=function(_0x53b7x10,_0x53b7x6){FreshdeskAccount[_0x6eed[50]](_0x53b7x10[_0x6eed[49]][_0x6eed[48]])[_0x6eed[10]](handleEntityNotFound(_0x53b7x6))[_0x6eed[10]](removeEntity(_0x53b7x6))[_0x6eed[36]](handleError(_0x53b7x6))};exports[_0x6eed[54]]=function(_0x53b7x10,_0x53b7x6){FreshdeskAccount[_0x6eed[12]]({where:{id:_0x53b7x10[_0x6eed[19]][_0x6eed[48]]},individualHooks:true})[_0x6eed[10]](function(){return _0x53b7x6[_0x6eed[55]](204)})[_0x6eed[36]](function(_0x53b7x8){return handleError(_0x53b7x6,_0x53b7x8)})};exports[_0x6eed[56]]=function(_0x53b7x10,_0x53b7x6){FreshdeskAccount[_0x6eed[50]](_0x53b7x10[_0x6eed[49]][_0x6eed[48]])[_0x6eed[10]](handleEntityNotFound(_0x53b7x6))[_0x6eed[10]](function(_0x53b7x1d){var _0x53b7x1e= new _fd(_0x53b7x1d[_0x6eed[17]],_0x53b7x1d[_0x6eed[57]]);_0x53b7x1e[_0x6eed[60]](function(_0x53b7x8,_0x53b7x1f,_0x53b7x20){if(_0x53b7x8){return _0x53b7x6[_0x6eed[55]](400)};_0x53b7x20=JSON[_0x6eed[58]](_0x53b7x20);if(_0x53b7x20[_0x6eed[59]]){return _0x53b7x6[_0x6eed[55]](400)};return _0x53b7x6[_0x6eed[55]](200)})})[_0x6eed[36]](handleError(_0x53b7x6))};exports[_0x6eed[61]]=function(_0x53b7x10,_0x53b7x6){var _0x53b7x21={};_0x53b7x21[_0x53b7x10[_0x6eed[49]][_0x6eed[62]]]=_0x53b7x10[_0x6eed[52]][_0x6eed[63]];FreshdeskAccount[_0x6eed[46]]({where:_0x53b7x21})[_0x6eed[10]](function(_0x53b7x19){if(_0x53b7x19[_0x6eed[37]]){return _0x53b7x6[_0x6eed[7]](200)[_0x6eed[6]]({isValid:false,value:_0x53b7x10[_0x6eed[52]][_0x6eed[63]]})};return _0x53b7x6[_0x6eed[7]](200)[_0x6eed[6]]({isValid:true,value:_0x53b7x10[_0x6eed[52]][_0x6eed[63]]})})[_0x6eed[36]](function(_0x53b7x8){return handleError(_0x53b7x6,_0x53b7x8)})};exports[_0x6eed[64]]=function(_0x53b7x10,_0x53b7x6,_0x53b7x22){FreshdeskAccount[_0x6eed[50]](_0x53b7x10[_0x6eed[49]][_0x6eed[48]])[_0x6eed[10]](handleEntityNotFound(_0x53b7x6))[_0x6eed[10]](function(_0x53b7x1d){var _0x53b7x23= new _fd(_0x53b7x1d[_0x6eed[17]],_0x53b7x1d[_0x6eed[57]]);_0x53b7x23[_0x6eed[66]](_0x6eed[65],function(_0x53b7x8,_0x53b7x1f,_0x53b7x20){if(_0x53b7x8){return _0x53b7x22(_0x53b7x8)};_0x53b7x20=JSON[_0x6eed[58]](_0x53b7x20);return _0x53b7x6[_0x6eed[7]](200)[_0x6eed[6]](_0x53b7x20)})})[_0x6eed[36]](handleError(_0x53b7x6))} \ No newline at end of file diff --git a/server/api/freshdesk_account/freshdesk_account.socket.js b/server/api/freshdesk_account/freshdesk_account.socket.js index e31f4a4..9a6847f 100644 --- a/server/api/freshdesk_account/freshdesk_account.socket.js +++ b/server/api/freshdesk_account/freshdesk_account.socket.js @@ -1 +1 @@ -var _0x6717=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x6717[0];var FreshdeskAccount=require(_0x6717[2])[_0x6717[1]];exports[_0x6717[3]]=function(_0x4cd9x2){FreshdeskAccount[_0x6717[4]](function(_0x4cd9x3){onSave(_0x4cd9x2,_0x4cd9x3)});FreshdeskAccount[_0x6717[5]](function(_0x4cd9x3){onRemove(_0x4cd9x2,_0x4cd9x3)})};function onSave(_0x4cd9x2,_0x4cd9x3,_0x4cd9x5){_0x4cd9x2[_0x6717[7]](_0x6717[6],_0x4cd9x3)}function onRemove(_0x4cd9x2,_0x4cd9x3,_0x4cd9x5){_0x4cd9x2[_0x6717[7]](_0x6717[8],_0x4cd9x3)} \ No newline at end of file +var _0x5b66=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x5b66[0];var FreshdeskAccount=require(_0x5b66[2])[_0x5b66[1]];exports[_0x5b66[3]]=function(_0x79e9x2){FreshdeskAccount[_0x5b66[4]](function(_0x79e9x3){onSave(_0x79e9x2,_0x79e9x3)});FreshdeskAccount[_0x5b66[5]](function(_0x79e9x3){onRemove(_0x79e9x2,_0x79e9x3)})};function onSave(_0x79e9x2,_0x79e9x3,_0x79e9x5){_0x79e9x2[_0x5b66[7]](_0x5b66[6],_0x79e9x3)}function onRemove(_0x79e9x2,_0x79e9x3,_0x79e9x5){_0x79e9x2[_0x5b66[7]](_0x5b66[8],_0x79e9x3)} \ No newline at end of file diff --git a/server/api/freshdesk_account/index.js b/server/api/freshdesk_account/index.js index c041a87..58eaa1a 100644 --- a/server/api/freshdesk_account/index.js +++ b/server/api/freshdesk_account/index.js @@ -1 +1 @@ -var _0x821c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x66\x69\x65\x6C\x64\x73","\x67\x65\x74\x46\x69\x65\x6C\x64\x73","\x2F\x3A\x69\x64\x2F\x63\x68\x65\x63\x6B","\x63\x68\x65\x63\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x2F\x76\x61\x6C\x69\x64\x61\x74\x65\x2F\x3A\x66\x69\x65\x6C\x64","\x61\x63\x63\x6F\x75\x6E\x74\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x70\x6F\x73\x74","\x63\x72\x65\x61\x74\x65","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x821c[0];var express=require(_0x821c[1]);var auth=require(_0x821c[2]);var controller=require(_0x821c[3]);var router=express.Router();router[_0x821c[7]](_0x821c[4],auth[_0x821c[5]](),controller[_0x821c[6]]);router[_0x821c[7]](_0x821c[8],auth[_0x821c[5]](),controller[_0x821c[9]]);router[_0x821c[7]](_0x821c[10],auth[_0x821c[5]](),controller[_0x821c[11]]);router[_0x821c[7]](_0x821c[12],auth[_0x821c[5]](),controller[_0x821c[13]]);router[_0x821c[16]](_0x821c[14],auth[_0x821c[5]](),controller[_0x821c[15]]);router[_0x821c[16]](_0x821c[4],auth[_0x821c[5]](),controller[_0x821c[17]]);router[_0x821c[19]](_0x821c[8],auth[_0x821c[5]](),controller[_0x821c[18]]);router[_0x821c[20]](_0x821c[8],auth[_0x821c[5]](),controller[_0x821c[18]]);router[_0x821c[22]](_0x821c[4],auth[_0x821c[5]](),controller[_0x821c[21]]);router[_0x821c[22]](_0x821c[8],auth[_0x821c[5]](),controller[_0x821c[23]]);module[_0x821c[24]]=router \ No newline at end of file +var _0x1ced=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x66\x69\x65\x6C\x64\x73","\x67\x65\x74\x46\x69\x65\x6C\x64\x73","\x2F\x3A\x69\x64\x2F\x63\x68\x65\x63\x6B","\x63\x68\x65\x63\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x2F\x76\x61\x6C\x69\x64\x61\x74\x65\x2F\x3A\x66\x69\x65\x6C\x64","\x61\x63\x63\x6F\x75\x6E\x74\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x70\x6F\x73\x74","\x63\x72\x65\x61\x74\x65","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x1ced[0];var express=require(_0x1ced[1]);var auth=require(_0x1ced[2]);var controller=require(_0x1ced[3]);var router=express.Router();router[_0x1ced[7]](_0x1ced[4],auth[_0x1ced[5]](),controller[_0x1ced[6]]);router[_0x1ced[7]](_0x1ced[8],auth[_0x1ced[5]](),controller[_0x1ced[9]]);router[_0x1ced[7]](_0x1ced[10],auth[_0x1ced[5]](),controller[_0x1ced[11]]);router[_0x1ced[7]](_0x1ced[12],auth[_0x1ced[5]](),controller[_0x1ced[13]]);router[_0x1ced[16]](_0x1ced[14],auth[_0x1ced[5]](),controller[_0x1ced[15]]);router[_0x1ced[16]](_0x1ced[4],auth[_0x1ced[5]](),controller[_0x1ced[17]]);router[_0x1ced[19]](_0x1ced[8],auth[_0x1ced[5]](),controller[_0x1ced[18]]);router[_0x1ced[20]](_0x1ced[8],auth[_0x1ced[5]](),controller[_0x1ced[18]]);router[_0x1ced[22]](_0x1ced[4],auth[_0x1ced[5]](),controller[_0x1ced[21]]);router[_0x1ced[22]](_0x1ced[8],auth[_0x1ced[5]](),controller[_0x1ced[23]]);module[_0x1ced[24]]=router \ No newline at end of file diff --git a/server/api/freshdesk_account/index.spec.js b/server/api/freshdesk_account/index.spec.js index b32ee88..1a56fa1 100644 --- a/server/api/freshdesk_account/index.spec.js +++ b/server/api/freshdesk_account/index.spec.js @@ -1 +1 @@ -var _0xc099=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6E\x6F\x50\x72\x65\x73\x65\x72\x76\x65\x43\x61\x63\x68\x65","\x70\x72\x6F\x78\x79\x71\x75\x69\x72\x65","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74\x43\x74\x72\x6C\x2E\x69\x6E\x64\x65\x78","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74\x43\x74\x72\x6C\x2E\x73\x68\x6F\x77","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74\x43\x74\x72\x6C\x2E\x63\x72\x65\x61\x74\x65","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74\x43\x74\x72\x6C\x2E\x75\x70\x64\x61\x74\x65","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74\x43\x74\x72\x6C\x2E\x64\x65\x73\x74\x72\x6F\x79","\x73\x70\x79","\x2E\x2F\x69\x6E\x64\x65\x78\x2E\x6A\x73","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74\x20\x41\x50\x49\x20\x52\x6F\x75\x74\x65\x72\x3A","\x73\x68\x6F\x75\x6C\x64\x20\x72\x65\x74\x75\x72\x6E\x20\x61\x6E\x20\x65\x78\x70\x72\x65\x73\x73\x20\x72\x6F\x75\x74\x65\x72\x20\x69\x6E\x73\x74\x61\x6E\x63\x65","\x65\x71\x75\x61\x6C","\x74\x6F","\x47\x45\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x69\x6E\x64\x65\x78","\x63\x61\x6C\x6C\x65\x64\x4F\x6E\x63\x65","\x62\x65\x65\x6E","\x68\x61\x76\x65","\x2F","\x77\x69\x74\x68\x41\x72\x67\x73","\x67\x65\x74","\x47\x45\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x73\x68\x6F\x77","\x2F\x3A\x69\x64","\x50\x4F\x53\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x50\x55\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x50\x41\x54\x43\x48\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73\x2F\x3A\x69\x64","\x70\x61\x74\x63\x68","\x44\x45\x4C\x45\x54\x45\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65"];_0xc099[0];var proxyquire=require(_0xc099[2])[_0xc099[1]]();var freshdeskAccountCtrlStub={index:_0xc099[3],show:_0xc099[4],create:_0xc099[5],update:_0xc099[6],destroy:_0xc099[7]};var routerStub={get:sinon[_0xc099[8]](),put:sinon[_0xc099[8]](),patch:sinon[_0xc099[8]](),post:sinon[_0xc099[8]](),delete:sinon[_0xc099[8]]()};var freshdeskAccountIndex=proxyquire(_0xc099[9],{"\x65\x78\x70\x72\x65\x73\x73":{Router:function(){return routerStub}},"\x2E\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72":freshdeskAccountCtrlStub});describe(_0xc099[10],function(){it(_0xc099[11],function(){expect(freshdeskAccountIndex)[_0xc099[13]][_0xc099[12]](routerStub)});describe(_0xc099[14],function(){it(_0xc099[15],function(){expect(routerStub[_0xc099[21]][_0xc099[20]](_0xc099[19],_0xc099[3]))[_0xc099[13]][_0xc099[18]][_0xc099[17]][_0xc099[16]]})});describe(_0xc099[22],function(){it(_0xc099[23],function(){expect(routerStub[_0xc099[21]][_0xc099[20]](_0xc099[24],_0xc099[4]))[_0xc099[13]][_0xc099[18]][_0xc099[17]][_0xc099[16]]})});describe(_0xc099[25],function(){it(_0xc099[26],function(){expect(routerStub[_0xc099[27]][_0xc099[20]](_0xc099[19],_0xc099[5]))[_0xc099[13]][_0xc099[18]][_0xc099[17]][_0xc099[16]]})});describe(_0xc099[28],function(){it(_0xc099[29],function(){expect(routerStub[_0xc099[30]][_0xc099[20]](_0xc099[24],_0xc099[6]))[_0xc099[13]][_0xc099[18]][_0xc099[17]][_0xc099[16]]})});describe(_0xc099[31],function(){it(_0xc099[29],function(){expect(routerStub[_0xc099[32]][_0xc099[20]](_0xc099[24],_0xc099[6]))[_0xc099[13]][_0xc099[18]][_0xc099[17]][_0xc099[16]]})});describe(_0xc099[33],function(){it(_0xc099[34],function(){expect(routerStub[_0xc099[35]][_0xc099[20]](_0xc099[24],_0xc099[7]))[_0xc099[13]][_0xc099[18]][_0xc099[17]][_0xc099[16]]})})}) \ No newline at end of file +var _0x75cf=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6E\x6F\x50\x72\x65\x73\x65\x72\x76\x65\x43\x61\x63\x68\x65","\x70\x72\x6F\x78\x79\x71\x75\x69\x72\x65","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74\x43\x74\x72\x6C\x2E\x69\x6E\x64\x65\x78","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74\x43\x74\x72\x6C\x2E\x73\x68\x6F\x77","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74\x43\x74\x72\x6C\x2E\x63\x72\x65\x61\x74\x65","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74\x43\x74\x72\x6C\x2E\x75\x70\x64\x61\x74\x65","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74\x43\x74\x72\x6C\x2E\x64\x65\x73\x74\x72\x6F\x79","\x73\x70\x79","\x2E\x2F\x69\x6E\x64\x65\x78\x2E\x6A\x73","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74\x20\x41\x50\x49\x20\x52\x6F\x75\x74\x65\x72\x3A","\x73\x68\x6F\x75\x6C\x64\x20\x72\x65\x74\x75\x72\x6E\x20\x61\x6E\x20\x65\x78\x70\x72\x65\x73\x73\x20\x72\x6F\x75\x74\x65\x72\x20\x69\x6E\x73\x74\x61\x6E\x63\x65","\x65\x71\x75\x61\x6C","\x74\x6F","\x47\x45\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x69\x6E\x64\x65\x78","\x63\x61\x6C\x6C\x65\x64\x4F\x6E\x63\x65","\x62\x65\x65\x6E","\x68\x61\x76\x65","\x2F","\x77\x69\x74\x68\x41\x72\x67\x73","\x67\x65\x74","\x47\x45\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x73\x68\x6F\x77","\x2F\x3A\x69\x64","\x50\x4F\x53\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x50\x55\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x50\x41\x54\x43\x48\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73\x2F\x3A\x69\x64","\x70\x61\x74\x63\x68","\x44\x45\x4C\x45\x54\x45\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65"];_0x75cf[0];var proxyquire=require(_0x75cf[2])[_0x75cf[1]]();var freshdeskAccountCtrlStub={index:_0x75cf[3],show:_0x75cf[4],create:_0x75cf[5],update:_0x75cf[6],destroy:_0x75cf[7]};var routerStub={get:sinon[_0x75cf[8]](),put:sinon[_0x75cf[8]](),patch:sinon[_0x75cf[8]](),post:sinon[_0x75cf[8]](),delete:sinon[_0x75cf[8]]()};var freshdeskAccountIndex=proxyquire(_0x75cf[9],{"\x65\x78\x70\x72\x65\x73\x73":{Router:function(){return routerStub}},"\x2E\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72":freshdeskAccountCtrlStub});describe(_0x75cf[10],function(){it(_0x75cf[11],function(){expect(freshdeskAccountIndex)[_0x75cf[13]][_0x75cf[12]](routerStub)});describe(_0x75cf[14],function(){it(_0x75cf[15],function(){expect(routerStub[_0x75cf[21]][_0x75cf[20]](_0x75cf[19],_0x75cf[3]))[_0x75cf[13]][_0x75cf[18]][_0x75cf[17]][_0x75cf[16]]})});describe(_0x75cf[22],function(){it(_0x75cf[23],function(){expect(routerStub[_0x75cf[21]][_0x75cf[20]](_0x75cf[24],_0x75cf[4]))[_0x75cf[13]][_0x75cf[18]][_0x75cf[17]][_0x75cf[16]]})});describe(_0x75cf[25],function(){it(_0x75cf[26],function(){expect(routerStub[_0x75cf[27]][_0x75cf[20]](_0x75cf[19],_0x75cf[5]))[_0x75cf[13]][_0x75cf[18]][_0x75cf[17]][_0x75cf[16]]})});describe(_0x75cf[28],function(){it(_0x75cf[29],function(){expect(routerStub[_0x75cf[30]][_0x75cf[20]](_0x75cf[24],_0x75cf[6]))[_0x75cf[13]][_0x75cf[18]][_0x75cf[17]][_0x75cf[16]]})});describe(_0x75cf[31],function(){it(_0x75cf[29],function(){expect(routerStub[_0x75cf[32]][_0x75cf[20]](_0x75cf[24],_0x75cf[6]))[_0x75cf[13]][_0x75cf[18]][_0x75cf[17]][_0x75cf[16]]})});describe(_0x75cf[33],function(){it(_0x75cf[34],function(){expect(routerStub[_0x75cf[35]][_0x75cf[20]](_0x75cf[24],_0x75cf[7]))[_0x75cf[13]][_0x75cf[18]][_0x75cf[17]][_0x75cf[16]]})})}) \ No newline at end of file diff --git a/server/api/freshdesk_configuration/freshdesk_configuration.controller.js b/server/api/freshdesk_configuration/freshdesk_configuration.controller.js index 9aaf8a3..96405ef 100644 --- a/server/api/freshdesk_configuration/freshdesk_configuration.controller.js +++ b/server/api/freshdesk_configuration/freshdesk_configuration.controller.js @@ -1 +1 @@ -var _0xc83a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x71\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x53\x75\x62\x6A\x65\x63\x74","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x46\x69\x65\x6C\x64","\x66\x69\x6E\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x66\x69\x6E\x64\x42\x79\x49\x64","\x61\x64\x64\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x46\x69\x65\x6C\x64","\x73\x70\x72\x65\x61\x64","\x61\x64\x64\x53\x75\x62\x6A\x65\x63\x74","\x73\x75\x62\x6A\x65\x63\x74","\x61\x64\x64\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x61\x64\x64\x46\x69\x65\x6C\x64","\x66\x69\x65\x6C\x64","\x74\x79\x70\x65"];_0xc83a[0];var _=require(_0xc83a[1]);var FreshdeskConfiguration=require(_0xc83a[3])[_0xc83a[2]];var FreshdeskField=require(_0xc83a[3])[_0xc83a[4]];function handleError(_0xd80ax5,_0xd80ax6){_0xd80ax6=_0xd80ax6||500;return function(_0xd80ax7){_0xd80ax5[_0xc83a[6]](_0xd80ax6)[_0xc83a[5]](_0xd80ax7)}}function responseWithResult(_0xd80ax5,_0xd80ax6){_0xd80ax6=_0xd80ax6||200;return function(_0xd80ax9){if(_0xd80ax9){_0xd80ax5[_0xc83a[6]](_0xd80ax6)[_0xc83a[7]](_0xd80ax9)}}}function handleEntityNotFound(_0xd80ax5){return function(_0xd80ax9){if(!_0xd80ax9){_0xd80ax5[_0xc83a[6]](404)[_0xc83a[8]]();return null};return _0xd80ax9}}function saveUpdates(_0xd80axc){return function(_0xd80ax9){return _0xd80ax9[_0xc83a[10]](_0xd80axc)[_0xc83a[9]](function(_0xd80axd){return _0xd80axd})}}function removeEntity(_0xd80ax5){return function(_0xd80ax9){if(_0xd80ax9){return _0xd80ax9[_0xc83a[11]]()[_0xc83a[9]](function(){_0xd80ax5[_0xc83a[6]](204)[_0xc83a[8]]()})}}}exports[_0xc83a[12]]=function(_0xd80axf,_0xd80ax5){FreshdeskConfiguration[_0xc83a[15]]({where:_0xd80axf[_0xc83a[14]]})[_0xc83a[9]](responseWithResult(_0xd80ax5))[_0xc83a[13]](handleError(_0xd80ax5))};exports[_0xc83a[16]]=function(_0xd80axf,_0xd80ax5){FreshdeskConfiguration[_0xc83a[22]]({where:{id:_0xd80axf[_0xc83a[18]][_0xc83a[17]]},include:[{model:FreshdeskField,as:_0xc83a[19]},{model:FreshdeskField,as:_0xc83a[20]},{model:FreshdeskField,as:_0xc83a[21]}]})[_0xc83a[9]](handleEntityNotFound(_0xd80ax5))[_0xc83a[9]](responseWithResult(_0xd80ax5))[_0xc83a[13]](handleError(_0xd80ax5))};exports[_0xc83a[23]]=function(_0xd80axf,_0xd80ax5){FreshdeskConfiguration[_0xc83a[23]](_0xd80axf[_0xc83a[24]])[_0xc83a[9]](responseWithResult(_0xd80ax5,201))[_0xc83a[13]](handleError(_0xd80ax5))};exports[_0xc83a[25]]=function(_0xd80axf,_0xd80ax5){if(_0xd80axf[_0xc83a[24]][_0xc83a[17]]){delete _0xd80axf[_0xc83a[24]][_0xc83a[17]]};FreshdeskConfiguration[_0xc83a[26]](_0xd80axf[_0xc83a[18]][_0xc83a[17]])[_0xc83a[9]](handleEntityNotFound(_0xd80ax5))[_0xc83a[9]](saveUpdates(_0xd80axf[_0xc83a[24]]))[_0xc83a[9]](responseWithResult(_0xd80ax5))[_0xc83a[13]](handleError(_0xd80ax5))};exports[_0xc83a[11]]=function(_0xd80axf,_0xd80ax5){FreshdeskConfiguration[_0xc83a[26]](_0xd80axf[_0xc83a[18]][_0xc83a[17]])[_0xc83a[9]](handleEntityNotFound(_0xd80ax5))[_0xc83a[9]](removeEntity(_0xd80ax5))[_0xc83a[13]](handleError(_0xd80ax5))};exports[_0xc83a[27]]=function(_0xd80axf,_0xd80ax5,_0xd80ax10){var _0xd80ax11;FreshdeskConfiguration[_0xc83a[26]](_0xd80axf[_0xc83a[18]][_0xc83a[17]])[_0xc83a[9]](handleEntityNotFound(_0xd80ax5))[_0xc83a[9]](function(_0xd80ax14){_0xd80ax11=_0xd80ax14;return FreshdeskField[_0xc83a[23]](_0xd80axf[_0xc83a[24]])})[_0xc83a[9]](function(_0xd80ax13){switch(_0xd80axf[_0xc83a[18]][_0xc83a[35]]){case _0xc83a[30]:return [_0xd80ax11[_0xc83a[29]](_0xd80ax13),_0xd80ax13];case _0xc83a[32]:return [_0xd80ax11[_0xc83a[31]](_0xd80ax13),_0xd80ax13];case _0xc83a[34]:return [_0xd80ax11[_0xc83a[33]](_0xd80ax13),_0xd80ax13]}})[_0xc83a[28]](function(_0xd80ax12,_0xd80ax13){return _0xd80ax5[_0xc83a[6]](201)[_0xc83a[7]](_0xd80ax13)})[_0xc83a[13]](handleError(_0xd80ax5))} \ No newline at end of file +var _0x89f9=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x71\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x53\x75\x62\x6A\x65\x63\x74","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x46\x69\x65\x6C\x64","\x66\x69\x6E\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x66\x69\x6E\x64\x42\x79\x49\x64","\x61\x64\x64\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x46\x69\x65\x6C\x64","\x73\x70\x72\x65\x61\x64","\x61\x64\x64\x53\x75\x62\x6A\x65\x63\x74","\x73\x75\x62\x6A\x65\x63\x74","\x61\x64\x64\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x61\x64\x64\x46\x69\x65\x6C\x64","\x66\x69\x65\x6C\x64","\x74\x79\x70\x65"];_0x89f9[0];var _=require(_0x89f9[1]);var FreshdeskConfiguration=require(_0x89f9[3])[_0x89f9[2]];var FreshdeskField=require(_0x89f9[3])[_0x89f9[4]];function handleError(_0x60dbx5,_0x60dbx6){_0x60dbx6=_0x60dbx6||500;return function(_0x60dbx7){_0x60dbx5[_0x89f9[6]](_0x60dbx6)[_0x89f9[5]](_0x60dbx7)}}function responseWithResult(_0x60dbx5,_0x60dbx6){_0x60dbx6=_0x60dbx6||200;return function(_0x60dbx9){if(_0x60dbx9){_0x60dbx5[_0x89f9[6]](_0x60dbx6)[_0x89f9[7]](_0x60dbx9)}}}function handleEntityNotFound(_0x60dbx5){return function(_0x60dbx9){if(!_0x60dbx9){_0x60dbx5[_0x89f9[6]](404)[_0x89f9[8]]();return null};return _0x60dbx9}}function saveUpdates(_0x60dbxc){return function(_0x60dbx9){return _0x60dbx9[_0x89f9[10]](_0x60dbxc)[_0x89f9[9]](function(_0x60dbxd){return _0x60dbxd})}}function removeEntity(_0x60dbx5){return function(_0x60dbx9){if(_0x60dbx9){return _0x60dbx9[_0x89f9[11]]()[_0x89f9[9]](function(){_0x60dbx5[_0x89f9[6]](204)[_0x89f9[8]]()})}}}exports[_0x89f9[12]]=function(_0x60dbxf,_0x60dbx5){FreshdeskConfiguration[_0x89f9[15]]({where:_0x60dbxf[_0x89f9[14]]})[_0x89f9[9]](responseWithResult(_0x60dbx5))[_0x89f9[13]](handleError(_0x60dbx5))};exports[_0x89f9[16]]=function(_0x60dbxf,_0x60dbx5){FreshdeskConfiguration[_0x89f9[22]]({where:{id:_0x60dbxf[_0x89f9[18]][_0x89f9[17]]},include:[{model:FreshdeskField,as:_0x89f9[19]},{model:FreshdeskField,as:_0x89f9[20]},{model:FreshdeskField,as:_0x89f9[21]}]})[_0x89f9[9]](handleEntityNotFound(_0x60dbx5))[_0x89f9[9]](responseWithResult(_0x60dbx5))[_0x89f9[13]](handleError(_0x60dbx5))};exports[_0x89f9[23]]=function(_0x60dbxf,_0x60dbx5){FreshdeskConfiguration[_0x89f9[23]](_0x60dbxf[_0x89f9[24]])[_0x89f9[9]](responseWithResult(_0x60dbx5,201))[_0x89f9[13]](handleError(_0x60dbx5))};exports[_0x89f9[25]]=function(_0x60dbxf,_0x60dbx5){if(_0x60dbxf[_0x89f9[24]][_0x89f9[17]]){delete _0x60dbxf[_0x89f9[24]][_0x89f9[17]]};FreshdeskConfiguration[_0x89f9[26]](_0x60dbxf[_0x89f9[18]][_0x89f9[17]])[_0x89f9[9]](handleEntityNotFound(_0x60dbx5))[_0x89f9[9]](saveUpdates(_0x60dbxf[_0x89f9[24]]))[_0x89f9[9]](responseWithResult(_0x60dbx5))[_0x89f9[13]](handleError(_0x60dbx5))};exports[_0x89f9[11]]=function(_0x60dbxf,_0x60dbx5){FreshdeskConfiguration[_0x89f9[26]](_0x60dbxf[_0x89f9[18]][_0x89f9[17]])[_0x89f9[9]](handleEntityNotFound(_0x60dbx5))[_0x89f9[9]](removeEntity(_0x60dbx5))[_0x89f9[13]](handleError(_0x60dbx5))};exports[_0x89f9[27]]=function(_0x60dbxf,_0x60dbx5,_0x60dbx10){var _0x60dbx11;FreshdeskConfiguration[_0x89f9[26]](_0x60dbxf[_0x89f9[18]][_0x89f9[17]])[_0x89f9[9]](handleEntityNotFound(_0x60dbx5))[_0x89f9[9]](function(_0x60dbx14){_0x60dbx11=_0x60dbx14;return FreshdeskField[_0x89f9[23]](_0x60dbxf[_0x89f9[24]])})[_0x89f9[9]](function(_0x60dbx13){switch(_0x60dbxf[_0x89f9[18]][_0x89f9[35]]){case _0x89f9[30]:return [_0x60dbx11[_0x89f9[29]](_0x60dbx13),_0x60dbx13];case _0x89f9[32]:return [_0x60dbx11[_0x89f9[31]](_0x60dbx13),_0x60dbx13];case _0x89f9[34]:return [_0x60dbx11[_0x89f9[33]](_0x60dbx13),_0x60dbx13]}})[_0x89f9[28]](function(_0x60dbx12,_0x60dbx13){return _0x60dbx5[_0x89f9[6]](201)[_0x89f9[7]](_0x60dbx13)})[_0x89f9[13]](handleError(_0x60dbx5))} \ No newline at end of file diff --git a/server/api/freshdesk_configuration/freshdesk_configuration.socket.js b/server/api/freshdesk_configuration/freshdesk_configuration.socket.js index a82ca39..b720a0b 100644 --- a/server/api/freshdesk_configuration/freshdesk_configuration.socket.js +++ b/server/api/freshdesk_configuration/freshdesk_configuration.socket.js @@ -1 +1 @@ -var _0x8177=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x8177[0];var FreshdeskConfiguration=require(_0x8177[2])[_0x8177[1]];exports[_0x8177[3]]=function(_0xd74dx2){FreshdeskConfiguration[_0x8177[4]](function(_0xd74dx3){onSave(_0xd74dx2,_0xd74dx3)});FreshdeskConfiguration[_0x8177[5]](function(_0xd74dx3){onRemove(_0xd74dx2,_0xd74dx3)})};function onSave(_0xd74dx2,_0xd74dx3,_0xd74dx5){_0xd74dx2[_0x8177[7]](_0x8177[6],_0xd74dx3)}function onRemove(_0xd74dx2,_0xd74dx3,_0xd74dx5){_0xd74dx2[_0x8177[7]](_0x8177[8],_0xd74dx3)} \ No newline at end of file +var _0x451a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x451a[0];var FreshdeskConfiguration=require(_0x451a[2])[_0x451a[1]];exports[_0x451a[3]]=function(_0xc678x2){FreshdeskConfiguration[_0x451a[4]](function(_0xc678x3){onSave(_0xc678x2,_0xc678x3)});FreshdeskConfiguration[_0x451a[5]](function(_0xc678x3){onRemove(_0xc678x2,_0xc678x3)})};function onSave(_0xc678x2,_0xc678x3,_0xc678x5){_0xc678x2[_0x451a[7]](_0x451a[6],_0xc678x3)}function onRemove(_0xc678x2,_0xc678x3,_0xc678x5){_0xc678x2[_0x451a[7]](_0x451a[8],_0xc678x3)} \ No newline at end of file diff --git a/server/api/freshdesk_configuration/index.js b/server/api/freshdesk_configuration/index.js index 416746b..7a6f587 100644 --- a/server/api/freshdesk_configuration/index.js +++ b/server/api/freshdesk_configuration/index.js @@ -1 +1 @@ -var _0xde96=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x2F\x3A\x69\x64\x2F\x3A\x74\x79\x70\x65","\x61\x64\x64\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x46\x69\x65\x6C\x64","\x70\x61\x74\x63\x68","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xde96[0];var express=require(_0xde96[1]);var auth=require(_0xde96[2]);var controller=require(_0xde96[3]);var router=express.Router();router[_0xde96[7]](_0xde96[4],auth[_0xde96[5]](),controller[_0xde96[6]]);router[_0xde96[7]](_0xde96[8],auth[_0xde96[5]](),controller[_0xde96[9]]);router[_0xde96[11]](_0xde96[4],auth[_0xde96[5]](),controller[_0xde96[10]]);router[_0xde96[13]](_0xde96[8],auth[_0xde96[5]](),controller[_0xde96[12]]);router[_0xde96[11]](_0xde96[14],auth[_0xde96[5]](),controller[_0xde96[15]]);router[_0xde96[16]](_0xde96[8],auth[_0xde96[5]](),controller[_0xde96[12]]);router[_0xde96[18]](_0xde96[8],auth[_0xde96[5]](),controller[_0xde96[17]]);module[_0xde96[19]]=router \ No newline at end of file +var _0x926a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x2F\x3A\x69\x64\x2F\x3A\x74\x79\x70\x65","\x61\x64\x64\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x46\x69\x65\x6C\x64","\x70\x61\x74\x63\x68","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x926a[0];var express=require(_0x926a[1]);var auth=require(_0x926a[2]);var controller=require(_0x926a[3]);var router=express.Router();router[_0x926a[7]](_0x926a[4],auth[_0x926a[5]](),controller[_0x926a[6]]);router[_0x926a[7]](_0x926a[8],auth[_0x926a[5]](),controller[_0x926a[9]]);router[_0x926a[11]](_0x926a[4],auth[_0x926a[5]](),controller[_0x926a[10]]);router[_0x926a[13]](_0x926a[8],auth[_0x926a[5]](),controller[_0x926a[12]]);router[_0x926a[11]](_0x926a[14],auth[_0x926a[5]](),controller[_0x926a[15]]);router[_0x926a[16]](_0x926a[8],auth[_0x926a[5]](),controller[_0x926a[12]]);router[_0x926a[18]](_0x926a[8],auth[_0x926a[5]](),controller[_0x926a[17]]);module[_0x926a[19]]=router \ No newline at end of file diff --git a/server/api/freshdesk_configuration/index.spec.js b/server/api/freshdesk_configuration/index.spec.js index c127c57..50ca6d3 100644 --- a/server/api/freshdesk_configuration/index.spec.js +++ b/server/api/freshdesk_configuration/index.spec.js @@ -1 +1 @@ -var _0x4eff=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6E\x6F\x50\x72\x65\x73\x65\x72\x76\x65\x43\x61\x63\x68\x65","\x70\x72\x6F\x78\x79\x71\x75\x69\x72\x65","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x43\x74\x72\x6C\x2E\x69\x6E\x64\x65\x78","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x43\x74\x72\x6C\x2E\x73\x68\x6F\x77","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x43\x74\x72\x6C\x2E\x63\x72\x65\x61\x74\x65","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x43\x74\x72\x6C\x2E\x75\x70\x64\x61\x74\x65","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x43\x74\x72\x6C\x2E\x64\x65\x73\x74\x72\x6F\x79","\x73\x70\x79","\x2E\x2F\x69\x6E\x64\x65\x78\x2E\x6A\x73","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x20\x41\x50\x49\x20\x52\x6F\x75\x74\x65\x72\x3A","\x73\x68\x6F\x75\x6C\x64\x20\x72\x65\x74\x75\x72\x6E\x20\x61\x6E\x20\x65\x78\x70\x72\x65\x73\x73\x20\x72\x6F\x75\x74\x65\x72\x20\x69\x6E\x73\x74\x61\x6E\x63\x65","\x65\x71\x75\x61\x6C","\x74\x6F","\x47\x45\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x69\x6E\x64\x65\x78","\x63\x61\x6C\x6C\x65\x64\x4F\x6E\x63\x65","\x62\x65\x65\x6E","\x68\x61\x76\x65","\x2F","\x77\x69\x74\x68\x41\x72\x67\x73","\x67\x65\x74","\x47\x45\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x73\x68\x6F\x77","\x2F\x3A\x69\x64","\x50\x4F\x53\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x50\x55\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x50\x41\x54\x43\x48\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x69\x64","\x70\x61\x74\x63\x68","\x44\x45\x4C\x45\x54\x45\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65"];_0x4eff[0];var proxyquire=require(_0x4eff[2])[_0x4eff[1]]();var freshdeskConfigurationCtrlStub={index:_0x4eff[3],show:_0x4eff[4],create:_0x4eff[5],update:_0x4eff[6],destroy:_0x4eff[7]};var routerStub={get:sinon[_0x4eff[8]](),put:sinon[_0x4eff[8]](),patch:sinon[_0x4eff[8]](),post:sinon[_0x4eff[8]](),delete:sinon[_0x4eff[8]]()};var freshdeskConfigurationIndex=proxyquire(_0x4eff[9],{"\x65\x78\x70\x72\x65\x73\x73":{Router:function(){return routerStub}},"\x2E\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72":freshdeskConfigurationCtrlStub});describe(_0x4eff[10],function(){it(_0x4eff[11],function(){expect(freshdeskConfigurationIndex)[_0x4eff[13]][_0x4eff[12]](routerStub)});describe(_0x4eff[14],function(){it(_0x4eff[15],function(){expect(routerStub[_0x4eff[21]][_0x4eff[20]](_0x4eff[19],_0x4eff[3]))[_0x4eff[13]][_0x4eff[18]][_0x4eff[17]][_0x4eff[16]]})});describe(_0x4eff[22],function(){it(_0x4eff[23],function(){expect(routerStub[_0x4eff[21]][_0x4eff[20]](_0x4eff[24],_0x4eff[4]))[_0x4eff[13]][_0x4eff[18]][_0x4eff[17]][_0x4eff[16]]})});describe(_0x4eff[25],function(){it(_0x4eff[26],function(){expect(routerStub[_0x4eff[27]][_0x4eff[20]](_0x4eff[19],_0x4eff[5]))[_0x4eff[13]][_0x4eff[18]][_0x4eff[17]][_0x4eff[16]]})});describe(_0x4eff[28],function(){it(_0x4eff[29],function(){expect(routerStub[_0x4eff[30]][_0x4eff[20]](_0x4eff[24],_0x4eff[6]))[_0x4eff[13]][_0x4eff[18]][_0x4eff[17]][_0x4eff[16]]})});describe(_0x4eff[31],function(){it(_0x4eff[29],function(){expect(routerStub[_0x4eff[32]][_0x4eff[20]](_0x4eff[24],_0x4eff[6]))[_0x4eff[13]][_0x4eff[18]][_0x4eff[17]][_0x4eff[16]]})});describe(_0x4eff[33],function(){it(_0x4eff[34],function(){expect(routerStub[_0x4eff[35]][_0x4eff[20]](_0x4eff[24],_0x4eff[7]))[_0x4eff[13]][_0x4eff[18]][_0x4eff[17]][_0x4eff[16]]})})}) \ No newline at end of file +var _0xd0ca=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6E\x6F\x50\x72\x65\x73\x65\x72\x76\x65\x43\x61\x63\x68\x65","\x70\x72\x6F\x78\x79\x71\x75\x69\x72\x65","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x43\x74\x72\x6C\x2E\x69\x6E\x64\x65\x78","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x43\x74\x72\x6C\x2E\x73\x68\x6F\x77","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x43\x74\x72\x6C\x2E\x63\x72\x65\x61\x74\x65","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x43\x74\x72\x6C\x2E\x75\x70\x64\x61\x74\x65","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x43\x74\x72\x6C\x2E\x64\x65\x73\x74\x72\x6F\x79","\x73\x70\x79","\x2E\x2F\x69\x6E\x64\x65\x78\x2E\x6A\x73","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x20\x41\x50\x49\x20\x52\x6F\x75\x74\x65\x72\x3A","\x73\x68\x6F\x75\x6C\x64\x20\x72\x65\x74\x75\x72\x6E\x20\x61\x6E\x20\x65\x78\x70\x72\x65\x73\x73\x20\x72\x6F\x75\x74\x65\x72\x20\x69\x6E\x73\x74\x61\x6E\x63\x65","\x65\x71\x75\x61\x6C","\x74\x6F","\x47\x45\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x69\x6E\x64\x65\x78","\x63\x61\x6C\x6C\x65\x64\x4F\x6E\x63\x65","\x62\x65\x65\x6E","\x68\x61\x76\x65","\x2F","\x77\x69\x74\x68\x41\x72\x67\x73","\x67\x65\x74","\x47\x45\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x73\x68\x6F\x77","\x2F\x3A\x69\x64","\x50\x4F\x53\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x50\x55\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x50\x41\x54\x43\x48\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x69\x64","\x70\x61\x74\x63\x68","\x44\x45\x4C\x45\x54\x45\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65"];_0xd0ca[0];var proxyquire=require(_0xd0ca[2])[_0xd0ca[1]]();var freshdeskConfigurationCtrlStub={index:_0xd0ca[3],show:_0xd0ca[4],create:_0xd0ca[5],update:_0xd0ca[6],destroy:_0xd0ca[7]};var routerStub={get:sinon[_0xd0ca[8]](),put:sinon[_0xd0ca[8]](),patch:sinon[_0xd0ca[8]](),post:sinon[_0xd0ca[8]](),delete:sinon[_0xd0ca[8]]()};var freshdeskConfigurationIndex=proxyquire(_0xd0ca[9],{"\x65\x78\x70\x72\x65\x73\x73":{Router:function(){return routerStub}},"\x2E\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72":freshdeskConfigurationCtrlStub});describe(_0xd0ca[10],function(){it(_0xd0ca[11],function(){expect(freshdeskConfigurationIndex)[_0xd0ca[13]][_0xd0ca[12]](routerStub)});describe(_0xd0ca[14],function(){it(_0xd0ca[15],function(){expect(routerStub[_0xd0ca[21]][_0xd0ca[20]](_0xd0ca[19],_0xd0ca[3]))[_0xd0ca[13]][_0xd0ca[18]][_0xd0ca[17]][_0xd0ca[16]]})});describe(_0xd0ca[22],function(){it(_0xd0ca[23],function(){expect(routerStub[_0xd0ca[21]][_0xd0ca[20]](_0xd0ca[24],_0xd0ca[4]))[_0xd0ca[13]][_0xd0ca[18]][_0xd0ca[17]][_0xd0ca[16]]})});describe(_0xd0ca[25],function(){it(_0xd0ca[26],function(){expect(routerStub[_0xd0ca[27]][_0xd0ca[20]](_0xd0ca[19],_0xd0ca[5]))[_0xd0ca[13]][_0xd0ca[18]][_0xd0ca[17]][_0xd0ca[16]]})});describe(_0xd0ca[28],function(){it(_0xd0ca[29],function(){expect(routerStub[_0xd0ca[30]][_0xd0ca[20]](_0xd0ca[24],_0xd0ca[6]))[_0xd0ca[13]][_0xd0ca[18]][_0xd0ca[17]][_0xd0ca[16]]})});describe(_0xd0ca[31],function(){it(_0xd0ca[29],function(){expect(routerStub[_0xd0ca[32]][_0xd0ca[20]](_0xd0ca[24],_0xd0ca[6]))[_0xd0ca[13]][_0xd0ca[18]][_0xd0ca[17]][_0xd0ca[16]]})});describe(_0xd0ca[33],function(){it(_0xd0ca[34],function(){expect(routerStub[_0xd0ca[35]][_0xd0ca[20]](_0xd0ca[24],_0xd0ca[7]))[_0xd0ca[13]][_0xd0ca[18]][_0xd0ca[17]][_0xd0ca[16]]})})}) \ No newline at end of file diff --git a/server/api/freshdesk_field/freshdesk_field.controller.js b/server/api/freshdesk_field/freshdesk_field.controller.js index 70b0f52..4eef811 100644 --- a/server/api/freshdesk_field/freshdesk_field.controller.js +++ b/server/api/freshdesk_field/freshdesk_field.controller.js @@ -1 +1 @@ -var _0x6a2d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65"];_0x6a2d[0];var _=require(_0x6a2d[1]);var FreshdeskField=require(_0x6a2d[3])[_0x6a2d[2]];function handleError(_0x81a7x4,_0x81a7x5){_0x81a7x5=_0x81a7x5||500;return function(_0x81a7x6){_0x81a7x4[_0x6a2d[5]](_0x81a7x5)[_0x6a2d[4]](_0x81a7x6)}}function responseWithResult(_0x81a7x4,_0x81a7x5){_0x81a7x5=_0x81a7x5||200;return function(_0x81a7x8){if(_0x81a7x8){_0x81a7x4[_0x6a2d[5]](_0x81a7x5)[_0x6a2d[6]](_0x81a7x8)}}}function handleEntityNotFound(_0x81a7x4){return function(_0x81a7x8){if(!_0x81a7x8){_0x81a7x4[_0x6a2d[5]](404)[_0x6a2d[7]]();return null};return _0x81a7x8}}function saveUpdates(_0x81a7xb){return function(_0x81a7x8){return _0x81a7x8[_0x6a2d[9]](_0x81a7xb)[_0x6a2d[8]](function(_0x81a7xc){return _0x81a7xc})}}function removeEntity(_0x81a7x4){return function(_0x81a7x8){if(_0x81a7x8){return _0x81a7x8[_0x6a2d[10]]()[_0x6a2d[8]](function(){_0x81a7x4[_0x6a2d[5]](204)[_0x6a2d[7]]()})}}}exports[_0x6a2d[11]]=function(_0x81a7xe,_0x81a7x4){FreshdeskField[_0x6a2d[13]]()[_0x6a2d[8]](responseWithResult(_0x81a7x4))[_0x6a2d[12]](handleError(_0x81a7x4))};exports[_0x6a2d[14]]=function(_0x81a7xe,_0x81a7x4){FreshdeskField[_0x6a2d[17]](_0x81a7xe[_0x6a2d[16]][_0x6a2d[15]])[_0x6a2d[8]](handleEntityNotFound(_0x81a7x4))[_0x6a2d[8]](responseWithResult(_0x81a7x4))[_0x6a2d[12]](handleError(_0x81a7x4))};exports[_0x6a2d[18]]=function(_0x81a7xe,_0x81a7x4){FreshdeskField[_0x6a2d[18]](_0x81a7xe[_0x6a2d[19]])[_0x6a2d[8]](responseWithResult(_0x81a7x4,201))[_0x6a2d[12]](handleError(_0x81a7x4))};exports[_0x6a2d[20]]=function(_0x81a7xe,_0x81a7x4){if(_0x81a7xe[_0x6a2d[19]][_0x6a2d[15]]){delete _0x81a7xe[_0x6a2d[19]][_0x6a2d[15]]};FreshdeskField[_0x6a2d[17]](_0x81a7xe[_0x6a2d[16]][_0x6a2d[15]])[_0x6a2d[8]](handleEntityNotFound(_0x81a7x4))[_0x6a2d[8]](saveUpdates(_0x81a7xe[_0x6a2d[19]]))[_0x6a2d[8]](responseWithResult(_0x81a7x4))[_0x6a2d[12]](handleError(_0x81a7x4))};exports[_0x6a2d[10]]=function(_0x81a7xe,_0x81a7x4){FreshdeskField[_0x6a2d[17]](_0x81a7xe[_0x6a2d[16]][_0x6a2d[15]])[_0x6a2d[8]](handleEntityNotFound(_0x81a7x4))[_0x6a2d[8]](removeEntity(_0x81a7x4))[_0x6a2d[12]](handleError(_0x81a7x4))} \ No newline at end of file +var _0x4533=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65"];_0x4533[0];var _=require(_0x4533[1]);var FreshdeskField=require(_0x4533[3])[_0x4533[2]];function handleError(_0xb66bx4,_0xb66bx5){_0xb66bx5=_0xb66bx5||500;return function(_0xb66bx6){_0xb66bx4[_0x4533[5]](_0xb66bx5)[_0x4533[4]](_0xb66bx6)}}function responseWithResult(_0xb66bx4,_0xb66bx5){_0xb66bx5=_0xb66bx5||200;return function(_0xb66bx8){if(_0xb66bx8){_0xb66bx4[_0x4533[5]](_0xb66bx5)[_0x4533[6]](_0xb66bx8)}}}function handleEntityNotFound(_0xb66bx4){return function(_0xb66bx8){if(!_0xb66bx8){_0xb66bx4[_0x4533[5]](404)[_0x4533[7]]();return null};return _0xb66bx8}}function saveUpdates(_0xb66bxb){return function(_0xb66bx8){return _0xb66bx8[_0x4533[9]](_0xb66bxb)[_0x4533[8]](function(_0xb66bxc){return _0xb66bxc})}}function removeEntity(_0xb66bx4){return function(_0xb66bx8){if(_0xb66bx8){return _0xb66bx8[_0x4533[10]]()[_0x4533[8]](function(){_0xb66bx4[_0x4533[5]](204)[_0x4533[7]]()})}}}exports[_0x4533[11]]=function(_0xb66bxe,_0xb66bx4){FreshdeskField[_0x4533[13]]()[_0x4533[8]](responseWithResult(_0xb66bx4))[_0x4533[12]](handleError(_0xb66bx4))};exports[_0x4533[14]]=function(_0xb66bxe,_0xb66bx4){FreshdeskField[_0x4533[17]](_0xb66bxe[_0x4533[16]][_0x4533[15]])[_0x4533[8]](handleEntityNotFound(_0xb66bx4))[_0x4533[8]](responseWithResult(_0xb66bx4))[_0x4533[12]](handleError(_0xb66bx4))};exports[_0x4533[18]]=function(_0xb66bxe,_0xb66bx4){FreshdeskField[_0x4533[18]](_0xb66bxe[_0x4533[19]])[_0x4533[8]](responseWithResult(_0xb66bx4,201))[_0x4533[12]](handleError(_0xb66bx4))};exports[_0x4533[20]]=function(_0xb66bxe,_0xb66bx4){if(_0xb66bxe[_0x4533[19]][_0x4533[15]]){delete _0xb66bxe[_0x4533[19]][_0x4533[15]]};FreshdeskField[_0x4533[17]](_0xb66bxe[_0x4533[16]][_0x4533[15]])[_0x4533[8]](handleEntityNotFound(_0xb66bx4))[_0x4533[8]](saveUpdates(_0xb66bxe[_0x4533[19]]))[_0x4533[8]](responseWithResult(_0xb66bx4))[_0x4533[12]](handleError(_0xb66bx4))};exports[_0x4533[10]]=function(_0xb66bxe,_0xb66bx4){FreshdeskField[_0x4533[17]](_0xb66bxe[_0x4533[16]][_0x4533[15]])[_0x4533[8]](handleEntityNotFound(_0xb66bx4))[_0x4533[8]](removeEntity(_0xb66bx4))[_0x4533[12]](handleError(_0xb66bx4))} \ No newline at end of file diff --git a/server/api/freshdesk_field/freshdesk_field.socket.js b/server/api/freshdesk_field/freshdesk_field.socket.js index 38ee396..7e8fee6 100644 --- a/server/api/freshdesk_field/freshdesk_field.socket.js +++ b/server/api/freshdesk_field/freshdesk_field.socket.js @@ -1 +1 @@ -var _0xff34=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x3A\x72\x65\x6D\x6F\x76\x65"];_0xff34[0];var FreshdeskField=require(_0xff34[2])[_0xff34[1]];exports[_0xff34[3]]=function(_0x7282x2){FreshdeskField[_0xff34[4]](function(_0x7282x3){onSave(_0x7282x2,_0x7282x3)});FreshdeskField[_0xff34[5]](function(_0x7282x3){onRemove(_0x7282x2,_0x7282x3)})};function onSave(_0x7282x2,_0x7282x3,_0x7282x5){_0x7282x2[_0xff34[7]](_0xff34[6],_0x7282x3)}function onRemove(_0x7282x2,_0x7282x3,_0x7282x5){_0x7282x2[_0xff34[7]](_0xff34[8],_0x7282x3)} \ No newline at end of file +var _0xed71=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x3A\x72\x65\x6D\x6F\x76\x65"];_0xed71[0];var FreshdeskField=require(_0xed71[2])[_0xed71[1]];exports[_0xed71[3]]=function(_0x2edbx2){FreshdeskField[_0xed71[4]](function(_0x2edbx3){onSave(_0x2edbx2,_0x2edbx3)});FreshdeskField[_0xed71[5]](function(_0x2edbx3){onRemove(_0x2edbx2,_0x2edbx3)})};function onSave(_0x2edbx2,_0x2edbx3,_0x2edbx5){_0x2edbx2[_0xed71[7]](_0xed71[6],_0x2edbx3)}function onRemove(_0x2edbx2,_0x2edbx3,_0x2edbx5){_0x2edbx2[_0xed71[7]](_0xed71[8],_0x2edbx3)} \ No newline at end of file diff --git a/server/api/freshdesk_field/index.js b/server/api/freshdesk_field/index.js index c77c42f..f3530b4 100644 --- a/server/api/freshdesk_field/index.js +++ b/server/api/freshdesk_field/index.js @@ -1 +1 @@ -var _0x1d63=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x1d63[0];var express=require(_0x1d63[1]);var auth=require(_0x1d63[2]);var controller=require(_0x1d63[3]);var router=express.Router();router[_0x1d63[7]](_0x1d63[4],auth[_0x1d63[5]](),controller[_0x1d63[6]]);router[_0x1d63[7]](_0x1d63[8],auth[_0x1d63[5]](),controller[_0x1d63[9]]);router[_0x1d63[11]](_0x1d63[4],auth[_0x1d63[5]](),controller[_0x1d63[10]]);router[_0x1d63[13]](_0x1d63[8],auth[_0x1d63[5]](),controller[_0x1d63[12]]);router[_0x1d63[14]](_0x1d63[8],auth[_0x1d63[5]](),controller[_0x1d63[12]]);router[_0x1d63[16]](_0x1d63[8],auth[_0x1d63[5]](),controller[_0x1d63[15]]);module[_0x1d63[17]]=router \ No newline at end of file +var _0xd4e2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xd4e2[0];var express=require(_0xd4e2[1]);var auth=require(_0xd4e2[2]);var controller=require(_0xd4e2[3]);var router=express.Router();router[_0xd4e2[7]](_0xd4e2[4],auth[_0xd4e2[5]](),controller[_0xd4e2[6]]);router[_0xd4e2[7]](_0xd4e2[8],auth[_0xd4e2[5]](),controller[_0xd4e2[9]]);router[_0xd4e2[11]](_0xd4e2[4],auth[_0xd4e2[5]](),controller[_0xd4e2[10]]);router[_0xd4e2[13]](_0xd4e2[8],auth[_0xd4e2[5]](),controller[_0xd4e2[12]]);router[_0xd4e2[14]](_0xd4e2[8],auth[_0xd4e2[5]](),controller[_0xd4e2[12]]);router[_0xd4e2[16]](_0xd4e2[8],auth[_0xd4e2[5]](),controller[_0xd4e2[15]]);module[_0xd4e2[17]]=router \ No newline at end of file diff --git a/server/api/freshdesk_field/index.spec.js b/server/api/freshdesk_field/index.spec.js index 275c0a4..3f0b59c 100644 --- a/server/api/freshdesk_field/index.spec.js +++ b/server/api/freshdesk_field/index.spec.js @@ -1 +1 @@ -var _0xd5fd=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6E\x6F\x50\x72\x65\x73\x65\x72\x76\x65\x43\x61\x63\x68\x65","\x70\x72\x6F\x78\x79\x71\x75\x69\x72\x65","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x69\x6E\x64\x65\x78","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x73\x68\x6F\x77","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x63\x72\x65\x61\x74\x65","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x75\x70\x64\x61\x74\x65","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x64\x65\x73\x74\x72\x6F\x79","\x73\x70\x79","\x2E\x2F\x69\x6E\x64\x65\x78\x2E\x6A\x73","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x20\x41\x50\x49\x20\x52\x6F\x75\x74\x65\x72\x3A","\x73\x68\x6F\x75\x6C\x64\x20\x72\x65\x74\x75\x72\x6E\x20\x61\x6E\x20\x65\x78\x70\x72\x65\x73\x73\x20\x72\x6F\x75\x74\x65\x72\x20\x69\x6E\x73\x74\x61\x6E\x63\x65","\x65\x71\x75\x61\x6C","\x74\x6F","\x47\x45\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x66\x69\x65\x6C\x64\x73","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x69\x6E\x64\x65\x78","\x63\x61\x6C\x6C\x65\x64\x4F\x6E\x63\x65","\x62\x65\x65\x6E","\x68\x61\x76\x65","\x2F","\x77\x69\x74\x68\x41\x72\x67\x73","\x67\x65\x74","\x47\x45\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x66\x69\x65\x6C\x64\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x73\x68\x6F\x77","\x2F\x3A\x69\x64","\x50\x4F\x53\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x66\x69\x65\x6C\x64\x73","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x50\x55\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x66\x69\x65\x6C\x64\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x50\x41\x54\x43\x48\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x66\x69\x65\x6C\x64\x73\x2F\x3A\x69\x64","\x70\x61\x74\x63\x68","\x44\x45\x4C\x45\x54\x45\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x66\x69\x65\x6C\x64\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65"];_0xd5fd[0];var proxyquire=require(_0xd5fd[2])[_0xd5fd[1]]();var freshdeskFieldCtrlStub={index:_0xd5fd[3],show:_0xd5fd[4],create:_0xd5fd[5],update:_0xd5fd[6],destroy:_0xd5fd[7]};var routerStub={get:sinon[_0xd5fd[8]](),put:sinon[_0xd5fd[8]](),patch:sinon[_0xd5fd[8]](),post:sinon[_0xd5fd[8]](),delete:sinon[_0xd5fd[8]]()};var freshdeskFieldIndex=proxyquire(_0xd5fd[9],{"\x65\x78\x70\x72\x65\x73\x73":{Router:function(){return routerStub}},"\x2E\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72":freshdeskFieldCtrlStub});describe(_0xd5fd[10],function(){it(_0xd5fd[11],function(){expect(freshdeskFieldIndex)[_0xd5fd[13]][_0xd5fd[12]](routerStub)});describe(_0xd5fd[14],function(){it(_0xd5fd[15],function(){expect(routerStub[_0xd5fd[21]][_0xd5fd[20]](_0xd5fd[19],_0xd5fd[3]))[_0xd5fd[13]][_0xd5fd[18]][_0xd5fd[17]][_0xd5fd[16]]})});describe(_0xd5fd[22],function(){it(_0xd5fd[23],function(){expect(routerStub[_0xd5fd[21]][_0xd5fd[20]](_0xd5fd[24],_0xd5fd[4]))[_0xd5fd[13]][_0xd5fd[18]][_0xd5fd[17]][_0xd5fd[16]]})});describe(_0xd5fd[25],function(){it(_0xd5fd[26],function(){expect(routerStub[_0xd5fd[27]][_0xd5fd[20]](_0xd5fd[19],_0xd5fd[5]))[_0xd5fd[13]][_0xd5fd[18]][_0xd5fd[17]][_0xd5fd[16]]})});describe(_0xd5fd[28],function(){it(_0xd5fd[29],function(){expect(routerStub[_0xd5fd[30]][_0xd5fd[20]](_0xd5fd[24],_0xd5fd[6]))[_0xd5fd[13]][_0xd5fd[18]][_0xd5fd[17]][_0xd5fd[16]]})});describe(_0xd5fd[31],function(){it(_0xd5fd[29],function(){expect(routerStub[_0xd5fd[32]][_0xd5fd[20]](_0xd5fd[24],_0xd5fd[6]))[_0xd5fd[13]][_0xd5fd[18]][_0xd5fd[17]][_0xd5fd[16]]})});describe(_0xd5fd[33],function(){it(_0xd5fd[34],function(){expect(routerStub[_0xd5fd[35]][_0xd5fd[20]](_0xd5fd[24],_0xd5fd[7]))[_0xd5fd[13]][_0xd5fd[18]][_0xd5fd[17]][_0xd5fd[16]]})})}) \ No newline at end of file +var _0x6cd2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6E\x6F\x50\x72\x65\x73\x65\x72\x76\x65\x43\x61\x63\x68\x65","\x70\x72\x6F\x78\x79\x71\x75\x69\x72\x65","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x69\x6E\x64\x65\x78","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x73\x68\x6F\x77","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x63\x72\x65\x61\x74\x65","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x75\x70\x64\x61\x74\x65","\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x64\x65\x73\x74\x72\x6F\x79","\x73\x70\x79","\x2E\x2F\x69\x6E\x64\x65\x78\x2E\x6A\x73","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x20\x41\x50\x49\x20\x52\x6F\x75\x74\x65\x72\x3A","\x73\x68\x6F\x75\x6C\x64\x20\x72\x65\x74\x75\x72\x6E\x20\x61\x6E\x20\x65\x78\x70\x72\x65\x73\x73\x20\x72\x6F\x75\x74\x65\x72\x20\x69\x6E\x73\x74\x61\x6E\x63\x65","\x65\x71\x75\x61\x6C","\x74\x6F","\x47\x45\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x66\x69\x65\x6C\x64\x73","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x69\x6E\x64\x65\x78","\x63\x61\x6C\x6C\x65\x64\x4F\x6E\x63\x65","\x62\x65\x65\x6E","\x68\x61\x76\x65","\x2F","\x77\x69\x74\x68\x41\x72\x67\x73","\x67\x65\x74","\x47\x45\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x66\x69\x65\x6C\x64\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x73\x68\x6F\x77","\x2F\x3A\x69\x64","\x50\x4F\x53\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x66\x69\x65\x6C\x64\x73","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x50\x55\x54\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x66\x69\x65\x6C\x64\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x50\x41\x54\x43\x48\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x66\x69\x65\x6C\x64\x73\x2F\x3A\x69\x64","\x70\x61\x74\x63\x68","\x44\x45\x4C\x45\x54\x45\x20\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x66\x69\x65\x6C\x64\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65"];_0x6cd2[0];var proxyquire=require(_0x6cd2[2])[_0x6cd2[1]]();var freshdeskFieldCtrlStub={index:_0x6cd2[3],show:_0x6cd2[4],create:_0x6cd2[5],update:_0x6cd2[6],destroy:_0x6cd2[7]};var routerStub={get:sinon[_0x6cd2[8]](),put:sinon[_0x6cd2[8]](),patch:sinon[_0x6cd2[8]](),post:sinon[_0x6cd2[8]](),delete:sinon[_0x6cd2[8]]()};var freshdeskFieldIndex=proxyquire(_0x6cd2[9],{"\x65\x78\x70\x72\x65\x73\x73":{Router:function(){return routerStub}},"\x2E\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72":freshdeskFieldCtrlStub});describe(_0x6cd2[10],function(){it(_0x6cd2[11],function(){expect(freshdeskFieldIndex)[_0x6cd2[13]][_0x6cd2[12]](routerStub)});describe(_0x6cd2[14],function(){it(_0x6cd2[15],function(){expect(routerStub[_0x6cd2[21]][_0x6cd2[20]](_0x6cd2[19],_0x6cd2[3]))[_0x6cd2[13]][_0x6cd2[18]][_0x6cd2[17]][_0x6cd2[16]]})});describe(_0x6cd2[22],function(){it(_0x6cd2[23],function(){expect(routerStub[_0x6cd2[21]][_0x6cd2[20]](_0x6cd2[24],_0x6cd2[4]))[_0x6cd2[13]][_0x6cd2[18]][_0x6cd2[17]][_0x6cd2[16]]})});describe(_0x6cd2[25],function(){it(_0x6cd2[26],function(){expect(routerStub[_0x6cd2[27]][_0x6cd2[20]](_0x6cd2[19],_0x6cd2[5]))[_0x6cd2[13]][_0x6cd2[18]][_0x6cd2[17]][_0x6cd2[16]]})});describe(_0x6cd2[28],function(){it(_0x6cd2[29],function(){expect(routerStub[_0x6cd2[30]][_0x6cd2[20]](_0x6cd2[24],_0x6cd2[6]))[_0x6cd2[13]][_0x6cd2[18]][_0x6cd2[17]][_0x6cd2[16]]})});describe(_0x6cd2[31],function(){it(_0x6cd2[29],function(){expect(routerStub[_0x6cd2[32]][_0x6cd2[20]](_0x6cd2[24],_0x6cd2[6]))[_0x6cd2[13]][_0x6cd2[18]][_0x6cd2[17]][_0x6cd2[16]]})});describe(_0x6cd2[33],function(){it(_0x6cd2[34],function(){expect(routerStub[_0x6cd2[35]][_0x6cd2[20]](_0x6cd2[24],_0x6cd2[7]))[_0x6cd2[13]][_0x6cd2[18]][_0x6cd2[17]][_0x6cd2[16]]})})}) \ No newline at end of file diff --git a/server/api/integration/index.js b/server/api/integration/index.js index 27318b6..19f9ed0 100644 --- a/server/api/integration/index.js +++ b/server/api/integration/index.js @@ -1 +1 @@ -var _0xf4ce=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x68\x61\x73\x52\x6F\x6C\x65","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xf4ce[0];var express=require(_0xf4ce[1]);var controller=require(_0xf4ce[2]);var auth=require(_0xf4ce[3]);var router=express.Router();router[_0xf4ce[9]](_0xf4ce[4],auth[_0xf4ce[5]](),auth[_0xf4ce[7]]([19],[_0xf4ce[6]]),controller[_0xf4ce[8]]);router[_0xf4ce[9]](_0xf4ce[10],auth[_0xf4ce[5]](),auth[_0xf4ce[11]](_0xf4ce[6]),controller[_0xf4ce[12]]);router[_0xf4ce[14]](_0xf4ce[4],auth[_0xf4ce[5]](),auth[_0xf4ce[11]](_0xf4ce[6]),controller[_0xf4ce[13]]);router[_0xf4ce[16]](_0xf4ce[10],auth[_0xf4ce[5]](),auth[_0xf4ce[11]](_0xf4ce[6]),controller[_0xf4ce[15]]);router[_0xf4ce[18]](_0xf4ce[10],auth[_0xf4ce[5]](),auth[_0xf4ce[11]](_0xf4ce[6]),controller[_0xf4ce[17]]);module[_0xf4ce[19]]=router \ No newline at end of file +var _0x155a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x68\x61\x73\x52\x6F\x6C\x65","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x155a[0];var express=require(_0x155a[1]);var controller=require(_0x155a[2]);var auth=require(_0x155a[3]);var router=express.Router();router[_0x155a[9]](_0x155a[4],auth[_0x155a[5]](),auth[_0x155a[7]]([19],[_0x155a[6]]),controller[_0x155a[8]]);router[_0x155a[9]](_0x155a[10],auth[_0x155a[5]](),auth[_0x155a[11]](_0x155a[6]),controller[_0x155a[12]]);router[_0x155a[14]](_0x155a[4],auth[_0x155a[5]](),auth[_0x155a[11]](_0x155a[6]),controller[_0x155a[13]]);router[_0x155a[16]](_0x155a[10],auth[_0x155a[5]](),auth[_0x155a[11]](_0x155a[6]),controller[_0x155a[15]]);router[_0x155a[18]](_0x155a[10],auth[_0x155a[5]](),auth[_0x155a[11]](_0x155a[6]),controller[_0x155a[17]]);module[_0x155a[19]]=router \ No newline at end of file diff --git a/server/api/integration/integration.controller.js b/server/api/integration/integration.controller.js index 4c2f5d6..15af85c 100644 --- a/server/api/integration/integration.controller.js +++ b/server/api/integration/integration.controller.js @@ -1 +1 @@ -var _0xa662=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x70\x6C\x6F\x61\x64\x2D\x66\x69\x6C\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x70\x61\x74\x68","\x73\x69\x6D\x70\x6C\x65\x2D\x72\x61\x6E\x64\x6F\x6D","\x61\x64\x6D\x2D\x7A\x69\x70","\x73\x74\x72\x69\x6E\x67\x2D\x74\x6F\x2D\x6A\x73\x6F\x6E","\x66\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72\x2F\x66\x69\x6C\x65\x73\x2F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x73","\x6A\x6F\x69\x6E","\x4D\x61\x78\x20\x6E\x75\x6D\x62\x65\x72\x20\x6F\x66\x20\x66\x69\x6C\x65\x73\x20\x75\x70\x6C\x6F\x61\x64\x20\x65\x78\x63\x65\x65\x64\x65\x64","\x4F\x6E\x6C\x79\x20\x7A\x69\x70\x20\x66\x6F\x72\x6D\x61\x74\x20\x61\x63\x63\x65\x70\x74\x65\x64","\x54\x68\x65\x20\x6D\x61\x78\x69\x6D\x75\x6D\x20\x66\x69\x6C\x65\x20\x73\x69\x7A\x65\x20\x69\x73\x20\x35\x20\x4D\x62","\x49\x6E\x76\x61\x6C\x69\x64\x20\x72\x65\x71\x75\x65\x73\x74","\x65\x6E\x64","\x66\x69\x6C\x65","\x67\x65\x74\x45\x6E\x74\x72\x69\x65\x73","\x6E\x61\x6D\x65","\x6D\x61\x6E\x69\x66\x65\x73\x74\x2E\x6A\x73\x6F\x6E","\x75\x74\x66\x38","\x67\x65\x74\x44\x61\x74\x61","\x75\x70\x6C\x6F\x61\x64\x5A\x69\x70","\x6C\x6F\x67","\x70\x61\x72\x73\x65","\x65\x78\x74\x72\x61\x63\x74\x41\x6C\x6C\x54\x6F","\x6D\x65\x72\x67\x65","\x6A\x73\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x75\x6E\x6C\x69\x6E\x6B\x53\x79\x6E\x63","\x6D\x61\x6E\x69\x66\x65\x73\x74","\x6D\x61\x6E\x69\x66\x65\x73\x74\x2E\x6A\x73\x6F\x6E\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64","\x6F\x6E","\x65\x72\x72\x6F\x72","\x75\x70\x6C\x6F\x61\x64","\x75\x70\x64\x61\x74\x65","\x62\x6F\x64\x79","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x66\x69\x6E\x64"];_0xa662[0];var _=require(_0xa662[1]);var uploadFile=require(_0xa662[2]);var config=require(_0xa662[3]);var path=require(_0xa662[4]);var sr=require(_0xa662[5]);var admZip=require(_0xa662[6]);var str2json=require(_0xa662[7]);var fs=require(_0xa662[8]);var Util=require(_0xa662[9]);var Integration=require(_0xa662[11])[_0xa662[10]];exports[_0xa662[12]]=function(_0x8eaexb,_0x8eaexc,_0x8eaexd){return Integration[_0xa662[19]](Util[_0xa662[18]](_0x8eaexb[_0xa662[17]]))[_0xa662[16]](function(_0x8eaexf){_0x8eaexc[_0xa662[15]](200)[_0xa662[14]](_0x8eaexf)})[_0xa662[13]](function(_0x8eaexe){return handleError(_0x8eaexc,_0x8eaexe)})};exports[_0xa662[20]]=function(_0x8eaexb,_0x8eaexc){return Integration[_0xa662[24]](_0x8eaexb[_0xa662[23]][_0xa662[22]])[_0xa662[16]](function(_0x8eaex10){if(!_0x8eaex10){return _0x8eaexc[_0xa662[21]](404)};return _0x8eaexc[_0xa662[14]](_0x8eaex10)})[_0xa662[13]](function(_0x8eaexe){return handleError(_0x8eaexc,_0x8eaexe)})};exports[_0xa662[25]]=function(_0x8eaexb,_0x8eaexc){var _0x8eaex11= new uploadFile({dest:path[_0xa662[28]](config[_0xa662[26]],_0xa662[27]),maxFileSize:5*1000000,maxNumberOfFiles:1,minNumberOfFiles:1,acceptFileTypes:/(\.|\/)(zip)$/i,messages:{maxNumberOfFiles:_0xa662[29],acceptFileTypes:_0xa662[30],maxFileSize:_0xa662[31],invalidRequest:_0xa662[32]}});_0x8eaex11[_0xa662[50]](_0xa662[33],function(_0x8eaex12,_0x8eaex13){var _0x8eaex14= new admZip(_0x8eaex13[_0xa662[34]][_0xa662[4]]);var _0x8eaex15=false;var _0x8eaex16=_0x8eaex14[_0xa662[35]]();_0x8eaex16[_0xa662[46]](function(_0x8eaex17){if(_0x8eaex17[_0xa662[36]]===_0xa662[37]){var _0x8eaex18=_0x8eaex17[_0xa662[39]]().toString(_0xa662[38]);console[_0xa662[41]](_0xa662[40],_0x8eaex18);try{_0x8eaex15=JSON[_0xa662[42]](_0x8eaex18);console[_0xa662[41]](_0xa662[40],_0x8eaex15);Integration[_0xa662[25]](_[_0xa662[44]](_0x8eaex13[_0xa662[34]],_0x8eaex15))[_0xa662[16]](function(_0x8eaex10){_0x8eaex14[_0xa662[43]](path[_0xa662[28]](config[_0xa662[26]],_0xa662[27]),true);return _0x8eaexc[_0xa662[15]](201)[_0xa662[14]](_0x8eaex10)})[_0xa662[13]](function(_0x8eaexe){return handleError(_0x8eaexc,_0x8eaexe)})}catch(e){console[_0xa662[41]](e);var _0x8eaexe={errors:[{type:_0xa662[45],message:e}]};return handleError(_0x8eaexc,_0x8eaexe)}}});fs[_0xa662[47]](_0x8eaex13[_0xa662[34]][_0xa662[4]]);if(!_0x8eaex15){var _0x8eaexe={errors:[{type:_0xa662[48],message:_0xa662[49]}]};return handleError(_0x8eaexc,_0x8eaexe)}});_0x8eaex11[_0xa662[50]](_0xa662[51],function(_0x8eaex19){var _0x8eaexe={errors:[{type:_0xa662[52],message:_0x8eaex19}]};return handleError(_0x8eaexc,_0x8eaexe)});_0x8eaex11[_0xa662[42]](_0x8eaexb)};exports[_0xa662[53]]=function(_0x8eaexb,_0x8eaexc){if(_0x8eaexb[_0xa662[54]][_0xa662[22]]){delete _0x8eaexb[_0xa662[54]][_0xa662[22]]};return Integration[_0xa662[24]](_0x8eaexb[_0xa662[23]][_0xa662[22]])[_0xa662[16]](function(_0x8eaex10){if(!_0x8eaex10){return _0x8eaexc[_0xa662[21]](404)};var _0x8eaex1a=_[_0xa662[44]](_0x8eaex10,_0x8eaexb[_0xa662[54]]);return _0x8eaex1a[_0xa662[55]]()})[_0xa662[16]](function(_0x8eaex10){return _0x8eaexc[_0xa662[15]](200)[_0xa662[14]](_0x8eaex10)})[_0xa662[13]](function(_0x8eaexe){return handleError(_0x8eaexc,_0x8eaexe)})};exports[_0xa662[56]]=function(_0x8eaexb,_0x8eaexc){return Integration[_0xa662[57]]({where:{id:_0x8eaexb[_0xa662[23]][_0xa662[22]]}})[_0xa662[16]](function(_0x8eaex10){if(!_0x8eaex10){return _0x8eaexc[_0xa662[21]](404)};return _0x8eaex10[_0xa662[56]]()})[_0xa662[16]](function(){return _0x8eaexc[_0xa662[21]](204)})[_0xa662[13]](function(_0x8eaexe){return handleError(_0x8eaexc,_0x8eaexe)})};function handleError(_0x8eaexc,_0x8eaexe){return _0x8eaexc[_0xa662[15]](500)[_0xa662[14]](_0x8eaexe)} \ No newline at end of file +var _0x46d6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x70\x6C\x6F\x61\x64\x2D\x66\x69\x6C\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x70\x61\x74\x68","\x73\x69\x6D\x70\x6C\x65\x2D\x72\x61\x6E\x64\x6F\x6D","\x61\x64\x6D\x2D\x7A\x69\x70","\x73\x74\x72\x69\x6E\x67\x2D\x74\x6F\x2D\x6A\x73\x6F\x6E","\x66\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72\x2F\x66\x69\x6C\x65\x73\x2F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x73","\x6A\x6F\x69\x6E","\x4D\x61\x78\x20\x6E\x75\x6D\x62\x65\x72\x20\x6F\x66\x20\x66\x69\x6C\x65\x73\x20\x75\x70\x6C\x6F\x61\x64\x20\x65\x78\x63\x65\x65\x64\x65\x64","\x4F\x6E\x6C\x79\x20\x7A\x69\x70\x20\x66\x6F\x72\x6D\x61\x74\x20\x61\x63\x63\x65\x70\x74\x65\x64","\x54\x68\x65\x20\x6D\x61\x78\x69\x6D\x75\x6D\x20\x66\x69\x6C\x65\x20\x73\x69\x7A\x65\x20\x69\x73\x20\x35\x20\x4D\x62","\x49\x6E\x76\x61\x6C\x69\x64\x20\x72\x65\x71\x75\x65\x73\x74","\x65\x6E\x64","\x66\x69\x6C\x65","\x67\x65\x74\x45\x6E\x74\x72\x69\x65\x73","\x6E\x61\x6D\x65","\x6D\x61\x6E\x69\x66\x65\x73\x74\x2E\x6A\x73\x6F\x6E","\x75\x74\x66\x38","\x67\x65\x74\x44\x61\x74\x61","\x75\x70\x6C\x6F\x61\x64\x5A\x69\x70","\x6C\x6F\x67","\x70\x61\x72\x73\x65","\x65\x78\x74\x72\x61\x63\x74\x41\x6C\x6C\x54\x6F","\x6D\x65\x72\x67\x65","\x6A\x73\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x75\x6E\x6C\x69\x6E\x6B\x53\x79\x6E\x63","\x6D\x61\x6E\x69\x66\x65\x73\x74","\x6D\x61\x6E\x69\x66\x65\x73\x74\x2E\x6A\x73\x6F\x6E\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64","\x6F\x6E","\x65\x72\x72\x6F\x72","\x75\x70\x6C\x6F\x61\x64","\x75\x70\x64\x61\x74\x65","\x62\x6F\x64\x79","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x66\x69\x6E\x64"];_0x46d6[0];var _=require(_0x46d6[1]);var uploadFile=require(_0x46d6[2]);var config=require(_0x46d6[3]);var path=require(_0x46d6[4]);var sr=require(_0x46d6[5]);var admZip=require(_0x46d6[6]);var str2json=require(_0x46d6[7]);var fs=require(_0x46d6[8]);var Util=require(_0x46d6[9]);var Integration=require(_0x46d6[11])[_0x46d6[10]];exports[_0x46d6[12]]=function(_0x9f00xb,_0x9f00xc,_0x9f00xd){return Integration[_0x46d6[19]](Util[_0x46d6[18]](_0x9f00xb[_0x46d6[17]]))[_0x46d6[16]](function(_0x9f00xf){_0x9f00xc[_0x46d6[15]](200)[_0x46d6[14]](_0x9f00xf)})[_0x46d6[13]](function(_0x9f00xe){return handleError(_0x9f00xc,_0x9f00xe)})};exports[_0x46d6[20]]=function(_0x9f00xb,_0x9f00xc){return Integration[_0x46d6[24]](_0x9f00xb[_0x46d6[23]][_0x46d6[22]])[_0x46d6[16]](function(_0x9f00x10){if(!_0x9f00x10){return _0x9f00xc[_0x46d6[21]](404)};return _0x9f00xc[_0x46d6[14]](_0x9f00x10)})[_0x46d6[13]](function(_0x9f00xe){return handleError(_0x9f00xc,_0x9f00xe)})};exports[_0x46d6[25]]=function(_0x9f00xb,_0x9f00xc){var _0x9f00x11= new uploadFile({dest:path[_0x46d6[28]](config[_0x46d6[26]],_0x46d6[27]),maxFileSize:5*1000000,maxNumberOfFiles:1,minNumberOfFiles:1,acceptFileTypes:/(\.|\/)(zip)$/i,messages:{maxNumberOfFiles:_0x46d6[29],acceptFileTypes:_0x46d6[30],maxFileSize:_0x46d6[31],invalidRequest:_0x46d6[32]}});_0x9f00x11[_0x46d6[50]](_0x46d6[33],function(_0x9f00x12,_0x9f00x13){var _0x9f00x14= new admZip(_0x9f00x13[_0x46d6[34]][_0x46d6[4]]);var _0x9f00x15=false;var _0x9f00x16=_0x9f00x14[_0x46d6[35]]();_0x9f00x16[_0x46d6[46]](function(_0x9f00x17){if(_0x9f00x17[_0x46d6[36]]===_0x46d6[37]){var _0x9f00x18=_0x9f00x17[_0x46d6[39]]().toString(_0x46d6[38]);console[_0x46d6[41]](_0x46d6[40],_0x9f00x18);try{_0x9f00x15=JSON[_0x46d6[42]](_0x9f00x18);console[_0x46d6[41]](_0x46d6[40],_0x9f00x15);Integration[_0x46d6[25]](_[_0x46d6[44]](_0x9f00x13[_0x46d6[34]],_0x9f00x15))[_0x46d6[16]](function(_0x9f00x10){_0x9f00x14[_0x46d6[43]](path[_0x46d6[28]](config[_0x46d6[26]],_0x46d6[27]),true);return _0x9f00xc[_0x46d6[15]](201)[_0x46d6[14]](_0x9f00x10)})[_0x46d6[13]](function(_0x9f00xe){return handleError(_0x9f00xc,_0x9f00xe)})}catch(e){console[_0x46d6[41]](e);var _0x9f00xe={errors:[{type:_0x46d6[45],message:e}]};return handleError(_0x9f00xc,_0x9f00xe)}}});fs[_0x46d6[47]](_0x9f00x13[_0x46d6[34]][_0x46d6[4]]);if(!_0x9f00x15){var _0x9f00xe={errors:[{type:_0x46d6[48],message:_0x46d6[49]}]};return handleError(_0x9f00xc,_0x9f00xe)}});_0x9f00x11[_0x46d6[50]](_0x46d6[51],function(_0x9f00x19){var _0x9f00xe={errors:[{type:_0x46d6[52],message:_0x9f00x19}]};return handleError(_0x9f00xc,_0x9f00xe)});_0x9f00x11[_0x46d6[42]](_0x9f00xb)};exports[_0x46d6[53]]=function(_0x9f00xb,_0x9f00xc){if(_0x9f00xb[_0x46d6[54]][_0x46d6[22]]){delete _0x9f00xb[_0x46d6[54]][_0x46d6[22]]};return Integration[_0x46d6[24]](_0x9f00xb[_0x46d6[23]][_0x46d6[22]])[_0x46d6[16]](function(_0x9f00x10){if(!_0x9f00x10){return _0x9f00xc[_0x46d6[21]](404)};var _0x9f00x1a=_[_0x46d6[44]](_0x9f00x10,_0x9f00xb[_0x46d6[54]]);return _0x9f00x1a[_0x46d6[55]]()})[_0x46d6[16]](function(_0x9f00x10){return _0x9f00xc[_0x46d6[15]](200)[_0x46d6[14]](_0x9f00x10)})[_0x46d6[13]](function(_0x9f00xe){return handleError(_0x9f00xc,_0x9f00xe)})};exports[_0x46d6[56]]=function(_0x9f00xb,_0x9f00xc){return Integration[_0x46d6[57]]({where:{id:_0x9f00xb[_0x46d6[23]][_0x46d6[22]]}})[_0x46d6[16]](function(_0x9f00x10){if(!_0x9f00x10){return _0x9f00xc[_0x46d6[21]](404)};return _0x9f00x10[_0x46d6[56]]()})[_0x46d6[16]](function(){return _0x9f00xc[_0x46d6[21]](204)})[_0x46d6[13]](function(_0x9f00xe){return handleError(_0x9f00xc,_0x9f00xe)})};function handleError(_0x9f00xc,_0x9f00xe){return _0x9f00xc[_0x46d6[15]](500)[_0x46d6[14]](_0x9f00xe)} \ No newline at end of file diff --git a/server/api/integration/integration.socket.js b/server/api/integration/integration.socket.js index 8005601..80ff4be 100644 --- a/server/api/integration/integration.socket.js +++ b/server/api/integration/integration.socket.js @@ -1 +1 @@ -var _0x69ef=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x69ef[0];var Integration=require(_0x69ef[2])[_0x69ef[1]];exports[_0x69ef[3]]=function(_0xc2adx2){Integration[_0x69ef[4]](function(_0xc2adx3){onSave(_0xc2adx2,_0xc2adx3)});Integration[_0x69ef[5]](function(_0xc2adx3){onSave(_0xc2adx2,_0xc2adx3)});Integration[_0x69ef[6]](function(_0xc2adx3){onRemove(_0xc2adx2,_0xc2adx3)})};function onSave(_0xc2adx2,_0xc2adx3,_0xc2adx5){_0xc2adx2[_0x69ef[8]](_0x69ef[7],_0xc2adx3)}function onRemove(_0xc2adx2,_0xc2adx3,_0xc2adx5){_0xc2adx2[_0x69ef[8]](_0x69ef[9],_0xc2adx3)} \ No newline at end of file +var _0xab8c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0xab8c[0];var Integration=require(_0xab8c[2])[_0xab8c[1]];exports[_0xab8c[3]]=function(_0x813ax2){Integration[_0xab8c[4]](function(_0x813ax3){onSave(_0x813ax2,_0x813ax3)});Integration[_0xab8c[5]](function(_0x813ax3){onSave(_0x813ax2,_0x813ax3)});Integration[_0xab8c[6]](function(_0x813ax3){onRemove(_0x813ax2,_0x813ax3)})};function onSave(_0x813ax2,_0x813ax3,_0x813ax5){_0x813ax2[_0xab8c[8]](_0xab8c[7],_0x813ax3)}function onRemove(_0x813ax2,_0x813ax3,_0x813ax5){_0x813ax2[_0xab8c[8]](_0xab8c[9],_0x813ax3)} \ No newline at end of file diff --git a/server/api/interval/index.js b/server/api/interval/index.js index 3a3dc44..31bc342 100644 --- a/server/api/interval/index.js +++ b/server/api/interval/index.js @@ -1 +1 @@ -var _0xe5c7=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x69\x6E\x74\x65\x72\x76\x61\x6C\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0xe5c7[0];var express=require(_0xe5c7[1]);var controller=require(_0xe5c7[2]);var auth=require(_0xe5c7[3]);var router=express.Router();router[_0xe5c7[9]](_0xe5c7[4],auth[_0xe5c7[5]](),auth[_0xe5c7[7]]([13,7,8,9,10,11],[_0xe5c7[6]]),controller[_0xe5c7[8]]);router[_0xe5c7[9]](_0xe5c7[10],auth[_0xe5c7[5]](),auth[_0xe5c7[7]]([13],[_0xe5c7[6]]),controller[_0xe5c7[11]]);router[_0xe5c7[13]](_0xe5c7[4],auth[_0xe5c7[5]](),auth[_0xe5c7[7]]([13],[_0xe5c7[6]]),controller[_0xe5c7[12]]);router[_0xe5c7[15]](_0xe5c7[10],auth[_0xe5c7[5]](),auth[_0xe5c7[7]]([13],[_0xe5c7[6]]),controller[_0xe5c7[14]]);router[_0xe5c7[17]](_0xe5c7[4],auth[_0xe5c7[5]](),auth[_0xe5c7[7]]([13],[_0xe5c7[6]]),controller[_0xe5c7[16]]);router[_0xe5c7[17]](_0xe5c7[10],auth[_0xe5c7[5]](),auth[_0xe5c7[7]]([13],[_0xe5c7[6]]),controller[_0xe5c7[18]]);module[_0xe5c7[19]]=router \ No newline at end of file +var _0x67a4=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x69\x6E\x74\x65\x72\x76\x61\x6C\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x67a4[0];var express=require(_0x67a4[1]);var controller=require(_0x67a4[2]);var auth=require(_0x67a4[3]);var router=express.Router();router[_0x67a4[9]](_0x67a4[4],auth[_0x67a4[5]](),auth[_0x67a4[7]]([13,7,8,9,10,11],[_0x67a4[6]]),controller[_0x67a4[8]]);router[_0x67a4[9]](_0x67a4[10],auth[_0x67a4[5]](),auth[_0x67a4[7]]([13],[_0x67a4[6]]),controller[_0x67a4[11]]);router[_0x67a4[13]](_0x67a4[4],auth[_0x67a4[5]](),auth[_0x67a4[7]]([13],[_0x67a4[6]]),controller[_0x67a4[12]]);router[_0x67a4[15]](_0x67a4[10],auth[_0x67a4[5]](),auth[_0x67a4[7]]([13],[_0x67a4[6]]),controller[_0x67a4[14]]);router[_0x67a4[17]](_0x67a4[4],auth[_0x67a4[5]](),auth[_0x67a4[7]]([13],[_0x67a4[6]]),controller[_0x67a4[16]]);router[_0x67a4[17]](_0x67a4[10],auth[_0x67a4[5]](),auth[_0x67a4[7]]([13],[_0x67a4[6]]),controller[_0x67a4[18]]);module[_0x67a4[19]]=router \ No newline at end of file diff --git a/server/api/interval/interval.controller.js b/server/api/interval/interval.controller.js index 0917583..2e46623 100644 --- a/server/api/interval/interval.controller.js +++ b/server/api/interval/interval.controller.js @@ -1 +1 @@ -var _0x4a31=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x49\x6E\x74\x65\x72\x76\x61\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x69\x6E\x74\x65\x72\x76\x61\x6C\x73","\x73\x75\x62\x69\x6E\x74\x65\x72\x76\x61\x6C\x73","\x73\x63\x6F\x70\x65","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x6C\x6F\x67","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x61\x6C\x6C","\x61\x72\x65\x20\x74\x68\x65\x72\x65\x20\x69\x6E\x74\x65\x72\x76\x61\x6C\x73","\x53\x75\x62\x49\x6E\x74\x65\x72\x76\x61\x6C\x73","\x6C\x65\x6E\x67\x74\x68","\x64\x65\x73\x74\x72\x6F\x79","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x79\x65\x73\x20\x74\x68\x65\x72\x65\x20\x61\x72\x65","\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x6D\x65\x73\x73\x61\x67\x65","\x54\x68\x65\x20\x49\x6E\x74\x65\x72\x76\x61\x6C\x20\x69\x73\x20\x61\x73\x73\x6F\x63\x69\x61\x74\x65\x64\x20\x77\x69\x74\x68\x20\x6F\x6E\x65\x20\x6F\x72\x20\x6D\x6F\x72\x65\x20\x72\x6F\x75\x74\x65\x73\x2C\x20\x64\x65\x6C\x65\x74\x65\x20\x74\x68\x65\x6D\x20\x66\x69\x72\x73\x74","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x64\x4D\x65\x73\x73\x61\x67\x65","\x4D\x45\x53\x53\x41\x47\x45\x5F\x49\x4E\x54\x45\x52\x56\x41\x4C\x5F\x52\x4F\x55\x54\x45\x5F\x41\x53\x53\x4F\x43\x49\x41\x54\x45\x44","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0x4a31[0];var _=require(_0x4a31[1]);var Interval=require(_0x4a31[3])[_0x4a31[2]];var VoiceExtension=require(_0x4a31[3])[_0x4a31[4]];var sequelize=require(_0x4a31[3])[_0x4a31[5]];var Util=require(_0x4a31[6]);exports[_0x4a31[7]]=function(_0x367ax6,_0x367ax7,_0x367ax8){return Interval[_0x4a31[17]](_0x4a31[15],_0x4a31[16])[_0x4a31[14]](Util[_0x4a31[13]](_0x367ax6[_0x4a31[12]]))[_0x4a31[11]](function(_0x367axa){_0x367ax7[_0x4a31[10]](200)[_0x4a31[9]](_0x367axa)})[_0x4a31[8]](function(_0x367ax9){return handleError(_0x367ax7,_0x367ax9)})};exports[_0x4a31[18]]=function(_0x367ax6,_0x367ax7){return Interval[_0x4a31[17]](_0x4a31[16])[_0x4a31[22]](_0x367ax6[_0x4a31[21]][_0x4a31[20]])[_0x4a31[11]](function(_0x367axb){if(!_0x367axb){return _0x367ax7[_0x4a31[19]](404)};return _0x367ax7[_0x4a31[9]](_0x367axb)})[_0x4a31[8]](function(_0x367ax9){return handleError(_0x367ax7,_0x367ax9)})};exports[_0x4a31[23]]=function(_0x367ax6,_0x367ax7){return Interval[_0x4a31[17]](_0x4a31[16])[_0x4a31[23]](_0x367ax6[_0x4a31[25]])[_0x4a31[11]](function(_0x367axb){return _0x367ax7[_0x4a31[10]](201)[_0x4a31[9]](_0x367axb)})[_0x4a31[8]](function(_0x367ax9){console[_0x4a31[24]](_0x367ax9);return handleError(_0x367ax7,_0x367ax9)})};exports[_0x4a31[26]]=function(_0x367ax6,_0x367ax7){return sequelize[_0x4a31[32]](function(_0x367axc){if(_0x367ax6[_0x4a31[25]][_0x4a31[20]]){delete _0x367ax6[_0x4a31[25]][_0x4a31[20]]};return Interval[_0x4a31[26]](_0x367ax6[_0x4a31[25]],{where:{id:_0x367ax6[_0x4a31[21]][_0x4a31[20]]},individualHooks:true,transaction:_0x367axc})[_0x4a31[11]](function(){if(_0x367ax6[_0x4a31[25]][_0x4a31[29]]){return Interval[_0x4a31[31]]({where:{IntervalId:_0x367ax6[_0x4a31[21]][_0x4a31[20]]},transaction:_0x367axc})}})[_0x4a31[11]](function(){console[_0x4a31[24]](_0x4a31[28]);if(_0x367ax6[_0x4a31[25]][_0x4a31[29]]&&_0x367ax6[_0x4a31[25]][_0x4a31[29]][_0x4a31[30]]){return _0x367ax6[_0x4a31[21]][_0x4a31[20]]}})[_0x4a31[11]](bulkCreateSubIntervals(_0x367ax6[_0x4a31[25]].SubIntervals,_0x367axc))[_0x4a31[27]]()})[_0x4a31[11]](function(){return _0x367ax7[_0x4a31[19]](200)})[_0x4a31[8]](function(_0x367ax9){console[_0x4a31[24]](_0x367ax9);return handleError(_0x367ax7,_0x367ax9)})};function bulkCreateSubIntervals(_0x367axe,_0x367axc){return function(_0x367axf){if(_0x367axf){console[_0x4a31[24]](_0x4a31[33]);var _0x367ax10=[];_0x367axe[_0x4a31[36]](function(_0x367ax11){delete _0x367ax11[_0x4a31[20]];_0x367ax11[_0x4a31[34]]=_0x367axf;_0x367ax10[_0x4a31[35]](Interval[_0x4a31[23]](_0x367ax11,{transaction:_0x367axc}))});return _0x367ax10}else {return []}}}exports[_0x4a31[31]]=function(_0x367ax6,_0x367ax7){return sequelize[_0x4a31[32]](function(_0x367axc){return Interval[_0x4a31[31]]({where:{id:_0x367ax6[_0x4a31[21]][_0x4a31[20]]},individualHooks:true,transaction:_0x367axc})})[_0x4a31[11]](function(){return _0x367ax7[_0x4a31[19]](204)})[_0x4a31[8]](sequelize.ForeignKeyConstraintError,function(_0x367ax9){_0x367ax9[_0x4a31[37]]=_0x4a31[38];_0x367ax9[_0x4a31[39]]=_0x4a31[40];return handleError(_0x367ax7,_0x367ax9)})[_0x4a31[8]](function(_0x367ax9){return handleError(_0x367ax7,_0x367ax9)})};exports[_0x4a31[41]]=function(_0x367ax6,_0x367ax7){return sequelize[_0x4a31[32]](function(_0x367axc){return Interval[_0x4a31[31]]({where:{id:_0x367ax6[_0x4a31[12]][_0x4a31[42]]},individualHooks:true,transaction:_0x367axc})})[_0x4a31[11]](function(){return _0x367ax7[_0x4a31[19]](204)})[_0x4a31[8]](sequelize.ForeignKeyConstraintError,function(_0x367ax9){_0x367ax9[_0x4a31[37]]=_0x4a31[38];_0x367ax9[_0x4a31[39]]=_0x4a31[40];return handleError(_0x367ax7,_0x367ax9)})[_0x4a31[8]](function(_0x367ax9){return handleError(_0x367ax7,_0x367ax9)})};function handleError(_0x367ax7,_0x367ax9){return _0x367ax7[_0x4a31[10]](500)[_0x4a31[9]](_0x367ax9)} \ No newline at end of file +var _0xb74b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x49\x6E\x74\x65\x72\x76\x61\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x69\x6E\x74\x65\x72\x76\x61\x6C\x73","\x73\x75\x62\x69\x6E\x74\x65\x72\x76\x61\x6C\x73","\x73\x63\x6F\x70\x65","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x6C\x6F\x67","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x61\x6C\x6C","\x61\x72\x65\x20\x74\x68\x65\x72\x65\x20\x69\x6E\x74\x65\x72\x76\x61\x6C\x73","\x53\x75\x62\x49\x6E\x74\x65\x72\x76\x61\x6C\x73","\x6C\x65\x6E\x67\x74\x68","\x64\x65\x73\x74\x72\x6F\x79","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x79\x65\x73\x20\x74\x68\x65\x72\x65\x20\x61\x72\x65","\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x6D\x65\x73\x73\x61\x67\x65","\x54\x68\x65\x20\x49\x6E\x74\x65\x72\x76\x61\x6C\x20\x69\x73\x20\x61\x73\x73\x6F\x63\x69\x61\x74\x65\x64\x20\x77\x69\x74\x68\x20\x6F\x6E\x65\x20\x6F\x72\x20\x6D\x6F\x72\x65\x20\x72\x6F\x75\x74\x65\x73\x2C\x20\x64\x65\x6C\x65\x74\x65\x20\x74\x68\x65\x6D\x20\x66\x69\x72\x73\x74","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x64\x4D\x65\x73\x73\x61\x67\x65","\x4D\x45\x53\x53\x41\x47\x45\x5F\x49\x4E\x54\x45\x52\x56\x41\x4C\x5F\x52\x4F\x55\x54\x45\x5F\x41\x53\x53\x4F\x43\x49\x41\x54\x45\x44","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0xb74b[0];var _=require(_0xb74b[1]);var Interval=require(_0xb74b[3])[_0xb74b[2]];var VoiceExtension=require(_0xb74b[3])[_0xb74b[4]];var sequelize=require(_0xb74b[3])[_0xb74b[5]];var Util=require(_0xb74b[6]);exports[_0xb74b[7]]=function(_0x823cx6,_0x823cx7,_0x823cx8){return Interval[_0xb74b[17]](_0xb74b[15],_0xb74b[16])[_0xb74b[14]](Util[_0xb74b[13]](_0x823cx6[_0xb74b[12]]))[_0xb74b[11]](function(_0x823cxa){_0x823cx7[_0xb74b[10]](200)[_0xb74b[9]](_0x823cxa)})[_0xb74b[8]](function(_0x823cx9){return handleError(_0x823cx7,_0x823cx9)})};exports[_0xb74b[18]]=function(_0x823cx6,_0x823cx7){return Interval[_0xb74b[17]](_0xb74b[16])[_0xb74b[22]](_0x823cx6[_0xb74b[21]][_0xb74b[20]])[_0xb74b[11]](function(_0x823cxb){if(!_0x823cxb){return _0x823cx7[_0xb74b[19]](404)};return _0x823cx7[_0xb74b[9]](_0x823cxb)})[_0xb74b[8]](function(_0x823cx9){return handleError(_0x823cx7,_0x823cx9)})};exports[_0xb74b[23]]=function(_0x823cx6,_0x823cx7){return Interval[_0xb74b[17]](_0xb74b[16])[_0xb74b[23]](_0x823cx6[_0xb74b[25]])[_0xb74b[11]](function(_0x823cxb){return _0x823cx7[_0xb74b[10]](201)[_0xb74b[9]](_0x823cxb)})[_0xb74b[8]](function(_0x823cx9){console[_0xb74b[24]](_0x823cx9);return handleError(_0x823cx7,_0x823cx9)})};exports[_0xb74b[26]]=function(_0x823cx6,_0x823cx7){return sequelize[_0xb74b[32]](function(_0x823cxc){if(_0x823cx6[_0xb74b[25]][_0xb74b[20]]){delete _0x823cx6[_0xb74b[25]][_0xb74b[20]]};return Interval[_0xb74b[26]](_0x823cx6[_0xb74b[25]],{where:{id:_0x823cx6[_0xb74b[21]][_0xb74b[20]]},individualHooks:true,transaction:_0x823cxc})[_0xb74b[11]](function(){if(_0x823cx6[_0xb74b[25]][_0xb74b[29]]){return Interval[_0xb74b[31]]({where:{IntervalId:_0x823cx6[_0xb74b[21]][_0xb74b[20]]},transaction:_0x823cxc})}})[_0xb74b[11]](function(){console[_0xb74b[24]](_0xb74b[28]);if(_0x823cx6[_0xb74b[25]][_0xb74b[29]]&&_0x823cx6[_0xb74b[25]][_0xb74b[29]][_0xb74b[30]]){return _0x823cx6[_0xb74b[21]][_0xb74b[20]]}})[_0xb74b[11]](bulkCreateSubIntervals(_0x823cx6[_0xb74b[25]].SubIntervals,_0x823cxc))[_0xb74b[27]]()})[_0xb74b[11]](function(){return _0x823cx7[_0xb74b[19]](200)})[_0xb74b[8]](function(_0x823cx9){console[_0xb74b[24]](_0x823cx9);return handleError(_0x823cx7,_0x823cx9)})};function bulkCreateSubIntervals(_0x823cxe,_0x823cxc){return function(_0x823cxf){if(_0x823cxf){console[_0xb74b[24]](_0xb74b[33]);var _0x823cx10=[];_0x823cxe[_0xb74b[36]](function(_0x823cx11){delete _0x823cx11[_0xb74b[20]];_0x823cx11[_0xb74b[34]]=_0x823cxf;_0x823cx10[_0xb74b[35]](Interval[_0xb74b[23]](_0x823cx11,{transaction:_0x823cxc}))});return _0x823cx10}else {return []}}}exports[_0xb74b[31]]=function(_0x823cx6,_0x823cx7){return sequelize[_0xb74b[32]](function(_0x823cxc){return Interval[_0xb74b[31]]({where:{id:_0x823cx6[_0xb74b[21]][_0xb74b[20]]},individualHooks:true,transaction:_0x823cxc})})[_0xb74b[11]](function(){return _0x823cx7[_0xb74b[19]](204)})[_0xb74b[8]](sequelize.ForeignKeyConstraintError,function(_0x823cx9){_0x823cx9[_0xb74b[37]]=_0xb74b[38];_0x823cx9[_0xb74b[39]]=_0xb74b[40];return handleError(_0x823cx7,_0x823cx9)})[_0xb74b[8]](function(_0x823cx9){return handleError(_0x823cx7,_0x823cx9)})};exports[_0xb74b[41]]=function(_0x823cx6,_0x823cx7){return sequelize[_0xb74b[32]](function(_0x823cxc){return Interval[_0xb74b[31]]({where:{id:_0x823cx6[_0xb74b[12]][_0xb74b[42]]},individualHooks:true,transaction:_0x823cxc})})[_0xb74b[11]](function(){return _0x823cx7[_0xb74b[19]](204)})[_0xb74b[8]](sequelize.ForeignKeyConstraintError,function(_0x823cx9){_0x823cx9[_0xb74b[37]]=_0xb74b[38];_0x823cx9[_0xb74b[39]]=_0xb74b[40];return handleError(_0x823cx7,_0x823cx9)})[_0xb74b[8]](function(_0x823cx9){return handleError(_0x823cx7,_0x823cx9)})};function handleError(_0x823cx7,_0x823cx9){return _0x823cx7[_0xb74b[10]](500)[_0xb74b[9]](_0x823cx9)} \ No newline at end of file diff --git a/server/api/interval/interval.socket.js b/server/api/interval/interval.socket.js index a6e38bf..6a3a578 100644 --- a/server/api/interval/interval.socket.js +++ b/server/api/interval/interval.socket.js @@ -1 +1 @@ -var _0x75a1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x49\x6E\x74\x65\x72\x76\x61\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x69\x6E\x74\x65\x72\x76\x61\x6C\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x69\x6E\x74\x65\x72\x76\x61\x6C\x3A\x72\x65\x6D\x6F\x76\x65","\x69\x6E\x74\x65\x72\x76\x61\x6C\x3A\x75\x70\x64\x61\x74\x65"];_0x75a1[0];var Interval=require(_0x75a1[2])[_0x75a1[1]];exports[_0x75a1[3]]=function(_0x5ef8x2){Interval[_0x75a1[4]](function(_0x5ef8x3){onSave(_0x5ef8x2,_0x5ef8x3)});Interval[_0x75a1[5]](function(_0x5ef8x3){onRemove(_0x5ef8x2,_0x5ef8x3)});Interval[_0x75a1[6]](function(_0x5ef8x3){onUpdate(_0x5ef8x2,_0x5ef8x3)})};function onSave(_0x5ef8x2,_0x5ef8x3,_0x5ef8x5){_0x5ef8x2[_0x75a1[8]](_0x75a1[7],_0x5ef8x3)}function onRemove(_0x5ef8x2,_0x5ef8x3,_0x5ef8x5){_0x5ef8x2[_0x75a1[8]](_0x75a1[9],_0x5ef8x3)}function onUpdate(_0x5ef8x2,_0x5ef8x3,_0x5ef8x5){_0x5ef8x2[_0x75a1[8]](_0x75a1[10],_0x5ef8x3)} \ No newline at end of file +var _0x3fbf=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x49\x6E\x74\x65\x72\x76\x61\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x69\x6E\x74\x65\x72\x76\x61\x6C\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x69\x6E\x74\x65\x72\x76\x61\x6C\x3A\x72\x65\x6D\x6F\x76\x65","\x69\x6E\x74\x65\x72\x76\x61\x6C\x3A\x75\x70\x64\x61\x74\x65"];_0x3fbf[0];var Interval=require(_0x3fbf[2])[_0x3fbf[1]];exports[_0x3fbf[3]]=function(_0x1fb1x2){Interval[_0x3fbf[4]](function(_0x1fb1x3){onSave(_0x1fb1x2,_0x1fb1x3)});Interval[_0x3fbf[5]](function(_0x1fb1x3){onRemove(_0x1fb1x2,_0x1fb1x3)});Interval[_0x3fbf[6]](function(_0x1fb1x3){onUpdate(_0x1fb1x2,_0x1fb1x3)})};function onSave(_0x1fb1x2,_0x1fb1x3,_0x1fb1x5){_0x1fb1x2[_0x3fbf[8]](_0x3fbf[7],_0x1fb1x3)}function onRemove(_0x1fb1x2,_0x1fb1x3,_0x1fb1x5){_0x1fb1x2[_0x3fbf[8]](_0x3fbf[9],_0x1fb1x3)}function onUpdate(_0x1fb1x2,_0x1fb1x3,_0x1fb1x5){_0x1fb1x2[_0x3fbf[8]](_0x3fbf[10],_0x1fb1x3)} \ No newline at end of file diff --git a/server/api/jscripty_project/index.js b/server/api/jscripty_project/index.js index dd4db4f..69d8d10 100644 --- a/server/api/jscripty_project/index.js +++ b/server/api/jscripty_project/index.js @@ -1 +1 @@ -var _0x364d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x6A\x73\x63\x72\x69\x70\x74\x79\x5F\x70\x72\x6F\x6A\x65\x63\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x4A\x73\x63\x72\x69\x70\x74\x79","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x2F\x3A\x69\x64\x2F\x73\x65\x73\x73\x69\x6F\x6E\x73","\x73\x68\x6F\x77\x53\x65\x73\x73\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x73\x65\x73\x73\x69\x6F\x6E\x73\x2F\x3A\x73\x65\x73\x73\x69\x6F\x6E\x49\x64","\x73\x68\x6F\x77\x53\x65\x73\x73\x69\x6F\x6E","\x2F\x3A\x69\x64\x2F\x71\x75\x65\x73\x74\x69\x6F\x6E\x73\x2F\x3A\x71\x75\x65\x73\x74\x69\x6F\x6E\x49\x64\x2F\x64\x65\x74\x61\x69\x6C","\x73\x68\x6F\x77\x51\x75\x65\x73\x74\x69\x6F\x6E\x44\x65\x74\x61\x69\x6C","\x2F\x3A\x69\x64\x2F\x71\x75\x65\x73\x74\x69\x6F\x6E\x73","\x73\x68\x6F\x77\x51\x75\x65\x73\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x71\x75\x65\x73\x74\x69\x6F\x6E\x73\x2F\x73\x75\x6D\x6D\x61\x72\x79","\x73\x68\x6F\x77\x53\x75\x6D\x6D\x61\x72\x79","\x2F\x3A\x69\x64\x2F\x69\x6E\x70\x75\x74\x73","\x73\x68\x6F\x77\x49\x6E\x70\x75\x74\x73","\x2F\x3A\x69\x64\x2F\x71\x75\x65\x73\x74\x69\x6F\x6E\x73\x2F\x64\x65\x74\x61\x69\x6C","\x73\x68\x6F\x77\x44\x65\x74\x61\x69\x6C","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x63\x72\x65\x61\x74\x65\x53\x65\x73\x73\x69\x6F\x6E","\x2F\x3A\x69\x64\x2F\x73\x65\x73\x73\x69\x6F\x6E\x73\x2F\x3A\x73\x65\x73\x73\x69\x6F\x6E\x49\x64\x2F\x71\x75\x65\x73\x74\x69\x6F\x6E\x73","\x63\x72\x65\x61\x74\x65\x51\x75\x65\x73\x74\x69\x6F\x6E\x73","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x75\x70\x64\x61\x74\x65\x53\x65\x73\x73\x69\x6F\x6E","\x64\x65\x73\x74\x72\x6F\x79\x53\x65\x73\x73\x69\x6F\x6E","\x64\x65\x6C\x65\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x364d[0];var express=require(_0x364d[1]);var auth=require(_0x364d[2]);var controller=require(_0x364d[3]);var license=require(_0x364d[4]);var router=express.Router();router[_0x364d[13]](_0x364d[5],license[_0x364d[6]](),license[_0x364d[7]](),auth[_0x364d[8]](),auth[_0x364d[11]]([15],[_0x364d[9],_0x364d[10]]),controller[_0x364d[12]]);router[_0x364d[13]](_0x364d[14],license[_0x364d[6]](),license[_0x364d[7]](),auth[_0x364d[8]](),auth[_0x364d[11]]([15],[_0x364d[9]]),controller[_0x364d[15]]);router[_0x364d[13]](_0x364d[16],license[_0x364d[6]](),license[_0x364d[7]](),auth[_0x364d[8]](),auth[_0x364d[11]]([15],[_0x364d[9],_0x364d[10]]),controller[_0x364d[17]]);router[_0x364d[13]](_0x364d[18],license[_0x364d[6]](),license[_0x364d[7]](),auth[_0x364d[8]](),auth[_0x364d[11]]([15],[_0x364d[9]]),controller[_0x364d[19]]);router[_0x364d[13]](_0x364d[20],license[_0x364d[6]](),license[_0x364d[7]](),auth[_0x364d[8]](),auth[_0x364d[11]]([15],[_0x364d[9]]),controller[_0x364d[21]]);router[_0x364d[13]](_0x364d[22],license[_0x364d[6]](),license[_0x364d[7]](),auth[_0x364d[8]](),auth[_0x364d[11]]([15],[_0x364d[9]]),controller[_0x364d[23]]);router[_0x364d[13]](_0x364d[24],license[_0x364d[6]](),license[_0x364d[7]](),auth[_0x364d[8]](),auth[_0x364d[11]]([15],[_0x364d[9]]),controller[_0x364d[25]]);router[_0x364d[13]](_0x364d[26],license[_0x364d[6]](),license[_0x364d[7]](),auth[_0x364d[8]](),auth[_0x364d[11]]([15],[_0x364d[9]]),controller[_0x364d[27]]);router[_0x364d[13]](_0x364d[28],license[_0x364d[6]](),license[_0x364d[7]](),auth[_0x364d[8]](),auth[_0x364d[11]]([15],[_0x364d[9]]),controller[_0x364d[29]]);router[_0x364d[13]](_0x364d[30],license[_0x364d[6]](),license[_0x364d[7]](),auth[_0x364d[8]](),auth[_0x364d[11]]([15],[_0x364d[9]]),controller[_0x364d[31]]);router[_0x364d[33]](_0x364d[5],license[_0x364d[6]](),license[_0x364d[7]](),auth[_0x364d[8]](),auth[_0x364d[11]]([15],[_0x364d[9]]),controller[_0x364d[32]]);router[_0x364d[33]](_0x364d[18],license[_0x364d[6]](),license[_0x364d[7]](),auth[_0x364d[8]](),auth[_0x364d[11]]([15],[_0x364d[9],_0x364d[10]]),controller[_0x364d[34]]);router[_0x364d[33]](_0x364d[35],license[_0x364d[6]](),license[_0x364d[7]](),auth[_0x364d[8]](),auth[_0x364d[11]]([15],[_0x364d[9],_0x364d[10]]),controller[_0x364d[36]]);router[_0x364d[38]](_0x364d[14],license[_0x364d[6]](),license[_0x364d[7]](),auth[_0x364d[8]](),auth[_0x364d[11]]([15],[_0x364d[9]]),controller[_0x364d[37]]);router[_0x364d[38]](_0x364d[20],license[_0x364d[6]](),license[_0x364d[7]](),auth[_0x364d[8]](),auth[_0x364d[11]]([15],[_0x364d[9],_0x364d[10]]),controller[_0x364d[39]]);router[_0x364d[41]](_0x364d[20],license[_0x364d[6]](),license[_0x364d[7]](),auth[_0x364d[8]](),auth[_0x364d[11]]([15],[_0x364d[9]]),controller[_0x364d[40]]);router[_0x364d[41]](_0x364d[5],license[_0x364d[6]](),license[_0x364d[7]](),auth[_0x364d[8]](),auth[_0x364d[11]]([15],[_0x364d[9]]),controller[_0x364d[42]]);router[_0x364d[41]](_0x364d[14],license[_0x364d[6]](),license[_0x364d[7]](),auth[_0x364d[8]](),auth[_0x364d[11]]([15],[_0x364d[9]]),controller[_0x364d[43]]);module[_0x364d[44]]=router \ No newline at end of file +var _0xf1f5=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x6A\x73\x63\x72\x69\x70\x74\x79\x5F\x70\x72\x6F\x6A\x65\x63\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x4A\x73\x63\x72\x69\x70\x74\x79","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x2F\x3A\x69\x64\x2F\x73\x65\x73\x73\x69\x6F\x6E\x73","\x73\x68\x6F\x77\x53\x65\x73\x73\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x73\x65\x73\x73\x69\x6F\x6E\x73\x2F\x3A\x73\x65\x73\x73\x69\x6F\x6E\x49\x64","\x73\x68\x6F\x77\x53\x65\x73\x73\x69\x6F\x6E","\x2F\x3A\x69\x64\x2F\x71\x75\x65\x73\x74\x69\x6F\x6E\x73\x2F\x3A\x71\x75\x65\x73\x74\x69\x6F\x6E\x49\x64\x2F\x64\x65\x74\x61\x69\x6C","\x73\x68\x6F\x77\x51\x75\x65\x73\x74\x69\x6F\x6E\x44\x65\x74\x61\x69\x6C","\x2F\x3A\x69\x64\x2F\x71\x75\x65\x73\x74\x69\x6F\x6E\x73","\x73\x68\x6F\x77\x51\x75\x65\x73\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x71\x75\x65\x73\x74\x69\x6F\x6E\x73\x2F\x73\x75\x6D\x6D\x61\x72\x79","\x73\x68\x6F\x77\x53\x75\x6D\x6D\x61\x72\x79","\x2F\x3A\x69\x64\x2F\x69\x6E\x70\x75\x74\x73","\x73\x68\x6F\x77\x49\x6E\x70\x75\x74\x73","\x2F\x3A\x69\x64\x2F\x71\x75\x65\x73\x74\x69\x6F\x6E\x73\x2F\x64\x65\x74\x61\x69\x6C","\x73\x68\x6F\x77\x44\x65\x74\x61\x69\x6C","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x63\x72\x65\x61\x74\x65\x53\x65\x73\x73\x69\x6F\x6E","\x2F\x3A\x69\x64\x2F\x73\x65\x73\x73\x69\x6F\x6E\x73\x2F\x3A\x73\x65\x73\x73\x69\x6F\x6E\x49\x64\x2F\x71\x75\x65\x73\x74\x69\x6F\x6E\x73","\x63\x72\x65\x61\x74\x65\x51\x75\x65\x73\x74\x69\x6F\x6E\x73","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x75\x70\x64\x61\x74\x65\x53\x65\x73\x73\x69\x6F\x6E","\x64\x65\x73\x74\x72\x6F\x79\x53\x65\x73\x73\x69\x6F\x6E","\x64\x65\x6C\x65\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0xf1f5[0];var express=require(_0xf1f5[1]);var auth=require(_0xf1f5[2]);var controller=require(_0xf1f5[3]);var license=require(_0xf1f5[4]);var router=express.Router();router[_0xf1f5[13]](_0xf1f5[5],license[_0xf1f5[6]](),license[_0xf1f5[7]](),auth[_0xf1f5[8]](),auth[_0xf1f5[11]]([15],[_0xf1f5[9],_0xf1f5[10]]),controller[_0xf1f5[12]]);router[_0xf1f5[13]](_0xf1f5[14],license[_0xf1f5[6]](),license[_0xf1f5[7]](),auth[_0xf1f5[8]](),auth[_0xf1f5[11]]([15],[_0xf1f5[9]]),controller[_0xf1f5[15]]);router[_0xf1f5[13]](_0xf1f5[16],license[_0xf1f5[6]](),license[_0xf1f5[7]](),auth[_0xf1f5[8]](),auth[_0xf1f5[11]]([15],[_0xf1f5[9],_0xf1f5[10]]),controller[_0xf1f5[17]]);router[_0xf1f5[13]](_0xf1f5[18],license[_0xf1f5[6]](),license[_0xf1f5[7]](),auth[_0xf1f5[8]](),auth[_0xf1f5[11]]([15],[_0xf1f5[9]]),controller[_0xf1f5[19]]);router[_0xf1f5[13]](_0xf1f5[20],license[_0xf1f5[6]](),license[_0xf1f5[7]](),auth[_0xf1f5[8]](),auth[_0xf1f5[11]]([15],[_0xf1f5[9]]),controller[_0xf1f5[21]]);router[_0xf1f5[13]](_0xf1f5[22],license[_0xf1f5[6]](),license[_0xf1f5[7]](),auth[_0xf1f5[8]](),auth[_0xf1f5[11]]([15],[_0xf1f5[9]]),controller[_0xf1f5[23]]);router[_0xf1f5[13]](_0xf1f5[24],license[_0xf1f5[6]](),license[_0xf1f5[7]](),auth[_0xf1f5[8]](),auth[_0xf1f5[11]]([15],[_0xf1f5[9]]),controller[_0xf1f5[25]]);router[_0xf1f5[13]](_0xf1f5[26],license[_0xf1f5[6]](),license[_0xf1f5[7]](),auth[_0xf1f5[8]](),auth[_0xf1f5[11]]([15],[_0xf1f5[9]]),controller[_0xf1f5[27]]);router[_0xf1f5[13]](_0xf1f5[28],license[_0xf1f5[6]](),license[_0xf1f5[7]](),auth[_0xf1f5[8]](),auth[_0xf1f5[11]]([15],[_0xf1f5[9]]),controller[_0xf1f5[29]]);router[_0xf1f5[13]](_0xf1f5[30],license[_0xf1f5[6]](),license[_0xf1f5[7]](),auth[_0xf1f5[8]](),auth[_0xf1f5[11]]([15],[_0xf1f5[9]]),controller[_0xf1f5[31]]);router[_0xf1f5[33]](_0xf1f5[5],license[_0xf1f5[6]](),license[_0xf1f5[7]](),auth[_0xf1f5[8]](),auth[_0xf1f5[11]]([15],[_0xf1f5[9]]),controller[_0xf1f5[32]]);router[_0xf1f5[33]](_0xf1f5[18],license[_0xf1f5[6]](),license[_0xf1f5[7]](),auth[_0xf1f5[8]](),auth[_0xf1f5[11]]([15],[_0xf1f5[9],_0xf1f5[10]]),controller[_0xf1f5[34]]);router[_0xf1f5[33]](_0xf1f5[35],license[_0xf1f5[6]](),license[_0xf1f5[7]](),auth[_0xf1f5[8]](),auth[_0xf1f5[11]]([15],[_0xf1f5[9],_0xf1f5[10]]),controller[_0xf1f5[36]]);router[_0xf1f5[38]](_0xf1f5[14],license[_0xf1f5[6]](),license[_0xf1f5[7]](),auth[_0xf1f5[8]](),auth[_0xf1f5[11]]([15],[_0xf1f5[9]]),controller[_0xf1f5[37]]);router[_0xf1f5[38]](_0xf1f5[20],license[_0xf1f5[6]](),license[_0xf1f5[7]](),auth[_0xf1f5[8]](),auth[_0xf1f5[11]]([15],[_0xf1f5[9],_0xf1f5[10]]),controller[_0xf1f5[39]]);router[_0xf1f5[41]](_0xf1f5[20],license[_0xf1f5[6]](),license[_0xf1f5[7]](),auth[_0xf1f5[8]](),auth[_0xf1f5[11]]([15],[_0xf1f5[9]]),controller[_0xf1f5[40]]);router[_0xf1f5[41]](_0xf1f5[5],license[_0xf1f5[6]](),license[_0xf1f5[7]](),auth[_0xf1f5[8]](),auth[_0xf1f5[11]]([15],[_0xf1f5[9]]),controller[_0xf1f5[42]]);router[_0xf1f5[41]](_0xf1f5[14],license[_0xf1f5[6]](),license[_0xf1f5[7]](),auth[_0xf1f5[8]](),auth[_0xf1f5[11]]([15],[_0xf1f5[9]]),controller[_0xf1f5[43]]);module[_0xf1f5[44]]=router \ No newline at end of file diff --git a/server/api/jscripty_project/jscripty_project.controller.js b/server/api/jscripty_project/jscripty_project.controller.js index 7bb8871..656a5db 100644 --- a/server/api/jscripty_project/jscripty_project.controller.js +++ b/server/api/jscripty_project/jscripty_project.controller.js @@ -1 +1 @@ -var _0x7809=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x78\x6D\x6C\x32\x6A\x73","\x6C\x6F\x64\x61\x73\x68","\x4A\x73\x63\x72\x69\x70\x74\x79\x50\x72\x6F\x6A\x65\x63\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x52\x65\x70\x6F\x72\x74\x4A\x73\x63\x72\x69\x70\x74\x79\x53\x65\x73\x73\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x4A\x73\x63\x72\x69\x70\x74\x79\x51\x75\x65\x73\x74\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x4A\x73\x63\x72\x69\x70\x74\x79\x49\x6E\x70\x75\x74","\x62\x6C\x75\x65\x62\x69\x72\x64","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x73\x68\x6F\x77\x53\x65\x73\x73\x69\x6F\x6E\x73","\x6C\x6F\x67","\x73\x65\x73\x73\x69\x6F\x6E\x73","\x73\x63\x6F\x70\x65","\x73\x68\x6F\x77\x53\x65\x73\x73\x69\x6F\x6E","\x73\x65\x73\x73\x69\x6F\x6E\x49\x64","\x66\x69\x6E\x64","\x73\x68\x6F\x77\x49\x6E\x70\x75\x74\x73","\x72\x6F\x77\x73","\x73\x65\x73\x73\x69\x6F\x6E\x5F\x69\x64","\x71\x75\x65\x73\x74\x69\x6F\x6E\x5F\x69\x64","\x71\x75\x65\x73\x74\x69\x6F\x6E\x5F\x74\x79\x70\x65","\x71\x75\x65\x73\x74\x69\x6F\x6E\x5F\x6C\x61\x62\x65\x6C","\x71\x75\x65\x73\x74\x69\x6F\x6E\x5F\x74\x65\x78\x74","\x69\x6E\x70\x75\x74\x5F\x6C\x61\x62\x65\x6C","\x69\x6E\x70\x75\x74\x5F\x76\x61\x6C\x75\x65","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x63\x6F\x75\x6E\x74","\x6C\x65\x6E\x67\x74\x68","\x69\x6E\x70\x75\x74\x73","\x73\x68\x6F\x77\x51\x75\x65\x73\x74\x69\x6F\x6E\x73","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77\x53\x75\x6D\x6D\x61\x72\x79","\x73\x75\x6D\x6D\x61\x72\x79","\x73\x68\x6F\x77\x51\x75\x65\x73\x74\x69\x6F\x6E\x44\x65\x74\x61\x69\x6C","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x69\x6E\x70\x75\x74","\x67\x72\x6F\x75\x70\x42\x79","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x6C\x61\x73\x74","\x6B\x65\x79\x73","\x6C\x61\x62\x65\x6C\x73","\x63\x68\x6F\x69\x63\x65\x73","\x67\x72\x61\x70\x68\x44\x61\x74\x61","\x67\x72\x61\x70\x68\x4C\x61\x62\x65\x6C\x73","\x62\x61\x72","\x52\x65\x70\x6F\x72\x74\x4A\x73\x63\x72\x69\x70\x74\x79\x49\x6E\x70\x75\x74\x73","\x76\x61\x6C\x75\x65","\x70\x65\x72\x63\x65\x6E\x74\x61\x67\x65","\x71\x75\x65\x73\x74\x69\x6F\x6E\x49\x64","\x63\x6F\x6C","\x66\x6E","\x63\x68\x65\x63\x6B\x62\x6F\x78","\x31","\x69\x6E\x70\x75\x74\x5F\x74\x79\x70\x65","\x71\x75\x65\x73\x74\x69\x6F\x6E","\x71\x75\x65\x73\x74\x69\x6F\x6E\x5F\x61\x6E\x73\x77\x65\x72","\x71\x75\x65\x73\x74\x69\x6F\x6E\x5F\x6F\x74\x68\x65\x72\x5F\x61\x6E\x73\x77\x65\x72","\x71\x75\x65\x73\x74\x69\x6F\x6E\x5F\x6F\x74\x68\x65\x72\x5F\x6C\x61\x62\x65\x6C","\x71\x75\x65\x73\x74\x69\x6F\x6E\x5F\x6F\x70\x74\x69\x6F\x6E\x73","\x70\x61\x72\x73\x65","\x6F\x70\x74\x69\x6F\x6E\x73","\x6F\x74\x68\x65\x72\x5F\x6F\x70\x74\x69\x6F\x6E","\x70\x69\x65","\x73\x68\x6F\x77\x44\x65\x74\x61\x69\x6C","\x63\x72\x65\x61\x74\x65","\x6E\x61\x6D\x65","\x66\x69\x65\x6C\x64\x73","\x6D\x65\x73\x73\x61\x67\x65","\x50\x72\x6F\x6A\x65\x63\x74\x20\x6E\x61\x6D\x65\x20\x61\x6C\x72\x65\x61\x64\x79\x20\x65\x78\x69\x73\x74\x73","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x64\x4D\x65\x73\x73\x61\x67\x65","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x50\x52\x4F\x4A\x45\x43\x54","\x62\x6F\x64\x79","\x63\x72\x65\x61\x74\x65\x53\x65\x73\x73\x69\x6F\x6E","\x63\x72\x65\x61\x74\x65\x51\x75\x65\x73\x74\x69\x6F\x6E\x73","\x61\x6C\x6C","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x75\x70\x64\x61\x74\x65\x53\x65\x73\x73\x69\x6F\x6E","\x64\x65\x73\x74\x72\x6F\x79\x53\x65\x73\x73\x69\x6F\x6E","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x3B\x20\x66\x69\x6C\x65\x6E\x61\x6D\x65\x3D\x22","\x66\x69\x6C\x65\x6E\x61\x6D\x65","\x2E\x78\x6D\x6C\x22","\x74\x78\x74\x2F\x78\x6D\x6C","\x73\x65\x74","\x70\x72\x6F\x64\x75\x63\x74\x69\x6F\x6E"];_0x7809[0];var xml=require(_0x7809[1]);var _=require(_0x7809[2]);var JscriptyProject=require(_0x7809[4])[_0x7809[3]];var Util=require(_0x7809[5]);var sequelize=require(_0x7809[4])[_0x7809[6]];var ReportJscriptySession=require(_0x7809[4])[_0x7809[7]];var ReportJscriptyQuestion=require(_0x7809[4])[_0x7809[8]];var ReportJscriptyInput=require(_0x7809[4])[_0x7809[9]];var Promise=require(_0x7809[10]);function handleError(_0x5160xb,_0x5160xc){return _0x5160xb[_0x7809[12]](500)[_0x7809[11]](_0x5160xc)}function responseWithResult(_0x5160xb,_0x5160xe){_0x5160xe=_0x5160xe||200;return function(_0x5160xf){if(_0x5160xf){_0x5160xb[_0x7809[12]](_0x5160xe)[_0x7809[13]](_0x5160xf)}}}function handleEntityNotFound(_0x5160xb){return function(_0x5160xf){if(!_0x5160xf){_0x5160xb[_0x7809[12]](404)[_0x7809[14]]();return null};return _0x5160xf}}function saveUpdates(_0x5160x12){return function(_0x5160xf){return _0x5160xf[_0x7809[16]](_0x5160x12)[_0x7809[15]](function(_0x5160x13){return _0x5160x13})}}function removeEntity(_0x5160xb){return function(_0x5160xf){if(_0x5160xf){return _0x5160xf[_0x7809[17]]()[_0x7809[15]](function(){_0x5160xb[_0x7809[12]](204)[_0x7809[14]]()})}}}exports[_0x7809[18]]=function(_0x5160x15,_0x5160xb,_0x5160x16){return JscriptyProject[_0x7809[22]](Util[_0x7809[21]](_0x5160x15[_0x7809[20]]))[_0x7809[15]](function(_0x5160x17){_0x5160xb[_0x7809[12]](200)[_0x7809[11]](_0x5160x17)})[_0x7809[19]](function(_0x5160xc){return handleError(_0x5160xb,_0x5160xc)})};exports[_0x7809[23]]=function(_0x5160x15,_0x5160xb){return JscriptyProject[_0x7809[27]](_0x5160x15[_0x7809[26]][_0x7809[25]])[_0x7809[15]](function(_0x5160x18){if(!_0x5160x18){return _0x5160xb[_0x7809[24]](404)};return _0x5160xb[_0x7809[11]](_0x5160x18)})[_0x7809[19]](function(_0x5160xc){return handleError(_0x5160xb,_0x5160xc)})};exports[_0x7809[28]]=function(_0x5160x15,_0x5160xb){return ReportJscriptySession[_0x7809[31]]({method:[_0x7809[30],_0x5160x15[_0x7809[26]][_0x7809[25]]]})[_0x7809[22]](Util[_0x7809[21]](_0x5160x15[_0x7809[20]]))[_0x7809[15]](handleEntityNotFound(_0x5160xb))[_0x7809[15]](responseWithResult(_0x5160xb))[_0x7809[19]](function(_0x5160xc){console[_0x7809[29]](_0x5160xc);return handleError(_0x5160xb,_0x5160xc)})};exports[_0x7809[32]]=function(_0x5160x15,_0x5160xb){return ReportJscriptySession[_0x7809[34]]({where:{projectId:_0x5160x15[_0x7809[26]][_0x7809[25]],session_id:_0x5160x15[_0x7809[26]][_0x7809[33]]},include:[{model:ReportJscriptyQuestion,include:[{model:ReportJscriptyInput}]}]})[_0x7809[15]](handleEntityNotFound(_0x5160xb))[_0x7809[15]](responseWithResult(_0x5160xb))[_0x7809[19]](function(_0x5160xc){console[_0x7809[29]](_0x5160xc);return handleError(_0x5160xb,_0x5160xc)})};exports[_0x7809[35]]=function(_0x5160x15,_0x5160xb){var _0x5160x19={count:0,rows:[]};return ReportJscriptySession[_0x7809[31]]({method:[_0x7809[48],_0x5160x15[_0x7809[26]][_0x7809[25]]]})[_0x7809[22]](Util[_0x7809[21]](_0x5160x15[_0x7809[20]]))[_0x7809[15]](function(_0x5160x1a){_[_0x7809[45]](_0x5160x1a[_0x7809[36]],function(_0x5160x1b){var _0x5160x1c=_0x5160x1b[_0x7809[37]];_[_0x7809[45]](_0x5160x1b.ReportJscriptyQuestions,function(_0x5160x1d){var _0x5160x1e=_0x5160x1d[_0x7809[38]];var _0x5160x1f=_0x5160x1d[_0x7809[39]];var _0x5160x20=_0x5160x1d[_0x7809[40]];var _0x5160x21=_0x5160x1d[_0x7809[41]];_[_0x7809[45]](_0x5160x1d.ReportJscriptyInputs,function(_0x5160x22){_0x5160x19[_0x7809[36]][_0x7809[44]]({session_id:_0x5160x1c,question_type:_0x5160x1f,question_id:_0x5160x1e,question_label:_0x5160x20,question_text:_0x5160x21,input_label:_0x5160x22[_0x7809[42]],input_value:_0x5160x22[_0x7809[43]]})})})});_0x5160x19[_0x7809[46]]=_0x5160x19[_0x7809[36]][_0x7809[47]];return _0x5160x19})[_0x7809[15]](handleEntityNotFound(_0x5160xb))[_0x7809[15]](responseWithResult(_0x5160xb))[_0x7809[19]](function(_0x5160xc){console[_0x7809[29]](_0x5160xc);return handleError(_0x5160xb,_0x5160xc)})};exports[_0x7809[49]]=function(_0x5160x15,_0x5160xb){return ReportJscriptyQuestion[_0x7809[50]]({where:{projectId:_0x5160x15[_0x7809[26]][_0x7809[25]]},include:[{model:ReportJscriptyInput}]})[_0x7809[15]](function(_0x5160x23){if(!_0x5160x23){return _0x5160xb[_0x7809[24]](404)};return _0x5160xb[_0x7809[12]](200)[_0x7809[11]](_0x5160x23)})[_0x7809[15]](handleEntityNotFound(_0x5160xb))[_0x7809[19]](function(_0x5160xc){console[_0x7809[29]](_0x5160xc);return handleError(_0x5160xb,_0x5160xc)})};exports[_0x7809[51]]=function(_0x5160x15,_0x5160xb){return ReportJscriptyQuestion[_0x7809[31]]({method:[_0x7809[52],_0x5160x15[_0x7809[26]][_0x7809[25]]]})[_0x7809[22]](Util[_0x7809[21]](_0x5160x15[_0x7809[20]]))[_0x7809[15]](handleEntityNotFound(_0x5160xb))[_0x7809[15]](function(_0x5160x24){return _0x5160xb[_0x7809[12]](200)[_0x7809[11]](_0x5160x24)})[_0x7809[19]](function(_0x5160xc){console[_0x7809[29]](_0x5160xc);return handleError(_0x5160xb,_0x5160xc)})};exports[_0x7809[53]]=function(_0x5160x15,_0x5160xb){var _0x5160x25={};var _0x5160x23;var _0x5160x26=0;return ReportJscriptyQuestion[_0x7809[34]]({where:{projectId:_0x5160x15[_0x7809[26]][_0x7809[25]],question_id:_0x5160x15[_0x7809[26]][_0x7809[69]]},attributes:[_0x7809[39]]})[_0x7809[15]](function(_0x5160x27){if(!_0x5160x27){return _0x5160xb[_0x7809[24]](404)};if(_0x5160x27[_0x7809[54]][_0x7809[39]]==_0x7809[55]){return ReportJscriptyQuestion[_0x7809[50]]({where:{projectId:_0x5160x15[_0x7809[26]][_0x7809[25]],question_id:_0x5160x15[_0x7809[26]][_0x7809[69]]},attributes:[_0x7809[39],_0x7809[38],_0x7809[40],_0x7809[41]],include:[{model:ReportJscriptyInput,where:{$or:[{input_type:_0x7809[72],input_value:_0x7809[73]},{input_type:{$ne:_0x7809[72]},input_value:{$ne:null}}]},attributes:[_0x7809[42],_0x7809[43],_0x7809[74],[sequelize[_0x7809[71]](_0x7809[46],sequelize[_0x7809[70]](_0x7809[42])),_0x7809[46]]]}],group:[_0x7809[38],_0x7809[42]]})[_0x7809[15]](function(_0x5160x27){_0x5160x23=_0x5160x27;return ReportJscriptyQuestion[_0x7809[50]]({where:{projectId:_0x5160x15[_0x7809[26]][_0x7809[25]],question_id:_0x5160x15[_0x7809[26]][_0x7809[69]],question_type:_0x7809[55]},attributes:[_0x7809[38],[sequelize[_0x7809[71]](_0x7809[46],sequelize[_0x7809[70]](_0x7809[38])),_0x7809[46]]],group:[_0x7809[38]]})})[_0x7809[15]](function(_0x5160x34){console[_0x7809[29]](_0x5160x34);_0x5160x26=_0x5160x34[0][_0x7809[54]][_0x7809[46]];if(_0x5160x23){var _0x5160x29=_[_0x7809[56]](_0x5160x23,_0x7809[38]);_[_0x7809[45]](_0x5160x29,function(_0x5160x35,_0x5160x2a){var _0x5160x30=[];var _0x5160x31=[];var _0x5160x33=[];var _0x5160x36=_0x7809[65];_[_0x7809[45]](_0x5160x35,function(_0x5160x2d){if(_0x5160x2d[_0x7809[66]]){_[_0x7809[45]](_0x5160x2d.ReportJscriptyInputs,function(_0x5160x22){_0x5160x30[_0x7809[44]]({checkbox:true,value:_0x5160x22[_0x7809[42]],count:_0x5160x22[_0x7809[54]][_0x7809[46]]})})}});var _0x5160x32=[];for(var _0x5160x37=0;_0x5160x37<_0x5160x30[_0x7809[47]];_0x5160x37++){_0x5160x36=_0x7809[65];_0x5160x32[_0x5160x37]=_0x5160x30[_0x5160x37][_0x7809[46]];_0x5160x33[_0x5160x37]=_0x5160x30[_0x5160x37][_0x7809[67]];_0x5160x30[_0x5160x37][_0x7809[68]]=_0x5160x26?(_0x5160x30[_0x5160x37][_0x7809[46]]/_0x5160x26)*100:0};_0x5160x31[0]=_0x5160x32;_0x5160x25={total:_0x5160x26,question_type:_[_0x7809[59]](_0x5160x35)[_0x7809[39]],question_id:_[_0x7809[59]](_0x5160x35)[_0x7809[38]],question_label:_[_0x7809[59]](_0x5160x35)[_0x7809[40]],question_text:_[_0x7809[59]](_0x5160x35)[_0x7809[41]],choices:_0x5160x30,graphData:_0x5160x31,graphLabels:_0x5160x33,graphType:_0x5160x36};console[_0x7809[29]](_0x5160x25)})};return ReportJscriptyQuestion[_0x7809[50]]({where:{projectId:_0x5160x15[_0x7809[26]][_0x7809[25]],question_id:_0x5160x15[_0x7809[26]][_0x7809[69]],question_type:_0x7809[55]},attributes:[_0x7809[39],_0x7809[38],_0x7809[40],_0x7809[41]],include:[{model:ReportJscriptyInput,attributes:[_0x7809[42]]}]})})[_0x7809[15]](function(_0x5160x19){console[_0x7809[29]](_0x7809[48],_0x5160x19);var _0x5160x28=[];if(_0x5160x19){var _0x5160x29=_[_0x7809[56]](_0x5160x19,_0x7809[38]);_[_0x7809[45]](_0x5160x29,function(_0x5160x1d,_0x5160x2a){var _0x5160x2b=[];_[_0x7809[45]](_0x5160x1d,function(_0x5160x2c){_0x5160x2b=_[_0x7809[58]](_0x5160x2b,_[_0x7809[57]](_0x5160x2c.ReportJscriptyInputs,_0x7809[42]))});_0x5160x28[_0x7809[44]]({question_id:_[_0x7809[59]](_0x5160x1d)[_0x7809[38]],labels:_0x5160x2b})});console[_0x7809[29]](_0x5160x28);_[_0x7809[45]](_0x5160x28,function(_0x5160x2d){if(Object[_0x7809[60]](_0x5160x25)[_0x7809[47]]){_[_0x7809[45]](_0x5160x2d[_0x7809[61]],function(_0x5160x2e){var _0x5160x2f=_[_0x7809[34]](_0x5160x25[_0x7809[62]],{value:_0x5160x2e});if(!_0x5160x2f){_0x5160x25[_0x7809[62]][_0x7809[44]]({value:_0x5160x2e,count:0,percentage:0});_0x5160x25[_0x7809[63]][0][_0x7809[44]](0);_0x5160x25[_0x7809[64]][_0x7809[44]](_0x5160x2e)}})}else {var _0x5160x30=[];var _0x5160x31=[];var _0x5160x32=[];var _0x5160x33=[];_[_0x7809[45]](_0x5160x2d[_0x7809[61]],function(_0x5160x2e){_0x5160x30[_0x7809[44]]({value:_0x5160x2e,count:0,percentage:0});_0x5160x32[_0x7809[44]](0);_0x5160x33[_0x7809[44]](_0x5160x2e)});_0x5160x31[_0x7809[44]](_0x5160x32);var _0x5160x22=_0x5160x19[0];_0x5160x25={total:_0x5160x26,question_type:_0x5160x22[_0x7809[39]],question_id:_0x5160x22[_0x7809[38]],question_label:_0x5160x22[_0x7809[40]],question_text:_0x5160x22[_0x7809[41]],choices:_0x5160x30,graphType:_0x7809[65],graphData:_0x5160x31,graphLabels:_0x5160x33}}})};return _0x5160xb[_0x7809[12]](201)[_0x7809[11]](_0x5160x25)})}else {if(_0x5160x27[_0x7809[54]][_0x7809[39]]==_0x7809[75]){return ReportJscriptyQuestion[_0x7809[50]]({where:{projectId:_0x5160x15[_0x7809[26]][_0x7809[25]],question_id:_0x5160x15[_0x7809[26]][_0x7809[69]]},attributes:[_0x7809[39],_0x7809[38],_0x7809[40],_0x7809[41],_0x7809[79],_0x7809[76],[sequelize[_0x7809[71]](_0x7809[46],sequelize[_0x7809[70]](_0x7809[76])),_0x7809[46]]],group:[_0x7809[38],_0x7809[76]]})[_0x7809[15]](function(_0x5160x27){_0x5160x23=_0x5160x27;return ReportJscriptyQuestion[_0x7809[50]]({where:{projectId:_0x5160x15[_0x7809[26]][_0x7809[25]],question_id:_0x5160x15[_0x7809[26]][_0x7809[69]],question_type:_0x7809[75],question_other_answer:{$ne:null}},attributes:[_0x7809[39],_0x7809[38],_0x7809[40],_0x7809[79],_0x7809[41],_0x7809[77],_0x7809[78],[sequelize[_0x7809[71]](_0x7809[46],sequelize[_0x7809[70]](_0x7809[78])),_0x7809[46]]],group:[_0x7809[38],_0x7809[78]]})})[_0x7809[15]](function(_0x5160x1a){if(_0x5160x1a){_[_0x7809[45]](_0x5160x1a,function(_0x5160x2d){_0x5160x23[_0x7809[44]](_0x5160x2d)})};var _0x5160x29=_[_0x7809[56]](_0x5160x23,_0x7809[38]);_[_0x7809[45]](_0x5160x29,function(_0x5160x35,_0x5160x2a){var _0x5160x30=[];var _0x5160x26=0;var _0x5160x31=[];var _0x5160x33=[];var _0x5160x36;_[_0x7809[45]](_0x5160x35,function(_0x5160x2d){if(_0x5160x2d[_0x7809[76]]){_0x5160x30[_0x7809[44]]({value:_0x5160x2d[_0x7809[76]],count:_0x5160x2d[_0x7809[54]][_0x7809[46]]});_0x5160x26=_0x5160x26+_0x5160x2d[_0x7809[54]][_0x7809[46]]};if(_0x5160x2d[_0x7809[77]]){_0x5160x30[_0x7809[44]]({other_option:true,value:_0x5160x2d[_0x7809[78]],count:_0x5160x2d[_0x7809[54]][_0x7809[46]]})}});var _0x5160x38=_[_0x7809[59]](_0x5160x35)[_0x7809[79]]?JSON[_0x7809[80]](_[_0x7809[59]](_0x5160x35)[_0x7809[79]]):null;if(_0x5160x38){_[_0x7809[45]](_0x5160x38[_0x7809[81]],function(_0x5160x39){var _0x5160x3a=_[_0x7809[34]](_0x5160x30,{value:_0x5160x39});if(!_0x5160x3a){_0x5160x30[_0x7809[44]]({value:_0x5160x39,count:0,percentage:0})}})};var _0x5160x32=[];var _0x5160x3b=false;for(var _0x5160x37=0;_0x5160x37<_0x5160x30[_0x7809[47]];_0x5160x37++){if(!_0x5160x30[_0x5160x37][_0x7809[82]]){_0x5160x31[_0x5160x37]=_0x5160x30[_0x5160x37][_0x7809[46]];_0x5160x33[_0x5160x37]=_0x5160x30[_0x5160x37][_0x7809[67]];_0x5160x36=_0x7809[83];_0x5160x30[_0x5160x37][_0x7809[68]]=(_0x5160x26==0)?0:(_0x5160x30[_0x5160x37][_0x7809[46]]/_0x5160x26)*100}};_0x5160x25={total:_0x5160x26,question_type:_[_0x7809[59]](_0x5160x35)[_0x7809[39]],question_id:_[_0x7809[59]](_0x5160x35)[_0x7809[38]],question_label:_[_0x7809[59]](_0x5160x35)[_0x7809[40]],question_text:_[_0x7809[59]](_0x5160x35)[_0x7809[41]],choices:_0x5160x30,graphData:_0x5160x31,graphLabels:_0x5160x33,graphType:_0x5160x36};console[_0x7809[29]](_0x5160x25)});return _0x5160xb[_0x7809[12]](201)[_0x7809[11]](_0x5160x25)})}else {return _0x5160xb[_0x7809[24]](404)}}})[_0x7809[19]](function(_0x5160xc){console[_0x7809[29]](_0x5160xc);return handleError(_0x5160xb,_0x5160xc)})};exports[_0x7809[84]]=function(_0x5160x15,_0x5160xb){var _0x5160x3c;var _0x5160x23;var _0x5160x3d;var _0x5160x34;return ReportJscriptyQuestion[_0x7809[50]]({where:{projectId:_0x5160x15[_0x7809[26]][_0x7809[25]],question_type:_0x7809[75]},attributes:[_0x7809[39],_0x7809[38],_0x7809[40],_0x7809[41],_0x7809[76],_0x7809[79],[sequelize[_0x7809[71]](_0x7809[46],sequelize[_0x7809[70]](_0x7809[76])),_0x7809[46]]],group:[_0x7809[38],_0x7809[76]]})[_0x7809[15]](function(_0x5160x1a){_0x5160x23=_0x5160x1a;return ReportJscriptyQuestion[_0x7809[50]]({where:{projectId:_0x5160x15[_0x7809[26]][_0x7809[25]],question_type:_0x7809[75],question_other_answer:{$ne:null}},attributes:[_0x7809[39],_0x7809[38],_0x7809[40],_0x7809[41],_0x7809[77],_0x7809[78],_0x7809[79],[sequelize[_0x7809[71]](_0x7809[46],sequelize[_0x7809[70]](_0x7809[78])),_0x7809[46]]],group:[_0x7809[38],_0x7809[78]]})})[_0x7809[15]](function(_0x5160x1a){_[_0x7809[45]](_0x5160x1a,function(_0x5160x2d){_0x5160x23[_0x7809[44]](_0x5160x2d)});var _0x5160x25=[];var _0x5160x36=_0x7809[83];var _0x5160x29=_[_0x7809[56]](_0x5160x23,_0x7809[38]);_[_0x7809[45]](_0x5160x29,function(_0x5160x35,_0x5160x2a){var _0x5160x26=0;var _0x5160x31=[];var _0x5160x33=[];var _0x5160x30=[];_[_0x7809[45]](_0x5160x35,function(_0x5160x2d){if(_0x5160x2d[_0x7809[76]]){_0x5160x30[_0x7809[44]]({value:_0x5160x2d[_0x7809[76]],count:_0x5160x2d[_0x7809[54]][_0x7809[46]]});_0x5160x26=_0x5160x26+_0x5160x2d[_0x7809[54]][_0x7809[46]]}else {if(_0x5160x2d[_0x7809[77]]){_0x5160x30[_0x7809[44]]({other_option:true,value:_0x5160x2d[_0x7809[78]],count:_0x5160x2d[_0x7809[54]][_0x7809[46]]})}}});var _0x5160x38=JSON[_0x7809[80]](_[_0x7809[59]](_0x5160x35)[_0x7809[79]]);if(_0x5160x38){var _0x5160x42=0;_[_0x7809[45]](_0x5160x38[_0x7809[81]],function(_0x5160x39){var _0x5160x3a=_[_0x7809[34]](_0x5160x30,{value:_0x5160x39});if(!_0x5160x3a){_0x5160x30[_0x7809[44]]({value:_0x5160x39,count:0,percentage:0})}})};for(var _0x5160x37=0;_0x5160x37<_0x5160x30[_0x7809[47]];_0x5160x37++){_0x5160x30[_0x5160x37][_0x7809[68]]=_0x5160x30[_0x5160x37][_0x7809[46]]?(_0x5160x30[_0x5160x37][_0x7809[46]]/_0x5160x26)*100:0;if(!_0x5160x30[_0x5160x37][_0x7809[82]]){_0x5160x31[_0x5160x37]=_0x5160x30[_0x5160x37][_0x7809[46]];_0x5160x33[_0x5160x37]=_0x5160x30[_0x5160x37][_0x7809[67]]}};_0x5160x25[_0x7809[44]]({total:_0x5160x26,question_type:_[_0x7809[59]](_0x5160x35)[_0x7809[39]],question_id:_[_0x7809[59]](_0x5160x35)[_0x7809[38]],question_label:_[_0x7809[59]](_0x5160x35)[_0x7809[40]],question_text:_[_0x7809[59]](_0x5160x35)[_0x7809[41]],choices:_0x5160x30,graphData:_0x5160x31,graphLabels:_0x5160x33,graphType:_0x5160x36})});_0x5160x3c=_0x5160x25;return ReportJscriptyQuestion[_0x7809[50]]({where:{projectId:_0x5160x15[_0x7809[26]][_0x7809[25]],question_type:_0x7809[55]},attributes:[_0x7809[25],_0x7809[39],_0x7809[38],_0x7809[40],_0x7809[41],_0x7809[76]],include:[{model:ReportJscriptyInput,where:{$or:[{input_type:_0x7809[72],input_value:_0x7809[73]},{input_type:{$ne:_0x7809[72]},input_value:{$ne:null}}]},attributes:[_0x7809[42],_0x7809[43],_0x7809[74],[sequelize[_0x7809[71]](_0x7809[46],sequelize[_0x7809[70]](_0x7809[42])),_0x7809[46]]]}],group:[_0x7809[38],_0x7809[42]]})})[_0x7809[15]](function(_0x5160x27){_0x5160x23=_0x5160x27;return ReportJscriptyQuestion[_0x7809[50]]({where:{projectId:_0x5160x15[_0x7809[26]][_0x7809[25]],question_type:_0x7809[55]},attributes:[_0x7809[38],[sequelize[_0x7809[71]](_0x7809[46],sequelize[_0x7809[70]](_0x7809[38])),_0x7809[46]]],group:[_0x7809[38]]})})[_0x7809[15]](function(_0x5160x1d){_0x5160x34=_0x5160x1d;var _0x5160x25=[];var _0x5160x29=_[_0x7809[56]](_0x5160x23,_0x7809[38]);_[_0x7809[45]](_0x5160x29,function(_0x5160x35,_0x5160x2a){var _0x5160x30=[];var _0x5160x26=0;_0x5160x26=_[_0x7809[34]](_0x5160x34,function(_0x5160x1d){return _0x5160x1d[_0x7809[38]]==_[_0x7809[59]](_0x5160x35)[_0x7809[38]]})[_0x7809[54]][_0x7809[46]];var _0x5160x31=[];var _0x5160x40=[];var _0x5160x33=[];var _0x5160x36=_0x7809[65];_[_0x7809[45]](_0x5160x35,function(_0x5160x2d){var _0x5160x41=_0x5160x2d;_[_0x7809[45]](_0x5160x41.ReportJscriptyInputs,function(_0x5160x22){_0x5160x30[_0x7809[44]]({checkbox:true,value:_0x5160x22[_0x7809[42]],count:_0x5160x22[_0x7809[54]][_0x7809[46]]})})});var _0x5160x32=[];for(var _0x5160x37=0;_0x5160x37<_0x5160x30[_0x7809[47]];_0x5160x37++){_0x5160x32[_0x5160x37]=_0x5160x30[_0x5160x37][_0x7809[46]];_0x5160x30[_0x5160x37][_0x7809[68]]=(_0x5160x30[_0x5160x37][_0x7809[46]]/_0x5160x26)*100;_0x5160x33[_0x5160x37]=_0x5160x30[_0x5160x37][_0x7809[67]]};_0x5160x31[0]=_0x5160x32;_0x5160x3c[_0x7809[44]]({total:_0x5160x26,question_type:_[_0x7809[59]](_0x5160x35)[_0x7809[39]],question_id:_[_0x7809[59]](_0x5160x35)[_0x7809[38]],question_label:_[_0x7809[59]](_0x5160x35)[_0x7809[40]],question_text:_[_0x7809[59]](_0x5160x35)[_0x7809[41]],choices:_0x5160x30,graphData:_0x5160x31,graphLabels:_0x5160x33,graphType:_0x5160x36})});return ReportJscriptyQuestion[_0x7809[50]]({where:{projectId:_0x5160x15[_0x7809[26]][_0x7809[25]],question_type:_0x7809[55]},attributes:[_0x7809[25],_0x7809[38],_0x7809[40],_0x7809[41],_0x7809[39]],include:[{model:ReportJscriptyInput,attributes:[_0x7809[42]]}]})})[_0x7809[15]](function(_0x5160x19){var _0x5160x29=_[_0x7809[56]](_0x5160x19,_0x7809[38]);var _0x5160x3e=[];_[_0x7809[45]](_0x5160x29,function(_0x5160x1d,_0x5160x2a){var _0x5160x2b=[];_[_0x7809[45]](_0x5160x1d,function(_0x5160x2c){_0x5160x2b=_[_0x7809[58]](_0x5160x2b,_[_0x7809[57]](_0x5160x2c.ReportJscriptyInputs,_0x7809[42]))});_0x5160x3e[_0x7809[44]]({question_text:_[_0x7809[59]](_0x5160x1d)[_0x7809[41]],question_type:_[_0x7809[59]](_0x5160x1d)[_0x7809[39]],question_label:_[_0x7809[59]](_0x5160x1d)[_0x7809[40]],question_id:_[_0x7809[59]](_0x5160x1d)[_0x7809[38]],labels:_0x5160x2b})});_[_0x7809[45]](_0x5160x3e,function(_0x5160x2d){var _0x5160x1d=_[_0x7809[34]](_0x5160x3c,{"\x71\x75\x65\x73\x74\x69\x6F\x6E\x5F\x69\x64":_0x5160x2d[_0x7809[38]]});if(_0x5160x1d){var _0x5160x3f;_[_0x7809[45]](_0x5160x2d[_0x7809[61]],function(_0x5160x2e){var _0x5160x2f=_[_0x7809[34]](_0x5160x1d[_0x7809[62]],{value:_0x5160x2e});if(!_0x5160x2f){_0x5160x1d[_0x7809[62]][_0x7809[44]]({value:_0x5160x2e,count:0,percentage:0});_0x5160x1d[_0x7809[63]][0][_0x7809[44]](0);_0x5160x1d[_0x7809[64]][_0x7809[44]](_0x5160x2e)}})}else {var _0x5160x30=[];var _0x5160x31=[];var _0x5160x32=[];var _0x5160x33=[];_[_0x7809[45]](_0x5160x2d[_0x7809[61]],function(_0x5160x2e){_0x5160x30[_0x7809[44]]({value:_0x5160x2e,count:0,percentage:0});_0x5160x32[_0x7809[44]](0);_0x5160x33[_0x7809[44]](_0x5160x2e)});_0x5160x31[_0x7809[44]](_0x5160x32);var _0x5160x26=_[_0x7809[34]](_0x5160x34,function(_0x5160x1d){return _0x5160x1d[_0x7809[38]]==_0x5160x2d[_0x7809[38]]})[_0x7809[54]][_0x7809[46]];_0x5160x3c[_0x7809[44]]({total:_0x5160x26,question_type:_0x5160x2d[_0x7809[39]],question_id:_0x5160x2d[_0x7809[38]],question_label:_0x5160x2d[_0x7809[40]],question_text:_0x5160x2d[_0x7809[41]],choices:_0x5160x30,graphType:_0x7809[65],graphData:_0x5160x31,graphLabels:_0x5160x33})}});return _0x5160xb[_0x7809[12]](201)[_0x7809[11]](_0x5160x3c)})[_0x7809[19]](function(_0x5160xc){console[_0x7809[29]](_0x5160xc);return handleError(_0x5160xb,_0x5160xc)})};exports[_0x7809[85]]=function(_0x5160x15,_0x5160xb){return JscriptyProject[_0x7809[85]](_0x5160x15[_0x7809[92]])[_0x7809[15]](function(_0x5160x18){return _0x5160xb[_0x7809[12]](201)[_0x7809[11]](_0x5160x18)})[_0x7809[19]](sequelize.UniqueConstraintError,function(_0x5160xc){if(_0x5160xc[_0x7809[87]][_0x7809[86]]){_0x5160xc[_0x7809[88]]=_0x7809[89];_0x5160xc[_0x7809[90]]=_0x7809[91]};return handleError(_0x5160xb,_0x5160xc)})[_0x7809[19]](function(_0x5160xc){return handleError(_0x5160xb,_0x5160xc)})};exports[_0x7809[93]]=function(_0x5160x15,_0x5160xb){return ReportJscriptySession[_0x7809[85]](_0x5160x15[_0x7809[92]])[_0x7809[15]](function(_0x5160x43){return _0x5160xb[_0x7809[12]](201)[_0x7809[11]](_0x5160x43)})[_0x7809[19]](function(_0x5160xc){return handleError(_0x5160xb,_0x5160xc)})};exports[_0x7809[94]]=function(_0x5160x15,_0x5160xb){return ReportJscriptyQuestion[_0x7809[17]]({where:{sessionId:_0x5160x15[_0x7809[26]][_0x7809[33]]}})[_0x7809[15]](function(){var _0x5160x44=[];for(var _0x5160x37=0;_0x5160x37<_0x5160x15[_0x7809[92]][_0x7809[47]];_0x5160x37++){_0x5160x44[_0x5160x37]=ReportJscriptyQuestion[_0x7809[85]](_0x5160x15[_0x7809[92]][_0x5160x37],{include:[{model:ReportJscriptyInput}]})};return Promise[_0x7809[95]](_0x5160x44)})[_0x7809[15]](function(_0x5160x27){return _0x5160xb[_0x7809[24]](201)})[_0x7809[19]](function(_0x5160xc){return handleError(_0x5160xb,_0x5160xc)})};exports[_0x7809[96]]=function(_0x5160x15,_0x5160xb){if(_0x5160x15[_0x7809[92]][_0x7809[25]]){delete _0x5160x15[_0x7809[92]][_0x7809[25]]};return JscriptyProject[_0x7809[27]](_0x5160x15[_0x7809[26]][_0x7809[25]])[_0x7809[15]](function(_0x5160x18){if(!_0x5160x18){return _0x5160xb[_0x7809[24]](404)};var _0x5160x13=_[_0x7809[97]](_0x5160x18,_0x5160x15[_0x7809[92]]);return _0x5160x13[_0x7809[98]]()})[_0x7809[15]](function(_0x5160x18){return _0x5160xb[_0x7809[12]](200)[_0x7809[11]](_0x5160x18)})[_0x7809[19]](function(_0x5160xc){return handleError(_0x5160xb,_0x5160xc)})};exports[_0x7809[99]]=function(_0x5160x15,_0x5160xb){return ReportJscriptySession[_0x7809[27]](_0x5160x15[_0x7809[26]][_0x7809[33]])[_0x7809[15]](function(_0x5160x1b){if(!_0x5160x1b){return _0x5160xb[_0x7809[24]](404)};var _0x5160x13=_[_0x7809[97]](_0x5160x1b,_0x5160x15[_0x7809[92]]);return _0x5160x13[_0x7809[98]]()})[_0x7809[15]](function(_0x5160x43){return _0x5160xb[_0x7809[12]](200)[_0x7809[11]](_0x5160x43)})[_0x7809[19]](function(_0x5160xc){return handleError(_0x5160xb,_0x5160xc)})};exports[_0x7809[17]]=function(_0x5160x15,_0x5160xb){return JscriptyProject[_0x7809[27]](_0x5160x15[_0x7809[26]][_0x7809[25]])[_0x7809[15]](function(_0x5160x18){if(!_0x5160x18){return _0x5160xb[_0x7809[24]](404)};return _0x5160x18[_0x7809[17]]()})[_0x7809[15]](function(){return _0x5160xb[_0x7809[24]](204)})[_0x7809[19]](function(_0x5160xc){return handleError(_0x5160xb,_0x5160xc)})};exports[_0x7809[100]]=function(_0x5160x15,_0x5160xb){return ReportJscriptySession[_0x7809[34]]({where:{session_id:_0x5160x15[_0x7809[26]][_0x7809[33]]}})[_0x7809[15]](function(_0x5160x1b){if(!_0x5160x1b){return _0x5160xb[_0x7809[24]](404)};return _0x5160x1b[_0x7809[17]]()})[_0x7809[15]](function(){return _0x5160xb[_0x7809[24]](204)})[_0x7809[19]](function(_0x5160xc){return handleError(_0x5160xb,_0x5160xc)})};exports[_0x7809[101]]=function(_0x5160x15,_0x5160xb){return JscriptyProject[_0x7809[17]]({where:{id:_0x5160x15[_0x7809[20]][_0x7809[102]]},individualHooks:true})[_0x7809[15]](function(){return _0x5160xb[_0x7809[24]](204)})[_0x7809[19]](function(_0x5160xc){return handleError(_0x5160xb,_0x5160xc)})};exports[_0x7809[103]]=function(_0x5160x15,_0x5160xb,_0x5160x16){return JscriptyProject[_0x7809[27]](_0x5160x15[_0x7809[26]][_0x7809[25]])[_0x7809[15]](function(_0x5160x18){if(!_0x5160x18){return _0x5160xb[_0x7809[24]](404)};_0x5160xb[_0x7809[108]]({"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E":_0x7809[104]+_0x5160x15[_0x7809[20]][_0x7809[105]]+_0x7809[106],"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65":_0x7809[107]});return _0x5160xb[_0x7809[11]](_0x5160x18[_0x7809[109]])})[_0x7809[19]](function(_0x5160xc){return handleError(_0x5160xb,_0x5160xc)})} \ No newline at end of file +var _0x29dc=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x78\x6D\x6C\x32\x6A\x73","\x6C\x6F\x64\x61\x73\x68","\x4A\x73\x63\x72\x69\x70\x74\x79\x50\x72\x6F\x6A\x65\x63\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x52\x65\x70\x6F\x72\x74\x4A\x73\x63\x72\x69\x70\x74\x79\x53\x65\x73\x73\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x4A\x73\x63\x72\x69\x70\x74\x79\x51\x75\x65\x73\x74\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x4A\x73\x63\x72\x69\x70\x74\x79\x49\x6E\x70\x75\x74","\x62\x6C\x75\x65\x62\x69\x72\x64","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x73\x68\x6F\x77\x53\x65\x73\x73\x69\x6F\x6E\x73","\x6C\x6F\x67","\x73\x65\x73\x73\x69\x6F\x6E\x73","\x73\x63\x6F\x70\x65","\x73\x68\x6F\x77\x53\x65\x73\x73\x69\x6F\x6E","\x73\x65\x73\x73\x69\x6F\x6E\x49\x64","\x66\x69\x6E\x64","\x73\x68\x6F\x77\x49\x6E\x70\x75\x74\x73","\x72\x6F\x77\x73","\x73\x65\x73\x73\x69\x6F\x6E\x5F\x69\x64","\x71\x75\x65\x73\x74\x69\x6F\x6E\x5F\x69\x64","\x71\x75\x65\x73\x74\x69\x6F\x6E\x5F\x74\x79\x70\x65","\x71\x75\x65\x73\x74\x69\x6F\x6E\x5F\x6C\x61\x62\x65\x6C","\x71\x75\x65\x73\x74\x69\x6F\x6E\x5F\x74\x65\x78\x74","\x69\x6E\x70\x75\x74\x5F\x6C\x61\x62\x65\x6C","\x69\x6E\x70\x75\x74\x5F\x76\x61\x6C\x75\x65","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x63\x6F\x75\x6E\x74","\x6C\x65\x6E\x67\x74\x68","\x69\x6E\x70\x75\x74\x73","\x73\x68\x6F\x77\x51\x75\x65\x73\x74\x69\x6F\x6E\x73","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77\x53\x75\x6D\x6D\x61\x72\x79","\x73\x75\x6D\x6D\x61\x72\x79","\x73\x68\x6F\x77\x51\x75\x65\x73\x74\x69\x6F\x6E\x44\x65\x74\x61\x69\x6C","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x69\x6E\x70\x75\x74","\x67\x72\x6F\x75\x70\x42\x79","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x6C\x61\x73\x74","\x6B\x65\x79\x73","\x6C\x61\x62\x65\x6C\x73","\x63\x68\x6F\x69\x63\x65\x73","\x67\x72\x61\x70\x68\x44\x61\x74\x61","\x67\x72\x61\x70\x68\x4C\x61\x62\x65\x6C\x73","\x62\x61\x72","\x52\x65\x70\x6F\x72\x74\x4A\x73\x63\x72\x69\x70\x74\x79\x49\x6E\x70\x75\x74\x73","\x76\x61\x6C\x75\x65","\x70\x65\x72\x63\x65\x6E\x74\x61\x67\x65","\x71\x75\x65\x73\x74\x69\x6F\x6E\x49\x64","\x63\x6F\x6C","\x66\x6E","\x63\x68\x65\x63\x6B\x62\x6F\x78","\x31","\x69\x6E\x70\x75\x74\x5F\x74\x79\x70\x65","\x71\x75\x65\x73\x74\x69\x6F\x6E","\x70\x69\x65","\x71\x75\x65\x73\x74\x69\x6F\x6E\x5F\x61\x6E\x73\x77\x65\x72","\x71\x75\x65\x73\x74\x69\x6F\x6E\x5F\x6F\x74\x68\x65\x72\x5F\x61\x6E\x73\x77\x65\x72","\x71\x75\x65\x73\x74\x69\x6F\x6E\x5F\x6F\x74\x68\x65\x72\x5F\x6C\x61\x62\x65\x6C","\x71\x75\x65\x73\x74\x69\x6F\x6E\x5F\x6F\x70\x74\x69\x6F\x6E\x73","\x70\x61\x72\x73\x65","\x6F\x70\x74\x69\x6F\x6E\x73","\x6F\x74\x68\x65\x72\x5F\x6F\x70\x74\x69\x6F\x6E","\x71\x75\x65\x73\x74\x69\x6F\x6E\x20\x74\x79\x70\x65\x20\x6E\x6F\x74\x20\x72\x65\x63\x6F\x67\x6E\x69\x7A\x65\x64","\x73\x68\x6F\x77\x44\x65\x74\x61\x69\x6C","\x63\x72\x65\x61\x74\x65","\x6E\x61\x6D\x65","\x66\x69\x65\x6C\x64\x73","\x6D\x65\x73\x73\x61\x67\x65","\x50\x72\x6F\x6A\x65\x63\x74\x20\x6E\x61\x6D\x65\x20\x61\x6C\x72\x65\x61\x64\x79\x20\x65\x78\x69\x73\x74\x73","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x64\x4D\x65\x73\x73\x61\x67\x65","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x50\x52\x4F\x4A\x45\x43\x54","\x62\x6F\x64\x79","\x63\x72\x65\x61\x74\x65\x53\x65\x73\x73\x69\x6F\x6E","\x63\x72\x65\x61\x74\x65\x51\x75\x65\x73\x74\x69\x6F\x6E\x73","\x61\x6C\x6C","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x75\x70\x64\x61\x74\x65\x53\x65\x73\x73\x69\x6F\x6E","\x64\x65\x73\x74\x72\x6F\x79\x53\x65\x73\x73\x69\x6F\x6E","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x3B\x20\x66\x69\x6C\x65\x6E\x61\x6D\x65\x3D\x22","\x66\x69\x6C\x65\x6E\x61\x6D\x65","\x2E\x78\x6D\x6C\x22","\x74\x78\x74\x2F\x78\x6D\x6C","\x73\x65\x74","\x70\x72\x6F\x64\x75\x63\x74\x69\x6F\x6E"];_0x29dc[0];var xml=require(_0x29dc[1]);var _=require(_0x29dc[2]);var JscriptyProject=require(_0x29dc[4])[_0x29dc[3]];var Util=require(_0x29dc[5]);var sequelize=require(_0x29dc[4])[_0x29dc[6]];var ReportJscriptySession=require(_0x29dc[4])[_0x29dc[7]];var ReportJscriptyQuestion=require(_0x29dc[4])[_0x29dc[8]];var ReportJscriptyInput=require(_0x29dc[4])[_0x29dc[9]];var Promise=require(_0x29dc[10]);function handleError(_0x8fb8xb,_0x8fb8xc){return _0x8fb8xb[_0x29dc[12]](500)[_0x29dc[11]](_0x8fb8xc)}function responseWithResult(_0x8fb8xb,_0x8fb8xe){_0x8fb8xe=_0x8fb8xe||200;return function(_0x8fb8xf){if(_0x8fb8xf){_0x8fb8xb[_0x29dc[12]](_0x8fb8xe)[_0x29dc[13]](_0x8fb8xf)}}}function handleEntityNotFound(_0x8fb8xb){return function(_0x8fb8xf){if(!_0x8fb8xf){_0x8fb8xb[_0x29dc[12]](404)[_0x29dc[14]]();return null};return _0x8fb8xf}}function saveUpdates(_0x8fb8x12){return function(_0x8fb8xf){return _0x8fb8xf[_0x29dc[16]](_0x8fb8x12)[_0x29dc[15]](function(_0x8fb8x13){return _0x8fb8x13})}}function removeEntity(_0x8fb8xb){return function(_0x8fb8xf){if(_0x8fb8xf){return _0x8fb8xf[_0x29dc[17]]()[_0x29dc[15]](function(){_0x8fb8xb[_0x29dc[12]](204)[_0x29dc[14]]()})}}}exports[_0x29dc[18]]=function(_0x8fb8x15,_0x8fb8xb,_0x8fb8x16){return JscriptyProject[_0x29dc[22]](Util[_0x29dc[21]](_0x8fb8x15[_0x29dc[20]]))[_0x29dc[15]](function(_0x8fb8x17){_0x8fb8xb[_0x29dc[12]](200)[_0x29dc[11]](_0x8fb8x17)})[_0x29dc[19]](function(_0x8fb8xc){return handleError(_0x8fb8xb,_0x8fb8xc)})};exports[_0x29dc[23]]=function(_0x8fb8x15,_0x8fb8xb){return JscriptyProject[_0x29dc[27]](_0x8fb8x15[_0x29dc[26]][_0x29dc[25]])[_0x29dc[15]](function(_0x8fb8x18){if(!_0x8fb8x18){return _0x8fb8xb[_0x29dc[24]](404)};return _0x8fb8xb[_0x29dc[11]](_0x8fb8x18)})[_0x29dc[19]](function(_0x8fb8xc){return handleError(_0x8fb8xb,_0x8fb8xc)})};exports[_0x29dc[28]]=function(_0x8fb8x15,_0x8fb8xb){return ReportJscriptySession[_0x29dc[31]]({method:[_0x29dc[30],_0x8fb8x15[_0x29dc[26]][_0x29dc[25]]]})[_0x29dc[22]](Util[_0x29dc[21]](_0x8fb8x15[_0x29dc[20]]))[_0x29dc[15]](handleEntityNotFound(_0x8fb8xb))[_0x29dc[15]](responseWithResult(_0x8fb8xb))[_0x29dc[19]](function(_0x8fb8xc){console[_0x29dc[29]](_0x8fb8xc);return handleError(_0x8fb8xb,_0x8fb8xc)})};exports[_0x29dc[32]]=function(_0x8fb8x15,_0x8fb8xb){return ReportJscriptySession[_0x29dc[34]]({where:{projectId:_0x8fb8x15[_0x29dc[26]][_0x29dc[25]],session_id:_0x8fb8x15[_0x29dc[26]][_0x29dc[33]]},include:[{model:ReportJscriptyQuestion,include:[{model:ReportJscriptyInput}]}]})[_0x29dc[15]](handleEntityNotFound(_0x8fb8xb))[_0x29dc[15]](responseWithResult(_0x8fb8xb))[_0x29dc[19]](function(_0x8fb8xc){console[_0x29dc[29]](_0x8fb8xc);return handleError(_0x8fb8xb,_0x8fb8xc)})};exports[_0x29dc[35]]=function(_0x8fb8x15,_0x8fb8xb){var _0x8fb8x19={count:0,rows:[]};return ReportJscriptySession[_0x29dc[31]]({method:[_0x29dc[48],_0x8fb8x15[_0x29dc[26]][_0x29dc[25]]]})[_0x29dc[22]](Util[_0x29dc[21]](_0x8fb8x15[_0x29dc[20]]))[_0x29dc[15]](function(_0x8fb8x1a){_[_0x29dc[45]](_0x8fb8x1a[_0x29dc[36]],function(_0x8fb8x1b){var _0x8fb8x1c=_0x8fb8x1b[_0x29dc[37]];_[_0x29dc[45]](_0x8fb8x1b.ReportJscriptyQuestions,function(_0x8fb8x1d){var _0x8fb8x1e=_0x8fb8x1d[_0x29dc[38]];var _0x8fb8x1f=_0x8fb8x1d[_0x29dc[39]];var _0x8fb8x20=_0x8fb8x1d[_0x29dc[40]];var _0x8fb8x21=_0x8fb8x1d[_0x29dc[41]];_[_0x29dc[45]](_0x8fb8x1d.ReportJscriptyInputs,function(_0x8fb8x22){_0x8fb8x19[_0x29dc[36]][_0x29dc[44]]({session_id:_0x8fb8x1c,question_type:_0x8fb8x1f,question_id:_0x8fb8x1e,question_label:_0x8fb8x20,question_text:_0x8fb8x21,input_label:_0x8fb8x22[_0x29dc[42]],input_value:_0x8fb8x22[_0x29dc[43]]})})})});_0x8fb8x19[_0x29dc[46]]=_0x8fb8x19[_0x29dc[36]][_0x29dc[47]];return _0x8fb8x19})[_0x29dc[15]](handleEntityNotFound(_0x8fb8xb))[_0x29dc[15]](responseWithResult(_0x8fb8xb))[_0x29dc[19]](function(_0x8fb8xc){console[_0x29dc[29]](_0x8fb8xc);return handleError(_0x8fb8xb,_0x8fb8xc)})};exports[_0x29dc[49]]=function(_0x8fb8x15,_0x8fb8xb){return ReportJscriptyQuestion[_0x29dc[50]]({where:{projectId:_0x8fb8x15[_0x29dc[26]][_0x29dc[25]]},include:[{model:ReportJscriptyInput}]})[_0x29dc[15]](function(_0x8fb8x23){if(!_0x8fb8x23){return _0x8fb8xb[_0x29dc[24]](404)};return _0x8fb8xb[_0x29dc[12]](200)[_0x29dc[11]](_0x8fb8x23)})[_0x29dc[15]](handleEntityNotFound(_0x8fb8xb))[_0x29dc[19]](function(_0x8fb8xc){console[_0x29dc[29]](_0x8fb8xc);return handleError(_0x8fb8xb,_0x8fb8xc)})};exports[_0x29dc[51]]=function(_0x8fb8x15,_0x8fb8xb){return ReportJscriptyQuestion[_0x29dc[31]]({method:[_0x29dc[52],_0x8fb8x15[_0x29dc[26]][_0x29dc[25]]]})[_0x29dc[22]](Util[_0x29dc[21]](_0x8fb8x15[_0x29dc[20]]))[_0x29dc[15]](handleEntityNotFound(_0x8fb8xb))[_0x29dc[15]](function(_0x8fb8x24){return _0x8fb8xb[_0x29dc[12]](200)[_0x29dc[11]](_0x8fb8x24)})[_0x29dc[19]](function(_0x8fb8xc){console[_0x29dc[29]](_0x8fb8xc);return handleError(_0x8fb8xb,_0x8fb8xc)})};exports[_0x29dc[53]]=function(_0x8fb8x15,_0x8fb8xb){var _0x8fb8x25={};var _0x8fb8x23;var _0x8fb8x26=0;return ReportJscriptyQuestion[_0x29dc[34]]({where:{projectId:_0x8fb8x15[_0x29dc[26]][_0x29dc[25]],question_id:_0x8fb8x15[_0x29dc[26]][_0x29dc[69]]},attributes:[_0x29dc[39]]})[_0x29dc[15]](function(_0x8fb8x27){if(!_0x8fb8x27){return _0x8fb8xb[_0x29dc[24]](404)};if(_0x8fb8x27[_0x29dc[54]][_0x29dc[39]]==_0x29dc[55]){return ReportJscriptyQuestion[_0x29dc[50]]({where:{projectId:_0x8fb8x15[_0x29dc[26]][_0x29dc[25]],question_id:_0x8fb8x15[_0x29dc[26]][_0x29dc[69]]},attributes:[_0x29dc[39],_0x29dc[38],_0x29dc[40],_0x29dc[41]],include:[{model:ReportJscriptyInput,where:{$or:[{input_type:_0x29dc[72],input_value:_0x29dc[73]},{input_type:{$ne:_0x29dc[72]},input_value:{$ne:null}}]},attributes:[_0x29dc[42],_0x29dc[43],_0x29dc[74],[sequelize[_0x29dc[71]](_0x29dc[46],sequelize[_0x29dc[70]](_0x29dc[42])),_0x29dc[46]]]}],group:[_0x29dc[38],_0x29dc[42]]})[_0x29dc[15]](function(_0x8fb8x27){_0x8fb8x23=_0x8fb8x27;return ReportJscriptyQuestion[_0x29dc[50]]({where:{projectId:_0x8fb8x15[_0x29dc[26]][_0x29dc[25]],question_id:_0x8fb8x15[_0x29dc[26]][_0x29dc[69]],question_type:_0x29dc[55]},attributes:[_0x29dc[38],[sequelize[_0x29dc[71]](_0x29dc[46],sequelize[_0x29dc[70]](_0x29dc[38])),_0x29dc[46]]],group:[_0x29dc[38]]})})[_0x29dc[15]](function(_0x8fb8x34){_0x8fb8x26=_0x8fb8x34[0][_0x29dc[54]][_0x29dc[46]];if(_0x8fb8x23){var _0x8fb8x29=_[_0x29dc[56]](_0x8fb8x23,_0x29dc[38]);_[_0x29dc[45]](_0x8fb8x29,function(_0x8fb8x35,_0x8fb8x2a){var _0x8fb8x30=[];var _0x8fb8x31=[];var _0x8fb8x33=[];var _0x8fb8x36=_0x29dc[65];_[_0x29dc[45]](_0x8fb8x35,function(_0x8fb8x2d){if(_0x8fb8x2d[_0x29dc[66]]){_[_0x29dc[45]](_0x8fb8x2d.ReportJscriptyInputs,function(_0x8fb8x22){_0x8fb8x30[_0x29dc[44]]({checkbox:true,value:_0x8fb8x22[_0x29dc[42]],count:_0x8fb8x22[_0x29dc[54]][_0x29dc[46]]})})}});var _0x8fb8x32=[];for(var _0x8fb8x37=0;_0x8fb8x37<_0x8fb8x30[_0x29dc[47]];_0x8fb8x37++){_0x8fb8x32[_0x8fb8x37]=_0x8fb8x30[_0x8fb8x37][_0x29dc[46]];_0x8fb8x33[_0x8fb8x37]=_0x8fb8x30[_0x8fb8x37][_0x29dc[67]];_0x8fb8x30[_0x8fb8x37][_0x29dc[68]]=_0x8fb8x26?(_0x8fb8x30[_0x8fb8x37][_0x29dc[46]]/_0x8fb8x26)*100:0};_0x8fb8x31[0]=_0x8fb8x32;_0x8fb8x25={total:_0x8fb8x26,question_type:_[_0x29dc[59]](_0x8fb8x35)[_0x29dc[39]],question_id:_[_0x29dc[59]](_0x8fb8x35)[_0x29dc[38]],question_label:_[_0x29dc[59]](_0x8fb8x35)[_0x29dc[40]],question_text:_[_0x29dc[59]](_0x8fb8x35)[_0x29dc[41]],choices:_0x8fb8x30,graphData:_0x8fb8x31,graphLabels:_0x8fb8x33,graphType:_0x8fb8x36}})};return ReportJscriptyQuestion[_0x29dc[50]]({where:{projectId:_0x8fb8x15[_0x29dc[26]][_0x29dc[25]],question_id:_0x8fb8x15[_0x29dc[26]][_0x29dc[69]],question_type:_0x29dc[55]},attributes:[_0x29dc[39],_0x29dc[38],_0x29dc[40],_0x29dc[41]],include:[{model:ReportJscriptyInput,attributes:[_0x29dc[42]]}]})})[_0x29dc[15]](function(_0x8fb8x19){var _0x8fb8x28=[];if(_0x8fb8x19){var _0x8fb8x29=_[_0x29dc[56]](_0x8fb8x19,_0x29dc[38]);_[_0x29dc[45]](_0x8fb8x29,function(_0x8fb8x1d,_0x8fb8x2a){var _0x8fb8x2b=[];_[_0x29dc[45]](_0x8fb8x1d,function(_0x8fb8x2c){_0x8fb8x2b=_[_0x29dc[58]](_0x8fb8x2b,_[_0x29dc[57]](_0x8fb8x2c.ReportJscriptyInputs,_0x29dc[42]))});_0x8fb8x28[_0x29dc[44]]({question_id:_[_0x29dc[59]](_0x8fb8x1d)[_0x29dc[38]],labels:_0x8fb8x2b})});_[_0x29dc[45]](_0x8fb8x28,function(_0x8fb8x2d){if(Object[_0x29dc[60]](_0x8fb8x25)[_0x29dc[47]]){_[_0x29dc[45]](_0x8fb8x2d[_0x29dc[61]],function(_0x8fb8x2e){var _0x8fb8x2f=_[_0x29dc[34]](_0x8fb8x25[_0x29dc[62]],{value:_0x8fb8x2e});if(!_0x8fb8x2f){_0x8fb8x25[_0x29dc[62]][_0x29dc[44]]({value:_0x8fb8x2e,count:0,percentage:0});_0x8fb8x25[_0x29dc[63]][0][_0x29dc[44]](0);_0x8fb8x25[_0x29dc[64]][_0x29dc[44]](_0x8fb8x2e)}})}else {var _0x8fb8x30=[];var _0x8fb8x31=[];var _0x8fb8x32=[];var _0x8fb8x33=[];_[_0x29dc[45]](_0x8fb8x2d[_0x29dc[61]],function(_0x8fb8x2e){_0x8fb8x30[_0x29dc[44]]({value:_0x8fb8x2e,count:0,percentage:0});_0x8fb8x32[_0x29dc[44]](0);_0x8fb8x33[_0x29dc[44]](_0x8fb8x2e)});_0x8fb8x31[_0x29dc[44]](_0x8fb8x32);var _0x8fb8x22=_0x8fb8x19[0];_0x8fb8x25={total:_0x8fb8x26,question_type:_0x8fb8x22[_0x29dc[39]],question_id:_0x8fb8x22[_0x29dc[38]],question_label:_0x8fb8x22[_0x29dc[40]],question_text:_0x8fb8x22[_0x29dc[41]],choices:_0x8fb8x30,graphType:_0x29dc[65],graphData:_0x8fb8x31,graphLabels:_0x8fb8x33}}})};return _0x8fb8xb[_0x29dc[12]](201)[_0x29dc[11]](_0x8fb8x25)})}else {if(_0x8fb8x27[_0x29dc[54]][_0x29dc[39]]==_0x29dc[75]){return ReportJscriptyQuestion[_0x29dc[50]]({where:{projectId:_0x8fb8x15[_0x29dc[26]][_0x29dc[25]],question_id:_0x8fb8x15[_0x29dc[26]][_0x29dc[69]]},attributes:[_0x29dc[39],_0x29dc[38],_0x29dc[40],_0x29dc[41],_0x29dc[80],_0x29dc[77],[sequelize[_0x29dc[71]](_0x29dc[46],sequelize[_0x29dc[70]](_0x29dc[77])),_0x29dc[46]]],group:[_0x29dc[38],_0x29dc[77]]})[_0x29dc[15]](function(_0x8fb8x27){_0x8fb8x23=_0x8fb8x27;return ReportJscriptyQuestion[_0x29dc[50]]({where:{projectId:_0x8fb8x15[_0x29dc[26]][_0x29dc[25]],question_id:_0x8fb8x15[_0x29dc[26]][_0x29dc[69]],question_type:_0x29dc[75],question_other_answer:{$ne:null}},attributes:[_0x29dc[39],_0x29dc[38],_0x29dc[40],_0x29dc[80],_0x29dc[41],_0x29dc[78],_0x29dc[79],[sequelize[_0x29dc[71]](_0x29dc[46],sequelize[_0x29dc[70]](_0x29dc[79])),_0x29dc[46]]],group:[_0x29dc[38],_0x29dc[79]]})})[_0x29dc[15]](function(_0x8fb8x1a){if(_0x8fb8x1a){_[_0x29dc[45]](_0x8fb8x1a,function(_0x8fb8x2d){_0x8fb8x23[_0x29dc[44]](_0x8fb8x2d)})};var _0x8fb8x29=_[_0x29dc[56]](_0x8fb8x23,_0x29dc[38]);_[_0x29dc[45]](_0x8fb8x29,function(_0x8fb8x35,_0x8fb8x2a){var _0x8fb8x30=[];var _0x8fb8x26=0;var _0x8fb8x31=[];var _0x8fb8x33=[];var _0x8fb8x36=_0x29dc[76];_[_0x29dc[45]](_0x8fb8x35,function(_0x8fb8x2d){if(_0x8fb8x2d[_0x29dc[77]]){_0x8fb8x30[_0x29dc[44]]({value:_0x8fb8x2d[_0x29dc[77]],count:_0x8fb8x2d[_0x29dc[54]][_0x29dc[46]]});_0x8fb8x26=_0x8fb8x26+_0x8fb8x2d[_0x29dc[54]][_0x29dc[46]]};if(_0x8fb8x2d[_0x29dc[78]]){_0x8fb8x30[_0x29dc[44]]({other_option:true,value:_0x8fb8x2d[_0x29dc[79]],count:_0x8fb8x2d[_0x29dc[54]][_0x29dc[46]]})}});var _0x8fb8x38=_[_0x29dc[59]](_0x8fb8x35)[_0x29dc[80]]?JSON[_0x29dc[81]](_[_0x29dc[59]](_0x8fb8x35)[_0x29dc[80]]):null;if(_0x8fb8x38){_[_0x29dc[45]](_0x8fb8x38[_0x29dc[82]],function(_0x8fb8x39){var _0x8fb8x3a=_[_0x29dc[34]](_0x8fb8x30,{value:_0x8fb8x39});if(!_0x8fb8x3a){_0x8fb8x30[_0x29dc[44]]({value:_0x8fb8x39,count:0,percentage:0})}})};var _0x8fb8x32=[];var _0x8fb8x3b=false;for(var _0x8fb8x37=0;_0x8fb8x37<_0x8fb8x30[_0x29dc[47]];_0x8fb8x37++){if(!_0x8fb8x30[_0x8fb8x37][_0x29dc[83]]){_0x8fb8x31[_0x8fb8x37]=_0x8fb8x30[_0x8fb8x37][_0x29dc[46]];_0x8fb8x33[_0x8fb8x37]=_0x8fb8x30[_0x8fb8x37][_0x29dc[67]];_0x8fb8x30[_0x8fb8x37][_0x29dc[68]]=_0x8fb8x26?(_0x8fb8x30[_0x8fb8x37][_0x29dc[46]]/_0x8fb8x26)*100:0}};_0x8fb8x25={total:_0x8fb8x26,question_type:_[_0x29dc[59]](_0x8fb8x35)[_0x29dc[39]],question_id:_[_0x29dc[59]](_0x8fb8x35)[_0x29dc[38]],question_label:_[_0x29dc[59]](_0x8fb8x35)[_0x29dc[40]],question_text:_[_0x29dc[59]](_0x8fb8x35)[_0x29dc[41]],choices:_0x8fb8x30,graphData:_0x8fb8x31,graphLabels:_0x8fb8x33,graphType:_0x8fb8x36}});return _0x8fb8xb[_0x29dc[12]](201)[_0x29dc[11]](_0x8fb8x25)})}else {console[_0x29dc[29]](_0x29dc[84]);return _0x8fb8xb[_0x29dc[24]](404)}}})[_0x29dc[19]](function(_0x8fb8xc){console[_0x29dc[29]](_0x8fb8xc);return handleError(_0x8fb8xb,_0x8fb8xc)})};exports[_0x29dc[85]]=function(_0x8fb8x15,_0x8fb8xb){var _0x8fb8x3c;var _0x8fb8x23;var _0x8fb8x3d;var _0x8fb8x34;return ReportJscriptyQuestion[_0x29dc[50]]({where:{projectId:_0x8fb8x15[_0x29dc[26]][_0x29dc[25]],question_type:_0x29dc[75]},attributes:[_0x29dc[39],_0x29dc[38],_0x29dc[40],_0x29dc[41],_0x29dc[77],_0x29dc[80],_0x29dc[79],[sequelize[_0x29dc[71]](_0x29dc[46],sequelize[_0x29dc[70]](_0x29dc[77])),_0x29dc[46]]],group:[_0x29dc[38],_0x29dc[77]]})[_0x29dc[15]](function(_0x8fb8x1a){_0x8fb8x23=_0x8fb8x1a;return ReportJscriptyQuestion[_0x29dc[50]]({where:{projectId:_0x8fb8x15[_0x29dc[26]][_0x29dc[25]],question_type:_0x29dc[75],question_other_answer:{$ne:null}},attributes:[_0x29dc[39],_0x29dc[38],_0x29dc[40],_0x29dc[41],_0x29dc[78],_0x29dc[79],_0x29dc[80],[sequelize[_0x29dc[71]](_0x29dc[46],sequelize[_0x29dc[70]](_0x29dc[78])),_0x29dc[46]]],group:[_0x29dc[38],_0x29dc[78]]})})[_0x29dc[15]](function(_0x8fb8x1a){_[_0x29dc[45]](_0x8fb8x1a,function(_0x8fb8x2d){_0x8fb8x23[_0x29dc[44]](_0x8fb8x2d)});var _0x8fb8x25=[];var _0x8fb8x36=_0x29dc[76];var _0x8fb8x29=_[_0x29dc[56]](_0x8fb8x23,_0x29dc[38]);_[_0x29dc[45]](_0x8fb8x29,function(_0x8fb8x35,_0x8fb8x2a){var _0x8fb8x26=0;var _0x8fb8x31=[];var _0x8fb8x33=[];var _0x8fb8x30=[];_[_0x29dc[45]](_0x8fb8x35,function(_0x8fb8x2d){if(_0x8fb8x2d[_0x29dc[77]]){_0x8fb8x30[_0x29dc[44]]({value:_0x8fb8x2d[_0x29dc[77]],count:_0x8fb8x2d[_0x29dc[54]][_0x29dc[46]]});_0x8fb8x26=_0x8fb8x26+_0x8fb8x2d[_0x29dc[54]][_0x29dc[46]]};if(_0x8fb8x2d[_0x29dc[78]]){_0x8fb8x30[_0x29dc[44]]({other_option:true,value:_0x8fb8x2d[_0x29dc[78]],count:_0x8fb8x2d[_0x29dc[54]][_0x29dc[46]]})}});var _0x8fb8x38=JSON[_0x29dc[81]](_[_0x29dc[59]](_0x8fb8x35)[_0x29dc[80]]);if(_0x8fb8x38){_[_0x29dc[45]](_0x8fb8x38[_0x29dc[82]],function(_0x8fb8x39){var _0x8fb8x3a=_[_0x29dc[34]](_0x8fb8x30,{value:_0x8fb8x39});if(!_0x8fb8x3a){_0x8fb8x30[_0x29dc[44]]({value:_0x8fb8x39,count:0,percentage:0})}})};for(var _0x8fb8x37=0;_0x8fb8x37<_0x8fb8x30[_0x29dc[47]];_0x8fb8x37++){if(!_0x8fb8x30[_0x8fb8x37][_0x29dc[83]]&&(_0x8fb8x26!=0)){_0x8fb8x30[_0x8fb8x37][_0x29dc[68]]=(_0x8fb8x30[_0x8fb8x37][_0x29dc[46]]/_0x8fb8x26)*100;_0x8fb8x31[_0x29dc[44]](_0x8fb8x30[_0x8fb8x37][_0x29dc[46]]);_0x8fb8x33[_0x29dc[44]](_0x8fb8x30[_0x8fb8x37][_0x29dc[67]])}};_0x8fb8x25[_0x29dc[44]]({total:_0x8fb8x26,question_type:_[_0x29dc[59]](_0x8fb8x35)[_0x29dc[39]],question_id:_[_0x29dc[59]](_0x8fb8x35)[_0x29dc[38]],question_label:_[_0x29dc[59]](_0x8fb8x35)[_0x29dc[40]],question_other_label:_[_0x29dc[59]](_0x8fb8x35)[_0x29dc[79]],question_text:_[_0x29dc[59]](_0x8fb8x35)[_0x29dc[41]],choices:_0x8fb8x30,graphData:_0x8fb8x31,graphLabels:_0x8fb8x33,graphType:_0x8fb8x36})});_0x8fb8x3c=_0x8fb8x25;return ReportJscriptyQuestion[_0x29dc[50]]({where:{projectId:_0x8fb8x15[_0x29dc[26]][_0x29dc[25]],question_type:_0x29dc[55]},attributes:[_0x29dc[25],_0x29dc[39],_0x29dc[38],_0x29dc[40],_0x29dc[41],_0x29dc[77]],include:[{model:ReportJscriptyInput,where:{$or:[{input_type:_0x29dc[72],input_value:_0x29dc[73]},{input_type:{$ne:_0x29dc[72]},input_value:{$ne:null}}]},attributes:[_0x29dc[42],_0x29dc[43],_0x29dc[74],[sequelize[_0x29dc[71]](_0x29dc[46],sequelize[_0x29dc[70]](_0x29dc[42])),_0x29dc[46]]]}],group:[_0x29dc[38],_0x29dc[42]]})})[_0x29dc[15]](function(_0x8fb8x27){_0x8fb8x23=_0x8fb8x27;return ReportJscriptyQuestion[_0x29dc[50]]({where:{projectId:_0x8fb8x15[_0x29dc[26]][_0x29dc[25]],question_type:_0x29dc[55]},attributes:[_0x29dc[38],[sequelize[_0x29dc[71]](_0x29dc[46],sequelize[_0x29dc[70]](_0x29dc[38])),_0x29dc[46]]],group:[_0x29dc[38]]})})[_0x29dc[15]](function(_0x8fb8x1d){_0x8fb8x34=_0x8fb8x1d;var _0x8fb8x25=[];var _0x8fb8x29=_[_0x29dc[56]](_0x8fb8x23,_0x29dc[38]);_[_0x29dc[45]](_0x8fb8x29,function(_0x8fb8x35,_0x8fb8x2a){var _0x8fb8x30=[];var _0x8fb8x26=0;_0x8fb8x26=_[_0x29dc[34]](_0x8fb8x34,function(_0x8fb8x1d){return _0x8fb8x1d[_0x29dc[38]]==_[_0x29dc[59]](_0x8fb8x35)[_0x29dc[38]]})[_0x29dc[54]][_0x29dc[46]];var _0x8fb8x31=[];var _0x8fb8x3f=[];var _0x8fb8x33=[];var _0x8fb8x36=_0x29dc[65];_[_0x29dc[45]](_0x8fb8x35,function(_0x8fb8x2d){var _0x8fb8x40=_0x8fb8x2d;_[_0x29dc[45]](_0x8fb8x40.ReportJscriptyInputs,function(_0x8fb8x22){_0x8fb8x30[_0x29dc[44]]({checkbox:true,value:_0x8fb8x22[_0x29dc[42]],count:_0x8fb8x22[_0x29dc[54]][_0x29dc[46]]})})});var _0x8fb8x32=[];for(var _0x8fb8x37=0;_0x8fb8x37<_0x8fb8x30[_0x29dc[47]];_0x8fb8x37++){_0x8fb8x32[_0x8fb8x37]=_0x8fb8x30[_0x8fb8x37][_0x29dc[46]];_0x8fb8x30[_0x8fb8x37][_0x29dc[68]]=(_0x8fb8x30[_0x8fb8x37][_0x29dc[46]]/_0x8fb8x26)*100;_0x8fb8x33[_0x8fb8x37]=_0x8fb8x30[_0x8fb8x37][_0x29dc[67]]};_0x8fb8x31[0]=_0x8fb8x32;_0x8fb8x3c[_0x29dc[44]]({total:_0x8fb8x26,question_type:_[_0x29dc[59]](_0x8fb8x35)[_0x29dc[39]],question_id:_[_0x29dc[59]](_0x8fb8x35)[_0x29dc[38]],question_label:_[_0x29dc[59]](_0x8fb8x35)[_0x29dc[40]],question_text:_[_0x29dc[59]](_0x8fb8x35)[_0x29dc[41]],choices:_0x8fb8x30,graphData:_0x8fb8x31,graphLabels:_0x8fb8x33,graphType:_0x8fb8x36})});return ReportJscriptyQuestion[_0x29dc[50]]({where:{projectId:_0x8fb8x15[_0x29dc[26]][_0x29dc[25]],question_type:_0x29dc[55]},attributes:[_0x29dc[25],_0x29dc[38],_0x29dc[40],_0x29dc[41],_0x29dc[39]],include:[{model:ReportJscriptyInput,attributes:[_0x29dc[42]]}]})})[_0x29dc[15]](function(_0x8fb8x19){var _0x8fb8x29=_[_0x29dc[56]](_0x8fb8x19,_0x29dc[38]);var _0x8fb8x3e=[];_[_0x29dc[45]](_0x8fb8x29,function(_0x8fb8x1d,_0x8fb8x2a){var _0x8fb8x2b=[];_[_0x29dc[45]](_0x8fb8x1d,function(_0x8fb8x2c){_0x8fb8x2b=_[_0x29dc[58]](_0x8fb8x2b,_[_0x29dc[57]](_0x8fb8x2c.ReportJscriptyInputs,_0x29dc[42]))});_0x8fb8x3e[_0x29dc[44]]({question_text:_[_0x29dc[59]](_0x8fb8x1d)[_0x29dc[41]],question_type:_[_0x29dc[59]](_0x8fb8x1d)[_0x29dc[39]],question_label:_[_0x29dc[59]](_0x8fb8x1d)[_0x29dc[40]],question_id:_[_0x29dc[59]](_0x8fb8x1d)[_0x29dc[38]],labels:_0x8fb8x2b})});_[_0x29dc[45]](_0x8fb8x3e,function(_0x8fb8x2d){var _0x8fb8x1d=_[_0x29dc[34]](_0x8fb8x3c,{"\x71\x75\x65\x73\x74\x69\x6F\x6E\x5F\x69\x64":_0x8fb8x2d[_0x29dc[38]]});if(_0x8fb8x1d){_[_0x29dc[45]](_0x8fb8x2d[_0x29dc[61]],function(_0x8fb8x2e){var _0x8fb8x2f=_[_0x29dc[34]](_0x8fb8x1d[_0x29dc[62]],{value:_0x8fb8x2e});if(!_0x8fb8x2f){_0x8fb8x1d[_0x29dc[62]][_0x29dc[44]]({value:_0x8fb8x2e,count:0,percentage:0});_0x8fb8x1d[_0x29dc[63]][0][_0x29dc[44]](0);_0x8fb8x1d[_0x29dc[64]][_0x29dc[44]](_0x8fb8x2e)}})}else {var _0x8fb8x30=[];var _0x8fb8x31=[];var _0x8fb8x32=[];var _0x8fb8x33=[];_[_0x29dc[45]](_0x8fb8x2d[_0x29dc[61]],function(_0x8fb8x2e){_0x8fb8x30[_0x29dc[44]]({value:_0x8fb8x2e,count:0,percentage:0})});var _0x8fb8x26=_[_0x29dc[34]](_0x8fb8x34,function(_0x8fb8x1d){return _0x8fb8x1d[_0x29dc[38]]==_0x8fb8x2d[_0x29dc[38]]})[_0x29dc[54]][_0x29dc[46]];_0x8fb8x3c[_0x29dc[44]]({total:_0x8fb8x26,question_type:_0x8fb8x2d[_0x29dc[39]],question_id:_0x8fb8x2d[_0x29dc[38]],question_label:_0x8fb8x2d[_0x29dc[40]],question_text:_0x8fb8x2d[_0x29dc[41]],choices:_0x8fb8x30,graphType:_0x29dc[65],graphData:_0x8fb8x31,graphLabels:_0x8fb8x33})}});return _0x8fb8xb[_0x29dc[12]](201)[_0x29dc[11]](_0x8fb8x3c)})[_0x29dc[19]](function(_0x8fb8xc){console[_0x29dc[29]](_0x8fb8xc);return handleError(_0x8fb8xb,_0x8fb8xc)})};exports[_0x29dc[86]]=function(_0x8fb8x15,_0x8fb8xb){return JscriptyProject[_0x29dc[86]](_0x8fb8x15[_0x29dc[93]])[_0x29dc[15]](function(_0x8fb8x18){return _0x8fb8xb[_0x29dc[12]](201)[_0x29dc[11]](_0x8fb8x18)})[_0x29dc[19]](sequelize.UniqueConstraintError,function(_0x8fb8xc){if(_0x8fb8xc[_0x29dc[88]][_0x29dc[87]]){_0x8fb8xc[_0x29dc[89]]=_0x29dc[90];_0x8fb8xc[_0x29dc[91]]=_0x29dc[92]};return handleError(_0x8fb8xb,_0x8fb8xc)})[_0x29dc[19]](function(_0x8fb8xc){return handleError(_0x8fb8xb,_0x8fb8xc)})};exports[_0x29dc[94]]=function(_0x8fb8x15,_0x8fb8xb){return ReportJscriptySession[_0x29dc[86]](_0x8fb8x15[_0x29dc[93]])[_0x29dc[15]](function(_0x8fb8x41){return _0x8fb8xb[_0x29dc[12]](201)[_0x29dc[11]](_0x8fb8x41)})[_0x29dc[19]](function(_0x8fb8xc){return handleError(_0x8fb8xb,_0x8fb8xc)})};exports[_0x29dc[95]]=function(_0x8fb8x15,_0x8fb8xb){return ReportJscriptyQuestion[_0x29dc[17]]({where:{sessionId:_0x8fb8x15[_0x29dc[26]][_0x29dc[33]]}})[_0x29dc[15]](function(){var _0x8fb8x42=[];for(var _0x8fb8x37=0;_0x8fb8x37<_0x8fb8x15[_0x29dc[93]][_0x29dc[47]];_0x8fb8x37++){_0x8fb8x42[_0x8fb8x37]=ReportJscriptyQuestion[_0x29dc[86]](_0x8fb8x15[_0x29dc[93]][_0x8fb8x37],{include:[{model:ReportJscriptyInput}]})};return Promise[_0x29dc[96]](_0x8fb8x42)})[_0x29dc[15]](function(_0x8fb8x27){return _0x8fb8xb[_0x29dc[24]](201)})[_0x29dc[19]](function(_0x8fb8xc){return handleError(_0x8fb8xb,_0x8fb8xc)})};exports[_0x29dc[97]]=function(_0x8fb8x15,_0x8fb8xb){if(_0x8fb8x15[_0x29dc[93]][_0x29dc[25]]){delete _0x8fb8x15[_0x29dc[93]][_0x29dc[25]]};return JscriptyProject[_0x29dc[27]](_0x8fb8x15[_0x29dc[26]][_0x29dc[25]])[_0x29dc[15]](function(_0x8fb8x18){if(!_0x8fb8x18){return _0x8fb8xb[_0x29dc[24]](404)};var _0x8fb8x13=_[_0x29dc[98]](_0x8fb8x18,_0x8fb8x15[_0x29dc[93]]);return _0x8fb8x13[_0x29dc[99]]()})[_0x29dc[15]](function(_0x8fb8x18){return _0x8fb8xb[_0x29dc[12]](200)[_0x29dc[11]](_0x8fb8x18)})[_0x29dc[19]](function(_0x8fb8xc){return handleError(_0x8fb8xb,_0x8fb8xc)})};exports[_0x29dc[100]]=function(_0x8fb8x15,_0x8fb8xb){return ReportJscriptySession[_0x29dc[27]](_0x8fb8x15[_0x29dc[26]][_0x29dc[33]])[_0x29dc[15]](function(_0x8fb8x1b){if(!_0x8fb8x1b){return _0x8fb8xb[_0x29dc[24]](404)};var _0x8fb8x13=_[_0x29dc[98]](_0x8fb8x1b,_0x8fb8x15[_0x29dc[93]]);return _0x8fb8x13[_0x29dc[99]]()})[_0x29dc[15]](function(_0x8fb8x41){return _0x8fb8xb[_0x29dc[12]](200)[_0x29dc[11]](_0x8fb8x41)})[_0x29dc[19]](function(_0x8fb8xc){return handleError(_0x8fb8xb,_0x8fb8xc)})};exports[_0x29dc[17]]=function(_0x8fb8x15,_0x8fb8xb){return JscriptyProject[_0x29dc[27]](_0x8fb8x15[_0x29dc[26]][_0x29dc[25]])[_0x29dc[15]](function(_0x8fb8x18){if(!_0x8fb8x18){return _0x8fb8xb[_0x29dc[24]](404)};return _0x8fb8x18[_0x29dc[17]]()})[_0x29dc[15]](function(){return _0x8fb8xb[_0x29dc[24]](204)})[_0x29dc[19]](function(_0x8fb8xc){return handleError(_0x8fb8xb,_0x8fb8xc)})};exports[_0x29dc[101]]=function(_0x8fb8x15,_0x8fb8xb){return ReportJscriptySession[_0x29dc[34]]({where:{session_id:_0x8fb8x15[_0x29dc[26]][_0x29dc[33]]}})[_0x29dc[15]](function(_0x8fb8x1b){if(!_0x8fb8x1b){return _0x8fb8xb[_0x29dc[24]](404)};return _0x8fb8x1b[_0x29dc[17]]()})[_0x29dc[15]](function(){return _0x8fb8xb[_0x29dc[24]](204)})[_0x29dc[19]](function(_0x8fb8xc){return handleError(_0x8fb8xb,_0x8fb8xc)})};exports[_0x29dc[102]]=function(_0x8fb8x15,_0x8fb8xb){return JscriptyProject[_0x29dc[17]]({where:{id:_0x8fb8x15[_0x29dc[20]][_0x29dc[103]]},individualHooks:true})[_0x29dc[15]](function(){return _0x8fb8xb[_0x29dc[24]](204)})[_0x29dc[19]](function(_0x8fb8xc){return handleError(_0x8fb8xb,_0x8fb8xc)})};exports[_0x29dc[104]]=function(_0x8fb8x15,_0x8fb8xb,_0x8fb8x16){return JscriptyProject[_0x29dc[27]](_0x8fb8x15[_0x29dc[26]][_0x29dc[25]])[_0x29dc[15]](function(_0x8fb8x18){if(!_0x8fb8x18){return _0x8fb8xb[_0x29dc[24]](404)};_0x8fb8xb[_0x29dc[109]]({"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E":_0x29dc[105]+_0x8fb8x15[_0x29dc[20]][_0x29dc[106]]+_0x29dc[107],"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65":_0x29dc[108]});return _0x8fb8xb[_0x29dc[11]](_0x8fb8x18[_0x29dc[110]])})[_0x29dc[19]](function(_0x8fb8xc){return handleError(_0x8fb8xb,_0x8fb8xc)})} \ No newline at end of file diff --git a/server/api/jscripty_project/jscripty_project.socket.js b/server/api/jscripty_project/jscripty_project.socket.js index 8aa9f30..03acd51 100644 --- a/server/api/jscripty_project/jscripty_project.socket.js +++ b/server/api/jscripty_project/jscripty_project.socket.js @@ -1 +1 @@ -var _0x61f0=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4A\x73\x63\x72\x69\x70\x74\x79\x50\x72\x6F\x6A\x65\x63\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6A\x73\x63\x72\x69\x70\x74\x79\x5F\x70\x72\x6F\x6A\x65\x63\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6A\x73\x63\x72\x69\x70\x74\x79\x5F\x70\x72\x6F\x6A\x65\x63\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x61f0[0];var JscriptyProject=require(_0x61f0[2])[_0x61f0[1]];exports[_0x61f0[3]]=function(_0xb0d7x2){JscriptyProject[_0x61f0[4]](function(_0xb0d7x3){onSave(_0xb0d7x2,_0xb0d7x3)});JscriptyProject[_0x61f0[5]](function(_0xb0d7x3){onRemove(_0xb0d7x2,_0xb0d7x3)})};function onSave(_0xb0d7x2,_0xb0d7x3,_0xb0d7x5){_0xb0d7x2[_0x61f0[7]](_0x61f0[6],_0xb0d7x3)}function onRemove(_0xb0d7x2,_0xb0d7x3,_0xb0d7x5){_0xb0d7x2[_0x61f0[7]](_0x61f0[8],_0xb0d7x3)} \ No newline at end of file +var _0x5a44=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4A\x73\x63\x72\x69\x70\x74\x79\x50\x72\x6F\x6A\x65\x63\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6A\x73\x63\x72\x69\x70\x74\x79\x5F\x70\x72\x6F\x6A\x65\x63\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6A\x73\x63\x72\x69\x70\x74\x79\x5F\x70\x72\x6F\x6A\x65\x63\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x5a44[0];var JscriptyProject=require(_0x5a44[2])[_0x5a44[1]];exports[_0x5a44[3]]=function(_0x9850x2){JscriptyProject[_0x5a44[4]](function(_0x9850x3){onSave(_0x9850x2,_0x9850x3)});JscriptyProject[_0x5a44[5]](function(_0x9850x3){onRemove(_0x9850x2,_0x9850x3)})};function onSave(_0x9850x2,_0x9850x3,_0x9850x5){_0x9850x2[_0x5a44[7]](_0x5a44[6],_0x9850x3)}function onRemove(_0x9850x2,_0x9850x3,_0x9850x5){_0x9850x2[_0x5a44[7]](_0x5a44[8],_0x9850x3)} \ No newline at end of file diff --git a/server/api/license/index.js b/server/api/license/index.js index 43d7a99..654a039 100644 --- a/server/api/license/index.js +++ b/server/api/license/index.js @@ -1 +1 @@ -var _0x4a0a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x72\x65\x71\x75\x65\x73\x74","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x72\x65\x71\x75\x65\x73\x74","\x70\x6F\x73\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x4a0a[0];var express=require(_0x4a0a[1]);var auth=require(_0x4a0a[2]);var controller=require(_0x4a0a[3]);var router=express.Router();router[_0x4a0a[6]](_0x4a0a[4],controller[_0x4a0a[5]]);router[_0x4a0a[10]](_0x4a0a[7],auth[_0x4a0a[8]](),controller[_0x4a0a[9]]);module[_0x4a0a[11]]=router \ No newline at end of file +var _0x7105=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x72\x65\x71\x75\x65\x73\x74","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x72\x65\x71\x75\x65\x73\x74","\x70\x6F\x73\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x7105[0];var express=require(_0x7105[1]);var auth=require(_0x7105[2]);var controller=require(_0x7105[3]);var router=express.Router();router[_0x7105[6]](_0x7105[4],controller[_0x7105[5]]);router[_0x7105[10]](_0x7105[7],auth[_0x7105[8]](),controller[_0x7105[9]]);module[_0x7105[11]]=router \ No newline at end of file diff --git a/server/api/license/license.controller.js b/server/api/license/license.controller.js index e547279..1faa08a 100644 --- a/server/api/license/license.controller.js +++ b/server/api/license/license.controller.js @@ -1 +1 @@ -var _0x85ea=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x72\x65\x71\x75\x65\x73\x74\x2D\x70\x72\x6F\x6D\x69\x73\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x53\x65\x74\x74\x69\x6E\x67\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x44\x45\x4D\x4F\x20\x4C\x49\x43\x45\x4E\x53\x45","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6C\x69\x63\x65\x6E\x73\x65","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x64\x65\x63\x72\x79\x70\x74","\x70\x61\x72\x73\x65","\x64\x65\x63\x72\x79\x70\x74\x20\x65\x72\x72\x6F\x72","\x6C\x6F\x67","\x74\x6F\x6B\x65\x6E","\x67\x65\x74\x55\x75\x69\x64","\x6A\x73\x6F\x6E","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x65\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x66\x69\x6E\x64\x42\x79\x49\x64","\x72\x65\x71\x75\x65\x73\x74","\x73\x74\x61\x74\x75\x73\x43\x6F\x64\x65","\x50\x4F\x53\x54","\x70\x72\x6F\x76\x69\x73\x69\x6F\x6E\x69\x6E\x67","\x2F\x73\x65\x72\x76\x65\x72\x73\x2F","\x2F\x72\x65\x71\x75\x65\x73\x74","\x62\x6F\x64\x79"];_0x85ea[0];var _=require(_0x85ea[1]);var rp=require(_0x85ea[2]);var config=require(_0x85ea[3]);var license=require(_0x85ea[4]);var Settings=require(_0x85ea[6])[_0x85ea[5]];var demoLicense={users:1,agents:1,telephones:0,chat:false,mail:false,fax:false,sms:false,description:_0x85ea[7]};function handleError(_0x79d1x8,_0x79d1x9){_0x79d1x9=_0x79d1x9||500;return function(_0x79d1xa){_0x79d1x8[_0x85ea[9]](_0x79d1x9)[_0x85ea[8]](_0x79d1xa)}}function responseWithResult(_0x79d1x8,_0x79d1x9){_0x79d1x9=_0x79d1x9||200;return function(_0x79d1xc){if(_0x79d1xc){try{if(_0x79d1xc[_0x85ea[10]]){_0x79d1xc[_0x85ea[11]][_0x85ea[10]]=license[_0x85ea[12]](_0x79d1xc[_0x85ea[11]][_0x85ea[10]]);_0x79d1xc[_0x85ea[11]][_0x85ea[10]]=JSON[_0x85ea[13]](_0x79d1xc[_0x85ea[11]][_0x85ea[10]])}else {_0x79d1xc[_0x85ea[11]][_0x85ea[10]]=demoLicense}}catch(err){console[_0x85ea[15]](_0x85ea[14],err);_0x79d1xc[_0x85ea[11]][_0x85ea[10]]=demoLicense};_0x79d1xc[_0x85ea[11]][_0x85ea[10]][_0x85ea[16]]=license[_0x85ea[17]]();_0x79d1x8[_0x85ea[9]](_0x79d1x9)[_0x85ea[18]](_0x79d1xc)}}}function handleEntityNotFound(_0x79d1x8){return function(_0x79d1xc){if(!_0x79d1xc){_0x79d1xc={dataValues:{license:demoLicense}};_0x79d1xc[_0x85ea[11]][_0x85ea[10]][_0x85ea[16]]=license[_0x85ea[17]]();_0x79d1x8[_0x85ea[9]](201)[_0x85ea[18]](_0x79d1xc);return null};return _0x79d1xc}}function saveUpdates(_0x79d1xf){return function(_0x79d1xc){return _0x79d1xc[_0x85ea[20]](_0x79d1xf)[_0x85ea[19]](function(_0x79d1x10){return _0x79d1x10})}}function removeEntity(_0x79d1x8){return function(_0x79d1xc){if(_0x79d1xc){return _0x79d1xc[_0x85ea[22]]()[_0x85ea[19]](function(){_0x79d1x8[_0x85ea[9]](204)[_0x85ea[21]]()})}}}exports[_0x85ea[23]]=function(_0x79d1x12,_0x79d1x8,_0x79d1x13){return Settings[_0x85ea[25]](1)[_0x85ea[19]](handleEntityNotFound(_0x79d1x8))[_0x85ea[19]](responseWithResult(_0x79d1x8))[_0x85ea[24]](handleError(_0x79d1x8))};exports[_0x85ea[26]]=function(_0x79d1x12,_0x79d1x8){return rp({method:_0x85ea[28],uri:config[_0x85ea[29]]+_0x85ea[30]+license[_0x85ea[17]]()+_0x85ea[31],body:_0x79d1x12[_0x85ea[32]],json:true})[_0x85ea[19]](function(_0x79d1x14){console[_0x85ea[15]](_0x79d1x14);_0x79d1x8[_0x85ea[9]](201)[_0x85ea[8]](_0x79d1x14)})[_0x85ea[24]](function(_0x79d1xa){console[_0x85ea[15]](_0x79d1xa);return _0x79d1x8[_0x85ea[9]](_0x79d1xa[_0x85ea[27]]||500)[_0x85ea[8]](_0x79d1xa)})} \ No newline at end of file +var _0x14b4=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x72\x65\x71\x75\x65\x73\x74\x2D\x70\x72\x6F\x6D\x69\x73\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x53\x65\x74\x74\x69\x6E\x67\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x44\x45\x4D\x4F\x20\x4C\x49\x43\x45\x4E\x53\x45","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6C\x69\x63\x65\x6E\x73\x65","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x64\x65\x63\x72\x79\x70\x74","\x70\x61\x72\x73\x65","\x64\x65\x63\x72\x79\x70\x74\x20\x65\x72\x72\x6F\x72","\x6C\x6F\x67","\x74\x6F\x6B\x65\x6E","\x67\x65\x74\x55\x75\x69\x64","\x6A\x73\x6F\x6E","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x65\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x66\x69\x6E\x64\x42\x79\x49\x64","\x72\x65\x71\x75\x65\x73\x74","\x73\x74\x61\x74\x75\x73\x43\x6F\x64\x65","\x50\x4F\x53\x54","\x70\x72\x6F\x76\x69\x73\x69\x6F\x6E\x69\x6E\x67","\x2F\x73\x65\x72\x76\x65\x72\x73\x2F","\x2F\x72\x65\x71\x75\x65\x73\x74","\x62\x6F\x64\x79"];_0x14b4[0];var _=require(_0x14b4[1]);var rp=require(_0x14b4[2]);var config=require(_0x14b4[3]);var license=require(_0x14b4[4]);var Settings=require(_0x14b4[6])[_0x14b4[5]];var demoLicense={users:1,agents:1,telephones:0,chat:false,mail:false,fax:false,sms:false,description:_0x14b4[7]};function handleError(_0xb675x8,_0xb675x9){_0xb675x9=_0xb675x9||500;return function(_0xb675xa){_0xb675x8[_0x14b4[9]](_0xb675x9)[_0x14b4[8]](_0xb675xa)}}function responseWithResult(_0xb675x8,_0xb675x9){_0xb675x9=_0xb675x9||200;return function(_0xb675xc){if(_0xb675xc){try{if(_0xb675xc[_0x14b4[10]]){_0xb675xc[_0x14b4[11]][_0x14b4[10]]=license[_0x14b4[12]](_0xb675xc[_0x14b4[11]][_0x14b4[10]]);_0xb675xc[_0x14b4[11]][_0x14b4[10]]=JSON[_0x14b4[13]](_0xb675xc[_0x14b4[11]][_0x14b4[10]])}else {_0xb675xc[_0x14b4[11]][_0x14b4[10]]=demoLicense}}catch(err){console[_0x14b4[15]](_0x14b4[14],err);_0xb675xc[_0x14b4[11]][_0x14b4[10]]=demoLicense};_0xb675xc[_0x14b4[11]][_0x14b4[10]][_0x14b4[16]]=license[_0x14b4[17]]();_0xb675x8[_0x14b4[9]](_0xb675x9)[_0x14b4[18]](_0xb675xc)}}}function handleEntityNotFound(_0xb675x8){return function(_0xb675xc){if(!_0xb675xc){_0xb675xc={dataValues:{license:demoLicense}};_0xb675xc[_0x14b4[11]][_0x14b4[10]][_0x14b4[16]]=license[_0x14b4[17]]();_0xb675x8[_0x14b4[9]](201)[_0x14b4[18]](_0xb675xc);return null};return _0xb675xc}}function saveUpdates(_0xb675xf){return function(_0xb675xc){return _0xb675xc[_0x14b4[20]](_0xb675xf)[_0x14b4[19]](function(_0xb675x10){return _0xb675x10})}}function removeEntity(_0xb675x8){return function(_0xb675xc){if(_0xb675xc){return _0xb675xc[_0x14b4[22]]()[_0x14b4[19]](function(){_0xb675x8[_0x14b4[9]](204)[_0x14b4[21]]()})}}}exports[_0x14b4[23]]=function(_0xb675x12,_0xb675x8,_0xb675x13){return Settings[_0x14b4[25]](1)[_0x14b4[19]](handleEntityNotFound(_0xb675x8))[_0x14b4[19]](responseWithResult(_0xb675x8))[_0x14b4[24]](handleError(_0xb675x8))};exports[_0x14b4[26]]=function(_0xb675x12,_0xb675x8){return rp({method:_0x14b4[28],uri:config[_0x14b4[29]]+_0x14b4[30]+license[_0x14b4[17]]()+_0x14b4[31],body:_0xb675x12[_0x14b4[32]],json:true})[_0x14b4[19]](function(_0xb675x14){console[_0x14b4[15]](_0xb675x14);_0xb675x8[_0x14b4[9]](201)[_0x14b4[8]](_0xb675x14)})[_0x14b4[24]](function(_0xb675xa){console[_0x14b4[15]](_0xb675xa);return _0xb675x8[_0x14b4[9]](_0xb675xa[_0x14b4[27]]||500)[_0x14b4[8]](_0xb675xa)})} \ No newline at end of file diff --git a/server/api/license/license.socket.js b/server/api/license/license.socket.js index 4252891..0246c9e 100644 --- a/server/api/license/license.socket.js +++ b/server/api/license/license.socket.js @@ -1 +1 @@ -var _0xd03b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x69\x63\x65\x6E\x73\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6C\x69\x63\x65\x6E\x73\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0xd03b[0];exports[_0xd03b[1]]=function(_0x8d54x1){};function onSave(_0x8d54x1,_0x8d54x3,_0x8d54x4){_0x8d54x1[_0xd03b[3]](_0xd03b[2],_0x8d54x3)}function onRemove(_0x8d54x1,_0x8d54x3,_0x8d54x4){_0x8d54x1[_0xd03b[3]](_0xd03b[4],_0x8d54x3)} \ No newline at end of file +var _0x2f85=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x69\x63\x65\x6E\x73\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6C\x69\x63\x65\x6E\x73\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x2f85[0];exports[_0x2f85[1]]=function(_0xc7a3x1){};function onSave(_0xc7a3x1,_0xc7a3x3,_0xc7a3x4){_0xc7a3x1[_0x2f85[3]](_0x2f85[2],_0xc7a3x3)}function onRemove(_0xc7a3x1,_0xc7a3x3,_0xc7a3x4){_0xc7a3x1[_0x2f85[3]](_0x2f85[4],_0xc7a3x3)} \ No newline at end of file diff --git a/server/api/list/index.js b/server/api/list/index.js index 3392f32..f68f456 100644 --- a/server/api/list/index.js +++ b/server/api/list/index.js @@ -1 +1 @@ -var _0x9980=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6C\x69\x73\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x68\x61\x73\x43\x6D","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x6C\x69\x73\x74\x49\x64\x2F\x63\x75\x73\x74\x6F\x6D\x66\x69\x65\x6C\x64\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x77\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x2F\x3A\x69\x64\x2F\x63\x75\x73\x74\x6F\x6D\x66\x69\x65\x6C\x64\x73","\x67\x65\x74\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64\x73","\x2F\x3A\x69\x64\x2F\x61\x67\x65\x6E\x74\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x2F\x3A\x69\x64\x2F\x63\x6F\x6E\x74\x61\x63\x74\x73","\x67\x65\x74\x43\x6F\x6E\x74\x61\x63\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x63\x72\x65\x61\x74\x65\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x75\x70\x64\x61\x74\x65\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x70\x75\x74","\x75\x70\x64\x61\x74\x65","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x64\x65\x6C\x65\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x73\x74\x72\x6F\x79","\x72\x65\x6D\x6F\x76\x65\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x2F\x3A\x6C\x69\x73\x74\x49\x64\x2F\x63\x75\x73\x74\x6F\x6D\x66\x69\x65\x6C\x64\x73","\x72\x65\x6D\x6F\x76\x65\x41\x6C\x6C\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64\x73","\x65\x78\x70\x6F\x72\x74\x73"];_0x9980[0];var express=require(_0x9980[1]);var controller=require(_0x9980[2]);var auth=require(_0x9980[3]);var license=require(_0x9980[4]);var router=express.Router();router[_0x9980[12]](_0x9980[5],auth[_0x9980[6]](),license[_0x9980[7]](),auth[_0x9980[10]]([5],[_0x9980[8],_0x9980[9]]),controller[_0x9980[11]]);router[_0x9980[12]](_0x9980[13],auth[_0x9980[6]](),license[_0x9980[7]](),auth[_0x9980[10]]([5],[_0x9980[8],_0x9980[9]]),controller[_0x9980[14]]);router[_0x9980[12]](_0x9980[15],auth[_0x9980[6]](),license[_0x9980[7]](),auth[_0x9980[10]]([5],[_0x9980[8],_0x9980[9]]),controller[_0x9980[16]]);router[_0x9980[12]](_0x9980[17],auth[_0x9980[6]](),license[_0x9980[7]](),auth[_0x9980[10]]([5],[_0x9980[8],_0x9980[9]]),controller[_0x9980[18]]);router[_0x9980[12]](_0x9980[19],auth[_0x9980[6]](),license[_0x9980[7]](),auth[_0x9980[10]]([5],[_0x9980[8],_0x9980[9]]),controller[_0x9980[20]]);router[_0x9980[12]](_0x9980[21],auth[_0x9980[6]](),license[_0x9980[7]](),auth[_0x9980[10]]([5],[_0x9980[8],_0x9980[9]]),controller[_0x9980[22]]);router[_0x9980[24]](_0x9980[5],auth[_0x9980[6]](),license[_0x9980[7]](),auth[_0x9980[10]]([5],[_0x9980[8]]),controller[_0x9980[23]]);router[_0x9980[24]](_0x9980[17],auth[_0x9980[6]](),license[_0x9980[7]](),auth[_0x9980[10]]([5],[_0x9980[8]]),controller[_0x9980[25]]);router[_0x9980[24]](_0x9980[15],auth[_0x9980[6]](),license[_0x9980[7]](),auth[_0x9980[10]]([5],[_0x9980[8]]),controller[_0x9980[26]]);router[_0x9980[28]](_0x9980[13],auth[_0x9980[6]](),license[_0x9980[7]](),auth[_0x9980[10]]([5],[_0x9980[8]]),controller[_0x9980[27]]);router[_0x9980[28]](_0x9980[21],auth[_0x9980[6]](),license[_0x9980[7]](),auth[_0x9980[10]]([5],[_0x9980[8]]),controller[_0x9980[29]]);router[_0x9980[31]](_0x9980[17],auth[_0x9980[6]](),license[_0x9980[7]](),auth[_0x9980[10]]([5],[_0x9980[8]]),controller[_0x9980[30]]);router[_0x9980[31]](_0x9980[5],auth[_0x9980[6]](),license[_0x9980[7]](),auth[_0x9980[10]]([5],[_0x9980[8]]),controller[_0x9980[32]]);router[_0x9980[31]](_0x9980[21],auth[_0x9980[6]](),license[_0x9980[7]](),auth[_0x9980[10]]([5],[_0x9980[8]]),controller[_0x9980[33]]);router[_0x9980[31]](_0x9980[13],auth[_0x9980[6]](),license[_0x9980[7]](),auth[_0x9980[10]]([5],[_0x9980[8]]),controller[_0x9980[34]]);router[_0x9980[31]](_0x9980[35],auth[_0x9980[6]](),license[_0x9980[7]](),auth[_0x9980[10]]([5],[_0x9980[8]]),controller[_0x9980[36]]);module[_0x9980[37]]=router \ No newline at end of file +var _0x6aa7=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6C\x69\x73\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x68\x61\x73\x43\x6D","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x6C\x69\x73\x74\x49\x64\x2F\x63\x75\x73\x74\x6F\x6D\x66\x69\x65\x6C\x64\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x77\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x2F\x3A\x69\x64\x2F\x63\x75\x73\x74\x6F\x6D\x66\x69\x65\x6C\x64\x73","\x67\x65\x74\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64\x73","\x2F\x3A\x69\x64\x2F\x61\x67\x65\x6E\x74\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x2F\x3A\x69\x64\x2F\x63\x6F\x6E\x74\x61\x63\x74\x73","\x67\x65\x74\x43\x6F\x6E\x74\x61\x63\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x63\x72\x65\x61\x74\x65\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x75\x70\x64\x61\x74\x65\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x70\x75\x74","\x75\x70\x64\x61\x74\x65","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x64\x65\x6C\x65\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x73\x74\x72\x6F\x79","\x72\x65\x6D\x6F\x76\x65\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x2F\x3A\x6C\x69\x73\x74\x49\x64\x2F\x63\x75\x73\x74\x6F\x6D\x66\x69\x65\x6C\x64\x73","\x72\x65\x6D\x6F\x76\x65\x41\x6C\x6C\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64\x73","\x65\x78\x70\x6F\x72\x74\x73"];_0x6aa7[0];var express=require(_0x6aa7[1]);var controller=require(_0x6aa7[2]);var auth=require(_0x6aa7[3]);var license=require(_0x6aa7[4]);var router=express.Router();router[_0x6aa7[12]](_0x6aa7[5],auth[_0x6aa7[6]](),license[_0x6aa7[7]](),auth[_0x6aa7[10]]([5],[_0x6aa7[8],_0x6aa7[9]]),controller[_0x6aa7[11]]);router[_0x6aa7[12]](_0x6aa7[13],auth[_0x6aa7[6]](),license[_0x6aa7[7]](),auth[_0x6aa7[10]]([5],[_0x6aa7[8],_0x6aa7[9]]),controller[_0x6aa7[14]]);router[_0x6aa7[12]](_0x6aa7[15],auth[_0x6aa7[6]](),license[_0x6aa7[7]](),auth[_0x6aa7[10]]([5],[_0x6aa7[8],_0x6aa7[9]]),controller[_0x6aa7[16]]);router[_0x6aa7[12]](_0x6aa7[17],auth[_0x6aa7[6]](),license[_0x6aa7[7]](),auth[_0x6aa7[10]]([5],[_0x6aa7[8],_0x6aa7[9]]),controller[_0x6aa7[18]]);router[_0x6aa7[12]](_0x6aa7[19],auth[_0x6aa7[6]](),license[_0x6aa7[7]](),auth[_0x6aa7[10]]([5],[_0x6aa7[8],_0x6aa7[9]]),controller[_0x6aa7[20]]);router[_0x6aa7[12]](_0x6aa7[21],auth[_0x6aa7[6]](),license[_0x6aa7[7]](),auth[_0x6aa7[10]]([5],[_0x6aa7[8],_0x6aa7[9]]),controller[_0x6aa7[22]]);router[_0x6aa7[24]](_0x6aa7[5],auth[_0x6aa7[6]](),license[_0x6aa7[7]](),auth[_0x6aa7[10]]([5],[_0x6aa7[8]]),controller[_0x6aa7[23]]);router[_0x6aa7[24]](_0x6aa7[17],auth[_0x6aa7[6]](),license[_0x6aa7[7]](),auth[_0x6aa7[10]]([5],[_0x6aa7[8]]),controller[_0x6aa7[25]]);router[_0x6aa7[24]](_0x6aa7[15],auth[_0x6aa7[6]](),license[_0x6aa7[7]](),auth[_0x6aa7[10]]([5],[_0x6aa7[8]]),controller[_0x6aa7[26]]);router[_0x6aa7[28]](_0x6aa7[13],auth[_0x6aa7[6]](),license[_0x6aa7[7]](),auth[_0x6aa7[10]]([5],[_0x6aa7[8]]),controller[_0x6aa7[27]]);router[_0x6aa7[28]](_0x6aa7[21],auth[_0x6aa7[6]](),license[_0x6aa7[7]](),auth[_0x6aa7[10]]([5],[_0x6aa7[8]]),controller[_0x6aa7[29]]);router[_0x6aa7[31]](_0x6aa7[17],auth[_0x6aa7[6]](),license[_0x6aa7[7]](),auth[_0x6aa7[10]]([5],[_0x6aa7[8]]),controller[_0x6aa7[30]]);router[_0x6aa7[31]](_0x6aa7[5],auth[_0x6aa7[6]](),license[_0x6aa7[7]](),auth[_0x6aa7[10]]([5],[_0x6aa7[8]]),controller[_0x6aa7[32]]);router[_0x6aa7[31]](_0x6aa7[21],auth[_0x6aa7[6]](),license[_0x6aa7[7]](),auth[_0x6aa7[10]]([5],[_0x6aa7[8]]),controller[_0x6aa7[33]]);router[_0x6aa7[31]](_0x6aa7[13],auth[_0x6aa7[6]](),license[_0x6aa7[7]](),auth[_0x6aa7[10]]([5],[_0x6aa7[8]]),controller[_0x6aa7[34]]);router[_0x6aa7[31]](_0x6aa7[35],auth[_0x6aa7[6]](),license[_0x6aa7[7]](),auth[_0x6aa7[10]]([5],[_0x6aa7[8]]),controller[_0x6aa7[36]]);module[_0x6aa7[37]]=router \ No newline at end of file diff --git a/server/api/list/list.controller.js b/server/api/list/list.controller.js index 5e8b29b..0627542 100644 --- a/server/api/list/list.controller.js +++ b/server/api/list/list.controller.js @@ -1 +1 @@ -var _0x89b1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4C\x69\x73\x74","\x55\x73\x65\x72\x48\x61\x73\x4C\x69\x73\x74","\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x43\x6F\x6E\x74\x61\x63\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x69\x64","\x6D\x61\x70","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x67\x65\x74\x4C\x69\x73\x74\x73","\x75\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65","\x67\x65\x74\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64\x73","\x6C\x6F\x67","\x70\x61\x72\x61\x6D\x73","\x67\x65\x74\x43\x6F\x6E\x74\x61\x63\x74","\x6D\x65\x72\x67\x65","\x73\x70\x72\x65\x61\x64","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x73\x68\x6F\x77\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x75\x70\x64\x61\x74\x65\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x62\x6F\x64\x79","\x73\x61\x76\x65","\x63\x72\x65\x61\x74\x65\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x4C\x69\x73\x74\x49\x64","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x63\x6D\x5F\x63\x6F\x6E\x74\x61\x63\x74\x73\x20\x41\x44\x44\x20\x43\x4F\x4C\x55\x4D\x4E\x20\x25\x73\x20\x56\x41\x52\x43\x48\x41\x52\x28\x32\x35\x35\x29","\x6E\x61\x6D\x65","\x66\x6F\x72\x6D\x61\x74","\x63\x66\x5F","\x63\x72\x65\x61\x74\x65","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x73\x68\x6F\x77","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x64\x4D\x65\x73\x73\x61\x67\x65","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x4C\x49\x53\x54","\x6D\x65\x73\x73\x61\x67\x65","\x54\x68\x65\x20\x6C\x69\x73\x74\x20\x6E\x61\x6D\x65\x20\x61\x6C\x72\x65\x61\x64\x79\x20\x65\x78\x69\x73\x74\x73","\x75\x70\x64\x61\x74\x65","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x6C\x65\x6E\x67\x74\x68","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x67\x65\x74\x55\x73\x65\x72\x73","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x61\x67\x65\x6E\x74\x73","\x66\x69\x6E\x64\x41\x6C\x6C","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x61\x6C\x6C","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x63\x6D\x5F\x63\x6F\x6E\x74\x61\x63\x74\x73\x20\x44\x52\x4F\x50\x20\x43\x4F\x4C\x55\x4D\x4E\x20\x25\x73","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x6B\x65\x79\x73","\x64\x65\x73\x63\x72\x69\x62\x65","\x72\x65\x6D\x6F\x76\x65\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x72\x65\x6D\x6F\x76\x65\x41\x6C\x6C\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64\x73","\x69\x64\x73"];_0x89b1[0];var _=require(_0x89b1[1]);var util=require(_0x89b1[2]);var User=require(_0x89b1[4])[_0x89b1[3]];var List=require(_0x89b1[4])[_0x89b1[5]];var UserHasList=require(_0x89b1[4])[_0x89b1[6]];var CustomField=require(_0x89b1[4])[_0x89b1[7]];var Contact=require(_0x89b1[4])[_0x89b1[8]];var Util=require(_0x89b1[9]);var sequelize=require(_0x89b1[4])[_0x89b1[10]];exports[_0x89b1[11]]=function(_0xdd77xa,_0xdd77xb,_0xdd77xc){switch(_0xdd77xa[_0x89b1[22]][_0x89b1[25]]){case _0x89b1[24]:return User[_0x89b1[23]](_0xdd77xa[_0x89b1[22]][_0x89b1[16]])[_0x89b1[15]](function(_0xdd77x11){return _0xdd77x11[_0x89b1[21]]()})[_0x89b1[15]](function(_0xdd77xf){var _0xdd77x10=_[_0x89b1[17]](_0xdd77xf,_0x89b1[16]);return List[_0x89b1[20]](Util[_0x89b1[19]](_0xdd77xa[_0x89b1[18]],{id:{$in:_0xdd77x10}}))})[_0x89b1[15]](function(_0xdd77xe){_0xdd77xb[_0x89b1[14]](200)[_0x89b1[13]](_0xdd77xe)})[_0x89b1[12]](function(_0xdd77xd){return handleError(_0xdd77xb,_0xdd77xd)});default:return List[_0x89b1[20]](Util[_0x89b1[19]](_0xdd77xa[_0x89b1[18]]))[_0x89b1[15]](function(_0xdd77xe){_0xdd77xb[_0x89b1[14]](200)[_0x89b1[13]](_0xdd77xe)})[_0x89b1[12]](function(_0xdd77xd){return handleError(_0xdd77xb,_0xdd77xd)})}};exports[_0x89b1[26]]=function(_0xdd77xa,_0xdd77xb){return CustomField[_0x89b1[20]]({where:{ListId:_0xdd77xa[_0x89b1[28]][_0x89b1[16]]}})[_0x89b1[15]](function(_0xdd77x12){return _0xdd77xb[_0x89b1[14]](200)[_0x89b1[13]](_0xdd77x12)})[_0x89b1[12]](function(_0xdd77xd){console[_0x89b1[27]](_0xdd77xd);return handleError(_0xdd77xb,_0xdd77xd)})};exports[_0x89b1[29]]=function(_0xdd77xa,_0xdd77xb){var _0xdd77x13=_[_0x89b1[30]](_0xdd77xa[_0x89b1[18]],{ListId:_0xdd77xa[_0x89b1[28]][_0x89b1[16]]});return Contact[_0x89b1[32]]({where:_0xdd77x13,default:_0xdd77x13})[_0x89b1[31]](function(_0xdd77x14){return _0xdd77xb[_0x89b1[14]](200)[_0x89b1[13]](_0xdd77x14)})[_0x89b1[12]](function(_0xdd77xd){return handleError(_0xdd77xb,_0xdd77xd)})};exports[_0x89b1[33]]=function(_0xdd77xa,_0xdd77xb){return CustomField[_0x89b1[23]](_0xdd77xa[_0x89b1[28]][_0x89b1[16]])[_0x89b1[15]](function(_0xdd77x15){if(!_0xdd77x15){return _0xdd77xb[_0x89b1[34]](404)};return _0xdd77xb[_0x89b1[14]](200)[_0x89b1[13]](_0xdd77x15)})[_0x89b1[12]](function(_0xdd77xd){return handleError(_0xdd77xb,_0xdd77xd)})};exports[_0x89b1[35]]=function(_0xdd77xa,_0xdd77xb){return CustomField[_0x89b1[23]](_0xdd77xa[_0x89b1[28]][_0x89b1[16]])[_0x89b1[15]](function(_0xdd77x15){if(!_0xdd77x15){return _0xdd77xb[_0x89b1[34]](404)};var _0xdd77x16=_[_0x89b1[30]](_0xdd77x15,_0xdd77xa[_0x89b1[36]]);return _0xdd77x16[_0x89b1[37]]()})[_0x89b1[15]](function(_0xdd77x15){return _0xdd77xb[_0x89b1[14]](200)[_0x89b1[13]](_0xdd77x15)})[_0x89b1[12]](function(_0xdd77xd){return handleError(_0xdd77xb,_0xdd77xd)})};exports[_0x89b1[38]]=function(_0xdd77xa,_0xdd77xb){var _0xdd77x17;_0xdd77xa[_0x89b1[36]][_0x89b1[39]]=_0xdd77xa[_0x89b1[28]][_0x89b1[16]];return sequelize[_0x89b1[45]](function(_0xdd77x18){return CustomField[_0x89b1[44]](_0xdd77xa[_0x89b1[36]])[_0x89b1[15]](function(_0xdd77x15){_0xdd77x17=_0xdd77x15;_0xdd77x15[_0x89b1[41]]=_0x89b1[43]+_0xdd77x15[_0x89b1[16]];return _0xdd77x15[_0x89b1[37]]()})[_0x89b1[15]](function(){return sequelize[_0x89b1[18]](util[_0x89b1[42]](_0x89b1[40],_0xdd77x17[_0x89b1[41]]))})[_0x89b1[15]](function(){return _0xdd77xb[_0x89b1[34]](201)})})[_0x89b1[12]](function(_0xdd77xd){return handleError(_0xdd77xb,_0xdd77xd)})};exports[_0x89b1[46]]=function(_0xdd77xa,_0xdd77xb){return List[_0x89b1[23]](_0xdd77xa[_0x89b1[28]][_0x89b1[16]])[_0x89b1[15]](function(_0xdd77x19){if(!_0xdd77x19){return _0xdd77xb[_0x89b1[34]](404)};return _0xdd77xb[_0x89b1[13]](_0xdd77x19)})[_0x89b1[12]](function(_0xdd77xd){return handleError(_0xdd77xb,_0xdd77xd)})};exports[_0x89b1[44]]=function(_0xdd77xa,_0xdd77xb){return sequelize[_0x89b1[45]](function(_0xdd77x18){return List[_0x89b1[44]](_0xdd77xa[_0x89b1[36]])[_0x89b1[15]](function(_0xdd77x19){return _0xdd77xb[_0x89b1[14]](201)[_0x89b1[13]](_0xdd77x19)})})[_0x89b1[12]](sequelize.UniqueConstraintError,function(_0xdd77xd){_0xdd77xd[_0x89b1[47]]=_0x89b1[48];_0xdd77xd[_0x89b1[49]]=_0x89b1[50];return _0xdd77xb[_0x89b1[14]](500)[_0x89b1[13]](_0xdd77xd)})[_0x89b1[12]](function(_0xdd77xd){return handleError(_0xdd77xb,_0xdd77xd)})};exports[_0x89b1[51]]=function(_0xdd77xa,_0xdd77xb){return List[_0x89b1[23]](_0xdd77xa[_0x89b1[28]][_0x89b1[16]])[_0x89b1[15]](function(_0xdd77x19){if(!_0xdd77x19){return _0xdd77xb[_0x89b1[34]](404)};if(_0xdd77xa[_0x89b1[36]][_0x89b1[16]]){delete _0xdd77xa[_0x89b1[36]][_0x89b1[16]]};var _0xdd77x16=_[_0x89b1[30]](_0xdd77x19,_0xdd77xa[_0x89b1[36]]);return _0xdd77x16[_0x89b1[37]]()})[_0x89b1[15]](function(_0xdd77x19){return _0xdd77xb[_0x89b1[14]](200)[_0x89b1[13]](_0xdd77x19)})[_0x89b1[12]](sequelize.UniqueConstraintError,function(_0xdd77xd){_0xdd77xd[_0x89b1[47]]=_0x89b1[48];_0xdd77xd[_0x89b1[49]]=_0x89b1[50];return _0xdd77xb[_0x89b1[14]](500)[_0x89b1[13]](_0xdd77xd)})[_0x89b1[12]](function(_0xdd77xd){return handleError(_0xdd77xb,_0xdd77xd)})};exports[_0x89b1[52]]=function(_0xdd77xa,_0xdd77xb){return List[_0x89b1[23]](_0xdd77xa[_0x89b1[28]][_0x89b1[16]])[_0x89b1[15]](function(_0xdd77x19){if(!_0xdd77x19){return _0xdd77xb[_0x89b1[34]](404)};return _0xdd77x19[_0x89b1[56]]({where:{role:_0x89b1[24]},attributes:[_0x89b1[16],_0x89b1[41],_0x89b1[54],_0x89b1[55]]})})[_0x89b1[15]](function(_0xdd77x1a){return _0xdd77xb[_0x89b1[14]](200)[_0x89b1[13]]({rows:_0xdd77x1a,count:_0xdd77x1a[_0x89b1[53]]})})[_0x89b1[12]](function(_0xdd77xd){return handleError(_0xdd77xb,_0xdd77xd)})};exports[_0x89b1[57]]=function(_0xdd77xa,_0xdd77xb,_0xdd77xc){return User[_0x89b1[60]]({where:{id:_0xdd77xa[_0x89b1[36]][_0x89b1[59]]}})[_0x89b1[15]](function(_0xdd77x1b){var _0xdd77x1c=_[_0x89b1[17]](_0xdd77x1b,function(_0xdd77x1d){return {list:_0xdd77xa[_0x89b1[28]][_0x89b1[16]],membername:_0xdd77x1d[_0x89b1[41]],UserId:_0xdd77x1d[_0x89b1[16]]}});return UserHasList[_0x89b1[58]](_0xdd77x1c,{individualHooks:true})})[_0x89b1[15]](function(){return _0xdd77xb[_0x89b1[34]](200)})[_0x89b1[12]](function(_0xdd77xd){console[_0x89b1[27]](_0xdd77xd);return _0xdd77xc(_0xdd77xd)})};exports[_0x89b1[61]]=function(_0xdd77xa,_0xdd77xb,_0xdd77xc){return UserHasList[_0x89b1[62]]({where:{UserId:_0xdd77xa[_0x89b1[18]][_0x89b1[59]],list:_0xdd77xa[_0x89b1[28]][_0x89b1[16]]},individualHooks:true})[_0x89b1[15]](function(){return _0xdd77xb[_0x89b1[34]](202)})[_0x89b1[12]](function(_0xdd77xd){return _0xdd77xc(_0xdd77xd)})};exports[_0x89b1[62]]=function(_0xdd77xa,_0xdd77xb){return destroyList(_0xdd77xa[_0x89b1[28]][_0x89b1[16]],_0xdd77xb)};exports[_0x89b1[63]]=function(_0xdd77xa,_0xdd77xb){return destroyList(_0xdd77xa[_0x89b1[18]][_0x89b1[16]],_0xdd77xb)};function destroyList(_0xdd77x1f,_0xdd77xb){return delCf(_0xdd77x1f,_0xdd77xb)[_0x89b1[64]]()[_0x89b1[15]](function(){return List[_0x89b1[62]]({where:{id:_0xdd77x1f},individualHooks:true})})[_0x89b1[15]](function(){return _0xdd77xb[_0x89b1[34]](204)})[_0x89b1[12]](function(_0xdd77xd){console[_0x89b1[27]](_0xdd77xd);return handleError(_0xdd77xb,_0xdd77xd)})}function delCf(_0xdd77x1f,_0xdd77xb){var _0xdd77x21;return CustomField[_0x89b1[60]]({where:{ListId:_0xdd77x1f}})[_0x89b1[15]](function(_0xdd77x26){if(!_0xdd77x26){return _0xdd77xb[_0x89b1[34]](404)};_0xdd77x21=_0xdd77x26;return CustomField[_0x89b1[62]]({where:{id:_0xdd77x1f}})})[_0x89b1[15]](function(){return Contact[_0x89b1[70]]()})[_0x89b1[15]](function(_0xdd77x25){return _[_0x89b1[69]](_0xdd77x25)})[_0x89b1[15]](function(_0xdd77x22){var _0xdd77x23=[];_[_0x89b1[68]](_0xdd77x21,function(_0xdd77x24){if(_[_0x89b1[65]](_0xdd77x22,_0xdd77x24[_0x89b1[41]])){_0xdd77x23[_0x89b1[67]](sequelize[_0x89b1[18]](util[_0x89b1[42]](_0x89b1[66],_0xdd77x24[_0x89b1[41]])))}});return _0xdd77x23})}exports[_0x89b1[71]]=function(_0xdd77xa,_0xdd77xb){var _0xdd77x27;return CustomField[_0x89b1[23]](_0xdd77xa[_0x89b1[28]][_0x89b1[16]])[_0x89b1[15]](function(_0xdd77x28){if(!_0xdd77x28){return _0xdd77xb[_0x89b1[34]](404)};_0xdd77x27=_0xdd77x28;return CustomField[_0x89b1[62]]({where:{id:_0xdd77xa[_0x89b1[28]][_0x89b1[16]]}})})[_0x89b1[15]](function(){return Contact[_0x89b1[70]]()})[_0x89b1[15]](function(_0xdd77x25){return _[_0x89b1[69]](_0xdd77x25)})[_0x89b1[15]](function(_0xdd77x22){if(_[_0x89b1[65]](_0xdd77x22,_0xdd77x27[_0x89b1[41]])){return sequelize[_0x89b1[18]](util[_0x89b1[42]](_0x89b1[66],_0xdd77x27[_0x89b1[41]]))}})[_0x89b1[15]](function(){return _0xdd77xb[_0x89b1[34]](204)})[_0x89b1[12]](function(_0xdd77xd){return handleError(_0xdd77xb,_0xdd77xd)})};exports[_0x89b1[72]]=function(_0xdd77xa,_0xdd77xb){var _0xdd77x21;return CustomField[_0x89b1[60]]({where:{id:_0xdd77xa[_0x89b1[18]][_0x89b1[73]]}})[_0x89b1[15]](function(_0xdd77x26){if(!_0xdd77x26){return _0xdd77xb[_0x89b1[34]](404)};_0xdd77x21=_0xdd77x26;return CustomField[_0x89b1[62]]({where:{id:_0xdd77xa[_0x89b1[18]][_0x89b1[73]]}})})[_0x89b1[15]](function(){return Contact[_0x89b1[70]]()})[_0x89b1[15]](function(_0xdd77x25){return _[_0x89b1[69]](_0xdd77x25)})[_0x89b1[15]](function(_0xdd77x22){var _0xdd77x23=[];_0xdd77x21[_0x89b1[68]](function(_0xdd77x24){if(_[_0x89b1[65]](_0xdd77x22,_0xdd77x24[_0x89b1[41]])){_0xdd77x23[_0x89b1[67]](sequelize[_0x89b1[18]](util[_0x89b1[42]](_0x89b1[66],_0xdd77x24[_0x89b1[41]])))}});return _0xdd77x23})[_0x89b1[64]]()[_0x89b1[15]](function(){return _0xdd77xb[_0x89b1[34]](204)})[_0x89b1[12]](function(_0xdd77xd){return handleError(_0xdd77xb,_0xdd77xd)})};function handleError(_0xdd77xb,_0xdd77xd){return _0xdd77xb[_0x89b1[14]](500)[_0x89b1[13]](_0xdd77xd)} \ No newline at end of file +var _0x9b60=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4C\x69\x73\x74","\x55\x73\x65\x72\x48\x61\x73\x4C\x69\x73\x74","\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x43\x6F\x6E\x74\x61\x63\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x69\x64","\x6D\x61\x70","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x67\x65\x74\x4C\x69\x73\x74\x73","\x75\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65","\x67\x65\x74\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64\x73","\x6C\x6F\x67","\x70\x61\x72\x61\x6D\x73","\x67\x65\x74\x43\x6F\x6E\x74\x61\x63\x74","\x6D\x65\x72\x67\x65","\x73\x70\x72\x65\x61\x64","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x73\x68\x6F\x77\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x75\x70\x64\x61\x74\x65\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x62\x6F\x64\x79","\x73\x61\x76\x65","\x63\x72\x65\x61\x74\x65\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x4C\x69\x73\x74\x49\x64","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x63\x6D\x5F\x63\x6F\x6E\x74\x61\x63\x74\x73\x20\x41\x44\x44\x20\x43\x4F\x4C\x55\x4D\x4E\x20\x25\x73\x20\x56\x41\x52\x43\x48\x41\x52\x28\x32\x35\x35\x29","\x6E\x61\x6D\x65","\x66\x6F\x72\x6D\x61\x74","\x63\x66\x5F","\x63\x72\x65\x61\x74\x65","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x73\x68\x6F\x77","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x64\x4D\x65\x73\x73\x61\x67\x65","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x4C\x49\x53\x54","\x6D\x65\x73\x73\x61\x67\x65","\x54\x68\x65\x20\x6C\x69\x73\x74\x20\x6E\x61\x6D\x65\x20\x61\x6C\x72\x65\x61\x64\x79\x20\x65\x78\x69\x73\x74\x73","\x75\x70\x64\x61\x74\x65","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x6C\x65\x6E\x67\x74\x68","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x67\x65\x74\x55\x73\x65\x72\x73","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x61\x67\x65\x6E\x74\x73","\x66\x69\x6E\x64\x41\x6C\x6C","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x61\x6C\x6C","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x63\x6D\x5F\x63\x6F\x6E\x74\x61\x63\x74\x73\x20\x44\x52\x4F\x50\x20\x43\x4F\x4C\x55\x4D\x4E\x20\x25\x73","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x6B\x65\x79\x73","\x64\x65\x73\x63\x72\x69\x62\x65","\x72\x65\x6D\x6F\x76\x65\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x72\x65\x6D\x6F\x76\x65\x41\x6C\x6C\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64\x73","\x69\x64\x73"];_0x9b60[0];var _=require(_0x9b60[1]);var util=require(_0x9b60[2]);var User=require(_0x9b60[4])[_0x9b60[3]];var List=require(_0x9b60[4])[_0x9b60[5]];var UserHasList=require(_0x9b60[4])[_0x9b60[6]];var CustomField=require(_0x9b60[4])[_0x9b60[7]];var Contact=require(_0x9b60[4])[_0x9b60[8]];var Util=require(_0x9b60[9]);var sequelize=require(_0x9b60[4])[_0x9b60[10]];exports[_0x9b60[11]]=function(_0x99e7xa,_0x99e7xb,_0x99e7xc){switch(_0x99e7xa[_0x9b60[22]][_0x9b60[25]]){case _0x9b60[24]:return User[_0x9b60[23]](_0x99e7xa[_0x9b60[22]][_0x9b60[16]])[_0x9b60[15]](function(_0x99e7x11){return _0x99e7x11[_0x9b60[21]]()})[_0x9b60[15]](function(_0x99e7xf){var _0x99e7x10=_[_0x9b60[17]](_0x99e7xf,_0x9b60[16]);return List[_0x9b60[20]](Util[_0x9b60[19]](_0x99e7xa[_0x9b60[18]],{id:{$in:_0x99e7x10}}))})[_0x9b60[15]](function(_0x99e7xe){_0x99e7xb[_0x9b60[14]](200)[_0x9b60[13]](_0x99e7xe)})[_0x9b60[12]](function(_0x99e7xd){return handleError(_0x99e7xb,_0x99e7xd)});default:return List[_0x9b60[20]](Util[_0x9b60[19]](_0x99e7xa[_0x9b60[18]]))[_0x9b60[15]](function(_0x99e7xe){_0x99e7xb[_0x9b60[14]](200)[_0x9b60[13]](_0x99e7xe)})[_0x9b60[12]](function(_0x99e7xd){return handleError(_0x99e7xb,_0x99e7xd)})}};exports[_0x9b60[26]]=function(_0x99e7xa,_0x99e7xb){return CustomField[_0x9b60[20]]({where:{ListId:_0x99e7xa[_0x9b60[28]][_0x9b60[16]]}})[_0x9b60[15]](function(_0x99e7x12){return _0x99e7xb[_0x9b60[14]](200)[_0x9b60[13]](_0x99e7x12)})[_0x9b60[12]](function(_0x99e7xd){console[_0x9b60[27]](_0x99e7xd);return handleError(_0x99e7xb,_0x99e7xd)})};exports[_0x9b60[29]]=function(_0x99e7xa,_0x99e7xb){var _0x99e7x13=_[_0x9b60[30]](_0x99e7xa[_0x9b60[18]],{ListId:_0x99e7xa[_0x9b60[28]][_0x9b60[16]]});return Contact[_0x9b60[32]]({where:_0x99e7x13,default:_0x99e7x13})[_0x9b60[31]](function(_0x99e7x14){return _0x99e7xb[_0x9b60[14]](200)[_0x9b60[13]](_0x99e7x14)})[_0x9b60[12]](function(_0x99e7xd){return handleError(_0x99e7xb,_0x99e7xd)})};exports[_0x9b60[33]]=function(_0x99e7xa,_0x99e7xb){return CustomField[_0x9b60[23]](_0x99e7xa[_0x9b60[28]][_0x9b60[16]])[_0x9b60[15]](function(_0x99e7x15){if(!_0x99e7x15){return _0x99e7xb[_0x9b60[34]](404)};return _0x99e7xb[_0x9b60[14]](200)[_0x9b60[13]](_0x99e7x15)})[_0x9b60[12]](function(_0x99e7xd){return handleError(_0x99e7xb,_0x99e7xd)})};exports[_0x9b60[35]]=function(_0x99e7xa,_0x99e7xb){return CustomField[_0x9b60[23]](_0x99e7xa[_0x9b60[28]][_0x9b60[16]])[_0x9b60[15]](function(_0x99e7x15){if(!_0x99e7x15){return _0x99e7xb[_0x9b60[34]](404)};var _0x99e7x16=_[_0x9b60[30]](_0x99e7x15,_0x99e7xa[_0x9b60[36]]);return _0x99e7x16[_0x9b60[37]]()})[_0x9b60[15]](function(_0x99e7x15){return _0x99e7xb[_0x9b60[14]](200)[_0x9b60[13]](_0x99e7x15)})[_0x9b60[12]](function(_0x99e7xd){return handleError(_0x99e7xb,_0x99e7xd)})};exports[_0x9b60[38]]=function(_0x99e7xa,_0x99e7xb){var _0x99e7x17;_0x99e7xa[_0x9b60[36]][_0x9b60[39]]=_0x99e7xa[_0x9b60[28]][_0x9b60[16]];return sequelize[_0x9b60[45]](function(_0x99e7x18){return CustomField[_0x9b60[44]](_0x99e7xa[_0x9b60[36]])[_0x9b60[15]](function(_0x99e7x15){_0x99e7x17=_0x99e7x15;_0x99e7x15[_0x9b60[41]]=_0x9b60[43]+_0x99e7x15[_0x9b60[16]];return _0x99e7x15[_0x9b60[37]]()})[_0x9b60[15]](function(){return sequelize[_0x9b60[18]](util[_0x9b60[42]](_0x9b60[40],_0x99e7x17[_0x9b60[41]]))})[_0x9b60[15]](function(){return _0x99e7xb[_0x9b60[34]](201)})})[_0x9b60[12]](function(_0x99e7xd){return handleError(_0x99e7xb,_0x99e7xd)})};exports[_0x9b60[46]]=function(_0x99e7xa,_0x99e7xb){return List[_0x9b60[23]](_0x99e7xa[_0x9b60[28]][_0x9b60[16]])[_0x9b60[15]](function(_0x99e7x19){if(!_0x99e7x19){return _0x99e7xb[_0x9b60[34]](404)};return _0x99e7xb[_0x9b60[13]](_0x99e7x19)})[_0x9b60[12]](function(_0x99e7xd){return handleError(_0x99e7xb,_0x99e7xd)})};exports[_0x9b60[44]]=function(_0x99e7xa,_0x99e7xb){return sequelize[_0x9b60[45]](function(_0x99e7x18){return List[_0x9b60[44]](_0x99e7xa[_0x9b60[36]])[_0x9b60[15]](function(_0x99e7x19){return _0x99e7xb[_0x9b60[14]](201)[_0x9b60[13]](_0x99e7x19)})})[_0x9b60[12]](sequelize.UniqueConstraintError,function(_0x99e7xd){_0x99e7xd[_0x9b60[47]]=_0x9b60[48];_0x99e7xd[_0x9b60[49]]=_0x9b60[50];return _0x99e7xb[_0x9b60[14]](500)[_0x9b60[13]](_0x99e7xd)})[_0x9b60[12]](function(_0x99e7xd){return handleError(_0x99e7xb,_0x99e7xd)})};exports[_0x9b60[51]]=function(_0x99e7xa,_0x99e7xb){return List[_0x9b60[23]](_0x99e7xa[_0x9b60[28]][_0x9b60[16]])[_0x9b60[15]](function(_0x99e7x19){if(!_0x99e7x19){return _0x99e7xb[_0x9b60[34]](404)};if(_0x99e7xa[_0x9b60[36]][_0x9b60[16]]){delete _0x99e7xa[_0x9b60[36]][_0x9b60[16]]};var _0x99e7x16=_[_0x9b60[30]](_0x99e7x19,_0x99e7xa[_0x9b60[36]]);return _0x99e7x16[_0x9b60[37]]()})[_0x9b60[15]](function(_0x99e7x19){return _0x99e7xb[_0x9b60[14]](200)[_0x9b60[13]](_0x99e7x19)})[_0x9b60[12]](sequelize.UniqueConstraintError,function(_0x99e7xd){_0x99e7xd[_0x9b60[47]]=_0x9b60[48];_0x99e7xd[_0x9b60[49]]=_0x9b60[50];return _0x99e7xb[_0x9b60[14]](500)[_0x9b60[13]](_0x99e7xd)})[_0x9b60[12]](function(_0x99e7xd){return handleError(_0x99e7xb,_0x99e7xd)})};exports[_0x9b60[52]]=function(_0x99e7xa,_0x99e7xb){return List[_0x9b60[23]](_0x99e7xa[_0x9b60[28]][_0x9b60[16]])[_0x9b60[15]](function(_0x99e7x19){if(!_0x99e7x19){return _0x99e7xb[_0x9b60[34]](404)};return _0x99e7x19[_0x9b60[56]]({where:{role:_0x9b60[24]},attributes:[_0x9b60[16],_0x9b60[41],_0x9b60[54],_0x9b60[55]]})})[_0x9b60[15]](function(_0x99e7x1a){return _0x99e7xb[_0x9b60[14]](200)[_0x9b60[13]]({rows:_0x99e7x1a,count:_0x99e7x1a[_0x9b60[53]]})})[_0x9b60[12]](function(_0x99e7xd){return handleError(_0x99e7xb,_0x99e7xd)})};exports[_0x9b60[57]]=function(_0x99e7xa,_0x99e7xb,_0x99e7xc){return User[_0x9b60[60]]({where:{id:_0x99e7xa[_0x9b60[36]][_0x9b60[59]]}})[_0x9b60[15]](function(_0x99e7x1b){var _0x99e7x1c=_[_0x9b60[17]](_0x99e7x1b,function(_0x99e7x1d){return {list:_0x99e7xa[_0x9b60[28]][_0x9b60[16]],membername:_0x99e7x1d[_0x9b60[41]],UserId:_0x99e7x1d[_0x9b60[16]]}});return UserHasList[_0x9b60[58]](_0x99e7x1c,{individualHooks:true})})[_0x9b60[15]](function(){return _0x99e7xb[_0x9b60[34]](200)})[_0x9b60[12]](function(_0x99e7xd){console[_0x9b60[27]](_0x99e7xd);return _0x99e7xc(_0x99e7xd)})};exports[_0x9b60[61]]=function(_0x99e7xa,_0x99e7xb,_0x99e7xc){return UserHasList[_0x9b60[62]]({where:{UserId:_0x99e7xa[_0x9b60[18]][_0x9b60[59]],list:_0x99e7xa[_0x9b60[28]][_0x9b60[16]]},individualHooks:true})[_0x9b60[15]](function(){return _0x99e7xb[_0x9b60[34]](202)})[_0x9b60[12]](function(_0x99e7xd){return _0x99e7xc(_0x99e7xd)})};exports[_0x9b60[62]]=function(_0x99e7xa,_0x99e7xb){return destroyList(_0x99e7xa[_0x9b60[28]][_0x9b60[16]],_0x99e7xb)};exports[_0x9b60[63]]=function(_0x99e7xa,_0x99e7xb){return destroyList(_0x99e7xa[_0x9b60[18]][_0x9b60[16]],_0x99e7xb)};function destroyList(_0x99e7x1f,_0x99e7xb){return delCf(_0x99e7x1f,_0x99e7xb)[_0x9b60[64]]()[_0x9b60[15]](function(){return List[_0x9b60[62]]({where:{id:_0x99e7x1f},individualHooks:true})})[_0x9b60[15]](function(){return _0x99e7xb[_0x9b60[34]](204)})[_0x9b60[12]](function(_0x99e7xd){console[_0x9b60[27]](_0x99e7xd);return handleError(_0x99e7xb,_0x99e7xd)})}function delCf(_0x99e7x1f,_0x99e7xb){var _0x99e7x21;return CustomField[_0x9b60[60]]({where:{ListId:_0x99e7x1f}})[_0x9b60[15]](function(_0x99e7x26){if(!_0x99e7x26){return _0x99e7xb[_0x9b60[34]](404)};_0x99e7x21=_0x99e7x26;return CustomField[_0x9b60[62]]({where:{id:_0x99e7x1f}})})[_0x9b60[15]](function(){return Contact[_0x9b60[70]]()})[_0x9b60[15]](function(_0x99e7x25){return _[_0x9b60[69]](_0x99e7x25)})[_0x9b60[15]](function(_0x99e7x22){var _0x99e7x23=[];_[_0x9b60[68]](_0x99e7x21,function(_0x99e7x24){if(_[_0x9b60[65]](_0x99e7x22,_0x99e7x24[_0x9b60[41]])){_0x99e7x23[_0x9b60[67]](sequelize[_0x9b60[18]](util[_0x9b60[42]](_0x9b60[66],_0x99e7x24[_0x9b60[41]])))}});return _0x99e7x23})}exports[_0x9b60[71]]=function(_0x99e7xa,_0x99e7xb){var _0x99e7x27;return CustomField[_0x9b60[23]](_0x99e7xa[_0x9b60[28]][_0x9b60[16]])[_0x9b60[15]](function(_0x99e7x28){if(!_0x99e7x28){return _0x99e7xb[_0x9b60[34]](404)};_0x99e7x27=_0x99e7x28;return CustomField[_0x9b60[62]]({where:{id:_0x99e7xa[_0x9b60[28]][_0x9b60[16]]}})})[_0x9b60[15]](function(){return Contact[_0x9b60[70]]()})[_0x9b60[15]](function(_0x99e7x25){return _[_0x9b60[69]](_0x99e7x25)})[_0x9b60[15]](function(_0x99e7x22){if(_[_0x9b60[65]](_0x99e7x22,_0x99e7x27[_0x9b60[41]])){return sequelize[_0x9b60[18]](util[_0x9b60[42]](_0x9b60[66],_0x99e7x27[_0x9b60[41]]))}})[_0x9b60[15]](function(){return _0x99e7xb[_0x9b60[34]](204)})[_0x9b60[12]](function(_0x99e7xd){return handleError(_0x99e7xb,_0x99e7xd)})};exports[_0x9b60[72]]=function(_0x99e7xa,_0x99e7xb){var _0x99e7x21;return CustomField[_0x9b60[60]]({where:{id:_0x99e7xa[_0x9b60[18]][_0x9b60[73]]}})[_0x9b60[15]](function(_0x99e7x26){if(!_0x99e7x26){return _0x99e7xb[_0x9b60[34]](404)};_0x99e7x21=_0x99e7x26;return CustomField[_0x9b60[62]]({where:{id:_0x99e7xa[_0x9b60[18]][_0x9b60[73]]}})})[_0x9b60[15]](function(){return Contact[_0x9b60[70]]()})[_0x9b60[15]](function(_0x99e7x25){return _[_0x9b60[69]](_0x99e7x25)})[_0x9b60[15]](function(_0x99e7x22){var _0x99e7x23=[];_0x99e7x21[_0x9b60[68]](function(_0x99e7x24){if(_[_0x9b60[65]](_0x99e7x22,_0x99e7x24[_0x9b60[41]])){_0x99e7x23[_0x9b60[67]](sequelize[_0x9b60[18]](util[_0x9b60[42]](_0x9b60[66],_0x99e7x24[_0x9b60[41]])))}});return _0x99e7x23})[_0x9b60[64]]()[_0x9b60[15]](function(){return _0x99e7xb[_0x9b60[34]](204)})[_0x9b60[12]](function(_0x99e7xd){return handleError(_0x99e7xb,_0x99e7xd)})};function handleError(_0x99e7xb,_0x99e7xd){return _0x99e7xb[_0x9b60[14]](500)[_0x9b60[13]](_0x99e7xd)} \ No newline at end of file diff --git a/server/api/list/list.socket.js b/server/api/list/list.socket.js index 465ea67..4d4e97b 100644 --- a/server/api/list/list.socket.js +++ b/server/api/list/list.socket.js @@ -1 +1 @@ -var _0xac5e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4C\x69\x73\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x69\x73\x74","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x6C\x6F\x67","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x75\x73\x74\x6F\x6D\x5F\x66\x69\x65\x6C\x64","\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x3A\x72\x65\x6D\x6F\x76\x65"];_0xac5e[0];var List=require(_0xac5e[2])[_0xac5e[1]];var CustomField=require(_0xac5e[2])[_0xac5e[3]];exports[_0xac5e[4]]=function(_0x83dfx3){List[_0xac5e[6]](function(_0x83dfx4){onSave(_0x83dfx3,_0x83dfx4,_0xac5e[5])});List[_0xac5e[9]](function(_0x83dfx4){console[_0xac5e[8]](_0xac5e[7]);onRemove(_0x83dfx3,_0x83dfx4,_0xac5e[5])});CustomField[_0xac5e[6]](function(_0x83dfx4){onSave(_0x83dfx3,_0x83dfx4,_0xac5e[10])});CustomField[_0xac5e[9]](function(_0x83dfx4){onRemove(_0x83dfx3,_0x83dfx4,_0xac5e[10])})};function onSave(_0x83dfx3,_0x83dfx4,_0x83dfx6,_0x83dfx7){_0x83dfx3[_0xac5e[12]](_0x83dfx6+_0xac5e[11],_0x83dfx4)}function onRemove(_0x83dfx3,_0x83dfx4,_0x83dfx6,_0x83dfx7){console[_0xac5e[8]](_0x83dfx6);_0x83dfx3[_0xac5e[12]](_0x83dfx6+_0xac5e[13],_0x83dfx4)} \ No newline at end of file +var _0x28c8=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4C\x69\x73\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x69\x73\x74","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x6C\x6F\x67","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x75\x73\x74\x6F\x6D\x5F\x66\x69\x65\x6C\x64","\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x3A\x72\x65\x6D\x6F\x76\x65"];_0x28c8[0];var List=require(_0x28c8[2])[_0x28c8[1]];var CustomField=require(_0x28c8[2])[_0x28c8[3]];exports[_0x28c8[4]]=function(_0x7624x3){List[_0x28c8[6]](function(_0x7624x4){onSave(_0x7624x3,_0x7624x4,_0x28c8[5])});List[_0x28c8[9]](function(_0x7624x4){console[_0x28c8[8]](_0x28c8[7]);onRemove(_0x7624x3,_0x7624x4,_0x28c8[5])});CustomField[_0x28c8[6]](function(_0x7624x4){onSave(_0x7624x3,_0x7624x4,_0x28c8[10])});CustomField[_0x28c8[9]](function(_0x7624x4){onRemove(_0x7624x3,_0x7624x4,_0x28c8[10])})};function onSave(_0x7624x3,_0x7624x4,_0x7624x6,_0x7624x7){_0x7624x3[_0x28c8[12]](_0x7624x6+_0x28c8[11],_0x7624x4)}function onRemove(_0x7624x3,_0x7624x4,_0x7624x6,_0x7624x7){console[_0x28c8[8]](_0x7624x6);_0x7624x3[_0x28c8[12]](_0x7624x6+_0x28c8[13],_0x7624x4)} \ No newline at end of file diff --git a/server/api/mail_account/index.js b/server/api/mail_account/index.js index 9a84973..8cccd55 100644 --- a/server/api/mail_account/index.js +++ b/server/api/mail_account/index.js @@ -1 +1 @@ -var _0x4cb0=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x61\x69\x6C\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x4D\x61\x69\x6C","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x73\x68\x6F\x77\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x72\x6F\x6F\x6D\x73","\x67\x65\x74\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x73","\x2F\x3A\x69\x64\x2F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x67\x65\x74\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x63\x72\x65\x61\x74\x65\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x75\x70\x64\x61\x74\x65\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73\x2F\x3A\x64\x69\x73\x70\x49\x64","\x75\x70\x64\x61\x74\x65\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x61\x70\x70\x49\x64","\x64\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x64\x65\x73\x74\x72\x6F\x79\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x65\x78\x70\x6F\x72\x74\x73"];_0x4cb0[0];var express=require(_0x4cb0[1]);var controller=require(_0x4cb0[2]);var auth=require(_0x4cb0[3]);var license=require(_0x4cb0[4]);var router=express.Router();router[_0x4cb0[13]](_0x4cb0[5],license[_0x4cb0[6]](),license[_0x4cb0[7]](),auth[_0x4cb0[8]](),auth[_0x4cb0[11]]([9],[_0x4cb0[9],_0x4cb0[10]]),controller[_0x4cb0[12]]);router[_0x4cb0[13]](_0x4cb0[14],license[_0x4cb0[6]](),license[_0x4cb0[7]](),auth[_0x4cb0[8]](),auth[_0x4cb0[11]]([9],[_0x4cb0[9],_0x4cb0[10]]),controller[_0x4cb0[15]]);router[_0x4cb0[13]](_0x4cb0[16],license[_0x4cb0[6]](),license[_0x4cb0[7]](),auth[_0x4cb0[8]](),auth[_0x4cb0[11]]([9],[_0x4cb0[9]]),controller[_0x4cb0[17]]);router[_0x4cb0[13]](_0x4cb0[18],license[_0x4cb0[6]](),license[_0x4cb0[7]](),auth[_0x4cb0[8]](),auth[_0x4cb0[11]]([9],[_0x4cb0[9],_0x4cb0[10]]),controller[_0x4cb0[19]]);router[_0x4cb0[13]](_0x4cb0[20],license[_0x4cb0[6]](),license[_0x4cb0[7]](),auth[_0x4cb0[8]](),auth[_0x4cb0[11]]([9],[_0x4cb0[9],_0x4cb0[10]]),controller[_0x4cb0[21]]);router[_0x4cb0[23]](_0x4cb0[5],license[_0x4cb0[6]](),license[_0x4cb0[7]](),auth[_0x4cb0[8]](),auth[_0x4cb0[11]]([9],[_0x4cb0[9]]),controller[_0x4cb0[22]]);router[_0x4cb0[23]](_0x4cb0[20],license[_0x4cb0[6]](),license[_0x4cb0[7]](),auth[_0x4cb0[8]](),auth[_0x4cb0[11]]([9],[_0x4cb0[9]]),controller[_0x4cb0[24]]);router[_0x4cb0[26]](_0x4cb0[14],license[_0x4cb0[6]](),license[_0x4cb0[7]](),auth[_0x4cb0[8]](),auth[_0x4cb0[11]]([9],[_0x4cb0[9]]),controller[_0x4cb0[25]]);router[_0x4cb0[26]](_0x4cb0[16],license[_0x4cb0[6]](),license[_0x4cb0[7]](),auth[_0x4cb0[8]](),auth[_0x4cb0[11]]([9],[_0x4cb0[9]]),controller[_0x4cb0[27]]);router[_0x4cb0[26]](_0x4cb0[28],license[_0x4cb0[6]](),license[_0x4cb0[7]](),auth[_0x4cb0[8]](),auth[_0x4cb0[11]]([9],[_0x4cb0[9]]),controller[_0x4cb0[29]]);router[_0x4cb0[31]](_0x4cb0[5],license[_0x4cb0[6]](),license[_0x4cb0[7]](),auth[_0x4cb0[8]](),auth[_0x4cb0[11]]([9],[_0x4cb0[9]]),controller[_0x4cb0[30]]);router[_0x4cb0[31]](_0x4cb0[14],license[_0x4cb0[6]](),license[_0x4cb0[7]](),auth[_0x4cb0[8]](),auth[_0x4cb0[11]]([9],[_0x4cb0[9]]),controller[_0x4cb0[32]]);router[_0x4cb0[31]](_0x4cb0[16],license[_0x4cb0[6]](),license[_0x4cb0[7]](),auth[_0x4cb0[8]](),auth[_0x4cb0[11]]([9],[_0x4cb0[9]]),controller[_0x4cb0[33]]);router[_0x4cb0[31]](_0x4cb0[34],license[_0x4cb0[6]](),license[_0x4cb0[7]](),auth[_0x4cb0[8]](),auth[_0x4cb0[11]]([9],[_0x4cb0[9]]),controller[_0x4cb0[35]]);router[_0x4cb0[31]](_0x4cb0[28],license[_0x4cb0[6]](),license[_0x4cb0[7]](),auth[_0x4cb0[8]](),auth[_0x4cb0[11]]([9],[_0x4cb0[9]]),controller[_0x4cb0[36]]);module[_0x4cb0[37]]=router \ No newline at end of file +var _0x5fdd=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x61\x69\x6C\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x4D\x61\x69\x6C","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x73\x68\x6F\x77\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x72\x6F\x6F\x6D\x73","\x67\x65\x74\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x73","\x2F\x3A\x69\x64\x2F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x67\x65\x74\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x63\x72\x65\x61\x74\x65\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x75\x70\x64\x61\x74\x65\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73\x2F\x3A\x64\x69\x73\x70\x49\x64","\x75\x70\x64\x61\x74\x65\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x61\x70\x70\x49\x64","\x64\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x64\x65\x73\x74\x72\x6F\x79\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x65\x78\x70\x6F\x72\x74\x73"];_0x5fdd[0];var express=require(_0x5fdd[1]);var controller=require(_0x5fdd[2]);var auth=require(_0x5fdd[3]);var license=require(_0x5fdd[4]);var router=express.Router();router[_0x5fdd[13]](_0x5fdd[5],license[_0x5fdd[6]](),license[_0x5fdd[7]](),auth[_0x5fdd[8]](),auth[_0x5fdd[11]]([9],[_0x5fdd[9],_0x5fdd[10]]),controller[_0x5fdd[12]]);router[_0x5fdd[13]](_0x5fdd[14],license[_0x5fdd[6]](),license[_0x5fdd[7]](),auth[_0x5fdd[8]](),auth[_0x5fdd[11]]([9],[_0x5fdd[9],_0x5fdd[10]]),controller[_0x5fdd[15]]);router[_0x5fdd[13]](_0x5fdd[16],license[_0x5fdd[6]](),license[_0x5fdd[7]](),auth[_0x5fdd[8]](),auth[_0x5fdd[11]]([9],[_0x5fdd[9]]),controller[_0x5fdd[17]]);router[_0x5fdd[13]](_0x5fdd[18],license[_0x5fdd[6]](),license[_0x5fdd[7]](),auth[_0x5fdd[8]](),auth[_0x5fdd[11]]([9],[_0x5fdd[9],_0x5fdd[10]]),controller[_0x5fdd[19]]);router[_0x5fdd[13]](_0x5fdd[20],license[_0x5fdd[6]](),license[_0x5fdd[7]](),auth[_0x5fdd[8]](),auth[_0x5fdd[11]]([9],[_0x5fdd[9],_0x5fdd[10]]),controller[_0x5fdd[21]]);router[_0x5fdd[23]](_0x5fdd[5],license[_0x5fdd[6]](),license[_0x5fdd[7]](),auth[_0x5fdd[8]](),auth[_0x5fdd[11]]([9],[_0x5fdd[9]]),controller[_0x5fdd[22]]);router[_0x5fdd[23]](_0x5fdd[20],license[_0x5fdd[6]](),license[_0x5fdd[7]](),auth[_0x5fdd[8]](),auth[_0x5fdd[11]]([9],[_0x5fdd[9]]),controller[_0x5fdd[24]]);router[_0x5fdd[26]](_0x5fdd[14],license[_0x5fdd[6]](),license[_0x5fdd[7]](),auth[_0x5fdd[8]](),auth[_0x5fdd[11]]([9],[_0x5fdd[9]]),controller[_0x5fdd[25]]);router[_0x5fdd[26]](_0x5fdd[16],license[_0x5fdd[6]](),license[_0x5fdd[7]](),auth[_0x5fdd[8]](),auth[_0x5fdd[11]]([9],[_0x5fdd[9]]),controller[_0x5fdd[27]]);router[_0x5fdd[26]](_0x5fdd[28],license[_0x5fdd[6]](),license[_0x5fdd[7]](),auth[_0x5fdd[8]](),auth[_0x5fdd[11]]([9],[_0x5fdd[9]]),controller[_0x5fdd[29]]);router[_0x5fdd[31]](_0x5fdd[5],license[_0x5fdd[6]](),license[_0x5fdd[7]](),auth[_0x5fdd[8]](),auth[_0x5fdd[11]]([9],[_0x5fdd[9]]),controller[_0x5fdd[30]]);router[_0x5fdd[31]](_0x5fdd[14],license[_0x5fdd[6]](),license[_0x5fdd[7]](),auth[_0x5fdd[8]](),auth[_0x5fdd[11]]([9],[_0x5fdd[9]]),controller[_0x5fdd[32]]);router[_0x5fdd[31]](_0x5fdd[16],license[_0x5fdd[6]](),license[_0x5fdd[7]](),auth[_0x5fdd[8]](),auth[_0x5fdd[11]]([9],[_0x5fdd[9]]),controller[_0x5fdd[33]]);router[_0x5fdd[31]](_0x5fdd[34],license[_0x5fdd[6]](),license[_0x5fdd[7]](),auth[_0x5fdd[8]](),auth[_0x5fdd[11]]([9],[_0x5fdd[9]]),controller[_0x5fdd[35]]);router[_0x5fdd[31]](_0x5fdd[28],license[_0x5fdd[6]](),license[_0x5fdd[7]](),auth[_0x5fdd[8]](),auth[_0x5fdd[11]]([9],[_0x5fdd[9]]),controller[_0x5fdd[36]]);module[_0x5fdd[37]]=router \ No newline at end of file diff --git a/server/api/mail_account/mail_account.controller.js b/server/api/mail_account/mail_account.controller.js index 717f19c..4dacfaf 100644 --- a/server/api/mail_account/mail_account.controller.js +++ b/server/api/mail_account/mail_account.controller.js @@ -1 +1 @@ -var _0x80c3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x61\x73\x79\x6E\x63","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x49\x6E","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x4F\x75\x74","\x4D\x61\x69\x6C\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x4D\x61\x69\x6C\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x66\x61\x75\x6C\x74","\x73\x63\x6F\x70\x65","\x67\x65\x74\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x73\x75\x62\x6A\x65\x63\x74","\x66\x72\x6F\x6D","\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x6C\x61\x73\x74\x45\x76\x65\x6E\x74","\x75\x70\x64\x61\x74\x65\x64\x41\x74","\x74\x61\x67\x73","\x69\x73\x41\x72\x72\x61\x79","\x6C\x65\x6E\x67\x74\x68","\x25","\x3B\x25","\x70\x75\x73\x68","\x24\x61\x6E\x64","\x77\x68\x65\x72\x65","\x6D\x65\x72\x67\x65","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x69\x6E\x63\x6C\x75\x64\x65","\x75\x73\x65\x72","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65","\x65\x72\x72\x6F\x72","\x66\x69\x6E\x64\x41\x6C\x6C","\x67\x65\x74\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x67\x65\x74\x4D\x61\x69\x6C\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x73\x68\x6F\x77","\x73\x68\x6F\x77\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x6E\x61\x6D\x65","\x6F\x6E\x6C\x69\x6E\x65","\x67\x65\x74\x4D\x61\x69\x6C\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x63\x72\x65\x61\x74\x65","\x68\x61\x6E\x64\x6C\x65\x55\x6E\x69\x71\x75\x65\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x45\x72\x72\x6F\x72","\x65\x72\x72\x6F\x72\x4D\x61\x6E\x61\x67\x65\x72","\x62\x6F\x64\x79","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x63\x72\x65\x61\x74\x65\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x75\x70\x64\x61\x74\x65","\x73\x61\x76\x65","\x75\x70\x64\x61\x74\x65\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x64\x69\x73\x70\x49\x64","\x75\x70\x64\x61\x74\x65\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x70\x72\x69\x6F\x72\x69\x74\x79","\x66\x6F\x72\x45\x61\x63\x68","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x61\x70\x70\x49\x64","\x64\x65\x73\x74\x72\x6F\x79\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73"];_0x80c3[0];var _=require(_0x80c3[1]);var util=require(_0x80c3[2]);var async=require(_0x80c3[3]);var Util=require(_0x80c3[4]);var sequelize=require(_0x80c3[6])[_0x80c3[5]];var User=require(_0x80c3[6])[_0x80c3[7]];var MailQueue=require(_0x80c3[6])[_0x80c3[8]];var MailRoom=require(_0x80c3[6])[_0x80c3[9]];var MailAccount=require(_0x80c3[6])[_0x80c3[10]];var MailServerIn=require(_0x80c3[6])[_0x80c3[11]];var MailServerOut=require(_0x80c3[6])[_0x80c3[12]];var MailApplication=require(_0x80c3[6])[_0x80c3[13]];var MailDisposition=require(_0x80c3[6])[_0x80c3[14]];exports[_0x80c3[15]]=function(_0x980exe,_0x980exf){return MailAccount[_0x80c3[24]](_0x80c3[23])[_0x80c3[22]](Util[_0x80c3[21]](_0x980exe[_0x80c3[20]]))[_0x80c3[19]](function(_0x980ex11){_0x980exf[_0x80c3[18]](200)[_0x80c3[17]](_0x980ex11)})[_0x80c3[16]](function(_0x980ex10){return handleError(_0x980exf,_0x980ex10)})};exports[_0x80c3[25]]=function(_0x980exe,_0x980exf,_0x980ex12){var _0x980ex13={where:{MailAccountId:_0x980exe[_0x80c3[27]][_0x80c3[26]],$and:[]},attributes:[_0x80c3[26],_0x80c3[28],_0x80c3[29],_0x80c3[30],_0x80c3[31],_0x80c3[32]]};if(_0x980exe[_0x80c3[20]]){if(_0x980exe[_0x80c3[20]][_0x80c3[33]]){if(_[_0x80c3[34]](_0x980exe[_0x80c3[20]][_0x80c3[33]])){for(var _0x980ex14=0;_0x980ex14<_0x980exe[_0x80c3[20]][_0x80c3[33]][_0x80c3[35]];_0x980ex14++){_0x980ex13[_0x80c3[40]][_0x80c3[39]][_0x80c3[38]]({tags:{$like:_0x80c3[36]+_0x980exe[_0x80c3[20]][_0x80c3[33]][_0x980ex14]+_0x80c3[37]}})}}else {_0x980ex13[_0x80c3[40]][_0x80c3[39]][_0x80c3[38]]({tags:{$like:_0x80c3[36]+_0x980exe[_0x80c3[20]][_0x80c3[33]]+_0x80c3[37]}})};delete _0x980exe[_0x80c3[20]][_0x80c3[33]]};_[_0x80c3[41]](_0x980ex13[_0x80c3[40]],_0x980exe[_0x80c3[20]])};switch(_0x980exe[_0x80c3[44]][_0x80c3[46]]){case _0x80c3[45]:if(_0x980exe[_0x80c3[20]][_0x80c3[18]]&&_0x980exe[_0x80c3[20]][_0x80c3[18]]!==_0x80c3[42]){_0x980ex13[_0x80c3[43]]=[{model:User,where:{id:_0x980exe[_0x80c3[44]][_0x80c3[26]]}}]};break;default:};return MailRoom[_0x80c3[48]](_0x980ex13)[_0x80c3[19]](function(_0x980ex15){return _0x980exf[_0x80c3[18]](200)[_0x80c3[17]](_0x980ex15)})[_0x80c3[16]](function(_0x980ex10){console[_0x80c3[47]](_0x980ex10);return handleError(_0x980exf,_0x980ex10)})};exports[_0x80c3[49]]=function(_0x980exe,_0x980exf,_0x980ex12){return MailAccount[_0x80c3[52]](_0x980exe[_0x80c3[27]][_0x80c3[26]])[_0x80c3[19]](function(_0x980ex17){if(!_0x980ex17){return _0x980exf[_0x80c3[50]](404)};return _0x980ex17[_0x80c3[51]]()})[_0x80c3[19]](function(_0x980ex16){return _0x980exf[_0x80c3[18]](200)[_0x80c3[17]]({rows:_0x980ex16,count:_0x980ex16[_0x80c3[35]]})})[_0x80c3[16]](function(_0x980ex10){return handleError(_0x980exf,_0x980ex10)})};exports[_0x80c3[53]]=function(_0x980exe,_0x980exf,_0x980ex12){return MailAccount[_0x80c3[24]](_0x80c3[23])[_0x80c3[52]](_0x980exe[_0x80c3[27]][_0x80c3[26]])[_0x80c3[19]](function(_0x980ex17){if(!_0x980ex17){return _0x980exf[_0x80c3[50]](404)};return _0x980exf[_0x80c3[17]](_0x980ex17)})[_0x80c3[16]](function(_0x980ex10){return handleError(_0x980exf,_0x980ex10)})};exports[_0x80c3[54]]=function(_0x980exe,_0x980exf,_0x980ex12){return MailAccount[_0x80c3[24]](_0x80c3[23])[_0x80c3[52]](_0x980exe[_0x80c3[27]][_0x80c3[26]])[_0x80c3[19]](function(_0x980ex17){if(!_0x980ex17){return _0x980exf[_0x80c3[50]](404)};return _0x980ex17[_0x80c3[57]](_[_0x80c3[41]](Util[_0x80c3[21]](_0x980exe[_0x80c3[20]]),{include:[{model:MailQueue,attributes:[_0x80c3[26],_0x80c3[55]]},{model:User,attributes:[_0x80c3[26],_0x80c3[55],_0x80c3[56]]}]}))})[_0x80c3[19]](function(_0x980ex18){return _0x980exf[_0x80c3[17]]({count:_0x980ex18[_0x80c3[35]],rows:_0x980ex18})})[_0x80c3[16]](function(_0x980ex10){return handleError(_0x980exf,_0x980ex10)})};exports[_0x80c3[58]]=function(_0x980exe,_0x980exf,_0x980ex12){return sequelize[_0x80c3[62]](function(_0x980ex19){return MailAccount[_0x80c3[58]](_0x980exe[_0x80c3[61]],{include:[{model:MailServerIn},{model:MailServerOut}],transaction:_0x980ex19})})[_0x80c3[19]](function(_0x980ex17){return _0x980exf[_0x80c3[18]](201)[_0x80c3[17]](_0x980ex17)})[_0x80c3[16]](sequelize.UniqueConstraintError,function(_0x980ex10){return Util[_0x80c3[60]][_0x80c3[59]](_0x980exf,_0x980ex10)})[_0x80c3[16]](function(_0x980ex10){return handleError(_0x980exf,_0x980ex10)})};exports[_0x80c3[63]]=function(_0x980exe,_0x980exf,_0x980ex12){_0x980exe[_0x80c3[61]][_0x80c3[64]]=_0x980exe[_0x80c3[27]][_0x80c3[26]];return MailDisposition[_0x80c3[58]](_0x980exe[_0x80c3[61]])[_0x80c3[19]](function(_0x980ex1a){return _0x980exf[_0x80c3[18]](201)[_0x80c3[17]](_0x980ex1a)})[_0x80c3[16]](function(_0x980ex10){return handleError(_0x980exf,_0x980ex10)})};exports[_0x80c3[65]]=function(_0x980exe,_0x980exf){if(_0x980exe[_0x80c3[61]][_0x80c3[26]]){delete _0x980exe[_0x80c3[61]][_0x80c3[26]]};return MailAccount[_0x80c3[52]](_0x980exe[_0x80c3[27]][_0x80c3[26]])[_0x80c3[19]](function(_0x980ex17){if(!_0x980ex17){return _0x980exf[_0x80c3[50]](404)};var _0x980ex1b=_[_0x80c3[41]](_0x980ex17,_0x980exe[_0x80c3[61]]);return _0x980ex1b[_0x80c3[66]]()})[_0x80c3[19]](function(_0x980ex17){return _0x980exf[_0x80c3[18]](200)[_0x80c3[17]](_0x980ex17)})[_0x80c3[16]](sequelize.UniqueConstraintError,function(_0x980ex10){return Util[_0x80c3[60]][_0x80c3[59]](_0x980exf,_0x980ex10)})[_0x80c3[16]](function(_0x980ex10){return handleError(_0x980exf,_0x980ex10)})};exports[_0x80c3[67]]=function(_0x980exe,_0x980exf){if(_0x980exe[_0x80c3[61]][_0x80c3[26]]){delete _0x980exe[_0x80c3[61]][_0x80c3[26]]};return MailDisposition[_0x80c3[52]](_0x980exe[_0x80c3[27]][_0x80c3[68]])[_0x80c3[19]](function(_0x980ex1c){if(!_0x980ex1c){return _0x980exf[_0x80c3[50]](404)};var _0x980ex1b=_[_0x80c3[41]](_0x980ex1c,_0x980exe[_0x80c3[61]]);return _0x980ex1b[_0x80c3[66]]()})[_0x80c3[19]](function(_0x980ex17){return _0x980exf[_0x80c3[18]](200)[_0x80c3[17]](_0x980ex17)})[_0x80c3[16]](function(_0x980ex10){return handleError(_0x980exf,_0x980ex10)})};exports[_0x80c3[69]]=function(_0x980exe,_0x980exf){var _0x980ex1d=0;var _0x980ex1e=_0x980exe[_0x80c3[61]];_0x980ex1e[_0x80c3[72]](function(_0x980ex1f){delete _0x980ex1f[_0x80c3[26]];delete _0x980ex1f[_0x80c3[70]];delete _0x980ex1f[_0x80c3[32]];_0x980ex1f[_0x80c3[71]]= ++_0x980ex1d});return sequelize[_0x80c3[62]](function(_0x980ex19){return MailApplication[_0x80c3[74]]({where:{MailAccountId:_0x980exe[_0x80c3[27]][_0x80c3[26]]},individualHooks:true,transaction:_0x980ex19})[_0x80c3[19]](function(_0x980ex21){return MailApplication[_0x80c3[73]](_0x980ex1e,{individualHooks:true,transaction:_0x980ex19})})})[_0x80c3[19]](function(_0x980ex20){return _0x980exf[_0x80c3[18]](200)[_0x80c3[17]]({count:_0x980ex20[_0x80c3[35]],rows:_0x980ex20})})[_0x80c3[16]](function(_0x980ex10){return handleError(_0x980exf,_0x980ex10)})};exports[_0x80c3[74]]=function(_0x980exe,_0x980exf,_0x980ex12){return MailAccount[_0x80c3[52]](_0x980exe[_0x80c3[27]][_0x80c3[26]])[_0x80c3[19]](function(_0x980ex17){if(!_0x980ex17){return _0x980exf[_0x80c3[50]](404)};return _0x980ex17[_0x80c3[74]]()})[_0x80c3[19]](function(){return _0x980exf[_0x80c3[50]](204)})[_0x80c3[16]](function(_0x980ex10){return handleError(_0x980exf,_0x980ex10)})};exports[_0x80c3[75]]=function(_0x980exe,_0x980exf,_0x980ex12){return MailApplication[_0x80c3[52]](_0x980exe[_0x80c3[27]][_0x80c3[76]])[_0x80c3[19]](function(_0x980ex21){if(!_0x980ex21){return _0x980exf[_0x80c3[50]](404)};return _0x980ex21[_0x80c3[74]]()})[_0x80c3[19]](function(){return _0x980exf[_0x80c3[50]](204)})[_0x80c3[16]](function(_0x980ex10){return handleError(_0x980exf,_0x980ex10)})};exports[_0x80c3[77]]=function(_0x980exe,_0x980exf,_0x980ex12){return MailDisposition[_0x80c3[52]](_0x980exe[_0x80c3[27]][_0x80c3[68]])[_0x80c3[19]](function(_0x980ex1a){if(!_0x980ex1a){return _0x980exf[_0x80c3[50]](404)};return _0x980ex1a[_0x80c3[74]]()})[_0x80c3[19]](function(){return _0x980exf[_0x80c3[50]](204)})[_0x80c3[16]](function(_0x980ex10){return handleError(_0x980exf,_0x980ex10)})};exports[_0x80c3[78]]=function(_0x980exe,_0x980exf){return MailAccount[_0x80c3[74]]({where:{id:_0x980exe[_0x80c3[20]][_0x80c3[79]]},individualHooks:true})[_0x80c3[19]](function(){return _0x980exf[_0x80c3[50]](204)})[_0x80c3[16]](function(_0x980ex10){return handleError(_0x980exf,_0x980ex10)})};exports[_0x80c3[80]]=function(_0x980exe,_0x980exf){return MailApplication[_0x80c3[74]]({where:{id:_0x980exe[_0x80c3[20]][_0x80c3[79]]},individualHooks:true})[_0x80c3[19]](function(){return _0x980exf[_0x80c3[50]](204)})[_0x80c3[16]](function(_0x980ex10){return handleError(_0x980exf,_0x980ex10)})};function handleError(_0x980exf,_0x980ex10){return _0x980exf[_0x80c3[18]](500)[_0x80c3[17]](_0x980ex10)} \ No newline at end of file +var _0x1172=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x61\x73\x79\x6E\x63","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x49\x6E","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x4F\x75\x74","\x4D\x61\x69\x6C\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x4D\x61\x69\x6C\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x66\x61\x75\x6C\x74","\x73\x63\x6F\x70\x65","\x67\x65\x74\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x73\x75\x62\x6A\x65\x63\x74","\x66\x72\x6F\x6D","\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x6C\x61\x73\x74\x45\x76\x65\x6E\x74","\x75\x70\x64\x61\x74\x65\x64\x41\x74","\x74\x61\x67\x73","\x69\x73\x41\x72\x72\x61\x79","\x6C\x65\x6E\x67\x74\x68","\x25","\x3B\x25","\x70\x75\x73\x68","\x24\x61\x6E\x64","\x77\x68\x65\x72\x65","\x6D\x65\x72\x67\x65","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x69\x6E\x63\x6C\x75\x64\x65","\x75\x73\x65\x72","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65","\x65\x72\x72\x6F\x72","\x66\x69\x6E\x64\x41\x6C\x6C","\x67\x65\x74\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x67\x65\x74\x4D\x61\x69\x6C\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x73\x68\x6F\x77","\x73\x68\x6F\x77\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x6E\x61\x6D\x65","\x6F\x6E\x6C\x69\x6E\x65","\x67\x65\x74\x4D\x61\x69\x6C\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x63\x72\x65\x61\x74\x65","\x68\x61\x6E\x64\x6C\x65\x55\x6E\x69\x71\x75\x65\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x45\x72\x72\x6F\x72","\x65\x72\x72\x6F\x72\x4D\x61\x6E\x61\x67\x65\x72","\x62\x6F\x64\x79","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x63\x72\x65\x61\x74\x65\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x75\x70\x64\x61\x74\x65","\x73\x61\x76\x65","\x75\x70\x64\x61\x74\x65\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x64\x69\x73\x70\x49\x64","\x75\x70\x64\x61\x74\x65\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x70\x72\x69\x6F\x72\x69\x74\x79","\x66\x6F\x72\x45\x61\x63\x68","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x61\x70\x70\x49\x64","\x64\x65\x73\x74\x72\x6F\x79\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73"];_0x1172[0];var _=require(_0x1172[1]);var util=require(_0x1172[2]);var async=require(_0x1172[3]);var Util=require(_0x1172[4]);var sequelize=require(_0x1172[6])[_0x1172[5]];var User=require(_0x1172[6])[_0x1172[7]];var MailQueue=require(_0x1172[6])[_0x1172[8]];var MailRoom=require(_0x1172[6])[_0x1172[9]];var MailAccount=require(_0x1172[6])[_0x1172[10]];var MailServerIn=require(_0x1172[6])[_0x1172[11]];var MailServerOut=require(_0x1172[6])[_0x1172[12]];var MailApplication=require(_0x1172[6])[_0x1172[13]];var MailDisposition=require(_0x1172[6])[_0x1172[14]];exports[_0x1172[15]]=function(_0xf542xe,_0xf542xf){return MailAccount[_0x1172[24]](_0x1172[23])[_0x1172[22]](Util[_0x1172[21]](_0xf542xe[_0x1172[20]]))[_0x1172[19]](function(_0xf542x11){_0xf542xf[_0x1172[18]](200)[_0x1172[17]](_0xf542x11)})[_0x1172[16]](function(_0xf542x10){return handleError(_0xf542xf,_0xf542x10)})};exports[_0x1172[25]]=function(_0xf542xe,_0xf542xf,_0xf542x12){var _0xf542x13={where:{MailAccountId:_0xf542xe[_0x1172[27]][_0x1172[26]],$and:[]},attributes:[_0x1172[26],_0x1172[28],_0x1172[29],_0x1172[30],_0x1172[31],_0x1172[32]]};if(_0xf542xe[_0x1172[20]]){if(_0xf542xe[_0x1172[20]][_0x1172[33]]){if(_[_0x1172[34]](_0xf542xe[_0x1172[20]][_0x1172[33]])){for(var _0xf542x14=0;_0xf542x14<_0xf542xe[_0x1172[20]][_0x1172[33]][_0x1172[35]];_0xf542x14++){_0xf542x13[_0x1172[40]][_0x1172[39]][_0x1172[38]]({tags:{$like:_0x1172[36]+_0xf542xe[_0x1172[20]][_0x1172[33]][_0xf542x14]+_0x1172[37]}})}}else {_0xf542x13[_0x1172[40]][_0x1172[39]][_0x1172[38]]({tags:{$like:_0x1172[36]+_0xf542xe[_0x1172[20]][_0x1172[33]]+_0x1172[37]}})};delete _0xf542xe[_0x1172[20]][_0x1172[33]]};_[_0x1172[41]](_0xf542x13[_0x1172[40]],_0xf542xe[_0x1172[20]])};switch(_0xf542xe[_0x1172[44]][_0x1172[46]]){case _0x1172[45]:if(_0xf542xe[_0x1172[20]][_0x1172[18]]&&_0xf542xe[_0x1172[20]][_0x1172[18]]!==_0x1172[42]){_0xf542x13[_0x1172[43]]=[{model:User,where:{id:_0xf542xe[_0x1172[44]][_0x1172[26]]}}]};break;default:};return MailRoom[_0x1172[48]](_0xf542x13)[_0x1172[19]](function(_0xf542x15){return _0xf542xf[_0x1172[18]](200)[_0x1172[17]](_0xf542x15)})[_0x1172[16]](function(_0xf542x10){console[_0x1172[47]](_0xf542x10);return handleError(_0xf542xf,_0xf542x10)})};exports[_0x1172[49]]=function(_0xf542xe,_0xf542xf,_0xf542x12){return MailAccount[_0x1172[52]](_0xf542xe[_0x1172[27]][_0x1172[26]])[_0x1172[19]](function(_0xf542x17){if(!_0xf542x17){return _0xf542xf[_0x1172[50]](404)};return _0xf542x17[_0x1172[51]]()})[_0x1172[19]](function(_0xf542x16){return _0xf542xf[_0x1172[18]](200)[_0x1172[17]]({rows:_0xf542x16,count:_0xf542x16[_0x1172[35]]})})[_0x1172[16]](function(_0xf542x10){return handleError(_0xf542xf,_0xf542x10)})};exports[_0x1172[53]]=function(_0xf542xe,_0xf542xf,_0xf542x12){return MailAccount[_0x1172[24]](_0x1172[23])[_0x1172[52]](_0xf542xe[_0x1172[27]][_0x1172[26]])[_0x1172[19]](function(_0xf542x17){if(!_0xf542x17){return _0xf542xf[_0x1172[50]](404)};return _0xf542xf[_0x1172[17]](_0xf542x17)})[_0x1172[16]](function(_0xf542x10){return handleError(_0xf542xf,_0xf542x10)})};exports[_0x1172[54]]=function(_0xf542xe,_0xf542xf,_0xf542x12){return MailAccount[_0x1172[24]](_0x1172[23])[_0x1172[52]](_0xf542xe[_0x1172[27]][_0x1172[26]])[_0x1172[19]](function(_0xf542x17){if(!_0xf542x17){return _0xf542xf[_0x1172[50]](404)};return _0xf542x17[_0x1172[57]](_[_0x1172[41]](Util[_0x1172[21]](_0xf542xe[_0x1172[20]]),{include:[{model:MailQueue,attributes:[_0x1172[26],_0x1172[55]]},{model:User,attributes:[_0x1172[26],_0x1172[55],_0x1172[56]]}]}))})[_0x1172[19]](function(_0xf542x18){return _0xf542xf[_0x1172[17]]({count:_0xf542x18[_0x1172[35]],rows:_0xf542x18})})[_0x1172[16]](function(_0xf542x10){return handleError(_0xf542xf,_0xf542x10)})};exports[_0x1172[58]]=function(_0xf542xe,_0xf542xf,_0xf542x12){return sequelize[_0x1172[62]](function(_0xf542x19){return MailAccount[_0x1172[58]](_0xf542xe[_0x1172[61]],{include:[{model:MailServerIn},{model:MailServerOut}],transaction:_0xf542x19})})[_0x1172[19]](function(_0xf542x17){return _0xf542xf[_0x1172[18]](201)[_0x1172[17]](_0xf542x17)})[_0x1172[16]](sequelize.UniqueConstraintError,function(_0xf542x10){return Util[_0x1172[60]][_0x1172[59]](_0xf542xf,_0xf542x10)})[_0x1172[16]](function(_0xf542x10){return handleError(_0xf542xf,_0xf542x10)})};exports[_0x1172[63]]=function(_0xf542xe,_0xf542xf,_0xf542x12){_0xf542xe[_0x1172[61]][_0x1172[64]]=_0xf542xe[_0x1172[27]][_0x1172[26]];return MailDisposition[_0x1172[58]](_0xf542xe[_0x1172[61]])[_0x1172[19]](function(_0xf542x1a){return _0xf542xf[_0x1172[18]](201)[_0x1172[17]](_0xf542x1a)})[_0x1172[16]](function(_0xf542x10){return handleError(_0xf542xf,_0xf542x10)})};exports[_0x1172[65]]=function(_0xf542xe,_0xf542xf){if(_0xf542xe[_0x1172[61]][_0x1172[26]]){delete _0xf542xe[_0x1172[61]][_0x1172[26]]};return MailAccount[_0x1172[52]](_0xf542xe[_0x1172[27]][_0x1172[26]])[_0x1172[19]](function(_0xf542x17){if(!_0xf542x17){return _0xf542xf[_0x1172[50]](404)};var _0xf542x1b=_[_0x1172[41]](_0xf542x17,_0xf542xe[_0x1172[61]]);return _0xf542x1b[_0x1172[66]]()})[_0x1172[19]](function(_0xf542x17){return _0xf542xf[_0x1172[18]](200)[_0x1172[17]](_0xf542x17)})[_0x1172[16]](sequelize.UniqueConstraintError,function(_0xf542x10){return Util[_0x1172[60]][_0x1172[59]](_0xf542xf,_0xf542x10)})[_0x1172[16]](function(_0xf542x10){return handleError(_0xf542xf,_0xf542x10)})};exports[_0x1172[67]]=function(_0xf542xe,_0xf542xf){if(_0xf542xe[_0x1172[61]][_0x1172[26]]){delete _0xf542xe[_0x1172[61]][_0x1172[26]]};return MailDisposition[_0x1172[52]](_0xf542xe[_0x1172[27]][_0x1172[68]])[_0x1172[19]](function(_0xf542x1c){if(!_0xf542x1c){return _0xf542xf[_0x1172[50]](404)};var _0xf542x1b=_[_0x1172[41]](_0xf542x1c,_0xf542xe[_0x1172[61]]);return _0xf542x1b[_0x1172[66]]()})[_0x1172[19]](function(_0xf542x17){return _0xf542xf[_0x1172[18]](200)[_0x1172[17]](_0xf542x17)})[_0x1172[16]](function(_0xf542x10){return handleError(_0xf542xf,_0xf542x10)})};exports[_0x1172[69]]=function(_0xf542xe,_0xf542xf){var _0xf542x1d=0;var _0xf542x1e=_0xf542xe[_0x1172[61]];_0xf542x1e[_0x1172[72]](function(_0xf542x1f){delete _0xf542x1f[_0x1172[26]];delete _0xf542x1f[_0x1172[70]];delete _0xf542x1f[_0x1172[32]];_0xf542x1f[_0x1172[71]]= ++_0xf542x1d});return sequelize[_0x1172[62]](function(_0xf542x19){return MailApplication[_0x1172[74]]({where:{MailAccountId:_0xf542xe[_0x1172[27]][_0x1172[26]]},individualHooks:true,transaction:_0xf542x19})[_0x1172[19]](function(_0xf542x21){return MailApplication[_0x1172[73]](_0xf542x1e,{individualHooks:true,transaction:_0xf542x19})})})[_0x1172[19]](function(_0xf542x20){return _0xf542xf[_0x1172[18]](200)[_0x1172[17]]({count:_0xf542x20[_0x1172[35]],rows:_0xf542x20})})[_0x1172[16]](function(_0xf542x10){return handleError(_0xf542xf,_0xf542x10)})};exports[_0x1172[74]]=function(_0xf542xe,_0xf542xf,_0xf542x12){return MailAccount[_0x1172[52]](_0xf542xe[_0x1172[27]][_0x1172[26]])[_0x1172[19]](function(_0xf542x17){if(!_0xf542x17){return _0xf542xf[_0x1172[50]](404)};return _0xf542x17[_0x1172[74]]()})[_0x1172[19]](function(){return _0xf542xf[_0x1172[50]](204)})[_0x1172[16]](function(_0xf542x10){return handleError(_0xf542xf,_0xf542x10)})};exports[_0x1172[75]]=function(_0xf542xe,_0xf542xf,_0xf542x12){return MailApplication[_0x1172[52]](_0xf542xe[_0x1172[27]][_0x1172[76]])[_0x1172[19]](function(_0xf542x21){if(!_0xf542x21){return _0xf542xf[_0x1172[50]](404)};return _0xf542x21[_0x1172[74]]()})[_0x1172[19]](function(){return _0xf542xf[_0x1172[50]](204)})[_0x1172[16]](function(_0xf542x10){return handleError(_0xf542xf,_0xf542x10)})};exports[_0x1172[77]]=function(_0xf542xe,_0xf542xf,_0xf542x12){return MailDisposition[_0x1172[52]](_0xf542xe[_0x1172[27]][_0x1172[68]])[_0x1172[19]](function(_0xf542x1a){if(!_0xf542x1a){return _0xf542xf[_0x1172[50]](404)};return _0xf542x1a[_0x1172[74]]()})[_0x1172[19]](function(){return _0xf542xf[_0x1172[50]](204)})[_0x1172[16]](function(_0xf542x10){return handleError(_0xf542xf,_0xf542x10)})};exports[_0x1172[78]]=function(_0xf542xe,_0xf542xf){return MailAccount[_0x1172[74]]({where:{id:_0xf542xe[_0x1172[20]][_0x1172[79]]},individualHooks:true})[_0x1172[19]](function(){return _0xf542xf[_0x1172[50]](204)})[_0x1172[16]](function(_0xf542x10){return handleError(_0xf542xf,_0xf542x10)})};exports[_0x1172[80]]=function(_0xf542xe,_0xf542xf){return MailApplication[_0x1172[74]]({where:{id:_0xf542xe[_0x1172[20]][_0x1172[79]]},individualHooks:true})[_0x1172[19]](function(){return _0xf542xf[_0x1172[50]](204)})[_0x1172[16]](function(_0xf542x10){return handleError(_0xf542xf,_0xf542x10)})};function handleError(_0xf542xf,_0xf542x10){return _0xf542xf[_0x1172[18]](500)[_0x1172[17]](_0xf542x10)} \ No newline at end of file diff --git a/server/api/mail_account/mail_account.socket.js b/server/api/mail_account/mail_account.socket.js index c993e3d..c201c47 100644 --- a/server/api/mail_account/mail_account.socket.js +++ b/server/api/mail_account/mail_account.socket.js @@ -1 +1 @@ -var _0xdff0=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6D\x61\x69\x6C\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0xdff0[0];var MailAccount=require(_0xdff0[2])[_0xdff0[1]];exports[_0xdff0[3]]=function(_0xb2a2x2){MailAccount[_0xdff0[4]](function(_0xb2a2x3){onSave(_0xb2a2x2,_0xb2a2x3)});MailAccount[_0xdff0[5]](function(_0xb2a2x3){onSave(_0xb2a2x2,_0xb2a2x3)});MailAccount[_0xdff0[6]](function(_0xb2a2x3){onRemove(_0xb2a2x2,_0xb2a2x3)})};function onSave(_0xb2a2x2,_0xb2a2x3,_0xb2a2x5){_0xb2a2x2[_0xdff0[8]](_0xdff0[7],_0xb2a2x3)}function onRemove(_0xb2a2x2,_0xb2a2x3,_0xb2a2x5){_0xb2a2x2[_0xdff0[8]](_0xdff0[9],_0xb2a2x3)} \ No newline at end of file +var _0x7345=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6D\x61\x69\x6C\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x7345[0];var MailAccount=require(_0x7345[2])[_0x7345[1]];exports[_0x7345[3]]=function(_0x1f0ex2){MailAccount[_0x7345[4]](function(_0x1f0ex3){onSave(_0x1f0ex2,_0x1f0ex3)});MailAccount[_0x7345[5]](function(_0x1f0ex3){onSave(_0x1f0ex2,_0x1f0ex3)});MailAccount[_0x7345[6]](function(_0x1f0ex3){onRemove(_0x1f0ex2,_0x1f0ex3)})};function onSave(_0x1f0ex2,_0x1f0ex3,_0x1f0ex5){_0x1f0ex2[_0x7345[8]](_0x7345[7],_0x1f0ex3)}function onRemove(_0x1f0ex2,_0x1f0ex3,_0x1f0ex5){_0x1f0ex2[_0x7345[8]](_0x7345[9],_0x1f0ex3)} \ No newline at end of file diff --git a/server/api/mail_application/index.js b/server/api/mail_application/index.js index 8eb6698..939bb1d 100644 --- a/server/api/mail_application/index.js +++ b/server/api/mail_application/index.js @@ -1 +1 @@ -var _0xf3df=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x61\x69\x6C\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x4D\x61\x69\x6C","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xf3df[0];var express=require(_0xf3df[1]);var controller=require(_0xf3df[2]);var auth=require(_0xf3df[3]);var license=require(_0xf3df[4]);var router=express.Router();router[_0xf3df[12]](_0xf3df[5],license[_0xf3df[6]](),license[_0xf3df[7]](),auth[_0xf3df[8]](),auth[_0xf3df[10]]([9],[_0xf3df[9]]),controller[_0xf3df[11]]);router[_0xf3df[12]](_0xf3df[13],license[_0xf3df[6]](),license[_0xf3df[7]](),auth[_0xf3df[8]](),auth[_0xf3df[10]]([9],[_0xf3df[9]]),controller[_0xf3df[14]]);router[_0xf3df[16]](_0xf3df[5],license[_0xf3df[6]](),license[_0xf3df[7]](),auth[_0xf3df[8]](),auth[_0xf3df[10]]([9],[_0xf3df[9]]),controller[_0xf3df[15]]);router[_0xf3df[18]](_0xf3df[13],license[_0xf3df[6]](),license[_0xf3df[7]](),auth[_0xf3df[8]](),auth[_0xf3df[10]]([9],[_0xf3df[9]]),controller[_0xf3df[17]]);router[_0xf3df[20]](_0xf3df[13],license[_0xf3df[6]](),license[_0xf3df[7]](),auth[_0xf3df[8]](),auth[_0xf3df[10]]([9],[_0xf3df[9]]),controller[_0xf3df[19]]);module[_0xf3df[21]]=router \ No newline at end of file +var _0xdab2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x61\x69\x6C\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x4D\x61\x69\x6C","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xdab2[0];var express=require(_0xdab2[1]);var controller=require(_0xdab2[2]);var auth=require(_0xdab2[3]);var license=require(_0xdab2[4]);var router=express.Router();router[_0xdab2[12]](_0xdab2[5],license[_0xdab2[6]](),license[_0xdab2[7]](),auth[_0xdab2[8]](),auth[_0xdab2[10]]([9],[_0xdab2[9]]),controller[_0xdab2[11]]);router[_0xdab2[12]](_0xdab2[13],license[_0xdab2[6]](),license[_0xdab2[7]](),auth[_0xdab2[8]](),auth[_0xdab2[10]]([9],[_0xdab2[9]]),controller[_0xdab2[14]]);router[_0xdab2[16]](_0xdab2[5],license[_0xdab2[6]](),license[_0xdab2[7]](),auth[_0xdab2[8]](),auth[_0xdab2[10]]([9],[_0xdab2[9]]),controller[_0xdab2[15]]);router[_0xdab2[18]](_0xdab2[13],license[_0xdab2[6]](),license[_0xdab2[7]](),auth[_0xdab2[8]](),auth[_0xdab2[10]]([9],[_0xdab2[9]]),controller[_0xdab2[17]]);router[_0xdab2[20]](_0xdab2[13],license[_0xdab2[6]](),license[_0xdab2[7]](),auth[_0xdab2[8]](),auth[_0xdab2[10]]([9],[_0xdab2[9]]),controller[_0xdab2[19]]);module[_0xdab2[21]]=router \ No newline at end of file diff --git a/server/api/mail_application/mail_application.controller.js b/server/api/mail_application/mail_application.controller.js index 7451ab8..0842dec 100644 --- a/server/api/mail_application/mail_application.controller.js +++ b/server/api/mail_application/mail_application.controller.js @@ -1 +1 @@ -var _0x81a9=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x4D\x61\x69\x6C\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x70\x72\x69\x6F\x72\x69\x74\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x6D\x61\x78","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0x81a9[0];var _=require(_0x81a9[1]);var MailApplication=require(_0x81a9[3])[_0x81a9[2]];exports[_0x81a9[4]]=function(_0x5a01x3,_0x5a01x4,_0x5a01x5){return MailApplication[_0x81a9[11]]({where:_0x5a01x3[_0x81a9[9]],order:_0x81a9[10],include:[{all:true}]})[_0x81a9[8]](function(_0x5a01x7){return _0x5a01x4[_0x81a9[7]](200)[_0x81a9[6]](_0x5a01x7)})[_0x81a9[5]](function(_0x5a01x6){return handleError(_0x5a01x4,_0x5a01x6)})};exports[_0x81a9[12]]=function(_0x5a01x3,_0x5a01x4,_0x5a01x5){return MailApplication[_0x81a9[16]](_0x5a01x3[_0x81a9[15]][_0x81a9[14]],{include:[{all:true}]})[_0x81a9[8]](function(_0x5a01x8){if(!_0x5a01x8){return _0x5a01x4[_0x81a9[13]](404)};return _0x5a01x4[_0x81a9[6]](_0x5a01x8)})[_0x81a9[5]](function(_0x5a01x6){return handleError(_0x5a01x4,_0x5a01x6)})};exports[_0x81a9[17]]=function(_0x5a01x3,_0x5a01x4,_0x5a01x5){return MailApplication[_0x81a9[20]](_0x81a9[10],{where:{MailAccountId:_0x5a01x3[_0x81a9[18]][_0x81a9[19]]}})[_0x81a9[8]](function(_0x5a01x9){_0x5a01x3[_0x81a9[18]][_0x81a9[10]]=_0x5a01x9?++_0x5a01x9:1;return MailApplication[_0x81a9[17]](_0x5a01x3[_0x81a9[18]])})[_0x81a9[8]](function(_0x5a01x8){return _0x5a01x4[_0x81a9[7]](201)[_0x81a9[6]](_0x5a01x8)})[_0x81a9[5]](function(_0x5a01x6){return handleError(_0x5a01x4,_0x5a01x6)})};exports[_0x81a9[21]]=function(_0x5a01x3,_0x5a01x4,_0x5a01x5){if(_0x5a01x3[_0x81a9[18]][_0x81a9[14]]){delete _0x5a01x3[_0x81a9[18]][_0x81a9[14]]};return MailApplication[_0x81a9[16]](_0x5a01x3[_0x81a9[15]][_0x81a9[14]])[_0x81a9[8]](function(_0x5a01x8){if(!_0x5a01x8){return _0x5a01x4[_0x81a9[13]](404)};var _0x5a01xa=_[_0x81a9[22]](_0x5a01x8,_0x5a01x3[_0x81a9[18]]);return _0x5a01xa[_0x81a9[23]]()})[_0x81a9[8]](function(_0x5a01x8){return _0x5a01x4[_0x81a9[7]](200)[_0x81a9[6]](_0x5a01x8)})[_0x81a9[5]](function(_0x5a01x6){return handleError(_0x5a01x4,_0x5a01x6)})};exports[_0x81a9[24]]=function(_0x5a01x3,_0x5a01x4,_0x5a01x5){return MailApplication[_0x81a9[16]](_0x5a01x3[_0x81a9[15]][_0x81a9[14]])[_0x81a9[8]](function(_0x5a01x8){if(!_0x5a01x8){return _0x5a01x4[_0x81a9[13]](404)};return _0x5a01x8[_0x81a9[24]]()})[_0x81a9[8]](function(){return _0x5a01x4[_0x81a9[13]](204)})[_0x81a9[5]](function(_0x5a01x6){return handleError(_0x5a01x4,_0x5a01x6)})};function handleError(_0x5a01x4,_0x5a01x6){return _0x5a01x4[_0x81a9[7]](500)[_0x81a9[6]](_0x5a01x6)} \ No newline at end of file +var _0x66b8=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x4D\x61\x69\x6C\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x70\x72\x69\x6F\x72\x69\x74\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x6D\x61\x78","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0x66b8[0];var _=require(_0x66b8[1]);var MailApplication=require(_0x66b8[3])[_0x66b8[2]];exports[_0x66b8[4]]=function(_0xb07bx3,_0xb07bx4,_0xb07bx5){return MailApplication[_0x66b8[11]]({where:_0xb07bx3[_0x66b8[9]],order:_0x66b8[10],include:[{all:true}]})[_0x66b8[8]](function(_0xb07bx7){return _0xb07bx4[_0x66b8[7]](200)[_0x66b8[6]](_0xb07bx7)})[_0x66b8[5]](function(_0xb07bx6){return handleError(_0xb07bx4,_0xb07bx6)})};exports[_0x66b8[12]]=function(_0xb07bx3,_0xb07bx4,_0xb07bx5){return MailApplication[_0x66b8[16]](_0xb07bx3[_0x66b8[15]][_0x66b8[14]],{include:[{all:true}]})[_0x66b8[8]](function(_0xb07bx8){if(!_0xb07bx8){return _0xb07bx4[_0x66b8[13]](404)};return _0xb07bx4[_0x66b8[6]](_0xb07bx8)})[_0x66b8[5]](function(_0xb07bx6){return handleError(_0xb07bx4,_0xb07bx6)})};exports[_0x66b8[17]]=function(_0xb07bx3,_0xb07bx4,_0xb07bx5){return MailApplication[_0x66b8[20]](_0x66b8[10],{where:{MailAccountId:_0xb07bx3[_0x66b8[18]][_0x66b8[19]]}})[_0x66b8[8]](function(_0xb07bx9){_0xb07bx3[_0x66b8[18]][_0x66b8[10]]=_0xb07bx9?++_0xb07bx9:1;return MailApplication[_0x66b8[17]](_0xb07bx3[_0x66b8[18]])})[_0x66b8[8]](function(_0xb07bx8){return _0xb07bx4[_0x66b8[7]](201)[_0x66b8[6]](_0xb07bx8)})[_0x66b8[5]](function(_0xb07bx6){return handleError(_0xb07bx4,_0xb07bx6)})};exports[_0x66b8[21]]=function(_0xb07bx3,_0xb07bx4,_0xb07bx5){if(_0xb07bx3[_0x66b8[18]][_0x66b8[14]]){delete _0xb07bx3[_0x66b8[18]][_0x66b8[14]]};return MailApplication[_0x66b8[16]](_0xb07bx3[_0x66b8[15]][_0x66b8[14]])[_0x66b8[8]](function(_0xb07bx8){if(!_0xb07bx8){return _0xb07bx4[_0x66b8[13]](404)};var _0xb07bxa=_[_0x66b8[22]](_0xb07bx8,_0xb07bx3[_0x66b8[18]]);return _0xb07bxa[_0x66b8[23]]()})[_0x66b8[8]](function(_0xb07bx8){return _0xb07bx4[_0x66b8[7]](200)[_0x66b8[6]](_0xb07bx8)})[_0x66b8[5]](function(_0xb07bx6){return handleError(_0xb07bx4,_0xb07bx6)})};exports[_0x66b8[24]]=function(_0xb07bx3,_0xb07bx4,_0xb07bx5){return MailApplication[_0x66b8[16]](_0xb07bx3[_0x66b8[15]][_0x66b8[14]])[_0x66b8[8]](function(_0xb07bx8){if(!_0xb07bx8){return _0xb07bx4[_0x66b8[13]](404)};return _0xb07bx8[_0x66b8[24]]()})[_0x66b8[8]](function(){return _0xb07bx4[_0x66b8[13]](204)})[_0x66b8[5]](function(_0xb07bx6){return handleError(_0xb07bx4,_0xb07bx6)})};function handleError(_0xb07bx4,_0xb07bx6){return _0xb07bx4[_0x66b8[7]](500)[_0x66b8[6]](_0xb07bx6)} \ No newline at end of file diff --git a/server/api/mail_application/mail_application.socket.js b/server/api/mail_application/mail_application.socket.js index 4e753cf..bea1507 100644 --- a/server/api/mail_application/mail_application.socket.js +++ b/server/api/mail_application/mail_application.socket.js @@ -1 +1 @@ -var _0x1bb7=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x61\x69\x6C\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6D\x61\x69\x6C\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x1bb7[0];var mailApplication=require(_0x1bb7[2])[_0x1bb7[1]];exports[_0x1bb7[3]]=function(_0x8a94x2){mailApplication[_0x1bb7[4]](function(_0x8a94x3){onSave(_0x8a94x2,_0x8a94x3)});mailApplication[_0x1bb7[5]](function(_0x8a94x3){onRemove(_0x8a94x2,_0x8a94x3)})};function onSave(_0x8a94x2,_0x8a94x3,_0x8a94x5){_0x8a94x2[_0x1bb7[7]](_0x1bb7[6],_0x8a94x3)}function onRemove(_0x8a94x2,_0x8a94x3,_0x8a94x5){_0x8a94x2[_0x1bb7[7]](_0x1bb7[8],_0x8a94x3)} \ No newline at end of file +var _0x8ec6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x61\x69\x6C\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6D\x61\x69\x6C\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x8ec6[0];var mailApplication=require(_0x8ec6[2])[_0x8ec6[1]];exports[_0x8ec6[3]]=function(_0xcb6ex2){mailApplication[_0x8ec6[4]](function(_0xcb6ex3){onSave(_0xcb6ex2,_0xcb6ex3)});mailApplication[_0x8ec6[5]](function(_0xcb6ex3){onRemove(_0xcb6ex2,_0xcb6ex3)})};function onSave(_0xcb6ex2,_0xcb6ex3,_0xcb6ex5){_0xcb6ex2[_0x8ec6[7]](_0x8ec6[6],_0xcb6ex3)}function onRemove(_0xcb6ex2,_0xcb6ex3,_0xcb6ex5){_0xcb6ex2[_0x8ec6[7]](_0x8ec6[8],_0xcb6ex3)} \ No newline at end of file diff --git a/server/api/mail_attachment/index.js b/server/api/mail_attachment/index.js index b3c70f7..6d1f7fe 100644 --- a/server/api/mail_attachment/index.js +++ b/server/api/mail_attachment/index.js @@ -1 +1 @@ -var _0x760e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x61\x69\x6C\x5F\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x4D\x61\x69\x6C","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x760e[0];var express=require(_0x760e[1]);var controller=require(_0x760e[2]);var auth=require(_0x760e[3]);var license=require(_0x760e[4]);var router=express.Router();router[_0x760e[13]](_0x760e[5],license[_0x760e[6]](),license[_0x760e[7]](),auth[_0x760e[8]](),auth[_0x760e[11]]([9],[_0x760e[9],_0x760e[10]]),controller[_0x760e[12]]);router[_0x760e[13]](_0x760e[14],license[_0x760e[6]](),license[_0x760e[7]](),controller[_0x760e[15]]);router[_0x760e[17]](_0x760e[5],license[_0x760e[6]](),license[_0x760e[7]](),auth[_0x760e[8]](),auth[_0x760e[11]]([9],[_0x760e[9],_0x760e[10]]),controller[_0x760e[16]]);router[_0x760e[19]](_0x760e[14],license[_0x760e[6]](),license[_0x760e[7]](),auth[_0x760e[8]](),auth[_0x760e[11]]([9],[_0x760e[9],_0x760e[10]]),controller[_0x760e[18]]);router[_0x760e[21]](_0x760e[14],license[_0x760e[6]](),license[_0x760e[7]](),auth[_0x760e[8]](),auth[_0x760e[11]]([9],[_0x760e[9],_0x760e[10]]),controller[_0x760e[20]]);module[_0x760e[22]]=router \ No newline at end of file +var _0x64e5=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x61\x69\x6C\x5F\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x4D\x61\x69\x6C","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x64e5[0];var express=require(_0x64e5[1]);var controller=require(_0x64e5[2]);var auth=require(_0x64e5[3]);var license=require(_0x64e5[4]);var router=express.Router();router[_0x64e5[13]](_0x64e5[5],license[_0x64e5[6]](),license[_0x64e5[7]](),auth[_0x64e5[8]](),auth[_0x64e5[11]]([9],[_0x64e5[9],_0x64e5[10]]),controller[_0x64e5[12]]);router[_0x64e5[13]](_0x64e5[14],license[_0x64e5[6]](),license[_0x64e5[7]](),controller[_0x64e5[15]]);router[_0x64e5[17]](_0x64e5[5],license[_0x64e5[6]](),license[_0x64e5[7]](),auth[_0x64e5[8]](),auth[_0x64e5[11]]([9],[_0x64e5[9],_0x64e5[10]]),controller[_0x64e5[16]]);router[_0x64e5[19]](_0x64e5[14],license[_0x64e5[6]](),license[_0x64e5[7]](),auth[_0x64e5[8]](),auth[_0x64e5[11]]([9],[_0x64e5[9],_0x64e5[10]]),controller[_0x64e5[18]]);router[_0x64e5[21]](_0x64e5[14],license[_0x64e5[6]](),license[_0x64e5[7]](),auth[_0x64e5[8]](),auth[_0x64e5[11]]([9],[_0x64e5[9],_0x64e5[10]]),controller[_0x64e5[20]]);module[_0x64e5[22]]=router \ No newline at end of file diff --git a/server/api/mail_attachment/mail_attachment.controller.js b/server/api/mail_attachment/mail_attachment.controller.js index 8419609..e0e062e 100644 --- a/server/api/mail_attachment/mail_attachment.controller.js +++ b/server/api/mail_attachment/mail_attachment.controller.js @@ -1 +1 @@ -var _0x325b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x70\x61\x74\x68","\x66\x73","\x66\x6F\x72\x6D\x69\x64\x61\x62\x6C\x65","\x62\x6C\x75\x65\x62\x69\x72\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x4D\x61\x69\x6C\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x6E\x61\x6D\x65","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x75\x70\x6C\x6F\x61\x64\x44\x69\x72","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72","\x66\x69\x6C\x65\x73","\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x73","\x6A\x6F\x69\x6E","\x6B\x65\x65\x70\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73","\x6D\x75\x6C\x74\x69\x70\x6C\x65\x73","\x68\x61\x73\x68","\x73\x69\x7A\x65","\x66\x69\x6C\x65","\x74\x79\x70\x65","\x62\x61\x73\x65\x6E\x61\x6D\x65","\x70\x61\x72\x73\x65","\x75\x70\x64\x61\x74\x65","\x62\x6F\x64\x79","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x75\x6E\x6C\x69\x6E\x6B","\x70\x72\x6F\x6D\x69\x73\x69\x66\x79"];_0x325b[0];var _=require(_0x325b[1]);var path=require(_0x325b[2]);var fs=require(_0x325b[3]);var formidable=require(_0x325b[4]);var Promise=require(_0x325b[5]);var config=require(_0x325b[6]);var MailAttachment=require(_0x325b[8])[_0x325b[7]];exports[_0x325b[9]]=function(_0xe14fx8,_0xe14fx9,_0xe14fxa){return MailAttachment[_0x325b[14]]()[_0x325b[13]](function(_0xe14fxc){return _0xe14fx9[_0x325b[12]](200)[_0x325b[11]](_0xe14fxc)})[_0x325b[10]](function(_0xe14fxb){return handleError(_0xe14fx9,_0xe14fxb)})};exports[_0x325b[15]]=function(_0xe14fx8,_0xe14fx9,_0xe14fxa){return MailAttachment[_0x325b[20]](_0xe14fx8[_0x325b[19]][_0x325b[18]])[_0x325b[13]](function(_0xe14fxd){return _0xe14fx9[_0x325b[17]](_0xe14fxd[_0x325b[2]],_0xe14fxd[_0x325b[16]])})[_0x325b[10]](function(_0xe14fxb){return handleError(_0xe14fx9,_0xe14fxb)})};exports[_0x325b[21]]=function(_0xe14fx8,_0xe14fx9,_0xe14fxa){var _0xe14fxe= new formidable.IncomingForm();_0xe14fxe[_0x325b[22]]=path[_0x325b[27]](config[_0x325b[23]],_0x325b[24],_0x325b[25],_0x325b[26]);_0xe14fxe[_0x325b[28]]=true;_0xe14fxe[_0x325b[29]]=true;_0xe14fxe[_0x325b[30]]=true;_0xe14fxe[_0x325b[35]](_0xe14fx8,function(_0xe14fxb,_0xe14fxe,_0xe14fxf){if(_0xe14fxb){return _0xe14fx9[_0x325b[12]](500)[_0x325b[11]](_0xe14fxb)};return _0xe14fx9[_0x325b[12]](201)[_0x325b[11]]({size:_0xe14fxf[_0x325b[32]][_0x325b[31]],path:_0xe14fxf[_0x325b[32]][_0x325b[2]],name:_0xe14fxf[_0x325b[32]][_0x325b[16]],type:_0xe14fxf[_0x325b[32]][_0x325b[33]],basename:path[_0x325b[34]](_0xe14fxf[_0x325b[32]][_0x325b[2]])})})};exports[_0x325b[36]]=function(_0xe14fx8,_0xe14fx9,_0xe14fxa){if(_0xe14fx8[_0x325b[37]][_0x325b[18]]){delete _0xe14fx8[_0x325b[37]][_0x325b[18]]};return MailAttachment[_0x325b[20]](_0xe14fx8[_0x325b[19]][_0x325b[18]])[_0x325b[13]](function(_0xe14fxd){if(!_0xe14fxd){return _0xe14fx9[_0x325b[38]](404)};var _0xe14fx10=_[_0x325b[39]](_0xe14fxd,_0xe14fx8[_0x325b[37]]);return _0xe14fx10[_0x325b[40]]()})[_0x325b[13]](function(_0xe14fxd){return _0xe14fx9[_0x325b[12]](200)[_0x325b[11]](_0xe14fxd)})[_0x325b[10]](function(_0xe14fxb){return handleError(_0xe14fx9,_0xe14fxb)})};exports[_0x325b[41]]=function(_0xe14fx8,_0xe14fx9,_0xe14fxa){var _0xe14fx11=Promise[_0x325b[43]](require(_0x325b[3])[_0x325b[42]]);var _0xe14fx12=path[_0x325b[27]](config[_0x325b[23]],_0x325b[24],_0x325b[25],_0x325b[26],_0xe14fx8[_0x325b[19]][_0x325b[18]]);return _0xe14fx11(_0xe14fx12)[_0x325b[13]](function(){return _0xe14fx9[_0x325b[38]](204)})[_0x325b[10]](function(_0xe14fxb){return handleError(_0xe14fx9,_0xe14fxb)})};function handleError(_0xe14fx9,_0xe14fxb){return _0xe14fx9[_0x325b[12]](500)[_0x325b[11]](_0xe14fxb)} \ No newline at end of file +var _0xb687=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x70\x61\x74\x68","\x66\x73","\x66\x6F\x72\x6D\x69\x64\x61\x62\x6C\x65","\x62\x6C\x75\x65\x62\x69\x72\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x4D\x61\x69\x6C\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x46\x69\x6C\x65","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x75\x70\x6C\x6F\x61\x64\x44\x69\x72","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72","\x66\x69\x6C\x65\x73","\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x73","\x6A\x6F\x69\x6E","\x6B\x65\x65\x70\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73","\x6D\x75\x6C\x74\x69\x70\x6C\x65\x73","\x68\x61\x73\x68","\x73\x69\x7A\x65","\x66\x69\x6C\x65","\x6E\x61\x6D\x65","\x74\x79\x70\x65","\x62\x61\x73\x65\x6E\x61\x6D\x65","\x70\x61\x72\x73\x65","\x75\x70\x64\x61\x74\x65","\x62\x6F\x64\x79","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x75\x6E\x6C\x69\x6E\x6B","\x70\x72\x6F\x6D\x69\x73\x69\x66\x79"];_0xb687[0];var _=require(_0xb687[1]);var path=require(_0xb687[2]);var fs=require(_0xb687[3]);var formidable=require(_0xb687[4]);var Promise=require(_0xb687[5]);var config=require(_0xb687[6]);var MailAttachment=require(_0xb687[8])[_0xb687[7]];exports[_0xb687[9]]=function(_0xb34dx8,_0xb34dx9,_0xb34dxa){return MailAttachment[_0xb687[14]]()[_0xb687[13]](function(_0xb34dxc){return _0xb34dx9[_0xb687[12]](200)[_0xb687[11]](_0xb34dxc)})[_0xb687[10]](function(_0xb34dxb){return handleError(_0xb34dx9,_0xb34dxb)})};exports[_0xb687[15]]=function(_0xb34dx8,_0xb34dx9,_0xb34dxa){return MailAttachment[_0xb687[19]](_0xb34dx8[_0xb687[18]][_0xb687[17]])[_0xb687[13]](function(_0xb34dxd){return _0xb34dx9[_0xb687[16]](_0xb34dxd[_0xb687[2]])})[_0xb687[10]](function(_0xb34dxb){return handleError(_0xb34dx9,_0xb34dxb)})};exports[_0xb687[20]]=function(_0xb34dx8,_0xb34dx9,_0xb34dxa){var _0xb34dxe= new formidable.IncomingForm();_0xb34dxe[_0xb687[21]]=path[_0xb687[26]](config[_0xb687[22]],_0xb687[23],_0xb687[24],_0xb687[25]);_0xb34dxe[_0xb687[27]]=true;_0xb34dxe[_0xb687[28]]=true;_0xb34dxe[_0xb687[29]]=true;_0xb34dxe[_0xb687[35]](_0xb34dx8,function(_0xb34dxb,_0xb34dxe,_0xb34dxf){if(_0xb34dxb){return _0xb34dx9[_0xb687[12]](500)[_0xb687[11]](_0xb34dxb)};return _0xb34dx9[_0xb687[12]](201)[_0xb687[11]]({size:_0xb34dxf[_0xb687[31]][_0xb687[30]],path:_0xb34dxf[_0xb687[31]][_0xb687[2]],name:_0xb34dxf[_0xb687[31]][_0xb687[32]],type:_0xb34dxf[_0xb687[31]][_0xb687[33]],basename:path[_0xb687[34]](_0xb34dxf[_0xb687[31]][_0xb687[2]])})})};exports[_0xb687[36]]=function(_0xb34dx8,_0xb34dx9,_0xb34dxa){if(_0xb34dx8[_0xb687[37]][_0xb687[17]]){delete _0xb34dx8[_0xb687[37]][_0xb687[17]]};return MailAttachment[_0xb687[19]](_0xb34dx8[_0xb687[18]][_0xb687[17]])[_0xb687[13]](function(_0xb34dxd){if(!_0xb34dxd){return _0xb34dx9[_0xb687[38]](404)};var _0xb34dx10=_[_0xb687[39]](_0xb34dxd,_0xb34dx8[_0xb687[37]]);return _0xb34dx10[_0xb687[40]]()})[_0xb687[13]](function(_0xb34dxd){return _0xb34dx9[_0xb687[12]](200)[_0xb687[11]](_0xb34dxd)})[_0xb687[10]](function(_0xb34dxb){return handleError(_0xb34dx9,_0xb34dxb)})};exports[_0xb687[41]]=function(_0xb34dx8,_0xb34dx9,_0xb34dxa){var _0xb34dx11=Promise[_0xb687[43]](require(_0xb687[3])[_0xb687[42]]);var _0xb34dx12=path[_0xb687[26]](config[_0xb687[22]],_0xb687[23],_0xb687[24],_0xb687[25],_0xb34dx8[_0xb687[18]][_0xb687[17]]);return _0xb34dx11(_0xb34dx12)[_0xb687[13]](function(){return _0xb34dx9[_0xb687[38]](204)})[_0xb687[10]](function(_0xb34dxb){return handleError(_0xb34dx9,_0xb34dxb)})};function handleError(_0xb34dx9,_0xb34dxb){return _0xb34dx9[_0xb687[12]](500)[_0xb687[11]](_0xb34dxb)} \ No newline at end of file diff --git a/server/api/mail_attachment/mail_attachment.socket.js b/server/api/mail_attachment/mail_attachment.socket.js index 7009903..e8992b2 100644 --- a/server/api/mail_attachment/mail_attachment.socket.js +++ b/server/api/mail_attachment/mail_attachment.socket.js @@ -1 +1 @@ -var _0x8209=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x61\x69\x6C\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6D\x61\x69\x6C\x5F\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x8209[0];var mail_attachment=require(_0x8209[2])[_0x8209[1]];exports[_0x8209[3]]=function(_0x283dx2){mail_attachment[_0x8209[4]](function(_0x283dx3){onSave(_0x283dx2,_0x283dx3)});mail_attachment[_0x8209[5]](function(_0x283dx3){onRemove(_0x283dx2,_0x283dx3)})};function onSave(_0x283dx2,_0x283dx3,_0x283dx5){_0x283dx2[_0x8209[7]](_0x8209[6],_0x283dx3)}function onRemove(_0x283dx2,_0x283dx3,_0x283dx5){_0x283dx2[_0x8209[7]](_0x8209[8],_0x283dx3)} \ No newline at end of file +var _0xb8b0=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x61\x69\x6C\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6D\x61\x69\x6C\x5F\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0xb8b0[0];var mail_attachment=require(_0xb8b0[2])[_0xb8b0[1]];exports[_0xb8b0[3]]=function(_0x82bax2){mail_attachment[_0xb8b0[4]](function(_0x82bax3){onSave(_0x82bax2,_0x82bax3)});mail_attachment[_0xb8b0[5]](function(_0x82bax3){onRemove(_0x82bax2,_0x82bax3)})};function onSave(_0x82bax2,_0x82bax3,_0x82bax5){_0x82bax2[_0xb8b0[7]](_0xb8b0[6],_0x82bax3)}function onRemove(_0x82bax2,_0x82bax3,_0x82bax5){_0x82bax2[_0xb8b0[7]](_0xb8b0[8],_0x82bax3)} \ No newline at end of file diff --git a/server/api/mail_disposition/index.js b/server/api/mail_disposition/index.js index cf17ac1..6386b10 100644 --- a/server/api/mail_disposition/index.js +++ b/server/api/mail_disposition/index.js @@ -1 +1 @@ -var _0x8fc5=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x6D\x61\x69\x6C\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x8fc5[0];var express=require(_0x8fc5[1]);var auth=require(_0x8fc5[2]);var controller=require(_0x8fc5[3]);var router=express.Router();router[_0x8fc5[7]](_0x8fc5[4],auth[_0x8fc5[5]](),controller[_0x8fc5[6]]);router[_0x8fc5[7]](_0x8fc5[8],auth[_0x8fc5[5]](),controller[_0x8fc5[9]]);router[_0x8fc5[11]](_0x8fc5[4],auth[_0x8fc5[5]](),controller[_0x8fc5[10]]);router[_0x8fc5[13]](_0x8fc5[8],auth[_0x8fc5[5]](),controller[_0x8fc5[12]]);router[_0x8fc5[14]](_0x8fc5[8],auth[_0x8fc5[5]](),controller[_0x8fc5[12]]);router[_0x8fc5[16]](_0x8fc5[8],auth[_0x8fc5[5]](),controller[_0x8fc5[15]]);module[_0x8fc5[17]]=router \ No newline at end of file +var _0x766a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x6D\x61\x69\x6C\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x766a[0];var express=require(_0x766a[1]);var auth=require(_0x766a[2]);var controller=require(_0x766a[3]);var router=express.Router();router[_0x766a[7]](_0x766a[4],auth[_0x766a[5]](),controller[_0x766a[6]]);router[_0x766a[7]](_0x766a[8],auth[_0x766a[5]](),controller[_0x766a[9]]);router[_0x766a[11]](_0x766a[4],auth[_0x766a[5]](),controller[_0x766a[10]]);router[_0x766a[13]](_0x766a[8],auth[_0x766a[5]](),controller[_0x766a[12]]);router[_0x766a[14]](_0x766a[8],auth[_0x766a[5]](),controller[_0x766a[12]]);router[_0x766a[16]](_0x766a[8],auth[_0x766a[5]](),controller[_0x766a[15]]);module[_0x766a[17]]=router \ No newline at end of file diff --git a/server/api/mail_disposition/mail_disposition.controller.js b/server/api/mail_disposition/mail_disposition.controller.js index e5f7f2d..e211d99 100644 --- a/server/api/mail_disposition/mail_disposition.controller.js +++ b/server/api/mail_disposition/mail_disposition.controller.js @@ -1 +1 @@ -var _0xcb52=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x4D\x61\x69\x6C\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65"];_0xcb52[0];var _=require(_0xcb52[1]);var MailDisposition=require(_0xcb52[3])[_0xcb52[2]];function handleError(_0xe35ax4,_0xe35ax5){_0xe35ax5=_0xe35ax5||500;return function(_0xe35ax6){_0xe35ax4[_0xcb52[5]](_0xe35ax5)[_0xcb52[4]](_0xe35ax6)}}function responseWithResult(_0xe35ax4,_0xe35ax5){_0xe35ax5=_0xe35ax5||200;return function(_0xe35ax8){if(_0xe35ax8){_0xe35ax4[_0xcb52[5]](_0xe35ax5)[_0xcb52[6]](_0xe35ax8)}}}function responseWithoutResult(_0xe35ax4,_0xe35ax5){_0xe35ax5=_0xe35ax5||200;return function(){_0xe35ax4[_0xcb52[7]](_0xe35ax5)}}function handleEntityNotFound(_0xe35ax4){return function(_0xe35ax8){if(!_0xe35ax8){_0xe35ax4[_0xcb52[5]](404)[_0xcb52[8]]();return null};return _0xe35ax8}}function saveUpdates(_0xe35axc){return function(_0xe35ax8){return _0xe35ax8[_0xcb52[10]](_0xe35axc)[_0xcb52[9]](function(_0xe35axd){return _0xe35axd})}}function removeEntity(_0xe35ax4){return function(_0xe35ax8){if(_0xe35ax8){return _0xe35ax8[_0xcb52[11]]()[_0xcb52[9]](function(){_0xe35ax4[_0xcb52[5]](204)[_0xcb52[8]]()})}}}exports[_0xcb52[12]]=function(_0xe35axf,_0xe35ax4){MailDisposition[_0xcb52[14]]()[_0xcb52[9]](responseWithResult(_0xe35ax4))[_0xcb52[13]](handleError(_0xe35ax4))};exports[_0xcb52[15]]=function(_0xe35axf,_0xe35ax4){MailDisposition[_0xcb52[18]](_0xe35axf[_0xcb52[17]][_0xcb52[16]])[_0xcb52[9]](handleEntityNotFound(_0xe35ax4))[_0xcb52[9]](responseWithResult(_0xe35ax4))[_0xcb52[13]](handleError(_0xe35ax4))};exports[_0xcb52[19]]=function(_0xe35axf,_0xe35ax4){MailDisposition[_0xcb52[19]](_0xe35axf[_0xcb52[20]])[_0xcb52[9]](responseWithResult(_0xe35ax4,201))[_0xcb52[13]](handleError(_0xe35ax4))};exports[_0xcb52[21]]=function(_0xe35axf,_0xe35ax4){if(_0xe35axf[_0xcb52[20]][_0xcb52[16]]){delete _0xe35axf[_0xcb52[20]][_0xcb52[16]]};MailDisposition[_0xcb52[18]](_0xe35axf[_0xcb52[17]][_0xcb52[16]])[_0xcb52[9]](handleEntityNotFound(_0xe35ax4))[_0xcb52[9]](saveUpdates(_0xe35axf[_0xcb52[20]]))[_0xcb52[9]](responseWithResult(_0xe35ax4))[_0xcb52[13]](handleError(_0xe35ax4))};exports[_0xcb52[11]]=function(_0xe35axf,_0xe35ax4){MailDisposition[_0xcb52[18]](_0xe35axf[_0xcb52[17]][_0xcb52[16]])[_0xcb52[9]](handleEntityNotFound(_0xe35ax4))[_0xcb52[9]](removeEntity(_0xe35ax4))[_0xcb52[13]](handleError(_0xe35ax4))} \ No newline at end of file +var _0xc2fc=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x4D\x61\x69\x6C\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65"];_0xc2fc[0];var _=require(_0xc2fc[1]);var MailDisposition=require(_0xc2fc[3])[_0xc2fc[2]];function handleError(_0x2960x4,_0x2960x5){_0x2960x5=_0x2960x5||500;return function(_0x2960x6){_0x2960x4[_0xc2fc[5]](_0x2960x5)[_0xc2fc[4]](_0x2960x6)}}function responseWithResult(_0x2960x4,_0x2960x5){_0x2960x5=_0x2960x5||200;return function(_0x2960x8){if(_0x2960x8){_0x2960x4[_0xc2fc[5]](_0x2960x5)[_0xc2fc[6]](_0x2960x8)}}}function responseWithoutResult(_0x2960x4,_0x2960x5){_0x2960x5=_0x2960x5||200;return function(){_0x2960x4[_0xc2fc[7]](_0x2960x5)}}function handleEntityNotFound(_0x2960x4){return function(_0x2960x8){if(!_0x2960x8){_0x2960x4[_0xc2fc[5]](404)[_0xc2fc[8]]();return null};return _0x2960x8}}function saveUpdates(_0x2960xc){return function(_0x2960x8){return _0x2960x8[_0xc2fc[10]](_0x2960xc)[_0xc2fc[9]](function(_0x2960xd){return _0x2960xd})}}function removeEntity(_0x2960x4){return function(_0x2960x8){if(_0x2960x8){return _0x2960x8[_0xc2fc[11]]()[_0xc2fc[9]](function(){_0x2960x4[_0xc2fc[5]](204)[_0xc2fc[8]]()})}}}exports[_0xc2fc[12]]=function(_0x2960xf,_0x2960x4){MailDisposition[_0xc2fc[14]]()[_0xc2fc[9]](responseWithResult(_0x2960x4))[_0xc2fc[13]](handleError(_0x2960x4))};exports[_0xc2fc[15]]=function(_0x2960xf,_0x2960x4){MailDisposition[_0xc2fc[18]](_0x2960xf[_0xc2fc[17]][_0xc2fc[16]])[_0xc2fc[9]](handleEntityNotFound(_0x2960x4))[_0xc2fc[9]](responseWithResult(_0x2960x4))[_0xc2fc[13]](handleError(_0x2960x4))};exports[_0xc2fc[19]]=function(_0x2960xf,_0x2960x4){MailDisposition[_0xc2fc[19]](_0x2960xf[_0xc2fc[20]])[_0xc2fc[9]](responseWithResult(_0x2960x4,201))[_0xc2fc[13]](handleError(_0x2960x4))};exports[_0xc2fc[21]]=function(_0x2960xf,_0x2960x4){if(_0x2960xf[_0xc2fc[20]][_0xc2fc[16]]){delete _0x2960xf[_0xc2fc[20]][_0xc2fc[16]]};MailDisposition[_0xc2fc[18]](_0x2960xf[_0xc2fc[17]][_0xc2fc[16]])[_0xc2fc[9]](handleEntityNotFound(_0x2960x4))[_0xc2fc[9]](saveUpdates(_0x2960xf[_0xc2fc[20]]))[_0xc2fc[9]](responseWithResult(_0x2960x4))[_0xc2fc[13]](handleError(_0x2960x4))};exports[_0xc2fc[11]]=function(_0x2960xf,_0x2960x4){MailDisposition[_0xc2fc[18]](_0x2960xf[_0xc2fc[17]][_0xc2fc[16]])[_0xc2fc[9]](handleEntityNotFound(_0x2960x4))[_0xc2fc[9]](removeEntity(_0x2960x4))[_0xc2fc[13]](handleError(_0x2960x4))} \ No newline at end of file diff --git a/server/api/mail_disposition/mail_disposition.socket.js b/server/api/mail_disposition/mail_disposition.socket.js index f7a273b..c18662f 100644 --- a/server/api/mail_disposition/mail_disposition.socket.js +++ b/server/api/mail_disposition/mail_disposition.socket.js @@ -1 +1 @@ -var _0xc0c3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x61\x69\x6C\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6D\x61\x69\x6C\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0xc0c3[0];var MailDisposition=require(_0xc0c3[2])[_0xc0c3[1]];exports[_0xc0c3[3]]=function(_0x8dbax2){MailDisposition[_0xc0c3[4]](function(_0x8dbax3){onSave(_0x8dbax2,_0x8dbax3)});MailDisposition[_0xc0c3[5]](function(_0x8dbax3){onRemove(_0x8dbax2,_0x8dbax3)})};function onSave(_0x8dbax2,_0x8dbax3,_0x8dbax5){_0x8dbax2[_0xc0c3[7]](_0xc0c3[6],_0x8dbax3)}function onRemove(_0x8dbax2,_0x8dbax3,_0x8dbax5){_0x8dbax2[_0xc0c3[7]](_0xc0c3[8],_0x8dbax3)} \ No newline at end of file +var _0xea12=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x61\x69\x6C\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6D\x61\x69\x6C\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0xea12[0];var MailDisposition=require(_0xea12[2])[_0xea12[1]];exports[_0xea12[3]]=function(_0xb931x2){MailDisposition[_0xea12[4]](function(_0xb931x3){onSave(_0xb931x2,_0xb931x3)});MailDisposition[_0xea12[5]](function(_0xb931x3){onRemove(_0xb931x2,_0xb931x3)})};function onSave(_0xb931x2,_0xb931x3,_0xb931x5){_0xb931x2[_0xea12[7]](_0xea12[6],_0xb931x3)}function onRemove(_0xb931x2,_0xb931x3,_0xb931x5){_0xb931x2[_0xea12[7]](_0xea12[8],_0xb931x3)} \ No newline at end of file diff --git a/server/api/mail_message/index.js b/server/api/mail_message/index.js index d316f58..3e84844 100644 --- a/server/api/mail_message/index.js +++ b/server/api/mail_message/index.js @@ -1 +1 @@ -var _0xed06=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x4D\x61\x69\x6C","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x2F\x64\x65\x6C\x65\x74\x65\x2F\x62\x75\x6C\x6B","\x62\x75\x6C\x6B\x44\x65\x6C\x65\x74\x65","\x2F\x64\x65\x6C\x65\x74\x65\x2F\x3A\x69\x64","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xed06[0];var express=require(_0xed06[1]);var controller=require(_0xed06[2]);var auth=require(_0xed06[3]);var license=require(_0xed06[4]);var router=express.Router();router[_0xed06[13]](_0xed06[5],license[_0xed06[6]](),license[_0xed06[7]](),auth[_0xed06[8]](),auth[_0xed06[11]]([9],[_0xed06[9],_0xed06[10]]),controller[_0xed06[12]]);router[_0xed06[13]](_0xed06[14],license[_0xed06[6]](),license[_0xed06[7]](),auth[_0xed06[8]](),auth[_0xed06[11]]([9],[_0xed06[9],_0xed06[10]]),controller[_0xed06[15]]);router[_0xed06[17]](_0xed06[5],license[_0xed06[6]](),license[_0xed06[7]](),auth[_0xed06[8]](),auth[_0xed06[11]]([9],[_0xed06[9],_0xed06[10]]),controller[_0xed06[16]]);router[_0xed06[19]](_0xed06[5],license[_0xed06[6]](),license[_0xed06[7]](),auth[_0xed06[8]](),auth[_0xed06[11]]([9],[_0xed06[9],_0xed06[10]]),controller[_0xed06[18]]);router[_0xed06[19]](_0xed06[20],license[_0xed06[6]](),license[_0xed06[7]](),auth[_0xed06[8]](),auth[_0xed06[11]]([9],[_0xed06[9]]),controller[_0xed06[21]]);router[_0xed06[19]](_0xed06[22],license[_0xed06[6]](),license[_0xed06[7]](),auth[_0xed06[8]](),auth[_0xed06[11]]([9],[_0xed06[9]]),controller[_0xed06[18]]);router[_0xed06[19]](_0xed06[14],license[_0xed06[6]](),license[_0xed06[7]](),auth[_0xed06[8]](),auth[_0xed06[11]]([9],[_0xed06[9],_0xed06[10]]),controller[_0xed06[18]]);router[_0xed06[24]](_0xed06[14],license[_0xed06[6]](),license[_0xed06[7]](),auth[_0xed06[8]](),auth[_0xed06[11]]([9],[_0xed06[9]]),controller[_0xed06[23]]);module[_0xed06[25]]=router \ No newline at end of file +var _0xff3e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x4D\x61\x69\x6C","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x2F\x64\x65\x6C\x65\x74\x65\x2F\x62\x75\x6C\x6B","\x62\x75\x6C\x6B\x44\x65\x6C\x65\x74\x65","\x2F\x64\x65\x6C\x65\x74\x65\x2F\x3A\x69\x64","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xff3e[0];var express=require(_0xff3e[1]);var controller=require(_0xff3e[2]);var auth=require(_0xff3e[3]);var license=require(_0xff3e[4]);var router=express.Router();router[_0xff3e[13]](_0xff3e[5],license[_0xff3e[6]](),license[_0xff3e[7]](),auth[_0xff3e[8]](),auth[_0xff3e[11]]([9],[_0xff3e[9],_0xff3e[10]]),controller[_0xff3e[12]]);router[_0xff3e[13]](_0xff3e[14],license[_0xff3e[6]](),license[_0xff3e[7]](),auth[_0xff3e[8]](),auth[_0xff3e[11]]([9],[_0xff3e[9],_0xff3e[10]]),controller[_0xff3e[15]]);router[_0xff3e[17]](_0xff3e[5],license[_0xff3e[6]](),license[_0xff3e[7]](),auth[_0xff3e[8]](),auth[_0xff3e[11]]([9],[_0xff3e[9],_0xff3e[10]]),controller[_0xff3e[16]]);router[_0xff3e[19]](_0xff3e[5],license[_0xff3e[6]](),license[_0xff3e[7]](),auth[_0xff3e[8]](),auth[_0xff3e[11]]([9],[_0xff3e[9],_0xff3e[10]]),controller[_0xff3e[18]]);router[_0xff3e[19]](_0xff3e[20],license[_0xff3e[6]](),license[_0xff3e[7]](),auth[_0xff3e[8]](),auth[_0xff3e[11]]([9],[_0xff3e[9]]),controller[_0xff3e[21]]);router[_0xff3e[19]](_0xff3e[22],license[_0xff3e[6]](),license[_0xff3e[7]](),auth[_0xff3e[8]](),auth[_0xff3e[11]]([9],[_0xff3e[9]]),controller[_0xff3e[18]]);router[_0xff3e[19]](_0xff3e[14],license[_0xff3e[6]](),license[_0xff3e[7]](),auth[_0xff3e[8]](),auth[_0xff3e[11]]([9],[_0xff3e[9],_0xff3e[10]]),controller[_0xff3e[18]]);router[_0xff3e[24]](_0xff3e[14],license[_0xff3e[6]](),license[_0xff3e[7]](),auth[_0xff3e[8]](),auth[_0xff3e[11]]([9],[_0xff3e[9],_0xff3e[10]]),controller[_0xff3e[23]]);module[_0xff3e[25]]=router \ No newline at end of file diff --git a/server/api/mail_message/mail_message.controller.js b/server/api/mail_message/mail_message.controller.js index 7f2e3ad..99e4ad2 100644 --- a/server/api/mail_message/mail_message.controller.js +++ b/server/api/mail_message/mail_message.controller.js @@ -1 +1 @@ -var _0xb23c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x61\x73\x79\x6E\x63","\x68\x74\x6D\x6C\x2D\x74\x6F\x2D\x74\x65\x78\x74","\x66\x6F\x72\x6D\x69\x64\x61\x62\x6C\x65","\x70\x61\x74\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x4D\x61\x69\x6C\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74","\x43\x6F\x6E\x74\x61\x63\x74\x45\x6D\x61\x69\x6C","\x43\x6F\x6E\x74\x61\x63\x74","\x55\x73\x65\x72","\x69\x6E\x64\x65\x78","\x63\x72\x65\x61\x74\x65\x64\x41\x74\x20\x44\x45\x53\x43","\x77\x68\x65\x72\x65","\x71\x75\x65\x72\x79","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65","\x75\x73\x65\x72","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x55\x73\x65\x72\x49\x64","\x62\x6F\x64\x79","\x74\x65\x78\x74","\x68\x74\x6D\x6C","\x66\x72\x6F\x6D\x53\x74\x72\x69\x6E\x67","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x6C\x65\x74\x65","\x54\x52\x41\x53\x48","\x62\x75\x6C\x6B\x55\x70\x64\x61\x74\x65"];_0xb23c[0];var _=require(_0xb23c[1]);var async=require(_0xb23c[2]);var htmlToText=require(_0xb23c[3]);var formidable=require(_0xb23c[4]);var path=require(_0xb23c[5]);var config=require(_0xb23c[6]);var sequelize=require(_0xb23c[8])[_0xb23c[7]];var MailMessage=require(_0xb23c[8])[_0xb23c[9]];var MailAttachment=require(_0xb23c[8])[_0xb23c[10]];var MailRoom=require(_0xb23c[8])[_0xb23c[11]];var MailAccount=require(_0xb23c[8])[_0xb23c[12]];var ContactEmail=require(_0xb23c[8])[_0xb23c[13]];var Contact=require(_0xb23c[8])[_0xb23c[14]];var User=require(_0xb23c[8])[_0xb23c[15]];exports[_0xb23c[16]]=function(_0x5779xf,_0x5779x10,_0x5779x11){var _0x5779x12={order:_0xb23c[17],include:[{all:true,include:[{all:true}]}]};switch(_0x5779xf[_0xb23c[23]][_0xb23c[22]]){case _0xb23c[20]:_0x5779x12[_0xb23c[18]]=_0x5779xf[_0xb23c[19]];break;case _0xb23c[21]:break;default:};return MailMessage[_0xb23c[28]](_0x5779x12)[_0xb23c[27]](function(_0x5779x14){return _0x5779x10[_0xb23c[26]](200)[_0xb23c[25]](_0x5779x14)})[_0xb23c[24]](function(_0x5779x13){return handleError(_0x5779x10,_0x5779x13,_0x5779x11)})};exports[_0xb23c[29]]=function(_0x5779xf,_0x5779x10,_0x5779x11){return MailMessage[_0xb23c[36]](_0x5779xf[_0xb23c[32]][_0xb23c[31]],{include:[{model:MailAttachment},{model:User,attributes:[_0xb23c[31],_0xb23c[33],_0xb23c[34],_0xb23c[35]]}]})[_0xb23c[27]](function(_0x5779x15){if(!_0x5779x15){return _0x5779x10[_0xb23c[30]](404)};return _0x5779x10[_0xb23c[25]](_0x5779x15)})[_0xb23c[24]](function(_0x5779x13){return handleError(_0x5779x10,_0x5779x13,_0x5779x11)})};exports[_0xb23c[37]]=function(_0x5779xf,_0x5779x10,_0x5779x11){_0x5779xf[_0xb23c[39]][_0xb23c[38]]=_0x5779xf[_0xb23c[23]][_0xb23c[31]];_0x5779xf[_0xb23c[39]][_0xb23c[40]]=_0x5779xf[_0xb23c[39]][_0xb23c[40]]||htmlToText[_0xb23c[42]](_0x5779xf[_0xb23c[39]][_0xb23c[41]],{wordwrap:false});return MailMessage[_0xb23c[37]](_0x5779xf[_0xb23c[39]],{include:[{model:MailAttachment}]})[_0xb23c[27]](function(_0x5779x15){return _0x5779x10[_0xb23c[26]](201)[_0xb23c[25]](_0x5779x15)})[_0xb23c[24]](function(_0x5779x13){return handleError(_0x5779x10,_0x5779x13)})};exports[_0xb23c[43]]=function(_0x5779xf,_0x5779x10,_0x5779x11){return MailMessage[_0xb23c[36]](_0x5779xf[_0xb23c[32]][_0xb23c[31]],{include:[{all:true}]})[_0xb23c[27]](function(_0x5779x15){if(!_0x5779x15){return _0x5779x10[_0xb23c[30]](404)};var _0x5779x16=_[_0xb23c[44]](_0x5779x15,_0x5779xf[_0xb23c[39]]);return _0x5779x16[_0xb23c[45]]()})[_0xb23c[27]](function(_0x5779x16){return _0x5779x10[_0xb23c[26]](200)[_0xb23c[25]](_0x5779x16)})[_0xb23c[24]](function(_0x5779x13){return handleError(_0x5779x10,_0x5779x13,_0x5779x11)})};exports[_0xb23c[46]]=function(_0x5779xf,_0x5779x10,_0x5779x11){return MailMessage[_0xb23c[36]](_0x5779xf[_0xb23c[32]][_0xb23c[31]])[_0xb23c[27]](function(_0x5779x15){if(!_0x5779x15){return _0x5779x10[_0xb23c[30]](404)};return _0x5779x15[_0xb23c[46]]()})[_0xb23c[27]](function(){return _0x5779x10[_0xb23c[30]](204)})[_0xb23c[24]](function(_0x5779x13){return handleError(_0x5779x10,_0x5779x13,_0x5779x11)})};exports[_0xb23c[47]]=function(_0x5779xf,_0x5779x10,_0x5779x11){return MailMessage[_0xb23c[49]]({where:{id:{$in:_0x5779xf[_0xb23c[39]][_0xb23c[31]]}},attributes:{directory:_0xb23c[48]}})[_0xb23c[27]](function(_0x5779x15){if(!_0x5779x15){return _0x5779x10[_0xb23c[30]](404)};return _0x5779x15[_0xb23c[46]]()})[_0xb23c[27]](function(){return _0x5779x10[_0xb23c[30]](204)})[_0xb23c[24]](function(_0x5779x13){return handleError(_0x5779x10,_0x5779x13,_0x5779x11)})};function handleError(_0x5779x10,_0x5779x13,_0x5779x11){return _0x5779x10[_0xb23c[26]](500)[_0xb23c[25]](_0x5779x13)} \ No newline at end of file +var _0x4a95=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x61\x73\x79\x6E\x63","\x68\x74\x6D\x6C\x2D\x74\x6F\x2D\x74\x65\x78\x74","\x66\x6F\x72\x6D\x69\x64\x61\x62\x6C\x65","\x70\x61\x74\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x4D\x61\x69\x6C\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74","\x43\x6F\x6E\x74\x61\x63\x74\x45\x6D\x61\x69\x6C","\x43\x6F\x6E\x74\x61\x63\x74","\x55\x73\x65\x72","\x69\x6E\x64\x65\x78","\x63\x72\x65\x61\x74\x65\x64\x41\x74\x20\x44\x45\x53\x43","\x77\x68\x65\x72\x65","\x71\x75\x65\x72\x79","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65","\x75\x73\x65\x72","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x55\x73\x65\x72\x49\x64","\x62\x6F\x64\x79","\x74\x65\x78\x74","\x68\x74\x6D\x6C","\x66\x72\x6F\x6D\x53\x74\x72\x69\x6E\x67","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x6C\x65\x74\x65","\x54\x52\x41\x53\x48","\x62\x75\x6C\x6B\x55\x70\x64\x61\x74\x65"];_0x4a95[0];var _=require(_0x4a95[1]);var async=require(_0x4a95[2]);var htmlToText=require(_0x4a95[3]);var formidable=require(_0x4a95[4]);var path=require(_0x4a95[5]);var config=require(_0x4a95[6]);var sequelize=require(_0x4a95[8])[_0x4a95[7]];var MailMessage=require(_0x4a95[8])[_0x4a95[9]];var MailAttachment=require(_0x4a95[8])[_0x4a95[10]];var MailRoom=require(_0x4a95[8])[_0x4a95[11]];var MailAccount=require(_0x4a95[8])[_0x4a95[12]];var ContactEmail=require(_0x4a95[8])[_0x4a95[13]];var Contact=require(_0x4a95[8])[_0x4a95[14]];var User=require(_0x4a95[8])[_0x4a95[15]];exports[_0x4a95[16]]=function(_0xec36xf,_0xec36x10,_0xec36x11){var _0xec36x12={order:_0x4a95[17],include:[{all:true,include:[{all:true}]}]};switch(_0xec36xf[_0x4a95[23]][_0x4a95[22]]){case _0x4a95[20]:_0xec36x12[_0x4a95[18]]=_0xec36xf[_0x4a95[19]];break;case _0x4a95[21]:break;default:};return MailMessage[_0x4a95[28]](_0xec36x12)[_0x4a95[27]](function(_0xec36x14){return _0xec36x10[_0x4a95[26]](200)[_0x4a95[25]](_0xec36x14)})[_0x4a95[24]](function(_0xec36x13){return handleError(_0xec36x10,_0xec36x13,_0xec36x11)})};exports[_0x4a95[29]]=function(_0xec36xf,_0xec36x10,_0xec36x11){return MailMessage[_0x4a95[36]](_0xec36xf[_0x4a95[32]][_0x4a95[31]],{include:[{model:MailAttachment},{model:User,attributes:[_0x4a95[31],_0x4a95[33],_0x4a95[34],_0x4a95[35]]}]})[_0x4a95[27]](function(_0xec36x15){if(!_0xec36x15){return _0xec36x10[_0x4a95[30]](404)};return _0xec36x10[_0x4a95[25]](_0xec36x15)})[_0x4a95[24]](function(_0xec36x13){return handleError(_0xec36x10,_0xec36x13,_0xec36x11)})};exports[_0x4a95[37]]=function(_0xec36xf,_0xec36x10,_0xec36x11){_0xec36xf[_0x4a95[39]][_0x4a95[38]]=_0xec36xf[_0x4a95[23]][_0x4a95[31]];_0xec36xf[_0x4a95[39]][_0x4a95[40]]=_0xec36xf[_0x4a95[39]][_0x4a95[40]]||htmlToText[_0x4a95[42]](_0xec36xf[_0x4a95[39]][_0x4a95[41]],{wordwrap:false});return MailMessage[_0x4a95[37]](_0xec36xf[_0x4a95[39]],{include:[{model:MailAttachment}]})[_0x4a95[27]](function(_0xec36x15){return _0xec36x10[_0x4a95[26]](201)[_0x4a95[25]](_0xec36x15)})[_0x4a95[24]](function(_0xec36x13){return handleError(_0xec36x10,_0xec36x13)})};exports[_0x4a95[43]]=function(_0xec36xf,_0xec36x10,_0xec36x11){return MailMessage[_0x4a95[36]](_0xec36xf[_0x4a95[32]][_0x4a95[31]],{include:[{all:true}]})[_0x4a95[27]](function(_0xec36x15){if(!_0xec36x15){return _0xec36x10[_0x4a95[30]](404)};var _0xec36x16=_[_0x4a95[44]](_0xec36x15,_0xec36xf[_0x4a95[39]]);return _0xec36x16[_0x4a95[45]]()})[_0x4a95[27]](function(_0xec36x16){return _0xec36x10[_0x4a95[26]](200)[_0x4a95[25]](_0xec36x16)})[_0x4a95[24]](function(_0xec36x13){return handleError(_0xec36x10,_0xec36x13,_0xec36x11)})};exports[_0x4a95[46]]=function(_0xec36xf,_0xec36x10,_0xec36x11){return MailMessage[_0x4a95[36]](_0xec36xf[_0x4a95[32]][_0x4a95[31]])[_0x4a95[27]](function(_0xec36x15){if(!_0xec36x15){return _0xec36x10[_0x4a95[30]](404)};return _0xec36x15[_0x4a95[46]]()})[_0x4a95[27]](function(){return _0xec36x10[_0x4a95[30]](204)})[_0x4a95[24]](function(_0xec36x13){return handleError(_0xec36x10,_0xec36x13,_0xec36x11)})};exports[_0x4a95[47]]=function(_0xec36xf,_0xec36x10,_0xec36x11){return MailMessage[_0x4a95[49]]({where:{id:{$in:_0xec36xf[_0x4a95[39]][_0x4a95[31]]}},attributes:{directory:_0x4a95[48]}})[_0x4a95[27]](function(_0xec36x15){if(!_0xec36x15){return _0xec36x10[_0x4a95[30]](404)};return _0xec36x15[_0x4a95[46]]()})[_0x4a95[27]](function(){return _0xec36x10[_0x4a95[30]](204)})[_0x4a95[24]](function(_0xec36x13){return handleError(_0xec36x10,_0xec36x13,_0xec36x11)})};function handleError(_0xec36x10,_0xec36x13,_0xec36x11){return _0xec36x10[_0x4a95[26]](500)[_0x4a95[25]](_0xec36x13)} \ No newline at end of file diff --git a/server/api/mail_message/mail_message.socket.js b/server/api/mail_message/mail_message.socket.js index 1ab5a0e..95299c5 100644 --- a/server/api/mail_message/mail_message.socket.js +++ b/server/api/mail_message/mail_message.socket.js @@ -1 +1 @@ -var _0x4787=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x4787[0];var MailMessage=require(_0x4787[2])[_0x4787[1]];exports[_0x4787[3]]=function(_0x6326x2){MailMessage[_0x4787[4]](function(_0x6326x3){onSave(_0x6326x2,_0x6326x3)});MailMessage[_0x4787[5]](function(_0x6326x3){onSave(_0x6326x2,_0x6326x3)});MailMessage[_0x4787[6]](function(_0x6326x3){onRemove(_0x6326x2,_0x6326x3)})};function onSave(_0x6326x2,_0x6326x3,_0x6326x5){_0x6326x2[_0x4787[8]](_0x4787[7],_0x6326x3)}function onRemove(_0x6326x2,_0x6326x3,_0x6326x5){_0x6326x2[_0x4787[8]](_0x4787[9],_0x6326x3)} \ No newline at end of file +var _0x103b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x103b[0];var MailMessage=require(_0x103b[2])[_0x103b[1]];exports[_0x103b[3]]=function(_0x49e9x2){MailMessage[_0x103b[4]](function(_0x49e9x3){onSave(_0x49e9x2,_0x49e9x3)});MailMessage[_0x103b[5]](function(_0x49e9x3){onSave(_0x49e9x2,_0x49e9x3)});MailMessage[_0x103b[6]](function(_0x49e9x3){onRemove(_0x49e9x2,_0x49e9x3)})};function onSave(_0x49e9x2,_0x49e9x3,_0x49e9x5){_0x49e9x2[_0x103b[8]](_0x103b[7],_0x49e9x3)}function onRemove(_0x49e9x2,_0x49e9x3,_0x49e9x5){_0x49e9x2[_0x103b[8]](_0x103b[9],_0x49e9x3)} \ No newline at end of file diff --git a/server/api/mail_queue/index.js b/server/api/mail_queue/index.js index eb9c3a9..6743fbd 100644 --- a/server/api/mail_queue/index.js +++ b/server/api/mail_queue/index.js @@ -1 +1 @@ -var _0x5bd4=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x4D\x61\x69\x6C","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x61\x67\x65\x6E\x74\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x65\x78\x70\x6F\x72\x74\x73"];_0x5bd4[0];var express=require(_0x5bd4[1]);var controller=require(_0x5bd4[2]);var auth=require(_0x5bd4[3]);var license=require(_0x5bd4[4]);var router=express.Router();router[_0x5bd4[12]](_0x5bd4[5],license[_0x5bd4[6]](),license[_0x5bd4[7]](),auth[_0x5bd4[8]](),auth[_0x5bd4[10]]([9],[_0x5bd4[9]]),controller[_0x5bd4[11]]);router[_0x5bd4[12]](_0x5bd4[13],license[_0x5bd4[6]](),license[_0x5bd4[7]](),auth[_0x5bd4[8]](),auth[_0x5bd4[10]]([9],[_0x5bd4[9]]),controller[_0x5bd4[14]]);router[_0x5bd4[12]](_0x5bd4[15],license[_0x5bd4[6]](),license[_0x5bd4[7]](),auth[_0x5bd4[8]](),auth[_0x5bd4[10]]([9],[_0x5bd4[9]]),controller[_0x5bd4[16]]);router[_0x5bd4[18]](_0x5bd4[5],license[_0x5bd4[6]](),license[_0x5bd4[7]](),auth[_0x5bd4[8]](),auth[_0x5bd4[10]]([9],[_0x5bd4[9]]),controller[_0x5bd4[17]]);router[_0x5bd4[18]](_0x5bd4[15],license[_0x5bd4[6]](),license[_0x5bd4[7]](),auth[_0x5bd4[8]](),auth[_0x5bd4[10]]([9],[_0x5bd4[9]]),controller[_0x5bd4[19]]);router[_0x5bd4[21]](_0x5bd4[13],license[_0x5bd4[6]](),license[_0x5bd4[7]](),auth[_0x5bd4[8]](),auth[_0x5bd4[10]]([9],[_0x5bd4[9]]),controller[_0x5bd4[20]]);router[_0x5bd4[23]](_0x5bd4[5],license[_0x5bd4[6]](),license[_0x5bd4[7]](),auth[_0x5bd4[8]](),auth[_0x5bd4[10]]([9],[_0x5bd4[9]]),controller[_0x5bd4[22]]);router[_0x5bd4[23]](_0x5bd4[13],license[_0x5bd4[6]](),license[_0x5bd4[7]](),auth[_0x5bd4[8]](),auth[_0x5bd4[10]]([9],[_0x5bd4[9]]),controller[_0x5bd4[24]]);router[_0x5bd4[23]](_0x5bd4[15],license[_0x5bd4[6]](),license[_0x5bd4[7]](),auth[_0x5bd4[8]](),auth[_0x5bd4[10]]([9],[_0x5bd4[9]]),controller[_0x5bd4[25]]);module[_0x5bd4[26]]=router \ No newline at end of file +var _0x939c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x4D\x61\x69\x6C","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x61\x67\x65\x6E\x74\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x65\x78\x70\x6F\x72\x74\x73"];_0x939c[0];var express=require(_0x939c[1]);var controller=require(_0x939c[2]);var auth=require(_0x939c[3]);var license=require(_0x939c[4]);var router=express.Router();router[_0x939c[12]](_0x939c[5],license[_0x939c[6]](),license[_0x939c[7]](),auth[_0x939c[8]](),auth[_0x939c[10]]([9],[_0x939c[9]]),controller[_0x939c[11]]);router[_0x939c[12]](_0x939c[13],license[_0x939c[6]](),license[_0x939c[7]](),auth[_0x939c[8]](),auth[_0x939c[10]]([9],[_0x939c[9]]),controller[_0x939c[14]]);router[_0x939c[12]](_0x939c[15],license[_0x939c[6]](),license[_0x939c[7]](),auth[_0x939c[8]](),auth[_0x939c[10]]([9],[_0x939c[9]]),controller[_0x939c[16]]);router[_0x939c[18]](_0x939c[5],license[_0x939c[6]](),license[_0x939c[7]](),auth[_0x939c[8]](),auth[_0x939c[10]]([9],[_0x939c[9]]),controller[_0x939c[17]]);router[_0x939c[18]](_0x939c[15],license[_0x939c[6]](),license[_0x939c[7]](),auth[_0x939c[8]](),auth[_0x939c[10]]([9],[_0x939c[9]]),controller[_0x939c[19]]);router[_0x939c[21]](_0x939c[13],license[_0x939c[6]](),license[_0x939c[7]](),auth[_0x939c[8]](),auth[_0x939c[10]]([9],[_0x939c[9]]),controller[_0x939c[20]]);router[_0x939c[23]](_0x939c[5],license[_0x939c[6]](),license[_0x939c[7]](),auth[_0x939c[8]](),auth[_0x939c[10]]([9],[_0x939c[9]]),controller[_0x939c[22]]);router[_0x939c[23]](_0x939c[13],license[_0x939c[6]](),license[_0x939c[7]](),auth[_0x939c[8]](),auth[_0x939c[10]]([9],[_0x939c[9]]),controller[_0x939c[24]]);router[_0x939c[23]](_0x939c[15],license[_0x939c[6]](),license[_0x939c[7]](),auth[_0x939c[8]](),auth[_0x939c[10]]([9],[_0x939c[9]]),controller[_0x939c[25]]);module[_0x939c[26]]=router \ No newline at end of file diff --git a/server/api/mail_queue/mail_queue.controller.js b/server/api/mail_queue/mail_queue.controller.js index 1397fe9..d96b136 100644 --- a/server/api/mail_queue/mail_queue.controller.js +++ b/server/api/mail_queue/mail_queue.controller.js @@ -1 +1 @@ -var _0x2aea=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x55\x73\x65\x72","\x55\x73\x65\x72\x48\x61\x73\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x69\x64","\x75\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x66\x61\x75\x6C\x74","\x73\x63\x6F\x70\x65","\x72\x6F\x6C\x65","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x70\x61\x72\x61\x6D\x73","\x63\x72\x65\x61\x74\x65","\x68\x61\x6E\x64\x6C\x65\x55\x6E\x69\x71\x75\x65\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x45\x72\x72\x6F\x72","\x65\x72\x72\x6F\x72\x4D\x61\x6E\x61\x67\x65\x72","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x61\x67\x65\x6E\x74\x73","\x70\x65\x6E\x61\x6C\x74\x79","\x6E\x61\x6D\x65","\x6D\x61\x70","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x72\x65\x6D\x6F\x76\x65\x55\x73\x65\x72\x73","\x64\x65\x73\x74\x72\x6F\x79","\x65\x72\x72","\x65\x72\x72\x6F\x72","\x71\x75\x65\x75\x65","\x68\x61\x6E\x64\x6C\x65\x46\x6F\x72\x65\x69\x67\x6E\x4B\x65\x79\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x45\x72\x72\x6F\x72","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x6C\x65\x6E\x67\x74\x68","\x61\x67\x65\x6E\x74","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x67\x65\x74\x55\x73\x65\x72\x73"];_0x2aea[0];var _=require(_0x2aea[1]);var util=require(_0x2aea[2]);var Util=require(_0x2aea[3]);var sequelize=require(_0x2aea[5])[_0x2aea[4]];var MailQueue=require(_0x2aea[5])[_0x2aea[6]];var User=require(_0x2aea[5])[_0x2aea[7]];var UserHasMailQueue=require(_0x2aea[5])[_0x2aea[8]];exports[_0x2aea[9]]=function(_0xcb00x8,_0xcb00x9){switch(_0xcb00x8[_0x2aea[17]][_0x2aea[23]]){case _0x2aea[17]:return User[_0x2aea[18]](_0xcb00x8[_0x2aea[17]][_0x2aea[16]],{attributes:[_0x2aea[16]]})[_0x2aea[13]](Util[_0x2aea[15]](_0xcb00x8[_0x2aea[14]]))[_0x2aea[13]](function(_0xcb00xb){_0xcb00x9[_0x2aea[12]](200)[_0x2aea[11]](_0xcb00xb)})[_0x2aea[10]](function(_0xcb00xa){return handleError(_0xcb00x9,_0xcb00xa)});default:return MailQueue[_0x2aea[22]](_0x2aea[21])[_0x2aea[20]](Util[_0x2aea[19]](_0xcb00x8[_0x2aea[14]]))[_0x2aea[13]](function(_0xcb00xb){_0xcb00x9[_0x2aea[12]](200)[_0x2aea[11]](_0xcb00xb)})[_0x2aea[10]](function(_0xcb00xa){return handleError(_0xcb00x9,_0xcb00xa)})}};exports[_0x2aea[24]]=function(_0xcb00x8,_0xcb00x9){return MailQueue[_0x2aea[22]](_0x2aea[21])[_0x2aea[18]](_0xcb00x8[_0x2aea[26]][_0x2aea[16]])[_0x2aea[13]](function(_0xcb00xc){if(!_0xcb00xc){return _0xcb00x9[_0x2aea[25]](404)};return _0xcb00x9[_0x2aea[11]](_0xcb00xc)})[_0x2aea[10]](function(_0xcb00xa){return handleError(_0xcb00x9,_0xcb00xa)})};exports[_0x2aea[27]]=function(_0xcb00x8,_0xcb00x9){return MailQueue[_0x2aea[27]](_0xcb00x8[_0x2aea[30]])[_0x2aea[13]](function(_0xcb00xc){return _0xcb00x9[_0x2aea[12]](201)[_0x2aea[11]](_0xcb00xc)})[_0x2aea[10]](sequelize.UniqueConstraintError,function(_0xcb00xa){return Util[_0x2aea[29]][_0x2aea[28]](_0xcb00x9,_0xcb00xa)})[_0x2aea[10]](function(_0xcb00xa){return handleError(_0xcb00x9,_0xcb00xa)})};exports[_0x2aea[31]]=function(_0xcb00x8,_0xcb00x9){if(_0xcb00x8[_0x2aea[30]][_0x2aea[16]]){delete _0xcb00x8[_0x2aea[30]][_0x2aea[16]]};return MailQueue[_0x2aea[18]](_0xcb00x8[_0x2aea[26]][_0x2aea[16]])[_0x2aea[13]](function(_0xcb00xc){if(!_0xcb00xc){return _0xcb00x9[_0x2aea[25]](404)};var _0xcb00xd=_[_0x2aea[32]](_0xcb00xc,_0xcb00x8[_0x2aea[30]]);return _0xcb00xd[_0x2aea[33]]()})[_0x2aea[13]](function(_0xcb00xc){return _0xcb00x9[_0x2aea[12]](200)[_0x2aea[11]](_0xcb00xc)})[_0x2aea[10]](sequelize.UniqueConstraintError,function(_0xcb00xa){return Util[_0x2aea[29]][_0x2aea[28]](_0xcb00x9,_0xcb00xa)})[_0x2aea[10]](function(_0xcb00xa){return handleError(_0xcb00x9,_0xcb00xa)})};exports[_0x2aea[34]]=function(_0xcb00x8,_0xcb00x9,_0xcb00xe){return MailQueue[_0x2aea[18]](_0xcb00x8[_0x2aea[26]][_0x2aea[16]])[_0x2aea[13]](function(_0xcb00xc){if(!_0xcb00xc){return _0xcb00x9[_0x2aea[25]](404)};var _0xcb00xf=_[_0x2aea[38]](_0xcb00x8[_0x2aea[30]][_0x2aea[35]],function(_0xcb00x10){return {UserId:_0xcb00x10,penalty:_0xcb00x8[_0x2aea[30]][_0x2aea[36]],MailQueueId:_0xcb00xc[_0x2aea[16]],queue:_0xcb00xc[_0x2aea[37]]}});return UserHasMailQueue[_0x2aea[39]](_0xcb00xf,{individualHooks:true})})[_0x2aea[13]](function(){return _0xcb00x9[_0x2aea[25]](200)})[_0x2aea[10]](function(_0xcb00xa){return handleError(_0xcb00x9,_0xcb00xa)})};exports[_0x2aea[40]]=function(_0xcb00x8,_0xcb00x9){return MailQueue[_0x2aea[18]](_0xcb00x8[_0x2aea[26]][_0x2aea[16]])[_0x2aea[13]](function(_0xcb00x11){if(!_0xcb00x11){return _0xcb00x9[_0x2aea[25]](404)};return _0xcb00x11[_0x2aea[41]](_0xcb00x8[_0x2aea[14]][_0x2aea[35]],{individualHooks:true})})[_0x2aea[13]](function(){return _0xcb00x9[_0x2aea[25]](200)})[_0x2aea[10]](function(_0xcb00xa){return handleError(_0xcb00x9,_0xcb00xa)})};exports[_0x2aea[42]]=function(_0xcb00x8,_0xcb00x9){var _0xcb00x12;return MailQueue[_0x2aea[18]](_0xcb00x8[_0x2aea[26]][_0x2aea[16]])[_0x2aea[13]](function(_0xcb00xc){_0xcb00x12=_0xcb00xc;if(!_0xcb00xc){return _0xcb00x9[_0x2aea[25]](404)};return _0xcb00xc[_0x2aea[42]]()})[_0x2aea[13]](function(){return _0xcb00x9[_0x2aea[25]](204)})[_0x2aea[10]](sequelize.ForeignKeyConstraintError,function(_0xcb00xa){return Util[_0x2aea[29]][_0x2aea[46]](_0xcb00x9,_0x2aea[45],_0xcb00x12[_0x2aea[37]],_0xcb00xa)})[_0x2aea[10]](function(_0xcb00xa){console[_0x2aea[44]](_0x2aea[43],_0xcb00xa);return handleError(_0xcb00x9,_0xcb00xa)})};exports[_0x2aea[47]]=function(_0xcb00x8,_0xcb00x9){return MailQueue[_0x2aea[42]]({where:{id:_0xcb00x8[_0x2aea[14]][_0x2aea[48]]},individualHooks:true})[_0x2aea[13]](function(){return _0xcb00x9[_0x2aea[25]](204)})[_0x2aea[10]](function(_0xcb00xa){return handleError(_0xcb00x9,_0xcb00xa)})};exports[_0x2aea[49]]=function(_0xcb00x8,_0xcb00x9){return MailQueue[_0x2aea[18]](_0xcb00x8[_0x2aea[26]][_0x2aea[16]])[_0x2aea[13]](function(_0xcb00x11){if(!_0xcb00x11){return _0xcb00x9[_0x2aea[25]](404)};return _0xcb00x11[_0x2aea[54]]({where:{role:_0x2aea[51]},attributes:[_0x2aea[16],_0x2aea[37],_0x2aea[52],_0x2aea[53]]})})[_0x2aea[13]](function(_0xcb00x13){return _0xcb00x9[_0x2aea[12]](200)[_0x2aea[11]]({rows:_0xcb00x13,count:_0xcb00x13[_0x2aea[50]]})})[_0x2aea[10]](function(_0xcb00xa){return handleError(_0xcb00x9,_0xcb00xa)})};function handleError(_0xcb00x9,_0xcb00xa){return _0xcb00x9[_0x2aea[12]](500)[_0x2aea[11]](_0xcb00xa)} \ No newline at end of file +var _0x9266=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x55\x73\x65\x72","\x55\x73\x65\x72\x48\x61\x73\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x69\x64","\x75\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x66\x61\x75\x6C\x74","\x73\x63\x6F\x70\x65","\x72\x6F\x6C\x65","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x70\x61\x72\x61\x6D\x73","\x63\x72\x65\x61\x74\x65","\x68\x61\x6E\x64\x6C\x65\x55\x6E\x69\x71\x75\x65\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x45\x72\x72\x6F\x72","\x65\x72\x72\x6F\x72\x4D\x61\x6E\x61\x67\x65\x72","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x61\x67\x65\x6E\x74\x73","\x70\x65\x6E\x61\x6C\x74\x79","\x6E\x61\x6D\x65","\x6D\x61\x70","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x72\x65\x6D\x6F\x76\x65\x55\x73\x65\x72\x73","\x64\x65\x73\x74\x72\x6F\x79","\x65\x72\x72","\x65\x72\x72\x6F\x72","\x71\x75\x65\x75\x65","\x68\x61\x6E\x64\x6C\x65\x46\x6F\x72\x65\x69\x67\x6E\x4B\x65\x79\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x45\x72\x72\x6F\x72","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x6C\x65\x6E\x67\x74\x68","\x61\x67\x65\x6E\x74","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x67\x65\x74\x55\x73\x65\x72\x73"];_0x9266[0];var _=require(_0x9266[1]);var util=require(_0x9266[2]);var Util=require(_0x9266[3]);var sequelize=require(_0x9266[5])[_0x9266[4]];var MailQueue=require(_0x9266[5])[_0x9266[6]];var User=require(_0x9266[5])[_0x9266[7]];var UserHasMailQueue=require(_0x9266[5])[_0x9266[8]];exports[_0x9266[9]]=function(_0xe7e4x8,_0xe7e4x9){switch(_0xe7e4x8[_0x9266[17]][_0x9266[23]]){case _0x9266[17]:return User[_0x9266[18]](_0xe7e4x8[_0x9266[17]][_0x9266[16]],{attributes:[_0x9266[16]]})[_0x9266[13]](Util[_0x9266[15]](_0xe7e4x8[_0x9266[14]]))[_0x9266[13]](function(_0xe7e4xb){_0xe7e4x9[_0x9266[12]](200)[_0x9266[11]](_0xe7e4xb)})[_0x9266[10]](function(_0xe7e4xa){return handleError(_0xe7e4x9,_0xe7e4xa)});default:return MailQueue[_0x9266[22]](_0x9266[21])[_0x9266[20]](Util[_0x9266[19]](_0xe7e4x8[_0x9266[14]]))[_0x9266[13]](function(_0xe7e4xb){_0xe7e4x9[_0x9266[12]](200)[_0x9266[11]](_0xe7e4xb)})[_0x9266[10]](function(_0xe7e4xa){return handleError(_0xe7e4x9,_0xe7e4xa)})}};exports[_0x9266[24]]=function(_0xe7e4x8,_0xe7e4x9){return MailQueue[_0x9266[22]](_0x9266[21])[_0x9266[18]](_0xe7e4x8[_0x9266[26]][_0x9266[16]])[_0x9266[13]](function(_0xe7e4xc){if(!_0xe7e4xc){return _0xe7e4x9[_0x9266[25]](404)};return _0xe7e4x9[_0x9266[11]](_0xe7e4xc)})[_0x9266[10]](function(_0xe7e4xa){return handleError(_0xe7e4x9,_0xe7e4xa)})};exports[_0x9266[27]]=function(_0xe7e4x8,_0xe7e4x9){return MailQueue[_0x9266[27]](_0xe7e4x8[_0x9266[30]])[_0x9266[13]](function(_0xe7e4xc){return _0xe7e4x9[_0x9266[12]](201)[_0x9266[11]](_0xe7e4xc)})[_0x9266[10]](sequelize.UniqueConstraintError,function(_0xe7e4xa){return Util[_0x9266[29]][_0x9266[28]](_0xe7e4x9,_0xe7e4xa)})[_0x9266[10]](function(_0xe7e4xa){return handleError(_0xe7e4x9,_0xe7e4xa)})};exports[_0x9266[31]]=function(_0xe7e4x8,_0xe7e4x9){if(_0xe7e4x8[_0x9266[30]][_0x9266[16]]){delete _0xe7e4x8[_0x9266[30]][_0x9266[16]]};return MailQueue[_0x9266[18]](_0xe7e4x8[_0x9266[26]][_0x9266[16]])[_0x9266[13]](function(_0xe7e4xc){if(!_0xe7e4xc){return _0xe7e4x9[_0x9266[25]](404)};var _0xe7e4xd=_[_0x9266[32]](_0xe7e4xc,_0xe7e4x8[_0x9266[30]]);return _0xe7e4xd[_0x9266[33]]()})[_0x9266[13]](function(_0xe7e4xc){return _0xe7e4x9[_0x9266[12]](200)[_0x9266[11]](_0xe7e4xc)})[_0x9266[10]](sequelize.UniqueConstraintError,function(_0xe7e4xa){return Util[_0x9266[29]][_0x9266[28]](_0xe7e4x9,_0xe7e4xa)})[_0x9266[10]](function(_0xe7e4xa){return handleError(_0xe7e4x9,_0xe7e4xa)})};exports[_0x9266[34]]=function(_0xe7e4x8,_0xe7e4x9,_0xe7e4xe){return MailQueue[_0x9266[18]](_0xe7e4x8[_0x9266[26]][_0x9266[16]])[_0x9266[13]](function(_0xe7e4xc){if(!_0xe7e4xc){return _0xe7e4x9[_0x9266[25]](404)};var _0xe7e4xf=_[_0x9266[38]](_0xe7e4x8[_0x9266[30]][_0x9266[35]],function(_0xe7e4x10){return {UserId:_0xe7e4x10,penalty:_0xe7e4x8[_0x9266[30]][_0x9266[36]],MailQueueId:_0xe7e4xc[_0x9266[16]],queue:_0xe7e4xc[_0x9266[37]]}});return UserHasMailQueue[_0x9266[39]](_0xe7e4xf,{individualHooks:true})})[_0x9266[13]](function(){return _0xe7e4x9[_0x9266[25]](200)})[_0x9266[10]](function(_0xe7e4xa){return handleError(_0xe7e4x9,_0xe7e4xa)})};exports[_0x9266[40]]=function(_0xe7e4x8,_0xe7e4x9){return MailQueue[_0x9266[18]](_0xe7e4x8[_0x9266[26]][_0x9266[16]])[_0x9266[13]](function(_0xe7e4x11){if(!_0xe7e4x11){return _0xe7e4x9[_0x9266[25]](404)};return _0xe7e4x11[_0x9266[41]](_0xe7e4x8[_0x9266[14]][_0x9266[35]],{individualHooks:true})})[_0x9266[13]](function(){return _0xe7e4x9[_0x9266[25]](200)})[_0x9266[10]](function(_0xe7e4xa){return handleError(_0xe7e4x9,_0xe7e4xa)})};exports[_0x9266[42]]=function(_0xe7e4x8,_0xe7e4x9){var _0xe7e4x12;return MailQueue[_0x9266[18]](_0xe7e4x8[_0x9266[26]][_0x9266[16]])[_0x9266[13]](function(_0xe7e4xc){_0xe7e4x12=_0xe7e4xc;if(!_0xe7e4xc){return _0xe7e4x9[_0x9266[25]](404)};return _0xe7e4xc[_0x9266[42]]()})[_0x9266[13]](function(){return _0xe7e4x9[_0x9266[25]](204)})[_0x9266[10]](sequelize.ForeignKeyConstraintError,function(_0xe7e4xa){return Util[_0x9266[29]][_0x9266[46]](_0xe7e4x9,_0x9266[45],_0xe7e4x12[_0x9266[37]],_0xe7e4xa)})[_0x9266[10]](function(_0xe7e4xa){console[_0x9266[44]](_0x9266[43],_0xe7e4xa);return handleError(_0xe7e4x9,_0xe7e4xa)})};exports[_0x9266[47]]=function(_0xe7e4x8,_0xe7e4x9){return MailQueue[_0x9266[42]]({where:{id:_0xe7e4x8[_0x9266[14]][_0x9266[48]]},individualHooks:true})[_0x9266[13]](function(){return _0xe7e4x9[_0x9266[25]](204)})[_0x9266[10]](function(_0xe7e4xa){return handleError(_0xe7e4x9,_0xe7e4xa)})};exports[_0x9266[49]]=function(_0xe7e4x8,_0xe7e4x9){return MailQueue[_0x9266[18]](_0xe7e4x8[_0x9266[26]][_0x9266[16]])[_0x9266[13]](function(_0xe7e4x11){if(!_0xe7e4x11){return _0xe7e4x9[_0x9266[25]](404)};return _0xe7e4x11[_0x9266[54]]({where:{role:_0x9266[51]},attributes:[_0x9266[16],_0x9266[37],_0x9266[52],_0x9266[53]]})})[_0x9266[13]](function(_0xe7e4x13){return _0xe7e4x9[_0x9266[12]](200)[_0x9266[11]]({rows:_0xe7e4x13,count:_0xe7e4x13[_0x9266[50]]})})[_0x9266[10]](function(_0xe7e4xa){return handleError(_0xe7e4x9,_0xe7e4xa)})};function handleError(_0xe7e4x9,_0xe7e4xa){return _0xe7e4x9[_0x9266[12]](500)[_0x9266[11]](_0xe7e4xa)} \ No newline at end of file diff --git a/server/api/mail_queue/mail_queue.socket.js b/server/api/mail_queue/mail_queue.socket.js index f4ed596..24d9c41 100644 --- a/server/api/mail_queue/mail_queue.socket.js +++ b/server/api/mail_queue/mail_queue.socket.js @@ -1 +1 @@ -var _0x2241=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x2241[0];var MailQueue=require(_0x2241[2])[_0x2241[1]];exports[_0x2241[3]]=function(_0x7fd7x2){MailQueue[_0x2241[4]](function(_0x7fd7x3){onSave(_0x7fd7x2,_0x7fd7x3)});MailQueue[_0x2241[5]](function(_0x7fd7x3){onRemove(_0x7fd7x2,_0x7fd7x3)})};function onSave(_0x7fd7x2,_0x7fd7x3,_0x7fd7x5){_0x7fd7x2[_0x2241[7]](_0x2241[6],_0x7fd7x3)}function onRemove(_0x7fd7x2,_0x7fd7x3,_0x7fd7x5){_0x7fd7x2[_0x2241[7]](_0x2241[8],_0x7fd7x3)} \ No newline at end of file +var _0x9614=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x9614[0];var MailQueue=require(_0x9614[2])[_0x9614[1]];exports[_0x9614[3]]=function(_0x66cfx2){MailQueue[_0x9614[4]](function(_0x66cfx3){onSave(_0x66cfx2,_0x66cfx3)});MailQueue[_0x9614[5]](function(_0x66cfx3){onRemove(_0x66cfx2,_0x66cfx3)})};function onSave(_0x66cfx2,_0x66cfx3,_0x66cfx5){_0x66cfx2[_0x9614[7]](_0x9614[6],_0x66cfx3)}function onRemove(_0x66cfx2,_0x66cfx3,_0x66cfx5){_0x66cfx2[_0x9614[7]](_0x9614[8],_0x66cfx3)} \ No newline at end of file diff --git a/server/api/mail_room/index.js b/server/api/mail_room/index.js index a1b1b88..86cb2fa 100644 --- a/server/api/mail_room/index.js +++ b/server/api/mail_room/index.js @@ -1 +1 @@ -var _0xe242=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x4D\x61\x69\x6C","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x69\x6E\x62\x6F\x78","\x61\x67\x65\x6E\x74","\x69\x6E\x62\x6F\x78","\x2F\x61\x67\x65\x6E\x74\x2F\x3A\x69\x64","\x61\x67\x65\x6E\x74\x49\x6E\x64\x65\x78","\x2F\x6D\x65\x73\x73\x61\x67\x65\x73\x2F\x3A\x69\x64","\x67\x65\x74\x52\x6F\x6F\x6D\x42\x79\x4D\x65\x73\x73\x61\x67\x65","\x2F\x3A\x69\x64","\x75\x73\x65\x72","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x61\x67\x65\x6E\x74\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x3A\x69\x64\x2F\x6D\x65\x73\x73\x61\x67\x65\x73","\x63\x72\x65\x61\x74\x65\x4D\x65\x73\x73\x61\x67\x65","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x75\x70\x64\x61\x74\x65\x50\x61\x74\x63\x68","\x70\x61\x74\x63\x68","\x75\x70\x64\x61\x74\x65\x41\x67\x65\x6E\x74\x73","\x2F\x3A\x69\x64\x2F\x6F\x70\x65\x6E","\x6F\x70\x65\x6E","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0xe242[0];var express=require(_0xe242[1]);var controller=require(_0xe242[2]);var auth=require(_0xe242[3]);var license=require(_0xe242[4]);var router=express.Router();router[_0xe242[12]](_0xe242[5],license[_0xe242[6]](),license[_0xe242[7]](),auth[_0xe242[8]](),auth[_0xe242[10]]([9],[_0xe242[9]]),controller[_0xe242[11]]);router[_0xe242[12]](_0xe242[13],license[_0xe242[6]](),license[_0xe242[7]](),auth[_0xe242[8]](),auth[_0xe242[10]]([9],[_0xe242[9],_0xe242[14]]),controller[_0xe242[15]]);router[_0xe242[12]](_0xe242[16],license[_0xe242[6]](),license[_0xe242[7]](),auth[_0xe242[8]](),auth[_0xe242[10]]([9],[_0xe242[9]]),controller[_0xe242[17]]);router[_0xe242[12]](_0xe242[18],license[_0xe242[6]](),license[_0xe242[7]](),auth[_0xe242[8]](),auth[_0xe242[10]]([9],[_0xe242[9],_0xe242[14]]),controller[_0xe242[19]]);router[_0xe242[12]](_0xe242[20],license[_0xe242[6]](),license[_0xe242[7]](),auth[_0xe242[8]](),auth[_0xe242[10]]([9],[_0xe242[9],_0xe242[21],_0xe242[14]]),controller[_0xe242[22]]);router[_0xe242[12]](_0xe242[23],license[_0xe242[6]](),license[_0xe242[7]](),auth[_0xe242[8]](),auth[_0xe242[10]]([9],[_0xe242[9],_0xe242[14]]),controller[_0xe242[24]]);router[_0xe242[26]](_0xe242[5],license[_0xe242[6]](),license[_0xe242[7]](),auth[_0xe242[8]](),auth[_0xe242[10]]([9],[_0xe242[9]]),controller[_0xe242[25]]);router[_0xe242[26]](_0xe242[27],license[_0xe242[6]](),license[_0xe242[7]](),auth[_0xe242[8]](),auth[_0xe242[10]]([9],[_0xe242[9],_0xe242[14]]),controller[_0xe242[28]]);router[_0xe242[30]](_0xe242[20],license[_0xe242[6]](),license[_0xe242[7]](),auth[_0xe242[8]](),auth[_0xe242[10]]([9],[_0xe242[9],_0xe242[14]]),controller[_0xe242[29]]);router[_0xe242[32]](_0xe242[20],license[_0xe242[6]](),license[_0xe242[7]](),auth[_0xe242[8]](),auth[_0xe242[10]]([9],[_0xe242[9],_0xe242[14]]),controller[_0xe242[31]]);router[_0xe242[30]](_0xe242[23],license[_0xe242[6]](),license[_0xe242[7]](),auth[_0xe242[8]](),auth[_0xe242[10]]([9],[_0xe242[9],_0xe242[14]]),controller[_0xe242[33]]);router[_0xe242[30]](_0xe242[34],license[_0xe242[6]](),license[_0xe242[7]](),auth[_0xe242[8]](),auth[_0xe242[10]]([9],[_0xe242[14]]),controller[_0xe242[35]]);router[_0xe242[37]](_0xe242[5],license[_0xe242[6]](),license[_0xe242[7]](),auth[_0xe242[8]](),auth[_0xe242[10]]([9],[_0xe242[9]]),controller[_0xe242[36]]);router[_0xe242[37]](_0xe242[20],license[_0xe242[6]](),license[_0xe242[7]](),auth[_0xe242[8]](),auth[_0xe242[10]]([9],[_0xe242[9]]),controller[_0xe242[38]]);module[_0xe242[39]]=router \ No newline at end of file +var _0x34bb=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x4D\x61\x69\x6C","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x69\x6E\x62\x6F\x78","\x61\x67\x65\x6E\x74","\x69\x6E\x62\x6F\x78","\x2F\x61\x67\x65\x6E\x74\x2F\x3A\x69\x64","\x61\x67\x65\x6E\x74\x49\x6E\x64\x65\x78","\x2F\x6D\x65\x73\x73\x61\x67\x65\x73\x2F\x3A\x69\x64","\x67\x65\x74\x52\x6F\x6F\x6D\x42\x79\x4D\x65\x73\x73\x61\x67\x65","\x2F\x3A\x69\x64","\x75\x73\x65\x72","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x61\x67\x65\x6E\x74\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x3A\x69\x64\x2F\x6D\x65\x73\x73\x61\x67\x65\x73","\x63\x72\x65\x61\x74\x65\x4D\x65\x73\x73\x61\x67\x65","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x75\x70\x64\x61\x74\x65\x50\x61\x74\x63\x68","\x70\x61\x74\x63\x68","\x75\x70\x64\x61\x74\x65\x41\x67\x65\x6E\x74\x73","\x2F\x3A\x69\x64\x2F\x6F\x70\x65\x6E","\x6F\x70\x65\x6E","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x34bb[0];var express=require(_0x34bb[1]);var controller=require(_0x34bb[2]);var auth=require(_0x34bb[3]);var license=require(_0x34bb[4]);var router=express.Router();router[_0x34bb[12]](_0x34bb[5],license[_0x34bb[6]](),license[_0x34bb[7]](),auth[_0x34bb[8]](),auth[_0x34bb[10]]([9],[_0x34bb[9]]),controller[_0x34bb[11]]);router[_0x34bb[12]](_0x34bb[13],license[_0x34bb[6]](),license[_0x34bb[7]](),auth[_0x34bb[8]](),auth[_0x34bb[10]]([9],[_0x34bb[9],_0x34bb[14]]),controller[_0x34bb[15]]);router[_0x34bb[12]](_0x34bb[16],license[_0x34bb[6]](),license[_0x34bb[7]](),auth[_0x34bb[8]](),auth[_0x34bb[10]]([9],[_0x34bb[9]]),controller[_0x34bb[17]]);router[_0x34bb[12]](_0x34bb[18],license[_0x34bb[6]](),license[_0x34bb[7]](),auth[_0x34bb[8]](),auth[_0x34bb[10]]([9],[_0x34bb[9],_0x34bb[14]]),controller[_0x34bb[19]]);router[_0x34bb[12]](_0x34bb[20],license[_0x34bb[6]](),license[_0x34bb[7]](),auth[_0x34bb[8]](),auth[_0x34bb[10]]([9],[_0x34bb[9],_0x34bb[21],_0x34bb[14]]),controller[_0x34bb[22]]);router[_0x34bb[12]](_0x34bb[23],license[_0x34bb[6]](),license[_0x34bb[7]](),auth[_0x34bb[8]](),auth[_0x34bb[10]]([9],[_0x34bb[9],_0x34bb[14]]),controller[_0x34bb[24]]);router[_0x34bb[26]](_0x34bb[5],license[_0x34bb[6]](),license[_0x34bb[7]](),auth[_0x34bb[8]](),auth[_0x34bb[10]]([9],[_0x34bb[9]]),controller[_0x34bb[25]]);router[_0x34bb[26]](_0x34bb[27],license[_0x34bb[6]](),license[_0x34bb[7]](),auth[_0x34bb[8]](),auth[_0x34bb[10]]([9],[_0x34bb[9],_0x34bb[14]]),controller[_0x34bb[28]]);router[_0x34bb[30]](_0x34bb[20],license[_0x34bb[6]](),license[_0x34bb[7]](),auth[_0x34bb[8]](),auth[_0x34bb[10]]([9],[_0x34bb[9],_0x34bb[14]]),controller[_0x34bb[29]]);router[_0x34bb[32]](_0x34bb[20],license[_0x34bb[6]](),license[_0x34bb[7]](),auth[_0x34bb[8]](),auth[_0x34bb[10]]([9],[_0x34bb[9],_0x34bb[14]]),controller[_0x34bb[31]]);router[_0x34bb[30]](_0x34bb[23],license[_0x34bb[6]](),license[_0x34bb[7]](),auth[_0x34bb[8]](),auth[_0x34bb[10]]([9],[_0x34bb[9],_0x34bb[14]]),controller[_0x34bb[33]]);router[_0x34bb[30]](_0x34bb[34],license[_0x34bb[6]](),license[_0x34bb[7]](),auth[_0x34bb[8]](),auth[_0x34bb[10]]([9],[_0x34bb[14]]),controller[_0x34bb[35]]);router[_0x34bb[37]](_0x34bb[5],license[_0x34bb[6]](),license[_0x34bb[7]](),auth[_0x34bb[8]](),auth[_0x34bb[10]]([9],[_0x34bb[9]]),controller[_0x34bb[36]]);router[_0x34bb[37]](_0x34bb[20],license[_0x34bb[6]](),license[_0x34bb[7]](),auth[_0x34bb[8]](),auth[_0x34bb[10]]([9],[_0x34bb[9]]),controller[_0x34bb[38]]);module[_0x34bb[39]]=router \ No newline at end of file diff --git a/server/api/mail_room/mail_room.controller.js b/server/api/mail_room/mail_room.controller.js index 9dbdd50..7306816 100644 --- a/server/api/mail_room/mail_room.controller.js +++ b/server/api/mail_room/mail_room.controller.js @@ -1 +1 @@ -var _0x3d5b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x68\x74\x6D\x6C\x2D\x74\x6F\x2D\x74\x65\x78\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x43\x6F\x6E\x74\x61\x63\x74","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74","\x4D\x61\x69\x6C\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x66\x61\x75\x6C\x74","\x73\x63\x6F\x70\x65","\x69\x6E\x62\x6F\x78","\x65\x72\x72\x6F\x72","\x53\x45\x4C\x45\x43\x54\x20\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x60\x2E\x60\x69\x64\x60\x2C\x20\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x60\x2E\x60\x73\x75\x62\x6A\x65\x63\x74\x60\x2C\x20\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x60\x2E\x60\x66\x72\x6F\x6D\x60\x2C\x20\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x60\x2E\x60\x61\x63\x63\x6F\x75\x6E\x74\x60\x2C\x20\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x60\x2E\x60\x73\x74\x61\x74\x75\x73\x60\x2C\x20\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x60\x2E\x60\x6C\x61\x73\x74\x45\x76\x65\x6E\x74\x60\x2C\x20\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x60\x2E\x60\x75\x70\x64\x61\x74\x65\x64\x41\x74\x60\x20\x46\x52\x4F\x4D\x20\x60\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73\x60\x20\x41\x53\x20\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x60\x20\x4C\x45\x46\x54\x20\x4F\x55\x54\x45\x52\x20\x4A\x4F\x49\x4E\x20\x28\x60\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73\x60\x20\x41\x53\x20\x60\x55\x73\x65\x72\x73\x2E\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73\x60\x20\x49\x4E\x4E\x45\x52\x20\x4A\x4F\x49\x4E\x20\x60\x75\x73\x65\x72\x73\x60\x20\x41\x53\x20\x60\x55\x73\x65\x72\x73\x60\x20\x4F\x4E\x20\x60\x55\x73\x65\x72\x73\x60\x2E\x60\x69\x64\x60\x20\x3D\x20\x60\x55\x73\x65\x72\x73\x2E\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73\x60\x2E\x60\x55\x73\x65\x72\x49\x64\x60\x29\x20\x4F\x4E\x20\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x60\x2E\x60\x69\x64\x60\x20\x3D\x20\x60\x55\x73\x65\x72\x73\x2E\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73\x60\x2E\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x49\x64\x60\x20\x57\x48\x45\x52\x45\x20\x28\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x60\x2E\x60\x64\x65\x6C\x65\x74\x65\x64\x41\x74\x60\x20\x49\x53\x20\x4E\x55\x4C\x4C\x20\x41\x4E\x44\x20\x28\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x60\x2E\x60\x73\x74\x61\x74\x75\x73\x60\x20\x3D\x20\x3A\x73\x74\x61\x74\x75\x73\x20\x4F\x52\x20\x60\x55\x73\x65\x72\x73\x60\x2E\x60\x69\x64\x60\x20\x3D\x20\x3A\x69\x64\x29\x29","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x69\x64","\x75\x73\x65\x72","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\x61\x67\x65\x6E\x74","\x53\x45\x4C\x45\x43\x54\x20\x60\x69\x64\x60\x2C\x20\x60\x73\x75\x62\x6A\x65\x63\x74\x60\x2C\x20\x60\x66\x72\x6F\x6D\x60\x2C\x20\x60\x61\x63\x63\x6F\x75\x6E\x74\x60\x2C\x20\x60\x73\x74\x61\x74\x75\x73\x60\x2C\x20\x60\x6C\x61\x73\x74\x45\x76\x65\x6E\x74\x60\x20\x2C\x60\x75\x70\x64\x61\x74\x65\x64\x41\x74\x60\x20\x46\x52\x4F\x4D\x20\x60\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73\x60\x20\x57\x48\x45\x52\x45\x20\x60\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73\x60\x2E\x60\x64\x65\x6C\x65\x74\x65\x64\x41\x74\x60\x20\x49\x53\x20\x4E\x55\x4C\x4C","\x72\x6F\x6C\x65","\x61\x67\x65\x6E\x74\x49\x6E\x64\x65\x78","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x41\x6C\x6C","\x6F\x70\x65\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x61\x64\x64\x55\x73\x65\x72","\x4F\x50\x45\x4E","\x75\x70\x64\x61\x74\x65","\x66\x69\x6E\x64\x42\x79\x49\x64","\x67\x65\x74\x52\x6F\x6F\x6D\x42\x79\x4D\x65\x73\x73\x61\x67\x65","\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x67\x65\x74\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x73\x68\x6F\x77","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x67\x65\x74\x55\x73\x65\x72\x73","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x63\x72\x65\x61\x74\x65\x4D\x65\x73\x73\x61\x67\x65","\x55\x73\x65\x72\x49\x64","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x49\x64","\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x4D\x61\x69\x6C\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x73","\x6C\x65\x6E\x67\x74\x68","\x74\x65\x78\x74","\x68\x74\x6D\x6C","\x66\x72\x6F\x6D\x53\x74\x72\x69\x6E\x67","\x75\x70\x64\x61\x74\x65\x50\x61\x74\x63\x68","\x74\x61\x67\x73","\x2C","\x73\x70\x6C\x69\x74","\x75\x70\x64\x61\x74\x65\x41\x67\x65\x6E\x74\x73","\x61\x67\x65\x6E\x74\x73","\x73\x65\x74\x55\x73\x65\x72\x73","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0x3d5b[0];var _=require(_0x3d5b[1]);var util=require(_0x3d5b[2]);var htmlToText=require(_0x3d5b[3]);var Util=require(_0x3d5b[4]);var sequelize=require(_0x3d5b[6])[_0x3d5b[5]];var User=require(_0x3d5b[6])[_0x3d5b[7]];var Agent=require(_0x3d5b[6])[_0x3d5b[7]];var Contact=require(_0x3d5b[6])[_0x3d5b[8]];var MailRoom=require(_0x3d5b[6])[_0x3d5b[9]];var MailMessage=require(_0x3d5b[6])[_0x3d5b[10]];var MailAccount=require(_0x3d5b[6])[_0x3d5b[11]];var MailAttachment=require(_0x3d5b[6])[_0x3d5b[12]];var ReportMailRoom=require(_0x3d5b[6])[_0x3d5b[13]];exports[_0x3d5b[14]]=function(_0xaf22xe,_0xaf22xf,_0xaf22x10){return MailRoom[_0x3d5b[23]](_0x3d5b[22])[_0x3d5b[21]](Util[_0x3d5b[20]](_0xaf22xe[_0x3d5b[19]]))[_0x3d5b[18]](function(_0xaf22x12){return _0xaf22xf[_0x3d5b[17]](200)[_0x3d5b[16]](_0xaf22x12)})[_0x3d5b[15]](function(_0xaf22x11){return handleError(_0xaf22xf,_0xaf22x11)})};exports[_0x3d5b[24]]=function(_0xaf22xe,_0xaf22xf,_0xaf22x10){switch(_0xaf22xe[_0x3d5b[29]][_0x3d5b[34]]){case _0x3d5b[32]:return sequelize[_0x3d5b[19]](_0x3d5b[26],{replacements:{status:_0x3d5b[27],id:_0xaf22xe[_0x3d5b[29]][_0x3d5b[28]]},type:sequelize[_0x3d5b[31]][_0x3d5b[30]]})[_0x3d5b[18]](function(_0xaf22x12){return _0xaf22xf[_0x3d5b[17]](200)[_0x3d5b[16]](_0xaf22x12)})[_0x3d5b[15]](function(_0xaf22x11){console[_0x3d5b[25]](_0xaf22x11);return handleError(_0xaf22xf,_0xaf22x11)});default:return sequelize[_0x3d5b[19]](_0x3d5b[33],{replacements:{status:_0x3d5b[27],id:_0xaf22xe[_0x3d5b[29]][_0x3d5b[28]]},type:sequelize[_0x3d5b[31]][_0x3d5b[30]]})[_0x3d5b[18]](function(_0xaf22x12){return _0xaf22xf[_0x3d5b[17]](200)[_0x3d5b[16]](_0xaf22x12)})[_0x3d5b[15]](function(_0xaf22x11){return handleError(_0xaf22xf,_0xaf22x11)})}};exports[_0x3d5b[35]]=function(_0xaf22xe,_0xaf22xf,_0xaf22x10){return MailRoom[_0x3d5b[37]]({where:{UserId:_0xaf22xe[_0x3d5b[36]][_0x3d5b[28]]},include:[{all:true}]})[_0x3d5b[18]](function(_0xaf22x13){return _0xaf22xf[_0x3d5b[17]](200)[_0x3d5b[16]](_0xaf22x13)})[_0x3d5b[15]](function(_0xaf22x11){return handleError(_0xaf22xf,_0xaf22x11)})};exports[_0x3d5b[38]]=function(_0xaf22xe,_0xaf22xf,_0xaf22x10){var _0xaf22x14;if(_0xaf22xe[_0x3d5b[29]][_0x3d5b[34]]===_0x3d5b[32]){return MailRoom[_0x3d5b[43]](_0xaf22xe[_0x3d5b[36]][_0x3d5b[28]])[_0x3d5b[18]](function(_0xaf22x15){_0xaf22x14=_0xaf22x15;if(!_0xaf22x14){return _0xaf22xf[_0x3d5b[39]](404)};return _0xaf22x14[_0x3d5b[42]]({status:_0x3d5b[41]},{userId:_0xaf22xe[_0x3d5b[29]][_0x3d5b[28]]})})[_0x3d5b[18]](function(){return _0xaf22x14[_0x3d5b[40]](_0xaf22xe[_0x3d5b[29]][_0x3d5b[28]])})[_0x3d5b[18]](function(){return _0xaf22xf[_0x3d5b[39]](200)})[_0x3d5b[15]](function(_0xaf22x11){return handleError(_0xaf22xf,_0xaf22x11)})}};exports[_0x3d5b[44]]=function(_0xaf22xe,_0xaf22xf,_0xaf22x10){return MailMessage[_0x3d5b[43]](_0xaf22xe[_0x3d5b[36]][_0x3d5b[28]])[_0x3d5b[18]](function(_0xaf22x16){return _0xaf22x16[_0x3d5b[48]]({include:[{model:MailAccount},{model:MailMessage,include:[{model:MailAttachment},{model:User,attributes:[_0x3d5b[28],_0x3d5b[45],_0x3d5b[46],_0x3d5b[47]]}]},{model:User,attributes:[_0x3d5b[28],_0x3d5b[45],_0x3d5b[46],_0x3d5b[47]]}]})})[_0x3d5b[18]](function(_0xaf22x15){return _0xaf22xf[_0x3d5b[16]](_0xaf22x15)})[_0x3d5b[15]](function(_0xaf22x11){return handleError(_0xaf22xf,_0xaf22x11)})};exports[_0x3d5b[49]]=function(_0xaf22xe,_0xaf22xf,_0xaf22x10){return MailRoom[_0x3d5b[23]](_0x3d5b[22])[_0x3d5b[43]](_0xaf22xe[_0x3d5b[36]][_0x3d5b[28]])[_0x3d5b[18]](function(_0xaf22x15){if(!_0xaf22x15){return _0xaf22xf[_0x3d5b[39]](404)};return _0xaf22xf[_0x3d5b[16]](_0xaf22x15)})[_0x3d5b[15]](function(_0xaf22x11){console[_0x3d5b[25]](_0xaf22x11);return handleError(_0xaf22xf,_0xaf22x11)})};exports[_0x3d5b[50]]=function(_0xaf22xe,_0xaf22xf,_0xaf22x10){return MailRoom[_0x3d5b[43]](_0xaf22xe[_0x3d5b[36]][_0x3d5b[28]])[_0x3d5b[18]](function(_0xaf22x15){if(!_0xaf22x15){return _0xaf22xf[_0x3d5b[39]](404)};return _0xaf22x15[_0x3d5b[52]]({attributes:[_0x3d5b[28],_0x3d5b[45],_0x3d5b[46],_0x3d5b[47],_0x3d5b[34],_0x3d5b[51]]})})[_0x3d5b[18]](function(_0xaf22x17){return _0xaf22xf[_0x3d5b[16]](_0xaf22x17)})[_0x3d5b[15]](function(_0xaf22x11){return handleError(_0xaf22xf,_0xaf22x11)})};exports[_0x3d5b[53]]=function(_0xaf22xe,_0xaf22xf,_0xaf22x10){return MailRoom[_0x3d5b[53]](_0xaf22xe[_0x3d5b[54]])[_0x3d5b[18]](function(_0xaf22x15){return _0xaf22xf[_0x3d5b[17]](201)[_0x3d5b[16]](_0xaf22x15)})[_0x3d5b[15]](function(_0xaf22x11){return handleError(_0xaf22xf,_0xaf22x11)})};exports[_0x3d5b[55]]=function(_0xaf22xe,_0xaf22xf,_0xaf22x10){_0xaf22xe[_0x3d5b[54]][_0x3d5b[56]]=_0xaf22xe[_0x3d5b[29]][_0x3d5b[28]];_0xaf22xe[_0x3d5b[54]][_0x3d5b[57]]=_0xaf22xe[_0x3d5b[36]][_0x3d5b[28]];_0xaf22xe[_0x3d5b[54]][_0x3d5b[58]]=(_0xaf22xe[_0x3d5b[54]][_0x3d5b[59]]&&_0xaf22xe[_0x3d5b[54]][_0x3d5b[59]][_0x3d5b[60]])?true:false;_0xaf22xe[_0x3d5b[54]][_0x3d5b[61]]=_0xaf22xe[_0x3d5b[54]][_0x3d5b[61]]||htmlToText[_0x3d5b[63]](_0xaf22xe[_0x3d5b[54]][_0x3d5b[62]],{wordwrap:false});return MailMessage[_0x3d5b[53]](_0xaf22xe[_0x3d5b[54]],{include:[{model:MailAttachment}],user:_0xaf22xe[_0x3d5b[29]]})[_0x3d5b[18]](function(_0xaf22x16){return _0xaf22xf[_0x3d5b[17]](201)[_0x3d5b[16]](_0xaf22x16)})[_0x3d5b[15]](function(_0xaf22x11){return handleError(_0xaf22xf,_0xaf22x11)})};exports[_0x3d5b[42]]=function(_0xaf22xe,_0xaf22xf,_0xaf22x10){var _0xaf22x14;return MailRoom[_0x3d5b[43]](_0xaf22xe[_0x3d5b[36]][_0x3d5b[28]])[_0x3d5b[18]](function(_0xaf22x15){if(!_0xaf22x15){return _0xaf22xf[_0x3d5b[39]](404)};return _0xaf22x15[_0x3d5b[42]](_0xaf22xe[_0x3d5b[54]])})[_0x3d5b[18]](function(_0xaf22x15){_0xaf22x14=_0xaf22x15;return ReportMailRoom[_0x3d5b[42]](_0xaf22xe[_0x3d5b[54]],{where:{roomId:_0xaf22xe[_0x3d5b[36]][_0x3d5b[28]]}})})[_0x3d5b[18]](function(_0xaf22x18){return _0xaf22xf[_0x3d5b[17]](200)[_0x3d5b[16]](_0xaf22x14)})[_0x3d5b[15]](function(_0xaf22x11){return handleError(_0xaf22xf,_0xaf22x11)})};exports[_0x3d5b[64]]=function(_0xaf22xe,_0xaf22xf,_0xaf22x10){var _0xaf22x19={tags:_0xaf22xe[_0x3d5b[54]][_0x3d5b[65]]};var _0xaf22x1a={where:{id:_0xaf22xe[_0x3d5b[36]][_0x3d5b[28]][_0x3d5b[67]](_0x3d5b[66])}};return MailRoom[_0x3d5b[42]](_0xaf22x19,_0xaf22x1a)[_0x3d5b[18]](function(_0xaf22x13){if(!_0xaf22x13){return _0xaf22xf[_0x3d5b[39]](404)};return _0xaf22x13})[_0x3d5b[18]](function(_0xaf22x13){return _0xaf22xf[_0x3d5b[39]](200)})[_0x3d5b[15]](function(_0xaf22x11){return handleError(_0xaf22xf,_0xaf22x11)})};exports[_0x3d5b[68]]=function(_0xaf22xe,_0xaf22xf,_0xaf22x10){return MailRoom[_0x3d5b[43]](_0xaf22xe[_0x3d5b[36]][_0x3d5b[28]])[_0x3d5b[18]](function(_0xaf22x15){if(!_0xaf22x15){return _0xaf22xf[_0x3d5b[39]](404)};return _0xaf22x15[_0x3d5b[70]](_0xaf22xe[_0x3d5b[54]][_0x3d5b[69]],{individualHooks:true})})[_0x3d5b[18]](function(){return _0xaf22xf[_0x3d5b[39]](200)})[_0x3d5b[15]](function(_0xaf22x11){return handleError(_0xaf22xf,_0xaf22x11)})};exports[_0x3d5b[71]]=function(_0xaf22xe,_0xaf22xf,_0xaf22x10){return MailRoom[_0x3d5b[43]](_0xaf22xe[_0x3d5b[36]][_0x3d5b[28]])[_0x3d5b[18]](function(_0xaf22x15){if(!_0xaf22x15){return _0xaf22xf[_0x3d5b[39]](404)};return _0xaf22x15[_0x3d5b[71]]()})[_0x3d5b[18]](function(){return _0xaf22xf[_0x3d5b[39]](204)})[_0x3d5b[15]](function(_0xaf22x11){return handleError(_0xaf22xf,_0xaf22x11)})};exports[_0x3d5b[72]]=function(_0xaf22xe,_0xaf22xf){return MailRoom[_0x3d5b[71]]({where:{id:_0xaf22xe[_0x3d5b[19]][_0x3d5b[73]]},individualHooks:true})[_0x3d5b[18]](function(){return _0xaf22xf[_0x3d5b[39]](200)})[_0x3d5b[15]](function(_0xaf22x11){return handleError(_0xaf22xf,_0xaf22x11)})};function handleError(_0xaf22xf,_0xaf22x11){return _0xaf22xf[_0x3d5b[17]](500)[_0x3d5b[16]](_0xaf22x11)} \ No newline at end of file +var _0xdfcc=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x68\x74\x6D\x6C\x2D\x74\x6F\x2D\x74\x65\x78\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x43\x6F\x6E\x74\x61\x63\x74","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74","\x4D\x61\x69\x6C\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x66\x61\x75\x6C\x74","\x73\x63\x6F\x70\x65","\x69\x6E\x62\x6F\x78","\x65\x72\x72\x6F\x72","\x53\x45\x4C\x45\x43\x54\x20\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x60\x2E\x60\x69\x64\x60\x2C\x20\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x60\x2E\x60\x73\x75\x62\x6A\x65\x63\x74\x60\x2C\x20\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x60\x2E\x60\x66\x72\x6F\x6D\x60\x2C\x20\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x60\x2E\x60\x61\x63\x63\x6F\x75\x6E\x74\x60\x2C\x20\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x60\x2E\x60\x73\x74\x61\x74\x75\x73\x60\x2C\x20\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x60\x2E\x60\x6C\x61\x73\x74\x45\x76\x65\x6E\x74\x60\x2C\x20\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x60\x2E\x60\x75\x70\x64\x61\x74\x65\x64\x41\x74\x60\x20\x46\x52\x4F\x4D\x20\x60\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73\x60\x20\x41\x53\x20\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x60\x20\x4C\x45\x46\x54\x20\x4F\x55\x54\x45\x52\x20\x4A\x4F\x49\x4E\x20\x28\x60\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73\x60\x20\x41\x53\x20\x60\x55\x73\x65\x72\x73\x2E\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73\x60\x20\x49\x4E\x4E\x45\x52\x20\x4A\x4F\x49\x4E\x20\x60\x75\x73\x65\x72\x73\x60\x20\x41\x53\x20\x60\x55\x73\x65\x72\x73\x60\x20\x4F\x4E\x20\x60\x55\x73\x65\x72\x73\x60\x2E\x60\x69\x64\x60\x20\x3D\x20\x60\x55\x73\x65\x72\x73\x2E\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73\x60\x2E\x60\x55\x73\x65\x72\x49\x64\x60\x29\x20\x4F\x4E\x20\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x60\x2E\x60\x69\x64\x60\x20\x3D\x20\x60\x55\x73\x65\x72\x73\x2E\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73\x60\x2E\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x49\x64\x60\x20\x57\x48\x45\x52\x45\x20\x28\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x60\x2E\x60\x64\x65\x6C\x65\x74\x65\x64\x41\x74\x60\x20\x49\x53\x20\x4E\x55\x4C\x4C\x20\x41\x4E\x44\x20\x28\x60\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x60\x2E\x60\x73\x74\x61\x74\x75\x73\x60\x20\x3D\x20\x3A\x73\x74\x61\x74\x75\x73\x20\x4F\x52\x20\x60\x55\x73\x65\x72\x73\x60\x2E\x60\x69\x64\x60\x20\x3D\x20\x3A\x69\x64\x29\x29","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x69\x64","\x75\x73\x65\x72","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\x61\x67\x65\x6E\x74","\x53\x45\x4C\x45\x43\x54\x20\x60\x69\x64\x60\x2C\x20\x60\x73\x75\x62\x6A\x65\x63\x74\x60\x2C\x20\x60\x66\x72\x6F\x6D\x60\x2C\x20\x60\x61\x63\x63\x6F\x75\x6E\x74\x60\x2C\x20\x60\x73\x74\x61\x74\x75\x73\x60\x2C\x20\x60\x6C\x61\x73\x74\x45\x76\x65\x6E\x74\x60\x20\x2C\x60\x75\x70\x64\x61\x74\x65\x64\x41\x74\x60\x20\x46\x52\x4F\x4D\x20\x60\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73\x60\x20\x57\x48\x45\x52\x45\x20\x60\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73\x60\x2E\x60\x64\x65\x6C\x65\x74\x65\x64\x41\x74\x60\x20\x49\x53\x20\x4E\x55\x4C\x4C","\x72\x6F\x6C\x65","\x61\x67\x65\x6E\x74\x49\x6E\x64\x65\x78","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x41\x6C\x6C","\x6F\x70\x65\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x61\x64\x64\x55\x73\x65\x72","\x4F\x50\x45\x4E","\x75\x70\x64\x61\x74\x65","\x66\x69\x6E\x64\x42\x79\x49\x64","\x67\x65\x74\x52\x6F\x6F\x6D\x42\x79\x4D\x65\x73\x73\x61\x67\x65","\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x67\x65\x74\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x73\x68\x6F\x77","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x67\x65\x74\x55\x73\x65\x72\x73","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x63\x72\x65\x61\x74\x65\x4D\x65\x73\x73\x61\x67\x65","\x55\x73\x65\x72\x49\x64","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x49\x64","\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x4D\x61\x69\x6C\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x73","\x6C\x65\x6E\x67\x74\x68","\x74\x65\x78\x74","\x68\x74\x6D\x6C","\x66\x72\x6F\x6D\x53\x74\x72\x69\x6E\x67","\x75\x70\x64\x61\x74\x65\x50\x61\x74\x63\x68","\x74\x61\x67\x73","\x2C","\x73\x70\x6C\x69\x74","\x75\x70\x64\x61\x74\x65\x41\x67\x65\x6E\x74\x73","\x61\x67\x65\x6E\x74\x73","\x73\x65\x74\x55\x73\x65\x72\x73","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0xdfcc[0];var _=require(_0xdfcc[1]);var util=require(_0xdfcc[2]);var htmlToText=require(_0xdfcc[3]);var Util=require(_0xdfcc[4]);var sequelize=require(_0xdfcc[6])[_0xdfcc[5]];var User=require(_0xdfcc[6])[_0xdfcc[7]];var Agent=require(_0xdfcc[6])[_0xdfcc[7]];var Contact=require(_0xdfcc[6])[_0xdfcc[8]];var MailRoom=require(_0xdfcc[6])[_0xdfcc[9]];var MailMessage=require(_0xdfcc[6])[_0xdfcc[10]];var MailAccount=require(_0xdfcc[6])[_0xdfcc[11]];var MailAttachment=require(_0xdfcc[6])[_0xdfcc[12]];var ReportMailRoom=require(_0xdfcc[6])[_0xdfcc[13]];exports[_0xdfcc[14]]=function(_0x4f93xe,_0x4f93xf,_0x4f93x10){return MailRoom[_0xdfcc[23]](_0xdfcc[22])[_0xdfcc[21]](Util[_0xdfcc[20]](_0x4f93xe[_0xdfcc[19]]))[_0xdfcc[18]](function(_0x4f93x12){return _0x4f93xf[_0xdfcc[17]](200)[_0xdfcc[16]](_0x4f93x12)})[_0xdfcc[15]](function(_0x4f93x11){return handleError(_0x4f93xf,_0x4f93x11)})};exports[_0xdfcc[24]]=function(_0x4f93xe,_0x4f93xf,_0x4f93x10){switch(_0x4f93xe[_0xdfcc[29]][_0xdfcc[34]]){case _0xdfcc[32]:return sequelize[_0xdfcc[19]](_0xdfcc[26],{replacements:{status:_0xdfcc[27],id:_0x4f93xe[_0xdfcc[29]][_0xdfcc[28]]},type:sequelize[_0xdfcc[31]][_0xdfcc[30]]})[_0xdfcc[18]](function(_0x4f93x12){return _0x4f93xf[_0xdfcc[17]](200)[_0xdfcc[16]](_0x4f93x12)})[_0xdfcc[15]](function(_0x4f93x11){console[_0xdfcc[25]](_0x4f93x11);return handleError(_0x4f93xf,_0x4f93x11)});default:return sequelize[_0xdfcc[19]](_0xdfcc[33],{replacements:{status:_0xdfcc[27],id:_0x4f93xe[_0xdfcc[29]][_0xdfcc[28]]},type:sequelize[_0xdfcc[31]][_0xdfcc[30]]})[_0xdfcc[18]](function(_0x4f93x12){return _0x4f93xf[_0xdfcc[17]](200)[_0xdfcc[16]](_0x4f93x12)})[_0xdfcc[15]](function(_0x4f93x11){return handleError(_0x4f93xf,_0x4f93x11)})}};exports[_0xdfcc[35]]=function(_0x4f93xe,_0x4f93xf,_0x4f93x10){return MailRoom[_0xdfcc[37]]({where:{UserId:_0x4f93xe[_0xdfcc[36]][_0xdfcc[28]]},include:[{all:true}]})[_0xdfcc[18]](function(_0x4f93x13){return _0x4f93xf[_0xdfcc[17]](200)[_0xdfcc[16]](_0x4f93x13)})[_0xdfcc[15]](function(_0x4f93x11){return handleError(_0x4f93xf,_0x4f93x11)})};exports[_0xdfcc[38]]=function(_0x4f93xe,_0x4f93xf,_0x4f93x10){var _0x4f93x14;if(_0x4f93xe[_0xdfcc[29]][_0xdfcc[34]]===_0xdfcc[32]){return MailRoom[_0xdfcc[43]](_0x4f93xe[_0xdfcc[36]][_0xdfcc[28]])[_0xdfcc[18]](function(_0x4f93x15){_0x4f93x14=_0x4f93x15;if(!_0x4f93x14){return _0x4f93xf[_0xdfcc[39]](404)};return _0x4f93x14[_0xdfcc[42]]({status:_0xdfcc[41]},{userId:_0x4f93xe[_0xdfcc[29]][_0xdfcc[28]]})})[_0xdfcc[18]](function(){return _0x4f93x14[_0xdfcc[40]](_0x4f93xe[_0xdfcc[29]][_0xdfcc[28]])})[_0xdfcc[18]](function(){return _0x4f93xf[_0xdfcc[39]](200)})[_0xdfcc[15]](function(_0x4f93x11){return handleError(_0x4f93xf,_0x4f93x11)})}};exports[_0xdfcc[44]]=function(_0x4f93xe,_0x4f93xf,_0x4f93x10){return MailMessage[_0xdfcc[43]](_0x4f93xe[_0xdfcc[36]][_0xdfcc[28]])[_0xdfcc[18]](function(_0x4f93x16){return _0x4f93x16[_0xdfcc[48]]({include:[{model:MailAccount},{model:MailMessage,include:[{model:MailAttachment},{model:User,attributes:[_0xdfcc[28],_0xdfcc[45],_0xdfcc[46],_0xdfcc[47]]}]},{model:User,attributes:[_0xdfcc[28],_0xdfcc[45],_0xdfcc[46],_0xdfcc[47]]}]})})[_0xdfcc[18]](function(_0x4f93x15){return _0x4f93xf[_0xdfcc[16]](_0x4f93x15)})[_0xdfcc[15]](function(_0x4f93x11){return handleError(_0x4f93xf,_0x4f93x11)})};exports[_0xdfcc[49]]=function(_0x4f93xe,_0x4f93xf,_0x4f93x10){return MailRoom[_0xdfcc[23]](_0xdfcc[22])[_0xdfcc[43]](_0x4f93xe[_0xdfcc[36]][_0xdfcc[28]])[_0xdfcc[18]](function(_0x4f93x15){if(!_0x4f93x15){return _0x4f93xf[_0xdfcc[39]](404)};return _0x4f93xf[_0xdfcc[16]](_0x4f93x15)})[_0xdfcc[15]](function(_0x4f93x11){console[_0xdfcc[25]](_0x4f93x11);return handleError(_0x4f93xf,_0x4f93x11)})};exports[_0xdfcc[50]]=function(_0x4f93xe,_0x4f93xf,_0x4f93x10){return MailRoom[_0xdfcc[43]](_0x4f93xe[_0xdfcc[36]][_0xdfcc[28]])[_0xdfcc[18]](function(_0x4f93x15){if(!_0x4f93x15){return _0x4f93xf[_0xdfcc[39]](404)};return _0x4f93x15[_0xdfcc[52]]({attributes:[_0xdfcc[28],_0xdfcc[45],_0xdfcc[46],_0xdfcc[47],_0xdfcc[34],_0xdfcc[51]]})})[_0xdfcc[18]](function(_0x4f93x17){return _0x4f93xf[_0xdfcc[16]](_0x4f93x17)})[_0xdfcc[15]](function(_0x4f93x11){return handleError(_0x4f93xf,_0x4f93x11)})};exports[_0xdfcc[53]]=function(_0x4f93xe,_0x4f93xf,_0x4f93x10){return MailRoom[_0xdfcc[53]](_0x4f93xe[_0xdfcc[54]])[_0xdfcc[18]](function(_0x4f93x15){return _0x4f93xf[_0xdfcc[17]](201)[_0xdfcc[16]](_0x4f93x15)})[_0xdfcc[15]](function(_0x4f93x11){return handleError(_0x4f93xf,_0x4f93x11)})};exports[_0xdfcc[55]]=function(_0x4f93xe,_0x4f93xf,_0x4f93x10){_0x4f93xe[_0xdfcc[54]][_0xdfcc[56]]=_0x4f93xe[_0xdfcc[29]][_0xdfcc[28]];_0x4f93xe[_0xdfcc[54]][_0xdfcc[57]]=_0x4f93xe[_0xdfcc[36]][_0xdfcc[28]];_0x4f93xe[_0xdfcc[54]][_0xdfcc[58]]=(_0x4f93xe[_0xdfcc[54]][_0xdfcc[59]]&&_0x4f93xe[_0xdfcc[54]][_0xdfcc[59]][_0xdfcc[60]])?true:false;_0x4f93xe[_0xdfcc[54]][_0xdfcc[61]]=_0x4f93xe[_0xdfcc[54]][_0xdfcc[61]]||htmlToText[_0xdfcc[63]](_0x4f93xe[_0xdfcc[54]][_0xdfcc[62]],{wordwrap:false});return MailMessage[_0xdfcc[53]](_0x4f93xe[_0xdfcc[54]],{include:[{model:MailAttachment}],user:_0x4f93xe[_0xdfcc[29]]})[_0xdfcc[18]](function(_0x4f93x16){return _0x4f93xf[_0xdfcc[17]](201)[_0xdfcc[16]](_0x4f93x16)})[_0xdfcc[15]](function(_0x4f93x11){return handleError(_0x4f93xf,_0x4f93x11)})};exports[_0xdfcc[42]]=function(_0x4f93xe,_0x4f93xf,_0x4f93x10){var _0x4f93x14;return MailRoom[_0xdfcc[43]](_0x4f93xe[_0xdfcc[36]][_0xdfcc[28]])[_0xdfcc[18]](function(_0x4f93x15){if(!_0x4f93x15){return _0x4f93xf[_0xdfcc[39]](404)};return _0x4f93x15[_0xdfcc[42]](_0x4f93xe[_0xdfcc[54]])})[_0xdfcc[18]](function(_0x4f93x15){_0x4f93x14=_0x4f93x15;return ReportMailRoom[_0xdfcc[42]](_0x4f93xe[_0xdfcc[54]],{where:{roomId:_0x4f93xe[_0xdfcc[36]][_0xdfcc[28]]}})})[_0xdfcc[18]](function(_0x4f93x18){return _0x4f93xf[_0xdfcc[17]](200)[_0xdfcc[16]](_0x4f93x14)})[_0xdfcc[15]](function(_0x4f93x11){return handleError(_0x4f93xf,_0x4f93x11)})};exports[_0xdfcc[64]]=function(_0x4f93xe,_0x4f93xf,_0x4f93x10){var _0x4f93x19={tags:_0x4f93xe[_0xdfcc[54]][_0xdfcc[65]]};var _0x4f93x1a={where:{id:_0x4f93xe[_0xdfcc[36]][_0xdfcc[28]][_0xdfcc[67]](_0xdfcc[66])}};return MailRoom[_0xdfcc[42]](_0x4f93x19,_0x4f93x1a)[_0xdfcc[18]](function(_0x4f93x13){if(!_0x4f93x13){return _0x4f93xf[_0xdfcc[39]](404)};return _0x4f93x13})[_0xdfcc[18]](function(_0x4f93x13){return _0x4f93xf[_0xdfcc[39]](200)})[_0xdfcc[15]](function(_0x4f93x11){return handleError(_0x4f93xf,_0x4f93x11)})};exports[_0xdfcc[68]]=function(_0x4f93xe,_0x4f93xf,_0x4f93x10){return MailRoom[_0xdfcc[43]](_0x4f93xe[_0xdfcc[36]][_0xdfcc[28]])[_0xdfcc[18]](function(_0x4f93x15){if(!_0x4f93x15){return _0x4f93xf[_0xdfcc[39]](404)};return _0x4f93x15[_0xdfcc[70]](_0x4f93xe[_0xdfcc[54]][_0xdfcc[69]],{individualHooks:true})})[_0xdfcc[18]](function(){return _0x4f93xf[_0xdfcc[39]](200)})[_0xdfcc[15]](function(_0x4f93x11){return handleError(_0x4f93xf,_0x4f93x11)})};exports[_0xdfcc[71]]=function(_0x4f93xe,_0x4f93xf,_0x4f93x10){return MailRoom[_0xdfcc[43]](_0x4f93xe[_0xdfcc[36]][_0xdfcc[28]])[_0xdfcc[18]](function(_0x4f93x15){if(!_0x4f93x15){return _0x4f93xf[_0xdfcc[39]](404)};return _0x4f93x15[_0xdfcc[71]]()})[_0xdfcc[18]](function(){return _0x4f93xf[_0xdfcc[39]](204)})[_0xdfcc[15]](function(_0x4f93x11){return handleError(_0x4f93xf,_0x4f93x11)})};exports[_0xdfcc[72]]=function(_0x4f93xe,_0x4f93xf){return MailRoom[_0xdfcc[71]]({where:{id:_0x4f93xe[_0xdfcc[19]][_0xdfcc[73]]},individualHooks:true})[_0xdfcc[18]](function(){return _0x4f93xf[_0xdfcc[39]](200)})[_0xdfcc[15]](function(_0x4f93x11){return handleError(_0x4f93xf,_0x4f93x11)})};function handleError(_0x4f93xf,_0x4f93x11){return _0x4f93xf[_0xdfcc[17]](500)[_0xdfcc[16]](_0x4f93x11)} \ No newline at end of file diff --git a/server/api/mail_room/mail_room.socket.js b/server/api/mail_room/mail_room.socket.js index 4c00c8e..a2b365d 100644 --- a/server/api/mail_room/mail_room.socket.js +++ b/server/api/mail_room/mail_room.socket.js @@ -1 +1 @@ -var _0x53f2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x55\x73\x65\x72","\x72\x65\x67\x69\x73\x74\x65\x72","\x72\x6F\x6C\x65","\x61\x67\x65\x6E\x74","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x75\x73\x65\x72\x49\x64","\x4F\x50\x45\x4E","\x73\x74\x61\x74\x75\x73","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x68\x61\x6E\x67\x65\x64","\x4E\x45\x57","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x43\x4C\x4F\x53\x45\x44","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x3A\x72\x65\x6D\x6F\x76\x65"];_0x53f2[0];var MailMessage=require(_0x53f2[2])[_0x53f2[1]];var MailRoom=require(_0x53f2[2])[_0x53f2[3]];var User=require(_0x53f2[2])[_0x53f2[4]];exports[_0x53f2[5]]=function(_0xf1b2x4){MailRoom[_0x53f2[12]](function(_0xf1b2x5,_0xf1b2x6){if(_0xf1b2x4[_0x53f2[6]]!==_0x53f2[7]){onSave(_0xf1b2x4,_0xf1b2x5[_0x53f2[8]])}else {switch(_0xf1b2x5[_0x53f2[11]]){case _0x53f2[10]:if(_0xf1b2x4[_0x53f2[9]]==_0xf1b2x6[_0x53f2[9]]){onSave(_0xf1b2x4,_0xf1b2x5[_0x53f2[8]])};break;default:}}});MailRoom[_0x53f2[13]](function(_0xf1b2x5){onRemove(_0xf1b2x4,_0xf1b2x5)});MailRoom[_0x53f2[18]](function(_0xf1b2x5,_0xf1b2x6){if(_0xf1b2x5[_0x53f2[14]](_0x53f2[11])){switch(_0xf1b2x5[_0x53f2[11]]){case _0x53f2[15]:if(_0xf1b2x4[_0x53f2[6]]!==_0x53f2[7]){onSave(_0xf1b2x4,_0xf1b2x5[_0x53f2[8]])};break;case _0x53f2[10]:if(_0xf1b2x4[_0x53f2[9]]!=_0xf1b2x6[_0x53f2[9]]){onRemove(_0xf1b2x4,_0xf1b2x5[_0x53f2[8]])};break;case _0x53f2[16]:onSave(_0xf1b2x4,_0xf1b2x5[_0x53f2[8]]);break;case _0x53f2[17]:onSave(_0xf1b2x4,_0xf1b2x5[_0x53f2[8]]);break;default:}}})};function onSave(_0xf1b2x4,_0xf1b2x5,_0xf1b2x8){_0xf1b2x4[_0x53f2[20]](_0x53f2[19],_0xf1b2x5)}function onRemove(_0xf1b2x4,_0xf1b2x5,_0xf1b2x8){_0xf1b2x4[_0x53f2[20]](_0x53f2[21],_0xf1b2x5)} \ No newline at end of file +var _0x94f5=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x55\x73\x65\x72","\x72\x65\x67\x69\x73\x74\x65\x72","\x72\x6F\x6C\x65","\x61\x67\x65\x6E\x74","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x75\x73\x65\x72\x49\x64","\x4F\x50\x45\x4E","\x73\x74\x61\x74\x75\x73","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x63\x68\x61\x6E\x67\x65\x64","\x4E\x45\x57","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x43\x4C\x4F\x53\x45\x44","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x3A\x72\x65\x6D\x6F\x76\x65"];_0x94f5[0];var MailMessage=require(_0x94f5[2])[_0x94f5[1]];var MailRoom=require(_0x94f5[2])[_0x94f5[3]];var User=require(_0x94f5[2])[_0x94f5[4]];exports[_0x94f5[5]]=function(_0xeb70x4){MailRoom[_0x94f5[12]](function(_0xeb70x5,_0xeb70x6){if(_0xeb70x4[_0x94f5[6]]!==_0x94f5[7]){onSave(_0xeb70x4,_0xeb70x5[_0x94f5[8]])}else {switch(_0xeb70x5[_0x94f5[11]]){case _0x94f5[10]:if(_0xeb70x4[_0x94f5[9]]==_0xeb70x6[_0x94f5[9]]){onSave(_0xeb70x4,_0xeb70x5[_0x94f5[8]])};break;default:}}});MailRoom[_0x94f5[13]](function(_0xeb70x5){onRemove(_0xeb70x4,_0xeb70x5)});MailRoom[_0x94f5[18]](function(_0xeb70x5,_0xeb70x6){if(_0xeb70x5[_0x94f5[14]](_0x94f5[11])){switch(_0xeb70x5[_0x94f5[11]]){case _0x94f5[15]:if(_0xeb70x4[_0x94f5[6]]!==_0x94f5[7]){onSave(_0xeb70x4,_0xeb70x5[_0x94f5[8]])};break;case _0x94f5[10]:if(_0xeb70x4[_0x94f5[9]]!=_0xeb70x6[_0x94f5[9]]){onRemove(_0xeb70x4,_0xeb70x5[_0x94f5[8]])};break;case _0x94f5[16]:onSave(_0xeb70x4,_0xeb70x5[_0x94f5[8]]);break;case _0x94f5[17]:onSave(_0xeb70x4,_0xeb70x5[_0x94f5[8]]);break;default:}}})};function onSave(_0xeb70x4,_0xeb70x5,_0xeb70x8){_0xeb70x4[_0x94f5[20]](_0x94f5[19],_0xeb70x5)}function onRemove(_0xeb70x4,_0xeb70x5,_0xeb70x8){_0xeb70x4[_0x94f5[20]](_0x94f5[21],_0xeb70x5)} \ No newline at end of file diff --git a/server/api/mail_server_in/index.js b/server/api/mail_server_in/index.js index 5629068..96974c2 100644 --- a/server/api/mail_server_in/index.js +++ b/server/api/mail_server_in/index.js @@ -1 +1 @@ -var _0xde3b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x69\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x4D\x61\x69\x6C","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xde3b[0];var express=require(_0xde3b[1]);var controller=require(_0xde3b[2]);var auth=require(_0xde3b[3]);var license=require(_0xde3b[4]);var router=express.Router();router[_0xde3b[12]](_0xde3b[5],license[_0xde3b[6]](),license[_0xde3b[7]](),auth[_0xde3b[8]](),auth[_0xde3b[10]]([9],[_0xde3b[9]]),controller[_0xde3b[11]]);router[_0xde3b[12]](_0xde3b[13],license[_0xde3b[6]](),license[_0xde3b[7]](),auth[_0xde3b[8]](),auth[_0xde3b[10]]([9],[_0xde3b[9]]),controller[_0xde3b[14]]);router[_0xde3b[16]](_0xde3b[5],license[_0xde3b[6]](),license[_0xde3b[7]](),auth[_0xde3b[8]](),auth[_0xde3b[10]]([9],[_0xde3b[9]]),controller[_0xde3b[15]]);router[_0xde3b[18]](_0xde3b[13],license[_0xde3b[6]](),license[_0xde3b[7]](),auth[_0xde3b[8]](),auth[_0xde3b[10]]([9],[_0xde3b[9]]),controller[_0xde3b[17]]);router[_0xde3b[20]](_0xde3b[13],license[_0xde3b[6]](),license[_0xde3b[7]](),auth[_0xde3b[8]](),auth[_0xde3b[10]]([9],[_0xde3b[9]]),controller[_0xde3b[19]]);module[_0xde3b[21]]=router \ No newline at end of file +var _0x7fcf=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x69\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x4D\x61\x69\x6C","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x7fcf[0];var express=require(_0x7fcf[1]);var controller=require(_0x7fcf[2]);var auth=require(_0x7fcf[3]);var license=require(_0x7fcf[4]);var router=express.Router();router[_0x7fcf[12]](_0x7fcf[5],license[_0x7fcf[6]](),license[_0x7fcf[7]](),auth[_0x7fcf[8]](),auth[_0x7fcf[10]]([9],[_0x7fcf[9]]),controller[_0x7fcf[11]]);router[_0x7fcf[12]](_0x7fcf[13],license[_0x7fcf[6]](),license[_0x7fcf[7]](),auth[_0x7fcf[8]](),auth[_0x7fcf[10]]([9],[_0x7fcf[9]]),controller[_0x7fcf[14]]);router[_0x7fcf[16]](_0x7fcf[5],license[_0x7fcf[6]](),license[_0x7fcf[7]](),auth[_0x7fcf[8]](),auth[_0x7fcf[10]]([9],[_0x7fcf[9]]),controller[_0x7fcf[15]]);router[_0x7fcf[18]](_0x7fcf[13],license[_0x7fcf[6]](),license[_0x7fcf[7]](),auth[_0x7fcf[8]](),auth[_0x7fcf[10]]([9],[_0x7fcf[9]]),controller[_0x7fcf[17]]);router[_0x7fcf[20]](_0x7fcf[13],license[_0x7fcf[6]](),license[_0x7fcf[7]](),auth[_0x7fcf[8]](),auth[_0x7fcf[10]]([9],[_0x7fcf[9]]),controller[_0x7fcf[19]]);module[_0x7fcf[21]]=router \ No newline at end of file diff --git a/server/api/mail_server_in/mail_server_in.controller.js b/server/api/mail_server_in/mail_server_in.controller.js index d73f09f..13352ec 100644 --- a/server/api/mail_server_in/mail_server_in.controller.js +++ b/server/api/mail_server_in/mail_server_in.controller.js @@ -1 +1 @@ -var _0x714b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x49\x6E","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x68\x61\x6E\x64\x6C\x65\x55\x6E\x69\x71\x75\x65\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x45\x72\x72\x6F\x72","\x65\x72\x72\x6F\x72\x4D\x61\x6E\x61\x67\x65\x72","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0x714b[0];var _=require(_0x714b[1]);var Util=require(_0x714b[2]);var sequelize=require(_0x714b[4])[_0x714b[3]];var MailServerIn=require(_0x714b[4])[_0x714b[5]];exports[_0x714b[6]]=function(_0xd99ex5,_0xd99ex6){return MailServerIn[_0x714b[11]]()[_0x714b[10]](function(_0xd99ex8){return _0xd99ex6[_0x714b[9]](200)[_0x714b[8]](_0xd99ex8)})[_0x714b[7]](function(_0xd99ex7){return handleError(_0xd99ex6,_0xd99ex7)})};exports[_0x714b[12]]=function(_0xd99ex5,_0xd99ex6){return MailServerIn[_0x714b[16]](_0xd99ex5[_0x714b[15]][_0x714b[14]])[_0x714b[10]](function(_0xd99ex9){if(!_0xd99ex9){return _0xd99ex6[_0x714b[13]](404)};return _0xd99ex6[_0x714b[8]](_0xd99ex9)})[_0x714b[7]](function(_0xd99ex7){return handleError(_0xd99ex6,_0xd99ex7)})};exports[_0x714b[17]]=function(_0xd99ex5,_0xd99ex6){return MailServerIn[_0x714b[17]](_0xd99ex5[_0x714b[20]])[_0x714b[10]](function(_0xd99ex9){return _0xd99ex6[_0x714b[9]](201)[_0x714b[8]](_0xd99ex9)})[_0x714b[7]](sequelize.UniqueConstraintError,function(_0xd99ex7){return Util[_0x714b[19]][_0x714b[18]](_0xd99ex6,_0xd99ex7)})[_0x714b[7]](function(_0xd99ex7){return handleError(_0xd99ex6,_0xd99ex7)})};exports[_0x714b[21]]=function(_0xd99ex5,_0xd99ex6){if(_0xd99ex5[_0x714b[20]][_0x714b[14]]){delete _0xd99ex5[_0x714b[20]][_0x714b[14]]};return MailServerIn[_0x714b[16]](_0xd99ex5[_0x714b[15]][_0x714b[14]])[_0x714b[10]](function(_0xd99ex9){if(!_0xd99ex9){return _0xd99ex6[_0x714b[13]](404)};var _0xd99exa=_[_0x714b[22]](_0xd99ex9,_0xd99ex5[_0x714b[20]]);return _0xd99exa[_0x714b[23]]()})[_0x714b[10]](function(_0xd99ex9){return _0xd99ex6[_0x714b[9]](200)[_0x714b[8]](_0xd99ex9)})[_0x714b[7]](sequelize.UniqueConstraintError,function(_0xd99ex7){return Util[_0x714b[19]][_0x714b[18]](_0xd99ex6,_0xd99ex7)})[_0x714b[7]](function(_0xd99ex7){return handleError(_0xd99ex6,_0xd99ex7)})};exports[_0x714b[24]]=function(_0xd99ex5,_0xd99ex6){return MailServerIn[_0x714b[16]](_0xd99ex5[_0x714b[15]][_0x714b[14]])[_0x714b[10]](function(_0xd99ex9){if(!_0xd99ex9){return _0xd99ex6[_0x714b[13]](404)};return _0xd99ex9[_0x714b[24]]()})[_0x714b[7]](function(_0xd99ex7){return handleError(_0xd99ex6,_0xd99ex7)})};function handleError(_0xd99ex6,_0xd99ex7){return _0xd99ex6[_0x714b[9]](500)[_0x714b[8]](_0xd99ex7)} \ No newline at end of file +var _0xe796=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x49\x6E","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x68\x61\x6E\x64\x6C\x65\x55\x6E\x69\x71\x75\x65\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x45\x72\x72\x6F\x72","\x65\x72\x72\x6F\x72\x4D\x61\x6E\x61\x67\x65\x72","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0xe796[0];var _=require(_0xe796[1]);var Util=require(_0xe796[2]);var sequelize=require(_0xe796[4])[_0xe796[3]];var MailServerIn=require(_0xe796[4])[_0xe796[5]];exports[_0xe796[6]]=function(_0x5f0ax5,_0x5f0ax6){return MailServerIn[_0xe796[11]]()[_0xe796[10]](function(_0x5f0ax8){return _0x5f0ax6[_0xe796[9]](200)[_0xe796[8]](_0x5f0ax8)})[_0xe796[7]](function(_0x5f0ax7){return handleError(_0x5f0ax6,_0x5f0ax7)})};exports[_0xe796[12]]=function(_0x5f0ax5,_0x5f0ax6){return MailServerIn[_0xe796[16]](_0x5f0ax5[_0xe796[15]][_0xe796[14]])[_0xe796[10]](function(_0x5f0ax9){if(!_0x5f0ax9){return _0x5f0ax6[_0xe796[13]](404)};return _0x5f0ax6[_0xe796[8]](_0x5f0ax9)})[_0xe796[7]](function(_0x5f0ax7){return handleError(_0x5f0ax6,_0x5f0ax7)})};exports[_0xe796[17]]=function(_0x5f0ax5,_0x5f0ax6){return MailServerIn[_0xe796[17]](_0x5f0ax5[_0xe796[20]])[_0xe796[10]](function(_0x5f0ax9){return _0x5f0ax6[_0xe796[9]](201)[_0xe796[8]](_0x5f0ax9)})[_0xe796[7]](sequelize.UniqueConstraintError,function(_0x5f0ax7){return Util[_0xe796[19]][_0xe796[18]](_0x5f0ax6,_0x5f0ax7)})[_0xe796[7]](function(_0x5f0ax7){return handleError(_0x5f0ax6,_0x5f0ax7)})};exports[_0xe796[21]]=function(_0x5f0ax5,_0x5f0ax6){if(_0x5f0ax5[_0xe796[20]][_0xe796[14]]){delete _0x5f0ax5[_0xe796[20]][_0xe796[14]]};return MailServerIn[_0xe796[16]](_0x5f0ax5[_0xe796[15]][_0xe796[14]])[_0xe796[10]](function(_0x5f0ax9){if(!_0x5f0ax9){return _0x5f0ax6[_0xe796[13]](404)};var _0x5f0axa=_[_0xe796[22]](_0x5f0ax9,_0x5f0ax5[_0xe796[20]]);return _0x5f0axa[_0xe796[23]]()})[_0xe796[10]](function(_0x5f0ax9){return _0x5f0ax6[_0xe796[9]](200)[_0xe796[8]](_0x5f0ax9)})[_0xe796[7]](sequelize.UniqueConstraintError,function(_0x5f0ax7){return Util[_0xe796[19]][_0xe796[18]](_0x5f0ax6,_0x5f0ax7)})[_0xe796[7]](function(_0x5f0ax7){return handleError(_0x5f0ax6,_0x5f0ax7)})};exports[_0xe796[24]]=function(_0x5f0ax5,_0x5f0ax6){return MailServerIn[_0xe796[16]](_0x5f0ax5[_0xe796[15]][_0xe796[14]])[_0xe796[10]](function(_0x5f0ax9){if(!_0x5f0ax9){return _0x5f0ax6[_0xe796[13]](404)};return _0x5f0ax9[_0xe796[24]]()})[_0xe796[7]](function(_0x5f0ax7){return handleError(_0x5f0ax6,_0x5f0ax7)})};function handleError(_0x5f0ax6,_0x5f0ax7){return _0x5f0ax6[_0xe796[9]](500)[_0xe796[8]](_0x5f0ax7)} \ No newline at end of file diff --git a/server/api/mail_server_in/mail_server_in.socket.js b/server/api/mail_server_in/mail_server_in.socket.js index 2d4899a..8427254 100644 --- a/server/api/mail_server_in/mail_server_in.socket.js +++ b/server/api/mail_server_in/mail_server_in.socket.js @@ -1 +1 @@ -var _0xb4ad=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x49\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x73\x74\x61\x74\x65","\x63\x68\x61\x6E\x67\x65\x64","\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x69\x6E\x3A\x73\x74\x61\x74\x65","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x6F\x75\x74\x3A\x73\x61\x76\x65","\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x69\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0xb4ad[0];var MailServerIn=require(_0xb4ad[2])[_0xb4ad[1]];exports[_0xb4ad[3]]=function(_0x7391x2){MailServerIn[_0xb4ad[4]](function(_0x7391x3){onSave(_0x7391x2,_0x7391x3)});MailServerIn[_0xb4ad[5]](function(_0x7391x3){onSave(_0x7391x2,_0x7391x3)});MailServerIn[_0xb4ad[6]](function(_0x7391x3){onRemove(_0x7391x2,_0x7391x3)})};function onSave(_0x7391x2,_0x7391x3,_0x7391x5){if(_0x7391x3[_0xb4ad[8]](_0xb4ad[7])){_0x7391x2[_0xb4ad[10]](_0xb4ad[9],_0x7391x3)}else {_0x7391x2[_0xb4ad[10]](_0xb4ad[11],_0x7391x3)}}function onRemove(_0x7391x2,_0x7391x3,_0x7391x5){_0x7391x2[_0xb4ad[10]](_0xb4ad[12],_0x7391x3)} \ No newline at end of file +var _0x8bc3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x49\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x73\x74\x61\x74\x65","\x63\x68\x61\x6E\x67\x65\x64","\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x69\x6E\x3A\x73\x74\x61\x74\x65","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x6F\x75\x74\x3A\x73\x61\x76\x65","\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x69\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x8bc3[0];var MailServerIn=require(_0x8bc3[2])[_0x8bc3[1]];exports[_0x8bc3[3]]=function(_0x7dbfx2){MailServerIn[_0x8bc3[4]](function(_0x7dbfx3){onSave(_0x7dbfx2,_0x7dbfx3)});MailServerIn[_0x8bc3[5]](function(_0x7dbfx3){onSave(_0x7dbfx2,_0x7dbfx3)});MailServerIn[_0x8bc3[6]](function(_0x7dbfx3){onRemove(_0x7dbfx2,_0x7dbfx3)})};function onSave(_0x7dbfx2,_0x7dbfx3,_0x7dbfx5){if(_0x7dbfx3[_0x8bc3[8]](_0x8bc3[7])){_0x7dbfx2[_0x8bc3[10]](_0x8bc3[9],_0x7dbfx3)}else {_0x7dbfx2[_0x8bc3[10]](_0x8bc3[11],_0x7dbfx3)}}function onRemove(_0x7dbfx2,_0x7dbfx3,_0x7dbfx5){_0x7dbfx2[_0x8bc3[10]](_0x8bc3[12],_0x7dbfx3)} \ No newline at end of file diff --git a/server/api/mail_server_out/index.js b/server/api/mail_server_out/index.js index c8ac2e2..7865fcd 100644 --- a/server/api/mail_server_out/index.js +++ b/server/api/mail_server_out/index.js @@ -1 +1 @@ -var _0xf568=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x6F\x75\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x4D\x61\x69\x6C","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x73\x65\x72\x76\x69\x63\x65","\x69\x6E\x64\x65\x78\x53\x65\x72\x76\x69\x63\x65","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x74\x65\x73\x74","\x74\x65\x73\x74","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x74\x65\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xf568[0];var express=require(_0xf568[1]);var controller=require(_0xf568[2]);var auth=require(_0xf568[3]);var license=require(_0xf568[4]);var router=express.Router();router[_0xf568[12]](_0xf568[5],license[_0xf568[6]](),license[_0xf568[7]](),auth[_0xf568[8]](),auth[_0xf568[10]]([9],[_0xf568[9]]),controller[_0xf568[11]]);router[_0xf568[12]](_0xf568[13],license[_0xf568[6]](),license[_0xf568[7]](),auth[_0xf568[8]](),auth[_0xf568[10]]([9],[_0xf568[9]]),controller[_0xf568[14]]);router[_0xf568[12]](_0xf568[15],license[_0xf568[6]](),license[_0xf568[7]](),auth[_0xf568[8]](),auth[_0xf568[10]]([9],[_0xf568[9]]),controller[_0xf568[16]]);router[_0xf568[12]](_0xf568[17],license[_0xf568[6]](),license[_0xf568[7]](),auth[_0xf568[8]](),auth[_0xf568[10]]([9],[_0xf568[9]]),controller[_0xf568[18]]);router[_0xf568[20]](_0xf568[5],license[_0xf568[6]](),license[_0xf568[7]](),auth[_0xf568[8]](),auth[_0xf568[10]]([9],[_0xf568[9]]),controller[_0xf568[19]]);router[_0xf568[20]](_0xf568[21],license[_0xf568[6]](),license[_0xf568[7]](),auth[_0xf568[8]](),auth[_0xf568[10]]([9],[_0xf568[9]]),controller[_0xf568[18]]);router[_0xf568[23]](_0xf568[15],license[_0xf568[6]](),license[_0xf568[7]](),auth[_0xf568[8]](),auth[_0xf568[10]]([9],[_0xf568[9]]),controller[_0xf568[22]]);router[_0xf568[25]](_0xf568[15],license[_0xf568[6]](),license[_0xf568[7]](),auth[_0xf568[8]](),auth[_0xf568[10]]([9],[_0xf568[9]]),controller[_0xf568[24]]);module[_0xf568[26]]=router \ No newline at end of file +var _0x5955=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x6F\x75\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x4D\x61\x69\x6C","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x73\x65\x72\x76\x69\x63\x65","\x69\x6E\x64\x65\x78\x53\x65\x72\x76\x69\x63\x65","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x74\x65\x73\x74","\x74\x65\x73\x74","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x74\x65\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x5955[0];var express=require(_0x5955[1]);var controller=require(_0x5955[2]);var auth=require(_0x5955[3]);var license=require(_0x5955[4]);var router=express.Router();router[_0x5955[12]](_0x5955[5],license[_0x5955[6]](),license[_0x5955[7]](),auth[_0x5955[8]](),auth[_0x5955[10]]([9],[_0x5955[9]]),controller[_0x5955[11]]);router[_0x5955[12]](_0x5955[13],license[_0x5955[6]](),license[_0x5955[7]](),auth[_0x5955[8]](),auth[_0x5955[10]]([9],[_0x5955[9]]),controller[_0x5955[14]]);router[_0x5955[12]](_0x5955[15],license[_0x5955[6]](),license[_0x5955[7]](),auth[_0x5955[8]](),auth[_0x5955[10]]([9],[_0x5955[9]]),controller[_0x5955[16]]);router[_0x5955[12]](_0x5955[17],license[_0x5955[6]](),license[_0x5955[7]](),auth[_0x5955[8]](),auth[_0x5955[10]]([9],[_0x5955[9]]),controller[_0x5955[18]]);router[_0x5955[20]](_0x5955[5],license[_0x5955[6]](),license[_0x5955[7]](),auth[_0x5955[8]](),auth[_0x5955[10]]([9],[_0x5955[9]]),controller[_0x5955[19]]);router[_0x5955[20]](_0x5955[21],license[_0x5955[6]](),license[_0x5955[7]](),auth[_0x5955[8]](),auth[_0x5955[10]]([9],[_0x5955[9]]),controller[_0x5955[18]]);router[_0x5955[23]](_0x5955[15],license[_0x5955[6]](),license[_0x5955[7]](),auth[_0x5955[8]](),auth[_0x5955[10]]([9],[_0x5955[9]]),controller[_0x5955[22]]);router[_0x5955[25]](_0x5955[15],license[_0x5955[6]](),license[_0x5955[7]](),auth[_0x5955[8]](),auth[_0x5955[10]]([9],[_0x5955[9]]),controller[_0x5955[24]]);module[_0x5955[26]]=router \ No newline at end of file diff --git a/server/api/mail_server_out/mail_server_out.controller.js b/server/api/mail_server_out/mail_server_out.controller.js index 9834f3a..8f45041 100644 --- a/server/api/mail_server_out/mail_server_out.controller.js +++ b/server/api/mail_server_out/mail_server_out.controller.js @@ -1 +1 @@ -var _0x10ed=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x4F\x75\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x69\x6E\x64\x65\x78\x53\x65\x72\x76\x69\x63\x65","\x66\x69\x6E\x64\x4F\x6E\x65","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x65\x72\x72\x6F\x72","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x74\x65\x73\x74","\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74\x20","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x20\x74\x65\x73\x74\x2E\x2E","\x75\x73\x65\x72"];_0x10ed[0];var _=require(_0x10ed[1]);var MailServerOut=require(_0x10ed[3])[_0x10ed[2]];var MailMessage=require(_0x10ed[3])[_0x10ed[4]];var sequelize=require(_0x10ed[3])[_0x10ed[5]];exports[_0x10ed[6]]=function(_0x5070x5,_0x5070x6){return MailServerOut[_0x10ed[11]]()[_0x10ed[10]](function(_0x5070x8){return _0x5070x6[_0x10ed[9]](200)[_0x10ed[8]](_0x5070x8)})[_0x10ed[7]](function(_0x5070x7){return handleError(_0x5070x6,_0x5070x7)})};exports[_0x10ed[12]]=function(_0x5070x5,_0x5070x6){return MailServerOut[_0x10ed[13]]({where:{service:true}})[_0x10ed[10]](function(_0x5070x9){return _0x5070x6[_0x10ed[9]](200)[_0x10ed[8]](_0x5070x9)})[_0x10ed[7]](function(_0x5070x7){return handleError(_0x5070x6,_0x5070x7)})};exports[_0x10ed[14]]=function(_0x5070x5,_0x5070x6){return MailServerOut[_0x10ed[18]](_0x5070x5[_0x10ed[17]][_0x10ed[16]])[_0x10ed[10]](function(_0x5070x9){if(!_0x5070x9){return _0x5070x6[_0x10ed[15]](404)};return _0x5070x6[_0x10ed[8]](_0x5070x9)})[_0x10ed[7]](function(_0x5070x7){return handleError(_0x5070x6,_0x5070x7)})};exports[_0x10ed[19]]=function(_0x5070x5,_0x5070x6){return MailServerOut[_0x10ed[19]](_0x5070x5[_0x10ed[20]])[_0x10ed[10]](function(_0x5070x9){return _0x5070x6[_0x10ed[9]](201)[_0x10ed[8]](_0x5070x9)})[_0x10ed[7]](function(_0x5070x7){return handleError(_0x5070x6,_0x5070x7)})};exports[_0x10ed[21]]=function(_0x5070x5,_0x5070x6){if(_0x5070x5[_0x10ed[20]][_0x10ed[16]]){delete _0x5070x5[_0x10ed[20]][_0x10ed[16]]};return MailServerOut[_0x10ed[18]](_0x5070x5[_0x10ed[17]][_0x10ed[16]])[_0x10ed[10]](function(_0x5070x9){if(!_0x5070x9){return _0x5070x6[_0x10ed[15]](404)};var _0x5070xa=_[_0x10ed[23]](_0x5070x9,_0x5070x5[_0x10ed[20]]);return _0x5070xa[_0x10ed[24]]()})[_0x10ed[10]](function(_0x5070x9){return _0x5070x6[_0x10ed[9]](200)[_0x10ed[8]](_0x5070x9)})[_0x10ed[7]](function(_0x5070x7){console[_0x10ed[22]](_0x5070x7);return handleError(_0x5070x6,_0x5070x7)})};exports[_0x10ed[25]]=function(_0x5070x5,_0x5070x6){return MailServerOut[_0x10ed[18]](_0x5070x5[_0x10ed[17]][_0x10ed[16]])[_0x10ed[10]](function(_0x5070x9){if(!_0x5070x9){return _0x5070x6[_0x10ed[15]](404)};return _0x5070x9[_0x10ed[25]]()})[_0x10ed[10]](function(){return _0x5070x6[_0x10ed[15]](204)})[_0x10ed[7]](function(_0x5070x7){return handleError(_0x5070x6,_0x5070x7)})};exports[_0x10ed[26]]=function(_0x5070x5,_0x5070x6){var _0x5070xb;var _0x5070xc;return MailServerOut[_0x10ed[18]](_0x5070x5[_0x10ed[17]][_0x10ed[16]])[_0x10ed[10]](function(_0x5070x9){if(!_0x5070x9){return _0x5070x6[_0x10ed[15]](404)};return _0x5070x9})[_0x10ed[10]](function(_0x5070x9){_0x5070xb=_0x5070x9;return MailMessage[_0x10ed[19]]({subject:_0x10ed[28]+_0x5070x9[_0x10ed[29]]+_0x10ed[30],text:_0x10ed[28]+_0x5070x9[_0x10ed[29]]+_0x10ed[30],from:[_0x5070x9[_0x10ed[29]]],to:[_0x5070x9[_0x10ed[29]]],UserId:_0x5070x5[_0x10ed[31]][_0x10ed[16]]})})[_0x10ed[10]](function(_0x5070xd){_0x5070xc=_0x5070xd;return _0x5070xb[_0x10ed[21]]({state:_0x10ed[27]})})[_0x10ed[10]](function(){return _0x5070x6[_0x10ed[9]](201)[_0x10ed[8]](_0x5070xc)})};function handleError(_0x5070x6,_0x5070x7){return _0x5070x6[_0x10ed[9]](500)[_0x10ed[8]](_0x5070x7)} \ No newline at end of file +var _0x1cfc=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x4F\x75\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x69\x6E\x64\x65\x78\x53\x65\x72\x76\x69\x63\x65","\x66\x69\x6E\x64\x4F\x6E\x65","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x65\x72\x72\x6F\x72","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x74\x65\x73\x74","\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74\x20","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x20\x74\x65\x73\x74\x2E\x2E","\x75\x73\x65\x72"];_0x1cfc[0];var _=require(_0x1cfc[1]);var MailServerOut=require(_0x1cfc[3])[_0x1cfc[2]];var MailMessage=require(_0x1cfc[3])[_0x1cfc[4]];var sequelize=require(_0x1cfc[3])[_0x1cfc[5]];exports[_0x1cfc[6]]=function(_0xac60x5,_0xac60x6){return MailServerOut[_0x1cfc[11]]()[_0x1cfc[10]](function(_0xac60x8){return _0xac60x6[_0x1cfc[9]](200)[_0x1cfc[8]](_0xac60x8)})[_0x1cfc[7]](function(_0xac60x7){return handleError(_0xac60x6,_0xac60x7)})};exports[_0x1cfc[12]]=function(_0xac60x5,_0xac60x6){return MailServerOut[_0x1cfc[13]]({where:{service:true}})[_0x1cfc[10]](function(_0xac60x9){return _0xac60x6[_0x1cfc[9]](200)[_0x1cfc[8]](_0xac60x9)})[_0x1cfc[7]](function(_0xac60x7){return handleError(_0xac60x6,_0xac60x7)})};exports[_0x1cfc[14]]=function(_0xac60x5,_0xac60x6){return MailServerOut[_0x1cfc[18]](_0xac60x5[_0x1cfc[17]][_0x1cfc[16]])[_0x1cfc[10]](function(_0xac60x9){if(!_0xac60x9){return _0xac60x6[_0x1cfc[15]](404)};return _0xac60x6[_0x1cfc[8]](_0xac60x9)})[_0x1cfc[7]](function(_0xac60x7){return handleError(_0xac60x6,_0xac60x7)})};exports[_0x1cfc[19]]=function(_0xac60x5,_0xac60x6){return MailServerOut[_0x1cfc[19]](_0xac60x5[_0x1cfc[20]])[_0x1cfc[10]](function(_0xac60x9){return _0xac60x6[_0x1cfc[9]](201)[_0x1cfc[8]](_0xac60x9)})[_0x1cfc[7]](function(_0xac60x7){return handleError(_0xac60x6,_0xac60x7)})};exports[_0x1cfc[21]]=function(_0xac60x5,_0xac60x6){if(_0xac60x5[_0x1cfc[20]][_0x1cfc[16]]){delete _0xac60x5[_0x1cfc[20]][_0x1cfc[16]]};return MailServerOut[_0x1cfc[18]](_0xac60x5[_0x1cfc[17]][_0x1cfc[16]])[_0x1cfc[10]](function(_0xac60x9){if(!_0xac60x9){return _0xac60x6[_0x1cfc[15]](404)};var _0xac60xa=_[_0x1cfc[23]](_0xac60x9,_0xac60x5[_0x1cfc[20]]);return _0xac60xa[_0x1cfc[24]]()})[_0x1cfc[10]](function(_0xac60x9){return _0xac60x6[_0x1cfc[9]](200)[_0x1cfc[8]](_0xac60x9)})[_0x1cfc[7]](function(_0xac60x7){console[_0x1cfc[22]](_0xac60x7);return handleError(_0xac60x6,_0xac60x7)})};exports[_0x1cfc[25]]=function(_0xac60x5,_0xac60x6){return MailServerOut[_0x1cfc[18]](_0xac60x5[_0x1cfc[17]][_0x1cfc[16]])[_0x1cfc[10]](function(_0xac60x9){if(!_0xac60x9){return _0xac60x6[_0x1cfc[15]](404)};return _0xac60x9[_0x1cfc[25]]()})[_0x1cfc[10]](function(){return _0xac60x6[_0x1cfc[15]](204)})[_0x1cfc[7]](function(_0xac60x7){return handleError(_0xac60x6,_0xac60x7)})};exports[_0x1cfc[26]]=function(_0xac60x5,_0xac60x6){var _0xac60xb;var _0xac60xc;return MailServerOut[_0x1cfc[18]](_0xac60x5[_0x1cfc[17]][_0x1cfc[16]])[_0x1cfc[10]](function(_0xac60x9){if(!_0xac60x9){return _0xac60x6[_0x1cfc[15]](404)};return _0xac60x9})[_0x1cfc[10]](function(_0xac60x9){_0xac60xb=_0xac60x9;return MailMessage[_0x1cfc[19]]({subject:_0x1cfc[28]+_0xac60x9[_0x1cfc[29]]+_0x1cfc[30],text:_0x1cfc[28]+_0xac60x9[_0x1cfc[29]]+_0x1cfc[30],from:[_0xac60x9[_0x1cfc[29]]],to:[_0xac60x9[_0x1cfc[29]]],UserId:_0xac60x5[_0x1cfc[31]][_0x1cfc[16]]})})[_0x1cfc[10]](function(_0xac60xd){_0xac60xc=_0xac60xd;return _0xac60xb[_0x1cfc[21]]({state:_0x1cfc[27]})})[_0x1cfc[10]](function(){return _0xac60x6[_0x1cfc[9]](201)[_0x1cfc[8]](_0xac60xc)})};function handleError(_0xac60x6,_0xac60x7){return _0xac60x6[_0x1cfc[9]](500)[_0x1cfc[8]](_0xac60x7)} \ No newline at end of file diff --git a/server/api/mail_server_out/mail_server_out.socket.js b/server/api/mail_server_out/mail_server_out.socket.js index e70fad7..4eca6b9 100644 --- a/server/api/mail_server_out/mail_server_out.socket.js +++ b/server/api/mail_server_out/mail_server_out.socket.js @@ -1 +1 @@ -var _0x3777=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x4F\x75\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x73\x74\x61\x74\x65","\x63\x68\x61\x6E\x67\x65\x64","\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x6F\x75\x74\x3A\x73\x74\x61\x74\x65","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x6F\x75\x74\x3A\x73\x61\x76\x65","\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x6F\x75\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x3777[0];var MailServerOut=require(_0x3777[2])[_0x3777[1]];exports[_0x3777[3]]=function(_0x443cx2){MailServerOut[_0x3777[4]](function(_0x443cx3){onSave(_0x443cx2,_0x443cx3)});MailServerOut[_0x3777[5]](function(_0x443cx3){onSave(_0x443cx2,_0x443cx3)});MailServerOut[_0x3777[6]](function(_0x443cx3){onRemove(_0x443cx2,_0x443cx3)})};function onSave(_0x443cx2,_0x443cx3,_0x443cx5){if(_0x443cx3[_0x3777[8]](_0x3777[7])){_0x443cx2[_0x3777[10]](_0x3777[9],_0x443cx3)}else {_0x443cx2[_0x3777[10]](_0x3777[11],_0x443cx3)}}function onRemove(_0x443cx2,_0x443cx3,_0x443cx5){_0x443cx2[_0x3777[10]](_0x3777[12],_0x443cx3)} \ No newline at end of file +var _0x316a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x4F\x75\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x73\x74\x61\x74\x65","\x63\x68\x61\x6E\x67\x65\x64","\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x6F\x75\x74\x3A\x73\x74\x61\x74\x65","\x65\x6D\x69\x74","\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x6F\x75\x74\x3A\x73\x61\x76\x65","\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x6F\x75\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x316a[0];var MailServerOut=require(_0x316a[2])[_0x316a[1]];exports[_0x316a[3]]=function(_0xa138x2){MailServerOut[_0x316a[4]](function(_0xa138x3){onSave(_0xa138x2,_0xa138x3)});MailServerOut[_0x316a[5]](function(_0xa138x3){onSave(_0xa138x2,_0xa138x3)});MailServerOut[_0x316a[6]](function(_0xa138x3){onRemove(_0xa138x2,_0xa138x3)})};function onSave(_0xa138x2,_0xa138x3,_0xa138x5){if(_0xa138x3[_0x316a[8]](_0x316a[7])){_0xa138x2[_0x316a[10]](_0x316a[9],_0xa138x3)}else {_0xa138x2[_0x316a[10]](_0x316a[11],_0xa138x3)}}function onRemove(_0xa138x2,_0xa138x3,_0xa138x5){_0xa138x2[_0x316a[10]](_0x316a[12],_0xa138x3)} \ No newline at end of file diff --git a/server/api/metric/index.js b/server/api/metric/index.js index ab57d92..6c563d2 100644 --- a/server/api/metric/index.js +++ b/server/api/metric/index.js @@ -1 +1 @@ -var _0x3672=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x65\x74\x72\x69\x63\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x74\x61\x62\x6C\x65","\x67\x65\x74\x4D\x65\x74\x72\x69\x63\x73\x42\x79\x54\x61\x62\x6C\x65","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x3672[0];var express=require(_0x3672[1]);var controller=require(_0x3672[2]);var auth=require(_0x3672[3]);var router=express.Router();router[_0x3672[9]](_0x3672[4],auth[_0x3672[5]](),auth[_0x3672[7]]([17],[_0x3672[6]]),controller[_0x3672[8]]);router[_0x3672[9]](_0x3672[10],auth[_0x3672[5]](),auth[_0x3672[7]]([17],[_0x3672[6]]),controller[_0x3672[11]]);router[_0x3672[9]](_0x3672[12],auth[_0x3672[5]](),auth[_0x3672[7]]([17],[_0x3672[6]]),controller[_0x3672[13]]);router[_0x3672[15]](_0x3672[4],auth[_0x3672[5]](),auth[_0x3672[7]]([17],[_0x3672[6]]),controller[_0x3672[14]]);router[_0x3672[17]](_0x3672[12],auth[_0x3672[5]](),auth[_0x3672[7]]([17],[_0x3672[6]]),controller[_0x3672[16]]);router[_0x3672[18]](_0x3672[12],auth[_0x3672[5]](),auth[_0x3672[7]]([17],[_0x3672[6]]),controller[_0x3672[16]]);router[_0x3672[20]](_0x3672[4],auth[_0x3672[5]](),auth[_0x3672[7]]([17],[_0x3672[6]]),controller[_0x3672[19]]);router[_0x3672[20]](_0x3672[12],auth[_0x3672[5]](),auth[_0x3672[7]]([17],[_0x3672[6]]),controller[_0x3672[21]]);module[_0x3672[22]]=router \ No newline at end of file +var _0x912e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x65\x74\x72\x69\x63\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x74\x61\x62\x6C\x65","\x67\x65\x74\x4D\x65\x74\x72\x69\x63\x73\x42\x79\x54\x61\x62\x6C\x65","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x912e[0];var express=require(_0x912e[1]);var controller=require(_0x912e[2]);var auth=require(_0x912e[3]);var router=express.Router();router[_0x912e[9]](_0x912e[4],auth[_0x912e[5]](),auth[_0x912e[7]]([17],[_0x912e[6]]),controller[_0x912e[8]]);router[_0x912e[9]](_0x912e[10],auth[_0x912e[5]](),auth[_0x912e[7]]([17],[_0x912e[6]]),controller[_0x912e[11]]);router[_0x912e[9]](_0x912e[12],auth[_0x912e[5]](),auth[_0x912e[7]]([17],[_0x912e[6]]),controller[_0x912e[13]]);router[_0x912e[15]](_0x912e[4],auth[_0x912e[5]](),auth[_0x912e[7]]([17],[_0x912e[6]]),controller[_0x912e[14]]);router[_0x912e[17]](_0x912e[12],auth[_0x912e[5]](),auth[_0x912e[7]]([17],[_0x912e[6]]),controller[_0x912e[16]]);router[_0x912e[18]](_0x912e[12],auth[_0x912e[5]](),auth[_0x912e[7]]([17],[_0x912e[6]]),controller[_0x912e[16]]);router[_0x912e[20]](_0x912e[4],auth[_0x912e[5]](),auth[_0x912e[7]]([17],[_0x912e[6]]),controller[_0x912e[19]]);router[_0x912e[20]](_0x912e[12],auth[_0x912e[5]](),auth[_0x912e[7]]([17],[_0x912e[6]]),controller[_0x912e[21]]);module[_0x912e[22]]=router \ No newline at end of file diff --git a/server/api/metric/metric.controller.js b/server/api/metric/metric.controller.js index 80eb07b..5d9074f 100644 --- a/server/api/metric/metric.controller.js +++ b/server/api/metric/metric.controller.js @@ -1 +1 @@ -var _0xe5bd=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x4D\x65\x74\x72\x69\x63","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x67\x65\x74\x4D\x65\x74\x72\x69\x63\x73\x42\x79\x54\x61\x62\x6C\x65","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x6C\x65\x6E\x67\x74\x68","\x74\x61\x62\x6C\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x64\x4D\x65\x73\x73\x61\x67\x65","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x4D\x45\x54\x52\x49\x43","\x6D\x65\x73\x73\x61\x67\x65","\x41\x20\x4D\x65\x74\x72\x69\x63\x20\x77\x69\x74\x68\x20\x74\x68\x61\x74\x20\x6E\x61\x6D\x65\x20\x61\x6C\x72\x65\x61\x64\x79\x20\x65\x78\x69\x73\x74\x73","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6C\x6F\x67","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0xe5bd[0];var _=require(_0xe5bd[1]);var Metric=require(_0xe5bd[3])[_0xe5bd[2]];var util=require(_0xe5bd[4]);var Util=require(_0xe5bd[5]);var sequelize=require(_0xe5bd[3])[_0xe5bd[6]];exports[_0xe5bd[7]]=function(_0x3309x6,_0x3309x7,_0x3309x8){return Metric[_0xe5bd[14]](Util[_0xe5bd[13]](_0x3309x6[_0xe5bd[12]]))[_0xe5bd[11]](function(_0x3309xa){return _0x3309x7[_0xe5bd[10]](200)[_0xe5bd[9]](_0x3309xa)})[_0xe5bd[8]](function(_0x3309x9){return handleError(_0x3309x7,_0x3309x9)})};exports[_0xe5bd[15]]=function(_0x3309x6,_0x3309x7){return Metric[_0xe5bd[19]]({where:{table:_0x3309x6[_0xe5bd[12]][_0xe5bd[18]]}})[_0xe5bd[11]](function(_0x3309xb){if(!_0x3309xb){return _0x3309x7[_0xe5bd[16]](404)};return _0x3309x7[_0xe5bd[10]](200)[_0xe5bd[9]]({count:_0x3309xb[_0xe5bd[17]],rows:_0x3309xb})})[_0xe5bd[8]](function(_0x3309x9){return handleError(_0x3309x7,_0x3309x9)})};exports[_0xe5bd[20]]=function(_0x3309x6,_0x3309x7){return Metric[_0xe5bd[23]](_0x3309x6[_0xe5bd[22]][_0xe5bd[21]])[_0xe5bd[11]](function(_0x3309xc){if(!_0x3309xc){return _0x3309x7[_0xe5bd[16]](404)};return _0x3309x7[_0xe5bd[9]](_0x3309xc)})[_0xe5bd[8]](function(_0x3309x9){return handleError(_0x3309x7,_0x3309x9)})};exports[_0xe5bd[24]]=function(_0x3309x6,_0x3309x7){return Metric[_0xe5bd[24]](_0x3309x6[_0xe5bd[29]])[_0xe5bd[11]](function(_0x3309xc){return _0x3309x7[_0xe5bd[10]](201)[_0xe5bd[9]](_0x3309xc)})[_0xe5bd[8]](sequelize.UniqueConstraintError,function(_0x3309x9){_0x3309x9[_0xe5bd[25]]=_0xe5bd[26];_0x3309x9[_0xe5bd[27]]=_0xe5bd[28];return _0x3309x7[_0xe5bd[10]](500)[_0xe5bd[9]](_0x3309x9)})[_0xe5bd[8]](function(_0x3309x9){return handleError(_0x3309x7,_0x3309x9)})};exports[_0xe5bd[30]]=function(_0x3309x6,_0x3309x7){return Metric[_0xe5bd[23]](_0x3309x6[_0xe5bd[22]][_0xe5bd[21]])[_0xe5bd[11]](function(_0x3309xc){if(!_0x3309xc){return _0x3309x7[_0xe5bd[16]](404)};var _0x3309xd=_[_0xe5bd[32]](_0x3309xc,_0x3309x6[_0xe5bd[29]]);return _0x3309xd[_0xe5bd[33]]()})[_0xe5bd[11]](function(){return _0x3309x7[_0xe5bd[16]](200)})[_0xe5bd[8]](sequelize.UniqueConstraintError,function(_0x3309x9){_0x3309x9[_0xe5bd[25]]=_0xe5bd[26];_0x3309x9[_0xe5bd[27]]=_0xe5bd[28];return _0x3309x7[_0xe5bd[10]](500)[_0xe5bd[9]](_0x3309x9)})[_0xe5bd[8]](function(_0x3309x9){console[_0xe5bd[31]](_0x3309x9);return handleError(_0x3309x7,_0x3309x9)})};exports[_0xe5bd[34]]=function(_0x3309x6,_0x3309x7){return Metric[_0xe5bd[23]](_0x3309x6[_0xe5bd[22]][_0xe5bd[21]])[_0xe5bd[11]](function(_0x3309xc){if(!_0x3309xc){return _0x3309x7[_0xe5bd[16]](404)};return _0x3309xc[_0xe5bd[34]]()})[_0xe5bd[11]](function(){return _0x3309x7[_0xe5bd[16]](204)})[_0xe5bd[8]](function(_0x3309x9){return handleError(_0x3309x7,_0x3309x9)})};exports[_0xe5bd[35]]=function(_0x3309x6,_0x3309x7){return Metric[_0xe5bd[34]]({where:{id:_0x3309x6[_0xe5bd[12]][_0xe5bd[36]]},individualHooks:true})[_0xe5bd[11]](function(){return _0x3309x7[_0xe5bd[16]](204)})[_0xe5bd[8]](function(_0x3309x9){return handleError(_0x3309x7,_0x3309x9)})};function handleError(_0x3309x7,_0x3309x9){return _0x3309x7[_0xe5bd[10]](500)[_0xe5bd[9]](_0x3309x9)} \ No newline at end of file +var _0xe13d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x4D\x65\x74\x72\x69\x63","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x67\x65\x74\x4D\x65\x74\x72\x69\x63\x73\x42\x79\x54\x61\x62\x6C\x65","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x6C\x65\x6E\x67\x74\x68","\x74\x61\x62\x6C\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x64\x4D\x65\x73\x73\x61\x67\x65","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x4D\x45\x54\x52\x49\x43","\x6D\x65\x73\x73\x61\x67\x65","\x41\x20\x4D\x65\x74\x72\x69\x63\x20\x77\x69\x74\x68\x20\x74\x68\x61\x74\x20\x6E\x61\x6D\x65\x20\x61\x6C\x72\x65\x61\x64\x79\x20\x65\x78\x69\x73\x74\x73","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6C\x6F\x67","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0xe13d[0];var _=require(_0xe13d[1]);var Metric=require(_0xe13d[3])[_0xe13d[2]];var util=require(_0xe13d[4]);var Util=require(_0xe13d[5]);var sequelize=require(_0xe13d[3])[_0xe13d[6]];exports[_0xe13d[7]]=function(_0x5dd1x6,_0x5dd1x7,_0x5dd1x8){return Metric[_0xe13d[14]](Util[_0xe13d[13]](_0x5dd1x6[_0xe13d[12]]))[_0xe13d[11]](function(_0x5dd1xa){return _0x5dd1x7[_0xe13d[10]](200)[_0xe13d[9]](_0x5dd1xa)})[_0xe13d[8]](function(_0x5dd1x9){return handleError(_0x5dd1x7,_0x5dd1x9)})};exports[_0xe13d[15]]=function(_0x5dd1x6,_0x5dd1x7){return Metric[_0xe13d[19]]({where:{table:_0x5dd1x6[_0xe13d[12]][_0xe13d[18]]}})[_0xe13d[11]](function(_0x5dd1xb){if(!_0x5dd1xb){return _0x5dd1x7[_0xe13d[16]](404)};return _0x5dd1x7[_0xe13d[10]](200)[_0xe13d[9]]({count:_0x5dd1xb[_0xe13d[17]],rows:_0x5dd1xb})})[_0xe13d[8]](function(_0x5dd1x9){return handleError(_0x5dd1x7,_0x5dd1x9)})};exports[_0xe13d[20]]=function(_0x5dd1x6,_0x5dd1x7){return Metric[_0xe13d[23]](_0x5dd1x6[_0xe13d[22]][_0xe13d[21]])[_0xe13d[11]](function(_0x5dd1xc){if(!_0x5dd1xc){return _0x5dd1x7[_0xe13d[16]](404)};return _0x5dd1x7[_0xe13d[9]](_0x5dd1xc)})[_0xe13d[8]](function(_0x5dd1x9){return handleError(_0x5dd1x7,_0x5dd1x9)})};exports[_0xe13d[24]]=function(_0x5dd1x6,_0x5dd1x7){return Metric[_0xe13d[24]](_0x5dd1x6[_0xe13d[29]])[_0xe13d[11]](function(_0x5dd1xc){return _0x5dd1x7[_0xe13d[10]](201)[_0xe13d[9]](_0x5dd1xc)})[_0xe13d[8]](sequelize.UniqueConstraintError,function(_0x5dd1x9){_0x5dd1x9[_0xe13d[25]]=_0xe13d[26];_0x5dd1x9[_0xe13d[27]]=_0xe13d[28];return _0x5dd1x7[_0xe13d[10]](500)[_0xe13d[9]](_0x5dd1x9)})[_0xe13d[8]](function(_0x5dd1x9){return handleError(_0x5dd1x7,_0x5dd1x9)})};exports[_0xe13d[30]]=function(_0x5dd1x6,_0x5dd1x7){return Metric[_0xe13d[23]](_0x5dd1x6[_0xe13d[22]][_0xe13d[21]])[_0xe13d[11]](function(_0x5dd1xc){if(!_0x5dd1xc){return _0x5dd1x7[_0xe13d[16]](404)};var _0x5dd1xd=_[_0xe13d[32]](_0x5dd1xc,_0x5dd1x6[_0xe13d[29]]);return _0x5dd1xd[_0xe13d[33]]()})[_0xe13d[11]](function(){return _0x5dd1x7[_0xe13d[16]](200)})[_0xe13d[8]](sequelize.UniqueConstraintError,function(_0x5dd1x9){_0x5dd1x9[_0xe13d[25]]=_0xe13d[26];_0x5dd1x9[_0xe13d[27]]=_0xe13d[28];return _0x5dd1x7[_0xe13d[10]](500)[_0xe13d[9]](_0x5dd1x9)})[_0xe13d[8]](function(_0x5dd1x9){console[_0xe13d[31]](_0x5dd1x9);return handleError(_0x5dd1x7,_0x5dd1x9)})};exports[_0xe13d[34]]=function(_0x5dd1x6,_0x5dd1x7){return Metric[_0xe13d[23]](_0x5dd1x6[_0xe13d[22]][_0xe13d[21]])[_0xe13d[11]](function(_0x5dd1xc){if(!_0x5dd1xc){return _0x5dd1x7[_0xe13d[16]](404)};return _0x5dd1xc[_0xe13d[34]]()})[_0xe13d[11]](function(){return _0x5dd1x7[_0xe13d[16]](204)})[_0xe13d[8]](function(_0x5dd1x9){return handleError(_0x5dd1x7,_0x5dd1x9)})};exports[_0xe13d[35]]=function(_0x5dd1x6,_0x5dd1x7){return Metric[_0xe13d[34]]({where:{id:_0x5dd1x6[_0xe13d[12]][_0xe13d[36]]},individualHooks:true})[_0xe13d[11]](function(){return _0x5dd1x7[_0xe13d[16]](204)})[_0xe13d[8]](function(_0x5dd1x9){return handleError(_0x5dd1x7,_0x5dd1x9)})};function handleError(_0x5dd1x7,_0x5dd1x9){return _0x5dd1x7[_0xe13d[10]](500)[_0xe13d[9]](_0x5dd1x9)} \ No newline at end of file diff --git a/server/api/metric/metric.socket.js b/server/api/metric/metric.socket.js index 8e6a116..f0604cf 100644 --- a/server/api/metric/metric.socket.js +++ b/server/api/metric/metric.socket.js @@ -1 +1 @@ -var _0x949e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x65\x74\x72\x69\x63","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x46\x69\x65\x6C\x64","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6D\x65\x74\x72\x69\x63\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x65\x74\x72\x69\x63\x3A\x72\x65\x6D\x6F\x76\x65","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x6D\x65\x74\x72\x69\x63","\x69\x64","\x75\x70\x64\x61\x74\x65"];_0x949e[0];var Metric=require(_0x949e[2])[_0x949e[1]];var ReportField=require(_0x949e[2])[_0x949e[3]];exports[_0x949e[4]]=function(_0xbf88x3){Metric[_0x949e[5]](function(_0xbf88x4){onSave(_0xbf88x3,_0xbf88x4)});Metric[_0x949e[6]](function(_0xbf88x4){updateFields(_0xbf88x4)});Metric[_0x949e[7]](function(_0xbf88x4){onRemove(_0xbf88x3,_0xbf88x4)})};function onSave(_0xbf88x3,_0xbf88x4,_0xbf88x6){_0xbf88x3[_0x949e[9]](_0x949e[8],_0xbf88x4)}function onRemove(_0xbf88x3,_0xbf88x4,_0xbf88x6){_0xbf88x3[_0x949e[9]](_0x949e[10],_0xbf88x4)}function updateFields(_0xbf88x4){return ReportField[_0x949e[15]]({field:_0xbf88x4[_0x949e[13]]},{where:{MetricId:_0xbf88x4[_0x949e[14]]}})[_0x949e[12]](function(_0xbf88x9){console[_0x949e[11]](_0xbf88x9)})} \ No newline at end of file +var _0xd96f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x65\x74\x72\x69\x63","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x46\x69\x65\x6C\x64","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6D\x65\x74\x72\x69\x63\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x65\x74\x72\x69\x63\x3A\x72\x65\x6D\x6F\x76\x65","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x6D\x65\x74\x72\x69\x63","\x69\x64","\x75\x70\x64\x61\x74\x65"];_0xd96f[0];var Metric=require(_0xd96f[2])[_0xd96f[1]];var ReportField=require(_0xd96f[2])[_0xd96f[3]];exports[_0xd96f[4]]=function(_0x2324x3){Metric[_0xd96f[5]](function(_0x2324x4){onSave(_0x2324x3,_0x2324x4)});Metric[_0xd96f[6]](function(_0x2324x4){updateFields(_0x2324x4)});Metric[_0xd96f[7]](function(_0x2324x4){onRemove(_0x2324x3,_0x2324x4)})};function onSave(_0x2324x3,_0x2324x4,_0x2324x6){_0x2324x3[_0xd96f[9]](_0xd96f[8],_0x2324x4)}function onRemove(_0x2324x3,_0x2324x4,_0x2324x6){_0x2324x3[_0xd96f[9]](_0xd96f[10],_0x2324x4)}function updateFields(_0x2324x4){return ReportField[_0xd96f[15]]({field:_0x2324x4[_0xd96f[13]]},{where:{MetricId:_0x2324x4[_0xd96f[14]]}})[_0xd96f[12]](function(_0x2324x9){console[_0xd96f[11]](_0x2324x9)})} \ No newline at end of file diff --git a/server/api/module/index.js b/server/api/module/index.js index eae9573..cd542e8 100644 --- a/server/api/module/index.js +++ b/server/api/module/index.js @@ -1 +1 @@ -var _0xccf9=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x6F\x64\x75\x6C\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x52\x6F\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0xccf9[0];var express=require(_0xccf9[1]);var controller=require(_0xccf9[2]);var auth=require(_0xccf9[3]);var router=express.Router();router[_0xccf9[9]](_0xccf9[4],auth[_0xccf9[5]](),auth[_0xccf9[7]](_0xccf9[6]),controller[_0xccf9[8]]);module[_0xccf9[10]]=router \ No newline at end of file +var _0x96e3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x6F\x64\x75\x6C\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x52\x6F\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x96e3[0];var express=require(_0x96e3[1]);var controller=require(_0x96e3[2]);var auth=require(_0x96e3[3]);var router=express.Router();router[_0x96e3[9]](_0x96e3[4],auth[_0x96e3[5]](),auth[_0x96e3[7]](_0x96e3[6]),controller[_0x96e3[8]]);module[_0x96e3[10]]=router \ No newline at end of file diff --git a/server/api/module/module.controller.js b/server/api/module/module.controller.js index 1217fbc..d9bb616 100644 --- a/server/api/module/module.controller.js +++ b/server/api/module/module.controller.js @@ -1 +1 @@ -var _0xbba4=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x4D\x6F\x64\x75\x6C\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C"];_0xbba4[0];var _=require(_0xbba4[1]);var Module=require(_0xbba4[3])[_0xbba4[2]];var util=require(_0xbba4[4]);var Util=require(_0xbba4[5]);var sequelize=require(_0xbba4[3])[_0xbba4[6]];exports[_0xbba4[7]]=function(_0x60d1x6,_0x60d1x7,_0x60d1x8){return Module[_0xbba4[14]](Util[_0xbba4[13]](_0x60d1x6[_0xbba4[12]]))[_0xbba4[11]](function(_0x60d1xa){return _0x60d1x7[_0xbba4[10]](200)[_0xbba4[9]](_0x60d1xa)})[_0xbba4[8]](function(_0x60d1x9){return handleError(_0x60d1x7,_0x60d1x9)})};function handleError(_0x60d1x7,_0x60d1x9){return _0x60d1x7[_0xbba4[10]](500)[_0xbba4[9]](_0x60d1x9)} \ No newline at end of file +var _0xea6f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x4D\x6F\x64\x75\x6C\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C"];_0xea6f[0];var _=require(_0xea6f[1]);var Module=require(_0xea6f[3])[_0xea6f[2]];var util=require(_0xea6f[4]);var Util=require(_0xea6f[5]);var sequelize=require(_0xea6f[3])[_0xea6f[6]];exports[_0xea6f[7]]=function(_0x3ec3x6,_0x3ec3x7,_0x3ec3x8){return Module[_0xea6f[14]](Util[_0xea6f[13]](_0x3ec3x6[_0xea6f[12]]))[_0xea6f[11]](function(_0x3ec3xa){return _0x3ec3x7[_0xea6f[10]](200)[_0xea6f[9]](_0x3ec3xa)})[_0xea6f[8]](function(_0x3ec3x9){return handleError(_0x3ec3x7,_0x3ec3x9)})};function handleError(_0x3ec3x7,_0x3ec3x9){return _0x3ec3x7[_0xea6f[10]](500)[_0xea6f[9]](_0x3ec3x9)} \ No newline at end of file diff --git a/server/api/module/module.socket.js b/server/api/module/module.socket.js index 9186ba7..4bae453 100644 --- a/server/api/module/module.socket.js +++ b/server/api/module/module.socket.js @@ -1 +1 @@ -var _0xaff3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x6F\x64\x75\x6C\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x46\x69\x65\x6C\x64","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6D\x6F\x64\x75\x6C\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x6F\x64\x75\x6C\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0xaff3[0];var Module=require(_0xaff3[2])[_0xaff3[1]];var ReportField=require(_0xaff3[2])[_0xaff3[3]];exports[_0xaff3[4]]=function(_0xeaadx3){Module[_0xaff3[5]](function(_0xeaadx4){onSave(_0xeaadx3,_0xeaadx4)});Module[_0xaff3[6]](function(_0xeaadx4){onSave(_0xeaadx3,_0xeaadx4)});Module[_0xaff3[7]](function(_0xeaadx4){onRemove(_0xeaadx3,_0xeaadx4)})};function onSave(_0xeaadx3,_0xeaadx4,_0xeaadx6){_0xeaadx3[_0xaff3[9]](_0xaff3[8],_0xeaadx4)}function onRemove(_0xeaadx3,_0xeaadx4,_0xeaadx6){_0xeaadx3[_0xaff3[9]](_0xaff3[10],_0xeaadx4)} \ No newline at end of file +var _0x44c1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x6F\x64\x75\x6C\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x46\x69\x65\x6C\x64","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6D\x6F\x64\x75\x6C\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x6F\x64\x75\x6C\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x44c1[0];var Module=require(_0x44c1[2])[_0x44c1[1]];var ReportField=require(_0x44c1[2])[_0x44c1[3]];exports[_0x44c1[4]]=function(_0xb22fx3){Module[_0x44c1[5]](function(_0xb22fx4){onSave(_0xb22fx3,_0xb22fx4)});Module[_0x44c1[6]](function(_0xb22fx4){onSave(_0xb22fx3,_0xb22fx4)});Module[_0x44c1[7]](function(_0xb22fx4){onRemove(_0xb22fx3,_0xb22fx4)})};function onSave(_0xb22fx3,_0xb22fx4,_0xb22fx6){_0xb22fx3[_0x44c1[9]](_0x44c1[8],_0xb22fx4)}function onRemove(_0xb22fx3,_0xb22fx4,_0xb22fx6){_0xb22fx3[_0x44c1[9]](_0x44c1[10],_0xb22fx4)} \ No newline at end of file diff --git a/server/api/motionbar/index.js b/server/api/motionbar/index.js index 6ddd53b..48dfe49 100644 --- a/server/api/motionbar/index.js +++ b/server/api/motionbar/index.js @@ -1 +1 @@ -var _0x21a1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x6F\x74\x69\x6F\x6E\x62\x61\x72\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F\x3A\x61\x63\x74\x69\x6F\x6E\x2F\x3A\x73\x74\x61\x74\x65","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x63\x74\x69\x6F\x6E","\x67\x65\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x21a1[0];var express=require(_0x21a1[1]);var controller=require(_0x21a1[2]);var auth=require(_0x21a1[3]);var router=express.Router();router[_0x21a1[7]](_0x21a1[4],auth[_0x21a1[5]](),controller[_0x21a1[6]]);module[_0x21a1[8]]=router \ No newline at end of file +var _0x9526=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x6F\x74\x69\x6F\x6E\x62\x61\x72\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F\x3A\x61\x63\x74\x69\x6F\x6E\x2F\x3A\x73\x74\x61\x74\x65","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x63\x74\x69\x6F\x6E","\x67\x65\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x9526[0];var express=require(_0x9526[1]);var controller=require(_0x9526[2]);var auth=require(_0x9526[3]);var router=express.Router();router[_0x9526[7]](_0x9526[4],auth[_0x9526[5]](),controller[_0x9526[6]]);module[_0x9526[8]]=router \ No newline at end of file diff --git a/server/api/motionbar/motionbar.controller.js b/server/api/motionbar/motionbar.controller.js index a8f3b10..7ab77c7 100644 --- a/server/api/motionbar/motionbar.controller.js +++ b/server/api/motionbar/motionbar.controller.js @@ -1 +1 @@ -var _0x3215=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x4D\x6F\x74\x69\x6F\x6E\x62\x61\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x61\x63\x74\x69\x6F\x6E","\x75\x73\x65\x72\x49\x64","\x71\x75\x65\x72\x79","\x55\x73\x65\x20\x75\x73\x65\x72\x49\x64","\x55\x73\x65\x72\x49\x64","\x62\x6F\x64\x79","\x70\x61\x72\x61\x6D\x73","\x73\x74\x61\x74\x65","\x41\x64\x6D\x69\x6E\x49\x64","\x69\x64","\x75\x73\x65\x72","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x63\x72\x65\x61\x74\x65"];_0x3215[0];var _=require(_0x3215[1]);var Motionbar=require(_0x3215[3])[_0x3215[2]];exports[_0x3215[4]]=function(_0xa479x3,_0xa479x4){if(!_0xa479x3[_0x3215[6]][_0x3215[5]]){return handleError(_0xa479x4,{message:_0x3215[7]})};_0xa479x3[_0x3215[9]][_0x3215[8]]=parseInt(_0xa479x3[_0x3215[6]][_0x3215[5]],10);_0xa479x3[_0x3215[9]][_0x3215[4]]=_0xa479x3[_0x3215[10]][_0x3215[4]];_0xa479x3[_0x3215[9]][_0x3215[11]]=_0xa479x3[_0x3215[10]][_0x3215[11]];_0xa479x3[_0x3215[9]][_0x3215[12]]=_0xa479x3[_0x3215[14]][_0x3215[13]];return Motionbar[_0x3215[19]](_0xa479x3[_0x3215[9]])[_0x3215[18]](function(_0xa479x6){return _0xa479x4[_0x3215[17]](201)[_0x3215[16]](_0xa479x6)})[_0x3215[15]](function(_0xa479x5){return handleError(_0xa479x4,_0xa479x5)})};function handleError(_0xa479x4,_0xa479x5){return _0xa479x4[_0x3215[17]](500)[_0x3215[16]](_0xa479x5)} \ No newline at end of file +var _0x1a72=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x4D\x6F\x74\x69\x6F\x6E\x62\x61\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x61\x63\x74\x69\x6F\x6E","\x75\x73\x65\x72\x49\x64","\x71\x75\x65\x72\x79","\x55\x73\x65\x20\x75\x73\x65\x72\x49\x64","\x55\x73\x65\x72\x49\x64","\x62\x6F\x64\x79","\x70\x61\x72\x61\x6D\x73","\x73\x74\x61\x74\x65","\x41\x64\x6D\x69\x6E\x49\x64","\x69\x64","\x75\x73\x65\x72","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x63\x72\x65\x61\x74\x65"];_0x1a72[0];var _=require(_0x1a72[1]);var Motionbar=require(_0x1a72[3])[_0x1a72[2]];exports[_0x1a72[4]]=function(_0xcec1x3,_0xcec1x4){if(!_0xcec1x3[_0x1a72[6]][_0x1a72[5]]){return handleError(_0xcec1x4,{message:_0x1a72[7]})};_0xcec1x3[_0x1a72[9]][_0x1a72[8]]=parseInt(_0xcec1x3[_0x1a72[6]][_0x1a72[5]],10);_0xcec1x3[_0x1a72[9]][_0x1a72[4]]=_0xcec1x3[_0x1a72[10]][_0x1a72[4]];_0xcec1x3[_0x1a72[9]][_0x1a72[11]]=_0xcec1x3[_0x1a72[10]][_0x1a72[11]];_0xcec1x3[_0x1a72[9]][_0x1a72[12]]=_0xcec1x3[_0x1a72[14]][_0x1a72[13]];return Motionbar[_0x1a72[19]](_0xcec1x3[_0x1a72[9]])[_0x1a72[18]](function(_0xcec1x6){return _0xcec1x4[_0x1a72[17]](201)[_0x1a72[16]](_0xcec1x6)})[_0x1a72[15]](function(_0xcec1x5){return handleError(_0xcec1x4,_0xcec1x5)})};function handleError(_0xcec1x4,_0xcec1x5){return _0xcec1x4[_0x1a72[17]](500)[_0x1a72[16]](_0xcec1x5)} \ No newline at end of file diff --git a/server/api/motionbar/motionbar.socket.js b/server/api/motionbar/motionbar.socket.js index fdd97ae..a083c9b 100644 --- a/server/api/motionbar/motionbar.socket.js +++ b/server/api/motionbar/motionbar.socket.js @@ -1 +1 @@ -var _0x7a76=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x6F\x74\x69\x6F\x6E\x62\x61\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x75\x73\x65\x72\x49\x64","\x55\x73\x65\x72\x49\x64","\x6D\x6F\x74\x69\x6F\x6E\x62\x61\x72\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x6F\x74\x69\x6F\x6E\x62\x61\x72\x3A\x72\x65\x6D\x6F\x76\x65"];_0x7a76[0];var Motionbar=require(_0x7a76[2])[_0x7a76[1]];exports[_0x7a76[3]]=function(_0x6593x2){Motionbar[_0x7a76[4]](function(_0x6593x3){onSave(_0x6593x2,_0x6593x3)});Motionbar[_0x7a76[5]](function(_0x6593x3){onRemove(_0x6593x2,_0x6593x3)})};function onSave(_0x6593x2,_0x6593x3,_0x6593x5){if(_0x6593x2[_0x7a76[6]]==_0x6593x3[_0x7a76[7]]){_0x6593x2[_0x7a76[9]](_0x7a76[8],_0x6593x3)}}function onRemove(_0x6593x2,_0x6593x3,_0x6593x5){_0x6593x2[_0x7a76[9]](_0x7a76[10],_0x6593x3)} \ No newline at end of file +var _0xd0d9=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4D\x6F\x74\x69\x6F\x6E\x62\x61\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x75\x73\x65\x72\x49\x64","\x55\x73\x65\x72\x49\x64","\x6D\x6F\x74\x69\x6F\x6E\x62\x61\x72\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6D\x6F\x74\x69\x6F\x6E\x62\x61\x72\x3A\x72\x65\x6D\x6F\x76\x65"];_0xd0d9[0];var Motionbar=require(_0xd0d9[2])[_0xd0d9[1]];exports[_0xd0d9[3]]=function(_0xf7d2x2){Motionbar[_0xd0d9[4]](function(_0xf7d2x3){onSave(_0xf7d2x2,_0xf7d2x3)});Motionbar[_0xd0d9[5]](function(_0xf7d2x3){onRemove(_0xf7d2x2,_0xf7d2x3)})};function onSave(_0xf7d2x2,_0xf7d2x3,_0xf7d2x5){if(_0xf7d2x2[_0xd0d9[6]]==_0xf7d2x3[_0xd0d9[7]]){_0xf7d2x2[_0xd0d9[9]](_0xd0d9[8],_0xf7d2x3)}}function onRemove(_0xf7d2x2,_0xf7d2x3,_0xf7d2x5){_0xf7d2x2[_0xd0d9[9]](_0xd0d9[10],_0xf7d2x3)} \ No newline at end of file diff --git a/server/api/network_externip/index.js b/server/api/network_externip/index.js index 704168c..b53343d 100644 --- a/server/api/network_externip/index.js +++ b/server/api/network_externip/index.js @@ -1 +1 @@ -var _0xf206=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x6E\x65\x74\x77\x6F\x72\x6B\x5F\x65\x78\x74\x65\x72\x6E\x69\x70\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x52\x6F\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0xf206[0];var express=require(_0xf206[1]);var auth=require(_0xf206[2]);var controller=require(_0xf206[3]);var router=express.Router();router[_0xf206[9]](_0xf206[4],auth[_0xf206[5]](),auth[_0xf206[7]](_0xf206[6]),controller[_0xf206[8]]);router[_0xf206[9]](_0xf206[10],auth[_0xf206[5]](),auth[_0xf206[7]](_0xf206[6]),controller[_0xf206[11]]);router[_0xf206[13]](_0xf206[4],auth[_0xf206[5]](),auth[_0xf206[7]](_0xf206[6]),controller[_0xf206[12]]);router[_0xf206[15]](_0xf206[10],auth[_0xf206[5]](),auth[_0xf206[7]](_0xf206[6]),controller[_0xf206[14]]);router[_0xf206[17]](_0xf206[4],auth[_0xf206[5]](),auth[_0xf206[7]](_0xf206[6]),controller[_0xf206[16]]);router[_0xf206[17]](_0xf206[10],auth[_0xf206[5]](),auth[_0xf206[7]](_0xf206[6]),controller[_0xf206[18]]);module[_0xf206[19]]=router \ No newline at end of file +var _0xd521=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x6E\x65\x74\x77\x6F\x72\x6B\x5F\x65\x78\x74\x65\x72\x6E\x69\x70\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x52\x6F\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0xd521[0];var express=require(_0xd521[1]);var auth=require(_0xd521[2]);var controller=require(_0xd521[3]);var router=express.Router();router[_0xd521[9]](_0xd521[4],auth[_0xd521[5]](),auth[_0xd521[7]](_0xd521[6]),controller[_0xd521[8]]);router[_0xd521[9]](_0xd521[10],auth[_0xd521[5]](),auth[_0xd521[7]](_0xd521[6]),controller[_0xd521[11]]);router[_0xd521[13]](_0xd521[4],auth[_0xd521[5]](),auth[_0xd521[7]](_0xd521[6]),controller[_0xd521[12]]);router[_0xd521[15]](_0xd521[10],auth[_0xd521[5]](),auth[_0xd521[7]](_0xd521[6]),controller[_0xd521[14]]);router[_0xd521[17]](_0xd521[4],auth[_0xd521[5]](),auth[_0xd521[7]](_0xd521[6]),controller[_0xd521[16]]);router[_0xd521[17]](_0xd521[10],auth[_0xd521[5]](),auth[_0xd521[7]](_0xd521[6]),controller[_0xd521[18]]);module[_0xd521[19]]=router \ No newline at end of file diff --git a/server/api/network_externip/network_externip.controller.js b/server/api/network_externip/network_externip.controller.js index 4b88f75..dd30f2e 100644 --- a/server/api/network_externip/network_externip.controller.js +++ b/server/api/network_externip/network_externip.controller.js @@ -1 +1 @@ -var _0xf860=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x4E\x65\x74\x77\x6F\x72\x6B","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x65\x78\x74\x65\x72\x6E\x69\x70","\x73\x63\x6F\x70\x65","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x74\x79\x70\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0xf860[0];var _=require(_0xf860[1]);var Util=require(_0xf860[2]);var NetworkExternip=require(_0xf860[4])[_0xf860[3]];function handleError(_0xb6eex5,_0xb6eex6){_0xb6eex6=_0xb6eex6||500;return function(_0xb6eex7){_0xb6eex5[_0xf860[6]](_0xb6eex6)[_0xf860[5]](_0xb6eex7)}}function responseWithResult(_0xb6eex5,_0xb6eex6){_0xb6eex6=_0xb6eex6||200;return function(_0xb6eex9){if(_0xb6eex9){_0xb6eex5[_0xf860[6]](_0xb6eex6)[_0xf860[7]](_0xb6eex9)}}}function responseWithoutResult(_0xb6eex5,_0xb6eex6){_0xb6eex6=_0xb6eex6||204;return function(){_0xb6eex5[_0xf860[8]](_0xb6eex6)}}function handleEntityNotFound(_0xb6eex5){return function(_0xb6eex9){if(!_0xb6eex9){_0xb6eex5[_0xf860[6]](404)[_0xf860[9]]();return null};return _0xb6eex9}}function saveUpdates(_0xb6eexd){return function(_0xb6eex9){return _0xb6eex9[_0xf860[11]](_0xb6eexd)[_0xf860[10]](function(_0xb6eexe){return _0xb6eexe})}}function removeEntity(_0xb6eex5){return function(_0xb6eex9){if(_0xb6eex9){return _0xb6eex9[_0xf860[12]]()[_0xf860[10]](function(){_0xb6eex5[_0xf860[6]](204)[_0xf860[9]]()})}}}exports[_0xf860[13]]=function(_0xb6eex10,_0xb6eex5){return NetworkExternip[_0xf860[19]](_0xf860[18])[_0xf860[17]](Util[_0xf860[16]](_0xb6eex10[_0xf860[15]]))[_0xf860[10]](responseWithResult(_0xb6eex5))[_0xf860[14]](handleError(_0xb6eex5))};exports[_0xf860[20]]=function(_0xb6eex10,_0xb6eex5){return NetworkExternip[_0xf860[23]](_0xb6eex10[_0xf860[22]][_0xf860[21]])[_0xf860[10]](handleEntityNotFound(_0xb6eex5))[_0xf860[10]](responseWithResult(_0xb6eex5))[_0xf860[14]](handleError(_0xb6eex5))};exports[_0xf860[24]]=function(_0xb6eex10,_0xb6eex5){_0xb6eex10[_0xf860[26]][_0xf860[25]]=_0xf860[18];return NetworkExternip[_0xf860[24]](_0xb6eex10[_0xf860[26]])[_0xf860[10]](responseWithResult(_0xb6eex5,201))[_0xf860[14]](handleError(_0xb6eex5))};exports[_0xf860[27]]=function(_0xb6eex10,_0xb6eex5){if(_0xb6eex10[_0xf860[26]][_0xf860[21]]){delete _0xb6eex10[_0xf860[26]][_0xf860[21]]};return NetworkExternip[_0xf860[23]](_0xb6eex10[_0xf860[22]][_0xf860[21]])[_0xf860[10]](handleEntityNotFound(_0xb6eex5))[_0xf860[10]](saveUpdates(_0xb6eex10[_0xf860[26]]))[_0xf860[10]](responseWithResult(_0xb6eex5))[_0xf860[14]](handleError(_0xb6eex5))};exports[_0xf860[12]]=function(_0xb6eex10,_0xb6eex5){return NetworkExternip[_0xf860[23]](_0xb6eex10[_0xf860[22]][_0xf860[21]])[_0xf860[10]](handleEntityNotFound(_0xb6eex5))[_0xf860[10]](removeEntity(_0xb6eex5))[_0xf860[14]](handleError(_0xb6eex5))};exports[_0xf860[28]]=function(_0xb6eex10,_0xb6eex5){return NetworkExternip[_0xf860[12]]({where:{id:_0xb6eex10[_0xf860[15]][_0xf860[29]]},individualHooks:true})[_0xf860[10]](responseWithoutResult(_0xb6eex5))[_0xf860[14]](handleError(_0xb6eex5))} \ No newline at end of file +var _0x1266=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x4E\x65\x74\x77\x6F\x72\x6B","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x65\x78\x74\x65\x72\x6E\x69\x70","\x73\x63\x6F\x70\x65","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x74\x79\x70\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0x1266[0];var _=require(_0x1266[1]);var Util=require(_0x1266[2]);var NetworkExternip=require(_0x1266[4])[_0x1266[3]];function handleError(_0x7ad7x5,_0x7ad7x6){_0x7ad7x6=_0x7ad7x6||500;return function(_0x7ad7x7){_0x7ad7x5[_0x1266[6]](_0x7ad7x6)[_0x1266[5]](_0x7ad7x7)}}function responseWithResult(_0x7ad7x5,_0x7ad7x6){_0x7ad7x6=_0x7ad7x6||200;return function(_0x7ad7x9){if(_0x7ad7x9){_0x7ad7x5[_0x1266[6]](_0x7ad7x6)[_0x1266[7]](_0x7ad7x9)}}}function responseWithoutResult(_0x7ad7x5,_0x7ad7x6){_0x7ad7x6=_0x7ad7x6||204;return function(){_0x7ad7x5[_0x1266[8]](_0x7ad7x6)}}function handleEntityNotFound(_0x7ad7x5){return function(_0x7ad7x9){if(!_0x7ad7x9){_0x7ad7x5[_0x1266[6]](404)[_0x1266[9]]();return null};return _0x7ad7x9}}function saveUpdates(_0x7ad7xd){return function(_0x7ad7x9){return _0x7ad7x9[_0x1266[11]](_0x7ad7xd)[_0x1266[10]](function(_0x7ad7xe){return _0x7ad7xe})}}function removeEntity(_0x7ad7x5){return function(_0x7ad7x9){if(_0x7ad7x9){return _0x7ad7x9[_0x1266[12]]()[_0x1266[10]](function(){_0x7ad7x5[_0x1266[6]](204)[_0x1266[9]]()})}}}exports[_0x1266[13]]=function(_0x7ad7x10,_0x7ad7x5){return NetworkExternip[_0x1266[19]](_0x1266[18])[_0x1266[17]](Util[_0x1266[16]](_0x7ad7x10[_0x1266[15]]))[_0x1266[10]](responseWithResult(_0x7ad7x5))[_0x1266[14]](handleError(_0x7ad7x5))};exports[_0x1266[20]]=function(_0x7ad7x10,_0x7ad7x5){return NetworkExternip[_0x1266[23]](_0x7ad7x10[_0x1266[22]][_0x1266[21]])[_0x1266[10]](handleEntityNotFound(_0x7ad7x5))[_0x1266[10]](responseWithResult(_0x7ad7x5))[_0x1266[14]](handleError(_0x7ad7x5))};exports[_0x1266[24]]=function(_0x7ad7x10,_0x7ad7x5){_0x7ad7x10[_0x1266[26]][_0x1266[25]]=_0x1266[18];return NetworkExternip[_0x1266[24]](_0x7ad7x10[_0x1266[26]])[_0x1266[10]](responseWithResult(_0x7ad7x5,201))[_0x1266[14]](handleError(_0x7ad7x5))};exports[_0x1266[27]]=function(_0x7ad7x10,_0x7ad7x5){if(_0x7ad7x10[_0x1266[26]][_0x1266[21]]){delete _0x7ad7x10[_0x1266[26]][_0x1266[21]]};return NetworkExternip[_0x1266[23]](_0x7ad7x10[_0x1266[22]][_0x1266[21]])[_0x1266[10]](handleEntityNotFound(_0x7ad7x5))[_0x1266[10]](saveUpdates(_0x7ad7x10[_0x1266[26]]))[_0x1266[10]](responseWithResult(_0x7ad7x5))[_0x1266[14]](handleError(_0x7ad7x5))};exports[_0x1266[12]]=function(_0x7ad7x10,_0x7ad7x5){return NetworkExternip[_0x1266[23]](_0x7ad7x10[_0x1266[22]][_0x1266[21]])[_0x1266[10]](handleEntityNotFound(_0x7ad7x5))[_0x1266[10]](removeEntity(_0x7ad7x5))[_0x1266[14]](handleError(_0x7ad7x5))};exports[_0x1266[28]]=function(_0x7ad7x10,_0x7ad7x5){return NetworkExternip[_0x1266[12]]({where:{id:_0x7ad7x10[_0x1266[15]][_0x1266[29]]},individualHooks:true})[_0x1266[10]](responseWithoutResult(_0x7ad7x5))[_0x1266[14]](handleError(_0x7ad7x5))} \ No newline at end of file diff --git a/server/api/network_externip/network_externip.socket.js b/server/api/network_externip/network_externip.socket.js index 3227a15..568cc75 100644 --- a/server/api/network_externip/network_externip.socket.js +++ b/server/api/network_externip/network_externip.socket.js @@ -1 +1 @@ -var _0x4f1b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4E\x65\x74\x77\x6F\x72\x6B","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6E\x65\x74\x77\x6F\x72\x6B\x5F\x65\x78\x74\x65\x72\x6E\x69\x70\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6E\x65\x74\x77\x6F\x72\x6B\x5F\x65\x78\x74\x65\x72\x6E\x69\x70\x3A\x72\x65\x6D\x6F\x76\x65"];_0x4f1b[0];var NetworkExternip=require(_0x4f1b[2])[_0x4f1b[1]];exports[_0x4f1b[3]]=function(_0xc818x2){NetworkExternip[_0x4f1b[4]](function(_0xc818x3){onSave(_0xc818x2,_0xc818x3)});NetworkExternip[_0x4f1b[5]](function(_0xc818x3){onRemove(_0xc818x2,_0xc818x3)})};function onSave(_0xc818x2,_0xc818x3,_0xc818x5){_0xc818x2[_0x4f1b[7]](_0x4f1b[6],_0xc818x3)}function onRemove(_0xc818x2,_0xc818x3,_0xc818x5){_0xc818x2[_0x4f1b[7]](_0x4f1b[8],_0xc818x3)} \ No newline at end of file +var _0x78a6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4E\x65\x74\x77\x6F\x72\x6B","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6E\x65\x74\x77\x6F\x72\x6B\x5F\x65\x78\x74\x65\x72\x6E\x69\x70\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6E\x65\x74\x77\x6F\x72\x6B\x5F\x65\x78\x74\x65\x72\x6E\x69\x70\x3A\x72\x65\x6D\x6F\x76\x65"];_0x78a6[0];var NetworkExternip=require(_0x78a6[2])[_0x78a6[1]];exports[_0x78a6[3]]=function(_0xa790x2){NetworkExternip[_0x78a6[4]](function(_0xa790x3){onSave(_0xa790x2,_0xa790x3)});NetworkExternip[_0x78a6[5]](function(_0xa790x3){onRemove(_0xa790x2,_0xa790x3)})};function onSave(_0xa790x2,_0xa790x3,_0xa790x5){_0xa790x2[_0x78a6[7]](_0x78a6[6],_0xa790x3)}function onRemove(_0xa790x2,_0xa790x3,_0xa790x5){_0xa790x2[_0x78a6[7]](_0x78a6[8],_0xa790x3)} \ No newline at end of file diff --git a/server/api/network_localnet/index.js b/server/api/network_localnet/index.js index c2fa686..4ce8faa 100644 --- a/server/api/network_localnet/index.js +++ b/server/api/network_localnet/index.js @@ -1 +1 @@ -var _0x6a34=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x6E\x65\x74\x77\x6F\x72\x6B\x5F\x6C\x6F\x63\x61\x6C\x6E\x65\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x52\x6F\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x6a34[0];var express=require(_0x6a34[1]);var auth=require(_0x6a34[2]);var controller=require(_0x6a34[3]);var router=express.Router();router[_0x6a34[9]](_0x6a34[4],auth[_0x6a34[5]](),auth[_0x6a34[7]](_0x6a34[6]),controller[_0x6a34[8]]);router[_0x6a34[9]](_0x6a34[10],auth[_0x6a34[5]](),auth[_0x6a34[7]](_0x6a34[6]),controller[_0x6a34[11]]);router[_0x6a34[13]](_0x6a34[4],auth[_0x6a34[5]](),auth[_0x6a34[7]](_0x6a34[6]),controller[_0x6a34[12]]);router[_0x6a34[15]](_0x6a34[10],auth[_0x6a34[5]](),auth[_0x6a34[7]](_0x6a34[6]),controller[_0x6a34[14]]);router[_0x6a34[17]](_0x6a34[4],auth[_0x6a34[5]](),auth[_0x6a34[7]](_0x6a34[6]),controller[_0x6a34[16]]);router[_0x6a34[17]](_0x6a34[10],auth[_0x6a34[5]](),auth[_0x6a34[7]](_0x6a34[6]),controller[_0x6a34[18]]);module[_0x6a34[19]]=router \ No newline at end of file +var _0x2be4=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x6E\x65\x74\x77\x6F\x72\x6B\x5F\x6C\x6F\x63\x61\x6C\x6E\x65\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x52\x6F\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x2be4[0];var express=require(_0x2be4[1]);var auth=require(_0x2be4[2]);var controller=require(_0x2be4[3]);var router=express.Router();router[_0x2be4[9]](_0x2be4[4],auth[_0x2be4[5]](),auth[_0x2be4[7]](_0x2be4[6]),controller[_0x2be4[8]]);router[_0x2be4[9]](_0x2be4[10],auth[_0x2be4[5]](),auth[_0x2be4[7]](_0x2be4[6]),controller[_0x2be4[11]]);router[_0x2be4[13]](_0x2be4[4],auth[_0x2be4[5]](),auth[_0x2be4[7]](_0x2be4[6]),controller[_0x2be4[12]]);router[_0x2be4[15]](_0x2be4[10],auth[_0x2be4[5]](),auth[_0x2be4[7]](_0x2be4[6]),controller[_0x2be4[14]]);router[_0x2be4[17]](_0x2be4[4],auth[_0x2be4[5]](),auth[_0x2be4[7]](_0x2be4[6]),controller[_0x2be4[16]]);router[_0x2be4[17]](_0x2be4[10],auth[_0x2be4[5]](),auth[_0x2be4[7]](_0x2be4[6]),controller[_0x2be4[18]]);module[_0x2be4[19]]=router \ No newline at end of file diff --git a/server/api/network_localnet/network_localnet.controller.js b/server/api/network_localnet/network_localnet.controller.js index e44f3e0..bdbd816 100644 --- a/server/api/network_localnet/network_localnet.controller.js +++ b/server/api/network_localnet/network_localnet.controller.js @@ -1 +1 @@ -var _0x367d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x4E\x65\x74\x77\x6F\x72\x6B","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x6C\x6F\x63\x61\x6C\x6E\x65\x74","\x73\x63\x6F\x70\x65","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x74\x79\x70\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0x367d[0];var _=require(_0x367d[1]);var Util=require(_0x367d[2]);var NetworkLocalnet=require(_0x367d[4])[_0x367d[3]];function handleError(_0xf630x5,_0xf630x6){_0xf630x6=_0xf630x6||500;return function(_0xf630x7){_0xf630x5[_0x367d[6]](_0xf630x6)[_0x367d[5]](_0xf630x7)}}function responseWithResult(_0xf630x5,_0xf630x6){_0xf630x6=_0xf630x6||200;return function(_0xf630x9){if(_0xf630x9){_0xf630x5[_0x367d[6]](_0xf630x6)[_0x367d[7]](_0xf630x9)}}}function responseWithoutResult(_0xf630x5,_0xf630x6){_0xf630x6=_0xf630x6||204;return function(){_0xf630x5[_0x367d[8]](_0xf630x6)}}function handleEntityNotFound(_0xf630x5){return function(_0xf630x9){if(!_0xf630x9){_0xf630x5[_0x367d[6]](404)[_0x367d[9]]();return null};return _0xf630x9}}function saveUpdates(_0xf630xd){return function(_0xf630x9){return _0xf630x9[_0x367d[11]](_0xf630xd)[_0x367d[10]](function(_0xf630xe){return _0xf630xe})}}function removeEntity(_0xf630x5){return function(_0xf630x9){if(_0xf630x9){return _0xf630x9[_0x367d[12]]()[_0x367d[10]](function(){_0xf630x5[_0x367d[6]](204)[_0x367d[9]]()})}}}exports[_0x367d[13]]=function(_0xf630x10,_0xf630x5){return NetworkLocalnet[_0x367d[19]](_0x367d[18])[_0x367d[17]](Util[_0x367d[16]](_0xf630x10[_0x367d[15]]))[_0x367d[10]](responseWithResult(_0xf630x5))[_0x367d[14]](handleError(_0xf630x5))};exports[_0x367d[20]]=function(_0xf630x10,_0xf630x5){return NetworkLocalnet[_0x367d[23]](_0xf630x10[_0x367d[22]][_0x367d[21]])[_0x367d[10]](handleEntityNotFound(_0xf630x5))[_0x367d[10]](responseWithResult(_0xf630x5))[_0x367d[14]](handleError(_0xf630x5))};exports[_0x367d[24]]=function(_0xf630x10,_0xf630x5){_0xf630x10[_0x367d[26]][_0x367d[25]]=_0x367d[18];return NetworkLocalnet[_0x367d[24]](_0xf630x10[_0x367d[26]])[_0x367d[10]](responseWithResult(_0xf630x5,201))[_0x367d[14]](handleError(_0xf630x5))};exports[_0x367d[27]]=function(_0xf630x10,_0xf630x5){if(_0xf630x10[_0x367d[26]][_0x367d[21]]){delete _0xf630x10[_0x367d[26]][_0x367d[21]]};return NetworkLocalnet[_0x367d[23]](_0xf630x10[_0x367d[22]][_0x367d[21]])[_0x367d[10]](handleEntityNotFound(_0xf630x5))[_0x367d[10]](saveUpdates(_0xf630x10[_0x367d[26]]))[_0x367d[10]](responseWithResult(_0xf630x5))[_0x367d[14]](handleError(_0xf630x5))};exports[_0x367d[12]]=function(_0xf630x10,_0xf630x5){return NetworkLocalnet[_0x367d[23]](_0xf630x10[_0x367d[22]][_0x367d[21]])[_0x367d[10]](handleEntityNotFound(_0xf630x5))[_0x367d[10]](removeEntity(_0xf630x5))[_0x367d[14]](handleError(_0xf630x5))};exports[_0x367d[28]]=function(_0xf630x10,_0xf630x5){return NetworkLocalnet[_0x367d[12]]({where:{id:_0xf630x10[_0x367d[15]][_0x367d[29]]},individualHooks:true})[_0x367d[10]](responseWithoutResult(_0xf630x5))[_0x367d[14]](handleError(_0xf630x5))} \ No newline at end of file +var _0x264f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x4E\x65\x74\x77\x6F\x72\x6B","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x6C\x6F\x63\x61\x6C\x6E\x65\x74","\x73\x63\x6F\x70\x65","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x74\x79\x70\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0x264f[0];var _=require(_0x264f[1]);var Util=require(_0x264f[2]);var NetworkLocalnet=require(_0x264f[4])[_0x264f[3]];function handleError(_0x1d0cx5,_0x1d0cx6){_0x1d0cx6=_0x1d0cx6||500;return function(_0x1d0cx7){_0x1d0cx5[_0x264f[6]](_0x1d0cx6)[_0x264f[5]](_0x1d0cx7)}}function responseWithResult(_0x1d0cx5,_0x1d0cx6){_0x1d0cx6=_0x1d0cx6||200;return function(_0x1d0cx9){if(_0x1d0cx9){_0x1d0cx5[_0x264f[6]](_0x1d0cx6)[_0x264f[7]](_0x1d0cx9)}}}function responseWithoutResult(_0x1d0cx5,_0x1d0cx6){_0x1d0cx6=_0x1d0cx6||204;return function(){_0x1d0cx5[_0x264f[8]](_0x1d0cx6)}}function handleEntityNotFound(_0x1d0cx5){return function(_0x1d0cx9){if(!_0x1d0cx9){_0x1d0cx5[_0x264f[6]](404)[_0x264f[9]]();return null};return _0x1d0cx9}}function saveUpdates(_0x1d0cxd){return function(_0x1d0cx9){return _0x1d0cx9[_0x264f[11]](_0x1d0cxd)[_0x264f[10]](function(_0x1d0cxe){return _0x1d0cxe})}}function removeEntity(_0x1d0cx5){return function(_0x1d0cx9){if(_0x1d0cx9){return _0x1d0cx9[_0x264f[12]]()[_0x264f[10]](function(){_0x1d0cx5[_0x264f[6]](204)[_0x264f[9]]()})}}}exports[_0x264f[13]]=function(_0x1d0cx10,_0x1d0cx5){return NetworkLocalnet[_0x264f[19]](_0x264f[18])[_0x264f[17]](Util[_0x264f[16]](_0x1d0cx10[_0x264f[15]]))[_0x264f[10]](responseWithResult(_0x1d0cx5))[_0x264f[14]](handleError(_0x1d0cx5))};exports[_0x264f[20]]=function(_0x1d0cx10,_0x1d0cx5){return NetworkLocalnet[_0x264f[23]](_0x1d0cx10[_0x264f[22]][_0x264f[21]])[_0x264f[10]](handleEntityNotFound(_0x1d0cx5))[_0x264f[10]](responseWithResult(_0x1d0cx5))[_0x264f[14]](handleError(_0x1d0cx5))};exports[_0x264f[24]]=function(_0x1d0cx10,_0x1d0cx5){_0x1d0cx10[_0x264f[26]][_0x264f[25]]=_0x264f[18];return NetworkLocalnet[_0x264f[24]](_0x1d0cx10[_0x264f[26]])[_0x264f[10]](responseWithResult(_0x1d0cx5,201))[_0x264f[14]](handleError(_0x1d0cx5))};exports[_0x264f[27]]=function(_0x1d0cx10,_0x1d0cx5){if(_0x1d0cx10[_0x264f[26]][_0x264f[21]]){delete _0x1d0cx10[_0x264f[26]][_0x264f[21]]};return NetworkLocalnet[_0x264f[23]](_0x1d0cx10[_0x264f[22]][_0x264f[21]])[_0x264f[10]](handleEntityNotFound(_0x1d0cx5))[_0x264f[10]](saveUpdates(_0x1d0cx10[_0x264f[26]]))[_0x264f[10]](responseWithResult(_0x1d0cx5))[_0x264f[14]](handleError(_0x1d0cx5))};exports[_0x264f[12]]=function(_0x1d0cx10,_0x1d0cx5){return NetworkLocalnet[_0x264f[23]](_0x1d0cx10[_0x264f[22]][_0x264f[21]])[_0x264f[10]](handleEntityNotFound(_0x1d0cx5))[_0x264f[10]](removeEntity(_0x1d0cx5))[_0x264f[14]](handleError(_0x1d0cx5))};exports[_0x264f[28]]=function(_0x1d0cx10,_0x1d0cx5){return NetworkLocalnet[_0x264f[12]]({where:{id:_0x1d0cx10[_0x264f[15]][_0x264f[29]]},individualHooks:true})[_0x264f[10]](responseWithoutResult(_0x1d0cx5))[_0x264f[14]](handleError(_0x1d0cx5))} \ No newline at end of file diff --git a/server/api/network_localnet/network_localnet.socket.js b/server/api/network_localnet/network_localnet.socket.js index 6c2cd00..3d7710f 100644 --- a/server/api/network_localnet/network_localnet.socket.js +++ b/server/api/network_localnet/network_localnet.socket.js @@ -1 +1 @@ -var _0x5f8b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4E\x65\x74\x77\x6F\x72\x6B","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6E\x65\x74\x77\x6F\x72\x6B\x5F\x6C\x6F\x63\x61\x6C\x6E\x65\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6E\x65\x74\x77\x6F\x72\x6B\x5F\x6C\x6F\x63\x61\x6C\x6E\x65\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x5f8b[0];var NetworkLocalnet=require(_0x5f8b[2])[_0x5f8b[1]];exports[_0x5f8b[3]]=function(_0xa181x2){NetworkLocalnet[_0x5f8b[4]](function(_0xa181x3){onSave(_0xa181x2,_0xa181x3)});NetworkLocalnet[_0x5f8b[5]](function(_0xa181x3){onRemove(_0xa181x2,_0xa181x3)})};function onSave(_0xa181x2,_0xa181x3,_0xa181x5){_0xa181x2[_0x5f8b[7]](_0x5f8b[6],_0xa181x3)}function onRemove(_0xa181x2,_0xa181x3,_0xa181x5){_0xa181x2[_0x5f8b[7]](_0x5f8b[8],_0xa181x3)} \ No newline at end of file +var _0x8c29=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4E\x65\x74\x77\x6F\x72\x6B","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6E\x65\x74\x77\x6F\x72\x6B\x5F\x6C\x6F\x63\x61\x6C\x6E\x65\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x6E\x65\x74\x77\x6F\x72\x6B\x5F\x6C\x6F\x63\x61\x6C\x6E\x65\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x8c29[0];var NetworkLocalnet=require(_0x8c29[2])[_0x8c29[1]];exports[_0x8c29[3]]=function(_0x7c55x2){NetworkLocalnet[_0x8c29[4]](function(_0x7c55x3){onSave(_0x7c55x2,_0x7c55x3)});NetworkLocalnet[_0x8c29[5]](function(_0x7c55x3){onRemove(_0x7c55x2,_0x7c55x3)})};function onSave(_0x7c55x2,_0x7c55x3,_0x7c55x5){_0x7c55x2[_0x8c29[7]](_0x8c29[6],_0x7c55x3)}function onRemove(_0x7c55x2,_0x7c55x3,_0x7c55x5){_0x7c55x2[_0x8c29[7]](_0x8c29[8],_0x7c55x3)} \ No newline at end of file diff --git a/server/api/pause/index.js b/server/api/pause/index.js index fdb215e..775fa67 100644 --- a/server/api/pause/index.js +++ b/server/api/pause/index.js @@ -1 +1 @@ -var _0x3a65=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x70\x61\x75\x73\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x3a65[0];var express=require(_0x3a65[1]);var auth=require(_0x3a65[2]);var controller=require(_0x3a65[3]);var router=express.Router();router[_0x3a65[10]](_0x3a65[4],auth[_0x3a65[5]](),auth[_0x3a65[8]]([6,13],[_0x3a65[6],_0x3a65[7]]),controller[_0x3a65[9]]);router[_0x3a65[10]](_0x3a65[11],auth[_0x3a65[5]](),auth[_0x3a65[8]]([13],[_0x3a65[6]]),controller[_0x3a65[12]]);router[_0x3a65[14]](_0x3a65[4],auth[_0x3a65[5]](),auth[_0x3a65[8]]([13],[_0x3a65[6]]),controller[_0x3a65[13]]);router[_0x3a65[16]](_0x3a65[11],auth[_0x3a65[5]](),auth[_0x3a65[8]]([13],[_0x3a65[6]]),controller[_0x3a65[15]]);router[_0x3a65[18]](_0x3a65[4],auth[_0x3a65[5]](),auth[_0x3a65[8]]([13],[_0x3a65[6]]),controller[_0x3a65[17]]);router[_0x3a65[18]](_0x3a65[11],auth[_0x3a65[5]](),auth[_0x3a65[8]]([13],[_0x3a65[6]]),controller[_0x3a65[19]]);module[_0x3a65[20]]=router \ No newline at end of file +var _0x1246=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x70\x61\x75\x73\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x1246[0];var express=require(_0x1246[1]);var auth=require(_0x1246[2]);var controller=require(_0x1246[3]);var router=express.Router();router[_0x1246[10]](_0x1246[4],auth[_0x1246[5]](),auth[_0x1246[8]]([6,13],[_0x1246[6],_0x1246[7]]),controller[_0x1246[9]]);router[_0x1246[10]](_0x1246[11],auth[_0x1246[5]](),auth[_0x1246[8]]([13],[_0x1246[6]]),controller[_0x1246[12]]);router[_0x1246[14]](_0x1246[4],auth[_0x1246[5]](),auth[_0x1246[8]]([13],[_0x1246[6]]),controller[_0x1246[13]]);router[_0x1246[16]](_0x1246[11],auth[_0x1246[5]](),auth[_0x1246[8]]([13],[_0x1246[6]]),controller[_0x1246[15]]);router[_0x1246[18]](_0x1246[4],auth[_0x1246[5]](),auth[_0x1246[8]]([13],[_0x1246[6]]),controller[_0x1246[17]]);router[_0x1246[18]](_0x1246[11],auth[_0x1246[5]](),auth[_0x1246[8]]([13],[_0x1246[6]]),controller[_0x1246[19]]);module[_0x1246[20]]=router \ No newline at end of file diff --git a/server/api/pause/pause.controller.js b/server/api/pause/pause.controller.js index 3a05a9c..3c4dfb1 100644 --- a/server/api/pause/pause.controller.js +++ b/server/api/pause/pause.controller.js @@ -1 +1 @@ -var _0xc096=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x50\x61\x75\x73\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64\x73","\x6C\x69\x6D\x69\x74","\x6F\x66\x66\x73\x65\x74","\x6F\x72\x64\x65\x72","\x77\x68\x65\x72\x65","\x25","\x66\x6F\x72\x45\x61\x63\x68"];_0xc096[0];var _=require(_0xc096[1]);var Util=require(_0xc096[2]);var Pause=require(_0xc096[4])[_0xc096[3]];function handleError(_0xdd80x5,_0xdd80x6){_0xdd80x6=_0xdd80x6||500;return function(_0xdd80x7){_0xdd80x5[_0xc096[6]](_0xdd80x6)[_0xc096[5]](_0xdd80x7)}}function responseWithResult(_0xdd80x5,_0xdd80x6){_0xdd80x6=_0xdd80x6||200;return function(_0xdd80x9){if(_0xdd80x9){_0xdd80x5[_0xc096[6]](_0xdd80x6)[_0xc096[7]](_0xdd80x9)}}}function handleEntityNotFound(_0xdd80x5){return function(_0xdd80x9){if(!_0xdd80x9){_0xdd80x5[_0xc096[6]](404)[_0xc096[8]]();return null};return _0xdd80x9}}function saveUpdates(_0xdd80xc){return function(_0xdd80x9){return _0xdd80x9[_0xc096[10]](_0xdd80xc)[_0xc096[9]](function(_0xdd80xd){return _0xdd80xd})}}function removeEntity(_0xdd80x5){return function(_0xdd80x9){if(_0xdd80x9){return _0xdd80x9[_0xc096[11]]()[_0xc096[9]](function(){_0xdd80x5[_0xc096[6]](204)[_0xc096[8]]()})}}}exports[_0xc096[12]]=function(_0xdd80xf,_0xdd80x5){return Pause[_0xc096[16]](Util[_0xc096[15]](_0xdd80xf[_0xc096[14]]))[_0xc096[9]](function(_0xdd80x10){_0xdd80x5[_0xc096[6]](200)[_0xc096[5]](_0xdd80x10)})[_0xc096[13]](function(_0xdd80x7){return handleError(_0xdd80x5,_0xdd80x7)})};exports[_0xc096[17]]=function(_0xdd80xf,_0xdd80x5){return Pause[_0xc096[20]](_0xdd80xf[_0xc096[19]][_0xc096[18]])[_0xc096[9]](handleEntityNotFound(_0xdd80x5))[_0xc096[9]](responseWithResult(_0xdd80x5))[_0xc096[13]](handleError(_0xdd80x5))};exports[_0xc096[21]]=function(_0xdd80xf,_0xdd80x5){return Pause[_0xc096[21]](_0xdd80xf[_0xc096[22]])[_0xc096[9]](responseWithResult(_0xdd80x5,201))[_0xc096[13]](handleError(_0xdd80x5))};exports[_0xc096[23]]=function(_0xdd80xf,_0xdd80x5){if(_0xdd80xf[_0xc096[22]][_0xc096[18]]){delete _0xdd80xf[_0xc096[22]][_0xc096[18]]};return Pause[_0xc096[20]](_0xdd80xf[_0xc096[19]][_0xc096[18]])[_0xc096[9]](handleEntityNotFound(_0xdd80x5))[_0xc096[9]](saveUpdates(_0xdd80xf[_0xc096[22]]))[_0xc096[9]](responseWithResult(_0xdd80x5))[_0xc096[13]](handleError(_0xdd80x5))};exports[_0xc096[11]]=function(_0xdd80xf,_0xdd80x5){return Pause[_0xc096[20]](_0xdd80xf[_0xc096[19]][_0xc096[18]])[_0xc096[9]](handleEntityNotFound(_0xdd80x5))[_0xc096[9]](removeEntity(_0xdd80x5))[_0xc096[13]](handleError(_0xdd80x5))};exports[_0xc096[24]]=function(_0xdd80xf,_0xdd80x5){return Pause[_0xc096[11]]({where:{id:_0xdd80xf[_0xc096[14]][_0xc096[26]]},individualHooks:true})[_0xc096[9]](function(){return _0xdd80x5[_0xc096[25]](204)})[_0xc096[13]](function(_0xdd80x7){return handleError(_0xdd80x5,_0xdd80x7)})};function getQuery(_0xdd80x12){var _0xdd80x13={where:{}};_[_0xc096[32]](_0xdd80x12,function(_0xdd80x14,_0xdd80x15){switch(_0xdd80x15){case _0xc096[27]:;case _0xc096[28]:;case _0xc096[29]:_0xdd80x13[_0xdd80x15]=_0xdd80x14;break;default:_0xdd80x13[_0xc096[30]][_0xdd80x15]={$like:_0xc096[31]+_0xdd80x14+_0xc096[31]}}});return _0xdd80x13} \ No newline at end of file +var _0x12eb=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x50\x61\x75\x73\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64\x73","\x6C\x69\x6D\x69\x74","\x6F\x66\x66\x73\x65\x74","\x6F\x72\x64\x65\x72","\x77\x68\x65\x72\x65","\x25","\x66\x6F\x72\x45\x61\x63\x68"];_0x12eb[0];var _=require(_0x12eb[1]);var Util=require(_0x12eb[2]);var Pause=require(_0x12eb[4])[_0x12eb[3]];function handleError(_0x8151x5,_0x8151x6){_0x8151x6=_0x8151x6||500;return function(_0x8151x7){_0x8151x5[_0x12eb[6]](_0x8151x6)[_0x12eb[5]](_0x8151x7)}}function responseWithResult(_0x8151x5,_0x8151x6){_0x8151x6=_0x8151x6||200;return function(_0x8151x9){if(_0x8151x9){_0x8151x5[_0x12eb[6]](_0x8151x6)[_0x12eb[7]](_0x8151x9)}}}function handleEntityNotFound(_0x8151x5){return function(_0x8151x9){if(!_0x8151x9){_0x8151x5[_0x12eb[6]](404)[_0x12eb[8]]();return null};return _0x8151x9}}function saveUpdates(_0x8151xc){return function(_0x8151x9){return _0x8151x9[_0x12eb[10]](_0x8151xc)[_0x12eb[9]](function(_0x8151xd){return _0x8151xd})}}function removeEntity(_0x8151x5){return function(_0x8151x9){if(_0x8151x9){return _0x8151x9[_0x12eb[11]]()[_0x12eb[9]](function(){_0x8151x5[_0x12eb[6]](204)[_0x12eb[8]]()})}}}exports[_0x12eb[12]]=function(_0x8151xf,_0x8151x5){return Pause[_0x12eb[16]](Util[_0x12eb[15]](_0x8151xf[_0x12eb[14]]))[_0x12eb[9]](function(_0x8151x10){_0x8151x5[_0x12eb[6]](200)[_0x12eb[5]](_0x8151x10)})[_0x12eb[13]](function(_0x8151x7){return handleError(_0x8151x5,_0x8151x7)})};exports[_0x12eb[17]]=function(_0x8151xf,_0x8151x5){return Pause[_0x12eb[20]](_0x8151xf[_0x12eb[19]][_0x12eb[18]])[_0x12eb[9]](handleEntityNotFound(_0x8151x5))[_0x12eb[9]](responseWithResult(_0x8151x5))[_0x12eb[13]](handleError(_0x8151x5))};exports[_0x12eb[21]]=function(_0x8151xf,_0x8151x5){return Pause[_0x12eb[21]](_0x8151xf[_0x12eb[22]])[_0x12eb[9]](responseWithResult(_0x8151x5,201))[_0x12eb[13]](handleError(_0x8151x5))};exports[_0x12eb[23]]=function(_0x8151xf,_0x8151x5){if(_0x8151xf[_0x12eb[22]][_0x12eb[18]]){delete _0x8151xf[_0x12eb[22]][_0x12eb[18]]};return Pause[_0x12eb[20]](_0x8151xf[_0x12eb[19]][_0x12eb[18]])[_0x12eb[9]](handleEntityNotFound(_0x8151x5))[_0x12eb[9]](saveUpdates(_0x8151xf[_0x12eb[22]]))[_0x12eb[9]](responseWithResult(_0x8151x5))[_0x12eb[13]](handleError(_0x8151x5))};exports[_0x12eb[11]]=function(_0x8151xf,_0x8151x5){return Pause[_0x12eb[20]](_0x8151xf[_0x12eb[19]][_0x12eb[18]])[_0x12eb[9]](handleEntityNotFound(_0x8151x5))[_0x12eb[9]](removeEntity(_0x8151x5))[_0x12eb[13]](handleError(_0x8151x5))};exports[_0x12eb[24]]=function(_0x8151xf,_0x8151x5){return Pause[_0x12eb[11]]({where:{id:_0x8151xf[_0x12eb[14]][_0x12eb[26]]},individualHooks:true})[_0x12eb[9]](function(){return _0x8151x5[_0x12eb[25]](204)})[_0x12eb[13]](function(_0x8151x7){return handleError(_0x8151x5,_0x8151x7)})};function getQuery(_0x8151x12){var _0x8151x13={where:{}};_[_0x12eb[32]](_0x8151x12,function(_0x8151x14,_0x8151x15){switch(_0x8151x15){case _0x12eb[27]:;case _0x12eb[28]:;case _0x12eb[29]:_0x8151x13[_0x8151x15]=_0x8151x14;break;default:_0x8151x13[_0x12eb[30]][_0x8151x15]={$like:_0x12eb[31]+_0x8151x14+_0x12eb[31]}}});return _0x8151x13} \ No newline at end of file diff --git a/server/api/pause/pause.socket.js b/server/api/pause/pause.socket.js index 9550f7a..743b472 100644 --- a/server/api/pause/pause.socket.js +++ b/server/api/pause/pause.socket.js @@ -1 +1 @@ -var _0x3abe=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x50\x61\x75\x73\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x70\x61\x75\x73\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x70\x61\x75\x73\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x3abe[0];var Pause=require(_0x3abe[2])[_0x3abe[1]];exports[_0x3abe[3]]=function(_0x9ad9x2){Pause[_0x3abe[4]](function(_0x9ad9x3){onSave(_0x9ad9x2,_0x9ad9x3)});Pause[_0x3abe[5]](function(_0x9ad9x3){onRemove(_0x9ad9x2,_0x9ad9x3)})};function onSave(_0x9ad9x2,_0x9ad9x3,_0x9ad9x5){_0x9ad9x2[_0x3abe[7]](_0x3abe[6],_0x9ad9x3)}function onRemove(_0x9ad9x2,_0x9ad9x3,_0x9ad9x5){_0x9ad9x2[_0x3abe[7]](_0x3abe[8],_0x9ad9x3)} \ No newline at end of file +var _0x17b4=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x50\x61\x75\x73\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x70\x61\x75\x73\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x70\x61\x75\x73\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x17b4[0];var Pause=require(_0x17b4[2])[_0x17b4[1]];exports[_0x17b4[3]]=function(_0xd6d7x2){Pause[_0x17b4[4]](function(_0xd6d7x3){onSave(_0xd6d7x2,_0xd6d7x3)});Pause[_0x17b4[5]](function(_0xd6d7x3){onRemove(_0xd6d7x2,_0xd6d7x3)})};function onSave(_0xd6d7x2,_0xd6d7x3,_0xd6d7x5){_0xd6d7x2[_0x17b4[7]](_0x17b4[6],_0xd6d7x3)}function onRemove(_0xd6d7x2,_0xd6d7x3,_0xd6d7x5){_0xd6d7x2[_0x17b4[7]](_0x17b4[8],_0xd6d7x3)} \ No newline at end of file diff --git a/server/api/report_agent/index.js b/server/api/report_agent/index.js index 02424c9..d409d5e 100644 --- a/server/api/report_agent/index.js +++ b/server/api/report_agent/index.js @@ -1 +1 @@ -var _0x8b1a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x8b1a[0];var express=require(_0x8b1a[1]);var controller=require(_0x8b1a[2]);var auth=require(_0x8b1a[3]);var router=express.Router();router[_0x8b1a[9]](_0x8b1a[4],auth[_0x8b1a[5]](),auth[_0x8b1a[7]]([17],[_0x8b1a[6]]),controller[_0x8b1a[8]]);router[_0x8b1a[9]](_0x8b1a[10],auth[_0x8b1a[5]](),auth[_0x8b1a[7]]([17],[_0x8b1a[6]]),controller[_0x8b1a[11]]);module[_0x8b1a[12]]=router \ No newline at end of file +var _0x1682=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x1682[0];var express=require(_0x1682[1]);var controller=require(_0x1682[2]);var auth=require(_0x1682[3]);var router=express.Router();router[_0x1682[9]](_0x1682[4],auth[_0x1682[5]](),auth[_0x1682[7]]([17],[_0x1682[6]]),controller[_0x1682[8]]);router[_0x1682[9]](_0x1682[10],auth[_0x1682[5]](),auth[_0x1682[7]]([17],[_0x1682[6]]),controller[_0x1682[11]]);module[_0x1682[12]]=router \ No newline at end of file diff --git a/server/api/report_agent/report_agent.controller.js b/server/api/report_agent/report_agent.controller.js index a476dba..0377250 100644 --- a/server/api/report_agent/report_agent.controller.js +++ b/server/api/report_agent/report_agent.controller.js @@ -1 +1 @@ -var _0x1ad1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x52\x65\x70\x6F\x72\x74\x41\x67\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x41\x67\x65\x6E\x74\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x73\x63\x72\x69\x62\x65"];_0x1ad1[0];var _=require(_0x1ad1[1]);var ReportAgent=require(_0x1ad1[3])[_0x1ad1[2]];var ReportAgentHistory=require(_0x1ad1[3])[_0x1ad1[5]][_0x1ad1[4]];var Util=require(_0x1ad1[6]);exports[_0x1ad1[7]]=function(_0xec4bx5,_0xec4bx6,_0xec4bx7){return ReportAgent[_0x1ad1[14]](Util[_0x1ad1[13]](_0xec4bx5[_0x1ad1[12]]))[_0x1ad1[11]](function(_0xec4bx9){return _0xec4bx6[_0x1ad1[10]](200)[_0x1ad1[9]](_0xec4bx9)})[_0x1ad1[8]](function(_0xec4bx8){return handleError(_0xec4bx6,_0xec4bx8)})};exports[_0x1ad1[15]]=function(_0xec4bx5,_0xec4bx6){return ReportAgentHistory[_0x1ad1[15]]()[_0x1ad1[11]](function(_0xec4bxa){return _0xec4bx6[_0x1ad1[10]](200)[_0x1ad1[9]](_0xec4bxa)})[_0x1ad1[8]](function(_0xec4bx8){return handleError(_0xec4bx6,_0xec4bx8)})};function handleError(_0xec4bx6,_0xec4bx8){return _0xec4bx6[_0x1ad1[10]](500)[_0x1ad1[9]](_0xec4bx8)} \ No newline at end of file +var _0x38ce=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x52\x65\x70\x6F\x72\x74\x41\x67\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x41\x67\x65\x6E\x74\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x73\x63\x72\x69\x62\x65"];_0x38ce[0];var _=require(_0x38ce[1]);var ReportAgent=require(_0x38ce[3])[_0x38ce[2]];var ReportAgentHistory=require(_0x38ce[3])[_0x38ce[5]][_0x38ce[4]];var Util=require(_0x38ce[6]);exports[_0x38ce[7]]=function(_0xe98bx5,_0xe98bx6,_0xe98bx7){return ReportAgent[_0x38ce[14]](Util[_0x38ce[13]](_0xe98bx5[_0x38ce[12]]))[_0x38ce[11]](function(_0xe98bx9){return _0xe98bx6[_0x38ce[10]](200)[_0x38ce[9]](_0xe98bx9)})[_0x38ce[8]](function(_0xe98bx8){return handleError(_0xe98bx6,_0xe98bx8)})};exports[_0x38ce[15]]=function(_0xe98bx5,_0xe98bx6){return ReportAgentHistory[_0x38ce[15]]()[_0x38ce[11]](function(_0xe98bxa){return _0xe98bx6[_0x38ce[10]](200)[_0x38ce[9]](_0xe98bxa)})[_0x38ce[8]](function(_0xe98bx8){return handleError(_0xe98bx6,_0xe98bx8)})};function handleError(_0xe98bx6,_0xe98bx8){return _0xe98bx6[_0x38ce[10]](500)[_0x38ce[9]](_0xe98bx8)} \ No newline at end of file diff --git a/server/api/report_agent/report_agent.socket.js b/server/api/report_agent/report_agent.socket.js index 2f0f028..17ffa5e 100644 --- a/server/api/report_agent/report_agent.socket.js +++ b/server/api/report_agent/report_agent.socket.js @@ -1 +1 @@ -var _0x38d0=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x41\x67\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6E\x61\x6D\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x72\x6F\x6C\x65","\x61\x64\x6D\x69\x6E","\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x38d0[0];var ReportAgent=require(_0x38d0[2])[_0x38d0[1]];exports[_0x38d0[3]]=function(_0xfac7x2){ReportAgent[_0x38d0[4]](function(_0xfac7x3){onSave(_0xfac7x2,_0xfac7x3)});ReportAgent[_0x38d0[5]](function(_0xfac7x3){onSave(_0xfac7x2,_0xfac7x3)});ReportAgent[_0x38d0[6]](function(_0xfac7x3){onRemove(_0xfac7x2,_0xfac7x3)})};function onSave(_0xfac7x2,_0xfac7x3,_0xfac7x5){if(_0xfac7x2[_0x38d0[7]]===_0xfac7x3[_0x38d0[8]]||_0xfac7x2[_0x38d0[9]]===_0x38d0[10]){_0xfac7x2[_0x38d0[12]](_0x38d0[11],_0xfac7x3)}}function onRemove(_0xfac7x2,_0xfac7x3,_0xfac7x5){_0xfac7x2[_0x38d0[12]](_0x38d0[13],_0xfac7x3)} \ No newline at end of file +var _0xe05d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x41\x67\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6E\x61\x6D\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x72\x6F\x6C\x65","\x61\x64\x6D\x69\x6E","\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0xe05d[0];var ReportAgent=require(_0xe05d[2])[_0xe05d[1]];exports[_0xe05d[3]]=function(_0x90eex2){ReportAgent[_0xe05d[4]](function(_0x90eex3){onSave(_0x90eex2,_0x90eex3)});ReportAgent[_0xe05d[5]](function(_0x90eex3){onSave(_0x90eex2,_0x90eex3)});ReportAgent[_0xe05d[6]](function(_0x90eex3){onRemove(_0x90eex2,_0x90eex3)})};function onSave(_0x90eex2,_0x90eex3,_0x90eex5){if(_0x90eex2[_0xe05d[7]]===_0x90eex3[_0xe05d[8]]||_0x90eex2[_0xe05d[9]]===_0xe05d[10]){_0x90eex2[_0xe05d[12]](_0xe05d[11],_0x90eex3)}}function onRemove(_0x90eex2,_0x90eex3,_0x90eex5){_0x90eex2[_0xe05d[12]](_0xe05d[13],_0x90eex3)} \ No newline at end of file diff --git a/server/api/report_call/index.js b/server/api/report_call/index.js index 3003355..07949c9 100644 --- a/server/api/report_call/index.js +++ b/server/api/report_call/index.js @@ -1 +1 @@ -var _0xe025=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x2F\x6D\x61\x6E\x75\x61\x6C\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x61\x67\x65\x6E\x74","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64","\x2F\x6D\x61\x6E\x75\x61\x6C\x6F\x75\x74\x62\x6F\x75\x6E\x64\x67\x6C\x6F\x62\x61\x6C\x64\x75\x72\x61\x74\x69\x6F\x6E","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64\x47\x6C\x6F\x62\x61\x6C\x44\x75\x72\x61\x74\x69\x6F\x6E","\x2F\x6D\x61\x6E\x75\x61\x6C\x6F\x75\x74\x62\x6F\x75\x6E\x64\x61\x76\x67\x64\x75\x72\x61\x74\x69\x6F\x6E","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64\x41\x76\x67\x44\x75\x72\x61\x74\x69\x6F\x6E","\x2F\x6D\x61\x6E\x75\x61\x6C\x6F\x75\x74\x62\x6F\x75\x6E\x64\x61\x6E\x73\x77\x65\x72\x65\x64","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64\x41\x6E\x73\x77\x65\x72\x65\x64","\x2F\x6D\x61\x6E\x75\x61\x6C\x6F\x75\x74\x62\x6F\x75\x6E\x64\x61\x6E\x73\x77\x65\x72\x72\x61\x74\x65","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64\x41\x6E\x73\x77\x65\x72\x52\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xe025[0];var express=require(_0xe025[1]);var auth=require(_0xe025[2]);var controller=require(_0xe025[3]);var router=express.Router();router[_0xe025[9]](_0xe025[4],auth[_0xe025[5]](),auth[_0xe025[7]]([17],[_0xe025[6]]),controller[_0xe025[8]]);router[_0xe025[9]](_0xe025[10],auth[_0xe025[5]](),auth[_0xe025[7]]([17],[_0xe025[6]]),controller[_0xe025[11]]);router[_0xe025[9]](_0xe025[12],auth[_0xe025[5]](),auth[_0xe025[7]]([1],[_0xe025[6],_0xe025[13]]),controller[_0xe025[14]]);router[_0xe025[9]](_0xe025[15],auth[_0xe025[5]](),auth[_0xe025[7]]([1],[_0xe025[6],_0xe025[13]]),controller[_0xe025[16]]);router[_0xe025[9]](_0xe025[17],auth[_0xe025[5]](),auth[_0xe025[7]]([1],[_0xe025[6],_0xe025[13]]),controller[_0xe025[18]]);router[_0xe025[9]](_0xe025[19],auth[_0xe025[5]](),auth[_0xe025[7]]([1],[_0xe025[6],_0xe025[13]]),controller[_0xe025[20]]);router[_0xe025[9]](_0xe025[21],auth[_0xe025[5]](),auth[_0xe025[7]]([1],[_0xe025[6],_0xe025[13]]),controller[_0xe025[22]]);module[_0xe025[23]]=router \ No newline at end of file +var _0xef12=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x2F\x6D\x61\x6E\x75\x61\x6C\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x61\x67\x65\x6E\x74","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64","\x2F\x6D\x61\x6E\x75\x61\x6C\x6F\x75\x74\x62\x6F\x75\x6E\x64\x67\x6C\x6F\x62\x61\x6C\x64\x75\x72\x61\x74\x69\x6F\x6E","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64\x47\x6C\x6F\x62\x61\x6C\x44\x75\x72\x61\x74\x69\x6F\x6E","\x2F\x6D\x61\x6E\x75\x61\x6C\x6F\x75\x74\x62\x6F\x75\x6E\x64\x61\x76\x67\x64\x75\x72\x61\x74\x69\x6F\x6E","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64\x41\x76\x67\x44\x75\x72\x61\x74\x69\x6F\x6E","\x2F\x6D\x61\x6E\x75\x61\x6C\x6F\x75\x74\x62\x6F\x75\x6E\x64\x61\x6E\x73\x77\x65\x72\x65\x64","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64\x41\x6E\x73\x77\x65\x72\x65\x64","\x2F\x6D\x61\x6E\x75\x61\x6C\x6F\x75\x74\x62\x6F\x75\x6E\x64\x61\x6E\x73\x77\x65\x72\x72\x61\x74\x65","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64\x41\x6E\x73\x77\x65\x72\x52\x61\x74\x65","\x2F\x3A\x75\x6E\x69\x71\x75\x65\x69\x64","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0xef12[0];var express=require(_0xef12[1]);var auth=require(_0xef12[2]);var controller=require(_0xef12[3]);var router=express.Router();router[_0xef12[9]](_0xef12[4],auth[_0xef12[5]](),auth[_0xef12[7]]([17],[_0xef12[6]]),controller[_0xef12[8]]);router[_0xef12[9]](_0xef12[10],auth[_0xef12[5]](),auth[_0xef12[7]]([17],[_0xef12[6]]),controller[_0xef12[11]]);router[_0xef12[9]](_0xef12[12],auth[_0xef12[5]](),auth[_0xef12[7]]([1],[_0xef12[6],_0xef12[13]]),controller[_0xef12[14]]);router[_0xef12[9]](_0xef12[15],auth[_0xef12[5]](),auth[_0xef12[7]]([1],[_0xef12[6],_0xef12[13]]),controller[_0xef12[16]]);router[_0xef12[9]](_0xef12[17],auth[_0xef12[5]](),auth[_0xef12[7]]([1],[_0xef12[6],_0xef12[13]]),controller[_0xef12[18]]);router[_0xef12[9]](_0xef12[19],auth[_0xef12[5]](),auth[_0xef12[7]]([1],[_0xef12[6],_0xef12[13]]),controller[_0xef12[20]]);router[_0xef12[9]](_0xef12[21],auth[_0xef12[5]](),auth[_0xef12[7]]([1],[_0xef12[6],_0xef12[13]]),controller[_0xef12[22]]);router[_0xef12[25]](_0xef12[23],auth[_0xef12[5]](),auth[_0xef12[7]]([1],[_0xef12[6],_0xef12[13]]),controller[_0xef12[24]]);module[_0xef12[26]]=router \ No newline at end of file diff --git a/server/api/report_call/report_call.controller.js b/server/api/report_call/report_call.controller.js index a74f928..9986969 100644 --- a/server/api/report_call/report_call.controller.js +++ b/server/api/report_call/report_call.controller.js @@ -1 +1 @@ -var _0x952e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x43\x61\x6C\x6C","\x52\x65\x70\x6F\x72\x74\x43\x61\x6C\x6C\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64","\x64\x61\x74\x61","\x6C\x6F\x67","\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x63\x6F\x75\x6E\x74","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64\x47\x6C\x6F\x62\x61\x6C\x44\x75\x72\x61\x74\x69\x6F\x6E","\x76\x61\x6C\x75\x65","\x53\x45\x4C\x45\x43\x54\x20\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x53\x55\x4D\x28\x64\x75\x72\x61\x74\x69\x6F\x6E\x29\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x20\x57\x48\x45\x52\x45\x20\x74\x79\x70\x65\x3D\x22\x6F\x75\x74\x62\x6F\x75\x6E\x64\x22","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64\x41\x76\x67\x44\x75\x72\x61\x74\x69\x6F\x6E","\x53\x45\x4C\x45\x43\x54\x20\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x52\x4F\x55\x4E\x44\x28\x41\x56\x47\x28\x64\x75\x72\x61\x74\x69\x6F\x6E\x29\x2C\x20\x30\x29\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x20\x57\x48\x45\x52\x45\x20\x74\x79\x70\x65\x3D\x22\x6F\x75\x74\x62\x6F\x75\x6E\x64\x22","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64\x41\x6E\x73\x77\x65\x72\x65\x64","\x41\x4E\x53\x57\x45\x52\x45\x44","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64\x41\x6E\x73\x77\x65\x72\x52\x61\x74\x65","\x53\x45\x4C\x45\x43\x54\x20\x52\x4F\x55\x4E\x44\x28\x53\x55\x4D\x28\x49\x46\x28\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3D\x22\x41\x4E\x53\x57\x45\x52\x45\x44\x22\x2C\x20\x31\x2C\x20\x30\x29\x29\x20\x2F\x20\x43\x4F\x55\x4E\x54\x28\x2A\x29\x20\x2A\x20\x31\x30\x30\x2C\x20\x31\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x20\x57\x48\x45\x52\x45\x20\x74\x79\x70\x65\x3D\x22\x6F\x75\x74\x62\x6F\x75\x6E\x64\x22","\x64\x65\x73\x63\x72\x69\x62\x65"];_0x952e[0];var _=require(_0x952e[1]);var sequelize=require(_0x952e[3])[_0x952e[2]];var ReportCall=require(_0x952e[3])[_0x952e[4]];var ReportCallHistory=require(_0x952e[3])[_0x952e[6]][_0x952e[5]];var Util=require(_0x952e[7]);function handleError(_0xab2ax7,_0xab2ax8){_0xab2ax8=_0xab2ax8||500;return function(_0xab2ax9){_0xab2ax7[_0x952e[9]](_0xab2ax8)[_0x952e[8]](_0xab2ax9)}}function responseWithResult(_0xab2ax7,_0xab2ax8){_0xab2ax8=_0xab2ax8||200;return function(_0xab2axb){if(_0xab2axb){_0xab2ax7[_0x952e[9]](_0xab2ax8)[_0x952e[10]](_0xab2axb)}}}function handleEntityNotFound(_0xab2ax7){return function(_0xab2axb){if(!_0xab2axb){_0xab2ax7[_0x952e[9]](404)[_0x952e[11]]();return null};return _0xab2axb}}function saveUpdates(_0xab2axe){return function(_0xab2axb){return _0xab2axb[_0x952e[13]](_0xab2axe)[_0x952e[12]](function(_0xab2axf){return _0xab2axf})}}function removeEntity(_0xab2ax7){return function(_0xab2axb){if(_0xab2axb){return _0xab2axb[_0x952e[14]]()[_0x952e[12]](function(){_0xab2ax7[_0x952e[9]](204)[_0x952e[11]]()})}}}exports[_0x952e[15]]=function(_0xab2ax11,_0xab2ax7,_0xab2ax12){return ReportCall[_0x952e[19]](Util[_0x952e[18]](_0xab2ax11[_0x952e[17]]))[_0x952e[12]](function(_0xab2ax13){return _0xab2ax7[_0x952e[9]](200)[_0x952e[8]](_0xab2ax13)})[_0x952e[16]](handleError(_0xab2ax7))};exports[_0x952e[20]]=function(_0xab2ax11,_0xab2ax7){return ReportCall[_0x952e[24]]({where:{type:_0x952e[23]}})[_0x952e[12]](function(_0xab2ax14){console[_0x952e[22]](_0x952e[21],_0xab2ax14);return _0xab2ax7[_0x952e[9]](200)[_0x952e[8]]({value:_0xab2ax14})})[_0x952e[16]](function(_0xab2ax9){return handleError(_0xab2ax7,_0xab2ax9)})};exports[_0x952e[25]]=function(_0xab2ax11,_0xab2ax7){return sequelize[_0x952e[17]](_0x952e[27],{type:sequelize[_0x952e[29]][_0x952e[28]]})[_0x952e[12]](function(_0xab2ax14){return _0xab2ax7[_0x952e[9]](200)[_0x952e[8]]({value:_0xab2ax14[0][_0x952e[26]]})})[_0x952e[16]](function(_0xab2ax9){return handleError(_0xab2ax7,_0xab2ax9)})};exports[_0x952e[30]]=function(_0xab2ax11,_0xab2ax7){return sequelize[_0x952e[17]](_0x952e[31],{type:sequelize[_0x952e[29]][_0x952e[28]]})[_0x952e[12]](function(_0xab2ax14){return _0xab2ax7[_0x952e[9]](200)[_0x952e[8]]({value:_0xab2ax14[0][_0x952e[26]]})})[_0x952e[16]](function(_0xab2ax9){return handleError(_0xab2ax7,_0xab2ax9)})};exports[_0x952e[32]]=function(_0xab2ax11,_0xab2ax7){return ReportCall[_0x952e[24]]({where:{disposition:_0x952e[33],type:_0x952e[23]}})[_0x952e[12]](function(_0xab2ax14){return _0xab2ax7[_0x952e[9]](200)[_0x952e[8]]({value:_0xab2ax14})})[_0x952e[16]](function(_0xab2ax9){return handleError(_0xab2ax7,_0xab2ax9)})};exports[_0x952e[34]]=function(_0xab2ax11,_0xab2ax7){return sequelize[_0x952e[17]](_0x952e[35],{type:sequelize[_0x952e[29]][_0x952e[28]]})[_0x952e[12]](function(_0xab2ax14){return _0xab2ax7[_0x952e[9]](200)[_0x952e[8]]({value:_0xab2ax14[0][_0x952e[26]]})})[_0x952e[16]](function(_0xab2ax9){return handleError(_0xab2ax7,_0xab2ax9)})};exports[_0x952e[36]]=function(_0xab2ax11,_0xab2ax7){return ReportCallHistory[_0x952e[36]]()[_0x952e[12]](function(_0xab2ax15){return _0xab2ax7[_0x952e[9]](200)[_0x952e[8]](_0xab2ax15)})[_0x952e[16]](function(_0xab2ax9){return handleError(_0xab2ax7,_0xab2ax9)})} \ No newline at end of file +var _0xa200=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x43\x61\x6C\x6C","\x52\x65\x70\x6F\x72\x74\x43\x61\x6C\x6C\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x75\x70\x64\x61\x74\x65","\x69\x64","\x62\x6F\x64\x79","\x75\x6E\x69\x71\x75\x65\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x4F\x6E\x65","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64","\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x63\x6F\x75\x6E\x74","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64\x47\x6C\x6F\x62\x61\x6C\x44\x75\x72\x61\x74\x69\x6F\x6E","\x76\x61\x6C\x75\x65","\x53\x45\x4C\x45\x43\x54\x20\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x53\x55\x4D\x28\x64\x75\x72\x61\x74\x69\x6F\x6E\x29\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x20\x57\x48\x45\x52\x45\x20\x74\x79\x70\x65\x3D\x22\x6F\x75\x74\x62\x6F\x75\x6E\x64\x22","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64\x41\x76\x67\x44\x75\x72\x61\x74\x69\x6F\x6E","\x53\x45\x4C\x45\x43\x54\x20\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x52\x4F\x55\x4E\x44\x28\x41\x56\x47\x28\x64\x75\x72\x61\x74\x69\x6F\x6E\x29\x2C\x20\x30\x29\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x20\x57\x48\x45\x52\x45\x20\x74\x79\x70\x65\x3D\x22\x6F\x75\x74\x62\x6F\x75\x6E\x64\x22","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64\x41\x6E\x73\x77\x65\x72\x65\x64","\x41\x4E\x53\x57\x45\x52\x45\x44","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64\x41\x6E\x73\x77\x65\x72\x52\x61\x74\x65","\x53\x45\x4C\x45\x43\x54\x20\x52\x4F\x55\x4E\x44\x28\x53\x55\x4D\x28\x49\x46\x28\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3D\x22\x41\x4E\x53\x57\x45\x52\x45\x44\x22\x2C\x20\x31\x2C\x20\x30\x29\x29\x20\x2F\x20\x43\x4F\x55\x4E\x54\x28\x2A\x29\x20\x2A\x20\x31\x30\x30\x2C\x20\x31\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x20\x57\x48\x45\x52\x45\x20\x74\x79\x70\x65\x3D\x22\x6F\x75\x74\x62\x6F\x75\x6E\x64\x22","\x64\x65\x73\x63\x72\x69\x62\x65"];_0xa200[0];var _=require(_0xa200[1]);var sequelize=require(_0xa200[3])[_0xa200[2]];var ReportCall=require(_0xa200[3])[_0xa200[4]];var ReportCallHistory=require(_0xa200[3])[_0xa200[6]][_0xa200[5]];var Util=require(_0xa200[7]);function handleError(_0xb915x7,_0xb915x8){_0xb915x8=_0xb915x8||500;return function(_0xb915x9){_0xb915x7[_0xa200[9]](_0xb915x8)[_0xa200[8]](_0xb915x9)}}function responseWithResult(_0xb915x7,_0xb915x8){_0xb915x8=_0xb915x8||200;return function(_0xb915xb){if(_0xb915xb){_0xb915x7[_0xa200[9]](_0xb915x8)[_0xa200[10]](_0xb915xb)}}}function handleEntityNotFound(_0xb915x7){return function(_0xb915xb){if(!_0xb915xb){_0xb915x7[_0xa200[9]](404)[_0xa200[11]]();return null};return _0xb915xb}}function saveUpdates(_0xb915xe){return function(_0xb915xb){return _0xb915xb[_0xa200[13]](_0xb915xe)[_0xa200[12]](function(_0xb915xf){return _0xb915xf})}}function removeEntity(_0xb915x7){return function(_0xb915xb){if(_0xb915xb){return _0xb915xb[_0xa200[14]]()[_0xa200[12]](function(){_0xb915x7[_0xa200[9]](204)[_0xa200[11]]()})}}}exports[_0xa200[15]]=function(_0xb915x11,_0xb915x7,_0xb915x12){return ReportCall[_0xa200[19]](Util[_0xa200[18]](_0xb915x11[_0xa200[17]]))[_0xa200[12]](function(_0xb915x13){return _0xb915x7[_0xa200[9]](200)[_0xa200[8]](_0xb915x13)})[_0xa200[16]](handleError(_0xb915x7))};exports[_0xa200[20]]=function(_0xb915x11,_0xb915x7){if(_0xb915x11[_0xa200[22]][_0xa200[21]]){delete _0xb915x11[_0xa200[22]][_0xa200[21]]};return ReportCall[_0xa200[25]]({where:{uniqueid:_0xb915x11[_0xa200[24]][_0xa200[23]]}})[_0xa200[12]](handleEntityNotFound(_0xb915x7))[_0xa200[12]](saveUpdates(_0xb915x11[_0xa200[22]]))[_0xa200[12]](responseWithResult(_0xb915x7))[_0xa200[16]](handleError(_0xb915x7))};exports[_0xa200[26]]=function(_0xb915x11,_0xb915x7){return ReportCall[_0xa200[28]]({where:{type:_0xa200[27]}})[_0xa200[12]](function(_0xb915x14){return _0xb915x7[_0xa200[9]](200)[_0xa200[8]]({value:_0xb915x14})})[_0xa200[16]](handleError(_0xb915x7))};exports[_0xa200[29]]=function(_0xb915x11,_0xb915x7){return sequelize[_0xa200[17]](_0xa200[31],{type:sequelize[_0xa200[33]][_0xa200[32]]})[_0xa200[12]](function(_0xb915x14){return _0xb915x7[_0xa200[9]](200)[_0xa200[8]]({value:_0xb915x14[0][_0xa200[30]]})})[_0xa200[16]](handleError(_0xb915x7))};exports[_0xa200[34]]=function(_0xb915x11,_0xb915x7){return sequelize[_0xa200[17]](_0xa200[35],{type:sequelize[_0xa200[33]][_0xa200[32]]})[_0xa200[12]](function(_0xb915x14){return _0xb915x7[_0xa200[9]](200)[_0xa200[8]]({value:_0xb915x14[0][_0xa200[30]]})})[_0xa200[16]](handleError(_0xb915x7))};exports[_0xa200[36]]=function(_0xb915x11,_0xb915x7){return ReportCall[_0xa200[28]]({where:{disposition:_0xa200[37],type:_0xa200[27]}})[_0xa200[12]](function(_0xb915x14){return _0xb915x7[_0xa200[9]](200)[_0xa200[8]]({value:_0xb915x14})})[_0xa200[16]](handleError(_0xb915x7))};exports[_0xa200[38]]=function(_0xb915x11,_0xb915x7){return sequelize[_0xa200[17]](_0xa200[39],{type:sequelize[_0xa200[33]][_0xa200[32]]})[_0xa200[12]](function(_0xb915x14){return _0xb915x7[_0xa200[9]](200)[_0xa200[8]]({value:_0xb915x14[0][_0xa200[30]]})})[_0xa200[16]](handleError(_0xb915x7))};exports[_0xa200[40]]=function(_0xb915x11,_0xb915x7){return ReportCallHistory[_0xa200[40]]()[_0xa200[12]](function(_0xb915x15){return _0xb915x7[_0xa200[9]](200)[_0xa200[8]](_0xb915x15)})[_0xa200[16]](handleError(_0xb915x7))} \ No newline at end of file diff --git a/server/api/report_call/report_call.socket.js b/server/api/report_call/report_call.socket.js index a286dff..d845e6b 100644 --- a/server/api/report_call/report_call.socket.js +++ b/server/api/report_call/report_call.socket.js @@ -1 +1 @@ -var _0xc405=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x43\x61\x6C\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x3A\x72\x65\x6D\x6F\x76\x65"];_0xc405[0];var ReportCall=require(_0xc405[2])[_0xc405[1]];exports[_0xc405[3]]=function(_0x33b9x2){ReportCall[_0xc405[4]](function(_0x33b9x3){onSave(_0x33b9x2,_0x33b9x3)});ReportCall[_0xc405[5]](function(_0x33b9x3){onRemove(_0x33b9x2,_0x33b9x3)})};function onSave(_0x33b9x2,_0x33b9x3,_0x33b9x5){_0x33b9x2[_0xc405[7]](_0xc405[6],_0x33b9x3)}function onRemove(_0x33b9x2,_0x33b9x3,_0x33b9x5){_0x33b9x2[_0xc405[7]](_0xc405[8],_0x33b9x3)} \ No newline at end of file +var _0x9eb3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x43\x61\x6C\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x3A\x72\x65\x6D\x6F\x76\x65"];_0x9eb3[0];var ReportCall=require(_0x9eb3[2])[_0x9eb3[1]];exports[_0x9eb3[3]]=function(_0x6019x2){ReportCall[_0x9eb3[4]](function(_0x6019x3){onSave(_0x6019x2,_0x6019x3)});ReportCall[_0x9eb3[5]](function(_0x6019x3){onRemove(_0x6019x2,_0x6019x3)})};function onSave(_0x6019x2,_0x6019x3,_0x6019x5){_0x6019x2[_0x9eb3[7]](_0x9eb3[6],_0x6019x3)}function onRemove(_0x6019x2,_0x6019x3,_0x6019x5){_0x6019x2[_0x9eb3[7]](_0x9eb3[8],_0x6019x3)} \ No newline at end of file diff --git a/server/api/report_chat/index.js b/server/api/report_chat/index.js index 05e9e03..5279d04 100644 --- a/server/api/report_chat/index.js +++ b/server/api/report_chat/index.js @@ -1 +1 @@ -var _0x7140=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x68\x61\x73\x43\x68\x61\x74","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64\x2F\x61\x63\x63\x65\x70\x74\x2F\x3A\x75\x6E\x69\x71\x75\x65\x69\x64","\x61\x67\x65\x6E\x74","\x68\x61\x73\x52\x6F\x6C\x65","\x61\x63\x63\x65\x70\x74","\x2F\x3A\x69\x64\x2F\x72\x65\x6A\x65\x63\x74","\x72\x65\x6A\x65\x63\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x7140[0];var express=require(_0x7140[1]);var controller=require(_0x7140[2]);var auth=require(_0x7140[3]);var license=require(_0x7140[4]);var router=express.Router();router[_0x7140[11]](_0x7140[5],auth[_0x7140[6]](),license[_0x7140[7]](),auth[_0x7140[9]]([17],[_0x7140[8]]),controller[_0x7140[10]]);router[_0x7140[11]](_0x7140[12],auth[_0x7140[6]](),license[_0x7140[7]](),auth[_0x7140[14]](_0x7140[13]),controller[_0x7140[15]]);router[_0x7140[11]](_0x7140[16],auth[_0x7140[6]](),license[_0x7140[7]](),auth[_0x7140[14]](_0x7140[13]),controller[_0x7140[17]]);module[_0x7140[18]]=router \ No newline at end of file +var _0x74d0=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x68\x61\x73\x43\x68\x61\x74","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64\x2F\x61\x63\x63\x65\x70\x74\x2F\x3A\x75\x6E\x69\x71\x75\x65\x69\x64","\x61\x67\x65\x6E\x74","\x68\x61\x73\x52\x6F\x6C\x65","\x61\x63\x63\x65\x70\x74","\x2F\x3A\x69\x64\x2F\x72\x65\x6A\x65\x63\x74","\x72\x65\x6A\x65\x63\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x74d0[0];var express=require(_0x74d0[1]);var controller=require(_0x74d0[2]);var auth=require(_0x74d0[3]);var license=require(_0x74d0[4]);var router=express.Router();router[_0x74d0[11]](_0x74d0[5],auth[_0x74d0[6]](),license[_0x74d0[7]](),auth[_0x74d0[9]]([17],[_0x74d0[8]]),controller[_0x74d0[10]]);router[_0x74d0[11]](_0x74d0[12],auth[_0x74d0[6]](),license[_0x74d0[7]](),auth[_0x74d0[14]](_0x74d0[13]),controller[_0x74d0[15]]);router[_0x74d0[11]](_0x74d0[16],auth[_0x74d0[6]](),license[_0x74d0[7]](),auth[_0x74d0[14]](_0x74d0[13]),controller[_0x74d0[17]]);module[_0x74d0[18]]=router \ No newline at end of file diff --git a/server/api/report_chat/report_chat.controller.js b/server/api/report_chat/report_chat.controller.js index db6a9e3..6b30c46 100644 --- a/server/api/report_chat/report_chat.controller.js +++ b/server/api/report_chat/report_chat.controller.js @@ -1 +1 @@ -var _0x6177=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x64\x35","\x6D\x6F\x6D\x65\x6E\x74","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x55\x73\x65\x72","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x61\x63\x63\x65\x70\x74","\x2E","\x73\x70\x6C\x69\x74","\x75\x6E\x69\x71\x75\x65\x69\x64","\x70\x61\x72\x61\x6D\x73","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x61\x63\x63\x65\x70\x74\x65\x64","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x66\x69\x6E\x64\x42\x79\x49\x64","\x62\x61\x73\x65\x36\x34","\x69\x64","\x75\x73\x65\x72","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x75\x70\x64\x61\x74\x65","\x61\x64\x64\x55\x73\x65\x72","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x64\x65\x73\x74\x72\x6F\x79","\x72\x65\x6A\x65\x63\x74","\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"];_0x6177[0];var _=require(_0x6177[1]);var md5=require(_0x6177[2]);var moment=require(_0x6177[3]);var ReportChat=require(_0x6177[5])[_0x6177[4]];var ChatRoom=require(_0x6177[5])[_0x6177[6]];var ChatVisitor=require(_0x6177[5])[_0x6177[7]];var Agent=require(_0x6177[5])[_0x6177[8]];var sequelize=require(_0x6177[5])[_0x6177[9]];var Util=require(_0x6177[10]);exports[_0x6177[11]]=function(_0xd9faxa,_0xd9faxb,_0xd9faxc){return ReportChat[_0x6177[18]](Util[_0x6177[17]](_0xd9faxa[_0x6177[16]]))[_0x6177[15]](function(_0xd9faxe){_0xd9faxb[_0x6177[14]](200)[_0x6177[13]](_0xd9faxe)})[_0x6177[12]](function(_0xd9faxd){return handleError(_0xd9faxb,_0xd9faxd)})};exports[_0x6177[19]]=function(_0xd9faxa,_0xd9faxb){var _0xd9faxf=_0xd9faxa[_0x6177[23]][_0x6177[22]][_0x6177[21]](_0x6177[20])[1];var _0xd9fax10;return ReportChat[_0x6177[28]](_0xd9faxa[_0x6177[23]][_0x6177[30]])[_0x6177[15]](function(_0xd9fax14){if(!_0xd9fax14){return _0xd9faxb[_0x6177[24]](404)};var _0xd9fax12=_[_0x6177[26]](_0xd9fax14,{connectid:_0xd9faxa[_0x6177[23]][_0x6177[22]]});return _0xd9fax12[_0x6177[27]]()})[_0x6177[15]](function(){return ChatRoom[_0x6177[28]](_0xd9faxf)})[_0x6177[15]](function(_0xd9fax13){_0xd9fax10=_0xd9fax13;return _0xd9fax10[_0x6177[34]](_0xd9faxa[_0x6177[31]][_0x6177[30]],{individualHooks:true})})[_0x6177[15]](function(){return _0xd9fax10[_0x6177[33]]({token:md5(JSON[_0x6177[32]]([_0xd9faxa[_0x6177[31]][_0x6177[30]]])).toString(_0x6177[29])})})[_0x6177[15]](function(){return ChatVisitor[_0x6177[28]](_0xd9fax10.ChatVisitorId)})[_0x6177[15]](function(_0xd9fax11){if(!_0xd9fax11){return _0xd9faxb[_0x6177[24]](404)};var _0xd9fax12=_[_0x6177[26]](_0xd9fax11,{status:_0x6177[25]});return _0xd9fax12[_0x6177[27]]()})[_0x6177[15]](function(){return _0xd9faxb[_0x6177[24]](200)})[_0x6177[12]](sequelize.UniqueConstraintError,function(_0xd9faxd){return _0xd9faxb[_0x6177[24]](504)})[_0x6177[12]](function(_0xd9faxd){return handleError(_0xd9faxb,_0xd9faxd)})};exports[_0x6177[35]]=function(_0xd9faxa,_0xd9faxb){return ReportChat[_0x6177[35]](_0xd9faxa[_0x6177[36]])[_0x6177[15]](function(_0xd9fax14){return _0xd9faxb[_0x6177[14]](201)[_0x6177[13]](_0xd9fax14)})[_0x6177[12]](function(_0xd9faxd){return handleError(_0xd9faxb,_0xd9faxd)})};exports[_0x6177[33]]=function(_0xd9faxa,_0xd9faxb,_0xd9faxc){if(_0xd9faxa[_0x6177[36]][_0x6177[30]]){delete _0xd9faxa[_0x6177[36]][_0x6177[30]]};return ReportChat[_0x6177[28]](_0xd9faxa[_0x6177[23]][_0x6177[30]])[_0x6177[15]](function(_0xd9fax14){if(!_0xd9fax14){return _0xd9faxb[_0x6177[24]](404)};var _0xd9fax12=_[_0x6177[26]](_0xd9fax14,_0xd9faxa[_0x6177[36]]);return _0xd9fax12[_0x6177[27]]()})[_0x6177[15]](function(_0xd9fax14){return _0xd9faxb[_0x6177[14]](200)[_0x6177[13]](_0xd9fax14)})[_0x6177[12]](sequelize.ValidationError,function(_0xd9faxd){return handleError(_0xd9faxb,_0xd9faxd)})[_0x6177[12]](function(_0xd9faxd){return handleError(_0xd9faxb,_0xd9faxd)})};exports[_0x6177[37]]=function(_0xd9faxa,_0xd9faxb){return ReportChat[_0x6177[28]](_0xd9faxa[_0x6177[23]][_0x6177[30]])[_0x6177[15]](function(_0xd9fax14){if(!_0xd9fax14){return _0xd9faxb[_0x6177[24]](404)};return _0xd9fax14[_0x6177[37]]()})[_0x6177[15]](function(){return _0xd9faxb[_0x6177[24]](204)})[_0x6177[12]](function(_0xd9faxd){return handleError(_0xd9faxb,_0xd9faxd)})};exports[_0x6177[38]]=function(_0xd9faxa,_0xd9faxb){return ReportChat[_0x6177[28]](_0xd9faxa[_0x6177[23]][_0x6177[30]])[_0x6177[15]](function(_0xd9fax14){if(!_0xd9fax14){return _0xd9faxb[_0x6177[24]](404)};var _0xd9fax12=_[_0x6177[26]](_0xd9fax14,{rejectedAt:moment()[_0x6177[40]](_0x6177[39])});return _0xd9fax12[_0x6177[27]]()})[_0x6177[15]](function(){return _0xd9faxb[_0x6177[24]](200)})[_0x6177[12]](function(_0xd9faxd){return handleError(_0xd9faxb,_0xd9faxd)})};function handleError(_0xd9faxb,_0xd9faxd){return _0xd9faxb[_0x6177[14]](500)[_0x6177[13]](_0xd9faxd)} \ No newline at end of file +var _0x2019=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x64\x35","\x6D\x6F\x6D\x65\x6E\x74","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x55\x73\x65\x72","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x61\x63\x63\x65\x70\x74","\x2E","\x73\x70\x6C\x69\x74","\x75\x6E\x69\x71\x75\x65\x69\x64","\x70\x61\x72\x61\x6D\x73","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x61\x63\x63\x65\x70\x74\x65\x64","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x66\x69\x6E\x64\x42\x79\x49\x64","\x62\x61\x73\x65\x36\x34","\x69\x64","\x75\x73\x65\x72","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x75\x70\x64\x61\x74\x65","\x61\x64\x64\x55\x73\x65\x72","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x64\x65\x73\x74\x72\x6F\x79","\x72\x65\x6A\x65\x63\x74","\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"];_0x2019[0];var _=require(_0x2019[1]);var md5=require(_0x2019[2]);var moment=require(_0x2019[3]);var ReportChat=require(_0x2019[5])[_0x2019[4]];var ChatRoom=require(_0x2019[5])[_0x2019[6]];var ChatVisitor=require(_0x2019[5])[_0x2019[7]];var Agent=require(_0x2019[5])[_0x2019[8]];var sequelize=require(_0x2019[5])[_0x2019[9]];var Util=require(_0x2019[10]);exports[_0x2019[11]]=function(_0x405cxa,_0x405cxb,_0x405cxc){return ReportChat[_0x2019[18]](Util[_0x2019[17]](_0x405cxa[_0x2019[16]]))[_0x2019[15]](function(_0x405cxe){_0x405cxb[_0x2019[14]](200)[_0x2019[13]](_0x405cxe)})[_0x2019[12]](function(_0x405cxd){return handleError(_0x405cxb,_0x405cxd)})};exports[_0x2019[19]]=function(_0x405cxa,_0x405cxb){var _0x405cxf=_0x405cxa[_0x2019[23]][_0x2019[22]][_0x2019[21]](_0x2019[20])[1];var _0x405cx10;return ReportChat[_0x2019[28]](_0x405cxa[_0x2019[23]][_0x2019[30]])[_0x2019[15]](function(_0x405cx14){if(!_0x405cx14){return _0x405cxb[_0x2019[24]](404)};var _0x405cx12=_[_0x2019[26]](_0x405cx14,{connectid:_0x405cxa[_0x2019[23]][_0x2019[22]]});return _0x405cx12[_0x2019[27]]()})[_0x2019[15]](function(){return ChatRoom[_0x2019[28]](_0x405cxf)})[_0x2019[15]](function(_0x405cx13){_0x405cx10=_0x405cx13;return _0x405cx10[_0x2019[34]](_0x405cxa[_0x2019[31]][_0x2019[30]],{individualHooks:true})})[_0x2019[15]](function(){return _0x405cx10[_0x2019[33]]({token:md5(JSON[_0x2019[32]]([_0x405cxa[_0x2019[31]][_0x2019[30]]])).toString(_0x2019[29])})})[_0x2019[15]](function(){return ChatVisitor[_0x2019[28]](_0x405cx10.ChatVisitorId)})[_0x2019[15]](function(_0x405cx11){if(!_0x405cx11){return _0x405cxb[_0x2019[24]](404)};var _0x405cx12=_[_0x2019[26]](_0x405cx11,{status:_0x2019[25]});return _0x405cx12[_0x2019[27]]()})[_0x2019[15]](function(){return _0x405cxb[_0x2019[24]](200)})[_0x2019[12]](sequelize.UniqueConstraintError,function(_0x405cxd){return _0x405cxb[_0x2019[24]](504)})[_0x2019[12]](function(_0x405cxd){return handleError(_0x405cxb,_0x405cxd)})};exports[_0x2019[35]]=function(_0x405cxa,_0x405cxb){return ReportChat[_0x2019[35]](_0x405cxa[_0x2019[36]])[_0x2019[15]](function(_0x405cx14){return _0x405cxb[_0x2019[14]](201)[_0x2019[13]](_0x405cx14)})[_0x2019[12]](function(_0x405cxd){return handleError(_0x405cxb,_0x405cxd)})};exports[_0x2019[33]]=function(_0x405cxa,_0x405cxb,_0x405cxc){if(_0x405cxa[_0x2019[36]][_0x2019[30]]){delete _0x405cxa[_0x2019[36]][_0x2019[30]]};return ReportChat[_0x2019[28]](_0x405cxa[_0x2019[23]][_0x2019[30]])[_0x2019[15]](function(_0x405cx14){if(!_0x405cx14){return _0x405cxb[_0x2019[24]](404)};var _0x405cx12=_[_0x2019[26]](_0x405cx14,_0x405cxa[_0x2019[36]]);return _0x405cx12[_0x2019[27]]()})[_0x2019[15]](function(_0x405cx14){return _0x405cxb[_0x2019[14]](200)[_0x2019[13]](_0x405cx14)})[_0x2019[12]](sequelize.ValidationError,function(_0x405cxd){return handleError(_0x405cxb,_0x405cxd)})[_0x2019[12]](function(_0x405cxd){return handleError(_0x405cxb,_0x405cxd)})};exports[_0x2019[37]]=function(_0x405cxa,_0x405cxb){return ReportChat[_0x2019[28]](_0x405cxa[_0x2019[23]][_0x2019[30]])[_0x2019[15]](function(_0x405cx14){if(!_0x405cx14){return _0x405cxb[_0x2019[24]](404)};return _0x405cx14[_0x2019[37]]()})[_0x2019[15]](function(){return _0x405cxb[_0x2019[24]](204)})[_0x2019[12]](function(_0x405cxd){return handleError(_0x405cxb,_0x405cxd)})};exports[_0x2019[38]]=function(_0x405cxa,_0x405cxb){return ReportChat[_0x2019[28]](_0x405cxa[_0x2019[23]][_0x2019[30]])[_0x2019[15]](function(_0x405cx14){if(!_0x405cx14){return _0x405cxb[_0x2019[24]](404)};var _0x405cx12=_[_0x2019[26]](_0x405cx14,{rejectedAt:moment()[_0x2019[40]](_0x2019[39])});return _0x405cx12[_0x2019[27]]()})[_0x2019[15]](function(){return _0x405cxb[_0x2019[24]](200)})[_0x2019[12]](function(_0x405cxd){return handleError(_0x405cxb,_0x405cxd)})};function handleError(_0x405cxb,_0x405cxd){return _0x405cxb[_0x2019[14]](500)[_0x2019[13]](_0x405cxd)} \ No newline at end of file diff --git a/server/api/report_chat/report_chat.socket.js b/server/api/report_chat/report_chat.socket.js index 014cef3..70ffa35 100644 --- a/server/api/report_chat/report_chat.socket.js +++ b/server/api/report_chat/report_chat.socket.js @@ -1 +1 @@ -var _0xc208=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6E\x61\x6D\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x72\x6F\x6C\x65","\x61\x67\x65\x6E\x74","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x3A\x75\x70\x64\x61\x74\x65","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0xc208[0];var ReportChat=require(_0xc208[2])[_0xc208[1]];exports[_0xc208[3]]=function(_0x8026x2){ReportChat[_0xc208[4]](function(_0x8026x3){onSave(_0x8026x2,_0x8026x3)});ReportChat[_0xc208[5]](function(_0x8026x3){onUpdate(_0x8026x2,_0x8026x3)});ReportChat[_0xc208[6]](function(_0x8026x3){onRemove(_0x8026x2,_0x8026x3)})};function onSave(_0x8026x2,_0x8026x3,_0x8026x5){if(_0x8026x2[_0xc208[7]]===_0x8026x3[_0xc208[8]]&&_0x8026x2[_0xc208[9]]===_0xc208[10]){_0x8026x2[_0xc208[12]](_0xc208[11],_0x8026x3)}}function onUpdate(_0x8026x2,_0x8026x3,_0x8026x5){if(_0x8026x2[_0xc208[7]]===_0x8026x3[_0xc208[8]]&&_0x8026x2[_0xc208[9]]===_0xc208[10]){_0x8026x2[_0xc208[12]](_0xc208[13],_0x8026x3)}}function onRemove(_0x8026x2,_0x8026x3,_0x8026x5){_0x8026x2[_0xc208[12]](_0xc208[14],_0x8026x3)} \ No newline at end of file +var _0xc9c7=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6E\x61\x6D\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x72\x6F\x6C\x65","\x61\x67\x65\x6E\x74","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x3A\x75\x70\x64\x61\x74\x65","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0xc9c7[0];var ReportChat=require(_0xc9c7[2])[_0xc9c7[1]];exports[_0xc9c7[3]]=function(_0x3e7cx2){ReportChat[_0xc9c7[4]](function(_0x3e7cx3){onSave(_0x3e7cx2,_0x3e7cx3)});ReportChat[_0xc9c7[5]](function(_0x3e7cx3){onUpdate(_0x3e7cx2,_0x3e7cx3)});ReportChat[_0xc9c7[6]](function(_0x3e7cx3){onRemove(_0x3e7cx2,_0x3e7cx3)})};function onSave(_0x3e7cx2,_0x3e7cx3,_0x3e7cx5){if(_0x3e7cx2[_0xc9c7[7]]===_0x3e7cx3[_0xc9c7[8]]&&_0x3e7cx2[_0xc9c7[9]]===_0xc9c7[10]){_0x3e7cx2[_0xc9c7[12]](_0xc9c7[11],_0x3e7cx3)}}function onUpdate(_0x3e7cx2,_0x3e7cx3,_0x3e7cx5){if(_0x3e7cx2[_0xc9c7[7]]===_0x3e7cx3[_0xc9c7[8]]&&_0x3e7cx2[_0xc9c7[9]]===_0xc9c7[10]){_0x3e7cx2[_0xc9c7[12]](_0xc9c7[13],_0x3e7cx3)}}function onRemove(_0x3e7cx2,_0x3e7cx3,_0x3e7cx5){_0x3e7cx2[_0xc9c7[12]](_0xc9c7[14],_0x3e7cx3)} \ No newline at end of file diff --git a/server/api/report_chat_room/index.js b/server/api/report_chat_room/index.js index 3fd14f0..951063c 100644 --- a/server/api/report_chat_room/index.js +++ b/server/api/report_chat_room/index.js @@ -1 +1 @@ -var _0xa9b6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x68\x61\x73\x43\x68\x61\x74","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x2F\x6F\x70\x65\x6E","\x61\x67\x65\x6E\x74","\x6F\x70\x65\x6E","\x2F\x63\x6C\x6F\x73\x65\x64","\x63\x6C\x6F\x73\x65\x64","\x2F\x6E\x65\x77","\x6E\x65\x77","\x2F\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x2F\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64","\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64","\x65\x78\x70\x6F\x72\x74\x73"];_0xa9b6[0];var express=require(_0xa9b6[1]);var auth=require(_0xa9b6[2]);var controller=require(_0xa9b6[3]);var license=require(_0xa9b6[4]);var router=express.Router();router[_0xa9b6[11]](_0xa9b6[5],auth[_0xa9b6[6]](),license[_0xa9b6[7]](),auth[_0xa9b6[9]]([17],[_0xa9b6[8]]),controller[_0xa9b6[10]]);router[_0xa9b6[11]](_0xa9b6[12],auth[_0xa9b6[6]](),license[_0xa9b6[7]](),auth[_0xa9b6[9]]([17],[_0xa9b6[8]]),controller[_0xa9b6[13]]);router[_0xa9b6[11]](_0xa9b6[14],auth[_0xa9b6[6]](),license[_0xa9b6[7]](),auth[_0xa9b6[9]]([1],[_0xa9b6[8],_0xa9b6[15]]),controller[_0xa9b6[16]]);router[_0xa9b6[11]](_0xa9b6[17],auth[_0xa9b6[6]](),license[_0xa9b6[7]](),auth[_0xa9b6[9]]([1],[_0xa9b6[8],_0xa9b6[15]]),controller[_0xa9b6[18]]);router[_0xa9b6[11]](_0xa9b6[19],auth[_0xa9b6[6]](),license[_0xa9b6[7]](),auth[_0xa9b6[9]]([1],[_0xa9b6[8],_0xa9b6[15]]),controller[_0xa9b6[20]]);router[_0xa9b6[11]](_0xa9b6[21],auth[_0xa9b6[6]](),license[_0xa9b6[7]](),auth[_0xa9b6[9]]([1],[_0xa9b6[8],_0xa9b6[15]]),controller[_0xa9b6[22]]);router[_0xa9b6[11]](_0xa9b6[23],auth[_0xa9b6[6]](),license[_0xa9b6[7]](),auth[_0xa9b6[9]]([1],[_0xa9b6[8],_0xa9b6[15]]),controller[_0xa9b6[24]]);module[_0xa9b6[25]]=router \ No newline at end of file +var _0x88fd=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x68\x61\x73\x43\x68\x61\x74","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x2F\x6F\x70\x65\x6E","\x61\x67\x65\x6E\x74","\x6F\x70\x65\x6E","\x2F\x63\x6C\x6F\x73\x65\x64","\x63\x6C\x6F\x73\x65\x64","\x2F\x6E\x65\x77","\x6E\x65\x77","\x2F\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x2F\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64","\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64","\x65\x78\x70\x6F\x72\x74\x73"];_0x88fd[0];var express=require(_0x88fd[1]);var auth=require(_0x88fd[2]);var controller=require(_0x88fd[3]);var license=require(_0x88fd[4]);var router=express.Router();router[_0x88fd[11]](_0x88fd[5],auth[_0x88fd[6]](),license[_0x88fd[7]](),auth[_0x88fd[9]]([17],[_0x88fd[8]]),controller[_0x88fd[10]]);router[_0x88fd[11]](_0x88fd[12],auth[_0x88fd[6]](),license[_0x88fd[7]](),auth[_0x88fd[9]]([17],[_0x88fd[8]]),controller[_0x88fd[13]]);router[_0x88fd[11]](_0x88fd[14],auth[_0x88fd[6]](),license[_0x88fd[7]](),auth[_0x88fd[9]]([1],[_0x88fd[8],_0x88fd[15]]),controller[_0x88fd[16]]);router[_0x88fd[11]](_0x88fd[17],auth[_0x88fd[6]](),license[_0x88fd[7]](),auth[_0x88fd[9]]([1],[_0x88fd[8],_0x88fd[15]]),controller[_0x88fd[18]]);router[_0x88fd[11]](_0x88fd[19],auth[_0x88fd[6]](),license[_0x88fd[7]](),auth[_0x88fd[9]]([1],[_0x88fd[8],_0x88fd[15]]),controller[_0x88fd[20]]);router[_0x88fd[11]](_0x88fd[21],auth[_0x88fd[6]](),license[_0x88fd[7]](),auth[_0x88fd[9]]([1],[_0x88fd[8],_0x88fd[15]]),controller[_0x88fd[22]]);router[_0x88fd[11]](_0x88fd[23],auth[_0x88fd[6]](),license[_0x88fd[7]](),auth[_0x88fd[9]]([1],[_0x88fd[8],_0x88fd[15]]),controller[_0x88fd[24]]);module[_0x88fd[25]]=router \ No newline at end of file diff --git a/server/api/report_chat_room/report_chat_room.controller.js b/server/api/report_chat_room/report_chat_room.controller.js index d93a854..1e5e332 100644 --- a/server/api/report_chat_room/report_chat_room.controller.js +++ b/server/api/report_chat_room/report_chat_room.controller.js @@ -1 +1 @@ -var _0x3c26=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x52\x6F\x6F\x6D\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x55\x73\x65\x72","\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x6C\x6F\x67","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x64","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x72\x6F\x77\x73","\x67\x65\x74\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x73\x65\x72","\x72\x6F\x6C\x65","\x6F\x70\x65\x6E","\x63\x61\x74\x63\x68","\x4F\x50\x45\x4E","\x6D\x65\x72\x67\x65","\x63\x6F\x75\x6E\x74","\x61\x6C\x6C","\x63\x6C\x6F\x73\x65\x64","\x43\x4C\x4F\x53\x45\x44","\x6E\x65\x77","\x4E\x45\x57","\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64","\x41\x42\x41\x4E\x44\x4F\x4E","\x69\x6E\x64\x65\x78","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x73\x63\x72\x69\x62\x65"];_0x3c26[0];var _=require(_0x3c26[1]);var Util=require(_0x3c26[2]);var ReportChatRoom=require(_0x3c26[4])[_0x3c26[3]];var ReportChatRoomHistory=require(_0x3c26[4])[_0x3c26[6]][_0x3c26[5]];var User=require(_0x3c26[4])[_0x3c26[7]];var ChatQueue=require(_0x3c26[4])[_0x3c26[8]];function handleError(_0xb2c4x8,_0xb2c4x9){_0xb2c4x9=_0xb2c4x9||500;return function(_0xb2c4xa){console[_0x3c26[9]](_0xb2c4xa);_0xb2c4x8[_0x3c26[11]](_0xb2c4x9)[_0x3c26[10]](_0xb2c4xa)}}function responseWithResult(_0xb2c4x8,_0xb2c4x9){_0xb2c4x9=_0xb2c4x9||200;return function(_0xb2c4xc){if(_0xb2c4xc){_0xb2c4x8[_0x3c26[11]](_0xb2c4x9)[_0x3c26[12]](_0xb2c4xc)}}}function responseWithoutResult(_0xb2c4x8,_0xb2c4x9){_0xb2c4x9=_0xb2c4x9||204;return function(){_0xb2c4x8[_0x3c26[13]](_0xb2c4x9)}}function handleEntityNotFound(_0xb2c4x8){return function(_0xb2c4xc){if(!_0xb2c4xc){_0xb2c4x8[_0x3c26[11]](404)[_0x3c26[14]]();return null};return _0xb2c4xc}}function saveUpdates(_0xb2c4x10){return function(_0xb2c4xc){return _0xb2c4xc[_0x3c26[16]](_0xb2c4x10)[_0x3c26[15]](function(_0xb2c4x11){return _0xb2c4x11})}}function removeEntity(_0xb2c4x8){return function(_0xb2c4xc){if(_0xb2c4xc){return _0xb2c4xc[_0x3c26[17]]()[_0x3c26[15]](function(){_0xb2c4x8[_0x3c26[11]](204)[_0x3c26[14]]()})}}}function getChatQueues(_0xb2c4x14){return function(){switch(_0xb2c4x14[_0x3c26[26]]){case _0x3c26[25]:return User[_0x3c26[24]](_0xb2c4x14[_0x3c26[18]],{attributes:[_0x3c26[18]]})[_0x3c26[15]](Util[_0x3c26[23]]({},{attributes:[_0x3c26[18]],include:[{raw:true,model:User,attributes:[_0x3c26[18]]}]}))[_0x3c26[15]](function(_0xb2c4x15){var _0xb2c4x16=[];_0xb2c4x15[_0x3c26[22]][_0x3c26[21]](function(_0xb2c4x17){_0xb2c4x16=_[_0x3c26[20]](_0xb2c4x16,_[_0x3c26[19]](_0xb2c4x17.Users,_0x3c26[18]))});return {where:{$or:{queueid:_[_0x3c26[19]](_0xb2c4x15[_0x3c26[22]],_0x3c26[18]),memberid:_0xb2c4x16}}}});default:return {}}}}exports[_0x3c26[27]]=function(_0xb2c4x18,_0xb2c4x8){return Promise[_0x3c26[32]]([])[_0x3c26[15]](getChatQueues(_0xb2c4x18[_0x3c26[25]]))[_0x3c26[15]](function(_0xb2c4x1a){return ReportChatRoom[_0x3c26[31]](_[_0x3c26[30]]({where:{status:_0x3c26[29]}},_0xb2c4x1a))})[_0x3c26[15]](function(_0xb2c4x19){return _0xb2c4x8[_0x3c26[11]](200)[_0x3c26[10]]({value:_0xb2c4x19})})[_0x3c26[28]](handleError(_0xb2c4x8))};exports[_0x3c26[33]]=function(_0xb2c4x18,_0xb2c4x8){return Promise[_0x3c26[32]]([])[_0x3c26[15]](getChatQueues(_0xb2c4x18[_0x3c26[25]]))[_0x3c26[15]](function(_0xb2c4x1a){return ReportChatRoom[_0x3c26[31]](_[_0x3c26[30]]({where:{status:_0x3c26[34]}},_0xb2c4x1a))})[_0x3c26[15]](function(_0xb2c4x19){return _0xb2c4x8[_0x3c26[11]](200)[_0x3c26[10]]({value:_0xb2c4x19})})[_0x3c26[28]](handleError(_0xb2c4x8))};exports[_0x3c26[35]]=function(_0xb2c4x18,_0xb2c4x8){return Promise[_0x3c26[32]]([])[_0x3c26[15]](getChatQueues(_0xb2c4x18[_0x3c26[25]]))[_0x3c26[15]](function(_0xb2c4x1a){return ReportChatRoom[_0x3c26[31]](_[_0x3c26[30]]({where:{status:_0x3c26[36]}},_0xb2c4x1a))})[_0x3c26[15]](function(_0xb2c4x19){return _0xb2c4x8[_0x3c26[11]](200)[_0x3c26[10]]({value:_0xb2c4x19})})[_0x3c26[28]](handleError(_0xb2c4x8))};exports[_0x3c26[37]]=function(_0xb2c4x18,_0xb2c4x8){return Promise[_0x3c26[32]]([])[_0x3c26[15]](getChatQueues(_0xb2c4x18[_0x3c26[25]]))[_0x3c26[15]](function(_0xb2c4x1a){return ReportChatRoom[_0x3c26[31]](_[_0x3c26[30]]({where:{status:_0x3c26[38]}},_0xb2c4x1a))})[_0x3c26[15]](function(_0xb2c4x19){return _0xb2c4x8[_0x3c26[11]](200)[_0x3c26[10]]({value:_0xb2c4x19})})[_0x3c26[28]](handleError(_0xb2c4x8))};exports[_0x3c26[39]]=function(_0xb2c4x18,_0xb2c4x8){return Promise[_0x3c26[32]]([])[_0x3c26[15]](getChatQueues(_0xb2c4x18[_0x3c26[25]]))[_0x3c26[15]](function(_0xb2c4x1a){return ReportChatRoom[_0x3c26[31]](_[_0x3c26[30]]({where:{status:_0x3c26[40]}},_0xb2c4x1a))})[_0x3c26[15]](function(_0xb2c4x19){return _0xb2c4x8[_0x3c26[11]](200)[_0x3c26[10]]({value:_0xb2c4x19})})[_0x3c26[28]](handleError(_0xb2c4x8))};exports[_0x3c26[41]]=function(_0xb2c4x18,_0xb2c4x8,_0xb2c4x1b){return ReportChatRoom[_0x3c26[44]](Util[_0x3c26[43]](_0xb2c4x18[_0x3c26[42]]))[_0x3c26[15]](function(_0xb2c4x1c){return _0xb2c4x8[_0x3c26[11]](200)[_0x3c26[10]](_0xb2c4x1c)})[_0x3c26[28]](handleError(_0xb2c4x8))};exports[_0x3c26[45]]=function(_0xb2c4x18,_0xb2c4x8){return ReportChatRoomHistory[_0x3c26[45]]()[_0x3c26[15]](responseWithResult(_0xb2c4x8))[_0x3c26[28]](handleError(_0xb2c4x8))} \ No newline at end of file +var _0x4731=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x52\x6F\x6F\x6D\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x55\x73\x65\x72","\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x6C\x6F\x67","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x64","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x72\x6F\x77\x73","\x67\x65\x74\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x73\x65\x72","\x72\x6F\x6C\x65","\x6F\x70\x65\x6E","\x63\x61\x74\x63\x68","\x4F\x50\x45\x4E","\x6D\x65\x72\x67\x65","\x63\x6F\x75\x6E\x74","\x61\x6C\x6C","\x63\x6C\x6F\x73\x65\x64","\x43\x4C\x4F\x53\x45\x44","\x6E\x65\x77","\x4E\x45\x57","\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64","\x41\x42\x41\x4E\x44\x4F\x4E","\x69\x6E\x64\x65\x78","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x73\x63\x72\x69\x62\x65"];_0x4731[0];var _=require(_0x4731[1]);var Util=require(_0x4731[2]);var ReportChatRoom=require(_0x4731[4])[_0x4731[3]];var ReportChatRoomHistory=require(_0x4731[4])[_0x4731[6]][_0x4731[5]];var User=require(_0x4731[4])[_0x4731[7]];var ChatQueue=require(_0x4731[4])[_0x4731[8]];function handleError(_0x25fex8,_0x25fex9){_0x25fex9=_0x25fex9||500;return function(_0x25fexa){console[_0x4731[9]](_0x25fexa);_0x25fex8[_0x4731[11]](_0x25fex9)[_0x4731[10]](_0x25fexa)}}function responseWithResult(_0x25fex8,_0x25fex9){_0x25fex9=_0x25fex9||200;return function(_0x25fexc){if(_0x25fexc){_0x25fex8[_0x4731[11]](_0x25fex9)[_0x4731[12]](_0x25fexc)}}}function responseWithoutResult(_0x25fex8,_0x25fex9){_0x25fex9=_0x25fex9||204;return function(){_0x25fex8[_0x4731[13]](_0x25fex9)}}function handleEntityNotFound(_0x25fex8){return function(_0x25fexc){if(!_0x25fexc){_0x25fex8[_0x4731[11]](404)[_0x4731[14]]();return null};return _0x25fexc}}function saveUpdates(_0x25fex10){return function(_0x25fexc){return _0x25fexc[_0x4731[16]](_0x25fex10)[_0x4731[15]](function(_0x25fex11){return _0x25fex11})}}function removeEntity(_0x25fex8){return function(_0x25fexc){if(_0x25fexc){return _0x25fexc[_0x4731[17]]()[_0x4731[15]](function(){_0x25fex8[_0x4731[11]](204)[_0x4731[14]]()})}}}function getChatQueues(_0x25fex14){return function(){switch(_0x25fex14[_0x4731[26]]){case _0x4731[25]:return User[_0x4731[24]](_0x25fex14[_0x4731[18]],{attributes:[_0x4731[18]]})[_0x4731[15]](Util[_0x4731[23]]({},{attributes:[_0x4731[18]],include:[{raw:true,model:User,attributes:[_0x4731[18]]}]}))[_0x4731[15]](function(_0x25fex15){var _0x25fex16=[];_0x25fex15[_0x4731[22]][_0x4731[21]](function(_0x25fex17){_0x25fex16=_[_0x4731[20]](_0x25fex16,_[_0x4731[19]](_0x25fex17.Users,_0x4731[18]))});return {where:{$or:{queueid:_[_0x4731[19]](_0x25fex15[_0x4731[22]],_0x4731[18]),memberid:_0x25fex16}}}});default:return {}}}}exports[_0x4731[27]]=function(_0x25fex18,_0x25fex8){return Promise[_0x4731[32]]([])[_0x4731[15]](getChatQueues(_0x25fex18[_0x4731[25]]))[_0x4731[15]](function(_0x25fex1a){return ReportChatRoom[_0x4731[31]](_[_0x4731[30]]({where:{status:_0x4731[29]}},_0x25fex1a))})[_0x4731[15]](function(_0x25fex19){return _0x25fex8[_0x4731[11]](200)[_0x4731[10]]({value:_0x25fex19})})[_0x4731[28]](handleError(_0x25fex8))};exports[_0x4731[33]]=function(_0x25fex18,_0x25fex8){return Promise[_0x4731[32]]([])[_0x4731[15]](getChatQueues(_0x25fex18[_0x4731[25]]))[_0x4731[15]](function(_0x25fex1a){return ReportChatRoom[_0x4731[31]](_[_0x4731[30]]({where:{status:_0x4731[34]}},_0x25fex1a))})[_0x4731[15]](function(_0x25fex19){return _0x25fex8[_0x4731[11]](200)[_0x4731[10]]({value:_0x25fex19})})[_0x4731[28]](handleError(_0x25fex8))};exports[_0x4731[35]]=function(_0x25fex18,_0x25fex8){return Promise[_0x4731[32]]([])[_0x4731[15]](getChatQueues(_0x25fex18[_0x4731[25]]))[_0x4731[15]](function(_0x25fex1a){return ReportChatRoom[_0x4731[31]](_[_0x4731[30]]({where:{status:_0x4731[36]}},_0x25fex1a))})[_0x4731[15]](function(_0x25fex19){return _0x25fex8[_0x4731[11]](200)[_0x4731[10]]({value:_0x25fex19})})[_0x4731[28]](handleError(_0x25fex8))};exports[_0x4731[37]]=function(_0x25fex18,_0x25fex8){return Promise[_0x4731[32]]([])[_0x4731[15]](getChatQueues(_0x25fex18[_0x4731[25]]))[_0x4731[15]](function(_0x25fex1a){return ReportChatRoom[_0x4731[31]](_[_0x4731[30]]({where:{status:_0x4731[38]}},_0x25fex1a))})[_0x4731[15]](function(_0x25fex19){return _0x25fex8[_0x4731[11]](200)[_0x4731[10]]({value:_0x25fex19})})[_0x4731[28]](handleError(_0x25fex8))};exports[_0x4731[39]]=function(_0x25fex18,_0x25fex8){return Promise[_0x4731[32]]([])[_0x4731[15]](getChatQueues(_0x25fex18[_0x4731[25]]))[_0x4731[15]](function(_0x25fex1a){return ReportChatRoom[_0x4731[31]](_[_0x4731[30]]({where:{status:_0x4731[40]}},_0x25fex1a))})[_0x4731[15]](function(_0x25fex19){return _0x25fex8[_0x4731[11]](200)[_0x4731[10]]({value:_0x25fex19})})[_0x4731[28]](handleError(_0x25fex8))};exports[_0x4731[41]]=function(_0x25fex18,_0x25fex8,_0x25fex1b){return ReportChatRoom[_0x4731[44]](Util[_0x4731[43]](_0x25fex18[_0x4731[42]]))[_0x4731[15]](function(_0x25fex1c){return _0x25fex8[_0x4731[11]](200)[_0x4731[10]](_0x25fex1c)})[_0x4731[28]](handleError(_0x25fex8))};exports[_0x4731[45]]=function(_0x25fex18,_0x25fex8){return ReportChatRoomHistory[_0x4731[45]]()[_0x4731[15]](responseWithResult(_0x25fex8))[_0x4731[28]](handleError(_0x25fex8))} \ No newline at end of file diff --git a/server/api/report_chat_room/report_chat_room.socket.js b/server/api/report_chat_room/report_chat_room.socket.js index 0e36711..6adadfc 100644 --- a/server/api/report_chat_room/report_chat_room.socket.js +++ b/server/api/report_chat_room/report_chat_room.socket.js @@ -1 +1 @@ -var _0xeb12=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x3A\x72\x65\x6D\x6F\x76\x65"];_0xeb12[0];var ReportChatRoom=require(_0xeb12[2])[_0xeb12[1]];exports[_0xeb12[3]]=function(_0x2705x2){ReportChatRoom[_0xeb12[4]](function(_0x2705x3){onSave(_0x2705x2,_0x2705x3)});ReportChatRoom[_0xeb12[5]](function(_0x2705x3){onRemove(_0x2705x2,_0x2705x3)})};function onSave(_0x2705x2,_0x2705x3,_0x2705x5){_0x2705x2[_0xeb12[7]](_0xeb12[6],_0x2705x3)}function onRemove(_0x2705x2,_0x2705x3,_0x2705x5){_0x2705x2[_0xeb12[7]](_0xeb12[8],_0x2705x3)} \ No newline at end of file +var _0x5523=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x3A\x72\x65\x6D\x6F\x76\x65"];_0x5523[0];var ReportChatRoom=require(_0x5523[2])[_0x5523[1]];exports[_0x5523[3]]=function(_0x61c9x2){ReportChatRoom[_0x5523[4]](function(_0x61c9x3){onSave(_0x61c9x2,_0x61c9x3)});ReportChatRoom[_0x5523[5]](function(_0x61c9x3){onRemove(_0x61c9x2,_0x61c9x3)})};function onSave(_0x61c9x2,_0x61c9x3,_0x61c9x5){_0x61c9x2[_0x5523[7]](_0x5523[6],_0x61c9x3)}function onRemove(_0x61c9x2,_0x61c9x3,_0x61c9x5){_0x61c9x2[_0x5523[7]](_0x5523[8],_0x61c9x3)} \ No newline at end of file diff --git a/server/api/report_chat_session/index.js b/server/api/report_chat_session/index.js index 69991d9..a5094e1 100644 --- a/server/api/report_chat_session/index.js +++ b/server/api/report_chat_session/index.js @@ -1 +1 @@ -var _0x9a02=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x73\x65\x73\x73\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x68\x61\x73\x43\x68\x61\x74","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x2F\x77\x61\x69\x74\x69\x6E\x67\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x61\x67\x65\x6E\x74","\x77\x61\x69\x74\x69\x6E\x67\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x65\x78\x70\x6F\x72\x74\x73"];_0x9a02[0];var express=require(_0x9a02[1]);var controller=require(_0x9a02[2]);var auth=require(_0x9a02[3]);var license=require(_0x9a02[4]);var router=express.Router();router[_0x9a02[11]](_0x9a02[5],auth[_0x9a02[6]](),license[_0x9a02[7]](),auth[_0x9a02[9]]([17],[_0x9a02[8]]),controller[_0x9a02[10]]);router[_0x9a02[11]](_0x9a02[12],auth[_0x9a02[6]](),license[_0x9a02[7]](),auth[_0x9a02[9]]([17],[_0x9a02[8]]),controller[_0x9a02[13]]);router[_0x9a02[11]](_0x9a02[14],auth[_0x9a02[6]](),license[_0x9a02[7]](),auth[_0x9a02[9]]([8],[_0x9a02[8],_0x9a02[15]]),controller[_0x9a02[16]]);module[_0x9a02[17]]=router \ No newline at end of file +var _0x34df=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x73\x65\x73\x73\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x68\x61\x73\x43\x68\x61\x74","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x2F\x77\x61\x69\x74\x69\x6E\x67\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x61\x67\x65\x6E\x74","\x77\x61\x69\x74\x69\x6E\x67\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x65\x78\x70\x6F\x72\x74\x73"];_0x34df[0];var express=require(_0x34df[1]);var controller=require(_0x34df[2]);var auth=require(_0x34df[3]);var license=require(_0x34df[4]);var router=express.Router();router[_0x34df[11]](_0x34df[5],auth[_0x34df[6]](),license[_0x34df[7]](),auth[_0x34df[9]]([17],[_0x34df[8]]),controller[_0x34df[10]]);router[_0x34df[11]](_0x34df[12],auth[_0x34df[6]](),license[_0x34df[7]](),auth[_0x34df[9]]([17],[_0x34df[8]]),controller[_0x34df[13]]);router[_0x34df[11]](_0x34df[14],auth[_0x34df[6]](),license[_0x34df[7]](),auth[_0x34df[9]]([8],[_0x34df[8],_0x34df[15]]),controller[_0x34df[16]]);module[_0x34df[17]]=router \ No newline at end of file diff --git a/server/api/report_chat_session/report_chat_session.controller.js b/server/api/report_chat_session/report_chat_session.controller.js index c5f1221..7c7b0f1 100644 --- a/server/api/report_chat_session/report_chat_session.controller.js +++ b/server/api/report_chat_session/report_chat_session.controller.js @@ -1 +1 @@ -var _0xdf2f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x53\x65\x73\x73\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x53\x65\x73\x73\x69\x6F\x6E\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x62\x6C\x75\x65\x62\x69\x72\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x73\x63\x72\x69\x62\x65","\x69\x64","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x72\x6F\x77\x73","\x67\x65\x74\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x73\x65\x72","\x67\x65\x74\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65","\x77\x61\x69\x74\x69\x6E\x67\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x6C\x6F\x67","\x6D\x65\x72\x67\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x61\x6C\x6C"];_0xdf2f[0];var _=require(_0xdf2f[1]);var ReportChatSession=require(_0xdf2f[3])[_0xdf2f[2]];var User=require(_0xdf2f[3])[_0xdf2f[4]];var ReportChatSessionHistory=require(_0xdf2f[3])[_0xdf2f[6]][_0xdf2f[5]];var Promise=require(_0xdf2f[7]);var Util=require(_0xdf2f[8]);exports[_0xdf2f[9]]=function(_0x2d75x7,_0x2d75x8,_0x2d75x9){return ReportChatSession[_0xdf2f[16]](Util[_0xdf2f[15]](_0x2d75x7[_0xdf2f[14]]))[_0xdf2f[13]](function(_0x2d75xb){_0x2d75x8[_0xdf2f[12]](200)[_0xdf2f[11]](_0x2d75xb)})[_0xdf2f[10]](function(_0x2d75xa){return handleError(_0x2d75x8,_0x2d75xa)})};exports[_0xdf2f[17]]=function(_0x2d75x7,_0x2d75x8){return ReportChatSessionHistory[_0xdf2f[17]]()[_0xdf2f[13]](function(_0x2d75xc){return _0x2d75x8[_0xdf2f[12]](200)[_0xdf2f[11]](_0x2d75xc)})[_0xdf2f[10]](function(_0x2d75xa){return handleError(_0x2d75x8,_0x2d75xa)})};function getChatQueues(_0x2d75xe){return function(){switch(_0x2d75xe[_0xdf2f[28]]){case _0xdf2f[25]:return User[_0xdf2f[24]](_0x2d75xe[_0xdf2f[18]],{attributes:[_0xdf2f[18]]})[_0xdf2f[13]](Util[_0xdf2f[23]]({},{attributes:[_0xdf2f[18]],include:[{raw:true,model:User,attributes:[_0xdf2f[18]]}]}))[_0xdf2f[13]](function(_0x2d75xf){var _0x2d75x10=[];_0x2d75xf[_0xdf2f[22]][_0xdf2f[21]](function(_0x2d75x11){_0x2d75x10=_[_0xdf2f[20]](_0x2d75x10,_[_0xdf2f[19]](_0x2d75x11.Users,_0xdf2f[18]))});return {$or:{queueid:_[_0xdf2f[19]](_0x2d75xf[_0xdf2f[22]],_0xdf2f[18]),memberid:_0x2d75x10}}});case _0xdf2f[27]:return User[_0xdf2f[24]](_0x2d75xe[_0xdf2f[18]],{attributes:[_0xdf2f[18]]})[_0xdf2f[13]](function(_0x2d75x12){return _0x2d75x12[_0xdf2f[26]]({attributes:[_0xdf2f[18]]})})[_0xdf2f[13]](function(_0x2d75xf){return {$or:{queueid:_[_0xdf2f[19]](_0x2d75xf,_0xdf2f[18]),memberid:_0x2d75xe[_0xdf2f[18]]}}});default:return {}}}}exports[_0xdf2f[29]]=function(_0x2d75x7,_0x2d75x8){return Promise[_0xdf2f[33]]([])[_0xdf2f[13]](getChatQueues(_0x2d75x7[_0xdf2f[25]]))[_0xdf2f[13]](function(_0x2d75x14){return ReportChatSession[_0xdf2f[32]](Util[_0xdf2f[15]](_0x2d75x7[_0xdf2f[14]],_[_0xdf2f[31]]({leaveAt:null},_0x2d75x14)))})[_0xdf2f[13]](function(_0x2d75x13){return _0x2d75x8[_0xdf2f[12]](200)[_0xdf2f[11]]({rows:_0x2d75x13})})[_0xdf2f[10]](function(_0x2d75xa){console[_0xdf2f[30]](_0x2d75xa);return handleError(_0x2d75x8,_0x2d75xa)})};function handleError(_0x2d75x8,_0x2d75xa){return _0x2d75x8[_0xdf2f[12]](500)[_0xdf2f[11]](_0x2d75xa)} \ No newline at end of file +var _0x1b7d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x53\x65\x73\x73\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x53\x65\x73\x73\x69\x6F\x6E\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x62\x6C\x75\x65\x62\x69\x72\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x73\x63\x72\x69\x62\x65","\x69\x64","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x72\x6F\x77\x73","\x67\x65\x74\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x73\x65\x72","\x67\x65\x74\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65","\x77\x61\x69\x74\x69\x6E\x67\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x6C\x6F\x67","\x6D\x65\x72\x67\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x61\x6C\x6C"];_0x1b7d[0];var _=require(_0x1b7d[1]);var ReportChatSession=require(_0x1b7d[3])[_0x1b7d[2]];var User=require(_0x1b7d[3])[_0x1b7d[4]];var ReportChatSessionHistory=require(_0x1b7d[3])[_0x1b7d[6]][_0x1b7d[5]];var Promise=require(_0x1b7d[7]);var Util=require(_0x1b7d[8]);exports[_0x1b7d[9]]=function(_0xb5e1x7,_0xb5e1x8,_0xb5e1x9){return ReportChatSession[_0x1b7d[16]](Util[_0x1b7d[15]](_0xb5e1x7[_0x1b7d[14]]))[_0x1b7d[13]](function(_0xb5e1xb){_0xb5e1x8[_0x1b7d[12]](200)[_0x1b7d[11]](_0xb5e1xb)})[_0x1b7d[10]](function(_0xb5e1xa){return handleError(_0xb5e1x8,_0xb5e1xa)})};exports[_0x1b7d[17]]=function(_0xb5e1x7,_0xb5e1x8){return ReportChatSessionHistory[_0x1b7d[17]]()[_0x1b7d[13]](function(_0xb5e1xc){return _0xb5e1x8[_0x1b7d[12]](200)[_0x1b7d[11]](_0xb5e1xc)})[_0x1b7d[10]](function(_0xb5e1xa){return handleError(_0xb5e1x8,_0xb5e1xa)})};function getChatQueues(_0xb5e1xe){return function(){switch(_0xb5e1xe[_0x1b7d[28]]){case _0x1b7d[25]:return User[_0x1b7d[24]](_0xb5e1xe[_0x1b7d[18]],{attributes:[_0x1b7d[18]]})[_0x1b7d[13]](Util[_0x1b7d[23]]({},{attributes:[_0x1b7d[18]],include:[{raw:true,model:User,attributes:[_0x1b7d[18]]}]}))[_0x1b7d[13]](function(_0xb5e1xf){var _0xb5e1x10=[];_0xb5e1xf[_0x1b7d[22]][_0x1b7d[21]](function(_0xb5e1x11){_0xb5e1x10=_[_0x1b7d[20]](_0xb5e1x10,_[_0x1b7d[19]](_0xb5e1x11.Users,_0x1b7d[18]))});return {$or:{queueid:_[_0x1b7d[19]](_0xb5e1xf[_0x1b7d[22]],_0x1b7d[18]),memberid:_0xb5e1x10}}});case _0x1b7d[27]:return User[_0x1b7d[24]](_0xb5e1xe[_0x1b7d[18]],{attributes:[_0x1b7d[18]]})[_0x1b7d[13]](function(_0xb5e1x12){return _0xb5e1x12[_0x1b7d[26]]({attributes:[_0x1b7d[18]]})})[_0x1b7d[13]](function(_0xb5e1xf){return {$or:{queueid:_[_0x1b7d[19]](_0xb5e1xf,_0x1b7d[18]),memberid:_0xb5e1xe[_0x1b7d[18]]}}});default:return {}}}}exports[_0x1b7d[29]]=function(_0xb5e1x7,_0xb5e1x8){return Promise[_0x1b7d[33]]([])[_0x1b7d[13]](getChatQueues(_0xb5e1x7[_0x1b7d[25]]))[_0x1b7d[13]](function(_0xb5e1x14){return ReportChatSession[_0x1b7d[32]](Util[_0x1b7d[15]](_0xb5e1x7[_0x1b7d[14]],_[_0x1b7d[31]]({leaveAt:null},_0xb5e1x14)))})[_0x1b7d[13]](function(_0xb5e1x13){return _0xb5e1x8[_0x1b7d[12]](200)[_0x1b7d[11]]({rows:_0xb5e1x13})})[_0x1b7d[10]](function(_0xb5e1xa){console[_0x1b7d[30]](_0xb5e1xa);return handleError(_0xb5e1x8,_0xb5e1xa)})};function handleError(_0xb5e1x8,_0xb5e1xa){return _0xb5e1x8[_0x1b7d[12]](500)[_0x1b7d[11]](_0xb5e1xa)} \ No newline at end of file diff --git a/server/api/report_chat_session/report_chat_session.socket.js b/server/api/report_chat_session/report_chat_session.socket.js index 8b7021f..09e21cf 100644 --- a/server/api/report_chat_session/report_chat_session.socket.js +++ b/server/api/report_chat_session/report_chat_session.socket.js @@ -1 +1 @@ -var _0x5313=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x53\x65\x73\x73\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x6C\x6F\x64\x61\x73\x68","\x62\x6C\x75\x65\x62\x69\x72\x64","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x69\x64","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x72\x6F\x77\x73","\x74\x68\x65\x6E","\x67\x65\x74\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x75\x73\x65\x72\x49\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x73\x65\x72","\x67\x65\x74\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65","\x45\x72\x72\x6F\x72\x20\x66\x69\x6C\x74\x65\x72\x69\x6E\x67\x20\x72\x65\x70\x6F\x72\x74\x20\x63\x68\x61\x74\x20\x73\x65\x73\x73\x69\x6F\x6E\x73\x20\x61\x66\x74\x65\x72\x20\x73\x61\x76\x65","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x61\x64\x6D\x69\x6E","\x6D\x65\x6D\x62\x65\x72\x69\x64","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x71\x75\x65\x75\x65\x69\x64","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x73\x65\x73\x73\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x61\x6C\x6C","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x73\x65\x73\x73\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x5313[0];var ReportChatSession=require(_0x5313[2])[_0x5313[1]];var User=require(_0x5313[2])[_0x5313[3]];var Util=require(_0x5313[4]);var _=require(_0x5313[5]);var Promise=require(_0x5313[6]);exports[_0x5313[7]]=function(_0x6ae7x6){ReportChatSession[_0x5313[8]](function(_0x6ae7x7){onSave(_0x6ae7x6,_0x6ae7x7)});ReportChatSession[_0x5313[9]](function(_0x6ae7x7){onSave(_0x6ae7x6,_0x6ae7x7)});ReportChatSession[_0x5313[10]](function(_0x6ae7x7){onRemove(_0x6ae7x6,_0x6ae7x7)})};function getChatQueues(_0x6ae7x9){return function(){switch(_0x6ae7x9[_0x5313[23]]){case _0x5313[20]:return User[_0x5313[19]](_0x6ae7x9[_0x5313[18]],{attributes:[_0x5313[11]]})[_0x5313[16]](Util[_0x5313[17]]({},{attributes:[_0x5313[11]],include:[{raw:true,model:User,attributes:[_0x5313[11]]}]}))[_0x5313[16]](function(_0x6ae7xa){var _0x6ae7xb=[];_0x6ae7xa[_0x5313[15]][_0x5313[14]](function(_0x6ae7xc){_0x6ae7xb=_[_0x5313[13]](_0x6ae7xb,_[_0x5313[12]](_0x6ae7xc.Users,_0x5313[11]))});return {queueid:_[_0x5313[12]](_0x6ae7xa[_0x5313[15]],_0x5313[11]),memberid:_0x6ae7xb}});case _0x5313[22]:return User[_0x5313[19]](_0x6ae7x9[_0x5313[18]],{attributes:[_0x5313[11]]})[_0x5313[16]](function(_0x6ae7xd){return _0x6ae7xd[_0x5313[21]]({attributes:[_0x5313[11]]})})[_0x5313[16]](function(_0x6ae7xa){return {queueid:_[_0x5313[12]](_0x6ae7xa,_0x5313[11]),memberid:_0x6ae7x9[_0x5313[18]]}});default:return {}}}}function onSave(_0x6ae7x6,_0x6ae7x7,_0x6ae7xf){return Promise[_0x5313[33]]([])[_0x5313[16]](getChatQueues(_0x6ae7x6))[_0x5313[16]](function(_0x6ae7x11){if(_0x6ae7x6[_0x5313[23]]===_0x5313[27]||_[_0x5313[29]](_0x6ae7x11[_0x5313[28]],_0x6ae7x7[_0x5313[28]])||_[_0x5313[29]](_0x6ae7x11[_0x5313[30]],_0x6ae7x7[_0x5313[30]])){_0x6ae7x6[_0x5313[32]](_0x5313[31],_0x6ae7x7)}})[_0x5313[26]](function(_0x6ae7x10){console[_0x5313[25]](_0x5313[24],_0x6ae7x10)})}function onRemove(_0x6ae7x6,_0x6ae7x7,_0x6ae7xf){_0x6ae7x6[_0x5313[32]](_0x5313[34],_0x6ae7x7)} \ No newline at end of file +var _0x8931=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x53\x65\x73\x73\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x6C\x6F\x64\x61\x73\x68","\x62\x6C\x75\x65\x62\x69\x72\x64","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x69\x64","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x72\x6F\x77\x73","\x74\x68\x65\x6E","\x67\x65\x74\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x75\x73\x65\x72\x49\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x73\x65\x72","\x67\x65\x74\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65","\x45\x72\x72\x6F\x72\x20\x66\x69\x6C\x74\x65\x72\x69\x6E\x67\x20\x72\x65\x70\x6F\x72\x74\x20\x63\x68\x61\x74\x20\x73\x65\x73\x73\x69\x6F\x6E\x73\x20\x61\x66\x74\x65\x72\x20\x73\x61\x76\x65","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x61\x64\x6D\x69\x6E","\x6D\x65\x6D\x62\x65\x72\x69\x64","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x71\x75\x65\x75\x65\x69\x64","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x73\x65\x73\x73\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x61\x6C\x6C","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x73\x65\x73\x73\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x8931[0];var ReportChatSession=require(_0x8931[2])[_0x8931[1]];var User=require(_0x8931[2])[_0x8931[3]];var Util=require(_0x8931[4]);var _=require(_0x8931[5]);var Promise=require(_0x8931[6]);exports[_0x8931[7]]=function(_0x856ex6){ReportChatSession[_0x8931[8]](function(_0x856ex7){onSave(_0x856ex6,_0x856ex7)});ReportChatSession[_0x8931[9]](function(_0x856ex7){onSave(_0x856ex6,_0x856ex7)});ReportChatSession[_0x8931[10]](function(_0x856ex7){onRemove(_0x856ex6,_0x856ex7)})};function getChatQueues(_0x856ex9){return function(){switch(_0x856ex9[_0x8931[23]]){case _0x8931[20]:return User[_0x8931[19]](_0x856ex9[_0x8931[18]],{attributes:[_0x8931[11]]})[_0x8931[16]](Util[_0x8931[17]]({},{attributes:[_0x8931[11]],include:[{raw:true,model:User,attributes:[_0x8931[11]]}]}))[_0x8931[16]](function(_0x856exa){var _0x856exb=[];_0x856exa[_0x8931[15]][_0x8931[14]](function(_0x856exc){_0x856exb=_[_0x8931[13]](_0x856exb,_[_0x8931[12]](_0x856exc.Users,_0x8931[11]))});return {queueid:_[_0x8931[12]](_0x856exa[_0x8931[15]],_0x8931[11]),memberid:_0x856exb}});case _0x8931[22]:return User[_0x8931[19]](_0x856ex9[_0x8931[18]],{attributes:[_0x8931[11]]})[_0x8931[16]](function(_0x856exd){return _0x856exd[_0x8931[21]]({attributes:[_0x8931[11]]})})[_0x8931[16]](function(_0x856exa){return {queueid:_[_0x8931[12]](_0x856exa,_0x8931[11]),memberid:_0x856ex9[_0x8931[18]]}});default:return {}}}}function onSave(_0x856ex6,_0x856ex7,_0x856exf){return Promise[_0x8931[33]]([])[_0x8931[16]](getChatQueues(_0x856ex6))[_0x8931[16]](function(_0x856ex11){if(_0x856ex6[_0x8931[23]]===_0x8931[27]||_[_0x8931[29]](_0x856ex11[_0x8931[28]],_0x856ex7[_0x8931[28]])||_[_0x8931[29]](_0x856ex11[_0x8931[30]],_0x856ex7[_0x8931[30]])){_0x856ex6[_0x8931[32]](_0x8931[31],_0x856ex7)}})[_0x8931[26]](function(_0x856ex10){console[_0x8931[25]](_0x8931[24],_0x856ex10)})}function onRemove(_0x856ex6,_0x856ex7,_0x856exf){_0x856ex6[_0x8931[32]](_0x8931[34],_0x856ex7)} \ No newline at end of file diff --git a/server/api/report_fax/index.js b/server/api/report_fax/index.js index 54dce99..f844fe4 100644 --- a/server/api/report_fax/index.js +++ b/server/api/report_fax/index.js @@ -1 +1 @@ -var _0xe802=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x68\x61\x73\x46\x61\x78","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64\x2F\x61\x63\x63\x65\x70\x74\x2F\x3A\x75\x6E\x69\x71\x75\x65\x69\x64","\x61\x67\x65\x6E\x74","\x68\x61\x73\x52\x6F\x6C\x65","\x61\x63\x63\x65\x70\x74","\x2F\x3A\x69\x64\x2F\x72\x65\x6A\x65\x63\x74","\x72\x65\x6A\x65\x63\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0xe802[0];var express=require(_0xe802[1]);var controller=require(_0xe802[2]);var auth=require(_0xe802[3]);var license=require(_0xe802[4]);var router=express.Router();router[_0xe802[11]](_0xe802[5],auth[_0xe802[6]](),license[_0xe802[7]](),auth[_0xe802[9]]([17],[_0xe802[8]]),controller[_0xe802[10]]);router[_0xe802[11]](_0xe802[12],auth[_0xe802[6]](),license[_0xe802[7]](),auth[_0xe802[14]](_0xe802[13]),controller[_0xe802[15]]);router[_0xe802[11]](_0xe802[16],auth[_0xe802[6]](),license[_0xe802[7]](),auth[_0xe802[14]](_0xe802[13]),controller[_0xe802[17]]);module[_0xe802[18]]=router \ No newline at end of file +var _0x4ff4=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x68\x61\x73\x46\x61\x78","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64\x2F\x61\x63\x63\x65\x70\x74\x2F\x3A\x75\x6E\x69\x71\x75\x65\x69\x64","\x61\x67\x65\x6E\x74","\x68\x61\x73\x52\x6F\x6C\x65","\x61\x63\x63\x65\x70\x74","\x2F\x3A\x69\x64\x2F\x72\x65\x6A\x65\x63\x74","\x72\x65\x6A\x65\x63\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x4ff4[0];var express=require(_0x4ff4[1]);var controller=require(_0x4ff4[2]);var auth=require(_0x4ff4[3]);var license=require(_0x4ff4[4]);var router=express.Router();router[_0x4ff4[11]](_0x4ff4[5],auth[_0x4ff4[6]](),license[_0x4ff4[7]](),auth[_0x4ff4[9]]([17],[_0x4ff4[8]]),controller[_0x4ff4[10]]);router[_0x4ff4[11]](_0x4ff4[12],auth[_0x4ff4[6]](),license[_0x4ff4[7]](),auth[_0x4ff4[14]](_0x4ff4[13]),controller[_0x4ff4[15]]);router[_0x4ff4[11]](_0x4ff4[16],auth[_0x4ff4[6]](),license[_0x4ff4[7]](),auth[_0x4ff4[14]](_0x4ff4[13]),controller[_0x4ff4[17]]);module[_0x4ff4[18]]=router \ No newline at end of file diff --git a/server/api/report_fax/report_fax.controller.js b/server/api/report_fax/report_fax.controller.js index 2056924..119a7bb 100644 --- a/server/api/report_fax/report_fax.controller.js +++ b/server/api/report_fax/report_fax.controller.js @@ -1 +1 @@ -var _0x2eab=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x6F\x6D\x65\x6E\x74","\x52\x65\x70\x6F\x72\x74\x46\x61\x78","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x61\x63\x63\x65\x70\x74","\x2E","\x73\x70\x6C\x69\x74","\x75\x6E\x69\x71\x75\x65\x69\x64","\x70\x61\x72\x61\x6D\x73","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x69\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x43\x4C\x4F\x53\x45\x44","\x67\x65\x74\x46\x61\x78\x52\x6F\x6F\x6D\x73","\x75\x73\x65\x72","\x66\x61\x78\x43\x61\x70\x61\x63\x69\x74\x79","\x72\x65\x6A\x65\x63\x74","\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"];_0x2eab[0];var _=require(_0x2eab[1]);var moment=require(_0x2eab[2]);var ReportFax=require(_0x2eab[4])[_0x2eab[3]];var sequelize=require(_0x2eab[4])[_0x2eab[5]];var Agent=require(_0x2eab[4])[_0x2eab[6]];var Util=require(_0x2eab[7]);exports[_0x2eab[8]]=function(_0x6754x7,_0x6754x8,_0x6754x9){return ReportFax[_0x2eab[15]](Util[_0x2eab[14]](_0x6754x7[_0x2eab[13]]))[_0x2eab[12]](function(_0x6754xb){_0x6754x8[_0x2eab[11]](200)[_0x2eab[10]](_0x6754xb)})[_0x2eab[9]](function(_0x6754xa){return handleError(_0x6754x8,_0x6754xa)})};exports[_0x2eab[16]]=function(_0x6754x7,_0x6754x8){var _0x6754xc;var _0x6754xd=_0x6754x7[_0x2eab[20]][_0x2eab[19]][_0x2eab[18]](_0x2eab[17])[1];return Agent[_0x2eab[25]](_0x6754x7[_0x2eab[28]][_0x2eab[24]],{attributes:[_0x2eab[24],_0x2eab[29]]})[_0x2eab[12]](function(_0x6754x11){_0x6754xc=_0x6754x11;return _0x6754x11[_0x2eab[27]]({where:{status:{$ne:_0x2eab[26]},id:{$ne:_0x6754xd}},attributes:[_0x2eab[24]]})})[_0x2eab[12]](function(_0x6754x10){return ReportFax[_0x2eab[25]](_0x6754x7[_0x2eab[20]][_0x2eab[24]])})[_0x2eab[12]](function(_0x6754xe){if(!_0x6754xe){return _0x6754x8[_0x2eab[21]](404)};var _0x6754xf=_[_0x2eab[22]](_0x6754xe,{connectid:_0x6754x7[_0x2eab[20]][_0x2eab[19]]});return _0x6754xf[_0x2eab[23]]()})[_0x2eab[12]](function(){return _0x6754x8[_0x2eab[21]](200)})[_0x2eab[9]](sequelize.UniqueConstraintError,function(_0x6754xa){return _0x6754x8[_0x2eab[21]](504)})[_0x2eab[9]](function(_0x6754xa){return handleError(_0x6754x8,_0x6754xa)})};exports[_0x2eab[30]]=function(_0x6754x7,_0x6754x8){return ReportFax[_0x2eab[25]](_0x6754x7[_0x2eab[20]][_0x2eab[24]])[_0x2eab[12]](function(_0x6754xe){if(!_0x6754xe){return _0x6754x8[_0x2eab[21]](404)};var _0x6754xf=_[_0x2eab[22]](_0x6754xe,{rejectedAt:moment()[_0x2eab[32]](_0x2eab[31])});return _0x6754xf[_0x2eab[23]]()})[_0x2eab[12]](function(){return _0x6754x8[_0x2eab[21]](200)})[_0x2eab[9]](function(_0x6754xa){return handleError(_0x6754x8,_0x6754xa)})};function handleError(_0x6754x8,_0x6754xa){return _0x6754x8[_0x2eab[11]](500)[_0x2eab[10]](_0x6754xa)} \ No newline at end of file +var _0xd2f6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x6F\x6D\x65\x6E\x74","\x52\x65\x70\x6F\x72\x74\x46\x61\x78","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x61\x63\x63\x65\x70\x74","\x2E","\x73\x70\x6C\x69\x74","\x75\x6E\x69\x71\x75\x65\x69\x64","\x70\x61\x72\x61\x6D\x73","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x69\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x43\x4C\x4F\x53\x45\x44","\x67\x65\x74\x46\x61\x78\x52\x6F\x6F\x6D\x73","\x75\x73\x65\x72","\x66\x61\x78\x43\x61\x70\x61\x63\x69\x74\x79","\x72\x65\x6A\x65\x63\x74","\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"];_0xd2f6[0];var _=require(_0xd2f6[1]);var moment=require(_0xd2f6[2]);var ReportFax=require(_0xd2f6[4])[_0xd2f6[3]];var sequelize=require(_0xd2f6[4])[_0xd2f6[5]];var Agent=require(_0xd2f6[4])[_0xd2f6[6]];var Util=require(_0xd2f6[7]);exports[_0xd2f6[8]]=function(_0x7333x7,_0x7333x8,_0x7333x9){return ReportFax[_0xd2f6[15]](Util[_0xd2f6[14]](_0x7333x7[_0xd2f6[13]]))[_0xd2f6[12]](function(_0x7333xb){_0x7333x8[_0xd2f6[11]](200)[_0xd2f6[10]](_0x7333xb)})[_0xd2f6[9]](function(_0x7333xa){return handleError(_0x7333x8,_0x7333xa)})};exports[_0xd2f6[16]]=function(_0x7333x7,_0x7333x8){var _0x7333xc;var _0x7333xd=_0x7333x7[_0xd2f6[20]][_0xd2f6[19]][_0xd2f6[18]](_0xd2f6[17])[1];return Agent[_0xd2f6[25]](_0x7333x7[_0xd2f6[28]][_0xd2f6[24]],{attributes:[_0xd2f6[24],_0xd2f6[29]]})[_0xd2f6[12]](function(_0x7333x11){_0x7333xc=_0x7333x11;return _0x7333x11[_0xd2f6[27]]({where:{status:{$ne:_0xd2f6[26]},id:{$ne:_0x7333xd}},attributes:[_0xd2f6[24]]})})[_0xd2f6[12]](function(_0x7333x10){return ReportFax[_0xd2f6[25]](_0x7333x7[_0xd2f6[20]][_0xd2f6[24]])})[_0xd2f6[12]](function(_0x7333xe){if(!_0x7333xe){return _0x7333x8[_0xd2f6[21]](404)};var _0x7333xf=_[_0xd2f6[22]](_0x7333xe,{connectid:_0x7333x7[_0xd2f6[20]][_0xd2f6[19]]});return _0x7333xf[_0xd2f6[23]]()})[_0xd2f6[12]](function(){return _0x7333x8[_0xd2f6[21]](200)})[_0xd2f6[9]](sequelize.UniqueConstraintError,function(_0x7333xa){return _0x7333x8[_0xd2f6[21]](504)})[_0xd2f6[9]](function(_0x7333xa){return handleError(_0x7333x8,_0x7333xa)})};exports[_0xd2f6[30]]=function(_0x7333x7,_0x7333x8){return ReportFax[_0xd2f6[25]](_0x7333x7[_0xd2f6[20]][_0xd2f6[24]])[_0xd2f6[12]](function(_0x7333xe){if(!_0x7333xe){return _0x7333x8[_0xd2f6[21]](404)};var _0x7333xf=_[_0xd2f6[22]](_0x7333xe,{rejectedAt:moment()[_0xd2f6[32]](_0xd2f6[31])});return _0x7333xf[_0xd2f6[23]]()})[_0xd2f6[12]](function(){return _0x7333x8[_0xd2f6[21]](200)})[_0xd2f6[9]](function(_0x7333xa){return handleError(_0x7333x8,_0x7333xa)})};function handleError(_0x7333x8,_0x7333xa){return _0x7333x8[_0xd2f6[11]](500)[_0xd2f6[10]](_0x7333xa)} \ No newline at end of file diff --git a/server/api/report_fax/report_fax.socket.js b/server/api/report_fax/report_fax.socket.js index e0925da..0a5fc21 100644 --- a/server/api/report_fax/report_fax.socket.js +++ b/server/api/report_fax/report_fax.socket.js @@ -1 +1 @@ -var _0x1a06=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x46\x61\x78","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6E\x61\x6D\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x72\x6F\x6C\x65","\x61\x64\x6D\x69\x6E","\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x3A\x75\x70\x64\x61\x74\x65","\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x3A\x72\x65\x6D\x6F\x76\x65"];_0x1a06[0];var ReportFax=require(_0x1a06[2])[_0x1a06[1]];exports[_0x1a06[3]]=function(_0xac76x2){ReportFax[_0x1a06[4]](function(_0xac76x3){onSave(_0xac76x2,_0xac76x3)});ReportFax[_0x1a06[5]](function(_0xac76x3){onSave(_0xac76x2,_0xac76x3)});ReportFax[_0x1a06[6]](function(_0xac76x3){onRemove(_0xac76x2,_0xac76x3)})};function onSave(_0xac76x2,_0xac76x3,_0xac76x5){if(_0xac76x2[_0x1a06[7]]===_0xac76x3[_0x1a06[8]]||_0xac76x2[_0x1a06[9]]===_0x1a06[10]){_0xac76x2[_0x1a06[12]](_0x1a06[11],_0xac76x3)}}function onUpdate(_0xac76x2,_0xac76x3,_0xac76x5){if(_0xac76x2[_0x1a06[7]]===_0xac76x3[_0x1a06[8]]||_0xac76x2[_0x1a06[9]]===_0x1a06[10]){_0xac76x2[_0x1a06[12]](_0x1a06[13],_0xac76x3)}}function onRemove(_0xac76x2,_0xac76x3,_0xac76x5){_0xac76x2[_0x1a06[12]](_0x1a06[14],_0xac76x3)} \ No newline at end of file +var _0x90be=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x46\x61\x78","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6E\x61\x6D\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x72\x6F\x6C\x65","\x61\x64\x6D\x69\x6E","\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x3A\x75\x70\x64\x61\x74\x65","\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x3A\x72\x65\x6D\x6F\x76\x65"];_0x90be[0];var ReportFax=require(_0x90be[2])[_0x90be[1]];exports[_0x90be[3]]=function(_0x26f3x2){ReportFax[_0x90be[4]](function(_0x26f3x3){onSave(_0x26f3x2,_0x26f3x3)});ReportFax[_0x90be[5]](function(_0x26f3x3){onSave(_0x26f3x2,_0x26f3x3)});ReportFax[_0x90be[6]](function(_0x26f3x3){onRemove(_0x26f3x2,_0x26f3x3)})};function onSave(_0x26f3x2,_0x26f3x3,_0x26f3x5){if(_0x26f3x2[_0x90be[7]]===_0x26f3x3[_0x90be[8]]||_0x26f3x2[_0x90be[9]]===_0x90be[10]){_0x26f3x2[_0x90be[12]](_0x90be[11],_0x26f3x3)}}function onUpdate(_0x26f3x2,_0x26f3x3,_0x26f3x5){if(_0x26f3x2[_0x90be[7]]===_0x26f3x3[_0x90be[8]]||_0x26f3x2[_0x90be[9]]===_0x90be[10]){_0x26f3x2[_0x90be[12]](_0x90be[13],_0x26f3x3)}}function onRemove(_0x26f3x2,_0x26f3x3,_0x26f3x5){_0x26f3x2[_0x90be[12]](_0x90be[14],_0x26f3x3)} \ No newline at end of file diff --git a/server/api/report_fax_room/index.js b/server/api/report_fax_room/index.js index 6ac4c39..11f52aa 100644 --- a/server/api/report_fax_room/index.js +++ b/server/api/report_fax_room/index.js @@ -1 +1 @@ -var _0x3348=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x68\x61\x73\x46\x61\x78","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x2F\x6F\x70\x65\x6E","\x61\x67\x65\x6E\x74","\x6F\x70\x65\x6E","\x2F\x63\x6C\x6F\x73\x65\x64","\x63\x6C\x6F\x73\x65\x64","\x2F\x6E\x65\x77","\x6E\x65\x77","\x2F\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x65\x78\x70\x6F\x72\x74\x73"];_0x3348[0];var express=require(_0x3348[1]);var auth=require(_0x3348[2]);var controller=require(_0x3348[3]);var license=require(_0x3348[4]);var router=express.Router();router[_0x3348[11]](_0x3348[5],auth[_0x3348[6]](),license[_0x3348[7]](),auth[_0x3348[9]]([17],[_0x3348[8]]),controller[_0x3348[10]]);router[_0x3348[11]](_0x3348[12],auth[_0x3348[6]](),license[_0x3348[7]](),auth[_0x3348[9]]([17],[_0x3348[8]]),controller[_0x3348[13]]);router[_0x3348[11]](_0x3348[14],auth[_0x3348[6]](),license[_0x3348[7]](),auth[_0x3348[9]]([1],[_0x3348[8],_0x3348[15]]),controller[_0x3348[16]]);router[_0x3348[11]](_0x3348[17],auth[_0x3348[6]](),license[_0x3348[7]](),auth[_0x3348[9]]([1],[_0x3348[8],_0x3348[15]]),controller[_0x3348[18]]);router[_0x3348[11]](_0x3348[19],auth[_0x3348[6]](),license[_0x3348[7]](),auth[_0x3348[9]]([1],[_0x3348[8],_0x3348[15]]),controller[_0x3348[20]]);router[_0x3348[11]](_0x3348[21],auth[_0x3348[6]](),license[_0x3348[7]](),auth[_0x3348[9]]([1],[_0x3348[8],_0x3348[15]]),controller[_0x3348[22]]);module[_0x3348[23]]=router \ No newline at end of file +var _0xc31a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x68\x61\x73\x46\x61\x78","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x2F\x6F\x70\x65\x6E","\x61\x67\x65\x6E\x74","\x6F\x70\x65\x6E","\x2F\x63\x6C\x6F\x73\x65\x64","\x63\x6C\x6F\x73\x65\x64","\x2F\x6E\x65\x77","\x6E\x65\x77","\x2F\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x65\x78\x70\x6F\x72\x74\x73"];_0xc31a[0];var express=require(_0xc31a[1]);var auth=require(_0xc31a[2]);var controller=require(_0xc31a[3]);var license=require(_0xc31a[4]);var router=express.Router();router[_0xc31a[11]](_0xc31a[5],auth[_0xc31a[6]](),license[_0xc31a[7]](),auth[_0xc31a[9]]([17],[_0xc31a[8]]),controller[_0xc31a[10]]);router[_0xc31a[11]](_0xc31a[12],auth[_0xc31a[6]](),license[_0xc31a[7]](),auth[_0xc31a[9]]([17],[_0xc31a[8]]),controller[_0xc31a[13]]);router[_0xc31a[11]](_0xc31a[14],auth[_0xc31a[6]](),license[_0xc31a[7]](),auth[_0xc31a[9]]([1],[_0xc31a[8],_0xc31a[15]]),controller[_0xc31a[16]]);router[_0xc31a[11]](_0xc31a[17],auth[_0xc31a[6]](),license[_0xc31a[7]](),auth[_0xc31a[9]]([1],[_0xc31a[8],_0xc31a[15]]),controller[_0xc31a[18]]);router[_0xc31a[11]](_0xc31a[19],auth[_0xc31a[6]](),license[_0xc31a[7]](),auth[_0xc31a[9]]([1],[_0xc31a[8],_0xc31a[15]]),controller[_0xc31a[20]]);router[_0xc31a[11]](_0xc31a[21],auth[_0xc31a[6]](),license[_0xc31a[7]](),auth[_0xc31a[9]]([1],[_0xc31a[8],_0xc31a[15]]),controller[_0xc31a[22]]);module[_0xc31a[23]]=router \ No newline at end of file diff --git a/server/api/report_fax_room/report_fax_room.controller.js b/server/api/report_fax_room/report_fax_room.controller.js index fe81b26..8a9fe14 100644 --- a/server/api/report_fax_room/report_fax_room.controller.js +++ b/server/api/report_fax_room/report_fax_room.controller.js @@ -1 +1 @@ -var _0x75b6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x52\x65\x70\x6F\x72\x74\x46\x61\x78\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x46\x61\x78\x52\x6F\x6F\x6D","\x52\x65\x70\x6F\x72\x74\x46\x61\x78\x52\x6F\x6F\x6D\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x55\x73\x65\x72","\x46\x61\x78\x51\x75\x65\x75\x65","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x64","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x72\x6F\x77\x73","\x67\x65\x74\x46\x61\x78\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x73\x65\x72","\x72\x6F\x6C\x65","\x6F\x70\x65\x6E","\x63\x61\x74\x63\x68","\x4F\x50\x45\x4E","\x6D\x65\x72\x67\x65","\x63\x6F\x75\x6E\x74","\x61\x6C\x6C","\x63\x6C\x6F\x73\x65\x64","\x43\x4C\x4F\x53\x45\x44","\x6E\x65\x77","\x4E\x45\x57","\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x69\x6E\x64\x65\x78","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x73\x63\x72\x69\x62\x65"];_0x75b6[0];var _=require(_0x75b6[1]);var Util=require(_0x75b6[2]);var ReportFaxRoom=require(_0x75b6[4])[_0x75b6[3]];var FaxRoom=require(_0x75b6[4])[_0x75b6[5]];var ReportFaxRoomHistory=require(_0x75b6[4])[_0x75b6[7]][_0x75b6[6]];var User=require(_0x75b6[4])[_0x75b6[8]];var FaxQueue=require(_0x75b6[4])[_0x75b6[9]];function handleError(_0xfcd9x9,_0xfcd9xa){_0xfcd9xa=_0xfcd9xa||500;return function(_0xfcd9xb){_0xfcd9x9[_0x75b6[11]](_0xfcd9xa)[_0x75b6[10]](_0xfcd9xb)}}function responseWithResult(_0xfcd9x9,_0xfcd9xa){_0xfcd9xa=_0xfcd9xa||200;return function(_0xfcd9xd){if(_0xfcd9xd){_0xfcd9x9[_0x75b6[11]](_0xfcd9xa)[_0x75b6[12]](_0xfcd9xd)}}}function responseWithoutResult(_0xfcd9x9,_0xfcd9xa){_0xfcd9xa=_0xfcd9xa||204;return function(){_0xfcd9x9[_0x75b6[13]](_0xfcd9xa)}}function handleEntityNotFound(_0xfcd9x9){return function(_0xfcd9xd){if(!_0xfcd9xd){_0xfcd9x9[_0x75b6[11]](404)[_0x75b6[14]]();return null};return _0xfcd9xd}}function saveUpdates(_0xfcd9x11){return function(_0xfcd9xd){return _0xfcd9xd[_0x75b6[16]](_0xfcd9x11)[_0x75b6[15]](function(_0xfcd9x12){return _0xfcd9x12})}}function removeEntity(_0xfcd9x9){return function(_0xfcd9xd){if(_0xfcd9xd){return _0xfcd9xd[_0x75b6[17]]()[_0x75b6[15]](function(){_0xfcd9x9[_0x75b6[11]](204)[_0x75b6[14]]()})}}}function getFaxQueues(_0xfcd9x15){return function(){switch(_0xfcd9x15[_0x75b6[26]]){case _0x75b6[25]:return User[_0x75b6[24]](_0xfcd9x15[_0x75b6[18]],{attributes:[_0x75b6[18]]})[_0x75b6[15]](Util[_0x75b6[23]]({},{attributes:[_0x75b6[18]],include:[{raw:true,model:User,attributes:[_0x75b6[18]]}]}))[_0x75b6[15]](function(_0xfcd9x16){var _0xfcd9x17=[];_0xfcd9x16[_0x75b6[22]][_0x75b6[21]](function(_0xfcd9x18){_0xfcd9x17=_[_0x75b6[20]](_0xfcd9x17,_[_0x75b6[19]](_0xfcd9x18.Users,_0x75b6[18]))});return {where:{$or:{queue:_[_0x75b6[19]](_0xfcd9x16[_0x75b6[22]],_0x75b6[18]),memberid:_0xfcd9x17}}}});default:return {}}}}exports[_0x75b6[27]]=function(_0xfcd9x19,_0xfcd9x9){return Promise[_0x75b6[32]]([])[_0x75b6[15]](getFaxQueues(_0xfcd9x19[_0x75b6[25]]))[_0x75b6[15]](function(_0xfcd9x1b){return FaxRoom[_0x75b6[31]](_[_0x75b6[30]]({where:{status:_0x75b6[29]}},_0xfcd9x1b))})[_0x75b6[15]](function(_0xfcd9x1a){return _0xfcd9x9[_0x75b6[11]](200)[_0x75b6[10]]({value:_0xfcd9x1a})})[_0x75b6[28]](handleError(_0xfcd9x9))};exports[_0x75b6[33]]=function(_0xfcd9x19,_0xfcd9x9){return Promise[_0x75b6[32]]([])[_0x75b6[15]](getFaxQueues(_0xfcd9x19[_0x75b6[25]]))[_0x75b6[15]](function(_0xfcd9x1b){return FaxRoom[_0x75b6[31]](_[_0x75b6[30]]({where:{status:_0x75b6[34]}},_0xfcd9x1b))})[_0x75b6[15]](function(_0xfcd9x1a){return _0xfcd9x9[_0x75b6[11]](200)[_0x75b6[10]]({value:_0xfcd9x1a})})[_0x75b6[28]](handleError(_0xfcd9x9))};exports[_0x75b6[35]]=function(_0xfcd9x19,_0xfcd9x9){return Promise[_0x75b6[32]]([])[_0x75b6[15]](getFaxQueues(_0xfcd9x19[_0x75b6[25]]))[_0x75b6[15]](function(_0xfcd9x1b){return FaxRoom[_0x75b6[31]](_[_0x75b6[30]]({where:{status:_0x75b6[36]}},_0xfcd9x1b))})[_0x75b6[15]](function(_0xfcd9x1a){return _0xfcd9x9[_0x75b6[11]](200)[_0x75b6[10]]({value:_0xfcd9x1a})})[_0x75b6[28]](handleError(_0xfcd9x9))};exports[_0x75b6[37]]=function(_0xfcd9x19,_0xfcd9x9){return Promise[_0x75b6[32]]([])[_0x75b6[15]](getFaxQueues(_0xfcd9x19[_0x75b6[25]]))[_0x75b6[15]](function(_0xfcd9x1b){return FaxRoom[_0x75b6[31]](_[_0x75b6[30]]({where:{status:_0x75b6[38]}},_0xfcd9x1b))})[_0x75b6[15]](function(_0xfcd9x1a){return _0xfcd9x9[_0x75b6[11]](200)[_0x75b6[10]]({value:_0xfcd9x1a})})[_0x75b6[28]](handleError(_0xfcd9x9))};exports[_0x75b6[39]]=function(_0xfcd9x19,_0xfcd9x9,_0xfcd9x1c){return ReportFaxRoom[_0x75b6[42]](Util[_0x75b6[41]](_0xfcd9x19[_0x75b6[40]]))[_0x75b6[15]](function(_0xfcd9x1d){return _0xfcd9x9[_0x75b6[11]](200)[_0x75b6[10]](_0xfcd9x1d)})[_0x75b6[28]](handleError(_0xfcd9x9))};exports[_0x75b6[43]]=function(_0xfcd9x19,_0xfcd9x9){return ReportFaxRoomHistory[_0x75b6[43]]()[_0x75b6[15]](responseWithResult(_0xfcd9x9))[_0x75b6[28]](handleError(_0xfcd9x9))} \ No newline at end of file +var _0x808e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x52\x65\x70\x6F\x72\x74\x46\x61\x78\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x46\x61\x78\x52\x6F\x6F\x6D","\x52\x65\x70\x6F\x72\x74\x46\x61\x78\x52\x6F\x6F\x6D\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x55\x73\x65\x72","\x46\x61\x78\x51\x75\x65\x75\x65","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x64","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x72\x6F\x77\x73","\x67\x65\x74\x46\x61\x78\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x73\x65\x72","\x72\x6F\x6C\x65","\x6F\x70\x65\x6E","\x63\x61\x74\x63\x68","\x4F\x50\x45\x4E","\x6D\x65\x72\x67\x65","\x63\x6F\x75\x6E\x74","\x61\x6C\x6C","\x63\x6C\x6F\x73\x65\x64","\x43\x4C\x4F\x53\x45\x44","\x6E\x65\x77","\x4E\x45\x57","\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x69\x6E\x64\x65\x78","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x73\x63\x72\x69\x62\x65"];_0x808e[0];var _=require(_0x808e[1]);var Util=require(_0x808e[2]);var ReportFaxRoom=require(_0x808e[4])[_0x808e[3]];var FaxRoom=require(_0x808e[4])[_0x808e[5]];var ReportFaxRoomHistory=require(_0x808e[4])[_0x808e[7]][_0x808e[6]];var User=require(_0x808e[4])[_0x808e[8]];var FaxQueue=require(_0x808e[4])[_0x808e[9]];function handleError(_0x8017x9,_0x8017xa){_0x8017xa=_0x8017xa||500;return function(_0x8017xb){_0x8017x9[_0x808e[11]](_0x8017xa)[_0x808e[10]](_0x8017xb)}}function responseWithResult(_0x8017x9,_0x8017xa){_0x8017xa=_0x8017xa||200;return function(_0x8017xd){if(_0x8017xd){_0x8017x9[_0x808e[11]](_0x8017xa)[_0x808e[12]](_0x8017xd)}}}function responseWithoutResult(_0x8017x9,_0x8017xa){_0x8017xa=_0x8017xa||204;return function(){_0x8017x9[_0x808e[13]](_0x8017xa)}}function handleEntityNotFound(_0x8017x9){return function(_0x8017xd){if(!_0x8017xd){_0x8017x9[_0x808e[11]](404)[_0x808e[14]]();return null};return _0x8017xd}}function saveUpdates(_0x8017x11){return function(_0x8017xd){return _0x8017xd[_0x808e[16]](_0x8017x11)[_0x808e[15]](function(_0x8017x12){return _0x8017x12})}}function removeEntity(_0x8017x9){return function(_0x8017xd){if(_0x8017xd){return _0x8017xd[_0x808e[17]]()[_0x808e[15]](function(){_0x8017x9[_0x808e[11]](204)[_0x808e[14]]()})}}}function getFaxQueues(_0x8017x15){return function(){switch(_0x8017x15[_0x808e[26]]){case _0x808e[25]:return User[_0x808e[24]](_0x8017x15[_0x808e[18]],{attributes:[_0x808e[18]]})[_0x808e[15]](Util[_0x808e[23]]({},{attributes:[_0x808e[18]],include:[{raw:true,model:User,attributes:[_0x808e[18]]}]}))[_0x808e[15]](function(_0x8017x16){var _0x8017x17=[];_0x8017x16[_0x808e[22]][_0x808e[21]](function(_0x8017x18){_0x8017x17=_[_0x808e[20]](_0x8017x17,_[_0x808e[19]](_0x8017x18.Users,_0x808e[18]))});return {where:{$or:{queue:_[_0x808e[19]](_0x8017x16[_0x808e[22]],_0x808e[18]),memberid:_0x8017x17}}}});default:return {}}}}exports[_0x808e[27]]=function(_0x8017x19,_0x8017x9){return Promise[_0x808e[32]]([])[_0x808e[15]](getFaxQueues(_0x8017x19[_0x808e[25]]))[_0x808e[15]](function(_0x8017x1b){return FaxRoom[_0x808e[31]](_[_0x808e[30]]({where:{status:_0x808e[29]}},_0x8017x1b))})[_0x808e[15]](function(_0x8017x1a){return _0x8017x9[_0x808e[11]](200)[_0x808e[10]]({value:_0x8017x1a})})[_0x808e[28]](handleError(_0x8017x9))};exports[_0x808e[33]]=function(_0x8017x19,_0x8017x9){return Promise[_0x808e[32]]([])[_0x808e[15]](getFaxQueues(_0x8017x19[_0x808e[25]]))[_0x808e[15]](function(_0x8017x1b){return FaxRoom[_0x808e[31]](_[_0x808e[30]]({where:{status:_0x808e[34]}},_0x8017x1b))})[_0x808e[15]](function(_0x8017x1a){return _0x8017x9[_0x808e[11]](200)[_0x808e[10]]({value:_0x8017x1a})})[_0x808e[28]](handleError(_0x8017x9))};exports[_0x808e[35]]=function(_0x8017x19,_0x8017x9){return Promise[_0x808e[32]]([])[_0x808e[15]](getFaxQueues(_0x8017x19[_0x808e[25]]))[_0x808e[15]](function(_0x8017x1b){return FaxRoom[_0x808e[31]](_[_0x808e[30]]({where:{status:_0x808e[36]}},_0x8017x1b))})[_0x808e[15]](function(_0x8017x1a){return _0x8017x9[_0x808e[11]](200)[_0x808e[10]]({value:_0x8017x1a})})[_0x808e[28]](handleError(_0x8017x9))};exports[_0x808e[37]]=function(_0x8017x19,_0x8017x9){return Promise[_0x808e[32]]([])[_0x808e[15]](getFaxQueues(_0x8017x19[_0x808e[25]]))[_0x808e[15]](function(_0x8017x1b){return FaxRoom[_0x808e[31]](_[_0x808e[30]]({where:{status:_0x808e[38]}},_0x8017x1b))})[_0x808e[15]](function(_0x8017x1a){return _0x8017x9[_0x808e[11]](200)[_0x808e[10]]({value:_0x8017x1a})})[_0x808e[28]](handleError(_0x8017x9))};exports[_0x808e[39]]=function(_0x8017x19,_0x8017x9,_0x8017x1c){return ReportFaxRoom[_0x808e[42]](Util[_0x808e[41]](_0x8017x19[_0x808e[40]]))[_0x808e[15]](function(_0x8017x1d){return _0x8017x9[_0x808e[11]](200)[_0x808e[10]](_0x8017x1d)})[_0x808e[28]](handleError(_0x8017x9))};exports[_0x808e[43]]=function(_0x8017x19,_0x8017x9){return ReportFaxRoomHistory[_0x808e[43]]()[_0x808e[15]](responseWithResult(_0x8017x9))[_0x808e[28]](handleError(_0x8017x9))} \ No newline at end of file diff --git a/server/api/report_fax_room/report_fax_room.socket.js b/server/api/report_fax_room/report_fax_room.socket.js index c2781e2..086f72b 100644 --- a/server/api/report_fax_room/report_fax_room.socket.js +++ b/server/api/report_fax_room/report_fax_room.socket.js @@ -1 +1 @@ -var _0xf834=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x46\x61\x78\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x3A\x72\x65\x6D\x6F\x76\x65"];_0xf834[0];var ReportFaxRoom=require(_0xf834[2])[_0xf834[1]];exports[_0xf834[3]]=function(_0xbedax2){ReportFaxRoom[_0xf834[4]](function(_0xbedax3){onSave(_0xbedax2,_0xbedax3)});ReportFaxRoom[_0xf834[5]](function(_0xbedax3){onRemove(_0xbedax2,_0xbedax3)})};function onSave(_0xbedax2,_0xbedax3,_0xbedax5){_0xbedax2[_0xf834[7]](_0xf834[6],_0xbedax3)}function onRemove(_0xbedax2,_0xbedax3,_0xbedax5){_0xbedax2[_0xf834[7]](_0xf834[8],_0xbedax3)} \ No newline at end of file +var _0xecae=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x46\x61\x78\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x3A\x72\x65\x6D\x6F\x76\x65"];_0xecae[0];var ReportFaxRoom=require(_0xecae[2])[_0xecae[1]];exports[_0xecae[3]]=function(_0x4900x2){ReportFaxRoom[_0xecae[4]](function(_0x4900x3){onSave(_0x4900x2,_0x4900x3)});ReportFaxRoom[_0xecae[5]](function(_0x4900x3){onRemove(_0x4900x2,_0x4900x3)})};function onSave(_0x4900x2,_0x4900x3,_0x4900x5){_0x4900x2[_0xecae[7]](_0xecae[6],_0x4900x3)}function onRemove(_0x4900x2,_0x4900x3,_0x4900x5){_0x4900x2[_0xecae[7]](_0xecae[8],_0x4900x3)} \ No newline at end of file diff --git a/server/api/report_fax_session/index.js b/server/api/report_fax_session/index.js index d2c5d7f..6970798 100644 --- a/server/api/report_fax_session/index.js +++ b/server/api/report_fax_session/index.js @@ -1 +1 @@ -var _0xcf07=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x5F\x73\x65\x73\x73\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x68\x61\x73\x46\x61\x78","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x2F\x77\x61\x69\x74\x69\x6E\x67\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x61\x67\x65\x6E\x74","\x77\x61\x69\x74\x69\x6E\x67\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x65\x78\x70\x6F\x72\x74\x73"];_0xcf07[0];var express=require(_0xcf07[1]);var auth=require(_0xcf07[2]);var controller=require(_0xcf07[3]);var license=require(_0xcf07[4]);var router=express.Router();router[_0xcf07[11]](_0xcf07[5],auth[_0xcf07[6]](),license[_0xcf07[7]](),auth[_0xcf07[9]]([17],[_0xcf07[8]]),controller[_0xcf07[10]]);router[_0xcf07[11]](_0xcf07[12],auth[_0xcf07[6]](),license[_0xcf07[7]](),auth[_0xcf07[9]]([17],[_0xcf07[8]]),controller[_0xcf07[13]]);router[_0xcf07[11]](_0xcf07[14],auth[_0xcf07[6]](),license[_0xcf07[7]](),auth[_0xcf07[9]]([10],[_0xcf07[8],_0xcf07[15]]),controller[_0xcf07[16]]);module[_0xcf07[17]]=router \ No newline at end of file +var _0xd717=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x5F\x73\x65\x73\x73\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x68\x61\x73\x46\x61\x78","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x2F\x77\x61\x69\x74\x69\x6E\x67\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x61\x67\x65\x6E\x74","\x77\x61\x69\x74\x69\x6E\x67\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x65\x78\x70\x6F\x72\x74\x73"];_0xd717[0];var express=require(_0xd717[1]);var auth=require(_0xd717[2]);var controller=require(_0xd717[3]);var license=require(_0xd717[4]);var router=express.Router();router[_0xd717[11]](_0xd717[5],auth[_0xd717[6]](),license[_0xd717[7]](),auth[_0xd717[9]]([17],[_0xd717[8]]),controller[_0xd717[10]]);router[_0xd717[11]](_0xd717[12],auth[_0xd717[6]](),license[_0xd717[7]](),auth[_0xd717[9]]([17],[_0xd717[8]]),controller[_0xd717[13]]);router[_0xd717[11]](_0xd717[14],auth[_0xd717[6]](),license[_0xd717[7]](),auth[_0xd717[9]]([10],[_0xd717[8],_0xd717[15]]),controller[_0xd717[16]]);module[_0xd717[17]]=router \ No newline at end of file diff --git a/server/api/report_fax_session/report_fax_session.controller.js b/server/api/report_fax_session/report_fax_session.controller.js index 8c4b885..578b371 100644 --- a/server/api/report_fax_session/report_fax_session.controller.js +++ b/server/api/report_fax_session/report_fax_session.controller.js @@ -1 +1 @@ -var _0x8b9f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x52\x65\x70\x6F\x72\x74\x46\x61\x78\x53\x65\x73\x73\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x46\x61\x78\x53\x65\x73\x73\x69\x6F\x6E\x48\x69\x73\x74\x6F\x72\x79","\x55\x73\x65\x72","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x77\x61\x69\x74\x69\x6E\x67\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x6D\x65\x72\x67\x65","\x75\x73\x65\x72","\x61\x6C\x6C","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x72\x6F\x77\x73","\x67\x65\x74\x46\x61\x78\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x67\x65\x74\x46\x61\x78\x51\x75\x65\x75\x65\x73","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65"];_0x8b9f[0];var _=require(_0x8b9f[1]);var Util=require(_0x8b9f[2]);var ReportFaxSession=require(_0x8b9f[4])[_0x8b9f[3]];var ReportFaxSessionHistory=require(_0x8b9f[4])[_0x8b9f[5]];var User=require(_0x8b9f[4])[_0x8b9f[6]];function handleError(_0x82f5x7,_0x82f5x8){_0x82f5x8=_0x82f5x8||500;return function(_0x82f5x9){_0x82f5x7[_0x8b9f[8]](_0x82f5x8)[_0x8b9f[7]](_0x82f5x9)}}function responseWithResult(_0x82f5x7,_0x82f5x8){_0x82f5x8=_0x82f5x8||200;return function(_0x82f5xb){if(_0x82f5xb){_0x82f5x7[_0x8b9f[8]](_0x82f5x8)[_0x8b9f[9]](_0x82f5xb)}}}function responseWithoutResult(_0x82f5x7,_0x82f5x8){_0x82f5x8=_0x82f5x8||204;return function(){_0x82f5x7[_0x8b9f[10]](_0x82f5x8)}}function handleEntityNotFound(_0x82f5x7){return function(_0x82f5xb){if(!_0x82f5xb){_0x82f5x7[_0x8b9f[8]](404)[_0x8b9f[11]]();return null};return _0x82f5xb}}function saveUpdates(_0x82f5xf){return function(_0x82f5xb){return _0x82f5xb[_0x8b9f[13]](_0x82f5xf)[_0x8b9f[12]](function(_0x82f5x10){return _0x82f5x10})}}function removeEntity(_0x82f5x7){return function(_0x82f5xb){if(_0x82f5xb){return _0x82f5xb[_0x8b9f[14]]()[_0x8b9f[12]](function(){_0x82f5x7[_0x8b9f[8]](204)[_0x8b9f[11]]()})}}}exports[_0x8b9f[15]]=function(_0x82f5x12,_0x82f5x7){return ReportFaxSession[_0x8b9f[19]](Util[_0x8b9f[18]](_0x82f5x12[_0x8b9f[17]]))[_0x8b9f[12]](responseWithResult(_0x82f5x7))[_0x8b9f[16]](handleError(_0x82f5x7))};exports[_0x8b9f[20]]=function(_0x82f5x12,_0x82f5x7){return ReportFaxSession[_0x8b9f[23]](_0x82f5x12[_0x8b9f[22]][_0x8b9f[21]])[_0x8b9f[12]](handleEntityNotFound(_0x82f5x7))[_0x8b9f[12]](responseWithResult(_0x82f5x7))[_0x8b9f[16]](handleError(_0x82f5x7))};exports[_0x8b9f[24]]=function(_0x82f5x12,_0x82f5x7){return ReportFaxSession[_0x8b9f[24]](_0x82f5x12[_0x8b9f[25]])[_0x8b9f[12]](responseWithResult(_0x82f5x7,201))[_0x8b9f[16]](handleError(_0x82f5x7))};exports[_0x8b9f[26]]=function(_0x82f5x12,_0x82f5x7){if(_0x82f5x12[_0x8b9f[25]][_0x8b9f[21]]){delete _0x82f5x12[_0x8b9f[25]][_0x8b9f[21]]};return ReportFaxSession[_0x8b9f[23]](_0x82f5x12[_0x8b9f[22]][_0x8b9f[21]])[_0x8b9f[12]](handleEntityNotFound(_0x82f5x7))[_0x8b9f[12]](saveUpdates(_0x82f5x12[_0x8b9f[25]]))[_0x8b9f[12]](responseWithResult(_0x82f5x7))[_0x8b9f[16]](handleError(_0x82f5x7))};exports[_0x8b9f[14]]=function(_0x82f5x12,_0x82f5x7){return ReportFaxSession[_0x8b9f[23]](_0x82f5x12[_0x8b9f[22]][_0x8b9f[21]])[_0x8b9f[12]](handleEntityNotFound(_0x82f5x7))[_0x8b9f[12]](removeEntity(_0x82f5x7))[_0x8b9f[16]](handleError(_0x82f5x7))};exports[_0x8b9f[27]]=function(_0x82f5x12,_0x82f5x7){return ReportFaxSessionHistory[_0x8b9f[27]]()[_0x8b9f[12]](function(_0x82f5x13){return _0x82f5x7[_0x8b9f[8]](200)[_0x8b9f[7]](_0x82f5x13)})[_0x8b9f[16]](handleError(_0x82f5x7))};exports[_0x8b9f[28]]=function(_0x82f5x12,_0x82f5x7){return Promise[_0x8b9f[31]]([])[_0x8b9f[12]](getFaxQueues(_0x82f5x12[_0x8b9f[30]]))[_0x8b9f[12]](function(_0x82f5x15){return ReportFaxSession[_0x8b9f[19]](Util[_0x8b9f[18]](_0x82f5x12[_0x8b9f[17]],_[_0x8b9f[29]]({leaveAt:null},_0x82f5x15)))})[_0x8b9f[12]](function(_0x82f5x14){return _0x82f5x7[_0x8b9f[8]](200)[_0x8b9f[7]]({rows:_0x82f5x14})})[_0x8b9f[16]](handleError(_0x82f5x7))};function getFaxQueues(_0x82f5x17){return function(){switch(_0x82f5x17[_0x8b9f[39]]){case _0x8b9f[30]:return User[_0x8b9f[23]](_0x82f5x17[_0x8b9f[21]],{attributes:[_0x8b9f[21]]})[_0x8b9f[12]](Util[_0x8b9f[36]]({},{attributes:[_0x8b9f[21]],include:[{raw:true,model:User,attributes:[_0x8b9f[21]]}]}))[_0x8b9f[12]](function(_0x82f5x18){var _0x82f5x19=[];_0x82f5x18[_0x8b9f[35]][_0x8b9f[34]](function(_0x82f5x1a){_0x82f5x19=_[_0x8b9f[33]](_0x82f5x19,_[_0x8b9f[32]](_0x82f5x1a.Users,_0x8b9f[21]))});return {$or:{queue:_[_0x8b9f[32]](_0x82f5x18[_0x8b9f[35]],_0x8b9f[21]),memberid:_0x82f5x19}}});case _0x8b9f[38]:return User[_0x8b9f[23]](_0x82f5x17[_0x8b9f[21]],{attributes:[_0x8b9f[21]]})[_0x8b9f[12]](function(_0x82f5x1b){return _0x82f5x1b[_0x8b9f[37]]({attributes:[_0x8b9f[21]]})})[_0x8b9f[12]](function(_0x82f5x18){return {$or:{queue:_[_0x8b9f[32]](_0x82f5x18,_0x8b9f[21]),memberid:_0x82f5x17[_0x8b9f[21]]}}});default:return {}}}} \ No newline at end of file +var _0x39e1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x52\x65\x70\x6F\x72\x74\x46\x61\x78\x53\x65\x73\x73\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x46\x61\x78\x53\x65\x73\x73\x69\x6F\x6E\x48\x69\x73\x74\x6F\x72\x79","\x55\x73\x65\x72","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x77\x61\x69\x74\x69\x6E\x67\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x6D\x65\x72\x67\x65","\x75\x73\x65\x72","\x61\x6C\x6C","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x72\x6F\x77\x73","\x67\x65\x74\x46\x61\x78\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x67\x65\x74\x46\x61\x78\x51\x75\x65\x75\x65\x73","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65"];_0x39e1[0];var _=require(_0x39e1[1]);var Util=require(_0x39e1[2]);var ReportFaxSession=require(_0x39e1[4])[_0x39e1[3]];var ReportFaxSessionHistory=require(_0x39e1[4])[_0x39e1[5]];var User=require(_0x39e1[4])[_0x39e1[6]];function handleError(_0x199ax7,_0x199ax8){_0x199ax8=_0x199ax8||500;return function(_0x199ax9){_0x199ax7[_0x39e1[8]](_0x199ax8)[_0x39e1[7]](_0x199ax9)}}function responseWithResult(_0x199ax7,_0x199ax8){_0x199ax8=_0x199ax8||200;return function(_0x199axb){if(_0x199axb){_0x199ax7[_0x39e1[8]](_0x199ax8)[_0x39e1[9]](_0x199axb)}}}function responseWithoutResult(_0x199ax7,_0x199ax8){_0x199ax8=_0x199ax8||204;return function(){_0x199ax7[_0x39e1[10]](_0x199ax8)}}function handleEntityNotFound(_0x199ax7){return function(_0x199axb){if(!_0x199axb){_0x199ax7[_0x39e1[8]](404)[_0x39e1[11]]();return null};return _0x199axb}}function saveUpdates(_0x199axf){return function(_0x199axb){return _0x199axb[_0x39e1[13]](_0x199axf)[_0x39e1[12]](function(_0x199ax10){return _0x199ax10})}}function removeEntity(_0x199ax7){return function(_0x199axb){if(_0x199axb){return _0x199axb[_0x39e1[14]]()[_0x39e1[12]](function(){_0x199ax7[_0x39e1[8]](204)[_0x39e1[11]]()})}}}exports[_0x39e1[15]]=function(_0x199ax12,_0x199ax7){return ReportFaxSession[_0x39e1[19]](Util[_0x39e1[18]](_0x199ax12[_0x39e1[17]]))[_0x39e1[12]](responseWithResult(_0x199ax7))[_0x39e1[16]](handleError(_0x199ax7))};exports[_0x39e1[20]]=function(_0x199ax12,_0x199ax7){return ReportFaxSession[_0x39e1[23]](_0x199ax12[_0x39e1[22]][_0x39e1[21]])[_0x39e1[12]](handleEntityNotFound(_0x199ax7))[_0x39e1[12]](responseWithResult(_0x199ax7))[_0x39e1[16]](handleError(_0x199ax7))};exports[_0x39e1[24]]=function(_0x199ax12,_0x199ax7){return ReportFaxSession[_0x39e1[24]](_0x199ax12[_0x39e1[25]])[_0x39e1[12]](responseWithResult(_0x199ax7,201))[_0x39e1[16]](handleError(_0x199ax7))};exports[_0x39e1[26]]=function(_0x199ax12,_0x199ax7){if(_0x199ax12[_0x39e1[25]][_0x39e1[21]]){delete _0x199ax12[_0x39e1[25]][_0x39e1[21]]};return ReportFaxSession[_0x39e1[23]](_0x199ax12[_0x39e1[22]][_0x39e1[21]])[_0x39e1[12]](handleEntityNotFound(_0x199ax7))[_0x39e1[12]](saveUpdates(_0x199ax12[_0x39e1[25]]))[_0x39e1[12]](responseWithResult(_0x199ax7))[_0x39e1[16]](handleError(_0x199ax7))};exports[_0x39e1[14]]=function(_0x199ax12,_0x199ax7){return ReportFaxSession[_0x39e1[23]](_0x199ax12[_0x39e1[22]][_0x39e1[21]])[_0x39e1[12]](handleEntityNotFound(_0x199ax7))[_0x39e1[12]](removeEntity(_0x199ax7))[_0x39e1[16]](handleError(_0x199ax7))};exports[_0x39e1[27]]=function(_0x199ax12,_0x199ax7){return ReportFaxSessionHistory[_0x39e1[27]]()[_0x39e1[12]](function(_0x199ax13){return _0x199ax7[_0x39e1[8]](200)[_0x39e1[7]](_0x199ax13)})[_0x39e1[16]](handleError(_0x199ax7))};exports[_0x39e1[28]]=function(_0x199ax12,_0x199ax7){return Promise[_0x39e1[31]]([])[_0x39e1[12]](getFaxQueues(_0x199ax12[_0x39e1[30]]))[_0x39e1[12]](function(_0x199ax15){return ReportFaxSession[_0x39e1[19]](Util[_0x39e1[18]](_0x199ax12[_0x39e1[17]],_[_0x39e1[29]]({leaveAt:null},_0x199ax15)))})[_0x39e1[12]](function(_0x199ax14){return _0x199ax7[_0x39e1[8]](200)[_0x39e1[7]]({rows:_0x199ax14})})[_0x39e1[16]](handleError(_0x199ax7))};function getFaxQueues(_0x199ax17){return function(){switch(_0x199ax17[_0x39e1[39]]){case _0x39e1[30]:return User[_0x39e1[23]](_0x199ax17[_0x39e1[21]],{attributes:[_0x39e1[21]]})[_0x39e1[12]](Util[_0x39e1[36]]({},{attributes:[_0x39e1[21]],include:[{raw:true,model:User,attributes:[_0x39e1[21]]}]}))[_0x39e1[12]](function(_0x199ax18){var _0x199ax19=[];_0x199ax18[_0x39e1[35]][_0x39e1[34]](function(_0x199ax1a){_0x199ax19=_[_0x39e1[33]](_0x199ax19,_[_0x39e1[32]](_0x199ax1a.Users,_0x39e1[21]))});return {$or:{queue:_[_0x39e1[32]](_0x199ax18[_0x39e1[35]],_0x39e1[21]),memberid:_0x199ax19}}});case _0x39e1[38]:return User[_0x39e1[23]](_0x199ax17[_0x39e1[21]],{attributes:[_0x39e1[21]]})[_0x39e1[12]](function(_0x199ax1b){return _0x199ax1b[_0x39e1[37]]({attributes:[_0x39e1[21]]})})[_0x39e1[12]](function(_0x199ax18){return {$or:{queue:_[_0x39e1[32]](_0x199ax18,_0x39e1[21]),memberid:_0x199ax17[_0x39e1[21]]}}});default:return {}}}} \ No newline at end of file diff --git a/server/api/report_fax_session/report_fax_session.socket.js b/server/api/report_fax_session/report_fax_session.socket.js index 9c776b7..bc49125 100644 --- a/server/api/report_fax_session/report_fax_session.socket.js +++ b/server/api/report_fax_session/report_fax_session.socket.js @@ -1 +1 @@ -var _0xec19=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x46\x61\x78\x53\x65\x73\x73\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x6C\x6F\x64\x61\x73\x68","\x62\x6C\x75\x65\x62\x69\x72\x64","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x45\x72\x72\x6F\x72\x20\x66\x69\x6C\x74\x65\x72\x69\x6E\x67\x20\x72\x65\x70\x6F\x72\x74\x20\x66\x61\x78\x20\x73\x65\x73\x73\x69\x6F\x6E\x73\x20\x61\x66\x74\x65\x72\x20\x73\x61\x76\x65","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x72\x6F\x6C\x65","\x61\x64\x6D\x69\x6E","\x6D\x65\x6D\x62\x65\x72\x69\x64","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x71\x75\x65\x75\x65","\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x5F\x73\x65\x73\x73\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x74\x68\x65\x6E","\x61\x6C\x6C","\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x5F\x73\x65\x73\x73\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65","\x69\x64","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x72\x6F\x77\x73","\x67\x65\x74\x46\x61\x78\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x75\x73\x65\x72\x49\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x73\x65\x72","\x67\x65\x74\x46\x61\x78\x51\x75\x65\x75\x65\x73","\x61\x67\x65\x6E\x74"];_0xec19[0];var ReportFaxSession=require(_0xec19[2])[_0xec19[1]];var User=require(_0xec19[2])[_0xec19[3]];var Util=require(_0xec19[4]);var _=require(_0xec19[5]);var Promise=require(_0xec19[6]);exports[_0xec19[7]]=function(_0xeb6bx6){ReportFaxSession[_0xec19[8]](function(_0xeb6bx7){onSave(_0xeb6bx6,_0xeb6bx7)});ReportFaxSession[_0xec19[9]](function(_0xeb6bx7){onSave(_0xeb6bx6,_0xeb6bx7)});ReportFaxSession[_0xec19[10]](function(_0xeb6bx7){onRemove(_0xeb6bx6,_0xeb6bx7)})};function onSave(_0xeb6bx6,_0xeb6bx7,_0xeb6bx9){return Promise[_0xec19[22]]([])[_0xec19[21]](getFaxQueues(_0xeb6bx6))[_0xec19[21]](function(_0xeb6bxb){if(_0xeb6bx6[_0xec19[14]]===_0xec19[15]||_[_0xec19[17]](_0xeb6bxb[_0xec19[16]],_0xeb6bx7[_0xec19[16]])||_[_0xec19[17]](_0xeb6bxb[_0xec19[18]],_0xeb6bx7[_0xec19[18]])){_0xeb6bx6[_0xec19[20]](_0xec19[19],_0xeb6bx7)}})[_0xec19[13]](function(_0xeb6bxa){console[_0xec19[12]](_0xec19[11],_0xeb6bxa)})}function onRemove(_0xeb6bx6,_0xeb6bx7,_0xeb6bx9){_0xeb6bx6[_0xec19[20]](_0xec19[23],_0xeb6bx7)}function getFaxQueues(_0xeb6bxe){return function(){switch(_0xeb6bxe[_0xec19[14]]){case _0xec19[32]:return User[_0xec19[31]](_0xeb6bxe[_0xec19[30]],{attributes:[_0xec19[24]]})[_0xec19[21]](Util[_0xec19[29]]({},{attributes:[_0xec19[24]],include:[{raw:true,model:User,attributes:[_0xec19[24]]}]}))[_0xec19[21]](function(_0xeb6bxf){var _0xeb6bx10=[];_0xeb6bxf[_0xec19[28]][_0xec19[27]](function(_0xeb6bx11){_0xeb6bx10=_[_0xec19[26]](_0xeb6bx10,_[_0xec19[25]](_0xeb6bx11.Users,_0xec19[24]))});return {queue:_[_0xec19[25]](_0xeb6bxf[_0xec19[28]],_0xec19[24]),memberid:_0xeb6bx10}});case _0xec19[34]:return User[_0xec19[31]](_0xeb6bxe[_0xec19[30]],{attributes:[_0xec19[24]]})[_0xec19[21]](function(_0xeb6bx12){return _0xeb6bx12[_0xec19[33]]({attributes:[_0xec19[24]]})})[_0xec19[21]](function(_0xeb6bxf){return {queue:_[_0xec19[25]](_0xeb6bxf,_0xec19[24]),memberid:_0xeb6bxe[_0xec19[30]]}});default:return {}}}} \ No newline at end of file +var _0x2123=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x46\x61\x78\x53\x65\x73\x73\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x6C\x6F\x64\x61\x73\x68","\x62\x6C\x75\x65\x62\x69\x72\x64","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x45\x72\x72\x6F\x72\x20\x66\x69\x6C\x74\x65\x72\x69\x6E\x67\x20\x72\x65\x70\x6F\x72\x74\x20\x66\x61\x78\x20\x73\x65\x73\x73\x69\x6F\x6E\x73\x20\x61\x66\x74\x65\x72\x20\x73\x61\x76\x65","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x72\x6F\x6C\x65","\x61\x64\x6D\x69\x6E","\x6D\x65\x6D\x62\x65\x72\x69\x64","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x71\x75\x65\x75\x65","\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x5F\x73\x65\x73\x73\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x74\x68\x65\x6E","\x61\x6C\x6C","\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x5F\x73\x65\x73\x73\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65","\x69\x64","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x72\x6F\x77\x73","\x67\x65\x74\x46\x61\x78\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x75\x73\x65\x72\x49\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x73\x65\x72","\x67\x65\x74\x46\x61\x78\x51\x75\x65\x75\x65\x73","\x61\x67\x65\x6E\x74"];_0x2123[0];var ReportFaxSession=require(_0x2123[2])[_0x2123[1]];var User=require(_0x2123[2])[_0x2123[3]];var Util=require(_0x2123[4]);var _=require(_0x2123[5]);var Promise=require(_0x2123[6]);exports[_0x2123[7]]=function(_0x9e0bx6){ReportFaxSession[_0x2123[8]](function(_0x9e0bx7){onSave(_0x9e0bx6,_0x9e0bx7)});ReportFaxSession[_0x2123[9]](function(_0x9e0bx7){onSave(_0x9e0bx6,_0x9e0bx7)});ReportFaxSession[_0x2123[10]](function(_0x9e0bx7){onRemove(_0x9e0bx6,_0x9e0bx7)})};function onSave(_0x9e0bx6,_0x9e0bx7,_0x9e0bx9){return Promise[_0x2123[22]]([])[_0x2123[21]](getFaxQueues(_0x9e0bx6))[_0x2123[21]](function(_0x9e0bxb){if(_0x9e0bx6[_0x2123[14]]===_0x2123[15]||_[_0x2123[17]](_0x9e0bxb[_0x2123[16]],_0x9e0bx7[_0x2123[16]])||_[_0x2123[17]](_0x9e0bxb[_0x2123[18]],_0x9e0bx7[_0x2123[18]])){_0x9e0bx6[_0x2123[20]](_0x2123[19],_0x9e0bx7)}})[_0x2123[13]](function(_0x9e0bxa){console[_0x2123[12]](_0x2123[11],_0x9e0bxa)})}function onRemove(_0x9e0bx6,_0x9e0bx7,_0x9e0bx9){_0x9e0bx6[_0x2123[20]](_0x2123[23],_0x9e0bx7)}function getFaxQueues(_0x9e0bxe){return function(){switch(_0x9e0bxe[_0x2123[14]]){case _0x2123[32]:return User[_0x2123[31]](_0x9e0bxe[_0x2123[30]],{attributes:[_0x2123[24]]})[_0x2123[21]](Util[_0x2123[29]]({},{attributes:[_0x2123[24]],include:[{raw:true,model:User,attributes:[_0x2123[24]]}]}))[_0x2123[21]](function(_0x9e0bxf){var _0x9e0bx10=[];_0x9e0bxf[_0x2123[28]][_0x2123[27]](function(_0x9e0bx11){_0x9e0bx10=_[_0x2123[26]](_0x9e0bx10,_[_0x2123[25]](_0x9e0bx11.Users,_0x2123[24]))});return {queue:_[_0x2123[25]](_0x9e0bxf[_0x2123[28]],_0x2123[24]),memberid:_0x9e0bx10}});case _0x2123[34]:return User[_0x2123[31]](_0x9e0bxe[_0x2123[30]],{attributes:[_0x2123[24]]})[_0x2123[21]](function(_0x9e0bx12){return _0x9e0bx12[_0x2123[33]]({attributes:[_0x2123[24]]})})[_0x2123[21]](function(_0x9e0bxf){return {queue:_[_0x2123[25]](_0x9e0bxf,_0x2123[24]),memberid:_0x9e0bxe[_0x2123[30]]}});default:return {}}}} \ No newline at end of file diff --git a/server/api/report_integration/index.js b/server/api/report_integration/index.js index e37f340..36d555c 100644 --- a/server/api/report_integration/index.js +++ b/server/api/report_integration/index.js @@ -1 +1 @@ -var _0xbb20=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0xbb20[0];var express=require(_0xbb20[1]);var controller=require(_0xbb20[2]);var auth=require(_0xbb20[3]);var router=express.Router();router[_0xbb20[9]](_0xbb20[4],auth[_0xbb20[5]](),auth[_0xbb20[7]]([17],[_0xbb20[6]]),controller[_0xbb20[8]]);router[_0xbb20[9]](_0xbb20[10],auth[_0xbb20[5]](),auth[_0xbb20[7]]([17],[_0xbb20[6]]),controller[_0xbb20[11]]);router[_0xbb20[13]](_0xbb20[4],auth[_0xbb20[5]](),controller[_0xbb20[12]]);module[_0xbb20[14]]=router \ No newline at end of file +var _0x9c6b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x9c6b[0];var express=require(_0x9c6b[1]);var controller=require(_0x9c6b[2]);var auth=require(_0x9c6b[3]);var router=express.Router();router[_0x9c6b[9]](_0x9c6b[4],auth[_0x9c6b[5]](),auth[_0x9c6b[7]]([17],[_0x9c6b[6]]),controller[_0x9c6b[8]]);router[_0x9c6b[9]](_0x9c6b[10],auth[_0x9c6b[5]](),auth[_0x9c6b[7]]([17],[_0x9c6b[6]]),controller[_0x9c6b[11]]);router[_0x9c6b[13]](_0x9c6b[4],auth[_0x9c6b[5]](),controller[_0x9c6b[12]]);module[_0x9c6b[14]]=router \ No newline at end of file diff --git a/server/api/report_integration/report_integration.controller.js b/server/api/report_integration/report_integration.controller.js index 11cdcd2..3f95460 100644 --- a/server/api/report_integration/report_integration.controller.js +++ b/server/api/report_integration/report_integration.controller.js @@ -1 +1 @@ -var _0x6b5f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x52\x65\x70\x6F\x72\x74\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x73\x63\x72\x69\x62\x65","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79"];_0x6b5f[0];var _=require(_0x6b5f[1]);var ReportIntegration=require(_0x6b5f[3])[_0x6b5f[2]];var ReportIntegrationHistory=require(_0x6b5f[3])[_0x6b5f[5]][_0x6b5f[4]];var Util=require(_0x6b5f[6]);exports[_0x6b5f[7]]=function(_0x5ba7x5,_0x5ba7x6,_0x5ba7x7){return ReportIntegration[_0x6b5f[14]](Util[_0x6b5f[13]](_0x5ba7x5[_0x6b5f[12]]))[_0x6b5f[11]](function(_0x5ba7x9){return _0x5ba7x6[_0x6b5f[10]](200)[_0x6b5f[9]](_0x5ba7x9)})[_0x6b5f[8]](function(_0x5ba7x8){return handleError(_0x5ba7x6,_0x5ba7x8)})};exports[_0x6b5f[15]]=function(_0x5ba7x5,_0x5ba7x6){return ReportIntegrationHistory[_0x6b5f[15]]()[_0x6b5f[11]](function(_0x5ba7xa){return _0x5ba7x6[_0x6b5f[10]](200)[_0x6b5f[9]](_0x5ba7xa)})[_0x6b5f[8]](function(_0x5ba7x8){return handleError(_0x5ba7x6,_0x5ba7x8)})};exports[_0x6b5f[16]]=function(_0x5ba7x5,_0x5ba7x6){return ReportIntegration[_0x6b5f[16]](_0x5ba7x5[_0x6b5f[17]])[_0x6b5f[11]](function(_0x5ba7xb){return _0x5ba7x6[_0x6b5f[10]](201)[_0x6b5f[9]](_0x5ba7xb)})[_0x6b5f[8]](function(_0x5ba7x8){return handleError(_0x5ba7x6,_0x5ba7x8)})};function handleError(_0x5ba7x6,_0x5ba7x8){return _0x5ba7x6[_0x6b5f[10]](500)[_0x6b5f[9]](_0x5ba7x8)} \ No newline at end of file +var _0x495d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x52\x65\x70\x6F\x72\x74\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x73\x63\x72\x69\x62\x65","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79"];_0x495d[0];var _=require(_0x495d[1]);var ReportIntegration=require(_0x495d[3])[_0x495d[2]];var ReportIntegrationHistory=require(_0x495d[3])[_0x495d[5]][_0x495d[4]];var Util=require(_0x495d[6]);exports[_0x495d[7]]=function(_0x5490x5,_0x5490x6,_0x5490x7){return ReportIntegration[_0x495d[14]](Util[_0x495d[13]](_0x5490x5[_0x495d[12]]))[_0x495d[11]](function(_0x5490x9){return _0x5490x6[_0x495d[10]](200)[_0x495d[9]](_0x5490x9)})[_0x495d[8]](function(_0x5490x8){return handleError(_0x5490x6,_0x5490x8)})};exports[_0x495d[15]]=function(_0x5490x5,_0x5490x6){return ReportIntegrationHistory[_0x495d[15]]()[_0x495d[11]](function(_0x5490xa){return _0x5490x6[_0x495d[10]](200)[_0x495d[9]](_0x5490xa)})[_0x495d[8]](function(_0x5490x8){return handleError(_0x5490x6,_0x5490x8)})};exports[_0x495d[16]]=function(_0x5490x5,_0x5490x6){return ReportIntegration[_0x495d[16]](_0x5490x5[_0x495d[17]])[_0x495d[11]](function(_0x5490xb){return _0x5490x6[_0x495d[10]](201)[_0x495d[9]](_0x5490xb)})[_0x495d[8]](function(_0x5490x8){return handleError(_0x5490x6,_0x5490x8)})};function handleError(_0x5490x6,_0x5490x8){return _0x5490x6[_0x495d[10]](500)[_0x495d[9]](_0x5490x8)} \ No newline at end of file diff --git a/server/api/report_integration/report_integration.socket.js b/server/api/report_integration/report_integration.socket.js index e0bdcb3..dd7d225 100644 --- a/server/api/report_integration/report_integration.socket.js +++ b/server/api/report_integration/report_integration.socket.js @@ -1 +1 @@ -var _0xf08c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x75\x74\x69\x6C","\x52\x65\x70\x6F\x72\x74\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x73\x6F\x63\x6B\x65\x74\x20\x6E\x61\x6D\x65\x20\x69\x73\x20","\x6E\x61\x6D\x65","\x6C\x6F\x67","\x64\x6F\x63\x20\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65\x20\x69\x73\x20","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x65\x6D\x69\x74\x74\x69\x6E\x67","\x72\x65\x70\x6F\x72\x74\x5F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x3A\x25\x73","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x66\x6F\x72\x6D\x61\x74","\x65\x6D\x69\x74"];_0xf08c[0];var util=require(_0xf08c[1]);var ReportIntegration=require(_0xf08c[3])[_0xf08c[2]];exports[_0xf08c[4]]=function(_0x7a1bx3){ReportIntegration[_0xf08c[5]](function(_0x7a1bx4){onSave(_0x7a1bx3,_0x7a1bx4)})};function onSave(_0x7a1bx3,_0x7a1bx4,_0x7a1bx6){console[_0xf08c[8]](_0xf08c[6],_0x7a1bx3[_0xf08c[7]]);console[_0xf08c[8]](_0xf08c[9],_0x7a1bx4[_0xf08c[10]]);if(_0x7a1bx3[_0xf08c[7]]===_0x7a1bx4[_0xf08c[10]]){console[_0xf08c[8]](_0xf08c[11]);_0x7a1bx3[_0xf08c[15]](util[_0xf08c[14]](_0xf08c[12],_0x7a1bx4[_0xf08c[13]]),_0x7a1bx4)}} \ No newline at end of file +var _0x5220=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x75\x74\x69\x6C","\x52\x65\x70\x6F\x72\x74\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x73\x6F\x63\x6B\x65\x74\x20\x6E\x61\x6D\x65\x20\x69\x73\x20","\x6E\x61\x6D\x65","\x6C\x6F\x67","\x64\x6F\x63\x20\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65\x20\x69\x73\x20","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x65\x6D\x69\x74\x74\x69\x6E\x67","\x72\x65\x70\x6F\x72\x74\x5F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x3A\x25\x73","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x66\x6F\x72\x6D\x61\x74","\x65\x6D\x69\x74"];_0x5220[0];var util=require(_0x5220[1]);var ReportIntegration=require(_0x5220[3])[_0x5220[2]];exports[_0x5220[4]]=function(_0x6dc8x3){ReportIntegration[_0x5220[5]](function(_0x6dc8x4){onSave(_0x6dc8x3,_0x6dc8x4)})};function onSave(_0x6dc8x3,_0x6dc8x4,_0x6dc8x6){console[_0x5220[8]](_0x5220[6],_0x6dc8x3[_0x5220[7]]);console[_0x5220[8]](_0x5220[9],_0x6dc8x4[_0x5220[10]]);if(_0x6dc8x3[_0x5220[7]]===_0x6dc8x4[_0x5220[10]]){console[_0x5220[8]](_0x5220[11]);_0x6dc8x3[_0x5220[15]](util[_0x5220[14]](_0x5220[12],_0x6dc8x4[_0x5220[13]]),_0x6dc8x4)}} \ No newline at end of file diff --git a/server/api/report_mail/index.js b/server/api/report_mail/index.js index 3138e41..83ff5dc 100644 --- a/server/api/report_mail/index.js +++ b/server/api/report_mail/index.js @@ -1 +1 @@ -var _0x1bd3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x68\x61\x73\x4D\x61\x69\x6C","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64\x2F\x61\x63\x63\x65\x70\x74\x2F\x3A\x75\x6E\x69\x71\x75\x65\x69\x64","\x61\x67\x65\x6E\x74","\x68\x61\x73\x52\x6F\x6C\x65","\x61\x63\x63\x65\x70\x74","\x2F\x3A\x69\x64\x2F\x72\x65\x6A\x65\x63\x74","\x72\x65\x6A\x65\x63\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x1bd3[0];var express=require(_0x1bd3[1]);var controller=require(_0x1bd3[2]);var auth=require(_0x1bd3[3]);var license=require(_0x1bd3[4]);var router=express.Router();router[_0x1bd3[11]](_0x1bd3[5],auth[_0x1bd3[6]](),license[_0x1bd3[7]](),auth[_0x1bd3[9]]([17],[_0x1bd3[8]]),controller[_0x1bd3[10]]);router[_0x1bd3[11]](_0x1bd3[12],auth[_0x1bd3[6]](),license[_0x1bd3[7]](),auth[_0x1bd3[14]](_0x1bd3[13]),controller[_0x1bd3[15]]);router[_0x1bd3[11]](_0x1bd3[16],auth[_0x1bd3[6]](),license[_0x1bd3[7]](),auth[_0x1bd3[14]](_0x1bd3[13]),controller[_0x1bd3[17]]);module[_0x1bd3[18]]=router \ No newline at end of file +var _0x283f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x68\x61\x73\x4D\x61\x69\x6C","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64\x2F\x61\x63\x63\x65\x70\x74\x2F\x3A\x75\x6E\x69\x71\x75\x65\x69\x64","\x61\x67\x65\x6E\x74","\x68\x61\x73\x52\x6F\x6C\x65","\x61\x63\x63\x65\x70\x74","\x2F\x3A\x69\x64\x2F\x72\x65\x6A\x65\x63\x74","\x72\x65\x6A\x65\x63\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x283f[0];var express=require(_0x283f[1]);var controller=require(_0x283f[2]);var auth=require(_0x283f[3]);var license=require(_0x283f[4]);var router=express.Router();router[_0x283f[11]](_0x283f[5],auth[_0x283f[6]](),license[_0x283f[7]](),auth[_0x283f[9]]([17],[_0x283f[8]]),controller[_0x283f[10]]);router[_0x283f[11]](_0x283f[12],auth[_0x283f[6]](),license[_0x283f[7]](),auth[_0x283f[14]](_0x283f[13]),controller[_0x283f[15]]);router[_0x283f[11]](_0x283f[16],auth[_0x283f[6]](),license[_0x283f[7]](),auth[_0x283f[14]](_0x283f[13]),controller[_0x283f[17]]);module[_0x283f[18]]=router \ No newline at end of file diff --git a/server/api/report_mail/report_mail.controller.js b/server/api/report_mail/report_mail.controller.js index c47ff08..0e7c41c 100644 --- a/server/api/report_mail/report_mail.controller.js +++ b/server/api/report_mail/report_mail.controller.js @@ -1 +1 @@ -var _0x8c43=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x6F\x6D\x65\x6E\x74","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x61\x63\x63\x65\x70\x74","\x2E","\x73\x70\x6C\x69\x74","\x75\x6E\x69\x71\x75\x65\x69\x64","\x70\x61\x72\x61\x6D\x73","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x4F\x50\x45\x4E","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x69\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x72\x65\x6A\x65\x63\x74","\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"];_0x8c43[0];var _=require(_0x8c43[1]);var moment=require(_0x8c43[2]);var ReportMail=require(_0x8c43[4])[_0x8c43[3]];var MailRoom=require(_0x8c43[4])[_0x8c43[5]];var sequelize=require(_0x8c43[4])[_0x8c43[6]];var Agent=require(_0x8c43[4])[_0x8c43[7]];var Util=require(_0x8c43[8]);exports[_0x8c43[9]]=function(_0x3602x8,_0x3602x9,_0x3602xa){return ReportMail[_0x8c43[16]](Util[_0x8c43[15]](_0x3602x8[_0x8c43[14]]))[_0x8c43[13]](function(_0x3602xc){_0x3602x9[_0x8c43[12]](200)[_0x8c43[11]](_0x3602xc)})[_0x8c43[10]](function(_0x3602xb){return handleError(_0x3602x9,_0x3602xb)})};exports[_0x8c43[17]]=function(_0x3602x8,_0x3602x9){var _0x3602xd;var _0x3602xe=_0x3602x8[_0x8c43[21]][_0x8c43[20]][_0x8c43[19]](_0x8c43[18])[1];return ReportMail[_0x8c43[28]](_0x3602x8[_0x8c43[21]][_0x8c43[27]])[_0x8c43[13]](function(_0x3602xf){if(!_0x3602xf){return _0x3602x9[_0x8c43[22]](404)};var _0x3602x10=_[_0x8c43[25]](_0x3602xf,{connectid:_0x3602x8[_0x8c43[21]][_0x8c43[20]]});return _0x3602x10[_0x8c43[26]]()})[_0x8c43[13]](function(){return MailRoom[_0x8c43[24]]({status:_0x8c43[23]},{where:{id:_0x3602xe}})})[_0x8c43[13]](function(){return _0x3602x9[_0x8c43[22]](200)})[_0x8c43[10]](sequelize.UniqueConstraintError,function(_0x3602xb){return _0x3602x9[_0x8c43[22]](504)})[_0x8c43[10]](function(_0x3602xb){return handleError(_0x3602x9,_0x3602xb)})};exports[_0x8c43[29]]=function(_0x3602x8,_0x3602x9){return ReportMail[_0x8c43[28]](_0x3602x8[_0x8c43[21]][_0x8c43[27]])[_0x8c43[13]](function(_0x3602xf){if(!_0x3602xf){return _0x3602x9[_0x8c43[22]](404)};var _0x3602x10=_[_0x8c43[25]](_0x3602xf,{rejectedAt:moment()[_0x8c43[31]](_0x8c43[30])});return _0x3602x10[_0x8c43[26]]()})[_0x8c43[13]](function(){return _0x3602x9[_0x8c43[22]](200)})[_0x8c43[10]](function(_0x3602xb){return handleError(_0x3602x9,_0x3602xb)})};function handleError(_0x3602x9,_0x3602xb){return _0x3602x9[_0x8c43[12]](500)[_0x8c43[11]](_0x3602xb)} \ No newline at end of file +var _0xdde6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x6F\x6D\x65\x6E\x74","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x61\x63\x63\x65\x70\x74","\x2E","\x73\x70\x6C\x69\x74","\x75\x6E\x69\x71\x75\x65\x69\x64","\x70\x61\x72\x61\x6D\x73","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x4F\x50\x45\x4E","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x69\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x72\x65\x6A\x65\x63\x74","\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"];_0xdde6[0];var _=require(_0xdde6[1]);var moment=require(_0xdde6[2]);var ReportMail=require(_0xdde6[4])[_0xdde6[3]];var MailRoom=require(_0xdde6[4])[_0xdde6[5]];var sequelize=require(_0xdde6[4])[_0xdde6[6]];var Agent=require(_0xdde6[4])[_0xdde6[7]];var Util=require(_0xdde6[8]);exports[_0xdde6[9]]=function(_0xfb40x8,_0xfb40x9,_0xfb40xa){return ReportMail[_0xdde6[16]](Util[_0xdde6[15]](_0xfb40x8[_0xdde6[14]]))[_0xdde6[13]](function(_0xfb40xc){_0xfb40x9[_0xdde6[12]](200)[_0xdde6[11]](_0xfb40xc)})[_0xdde6[10]](function(_0xfb40xb){return handleError(_0xfb40x9,_0xfb40xb)})};exports[_0xdde6[17]]=function(_0xfb40x8,_0xfb40x9){var _0xfb40xd;var _0xfb40xe=_0xfb40x8[_0xdde6[21]][_0xdde6[20]][_0xdde6[19]](_0xdde6[18])[1];return ReportMail[_0xdde6[28]](_0xfb40x8[_0xdde6[21]][_0xdde6[27]])[_0xdde6[13]](function(_0xfb40xf){if(!_0xfb40xf){return _0xfb40x9[_0xdde6[22]](404)};var _0xfb40x10=_[_0xdde6[25]](_0xfb40xf,{connectid:_0xfb40x8[_0xdde6[21]][_0xdde6[20]]});return _0xfb40x10[_0xdde6[26]]()})[_0xdde6[13]](function(){return MailRoom[_0xdde6[24]]({status:_0xdde6[23]},{where:{id:_0xfb40xe}})})[_0xdde6[13]](function(){return _0xfb40x9[_0xdde6[22]](200)})[_0xdde6[10]](sequelize.UniqueConstraintError,function(_0xfb40xb){return _0xfb40x9[_0xdde6[22]](504)})[_0xdde6[10]](function(_0xfb40xb){return handleError(_0xfb40x9,_0xfb40xb)})};exports[_0xdde6[29]]=function(_0xfb40x8,_0xfb40x9){return ReportMail[_0xdde6[28]](_0xfb40x8[_0xdde6[21]][_0xdde6[27]])[_0xdde6[13]](function(_0xfb40xf){if(!_0xfb40xf){return _0xfb40x9[_0xdde6[22]](404)};var _0xfb40x10=_[_0xdde6[25]](_0xfb40xf,{rejectedAt:moment()[_0xdde6[31]](_0xdde6[30])});return _0xfb40x10[_0xdde6[26]]()})[_0xdde6[13]](function(){return _0xfb40x9[_0xdde6[22]](200)})[_0xdde6[10]](function(_0xfb40xb){return handleError(_0xfb40x9,_0xfb40xb)})};function handleError(_0xfb40x9,_0xfb40xb){return _0xfb40x9[_0xdde6[12]](500)[_0xdde6[11]](_0xfb40xb)} \ No newline at end of file diff --git a/server/api/report_mail/report_mail.socket.js b/server/api/report_mail/report_mail.socket.js index 1331919..25f0bd9 100644 --- a/server/api/report_mail/report_mail.socket.js +++ b/server/api/report_mail/report_mail.socket.js @@ -1 +1 @@ -var _0xbf3e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6E\x61\x6D\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x72\x6F\x6C\x65","\x61\x64\x6D\x69\x6E","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x3A\x75\x70\x64\x61\x74\x65","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x3A\x72\x65\x6D\x6F\x76\x65"];_0xbf3e[0];var ReportMail=require(_0xbf3e[2])[_0xbf3e[1]];exports[_0xbf3e[3]]=function(_0xd03ax2){ReportMail[_0xbf3e[4]](function(_0xd03ax3){onSave(_0xd03ax2,_0xd03ax3)});ReportMail[_0xbf3e[5]](function(_0xd03ax3){onUpdate(_0xd03ax2,_0xd03ax3)});ReportMail[_0xbf3e[6]](function(_0xd03ax3){onRemove(_0xd03ax2,_0xd03ax3)})};function onSave(_0xd03ax2,_0xd03ax3,_0xd03ax5){if(_0xd03ax2[_0xbf3e[7]]===_0xd03ax3[_0xbf3e[8]]||_0xd03ax2[_0xbf3e[9]]===_0xbf3e[10]){_0xd03ax2[_0xbf3e[12]](_0xbf3e[11],_0xd03ax3)}}function onUpdate(_0xd03ax2,_0xd03ax3,_0xd03ax5){if(_0xd03ax2[_0xbf3e[7]]===_0xd03ax3[_0xbf3e[8]]||_0xd03ax2[_0xbf3e[9]]===_0xbf3e[10]){_0xd03ax2[_0xbf3e[12]](_0xbf3e[13],_0xd03ax3)}}function onRemove(_0xd03ax2,_0xd03ax3,_0xd03ax5){_0xd03ax2[_0xbf3e[12]](_0xbf3e[14],_0xd03ax3)} \ No newline at end of file +var _0x6df6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6E\x61\x6D\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x72\x6F\x6C\x65","\x61\x64\x6D\x69\x6E","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x3A\x75\x70\x64\x61\x74\x65","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x3A\x72\x65\x6D\x6F\x76\x65"];_0x6df6[0];var ReportMail=require(_0x6df6[2])[_0x6df6[1]];exports[_0x6df6[3]]=function(_0xde7cx2){ReportMail[_0x6df6[4]](function(_0xde7cx3){onSave(_0xde7cx2,_0xde7cx3)});ReportMail[_0x6df6[5]](function(_0xde7cx3){onUpdate(_0xde7cx2,_0xde7cx3)});ReportMail[_0x6df6[6]](function(_0xde7cx3){onRemove(_0xde7cx2,_0xde7cx3)})};function onSave(_0xde7cx2,_0xde7cx3,_0xde7cx5){if(_0xde7cx2[_0x6df6[7]]===_0xde7cx3[_0x6df6[8]]||_0xde7cx2[_0x6df6[9]]===_0x6df6[10]){_0xde7cx2[_0x6df6[12]](_0x6df6[11],_0xde7cx3)}}function onUpdate(_0xde7cx2,_0xde7cx3,_0xde7cx5){if(_0xde7cx2[_0x6df6[7]]===_0xde7cx3[_0x6df6[8]]||_0xde7cx2[_0x6df6[9]]===_0x6df6[10]){_0xde7cx2[_0x6df6[12]](_0x6df6[13],_0xde7cx3)}}function onRemove(_0xde7cx2,_0xde7cx3,_0xde7cx5){_0xde7cx2[_0x6df6[12]](_0x6df6[14],_0xde7cx3)} \ No newline at end of file diff --git a/server/api/report_mail_room/index.js b/server/api/report_mail_room/index.js index 6dbfe9f..9ae2dbd 100644 --- a/server/api/report_mail_room/index.js +++ b/server/api/report_mail_room/index.js @@ -1 +1 @@ -var _0xb1c6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x68\x61\x73\x4D\x61\x69\x6C","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x2F\x6F\x70\x65\x6E","\x61\x67\x65\x6E\x74","\x6F\x70\x65\x6E","\x2F\x63\x6C\x6F\x73\x65\x64","\x63\x6C\x6F\x73\x65\x64","\x2F\x6E\x65\x77","\x6E\x65\x77","\x2F\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x65\x78\x70\x6F\x72\x74\x73"];_0xb1c6[0];var express=require(_0xb1c6[1]);var auth=require(_0xb1c6[2]);var controller=require(_0xb1c6[3]);var license=require(_0xb1c6[4]);var router=express.Router();router[_0xb1c6[11]](_0xb1c6[5],auth[_0xb1c6[6]](),license[_0xb1c6[7]](),auth[_0xb1c6[9]]([17],[_0xb1c6[8]]),controller[_0xb1c6[10]]);router[_0xb1c6[11]](_0xb1c6[12],auth[_0xb1c6[6]](),license[_0xb1c6[7]](),auth[_0xb1c6[9]]([17],[_0xb1c6[8]]),controller[_0xb1c6[13]]);router[_0xb1c6[11]](_0xb1c6[14],auth[_0xb1c6[6]](),license[_0xb1c6[7]](),auth[_0xb1c6[9]]([1],[_0xb1c6[8],_0xb1c6[15]]),controller[_0xb1c6[16]]);router[_0xb1c6[11]](_0xb1c6[17],auth[_0xb1c6[6]](),license[_0xb1c6[7]](),auth[_0xb1c6[9]]([1],[_0xb1c6[8],_0xb1c6[15]]),controller[_0xb1c6[18]]);router[_0xb1c6[11]](_0xb1c6[19],auth[_0xb1c6[6]](),license[_0xb1c6[7]](),auth[_0xb1c6[9]]([1],[_0xb1c6[8],_0xb1c6[15]]),controller[_0xb1c6[20]]);router[_0xb1c6[11]](_0xb1c6[21],auth[_0xb1c6[6]](),license[_0xb1c6[7]](),auth[_0xb1c6[9]]([1],[_0xb1c6[8],_0xb1c6[15]]),controller[_0xb1c6[22]]);module[_0xb1c6[23]]=router \ No newline at end of file +var _0x9b2c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x68\x61\x73\x4D\x61\x69\x6C","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x2F\x6F\x70\x65\x6E","\x61\x67\x65\x6E\x74","\x6F\x70\x65\x6E","\x2F\x63\x6C\x6F\x73\x65\x64","\x63\x6C\x6F\x73\x65\x64","\x2F\x6E\x65\x77","\x6E\x65\x77","\x2F\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x65\x78\x70\x6F\x72\x74\x73"];_0x9b2c[0];var express=require(_0x9b2c[1]);var auth=require(_0x9b2c[2]);var controller=require(_0x9b2c[3]);var license=require(_0x9b2c[4]);var router=express.Router();router[_0x9b2c[11]](_0x9b2c[5],auth[_0x9b2c[6]](),license[_0x9b2c[7]](),auth[_0x9b2c[9]]([17],[_0x9b2c[8]]),controller[_0x9b2c[10]]);router[_0x9b2c[11]](_0x9b2c[12],auth[_0x9b2c[6]](),license[_0x9b2c[7]](),auth[_0x9b2c[9]]([17],[_0x9b2c[8]]),controller[_0x9b2c[13]]);router[_0x9b2c[11]](_0x9b2c[14],auth[_0x9b2c[6]](),license[_0x9b2c[7]](),auth[_0x9b2c[9]]([1],[_0x9b2c[8],_0x9b2c[15]]),controller[_0x9b2c[16]]);router[_0x9b2c[11]](_0x9b2c[17],auth[_0x9b2c[6]](),license[_0x9b2c[7]](),auth[_0x9b2c[9]]([1],[_0x9b2c[8],_0x9b2c[15]]),controller[_0x9b2c[18]]);router[_0x9b2c[11]](_0x9b2c[19],auth[_0x9b2c[6]](),license[_0x9b2c[7]](),auth[_0x9b2c[9]]([1],[_0x9b2c[8],_0x9b2c[15]]),controller[_0x9b2c[20]]);router[_0x9b2c[11]](_0x9b2c[21],auth[_0x9b2c[6]](),license[_0x9b2c[7]](),auth[_0x9b2c[9]]([1],[_0x9b2c[8],_0x9b2c[15]]),controller[_0x9b2c[22]]);module[_0x9b2c[23]]=router \ No newline at end of file diff --git a/server/api/report_mail_room/report_mail_room.controller.js b/server/api/report_mail_room/report_mail_room.controller.js index 41d1dfe..3c5e4bd 100644 --- a/server/api/report_mail_room/report_mail_room.controller.js +++ b/server/api/report_mail_room/report_mail_room.controller.js @@ -1 +1 @@ -var _0x229c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x55\x73\x65\x72","\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x64","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x72\x6F\x77\x73","\x67\x65\x74\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x73\x65\x72","\x72\x6F\x6C\x65","\x6F\x70\x65\x6E","\x63\x61\x74\x63\x68","\x4F\x50\x45\x4E","\x6D\x65\x72\x67\x65","\x63\x6F\x75\x6E\x74","\x61\x6C\x6C","\x63\x6C\x6F\x73\x65\x64","\x43\x4C\x4F\x53\x45\x44","\x6E\x65\x77","\x4E\x45\x57","\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x69\x6E\x64\x65\x78","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x73\x63\x72\x69\x62\x65"];_0x229c[0];var _=require(_0x229c[1]);var Util=require(_0x229c[2]);var ReportMailRoom=require(_0x229c[4])[_0x229c[3]];var MailRoom=require(_0x229c[4])[_0x229c[5]];var ReportMailRoomHistory=require(_0x229c[4])[_0x229c[7]][_0x229c[6]];var User=require(_0x229c[4])[_0x229c[8]];var MailQueue=require(_0x229c[4])[_0x229c[9]];function handleError(_0x8bd3x9,_0x8bd3xa){_0x8bd3xa=_0x8bd3xa||500;return function(_0x8bd3xb){_0x8bd3x9[_0x229c[11]](_0x8bd3xa)[_0x229c[10]](_0x8bd3xb)}}function responseWithResult(_0x8bd3x9,_0x8bd3xa){_0x8bd3xa=_0x8bd3xa||200;return function(_0x8bd3xd){if(_0x8bd3xd){_0x8bd3x9[_0x229c[11]](_0x8bd3xa)[_0x229c[12]](_0x8bd3xd)}}}function responseWithoutResult(_0x8bd3x9,_0x8bd3xa){_0x8bd3xa=_0x8bd3xa||204;return function(){_0x8bd3x9[_0x229c[13]](_0x8bd3xa)}}function handleEntityNotFound(_0x8bd3x9){return function(_0x8bd3xd){if(!_0x8bd3xd){_0x8bd3x9[_0x229c[11]](404)[_0x229c[14]]();return null};return _0x8bd3xd}}function saveUpdates(_0x8bd3x11){return function(_0x8bd3xd){return _0x8bd3xd[_0x229c[16]](_0x8bd3x11)[_0x229c[15]](function(_0x8bd3x12){return _0x8bd3x12})}}function removeEntity(_0x8bd3x9){return function(_0x8bd3xd){if(_0x8bd3xd){return _0x8bd3xd[_0x229c[17]]()[_0x229c[15]](function(){_0x8bd3x9[_0x229c[11]](204)[_0x229c[14]]()})}}}function getMailQueues(_0x8bd3x15){return function(){switch(_0x8bd3x15[_0x229c[26]]){case _0x229c[25]:return User[_0x229c[24]](_0x8bd3x15[_0x229c[18]],{attributes:[_0x229c[18]]})[_0x229c[15]](Util[_0x229c[23]]({},{attributes:[_0x229c[18]],include:[{raw:true,model:User,attributes:[_0x229c[18]]}]}))[_0x229c[15]](function(_0x8bd3x16){var _0x8bd3x17=[];_0x8bd3x16[_0x229c[22]][_0x229c[21]](function(_0x8bd3x18){_0x8bd3x17=_[_0x229c[20]](_0x8bd3x17,_[_0x229c[19]](_0x8bd3x18.Users,_0x229c[18]))});return {where:{$or:{queue:_[_0x229c[19]](_0x8bd3x16[_0x229c[22]],_0x229c[18]),memberid:_0x8bd3x17}}}});default:return {}}}}exports[_0x229c[27]]=function(_0x8bd3x19,_0x8bd3x9){return Promise[_0x229c[32]]([])[_0x229c[15]](getMailQueues(_0x8bd3x19[_0x229c[25]]))[_0x229c[15]](function(_0x8bd3x1b){return MailRoom[_0x229c[31]](_[_0x229c[30]]({where:{status:_0x229c[29]}},_0x8bd3x1b))})[_0x229c[15]](function(_0x8bd3x1a){return _0x8bd3x9[_0x229c[11]](200)[_0x229c[10]]({value:_0x8bd3x1a})})[_0x229c[28]](handleError(_0x8bd3x9))};exports[_0x229c[33]]=function(_0x8bd3x19,_0x8bd3x9){return Promise[_0x229c[32]]([])[_0x229c[15]](getMailQueues(_0x8bd3x19[_0x229c[25]]))[_0x229c[15]](function(_0x8bd3x1b){return MailRoom[_0x229c[31]](_[_0x229c[30]]({where:{status:_0x229c[34]}},_0x8bd3x1b))})[_0x229c[15]](function(_0x8bd3x1a){return _0x8bd3x9[_0x229c[11]](200)[_0x229c[10]]({value:_0x8bd3x1a})})[_0x229c[28]](handleError(_0x8bd3x9))};exports[_0x229c[35]]=function(_0x8bd3x19,_0x8bd3x9){return Promise[_0x229c[32]]([])[_0x229c[15]](getMailQueues(_0x8bd3x19[_0x229c[25]]))[_0x229c[15]](function(_0x8bd3x1b){return MailRoom[_0x229c[31]](_[_0x229c[30]]({where:{status:_0x229c[36]}},_0x8bd3x1b))})[_0x229c[15]](function(_0x8bd3x1a){return _0x8bd3x9[_0x229c[11]](200)[_0x229c[10]]({value:_0x8bd3x1a})})[_0x229c[28]](handleError(_0x8bd3x9))};exports[_0x229c[37]]=function(_0x8bd3x19,_0x8bd3x9){return Promise[_0x229c[32]]([])[_0x229c[15]](getMailQueues(_0x8bd3x19[_0x229c[25]]))[_0x229c[15]](function(_0x8bd3x1b){return MailRoom[_0x229c[31]](_[_0x229c[30]]({where:{status:_0x229c[38]}},_0x8bd3x1b))})[_0x229c[15]](function(_0x8bd3x1a){return _0x8bd3x9[_0x229c[11]](200)[_0x229c[10]]({value:_0x8bd3x1a})})[_0x229c[28]](handleError(_0x8bd3x9))};exports[_0x229c[39]]=function(_0x8bd3x19,_0x8bd3x9,_0x8bd3x1c){return ReportMailRoom[_0x229c[42]](Util[_0x229c[41]](_0x8bd3x19[_0x229c[40]]))[_0x229c[15]](function(_0x8bd3x1d){return _0x8bd3x9[_0x229c[11]](200)[_0x229c[10]](_0x8bd3x1d)})[_0x229c[28]](handleError(_0x8bd3x9))};exports[_0x229c[43]]=function(_0x8bd3x19,_0x8bd3x9){return ReportMailRoomHistory[_0x229c[43]]()[_0x229c[15]](responseWithResult(_0x8bd3x9))[_0x229c[28]](handleError(_0x8bd3x9))} \ No newline at end of file +var _0x59af=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x55\x73\x65\x72","\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x64","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x72\x6F\x77\x73","\x67\x65\x74\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x73\x65\x72","\x72\x6F\x6C\x65","\x6F\x70\x65\x6E","\x63\x61\x74\x63\x68","\x4F\x50\x45\x4E","\x6D\x65\x72\x67\x65","\x63\x6F\x75\x6E\x74","\x61\x6C\x6C","\x63\x6C\x6F\x73\x65\x64","\x43\x4C\x4F\x53\x45\x44","\x6E\x65\x77","\x4E\x45\x57","\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x69\x6E\x64\x65\x78","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x73\x63\x72\x69\x62\x65"];_0x59af[0];var _=require(_0x59af[1]);var Util=require(_0x59af[2]);var ReportMailRoom=require(_0x59af[4])[_0x59af[3]];var MailRoom=require(_0x59af[4])[_0x59af[5]];var ReportMailRoomHistory=require(_0x59af[4])[_0x59af[7]][_0x59af[6]];var User=require(_0x59af[4])[_0x59af[8]];var MailQueue=require(_0x59af[4])[_0x59af[9]];function handleError(_0xf809x9,_0xf809xa){_0xf809xa=_0xf809xa||500;return function(_0xf809xb){_0xf809x9[_0x59af[11]](_0xf809xa)[_0x59af[10]](_0xf809xb)}}function responseWithResult(_0xf809x9,_0xf809xa){_0xf809xa=_0xf809xa||200;return function(_0xf809xd){if(_0xf809xd){_0xf809x9[_0x59af[11]](_0xf809xa)[_0x59af[12]](_0xf809xd)}}}function responseWithoutResult(_0xf809x9,_0xf809xa){_0xf809xa=_0xf809xa||204;return function(){_0xf809x9[_0x59af[13]](_0xf809xa)}}function handleEntityNotFound(_0xf809x9){return function(_0xf809xd){if(!_0xf809xd){_0xf809x9[_0x59af[11]](404)[_0x59af[14]]();return null};return _0xf809xd}}function saveUpdates(_0xf809x11){return function(_0xf809xd){return _0xf809xd[_0x59af[16]](_0xf809x11)[_0x59af[15]](function(_0xf809x12){return _0xf809x12})}}function removeEntity(_0xf809x9){return function(_0xf809xd){if(_0xf809xd){return _0xf809xd[_0x59af[17]]()[_0x59af[15]](function(){_0xf809x9[_0x59af[11]](204)[_0x59af[14]]()})}}}function getMailQueues(_0xf809x15){return function(){switch(_0xf809x15[_0x59af[26]]){case _0x59af[25]:return User[_0x59af[24]](_0xf809x15[_0x59af[18]],{attributes:[_0x59af[18]]})[_0x59af[15]](Util[_0x59af[23]]({},{attributes:[_0x59af[18]],include:[{raw:true,model:User,attributes:[_0x59af[18]]}]}))[_0x59af[15]](function(_0xf809x16){var _0xf809x17=[];_0xf809x16[_0x59af[22]][_0x59af[21]](function(_0xf809x18){_0xf809x17=_[_0x59af[20]](_0xf809x17,_[_0x59af[19]](_0xf809x18.Users,_0x59af[18]))});return {where:{$or:{queue:_[_0x59af[19]](_0xf809x16[_0x59af[22]],_0x59af[18]),memberid:_0xf809x17}}}});default:return {}}}}exports[_0x59af[27]]=function(_0xf809x19,_0xf809x9){return Promise[_0x59af[32]]([])[_0x59af[15]](getMailQueues(_0xf809x19[_0x59af[25]]))[_0x59af[15]](function(_0xf809x1b){return MailRoom[_0x59af[31]](_[_0x59af[30]]({where:{status:_0x59af[29]}},_0xf809x1b))})[_0x59af[15]](function(_0xf809x1a){return _0xf809x9[_0x59af[11]](200)[_0x59af[10]]({value:_0xf809x1a})})[_0x59af[28]](handleError(_0xf809x9))};exports[_0x59af[33]]=function(_0xf809x19,_0xf809x9){return Promise[_0x59af[32]]([])[_0x59af[15]](getMailQueues(_0xf809x19[_0x59af[25]]))[_0x59af[15]](function(_0xf809x1b){return MailRoom[_0x59af[31]](_[_0x59af[30]]({where:{status:_0x59af[34]}},_0xf809x1b))})[_0x59af[15]](function(_0xf809x1a){return _0xf809x9[_0x59af[11]](200)[_0x59af[10]]({value:_0xf809x1a})})[_0x59af[28]](handleError(_0xf809x9))};exports[_0x59af[35]]=function(_0xf809x19,_0xf809x9){return Promise[_0x59af[32]]([])[_0x59af[15]](getMailQueues(_0xf809x19[_0x59af[25]]))[_0x59af[15]](function(_0xf809x1b){return MailRoom[_0x59af[31]](_[_0x59af[30]]({where:{status:_0x59af[36]}},_0xf809x1b))})[_0x59af[15]](function(_0xf809x1a){return _0xf809x9[_0x59af[11]](200)[_0x59af[10]]({value:_0xf809x1a})})[_0x59af[28]](handleError(_0xf809x9))};exports[_0x59af[37]]=function(_0xf809x19,_0xf809x9){return Promise[_0x59af[32]]([])[_0x59af[15]](getMailQueues(_0xf809x19[_0x59af[25]]))[_0x59af[15]](function(_0xf809x1b){return MailRoom[_0x59af[31]](_[_0x59af[30]]({where:{status:_0x59af[38]}},_0xf809x1b))})[_0x59af[15]](function(_0xf809x1a){return _0xf809x9[_0x59af[11]](200)[_0x59af[10]]({value:_0xf809x1a})})[_0x59af[28]](handleError(_0xf809x9))};exports[_0x59af[39]]=function(_0xf809x19,_0xf809x9,_0xf809x1c){return ReportMailRoom[_0x59af[42]](Util[_0x59af[41]](_0xf809x19[_0x59af[40]]))[_0x59af[15]](function(_0xf809x1d){return _0xf809x9[_0x59af[11]](200)[_0x59af[10]](_0xf809x1d)})[_0x59af[28]](handleError(_0xf809x9))};exports[_0x59af[43]]=function(_0xf809x19,_0xf809x9){return ReportMailRoomHistory[_0x59af[43]]()[_0x59af[15]](responseWithResult(_0xf809x9))[_0x59af[28]](handleError(_0xf809x9))} \ No newline at end of file diff --git a/server/api/report_mail_room/report_mail_room.socket.js b/server/api/report_mail_room/report_mail_room.socket.js index 3cb8893..b30bb57 100644 --- a/server/api/report_mail_room/report_mail_room.socket.js +++ b/server/api/report_mail_room/report_mail_room.socket.js @@ -1 +1 @@ -var _0xa794=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x3A\x72\x65\x6D\x6F\x76\x65"];_0xa794[0];var ReportMailRoom=require(_0xa794[2])[_0xa794[1]];exports[_0xa794[3]]=function(_0xae6cx2){ReportMailRoom[_0xa794[4]](function(_0xae6cx3){onSave(_0xae6cx2,_0xae6cx3)});ReportMailRoom[_0xa794[5]](function(_0xae6cx3){onRemove(_0xae6cx2,_0xae6cx3)})};function onSave(_0xae6cx2,_0xae6cx3,_0xae6cx5){_0xae6cx2[_0xa794[7]](_0xa794[6],_0xae6cx3)}function onRemove(_0xae6cx2,_0xae6cx3,_0xae6cx5){_0xae6cx2[_0xa794[7]](_0xa794[8],_0xae6cx3)} \ No newline at end of file +var _0x3dba=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x3A\x72\x65\x6D\x6F\x76\x65"];_0x3dba[0];var ReportMailRoom=require(_0x3dba[2])[_0x3dba[1]];exports[_0x3dba[3]]=function(_0xbbffx2){ReportMailRoom[_0x3dba[4]](function(_0xbbffx3){onSave(_0xbbffx2,_0xbbffx3)});ReportMailRoom[_0x3dba[5]](function(_0xbbffx3){onRemove(_0xbbffx2,_0xbbffx3)})};function onSave(_0xbbffx2,_0xbbffx3,_0xbbffx5){_0xbbffx2[_0x3dba[7]](_0x3dba[6],_0xbbffx3)}function onRemove(_0xbbffx2,_0xbbffx3,_0xbbffx5){_0xbbffx2[_0x3dba[7]](_0x3dba[8],_0xbbffx3)} \ No newline at end of file diff --git a/server/api/report_mail_session/index.js b/server/api/report_mail_session/index.js index 9ea76af..f252679 100644 --- a/server/api/report_mail_session/index.js +++ b/server/api/report_mail_session/index.js @@ -1 +1 @@ -var _0x3535=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x73\x65\x73\x73\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x68\x61\x73\x4D\x61\x69\x6C","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x2F\x77\x61\x69\x74\x69\x6E\x67\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x61\x67\x65\x6E\x74","\x77\x61\x69\x74\x69\x6E\x67\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x65\x78\x70\x6F\x72\x74\x73"];_0x3535[0];var express=require(_0x3535[1]);var controller=require(_0x3535[2]);var auth=require(_0x3535[3]);var license=require(_0x3535[4]);var router=express.Router();router[_0x3535[11]](_0x3535[5],auth[_0x3535[6]](),license[_0x3535[7]](),auth[_0x3535[9]]([17],[_0x3535[8]]),controller[_0x3535[10]]);router[_0x3535[11]](_0x3535[12],auth[_0x3535[6]](),license[_0x3535[7]](),auth[_0x3535[9]]([17],[_0x3535[8]]),controller[_0x3535[13]]);router[_0x3535[11]](_0x3535[14],auth[_0x3535[6]](),license[_0x3535[7]](),auth[_0x3535[9]]([9],[_0x3535[8],_0x3535[15]]),controller[_0x3535[16]]);module[_0x3535[17]]=router \ No newline at end of file +var _0xd5ee=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x73\x65\x73\x73\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x68\x61\x73\x4D\x61\x69\x6C","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x2F\x77\x61\x69\x74\x69\x6E\x67\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x61\x67\x65\x6E\x74","\x77\x61\x69\x74\x69\x6E\x67\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x65\x78\x70\x6F\x72\x74\x73"];_0xd5ee[0];var express=require(_0xd5ee[1]);var controller=require(_0xd5ee[2]);var auth=require(_0xd5ee[3]);var license=require(_0xd5ee[4]);var router=express.Router();router[_0xd5ee[11]](_0xd5ee[5],auth[_0xd5ee[6]](),license[_0xd5ee[7]](),auth[_0xd5ee[9]]([17],[_0xd5ee[8]]),controller[_0xd5ee[10]]);router[_0xd5ee[11]](_0xd5ee[12],auth[_0xd5ee[6]](),license[_0xd5ee[7]](),auth[_0xd5ee[9]]([17],[_0xd5ee[8]]),controller[_0xd5ee[13]]);router[_0xd5ee[11]](_0xd5ee[14],auth[_0xd5ee[6]](),license[_0xd5ee[7]](),auth[_0xd5ee[9]]([9],[_0xd5ee[8],_0xd5ee[15]]),controller[_0xd5ee[16]]);module[_0xd5ee[17]]=router \ No newline at end of file diff --git a/server/api/report_mail_session/report_mail_session.controller.js b/server/api/report_mail_session/report_mail_session.controller.js index 3b6bfc6..9700c01 100644 --- a/server/api/report_mail_session/report_mail_session.controller.js +++ b/server/api/report_mail_session/report_mail_session.controller.js @@ -1 +1 @@ -var _0x367c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x53\x65\x73\x73\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x53\x65\x73\x73\x69\x6F\x6E\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x55\x73\x65\x72","\x62\x6C\x75\x65\x62\x69\x72\x64","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x73\x63\x72\x69\x62\x65","\x69\x64","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x72\x6F\x77\x73","\x67\x65\x74\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x73\x65\x72","\x67\x65\x74\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65","\x77\x61\x69\x74\x69\x6E\x67\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x6C\x6F\x67","\x6D\x65\x72\x67\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x61\x6C\x6C"];_0x367c[0];var _=require(_0x367c[1]);var ReportMailSession=require(_0x367c[3])[_0x367c[2]];var ReportMailSessionHistory=require(_0x367c[3])[_0x367c[5]][_0x367c[4]];var Util=require(_0x367c[6]);var User=require(_0x367c[3])[_0x367c[7]];var Promise=require(_0x367c[8]);exports[_0x367c[9]]=function(_0x32edx7,_0x32edx8,_0x32edx9){return ReportMailSession[_0x367c[16]](Util[_0x367c[15]](_0x32edx7[_0x367c[14]]))[_0x367c[13]](function(_0x32edxb){_0x32edx8[_0x367c[12]](200)[_0x367c[11]](_0x32edxb)})[_0x367c[10]](function(_0x32edxa){return handleError(_0x32edx8,_0x32edxa)})};exports[_0x367c[17]]=function(_0x32edx7,_0x32edx8){return ReportMailSessionHistory[_0x367c[17]]()[_0x367c[13]](function(_0x32edxc){return _0x32edx8[_0x367c[12]](200)[_0x367c[11]](_0x32edxc)})[_0x367c[10]](function(_0x32edxa){return handleError(_0x32edx8,_0x32edxa)})};function getMailQueues(_0x32edxe){return function(){switch(_0x32edxe[_0x367c[28]]){case _0x367c[25]:return User[_0x367c[24]](_0x32edxe[_0x367c[18]],{attributes:[_0x367c[18]]})[_0x367c[13]](Util[_0x367c[23]]({},{attributes:[_0x367c[18]],include:[{raw:true,model:User,attributes:[_0x367c[18]]}]}))[_0x367c[13]](function(_0x32edxf){var _0x32edx10=[];_0x32edxf[_0x367c[22]][_0x367c[21]](function(_0x32edx11){_0x32edx10=_[_0x367c[20]](_0x32edx10,_[_0x367c[19]](_0x32edx11.Users,_0x367c[18]))});return {$or:{queue:_[_0x367c[19]](_0x32edxf[_0x367c[22]],_0x367c[18]),memberid:_0x32edx10}}});case _0x367c[27]:return User[_0x367c[24]](_0x32edxe[_0x367c[18]],{attributes:[_0x367c[18]]})[_0x367c[13]](function(_0x32edx12){return _0x32edx12[_0x367c[26]]({attributes:[_0x367c[18]]})})[_0x367c[13]](function(_0x32edxf){return {$or:{queue:_[_0x367c[19]](_0x32edxf,_0x367c[18]),memberid:_0x32edxe[_0x367c[18]]}}});default:return {}}}}exports[_0x367c[29]]=function(_0x32edx7,_0x32edx8){return Promise[_0x367c[33]]([])[_0x367c[13]](getMailQueues(_0x32edx7[_0x367c[25]]))[_0x367c[13]](function(_0x32edx14){return ReportMailSession[_0x367c[32]](Util[_0x367c[15]](_0x32edx7[_0x367c[14]],_[_0x367c[31]]({leaveAt:null},_0x32edx14)))})[_0x367c[13]](function(_0x32edx13){return _0x32edx8[_0x367c[12]](200)[_0x367c[11]]({rows:_0x32edx13})})[_0x367c[10]](function(_0x32edxa){console[_0x367c[30]](_0x32edxa);return handleError(_0x32edx8,_0x32edxa)})};function handleError(_0x32edx8,_0x32edxa){return _0x32edx8[_0x367c[12]](500)[_0x367c[11]](_0x32edxa)} \ No newline at end of file +var _0xece6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x53\x65\x73\x73\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x53\x65\x73\x73\x69\x6F\x6E\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x55\x73\x65\x72","\x62\x6C\x75\x65\x62\x69\x72\x64","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x73\x63\x72\x69\x62\x65","\x69\x64","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x72\x6F\x77\x73","\x67\x65\x74\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x73\x65\x72","\x67\x65\x74\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65","\x77\x61\x69\x74\x69\x6E\x67\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x6C\x6F\x67","\x6D\x65\x72\x67\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x61\x6C\x6C"];_0xece6[0];var _=require(_0xece6[1]);var ReportMailSession=require(_0xece6[3])[_0xece6[2]];var ReportMailSessionHistory=require(_0xece6[3])[_0xece6[5]][_0xece6[4]];var Util=require(_0xece6[6]);var User=require(_0xece6[3])[_0xece6[7]];var Promise=require(_0xece6[8]);exports[_0xece6[9]]=function(_0xfdc3x7,_0xfdc3x8,_0xfdc3x9){return ReportMailSession[_0xece6[16]](Util[_0xece6[15]](_0xfdc3x7[_0xece6[14]]))[_0xece6[13]](function(_0xfdc3xb){_0xfdc3x8[_0xece6[12]](200)[_0xece6[11]](_0xfdc3xb)})[_0xece6[10]](function(_0xfdc3xa){return handleError(_0xfdc3x8,_0xfdc3xa)})};exports[_0xece6[17]]=function(_0xfdc3x7,_0xfdc3x8){return ReportMailSessionHistory[_0xece6[17]]()[_0xece6[13]](function(_0xfdc3xc){return _0xfdc3x8[_0xece6[12]](200)[_0xece6[11]](_0xfdc3xc)})[_0xece6[10]](function(_0xfdc3xa){return handleError(_0xfdc3x8,_0xfdc3xa)})};function getMailQueues(_0xfdc3xe){return function(){switch(_0xfdc3xe[_0xece6[28]]){case _0xece6[25]:return User[_0xece6[24]](_0xfdc3xe[_0xece6[18]],{attributes:[_0xece6[18]]})[_0xece6[13]](Util[_0xece6[23]]({},{attributes:[_0xece6[18]],include:[{raw:true,model:User,attributes:[_0xece6[18]]}]}))[_0xece6[13]](function(_0xfdc3xf){var _0xfdc3x10=[];_0xfdc3xf[_0xece6[22]][_0xece6[21]](function(_0xfdc3x11){_0xfdc3x10=_[_0xece6[20]](_0xfdc3x10,_[_0xece6[19]](_0xfdc3x11.Users,_0xece6[18]))});return {$or:{queue:_[_0xece6[19]](_0xfdc3xf[_0xece6[22]],_0xece6[18]),memberid:_0xfdc3x10}}});case _0xece6[27]:return User[_0xece6[24]](_0xfdc3xe[_0xece6[18]],{attributes:[_0xece6[18]]})[_0xece6[13]](function(_0xfdc3x12){return _0xfdc3x12[_0xece6[26]]({attributes:[_0xece6[18]]})})[_0xece6[13]](function(_0xfdc3xf){return {$or:{queue:_[_0xece6[19]](_0xfdc3xf,_0xece6[18]),memberid:_0xfdc3xe[_0xece6[18]]}}});default:return {}}}}exports[_0xece6[29]]=function(_0xfdc3x7,_0xfdc3x8){return Promise[_0xece6[33]]([])[_0xece6[13]](getMailQueues(_0xfdc3x7[_0xece6[25]]))[_0xece6[13]](function(_0xfdc3x14){return ReportMailSession[_0xece6[32]](Util[_0xece6[15]](_0xfdc3x7[_0xece6[14]],_[_0xece6[31]]({leaveAt:null},_0xfdc3x14)))})[_0xece6[13]](function(_0xfdc3x13){return _0xfdc3x8[_0xece6[12]](200)[_0xece6[11]]({rows:_0xfdc3x13})})[_0xece6[10]](function(_0xfdc3xa){console[_0xece6[30]](_0xfdc3xa);return handleError(_0xfdc3x8,_0xfdc3xa)})};function handleError(_0xfdc3x8,_0xfdc3xa){return _0xfdc3x8[_0xece6[12]](500)[_0xece6[11]](_0xfdc3xa)} \ No newline at end of file diff --git a/server/api/report_mail_session/report_mail_session.socket.js b/server/api/report_mail_session/report_mail_session.socket.js index 4362f39..a0b15c9 100644 --- a/server/api/report_mail_session/report_mail_session.socket.js +++ b/server/api/report_mail_session/report_mail_session.socket.js @@ -1 +1 @@ -var _0x572d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x53\x65\x73\x73\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x6C\x6F\x64\x61\x73\x68","\x62\x6C\x75\x65\x62\x69\x72\x64","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x69\x64","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x72\x6F\x77\x73","\x74\x68\x65\x6E","\x67\x65\x74\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x75\x73\x65\x72\x49\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x73\x65\x72","\x67\x65\x74\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65","\x45\x72\x72\x6F\x72\x20\x66\x69\x6C\x74\x65\x72\x69\x6E\x67\x20\x72\x65\x70\x6F\x72\x74\x20\x6D\x61\x69\x6C\x20\x73\x65\x73\x73\x69\x6F\x6E\x73\x20\x61\x66\x74\x65\x72\x20\x73\x61\x76\x65","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x61\x64\x6D\x69\x6E","\x6D\x65\x6D\x62\x65\x72\x69\x64","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x71\x75\x65\x75\x65","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x73\x65\x73\x73\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x61\x6C\x6C","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x73\x65\x73\x73\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x572d[0];var ReportMailSession=require(_0x572d[2])[_0x572d[1]];var User=require(_0x572d[2])[_0x572d[3]];var Util=require(_0x572d[4]);var _=require(_0x572d[5]);var Promise=require(_0x572d[6]);exports[_0x572d[7]]=function(_0x3a17x6){ReportMailSession[_0x572d[8]](function(_0x3a17x7){onSave(_0x3a17x6,_0x3a17x7)});ReportMailSession[_0x572d[9]](function(_0x3a17x7){onSave(_0x3a17x6,_0x3a17x7)});ReportMailSession[_0x572d[10]](function(_0x3a17x7){onRemove(_0x3a17x6,_0x3a17x7)})};function getMailQueues(_0x3a17x9){return function(){switch(_0x3a17x9[_0x572d[23]]){case _0x572d[20]:return User[_0x572d[19]](_0x3a17x9[_0x572d[18]],{attributes:[_0x572d[11]]})[_0x572d[16]](Util[_0x572d[17]]({},{attributes:[_0x572d[11]],include:[{raw:true,model:User,attributes:[_0x572d[11]]}]}))[_0x572d[16]](function(_0x3a17xa){var _0x3a17xb=[];_0x3a17xa[_0x572d[15]][_0x572d[14]](function(_0x3a17xc){_0x3a17xb=_[_0x572d[13]](_0x3a17xb,_[_0x572d[12]](_0x3a17xc.Users,_0x572d[11]))});return {queue:_[_0x572d[12]](_0x3a17xa[_0x572d[15]],_0x572d[11]),memberid:_0x3a17xb}});case _0x572d[22]:return User[_0x572d[19]](_0x3a17x9[_0x572d[18]],{attributes:[_0x572d[11]]})[_0x572d[16]](function(_0x3a17xd){return _0x3a17xd[_0x572d[21]]({attributes:[_0x572d[11]]})})[_0x572d[16]](function(_0x3a17xa){return {queue:_[_0x572d[12]](_0x3a17xa,_0x572d[11]),memberid:_0x3a17x9[_0x572d[18]]}});default:return {}}}}function onSave(_0x3a17x6,_0x3a17x7,_0x3a17xf){return Promise[_0x572d[33]]([])[_0x572d[16]](getMailQueues(_0x3a17x6))[_0x572d[16]](function(_0x3a17x11){if(_0x3a17x6[_0x572d[23]]===_0x572d[27]||_[_0x572d[29]](_0x3a17x11[_0x572d[28]],_0x3a17x7[_0x572d[28]])||_[_0x572d[29]](_0x3a17x11[_0x572d[30]],_0x3a17x7[_0x572d[30]])){_0x3a17x6[_0x572d[32]](_0x572d[31],_0x3a17x7)}})[_0x572d[26]](function(_0x3a17x10){console[_0x572d[25]](_0x572d[24],_0x3a17x10)})}function onRemove(_0x3a17x6,_0x3a17x7,_0x3a17xf){_0x3a17x6[_0x572d[32]](_0x572d[34],_0x3a17x7)} \ No newline at end of file +var _0x34d6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x53\x65\x73\x73\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x6C\x6F\x64\x61\x73\x68","\x62\x6C\x75\x65\x62\x69\x72\x64","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x69\x64","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x72\x6F\x77\x73","\x74\x68\x65\x6E","\x67\x65\x74\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x75\x73\x65\x72\x49\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x73\x65\x72","\x67\x65\x74\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65","\x45\x72\x72\x6F\x72\x20\x66\x69\x6C\x74\x65\x72\x69\x6E\x67\x20\x72\x65\x70\x6F\x72\x74\x20\x6D\x61\x69\x6C\x20\x73\x65\x73\x73\x69\x6F\x6E\x73\x20\x61\x66\x74\x65\x72\x20\x73\x61\x76\x65","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x61\x64\x6D\x69\x6E","\x6D\x65\x6D\x62\x65\x72\x69\x64","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x71\x75\x65\x75\x65","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x73\x65\x73\x73\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x61\x6C\x6C","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x73\x65\x73\x73\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x34d6[0];var ReportMailSession=require(_0x34d6[2])[_0x34d6[1]];var User=require(_0x34d6[2])[_0x34d6[3]];var Util=require(_0x34d6[4]);var _=require(_0x34d6[5]);var Promise=require(_0x34d6[6]);exports[_0x34d6[7]]=function(_0xcd0dx6){ReportMailSession[_0x34d6[8]](function(_0xcd0dx7){onSave(_0xcd0dx6,_0xcd0dx7)});ReportMailSession[_0x34d6[9]](function(_0xcd0dx7){onSave(_0xcd0dx6,_0xcd0dx7)});ReportMailSession[_0x34d6[10]](function(_0xcd0dx7){onRemove(_0xcd0dx6,_0xcd0dx7)})};function getMailQueues(_0xcd0dx9){return function(){switch(_0xcd0dx9[_0x34d6[23]]){case _0x34d6[20]:return User[_0x34d6[19]](_0xcd0dx9[_0x34d6[18]],{attributes:[_0x34d6[11]]})[_0x34d6[16]](Util[_0x34d6[17]]({},{attributes:[_0x34d6[11]],include:[{raw:true,model:User,attributes:[_0x34d6[11]]}]}))[_0x34d6[16]](function(_0xcd0dxa){var _0xcd0dxb=[];_0xcd0dxa[_0x34d6[15]][_0x34d6[14]](function(_0xcd0dxc){_0xcd0dxb=_[_0x34d6[13]](_0xcd0dxb,_[_0x34d6[12]](_0xcd0dxc.Users,_0x34d6[11]))});return {queue:_[_0x34d6[12]](_0xcd0dxa[_0x34d6[15]],_0x34d6[11]),memberid:_0xcd0dxb}});case _0x34d6[22]:return User[_0x34d6[19]](_0xcd0dx9[_0x34d6[18]],{attributes:[_0x34d6[11]]})[_0x34d6[16]](function(_0xcd0dxd){return _0xcd0dxd[_0x34d6[21]]({attributes:[_0x34d6[11]]})})[_0x34d6[16]](function(_0xcd0dxa){return {queue:_[_0x34d6[12]](_0xcd0dxa,_0x34d6[11]),memberid:_0xcd0dx9[_0x34d6[18]]}});default:return {}}}}function onSave(_0xcd0dx6,_0xcd0dx7,_0xcd0dxf){return Promise[_0x34d6[33]]([])[_0x34d6[16]](getMailQueues(_0xcd0dx6))[_0x34d6[16]](function(_0xcd0dx11){if(_0xcd0dx6[_0x34d6[23]]===_0x34d6[27]||_[_0x34d6[29]](_0xcd0dx11[_0x34d6[28]],_0xcd0dx7[_0x34d6[28]])||_[_0x34d6[29]](_0xcd0dx11[_0x34d6[30]],_0xcd0dx7[_0x34d6[30]])){_0xcd0dx6[_0x34d6[32]](_0x34d6[31],_0xcd0dx7)}})[_0x34d6[26]](function(_0xcd0dx10){console[_0x34d6[25]](_0x34d6[24],_0xcd0dx10)})}function onRemove(_0xcd0dx6,_0xcd0dx7,_0xcd0dxf){_0xcd0dx6[_0x34d6[32]](_0x34d6[34],_0xcd0dx7)} \ No newline at end of file diff --git a/server/api/report_member/index.js b/server/api/report_member/index.js index 83e2f7a..11b08f0 100644 --- a/server/api/report_member/index.js +++ b/server/api/report_member/index.js @@ -1 +1 @@ -var _0x533e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x6D\x65\x6D\x62\x65\x72\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x533e[0];var express=require(_0x533e[1]);var controller=require(_0x533e[2]);var auth=require(_0x533e[3]);var router=express.Router();router[_0x533e[9]](_0x533e[4],auth[_0x533e[5]](),auth[_0x533e[7]]([17],[_0x533e[6]]),controller[_0x533e[8]]);router[_0x533e[9]](_0x533e[10],auth[_0x533e[5]](),auth[_0x533e[7]]([17],[_0x533e[6]]),controller[_0x533e[11]]);module[_0x533e[12]]=router \ No newline at end of file +var _0xadb1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x6D\x65\x6D\x62\x65\x72\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xadb1[0];var express=require(_0xadb1[1]);var controller=require(_0xadb1[2]);var auth=require(_0xadb1[3]);var router=express.Router();router[_0xadb1[9]](_0xadb1[4],auth[_0xadb1[5]](),auth[_0xadb1[7]]([17],[_0xadb1[6]]),controller[_0xadb1[8]]);router[_0xadb1[9]](_0xadb1[10],auth[_0xadb1[5]](),auth[_0xadb1[7]]([17],[_0xadb1[6]]),controller[_0xadb1[11]]);module[_0xadb1[12]]=router \ No newline at end of file diff --git a/server/api/report_member/report_member.controller.js b/server/api/report_member/report_member.controller.js index 93761f3..900124e 100644 --- a/server/api/report_member/report_member.controller.js +++ b/server/api/report_member/report_member.controller.js @@ -1 +1 @@ -var _0xaa35=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x52\x65\x70\x6F\x72\x74\x4D\x65\x6D\x62\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x4D\x65\x6D\x62\x65\x72\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x73\x63\x72\x69\x62\x65"];_0xaa35[0];var _=require(_0xaa35[1]);var ReportMember=require(_0xaa35[3])[_0xaa35[2]];var ReportMemberHistory=require(_0xaa35[3])[_0xaa35[5]][_0xaa35[4]];var Util=require(_0xaa35[6]);exports[_0xaa35[7]]=function(_0xaa6dx5,_0xaa6dx6,_0xaa6dx7){return ReportMember[_0xaa35[14]](Util[_0xaa35[13]](_0xaa6dx5[_0xaa35[12]]))[_0xaa35[11]](function(_0xaa6dx9){return _0xaa6dx6[_0xaa35[10]](200)[_0xaa35[9]](_0xaa6dx9)})[_0xaa35[8]](function(_0xaa6dx8){return handleError(_0xaa6dx6,_0xaa6dx8)})};exports[_0xaa35[15]]=function(_0xaa6dx5,_0xaa6dx6){return ReportMemberHistory[_0xaa35[15]]()[_0xaa35[11]](function(_0xaa6dxa){return _0xaa6dx6[_0xaa35[10]](200)[_0xaa35[9]](_0xaa6dxa)})[_0xaa35[8]](function(_0xaa6dx8){return handleError(_0xaa6dx6,_0xaa6dx8)})};function handleError(_0xaa6dx6,_0xaa6dx8){return _0xaa6dx6[_0xaa35[10]](500)[_0xaa35[9]](_0xaa6dx8)} \ No newline at end of file +var _0x9c2d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x52\x65\x70\x6F\x72\x74\x4D\x65\x6D\x62\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x4D\x65\x6D\x62\x65\x72\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x73\x63\x72\x69\x62\x65"];_0x9c2d[0];var _=require(_0x9c2d[1]);var ReportMember=require(_0x9c2d[3])[_0x9c2d[2]];var ReportMemberHistory=require(_0x9c2d[3])[_0x9c2d[5]][_0x9c2d[4]];var Util=require(_0x9c2d[6]);exports[_0x9c2d[7]]=function(_0x8ce9x5,_0x8ce9x6,_0x8ce9x7){return ReportMember[_0x9c2d[14]](Util[_0x9c2d[13]](_0x8ce9x5[_0x9c2d[12]]))[_0x9c2d[11]](function(_0x8ce9x9){return _0x8ce9x6[_0x9c2d[10]](200)[_0x9c2d[9]](_0x8ce9x9)})[_0x9c2d[8]](function(_0x8ce9x8){return handleError(_0x8ce9x6,_0x8ce9x8)})};exports[_0x9c2d[15]]=function(_0x8ce9x5,_0x8ce9x6){return ReportMemberHistory[_0x9c2d[15]]()[_0x9c2d[11]](function(_0x8ce9xa){return _0x8ce9x6[_0x9c2d[10]](200)[_0x9c2d[9]](_0x8ce9xa)})[_0x9c2d[8]](function(_0x8ce9x8){return handleError(_0x8ce9x6,_0x8ce9x8)})};function handleError(_0x8ce9x6,_0x8ce9x8){return _0x8ce9x6[_0x9c2d[10]](500)[_0x9c2d[9]](_0x8ce9x8)} \ No newline at end of file diff --git a/server/api/report_member/report_member.socket.js b/server/api/report_member/report_member.socket.js index d2a9ed9..3937f47 100644 --- a/server/api/report_member/report_member.socket.js +++ b/server/api/report_member/report_member.socket.js @@ -1 +1 @@ -var _0x8905=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x4D\x65\x6D\x62\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6E\x61\x6D\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x72\x6F\x6C\x65","\x61\x64\x6D\x69\x6E","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x65\x6D\x62\x65\x72\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x65\x6D\x62\x65\x72\x3A\x72\x65\x6D\x6F\x76\x65"];_0x8905[0];var ReportMember=require(_0x8905[2])[_0x8905[1]];exports[_0x8905[3]]=function(_0x8b80x2){ReportMember[_0x8905[4]](function(_0x8b80x3){onSave(_0x8b80x2,_0x8b80x3)});ReportMember[_0x8905[5]](function(_0x8b80x3){onSave(_0x8b80x2,_0x8b80x3)});ReportMember[_0x8905[6]](function(_0x8b80x3){onRemove(_0x8b80x2,_0x8b80x3)})};function onSave(_0x8b80x2,_0x8b80x3,_0x8b80x5){if(_0x8b80x2[_0x8905[7]]===_0x8b80x3[_0x8905[8]]||_0x8b80x2[_0x8905[9]]===_0x8905[10]){_0x8b80x2[_0x8905[12]](_0x8905[11],_0x8b80x3)}}function onRemove(_0x8b80x2,_0x8b80x3,_0x8b80x5){_0x8b80x2[_0x8905[12]](_0x8905[13],_0x8b80x3)} \ No newline at end of file +var _0x80bb=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x4D\x65\x6D\x62\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6E\x61\x6D\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x72\x6F\x6C\x65","\x61\x64\x6D\x69\x6E","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x65\x6D\x62\x65\x72\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x65\x6D\x62\x65\x72\x3A\x72\x65\x6D\x6F\x76\x65"];_0x80bb[0];var ReportMember=require(_0x80bb[2])[_0x80bb[1]];exports[_0x80bb[3]]=function(_0x12efx2){ReportMember[_0x80bb[4]](function(_0x12efx3){onSave(_0x12efx2,_0x12efx3)});ReportMember[_0x80bb[5]](function(_0x12efx3){onSave(_0x12efx2,_0x12efx3)});ReportMember[_0x80bb[6]](function(_0x12efx3){onRemove(_0x12efx2,_0x12efx3)})};function onSave(_0x12efx2,_0x12efx3,_0x12efx5){if(_0x12efx2[_0x80bb[7]]===_0x12efx3[_0x80bb[8]]||_0x12efx2[_0x80bb[9]]===_0x80bb[10]){_0x12efx2[_0x80bb[12]](_0x80bb[11],_0x12efx3)}}function onRemove(_0x12efx2,_0x12efx3,_0x12efx5){_0x12efx2[_0x80bb[12]](_0x80bb[13],_0x12efx3)} \ No newline at end of file diff --git a/server/api/report_queue/index.js b/server/api/report_queue/index.js index 6ad4515..1659d39 100644 --- a/server/api/report_queue/index.js +++ b/server/api/report_queue/index.js @@ -1 +1 @@ -var _0x1c8c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x2F\x77\x61\x69\x74\x69\x6E\x67","\x61\x67\x65\x6E\x74","\x77\x61\x69\x74\x69\x6E\x67","\x2F\x70\x61\x72\x61\x6D\x65\x74\x65\x72\x73","\x71\x75\x65\x75\x65\x50\x61\x72\x61\x6D\x65\x74\x65\x72\x73","\x2F\x77\x61\x69\x74\x69\x6E\x67\x2F\x63\x61\x6C\x6C\x73","\x77\x61\x69\x74\x69\x6E\x67\x43\x61\x6C\x6C\x73","\x2F\x77\x61\x69\x74\x69\x6E\x67\x2F\x6C\x69\x73\x74","\x77\x61\x69\x74\x69\x6E\x67\x4C\x69\x73\x74","\x2F\x61\x63\x74\x69\x76\x65","\x61\x63\x74\x69\x76\x65","\x2F\x61\x6E\x73\x77\x65\x72\x65\x64","\x61\x6E\x73\x77\x65\x72\x65\x64","\x2F\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64","\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64","\x2F\x61\x76\x67\x61\x6E\x73\x77\x65\x72\x74\x69\x6D\x65","\x61\x76\x67\x61\x6E\x73\x77\x65\x72\x74\x69\x6D\x65","\x2F\x61\x76\x67\x74\x61\x6C\x6B\x74\x69\x6D\x65","\x61\x76\x67\x74\x61\x6C\x6B\x74\x69\x6D\x65","\x2F\x61\x6E\x73\x77\x65\x72\x72\x61\x74\x65","\x61\x6E\x73\x77\x65\x72\x72\x61\x74\x65","\x2F\x61\x62\x61\x6E\x64\x6F\x6E\x72\x61\x74\x65","\x61\x62\x61\x6E\x64\x6F\x6E\x72\x61\x74\x65","\x2F\x74\x6F\x74\x61\x6C\x6F\x66\x66\x65\x72\x65\x64","\x74\x6F\x74\x61\x6C\x6F\x66\x66\x65\x72\x65\x64","\x2F\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x2F\x3A\x71\x75\x65\x75\x65","\x73\x68\x6F\x77","\x65\x78\x70\x6F\x72\x74\x73"];_0x1c8c[0];var express=require(_0x1c8c[1]);var controller=require(_0x1c8c[2]);var auth=require(_0x1c8c[3]);var router=express.Router();router[_0x1c8c[9]](_0x1c8c[4],auth[_0x1c8c[5]](),auth[_0x1c8c[7]]([17],[_0x1c8c[6]]),controller[_0x1c8c[8]]);router[_0x1c8c[9]](_0x1c8c[10],auth[_0x1c8c[5]](),auth[_0x1c8c[7]]([17],[_0x1c8c[6]]),controller[_0x1c8c[11]]);router[_0x1c8c[9]](_0x1c8c[12],auth[_0x1c8c[5]](),auth[_0x1c8c[7]]([1],[_0x1c8c[6],_0x1c8c[13]]),controller[_0x1c8c[14]]);router[_0x1c8c[9]](_0x1c8c[15],auth[_0x1c8c[5]](),auth[_0x1c8c[7]]([1],[_0x1c8c[6]]),controller[_0x1c8c[16]]);router[_0x1c8c[9]](_0x1c8c[17],auth[_0x1c8c[5]](),auth[_0x1c8c[7]]([7],[_0x1c8c[6]]),controller[_0x1c8c[18]]);router[_0x1c8c[9]](_0x1c8c[19],auth[_0x1c8c[5]](),auth[_0x1c8c[7]]([1],[_0x1c8c[6],_0x1c8c[13]]),controller[_0x1c8c[20]]);router[_0x1c8c[9]](_0x1c8c[21],auth[_0x1c8c[5]](),auth[_0x1c8c[7]]([1],[_0x1c8c[6],_0x1c8c[13]]),controller[_0x1c8c[22]]);router[_0x1c8c[9]](_0x1c8c[23],auth[_0x1c8c[5]](),auth[_0x1c8c[7]]([1],[_0x1c8c[6],_0x1c8c[13]]),controller[_0x1c8c[24]]);router[_0x1c8c[9]](_0x1c8c[25],auth[_0x1c8c[5]](),auth[_0x1c8c[7]]([1],[_0x1c8c[6],_0x1c8c[13]]),controller[_0x1c8c[26]]);router[_0x1c8c[9]](_0x1c8c[27],auth[_0x1c8c[5]](),auth[_0x1c8c[7]]([1],[_0x1c8c[6],_0x1c8c[13]]),controller[_0x1c8c[28]]);router[_0x1c8c[9]](_0x1c8c[29],auth[_0x1c8c[5]](),auth[_0x1c8c[7]]([1],[_0x1c8c[6],_0x1c8c[13]]),controller[_0x1c8c[30]]);router[_0x1c8c[9]](_0x1c8c[31],auth[_0x1c8c[5]](),auth[_0x1c8c[7]]([1],[_0x1c8c[6],_0x1c8c[13]]),controller[_0x1c8c[32]]);router[_0x1c8c[9]](_0x1c8c[33],auth[_0x1c8c[5]](),auth[_0x1c8c[7]]([1],[_0x1c8c[6],_0x1c8c[13]]),controller[_0x1c8c[34]]);router[_0x1c8c[9]](_0x1c8c[35],auth[_0x1c8c[5]](),auth[_0x1c8c[7]]([1],[_0x1c8c[6],_0x1c8c[13]]),controller[_0x1c8c[36]]);router[_0x1c8c[9]](_0x1c8c[37],auth[_0x1c8c[5]](),auth[_0x1c8c[7]]([1],[_0x1c8c[6],_0x1c8c[13]]),controller[_0x1c8c[38]]);router[_0x1c8c[9]](_0x1c8c[39],auth[_0x1c8c[5]](),controller[_0x1c8c[40]]);module[_0x1c8c[41]]=router \ No newline at end of file +var _0xe0c7=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x2F\x77\x61\x69\x74\x69\x6E\x67","\x61\x67\x65\x6E\x74","\x77\x61\x69\x74\x69\x6E\x67","\x2F\x70\x61\x72\x61\x6D\x65\x74\x65\x72\x73","\x71\x75\x65\x75\x65\x50\x61\x72\x61\x6D\x65\x74\x65\x72\x73","\x2F\x77\x61\x69\x74\x69\x6E\x67\x2F\x63\x61\x6C\x6C\x73","\x77\x61\x69\x74\x69\x6E\x67\x43\x61\x6C\x6C\x73","\x2F\x77\x61\x69\x74\x69\x6E\x67\x2F\x6C\x69\x73\x74","\x77\x61\x69\x74\x69\x6E\x67\x4C\x69\x73\x74","\x2F\x61\x63\x74\x69\x76\x65","\x61\x63\x74\x69\x76\x65","\x2F\x61\x6E\x73\x77\x65\x72\x65\x64","\x61\x6E\x73\x77\x65\x72\x65\x64","\x2F\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64","\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64","\x2F\x61\x76\x67\x61\x6E\x73\x77\x65\x72\x74\x69\x6D\x65","\x61\x76\x67\x61\x6E\x73\x77\x65\x72\x74\x69\x6D\x65","\x2F\x61\x76\x67\x74\x61\x6C\x6B\x74\x69\x6D\x65","\x61\x76\x67\x74\x61\x6C\x6B\x74\x69\x6D\x65","\x2F\x61\x6E\x73\x77\x65\x72\x72\x61\x74\x65","\x61\x6E\x73\x77\x65\x72\x72\x61\x74\x65","\x2F\x61\x62\x61\x6E\x64\x6F\x6E\x72\x61\x74\x65","\x61\x62\x61\x6E\x64\x6F\x6E\x72\x61\x74\x65","\x2F\x74\x6F\x74\x61\x6C\x6F\x66\x66\x65\x72\x65\x64","\x74\x6F\x74\x61\x6C\x6F\x66\x66\x65\x72\x65\x64","\x2F\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x2F\x3A\x71\x75\x65\x75\x65","\x73\x68\x6F\x77","\x65\x78\x70\x6F\x72\x74\x73"];_0xe0c7[0];var express=require(_0xe0c7[1]);var controller=require(_0xe0c7[2]);var auth=require(_0xe0c7[3]);var router=express.Router();router[_0xe0c7[9]](_0xe0c7[4],auth[_0xe0c7[5]](),auth[_0xe0c7[7]]([17],[_0xe0c7[6]]),controller[_0xe0c7[8]]);router[_0xe0c7[9]](_0xe0c7[10],auth[_0xe0c7[5]](),auth[_0xe0c7[7]]([17],[_0xe0c7[6]]),controller[_0xe0c7[11]]);router[_0xe0c7[9]](_0xe0c7[12],auth[_0xe0c7[5]](),auth[_0xe0c7[7]]([1],[_0xe0c7[6],_0xe0c7[13]]),controller[_0xe0c7[14]]);router[_0xe0c7[9]](_0xe0c7[15],auth[_0xe0c7[5]](),auth[_0xe0c7[7]]([1],[_0xe0c7[6]]),controller[_0xe0c7[16]]);router[_0xe0c7[9]](_0xe0c7[17],auth[_0xe0c7[5]](),auth[_0xe0c7[7]]([7],[_0xe0c7[6]]),controller[_0xe0c7[18]]);router[_0xe0c7[9]](_0xe0c7[19],auth[_0xe0c7[5]](),auth[_0xe0c7[7]]([1],[_0xe0c7[6],_0xe0c7[13]]),controller[_0xe0c7[20]]);router[_0xe0c7[9]](_0xe0c7[21],auth[_0xe0c7[5]](),auth[_0xe0c7[7]]([1],[_0xe0c7[6],_0xe0c7[13]]),controller[_0xe0c7[22]]);router[_0xe0c7[9]](_0xe0c7[23],auth[_0xe0c7[5]](),auth[_0xe0c7[7]]([1],[_0xe0c7[6],_0xe0c7[13]]),controller[_0xe0c7[24]]);router[_0xe0c7[9]](_0xe0c7[25],auth[_0xe0c7[5]](),auth[_0xe0c7[7]]([1],[_0xe0c7[6],_0xe0c7[13]]),controller[_0xe0c7[26]]);router[_0xe0c7[9]](_0xe0c7[27],auth[_0xe0c7[5]](),auth[_0xe0c7[7]]([1],[_0xe0c7[6],_0xe0c7[13]]),controller[_0xe0c7[28]]);router[_0xe0c7[9]](_0xe0c7[29],auth[_0xe0c7[5]](),auth[_0xe0c7[7]]([1],[_0xe0c7[6],_0xe0c7[13]]),controller[_0xe0c7[30]]);router[_0xe0c7[9]](_0xe0c7[31],auth[_0xe0c7[5]](),auth[_0xe0c7[7]]([1],[_0xe0c7[6],_0xe0c7[13]]),controller[_0xe0c7[32]]);router[_0xe0c7[9]](_0xe0c7[33],auth[_0xe0c7[5]](),auth[_0xe0c7[7]]([1],[_0xe0c7[6],_0xe0c7[13]]),controller[_0xe0c7[34]]);router[_0xe0c7[9]](_0xe0c7[35],auth[_0xe0c7[5]](),auth[_0xe0c7[7]]([1],[_0xe0c7[6],_0xe0c7[13]]),controller[_0xe0c7[36]]);router[_0xe0c7[9]](_0xe0c7[37],auth[_0xe0c7[5]](),auth[_0xe0c7[7]]([1],[_0xe0c7[6],_0xe0c7[13]]),controller[_0xe0c7[38]]);router[_0xe0c7[9]](_0xe0c7[39],auth[_0xe0c7[5]](),controller[_0xe0c7[40]]);module[_0xe0c7[41]]=router \ No newline at end of file diff --git a/server/api/report_queue/report_queue.controller.js b/server/api/report_queue/report_queue.controller.js index 3746958..e0ae141 100644 --- a/server/api/report_queue/report_queue.controller.js +++ b/server/api/report_queue/report_queue.controller.js @@ -1 +1 @@ -var _0x4806=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x75\x65","\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x75\x65\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x62\x6C\x75\x65\x62\x69\x72\x64","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x73\x63\x72\x69\x62\x65","\x77\x61\x69\x74\x69\x6E\x67","\x63\x6F\x75\x6E\x74","\x75\x73\x65\x72","\x61\x6C\x6C","\x72\x6F\x77\x73","\x6E\x61\x6D\x65","\x6D\x61\x70","\x67\x65\x74\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x69\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x66\x69\x6E\x64\x41\x6C\x6C","\x72\x6F\x6C\x65","\x71\x75\x65\x75\x65\x50\x61\x72\x61\x6D\x65\x74\x65\x72\x73","\x6C\x69\x6D\x69\x74","\x6F\x66\x66\x73\x65\x74","\x61\x6E\x73\x77\x65\x72\x65\x64\x5F\x75\x69\x46\x72\x6F\x6D","\x61\x6E\x73\x77\x65\x72\x65\x64\x5F\x75\x69\x54\x6F","\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64\x5F\x75\x69\x46\x72\x6F\x6D","\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64\x5F\x75\x69\x54\x6F","\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64\x5F\x75\x69\x46\x72\x6F\x6D","\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64\x5F\x75\x69\x54\x6F","\x6C\x6F\x67","\x73\x70\x72\x65\x61\x64","\x66\x69\x6E\x64","\x74\x6F\x74\x61\x6C\x63\x61\x6C\x6C\x73","\x66\x6F\x72\x45\x61\x63\x68","\x5F\x61\x6E\x73\x77\x65\x72\x65\x64\x46\x72\x6F\x6D","\x61\x6E\x73\x77\x65\x72\x65\x64","\x5F\x61\x6E\x73\x77\x65\x72\x65\x64\x54\x6F","\x5F\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64\x46\x72\x6F\x6D","\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64","\x5F\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64\x54\x6F","\x5F\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64\x46\x72\x6F\x6D","\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x5F\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64\x54\x6F","\x72\x65\x64\x75\x63\x65","\x66\x69\x6C\x74\x65\x72","\x5F\x6C\x69\x6D\x69\x74","\x76\x61\x6C\x75\x65","\x74\x61\x6B\x65","\x73\x6C\x69\x63\x65","\x6C\x65\x6E\x67\x74\x68","\x74\x61\x6C\x6B\x74\x69\x6D\x65","\x30\x30\x3A\x30\x30\x3A\x30\x30","\x53\x45\x4C\x45\x43\x54\x20\x71\x75\x65\x75\x65\x20\x41\x53\x20\x27\x6E\x61\x6D\x65\x27\x2C\x43\x4F\x55\x4E\x54\x28\x64\x69\x73\x74\x69\x6E\x63\x74\x20\x75\x6E\x69\x71\x75\x65\x69\x64\x29\x20\x61\x73\x20\x74\x6F\x74\x61\x6C\x63\x61\x6C\x6C\x73\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x20\x57\x48\x45\x52\x45\x20\x71\x75\x65\x75\x65\x20\x49\x4E\x20\x28\x27","\x27\x2C\x27","\x6A\x6F\x69\x6E","\x27\x29\x20\x47\x52\x4F\x55\x50\x20\x42\x59\x20\x71\x75\x65\x75\x65","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\x68\x6F\x6C\x64\x74\x69\x6D\x65","\x53\x45\x4C\x45\x43\x54\x20\x71\x75\x65\x75\x65\x20\x41\x53\x20\x27\x6E\x61\x6D\x65\x27\x2C\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x52\x4F\x55\x4E\x44\x28\x41\x56\x47\x28\x74\x61\x6C\x6B\x74\x69\x6D\x65\x29\x2C\x20\x30\x29\x29\x20\x61\x73\x20\x74\x61\x6C\x6B\x74\x69\x6D\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x20\x57\x48\x45\x52\x45\x20\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65\x20\x3D\x20\x31\x20\x41\x4E\x44\x20\x71\x75\x65\x75\x65\x20\x49\x4E\x20\x28\x27","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x53\x45\x4C\x45\x43\x54\x20\x71\x75\x65\x75\x65\x20\x41\x53\x20\x27\x6E\x61\x6D\x65\x27\x2C\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x52\x4F\x55\x4E\x44\x28\x41\x56\x47\x28\x68\x6F\x6C\x64\x74\x69\x6D\x65\x29\x2C\x20\x30\x29\x29\x20\x61\x73\x20\x68\x6F\x6C\x64\x74\x69\x6D\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x20\x57\x48\x45\x52\x45\x20\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65\x20\x3D\x20\x31\x20\x41\x4E\x44\x20\x71\x75\x65\x75\x65\x20\x49\x4E\x20\x28\x27","\x71\x75\x65\x75\x65","\x43\x4F\x55\x4E\x54","\x63\x6F\x6C","\x66\x6E","\x61\x63\x74\x69\x76\x65","\x77\x61\x69\x74\x69\x6E\x67\x43\x61\x6C\x6C\x73","\x77\x61\x69\x74\x69\x6E\x67\x4C\x69\x73\x74","\x73\x63\x6F\x70\x65","\x67\x65\x74\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73","\x61\x76\x67\x61\x6E\x73\x77\x65\x72\x74\x69\x6D\x65","\x53\x45\x4C\x45\x43\x54\x20\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x52\x4F\x55\x4E\x44\x28\x41\x56\x47\x28\x68\x6F\x6C\x64\x74\x69\x6D\x65\x29\x2C\x20\x30\x29\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x20\x57\x48\x45\x52\x45\x20\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65\x20\x3D\x20\x31\x20\x41\x4E\x44\x20\x71\x75\x65\x75\x65\x20\x49\x4E\x20\x28\x27","\x27\x29","\x61\x76\x67\x74\x61\x6C\x6B\x74\x69\x6D\x65","\x53\x45\x4C\x45\x43\x54\x20\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x52\x4F\x55\x4E\x44\x28\x41\x56\x47\x28\x74\x61\x6C\x6B\x74\x69\x6D\x65\x29\x2C\x20\x30\x29\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x20\x57\x48\x45\x52\x45\x20\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65\x20\x3D\x20\x31\x20\x41\x4E\x44\x20\x71\x75\x65\x75\x65\x20\x49\x4E\x20\x28\x27","\x61\x6E\x73\x77\x65\x72\x72\x61\x74\x65","\x53\x45\x4C\x45\x43\x54\x20\x52\x4F\x55\x4E\x44\x28\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x29\x20\x2F\x20\x28\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x29\x20\x2B\x20\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x29\x29\x20\x2A\x20\x31\x30\x30\x2C\x20\x31\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x20\x57\x48\x45\x52\x45\x20\x71\x75\x65\x75\x65\x20\x49\x4E\x20\x28\x27","\x61\x62\x61\x6E\x64\x6F\x6E\x72\x61\x74\x65","\x53\x45\x4C\x45\x43\x54\x20\x52\x4F\x55\x4E\x44\x28\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x29\x20\x2F\x20\x28\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x29\x20\x2B\x20\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x29\x29\x20\x2A\x20\x31\x30\x30\x2C\x20\x31\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x20\x57\x48\x45\x52\x45\x20\x71\x75\x65\x75\x65\x20\x49\x4E\x20\x28\x27","\x74\x6F\x74\x61\x6C\x6F\x66\x66\x65\x72\x65\x64","\x53\x45\x4C\x45\x43\x54\x20\x43\x4F\x55\x4E\x54\x28\x64\x69\x73\x74\x69\x6E\x63\x74\x20\x75\x6E\x69\x71\x75\x65\x69\x64\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x20\x57\x48\x45\x52\x45\x20\x71\x75\x65\x75\x65\x20\x49\x4E\x20\x28\x27","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x70\x61\x72\x61\x6D\x73"];_0x4806[0];var _=require(_0x4806[1]);var sequelize=require(_0x4806[3])[_0x4806[2]];var Agent=require(_0x4806[3])[_0x4806[4]];var ReportQueue=require(_0x4806[3])[_0x4806[5]];var VoiceQueue=require(_0x4806[3])[_0x4806[6]];var ReportQueueHistory=require(_0x4806[3])[_0x4806[8]][_0x4806[7]];var Util=require(_0x4806[9]);var Promise=require(_0x4806[10]);exports[_0x4806[11]]=function(_0x8a2cx9,_0x8a2cxa,_0x8a2cxb){return ReportQueue[_0x4806[18]](Util[_0x4806[17]](_0x8a2cx9[_0x4806[16]]))[_0x4806[15]](function(_0x8a2cxd){return _0x8a2cxa[_0x4806[14]](200)[_0x4806[13]](_0x8a2cxd)})[_0x4806[12]](function(_0x8a2cxc){return handleError(_0x8a2cxa,_0x8a2cxc)})};exports[_0x4806[19]]=function(_0x8a2cx9,_0x8a2cxa){return ReportQueueHistory[_0x4806[19]]()[_0x4806[15]](function(_0x8a2cxe){return _0x8a2cxa[_0x4806[14]](200)[_0x4806[13]](_0x8a2cxe)})[_0x4806[12]](function(_0x8a2cxc){return handleError(_0x8a2cxa,_0x8a2cxc)})};exports[_0x4806[20]]=function(_0x8a2cx9,_0x8a2cxa){return Promise[_0x4806[23]]([])[_0x4806[15]](getVoiceQueues(_0x8a2cx9[_0x4806[22]]))[_0x4806[15]](function(_0x8a2cx10){return ReportQueue[_0x4806[21]]({where:{queuecallerleaveAt:null,queue:_0x8a2cx10}})})[_0x4806[15]](function(_0x8a2cxf){return _0x8a2cxa[_0x4806[14]](200)[_0x4806[13]]({value:_0x8a2cxf})})[_0x4806[12]](function(_0x8a2cxc){return handleError(_0x8a2cxa,_0x8a2cxc)})};function getVoiceQueues(_0x8a2cx12){return function(){switch(_0x8a2cx12[_0x4806[31]]){case _0x4806[22]:return Agent[_0x4806[29]](_0x8a2cx12[_0x4806[28]],{attributes:[_0x4806[28]]})[_0x4806[15]](Util[_0x4806[27]]())[_0x4806[15]](function(_0x8a2cx10){return _[_0x4806[26]](_0x8a2cx10[_0x4806[24]],_0x4806[25])});default:return VoiceQueue[_0x4806[30]]()[_0x4806[15]](function(_0x8a2cx13){return {rows:_0x8a2cx13}})[_0x4806[15]](function(_0x8a2cx10){return _[_0x4806[26]](_0x8a2cx10[_0x4806[24]],_0x4806[25])})}}}exports[_0x4806[32]]=function(_0x8a2cx9,_0x8a2cxa){var _0x8a2cx14={_limit:_0x8a2cx9[_0x4806[16]][_0x4806[33]]?_0x8a2cx9[_0x4806[16]][_0x4806[33]]:null,_offset:_0x8a2cx9[_0x4806[16]][_0x4806[34]]?_0x8a2cx9[_0x4806[16]][_0x4806[34]]:0,_answeredFrom:_0x8a2cx9[_0x4806[16]][_0x4806[35]]||_0x8a2cx9[_0x4806[16]][_0x4806[35]]===0?_0x8a2cx9[_0x4806[16]][_0x4806[35]]:undefined,_answeredTo:_0x8a2cx9[_0x4806[16]][_0x4806[36]]||_0x8a2cx9[_0x4806[16]][_0x4806[36]]===0?_0x8a2cx9[_0x4806[16]][_0x4806[36]]:undefined,_abandonedFrom:_0x8a2cx9[_0x4806[16]][_0x4806[37]]||_0x8a2cx9[_0x4806[16]][_0x4806[37]]===0?_0x8a2cx9[_0x4806[16]][_0x4806[37]]:undefined,_abandonedTo:_0x8a2cx9[_0x4806[16]][_0x4806[38]]||_0x8a2cx9[_0x4806[16]][_0x4806[38]]===0?_0x8a2cx9[_0x4806[16]][_0x4806[38]]:undefined,_unmanagedFrom:_0x8a2cx9[_0x4806[16]][_0x4806[39]]||_0x8a2cx9[_0x4806[16]][_0x4806[39]]===0?_0x8a2cx9[_0x4806[16]][_0x4806[39]]:undefined,_unmanagedTo:_0x8a2cx9[_0x4806[16]][_0x4806[40]]||_0x8a2cx9[_0x4806[16]][_0x4806[40]]===0?_0x8a2cx9[_0x4806[16]][_0x4806[40]]:undefined};var _0x8a2cx15,_0x8a2cx16,_0x8a2cx17,_0x8a2cx18;delete _0x8a2cx9[_0x4806[16]][_0x4806[33]];delete _0x8a2cx9[_0x4806[16]][_0x4806[34]];delete _0x8a2cx9[_0x4806[16]][_0x4806[35]];delete _0x8a2cx9[_0x4806[16]][_0x4806[36]];delete _0x8a2cx9[_0x4806[16]][_0x4806[37]];delete _0x8a2cx9[_0x4806[16]][_0x4806[38]];delete _0x8a2cx9[_0x4806[16]][_0x4806[39]];delete _0x8a2cx9[_0x4806[16]][_0x4806[40]];return Promise[_0x4806[23]]([])[_0x4806[15]](getVoiceQueues(_0x8a2cx9[_0x4806[22]]))[_0x4806[15]](function(_0x8a2cx10){_0x8a2cx16=_0x8a2cx10;_0x8a2cx15=_[_0x4806[26]](_0x8a2cx10,function(_0x8a2cx1c){return {name:_0x8a2cx1c}});return ReportQueue[_0x4806[30]]({where:{queuecallerleaveAt:null,queue:_0x8a2cx16},group:_0x4806[74],attributes:[[_0x4806[74],_0x4806[25]],[sequelize[_0x4806[77]](_0x4806[75],sequelize[_0x4806[76]](_0x4806[28])),_0x4806[20]]]})})[_0x4806[15]](function(_0x8a2cx2d){_0x8a2cx2d=_[_0x4806[26]](_0x8a2cx2d,_0x4806[72]);_0x8a2cx15[_0x4806[45]](function(_0x8a2cx1c,_0x8a2cx2e){var _0x8a2cx1d=_[_0x4806[43]](_0x8a2cx2d,{name:_0x8a2cx1c[_0x4806[25]]});_0x8a2cx1c[_0x4806[20]]=_0x8a2cx1d?_0x8a2cx1d[_0x4806[20]]:0});return ReportQueue[_0x4806[30]]({where:{queuecallerexit:false,queuecallerabandon:false,queuecallercomplete:false,queuecallerleaveAt:{$ne:null},queue:_0x8a2cx16},group:_0x4806[74],attributes:[[_0x4806[74],_0x4806[25]],[sequelize[_0x4806[77]](_0x4806[75],sequelize[_0x4806[76]](_0x4806[28])),_0x4806[78]]]})})[_0x4806[15]](function(_0x8a2cx2c){_0x8a2cx2c=_[_0x4806[26]](_0x8a2cx2c,_0x4806[72]);_0x8a2cx15[_0x4806[45]](function(_0x8a2cx1c){var _0x8a2cx1d=_[_0x4806[43]](_0x8a2cx2c,{name:_0x8a2cx1c[_0x4806[25]]});_0x8a2cx1c[_0x4806[78]]=_0x8a2cx1d?_0x8a2cx1d[_0x4806[78]]:0});return ReportQueue[_0x4806[30]]({where:{queuecallercomplete:true,queue:_0x8a2cx16},group:_0x4806[74],attributes:[[_0x4806[74],_0x4806[25]],[sequelize[_0x4806[77]](_0x4806[75],sequelize[_0x4806[76]](_0x4806[28])),_0x4806[47]]]})})[_0x4806[15]](function(_0x8a2cx2b){_0x8a2cx2b=_[_0x4806[26]](_0x8a2cx2b,_0x4806[72]);_0x8a2cx15[_0x4806[45]](function(_0x8a2cx1c){var _0x8a2cx1d=_[_0x4806[43]](_0x8a2cx2b,{name:_0x8a2cx1c[_0x4806[25]]});_0x8a2cx1c[_0x4806[47]]=_0x8a2cx1d?_0x8a2cx1d[_0x4806[47]]:0});return ReportQueue[_0x4806[30]]({where:{queuecallerabandon:true,queue:_0x8a2cx16},group:_0x4806[74],attributes:[[_0x4806[74],_0x4806[25]],[sequelize[_0x4806[77]](_0x4806[75],sequelize[_0x4806[76]](_0x4806[28])),_0x4806[50]]]})})[_0x4806[15]](function(_0x8a2cx2a){_0x8a2cx2a=_[_0x4806[26]](_0x8a2cx2a,_0x4806[72]);_0x8a2cx15[_0x4806[45]](function(_0x8a2cx1c){var _0x8a2cx1d=_[_0x4806[43]](_0x8a2cx2a,{name:_0x8a2cx1c[_0x4806[25]]});_0x8a2cx1c[_0x4806[50]]=_0x8a2cx1d?_0x8a2cx1d[_0x4806[50]]:0});return ReportQueue[_0x4806[30]]({where:{queuecallerexit:true,queue:_0x8a2cx16},group:_0x4806[74],attributes:[[_0x4806[74],_0x4806[25]],[sequelize[_0x4806[77]](_0x4806[75],sequelize[_0x4806[76]](_0x4806[28])),_0x4806[53]]]})})[_0x4806[15]](function(_0x8a2cx29){_0x8a2cx29=_[_0x4806[26]](_0x8a2cx29,_0x4806[72]);_0x8a2cx15[_0x4806[45]](function(_0x8a2cx1c){var _0x8a2cx1d=_[_0x4806[43]](_0x8a2cx29,{name:_0x8a2cx1c[_0x4806[25]]});_0x8a2cx1c[_0x4806[53]]=_0x8a2cx1d?_0x8a2cx1d[_0x4806[53]]:0});return sequelize[_0x4806[16]](_0x4806[73]+_0x8a2cx16[_0x4806[66]](_0x4806[65])+_0x4806[67],{type:sequelize[_0x4806[69]][_0x4806[68]]})})[_0x4806[15]](function(_0x8a2cx28){_0x8a2cx15[_0x4806[45]](function(_0x8a2cx1c){var _0x8a2cx1d=_[_0x4806[43]](_0x8a2cx28,{name:_0x8a2cx1c[_0x4806[25]]});_0x8a2cx1c[_0x4806[70]]=_0x8a2cx1d?_0x8a2cx1d[_0x4806[70]]:_0x4806[63]});return sequelize[_0x4806[16]](_0x4806[71]+_0x8a2cx16[_0x4806[66]](_0x4806[65])+_0x4806[67],{type:sequelize[_0x4806[69]][_0x4806[68]]})})[_0x4806[15]](function(_0x8a2cx27){_0x8a2cx15[_0x4806[45]](function(_0x8a2cx1c){var _0x8a2cx1d=_[_0x4806[43]](_0x8a2cx27,{name:_0x8a2cx1c[_0x4806[25]]});_0x8a2cx1c[_0x4806[62]]=_0x8a2cx1d?_0x8a2cx1d[_0x4806[62]]:_0x4806[63]});return sequelize[_0x4806[16]](_0x4806[64]+_0x8a2cx16[_0x4806[66]](_0x4806[65])+_0x4806[67],{type:sequelize[_0x4806[69]][_0x4806[68]]})})[_0x4806[15]](function(_0x8a2cx1b){_0x8a2cx15[_0x4806[45]](function(_0x8a2cx1c){var _0x8a2cx1d=_[_0x4806[43]](_0x8a2cx1b,{name:_0x8a2cx1c[_0x4806[25]]});_0x8a2cx1c[_0x4806[44]]=_0x8a2cx1d?_0x8a2cx1d[_0x4806[44]]:0});var _0x8a2cx1e=_(_[_0x4806[56]](_0x8a2cx15,function(_0x8a2cx1c){var _0x8a2cx1f=_0x8a2cx14[_0x4806[46]]?(_0x8a2cx1c[_0x4806[47]]>=Number(_0x8a2cx14._answeredFrom)):true;var _0x8a2cx20=_0x8a2cx14[_0x4806[48]]?(_0x8a2cx1c[_0x4806[47]]<=Number(_0x8a2cx14._answeredTo)):true;var _0x8a2cx21=_0x8a2cx14[_0x4806[49]]?(_0x8a2cx1c[_0x4806[50]]>=Number(_0x8a2cx14._abandonedFrom)):true;var _0x8a2cx22=_0x8a2cx14[_0x4806[51]]?(_0x8a2cx1c[_0x4806[50]]>=Number(_0x8a2cx14._abandonedTo)):true;var _0x8a2cx23=_0x8a2cx14[_0x4806[52]]?(_0x8a2cx1c[_0x4806[53]]>=Number(_0x8a2cx14._unmanagedFrom)):true;var _0x8a2cx24=_0x8a2cx14[_0x4806[54]]?(_0x8a2cx1c[_0x4806[53]]<=Number(_0x8a2cx14._unmanagedTo)):true;return _[_0x4806[55]]([_0x8a2cx1f,_0x8a2cx20,_0x8a2cx21,_0x8a2cx22,_0x8a2cx23,_0x8a2cx24],function(_0x8a2cx25,_0x8a2cx26){return _0x8a2cx25&&_0x8a2cx26})}));if(_0x8a2cx14[_0x4806[57]]){_0x8a2cx1e=_0x8a2cx1e[_0x4806[60]](_0x8a2cx14._offset)[_0x4806[59]](_0x8a2cx14._limit)[_0x4806[58]]()};return [_0x8a2cx15[_0x4806[61]],_0x8a2cx1e]})[_0x4806[42]](function(_0x8a2cx19,_0x8a2cx1a){return _0x8a2cxa[_0x4806[14]](200)[_0x4806[13]]({rows:_0x8a2cx1a,count:_0x8a2cx19})})[_0x4806[12]](function(_0x8a2cxc){console[_0x4806[41]](_0x8a2cxc);return handleError(_0x8a2cxa,_0x8a2cxc)})};exports[_0x4806[79]]=function(_0x8a2cx9,_0x8a2cxa){return Promise[_0x4806[23]]([])[_0x4806[15]](getVoiceQueues(_0x8a2cx9[_0x4806[22]]))[_0x4806[15]](function(_0x8a2cx10){return ReportQueue[_0x4806[30]](Util[_0x4806[17]](_0x8a2cx9[_0x4806[16]],{queuecallerleaveAt:null,queue:_0x8a2cx10}))})[_0x4806[15]](function(_0x8a2cxf){return _0x8a2cxa[_0x4806[14]](200)[_0x4806[13]]({rows:_0x8a2cxf})})[_0x4806[12]](function(_0x8a2cxc){return handleError(_0x8a2cxa,_0x8a2cxc)})};exports[_0x4806[80]]=function(_0x8a2cx9,_0x8a2cxa){return Agent[_0x4806[29]](_0x8a2cx9[_0x4806[22]][_0x4806[28]])[_0x4806[15]](function(_0x8a2cx30){return _0x8a2cx30[_0x4806[82]]({attributes:[_0x4806[25]]})})[_0x4806[15]](function(_0x8a2cx13){return ReportQueue[_0x4806[81]](_0x4806[20],{method:[_0x8a2cx9[_0x4806[22]][_0x4806[31]],_[_0x4806[26]](_0x8a2cx13,_0x4806[25])]})[_0x4806[30]]()})[_0x4806[15]](function(_0x8a2cx2f){return _0x8a2cxa[_0x4806[14]](200)[_0x4806[13]]({count:_0x8a2cx2f[_0x4806[61]],rows:_0x8a2cx2f})})[_0x4806[12]](function(_0x8a2cxc){return handleError(_0x8a2cxa,_0x8a2cxc)})};exports[_0x4806[78]]=function(_0x8a2cx9,_0x8a2cxa){return Promise[_0x4806[23]]([])[_0x4806[15]](getVoiceQueues(_0x8a2cx9[_0x4806[22]]))[_0x4806[15]](function(_0x8a2cx10){return ReportQueue[_0x4806[21]]({where:{queuecallerexit:false,queuecallerabandon:false,queuecallercomplete:false,queuecallerleaveAt:{$ne:null},queue:_0x8a2cx10}})})[_0x4806[15]](function(_0x8a2cxf){return _0x8a2cxa[_0x4806[14]](200)[_0x4806[13]]({value:_0x8a2cxf})})[_0x4806[12]](function(_0x8a2cxc){return handleError(_0x8a2cxa,_0x8a2cxc)})};exports[_0x4806[47]]=function(_0x8a2cx9,_0x8a2cxa){return Promise[_0x4806[23]]([])[_0x4806[15]](getVoiceQueues(_0x8a2cx9[_0x4806[22]]))[_0x4806[15]](function(_0x8a2cx10){return ReportQueue[_0x4806[21]]({where:{queuecallercomplete:true,queue:_0x8a2cx10}})})[_0x4806[15]](function(_0x8a2cxf){return _0x8a2cxa[_0x4806[14]](200)[_0x4806[13]]({value:_0x8a2cxf})})[_0x4806[12]](function(_0x8a2cxc){return handleError(_0x8a2cxa,_0x8a2cxc)})};exports[_0x4806[50]]=function(_0x8a2cx9,_0x8a2cxa){return Promise[_0x4806[23]]([])[_0x4806[15]](getVoiceQueues(_0x8a2cx9[_0x4806[22]]))[_0x4806[15]](function(_0x8a2cx10){return ReportQueue[_0x4806[21]]({where:{queuecallerabandon:true,queue:_0x8a2cx10}})})[_0x4806[15]](function(_0x8a2cxf){return _0x8a2cxa[_0x4806[14]](200)[_0x4806[13]]({value:_0x8a2cxf})})[_0x4806[12]](function(_0x8a2cxc){return handleError(_0x8a2cxa,_0x8a2cxc)})};exports[_0x4806[83]]=function(_0x8a2cx9,_0x8a2cxa){return Promise[_0x4806[23]]([])[_0x4806[15]](getVoiceQueues(_0x8a2cx9[_0x4806[22]]))[_0x4806[15]](function(_0x8a2cx10){return sequelize[_0x4806[16]](_0x4806[84]+_0x8a2cx10[_0x4806[66]](_0x4806[65])+_0x4806[85],{type:sequelize[_0x4806[69]][_0x4806[68]]})})[_0x4806[15]](function(_0x8a2cxf){return _0x8a2cxa[_0x4806[14]](200)[_0x4806[13]]({value:_0x8a2cxf[0][_0x4806[58]]})})[_0x4806[12]](function(_0x8a2cxc){return handleError(_0x8a2cxa,_0x8a2cxc)})};exports[_0x4806[86]]=function(_0x8a2cx9,_0x8a2cxa){return Promise[_0x4806[23]]([])[_0x4806[15]](getVoiceQueues(_0x8a2cx9[_0x4806[22]]))[_0x4806[15]](function(_0x8a2cx10){return sequelize[_0x4806[16]](_0x4806[87]+_0x8a2cx10[_0x4806[66]](_0x4806[65])+_0x4806[85],{type:sequelize[_0x4806[69]][_0x4806[68]]})})[_0x4806[15]](function(_0x8a2cxf){return _0x8a2cxa[_0x4806[14]](200)[_0x4806[13]]({value:_0x8a2cxf[0][_0x4806[58]]})})[_0x4806[12]](function(_0x8a2cxc){return handleError(_0x8a2cxa,_0x8a2cxc)})};exports[_0x4806[88]]=function(_0x8a2cx9,_0x8a2cxa){return Promise[_0x4806[23]]([])[_0x4806[15]](getVoiceQueues(_0x8a2cx9[_0x4806[22]]))[_0x4806[15]](function(_0x8a2cx10){return sequelize[_0x4806[16]](_0x4806[89]+_0x8a2cx10[_0x4806[66]](_0x4806[65])+_0x4806[85],{type:sequelize[_0x4806[69]][_0x4806[68]]})})[_0x4806[15]](function(_0x8a2cxf){return _0x8a2cxa[_0x4806[14]](200)[_0x4806[13]]({value:_0x8a2cxf[0][_0x4806[58]]})})[_0x4806[12]](function(_0x8a2cxc){return handleError(_0x8a2cxa,_0x8a2cxc)})};exports[_0x4806[90]]=function(_0x8a2cx9,_0x8a2cxa){return Promise[_0x4806[23]]([])[_0x4806[15]](getVoiceQueues(_0x8a2cx9[_0x4806[22]]))[_0x4806[15]](function(_0x8a2cx10){return sequelize[_0x4806[16]](_0x4806[91]+_0x8a2cx10[_0x4806[66]](_0x4806[65])+_0x4806[85],{type:sequelize[_0x4806[69]][_0x4806[68]]})})[_0x4806[15]](function(_0x8a2cxf){return _0x8a2cxa[_0x4806[14]](200)[_0x4806[13]]({value:_0x8a2cxf[0][_0x4806[58]]})})[_0x4806[12]](function(_0x8a2cxc){return handleError(_0x8a2cxa,_0x8a2cxc)})};exports[_0x4806[92]]=function(_0x8a2cx9,_0x8a2cxa){return Promise[_0x4806[23]]([])[_0x4806[15]](getVoiceQueues(_0x8a2cx9[_0x4806[22]]))[_0x4806[15]](function(_0x8a2cx10){return sequelize[_0x4806[16]](_0x4806[93]+_0x8a2cx10[_0x4806[66]](_0x4806[65])+_0x4806[85],{type:sequelize[_0x4806[69]][_0x4806[68]]})})[_0x4806[15]](function(_0x8a2cxf){return _0x8a2cxa[_0x4806[14]](200)[_0x4806[13]]({value:_0x8a2cxf[0][_0x4806[58]]})})[_0x4806[12]](function(_0x8a2cxc){return handleError(_0x8a2cxa,_0x8a2cxc)})};exports[_0x4806[53]]=function(_0x8a2cx9,_0x8a2cxa){return Promise[_0x4806[23]]([])[_0x4806[15]](getVoiceQueues(_0x8a2cx9[_0x4806[22]]))[_0x4806[15]](function(_0x8a2cx10){return ReportQueue[_0x4806[21]]({where:{queuecallerexit:true,queue:_0x8a2cx10}})})[_0x4806[15]](function(_0x8a2cxf){return _0x8a2cxa[_0x4806[14]](200)[_0x4806[13]]({value:_0x8a2cxf})})[_0x4806[12]](function(_0x8a2cxc){return handleError(_0x8a2cxa,_0x8a2cxc)})};exports[_0x4806[94]]=function(_0x8a2cx9,_0x8a2cxa){return ReportQueue[_0x4806[30]]({where:{queue:_0x8a2cx9[_0x4806[96]][_0x4806[74]]}})[_0x4806[15]](function(_0x8a2cx31){if(!_0x8a2cx31){return _0x8a2cxa[_0x4806[95]](404)};return _0x8a2cxa[_0x4806[13]]({count:_0x8a2cx31[_0x4806[61]],rows:_0x8a2cx31})})[_0x4806[12]](function(_0x8a2cxc){return handleError(_0x8a2cxa,_0x8a2cxc)})};function handleError(_0x8a2cxa,_0x8a2cxc){return _0x8a2cxa[_0x4806[14]](500)[_0x4806[13]](_0x8a2cxc)} \ No newline at end of file +var _0xb6ad=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x75\x65","\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x75\x65\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x62\x6C\x75\x65\x62\x69\x72\x64","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x73\x63\x72\x69\x62\x65","\x77\x61\x69\x74\x69\x6E\x67","\x63\x6F\x75\x6E\x74","\x75\x73\x65\x72","\x61\x6C\x6C","\x72\x6F\x77\x73","\x6E\x61\x6D\x65","\x6D\x61\x70","\x67\x65\x74\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x69\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x66\x69\x6E\x64\x41\x6C\x6C","\x72\x6F\x6C\x65","\x71\x75\x65\x75\x65\x50\x61\x72\x61\x6D\x65\x74\x65\x72\x73","\x6C\x69\x6D\x69\x74","\x6F\x66\x66\x73\x65\x74","\x61\x6E\x73\x77\x65\x72\x65\x64\x5F\x75\x69\x46\x72\x6F\x6D","\x61\x6E\x73\x77\x65\x72\x65\x64\x5F\x75\x69\x54\x6F","\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64\x5F\x75\x69\x46\x72\x6F\x6D","\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64\x5F\x75\x69\x54\x6F","\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64\x5F\x75\x69\x46\x72\x6F\x6D","\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64\x5F\x75\x69\x54\x6F","\x6C\x6F\x67","\x73\x70\x72\x65\x61\x64","\x66\x69\x6E\x64","\x74\x6F\x74\x61\x6C\x63\x61\x6C\x6C\x73","\x66\x6F\x72\x45\x61\x63\x68","\x5F\x61\x6E\x73\x77\x65\x72\x65\x64\x46\x72\x6F\x6D","\x61\x6E\x73\x77\x65\x72\x65\x64","\x5F\x61\x6E\x73\x77\x65\x72\x65\x64\x54\x6F","\x5F\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64\x46\x72\x6F\x6D","\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64","\x5F\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64\x54\x6F","\x5F\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64\x46\x72\x6F\x6D","\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x5F\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64\x54\x6F","\x72\x65\x64\x75\x63\x65","\x66\x69\x6C\x74\x65\x72","\x5F\x6C\x69\x6D\x69\x74","\x76\x61\x6C\x75\x65","\x74\x61\x6B\x65","\x73\x6C\x69\x63\x65","\x6C\x65\x6E\x67\x74\x68","\x74\x61\x6C\x6B\x74\x69\x6D\x65","\x30\x30\x3A\x30\x30\x3A\x30\x30","\x53\x45\x4C\x45\x43\x54\x20\x71\x75\x65\x75\x65\x20\x41\x53\x20\x27\x6E\x61\x6D\x65\x27\x2C\x43\x4F\x55\x4E\x54\x28\x64\x69\x73\x74\x69\x6E\x63\x74\x20\x75\x6E\x69\x71\x75\x65\x69\x64\x29\x20\x61\x73\x20\x74\x6F\x74\x61\x6C\x63\x61\x6C\x6C\x73\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x20\x57\x48\x45\x52\x45\x20\x71\x75\x65\x75\x65\x20\x49\x4E\x20\x28\x27","\x27\x2C\x27","\x6A\x6F\x69\x6E","\x27\x29\x20\x47\x52\x4F\x55\x50\x20\x42\x59\x20\x71\x75\x65\x75\x65","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\x68\x6F\x6C\x64\x74\x69\x6D\x65","\x53\x45\x4C\x45\x43\x54\x20\x71\x75\x65\x75\x65\x20\x41\x53\x20\x27\x6E\x61\x6D\x65\x27\x2C\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x52\x4F\x55\x4E\x44\x28\x41\x56\x47\x28\x74\x61\x6C\x6B\x74\x69\x6D\x65\x29\x2C\x20\x30\x29\x29\x20\x61\x73\x20\x74\x61\x6C\x6B\x74\x69\x6D\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x20\x57\x48\x45\x52\x45\x20\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65\x20\x3D\x20\x31\x20\x41\x4E\x44\x20\x71\x75\x65\x75\x65\x20\x49\x4E\x20\x28\x27","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x53\x45\x4C\x45\x43\x54\x20\x71\x75\x65\x75\x65\x20\x41\x53\x20\x27\x6E\x61\x6D\x65\x27\x2C\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x52\x4F\x55\x4E\x44\x28\x41\x56\x47\x28\x68\x6F\x6C\x64\x74\x69\x6D\x65\x29\x2C\x20\x30\x29\x29\x20\x61\x73\x20\x68\x6F\x6C\x64\x74\x69\x6D\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x20\x57\x48\x45\x52\x45\x20\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65\x20\x3D\x20\x31\x20\x41\x4E\x44\x20\x71\x75\x65\x75\x65\x20\x49\x4E\x20\x28\x27","\x71\x75\x65\x75\x65","\x43\x4F\x55\x4E\x54","\x63\x6F\x6C","\x66\x6E","\x61\x63\x74\x69\x76\x65","\x77\x61\x69\x74\x69\x6E\x67\x43\x61\x6C\x6C\x73","\x77\x61\x69\x74\x69\x6E\x67\x4C\x69\x73\x74","\x73\x63\x6F\x70\x65","\x67\x65\x74\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73","\x61\x76\x67\x61\x6E\x73\x77\x65\x72\x74\x69\x6D\x65","\x53\x45\x4C\x45\x43\x54\x20\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x52\x4F\x55\x4E\x44\x28\x41\x56\x47\x28\x68\x6F\x6C\x64\x74\x69\x6D\x65\x29\x2C\x20\x30\x29\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x20\x57\x48\x45\x52\x45\x20\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65\x20\x3D\x20\x31\x20\x41\x4E\x44\x20\x71\x75\x65\x75\x65\x20\x49\x4E\x20\x28\x27","\x27\x29","\x61\x76\x67\x74\x61\x6C\x6B\x74\x69\x6D\x65","\x53\x45\x4C\x45\x43\x54\x20\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x52\x4F\x55\x4E\x44\x28\x41\x56\x47\x28\x74\x61\x6C\x6B\x74\x69\x6D\x65\x29\x2C\x20\x30\x29\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x20\x57\x48\x45\x52\x45\x20\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65\x20\x3D\x20\x31\x20\x41\x4E\x44\x20\x71\x75\x65\x75\x65\x20\x49\x4E\x20\x28\x27","\x61\x6E\x73\x77\x65\x72\x72\x61\x74\x65","\x53\x45\x4C\x45\x43\x54\x20\x52\x4F\x55\x4E\x44\x28\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x29\x20\x2F\x20\x28\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x29\x20\x2B\x20\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x29\x29\x20\x2A\x20\x31\x30\x30\x2C\x20\x31\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x20\x57\x48\x45\x52\x45\x20\x71\x75\x65\x75\x65\x20\x49\x4E\x20\x28\x27","\x61\x62\x61\x6E\x64\x6F\x6E\x72\x61\x74\x65","\x53\x45\x4C\x45\x43\x54\x20\x52\x4F\x55\x4E\x44\x28\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x29\x20\x2F\x20\x28\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x29\x20\x2B\x20\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x29\x29\x20\x2A\x20\x31\x30\x30\x2C\x20\x31\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x20\x57\x48\x45\x52\x45\x20\x71\x75\x65\x75\x65\x20\x49\x4E\x20\x28\x27","\x74\x6F\x74\x61\x6C\x6F\x66\x66\x65\x72\x65\x64","\x53\x45\x4C\x45\x43\x54\x20\x43\x4F\x55\x4E\x54\x28\x64\x69\x73\x74\x69\x6E\x63\x74\x20\x75\x6E\x69\x71\x75\x65\x69\x64\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x20\x57\x48\x45\x52\x45\x20\x71\x75\x65\x75\x65\x20\x49\x4E\x20\x28\x27","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x70\x61\x72\x61\x6D\x73"];_0xb6ad[0];var _=require(_0xb6ad[1]);var sequelize=require(_0xb6ad[3])[_0xb6ad[2]];var Agent=require(_0xb6ad[3])[_0xb6ad[4]];var ReportQueue=require(_0xb6ad[3])[_0xb6ad[5]];var VoiceQueue=require(_0xb6ad[3])[_0xb6ad[6]];var ReportQueueHistory=require(_0xb6ad[3])[_0xb6ad[8]][_0xb6ad[7]];var Util=require(_0xb6ad[9]);var Promise=require(_0xb6ad[10]);exports[_0xb6ad[11]]=function(_0xc75fx9,_0xc75fxa,_0xc75fxb){return ReportQueue[_0xb6ad[18]](Util[_0xb6ad[17]](_0xc75fx9[_0xb6ad[16]]))[_0xb6ad[15]](function(_0xc75fxd){return _0xc75fxa[_0xb6ad[14]](200)[_0xb6ad[13]](_0xc75fxd)})[_0xb6ad[12]](function(_0xc75fxc){return handleError(_0xc75fxa,_0xc75fxc)})};exports[_0xb6ad[19]]=function(_0xc75fx9,_0xc75fxa){return ReportQueueHistory[_0xb6ad[19]]()[_0xb6ad[15]](function(_0xc75fxe){return _0xc75fxa[_0xb6ad[14]](200)[_0xb6ad[13]](_0xc75fxe)})[_0xb6ad[12]](function(_0xc75fxc){return handleError(_0xc75fxa,_0xc75fxc)})};exports[_0xb6ad[20]]=function(_0xc75fx9,_0xc75fxa){return Promise[_0xb6ad[23]]([])[_0xb6ad[15]](getVoiceQueues(_0xc75fx9[_0xb6ad[22]]))[_0xb6ad[15]](function(_0xc75fx10){return ReportQueue[_0xb6ad[21]]({where:{queuecallerleaveAt:null,queue:_0xc75fx10}})})[_0xb6ad[15]](function(_0xc75fxf){return _0xc75fxa[_0xb6ad[14]](200)[_0xb6ad[13]]({value:_0xc75fxf})})[_0xb6ad[12]](function(_0xc75fxc){return handleError(_0xc75fxa,_0xc75fxc)})};function getVoiceQueues(_0xc75fx12){return function(){switch(_0xc75fx12[_0xb6ad[31]]){case _0xb6ad[22]:return Agent[_0xb6ad[29]](_0xc75fx12[_0xb6ad[28]],{attributes:[_0xb6ad[28]]})[_0xb6ad[15]](Util[_0xb6ad[27]]())[_0xb6ad[15]](function(_0xc75fx10){return _[_0xb6ad[26]](_0xc75fx10[_0xb6ad[24]],_0xb6ad[25])});default:return VoiceQueue[_0xb6ad[30]]()[_0xb6ad[15]](function(_0xc75fx13){return {rows:_0xc75fx13}})[_0xb6ad[15]](function(_0xc75fx10){return _[_0xb6ad[26]](_0xc75fx10[_0xb6ad[24]],_0xb6ad[25])})}}}exports[_0xb6ad[32]]=function(_0xc75fx9,_0xc75fxa){var _0xc75fx14={_limit:_0xc75fx9[_0xb6ad[16]][_0xb6ad[33]]?_0xc75fx9[_0xb6ad[16]][_0xb6ad[33]]:null,_offset:_0xc75fx9[_0xb6ad[16]][_0xb6ad[34]]?_0xc75fx9[_0xb6ad[16]][_0xb6ad[34]]:0,_answeredFrom:_0xc75fx9[_0xb6ad[16]][_0xb6ad[35]]||_0xc75fx9[_0xb6ad[16]][_0xb6ad[35]]===0?_0xc75fx9[_0xb6ad[16]][_0xb6ad[35]]:undefined,_answeredTo:_0xc75fx9[_0xb6ad[16]][_0xb6ad[36]]||_0xc75fx9[_0xb6ad[16]][_0xb6ad[36]]===0?_0xc75fx9[_0xb6ad[16]][_0xb6ad[36]]:undefined,_abandonedFrom:_0xc75fx9[_0xb6ad[16]][_0xb6ad[37]]||_0xc75fx9[_0xb6ad[16]][_0xb6ad[37]]===0?_0xc75fx9[_0xb6ad[16]][_0xb6ad[37]]:undefined,_abandonedTo:_0xc75fx9[_0xb6ad[16]][_0xb6ad[38]]||_0xc75fx9[_0xb6ad[16]][_0xb6ad[38]]===0?_0xc75fx9[_0xb6ad[16]][_0xb6ad[38]]:undefined,_unmanagedFrom:_0xc75fx9[_0xb6ad[16]][_0xb6ad[39]]||_0xc75fx9[_0xb6ad[16]][_0xb6ad[39]]===0?_0xc75fx9[_0xb6ad[16]][_0xb6ad[39]]:undefined,_unmanagedTo:_0xc75fx9[_0xb6ad[16]][_0xb6ad[40]]||_0xc75fx9[_0xb6ad[16]][_0xb6ad[40]]===0?_0xc75fx9[_0xb6ad[16]][_0xb6ad[40]]:undefined};var _0xc75fx15,_0xc75fx16,_0xc75fx17,_0xc75fx18;delete _0xc75fx9[_0xb6ad[16]][_0xb6ad[33]];delete _0xc75fx9[_0xb6ad[16]][_0xb6ad[34]];delete _0xc75fx9[_0xb6ad[16]][_0xb6ad[35]];delete _0xc75fx9[_0xb6ad[16]][_0xb6ad[36]];delete _0xc75fx9[_0xb6ad[16]][_0xb6ad[37]];delete _0xc75fx9[_0xb6ad[16]][_0xb6ad[38]];delete _0xc75fx9[_0xb6ad[16]][_0xb6ad[39]];delete _0xc75fx9[_0xb6ad[16]][_0xb6ad[40]];return Promise[_0xb6ad[23]]([])[_0xb6ad[15]](getVoiceQueues(_0xc75fx9[_0xb6ad[22]]))[_0xb6ad[15]](function(_0xc75fx10){_0xc75fx16=_0xc75fx10;_0xc75fx15=_[_0xb6ad[26]](_0xc75fx10,function(_0xc75fx1c){return {name:_0xc75fx1c}});return ReportQueue[_0xb6ad[30]]({where:{queuecallerleaveAt:null,queue:_0xc75fx16},group:_0xb6ad[74],attributes:[[_0xb6ad[74],_0xb6ad[25]],[sequelize[_0xb6ad[77]](_0xb6ad[75],sequelize[_0xb6ad[76]](_0xb6ad[28])),_0xb6ad[20]]]})})[_0xb6ad[15]](function(_0xc75fx2d){_0xc75fx2d=_[_0xb6ad[26]](_0xc75fx2d,_0xb6ad[72]);_0xc75fx15[_0xb6ad[45]](function(_0xc75fx1c,_0xc75fx2e){var _0xc75fx1d=_[_0xb6ad[43]](_0xc75fx2d,{name:_0xc75fx1c[_0xb6ad[25]]});_0xc75fx1c[_0xb6ad[20]]=_0xc75fx1d?_0xc75fx1d[_0xb6ad[20]]:0});return ReportQueue[_0xb6ad[30]]({where:{queuecallerexit:false,queuecallerabandon:false,queuecallercomplete:false,queuecallerleaveAt:{$ne:null},queue:_0xc75fx16},group:_0xb6ad[74],attributes:[[_0xb6ad[74],_0xb6ad[25]],[sequelize[_0xb6ad[77]](_0xb6ad[75],sequelize[_0xb6ad[76]](_0xb6ad[28])),_0xb6ad[78]]]})})[_0xb6ad[15]](function(_0xc75fx2c){_0xc75fx2c=_[_0xb6ad[26]](_0xc75fx2c,_0xb6ad[72]);_0xc75fx15[_0xb6ad[45]](function(_0xc75fx1c){var _0xc75fx1d=_[_0xb6ad[43]](_0xc75fx2c,{name:_0xc75fx1c[_0xb6ad[25]]});_0xc75fx1c[_0xb6ad[78]]=_0xc75fx1d?_0xc75fx1d[_0xb6ad[78]]:0});return ReportQueue[_0xb6ad[30]]({where:{queuecallercomplete:true,queue:_0xc75fx16},group:_0xb6ad[74],attributes:[[_0xb6ad[74],_0xb6ad[25]],[sequelize[_0xb6ad[77]](_0xb6ad[75],sequelize[_0xb6ad[76]](_0xb6ad[28])),_0xb6ad[47]]]})})[_0xb6ad[15]](function(_0xc75fx2b){_0xc75fx2b=_[_0xb6ad[26]](_0xc75fx2b,_0xb6ad[72]);_0xc75fx15[_0xb6ad[45]](function(_0xc75fx1c){var _0xc75fx1d=_[_0xb6ad[43]](_0xc75fx2b,{name:_0xc75fx1c[_0xb6ad[25]]});_0xc75fx1c[_0xb6ad[47]]=_0xc75fx1d?_0xc75fx1d[_0xb6ad[47]]:0});return ReportQueue[_0xb6ad[30]]({where:{queuecallerabandon:true,queue:_0xc75fx16},group:_0xb6ad[74],attributes:[[_0xb6ad[74],_0xb6ad[25]],[sequelize[_0xb6ad[77]](_0xb6ad[75],sequelize[_0xb6ad[76]](_0xb6ad[28])),_0xb6ad[50]]]})})[_0xb6ad[15]](function(_0xc75fx2a){_0xc75fx2a=_[_0xb6ad[26]](_0xc75fx2a,_0xb6ad[72]);_0xc75fx15[_0xb6ad[45]](function(_0xc75fx1c){var _0xc75fx1d=_[_0xb6ad[43]](_0xc75fx2a,{name:_0xc75fx1c[_0xb6ad[25]]});_0xc75fx1c[_0xb6ad[50]]=_0xc75fx1d?_0xc75fx1d[_0xb6ad[50]]:0});return ReportQueue[_0xb6ad[30]]({where:{queuecallerexit:true,queue:_0xc75fx16},group:_0xb6ad[74],attributes:[[_0xb6ad[74],_0xb6ad[25]],[sequelize[_0xb6ad[77]](_0xb6ad[75],sequelize[_0xb6ad[76]](_0xb6ad[28])),_0xb6ad[53]]]})})[_0xb6ad[15]](function(_0xc75fx29){_0xc75fx29=_[_0xb6ad[26]](_0xc75fx29,_0xb6ad[72]);_0xc75fx15[_0xb6ad[45]](function(_0xc75fx1c){var _0xc75fx1d=_[_0xb6ad[43]](_0xc75fx29,{name:_0xc75fx1c[_0xb6ad[25]]});_0xc75fx1c[_0xb6ad[53]]=_0xc75fx1d?_0xc75fx1d[_0xb6ad[53]]:0});return sequelize[_0xb6ad[16]](_0xb6ad[73]+_0xc75fx16[_0xb6ad[66]](_0xb6ad[65])+_0xb6ad[67],{type:sequelize[_0xb6ad[69]][_0xb6ad[68]]})})[_0xb6ad[15]](function(_0xc75fx28){_0xc75fx15[_0xb6ad[45]](function(_0xc75fx1c){var _0xc75fx1d=_[_0xb6ad[43]](_0xc75fx28,{name:_0xc75fx1c[_0xb6ad[25]]});_0xc75fx1c[_0xb6ad[70]]=_0xc75fx1d?_0xc75fx1d[_0xb6ad[70]]:_0xb6ad[63]});return sequelize[_0xb6ad[16]](_0xb6ad[71]+_0xc75fx16[_0xb6ad[66]](_0xb6ad[65])+_0xb6ad[67],{type:sequelize[_0xb6ad[69]][_0xb6ad[68]]})})[_0xb6ad[15]](function(_0xc75fx27){_0xc75fx15[_0xb6ad[45]](function(_0xc75fx1c){var _0xc75fx1d=_[_0xb6ad[43]](_0xc75fx27,{name:_0xc75fx1c[_0xb6ad[25]]});_0xc75fx1c[_0xb6ad[62]]=_0xc75fx1d?_0xc75fx1d[_0xb6ad[62]]:_0xb6ad[63]});return sequelize[_0xb6ad[16]](_0xb6ad[64]+_0xc75fx16[_0xb6ad[66]](_0xb6ad[65])+_0xb6ad[67],{type:sequelize[_0xb6ad[69]][_0xb6ad[68]]})})[_0xb6ad[15]](function(_0xc75fx1b){_0xc75fx15[_0xb6ad[45]](function(_0xc75fx1c){var _0xc75fx1d=_[_0xb6ad[43]](_0xc75fx1b,{name:_0xc75fx1c[_0xb6ad[25]]});_0xc75fx1c[_0xb6ad[44]]=_0xc75fx1d?_0xc75fx1d[_0xb6ad[44]]:0});var _0xc75fx1e=_(_[_0xb6ad[56]](_0xc75fx15,function(_0xc75fx1c){var _0xc75fx1f=_0xc75fx14[_0xb6ad[46]]?(_0xc75fx1c[_0xb6ad[47]]>=Number(_0xc75fx14._answeredFrom)):true;var _0xc75fx20=_0xc75fx14[_0xb6ad[48]]?(_0xc75fx1c[_0xb6ad[47]]<=Number(_0xc75fx14._answeredTo)):true;var _0xc75fx21=_0xc75fx14[_0xb6ad[49]]?(_0xc75fx1c[_0xb6ad[50]]>=Number(_0xc75fx14._abandonedFrom)):true;var _0xc75fx22=_0xc75fx14[_0xb6ad[51]]?(_0xc75fx1c[_0xb6ad[50]]>=Number(_0xc75fx14._abandonedTo)):true;var _0xc75fx23=_0xc75fx14[_0xb6ad[52]]?(_0xc75fx1c[_0xb6ad[53]]>=Number(_0xc75fx14._unmanagedFrom)):true;var _0xc75fx24=_0xc75fx14[_0xb6ad[54]]?(_0xc75fx1c[_0xb6ad[53]]<=Number(_0xc75fx14._unmanagedTo)):true;return _[_0xb6ad[55]]([_0xc75fx1f,_0xc75fx20,_0xc75fx21,_0xc75fx22,_0xc75fx23,_0xc75fx24],function(_0xc75fx25,_0xc75fx26){return _0xc75fx25&&_0xc75fx26})}));if(_0xc75fx14[_0xb6ad[57]]){_0xc75fx1e=_0xc75fx1e[_0xb6ad[60]](_0xc75fx14._offset)[_0xb6ad[59]](_0xc75fx14._limit)[_0xb6ad[58]]()};return [_0xc75fx15[_0xb6ad[61]],_0xc75fx1e]})[_0xb6ad[42]](function(_0xc75fx19,_0xc75fx1a){return _0xc75fxa[_0xb6ad[14]](200)[_0xb6ad[13]]({rows:_0xc75fx1a,count:_0xc75fx19})})[_0xb6ad[12]](function(_0xc75fxc){console[_0xb6ad[41]](_0xc75fxc);return handleError(_0xc75fxa,_0xc75fxc)})};exports[_0xb6ad[79]]=function(_0xc75fx9,_0xc75fxa){return Promise[_0xb6ad[23]]([])[_0xb6ad[15]](getVoiceQueues(_0xc75fx9[_0xb6ad[22]]))[_0xb6ad[15]](function(_0xc75fx10){return ReportQueue[_0xb6ad[30]](Util[_0xb6ad[17]](_0xc75fx9[_0xb6ad[16]],{queuecallerleaveAt:null,queue:_0xc75fx10}))})[_0xb6ad[15]](function(_0xc75fxf){return _0xc75fxa[_0xb6ad[14]](200)[_0xb6ad[13]]({rows:_0xc75fxf})})[_0xb6ad[12]](function(_0xc75fxc){return handleError(_0xc75fxa,_0xc75fxc)})};exports[_0xb6ad[80]]=function(_0xc75fx9,_0xc75fxa){return Agent[_0xb6ad[29]](_0xc75fx9[_0xb6ad[22]][_0xb6ad[28]])[_0xb6ad[15]](function(_0xc75fx30){return _0xc75fx30[_0xb6ad[82]]({attributes:[_0xb6ad[25]]})})[_0xb6ad[15]](function(_0xc75fx13){return ReportQueue[_0xb6ad[81]](_0xb6ad[20],{method:[_0xc75fx9[_0xb6ad[22]][_0xb6ad[31]],_[_0xb6ad[26]](_0xc75fx13,_0xb6ad[25])]})[_0xb6ad[30]]()})[_0xb6ad[15]](function(_0xc75fx2f){return _0xc75fxa[_0xb6ad[14]](200)[_0xb6ad[13]]({count:_0xc75fx2f[_0xb6ad[61]],rows:_0xc75fx2f})})[_0xb6ad[12]](function(_0xc75fxc){return handleError(_0xc75fxa,_0xc75fxc)})};exports[_0xb6ad[78]]=function(_0xc75fx9,_0xc75fxa){return Promise[_0xb6ad[23]]([])[_0xb6ad[15]](getVoiceQueues(_0xc75fx9[_0xb6ad[22]]))[_0xb6ad[15]](function(_0xc75fx10){return ReportQueue[_0xb6ad[21]]({where:{queuecallerexit:false,queuecallerabandon:false,queuecallercomplete:false,queuecallerleaveAt:{$ne:null},queue:_0xc75fx10}})})[_0xb6ad[15]](function(_0xc75fxf){return _0xc75fxa[_0xb6ad[14]](200)[_0xb6ad[13]]({value:_0xc75fxf})})[_0xb6ad[12]](function(_0xc75fxc){return handleError(_0xc75fxa,_0xc75fxc)})};exports[_0xb6ad[47]]=function(_0xc75fx9,_0xc75fxa){return Promise[_0xb6ad[23]]([])[_0xb6ad[15]](getVoiceQueues(_0xc75fx9[_0xb6ad[22]]))[_0xb6ad[15]](function(_0xc75fx10){return ReportQueue[_0xb6ad[21]]({where:{queuecallercomplete:true,queue:_0xc75fx10}})})[_0xb6ad[15]](function(_0xc75fxf){return _0xc75fxa[_0xb6ad[14]](200)[_0xb6ad[13]]({value:_0xc75fxf})})[_0xb6ad[12]](function(_0xc75fxc){return handleError(_0xc75fxa,_0xc75fxc)})};exports[_0xb6ad[50]]=function(_0xc75fx9,_0xc75fxa){return Promise[_0xb6ad[23]]([])[_0xb6ad[15]](getVoiceQueues(_0xc75fx9[_0xb6ad[22]]))[_0xb6ad[15]](function(_0xc75fx10){return ReportQueue[_0xb6ad[21]]({where:{queuecallerabandon:true,queue:_0xc75fx10}})})[_0xb6ad[15]](function(_0xc75fxf){return _0xc75fxa[_0xb6ad[14]](200)[_0xb6ad[13]]({value:_0xc75fxf})})[_0xb6ad[12]](function(_0xc75fxc){return handleError(_0xc75fxa,_0xc75fxc)})};exports[_0xb6ad[83]]=function(_0xc75fx9,_0xc75fxa){return Promise[_0xb6ad[23]]([])[_0xb6ad[15]](getVoiceQueues(_0xc75fx9[_0xb6ad[22]]))[_0xb6ad[15]](function(_0xc75fx10){return sequelize[_0xb6ad[16]](_0xb6ad[84]+_0xc75fx10[_0xb6ad[66]](_0xb6ad[65])+_0xb6ad[85],{type:sequelize[_0xb6ad[69]][_0xb6ad[68]]})})[_0xb6ad[15]](function(_0xc75fxf){return _0xc75fxa[_0xb6ad[14]](200)[_0xb6ad[13]]({value:_0xc75fxf[0][_0xb6ad[58]]})})[_0xb6ad[12]](function(_0xc75fxc){return handleError(_0xc75fxa,_0xc75fxc)})};exports[_0xb6ad[86]]=function(_0xc75fx9,_0xc75fxa){return Promise[_0xb6ad[23]]([])[_0xb6ad[15]](getVoiceQueues(_0xc75fx9[_0xb6ad[22]]))[_0xb6ad[15]](function(_0xc75fx10){return sequelize[_0xb6ad[16]](_0xb6ad[87]+_0xc75fx10[_0xb6ad[66]](_0xb6ad[65])+_0xb6ad[85],{type:sequelize[_0xb6ad[69]][_0xb6ad[68]]})})[_0xb6ad[15]](function(_0xc75fxf){return _0xc75fxa[_0xb6ad[14]](200)[_0xb6ad[13]]({value:_0xc75fxf[0][_0xb6ad[58]]})})[_0xb6ad[12]](function(_0xc75fxc){return handleError(_0xc75fxa,_0xc75fxc)})};exports[_0xb6ad[88]]=function(_0xc75fx9,_0xc75fxa){return Promise[_0xb6ad[23]]([])[_0xb6ad[15]](getVoiceQueues(_0xc75fx9[_0xb6ad[22]]))[_0xb6ad[15]](function(_0xc75fx10){return sequelize[_0xb6ad[16]](_0xb6ad[89]+_0xc75fx10[_0xb6ad[66]](_0xb6ad[65])+_0xb6ad[85],{type:sequelize[_0xb6ad[69]][_0xb6ad[68]]})})[_0xb6ad[15]](function(_0xc75fxf){return _0xc75fxa[_0xb6ad[14]](200)[_0xb6ad[13]]({value:_0xc75fxf[0][_0xb6ad[58]]})})[_0xb6ad[12]](function(_0xc75fxc){return handleError(_0xc75fxa,_0xc75fxc)})};exports[_0xb6ad[90]]=function(_0xc75fx9,_0xc75fxa){return Promise[_0xb6ad[23]]([])[_0xb6ad[15]](getVoiceQueues(_0xc75fx9[_0xb6ad[22]]))[_0xb6ad[15]](function(_0xc75fx10){return sequelize[_0xb6ad[16]](_0xb6ad[91]+_0xc75fx10[_0xb6ad[66]](_0xb6ad[65])+_0xb6ad[85],{type:sequelize[_0xb6ad[69]][_0xb6ad[68]]})})[_0xb6ad[15]](function(_0xc75fxf){return _0xc75fxa[_0xb6ad[14]](200)[_0xb6ad[13]]({value:_0xc75fxf[0][_0xb6ad[58]]})})[_0xb6ad[12]](function(_0xc75fxc){return handleError(_0xc75fxa,_0xc75fxc)})};exports[_0xb6ad[92]]=function(_0xc75fx9,_0xc75fxa){return Promise[_0xb6ad[23]]([])[_0xb6ad[15]](getVoiceQueues(_0xc75fx9[_0xb6ad[22]]))[_0xb6ad[15]](function(_0xc75fx10){return sequelize[_0xb6ad[16]](_0xb6ad[93]+_0xc75fx10[_0xb6ad[66]](_0xb6ad[65])+_0xb6ad[85],{type:sequelize[_0xb6ad[69]][_0xb6ad[68]]})})[_0xb6ad[15]](function(_0xc75fxf){return _0xc75fxa[_0xb6ad[14]](200)[_0xb6ad[13]]({value:_0xc75fxf[0][_0xb6ad[58]]})})[_0xb6ad[12]](function(_0xc75fxc){return handleError(_0xc75fxa,_0xc75fxc)})};exports[_0xb6ad[53]]=function(_0xc75fx9,_0xc75fxa){return Promise[_0xb6ad[23]]([])[_0xb6ad[15]](getVoiceQueues(_0xc75fx9[_0xb6ad[22]]))[_0xb6ad[15]](function(_0xc75fx10){return ReportQueue[_0xb6ad[21]]({where:{queuecallerexit:true,queue:_0xc75fx10}})})[_0xb6ad[15]](function(_0xc75fxf){return _0xc75fxa[_0xb6ad[14]](200)[_0xb6ad[13]]({value:_0xc75fxf})})[_0xb6ad[12]](function(_0xc75fxc){return handleError(_0xc75fxa,_0xc75fxc)})};exports[_0xb6ad[94]]=function(_0xc75fx9,_0xc75fxa){return ReportQueue[_0xb6ad[30]]({where:{queue:_0xc75fx9[_0xb6ad[96]][_0xb6ad[74]]}})[_0xb6ad[15]](function(_0xc75fx31){if(!_0xc75fx31){return _0xc75fxa[_0xb6ad[95]](404)};return _0xc75fxa[_0xb6ad[13]]({count:_0xc75fx31[_0xb6ad[61]],rows:_0xc75fx31})})[_0xb6ad[12]](function(_0xc75fxc){return handleError(_0xc75fxa,_0xc75fxc)})};function handleError(_0xc75fxa,_0xc75fxc){return _0xc75fxa[_0xb6ad[14]](500)[_0xb6ad[13]](_0xc75fxc)} \ No newline at end of file diff --git a/server/api/report_queue/report_queue.socket.js b/server/api/report_queue/report_queue.socket.js index e484c0a..54cab60 100644 --- a/server/api/report_queue/report_queue.socket.js +++ b/server/api/report_queue/report_queue.socket.js @@ -1 +1 @@ -var _0x3149=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x6C\x6F\x64\x61\x73\x68","\x62\x6C\x75\x65\x62\x69\x72\x64","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x72\x6F\x77\x73","\x6E\x61\x6D\x65","\x6D\x61\x70","\x74\x68\x65\x6E","\x67\x65\x74\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x75\x73\x65\x72\x49\x64","\x69\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x73\x65\x72","\x66\x69\x6E\x64\x41\x6C\x6C","\x61\x64\x6D\x69\x6E","\x72\x6F\x6C\x65","\x45\x72\x72\x6F\x72\x20\x66\x69\x6C\x74\x65\x72\x69\x6E\x67\x20\x71\x75\x65\x75\x65\x73\x20\x61\x66\x74\x65\x72\x20\x71\x75\x65\x75\x65\x20\x73\x61\x76\x65","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x71\x75\x65\x75\x65","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x61\x6C\x6C","\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x3149[0];var ReportQueue=require(_0x3149[2])[_0x3149[1]];var VoiceQueue=require(_0x3149[2])[_0x3149[3]];var User=require(_0x3149[2])[_0x3149[4]];var Util=require(_0x3149[5]);var _=require(_0x3149[6]);var Promise=require(_0x3149[7]);exports[_0x3149[8]]=function(_0xc482x7){ReportQueue[_0x3149[9]](function(_0xc482x8){onSave(_0xc482x7,_0xc482x8)});ReportQueue[_0x3149[10]](function(_0xc482x8){onSave(_0xc482x7,_0xc482x8)});ReportQueue[_0x3149[11]](function(_0xc482x8){onRemove(_0xc482x7,_0xc482x8)})};function getVoiceQueues(_0xc482xa){return function(){switch(_0xc482xa[_0x3149[23]]){case _0x3149[20]:return User[_0x3149[19]](_0xc482xa[_0x3149[17]],{attributes:[_0x3149[18]]})[_0x3149[15]](Util[_0x3149[16]]())[_0x3149[15]](function(_0xc482xb){return _[_0x3149[14]](_0xc482xb[_0x3149[12]],_0x3149[13])});case _0x3149[22]:return VoiceQueue[_0x3149[21]]()[_0x3149[15]](function(_0xc482xc){return {rows:_0xc482xc}})[_0x3149[15]](function(_0xc482xb){return _[_0x3149[14]](_0xc482xb[_0x3149[12]],_0x3149[13])});default:return []}}}function onSave(_0xc482x7,_0xc482x8,_0xc482xe){return Promise[_0x3149[31]]([])[_0x3149[15]](getVoiceQueues(_0xc482x7))[_0x3149[15]](function(_0xc482xb){if(_[_0x3149[28]](_0xc482xb,_0xc482x8[_0x3149[27]])){_0xc482x7[_0x3149[30]](_0x3149[29],_0xc482x8)}})[_0x3149[26]](function(_0xc482xf){console[_0x3149[25]](_0x3149[24],_0xc482xf)})}function onRemove(_0xc482x7,_0xc482x8,_0xc482xe){_0xc482x7[_0x3149[30]](_0x3149[32],_0xc482x8)} \ No newline at end of file +var _0xed71=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x6C\x6F\x64\x61\x73\x68","\x62\x6C\x75\x65\x62\x69\x72\x64","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x72\x6F\x77\x73","\x6E\x61\x6D\x65","\x6D\x61\x70","\x74\x68\x65\x6E","\x67\x65\x74\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x75\x73\x65\x72\x49\x64","\x69\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x73\x65\x72","\x66\x69\x6E\x64\x41\x6C\x6C","\x61\x64\x6D\x69\x6E","\x72\x6F\x6C\x65","\x45\x72\x72\x6F\x72\x20\x66\x69\x6C\x74\x65\x72\x69\x6E\x67\x20\x71\x75\x65\x75\x65\x73\x20\x61\x66\x74\x65\x72\x20\x71\x75\x65\x75\x65\x20\x73\x61\x76\x65","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x71\x75\x65\x75\x65","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x61\x6C\x6C","\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0xed71[0];var ReportQueue=require(_0xed71[2])[_0xed71[1]];var VoiceQueue=require(_0xed71[2])[_0xed71[3]];var User=require(_0xed71[2])[_0xed71[4]];var Util=require(_0xed71[5]);var _=require(_0xed71[6]);var Promise=require(_0xed71[7]);exports[_0xed71[8]]=function(_0x1a09x7){ReportQueue[_0xed71[9]](function(_0x1a09x8){onSave(_0x1a09x7,_0x1a09x8)});ReportQueue[_0xed71[10]](function(_0x1a09x8){onSave(_0x1a09x7,_0x1a09x8)});ReportQueue[_0xed71[11]](function(_0x1a09x8){onRemove(_0x1a09x7,_0x1a09x8)})};function getVoiceQueues(_0x1a09xa){return function(){switch(_0x1a09xa[_0xed71[23]]){case _0xed71[20]:return User[_0xed71[19]](_0x1a09xa[_0xed71[17]],{attributes:[_0xed71[18]]})[_0xed71[15]](Util[_0xed71[16]]())[_0xed71[15]](function(_0x1a09xb){return _[_0xed71[14]](_0x1a09xb[_0xed71[12]],_0xed71[13])});case _0xed71[22]:return VoiceQueue[_0xed71[21]]()[_0xed71[15]](function(_0x1a09xc){return {rows:_0x1a09xc}})[_0xed71[15]](function(_0x1a09xb){return _[_0xed71[14]](_0x1a09xb[_0xed71[12]],_0xed71[13])});default:return []}}}function onSave(_0x1a09x7,_0x1a09x8,_0x1a09xe){return Promise[_0xed71[31]]([])[_0xed71[15]](getVoiceQueues(_0x1a09x7))[_0xed71[15]](function(_0x1a09xb){if(_[_0xed71[28]](_0x1a09xb,_0x1a09x8[_0xed71[27]])){_0x1a09x7[_0xed71[30]](_0xed71[29],_0x1a09x8)}})[_0xed71[26]](function(_0x1a09xf){console[_0xed71[25]](_0xed71[24],_0x1a09xf)})}function onRemove(_0x1a09x7,_0x1a09x8,_0x1a09xe){_0x1a09x7[_0xed71[30]](_0xed71[32],_0x1a09x8)} \ No newline at end of file diff --git a/server/api/report_sms/index.js b/server/api/report_sms/index.js index 02df495..4b8eed2 100644 --- a/server/api/report_sms/index.js +++ b/server/api/report_sms/index.js @@ -1 +1 @@ -var _0x9d95=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64\x2F\x61\x63\x63\x65\x70\x74\x2F\x3A\x75\x6E\x69\x71\x75\x65\x69\x64","\x61\x63\x63\x65\x70\x74","\x2F\x3A\x69\x64\x2F\x72\x65\x6A\x65\x63\x74","\x72\x65\x6A\x65\x63\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x9d95[0];var express=require(_0x9d95[1]);var controller=require(_0x9d95[2]);var auth=require(_0x9d95[3]);var router=express.Router();router[_0x9d95[7]](_0x9d95[4],auth[_0x9d95[5]](),controller[_0x9d95[6]]);router[_0x9d95[7]](_0x9d95[8],auth[_0x9d95[5]](),controller[_0x9d95[9]]);router[_0x9d95[7]](_0x9d95[10],auth[_0x9d95[5]](),controller[_0x9d95[11]]);module[_0x9d95[12]]=router \ No newline at end of file +var _0x5d50=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64\x2F\x61\x63\x63\x65\x70\x74\x2F\x3A\x75\x6E\x69\x71\x75\x65\x69\x64","\x61\x63\x63\x65\x70\x74","\x2F\x3A\x69\x64\x2F\x72\x65\x6A\x65\x63\x74","\x72\x65\x6A\x65\x63\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x5d50[0];var express=require(_0x5d50[1]);var controller=require(_0x5d50[2]);var auth=require(_0x5d50[3]);var router=express.Router();router[_0x5d50[7]](_0x5d50[4],auth[_0x5d50[5]](),controller[_0x5d50[6]]);router[_0x5d50[7]](_0x5d50[8],auth[_0x5d50[5]](),controller[_0x5d50[9]]);router[_0x5d50[7]](_0x5d50[10],auth[_0x5d50[5]](),controller[_0x5d50[11]]);module[_0x5d50[12]]=router \ No newline at end of file diff --git a/server/api/report_sms/report_sms.controller.js b/server/api/report_sms/report_sms.controller.js index a9349b1..8ecab1a 100644 --- a/server/api/report_sms/report_sms.controller.js +++ b/server/api/report_sms/report_sms.controller.js @@ -1 +1 @@ -var _0x3f17=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x52\x65\x70\x6F\x72\x74\x53\x6D\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x6D\x6F\x6D\x65\x6E\x74","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x61\x63\x63\x65\x70\x74","\x2E","\x73\x70\x6C\x69\x74","\x75\x6E\x69\x71\x75\x65\x69\x64","\x70\x61\x72\x61\x6D\x73","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x69\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x43\x4C\x4F\x53\x45\x44","\x67\x65\x74\x53\x6D\x73\x52\x6F\x6F\x6D\x73","\x75\x73\x65\x72","\x73\x6D\x73\x43\x61\x70\x61\x63\x69\x74\x79","\x72\x65\x6A\x65\x63\x74","\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"];_0x3f17[0];var _=require(_0x3f17[1]);var ReportSms=require(_0x3f17[3])[_0x3f17[2]];var sequelize=require(_0x3f17[3])[_0x3f17[4]];var Agent=require(_0x3f17[3])[_0x3f17[5]];var Util=require(_0x3f17[6]);var moment=require(_0x3f17[7]);function handleError(_0x9a33x8,_0x9a33x9){return _0x9a33x8[_0x3f17[9]](500)[_0x3f17[8]](_0x9a33x9)}exports[_0x3f17[10]]=function(_0x9a33xa,_0x9a33x8){return ReportSms[_0x3f17[15]](Util[_0x3f17[14]](_0x9a33xa[_0x3f17[13]]))[_0x3f17[12]](function(_0x9a33xb){_0x9a33x8[_0x3f17[9]](200)[_0x3f17[8]](_0x9a33xb)})[_0x3f17[11]](function(_0x9a33x9){return handleError(_0x9a33x8,_0x9a33x9)})};exports[_0x3f17[16]]=function(_0x9a33xa,_0x9a33x8){var _0x9a33xc;var _0x9a33xd=_0x9a33xa[_0x3f17[20]][_0x3f17[19]][_0x3f17[18]](_0x3f17[17])[1];return Agent[_0x3f17[25]](_0x9a33xa[_0x3f17[28]][_0x3f17[24]],{attributes:[_0x3f17[24],_0x3f17[29]]})[_0x3f17[12]](function(_0x9a33x11){_0x9a33xc=_0x9a33x11;return _0x9a33x11[_0x3f17[27]]({where:{status:{$ne:_0x3f17[26]},id:{$ne:_0x9a33xd}},attributes:[_0x3f17[24]]})})[_0x3f17[12]](function(_0x9a33x10){return ReportSms[_0x3f17[25]](_0x9a33xa[_0x3f17[20]][_0x3f17[24]])})[_0x3f17[12]](function(_0x9a33xe){if(!_0x9a33xe){return _0x9a33x8[_0x3f17[21]](404)};var _0x9a33xf=_[_0x3f17[22]](_0x9a33xe,{connectid:_0x9a33xa[_0x3f17[20]][_0x3f17[19]]});return _0x9a33xf[_0x3f17[23]]()})[_0x3f17[12]](function(){return _0x9a33x8[_0x3f17[21]](200)})[_0x3f17[11]](function(_0x9a33x9){return handleError(_0x9a33x8,_0x9a33x9)})};exports[_0x3f17[30]]=function(_0x9a33xa,_0x9a33x8){return ReportSms[_0x3f17[25]](_0x9a33xa[_0x3f17[20]][_0x3f17[24]])[_0x3f17[12]](function(_0x9a33xe){if(!_0x9a33xe){return _0x9a33x8[_0x3f17[21]](404)};var _0x9a33xf=_[_0x3f17[22]](_0x9a33xe,{rejectedAt:moment()[_0x3f17[32]](_0x3f17[31])});return _0x9a33xf[_0x3f17[23]]()})[_0x3f17[12]](function(){return _0x9a33x8[_0x3f17[21]](200)})[_0x3f17[11]](function(_0x9a33x9){return handleError(_0x9a33x8,_0x9a33x9)})} \ No newline at end of file +var _0xe4e3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x52\x65\x70\x6F\x72\x74\x53\x6D\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x6D\x6F\x6D\x65\x6E\x74","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x61\x63\x63\x65\x70\x74","\x2E","\x73\x70\x6C\x69\x74","\x75\x6E\x69\x71\x75\x65\x69\x64","\x70\x61\x72\x61\x6D\x73","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x69\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x43\x4C\x4F\x53\x45\x44","\x67\x65\x74\x53\x6D\x73\x52\x6F\x6F\x6D\x73","\x75\x73\x65\x72","\x73\x6D\x73\x43\x61\x70\x61\x63\x69\x74\x79","\x72\x65\x6A\x65\x63\x74","\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"];_0xe4e3[0];var _=require(_0xe4e3[1]);var ReportSms=require(_0xe4e3[3])[_0xe4e3[2]];var sequelize=require(_0xe4e3[3])[_0xe4e3[4]];var Agent=require(_0xe4e3[3])[_0xe4e3[5]];var Util=require(_0xe4e3[6]);var moment=require(_0xe4e3[7]);function handleError(_0x9e1ex8,_0x9e1ex9){return _0x9e1ex8[_0xe4e3[9]](500)[_0xe4e3[8]](_0x9e1ex9)}exports[_0xe4e3[10]]=function(_0x9e1exa,_0x9e1ex8){return ReportSms[_0xe4e3[15]](Util[_0xe4e3[14]](_0x9e1exa[_0xe4e3[13]]))[_0xe4e3[12]](function(_0x9e1exb){_0x9e1ex8[_0xe4e3[9]](200)[_0xe4e3[8]](_0x9e1exb)})[_0xe4e3[11]](function(_0x9e1ex9){return handleError(_0x9e1ex8,_0x9e1ex9)})};exports[_0xe4e3[16]]=function(_0x9e1exa,_0x9e1ex8){var _0x9e1exc;var _0x9e1exd=_0x9e1exa[_0xe4e3[20]][_0xe4e3[19]][_0xe4e3[18]](_0xe4e3[17])[1];return Agent[_0xe4e3[25]](_0x9e1exa[_0xe4e3[28]][_0xe4e3[24]],{attributes:[_0xe4e3[24],_0xe4e3[29]]})[_0xe4e3[12]](function(_0x9e1ex11){_0x9e1exc=_0x9e1ex11;return _0x9e1ex11[_0xe4e3[27]]({where:{status:{$ne:_0xe4e3[26]},id:{$ne:_0x9e1exd}},attributes:[_0xe4e3[24]]})})[_0xe4e3[12]](function(_0x9e1ex10){return ReportSms[_0xe4e3[25]](_0x9e1exa[_0xe4e3[20]][_0xe4e3[24]])})[_0xe4e3[12]](function(_0x9e1exe){if(!_0x9e1exe){return _0x9e1ex8[_0xe4e3[21]](404)};var _0x9e1exf=_[_0xe4e3[22]](_0x9e1exe,{connectid:_0x9e1exa[_0xe4e3[20]][_0xe4e3[19]]});return _0x9e1exf[_0xe4e3[23]]()})[_0xe4e3[12]](function(){return _0x9e1ex8[_0xe4e3[21]](200)})[_0xe4e3[11]](function(_0x9e1ex9){return handleError(_0x9e1ex8,_0x9e1ex9)})};exports[_0xe4e3[30]]=function(_0x9e1exa,_0x9e1ex8){return ReportSms[_0xe4e3[25]](_0x9e1exa[_0xe4e3[20]][_0xe4e3[24]])[_0xe4e3[12]](function(_0x9e1exe){if(!_0x9e1exe){return _0x9e1ex8[_0xe4e3[21]](404)};var _0x9e1exf=_[_0xe4e3[22]](_0x9e1exe,{rejectedAt:moment()[_0xe4e3[32]](_0xe4e3[31])});return _0x9e1exf[_0xe4e3[23]]()})[_0xe4e3[12]](function(){return _0x9e1ex8[_0xe4e3[21]](200)})[_0xe4e3[11]](function(_0x9e1ex9){return handleError(_0x9e1ex8,_0x9e1ex9)})} \ No newline at end of file diff --git a/server/api/report_sms/report_sms.socket.js b/server/api/report_sms/report_sms.socket.js index d16475b..4ff124d 100644 --- a/server/api/report_sms/report_sms.socket.js +++ b/server/api/report_sms/report_sms.socket.js @@ -1 +1 @@ -var _0x1cfd=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x53\x6D\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6E\x61\x6D\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x72\x6F\x6C\x65","\x61\x64\x6D\x69\x6E","\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x3A\x75\x70\x64\x61\x74\x65","\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x3A\x72\x65\x6D\x6F\x76\x65"];_0x1cfd[0];var ReportSms=require(_0x1cfd[2])[_0x1cfd[1]];exports[_0x1cfd[3]]=function(_0x6fd3x2){ReportSms[_0x1cfd[4]](function(_0x6fd3x3){onSave(_0x6fd3x2,_0x6fd3x3)});ReportSms[_0x1cfd[5]](function(_0x6fd3x3){onUpdate(_0x6fd3x2,_0x6fd3x3)});ReportSms[_0x1cfd[6]](function(_0x6fd3x3){onRemove(_0x6fd3x2,_0x6fd3x3)})};function onSave(_0x6fd3x2,_0x6fd3x3,_0x6fd3x5){if(_0x6fd3x2[_0x1cfd[7]]===_0x6fd3x3[_0x1cfd[8]]||_0x6fd3x2[_0x1cfd[9]]===_0x1cfd[10]){_0x6fd3x2[_0x1cfd[12]](_0x1cfd[11],_0x6fd3x3)}}function onUpdate(_0x6fd3x2,_0x6fd3x3,_0x6fd3x5){if(_0x6fd3x2[_0x1cfd[7]]===_0x6fd3x3[_0x1cfd[8]]||_0x6fd3x2[_0x1cfd[9]]===_0x1cfd[10]){_0x6fd3x2[_0x1cfd[12]](_0x1cfd[13],_0x6fd3x3)}}function onRemove(_0x6fd3x2,_0x6fd3x3,_0x6fd3x5){_0x6fd3x2[_0x1cfd[12]](_0x1cfd[14],_0x6fd3x3)} \ No newline at end of file +var _0x8e53=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x53\x6D\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6E\x61\x6D\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x72\x6F\x6C\x65","\x61\x64\x6D\x69\x6E","\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x3A\x75\x70\x64\x61\x74\x65","\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x3A\x72\x65\x6D\x6F\x76\x65"];_0x8e53[0];var ReportSms=require(_0x8e53[2])[_0x8e53[1]];exports[_0x8e53[3]]=function(_0xb118x2){ReportSms[_0x8e53[4]](function(_0xb118x3){onSave(_0xb118x2,_0xb118x3)});ReportSms[_0x8e53[5]](function(_0xb118x3){onUpdate(_0xb118x2,_0xb118x3)});ReportSms[_0x8e53[6]](function(_0xb118x3){onRemove(_0xb118x2,_0xb118x3)})};function onSave(_0xb118x2,_0xb118x3,_0xb118x5){if(_0xb118x2[_0x8e53[7]]===_0xb118x3[_0x8e53[8]]||_0xb118x2[_0x8e53[9]]===_0x8e53[10]){_0xb118x2[_0x8e53[12]](_0x8e53[11],_0xb118x3)}}function onUpdate(_0xb118x2,_0xb118x3,_0xb118x5){if(_0xb118x2[_0x8e53[7]]===_0xb118x3[_0x8e53[8]]||_0xb118x2[_0x8e53[9]]===_0x8e53[10]){_0xb118x2[_0x8e53[12]](_0x8e53[13],_0xb118x3)}}function onRemove(_0xb118x2,_0xb118x3,_0xb118x5){_0xb118x2[_0x8e53[12]](_0x8e53[14],_0xb118x3)} \ No newline at end of file diff --git a/server/api/report_sms_room/index.js b/server/api/report_sms_room/index.js index c484c22..3cf6fa0 100644 --- a/server/api/report_sms_room/index.js +++ b/server/api/report_sms_room/index.js @@ -1 +1 @@ -var _0x5939=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x5F\x72\x6F\x6F\x6D\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x68\x61\x73\x53\x6D\x73","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x2F\x6F\x70\x65\x6E","\x61\x67\x65\x6E\x74","\x6F\x70\x65\x6E","\x2F\x63\x6C\x6F\x73\x65\x64","\x63\x6C\x6F\x73\x65\x64","\x2F\x6E\x65\x77","\x6E\x65\x77","\x2F\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x65\x78\x70\x6F\x72\x74\x73"];_0x5939[0];var express=require(_0x5939[1]);var auth=require(_0x5939[2]);var controller=require(_0x5939[3]);var license=require(_0x5939[4]);var router=express.Router();router[_0x5939[11]](_0x5939[5],auth[_0x5939[6]](),license[_0x5939[7]](),auth[_0x5939[9]]([17],[_0x5939[8]]),controller[_0x5939[10]]);router[_0x5939[11]](_0x5939[12],auth[_0x5939[6]](),license[_0x5939[7]](),auth[_0x5939[9]]([17],[_0x5939[8]]),controller[_0x5939[13]]);router[_0x5939[11]](_0x5939[14],auth[_0x5939[6]](),license[_0x5939[7]](),auth[_0x5939[9]]([1],[_0x5939[8],_0x5939[15]]),controller[_0x5939[16]]);router[_0x5939[11]](_0x5939[17],auth[_0x5939[6]](),license[_0x5939[7]](),auth[_0x5939[9]]([1],[_0x5939[8],_0x5939[15]]),controller[_0x5939[18]]);router[_0x5939[11]](_0x5939[19],auth[_0x5939[6]](),license[_0x5939[7]](),auth[_0x5939[9]]([1],[_0x5939[8],_0x5939[15]]),controller[_0x5939[20]]);router[_0x5939[11]](_0x5939[21],auth[_0x5939[6]](),license[_0x5939[7]](),auth[_0x5939[9]]([1],[_0x5939[8],_0x5939[15]]),controller[_0x5939[22]]);module[_0x5939[23]]=router \ No newline at end of file +var _0xbe55=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x5F\x72\x6F\x6F\x6D\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x68\x61\x73\x53\x6D\x73","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x2F\x6F\x70\x65\x6E","\x61\x67\x65\x6E\x74","\x6F\x70\x65\x6E","\x2F\x63\x6C\x6F\x73\x65\x64","\x63\x6C\x6F\x73\x65\x64","\x2F\x6E\x65\x77","\x6E\x65\x77","\x2F\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x65\x78\x70\x6F\x72\x74\x73"];_0xbe55[0];var express=require(_0xbe55[1]);var auth=require(_0xbe55[2]);var controller=require(_0xbe55[3]);var license=require(_0xbe55[4]);var router=express.Router();router[_0xbe55[11]](_0xbe55[5],auth[_0xbe55[6]](),license[_0xbe55[7]](),auth[_0xbe55[9]]([17],[_0xbe55[8]]),controller[_0xbe55[10]]);router[_0xbe55[11]](_0xbe55[12],auth[_0xbe55[6]](),license[_0xbe55[7]](),auth[_0xbe55[9]]([17],[_0xbe55[8]]),controller[_0xbe55[13]]);router[_0xbe55[11]](_0xbe55[14],auth[_0xbe55[6]](),license[_0xbe55[7]](),auth[_0xbe55[9]]([1],[_0xbe55[8],_0xbe55[15]]),controller[_0xbe55[16]]);router[_0xbe55[11]](_0xbe55[17],auth[_0xbe55[6]](),license[_0xbe55[7]](),auth[_0xbe55[9]]([1],[_0xbe55[8],_0xbe55[15]]),controller[_0xbe55[18]]);router[_0xbe55[11]](_0xbe55[19],auth[_0xbe55[6]](),license[_0xbe55[7]](),auth[_0xbe55[9]]([1],[_0xbe55[8],_0xbe55[15]]),controller[_0xbe55[20]]);router[_0xbe55[11]](_0xbe55[21],auth[_0xbe55[6]](),license[_0xbe55[7]](),auth[_0xbe55[9]]([1],[_0xbe55[8],_0xbe55[15]]),controller[_0xbe55[22]]);module[_0xbe55[23]]=router \ No newline at end of file diff --git a/server/api/report_sms_room/report_sms_room.controller.js b/server/api/report_sms_room/report_sms_room.controller.js index 604c82a..0100a38 100644 --- a/server/api/report_sms_room/report_sms_room.controller.js +++ b/server/api/report_sms_room/report_sms_room.controller.js @@ -1 +1 @@ -var _0xb945=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x52\x65\x70\x6F\x72\x74\x53\x6D\x73\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x53\x6D\x73\x52\x6F\x6F\x6D","\x52\x65\x70\x6F\x72\x74\x53\x6D\x73\x52\x6F\x6F\x6D\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x55\x73\x65\x72","\x53\x6D\x73\x51\x75\x65\x75\x65","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x64","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x72\x6F\x77\x73","\x67\x65\x74\x53\x6D\x73\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x73\x65\x72","\x72\x6F\x6C\x65","\x6F\x70\x65\x6E","\x63\x61\x74\x63\x68","\x4F\x50\x45\x4E","\x6D\x65\x72\x67\x65","\x63\x6F\x75\x6E\x74","\x61\x6C\x6C","\x63\x6C\x6F\x73\x65\x64","\x43\x4C\x4F\x53\x45\x44","\x6E\x65\x77","\x4E\x45\x57","\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x69\x6E\x64\x65\x78","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x73\x63\x72\x69\x62\x65"];_0xb945[0];var _=require(_0xb945[1]);var Util=require(_0xb945[2]);var ReportSmsRoom=require(_0xb945[4])[_0xb945[3]];var SmsRoom=require(_0xb945[4])[_0xb945[5]];var ReportSmsRoomHistory=require(_0xb945[4])[_0xb945[7]][_0xb945[6]];var User=require(_0xb945[4])[_0xb945[8]];var SmsQueue=require(_0xb945[4])[_0xb945[9]];function handleError(_0xd36dx9,_0xd36dxa){_0xd36dxa=_0xd36dxa||500;return function(_0xd36dxb){_0xd36dx9[_0xb945[11]](_0xd36dxa)[_0xb945[10]](_0xd36dxb)}}function responseWithResult(_0xd36dx9,_0xd36dxa){_0xd36dxa=_0xd36dxa||200;return function(_0xd36dxd){if(_0xd36dxd){_0xd36dx9[_0xb945[11]](_0xd36dxa)[_0xb945[12]](_0xd36dxd)}}}function responseWithoutResult(_0xd36dx9,_0xd36dxa){_0xd36dxa=_0xd36dxa||204;return function(){_0xd36dx9[_0xb945[13]](_0xd36dxa)}}function handleEntityNotFound(_0xd36dx9){return function(_0xd36dxd){if(!_0xd36dxd){_0xd36dx9[_0xb945[11]](404)[_0xb945[14]]();return null};return _0xd36dxd}}function saveUpdates(_0xd36dx11){return function(_0xd36dxd){return _0xd36dxd[_0xb945[16]](_0xd36dx11)[_0xb945[15]](function(_0xd36dx12){return _0xd36dx12})}}function removeEntity(_0xd36dx9){return function(_0xd36dxd){if(_0xd36dxd){return _0xd36dxd[_0xb945[17]]()[_0xb945[15]](function(){_0xd36dx9[_0xb945[11]](204)[_0xb945[14]]()})}}}function getSmsQueues(_0xd36dx15){return function(){switch(_0xd36dx15[_0xb945[26]]){case _0xb945[25]:return User[_0xb945[24]](_0xd36dx15[_0xb945[18]],{attributes:[_0xb945[18]]})[_0xb945[15]](Util[_0xb945[23]]({},{attributes:[_0xb945[18]],include:[{raw:true,model:User,attributes:[_0xb945[18]]}]}))[_0xb945[15]](function(_0xd36dx16){var _0xd36dx17=[];_0xd36dx16[_0xb945[22]][_0xb945[21]](function(_0xd36dx18){_0xd36dx17=_[_0xb945[20]](_0xd36dx17,_[_0xb945[19]](_0xd36dx18.Users,_0xb945[18]))});return {where:{$or:{queue:_[_0xb945[19]](_0xd36dx16[_0xb945[22]],_0xb945[18]),memberid:_0xd36dx17}}}});default:return {}}}}exports[_0xb945[27]]=function(_0xd36dx19,_0xd36dx9){return Promise[_0xb945[32]]([])[_0xb945[15]](getSmsQueues(_0xd36dx19[_0xb945[25]]))[_0xb945[15]](function(_0xd36dx1b){return SmsRoom[_0xb945[31]](_[_0xb945[30]]({where:{status:_0xb945[29]}},_0xd36dx1b))})[_0xb945[15]](function(_0xd36dx1a){return _0xd36dx9[_0xb945[11]](200)[_0xb945[10]]({value:_0xd36dx1a})})[_0xb945[28]](handleError(_0xd36dx9))};exports[_0xb945[33]]=function(_0xd36dx19,_0xd36dx9){return Promise[_0xb945[32]]([])[_0xb945[15]](getSmsQueues(_0xd36dx19[_0xb945[25]]))[_0xb945[15]](function(_0xd36dx1b){return SmsRoom[_0xb945[31]](_[_0xb945[30]]({where:{status:_0xb945[34]}},_0xd36dx1b))})[_0xb945[15]](function(_0xd36dx1a){return _0xd36dx9[_0xb945[11]](200)[_0xb945[10]]({value:_0xd36dx1a})})[_0xb945[28]](handleError(_0xd36dx9))};exports[_0xb945[35]]=function(_0xd36dx19,_0xd36dx9){return Promise[_0xb945[32]]([])[_0xb945[15]](getSmsQueues(_0xd36dx19[_0xb945[25]]))[_0xb945[15]](function(_0xd36dx1b){return SmsRoom[_0xb945[31]](_[_0xb945[30]]({where:{status:_0xb945[36]}},_0xd36dx1b))})[_0xb945[15]](function(_0xd36dx1a){return _0xd36dx9[_0xb945[11]](200)[_0xb945[10]]({value:_0xd36dx1a})})[_0xb945[28]](handleError(_0xd36dx9))};exports[_0xb945[37]]=function(_0xd36dx19,_0xd36dx9){return Promise[_0xb945[32]]([])[_0xb945[15]](getSmsQueues(_0xd36dx19[_0xb945[25]]))[_0xb945[15]](function(_0xd36dx1b){return SmsRoom[_0xb945[31]](_[_0xb945[30]]({where:{status:_0xb945[38]}},_0xd36dx1b))})[_0xb945[15]](function(_0xd36dx1a){return _0xd36dx9[_0xb945[11]](200)[_0xb945[10]]({value:_0xd36dx1a})})[_0xb945[28]](handleError(_0xd36dx9))};exports[_0xb945[39]]=function(_0xd36dx19,_0xd36dx9,_0xd36dx1c){return ReportSmsRoom[_0xb945[42]](Util[_0xb945[41]](_0xd36dx19[_0xb945[40]]))[_0xb945[15]](function(_0xd36dx1d){return _0xd36dx9[_0xb945[11]](200)[_0xb945[10]](_0xd36dx1d)})[_0xb945[28]](handleError(_0xd36dx9))};exports[_0xb945[43]]=function(_0xd36dx19,_0xd36dx9){return ReportSmsRoomHistory[_0xb945[43]]()[_0xb945[15]](responseWithResult(_0xd36dx9))[_0xb945[28]](handleError(_0xd36dx9))} \ No newline at end of file +var _0x2e54=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x52\x65\x70\x6F\x72\x74\x53\x6D\x73\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x53\x6D\x73\x52\x6F\x6F\x6D","\x52\x65\x70\x6F\x72\x74\x53\x6D\x73\x52\x6F\x6F\x6D\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x55\x73\x65\x72","\x53\x6D\x73\x51\x75\x65\x75\x65","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x64","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x72\x6F\x77\x73","\x67\x65\x74\x53\x6D\x73\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x73\x65\x72","\x72\x6F\x6C\x65","\x6F\x70\x65\x6E","\x63\x61\x74\x63\x68","\x4F\x50\x45\x4E","\x6D\x65\x72\x67\x65","\x63\x6F\x75\x6E\x74","\x61\x6C\x6C","\x63\x6C\x6F\x73\x65\x64","\x43\x4C\x4F\x53\x45\x44","\x6E\x65\x77","\x4E\x45\x57","\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x69\x6E\x64\x65\x78","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x73\x63\x72\x69\x62\x65"];_0x2e54[0];var _=require(_0x2e54[1]);var Util=require(_0x2e54[2]);var ReportSmsRoom=require(_0x2e54[4])[_0x2e54[3]];var SmsRoom=require(_0x2e54[4])[_0x2e54[5]];var ReportSmsRoomHistory=require(_0x2e54[4])[_0x2e54[7]][_0x2e54[6]];var User=require(_0x2e54[4])[_0x2e54[8]];var SmsQueue=require(_0x2e54[4])[_0x2e54[9]];function handleError(_0x42a7x9,_0x42a7xa){_0x42a7xa=_0x42a7xa||500;return function(_0x42a7xb){_0x42a7x9[_0x2e54[11]](_0x42a7xa)[_0x2e54[10]](_0x42a7xb)}}function responseWithResult(_0x42a7x9,_0x42a7xa){_0x42a7xa=_0x42a7xa||200;return function(_0x42a7xd){if(_0x42a7xd){_0x42a7x9[_0x2e54[11]](_0x42a7xa)[_0x2e54[12]](_0x42a7xd)}}}function responseWithoutResult(_0x42a7x9,_0x42a7xa){_0x42a7xa=_0x42a7xa||204;return function(){_0x42a7x9[_0x2e54[13]](_0x42a7xa)}}function handleEntityNotFound(_0x42a7x9){return function(_0x42a7xd){if(!_0x42a7xd){_0x42a7x9[_0x2e54[11]](404)[_0x2e54[14]]();return null};return _0x42a7xd}}function saveUpdates(_0x42a7x11){return function(_0x42a7xd){return _0x42a7xd[_0x2e54[16]](_0x42a7x11)[_0x2e54[15]](function(_0x42a7x12){return _0x42a7x12})}}function removeEntity(_0x42a7x9){return function(_0x42a7xd){if(_0x42a7xd){return _0x42a7xd[_0x2e54[17]]()[_0x2e54[15]](function(){_0x42a7x9[_0x2e54[11]](204)[_0x2e54[14]]()})}}}function getSmsQueues(_0x42a7x15){return function(){switch(_0x42a7x15[_0x2e54[26]]){case _0x2e54[25]:return User[_0x2e54[24]](_0x42a7x15[_0x2e54[18]],{attributes:[_0x2e54[18]]})[_0x2e54[15]](Util[_0x2e54[23]]({},{attributes:[_0x2e54[18]],include:[{raw:true,model:User,attributes:[_0x2e54[18]]}]}))[_0x2e54[15]](function(_0x42a7x16){var _0x42a7x17=[];_0x42a7x16[_0x2e54[22]][_0x2e54[21]](function(_0x42a7x18){_0x42a7x17=_[_0x2e54[20]](_0x42a7x17,_[_0x2e54[19]](_0x42a7x18.Users,_0x2e54[18]))});return {where:{$or:{queue:_[_0x2e54[19]](_0x42a7x16[_0x2e54[22]],_0x2e54[18]),memberid:_0x42a7x17}}}});default:return {}}}}exports[_0x2e54[27]]=function(_0x42a7x19,_0x42a7x9){return Promise[_0x2e54[32]]([])[_0x2e54[15]](getSmsQueues(_0x42a7x19[_0x2e54[25]]))[_0x2e54[15]](function(_0x42a7x1b){return SmsRoom[_0x2e54[31]](_[_0x2e54[30]]({where:{status:_0x2e54[29]}},_0x42a7x1b))})[_0x2e54[15]](function(_0x42a7x1a){return _0x42a7x9[_0x2e54[11]](200)[_0x2e54[10]]({value:_0x42a7x1a})})[_0x2e54[28]](handleError(_0x42a7x9))};exports[_0x2e54[33]]=function(_0x42a7x19,_0x42a7x9){return Promise[_0x2e54[32]]([])[_0x2e54[15]](getSmsQueues(_0x42a7x19[_0x2e54[25]]))[_0x2e54[15]](function(_0x42a7x1b){return SmsRoom[_0x2e54[31]](_[_0x2e54[30]]({where:{status:_0x2e54[34]}},_0x42a7x1b))})[_0x2e54[15]](function(_0x42a7x1a){return _0x42a7x9[_0x2e54[11]](200)[_0x2e54[10]]({value:_0x42a7x1a})})[_0x2e54[28]](handleError(_0x42a7x9))};exports[_0x2e54[35]]=function(_0x42a7x19,_0x42a7x9){return Promise[_0x2e54[32]]([])[_0x2e54[15]](getSmsQueues(_0x42a7x19[_0x2e54[25]]))[_0x2e54[15]](function(_0x42a7x1b){return SmsRoom[_0x2e54[31]](_[_0x2e54[30]]({where:{status:_0x2e54[36]}},_0x42a7x1b))})[_0x2e54[15]](function(_0x42a7x1a){return _0x42a7x9[_0x2e54[11]](200)[_0x2e54[10]]({value:_0x42a7x1a})})[_0x2e54[28]](handleError(_0x42a7x9))};exports[_0x2e54[37]]=function(_0x42a7x19,_0x42a7x9){return Promise[_0x2e54[32]]([])[_0x2e54[15]](getSmsQueues(_0x42a7x19[_0x2e54[25]]))[_0x2e54[15]](function(_0x42a7x1b){return SmsRoom[_0x2e54[31]](_[_0x2e54[30]]({where:{status:_0x2e54[38]}},_0x42a7x1b))})[_0x2e54[15]](function(_0x42a7x1a){return _0x42a7x9[_0x2e54[11]](200)[_0x2e54[10]]({value:_0x42a7x1a})})[_0x2e54[28]](handleError(_0x42a7x9))};exports[_0x2e54[39]]=function(_0x42a7x19,_0x42a7x9,_0x42a7x1c){return ReportSmsRoom[_0x2e54[42]](Util[_0x2e54[41]](_0x42a7x19[_0x2e54[40]]))[_0x2e54[15]](function(_0x42a7x1d){return _0x42a7x9[_0x2e54[11]](200)[_0x2e54[10]](_0x42a7x1d)})[_0x2e54[28]](handleError(_0x42a7x9))};exports[_0x2e54[43]]=function(_0x42a7x19,_0x42a7x9){return ReportSmsRoomHistory[_0x2e54[43]]()[_0x2e54[15]](responseWithResult(_0x42a7x9))[_0x2e54[28]](handleError(_0x42a7x9))} \ No newline at end of file diff --git a/server/api/report_sms_room/report_sms_room.socket.js b/server/api/report_sms_room/report_sms_room.socket.js index edb228b..6ae1117 100644 --- a/server/api/report_sms_room/report_sms_room.socket.js +++ b/server/api/report_sms_room/report_sms_room.socket.js @@ -1 +1 @@ -var _0x2bff=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x53\x6D\x73\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x5F\x72\x6F\x6F\x6D\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x5F\x72\x6F\x6F\x6D\x3A\x72\x65\x6D\x6F\x76\x65"];_0x2bff[0];var ReportSmsRoom=require(_0x2bff[2])[_0x2bff[1]];exports[_0x2bff[3]]=function(_0x735ex2){ReportSmsRoom[_0x2bff[4]](function(_0x735ex3){onSave(_0x735ex2,_0x735ex3)});ReportSmsRoom[_0x2bff[5]](function(_0x735ex3){onRemove(_0x735ex2,_0x735ex3)})};function onSave(_0x735ex2,_0x735ex3,_0x735ex5){_0x735ex2[_0x2bff[7]](_0x2bff[6],_0x735ex3)}function onRemove(_0x735ex2,_0x735ex3,_0x735ex5){_0x735ex2[_0x2bff[7]](_0x2bff[8],_0x735ex3)} \ No newline at end of file +var _0x664f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x53\x6D\x73\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x5F\x72\x6F\x6F\x6D\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x5F\x72\x6F\x6F\x6D\x3A\x72\x65\x6D\x6F\x76\x65"];_0x664f[0];var ReportSmsRoom=require(_0x664f[2])[_0x664f[1]];exports[_0x664f[3]]=function(_0x1c97x2){ReportSmsRoom[_0x664f[4]](function(_0x1c97x3){onSave(_0x1c97x2,_0x1c97x3)});ReportSmsRoom[_0x664f[5]](function(_0x1c97x3){onRemove(_0x1c97x2,_0x1c97x3)})};function onSave(_0x1c97x2,_0x1c97x3,_0x1c97x5){_0x1c97x2[_0x664f[7]](_0x664f[6],_0x1c97x3)}function onRemove(_0x1c97x2,_0x1c97x3,_0x1c97x5){_0x1c97x2[_0x664f[7]](_0x664f[8],_0x1c97x3)} \ No newline at end of file diff --git a/server/api/report_sms_session/index.js b/server/api/report_sms_session/index.js index 761e603..9547234 100644 --- a/server/api/report_sms_session/index.js +++ b/server/api/report_sms_session/index.js @@ -1 +1 @@ -var _0x5433=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x5F\x73\x65\x73\x73\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x68\x61\x73\x4D\x61\x69\x6C","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x2F\x77\x61\x69\x74\x69\x6E\x67\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x61\x67\x65\x6E\x74","\x77\x61\x69\x74\x69\x6E\x67\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x65\x78\x70\x6F\x72\x74\x73"];_0x5433[0];var express=require(_0x5433[1]);var controller=require(_0x5433[2]);var auth=require(_0x5433[3]);var license=require(_0x5433[4]);var router=express.Router();router[_0x5433[11]](_0x5433[5],auth[_0x5433[6]](),license[_0x5433[7]](),auth[_0x5433[9]]([17],[_0x5433[8]]),controller[_0x5433[10]]);router[_0x5433[11]](_0x5433[12],auth[_0x5433[6]](),license[_0x5433[7]](),auth[_0x5433[9]]([17],[_0x5433[8]]),controller[_0x5433[13]]);router[_0x5433[11]](_0x5433[14],auth[_0x5433[6]](),license[_0x5433[7]](),auth[_0x5433[9]]([11],[_0x5433[8],_0x5433[15]]),controller[_0x5433[16]]);module[_0x5433[17]]=router \ No newline at end of file +var _0xd81f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x5F\x73\x65\x73\x73\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x68\x61\x73\x4D\x61\x69\x6C","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x2F\x77\x61\x69\x74\x69\x6E\x67\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x61\x67\x65\x6E\x74","\x77\x61\x69\x74\x69\x6E\x67\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x65\x78\x70\x6F\x72\x74\x73"];_0xd81f[0];var express=require(_0xd81f[1]);var controller=require(_0xd81f[2]);var auth=require(_0xd81f[3]);var license=require(_0xd81f[4]);var router=express.Router();router[_0xd81f[11]](_0xd81f[5],auth[_0xd81f[6]](),license[_0xd81f[7]](),auth[_0xd81f[9]]([17],[_0xd81f[8]]),controller[_0xd81f[10]]);router[_0xd81f[11]](_0xd81f[12],auth[_0xd81f[6]](),license[_0xd81f[7]](),auth[_0xd81f[9]]([17],[_0xd81f[8]]),controller[_0xd81f[13]]);router[_0xd81f[11]](_0xd81f[14],auth[_0xd81f[6]](),license[_0xd81f[7]](),auth[_0xd81f[9]]([11],[_0xd81f[8],_0xd81f[15]]),controller[_0xd81f[16]]);module[_0xd81f[17]]=router \ No newline at end of file diff --git a/server/api/report_sms_session/report_sms_session.controller.js b/server/api/report_sms_session/report_sms_session.controller.js index f7d8a59..38a892d 100644 --- a/server/api/report_sms_session/report_sms_session.controller.js +++ b/server/api/report_sms_session/report_sms_session.controller.js @@ -1 +1 @@ -var _0x9e00=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x52\x65\x70\x6F\x72\x74\x53\x6D\x73\x53\x65\x73\x73\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x53\x6D\x73\x53\x65\x73\x73\x69\x6F\x6E\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x55\x73\x65\x72","\x62\x6C\x75\x65\x62\x69\x72\x64","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x73\x63\x72\x69\x62\x65","\x69\x64","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x72\x6F\x77\x73","\x67\x65\x74\x53\x6D\x73\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x73\x65\x72","\x67\x65\x74\x53\x6D\x73\x51\x75\x65\x75\x65\x73","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65","\x77\x61\x69\x74\x69\x6E\x67\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x6C\x6F\x67","\x6D\x65\x72\x67\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x61\x6C\x6C"];_0x9e00[0];var _=require(_0x9e00[1]);var ReportSmsSession=require(_0x9e00[3])[_0x9e00[2]];var ReportSmsSessionHistory=require(_0x9e00[3])[_0x9e00[5]][_0x9e00[4]];var Util=require(_0x9e00[6]);var User=require(_0x9e00[3])[_0x9e00[7]];var Promise=require(_0x9e00[8]);exports[_0x9e00[9]]=function(_0x73f2x7,_0x73f2x8,_0x73f2x9){return ReportSmsSession[_0x9e00[16]](Util[_0x9e00[15]](_0x73f2x7[_0x9e00[14]]))[_0x9e00[13]](function(_0x73f2xb){_0x73f2x8[_0x9e00[12]](200)[_0x9e00[11]](_0x73f2xb)})[_0x9e00[10]](function(_0x73f2xa){return handleError(_0x73f2x8,_0x73f2xa)})};exports[_0x9e00[17]]=function(_0x73f2x7,_0x73f2x8){return ReportSmsSessionHistory[_0x9e00[17]]()[_0x9e00[13]](function(_0x73f2xc){return _0x73f2x8[_0x9e00[12]](200)[_0x9e00[11]](_0x73f2xc)})[_0x9e00[10]](function(_0x73f2xa){return handleError(_0x73f2x8,_0x73f2xa)})};function getSmsQueues(_0x73f2xe){return function(){switch(_0x73f2xe[_0x9e00[28]]){case _0x9e00[25]:return User[_0x9e00[24]](_0x73f2xe[_0x9e00[18]],{attributes:[_0x9e00[18]]})[_0x9e00[13]](Util[_0x9e00[23]]({},{attributes:[_0x9e00[18]],include:[{raw:true,model:User,attributes:[_0x9e00[18]]}]}))[_0x9e00[13]](function(_0x73f2xf){var _0x73f2x10=[];_0x73f2xf[_0x9e00[22]][_0x9e00[21]](function(_0x73f2x11){_0x73f2x10=_[_0x9e00[20]](_0x73f2x10,_[_0x9e00[19]](_0x73f2x11.Users,_0x9e00[18]))});return {$or:{queue:_[_0x9e00[19]](_0x73f2xf[_0x9e00[22]],_0x9e00[18]),memberid:_0x73f2x10}}});case _0x9e00[27]:return User[_0x9e00[24]](_0x73f2xe[_0x9e00[18]],{attributes:[_0x9e00[18]]})[_0x9e00[13]](function(_0x73f2x12){return _0x73f2x12[_0x9e00[26]]({attributes:[_0x9e00[18]]})})[_0x9e00[13]](function(_0x73f2xf){return {$or:{queue:_[_0x9e00[19]](_0x73f2xf,_0x9e00[18]),memberid:_0x73f2xe[_0x9e00[18]]}}});default:return {}}}}exports[_0x9e00[29]]=function(_0x73f2x7,_0x73f2x8){return Promise[_0x9e00[33]]([])[_0x9e00[13]](getSmsQueues(_0x73f2x7[_0x9e00[25]]))[_0x9e00[13]](function(_0x73f2x14){return ReportSmsSession[_0x9e00[32]](Util[_0x9e00[15]](_0x73f2x7[_0x9e00[14]],_[_0x9e00[31]]({leaveAt:null},_0x73f2x14)))})[_0x9e00[13]](function(_0x73f2x13){return _0x73f2x8[_0x9e00[12]](200)[_0x9e00[11]]({rows:_0x73f2x13})})[_0x9e00[10]](function(_0x73f2xa){console[_0x9e00[30]](_0x73f2xa);return handleError(_0x73f2x8,_0x73f2xa)})};function handleError(_0x73f2x8,_0x73f2xa){return _0x73f2x8[_0x9e00[12]](500)[_0x9e00[11]](_0x73f2xa)} \ No newline at end of file +var _0xeb0e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x52\x65\x70\x6F\x72\x74\x53\x6D\x73\x53\x65\x73\x73\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x53\x6D\x73\x53\x65\x73\x73\x69\x6F\x6E\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x55\x73\x65\x72","\x62\x6C\x75\x65\x62\x69\x72\x64","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x73\x63\x72\x69\x62\x65","\x69\x64","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x72\x6F\x77\x73","\x67\x65\x74\x53\x6D\x73\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x73\x65\x72","\x67\x65\x74\x53\x6D\x73\x51\x75\x65\x75\x65\x73","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65","\x77\x61\x69\x74\x69\x6E\x67\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x6C\x6F\x67","\x6D\x65\x72\x67\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x61\x6C\x6C"];_0xeb0e[0];var _=require(_0xeb0e[1]);var ReportSmsSession=require(_0xeb0e[3])[_0xeb0e[2]];var ReportSmsSessionHistory=require(_0xeb0e[3])[_0xeb0e[5]][_0xeb0e[4]];var Util=require(_0xeb0e[6]);var User=require(_0xeb0e[3])[_0xeb0e[7]];var Promise=require(_0xeb0e[8]);exports[_0xeb0e[9]]=function(_0x7a59x7,_0x7a59x8,_0x7a59x9){return ReportSmsSession[_0xeb0e[16]](Util[_0xeb0e[15]](_0x7a59x7[_0xeb0e[14]]))[_0xeb0e[13]](function(_0x7a59xb){_0x7a59x8[_0xeb0e[12]](200)[_0xeb0e[11]](_0x7a59xb)})[_0xeb0e[10]](function(_0x7a59xa){return handleError(_0x7a59x8,_0x7a59xa)})};exports[_0xeb0e[17]]=function(_0x7a59x7,_0x7a59x8){return ReportSmsSessionHistory[_0xeb0e[17]]()[_0xeb0e[13]](function(_0x7a59xc){return _0x7a59x8[_0xeb0e[12]](200)[_0xeb0e[11]](_0x7a59xc)})[_0xeb0e[10]](function(_0x7a59xa){return handleError(_0x7a59x8,_0x7a59xa)})};function getSmsQueues(_0x7a59xe){return function(){switch(_0x7a59xe[_0xeb0e[28]]){case _0xeb0e[25]:return User[_0xeb0e[24]](_0x7a59xe[_0xeb0e[18]],{attributes:[_0xeb0e[18]]})[_0xeb0e[13]](Util[_0xeb0e[23]]({},{attributes:[_0xeb0e[18]],include:[{raw:true,model:User,attributes:[_0xeb0e[18]]}]}))[_0xeb0e[13]](function(_0x7a59xf){var _0x7a59x10=[];_0x7a59xf[_0xeb0e[22]][_0xeb0e[21]](function(_0x7a59x11){_0x7a59x10=_[_0xeb0e[20]](_0x7a59x10,_[_0xeb0e[19]](_0x7a59x11.Users,_0xeb0e[18]))});return {$or:{queue:_[_0xeb0e[19]](_0x7a59xf[_0xeb0e[22]],_0xeb0e[18]),memberid:_0x7a59x10}}});case _0xeb0e[27]:return User[_0xeb0e[24]](_0x7a59xe[_0xeb0e[18]],{attributes:[_0xeb0e[18]]})[_0xeb0e[13]](function(_0x7a59x12){return _0x7a59x12[_0xeb0e[26]]({attributes:[_0xeb0e[18]]})})[_0xeb0e[13]](function(_0x7a59xf){return {$or:{queue:_[_0xeb0e[19]](_0x7a59xf,_0xeb0e[18]),memberid:_0x7a59xe[_0xeb0e[18]]}}});default:return {}}}}exports[_0xeb0e[29]]=function(_0x7a59x7,_0x7a59x8){return Promise[_0xeb0e[33]]([])[_0xeb0e[13]](getSmsQueues(_0x7a59x7[_0xeb0e[25]]))[_0xeb0e[13]](function(_0x7a59x14){return ReportSmsSession[_0xeb0e[32]](Util[_0xeb0e[15]](_0x7a59x7[_0xeb0e[14]],_[_0xeb0e[31]]({leaveAt:null},_0x7a59x14)))})[_0xeb0e[13]](function(_0x7a59x13){return _0x7a59x8[_0xeb0e[12]](200)[_0xeb0e[11]]({rows:_0x7a59x13})})[_0xeb0e[10]](function(_0x7a59xa){console[_0xeb0e[30]](_0x7a59xa);return handleError(_0x7a59x8,_0x7a59xa)})};function handleError(_0x7a59x8,_0x7a59xa){return _0x7a59x8[_0xeb0e[12]](500)[_0xeb0e[11]](_0x7a59xa)} \ No newline at end of file diff --git a/server/api/report_sms_session/report_sms_session.socket.js b/server/api/report_sms_session/report_sms_session.socket.js index cfa7cff..452c188 100644 --- a/server/api/report_sms_session/report_sms_session.socket.js +++ b/server/api/report_sms_session/report_sms_session.socket.js @@ -1 +1 @@ -var _0x5d3b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x53\x6D\x73\x53\x65\x73\x73\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x6C\x6F\x64\x61\x73\x68","\x62\x6C\x75\x65\x62\x69\x72\x64","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x69\x64","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x72\x6F\x77\x73","\x74\x68\x65\x6E","\x67\x65\x74\x53\x6D\x73\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x75\x73\x65\x72\x49\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x73\x65\x72","\x67\x65\x74\x53\x6D\x73\x51\x75\x65\x75\x65\x73","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65","\x45\x72\x72\x6F\x72\x20\x66\x69\x6C\x74\x65\x72\x69\x6E\x67\x20\x72\x65\x70\x6F\x72\x74\x20\x73\x6D\x73\x20\x73\x65\x73\x73\x69\x6F\x6E\x73\x20\x61\x66\x74\x65\x72\x20\x73\x61\x76\x65","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x61\x64\x6D\x69\x6E","\x6D\x65\x6D\x62\x65\x72\x69\x64","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x71\x75\x65\x75\x65","\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x5F\x73\x65\x73\x73\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x61\x6C\x6C","\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x5F\x73\x65\x73\x73\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x5d3b[0];var ReportSmsSession=require(_0x5d3b[2])[_0x5d3b[1]];var User=require(_0x5d3b[2])[_0x5d3b[3]];var Util=require(_0x5d3b[4]);var _=require(_0x5d3b[5]);var Promise=require(_0x5d3b[6]);exports[_0x5d3b[7]]=function(_0xb148x6){ReportSmsSession[_0x5d3b[8]](function(_0xb148x7){onSave(_0xb148x6,_0xb148x7)});ReportSmsSession[_0x5d3b[9]](function(_0xb148x7){onSave(_0xb148x6,_0xb148x7)});ReportSmsSession[_0x5d3b[10]](function(_0xb148x7){onRemove(_0xb148x6,_0xb148x7)})};function getSmsQueues(_0xb148x9){return function(){switch(_0xb148x9[_0x5d3b[23]]){case _0x5d3b[20]:return User[_0x5d3b[19]](_0xb148x9[_0x5d3b[18]],{attributes:[_0x5d3b[11]]})[_0x5d3b[16]](Util[_0x5d3b[17]]({},{attributes:[_0x5d3b[11]],include:[{raw:true,model:User,attributes:[_0x5d3b[11]]}]}))[_0x5d3b[16]](function(_0xb148xa){var _0xb148xb=[];_0xb148xa[_0x5d3b[15]][_0x5d3b[14]](function(_0xb148xc){_0xb148xb=_[_0x5d3b[13]](_0xb148xb,_[_0x5d3b[12]](_0xb148xc.Users,_0x5d3b[11]))});return {queue:_[_0x5d3b[12]](_0xb148xa[_0x5d3b[15]],_0x5d3b[11]),memberid:_0xb148xb}});case _0x5d3b[22]:return User[_0x5d3b[19]](_0xb148x9[_0x5d3b[18]],{attributes:[_0x5d3b[11]]})[_0x5d3b[16]](function(_0xb148xd){return _0xb148xd[_0x5d3b[21]]({attributes:[_0x5d3b[11]]})})[_0x5d3b[16]](function(_0xb148xa){return {queue:_[_0x5d3b[12]](_0xb148xa,_0x5d3b[11]),memberid:_0xb148x9[_0x5d3b[18]]}});default:return {}}}}function onSave(_0xb148x6,_0xb148x7,_0xb148xf){return Promise[_0x5d3b[33]]([])[_0x5d3b[16]](getSmsQueues(_0xb148x6))[_0x5d3b[16]](function(_0xb148x11){if(_0xb148x6[_0x5d3b[23]]===_0x5d3b[27]||_[_0x5d3b[29]](_0xb148x11[_0x5d3b[28]],_0xb148x7[_0x5d3b[28]])||_[_0x5d3b[29]](_0xb148x11[_0x5d3b[30]],_0xb148x7[_0x5d3b[30]])){_0xb148x6[_0x5d3b[32]](_0x5d3b[31],_0xb148x7)}})[_0x5d3b[26]](function(_0xb148x10){console[_0x5d3b[25]](_0x5d3b[24],_0xb148x10)})}function onRemove(_0xb148x6,_0xb148x7,_0xb148xf){_0xb148x6[_0x5d3b[32]](_0x5d3b[34],_0xb148x7)} \ No newline at end of file +var _0x9dce=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x53\x6D\x73\x53\x65\x73\x73\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x6C\x6F\x64\x61\x73\x68","\x62\x6C\x75\x65\x62\x69\x72\x64","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x69\x64","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x72\x6F\x77\x73","\x74\x68\x65\x6E","\x67\x65\x74\x53\x6D\x73\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x75\x73\x65\x72\x49\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x73\x65\x72","\x67\x65\x74\x53\x6D\x73\x51\x75\x65\x75\x65\x73","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65","\x45\x72\x72\x6F\x72\x20\x66\x69\x6C\x74\x65\x72\x69\x6E\x67\x20\x72\x65\x70\x6F\x72\x74\x20\x73\x6D\x73\x20\x73\x65\x73\x73\x69\x6F\x6E\x73\x20\x61\x66\x74\x65\x72\x20\x73\x61\x76\x65","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x61\x64\x6D\x69\x6E","\x6D\x65\x6D\x62\x65\x72\x69\x64","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x71\x75\x65\x75\x65","\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x5F\x73\x65\x73\x73\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x61\x6C\x6C","\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x5F\x73\x65\x73\x73\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x9dce[0];var ReportSmsSession=require(_0x9dce[2])[_0x9dce[1]];var User=require(_0x9dce[2])[_0x9dce[3]];var Util=require(_0x9dce[4]);var _=require(_0x9dce[5]);var Promise=require(_0x9dce[6]);exports[_0x9dce[7]]=function(_0x90bcx6){ReportSmsSession[_0x9dce[8]](function(_0x90bcx7){onSave(_0x90bcx6,_0x90bcx7)});ReportSmsSession[_0x9dce[9]](function(_0x90bcx7){onSave(_0x90bcx6,_0x90bcx7)});ReportSmsSession[_0x9dce[10]](function(_0x90bcx7){onRemove(_0x90bcx6,_0x90bcx7)})};function getSmsQueues(_0x90bcx9){return function(){switch(_0x90bcx9[_0x9dce[23]]){case _0x9dce[20]:return User[_0x9dce[19]](_0x90bcx9[_0x9dce[18]],{attributes:[_0x9dce[11]]})[_0x9dce[16]](Util[_0x9dce[17]]({},{attributes:[_0x9dce[11]],include:[{raw:true,model:User,attributes:[_0x9dce[11]]}]}))[_0x9dce[16]](function(_0x90bcxa){var _0x90bcxb=[];_0x90bcxa[_0x9dce[15]][_0x9dce[14]](function(_0x90bcxc){_0x90bcxb=_[_0x9dce[13]](_0x90bcxb,_[_0x9dce[12]](_0x90bcxc.Users,_0x9dce[11]))});return {queue:_[_0x9dce[12]](_0x90bcxa[_0x9dce[15]],_0x9dce[11]),memberid:_0x90bcxb}});case _0x9dce[22]:return User[_0x9dce[19]](_0x90bcx9[_0x9dce[18]],{attributes:[_0x9dce[11]]})[_0x9dce[16]](function(_0x90bcxd){return _0x90bcxd[_0x9dce[21]]({attributes:[_0x9dce[11]]})})[_0x9dce[16]](function(_0x90bcxa){return {queue:_[_0x9dce[12]](_0x90bcxa,_0x9dce[11]),memberid:_0x90bcx9[_0x9dce[18]]}});default:return {}}}}function onSave(_0x90bcx6,_0x90bcx7,_0x90bcxf){return Promise[_0x9dce[33]]([])[_0x9dce[16]](getSmsQueues(_0x90bcx6))[_0x9dce[16]](function(_0x90bcx11){if(_0x90bcx6[_0x9dce[23]]===_0x9dce[27]||_[_0x9dce[29]](_0x90bcx11[_0x9dce[28]],_0x90bcx7[_0x9dce[28]])||_[_0x9dce[29]](_0x90bcx11[_0x9dce[30]],_0x90bcx7[_0x9dce[30]])){_0x90bcx6[_0x9dce[32]](_0x9dce[31],_0x90bcx7)}})[_0x9dce[26]](function(_0x90bcx10){console[_0x9dce[25]](_0x9dce[24],_0x90bcx10)})}function onRemove(_0x90bcx6,_0x90bcx7,_0x90bcxf){_0x90bcx6[_0x9dce[32]](_0x9dce[34],_0x90bcx7)} \ No newline at end of file diff --git a/server/api/report_square/index.js b/server/api/report_square/index.js index 02e493e..33a3de2 100644 --- a/server/api/report_square/index.js +++ b/server/api/report_square/index.js @@ -1 +1 @@ -var _0xac95=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x73\x71\x75\x61\x72\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x2F\x72\x65\x61\x6C\x74\x69\x6D\x65","\x72\x65\x61\x6C\x74\x69\x6D\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xac95[0];var express=require(_0xac95[1]);var controller=require(_0xac95[2]);var auth=require(_0xac95[3]);var router=express.Router();router[_0xac95[9]](_0xac95[4],auth[_0xac95[5]](),auth[_0xac95[7]]([14],[_0xac95[6]]),controller[_0xac95[8]]);router[_0xac95[9]](_0xac95[10],auth[_0xac95[5]](),auth[_0xac95[7]]([14],[_0xac95[6]]),controller[_0xac95[11]]);router[_0xac95[9]](_0xac95[12],auth[_0xac95[5]](),auth[_0xac95[7]]([14],[_0xac95[6]]),controller[_0xac95[13]]);module[_0xac95[14]]=router \ No newline at end of file +var _0xe2ea=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x73\x71\x75\x61\x72\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x2F\x72\x65\x61\x6C\x74\x69\x6D\x65","\x72\x65\x61\x6C\x74\x69\x6D\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xe2ea[0];var express=require(_0xe2ea[1]);var controller=require(_0xe2ea[2]);var auth=require(_0xe2ea[3]);var router=express.Router();router[_0xe2ea[9]](_0xe2ea[4],auth[_0xe2ea[5]](),auth[_0xe2ea[7]]([14],[_0xe2ea[6]]),controller[_0xe2ea[8]]);router[_0xe2ea[9]](_0xe2ea[10],auth[_0xe2ea[5]](),auth[_0xe2ea[7]]([14],[_0xe2ea[6]]),controller[_0xe2ea[11]]);router[_0xe2ea[9]](_0xe2ea[12],auth[_0xe2ea[5]](),auth[_0xe2ea[7]]([14],[_0xe2ea[6]]),controller[_0xe2ea[13]]);module[_0xe2ea[14]]=router \ No newline at end of file diff --git a/server/api/report_square/report_square.controller.js b/server/api/report_square/report_square.controller.js index 9c38caa..55dd64e 100644 --- a/server/api/report_square/report_square.controller.js +++ b/server/api/report_square/report_square.controller.js @@ -1 +1 @@ -var _0x1e29=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x72\x65\x61\x6C\x74\x69\x6D\x65","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x73\x63\x72\x69\x62\x65"];_0x1e29[0];var _=require(_0x1e29[1]);var ReportSquare=require(_0x1e29[3])[_0x1e29[2]];var ReportSquareHistory=require(_0x1e29[3])[_0x1e29[5]][_0x1e29[4]];var Util=require(_0x1e29[6]);exports[_0x1e29[7]]=function(_0x5217x5,_0x5217x6,_0x5217x7){return generalIndex(_0x5217x5,_0x5217x6,_0x5217x7)};exports[_0x1e29[8]]=function(_0x5217x5,_0x5217x6,_0x5217x7){return generalIndex(_0x5217x5,_0x5217x6,_0x5217x7,{leaveAt:null})};function generalIndex(_0x5217x5,_0x5217x6,_0x5217x7,_0x5217x9){return ReportSquare[_0x1e29[15]](Util[_0x1e29[14]](_0x5217x5[_0x1e29[13]],_0x5217x9||{}))[_0x1e29[12]](function(_0x5217xb){return _0x5217x6[_0x1e29[11]](200)[_0x1e29[10]](_0x5217xb)})[_0x1e29[9]](function(_0x5217xa){return handleError(_0x5217x6,_0x5217xa)})}exports[_0x1e29[16]]=function(_0x5217x5,_0x5217x6){return ReportSquareHistory[_0x1e29[16]]()[_0x1e29[12]](function(_0x5217xc){return _0x5217x6[_0x1e29[11]](200)[_0x1e29[10]](_0x5217xc)})[_0x1e29[9]](function(_0x5217xa){return handleError(_0x5217x6,_0x5217xa)})};function handleError(_0x5217x6,_0x5217xa){return _0x5217x6[_0x1e29[11]](500)[_0x1e29[10]](_0x5217xa)} \ No newline at end of file +var _0x4db2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x72\x65\x61\x6C\x74\x69\x6D\x65","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x73\x63\x72\x69\x62\x65"];_0x4db2[0];var _=require(_0x4db2[1]);var ReportSquare=require(_0x4db2[3])[_0x4db2[2]];var ReportSquareHistory=require(_0x4db2[3])[_0x4db2[5]][_0x4db2[4]];var Util=require(_0x4db2[6]);exports[_0x4db2[7]]=function(_0x1890x5,_0x1890x6,_0x1890x7){return generalIndex(_0x1890x5,_0x1890x6,_0x1890x7)};exports[_0x4db2[8]]=function(_0x1890x5,_0x1890x6,_0x1890x7){return generalIndex(_0x1890x5,_0x1890x6,_0x1890x7,{leaveAt:null})};function generalIndex(_0x1890x5,_0x1890x6,_0x1890x7,_0x1890x9){return ReportSquare[_0x4db2[15]](Util[_0x4db2[14]](_0x1890x5[_0x4db2[13]],_0x1890x9||{}))[_0x4db2[12]](function(_0x1890xb){return _0x1890x6[_0x4db2[11]](200)[_0x4db2[10]](_0x1890xb)})[_0x4db2[9]](function(_0x1890xa){return handleError(_0x1890x6,_0x1890xa)})}exports[_0x4db2[16]]=function(_0x1890x5,_0x1890x6){return ReportSquareHistory[_0x4db2[16]]()[_0x4db2[12]](function(_0x1890xc){return _0x1890x6[_0x4db2[11]](200)[_0x4db2[10]](_0x1890xc)})[_0x4db2[9]](function(_0x1890xa){return handleError(_0x1890x6,_0x1890xa)})};function handleError(_0x1890x6,_0x1890xa){return _0x1890x6[_0x4db2[11]](500)[_0x4db2[10]](_0x1890xa)} \ No newline at end of file diff --git a/server/api/report_square/report_square.socket.js b/server/api/report_square/report_square.socket.js index 7defb8e..658fe8a 100644 --- a/server/api/report_square/report_square.socket.js +++ b/server/api/report_square/report_square.socket.js @@ -1 +1 @@ -var _0x3ad2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x72\x6F\x6C\x65","\x61\x67\x65\x6E\x74","\x72\x65\x70\x6F\x72\x74\x5F\x73\x71\x75\x61\x72\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74"];_0x3ad2[0];var ReportSquare=require(_0x3ad2[2])[_0x3ad2[1]];exports[_0x3ad2[3]]=function(_0xf895x2){ReportSquare[_0x3ad2[4]](function(_0xf895x3){onSave(_0xf895x2,_0xf895x3)});ReportSquare[_0x3ad2[5]](function(_0xf895x3){onSave(_0xf895x2,_0xf895x3)})};function onSave(_0xf895x2,_0xf895x3,_0xf895x5){if(_0xf895x2[_0x3ad2[6]]!==_0x3ad2[7]){_0xf895x2[_0x3ad2[9]](_0x3ad2[8],_0xf895x3)}} \ No newline at end of file +var _0x482e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x72\x6F\x6C\x65","\x61\x67\x65\x6E\x74","\x72\x65\x70\x6F\x72\x74\x5F\x73\x71\x75\x61\x72\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74"];_0x482e[0];var ReportSquare=require(_0x482e[2])[_0x482e[1]];exports[_0x482e[3]]=function(_0xc3cax2){ReportSquare[_0x482e[4]](function(_0xc3cax3){onSave(_0xc3cax2,_0xc3cax3)});ReportSquare[_0x482e[5]](function(_0xc3cax3){onSave(_0xc3cax2,_0xc3cax3)})};function onSave(_0xc3cax2,_0xc3cax3,_0xc3cax5){if(_0xc3cax2[_0x482e[6]]!==_0x482e[7]){_0xc3cax2[_0x482e[9]](_0x482e[8],_0xc3cax3)}} \ No newline at end of file diff --git a/server/api/report_square_detail/index.js b/server/api/report_square_detail/index.js index 7f84724..f7a4b1f 100644 --- a/server/api/report_square_detail/index.js +++ b/server/api/report_square_detail/index.js @@ -1 +1 @@ -var _0xf2e5=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x73\x71\x75\x61\x72\x65\x5F\x64\x65\x74\x61\x69\x6C\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x2F\x72\x65\x61\x6C\x74\x69\x6D\x65","\x72\x65\x61\x6C\x74\x69\x6D\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xf2e5[0];var express=require(_0xf2e5[1]);var controller=require(_0xf2e5[2]);var auth=require(_0xf2e5[3]);var router=express.Router();router[_0xf2e5[9]](_0xf2e5[4],auth[_0xf2e5[5]](),auth[_0xf2e5[7]]([14],[_0xf2e5[6]]),controller[_0xf2e5[8]]);router[_0xf2e5[9]](_0xf2e5[10],auth[_0xf2e5[5]](),auth[_0xf2e5[7]]([14],[_0xf2e5[6]]),controller[_0xf2e5[11]]);router[_0xf2e5[9]](_0xf2e5[12],auth[_0xf2e5[5]](),auth[_0xf2e5[7]]([14],[_0xf2e5[6]]),controller[_0xf2e5[13]]);module[_0xf2e5[14]]=router \ No newline at end of file +var _0x7703=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x73\x71\x75\x61\x72\x65\x5F\x64\x65\x74\x61\x69\x6C\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x2F\x72\x65\x61\x6C\x74\x69\x6D\x65","\x72\x65\x61\x6C\x74\x69\x6D\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x7703[0];var express=require(_0x7703[1]);var controller=require(_0x7703[2]);var auth=require(_0x7703[3]);var router=express.Router();router[_0x7703[9]](_0x7703[4],auth[_0x7703[5]](),auth[_0x7703[7]]([14],[_0x7703[6]]),controller[_0x7703[8]]);router[_0x7703[9]](_0x7703[10],auth[_0x7703[5]](),auth[_0x7703[7]]([14],[_0x7703[6]]),controller[_0x7703[11]]);router[_0x7703[9]](_0x7703[12],auth[_0x7703[5]](),auth[_0x7703[7]]([14],[_0x7703[6]]),controller[_0x7703[13]]);module[_0x7703[14]]=router \ No newline at end of file diff --git a/server/api/report_square_detail/report_square_detail.controller.js b/server/api/report_square_detail/report_square_detail.controller.js index f903cee..9879b40 100644 --- a/server/api/report_square_detail/report_square_detail.controller.js +++ b/server/api/report_square_detail/report_square_detail.controller.js @@ -1 +1 @@ -var _0x9cc6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65\x44\x65\x74\x61\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65\x44\x65\x74\x61\x69\x6C\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x72\x65\x61\x6C\x74\x69\x6D\x65","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x73\x63\x72\x69\x62\x65"];_0x9cc6[0];var _=require(_0x9cc6[1]);var ReportSquareDetail=require(_0x9cc6[3])[_0x9cc6[2]];var ReportSquareDetailHistory=require(_0x9cc6[3])[_0x9cc6[5]][_0x9cc6[4]];var Util=require(_0x9cc6[6]);exports[_0x9cc6[7]]=function(_0x76cax5,_0x76cax6,_0x76cax7){return generalIndex(_0x76cax5,_0x76cax6,_0x76cax7)};exports[_0x9cc6[8]]=function(_0x76cax5,_0x76cax6,_0x76cax7){return generalIndex(_0x76cax5,_0x76cax6,_0x76cax7,{leaveAt:null})};function generalIndex(_0x76cax5,_0x76cax6,_0x76cax7,_0x76cax9){return ReportSquareDetail[_0x9cc6[15]](Util[_0x9cc6[14]](_0x76cax5[_0x9cc6[13]],_0x76cax9||{}))[_0x9cc6[12]](function(_0x76caxb){return _0x76cax6[_0x9cc6[11]](200)[_0x9cc6[10]](_0x76caxb)})[_0x9cc6[9]](function(_0x76caxa){return handleError(_0x76cax6,_0x76caxa)})}exports[_0x9cc6[16]]=function(_0x76cax5,_0x76cax6){return ReportSquareDetailHistory[_0x9cc6[16]]()[_0x9cc6[12]](function(_0x76caxc){return _0x76cax6[_0x9cc6[11]](200)[_0x9cc6[10]](_0x76caxc)})[_0x9cc6[9]](function(_0x76caxa){return handleError(_0x76cax6,_0x76caxa)})};function handleError(_0x76cax6,_0x76caxa){return _0x76cax6[_0x9cc6[11]](500)[_0x9cc6[10]](_0x76caxa)} \ No newline at end of file +var _0xc6dc=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65\x44\x65\x74\x61\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65\x44\x65\x74\x61\x69\x6C\x48\x69\x73\x74\x6F\x72\x79","\x68\x69\x73\x74\x6F\x72\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x72\x65\x61\x6C\x74\x69\x6D\x65","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x73\x63\x72\x69\x62\x65"];_0xc6dc[0];var _=require(_0xc6dc[1]);var ReportSquareDetail=require(_0xc6dc[3])[_0xc6dc[2]];var ReportSquareDetailHistory=require(_0xc6dc[3])[_0xc6dc[5]][_0xc6dc[4]];var Util=require(_0xc6dc[6]);exports[_0xc6dc[7]]=function(_0x242dx5,_0x242dx6,_0x242dx7){return generalIndex(_0x242dx5,_0x242dx6,_0x242dx7)};exports[_0xc6dc[8]]=function(_0x242dx5,_0x242dx6,_0x242dx7){return generalIndex(_0x242dx5,_0x242dx6,_0x242dx7,{leaveAt:null})};function generalIndex(_0x242dx5,_0x242dx6,_0x242dx7,_0x242dx9){return ReportSquareDetail[_0xc6dc[15]](Util[_0xc6dc[14]](_0x242dx5[_0xc6dc[13]],_0x242dx9||{}))[_0xc6dc[12]](function(_0x242dxb){return _0x242dx6[_0xc6dc[11]](200)[_0xc6dc[10]](_0x242dxb)})[_0xc6dc[9]](function(_0x242dxa){return handleError(_0x242dx6,_0x242dxa)})}exports[_0xc6dc[16]]=function(_0x242dx5,_0x242dx6){return ReportSquareDetailHistory[_0xc6dc[16]]()[_0xc6dc[12]](function(_0x242dxc){return _0x242dx6[_0xc6dc[11]](200)[_0xc6dc[10]](_0x242dxc)})[_0xc6dc[9]](function(_0x242dxa){return handleError(_0x242dx6,_0x242dxa)})};function handleError(_0x242dx6,_0x242dxa){return _0x242dx6[_0xc6dc[11]](500)[_0xc6dc[10]](_0x242dxa)} \ No newline at end of file diff --git a/server/api/report_square_detail/report_square_detail.socket.js b/server/api/report_square_detail/report_square_detail.socket.js index 99f8d96..452e9c7 100644 --- a/server/api/report_square_detail/report_square_detail.socket.js +++ b/server/api/report_square_detail/report_square_detail.socket.js @@ -1 +1 @@ -var _0xffe8=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65\x44\x65\x74\x61\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x72\x6F\x6C\x65","\x61\x67\x65\x6E\x74","\x72\x65\x70\x6F\x72\x74\x5F\x73\x71\x75\x61\x72\x65\x5F\x64\x65\x74\x61\x69\x6C\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74"];_0xffe8[0];var ReportSquareDetail=require(_0xffe8[2])[_0xffe8[1]];exports[_0xffe8[3]]=function(_0x421cx2){ReportSquareDetail[_0xffe8[4]](function(_0x421cx3){onSave(_0x421cx2,_0x421cx3)});ReportSquareDetail[_0xffe8[5]](function(_0x421cx3){onSave(_0x421cx2,_0x421cx3)})};function onSave(_0x421cx2,_0x421cx3,_0x421cx5){if(_0x421cx2[_0xffe8[6]]!==_0xffe8[7]){_0x421cx2[_0xffe8[9]](_0xffe8[8],_0x421cx3)}} \ No newline at end of file +var _0x4e56=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65\x44\x65\x74\x61\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x72\x6F\x6C\x65","\x61\x67\x65\x6E\x74","\x72\x65\x70\x6F\x72\x74\x5F\x73\x71\x75\x61\x72\x65\x5F\x64\x65\x74\x61\x69\x6C\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74"];_0x4e56[0];var ReportSquareDetail=require(_0x4e56[2])[_0x4e56[1]];exports[_0x4e56[3]]=function(_0x123ax2){ReportSquareDetail[_0x4e56[4]](function(_0x123ax3){onSave(_0x123ax2,_0x123ax3)});ReportSquareDetail[_0x4e56[5]](function(_0x123ax3){onSave(_0x123ax2,_0x123ax3)})};function onSave(_0x123ax2,_0x123ax3,_0x123ax5){if(_0x123ax2[_0x4e56[6]]!==_0x4e56[7]){_0x123ax2[_0x4e56[9]](_0x4e56[8],_0x123ax3)}} \ No newline at end of file diff --git a/server/api/report_tree/index.js b/server/api/report_tree/index.js index 84a9fb9..648e8c4 100644 --- a/server/api/report_tree/index.js +++ b/server/api/report_tree/index.js @@ -1 +1 @@ -var _0x9963=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x74\x72\x65\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x9963[0];var express=require(_0x9963[1]);var controller=require(_0x9963[2]);var auth=require(_0x9963[3]);var router=express.Router();router[_0x9963[9]](_0x9963[4],auth[_0x9963[5]](),auth[_0x9963[7]]([17],[_0x9963[6]]),controller[_0x9963[8]]);router[_0x9963[12]](_0x9963[10],auth[_0x9963[5]](),auth[_0x9963[7]]([17],[_0x9963[6]]),controller[_0x9963[11]]);module[_0x9963[13]]=router \ No newline at end of file +var _0x4dd3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x74\x72\x65\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x4dd3[0];var express=require(_0x4dd3[1]);var controller=require(_0x4dd3[2]);var auth=require(_0x4dd3[3]);var router=express.Router();router[_0x4dd3[9]](_0x4dd3[4],auth[_0x4dd3[5]](),auth[_0x4dd3[7]]([17],[_0x4dd3[6]]),controller[_0x4dd3[8]]);router[_0x4dd3[12]](_0x4dd3[10],auth[_0x4dd3[5]](),auth[_0x4dd3[7]]([17],[_0x4dd3[6]]),controller[_0x4dd3[11]]);module[_0x4dd3[13]]=router \ No newline at end of file diff --git a/server/api/report_tree/report_tree.controller.js b/server/api/report_tree/report_tree.controller.js index bf02b4f..c6346ed 100644 --- a/server/api/report_tree/report_tree.controller.js +++ b/server/api/report_tree/report_tree.controller.js @@ -1 +1 @@ -var _0xa329=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x52\x65\x70\x6F\x72\x74\x54\x72\x65\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x75\x70\x64\x61\x74\x65","\x62\x6F\x64\x79","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64"];_0xa329[0];var _=require(_0xa329[1]);var util=require(_0xa329[2]);var ReportTree=require(_0xa329[4])[_0xa329[3]];exports[_0xa329[5]]=function(_0xa9cbx4,_0xa9cbx5){return ReportTree[_0xa329[11]]()[_0xa329[10]](function(_0xa9cbx7){if(!_0xa9cbx7){return _0xa9cbx5[_0xa329[7]](404)};return _0xa9cbx5[_0xa329[9]](200)[_0xa329[8]](_0xa9cbx7)})[_0xa329[6]](function(_0xa9cbx6){return handleError(_0xa9cbx5,_0xa9cbx6)})};exports[_0xa329[12]]=function(_0xa9cbx4,_0xa9cbx5){return ReportTree[_0xa329[18]](_0xa9cbx4[_0xa329[17]][_0xa329[16]])[_0xa329[10]](function(_0xa9cbx8){if(!_0xa9cbx8){return _0xa9cbx5[_0xa329[7]](404)};var _0xa9cbx9=_[_0xa329[14]](_0xa9cbx8,_0xa9cbx4[_0xa329[13]]);return _0xa9cbx9[_0xa329[15]]()})[_0xa329[10]](function(_0xa9cbx8){return _0xa9cbx5[_0xa329[9]](200)[_0xa329[8]](_0xa9cbx8)})[_0xa329[6]](function(_0xa9cbx6){return handleError(_0xa9cbx5,_0xa9cbx6)})};function handleError(_0xa9cbx5,_0xa9cbx6){return _0xa9cbx5[_0xa329[9]](500)[_0xa329[8]](_0xa9cbx6)} \ No newline at end of file +var _0x7d1c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x52\x65\x70\x6F\x72\x74\x54\x72\x65\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x75\x70\x64\x61\x74\x65","\x62\x6F\x64\x79","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64"];_0x7d1c[0];var _=require(_0x7d1c[1]);var util=require(_0x7d1c[2]);var ReportTree=require(_0x7d1c[4])[_0x7d1c[3]];exports[_0x7d1c[5]]=function(_0x3b6fx4,_0x3b6fx5){return ReportTree[_0x7d1c[11]]()[_0x7d1c[10]](function(_0x3b6fx7){if(!_0x3b6fx7){return _0x3b6fx5[_0x7d1c[7]](404)};return _0x3b6fx5[_0x7d1c[9]](200)[_0x7d1c[8]](_0x3b6fx7)})[_0x7d1c[6]](function(_0x3b6fx6){return handleError(_0x3b6fx5,_0x3b6fx6)})};exports[_0x7d1c[12]]=function(_0x3b6fx4,_0x3b6fx5){return ReportTree[_0x7d1c[18]](_0x3b6fx4[_0x7d1c[17]][_0x7d1c[16]])[_0x7d1c[10]](function(_0x3b6fx8){if(!_0x3b6fx8){return _0x3b6fx5[_0x7d1c[7]](404)};var _0x3b6fx9=_[_0x7d1c[14]](_0x3b6fx8,_0x3b6fx4[_0x7d1c[13]]);return _0x3b6fx9[_0x7d1c[15]]()})[_0x7d1c[10]](function(_0x3b6fx8){return _0x3b6fx5[_0x7d1c[9]](200)[_0x7d1c[8]](_0x3b6fx8)})[_0x7d1c[6]](function(_0x3b6fx6){return handleError(_0x3b6fx5,_0x3b6fx6)})};function handleError(_0x3b6fx5,_0x3b6fx6){return _0x3b6fx5[_0x7d1c[9]](500)[_0x7d1c[8]](_0x3b6fx6)} \ No newline at end of file diff --git a/server/api/report_tree/report_tree.socket.js b/server/api/report_tree/report_tree.socket.js index 071190d..232b0ef 100644 --- a/server/api/report_tree/report_tree.socket.js +++ b/server/api/report_tree/report_tree.socket.js @@ -1 +1 @@ -var _0xd51b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x54\x72\x65\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x72\x65\x70\x6F\x72\x74\x5F\x74\x72\x65\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x74\x72\x65\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0xd51b[0];var ReportTree=require(_0xd51b[2])[_0xd51b[1]];exports[_0xd51b[3]]=function(_0x4211x2){ReportTree[_0xd51b[4]](function(_0x4211x3){onSave(_0x4211x2,_0x4211x3)});ReportTree[_0xd51b[5]](function(_0x4211x3){onSave(_0x4211x2,_0x4211x3)});ReportTree[_0xd51b[6]](function(_0x4211x3){onRemove(_0x4211x2,_0x4211x3)})};function onSave(_0x4211x2,_0x4211x3,_0x4211x5){_0x4211x2[_0xd51b[8]](_0xd51b[7],_0x4211x3)}function onRemove(_0x4211x2,_0x4211x3,_0x4211x5){_0x4211x2[_0xd51b[8]](_0xd51b[9],_0x4211x3)} \ No newline at end of file +var _0x77ec=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x52\x65\x70\x6F\x72\x74\x54\x72\x65\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x72\x65\x70\x6F\x72\x74\x5F\x74\x72\x65\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x72\x65\x70\x6F\x72\x74\x5F\x74\x72\x65\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x77ec[0];var ReportTree=require(_0x77ec[2])[_0x77ec[1]];exports[_0x77ec[3]]=function(_0xdc97x2){ReportTree[_0x77ec[4]](function(_0xdc97x3){onSave(_0xdc97x2,_0xdc97x3)});ReportTree[_0x77ec[5]](function(_0xdc97x3){onSave(_0xdc97x2,_0xdc97x3)});ReportTree[_0x77ec[6]](function(_0xdc97x3){onRemove(_0xdc97x2,_0xdc97x3)})};function onSave(_0xdc97x2,_0xdc97x3,_0xdc97x5){_0xdc97x2[_0x77ec[8]](_0x77ec[7],_0xdc97x3)}function onRemove(_0xdc97x2,_0xdc97x3,_0xdc97x5){_0xdc97x2[_0x77ec[8]](_0x77ec[9],_0xdc97x3)} \ No newline at end of file diff --git a/server/api/salesforce_account/index.js b/server/api/salesforce_account/index.js index c2417e6..b79a421 100644 --- a/server/api/salesforce_account/index.js +++ b/server/api/salesforce_account/index.js @@ -1 +1 @@ -var _0x82a2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x63\x68\x65\x63\x6B","\x63\x68\x65\x63\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x2F\x3A\x69\x64\x2F\x66\x69\x65\x6C\x64\x73","\x67\x65\x74\x46\x69\x65\x6C\x64\x73","\x2F\x3A\x69\x64\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x67\x65\x74\x41\x63\x63\x6F\x75\x6E\x74\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x63\x69\x64","\x67\x65\x74\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2F\x76\x61\x6C\x69\x64\x61\x74\x65\x2F\x3A\x66\x69\x65\x6C\x64","\x61\x63\x63\x6F\x75\x6E\x74\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x70\x6F\x73\x74","\x63\x72\x65\x61\x74\x65","\x63\x72\x65\x61\x74\x65\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2F\x3A\x69\x64\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x63\x69\x64\x2F\x3A\x74\x79\x70\x65","\x63\x72\x65\x61\x74\x65\x46\x69\x65\x6C\x64","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x2F\x3A\x69\x64\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x63\x69\x64\x2F\x66\x69\x65\x6C\x64\x73\x2F\x3A\x66\x69\x64","\x75\x70\x64\x61\x74\x65\x46\x69\x65\x6C\x64","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x64\x65\x73\x74\x72\x6F\x79\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x64\x65\x73\x74\x72\x6F\x79\x46\x69\x65\x6C\x64","\x65\x78\x70\x6F\x72\x74\x73"];_0x82a2[0];var express=require(_0x82a2[1]);var auth=require(_0x82a2[2]);var controller=require(_0x82a2[3]);var router=express.Router();router[_0x82a2[9]](_0x82a2[4],auth[_0x82a2[5]](),auth[_0x82a2[7]]([19,13],[_0x82a2[6]]),controller[_0x82a2[8]]);router[_0x82a2[9]](_0x82a2[10],auth[_0x82a2[5]](),auth[_0x82a2[7]]([19],[_0x82a2[6]]),controller[_0x82a2[11]]);router[_0x82a2[9]](_0x82a2[12],auth[_0x82a2[5]](),auth[_0x82a2[7]]([19],[_0x82a2[6]]),controller[_0x82a2[13]]);router[_0x82a2[9]](_0x82a2[14],auth[_0x82a2[5]](),auth[_0x82a2[7]]([19],[_0x82a2[6]]),controller[_0x82a2[15]]);router[_0x82a2[9]](_0x82a2[16],auth[_0x82a2[5]](),auth[_0x82a2[7]]([19],[_0x82a2[6]]),controller[_0x82a2[17]]);router[_0x82a2[9]](_0x82a2[18],auth[_0x82a2[5]](),auth[_0x82a2[7]]([19],[_0x82a2[6]]),controller[_0x82a2[19]]);router[_0x82a2[22]](_0x82a2[20],auth[_0x82a2[5]](),auth[_0x82a2[7]]([19],[_0x82a2[6]]),controller[_0x82a2[21]]);router[_0x82a2[22]](_0x82a2[4],auth[_0x82a2[5]](),auth[_0x82a2[7]]([19],[_0x82a2[6]]),controller[_0x82a2[23]]);router[_0x82a2[22]](_0x82a2[16],auth[_0x82a2[5]](),auth[_0x82a2[7]]([19],[_0x82a2[6]]),controller[_0x82a2[24]]);router[_0x82a2[22]](_0x82a2[25],auth[_0x82a2[5]](),auth[_0x82a2[7]]([19],[_0x82a2[6]]),controller[_0x82a2[26]]);router[_0x82a2[28]](_0x82a2[10],auth[_0x82a2[5]](),auth[_0x82a2[7]]([19],[_0x82a2[6]]),controller[_0x82a2[27]]);router[_0x82a2[28]](_0x82a2[29],auth[_0x82a2[5]](),auth[_0x82a2[7]]([19],[_0x82a2[6]]),controller[_0x82a2[30]]);router[_0x82a2[32]](_0x82a2[4],auth[_0x82a2[5]](),auth[_0x82a2[7]]([19],[_0x82a2[6]]),controller[_0x82a2[31]]);router[_0x82a2[32]](_0x82a2[10],auth[_0x82a2[5]](),auth[_0x82a2[7]]([19],[_0x82a2[6]]),controller[_0x82a2[33]]);router[_0x82a2[32]](_0x82a2[16],auth[_0x82a2[5]](),auth[_0x82a2[7]]([19],[_0x82a2[6]]),controller[_0x82a2[34]]);router[_0x82a2[32]](_0x82a2[18],auth[_0x82a2[5]](),auth[_0x82a2[7]]([19],[_0x82a2[6]]),controller[_0x82a2[35]]);router[_0x82a2[32]](_0x82a2[29],auth[_0x82a2[5]](),auth[_0x82a2[7]]([19],[_0x82a2[6]]),controller[_0x82a2[36]]);module[_0x82a2[37]]=router \ No newline at end of file +var _0x16a3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x63\x68\x65\x63\x6B","\x63\x68\x65\x63\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x2F\x3A\x69\x64\x2F\x66\x69\x65\x6C\x64\x73","\x67\x65\x74\x46\x69\x65\x6C\x64\x73","\x2F\x3A\x69\x64\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x67\x65\x74\x41\x63\x63\x6F\x75\x6E\x74\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x63\x69\x64","\x67\x65\x74\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2F\x76\x61\x6C\x69\x64\x61\x74\x65\x2F\x3A\x66\x69\x65\x6C\x64","\x61\x63\x63\x6F\x75\x6E\x74\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x70\x6F\x73\x74","\x63\x72\x65\x61\x74\x65","\x63\x72\x65\x61\x74\x65\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2F\x3A\x69\x64\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x63\x69\x64\x2F\x3A\x74\x79\x70\x65","\x63\x72\x65\x61\x74\x65\x46\x69\x65\x6C\x64","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x2F\x3A\x69\x64\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x63\x69\x64\x2F\x66\x69\x65\x6C\x64\x73\x2F\x3A\x66\x69\x64","\x75\x70\x64\x61\x74\x65\x46\x69\x65\x6C\x64","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x64\x65\x73\x74\x72\x6F\x79\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x64\x65\x73\x74\x72\x6F\x79\x46\x69\x65\x6C\x64","\x65\x78\x70\x6F\x72\x74\x73"];_0x16a3[0];var express=require(_0x16a3[1]);var auth=require(_0x16a3[2]);var controller=require(_0x16a3[3]);var router=express.Router();router[_0x16a3[9]](_0x16a3[4],auth[_0x16a3[5]](),auth[_0x16a3[7]]([19,13],[_0x16a3[6]]),controller[_0x16a3[8]]);router[_0x16a3[9]](_0x16a3[10],auth[_0x16a3[5]](),auth[_0x16a3[7]]([19],[_0x16a3[6]]),controller[_0x16a3[11]]);router[_0x16a3[9]](_0x16a3[12],auth[_0x16a3[5]](),auth[_0x16a3[7]]([19],[_0x16a3[6]]),controller[_0x16a3[13]]);router[_0x16a3[9]](_0x16a3[14],auth[_0x16a3[5]](),auth[_0x16a3[7]]([19],[_0x16a3[6]]),controller[_0x16a3[15]]);router[_0x16a3[9]](_0x16a3[16],auth[_0x16a3[5]](),auth[_0x16a3[7]]([19],[_0x16a3[6]]),controller[_0x16a3[17]]);router[_0x16a3[9]](_0x16a3[18],auth[_0x16a3[5]](),auth[_0x16a3[7]]([19],[_0x16a3[6]]),controller[_0x16a3[19]]);router[_0x16a3[22]](_0x16a3[20],auth[_0x16a3[5]](),auth[_0x16a3[7]]([19],[_0x16a3[6]]),controller[_0x16a3[21]]);router[_0x16a3[22]](_0x16a3[4],auth[_0x16a3[5]](),auth[_0x16a3[7]]([19],[_0x16a3[6]]),controller[_0x16a3[23]]);router[_0x16a3[22]](_0x16a3[16],auth[_0x16a3[5]](),auth[_0x16a3[7]]([19],[_0x16a3[6]]),controller[_0x16a3[24]]);router[_0x16a3[22]](_0x16a3[25],auth[_0x16a3[5]](),auth[_0x16a3[7]]([19],[_0x16a3[6]]),controller[_0x16a3[26]]);router[_0x16a3[28]](_0x16a3[10],auth[_0x16a3[5]](),auth[_0x16a3[7]]([19],[_0x16a3[6]]),controller[_0x16a3[27]]);router[_0x16a3[28]](_0x16a3[29],auth[_0x16a3[5]](),auth[_0x16a3[7]]([19],[_0x16a3[6]]),controller[_0x16a3[30]]);router[_0x16a3[32]](_0x16a3[4],auth[_0x16a3[5]](),auth[_0x16a3[7]]([19],[_0x16a3[6]]),controller[_0x16a3[31]]);router[_0x16a3[32]](_0x16a3[10],auth[_0x16a3[5]](),auth[_0x16a3[7]]([19],[_0x16a3[6]]),controller[_0x16a3[33]]);router[_0x16a3[32]](_0x16a3[16],auth[_0x16a3[5]](),auth[_0x16a3[7]]([19],[_0x16a3[6]]),controller[_0x16a3[34]]);router[_0x16a3[32]](_0x16a3[18],auth[_0x16a3[5]](),auth[_0x16a3[7]]([19],[_0x16a3[6]]),controller[_0x16a3[35]]);router[_0x16a3[32]](_0x16a3[29],auth[_0x16a3[5]](),auth[_0x16a3[7]]([19],[_0x16a3[6]]),controller[_0x16a3[36]]);module[_0x16a3[37]]=router \ No newline at end of file diff --git a/server/api/salesforce_account/salesforce_account.controller.js b/server/api/salesforce_account/salesforce_account.controller.js index 167d8bb..3c7ee27 100644 --- a/server/api/salesforce_account/salesforce_account.controller.js +++ b/server/api/salesforce_account/salesforce_account.controller.js @@ -1 +1 @@ -var _0x77db=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x6A\x73\x66\x6F\x72\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x46\x69\x65\x6C\x64","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x73\x63\x6F\x70\x65","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x63\x68\x65\x63\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x72\x65\x6D\x6F\x74\x65\x55\x72\x69","\x63\x6C\x69\x65\x6E\x74\x49\x64","\x63\x6C\x69\x65\x6E\x74\x53\x65\x63\x72\x65\x74","\x73\x65\x63\x75\x72\x69\x74\x79\x54\x6F\x6B\x65\x6E","\x63\x6F\x6E\x63\x61\x74","\x70\x61\x73\x73\x77\x6F\x72\x64","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x6C\x6F\x67\x69\x6E","\x61\x63\x63\x6F\x75\x6E\x74\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x66\x69\x65\x6C\x64","\x76\x61\x6C\x75\x65","\x63\x6F\x75\x6E\x74","\x67\x65\x74\x46\x69\x65\x6C\x64\x73","\x66\x69\x65\x6C\x64\x73","\x64\x65\x73\x63\x72\x69\x62\x65","\x54\x61\x73\x6B","\x73\x6F\x62\x6A\x65\x63\x74","\x67\x65\x74\x41\x63\x63\x6F\x75\x6E\x74\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x61\x63\x63\x6F\x75\x6E\x74","\x67\x65\x74\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x63\x69\x64","\x64\x65\x73\x74\x72\x6F\x79\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x63\x72\x65\x61\x74\x65\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x53\x75\x62\x6A\x65\x63\x74","\x73\x74\x72\x69\x6E\x67","\x5B\x78\x43\x41\x4C\x4C\x59\x20\x54\x61\x73\x6B\x5D","\x76\x61\x72\x69\x61\x62\x6C\x65","","\x71\x75\x65\x75\x65","\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x75\x6D","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x2A\x2A\x2A\x20\x43\x61\x6C\x6C\x20\x49\x6E\x66\x6F\x20\x2A\x2A\x2A","\x6B\x65\x79\x56\x61\x6C\x75\x65","\x43\x61\x6C\x6C\x65\x72\x20\x4E\x75\x6D\x62\x65\x72\x3A","\x43\x61\x6C\x6C\x65\x72\x20\x4E\x61\x6D\x65\x3A","\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x61\x6D\x65","\x43\x61\x6C\x6C\x20\x54\x6F\x3A","\x64\x65\x73\x74\x65\x78\x74\x65\x6E","\x51\x75\x65\x75\x65\x3A","\x55\x6E\x69\x71\x75\x65\x49\x64\x3A","\x75\x6E\x69\x71\x75\x65\x69\x64","\x44\x61\x74\x65\x3A","\x61\x67\x65\x6E\x74\x63\x61\x6C\x6C\x65\x64\x41\x74","\x2A\x2A\x2A\x20\x41\x67\x65\x6E\x74\x20\x49\x6E\x66\x6F\x20\x2A\x2A\x2A","\x41\x67\x65\x6E\x74\x20\x4E\x61\x6D\x65\x3A","\x64\x65\x73\x74\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x61\x6D\x65","\x41\x67\x65\x6E\x74\x20\x4E\x75\x6D\x62\x65\x72\x3A","\x64\x65\x73\x74\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x75\x6D","\x2A\x2A\x2A\x20\x54\x69\x6D\x65\x20\x49\x6E\x66\x6F\x20\x2A\x2A\x2A","\x41\x67\x65\x6E\x74\x20\x52\x69\x6E\x67\x3A","\x41\x67\x65\x6E\x74\x20\x43\x6F\x6E\x6E\x65\x63\x74\x3A","\x61\x67\x65\x6E\x74\x63\x6F\x6E\x6E\x65\x63\x74\x41\x74","\x41\x67\x65\x6E\x74\x20\x43\x6F\x6D\x70\x6C\x65\x74\x65\x3A","\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65\x41\x74","\x48\x6F\x6C\x64\x20\x54\x69\x6D\x65\x3A","\x68\x6F\x6C\x64\x74\x69\x6D\x65","\x54\x61\x6C\x6B\x20\x54\x69\x6D\x65\x3A","\x74\x61\x6C\x6B\x74\x69\x6D\x65","\x76\x6F\x69\x63\x65","\x43\x68\x61\x6E\x6E\x65\x6C\x20\x6E\x6F\x74\x20\x61\x76\x61\x69\x6C\x61\x62\x6C\x65\x3A","\x63\x68\x61\x6E\x6E\x65\x6C","\x6C\x6F\x67","\x63\x72\x65\x61\x74\x65\x46\x69\x65\x6C\x64","\x53\x75\x62\x6A\x65\x63\x74\x49\x64","\x73\x75\x62\x6A\x65\x63\x74","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E\x49\x64","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x46\x69\x65\x6C\x64\x49\x64","\x74\x79\x70\x65","\x75\x70\x64\x61\x74\x65\x46\x69\x65\x6C\x64","\x66\x69\x64","\x64\x65\x73\x74\x72\x6F\x79\x46\x69\x65\x6C\x64","\x61\x64\x64\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x54\x61\x67\x73","\x65\x72\x72\x6F\x72","\x73\x65\x74\x54\x61\x67\x73"];_0x77db[0];var _=require(_0x77db[1]);var util=require(_0x77db[2]);var jsforce=require(_0x77db[3]);var Util=require(_0x77db[4]);var SalesforceAccount=require(_0x77db[6])[_0x77db[5]];var SalesforceConfiguration=require(_0x77db[6])[_0x77db[7]];var SalesforceField=require(_0x77db[6])[_0x77db[8]];function handleError(_0x50cax9,_0x50caxa){_0x50caxa=_0x50caxa||500;return function(_0x50caxb){_0x50cax9[_0x77db[10]](_0x50caxa)[_0x77db[9]](_0x50caxb)}}function responseWithResult(_0x50cax9,_0x50caxa){_0x50caxa=_0x50caxa||200;return function(_0x50caxd){if(_0x50caxd){_0x50cax9[_0x77db[10]](_0x50caxa)[_0x77db[11]](_0x50caxd)}}}function responseWithoutResult(_0x50cax9,_0x50caxa){_0x50caxa=_0x50caxa||200;return function(){_0x50cax9[_0x77db[12]](_0x50caxa)}}function handleEntityNotFound(_0x50cax9){return function(_0x50caxd){if(!_0x50caxd){_0x50cax9[_0x77db[10]](404)[_0x77db[13]]();return null};return _0x50caxd}}function saveUpdates(_0x50cax11){return function(_0x50caxd){return _0x50caxd[_0x77db[15]](_0x50cax11)[_0x77db[14]](function(_0x50cax12){return _0x50cax12})}}function removeEntity(_0x50cax9){return function(_0x50caxd){if(_0x50caxd){return _0x50caxd[_0x77db[16]]()[_0x77db[14]](function(){_0x50cax9[_0x77db[10]](204)[_0x77db[13]]()})}}}exports[_0x77db[17]]=function(_0x50cax14,_0x50cax9,_0x50cax15){return SalesforceAccount[_0x77db[23]](_0x77db[22])[_0x77db[21]](Util[_0x77db[20]](_0x50cax14[_0x77db[19]]))[_0x77db[14]](responseWithResult(_0x50cax9))[_0x77db[18]](handleError(_0x50cax9))};exports[_0x77db[24]]=function(_0x50cax14,_0x50cax9){return SalesforceAccount[_0x77db[27]](_0x50cax14[_0x77db[26]][_0x77db[25]])[_0x77db[14]](handleEntityNotFound(_0x50cax9))[_0x77db[14]](responseWithResult(_0x50cax9))[_0x77db[18]](handleError(_0x50cax9))};exports[_0x77db[28]]=function(_0x50cax14,_0x50cax9){return SalesforceAccount[_0x77db[28]](_0x50cax14[_0x77db[29]])[_0x77db[14]](responseWithResult(_0x50cax9,201))[_0x77db[18]](handleError(_0x50cax9))};exports[_0x77db[30]]=function(_0x50cax14,_0x50cax9){if(_0x50cax14[_0x77db[29]][_0x77db[25]]){delete _0x50cax14[_0x77db[29]][_0x77db[25]]};return SalesforceAccount[_0x77db[27]](_0x50cax14[_0x77db[26]][_0x77db[25]])[_0x77db[14]](handleEntityNotFound(_0x50cax9))[_0x77db[14]](saveUpdates(_0x50cax14[_0x77db[29]]))[_0x77db[14]](responseWithResult(_0x50cax9))[_0x77db[18]](handleError(_0x50cax9))};exports[_0x77db[16]]=function(_0x50cax14,_0x50cax9){return SalesforceAccount[_0x77db[27]](_0x50cax14[_0x77db[26]][_0x77db[25]])[_0x77db[14]](handleEntityNotFound(_0x50cax9))[_0x77db[14]](removeEntity(_0x50cax9))[_0x77db[18]](handleError(_0x50cax9))};exports[_0x77db[31]]=function(_0x50cax14,_0x50cax9){return SalesforceAccount[_0x77db[16]]({where:{id:_0x50cax14[_0x77db[19]][_0x77db[32]]},individualHooks:true})[_0x77db[14]](responseWithResult(_0x50cax9,204))[_0x77db[18]](handleError(_0x50cax9))};exports[_0x77db[33]]=function(_0x50cax14,_0x50cax9){return SalesforceAccount[_0x77db[27]](_0x50cax14[_0x77db[26]][_0x77db[25]])[_0x77db[14]](handleEntityNotFound(_0x50cax9))[_0x77db[14]](function(_0x50cax16){var _0x50cax17= new jsforce.Connection({oauth2:{loginUrl:_0x50cax16[_0x77db[34]],clientId:_0x50cax16[_0x77db[35]],clientSecret:_0x50cax16[_0x77db[36]]}});var _0x50cax18=_0x50cax16[_0x77db[39]][_0x77db[38]](_0x50cax16[_0x77db[37]]);_0x50cax17[_0x77db[41]](_0x50cax16[_0x77db[40]],_0x50cax18,function(_0x50caxb,_0x50cax19){if(_0x50caxb){return _0x50cax9[_0x77db[10]](400)[_0x77db[9]](_0x50caxb)};return _0x50cax9[_0x77db[12]](200)})})[_0x77db[18]](handleError(_0x50cax9))};exports[_0x77db[42]]=function(_0x50cax14,_0x50cax9){var _0x50cax1a={};_0x50cax1a[_0x50cax14[_0x77db[26]][_0x77db[43]]]=_0x50cax14[_0x77db[29]][_0x77db[44]];return SalesforceAccount[_0x77db[21]]({where:_0x50cax1a})[_0x77db[14]](function(_0x50cax1b){if(_0x50cax1b[_0x77db[45]]){return _0x50cax9[_0x77db[10]](200)[_0x77db[9]]({isValid:false,value:_0x50cax14[_0x77db[29]][_0x77db[44]]})};return _0x50cax9[_0x77db[10]](200)[_0x77db[9]]({isValid:true,value:_0x50cax14[_0x77db[29]][_0x77db[44]]})})[_0x77db[18]](function(_0x50caxb){return handleError(_0x50cax9,_0x50caxb)})};exports[_0x77db[46]]=function(_0x50cax14,_0x50cax9){return SalesforceAccount[_0x77db[27]](_0x50cax14[_0x77db[26]][_0x77db[25]])[_0x77db[14]](handleEntityNotFound(_0x50cax9))[_0x77db[14]](function(_0x50cax16){var _0x50cax17= new jsforce.Connection({oauth2:{loginUrl:_0x50cax16[_0x77db[34]],clientId:_0x50cax16[_0x77db[35]],clientSecret:_0x50cax16[_0x77db[36]]}});var _0x50cax18=_0x50cax16[_0x77db[39]][_0x77db[38]](_0x50cax16[_0x77db[37]]);_0x50cax17[_0x77db[41]](_0x50cax16[_0x77db[40]],_0x50cax18,function(_0x50caxb,_0x50cax19){if(_0x50caxb){return _0x50cax9[_0x77db[10]](400)[_0x77db[9]](_0x50caxb)};_0x50cax17[_0x77db[50]](_0x77db[49])[_0x77db[48]](function(_0x50caxb,_0x50cax1c){if(_0x50caxb){return _0x50cax9[_0x77db[10]](400)[_0x77db[9]](_0x50caxb)};return _0x50cax9[_0x77db[10]](200)[_0x77db[9]](_0x50cax1c[_0x77db[47]])})})})[_0x77db[18]](handleError(_0x50cax9))};exports[_0x77db[51]]=function(_0x50cax14,_0x50cax9){return SalesforceConfiguration[_0x77db[23]]({method:[_0x77db[52],_0x50cax14[_0x77db[26]][_0x77db[25]]]})[_0x77db[21]](Util[_0x77db[20]](_0x50cax14[_0x77db[19]]))[_0x77db[14]](responseWithResult(_0x50cax9))[_0x77db[18]](handleError(_0x50cax9))};exports[_0x77db[53]]=function(_0x50cax14,_0x50cax9){return SalesforceConfiguration[_0x77db[23]]({method:[_0x77db[52],_0x50cax14[_0x77db[26]][_0x77db[25]]]})[_0x77db[27]](_0x50cax14[_0x77db[26]][_0x77db[54]])[_0x77db[14]](handleEntityNotFound(_0x50cax9))[_0x77db[14]](responseWithResult(_0x50cax9))[_0x77db[18]](handleError(_0x50cax9))};exports[_0x77db[55]]=function(_0x50cax14,_0x50cax9){return SalesforceConfiguration[_0x77db[23]]({method:[_0x77db[52],_0x50cax14[_0x77db[26]][_0x77db[25]]]})[_0x77db[27]](_0x50cax14[_0x77db[26]][_0x77db[54]])[_0x77db[14]](handleEntityNotFound(_0x50cax9))[_0x77db[14]](removeEntity(_0x50cax9))[_0x77db[18]](handleError(_0x50cax9))};exports[_0x77db[56]]=function(_0x50cax14,_0x50cax9){return SalesforceConfiguration[_0x77db[16]]({where:{id:_0x50cax14[_0x77db[19]][_0x77db[32]]},individualHooks:true})[_0x77db[14]](responseWithResult(_0x50cax9,204))[_0x77db[18]](handleError(_0x50cax9))};exports[_0x77db[57]]=function(_0x50cax14,_0x50cax9){_0x50cax14[_0x77db[29]][_0x77db[58]]=_0x50cax14[_0x77db[26]][_0x77db[25]];switch(_0x50cax14[_0x77db[29]][_0x77db[96]]){case _0x77db[94]:_0x50cax14[_0x77db[29]][_0x77db[59]]=[{"\x74\x79\x70\x65":_0x77db[60],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x77db[61],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":null},{"\x74\x79\x70\x65":_0x77db[62],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x77db[63],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x77db[64]},{"\x74\x79\x70\x65":_0x77db[62],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x77db[63],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x77db[65]}];_0x50cax14[_0x77db[29]][_0x77db[66]]=[{"\x74\x79\x70\x65":_0x77db[60],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x77db[67],"\x6B\x65\x79":null,"\x6B\x65\x79\x54\x79\x70\x65":null,"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":null},{"\x74\x79\x70\x65":_0x77db[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x77db[63],"\x6B\x65\x79":_0x77db[69],"\x6B\x65\x79\x54\x79\x70\x65":_0x77db[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x77db[65]},{"\x74\x79\x70\x65":_0x77db[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x77db[63],"\x6B\x65\x79":_0x77db[70],"\x6B\x65\x79\x54\x79\x70\x65":_0x77db[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x77db[71]},{"\x74\x79\x70\x65":_0x77db[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x77db[63],"\x6B\x65\x79":_0x77db[72],"\x6B\x65\x79\x54\x79\x70\x65":_0x77db[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x77db[73]},{"\x74\x79\x70\x65":_0x77db[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x77db[63],"\x6B\x65\x79":_0x77db[74],"\x6B\x65\x79\x54\x79\x70\x65":_0x77db[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x77db[64]},{"\x74\x79\x70\x65":_0x77db[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x77db[63],"\x6B\x65\x79":_0x77db[75],"\x6B\x65\x79\x54\x79\x70\x65":_0x77db[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x77db[76]},{"\x74\x79\x70\x65":_0x77db[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x77db[63],"\x6B\x65\x79":_0x77db[77],"\x6B\x65\x79\x54\x79\x70\x65":_0x77db[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x77db[78]},{"\x74\x79\x70\x65":_0x77db[60],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x77db[79],"\x6B\x65\x79":null,"\x6B\x65\x79\x54\x79\x70\x65":null,"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":null},{"\x74\x79\x70\x65":_0x77db[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x77db[63],"\x6B\x65\x79":_0x77db[80],"\x6B\x65\x79\x54\x79\x70\x65":_0x77db[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x77db[81]},{"\x74\x79\x70\x65":_0x77db[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x77db[63],"\x6B\x65\x79":_0x77db[82],"\x6B\x65\x79\x54\x79\x70\x65":_0x77db[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x77db[83]},{"\x74\x79\x70\x65":_0x77db[60],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x77db[84],"\x6B\x65\x79":null,"\x6B\x65\x79\x54\x79\x70\x65":null,"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":null},{"\x74\x79\x70\x65":_0x77db[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x77db[63],"\x6B\x65\x79":_0x77db[85],"\x6B\x65\x79\x54\x79\x70\x65":_0x77db[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x77db[78]},{"\x74\x79\x70\x65":_0x77db[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x77db[63],"\x6B\x65\x79":_0x77db[86],"\x6B\x65\x79\x54\x79\x70\x65":_0x77db[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x77db[87]},{"\x74\x79\x70\x65":_0x77db[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x77db[63],"\x6B\x65\x79":_0x77db[88],"\x6B\x65\x79\x54\x79\x70\x65":_0x77db[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x77db[89]},{"\x74\x79\x70\x65":_0x77db[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x77db[63],"\x6B\x65\x79":_0x77db[90],"\x6B\x65\x79\x54\x79\x70\x65":_0x77db[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x77db[91]},{"\x74\x79\x70\x65":_0x77db[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x77db[63],"\x6B\x65\x79":_0x77db[92],"\x6B\x65\x79\x54\x79\x70\x65":_0x77db[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x77db[93]}];break;default:console[_0x77db[97]](_0x77db[95],_0x50cax14[_0x77db[29]][_0x77db[96]])};delete _0x50cax14[_0x77db[29]][_0x77db[96]];return SalesforceConfiguration[_0x77db[28]](_0x50cax14[_0x77db[29]],{include:[{model:SalesforceField,as:_0x77db[59]},{model:SalesforceField,as:_0x77db[66]}]})[_0x77db[14]](responseWithResult(_0x50cax9,201))[_0x77db[18]](handleError(_0x50cax9))};exports[_0x77db[98]]=function(_0x50cax14,_0x50cax9){return SalesforceConfiguration[_0x77db[23]]({method:[_0x77db[52],_0x50cax14[_0x77db[26]][_0x77db[25]]]})[_0x77db[27]](_0x50cax14[_0x77db[26]][_0x77db[54]])[_0x77db[14]](handleEntityNotFound(_0x50cax9))[_0x77db[14]](function(_0x50cax1d){switch(_0x50cax14[_0x77db[26]][_0x77db[104]]){case _0x77db[100]:_0x50cax14[_0x77db[29]][_0x77db[99]]=_0x50cax14[_0x77db[26]][_0x77db[54]];break;case _0x77db[102]:_0x50cax14[_0x77db[29]][_0x77db[101]]=_0x50cax14[_0x77db[26]][_0x77db[54]];break;case _0x77db[43]:_0x50cax14[_0x77db[29]][_0x77db[103]]=_0x50cax14[_0x77db[26]][_0x77db[54]];break};return SalesforceField[_0x77db[28]](_0x50cax14[_0x77db[29]])})[_0x77db[14]](responseWithResult(_0x50cax9,201))[_0x77db[18]](handleError(_0x50cax9))};exports[_0x77db[105]]=function(_0x50cax14,_0x50cax9){if(_0x50cax14[_0x77db[29]][_0x77db[25]]){delete _0x50cax14[_0x77db[29]][_0x77db[25]]};return SalesforceField[_0x77db[27]](_0x50cax14[_0x77db[26]][_0x77db[106]])[_0x77db[14]](handleEntityNotFound(_0x50cax9))[_0x77db[14]](saveUpdates(_0x50cax14[_0x77db[29]]))[_0x77db[14]](responseWithResult(_0x50cax9))[_0x77db[18]](handleError(_0x50cax9))};exports[_0x77db[107]]=function(_0x50cax14,_0x50cax9){return SalesforceField[_0x77db[27]](_0x50cax14[_0x77db[26]][_0x77db[106]])[_0x77db[14]](handleEntityNotFound(_0x50cax9))[_0x77db[14]](removeEntity(_0x50cax9))[_0x77db[18]](handleError(_0x50cax9))};exports[_0x77db[108]]=function(_0x50cax14,_0x50cax9,_0x50cax15){return SalesforceConfiguration[_0x77db[27]](_0x50cax14[_0x77db[26]][_0x77db[54]])[_0x77db[14]](handleEntityNotFound(_0x50cax9))[_0x77db[14]](function(_0x50cax1d){return _0x50cax1d[_0x77db[110]](_0x50cax14[_0x77db[29]])})[_0x77db[14]](responseWithoutResult(_0x50cax9,200))[_0x77db[18]](function(_0x50caxb){console[_0x77db[109]](_0x50caxb);return handleError(_0x50cax9,_0x50caxb)})} \ No newline at end of file +var _0x7e59=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x6A\x73\x66\x6F\x72\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x46\x69\x65\x6C\x64","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x73\x63\x6F\x70\x65","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x63\x68\x65\x63\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x72\x65\x6D\x6F\x74\x65\x55\x72\x69","\x63\x6C\x69\x65\x6E\x74\x49\x64","\x63\x6C\x69\x65\x6E\x74\x53\x65\x63\x72\x65\x74","\x73\x65\x63\x75\x72\x69\x74\x79\x54\x6F\x6B\x65\x6E","\x63\x6F\x6E\x63\x61\x74","\x70\x61\x73\x73\x77\x6F\x72\x64","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x6C\x6F\x67\x69\x6E","\x61\x63\x63\x6F\x75\x6E\x74\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x66\x69\x65\x6C\x64","\x76\x61\x6C\x75\x65","\x63\x6F\x75\x6E\x74","\x67\x65\x74\x46\x69\x65\x6C\x64\x73","\x66\x69\x65\x6C\x64\x73","\x64\x65\x73\x63\x72\x69\x62\x65","\x54\x61\x73\x6B","\x73\x6F\x62\x6A\x65\x63\x74","\x67\x65\x74\x41\x63\x63\x6F\x75\x6E\x74\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x61\x63\x63\x6F\x75\x6E\x74","\x67\x65\x74\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x63\x69\x64","\x64\x65\x73\x74\x72\x6F\x79\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x63\x72\x65\x61\x74\x65\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x53\x75\x62\x6A\x65\x63\x74","\x73\x74\x72\x69\x6E\x67","\x5B\x78\x43\x41\x4C\x4C\x59\x20\x54\x61\x73\x6B\x5D","\x76\x61\x72\x69\x61\x62\x6C\x65","","\x71\x75\x65\x75\x65","\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x75\x6D","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x2A\x2A\x2A\x20\x43\x61\x6C\x6C\x20\x49\x6E\x66\x6F\x20\x2A\x2A\x2A","\x6B\x65\x79\x56\x61\x6C\x75\x65","\x43\x61\x6C\x6C\x65\x72\x20\x4E\x75\x6D\x62\x65\x72\x3A","\x43\x61\x6C\x6C\x65\x72\x20\x4E\x61\x6D\x65\x3A","\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x61\x6D\x65","\x43\x61\x6C\x6C\x20\x54\x6F\x3A","\x64\x65\x73\x74\x65\x78\x74\x65\x6E","\x51\x75\x65\x75\x65\x3A","\x55\x6E\x69\x71\x75\x65\x49\x64\x3A","\x75\x6E\x69\x71\x75\x65\x69\x64","\x44\x61\x74\x65\x3A","\x61\x67\x65\x6E\x74\x63\x61\x6C\x6C\x65\x64\x41\x74","\x2A\x2A\x2A\x20\x41\x67\x65\x6E\x74\x20\x49\x6E\x66\x6F\x20\x2A\x2A\x2A","\x41\x67\x65\x6E\x74\x20\x4E\x61\x6D\x65\x3A","\x64\x65\x73\x74\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x61\x6D\x65","\x41\x67\x65\x6E\x74\x20\x4E\x75\x6D\x62\x65\x72\x3A","\x64\x65\x73\x74\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x75\x6D","\x2A\x2A\x2A\x20\x54\x69\x6D\x65\x20\x49\x6E\x66\x6F\x20\x2A\x2A\x2A","\x41\x67\x65\x6E\x74\x20\x52\x69\x6E\x67\x3A","\x41\x67\x65\x6E\x74\x20\x43\x6F\x6E\x6E\x65\x63\x74\x3A","\x61\x67\x65\x6E\x74\x63\x6F\x6E\x6E\x65\x63\x74\x41\x74","\x41\x67\x65\x6E\x74\x20\x43\x6F\x6D\x70\x6C\x65\x74\x65\x3A","\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65\x41\x74","\x48\x6F\x6C\x64\x20\x54\x69\x6D\x65\x3A","\x68\x6F\x6C\x64\x74\x69\x6D\x65","\x54\x61\x6C\x6B\x20\x54\x69\x6D\x65\x3A","\x74\x61\x6C\x6B\x74\x69\x6D\x65","\x76\x6F\x69\x63\x65","\x43\x68\x61\x6E\x6E\x65\x6C\x20\x6E\x6F\x74\x20\x61\x76\x61\x69\x6C\x61\x62\x6C\x65\x3A","\x63\x68\x61\x6E\x6E\x65\x6C","\x6C\x6F\x67","\x63\x72\x65\x61\x74\x65\x46\x69\x65\x6C\x64","\x53\x75\x62\x6A\x65\x63\x74\x49\x64","\x73\x75\x62\x6A\x65\x63\x74","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E\x49\x64","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x46\x69\x65\x6C\x64\x49\x64","\x74\x79\x70\x65","\x75\x70\x64\x61\x74\x65\x46\x69\x65\x6C\x64","\x66\x69\x64","\x64\x65\x73\x74\x72\x6F\x79\x46\x69\x65\x6C\x64","\x61\x64\x64\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x54\x61\x67\x73","\x65\x72\x72\x6F\x72","\x73\x65\x74\x54\x61\x67\x73"];_0x7e59[0];var _=require(_0x7e59[1]);var util=require(_0x7e59[2]);var jsforce=require(_0x7e59[3]);var Util=require(_0x7e59[4]);var SalesforceAccount=require(_0x7e59[6])[_0x7e59[5]];var SalesforceConfiguration=require(_0x7e59[6])[_0x7e59[7]];var SalesforceField=require(_0x7e59[6])[_0x7e59[8]];function handleError(_0x8264x9,_0x8264xa){_0x8264xa=_0x8264xa||500;return function(_0x8264xb){_0x8264x9[_0x7e59[10]](_0x8264xa)[_0x7e59[9]](_0x8264xb)}}function responseWithResult(_0x8264x9,_0x8264xa){_0x8264xa=_0x8264xa||200;return function(_0x8264xd){if(_0x8264xd){_0x8264x9[_0x7e59[10]](_0x8264xa)[_0x7e59[11]](_0x8264xd)}}}function responseWithoutResult(_0x8264x9,_0x8264xa){_0x8264xa=_0x8264xa||200;return function(){_0x8264x9[_0x7e59[12]](_0x8264xa)}}function handleEntityNotFound(_0x8264x9){return function(_0x8264xd){if(!_0x8264xd){_0x8264x9[_0x7e59[10]](404)[_0x7e59[13]]();return null};return _0x8264xd}}function saveUpdates(_0x8264x11){return function(_0x8264xd){return _0x8264xd[_0x7e59[15]](_0x8264x11)[_0x7e59[14]](function(_0x8264x12){return _0x8264x12})}}function removeEntity(_0x8264x9){return function(_0x8264xd){if(_0x8264xd){return _0x8264xd[_0x7e59[16]]()[_0x7e59[14]](function(){_0x8264x9[_0x7e59[10]](204)[_0x7e59[13]]()})}}}exports[_0x7e59[17]]=function(_0x8264x14,_0x8264x9,_0x8264x15){return SalesforceAccount[_0x7e59[23]](_0x7e59[22])[_0x7e59[21]](Util[_0x7e59[20]](_0x8264x14[_0x7e59[19]]))[_0x7e59[14]](responseWithResult(_0x8264x9))[_0x7e59[18]](handleError(_0x8264x9))};exports[_0x7e59[24]]=function(_0x8264x14,_0x8264x9){return SalesforceAccount[_0x7e59[27]](_0x8264x14[_0x7e59[26]][_0x7e59[25]])[_0x7e59[14]](handleEntityNotFound(_0x8264x9))[_0x7e59[14]](responseWithResult(_0x8264x9))[_0x7e59[18]](handleError(_0x8264x9))};exports[_0x7e59[28]]=function(_0x8264x14,_0x8264x9){return SalesforceAccount[_0x7e59[28]](_0x8264x14[_0x7e59[29]])[_0x7e59[14]](responseWithResult(_0x8264x9,201))[_0x7e59[18]](handleError(_0x8264x9))};exports[_0x7e59[30]]=function(_0x8264x14,_0x8264x9){if(_0x8264x14[_0x7e59[29]][_0x7e59[25]]){delete _0x8264x14[_0x7e59[29]][_0x7e59[25]]};return SalesforceAccount[_0x7e59[27]](_0x8264x14[_0x7e59[26]][_0x7e59[25]])[_0x7e59[14]](handleEntityNotFound(_0x8264x9))[_0x7e59[14]](saveUpdates(_0x8264x14[_0x7e59[29]]))[_0x7e59[14]](responseWithResult(_0x8264x9))[_0x7e59[18]](handleError(_0x8264x9))};exports[_0x7e59[16]]=function(_0x8264x14,_0x8264x9){return SalesforceAccount[_0x7e59[27]](_0x8264x14[_0x7e59[26]][_0x7e59[25]])[_0x7e59[14]](handleEntityNotFound(_0x8264x9))[_0x7e59[14]](removeEntity(_0x8264x9))[_0x7e59[18]](handleError(_0x8264x9))};exports[_0x7e59[31]]=function(_0x8264x14,_0x8264x9){return SalesforceAccount[_0x7e59[16]]({where:{id:_0x8264x14[_0x7e59[19]][_0x7e59[32]]},individualHooks:true})[_0x7e59[14]](responseWithResult(_0x8264x9,204))[_0x7e59[18]](handleError(_0x8264x9))};exports[_0x7e59[33]]=function(_0x8264x14,_0x8264x9){return SalesforceAccount[_0x7e59[27]](_0x8264x14[_0x7e59[26]][_0x7e59[25]])[_0x7e59[14]](handleEntityNotFound(_0x8264x9))[_0x7e59[14]](function(_0x8264x16){var _0x8264x17= new jsforce.Connection({oauth2:{loginUrl:_0x8264x16[_0x7e59[34]],clientId:_0x8264x16[_0x7e59[35]],clientSecret:_0x8264x16[_0x7e59[36]]}});var _0x8264x18=_0x8264x16[_0x7e59[39]][_0x7e59[38]](_0x8264x16[_0x7e59[37]]);_0x8264x17[_0x7e59[41]](_0x8264x16[_0x7e59[40]],_0x8264x18,function(_0x8264xb,_0x8264x19){if(_0x8264xb){return _0x8264x9[_0x7e59[10]](400)[_0x7e59[9]](_0x8264xb)};return _0x8264x9[_0x7e59[12]](200)})})[_0x7e59[18]](handleError(_0x8264x9))};exports[_0x7e59[42]]=function(_0x8264x14,_0x8264x9){var _0x8264x1a={};_0x8264x1a[_0x8264x14[_0x7e59[26]][_0x7e59[43]]]=_0x8264x14[_0x7e59[29]][_0x7e59[44]];return SalesforceAccount[_0x7e59[21]]({where:_0x8264x1a})[_0x7e59[14]](function(_0x8264x1b){if(_0x8264x1b[_0x7e59[45]]){return _0x8264x9[_0x7e59[10]](200)[_0x7e59[9]]({isValid:false,value:_0x8264x14[_0x7e59[29]][_0x7e59[44]]})};return _0x8264x9[_0x7e59[10]](200)[_0x7e59[9]]({isValid:true,value:_0x8264x14[_0x7e59[29]][_0x7e59[44]]})})[_0x7e59[18]](function(_0x8264xb){return handleError(_0x8264x9,_0x8264xb)})};exports[_0x7e59[46]]=function(_0x8264x14,_0x8264x9){return SalesforceAccount[_0x7e59[27]](_0x8264x14[_0x7e59[26]][_0x7e59[25]])[_0x7e59[14]](handleEntityNotFound(_0x8264x9))[_0x7e59[14]](function(_0x8264x16){var _0x8264x17= new jsforce.Connection({oauth2:{loginUrl:_0x8264x16[_0x7e59[34]],clientId:_0x8264x16[_0x7e59[35]],clientSecret:_0x8264x16[_0x7e59[36]]}});var _0x8264x18=_0x8264x16[_0x7e59[39]][_0x7e59[38]](_0x8264x16[_0x7e59[37]]);_0x8264x17[_0x7e59[41]](_0x8264x16[_0x7e59[40]],_0x8264x18,function(_0x8264xb,_0x8264x19){if(_0x8264xb){return _0x8264x9[_0x7e59[10]](400)[_0x7e59[9]](_0x8264xb)};_0x8264x17[_0x7e59[50]](_0x7e59[49])[_0x7e59[48]](function(_0x8264xb,_0x8264x1c){if(_0x8264xb){return _0x8264x9[_0x7e59[10]](400)[_0x7e59[9]](_0x8264xb)};return _0x8264x9[_0x7e59[10]](200)[_0x7e59[9]](_0x8264x1c[_0x7e59[47]])})})})[_0x7e59[18]](handleError(_0x8264x9))};exports[_0x7e59[51]]=function(_0x8264x14,_0x8264x9){return SalesforceConfiguration[_0x7e59[23]]({method:[_0x7e59[52],_0x8264x14[_0x7e59[26]][_0x7e59[25]]]})[_0x7e59[21]](Util[_0x7e59[20]](_0x8264x14[_0x7e59[19]]))[_0x7e59[14]](responseWithResult(_0x8264x9))[_0x7e59[18]](handleError(_0x8264x9))};exports[_0x7e59[53]]=function(_0x8264x14,_0x8264x9){return SalesforceConfiguration[_0x7e59[23]]({method:[_0x7e59[52],_0x8264x14[_0x7e59[26]][_0x7e59[25]]]})[_0x7e59[27]](_0x8264x14[_0x7e59[26]][_0x7e59[54]])[_0x7e59[14]](handleEntityNotFound(_0x8264x9))[_0x7e59[14]](responseWithResult(_0x8264x9))[_0x7e59[18]](handleError(_0x8264x9))};exports[_0x7e59[55]]=function(_0x8264x14,_0x8264x9){return SalesforceConfiguration[_0x7e59[23]]({method:[_0x7e59[52],_0x8264x14[_0x7e59[26]][_0x7e59[25]]]})[_0x7e59[27]](_0x8264x14[_0x7e59[26]][_0x7e59[54]])[_0x7e59[14]](handleEntityNotFound(_0x8264x9))[_0x7e59[14]](removeEntity(_0x8264x9))[_0x7e59[18]](handleError(_0x8264x9))};exports[_0x7e59[56]]=function(_0x8264x14,_0x8264x9){return SalesforceConfiguration[_0x7e59[16]]({where:{id:_0x8264x14[_0x7e59[19]][_0x7e59[32]]},individualHooks:true})[_0x7e59[14]](responseWithResult(_0x8264x9,204))[_0x7e59[18]](handleError(_0x8264x9))};exports[_0x7e59[57]]=function(_0x8264x14,_0x8264x9){_0x8264x14[_0x7e59[29]][_0x7e59[58]]=_0x8264x14[_0x7e59[26]][_0x7e59[25]];switch(_0x8264x14[_0x7e59[29]][_0x7e59[96]]){case _0x7e59[94]:_0x8264x14[_0x7e59[29]][_0x7e59[59]]=[{"\x74\x79\x70\x65":_0x7e59[60],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x7e59[61],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":null},{"\x74\x79\x70\x65":_0x7e59[62],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x7e59[63],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x7e59[64]},{"\x74\x79\x70\x65":_0x7e59[62],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x7e59[63],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x7e59[65]}];_0x8264x14[_0x7e59[29]][_0x7e59[66]]=[{"\x74\x79\x70\x65":_0x7e59[60],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x7e59[67],"\x6B\x65\x79":null,"\x6B\x65\x79\x54\x79\x70\x65":null,"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":null},{"\x74\x79\x70\x65":_0x7e59[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x7e59[63],"\x6B\x65\x79":_0x7e59[69],"\x6B\x65\x79\x54\x79\x70\x65":_0x7e59[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x7e59[65]},{"\x74\x79\x70\x65":_0x7e59[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x7e59[63],"\x6B\x65\x79":_0x7e59[70],"\x6B\x65\x79\x54\x79\x70\x65":_0x7e59[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x7e59[71]},{"\x74\x79\x70\x65":_0x7e59[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x7e59[63],"\x6B\x65\x79":_0x7e59[72],"\x6B\x65\x79\x54\x79\x70\x65":_0x7e59[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x7e59[73]},{"\x74\x79\x70\x65":_0x7e59[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x7e59[63],"\x6B\x65\x79":_0x7e59[74],"\x6B\x65\x79\x54\x79\x70\x65":_0x7e59[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x7e59[64]},{"\x74\x79\x70\x65":_0x7e59[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x7e59[63],"\x6B\x65\x79":_0x7e59[75],"\x6B\x65\x79\x54\x79\x70\x65":_0x7e59[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x7e59[76]},{"\x74\x79\x70\x65":_0x7e59[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x7e59[63],"\x6B\x65\x79":_0x7e59[77],"\x6B\x65\x79\x54\x79\x70\x65":_0x7e59[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x7e59[78]},{"\x74\x79\x70\x65":_0x7e59[60],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x7e59[79],"\x6B\x65\x79":null,"\x6B\x65\x79\x54\x79\x70\x65":null,"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":null},{"\x74\x79\x70\x65":_0x7e59[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x7e59[63],"\x6B\x65\x79":_0x7e59[80],"\x6B\x65\x79\x54\x79\x70\x65":_0x7e59[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x7e59[81]},{"\x74\x79\x70\x65":_0x7e59[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x7e59[63],"\x6B\x65\x79":_0x7e59[82],"\x6B\x65\x79\x54\x79\x70\x65":_0x7e59[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x7e59[83]},{"\x74\x79\x70\x65":_0x7e59[60],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x7e59[84],"\x6B\x65\x79":null,"\x6B\x65\x79\x54\x79\x70\x65":null,"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":null},{"\x74\x79\x70\x65":_0x7e59[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x7e59[63],"\x6B\x65\x79":_0x7e59[85],"\x6B\x65\x79\x54\x79\x70\x65":_0x7e59[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x7e59[78]},{"\x74\x79\x70\x65":_0x7e59[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x7e59[63],"\x6B\x65\x79":_0x7e59[86],"\x6B\x65\x79\x54\x79\x70\x65":_0x7e59[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x7e59[87]},{"\x74\x79\x70\x65":_0x7e59[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x7e59[63],"\x6B\x65\x79":_0x7e59[88],"\x6B\x65\x79\x54\x79\x70\x65":_0x7e59[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x7e59[89]},{"\x74\x79\x70\x65":_0x7e59[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x7e59[63],"\x6B\x65\x79":_0x7e59[90],"\x6B\x65\x79\x54\x79\x70\x65":_0x7e59[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x7e59[91]},{"\x74\x79\x70\x65":_0x7e59[68],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x7e59[63],"\x6B\x65\x79":_0x7e59[92],"\x6B\x65\x79\x54\x79\x70\x65":_0x7e59[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x7e59[93]}];break;default:console[_0x7e59[97]](_0x7e59[95],_0x8264x14[_0x7e59[29]][_0x7e59[96]])};delete _0x8264x14[_0x7e59[29]][_0x7e59[96]];return SalesforceConfiguration[_0x7e59[28]](_0x8264x14[_0x7e59[29]],{include:[{model:SalesforceField,as:_0x7e59[59]},{model:SalesforceField,as:_0x7e59[66]}]})[_0x7e59[14]](responseWithResult(_0x8264x9,201))[_0x7e59[18]](handleError(_0x8264x9))};exports[_0x7e59[98]]=function(_0x8264x14,_0x8264x9){return SalesforceConfiguration[_0x7e59[23]]({method:[_0x7e59[52],_0x8264x14[_0x7e59[26]][_0x7e59[25]]]})[_0x7e59[27]](_0x8264x14[_0x7e59[26]][_0x7e59[54]])[_0x7e59[14]](handleEntityNotFound(_0x8264x9))[_0x7e59[14]](function(_0x8264x1d){switch(_0x8264x14[_0x7e59[26]][_0x7e59[104]]){case _0x7e59[100]:_0x8264x14[_0x7e59[29]][_0x7e59[99]]=_0x8264x14[_0x7e59[26]][_0x7e59[54]];break;case _0x7e59[102]:_0x8264x14[_0x7e59[29]][_0x7e59[101]]=_0x8264x14[_0x7e59[26]][_0x7e59[54]];break;case _0x7e59[43]:_0x8264x14[_0x7e59[29]][_0x7e59[103]]=_0x8264x14[_0x7e59[26]][_0x7e59[54]];break};return SalesforceField[_0x7e59[28]](_0x8264x14[_0x7e59[29]])})[_0x7e59[14]](responseWithResult(_0x8264x9,201))[_0x7e59[18]](handleError(_0x8264x9))};exports[_0x7e59[105]]=function(_0x8264x14,_0x8264x9){if(_0x8264x14[_0x7e59[29]][_0x7e59[25]]){delete _0x8264x14[_0x7e59[29]][_0x7e59[25]]};return SalesforceField[_0x7e59[27]](_0x8264x14[_0x7e59[26]][_0x7e59[106]])[_0x7e59[14]](handleEntityNotFound(_0x8264x9))[_0x7e59[14]](saveUpdates(_0x8264x14[_0x7e59[29]]))[_0x7e59[14]](responseWithResult(_0x8264x9))[_0x7e59[18]](handleError(_0x8264x9))};exports[_0x7e59[107]]=function(_0x8264x14,_0x8264x9){return SalesforceField[_0x7e59[27]](_0x8264x14[_0x7e59[26]][_0x7e59[106]])[_0x7e59[14]](handleEntityNotFound(_0x8264x9))[_0x7e59[14]](removeEntity(_0x8264x9))[_0x7e59[18]](handleError(_0x8264x9))};exports[_0x7e59[108]]=function(_0x8264x14,_0x8264x9,_0x8264x15){return SalesforceConfiguration[_0x7e59[27]](_0x8264x14[_0x7e59[26]][_0x7e59[54]])[_0x7e59[14]](handleEntityNotFound(_0x8264x9))[_0x7e59[14]](function(_0x8264x1d){return _0x8264x1d[_0x7e59[110]](_0x8264x14[_0x7e59[29]])})[_0x7e59[14]](responseWithoutResult(_0x8264x9,200))[_0x7e59[18]](function(_0x8264xb){console[_0x7e59[109]](_0x8264xb);return handleError(_0x8264x9,_0x8264xb)})} \ No newline at end of file diff --git a/server/api/salesforce_account/salesforce_account.socket.js b/server/api/salesforce_account/salesforce_account.socket.js index d017d8a..8e62040 100644 --- a/server/api/salesforce_account/salesforce_account.socket.js +++ b/server/api/salesforce_account/salesforce_account.socket.js @@ -1 +1 @@ -var _0x65ab=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x65ab[0];var SalesforceAccount=require(_0x65ab[2])[_0x65ab[1]];exports[_0x65ab[3]]=function(_0xe698x2){SalesforceAccount[_0x65ab[4]](function(_0xe698x3){onSave(_0xe698x2,_0xe698x3)});SalesforceAccount[_0x65ab[5]](function(_0xe698x3){onRemove(_0xe698x2,_0xe698x3)})};function onSave(_0xe698x2,_0xe698x3,_0xe698x5){_0xe698x2[_0x65ab[7]](_0x65ab[6],_0xe698x3)}function onRemove(_0xe698x2,_0xe698x3,_0xe698x5){_0xe698x2[_0x65ab[7]](_0x65ab[8],_0xe698x3)} \ No newline at end of file +var _0xc601=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0xc601[0];var SalesforceAccount=require(_0xc601[2])[_0xc601[1]];exports[_0xc601[3]]=function(_0xf3f1x2){SalesforceAccount[_0xc601[4]](function(_0xf3f1x3){onSave(_0xf3f1x2,_0xf3f1x3)});SalesforceAccount[_0xc601[5]](function(_0xf3f1x3){onRemove(_0xf3f1x2,_0xf3f1x3)})};function onSave(_0xf3f1x2,_0xf3f1x3,_0xf3f1x5){_0xf3f1x2[_0xc601[7]](_0xc601[6],_0xf3f1x3)}function onRemove(_0xf3f1x2,_0xf3f1x3,_0xf3f1x5){_0xf3f1x2[_0xc601[7]](_0xc601[8],_0xf3f1x3)} \ No newline at end of file diff --git a/server/api/salesforce_configuration/index.js b/server/api/salesforce_configuration/index.js index 68d65fc..f47ccf8 100644 --- a/server/api/salesforce_configuration/index.js +++ b/server/api/salesforce_configuration/index.js @@ -1 +1 @@ -var _0xebf9=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x2F\x3A\x69\x64\x2F\x3A\x74\x79\x70\x65","\x61\x64\x64\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x46\x69\x65\x6C\x64","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xebf9[0];var express=require(_0xebf9[1]);var auth=require(_0xebf9[2]);var controller=require(_0xebf9[3]);var router=express.Router();router[_0xebf9[7]](_0xebf9[4],auth[_0xebf9[5]](),controller[_0xebf9[6]]);router[_0xebf9[7]](_0xebf9[8],auth[_0xebf9[5]](),auth[_0xebf9[10]]([19],[_0xebf9[9]]),controller[_0xebf9[11]]);router[_0xebf9[13]](_0xebf9[4],auth[_0xebf9[5]](),auth[_0xebf9[10]]([19],[_0xebf9[9]]),controller[_0xebf9[12]]);router[_0xebf9[15]](_0xebf9[8],auth[_0xebf9[5]](),auth[_0xebf9[10]]([19],[_0xebf9[9]]),controller[_0xebf9[14]]);router[_0xebf9[13]](_0xebf9[16],auth[_0xebf9[5]](),auth[_0xebf9[10]]([19],[_0xebf9[9]]),controller[_0xebf9[17]]);router[_0xebf9[19]](_0xebf9[8],auth[_0xebf9[5]](),auth[_0xebf9[10]]([19],[_0xebf9[9]]),controller[_0xebf9[18]]);module[_0xebf9[20]]=router \ No newline at end of file +var _0xb689=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x2F\x3A\x69\x64\x2F\x3A\x74\x79\x70\x65","\x61\x64\x64\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x46\x69\x65\x6C\x64","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xb689[0];var express=require(_0xb689[1]);var auth=require(_0xb689[2]);var controller=require(_0xb689[3]);var router=express.Router();router[_0xb689[7]](_0xb689[4],auth[_0xb689[5]](),controller[_0xb689[6]]);router[_0xb689[7]](_0xb689[8],auth[_0xb689[5]](),auth[_0xb689[10]]([19],[_0xb689[9]]),controller[_0xb689[11]]);router[_0xb689[13]](_0xb689[4],auth[_0xb689[5]](),auth[_0xb689[10]]([19],[_0xb689[9]]),controller[_0xb689[12]]);router[_0xb689[15]](_0xb689[8],auth[_0xb689[5]](),auth[_0xb689[10]]([19],[_0xb689[9]]),controller[_0xb689[14]]);router[_0xb689[13]](_0xb689[16],auth[_0xb689[5]](),auth[_0xb689[10]]([19],[_0xb689[9]]),controller[_0xb689[17]]);router[_0xb689[19]](_0xb689[8],auth[_0xb689[5]](),auth[_0xb689[10]]([19],[_0xb689[9]]),controller[_0xb689[18]]);module[_0xb689[20]]=router \ No newline at end of file diff --git a/server/api/salesforce_configuration/salesforce_configuration.controller.js b/server/api/salesforce_configuration/salesforce_configuration.controller.js index 110360e..ee7c983 100644 --- a/server/api/salesforce_configuration/salesforce_configuration.controller.js +++ b/server/api/salesforce_configuration/salesforce_configuration.controller.js @@ -1 +1 @@ -var _0x6780=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x46\x69\x65\x6C\x64","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x71\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x53\x75\x62\x6A\x65\x63\x74","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x46\x69\x65\x6C\x64","\x66\x69\x6E\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x66\x69\x6E\x64\x42\x79\x49\x64","\x61\x64\x64\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x46\x69\x65\x6C\x64","\x73\x70\x72\x65\x61\x64","\x61\x64\x64\x53\x75\x62\x6A\x65\x63\x74","\x73\x75\x62\x6A\x65\x63\x74","\x61\x64\x64\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x61\x64\x64\x46\x69\x65\x6C\x64","\x66\x69\x65\x6C\x64","\x74\x79\x70\x65"];_0x6780[0];var _=require(_0x6780[1]);var SalesforceConfiguration=require(_0x6780[3])[_0x6780[2]];var SalesforceField=require(_0x6780[3])[_0x6780[4]];function handleError(_0x87d8x5,_0x87d8x6){_0x87d8x6=_0x87d8x6||500;return function(_0x87d8x7){_0x87d8x5[_0x6780[6]](_0x87d8x6)[_0x6780[5]](_0x87d8x7)}}function responseWithResult(_0x87d8x5,_0x87d8x6){_0x87d8x6=_0x87d8x6||200;return function(_0x87d8x9){if(_0x87d8x9){_0x87d8x5[_0x6780[6]](_0x87d8x6)[_0x6780[7]](_0x87d8x9)}}}function handleEntityNotFound(_0x87d8x5){return function(_0x87d8x9){if(!_0x87d8x9){_0x87d8x5[_0x6780[6]](404)[_0x6780[8]]();return null};return _0x87d8x9}}function saveUpdates(_0x87d8xc){return function(_0x87d8x9){return _0x87d8x9[_0x6780[10]](_0x87d8xc)[_0x6780[9]](function(_0x87d8xd){return _0x87d8xd})}}function removeEntity(_0x87d8x5){return function(_0x87d8x9){if(_0x87d8x9){return _0x87d8x9[_0x6780[11]]()[_0x6780[9]](function(){_0x87d8x5[_0x6780[6]](204)[_0x6780[8]]()})}}}exports[_0x6780[12]]=function(_0x87d8xf,_0x87d8x5){SalesforceConfiguration[_0x6780[15]]({where:_0x87d8xf[_0x6780[14]]})[_0x6780[9]](responseWithResult(_0x87d8x5))[_0x6780[13]](handleError(_0x87d8x5))};exports[_0x6780[16]]=function(_0x87d8xf,_0x87d8x5){SalesforceConfiguration[_0x6780[22]]({where:{id:_0x87d8xf[_0x6780[18]][_0x6780[17]]},include:[{model:SalesforceField,as:_0x6780[19]},{model:SalesforceField,as:_0x6780[20]},{model:SalesforceField,as:_0x6780[21]}]})[_0x6780[9]](handleEntityNotFound(_0x87d8x5))[_0x6780[9]](responseWithResult(_0x87d8x5))[_0x6780[13]](handleError(_0x87d8x5))};exports[_0x6780[23]]=function(_0x87d8xf,_0x87d8x5){SalesforceConfiguration[_0x6780[23]](_0x87d8xf[_0x6780[24]])[_0x6780[9]](responseWithResult(_0x87d8x5,201))[_0x6780[13]](handleError(_0x87d8x5))};exports[_0x6780[25]]=function(_0x87d8xf,_0x87d8x5){if(_0x87d8xf[_0x6780[24]][_0x6780[17]]){delete _0x87d8xf[_0x6780[24]][_0x6780[17]]};SalesforceConfiguration[_0x6780[26]](_0x87d8xf[_0x6780[18]][_0x6780[17]])[_0x6780[9]](handleEntityNotFound(_0x87d8x5))[_0x6780[9]](saveUpdates(_0x87d8xf[_0x6780[24]]))[_0x6780[9]](responseWithResult(_0x87d8x5))[_0x6780[13]](handleError(_0x87d8x5))};exports[_0x6780[11]]=function(_0x87d8xf,_0x87d8x5){SalesforceConfiguration[_0x6780[26]](_0x87d8xf[_0x6780[18]][_0x6780[17]])[_0x6780[9]](handleEntityNotFound(_0x87d8x5))[_0x6780[9]](removeEntity(_0x87d8x5))[_0x6780[13]](handleError(_0x87d8x5))};exports[_0x6780[27]]=function(_0x87d8xf,_0x87d8x5,_0x87d8x10){var _0x87d8x11;SalesforceConfiguration[_0x6780[26]](_0x87d8xf[_0x6780[18]][_0x6780[17]])[_0x6780[9]](handleEntityNotFound(_0x87d8x5))[_0x6780[9]](function(_0x87d8x14){_0x87d8x11=_0x87d8x14;return SalesforceField[_0x6780[23]](_0x87d8xf[_0x6780[24]])})[_0x6780[9]](function(_0x87d8x13){switch(_0x87d8xf[_0x6780[18]][_0x6780[35]]){case _0x6780[30]:return [_0x87d8x11[_0x6780[29]](_0x87d8x13),_0x87d8x13];case _0x6780[32]:return [_0x87d8x11[_0x6780[31]](_0x87d8x13),_0x87d8x13];case _0x6780[34]:return [_0x87d8x11[_0x6780[33]](_0x87d8x13),_0x87d8x13]}})[_0x6780[28]](function(_0x87d8x12,_0x87d8x13){return _0x87d8x5[_0x6780[6]](201)[_0x6780[7]](_0x87d8x13)})[_0x6780[13]](handleError(_0x87d8x5))} \ No newline at end of file +var _0x843d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x46\x69\x65\x6C\x64","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x71\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x53\x75\x62\x6A\x65\x63\x74","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x46\x69\x65\x6C\x64","\x66\x69\x6E\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x66\x69\x6E\x64\x42\x79\x49\x64","\x61\x64\x64\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x46\x69\x65\x6C\x64","\x73\x70\x72\x65\x61\x64","\x61\x64\x64\x53\x75\x62\x6A\x65\x63\x74","\x73\x75\x62\x6A\x65\x63\x74","\x61\x64\x64\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x61\x64\x64\x46\x69\x65\x6C\x64","\x66\x69\x65\x6C\x64","\x74\x79\x70\x65"];_0x843d[0];var _=require(_0x843d[1]);var SalesforceConfiguration=require(_0x843d[3])[_0x843d[2]];var SalesforceField=require(_0x843d[3])[_0x843d[4]];function handleError(_0xbc75x5,_0xbc75x6){_0xbc75x6=_0xbc75x6||500;return function(_0xbc75x7){_0xbc75x5[_0x843d[6]](_0xbc75x6)[_0x843d[5]](_0xbc75x7)}}function responseWithResult(_0xbc75x5,_0xbc75x6){_0xbc75x6=_0xbc75x6||200;return function(_0xbc75x9){if(_0xbc75x9){_0xbc75x5[_0x843d[6]](_0xbc75x6)[_0x843d[7]](_0xbc75x9)}}}function handleEntityNotFound(_0xbc75x5){return function(_0xbc75x9){if(!_0xbc75x9){_0xbc75x5[_0x843d[6]](404)[_0x843d[8]]();return null};return _0xbc75x9}}function saveUpdates(_0xbc75xc){return function(_0xbc75x9){return _0xbc75x9[_0x843d[10]](_0xbc75xc)[_0x843d[9]](function(_0xbc75xd){return _0xbc75xd})}}function removeEntity(_0xbc75x5){return function(_0xbc75x9){if(_0xbc75x9){return _0xbc75x9[_0x843d[11]]()[_0x843d[9]](function(){_0xbc75x5[_0x843d[6]](204)[_0x843d[8]]()})}}}exports[_0x843d[12]]=function(_0xbc75xf,_0xbc75x5){SalesforceConfiguration[_0x843d[15]]({where:_0xbc75xf[_0x843d[14]]})[_0x843d[9]](responseWithResult(_0xbc75x5))[_0x843d[13]](handleError(_0xbc75x5))};exports[_0x843d[16]]=function(_0xbc75xf,_0xbc75x5){SalesforceConfiguration[_0x843d[22]]({where:{id:_0xbc75xf[_0x843d[18]][_0x843d[17]]},include:[{model:SalesforceField,as:_0x843d[19]},{model:SalesforceField,as:_0x843d[20]},{model:SalesforceField,as:_0x843d[21]}]})[_0x843d[9]](handleEntityNotFound(_0xbc75x5))[_0x843d[9]](responseWithResult(_0xbc75x5))[_0x843d[13]](handleError(_0xbc75x5))};exports[_0x843d[23]]=function(_0xbc75xf,_0xbc75x5){SalesforceConfiguration[_0x843d[23]](_0xbc75xf[_0x843d[24]])[_0x843d[9]](responseWithResult(_0xbc75x5,201))[_0x843d[13]](handleError(_0xbc75x5))};exports[_0x843d[25]]=function(_0xbc75xf,_0xbc75x5){if(_0xbc75xf[_0x843d[24]][_0x843d[17]]){delete _0xbc75xf[_0x843d[24]][_0x843d[17]]};SalesforceConfiguration[_0x843d[26]](_0xbc75xf[_0x843d[18]][_0x843d[17]])[_0x843d[9]](handleEntityNotFound(_0xbc75x5))[_0x843d[9]](saveUpdates(_0xbc75xf[_0x843d[24]]))[_0x843d[9]](responseWithResult(_0xbc75x5))[_0x843d[13]](handleError(_0xbc75x5))};exports[_0x843d[11]]=function(_0xbc75xf,_0xbc75x5){SalesforceConfiguration[_0x843d[26]](_0xbc75xf[_0x843d[18]][_0x843d[17]])[_0x843d[9]](handleEntityNotFound(_0xbc75x5))[_0x843d[9]](removeEntity(_0xbc75x5))[_0x843d[13]](handleError(_0xbc75x5))};exports[_0x843d[27]]=function(_0xbc75xf,_0xbc75x5,_0xbc75x10){var _0xbc75x11;SalesforceConfiguration[_0x843d[26]](_0xbc75xf[_0x843d[18]][_0x843d[17]])[_0x843d[9]](handleEntityNotFound(_0xbc75x5))[_0x843d[9]](function(_0xbc75x14){_0xbc75x11=_0xbc75x14;return SalesforceField[_0x843d[23]](_0xbc75xf[_0x843d[24]])})[_0x843d[9]](function(_0xbc75x13){switch(_0xbc75xf[_0x843d[18]][_0x843d[35]]){case _0x843d[30]:return [_0xbc75x11[_0x843d[29]](_0xbc75x13),_0xbc75x13];case _0x843d[32]:return [_0xbc75x11[_0x843d[31]](_0xbc75x13),_0xbc75x13];case _0x843d[34]:return [_0xbc75x11[_0x843d[33]](_0xbc75x13),_0xbc75x13]}})[_0x843d[28]](function(_0xbc75x12,_0xbc75x13){return _0xbc75x5[_0x843d[6]](201)[_0x843d[7]](_0xbc75x13)})[_0x843d[13]](handleError(_0xbc75x5))} \ No newline at end of file diff --git a/server/api/salesforce_configuration/salesforce_configuration.socket.js b/server/api/salesforce_configuration/salesforce_configuration.socket.js index 20d2883..1bf9cc6 100644 --- a/server/api/salesforce_configuration/salesforce_configuration.socket.js +++ b/server/api/salesforce_configuration/salesforce_configuration.socket.js @@ -1 +1 @@ -var _0xc876=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0xc876[0];var SalesforceConfiguration=require(_0xc876[2])[_0xc876[1]];exports[_0xc876[3]]=function(_0x5a16x2){SalesforceConfiguration[_0xc876[4]](function(_0x5a16x3){onSave(_0x5a16x2,_0x5a16x3)});SalesforceConfiguration[_0xc876[5]](function(_0x5a16x3){onRemove(_0x5a16x2,_0x5a16x3)})};function onSave(_0x5a16x2,_0x5a16x3,_0x5a16x5){_0x5a16x2[_0xc876[7]](_0xc876[6],_0x5a16x3)}function onRemove(_0x5a16x2,_0x5a16x3,_0x5a16x5){_0x5a16x2[_0xc876[7]](_0xc876[8],_0x5a16x3)} \ No newline at end of file +var _0xd54f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0xd54f[0];var SalesforceConfiguration=require(_0xd54f[2])[_0xd54f[1]];exports[_0xd54f[3]]=function(_0x1ccax2){SalesforceConfiguration[_0xd54f[4]](function(_0x1ccax3){onSave(_0x1ccax2,_0x1ccax3)});SalesforceConfiguration[_0xd54f[5]](function(_0x1ccax3){onRemove(_0x1ccax2,_0x1ccax3)})};function onSave(_0x1ccax2,_0x1ccax3,_0x1ccax5){_0x1ccax2[_0xd54f[7]](_0xd54f[6],_0x1ccax3)}function onRemove(_0x1ccax2,_0x1ccax3,_0x1ccax5){_0x1ccax2[_0xd54f[7]](_0xd54f[8],_0x1ccax3)} \ No newline at end of file diff --git a/server/api/salesforce_field/index.js b/server/api/salesforce_field/index.js index 13aa9bd..dd8f6fb 100644 --- a/server/api/salesforce_field/index.js +++ b/server/api/salesforce_field/index.js @@ -1 +1 @@ -var _0x2647=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x66\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x2647[0];var express=require(_0x2647[1]);var auth=require(_0x2647[2]);var controller=require(_0x2647[3]);var router=express.Router();router[_0x2647[7]](_0x2647[4],auth[_0x2647[5]](),controller[_0x2647[6]]);router[_0x2647[7]](_0x2647[8],auth[_0x2647[5]](),auth[_0x2647[10]]([19],[_0x2647[9]]),controller[_0x2647[11]]);router[_0x2647[13]](_0x2647[4],auth[_0x2647[5]](),auth[_0x2647[10]]([19],[_0x2647[9]]),controller[_0x2647[12]]);router[_0x2647[15]](_0x2647[8],auth[_0x2647[5]](),auth[_0x2647[10]]([19],[_0x2647[9]]),controller[_0x2647[14]]);router[_0x2647[17]](_0x2647[8],auth[_0x2647[5]](),auth[_0x2647[10]]([19],[_0x2647[9]]),controller[_0x2647[16]]);module[_0x2647[18]]=router \ No newline at end of file +var _0x3c6c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x66\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x3c6c[0];var express=require(_0x3c6c[1]);var auth=require(_0x3c6c[2]);var controller=require(_0x3c6c[3]);var router=express.Router();router[_0x3c6c[7]](_0x3c6c[4],auth[_0x3c6c[5]](),controller[_0x3c6c[6]]);router[_0x3c6c[7]](_0x3c6c[8],auth[_0x3c6c[5]](),auth[_0x3c6c[10]]([19],[_0x3c6c[9]]),controller[_0x3c6c[11]]);router[_0x3c6c[13]](_0x3c6c[4],auth[_0x3c6c[5]](),auth[_0x3c6c[10]]([19],[_0x3c6c[9]]),controller[_0x3c6c[12]]);router[_0x3c6c[15]](_0x3c6c[8],auth[_0x3c6c[5]](),auth[_0x3c6c[10]]([19],[_0x3c6c[9]]),controller[_0x3c6c[14]]);router[_0x3c6c[17]](_0x3c6c[8],auth[_0x3c6c[5]](),auth[_0x3c6c[10]]([19],[_0x3c6c[9]]),controller[_0x3c6c[16]]);module[_0x3c6c[18]]=router \ No newline at end of file diff --git a/server/api/salesforce_field/index.spec.js b/server/api/salesforce_field/index.spec.js index 8989ed7..aa3978a 100644 --- a/server/api/salesforce_field/index.spec.js +++ b/server/api/salesforce_field/index.spec.js @@ -1 +1 @@ -var _0xf566=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6E\x6F\x50\x72\x65\x73\x65\x72\x76\x65\x43\x61\x63\x68\x65","\x70\x72\x6F\x78\x79\x71\x75\x69\x72\x65","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x69\x6E\x64\x65\x78","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x73\x68\x6F\x77","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x63\x72\x65\x61\x74\x65","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x75\x70\x64\x61\x74\x65","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x64\x65\x73\x74\x72\x6F\x79","\x73\x70\x79","\x2E\x2F\x69\x6E\x64\x65\x78\x2E\x6A\x73","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x46\x69\x65\x6C\x64\x20\x41\x50\x49\x20\x52\x6F\x75\x74\x65\x72\x3A","\x73\x68\x6F\x75\x6C\x64\x20\x72\x65\x74\x75\x72\x6E\x20\x61\x6E\x20\x65\x78\x70\x72\x65\x73\x73\x20\x72\x6F\x75\x74\x65\x72\x20\x69\x6E\x73\x74\x61\x6E\x63\x65","\x65\x71\x75\x61\x6C","\x74\x6F","\x47\x45\x54\x20\x2F\x61\x70\x69\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x2F\x66\x69\x65\x6C\x64\x73","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x46\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x69\x6E\x64\x65\x78","\x63\x61\x6C\x6C\x65\x64\x4F\x6E\x63\x65","\x62\x65\x65\x6E","\x68\x61\x76\x65","\x2F","\x77\x69\x74\x68\x41\x72\x67\x73","\x67\x65\x74","\x47\x45\x54\x20\x2F\x61\x70\x69\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x2F\x66\x69\x65\x6C\x64\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x46\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x73\x68\x6F\x77","\x2F\x3A\x69\x64","\x50\x4F\x53\x54\x20\x2F\x61\x70\x69\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x2F\x66\x69\x65\x6C\x64\x73","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x46\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x50\x55\x54\x20\x2F\x61\x70\x69\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x2F\x66\x69\x65\x6C\x64\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x46\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x50\x41\x54\x43\x48\x20\x2F\x61\x70\x69\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x2F\x66\x69\x65\x6C\x64\x73\x2F\x3A\x69\x64","\x70\x61\x74\x63\x68","\x44\x45\x4C\x45\x54\x45\x20\x2F\x61\x70\x69\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x2F\x66\x69\x65\x6C\x64\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x46\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65"];_0xf566[0];var proxyquire=require(_0xf566[2])[_0xf566[1]]();var salesforceFieldCtrlStub={index:_0xf566[3],show:_0xf566[4],create:_0xf566[5],update:_0xf566[6],destroy:_0xf566[7]};var routerStub={get:sinon[_0xf566[8]](),put:sinon[_0xf566[8]](),patch:sinon[_0xf566[8]](),post:sinon[_0xf566[8]](),delete:sinon[_0xf566[8]]()};var salesforceFieldIndex=proxyquire(_0xf566[9],{"\x65\x78\x70\x72\x65\x73\x73":{Router:function(){return routerStub}},"\x2E\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x66\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72":salesforceFieldCtrlStub});describe(_0xf566[10],function(){it(_0xf566[11],function(){expect(salesforceFieldIndex)[_0xf566[13]][_0xf566[12]](routerStub)});describe(_0xf566[14],function(){it(_0xf566[15],function(){expect(routerStub[_0xf566[21]][_0xf566[20]](_0xf566[19],_0xf566[3]))[_0xf566[13]][_0xf566[18]][_0xf566[17]][_0xf566[16]]})});describe(_0xf566[22],function(){it(_0xf566[23],function(){expect(routerStub[_0xf566[21]][_0xf566[20]](_0xf566[24],_0xf566[4]))[_0xf566[13]][_0xf566[18]][_0xf566[17]][_0xf566[16]]})});describe(_0xf566[25],function(){it(_0xf566[26],function(){expect(routerStub[_0xf566[27]][_0xf566[20]](_0xf566[19],_0xf566[5]))[_0xf566[13]][_0xf566[18]][_0xf566[17]][_0xf566[16]]})});describe(_0xf566[28],function(){it(_0xf566[29],function(){expect(routerStub[_0xf566[30]][_0xf566[20]](_0xf566[24],_0xf566[6]))[_0xf566[13]][_0xf566[18]][_0xf566[17]][_0xf566[16]]})});describe(_0xf566[31],function(){it(_0xf566[29],function(){expect(routerStub[_0xf566[32]][_0xf566[20]](_0xf566[24],_0xf566[6]))[_0xf566[13]][_0xf566[18]][_0xf566[17]][_0xf566[16]]})});describe(_0xf566[33],function(){it(_0xf566[34],function(){expect(routerStub[_0xf566[35]][_0xf566[20]](_0xf566[24],_0xf566[7]))[_0xf566[13]][_0xf566[18]][_0xf566[17]][_0xf566[16]]})})}) \ No newline at end of file +var _0xa255=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6E\x6F\x50\x72\x65\x73\x65\x72\x76\x65\x43\x61\x63\x68\x65","\x70\x72\x6F\x78\x79\x71\x75\x69\x72\x65","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x69\x6E\x64\x65\x78","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x73\x68\x6F\x77","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x63\x72\x65\x61\x74\x65","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x75\x70\x64\x61\x74\x65","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x46\x69\x65\x6C\x64\x43\x74\x72\x6C\x2E\x64\x65\x73\x74\x72\x6F\x79","\x73\x70\x79","\x2E\x2F\x69\x6E\x64\x65\x78\x2E\x6A\x73","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x46\x69\x65\x6C\x64\x20\x41\x50\x49\x20\x52\x6F\x75\x74\x65\x72\x3A","\x73\x68\x6F\x75\x6C\x64\x20\x72\x65\x74\x75\x72\x6E\x20\x61\x6E\x20\x65\x78\x70\x72\x65\x73\x73\x20\x72\x6F\x75\x74\x65\x72\x20\x69\x6E\x73\x74\x61\x6E\x63\x65","\x65\x71\x75\x61\x6C","\x74\x6F","\x47\x45\x54\x20\x2F\x61\x70\x69\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x2F\x66\x69\x65\x6C\x64\x73","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x46\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x69\x6E\x64\x65\x78","\x63\x61\x6C\x6C\x65\x64\x4F\x6E\x63\x65","\x62\x65\x65\x6E","\x68\x61\x76\x65","\x2F","\x77\x69\x74\x68\x41\x72\x67\x73","\x67\x65\x74","\x47\x45\x54\x20\x2F\x61\x70\x69\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x2F\x66\x69\x65\x6C\x64\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x46\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x73\x68\x6F\x77","\x2F\x3A\x69\x64","\x50\x4F\x53\x54\x20\x2F\x61\x70\x69\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x2F\x66\x69\x65\x6C\x64\x73","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x46\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x50\x55\x54\x20\x2F\x61\x70\x69\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x2F\x66\x69\x65\x6C\x64\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x46\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x50\x41\x54\x43\x48\x20\x2F\x61\x70\x69\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x2F\x66\x69\x65\x6C\x64\x73\x2F\x3A\x69\x64","\x70\x61\x74\x63\x68","\x44\x45\x4C\x45\x54\x45\x20\x2F\x61\x70\x69\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x2F\x66\x69\x65\x6C\x64\x73\x2F\x3A\x69\x64","\x73\x68\x6F\x75\x6C\x64\x20\x72\x6F\x75\x74\x65\x20\x74\x6F\x20\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x46\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72\x2E\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65"];_0xa255[0];var proxyquire=require(_0xa255[2])[_0xa255[1]]();var salesforceFieldCtrlStub={index:_0xa255[3],show:_0xa255[4],create:_0xa255[5],update:_0xa255[6],destroy:_0xa255[7]};var routerStub={get:sinon[_0xa255[8]](),put:sinon[_0xa255[8]](),patch:sinon[_0xa255[8]](),post:sinon[_0xa255[8]](),delete:sinon[_0xa255[8]]()};var salesforceFieldIndex=proxyquire(_0xa255[9],{"\x65\x78\x70\x72\x65\x73\x73":{Router:function(){return routerStub}},"\x2E\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x66\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72":salesforceFieldCtrlStub});describe(_0xa255[10],function(){it(_0xa255[11],function(){expect(salesforceFieldIndex)[_0xa255[13]][_0xa255[12]](routerStub)});describe(_0xa255[14],function(){it(_0xa255[15],function(){expect(routerStub[_0xa255[21]][_0xa255[20]](_0xa255[19],_0xa255[3]))[_0xa255[13]][_0xa255[18]][_0xa255[17]][_0xa255[16]]})});describe(_0xa255[22],function(){it(_0xa255[23],function(){expect(routerStub[_0xa255[21]][_0xa255[20]](_0xa255[24],_0xa255[4]))[_0xa255[13]][_0xa255[18]][_0xa255[17]][_0xa255[16]]})});describe(_0xa255[25],function(){it(_0xa255[26],function(){expect(routerStub[_0xa255[27]][_0xa255[20]](_0xa255[19],_0xa255[5]))[_0xa255[13]][_0xa255[18]][_0xa255[17]][_0xa255[16]]})});describe(_0xa255[28],function(){it(_0xa255[29],function(){expect(routerStub[_0xa255[30]][_0xa255[20]](_0xa255[24],_0xa255[6]))[_0xa255[13]][_0xa255[18]][_0xa255[17]][_0xa255[16]]})});describe(_0xa255[31],function(){it(_0xa255[29],function(){expect(routerStub[_0xa255[32]][_0xa255[20]](_0xa255[24],_0xa255[6]))[_0xa255[13]][_0xa255[18]][_0xa255[17]][_0xa255[16]]})});describe(_0xa255[33],function(){it(_0xa255[34],function(){expect(routerStub[_0xa255[35]][_0xa255[20]](_0xa255[24],_0xa255[7]))[_0xa255[13]][_0xa255[18]][_0xa255[17]][_0xa255[16]]})})}) \ No newline at end of file diff --git a/server/api/salesforce_field/salesforce_field.controller.js b/server/api/salesforce_field/salesforce_field.controller.js index 4d1011e..47b0f1d 100644 --- a/server/api/salesforce_field/salesforce_field.controller.js +++ b/server/api/salesforce_field/salesforce_field.controller.js @@ -1 +1 @@ -var _0xc6a7=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x46\x69\x65\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65"];_0xc6a7[0];var _=require(_0xc6a7[1]);var SalesforceField=require(_0xc6a7[3])[_0xc6a7[2]];function handleError(_0x5f69x4,_0x5f69x5){_0x5f69x5=_0x5f69x5||500;return function(_0x5f69x6){_0x5f69x4[_0xc6a7[5]](_0x5f69x5)[_0xc6a7[4]](_0x5f69x6)}}function responseWithResult(_0x5f69x4,_0x5f69x5){_0x5f69x5=_0x5f69x5||200;return function(_0x5f69x8){if(_0x5f69x8){_0x5f69x4[_0xc6a7[5]](_0x5f69x5)[_0xc6a7[6]](_0x5f69x8)}}}function handleEntityNotFound(_0x5f69x4){return function(_0x5f69x8){if(!_0x5f69x8){_0x5f69x4[_0xc6a7[5]](404)[_0xc6a7[7]]();return null};return _0x5f69x8}}function saveUpdates(_0x5f69xb){return function(_0x5f69x8){return _0x5f69x8[_0xc6a7[9]](_0x5f69xb)[_0xc6a7[8]](function(_0x5f69xc){return _0x5f69xc})}}function removeEntity(_0x5f69x4){return function(_0x5f69x8){if(_0x5f69x8){return _0x5f69x8[_0xc6a7[10]]()[_0xc6a7[8]](function(){_0x5f69x4[_0xc6a7[5]](204)[_0xc6a7[7]]()})}}}exports[_0xc6a7[11]]=function(_0x5f69xe,_0x5f69x4){SalesforceField[_0xc6a7[13]]()[_0xc6a7[8]](responseWithResult(_0x5f69x4))[_0xc6a7[12]](handleError(_0x5f69x4))};exports[_0xc6a7[14]]=function(_0x5f69xe,_0x5f69x4){SalesforceField[_0xc6a7[17]](_0x5f69xe[_0xc6a7[16]][_0xc6a7[15]])[_0xc6a7[8]](handleEntityNotFound(_0x5f69x4))[_0xc6a7[8]](responseWithResult(_0x5f69x4))[_0xc6a7[12]](handleError(_0x5f69x4))};exports[_0xc6a7[18]]=function(_0x5f69xe,_0x5f69x4){SalesforceField[_0xc6a7[18]](_0x5f69xe[_0xc6a7[19]])[_0xc6a7[8]](responseWithResult(_0x5f69x4,201))[_0xc6a7[12]](handleError(_0x5f69x4))};exports[_0xc6a7[20]]=function(_0x5f69xe,_0x5f69x4){if(_0x5f69xe[_0xc6a7[19]][_0xc6a7[15]]){delete _0x5f69xe[_0xc6a7[19]][_0xc6a7[15]]};SalesforceField[_0xc6a7[17]](_0x5f69xe[_0xc6a7[16]][_0xc6a7[15]])[_0xc6a7[8]](handleEntityNotFound(_0x5f69x4))[_0xc6a7[8]](saveUpdates(_0x5f69xe[_0xc6a7[19]]))[_0xc6a7[8]](responseWithResult(_0x5f69x4))[_0xc6a7[12]](handleError(_0x5f69x4))};exports[_0xc6a7[10]]=function(_0x5f69xe,_0x5f69x4){SalesforceField[_0xc6a7[17]](_0x5f69xe[_0xc6a7[16]][_0xc6a7[15]])[_0xc6a7[8]](handleEntityNotFound(_0x5f69x4))[_0xc6a7[8]](removeEntity(_0x5f69x4))[_0xc6a7[12]](handleError(_0x5f69x4))} \ No newline at end of file +var _0x81dd=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x46\x69\x65\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65"];_0x81dd[0];var _=require(_0x81dd[1]);var SalesforceField=require(_0x81dd[3])[_0x81dd[2]];function handleError(_0xc62cx4,_0xc62cx5){_0xc62cx5=_0xc62cx5||500;return function(_0xc62cx6){_0xc62cx4[_0x81dd[5]](_0xc62cx5)[_0x81dd[4]](_0xc62cx6)}}function responseWithResult(_0xc62cx4,_0xc62cx5){_0xc62cx5=_0xc62cx5||200;return function(_0xc62cx8){if(_0xc62cx8){_0xc62cx4[_0x81dd[5]](_0xc62cx5)[_0x81dd[6]](_0xc62cx8)}}}function handleEntityNotFound(_0xc62cx4){return function(_0xc62cx8){if(!_0xc62cx8){_0xc62cx4[_0x81dd[5]](404)[_0x81dd[7]]();return null};return _0xc62cx8}}function saveUpdates(_0xc62cxb){return function(_0xc62cx8){return _0xc62cx8[_0x81dd[9]](_0xc62cxb)[_0x81dd[8]](function(_0xc62cxc){return _0xc62cxc})}}function removeEntity(_0xc62cx4){return function(_0xc62cx8){if(_0xc62cx8){return _0xc62cx8[_0x81dd[10]]()[_0x81dd[8]](function(){_0xc62cx4[_0x81dd[5]](204)[_0x81dd[7]]()})}}}exports[_0x81dd[11]]=function(_0xc62cxe,_0xc62cx4){SalesforceField[_0x81dd[13]]()[_0x81dd[8]](responseWithResult(_0xc62cx4))[_0x81dd[12]](handleError(_0xc62cx4))};exports[_0x81dd[14]]=function(_0xc62cxe,_0xc62cx4){SalesforceField[_0x81dd[17]](_0xc62cxe[_0x81dd[16]][_0x81dd[15]])[_0x81dd[8]](handleEntityNotFound(_0xc62cx4))[_0x81dd[8]](responseWithResult(_0xc62cx4))[_0x81dd[12]](handleError(_0xc62cx4))};exports[_0x81dd[18]]=function(_0xc62cxe,_0xc62cx4){SalesforceField[_0x81dd[18]](_0xc62cxe[_0x81dd[19]])[_0x81dd[8]](responseWithResult(_0xc62cx4,201))[_0x81dd[12]](handleError(_0xc62cx4))};exports[_0x81dd[20]]=function(_0xc62cxe,_0xc62cx4){if(_0xc62cxe[_0x81dd[19]][_0x81dd[15]]){delete _0xc62cxe[_0x81dd[19]][_0x81dd[15]]};SalesforceField[_0x81dd[17]](_0xc62cxe[_0x81dd[16]][_0x81dd[15]])[_0x81dd[8]](handleEntityNotFound(_0xc62cx4))[_0x81dd[8]](saveUpdates(_0xc62cxe[_0x81dd[19]]))[_0x81dd[8]](responseWithResult(_0xc62cx4))[_0x81dd[12]](handleError(_0xc62cx4))};exports[_0x81dd[10]]=function(_0xc62cxe,_0xc62cx4){SalesforceField[_0x81dd[17]](_0xc62cxe[_0x81dd[16]][_0x81dd[15]])[_0x81dd[8]](handleEntityNotFound(_0xc62cx4))[_0x81dd[8]](removeEntity(_0xc62cx4))[_0x81dd[12]](handleError(_0xc62cx4))} \ No newline at end of file diff --git a/server/api/salesforce_field/salesforce_field.socket.js b/server/api/salesforce_field/salesforce_field.socket.js index d5d4945..a20a656 100644 --- a/server/api/salesforce_field/salesforce_field.socket.js +++ b/server/api/salesforce_field/salesforce_field.socket.js @@ -1 +1 @@ -var _0x54a4=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x46\x69\x65\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x66\x69\x65\x6C\x64\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x66\x69\x65\x6C\x64\x3A\x72\x65\x6D\x6F\x76\x65"];_0x54a4[0];var SalesforceField=require(_0x54a4[2])[_0x54a4[1]];exports[_0x54a4[3]]=function(_0xb3cax2){SalesforceField[_0x54a4[4]](function(_0xb3cax3){onSave(_0xb3cax2,_0xb3cax3)});SalesforceField[_0x54a4[5]](function(_0xb3cax3){onRemove(_0xb3cax2,_0xb3cax3)})};function onSave(_0xb3cax2,_0xb3cax3,_0xb3cax5){_0xb3cax2[_0x54a4[7]](_0x54a4[6],_0xb3cax3)}function onRemove(_0xb3cax2,_0xb3cax3,_0xb3cax5){_0xb3cax2[_0x54a4[7]](_0x54a4[8],_0xb3cax3)} \ No newline at end of file +var _0xb476=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x46\x69\x65\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x66\x69\x65\x6C\x64\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x66\x69\x65\x6C\x64\x3A\x72\x65\x6D\x6F\x76\x65"];_0xb476[0];var SalesforceField=require(_0xb476[2])[_0xb476[1]];exports[_0xb476[3]]=function(_0x16b8x2){SalesforceField[_0xb476[4]](function(_0x16b8x3){onSave(_0x16b8x2,_0x16b8x3)});SalesforceField[_0xb476[5]](function(_0x16b8x3){onRemove(_0x16b8x2,_0x16b8x3)})};function onSave(_0x16b8x2,_0x16b8x3,_0x16b8x5){_0x16b8x2[_0xb476[7]](_0xb476[6],_0x16b8x3)}function onRemove(_0x16b8x2,_0x16b8x3,_0x16b8x5){_0x16b8x2[_0xb476[7]](_0xb476[8],_0x16b8x3)} \ No newline at end of file diff --git a/server/api/setting/index.js b/server/api/setting/index.js index e5bfa3e..329259b 100644 --- a/server/api/setting/index.js +++ b/server/api/setting/index.js @@ -1 +1 @@ -var _0xdca2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x73\x65\x74\x74\x69\x6E\x67\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x52\x6F\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x67\x65\x74\x49\x6E\x74\x65\x72\x6E\x61\x6C","\x2F\x6D\x61\x69\x6C\x62\x6F\x78","\x67\x65\x74\x4D\x61\x69\x6C\x62\x6F\x78","\x2F\x69\x6E\x66\x6F","\x67\x65\x74\x49\x6E\x66\x6F","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x73\x6D\x74\x70","\x63\x72\x65\x61\x74\x65\x53\x6D\x74\x70","\x2F\x73\x6D\x74\x70\x2F\x3A\x69\x64","\x75\x70\x64\x61\x74\x65\x53\x6D\x74\x70","\x70\x75\x74","\x75\x70\x64\x61\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xdca2[0];var express=require(_0xdca2[1]);var controller=require(_0xdca2[2]);var auth=require(_0xdca2[3]);var router=express.Router();router[_0xdca2[9]](_0xdca2[4],auth[_0xdca2[5]](),auth[_0xdca2[7]](_0xdca2[6]),controller[_0xdca2[8]]);router[_0xdca2[9]](_0xdca2[10],auth[_0xdca2[5]](),auth[_0xdca2[7]](_0xdca2[6]),controller[_0xdca2[11]]);router[_0xdca2[9]](_0xdca2[12],auth[_0xdca2[5]](),auth[_0xdca2[7]](_0xdca2[6]),controller[_0xdca2[13]]);router[_0xdca2[9]](_0xdca2[14],auth[_0xdca2[5]](),controller[_0xdca2[15]]);router[_0xdca2[9]](_0xdca2[16],auth[_0xdca2[5]](),controller[_0xdca2[17]]);router[_0xdca2[19]](_0xdca2[4],auth[_0xdca2[5]](),auth[_0xdca2[7]](_0xdca2[6]),controller[_0xdca2[18]]);router[_0xdca2[19]](_0xdca2[20],auth[_0xdca2[5]](),auth[_0xdca2[7]](_0xdca2[6]),controller[_0xdca2[21]]);router[_0xdca2[24]](_0xdca2[22],auth[_0xdca2[5]](),auth[_0xdca2[7]](_0xdca2[6]),controller[_0xdca2[23]]);router[_0xdca2[24]](_0xdca2[16],auth[_0xdca2[5]](),auth[_0xdca2[7]](_0xdca2[6]),controller[_0xdca2[25]]);router[_0xdca2[27]](_0xdca2[16],auth[_0xdca2[5]](),auth[_0xdca2[7]](_0xdca2[6]),controller[_0xdca2[26]]);module[_0xdca2[28]]=router \ No newline at end of file +var _0xb109=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x73\x65\x74\x74\x69\x6E\x67\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x52\x6F\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x67\x65\x74\x49\x6E\x74\x65\x72\x6E\x61\x6C","\x2F\x6D\x61\x69\x6C\x62\x6F\x78","\x67\x65\x74\x4D\x61\x69\x6C\x62\x6F\x78","\x2F\x69\x6E\x66\x6F","\x67\x65\x74\x49\x6E\x66\x6F","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x73\x6D\x74\x70","\x63\x72\x65\x61\x74\x65\x53\x6D\x74\x70","\x2F\x73\x6D\x74\x70\x2F\x3A\x69\x64","\x75\x70\x64\x61\x74\x65\x53\x6D\x74\x70","\x70\x75\x74","\x75\x70\x64\x61\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xb109[0];var express=require(_0xb109[1]);var controller=require(_0xb109[2]);var auth=require(_0xb109[3]);var router=express.Router();router[_0xb109[9]](_0xb109[4],auth[_0xb109[5]](),auth[_0xb109[7]](_0xb109[6]),controller[_0xb109[8]]);router[_0xb109[9]](_0xb109[10],auth[_0xb109[5]](),auth[_0xb109[7]](_0xb109[6]),controller[_0xb109[11]]);router[_0xb109[9]](_0xb109[12],auth[_0xb109[5]](),auth[_0xb109[7]](_0xb109[6]),controller[_0xb109[13]]);router[_0xb109[9]](_0xb109[14],auth[_0xb109[5]](),controller[_0xb109[15]]);router[_0xb109[9]](_0xb109[16],auth[_0xb109[5]](),controller[_0xb109[17]]);router[_0xb109[19]](_0xb109[4],auth[_0xb109[5]](),auth[_0xb109[7]](_0xb109[6]),controller[_0xb109[18]]);router[_0xb109[19]](_0xb109[20],auth[_0xb109[5]](),auth[_0xb109[7]](_0xb109[6]),controller[_0xb109[21]]);router[_0xb109[24]](_0xb109[22],auth[_0xb109[5]](),auth[_0xb109[7]](_0xb109[6]),controller[_0xb109[23]]);router[_0xb109[24]](_0xb109[16],auth[_0xb109[5]](),auth[_0xb109[7]](_0xb109[6]),controller[_0xb109[25]]);router[_0xb109[27]](_0xb109[16],auth[_0xb109[5]](),auth[_0xb109[7]](_0xb109[6]),controller[_0xb109[26]]);module[_0xb109[28]]=router \ No newline at end of file diff --git a/server/api/setting/setting.controller.js b/server/api/setting/setting.controller.js index 29c7ea7..2b70860 100644 --- a/server/api/setting/setting.controller.js +++ b/server/api/setting/setting.controller.js @@ -1 +1 @@ -var _0x3385=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x53\x65\x74\x74\x69\x6E\x67\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x56\x6F\x69\x63\x65\x56\x6F\x69\x63\x65\x6D\x61\x69\x6C","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x4F\x75\x74","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x67\x65\x74\x49\x6E\x74\x65\x72\x6E\x61\x6C","\x76\x61\x6C\x75\x65","\x6D\x69\x6E\x5F\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x6D\x61\x78","\x66\x69\x6E\x64\x42\x79\x49\x64","\x67\x65\x74\x4D\x61\x69\x6C\x62\x6F\x78","\x6C\x6F\x67","\x6D\x69\x6E\x5F\x6D\x61\x69\x6C\x62\x6F\x78","\x6D\x61\x69\x6C\x62\x6F\x78","\x67\x65\x74\x49\x6E\x66\x6F","\x2E\x2E\x2F\x2E\x2E\x2F\x2E\x2E\x2F\x70\x61\x63\x6B\x61\x67\x65\x2E\x6A\x73\x6F\x6E","\x6E\x61\x6D\x65","\x76\x65\x72\x73\x69\x6F\x6E","\x65\x6E\x67\x69\x6E\x65\x73","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x63\x72\x65\x61\x74\x65\x53\x6D\x74\x70","\x75\x70\x64\x61\x74\x65","\x75\x70\x64\x61\x74\x65\x53\x6D\x74\x70","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0x3385[0];var _=require(_0x3385[1]);var Settings=require(_0x3385[3])[_0x3385[2]];var Agent=require(_0x3385[3])[_0x3385[4]];var VoiceMail=require(_0x3385[3])[_0x3385[5]];var MailServerOut=require(_0x3385[3])[_0x3385[6]];exports[_0x3385[7]]=function(_0xf6ffx6,_0xf6ffx7){return Settings[_0x3385[12]]()[_0x3385[11]](function(_0xf6ffx9){return _0xf6ffx7[_0x3385[10]](200)[_0x3385[9]](_0xf6ffx9)})[_0x3385[8]](function(_0xf6ffx8){return handleError(_0xf6ffx7,_0xf6ffx8)})};exports[_0x3385[13]]=function(_0xf6ffx6,_0xf6ffx7){var _0xf6ffxa;return Settings[_0x3385[18]](1)[_0x3385[11]](function(_0xf6ffx9){_0xf6ffxa=_0xf6ffx9;return Agent[_0x3385[17]](_0x3385[16])})[_0x3385[11]](function(_0xf6ffxb){var _0xf6ffxc={value:0};if(_0xf6ffxb){_0xf6ffxc[_0x3385[14]]= ++_0xf6ffxb}else {_0xf6ffxc[_0x3385[14]]=_0xf6ffxa[_0x3385[15]]};return _0xf6ffx7[_0x3385[10]](200)[_0x3385[9]](_0xf6ffxc)})[_0x3385[8]](function(_0xf6ffx8){return handleError(_0xf6ffx7,_0xf6ffx8)})};exports[_0x3385[19]]=function(_0xf6ffx6,_0xf6ffx7){var _0xf6ffxa;return Settings[_0x3385[18]](1)[_0x3385[11]](function(_0xf6ffx9){_0xf6ffxa=_0xf6ffx9;return VoiceMail[_0x3385[17]](_0x3385[22])})[_0x3385[11]](function(_0xf6ffxd){var _0xf6ffxe={value:0};if(_0xf6ffxd){_0xf6ffxe[_0x3385[14]]= ++_0xf6ffxd}else {_0xf6ffxe[_0x3385[14]]=_0xf6ffxa[_0x3385[21]]};return _0xf6ffx7[_0x3385[10]](200)[_0x3385[9]](_0xf6ffxe)})[_0x3385[8]](function(_0xf6ffx8){console[_0x3385[20]](_0xf6ffx8);return handleError(_0xf6ffx7,_0xf6ffx8)})};exports[_0x3385[23]]=function(_0xf6ffx6,_0xf6ffx7){var _0xf6ffxf=require(_0x3385[24]);return _0xf6ffx7[_0x3385[10]](200)[_0x3385[9]]({name:_0xf6ffxf[_0x3385[25]],version:_0xf6ffxf[_0x3385[26]],engines:_0xf6ffxf[_0x3385[27]]})};exports[_0x3385[28]]=function(_0xf6ffx6,_0xf6ffx7){return Settings[_0x3385[18]](_0xf6ffx6[_0x3385[31]][_0x3385[30]])[_0x3385[11]](function(_0xf6ffx10){if(!_0xf6ffx10){return _0xf6ffx7[_0x3385[29]](404)};return _0xf6ffx7[_0x3385[9]](_0xf6ffx10)})[_0x3385[8]](function(_0xf6ffx8){return handleError(_0xf6ffx7,_0xf6ffx8)})};exports[_0x3385[32]]=function(_0xf6ffx6,_0xf6ffx7){return Settings[_0x3385[32]](_0xf6ffx6[_0x3385[33]])[_0x3385[11]](function(_0xf6ffx10){return _0xf6ffx7[_0x3385[10]](201)[_0x3385[9]](_0xf6ffx10)})[_0x3385[8]](function(_0xf6ffx8){return handleError(_0xf6ffx7,_0xf6ffx8)})};exports[_0x3385[34]]=function(_0xf6ffx6,_0xf6ffx7){var _0xf6ffx11;return MailServerOut[_0x3385[32]](_0xf6ffx6[_0x3385[33]])[_0x3385[11]](function(_0xf6ffx12){_0xf6ffx11=_0xf6ffx12;return MailServerOut[_0x3385[35]]({service:false},{where:{id:{$ne:_0xf6ffx12[_0x3385[30]]}}})})[_0x3385[11]](function(){return _0xf6ffx7[_0x3385[10]](201)[_0x3385[9]](_0xf6ffx11)})[_0x3385[8]](function(_0xf6ffx8){return handleError(_0xf6ffx7,_0xf6ffx8)})};exports[_0x3385[36]]=function(_0xf6ffx6,_0xf6ffx7){return MailServerOut[_0x3385[35]]({service:false},{where:{id:{$ne:_0xf6ffx6[_0x3385[33]][_0x3385[30]]}}})[_0x3385[11]](function(){return MailServerOut[_0x3385[35]](_0xf6ffx6[_0x3385[33]],{where:{id:_0xf6ffx6[_0x3385[33]][_0x3385[30]]}})})[_0x3385[11]](function(_0xf6ffx12){return _0xf6ffx7[_0x3385[29]](200)})[_0x3385[8]](function(_0xf6ffx8){return handleError(_0xf6ffx7,_0xf6ffx8)})};exports[_0x3385[35]]=function(_0xf6ffx6,_0xf6ffx7){if(_0xf6ffx6[_0x3385[33]][_0x3385[30]]){delete _0xf6ffx6[_0x3385[33]][_0x3385[30]]};return Settings[_0x3385[18]](_0xf6ffx6[_0x3385[31]][_0x3385[30]])[_0x3385[11]](function(_0xf6ffx10){if(!_0xf6ffx10){return _0xf6ffx7[_0x3385[29]](404)};var _0xf6ffx13=_[_0x3385[37]](_0xf6ffx10,_0xf6ffx6[_0x3385[33]]);return _0xf6ffx13[_0x3385[38]]()})[_0x3385[11]](function(_0xf6ffx10){return _0xf6ffx7[_0x3385[10]](200)[_0x3385[9]](_0xf6ffx10)})[_0x3385[8]](function(_0xf6ffx8){return handleError(_0xf6ffx7,_0xf6ffx8)})};exports[_0x3385[39]]=function(_0xf6ffx6,_0xf6ffx7){return Settings[_0x3385[18]](_0xf6ffx6[_0x3385[31]][_0x3385[30]])[_0x3385[11]](function(_0xf6ffx10){if(!_0xf6ffx10){return _0xf6ffx7[_0x3385[29]](404)};return _0xf6ffx10[_0x3385[39]]()})[_0x3385[11]](function(){return _0xf6ffx7[_0x3385[29]](204)})[_0x3385[8]](function(_0xf6ffx8){return handleError(_0xf6ffx7,_0xf6ffx8)})};function handleError(_0xf6ffx7,_0xf6ffx8){return _0xf6ffx7[_0x3385[10]](500)[_0x3385[9]](_0xf6ffx8)} \ No newline at end of file +var _0x47fd=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x53\x65\x74\x74\x69\x6E\x67\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x56\x6F\x69\x63\x65\x56\x6F\x69\x63\x65\x6D\x61\x69\x6C","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x4F\x75\x74","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x67\x65\x74\x49\x6E\x74\x65\x72\x6E\x61\x6C","\x76\x61\x6C\x75\x65","\x6D\x69\x6E\x5F\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x6D\x61\x78","\x66\x69\x6E\x64\x42\x79\x49\x64","\x67\x65\x74\x4D\x61\x69\x6C\x62\x6F\x78","\x6C\x6F\x67","\x6D\x69\x6E\x5F\x6D\x61\x69\x6C\x62\x6F\x78","\x6D\x61\x69\x6C\x62\x6F\x78","\x67\x65\x74\x49\x6E\x66\x6F","\x2E\x2E\x2F\x2E\x2E\x2F\x2E\x2E\x2F\x70\x61\x63\x6B\x61\x67\x65\x2E\x6A\x73\x6F\x6E","\x6E\x61\x6D\x65","\x76\x65\x72\x73\x69\x6F\x6E","\x65\x6E\x67\x69\x6E\x65\x73","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x63\x72\x65\x61\x74\x65\x53\x6D\x74\x70","\x75\x70\x64\x61\x74\x65","\x75\x70\x64\x61\x74\x65\x53\x6D\x74\x70","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0x47fd[0];var _=require(_0x47fd[1]);var Settings=require(_0x47fd[3])[_0x47fd[2]];var Agent=require(_0x47fd[3])[_0x47fd[4]];var VoiceMail=require(_0x47fd[3])[_0x47fd[5]];var MailServerOut=require(_0x47fd[3])[_0x47fd[6]];exports[_0x47fd[7]]=function(_0xe8c4x6,_0xe8c4x7){return Settings[_0x47fd[12]]()[_0x47fd[11]](function(_0xe8c4x9){return _0xe8c4x7[_0x47fd[10]](200)[_0x47fd[9]](_0xe8c4x9)})[_0x47fd[8]](function(_0xe8c4x8){return handleError(_0xe8c4x7,_0xe8c4x8)})};exports[_0x47fd[13]]=function(_0xe8c4x6,_0xe8c4x7){var _0xe8c4xa;return Settings[_0x47fd[18]](1)[_0x47fd[11]](function(_0xe8c4x9){_0xe8c4xa=_0xe8c4x9;return Agent[_0x47fd[17]](_0x47fd[16])})[_0x47fd[11]](function(_0xe8c4xb){var _0xe8c4xc={value:0};if(_0xe8c4xb){_0xe8c4xc[_0x47fd[14]]= ++_0xe8c4xb}else {_0xe8c4xc[_0x47fd[14]]=_0xe8c4xa[_0x47fd[15]]};return _0xe8c4x7[_0x47fd[10]](200)[_0x47fd[9]](_0xe8c4xc)})[_0x47fd[8]](function(_0xe8c4x8){return handleError(_0xe8c4x7,_0xe8c4x8)})};exports[_0x47fd[19]]=function(_0xe8c4x6,_0xe8c4x7){var _0xe8c4xa;return Settings[_0x47fd[18]](1)[_0x47fd[11]](function(_0xe8c4x9){_0xe8c4xa=_0xe8c4x9;return VoiceMail[_0x47fd[17]](_0x47fd[22])})[_0x47fd[11]](function(_0xe8c4xd){var _0xe8c4xe={value:0};if(_0xe8c4xd){_0xe8c4xe[_0x47fd[14]]= ++_0xe8c4xd}else {_0xe8c4xe[_0x47fd[14]]=_0xe8c4xa[_0x47fd[21]]};return _0xe8c4x7[_0x47fd[10]](200)[_0x47fd[9]](_0xe8c4xe)})[_0x47fd[8]](function(_0xe8c4x8){console[_0x47fd[20]](_0xe8c4x8);return handleError(_0xe8c4x7,_0xe8c4x8)})};exports[_0x47fd[23]]=function(_0xe8c4x6,_0xe8c4x7){var _0xe8c4xf=require(_0x47fd[24]);return _0xe8c4x7[_0x47fd[10]](200)[_0x47fd[9]]({name:_0xe8c4xf[_0x47fd[25]],version:_0xe8c4xf[_0x47fd[26]],engines:_0xe8c4xf[_0x47fd[27]]})};exports[_0x47fd[28]]=function(_0xe8c4x6,_0xe8c4x7){return Settings[_0x47fd[18]](_0xe8c4x6[_0x47fd[31]][_0x47fd[30]])[_0x47fd[11]](function(_0xe8c4x10){if(!_0xe8c4x10){return _0xe8c4x7[_0x47fd[29]](404)};return _0xe8c4x7[_0x47fd[9]](_0xe8c4x10)})[_0x47fd[8]](function(_0xe8c4x8){return handleError(_0xe8c4x7,_0xe8c4x8)})};exports[_0x47fd[32]]=function(_0xe8c4x6,_0xe8c4x7){return Settings[_0x47fd[32]](_0xe8c4x6[_0x47fd[33]])[_0x47fd[11]](function(_0xe8c4x10){return _0xe8c4x7[_0x47fd[10]](201)[_0x47fd[9]](_0xe8c4x10)})[_0x47fd[8]](function(_0xe8c4x8){return handleError(_0xe8c4x7,_0xe8c4x8)})};exports[_0x47fd[34]]=function(_0xe8c4x6,_0xe8c4x7){var _0xe8c4x11;return MailServerOut[_0x47fd[32]](_0xe8c4x6[_0x47fd[33]])[_0x47fd[11]](function(_0xe8c4x12){_0xe8c4x11=_0xe8c4x12;return MailServerOut[_0x47fd[35]]({service:false},{where:{id:{$ne:_0xe8c4x12[_0x47fd[30]]}}})})[_0x47fd[11]](function(){return _0xe8c4x7[_0x47fd[10]](201)[_0x47fd[9]](_0xe8c4x11)})[_0x47fd[8]](function(_0xe8c4x8){return handleError(_0xe8c4x7,_0xe8c4x8)})};exports[_0x47fd[36]]=function(_0xe8c4x6,_0xe8c4x7){return MailServerOut[_0x47fd[35]]({service:false},{where:{id:{$ne:_0xe8c4x6[_0x47fd[33]][_0x47fd[30]]}}})[_0x47fd[11]](function(){return MailServerOut[_0x47fd[35]](_0xe8c4x6[_0x47fd[33]],{where:{id:_0xe8c4x6[_0x47fd[33]][_0x47fd[30]]}})})[_0x47fd[11]](function(_0xe8c4x12){return _0xe8c4x7[_0x47fd[29]](200)})[_0x47fd[8]](function(_0xe8c4x8){return handleError(_0xe8c4x7,_0xe8c4x8)})};exports[_0x47fd[35]]=function(_0xe8c4x6,_0xe8c4x7){if(_0xe8c4x6[_0x47fd[33]][_0x47fd[30]]){delete _0xe8c4x6[_0x47fd[33]][_0x47fd[30]]};return Settings[_0x47fd[18]](_0xe8c4x6[_0x47fd[31]][_0x47fd[30]])[_0x47fd[11]](function(_0xe8c4x10){if(!_0xe8c4x10){return _0xe8c4x7[_0x47fd[29]](404)};var _0xe8c4x13=_[_0x47fd[37]](_0xe8c4x10,_0xe8c4x6[_0x47fd[33]]);return _0xe8c4x13[_0x47fd[38]]()})[_0x47fd[11]](function(_0xe8c4x10){return _0xe8c4x7[_0x47fd[10]](200)[_0x47fd[9]](_0xe8c4x10)})[_0x47fd[8]](function(_0xe8c4x8){return handleError(_0xe8c4x7,_0xe8c4x8)})};exports[_0x47fd[39]]=function(_0xe8c4x6,_0xe8c4x7){return Settings[_0x47fd[18]](_0xe8c4x6[_0x47fd[31]][_0x47fd[30]])[_0x47fd[11]](function(_0xe8c4x10){if(!_0xe8c4x10){return _0xe8c4x7[_0x47fd[29]](404)};return _0xe8c4x10[_0x47fd[39]]()})[_0x47fd[11]](function(){return _0xe8c4x7[_0x47fd[29]](204)})[_0x47fd[8]](function(_0xe8c4x8){return handleError(_0xe8c4x7,_0xe8c4x8)})};function handleError(_0xe8c4x7,_0xe8c4x8){return _0xe8c4x7[_0x47fd[10]](500)[_0x47fd[9]](_0xe8c4x8)} \ No newline at end of file diff --git a/server/api/setting/setting.socket.js b/server/api/setting/setting.socket.js index 140fec5..aab37f1 100644 --- a/server/api/setting/setting.socket.js +++ b/server/api/setting/setting.socket.js @@ -1 +1 @@ -var _0xeef8=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x53\x65\x74\x74\x69\x6E\x67\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x73\x65\x74\x74\x69\x6E\x67\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x73\x65\x74\x74\x69\x6E\x67\x3A\x72\x65\x6D\x6F\x76\x65"];_0xeef8[0];var Settings=require(_0xeef8[2])[_0xeef8[1]];exports[_0xeef8[3]]=function(_0x9d06x2){Settings[_0xeef8[4]](function(_0x9d06x3){onSave(_0x9d06x2,_0x9d06x3)});Settings[_0xeef8[5]](function(_0x9d06x3){onRemove(_0x9d06x2,_0x9d06x3)})};function onSave(_0x9d06x2,_0x9d06x3,_0x9d06x5){_0x9d06x2[_0xeef8[7]](_0xeef8[6],_0x9d06x3)}function onRemove(_0x9d06x2,_0x9d06x3,_0x9d06x5){_0x9d06x2[_0xeef8[7]](_0xeef8[8],_0x9d06x3)} \ No newline at end of file +var _0x4048=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x53\x65\x74\x74\x69\x6E\x67\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x73\x65\x74\x74\x69\x6E\x67\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x73\x65\x74\x74\x69\x6E\x67\x3A\x72\x65\x6D\x6F\x76\x65"];_0x4048[0];var Settings=require(_0x4048[2])[_0x4048[1]];exports[_0x4048[3]]=function(_0xe6c4x2){Settings[_0x4048[4]](function(_0xe6c4x3){onSave(_0xe6c4x2,_0xe6c4x3)});Settings[_0x4048[5]](function(_0xe6c4x3){onRemove(_0xe6c4x2,_0xe6c4x3)})};function onSave(_0xe6c4x2,_0xe6c4x3,_0xe6c4x5){_0xe6c4x2[_0x4048[7]](_0x4048[6],_0xe6c4x3)}function onRemove(_0xe6c4x2,_0xe6c4x3,_0xe6c4x5){_0xe6c4x2[_0x4048[7]](_0x4048[8],_0xe6c4x3)} \ No newline at end of file diff --git a/server/api/sms_account/index.js b/server/api/sms_account/index.js index 71c6aae..2e65389 100644 --- a/server/api/sms_account/index.js +++ b/server/api/sms_account/index.js @@ -1 +1 @@ -var _0x7227=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x73\x6D\x73\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x53\x6D\x73","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x73\x68\x6F\x77\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x63\x68\x65\x63\x6B","\x63\x68\x65\x63\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x2F\x3A\x69\x64\x2F\x72\x6F\x6F\x6D\x73","\x67\x65\x74\x53\x6D\x73\x52\x6F\x6F\x6D\x73","\x2F\x3A\x69\x64\x2F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x67\x65\x74\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x63\x72\x65\x61\x74\x65\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x2F\x3A\x69\x64\x2F\x73\x65\x6E\x64","\x73\x65\x6E\x64\x4D\x65\x73\x73\x61\x67\x65","\x2F\x3A\x69\x64\x2F\x72\x65\x63\x65\x69\x76\x65","\x72\x65\x63\x65\x69\x76\x65\x4D\x65\x73\x73\x61\x67\x65","\x2F\x3A\x69\x64\x2F\x6D\x65\x73\x73\x61\x67\x65\x2F\x3A\x6D\x73\x67\x49\x64\x2F\x75\x70\x64\x61\x74\x65","\x75\x70\x64\x61\x74\x65\x53\x74\x61\x74\x75\x73","\x2F\x3A\x69\x64\x2F\x6D\x65\x73\x73\x61\x67\x65\x53\x74\x61\x74\x75\x73","\x6D\x65\x73\x73\x61\x67\x65\x53\x74\x61\x74\x75\x73","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x75\x70\x64\x61\x74\x65\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73\x2F\x3A\x64\x69\x73\x70\x49\x64","\x75\x70\x64\x61\x74\x65\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x61\x70\x70\x49\x64","\x64\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x64\x65\x73\x74\x72\x6F\x79\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x65\x78\x70\x6F\x72\x74\x73"];_0x7227[0];var express=require(_0x7227[1]);var auth=require(_0x7227[2]);var controller=require(_0x7227[3]);var license=require(_0x7227[4]);var router=express.Router();router[_0x7227[13]](_0x7227[5],license[_0x7227[6]](),license[_0x7227[7]](),auth[_0x7227[8]](),auth[_0x7227[11]]([11],[_0x7227[9],_0x7227[10]]),controller[_0x7227[12]]);router[_0x7227[13]](_0x7227[14],license[_0x7227[6]](),license[_0x7227[7]](),auth[_0x7227[8]](),auth[_0x7227[11]]([11],[_0x7227[9]]),controller[_0x7227[15]]);router[_0x7227[13]](_0x7227[16],license[_0x7227[6]](),license[_0x7227[7]](),auth[_0x7227[8]](),auth[_0x7227[11]]([11],[_0x7227[9]]),controller[_0x7227[17]]);router[_0x7227[13]](_0x7227[18],license[_0x7227[6]](),license[_0x7227[7]](),auth[_0x7227[8]](),auth[_0x7227[11]]([11],[_0x7227[9]]),controller[_0x7227[19]]);router[_0x7227[13]](_0x7227[20],license[_0x7227[6]](),license[_0x7227[7]](),auth[_0x7227[8]](),auth[_0x7227[11]]([11],[_0x7227[9],_0x7227[10]]),controller[_0x7227[21]]);router[_0x7227[13]](_0x7227[22],license[_0x7227[6]](),license[_0x7227[7]](),auth[_0x7227[8]](),auth[_0x7227[11]]([11],[_0x7227[9],_0x7227[10]]),controller[_0x7227[23]]);router[_0x7227[25]](_0x7227[5],license[_0x7227[6]](),license[_0x7227[7]](),auth[_0x7227[8]](),auth[_0x7227[11]]([11],[_0x7227[9]]),controller[_0x7227[24]]);router[_0x7227[25]](_0x7227[22],license[_0x7227[6]](),license[_0x7227[7]](),auth[_0x7227[8]](),auth[_0x7227[11]]([11],[_0x7227[9]]),controller[_0x7227[26]]);router[_0x7227[25]](_0x7227[27],license[_0x7227[6]](),license[_0x7227[7]](),auth[_0x7227[8]](),auth[_0x7227[11]]([11],[_0x7227[9],_0x7227[10]]),controller[_0x7227[28]]);router[_0x7227[25]](_0x7227[29],license[_0x7227[6]](),license[_0x7227[7]](),controller[_0x7227[30]]);router[_0x7227[25]](_0x7227[31],license[_0x7227[6]](),license[_0x7227[7]](),controller[_0x7227[32]]);router[_0x7227[25]](_0x7227[33],license[_0x7227[6]](),license[_0x7227[7]](),controller[_0x7227[34]]);router[_0x7227[36]](_0x7227[14],license[_0x7227[6]](),license[_0x7227[7]](),auth[_0x7227[8]](),auth[_0x7227[11]]([11],[_0x7227[9]]),controller[_0x7227[35]]);router[_0x7227[36]](_0x7227[16],license[_0x7227[6]](),license[_0x7227[7]](),auth[_0x7227[8]](),auth[_0x7227[11]]([11],[_0x7227[9]]),controller[_0x7227[37]]);router[_0x7227[36]](_0x7227[38],license[_0x7227[6]](),license[_0x7227[7]](),auth[_0x7227[8]](),auth[_0x7227[11]]([11],[_0x7227[9]]),controller[_0x7227[39]]);router[_0x7227[41]](_0x7227[14],license[_0x7227[6]](),license[_0x7227[7]](),auth[_0x7227[8]](),auth[_0x7227[11]]([11],[_0x7227[9]]),controller[_0x7227[40]]);router[_0x7227[41]](_0x7227[16],license[_0x7227[6]](),license[_0x7227[7]](),auth[_0x7227[8]](),auth[_0x7227[11]]([11],[_0x7227[9]]),controller[_0x7227[42]]);router[_0x7227[41]](_0x7227[43],license[_0x7227[6]](),license[_0x7227[7]](),auth[_0x7227[8]](),auth[_0x7227[11]]([11],[_0x7227[9]]),controller[_0x7227[44]]);router[_0x7227[41]](_0x7227[38],license[_0x7227[6]](),license[_0x7227[7]](),auth[_0x7227[8]](),auth[_0x7227[11]]([11],[_0x7227[9]]),controller[_0x7227[45]]);module[_0x7227[46]]=router \ No newline at end of file +var _0xaf07=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x73\x6D\x73\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x53\x6D\x73","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x73\x68\x6F\x77\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x63\x68\x65\x63\x6B","\x63\x68\x65\x63\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x2F\x3A\x69\x64\x2F\x72\x6F\x6F\x6D\x73","\x67\x65\x74\x53\x6D\x73\x52\x6F\x6F\x6D\x73","\x2F\x3A\x69\x64\x2F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x67\x65\x74\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x63\x72\x65\x61\x74\x65\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x2F\x3A\x69\x64\x2F\x73\x65\x6E\x64","\x73\x65\x6E\x64\x4D\x65\x73\x73\x61\x67\x65","\x2F\x3A\x69\x64\x2F\x72\x65\x63\x65\x69\x76\x65","\x72\x65\x63\x65\x69\x76\x65\x4D\x65\x73\x73\x61\x67\x65","\x2F\x3A\x69\x64\x2F\x6D\x65\x73\x73\x61\x67\x65\x2F\x3A\x6D\x73\x67\x49\x64\x2F\x75\x70\x64\x61\x74\x65","\x75\x70\x64\x61\x74\x65\x53\x74\x61\x74\x75\x73","\x2F\x3A\x69\x64\x2F\x6D\x65\x73\x73\x61\x67\x65\x53\x74\x61\x74\x75\x73","\x6D\x65\x73\x73\x61\x67\x65\x53\x74\x61\x74\x75\x73","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x75\x70\x64\x61\x74\x65\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73\x2F\x3A\x64\x69\x73\x70\x49\x64","\x75\x70\x64\x61\x74\x65\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x61\x70\x70\x49\x64","\x64\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x64\x65\x73\x74\x72\x6F\x79\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x65\x78\x70\x6F\x72\x74\x73"];_0xaf07[0];var express=require(_0xaf07[1]);var auth=require(_0xaf07[2]);var controller=require(_0xaf07[3]);var license=require(_0xaf07[4]);var router=express.Router();router[_0xaf07[13]](_0xaf07[5],license[_0xaf07[6]](),license[_0xaf07[7]](),auth[_0xaf07[8]](),auth[_0xaf07[11]]([11],[_0xaf07[9],_0xaf07[10]]),controller[_0xaf07[12]]);router[_0xaf07[13]](_0xaf07[14],license[_0xaf07[6]](),license[_0xaf07[7]](),auth[_0xaf07[8]](),auth[_0xaf07[11]]([11],[_0xaf07[9]]),controller[_0xaf07[15]]);router[_0xaf07[13]](_0xaf07[16],license[_0xaf07[6]](),license[_0xaf07[7]](),auth[_0xaf07[8]](),auth[_0xaf07[11]]([11],[_0xaf07[9]]),controller[_0xaf07[17]]);router[_0xaf07[13]](_0xaf07[18],license[_0xaf07[6]](),license[_0xaf07[7]](),auth[_0xaf07[8]](),auth[_0xaf07[11]]([11],[_0xaf07[9]]),controller[_0xaf07[19]]);router[_0xaf07[13]](_0xaf07[20],license[_0xaf07[6]](),license[_0xaf07[7]](),auth[_0xaf07[8]](),auth[_0xaf07[11]]([11],[_0xaf07[9],_0xaf07[10]]),controller[_0xaf07[21]]);router[_0xaf07[13]](_0xaf07[22],license[_0xaf07[6]](),license[_0xaf07[7]](),auth[_0xaf07[8]](),auth[_0xaf07[11]]([11],[_0xaf07[9],_0xaf07[10]]),controller[_0xaf07[23]]);router[_0xaf07[25]](_0xaf07[5],license[_0xaf07[6]](),license[_0xaf07[7]](),auth[_0xaf07[8]](),auth[_0xaf07[11]]([11],[_0xaf07[9]]),controller[_0xaf07[24]]);router[_0xaf07[25]](_0xaf07[22],license[_0xaf07[6]](),license[_0xaf07[7]](),auth[_0xaf07[8]](),auth[_0xaf07[11]]([11],[_0xaf07[9]]),controller[_0xaf07[26]]);router[_0xaf07[25]](_0xaf07[27],license[_0xaf07[6]](),license[_0xaf07[7]](),auth[_0xaf07[8]](),auth[_0xaf07[11]]([11],[_0xaf07[9],_0xaf07[10]]),controller[_0xaf07[28]]);router[_0xaf07[25]](_0xaf07[29],license[_0xaf07[6]](),license[_0xaf07[7]](),controller[_0xaf07[30]]);router[_0xaf07[25]](_0xaf07[31],license[_0xaf07[6]](),license[_0xaf07[7]](),controller[_0xaf07[32]]);router[_0xaf07[25]](_0xaf07[33],license[_0xaf07[6]](),license[_0xaf07[7]](),controller[_0xaf07[34]]);router[_0xaf07[36]](_0xaf07[14],license[_0xaf07[6]](),license[_0xaf07[7]](),auth[_0xaf07[8]](),auth[_0xaf07[11]]([11],[_0xaf07[9]]),controller[_0xaf07[35]]);router[_0xaf07[36]](_0xaf07[16],license[_0xaf07[6]](),license[_0xaf07[7]](),auth[_0xaf07[8]](),auth[_0xaf07[11]]([11],[_0xaf07[9]]),controller[_0xaf07[37]]);router[_0xaf07[36]](_0xaf07[38],license[_0xaf07[6]](),license[_0xaf07[7]](),auth[_0xaf07[8]](),auth[_0xaf07[11]]([11],[_0xaf07[9]]),controller[_0xaf07[39]]);router[_0xaf07[41]](_0xaf07[14],license[_0xaf07[6]](),license[_0xaf07[7]](),auth[_0xaf07[8]](),auth[_0xaf07[11]]([11],[_0xaf07[9]]),controller[_0xaf07[40]]);router[_0xaf07[41]](_0xaf07[16],license[_0xaf07[6]](),license[_0xaf07[7]](),auth[_0xaf07[8]](),auth[_0xaf07[11]]([11],[_0xaf07[9]]),controller[_0xaf07[42]]);router[_0xaf07[41]](_0xaf07[43],license[_0xaf07[6]](),license[_0xaf07[7]](),auth[_0xaf07[8]](),auth[_0xaf07[11]]([11],[_0xaf07[9]]),controller[_0xaf07[44]]);router[_0xaf07[41]](_0xaf07[38],license[_0xaf07[6]](),license[_0xaf07[7]](),auth[_0xaf07[8]](),auth[_0xaf07[11]]([11],[_0xaf07[9]]),controller[_0xaf07[45]]);module[_0xaf07[46]]=router \ No newline at end of file diff --git a/server/api/sms_account/sms_account.controller.js b/server/api/sms_account/sms_account.controller.js index ca711b9..30e3838 100644 --- a/server/api/sms_account/sms_account.controller.js +++ b/server/api/sms_account/sms_account.controller.js @@ -1 +1 @@ -var _0x5ed1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x53\x6D\x73\x41\x63\x63\x6F\x75\x6E\x74","\x53\x6D\x73\x51\x75\x65\x75\x65","\x53\x6D\x73\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x53\x6D\x73\x4D\x65\x73\x73\x61\x67\x65","\x53\x6D\x73\x52\x6F\x6F\x6D","\x53\x6D\x73\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x68\x65\x63\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x73\x69\x64","\x74\x6F\x6B\x65\x6E","\x74\x77\x69\x6C\x69\x6F","\x67\x65\x74","\x61\x63\x63\x6F\x75\x6E\x74\x73","\x54\x65\x73\x74","\x73\x6D\x73\x74\x79\x70\x65","\x74\x65\x73\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x73\x6D\x73\x2F\x73\x6B\x65\x62\x62\x79","\x73\x6B\x65\x62\x62\x79","\x74\x79\x70\x65","\x67\x65\x74\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x6C\x65\x6E\x67\x74\x68","\x67\x65\x74\x53\x6D\x73\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x73\x68\x6F\x77\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x6E\x61\x6D\x65","\x6F\x6E\x6C\x69\x6E\x65","\x6D\x65\x72\x67\x65","\x67\x65\x74\x53\x6D\x73\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x63\x72\x65\x61\x74\x65","\x68\x61\x6E\x64\x6C\x65\x55\x6E\x69\x71\x75\x65\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x45\x72\x72\x6F\x72","\x65\x72\x72\x6F\x72\x4D\x61\x6E\x61\x67\x65\x72","\x6C\x6F\x67","\x62\x6F\x64\x79","\x63\x72\x65\x61\x74\x65\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x53\x6D\x73\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x73\x65\x6E\x64\x4D\x65\x73\x73\x61\x67\x65","\x55\x73\x65\x72\x49\x64","\x75\x73\x65\x72","\x53\x6D\x73\x52\x6F\x6F\x6D\x49\x64","\x61\x64\x64\x55\x73\x65\x72","\x74\x6F","\x4F\x50\x45\x4E","\x43\x4C\x4F\x53\x45\x44","\x66\x69\x6E\x64\x4F\x6E\x65","\x72\x65\x63\x65\x69\x76\x65\x4D\x65\x73\x73\x61\x67\x65","\x52\x45\x43\x45\x49\x56\x45\x44","\x66\x72\x6F\x6D","\x61\x63\x63\x6F\x75\x6E\x74\x54\x79\x70\x65","\x2E\x2F\x75\x74\x69\x6C","\x6D\x65\x73\x73\x61\x67\x65\x20\x66\x6F\x72\x6D\x61\x74\x20\x69\x73\x20\x6E\x6F\x74\x20\x6B\x6E\x6F\x77\x6E","\x75\x70\x64\x61\x74\x65","\x73\x61\x76\x65","\x75\x70\x64\x61\x74\x65\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x64\x69\x73\x70\x49\x64","\x75\x70\x64\x61\x74\x65\x53\x74\x61\x74\x75\x73","\x74\x6F\x55\x70\x70\x65\x72","\x45\x72\x72\x6F\x72\x43\x6F\x64\x65","\x6D\x73\x67\x49\x64","\x6D\x65\x73\x73\x61\x67\x65\x53\x74\x61\x74\x75\x73","\x65\x72\x72\x6F\x72\x5F\x63\x6F\x64\x65","\x73\x6B\x65\x62\x62\x79\x5F\x64\x69\x73\x70\x61\x74\x63\x68\x5F\x69\x64","\x66\x69\x6E\x64","\x75\x70\x64\x61\x74\x65\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x75\x70\x64\x61\x74\x65\x64\x41\x74","\x70\x72\x69\x6F\x72\x69\x74\x79","\x66\x6F\x72\x45\x61\x63\x68","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x64\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x61\x70\x70\x49\x64","\x64\x65\x73\x74\x72\x6F\x79\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x69\x64\x73","\x67\x65\x74\x53\x6D\x73\x52\x6F\x6F\x6D\x73","\x74\x61\x67\x73","\x69\x73\x41\x72\x72\x61\x79","\x25","\x70\x75\x73\x68","\x24\x61\x6E\x64","\x77\x68\x65\x72\x65","\x69\x6E\x63\x6C\x75\x64\x65","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65","\x66\x69\x6E\x64\x41\x6C\x6C"];_0x5ed1[0];var _=require(_0x5ed1[1]);var Util=require(_0x5ed1[2]);var sequelize=require(_0x5ed1[4])[_0x5ed1[3]];var User=require(_0x5ed1[4])[_0x5ed1[5]];var SmsAccount=require(_0x5ed1[4])[_0x5ed1[6]];var SmsQueue=require(_0x5ed1[4])[_0x5ed1[7]];var SmsApplication=require(_0x5ed1[4])[_0x5ed1[8]];var SmsMessage=require(_0x5ed1[4])[_0x5ed1[9]];var SmsRoom=require(_0x5ed1[4])[_0x5ed1[10]];var SmsDisposition=require(_0x5ed1[4])[_0x5ed1[11]];function handleError(_0x9fa3xc,_0x9fa3xd){return _0x9fa3xc[_0x5ed1[13]](500)[_0x5ed1[12]](_0x9fa3xd)}exports[_0x5ed1[14]]=function(_0x9fa3xe,_0x9fa3xc){return SmsAccount[_0x5ed1[19]](Util[_0x5ed1[18]](_0x9fa3xe[_0x5ed1[17]]))[_0x5ed1[16]](function(_0x9fa3xf){_0x9fa3xc[_0x5ed1[13]](200)[_0x5ed1[12]](_0x9fa3xf)})[_0x5ed1[15]](function(_0x9fa3xd){return handleError(_0x9fa3xc,_0x9fa3xd)})};exports[_0x5ed1[20]]=function(_0x9fa3xe,_0x9fa3xc){return SmsAccount[_0x5ed1[24]](_0x9fa3xe[_0x5ed1[23]][_0x5ed1[22]])[_0x5ed1[16]](function(_0x9fa3x10){if(!_0x9fa3x10){return _0x9fa3xc[_0x5ed1[21]](404)};return _0x9fa3xc[_0x5ed1[12]](_0x9fa3x10)})[_0x5ed1[15]](function(_0x9fa3xd){return handleError(_0x9fa3xc,_0x9fa3xd)})};exports[_0x5ed1[25]]=function(_0x9fa3xe,_0x9fa3xc){return SmsAccount[_0x5ed1[24]](_0x9fa3xe[_0x5ed1[23]][_0x5ed1[22]])[_0x5ed1[16]](function(_0x9fa3x10){if(!_0x9fa3x10){return _0x9fa3xc[_0x5ed1[21]](404)};switch(_0x9fa3x10[_0x5ed1[36]]){case _0x5ed1[28]:var _0x9fa3x11=require(_0x5ed1[28])(_0x9fa3x10[_0x5ed1[26]],_0x9fa3x10[_0x5ed1[27]]);_0x9fa3x11[_0x5ed1[30]](_0x9fa3x10[_0x5ed1[26]])[_0x5ed1[29]](function(_0x9fa3xd,_0x9fa3x12){if(_0x9fa3xd){return _0x9fa3xc[_0x5ed1[21]](404)};return _0x9fa3xc[_0x5ed1[21]](200)});break;case _0x5ed1[35]:var _0x9fa3x13={from:_0x5ed1[31],to:_0x5ed1[31],body:_0x5ed1[31]};_0x9fa3x10[_0x5ed1[32]]=_0x5ed1[33];require(_0x5ed1[34])(_0x9fa3x13,_0x9fa3x10,function(_0x9fa3xd,_0x9fa3x12){if(_0x9fa3xd){return _0x9fa3xc[_0x5ed1[21]](404)};return _0x9fa3xc[_0x5ed1[21]](200)});break;default:}})[_0x5ed1[15]](function(_0x9fa3xd){return handleError(_0x9fa3xc,_0x9fa3xd)})};exports[_0x5ed1[37]]=function(_0x9fa3xe,_0x9fa3xc,_0x9fa3x14){return SmsAccount[_0x5ed1[24]](_0x9fa3xe[_0x5ed1[23]][_0x5ed1[22]])[_0x5ed1[16]](function(_0x9fa3x10){if(!_0x9fa3x10){return _0x9fa3xc[_0x5ed1[21]](404)};return _0x9fa3x10[_0x5ed1[39]]()})[_0x5ed1[16]](function(_0x9fa3x15){return _0x9fa3xc[_0x5ed1[13]](200)[_0x5ed1[12]]({rows:_0x9fa3x15,count:_0x9fa3x15[_0x5ed1[38]]})})[_0x5ed1[15]](function(_0x9fa3xd){return handleError(_0x9fa3xc,_0x9fa3xd)})};exports[_0x5ed1[40]]=function(_0x9fa3xe,_0x9fa3xc,_0x9fa3x14){return SmsAccount[_0x5ed1[24]](_0x9fa3xe[_0x5ed1[23]][_0x5ed1[22]])[_0x5ed1[16]](function(_0x9fa3x10){if(!_0x9fa3x10){return _0x9fa3xc[_0x5ed1[21]](404)};return _0x9fa3x10[_0x5ed1[44]](_[_0x5ed1[43]](Util[_0x5ed1[18]](_0x9fa3xe[_0x5ed1[17]]),{include:[{model:SmsQueue,attributes:[_0x5ed1[22],_0x5ed1[41]]},{model:User,attributes:[_0x5ed1[22],_0x5ed1[41],_0x5ed1[42]]}]}))})[_0x5ed1[16]](function(_0x9fa3x16){return _0x9fa3xc[_0x5ed1[12]]({count:_0x9fa3x16[_0x5ed1[38]],rows:_0x9fa3x16})})[_0x5ed1[15]](function(_0x9fa3xd){return handleError(_0x9fa3xc,_0x9fa3xd)})};exports[_0x5ed1[45]]=function(_0x9fa3xe,_0x9fa3xc){return SmsAccount[_0x5ed1[45]](_0x9fa3xe[_0x5ed1[49]])[_0x5ed1[16]](function(_0x9fa3x10){console[_0x5ed1[48]](_0x9fa3x10);return _0x9fa3xc[_0x5ed1[13]](201)[_0x5ed1[12]](_0x9fa3x10)})[_0x5ed1[15]](sequelize.UniqueConstraintError,function(_0x9fa3xd){return Util[_0x5ed1[47]][_0x5ed1[46]](_0x9fa3xc,_0x9fa3xd)})[_0x5ed1[15]](function(_0x9fa3xd){return handleError(_0x9fa3xc,_0x9fa3xd)})};exports[_0x5ed1[50]]=function(_0x9fa3xe,_0x9fa3xc,_0x9fa3x14){_0x9fa3xe[_0x5ed1[49]][_0x5ed1[51]]=_0x9fa3xe[_0x5ed1[23]][_0x5ed1[22]];return SmsDisposition[_0x5ed1[45]](_0x9fa3xe[_0x5ed1[49]])[_0x5ed1[16]](function(_0x9fa3x17){return _0x9fa3xc[_0x5ed1[13]](201)[_0x5ed1[12]](_0x9fa3x17)})[_0x5ed1[15]](function(_0x9fa3xd){return handleError(_0x9fa3xc,_0x9fa3xd)})};exports[_0x5ed1[52]]=function(_0x9fa3xe,_0x9fa3xc,_0x9fa3x14){_0x9fa3xe[_0x5ed1[49]][_0x5ed1[53]]=_0x9fa3xe[_0x5ed1[54]][_0x5ed1[22]];_0x9fa3xe[_0x5ed1[49]][_0x5ed1[51]]=_0x9fa3xe[_0x5ed1[23]][_0x5ed1[22]];return SmsRoom[_0x5ed1[60]]({where:{from:_0x9fa3xe[_0x5ed1[49]][_0x5ed1[57]],SmsAccountId:_0x9fa3xe[_0x5ed1[49]][_0x5ed1[51]],status:{$ne:_0x5ed1[59]}}})[_0x5ed1[16]](function(_0x9fa3x1a){if(!_0x9fa3x1a){return SmsRoom[_0x5ed1[45]]({from:_0x9fa3xe[_0x5ed1[49]][_0x5ed1[57]],SmsAccountId:_0x9fa3xe[_0x5ed1[49]][_0x5ed1[51]],status:_0x5ed1[58]})};return _0x9fa3x1a})[_0x5ed1[16]](function(_0x9fa3x19){_0x9fa3xe[_0x5ed1[49]][_0x5ed1[55]]=_0x9fa3x19[_0x5ed1[22]];return _0x9fa3x19[_0x5ed1[56]](_0x9fa3xe[_0x5ed1[49]].UserId)})[_0x5ed1[16]](function(){return SmsMessage[_0x5ed1[45]](_0x9fa3xe[_0x5ed1[49]])})[_0x5ed1[16]](function(_0x9fa3x18){return _0x9fa3xc[_0x5ed1[13]](201)[_0x5ed1[12]](_0x9fa3x18)})[_0x5ed1[15]](function(_0x9fa3xd){console[_0x5ed1[48]](_0x9fa3xd);return handleError(_0x9fa3xc,_0x9fa3xd)})};exports[_0x5ed1[61]]=function(_0x9fa3xe,_0x9fa3xc,_0x9fa3x14){var _0x9fa3x1b;return SmsAccount[_0x5ed1[24]](_0x9fa3xe[_0x5ed1[23]][_0x5ed1[22]])[_0x5ed1[16]](function(_0x9fa3x10){if(!_0x9fa3x10){return _0x9fa3xc[_0x5ed1[21]](404)};_0x9fa3xe[_0x5ed1[49]][_0x5ed1[64]]=_0x9fa3x10[_0x5ed1[36]];_0x9fa3x1b=require(_0x5ed1[65])(_0x9fa3xe[_0x5ed1[49]]);if(!_0x9fa3x1b){console[_0x5ed1[48]](_0x5ed1[66]);return _0x9fa3xc[_0x5ed1[21]](404)};return SmsRoom[_0x5ed1[60]]({where:{from:_0x9fa3x1b[_0x5ed1[63]],SmsAccountId:_0x9fa3xe[_0x5ed1[23]][_0x5ed1[22]],status:{$ne:_0x5ed1[59]}}})})[_0x5ed1[16]](function(_0x9fa3x1a){if(!_0x9fa3x1a){return SmsRoom[_0x5ed1[45]]({from:_0x9fa3x1b[_0x5ed1[63]],SmsAccountId:_0x9fa3xe[_0x5ed1[23]][_0x5ed1[22]]})};return _0x9fa3x1a})[_0x5ed1[16]](function(_0x9fa3x1a){_0x9fa3x1b[_0x5ed1[55]]=_0x9fa3x1a[_0x5ed1[22]];_0x9fa3x1b[_0x5ed1[13]]=_0x5ed1[62];return SmsMessage[_0x5ed1[45]](_0x9fa3x1b)})[_0x5ed1[16]](function(_0x9fa3x1c){return _0x9fa3xc[_0x5ed1[13]](201)[_0x5ed1[12]](_0x9fa3x1c)})[_0x5ed1[15]](function(_0x9fa3xd){return handleError(_0x9fa3xc,_0x9fa3xd)})};exports[_0x5ed1[67]]=function(_0x9fa3xe,_0x9fa3xc){if(_0x9fa3xe[_0x5ed1[49]][_0x5ed1[22]]){delete _0x9fa3xe[_0x5ed1[49]][_0x5ed1[22]]};return SmsAccount[_0x5ed1[24]](_0x9fa3xe[_0x5ed1[23]][_0x5ed1[22]])[_0x5ed1[16]](function(_0x9fa3x10){if(!_0x9fa3x10){return _0x9fa3xc[_0x5ed1[21]](404)};var _0x9fa3x1d=_[_0x5ed1[43]](_0x9fa3x10,_0x9fa3xe[_0x5ed1[49]]);return _0x9fa3x1d[_0x5ed1[68]]()})[_0x5ed1[16]](function(_0x9fa3x10){return _0x9fa3xc[_0x5ed1[13]](200)[_0x5ed1[12]](_0x9fa3x10)})[_0x5ed1[15]](sequelize.UniqueConstraintError,function(_0x9fa3xd){return Util[_0x5ed1[47]][_0x5ed1[46]](_0x9fa3xc,_0x9fa3xd)})[_0x5ed1[15]](function(_0x9fa3xd){return handleError(_0x9fa3xc,_0x9fa3xd)})};exports[_0x5ed1[69]]=function(_0x9fa3xe,_0x9fa3xc){if(_0x9fa3xe[_0x5ed1[49]][_0x5ed1[22]]){delete _0x9fa3xe[_0x5ed1[49]][_0x5ed1[22]]};return SmsDisposition[_0x5ed1[24]](_0x9fa3xe[_0x5ed1[23]][_0x5ed1[70]])[_0x5ed1[16]](function(_0x9fa3x1f){if(!_0x9fa3x1f){return _0x9fa3xc[_0x5ed1[21]](404)};var _0x9fa3x1d=_[_0x5ed1[43]](_0x9fa3x1f,_0x9fa3xe[_0x5ed1[49]]);return _0x9fa3x1d[_0x5ed1[68]]()})[_0x5ed1[16]](function(_0x9fa3x1e){return _0x9fa3xc[_0x5ed1[13]](200)[_0x5ed1[12]](_0x9fa3x1e)})[_0x5ed1[15]](function(_0x9fa3xd){return handleError(_0x9fa3xc,_0x9fa3xd)})};exports[_0x5ed1[71]]=function(_0x9fa3xe,_0x9fa3xc){return SmsMessage[_0x5ed1[24]](_0x9fa3xe[_0x5ed1[23]][_0x5ed1[74]])[_0x5ed1[16]](function(_0x9fa3x1c){if(!_0x9fa3x1c){return _0x9fa3xc[_0x5ed1[21]](404)};var _0x9fa3x1d=_[_0x5ed1[43]](_0x9fa3x1c,{status:_[_0x5ed1[72]](_0x9fa3xe[_0x5ed1[49]].MessageStatus),errorcode:_0x9fa3xe[_0x5ed1[49]][_0x5ed1[73]]});return _0x9fa3x1d[_0x5ed1[68]]()})[_0x5ed1[16]](function(_0x9fa3x1c){return _0x9fa3xc[_0x5ed1[13]](200)[_0x5ed1[12]](_0x9fa3x1c)})[_0x5ed1[15]](function(_0x9fa3xd){return handleError(_0x9fa3xc,_0x9fa3xd)})};exports[_0x5ed1[75]]=function(_0x9fa3xe,_0x9fa3xc){return SmsMessage[_0x5ed1[78]]({where:{skebby_message_id:_0x9fa3xe[_0x5ed1[49]][_0x5ed1[77]]}})[_0x5ed1[16]](function(_0x9fa3x1c){if(!_0x9fa3x1c){return _0x9fa3xc[_0x5ed1[21]](404)};var _0x9fa3x1d=_[_0x5ed1[43]](_0x9fa3x1c,{status:_0x9fa3xe[_0x5ed1[49]][_0x5ed1[13]],errorcode:_0x9fa3xe[_0x5ed1[49]][_0x5ed1[76]]});return _0x9fa3x1d[_0x5ed1[68]]()})[_0x5ed1[16]](function(_0x9fa3x1c){return _0x9fa3xc[_0x5ed1[13]](200)[_0x5ed1[12]](_0x9fa3x1c)})[_0x5ed1[15]](function(_0x9fa3xd){return handleError(_0x9fa3xc,_0x9fa3xd)})};exports[_0x5ed1[79]]=function(_0x9fa3xe,_0x9fa3xc){var _0x9fa3x20=0;var _0x9fa3x21=_0x9fa3xe[_0x5ed1[49]];_0x9fa3x21[_0x5ed1[83]](function(_0x9fa3x22){delete _0x9fa3x22[_0x5ed1[22]];delete _0x9fa3x22[_0x5ed1[80]];delete _0x9fa3x22[_0x5ed1[81]];_0x9fa3x22[_0x5ed1[82]]= ++_0x9fa3x20});return sequelize[_0x5ed1[86]](function(_0x9fa3x24){return SmsApplication[_0x5ed1[85]]({where:{SmsAccountId:_0x9fa3xe[_0x5ed1[23]][_0x5ed1[22]]},individualHooks:true,transaction:_0x9fa3x24})[_0x5ed1[16]](function(_0x9fa3x25){return SmsApplication[_0x5ed1[84]](_0x9fa3x21,{individualHooks:true,transaction:_0x9fa3x24})})})[_0x5ed1[16]](function(_0x9fa3x23){return _0x9fa3xc[_0x5ed1[13]](200)[_0x5ed1[12]]({count:_0x9fa3x23[_0x5ed1[38]],rows:_0x9fa3x23})})[_0x5ed1[15]](function(_0x9fa3xd){return handleError(_0x9fa3xc,_0x9fa3xd)})};exports[_0x5ed1[85]]=function(_0x9fa3xe,_0x9fa3xc){return SmsAccount[_0x5ed1[24]](_0x9fa3xe[_0x5ed1[23]][_0x5ed1[22]])[_0x5ed1[16]](function(_0x9fa3x10){if(!_0x9fa3x10){return _0x9fa3xc[_0x5ed1[21]](404)};return _0x9fa3x10[_0x5ed1[85]]()})[_0x5ed1[16]](function(){return _0x9fa3xc[_0x5ed1[21]](204)})[_0x5ed1[15]](function(_0x9fa3xd){return handleError(_0x9fa3xc,_0x9fa3xd)})};exports[_0x5ed1[87]]=function(_0x9fa3xe,_0x9fa3xc,_0x9fa3x14){return SmsApplication[_0x5ed1[24]](_0x9fa3xe[_0x5ed1[23]][_0x5ed1[88]])[_0x5ed1[16]](function(_0x9fa3x25){if(!_0x9fa3x25){return _0x9fa3xc[_0x5ed1[21]](404)};return _0x9fa3x25[_0x5ed1[85]]()})[_0x5ed1[16]](function(){return _0x9fa3xc[_0x5ed1[21]](204)})[_0x5ed1[15]](function(_0x9fa3xd){return handleError(_0x9fa3xc,_0x9fa3xd)})};exports[_0x5ed1[89]]=function(_0x9fa3xe,_0x9fa3xc,_0x9fa3x14){return SmsDisposition[_0x5ed1[24]](_0x9fa3xe[_0x5ed1[23]][_0x5ed1[70]])[_0x5ed1[16]](function(_0x9fa3x17){if(!_0x9fa3x17){return _0x9fa3xc[_0x5ed1[21]](404)};return _0x9fa3x17[_0x5ed1[85]]()})[_0x5ed1[16]](function(){return _0x9fa3xc[_0x5ed1[21]](204)})[_0x5ed1[15]](function(_0x9fa3xd){return handleError(_0x9fa3xc,_0x9fa3xd)})};exports[_0x5ed1[90]]=function(_0x9fa3xe,_0x9fa3xc){return SmsApplication[_0x5ed1[85]]({where:{id:_0x9fa3xe[_0x5ed1[17]][_0x5ed1[91]]},individualHooks:true})[_0x5ed1[16]](function(){return _0x9fa3xc[_0x5ed1[21]](204)})[_0x5ed1[15]](function(_0x9fa3xd){return handleError(_0x9fa3xc,_0x9fa3xd)})};exports[_0x5ed1[92]]=function(_0x9fa3xe,_0x9fa3xc,_0x9fa3x14){var _0x9fa3x26={where:{SmsAccountId:_0x9fa3xe[_0x5ed1[23]][_0x5ed1[22]],$and:[]},attributes:[_0x5ed1[22],_0x5ed1[63],_0x5ed1[81]]};if(_0x9fa3xe[_0x5ed1[17]]){if(_0x9fa3xe[_0x5ed1[17]][_0x5ed1[93]]){if(_[_0x5ed1[94]](_0x9fa3xe[_0x5ed1[17]][_0x5ed1[93]])){for(var _0x9fa3x27=0;_0x9fa3x27<_0x9fa3xe[_0x5ed1[17]][_0x5ed1[93]][_0x5ed1[38]];_0x9fa3x27++){_0x9fa3x26[_0x5ed1[98]][_0x5ed1[97]][_0x5ed1[96]]({tags:{$like:_0x5ed1[95]+_0x9fa3xe[_0x5ed1[17]][_0x5ed1[93]][_0x9fa3x27]+_0x5ed1[95]}})}}else {_0x9fa3x26[_0x5ed1[98]][_0x5ed1[97]][_0x5ed1[96]]({tags:{$like:_0x5ed1[95]+_0x9fa3xe[_0x5ed1[17]][_0x5ed1[93]]+_0x5ed1[95]}})};delete _0x9fa3xe[_0x5ed1[17]][_0x5ed1[93]]};_[_0x5ed1[43]](_0x9fa3x26[_0x5ed1[98]],_0x9fa3xe[_0x5ed1[17]])};switch(_0x9fa3xe[_0x5ed1[54]][_0x5ed1[101]]){case _0x5ed1[100]:_0x9fa3x26[_0x5ed1[99]]=[{model:User,where:{id:_0x9fa3xe[_0x5ed1[54]][_0x5ed1[22]]}}];break;default:};return SmsRoom[_0x5ed1[102]](_0x9fa3x26)[_0x5ed1[16]](function(_0x9fa3x28){return _0x9fa3xc[_0x5ed1[13]](200)[_0x5ed1[12]](_0x9fa3x28)})[_0x5ed1[15]](function(_0x9fa3xd){return handleError(_0x9fa3xc,_0x9fa3xd)})} \ No newline at end of file +var _0x90e2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x53\x6D\x73\x41\x63\x63\x6F\x75\x6E\x74","\x53\x6D\x73\x51\x75\x65\x75\x65","\x53\x6D\x73\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x53\x6D\x73\x4D\x65\x73\x73\x61\x67\x65","\x53\x6D\x73\x52\x6F\x6F\x6D","\x53\x6D\x73\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x68\x65\x63\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x73\x69\x64","\x74\x6F\x6B\x65\x6E","\x74\x77\x69\x6C\x69\x6F","\x67\x65\x74","\x61\x63\x63\x6F\x75\x6E\x74\x73","\x54\x65\x73\x74","\x73\x6D\x73\x74\x79\x70\x65","\x74\x65\x73\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x73\x6D\x73\x2F\x73\x6B\x65\x62\x62\x79","\x73\x6B\x65\x62\x62\x79","\x74\x79\x70\x65","\x67\x65\x74\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x6C\x65\x6E\x67\x74\x68","\x67\x65\x74\x53\x6D\x73\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x73\x68\x6F\x77\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x6E\x61\x6D\x65","\x6F\x6E\x6C\x69\x6E\x65","\x6D\x65\x72\x67\x65","\x67\x65\x74\x53\x6D\x73\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x63\x72\x65\x61\x74\x65","\x68\x61\x6E\x64\x6C\x65\x55\x6E\x69\x71\x75\x65\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x45\x72\x72\x6F\x72","\x65\x72\x72\x6F\x72\x4D\x61\x6E\x61\x67\x65\x72","\x6C\x6F\x67","\x62\x6F\x64\x79","\x63\x72\x65\x61\x74\x65\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x53\x6D\x73\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x73\x65\x6E\x64\x4D\x65\x73\x73\x61\x67\x65","\x55\x73\x65\x72\x49\x64","\x75\x73\x65\x72","\x53\x6D\x73\x52\x6F\x6F\x6D\x49\x64","\x61\x64\x64\x55\x73\x65\x72","\x74\x6F","\x4F\x50\x45\x4E","\x43\x4C\x4F\x53\x45\x44","\x66\x69\x6E\x64\x4F\x6E\x65","\x72\x65\x63\x65\x69\x76\x65\x4D\x65\x73\x73\x61\x67\x65","\x52\x45\x43\x45\x49\x56\x45\x44","\x66\x72\x6F\x6D","\x61\x63\x63\x6F\x75\x6E\x74\x54\x79\x70\x65","\x2E\x2F\x75\x74\x69\x6C","\x6D\x65\x73\x73\x61\x67\x65\x20\x66\x6F\x72\x6D\x61\x74\x20\x69\x73\x20\x6E\x6F\x74\x20\x6B\x6E\x6F\x77\x6E","\x75\x70\x64\x61\x74\x65","\x73\x61\x76\x65","\x75\x70\x64\x61\x74\x65\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x64\x69\x73\x70\x49\x64","\x75\x70\x64\x61\x74\x65\x53\x74\x61\x74\x75\x73","\x74\x6F\x55\x70\x70\x65\x72","\x45\x72\x72\x6F\x72\x43\x6F\x64\x65","\x6D\x73\x67\x49\x64","\x6D\x65\x73\x73\x61\x67\x65\x53\x74\x61\x74\x75\x73","\x65\x72\x72\x6F\x72\x5F\x63\x6F\x64\x65","\x73\x6B\x65\x62\x62\x79\x5F\x64\x69\x73\x70\x61\x74\x63\x68\x5F\x69\x64","\x66\x69\x6E\x64","\x75\x70\x64\x61\x74\x65\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x75\x70\x64\x61\x74\x65\x64\x41\x74","\x70\x72\x69\x6F\x72\x69\x74\x79","\x66\x6F\x72\x45\x61\x63\x68","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x64\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x61\x70\x70\x49\x64","\x64\x65\x73\x74\x72\x6F\x79\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x69\x64\x73","\x67\x65\x74\x53\x6D\x73\x52\x6F\x6F\x6D\x73","\x74\x61\x67\x73","\x69\x73\x41\x72\x72\x61\x79","\x25","\x70\x75\x73\x68","\x24\x61\x6E\x64","\x77\x68\x65\x72\x65","\x69\x6E\x63\x6C\x75\x64\x65","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65","\x66\x69\x6E\x64\x41\x6C\x6C"];_0x90e2[0];var _=require(_0x90e2[1]);var Util=require(_0x90e2[2]);var sequelize=require(_0x90e2[4])[_0x90e2[3]];var User=require(_0x90e2[4])[_0x90e2[5]];var SmsAccount=require(_0x90e2[4])[_0x90e2[6]];var SmsQueue=require(_0x90e2[4])[_0x90e2[7]];var SmsApplication=require(_0x90e2[4])[_0x90e2[8]];var SmsMessage=require(_0x90e2[4])[_0x90e2[9]];var SmsRoom=require(_0x90e2[4])[_0x90e2[10]];var SmsDisposition=require(_0x90e2[4])[_0x90e2[11]];function handleError(_0xc3a9xc,_0xc3a9xd){return _0xc3a9xc[_0x90e2[13]](500)[_0x90e2[12]](_0xc3a9xd)}exports[_0x90e2[14]]=function(_0xc3a9xe,_0xc3a9xc){return SmsAccount[_0x90e2[19]](Util[_0x90e2[18]](_0xc3a9xe[_0x90e2[17]]))[_0x90e2[16]](function(_0xc3a9xf){_0xc3a9xc[_0x90e2[13]](200)[_0x90e2[12]](_0xc3a9xf)})[_0x90e2[15]](function(_0xc3a9xd){return handleError(_0xc3a9xc,_0xc3a9xd)})};exports[_0x90e2[20]]=function(_0xc3a9xe,_0xc3a9xc){return SmsAccount[_0x90e2[24]](_0xc3a9xe[_0x90e2[23]][_0x90e2[22]])[_0x90e2[16]](function(_0xc3a9x10){if(!_0xc3a9x10){return _0xc3a9xc[_0x90e2[21]](404)};return _0xc3a9xc[_0x90e2[12]](_0xc3a9x10)})[_0x90e2[15]](function(_0xc3a9xd){return handleError(_0xc3a9xc,_0xc3a9xd)})};exports[_0x90e2[25]]=function(_0xc3a9xe,_0xc3a9xc){return SmsAccount[_0x90e2[24]](_0xc3a9xe[_0x90e2[23]][_0x90e2[22]])[_0x90e2[16]](function(_0xc3a9x10){if(!_0xc3a9x10){return _0xc3a9xc[_0x90e2[21]](404)};switch(_0xc3a9x10[_0x90e2[36]]){case _0x90e2[28]:var _0xc3a9x11=require(_0x90e2[28])(_0xc3a9x10[_0x90e2[26]],_0xc3a9x10[_0x90e2[27]]);_0xc3a9x11[_0x90e2[30]](_0xc3a9x10[_0x90e2[26]])[_0x90e2[29]](function(_0xc3a9xd,_0xc3a9x12){if(_0xc3a9xd){return _0xc3a9xc[_0x90e2[21]](404)};return _0xc3a9xc[_0x90e2[21]](200)});break;case _0x90e2[35]:var _0xc3a9x13={from:_0x90e2[31],to:_0x90e2[31],body:_0x90e2[31]};_0xc3a9x10[_0x90e2[32]]=_0x90e2[33];require(_0x90e2[34])(_0xc3a9x13,_0xc3a9x10,function(_0xc3a9xd,_0xc3a9x12){if(_0xc3a9xd){return _0xc3a9xc[_0x90e2[21]](404)};return _0xc3a9xc[_0x90e2[21]](200)});break;default:}})[_0x90e2[15]](function(_0xc3a9xd){return handleError(_0xc3a9xc,_0xc3a9xd)})};exports[_0x90e2[37]]=function(_0xc3a9xe,_0xc3a9xc,_0xc3a9x14){return SmsAccount[_0x90e2[24]](_0xc3a9xe[_0x90e2[23]][_0x90e2[22]])[_0x90e2[16]](function(_0xc3a9x10){if(!_0xc3a9x10){return _0xc3a9xc[_0x90e2[21]](404)};return _0xc3a9x10[_0x90e2[39]]()})[_0x90e2[16]](function(_0xc3a9x15){return _0xc3a9xc[_0x90e2[13]](200)[_0x90e2[12]]({rows:_0xc3a9x15,count:_0xc3a9x15[_0x90e2[38]]})})[_0x90e2[15]](function(_0xc3a9xd){return handleError(_0xc3a9xc,_0xc3a9xd)})};exports[_0x90e2[40]]=function(_0xc3a9xe,_0xc3a9xc,_0xc3a9x14){return SmsAccount[_0x90e2[24]](_0xc3a9xe[_0x90e2[23]][_0x90e2[22]])[_0x90e2[16]](function(_0xc3a9x10){if(!_0xc3a9x10){return _0xc3a9xc[_0x90e2[21]](404)};return _0xc3a9x10[_0x90e2[44]](_[_0x90e2[43]](Util[_0x90e2[18]](_0xc3a9xe[_0x90e2[17]]),{include:[{model:SmsQueue,attributes:[_0x90e2[22],_0x90e2[41]]},{model:User,attributes:[_0x90e2[22],_0x90e2[41],_0x90e2[42]]}]}))})[_0x90e2[16]](function(_0xc3a9x16){return _0xc3a9xc[_0x90e2[12]]({count:_0xc3a9x16[_0x90e2[38]],rows:_0xc3a9x16})})[_0x90e2[15]](function(_0xc3a9xd){return handleError(_0xc3a9xc,_0xc3a9xd)})};exports[_0x90e2[45]]=function(_0xc3a9xe,_0xc3a9xc){return SmsAccount[_0x90e2[45]](_0xc3a9xe[_0x90e2[49]])[_0x90e2[16]](function(_0xc3a9x10){console[_0x90e2[48]](_0xc3a9x10);return _0xc3a9xc[_0x90e2[13]](201)[_0x90e2[12]](_0xc3a9x10)})[_0x90e2[15]](sequelize.UniqueConstraintError,function(_0xc3a9xd){return Util[_0x90e2[47]][_0x90e2[46]](_0xc3a9xc,_0xc3a9xd)})[_0x90e2[15]](function(_0xc3a9xd){return handleError(_0xc3a9xc,_0xc3a9xd)})};exports[_0x90e2[50]]=function(_0xc3a9xe,_0xc3a9xc,_0xc3a9x14){_0xc3a9xe[_0x90e2[49]][_0x90e2[51]]=_0xc3a9xe[_0x90e2[23]][_0x90e2[22]];return SmsDisposition[_0x90e2[45]](_0xc3a9xe[_0x90e2[49]])[_0x90e2[16]](function(_0xc3a9x17){return _0xc3a9xc[_0x90e2[13]](201)[_0x90e2[12]](_0xc3a9x17)})[_0x90e2[15]](function(_0xc3a9xd){return handleError(_0xc3a9xc,_0xc3a9xd)})};exports[_0x90e2[52]]=function(_0xc3a9xe,_0xc3a9xc,_0xc3a9x14){_0xc3a9xe[_0x90e2[49]][_0x90e2[53]]=_0xc3a9xe[_0x90e2[54]][_0x90e2[22]];_0xc3a9xe[_0x90e2[49]][_0x90e2[51]]=_0xc3a9xe[_0x90e2[23]][_0x90e2[22]];return SmsRoom[_0x90e2[60]]({where:{from:_0xc3a9xe[_0x90e2[49]][_0x90e2[57]],SmsAccountId:_0xc3a9xe[_0x90e2[49]][_0x90e2[51]],status:{$ne:_0x90e2[59]}}})[_0x90e2[16]](function(_0xc3a9x1a){if(!_0xc3a9x1a){return SmsRoom[_0x90e2[45]]({from:_0xc3a9xe[_0x90e2[49]][_0x90e2[57]],SmsAccountId:_0xc3a9xe[_0x90e2[49]][_0x90e2[51]],status:_0x90e2[58]})};return _0xc3a9x1a})[_0x90e2[16]](function(_0xc3a9x19){_0xc3a9xe[_0x90e2[49]][_0x90e2[55]]=_0xc3a9x19[_0x90e2[22]];return _0xc3a9x19[_0x90e2[56]](_0xc3a9xe[_0x90e2[49]].UserId)})[_0x90e2[16]](function(){return SmsMessage[_0x90e2[45]](_0xc3a9xe[_0x90e2[49]])})[_0x90e2[16]](function(_0xc3a9x18){return _0xc3a9xc[_0x90e2[13]](201)[_0x90e2[12]](_0xc3a9x18)})[_0x90e2[15]](function(_0xc3a9xd){console[_0x90e2[48]](_0xc3a9xd);return handleError(_0xc3a9xc,_0xc3a9xd)})};exports[_0x90e2[61]]=function(_0xc3a9xe,_0xc3a9xc,_0xc3a9x14){var _0xc3a9x1b;return SmsAccount[_0x90e2[24]](_0xc3a9xe[_0x90e2[23]][_0x90e2[22]])[_0x90e2[16]](function(_0xc3a9x10){if(!_0xc3a9x10){return _0xc3a9xc[_0x90e2[21]](404)};_0xc3a9xe[_0x90e2[49]][_0x90e2[64]]=_0xc3a9x10[_0x90e2[36]];_0xc3a9x1b=require(_0x90e2[65])(_0xc3a9xe[_0x90e2[49]]);if(!_0xc3a9x1b){console[_0x90e2[48]](_0x90e2[66]);return _0xc3a9xc[_0x90e2[21]](404)};return SmsRoom[_0x90e2[60]]({where:{from:_0xc3a9x1b[_0x90e2[63]],SmsAccountId:_0xc3a9xe[_0x90e2[23]][_0x90e2[22]],status:{$ne:_0x90e2[59]}}})})[_0x90e2[16]](function(_0xc3a9x1a){if(!_0xc3a9x1a){return SmsRoom[_0x90e2[45]]({from:_0xc3a9x1b[_0x90e2[63]],SmsAccountId:_0xc3a9xe[_0x90e2[23]][_0x90e2[22]]})};return _0xc3a9x1a})[_0x90e2[16]](function(_0xc3a9x1a){_0xc3a9x1b[_0x90e2[55]]=_0xc3a9x1a[_0x90e2[22]];_0xc3a9x1b[_0x90e2[13]]=_0x90e2[62];return SmsMessage[_0x90e2[45]](_0xc3a9x1b)})[_0x90e2[16]](function(_0xc3a9x1c){return _0xc3a9xc[_0x90e2[13]](201)[_0x90e2[12]](_0xc3a9x1c)})[_0x90e2[15]](function(_0xc3a9xd){return handleError(_0xc3a9xc,_0xc3a9xd)})};exports[_0x90e2[67]]=function(_0xc3a9xe,_0xc3a9xc){if(_0xc3a9xe[_0x90e2[49]][_0x90e2[22]]){delete _0xc3a9xe[_0x90e2[49]][_0x90e2[22]]};return SmsAccount[_0x90e2[24]](_0xc3a9xe[_0x90e2[23]][_0x90e2[22]])[_0x90e2[16]](function(_0xc3a9x10){if(!_0xc3a9x10){return _0xc3a9xc[_0x90e2[21]](404)};var _0xc3a9x1d=_[_0x90e2[43]](_0xc3a9x10,_0xc3a9xe[_0x90e2[49]]);return _0xc3a9x1d[_0x90e2[68]]()})[_0x90e2[16]](function(_0xc3a9x10){return _0xc3a9xc[_0x90e2[13]](200)[_0x90e2[12]](_0xc3a9x10)})[_0x90e2[15]](sequelize.UniqueConstraintError,function(_0xc3a9xd){return Util[_0x90e2[47]][_0x90e2[46]](_0xc3a9xc,_0xc3a9xd)})[_0x90e2[15]](function(_0xc3a9xd){return handleError(_0xc3a9xc,_0xc3a9xd)})};exports[_0x90e2[69]]=function(_0xc3a9xe,_0xc3a9xc){if(_0xc3a9xe[_0x90e2[49]][_0x90e2[22]]){delete _0xc3a9xe[_0x90e2[49]][_0x90e2[22]]};return SmsDisposition[_0x90e2[24]](_0xc3a9xe[_0x90e2[23]][_0x90e2[70]])[_0x90e2[16]](function(_0xc3a9x1f){if(!_0xc3a9x1f){return _0xc3a9xc[_0x90e2[21]](404)};var _0xc3a9x1d=_[_0x90e2[43]](_0xc3a9x1f,_0xc3a9xe[_0x90e2[49]]);return _0xc3a9x1d[_0x90e2[68]]()})[_0x90e2[16]](function(_0xc3a9x1e){return _0xc3a9xc[_0x90e2[13]](200)[_0x90e2[12]](_0xc3a9x1e)})[_0x90e2[15]](function(_0xc3a9xd){return handleError(_0xc3a9xc,_0xc3a9xd)})};exports[_0x90e2[71]]=function(_0xc3a9xe,_0xc3a9xc){return SmsMessage[_0x90e2[24]](_0xc3a9xe[_0x90e2[23]][_0x90e2[74]])[_0x90e2[16]](function(_0xc3a9x1c){if(!_0xc3a9x1c){return _0xc3a9xc[_0x90e2[21]](404)};var _0xc3a9x1d=_[_0x90e2[43]](_0xc3a9x1c,{status:_[_0x90e2[72]](_0xc3a9xe[_0x90e2[49]].MessageStatus),errorcode:_0xc3a9xe[_0x90e2[49]][_0x90e2[73]]});return _0xc3a9x1d[_0x90e2[68]]()})[_0x90e2[16]](function(_0xc3a9x1c){return _0xc3a9xc[_0x90e2[13]](200)[_0x90e2[12]](_0xc3a9x1c)})[_0x90e2[15]](function(_0xc3a9xd){return handleError(_0xc3a9xc,_0xc3a9xd)})};exports[_0x90e2[75]]=function(_0xc3a9xe,_0xc3a9xc){return SmsMessage[_0x90e2[78]]({where:{skebby_message_id:_0xc3a9xe[_0x90e2[49]][_0x90e2[77]]}})[_0x90e2[16]](function(_0xc3a9x1c){if(!_0xc3a9x1c){return _0xc3a9xc[_0x90e2[21]](404)};var _0xc3a9x1d=_[_0x90e2[43]](_0xc3a9x1c,{status:_0xc3a9xe[_0x90e2[49]][_0x90e2[13]],errorcode:_0xc3a9xe[_0x90e2[49]][_0x90e2[76]]});return _0xc3a9x1d[_0x90e2[68]]()})[_0x90e2[16]](function(_0xc3a9x1c){return _0xc3a9xc[_0x90e2[13]](200)[_0x90e2[12]](_0xc3a9x1c)})[_0x90e2[15]](function(_0xc3a9xd){return handleError(_0xc3a9xc,_0xc3a9xd)})};exports[_0x90e2[79]]=function(_0xc3a9xe,_0xc3a9xc){var _0xc3a9x20=0;var _0xc3a9x21=_0xc3a9xe[_0x90e2[49]];_0xc3a9x21[_0x90e2[83]](function(_0xc3a9x22){delete _0xc3a9x22[_0x90e2[22]];delete _0xc3a9x22[_0x90e2[80]];delete _0xc3a9x22[_0x90e2[81]];_0xc3a9x22[_0x90e2[82]]= ++_0xc3a9x20});return sequelize[_0x90e2[86]](function(_0xc3a9x24){return SmsApplication[_0x90e2[85]]({where:{SmsAccountId:_0xc3a9xe[_0x90e2[23]][_0x90e2[22]]},individualHooks:true,transaction:_0xc3a9x24})[_0x90e2[16]](function(_0xc3a9x25){return SmsApplication[_0x90e2[84]](_0xc3a9x21,{individualHooks:true,transaction:_0xc3a9x24})})})[_0x90e2[16]](function(_0xc3a9x23){return _0xc3a9xc[_0x90e2[13]](200)[_0x90e2[12]]({count:_0xc3a9x23[_0x90e2[38]],rows:_0xc3a9x23})})[_0x90e2[15]](function(_0xc3a9xd){return handleError(_0xc3a9xc,_0xc3a9xd)})};exports[_0x90e2[85]]=function(_0xc3a9xe,_0xc3a9xc){return SmsAccount[_0x90e2[24]](_0xc3a9xe[_0x90e2[23]][_0x90e2[22]])[_0x90e2[16]](function(_0xc3a9x10){if(!_0xc3a9x10){return _0xc3a9xc[_0x90e2[21]](404)};return _0xc3a9x10[_0x90e2[85]]()})[_0x90e2[16]](function(){return _0xc3a9xc[_0x90e2[21]](204)})[_0x90e2[15]](function(_0xc3a9xd){return handleError(_0xc3a9xc,_0xc3a9xd)})};exports[_0x90e2[87]]=function(_0xc3a9xe,_0xc3a9xc,_0xc3a9x14){return SmsApplication[_0x90e2[24]](_0xc3a9xe[_0x90e2[23]][_0x90e2[88]])[_0x90e2[16]](function(_0xc3a9x25){if(!_0xc3a9x25){return _0xc3a9xc[_0x90e2[21]](404)};return _0xc3a9x25[_0x90e2[85]]()})[_0x90e2[16]](function(){return _0xc3a9xc[_0x90e2[21]](204)})[_0x90e2[15]](function(_0xc3a9xd){return handleError(_0xc3a9xc,_0xc3a9xd)})};exports[_0x90e2[89]]=function(_0xc3a9xe,_0xc3a9xc,_0xc3a9x14){return SmsDisposition[_0x90e2[24]](_0xc3a9xe[_0x90e2[23]][_0x90e2[70]])[_0x90e2[16]](function(_0xc3a9x17){if(!_0xc3a9x17){return _0xc3a9xc[_0x90e2[21]](404)};return _0xc3a9x17[_0x90e2[85]]()})[_0x90e2[16]](function(){return _0xc3a9xc[_0x90e2[21]](204)})[_0x90e2[15]](function(_0xc3a9xd){return handleError(_0xc3a9xc,_0xc3a9xd)})};exports[_0x90e2[90]]=function(_0xc3a9xe,_0xc3a9xc){return SmsApplication[_0x90e2[85]]({where:{id:_0xc3a9xe[_0x90e2[17]][_0x90e2[91]]},individualHooks:true})[_0x90e2[16]](function(){return _0xc3a9xc[_0x90e2[21]](204)})[_0x90e2[15]](function(_0xc3a9xd){return handleError(_0xc3a9xc,_0xc3a9xd)})};exports[_0x90e2[92]]=function(_0xc3a9xe,_0xc3a9xc,_0xc3a9x14){var _0xc3a9x26={where:{SmsAccountId:_0xc3a9xe[_0x90e2[23]][_0x90e2[22]],$and:[]},attributes:[_0x90e2[22],_0x90e2[63],_0x90e2[81]]};if(_0xc3a9xe[_0x90e2[17]]){if(_0xc3a9xe[_0x90e2[17]][_0x90e2[93]]){if(_[_0x90e2[94]](_0xc3a9xe[_0x90e2[17]][_0x90e2[93]])){for(var _0xc3a9x27=0;_0xc3a9x27<_0xc3a9xe[_0x90e2[17]][_0x90e2[93]][_0x90e2[38]];_0xc3a9x27++){_0xc3a9x26[_0x90e2[98]][_0x90e2[97]][_0x90e2[96]]({tags:{$like:_0x90e2[95]+_0xc3a9xe[_0x90e2[17]][_0x90e2[93]][_0xc3a9x27]+_0x90e2[95]}})}}else {_0xc3a9x26[_0x90e2[98]][_0x90e2[97]][_0x90e2[96]]({tags:{$like:_0x90e2[95]+_0xc3a9xe[_0x90e2[17]][_0x90e2[93]]+_0x90e2[95]}})};delete _0xc3a9xe[_0x90e2[17]][_0x90e2[93]]};_[_0x90e2[43]](_0xc3a9x26[_0x90e2[98]],_0xc3a9xe[_0x90e2[17]])};switch(_0xc3a9xe[_0x90e2[54]][_0x90e2[101]]){case _0x90e2[100]:_0xc3a9x26[_0x90e2[99]]=[{model:User,where:{id:_0xc3a9xe[_0x90e2[54]][_0x90e2[22]]}}];break;default:};return SmsRoom[_0x90e2[102]](_0xc3a9x26)[_0x90e2[16]](function(_0xc3a9x28){return _0xc3a9xc[_0x90e2[13]](200)[_0x90e2[12]](_0xc3a9x28)})[_0x90e2[15]](function(_0xc3a9xd){return handleError(_0xc3a9xc,_0xc3a9xd)})} \ No newline at end of file diff --git a/server/api/sms_account/sms_account.socket.js b/server/api/sms_account/sms_account.socket.js index 6de6f91..585f5fb 100644 --- a/server/api/sms_account/sms_account.socket.js +++ b/server/api/sms_account/sms_account.socket.js @@ -1 +1 @@ -var _0x84af=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x53\x6D\x73\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x73\x6D\x73\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x73\x6D\x73\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x84af[0];var SmsAccount=require(_0x84af[2])[_0x84af[1]];exports[_0x84af[3]]=function(_0x1c8cx2){SmsAccount[_0x84af[4]](function(_0x1c8cx3){onSave(_0x1c8cx2,_0x1c8cx3)});SmsAccount[_0x84af[5]](function(_0x1c8cx3){onRemove(_0x1c8cx2,_0x1c8cx3)})};function onSave(_0x1c8cx2,_0x1c8cx3,_0x1c8cx5){_0x1c8cx2[_0x84af[7]](_0x84af[6],_0x1c8cx3)}function onRemove(_0x1c8cx2,_0x1c8cx3,_0x1c8cx5){_0x1c8cx2[_0x84af[7]](_0x84af[8],_0x1c8cx3)} \ No newline at end of file +var _0x2540=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x53\x6D\x73\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x73\x6D\x73\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x73\x6D\x73\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x2540[0];var SmsAccount=require(_0x2540[2])[_0x2540[1]];exports[_0x2540[3]]=function(_0x3c76x2){SmsAccount[_0x2540[4]](function(_0x3c76x3){onSave(_0x3c76x2,_0x3c76x3)});SmsAccount[_0x2540[5]](function(_0x3c76x3){onRemove(_0x3c76x2,_0x3c76x3)})};function onSave(_0x3c76x2,_0x3c76x3,_0x3c76x5){_0x3c76x2[_0x2540[7]](_0x2540[6],_0x3c76x3)}function onRemove(_0x3c76x2,_0x3c76x3,_0x3c76x5){_0x3c76x2[_0x2540[7]](_0x2540[8],_0x3c76x3)} \ No newline at end of file diff --git a/server/api/sms_account/util.js b/server/api/sms_account/util.js index f18080b..18b8993 100644 --- a/server/api/sms_account/util.js +++ b/server/api/sms_account/util.js @@ -1 +1 @@ -var _0x1d49=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x65\x78\x70\x6F\x72\x74\x73","\x66\x72\x6F\x6D","\x74\x6F","\x62\x6F\x64\x79","\x74\x77\x69\x6C\x69\x6F","\x73\x65\x6E\x64\x65\x72","\x72\x65\x63\x65\x69\x76\x65\x72","\x74\x65\x78\x74","\x73\x6B\x65\x62\x62\x79","\x61\x63\x63\x6F\x75\x6E\x74\x54\x79\x70\x65"];_0x1d49[0];var _=require(_0x1d49[1]);module[_0x1d49[2]]=function(_0xc09bx2){var _0xc09bx3={};switch(_0xc09bx2[_0x1d49[11]]){case _0x1d49[6]:if(_0xc09bx2[_0x1d49[3]]&&_0xc09bx2[_0x1d49[4]]&&_0xc09bx2[_0x1d49[5]]){_0xc09bx3={from:_0xc09bx2[_0x1d49[3]],to:_0xc09bx2[_0x1d49[4]],body:_0xc09bx2[_0x1d49[5]]}};break;case _0x1d49[10]:if((_0xc09bx2[_0x1d49[7]]&&_0xc09bx2[_0x1d49[8]]&&_0xc09bx2[_0x1d49[9]])){_0xc09bx3={from:_0xc09bx2[_0x1d49[7]],to:_0xc09bx2[_0x1d49[8]],body:_0xc09bx2[_0x1d49[9]]}};break;default:};return _0xc09bx3} \ No newline at end of file +var _0xa218=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x65\x78\x70\x6F\x72\x74\x73","\x66\x72\x6F\x6D","\x74\x6F","\x62\x6F\x64\x79","\x74\x77\x69\x6C\x69\x6F","\x73\x65\x6E\x64\x65\x72","\x72\x65\x63\x65\x69\x76\x65\x72","\x74\x65\x78\x74","\x73\x6B\x65\x62\x62\x79","\x61\x63\x63\x6F\x75\x6E\x74\x54\x79\x70\x65"];_0xa218[0];var _=require(_0xa218[1]);module[_0xa218[2]]=function(_0xe08bx2){var _0xe08bx3={};switch(_0xe08bx2[_0xa218[11]]){case _0xa218[6]:if(_0xe08bx2[_0xa218[3]]&&_0xe08bx2[_0xa218[4]]&&_0xe08bx2[_0xa218[5]]){_0xe08bx3={from:_0xe08bx2[_0xa218[3]],to:_0xe08bx2[_0xa218[4]],body:_0xe08bx2[_0xa218[5]]}};break;case _0xa218[10]:if((_0xe08bx2[_0xa218[7]]&&_0xe08bx2[_0xa218[8]]&&_0xe08bx2[_0xa218[9]])){_0xe08bx3={from:_0xe08bx2[_0xa218[7]],to:_0xe08bx2[_0xa218[8]],body:_0xe08bx2[_0xa218[9]]}};break;default:};return _0xe08bx3} \ No newline at end of file diff --git a/server/api/sms_application/index.js b/server/api/sms_application/index.js index 1068471..c0cc884 100644 --- a/server/api/sms_application/index.js +++ b/server/api/sms_application/index.js @@ -1 +1 @@ -var _0x17c7=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x73\x6D\x73\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x68\x61\x73\x53\x6D\x73","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x17c7[0];var express=require(_0x17c7[1]);var auth=require(_0x17c7[2]);var controller=require(_0x17c7[3]);var license=require(_0x17c7[4]);var router=express.Router();router[_0x17c7[11]](_0x17c7[5],auth[_0x17c7[6]](),license[_0x17c7[7]](),auth[_0x17c7[9]]([11],[_0x17c7[8]]),controller[_0x17c7[10]]);router[_0x17c7[11]](_0x17c7[12],auth[_0x17c7[6]](),license[_0x17c7[7]](),auth[_0x17c7[9]]([11],[_0x17c7[8]]),controller[_0x17c7[13]]);router[_0x17c7[15]](_0x17c7[5],auth[_0x17c7[6]](),license[_0x17c7[7]](),auth[_0x17c7[9]]([11],[_0x17c7[8]]),controller[_0x17c7[14]]);router[_0x17c7[17]](_0x17c7[12],auth[_0x17c7[6]](),license[_0x17c7[7]](),auth[_0x17c7[9]]([11],[_0x17c7[8]]),controller[_0x17c7[16]]);router[_0x17c7[19]](_0x17c7[12],auth[_0x17c7[6]](),license[_0x17c7[7]](),auth[_0x17c7[9]]([11],[_0x17c7[8]]),controller[_0x17c7[18]]);module[_0x17c7[20]]=router \ No newline at end of file +var _0xd1f4=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x73\x6D\x73\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x68\x61\x73\x53\x6D\x73","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xd1f4[0];var express=require(_0xd1f4[1]);var auth=require(_0xd1f4[2]);var controller=require(_0xd1f4[3]);var license=require(_0xd1f4[4]);var router=express.Router();router[_0xd1f4[11]](_0xd1f4[5],auth[_0xd1f4[6]](),license[_0xd1f4[7]](),auth[_0xd1f4[9]]([11],[_0xd1f4[8]]),controller[_0xd1f4[10]]);router[_0xd1f4[11]](_0xd1f4[12],auth[_0xd1f4[6]](),license[_0xd1f4[7]](),auth[_0xd1f4[9]]([11],[_0xd1f4[8]]),controller[_0xd1f4[13]]);router[_0xd1f4[15]](_0xd1f4[5],auth[_0xd1f4[6]](),license[_0xd1f4[7]](),auth[_0xd1f4[9]]([11],[_0xd1f4[8]]),controller[_0xd1f4[14]]);router[_0xd1f4[17]](_0xd1f4[12],auth[_0xd1f4[6]](),license[_0xd1f4[7]](),auth[_0xd1f4[9]]([11],[_0xd1f4[8]]),controller[_0xd1f4[16]]);router[_0xd1f4[19]](_0xd1f4[12],auth[_0xd1f4[6]](),license[_0xd1f4[7]](),auth[_0xd1f4[9]]([11],[_0xd1f4[8]]),controller[_0xd1f4[18]]);module[_0xd1f4[20]]=router \ No newline at end of file diff --git a/server/api/sms_application/sms_application.controller.js b/server/api/sms_application/sms_application.controller.js index 291e696..a968df4 100644 --- a/server/api/sms_application/sms_application.controller.js +++ b/server/api/sms_application/sms_application.controller.js @@ -1 +1 @@ -var _0x17ef=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x53\x6D\x73\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x70\x72\x69\x6F\x72\x69\x74\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x53\x6D\x73\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x6D\x61\x78","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0x17ef[0];var _=require(_0x17ef[1]);var Util=require(_0x17ef[2]);var SmsApplication=require(_0x17ef[4])[_0x17ef[3]];function handleError(_0xabedx5,_0xabedx6){return _0xabedx5[_0x17ef[6]](500)[_0x17ef[5]](_0xabedx6)}exports[_0x17ef[7]]=function(_0xabedx7,_0xabedx5){return SmsApplication[_0x17ef[12]]({where:_0xabedx7[_0x17ef[10]],order:_0x17ef[11],include:[{all:true}]})[_0x17ef[9]](function(_0xabedx8){return _0xabedx5[_0x17ef[6]](200)[_0x17ef[5]](_0xabedx8)})[_0x17ef[8]](function(_0xabedx6){return handleError(_0xabedx5,_0xabedx6)})};exports[_0x17ef[13]]=function(_0xabedx7,_0xabedx5){return SmsApplication[_0x17ef[17]](_0xabedx7[_0x17ef[16]][_0x17ef[15]],{include:[{all:true}]})[_0x17ef[9]](function(_0xabedx9){if(!_0xabedx9){return _0xabedx5[_0x17ef[14]](404)};return _0xabedx5[_0x17ef[5]](_0xabedx9)})[_0x17ef[8]](function(_0xabedx6){return handleError(_0xabedx5,_0xabedx6)})};exports[_0x17ef[18]]=function(_0xabedx7,_0xabedx5){return SmsApplication[_0x17ef[21]](_0x17ef[11],{where:{SmsAccountId:_0xabedx7[_0x17ef[19]][_0x17ef[20]]}})[_0x17ef[9]](function(_0xabedxa){_0xabedx7[_0x17ef[19]][_0x17ef[11]]=_0xabedxa?++_0xabedxa:1;return SmsApplication[_0x17ef[18]](_0xabedx7[_0x17ef[19]])})[_0x17ef[9]](function(_0xabedx9){return _0xabedx5[_0x17ef[6]](201)[_0x17ef[5]](_0xabedx9)})[_0x17ef[8]](function(_0xabedx6){return handleError(_0xabedx5,_0xabedx6)})};exports[_0x17ef[22]]=function(_0xabedx7,_0xabedx5){if(_0xabedx7[_0x17ef[19]][_0x17ef[15]]){delete _0xabedx7[_0x17ef[19]][_0x17ef[15]]};return SmsApplication[_0x17ef[17]](_0xabedx7[_0x17ef[16]][_0x17ef[15]])[_0x17ef[9]](function(_0xabedx9){if(!_0xabedx9){return _0xabedx5[_0x17ef[14]](404)};var _0xabedxb=_[_0x17ef[23]](_0xabedx9,_0xabedx7[_0x17ef[19]]);return _0xabedxb[_0x17ef[24]]()})[_0x17ef[9]](function(_0xabedx9){return _0xabedx5[_0x17ef[6]](200)[_0x17ef[5]](_0xabedx9)})[_0x17ef[8]](function(_0xabedx6){return handleError(_0xabedx5,_0xabedx6)})};exports[_0x17ef[25]]=function(_0xabedx7,_0xabedx5){return SmsApplication[_0x17ef[17]](_0xabedx7[_0x17ef[16]][_0x17ef[15]])[_0x17ef[9]](function(_0xabedx9){if(!_0xabedx9){return _0xabedx5[_0x17ef[14]](404)};return _0xabedx9[_0x17ef[25]]()})[_0x17ef[9]](function(){return _0xabedx5[_0x17ef[14]](204)})[_0x17ef[8]](function(_0xabedx6){return handleError(_0xabedx5,_0xabedx6)})} \ No newline at end of file +var _0x1a35=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x53\x6D\x73\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x70\x72\x69\x6F\x72\x69\x74\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x53\x6D\x73\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x6D\x61\x78","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0x1a35[0];var _=require(_0x1a35[1]);var Util=require(_0x1a35[2]);var SmsApplication=require(_0x1a35[4])[_0x1a35[3]];function handleError(_0x55fax5,_0x55fax6){return _0x55fax5[_0x1a35[6]](500)[_0x1a35[5]](_0x55fax6)}exports[_0x1a35[7]]=function(_0x55fax7,_0x55fax5){return SmsApplication[_0x1a35[12]]({where:_0x55fax7[_0x1a35[10]],order:_0x1a35[11],include:[{all:true}]})[_0x1a35[9]](function(_0x55fax8){return _0x55fax5[_0x1a35[6]](200)[_0x1a35[5]](_0x55fax8)})[_0x1a35[8]](function(_0x55fax6){return handleError(_0x55fax5,_0x55fax6)})};exports[_0x1a35[13]]=function(_0x55fax7,_0x55fax5){return SmsApplication[_0x1a35[17]](_0x55fax7[_0x1a35[16]][_0x1a35[15]],{include:[{all:true}]})[_0x1a35[9]](function(_0x55fax9){if(!_0x55fax9){return _0x55fax5[_0x1a35[14]](404)};return _0x55fax5[_0x1a35[5]](_0x55fax9)})[_0x1a35[8]](function(_0x55fax6){return handleError(_0x55fax5,_0x55fax6)})};exports[_0x1a35[18]]=function(_0x55fax7,_0x55fax5){return SmsApplication[_0x1a35[21]](_0x1a35[11],{where:{SmsAccountId:_0x55fax7[_0x1a35[19]][_0x1a35[20]]}})[_0x1a35[9]](function(_0x55faxa){_0x55fax7[_0x1a35[19]][_0x1a35[11]]=_0x55faxa?++_0x55faxa:1;return SmsApplication[_0x1a35[18]](_0x55fax7[_0x1a35[19]])})[_0x1a35[9]](function(_0x55fax9){return _0x55fax5[_0x1a35[6]](201)[_0x1a35[5]](_0x55fax9)})[_0x1a35[8]](function(_0x55fax6){return handleError(_0x55fax5,_0x55fax6)})};exports[_0x1a35[22]]=function(_0x55fax7,_0x55fax5){if(_0x55fax7[_0x1a35[19]][_0x1a35[15]]){delete _0x55fax7[_0x1a35[19]][_0x1a35[15]]};return SmsApplication[_0x1a35[17]](_0x55fax7[_0x1a35[16]][_0x1a35[15]])[_0x1a35[9]](function(_0x55fax9){if(!_0x55fax9){return _0x55fax5[_0x1a35[14]](404)};var _0x55faxb=_[_0x1a35[23]](_0x55fax9,_0x55fax7[_0x1a35[19]]);return _0x55faxb[_0x1a35[24]]()})[_0x1a35[9]](function(_0x55fax9){return _0x55fax5[_0x1a35[6]](200)[_0x1a35[5]](_0x55fax9)})[_0x1a35[8]](function(_0x55fax6){return handleError(_0x55fax5,_0x55fax6)})};exports[_0x1a35[25]]=function(_0x55fax7,_0x55fax5){return SmsApplication[_0x1a35[17]](_0x55fax7[_0x1a35[16]][_0x1a35[15]])[_0x1a35[9]](function(_0x55fax9){if(!_0x55fax9){return _0x55fax5[_0x1a35[14]](404)};return _0x55fax9[_0x1a35[25]]()})[_0x1a35[9]](function(){return _0x55fax5[_0x1a35[14]](204)})[_0x1a35[8]](function(_0x55fax6){return handleError(_0x55fax5,_0x55fax6)})} \ No newline at end of file diff --git a/server/api/sms_application/sms_application.socket.js b/server/api/sms_application/sms_application.socket.js index 584747c..8866677 100644 --- a/server/api/sms_application/sms_application.socket.js +++ b/server/api/sms_application/sms_application.socket.js @@ -1 +1 @@ -var _0x9b52=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x53\x6D\x73\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x73\x6D\x73\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x73\x6D\x73\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x9b52[0];var SmsApplication=require(_0x9b52[2])[_0x9b52[1]];exports[_0x9b52[3]]=function(_0xfeb7x2){SmsApplication[_0x9b52[4]](function(_0xfeb7x3){onSave(_0xfeb7x2,_0xfeb7x3)});SmsApplication[_0x9b52[5]](function(_0xfeb7x3){onRemove(_0xfeb7x2,_0xfeb7x3)})};function onSave(_0xfeb7x2,_0xfeb7x3,_0xfeb7x5){_0xfeb7x2[_0x9b52[7]](_0x9b52[6],_0xfeb7x3)}function onRemove(_0xfeb7x2,_0xfeb7x3,_0xfeb7x5){_0xfeb7x2[_0x9b52[7]](_0x9b52[8],_0xfeb7x3)} \ No newline at end of file +var _0x30e3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x53\x6D\x73\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x73\x6D\x73\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x73\x6D\x73\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x30e3[0];var SmsApplication=require(_0x30e3[2])[_0x30e3[1]];exports[_0x30e3[3]]=function(_0xb4aax2){SmsApplication[_0x30e3[4]](function(_0xb4aax3){onSave(_0xb4aax2,_0xb4aax3)});SmsApplication[_0x30e3[5]](function(_0xb4aax3){onRemove(_0xb4aax2,_0xb4aax3)})};function onSave(_0xb4aax2,_0xb4aax3,_0xb4aax5){_0xb4aax2[_0x30e3[7]](_0x30e3[6],_0xb4aax3)}function onRemove(_0xb4aax2,_0xb4aax3,_0xb4aax5){_0xb4aax2[_0x30e3[7]](_0x30e3[8],_0xb4aax3)} \ No newline at end of file diff --git a/server/api/sms_disposition/index.js b/server/api/sms_disposition/index.js index 059603e..9e2e137 100644 --- a/server/api/sms_disposition/index.js +++ b/server/api/sms_disposition/index.js @@ -1 +1 @@ -var _0x2ded=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x73\x6D\x73\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x2ded[0];var express=require(_0x2ded[1]);var controller=require(_0x2ded[2]);var auth=require(_0x2ded[3]);var router=express.Router();router[_0x2ded[7]](_0x2ded[4],auth[_0x2ded[5]](),controller[_0x2ded[6]]);router[_0x2ded[7]](_0x2ded[8],auth[_0x2ded[5]](),controller[_0x2ded[9]]);router[_0x2ded[11]](_0x2ded[4],auth[_0x2ded[5]](),controller[_0x2ded[10]]);router[_0x2ded[13]](_0x2ded[8],auth[_0x2ded[5]](),controller[_0x2ded[12]]);router[_0x2ded[14]](_0x2ded[8],auth[_0x2ded[5]](),controller[_0x2ded[12]]);router[_0x2ded[16]](_0x2ded[8],auth[_0x2ded[5]](),controller[_0x2ded[15]]);module[_0x2ded[17]]=router \ No newline at end of file +var _0xe29a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x73\x6D\x73\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xe29a[0];var express=require(_0xe29a[1]);var controller=require(_0xe29a[2]);var auth=require(_0xe29a[3]);var router=express.Router();router[_0xe29a[7]](_0xe29a[4],auth[_0xe29a[5]](),controller[_0xe29a[6]]);router[_0xe29a[7]](_0xe29a[8],auth[_0xe29a[5]](),controller[_0xe29a[9]]);router[_0xe29a[11]](_0xe29a[4],auth[_0xe29a[5]](),controller[_0xe29a[10]]);router[_0xe29a[13]](_0xe29a[8],auth[_0xe29a[5]](),controller[_0xe29a[12]]);router[_0xe29a[14]](_0xe29a[8],auth[_0xe29a[5]](),controller[_0xe29a[12]]);router[_0xe29a[16]](_0xe29a[8],auth[_0xe29a[5]](),controller[_0xe29a[15]]);module[_0xe29a[17]]=router \ No newline at end of file diff --git a/server/api/sms_disposition/sms_disposition.controller.js b/server/api/sms_disposition/sms_disposition.controller.js index a2f70e2..7f2198f 100644 --- a/server/api/sms_disposition/sms_disposition.controller.js +++ b/server/api/sms_disposition/sms_disposition.controller.js @@ -1 +1 @@ -var _0x3190=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x53\x6D\x73\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65"];_0x3190[0];var _=require(_0x3190[1]);var SmsDisposition=require(_0x3190[3])[_0x3190[2]];function handleError(_0x5839x4,_0x5839x5){_0x5839x5=_0x5839x5||500;return function(_0x5839x6){_0x5839x4[_0x3190[5]](_0x5839x5)[_0x3190[4]](_0x5839x6)}}function responseWithResult(_0x5839x4,_0x5839x5){_0x5839x5=_0x5839x5||200;return function(_0x5839x8){if(_0x5839x8){_0x5839x4[_0x3190[5]](_0x5839x5)[_0x3190[6]](_0x5839x8)}}}function handleEntityNotFound(_0x5839x4){return function(_0x5839x8){if(!_0x5839x8){_0x5839x4[_0x3190[5]](404)[_0x3190[7]]();return null};return _0x5839x8}}function saveUpdates(_0x5839xb){return function(_0x5839x8){return _0x5839x8[_0x3190[9]](_0x5839xb)[_0x3190[8]](function(_0x5839xc){return _0x5839xc})}}function removeEntity(_0x5839x4){return function(_0x5839x8){if(_0x5839x8){return _0x5839x8[_0x3190[10]]()[_0x3190[8]](function(){_0x5839x4[_0x3190[5]](204)[_0x3190[7]]()})}}}exports[_0x3190[11]]=function(_0x5839xe,_0x5839x4){SmsDisposition[_0x3190[13]]()[_0x3190[8]](responseWithResult(_0x5839x4))[_0x3190[12]](handleError(_0x5839x4))};exports[_0x3190[14]]=function(_0x5839xe,_0x5839x4){SmsDisposition[_0x3190[17]](_0x5839xe[_0x3190[16]][_0x3190[15]])[_0x3190[8]](handleEntityNotFound(_0x5839x4))[_0x3190[8]](responseWithResult(_0x5839x4))[_0x3190[12]](handleError(_0x5839x4))};exports[_0x3190[18]]=function(_0x5839xe,_0x5839x4){SmsDisposition[_0x3190[18]](_0x5839xe[_0x3190[19]])[_0x3190[8]](responseWithResult(_0x5839x4,201))[_0x3190[12]](handleError(_0x5839x4))};exports[_0x3190[20]]=function(_0x5839xe,_0x5839x4){if(_0x5839xe[_0x3190[19]][_0x3190[15]]){delete _0x5839xe[_0x3190[19]][_0x3190[15]]};SmsDisposition[_0x3190[17]](_0x5839xe[_0x3190[16]][_0x3190[15]])[_0x3190[8]](handleEntityNotFound(_0x5839x4))[_0x3190[8]](saveUpdates(_0x5839xe[_0x3190[19]]))[_0x3190[8]](responseWithResult(_0x5839x4))[_0x3190[12]](handleError(_0x5839x4))};exports[_0x3190[10]]=function(_0x5839xe,_0x5839x4){SmsDisposition[_0x3190[17]](_0x5839xe[_0x3190[16]][_0x3190[15]])[_0x3190[8]](handleEntityNotFound(_0x5839x4))[_0x3190[8]](removeEntity(_0x5839x4))[_0x3190[12]](handleError(_0x5839x4))} \ No newline at end of file +var _0x6cfd=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x53\x6D\x73\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65"];_0x6cfd[0];var _=require(_0x6cfd[1]);var SmsDisposition=require(_0x6cfd[3])[_0x6cfd[2]];function handleError(_0x6142x4,_0x6142x5){_0x6142x5=_0x6142x5||500;return function(_0x6142x6){_0x6142x4[_0x6cfd[5]](_0x6142x5)[_0x6cfd[4]](_0x6142x6)}}function responseWithResult(_0x6142x4,_0x6142x5){_0x6142x5=_0x6142x5||200;return function(_0x6142x8){if(_0x6142x8){_0x6142x4[_0x6cfd[5]](_0x6142x5)[_0x6cfd[6]](_0x6142x8)}}}function handleEntityNotFound(_0x6142x4){return function(_0x6142x8){if(!_0x6142x8){_0x6142x4[_0x6cfd[5]](404)[_0x6cfd[7]]();return null};return _0x6142x8}}function saveUpdates(_0x6142xb){return function(_0x6142x8){return _0x6142x8[_0x6cfd[9]](_0x6142xb)[_0x6cfd[8]](function(_0x6142xc){return _0x6142xc})}}function removeEntity(_0x6142x4){return function(_0x6142x8){if(_0x6142x8){return _0x6142x8[_0x6cfd[10]]()[_0x6cfd[8]](function(){_0x6142x4[_0x6cfd[5]](204)[_0x6cfd[7]]()})}}}exports[_0x6cfd[11]]=function(_0x6142xe,_0x6142x4){SmsDisposition[_0x6cfd[13]]()[_0x6cfd[8]](responseWithResult(_0x6142x4))[_0x6cfd[12]](handleError(_0x6142x4))};exports[_0x6cfd[14]]=function(_0x6142xe,_0x6142x4){SmsDisposition[_0x6cfd[17]](_0x6142xe[_0x6cfd[16]][_0x6cfd[15]])[_0x6cfd[8]](handleEntityNotFound(_0x6142x4))[_0x6cfd[8]](responseWithResult(_0x6142x4))[_0x6cfd[12]](handleError(_0x6142x4))};exports[_0x6cfd[18]]=function(_0x6142xe,_0x6142x4){SmsDisposition[_0x6cfd[18]](_0x6142xe[_0x6cfd[19]])[_0x6cfd[8]](responseWithResult(_0x6142x4,201))[_0x6cfd[12]](handleError(_0x6142x4))};exports[_0x6cfd[20]]=function(_0x6142xe,_0x6142x4){if(_0x6142xe[_0x6cfd[19]][_0x6cfd[15]]){delete _0x6142xe[_0x6cfd[19]][_0x6cfd[15]]};SmsDisposition[_0x6cfd[17]](_0x6142xe[_0x6cfd[16]][_0x6cfd[15]])[_0x6cfd[8]](handleEntityNotFound(_0x6142x4))[_0x6cfd[8]](saveUpdates(_0x6142xe[_0x6cfd[19]]))[_0x6cfd[8]](responseWithResult(_0x6142x4))[_0x6cfd[12]](handleError(_0x6142x4))};exports[_0x6cfd[10]]=function(_0x6142xe,_0x6142x4){SmsDisposition[_0x6cfd[17]](_0x6142xe[_0x6cfd[16]][_0x6cfd[15]])[_0x6cfd[8]](handleEntityNotFound(_0x6142x4))[_0x6cfd[8]](removeEntity(_0x6142x4))[_0x6cfd[12]](handleError(_0x6142x4))} \ No newline at end of file diff --git a/server/api/sms_disposition/sms_disposition.socket.js b/server/api/sms_disposition/sms_disposition.socket.js index 3ce5e18..c94546c 100644 --- a/server/api/sms_disposition/sms_disposition.socket.js +++ b/server/api/sms_disposition/sms_disposition.socket.js @@ -1 +1 @@ -var _0xc11f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x53\x6D\x73\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x73\x6D\x73\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x73\x6D\x73\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0xc11f[0];var SmsDisposition=require(_0xc11f[2])[_0xc11f[1]];exports[_0xc11f[3]]=function(_0x2598x2){SmsDisposition[_0xc11f[4]](function(_0x2598x3){onSave(_0x2598x2,_0x2598x3)});SmsDisposition[_0xc11f[5]](function(_0x2598x3){onRemove(_0x2598x2,_0x2598x3)})};function onSave(_0x2598x2,_0x2598x3,_0x2598x5){_0x2598x2[_0xc11f[7]](_0xc11f[6],_0x2598x3)}function onRemove(_0x2598x2,_0x2598x3,_0x2598x5){_0x2598x2[_0xc11f[7]](_0xc11f[8],_0x2598x3)} \ No newline at end of file +var _0x48ec=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x53\x6D\x73\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x73\x6D\x73\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x73\x6D\x73\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x48ec[0];var SmsDisposition=require(_0x48ec[2])[_0x48ec[1]];exports[_0x48ec[3]]=function(_0x7a5ax2){SmsDisposition[_0x48ec[4]](function(_0x7a5ax3){onSave(_0x7a5ax2,_0x7a5ax3)});SmsDisposition[_0x48ec[5]](function(_0x7a5ax3){onRemove(_0x7a5ax2,_0x7a5ax3)})};function onSave(_0x7a5ax2,_0x7a5ax3,_0x7a5ax5){_0x7a5ax2[_0x48ec[7]](_0x48ec[6],_0x7a5ax3)}function onRemove(_0x7a5ax2,_0x7a5ax3,_0x7a5ax5){_0x7a5ax2[_0x48ec[7]](_0x48ec[8],_0x7a5ax3)} \ No newline at end of file diff --git a/server/api/sms_message/index.js b/server/api/sms_message/index.js index a42ac05..a8b8993 100644 --- a/server/api/sms_message/index.js +++ b/server/api/sms_message/index.js @@ -1 +1 @@ -var _0xddb3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x73\x6D\x73\x5F\x6D\x65\x73\x73\x61\x67\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x68\x61\x73\x53\x6D\x73","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x62\x75\x6C\x6B\x44\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xddb3[0];var express=require(_0xddb3[1]);var auth=require(_0xddb3[2]);var controller=require(_0xddb3[3]);var license=require(_0xddb3[4]);var router=express.Router();router[_0xddb3[11]](_0xddb3[5],auth[_0xddb3[6]](),license[_0xddb3[7]](),auth[_0xddb3[9]]([11],[_0xddb3[8]]),controller[_0xddb3[10]]);router[_0xddb3[11]](_0xddb3[12],auth[_0xddb3[6]](),license[_0xddb3[7]](),auth[_0xddb3[9]]([11],[_0xddb3[8]]),controller[_0xddb3[13]]);router[_0xddb3[15]](_0xddb3[5],auth[_0xddb3[6]](),license[_0xddb3[7]](),auth[_0xddb3[9]]([11],[_0xddb3[8]]),controller[_0xddb3[14]]);router[_0xddb3[17]](_0xddb3[12],auth[_0xddb3[6]](),license[_0xddb3[7]](),auth[_0xddb3[9]]([11],[_0xddb3[8]]),controller[_0xddb3[16]]);router[_0xddb3[19]](_0xddb3[12],auth[_0xddb3[6]](),license[_0xddb3[7]](),auth[_0xddb3[9]]([11],[_0xddb3[8]]),controller[_0xddb3[18]]);router[_0xddb3[19]](_0xddb3[5],auth[_0xddb3[6]](),license[_0xddb3[7]](),auth[_0xddb3[9]]([11],[_0xddb3[8]]),controller[_0xddb3[20]]);module[_0xddb3[21]]=router \ No newline at end of file +var _0x65c1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x73\x6D\x73\x5F\x6D\x65\x73\x73\x61\x67\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x68\x61\x73\x53\x6D\x73","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x62\x75\x6C\x6B\x44\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x65c1[0];var express=require(_0x65c1[1]);var auth=require(_0x65c1[2]);var controller=require(_0x65c1[3]);var license=require(_0x65c1[4]);var router=express.Router();router[_0x65c1[11]](_0x65c1[5],auth[_0x65c1[6]](),license[_0x65c1[7]](),auth[_0x65c1[9]]([11],[_0x65c1[8]]),controller[_0x65c1[10]]);router[_0x65c1[11]](_0x65c1[12],auth[_0x65c1[6]](),license[_0x65c1[7]](),auth[_0x65c1[9]]([11],[_0x65c1[8]]),controller[_0x65c1[13]]);router[_0x65c1[15]](_0x65c1[5],auth[_0x65c1[6]](),license[_0x65c1[7]](),auth[_0x65c1[9]]([11],[_0x65c1[8]]),controller[_0x65c1[14]]);router[_0x65c1[17]](_0x65c1[12],auth[_0x65c1[6]](),license[_0x65c1[7]](),auth[_0x65c1[9]]([11],[_0x65c1[8]]),controller[_0x65c1[16]]);router[_0x65c1[19]](_0x65c1[12],auth[_0x65c1[6]](),license[_0x65c1[7]](),auth[_0x65c1[9]]([11],[_0x65c1[8]]),controller[_0x65c1[18]]);router[_0x65c1[19]](_0x65c1[5],auth[_0x65c1[6]](),license[_0x65c1[7]](),auth[_0x65c1[9]]([11],[_0x65c1[8]]),controller[_0x65c1[20]]);module[_0x65c1[21]]=router \ No newline at end of file diff --git a/server/api/sms_message/sms_message.controller.js b/server/api/sms_message/sms_message.controller.js index bc16bd8..35959e1 100644 --- a/server/api/sms_message/sms_message.controller.js +++ b/server/api/sms_message/sms_message.controller.js @@ -1 +1 @@ -var _0xa7a4=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x53\x6D\x73\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x53\x6D\x73\x52\x6F\x6F\x6D","\x55\x73\x65\x72","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x69\x6E\x64\x65\x78","\x63\x72\x65\x61\x74\x65\x64\x41\x74\x20\x44\x45\x53\x43","\x77\x68\x65\x72\x65","\x71\x75\x65\x72\x79","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65","\x75\x73\x65\x72","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x55\x73\x65\x72\x49\x64","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x6C\x65\x74\x65","\x54\x52\x41\x53\x48","\x62\x75\x6C\x6B\x55\x70\x64\x61\x74\x65"];_0xa7a4[0];var _=require(_0xa7a4[1]);var Util=require(_0xa7a4[2]);var SmsMessage=require(_0xa7a4[4])[_0xa7a4[3]];var SmsRoom=require(_0xa7a4[4])[_0xa7a4[5]];var User=require(_0xa7a4[4])[_0xa7a4[6]];function handleError(_0x51cbx7,_0x51cbx8){return _0x51cbx7[_0xa7a4[8]](500)[_0xa7a4[7]](_0x51cbx8)}exports[_0xa7a4[9]]=function(_0x51cbx9,_0x51cbx7){var _0x51cbxa={order:_0xa7a4[10],include:[{all:true,include:[{all:true}]}]};switch(_0x51cbx9[_0xa7a4[16]][_0xa7a4[15]]){case _0xa7a4[13]:_0x51cbxa[_0xa7a4[11]]=_0x51cbx9[_0xa7a4[12]];break;case _0xa7a4[14]:break;default:};return SmsMessage[_0xa7a4[19]](_0x51cbxa)[_0xa7a4[18]](function(_0x51cbxb){return _0x51cbx7[_0xa7a4[8]](200)[_0xa7a4[7]](_0x51cbxb)})[_0xa7a4[17]](function(_0x51cbx8){return handleError(_0x51cbx7,_0x51cbx8)})};exports[_0xa7a4[20]]=function(_0x51cbx9,_0x51cbx7){return SmsMessage[_0xa7a4[27]](_0x51cbx9[_0xa7a4[23]][_0xa7a4[22]],{include:[{model:User,attributes:[_0xa7a4[22],_0xa7a4[24],_0xa7a4[25],_0xa7a4[26]]}]})[_0xa7a4[18]](function(_0x51cbxc){if(!_0x51cbxc){return _0x51cbx7[_0xa7a4[21]](404)};return _0x51cbx7[_0xa7a4[7]](_0x51cbxc)})[_0xa7a4[17]](function(_0x51cbx8){return handleError(_0x51cbx7,_0x51cbx8)})};exports[_0xa7a4[28]]=function(_0x51cbx9,_0x51cbx7){_0x51cbx9[_0xa7a4[30]][_0xa7a4[29]]=_0x51cbx9[_0xa7a4[16]][_0xa7a4[22]];return SmsMessage[_0xa7a4[28]](_0x51cbx9[_0xa7a4[30]])[_0xa7a4[18]](function(_0x51cbxc){return _0x51cbx7[_0xa7a4[8]](201)[_0xa7a4[7]](_0x51cbxc)})[_0xa7a4[17]](handleError(_0x51cbx7))};exports[_0xa7a4[31]]=function(_0x51cbx9,_0x51cbx7){if(_0x51cbx9[_0xa7a4[30]][_0xa7a4[22]]){delete _0x51cbx9[_0xa7a4[30]][_0xa7a4[22]]};return SmsMessage[_0xa7a4[27]](_0x51cbx9[_0xa7a4[23]][_0xa7a4[22]],{include:[{all:true}]})[_0xa7a4[18]](function(_0x51cbxc){if(!_0x51cbxc){return _0x51cbx7[_0xa7a4[21]](404)};var _0x51cbxd=_[_0xa7a4[32]](_0x51cbxc,_0x51cbx9[_0xa7a4[30]]);return _0x51cbxd[_0xa7a4[33]]()})[_0xa7a4[18]](function(_0x51cbxd){return _0x51cbx7[_0xa7a4[8]](200)[_0xa7a4[7]](_0x51cbxd)})[_0xa7a4[17]](function(_0x51cbx8){return handleError(_0x51cbx7,_0x51cbx8)})};exports[_0xa7a4[34]]=function(_0x51cbx9,_0x51cbx7){return SmsMessage[_0xa7a4[27]](_0x51cbx9[_0xa7a4[23]][_0xa7a4[22]])[_0xa7a4[18]](function(_0x51cbxc){if(!_0x51cbxc){return _0x51cbx7[_0xa7a4[21]](404)};return _0x51cbxc[_0xa7a4[34]]()})[_0xa7a4[18]](function(){return _0x51cbx7[_0xa7a4[21]](204)})[_0xa7a4[17]](function(_0x51cbx8){return handleError(_0x51cbx7,_0x51cbx8)})};exports[_0xa7a4[35]]=function(_0x51cbx9,_0x51cbx7){return SmsMessage[_0xa7a4[37]]({where:{id:{$in:_0x51cbx9[_0xa7a4[30]][_0xa7a4[22]]}},attributes:{directory:_0xa7a4[36]}})[_0xa7a4[18]](function(_0x51cbxc){if(!_0x51cbxc){return _0x51cbx7[_0xa7a4[21]](404)};return _0x51cbxc[_0xa7a4[34]]()})[_0xa7a4[18]](function(){return _0x51cbx7[_0xa7a4[21]](204)})[_0xa7a4[17]](function(_0x51cbx8){return handleError(_0x51cbx7,_0x51cbx8)})} \ No newline at end of file +var _0xa1f8=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x53\x6D\x73\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x53\x6D\x73\x52\x6F\x6F\x6D","\x55\x73\x65\x72","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x69\x6E\x64\x65\x78","\x63\x72\x65\x61\x74\x65\x64\x41\x74\x20\x44\x45\x53\x43","\x77\x68\x65\x72\x65","\x71\x75\x65\x72\x79","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x72\x6F\x6C\x65","\x75\x73\x65\x72","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x55\x73\x65\x72\x49\x64","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x6C\x65\x74\x65","\x54\x52\x41\x53\x48","\x62\x75\x6C\x6B\x55\x70\x64\x61\x74\x65"];_0xa1f8[0];var _=require(_0xa1f8[1]);var Util=require(_0xa1f8[2]);var SmsMessage=require(_0xa1f8[4])[_0xa1f8[3]];var SmsRoom=require(_0xa1f8[4])[_0xa1f8[5]];var User=require(_0xa1f8[4])[_0xa1f8[6]];function handleError(_0x1440x7,_0x1440x8){return _0x1440x7[_0xa1f8[8]](500)[_0xa1f8[7]](_0x1440x8)}exports[_0xa1f8[9]]=function(_0x1440x9,_0x1440x7){var _0x1440xa={order:_0xa1f8[10],include:[{all:true,include:[{all:true}]}]};switch(_0x1440x9[_0xa1f8[16]][_0xa1f8[15]]){case _0xa1f8[13]:_0x1440xa[_0xa1f8[11]]=_0x1440x9[_0xa1f8[12]];break;case _0xa1f8[14]:break;default:};return SmsMessage[_0xa1f8[19]](_0x1440xa)[_0xa1f8[18]](function(_0x1440xb){return _0x1440x7[_0xa1f8[8]](200)[_0xa1f8[7]](_0x1440xb)})[_0xa1f8[17]](function(_0x1440x8){return handleError(_0x1440x7,_0x1440x8)})};exports[_0xa1f8[20]]=function(_0x1440x9,_0x1440x7){return SmsMessage[_0xa1f8[27]](_0x1440x9[_0xa1f8[23]][_0xa1f8[22]],{include:[{model:User,attributes:[_0xa1f8[22],_0xa1f8[24],_0xa1f8[25],_0xa1f8[26]]}]})[_0xa1f8[18]](function(_0x1440xc){if(!_0x1440xc){return _0x1440x7[_0xa1f8[21]](404)};return _0x1440x7[_0xa1f8[7]](_0x1440xc)})[_0xa1f8[17]](function(_0x1440x8){return handleError(_0x1440x7,_0x1440x8)})};exports[_0xa1f8[28]]=function(_0x1440x9,_0x1440x7){_0x1440x9[_0xa1f8[30]][_0xa1f8[29]]=_0x1440x9[_0xa1f8[16]][_0xa1f8[22]];return SmsMessage[_0xa1f8[28]](_0x1440x9[_0xa1f8[30]])[_0xa1f8[18]](function(_0x1440xc){return _0x1440x7[_0xa1f8[8]](201)[_0xa1f8[7]](_0x1440xc)})[_0xa1f8[17]](handleError(_0x1440x7))};exports[_0xa1f8[31]]=function(_0x1440x9,_0x1440x7){if(_0x1440x9[_0xa1f8[30]][_0xa1f8[22]]){delete _0x1440x9[_0xa1f8[30]][_0xa1f8[22]]};return SmsMessage[_0xa1f8[27]](_0x1440x9[_0xa1f8[23]][_0xa1f8[22]],{include:[{all:true}]})[_0xa1f8[18]](function(_0x1440xc){if(!_0x1440xc){return _0x1440x7[_0xa1f8[21]](404)};var _0x1440xd=_[_0xa1f8[32]](_0x1440xc,_0x1440x9[_0xa1f8[30]]);return _0x1440xd[_0xa1f8[33]]()})[_0xa1f8[18]](function(_0x1440xd){return _0x1440x7[_0xa1f8[8]](200)[_0xa1f8[7]](_0x1440xd)})[_0xa1f8[17]](function(_0x1440x8){return handleError(_0x1440x7,_0x1440x8)})};exports[_0xa1f8[34]]=function(_0x1440x9,_0x1440x7){return SmsMessage[_0xa1f8[27]](_0x1440x9[_0xa1f8[23]][_0xa1f8[22]])[_0xa1f8[18]](function(_0x1440xc){if(!_0x1440xc){return _0x1440x7[_0xa1f8[21]](404)};return _0x1440xc[_0xa1f8[34]]()})[_0xa1f8[18]](function(){return _0x1440x7[_0xa1f8[21]](204)})[_0xa1f8[17]](function(_0x1440x8){return handleError(_0x1440x7,_0x1440x8)})};exports[_0xa1f8[35]]=function(_0x1440x9,_0x1440x7){return SmsMessage[_0xa1f8[37]]({where:{id:{$in:_0x1440x9[_0xa1f8[30]][_0xa1f8[22]]}},attributes:{directory:_0xa1f8[36]}})[_0xa1f8[18]](function(_0x1440xc){if(!_0x1440xc){return _0x1440x7[_0xa1f8[21]](404)};return _0x1440xc[_0xa1f8[34]]()})[_0xa1f8[18]](function(){return _0x1440x7[_0xa1f8[21]](204)})[_0xa1f8[17]](function(_0x1440x8){return handleError(_0x1440x7,_0x1440x8)})} \ No newline at end of file diff --git a/server/api/sms_message/sms_message.socket.js b/server/api/sms_message/sms_message.socket.js index 091e712..a3cec05 100644 --- a/server/api/sms_message/sms_message.socket.js +++ b/server/api/sms_message/sms_message.socket.js @@ -1 +1 @@ -var _0x6aa2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x53\x6D\x73\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x6C\x6F\x64\x61\x73\x68","\x72\x65\x67\x69\x73\x74\x65\x72","\x55\x73\x65\x72\x49\x64","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x6D\x65\x72\x67\x65","\x74\x68\x65\x6E","\x69\x64","\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x66\x69\x6E\x64\x42\x79\x49\x64","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x75\x73\x65\x72\x49\x64","\x72\x6F\x6C\x65","\x61\x64\x6D\x69\x6E","\x73\x6D\x73\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x73\x74\x61\x74\x75\x73","\x63\x68\x61\x6E\x67\x65\x64","\x73\x6D\x73\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x75\x70\x64\x61\x74\x65","\x73\x6D\x73\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x6aa2[0];var SmsMessage=require(_0x6aa2[2])[_0x6aa2[1]];var User=require(_0x6aa2[2])[_0x6aa2[3]];var _=require(_0x6aa2[4]);exports[_0x6aa2[5]]=function(_0x766bx4){SmsMessage[_0x6aa2[17]](function(_0x766bx5){if(_0x766bx5[_0x6aa2[6]]){return User[_0x6aa2[16]](_0x766bx5.UserId,{attributes:[_0x6aa2[12],_0x6aa2[13],_0x6aa2[14],_0x6aa2[15]]})[_0x6aa2[11]](function(_0x766bx7){var _0x766bx8=_[_0x6aa2[10]](_0x766bx5[_0x6aa2[9]],{User:_0x766bx7});onSave(_0x766bx4,_0x766bx8)})[_0x6aa2[8]](function(_0x766bx6){console[_0x6aa2[7]](_0x766bx6)})}else {onSave(_0x766bx4,_0x766bx5)}});SmsMessage[_0x6aa2[18]](function(_0x766bx5){onRemove(_0x766bx4,_0x766bx5)});SmsMessage[_0x6aa2[19]](function(_0x766bx5){onUpdate(_0x766bx4,_0x766bx5)})};function onSave(_0x766bx4,_0x766bx5,_0x766bxa){if(_0x766bx4[_0x6aa2[20]]==_0x766bx5[_0x6aa2[6]]||_0x766bx4[_0x6aa2[21]]===_0x6aa2[22]){_0x766bx4[_0x6aa2[24]](_0x6aa2[23],_0x766bx5)}}function onUpdate(_0x766bx4,_0x766bx5,_0x766bxa){if(_0x766bx4[_0x6aa2[20]]==_0x766bx5[_0x6aa2[6]]&&_0x766bx5[_0x6aa2[26]](_0x6aa2[25])||_0x766bx4[_0x6aa2[21]]===_0x6aa2[22]){_0x766bx4[_0x6aa2[24]](_0x6aa2[27],_0x766bx5)}}function onRemove(_0x766bx4,_0x766bx5,_0x766bxa){_0x766bx4[_0x6aa2[24]](_0x6aa2[28],_0x766bx5)} \ No newline at end of file +var _0x8917=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x53\x6D\x73\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x6C\x6F\x64\x61\x73\x68","\x72\x65\x67\x69\x73\x74\x65\x72","\x55\x73\x65\x72\x49\x64","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x6D\x65\x72\x67\x65","\x74\x68\x65\x6E","\x69\x64","\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x66\x69\x6E\x64\x42\x79\x49\x64","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x75\x73\x65\x72\x49\x64","\x72\x6F\x6C\x65","\x61\x64\x6D\x69\x6E","\x73\x6D\x73\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x73\x74\x61\x74\x75\x73","\x63\x68\x61\x6E\x67\x65\x64","\x73\x6D\x73\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x75\x70\x64\x61\x74\x65","\x73\x6D\x73\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x8917[0];var SmsMessage=require(_0x8917[2])[_0x8917[1]];var User=require(_0x8917[2])[_0x8917[3]];var _=require(_0x8917[4]);exports[_0x8917[5]]=function(_0x9e26x4){SmsMessage[_0x8917[17]](function(_0x9e26x5){if(_0x9e26x5[_0x8917[6]]){return User[_0x8917[16]](_0x9e26x5.UserId,{attributes:[_0x8917[12],_0x8917[13],_0x8917[14],_0x8917[15]]})[_0x8917[11]](function(_0x9e26x7){var _0x9e26x8=_[_0x8917[10]](_0x9e26x5[_0x8917[9]],{User:_0x9e26x7});onSave(_0x9e26x4,_0x9e26x8)})[_0x8917[8]](function(_0x9e26x6){console[_0x8917[7]](_0x9e26x6)})}else {onSave(_0x9e26x4,_0x9e26x5)}});SmsMessage[_0x8917[18]](function(_0x9e26x5){onRemove(_0x9e26x4,_0x9e26x5)});SmsMessage[_0x8917[19]](function(_0x9e26x5){onUpdate(_0x9e26x4,_0x9e26x5)})};function onSave(_0x9e26x4,_0x9e26x5,_0x9e26xa){if(_0x9e26x4[_0x8917[20]]==_0x9e26x5[_0x8917[6]]||_0x9e26x4[_0x8917[21]]===_0x8917[22]){_0x9e26x4[_0x8917[24]](_0x8917[23],_0x9e26x5)}}function onUpdate(_0x9e26x4,_0x9e26x5,_0x9e26xa){if(_0x9e26x4[_0x8917[20]]==_0x9e26x5[_0x8917[6]]&&_0x9e26x5[_0x8917[26]](_0x8917[25])||_0x9e26x4[_0x8917[21]]===_0x8917[22]){_0x9e26x4[_0x8917[24]](_0x8917[27],_0x9e26x5)}}function onRemove(_0x9e26x4,_0x9e26x5,_0x9e26xa){_0x9e26x4[_0x8917[24]](_0x8917[28],_0x9e26x5)} \ No newline at end of file diff --git a/server/api/sms_queue/index.js b/server/api/sms_queue/index.js index c644964..2644844 100644 --- a/server/api/sms_queue/index.js +++ b/server/api/sms_queue/index.js @@ -1 +1 @@ -var _0x7edb=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x73\x6D\x73\x5F\x71\x75\x65\x75\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x68\x61\x73\x53\x6D\x73","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x61\x67\x65\x6E\x74\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x7edb[0];var express=require(_0x7edb[1]);var auth=require(_0x7edb[2]);var controller=require(_0x7edb[3]);var license=require(_0x7edb[4]);var router=express.Router();router[_0x7edb[11]](_0x7edb[5],auth[_0x7edb[6]](),license[_0x7edb[7]](),auth[_0x7edb[9]]([11],[_0x7edb[8]]),controller[_0x7edb[10]]);router[_0x7edb[11]](_0x7edb[12],auth[_0x7edb[6]](),license[_0x7edb[7]](),auth[_0x7edb[9]]([11],[_0x7edb[8]]),controller[_0x7edb[13]]);router[_0x7edb[11]](_0x7edb[14],auth[_0x7edb[6]](),license[_0x7edb[7]](),auth[_0x7edb[9]]([11],[_0x7edb[8]]),controller[_0x7edb[15]]);router[_0x7edb[17]](_0x7edb[5],auth[_0x7edb[6]](),license[_0x7edb[7]](),auth[_0x7edb[9]]([11],[_0x7edb[8]]),controller[_0x7edb[16]]);router[_0x7edb[17]](_0x7edb[14],auth[_0x7edb[6]](),license[_0x7edb[7]](),auth[_0x7edb[9]]([11],[_0x7edb[8]]),controller[_0x7edb[18]]);router[_0x7edb[20]](_0x7edb[12],auth[_0x7edb[6]](),license[_0x7edb[7]](),auth[_0x7edb[9]]([11],[_0x7edb[8]]),controller[_0x7edb[19]]);router[_0x7edb[21]](_0x7edb[12],auth[_0x7edb[6]](),license[_0x7edb[7]](),auth[_0x7edb[9]]([11],[_0x7edb[8]]),controller[_0x7edb[19]]);router[_0x7edb[23]](_0x7edb[12],auth[_0x7edb[6]](),license[_0x7edb[7]](),auth[_0x7edb[9]]([11],[_0x7edb[8]]),controller[_0x7edb[22]]);router[_0x7edb[23]](_0x7edb[14],auth[_0x7edb[6]](),license[_0x7edb[7]](),auth[_0x7edb[9]]([11],[_0x7edb[8]]),controller[_0x7edb[24]]);router[_0x7edb[23]](_0x7edb[5],auth[_0x7edb[6]](),license[_0x7edb[7]](),auth[_0x7edb[9]]([11],[_0x7edb[8]]),controller[_0x7edb[25]]);module[_0x7edb[26]]=router \ No newline at end of file +var _0x8681=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x73\x6D\x73\x5F\x71\x75\x65\x75\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x68\x61\x73\x53\x6D\x73","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x61\x67\x65\x6E\x74\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x8681[0];var express=require(_0x8681[1]);var auth=require(_0x8681[2]);var controller=require(_0x8681[3]);var license=require(_0x8681[4]);var router=express.Router();router[_0x8681[11]](_0x8681[5],auth[_0x8681[6]](),license[_0x8681[7]](),auth[_0x8681[9]]([11],[_0x8681[8]]),controller[_0x8681[10]]);router[_0x8681[11]](_0x8681[12],auth[_0x8681[6]](),license[_0x8681[7]](),auth[_0x8681[9]]([11],[_0x8681[8]]),controller[_0x8681[13]]);router[_0x8681[11]](_0x8681[14],auth[_0x8681[6]](),license[_0x8681[7]](),auth[_0x8681[9]]([11],[_0x8681[8]]),controller[_0x8681[15]]);router[_0x8681[17]](_0x8681[5],auth[_0x8681[6]](),license[_0x8681[7]](),auth[_0x8681[9]]([11],[_0x8681[8]]),controller[_0x8681[16]]);router[_0x8681[17]](_0x8681[14],auth[_0x8681[6]](),license[_0x8681[7]](),auth[_0x8681[9]]([11],[_0x8681[8]]),controller[_0x8681[18]]);router[_0x8681[20]](_0x8681[12],auth[_0x8681[6]](),license[_0x8681[7]](),auth[_0x8681[9]]([11],[_0x8681[8]]),controller[_0x8681[19]]);router[_0x8681[21]](_0x8681[12],auth[_0x8681[6]](),license[_0x8681[7]](),auth[_0x8681[9]]([11],[_0x8681[8]]),controller[_0x8681[19]]);router[_0x8681[23]](_0x8681[12],auth[_0x8681[6]](),license[_0x8681[7]](),auth[_0x8681[9]]([11],[_0x8681[8]]),controller[_0x8681[22]]);router[_0x8681[23]](_0x8681[14],auth[_0x8681[6]](),license[_0x8681[7]](),auth[_0x8681[9]]([11],[_0x8681[8]]),controller[_0x8681[24]]);router[_0x8681[23]](_0x8681[5],auth[_0x8681[6]](),license[_0x8681[7]](),auth[_0x8681[9]]([11],[_0x8681[8]]),controller[_0x8681[25]]);module[_0x8681[26]]=router \ No newline at end of file diff --git a/server/api/sms_queue/sms_queue.controller.js b/server/api/sms_queue/sms_queue.controller.js index 80dccb4..e00439b 100644 --- a/server/api/sms_queue/sms_queue.controller.js +++ b/server/api/sms_queue/sms_queue.controller.js @@ -1 +1 @@ -var _0xf3cf=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x53\x6D\x73\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x55\x73\x65\x72\x48\x61\x73\x53\x6D\x73\x51\x75\x65\x75\x65","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x53\x6D\x73\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x69\x64","\x75\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x66\x61\x75\x6C\x74","\x73\x63\x6F\x70\x65","\x72\x6F\x6C\x65","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x70\x61\x72\x61\x6D\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x6C\x65\x6E\x67\x74\x68","\x61\x67\x65\x6E\x74","\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x67\x65\x74\x55\x73\x65\x72\x73","\x63\x72\x65\x61\x74\x65","\x68\x61\x6E\x64\x6C\x65\x55\x6E\x69\x71\x75\x65\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x45\x72\x72\x6F\x72","\x65\x72\x72\x6F\x72\x4D\x61\x6E\x61\x67\x65\x72","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x61\x67\x65\x6E\x74\x73","\x70\x65\x6E\x61\x6C\x74\x79","\x6D\x61\x70","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x72\x65\x6D\x6F\x76\x65\x55\x73\x65\x72\x73","\x53\x6D\x73\x51\x75\x65\x75\x65\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79","\x65\x72\x72","\x65\x72\x72\x6F\x72","\x71\x75\x65\x75\x65","\x68\x61\x6E\x64\x6C\x65\x46\x6F\x72\x65\x69\x67\x6E\x4B\x65\x79\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x45\x72\x72\x6F\x72","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0xf3cf[0];var _=require(_0xf3cf[1]);var Util=require(_0xf3cf[2]);var SmsQueue=require(_0xf3cf[4])[_0xf3cf[3]];var User=require(_0xf3cf[4])[_0xf3cf[5]];var sequelize=require(_0xf3cf[4])[_0xf3cf[6]];var UserHasSmsQueue=require(_0xf3cf[4])[_0xf3cf[7]];function handleError(_0x1cbfx8,_0x1cbfx9){return _0x1cbfx8[_0xf3cf[9]](500)[_0xf3cf[8]](_0x1cbfx9)}exports[_0xf3cf[10]]=function(_0x1cbfxa,_0x1cbfx8){switch(_0x1cbfxa[_0xf3cf[16]][_0xf3cf[22]]){case _0xf3cf[16]:return User[_0xf3cf[17]](_0x1cbfxa[_0xf3cf[16]][_0xf3cf[15]],{attributes:[_0xf3cf[15]]})[_0xf3cf[12]](Util[_0xf3cf[14]](_0x1cbfxa[_0xf3cf[13]]))[_0xf3cf[12]](function(_0x1cbfxb){_0x1cbfx8[_0xf3cf[9]](200)[_0xf3cf[8]](_0x1cbfxb)})[_0xf3cf[11]](function(_0x1cbfx9){return handleError(_0x1cbfx8,_0x1cbfx9)});default:return SmsQueue[_0xf3cf[21]](_0xf3cf[20])[_0xf3cf[19]](Util[_0xf3cf[18]](_0x1cbfxa[_0xf3cf[13]]))[_0xf3cf[12]](function(_0x1cbfxb){_0x1cbfx8[_0xf3cf[9]](200)[_0xf3cf[8]](_0x1cbfxb)})[_0xf3cf[11]](function(_0x1cbfx9){return handleError(_0x1cbfx8,_0x1cbfx9)})}};exports[_0xf3cf[23]]=function(_0x1cbfxa,_0x1cbfx8){return SmsQueue[_0xf3cf[21]](_0xf3cf[20])[_0xf3cf[17]](_0x1cbfxa[_0xf3cf[25]][_0xf3cf[15]])[_0xf3cf[12]](function(_0x1cbfxc){if(!_0x1cbfxc){return _0x1cbfx8[_0xf3cf[24]](404)};return _0x1cbfx8[_0xf3cf[8]](_0x1cbfxc)})[_0xf3cf[11]](function(_0x1cbfx9){return handleError(_0x1cbfx8,_0x1cbfx9)})};exports[_0xf3cf[26]]=function(_0x1cbfxa,_0x1cbfx8){return SmsQueue[_0xf3cf[17]](_0x1cbfxa[_0xf3cf[25]][_0xf3cf[15]])[_0xf3cf[12]](function(_0x1cbfxe){if(!_0x1cbfxe){return _0x1cbfx8[_0xf3cf[24]](404)};return _0x1cbfxe[_0xf3cf[32]]({where:{role:_0xf3cf[28]},attributes:[_0xf3cf[15],_0xf3cf[29],_0xf3cf[30],_0xf3cf[31]]})})[_0xf3cf[12]](function(_0x1cbfxd){return _0x1cbfx8[_0xf3cf[9]](200)[_0xf3cf[8]]({rows:_0x1cbfxd,count:_0x1cbfxd[_0xf3cf[27]]})})[_0xf3cf[11]](function(_0x1cbfx9){return handleError(_0x1cbfx8,_0x1cbfx9)})};exports[_0xf3cf[33]]=function(_0x1cbfxa,_0x1cbfx8){return SmsQueue[_0xf3cf[33]](_0x1cbfxa[_0xf3cf[36]])[_0xf3cf[12]](function(_0x1cbfxc){return _0x1cbfx8[_0xf3cf[9]](201)[_0xf3cf[8]](_0x1cbfxc)})[_0xf3cf[11]](sequelize.UniqueConstraintError,function(_0x1cbfx9){return Util[_0xf3cf[35]][_0xf3cf[34]](_0x1cbfx8,_0x1cbfx9)})[_0xf3cf[11]](function(_0x1cbfx9){return handleError(_0x1cbfx8,_0x1cbfx9)})};exports[_0xf3cf[37]]=function(_0x1cbfxa,_0x1cbfx8){if(_0x1cbfxa[_0xf3cf[36]][_0xf3cf[15]]){delete _0x1cbfxa[_0xf3cf[36]][_0xf3cf[15]]};return SmsQueue[_0xf3cf[17]](_0x1cbfxa[_0xf3cf[25]][_0xf3cf[15]])[_0xf3cf[12]](function(_0x1cbfxc){if(!_0x1cbfxc){return _0x1cbfx8[_0xf3cf[24]](404)};var _0x1cbfxf=_[_0xf3cf[38]](_0x1cbfxc,_0x1cbfxa[_0xf3cf[36]]);return _0x1cbfxf[_0xf3cf[39]]()})[_0xf3cf[12]](function(_0x1cbfxc){return _0x1cbfx8[_0xf3cf[9]](200)[_0xf3cf[8]](_0x1cbfxc)})[_0xf3cf[11]](sequelize.UniqueConstraintError,function(_0x1cbfx9){return Util[_0xf3cf[35]][_0xf3cf[34]](_0x1cbfx8,_0x1cbfx9)})[_0xf3cf[11]](function(_0x1cbfx9){return handleError(_0x1cbfx8,_0x1cbfx9)})};exports[_0xf3cf[40]]=function(_0x1cbfxa,_0x1cbfx8,_0x1cbfx10){return SmsQueue[_0xf3cf[17]](_0x1cbfxa[_0xf3cf[25]][_0xf3cf[15]])[_0xf3cf[12]](function(_0x1cbfxc){if(!_0x1cbfxc){return _0x1cbfx8[_0xf3cf[24]](404)};var _0x1cbfx11=_[_0xf3cf[43]](_0x1cbfxa[_0xf3cf[36]][_0xf3cf[41]],function(_0x1cbfx12){return {UserId:_0x1cbfx12,penalty:_0x1cbfxa[_0xf3cf[36]][_0xf3cf[42]],SmsQueueId:_0x1cbfxc[_0xf3cf[15]],queue:_0x1cbfxc[_0xf3cf[29]]}});return UserHasSmsQueue[_0xf3cf[44]](_0x1cbfx11,{individualHooks:true})})[_0xf3cf[12]](function(){return _0x1cbfx8[_0xf3cf[24]](200)})[_0xf3cf[11]](function(_0x1cbfx9){return handleError(_0x1cbfx8,_0x1cbfx9)})};exports[_0xf3cf[45]]=function(_0x1cbfxa,_0x1cbfx8){return SmsQueue[_0xf3cf[17]](_0x1cbfxa[_0xf3cf[25]][_0xf3cf[15]])[_0xf3cf[12]](function(_0x1cbfxc){if(_0x1cbfxc){return _0x1cbfxc[_0xf3cf[46]](_0x1cbfxa[_0xf3cf[13]][_0xf3cf[41]],{individualHooks:true})}else {throw new Error(_0xf3cf[47])}})[_0xf3cf[12]](function(){return _0x1cbfx8[_0xf3cf[24]](202)})[_0xf3cf[11]](function(_0x1cbfx9){return handleError(_0x1cbfx8,_0x1cbfx9)})};exports[_0xf3cf[48]]=function(_0x1cbfxa,_0x1cbfx8){var _0x1cbfx13;return SmsQueue[_0xf3cf[17]](_0x1cbfxa[_0xf3cf[25]][_0xf3cf[15]])[_0xf3cf[12]](function(_0x1cbfxc){_0x1cbfx13=_0x1cbfxc;if(!_0x1cbfxc){return _0x1cbfx8[_0xf3cf[24]](404)};return _0x1cbfxc[_0xf3cf[48]]()})[_0xf3cf[12]](function(){return _0x1cbfx8[_0xf3cf[24]](204)})[_0xf3cf[11]](sequelize.ForeignKeyConstraintError,function(_0x1cbfx9){return Util[_0xf3cf[35]][_0xf3cf[52]](_0x1cbfx8,_0xf3cf[51],_0x1cbfx13[_0xf3cf[29]],_0x1cbfx9)})[_0xf3cf[11]](function(_0x1cbfx9){console[_0xf3cf[50]](_0xf3cf[49],_0x1cbfx9);return handleError(_0x1cbfx8,_0x1cbfx9)})};exports[_0xf3cf[53]]=function(_0x1cbfxa,_0x1cbfx8){return SmsQueue[_0xf3cf[48]]({where:{id:_0x1cbfxa[_0xf3cf[13]][_0xf3cf[54]]},individualHooks:true})[_0xf3cf[12]](function(){return _0x1cbfx8[_0xf3cf[24]](204)})[_0xf3cf[11]](function(_0x1cbfx9){return handleError(_0x1cbfx8,_0x1cbfx9)})} \ No newline at end of file +var _0x992f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x53\x6D\x73\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x55\x73\x65\x72\x48\x61\x73\x53\x6D\x73\x51\x75\x65\x75\x65","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x53\x6D\x73\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x69\x64","\x75\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x66\x61\x75\x6C\x74","\x73\x63\x6F\x70\x65","\x72\x6F\x6C\x65","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x70\x61\x72\x61\x6D\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x6C\x65\x6E\x67\x74\x68","\x61\x67\x65\x6E\x74","\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x67\x65\x74\x55\x73\x65\x72\x73","\x63\x72\x65\x61\x74\x65","\x68\x61\x6E\x64\x6C\x65\x55\x6E\x69\x71\x75\x65\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x45\x72\x72\x6F\x72","\x65\x72\x72\x6F\x72\x4D\x61\x6E\x61\x67\x65\x72","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x61\x67\x65\x6E\x74\x73","\x70\x65\x6E\x61\x6C\x74\x79","\x6D\x61\x70","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x72\x65\x6D\x6F\x76\x65\x55\x73\x65\x72\x73","\x53\x6D\x73\x51\x75\x65\x75\x65\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79","\x65\x72\x72","\x65\x72\x72\x6F\x72","\x71\x75\x65\x75\x65","\x68\x61\x6E\x64\x6C\x65\x46\x6F\x72\x65\x69\x67\x6E\x4B\x65\x79\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x45\x72\x72\x6F\x72","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0x992f[0];var _=require(_0x992f[1]);var Util=require(_0x992f[2]);var SmsQueue=require(_0x992f[4])[_0x992f[3]];var User=require(_0x992f[4])[_0x992f[5]];var sequelize=require(_0x992f[4])[_0x992f[6]];var UserHasSmsQueue=require(_0x992f[4])[_0x992f[7]];function handleError(_0x700ex8,_0x700ex9){return _0x700ex8[_0x992f[9]](500)[_0x992f[8]](_0x700ex9)}exports[_0x992f[10]]=function(_0x700exa,_0x700ex8){switch(_0x700exa[_0x992f[16]][_0x992f[22]]){case _0x992f[16]:return User[_0x992f[17]](_0x700exa[_0x992f[16]][_0x992f[15]],{attributes:[_0x992f[15]]})[_0x992f[12]](Util[_0x992f[14]](_0x700exa[_0x992f[13]]))[_0x992f[12]](function(_0x700exb){_0x700ex8[_0x992f[9]](200)[_0x992f[8]](_0x700exb)})[_0x992f[11]](function(_0x700ex9){return handleError(_0x700ex8,_0x700ex9)});default:return SmsQueue[_0x992f[21]](_0x992f[20])[_0x992f[19]](Util[_0x992f[18]](_0x700exa[_0x992f[13]]))[_0x992f[12]](function(_0x700exb){_0x700ex8[_0x992f[9]](200)[_0x992f[8]](_0x700exb)})[_0x992f[11]](function(_0x700ex9){return handleError(_0x700ex8,_0x700ex9)})}};exports[_0x992f[23]]=function(_0x700exa,_0x700ex8){return SmsQueue[_0x992f[21]](_0x992f[20])[_0x992f[17]](_0x700exa[_0x992f[25]][_0x992f[15]])[_0x992f[12]](function(_0x700exc){if(!_0x700exc){return _0x700ex8[_0x992f[24]](404)};return _0x700ex8[_0x992f[8]](_0x700exc)})[_0x992f[11]](function(_0x700ex9){return handleError(_0x700ex8,_0x700ex9)})};exports[_0x992f[26]]=function(_0x700exa,_0x700ex8){return SmsQueue[_0x992f[17]](_0x700exa[_0x992f[25]][_0x992f[15]])[_0x992f[12]](function(_0x700exe){if(!_0x700exe){return _0x700ex8[_0x992f[24]](404)};return _0x700exe[_0x992f[32]]({where:{role:_0x992f[28]},attributes:[_0x992f[15],_0x992f[29],_0x992f[30],_0x992f[31]]})})[_0x992f[12]](function(_0x700exd){return _0x700ex8[_0x992f[9]](200)[_0x992f[8]]({rows:_0x700exd,count:_0x700exd[_0x992f[27]]})})[_0x992f[11]](function(_0x700ex9){return handleError(_0x700ex8,_0x700ex9)})};exports[_0x992f[33]]=function(_0x700exa,_0x700ex8){return SmsQueue[_0x992f[33]](_0x700exa[_0x992f[36]])[_0x992f[12]](function(_0x700exc){return _0x700ex8[_0x992f[9]](201)[_0x992f[8]](_0x700exc)})[_0x992f[11]](sequelize.UniqueConstraintError,function(_0x700ex9){return Util[_0x992f[35]][_0x992f[34]](_0x700ex8,_0x700ex9)})[_0x992f[11]](function(_0x700ex9){return handleError(_0x700ex8,_0x700ex9)})};exports[_0x992f[37]]=function(_0x700exa,_0x700ex8){if(_0x700exa[_0x992f[36]][_0x992f[15]]){delete _0x700exa[_0x992f[36]][_0x992f[15]]};return SmsQueue[_0x992f[17]](_0x700exa[_0x992f[25]][_0x992f[15]])[_0x992f[12]](function(_0x700exc){if(!_0x700exc){return _0x700ex8[_0x992f[24]](404)};var _0x700exf=_[_0x992f[38]](_0x700exc,_0x700exa[_0x992f[36]]);return _0x700exf[_0x992f[39]]()})[_0x992f[12]](function(_0x700exc){return _0x700ex8[_0x992f[9]](200)[_0x992f[8]](_0x700exc)})[_0x992f[11]](sequelize.UniqueConstraintError,function(_0x700ex9){return Util[_0x992f[35]][_0x992f[34]](_0x700ex8,_0x700ex9)})[_0x992f[11]](function(_0x700ex9){return handleError(_0x700ex8,_0x700ex9)})};exports[_0x992f[40]]=function(_0x700exa,_0x700ex8,_0x700ex10){return SmsQueue[_0x992f[17]](_0x700exa[_0x992f[25]][_0x992f[15]])[_0x992f[12]](function(_0x700exc){if(!_0x700exc){return _0x700ex8[_0x992f[24]](404)};var _0x700ex11=_[_0x992f[43]](_0x700exa[_0x992f[36]][_0x992f[41]],function(_0x700ex12){return {UserId:_0x700ex12,penalty:_0x700exa[_0x992f[36]][_0x992f[42]],SmsQueueId:_0x700exc[_0x992f[15]],queue:_0x700exc[_0x992f[29]]}});return UserHasSmsQueue[_0x992f[44]](_0x700ex11,{individualHooks:true})})[_0x992f[12]](function(){return _0x700ex8[_0x992f[24]](200)})[_0x992f[11]](function(_0x700ex9){return handleError(_0x700ex8,_0x700ex9)})};exports[_0x992f[45]]=function(_0x700exa,_0x700ex8){return SmsQueue[_0x992f[17]](_0x700exa[_0x992f[25]][_0x992f[15]])[_0x992f[12]](function(_0x700exc){if(_0x700exc){return _0x700exc[_0x992f[46]](_0x700exa[_0x992f[13]][_0x992f[41]],{individualHooks:true})}else {throw new Error(_0x992f[47])}})[_0x992f[12]](function(){return _0x700ex8[_0x992f[24]](202)})[_0x992f[11]](function(_0x700ex9){return handleError(_0x700ex8,_0x700ex9)})};exports[_0x992f[48]]=function(_0x700exa,_0x700ex8){var _0x700ex13;return SmsQueue[_0x992f[17]](_0x700exa[_0x992f[25]][_0x992f[15]])[_0x992f[12]](function(_0x700exc){_0x700ex13=_0x700exc;if(!_0x700exc){return _0x700ex8[_0x992f[24]](404)};return _0x700exc[_0x992f[48]]()})[_0x992f[12]](function(){return _0x700ex8[_0x992f[24]](204)})[_0x992f[11]](sequelize.ForeignKeyConstraintError,function(_0x700ex9){return Util[_0x992f[35]][_0x992f[52]](_0x700ex8,_0x992f[51],_0x700ex13[_0x992f[29]],_0x700ex9)})[_0x992f[11]](function(_0x700ex9){console[_0x992f[50]](_0x992f[49],_0x700ex9);return handleError(_0x700ex8,_0x700ex9)})};exports[_0x992f[53]]=function(_0x700exa,_0x700ex8){return SmsQueue[_0x992f[48]]({where:{id:_0x700exa[_0x992f[13]][_0x992f[54]]},individualHooks:true})[_0x992f[12]](function(){return _0x700ex8[_0x992f[24]](204)})[_0x992f[11]](function(_0x700ex9){return handleError(_0x700ex8,_0x700ex9)})} \ No newline at end of file diff --git a/server/api/sms_queue/sms_queue.socket.js b/server/api/sms_queue/sms_queue.socket.js index 9995823..b54e968 100644 --- a/server/api/sms_queue/sms_queue.socket.js +++ b/server/api/sms_queue/sms_queue.socket.js @@ -1 +1 @@ -var _0x4ee3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x53\x6D\x73\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x73\x6D\x73\x5F\x71\x75\x65\x75\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x73\x6D\x73\x5F\x71\x75\x65\x75\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x4ee3[0];var SmsQueue=require(_0x4ee3[2])[_0x4ee3[1]];exports[_0x4ee3[3]]=function(_0x4672x2){SmsQueue[_0x4ee3[4]](function(_0x4672x3){onSave(_0x4672x2,_0x4672x3)});SmsQueue[_0x4ee3[5]](function(_0x4672x3){onRemove(_0x4672x2,_0x4672x3)})};function onSave(_0x4672x2,_0x4672x3,_0x4672x5){_0x4672x2[_0x4ee3[7]](_0x4ee3[6],_0x4672x3)}function onRemove(_0x4672x2,_0x4672x3,_0x4672x5){_0x4672x2[_0x4ee3[7]](_0x4ee3[8],_0x4672x3)} \ No newline at end of file +var _0xc1aa=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x53\x6D\x73\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x73\x6D\x73\x5F\x71\x75\x65\x75\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x73\x6D\x73\x5F\x71\x75\x65\x75\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0xc1aa[0];var SmsQueue=require(_0xc1aa[2])[_0xc1aa[1]];exports[_0xc1aa[3]]=function(_0x88c5x2){SmsQueue[_0xc1aa[4]](function(_0x88c5x3){onSave(_0x88c5x2,_0x88c5x3)});SmsQueue[_0xc1aa[5]](function(_0x88c5x3){onRemove(_0x88c5x2,_0x88c5x3)})};function onSave(_0x88c5x2,_0x88c5x3,_0x88c5x5){_0x88c5x2[_0xc1aa[7]](_0xc1aa[6],_0x88c5x3)}function onRemove(_0x88c5x2,_0x88c5x3,_0x88c5x5){_0x88c5x2[_0xc1aa[7]](_0xc1aa[8],_0x88c5x3)} \ No newline at end of file diff --git a/server/api/sms_room/index.js b/server/api/sms_room/index.js index 6d5a387..6b8e9bb 100644 --- a/server/api/sms_room/index.js +++ b/server/api/sms_room/index.js @@ -1 +1 @@ -var _0x8904=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x73\x6D\x73\x5F\x72\x6F\x6F\x6D\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x53\x6D\x73","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x61\x67\x65\x6E\x74\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x3A\x69\x64\x2F\x6D\x65\x73\x73\x61\x67\x65\x73","\x63\x72\x65\x61\x74\x65\x4D\x65\x73\x73\x61\x67\x65","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x75\x70\x64\x61\x74\x65\x41\x67\x65\x6E\x74\x73","\x75\x70\x64\x61\x74\x65\x50\x61\x74\x63\x68","\x70\x61\x74\x63\x68","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x8904[0];var express=require(_0x8904[1]);var auth=require(_0x8904[2]);var controller=require(_0x8904[3]);var license=require(_0x8904[4]);var router=express.Router();router[_0x8904[13]](_0x8904[5],license[_0x8904[6]](),license[_0x8904[7]](),auth[_0x8904[8]](),auth[_0x8904[11]]([11],[_0x8904[9],_0x8904[10]]),controller[_0x8904[12]]);router[_0x8904[13]](_0x8904[14],license[_0x8904[6]](),license[_0x8904[7]](),auth[_0x8904[8]](),auth[_0x8904[11]]([11],[_0x8904[9],_0x8904[10]]),controller[_0x8904[15]]);router[_0x8904[13]](_0x8904[16],license[_0x8904[6]](),license[_0x8904[7]](),auth[_0x8904[8]](),auth[_0x8904[11]]([11],[_0x8904[9],_0x8904[10]]),controller[_0x8904[17]]);router[_0x8904[19]](_0x8904[5],license[_0x8904[6]](),license[_0x8904[7]](),auth[_0x8904[8]](),auth[_0x8904[11]]([11],[_0x8904[9]]),controller[_0x8904[18]]);router[_0x8904[19]](_0x8904[20],license[_0x8904[6]](),license[_0x8904[7]](),auth[_0x8904[8]](),auth[_0x8904[11]]([11],[_0x8904[9]]),controller[_0x8904[21]]);router[_0x8904[23]](_0x8904[14],license[_0x8904[6]](),license[_0x8904[7]](),auth[_0x8904[8]](),auth[_0x8904[11]]([11],[_0x8904[9],_0x8904[10]]),controller[_0x8904[22]]);router[_0x8904[23]](_0x8904[16],license[_0x8904[6]](),license[_0x8904[7]](),auth[_0x8904[8]](),auth[_0x8904[11]]([11],[_0x8904[9],_0x8904[10]]),controller[_0x8904[24]]);router[_0x8904[26]](_0x8904[14],license[_0x8904[6]](),license[_0x8904[7]](),auth[_0x8904[8]](),auth[_0x8904[11]]([11],[_0x8904[9],_0x8904[10]]),controller[_0x8904[25]]);router[_0x8904[28]](_0x8904[14],license[_0x8904[6]](),license[_0x8904[7]](),auth[_0x8904[8]](),auth[_0x8904[11]]([11],[_0x8904[9]]),controller[_0x8904[27]]);router[_0x8904[28]](_0x8904[5],license[_0x8904[6]](),license[_0x8904[7]](),auth[_0x8904[8]](),auth[_0x8904[11]]([11],[_0x8904[9]]),controller[_0x8904[29]]);module[_0x8904[30]]=router \ No newline at end of file +var _0x2f4e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x73\x6D\x73\x5F\x72\x6F\x6F\x6D\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x53\x6D\x73","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x61\x67\x65\x6E\x74\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x3A\x69\x64\x2F\x6D\x65\x73\x73\x61\x67\x65\x73","\x63\x72\x65\x61\x74\x65\x4D\x65\x73\x73\x61\x67\x65","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x75\x70\x64\x61\x74\x65\x41\x67\x65\x6E\x74\x73","\x75\x70\x64\x61\x74\x65\x50\x61\x74\x63\x68","\x70\x61\x74\x63\x68","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x2f4e[0];var express=require(_0x2f4e[1]);var auth=require(_0x2f4e[2]);var controller=require(_0x2f4e[3]);var license=require(_0x2f4e[4]);var router=express.Router();router[_0x2f4e[13]](_0x2f4e[5],license[_0x2f4e[6]](),license[_0x2f4e[7]](),auth[_0x2f4e[8]](),auth[_0x2f4e[11]]([11],[_0x2f4e[9],_0x2f4e[10]]),controller[_0x2f4e[12]]);router[_0x2f4e[13]](_0x2f4e[14],license[_0x2f4e[6]](),license[_0x2f4e[7]](),auth[_0x2f4e[8]](),auth[_0x2f4e[11]]([11],[_0x2f4e[9],_0x2f4e[10]]),controller[_0x2f4e[15]]);router[_0x2f4e[13]](_0x2f4e[16],license[_0x2f4e[6]](),license[_0x2f4e[7]](),auth[_0x2f4e[8]](),auth[_0x2f4e[11]]([11],[_0x2f4e[9],_0x2f4e[10]]),controller[_0x2f4e[17]]);router[_0x2f4e[19]](_0x2f4e[5],license[_0x2f4e[6]](),license[_0x2f4e[7]](),auth[_0x2f4e[8]](),auth[_0x2f4e[11]]([11],[_0x2f4e[9]]),controller[_0x2f4e[18]]);router[_0x2f4e[19]](_0x2f4e[20],license[_0x2f4e[6]](),license[_0x2f4e[7]](),auth[_0x2f4e[8]](),auth[_0x2f4e[11]]([11],[_0x2f4e[9]]),controller[_0x2f4e[21]]);router[_0x2f4e[23]](_0x2f4e[14],license[_0x2f4e[6]](),license[_0x2f4e[7]](),auth[_0x2f4e[8]](),auth[_0x2f4e[11]]([11],[_0x2f4e[9],_0x2f4e[10]]),controller[_0x2f4e[22]]);router[_0x2f4e[23]](_0x2f4e[16],license[_0x2f4e[6]](),license[_0x2f4e[7]](),auth[_0x2f4e[8]](),auth[_0x2f4e[11]]([11],[_0x2f4e[9],_0x2f4e[10]]),controller[_0x2f4e[24]]);router[_0x2f4e[26]](_0x2f4e[14],license[_0x2f4e[6]](),license[_0x2f4e[7]](),auth[_0x2f4e[8]](),auth[_0x2f4e[11]]([11],[_0x2f4e[9],_0x2f4e[10]]),controller[_0x2f4e[25]]);router[_0x2f4e[28]](_0x2f4e[14],license[_0x2f4e[6]](),license[_0x2f4e[7]](),auth[_0x2f4e[8]](),auth[_0x2f4e[11]]([11],[_0x2f4e[9]]),controller[_0x2f4e[27]]);router[_0x2f4e[28]](_0x2f4e[5],license[_0x2f4e[6]](),license[_0x2f4e[7]](),auth[_0x2f4e[8]](),auth[_0x2f4e[11]]([11],[_0x2f4e[9]]),controller[_0x2f4e[29]]);module[_0x2f4e[30]]=router \ No newline at end of file diff --git a/server/api/sms_room/sms_room.controller.js b/server/api/sms_room/sms_room.controller.js index fe2b57d..5ac705e 100644 --- a/server/api/sms_room/sms_room.controller.js +++ b/server/api/sms_room/sms_room.controller.js @@ -1 +1 @@ -var _0x47e0=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x53\x6D\x73\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x53\x6D\x73\x4D\x65\x73\x73\x61\x67\x65","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x66\x61\x75\x6C\x74","\x61\x67\x65\x6E\x74","\x69\x64","\x75\x73\x65\x72","\x73\x63\x6F\x70\x65","\x72\x6F\x6C\x65","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x67\x65\x74\x55\x73\x65\x72\x73","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x63\x72\x65\x61\x74\x65\x4D\x65\x73\x73\x61\x67\x65","\x55\x73\x65\x72\x49\x64","\x53\x6D\x73\x52\x6F\x6F\x6D\x49\x64","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x75\x70\x64\x61\x74\x65\x41\x67\x65\x6E\x74\x73","\x61\x67\x65\x6E\x74\x73","\x73\x65\x74\x55\x73\x65\x72\x73","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x75\x70\x64\x61\x74\x65\x50\x61\x74\x63\x68","\x74\x61\x67\x73","\x2C","\x73\x70\x6C\x69\x74"];_0x47e0[0];var _=require(_0x47e0[1]);var Util=require(_0x47e0[2]);var SmsRoom=require(_0x47e0[4])[_0x47e0[3]];var SmsMessage=require(_0x47e0[4])[_0x47e0[5]];function handleError(_0x59e1x6,_0x59e1x7){return _0x59e1x6[_0x47e0[7]](500)[_0x47e0[6]](_0x59e1x7)}exports[_0x47e0[8]]=function(_0x59e1x8,_0x59e1x6){switch(_0x59e1x8[_0x47e0[17]][_0x47e0[19]]){case _0x47e0[15]:return SmsRoom[_0x47e0[18]](_0x47e0[14],{method:[_0x47e0[15],_0x59e1x8[_0x47e0[17]][_0x47e0[16]]]})[_0x47e0[13]](Util[_0x47e0[12]](_0x59e1x8[_0x47e0[11]]))[_0x47e0[10]](function(_0x59e1x9){return _0x59e1x6[_0x47e0[7]](200)[_0x47e0[6]](_0x59e1x9)})[_0x47e0[9]](function(_0x59e1x7){return handleError(_0x59e1x6,_0x59e1x7)});default:return SmsRoom[_0x47e0[18]](_0x47e0[14])[_0x47e0[13]](Util[_0x47e0[12]](_0x59e1x8[_0x47e0[11]]))[_0x47e0[10]](function(_0x59e1x9){return _0x59e1x6[_0x47e0[7]](200)[_0x47e0[6]](_0x59e1x9)})[_0x47e0[9]](function(_0x59e1x7){return handleError(_0x59e1x6,_0x59e1x7)})}};exports[_0x47e0[20]]=function(_0x59e1x8,_0x59e1x6){return SmsRoom[_0x47e0[18]](_0x47e0[14])[_0x47e0[23]](_0x59e1x8[_0x47e0[22]][_0x47e0[16]])[_0x47e0[10]](function(_0x59e1xa){if(!_0x59e1xa){return _0x59e1x6[_0x47e0[21]](404)};return _0x59e1x6[_0x47e0[6]](_0x59e1xa)})[_0x47e0[9]](function(_0x59e1x7){return handleError(_0x59e1x6,_0x59e1x7)})};exports[_0x47e0[24]]=function(_0x59e1x8,_0x59e1x6,_0x59e1xb){return SmsRoom[_0x47e0[23]](_0x59e1x8[_0x47e0[22]][_0x47e0[16]])[_0x47e0[10]](function(_0x59e1xa){if(!_0x59e1xa){return _0x59e1x6[_0x47e0[21]](404)};return _0x59e1xa[_0x47e0[29]]({attributes:[_0x47e0[16],_0x47e0[25],_0x47e0[26],_0x47e0[27],_0x47e0[19],_0x47e0[28]]})})[_0x47e0[10]](function(_0x59e1xc){return _0x59e1x6[_0x47e0[6]](_0x59e1xc)})[_0x47e0[9]](function(_0x59e1x7){return handleError(_0x59e1x6,_0x59e1x7)})};exports[_0x47e0[30]]=function(_0x59e1x8,_0x59e1x6){return SmsRoom[_0x47e0[30]](_0x59e1x8[_0x47e0[31]])[_0x47e0[10]](function(_0x59e1xd){return _0x59e1x6[_0x47e0[7]](201)[_0x47e0[6]](_0x59e1xd)})[_0x47e0[9]](function(_0x59e1x7){return handleError(_0x59e1x6,_0x59e1x7)})};exports[_0x47e0[32]]=function(_0x59e1x8,_0x59e1x6,_0x59e1xb){_0x59e1x8[_0x47e0[31]][_0x47e0[33]]=_0x59e1x8[_0x47e0[17]][_0x47e0[16]];_0x59e1x8[_0x47e0[31]][_0x47e0[34]]=_0x59e1x8[_0x47e0[22]][_0x47e0[16]];return SmsMessage[_0x47e0[30]](_0x59e1x8[_0x47e0[31]])[_0x47e0[10]](function(_0x59e1xd){return _0x59e1x6[_0x47e0[7]](201)[_0x47e0[6]](_0x59e1xd)})[_0x47e0[9]](function(_0x59e1x7){return handleError(_0x59e1x6,_0x59e1x7)})};exports[_0x47e0[35]]=function(_0x59e1x8,_0x59e1x6){if(_0x59e1x8[_0x47e0[31]][_0x47e0[16]]){delete _0x59e1x8[_0x47e0[31]][_0x47e0[16]]};return SmsRoom[_0x47e0[23]](_0x59e1x8[_0x47e0[22]][_0x47e0[16]])[_0x47e0[10]](function(_0x59e1xa){if(!_0x59e1xa){return _0x59e1x6[_0x47e0[21]](404)};var _0x59e1xe=_[_0x47e0[36]](_0x59e1xa,_0x59e1x8[_0x47e0[31]]);return _0x59e1xe[_0x47e0[37]]()})[_0x47e0[10]](function(_0x59e1xa){return _0x59e1x6[_0x47e0[7]](200)[_0x47e0[6]](_0x59e1xa)})[_0x47e0[9]](function(_0x59e1x7){return handleError(_0x59e1x6,_0x59e1x7)})};exports[_0x47e0[38]]=function(_0x59e1x8,_0x59e1x6,_0x59e1xb){return SmsRoom[_0x47e0[23]](_0x59e1x8[_0x47e0[22]][_0x47e0[16]])[_0x47e0[10]](function(_0x59e1xa){if(!_0x59e1xa){return _0x59e1x6[_0x47e0[21]](404)};return _0x59e1xa[_0x47e0[40]](_0x59e1x8[_0x47e0[31]][_0x47e0[39]],{individualHooks:true})})[_0x47e0[10]](function(){return _0x59e1x6[_0x47e0[21]](200)})[_0x47e0[9]](function(_0x59e1x7){return handleError(_0x59e1x6,_0x59e1x7)})};exports[_0x47e0[41]]=function(_0x59e1x8,_0x59e1x6){return SmsRoom[_0x47e0[23]](_0x59e1x8[_0x47e0[22]][_0x47e0[16]])[_0x47e0[10]](function(_0x59e1xa){if(!_0x59e1xa){return _0x59e1x6[_0x47e0[21]](404)};return _0x59e1xa[_0x47e0[41]]()})[_0x47e0[10]](function(){return _0x59e1x6[_0x47e0[21]](204)})[_0x47e0[9]](function(_0x59e1x7){return handleError(_0x59e1x6,_0x59e1x7)})};exports[_0x47e0[42]]=function(_0x59e1x8,_0x59e1x6){return SmsRoom[_0x47e0[41]]({where:{id:_0x59e1x8[_0x47e0[11]][_0x47e0[43]]},individualHooks:true})[_0x47e0[10]](function(){return _0x59e1x6[_0x47e0[21]](200)})[_0x47e0[9]](function(_0x59e1x7){return handleError(_0x59e1x6,_0x59e1x7)})};exports[_0x47e0[44]]=function(_0x59e1x8,_0x59e1x6,_0x59e1xb){var _0x59e1xf={tags:_0x59e1x8[_0x47e0[31]][_0x47e0[45]]};var _0x59e1x10={where:{id:_0x59e1x8[_0x47e0[22]][_0x47e0[16]][_0x47e0[47]](_0x47e0[46])}};return SmsRoom[_0x47e0[35]](_0x59e1xf,_0x59e1x10)[_0x47e0[10]](function(_0x59e1x11){if(!_0x59e1x11){return _0x59e1x6[_0x47e0[21]](404)};return _0x59e1x11})[_0x47e0[10]](function(_0x59e1x11){return _0x59e1x6[_0x47e0[21]](200)})[_0x47e0[9]](function(_0x59e1x7){return handleError(_0x59e1x6,_0x59e1x7)})} \ No newline at end of file +var _0xf2b0=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x53\x6D\x73\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x53\x6D\x73\x4D\x65\x73\x73\x61\x67\x65","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x66\x61\x75\x6C\x74","\x61\x67\x65\x6E\x74","\x69\x64","\x75\x73\x65\x72","\x73\x63\x6F\x70\x65","\x72\x6F\x6C\x65","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x67\x65\x74\x55\x73\x65\x72\x73","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x63\x72\x65\x61\x74\x65\x4D\x65\x73\x73\x61\x67\x65","\x55\x73\x65\x72\x49\x64","\x53\x6D\x73\x52\x6F\x6F\x6D\x49\x64","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x75\x70\x64\x61\x74\x65\x41\x67\x65\x6E\x74\x73","\x61\x67\x65\x6E\x74\x73","\x73\x65\x74\x55\x73\x65\x72\x73","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x75\x70\x64\x61\x74\x65\x50\x61\x74\x63\x68","\x74\x61\x67\x73","\x2C","\x73\x70\x6C\x69\x74"];_0xf2b0[0];var _=require(_0xf2b0[1]);var Util=require(_0xf2b0[2]);var SmsRoom=require(_0xf2b0[4])[_0xf2b0[3]];var SmsMessage=require(_0xf2b0[4])[_0xf2b0[5]];function handleError(_0xd7fax6,_0xd7fax7){return _0xd7fax6[_0xf2b0[7]](500)[_0xf2b0[6]](_0xd7fax7)}exports[_0xf2b0[8]]=function(_0xd7fax8,_0xd7fax6){switch(_0xd7fax8[_0xf2b0[17]][_0xf2b0[19]]){case _0xf2b0[15]:return SmsRoom[_0xf2b0[18]](_0xf2b0[14],{method:[_0xf2b0[15],_0xd7fax8[_0xf2b0[17]][_0xf2b0[16]]]})[_0xf2b0[13]](Util[_0xf2b0[12]](_0xd7fax8[_0xf2b0[11]]))[_0xf2b0[10]](function(_0xd7fax9){return _0xd7fax6[_0xf2b0[7]](200)[_0xf2b0[6]](_0xd7fax9)})[_0xf2b0[9]](function(_0xd7fax7){return handleError(_0xd7fax6,_0xd7fax7)});default:return SmsRoom[_0xf2b0[18]](_0xf2b0[14])[_0xf2b0[13]](Util[_0xf2b0[12]](_0xd7fax8[_0xf2b0[11]]))[_0xf2b0[10]](function(_0xd7fax9){return _0xd7fax6[_0xf2b0[7]](200)[_0xf2b0[6]](_0xd7fax9)})[_0xf2b0[9]](function(_0xd7fax7){return handleError(_0xd7fax6,_0xd7fax7)})}};exports[_0xf2b0[20]]=function(_0xd7fax8,_0xd7fax6){return SmsRoom[_0xf2b0[18]](_0xf2b0[14])[_0xf2b0[23]](_0xd7fax8[_0xf2b0[22]][_0xf2b0[16]])[_0xf2b0[10]](function(_0xd7faxa){if(!_0xd7faxa){return _0xd7fax6[_0xf2b0[21]](404)};return _0xd7fax6[_0xf2b0[6]](_0xd7faxa)})[_0xf2b0[9]](function(_0xd7fax7){return handleError(_0xd7fax6,_0xd7fax7)})};exports[_0xf2b0[24]]=function(_0xd7fax8,_0xd7fax6,_0xd7faxb){return SmsRoom[_0xf2b0[23]](_0xd7fax8[_0xf2b0[22]][_0xf2b0[16]])[_0xf2b0[10]](function(_0xd7faxa){if(!_0xd7faxa){return _0xd7fax6[_0xf2b0[21]](404)};return _0xd7faxa[_0xf2b0[29]]({attributes:[_0xf2b0[16],_0xf2b0[25],_0xf2b0[26],_0xf2b0[27],_0xf2b0[19],_0xf2b0[28]]})})[_0xf2b0[10]](function(_0xd7faxc){return _0xd7fax6[_0xf2b0[6]](_0xd7faxc)})[_0xf2b0[9]](function(_0xd7fax7){return handleError(_0xd7fax6,_0xd7fax7)})};exports[_0xf2b0[30]]=function(_0xd7fax8,_0xd7fax6){return SmsRoom[_0xf2b0[30]](_0xd7fax8[_0xf2b0[31]])[_0xf2b0[10]](function(_0xd7faxd){return _0xd7fax6[_0xf2b0[7]](201)[_0xf2b0[6]](_0xd7faxd)})[_0xf2b0[9]](function(_0xd7fax7){return handleError(_0xd7fax6,_0xd7fax7)})};exports[_0xf2b0[32]]=function(_0xd7fax8,_0xd7fax6,_0xd7faxb){_0xd7fax8[_0xf2b0[31]][_0xf2b0[33]]=_0xd7fax8[_0xf2b0[17]][_0xf2b0[16]];_0xd7fax8[_0xf2b0[31]][_0xf2b0[34]]=_0xd7fax8[_0xf2b0[22]][_0xf2b0[16]];return SmsMessage[_0xf2b0[30]](_0xd7fax8[_0xf2b0[31]])[_0xf2b0[10]](function(_0xd7faxd){return _0xd7fax6[_0xf2b0[7]](201)[_0xf2b0[6]](_0xd7faxd)})[_0xf2b0[9]](function(_0xd7fax7){return handleError(_0xd7fax6,_0xd7fax7)})};exports[_0xf2b0[35]]=function(_0xd7fax8,_0xd7fax6){if(_0xd7fax8[_0xf2b0[31]][_0xf2b0[16]]){delete _0xd7fax8[_0xf2b0[31]][_0xf2b0[16]]};return SmsRoom[_0xf2b0[23]](_0xd7fax8[_0xf2b0[22]][_0xf2b0[16]])[_0xf2b0[10]](function(_0xd7faxa){if(!_0xd7faxa){return _0xd7fax6[_0xf2b0[21]](404)};var _0xd7faxe=_[_0xf2b0[36]](_0xd7faxa,_0xd7fax8[_0xf2b0[31]]);return _0xd7faxe[_0xf2b0[37]]()})[_0xf2b0[10]](function(_0xd7faxa){return _0xd7fax6[_0xf2b0[7]](200)[_0xf2b0[6]](_0xd7faxa)})[_0xf2b0[9]](function(_0xd7fax7){return handleError(_0xd7fax6,_0xd7fax7)})};exports[_0xf2b0[38]]=function(_0xd7fax8,_0xd7fax6,_0xd7faxb){return SmsRoom[_0xf2b0[23]](_0xd7fax8[_0xf2b0[22]][_0xf2b0[16]])[_0xf2b0[10]](function(_0xd7faxa){if(!_0xd7faxa){return _0xd7fax6[_0xf2b0[21]](404)};return _0xd7faxa[_0xf2b0[40]](_0xd7fax8[_0xf2b0[31]][_0xf2b0[39]],{individualHooks:true})})[_0xf2b0[10]](function(){return _0xd7fax6[_0xf2b0[21]](200)})[_0xf2b0[9]](function(_0xd7fax7){return handleError(_0xd7fax6,_0xd7fax7)})};exports[_0xf2b0[41]]=function(_0xd7fax8,_0xd7fax6){return SmsRoom[_0xf2b0[23]](_0xd7fax8[_0xf2b0[22]][_0xf2b0[16]])[_0xf2b0[10]](function(_0xd7faxa){if(!_0xd7faxa){return _0xd7fax6[_0xf2b0[21]](404)};return _0xd7faxa[_0xf2b0[41]]()})[_0xf2b0[10]](function(){return _0xd7fax6[_0xf2b0[21]](204)})[_0xf2b0[9]](function(_0xd7fax7){return handleError(_0xd7fax6,_0xd7fax7)})};exports[_0xf2b0[42]]=function(_0xd7fax8,_0xd7fax6){return SmsRoom[_0xf2b0[41]]({where:{id:_0xd7fax8[_0xf2b0[11]][_0xf2b0[43]]},individualHooks:true})[_0xf2b0[10]](function(){return _0xd7fax6[_0xf2b0[21]](200)})[_0xf2b0[9]](function(_0xd7fax7){return handleError(_0xd7fax6,_0xd7fax7)})};exports[_0xf2b0[44]]=function(_0xd7fax8,_0xd7fax6,_0xd7faxb){var _0xd7faxf={tags:_0xd7fax8[_0xf2b0[31]][_0xf2b0[45]]};var _0xd7fax10={where:{id:_0xd7fax8[_0xf2b0[22]][_0xf2b0[16]][_0xf2b0[47]](_0xf2b0[46])}};return SmsRoom[_0xf2b0[35]](_0xd7faxf,_0xd7fax10)[_0xf2b0[10]](function(_0xd7fax11){if(!_0xd7fax11){return _0xd7fax6[_0xf2b0[21]](404)};return _0xd7fax11})[_0xf2b0[10]](function(_0xd7fax11){return _0xd7fax6[_0xf2b0[21]](200)})[_0xf2b0[9]](function(_0xd7fax7){return handleError(_0xd7fax6,_0xd7fax7)})} \ No newline at end of file diff --git a/server/api/sms_room/sms_room.socket.js b/server/api/sms_room/sms_room.socket.js index bf92eb9..8b9c729 100644 --- a/server/api/sms_room/sms_room.socket.js +++ b/server/api/sms_room/sms_room.socket.js @@ -1 +1 @@ -var _0x4f2e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x53\x6D\x73\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x72\x6F\x6C\x65","\x61\x67\x65\x6E\x74","\x75\x73\x65\x72\x49\x64","\x4F\x50\x45\x4E","\x73\x74\x61\x74\x75\x73","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x73\x6D\x73\x5F\x72\x6F\x6F\x6D\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x68\x61\x6E\x67\x65\x64","\x61\x64\x6D\x69\x6E","\x73\x6D\x73\x5F\x72\x6F\x6F\x6D\x3A\x75\x70\x64\x61\x74\x65","\x73\x6D\x73\x5F\x72\x6F\x6F\x6D\x3A\x72\x65\x6D\x6F\x76\x65"];_0x4f2e[0];var SmsRoom=require(_0x4f2e[2])[_0x4f2e[1]];exports[_0x4f2e[3]]=function(_0xae00x2){SmsRoom[_0x4f2e[9]](function(_0xae00x3,_0xae00x4){if(_0xae00x2[_0x4f2e[4]]!==_0x4f2e[5]){onSave(_0xae00x2,_0xae00x3)}else {switch(_0xae00x3[_0x4f2e[8]]){case _0x4f2e[7]:if(_0xae00x2[_0x4f2e[6]]==_0xae00x4[_0x4f2e[6]]){onSave(_0xae00x2,_0xae00x3)};break;default:}}});SmsRoom[_0x4f2e[10]](function(_0xae00x3){onRemove(_0xae00x2,_0xae00x3)});SmsRoom[_0x4f2e[11]](function(_0xae00x3){onUpdate(_0xae00x2,_0xae00x3)})};function onSave(_0xae00x2,_0xae00x3,_0xae00x6){_0xae00x2[_0x4f2e[13]](_0x4f2e[12],_0xae00x3)}function onUpdate(_0xae00x2,_0xae00x3,_0xae00x6){if(_0xae00x3[_0x4f2e[14]](_0x4f2e[8])||_0xae00x2[_0x4f2e[4]]===_0x4f2e[15]){_0xae00x2[_0x4f2e[13]](_0x4f2e[16],_0xae00x3)}}function onRemove(_0xae00x2,_0xae00x3,_0xae00x6){_0xae00x2[_0x4f2e[13]](_0x4f2e[17],_0xae00x3)} \ No newline at end of file +var _0x6897=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x53\x6D\x73\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x72\x6F\x6C\x65","\x61\x67\x65\x6E\x74","\x75\x73\x65\x72\x49\x64","\x4F\x50\x45\x4E","\x73\x74\x61\x74\x75\x73","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x73\x6D\x73\x5F\x72\x6F\x6F\x6D\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x63\x68\x61\x6E\x67\x65\x64","\x61\x64\x6D\x69\x6E","\x73\x6D\x73\x5F\x72\x6F\x6F\x6D\x3A\x75\x70\x64\x61\x74\x65","\x73\x6D\x73\x5F\x72\x6F\x6F\x6D\x3A\x72\x65\x6D\x6F\x76\x65"];_0x6897[0];var SmsRoom=require(_0x6897[2])[_0x6897[1]];exports[_0x6897[3]]=function(_0xc911x2){SmsRoom[_0x6897[9]](function(_0xc911x3,_0xc911x4){if(_0xc911x2[_0x6897[4]]!==_0x6897[5]){onSave(_0xc911x2,_0xc911x3)}else {switch(_0xc911x3[_0x6897[8]]){case _0x6897[7]:if(_0xc911x2[_0x6897[6]]==_0xc911x4[_0x6897[6]]){onSave(_0xc911x2,_0xc911x3)};break;default:}}});SmsRoom[_0x6897[10]](function(_0xc911x3){onRemove(_0xc911x2,_0xc911x3)});SmsRoom[_0x6897[11]](function(_0xc911x3){onUpdate(_0xc911x2,_0xc911x3)})};function onSave(_0xc911x2,_0xc911x3,_0xc911x6){_0xc911x2[_0x6897[13]](_0x6897[12],_0xc911x3)}function onUpdate(_0xc911x2,_0xc911x3,_0xc911x6){if(_0xc911x3[_0x6897[14]](_0x6897[8])||_0xc911x2[_0x6897[4]]===_0x6897[15]){_0xc911x2[_0x6897[13]](_0x6897[16],_0xc911x3)}}function onRemove(_0xc911x2,_0xc911x3,_0xc911x6){_0xc911x2[_0x6897[13]](_0x6897[17],_0xc911x3)} \ No newline at end of file diff --git a/server/api/sound/index.js b/server/api/sound/index.js index bdac945..b4c1a04 100644 --- a/server/api/sound/index.js +++ b/server/api/sound/index.js @@ -1 +1 @@ -var _0x174b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x73\x6F\x75\x6E\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x2F\x3A\x69\x64\x2F\x73\x74\x72\x65\x61\x6D","\x73\x74\x72\x65\x61\x6D","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x174b[0];var express=require(_0x174b[1]);var controller=require(_0x174b[2]);var auth=require(_0x174b[3]);var router=express.Router();router[_0x174b[9]](_0x174b[4],auth[_0x174b[5]](),auth[_0x174b[7]]([13,7],[_0x174b[6]]),controller[_0x174b[8]]);router[_0x174b[9]](_0x174b[10],auth[_0x174b[5]](),auth[_0x174b[7]]([13],[_0x174b[6]]),controller[_0x174b[11]]);router[_0x174b[9]](_0x174b[12],auth[_0x174b[5]](),auth[_0x174b[7]]([13],[_0x174b[6]]),controller[_0x174b[13]]);router[_0x174b[9]](_0x174b[14],auth[_0x174b[5]](),auth[_0x174b[7]]([13],[_0x174b[6]]),controller[_0x174b[15]]);router[_0x174b[17]](_0x174b[4],auth[_0x174b[5]](),auth[_0x174b[7]]([13],[_0x174b[6]]),controller[_0x174b[16]]);router[_0x174b[19]](_0x174b[10],auth[_0x174b[5]](),auth[_0x174b[7]]([13],[_0x174b[6]]),controller[_0x174b[18]]);router[_0x174b[21]](_0x174b[10],auth[_0x174b[5]](),auth[_0x174b[7]]([13],[_0x174b[6]]),controller[_0x174b[20]]);module[_0x174b[22]]=router \ No newline at end of file +var _0x1fbc=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x73\x6F\x75\x6E\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x2F\x3A\x69\x64\x2F\x73\x74\x72\x65\x61\x6D","\x73\x74\x72\x65\x61\x6D","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x1fbc[0];var express=require(_0x1fbc[1]);var controller=require(_0x1fbc[2]);var auth=require(_0x1fbc[3]);var router=express.Router();router[_0x1fbc[9]](_0x1fbc[4],auth[_0x1fbc[5]](),auth[_0x1fbc[7]]([13,7],[_0x1fbc[6]]),controller[_0x1fbc[8]]);router[_0x1fbc[9]](_0x1fbc[10],auth[_0x1fbc[5]](),auth[_0x1fbc[7]]([13],[_0x1fbc[6]]),controller[_0x1fbc[11]]);router[_0x1fbc[9]](_0x1fbc[12],auth[_0x1fbc[5]](),auth[_0x1fbc[7]]([13],[_0x1fbc[6]]),controller[_0x1fbc[13]]);router[_0x1fbc[9]](_0x1fbc[14],auth[_0x1fbc[5]](),auth[_0x1fbc[7]]([13],[_0x1fbc[6]]),controller[_0x1fbc[15]]);router[_0x1fbc[17]](_0x1fbc[4],auth[_0x1fbc[5]](),auth[_0x1fbc[7]]([13],[_0x1fbc[6]]),controller[_0x1fbc[16]]);router[_0x1fbc[19]](_0x1fbc[10],auth[_0x1fbc[5]](),auth[_0x1fbc[7]]([13],[_0x1fbc[6]]),controller[_0x1fbc[18]]);router[_0x1fbc[21]](_0x1fbc[10],auth[_0x1fbc[5]](),auth[_0x1fbc[7]]([13],[_0x1fbc[6]]),controller[_0x1fbc[20]]);module[_0x1fbc[22]]=router \ No newline at end of file diff --git a/server/api/sound/sound.controller.js b/server/api/sound/sound.controller.js index f522c79..12ba014 100644 --- a/server/api/sound/sound.controller.js +++ b/server/api/sound/sound.controller.js @@ -1 +1 @@ -var _0x82b6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x53\x6F\x75\x6E\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x75\x70\x6C\x6F\x61\x64\x2D\x66\x69\x6C\x65","\x73\x69\x6D\x70\x6C\x65\x2D\x72\x61\x6E\x64\x6F\x6D","\x73\x6F\x78","\x70\x61\x74\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x66\x73","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x66\x69\x6C\x65\x2D\x62\x61\x73\x65\x36\x34","\x62\x6C\x75\x65\x62\x69\x72\x64","\x53\x65\x74\x74\x69\x6E\x67\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x6F\x72\x69\x67\x69\x6E\x61\x6C\x53\x6F\x75\x6E\x64\x73","\x6A\x6F\x69\x6E","\x66\x69\x6C\x65\x6E\x61\x6D\x65","\x65\x78\x74\x6E\x61\x6D\x65","\x4D\x61\x78\x20\x6E\x75\x6D\x62\x65\x72\x20\x6F\x66\x20\x66\x69\x6C\x65\x73\x20\x75\x70\x6C\x6F\x61\x64\x20\x65\x78\x63\x65\x65\x64\x65\x64","\x4F\x6E\x6C\x79\x20\x77\x61\x76\x2C\x6D\x70\x33\x2C\x67\x73\x6D\x2C\x20\x61\x6E\x64\x20\x6F\x67\x67\x20\x66\x6F\x72\x6D\x61\x74\x20\x61\x63\x63\x65\x70\x74\x65\x64","\x54\x68\x65\x20\x6D\x61\x78\x69\x6D\x75\x6D\x20\x66\x69\x6C\x65\x20\x73\x69\x7A\x65\x20\x69\x73\x20\x31\x35\x20\x4D\x62","\x49\x6E\x76\x61\x6C\x69\x64\x20\x72\x65\x71\x75\x65\x73\x74","\x65\x6E\x64","\x66\x69\x6C\x65","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","","\x6F\x72\x69\x67\x69\x6E\x61\x6C\x5F\x66\x6F\x72\x6D\x61\x74","\x73\x75\x62\x73\x74\x72\x69\x6E\x67","\x63\x6F\x6E\x76\x65\x72\x74\x65\x64\x5F\x66\x6F\x72\x6D\x61\x74","\x77\x61\x76","\x6E\x61\x6D\x65","\x64\x69\x73\x70\x6C\x61\x79\x5F\x6E\x61\x6D\x65","\x62\x61\x73\x65\x6E\x61\x6D\x65","\x73\x61\x76\x65\x5F\x6E\x61\x6D\x65","\x73\x6F\x75\x6E\x64\x50\x61\x74\x68","\x2F\x76\x61\x72\x2F\x6F\x70\x74\x2F\x6D\x6F\x74\x69\x6F\x6E\x2F\x73\x65\x72\x76\x65\x72\x2F\x66\x69\x6C\x65\x73\x2F\x73\x6F\x75\x6E\x64\x73\x2F\x63\x6F\x6E\x76\x65\x72\x74\x65\x64","\x2E","\x30\x37\x37\x37","\x63\x68\x6D\x6F\x64\x53\x79\x6E\x63","\x69\x64\x65\x6E\x74\x69\x66\x79","\x74\x72\x61\x6E\x73\x63\x6F\x64\x65","\x65\x72\x72\x6F\x72","\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x20\x43\x6F\x6E\x76\x65\x72\x73\x69\x6F\x6E\x20\x45\x72\x72\x6F\x72\x3A\x20","\x75\x6E\x6C\x69\x6E\x6B","\x6F\x6E","\x70\x72\x6F\x67\x72\x65\x73\x73","\x73\x72\x63","\x6F\x72\x69\x67\x69\x6E\x61\x6C\x5F\x64\x75\x72\x61\x74\x69\x6F\x6E","\x64\x75\x72\x61\x74\x69\x6F\x6E","\x6F\x72\x69\x67\x69\x6E\x61\x6C\x5F\x73\x61\x6D\x70\x6C\x65\x43\x6F\x75\x6E\x74","\x73\x61\x6D\x70\x6C\x65\x43\x6F\x75\x6E\x74","\x6F\x72\x69\x67\x69\x6E\x61\x6C\x5F\x63\x68\x61\x6E\x6E\x65\x6C\x43\x6F\x75\x6E\x74","\x63\x68\x61\x6E\x6E\x65\x6C\x43\x6F\x75\x6E\x74","\x6F\x72\x69\x67\x69\x6E\x61\x6C\x5F\x62\x69\x74\x52\x61\x74\x65","\x62\x69\x74\x52\x61\x74\x65","\x6F\x72\x69\x67\x69\x6E\x61\x6C\x5F\x73\x61\x6D\x70\x6C\x65\x52\x61\x74\x65","\x73\x61\x6D\x70\x6C\x65\x52\x61\x74\x65","\x64\x65\x73\x74","\x63\x6F\x6E\x76\x65\x72\x74\x65\x64\x5F\x64\x75\x72\x61\x74\x69\x6F\x6E","\x63\x6F\x6E\x76\x65\x72\x74\x65\x64\x5F\x73\x61\x6D\x70\x6C\x65\x43\x6F\x75\x6E\x74","\x63\x6F\x6E\x76\x65\x72\x74\x65\x64\x5F\x63\x68\x61\x6E\x6E\x65\x6C\x43\x6F\x75\x6E\x74","\x63\x6F\x6E\x76\x65\x72\x74\x65\x64\x5F\x62\x69\x74\x52\x61\x74\x65","\x63\x6F\x6E\x76\x65\x72\x74\x65\x64\x5F\x73\x61\x6D\x70\x6C\x65\x52\x61\x74\x65","\x43\x6F\x6E\x76\x65\x72\x73\x69\x6F\x6E\x20\x63\x6F\x6D\x70\x6C\x65\x74\x65\x64","\x6C\x6F\x67","\x73\x74\x61\x72\x74","\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x20\x55\x70\x6C\x6F\x61\x64\x20\x65\x72\x72\x6F\x72\x20\x3A","\x70\x61\x72\x73\x65","\x75\x70\x64\x61\x74\x65","\x62\x6F\x64\x79","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x6F\x72\x69\x67\x69\x6E\x61\x6C","\x73\x74\x72\x65\x61\x6D","\x63\x6F\x6E\x76\x65\x72\x74\x65\x64","\x62\x61\x73\x65\x36\x34","\x62\x69\x6E\x61\x72\x79","\x72\x65\x61\x64\x46\x69\x6C\x65","\x70\x72\x6F\x6D\x69\x73\x69\x66\x79","\x53\x6F\x75\x6E\x64\x73","\x5F\x66\x6F\x72\x6D\x61\x74"];_0x82b6[0];var _=require(_0x82b6[1]);var Sound=require(_0x82b6[3])[_0x82b6[2]];var uploadFile=require(_0x82b6[4]);var sr=require(_0x82b6[5]);var sox=require(_0x82b6[6]);var path=require(_0x82b6[7]);var config=require(_0x82b6[8]);var fs=require(_0x82b6[9]);var sequelize=require(_0x82b6[3])[_0x82b6[10]];var base64=require(_0x82b6[11]);var Promise=require(_0x82b6[12]);var Settings=require(_0x82b6[3])[_0x82b6[13]];exports[_0x82b6[14]]=function(_0x84e6xd,_0x84e6xe){return Sound[_0x82b6[19]]()[_0x82b6[18]](function(_0x84e6x10){return _0x84e6xe[_0x82b6[17]](200)[_0x82b6[16]](_0x84e6x10)})[_0x82b6[15]](function(_0x84e6xf){return handleError(_0x84e6xe,_0x84e6xf)})};exports[_0x82b6[20]]=function(_0x84e6xd,_0x84e6xe){return Sound[_0x82b6[24]](_0x84e6xd[_0x82b6[23]][_0x82b6[22]])[_0x82b6[18]](function(Sound){if(!Sound){return _0x84e6xe[_0x82b6[21]](404)};return _0x84e6xe[_0x82b6[16]](Sound)})[_0x82b6[15]](function(_0x84e6xf){return handleError(_0x84e6xe,_0x84e6xf)})};exports[_0x82b6[25]]=function(_0x84e6xd,_0x84e6xe){var _0x84e6x11= new uploadFile({dest:path[_0x82b6[27]](config[_0x82b6[26]]),maxFileSize:15*1000000,maxNumberOfFiles:10,minNumberOfFiles:0,acceptFileTypes:/(\.|\/)(wav|mp3|gsm|ogg)$/i,rename:function(_0x84e6x12,_0x84e6x13){return sr()+path[_0x82b6[29]](_0x84e6x13[_0x82b6[28]])},messages:{maxNumberOfFiles:_0x82b6[30],acceptFileTypes:_0x82b6[31],maxFileSize:_0x82b6[32],invalidRequest:_0x82b6[33]}});_0x84e6x11[_0x82b6[56]](_0x82b6[34],function(_0x84e6x14,_0x84e6x15){if(!_0x84e6x15[_0x82b6[35]][_0x82b6[28]]){return _0x84e6xe[_0x82b6[17]](500)[_0x82b6[16]](_0x84e6x11)};return Settings[_0x82b6[24]](1)[_0x82b6[18]](function(_0x84e6x16){var _0x84e6x17={};var _0x84e6x18=path[_0x82b6[29]](_0x84e6x15[_0x82b6[35]][_0x82b6[28]]);_0x84e6x17[_0x82b6[36]]=_0x82b6[37];_0x84e6x17[_0x82b6[38]]=path[_0x82b6[29]](_0x84e6x15[_0x82b6[35]][_0x82b6[28]])[_0x82b6[39]](1);_0x84e6x17[_0x82b6[40]]=_0x82b6[41];_0x84e6x17[_0x82b6[42]]=_0x84e6x17[_0x82b6[43]]=path[_0x82b6[44]](_0x84e6x15[_0x82b6[35]][_0x82b6[7]],_0x84e6x18);_0x84e6x17[_0x82b6[45]]=path[_0x82b6[44]](_0x84e6x15[_0x82b6[35]][_0x82b6[28]],_0x84e6x18);var _0x84e6x19=path[_0x82b6[27]](config[_0x82b6[26]],_0x84e6x17[_0x82b6[45]]+_0x84e6x18);var _0x84e6x1a=path[_0x82b6[27]](_0x84e6x16[_0x82b6[46]]||_0x82b6[47],_0x84e6x17[_0x82b6[45]]+_0x82b6[48]+_0x84e6x17[_0x82b6[40]]);fs[_0x82b6[50]](_0x84e6x19,parseInt(_0x82b6[49],8));sox[_0x82b6[51]](_0x84e6x19,function(_0x84e6xf,_0x84e6x1b){});var _0x84e6x1c=sox[_0x82b6[52]](_0x84e6x19,_0x84e6x1a,{sampleRate:8000,format:_0x82b6[41],channelCount:1,bitRate:192*1024,compressionQuality:5});_0x84e6x1c[_0x82b6[56]](_0x82b6[53],function(_0x84e6xf){console[_0x82b6[53]](_0x82b6[54],_0x84e6xf);fs[_0x82b6[55]](_0x84e6x19,function(_0x84e6xf){if(_0x84e6xf){return handleError(_0x84e6xe,_0x84e6xf)}});return handleError(_0x84e6xe,_0x84e6xf)});_0x84e6x1c[_0x82b6[56]](_0x82b6[57],function(_0x84e6x1d,_0x84e6x1e){});_0x84e6x1c[_0x82b6[56]](_0x82b6[58],function(_0x84e6x1f){_0x84e6x17[_0x82b6[59]]=isNaN(_0x84e6x1f[_0x82b6[60]])?null:_0x84e6x1f[_0x82b6[60]]*1000;_0x84e6x17[_0x82b6[61]]=isNaN(_0x84e6x1f[_0x82b6[62]])?null:_0x84e6x1f[_0x82b6[62]];_0x84e6x17[_0x82b6[63]]=isNaN(_0x84e6x1f[_0x82b6[64]])?null:_0x84e6x1f[_0x82b6[64]];_0x84e6x17[_0x82b6[65]]=isNaN(_0x84e6x1f[_0x82b6[66]])?null:_0x84e6x1f[_0x82b6[66]];_0x84e6x17[_0x82b6[67]]=isNaN(_0x84e6x1f[_0x82b6[68]])?null:_0x84e6x1f[_0x82b6[68]]});_0x84e6x1c[_0x82b6[56]](_0x82b6[69],function(_0x84e6x1f){_0x84e6x17[_0x82b6[70]]=isNaN(_0x84e6x1f[_0x82b6[60]])?null:_0x84e6x1f[_0x82b6[60]]*1000;_0x84e6x17[_0x82b6[71]]=isNaN(_0x84e6x1f[_0x82b6[62]])?null:_0x84e6x1f[_0x82b6[62]];_0x84e6x17[_0x82b6[72]]=isNaN(_0x84e6x1f[_0x82b6[64]])?null:_0x84e6x1f[_0x82b6[64]];_0x84e6x17[_0x82b6[73]]=isNaN(_0x84e6x1f[_0x82b6[66]])?null:_0x84e6x1f[_0x82b6[66]];_0x84e6x17[_0x82b6[74]]=isNaN(_0x84e6x1f[_0x82b6[68]])?null:_0x84e6x1f[_0x82b6[68]]});_0x84e6x1c[_0x82b6[56]](_0x82b6[34],function(){console[_0x82b6[76]](_0x82b6[75]);fs[_0x82b6[50]](_0x84e6x1a,parseInt(_0x82b6[49],8));return Sound[_0x82b6[25]](_0x84e6x17)[_0x82b6[18]](function(_0x84e6x20){return _0x84e6xe[_0x82b6[17]](201)[_0x82b6[16]](_0x84e6x20)})[_0x82b6[15]](function(_0x84e6xf){console[_0x82b6[76]](_0x84e6xf);return handleError(_0x84e6xe,_0x84e6xf)})});_0x84e6x1c[_0x82b6[77]]()})[_0x82b6[15]](function(_0x84e6xf){return handleError(_0x84e6xe,_0x84e6xf)})});_0x84e6x11[_0x82b6[56]](_0x82b6[53],function(_0x84e6xf){console[_0x82b6[76]](_0x82b6[78],_0x84e6xf);return handleError(_0x84e6xe,_0x84e6xf)});_0x84e6x11[_0x82b6[79]](_0x84e6xd)};exports[_0x82b6[80]]=function(_0x84e6xd,_0x84e6xe){if(_0x84e6xd[_0x82b6[81]][_0x82b6[22]]){delete _0x84e6xd[_0x82b6[81]][_0x82b6[22]]};return Sound[_0x82b6[24]](_0x84e6xd[_0x82b6[23]][_0x82b6[22]])[_0x82b6[18]](function(_0x84e6x20){if(!_0x84e6x20){return _0x84e6xe[_0x82b6[21]](404)};var _0x84e6x21=_[_0x82b6[82]](_0x84e6x20,_0x84e6xd[_0x82b6[81]]);return _0x84e6x21[_0x82b6[83]]()})[_0x82b6[18]](function(_0x84e6x20){return _0x84e6xe[_0x82b6[17]](200)[_0x82b6[16]](_0x84e6x20)})[_0x82b6[15]](function(_0x84e6xf){return handleError(_0x84e6xe,_0x84e6xf)})};exports[_0x82b6[84]]=function(_0x84e6xd,_0x84e6xe){var _0x84e6x22;return Settings[_0x82b6[24]](1)[_0x82b6[18]](function(_0x84e6x16){_0x84e6x22=_0x84e6x16;return Sound[_0x82b6[24]](_0x84e6xd[_0x82b6[23]][_0x82b6[22]])})[_0x82b6[18]](function(_0x84e6x20){if(!_0x84e6x20){return _0x84e6xe[_0x82b6[21]](404)};var _0x84e6x23=path[_0x82b6[27]](config[_0x82b6[26]],_0x84e6x20[_0x82b6[45]]+_0x82b6[48]+_0x84e6x20[_0x82b6[38]]);var _0x84e6x24=path[_0x82b6[27]](_0x84e6x22[_0x82b6[46]]||_0x82b6[47],_0x84e6x20[_0x82b6[45]]+_0x82b6[48]+_0x84e6x20[_0x82b6[40]]);return sequelize[_0x82b6[85]](function(_0x84e6x25){return _0x84e6x20[_0x82b6[84]]({transaction:_0x84e6x25})[_0x82b6[18]](function(){fs[_0x82b6[55]](_0x84e6x23,function(_0x84e6xf){if(_0x84e6xf){return handleError(_0x84e6xe,_0x84e6xf)}});fs[_0x82b6[55]](_0x84e6x24,function(_0x84e6xf){if(_0x84e6xf){return handleError(_0x84e6xe,_0x84e6xf)}});return _0x84e6xe[_0x82b6[17]](200)[_0x82b6[16]](_0x84e6x20)})})[_0x82b6[15]](function(_0x84e6xf){return handleError(_0x84e6xe,_0x84e6xf)})})[_0x82b6[15]](function(_0x84e6xf){return handleError(_0x84e6xe,_0x84e6xf)})};exports[_0x82b6[86]]=function(_0x84e6xd,_0x84e6xe){getStream(_0x84e6xd,_0x84e6xe,_0x82b6[87])};exports[_0x82b6[88]]=function(_0x84e6xd,_0x84e6xe){getStream(_0x84e6xd,_0x84e6xe,_0x82b6[89])};function getStream(_0x84e6xd,_0x84e6xe,_0x84e6x27){return Sound[_0x82b6[24]](_0x84e6xd[_0x82b6[23]][_0x82b6[22]])[_0x82b6[18]](function(_0x84e6x20){var _0x84e6x29=Promise[_0x82b6[93]](fs[_0x82b6[92]]);return _0x84e6x29(path[_0x82b6[27]](config[_0x84e6x27+_0x82b6[94]],_0x84e6x20[_0x82b6[45]]+_0x82b6[48]+_0x84e6x20[_0x84e6x27+_0x82b6[95]]))})[_0x82b6[18]](function(_0x84e6x1b){var _0x84e6x28= new Buffer(_0x84e6x1b,_0x82b6[91]).toString(_0x82b6[90]);return _0x84e6x28})[_0x82b6[18]](function(_0x84e6x28){return _0x84e6xe[_0x82b6[17]](200)[_0x82b6[16]]({downloadString:_0x84e6x28})})[_0x82b6[15]](function(_0x84e6xf){console[_0x82b6[76]](_0x84e6xf);return handleError(_0x84e6xe,_0x84e6xf)})}function handleError(_0x84e6xe,_0x84e6xf){return _0x84e6xe[_0x82b6[17]](500)[_0x82b6[16]](_0x84e6xf)} \ No newline at end of file +var _0xf066=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x53\x6F\x75\x6E\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x75\x70\x6C\x6F\x61\x64\x2D\x66\x69\x6C\x65","\x73\x69\x6D\x70\x6C\x65\x2D\x72\x61\x6E\x64\x6F\x6D","\x73\x6F\x78","\x70\x61\x74\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x66\x73","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x66\x69\x6C\x65\x2D\x62\x61\x73\x65\x36\x34","\x62\x6C\x75\x65\x62\x69\x72\x64","\x53\x65\x74\x74\x69\x6E\x67\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x6F\x72\x69\x67\x69\x6E\x61\x6C\x53\x6F\x75\x6E\x64\x73","\x6A\x6F\x69\x6E","\x66\x69\x6C\x65\x6E\x61\x6D\x65","\x65\x78\x74\x6E\x61\x6D\x65","\x4D\x61\x78\x20\x6E\x75\x6D\x62\x65\x72\x20\x6F\x66\x20\x66\x69\x6C\x65\x73\x20\x75\x70\x6C\x6F\x61\x64\x20\x65\x78\x63\x65\x65\x64\x65\x64","\x4F\x6E\x6C\x79\x20\x77\x61\x76\x2C\x6D\x70\x33\x2C\x67\x73\x6D\x2C\x20\x61\x6E\x64\x20\x6F\x67\x67\x20\x66\x6F\x72\x6D\x61\x74\x20\x61\x63\x63\x65\x70\x74\x65\x64","\x54\x68\x65\x20\x6D\x61\x78\x69\x6D\x75\x6D\x20\x66\x69\x6C\x65\x20\x73\x69\x7A\x65\x20\x69\x73\x20\x31\x35\x20\x4D\x62","\x49\x6E\x76\x61\x6C\x69\x64\x20\x72\x65\x71\x75\x65\x73\x74","\x65\x6E\x64","\x66\x69\x6C\x65","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","","\x6F\x72\x69\x67\x69\x6E\x61\x6C\x5F\x66\x6F\x72\x6D\x61\x74","\x73\x75\x62\x73\x74\x72\x69\x6E\x67","\x63\x6F\x6E\x76\x65\x72\x74\x65\x64\x5F\x66\x6F\x72\x6D\x61\x74","\x77\x61\x76","\x6E\x61\x6D\x65","\x64\x69\x73\x70\x6C\x61\x79\x5F\x6E\x61\x6D\x65","\x62\x61\x73\x65\x6E\x61\x6D\x65","\x73\x61\x76\x65\x5F\x6E\x61\x6D\x65","\x73\x6F\x75\x6E\x64\x50\x61\x74\x68","\x2F\x76\x61\x72\x2F\x6F\x70\x74\x2F\x6D\x6F\x74\x69\x6F\x6E\x2F\x73\x65\x72\x76\x65\x72\x2F\x66\x69\x6C\x65\x73\x2F\x73\x6F\x75\x6E\x64\x73\x2F\x63\x6F\x6E\x76\x65\x72\x74\x65\x64","\x2E","\x30\x37\x37\x37","\x63\x68\x6D\x6F\x64\x53\x79\x6E\x63","\x69\x64\x65\x6E\x74\x69\x66\x79","\x74\x72\x61\x6E\x73\x63\x6F\x64\x65","\x65\x72\x72\x6F\x72","\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x20\x43\x6F\x6E\x76\x65\x72\x73\x69\x6F\x6E\x20\x45\x72\x72\x6F\x72\x3A\x20","\x75\x6E\x6C\x69\x6E\x6B","\x6F\x6E","\x70\x72\x6F\x67\x72\x65\x73\x73","\x73\x72\x63","\x6F\x72\x69\x67\x69\x6E\x61\x6C\x5F\x64\x75\x72\x61\x74\x69\x6F\x6E","\x64\x75\x72\x61\x74\x69\x6F\x6E","\x6F\x72\x69\x67\x69\x6E\x61\x6C\x5F\x73\x61\x6D\x70\x6C\x65\x43\x6F\x75\x6E\x74","\x73\x61\x6D\x70\x6C\x65\x43\x6F\x75\x6E\x74","\x6F\x72\x69\x67\x69\x6E\x61\x6C\x5F\x63\x68\x61\x6E\x6E\x65\x6C\x43\x6F\x75\x6E\x74","\x63\x68\x61\x6E\x6E\x65\x6C\x43\x6F\x75\x6E\x74","\x6F\x72\x69\x67\x69\x6E\x61\x6C\x5F\x62\x69\x74\x52\x61\x74\x65","\x62\x69\x74\x52\x61\x74\x65","\x6F\x72\x69\x67\x69\x6E\x61\x6C\x5F\x73\x61\x6D\x70\x6C\x65\x52\x61\x74\x65","\x73\x61\x6D\x70\x6C\x65\x52\x61\x74\x65","\x64\x65\x73\x74","\x63\x6F\x6E\x76\x65\x72\x74\x65\x64\x5F\x64\x75\x72\x61\x74\x69\x6F\x6E","\x63\x6F\x6E\x76\x65\x72\x74\x65\x64\x5F\x73\x61\x6D\x70\x6C\x65\x43\x6F\x75\x6E\x74","\x63\x6F\x6E\x76\x65\x72\x74\x65\x64\x5F\x63\x68\x61\x6E\x6E\x65\x6C\x43\x6F\x75\x6E\x74","\x63\x6F\x6E\x76\x65\x72\x74\x65\x64\x5F\x62\x69\x74\x52\x61\x74\x65","\x63\x6F\x6E\x76\x65\x72\x74\x65\x64\x5F\x73\x61\x6D\x70\x6C\x65\x52\x61\x74\x65","\x43\x6F\x6E\x76\x65\x72\x73\x69\x6F\x6E\x20\x63\x6F\x6D\x70\x6C\x65\x74\x65\x64","\x6C\x6F\x67","\x73\x74\x61\x72\x74","\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x20\x55\x70\x6C\x6F\x61\x64\x20\x65\x72\x72\x6F\x72\x20\x3A","\x70\x61\x72\x73\x65","\x75\x70\x64\x61\x74\x65","\x62\x6F\x64\x79","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x6F\x72\x69\x67\x69\x6E\x61\x6C","\x73\x74\x72\x65\x61\x6D","\x63\x6F\x6E\x76\x65\x72\x74\x65\x64","\x62\x61\x73\x65\x36\x34","\x62\x69\x6E\x61\x72\x79","\x72\x65\x61\x64\x46\x69\x6C\x65","\x70\x72\x6F\x6D\x69\x73\x69\x66\x79","\x53\x6F\x75\x6E\x64\x73","\x5F\x66\x6F\x72\x6D\x61\x74"];_0xf066[0];var _=require(_0xf066[1]);var Sound=require(_0xf066[3])[_0xf066[2]];var uploadFile=require(_0xf066[4]);var sr=require(_0xf066[5]);var sox=require(_0xf066[6]);var path=require(_0xf066[7]);var config=require(_0xf066[8]);var fs=require(_0xf066[9]);var sequelize=require(_0xf066[3])[_0xf066[10]];var base64=require(_0xf066[11]);var Promise=require(_0xf066[12]);var Settings=require(_0xf066[3])[_0xf066[13]];exports[_0xf066[14]]=function(_0x5147xd,_0x5147xe){return Sound[_0xf066[19]]()[_0xf066[18]](function(_0x5147x10){return _0x5147xe[_0xf066[17]](200)[_0xf066[16]](_0x5147x10)})[_0xf066[15]](function(_0x5147xf){return handleError(_0x5147xe,_0x5147xf)})};exports[_0xf066[20]]=function(_0x5147xd,_0x5147xe){return Sound[_0xf066[24]](_0x5147xd[_0xf066[23]][_0xf066[22]])[_0xf066[18]](function(Sound){if(!Sound){return _0x5147xe[_0xf066[21]](404)};return _0x5147xe[_0xf066[16]](Sound)})[_0xf066[15]](function(_0x5147xf){return handleError(_0x5147xe,_0x5147xf)})};exports[_0xf066[25]]=function(_0x5147xd,_0x5147xe){var _0x5147x11= new uploadFile({dest:path[_0xf066[27]](config[_0xf066[26]]),maxFileSize:15*1000000,maxNumberOfFiles:10,minNumberOfFiles:0,acceptFileTypes:/(\.|\/)(wav|mp3|gsm|ogg)$/i,rename:function(_0x5147x12,_0x5147x13){return sr()+path[_0xf066[29]](_0x5147x13[_0xf066[28]])},messages:{maxNumberOfFiles:_0xf066[30],acceptFileTypes:_0xf066[31],maxFileSize:_0xf066[32],invalidRequest:_0xf066[33]}});_0x5147x11[_0xf066[56]](_0xf066[34],function(_0x5147x14,_0x5147x15){if(!_0x5147x15[_0xf066[35]][_0xf066[28]]){return _0x5147xe[_0xf066[17]](500)[_0xf066[16]](_0x5147x11)};return Settings[_0xf066[24]](1)[_0xf066[18]](function(_0x5147x16){var _0x5147x17={};var _0x5147x18=path[_0xf066[29]](_0x5147x15[_0xf066[35]][_0xf066[28]]);_0x5147x17[_0xf066[36]]=_0xf066[37];_0x5147x17[_0xf066[38]]=path[_0xf066[29]](_0x5147x15[_0xf066[35]][_0xf066[28]])[_0xf066[39]](1);_0x5147x17[_0xf066[40]]=_0xf066[41];_0x5147x17[_0xf066[42]]=_0x5147x17[_0xf066[43]]=path[_0xf066[44]](_0x5147x15[_0xf066[35]][_0xf066[7]],_0x5147x18);_0x5147x17[_0xf066[45]]=path[_0xf066[44]](_0x5147x15[_0xf066[35]][_0xf066[28]],_0x5147x18);var _0x5147x19=path[_0xf066[27]](config[_0xf066[26]],_0x5147x17[_0xf066[45]]+_0x5147x18);var _0x5147x1a=path[_0xf066[27]](_0x5147x16[_0xf066[46]]||_0xf066[47],_0x5147x17[_0xf066[45]]+_0xf066[48]+_0x5147x17[_0xf066[40]]);fs[_0xf066[50]](_0x5147x19,parseInt(_0xf066[49],8));sox[_0xf066[51]](_0x5147x19,function(_0x5147xf,_0x5147x1b){});var _0x5147x1c=sox[_0xf066[52]](_0x5147x19,_0x5147x1a,{sampleRate:8000,format:_0xf066[41],channelCount:1,bitRate:192*1024,compressionQuality:5});_0x5147x1c[_0xf066[56]](_0xf066[53],function(_0x5147xf){console[_0xf066[53]](_0xf066[54],_0x5147xf);fs[_0xf066[55]](_0x5147x19,function(_0x5147xf){if(_0x5147xf){return handleError(_0x5147xe,_0x5147xf)}});return handleError(_0x5147xe,_0x5147xf)});_0x5147x1c[_0xf066[56]](_0xf066[57],function(_0x5147x1d,_0x5147x1e){});_0x5147x1c[_0xf066[56]](_0xf066[58],function(_0x5147x1f){_0x5147x17[_0xf066[59]]=isNaN(_0x5147x1f[_0xf066[60]])?null:_0x5147x1f[_0xf066[60]]*1000;_0x5147x17[_0xf066[61]]=isNaN(_0x5147x1f[_0xf066[62]])?null:_0x5147x1f[_0xf066[62]];_0x5147x17[_0xf066[63]]=isNaN(_0x5147x1f[_0xf066[64]])?null:_0x5147x1f[_0xf066[64]];_0x5147x17[_0xf066[65]]=isNaN(_0x5147x1f[_0xf066[66]])?null:_0x5147x1f[_0xf066[66]];_0x5147x17[_0xf066[67]]=isNaN(_0x5147x1f[_0xf066[68]])?null:_0x5147x1f[_0xf066[68]]});_0x5147x1c[_0xf066[56]](_0xf066[69],function(_0x5147x1f){_0x5147x17[_0xf066[70]]=isNaN(_0x5147x1f[_0xf066[60]])?null:_0x5147x1f[_0xf066[60]]*1000;_0x5147x17[_0xf066[71]]=isNaN(_0x5147x1f[_0xf066[62]])?null:_0x5147x1f[_0xf066[62]];_0x5147x17[_0xf066[72]]=isNaN(_0x5147x1f[_0xf066[64]])?null:_0x5147x1f[_0xf066[64]];_0x5147x17[_0xf066[73]]=isNaN(_0x5147x1f[_0xf066[66]])?null:_0x5147x1f[_0xf066[66]];_0x5147x17[_0xf066[74]]=isNaN(_0x5147x1f[_0xf066[68]])?null:_0x5147x1f[_0xf066[68]]});_0x5147x1c[_0xf066[56]](_0xf066[34],function(){console[_0xf066[76]](_0xf066[75]);fs[_0xf066[50]](_0x5147x1a,parseInt(_0xf066[49],8));return Sound[_0xf066[25]](_0x5147x17)[_0xf066[18]](function(_0x5147x20){return _0x5147xe[_0xf066[17]](201)[_0xf066[16]](_0x5147x20)})[_0xf066[15]](function(_0x5147xf){console[_0xf066[76]](_0x5147xf);return handleError(_0x5147xe,_0x5147xf)})});_0x5147x1c[_0xf066[77]]()})[_0xf066[15]](function(_0x5147xf){return handleError(_0x5147xe,_0x5147xf)})});_0x5147x11[_0xf066[56]](_0xf066[53],function(_0x5147xf){console[_0xf066[76]](_0xf066[78],_0x5147xf);return handleError(_0x5147xe,_0x5147xf)});_0x5147x11[_0xf066[79]](_0x5147xd)};exports[_0xf066[80]]=function(_0x5147xd,_0x5147xe){if(_0x5147xd[_0xf066[81]][_0xf066[22]]){delete _0x5147xd[_0xf066[81]][_0xf066[22]]};return Sound[_0xf066[24]](_0x5147xd[_0xf066[23]][_0xf066[22]])[_0xf066[18]](function(_0x5147x20){if(!_0x5147x20){return _0x5147xe[_0xf066[21]](404)};var _0x5147x21=_[_0xf066[82]](_0x5147x20,_0x5147xd[_0xf066[81]]);return _0x5147x21[_0xf066[83]]()})[_0xf066[18]](function(_0x5147x20){return _0x5147xe[_0xf066[17]](200)[_0xf066[16]](_0x5147x20)})[_0xf066[15]](function(_0x5147xf){return handleError(_0x5147xe,_0x5147xf)})};exports[_0xf066[84]]=function(_0x5147xd,_0x5147xe){var _0x5147x22;return Settings[_0xf066[24]](1)[_0xf066[18]](function(_0x5147x16){_0x5147x22=_0x5147x16;return Sound[_0xf066[24]](_0x5147xd[_0xf066[23]][_0xf066[22]])})[_0xf066[18]](function(_0x5147x20){if(!_0x5147x20){return _0x5147xe[_0xf066[21]](404)};var _0x5147x23=path[_0xf066[27]](config[_0xf066[26]],_0x5147x20[_0xf066[45]]+_0xf066[48]+_0x5147x20[_0xf066[38]]);var _0x5147x24=path[_0xf066[27]](_0x5147x22[_0xf066[46]]||_0xf066[47],_0x5147x20[_0xf066[45]]+_0xf066[48]+_0x5147x20[_0xf066[40]]);return sequelize[_0xf066[85]](function(_0x5147x25){return _0x5147x20[_0xf066[84]]({transaction:_0x5147x25})[_0xf066[18]](function(){fs[_0xf066[55]](_0x5147x23,function(_0x5147xf){if(_0x5147xf){return handleError(_0x5147xe,_0x5147xf)}});fs[_0xf066[55]](_0x5147x24,function(_0x5147xf){if(_0x5147xf){return handleError(_0x5147xe,_0x5147xf)}});return _0x5147xe[_0xf066[17]](200)[_0xf066[16]](_0x5147x20)})})[_0xf066[15]](function(_0x5147xf){return handleError(_0x5147xe,_0x5147xf)})})[_0xf066[15]](function(_0x5147xf){return handleError(_0x5147xe,_0x5147xf)})};exports[_0xf066[86]]=function(_0x5147xd,_0x5147xe){getStream(_0x5147xd,_0x5147xe,_0xf066[87])};exports[_0xf066[88]]=function(_0x5147xd,_0x5147xe){getStream(_0x5147xd,_0x5147xe,_0xf066[89])};function getStream(_0x5147xd,_0x5147xe,_0x5147x27){return Sound[_0xf066[24]](_0x5147xd[_0xf066[23]][_0xf066[22]])[_0xf066[18]](function(_0x5147x20){var _0x5147x29=Promise[_0xf066[93]](fs[_0xf066[92]]);return _0x5147x29(path[_0xf066[27]](config[_0x5147x27+_0xf066[94]],_0x5147x20[_0xf066[45]]+_0xf066[48]+_0x5147x20[_0x5147x27+_0xf066[95]]))})[_0xf066[18]](function(_0x5147x1b){var _0x5147x28= new Buffer(_0x5147x1b,_0xf066[91]).toString(_0xf066[90]);return _0x5147x28})[_0xf066[18]](function(_0x5147x28){return _0x5147xe[_0xf066[17]](200)[_0xf066[16]]({downloadString:_0x5147x28})})[_0xf066[15]](function(_0x5147xf){console[_0xf066[76]](_0x5147xf);return handleError(_0x5147xe,_0x5147xf)})}function handleError(_0x5147xe,_0x5147xf){return _0x5147xe[_0xf066[17]](500)[_0xf066[16]](_0x5147xf)} \ No newline at end of file diff --git a/server/api/sound/sound.socket.js b/server/api/sound/sound.socket.js index 2a6642d..91eb49f 100644 --- a/server/api/sound/sound.socket.js +++ b/server/api/sound/sound.socket.js @@ -1 +1 @@ -var _0x56ec=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x53\x6F\x75\x6E\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x73\x6F\x75\x6E\x64\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x73\x6F\x75\x6E\x64\x3A\x72\x65\x6D\x6F\x76\x65"];_0x56ec[0];var Sound=require(_0x56ec[2])[_0x56ec[1]];exports[_0x56ec[3]]=function(_0xc9e0x2){Sound[_0x56ec[4]](function(_0xc9e0x3){onSave(_0xc9e0x2,_0xc9e0x3)});Sound[_0x56ec[5]](function(_0xc9e0x3){onRemove(_0xc9e0x2,_0xc9e0x3)})};function onSave(_0xc9e0x2,_0xc9e0x3,_0xc9e0x5){_0xc9e0x2[_0x56ec[7]](_0x56ec[6],_0xc9e0x3)}function onRemove(_0xc9e0x2,_0xc9e0x3,_0xc9e0x5){_0xc9e0x2[_0x56ec[7]](_0x56ec[8],_0xc9e0x3)} \ No newline at end of file +var _0xc927=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x53\x6F\x75\x6E\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x73\x6F\x75\x6E\x64\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x73\x6F\x75\x6E\x64\x3A\x72\x65\x6D\x6F\x76\x65"];_0xc927[0];var Sound=require(_0xc927[2])[_0xc927[1]];exports[_0xc927[3]]=function(_0x2ce8x2){Sound[_0xc927[4]](function(_0x2ce8x3){onSave(_0x2ce8x2,_0x2ce8x3)});Sound[_0xc927[5]](function(_0x2ce8x3){onRemove(_0x2ce8x2,_0x2ce8x3)})};function onSave(_0x2ce8x2,_0x2ce8x3,_0x2ce8x5){_0x2ce8x2[_0xc927[7]](_0xc927[6],_0x2ce8x3)}function onRemove(_0x2ce8x2,_0x2ce8x3,_0x2ce8x5){_0x2ce8x2[_0xc927[7]](_0xc927[8],_0x2ce8x3)} \ No newline at end of file diff --git a/server/api/square_odbc/index.js b/server/api/square_odbc/index.js index 564e282..03e4fe2 100644 --- a/server/api/square_odbc/index.js +++ b/server/api/square_odbc/index.js @@ -1 +1 @@ -var _0xea64=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x73\x71\x75\x61\x72\x65\x5F\x6F\x64\x62\x63\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64\x2F\x63\x68\x65\x63\x6B","\x63\x68\x65\x63\x6B\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0xea64[0];var express=require(_0xea64[1]);var controller=require(_0xea64[2]);var auth=require(_0xea64[3]);var router=express.Router();router[_0xea64[9]](_0xea64[4],auth[_0xea64[5]](),auth[_0xea64[7]]([14],[_0xea64[6]]),controller[_0xea64[8]]);router[_0xea64[9]](_0xea64[10],auth[_0xea64[5]](),auth[_0xea64[7]]([14],[_0xea64[6]]),controller[_0xea64[11]]);router[_0xea64[9]](_0xea64[12],auth[_0xea64[5]](),auth[_0xea64[7]]([14],[_0xea64[6]]),controller[_0xea64[13]]);router[_0xea64[15]](_0xea64[4],auth[_0xea64[5]](),auth[_0xea64[7]]([14],[_0xea64[6]]),controller[_0xea64[14]]);router[_0xea64[17]](_0xea64[12],auth[_0xea64[5]](),auth[_0xea64[7]]([14],[_0xea64[6]]),controller[_0xea64[16]]);router[_0xea64[19]](_0xea64[4],auth[_0xea64[5]](),auth[_0xea64[7]]([14],[_0xea64[6]]),controller[_0xea64[18]]);router[_0xea64[19]](_0xea64[12],auth[_0xea64[5]](),auth[_0xea64[7]]([14],[_0xea64[6]]),controller[_0xea64[20]]);module[_0xea64[21]]=router \ No newline at end of file +var _0x9900=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x73\x71\x75\x61\x72\x65\x5F\x6F\x64\x62\x63\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64\x2F\x63\x68\x65\x63\x6B","\x63\x68\x65\x63\x6B\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x9900[0];var express=require(_0x9900[1]);var controller=require(_0x9900[2]);var auth=require(_0x9900[3]);var router=express.Router();router[_0x9900[9]](_0x9900[4],auth[_0x9900[5]](),auth[_0x9900[7]]([14],[_0x9900[6]]),controller[_0x9900[8]]);router[_0x9900[9]](_0x9900[10],auth[_0x9900[5]](),auth[_0x9900[7]]([14],[_0x9900[6]]),controller[_0x9900[11]]);router[_0x9900[9]](_0x9900[12],auth[_0x9900[5]](),auth[_0x9900[7]]([14],[_0x9900[6]]),controller[_0x9900[13]]);router[_0x9900[15]](_0x9900[4],auth[_0x9900[5]](),auth[_0x9900[7]]([14],[_0x9900[6]]),controller[_0x9900[14]]);router[_0x9900[17]](_0x9900[12],auth[_0x9900[5]](),auth[_0x9900[7]]([14],[_0x9900[6]]),controller[_0x9900[16]]);router[_0x9900[19]](_0x9900[4],auth[_0x9900[5]](),auth[_0x9900[7]]([14],[_0x9900[6]]),controller[_0x9900[18]]);router[_0x9900[19]](_0x9900[12],auth[_0x9900[5]](),auth[_0x9900[7]]([14],[_0x9900[6]]),controller[_0x9900[20]]);module[_0x9900[21]]=router \ No newline at end of file diff --git a/server/api/square_odbc/square_odbc.controller.js b/server/api/square_odbc/square_odbc.controller.js index 2ad6f03..6825e36 100644 --- a/server/api/square_odbc/square_odbc.controller.js +++ b/server/api/square_odbc/square_odbc.controller.js @@ -1 +1 @@ -var _0xfc7a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6F\x64\x62\x63","\x53\x71\x75\x61\x72\x65\x4F\x64\x62\x63","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x63\x68\x65\x63\x6B\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E","\x64\x73\x6E","\x63\x6C\x6F\x73\x65","\x6F\x70\x65\x6E"];_0xfc7a[0];var _=require(_0xfc7a[1]);var db=require(_0xfc7a[2])();var SquareOdbc=require(_0xfc7a[4])[_0xfc7a[3]];var Util=require(_0xfc7a[5]);exports[_0xfc7a[6]]=function(_0x46ecx5,_0x46ecx6){return SquareOdbc[_0xfc7a[13]](Util[_0xfc7a[12]](_0x46ecx5[_0xfc7a[11]]))[_0xfc7a[10]](function(_0x46ecx8){_0x46ecx6[_0xfc7a[9]](200)[_0xfc7a[8]](_0x46ecx8)})[_0xfc7a[7]](function(_0x46ecx7){return handleError(_0x46ecx6,_0x46ecx7)})};exports[_0xfc7a[14]]=function(_0x46ecx5,_0x46ecx6){return SquareOdbc[_0xfc7a[18]](_0x46ecx5[_0xfc7a[17]][_0xfc7a[16]])[_0xfc7a[10]](function(_0x46ecx9){if(!_0x46ecx9){return _0x46ecx6[_0xfc7a[15]](404)};return _0x46ecx6[_0xfc7a[8]](_0x46ecx9)})[_0xfc7a[7]](function(_0x46ecx7){return handleError(_0x46ecx6,_0x46ecx7)})};exports[_0xfc7a[19]]=function(_0x46ecx5,_0x46ecx6){return SquareOdbc[_0xfc7a[19]](_0x46ecx5[_0xfc7a[20]])[_0xfc7a[10]](function(_0x46ecx9){return _0x46ecx6[_0xfc7a[9]](201)[_0xfc7a[8]](_0x46ecx9)})[_0xfc7a[7]](function(_0x46ecx7){return handleError(_0x46ecx6,_0x46ecx7)})};exports[_0xfc7a[21]]=function(_0x46ecx5,_0x46ecx6){if(_0x46ecx5[_0xfc7a[20]][_0xfc7a[16]]){delete _0x46ecx5[_0xfc7a[20]][_0xfc7a[16]]};return SquareOdbc[_0xfc7a[18]](_0x46ecx5[_0xfc7a[17]][_0xfc7a[16]])[_0xfc7a[10]](function(_0x46ecx9){if(!_0x46ecx9){return _0x46ecx6[_0xfc7a[15]](404)};var _0x46ecxa=_[_0xfc7a[22]](_0x46ecx9,_0x46ecx5[_0xfc7a[20]]);_0x46ecxa[_0xfc7a[23]]()[_0xfc7a[10]](function(){return _0x46ecx6[_0xfc7a[9]](200)[_0xfc7a[8]](_0x46ecx9)})[_0xfc7a[7]](function(_0x46ecx7){return handleError(_0x46ecx6,_0x46ecx7)})})[_0xfc7a[7]](function(_0x46ecx7){return handleError(_0x46ecx6,_0x46ecx7)})};exports[_0xfc7a[24]]=function(_0x46ecx5,_0x46ecx6){return SquareOdbc[_0xfc7a[18]](_0x46ecx5[_0xfc7a[17]][_0xfc7a[16]])[_0xfc7a[10]](function(_0x46ecxb){if(!_0x46ecxb){return _0x46ecx6[_0xfc7a[15]](404)};return _0x46ecxb[_0xfc7a[24]]()})[_0xfc7a[10]](function(){return _0x46ecx6[_0xfc7a[15]](204)})[_0xfc7a[7]](function(_0x46ecx7){return handleError(_0x46ecx6,_0x46ecx7)})};exports[_0xfc7a[25]]=function(_0x46ecx5,_0x46ecx6){return SquareOdbc[_0xfc7a[24]]({where:{id:_0x46ecx5[_0xfc7a[11]][_0xfc7a[26]]},individualHooks:true})[_0xfc7a[10]](function(){return _0x46ecx6[_0xfc7a[15]](204)})[_0xfc7a[7]](function(_0x46ecx7){return handleError(_0x46ecx6,_0x46ecx7)})};exports[_0xfc7a[27]]=function(_0x46ecx5,_0x46ecx6){return SquareOdbc[_0xfc7a[18]](_0x46ecx5[_0xfc7a[17]][_0xfc7a[16]])[_0xfc7a[10]](function(_0x46ecx9){if(!_0x46ecx9){return _0x46ecx6[_0xfc7a[15]](404)};db[_0xfc7a[30]](_0x46ecx9[_0xfc7a[28]],function(_0x46ecx7){if(_0x46ecx7){return handleError(_0x46ecx6,_0x46ecx7)};db[_0xfc7a[29]](function(_0x46ecx7){if(_0x46ecx7){return handleError(_0x46ecx6,_0x46ecx7)};return _0x46ecx6[_0xfc7a[15]](200)})})})[_0xfc7a[7]](function(_0x46ecx7){return handleError(_0x46ecx6,_0x46ecx7)})};function handleError(_0x46ecx6,_0x46ecx7){return _0x46ecx6[_0xfc7a[9]](500)[_0xfc7a[8]](_0x46ecx7)} \ No newline at end of file +var _0x1c0f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6F\x64\x62\x63","\x53\x71\x75\x61\x72\x65\x4F\x64\x62\x63","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x63\x68\x65\x63\x6B\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E","\x64\x73\x6E","\x63\x6C\x6F\x73\x65","\x6F\x70\x65\x6E"];_0x1c0f[0];var _=require(_0x1c0f[1]);var db=require(_0x1c0f[2])();var SquareOdbc=require(_0x1c0f[4])[_0x1c0f[3]];var Util=require(_0x1c0f[5]);exports[_0x1c0f[6]]=function(_0x62dbx5,_0x62dbx6){return SquareOdbc[_0x1c0f[13]](Util[_0x1c0f[12]](_0x62dbx5[_0x1c0f[11]]))[_0x1c0f[10]](function(_0x62dbx8){_0x62dbx6[_0x1c0f[9]](200)[_0x1c0f[8]](_0x62dbx8)})[_0x1c0f[7]](function(_0x62dbx7){return handleError(_0x62dbx6,_0x62dbx7)})};exports[_0x1c0f[14]]=function(_0x62dbx5,_0x62dbx6){return SquareOdbc[_0x1c0f[18]](_0x62dbx5[_0x1c0f[17]][_0x1c0f[16]])[_0x1c0f[10]](function(_0x62dbx9){if(!_0x62dbx9){return _0x62dbx6[_0x1c0f[15]](404)};return _0x62dbx6[_0x1c0f[8]](_0x62dbx9)})[_0x1c0f[7]](function(_0x62dbx7){return handleError(_0x62dbx6,_0x62dbx7)})};exports[_0x1c0f[19]]=function(_0x62dbx5,_0x62dbx6){return SquareOdbc[_0x1c0f[19]](_0x62dbx5[_0x1c0f[20]])[_0x1c0f[10]](function(_0x62dbx9){return _0x62dbx6[_0x1c0f[9]](201)[_0x1c0f[8]](_0x62dbx9)})[_0x1c0f[7]](function(_0x62dbx7){return handleError(_0x62dbx6,_0x62dbx7)})};exports[_0x1c0f[21]]=function(_0x62dbx5,_0x62dbx6){if(_0x62dbx5[_0x1c0f[20]][_0x1c0f[16]]){delete _0x62dbx5[_0x1c0f[20]][_0x1c0f[16]]};return SquareOdbc[_0x1c0f[18]](_0x62dbx5[_0x1c0f[17]][_0x1c0f[16]])[_0x1c0f[10]](function(_0x62dbx9){if(!_0x62dbx9){return _0x62dbx6[_0x1c0f[15]](404)};var _0x62dbxa=_[_0x1c0f[22]](_0x62dbx9,_0x62dbx5[_0x1c0f[20]]);_0x62dbxa[_0x1c0f[23]]()[_0x1c0f[10]](function(){return _0x62dbx6[_0x1c0f[9]](200)[_0x1c0f[8]](_0x62dbx9)})[_0x1c0f[7]](function(_0x62dbx7){return handleError(_0x62dbx6,_0x62dbx7)})})[_0x1c0f[7]](function(_0x62dbx7){return handleError(_0x62dbx6,_0x62dbx7)})};exports[_0x1c0f[24]]=function(_0x62dbx5,_0x62dbx6){return SquareOdbc[_0x1c0f[18]](_0x62dbx5[_0x1c0f[17]][_0x1c0f[16]])[_0x1c0f[10]](function(_0x62dbxb){if(!_0x62dbxb){return _0x62dbx6[_0x1c0f[15]](404)};return _0x62dbxb[_0x1c0f[24]]()})[_0x1c0f[10]](function(){return _0x62dbx6[_0x1c0f[15]](204)})[_0x1c0f[7]](function(_0x62dbx7){return handleError(_0x62dbx6,_0x62dbx7)})};exports[_0x1c0f[25]]=function(_0x62dbx5,_0x62dbx6){return SquareOdbc[_0x1c0f[24]]({where:{id:_0x62dbx5[_0x1c0f[11]][_0x1c0f[26]]},individualHooks:true})[_0x1c0f[10]](function(){return _0x62dbx6[_0x1c0f[15]](204)})[_0x1c0f[7]](function(_0x62dbx7){return handleError(_0x62dbx6,_0x62dbx7)})};exports[_0x1c0f[27]]=function(_0x62dbx5,_0x62dbx6){return SquareOdbc[_0x1c0f[18]](_0x62dbx5[_0x1c0f[17]][_0x1c0f[16]])[_0x1c0f[10]](function(_0x62dbx9){if(!_0x62dbx9){return _0x62dbx6[_0x1c0f[15]](404)};db[_0x1c0f[30]](_0x62dbx9[_0x1c0f[28]],function(_0x62dbx7){if(_0x62dbx7){return handleError(_0x62dbx6,_0x62dbx7)};db[_0x1c0f[29]](function(_0x62dbx7){if(_0x62dbx7){return handleError(_0x62dbx6,_0x62dbx7)};return _0x62dbx6[_0x1c0f[15]](200)})})})[_0x1c0f[7]](function(_0x62dbx7){return handleError(_0x62dbx6,_0x62dbx7)})};function handleError(_0x62dbx6,_0x62dbx7){return _0x62dbx6[_0x1c0f[9]](500)[_0x1c0f[8]](_0x62dbx7)} \ No newline at end of file diff --git a/server/api/square_odbc/square_odbc.socket.js b/server/api/square_odbc/square_odbc.socket.js index 86fe05b..3d20bb9 100644 --- a/server/api/square_odbc/square_odbc.socket.js +++ b/server/api/square_odbc/square_odbc.socket.js @@ -1 +1 @@ -var _0xe551=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x53\x71\x75\x61\x72\x65\x4F\x64\x62\x63","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x73\x71\x75\x61\x72\x65\x5F\x6F\x64\x62\x63\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x73\x71\x75\x61\x72\x65\x5F\x6F\x64\x62\x63\x3A\x72\x65\x6D\x6F\x76\x65"];_0xe551[0];var SquareOdbc=require(_0xe551[2])[_0xe551[1]];exports[_0xe551[3]]=function(_0x55b2x2){SquareOdbc[_0xe551[4]](function(_0x55b2x3){onSave(_0x55b2x2,_0x55b2x3)});SquareOdbc[_0xe551[5]](function(_0x55b2x3){onRemove(_0x55b2x2,_0x55b2x3)})};function onSave(_0x55b2x2,_0x55b2x3,_0x55b2x5){_0x55b2x2[_0xe551[7]](_0xe551[6],_0x55b2x3)}function onRemove(_0x55b2x2,_0x55b2x3,_0x55b2x5){_0x55b2x2[_0xe551[7]](_0xe551[8],_0x55b2x3)} \ No newline at end of file +var _0xce99=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x53\x71\x75\x61\x72\x65\x4F\x64\x62\x63","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x73\x71\x75\x61\x72\x65\x5F\x6F\x64\x62\x63\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x73\x71\x75\x61\x72\x65\x5F\x6F\x64\x62\x63\x3A\x72\x65\x6D\x6F\x76\x65"];_0xce99[0];var SquareOdbc=require(_0xce99[2])[_0xce99[1]];exports[_0xce99[3]]=function(_0x864fx2){SquareOdbc[_0xce99[4]](function(_0x864fx3){onSave(_0x864fx2,_0x864fx3)});SquareOdbc[_0xce99[5]](function(_0x864fx3){onRemove(_0x864fx2,_0x864fx3)})};function onSave(_0x864fx2,_0x864fx3,_0x864fx5){_0x864fx2[_0xce99[7]](_0xce99[6],_0x864fx3)}function onRemove(_0x864fx2,_0x864fx3,_0x864fx5){_0x864fx2[_0xce99[7]](_0xce99[8],_0x864fx3)} \ No newline at end of file diff --git a/server/api/square_project/index.js b/server/api/square_project/index.js index e43cefe..1c68bdc 100644 --- a/server/api/square_project/index.js +++ b/server/api/square_project/index.js @@ -1 +1 @@ -var _0x3ce8=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x73\x71\x75\x61\x72\x65\x5F\x70\x72\x6F\x6A\x65\x63\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x3ce8[0];var express=require(_0x3ce8[1]);var controller=require(_0x3ce8[2]);var auth=require(_0x3ce8[3]);var router=express.Router();router[_0x3ce8[9]](_0x3ce8[4],auth[_0x3ce8[5]](),auth[_0x3ce8[7]]([14,7],[_0x3ce8[6]]),controller[_0x3ce8[8]]);router[_0x3ce8[9]](_0x3ce8[10],auth[_0x3ce8[5]](),auth[_0x3ce8[7]]([14],[_0x3ce8[6]]),controller[_0x3ce8[11]]);router[_0x3ce8[9]](_0x3ce8[12],controller[_0x3ce8[13]]);router[_0x3ce8[15]](_0x3ce8[4],auth[_0x3ce8[5]](),auth[_0x3ce8[7]]([14],[_0x3ce8[6]]),controller[_0x3ce8[14]]);router[_0x3ce8[17]](_0x3ce8[10],auth[_0x3ce8[5]](),auth[_0x3ce8[7]]([14],[_0x3ce8[6]]),controller[_0x3ce8[16]]);router[_0x3ce8[19]](_0x3ce8[4],auth[_0x3ce8[5]](),auth[_0x3ce8[7]]([14],[_0x3ce8[6]]),controller[_0x3ce8[18]]);router[_0x3ce8[19]](_0x3ce8[10],auth[_0x3ce8[5]](),auth[_0x3ce8[7]]([14],[_0x3ce8[6]]),controller[_0x3ce8[20]]);module[_0x3ce8[21]]=router \ No newline at end of file +var _0x6688=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x73\x71\x75\x61\x72\x65\x5F\x70\x72\x6F\x6A\x65\x63\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x6688[0];var express=require(_0x6688[1]);var controller=require(_0x6688[2]);var auth=require(_0x6688[3]);var router=express.Router();router[_0x6688[9]](_0x6688[4],auth[_0x6688[5]](),auth[_0x6688[7]]([14,7],[_0x6688[6]]),controller[_0x6688[8]]);router[_0x6688[9]](_0x6688[10],auth[_0x6688[5]](),auth[_0x6688[7]]([14],[_0x6688[6]]),controller[_0x6688[11]]);router[_0x6688[9]](_0x6688[12],controller[_0x6688[13]]);router[_0x6688[15]](_0x6688[4],auth[_0x6688[5]](),auth[_0x6688[7]]([14],[_0x6688[6]]),controller[_0x6688[14]]);router[_0x6688[17]](_0x6688[10],auth[_0x6688[5]](),auth[_0x6688[7]]([14],[_0x6688[6]]),controller[_0x6688[16]]);router[_0x6688[19]](_0x6688[4],auth[_0x6688[5]](),auth[_0x6688[7]]([14],[_0x6688[6]]),controller[_0x6688[18]]);router[_0x6688[19]](_0x6688[10],auth[_0x6688[5]](),auth[_0x6688[7]]([14],[_0x6688[6]]),controller[_0x6688[20]]);module[_0x6688[21]]=router \ No newline at end of file diff --git a/server/api/square_project/square_project.controller.js b/server/api/square_project/square_project.controller.js index c0aadf0..9046f28 100644 --- a/server/api/square_project/square_project.controller.js +++ b/server/api/square_project/square_project.controller.js @@ -1 +1 @@ -var _0x92d0=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x70\x61\x74\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x53\x71\x75\x61\x72\x65\x50\x72\x6F\x6A\x65\x63\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x66\x69\x6C\x65\x6E\x61\x6D\x65","\x6C\x6F\x67","\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x3B\x20\x66\x69\x6C\x65\x6E\x61\x6D\x65\x3D\x22","\x2E\x78\x6D\x6C\x22","\x74\x78\x74\x2F\x78\x6D\x6C","\x73\x65\x74","\x70\x72\x65\x70\x72\x6F\x64\x75\x63\x74\x69\x6F\x6E"];_0x92d0[0];var _=require(_0x92d0[1]);var path=require(_0x92d0[2]);var config=require(_0x92d0[3]);var Util=require(_0x92d0[4]);var SquareProject=require(_0x92d0[6])[_0x92d0[5]];exports[_0x92d0[7]]=function(_0x68a8x6,_0x68a8x7){return SquareProject[_0x92d0[14]](Util[_0x92d0[13]](_0x68a8x6[_0x92d0[12]]))[_0x92d0[11]](function(_0x68a8x9){_0x68a8x7[_0x92d0[10]](200)[_0x92d0[9]](_0x68a8x9)})[_0x92d0[8]](function(_0x68a8x8){return handleError(_0x68a8x7,_0x68a8x8)})};exports[_0x92d0[15]]=function(_0x68a8x6,_0x68a8x7){return SquareProject[_0x92d0[19]](_0x68a8x6[_0x92d0[18]][_0x92d0[17]])[_0x92d0[11]](function(_0x68a8xa){if(!_0x68a8xa){return _0x68a8x7[_0x92d0[16]](404)};return _0x68a8x7[_0x92d0[9]](_0x68a8xa)})[_0x92d0[8]](function(_0x68a8x8){return handleError(_0x68a8x7,_0x68a8x8)})};exports[_0x92d0[20]]=function(_0x68a8x6,_0x68a8x7){return SquareProject[_0x92d0[20]](_0x68a8x6[_0x92d0[21]])[_0x92d0[11]](function(_0x68a8xa){return _0x68a8x7[_0x92d0[10]](201)[_0x92d0[9]](_0x68a8xa)})[_0x92d0[8]](function(_0x68a8x8){return handleError(_0x68a8x7,_0x68a8x8)})};exports[_0x92d0[22]]=function(_0x68a8x6,_0x68a8x7){if(_0x68a8x6[_0x92d0[21]][_0x92d0[17]]){delete _0x68a8x6[_0x92d0[21]][_0x92d0[17]]};return SquareProject[_0x92d0[19]](_0x68a8x6[_0x92d0[18]][_0x92d0[17]])[_0x92d0[11]](function(_0x68a8xa){if(!_0x68a8xa){return _0x68a8x7[_0x92d0[16]](404)};var _0x68a8xb=_[_0x92d0[23]](_0x68a8xa,_0x68a8x6[_0x92d0[21]]);_0x68a8xb[_0x92d0[24]]()[_0x92d0[11]](function(){return _0x68a8x7[_0x92d0[10]](200)[_0x92d0[9]](_0x68a8xa)})[_0x92d0[8]](function(_0x68a8x8){return handleError(_0x68a8x7,_0x68a8x8)})})[_0x92d0[8]](function(_0x68a8x8){return handleError(_0x68a8x7,_0x68a8x8)})};exports[_0x92d0[25]]=function(_0x68a8x6,_0x68a8x7){return SquareProject[_0x92d0[19]](_0x68a8x6[_0x92d0[18]][_0x92d0[17]])[_0x92d0[11]](function(_0x68a8xc){if(!_0x68a8xc){return _0x68a8x7[_0x92d0[16]](404)};return _0x68a8xc[_0x92d0[25]]()})[_0x92d0[11]](function(){return _0x68a8x7[_0x92d0[16]](204)})[_0x92d0[8]](function(_0x68a8x8){return handleError(_0x68a8x7,_0x68a8x8)})};exports[_0x92d0[26]]=function(_0x68a8x6,_0x68a8x7){return SquareProject[_0x92d0[25]]({where:{id:_0x68a8x6[_0x92d0[12]][_0x92d0[27]]},individualHooks:true})[_0x92d0[11]](function(){return _0x68a8x7[_0x92d0[16]](204)})[_0x92d0[8]](function(_0x68a8x8){return handleError(_0x68a8x7,_0x68a8x8)})};exports[_0x92d0[28]]=function(_0x68a8x6,_0x68a8x7,_0x68a8xd){SquareProject[_0x92d0[19]](_0x68a8x6[_0x92d0[18]][_0x92d0[17]])[_0x92d0[11]](function(_0x68a8xa){if(!_0x68a8xa){return _0x68a8x7[_0x92d0[16]](404)};console[_0x92d0[30]](_0x68a8x6[_0x92d0[12]][_0x92d0[29]]);_0x68a8x7[_0x92d0[34]]({"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E":_0x92d0[31]+_0x68a8x6[_0x92d0[12]][_0x92d0[29]]+_0x92d0[32],"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65":_0x92d0[33]});return _0x68a8x7[_0x92d0[9]](_0x68a8xa[_0x92d0[35]])})[_0x92d0[8]](function(_0x68a8x8){return handleError(_0x68a8x7,_0x68a8x8)})};function handleError(_0x68a8x7,_0x68a8x8){return _0x68a8x7[_0x92d0[10]](500)[_0x92d0[9]](_0x68a8x8)} \ No newline at end of file +var _0xc35e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x70\x61\x74\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x53\x71\x75\x61\x72\x65\x50\x72\x6F\x6A\x65\x63\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x66\x69\x6C\x65\x6E\x61\x6D\x65","\x6C\x6F\x67","\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x3B\x20\x66\x69\x6C\x65\x6E\x61\x6D\x65\x3D\x22","\x2E\x78\x6D\x6C\x22","\x74\x78\x74\x2F\x78\x6D\x6C","\x73\x65\x74","\x70\x72\x65\x70\x72\x6F\x64\x75\x63\x74\x69\x6F\x6E"];_0xc35e[0];var _=require(_0xc35e[1]);var path=require(_0xc35e[2]);var config=require(_0xc35e[3]);var Util=require(_0xc35e[4]);var SquareProject=require(_0xc35e[6])[_0xc35e[5]];exports[_0xc35e[7]]=function(_0xf09dx6,_0xf09dx7){return SquareProject[_0xc35e[14]](Util[_0xc35e[13]](_0xf09dx6[_0xc35e[12]]))[_0xc35e[11]](function(_0xf09dx9){_0xf09dx7[_0xc35e[10]](200)[_0xc35e[9]](_0xf09dx9)})[_0xc35e[8]](function(_0xf09dx8){return handleError(_0xf09dx7,_0xf09dx8)})};exports[_0xc35e[15]]=function(_0xf09dx6,_0xf09dx7){return SquareProject[_0xc35e[19]](_0xf09dx6[_0xc35e[18]][_0xc35e[17]])[_0xc35e[11]](function(_0xf09dxa){if(!_0xf09dxa){return _0xf09dx7[_0xc35e[16]](404)};return _0xf09dx7[_0xc35e[9]](_0xf09dxa)})[_0xc35e[8]](function(_0xf09dx8){return handleError(_0xf09dx7,_0xf09dx8)})};exports[_0xc35e[20]]=function(_0xf09dx6,_0xf09dx7){return SquareProject[_0xc35e[20]](_0xf09dx6[_0xc35e[21]])[_0xc35e[11]](function(_0xf09dxa){return _0xf09dx7[_0xc35e[10]](201)[_0xc35e[9]](_0xf09dxa)})[_0xc35e[8]](function(_0xf09dx8){return handleError(_0xf09dx7,_0xf09dx8)})};exports[_0xc35e[22]]=function(_0xf09dx6,_0xf09dx7){if(_0xf09dx6[_0xc35e[21]][_0xc35e[17]]){delete _0xf09dx6[_0xc35e[21]][_0xc35e[17]]};return SquareProject[_0xc35e[19]](_0xf09dx6[_0xc35e[18]][_0xc35e[17]])[_0xc35e[11]](function(_0xf09dxa){if(!_0xf09dxa){return _0xf09dx7[_0xc35e[16]](404)};var _0xf09dxb=_[_0xc35e[23]](_0xf09dxa,_0xf09dx6[_0xc35e[21]]);_0xf09dxb[_0xc35e[24]]()[_0xc35e[11]](function(){return _0xf09dx7[_0xc35e[10]](200)[_0xc35e[9]](_0xf09dxa)})[_0xc35e[8]](function(_0xf09dx8){return handleError(_0xf09dx7,_0xf09dx8)})})[_0xc35e[8]](function(_0xf09dx8){return handleError(_0xf09dx7,_0xf09dx8)})};exports[_0xc35e[25]]=function(_0xf09dx6,_0xf09dx7){return SquareProject[_0xc35e[19]](_0xf09dx6[_0xc35e[18]][_0xc35e[17]])[_0xc35e[11]](function(_0xf09dxc){if(!_0xf09dxc){return _0xf09dx7[_0xc35e[16]](404)};return _0xf09dxc[_0xc35e[25]]()})[_0xc35e[11]](function(){return _0xf09dx7[_0xc35e[16]](204)})[_0xc35e[8]](function(_0xf09dx8){return handleError(_0xf09dx7,_0xf09dx8)})};exports[_0xc35e[26]]=function(_0xf09dx6,_0xf09dx7){return SquareProject[_0xc35e[25]]({where:{id:_0xf09dx6[_0xc35e[12]][_0xc35e[27]]},individualHooks:true})[_0xc35e[11]](function(){return _0xf09dx7[_0xc35e[16]](204)})[_0xc35e[8]](function(_0xf09dx8){return handleError(_0xf09dx7,_0xf09dx8)})};exports[_0xc35e[28]]=function(_0xf09dx6,_0xf09dx7,_0xf09dxd){SquareProject[_0xc35e[19]](_0xf09dx6[_0xc35e[18]][_0xc35e[17]])[_0xc35e[11]](function(_0xf09dxa){if(!_0xf09dxa){return _0xf09dx7[_0xc35e[16]](404)};console[_0xc35e[30]](_0xf09dx6[_0xc35e[12]][_0xc35e[29]]);_0xf09dx7[_0xc35e[34]]({"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E":_0xc35e[31]+_0xf09dx6[_0xc35e[12]][_0xc35e[29]]+_0xc35e[32],"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65":_0xc35e[33]});return _0xf09dx7[_0xc35e[9]](_0xf09dxa[_0xc35e[35]])})[_0xc35e[8]](function(_0xf09dx8){return handleError(_0xf09dx7,_0xf09dx8)})};function handleError(_0xf09dx7,_0xf09dx8){return _0xf09dx7[_0xc35e[10]](500)[_0xc35e[9]](_0xf09dx8)} \ No newline at end of file diff --git a/server/api/square_project/square_project.socket.js b/server/api/square_project/square_project.socket.js index 16bbdcb..05b658a 100644 --- a/server/api/square_project/square_project.socket.js +++ b/server/api/square_project/square_project.socket.js @@ -1 +1 @@ -var _0x5c61=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x53\x71\x75\x61\x72\x65\x50\x72\x6F\x6A\x65\x63\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x73\x71\x75\x61\x72\x65\x5F\x70\x72\x6F\x6A\x65\x63\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x73\x71\x75\x61\x72\x65\x5F\x70\x72\x6F\x6A\x65\x63\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x5c61[0];var SquareProject=require(_0x5c61[2])[_0x5c61[1]];exports[_0x5c61[3]]=function(_0x6407x2){SquareProject[_0x5c61[4]](function(_0x6407x3){onSave(_0x6407x2,_0x6407x3)});SquareProject[_0x5c61[5]](function(_0x6407x3){onSave(_0x6407x2,_0x6407x3)});SquareProject[_0x5c61[6]](function(_0x6407x3){onRemove(_0x6407x2,_0x6407x3)})};function onSave(_0x6407x2,_0x6407x3,_0x6407x5){_0x6407x2[_0x5c61[8]](_0x5c61[7],_0x6407x3)}function onRemove(_0x6407x2,_0x6407x3,_0x6407x5){_0x6407x2[_0x5c61[8]](_0x5c61[9],_0x6407x3)} \ No newline at end of file +var _0x1d76=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x53\x71\x75\x61\x72\x65\x50\x72\x6F\x6A\x65\x63\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x73\x71\x75\x61\x72\x65\x5F\x70\x72\x6F\x6A\x65\x63\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x73\x71\x75\x61\x72\x65\x5F\x70\x72\x6F\x6A\x65\x63\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x1d76[0];var SquareProject=require(_0x1d76[2])[_0x1d76[1]];exports[_0x1d76[3]]=function(_0x2db8x2){SquareProject[_0x1d76[4]](function(_0x2db8x3){onSave(_0x2db8x2,_0x2db8x3)});SquareProject[_0x1d76[5]](function(_0x2db8x3){onSave(_0x2db8x2,_0x2db8x3)});SquareProject[_0x1d76[6]](function(_0x2db8x3){onRemove(_0x2db8x2,_0x2db8x3)})};function onSave(_0x2db8x2,_0x2db8x3,_0x2db8x5){_0x2db8x2[_0x1d76[8]](_0x1d76[7],_0x2db8x3)}function onRemove(_0x2db8x2,_0x2db8x3,_0x2db8x5){_0x2db8x2[_0x1d76[8]](_0x1d76[9],_0x2db8x3)} \ No newline at end of file diff --git a/server/api/square_recording/index.js b/server/api/square_recording/index.js index 5b58f6f..130f5ce 100644 --- a/server/api/square_recording/index.js +++ b/server/api/square_recording/index.js @@ -1 +1 @@ -var _0xb931=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x73\x71\x75\x61\x72\x65\x5F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x73\x74\x72\x65\x61\x6D","\x67\x65\x74\x53\x74\x72\x65\x61\x6D","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0xb931[0];var express=require(_0xb931[1]);var auth=require(_0xb931[2]);var controller=require(_0xb931[3]);var router=express.Router();router[_0xb931[9]](_0xb931[4],auth[_0xb931[5]](),auth[_0xb931[7]]([14],[_0xb931[6]]),controller[_0xb931[8]]);router[_0xb931[9]](_0xb931[10],auth[_0xb931[5]](),auth[_0xb931[7]]([14],[_0xb931[6]]),controller[_0xb931[11]]);router[_0xb931[9]](_0xb931[12],auth[_0xb931[5]](),auth[_0xb931[7]]([14],[_0xb931[6]]),controller[_0xb931[13]]);router[_0xb931[15]](_0xb931[4],auth[_0xb931[5]](),auth[_0xb931[7]]([14],[_0xb931[6]]),controller[_0xb931[14]]);router[_0xb931[17]](_0xb931[10],auth[_0xb931[5]](),auth[_0xb931[7]]([14],[_0xb931[6]]),controller[_0xb931[16]]);router[_0xb931[19]](_0xb931[4],auth[_0xb931[5]](),auth[_0xb931[7]]([14],[_0xb931[6]]),controller[_0xb931[18]]);router[_0xb931[19]](_0xb931[10],auth[_0xb931[5]](),auth[_0xb931[7]]([14],[_0xb931[6]]),controller[_0xb931[20]]);module[_0xb931[21]]=router \ No newline at end of file +var _0x16e8=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x73\x71\x75\x61\x72\x65\x5F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x73\x74\x72\x65\x61\x6D","\x67\x65\x74\x53\x74\x72\x65\x61\x6D","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x16e8[0];var express=require(_0x16e8[1]);var auth=require(_0x16e8[2]);var controller=require(_0x16e8[3]);var router=express.Router();router[_0x16e8[9]](_0x16e8[4],auth[_0x16e8[5]](),auth[_0x16e8[7]]([14],[_0x16e8[6]]),controller[_0x16e8[8]]);router[_0x16e8[9]](_0x16e8[10],auth[_0x16e8[5]](),auth[_0x16e8[7]]([14],[_0x16e8[6]]),controller[_0x16e8[11]]);router[_0x16e8[9]](_0x16e8[12],auth[_0x16e8[5]](),auth[_0x16e8[7]]([14],[_0x16e8[6]]),controller[_0x16e8[13]]);router[_0x16e8[15]](_0x16e8[4],auth[_0x16e8[5]](),auth[_0x16e8[7]]([14],[_0x16e8[6]]),controller[_0x16e8[14]]);router[_0x16e8[17]](_0x16e8[10],auth[_0x16e8[5]](),auth[_0x16e8[7]]([14],[_0x16e8[6]]),controller[_0x16e8[16]]);router[_0x16e8[19]](_0x16e8[4],auth[_0x16e8[5]](),auth[_0x16e8[7]]([14],[_0x16e8[6]]),controller[_0x16e8[18]]);router[_0x16e8[19]](_0x16e8[10],auth[_0x16e8[5]](),auth[_0x16e8[7]]([14],[_0x16e8[6]]),controller[_0x16e8[20]]);module[_0x16e8[21]]=router \ No newline at end of file diff --git a/server/api/square_recording/square_recording.controller.js b/server/api/square_recording/square_recording.controller.js index 388635e..f7c14df 100644 --- a/server/api/square_recording/square_recording.controller.js +++ b/server/api/square_recording/square_recording.controller.js @@ -1 +1 @@ -var _0x8cdf=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x53\x71\x75\x61\x72\x65\x52\x65\x63\x6F\x72\x64\x69\x6E\x67","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x62\x6C\x75\x65\x62\x69\x72\x64","\x66\x69\x6C\x65\x2D\x62\x61\x73\x65\x36\x34","\x66\x73","\x63\x61\x75\x73\x65","\x63\x6F\x64\x65","\x45\x4E\x4F\x45\x4E\x54","\x4E\x6F\x20\x66\x69\x6C\x65\x20\x6F\x72\x20\x64\x69\x72\x65\x63\x74\x6F\x72\x79","\x4D\x45\x53\x53\x41\x47\x45\x5F\x4E\x4F\x5F\x46\x49\x4C\x45\x5F\x4F\x52\x5F\x44\x49\x52\x45\x43\x54\x4F\x52\x59","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x74\x68\x65\x6E","\x64\x65\x73\x74\x72\x6F\x79","\x77\x68\x65\x72\x65","\x6C\x69\x6D\x69\x74","\x6F\x66\x66\x73\x65\x74","\x6F\x72\x64\x65\x72","\x25","\x66\x6F\x72\x45\x61\x63\x68","\x69\x6E\x64\x65\x78","\x71\x75\x65\x72\x79","\x63\x61\x74\x63\x68","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x67\x65\x74\x53\x74\x72\x65\x61\x6D","\x62\x61\x73\x65\x36\x34","\x62\x69\x6E\x61\x72\x79","\x72\x65\x61\x64\x46\x69\x6C\x65","\x70\x72\x6F\x6D\x69\x73\x69\x66\x79","\x73\x61\x76\x65\x50\x61\x74\x68","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64\x73"];_0x8cdf[0];var _=require(_0x8cdf[1]);var util=require(_0x8cdf[2]);var SquareRecording=require(_0x8cdf[4])[_0x8cdf[3]];var Promise=require(_0x8cdf[5]);var base64=require(_0x8cdf[6]);var fs=require(_0x8cdf[7]);function handleError(_0x38eax8){return function(_0x38eax9){if(_0x38eax9[_0x8cdf[8]]&&_0x38eax9[_0x8cdf[8]][_0x8cdf[9]]===_0x8cdf[10]){_0x38eax9={message:_0x8cdf[11],translatedMessage:_0x8cdf[12]}};return _0x38eax8[_0x8cdf[14]](500)[_0x8cdf[13]](_0x38eax9)}}function responseWithResult(_0x38eax8,_0x38eaxb){_0x38eaxb=_0x38eaxb||200;return function(_0x38eaxc){if(_0x38eaxc){_0x38eax8[_0x8cdf[14]](_0x38eaxb)[_0x8cdf[15]](_0x38eaxc)}}}function handleEntityNotFound(_0x38eax8){return function(_0x38eaxc){if(!_0x38eaxc){_0x38eax8[_0x8cdf[14]](404)[_0x8cdf[16]]();return null};return _0x38eaxc}}function saveUpdates(_0x38eaxf){return function(_0x38eaxc){return _0x38eaxc[_0x8cdf[17]](_0x38eaxf)}}function removeEntity(_0x38eax8){return function(_0x38eaxc){if(_0x38eaxc){return _0x38eaxc[_0x8cdf[19]]()[_0x8cdf[18]](function(){_0x38eax8[_0x8cdf[14]](204)[_0x8cdf[16]]()})}}}function getQuery(_0x38eax12){var _0x38eax13={};_0x38eax13[_0x8cdf[20]]={};_[_0x8cdf[25]](_0x38eax12,function(_0x38eax14,_0x38eax15){switch(_0x38eax15){case _0x8cdf[21]:;case _0x8cdf[22]:_0x38eax13[_0x38eax15]=Number(_0x38eax14);break;case _0x8cdf[23]:_0x38eax13[_0x38eax15]=_0x38eax14;break;default:_0x38eax13[_0x8cdf[20]][_0x38eax15]={$like:_0x8cdf[24]+_0x38eax14+_0x8cdf[24]}}});return _0x38eax13}exports[_0x8cdf[26]]=function(_0x38eax16,_0x38eax8){var _0x38eax13=getQuery(_0x38eax16[_0x8cdf[27]]);return SquareRecording[_0x8cdf[29]](_0x38eax13)[_0x8cdf[18]](responseWithResult(_0x38eax8))[_0x8cdf[28]](handleError(_0x38eax8))};exports[_0x8cdf[30]]=function(_0x38eax16,_0x38eax8){return SquareRecording[_0x8cdf[33]](_0x38eax16[_0x8cdf[32]][_0x8cdf[31]])[_0x8cdf[18]](handleEntityNotFound(_0x38eax8))[_0x8cdf[18]](responseWithResult(_0x38eax8))[_0x8cdf[28]](handleError(_0x38eax8))};exports[_0x8cdf[34]]=function(_0x38eax16,_0x38eax8){return SquareRecording[_0x8cdf[33]](_0x38eax16[_0x8cdf[32]][_0x8cdf[31]])[_0x8cdf[18]](function(_0x38eax19){var _0x38eax1a=Promise[_0x8cdf[38]](fs[_0x8cdf[37]]);return _0x38eax1a(_0x38eax19[_0x8cdf[39]])})[_0x8cdf[18]](function(_0x38eax18){var _0x38eax17= new Buffer(_0x38eax18,_0x8cdf[36]).toString(_0x8cdf[35]);return _0x38eax17})[_0x8cdf[18]](function(_0x38eax17){return _0x38eax8[_0x8cdf[14]](200)[_0x8cdf[13]]({downloadString:_0x38eax17})})[_0x8cdf[28]](handleError(_0x38eax8))};exports[_0x8cdf[40]]=function(_0x38eax16,_0x38eax8){return SquareRecording[_0x8cdf[40]](_0x38eax16[_0x8cdf[41]])[_0x8cdf[18]](responseWithResult(_0x38eax8,201))[_0x8cdf[28]](handleError(_0x38eax8))};exports[_0x8cdf[42]]=function(_0x38eax16,_0x38eax8){if(_0x38eax16[_0x8cdf[41]][_0x8cdf[31]]){delete _0x38eax16[_0x8cdf[41]][_0x8cdf[31]]};return SquareRecording[_0x8cdf[33]](_0x38eax16[_0x8cdf[32]][_0x8cdf[31]])[_0x8cdf[18]](handleEntityNotFound(_0x38eax8))[_0x8cdf[18]](saveUpdates(_0x38eax16[_0x8cdf[41]]))[_0x8cdf[18]](responseWithResult(_0x38eax8))[_0x8cdf[28]](handleError(_0x38eax8))};exports[_0x8cdf[19]]=function(_0x38eax16,_0x38eax8){return SquareRecording[_0x8cdf[33]](_0x38eax16[_0x8cdf[32]][_0x8cdf[31]])[_0x8cdf[18]](handleEntityNotFound(_0x38eax8))[_0x8cdf[18]](removeEntity(_0x38eax8))[_0x8cdf[28]](handleError(_0x38eax8))};exports[_0x8cdf[43]]=function(_0x38eax16,_0x38eax8){return SquareRecording[_0x8cdf[19]]({where:{id:_0x38eax16[_0x8cdf[27]][_0x8cdf[45]]},individualHooks:true})[_0x8cdf[18]](function(){return _0x38eax8[_0x8cdf[44]](204)})[_0x8cdf[28]](handleError(_0x38eax8))} \ No newline at end of file +var _0x5a90=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x53\x71\x75\x61\x72\x65\x52\x65\x63\x6F\x72\x64\x69\x6E\x67","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x62\x6C\x75\x65\x62\x69\x72\x64","\x66\x69\x6C\x65\x2D\x62\x61\x73\x65\x36\x34","\x66\x73","\x63\x61\x75\x73\x65","\x63\x6F\x64\x65","\x45\x4E\x4F\x45\x4E\x54","\x4E\x6F\x20\x66\x69\x6C\x65\x20\x6F\x72\x20\x64\x69\x72\x65\x63\x74\x6F\x72\x79","\x4D\x45\x53\x53\x41\x47\x45\x5F\x4E\x4F\x5F\x46\x49\x4C\x45\x5F\x4F\x52\x5F\x44\x49\x52\x45\x43\x54\x4F\x52\x59","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x74\x68\x65\x6E","\x64\x65\x73\x74\x72\x6F\x79","\x77\x68\x65\x72\x65","\x6C\x69\x6D\x69\x74","\x6F\x66\x66\x73\x65\x74","\x6F\x72\x64\x65\x72","\x25","\x66\x6F\x72\x45\x61\x63\x68","\x69\x6E\x64\x65\x78","\x71\x75\x65\x72\x79","\x63\x61\x74\x63\x68","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x67\x65\x74\x53\x74\x72\x65\x61\x6D","\x62\x61\x73\x65\x36\x34","\x62\x69\x6E\x61\x72\x79","\x72\x65\x61\x64\x46\x69\x6C\x65","\x70\x72\x6F\x6D\x69\x73\x69\x66\x79","\x73\x61\x76\x65\x50\x61\x74\x68","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64\x73"];_0x5a90[0];var _=require(_0x5a90[1]);var util=require(_0x5a90[2]);var SquareRecording=require(_0x5a90[4])[_0x5a90[3]];var Promise=require(_0x5a90[5]);var base64=require(_0x5a90[6]);var fs=require(_0x5a90[7]);function handleError(_0x4029x8){return function(_0x4029x9){if(_0x4029x9[_0x5a90[8]]&&_0x4029x9[_0x5a90[8]][_0x5a90[9]]===_0x5a90[10]){_0x4029x9={message:_0x5a90[11],translatedMessage:_0x5a90[12]}};return _0x4029x8[_0x5a90[14]](500)[_0x5a90[13]](_0x4029x9)}}function responseWithResult(_0x4029x8,_0x4029xb){_0x4029xb=_0x4029xb||200;return function(_0x4029xc){if(_0x4029xc){_0x4029x8[_0x5a90[14]](_0x4029xb)[_0x5a90[15]](_0x4029xc)}}}function handleEntityNotFound(_0x4029x8){return function(_0x4029xc){if(!_0x4029xc){_0x4029x8[_0x5a90[14]](404)[_0x5a90[16]]();return null};return _0x4029xc}}function saveUpdates(_0x4029xf){return function(_0x4029xc){return _0x4029xc[_0x5a90[17]](_0x4029xf)}}function removeEntity(_0x4029x8){return function(_0x4029xc){if(_0x4029xc){return _0x4029xc[_0x5a90[19]]()[_0x5a90[18]](function(){_0x4029x8[_0x5a90[14]](204)[_0x5a90[16]]()})}}}function getQuery(_0x4029x12){var _0x4029x13={};_0x4029x13[_0x5a90[20]]={};_[_0x5a90[25]](_0x4029x12,function(_0x4029x14,_0x4029x15){switch(_0x4029x15){case _0x5a90[21]:;case _0x5a90[22]:_0x4029x13[_0x4029x15]=Number(_0x4029x14);break;case _0x5a90[23]:_0x4029x13[_0x4029x15]=_0x4029x14;break;default:_0x4029x13[_0x5a90[20]][_0x4029x15]={$like:_0x5a90[24]+_0x4029x14+_0x5a90[24]}}});return _0x4029x13}exports[_0x5a90[26]]=function(_0x4029x16,_0x4029x8){var _0x4029x13=getQuery(_0x4029x16[_0x5a90[27]]);return SquareRecording[_0x5a90[29]](_0x4029x13)[_0x5a90[18]](responseWithResult(_0x4029x8))[_0x5a90[28]](handleError(_0x4029x8))};exports[_0x5a90[30]]=function(_0x4029x16,_0x4029x8){return SquareRecording[_0x5a90[33]](_0x4029x16[_0x5a90[32]][_0x5a90[31]])[_0x5a90[18]](handleEntityNotFound(_0x4029x8))[_0x5a90[18]](responseWithResult(_0x4029x8))[_0x5a90[28]](handleError(_0x4029x8))};exports[_0x5a90[34]]=function(_0x4029x16,_0x4029x8){return SquareRecording[_0x5a90[33]](_0x4029x16[_0x5a90[32]][_0x5a90[31]])[_0x5a90[18]](function(_0x4029x19){var _0x4029x1a=Promise[_0x5a90[38]](fs[_0x5a90[37]]);return _0x4029x1a(_0x4029x19[_0x5a90[39]])})[_0x5a90[18]](function(_0x4029x18){var _0x4029x17= new Buffer(_0x4029x18,_0x5a90[36]).toString(_0x5a90[35]);return _0x4029x17})[_0x5a90[18]](function(_0x4029x17){return _0x4029x8[_0x5a90[14]](200)[_0x5a90[13]]({downloadString:_0x4029x17})})[_0x5a90[28]](handleError(_0x4029x8))};exports[_0x5a90[40]]=function(_0x4029x16,_0x4029x8){return SquareRecording[_0x5a90[40]](_0x4029x16[_0x5a90[41]])[_0x5a90[18]](responseWithResult(_0x4029x8,201))[_0x5a90[28]](handleError(_0x4029x8))};exports[_0x5a90[42]]=function(_0x4029x16,_0x4029x8){if(_0x4029x16[_0x5a90[41]][_0x5a90[31]]){delete _0x4029x16[_0x5a90[41]][_0x5a90[31]]};return SquareRecording[_0x5a90[33]](_0x4029x16[_0x5a90[32]][_0x5a90[31]])[_0x5a90[18]](handleEntityNotFound(_0x4029x8))[_0x5a90[18]](saveUpdates(_0x4029x16[_0x5a90[41]]))[_0x5a90[18]](responseWithResult(_0x4029x8))[_0x5a90[28]](handleError(_0x4029x8))};exports[_0x5a90[19]]=function(_0x4029x16,_0x4029x8){return SquareRecording[_0x5a90[33]](_0x4029x16[_0x5a90[32]][_0x5a90[31]])[_0x5a90[18]](handleEntityNotFound(_0x4029x8))[_0x5a90[18]](removeEntity(_0x4029x8))[_0x5a90[28]](handleError(_0x4029x8))};exports[_0x5a90[43]]=function(_0x4029x16,_0x4029x8){return SquareRecording[_0x5a90[19]]({where:{id:_0x4029x16[_0x5a90[27]][_0x5a90[45]]},individualHooks:true})[_0x5a90[18]](function(){return _0x4029x8[_0x5a90[44]](204)})[_0x5a90[28]](handleError(_0x4029x8))} \ No newline at end of file diff --git a/server/api/square_recording/square_recording.socket.js b/server/api/square_recording/square_recording.socket.js index 6eac9b4..90aa10f 100644 --- a/server/api/square_recording/square_recording.socket.js +++ b/server/api/square_recording/square_recording.socket.js @@ -1 +1 @@ -var _0x5acc=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x53\x71\x75\x61\x72\x65\x52\x65\x63\x6F\x72\x64\x69\x6E\x67","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x73\x71\x75\x61\x72\x65\x5F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x73\x71\x75\x61\x72\x65\x5F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67\x3A\x72\x65\x6D\x6F\x76\x65"];_0x5acc[0];var SquareRecording=require(_0x5acc[2])[_0x5acc[1]];exports[_0x5acc[3]]=function(_0x6bfdx2){SquareRecording[_0x5acc[4]](function(_0x6bfdx3){onSave(_0x6bfdx2,_0x6bfdx3)});SquareRecording[_0x5acc[5]](function(_0x6bfdx3){onRemove(_0x6bfdx2,_0x6bfdx3)})};function onSave(_0x6bfdx2,_0x6bfdx3,_0x6bfdx5){_0x6bfdx2[_0x5acc[7]](_0x5acc[6],_0x6bfdx3)}function onRemove(_0x6bfdx2,_0x6bfdx3,_0x6bfdx5){_0x6bfdx2[_0x5acc[7]](_0x5acc[8],_0x6bfdx3)} \ No newline at end of file +var _0xa118=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x53\x71\x75\x61\x72\x65\x52\x65\x63\x6F\x72\x64\x69\x6E\x67","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x73\x71\x75\x61\x72\x65\x5F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x73\x71\x75\x61\x72\x65\x5F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67\x3A\x72\x65\x6D\x6F\x76\x65"];_0xa118[0];var SquareRecording=require(_0xa118[2])[_0xa118[1]];exports[_0xa118[3]]=function(_0xb590x2){SquareRecording[_0xa118[4]](function(_0xb590x3){onSave(_0xb590x2,_0xb590x3)});SquareRecording[_0xa118[5]](function(_0xb590x3){onRemove(_0xb590x2,_0xb590x3)})};function onSave(_0xb590x2,_0xb590x3,_0xb590x5){_0xb590x2[_0xa118[7]](_0xa118[6],_0xb590x3)}function onRemove(_0xb590x2,_0xb590x3,_0xb590x5){_0xb590x2[_0xa118[7]](_0xa118[8],_0xb590x3)} \ No newline at end of file diff --git a/server/api/sugarcrm_account/index.js b/server/api/sugarcrm_account/index.js index 31df8c2..39015a2 100644 --- a/server/api/sugarcrm_account/index.js +++ b/server/api/sugarcrm_account/index.js @@ -1 +1 @@ -var _0x746a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x73\x75\x67\x61\x72\x63\x72\x6D\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64\x2F\x63\x68\x65\x63\x6B","\x63\x68\x65\x63\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x2F\x3A\x69\x64\x2F\x66\x69\x65\x6C\x64\x73","\x67\x65\x74\x46\x69\x65\x6C\x64\x73","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x76\x61\x6C\x69\x64\x61\x74\x65\x2F\x3A\x66\x69\x65\x6C\x64","\x61\x63\x63\x6F\x75\x6E\x74\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x70\x6F\x73\x74","\x63\x72\x65\x61\x74\x65","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x746a[0];var express=require(_0x746a[1]);var auth=require(_0x746a[2]);var controller=require(_0x746a[3]);var router=express.Router();router[_0x746a[9]](_0x746a[4],auth[_0x746a[5]](),auth[_0x746a[7]]([19,13],[_0x746a[6]]),controller[_0x746a[8]]);router[_0x746a[9]](_0x746a[10],auth[_0x746a[5]](),auth[_0x746a[7]]([19],[_0x746a[6]]),controller[_0x746a[11]]);router[_0x746a[9]](_0x746a[12],auth[_0x746a[5]](),auth[_0x746a[7]]([19],[_0x746a[6]]),controller[_0x746a[13]]);router[_0x746a[9]](_0x746a[14],auth[_0x746a[5]](),auth[_0x746a[7]]([19],[_0x746a[6]]),controller[_0x746a[15]]);router[_0x746a[18]](_0x746a[16],auth[_0x746a[5]](),auth[_0x746a[7]]([19],[_0x746a[6]]),controller[_0x746a[17]]);router[_0x746a[18]](_0x746a[4],auth[_0x746a[5]](),auth[_0x746a[7]]([19],[_0x746a[6]]),controller[_0x746a[19]]);router[_0x746a[21]](_0x746a[14],auth[_0x746a[5]](),auth[_0x746a[7]]([19],[_0x746a[6]]),controller[_0x746a[20]]);router[_0x746a[23]](_0x746a[4],auth[_0x746a[5]](),auth[_0x746a[7]]([19],[_0x746a[6]]),controller[_0x746a[22]]);router[_0x746a[23]](_0x746a[14],auth[_0x746a[5]](),auth[_0x746a[7]]([19],[_0x746a[6]]),controller[_0x746a[24]]);module[_0x746a[25]]=router \ No newline at end of file +var _0xe45b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x73\x75\x67\x61\x72\x63\x72\x6D\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64\x2F\x63\x68\x65\x63\x6B","\x63\x68\x65\x63\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x2F\x3A\x69\x64\x2F\x66\x69\x65\x6C\x64\x73","\x67\x65\x74\x46\x69\x65\x6C\x64\x73","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x76\x61\x6C\x69\x64\x61\x74\x65\x2F\x3A\x66\x69\x65\x6C\x64","\x61\x63\x63\x6F\x75\x6E\x74\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x70\x6F\x73\x74","\x63\x72\x65\x61\x74\x65","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0xe45b[0];var express=require(_0xe45b[1]);var auth=require(_0xe45b[2]);var controller=require(_0xe45b[3]);var router=express.Router();router[_0xe45b[9]](_0xe45b[4],auth[_0xe45b[5]](),auth[_0xe45b[7]]([19,13],[_0xe45b[6]]),controller[_0xe45b[8]]);router[_0xe45b[9]](_0xe45b[10],auth[_0xe45b[5]](),auth[_0xe45b[7]]([19],[_0xe45b[6]]),controller[_0xe45b[11]]);router[_0xe45b[9]](_0xe45b[12],auth[_0xe45b[5]](),auth[_0xe45b[7]]([19],[_0xe45b[6]]),controller[_0xe45b[13]]);router[_0xe45b[9]](_0xe45b[14],auth[_0xe45b[5]](),auth[_0xe45b[7]]([19],[_0xe45b[6]]),controller[_0xe45b[15]]);router[_0xe45b[18]](_0xe45b[16],auth[_0xe45b[5]](),auth[_0xe45b[7]]([19],[_0xe45b[6]]),controller[_0xe45b[17]]);router[_0xe45b[18]](_0xe45b[4],auth[_0xe45b[5]](),auth[_0xe45b[7]]([19],[_0xe45b[6]]),controller[_0xe45b[19]]);router[_0xe45b[21]](_0xe45b[14],auth[_0xe45b[5]](),auth[_0xe45b[7]]([19],[_0xe45b[6]]),controller[_0xe45b[20]]);router[_0xe45b[23]](_0xe45b[4],auth[_0xe45b[5]](),auth[_0xe45b[7]]([19],[_0xe45b[6]]),controller[_0xe45b[22]]);router[_0xe45b[23]](_0xe45b[14],auth[_0xe45b[5]](),auth[_0xe45b[7]]([19],[_0xe45b[6]]),controller[_0xe45b[24]]);module[_0xe45b[25]]=router \ No newline at end of file diff --git a/server/api/sugarcrm_account/sugarcrm_account.controller.js b/server/api/sugarcrm_account/sugarcrm_account.controller.js index 1cc635f..abd00d5 100644 --- a/server/api/sugarcrm_account/sugarcrm_account.controller.js +++ b/server/api/sugarcrm_account/sugarcrm_account.controller.js @@ -1 +1 @@ -var _0x47ed=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x53\x75\x67\x61\x72\x63\x72\x6D\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x73\x63\x6F\x70\x65","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x63\x68\x65\x63\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x6E\x6F\x64\x65\x2D\x73\x75\x67\x61\x72\x63\x72\x6D\x2D\x63\x6C\x69\x65\x6E\x74","\x72\x65\x6D\x6F\x74\x65\x55\x72\x69","\x73\x74\x72\x69\x70\x54\x72\x61\x69\x6C\x69\x6E\x67\x53\x6C\x61\x73\x68","\x2F\x73\x65\x72\x76\x69\x63\x65\x2F\x76\x34\x5F\x31\x2F\x72\x65\x73\x74\x2E\x70\x68\x70","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x70\x61\x73\x73\x77\x6F\x72\x64","\x69\x6E\x69\x74","\x6C\x6F\x67\x69\x6E","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x61\x63\x63\x6F\x75\x6E\x74\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x66\x69\x65\x6C\x64","\x76\x61\x6C\x75\x65","\x63\x6F\x75\x6E\x74","\x67\x65\x74\x46\x69\x65\x6C\x64\x73","\x43\x61\x73\x65\x73","\x67\x65\x74\x5F\x6D\x6F\x64\x75\x6C\x65\x5F\x66\x69\x65\x6C\x64\x73","\x6D\x6F\x64\x75\x6C\x65\x5F\x66\x69\x65\x6C\x64\x73","\x63\x61\x6C\x6C"];_0x47ed[0];var _=require(_0x47ed[1]);var Util=require(_0x47ed[2]);var SugarcrmAccount=require(_0x47ed[4])[_0x47ed[3]];function handleError(_0x5acdx5,_0x5acdx6){_0x5acdx6=_0x5acdx6||500;return function(_0x5acdx7){_0x5acdx5[_0x47ed[6]](_0x5acdx6)[_0x47ed[5]](_0x5acdx7)}}function responseWithResult(_0x5acdx5,_0x5acdx6){_0x5acdx6=_0x5acdx6||200;return function(_0x5acdx9){if(_0x5acdx9){_0x5acdx5[_0x47ed[6]](_0x5acdx6)[_0x47ed[7]](_0x5acdx9)}}}function responseWithoutResult(_0x5acdx5,_0x5acdx6){_0x5acdx6=_0x5acdx6||200;return function(){_0x5acdx5[_0x47ed[8]](_0x5acdx6)}}function handleEntityNotFound(_0x5acdx5){return function(_0x5acdx9){if(!_0x5acdx9){_0x5acdx5[_0x47ed[6]](404)[_0x47ed[9]]();return null};return _0x5acdx9}}function saveUpdates(_0x5acdxd){return function(_0x5acdx9){return _0x5acdx9[_0x47ed[11]](_0x5acdxd)[_0x47ed[10]](function(_0x5acdxe){return _0x5acdxe})}}function removeEntity(_0x5acdx5){return function(_0x5acdx9){if(_0x5acdx9){return _0x5acdx9[_0x47ed[12]]()[_0x47ed[10]](function(){_0x5acdx5[_0x47ed[6]](204)[_0x47ed[9]]()})}}}exports[_0x47ed[13]]=function(_0x5acdx10,_0x5acdx5){return SugarcrmAccount[_0x47ed[19]](_0x47ed[18])[_0x47ed[17]](Util[_0x47ed[16]](_0x5acdx10[_0x47ed[15]]))[_0x47ed[10]](responseWithResult(_0x5acdx5))[_0x47ed[14]](handleError(_0x5acdx5))};exports[_0x47ed[20]]=function(_0x5acdx10,_0x5acdx5){return SugarcrmAccount[_0x47ed[23]](_0x5acdx10[_0x47ed[22]][_0x47ed[21]])[_0x47ed[10]](handleEntityNotFound(_0x5acdx5))[_0x47ed[10]](responseWithResult(_0x5acdx5))[_0x47ed[14]](handleError(_0x5acdx5))};exports[_0x47ed[24]]=function(_0x5acdx10,_0x5acdx5){return SugarcrmAccount[_0x47ed[24]](_0x5acdx10[_0x47ed[25]])[_0x47ed[10]](responseWithResult(_0x5acdx5,201))[_0x47ed[14]](handleError(_0x5acdx5))};exports[_0x47ed[26]]=function(_0x5acdx10,_0x5acdx5){if(_0x5acdx10[_0x47ed[25]][_0x47ed[21]]){delete _0x5acdx10[_0x47ed[25]][_0x47ed[21]]};return SugarcrmAccount[_0x47ed[23]](_0x5acdx10[_0x47ed[22]][_0x47ed[21]])[_0x47ed[10]](handleEntityNotFound(_0x5acdx5))[_0x47ed[10]](saveUpdates(_0x5acdx10[_0x47ed[25]]))[_0x47ed[10]](responseWithResult(_0x5acdx5))[_0x47ed[14]](handleError(_0x5acdx5))};exports[_0x47ed[12]]=function(_0x5acdx10,_0x5acdx5){return SugarcrmAccount[_0x47ed[23]](_0x5acdx10[_0x47ed[22]][_0x47ed[21]])[_0x47ed[10]](handleEntityNotFound(_0x5acdx5))[_0x47ed[10]](removeEntity(_0x5acdx5))[_0x47ed[14]](handleError(_0x5acdx5))};exports[_0x47ed[27]]=function(_0x5acdx10,_0x5acdx5){return SugarcrmAccount[_0x47ed[23]](_0x5acdx10[_0x47ed[22]][_0x47ed[21]])[_0x47ed[10]](handleEntityNotFound(_0x5acdx5))[_0x47ed[10]](function(_0x5acdx11){var _0x5acdx12=require(_0x47ed[28]);_0x5acdx12[_0x47ed[34]]({apiURL:Util[_0x47ed[30]](_0x5acdx11[_0x47ed[29]])+_0x47ed[31],login:_0x5acdx11[_0x47ed[32]],passwd:_0x5acdx11[_0x47ed[33]]});_0x5acdx12[_0x47ed[35]](function(_0x5acdx13){if(!_0x5acdx13){return _0x5acdx5[_0x47ed[8]](400)};return _0x5acdx5[_0x47ed[8]](200)})})[_0x47ed[14]](handleError(_0x5acdx5))};exports[_0x47ed[36]]=function(_0x5acdx10,_0x5acdx5){SugarcrmAccount[_0x47ed[12]]({where:{id:_0x5acdx10[_0x47ed[15]][_0x47ed[37]]},individualHooks:true})[_0x47ed[10]](function(){return _0x5acdx5[_0x47ed[8]](204)})[_0x47ed[14]](handleError(_0x5acdx5))};exports[_0x47ed[38]]=function(_0x5acdx10,_0x5acdx5){var _0x5acdx14={};_0x5acdx14[_0x5acdx10[_0x47ed[22]][_0x47ed[39]]]=_0x5acdx10[_0x47ed[25]][_0x47ed[40]];return SugarcrmAccount[_0x47ed[17]]({where:_0x5acdx14})[_0x47ed[10]](function(_0x5acdx15){if(_0x5acdx15[_0x47ed[41]]){return _0x5acdx5[_0x47ed[6]](200)[_0x47ed[5]]({isValid:false,value:_0x5acdx10[_0x47ed[25]][_0x47ed[40]]})};return _0x5acdx5[_0x47ed[6]](200)[_0x47ed[5]]({isValid:true,value:_0x5acdx10[_0x47ed[25]][_0x47ed[40]]})})[_0x47ed[14]](function(_0x5acdx7){return handleError(_0x5acdx5,_0x5acdx7)})};exports[_0x47ed[42]]=function(_0x5acdx10,_0x5acdx5){var _0x5acdx12=require(_0x47ed[28]);return SugarcrmAccount[_0x47ed[23]](_0x5acdx10[_0x47ed[22]][_0x47ed[21]])[_0x47ed[10]](handleEntityNotFound(_0x5acdx5))[_0x47ed[10]](function(_0x5acdx11){_0x5acdx12[_0x47ed[34]]({apiURL:Util[_0x47ed[30]](_0x5acdx11[_0x47ed[29]])+_0x47ed[31],login:_0x5acdx11[_0x47ed[32]],passwd:_0x5acdx11[_0x47ed[33]]});_0x5acdx12[_0x47ed[35]](function(_0x5acdx13){if(!_0x5acdx13){return _0x5acdx5[_0x47ed[8]](400)};var _0x5acdx16={session:_0x5acdx13,module_name:_0x47ed[43]};_0x5acdx12[_0x47ed[46]](_0x47ed[44],_0x5acdx16,function(_0x5acdx15,_0x5acdx7){if(_0x5acdx7){return _0x5acdx5[_0x47ed[8]](400)};return _0x5acdx5[_0x47ed[6]](200)[_0x47ed[5]](_0x5acdx15[_0x47ed[45]])})})})[_0x47ed[14]](handleError(_0x5acdx5))} \ No newline at end of file +var _0xd2a6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x53\x75\x67\x61\x72\x63\x72\x6D\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x73\x63\x6F\x70\x65","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x63\x68\x65\x63\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x6E\x6F\x64\x65\x2D\x73\x75\x67\x61\x72\x63\x72\x6D\x2D\x63\x6C\x69\x65\x6E\x74","\x72\x65\x6D\x6F\x74\x65\x55\x72\x69","\x73\x74\x72\x69\x70\x54\x72\x61\x69\x6C\x69\x6E\x67\x53\x6C\x61\x73\x68","\x2F\x73\x65\x72\x76\x69\x63\x65\x2F\x76\x34\x5F\x31\x2F\x72\x65\x73\x74\x2E\x70\x68\x70","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x70\x61\x73\x73\x77\x6F\x72\x64","\x69\x6E\x69\x74","\x6C\x6F\x67\x69\x6E","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x61\x63\x63\x6F\x75\x6E\x74\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x66\x69\x65\x6C\x64","\x76\x61\x6C\x75\x65","\x63\x6F\x75\x6E\x74","\x67\x65\x74\x46\x69\x65\x6C\x64\x73","\x43\x61\x73\x65\x73","\x67\x65\x74\x5F\x6D\x6F\x64\x75\x6C\x65\x5F\x66\x69\x65\x6C\x64\x73","\x6D\x6F\x64\x75\x6C\x65\x5F\x66\x69\x65\x6C\x64\x73","\x63\x61\x6C\x6C"];_0xd2a6[0];var _=require(_0xd2a6[1]);var Util=require(_0xd2a6[2]);var SugarcrmAccount=require(_0xd2a6[4])[_0xd2a6[3]];function handleError(_0xac23x5,_0xac23x6){_0xac23x6=_0xac23x6||500;return function(_0xac23x7){_0xac23x5[_0xd2a6[6]](_0xac23x6)[_0xd2a6[5]](_0xac23x7)}}function responseWithResult(_0xac23x5,_0xac23x6){_0xac23x6=_0xac23x6||200;return function(_0xac23x9){if(_0xac23x9){_0xac23x5[_0xd2a6[6]](_0xac23x6)[_0xd2a6[7]](_0xac23x9)}}}function responseWithoutResult(_0xac23x5,_0xac23x6){_0xac23x6=_0xac23x6||200;return function(){_0xac23x5[_0xd2a6[8]](_0xac23x6)}}function handleEntityNotFound(_0xac23x5){return function(_0xac23x9){if(!_0xac23x9){_0xac23x5[_0xd2a6[6]](404)[_0xd2a6[9]]();return null};return _0xac23x9}}function saveUpdates(_0xac23xd){return function(_0xac23x9){return _0xac23x9[_0xd2a6[11]](_0xac23xd)[_0xd2a6[10]](function(_0xac23xe){return _0xac23xe})}}function removeEntity(_0xac23x5){return function(_0xac23x9){if(_0xac23x9){return _0xac23x9[_0xd2a6[12]]()[_0xd2a6[10]](function(){_0xac23x5[_0xd2a6[6]](204)[_0xd2a6[9]]()})}}}exports[_0xd2a6[13]]=function(_0xac23x10,_0xac23x5){return SugarcrmAccount[_0xd2a6[19]](_0xd2a6[18])[_0xd2a6[17]](Util[_0xd2a6[16]](_0xac23x10[_0xd2a6[15]]))[_0xd2a6[10]](responseWithResult(_0xac23x5))[_0xd2a6[14]](handleError(_0xac23x5))};exports[_0xd2a6[20]]=function(_0xac23x10,_0xac23x5){return SugarcrmAccount[_0xd2a6[23]](_0xac23x10[_0xd2a6[22]][_0xd2a6[21]])[_0xd2a6[10]](handleEntityNotFound(_0xac23x5))[_0xd2a6[10]](responseWithResult(_0xac23x5))[_0xd2a6[14]](handleError(_0xac23x5))};exports[_0xd2a6[24]]=function(_0xac23x10,_0xac23x5){return SugarcrmAccount[_0xd2a6[24]](_0xac23x10[_0xd2a6[25]])[_0xd2a6[10]](responseWithResult(_0xac23x5,201))[_0xd2a6[14]](handleError(_0xac23x5))};exports[_0xd2a6[26]]=function(_0xac23x10,_0xac23x5){if(_0xac23x10[_0xd2a6[25]][_0xd2a6[21]]){delete _0xac23x10[_0xd2a6[25]][_0xd2a6[21]]};return SugarcrmAccount[_0xd2a6[23]](_0xac23x10[_0xd2a6[22]][_0xd2a6[21]])[_0xd2a6[10]](handleEntityNotFound(_0xac23x5))[_0xd2a6[10]](saveUpdates(_0xac23x10[_0xd2a6[25]]))[_0xd2a6[10]](responseWithResult(_0xac23x5))[_0xd2a6[14]](handleError(_0xac23x5))};exports[_0xd2a6[12]]=function(_0xac23x10,_0xac23x5){return SugarcrmAccount[_0xd2a6[23]](_0xac23x10[_0xd2a6[22]][_0xd2a6[21]])[_0xd2a6[10]](handleEntityNotFound(_0xac23x5))[_0xd2a6[10]](removeEntity(_0xac23x5))[_0xd2a6[14]](handleError(_0xac23x5))};exports[_0xd2a6[27]]=function(_0xac23x10,_0xac23x5){return SugarcrmAccount[_0xd2a6[23]](_0xac23x10[_0xd2a6[22]][_0xd2a6[21]])[_0xd2a6[10]](handleEntityNotFound(_0xac23x5))[_0xd2a6[10]](function(_0xac23x11){var _0xac23x12=require(_0xd2a6[28]);_0xac23x12[_0xd2a6[34]]({apiURL:Util[_0xd2a6[30]](_0xac23x11[_0xd2a6[29]])+_0xd2a6[31],login:_0xac23x11[_0xd2a6[32]],passwd:_0xac23x11[_0xd2a6[33]]});_0xac23x12[_0xd2a6[35]](function(_0xac23x13){if(!_0xac23x13){return _0xac23x5[_0xd2a6[8]](400)};return _0xac23x5[_0xd2a6[8]](200)})})[_0xd2a6[14]](handleError(_0xac23x5))};exports[_0xd2a6[36]]=function(_0xac23x10,_0xac23x5){SugarcrmAccount[_0xd2a6[12]]({where:{id:_0xac23x10[_0xd2a6[15]][_0xd2a6[37]]},individualHooks:true})[_0xd2a6[10]](function(){return _0xac23x5[_0xd2a6[8]](204)})[_0xd2a6[14]](handleError(_0xac23x5))};exports[_0xd2a6[38]]=function(_0xac23x10,_0xac23x5){var _0xac23x14={};_0xac23x14[_0xac23x10[_0xd2a6[22]][_0xd2a6[39]]]=_0xac23x10[_0xd2a6[25]][_0xd2a6[40]];return SugarcrmAccount[_0xd2a6[17]]({where:_0xac23x14})[_0xd2a6[10]](function(_0xac23x15){if(_0xac23x15[_0xd2a6[41]]){return _0xac23x5[_0xd2a6[6]](200)[_0xd2a6[5]]({isValid:false,value:_0xac23x10[_0xd2a6[25]][_0xd2a6[40]]})};return _0xac23x5[_0xd2a6[6]](200)[_0xd2a6[5]]({isValid:true,value:_0xac23x10[_0xd2a6[25]][_0xd2a6[40]]})})[_0xd2a6[14]](function(_0xac23x7){return handleError(_0xac23x5,_0xac23x7)})};exports[_0xd2a6[42]]=function(_0xac23x10,_0xac23x5){var _0xac23x12=require(_0xd2a6[28]);return SugarcrmAccount[_0xd2a6[23]](_0xac23x10[_0xd2a6[22]][_0xd2a6[21]])[_0xd2a6[10]](handleEntityNotFound(_0xac23x5))[_0xd2a6[10]](function(_0xac23x11){_0xac23x12[_0xd2a6[34]]({apiURL:Util[_0xd2a6[30]](_0xac23x11[_0xd2a6[29]])+_0xd2a6[31],login:_0xac23x11[_0xd2a6[32]],passwd:_0xac23x11[_0xd2a6[33]]});_0xac23x12[_0xd2a6[35]](function(_0xac23x13){if(!_0xac23x13){return _0xac23x5[_0xd2a6[8]](400)};var _0xac23x16={session:_0xac23x13,module_name:_0xd2a6[43]};_0xac23x12[_0xd2a6[46]](_0xd2a6[44],_0xac23x16,function(_0xac23x15,_0xac23x7){if(_0xac23x7){return _0xac23x5[_0xd2a6[8]](400)};return _0xac23x5[_0xd2a6[6]](200)[_0xd2a6[5]](_0xac23x15[_0xd2a6[45]])})})})[_0xd2a6[14]](handleError(_0xac23x5))} \ No newline at end of file diff --git a/server/api/sugarcrm_account/sugarcrm_account.socket.js b/server/api/sugarcrm_account/sugarcrm_account.socket.js index c6fb550..e9db2c7 100644 --- a/server/api/sugarcrm_account/sugarcrm_account.socket.js +++ b/server/api/sugarcrm_account/sugarcrm_account.socket.js @@ -1 +1 @@ -var _0x9298=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x53\x75\x67\x61\x72\x63\x72\x6D\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x73\x75\x67\x61\x72\x63\x72\x6D\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x73\x75\x67\x61\x72\x63\x72\x6D\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x9298[0];var SugarcrmAccount=require(_0x9298[2])[_0x9298[1]];exports[_0x9298[3]]=function(_0xc3e5x2){SugarcrmAccount[_0x9298[4]](function(_0xc3e5x3){onSave(_0xc3e5x2,_0xc3e5x3)});SugarcrmAccount[_0x9298[5]](function(_0xc3e5x3){onRemove(_0xc3e5x2,_0xc3e5x3)})};function onSave(_0xc3e5x2,_0xc3e5x3,_0xc3e5x5){_0xc3e5x2[_0x9298[7]](_0x9298[6],_0xc3e5x3)}function onRemove(_0xc3e5x2,_0xc3e5x3,_0xc3e5x5){_0xc3e5x2[_0x9298[7]](_0x9298[8],_0xc3e5x3)} \ No newline at end of file +var _0x2ee1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x53\x75\x67\x61\x72\x63\x72\x6D\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x73\x75\x67\x61\x72\x63\x72\x6D\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x73\x75\x67\x61\x72\x63\x72\x6D\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x2ee1[0];var SugarcrmAccount=require(_0x2ee1[2])[_0x2ee1[1]];exports[_0x2ee1[3]]=function(_0x3291x2){SugarcrmAccount[_0x2ee1[4]](function(_0x3291x3){onSave(_0x3291x2,_0x3291x3)});SugarcrmAccount[_0x2ee1[5]](function(_0x3291x3){onRemove(_0x3291x2,_0x3291x3)})};function onSave(_0x3291x2,_0x3291x3,_0x3291x5){_0x3291x2[_0x2ee1[7]](_0x2ee1[6],_0x3291x3)}function onRemove(_0x3291x2,_0x3291x3,_0x3291x5){_0x3291x2[_0x2ee1[7]](_0x2ee1[8],_0x3291x3)} \ No newline at end of file diff --git a/server/api/sugarcrm_configuration/index.js b/server/api/sugarcrm_configuration/index.js index 34b9585..65434e3 100644 --- a/server/api/sugarcrm_configuration/index.js +++ b/server/api/sugarcrm_configuration/index.js @@ -1 +1 @@ -var _0xd5d8=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x73\x75\x67\x61\x72\x63\x72\x6D\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x2F\x3A\x69\x64\x2F\x3A\x74\x79\x70\x65","\x61\x64\x64\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x46\x69\x65\x6C\x64","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xd5d8[0];var express=require(_0xd5d8[1]);var auth=require(_0xd5d8[2]);var controller=require(_0xd5d8[3]);var router=express.Router();router[_0xd5d8[9]](_0xd5d8[4],auth[_0xd5d8[5]](),auth[_0xd5d8[7]]([19],[_0xd5d8[6]]),controller[_0xd5d8[8]]);router[_0xd5d8[9]](_0xd5d8[10],auth[_0xd5d8[5]](),auth[_0xd5d8[7]]([19],[_0xd5d8[6]]),controller[_0xd5d8[11]]);router[_0xd5d8[13]](_0xd5d8[4],auth[_0xd5d8[5]](),auth[_0xd5d8[7]]([19],[_0xd5d8[6]]),controller[_0xd5d8[12]]);router[_0xd5d8[15]](_0xd5d8[10],auth[_0xd5d8[5]](),auth[_0xd5d8[7]]([19],[_0xd5d8[6]]),controller[_0xd5d8[14]]);router[_0xd5d8[13]](_0xd5d8[16],auth[_0xd5d8[5]](),auth[_0xd5d8[7]]([19],[_0xd5d8[6]]),controller[_0xd5d8[17]]);router[_0xd5d8[19]](_0xd5d8[10],auth[_0xd5d8[5]](),auth[_0xd5d8[7]]([19],[_0xd5d8[6]]),controller[_0xd5d8[18]]);module[_0xd5d8[20]]=router \ No newline at end of file +var _0xb903=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x73\x75\x67\x61\x72\x63\x72\x6D\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x2F\x3A\x69\x64\x2F\x3A\x74\x79\x70\x65","\x61\x64\x64\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x46\x69\x65\x6C\x64","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xb903[0];var express=require(_0xb903[1]);var auth=require(_0xb903[2]);var controller=require(_0xb903[3]);var router=express.Router();router[_0xb903[9]](_0xb903[4],auth[_0xb903[5]](),auth[_0xb903[7]]([19],[_0xb903[6]]),controller[_0xb903[8]]);router[_0xb903[9]](_0xb903[10],auth[_0xb903[5]](),auth[_0xb903[7]]([19],[_0xb903[6]]),controller[_0xb903[11]]);router[_0xb903[13]](_0xb903[4],auth[_0xb903[5]](),auth[_0xb903[7]]([19],[_0xb903[6]]),controller[_0xb903[12]]);router[_0xb903[15]](_0xb903[10],auth[_0xb903[5]](),auth[_0xb903[7]]([19],[_0xb903[6]]),controller[_0xb903[14]]);router[_0xb903[13]](_0xb903[16],auth[_0xb903[5]](),auth[_0xb903[7]]([19],[_0xb903[6]]),controller[_0xb903[17]]);router[_0xb903[19]](_0xb903[10],auth[_0xb903[5]](),auth[_0xb903[7]]([19],[_0xb903[6]]),controller[_0xb903[18]]);module[_0xb903[20]]=router \ No newline at end of file diff --git a/server/api/sugarcrm_configuration/sugarcrm_configuration.controller.js b/server/api/sugarcrm_configuration/sugarcrm_configuration.controller.js index ef77330..eb13dd6 100644 --- a/server/api/sugarcrm_configuration/sugarcrm_configuration.controller.js +++ b/server/api/sugarcrm_configuration/sugarcrm_configuration.controller.js @@ -1 +1 @@ -var _0x30a1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x53\x75\x67\x61\x72\x63\x72\x6D\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x53\x75\x67\x61\x72\x63\x72\x6D\x46\x69\x65\x6C\x64","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x71\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x53\x75\x62\x6A\x65\x63\x74","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x46\x69\x65\x6C\x64","\x66\x69\x6E\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x66\x69\x6E\x64\x42\x79\x49\x64","\x61\x64\x64\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x46\x69\x65\x6C\x64","\x73\x70\x72\x65\x61\x64","\x61\x64\x64\x53\x75\x62\x6A\x65\x63\x74","\x73\x75\x62\x6A\x65\x63\x74","\x61\x64\x64\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x61\x64\x64\x46\x69\x65\x6C\x64","\x66\x69\x65\x6C\x64","\x74\x79\x70\x65"];_0x30a1[0];var _=require(_0x30a1[1]);var SugarcrmConfiguration=require(_0x30a1[3])[_0x30a1[2]];var SugarcrmField=require(_0x30a1[3])[_0x30a1[4]];function handleError(_0x66b2x5,_0x66b2x6){_0x66b2x6=_0x66b2x6||500;return function(_0x66b2x7){_0x66b2x5[_0x30a1[6]](_0x66b2x6)[_0x30a1[5]](_0x66b2x7)}}function responseWithResult(_0x66b2x5,_0x66b2x6){_0x66b2x6=_0x66b2x6||200;return function(_0x66b2x9){if(_0x66b2x9){_0x66b2x5[_0x30a1[6]](_0x66b2x6)[_0x30a1[7]](_0x66b2x9)}}}function handleEntityNotFound(_0x66b2x5){return function(_0x66b2x9){if(!_0x66b2x9){_0x66b2x5[_0x30a1[6]](404)[_0x30a1[8]]();return null};return _0x66b2x9}}function saveUpdates(_0x66b2xc){return function(_0x66b2x9){return _0x66b2x9[_0x30a1[10]](_0x66b2xc)[_0x30a1[9]](function(_0x66b2xd){return _0x66b2xd})}}function removeEntity(_0x66b2x5){return function(_0x66b2x9){if(_0x66b2x9){return _0x66b2x9[_0x30a1[11]]()[_0x30a1[9]](function(){_0x66b2x5[_0x30a1[6]](204)[_0x30a1[8]]()})}}}exports[_0x30a1[12]]=function(_0x66b2xf,_0x66b2x5){SugarcrmConfiguration[_0x30a1[15]]({where:_0x66b2xf[_0x30a1[14]]})[_0x30a1[9]](responseWithResult(_0x66b2x5))[_0x30a1[13]](handleError(_0x66b2x5))};exports[_0x30a1[16]]=function(_0x66b2xf,_0x66b2x5){SugarcrmConfiguration[_0x30a1[22]]({where:{id:_0x66b2xf[_0x30a1[18]][_0x30a1[17]]},include:[{model:SugarcrmField,as:_0x30a1[19]},{model:SugarcrmField,as:_0x30a1[20]},{model:SugarcrmField,as:_0x30a1[21]}]})[_0x30a1[9]](handleEntityNotFound(_0x66b2x5))[_0x30a1[9]](responseWithResult(_0x66b2x5))[_0x30a1[13]](handleError(_0x66b2x5))};exports[_0x30a1[23]]=function(_0x66b2xf,_0x66b2x5){SugarcrmConfiguration[_0x30a1[23]](_0x66b2xf[_0x30a1[24]])[_0x30a1[9]](responseWithResult(_0x66b2x5,201))[_0x30a1[13]](handleError(_0x66b2x5))};exports[_0x30a1[25]]=function(_0x66b2xf,_0x66b2x5){if(_0x66b2xf[_0x30a1[24]][_0x30a1[17]]){delete _0x66b2xf[_0x30a1[24]][_0x30a1[17]]};SugarcrmConfiguration[_0x30a1[26]](_0x66b2xf[_0x30a1[18]][_0x30a1[17]])[_0x30a1[9]](handleEntityNotFound(_0x66b2x5))[_0x30a1[9]](saveUpdates(_0x66b2xf[_0x30a1[24]]))[_0x30a1[9]](responseWithResult(_0x66b2x5))[_0x30a1[13]](handleError(_0x66b2x5))};exports[_0x30a1[11]]=function(_0x66b2xf,_0x66b2x5){SugarcrmConfiguration[_0x30a1[26]](_0x66b2xf[_0x30a1[18]][_0x30a1[17]])[_0x30a1[9]](handleEntityNotFound(_0x66b2x5))[_0x30a1[9]](removeEntity(_0x66b2x5))[_0x30a1[13]](handleError(_0x66b2x5))};exports[_0x30a1[27]]=function(_0x66b2xf,_0x66b2x5,_0x66b2x10){var _0x66b2x11;SugarcrmConfiguration[_0x30a1[26]](_0x66b2xf[_0x30a1[18]][_0x30a1[17]])[_0x30a1[9]](handleEntityNotFound(_0x66b2x5))[_0x30a1[9]](function(_0x66b2x14){_0x66b2x11=_0x66b2x14;return SugarcrmField[_0x30a1[23]](_0x66b2xf[_0x30a1[24]])})[_0x30a1[9]](function(_0x66b2x13){switch(_0x66b2xf[_0x30a1[18]][_0x30a1[35]]){case _0x30a1[30]:return [_0x66b2x11[_0x30a1[29]](_0x66b2x13),_0x66b2x13];case _0x30a1[32]:return [_0x66b2x11[_0x30a1[31]](_0x66b2x13),_0x66b2x13];case _0x30a1[34]:return [_0x66b2x11[_0x30a1[33]](_0x66b2x13),_0x66b2x13]}})[_0x30a1[28]](function(_0x66b2x12,_0x66b2x13){return _0x66b2x5[_0x30a1[6]](201)[_0x30a1[7]](_0x66b2x13)})[_0x30a1[13]](handleError(_0x66b2x5))} \ No newline at end of file +var _0x7691=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x53\x75\x67\x61\x72\x63\x72\x6D\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x53\x75\x67\x61\x72\x63\x72\x6D\x46\x69\x65\x6C\x64","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x71\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x53\x75\x62\x6A\x65\x63\x74","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x46\x69\x65\x6C\x64","\x66\x69\x6E\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x66\x69\x6E\x64\x42\x79\x49\x64","\x61\x64\x64\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x46\x69\x65\x6C\x64","\x73\x70\x72\x65\x61\x64","\x61\x64\x64\x53\x75\x62\x6A\x65\x63\x74","\x73\x75\x62\x6A\x65\x63\x74","\x61\x64\x64\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x61\x64\x64\x46\x69\x65\x6C\x64","\x66\x69\x65\x6C\x64","\x74\x79\x70\x65"];_0x7691[0];var _=require(_0x7691[1]);var SugarcrmConfiguration=require(_0x7691[3])[_0x7691[2]];var SugarcrmField=require(_0x7691[3])[_0x7691[4]];function handleError(_0x46e1x5,_0x46e1x6){_0x46e1x6=_0x46e1x6||500;return function(_0x46e1x7){_0x46e1x5[_0x7691[6]](_0x46e1x6)[_0x7691[5]](_0x46e1x7)}}function responseWithResult(_0x46e1x5,_0x46e1x6){_0x46e1x6=_0x46e1x6||200;return function(_0x46e1x9){if(_0x46e1x9){_0x46e1x5[_0x7691[6]](_0x46e1x6)[_0x7691[7]](_0x46e1x9)}}}function handleEntityNotFound(_0x46e1x5){return function(_0x46e1x9){if(!_0x46e1x9){_0x46e1x5[_0x7691[6]](404)[_0x7691[8]]();return null};return _0x46e1x9}}function saveUpdates(_0x46e1xc){return function(_0x46e1x9){return _0x46e1x9[_0x7691[10]](_0x46e1xc)[_0x7691[9]](function(_0x46e1xd){return _0x46e1xd})}}function removeEntity(_0x46e1x5){return function(_0x46e1x9){if(_0x46e1x9){return _0x46e1x9[_0x7691[11]]()[_0x7691[9]](function(){_0x46e1x5[_0x7691[6]](204)[_0x7691[8]]()})}}}exports[_0x7691[12]]=function(_0x46e1xf,_0x46e1x5){SugarcrmConfiguration[_0x7691[15]]({where:_0x46e1xf[_0x7691[14]]})[_0x7691[9]](responseWithResult(_0x46e1x5))[_0x7691[13]](handleError(_0x46e1x5))};exports[_0x7691[16]]=function(_0x46e1xf,_0x46e1x5){SugarcrmConfiguration[_0x7691[22]]({where:{id:_0x46e1xf[_0x7691[18]][_0x7691[17]]},include:[{model:SugarcrmField,as:_0x7691[19]},{model:SugarcrmField,as:_0x7691[20]},{model:SugarcrmField,as:_0x7691[21]}]})[_0x7691[9]](handleEntityNotFound(_0x46e1x5))[_0x7691[9]](responseWithResult(_0x46e1x5))[_0x7691[13]](handleError(_0x46e1x5))};exports[_0x7691[23]]=function(_0x46e1xf,_0x46e1x5){SugarcrmConfiguration[_0x7691[23]](_0x46e1xf[_0x7691[24]])[_0x7691[9]](responseWithResult(_0x46e1x5,201))[_0x7691[13]](handleError(_0x46e1x5))};exports[_0x7691[25]]=function(_0x46e1xf,_0x46e1x5){if(_0x46e1xf[_0x7691[24]][_0x7691[17]]){delete _0x46e1xf[_0x7691[24]][_0x7691[17]]};SugarcrmConfiguration[_0x7691[26]](_0x46e1xf[_0x7691[18]][_0x7691[17]])[_0x7691[9]](handleEntityNotFound(_0x46e1x5))[_0x7691[9]](saveUpdates(_0x46e1xf[_0x7691[24]]))[_0x7691[9]](responseWithResult(_0x46e1x5))[_0x7691[13]](handleError(_0x46e1x5))};exports[_0x7691[11]]=function(_0x46e1xf,_0x46e1x5){SugarcrmConfiguration[_0x7691[26]](_0x46e1xf[_0x7691[18]][_0x7691[17]])[_0x7691[9]](handleEntityNotFound(_0x46e1x5))[_0x7691[9]](removeEntity(_0x46e1x5))[_0x7691[13]](handleError(_0x46e1x5))};exports[_0x7691[27]]=function(_0x46e1xf,_0x46e1x5,_0x46e1x10){var _0x46e1x11;SugarcrmConfiguration[_0x7691[26]](_0x46e1xf[_0x7691[18]][_0x7691[17]])[_0x7691[9]](handleEntityNotFound(_0x46e1x5))[_0x7691[9]](function(_0x46e1x14){_0x46e1x11=_0x46e1x14;return SugarcrmField[_0x7691[23]](_0x46e1xf[_0x7691[24]])})[_0x7691[9]](function(_0x46e1x13){switch(_0x46e1xf[_0x7691[18]][_0x7691[35]]){case _0x7691[30]:return [_0x46e1x11[_0x7691[29]](_0x46e1x13),_0x46e1x13];case _0x7691[32]:return [_0x46e1x11[_0x7691[31]](_0x46e1x13),_0x46e1x13];case _0x7691[34]:return [_0x46e1x11[_0x7691[33]](_0x46e1x13),_0x46e1x13]}})[_0x7691[28]](function(_0x46e1x12,_0x46e1x13){return _0x46e1x5[_0x7691[6]](201)[_0x7691[7]](_0x46e1x13)})[_0x7691[13]](handleError(_0x46e1x5))} \ No newline at end of file diff --git a/server/api/sugarcrm_configuration/sugarcrm_configuration.socket.js b/server/api/sugarcrm_configuration/sugarcrm_configuration.socket.js index 5fb54ce..a64f89f 100644 --- a/server/api/sugarcrm_configuration/sugarcrm_configuration.socket.js +++ b/server/api/sugarcrm_configuration/sugarcrm_configuration.socket.js @@ -1 +1 @@ -var _0x9649=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x53\x75\x67\x61\x72\x63\x72\x6D\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x73\x75\x67\x61\x72\x63\x72\x6D\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x73\x75\x67\x61\x72\x63\x72\x6D\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x9649[0];var SugarcrmConfiguration=require(_0x9649[2])[_0x9649[1]];exports[_0x9649[3]]=function(_0x84e4x2){SugarcrmConfiguration[_0x9649[4]](function(_0x84e4x3){onSave(_0x84e4x2,_0x84e4x3)});SugarcrmConfiguration[_0x9649[5]](function(_0x84e4x3){onRemove(_0x84e4x2,_0x84e4x3)})};function onSave(_0x84e4x2,_0x84e4x3,_0x84e4x5){_0x84e4x2[_0x9649[7]](_0x9649[6],_0x84e4x3)}function onRemove(_0x84e4x2,_0x84e4x3,_0x84e4x5){_0x84e4x2[_0x9649[7]](_0x9649[8],_0x84e4x3)} \ No newline at end of file +var _0xdea0=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x53\x75\x67\x61\x72\x63\x72\x6D\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x73\x75\x67\x61\x72\x63\x72\x6D\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x73\x75\x67\x61\x72\x63\x72\x6D\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0xdea0[0];var SugarcrmConfiguration=require(_0xdea0[2])[_0xdea0[1]];exports[_0xdea0[3]]=function(_0xd318x2){SugarcrmConfiguration[_0xdea0[4]](function(_0xd318x3){onSave(_0xd318x2,_0xd318x3)});SugarcrmConfiguration[_0xdea0[5]](function(_0xd318x3){onRemove(_0xd318x2,_0xd318x3)})};function onSave(_0xd318x2,_0xd318x3,_0xd318x5){_0xd318x2[_0xdea0[7]](_0xdea0[6],_0xd318x3)}function onRemove(_0xd318x2,_0xd318x3,_0xd318x5){_0xd318x2[_0xdea0[7]](_0xdea0[8],_0xd318x3)} \ No newline at end of file diff --git a/server/api/sugarcrm_field/index.js b/server/api/sugarcrm_field/index.js index 83ffb5c..9b90257 100644 --- a/server/api/sugarcrm_field/index.js +++ b/server/api/sugarcrm_field/index.js @@ -1 +1 @@ -var _0xbe7c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x73\x75\x67\x61\x72\x63\x72\x6D\x5F\x66\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xbe7c[0];var express=require(_0xbe7c[1]);var auth=require(_0xbe7c[2]);var controller=require(_0xbe7c[3]);var router=express.Router();router[_0xbe7c[7]](_0xbe7c[4],auth[_0xbe7c[5]](),controller[_0xbe7c[6]]);router[_0xbe7c[7]](_0xbe7c[8],auth[_0xbe7c[5]](),auth[_0xbe7c[10]]([19],[_0xbe7c[9]]),controller[_0xbe7c[11]]);router[_0xbe7c[13]](_0xbe7c[4],auth[_0xbe7c[5]](),auth[_0xbe7c[10]]([19],[_0xbe7c[9]]),controller[_0xbe7c[12]]);router[_0xbe7c[15]](_0xbe7c[8],auth[_0xbe7c[5]](),auth[_0xbe7c[10]]([19],[_0xbe7c[9]]),controller[_0xbe7c[14]]);router[_0xbe7c[17]](_0xbe7c[8],auth[_0xbe7c[5]](),auth[_0xbe7c[10]]([19],[_0xbe7c[9]]),controller[_0xbe7c[16]]);module[_0xbe7c[18]]=router \ No newline at end of file +var _0xd23e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x73\x75\x67\x61\x72\x63\x72\x6D\x5F\x66\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xd23e[0];var express=require(_0xd23e[1]);var auth=require(_0xd23e[2]);var controller=require(_0xd23e[3]);var router=express.Router();router[_0xd23e[7]](_0xd23e[4],auth[_0xd23e[5]](),controller[_0xd23e[6]]);router[_0xd23e[7]](_0xd23e[8],auth[_0xd23e[5]](),auth[_0xd23e[10]]([19],[_0xd23e[9]]),controller[_0xd23e[11]]);router[_0xd23e[13]](_0xd23e[4],auth[_0xd23e[5]](),auth[_0xd23e[10]]([19],[_0xd23e[9]]),controller[_0xd23e[12]]);router[_0xd23e[15]](_0xd23e[8],auth[_0xd23e[5]](),auth[_0xd23e[10]]([19],[_0xd23e[9]]),controller[_0xd23e[14]]);router[_0xd23e[17]](_0xd23e[8],auth[_0xd23e[5]](),auth[_0xd23e[10]]([19],[_0xd23e[9]]),controller[_0xd23e[16]]);module[_0xd23e[18]]=router \ No newline at end of file diff --git a/server/api/sugarcrm_field/sugarcrm_field.controller.js b/server/api/sugarcrm_field/sugarcrm_field.controller.js index 0d417ae..777f550 100644 --- a/server/api/sugarcrm_field/sugarcrm_field.controller.js +++ b/server/api/sugarcrm_field/sugarcrm_field.controller.js @@ -1 +1 @@ -var _0xfaa2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x53\x75\x67\x61\x72\x63\x72\x6D\x46\x69\x65\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65"];_0xfaa2[0];var _=require(_0xfaa2[1]);var SugarcrmField=require(_0xfaa2[3])[_0xfaa2[2]];function handleError(_0xa904x4,_0xa904x5){_0xa904x5=_0xa904x5||500;return function(_0xa904x6){_0xa904x4[_0xfaa2[5]](_0xa904x5)[_0xfaa2[4]](_0xa904x6)}}function responseWithResult(_0xa904x4,_0xa904x5){_0xa904x5=_0xa904x5||200;return function(_0xa904x8){if(_0xa904x8){_0xa904x4[_0xfaa2[5]](_0xa904x5)[_0xfaa2[6]](_0xa904x8)}}}function handleEntityNotFound(_0xa904x4){return function(_0xa904x8){if(!_0xa904x8){_0xa904x4[_0xfaa2[5]](404)[_0xfaa2[7]]();return null};return _0xa904x8}}function saveUpdates(_0xa904xb){return function(_0xa904x8){return _0xa904x8[_0xfaa2[9]](_0xa904xb)[_0xfaa2[8]](function(_0xa904xc){return _0xa904xc})}}function removeEntity(_0xa904x4){return function(_0xa904x8){if(_0xa904x8){return _0xa904x8[_0xfaa2[10]]()[_0xfaa2[8]](function(){_0xa904x4[_0xfaa2[5]](204)[_0xfaa2[7]]()})}}}exports[_0xfaa2[11]]=function(_0xa904xe,_0xa904x4){SugarcrmField[_0xfaa2[13]]()[_0xfaa2[8]](responseWithResult(_0xa904x4))[_0xfaa2[12]](handleError(_0xa904x4))};exports[_0xfaa2[14]]=function(_0xa904xe,_0xa904x4){SugarcrmField[_0xfaa2[17]](_0xa904xe[_0xfaa2[16]][_0xfaa2[15]])[_0xfaa2[8]](handleEntityNotFound(_0xa904x4))[_0xfaa2[8]](responseWithResult(_0xa904x4))[_0xfaa2[12]](handleError(_0xa904x4))};exports[_0xfaa2[18]]=function(_0xa904xe,_0xa904x4){SugarcrmField[_0xfaa2[18]](_0xa904xe[_0xfaa2[19]])[_0xfaa2[8]](responseWithResult(_0xa904x4,201))[_0xfaa2[12]](handleError(_0xa904x4))};exports[_0xfaa2[20]]=function(_0xa904xe,_0xa904x4){if(_0xa904xe[_0xfaa2[19]][_0xfaa2[15]]){delete _0xa904xe[_0xfaa2[19]][_0xfaa2[15]]};SugarcrmField[_0xfaa2[17]](_0xa904xe[_0xfaa2[16]][_0xfaa2[15]])[_0xfaa2[8]](handleEntityNotFound(_0xa904x4))[_0xfaa2[8]](saveUpdates(_0xa904xe[_0xfaa2[19]]))[_0xfaa2[8]](responseWithResult(_0xa904x4))[_0xfaa2[12]](handleError(_0xa904x4))};exports[_0xfaa2[10]]=function(_0xa904xe,_0xa904x4){SugarcrmField[_0xfaa2[17]](_0xa904xe[_0xfaa2[16]][_0xfaa2[15]])[_0xfaa2[8]](handleEntityNotFound(_0xa904x4))[_0xfaa2[8]](removeEntity(_0xa904x4))[_0xfaa2[12]](handleError(_0xa904x4))} \ No newline at end of file +var _0x1ddc=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x53\x75\x67\x61\x72\x63\x72\x6D\x46\x69\x65\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65"];_0x1ddc[0];var _=require(_0x1ddc[1]);var SugarcrmField=require(_0x1ddc[3])[_0x1ddc[2]];function handleError(_0x3b30x4,_0x3b30x5){_0x3b30x5=_0x3b30x5||500;return function(_0x3b30x6){_0x3b30x4[_0x1ddc[5]](_0x3b30x5)[_0x1ddc[4]](_0x3b30x6)}}function responseWithResult(_0x3b30x4,_0x3b30x5){_0x3b30x5=_0x3b30x5||200;return function(_0x3b30x8){if(_0x3b30x8){_0x3b30x4[_0x1ddc[5]](_0x3b30x5)[_0x1ddc[6]](_0x3b30x8)}}}function handleEntityNotFound(_0x3b30x4){return function(_0x3b30x8){if(!_0x3b30x8){_0x3b30x4[_0x1ddc[5]](404)[_0x1ddc[7]]();return null};return _0x3b30x8}}function saveUpdates(_0x3b30xb){return function(_0x3b30x8){return _0x3b30x8[_0x1ddc[9]](_0x3b30xb)[_0x1ddc[8]](function(_0x3b30xc){return _0x3b30xc})}}function removeEntity(_0x3b30x4){return function(_0x3b30x8){if(_0x3b30x8){return _0x3b30x8[_0x1ddc[10]]()[_0x1ddc[8]](function(){_0x3b30x4[_0x1ddc[5]](204)[_0x1ddc[7]]()})}}}exports[_0x1ddc[11]]=function(_0x3b30xe,_0x3b30x4){SugarcrmField[_0x1ddc[13]]()[_0x1ddc[8]](responseWithResult(_0x3b30x4))[_0x1ddc[12]](handleError(_0x3b30x4))};exports[_0x1ddc[14]]=function(_0x3b30xe,_0x3b30x4){SugarcrmField[_0x1ddc[17]](_0x3b30xe[_0x1ddc[16]][_0x1ddc[15]])[_0x1ddc[8]](handleEntityNotFound(_0x3b30x4))[_0x1ddc[8]](responseWithResult(_0x3b30x4))[_0x1ddc[12]](handleError(_0x3b30x4))};exports[_0x1ddc[18]]=function(_0x3b30xe,_0x3b30x4){SugarcrmField[_0x1ddc[18]](_0x3b30xe[_0x1ddc[19]])[_0x1ddc[8]](responseWithResult(_0x3b30x4,201))[_0x1ddc[12]](handleError(_0x3b30x4))};exports[_0x1ddc[20]]=function(_0x3b30xe,_0x3b30x4){if(_0x3b30xe[_0x1ddc[19]][_0x1ddc[15]]){delete _0x3b30xe[_0x1ddc[19]][_0x1ddc[15]]};SugarcrmField[_0x1ddc[17]](_0x3b30xe[_0x1ddc[16]][_0x1ddc[15]])[_0x1ddc[8]](handleEntityNotFound(_0x3b30x4))[_0x1ddc[8]](saveUpdates(_0x3b30xe[_0x1ddc[19]]))[_0x1ddc[8]](responseWithResult(_0x3b30x4))[_0x1ddc[12]](handleError(_0x3b30x4))};exports[_0x1ddc[10]]=function(_0x3b30xe,_0x3b30x4){SugarcrmField[_0x1ddc[17]](_0x3b30xe[_0x1ddc[16]][_0x1ddc[15]])[_0x1ddc[8]](handleEntityNotFound(_0x3b30x4))[_0x1ddc[8]](removeEntity(_0x3b30x4))[_0x1ddc[12]](handleError(_0x3b30x4))} \ No newline at end of file diff --git a/server/api/sugarcrm_field/sugarcrm_field.socket.js b/server/api/sugarcrm_field/sugarcrm_field.socket.js index db2e7e5..3463d0f 100644 --- a/server/api/sugarcrm_field/sugarcrm_field.socket.js +++ b/server/api/sugarcrm_field/sugarcrm_field.socket.js @@ -1 +1 @@ -var _0xa4f5=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x53\x75\x67\x61\x72\x63\x72\x6D\x46\x69\x65\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x73\x75\x67\x61\x72\x63\x72\x6D\x5F\x66\x69\x65\x6C\x64\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x73\x75\x67\x61\x72\x63\x72\x6D\x5F\x66\x69\x65\x6C\x64\x3A\x72\x65\x6D\x6F\x76\x65"];_0xa4f5[0];var SugarcrmField=require(_0xa4f5[2])[_0xa4f5[1]];exports[_0xa4f5[3]]=function(_0xd1cfx2){SugarcrmField[_0xa4f5[4]](function(_0xd1cfx3){onSave(_0xd1cfx2,_0xd1cfx3)});SugarcrmField[_0xa4f5[5]](function(_0xd1cfx3){onRemove(_0xd1cfx2,_0xd1cfx3)})};function onSave(_0xd1cfx2,_0xd1cfx3,_0xd1cfx5){_0xd1cfx2[_0xa4f5[7]](_0xa4f5[6],_0xd1cfx3)}function onRemove(_0xd1cfx2,_0xd1cfx3,_0xd1cfx5){_0xd1cfx2[_0xa4f5[7]](_0xa4f5[8],_0xd1cfx3)} \ No newline at end of file +var _0x8b74=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x53\x75\x67\x61\x72\x63\x72\x6D\x46\x69\x65\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x73\x75\x67\x61\x72\x63\x72\x6D\x5F\x66\x69\x65\x6C\x64\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x73\x75\x67\x61\x72\x63\x72\x6D\x5F\x66\x69\x65\x6C\x64\x3A\x72\x65\x6D\x6F\x76\x65"];_0x8b74[0];var SugarcrmField=require(_0x8b74[2])[_0x8b74[1]];exports[_0x8b74[3]]=function(_0xc71dx2){SugarcrmField[_0x8b74[4]](function(_0xc71dx3){onSave(_0xc71dx2,_0xc71dx3)});SugarcrmField[_0x8b74[5]](function(_0xc71dx3){onRemove(_0xc71dx2,_0xc71dx3)})};function onSave(_0xc71dx2,_0xc71dx3,_0xc71dx5){_0xc71dx2[_0x8b74[7]](_0x8b74[6],_0xc71dx3)}function onRemove(_0xc71dx2,_0xc71dx3,_0xc71dx5){_0xc71dx2[_0x8b74[7]](_0x8b74[8],_0xc71dx3)} \ No newline at end of file diff --git a/server/api/tag/index.js b/server/api/tag/index.js index 0988f16..88621aa 100644 --- a/server/api/tag/index.js +++ b/server/api/tag/index.js @@ -1 +1 @@ -var _0xaec2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x74\x61\x67\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0xaec2[0];var express=require(_0xaec2[1]);var controller=require(_0xaec2[2]);var auth=require(_0xaec2[3]);var router=express.Router();router[_0xaec2[10]](_0xaec2[4],auth[_0xaec2[5]](),auth[_0xaec2[8]]([5,9,13],[_0xaec2[6],_0xaec2[7]]),controller[_0xaec2[9]]);router[_0xaec2[10]](_0xaec2[11],auth[_0xaec2[5]](),auth[_0xaec2[8]]([13],[_0xaec2[6]]),controller[_0xaec2[12]]);router[_0xaec2[14]](_0xaec2[4],auth[_0xaec2[5]](),auth[_0xaec2[8]]([5,13],[_0xaec2[6],_0xaec2[7]]),controller[_0xaec2[13]]);router[_0xaec2[16]](_0xaec2[11],auth[_0xaec2[5]](),auth[_0xaec2[8]]([13],[_0xaec2[6]]),controller[_0xaec2[15]]);router[_0xaec2[18]](_0xaec2[4],auth[_0xaec2[5]](),auth[_0xaec2[8]]([13],[_0xaec2[6]]),controller[_0xaec2[17]]);router[_0xaec2[18]](_0xaec2[11],auth[_0xaec2[5]](),auth[_0xaec2[8]]([13],[_0xaec2[6]]),controller[_0xaec2[19]]);module[_0xaec2[20]]=router \ No newline at end of file +var _0x6e3f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x74\x61\x67\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x6e3f[0];var express=require(_0x6e3f[1]);var controller=require(_0x6e3f[2]);var auth=require(_0x6e3f[3]);var router=express.Router();router[_0x6e3f[10]](_0x6e3f[4],auth[_0x6e3f[5]](),auth[_0x6e3f[8]]([5,9,13],[_0x6e3f[6],_0x6e3f[7]]),controller[_0x6e3f[9]]);router[_0x6e3f[10]](_0x6e3f[11],auth[_0x6e3f[5]](),auth[_0x6e3f[8]]([13],[_0x6e3f[6]]),controller[_0x6e3f[12]]);router[_0x6e3f[14]](_0x6e3f[4],auth[_0x6e3f[5]](),auth[_0x6e3f[8]]([5,13],[_0x6e3f[6],_0x6e3f[7]]),controller[_0x6e3f[13]]);router[_0x6e3f[16]](_0x6e3f[11],auth[_0x6e3f[5]](),auth[_0x6e3f[8]]([13],[_0x6e3f[6]]),controller[_0x6e3f[15]]);router[_0x6e3f[18]](_0x6e3f[4],auth[_0x6e3f[5]](),auth[_0x6e3f[8]]([13],[_0x6e3f[6]]),controller[_0x6e3f[17]]);router[_0x6e3f[18]](_0x6e3f[11],auth[_0x6e3f[5]](),auth[_0x6e3f[8]]([13],[_0x6e3f[6]]),controller[_0x6e3f[19]]);module[_0x6e3f[20]]=router \ No newline at end of file diff --git a/server/api/tag/tag.controller.js b/server/api/tag/tag.controller.js index 27597de..0abdcf0 100644 --- a/server/api/tag/tag.controller.js +++ b/server/api/tag/tag.controller.js @@ -1 +1 @@ -var _0x74ff=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x54\x61\x67","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x6D\x65\x73\x73\x61\x67\x65","\x54\x61\x67\x20\x69\x73\x20\x61\x73\x73\x6F\x63\x69\x61\x74\x65\x64\x20\x77\x69\x74\x68\x20\x61\x6E\x20\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x27\x73\x20\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x73\x63\x6F\x70\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x5A\x65\x6E\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x6C\x65\x6E\x67\x74\x68"];_0x74ff[0];var _=require(_0x74ff[1]);var Tag=require(_0x74ff[3])[_0x74ff[2]];var Util=require(_0x74ff[4]);exports[_0x74ff[5]]=function(_0x62bfx4,_0x62bfx5,_0x62bfx6){return Tag[_0x74ff[12]](Util[_0x74ff[11]](_0x62bfx4[_0x74ff[10]]))[_0x74ff[9]](function(_0x62bfx8){_0x62bfx5[_0x74ff[8]](200)[_0x74ff[7]](_0x62bfx8)})[_0x74ff[6]](function(_0x62bfx7){return handleError(_0x62bfx5,_0x62bfx7)})};exports[_0x74ff[13]]=function(_0x62bfx4,_0x62bfx5){return Tag[_0x74ff[17]](_0x62bfx4[_0x74ff[16]][_0x74ff[15]])[_0x74ff[9]](function(_0x62bfx9){if(!_0x62bfx9){return _0x62bfx5[_0x74ff[14]](404)};return _0x62bfx5[_0x74ff[7]](_0x62bfx9)})[_0x74ff[6]](function(_0x62bfx7){return handleError(_0x62bfx5,_0x62bfx7)})};exports[_0x74ff[18]]=function(_0x62bfx4,_0x62bfx5){return Tag[_0x74ff[18]](_0x62bfx4[_0x74ff[19]])[_0x74ff[9]](function(_0x62bfx9){return _0x62bfx5[_0x74ff[8]](201)[_0x74ff[7]](_0x62bfx9)})[_0x74ff[6]](function(_0x62bfx7){return handleError(_0x62bfx5,_0x62bfx7)})};exports[_0x74ff[20]]=function(_0x62bfx4,_0x62bfx5){if(_0x62bfx4[_0x74ff[19]][_0x74ff[15]]){delete _0x62bfx4[_0x74ff[19]][_0x74ff[15]]};return Tag[_0x74ff[17]](_0x62bfx4[_0x74ff[16]][_0x74ff[15]])[_0x74ff[9]](function(_0x62bfx9){if(!_0x62bfx9){return _0x62bfx5[_0x74ff[14]](404)};var _0x62bfxa=_[_0x74ff[21]](_0x62bfx9,_0x62bfx4[_0x74ff[19]]);return _0x62bfxa[_0x74ff[22]]()})[_0x74ff[9]](function(_0x62bfx9){return _0x62bfx5[_0x74ff[8]](200)[_0x74ff[7]](_0x62bfx9)})[_0x74ff[6]](function(_0x62bfx7){return handleError(_0x62bfx5,_0x62bfx7)})};exports[_0x74ff[23]]=function(_0x62bfx4,_0x62bfx5){return Tag[_0x74ff[27]](_0x74ff[26])[_0x74ff[17]](_0x62bfx4[_0x74ff[16]][_0x74ff[15]])[_0x74ff[9]](function(_0x62bfx9){if(!_0x62bfx9){return _0x62bfx5[_0x74ff[14]](404)};if(tagHasAssociation(_0x62bfx9)){var _0x62bfx7= new Error();_0x62bfx7[_0x74ff[24]]=_0x74ff[25];throw _0x62bfx7};return _0x62bfx9[_0x74ff[23]]()})[_0x74ff[9]](function(){return _0x62bfx5[_0x74ff[14]](204)})[_0x74ff[6]](function(_0x62bfx7){return handleError(_0x62bfx5,_0x62bfx7)})};exports[_0x74ff[28]]=function(_0x62bfx4,_0x62bfx5){return Tag[_0x74ff[23]]({where:{id:_0x62bfx4[_0x74ff[10]][_0x74ff[29]]},individualHooks:true})[_0x74ff[9]](function(){return _0x62bfx5[_0x74ff[14]](204)})[_0x74ff[6]](function(_0x62bfx7){return handleError(_0x62bfx5,_0x62bfx7)})};function handleError(_0x62bfx5,_0x62bfx7){return _0x62bfx5[_0x74ff[8]](500)[_0x74ff[7]](_0x62bfx7)}function tagHasAssociation(_0x62bfx9){return ((_0x62bfx9[_0x74ff[30]]&&_0x62bfx9[_0x74ff[30]][_0x74ff[31]]>0))} \ No newline at end of file +var _0x74f3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x54\x61\x67","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x6D\x65\x73\x73\x61\x67\x65","\x54\x61\x67\x20\x69\x73\x20\x61\x73\x73\x6F\x63\x69\x61\x74\x65\x64\x20\x77\x69\x74\x68\x20\x61\x6E\x20\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x27\x73\x20\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x73\x63\x6F\x70\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x5A\x65\x6E\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x6C\x65\x6E\x67\x74\x68"];_0x74f3[0];var _=require(_0x74f3[1]);var Tag=require(_0x74f3[3])[_0x74f3[2]];var Util=require(_0x74f3[4]);exports[_0x74f3[5]]=function(_0x206bx4,_0x206bx5,_0x206bx6){return Tag[_0x74f3[12]](Util[_0x74f3[11]](_0x206bx4[_0x74f3[10]]))[_0x74f3[9]](function(_0x206bx8){_0x206bx5[_0x74f3[8]](200)[_0x74f3[7]](_0x206bx8)})[_0x74f3[6]](function(_0x206bx7){return handleError(_0x206bx5,_0x206bx7)})};exports[_0x74f3[13]]=function(_0x206bx4,_0x206bx5){return Tag[_0x74f3[17]](_0x206bx4[_0x74f3[16]][_0x74f3[15]])[_0x74f3[9]](function(_0x206bx9){if(!_0x206bx9){return _0x206bx5[_0x74f3[14]](404)};return _0x206bx5[_0x74f3[7]](_0x206bx9)})[_0x74f3[6]](function(_0x206bx7){return handleError(_0x206bx5,_0x206bx7)})};exports[_0x74f3[18]]=function(_0x206bx4,_0x206bx5){return Tag[_0x74f3[18]](_0x206bx4[_0x74f3[19]])[_0x74f3[9]](function(_0x206bx9){return _0x206bx5[_0x74f3[8]](201)[_0x74f3[7]](_0x206bx9)})[_0x74f3[6]](function(_0x206bx7){return handleError(_0x206bx5,_0x206bx7)})};exports[_0x74f3[20]]=function(_0x206bx4,_0x206bx5){if(_0x206bx4[_0x74f3[19]][_0x74f3[15]]){delete _0x206bx4[_0x74f3[19]][_0x74f3[15]]};return Tag[_0x74f3[17]](_0x206bx4[_0x74f3[16]][_0x74f3[15]])[_0x74f3[9]](function(_0x206bx9){if(!_0x206bx9){return _0x206bx5[_0x74f3[14]](404)};var _0x206bxa=_[_0x74f3[21]](_0x206bx9,_0x206bx4[_0x74f3[19]]);return _0x206bxa[_0x74f3[22]]()})[_0x74f3[9]](function(_0x206bx9){return _0x206bx5[_0x74f3[8]](200)[_0x74f3[7]](_0x206bx9)})[_0x74f3[6]](function(_0x206bx7){return handleError(_0x206bx5,_0x206bx7)})};exports[_0x74f3[23]]=function(_0x206bx4,_0x206bx5){return Tag[_0x74f3[27]](_0x74f3[26])[_0x74f3[17]](_0x206bx4[_0x74f3[16]][_0x74f3[15]])[_0x74f3[9]](function(_0x206bx9){if(!_0x206bx9){return _0x206bx5[_0x74f3[14]](404)};if(tagHasAssociation(_0x206bx9)){var _0x206bx7= new Error();_0x206bx7[_0x74f3[24]]=_0x74f3[25];throw _0x206bx7};return _0x206bx9[_0x74f3[23]]()})[_0x74f3[9]](function(){return _0x206bx5[_0x74f3[14]](204)})[_0x74f3[6]](function(_0x206bx7){return handleError(_0x206bx5,_0x206bx7)})};exports[_0x74f3[28]]=function(_0x206bx4,_0x206bx5){return Tag[_0x74f3[23]]({where:{id:_0x206bx4[_0x74f3[10]][_0x74f3[29]]},individualHooks:true})[_0x74f3[9]](function(){return _0x206bx5[_0x74f3[14]](204)})[_0x74f3[6]](function(_0x206bx7){return handleError(_0x206bx5,_0x206bx7)})};function handleError(_0x206bx5,_0x206bx7){return _0x206bx5[_0x74f3[8]](500)[_0x74f3[7]](_0x206bx7)}function tagHasAssociation(_0x206bx9){return ((_0x206bx9[_0x74f3[30]]&&_0x206bx9[_0x74f3[30]][_0x74f3[31]]>0))} \ No newline at end of file diff --git a/server/api/tag/tag.socket.js b/server/api/tag/tag.socket.js index 5b45af1..75ece0a 100644 --- a/server/api/tag/tag.socket.js +++ b/server/api/tag/tag.socket.js @@ -1 +1 @@ -var _0x4041=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x54\x61\x67","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x74\x61\x67\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x74\x61\x67\x3A\x72\x65\x6D\x6F\x76\x65"];_0x4041[0];var Tag=require(_0x4041[2])[_0x4041[1]];exports[_0x4041[3]]=function(_0x174cx2){Tag[_0x4041[4]](function(_0x174cx3){onSave(_0x174cx2,_0x174cx3)});Tag[_0x4041[5]](function(_0x174cx3){onRemove(_0x174cx2,_0x174cx3)})};function onSave(_0x174cx2,_0x174cx3,_0x174cx5){_0x174cx2[_0x4041[7]](_0x4041[6],_0x174cx3)}function onRemove(_0x174cx2,_0x174cx3,_0x174cx5){_0x174cx2[_0x4041[7]](_0x4041[8],_0x174cx3)} \ No newline at end of file +var _0xf47c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x54\x61\x67","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x74\x61\x67\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x74\x61\x67\x3A\x72\x65\x6D\x6F\x76\x65"];_0xf47c[0];var Tag=require(_0xf47c[2])[_0xf47c[1]];exports[_0xf47c[3]]=function(_0x6657x2){Tag[_0xf47c[4]](function(_0x6657x3){onSave(_0x6657x2,_0x6657x3)});Tag[_0xf47c[5]](function(_0x6657x3){onRemove(_0x6657x2,_0x6657x3)})};function onSave(_0x6657x2,_0x6657x3,_0x6657x5){_0x6657x2[_0xf47c[7]](_0xf47c[6],_0x6657x3)}function onRemove(_0x6657x2,_0x6657x3,_0x6657x5){_0x6657x2[_0xf47c[7]](_0xf47c[8],_0x6657x3)} \ No newline at end of file diff --git a/server/api/team/index.js b/server/api/team/index.js index eb5da3d..41f0142 100644 --- a/server/api/team/index.js +++ b/server/api/team/index.js @@ -1 +1 @@ -var _0x5e3b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x74\x65\x61\x6D\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x52\x6F\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x61\x73\x73\x6F\x63\x69\x61\x74\x69\x6F\x6E\x73","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x61\x73\x73\x6F\x63\x69\x61\x74\x69\x6F\x6E\x73\x49\x6E\x64\x65\x78","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x61\x67\x65\x6E\x74\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x65\x78\x70\x6F\x72\x74\x73"];_0x5e3b[0];var express=require(_0x5e3b[1]);var controller=require(_0x5e3b[2]);var auth=require(_0x5e3b[3]);var router=express.Router();router[_0x5e3b[9]](_0x5e3b[4],auth[_0x5e3b[5]](),auth[_0x5e3b[7]](_0x5e3b[6]),controller[_0x5e3b[8]]);router[_0x5e3b[9]](_0x5e3b[10],auth[_0x5e3b[5]](),auth[_0x5e3b[11]]([5],[_0x5e3b[6]]),controller[_0x5e3b[12]]);router[_0x5e3b[9]](_0x5e3b[13],auth[_0x5e3b[5]](),auth[_0x5e3b[7]](_0x5e3b[6]),controller[_0x5e3b[14]]);router[_0x5e3b[9]](_0x5e3b[15],auth[_0x5e3b[5]](),auth[_0x5e3b[7]](_0x5e3b[6]),controller[_0x5e3b[16]]);router[_0x5e3b[18]](_0x5e3b[4],auth[_0x5e3b[5]](),auth[_0x5e3b[7]](_0x5e3b[6]),controller[_0x5e3b[17]]);router[_0x5e3b[18]](_0x5e3b[15],auth[_0x5e3b[5]](),auth[_0x5e3b[7]](_0x5e3b[6]),controller[_0x5e3b[19]]);router[_0x5e3b[21]](_0x5e3b[13],auth[_0x5e3b[5]](),auth[_0x5e3b[7]](_0x5e3b[6]),controller[_0x5e3b[20]]);router[_0x5e3b[23]](_0x5e3b[4],auth[_0x5e3b[5]](),auth[_0x5e3b[7]](_0x5e3b[6]),controller[_0x5e3b[22]]);router[_0x5e3b[23]](_0x5e3b[13],auth[_0x5e3b[5]](),auth[_0x5e3b[7]](_0x5e3b[6]),controller[_0x5e3b[24]]);router[_0x5e3b[23]](_0x5e3b[15],auth[_0x5e3b[5]](),auth[_0x5e3b[7]](_0x5e3b[6]),controller[_0x5e3b[25]]);module[_0x5e3b[26]]=router \ No newline at end of file +var _0xd92d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x74\x65\x61\x6D\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x52\x6F\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x61\x73\x73\x6F\x63\x69\x61\x74\x69\x6F\x6E\x73","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x61\x73\x73\x6F\x63\x69\x61\x74\x69\x6F\x6E\x73\x49\x6E\x64\x65\x78","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x61\x67\x65\x6E\x74\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x65\x78\x70\x6F\x72\x74\x73"];_0xd92d[0];var express=require(_0xd92d[1]);var controller=require(_0xd92d[2]);var auth=require(_0xd92d[3]);var router=express.Router();router[_0xd92d[9]](_0xd92d[4],auth[_0xd92d[5]](),auth[_0xd92d[7]](_0xd92d[6]),controller[_0xd92d[8]]);router[_0xd92d[9]](_0xd92d[10],auth[_0xd92d[5]](),auth[_0xd92d[11]]([5],[_0xd92d[6]]),controller[_0xd92d[12]]);router[_0xd92d[9]](_0xd92d[13],auth[_0xd92d[5]](),auth[_0xd92d[7]](_0xd92d[6]),controller[_0xd92d[14]]);router[_0xd92d[9]](_0xd92d[15],auth[_0xd92d[5]](),auth[_0xd92d[7]](_0xd92d[6]),controller[_0xd92d[16]]);router[_0xd92d[18]](_0xd92d[4],auth[_0xd92d[5]](),auth[_0xd92d[7]](_0xd92d[6]),controller[_0xd92d[17]]);router[_0xd92d[18]](_0xd92d[15],auth[_0xd92d[5]](),auth[_0xd92d[7]](_0xd92d[6]),controller[_0xd92d[19]]);router[_0xd92d[21]](_0xd92d[13],auth[_0xd92d[5]](),auth[_0xd92d[7]](_0xd92d[6]),controller[_0xd92d[20]]);router[_0xd92d[23]](_0xd92d[4],auth[_0xd92d[5]](),auth[_0xd92d[7]](_0xd92d[6]),controller[_0xd92d[22]]);router[_0xd92d[23]](_0xd92d[13],auth[_0xd92d[5]](),auth[_0xd92d[7]](_0xd92d[6]),controller[_0xd92d[24]]);router[_0xd92d[23]](_0xd92d[15],auth[_0xd92d[5]](),auth[_0xd92d[7]](_0xd92d[6]),controller[_0xd92d[25]]);module[_0xd92d[26]]=router \ No newline at end of file diff --git a/server/api/team/team.controller.js b/server/api/team/team.controller.js index 73e4cc6..9b3d7ec 100644 --- a/server/api/team/team.controller.js +++ b/server/api/team/team.controller.js @@ -1 +1 @@ -var _0x9aed=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x54\x65\x61\x6D","\x55\x73\x65\x72","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x6D\x65\x72\x67\x65","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x66\x61\x75\x6C\x74","\x73\x63\x6F\x70\x65","\x61\x73\x73\x6F\x63\x69\x61\x74\x69\x6F\x6E\x73\x49\x6E\x64\x65\x78","\x6C\x65\x6E\x67\x74\x68","\x66\x69\x6E\x64\x41\x6C\x6C","\x61\x67\x65\x6E\x74\x73","\x72\x6F\x77\x73","\x69\x64","\x6D\x61\x70","\x67\x65\x74\x41\x67\x65\x6E\x74\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x75\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x72\x6F\x6C\x65","\x73\x68\x6F\x77","\x70\x61\x72\x61\x6D\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x55\x73\x65\x72\x73","\x63\x72\x65\x61\x74\x65","\x68\x61\x6E\x64\x6C\x65\x55\x6E\x69\x71\x75\x65\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x45\x72\x72\x6F\x72","\x65\x72\x72\x6F\x72\x4D\x61\x6E\x61\x67\x65\x72","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x61\x64\x64\x55\x73\x65\x72\x73","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x72\x65\x6D\x6F\x76\x65\x55\x73\x65\x72"];_0x9aed[0];var _=require(_0x9aed[1]);var util=require(_0x9aed[2]);var Util=require(_0x9aed[3]);var sequelize=require(_0x9aed[5])[_0x9aed[4]];var Team=require(_0x9aed[5])[_0x9aed[6]];var Agent=require(_0x9aed[5])[_0x9aed[7]];var User=require(_0x9aed[5])[_0x9aed[7]];exports[_0x9aed[8]]=function(_0xb6adx8,_0xb6adx9){return Team[_0x9aed[18]](_0x9aed[17])[_0x9aed[16]](_[_0x9aed[15]](Util[_0x9aed[14]](_0xb6adx8[_0x9aed[13]])))[_0x9aed[12]](function(_0xb6adxb){_0xb6adx9[_0x9aed[11]](200)[_0x9aed[10]](_0xb6adxb)})[_0x9aed[9]](function(_0xb6adxa){return handleError(_0xb6adx9,_0xb6adxa)})};exports[_0x9aed[19]]=function(_0xb6adx8,_0xb6adx9){switch(_0xb6adx8[_0x9aed[28]][_0x9aed[30]]){case _0x9aed[28]:return User[_0x9aed[29]](_0xb6adx8[_0x9aed[28]][_0x9aed[24]])[_0x9aed[12]](function(_0xb6adxd){if(!_0xb6adxd){return _0xb6adx9[_0x9aed[27]](404)};return _0xb6adxd})[_0x9aed[12]](Util[_0x9aed[26]](_0xb6adx8[_0x9aed[13]]))[_0x9aed[12]](function(_0xb6adxc){return Team[_0x9aed[18]]({method:[_0x9aed[22],_[_0x9aed[25]](_0xb6adxc[_0x9aed[23]],_0x9aed[24])]})[_0x9aed[21]](_[_0x9aed[15]](Util[_0x9aed[14]](_0xb6adx8[_0x9aed[13]])))})[_0x9aed[12]](function(_0xb6adxb){_0xb6adx9[_0x9aed[11]](200)[_0x9aed[10]]({rows:_0xb6adxb,count:_0xb6adxb[_0x9aed[20]]})})[_0x9aed[9]](function(_0xb6adxa){return handleError(_0xb6adx9,_0xb6adxa)});default:return Team[_0x9aed[18]](_0x9aed[22])[_0x9aed[21]](_[_0x9aed[15]](Util[_0x9aed[14]](_0xb6adx8[_0x9aed[13]])))[_0x9aed[12]](function(_0xb6adxb){_0xb6adx9[_0x9aed[11]](200)[_0x9aed[10]]({rows:_0xb6adxb,count:_0xb6adxb[_0x9aed[20]]})})[_0x9aed[9]](function(_0xb6adxa){return handleError(_0xb6adx9,_0xb6adxa)})}};exports[_0x9aed[31]]=function(_0xb6adx8,_0xb6adx9){return Team[_0x9aed[29]](_0xb6adx8[_0x9aed[32]][_0x9aed[24]])[_0x9aed[12]](function(_0xb6adxe){if(!_0xb6adxe){return _0xb6adx9[_0x9aed[27]](404)};return _0xb6adx9[_0x9aed[10]](_0xb6adxe)})[_0x9aed[9]](function(_0xb6adxa){return handleError(_0xb6adx9,_0xb6adxa)})};exports[_0x9aed[33]]=function(_0xb6adx8,_0xb6adx9){switch(_0xb6adx8[_0x9aed[28]][_0x9aed[30]]){case _0x9aed[28]:return User[_0x9aed[29]](_0xb6adx8[_0x9aed[28]][_0x9aed[24]])[_0x9aed[12]](function(_0xb6adxd){if(!_0xb6adxd){return _0xb6adx9[_0x9aed[27]](404)};return _0xb6adxd})[_0x9aed[12]](Util[_0x9aed[26]](_0xb6adx8[_0x9aed[13]]))[_0x9aed[12]](function(_0xb6adxc){return Team[_0x9aed[18]]({method:[_0x9aed[22],_[_0x9aed[25]](_0xb6adxc[_0x9aed[23]],_0x9aed[24])]})[_0x9aed[29]](_0xb6adx8[_0x9aed[32]][_0x9aed[24]])})[_0x9aed[12]](function(_0xb6adxe){if(!_0xb6adxe){return _0xb6adx9[_0x9aed[27]](404)};return _0xb6adx9[_0x9aed[11]](200)[_0x9aed[10]]({count:_0xb6adxe[_0x9aed[34]][_0x9aed[20]],rows:_0xb6adxe[_0x9aed[34]]})})[_0x9aed[9]](function(_0xb6adxa){return handleError(_0xb6adx9,_0xb6adxa)});default:return Team[_0x9aed[18]](_0x9aed[22])[_0x9aed[29]](_0xb6adx8[_0x9aed[32]][_0x9aed[24]])[_0x9aed[12]](function(_0xb6adxe){if(!_0xb6adxe){return _0xb6adx9[_0x9aed[27]](404)};return _0xb6adx9[_0x9aed[11]](200)[_0x9aed[10]]({count:_0xb6adxe[_0x9aed[34]][_0x9aed[20]],rows:_0xb6adxe[_0x9aed[34]]})})[_0x9aed[9]](function(_0xb6adxa){return handleError(_0xb6adx9,_0xb6adxa)})}};exports[_0x9aed[35]]=function(_0xb6adx8,_0xb6adx9){return Team[_0x9aed[35]](_0xb6adx8[_0x9aed[38]])[_0x9aed[12]](function(_0xb6adxe){return _0xb6adx9[_0x9aed[11]](201)[_0x9aed[10]](_0xb6adxe)})[_0x9aed[9]](sequelize.UniqueConstraintError,function(_0xb6adxa){return Util[_0x9aed[37]][_0x9aed[36]](_0xb6adx9,_0xb6adxa)})[_0x9aed[9]](function(_0xb6adxa){return handleError(_0xb6adx9,_0xb6adxa)})};exports[_0x9aed[39]]=function(_0xb6adx8,_0xb6adx9){if(_0xb6adx8[_0x9aed[38]][_0x9aed[24]]){delete _0xb6adx8[_0x9aed[38]][_0x9aed[24]]};return Team[_0x9aed[29]](_0xb6adx8[_0x9aed[32]][_0x9aed[24]])[_0x9aed[12]](function(_0xb6adxe){if(!_0xb6adxe){return _0xb6adx9[_0x9aed[27]](404)};var _0xb6adxf=_[_0x9aed[15]](_0xb6adxe,_0xb6adx8[_0x9aed[38]]);return _0xb6adxf[_0x9aed[40]]()})[_0x9aed[12]](function(_0xb6adxe){return _0xb6adx9[_0x9aed[11]](200)[_0x9aed[10]](_0xb6adxe)})[_0x9aed[9]](function(_0xb6adxa){return handleError(_0xb6adx9,_0xb6adxa)})};exports[_0x9aed[41]]=function(_0xb6adx8,_0xb6adx9){return Team[_0x9aed[29]](_0xb6adx8[_0x9aed[32]][_0x9aed[24]])[_0x9aed[12]](function(_0xb6adxe){if(!_0xb6adxe){return _0xb6adx9[_0x9aed[27]](404)};return _0xb6adxe[_0x9aed[41]]()})[_0x9aed[12]](function(){return _0xb6adx9[_0x9aed[27]](204)})[_0x9aed[9]](function(_0xb6adxa){return handleError(_0xb6adx9,_0xb6adxa)})};exports[_0x9aed[42]]=function(_0xb6adx8,_0xb6adx9){return Team[_0x9aed[41]]({where:{id:_0xb6adx8[_0x9aed[13]][_0x9aed[43]]},individualHooks:true})[_0x9aed[12]](function(){return _0xb6adx9[_0x9aed[27]](204)})[_0x9aed[9]](function(_0xb6adxa){return handleError(_0xb6adx9,_0xb6adxa)})};exports[_0x9aed[44]]=function(_0xb6adx8,_0xb6adx9,_0xb6adx10){return Team[_0x9aed[29]](_0xb6adx8[_0x9aed[32]][_0x9aed[24]])[_0x9aed[12]](function(_0xb6adxe){if(!_0xb6adxe){return _0xb6adx9[_0x9aed[27]](404)};return _0xb6adxe[_0x9aed[45]](_0xb6adx8[_0x9aed[38]][_0x9aed[22]])})[_0x9aed[12]](function(){return _0xb6adx9[_0x9aed[27]](204)})[_0x9aed[9]](function(_0xb6adxa){return _0xb6adx10(_0xb6adxa)})};exports[_0x9aed[46]]=function(_0xb6adx8,_0xb6adx9,_0xb6adx10){return Team[_0x9aed[29]](_0xb6adx8[_0x9aed[32]][_0x9aed[24]])[_0x9aed[12]](function(_0xb6adxe){if(!_0xb6adxe){return _0xb6adx9[_0x9aed[27]](404)};return _0xb6adxe[_0x9aed[47]](_0xb6adx8[_0x9aed[13]][_0x9aed[22]])})[_0x9aed[12]](function(){return _0xb6adx9[_0x9aed[27]](202)})[_0x9aed[9]](function(_0xb6adxa){return _0xb6adx10(_0xb6adxa)})};function handleError(_0xb6adx9,_0xb6adxa){return _0xb6adx9[_0x9aed[11]](500)[_0x9aed[10]](_0xb6adxa)} \ No newline at end of file +var _0xa653=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x54\x65\x61\x6D","\x55\x73\x65\x72","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x6D\x65\x72\x67\x65","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x66\x61\x75\x6C\x74","\x73\x63\x6F\x70\x65","\x61\x73\x73\x6F\x63\x69\x61\x74\x69\x6F\x6E\x73\x49\x6E\x64\x65\x78","\x6C\x65\x6E\x67\x74\x68","\x66\x69\x6E\x64\x41\x6C\x6C","\x61\x67\x65\x6E\x74\x73","\x72\x6F\x77\x73","\x69\x64","\x6D\x61\x70","\x67\x65\x74\x41\x67\x65\x6E\x74\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x75\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x72\x6F\x6C\x65","\x73\x68\x6F\x77","\x70\x61\x72\x61\x6D\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x55\x73\x65\x72\x73","\x63\x72\x65\x61\x74\x65","\x68\x61\x6E\x64\x6C\x65\x55\x6E\x69\x71\x75\x65\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x45\x72\x72\x6F\x72","\x65\x72\x72\x6F\x72\x4D\x61\x6E\x61\x67\x65\x72","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x61\x64\x64\x55\x73\x65\x72\x73","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x72\x65\x6D\x6F\x76\x65\x55\x73\x65\x72"];_0xa653[0];var _=require(_0xa653[1]);var util=require(_0xa653[2]);var Util=require(_0xa653[3]);var sequelize=require(_0xa653[5])[_0xa653[4]];var Team=require(_0xa653[5])[_0xa653[6]];var Agent=require(_0xa653[5])[_0xa653[7]];var User=require(_0xa653[5])[_0xa653[7]];exports[_0xa653[8]]=function(_0x7ee1x8,_0x7ee1x9){return Team[_0xa653[18]](_0xa653[17])[_0xa653[16]](_[_0xa653[15]](Util[_0xa653[14]](_0x7ee1x8[_0xa653[13]])))[_0xa653[12]](function(_0x7ee1xb){_0x7ee1x9[_0xa653[11]](200)[_0xa653[10]](_0x7ee1xb)})[_0xa653[9]](function(_0x7ee1xa){return handleError(_0x7ee1x9,_0x7ee1xa)})};exports[_0xa653[19]]=function(_0x7ee1x8,_0x7ee1x9){switch(_0x7ee1x8[_0xa653[28]][_0xa653[30]]){case _0xa653[28]:return User[_0xa653[29]](_0x7ee1x8[_0xa653[28]][_0xa653[24]])[_0xa653[12]](function(_0x7ee1xd){if(!_0x7ee1xd){return _0x7ee1x9[_0xa653[27]](404)};return _0x7ee1xd})[_0xa653[12]](Util[_0xa653[26]](_0x7ee1x8[_0xa653[13]]))[_0xa653[12]](function(_0x7ee1xc){return Team[_0xa653[18]]({method:[_0xa653[22],_[_0xa653[25]](_0x7ee1xc[_0xa653[23]],_0xa653[24])]})[_0xa653[21]](_[_0xa653[15]](Util[_0xa653[14]](_0x7ee1x8[_0xa653[13]])))})[_0xa653[12]](function(_0x7ee1xb){_0x7ee1x9[_0xa653[11]](200)[_0xa653[10]]({rows:_0x7ee1xb,count:_0x7ee1xb[_0xa653[20]]})})[_0xa653[9]](function(_0x7ee1xa){return handleError(_0x7ee1x9,_0x7ee1xa)});default:return Team[_0xa653[18]](_0xa653[22])[_0xa653[21]](_[_0xa653[15]](Util[_0xa653[14]](_0x7ee1x8[_0xa653[13]])))[_0xa653[12]](function(_0x7ee1xb){_0x7ee1x9[_0xa653[11]](200)[_0xa653[10]]({rows:_0x7ee1xb,count:_0x7ee1xb[_0xa653[20]]})})[_0xa653[9]](function(_0x7ee1xa){return handleError(_0x7ee1x9,_0x7ee1xa)})}};exports[_0xa653[31]]=function(_0x7ee1x8,_0x7ee1x9){return Team[_0xa653[29]](_0x7ee1x8[_0xa653[32]][_0xa653[24]])[_0xa653[12]](function(_0x7ee1xe){if(!_0x7ee1xe){return _0x7ee1x9[_0xa653[27]](404)};return _0x7ee1x9[_0xa653[10]](_0x7ee1xe)})[_0xa653[9]](function(_0x7ee1xa){return handleError(_0x7ee1x9,_0x7ee1xa)})};exports[_0xa653[33]]=function(_0x7ee1x8,_0x7ee1x9){switch(_0x7ee1x8[_0xa653[28]][_0xa653[30]]){case _0xa653[28]:return User[_0xa653[29]](_0x7ee1x8[_0xa653[28]][_0xa653[24]])[_0xa653[12]](function(_0x7ee1xd){if(!_0x7ee1xd){return _0x7ee1x9[_0xa653[27]](404)};return _0x7ee1xd})[_0xa653[12]](Util[_0xa653[26]](_0x7ee1x8[_0xa653[13]]))[_0xa653[12]](function(_0x7ee1xc){return Team[_0xa653[18]]({method:[_0xa653[22],_[_0xa653[25]](_0x7ee1xc[_0xa653[23]],_0xa653[24])]})[_0xa653[29]](_0x7ee1x8[_0xa653[32]][_0xa653[24]])})[_0xa653[12]](function(_0x7ee1xe){if(!_0x7ee1xe){return _0x7ee1x9[_0xa653[27]](404)};return _0x7ee1x9[_0xa653[11]](200)[_0xa653[10]]({count:_0x7ee1xe[_0xa653[34]][_0xa653[20]],rows:_0x7ee1xe[_0xa653[34]]})})[_0xa653[9]](function(_0x7ee1xa){return handleError(_0x7ee1x9,_0x7ee1xa)});default:return Team[_0xa653[18]](_0xa653[22])[_0xa653[29]](_0x7ee1x8[_0xa653[32]][_0xa653[24]])[_0xa653[12]](function(_0x7ee1xe){if(!_0x7ee1xe){return _0x7ee1x9[_0xa653[27]](404)};return _0x7ee1x9[_0xa653[11]](200)[_0xa653[10]]({count:_0x7ee1xe[_0xa653[34]][_0xa653[20]],rows:_0x7ee1xe[_0xa653[34]]})})[_0xa653[9]](function(_0x7ee1xa){return handleError(_0x7ee1x9,_0x7ee1xa)})}};exports[_0xa653[35]]=function(_0x7ee1x8,_0x7ee1x9){return Team[_0xa653[35]](_0x7ee1x8[_0xa653[38]])[_0xa653[12]](function(_0x7ee1xe){return _0x7ee1x9[_0xa653[11]](201)[_0xa653[10]](_0x7ee1xe)})[_0xa653[9]](sequelize.UniqueConstraintError,function(_0x7ee1xa){return Util[_0xa653[37]][_0xa653[36]](_0x7ee1x9,_0x7ee1xa)})[_0xa653[9]](function(_0x7ee1xa){return handleError(_0x7ee1x9,_0x7ee1xa)})};exports[_0xa653[39]]=function(_0x7ee1x8,_0x7ee1x9){if(_0x7ee1x8[_0xa653[38]][_0xa653[24]]){delete _0x7ee1x8[_0xa653[38]][_0xa653[24]]};return Team[_0xa653[29]](_0x7ee1x8[_0xa653[32]][_0xa653[24]])[_0xa653[12]](function(_0x7ee1xe){if(!_0x7ee1xe){return _0x7ee1x9[_0xa653[27]](404)};var _0x7ee1xf=_[_0xa653[15]](_0x7ee1xe,_0x7ee1x8[_0xa653[38]]);return _0x7ee1xf[_0xa653[40]]()})[_0xa653[12]](function(_0x7ee1xe){return _0x7ee1x9[_0xa653[11]](200)[_0xa653[10]](_0x7ee1xe)})[_0xa653[9]](function(_0x7ee1xa){return handleError(_0x7ee1x9,_0x7ee1xa)})};exports[_0xa653[41]]=function(_0x7ee1x8,_0x7ee1x9){return Team[_0xa653[29]](_0x7ee1x8[_0xa653[32]][_0xa653[24]])[_0xa653[12]](function(_0x7ee1xe){if(!_0x7ee1xe){return _0x7ee1x9[_0xa653[27]](404)};return _0x7ee1xe[_0xa653[41]]()})[_0xa653[12]](function(){return _0x7ee1x9[_0xa653[27]](204)})[_0xa653[9]](function(_0x7ee1xa){return handleError(_0x7ee1x9,_0x7ee1xa)})};exports[_0xa653[42]]=function(_0x7ee1x8,_0x7ee1x9){return Team[_0xa653[41]]({where:{id:_0x7ee1x8[_0xa653[13]][_0xa653[43]]},individualHooks:true})[_0xa653[12]](function(){return _0x7ee1x9[_0xa653[27]](204)})[_0xa653[9]](function(_0x7ee1xa){return handleError(_0x7ee1x9,_0x7ee1xa)})};exports[_0xa653[44]]=function(_0x7ee1x8,_0x7ee1x9,_0x7ee1x10){return Team[_0xa653[29]](_0x7ee1x8[_0xa653[32]][_0xa653[24]])[_0xa653[12]](function(_0x7ee1xe){if(!_0x7ee1xe){return _0x7ee1x9[_0xa653[27]](404)};return _0x7ee1xe[_0xa653[45]](_0x7ee1x8[_0xa653[38]][_0xa653[22]])})[_0xa653[12]](function(){return _0x7ee1x9[_0xa653[27]](204)})[_0xa653[9]](function(_0x7ee1xa){return _0x7ee1x10(_0x7ee1xa)})};exports[_0xa653[46]]=function(_0x7ee1x8,_0x7ee1x9,_0x7ee1x10){return Team[_0xa653[29]](_0x7ee1x8[_0xa653[32]][_0xa653[24]])[_0xa653[12]](function(_0x7ee1xe){if(!_0x7ee1xe){return _0x7ee1x9[_0xa653[27]](404)};return _0x7ee1xe[_0xa653[47]](_0x7ee1x8[_0xa653[13]][_0xa653[22]])})[_0xa653[12]](function(){return _0x7ee1x9[_0xa653[27]](202)})[_0xa653[9]](function(_0x7ee1xa){return _0x7ee1x10(_0x7ee1xa)})};function handleError(_0x7ee1x9,_0x7ee1xa){return _0x7ee1x9[_0xa653[11]](500)[_0xa653[10]](_0x7ee1xa)} \ No newline at end of file diff --git a/server/api/team/team.socket.js b/server/api/team/team.socket.js index 7803e65..9ca4fdd 100644 --- a/server/api/team/team.socket.js +++ b/server/api/team/team.socket.js @@ -1 +1 @@ -var _0xd0a9=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x54\x65\x61\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x74\x65\x61\x6D\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x74\x65\x61\x6D\x3A\x72\x65\x6D\x6F\x76\x65"];_0xd0a9[0];var team=require(_0xd0a9[2])[_0xd0a9[1]];exports[_0xd0a9[3]]=function(_0xe442x2){team[_0xd0a9[4]](function(_0xe442x3){onSave(_0xe442x2,_0xe442x3)});team[_0xd0a9[5]](function(_0xe442x3){onSave(_0xe442x2,_0xe442x3)});team[_0xd0a9[6]](function(_0xe442x3){onRemove(_0xe442x2,_0xe442x3)})};function onSave(_0xe442x2,_0xe442x3,_0xe442x5){_0xe442x2[_0xd0a9[8]](_0xd0a9[7],_0xe442x3)}function onRemove(_0xe442x2,_0xe442x3,_0xe442x5){_0xe442x2[_0xd0a9[8]](_0xd0a9[9],_0xe442x3)} \ No newline at end of file +var _0xd0e4=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x54\x65\x61\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x74\x65\x61\x6D\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x74\x65\x61\x6D\x3A\x72\x65\x6D\x6F\x76\x65"];_0xd0e4[0];var team=require(_0xd0e4[2])[_0xd0e4[1]];exports[_0xd0e4[3]]=function(_0xe41bx2){team[_0xd0e4[4]](function(_0xe41bx3){onSave(_0xe41bx2,_0xe41bx3)});team[_0xd0e4[5]](function(_0xe41bx3){onSave(_0xe41bx2,_0xe41bx3)});team[_0xd0e4[6]](function(_0xe41bx3){onRemove(_0xe41bx2,_0xe41bx3)})};function onSave(_0xe41bx2,_0xe41bx3,_0xe41bx5){_0xe41bx2[_0xd0e4[8]](_0xd0e4[7],_0xe41bx3)}function onRemove(_0xe41bx2,_0xe41bx3,_0xe41bx5){_0xe41bx2[_0xd0e4[8]](_0xd0e4[9],_0xe41bx3)} \ No newline at end of file diff --git a/server/api/telephone/index.js b/server/api/telephone/index.js index c7c9fcd..ee53f66 100644 --- a/server/api/telephone/index.js +++ b/server/api/telephone/index.js @@ -1 +1 @@ -var _0x3e18=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x74\x65\x6C\x65\x70\x68\x6F\x6E\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x52\x6F\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x69\x73\x54\x65\x6C\x65\x70\x68\x6F\x6E\x65\x73\x4C\x69\x6D\x69\x74","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x3e18[0];var express=require(_0x3e18[1]);var auth=require(_0x3e18[2]);var controller=require(_0x3e18[3]);var license=require(_0x3e18[4]);var router=express.Router();router[_0x3e18[10]](_0x3e18[5],auth[_0x3e18[6]](),auth[_0x3e18[8]](_0x3e18[7]),controller[_0x3e18[9]]);router[_0x3e18[10]](_0x3e18[11],auth[_0x3e18[6]](),auth[_0x3e18[8]](_0x3e18[7]),controller[_0x3e18[12]]);router[_0x3e18[16]](_0x3e18[5],auth[_0x3e18[6]](),license[_0x3e18[13]](),license[_0x3e18[14]](),auth[_0x3e18[8]](_0x3e18[7]),controller[_0x3e18[15]]);router[_0x3e18[18]](_0x3e18[11],auth[_0x3e18[6]](),auth[_0x3e18[8]](_0x3e18[7]),controller[_0x3e18[17]]);router[_0x3e18[20]](_0x3e18[5],auth[_0x3e18[6]](),auth[_0x3e18[8]](_0x3e18[7]),controller[_0x3e18[19]]);router[_0x3e18[20]](_0x3e18[11],auth[_0x3e18[6]](),auth[_0x3e18[8]](_0x3e18[7]),controller[_0x3e18[21]]);module[_0x3e18[22]]=router \ No newline at end of file +var _0xacb3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x74\x65\x6C\x65\x70\x68\x6F\x6E\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x52\x6F\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x69\x73\x54\x65\x6C\x65\x70\x68\x6F\x6E\x65\x73\x4C\x69\x6D\x69\x74","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0xacb3[0];var express=require(_0xacb3[1]);var auth=require(_0xacb3[2]);var controller=require(_0xacb3[3]);var license=require(_0xacb3[4]);var router=express.Router();router[_0xacb3[10]](_0xacb3[5],auth[_0xacb3[6]](),auth[_0xacb3[8]](_0xacb3[7]),controller[_0xacb3[9]]);router[_0xacb3[10]](_0xacb3[11],auth[_0xacb3[6]](),auth[_0xacb3[8]](_0xacb3[7]),controller[_0xacb3[12]]);router[_0xacb3[16]](_0xacb3[5],auth[_0xacb3[6]](),license[_0xacb3[13]](),license[_0xacb3[14]](),auth[_0xacb3[8]](_0xacb3[7]),controller[_0xacb3[15]]);router[_0xacb3[18]](_0xacb3[11],auth[_0xacb3[6]](),auth[_0xacb3[8]](_0xacb3[7]),controller[_0xacb3[17]]);router[_0xacb3[20]](_0xacb3[5],auth[_0xacb3[6]](),auth[_0xacb3[8]](_0xacb3[7]),controller[_0xacb3[19]]);router[_0xacb3[20]](_0xacb3[11],auth[_0xacb3[6]](),auth[_0xacb3[8]](_0xacb3[7]),controller[_0xacb3[21]]);module[_0xacb3[22]]=router \ No newline at end of file diff --git a/server/api/telephone/telephone.controller.js b/server/api/telephone/telephone.controller.js index 02d382b..61c00db 100644 --- a/server/api/telephone/telephone.controller.js +++ b/server/api/telephone/telephone.controller.js @@ -1 +1 @@ -var _0x8bd6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x74\x65\x6C\x65\x70\x68\x6F\x6E\x65","\x73\x63\x6F\x70\x65","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x72\x6F\x6C\x65","\x62\x6F\x64\x79","\x68\x61\x6E\x64\x6C\x65\x55\x6E\x69\x71\x75\x65\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x45\x72\x72\x6F\x72","\x65\x72\x72\x6F\x72\x4D\x61\x6E\x61\x67\x65\x72","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64\x73"];_0x8bd6[0];var _=require(_0x8bd6[1]);var Util=require(_0x8bd6[2]);var sequelize=require(_0x8bd6[4])[_0x8bd6[3]];var Telephone=require(_0x8bd6[4])[_0x8bd6[5]];function handleError(_0x65f9x6,_0x65f9x7){_0x65f9x7=_0x65f9x7||500;return function(_0x65f9x8){_0x65f9x6[_0x8bd6[7]](_0x65f9x7)[_0x8bd6[6]](_0x65f9x8)}}function responseWithResult(_0x65f9x6,_0x65f9x7){_0x65f9x7=_0x65f9x7||200;return function(_0x65f9xa){if(_0x65f9xa){_0x65f9x6[_0x8bd6[7]](_0x65f9x7)[_0x8bd6[8]](_0x65f9xa)}}}function handleEntityNotFound(_0x65f9x6){return function(_0x65f9xa){if(!_0x65f9xa){_0x65f9x6[_0x8bd6[7]](404)[_0x8bd6[9]]();return null};return _0x65f9xa}}function saveUpdates(_0x65f9xd,_0x65f9xe){return function(_0x65f9xa){return _0x65f9xa[_0x8bd6[11]](_0x65f9xd,{transaction:_0x65f9xe})[_0x8bd6[10]](function(_0x65f9xf){return _0x65f9xf})}}function removeEntity(_0x65f9x6){return function(_0x65f9xa){if(_0x65f9xa){return _0x65f9xa[_0x8bd6[12]]()[_0x8bd6[10]](function(){_0x65f9x6[_0x8bd6[7]](204)[_0x8bd6[9]]()})}}}exports[_0x8bd6[13]]=function(_0x65f9x11,_0x65f9x6){return Telephone[_0x8bd6[19]](_0x8bd6[18])[_0x8bd6[17]](Util[_0x8bd6[16]](_0x65f9x11[_0x8bd6[15]]))[_0x8bd6[10]](function(_0x65f9x12){_0x65f9x6[_0x8bd6[7]](200)[_0x8bd6[6]](_0x65f9x12)})[_0x8bd6[14]](function(_0x65f9x8){return handleError(_0x65f9x6,_0x65f9x8)})};exports[_0x8bd6[20]]=function(_0x65f9x11,_0x65f9x6){Telephone[_0x8bd6[23]](_0x65f9x11[_0x8bd6[22]][_0x8bd6[21]])[_0x8bd6[10]](handleEntityNotFound(_0x65f9x6))[_0x8bd6[10]](responseWithResult(_0x65f9x6))[_0x8bd6[14]](handleError(_0x65f9x6))};exports[_0x8bd6[24]]=function(_0x65f9x11,_0x65f9x6){_0x65f9x11[_0x8bd6[26]][_0x8bd6[25]]=_0x8bd6[18];return sequelize[_0x8bd6[29]](function(_0x65f9xe){return Telephone[_0x8bd6[24]](_0x65f9x11[_0x8bd6[26]],{transaction:_0x65f9xe})[_0x8bd6[10]](responseWithResult(_0x65f9x6,201))})[_0x8bd6[14]](sequelize.UniqueConstraintError,function(_0x65f9x8){return Util[_0x8bd6[28]][_0x8bd6[27]](_0x65f9x6,_0x65f9x8)})[_0x8bd6[14]](handleError(_0x65f9x6))};exports[_0x8bd6[30]]=function(_0x65f9x11,_0x65f9x6){if(_0x65f9x11[_0x8bd6[26]][_0x8bd6[21]]){delete _0x65f9x11[_0x8bd6[26]][_0x8bd6[21]]};return sequelize[_0x8bd6[29]](function(_0x65f9xe){return Telephone[_0x8bd6[23]](_0x65f9x11[_0x8bd6[22]][_0x8bd6[21]])[_0x8bd6[10]](handleEntityNotFound(_0x65f9x6))[_0x8bd6[10]](saveUpdates(_0x65f9x11[_0x8bd6[26]],_0x65f9xe))[_0x8bd6[10]](responseWithResult(_0x65f9x6))})[_0x8bd6[14]](sequelize.UniqueConstraintError,function(_0x65f9x8){return Util[_0x8bd6[28]][_0x8bd6[27]](_0x65f9x6,_0x65f9x8)})[_0x8bd6[14]](handleError(_0x65f9x6))};exports[_0x8bd6[12]]=function(_0x65f9x11,_0x65f9x6){return Telephone[_0x8bd6[23]](_0x65f9x11[_0x8bd6[22]][_0x8bd6[21]])[_0x8bd6[10]](handleEntityNotFound(_0x65f9x6))[_0x8bd6[10]](removeEntity(_0x65f9x6))[_0x8bd6[14]](handleError(_0x65f9x6))};exports[_0x8bd6[31]]=function(_0x65f9x11,_0x65f9x6){return Telephone[_0x8bd6[12]]({where:{id:_0x65f9x11[_0x8bd6[15]][_0x8bd6[33]]},individualHooks:true})[_0x8bd6[10]](function(){return _0x65f9x6[_0x8bd6[32]](204)})[_0x8bd6[14]](function(_0x65f9x8){return handleError(_0x65f9x6,_0x65f9x8)})} \ No newline at end of file +var _0x282a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x74\x65\x6C\x65\x70\x68\x6F\x6E\x65","\x73\x63\x6F\x70\x65","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x72\x6F\x6C\x65","\x62\x6F\x64\x79","\x68\x61\x6E\x64\x6C\x65\x55\x6E\x69\x71\x75\x65\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x45\x72\x72\x6F\x72","\x65\x72\x72\x6F\x72\x4D\x61\x6E\x61\x67\x65\x72","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64\x73"];_0x282a[0];var _=require(_0x282a[1]);var Util=require(_0x282a[2]);var sequelize=require(_0x282a[4])[_0x282a[3]];var Telephone=require(_0x282a[4])[_0x282a[5]];function handleError(_0x645cx6,_0x645cx7){_0x645cx7=_0x645cx7||500;return function(_0x645cx8){_0x645cx6[_0x282a[7]](_0x645cx7)[_0x282a[6]](_0x645cx8)}}function responseWithResult(_0x645cx6,_0x645cx7){_0x645cx7=_0x645cx7||200;return function(_0x645cxa){if(_0x645cxa){_0x645cx6[_0x282a[7]](_0x645cx7)[_0x282a[8]](_0x645cxa)}}}function handleEntityNotFound(_0x645cx6){return function(_0x645cxa){if(!_0x645cxa){_0x645cx6[_0x282a[7]](404)[_0x282a[9]]();return null};return _0x645cxa}}function saveUpdates(_0x645cxd,_0x645cxe){return function(_0x645cxa){return _0x645cxa[_0x282a[11]](_0x645cxd,{transaction:_0x645cxe})[_0x282a[10]](function(_0x645cxf){return _0x645cxf})}}function removeEntity(_0x645cx6){return function(_0x645cxa){if(_0x645cxa){return _0x645cxa[_0x282a[12]]()[_0x282a[10]](function(){_0x645cx6[_0x282a[7]](204)[_0x282a[9]]()})}}}exports[_0x282a[13]]=function(_0x645cx11,_0x645cx6){return Telephone[_0x282a[19]](_0x282a[18])[_0x282a[17]](Util[_0x282a[16]](_0x645cx11[_0x282a[15]]))[_0x282a[10]](function(_0x645cx12){_0x645cx6[_0x282a[7]](200)[_0x282a[6]](_0x645cx12)})[_0x282a[14]](function(_0x645cx8){return handleError(_0x645cx6,_0x645cx8)})};exports[_0x282a[20]]=function(_0x645cx11,_0x645cx6){Telephone[_0x282a[23]](_0x645cx11[_0x282a[22]][_0x282a[21]])[_0x282a[10]](handleEntityNotFound(_0x645cx6))[_0x282a[10]](responseWithResult(_0x645cx6))[_0x282a[14]](handleError(_0x645cx6))};exports[_0x282a[24]]=function(_0x645cx11,_0x645cx6){_0x645cx11[_0x282a[26]][_0x282a[25]]=_0x282a[18];return sequelize[_0x282a[29]](function(_0x645cxe){return Telephone[_0x282a[24]](_0x645cx11[_0x282a[26]],{transaction:_0x645cxe})[_0x282a[10]](responseWithResult(_0x645cx6,201))})[_0x282a[14]](sequelize.UniqueConstraintError,function(_0x645cx8){return Util[_0x282a[28]][_0x282a[27]](_0x645cx6,_0x645cx8)})[_0x282a[14]](handleError(_0x645cx6))};exports[_0x282a[30]]=function(_0x645cx11,_0x645cx6){if(_0x645cx11[_0x282a[26]][_0x282a[21]]){delete _0x645cx11[_0x282a[26]][_0x282a[21]]};return sequelize[_0x282a[29]](function(_0x645cxe){return Telephone[_0x282a[23]](_0x645cx11[_0x282a[22]][_0x282a[21]])[_0x282a[10]](handleEntityNotFound(_0x645cx6))[_0x282a[10]](saveUpdates(_0x645cx11[_0x282a[26]],_0x645cxe))[_0x282a[10]](responseWithResult(_0x645cx6))})[_0x282a[14]](sequelize.UniqueConstraintError,function(_0x645cx8){return Util[_0x282a[28]][_0x282a[27]](_0x645cx6,_0x645cx8)})[_0x282a[14]](handleError(_0x645cx6))};exports[_0x282a[12]]=function(_0x645cx11,_0x645cx6){return Telephone[_0x282a[23]](_0x645cx11[_0x282a[22]][_0x282a[21]])[_0x282a[10]](handleEntityNotFound(_0x645cx6))[_0x282a[10]](removeEntity(_0x645cx6))[_0x282a[14]](handleError(_0x645cx6))};exports[_0x282a[31]]=function(_0x645cx11,_0x645cx6){return Telephone[_0x282a[12]]({where:{id:_0x645cx11[_0x282a[15]][_0x282a[33]]},individualHooks:true})[_0x282a[10]](function(){return _0x645cx6[_0x282a[32]](204)})[_0x282a[14]](function(_0x645cx8){return handleError(_0x645cx6,_0x645cx8)})} \ No newline at end of file diff --git a/server/api/telephone/telephone.socket.js b/server/api/telephone/telephone.socket.js index 47f0d9e..a267280 100644 --- a/server/api/telephone/telephone.socket.js +++ b/server/api/telephone/telephone.socket.js @@ -1 +1 @@ -var _0x7eac=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x72\x65\x67\x69\x73\x74\x65\x72","\x74\x65\x6C\x65\x70\x68\x6F\x6E\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x74\x65\x6C\x65\x70\x68\x6F\x6E\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x7eac[0];exports[_0x7eac[1]]=function(_0x925ex1){};function onSave(_0x925ex1,_0x925ex3,_0x925ex4){_0x925ex1[_0x7eac[3]](_0x7eac[2],_0x925ex3)}function onRemove(_0x925ex1,_0x925ex3,_0x925ex4){_0x925ex1[_0x7eac[3]](_0x7eac[4],_0x925ex3)} \ No newline at end of file +var _0x1f4c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x72\x65\x67\x69\x73\x74\x65\x72","\x74\x65\x6C\x65\x70\x68\x6F\x6E\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x74\x65\x6C\x65\x70\x68\x6F\x6E\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x1f4c[0];exports[_0x1f4c[1]]=function(_0xc7b8x1){};function onSave(_0xc7b8x1,_0xc7b8x3,_0xc7b8x4){_0xc7b8x1[_0x1f4c[3]](_0x1f4c[2],_0xc7b8x3)}function onRemove(_0xc7b8x1,_0xc7b8x3,_0xc7b8x4){_0xc7b8x1[_0x1f4c[3]](_0x1f4c[4],_0xc7b8x3)} \ No newline at end of file diff --git a/server/api/template/index.js b/server/api/template/index.js index ecbee19..8d9afad 100644 --- a/server/api/template/index.js +++ b/server/api/template/index.js @@ -1 +1 @@ -var _0xd7f8=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x74\x65\x6D\x70\x6C\x61\x74\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x75\x73\x65\x72","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0xd7f8[0];var express=require(_0xd7f8[1]);var controller=require(_0xd7f8[2]);var auth=require(_0xd7f8[3]);var router=express.Router();router[_0xd7f8[11]](_0xd7f8[4],auth[_0xd7f8[5]](),auth[_0xd7f8[9]]([13],[_0xd7f8[6],_0xd7f8[7],_0xd7f8[8]]),controller[_0xd7f8[10]]);router[_0xd7f8[11]](_0xd7f8[12],auth[_0xd7f8[5]](),auth[_0xd7f8[9]]([13],[_0xd7f8[6]]),controller[_0xd7f8[13]]);router[_0xd7f8[15]](_0xd7f8[4],auth[_0xd7f8[5]](),auth[_0xd7f8[9]]([13],[_0xd7f8[6]]),controller[_0xd7f8[14]]);router[_0xd7f8[17]](_0xd7f8[12],auth[_0xd7f8[5]](),auth[_0xd7f8[9]]([13],[_0xd7f8[6]]),controller[_0xd7f8[16]]);router[_0xd7f8[19]](_0xd7f8[12],auth[_0xd7f8[5]](),auth[_0xd7f8[9]]([13],[_0xd7f8[6]]),controller[_0xd7f8[18]]);router[_0xd7f8[19]](_0xd7f8[4],auth[_0xd7f8[5]](),auth[_0xd7f8[9]]([13],[_0xd7f8[6]]),controller[_0xd7f8[20]]);module[_0xd7f8[21]]=router \ No newline at end of file +var _0xd0d4=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x74\x65\x6D\x70\x6C\x61\x74\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x75\x73\x65\x72","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0xd0d4[0];var express=require(_0xd0d4[1]);var controller=require(_0xd0d4[2]);var auth=require(_0xd0d4[3]);var router=express.Router();router[_0xd0d4[11]](_0xd0d4[4],auth[_0xd0d4[5]](),auth[_0xd0d4[9]]([13],[_0xd0d4[6],_0xd0d4[7],_0xd0d4[8]]),controller[_0xd0d4[10]]);router[_0xd0d4[11]](_0xd0d4[12],auth[_0xd0d4[5]](),auth[_0xd0d4[9]]([13],[_0xd0d4[6]]),controller[_0xd0d4[13]]);router[_0xd0d4[15]](_0xd0d4[4],auth[_0xd0d4[5]](),auth[_0xd0d4[9]]([13],[_0xd0d4[6]]),controller[_0xd0d4[14]]);router[_0xd0d4[17]](_0xd0d4[12],auth[_0xd0d4[5]](),auth[_0xd0d4[9]]([13],[_0xd0d4[6]]),controller[_0xd0d4[16]]);router[_0xd0d4[19]](_0xd0d4[12],auth[_0xd0d4[5]](),auth[_0xd0d4[9]]([13],[_0xd0d4[6]]),controller[_0xd0d4[18]]);router[_0xd0d4[19]](_0xd0d4[4],auth[_0xd0d4[5]](),auth[_0xd0d4[9]]([13],[_0xd0d4[6]]),controller[_0xd0d4[20]]);module[_0xd0d4[21]]=router \ No newline at end of file diff --git a/server/api/template/template.controller.js b/server/api/template/template.controller.js index 29f9cc9..72ecf0c 100644 --- a/server/api/template/template.controller.js +++ b/server/api/template/template.controller.js @@ -1 +1 @@ -var _0x80d1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x54\x65\x6D\x70\x6C\x61\x74\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0x80d1[0];var _=require(_0x80d1[1]);var util=require(_0x80d1[2]);var Util=require(_0x80d1[3]);var Template=require(_0x80d1[5])[_0x80d1[4]];exports[_0x80d1[6]]=function(_0x2e35x5,_0x2e35x6,_0x2e35x7){return Template[_0x80d1[13]](Util[_0x80d1[12]](_0x2e35x5[_0x80d1[11]]))[_0x80d1[10]](function(_0x2e35x9){_0x2e35x6[_0x80d1[9]](200)[_0x80d1[8]](_0x2e35x9)})[_0x80d1[7]](function(_0x2e35x8){return handleError(_0x2e35x6,_0x2e35x8)})};exports[_0x80d1[14]]=function(_0x2e35x5,_0x2e35x6){return Template[_0x80d1[18]](_0x2e35x5[_0x80d1[17]][_0x80d1[16]])[_0x80d1[10]](function(_0x2e35xa){if(!_0x2e35xa){return _0x2e35x6[_0x80d1[15]](404)};return _0x2e35x6[_0x80d1[8]](_0x2e35xa)})[_0x80d1[7]](function(_0x2e35x8){return handleError(_0x2e35x6,_0x2e35x8)})};exports[_0x80d1[19]]=function(_0x2e35x5,_0x2e35x6){return Template[_0x80d1[19]](_0x2e35x5[_0x80d1[20]])[_0x80d1[10]](function(_0x2e35xa){return _0x2e35x6[_0x80d1[9]](201)[_0x80d1[8]](_0x2e35xa)})[_0x80d1[7]](function(_0x2e35x8){return handleError(_0x2e35x6,_0x2e35x8)})};exports[_0x80d1[21]]=function(_0x2e35x5,_0x2e35x6){if(_0x2e35x5[_0x80d1[20]][_0x80d1[16]]){delete _0x2e35x5[_0x80d1[20]][_0x80d1[16]]};return Template[_0x80d1[18]](_0x2e35x5[_0x80d1[17]][_0x80d1[16]])[_0x80d1[10]](function(_0x2e35xa){if(!_0x2e35xa){return _0x2e35x6[_0x80d1[15]](404)};var _0x2e35xb=_[_0x80d1[22]](_0x2e35xa,_0x2e35x5[_0x80d1[20]]);return _0x2e35xb[_0x80d1[23]]()})[_0x80d1[10]](function(_0x2e35xa){return _0x2e35x6[_0x80d1[9]](200)[_0x80d1[8]](_0x2e35xa)})[_0x80d1[7]](function(_0x2e35x8){return handleError(_0x2e35x6,_0x2e35x8)})};exports[_0x80d1[24]]=function(_0x2e35x5,_0x2e35x6){return Template[_0x80d1[18]](_0x2e35x5[_0x80d1[17]][_0x80d1[16]])[_0x80d1[10]](function(_0x2e35xa){if(!_0x2e35xa){return _0x2e35x6[_0x80d1[15]](404)};return _0x2e35xa[_0x80d1[24]]()})[_0x80d1[10]](function(){return _0x2e35x6[_0x80d1[15]](204)})[_0x80d1[7]](function(_0x2e35x8){return handleError(_0x2e35x6,_0x2e35x8)})};exports[_0x80d1[25]]=function(_0x2e35x5,_0x2e35x6){return Template[_0x80d1[24]]({where:{id:_0x2e35x5[_0x80d1[11]][_0x80d1[26]]},individualHooks:true})[_0x80d1[10]](function(){return _0x2e35x6[_0x80d1[15]](204)})[_0x80d1[7]](function(_0x2e35x8){return handleError(_0x2e35x6,_0x2e35x8)})};function handleError(_0x2e35x6,_0x2e35x8){return _0x2e35x6[_0x80d1[9]](500)[_0x80d1[8]](_0x2e35x8)} \ No newline at end of file +var _0xb7b6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x54\x65\x6D\x70\x6C\x61\x74\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0xb7b6[0];var _=require(_0xb7b6[1]);var util=require(_0xb7b6[2]);var Util=require(_0xb7b6[3]);var Template=require(_0xb7b6[5])[_0xb7b6[4]];exports[_0xb7b6[6]]=function(_0xf3f0x5,_0xf3f0x6,_0xf3f0x7){return Template[_0xb7b6[13]](Util[_0xb7b6[12]](_0xf3f0x5[_0xb7b6[11]]))[_0xb7b6[10]](function(_0xf3f0x9){_0xf3f0x6[_0xb7b6[9]](200)[_0xb7b6[8]](_0xf3f0x9)})[_0xb7b6[7]](function(_0xf3f0x8){return handleError(_0xf3f0x6,_0xf3f0x8)})};exports[_0xb7b6[14]]=function(_0xf3f0x5,_0xf3f0x6){return Template[_0xb7b6[18]](_0xf3f0x5[_0xb7b6[17]][_0xb7b6[16]])[_0xb7b6[10]](function(_0xf3f0xa){if(!_0xf3f0xa){return _0xf3f0x6[_0xb7b6[15]](404)};return _0xf3f0x6[_0xb7b6[8]](_0xf3f0xa)})[_0xb7b6[7]](function(_0xf3f0x8){return handleError(_0xf3f0x6,_0xf3f0x8)})};exports[_0xb7b6[19]]=function(_0xf3f0x5,_0xf3f0x6){return Template[_0xb7b6[19]](_0xf3f0x5[_0xb7b6[20]])[_0xb7b6[10]](function(_0xf3f0xa){return _0xf3f0x6[_0xb7b6[9]](201)[_0xb7b6[8]](_0xf3f0xa)})[_0xb7b6[7]](function(_0xf3f0x8){return handleError(_0xf3f0x6,_0xf3f0x8)})};exports[_0xb7b6[21]]=function(_0xf3f0x5,_0xf3f0x6){if(_0xf3f0x5[_0xb7b6[20]][_0xb7b6[16]]){delete _0xf3f0x5[_0xb7b6[20]][_0xb7b6[16]]};return Template[_0xb7b6[18]](_0xf3f0x5[_0xb7b6[17]][_0xb7b6[16]])[_0xb7b6[10]](function(_0xf3f0xa){if(!_0xf3f0xa){return _0xf3f0x6[_0xb7b6[15]](404)};var _0xf3f0xb=_[_0xb7b6[22]](_0xf3f0xa,_0xf3f0x5[_0xb7b6[20]]);return _0xf3f0xb[_0xb7b6[23]]()})[_0xb7b6[10]](function(_0xf3f0xa){return _0xf3f0x6[_0xb7b6[9]](200)[_0xb7b6[8]](_0xf3f0xa)})[_0xb7b6[7]](function(_0xf3f0x8){return handleError(_0xf3f0x6,_0xf3f0x8)})};exports[_0xb7b6[24]]=function(_0xf3f0x5,_0xf3f0x6){return Template[_0xb7b6[18]](_0xf3f0x5[_0xb7b6[17]][_0xb7b6[16]])[_0xb7b6[10]](function(_0xf3f0xa){if(!_0xf3f0xa){return _0xf3f0x6[_0xb7b6[15]](404)};return _0xf3f0xa[_0xb7b6[24]]()})[_0xb7b6[10]](function(){return _0xf3f0x6[_0xb7b6[15]](204)})[_0xb7b6[7]](function(_0xf3f0x8){return handleError(_0xf3f0x6,_0xf3f0x8)})};exports[_0xb7b6[25]]=function(_0xf3f0x5,_0xf3f0x6){return Template[_0xb7b6[24]]({where:{id:_0xf3f0x5[_0xb7b6[11]][_0xb7b6[26]]},individualHooks:true})[_0xb7b6[10]](function(){return _0xf3f0x6[_0xb7b6[15]](204)})[_0xb7b6[7]](function(_0xf3f0x8){return handleError(_0xf3f0x6,_0xf3f0x8)})};function handleError(_0xf3f0x6,_0xf3f0x8){return _0xf3f0x6[_0xb7b6[9]](500)[_0xb7b6[8]](_0xf3f0x8)} \ No newline at end of file diff --git a/server/api/template/template.socket.js b/server/api/template/template.socket.js index b3e395d..fbcafd6 100644 --- a/server/api/template/template.socket.js +++ b/server/api/template/template.socket.js @@ -1 +1 @@ -var _0x8916=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x54\x65\x6D\x70\x6C\x61\x74\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x74\x65\x6D\x70\x6C\x61\x74\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x74\x65\x6D\x70\x6C\x61\x74\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x8916[0];var Template=require(_0x8916[2])[_0x8916[1]];exports[_0x8916[3]]=function(_0xc285x2){Template[_0x8916[4]](function(_0xc285x3){onSave(_0xc285x2,_0xc285x3)});Template[_0x8916[5]](function(_0xc285x3){onRemove(_0xc285x2,_0xc285x3)})};function onSave(_0xc285x2,_0xc285x3,_0xc285x5){_0xc285x2[_0x8916[7]](_0x8916[6],_0xc285x3)}function onRemove(_0xc285x2,_0xc285x3,_0xc285x5){_0xc285x2[_0x8916[7]](_0x8916[8],_0xc285x3)} \ No newline at end of file +var _0xa357=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x54\x65\x6D\x70\x6C\x61\x74\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x74\x65\x6D\x70\x6C\x61\x74\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x74\x65\x6D\x70\x6C\x61\x74\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0xa357[0];var Template=require(_0xa357[2])[_0xa357[1]];exports[_0xa357[3]]=function(_0x7a24x2){Template[_0xa357[4]](function(_0x7a24x3){onSave(_0x7a24x2,_0x7a24x3)});Template[_0xa357[5]](function(_0x7a24x3){onRemove(_0x7a24x2,_0x7a24x3)})};function onSave(_0x7a24x2,_0x7a24x3,_0x7a24x5){_0x7a24x2[_0xa357[7]](_0xa357[6],_0x7a24x3)}function onRemove(_0x7a24x2,_0x7a24x3,_0x7a24x5){_0x7a24x2[_0xa357[7]](_0xa357[8],_0x7a24x3)} \ No newline at end of file diff --git a/server/api/trigger/index.js b/server/api/trigger/index.js index a9328e1..74ab2ba 100644 --- a/server/api/trigger/index.js +++ b/server/api/trigger/index.js @@ -1 +1 @@ -var _0x8b9a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x74\x72\x69\x67\x67\x65\x72\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x8b9a[0];var express=require(_0x8b9a[1]);var controller=require(_0x8b9a[2]);var auth=require(_0x8b9a[3]);var router=express.Router();router[_0x8b9a[9]](_0x8b9a[4],auth[_0x8b9a[5]](),auth[_0x8b9a[7]]([13],[_0x8b9a[6]]),controller[_0x8b9a[8]]);router[_0x8b9a[9]](_0x8b9a[10],auth[_0x8b9a[5]](),auth[_0x8b9a[7]]([13],[_0x8b9a[6]]),controller[_0x8b9a[11]]);router[_0x8b9a[13]](_0x8b9a[4],auth[_0x8b9a[5]](),auth[_0x8b9a[7]]([13],[_0x8b9a[6]]),controller[_0x8b9a[12]]);router[_0x8b9a[15]](_0x8b9a[10],auth[_0x8b9a[5]](),auth[_0x8b9a[7]]([13],[_0x8b9a[6]]),controller[_0x8b9a[14]]);router[_0x8b9a[17]](_0x8b9a[10],auth[_0x8b9a[5]](),auth[_0x8b9a[7]]([13],[_0x8b9a[6]]),controller[_0x8b9a[16]]);router[_0x8b9a[17]](_0x8b9a[4],auth[_0x8b9a[5]](),auth[_0x8b9a[7]]([13],[_0x8b9a[6]]),controller[_0x8b9a[18]]);module[_0x8b9a[19]]=router \ No newline at end of file +var _0x7df3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x74\x72\x69\x67\x67\x65\x72\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x7df3[0];var express=require(_0x7df3[1]);var controller=require(_0x7df3[2]);var auth=require(_0x7df3[3]);var router=express.Router();router[_0x7df3[9]](_0x7df3[4],auth[_0x7df3[5]](),auth[_0x7df3[7]]([13],[_0x7df3[6]]),controller[_0x7df3[8]]);router[_0x7df3[9]](_0x7df3[10],auth[_0x7df3[5]](),auth[_0x7df3[7]]([13],[_0x7df3[6]]),controller[_0x7df3[11]]);router[_0x7df3[13]](_0x7df3[4],auth[_0x7df3[5]](),auth[_0x7df3[7]]([13],[_0x7df3[6]]),controller[_0x7df3[12]]);router[_0x7df3[15]](_0x7df3[10],auth[_0x7df3[5]](),auth[_0x7df3[7]]([13],[_0x7df3[6]]),controller[_0x7df3[14]]);router[_0x7df3[17]](_0x7df3[10],auth[_0x7df3[5]](),auth[_0x7df3[7]]([13],[_0x7df3[6]]),controller[_0x7df3[16]]);router[_0x7df3[17]](_0x7df3[4],auth[_0x7df3[5]](),auth[_0x7df3[7]]([13],[_0x7df3[6]]),controller[_0x7df3[18]]);module[_0x7df3[19]]=router \ No newline at end of file diff --git a/server/api/trigger/trigger.controller.js b/server/api/trigger/trigger.controller.js index f0bbb32..add53ce 100644 --- a/server/api/trigger/trigger.controller.js +++ b/server/api/trigger/trigger.controller.js @@ -1 +1 @@ -var _0x833c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x54\x72\x69\x67\x67\x65\x72","\x54\x6F\x6F\x6C\x73\x43\x6F\x6E\x64\x69\x74\x69\x6F\x6E","\x54\x6F\x6F\x6C\x73\x41\x63\x74\x69\x6F\x6E","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x61\x6C\x6C","\x73\x63\x6F\x70\x65","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x41\x6C\x6C","\x41\x6E\x79","\x41\x63\x74\x69\x6F\x6E\x73","\x75\x70\x64\x61\x74\x65","\x6C\x6F\x67","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x69\x73\x41\x72\x72\x61\x79","\x6C\x65\x6E\x67\x74\x68","\x54\x72\x69\x67\x67\x65\x72\x49\x64","\x66\x6F\x72\x45\x61\x63\x68","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x54\x72\x69\x67\x67\x65\x72\x41\x6C\x6C\x49\x64","\x54\x72\x69\x67\x67\x65\x72\x41\x6E\x79\x49\x64","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0x833c[0];var _=require(_0x833c[1]);var util=require(_0x833c[2]);var Util=require(_0x833c[3]);var sequelize=require(_0x833c[5])[_0x833c[4]];var Trigger=require(_0x833c[5])[_0x833c[6]];var ToolsCondition=require(_0x833c[5])[_0x833c[7]];var ToolsAction=require(_0x833c[5])[_0x833c[8]];exports[_0x833c[9]]=function(_0xfa6fx8,_0xfa6fx9,_0xfa6fxa){return Trigger[_0x833c[18]](_0x833c[17])[_0x833c[16]](Util[_0x833c[15]](_0xfa6fx8[_0x833c[14]]))[_0x833c[13]](function(_0xfa6fxc){_0xfa6fx9[_0x833c[12]](200)[_0x833c[11]](_0xfa6fxc)})[_0x833c[10]](function(_0xfa6fxb){return handleError(_0xfa6fx9,_0xfa6fxb)})};exports[_0x833c[19]]=function(_0xfa6fx8,_0xfa6fx9){return Trigger[_0x833c[18]](_0x833c[17])[_0x833c[23]](_0xfa6fx8[_0x833c[22]][_0x833c[21]])[_0x833c[13]](function(Trigger){if(!Trigger){return _0xfa6fx9[_0x833c[20]](404)};return _0xfa6fx9[_0x833c[11]](Trigger)})[_0x833c[10]](function(_0xfa6fxb){return handleError(_0xfa6fx9,_0xfa6fxb)})};exports[_0x833c[24]]=function(_0xfa6fx8,_0xfa6fx9){return Trigger[_0x833c[24]](_0xfa6fx8[_0x833c[25]],{include:[{model:ToolsCondition,as:_0x833c[26]},{model:ToolsCondition,as:_0x833c[27]},{model:ToolsAction,as:_0x833c[28]}],newTrigger:_0xfa6fx8[_0x833c[25]]})[_0x833c[13]](function(_0xfa6fxd){return _0xfa6fx9[_0x833c[12]](201)[_0x833c[11]](_0xfa6fxd)})[_0x833c[10]](function(_0xfa6fxb){return handleError(_0xfa6fx9,_0xfa6fxb)})};exports[_0x833c[29]]=function(_0xfa6fx8,_0xfa6fx9,_0xfa6fxa){var _0xfa6fxe;if(_0xfa6fx8[_0x833c[25]][_0x833c[21]]){delete _0xfa6fx8[_0x833c[25]][_0x833c[21]]};return sequelize[_0x833c[41]](function(_0xfa6fxf){return Trigger[_0x833c[23]](_0xfa6fx8[_0x833c[22]][_0x833c[21]])[_0x833c[13]](function(_0xfa6fxd){_0xfa6fxe=_0xfa6fxd;if(_0xfa6fx8[_0x833c[25]][_0x833c[27]]){return ToolsCondition[_0x833c[38]]({where:{TriggerAnyId:_0xfa6fx8[_0x833c[22]][_0x833c[21]]},transaction:_0xfa6fxf})};return})[_0x833c[13]](function(){if(_0xfa6fx8[_0x833c[25]][_0x833c[27]]&&Array[_0x833c[33]](_0xfa6fx8[_0x833c[25]].Any)&&_0xfa6fx8[_0x833c[25]][_0x833c[27]][_0x833c[34]]){_[_0x833c[36]](_0xfa6fx8[_0x833c[25]].Any,function(_0xfa6fx11){_0xfa6fx11[_0x833c[40]]=_0xfa6fx8[_0x833c[22]][_0x833c[21]]});return ToolsCondition[_0x833c[37]](_0xfa6fx8[_0x833c[25]].Any,{transaction:_0xfa6fxf})};return})[_0x833c[13]](function(){if(_0xfa6fx8[_0x833c[25]][_0x833c[26]]){return ToolsCondition[_0x833c[38]]({where:{TriggerAllId:_0xfa6fx8[_0x833c[22]][_0x833c[21]]},transaction:_0xfa6fxf})};return})[_0x833c[13]](function(){if(_0xfa6fx8[_0x833c[25]][_0x833c[26]]&&Array[_0x833c[33]](_0xfa6fx8[_0x833c[25]].All)&&_0xfa6fx8[_0x833c[25]][_0x833c[26]][_0x833c[34]]){_[_0x833c[36]](_0xfa6fx8[_0x833c[25]].All,function(_0xfa6fx11){_0xfa6fx11[_0x833c[39]]=_0xfa6fx8[_0x833c[22]][_0x833c[21]]});return ToolsCondition[_0x833c[37]](_0xfa6fx8[_0x833c[25]].All,{transaction:_0xfa6fxf})};return})[_0x833c[13]](function(){if(_0xfa6fx8[_0x833c[25]][_0x833c[28]]){return ToolsAction[_0x833c[38]]({where:{TriggerId:_0xfa6fx8[_0x833c[22]][_0x833c[21]]},transaction:_0xfa6fxf})};return})[_0x833c[13]](function(){if(_0xfa6fx8[_0x833c[25]][_0x833c[28]]&&Array[_0x833c[33]](_0xfa6fx8[_0x833c[25]].Actions)&&_0xfa6fx8[_0x833c[25]][_0x833c[28]][_0x833c[34]]){_[_0x833c[36]](_0xfa6fx8[_0x833c[25]].Actions,function(_0xfa6fx11){_0xfa6fx11[_0x833c[35]]=_0xfa6fx8[_0x833c[22]][_0x833c[21]]});return ToolsAction[_0x833c[37]](_0xfa6fx8[_0x833c[25]].Actions,{transaction:_0xfa6fxf})};return})[_0x833c[13]](function(){var _0xfa6fx10=_[_0x833c[31]](_0xfa6fxe,_0xfa6fx8[_0x833c[25]]);return _0xfa6fx10[_0x833c[32]]({transaction:_0xfa6fxf})})})[_0x833c[13]](function(){return _0xfa6fx9[_0x833c[20]](200)})[_0x833c[10]](function(_0xfa6fxb){console[_0x833c[30]](_0xfa6fxb);return handleError(_0xfa6fx9,_0xfa6fxb)})};exports[_0x833c[38]]=function(_0xfa6fx8,_0xfa6fx9){return Trigger[_0x833c[23]](_0xfa6fx8[_0x833c[22]][_0x833c[21]])[_0x833c[13]](function(Trigger){if(!Trigger){return _0xfa6fx9[_0x833c[20]](404)};Trigger[_0x833c[38]]()[_0x833c[13]](function(){return _0xfa6fx9[_0x833c[20]](204)})[_0x833c[10]](function(_0xfa6fxb){return handleError(_0xfa6fx9,_0xfa6fxb)})})[_0x833c[10]](function(_0xfa6fxb){return handleError(_0xfa6fx9,_0xfa6fxb)})};exports[_0x833c[42]]=function(_0xfa6fx8,_0xfa6fx9){return Trigger[_0x833c[38]]({where:{id:_0xfa6fx8[_0x833c[14]][_0x833c[43]]},individualHooks:true})[_0x833c[13]](function(){return _0xfa6fx9[_0x833c[20]](204)})[_0x833c[10]](function(_0xfa6fxb){return handleError(_0xfa6fx9,_0xfa6fxb)})};function handleError(_0xfa6fx9,_0xfa6fxb){return _0xfa6fx9[_0x833c[12]](500)[_0x833c[11]](_0xfa6fxb)} \ No newline at end of file +var _0xf0d0=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x54\x72\x69\x67\x67\x65\x72","\x54\x6F\x6F\x6C\x73\x43\x6F\x6E\x64\x69\x74\x69\x6F\x6E","\x54\x6F\x6F\x6C\x73\x41\x63\x74\x69\x6F\x6E","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x61\x6C\x6C","\x73\x63\x6F\x70\x65","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x41\x6C\x6C","\x41\x6E\x79","\x41\x63\x74\x69\x6F\x6E\x73","\x75\x70\x64\x61\x74\x65","\x6C\x6F\x67","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x69\x73\x41\x72\x72\x61\x79","\x6C\x65\x6E\x67\x74\x68","\x54\x72\x69\x67\x67\x65\x72\x49\x64","\x66\x6F\x72\x45\x61\x63\x68","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x54\x72\x69\x67\x67\x65\x72\x41\x6C\x6C\x49\x64","\x54\x72\x69\x67\x67\x65\x72\x41\x6E\x79\x49\x64","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0xf0d0[0];var _=require(_0xf0d0[1]);var util=require(_0xf0d0[2]);var Util=require(_0xf0d0[3]);var sequelize=require(_0xf0d0[5])[_0xf0d0[4]];var Trigger=require(_0xf0d0[5])[_0xf0d0[6]];var ToolsCondition=require(_0xf0d0[5])[_0xf0d0[7]];var ToolsAction=require(_0xf0d0[5])[_0xf0d0[8]];exports[_0xf0d0[9]]=function(_0x3875x8,_0x3875x9,_0x3875xa){return Trigger[_0xf0d0[18]](_0xf0d0[17])[_0xf0d0[16]](Util[_0xf0d0[15]](_0x3875x8[_0xf0d0[14]]))[_0xf0d0[13]](function(_0x3875xc){_0x3875x9[_0xf0d0[12]](200)[_0xf0d0[11]](_0x3875xc)})[_0xf0d0[10]](function(_0x3875xb){return handleError(_0x3875x9,_0x3875xb)})};exports[_0xf0d0[19]]=function(_0x3875x8,_0x3875x9){return Trigger[_0xf0d0[18]](_0xf0d0[17])[_0xf0d0[23]](_0x3875x8[_0xf0d0[22]][_0xf0d0[21]])[_0xf0d0[13]](function(Trigger){if(!Trigger){return _0x3875x9[_0xf0d0[20]](404)};return _0x3875x9[_0xf0d0[11]](Trigger)})[_0xf0d0[10]](function(_0x3875xb){return handleError(_0x3875x9,_0x3875xb)})};exports[_0xf0d0[24]]=function(_0x3875x8,_0x3875x9){return Trigger[_0xf0d0[24]](_0x3875x8[_0xf0d0[25]],{include:[{model:ToolsCondition,as:_0xf0d0[26]},{model:ToolsCondition,as:_0xf0d0[27]},{model:ToolsAction,as:_0xf0d0[28]}],newTrigger:_0x3875x8[_0xf0d0[25]]})[_0xf0d0[13]](function(_0x3875xd){return _0x3875x9[_0xf0d0[12]](201)[_0xf0d0[11]](_0x3875xd)})[_0xf0d0[10]](function(_0x3875xb){return handleError(_0x3875x9,_0x3875xb)})};exports[_0xf0d0[29]]=function(_0x3875x8,_0x3875x9,_0x3875xa){var _0x3875xe;if(_0x3875x8[_0xf0d0[25]][_0xf0d0[21]]){delete _0x3875x8[_0xf0d0[25]][_0xf0d0[21]]};return sequelize[_0xf0d0[41]](function(_0x3875xf){return Trigger[_0xf0d0[23]](_0x3875x8[_0xf0d0[22]][_0xf0d0[21]])[_0xf0d0[13]](function(_0x3875xd){_0x3875xe=_0x3875xd;if(_0x3875x8[_0xf0d0[25]][_0xf0d0[27]]){return ToolsCondition[_0xf0d0[38]]({where:{TriggerAnyId:_0x3875x8[_0xf0d0[22]][_0xf0d0[21]]},transaction:_0x3875xf})};return})[_0xf0d0[13]](function(){if(_0x3875x8[_0xf0d0[25]][_0xf0d0[27]]&&Array[_0xf0d0[33]](_0x3875x8[_0xf0d0[25]].Any)&&_0x3875x8[_0xf0d0[25]][_0xf0d0[27]][_0xf0d0[34]]){_[_0xf0d0[36]](_0x3875x8[_0xf0d0[25]].Any,function(_0x3875x11){_0x3875x11[_0xf0d0[40]]=_0x3875x8[_0xf0d0[22]][_0xf0d0[21]]});return ToolsCondition[_0xf0d0[37]](_0x3875x8[_0xf0d0[25]].Any,{transaction:_0x3875xf})};return})[_0xf0d0[13]](function(){if(_0x3875x8[_0xf0d0[25]][_0xf0d0[26]]){return ToolsCondition[_0xf0d0[38]]({where:{TriggerAllId:_0x3875x8[_0xf0d0[22]][_0xf0d0[21]]},transaction:_0x3875xf})};return})[_0xf0d0[13]](function(){if(_0x3875x8[_0xf0d0[25]][_0xf0d0[26]]&&Array[_0xf0d0[33]](_0x3875x8[_0xf0d0[25]].All)&&_0x3875x8[_0xf0d0[25]][_0xf0d0[26]][_0xf0d0[34]]){_[_0xf0d0[36]](_0x3875x8[_0xf0d0[25]].All,function(_0x3875x11){_0x3875x11[_0xf0d0[39]]=_0x3875x8[_0xf0d0[22]][_0xf0d0[21]]});return ToolsCondition[_0xf0d0[37]](_0x3875x8[_0xf0d0[25]].All,{transaction:_0x3875xf})};return})[_0xf0d0[13]](function(){if(_0x3875x8[_0xf0d0[25]][_0xf0d0[28]]){return ToolsAction[_0xf0d0[38]]({where:{TriggerId:_0x3875x8[_0xf0d0[22]][_0xf0d0[21]]},transaction:_0x3875xf})};return})[_0xf0d0[13]](function(){if(_0x3875x8[_0xf0d0[25]][_0xf0d0[28]]&&Array[_0xf0d0[33]](_0x3875x8[_0xf0d0[25]].Actions)&&_0x3875x8[_0xf0d0[25]][_0xf0d0[28]][_0xf0d0[34]]){_[_0xf0d0[36]](_0x3875x8[_0xf0d0[25]].Actions,function(_0x3875x11){_0x3875x11[_0xf0d0[35]]=_0x3875x8[_0xf0d0[22]][_0xf0d0[21]]});return ToolsAction[_0xf0d0[37]](_0x3875x8[_0xf0d0[25]].Actions,{transaction:_0x3875xf})};return})[_0xf0d0[13]](function(){var _0x3875x10=_[_0xf0d0[31]](_0x3875xe,_0x3875x8[_0xf0d0[25]]);return _0x3875x10[_0xf0d0[32]]({transaction:_0x3875xf})})})[_0xf0d0[13]](function(){return _0x3875x9[_0xf0d0[20]](200)})[_0xf0d0[10]](function(_0x3875xb){console[_0xf0d0[30]](_0x3875xb);return handleError(_0x3875x9,_0x3875xb)})};exports[_0xf0d0[38]]=function(_0x3875x8,_0x3875x9){return Trigger[_0xf0d0[23]](_0x3875x8[_0xf0d0[22]][_0xf0d0[21]])[_0xf0d0[13]](function(Trigger){if(!Trigger){return _0x3875x9[_0xf0d0[20]](404)};Trigger[_0xf0d0[38]]()[_0xf0d0[13]](function(){return _0x3875x9[_0xf0d0[20]](204)})[_0xf0d0[10]](function(_0x3875xb){return handleError(_0x3875x9,_0x3875xb)})})[_0xf0d0[10]](function(_0x3875xb){return handleError(_0x3875x9,_0x3875xb)})};exports[_0xf0d0[42]]=function(_0x3875x8,_0x3875x9){return Trigger[_0xf0d0[38]]({where:{id:_0x3875x8[_0xf0d0[14]][_0xf0d0[43]]},individualHooks:true})[_0xf0d0[13]](function(){return _0x3875x9[_0xf0d0[20]](204)})[_0xf0d0[10]](function(_0x3875xb){return handleError(_0x3875x9,_0x3875xb)})};function handleError(_0x3875x9,_0x3875xb){return _0x3875x9[_0xf0d0[12]](500)[_0xf0d0[11]](_0x3875xb)} \ No newline at end of file diff --git a/server/api/trigger/trigger.socket.js b/server/api/trigger/trigger.socket.js index 6f57625..708b431 100644 --- a/server/api/trigger/trigger.socket.js +++ b/server/api/trigger/trigger.socket.js @@ -1 +1 @@ -var _0x298d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x54\x72\x69\x67\x67\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x74\x72\x69\x67\x67\x65\x72\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x74\x72\x69\x67\x67\x65\x72\x3A\x72\x65\x6D\x6F\x76\x65"];_0x298d[0];var Trigger=require(_0x298d[2])[_0x298d[1]];exports[_0x298d[3]]=function(_0xe35dx2){Trigger[_0x298d[4]](function(_0xe35dx3){onSave(_0xe35dx2,_0xe35dx3)});Trigger[_0x298d[5]](function(_0xe35dx3){onRemove(_0xe35dx2,_0xe35dx3)})};function onSave(_0xe35dx2,_0xe35dx3,_0xe35dx5){_0xe35dx2[_0x298d[7]](_0x298d[6],_0xe35dx3)}function onRemove(_0xe35dx2,_0xe35dx3,_0xe35dx5){_0xe35dx2[_0x298d[7]](_0x298d[8],_0xe35dx3)} \ No newline at end of file +var _0x8a99=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x54\x72\x69\x67\x67\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x74\x72\x69\x67\x67\x65\x72\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x74\x72\x69\x67\x67\x65\x72\x3A\x72\x65\x6D\x6F\x76\x65"];_0x8a99[0];var Trigger=require(_0x8a99[2])[_0x8a99[1]];exports[_0x8a99[3]]=function(_0x8ce4x2){Trigger[_0x8a99[4]](function(_0x8ce4x3){onSave(_0x8ce4x2,_0x8ce4x3)});Trigger[_0x8a99[5]](function(_0x8ce4x3){onRemove(_0x8ce4x2,_0x8ce4x3)})};function onSave(_0x8ce4x2,_0x8ce4x3,_0x8ce4x5){_0x8ce4x2[_0x8a99[7]](_0x8a99[6],_0x8ce4x3)}function onRemove(_0x8ce4x2,_0x8ce4x3,_0x8ce4x5){_0x8ce4x2[_0x8a99[7]](_0x8a99[8],_0x8ce4x3)} \ No newline at end of file diff --git a/server/api/trunk/index.js b/server/api/trunk/index.js index b3eda30..134990e 100644 --- a/server/api/trunk/index.js +++ b/server/api/trunk/index.js @@ -1 +1 @@ -var _0xd17a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x74\x72\x75\x6E\x6B\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0xd17a[0];var express=require(_0xd17a[1]);var controller=require(_0xd17a[2]);var config=require(_0xd17a[3]);var auth=require(_0xd17a[4]);var router=express.Router();router[_0xd17a[10]](_0xd17a[5],auth[_0xd17a[6]](),auth[_0xd17a[8]]([13,7,10],[_0xd17a[7]]),controller[_0xd17a[9]]);router[_0xd17a[10]](_0xd17a[11],auth[_0xd17a[6]](),auth[_0xd17a[8]]([13],[_0xd17a[7]]),controller[_0xd17a[12]]);router[_0xd17a[14]](_0xd17a[5],auth[_0xd17a[6]](),auth[_0xd17a[8]]([13],[_0xd17a[7]]),controller[_0xd17a[13]]);router[_0xd17a[16]](_0xd17a[11],auth[_0xd17a[6]](),auth[_0xd17a[8]]([13],[_0xd17a[7]]),controller[_0xd17a[15]]);router[_0xd17a[18]](_0xd17a[5],auth[_0xd17a[6]](),auth[_0xd17a[8]]([13],[_0xd17a[7]]),controller[_0xd17a[17]]);router[_0xd17a[18]](_0xd17a[11],auth[_0xd17a[6]](),auth[_0xd17a[8]]([13],[_0xd17a[7]]),controller[_0xd17a[19]]);module[_0xd17a[20]]=router \ No newline at end of file +var _0x535d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x74\x72\x75\x6E\x6B\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x535d[0];var express=require(_0x535d[1]);var controller=require(_0x535d[2]);var config=require(_0x535d[3]);var auth=require(_0x535d[4]);var router=express.Router();router[_0x535d[10]](_0x535d[5],auth[_0x535d[6]](),auth[_0x535d[8]]([13,7,10],[_0x535d[7]]),controller[_0x535d[9]]);router[_0x535d[10]](_0x535d[11],auth[_0x535d[6]](),auth[_0x535d[8]]([13],[_0x535d[7]]),controller[_0x535d[12]]);router[_0x535d[14]](_0x535d[5],auth[_0x535d[6]](),auth[_0x535d[8]]([13],[_0x535d[7]]),controller[_0x535d[13]]);router[_0x535d[16]](_0x535d[11],auth[_0x535d[6]](),auth[_0x535d[8]]([13],[_0x535d[7]]),controller[_0x535d[15]]);router[_0x535d[18]](_0x535d[5],auth[_0x535d[6]](),auth[_0x535d[8]]([13],[_0x535d[7]]),controller[_0x535d[17]]);router[_0x535d[18]](_0x535d[11],auth[_0x535d[6]](),auth[_0x535d[8]]([13],[_0x535d[7]]),controller[_0x535d[19]]);module[_0x535d[20]]=router \ No newline at end of file diff --git a/server/api/trunk/trunk.controller.js b/server/api/trunk/trunk.controller.js index bbca898..c7c5536 100644 --- a/server/api/trunk/trunk.controller.js +++ b/server/api/trunk/trunk.controller.js @@ -1 +1 @@ -var _0x35d3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x54\x72\x75\x6E\x6B","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x74\x72\x75\x6E\x6B\x20\x75\x70\x64\x61\x74\x65\x20\x65\x72\x72\x6F\x72","\x6C\x6F\x67","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0x35d3[0];var _=require(_0x35d3[1]);var Trunk=require(_0x35d3[3])[_0x35d3[2]];var VoiceExtension=require(_0x35d3[3])[_0x35d3[4]];var sequelize=require(_0x35d3[3])[_0x35d3[5]];var util=require(_0x35d3[6]);var Util=require(_0x35d3[7]);exports[_0x35d3[8]]=function(_0xfedfx7,_0xfedfx8,_0xfedfx9){return Trunk[_0x35d3[15]](Util[_0x35d3[14]](_0xfedfx7[_0x35d3[13]]))[_0x35d3[12]](function(_0xfedfxb){_0xfedfx8[_0x35d3[11]](200)[_0x35d3[10]](_0xfedfxb)})[_0x35d3[9]](function(_0xfedfxa){return handleError(_0xfedfx8,_0xfedfxa)})};exports[_0x35d3[16]]=function(_0xfedfx7,_0xfedfx8){return Trunk[_0x35d3[20]](_0xfedfx7[_0x35d3[19]][_0x35d3[18]])[_0x35d3[12]](function(_0xfedfxc){if(!_0xfedfxc){return _0xfedfx8[_0x35d3[17]](404)};return _0xfedfx8[_0x35d3[10]](_0xfedfxc)})[_0x35d3[9]](function(_0xfedfxa){return handleError(_0xfedfx8,_0xfedfxa)})};exports[_0x35d3[21]]=function(_0xfedfx7,_0xfedfx8){return Trunk[_0x35d3[21]](_0xfedfx7[_0x35d3[22]])[_0x35d3[12]](function(_0xfedfxc){return _0xfedfx8[_0x35d3[11]](201)[_0x35d3[10]](_0xfedfxc)})[_0x35d3[9]](function(_0xfedfxa){return handleError(_0xfedfx8,_0xfedfxa)})};exports[_0x35d3[23]]=function(_0xfedfx7,_0xfedfx8){if(_0xfedfx7[_0x35d3[22]][_0x35d3[18]]){delete _0xfedfx7[_0x35d3[22]][_0x35d3[18]]};return Trunk[_0x35d3[20]](_0xfedfx7[_0x35d3[19]][_0x35d3[18]])[_0x35d3[12]](function(_0xfedfxc){if(!_0xfedfxc){return _0xfedfx8[_0x35d3[17]](404)};var _0xfedfxd=_[_0x35d3[26]](_0xfedfxc,_0xfedfx7[_0x35d3[22]]);return _0xfedfxd[_0x35d3[27]]()})[_0x35d3[12]](function(_0xfedfxc){return _0xfedfx8[_0x35d3[11]](200)[_0x35d3[10]](_0xfedfxc)})[_0x35d3[9]](function(_0xfedfxa){console[_0x35d3[25]](_0x35d3[24],_0xfedfxa);return handleError(_0xfedfx8,_0xfedfxa)})};exports[_0x35d3[28]]=function(_0xfedfx7,_0xfedfx8){return Trunk[_0x35d3[20]](_0xfedfx7[_0x35d3[19]][_0x35d3[18]])[_0x35d3[12]](function(_0xfedfxc){if(!_0xfedfxc){return _0xfedfx8[_0x35d3[17]](404)};return _0xfedfxc[_0x35d3[28]]()})[_0x35d3[12]](function(){return _0xfedfx8[_0x35d3[17]](204)})[_0x35d3[9]](function(_0xfedfxa){return handleError(_0xfedfx8,_0xfedfxa)})};exports[_0x35d3[29]]=function(_0xfedfx7,_0xfedfx8){return Trunk[_0x35d3[28]]({where:{id:_0xfedfx7[_0x35d3[13]][_0x35d3[30]]},individualHooks:true})[_0x35d3[12]](function(){return _0xfedfx8[_0x35d3[17]](204)})[_0x35d3[9]](function(_0xfedfxa){return handleError(_0xfedfx8,_0xfedfxa)})};function handleError(_0xfedfx8,_0xfedfxa){return _0xfedfx8[_0x35d3[11]](500)[_0x35d3[10]](_0xfedfxa)} \ No newline at end of file +var _0xf366=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x54\x72\x75\x6E\x6B","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x74\x72\x75\x6E\x6B\x20\x75\x70\x64\x61\x74\x65\x20\x65\x72\x72\x6F\x72","\x6C\x6F\x67","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0xf366[0];var _=require(_0xf366[1]);var Trunk=require(_0xf366[3])[_0xf366[2]];var VoiceExtension=require(_0xf366[3])[_0xf366[4]];var sequelize=require(_0xf366[3])[_0xf366[5]];var util=require(_0xf366[6]);var Util=require(_0xf366[7]);exports[_0xf366[8]]=function(_0x4214x7,_0x4214x8,_0x4214x9){return Trunk[_0xf366[15]](Util[_0xf366[14]](_0x4214x7[_0xf366[13]]))[_0xf366[12]](function(_0x4214xb){_0x4214x8[_0xf366[11]](200)[_0xf366[10]](_0x4214xb)})[_0xf366[9]](function(_0x4214xa){return handleError(_0x4214x8,_0x4214xa)})};exports[_0xf366[16]]=function(_0x4214x7,_0x4214x8){return Trunk[_0xf366[20]](_0x4214x7[_0xf366[19]][_0xf366[18]])[_0xf366[12]](function(_0x4214xc){if(!_0x4214xc){return _0x4214x8[_0xf366[17]](404)};return _0x4214x8[_0xf366[10]](_0x4214xc)})[_0xf366[9]](function(_0x4214xa){return handleError(_0x4214x8,_0x4214xa)})};exports[_0xf366[21]]=function(_0x4214x7,_0x4214x8){return Trunk[_0xf366[21]](_0x4214x7[_0xf366[22]])[_0xf366[12]](function(_0x4214xc){return _0x4214x8[_0xf366[11]](201)[_0xf366[10]](_0x4214xc)})[_0xf366[9]](function(_0x4214xa){return handleError(_0x4214x8,_0x4214xa)})};exports[_0xf366[23]]=function(_0x4214x7,_0x4214x8){if(_0x4214x7[_0xf366[22]][_0xf366[18]]){delete _0x4214x7[_0xf366[22]][_0xf366[18]]};return Trunk[_0xf366[20]](_0x4214x7[_0xf366[19]][_0xf366[18]])[_0xf366[12]](function(_0x4214xc){if(!_0x4214xc){return _0x4214x8[_0xf366[17]](404)};var _0x4214xd=_[_0xf366[26]](_0x4214xc,_0x4214x7[_0xf366[22]]);return _0x4214xd[_0xf366[27]]()})[_0xf366[12]](function(_0x4214xc){return _0x4214x8[_0xf366[11]](200)[_0xf366[10]](_0x4214xc)})[_0xf366[9]](function(_0x4214xa){console[_0xf366[25]](_0xf366[24],_0x4214xa);return handleError(_0x4214x8,_0x4214xa)})};exports[_0xf366[28]]=function(_0x4214x7,_0x4214x8){return Trunk[_0xf366[20]](_0x4214x7[_0xf366[19]][_0xf366[18]])[_0xf366[12]](function(_0x4214xc){if(!_0x4214xc){return _0x4214x8[_0xf366[17]](404)};return _0x4214xc[_0xf366[28]]()})[_0xf366[12]](function(){return _0x4214x8[_0xf366[17]](204)})[_0xf366[9]](function(_0x4214xa){return handleError(_0x4214x8,_0x4214xa)})};exports[_0xf366[29]]=function(_0x4214x7,_0x4214x8){return Trunk[_0xf366[28]]({where:{id:_0x4214x7[_0xf366[13]][_0xf366[30]]},individualHooks:true})[_0xf366[12]](function(){return _0x4214x8[_0xf366[17]](204)})[_0xf366[9]](function(_0x4214xa){return handleError(_0x4214x8,_0x4214xa)})};function handleError(_0x4214x8,_0x4214xa){return _0x4214x8[_0xf366[11]](500)[_0xf366[10]](_0x4214xa)} \ No newline at end of file diff --git a/server/api/trunk/trunk.socket.js b/server/api/trunk/trunk.socket.js index 602dd13..12c3fcc 100644 --- a/server/api/trunk/trunk.socket.js +++ b/server/api/trunk/trunk.socket.js @@ -1 +1 @@ -var _0x6804=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x54\x72\x75\x6E\x6B","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x73\x74\x61\x74\x75\x73","\x63\x68\x61\x6E\x67\x65\x64","\x70\x65\x65\x72\x73\x74\x61\x74\x75\x73","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6E\x61\x6D\x65","\x59\x6F\x75\x20\x63\x61\x6E\x27\x74\x20\x6D\x6F\x64\x69\x66\x79\x20\x61\x20\x74\x72\x75\x6E\x6B\x20\x6E\x61\x6D\x65","\x62\x65\x66\x6F\x72\x65\x55\x70\x64\x61\x74\x65","\x74\x72\x75\x6E\x6B\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x72\x6F\x6C\x65","\x61\x67\x65\x6E\x74","\x74\x72\x75\x6E\x6B\x3A\x75\x70\x64\x61\x74\x65","\x74\x72\x75\x6E\x6B\x3A\x72\x65\x6D\x6F\x76\x65"];_0x6804[0];var Trunk=require(_0x6804[2])[_0x6804[1]];exports[_0x6804[3]]=function(_0xec21x2){Trunk[_0x6804[4]](function(_0xec21x3){onSave(_0xec21x2,_0xec21x3)});Trunk[_0x6804[8]](function(_0xec21x3){if(_0xec21x3[_0x6804[6]](_0x6804[5])||_0xec21x3[_0x6804[6]](_0x6804[7])){onUpdate(_0xec21x2,_0xec21x3)}});Trunk[_0x6804[9]](function(_0xec21x3){onRemove(_0xec21x2,_0xec21x3)});Trunk[_0x6804[12]](function(_0xec21x3){if(_0xec21x3[_0x6804[6]](_0x6804[10])){throw new Error(_0x6804[11])}})};function onSave(_0xec21x2,_0xec21x3,_0xec21x5){_0xec21x2[_0x6804[14]](_0x6804[13],_0xec21x3)}function onUpdate(_0xec21x2,_0xec21x3,_0xec21x5){if(_0xec21x2[_0x6804[15]]!==_0x6804[16]){_0xec21x2[_0x6804[14]](_0x6804[17],_0xec21x3)}}function onRemove(_0xec21x2,_0xec21x3,_0xec21x5){_0xec21x2[_0x6804[14]](_0x6804[18],_0xec21x3)} \ No newline at end of file +var _0xb15d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x54\x72\x75\x6E\x6B","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x73\x74\x61\x74\x75\x73","\x63\x68\x61\x6E\x67\x65\x64","\x70\x65\x65\x72\x73\x74\x61\x74\x75\x73","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6E\x61\x6D\x65","\x59\x6F\x75\x20\x63\x61\x6E\x27\x74\x20\x6D\x6F\x64\x69\x66\x79\x20\x61\x20\x74\x72\x75\x6E\x6B\x20\x6E\x61\x6D\x65","\x62\x65\x66\x6F\x72\x65\x55\x70\x64\x61\x74\x65","\x74\x72\x75\x6E\x6B\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x72\x6F\x6C\x65","\x61\x67\x65\x6E\x74","\x74\x72\x75\x6E\x6B\x3A\x75\x70\x64\x61\x74\x65","\x74\x72\x75\x6E\x6B\x3A\x72\x65\x6D\x6F\x76\x65"];_0xb15d[0];var Trunk=require(_0xb15d[2])[_0xb15d[1]];exports[_0xb15d[3]]=function(_0x6df9x2){Trunk[_0xb15d[4]](function(_0x6df9x3){onSave(_0x6df9x2,_0x6df9x3)});Trunk[_0xb15d[8]](function(_0x6df9x3){if(_0x6df9x3[_0xb15d[6]](_0xb15d[5])||_0x6df9x3[_0xb15d[6]](_0xb15d[7])){onUpdate(_0x6df9x2,_0x6df9x3)}});Trunk[_0xb15d[9]](function(_0x6df9x3){onRemove(_0x6df9x2,_0x6df9x3)});Trunk[_0xb15d[12]](function(_0x6df9x3){if(_0x6df9x3[_0xb15d[6]](_0xb15d[10])){throw new Error(_0xb15d[11])}})};function onSave(_0x6df9x2,_0x6df9x3,_0x6df9x5){_0x6df9x2[_0xb15d[14]](_0xb15d[13],_0x6df9x3)}function onUpdate(_0x6df9x2,_0x6df9x3,_0x6df9x5){if(_0x6df9x2[_0xb15d[15]]!==_0xb15d[16]){_0x6df9x2[_0xb15d[14]](_0xb15d[17],_0x6df9x3)}}function onRemove(_0x6df9x2,_0x6df9x3,_0x6df9x5){_0x6df9x2[_0xb15d[14]](_0xb15d[18],_0x6df9x3)} \ No newline at end of file diff --git a/server/api/update/index.js b/server/api/update/index.js index d2a0243..7208785 100644 --- a/server/api/update/index.js +++ b/server/api/update/index.js @@ -1 +1 @@ -var _0xc95e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x75\x70\x64\x61\x74\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x52\x6F\x6C\x65","\x68\x61\x73\x55\x70\x64\x61\x74\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x70\x75\x6C\x6C","\x70\x75\x6C\x6C","\x65\x78\x70\x6F\x72\x74\x73"];_0xc95e[0];var express=require(_0xc95e[1]);var controller=require(_0xc95e[2]);var auth=require(_0xc95e[3]);var license=require(_0xc95e[4]);var router=express.Router();router[_0xc95e[11]](_0xc95e[5],auth[_0xc95e[6]](),auth[_0xc95e[8]](_0xc95e[7]),license[_0xc95e[9]](),controller[_0xc95e[10]]);router[_0xc95e[11]](_0xc95e[12],auth[_0xc95e[6]](),auth[_0xc95e[8]](_0xc95e[7]),license[_0xc95e[9]](),controller[_0xc95e[13]]);module[_0xc95e[14]]=router \ No newline at end of file +var _0x1fe6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x75\x70\x64\x61\x74\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x52\x6F\x6C\x65","\x68\x61\x73\x55\x70\x64\x61\x74\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x70\x75\x6C\x6C","\x70\x75\x6C\x6C","\x65\x78\x70\x6F\x72\x74\x73"];_0x1fe6[0];var express=require(_0x1fe6[1]);var controller=require(_0x1fe6[2]);var auth=require(_0x1fe6[3]);var license=require(_0x1fe6[4]);var router=express.Router();router[_0x1fe6[11]](_0x1fe6[5],auth[_0x1fe6[6]](),auth[_0x1fe6[8]](_0x1fe6[7]),license[_0x1fe6[9]](),controller[_0x1fe6[10]]);router[_0x1fe6[11]](_0x1fe6[12],auth[_0x1fe6[6]](),auth[_0x1fe6[8]](_0x1fe6[7]),license[_0x1fe6[9]](),controller[_0x1fe6[13]]);module[_0x1fe6[14]]=router \ No newline at end of file diff --git a/server/api/update/update.controller.js b/server/api/update/update.controller.js index 42888ef..8aa9dd8 100644 --- a/server/api/update/update.controller.js +++ b/server/api/update/update.controller.js @@ -1 +1 @@ -var _0x7eeb=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x70\x61\x74\x68","\x6D\x6F\x6D\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x72\x6F\x6F\x74","\x6A\x6F\x69\x6E","\x73\x69\x6D\x70\x6C\x65\x2D\x67\x69\x74","\x69\x6E\x64\x65\x78","\x6C\x65\x6E\x67\x74\x68","\x61\x6C\x6C","\x7C","\x73\x70\x6C\x69\x74","\x6D\x65\x73\x73\x61\x67\x65","\x75\x6E\x6B\x6E\x6F\x77\x6E","\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","\x64\x61\x74\x65","\x70\x75\x73\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6C\x6F\x67","\x70\x75\x6C\x6C","\x6F\x72\x69\x67\x69\x6E","\x6D\x61\x73\x74\x65\x72","\x65\x72\x72","\x65\x72\x72\x6F\x72","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73"];_0x7eeb[0];var _=require(_0x7eeb[1]);var path=require(_0x7eeb[2]);var moment=require(_0x7eeb[3]);var config=require(_0x7eeb[4]);var Git=require(_0x7eeb[7])(path[_0x7eeb[6]](config[_0x7eeb[5]]));exports[_0x7eeb[8]]=function(_0x88d5x6,_0x88d5x7){return Git[_0x7eeb[21]](function(_0x88d5x8,_0x88d5x9){if(_0x88d5x8){return handleError(_0x88d5x7,_0x88d5x8)};var _0x88d5xa=[];for(var _0x88d5xb=0;_0x88d5xb<10&&_0x88d5xb<_0x88d5x9[_0x7eeb[10]][_0x7eeb[9]];_0x88d5xb++){_0x88d5xa[_0x7eeb[18]]({version:_0x88d5x9[_0x7eeb[10]][_0x88d5xb][_0x7eeb[13]][_0x7eeb[12]](_0x7eeb[11])[1]||_0x7eeb[14],message:_0x88d5x9[_0x7eeb[10]][_0x88d5xb][_0x7eeb[13]][_0x7eeb[12]](_0x7eeb[11])[0],createdAt:moment(_0x88d5x9[_0x7eeb[10]][_0x88d5xb][_0x7eeb[17]])[_0x7eeb[16]](_0x7eeb[15])})};return _0x88d5x7[_0x7eeb[20]](200)[_0x7eeb[19]]({rows:_0x88d5xa,count:_0x88d5xa[_0x7eeb[9]]})})};exports[_0x7eeb[22]]=function(_0x88d5x6,_0x88d5x7){Git[_0x7eeb[22]](_0x7eeb[23],_0x7eeb[24],function(_0x88d5x8,_0x88d5xc){if(_0x88d5x8){console[_0x7eeb[26]](_0x7eeb[25],_0x88d5x8)}});return _0x88d5x7[_0x7eeb[27]](200)[_0x7eeb[19]]()};function handleError(_0x88d5x7,_0x88d5x8){return _0x88d5x7[_0x7eeb[20]](500)[_0x7eeb[19]](_0x88d5x8)} \ No newline at end of file +var _0x931f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x70\x61\x74\x68","\x6D\x6F\x6D\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x72\x6F\x6F\x74","\x6A\x6F\x69\x6E","\x73\x69\x6D\x70\x6C\x65\x2D\x67\x69\x74","\x69\x6E\x64\x65\x78","\x6C\x65\x6E\x67\x74\x68","\x61\x6C\x6C","\x7C","\x73\x70\x6C\x69\x74","\x6D\x65\x73\x73\x61\x67\x65","\x75\x6E\x6B\x6E\x6F\x77\x6E","\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","\x64\x61\x74\x65","\x70\x75\x73\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6C\x6F\x67","\x70\x75\x6C\x6C","\x6F\x72\x69\x67\x69\x6E","\x6D\x61\x73\x74\x65\x72","\x65\x72\x72","\x65\x72\x72\x6F\x72","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73"];_0x931f[0];var _=require(_0x931f[1]);var path=require(_0x931f[2]);var moment=require(_0x931f[3]);var config=require(_0x931f[4]);var Git=require(_0x931f[7])(path[_0x931f[6]](config[_0x931f[5]]));exports[_0x931f[8]]=function(_0xee8dx6,_0xee8dx7){return Git[_0x931f[21]](function(_0xee8dx8,_0xee8dx9){if(_0xee8dx8){return handleError(_0xee8dx7,_0xee8dx8)};var _0xee8dxa=[];for(var _0xee8dxb=0;_0xee8dxb<10&&_0xee8dxb<_0xee8dx9[_0x931f[10]][_0x931f[9]];_0xee8dxb++){_0xee8dxa[_0x931f[18]]({version:_0xee8dx9[_0x931f[10]][_0xee8dxb][_0x931f[13]][_0x931f[12]](_0x931f[11])[1]||_0x931f[14],message:_0xee8dx9[_0x931f[10]][_0xee8dxb][_0x931f[13]][_0x931f[12]](_0x931f[11])[0],createdAt:moment(_0xee8dx9[_0x931f[10]][_0xee8dxb][_0x931f[17]])[_0x931f[16]](_0x931f[15])})};return _0xee8dx7[_0x931f[20]](200)[_0x931f[19]]({rows:_0xee8dxa,count:_0xee8dxa[_0x931f[9]]})})};exports[_0x931f[22]]=function(_0xee8dx6,_0xee8dx7){Git[_0x931f[22]](_0x931f[23],_0x931f[24],function(_0xee8dx8,_0xee8dxc){if(_0xee8dx8){console[_0x931f[26]](_0x931f[25],_0xee8dx8)}});return _0xee8dx7[_0x931f[27]](200)[_0x931f[19]]()};function handleError(_0xee8dx7,_0xee8dx8){return _0xee8dx7[_0x931f[20]](500)[_0x931f[19]](_0xee8dx8)} \ No newline at end of file diff --git a/server/api/user/index.js b/server/api/user/index.js index 5a79309..69781e2 100644 --- a/server/api/user/index.js +++ b/server/api/user/index.js @@ -1 +1 @@ -var _0xc2d6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x75\x73\x65\x72\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x75\x73\x65\x72","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x6D\x65","\x6D\x65","\x2F\x61\x6C\x6C","\x67\x65\x74\x55\x73\x65\x72\x73","\x2F\x61\x76\x61\x74\x61\x72\x2F\x3A\x66\x69\x6C\x65\x6E\x61\x6D\x65","\x67\x65\x74\x41\x76\x61\x74\x61\x72","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x61\x76\x61\x74\x61\x72","\x67\x65\x74\x41\x76\x61\x74\x61\x72\x42\x79\x49\x64","\x2F\x3A\x69\x64\x2F\x61\x6C\x6C\x6F\x77\x65\x64\x2F\x6D\x6F\x64\x75\x6C\x65\x73","\x68\x61\x73\x52\x6F\x6C\x65","\x67\x65\x74\x41\x6C\x6C\x6F\x77\x65\x64\x4D\x6F\x64\x75\x6C\x65\x73","\x2F\x3A\x69\x64\x2F\x61\x6C\x6C\x6F\x77\x65\x64\x2F\x3A\x63\x68\x61\x6E\x6E\x65\x6C\x2F\x71\x75\x65\x75\x65\x73","\x67\x65\x74\x41\x6C\x6C\x6F\x77\x65\x64\x51\x75\x65\x75\x65\x73","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x69\x73\x55\x73\x65\x72\x73\x4C\x69\x6D\x69\x74","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x73\x65\x74\x41\x6C\x6C\x6F\x77\x65\x64\x4D\x6F\x64\x75\x6C\x65\x73","\x61\x64\x64\x41\x6C\x6C\x6F\x77\x65\x64\x51\x75\x65\x75\x65\x73","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x72\x65\x6D\x6F\x76\x65\x41\x6C\x6C\x6F\x77\x65\x64\x51\x75\x65\x75\x65\x73","\x2F\x70\x61\x73\x73\x77\x6F\x72\x64","\x63\x68\x61\x6E\x67\x65\x50\x61\x73\x73\x77\x6F\x72\x64","\x2F\x3A\x69\x64\x2F\x70\x61\x73\x73\x77\x6F\x72\x64","\x72\x65\x73\x65\x74\x50\x61\x73\x73\x77\x6F\x72\x64","\x2F\x76\x61\x6C\x69\x64\x61\x74\x65\x2F\x3A\x66\x69\x65\x6C\x64","\x75\x73\x65\x72\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x63\x68\x61\x6E\x67\x65\x41\x76\x61\x74\x61\x72","\x65\x78\x70\x6F\x72\x74\x73"];_0xc2d6[0];var express=require(_0xc2d6[1]);var controller=require(_0xc2d6[2]);var config=require(_0xc2d6[3]);var auth=require(_0xc2d6[4]);var license=require(_0xc2d6[5]);var router=express.Router();router[_0xc2d6[13]](_0xc2d6[6],auth[_0xc2d6[7]](),auth[_0xc2d6[11]]([7],[_0xc2d6[8],_0xc2d6[9],_0xc2d6[10]]),controller[_0xc2d6[12]]);router[_0xc2d6[13]](_0xc2d6[14],auth[_0xc2d6[7]](),controller[_0xc2d6[15]]);router[_0xc2d6[13]](_0xc2d6[16],auth[_0xc2d6[7]](),controller[_0xc2d6[17]]);router[_0xc2d6[13]](_0xc2d6[18],controller[_0xc2d6[19]]);router[_0xc2d6[13]](_0xc2d6[20],auth[_0xc2d6[7]](),auth[_0xc2d6[11]]([],[_0xc2d6[8],_0xc2d6[9]]),controller[_0xc2d6[21]]);router[_0xc2d6[13]](_0xc2d6[22],auth[_0xc2d6[7]](),controller[_0xc2d6[23]]);router[_0xc2d6[13]](_0xc2d6[24],auth[_0xc2d6[7]](),auth[_0xc2d6[25]](_0xc2d6[8]),controller[_0xc2d6[26]]);router[_0xc2d6[13]](_0xc2d6[27],auth[_0xc2d6[7]](),auth[_0xc2d6[25]](_0xc2d6[8]),controller[_0xc2d6[28]]);router[_0xc2d6[32]](_0xc2d6[6],auth[_0xc2d6[7]](),license[_0xc2d6[29]](),license[_0xc2d6[30]](),auth[_0xc2d6[25]](_0xc2d6[8]),controller[_0xc2d6[31]]);router[_0xc2d6[32]](_0xc2d6[24],auth[_0xc2d6[7]](),auth[_0xc2d6[25]](_0xc2d6[8]),controller[_0xc2d6[33]]);router[_0xc2d6[32]](_0xc2d6[27],auth[_0xc2d6[7]](),auth[_0xc2d6[25]](_0xc2d6[8]),controller[_0xc2d6[34]]);router[_0xc2d6[36]](_0xc2d6[20],auth[_0xc2d6[7]](),auth[_0xc2d6[11]]([],[_0xc2d6[8],_0xc2d6[9],_0xc2d6[10]]),controller[_0xc2d6[35]]);router[_0xc2d6[38]](_0xc2d6[6],auth[_0xc2d6[7]](),auth[_0xc2d6[25]](_0xc2d6[8]),controller[_0xc2d6[37]]);router[_0xc2d6[38]](_0xc2d6[20],auth[_0xc2d6[7]](),auth[_0xc2d6[25]](_0xc2d6[8]),controller[_0xc2d6[39]]);router[_0xc2d6[38]](_0xc2d6[27],auth[_0xc2d6[7]](),auth[_0xc2d6[25]](_0xc2d6[8]),controller[_0xc2d6[40]]);router[_0xc2d6[36]](_0xc2d6[41],auth[_0xc2d6[7]](),auth[_0xc2d6[25]](_0xc2d6[8]),controller[_0xc2d6[42]]);router[_0xc2d6[36]](_0xc2d6[43],auth[_0xc2d6[7]](),auth[_0xc2d6[25]](_0xc2d6[8]),controller[_0xc2d6[44]]);router[_0xc2d6[32]](_0xc2d6[45],auth[_0xc2d6[7]](),auth[_0xc2d6[25]](_0xc2d6[8]),controller[_0xc2d6[46]]);router[_0xc2d6[32]](_0xc2d6[22],auth[_0xc2d6[7]](),auth[_0xc2d6[25]](_0xc2d6[8]),controller[_0xc2d6[47]]);module[_0xc2d6[48]]=router \ No newline at end of file +var _0x3a5e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x75\x73\x65\x72\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x75\x73\x65\x72","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x6D\x65","\x6D\x65","\x2F\x61\x6C\x6C","\x67\x65\x74\x55\x73\x65\x72\x73","\x2F\x61\x76\x61\x74\x61\x72\x2F\x3A\x66\x69\x6C\x65\x6E\x61\x6D\x65","\x67\x65\x74\x41\x76\x61\x74\x61\x72","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x61\x76\x61\x74\x61\x72","\x67\x65\x74\x41\x76\x61\x74\x61\x72\x42\x79\x49\x64","\x2F\x3A\x69\x64\x2F\x61\x6C\x6C\x6F\x77\x65\x64\x2F\x6D\x6F\x64\x75\x6C\x65\x73","\x68\x61\x73\x52\x6F\x6C\x65","\x67\x65\x74\x41\x6C\x6C\x6F\x77\x65\x64\x4D\x6F\x64\x75\x6C\x65\x73","\x2F\x3A\x69\x64\x2F\x61\x6C\x6C\x6F\x77\x65\x64\x2F\x3A\x63\x68\x61\x6E\x6E\x65\x6C\x2F\x71\x75\x65\x75\x65\x73","\x67\x65\x74\x41\x6C\x6C\x6F\x77\x65\x64\x51\x75\x65\x75\x65\x73","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x69\x73\x55\x73\x65\x72\x73\x4C\x69\x6D\x69\x74","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x73\x65\x74\x41\x6C\x6C\x6F\x77\x65\x64\x4D\x6F\x64\x75\x6C\x65\x73","\x61\x64\x64\x41\x6C\x6C\x6F\x77\x65\x64\x51\x75\x65\x75\x65\x73","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x72\x65\x6D\x6F\x76\x65\x41\x6C\x6C\x6F\x77\x65\x64\x51\x75\x65\x75\x65\x73","\x2F\x70\x61\x73\x73\x77\x6F\x72\x64","\x63\x68\x61\x6E\x67\x65\x50\x61\x73\x73\x77\x6F\x72\x64","\x2F\x3A\x69\x64\x2F\x70\x61\x73\x73\x77\x6F\x72\x64","\x72\x65\x73\x65\x74\x50\x61\x73\x73\x77\x6F\x72\x64","\x2F\x76\x61\x6C\x69\x64\x61\x74\x65\x2F\x3A\x66\x69\x65\x6C\x64","\x75\x73\x65\x72\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x63\x68\x61\x6E\x67\x65\x41\x76\x61\x74\x61\x72","\x65\x78\x70\x6F\x72\x74\x73"];_0x3a5e[0];var express=require(_0x3a5e[1]);var controller=require(_0x3a5e[2]);var config=require(_0x3a5e[3]);var auth=require(_0x3a5e[4]);var license=require(_0x3a5e[5]);var router=express.Router();router[_0x3a5e[13]](_0x3a5e[6],auth[_0x3a5e[7]](),auth[_0x3a5e[11]]([7],[_0x3a5e[8],_0x3a5e[9],_0x3a5e[10]]),controller[_0x3a5e[12]]);router[_0x3a5e[13]](_0x3a5e[14],auth[_0x3a5e[7]](),controller[_0x3a5e[15]]);router[_0x3a5e[13]](_0x3a5e[16],auth[_0x3a5e[7]](),controller[_0x3a5e[17]]);router[_0x3a5e[13]](_0x3a5e[18],controller[_0x3a5e[19]]);router[_0x3a5e[13]](_0x3a5e[20],auth[_0x3a5e[7]](),auth[_0x3a5e[11]]([],[_0x3a5e[8],_0x3a5e[9]]),controller[_0x3a5e[21]]);router[_0x3a5e[13]](_0x3a5e[22],auth[_0x3a5e[7]](),controller[_0x3a5e[23]]);router[_0x3a5e[13]](_0x3a5e[24],auth[_0x3a5e[7]](),auth[_0x3a5e[25]](_0x3a5e[8]),controller[_0x3a5e[26]]);router[_0x3a5e[13]](_0x3a5e[27],auth[_0x3a5e[7]](),auth[_0x3a5e[25]](_0x3a5e[8]),controller[_0x3a5e[28]]);router[_0x3a5e[32]](_0x3a5e[6],auth[_0x3a5e[7]](),license[_0x3a5e[29]](),license[_0x3a5e[30]](),auth[_0x3a5e[25]](_0x3a5e[8]),controller[_0x3a5e[31]]);router[_0x3a5e[32]](_0x3a5e[24],auth[_0x3a5e[7]](),auth[_0x3a5e[25]](_0x3a5e[8]),controller[_0x3a5e[33]]);router[_0x3a5e[32]](_0x3a5e[27],auth[_0x3a5e[7]](),auth[_0x3a5e[25]](_0x3a5e[8]),controller[_0x3a5e[34]]);router[_0x3a5e[36]](_0x3a5e[20],auth[_0x3a5e[7]](),auth[_0x3a5e[11]]([],[_0x3a5e[8],_0x3a5e[9],_0x3a5e[10]]),controller[_0x3a5e[35]]);router[_0x3a5e[38]](_0x3a5e[6],auth[_0x3a5e[7]](),auth[_0x3a5e[25]](_0x3a5e[8]),controller[_0x3a5e[37]]);router[_0x3a5e[38]](_0x3a5e[20],auth[_0x3a5e[7]](),auth[_0x3a5e[25]](_0x3a5e[8]),controller[_0x3a5e[39]]);router[_0x3a5e[38]](_0x3a5e[27],auth[_0x3a5e[7]](),auth[_0x3a5e[25]](_0x3a5e[8]),controller[_0x3a5e[40]]);router[_0x3a5e[36]](_0x3a5e[41],auth[_0x3a5e[7]](),auth[_0x3a5e[25]](_0x3a5e[8]),controller[_0x3a5e[42]]);router[_0x3a5e[36]](_0x3a5e[43],auth[_0x3a5e[7]](),auth[_0x3a5e[25]](_0x3a5e[8]),controller[_0x3a5e[44]]);router[_0x3a5e[32]](_0x3a5e[45],auth[_0x3a5e[7]](),auth[_0x3a5e[25]](_0x3a5e[8]),controller[_0x3a5e[46]]);router[_0x3a5e[32]](_0x3a5e[22],auth[_0x3a5e[7]](),auth[_0x3a5e[25]](_0x3a5e[8]),controller[_0x3a5e[47]]);module[_0x3a5e[48]]=router \ No newline at end of file diff --git a/server/api/user/user.controller.js b/server/api/user/user.controller.js index c374400..0371f5e 100644 --- a/server/api/user/user.controller.js +++ b/server/api/user/user.controller.js @@ -1 +1 @@ -var _0x9e9b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x6F\x64\x75\x6C\x65","\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x46\x61\x78\x51\x75\x65\x75\x65","\x53\x6D\x73\x51\x75\x65\x75\x65","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x70\x61\x73\x73\x70\x6F\x72\x74","\x6D\x6F\x6D\x65\x6E\x74","\x6A\x73\x6F\x6E\x77\x65\x62\x74\x6F\x6B\x65\x6E","\x75\x70\x6C\x6F\x61\x64\x2D\x66\x69\x6C\x65","\x70\x61\x74\x68","\x66\x73","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x73\x69\x6D\x70\x6C\x65\x2D\x72\x61\x6E\x64\x6F\x6D","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x75\x73\x65\x72","\x73\x63\x6F\x70\x65","\x67\x65\x74\x55\x73\x65\x72\x73","\x66\x69\x6E\x64\x41\x6C\x6C","\x67\x65\x74\x41\x6C\x6C\x6F\x77\x65\x64\x4D\x6F\x64\x75\x6C\x65\x73","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x67\x65\x74\x4D\x6F\x64\x75\x6C\x65\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x72\x6F\x6C\x65","\x62\x6F\x64\x79","\x68\x61\x6E\x64\x6C\x65\x55\x6E\x69\x71\x75\x65\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x45\x72\x72\x6F\x72","\x65\x72\x72\x6F\x72\x4D\x61\x6E\x61\x67\x65\x72","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x73\x65\x74\x41\x6C\x6C\x6F\x77\x65\x64\x4D\x6F\x64\x75\x6C\x65\x73","\x6C\x6F\x67","\x6D\x6F\x64\x75\x6C\x65\x73","\x73\x65\x74\x4D\x6F\x64\x75\x6C\x65\x73","\x73\x68\x6F\x77","\x64\x65\x73\x74\x72\x6F\x79","\x6E\x61\x6D\x65","\x68\x61\x6E\x64\x6C\x65\x46\x6F\x72\x65\x69\x67\x6E\x4B\x65\x79\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x45\x72\x72\x6F\x72","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x63\x68\x61\x6E\x67\x65\x50\x61\x73\x73\x77\x6F\x72\x64","\x6F\x6C\x64\x50\x61\x73\x73\x77\x6F\x72\x64","\x6E\x65\x77\x50\x61\x73\x73\x77\x6F\x72\x64","\x61\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65","\x70\x61\x73\x73\x77\x6F\x72\x64","\x73\x61\x76\x65","\x72\x65\x73\x65\x74\x50\x61\x73\x73\x77\x6F\x72\x64","\x63\x68\x61\x6E\x67\x65\x41\x76\x61\x74\x61\x72","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72","\x66\x69\x6C\x65\x73","\x69\x6D\x61\x67\x65\x73","\x6A\x6F\x69\x6E","\x66\x69\x6C\x65\x6E\x61\x6D\x65","\x65\x78\x74\x6E\x61\x6D\x65","\x4D\x61\x78\x20\x6E\x75\x6D\x62\x65\x72\x20\x6F\x66\x20\x66\x69\x6C\x65\x73\x20\x75\x70\x6C\x6F\x61\x64\x20\x65\x78\x63\x65\x65\x64\x65\x64","\x4F\x6E\x6C\x79\x20\x6A\x70\x65\x67\x20\x61\x6E\x64\x20\x70\x6E\x67\x20\x66\x6F\x72\x6D\x61\x74\x20\x61\x63\x63\x65\x70\x74\x65\x64","\x49\x6E\x76\x61\x6C\x69\x64\x20\x72\x65\x71\x75\x65\x73\x74","\x65\x6E\x64","\x66\x69\x6C\x65","\x75\x70\x64\x61\x74\x65","\x6F\x6E","\x65\x72\x72\x6F\x72","\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x20\x55\x70\x6C\x6F\x61\x64\x20\x65\x72\x72\x6F\x72\x20\x3A","\x70\x61\x72\x73\x65","\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x75\x73\x65\x72\x70\x69\x63","\x6C\x61\x73\x74\x4C\x6F\x67\x69\x6E\x41\x74","\x76\x6F\x69\x63\x65\x50\x61\x75\x73\x65","\x6D\x61\x69\x6C\x50\x61\x75\x73\x65","\x63\x68\x61\x74\x50\x61\x75\x73\x65","\x66\x61\x78\x50\x61\x75\x73\x65","\x73\x6D\x73\x50\x61\x75\x73\x65","\x6C\x61\x73\x74\x50\x61\x75\x73\x65\x41\x74","\x70\x61\x75\x73\x65\x54\x79\x70\x65","\x50\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73","\x50\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73","\x50\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73","\x50\x46\x61\x78\x51\x75\x65\x75\x65\x73","\x50\x53\x6D\x73\x51\x75\x65\x75\x65\x73","\x66\x69\x6E\x64\x4F\x6E\x65","\x67\x65\x74\x41\x76\x61\x74\x61\x72","\x75\x73\x65\x72\x70\x69\x63\x2E\x70\x6E\x67","\x73\x65\x6E\x64\x46\x69\x6C\x65","\x65\x78\x69\x73\x74\x73","\x67\x65\x74\x41\x76\x61\x74\x61\x72\x42\x79\x49\x64","\x76\x69\x73\x69\x74\x6F\x72","\x63\x75\x73\x74\x6F\x6D\x65\x72\x2E\x70\x6E\x67","\x67\x65\x74\x41\x6C\x6C\x6F\x77\x65\x64\x51\x75\x65\x75\x65\x73","\x6D\x61\x70","\x67\x65\x74\x50\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73","\x76\x6F\x69\x63\x65","\x67\x65\x74\x50\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73","\x63\x68\x61\x74","\x67\x65\x74\x50\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73","\x6D\x61\x69\x6C","\x67\x65\x74\x50\x46\x61\x78\x51\x75\x65\x75\x65\x73","\x66\x61\x78","\x67\x65\x74\x50\x53\x6D\x73\x51\x75\x65\x75\x65\x73","\x73\x6D\x73","\x63\x68\x61\x6E\x6E\x65\x6C","\x61\x64\x64\x41\x6C\x6C\x6F\x77\x65\x64\x51\x75\x65\x75\x65\x73","\x61\x64\x64\x50\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73","\x61\x64\x64\x50\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73","\x61\x64\x64\x50\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73","\x61\x64\x64\x50\x46\x61\x78\x51\x75\x65\x75\x65\x73","\x61\x64\x64\x50\x53\x6D\x73\x51\x75\x65\x75\x65\x73","\x72\x65\x6D\x6F\x76\x65\x41\x6C\x6C\x6F\x77\x65\x64\x51\x75\x65\x75\x65\x73","\x64\x65\x6C\x65\x74\x65","\x72\x65\x6D\x6F\x76\x65\x50\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73","\x72\x65\x6D\x6F\x76\x65\x50\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73","\x72\x65\x6D\x6F\x76\x65\x50\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73","\x72\x65\x6D\x6F\x76\x65\x50\x53\x6D\x73\x51\x75\x65\x75\x65\x73","\x72\x65\x6D\x6F\x76\x65\x50\x46\x61\x78\x51\x75\x65\x75\x65\x73","\x75\x73\x65\x72\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x66\x69\x65\x6C\x64","\x76\x61\x6C\x75\x65","\x63\x6F\x75\x6E\x74","\x61\x75\x74\x68\x43\x61\x6C\x6C\x62\x61\x63\x6B","\x2F","\x72\x65\x64\x69\x72\x65\x63\x74"];_0x9e9b[0];var User=require(_0x9e9b[2])[_0x9e9b[1]];var Module=require(_0x9e9b[2])[_0x9e9b[3]];var VoiceQueue=require(_0x9e9b[2])[_0x9e9b[4]];var ChatQueue=require(_0x9e9b[2])[_0x9e9b[5]];var MailQueue=require(_0x9e9b[2])[_0x9e9b[6]];var FaxQueue=require(_0x9e9b[2])[_0x9e9b[7]];var SmsQueue=require(_0x9e9b[2])[_0x9e9b[8]];var sequelize=require(_0x9e9b[2])[_0x9e9b[9]];var config=require(_0x9e9b[10]);var Util=require(_0x9e9b[11]);var passport=require(_0x9e9b[12]);var moment=require(_0x9e9b[13]);var jwt=require(_0x9e9b[14]);var uploadFile=require(_0x9e9b[15]);var path=require(_0x9e9b[16]);var fs=require(_0x9e9b[17]);var _=require(_0x9e9b[18]);var util=require(_0x9e9b[19]);var sr=require(_0x9e9b[20]);exports[_0x9e9b[21]]=function(_0xec7cx14,_0xec7cx15,_0xec7cx16){return User[_0x9e9b[30]](_0x9e9b[29])[_0x9e9b[28]](Util[_0x9e9b[27]](_0xec7cx14[_0x9e9b[26]]))[_0x9e9b[25]](function(_0xec7cx18){_0xec7cx15[_0x9e9b[24]](200)[_0x9e9b[23]](_0xec7cx18)})[_0x9e9b[22]](function(_0xec7cx17){return handleError(_0xec7cx15,_0xec7cx17)})};exports[_0x9e9b[31]]=function(_0xec7cx14,_0xec7cx15,_0xec7cx16){return User[_0x9e9b[32]]()[_0x9e9b[25]](function(_0xec7cx19){return _0xec7cx15[_0x9e9b[24]](200)[_0x9e9b[23]]({rows:_0xec7cx19})})[_0x9e9b[22]](function(_0xec7cx17){return handleError(_0xec7cx15,_0xec7cx17)})};exports[_0x9e9b[33]]=function(_0xec7cx14,_0xec7cx15,_0xec7cx16){return User[_0x9e9b[38]](_0xec7cx14[_0x9e9b[37]][_0x9e9b[36]])[_0x9e9b[25]](function(_0xec7cx1b){if(!_0xec7cx1b){return _0xec7cx15[_0x9e9b[34]](404)};return _0xec7cx1b[_0x9e9b[35]]()})[_0x9e9b[25]](function(_0xec7cx1a){return _0xec7cx15[_0x9e9b[24]](200)[_0x9e9b[23]](_0xec7cx1a)})[_0x9e9b[22]](function(_0xec7cx17){return handleError(_0xec7cx15,_0xec7cx17)})};exports[_0x9e9b[39]]=function(_0xec7cx14,_0xec7cx15,_0xec7cx16){_0xec7cx14[_0x9e9b[41]][_0x9e9b[40]]=_0x9e9b[29];return sequelize[_0x9e9b[44]](function(_0xec7cx1c){return User[_0x9e9b[39]](_0xec7cx14[_0x9e9b[41]],{transaction:_0xec7cx1c})[_0x9e9b[25]](function(_0xec7cx1b){return _0xec7cx15[_0x9e9b[24]](201)[_0x9e9b[23]](_0xec7cx1b)})})[_0x9e9b[22]](sequelize.UniqueConstraintError,function(_0xec7cx17){return Util[_0x9e9b[43]][_0x9e9b[42]](_0xec7cx15,_0xec7cx17)})[_0x9e9b[22]](function(_0xec7cx17){return handleError(_0xec7cx15,_0xec7cx17)})};exports[_0x9e9b[45]]=function(_0xec7cx14,_0xec7cx15,_0xec7cx16){return sequelize[_0x9e9b[44]](function(_0xec7cx1c){return User[_0x9e9b[38]](_0xec7cx14[_0x9e9b[37]][_0x9e9b[36]])[_0x9e9b[25]](function(_0xec7cx1b){if(!_0xec7cx1b){return _0xec7cx15[_0x9e9b[34]](404)};return _0xec7cx1b[_0x9e9b[48]](_0xec7cx14[_0x9e9b[41]][_0x9e9b[47]])})[_0x9e9b[25]](function(){return _0xec7cx15[_0x9e9b[34]](201)})})[_0x9e9b[22]](function(_0xec7cx17){console[_0x9e9b[46]](_0xec7cx17);return handleError(_0xec7cx15,_0xec7cx17)})};exports[_0x9e9b[49]]=function(_0xec7cx14,_0xec7cx15,_0xec7cx16){return User[_0x9e9b[38]](_0xec7cx14[_0x9e9b[37]][_0x9e9b[36]])[_0x9e9b[25]](function(_0xec7cx1b){if(!_0xec7cx1b){return _0xec7cx15[_0x9e9b[34]](404)};return _0xec7cx15[_0x9e9b[24]](200)[_0x9e9b[23]](_0xec7cx1b)})[_0x9e9b[22]](function(_0xec7cx17){return handleError(_0xec7cx15,_0xec7cx17)})};exports[_0x9e9b[50]]=function(_0xec7cx14,_0xec7cx15,_0xec7cx16){var _0xec7cx1d=_0xec7cx14[_0x9e9b[37]][_0x9e9b[36]];var _0xec7cx1e;return User[_0x9e9b[38]](_0xec7cx1d)[_0x9e9b[25]](function(_0xec7cx1b){_0xec7cx1e=_0xec7cx1b;if(!_0xec7cx1b){return _0xec7cx15[_0x9e9b[34]](404)};return _0xec7cx1b[_0x9e9b[50]]()})[_0x9e9b[25]](function(_0xec7cx1b){return _0xec7cx15[_0x9e9b[24]](200)[_0x9e9b[23]](_0xec7cx1b)})[_0x9e9b[22]](sequelize.ForeignKeyConstraintError,function(_0xec7cx17){return Util[_0x9e9b[43]][_0x9e9b[52]](_0xec7cx15,_0x9e9b[29],_0xec7cx1e[_0x9e9b[51]],_0xec7cx17)})[_0x9e9b[22]](function(_0xec7cx17){return handleError(_0xec7cx15,_0xec7cx17)})};exports[_0x9e9b[53]]=function(_0xec7cx14,_0xec7cx15){return User[_0x9e9b[50]]({where:{id:_0xec7cx14[_0x9e9b[26]][_0x9e9b[54]]},individualHooks:true})[_0x9e9b[25]](function(){return _0xec7cx15[_0x9e9b[34]](204)})[_0x9e9b[22]](function(_0xec7cx17){return handleError(_0xec7cx15,_0xec7cx17)})};exports[_0x9e9b[55]]=function(_0xec7cx14,_0xec7cx15,_0xec7cx16){var _0xec7cx1d=_0xec7cx14[_0x9e9b[29]][_0x9e9b[36]];var _0xec7cx1f=String(_0xec7cx14[_0x9e9b[41]][_0x9e9b[56]]);var _0xec7cx20=String(_0xec7cx14[_0x9e9b[41]][_0x9e9b[57]]);return sequelize[_0x9e9b[44]](function(_0xec7cx1c){return User[_0x9e9b[38]](_0xec7cx1d)[_0x9e9b[25]](function(_0xec7cx1b){if(!_0xec7cx1b[_0x9e9b[58]](_0xec7cx1f)){return _0xec7cx15[_0x9e9b[34]](403)};_0xec7cx1b[_0x9e9b[59]]=_0xec7cx20;return _0xec7cx1b[_0x9e9b[60]]({transaction:_0xec7cx1c})})})[_0x9e9b[25]](function(){return _0xec7cx15[_0x9e9b[34]](200)})[_0x9e9b[22]](function(_0xec7cx17){return handleError(_0xec7cx15,_0xec7cx17)})};exports[_0x9e9b[61]]=function(_0xec7cx14,_0xec7cx15,_0xec7cx16){var _0xec7cx1d=_0xec7cx14[_0x9e9b[37]][_0x9e9b[36]];var _0xec7cx20=String(_0xec7cx14[_0x9e9b[41]][_0x9e9b[57]]);return sequelize[_0x9e9b[44]](function(_0xec7cx1c){return User[_0x9e9b[38]](_0xec7cx1d)[_0x9e9b[25]](function(_0xec7cx1b){_0xec7cx1b[_0x9e9b[59]]=_0xec7cx20;return _0xec7cx1b[_0x9e9b[60]]({transaction:_0xec7cx1c})})})[_0x9e9b[25]](function(){return _0xec7cx15[_0x9e9b[34]](200)})[_0x9e9b[22]](function(_0xec7cx17){return handleError(_0xec7cx15,_0xec7cx17)})};exports[_0x9e9b[62]]=function(_0xec7cx14,_0xec7cx15,_0xec7cx16){var _0xec7cx21= new uploadFile({dest:path[_0x9e9b[67]](config[_0x9e9b[63]],_0x9e9b[64],_0x9e9b[65],_0x9e9b[66]),maxNumberOfFiles:1,minNumberOfFiles:0,acceptFileTypes:/(\.|\/)(jpeg|png)$/i,rename:function(_0xec7cx22,_0xec7cx23){return sr()+path[_0x9e9b[69]](_0xec7cx23[_0x9e9b[68]])},messages:{maxNumberOfFiles:_0x9e9b[70],acceptFileTypes:_0x9e9b[71],invalidRequest:_0x9e9b[72]}});_0xec7cx21[_0x9e9b[76]](_0x9e9b[73],function(_0xec7cx24,_0xec7cx25){if(!_0xec7cx25[_0x9e9b[74]][_0x9e9b[68]]){return _0xec7cx15[_0x9e9b[24]](500)[_0x9e9b[23]](_0xec7cx21)};return sequelize[_0x9e9b[44]](function(_0xec7cx1c){return User[_0x9e9b[38]](_0xec7cx14[_0x9e9b[37]][_0x9e9b[36]])[_0x9e9b[25]](function(_0xec7cx1b){if(!_0xec7cx1b){return _0xec7cx15[_0x9e9b[34]](404)};return _0xec7cx1b[_0x9e9b[75]]({userpic:_0xec7cx25[_0x9e9b[74]][_0x9e9b[68]]},{transaction:_0xec7cx1c})})[_0x9e9b[25]](function(_0xec7cx1b){return _0xec7cx15[_0x9e9b[24]](200)[_0x9e9b[23]](_0xec7cx1b)})})[_0x9e9b[22]](function(_0xec7cx17){return handleError(_0xec7cx15,_0xec7cx17)})});_0xec7cx21[_0x9e9b[76]](_0x9e9b[77],function(_0xec7cx17){console[_0x9e9b[46]](_0x9e9b[78],_0xec7cx17);return handleError(_0xec7cx15,_0xec7cx17)});_0xec7cx21[_0x9e9b[79]](_0xec7cx14)};exports[_0x9e9b[80]]=function(_0xec7cx14,_0xec7cx15,_0xec7cx16){var _0xec7cx1d=_0xec7cx14[_0x9e9b[29]][_0x9e9b[36]];return User[_0x9e9b[97]]({where:{id:_0xec7cx1d},attributes:[_0x9e9b[36],_0x9e9b[81],_0x9e9b[51],_0x9e9b[82],_0x9e9b[40],_0x9e9b[83],_0x9e9b[84],_0x9e9b[85],_0x9e9b[86],_0x9e9b[87],_0x9e9b[88],_0x9e9b[89],_0x9e9b[90],_0x9e9b[91]],include:[Module,{model:VoiceQueue,as:_0x9e9b[92]},{model:ChatQueue,as:_0x9e9b[93]},{model:MailQueue,as:_0x9e9b[94]},{model:FaxQueue,as:_0x9e9b[95]},{model:SmsQueue,as:_0x9e9b[96]}]})[_0x9e9b[25]](function(_0xec7cx1b){if(!_0xec7cx1b){return _0xec7cx15[_0x9e9b[34]](401)};return _0xec7cx15[_0x9e9b[24]](200)[_0x9e9b[23]](_0xec7cx1b)})[_0x9e9b[22]](function(_0xec7cx17){return handleError(_0xec7cx15,_0xec7cx17)})};exports[_0x9e9b[75]]=function(_0xec7cx14,_0xec7cx15,_0xec7cx16){var _0xec7cx1d=_0xec7cx14[_0x9e9b[29]][_0x9e9b[36]];delete _0xec7cx14[_0x9e9b[41]][_0x9e9b[59]];return sequelize[_0x9e9b[44]](function(_0xec7cx1c){return User[_0x9e9b[38]](_0xec7cx14[_0x9e9b[37]][_0x9e9b[36]])[_0x9e9b[25]](function(_0xec7cx1b){if(!_0xec7cx1b){return _0xec7cx15[_0x9e9b[34]](500)};return _0xec7cx1b[_0x9e9b[75]](_0xec7cx14[_0x9e9b[41]],{transaction:_0xec7cx1c})})[_0x9e9b[25]](function(_0xec7cx1b){return _0xec7cx15[_0x9e9b[24]](200)[_0x9e9b[23]](_0xec7cx1b)})})[_0x9e9b[22]](function(_0xec7cx17){return handleError(_0xec7cx15,_0xec7cx17)})};exports[_0x9e9b[98]]=function(_0xec7cx14,_0xec7cx15,_0xec7cx16){var _0xec7cx26=path[_0x9e9b[67]](config[_0x9e9b[63]],_0x9e9b[64],_0x9e9b[65],_0x9e9b[66],_0xec7cx14[_0x9e9b[37]][_0x9e9b[68]]);fs[_0x9e9b[101]](_0xec7cx26,function(_0xec7cx27){if(!_0xec7cx27){_0xec7cx26=path[_0x9e9b[67]](config[_0x9e9b[63]],_0x9e9b[64],_0x9e9b[65],_0x9e9b[66],_0x9e9b[99])};return _0xec7cx15[_0x9e9b[100]](_0xec7cx26)})};exports[_0x9e9b[102]]=function(_0xec7cx14,_0xec7cx15,_0xec7cx16){if(_0xec7cx14[_0x9e9b[37]][_0x9e9b[36]]===_0x9e9b[103]){var _0xec7cx26=path[_0x9e9b[67]](config[_0x9e9b[63]],_0x9e9b[64],_0x9e9b[65],_0x9e9b[66],_0x9e9b[104]);fs[_0x9e9b[101]](_0xec7cx26,function(_0xec7cx27){return _0xec7cx15[_0x9e9b[100]](_0xec7cx26)})}else {return User[_0x9e9b[38]](_0xec7cx14[_0x9e9b[37]][_0x9e9b[36]])[_0x9e9b[25]](function(_0xec7cx1b){if(_0xec7cx1b){var _0xec7cx26=path[_0x9e9b[67]](config[_0x9e9b[63]],_0x9e9b[64],_0x9e9b[65],_0x9e9b[66],_0xec7cx1b[_0x9e9b[83]]?_0xec7cx1b[_0x9e9b[83]]:_0x9e9b[99]);fs[_0x9e9b[101]](_0xec7cx26,function(_0xec7cx27){if(!_0xec7cx27){_0xec7cx26=path[_0x9e9b[67]](config[_0x9e9b[63]],_0x9e9b[64],_0x9e9b[65],_0x9e9b[66],_0x9e9b[99])};return _0xec7cx15[_0x9e9b[100]](_0xec7cx26)})}else {return _0xec7cx15[_0x9e9b[34]](500)}})[_0x9e9b[22]](function(_0xec7cx17){return handleError(_0xec7cx15,_0xec7cx17)})}};exports[_0x9e9b[105]]=function(_0xec7cx14,_0xec7cx15,_0xec7cx16){var _0xec7cx1e;return User[_0x9e9b[38]](_0xec7cx14[_0x9e9b[37]][_0x9e9b[36]],{attributes:[_0x9e9b[36]]})[_0x9e9b[25]](function(_0xec7cx1b){_0xec7cx1e=_0xec7cx1b;if(!_0xec7cx1e){return _0xec7cx15[_0x9e9b[34]](401)};switch(_0xec7cx14[_0x9e9b[37]][_0x9e9b[117]]){case _0x9e9b[108]:return _0xec7cx1e[_0x9e9b[107]]({attributes:[_0x9e9b[51]]});case _0x9e9b[110]:return _0xec7cx1e[_0x9e9b[109]]({attributes:[_0x9e9b[36],_0x9e9b[51]]});case _0x9e9b[112]:return _0xec7cx1e[_0x9e9b[111]]({attributes:[_0x9e9b[36],_0x9e9b[51]]});case _0x9e9b[114]:return _0xec7cx1e[_0x9e9b[113]]({attributes:[_0x9e9b[36],_0x9e9b[51]]});case _0x9e9b[116]:return _0xec7cx1e[_0x9e9b[115]]({attributes:[_0x9e9b[36],_0x9e9b[51]]});default:return _0xec7cx15[_0x9e9b[34]](401)}})[_0x9e9b[25]](function(_0xec7cx28){return _0xec7cx15[_0x9e9b[24]](200)[_0x9e9b[23]](_[_0x9e9b[106]](_0xec7cx28,function(_0xec7cx29){var _0xec7cx2a={name:_0xec7cx29[_0x9e9b[51]]};if(_0xec7cx29[_0x9e9b[36]]){_0xec7cx2a[_0x9e9b[36]]=_0xec7cx29[_0x9e9b[36]]};return _0xec7cx2a}))})[_0x9e9b[22]](function(_0xec7cx17){console[_0x9e9b[77]](_0xec7cx17);return handleError(_0xec7cx15,_0xec7cx17)})};exports[_0x9e9b[118]]=function(_0xec7cx14,_0xec7cx15,_0xec7cx16){console[_0x9e9b[46]](_0xec7cx14[_0x9e9b[37]],_0xec7cx14[_0x9e9b[41]]);var _0xec7cx1e;return User[_0x9e9b[38]](_0xec7cx14[_0x9e9b[37]][_0x9e9b[36]],{attributes:[_0x9e9b[36]]})[_0x9e9b[25]](function(_0xec7cx1b){_0xec7cx1e=_0xec7cx1b;if(!_0xec7cx1e){return _0xec7cx15[_0x9e9b[34]](401)};switch(_0xec7cx14[_0x9e9b[37]][_0x9e9b[117]]){case _0x9e9b[108]:return _0xec7cx1e[_0x9e9b[119]](_0xec7cx14[_0x9e9b[41]]);case _0x9e9b[110]:return _0xec7cx1e[_0x9e9b[120]](_0xec7cx14[_0x9e9b[41]]);case _0x9e9b[112]:return _0xec7cx1e[_0x9e9b[121]](_0xec7cx14[_0x9e9b[41]]);case _0x9e9b[114]:return _0xec7cx1e[_0x9e9b[122]](_0xec7cx14[_0x9e9b[41]]);case _0x9e9b[116]:return _0xec7cx1e[_0x9e9b[123]](_0xec7cx14[_0x9e9b[41]]);default:return _0xec7cx15[_0x9e9b[34]](401)}})[_0x9e9b[25]](function(_0xec7cx28){return _0xec7cx15[_0x9e9b[34]](200)})[_0x9e9b[22]](function(_0xec7cx17){console[_0x9e9b[77]](_0xec7cx17)})};exports[_0x9e9b[124]]=function(_0xec7cx14,_0xec7cx15,_0xec7cx16){console[_0x9e9b[46]](_0xec7cx14[_0x9e9b[37]],_0xec7cx14[_0x9e9b[41]],_0xec7cx14[_0x9e9b[125]],_0xec7cx14[_0x9e9b[26]]);var _0xec7cx1e;return User[_0x9e9b[38]](_0xec7cx14[_0x9e9b[37]][_0x9e9b[36]],{attributes:[_0x9e9b[36]]})[_0x9e9b[25]](function(_0xec7cx1b){_0xec7cx1e=_0xec7cx1b;if(!_0xec7cx1e){return _0xec7cx15[_0x9e9b[34]](401)};switch(_0xec7cx14[_0x9e9b[37]][_0x9e9b[117]]){case _0x9e9b[108]:return _0xec7cx1e[_0x9e9b[126]](_0xec7cx14[_0x9e9b[26]][_0x9e9b[54]]);case _0x9e9b[110]:return _0xec7cx1e[_0x9e9b[127]](_0xec7cx14[_0x9e9b[26]][_0x9e9b[54]]);case _0x9e9b[112]:return _0xec7cx1e[_0x9e9b[128]](_0xec7cx14[_0x9e9b[26]][_0x9e9b[54]]);case _0x9e9b[116]:return _0xec7cx1e[_0x9e9b[129]](_0xec7cx14[_0x9e9b[26]][_0x9e9b[54]]);case _0x9e9b[114]:return _0xec7cx1e[_0x9e9b[130]](_0xec7cx14[_0x9e9b[26]][_0x9e9b[54]]);default:return _0xec7cx15[_0x9e9b[34]](401)}})[_0x9e9b[25]](function(_0xec7cx28){return _0xec7cx15[_0x9e9b[34]](200)})[_0x9e9b[22]](function(_0xec7cx17){console[_0x9e9b[77]](_0xec7cx17)})};exports[_0x9e9b[131]]=function(_0xec7cx14,_0xec7cx15){var _0xec7cx2b={};_0xec7cx2b[_0xec7cx14[_0x9e9b[37]][_0x9e9b[132]]]=_0xec7cx14[_0x9e9b[41]][_0x9e9b[133]];return User[_0x9e9b[28]]({where:_0xec7cx2b})[_0x9e9b[25]](function(_0xec7cx18){if(_0xec7cx18[_0x9e9b[134]]){return _0xec7cx15[_0x9e9b[24]](200)[_0x9e9b[23]]({isValid:false,value:_0xec7cx14[_0x9e9b[41]][_0x9e9b[133]]})};return _0xec7cx15[_0x9e9b[24]](200)[_0x9e9b[23]]({isValid:true,value:_0xec7cx14[_0x9e9b[41]][_0x9e9b[133]]})})[_0x9e9b[22]](function(_0xec7cx17){return handleError(_0xec7cx15,_0xec7cx17)})};exports[_0x9e9b[135]]=function(_0xec7cx14,_0xec7cx15,_0xec7cx16){_0xec7cx15[_0x9e9b[137]](_0x9e9b[136])};function handleError(_0xec7cx15,_0xec7cx17){return _0xec7cx15[_0x9e9b[24]](500)[_0x9e9b[23]](_0xec7cx17)} \ No newline at end of file +var _0x4ca0=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x6F\x64\x75\x6C\x65","\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x46\x61\x78\x51\x75\x65\x75\x65","\x53\x6D\x73\x51\x75\x65\x75\x65","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x70\x61\x73\x73\x70\x6F\x72\x74","\x6D\x6F\x6D\x65\x6E\x74","\x6A\x73\x6F\x6E\x77\x65\x62\x74\x6F\x6B\x65\x6E","\x75\x70\x6C\x6F\x61\x64\x2D\x66\x69\x6C\x65","\x70\x61\x74\x68","\x66\x73","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x73\x69\x6D\x70\x6C\x65\x2D\x72\x61\x6E\x64\x6F\x6D","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x75\x73\x65\x72","\x73\x63\x6F\x70\x65","\x67\x65\x74\x55\x73\x65\x72\x73","\x66\x69\x6E\x64\x41\x6C\x6C","\x67\x65\x74\x41\x6C\x6C\x6F\x77\x65\x64\x4D\x6F\x64\x75\x6C\x65\x73","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x67\x65\x74\x4D\x6F\x64\x75\x6C\x65\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x72\x6F\x6C\x65","\x62\x6F\x64\x79","\x68\x61\x6E\x64\x6C\x65\x55\x6E\x69\x71\x75\x65\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x45\x72\x72\x6F\x72","\x65\x72\x72\x6F\x72\x4D\x61\x6E\x61\x67\x65\x72","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x73\x65\x74\x41\x6C\x6C\x6F\x77\x65\x64\x4D\x6F\x64\x75\x6C\x65\x73","\x6C\x6F\x67","\x6D\x6F\x64\x75\x6C\x65\x73","\x73\x65\x74\x4D\x6F\x64\x75\x6C\x65\x73","\x73\x68\x6F\x77","\x64\x65\x73\x74\x72\x6F\x79","\x6E\x61\x6D\x65","\x68\x61\x6E\x64\x6C\x65\x46\x6F\x72\x65\x69\x67\x6E\x4B\x65\x79\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x45\x72\x72\x6F\x72","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x63\x68\x61\x6E\x67\x65\x50\x61\x73\x73\x77\x6F\x72\x64","\x6F\x6C\x64\x50\x61\x73\x73\x77\x6F\x72\x64","\x6E\x65\x77\x50\x61\x73\x73\x77\x6F\x72\x64","\x61\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65","\x70\x61\x73\x73\x77\x6F\x72\x64","\x73\x61\x76\x65","\x72\x65\x73\x65\x74\x50\x61\x73\x73\x77\x6F\x72\x64","\x63\x68\x61\x6E\x67\x65\x41\x76\x61\x74\x61\x72","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72","\x66\x69\x6C\x65\x73","\x69\x6D\x61\x67\x65\x73","\x6A\x6F\x69\x6E","\x66\x69\x6C\x65\x6E\x61\x6D\x65","\x65\x78\x74\x6E\x61\x6D\x65","\x4D\x61\x78\x20\x6E\x75\x6D\x62\x65\x72\x20\x6F\x66\x20\x66\x69\x6C\x65\x73\x20\x75\x70\x6C\x6F\x61\x64\x20\x65\x78\x63\x65\x65\x64\x65\x64","\x4F\x6E\x6C\x79\x20\x6A\x70\x65\x67\x20\x61\x6E\x64\x20\x70\x6E\x67\x20\x66\x6F\x72\x6D\x61\x74\x20\x61\x63\x63\x65\x70\x74\x65\x64","\x49\x6E\x76\x61\x6C\x69\x64\x20\x72\x65\x71\x75\x65\x73\x74","\x65\x6E\x64","\x66\x69\x6C\x65","\x75\x70\x64\x61\x74\x65","\x6F\x6E","\x65\x72\x72\x6F\x72","\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x20\x55\x70\x6C\x6F\x61\x64\x20\x65\x72\x72\x6F\x72\x20\x3A","\x70\x61\x72\x73\x65","\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x75\x73\x65\x72\x70\x69\x63","\x6C\x61\x73\x74\x4C\x6F\x67\x69\x6E\x41\x74","\x76\x6F\x69\x63\x65\x50\x61\x75\x73\x65","\x6D\x61\x69\x6C\x50\x61\x75\x73\x65","\x63\x68\x61\x74\x50\x61\x75\x73\x65","\x66\x61\x78\x50\x61\x75\x73\x65","\x73\x6D\x73\x50\x61\x75\x73\x65","\x6C\x61\x73\x74\x50\x61\x75\x73\x65\x41\x74","\x70\x61\x75\x73\x65\x54\x79\x70\x65","\x50\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73","\x50\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73","\x50\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73","\x50\x46\x61\x78\x51\x75\x65\x75\x65\x73","\x50\x53\x6D\x73\x51\x75\x65\x75\x65\x73","\x66\x69\x6E\x64\x4F\x6E\x65","\x67\x65\x74\x41\x76\x61\x74\x61\x72","\x75\x73\x65\x72\x70\x69\x63\x2E\x70\x6E\x67","\x73\x65\x6E\x64\x46\x69\x6C\x65","\x65\x78\x69\x73\x74\x73","\x67\x65\x74\x41\x76\x61\x74\x61\x72\x42\x79\x49\x64","\x76\x69\x73\x69\x74\x6F\x72","\x63\x75\x73\x74\x6F\x6D\x65\x72\x2E\x70\x6E\x67","\x67\x65\x74\x41\x6C\x6C\x6F\x77\x65\x64\x51\x75\x65\x75\x65\x73","\x6D\x61\x70","\x67\x65\x74\x50\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73","\x76\x6F\x69\x63\x65","\x67\x65\x74\x50\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73","\x63\x68\x61\x74","\x67\x65\x74\x50\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73","\x6D\x61\x69\x6C","\x67\x65\x74\x50\x46\x61\x78\x51\x75\x65\x75\x65\x73","\x66\x61\x78","\x67\x65\x74\x50\x53\x6D\x73\x51\x75\x65\x75\x65\x73","\x73\x6D\x73","\x63\x68\x61\x6E\x6E\x65\x6C","\x61\x64\x64\x41\x6C\x6C\x6F\x77\x65\x64\x51\x75\x65\x75\x65\x73","\x61\x64\x64\x50\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73","\x61\x64\x64\x50\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73","\x61\x64\x64\x50\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73","\x61\x64\x64\x50\x46\x61\x78\x51\x75\x65\x75\x65\x73","\x61\x64\x64\x50\x53\x6D\x73\x51\x75\x65\x75\x65\x73","\x72\x65\x6D\x6F\x76\x65\x41\x6C\x6C\x6F\x77\x65\x64\x51\x75\x65\x75\x65\x73","\x64\x65\x6C\x65\x74\x65","\x72\x65\x6D\x6F\x76\x65\x50\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73","\x72\x65\x6D\x6F\x76\x65\x50\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73","\x72\x65\x6D\x6F\x76\x65\x50\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73","\x72\x65\x6D\x6F\x76\x65\x50\x53\x6D\x73\x51\x75\x65\x75\x65\x73","\x72\x65\x6D\x6F\x76\x65\x50\x46\x61\x78\x51\x75\x65\x75\x65\x73","\x75\x73\x65\x72\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x66\x69\x65\x6C\x64","\x76\x61\x6C\x75\x65","\x63\x6F\x75\x6E\x74","\x61\x75\x74\x68\x43\x61\x6C\x6C\x62\x61\x63\x6B","\x2F","\x72\x65\x64\x69\x72\x65\x63\x74"];_0x4ca0[0];var User=require(_0x4ca0[2])[_0x4ca0[1]];var Module=require(_0x4ca0[2])[_0x4ca0[3]];var VoiceQueue=require(_0x4ca0[2])[_0x4ca0[4]];var ChatQueue=require(_0x4ca0[2])[_0x4ca0[5]];var MailQueue=require(_0x4ca0[2])[_0x4ca0[6]];var FaxQueue=require(_0x4ca0[2])[_0x4ca0[7]];var SmsQueue=require(_0x4ca0[2])[_0x4ca0[8]];var sequelize=require(_0x4ca0[2])[_0x4ca0[9]];var config=require(_0x4ca0[10]);var Util=require(_0x4ca0[11]);var passport=require(_0x4ca0[12]);var moment=require(_0x4ca0[13]);var jwt=require(_0x4ca0[14]);var uploadFile=require(_0x4ca0[15]);var path=require(_0x4ca0[16]);var fs=require(_0x4ca0[17]);var _=require(_0x4ca0[18]);var util=require(_0x4ca0[19]);var sr=require(_0x4ca0[20]);exports[_0x4ca0[21]]=function(_0x64e4x14,_0x64e4x15,_0x64e4x16){return User[_0x4ca0[30]](_0x4ca0[29])[_0x4ca0[28]](Util[_0x4ca0[27]](_0x64e4x14[_0x4ca0[26]]))[_0x4ca0[25]](function(_0x64e4x18){_0x64e4x15[_0x4ca0[24]](200)[_0x4ca0[23]](_0x64e4x18)})[_0x4ca0[22]](function(_0x64e4x17){return handleError(_0x64e4x15,_0x64e4x17)})};exports[_0x4ca0[31]]=function(_0x64e4x14,_0x64e4x15,_0x64e4x16){return User[_0x4ca0[32]]()[_0x4ca0[25]](function(_0x64e4x19){return _0x64e4x15[_0x4ca0[24]](200)[_0x4ca0[23]]({rows:_0x64e4x19})})[_0x4ca0[22]](function(_0x64e4x17){return handleError(_0x64e4x15,_0x64e4x17)})};exports[_0x4ca0[33]]=function(_0x64e4x14,_0x64e4x15,_0x64e4x16){return User[_0x4ca0[38]](_0x64e4x14[_0x4ca0[37]][_0x4ca0[36]])[_0x4ca0[25]](function(_0x64e4x1b){if(!_0x64e4x1b){return _0x64e4x15[_0x4ca0[34]](404)};return _0x64e4x1b[_0x4ca0[35]]()})[_0x4ca0[25]](function(_0x64e4x1a){return _0x64e4x15[_0x4ca0[24]](200)[_0x4ca0[23]](_0x64e4x1a)})[_0x4ca0[22]](function(_0x64e4x17){return handleError(_0x64e4x15,_0x64e4x17)})};exports[_0x4ca0[39]]=function(_0x64e4x14,_0x64e4x15,_0x64e4x16){_0x64e4x14[_0x4ca0[41]][_0x4ca0[40]]=_0x4ca0[29];return sequelize[_0x4ca0[44]](function(_0x64e4x1c){return User[_0x4ca0[39]](_0x64e4x14[_0x4ca0[41]],{transaction:_0x64e4x1c})[_0x4ca0[25]](function(_0x64e4x1b){return _0x64e4x15[_0x4ca0[24]](201)[_0x4ca0[23]](_0x64e4x1b)})})[_0x4ca0[22]](sequelize.UniqueConstraintError,function(_0x64e4x17){return Util[_0x4ca0[43]][_0x4ca0[42]](_0x64e4x15,_0x64e4x17)})[_0x4ca0[22]](function(_0x64e4x17){return handleError(_0x64e4x15,_0x64e4x17)})};exports[_0x4ca0[45]]=function(_0x64e4x14,_0x64e4x15,_0x64e4x16){return sequelize[_0x4ca0[44]](function(_0x64e4x1c){return User[_0x4ca0[38]](_0x64e4x14[_0x4ca0[37]][_0x4ca0[36]])[_0x4ca0[25]](function(_0x64e4x1b){if(!_0x64e4x1b){return _0x64e4x15[_0x4ca0[34]](404)};return _0x64e4x1b[_0x4ca0[48]](_0x64e4x14[_0x4ca0[41]][_0x4ca0[47]])})[_0x4ca0[25]](function(){return _0x64e4x15[_0x4ca0[34]](201)})})[_0x4ca0[22]](function(_0x64e4x17){console[_0x4ca0[46]](_0x64e4x17);return handleError(_0x64e4x15,_0x64e4x17)})};exports[_0x4ca0[49]]=function(_0x64e4x14,_0x64e4x15,_0x64e4x16){return User[_0x4ca0[38]](_0x64e4x14[_0x4ca0[37]][_0x4ca0[36]])[_0x4ca0[25]](function(_0x64e4x1b){if(!_0x64e4x1b){return _0x64e4x15[_0x4ca0[34]](404)};return _0x64e4x15[_0x4ca0[24]](200)[_0x4ca0[23]](_0x64e4x1b)})[_0x4ca0[22]](function(_0x64e4x17){return handleError(_0x64e4x15,_0x64e4x17)})};exports[_0x4ca0[50]]=function(_0x64e4x14,_0x64e4x15,_0x64e4x16){var _0x64e4x1d=_0x64e4x14[_0x4ca0[37]][_0x4ca0[36]];var _0x64e4x1e;return User[_0x4ca0[38]](_0x64e4x1d)[_0x4ca0[25]](function(_0x64e4x1b){_0x64e4x1e=_0x64e4x1b;if(!_0x64e4x1b){return _0x64e4x15[_0x4ca0[34]](404)};return _0x64e4x1b[_0x4ca0[50]]()})[_0x4ca0[25]](function(_0x64e4x1b){return _0x64e4x15[_0x4ca0[24]](200)[_0x4ca0[23]](_0x64e4x1b)})[_0x4ca0[22]](sequelize.ForeignKeyConstraintError,function(_0x64e4x17){return Util[_0x4ca0[43]][_0x4ca0[52]](_0x64e4x15,_0x4ca0[29],_0x64e4x1e[_0x4ca0[51]],_0x64e4x17)})[_0x4ca0[22]](function(_0x64e4x17){return handleError(_0x64e4x15,_0x64e4x17)})};exports[_0x4ca0[53]]=function(_0x64e4x14,_0x64e4x15){return User[_0x4ca0[50]]({where:{id:_0x64e4x14[_0x4ca0[26]][_0x4ca0[54]]},individualHooks:true})[_0x4ca0[25]](function(){return _0x64e4x15[_0x4ca0[34]](204)})[_0x4ca0[22]](function(_0x64e4x17){return handleError(_0x64e4x15,_0x64e4x17)})};exports[_0x4ca0[55]]=function(_0x64e4x14,_0x64e4x15,_0x64e4x16){var _0x64e4x1d=_0x64e4x14[_0x4ca0[29]][_0x4ca0[36]];var _0x64e4x1f=String(_0x64e4x14[_0x4ca0[41]][_0x4ca0[56]]);var _0x64e4x20=String(_0x64e4x14[_0x4ca0[41]][_0x4ca0[57]]);return sequelize[_0x4ca0[44]](function(_0x64e4x1c){return User[_0x4ca0[38]](_0x64e4x1d)[_0x4ca0[25]](function(_0x64e4x1b){if(!_0x64e4x1b[_0x4ca0[58]](_0x64e4x1f)){return _0x64e4x15[_0x4ca0[34]](403)};_0x64e4x1b[_0x4ca0[59]]=_0x64e4x20;return _0x64e4x1b[_0x4ca0[60]]({transaction:_0x64e4x1c})})})[_0x4ca0[25]](function(){return _0x64e4x15[_0x4ca0[34]](200)})[_0x4ca0[22]](function(_0x64e4x17){return handleError(_0x64e4x15,_0x64e4x17)})};exports[_0x4ca0[61]]=function(_0x64e4x14,_0x64e4x15,_0x64e4x16){var _0x64e4x1d=_0x64e4x14[_0x4ca0[37]][_0x4ca0[36]];var _0x64e4x20=String(_0x64e4x14[_0x4ca0[41]][_0x4ca0[57]]);return sequelize[_0x4ca0[44]](function(_0x64e4x1c){return User[_0x4ca0[38]](_0x64e4x1d)[_0x4ca0[25]](function(_0x64e4x1b){_0x64e4x1b[_0x4ca0[59]]=_0x64e4x20;return _0x64e4x1b[_0x4ca0[60]]({transaction:_0x64e4x1c})})})[_0x4ca0[25]](function(){return _0x64e4x15[_0x4ca0[34]](200)})[_0x4ca0[22]](function(_0x64e4x17){return handleError(_0x64e4x15,_0x64e4x17)})};exports[_0x4ca0[62]]=function(_0x64e4x14,_0x64e4x15,_0x64e4x16){var _0x64e4x21= new uploadFile({dest:path[_0x4ca0[67]](config[_0x4ca0[63]],_0x4ca0[64],_0x4ca0[65],_0x4ca0[66]),maxNumberOfFiles:1,minNumberOfFiles:0,acceptFileTypes:/(\.|\/)(jpeg|png)$/i,rename:function(_0x64e4x22,_0x64e4x23){return sr()+path[_0x4ca0[69]](_0x64e4x23[_0x4ca0[68]])},messages:{maxNumberOfFiles:_0x4ca0[70],acceptFileTypes:_0x4ca0[71],invalidRequest:_0x4ca0[72]}});_0x64e4x21[_0x4ca0[76]](_0x4ca0[73],function(_0x64e4x24,_0x64e4x25){if(!_0x64e4x25[_0x4ca0[74]][_0x4ca0[68]]){return _0x64e4x15[_0x4ca0[24]](500)[_0x4ca0[23]](_0x64e4x21)};return sequelize[_0x4ca0[44]](function(_0x64e4x1c){return User[_0x4ca0[38]](_0x64e4x14[_0x4ca0[37]][_0x4ca0[36]])[_0x4ca0[25]](function(_0x64e4x1b){if(!_0x64e4x1b){return _0x64e4x15[_0x4ca0[34]](404)};return _0x64e4x1b[_0x4ca0[75]]({userpic:_0x64e4x25[_0x4ca0[74]][_0x4ca0[68]]},{transaction:_0x64e4x1c})})[_0x4ca0[25]](function(_0x64e4x1b){return _0x64e4x15[_0x4ca0[24]](200)[_0x4ca0[23]](_0x64e4x1b)})})[_0x4ca0[22]](function(_0x64e4x17){return handleError(_0x64e4x15,_0x64e4x17)})});_0x64e4x21[_0x4ca0[76]](_0x4ca0[77],function(_0x64e4x17){console[_0x4ca0[46]](_0x4ca0[78],_0x64e4x17);return handleError(_0x64e4x15,_0x64e4x17)});_0x64e4x21[_0x4ca0[79]](_0x64e4x14)};exports[_0x4ca0[80]]=function(_0x64e4x14,_0x64e4x15,_0x64e4x16){var _0x64e4x1d=_0x64e4x14[_0x4ca0[29]][_0x4ca0[36]];return User[_0x4ca0[97]]({where:{id:_0x64e4x1d},attributes:[_0x4ca0[36],_0x4ca0[81],_0x4ca0[51],_0x4ca0[82],_0x4ca0[40],_0x4ca0[83],_0x4ca0[84],_0x4ca0[85],_0x4ca0[86],_0x4ca0[87],_0x4ca0[88],_0x4ca0[89],_0x4ca0[90],_0x4ca0[91]],include:[Module,{model:VoiceQueue,as:_0x4ca0[92]},{model:ChatQueue,as:_0x4ca0[93]},{model:MailQueue,as:_0x4ca0[94]},{model:FaxQueue,as:_0x4ca0[95]},{model:SmsQueue,as:_0x4ca0[96]}]})[_0x4ca0[25]](function(_0x64e4x1b){if(!_0x64e4x1b){return _0x64e4x15[_0x4ca0[34]](401)};return _0x64e4x15[_0x4ca0[24]](200)[_0x4ca0[23]](_0x64e4x1b)})[_0x4ca0[22]](function(_0x64e4x17){return handleError(_0x64e4x15,_0x64e4x17)})};exports[_0x4ca0[75]]=function(_0x64e4x14,_0x64e4x15,_0x64e4x16){var _0x64e4x1d=_0x64e4x14[_0x4ca0[29]][_0x4ca0[36]];delete _0x64e4x14[_0x4ca0[41]][_0x4ca0[59]];return sequelize[_0x4ca0[44]](function(_0x64e4x1c){return User[_0x4ca0[38]](_0x64e4x14[_0x4ca0[37]][_0x4ca0[36]])[_0x4ca0[25]](function(_0x64e4x1b){if(!_0x64e4x1b){return _0x64e4x15[_0x4ca0[34]](500)};return _0x64e4x1b[_0x4ca0[75]](_0x64e4x14[_0x4ca0[41]],{transaction:_0x64e4x1c})})[_0x4ca0[25]](function(_0x64e4x1b){return _0x64e4x15[_0x4ca0[24]](200)[_0x4ca0[23]](_0x64e4x1b)})})[_0x4ca0[22]](function(_0x64e4x17){return handleError(_0x64e4x15,_0x64e4x17)})};exports[_0x4ca0[98]]=function(_0x64e4x14,_0x64e4x15,_0x64e4x16){var _0x64e4x26=path[_0x4ca0[67]](config[_0x4ca0[63]],_0x4ca0[64],_0x4ca0[65],_0x4ca0[66],_0x64e4x14[_0x4ca0[37]][_0x4ca0[68]]);fs[_0x4ca0[101]](_0x64e4x26,function(_0x64e4x27){if(!_0x64e4x27){_0x64e4x26=path[_0x4ca0[67]](config[_0x4ca0[63]],_0x4ca0[64],_0x4ca0[65],_0x4ca0[66],_0x4ca0[99])};return _0x64e4x15[_0x4ca0[100]](_0x64e4x26)})};exports[_0x4ca0[102]]=function(_0x64e4x14,_0x64e4x15,_0x64e4x16){if(_0x64e4x14[_0x4ca0[37]][_0x4ca0[36]]===_0x4ca0[103]){var _0x64e4x26=path[_0x4ca0[67]](config[_0x4ca0[63]],_0x4ca0[64],_0x4ca0[65],_0x4ca0[66],_0x4ca0[104]);fs[_0x4ca0[101]](_0x64e4x26,function(_0x64e4x27){return _0x64e4x15[_0x4ca0[100]](_0x64e4x26)})}else {return User[_0x4ca0[38]](_0x64e4x14[_0x4ca0[37]][_0x4ca0[36]])[_0x4ca0[25]](function(_0x64e4x1b){if(_0x64e4x1b){var _0x64e4x26=path[_0x4ca0[67]](config[_0x4ca0[63]],_0x4ca0[64],_0x4ca0[65],_0x4ca0[66],_0x64e4x1b[_0x4ca0[83]]?_0x64e4x1b[_0x4ca0[83]]:_0x4ca0[99]);fs[_0x4ca0[101]](_0x64e4x26,function(_0x64e4x27){if(!_0x64e4x27){_0x64e4x26=path[_0x4ca0[67]](config[_0x4ca0[63]],_0x4ca0[64],_0x4ca0[65],_0x4ca0[66],_0x4ca0[99])};return _0x64e4x15[_0x4ca0[100]](_0x64e4x26)})}else {return _0x64e4x15[_0x4ca0[34]](500)}})[_0x4ca0[22]](function(_0x64e4x17){return handleError(_0x64e4x15,_0x64e4x17)})}};exports[_0x4ca0[105]]=function(_0x64e4x14,_0x64e4x15,_0x64e4x16){var _0x64e4x1e;return User[_0x4ca0[38]](_0x64e4x14[_0x4ca0[37]][_0x4ca0[36]],{attributes:[_0x4ca0[36]]})[_0x4ca0[25]](function(_0x64e4x1b){_0x64e4x1e=_0x64e4x1b;if(!_0x64e4x1e){return _0x64e4x15[_0x4ca0[34]](401)};switch(_0x64e4x14[_0x4ca0[37]][_0x4ca0[117]]){case _0x4ca0[108]:return _0x64e4x1e[_0x4ca0[107]]({attributes:[_0x4ca0[51]]});case _0x4ca0[110]:return _0x64e4x1e[_0x4ca0[109]]({attributes:[_0x4ca0[36],_0x4ca0[51]]});case _0x4ca0[112]:return _0x64e4x1e[_0x4ca0[111]]({attributes:[_0x4ca0[36],_0x4ca0[51]]});case _0x4ca0[114]:return _0x64e4x1e[_0x4ca0[113]]({attributes:[_0x4ca0[36],_0x4ca0[51]]});case _0x4ca0[116]:return _0x64e4x1e[_0x4ca0[115]]({attributes:[_0x4ca0[36],_0x4ca0[51]]});default:return _0x64e4x15[_0x4ca0[34]](401)}})[_0x4ca0[25]](function(_0x64e4x28){return _0x64e4x15[_0x4ca0[24]](200)[_0x4ca0[23]](_[_0x4ca0[106]](_0x64e4x28,function(_0x64e4x29){var _0x64e4x2a={name:_0x64e4x29[_0x4ca0[51]]};if(_0x64e4x29[_0x4ca0[36]]){_0x64e4x2a[_0x4ca0[36]]=_0x64e4x29[_0x4ca0[36]]};return _0x64e4x2a}))})[_0x4ca0[22]](function(_0x64e4x17){console[_0x4ca0[77]](_0x64e4x17);return handleError(_0x64e4x15,_0x64e4x17)})};exports[_0x4ca0[118]]=function(_0x64e4x14,_0x64e4x15,_0x64e4x16){console[_0x4ca0[46]](_0x64e4x14[_0x4ca0[37]],_0x64e4x14[_0x4ca0[41]]);var _0x64e4x1e;return User[_0x4ca0[38]](_0x64e4x14[_0x4ca0[37]][_0x4ca0[36]],{attributes:[_0x4ca0[36]]})[_0x4ca0[25]](function(_0x64e4x1b){_0x64e4x1e=_0x64e4x1b;if(!_0x64e4x1e){return _0x64e4x15[_0x4ca0[34]](401)};switch(_0x64e4x14[_0x4ca0[37]][_0x4ca0[117]]){case _0x4ca0[108]:return _0x64e4x1e[_0x4ca0[119]](_0x64e4x14[_0x4ca0[41]]);case _0x4ca0[110]:return _0x64e4x1e[_0x4ca0[120]](_0x64e4x14[_0x4ca0[41]]);case _0x4ca0[112]:return _0x64e4x1e[_0x4ca0[121]](_0x64e4x14[_0x4ca0[41]]);case _0x4ca0[114]:return _0x64e4x1e[_0x4ca0[122]](_0x64e4x14[_0x4ca0[41]]);case _0x4ca0[116]:return _0x64e4x1e[_0x4ca0[123]](_0x64e4x14[_0x4ca0[41]]);default:return _0x64e4x15[_0x4ca0[34]](401)}})[_0x4ca0[25]](function(_0x64e4x28){return _0x64e4x15[_0x4ca0[34]](200)})[_0x4ca0[22]](function(_0x64e4x17){console[_0x4ca0[77]](_0x64e4x17)})};exports[_0x4ca0[124]]=function(_0x64e4x14,_0x64e4x15,_0x64e4x16){console[_0x4ca0[46]](_0x64e4x14[_0x4ca0[37]],_0x64e4x14[_0x4ca0[41]],_0x64e4x14[_0x4ca0[125]],_0x64e4x14[_0x4ca0[26]]);var _0x64e4x1e;return User[_0x4ca0[38]](_0x64e4x14[_0x4ca0[37]][_0x4ca0[36]],{attributes:[_0x4ca0[36]]})[_0x4ca0[25]](function(_0x64e4x1b){_0x64e4x1e=_0x64e4x1b;if(!_0x64e4x1e){return _0x64e4x15[_0x4ca0[34]](401)};switch(_0x64e4x14[_0x4ca0[37]][_0x4ca0[117]]){case _0x4ca0[108]:return _0x64e4x1e[_0x4ca0[126]](_0x64e4x14[_0x4ca0[26]][_0x4ca0[54]]);case _0x4ca0[110]:return _0x64e4x1e[_0x4ca0[127]](_0x64e4x14[_0x4ca0[26]][_0x4ca0[54]]);case _0x4ca0[112]:return _0x64e4x1e[_0x4ca0[128]](_0x64e4x14[_0x4ca0[26]][_0x4ca0[54]]);case _0x4ca0[116]:return _0x64e4x1e[_0x4ca0[129]](_0x64e4x14[_0x4ca0[26]][_0x4ca0[54]]);case _0x4ca0[114]:return _0x64e4x1e[_0x4ca0[130]](_0x64e4x14[_0x4ca0[26]][_0x4ca0[54]]);default:return _0x64e4x15[_0x4ca0[34]](401)}})[_0x4ca0[25]](function(_0x64e4x28){return _0x64e4x15[_0x4ca0[34]](200)})[_0x4ca0[22]](function(_0x64e4x17){console[_0x4ca0[77]](_0x64e4x17)})};exports[_0x4ca0[131]]=function(_0x64e4x14,_0x64e4x15){var _0x64e4x2b={};_0x64e4x2b[_0x64e4x14[_0x4ca0[37]][_0x4ca0[132]]]=_0x64e4x14[_0x4ca0[41]][_0x4ca0[133]];return User[_0x4ca0[28]]({where:_0x64e4x2b})[_0x4ca0[25]](function(_0x64e4x18){if(_0x64e4x18[_0x4ca0[134]]){return _0x64e4x15[_0x4ca0[24]](200)[_0x4ca0[23]]({isValid:false,value:_0x64e4x14[_0x4ca0[41]][_0x4ca0[133]]})};return _0x64e4x15[_0x4ca0[24]](200)[_0x4ca0[23]]({isValid:true,value:_0x64e4x14[_0x4ca0[41]][_0x4ca0[133]]})})[_0x4ca0[22]](function(_0x64e4x17){return handleError(_0x64e4x15,_0x64e4x17)})};exports[_0x4ca0[135]]=function(_0x64e4x14,_0x64e4x15,_0x64e4x16){_0x64e4x15[_0x4ca0[137]](_0x4ca0[136])};function handleError(_0x64e4x15,_0x64e4x17){return _0x64e4x15[_0x4ca0[24]](500)[_0x4ca0[23]](_0x64e4x17)} \ No newline at end of file diff --git a/server/api/user/user.socket.js b/server/api/user/user.socket.js index f4cf684..cc57257 100644 --- a/server/api/user/user.socket.js +++ b/server/api/user/user.socket.js @@ -1 +1 @@ -var _0xe183=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x72\x6F\x6C\x65","\x75\x73\x65\x72","\x61\x64\x6D\x69\x6E","\x75\x73\x65\x72\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x75\x73\x65\x72\x3A\x72\x65\x6D\x6F\x76\x65"];_0xe183[0];var user=require(_0xe183[2])[_0xe183[1]];exports[_0xe183[3]]=function(_0x74c8x2){user[_0xe183[4]](function(_0x74c8x3){onSave(_0x74c8x2,_0x74c8x3)});user[_0xe183[5]](function(_0x74c8x3){onSave(_0x74c8x2,_0x74c8x3)});user[_0xe183[6]](function(_0x74c8x3){onRemove(_0x74c8x2,_0x74c8x3)})};function onSave(_0x74c8x2,_0x74c8x3,_0x74c8x5){if(_0x74c8x3[_0xe183[7]]===_0xe183[8]||_0x74c8x3[_0xe183[7]]===_0xe183[9]){_0x74c8x2[_0xe183[11]](_0xe183[10],_0x74c8x3)}}function onRemove(_0x74c8x2,_0x74c8x3,_0x74c8x5){if(_0x74c8x3[_0xe183[7]]===_0xe183[8]||_0x74c8x3[_0xe183[7]]===_0xe183[9]){_0x74c8x2[_0xe183[11]](_0xe183[12],_0x74c8x3)}} \ No newline at end of file +var _0x6e38=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x72\x6F\x6C\x65","\x75\x73\x65\x72","\x61\x64\x6D\x69\x6E","\x75\x73\x65\x72\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x75\x73\x65\x72\x3A\x72\x65\x6D\x6F\x76\x65"];_0x6e38[0];var user=require(_0x6e38[2])[_0x6e38[1]];exports[_0x6e38[3]]=function(_0xb6d8x2){user[_0x6e38[4]](function(_0xb6d8x3){onSave(_0xb6d8x2,_0xb6d8x3)});user[_0x6e38[5]](function(_0xb6d8x3){onSave(_0xb6d8x2,_0xb6d8x3)});user[_0x6e38[6]](function(_0xb6d8x3){onRemove(_0xb6d8x2,_0xb6d8x3)})};function onSave(_0xb6d8x2,_0xb6d8x3,_0xb6d8x5){if(_0xb6d8x3[_0x6e38[7]]===_0x6e38[8]||_0xb6d8x3[_0x6e38[7]]===_0x6e38[9]){_0xb6d8x2[_0x6e38[11]](_0x6e38[10],_0xb6d8x3)}}function onRemove(_0xb6d8x2,_0xb6d8x3,_0xb6d8x5){if(_0xb6d8x3[_0x6e38[7]]===_0x6e38[8]||_0xb6d8x3[_0x6e38[7]]===_0x6e38[9]){_0xb6d8x2[_0x6e38[11]](_0x6e38[12],_0xb6d8x3)}} \ No newline at end of file diff --git a/server/api/user_has_chat_queue/index.js b/server/api/user_has_chat_queue/index.js index 6d3fb44..1cddbf7 100644 --- a/server/api/user_has_chat_queue/index.js +++ b/server/api/user_has_chat_queue/index.js @@ -1 +1 @@ -var _0xa4ea=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xa4ea[0];var express=require(_0xa4ea[1]);var controller=require(_0xa4ea[2]);var router=express.Router();router[_0xa4ea[5]](_0xa4ea[3],controller[_0xa4ea[4]]);router[_0xa4ea[5]](_0xa4ea[6],controller[_0xa4ea[7]]);router[_0xa4ea[9]](_0xa4ea[3],controller[_0xa4ea[8]]);router[_0xa4ea[11]](_0xa4ea[6],controller[_0xa4ea[10]]);router[_0xa4ea[12]](_0xa4ea[6],controller[_0xa4ea[10]]);router[_0xa4ea[14]](_0xa4ea[6],controller[_0xa4ea[13]]);module[_0xa4ea[15]]=router \ No newline at end of file +var _0x4bff=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x4bff[0];var express=require(_0x4bff[1]);var controller=require(_0x4bff[2]);var router=express.Router();router[_0x4bff[5]](_0x4bff[3],controller[_0x4bff[4]]);router[_0x4bff[5]](_0x4bff[6],controller[_0x4bff[7]]);router[_0x4bff[9]](_0x4bff[3],controller[_0x4bff[8]]);router[_0x4bff[11]](_0x4bff[6],controller[_0x4bff[10]]);router[_0x4bff[12]](_0x4bff[6],controller[_0x4bff[10]]);router[_0x4bff[14]](_0x4bff[6],controller[_0x4bff[13]]);module[_0x4bff[15]]=router \ No newline at end of file diff --git a/server/api/user_has_chat_queue/user_has_chat_queue.controller.js b/server/api/user_has_chat_queue/user_has_chat_queue.controller.js index 43b3a67..3611b82 100644 --- a/server/api/user_has_chat_queue/user_has_chat_queue.controller.js +++ b/server/api/user_has_chat_queue/user_has_chat_queue.controller.js @@ -1 +1 @@ -var _0x987b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x55\x73\x65\x72\x48\x61\x73\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x66\x69\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79"];_0x987b[0];var _=require(_0x987b[1]);var UserHasChatQueue=require(_0x987b[3])[_0x987b[2]];exports[_0x987b[4]]=function(_0xccddx3,_0xccddx4){UserHasChatQueue[_0x987b[10]](_0xccddx3[_0x987b[9]]?{where:_0xccddx3[_0x987b[9]]}:{})[_0x987b[8]](function(_0xccddx6){return _0xccddx4[_0x987b[7]](200)[_0x987b[6]](_0xccddx6)})[_0x987b[5]](function(_0xccddx5){return handleError(_0xccddx4,_0xccddx5)})};exports[_0x987b[11]]=function(_0xccddx3,_0xccddx4){UserHasChatQueue[_0x987b[15]](_0xccddx3[_0x987b[14]][_0x987b[13]])[_0x987b[8]](function(_0xccddx7){if(!_0xccddx7){return _0xccddx4[_0x987b[12]](404)};return _0xccddx4[_0x987b[6]](_0xccddx7)})[_0x987b[5]](function(_0xccddx5){return handleError(_0xccddx4,_0xccddx5)})};exports[_0x987b[16]]=function(_0xccddx3,_0xccddx4){UserHasChatQueue[_0x987b[16]](_0xccddx3[_0x987b[17]])[_0x987b[8]](function(_0xccddx7){return _0xccddx4[_0x987b[7]](201)[_0x987b[6]](_0xccddx7)})[_0x987b[5]](function(_0xccddx5){return handleError(_0xccddx4,_0xccddx5)})};exports[_0x987b[18]]=function(_0xccddx3,_0xccddx4){if(_0xccddx3[_0x987b[17]][_0x987b[13]]){delete _0xccddx3[_0x987b[17]][_0x987b[13]]};UserHasChatQueue[_0x987b[21]]({where:{id:_0xccddx3[_0x987b[14]][_0x987b[13]]}})[_0x987b[8]](function(_0xccddx7){if(!_0xccddx7){return _0xccddx4[_0x987b[12]](404)};var _0xccddx8=_[_0x987b[19]](_0xccddx7,_0xccddx3[_0x987b[17]]);_0xccddx8[_0x987b[20]]()[_0x987b[8]](function(){return _0xccddx4[_0x987b[7]](200)[_0x987b[6]](_0xccddx7)})[_0x987b[5]](function(_0xccddx5){return handleError(_0xccddx4,_0xccddx5)})})[_0x987b[5]](function(_0xccddx5){return handleError(_0xccddx4,_0xccddx5)})};exports[_0x987b[22]]=function(_0xccddx3,_0xccddx4){UserHasChatQueue[_0x987b[21]]({where:{id:_0xccddx3[_0x987b[14]][_0x987b[13]]}})[_0x987b[8]](function(_0xccddx7){if(!_0xccddx7){return _0xccddx4[_0x987b[12]](404)};_0xccddx7[_0x987b[22]]()[_0x987b[8]](function(){return _0xccddx4[_0x987b[12]](204)})[_0x987b[5]](function(_0xccddx5){return handleError(_0xccddx4,_0xccddx5)})})[_0x987b[5]](function(_0xccddx5){return handleError(_0xccddx4,_0xccddx5)})};function handleError(_0xccddx4,_0xccddx5){return _0xccddx4[_0x987b[7]](500)[_0x987b[6]](_0xccddx5)} \ No newline at end of file +var _0xb987=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x55\x73\x65\x72\x48\x61\x73\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x66\x69\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79"];_0xb987[0];var _=require(_0xb987[1]);var UserHasChatQueue=require(_0xb987[3])[_0xb987[2]];exports[_0xb987[4]]=function(_0x74cdx3,_0x74cdx4){UserHasChatQueue[_0xb987[10]](_0x74cdx3[_0xb987[9]]?{where:_0x74cdx3[_0xb987[9]]}:{})[_0xb987[8]](function(_0x74cdx6){return _0x74cdx4[_0xb987[7]](200)[_0xb987[6]](_0x74cdx6)})[_0xb987[5]](function(_0x74cdx5){return handleError(_0x74cdx4,_0x74cdx5)})};exports[_0xb987[11]]=function(_0x74cdx3,_0x74cdx4){UserHasChatQueue[_0xb987[15]](_0x74cdx3[_0xb987[14]][_0xb987[13]])[_0xb987[8]](function(_0x74cdx7){if(!_0x74cdx7){return _0x74cdx4[_0xb987[12]](404)};return _0x74cdx4[_0xb987[6]](_0x74cdx7)})[_0xb987[5]](function(_0x74cdx5){return handleError(_0x74cdx4,_0x74cdx5)})};exports[_0xb987[16]]=function(_0x74cdx3,_0x74cdx4){UserHasChatQueue[_0xb987[16]](_0x74cdx3[_0xb987[17]])[_0xb987[8]](function(_0x74cdx7){return _0x74cdx4[_0xb987[7]](201)[_0xb987[6]](_0x74cdx7)})[_0xb987[5]](function(_0x74cdx5){return handleError(_0x74cdx4,_0x74cdx5)})};exports[_0xb987[18]]=function(_0x74cdx3,_0x74cdx4){if(_0x74cdx3[_0xb987[17]][_0xb987[13]]){delete _0x74cdx3[_0xb987[17]][_0xb987[13]]};UserHasChatQueue[_0xb987[21]]({where:{id:_0x74cdx3[_0xb987[14]][_0xb987[13]]}})[_0xb987[8]](function(_0x74cdx7){if(!_0x74cdx7){return _0x74cdx4[_0xb987[12]](404)};var _0x74cdx8=_[_0xb987[19]](_0x74cdx7,_0x74cdx3[_0xb987[17]]);_0x74cdx8[_0xb987[20]]()[_0xb987[8]](function(){return _0x74cdx4[_0xb987[7]](200)[_0xb987[6]](_0x74cdx7)})[_0xb987[5]](function(_0x74cdx5){return handleError(_0x74cdx4,_0x74cdx5)})})[_0xb987[5]](function(_0x74cdx5){return handleError(_0x74cdx4,_0x74cdx5)})};exports[_0xb987[22]]=function(_0x74cdx3,_0x74cdx4){UserHasChatQueue[_0xb987[21]]({where:{id:_0x74cdx3[_0xb987[14]][_0xb987[13]]}})[_0xb987[8]](function(_0x74cdx7){if(!_0x74cdx7){return _0x74cdx4[_0xb987[12]](404)};_0x74cdx7[_0xb987[22]]()[_0xb987[8]](function(){return _0x74cdx4[_0xb987[12]](204)})[_0xb987[5]](function(_0x74cdx5){return handleError(_0x74cdx4,_0x74cdx5)})})[_0xb987[5]](function(_0x74cdx5){return handleError(_0x74cdx4,_0x74cdx5)})};function handleError(_0x74cdx4,_0x74cdx5){return _0x74cdx4[_0xb987[7]](500)[_0xb987[6]](_0x74cdx5)} \ No newline at end of file diff --git a/server/api/user_has_chat_queue/user_has_chat_queue.socket.js b/server/api/user_has_chat_queue/user_has_chat_queue.socket.js index beb4947..5ef8761 100644 --- a/server/api/user_has_chat_queue/user_has_chat_queue.socket.js +++ b/server/api/user_has_chat_queue/user_has_chat_queue.socket.js @@ -1 +1 @@ -var _0x14e9=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x55\x73\x65\x72\x48\x61\x73\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72\x48\x61\x73\x43\x68\x61\x74\x51\x75\x65\x75\x65\x50\x65\x72\x6D\x69\x74","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x75\x73\x65\x72\x49\x64","\x55\x73\x65\x72\x69\x64","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65\x5F\x70\x65\x72\x6D\x69\x74\x3A\x63\x68\x61\x6E\x67\x65","\x65\x6D\x69\x74","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65\x3A\x73\x61\x76\x65","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x14e9[0];var UserHasChatQueue=require(_0x14e9[2])[_0x14e9[1]];var UserHasChatQueuePermit=require(_0x14e9[2])[_0x14e9[3]];exports[_0x14e9[4]]=function(_0x9cccx3){UserHasChatQueue[_0x14e9[5]](function(_0x9cccx4){onSave(_0x9cccx3,_0x9cccx4)});UserHasChatQueue[_0x14e9[6]](function(_0x9cccx4){onRemove(_0x9cccx3,_0x9cccx4)});UserHasChatQueuePermit[_0x14e9[5]](function(_0x9cccx4){permitChange(_0x9cccx3,_0x9cccx4)});UserHasChatQueuePermit[_0x14e9[6]](function(_0x9cccx4){permitChange(_0x9cccx3,_0x9cccx4)})};function permitChange(_0x9cccx3,_0x9cccx4){if(_0x9cccx3[_0x14e9[7]]==_0x9cccx4[_0x14e9[8]]){_0x9cccx3[_0x14e9[10]](_0x14e9[9])}}function onSave(_0x9cccx3,_0x9cccx4,_0x9cccx7){_0x9cccx3[_0x14e9[10]](_0x14e9[11],_0x9cccx4)}function onRemove(_0x9cccx3,_0x9cccx4,_0x9cccx7){_0x9cccx3[_0x14e9[10]](_0x14e9[12],_0x9cccx4)} \ No newline at end of file +var _0xcf22=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x55\x73\x65\x72\x48\x61\x73\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72\x48\x61\x73\x43\x68\x61\x74\x51\x75\x65\x75\x65\x50\x65\x72\x6D\x69\x74","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x75\x73\x65\x72\x49\x64","\x55\x73\x65\x72\x69\x64","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65\x5F\x70\x65\x72\x6D\x69\x74\x3A\x63\x68\x61\x6E\x67\x65","\x65\x6D\x69\x74","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65\x3A\x73\x61\x76\x65","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0xcf22[0];var UserHasChatQueue=require(_0xcf22[2])[_0xcf22[1]];var UserHasChatQueuePermit=require(_0xcf22[2])[_0xcf22[3]];exports[_0xcf22[4]]=function(_0x38e8x3){UserHasChatQueue[_0xcf22[5]](function(_0x38e8x4){onSave(_0x38e8x3,_0x38e8x4)});UserHasChatQueue[_0xcf22[6]](function(_0x38e8x4){onRemove(_0x38e8x3,_0x38e8x4)});UserHasChatQueuePermit[_0xcf22[5]](function(_0x38e8x4){permitChange(_0x38e8x3,_0x38e8x4)});UserHasChatQueuePermit[_0xcf22[6]](function(_0x38e8x4){permitChange(_0x38e8x3,_0x38e8x4)})};function permitChange(_0x38e8x3,_0x38e8x4){if(_0x38e8x3[_0xcf22[7]]==_0x38e8x4[_0xcf22[8]]){_0x38e8x3[_0xcf22[10]](_0xcf22[9])}}function onSave(_0x38e8x3,_0x38e8x4,_0x38e8x7){_0x38e8x3[_0xcf22[10]](_0xcf22[11],_0x38e8x4)}function onRemove(_0x38e8x3,_0x38e8x4,_0x38e8x7){_0x38e8x3[_0xcf22[10]](_0xcf22[12],_0x38e8x4)} \ No newline at end of file diff --git a/server/api/user_has_chat_room/index.js b/server/api/user_has_chat_room/index.js index 8991640..59f0ca9 100644 --- a/server/api/user_has_chat_room/index.js +++ b/server/api/user_has_chat_room/index.js @@ -1 +1 @@ -var _0xa4ed=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F\x3A\x75\x73\x65\x72\x49\x64\x2F\x3A\x63\x68\x61\x74\x52\x6F\x6F\x6D\x49\x64","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0xa4ed[0];var express=require(_0xa4ed[1]);var controller=require(_0xa4ed[2]);var auth=require(_0xa4ed[3]);var router=express.Router();router[_0xa4ed[6]](_0xa4ed[4],controller[_0xa4ed[5]]);module[_0xa4ed[7]]=router \ No newline at end of file +var _0x906f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F\x3A\x75\x73\x65\x72\x49\x64\x2F\x3A\x63\x68\x61\x74\x52\x6F\x6F\x6D\x49\x64","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x906f[0];var express=require(_0x906f[1]);var controller=require(_0x906f[2]);var auth=require(_0x906f[3]);var router=express.Router();router[_0x906f[6]](_0x906f[4],controller[_0x906f[5]]);module[_0x906f[7]]=router \ No newline at end of file diff --git a/server/api/user_has_chat_room/user_has_chat_room.controller.js b/server/api/user_has_chat_room/user_has_chat_room.controller.js index 936ea30..db05fde 100644 --- a/server/api/user_has_chat_room/user_has_chat_room.controller.js +++ b/server/api/user_has_chat_room/user_has_chat_room.controller.js @@ -1 +1 @@ -var _0x4a96=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x55\x73\x65\x72\x48\x61\x73\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x75\x73\x65\x72\x49\x64","\x63\x68\x61\x74\x52\x6F\x6F\x6D\x49\x64","\x66\x69\x6E\x64\x4F\x6E\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0x4a96[0];var _=require(_0x4a96[1]);var UserHasChatRoom=require(_0x4a96[3])[_0x4a96[2]];exports[_0x4a96[4]]=function(_0x31bex3,_0x31bex4){UserHasChatRoom[_0x4a96[9]]()[_0x4a96[8]](function(_0x31bex6){return _0x31bex4[_0x4a96[7]](200)[_0x4a96[6]](_0x31bex6)})[_0x4a96[5]](function(_0x31bex5){return handleError(_0x31bex4,_0x31bex5)})};exports[_0x4a96[10]]=function(_0x31bex3,_0x31bex4){UserHasChatRoom[_0x4a96[14]](_0x31bex3[_0x4a96[13]][_0x4a96[12]])[_0x4a96[8]](function(_0x31bex7){if(!_0x31bex7){return _0x31bex4[_0x4a96[11]](404)};return _0x31bex4[_0x4a96[6]](_0x31bex7)})[_0x4a96[5]](function(_0x31bex5){return handleError(_0x31bex4,_0x31bex5)})};exports[_0x4a96[15]]=function(_0x31bex3,_0x31bex4){UserHasChatRoom[_0x4a96[15]](_0x31bex3[_0x4a96[16]])[_0x4a96[8]](function(_0x31bex7){return _0x31bex4[_0x4a96[7]](201)[_0x4a96[6]](_0x31bex7)})[_0x4a96[5]](function(_0x31bex5){return handleError(_0x31bex4,_0x31bex5)})};exports[_0x4a96[17]]=function(_0x31bex3,_0x31bex4){UserHasChatRoom[_0x4a96[21]]({where:{UserId:_0x31bex3[_0x4a96[13]][_0x4a96[19]],ChatRoomId:_0x31bex3[_0x4a96[13]][_0x4a96[20]]},limit:1})[_0x4a96[8]](function(_0x31bex7){if(!_0x31bex7){return _0x31bex4[_0x4a96[11]](404)};_0x31bex7[_0x4a96[18]](_0x31bex3[_0x4a96[16]])[_0x4a96[8]](function(){return _0x31bex4[_0x4a96[7]](200)[_0x4a96[6]](_0x31bex7)})[_0x4a96[5]](function(_0x31bex5){return handleError(_0x31bex4,_0x31bex5)})})[_0x4a96[5]](function(_0x31bex5){return handleError(_0x31bex4,_0x31bex5)})};exports[_0x4a96[22]]=function(_0x31bex3,_0x31bex4){UserHasChatRoom[_0x4a96[14]](_0x31bex3[_0x4a96[13]][_0x4a96[12]])[_0x4a96[8]](function(_0x31bex7){if(!_0x31bex7){return _0x31bex4[_0x4a96[11]](404)};_0x31bex7[_0x4a96[22]]()[_0x4a96[8]](function(){return _0x31bex4[_0x4a96[11]](204)})[_0x4a96[5]](function(_0x31bex5){return handleError(_0x31bex4,_0x31bex5)})})[_0x4a96[5]](function(_0x31bex5){return handleError(_0x31bex4,_0x31bex5)})};function handleError(_0x31bex4,_0x31bex5){return _0x31bex4[_0x4a96[7]](500)[_0x4a96[6]](_0x31bex5)} \ No newline at end of file +var _0xdb98=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x55\x73\x65\x72\x48\x61\x73\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x75\x73\x65\x72\x49\x64","\x63\x68\x61\x74\x52\x6F\x6F\x6D\x49\x64","\x66\x69\x6E\x64\x4F\x6E\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0xdb98[0];var _=require(_0xdb98[1]);var UserHasChatRoom=require(_0xdb98[3])[_0xdb98[2]];exports[_0xdb98[4]]=function(_0x5066x3,_0x5066x4){UserHasChatRoom[_0xdb98[9]]()[_0xdb98[8]](function(_0x5066x6){return _0x5066x4[_0xdb98[7]](200)[_0xdb98[6]](_0x5066x6)})[_0xdb98[5]](function(_0x5066x5){return handleError(_0x5066x4,_0x5066x5)})};exports[_0xdb98[10]]=function(_0x5066x3,_0x5066x4){UserHasChatRoom[_0xdb98[14]](_0x5066x3[_0xdb98[13]][_0xdb98[12]])[_0xdb98[8]](function(_0x5066x7){if(!_0x5066x7){return _0x5066x4[_0xdb98[11]](404)};return _0x5066x4[_0xdb98[6]](_0x5066x7)})[_0xdb98[5]](function(_0x5066x5){return handleError(_0x5066x4,_0x5066x5)})};exports[_0xdb98[15]]=function(_0x5066x3,_0x5066x4){UserHasChatRoom[_0xdb98[15]](_0x5066x3[_0xdb98[16]])[_0xdb98[8]](function(_0x5066x7){return _0x5066x4[_0xdb98[7]](201)[_0xdb98[6]](_0x5066x7)})[_0xdb98[5]](function(_0x5066x5){return handleError(_0x5066x4,_0x5066x5)})};exports[_0xdb98[17]]=function(_0x5066x3,_0x5066x4){UserHasChatRoom[_0xdb98[21]]({where:{UserId:_0x5066x3[_0xdb98[13]][_0xdb98[19]],ChatRoomId:_0x5066x3[_0xdb98[13]][_0xdb98[20]]},limit:1})[_0xdb98[8]](function(_0x5066x7){if(!_0x5066x7){return _0x5066x4[_0xdb98[11]](404)};_0x5066x7[_0xdb98[18]](_0x5066x3[_0xdb98[16]])[_0xdb98[8]](function(){return _0x5066x4[_0xdb98[7]](200)[_0xdb98[6]](_0x5066x7)})[_0xdb98[5]](function(_0x5066x5){return handleError(_0x5066x4,_0x5066x5)})})[_0xdb98[5]](function(_0x5066x5){return handleError(_0x5066x4,_0x5066x5)})};exports[_0xdb98[22]]=function(_0x5066x3,_0x5066x4){UserHasChatRoom[_0xdb98[14]](_0x5066x3[_0xdb98[13]][_0xdb98[12]])[_0xdb98[8]](function(_0x5066x7){if(!_0x5066x7){return _0x5066x4[_0xdb98[11]](404)};_0x5066x7[_0xdb98[22]]()[_0xdb98[8]](function(){return _0x5066x4[_0xdb98[11]](204)})[_0xdb98[5]](function(_0x5066x5){return handleError(_0x5066x4,_0x5066x5)})})[_0xdb98[5]](function(_0x5066x5){return handleError(_0x5066x4,_0x5066x5)})};function handleError(_0x5066x4,_0x5066x5){return _0x5066x4[_0xdb98[7]](500)[_0xdb98[6]](_0x5066x5)} \ No newline at end of file diff --git a/server/api/user_has_chat_room/user_has_chat_room.socket.js b/server/api/user_has_chat_room/user_has_chat_room.socket.js index 1213fb4..cbacea7 100644 --- a/server/api/user_has_chat_room/user_has_chat_room.socket.js +++ b/server/api/user_has_chat_room/user_has_chat_room.socket.js @@ -1 +1 @@ -var _0xe1f4=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x43\x68\x61\x74\x4D\x65\x73\x73\x61\x67\x65","\x55\x73\x65\x72\x48\x61\x73\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x75\x73\x65\x72\x49\x64","\x69\x64","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x66\x6F\x72\x45\x61\x63\x68","\x55\x73\x65\x72\x73","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x3A\x72\x65\x6D\x6F\x76\x65"];_0xe1f4[0];var _=require(_0xe1f4[1]);var User=require(_0xe1f4[3])[_0xe1f4[2]];var ChatRoom=require(_0xe1f4[3])[_0xe1f4[4]];var ChatVisitor=require(_0xe1f4[3])[_0xe1f4[5]];var ChatMessage=require(_0xe1f4[3])[_0xe1f4[6]];var UserHasChatRoom=require(_0xe1f4[3])[_0xe1f4[7]];exports[_0xe1f4[8]]=function(_0xcee1x7){UserHasChatRoom[_0xe1f4[9]](function(_0xcee1x8){onSave(_0xcee1x7,_0xcee1x8)});UserHasChatRoom[_0xe1f4[10]](function(_0xcee1x8){onRemove(_0xcee1x7,_0xcee1x8)})};function onSave(_0xcee1x7,_0xcee1x8){return ChatRoom[_0xe1f4[20]](_0xcee1x8.ChatRoomId,{include:[{model:User,attributes:[_0xe1f4[14]]}]})[_0xe1f4[19]](function(_0xcee1xb){_0xcee1xb[_0xe1f4[18]][_0xe1f4[17]](function(_0xcee1xc){if(_0xcee1x7[_0xe1f4[13]]==_0xcee1xc[_0xe1f4[14]]){_0xcee1x7[_0xe1f4[16]](_0xe1f4[15],_0xcee1x8)}})})[_0xe1f4[12]](function(_0xcee1xa){console[_0xe1f4[11]](_0xcee1xa)})}function onRemove(_0xcee1x7,_0xcee1x8){_0xcee1x7[_0xe1f4[16]](_0xe1f4[21],_0xcee1x8)} \ No newline at end of file +var _0x7bc7=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x43\x68\x61\x74\x4D\x65\x73\x73\x61\x67\x65","\x55\x73\x65\x72\x48\x61\x73\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x75\x73\x65\x72\x49\x64","\x69\x64","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x66\x6F\x72\x45\x61\x63\x68","\x55\x73\x65\x72\x73","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x3A\x72\x65\x6D\x6F\x76\x65"];_0x7bc7[0];var _=require(_0x7bc7[1]);var User=require(_0x7bc7[3])[_0x7bc7[2]];var ChatRoom=require(_0x7bc7[3])[_0x7bc7[4]];var ChatVisitor=require(_0x7bc7[3])[_0x7bc7[5]];var ChatMessage=require(_0x7bc7[3])[_0x7bc7[6]];var UserHasChatRoom=require(_0x7bc7[3])[_0x7bc7[7]];exports[_0x7bc7[8]]=function(_0x2bf8x7){UserHasChatRoom[_0x7bc7[9]](function(_0x2bf8x8){onSave(_0x2bf8x7,_0x2bf8x8)});UserHasChatRoom[_0x7bc7[10]](function(_0x2bf8x8){onRemove(_0x2bf8x7,_0x2bf8x8)})};function onSave(_0x2bf8x7,_0x2bf8x8){return ChatRoom[_0x7bc7[20]](_0x2bf8x8.ChatRoomId,{include:[{model:User,attributes:[_0x7bc7[14]]}]})[_0x7bc7[19]](function(_0x2bf8xb){_0x2bf8xb[_0x7bc7[18]][_0x7bc7[17]](function(_0x2bf8xc){if(_0x2bf8x7[_0x7bc7[13]]==_0x2bf8xc[_0x7bc7[14]]){_0x2bf8x7[_0x7bc7[16]](_0x7bc7[15],_0x2bf8x8)}})})[_0x7bc7[12]](function(_0x2bf8xa){console[_0x7bc7[11]](_0x2bf8xa)})}function onRemove(_0x2bf8x7,_0x2bf8x8){_0x2bf8x7[_0x7bc7[16]](_0x7bc7[21],_0x2bf8x8)} \ No newline at end of file diff --git a/server/api/user_has_fax_queue/index.js b/server/api/user_has_fax_queue/index.js index 4acce0a..db308ab 100644 --- a/server/api/user_has_fax_queue/index.js +++ b/server/api/user_has_fax_queue/index.js @@ -1 +1 @@ -var _0xb96d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xb96d[0];var express=require(_0xb96d[1]);var controller=require(_0xb96d[2]);var router=express.Router();router[_0xb96d[5]](_0xb96d[3],controller[_0xb96d[4]]);router[_0xb96d[5]](_0xb96d[6],controller[_0xb96d[7]]);router[_0xb96d[9]](_0xb96d[3],controller[_0xb96d[8]]);router[_0xb96d[11]](_0xb96d[6],controller[_0xb96d[10]]);router[_0xb96d[12]](_0xb96d[6],controller[_0xb96d[10]]);router[_0xb96d[14]](_0xb96d[6],controller[_0xb96d[13]]);module[_0xb96d[15]]=router \ No newline at end of file +var _0x4a14=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x4a14[0];var express=require(_0x4a14[1]);var controller=require(_0x4a14[2]);var router=express.Router();router[_0x4a14[5]](_0x4a14[3],controller[_0x4a14[4]]);router[_0x4a14[5]](_0x4a14[6],controller[_0x4a14[7]]);router[_0x4a14[9]](_0x4a14[3],controller[_0x4a14[8]]);router[_0x4a14[11]](_0x4a14[6],controller[_0x4a14[10]]);router[_0x4a14[12]](_0x4a14[6],controller[_0x4a14[10]]);router[_0x4a14[14]](_0x4a14[6],controller[_0x4a14[13]]);module[_0x4a14[15]]=router \ No newline at end of file diff --git a/server/api/user_has_fax_queue/user_has_fax_queue.controller.js b/server/api/user_has_fax_queue/user_has_fax_queue.controller.js index e3017a4..ca4fe2e 100644 --- a/server/api/user_has_fax_queue/user_has_fax_queue.controller.js +++ b/server/api/user_has_fax_queue/user_has_fax_queue.controller.js @@ -1 +1 @@ -var _0xc5a3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x55\x73\x65\x72\x48\x61\x73\x46\x61\x78\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x66\x69\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79"];_0xc5a3[0];var _=require(_0xc5a3[1]);var UserHasFaxQueue=require(_0xc5a3[3])[_0xc5a3[2]];exports[_0xc5a3[4]]=function(_0x48abx3,_0x48abx4){UserHasFaxQueue[_0xc5a3[10]](_0x48abx3[_0xc5a3[9]]?{where:_0x48abx3[_0xc5a3[9]]}:{})[_0xc5a3[8]](function(_0x48abx6){return _0x48abx4[_0xc5a3[7]](200)[_0xc5a3[6]](_0x48abx6)})[_0xc5a3[5]](function(_0x48abx5){return handleError(_0x48abx4,_0x48abx5)})};exports[_0xc5a3[11]]=function(_0x48abx3,_0x48abx4){UserHasFaxQueue[_0xc5a3[15]](_0x48abx3[_0xc5a3[14]][_0xc5a3[13]])[_0xc5a3[8]](function(_0x48abx7){if(!_0x48abx7){return _0x48abx4[_0xc5a3[12]](404)};return _0x48abx4[_0xc5a3[6]](_0x48abx7)})[_0xc5a3[5]](function(_0x48abx5){return handleError(_0x48abx4,_0x48abx5)})};exports[_0xc5a3[16]]=function(_0x48abx3,_0x48abx4){UserHasFaxQueue[_0xc5a3[16]](_0x48abx3[_0xc5a3[17]])[_0xc5a3[8]](function(_0x48abx7){return _0x48abx4[_0xc5a3[7]](201)[_0xc5a3[6]](_0x48abx7)})[_0xc5a3[5]](function(_0x48abx5){return handleError(_0x48abx4,_0x48abx5)})};exports[_0xc5a3[18]]=function(_0x48abx3,_0x48abx4){if(_0x48abx3[_0xc5a3[17]][_0xc5a3[13]]){delete _0x48abx3[_0xc5a3[17]][_0xc5a3[13]]};UserHasFaxQueue[_0xc5a3[21]]({where:{id:_0x48abx3[_0xc5a3[14]][_0xc5a3[13]]}})[_0xc5a3[8]](function(_0x48abx7){if(!_0x48abx7){return _0x48abx4[_0xc5a3[12]](404)};var _0x48abx8=_[_0xc5a3[19]](_0x48abx7,_0x48abx3[_0xc5a3[17]]);_0x48abx8[_0xc5a3[20]]()[_0xc5a3[8]](function(){return _0x48abx4[_0xc5a3[7]](200)[_0xc5a3[6]](_0x48abx7)})[_0xc5a3[5]](function(_0x48abx5){return handleError(_0x48abx4,_0x48abx5)})})[_0xc5a3[5]](function(_0x48abx5){return handleError(_0x48abx4,_0x48abx5)})};exports[_0xc5a3[22]]=function(_0x48abx3,_0x48abx4){UserHasFaxQueue[_0xc5a3[21]]({where:{id:_0x48abx3[_0xc5a3[14]][_0xc5a3[13]]}})[_0xc5a3[8]](function(_0x48abx7){if(!_0x48abx7){return _0x48abx4[_0xc5a3[12]](404)};_0x48abx7[_0xc5a3[22]]()[_0xc5a3[8]](function(){return _0x48abx4[_0xc5a3[12]](204)})[_0xc5a3[5]](function(_0x48abx5){return handleError(_0x48abx4,_0x48abx5)})})[_0xc5a3[5]](function(_0x48abx5){return handleError(_0x48abx4,_0x48abx5)})};function handleError(_0x48abx4,_0x48abx5){return _0x48abx4[_0xc5a3[7]](500)[_0xc5a3[6]](_0x48abx5)} \ No newline at end of file +var _0xa1d5=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x55\x73\x65\x72\x48\x61\x73\x46\x61\x78\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x66\x69\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79"];_0xa1d5[0];var _=require(_0xa1d5[1]);var UserHasFaxQueue=require(_0xa1d5[3])[_0xa1d5[2]];exports[_0xa1d5[4]]=function(_0x985fx3,_0x985fx4){UserHasFaxQueue[_0xa1d5[10]](_0x985fx3[_0xa1d5[9]]?{where:_0x985fx3[_0xa1d5[9]]}:{})[_0xa1d5[8]](function(_0x985fx6){return _0x985fx4[_0xa1d5[7]](200)[_0xa1d5[6]](_0x985fx6)})[_0xa1d5[5]](function(_0x985fx5){return handleError(_0x985fx4,_0x985fx5)})};exports[_0xa1d5[11]]=function(_0x985fx3,_0x985fx4){UserHasFaxQueue[_0xa1d5[15]](_0x985fx3[_0xa1d5[14]][_0xa1d5[13]])[_0xa1d5[8]](function(_0x985fx7){if(!_0x985fx7){return _0x985fx4[_0xa1d5[12]](404)};return _0x985fx4[_0xa1d5[6]](_0x985fx7)})[_0xa1d5[5]](function(_0x985fx5){return handleError(_0x985fx4,_0x985fx5)})};exports[_0xa1d5[16]]=function(_0x985fx3,_0x985fx4){UserHasFaxQueue[_0xa1d5[16]](_0x985fx3[_0xa1d5[17]])[_0xa1d5[8]](function(_0x985fx7){return _0x985fx4[_0xa1d5[7]](201)[_0xa1d5[6]](_0x985fx7)})[_0xa1d5[5]](function(_0x985fx5){return handleError(_0x985fx4,_0x985fx5)})};exports[_0xa1d5[18]]=function(_0x985fx3,_0x985fx4){if(_0x985fx3[_0xa1d5[17]][_0xa1d5[13]]){delete _0x985fx3[_0xa1d5[17]][_0xa1d5[13]]};UserHasFaxQueue[_0xa1d5[21]]({where:{id:_0x985fx3[_0xa1d5[14]][_0xa1d5[13]]}})[_0xa1d5[8]](function(_0x985fx7){if(!_0x985fx7){return _0x985fx4[_0xa1d5[12]](404)};var _0x985fx8=_[_0xa1d5[19]](_0x985fx7,_0x985fx3[_0xa1d5[17]]);_0x985fx8[_0xa1d5[20]]()[_0xa1d5[8]](function(){return _0x985fx4[_0xa1d5[7]](200)[_0xa1d5[6]](_0x985fx7)})[_0xa1d5[5]](function(_0x985fx5){return handleError(_0x985fx4,_0x985fx5)})})[_0xa1d5[5]](function(_0x985fx5){return handleError(_0x985fx4,_0x985fx5)})};exports[_0xa1d5[22]]=function(_0x985fx3,_0x985fx4){UserHasFaxQueue[_0xa1d5[21]]({where:{id:_0x985fx3[_0xa1d5[14]][_0xa1d5[13]]}})[_0xa1d5[8]](function(_0x985fx7){if(!_0x985fx7){return _0x985fx4[_0xa1d5[12]](404)};_0x985fx7[_0xa1d5[22]]()[_0xa1d5[8]](function(){return _0x985fx4[_0xa1d5[12]](204)})[_0xa1d5[5]](function(_0x985fx5){return handleError(_0x985fx4,_0x985fx5)})})[_0xa1d5[5]](function(_0x985fx5){return handleError(_0x985fx4,_0x985fx5)})};function handleError(_0x985fx4,_0x985fx5){return _0x985fx4[_0xa1d5[7]](500)[_0xa1d5[6]](_0x985fx5)} \ No newline at end of file diff --git a/server/api/user_has_fax_queue/user_has_fax_queue.socket.js b/server/api/user_has_fax_queue/user_has_fax_queue.socket.js index bb04ae1..cb4bb56 100644 --- a/server/api/user_has_fax_queue/user_has_fax_queue.socket.js +++ b/server/api/user_has_fax_queue/user_has_fax_queue.socket.js @@ -1 +1 @@ -var _0xeaa1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x55\x73\x65\x72\x48\x61\x73\x46\x61\x78\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72\x48\x61\x73\x46\x61\x78\x51\x75\x65\x75\x65\x50\x65\x72\x6D\x69\x74","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x61\x66\x74\x65\x72\x42\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x42\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x75\x73\x65\x72\x49\x64","\x55\x73\x65\x72\x69\x64","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x5F\x70\x65\x72\x6D\x69\x74\x3A\x63\x68\x61\x6E\x67\x65","\x65\x6D\x69\x74","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x3A\x73\x61\x76\x65","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0xeaa1[0];var UserHasFaxQueue=require(_0xeaa1[2])[_0xeaa1[1]];var UserHasFaxQueuePermit=require(_0xeaa1[2])[_0xeaa1[3]];exports[_0xeaa1[4]]=function(_0xc7c0x3){UserHasFaxQueue[_0xeaa1[5]](function(_0xc7c0x4){onSave(_0xc7c0x3,_0xc7c0x4)});UserHasFaxQueue[_0xeaa1[6]](function(_0xc7c0x4){onRemove(_0xc7c0x3,_0xc7c0x4)});UserHasFaxQueue[_0xeaa1[7]](function(_0xc7c0x4){onSave(_0xc7c0x3,_0xc7c0x4)});UserHasFaxQueue[_0xeaa1[8]](function(_0xc7c0x4){onRemove(_0xc7c0x3,_0xc7c0x4)});UserHasFaxQueuePermit[_0xeaa1[5]](function(_0xc7c0x4){permitChange(_0xc7c0x3,_0xc7c0x4)});UserHasFaxQueuePermit[_0xeaa1[6]](function(_0xc7c0x4){permitChange(_0xc7c0x3,_0xc7c0x4)})};function permitChange(_0xc7c0x3,_0xc7c0x4){if(_0xc7c0x3[_0xeaa1[9]]==_0xc7c0x4[_0xeaa1[10]]){_0xc7c0x3[_0xeaa1[12]](_0xeaa1[11])}}function onSave(_0xc7c0x3,_0xc7c0x4,_0xc7c0x7){_0xc7c0x3[_0xeaa1[12]](_0xeaa1[13],_0xc7c0x4)}function onRemove(_0xc7c0x3,_0xc7c0x4,_0xc7c0x7){_0xc7c0x3[_0xeaa1[12]](_0xeaa1[14],_0xc7c0x4)} \ No newline at end of file +var _0xeded=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x55\x73\x65\x72\x48\x61\x73\x46\x61\x78\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72\x48\x61\x73\x46\x61\x78\x51\x75\x65\x75\x65\x50\x65\x72\x6D\x69\x74","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x61\x66\x74\x65\x72\x42\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x42\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x75\x73\x65\x72\x49\x64","\x55\x73\x65\x72\x69\x64","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x5F\x70\x65\x72\x6D\x69\x74\x3A\x63\x68\x61\x6E\x67\x65","\x65\x6D\x69\x74","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x3A\x73\x61\x76\x65","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0xeded[0];var UserHasFaxQueue=require(_0xeded[2])[_0xeded[1]];var UserHasFaxQueuePermit=require(_0xeded[2])[_0xeded[3]];exports[_0xeded[4]]=function(_0x7fa4x3){UserHasFaxQueue[_0xeded[5]](function(_0x7fa4x4){onSave(_0x7fa4x3,_0x7fa4x4)});UserHasFaxQueue[_0xeded[6]](function(_0x7fa4x4){onRemove(_0x7fa4x3,_0x7fa4x4)});UserHasFaxQueue[_0xeded[7]](function(_0x7fa4x4){onSave(_0x7fa4x3,_0x7fa4x4)});UserHasFaxQueue[_0xeded[8]](function(_0x7fa4x4){onRemove(_0x7fa4x3,_0x7fa4x4)});UserHasFaxQueuePermit[_0xeded[5]](function(_0x7fa4x4){permitChange(_0x7fa4x3,_0x7fa4x4)});UserHasFaxQueuePermit[_0xeded[6]](function(_0x7fa4x4){permitChange(_0x7fa4x3,_0x7fa4x4)})};function permitChange(_0x7fa4x3,_0x7fa4x4){if(_0x7fa4x3[_0xeded[9]]==_0x7fa4x4[_0xeded[10]]){_0x7fa4x3[_0xeded[12]](_0xeded[11])}}function onSave(_0x7fa4x3,_0x7fa4x4,_0x7fa4x7){_0x7fa4x3[_0xeded[12]](_0xeded[13],_0x7fa4x4)}function onRemove(_0x7fa4x3,_0x7fa4x4,_0x7fa4x7){_0x7fa4x3[_0xeded[12]](_0xeded[14],_0x7fa4x4)} \ No newline at end of file diff --git a/server/api/user_has_list/index.js b/server/api/user_has_list/index.js index 855a18a..22462fd 100644 --- a/server/api/user_has_list/index.js +++ b/server/api/user_has_list/index.js @@ -1 +1 @@ -var _0xf5ab=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6C\x69\x73\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xf5ab[0];var express=require(_0xf5ab[1]);var controller=require(_0xf5ab[2]);var router=express.Router();router[_0xf5ab[5]](_0xf5ab[3],controller[_0xf5ab[4]]);router[_0xf5ab[5]](_0xf5ab[6],controller[_0xf5ab[7]]);router[_0xf5ab[9]](_0xf5ab[3],controller[_0xf5ab[8]]);router[_0xf5ab[11]](_0xf5ab[6],controller[_0xf5ab[10]]);router[_0xf5ab[12]](_0xf5ab[6],controller[_0xf5ab[10]]);router[_0xf5ab[14]](_0xf5ab[6],controller[_0xf5ab[13]]);module[_0xf5ab[15]]=router \ No newline at end of file +var _0xbe15=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6C\x69\x73\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xbe15[0];var express=require(_0xbe15[1]);var controller=require(_0xbe15[2]);var router=express.Router();router[_0xbe15[5]](_0xbe15[3],controller[_0xbe15[4]]);router[_0xbe15[5]](_0xbe15[6],controller[_0xbe15[7]]);router[_0xbe15[9]](_0xbe15[3],controller[_0xbe15[8]]);router[_0xbe15[11]](_0xbe15[6],controller[_0xbe15[10]]);router[_0xbe15[12]](_0xbe15[6],controller[_0xbe15[10]]);router[_0xbe15[14]](_0xbe15[6],controller[_0xbe15[13]]);module[_0xbe15[15]]=router \ No newline at end of file diff --git a/server/api/user_has_list/user_has_list.controller.js b/server/api/user_has_list/user_has_list.controller.js index ed623c7..d857103 100644 --- a/server/api/user_has_list/user_has_list.controller.js +++ b/server/api/user_has_list/user_has_list.controller.js @@ -1 +1 @@ -var _0x4ea4=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x55\x73\x65\x72\x48\x61\x73\x4C\x69\x73\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x6C\x6F\x67","\x65\x72\x72\x6F\x72","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0x4ea4[0];var _=require(_0x4ea4[1]);var UserHasList=require(_0x4ea4[3])[_0x4ea4[2]];exports[_0x4ea4[4]]=function(_0x61fex3,_0x61fex4){UserHasList[_0x4ea4[10]](_0x61fex3[_0x4ea4[9]]?{where:_0x61fex3[_0x4ea4[9]]}:{})[_0x4ea4[8]](function(_0x61fex6){return _0x61fex4[_0x4ea4[7]](200)[_0x4ea4[6]](_0x61fex6)})[_0x4ea4[5]](function(_0x61fex5){return handleError(_0x61fex4,_0x61fex5)})};exports[_0x4ea4[11]]=function(_0x61fex3,_0x61fex4){UserHasList[_0x4ea4[15]](_0x61fex3[_0x4ea4[14]][_0x4ea4[13]])[_0x4ea4[8]](function(_0x61fex7){if(!_0x61fex7){return _0x61fex4[_0x4ea4[12]](404)};return _0x61fex4[_0x4ea4[6]](_0x61fex7)})[_0x4ea4[5]](function(_0x61fex5){return handleError(_0x61fex4,_0x61fex5)})};exports[_0x4ea4[16]]=function(_0x61fex3,_0x61fex4,_0x61fex8){console[_0x4ea4[18]](_0x61fex3[_0x4ea4[17]]);UserHasList[_0x4ea4[16]](_0x61fex3[_0x4ea4[17]])[_0x4ea4[8]](function(_0x61fex7){return _0x61fex4[_0x4ea4[7]](201)[_0x4ea4[6]](_0x61fex7)})[_0x4ea4[5]](function(_0x61fex5){console[_0x4ea4[19]](_0x61fex5);return _0x61fex8(_0x61fex5)})};exports[_0x4ea4[20]]=function(_0x61fex3,_0x61fex4){if(_0x61fex3[_0x4ea4[17]][_0x4ea4[13]]){delete _0x61fex3[_0x4ea4[17]][_0x4ea4[13]]};UserHasList[_0x4ea4[15]](_0x61fex3[_0x4ea4[14]][_0x4ea4[13]])[_0x4ea4[8]](function(_0x61fex7){if(!_0x61fex7){return _0x61fex4[_0x4ea4[12]](404)};var _0x61fex9=_[_0x4ea4[21]](_0x61fex7,_0x61fex3[_0x4ea4[17]]);_0x61fex9[_0x4ea4[22]]()[_0x4ea4[8]](function(){return _0x61fex4[_0x4ea4[7]](200)[_0x4ea4[6]](_0x61fex7)})[_0x4ea4[5]](function(_0x61fex5){return handleError(_0x61fex4,_0x61fex5)})})[_0x4ea4[5]](function(_0x61fex5){return handleError(_0x61fex4,_0x61fex5)})};exports[_0x4ea4[23]]=function(_0x61fex3,_0x61fex4){UserHasList[_0x4ea4[15]](_0x61fex3[_0x4ea4[14]][_0x4ea4[13]])[_0x4ea4[8]](function(_0x61fex7){if(!_0x61fex7){return _0x61fex4[_0x4ea4[12]](404)};_0x61fex7[_0x4ea4[23]]()[_0x4ea4[8]](function(){return _0x61fex4[_0x4ea4[12]](204)})[_0x4ea4[5]](function(_0x61fex5){return handleError(_0x61fex4,_0x61fex5)})})[_0x4ea4[5]](function(_0x61fex5){return handleError(_0x61fex4,_0x61fex5)})};function handleError(_0x61fex4,_0x61fex5){return _0x61fex4[_0x4ea4[7]](500)[_0x4ea4[6]](_0x61fex5)} \ No newline at end of file +var _0x2977=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x55\x73\x65\x72\x48\x61\x73\x4C\x69\x73\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x6C\x6F\x67","\x65\x72\x72\x6F\x72","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0x2977[0];var _=require(_0x2977[1]);var UserHasList=require(_0x2977[3])[_0x2977[2]];exports[_0x2977[4]]=function(_0xc5d3x3,_0xc5d3x4){UserHasList[_0x2977[10]](_0xc5d3x3[_0x2977[9]]?{where:_0xc5d3x3[_0x2977[9]]}:{})[_0x2977[8]](function(_0xc5d3x6){return _0xc5d3x4[_0x2977[7]](200)[_0x2977[6]](_0xc5d3x6)})[_0x2977[5]](function(_0xc5d3x5){return handleError(_0xc5d3x4,_0xc5d3x5)})};exports[_0x2977[11]]=function(_0xc5d3x3,_0xc5d3x4){UserHasList[_0x2977[15]](_0xc5d3x3[_0x2977[14]][_0x2977[13]])[_0x2977[8]](function(_0xc5d3x7){if(!_0xc5d3x7){return _0xc5d3x4[_0x2977[12]](404)};return _0xc5d3x4[_0x2977[6]](_0xc5d3x7)})[_0x2977[5]](function(_0xc5d3x5){return handleError(_0xc5d3x4,_0xc5d3x5)})};exports[_0x2977[16]]=function(_0xc5d3x3,_0xc5d3x4,_0xc5d3x8){console[_0x2977[18]](_0xc5d3x3[_0x2977[17]]);UserHasList[_0x2977[16]](_0xc5d3x3[_0x2977[17]])[_0x2977[8]](function(_0xc5d3x7){return _0xc5d3x4[_0x2977[7]](201)[_0x2977[6]](_0xc5d3x7)})[_0x2977[5]](function(_0xc5d3x5){console[_0x2977[19]](_0xc5d3x5);return _0xc5d3x8(_0xc5d3x5)})};exports[_0x2977[20]]=function(_0xc5d3x3,_0xc5d3x4){if(_0xc5d3x3[_0x2977[17]][_0x2977[13]]){delete _0xc5d3x3[_0x2977[17]][_0x2977[13]]};UserHasList[_0x2977[15]](_0xc5d3x3[_0x2977[14]][_0x2977[13]])[_0x2977[8]](function(_0xc5d3x7){if(!_0xc5d3x7){return _0xc5d3x4[_0x2977[12]](404)};var _0xc5d3x9=_[_0x2977[21]](_0xc5d3x7,_0xc5d3x3[_0x2977[17]]);_0xc5d3x9[_0x2977[22]]()[_0x2977[8]](function(){return _0xc5d3x4[_0x2977[7]](200)[_0x2977[6]](_0xc5d3x7)})[_0x2977[5]](function(_0xc5d3x5){return handleError(_0xc5d3x4,_0xc5d3x5)})})[_0x2977[5]](function(_0xc5d3x5){return handleError(_0xc5d3x4,_0xc5d3x5)})};exports[_0x2977[23]]=function(_0xc5d3x3,_0xc5d3x4){UserHasList[_0x2977[15]](_0xc5d3x3[_0x2977[14]][_0x2977[13]])[_0x2977[8]](function(_0xc5d3x7){if(!_0xc5d3x7){return _0xc5d3x4[_0x2977[12]](404)};_0xc5d3x7[_0x2977[23]]()[_0x2977[8]](function(){return _0xc5d3x4[_0x2977[12]](204)})[_0x2977[5]](function(_0xc5d3x5){return handleError(_0xc5d3x4,_0xc5d3x5)})})[_0x2977[5]](function(_0xc5d3x5){return handleError(_0xc5d3x4,_0xc5d3x5)})};function handleError(_0xc5d3x4,_0xc5d3x5){return _0xc5d3x4[_0x2977[7]](500)[_0x2977[6]](_0xc5d3x5)} \ No newline at end of file diff --git a/server/api/user_has_list/user_has_list.socket.js b/server/api/user_has_list/user_has_list.socket.js index a9b65c7..2a46a1b 100644 --- a/server/api/user_has_list/user_has_list.socket.js +++ b/server/api/user_has_list/user_has_list.socket.js @@ -1 +1 @@ -var _0xec5b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x55\x73\x65\x72\x48\x61\x73\x4C\x69\x73\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6C\x69\x73\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6C\x69\x73\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0xec5b[0];var UserHasList=require(_0xec5b[2])[_0xec5b[1]];exports[_0xec5b[3]]=function(_0xdc4fx2){UserHasList[_0xec5b[4]](function(_0xdc4fx3){onSave(_0xdc4fx2,_0xdc4fx3)});UserHasList[_0xec5b[5]](function(_0xdc4fx3){onSave(_0xdc4fx2,_0xdc4fx3)});UserHasList[_0xec5b[6]](function(_0xdc4fx3){onRemove(_0xdc4fx2,_0xdc4fx3)})};function onSave(_0xdc4fx2,_0xdc4fx3,_0xdc4fx5){_0xdc4fx2[_0xec5b[8]](_0xec5b[7],_0xdc4fx3)}function onRemove(_0xdc4fx2,_0xdc4fx3,_0xdc4fx5){_0xdc4fx2[_0xec5b[8]](_0xec5b[9],_0xdc4fx3)} \ No newline at end of file +var _0xb2b0=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x55\x73\x65\x72\x48\x61\x73\x4C\x69\x73\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6C\x69\x73\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6C\x69\x73\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0xb2b0[0];var UserHasList=require(_0xb2b0[2])[_0xb2b0[1]];exports[_0xb2b0[3]]=function(_0xf5c7x2){UserHasList[_0xb2b0[4]](function(_0xf5c7x3){onSave(_0xf5c7x2,_0xf5c7x3)});UserHasList[_0xb2b0[5]](function(_0xf5c7x3){onSave(_0xf5c7x2,_0xf5c7x3)});UserHasList[_0xb2b0[6]](function(_0xf5c7x3){onRemove(_0xf5c7x2,_0xf5c7x3)})};function onSave(_0xf5c7x2,_0xf5c7x3,_0xf5c7x5){_0xf5c7x2[_0xb2b0[8]](_0xb2b0[7],_0xf5c7x3)}function onRemove(_0xf5c7x2,_0xf5c7x3,_0xf5c7x5){_0xf5c7x2[_0xb2b0[8]](_0xb2b0[9],_0xf5c7x3)} \ No newline at end of file diff --git a/server/api/user_has_mail_queue/index.js b/server/api/user_has_mail_queue/index.js index 6954f4f..e862ea8 100644 --- a/server/api/user_has_mail_queue/index.js +++ b/server/api/user_has_mail_queue/index.js @@ -1 +1 @@ -var _0xdba6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xdba6[0];var express=require(_0xdba6[1]);var controller=require(_0xdba6[2]);var router=express.Router();router[_0xdba6[5]](_0xdba6[3],controller[_0xdba6[4]]);router[_0xdba6[5]](_0xdba6[6],controller[_0xdba6[7]]);router[_0xdba6[9]](_0xdba6[3],controller[_0xdba6[8]]);router[_0xdba6[11]](_0xdba6[6],controller[_0xdba6[10]]);router[_0xdba6[12]](_0xdba6[6],controller[_0xdba6[10]]);router[_0xdba6[14]](_0xdba6[6],controller[_0xdba6[13]]);module[_0xdba6[15]]=router \ No newline at end of file +var _0x9977=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x9977[0];var express=require(_0x9977[1]);var controller=require(_0x9977[2]);var router=express.Router();router[_0x9977[5]](_0x9977[3],controller[_0x9977[4]]);router[_0x9977[5]](_0x9977[6],controller[_0x9977[7]]);router[_0x9977[9]](_0x9977[3],controller[_0x9977[8]]);router[_0x9977[11]](_0x9977[6],controller[_0x9977[10]]);router[_0x9977[12]](_0x9977[6],controller[_0x9977[10]]);router[_0x9977[14]](_0x9977[6],controller[_0x9977[13]]);module[_0x9977[15]]=router \ No newline at end of file diff --git a/server/api/user_has_mail_queue/user_has_mail_queue.controller.js b/server/api/user_has_mail_queue/user_has_mail_queue.controller.js index be4a2f2..07bc10b 100644 --- a/server/api/user_has_mail_queue/user_has_mail_queue.controller.js +++ b/server/api/user_has_mail_queue/user_has_mail_queue.controller.js @@ -1 +1 @@ -var _0x24c0=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x55\x73\x65\x72\x48\x61\x73\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0x24c0[0];var _=require(_0x24c0[1]);var UserHasMailQueue=require(_0x24c0[3])[_0x24c0[2]];exports[_0x24c0[4]]=function(_0x3341x3,_0x3341x4){UserHasMailQueue[_0x24c0[10]](_0x3341x3[_0x24c0[9]]?{where:_0x3341x3[_0x24c0[9]]}:{})[_0x24c0[8]](function(_0x3341x6){return _0x3341x4[_0x24c0[7]](200)[_0x24c0[6]](_0x3341x6)})[_0x24c0[5]](function(_0x3341x5){return handleError(_0x3341x4,_0x3341x5)})};exports[_0x24c0[11]]=function(_0x3341x3,_0x3341x4){UserHasMailQueue[_0x24c0[15]](_0x3341x3[_0x24c0[14]][_0x24c0[13]])[_0x24c0[8]](function(_0x3341x7){if(!_0x3341x7){return _0x3341x4[_0x24c0[12]](404)};return _0x3341x4[_0x24c0[6]](_0x3341x7)})[_0x24c0[5]](function(_0x3341x5){return handleError(_0x3341x4,_0x3341x5)})};exports[_0x24c0[16]]=function(_0x3341x3,_0x3341x4){UserHasMailQueue[_0x24c0[16]](_0x3341x3[_0x24c0[17]])[_0x24c0[8]](function(_0x3341x7){return _0x3341x4[_0x24c0[7]](201)[_0x24c0[6]](_0x3341x7)})[_0x24c0[5]](function(_0x3341x5){return handleError(_0x3341x4,_0x3341x5)})};exports[_0x24c0[18]]=function(_0x3341x3,_0x3341x4){if(_0x3341x3[_0x24c0[17]][_0x24c0[13]]){delete _0x3341x3[_0x24c0[17]][_0x24c0[13]]};UserHasMailQueue[_0x24c0[15]](_0x3341x3[_0x24c0[14]][_0x24c0[13]])[_0x24c0[8]](function(_0x3341x7){if(!_0x3341x7){return _0x3341x4[_0x24c0[12]](404)};var _0x3341x8=_[_0x24c0[19]](_0x3341x7,_0x3341x3[_0x24c0[17]]);_0x3341x8[_0x24c0[20]]()[_0x24c0[8]](function(){return _0x3341x4[_0x24c0[7]](200)[_0x24c0[6]](_0x3341x7)})[_0x24c0[5]](function(_0x3341x5){return handleError(_0x3341x4,_0x3341x5)})})[_0x24c0[5]](function(_0x3341x5){return handleError(_0x3341x4,_0x3341x5)})};exports[_0x24c0[21]]=function(_0x3341x3,_0x3341x4){UserHasMailQueue[_0x24c0[15]](_0x3341x3[_0x24c0[14]][_0x24c0[13]])[_0x24c0[8]](function(_0x3341x7){if(!_0x3341x7){return _0x3341x4[_0x24c0[12]](404)};_0x3341x7[_0x24c0[21]]()[_0x24c0[8]](function(){return _0x3341x4[_0x24c0[12]](204)})[_0x24c0[5]](function(_0x3341x5){return handleError(_0x3341x4,_0x3341x5)})})[_0x24c0[5]](function(_0x3341x5){return handleError(_0x3341x4,_0x3341x5)})};function handleError(_0x3341x4,_0x3341x5){return _0x3341x4[_0x24c0[7]](500)[_0x24c0[6]](_0x3341x5)} \ No newline at end of file +var _0x16a2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x55\x73\x65\x72\x48\x61\x73\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0x16a2[0];var _=require(_0x16a2[1]);var UserHasMailQueue=require(_0x16a2[3])[_0x16a2[2]];exports[_0x16a2[4]]=function(_0xa722x3,_0xa722x4){UserHasMailQueue[_0x16a2[10]](_0xa722x3[_0x16a2[9]]?{where:_0xa722x3[_0x16a2[9]]}:{})[_0x16a2[8]](function(_0xa722x6){return _0xa722x4[_0x16a2[7]](200)[_0x16a2[6]](_0xa722x6)})[_0x16a2[5]](function(_0xa722x5){return handleError(_0xa722x4,_0xa722x5)})};exports[_0x16a2[11]]=function(_0xa722x3,_0xa722x4){UserHasMailQueue[_0x16a2[15]](_0xa722x3[_0x16a2[14]][_0x16a2[13]])[_0x16a2[8]](function(_0xa722x7){if(!_0xa722x7){return _0xa722x4[_0x16a2[12]](404)};return _0xa722x4[_0x16a2[6]](_0xa722x7)})[_0x16a2[5]](function(_0xa722x5){return handleError(_0xa722x4,_0xa722x5)})};exports[_0x16a2[16]]=function(_0xa722x3,_0xa722x4){UserHasMailQueue[_0x16a2[16]](_0xa722x3[_0x16a2[17]])[_0x16a2[8]](function(_0xa722x7){return _0xa722x4[_0x16a2[7]](201)[_0x16a2[6]](_0xa722x7)})[_0x16a2[5]](function(_0xa722x5){return handleError(_0xa722x4,_0xa722x5)})};exports[_0x16a2[18]]=function(_0xa722x3,_0xa722x4){if(_0xa722x3[_0x16a2[17]][_0x16a2[13]]){delete _0xa722x3[_0x16a2[17]][_0x16a2[13]]};UserHasMailQueue[_0x16a2[15]](_0xa722x3[_0x16a2[14]][_0x16a2[13]])[_0x16a2[8]](function(_0xa722x7){if(!_0xa722x7){return _0xa722x4[_0x16a2[12]](404)};var _0xa722x8=_[_0x16a2[19]](_0xa722x7,_0xa722x3[_0x16a2[17]]);_0xa722x8[_0x16a2[20]]()[_0x16a2[8]](function(){return _0xa722x4[_0x16a2[7]](200)[_0x16a2[6]](_0xa722x7)})[_0x16a2[5]](function(_0xa722x5){return handleError(_0xa722x4,_0xa722x5)})})[_0x16a2[5]](function(_0xa722x5){return handleError(_0xa722x4,_0xa722x5)})};exports[_0x16a2[21]]=function(_0xa722x3,_0xa722x4){UserHasMailQueue[_0x16a2[15]](_0xa722x3[_0x16a2[14]][_0x16a2[13]])[_0x16a2[8]](function(_0xa722x7){if(!_0xa722x7){return _0xa722x4[_0x16a2[12]](404)};_0xa722x7[_0x16a2[21]]()[_0x16a2[8]](function(){return _0xa722x4[_0x16a2[12]](204)})[_0x16a2[5]](function(_0xa722x5){return handleError(_0xa722x4,_0xa722x5)})})[_0x16a2[5]](function(_0xa722x5){return handleError(_0xa722x4,_0xa722x5)})};function handleError(_0xa722x4,_0xa722x5){return _0xa722x4[_0x16a2[7]](500)[_0x16a2[6]](_0xa722x5)} \ No newline at end of file diff --git a/server/api/user_has_mail_queue/user_has_mail_queue.socket.js b/server/api/user_has_mail_queue/user_has_mail_queue.socket.js index baef203..97e9eb1 100644 --- a/server/api/user_has_mail_queue/user_has_mail_queue.socket.js +++ b/server/api/user_has_mail_queue/user_has_mail_queue.socket.js @@ -1 +1 @@ -var _0x4c6a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x55\x73\x65\x72\x48\x61\x73\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72\x48\x61\x73\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x50\x65\x72\x6D\x69\x74","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x75\x73\x65\x72\x49\x64","\x55\x73\x65\x72\x69\x64","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x5F\x70\x65\x72\x6D\x69\x74\x3A\x63\x68\x61\x6E\x67\x65","\x65\x6D\x69\x74","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x3A\x73\x61\x76\x65","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x4c6a[0];var UserHasMailQueue=require(_0x4c6a[2])[_0x4c6a[1]];var UserHasMailQueuePermit=require(_0x4c6a[2])[_0x4c6a[3]];exports[_0x4c6a[4]]=function(_0xf9c2x3){UserHasMailQueue[_0x4c6a[5]](function(_0xf9c2x4){onSave(_0xf9c2x3,_0xf9c2x4)});UserHasMailQueue[_0x4c6a[6]](function(_0xf9c2x4){onRemove(_0xf9c2x3,_0xf9c2x4)});UserHasMailQueuePermit[_0x4c6a[5]](function(_0xf9c2x4){permitChange(_0xf9c2x3,_0xf9c2x4)});UserHasMailQueuePermit[_0x4c6a[6]](function(_0xf9c2x4){permitChange(_0xf9c2x3,_0xf9c2x4)})};function permitChange(_0xf9c2x3,_0xf9c2x4){if(_0xf9c2x3[_0x4c6a[7]]==_0xf9c2x4[_0x4c6a[8]]){_0xf9c2x3[_0x4c6a[10]](_0x4c6a[9])}}function onSave(_0xf9c2x3,_0xf9c2x4,_0xf9c2x7){_0xf9c2x3[_0x4c6a[10]](_0x4c6a[11],_0xf9c2x4)}function onRemove(_0xf9c2x3,_0xf9c2x4,_0xf9c2x7){_0xf9c2x3[_0x4c6a[10]](_0x4c6a[12],_0xf9c2x4)} \ No newline at end of file +var _0xb03a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x55\x73\x65\x72\x48\x61\x73\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72\x48\x61\x73\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x50\x65\x72\x6D\x69\x74","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x75\x73\x65\x72\x49\x64","\x55\x73\x65\x72\x69\x64","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x5F\x70\x65\x72\x6D\x69\x74\x3A\x63\x68\x61\x6E\x67\x65","\x65\x6D\x69\x74","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x3A\x73\x61\x76\x65","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0xb03a[0];var UserHasMailQueue=require(_0xb03a[2])[_0xb03a[1]];var UserHasMailQueuePermit=require(_0xb03a[2])[_0xb03a[3]];exports[_0xb03a[4]]=function(_0xa427x3){UserHasMailQueue[_0xb03a[5]](function(_0xa427x4){onSave(_0xa427x3,_0xa427x4)});UserHasMailQueue[_0xb03a[6]](function(_0xa427x4){onRemove(_0xa427x3,_0xa427x4)});UserHasMailQueuePermit[_0xb03a[5]](function(_0xa427x4){permitChange(_0xa427x3,_0xa427x4)});UserHasMailQueuePermit[_0xb03a[6]](function(_0xa427x4){permitChange(_0xa427x3,_0xa427x4)})};function permitChange(_0xa427x3,_0xa427x4){if(_0xa427x3[_0xb03a[7]]==_0xa427x4[_0xb03a[8]]){_0xa427x3[_0xb03a[10]](_0xb03a[9])}}function onSave(_0xa427x3,_0xa427x4,_0xa427x7){_0xa427x3[_0xb03a[10]](_0xb03a[11],_0xa427x4)}function onRemove(_0xa427x3,_0xa427x4,_0xa427x7){_0xa427x3[_0xb03a[10]](_0xb03a[12],_0xa427x4)} \ No newline at end of file diff --git a/server/api/user_has_sms_queue/index.js b/server/api/user_has_sms_queue/index.js index e55cce0..df690c9 100644 --- a/server/api/user_has_sms_queue/index.js +++ b/server/api/user_has_sms_queue/index.js @@ -1 +1 @@ -var _0x3824=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x73\x6D\x73\x5F\x71\x75\x65\x75\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x65\x78\x70\x6F\x72\x74\x73"];_0x3824[0];var express=require(_0x3824[1]);var controller=require(_0x3824[2]);var router=express.Router();module[_0x3824[3]]=router \ No newline at end of file +var _0x20cf=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x73\x6D\x73\x5F\x71\x75\x65\x75\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x65\x78\x70\x6F\x72\x74\x73"];_0x20cf[0];var express=require(_0x20cf[1]);var controller=require(_0x20cf[2]);var router=express.Router();module[_0x20cf[3]]=router \ No newline at end of file diff --git a/server/api/user_has_sms_queue/user_has_sms_queue.controller.js b/server/api/user_has_sms_queue/user_has_sms_queue.controller.js index a047a1a..32d2e3b 100644 --- a/server/api/user_has_sms_queue/user_has_sms_queue.controller.js +++ b/server/api/user_has_sms_queue/user_has_sms_queue.controller.js @@ -1 +1 @@ -var _0x858c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x55\x73\x65\x72\x48\x61\x73\x53\x6D\x73\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x66\x69\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79"];_0x858c[0];var _=require(_0x858c[1]);var UserHasSmsQueue=require(_0x858c[3])[_0x858c[2]];exports[_0x858c[4]]=function(_0x546fx3,_0x546fx4){UserHasSmsQueue[_0x858c[10]](_0x546fx3[_0x858c[9]]?{where:_0x546fx3[_0x858c[9]]}:{})[_0x858c[8]](function(_0x546fx6){return _0x546fx4[_0x858c[7]](200)[_0x858c[6]](_0x546fx6)})[_0x858c[5]](function(_0x546fx5){return handleError(_0x546fx4,_0x546fx5)})};exports[_0x858c[11]]=function(_0x546fx3,_0x546fx4){UserHasSmsQueue[_0x858c[15]](_0x546fx3[_0x858c[14]][_0x858c[13]])[_0x858c[8]](function(UserHasSmsQueue){if(!UserHasSmsQueue){return _0x546fx4[_0x858c[12]](404)};return _0x546fx4[_0x858c[6]](UserHasSmsQueue)})[_0x858c[5]](function(_0x546fx5){return handleError(_0x546fx4,_0x546fx5)})};exports[_0x858c[16]]=function(_0x546fx3,_0x546fx4){UserHasSmsQueue[_0x858c[16]](_0x546fx3[_0x858c[17]])[_0x858c[8]](function(UserHasSmsQueue){return _0x546fx4[_0x858c[7]](201)[_0x858c[6]](UserHasSmsQueue)})[_0x858c[5]](function(_0x546fx5){return handleError(_0x546fx4,_0x546fx5)})};exports[_0x858c[18]]=function(_0x546fx3,_0x546fx4){if(_0x546fx3[_0x858c[17]][_0x858c[13]]){delete _0x546fx3[_0x858c[17]][_0x858c[13]]};UserHasSmsQueue[_0x858c[21]]({where:{id:_0x546fx3[_0x858c[14]][_0x858c[13]]}})[_0x858c[8]](function(UserHasSmsQueue){if(!UserHasSmsQueue){return _0x546fx4[_0x858c[12]](404)};var _0x546fx7=_[_0x858c[19]](UserHasSmsQueue,_0x546fx3[_0x858c[17]]);_0x546fx7[_0x858c[20]]()[_0x858c[8]](function(){return _0x546fx4[_0x858c[7]](200)[_0x858c[6]](UserHasSmsQueue)})[_0x858c[5]](function(_0x546fx5){return handleError(_0x546fx4,_0x546fx5)})})[_0x858c[5]](function(_0x546fx5){return handleError(_0x546fx4,_0x546fx5)})};exports[_0x858c[22]]=function(_0x546fx3,_0x546fx4){UserHasSmsQueue[_0x858c[21]]({where:{id:_0x546fx3[_0x858c[14]][_0x858c[13]]}})[_0x858c[8]](function(UserHasSmsQueue){if(!UserHasSmsQueue){return _0x546fx4[_0x858c[12]](404)};UserHasSmsQueue[_0x858c[22]]()[_0x858c[8]](function(){return _0x546fx4[_0x858c[12]](204)})[_0x858c[5]](function(_0x546fx5){return handleError(_0x546fx4,_0x546fx5)})})[_0x858c[5]](function(_0x546fx5){return handleError(_0x546fx4,_0x546fx5)})};function handleError(_0x546fx4,_0x546fx5){return _0x546fx4[_0x858c[7]](500)[_0x858c[6]](_0x546fx5)} \ No newline at end of file +var _0x4e3f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x55\x73\x65\x72\x48\x61\x73\x53\x6D\x73\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x66\x69\x6E\x64","\x64\x65\x73\x74\x72\x6F\x79"];_0x4e3f[0];var _=require(_0x4e3f[1]);var UserHasSmsQueue=require(_0x4e3f[3])[_0x4e3f[2]];exports[_0x4e3f[4]]=function(_0x9f65x3,_0x9f65x4){UserHasSmsQueue[_0x4e3f[10]](_0x9f65x3[_0x4e3f[9]]?{where:_0x9f65x3[_0x4e3f[9]]}:{})[_0x4e3f[8]](function(_0x9f65x6){return _0x9f65x4[_0x4e3f[7]](200)[_0x4e3f[6]](_0x9f65x6)})[_0x4e3f[5]](function(_0x9f65x5){return handleError(_0x9f65x4,_0x9f65x5)})};exports[_0x4e3f[11]]=function(_0x9f65x3,_0x9f65x4){UserHasSmsQueue[_0x4e3f[15]](_0x9f65x3[_0x4e3f[14]][_0x4e3f[13]])[_0x4e3f[8]](function(UserHasSmsQueue){if(!UserHasSmsQueue){return _0x9f65x4[_0x4e3f[12]](404)};return _0x9f65x4[_0x4e3f[6]](UserHasSmsQueue)})[_0x4e3f[5]](function(_0x9f65x5){return handleError(_0x9f65x4,_0x9f65x5)})};exports[_0x4e3f[16]]=function(_0x9f65x3,_0x9f65x4){UserHasSmsQueue[_0x4e3f[16]](_0x9f65x3[_0x4e3f[17]])[_0x4e3f[8]](function(UserHasSmsQueue){return _0x9f65x4[_0x4e3f[7]](201)[_0x4e3f[6]](UserHasSmsQueue)})[_0x4e3f[5]](function(_0x9f65x5){return handleError(_0x9f65x4,_0x9f65x5)})};exports[_0x4e3f[18]]=function(_0x9f65x3,_0x9f65x4){if(_0x9f65x3[_0x4e3f[17]][_0x4e3f[13]]){delete _0x9f65x3[_0x4e3f[17]][_0x4e3f[13]]};UserHasSmsQueue[_0x4e3f[21]]({where:{id:_0x9f65x3[_0x4e3f[14]][_0x4e3f[13]]}})[_0x4e3f[8]](function(UserHasSmsQueue){if(!UserHasSmsQueue){return _0x9f65x4[_0x4e3f[12]](404)};var _0x9f65x7=_[_0x4e3f[19]](UserHasSmsQueue,_0x9f65x3[_0x4e3f[17]]);_0x9f65x7[_0x4e3f[20]]()[_0x4e3f[8]](function(){return _0x9f65x4[_0x4e3f[7]](200)[_0x4e3f[6]](UserHasSmsQueue)})[_0x4e3f[5]](function(_0x9f65x5){return handleError(_0x9f65x4,_0x9f65x5)})})[_0x4e3f[5]](function(_0x9f65x5){return handleError(_0x9f65x4,_0x9f65x5)})};exports[_0x4e3f[22]]=function(_0x9f65x3,_0x9f65x4){UserHasSmsQueue[_0x4e3f[21]]({where:{id:_0x9f65x3[_0x4e3f[14]][_0x4e3f[13]]}})[_0x4e3f[8]](function(UserHasSmsQueue){if(!UserHasSmsQueue){return _0x9f65x4[_0x4e3f[12]](404)};UserHasSmsQueue[_0x4e3f[22]]()[_0x4e3f[8]](function(){return _0x9f65x4[_0x4e3f[12]](204)})[_0x4e3f[5]](function(_0x9f65x5){return handleError(_0x9f65x4,_0x9f65x5)})})[_0x4e3f[5]](function(_0x9f65x5){return handleError(_0x9f65x4,_0x9f65x5)})};function handleError(_0x9f65x4,_0x9f65x5){return _0x9f65x4[_0x4e3f[7]](500)[_0x4e3f[6]](_0x9f65x5)} \ No newline at end of file diff --git a/server/api/user_has_sms_queue/user_has_sms_queue.socket.js b/server/api/user_has_sms_queue/user_has_sms_queue.socket.js index 0c6e3e7..1734197 100644 --- a/server/api/user_has_sms_queue/user_has_sms_queue.socket.js +++ b/server/api/user_has_sms_queue/user_has_sms_queue.socket.js @@ -1 +1 @@ -var _0x31a5=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x55\x73\x65\x72\x48\x61\x73\x53\x6D\x73\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72\x48\x61\x73\x53\x6D\x73\x51\x75\x65\x75\x65\x50\x65\x72\x6D\x69\x74","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x75\x73\x65\x72\x49\x64","\x55\x73\x65\x72\x69\x64","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x73\x6D\x73\x5F\x71\x75\x65\x75\x65\x5F\x70\x65\x72\x6D\x69\x74\x3A\x63\x68\x61\x6E\x67\x65","\x65\x6D\x69\x74","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x73\x6D\x73\x5F\x71\x75\x65\x75\x65\x3A\x73\x61\x76\x65","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x73\x6D\x73\x5F\x71\x75\x65\x75\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x31a5[0];var UserHasSmsQueue=require(_0x31a5[2])[_0x31a5[1]];var UserHasSmsQueuePermit=require(_0x31a5[2])[_0x31a5[3]];exports[_0x31a5[4]]=function(_0x94a3x3){UserHasSmsQueue[_0x31a5[5]](function(_0x94a3x4){onSave(_0x94a3x3,_0x94a3x4)});UserHasSmsQueue[_0x31a5[6]](function(_0x94a3x4){onRemove(_0x94a3x3,_0x94a3x4)});UserHasSmsQueuePermit[_0x31a5[5]](function(_0x94a3x4){permitChange(_0x94a3x3,_0x94a3x4)});UserHasSmsQueuePermit[_0x31a5[6]](function(_0x94a3x4){permitChange(_0x94a3x3,_0x94a3x4)})};function permitChange(_0x94a3x3,_0x94a3x4){if(_0x94a3x3[_0x31a5[7]]==_0x94a3x4[_0x31a5[8]]){_0x94a3x3[_0x31a5[10]](_0x31a5[9])}}function onSave(_0x94a3x3,_0x94a3x4,_0x94a3x7){_0x94a3x3[_0x31a5[10]](_0x31a5[11],_0x94a3x4)}function onRemove(_0x94a3x3,_0x94a3x4,_0x94a3x7){_0x94a3x3[_0x31a5[10]](_0x31a5[12],_0x94a3x4)} \ No newline at end of file +var _0xc6b0=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x55\x73\x65\x72\x48\x61\x73\x53\x6D\x73\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72\x48\x61\x73\x53\x6D\x73\x51\x75\x65\x75\x65\x50\x65\x72\x6D\x69\x74","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x75\x73\x65\x72\x49\x64","\x55\x73\x65\x72\x69\x64","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x73\x6D\x73\x5F\x71\x75\x65\x75\x65\x5F\x70\x65\x72\x6D\x69\x74\x3A\x63\x68\x61\x6E\x67\x65","\x65\x6D\x69\x74","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x73\x6D\x73\x5F\x71\x75\x65\x75\x65\x3A\x73\x61\x76\x65","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x73\x6D\x73\x5F\x71\x75\x65\x75\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0xc6b0[0];var UserHasSmsQueue=require(_0xc6b0[2])[_0xc6b0[1]];var UserHasSmsQueuePermit=require(_0xc6b0[2])[_0xc6b0[3]];exports[_0xc6b0[4]]=function(_0x3c9dx3){UserHasSmsQueue[_0xc6b0[5]](function(_0x3c9dx4){onSave(_0x3c9dx3,_0x3c9dx4)});UserHasSmsQueue[_0xc6b0[6]](function(_0x3c9dx4){onRemove(_0x3c9dx3,_0x3c9dx4)});UserHasSmsQueuePermit[_0xc6b0[5]](function(_0x3c9dx4){permitChange(_0x3c9dx3,_0x3c9dx4)});UserHasSmsQueuePermit[_0xc6b0[6]](function(_0x3c9dx4){permitChange(_0x3c9dx3,_0x3c9dx4)})};function permitChange(_0x3c9dx3,_0x3c9dx4){if(_0x3c9dx3[_0xc6b0[7]]==_0x3c9dx4[_0xc6b0[8]]){_0x3c9dx3[_0xc6b0[10]](_0xc6b0[9])}}function onSave(_0x3c9dx3,_0x3c9dx4,_0x3c9dx7){_0x3c9dx3[_0xc6b0[10]](_0xc6b0[11],_0x3c9dx4)}function onRemove(_0x3c9dx3,_0x3c9dx4,_0x3c9dx7){_0x3c9dx3[_0xc6b0[10]](_0xc6b0[12],_0x3c9dx4)} \ No newline at end of file diff --git a/server/api/user_has_team/index.js b/server/api/user_has_team/index.js index f01e882..88e9591 100644 --- a/server/api/user_has_team/index.js +++ b/server/api/user_has_team/index.js @@ -1 +1 @@ -var _0x6859=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x74\x65\x61\x6D\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x6859[0];var express=require(_0x6859[1]);var controller=require(_0x6859[2]);var router=express.Router();router[_0x6859[5]](_0x6859[3],controller[_0x6859[4]]);router[_0x6859[5]](_0x6859[6],controller[_0x6859[7]]);router[_0x6859[9]](_0x6859[3],controller[_0x6859[8]]);router[_0x6859[11]](_0x6859[6],controller[_0x6859[10]]);router[_0x6859[12]](_0x6859[6],controller[_0x6859[10]]);router[_0x6859[14]](_0x6859[6],controller[_0x6859[13]]);module[_0x6859[15]]=router \ No newline at end of file +var _0x496e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x74\x65\x61\x6D\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x496e[0];var express=require(_0x496e[1]);var controller=require(_0x496e[2]);var router=express.Router();router[_0x496e[5]](_0x496e[3],controller[_0x496e[4]]);router[_0x496e[5]](_0x496e[6],controller[_0x496e[7]]);router[_0x496e[9]](_0x496e[3],controller[_0x496e[8]]);router[_0x496e[11]](_0x496e[6],controller[_0x496e[10]]);router[_0x496e[12]](_0x496e[6],controller[_0x496e[10]]);router[_0x496e[14]](_0x496e[6],controller[_0x496e[13]]);module[_0x496e[15]]=router \ No newline at end of file diff --git a/server/api/user_has_team/user_has_team.controller.js b/server/api/user_has_team/user_has_team.controller.js index a559f72..43139b8 100644 --- a/server/api/user_has_team/user_has_team.controller.js +++ b/server/api/user_has_team/user_has_team.controller.js @@ -1 +1 @@ -var _0xf906=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x55\x73\x65\x72\x48\x61\x73\x54\x65\x61\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x71\x75\x65\x72\x79","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0xf906[0];var _=require(_0xf906[1]);var UserHasTeam=require(_0xf906[3])[_0xf906[2]];exports[_0xf906[4]]=function(_0xd3b3x3,_0xd3b3x4){console[_0xf906[6]](_0xd3b3x3[_0xf906[5]]);UserHasTeam[_0xf906[11]]({where:_0xd3b3x3[_0xf906[5]]})[_0xf906[10]](function(_0xd3b3x6){return _0xd3b3x4[_0xf906[9]](200)[_0xf906[8]](_0xd3b3x6)})[_0xf906[7]](function(_0xd3b3x5){return handleError(_0xd3b3x4,_0xd3b3x5)})};exports[_0xf906[12]]=function(_0xd3b3x3,_0xd3b3x4){UserHasTeam[_0xf906[16]](_0xd3b3x3[_0xf906[15]][_0xf906[14]])[_0xf906[10]](function(_0xd3b3x7){if(!_0xd3b3x7){return _0xd3b3x4[_0xf906[13]](404)};return _0xd3b3x4[_0xf906[8]](_0xd3b3x7)})[_0xf906[7]](function(_0xd3b3x5){return handleError(_0xd3b3x4,_0xd3b3x5)})};exports[_0xf906[17]]=function(_0xd3b3x3,_0xd3b3x4){UserHasTeam[_0xf906[17]](_0xd3b3x3[_0xf906[18]])[_0xf906[10]](function(_0xd3b3x7){return _0xd3b3x4[_0xf906[9]](201)[_0xf906[8]](_0xd3b3x7)})[_0xf906[7]](function(_0xd3b3x5){return handleError(_0xd3b3x4,_0xd3b3x5)})};exports[_0xf906[19]]=function(_0xd3b3x3,_0xd3b3x4){if(_0xd3b3x3[_0xf906[18]][_0xf906[14]]){delete _0xd3b3x3[_0xf906[18]][_0xf906[14]]};UserHasTeam[_0xf906[16]](_0xd3b3x3[_0xf906[15]][_0xf906[14]])[_0xf906[10]](function(_0xd3b3x7){if(!_0xd3b3x7){return _0xd3b3x4[_0xf906[13]](404)};var _0xd3b3x8=_[_0xf906[20]](_0xd3b3x7,_0xd3b3x3[_0xf906[18]]);_0xd3b3x8[_0xf906[21]]()[_0xf906[10]](function(){return _0xd3b3x4[_0xf906[9]](200)[_0xf906[8]](_0xd3b3x7)})[_0xf906[7]](function(_0xd3b3x5){return handleError(_0xd3b3x4,_0xd3b3x5)})})[_0xf906[7]](function(_0xd3b3x5){return handleError(_0xd3b3x4,_0xd3b3x5)})};exports[_0xf906[22]]=function(_0xd3b3x3,_0xd3b3x4){UserHasTeam[_0xf906[16]](_0xd3b3x3[_0xf906[15]][_0xf906[14]])[_0xf906[10]](function(_0xd3b3x7){if(!_0xd3b3x7){return _0xd3b3x4[_0xf906[13]](404)};_0xd3b3x7[_0xf906[22]]()[_0xf906[10]](function(){return _0xd3b3x4[_0xf906[13]](204)})[_0xf906[7]](function(_0xd3b3x5){return handleError(_0xd3b3x4,_0xd3b3x5)})})[_0xf906[7]](function(_0xd3b3x5){return handleError(_0xd3b3x4,_0xd3b3x5)})};function handleError(_0xd3b3x4,_0xd3b3x5){return _0xd3b3x4[_0xf906[9]](500)[_0xf906[8]](_0xd3b3x5)} \ No newline at end of file +var _0x9755=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x55\x73\x65\x72\x48\x61\x73\x54\x65\x61\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x71\x75\x65\x72\x79","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0x9755[0];var _=require(_0x9755[1]);var UserHasTeam=require(_0x9755[3])[_0x9755[2]];exports[_0x9755[4]]=function(_0x92dax3,_0x92dax4){console[_0x9755[6]](_0x92dax3[_0x9755[5]]);UserHasTeam[_0x9755[11]]({where:_0x92dax3[_0x9755[5]]})[_0x9755[10]](function(_0x92dax6){return _0x92dax4[_0x9755[9]](200)[_0x9755[8]](_0x92dax6)})[_0x9755[7]](function(_0x92dax5){return handleError(_0x92dax4,_0x92dax5)})};exports[_0x9755[12]]=function(_0x92dax3,_0x92dax4){UserHasTeam[_0x9755[16]](_0x92dax3[_0x9755[15]][_0x9755[14]])[_0x9755[10]](function(_0x92dax7){if(!_0x92dax7){return _0x92dax4[_0x9755[13]](404)};return _0x92dax4[_0x9755[8]](_0x92dax7)})[_0x9755[7]](function(_0x92dax5){return handleError(_0x92dax4,_0x92dax5)})};exports[_0x9755[17]]=function(_0x92dax3,_0x92dax4){UserHasTeam[_0x9755[17]](_0x92dax3[_0x9755[18]])[_0x9755[10]](function(_0x92dax7){return _0x92dax4[_0x9755[9]](201)[_0x9755[8]](_0x92dax7)})[_0x9755[7]](function(_0x92dax5){return handleError(_0x92dax4,_0x92dax5)})};exports[_0x9755[19]]=function(_0x92dax3,_0x92dax4){if(_0x92dax3[_0x9755[18]][_0x9755[14]]){delete _0x92dax3[_0x9755[18]][_0x9755[14]]};UserHasTeam[_0x9755[16]](_0x92dax3[_0x9755[15]][_0x9755[14]])[_0x9755[10]](function(_0x92dax7){if(!_0x92dax7){return _0x92dax4[_0x9755[13]](404)};var _0x92dax8=_[_0x9755[20]](_0x92dax7,_0x92dax3[_0x9755[18]]);_0x92dax8[_0x9755[21]]()[_0x9755[10]](function(){return _0x92dax4[_0x9755[9]](200)[_0x9755[8]](_0x92dax7)})[_0x9755[7]](function(_0x92dax5){return handleError(_0x92dax4,_0x92dax5)})})[_0x9755[7]](function(_0x92dax5){return handleError(_0x92dax4,_0x92dax5)})};exports[_0x9755[22]]=function(_0x92dax3,_0x92dax4){UserHasTeam[_0x9755[16]](_0x92dax3[_0x9755[15]][_0x9755[14]])[_0x9755[10]](function(_0x92dax7){if(!_0x92dax7){return _0x92dax4[_0x9755[13]](404)};_0x92dax7[_0x9755[22]]()[_0x9755[10]](function(){return _0x92dax4[_0x9755[13]](204)})[_0x9755[7]](function(_0x92dax5){return handleError(_0x92dax4,_0x92dax5)})})[_0x9755[7]](function(_0x92dax5){return handleError(_0x92dax4,_0x92dax5)})};function handleError(_0x92dax4,_0x92dax5){return _0x92dax4[_0x9755[9]](500)[_0x9755[8]](_0x92dax5)} \ No newline at end of file diff --git a/server/api/user_has_team/user_has_team.model.js b/server/api/user_has_team/user_has_team.model.js index e1a7e54..80bf376 100644 --- a/server/api/user_has_team/user_has_team.model.js +++ b/server/api/user_has_team/user_has_team.model.js @@ -1 +1 @@ -var _0xee7b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74","\x55\x73\x65\x72\x48\x61\x73\x54\x65\x61\x6D","\x64\x65\x66\x69\x6E\x65"];_0xee7b[0];module[_0xee7b[1]]=function(_0x2bf1x1,_0x2bf1x2){var _0x2bf1x3=_0x2bf1x1[_0xee7b[3]](_0xee7b[2],{name:String,info:String,active:Boolean});return _0x2bf1x3} \ No newline at end of file +var _0x5695=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74","\x55\x73\x65\x72\x48\x61\x73\x54\x65\x61\x6D","\x64\x65\x66\x69\x6E\x65"];_0x5695[0];module[_0x5695[1]]=function(_0xf392x1,_0xf392x2){var _0xf392x3=_0xf392x1[_0x5695[3]](_0x5695[2],{name:String,info:String,active:Boolean});return _0xf392x3} \ No newline at end of file diff --git a/server/api/user_has_team/user_has_team.socket.js b/server/api/user_has_team/user_has_team.socket.js index 871f877..16de893 100644 --- a/server/api/user_has_team/user_has_team.socket.js +++ b/server/api/user_has_team/user_has_team.socket.js @@ -1 +1 @@ -var _0x473e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x55\x73\x65\x72\x48\x61\x73\x54\x65\x61\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x74\x65\x61\x6D\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x74\x65\x61\x6D\x3A\x72\x65\x6D\x6F\x76\x65"];_0x473e[0];var user_has_team=require(_0x473e[2])[_0x473e[1]];exports[_0x473e[3]]=function(_0x1949x2){user_has_team[_0x473e[4]](function(_0x1949x3){onSave(_0x1949x2,_0x1949x3)});user_has_team[_0x473e[5]](function(_0x1949x3){onRemove(_0x1949x2,_0x1949x3)})};function onSave(_0x1949x2,_0x1949x3,_0x1949x5){_0x1949x2[_0x473e[7]](_0x473e[6],_0x1949x3)}function onRemove(_0x1949x2,_0x1949x3,_0x1949x5){_0x1949x2[_0x473e[7]](_0x473e[8],_0x1949x3)} \ No newline at end of file +var _0x5006=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x55\x73\x65\x72\x48\x61\x73\x54\x65\x61\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x74\x65\x61\x6D\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x74\x65\x61\x6D\x3A\x72\x65\x6D\x6F\x76\x65"];_0x5006[0];var user_has_team=require(_0x5006[2])[_0x5006[1]];exports[_0x5006[3]]=function(_0xe729x2){user_has_team[_0x5006[4]](function(_0xe729x3){onSave(_0xe729x2,_0xe729x3)});user_has_team[_0x5006[5]](function(_0xe729x3){onRemove(_0xe729x2,_0xe729x3)})};function onSave(_0xe729x2,_0xe729x3,_0xe729x5){_0xe729x2[_0x5006[7]](_0x5006[6],_0xe729x3)}function onRemove(_0xe729x2,_0xe729x3,_0xe729x5){_0xe729x2[_0x5006[7]](_0x5006[8],_0xe729x3)} \ No newline at end of file diff --git a/server/api/user_has_team/user_has_team.spec.js b/server/api/user_has_team/user_has_team.spec.js index ed62912..0fcb8de 100644 --- a/server/api/user_has_team/user_has_team.spec.js +++ b/server/api/user_has_team/user_has_team.spec.js @@ -1 +1 @@ -var _0x7537=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x73\x68\x6F\x75\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x70\x70","\x73\x75\x70\x65\x72\x74\x65\x73\x74","\x47\x45\x54\x20\x2F\x61\x70\x69\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x74\x65\x61\x6D\x73","\x73\x68\x6F\x75\x6C\x64\x20\x72\x65\x73\x70\x6F\x6E\x64\x20\x77\x69\x74\x68\x20\x4A\x53\x4F\x4E\x20\x61\x72\x72\x61\x79","\x69\x6E\x73\x74\x61\x6E\x63\x65\x6F\x66","\x62\x65","\x62\x6F\x64\x79","\x65\x6E\x64","\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65","\x65\x78\x70\x65\x63\x74","\x2F\x61\x70\x69\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x74\x65\x61\x6D\x73","\x67\x65\x74"];_0x7537[0];var should=require(_0x7537[1]);var app=require(_0x7537[2]);var request=require(_0x7537[3]);describe(_0x7537[4],function(){it(_0x7537[5],function(_0x5551x4){request(app)[_0x7537[13]](_0x7537[12])[_0x7537[11]](200)[_0x7537[11]](_0x7537[10],/json/)[_0x7537[9]](function(_0x5551x5,_0x5551x6){if(_0x5551x5){return _0x5551x4(_0x5551x5)};_0x5551x6[_0x7537[8]][_0x7537[1]][_0x7537[7]][_0x7537[6]](Array);_0x5551x4()})})}) \ No newline at end of file +var _0x38a8=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x73\x68\x6F\x75\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x70\x70","\x73\x75\x70\x65\x72\x74\x65\x73\x74","\x47\x45\x54\x20\x2F\x61\x70\x69\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x74\x65\x61\x6D\x73","\x73\x68\x6F\x75\x6C\x64\x20\x72\x65\x73\x70\x6F\x6E\x64\x20\x77\x69\x74\x68\x20\x4A\x53\x4F\x4E\x20\x61\x72\x72\x61\x79","\x69\x6E\x73\x74\x61\x6E\x63\x65\x6F\x66","\x62\x65","\x62\x6F\x64\x79","\x65\x6E\x64","\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65","\x65\x78\x70\x65\x63\x74","\x2F\x61\x70\x69\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x74\x65\x61\x6D\x73","\x67\x65\x74"];_0x38a8[0];var should=require(_0x38a8[1]);var app=require(_0x38a8[2]);var request=require(_0x38a8[3]);describe(_0x38a8[4],function(){it(_0x38a8[5],function(_0x7f29x4){request(app)[_0x38a8[13]](_0x38a8[12])[_0x38a8[11]](200)[_0x38a8[11]](_0x38a8[10],/json/)[_0x38a8[9]](function(_0x7f29x5,_0x7f29x6){if(_0x7f29x5){return _0x7f29x4(_0x7f29x5)};_0x7f29x6[_0x38a8[8]][_0x38a8[1]][_0x38a8[7]][_0x38a8[6]](Array);_0x7f29x4()})})}) \ No newline at end of file diff --git a/server/api/user_has_voice_queue/index.js b/server/api/user_has_voice_queue/index.js index 57f145e..f8d6f3c 100644 --- a/server/api/user_has_voice_queue/index.js +++ b/server/api/user_has_voice_queue/index.js @@ -1 +1 @@ -var _0xe005=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x76\x6F\x69\x63\x65\x5F\x71\x75\x65\x75\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xe005[0];var express=require(_0xe005[1]);var controller=require(_0xe005[2]);var router=express.Router();router[_0xe005[5]](_0xe005[3],controller[_0xe005[4]]);router[_0xe005[5]](_0xe005[6],controller[_0xe005[7]]);router[_0xe005[9]](_0xe005[3],controller[_0xe005[8]]);router[_0xe005[11]](_0xe005[6],controller[_0xe005[10]]);router[_0xe005[12]](_0xe005[6],controller[_0xe005[10]]);router[_0xe005[14]](_0xe005[6],controller[_0xe005[13]]);module[_0xe005[15]]=router \ No newline at end of file +var _0x89b9=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x76\x6F\x69\x63\x65\x5F\x71\x75\x65\x75\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x89b9[0];var express=require(_0x89b9[1]);var controller=require(_0x89b9[2]);var router=express.Router();router[_0x89b9[5]](_0x89b9[3],controller[_0x89b9[4]]);router[_0x89b9[5]](_0x89b9[6],controller[_0x89b9[7]]);router[_0x89b9[9]](_0x89b9[3],controller[_0x89b9[8]]);router[_0x89b9[11]](_0x89b9[6],controller[_0x89b9[10]]);router[_0x89b9[12]](_0x89b9[6],controller[_0x89b9[10]]);router[_0x89b9[14]](_0x89b9[6],controller[_0x89b9[13]]);module[_0x89b9[15]]=router \ No newline at end of file diff --git a/server/api/user_has_voice_queue/user_has_voice_queue.controller.js b/server/api/user_has_voice_queue/user_has_voice_queue.controller.js index 432ce7b..484b98f 100644 --- a/server/api/user_has_voice_queue/user_has_voice_queue.controller.js +++ b/server/api/user_has_voice_queue/user_has_voice_queue.controller.js @@ -1 +1 @@ -var _0xc4b5=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x55\x73\x65\x72\x48\x61\x73\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x6C\x6F\x67","\x65\x72\x72\x6F\x72","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0xc4b5[0];var _=require(_0xc4b5[1]);var UserHasVoiceQueue=require(_0xc4b5[3])[_0xc4b5[2]];exports[_0xc4b5[4]]=function(_0xb8e6x3,_0xb8e6x4){UserHasVoiceQueue[_0xc4b5[10]](_0xb8e6x3[_0xc4b5[9]]?{where:_0xb8e6x3[_0xc4b5[9]]}:{})[_0xc4b5[8]](function(_0xb8e6x6){return _0xb8e6x4[_0xc4b5[7]](200)[_0xc4b5[6]](_0xb8e6x6)})[_0xc4b5[5]](function(_0xb8e6x5){return handleError(_0xb8e6x4,_0xb8e6x5)})};exports[_0xc4b5[11]]=function(_0xb8e6x3,_0xb8e6x4){UserHasVoiceQueue[_0xc4b5[15]](_0xb8e6x3[_0xc4b5[14]][_0xc4b5[13]])[_0xc4b5[8]](function(_0xb8e6x7){if(!_0xb8e6x7){return _0xb8e6x4[_0xc4b5[12]](404)};return _0xb8e6x4[_0xc4b5[6]](_0xb8e6x7)})[_0xc4b5[5]](function(_0xb8e6x5){return handleError(_0xb8e6x4,_0xb8e6x5)})};exports[_0xc4b5[16]]=function(_0xb8e6x3,_0xb8e6x4,_0xb8e6x8){console[_0xc4b5[18]](_0xb8e6x3[_0xc4b5[17]]);UserHasVoiceQueue[_0xc4b5[16]](_0xb8e6x3[_0xc4b5[17]])[_0xc4b5[8]](function(_0xb8e6x7){return _0xb8e6x4[_0xc4b5[7]](201)[_0xc4b5[6]](_0xb8e6x7)})[_0xc4b5[5]](function(_0xb8e6x5){console[_0xc4b5[19]](_0xb8e6x5);return _0xb8e6x8(_0xb8e6x5)})};exports[_0xc4b5[20]]=function(_0xb8e6x3,_0xb8e6x4){if(_0xb8e6x3[_0xc4b5[17]][_0xc4b5[13]]){delete _0xb8e6x3[_0xc4b5[17]][_0xc4b5[13]]};UserHasVoiceQueue[_0xc4b5[15]](_0xb8e6x3[_0xc4b5[14]][_0xc4b5[13]])[_0xc4b5[8]](function(_0xb8e6x7){if(!_0xb8e6x7){return _0xb8e6x4[_0xc4b5[12]](404)};var _0xb8e6x9=_[_0xc4b5[21]](_0xb8e6x7,_0xb8e6x3[_0xc4b5[17]]);_0xb8e6x9[_0xc4b5[22]]()[_0xc4b5[8]](function(){return _0xb8e6x4[_0xc4b5[7]](200)[_0xc4b5[6]](_0xb8e6x7)})[_0xc4b5[5]](function(_0xb8e6x5){return handleError(_0xb8e6x4,_0xb8e6x5)})})[_0xc4b5[5]](function(_0xb8e6x5){return handleError(_0xb8e6x4,_0xb8e6x5)})};exports[_0xc4b5[23]]=function(_0xb8e6x3,_0xb8e6x4){UserHasVoiceQueue[_0xc4b5[15]](_0xb8e6x3[_0xc4b5[14]][_0xc4b5[13]])[_0xc4b5[8]](function(_0xb8e6x7){if(!_0xb8e6x7){return _0xb8e6x4[_0xc4b5[12]](404)};_0xb8e6x7[_0xc4b5[23]]()[_0xc4b5[8]](function(){return _0xb8e6x4[_0xc4b5[12]](204)})[_0xc4b5[5]](function(_0xb8e6x5){return handleError(_0xb8e6x4,_0xb8e6x5)})})[_0xc4b5[5]](function(_0xb8e6x5){return handleError(_0xb8e6x4,_0xb8e6x5)})};function handleError(_0xb8e6x4,_0xb8e6x5){return _0xb8e6x4[_0xc4b5[7]](500)[_0xc4b5[6]](_0xb8e6x5)} \ No newline at end of file +var _0xdcf5=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x55\x73\x65\x72\x48\x61\x73\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x6C\x6F\x67","\x65\x72\x72\x6F\x72","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0xdcf5[0];var _=require(_0xdcf5[1]);var UserHasVoiceQueue=require(_0xdcf5[3])[_0xdcf5[2]];exports[_0xdcf5[4]]=function(_0xe8f2x3,_0xe8f2x4){UserHasVoiceQueue[_0xdcf5[10]](_0xe8f2x3[_0xdcf5[9]]?{where:_0xe8f2x3[_0xdcf5[9]]}:{})[_0xdcf5[8]](function(_0xe8f2x6){return _0xe8f2x4[_0xdcf5[7]](200)[_0xdcf5[6]](_0xe8f2x6)})[_0xdcf5[5]](function(_0xe8f2x5){return handleError(_0xe8f2x4,_0xe8f2x5)})};exports[_0xdcf5[11]]=function(_0xe8f2x3,_0xe8f2x4){UserHasVoiceQueue[_0xdcf5[15]](_0xe8f2x3[_0xdcf5[14]][_0xdcf5[13]])[_0xdcf5[8]](function(_0xe8f2x7){if(!_0xe8f2x7){return _0xe8f2x4[_0xdcf5[12]](404)};return _0xe8f2x4[_0xdcf5[6]](_0xe8f2x7)})[_0xdcf5[5]](function(_0xe8f2x5){return handleError(_0xe8f2x4,_0xe8f2x5)})};exports[_0xdcf5[16]]=function(_0xe8f2x3,_0xe8f2x4,_0xe8f2x8){console[_0xdcf5[18]](_0xe8f2x3[_0xdcf5[17]]);UserHasVoiceQueue[_0xdcf5[16]](_0xe8f2x3[_0xdcf5[17]])[_0xdcf5[8]](function(_0xe8f2x7){return _0xe8f2x4[_0xdcf5[7]](201)[_0xdcf5[6]](_0xe8f2x7)})[_0xdcf5[5]](function(_0xe8f2x5){console[_0xdcf5[19]](_0xe8f2x5);return _0xe8f2x8(_0xe8f2x5)})};exports[_0xdcf5[20]]=function(_0xe8f2x3,_0xe8f2x4){if(_0xe8f2x3[_0xdcf5[17]][_0xdcf5[13]]){delete _0xe8f2x3[_0xdcf5[17]][_0xdcf5[13]]};UserHasVoiceQueue[_0xdcf5[15]](_0xe8f2x3[_0xdcf5[14]][_0xdcf5[13]])[_0xdcf5[8]](function(_0xe8f2x7){if(!_0xe8f2x7){return _0xe8f2x4[_0xdcf5[12]](404)};var _0xe8f2x9=_[_0xdcf5[21]](_0xe8f2x7,_0xe8f2x3[_0xdcf5[17]]);_0xe8f2x9[_0xdcf5[22]]()[_0xdcf5[8]](function(){return _0xe8f2x4[_0xdcf5[7]](200)[_0xdcf5[6]](_0xe8f2x7)})[_0xdcf5[5]](function(_0xe8f2x5){return handleError(_0xe8f2x4,_0xe8f2x5)})})[_0xdcf5[5]](function(_0xe8f2x5){return handleError(_0xe8f2x4,_0xe8f2x5)})};exports[_0xdcf5[23]]=function(_0xe8f2x3,_0xe8f2x4){UserHasVoiceQueue[_0xdcf5[15]](_0xe8f2x3[_0xdcf5[14]][_0xdcf5[13]])[_0xdcf5[8]](function(_0xe8f2x7){if(!_0xe8f2x7){return _0xe8f2x4[_0xdcf5[12]](404)};_0xe8f2x7[_0xdcf5[23]]()[_0xdcf5[8]](function(){return _0xe8f2x4[_0xdcf5[12]](204)})[_0xdcf5[5]](function(_0xe8f2x5){return handleError(_0xe8f2x4,_0xe8f2x5)})})[_0xdcf5[5]](function(_0xe8f2x5){return handleError(_0xe8f2x4,_0xe8f2x5)})};function handleError(_0xe8f2x4,_0xe8f2x5){return _0xe8f2x4[_0xdcf5[7]](500)[_0xdcf5[6]](_0xe8f2x5)} \ No newline at end of file diff --git a/server/api/user_has_voice_queue/user_has_voice_queue.socket.js b/server/api/user_has_voice_queue/user_has_voice_queue.socket.js index 1e7d4ed..af9767d 100644 --- a/server/api/user_has_voice_queue/user_has_voice_queue.socket.js +++ b/server/api/user_has_voice_queue/user_has_voice_queue.socket.js @@ -1 +1 @@ -var _0xeac5=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x55\x73\x65\x72\x48\x61\x73\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72\x48\x61\x73\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x50\x65\x72\x6D\x69\x74","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x75\x73\x65\x72\x49\x64","\x55\x73\x65\x72\x69\x64","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x76\x6F\x69\x63\x65\x5F\x71\x75\x65\x75\x65\x5F\x70\x65\x72\x6D\x69\x74\x3A\x63\x68\x61\x6E\x67\x65","\x65\x6D\x69\x74","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x76\x6F\x69\x63\x65\x5F\x71\x75\x65\x75\x65\x3A\x73\x61\x76\x65","\x6C\x6F\x67\x67\x65\x64","\x6C\x6F\x67\x67\x65\x64\x41\x74","\x71\x75\x65\x75\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x69\x6E\x74\x65\x72\x66\x61\x63\x65","\x63\x61\x6C\x6C\x73\x74\x61\x6B\x65\x6E","\x6C\x61\x73\x74\x63\x61\x6C\x6C","\x73\x74\x61\x74\x75\x73","\x73\x74\x61\x74\x75\x73\x64\x65\x73\x63","\x73\x74\x61\x74\x75\x73\x41\x74","\x70\x61\x75\x73\x65\x64","\x70\x61\x75\x73\x65\x64\x41\x74","\x72\x65\x61\x73\x6F\x6E","\x55\x73\x65\x72\x49\x64","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x76\x6F\x69\x63\x65\x5F\x71\x75\x65\x75\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0xeac5[0];var UserHasVoiceQueue=require(_0xeac5[2])[_0xeac5[1]];var UserHasVoiceQueuePermit=require(_0xeac5[2])[_0xeac5[3]];exports[_0xeac5[4]]=function(_0xa645x3){UserHasVoiceQueue[_0xeac5[5]](function(_0xa645x4){onSave(_0xa645x3,_0xa645x4)});UserHasVoiceQueue[_0xeac5[6]](function(_0xa645x4){onSave(_0xa645x3,_0xa645x4)});UserHasVoiceQueue[_0xeac5[7]](function(_0xa645x4){onRemove(_0xa645x3,_0xa645x4)});UserHasVoiceQueuePermit[_0xeac5[5]](function(_0xa645x4){permitChange(_0xa645x3,_0xa645x4)});UserHasVoiceQueuePermit[_0xeac5[7]](function(_0xa645x4){permitChange(_0xa645x3,_0xa645x4)})};function permitChange(_0xa645x3,_0xa645x4){if(_0xa645x3[_0xeac5[8]]==_0xa645x4[_0xeac5[9]]){_0xa645x3[_0xeac5[11]](_0xeac5[10])}}function onSave(_0xa645x3,_0xa645x4,_0xa645x7){_0xa645x3[_0xeac5[11]](_0xeac5[12],{logged:_0xa645x4[_0xeac5[13]],loggedAt:_0xa645x4[_0xeac5[14]],queue:_0xa645x4[_0xeac5[15]],membername:_0xa645x4[_0xeac5[16]],interface:_0xa645x4[_0xeac5[17]],callstaken:_0xa645x4[_0xeac5[18]],lastcall:_0xa645x4[_0xeac5[19]],status:_0xa645x4[_0xeac5[20]],statusdesc:_0xa645x4[_0xeac5[21]],statusAt:_0xa645x4[_0xeac5[22]],paused:_0xa645x4[_0xeac5[23]],pausedAt:_0xa645x4[_0xeac5[24]],reason:_0xa645x4[_0xeac5[25]],UserId:_0xa645x4[_0xeac5[26]]})}function onRemove(_0xa645x3,_0xa645x4,_0xa645x7){_0xa645x3[_0xeac5[11]](_0xeac5[27],_0xa645x4)} \ No newline at end of file +var _0x637c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x55\x73\x65\x72\x48\x61\x73\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72\x48\x61\x73\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x50\x65\x72\x6D\x69\x74","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x75\x73\x65\x72\x49\x64","\x55\x73\x65\x72\x69\x64","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x76\x6F\x69\x63\x65\x5F\x71\x75\x65\x75\x65\x5F\x70\x65\x72\x6D\x69\x74\x3A\x63\x68\x61\x6E\x67\x65","\x65\x6D\x69\x74","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x76\x6F\x69\x63\x65\x5F\x71\x75\x65\x75\x65\x3A\x73\x61\x76\x65","\x6C\x6F\x67\x67\x65\x64","\x6C\x6F\x67\x67\x65\x64\x41\x74","\x71\x75\x65\x75\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x69\x6E\x74\x65\x72\x66\x61\x63\x65","\x63\x61\x6C\x6C\x73\x74\x61\x6B\x65\x6E","\x6C\x61\x73\x74\x63\x61\x6C\x6C","\x73\x74\x61\x74\x75\x73","\x73\x74\x61\x74\x75\x73\x64\x65\x73\x63","\x73\x74\x61\x74\x75\x73\x41\x74","\x70\x61\x75\x73\x65\x64","\x70\x61\x75\x73\x65\x64\x41\x74","\x72\x65\x61\x73\x6F\x6E","\x55\x73\x65\x72\x49\x64","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x76\x6F\x69\x63\x65\x5F\x71\x75\x65\x75\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x637c[0];var UserHasVoiceQueue=require(_0x637c[2])[_0x637c[1]];var UserHasVoiceQueuePermit=require(_0x637c[2])[_0x637c[3]];exports[_0x637c[4]]=function(_0x1f1bx3){UserHasVoiceQueue[_0x637c[5]](function(_0x1f1bx4){onSave(_0x1f1bx3,_0x1f1bx4)});UserHasVoiceQueue[_0x637c[6]](function(_0x1f1bx4){onSave(_0x1f1bx3,_0x1f1bx4)});UserHasVoiceQueue[_0x637c[7]](function(_0x1f1bx4){onRemove(_0x1f1bx3,_0x1f1bx4)});UserHasVoiceQueuePermit[_0x637c[5]](function(_0x1f1bx4){permitChange(_0x1f1bx3,_0x1f1bx4)});UserHasVoiceQueuePermit[_0x637c[7]](function(_0x1f1bx4){permitChange(_0x1f1bx3,_0x1f1bx4)})};function permitChange(_0x1f1bx3,_0x1f1bx4){if(_0x1f1bx3[_0x637c[8]]==_0x1f1bx4[_0x637c[9]]){_0x1f1bx3[_0x637c[11]](_0x637c[10])}}function onSave(_0x1f1bx3,_0x1f1bx4,_0x1f1bx7){_0x1f1bx3[_0x637c[11]](_0x637c[12],{logged:_0x1f1bx4[_0x637c[13]],loggedAt:_0x1f1bx4[_0x637c[14]],queue:_0x1f1bx4[_0x637c[15]],membername:_0x1f1bx4[_0x637c[16]],interface:_0x1f1bx4[_0x637c[17]],callstaken:_0x1f1bx4[_0x637c[18]],lastcall:_0x1f1bx4[_0x637c[19]],status:_0x1f1bx4[_0x637c[20]],statusdesc:_0x1f1bx4[_0x637c[21]],statusAt:_0x1f1bx4[_0x637c[22]],paused:_0x1f1bx4[_0x637c[23]],pausedAt:_0x1f1bx4[_0x637c[24]],reason:_0x1f1bx4[_0x637c[25]],UserId:_0x1f1bx4[_0x637c[26]]})}function onRemove(_0x1f1bx3,_0x1f1bx4,_0x1f1bx7){_0x1f1bx3[_0x637c[11]](_0x637c[27],_0x1f1bx4)} \ No newline at end of file diff --git a/server/api/variable/index.js b/server/api/variable/index.js index 82d4f20..bcb8fb6 100644 --- a/server/api/variable/index.js +++ b/server/api/variable/index.js @@ -1 +1 @@ -var _0x82c2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x76\x61\x72\x69\x61\x62\x6C\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x82c2[0];var express=require(_0x82c2[1]);var controller=require(_0x82c2[2]);var auth=require(_0x82c2[3]);var router=express.Router();router[_0x82c2[9]](_0x82c2[4],auth[_0x82c2[5]](),auth[_0x82c2[7]]([13,14],[_0x82c2[6]]),controller[_0x82c2[8]]);router[_0x82c2[9]](_0x82c2[10],auth[_0x82c2[5]](),auth[_0x82c2[7]]([13],[_0x82c2[6]]),controller[_0x82c2[11]]);router[_0x82c2[13]](_0x82c2[4],auth[_0x82c2[5]](),auth[_0x82c2[7]]([13],[_0x82c2[6]]),controller[_0x82c2[12]]);router[_0x82c2[15]](_0x82c2[10],auth[_0x82c2[5]](),auth[_0x82c2[7]]([13],[_0x82c2[6]]),controller[_0x82c2[14]]);router[_0x82c2[17]](_0x82c2[4],auth[_0x82c2[5]](),auth[_0x82c2[7]]([13],[_0x82c2[6]]),controller[_0x82c2[16]]);router[_0x82c2[17]](_0x82c2[10],auth[_0x82c2[5]](),auth[_0x82c2[7]]([13],[_0x82c2[6]]),controller[_0x82c2[18]]);module[_0x82c2[19]]=router \ No newline at end of file +var _0x7fe7=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x76\x61\x72\x69\x61\x62\x6C\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x7fe7[0];var express=require(_0x7fe7[1]);var controller=require(_0x7fe7[2]);var auth=require(_0x7fe7[3]);var router=express.Router();router[_0x7fe7[9]](_0x7fe7[4],auth[_0x7fe7[5]](),auth[_0x7fe7[7]]([13,14],[_0x7fe7[6]]),controller[_0x7fe7[8]]);router[_0x7fe7[9]](_0x7fe7[10],auth[_0x7fe7[5]](),auth[_0x7fe7[7]]([13],[_0x7fe7[6]]),controller[_0x7fe7[11]]);router[_0x7fe7[13]](_0x7fe7[4],auth[_0x7fe7[5]](),auth[_0x7fe7[7]]([13],[_0x7fe7[6]]),controller[_0x7fe7[12]]);router[_0x7fe7[15]](_0x7fe7[10],auth[_0x7fe7[5]](),auth[_0x7fe7[7]]([13],[_0x7fe7[6]]),controller[_0x7fe7[14]]);router[_0x7fe7[17]](_0x7fe7[4],auth[_0x7fe7[5]](),auth[_0x7fe7[7]]([13],[_0x7fe7[6]]),controller[_0x7fe7[16]]);router[_0x7fe7[17]](_0x7fe7[10],auth[_0x7fe7[5]](),auth[_0x7fe7[7]]([13],[_0x7fe7[6]]),controller[_0x7fe7[18]]);module[_0x7fe7[19]]=router \ No newline at end of file diff --git a/server/api/variable/variable.controller.js b/server/api/variable/variable.controller.js index 9a0b608..abcbf79 100644 --- a/server/api/variable/variable.controller.js +++ b/server/api/variable/variable.controller.js @@ -1 +1 @@ -var _0x7da8=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x56\x61\x72\x69\x61\x62\x6C\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x6D\x65\x73\x73\x61\x67\x65","\x56\x61\x72\x69\x61\x62\x6C\x65\x20\x69\x73\x20\x61\x73\x73\x6F\x63\x69\x61\x74\x65\x64\x20\x77\x69\x74\x68\x20\x61\x6E\x20\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x27\x73\x20\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x66\x69\x65\x6C\x64\x73","\x73\x63\x6F\x70\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x5A\x65\x6E\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x73","\x6C\x65\x6E\x67\x74\x68","\x44\x65\x73\x6B\x46\x69\x65\x6C\x64\x73","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x46\x69\x65\x6C\x64\x73","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x73","\x53\x75\x67\x61\x72\x63\x72\x6D\x46\x69\x65\x6C\x64\x73"];_0x7da8[0];var _=require(_0x7da8[1]);var Variable=require(_0x7da8[3])[_0x7da8[2]];var Util=require(_0x7da8[4]);exports[_0x7da8[5]]=function(_0x1768x4,_0x1768x5,_0x1768x6){return Variable[_0x7da8[12]](Util[_0x7da8[11]](_0x1768x4[_0x7da8[10]]))[_0x7da8[9]](function(_0x1768x8){_0x1768x5[_0x7da8[8]](200)[_0x7da8[7]](_0x1768x8)})[_0x7da8[6]](function(_0x1768x7){return handleError(_0x1768x5,_0x1768x7)})};exports[_0x7da8[13]]=function(_0x1768x4,_0x1768x5){return Variable[_0x7da8[17]](_0x1768x4[_0x7da8[16]][_0x7da8[15]])[_0x7da8[9]](function(_0x1768x9){if(!_0x1768x9){return _0x1768x5[_0x7da8[14]](404)};return _0x1768x5[_0x7da8[7]](_0x1768x9)})[_0x7da8[6]](function(_0x1768x7){return handleError(_0x1768x5,_0x1768x7)})};exports[_0x7da8[18]]=function(_0x1768x4,_0x1768x5){return Variable[_0x7da8[18]](_0x1768x4[_0x7da8[19]])[_0x7da8[9]](function(_0x1768x9){return _0x1768x5[_0x7da8[8]](201)[_0x7da8[7]](_0x1768x9)})[_0x7da8[6]](function(_0x1768x7){return handleError(_0x1768x5,_0x1768x7)})};exports[_0x7da8[20]]=function(_0x1768x4,_0x1768x5){if(_0x1768x4[_0x7da8[19]][_0x7da8[15]]){delete _0x1768x4[_0x7da8[19]][_0x7da8[15]]};return Variable[_0x7da8[17]](_0x1768x4[_0x7da8[16]][_0x7da8[15]])[_0x7da8[9]](function(_0x1768x9){if(!_0x1768x9){return _0x1768x5[_0x7da8[14]](404)};var _0x1768xa=_[_0x7da8[21]](_0x1768x9,_0x1768x4[_0x7da8[19]]);return _0x1768xa[_0x7da8[22]]()})[_0x7da8[9]](function(_0x1768x9){return _0x1768x5[_0x7da8[8]](200)[_0x7da8[7]](_0x1768x9)})[_0x7da8[6]](function(_0x1768x7){return handleError(_0x1768x5,_0x1768x7)})};exports[_0x7da8[23]]=function(_0x1768x4,_0x1768x5){return Variable[_0x7da8[27]](_0x7da8[26])[_0x7da8[17]](_0x1768x4[_0x7da8[16]][_0x7da8[15]])[_0x7da8[9]](function(_0x1768x9){if(!_0x1768x9){return _0x1768x5[_0x7da8[14]](404)};if(variableHasAssociation(_0x1768x9)){var _0x1768x7= new Error();_0x1768x7[_0x7da8[24]]=_0x7da8[25];throw _0x1768x7};return _0x1768x9[_0x7da8[23]]()})[_0x7da8[9]](function(){return _0x1768x5[_0x7da8[14]](204)})[_0x7da8[6]](function(_0x1768x7){return handleError(_0x1768x5,_0x1768x7)})};exports[_0x7da8[28]]=function(_0x1768x4,_0x1768x5){return Variable[_0x7da8[23]]({where:{id:_0x1768x4[_0x7da8[10]][_0x7da8[29]]},individualHooks:true})[_0x7da8[9]](function(){return _0x1768x5[_0x7da8[14]](204)})[_0x7da8[6]](function(_0x1768x7){return handleError(_0x1768x5,_0x1768x7)})};function handleError(_0x1768x5,_0x1768x7){return _0x1768x5[_0x7da8[8]](500)[_0x7da8[7]](_0x1768x7)}function variableHasAssociation(_0x1768x9){return ((_0x1768x9[_0x7da8[30]]&&_0x1768x9[_0x7da8[30]][_0x7da8[31]]>0)||(_0x1768x9[_0x7da8[32]]&&_0x1768x9[_0x7da8[32]][_0x7da8[31]]>0)||(_0x1768x9[_0x7da8[33]]&&_0x1768x9[_0x7da8[33]][_0x7da8[31]]>0)||(_0x1768x9[_0x7da8[34]]&&_0x1768x9[_0x7da8[34]][_0x7da8[31]]>0)||(_0x1768x9[_0x7da8[35]]&&_0x1768x9[_0x7da8[35]][_0x7da8[31]]>0))} \ No newline at end of file +var _0x2113=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x56\x61\x72\x69\x61\x62\x6C\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x6D\x65\x73\x73\x61\x67\x65","\x56\x61\x72\x69\x61\x62\x6C\x65\x20\x69\x73\x20\x61\x73\x73\x6F\x63\x69\x61\x74\x65\x64\x20\x77\x69\x74\x68\x20\x61\x6E\x20\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x27\x73\x20\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x66\x69\x65\x6C\x64\x73","\x73\x63\x6F\x70\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x5A\x65\x6E\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x73","\x6C\x65\x6E\x67\x74\x68","\x44\x65\x73\x6B\x46\x69\x65\x6C\x64\x73","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x46\x69\x65\x6C\x64\x73","\x46\x72\x65\x73\x68\x64\x65\x73\x6B\x46\x69\x65\x6C\x64\x73","\x53\x75\x67\x61\x72\x63\x72\x6D\x46\x69\x65\x6C\x64\x73"];_0x2113[0];var _=require(_0x2113[1]);var Variable=require(_0x2113[3])[_0x2113[2]];var Util=require(_0x2113[4]);exports[_0x2113[5]]=function(_0xae9ax4,_0xae9ax5,_0xae9ax6){return Variable[_0x2113[12]](Util[_0x2113[11]](_0xae9ax4[_0x2113[10]]))[_0x2113[9]](function(_0xae9ax8){_0xae9ax5[_0x2113[8]](200)[_0x2113[7]](_0xae9ax8)})[_0x2113[6]](function(_0xae9ax7){return handleError(_0xae9ax5,_0xae9ax7)})};exports[_0x2113[13]]=function(_0xae9ax4,_0xae9ax5){return Variable[_0x2113[17]](_0xae9ax4[_0x2113[16]][_0x2113[15]])[_0x2113[9]](function(_0xae9ax9){if(!_0xae9ax9){return _0xae9ax5[_0x2113[14]](404)};return _0xae9ax5[_0x2113[7]](_0xae9ax9)})[_0x2113[6]](function(_0xae9ax7){return handleError(_0xae9ax5,_0xae9ax7)})};exports[_0x2113[18]]=function(_0xae9ax4,_0xae9ax5){return Variable[_0x2113[18]](_0xae9ax4[_0x2113[19]])[_0x2113[9]](function(_0xae9ax9){return _0xae9ax5[_0x2113[8]](201)[_0x2113[7]](_0xae9ax9)})[_0x2113[6]](function(_0xae9ax7){return handleError(_0xae9ax5,_0xae9ax7)})};exports[_0x2113[20]]=function(_0xae9ax4,_0xae9ax5){if(_0xae9ax4[_0x2113[19]][_0x2113[15]]){delete _0xae9ax4[_0x2113[19]][_0x2113[15]]};return Variable[_0x2113[17]](_0xae9ax4[_0x2113[16]][_0x2113[15]])[_0x2113[9]](function(_0xae9ax9){if(!_0xae9ax9){return _0xae9ax5[_0x2113[14]](404)};var _0xae9axa=_[_0x2113[21]](_0xae9ax9,_0xae9ax4[_0x2113[19]]);return _0xae9axa[_0x2113[22]]()})[_0x2113[9]](function(_0xae9ax9){return _0xae9ax5[_0x2113[8]](200)[_0x2113[7]](_0xae9ax9)})[_0x2113[6]](function(_0xae9ax7){return handleError(_0xae9ax5,_0xae9ax7)})};exports[_0x2113[23]]=function(_0xae9ax4,_0xae9ax5){return Variable[_0x2113[27]](_0x2113[26])[_0x2113[17]](_0xae9ax4[_0x2113[16]][_0x2113[15]])[_0x2113[9]](function(_0xae9ax9){if(!_0xae9ax9){return _0xae9ax5[_0x2113[14]](404)};if(variableHasAssociation(_0xae9ax9)){var _0xae9ax7= new Error();_0xae9ax7[_0x2113[24]]=_0x2113[25];throw _0xae9ax7};return _0xae9ax9[_0x2113[23]]()})[_0x2113[9]](function(){return _0xae9ax5[_0x2113[14]](204)})[_0x2113[6]](function(_0xae9ax7){return handleError(_0xae9ax5,_0xae9ax7)})};exports[_0x2113[28]]=function(_0xae9ax4,_0xae9ax5){return Variable[_0x2113[23]]({where:{id:_0xae9ax4[_0x2113[10]][_0x2113[29]]},individualHooks:true})[_0x2113[9]](function(){return _0xae9ax5[_0x2113[14]](204)})[_0x2113[6]](function(_0xae9ax7){return handleError(_0xae9ax5,_0xae9ax7)})};function handleError(_0xae9ax5,_0xae9ax7){return _0xae9ax5[_0x2113[8]](500)[_0x2113[7]](_0xae9ax7)}function variableHasAssociation(_0xae9ax9){return ((_0xae9ax9[_0x2113[30]]&&_0xae9ax9[_0x2113[30]][_0x2113[31]]>0)||(_0xae9ax9[_0x2113[32]]&&_0xae9ax9[_0x2113[32]][_0x2113[31]]>0)||(_0xae9ax9[_0x2113[33]]&&_0xae9ax9[_0x2113[33]][_0x2113[31]]>0)||(_0xae9ax9[_0x2113[34]]&&_0xae9ax9[_0x2113[34]][_0x2113[31]]>0)||(_0xae9ax9[_0x2113[35]]&&_0xae9ax9[_0x2113[35]][_0x2113[31]]>0))} \ No newline at end of file diff --git a/server/api/variable/variable.socket.js b/server/api/variable/variable.socket.js index e9b7689..384d35f 100644 --- a/server/api/variable/variable.socket.js +++ b/server/api/variable/variable.socket.js @@ -1 +1 @@ -var _0xb81b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x56\x61\x72\x69\x61\x62\x6C\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x76\x61\x72\x69\x61\x62\x6C\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x76\x61\x72\x69\x61\x62\x6C\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0xb81b[0];var Variable=require(_0xb81b[2])[_0xb81b[1]];exports[_0xb81b[3]]=function(_0x4e98x2){Variable[_0xb81b[4]](function(_0x4e98x3){onSave(_0x4e98x2,_0x4e98x3)});Variable[_0xb81b[5]](function(_0x4e98x3){onRemove(_0x4e98x2,_0x4e98x3)})};function onSave(_0x4e98x2,_0x4e98x3,_0x4e98x5){_0x4e98x2[_0xb81b[7]](_0xb81b[6],_0x4e98x3)}function onRemove(_0x4e98x2,_0x4e98x3,_0x4e98x5){_0x4e98x2[_0xb81b[7]](_0xb81b[8],_0x4e98x3)} \ No newline at end of file +var _0x1b68=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x56\x61\x72\x69\x61\x62\x6C\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x76\x61\x72\x69\x61\x62\x6C\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x76\x61\x72\x69\x61\x62\x6C\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x1b68[0];var Variable=require(_0x1b68[2])[_0x1b68[1]];exports[_0x1b68[3]]=function(_0x642fx2){Variable[_0x1b68[4]](function(_0x642fx3){onSave(_0x642fx2,_0x642fx3)});Variable[_0x1b68[5]](function(_0x642fx3){onRemove(_0x642fx2,_0x642fx3)})};function onSave(_0x642fx2,_0x642fx3,_0x642fx5){_0x642fx2[_0x1b68[7]](_0x1b68[6],_0x642fx3)}function onRemove(_0x642fx2,_0x642fx3,_0x642fx5){_0x642fx2[_0x1b68[7]](_0x1b68[8],_0x642fx3)} \ No newline at end of file diff --git a/server/api/voice_context/index.js b/server/api/voice_context/index.js index d665524..735a9b8 100644 --- a/server/api/voice_context/index.js +++ b/server/api/voice_context/index.js @@ -1 +1 @@ -var _0xa1cc=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x76\x6F\x69\x63\x65\x5F\x63\x6F\x6E\x74\x65\x78\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x76\x61\x6C\x69\x64\x61\x74\x65","\x63\x6F\x6E\x74\x65\x78\x74\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0xa1cc[0];var express=require(_0xa1cc[1]);var controller=require(_0xa1cc[2]);var auth=require(_0xa1cc[3]);var router=express.Router();router[_0xa1cc[9]](_0xa1cc[4],auth[_0xa1cc[5]](),auth[_0xa1cc[7]]([7],[_0xa1cc[6]]),controller[_0xa1cc[8]]);router[_0xa1cc[9]](_0xa1cc[10],auth[_0xa1cc[5]](),auth[_0xa1cc[7]]([7],[_0xa1cc[6]]),controller[_0xa1cc[11]]);router[_0xa1cc[13]](_0xa1cc[4],auth[_0xa1cc[5]](),auth[_0xa1cc[7]]([7],[_0xa1cc[6]]),controller[_0xa1cc[12]]);router[_0xa1cc[13]](_0xa1cc[14],auth[_0xa1cc[5]](),auth[_0xa1cc[7]]([7],[_0xa1cc[6]]),controller[_0xa1cc[15]]);router[_0xa1cc[17]](_0xa1cc[10],auth[_0xa1cc[5]](),auth[_0xa1cc[7]]([7],[_0xa1cc[6]]),controller[_0xa1cc[16]]);router[_0xa1cc[19]](_0xa1cc[4],auth[_0xa1cc[5]](),auth[_0xa1cc[7]]([7],[_0xa1cc[6]]),controller[_0xa1cc[18]]);router[_0xa1cc[19]](_0xa1cc[10],auth[_0xa1cc[5]](),auth[_0xa1cc[7]]([7],[_0xa1cc[6]]),controller[_0xa1cc[20]]);module[_0xa1cc[21]]=router \ No newline at end of file +var _0xc91a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x76\x6F\x69\x63\x65\x5F\x63\x6F\x6E\x74\x65\x78\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x76\x61\x6C\x69\x64\x61\x74\x65","\x63\x6F\x6E\x74\x65\x78\x74\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0xc91a[0];var express=require(_0xc91a[1]);var controller=require(_0xc91a[2]);var auth=require(_0xc91a[3]);var router=express.Router();router[_0xc91a[9]](_0xc91a[4],auth[_0xc91a[5]](),auth[_0xc91a[7]]([7],[_0xc91a[6]]),controller[_0xc91a[8]]);router[_0xc91a[9]](_0xc91a[10],auth[_0xc91a[5]](),auth[_0xc91a[7]]([7],[_0xc91a[6]]),controller[_0xc91a[11]]);router[_0xc91a[13]](_0xc91a[4],auth[_0xc91a[5]](),auth[_0xc91a[7]]([7],[_0xc91a[6]]),controller[_0xc91a[12]]);router[_0xc91a[13]](_0xc91a[14],auth[_0xc91a[5]](),auth[_0xc91a[7]]([7],[_0xc91a[6]]),controller[_0xc91a[15]]);router[_0xc91a[17]](_0xc91a[10],auth[_0xc91a[5]](),auth[_0xc91a[7]]([7],[_0xc91a[6]]),controller[_0xc91a[16]]);router[_0xc91a[19]](_0xc91a[4],auth[_0xc91a[5]](),auth[_0xc91a[7]]([7],[_0xc91a[6]]),controller[_0xc91a[18]]);router[_0xc91a[19]](_0xc91a[10],auth[_0xc91a[5]](),auth[_0xc91a[7]]([7],[_0xc91a[6]]),controller[_0xc91a[20]]);module[_0xc91a[21]]=router \ No newline at end of file diff --git a/server/api/voice_context/voice_context.controller.js b/server/api/voice_context/voice_context.controller.js index 2b04382..0a099ee 100644 --- a/server/api/voice_context/voice_context.controller.js +++ b/server/api/voice_context/voice_context.controller.js @@ -1 +1 @@ -var _0x2e39=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x56\x6F\x69\x63\x65\x43\x6F\x6E\x74\x65\x78\x74","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x6F\x6E\x74\x65\x78\x74\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x6E\x61\x6D\x65","\x62\x6F\x64\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x63\x72\x65\x61\x74\x65","\x6D\x65\x73\x73\x61\x67\x65","\x54\x68\x65\x20\x63\x6F\x6E\x74\x65\x78\x74\x20\x6E\x61\x6D\x65\x20\x61\x6C\x72\x65\x61\x64\x79\x20\x65\x78\x69\x73\x74\x73","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x64\x4D\x65\x73\x73\x61\x67\x65","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x43\x4F\x4E\x54\x45\x58\x54","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x6C\x65\x6E\x67\x74\x68","\x64\x65\x73\x74\x72\x6F\x79","\x65\x72\x72","\x6C\x6F\x67","\x54\x68\x65\x20\x63\x6F\x6E\x74\x65\x78\x74\x20\x69\x73\x20\x61\x73\x73\x6F\x63\x69\x61\x74\x65\x64\x20\x74\x6F\x20\x61\x20\x72\x6F\x75\x74\x65\x2C\x20\x64\x65\x6C\x65\x74\x65\x20\x6F\x72\x20\x63\x68\x61\x6E\x67\x65\x20\x69\x74\x20\x66\x69\x72\x73\x74","\x4D\x45\x53\x53\x41\x47\x45\x5F\x43\x4F\x4E\x54\x45\x58\x54\x5F\x52\x4F\x55\x54\x45\x5F\x41\x53\x53\x4F\x43\x49\x41\x54\x45\x44","\x64\x65\x66\x61\x75\x6C\x74\x45\x6E\x74\x72\x79","\x59\x6F\x75\x20\x63\x61\x6E\x27\x74\x20\x64\x65\x6C\x65\x74\x65\x20\x61\x20\x64\x65\x66\x61\x75\x6C\x74\x20\x65\x6E\x74\x72\x79\x21","\x4D\x45\x53\x53\x41\x47\x45\x5F\x44\x45\x46\x41\x55\x4C\x54\x5F\x45\x4E\x54\x52\x59","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x66\x69\x6E\x64","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x6D\x61\x70"];_0x2e39[0];var _=require(_0x2e39[1]);var util=require(_0x2e39[2]);var Util=require(_0x2e39[3]);var sequelize=require(_0x2e39[5])[_0x2e39[4]];var VoiceContext=require(_0x2e39[5])[_0x2e39[6]];var VoiceExtension=require(_0x2e39[5])[_0x2e39[7]];exports[_0x2e39[8]]=function(_0x1f28x7,_0x1f28x8,_0x1f28x9){return VoiceContext[_0x2e39[15]](Util[_0x2e39[14]](_0x1f28x7[_0x2e39[13]]))[_0x2e39[12]](function(_0x1f28xb){_0x1f28x8[_0x2e39[11]](200)[_0x2e39[10]](_0x1f28xb)})[_0x2e39[9]](function(_0x1f28xa){return handleError(_0x1f28x8,_0x1f28xa)})};exports[_0x2e39[16]]=function(_0x1f28x7,_0x1f28x8){return VoiceContext[_0x2e39[20]](_0x1f28x7[_0x2e39[19]][_0x2e39[18]])[_0x2e39[12]](function(_0x1f28xc){if(!_0x1f28xc){return _0x1f28x8[_0x2e39[17]](404)};return _0x1f28x8[_0x2e39[10]](_0x1f28xc)})[_0x2e39[9]](function(_0x1f28xa){return handleError(_0x1f28x8,_0x1f28xa)})};exports[_0x2e39[21]]=function(_0x1f28x7,_0x1f28x8){return VoiceContext[_0x2e39[24]]({where:{name:_0x1f28x7[_0x2e39[23]][_0x2e39[22]]}})[_0x2e39[12]](function(_0x1f28xd){if(!_0x1f28xd){return _0x1f28x8[_0x2e39[17]](404)};return _0x1f28x8[_0x2e39[10]](_0x1f28xd)})[_0x2e39[9]](function(_0x1f28xa){return handleError(_0x1f28x8,_0x1f28xa)})};exports[_0x2e39[25]]=function(_0x1f28x7,_0x1f28x8){return VoiceContext[_0x2e39[25]](_0x1f28x7[_0x2e39[23]])[_0x2e39[12]](function(_0x1f28xc){return _0x1f28x8[_0x2e39[11]](201)[_0x2e39[10]](_0x1f28xc)})[_0x2e39[9]](sequelize.UniqueConstraintError,function(_0x1f28xa){_0x1f28xa[_0x2e39[26]]=_0x2e39[27];_0x1f28xa[_0x2e39[28]]=_0x2e39[29];return handleError(_0x1f28x8,_0x1f28xa)})[_0x2e39[9]](function(_0x1f28xa){return handleError(_0x1f28x8,_0x1f28xa)})};exports[_0x2e39[30]]=function(_0x1f28x7,_0x1f28x8){return VoiceContext[_0x2e39[24]]({where:{name:_0x1f28x7[_0x2e39[23]][_0x2e39[22]],id:{$ne:_0x1f28x7[_0x2e39[23]][_0x2e39[18]]}}})[_0x2e39[12]](function(_0x1f28xf){if(!_0x1f28xf){return _0x1f28x8[_0x2e39[17]](404)};if(_0x1f28xf[_0x2e39[33]]>0){return _0x1f28x8[_0x2e39[11]](500)[_0x2e39[10]]({message:_0x2e39[29]})};if(_0x1f28x7[_0x2e39[23]][_0x2e39[18]]){delete _0x1f28x7[_0x2e39[23]][_0x2e39[18]]};return VoiceContext[_0x2e39[20]](_0x1f28x7[_0x2e39[19]][_0x2e39[18]])})[_0x2e39[12]](function(_0x1f28xc){if(!_0x1f28xc){return _0x1f28x8[_0x2e39[17]](404)};var _0x1f28xe=_[_0x2e39[31]](_0x1f28xc,_0x1f28x7[_0x2e39[23]]);return _0x1f28xe[_0x2e39[32]]()})[_0x2e39[12]](function(_0x1f28xc){return _0x1f28x8[_0x2e39[11]](200)[_0x2e39[10]](_0x1f28xc)})[_0x2e39[9]](function(_0x1f28xa){return handleError(_0x1f28x8,_0x1f28xa)})};exports[_0x2e39[34]]=function(_0x1f28x7,_0x1f28x8){var _0x1f28x10;return VoiceContext[_0x2e39[20]](_0x1f28x7[_0x2e39[19]][_0x2e39[18]])[_0x2e39[12]](function(_0x1f28xc){_0x1f28x10=_0x1f28xc;if(!_0x1f28x10){return _0x1f28x8[_0x2e39[17]](404)};if(_0x1f28x10[_0x2e39[39]]){return _0x1f28x8[_0x2e39[11]](500)[_0x2e39[10]]({message:_0x2e39[40],translatedMessage:_0x2e39[41]})};return VoiceExtension[_0x2e39[24]]({where:{context:_0x1f28x10[_0x2e39[22]],VoiceContextId:null}})})[_0x2e39[12]](function(_0x1f28x11){console[_0x2e39[36]](_0x1f28x11);if(_0x1f28x11[_0x2e39[33]]>0){return _0x1f28x8[_0x2e39[11]](500)[_0x2e39[10]]({message:_0x2e39[37],translatedMessage:_0x2e39[38]})};return _0x1f28x10[_0x2e39[34]]()})[_0x2e39[12]](function(){return _0x1f28x8[_0x2e39[17]](204)})[_0x2e39[9]](function(_0x1f28xa){console[_0x2e39[36]](_0x2e39[35],_0x1f28xa);return handleError(_0x1f28x8,_0x1f28xa)})};exports[_0x2e39[42]]=function(_0x1f28x7,_0x1f28x8){var _0x1f28x12;return VoiceContext[_0x2e39[24]]({where:{id:_0x1f28x7[_0x2e39[13]][_0x2e39[43]]}})[_0x2e39[12]](function(_0x1f28xd){_0x1f28x12=_0x1f28xd;var _0x1f28x13=_[_0x2e39[44]](_0x1f28x12,{defaultEntry:true});if(_0x1f28x13){return _0x1f28x8[_0x2e39[11]](500)[_0x2e39[10]]({message:_0x2e39[40],translatedMessage:_0x2e39[41]})};if(!_0x1f28x12){return _0x1f28x8[_0x2e39[17]](404)};var _0x1f28x14=_[_0x2e39[46]](_[_0x2e39[46]](_0x1f28x12,_0x2e39[45]),_0x2e39[22]);return VoiceExtension[_0x2e39[24]]({where:{context:_0x1f28x14,VoiceContextId:null}})})[_0x2e39[12]](function(_0x1f28x11){if(_0x1f28x11[_0x2e39[33]]>_0x1f28x12[_0x2e39[33]]){return _0x1f28x8[_0x2e39[11]](500)[_0x2e39[10]]({message:_0x2e39[37],translatedMessage:_0x2e39[38]})};return VoiceContext[_0x2e39[34]]({where:{id:_0x1f28x7[_0x2e39[13]][_0x2e39[43]]},individualHooks:true})})[_0x2e39[12]](function(){return _0x1f28x8[_0x2e39[17]](204)})[_0x2e39[9]](function(_0x1f28xa){console[_0x2e39[36]](_0x1f28xa);return handleError(_0x1f28x8,_0x1f28xa)})};function handleError(_0x1f28x8,_0x1f28xa){return _0x1f28x8[_0x2e39[11]](500)[_0x2e39[10]](_0x1f28xa)} \ No newline at end of file +var _0xf40b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x56\x6F\x69\x63\x65\x43\x6F\x6E\x74\x65\x78\x74","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x6F\x6E\x74\x65\x78\x74\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x6E\x61\x6D\x65","\x62\x6F\x64\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x63\x72\x65\x61\x74\x65","\x6D\x65\x73\x73\x61\x67\x65","\x54\x68\x65\x20\x63\x6F\x6E\x74\x65\x78\x74\x20\x6E\x61\x6D\x65\x20\x61\x6C\x72\x65\x61\x64\x79\x20\x65\x78\x69\x73\x74\x73","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x64\x4D\x65\x73\x73\x61\x67\x65","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x43\x4F\x4E\x54\x45\x58\x54","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x6C\x65\x6E\x67\x74\x68","\x64\x65\x73\x74\x72\x6F\x79","\x65\x72\x72","\x6C\x6F\x67","\x54\x68\x65\x20\x63\x6F\x6E\x74\x65\x78\x74\x20\x69\x73\x20\x61\x73\x73\x6F\x63\x69\x61\x74\x65\x64\x20\x74\x6F\x20\x61\x20\x72\x6F\x75\x74\x65\x2C\x20\x64\x65\x6C\x65\x74\x65\x20\x6F\x72\x20\x63\x68\x61\x6E\x67\x65\x20\x69\x74\x20\x66\x69\x72\x73\x74","\x4D\x45\x53\x53\x41\x47\x45\x5F\x43\x4F\x4E\x54\x45\x58\x54\x5F\x52\x4F\x55\x54\x45\x5F\x41\x53\x53\x4F\x43\x49\x41\x54\x45\x44","\x64\x65\x66\x61\x75\x6C\x74\x45\x6E\x74\x72\x79","\x59\x6F\x75\x20\x63\x61\x6E\x27\x74\x20\x64\x65\x6C\x65\x74\x65\x20\x61\x20\x64\x65\x66\x61\x75\x6C\x74\x20\x65\x6E\x74\x72\x79\x21","\x4D\x45\x53\x53\x41\x47\x45\x5F\x44\x45\x46\x41\x55\x4C\x54\x5F\x45\x4E\x54\x52\x59","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x66\x69\x6E\x64","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x6D\x61\x70"];_0xf40b[0];var _=require(_0xf40b[1]);var util=require(_0xf40b[2]);var Util=require(_0xf40b[3]);var sequelize=require(_0xf40b[5])[_0xf40b[4]];var VoiceContext=require(_0xf40b[5])[_0xf40b[6]];var VoiceExtension=require(_0xf40b[5])[_0xf40b[7]];exports[_0xf40b[8]]=function(_0x5fa2x7,_0x5fa2x8,_0x5fa2x9){return VoiceContext[_0xf40b[15]](Util[_0xf40b[14]](_0x5fa2x7[_0xf40b[13]]))[_0xf40b[12]](function(_0x5fa2xb){_0x5fa2x8[_0xf40b[11]](200)[_0xf40b[10]](_0x5fa2xb)})[_0xf40b[9]](function(_0x5fa2xa){return handleError(_0x5fa2x8,_0x5fa2xa)})};exports[_0xf40b[16]]=function(_0x5fa2x7,_0x5fa2x8){return VoiceContext[_0xf40b[20]](_0x5fa2x7[_0xf40b[19]][_0xf40b[18]])[_0xf40b[12]](function(_0x5fa2xc){if(!_0x5fa2xc){return _0x5fa2x8[_0xf40b[17]](404)};return _0x5fa2x8[_0xf40b[10]](_0x5fa2xc)})[_0xf40b[9]](function(_0x5fa2xa){return handleError(_0x5fa2x8,_0x5fa2xa)})};exports[_0xf40b[21]]=function(_0x5fa2x7,_0x5fa2x8){return VoiceContext[_0xf40b[24]]({where:{name:_0x5fa2x7[_0xf40b[23]][_0xf40b[22]]}})[_0xf40b[12]](function(_0x5fa2xd){if(!_0x5fa2xd){return _0x5fa2x8[_0xf40b[17]](404)};return _0x5fa2x8[_0xf40b[10]](_0x5fa2xd)})[_0xf40b[9]](function(_0x5fa2xa){return handleError(_0x5fa2x8,_0x5fa2xa)})};exports[_0xf40b[25]]=function(_0x5fa2x7,_0x5fa2x8){return VoiceContext[_0xf40b[25]](_0x5fa2x7[_0xf40b[23]])[_0xf40b[12]](function(_0x5fa2xc){return _0x5fa2x8[_0xf40b[11]](201)[_0xf40b[10]](_0x5fa2xc)})[_0xf40b[9]](sequelize.UniqueConstraintError,function(_0x5fa2xa){_0x5fa2xa[_0xf40b[26]]=_0xf40b[27];_0x5fa2xa[_0xf40b[28]]=_0xf40b[29];return handleError(_0x5fa2x8,_0x5fa2xa)})[_0xf40b[9]](function(_0x5fa2xa){return handleError(_0x5fa2x8,_0x5fa2xa)})};exports[_0xf40b[30]]=function(_0x5fa2x7,_0x5fa2x8){return VoiceContext[_0xf40b[24]]({where:{name:_0x5fa2x7[_0xf40b[23]][_0xf40b[22]],id:{$ne:_0x5fa2x7[_0xf40b[23]][_0xf40b[18]]}}})[_0xf40b[12]](function(_0x5fa2xf){if(!_0x5fa2xf){return _0x5fa2x8[_0xf40b[17]](404)};if(_0x5fa2xf[_0xf40b[33]]>0){return _0x5fa2x8[_0xf40b[11]](500)[_0xf40b[10]]({message:_0xf40b[29]})};if(_0x5fa2x7[_0xf40b[23]][_0xf40b[18]]){delete _0x5fa2x7[_0xf40b[23]][_0xf40b[18]]};return VoiceContext[_0xf40b[20]](_0x5fa2x7[_0xf40b[19]][_0xf40b[18]])})[_0xf40b[12]](function(_0x5fa2xc){if(!_0x5fa2xc){return _0x5fa2x8[_0xf40b[17]](404)};var _0x5fa2xe=_[_0xf40b[31]](_0x5fa2xc,_0x5fa2x7[_0xf40b[23]]);return _0x5fa2xe[_0xf40b[32]]()})[_0xf40b[12]](function(_0x5fa2xc){return _0x5fa2x8[_0xf40b[11]](200)[_0xf40b[10]](_0x5fa2xc)})[_0xf40b[9]](function(_0x5fa2xa){return handleError(_0x5fa2x8,_0x5fa2xa)})};exports[_0xf40b[34]]=function(_0x5fa2x7,_0x5fa2x8){var _0x5fa2x10;return VoiceContext[_0xf40b[20]](_0x5fa2x7[_0xf40b[19]][_0xf40b[18]])[_0xf40b[12]](function(_0x5fa2xc){_0x5fa2x10=_0x5fa2xc;if(!_0x5fa2x10){return _0x5fa2x8[_0xf40b[17]](404)};if(_0x5fa2x10[_0xf40b[39]]){return _0x5fa2x8[_0xf40b[11]](500)[_0xf40b[10]]({message:_0xf40b[40],translatedMessage:_0xf40b[41]})};return VoiceExtension[_0xf40b[24]]({where:{context:_0x5fa2x10[_0xf40b[22]],VoiceContextId:null}})})[_0xf40b[12]](function(_0x5fa2x11){console[_0xf40b[36]](_0x5fa2x11);if(_0x5fa2x11[_0xf40b[33]]>0){return _0x5fa2x8[_0xf40b[11]](500)[_0xf40b[10]]({message:_0xf40b[37],translatedMessage:_0xf40b[38]})};return _0x5fa2x10[_0xf40b[34]]()})[_0xf40b[12]](function(){return _0x5fa2x8[_0xf40b[17]](204)})[_0xf40b[9]](function(_0x5fa2xa){console[_0xf40b[36]](_0xf40b[35],_0x5fa2xa);return handleError(_0x5fa2x8,_0x5fa2xa)})};exports[_0xf40b[42]]=function(_0x5fa2x7,_0x5fa2x8){var _0x5fa2x12;return VoiceContext[_0xf40b[24]]({where:{id:_0x5fa2x7[_0xf40b[13]][_0xf40b[43]]}})[_0xf40b[12]](function(_0x5fa2xd){_0x5fa2x12=_0x5fa2xd;var _0x5fa2x13=_[_0xf40b[44]](_0x5fa2x12,{defaultEntry:true});if(_0x5fa2x13){return _0x5fa2x8[_0xf40b[11]](500)[_0xf40b[10]]({message:_0xf40b[40],translatedMessage:_0xf40b[41]})};if(!_0x5fa2x12){return _0x5fa2x8[_0xf40b[17]](404)};var _0x5fa2x14=_[_0xf40b[46]](_[_0xf40b[46]](_0x5fa2x12,_0xf40b[45]),_0xf40b[22]);return VoiceExtension[_0xf40b[24]]({where:{context:_0x5fa2x14,VoiceContextId:null}})})[_0xf40b[12]](function(_0x5fa2x11){if(_0x5fa2x11[_0xf40b[33]]>_0x5fa2x12[_0xf40b[33]]){return _0x5fa2x8[_0xf40b[11]](500)[_0xf40b[10]]({message:_0xf40b[37],translatedMessage:_0xf40b[38]})};return VoiceContext[_0xf40b[34]]({where:{id:_0x5fa2x7[_0xf40b[13]][_0xf40b[43]]},individualHooks:true})})[_0xf40b[12]](function(){return _0x5fa2x8[_0xf40b[17]](204)})[_0xf40b[9]](function(_0x5fa2xa){console[_0xf40b[36]](_0x5fa2xa);return handleError(_0x5fa2x8,_0x5fa2xa)})};function handleError(_0x5fa2x8,_0x5fa2xa){return _0x5fa2x8[_0xf40b[11]](500)[_0xf40b[10]](_0x5fa2xa)} \ No newline at end of file diff --git a/server/api/voice_context/voice_context.socket.js b/server/api/voice_context/voice_context.socket.js index eeffc0a..56b4b63 100644 --- a/server/api/voice_context/voice_context.socket.js +++ b/server/api/voice_context/voice_context.socket.js @@ -1 +1 @@ -var _0xfc57=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x56\x6F\x69\x63\x65\x43\x6F\x6E\x74\x65\x78\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x76\x6F\x69\x63\x65\x5F\x63\x6F\x6E\x74\x65\x78\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x76\x6F\x69\x63\x65\x5F\x63\x6F\x6E\x74\x65\x78\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0xfc57[0];var VoiceContext=require(_0xfc57[2])[_0xfc57[1]];exports[_0xfc57[3]]=function(_0xcf6fx2){VoiceContext[_0xfc57[4]](function(_0xcf6fx3){onSave(_0xcf6fx2,_0xcf6fx3)});VoiceContext[_0xfc57[5]](function(_0xcf6fx3){onRemove(_0xcf6fx2,_0xcf6fx3)})};function onSave(_0xcf6fx2,_0xcf6fx3,_0xcf6fx5){_0xcf6fx2[_0xfc57[7]](_0xfc57[6],_0xcf6fx3)}function onRemove(_0xcf6fx2,_0xcf6fx3,_0xcf6fx5){_0xcf6fx2[_0xfc57[7]](_0xfc57[8],_0xcf6fx3)} \ No newline at end of file +var _0x69b0=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x56\x6F\x69\x63\x65\x43\x6F\x6E\x74\x65\x78\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x76\x6F\x69\x63\x65\x5F\x63\x6F\x6E\x74\x65\x78\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x76\x6F\x69\x63\x65\x5F\x63\x6F\x6E\x74\x65\x78\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x69b0[0];var VoiceContext=require(_0x69b0[2])[_0x69b0[1]];exports[_0x69b0[3]]=function(_0x6b4dx2){VoiceContext[_0x69b0[4]](function(_0x6b4dx3){onSave(_0x6b4dx2,_0x6b4dx3)});VoiceContext[_0x69b0[5]](function(_0x6b4dx3){onRemove(_0x6b4dx2,_0x6b4dx3)})};function onSave(_0x6b4dx2,_0x6b4dx3,_0x6b4dx5){_0x6b4dx2[_0x69b0[7]](_0x69b0[6],_0x6b4dx3)}function onRemove(_0x6b4dx2,_0x6b4dx3,_0x6b4dx5){_0x6b4dx2[_0x69b0[7]](_0x69b0[8],_0x6b4dx3)} \ No newline at end of file diff --git a/server/api/voice_disposition/index.js b/server/api/voice_disposition/index.js new file mode 100644 index 0000000..fc9ef08 --- /dev/null +++ b/server/api/voice_disposition/index.js @@ -0,0 +1 @@ +var _0x70e1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x76\x6F\x69\x63\x65\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x70e1[0];var express=require(_0x70e1[1]);var auth=require(_0x70e1[2]);var controller=require(_0x70e1[3]);var router=express.Router();router[_0x70e1[7]](_0x70e1[4],auth[_0x70e1[5]](),controller[_0x70e1[6]]);router[_0x70e1[7]](_0x70e1[8],auth[_0x70e1[5]](),controller[_0x70e1[9]]);router[_0x70e1[11]](_0x70e1[4],auth[_0x70e1[5]](),controller[_0x70e1[10]]);router[_0x70e1[13]](_0x70e1[8],auth[_0x70e1[5]](),controller[_0x70e1[12]]);router[_0x70e1[14]](_0x70e1[8],auth[_0x70e1[5]](),controller[_0x70e1[12]]);router[_0x70e1[16]](_0x70e1[8],auth[_0x70e1[5]](),controller[_0x70e1[15]]);module[_0x70e1[17]]=router \ No newline at end of file diff --git a/server/api/voice_disposition/voice_disposition.controller.js b/server/api/voice_disposition/voice_disposition.controller.js new file mode 100644 index 0000000..f519151 --- /dev/null +++ b/server/api/voice_disposition/voice_disposition.controller.js @@ -0,0 +1 @@ +var _0xdbbf=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x56\x6F\x69\x63\x65\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x6C\x6F\x67","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65"];_0xdbbf[0];var _=require(_0xdbbf[1]);var VoiceDisposition=require(_0xdbbf[3])[_0xdbbf[2]];function handleError(_0xe100x4,_0xe100x5){_0xe100x5=_0xe100x5||500;return function(_0xe100x6){console[_0xdbbf[4]](_0xe100x6);_0xe100x4[_0xdbbf[6]](_0xe100x5)[_0xdbbf[5]](_0xe100x6)}}function responseWithResult(_0xe100x4,_0xe100x5){_0xe100x5=_0xe100x5||200;return function(_0xe100x8){if(_0xe100x8){_0xe100x4[_0xdbbf[6]](_0xe100x5)[_0xdbbf[7]](_0xe100x8)}}}function responseWithoutResult(_0xe100x4,_0xe100x5){_0xe100x5=_0xe100x5||200;return function(){_0xe100x4[_0xdbbf[8]](_0xe100x5)}}function handleEntityNotFound(_0xe100x4){return function(_0xe100x8){if(!_0xe100x8){_0xe100x4[_0xdbbf[6]](404)[_0xdbbf[9]]();return null};return _0xe100x8}}function saveUpdates(_0xe100xc){return function(_0xe100x8){return _0xe100x8[_0xdbbf[11]](_0xe100xc)[_0xdbbf[10]](function(_0xe100xd){return _0xe100xd})}}function removeEntity(_0xe100x4){return function(_0xe100x8){if(_0xe100x8){return _0xe100x8[_0xdbbf[12]]()[_0xdbbf[10]](function(){_0xe100x4[_0xdbbf[6]](204)[_0xdbbf[9]]()})}}}exports[_0xdbbf[13]]=function(_0xe100xf,_0xe100x4){VoiceDisposition[_0xdbbf[15]]()[_0xdbbf[10]](responseWithResult(_0xe100x4))[_0xdbbf[14]](handleError(_0xe100x4))};exports[_0xdbbf[16]]=function(_0xe100xf,_0xe100x4){VoiceDisposition[_0xdbbf[19]](_0xe100xf[_0xdbbf[18]][_0xdbbf[17]])[_0xdbbf[10]](handleEntityNotFound(_0xe100x4))[_0xdbbf[10]](responseWithResult(_0xe100x4))[_0xdbbf[14]](handleError(_0xe100x4))};exports[_0xdbbf[20]]=function(_0xe100xf,_0xe100x4){VoiceDisposition[_0xdbbf[20]](_0xe100xf[_0xdbbf[21]])[_0xdbbf[10]](responseWithResult(_0xe100x4,201))[_0xdbbf[14]](handleError(_0xe100x4))};exports[_0xdbbf[22]]=function(_0xe100xf,_0xe100x4){if(_0xe100xf[_0xdbbf[21]][_0xdbbf[17]]){delete _0xe100xf[_0xdbbf[21]][_0xdbbf[17]]};VoiceDisposition[_0xdbbf[19]](_0xe100xf[_0xdbbf[18]][_0xdbbf[17]])[_0xdbbf[10]](handleEntityNotFound(_0xe100x4))[_0xdbbf[10]](saveUpdates(_0xe100xf[_0xdbbf[21]]))[_0xdbbf[10]](responseWithResult(_0xe100x4))[_0xdbbf[14]](handleError(_0xe100x4))};exports[_0xdbbf[12]]=function(_0xe100xf,_0xe100x4){VoiceDisposition[_0xdbbf[19]](_0xe100xf[_0xdbbf[18]][_0xdbbf[17]])[_0xdbbf[10]](handleEntityNotFound(_0xe100x4))[_0xdbbf[10]](removeEntity(_0xe100x4))[_0xdbbf[14]](handleError(_0xe100x4))} \ No newline at end of file diff --git a/server/api/voice_disposition/voice_disposition.socket.js b/server/api/voice_disposition/voice_disposition.socket.js new file mode 100644 index 0000000..f3bea5f --- /dev/null +++ b/server/api/voice_disposition/voice_disposition.socket.js @@ -0,0 +1 @@ +var _0x9888=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x56\x6F\x69\x63\x65\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x76\x6F\x69\x63\x65\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x76\x6F\x69\x63\x65\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x9888[0];var VoiceDisposition=require(_0x9888[2])[_0x9888[1]];exports[_0x9888[3]]=function(_0x791ax2){VoiceDisposition[_0x9888[4]](function(_0x791ax3){onSave(_0x791ax2,_0x791ax3)});VoiceDisposition[_0x9888[5]](function(_0x791ax3){onRemove(_0x791ax2,_0x791ax3)})};function onSave(_0x791ax2,_0x791ax3,_0x791ax5){_0x791ax2[_0x9888[7]](_0x9888[6],_0x791ax3)}function onRemove(_0x791ax2,_0x791ax3,_0x791ax5){_0x791ax2[_0x9888[7]](_0x9888[8],_0x791ax3)} \ No newline at end of file diff --git a/server/api/voice_extension/index.js b/server/api/voice_extension/index.js index 57a087d..3836f88 100644 --- a/server/api/voice_extension/index.js +++ b/server/api/voice_extension/index.js @@ -1 +1 @@ -var _0xbbc7=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0xbbc7[0];var express=require(_0xbbc7[1]);var controller=require(_0xbbc7[2]);var auth=require(_0xbbc7[3]);var router=express.Router();router[_0xbbc7[9]](_0xbbc7[4],auth[_0xbbc7[5]](),auth[_0xbbc7[7]]([7],[_0xbbc7[6]]),controller[_0xbbc7[8]]);router[_0xbbc7[9]](_0xbbc7[10],auth[_0xbbc7[5]](),auth[_0xbbc7[7]]([7],[_0xbbc7[6]]),controller[_0xbbc7[11]]);router[_0xbbc7[13]](_0xbbc7[4],auth[_0xbbc7[5]](),auth[_0xbbc7[7]]([7],[_0xbbc7[6]]),controller[_0xbbc7[12]]);router[_0xbbc7[15]](_0xbbc7[10],auth[_0xbbc7[5]](),auth[_0xbbc7[7]]([7],[_0xbbc7[6]]),controller[_0xbbc7[14]]);router[_0xbbc7[17]](_0xbbc7[4],auth[_0xbbc7[5]](),auth[_0xbbc7[7]]([7],[_0xbbc7[6]]),controller[_0xbbc7[16]]);router[_0xbbc7[17]](_0xbbc7[10],auth[_0xbbc7[5]](),auth[_0xbbc7[7]]([7],[_0xbbc7[6]]),controller[_0xbbc7[18]]);module[_0xbbc7[19]]=router \ No newline at end of file +var _0x816b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x816b[0];var express=require(_0x816b[1]);var controller=require(_0x816b[2]);var auth=require(_0x816b[3]);var router=express.Router();router[_0x816b[9]](_0x816b[4],auth[_0x816b[5]](),auth[_0x816b[7]]([7],[_0x816b[6]]),controller[_0x816b[8]]);router[_0x816b[9]](_0x816b[10],auth[_0x816b[5]](),auth[_0x816b[7]]([7],[_0x816b[6]]),controller[_0x816b[11]]);router[_0x816b[13]](_0x816b[4],auth[_0x816b[5]](),auth[_0x816b[7]]([7],[_0x816b[6]]),controller[_0x816b[12]]);router[_0x816b[15]](_0x816b[10],auth[_0x816b[5]](),auth[_0x816b[7]]([7],[_0x816b[6]]),controller[_0x816b[14]]);router[_0x816b[17]](_0x816b[4],auth[_0x816b[5]](),auth[_0x816b[7]]([7],[_0x816b[6]]),controller[_0x816b[16]]);router[_0x816b[17]](_0x816b[10],auth[_0x816b[5]](),auth[_0x816b[7]]([7],[_0x816b[6]]),controller[_0x816b[18]]);module[_0x816b[19]]=router \ No newline at end of file diff --git a/server/api/voice_extension/voice_extension.controller.js b/server/api/voice_extension/voice_extension.controller.js index accc57d..932e59e 100644 --- a/server/api/voice_extension/voice_extension.controller.js +++ b/server/api/voice_extension/voice_extension.controller.js @@ -1 +1 @@ -var _0x6536=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x49\x6E\x74\x65\x72\x76\x61\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x53\x65\x71\x75\x65\x6C\x69\x7A\x65","\x75\x74\x69\x6C","\x61\x73\x79\x6E\x63","\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C\x73\x2F\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x69\x6E\x64\x65\x78","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x72\x6F\x75\x74\x65\x73","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x73\x63\x6F\x70\x65","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x4F\x6E\x65","\x63\x72\x65\x61\x74\x65","\x65\x72\x72","\x6D\x65\x73\x73\x61\x67\x65","\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x2F\x63\x6F\x6E\x74\x65\x78\x74\x20\x63\x6F\x6D\x62\x69\x6E\x61\x74\x69\x6F\x6E\x20\x61\x6C\x72\x65\x61\x64\x79\x20\x65\x78\x69\x73\x74","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x64\x4D\x65\x73\x73\x61\x67\x65","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x52\x4F\x55\x54\x45","\x62\x6F\x64\x79","\x63\x72\x65\x61\x74\x65\x41\x70\x70\x73","\x69\x73\x41\x72\x72\x61\x79","\x6C\x65\x6E\x67\x74\x68","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65","\x72\x6F\x75\x74\x65\x55\x70\x64\x61\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x66\x69\x6E\x64\x42\x79\x49\x64","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0x6536[0];var _=require(_0x6536[1]);var VoiceExtension=require(_0x6536[3])[_0x6536[2]];var Interval=require(_0x6536[3])[_0x6536[4]];var sequelize=require(_0x6536[3])[_0x6536[5]];var Sequelize=require(_0x6536[3])[_0x6536[6]];var util=require(_0x6536[7]);var async=require(_0x6536[8]);var veUtil=require(_0x6536[9]);var Util=require(_0x6536[10]);var Applications=veUtil[_0x6536[11]];exports[_0x6536[12]]=function(_0xdde7xb,_0xdde7xc,_0xdde7xd){return VoiceExtension[_0x6536[23]](_0x6536[21],_0x6536[22])[_0x6536[20]](Util[_0x6536[19]](_0xdde7xb[_0x6536[18]]))[_0x6536[17]](function(_0xdde7xf){_0xdde7xc[_0x6536[16]](200)[_0x6536[15]](_0xdde7xf)})[_0x6536[14]](function(_0xdde7xe){console[_0x6536[13]](_0xdde7xe);return handleError(_0xdde7xc,_0xdde7xe)})};exports[_0x6536[24]]=function(_0xdde7xb,_0xdde7xc){return VoiceExtension[_0x6536[23]](_0x6536[22])[_0x6536[28]]({where:{id:_0xdde7xb[_0x6536[27]][_0x6536[26]],VoiceExtensionId:null}})[_0x6536[17]](function(_0xdde7x10){if(!_0xdde7x10){return _0xdde7xc[_0x6536[25]](404)};return _0xdde7xc[_0x6536[15]](_0xdde7x10)})[_0x6536[14]](function(_0xdde7xe){return handleError(_0xdde7xc,_0xdde7xe)})};exports[_0x6536[29]]=function(_0xdde7xb,_0xdde7xc){var _0xdde7x11;return sequelize[_0x6536[39]](function(_0xdde7x12){return VoiceExtension[_0x6536[29]](_0xdde7xb[_0x6536[35]],{transaction:_0xdde7x12})[_0x6536[17]](function(_0xdde7x13){_0xdde7x11=_0xdde7x13;if(_0xdde7xb[_0x6536[35]][_0x6536[11]]&&Array[_0x6536[37]](_0xdde7xb[_0x6536[35]].Applications)&&_0xdde7xb[_0x6536[35]][_0x6536[11]][_0x6536[38]]){return _0xdde7x13}})[_0x6536[17]](veUtil[_0x6536[36]](_0xdde7xb[_0x6536[35]].Applications,_0xdde7x12,_0xdde7xc))})[_0x6536[17]](function(){return _0xdde7xc[_0x6536[16]](201)[_0x6536[15]](_0xdde7x11)})[_0x6536[14]](sequelize.UniqueConstraintError,function(_0xdde7xe){_0xdde7xe[_0x6536[31]]=_0x6536[32];_0xdde7xe[_0x6536[33]]=_0x6536[34];return handleError(_0xdde7xc,_0xdde7xe)})[_0x6536[14]](sequelize.ValidationError,function(_0xdde7xe){_0xdde7xe[_0x6536[31]]=_0x6536[32];_0xdde7xe[_0x6536[33]]=_0x6536[34];return handleError(_0xdde7xc,_0xdde7xe)})[_0x6536[14]](function(_0xdde7xe){console[_0x6536[13]](_0x6536[30],_0xdde7xe);return handleError(_0xdde7xc,_0xdde7xe)})};exports[_0x6536[40]]=function(_0xdde7xb,_0xdde7xc){return sequelize[_0x6536[39]](function(_0xdde7x12){return veUtil[_0x6536[41]](_0xdde7xb,_0xdde7x12)})[_0x6536[17]](function(){return _0xdde7xc[_0x6536[25]](200)})[_0x6536[14]](sequelize.UniqueConstraintError,function(_0xdde7xe){_0xdde7xe[_0x6536[31]]=_0x6536[32];_0xdde7xe[_0x6536[33]]=_0x6536[34];console[_0x6536[13]](_0xdde7xe);return handleError(_0xdde7xc,_0xdde7xe)})[_0x6536[14]](function(_0xdde7xe){console[_0x6536[13]](_0xdde7xe);return handleError(_0xdde7xc,_0xdde7xe)})};exports[_0x6536[42]]=function(_0xdde7xb,_0xdde7xc,_0xdde7xd){return sequelize[_0x6536[39]](function(_0xdde7x12){return VoiceExtension[_0x6536[43]](_0xdde7xb[_0x6536[27]][_0x6536[26]])[_0x6536[17]](function(_0xdde7x10){if(!_0xdde7x10){return _0xdde7xc[_0x6536[25]](404)};return _0xdde7x10[_0x6536[42]]()})})[_0x6536[17]](function(){return _0xdde7xc[_0x6536[25]](204)})[_0x6536[14]](function(_0xdde7xe){console[_0x6536[13]](_0xdde7xe);return handleError(_0xdde7xc,_0xdde7xe)})};exports[_0x6536[44]]=function(_0xdde7xb,_0xdde7xc){return VoiceExtension[_0x6536[42]]({where:{id:_0xdde7xb[_0x6536[18]][_0x6536[45]]},individualHooks:true})[_0x6536[17]](function(){return _0xdde7xc[_0x6536[25]](204)})[_0x6536[14]](function(_0xdde7xe){return handleError(_0xdde7xc,_0xdde7xe)})};function handleError(_0xdde7xc,_0xdde7xe){return _0xdde7xc[_0x6536[16]](500)[_0x6536[15]](_0xdde7xe)} \ No newline at end of file +var _0x5750=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x49\x6E\x74\x65\x72\x76\x61\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x53\x65\x71\x75\x65\x6C\x69\x7A\x65","\x75\x74\x69\x6C","\x61\x73\x79\x6E\x63","\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C\x73\x2F\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x69\x6E\x64\x65\x78","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x72\x6F\x75\x74\x65\x73","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x73\x63\x6F\x70\x65","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x4F\x6E\x65","\x63\x72\x65\x61\x74\x65","\x65\x72\x72","\x6D\x65\x73\x73\x61\x67\x65","\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x2F\x63\x6F\x6E\x74\x65\x78\x74\x20\x63\x6F\x6D\x62\x69\x6E\x61\x74\x69\x6F\x6E\x20\x61\x6C\x72\x65\x61\x64\x79\x20\x65\x78\x69\x73\x74","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x64\x4D\x65\x73\x73\x61\x67\x65","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x52\x4F\x55\x54\x45","\x62\x6F\x64\x79","\x63\x72\x65\x61\x74\x65\x41\x70\x70\x73","\x69\x73\x41\x72\x72\x61\x79","\x6C\x65\x6E\x67\x74\x68","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65","\x72\x6F\x75\x74\x65\x55\x70\x64\x61\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x66\x69\x6E\x64\x42\x79\x49\x64","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0x5750[0];var _=require(_0x5750[1]);var VoiceExtension=require(_0x5750[3])[_0x5750[2]];var Interval=require(_0x5750[3])[_0x5750[4]];var sequelize=require(_0x5750[3])[_0x5750[5]];var Sequelize=require(_0x5750[3])[_0x5750[6]];var util=require(_0x5750[7]);var async=require(_0x5750[8]);var veUtil=require(_0x5750[9]);var Util=require(_0x5750[10]);var Applications=veUtil[_0x5750[11]];exports[_0x5750[12]]=function(_0x6b89xb,_0x6b89xc,_0x6b89xd){return VoiceExtension[_0x5750[23]](_0x5750[21],_0x5750[22])[_0x5750[20]](Util[_0x5750[19]](_0x6b89xb[_0x5750[18]]))[_0x5750[17]](function(_0x6b89xf){_0x6b89xc[_0x5750[16]](200)[_0x5750[15]](_0x6b89xf)})[_0x5750[14]](function(_0x6b89xe){console[_0x5750[13]](_0x6b89xe);return handleError(_0x6b89xc,_0x6b89xe)})};exports[_0x5750[24]]=function(_0x6b89xb,_0x6b89xc){return VoiceExtension[_0x5750[23]](_0x5750[22])[_0x5750[28]]({where:{id:_0x6b89xb[_0x5750[27]][_0x5750[26]],VoiceExtensionId:null}})[_0x5750[17]](function(_0x6b89x10){if(!_0x6b89x10){return _0x6b89xc[_0x5750[25]](404)};return _0x6b89xc[_0x5750[15]](_0x6b89x10)})[_0x5750[14]](function(_0x6b89xe){return handleError(_0x6b89xc,_0x6b89xe)})};exports[_0x5750[29]]=function(_0x6b89xb,_0x6b89xc){var _0x6b89x11;return sequelize[_0x5750[39]](function(_0x6b89x12){return VoiceExtension[_0x5750[29]](_0x6b89xb[_0x5750[35]],{transaction:_0x6b89x12})[_0x5750[17]](function(_0x6b89x13){_0x6b89x11=_0x6b89x13;if(_0x6b89xb[_0x5750[35]][_0x5750[11]]&&Array[_0x5750[37]](_0x6b89xb[_0x5750[35]].Applications)&&_0x6b89xb[_0x5750[35]][_0x5750[11]][_0x5750[38]]){return _0x6b89x13}})[_0x5750[17]](veUtil[_0x5750[36]](_0x6b89xb[_0x5750[35]].Applications,_0x6b89x12,_0x6b89xc))})[_0x5750[17]](function(){return _0x6b89xc[_0x5750[16]](201)[_0x5750[15]](_0x6b89x11)})[_0x5750[14]](sequelize.UniqueConstraintError,function(_0x6b89xe){_0x6b89xe[_0x5750[31]]=_0x5750[32];_0x6b89xe[_0x5750[33]]=_0x5750[34];return handleError(_0x6b89xc,_0x6b89xe)})[_0x5750[14]](sequelize.ValidationError,function(_0x6b89xe){_0x6b89xe[_0x5750[31]]=_0x5750[32];_0x6b89xe[_0x5750[33]]=_0x5750[34];return handleError(_0x6b89xc,_0x6b89xe)})[_0x5750[14]](function(_0x6b89xe){console[_0x5750[13]](_0x5750[30],_0x6b89xe);return handleError(_0x6b89xc,_0x6b89xe)})};exports[_0x5750[40]]=function(_0x6b89xb,_0x6b89xc){return sequelize[_0x5750[39]](function(_0x6b89x12){return veUtil[_0x5750[41]](_0x6b89xb,_0x6b89x12)})[_0x5750[17]](function(){return _0x6b89xc[_0x5750[25]](200)})[_0x5750[14]](sequelize.UniqueConstraintError,function(_0x6b89xe){_0x6b89xe[_0x5750[31]]=_0x5750[32];_0x6b89xe[_0x5750[33]]=_0x5750[34];console[_0x5750[13]](_0x6b89xe);return handleError(_0x6b89xc,_0x6b89xe)})[_0x5750[14]](function(_0x6b89xe){console[_0x5750[13]](_0x6b89xe);return handleError(_0x6b89xc,_0x6b89xe)})};exports[_0x5750[42]]=function(_0x6b89xb,_0x6b89xc,_0x6b89xd){return sequelize[_0x5750[39]](function(_0x6b89x12){return VoiceExtension[_0x5750[43]](_0x6b89xb[_0x5750[27]][_0x5750[26]])[_0x5750[17]](function(_0x6b89x10){if(!_0x6b89x10){return _0x6b89xc[_0x5750[25]](404)};return _0x6b89x10[_0x5750[42]]()})})[_0x5750[17]](function(){return _0x6b89xc[_0x5750[25]](204)})[_0x5750[14]](function(_0x6b89xe){console[_0x5750[13]](_0x6b89xe);return handleError(_0x6b89xc,_0x6b89xe)})};exports[_0x5750[44]]=function(_0x6b89xb,_0x6b89xc){return VoiceExtension[_0x5750[42]]({where:{id:_0x6b89xb[_0x5750[18]][_0x5750[45]]},individualHooks:true})[_0x5750[17]](function(){return _0x6b89xc[_0x5750[25]](204)})[_0x5750[14]](function(_0x6b89xe){return handleError(_0x6b89xc,_0x6b89xe)})};function handleError(_0x6b89xc,_0x6b89xe){return _0x6b89xc[_0x5750[16]](500)[_0x5750[15]](_0x6b89xe)} \ No newline at end of file diff --git a/server/api/voice_extension/voice_extension.socket.js b/server/api/voice_extension/voice_extension.socket.js index 37a5ab6..13ec670 100644 --- a/server/api/voice_extension/voice_extension.socket.js +++ b/server/api/voice_extension/voice_extension.socket.js @@ -1 +1 @@ -var _0xdfb8=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65","\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x3A\x75\x70\x64\x61\x74\x65"];_0xdfb8[0];var VoiceExtension=require(_0xdfb8[2])[_0xdfb8[1]];exports[_0xdfb8[3]]=function(_0xbe55x2){VoiceExtension[_0xdfb8[4]](function(_0xbe55x3){onSave(_0xbe55x2,_0xbe55x3)});VoiceExtension[_0xdfb8[5]](function(_0xbe55x3){onRemove(_0xbe55x2,_0xbe55x3)});VoiceExtension[_0xdfb8[6]](function(_0xbe55x3){onUpdate(_0xbe55x2,_0xbe55x3)})};function onSave(_0xbe55x2,_0xbe55x3,_0xbe55x5){_0xbe55x2[_0xdfb8[8]](_0xdfb8[7],_0xbe55x3)}function onRemove(_0xbe55x2,_0xbe55x3,_0xbe55x5){_0xbe55x2[_0xdfb8[8]](_0xdfb8[9],_0xbe55x3)}function onUpdate(_0xbe55x2,_0xbe55x3,_0xbe55x5){_0xbe55x2[_0xdfb8[8]](_0xdfb8[10],_0xbe55x3)} \ No newline at end of file +var _0xbb5c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65","\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x3A\x75\x70\x64\x61\x74\x65"];_0xbb5c[0];var VoiceExtension=require(_0xbb5c[2])[_0xbb5c[1]];exports[_0xbb5c[3]]=function(_0x15f0x2){VoiceExtension[_0xbb5c[4]](function(_0x15f0x3){onSave(_0x15f0x2,_0x15f0x3)});VoiceExtension[_0xbb5c[5]](function(_0x15f0x3){onRemove(_0x15f0x2,_0x15f0x3)});VoiceExtension[_0xbb5c[6]](function(_0x15f0x3){onUpdate(_0x15f0x2,_0x15f0x3)})};function onSave(_0x15f0x2,_0x15f0x3,_0x15f0x5){_0x15f0x2[_0xbb5c[8]](_0xbb5c[7],_0x15f0x3)}function onRemove(_0x15f0x2,_0x15f0x3,_0x15f0x5){_0x15f0x2[_0xbb5c[8]](_0xbb5c[9],_0x15f0x3)}function onUpdate(_0x15f0x2,_0x15f0x3,_0x15f0x5){_0x15f0x2[_0xbb5c[8]](_0xbb5c[10],_0x15f0x3)} \ No newline at end of file diff --git a/server/api/voice_musiconhold/index.js b/server/api/voice_musiconhold/index.js index 3f6bae9..21a279d 100644 --- a/server/api/voice_musiconhold/index.js +++ b/server/api/voice_musiconhold/index.js @@ -1 +1 @@ -var _0xee27=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x76\x6F\x69\x63\x65\x5F\x6D\x75\x73\x69\x63\x6F\x6E\x68\x6F\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x73\x74\x72\x65\x61\x6D","\x73\x74\x72\x65\x61\x6D","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x66\x69\x6C\x65\x73","\x73\x68\x6F\x77\x41\x75\x64\x69\x6F\x46\x69\x6C\x65\x73","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x76\x61\x6C\x69\x64\x61\x74\x65","\x6D\x6F\x68\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x61\x64\x64\x46\x69\x6C\x65\x73","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65\x41\x75\x64\x69\x6F\x46\x69\x6C\x65\x73","\x65\x78\x70\x6F\x72\x74\x73"];_0xee27[0];var express=require(_0xee27[1]);var controller=require(_0xee27[2]);var auth=require(_0xee27[3]);var router=express.Router();router[_0xee27[9]](_0xee27[4],auth[_0xee27[5]](),auth[_0xee27[7]]([7],[_0xee27[6]]),controller[_0xee27[8]]);router[_0xee27[9]](_0xee27[10],auth[_0xee27[5]](),auth[_0xee27[7]]([7],[_0xee27[6]]),controller[_0xee27[11]]);router[_0xee27[9]](_0xee27[12],auth[_0xee27[5]](),auth[_0xee27[7]]([7],[_0xee27[6]]),controller[_0xee27[13]]);router[_0xee27[9]](_0xee27[14],auth[_0xee27[5]](),auth[_0xee27[7]]([7],[_0xee27[6]]),controller[_0xee27[15]]);router[_0xee27[17]](_0xee27[4],auth[_0xee27[5]](),auth[_0xee27[7]]([7],[_0xee27[6]]),controller[_0xee27[16]]);router[_0xee27[17]](_0xee27[18],auth[_0xee27[5]](),auth[_0xee27[7]]([7],[_0xee27[6]]),controller[_0xee27[19]]);router[_0xee27[17]](_0xee27[14],auth[_0xee27[5]](),auth[_0xee27[7]]([7],[_0xee27[6]]),controller[_0xee27[20]]);router[_0xee27[22]](_0xee27[12],auth[_0xee27[5]](),auth[_0xee27[7]]([7],[_0xee27[6]]),controller[_0xee27[21]]);router[_0xee27[24]](_0xee27[4],auth[_0xee27[5]](),auth[_0xee27[7]]([7],[_0xee27[6]]),controller[_0xee27[23]]);router[_0xee27[24]](_0xee27[12],auth[_0xee27[5]](),auth[_0xee27[7]]([7],[_0xee27[6]]),controller[_0xee27[25]]);router[_0xee27[24]](_0xee27[14],auth[_0xee27[5]](),auth[_0xee27[7]]([7],[_0xee27[6]]),controller[_0xee27[26]]);module[_0xee27[27]]=router \ No newline at end of file +var _0xd1f9=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x76\x6F\x69\x63\x65\x5F\x6D\x75\x73\x69\x63\x6F\x6E\x68\x6F\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x73\x74\x72\x65\x61\x6D","\x73\x74\x72\x65\x61\x6D","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x66\x69\x6C\x65\x73","\x73\x68\x6F\x77\x41\x75\x64\x69\x6F\x46\x69\x6C\x65\x73","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x76\x61\x6C\x69\x64\x61\x74\x65","\x6D\x6F\x68\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x61\x64\x64\x46\x69\x6C\x65\x73","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65\x41\x75\x64\x69\x6F\x46\x69\x6C\x65\x73","\x65\x78\x70\x6F\x72\x74\x73"];_0xd1f9[0];var express=require(_0xd1f9[1]);var controller=require(_0xd1f9[2]);var auth=require(_0xd1f9[3]);var router=express.Router();router[_0xd1f9[9]](_0xd1f9[4],auth[_0xd1f9[5]](),auth[_0xd1f9[7]]([7],[_0xd1f9[6]]),controller[_0xd1f9[8]]);router[_0xd1f9[9]](_0xd1f9[10],auth[_0xd1f9[5]](),auth[_0xd1f9[7]]([7],[_0xd1f9[6]]),controller[_0xd1f9[11]]);router[_0xd1f9[9]](_0xd1f9[12],auth[_0xd1f9[5]](),auth[_0xd1f9[7]]([7],[_0xd1f9[6]]),controller[_0xd1f9[13]]);router[_0xd1f9[9]](_0xd1f9[14],auth[_0xd1f9[5]](),auth[_0xd1f9[7]]([7],[_0xd1f9[6]]),controller[_0xd1f9[15]]);router[_0xd1f9[17]](_0xd1f9[4],auth[_0xd1f9[5]](),auth[_0xd1f9[7]]([7],[_0xd1f9[6]]),controller[_0xd1f9[16]]);router[_0xd1f9[17]](_0xd1f9[18],auth[_0xd1f9[5]](),auth[_0xd1f9[7]]([7],[_0xd1f9[6]]),controller[_0xd1f9[19]]);router[_0xd1f9[17]](_0xd1f9[14],auth[_0xd1f9[5]](),auth[_0xd1f9[7]]([7],[_0xd1f9[6]]),controller[_0xd1f9[20]]);router[_0xd1f9[22]](_0xd1f9[12],auth[_0xd1f9[5]](),auth[_0xd1f9[7]]([7],[_0xd1f9[6]]),controller[_0xd1f9[21]]);router[_0xd1f9[24]](_0xd1f9[4],auth[_0xd1f9[5]](),auth[_0xd1f9[7]]([7],[_0xd1f9[6]]),controller[_0xd1f9[23]]);router[_0xd1f9[24]](_0xd1f9[12],auth[_0xd1f9[5]](),auth[_0xd1f9[7]]([7],[_0xd1f9[6]]),controller[_0xd1f9[25]]);router[_0xd1f9[24]](_0xd1f9[14],auth[_0xd1f9[5]](),auth[_0xd1f9[7]]([7],[_0xd1f9[6]]),controller[_0xd1f9[26]]);module[_0xd1f9[27]]=router \ No newline at end of file diff --git a/server/api/voice_musiconhold/voice_musiconhold.controller.js b/server/api/voice_musiconhold/voice_musiconhold.controller.js index 1e3982d..346d52a 100644 --- a/server/api/voice_musiconhold/voice_musiconhold.controller.js +++ b/server/api/voice_musiconhold/voice_musiconhold.controller.js @@ -1 +1 @@ -var _0x9fbb=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x66\x73","\x6C\x6F\x64\x61\x73\x68","\x70\x61\x74\x68","\x75\x74\x69\x6C","\x66\x73\x2D\x65\x78\x74\x72\x61","\x72\x65\x6D\x6F\x76\x65","\x66\x69\x6C\x65\x2D\x62\x61\x73\x65\x36\x34","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x53\x6F\x75\x6E\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x53\x65\x74\x74\x69\x6E\x67\x73","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x56\x6F\x69\x63\x65\x4D\x75\x73\x69\x63\x4F\x6E\x48\x6F\x6C\x64","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x61\x64\x64\x46\x69\x6C\x65\x73","\x64\x69\x72\x65\x63\x74\x6F\x72\x79","\x64\x69\x73\x70\x6C\x61\x79\x5F\x6E\x61\x6D\x65","\x2E\x77\x61\x76","\x6A\x6F\x69\x6E","\x73\x6F\x75\x6E\x64\x50\x61\x74\x68","\x2F\x76\x61\x72\x2F\x6F\x70\x74\x2F\x6D\x6F\x74\x69\x6F\x6E\x2F\x73\x65\x72\x76\x65\x72\x2F\x66\x69\x6C\x65\x73\x2F\x73\x6F\x75\x6E\x64\x73\x2F\x63\x6F\x6E\x76\x65\x72\x74\x65\x64","\x73\x61\x76\x65\x5F\x6E\x61\x6D\x65","\x63\x6F\x70\x79\x53\x79\x6E\x63","\x66\x6F\x72\x45\x61\x63\x68","\x30\x37\x37\x37","\x63\x68\x6D\x6F\x64\x53\x79\x6E\x63","\x73\x6F\x75\x6E\x64\x73","\x62\x6F\x64\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77\x41\x75\x64\x69\x6F\x46\x69\x6C\x65\x73","\x66\x69\x6C\x65\x73","\x72\x65\x61\x64\x64\x69\x72","\x64\x65\x6C\x65\x74\x65\x41\x75\x64\x69\x6F\x46\x69\x6C\x65\x73","\x2F","\x66\x69\x6C\x65\x6E\x61\x6D\x65","\x75\x6E\x6C\x69\x6E\x6B","\x6D\x6F\x68\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x6C\x6F\x67","\x6E\x61\x6D\x65","\x63\x72\x65\x61\x74\x65","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72\x2F\x66\x69\x6C\x65\x73\x2F\x6D\x6F\x68","\x72\x6F\x6C\x6C\x62\x61\x63\x6B","\x66\x69\x6C\x65\x20\x65\x72\x72\x6F\x72","\x4D\x45\x53\x53\x41\x47\x45\x5F\x46\x49\x4C\x45\x5F\x43\x52\x45\x41\x54\x49\x4F\x4E\x5F\x45\x52\x52\x4F\x52","\x63\x6F\x6D\x6D\x69\x74","\x66\x69\x6C\x65\x20\x63\x72\x65\x61\x74\x65\x64","\x6D\x6B\x64\x69\x72","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x61\x6C\x6C","\x70\x75\x73\x68","\x69\x64\x73","\x73\x74\x72\x65\x61\x6D","\x65\x6E\x63\x6F\x64\x65"];_0x9fbb[0];var fs=require(_0x9fbb[1]);var _=require(_0x9fbb[2]);var path=require(_0x9fbb[3]);var util=require(_0x9fbb[4]);var fse=require(_0x9fbb[5]);var remove=require(_0x9fbb[6]);var base64=require(_0x9fbb[7]);var config=require(_0x9fbb[8]);var Util=require(_0x9fbb[9]);var Sound=require(_0x9fbb[11])[_0x9fbb[10]];var Settings=require(_0x9fbb[11])[_0x9fbb[12]];var sequelize=require(_0x9fbb[11])[_0x9fbb[13]];var VoiceMusicOnHold=require(_0x9fbb[11])[_0x9fbb[14]];exports[_0x9fbb[15]]=function(_0x2e10xe,_0x2e10xf){return VoiceMusicOnHold[_0x9fbb[22]](Util[_0x9fbb[21]](_0x2e10xe[_0x9fbb[20]]))[_0x9fbb[19]](function(_0x2e10x11){_0x2e10xf[_0x9fbb[18]](200)[_0x9fbb[17]](_0x2e10x11)})[_0x9fbb[16]](function(_0x2e10x10){return handleError(_0x2e10xf,_0x2e10x10)})};exports[_0x9fbb[23]]=function(_0x2e10xe,_0x2e10xf){return VoiceMusicOnHold[_0x9fbb[27]](_0x2e10xe[_0x9fbb[26]][_0x9fbb[25]])[_0x9fbb[19]](function(_0x2e10x12){if(!_0x2e10x12){return _0x2e10xf[_0x9fbb[24]](404)};return _0x2e10xf[_0x9fbb[17]](_0x2e10x12)})[_0x9fbb[16]](function(_0x2e10x10){return handleError(_0x2e10xf,_0x2e10x10)})};exports[_0x9fbb[28]]=function(_0x2e10xe,_0x2e10xf){var _0x2e10x13,_0x2e10x14;return VoiceMusicOnHold[_0x9fbb[27]](_0x2e10xe[_0x9fbb[26]][_0x9fbb[25]])[_0x9fbb[19]](function(_0x2e10x12){if(!_0x2e10x12){return _0x2e10xf[_0x9fbb[24]](404)};_0x2e10x13=_0x2e10x12;return Sound[_0x9fbb[42]]({where:{id:_0x2e10xe[_0x9fbb[41]][_0x9fbb[40]]}})})[_0x9fbb[19]](function(_0x2e10x18){_0x2e10x14=_0x2e10x18;return Settings[_0x9fbb[27]](1)})[_0x9fbb[19]](function(_0x2e10x15){var _0x2e10x16;_0x2e10x14[_0x9fbb[37]](function(_0x2e10x17){_0x2e10x16=path[_0x9fbb[32]](_0x2e10x13[_0x9fbb[29]],_0x2e10x17[_0x9fbb[30]]+_0x9fbb[31]);fse[_0x9fbb[36]](path[_0x9fbb[32]](_0x2e10x15[_0x9fbb[33]]||_0x9fbb[34],_0x2e10x17[_0x9fbb[35]]+_0x9fbb[31]),_0x2e10x16)});fs[_0x9fbb[39]](_0x2e10x16,parseInt(_0x9fbb[38],8));_0x2e10xf[_0x9fbb[24]](200)})[_0x9fbb[16]](function(_0x2e10x10){return handleError(_0x2e10xf,_0x2e10x10)})};exports[_0x9fbb[43]]=function(_0x2e10xe,_0x2e10xf){var _0x2e10x19={};VoiceMusicOnHold[_0x9fbb[27]](_0x2e10xe[_0x9fbb[26]][_0x9fbb[25]])[_0x9fbb[19]](function(_0x2e10x12){if(!_0x2e10x12){return _0x2e10xf[_0x9fbb[24]](404)};_0x2e10x19[_0x9fbb[3]]=_0x2e10x12[_0x9fbb[29]];fs[_0x9fbb[45]](_0x2e10x12[_0x9fbb[29]],function(_0x2e10x10,_0x2e10x1a){if(!_0x2e10x10){_0x2e10x19[_0x9fbb[44]]=_0x2e10x1a;return _0x2e10xf[_0x9fbb[17]](_0x2e10x19)}else {throw _0x2e10x10}})})[_0x9fbb[16]](function(_0x2e10x10){return handleError(_0x2e10xf,_0x2e10x10)})};exports[_0x9fbb[46]]=function(_0x2e10xe,_0x2e10xf){return VoiceMusicOnHold[_0x9fbb[27]](_0x2e10xe[_0x9fbb[26]][_0x9fbb[25]])[_0x9fbb[19]](function(_0x2e10x12){if(!_0x2e10x12){return _0x2e10xf[_0x9fbb[24]](404)};var _0x2e10x1b=_0x2e10x12[_0x9fbb[29]]+_0x9fbb[47]+_0x2e10xe[_0x9fbb[20]][_0x9fbb[48]];fs[_0x9fbb[49]](_0x2e10x1b,function(_0x2e10x10){if(_0x2e10x10){return handleError(_0x2e10xf,_0x2e10x10)}else {return _0x2e10xf[_0x9fbb[24]](204)}})})[_0x9fbb[16]](function(_0x2e10x10){return handleError(_0x2e10xf,_0x2e10x10)})};exports[_0x9fbb[50]]=function(_0x2e10xe,_0x2e10xf){console[_0x9fbb[51]](_0x2e10xe[_0x9fbb[41]]);return VoiceMusicOnHold[_0x9fbb[42]]({where:{name:_0x2e10xe[_0x9fbb[41]][_0x9fbb[52]]}})[_0x9fbb[19]](function(_0x2e10x1c){if(!_0x2e10x1c){return _0x2e10xf[_0x9fbb[24]](404)};return _0x2e10xf[_0x9fbb[17]](_0x2e10x1c)})[_0x9fbb[16]](function(_0x2e10x10){return handleError(_0x2e10xf,_0x2e10x10)})};exports[_0x9fbb[53]]=function(_0x2e10xe,_0x2e10xf){return sequelize[_0x9fbb[62]]()[_0x9fbb[19]](function(_0x2e10x1d){_0x2e10xe[_0x9fbb[41]][_0x9fbb[29]]=path[_0x9fbb[32]](config[_0x9fbb[54]],_0x9fbb[55],_0x2e10xe[_0x9fbb[41]][_0x9fbb[52]]);return VoiceMusicOnHold[_0x9fbb[53]](_0x2e10xe[_0x9fbb[41]],{transaction:_0x2e10x1d})[_0x9fbb[19]](function(_0x2e10x12){fs[_0x9fbb[61]](_0x2e10x12[_0x9fbb[29]],parseInt(_0x9fbb[38],8),function(_0x2e10x10){if(_0x2e10x10){console[_0x9fbb[51]](_0x9fbb[57]);_0x2e10x1d[_0x9fbb[56]]();return _0x2e10xf[_0x9fbb[18]](500)[_0x9fbb[17]]({message:_0x9fbb[58]})};_0x2e10x1d[_0x9fbb[59]]();console[_0x9fbb[51]](_0x9fbb[60]);return _0x2e10xf[_0x9fbb[18]](201)[_0x9fbb[17]](_0x2e10x12)})})[_0x9fbb[16]](function(_0x2e10x10){_0x2e10x1d[_0x9fbb[56]]()})})};exports[_0x9fbb[63]]=function(_0x2e10xe,_0x2e10xf){if(_0x2e10xe[_0x9fbb[41]][_0x9fbb[25]]){delete _0x2e10xe[_0x9fbb[41]][_0x9fbb[25]]};return VoiceMusicOnHold[_0x9fbb[27]](_0x2e10xe[_0x9fbb[26]][_0x9fbb[25]])[_0x9fbb[19]](function(_0x2e10x12){if(!_0x2e10x12){return _0x2e10xf[_0x9fbb[24]](404)};var _0x2e10x1e=_[_0x9fbb[64]](_0x2e10x12,_0x2e10xe[_0x9fbb[41]]);return _0x2e10x1e[_0x9fbb[65]]()})[_0x9fbb[19]](function(_0x2e10x12){return _0x2e10xf[_0x9fbb[18]](200)[_0x9fbb[17]](_0x2e10x12)})[_0x9fbb[16]](function(_0x2e10x10){return handleError(_0x2e10xf,_0x2e10x10)})};exports[_0x9fbb[66]]=function(_0x2e10xe,_0x2e10xf){var _0x2e10x1f;return sequelize[_0x9fbb[62]](function(_0x2e10x1d){return VoiceMusicOnHold[_0x9fbb[27]](_0x2e10xe[_0x9fbb[26]][_0x9fbb[25]])[_0x9fbb[19]](function(_0x2e10x12){if(!_0x2e10x12){return _0x2e10xf[_0x9fbb[24]](404)};_0x2e10x1f=_0x2e10x12;return _0x2e10x12[_0x9fbb[66]]({transaction:_0x2e10x1d})})[_0x9fbb[19]](function(){remove(_0x2e10x1f[_0x9fbb[29]],function(_0x2e10x10){if(_0x2e10x10){console[_0x9fbb[51]](_0x2e10x10)};return _0x2e10xf[_0x9fbb[24]](204)})})})[_0x9fbb[16]](function(_0x2e10x10){return handleError(_0x2e10xf,_0x2e10x10)})};exports[_0x9fbb[67]]=function(_0x2e10xe,_0x2e10xf){var _0x2e10x20;return sequelize[_0x9fbb[62]](function(_0x2e10x1d){return VoiceMusicOnHold[_0x9fbb[42]]({where:{id:_0x2e10xe[_0x9fbb[20]][_0x9fbb[70]]}})[_0x9fbb[19]](function(_0x2e10x22){if(!_0x2e10x22){return _0x2e10xf[_0x9fbb[24]](404)};_0x2e10x20=_0x2e10x22;var _0x2e10x23=[];_0x2e10x22[_0x9fbb[37]](function(_0x2e10x21){_0x2e10x23[_0x9fbb[69]](_0x2e10x21[_0x9fbb[66]]({transaction:_0x2e10x1d}))});return _0x2e10x23})[_0x9fbb[68]]()[_0x9fbb[19]](function(){_0x2e10x20[_0x9fbb[37]](function(_0x2e10x21){remove(_0x2e10x21[_0x9fbb[29]],function(_0x2e10x10){if(_0x2e10x10){console[_0x9fbb[51]](_0x2e10x10);throw _0x2e10x10}})})})})[_0x9fbb[19]](function(){return _0x2e10xf[_0x9fbb[24]](204)})[_0x9fbb[16]](function(_0x2e10x10){return handleError(_0x2e10xf,_0x2e10x10)})};exports[_0x9fbb[71]]=function(_0x2e10xe,_0x2e10xf){var _0x2e10x24=decodeURI(_0x2e10xe[_0x9fbb[20]][_0x9fbb[3]]);base64[_0x9fbb[72]](_0x2e10x24,function(_0x2e10x10,_0x2e10x25){if(_0x2e10x10){return handleError(_0x2e10xf,_0x2e10x10)}else {return _0x2e10xf[_0x9fbb[18]](200)[_0x9fbb[17]](_0x2e10x25)}})};function handleError(_0x2e10xf,_0x2e10x10){console[_0x9fbb[51]](_0x2e10x10);return _0x2e10xf[_0x9fbb[18]](500)[_0x9fbb[17]](_0x2e10x10)} \ No newline at end of file +var _0x2241=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x66\x73","\x6C\x6F\x64\x61\x73\x68","\x70\x61\x74\x68","\x75\x74\x69\x6C","\x66\x73\x2D\x65\x78\x74\x72\x61","\x72\x65\x6D\x6F\x76\x65","\x66\x69\x6C\x65\x2D\x62\x61\x73\x65\x36\x34","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x53\x6F\x75\x6E\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x53\x65\x74\x74\x69\x6E\x67\x73","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x56\x6F\x69\x63\x65\x4D\x75\x73\x69\x63\x4F\x6E\x48\x6F\x6C\x64","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x61\x64\x64\x46\x69\x6C\x65\x73","\x64\x69\x72\x65\x63\x74\x6F\x72\x79","\x64\x69\x73\x70\x6C\x61\x79\x5F\x6E\x61\x6D\x65","\x2E\x77\x61\x76","\x6A\x6F\x69\x6E","\x73\x6F\x75\x6E\x64\x50\x61\x74\x68","\x2F\x76\x61\x72\x2F\x6F\x70\x74\x2F\x6D\x6F\x74\x69\x6F\x6E\x2F\x73\x65\x72\x76\x65\x72\x2F\x66\x69\x6C\x65\x73\x2F\x73\x6F\x75\x6E\x64\x73\x2F\x63\x6F\x6E\x76\x65\x72\x74\x65\x64","\x73\x61\x76\x65\x5F\x6E\x61\x6D\x65","\x63\x6F\x70\x79\x53\x79\x6E\x63","\x66\x6F\x72\x45\x61\x63\x68","\x30\x37\x37\x37","\x63\x68\x6D\x6F\x64\x53\x79\x6E\x63","\x73\x6F\x75\x6E\x64\x73","\x62\x6F\x64\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77\x41\x75\x64\x69\x6F\x46\x69\x6C\x65\x73","\x66\x69\x6C\x65\x73","\x72\x65\x61\x64\x64\x69\x72","\x64\x65\x6C\x65\x74\x65\x41\x75\x64\x69\x6F\x46\x69\x6C\x65\x73","\x2F","\x66\x69\x6C\x65\x6E\x61\x6D\x65","\x75\x6E\x6C\x69\x6E\x6B","\x6D\x6F\x68\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x6C\x6F\x67","\x6E\x61\x6D\x65","\x63\x72\x65\x61\x74\x65","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72\x2F\x66\x69\x6C\x65\x73\x2F\x6D\x6F\x68","\x72\x6F\x6C\x6C\x62\x61\x63\x6B","\x66\x69\x6C\x65\x20\x65\x72\x72\x6F\x72","\x4D\x45\x53\x53\x41\x47\x45\x5F\x46\x49\x4C\x45\x5F\x43\x52\x45\x41\x54\x49\x4F\x4E\x5F\x45\x52\x52\x4F\x52","\x63\x6F\x6D\x6D\x69\x74","\x66\x69\x6C\x65\x20\x63\x72\x65\x61\x74\x65\x64","\x6D\x6B\x64\x69\x72","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x61\x6C\x6C","\x70\x75\x73\x68","\x69\x64\x73","\x73\x74\x72\x65\x61\x6D","\x65\x6E\x63\x6F\x64\x65"];_0x2241[0];var fs=require(_0x2241[1]);var _=require(_0x2241[2]);var path=require(_0x2241[3]);var util=require(_0x2241[4]);var fse=require(_0x2241[5]);var remove=require(_0x2241[6]);var base64=require(_0x2241[7]);var config=require(_0x2241[8]);var Util=require(_0x2241[9]);var Sound=require(_0x2241[11])[_0x2241[10]];var Settings=require(_0x2241[11])[_0x2241[12]];var sequelize=require(_0x2241[11])[_0x2241[13]];var VoiceMusicOnHold=require(_0x2241[11])[_0x2241[14]];exports[_0x2241[15]]=function(_0x51a8xe,_0x51a8xf){return VoiceMusicOnHold[_0x2241[22]](Util[_0x2241[21]](_0x51a8xe[_0x2241[20]]))[_0x2241[19]](function(_0x51a8x11){_0x51a8xf[_0x2241[18]](200)[_0x2241[17]](_0x51a8x11)})[_0x2241[16]](function(_0x51a8x10){return handleError(_0x51a8xf,_0x51a8x10)})};exports[_0x2241[23]]=function(_0x51a8xe,_0x51a8xf){return VoiceMusicOnHold[_0x2241[27]](_0x51a8xe[_0x2241[26]][_0x2241[25]])[_0x2241[19]](function(_0x51a8x12){if(!_0x51a8x12){return _0x51a8xf[_0x2241[24]](404)};return _0x51a8xf[_0x2241[17]](_0x51a8x12)})[_0x2241[16]](function(_0x51a8x10){return handleError(_0x51a8xf,_0x51a8x10)})};exports[_0x2241[28]]=function(_0x51a8xe,_0x51a8xf){var _0x51a8x13,_0x51a8x14;return VoiceMusicOnHold[_0x2241[27]](_0x51a8xe[_0x2241[26]][_0x2241[25]])[_0x2241[19]](function(_0x51a8x12){if(!_0x51a8x12){return _0x51a8xf[_0x2241[24]](404)};_0x51a8x13=_0x51a8x12;return Sound[_0x2241[42]]({where:{id:_0x51a8xe[_0x2241[41]][_0x2241[40]]}})})[_0x2241[19]](function(_0x51a8x18){_0x51a8x14=_0x51a8x18;return Settings[_0x2241[27]](1)})[_0x2241[19]](function(_0x51a8x15){var _0x51a8x16;_0x51a8x14[_0x2241[37]](function(_0x51a8x17){_0x51a8x16=path[_0x2241[32]](_0x51a8x13[_0x2241[29]],_0x51a8x17[_0x2241[30]]+_0x2241[31]);fse[_0x2241[36]](path[_0x2241[32]](_0x51a8x15[_0x2241[33]]||_0x2241[34],_0x51a8x17[_0x2241[35]]+_0x2241[31]),_0x51a8x16)});fs[_0x2241[39]](_0x51a8x16,parseInt(_0x2241[38],8));_0x51a8xf[_0x2241[24]](200)})[_0x2241[16]](function(_0x51a8x10){return handleError(_0x51a8xf,_0x51a8x10)})};exports[_0x2241[43]]=function(_0x51a8xe,_0x51a8xf){var _0x51a8x19={};VoiceMusicOnHold[_0x2241[27]](_0x51a8xe[_0x2241[26]][_0x2241[25]])[_0x2241[19]](function(_0x51a8x12){if(!_0x51a8x12){return _0x51a8xf[_0x2241[24]](404)};_0x51a8x19[_0x2241[3]]=_0x51a8x12[_0x2241[29]];fs[_0x2241[45]](_0x51a8x12[_0x2241[29]],function(_0x51a8x10,_0x51a8x1a){if(!_0x51a8x10){_0x51a8x19[_0x2241[44]]=_0x51a8x1a;return _0x51a8xf[_0x2241[17]](_0x51a8x19)}else {throw _0x51a8x10}})})[_0x2241[16]](function(_0x51a8x10){return handleError(_0x51a8xf,_0x51a8x10)})};exports[_0x2241[46]]=function(_0x51a8xe,_0x51a8xf){return VoiceMusicOnHold[_0x2241[27]](_0x51a8xe[_0x2241[26]][_0x2241[25]])[_0x2241[19]](function(_0x51a8x12){if(!_0x51a8x12){return _0x51a8xf[_0x2241[24]](404)};var _0x51a8x1b=_0x51a8x12[_0x2241[29]]+_0x2241[47]+_0x51a8xe[_0x2241[20]][_0x2241[48]];fs[_0x2241[49]](_0x51a8x1b,function(_0x51a8x10){if(_0x51a8x10){return handleError(_0x51a8xf,_0x51a8x10)}else {return _0x51a8xf[_0x2241[24]](204)}})})[_0x2241[16]](function(_0x51a8x10){return handleError(_0x51a8xf,_0x51a8x10)})};exports[_0x2241[50]]=function(_0x51a8xe,_0x51a8xf){console[_0x2241[51]](_0x51a8xe[_0x2241[41]]);return VoiceMusicOnHold[_0x2241[42]]({where:{name:_0x51a8xe[_0x2241[41]][_0x2241[52]]}})[_0x2241[19]](function(_0x51a8x1c){if(!_0x51a8x1c){return _0x51a8xf[_0x2241[24]](404)};return _0x51a8xf[_0x2241[17]](_0x51a8x1c)})[_0x2241[16]](function(_0x51a8x10){return handleError(_0x51a8xf,_0x51a8x10)})};exports[_0x2241[53]]=function(_0x51a8xe,_0x51a8xf){return sequelize[_0x2241[62]]()[_0x2241[19]](function(_0x51a8x1d){_0x51a8xe[_0x2241[41]][_0x2241[29]]=path[_0x2241[32]](config[_0x2241[54]],_0x2241[55],_0x51a8xe[_0x2241[41]][_0x2241[52]]);return VoiceMusicOnHold[_0x2241[53]](_0x51a8xe[_0x2241[41]],{transaction:_0x51a8x1d})[_0x2241[19]](function(_0x51a8x12){fs[_0x2241[61]](_0x51a8x12[_0x2241[29]],parseInt(_0x2241[38],8),function(_0x51a8x10){if(_0x51a8x10){console[_0x2241[51]](_0x2241[57]);_0x51a8x1d[_0x2241[56]]();return _0x51a8xf[_0x2241[18]](500)[_0x2241[17]]({message:_0x2241[58]})};_0x51a8x1d[_0x2241[59]]();console[_0x2241[51]](_0x2241[60]);return _0x51a8xf[_0x2241[18]](201)[_0x2241[17]](_0x51a8x12)})})[_0x2241[16]](function(_0x51a8x10){_0x51a8x1d[_0x2241[56]]()})})};exports[_0x2241[63]]=function(_0x51a8xe,_0x51a8xf){if(_0x51a8xe[_0x2241[41]][_0x2241[25]]){delete _0x51a8xe[_0x2241[41]][_0x2241[25]]};return VoiceMusicOnHold[_0x2241[27]](_0x51a8xe[_0x2241[26]][_0x2241[25]])[_0x2241[19]](function(_0x51a8x12){if(!_0x51a8x12){return _0x51a8xf[_0x2241[24]](404)};var _0x51a8x1e=_[_0x2241[64]](_0x51a8x12,_0x51a8xe[_0x2241[41]]);return _0x51a8x1e[_0x2241[65]]()})[_0x2241[19]](function(_0x51a8x12){return _0x51a8xf[_0x2241[18]](200)[_0x2241[17]](_0x51a8x12)})[_0x2241[16]](function(_0x51a8x10){return handleError(_0x51a8xf,_0x51a8x10)})};exports[_0x2241[66]]=function(_0x51a8xe,_0x51a8xf){var _0x51a8x1f;return sequelize[_0x2241[62]](function(_0x51a8x1d){return VoiceMusicOnHold[_0x2241[27]](_0x51a8xe[_0x2241[26]][_0x2241[25]])[_0x2241[19]](function(_0x51a8x12){if(!_0x51a8x12){return _0x51a8xf[_0x2241[24]](404)};_0x51a8x1f=_0x51a8x12;return _0x51a8x12[_0x2241[66]]({transaction:_0x51a8x1d})})[_0x2241[19]](function(){remove(_0x51a8x1f[_0x2241[29]],function(_0x51a8x10){if(_0x51a8x10){console[_0x2241[51]](_0x51a8x10)};return _0x51a8xf[_0x2241[24]](204)})})})[_0x2241[16]](function(_0x51a8x10){return handleError(_0x51a8xf,_0x51a8x10)})};exports[_0x2241[67]]=function(_0x51a8xe,_0x51a8xf){var _0x51a8x20;return sequelize[_0x2241[62]](function(_0x51a8x1d){return VoiceMusicOnHold[_0x2241[42]]({where:{id:_0x51a8xe[_0x2241[20]][_0x2241[70]]}})[_0x2241[19]](function(_0x51a8x22){if(!_0x51a8x22){return _0x51a8xf[_0x2241[24]](404)};_0x51a8x20=_0x51a8x22;var _0x51a8x23=[];_0x51a8x22[_0x2241[37]](function(_0x51a8x21){_0x51a8x23[_0x2241[69]](_0x51a8x21[_0x2241[66]]({transaction:_0x51a8x1d}))});return _0x51a8x23})[_0x2241[68]]()[_0x2241[19]](function(){_0x51a8x20[_0x2241[37]](function(_0x51a8x21){remove(_0x51a8x21[_0x2241[29]],function(_0x51a8x10){if(_0x51a8x10){console[_0x2241[51]](_0x51a8x10);throw _0x51a8x10}})})})})[_0x2241[19]](function(){return _0x51a8xf[_0x2241[24]](204)})[_0x2241[16]](function(_0x51a8x10){return handleError(_0x51a8xf,_0x51a8x10)})};exports[_0x2241[71]]=function(_0x51a8xe,_0x51a8xf){var _0x51a8x24=decodeURI(_0x51a8xe[_0x2241[20]][_0x2241[3]]);base64[_0x2241[72]](_0x51a8x24,function(_0x51a8x10,_0x51a8x25){if(_0x51a8x10){return handleError(_0x51a8xf,_0x51a8x10)}else {return _0x51a8xf[_0x2241[18]](200)[_0x2241[17]](_0x51a8x25)}})};function handleError(_0x51a8xf,_0x51a8x10){console[_0x2241[51]](_0x51a8x10);return _0x51a8xf[_0x2241[18]](500)[_0x2241[17]](_0x51a8x10)} \ No newline at end of file diff --git a/server/api/voice_musiconhold/voice_musiconhold.socket.js b/server/api/voice_musiconhold/voice_musiconhold.socket.js index 6b62d0f..de77973 100644 --- a/server/api/voice_musiconhold/voice_musiconhold.socket.js +++ b/server/api/voice_musiconhold/voice_musiconhold.socket.js @@ -1 +1 @@ -var _0x9df6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x56\x6F\x69\x63\x65\x4D\x75\x73\x69\x63\x4F\x6E\x48\x6F\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x76\x6F\x69\x63\x65\x5F\x6D\x75\x73\x69\x63\x6F\x6E\x68\x6F\x6C\x64\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x76\x6F\x69\x63\x65\x5F\x6D\x75\x73\x69\x63\x6F\x6E\x68\x6F\x6C\x64\x3A\x72\x65\x6D\x6F\x76\x65"];_0x9df6[0];var VoiceMusicOnHold=require(_0x9df6[2])[_0x9df6[1]];exports[_0x9df6[3]]=function(_0x41fbx2){VoiceMusicOnHold[_0x9df6[4]](function(_0x41fbx3){onSave(_0x41fbx2,_0x41fbx3)});VoiceMusicOnHold[_0x9df6[5]](function(_0x41fbx3){onRemove(_0x41fbx2,_0x41fbx3)})};function onSave(_0x41fbx2,_0x41fbx3,_0x41fbx5){_0x41fbx2[_0x9df6[7]](_0x9df6[6],_0x41fbx3)}function onRemove(_0x41fbx2,_0x41fbx3,_0x41fbx5){_0x41fbx2[_0x9df6[7]](_0x9df6[8],_0x41fbx3)} \ No newline at end of file +var _0xaab1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x56\x6F\x69\x63\x65\x4D\x75\x73\x69\x63\x4F\x6E\x48\x6F\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x76\x6F\x69\x63\x65\x5F\x6D\x75\x73\x69\x63\x6F\x6E\x68\x6F\x6C\x64\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x76\x6F\x69\x63\x65\x5F\x6D\x75\x73\x69\x63\x6F\x6E\x68\x6F\x6C\x64\x3A\x72\x65\x6D\x6F\x76\x65"];_0xaab1[0];var VoiceMusicOnHold=require(_0xaab1[2])[_0xaab1[1]];exports[_0xaab1[3]]=function(_0xb607x2){VoiceMusicOnHold[_0xaab1[4]](function(_0xb607x3){onSave(_0xb607x2,_0xb607x3)});VoiceMusicOnHold[_0xaab1[5]](function(_0xb607x3){onRemove(_0xb607x2,_0xb607x3)})};function onSave(_0xb607x2,_0xb607x3,_0xb607x5){_0xb607x2[_0xaab1[7]](_0xaab1[6],_0xb607x3)}function onRemove(_0xb607x2,_0xb607x3,_0xb607x5){_0xb607x2[_0xaab1[7]](_0xaab1[8],_0xb607x3)} \ No newline at end of file diff --git a/server/api/voice_queue/index.js b/server/api/voice_queue/index.js index d6c8d90..a008b70 100644 --- a/server/api/voice_queue/index.js +++ b/server/api/voice_queue/index.js @@ -1 +1 @@ -var _0x48cc=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x76\x6F\x69\x63\x65\x5F\x71\x75\x65\x75\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x6E\x61\x6D\x65","\x73\x68\x6F\x77","\x2F\x3A\x6E\x61\x6D\x65\x2F\x61\x67\x65\x6E\x74\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x64\x65\x6C\x65\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x48cc[0];var express=require(_0x48cc[1]);var controller=require(_0x48cc[2]);var auth=require(_0x48cc[3]);var router=express.Router();router[_0x48cc[9]](_0x48cc[4],auth[_0x48cc[5]](),auth[_0x48cc[7]]([7,13],[_0x48cc[6]]),controller[_0x48cc[8]]);router[_0x48cc[9]](_0x48cc[10],auth[_0x48cc[5]](),auth[_0x48cc[7]]([7],[_0x48cc[6]]),controller[_0x48cc[11]]);router[_0x48cc[9]](_0x48cc[12],auth[_0x48cc[5]](),auth[_0x48cc[7]]([7],[_0x48cc[6]]),controller[_0x48cc[13]]);router[_0x48cc[15]](_0x48cc[4],auth[_0x48cc[5]](),auth[_0x48cc[7]]([7],[_0x48cc[6]]),controller[_0x48cc[14]]);router[_0x48cc[15]](_0x48cc[12],auth[_0x48cc[5]](),auth[_0x48cc[7]]([7],[_0x48cc[6]]),controller[_0x48cc[16]]);router[_0x48cc[18]](_0x48cc[10],auth[_0x48cc[5]](),auth[_0x48cc[7]]([7],[_0x48cc[6]]),controller[_0x48cc[17]]);router[_0x48cc[20]](_0x48cc[12],auth[_0x48cc[5]](),auth[_0x48cc[7]]([7],[_0x48cc[6]]),controller[_0x48cc[19]]);router[_0x48cc[20]](_0x48cc[4],auth[_0x48cc[5]](),auth[_0x48cc[7]]([7],[_0x48cc[6]]),controller[_0x48cc[21]]);router[_0x48cc[20]](_0x48cc[10],auth[_0x48cc[5]](),auth[_0x48cc[7]]([7],[_0x48cc[6]]),controller[_0x48cc[22]]);module[_0x48cc[23]]=router \ No newline at end of file +var _0xc499=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x76\x6F\x69\x63\x65\x5F\x71\x75\x65\x75\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x6E\x61\x6D\x65","\x73\x68\x6F\x77","\x2F\x3A\x6E\x61\x6D\x65\x2F\x61\x67\x65\x6E\x74\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x64\x65\x6C\x65\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0xc499[0];var express=require(_0xc499[1]);var controller=require(_0xc499[2]);var auth=require(_0xc499[3]);var router=express.Router();router[_0xc499[9]](_0xc499[4],auth[_0xc499[5]](),auth[_0xc499[7]]([7,13],[_0xc499[6]]),controller[_0xc499[8]]);router[_0xc499[9]](_0xc499[10],auth[_0xc499[5]](),auth[_0xc499[7]]([7],[_0xc499[6]]),controller[_0xc499[11]]);router[_0xc499[9]](_0xc499[12],auth[_0xc499[5]](),auth[_0xc499[7]]([7],[_0xc499[6]]),controller[_0xc499[13]]);router[_0xc499[15]](_0xc499[4],auth[_0xc499[5]](),auth[_0xc499[7]]([7],[_0xc499[6]]),controller[_0xc499[14]]);router[_0xc499[15]](_0xc499[12],auth[_0xc499[5]](),auth[_0xc499[7]]([7],[_0xc499[6]]),controller[_0xc499[16]]);router[_0xc499[18]](_0xc499[10],auth[_0xc499[5]](),auth[_0xc499[7]]([7],[_0xc499[6]]),controller[_0xc499[17]]);router[_0xc499[20]](_0xc499[12],auth[_0xc499[5]](),auth[_0xc499[7]]([7],[_0xc499[6]]),controller[_0xc499[19]]);router[_0xc499[20]](_0xc499[4],auth[_0xc499[5]](),auth[_0xc499[7]]([7],[_0xc499[6]]),controller[_0xc499[21]]);router[_0xc499[20]](_0xc499[10],auth[_0xc499[5]](),auth[_0xc499[7]]([7],[_0xc499[6]]),controller[_0xc499[22]]);module[_0xc499[23]]=router \ No newline at end of file diff --git a/server/api/voice_queue/voice_queue.controller.js b/server/api/voice_queue/voice_queue.controller.js index d0d4d16..96dfc9f 100644 --- a/server/api/voice_queue/voice_queue.controller.js +++ b/server/api/voice_queue/voice_queue.controller.js @@ -1 +1 @@ -var _0xb63c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x55\x73\x65\x72\x48\x61\x73\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x69\x64","\x75\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x72\x6F\x6C\x65","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x6E\x61\x6D\x65","\x70\x61\x72\x61\x6D\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x6C\x65\x6E\x67\x74\x68","\x61\x67\x65\x6E\x74","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x67\x65\x74\x55\x73\x65\x72\x73","\x63\x72\x65\x61\x74\x65","\x70\x75\x73\x68","\x50\x52\x49\x4D\x41\x52\x59","\x70\x61\x74\x68","\x66\x6F\x72\x45\x61\x63\x68","\x65\x72\x72\x6F\x72\x73","\x20\x6D\x75\x73\x74\x20\x62\x65\x20\x75\x6E\x69\x71\x75\x65","\x6D\x65\x73\x73\x61\x67\x65","\x6A\x6F\x69\x6E","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x64\x4D\x65\x73\x73\x61\x67\x65","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x51\x55\x45\x55\x45","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6C\x6F\x67","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x53\x49\x50\x2F\x25\x73","\x66\x6F\x72\x6D\x61\x74","\x70\x65\x6E\x61\x6C\x74\x79","\x6D\x61\x70","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x61\x67\x65\x6E\x74\x73","\x66\x69\x6E\x64\x41\x6C\x6C","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0xb63c[0];var _=require(_0xb63c[1]);var util=require(_0xb63c[2]);var Util=require(_0xb63c[3]);var sequelize=require(_0xb63c[5])[_0xb63c[4]];var User=require(_0xb63c[5])[_0xb63c[6]];var VoiceQueue=require(_0xb63c[5])[_0xb63c[7]];var UserHasVoiceQueue=require(_0xb63c[5])[_0xb63c[8]];var VoiceExtension=require(_0xb63c[5])[_0xb63c[9]];exports[_0xb63c[10]]=function(_0xccf8x9,_0xccf8xa){switch(_0xccf8x9[_0xb63c[18]][_0xb63c[22]]){case _0xb63c[18]:return User[_0xb63c[19]](_0xccf8x9[_0xb63c[18]][_0xb63c[17]],{attributes:[_0xb63c[17]]})[_0xb63c[14]](Util[_0xb63c[16]](_0xccf8x9[_0xb63c[15]]))[_0xb63c[14]](function(_0xccf8xc){_0xccf8xa[_0xb63c[13]](200)[_0xb63c[12]](_0xccf8xc)})[_0xb63c[11]](function(_0xccf8xb){return handleError(_0xccf8xa,_0xccf8xb)});default:return VoiceQueue[_0xb63c[21]](Util[_0xb63c[20]](_0xccf8x9[_0xb63c[15]]))[_0xb63c[14]](function(_0xccf8xc){_0xccf8xa[_0xb63c[13]](200)[_0xb63c[12]](_0xccf8xc)})[_0xb63c[11]](function(_0xccf8xb){return handleError(_0xccf8xa,_0xccf8xb)})}};exports[_0xb63c[23]]=function(_0xccf8x9,_0xccf8xa){return VoiceQueue[_0xb63c[19]](_0xccf8x9[_0xb63c[26]][_0xb63c[25]])[_0xb63c[14]](function(_0xccf8xd){if(!_0xccf8xd){return _0xccf8xa[_0xb63c[24]](404)};return _0xccf8xa[_0xb63c[12]](_0xccf8xd)})[_0xb63c[11]](function(_0xccf8xb){return handleError(_0xccf8xa,_0xccf8xb)})};exports[_0xb63c[27]]=function(_0xccf8x9,_0xccf8xa){return VoiceQueue[_0xb63c[19]](_0xccf8x9[_0xb63c[26]][_0xb63c[25]])[_0xb63c[14]](function(_0xccf8xf){if(!_0xccf8xf){return _0xccf8xa[_0xb63c[24]](404)};return _0xccf8xf[_0xb63c[32]]({where:{role:_0xb63c[29]},attributes:[_0xb63c[17],_0xb63c[25],_0xb63c[30],_0xb63c[31]]})})[_0xb63c[14]](function(_0xccf8xe){return _0xccf8xa[_0xb63c[13]](200)[_0xb63c[12]]({rows:_0xccf8xe,count:_0xccf8xe[_0xb63c[28]]})})[_0xb63c[11]](function(_0xccf8xb){return handleError(_0xccf8xa,_0xccf8xb)})};exports[_0xb63c[33]]=function(_0xccf8x9,_0xccf8xa){return VoiceQueue[_0xb63c[33]](_0xccf8x9[_0xb63c[44]])[_0xb63c[14]](function(_0xccf8xd){return _0xccf8xa[_0xb63c[13]](201)[_0xb63c[12]](_0xccf8xd)})[_0xb63c[11]](sequelize.UniqueConstraintError,function(_0xccf8xb){var _0xccf8x10=[];_0xccf8xb[_0xb63c[38]][_0xb63c[37]](function(_0xccf8x11){switch(_0xccf8x11[_0xb63c[36]]){case _0xb63c[35]:_0xccf8x10[_0xb63c[34]](_0xb63c[25]);break;default:_0xccf8x10[_0xb63c[34]](_0xccf8x11[_0xb63c[36]])}});_0xccf8x10[_0xb63c[34]](_0xb63c[39]);_0xccf8xb[_0xb63c[40]]=_0xccf8x10[_0xb63c[41]]();_0xccf8xb[_0xb63c[42]]=_0xb63c[43];return _0xccf8xa[_0xb63c[13]](500)[_0xb63c[12]](_0xccf8xb)})[_0xb63c[11]](function(_0xccf8xb){return handleError(_0xccf8xa,_0xccf8xb)})};exports[_0xb63c[45]]=function(_0xccf8x9,_0xccf8xa){if(_0xccf8x9[_0xb63c[44]][_0xb63c[25]]){delete _0xccf8x9[_0xb63c[44]][_0xb63c[25]]};return VoiceQueue[_0xb63c[19]](_0xccf8x9[_0xb63c[26]][_0xb63c[25]])[_0xb63c[14]](function(_0xccf8xd){if(!_0xccf8xd){return _0xccf8xa[_0xb63c[24]](404)};var _0xccf8x12=_[_0xb63c[47]](_0xccf8xd,_0xccf8x9[_0xb63c[44]]);return _0xccf8x12[_0xb63c[48]]()})[_0xb63c[14]](function(_0xccf8xd){return _0xccf8xa[_0xb63c[13]](200)[_0xb63c[12]](_0xccf8xd)})[_0xb63c[11]](function(_0xccf8xb){console[_0xb63c[46]](_0xccf8xb);return handleError(_0xccf8xa,_0xccf8xb)})};exports[_0xb63c[49]]=function(_0xccf8x9,_0xccf8xa,_0xccf8x13){return User[_0xb63c[56]]({where:{id:{$in:_0xccf8x9[_0xb63c[44]][_0xb63c[55]]}}})[_0xb63c[14]](function(_0xccf8x14){var _0xccf8x15=_[_0xb63c[53]](_0xccf8x14,function(_0xccf8x16){return {queue:_0xccf8x9[_0xb63c[26]][_0xb63c[25]],location:util[_0xb63c[51]](_0xb63c[50],_0xccf8x16[_0xb63c[25]]),membername:_0xccf8x16[_0xb63c[25]],UserId:_0xccf8x16[_0xb63c[17]],penalty:_0xccf8x9[_0xb63c[44]][_0xb63c[52]]}});return UserHasVoiceQueue[_0xb63c[54]](_0xccf8x15,{individualHooks:true})})[_0xb63c[14]](function(){return _0xccf8xa[_0xb63c[24]](200)})[_0xb63c[11]](function(_0xccf8xb){console[_0xb63c[46]](_0xccf8xb);return _0xccf8x13(_0xccf8xb)})};exports[_0xb63c[57]]=function(_0xccf8x9,_0xccf8xa,_0xccf8x13){return UserHasVoiceQueue[_0xb63c[58]]({where:{UserId:_0xccf8x9[_0xb63c[15]][_0xb63c[55]],queue:_0xccf8x9[_0xb63c[26]][_0xb63c[25]]},individualHooks:true})[_0xb63c[14]](function(){return _0xccf8xa[_0xb63c[24]](202)})[_0xb63c[11]](function(_0xccf8xb){return _0xccf8x13(_0xccf8xb)})};exports[_0xb63c[58]]=function(_0xccf8x9,_0xccf8xa){return VoiceQueue[_0xb63c[58]]({where:{name:_0xccf8x9[_0xb63c[26]][_0xb63c[25]]},individualHooks:true})[_0xb63c[14]](function(){return _0xccf8xa[_0xb63c[24]](204)})[_0xb63c[11]](function(_0xccf8xb){return handleError(_0xccf8xa,_0xccf8xb)})};exports[_0xb63c[59]]=function(_0xccf8x9,_0xccf8xa){return VoiceQueue[_0xb63c[58]]({where:{name:_0xccf8x9[_0xb63c[15]][_0xb63c[60]]},individualHooks:true})[_0xb63c[14]](function(){return _0xccf8xa[_0xb63c[24]](204)})[_0xb63c[11]](function(_0xccf8xb){return handleError(_0xccf8xa,_0xccf8xb)})};function handleError(_0xccf8xa,_0xccf8xb){return _0xccf8xa[_0xb63c[13]](500)[_0xb63c[12]](_0xccf8xb)} \ No newline at end of file +var _0x5e6e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x55\x73\x65\x72\x48\x61\x73\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x69\x64","\x75\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x72\x6F\x6C\x65","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x6E\x61\x6D\x65","\x70\x61\x72\x61\x6D\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x6C\x65\x6E\x67\x74\x68","\x61\x67\x65\x6E\x74","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x67\x65\x74\x55\x73\x65\x72\x73","\x63\x72\x65\x61\x74\x65","\x70\x75\x73\x68","\x50\x52\x49\x4D\x41\x52\x59","\x70\x61\x74\x68","\x66\x6F\x72\x45\x61\x63\x68","\x65\x72\x72\x6F\x72\x73","\x20\x6D\x75\x73\x74\x20\x62\x65\x20\x75\x6E\x69\x71\x75\x65","\x6D\x65\x73\x73\x61\x67\x65","\x6A\x6F\x69\x6E","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x64\x4D\x65\x73\x73\x61\x67\x65","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x51\x55\x45\x55\x45","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6C\x6F\x67","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x53\x49\x50\x2F\x25\x73","\x66\x6F\x72\x6D\x61\x74","\x70\x65\x6E\x61\x6C\x74\x79","\x6D\x61\x70","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x61\x67\x65\x6E\x74\x73","\x66\x69\x6E\x64\x41\x6C\x6C","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0x5e6e[0];var _=require(_0x5e6e[1]);var util=require(_0x5e6e[2]);var Util=require(_0x5e6e[3]);var sequelize=require(_0x5e6e[5])[_0x5e6e[4]];var User=require(_0x5e6e[5])[_0x5e6e[6]];var VoiceQueue=require(_0x5e6e[5])[_0x5e6e[7]];var UserHasVoiceQueue=require(_0x5e6e[5])[_0x5e6e[8]];var VoiceExtension=require(_0x5e6e[5])[_0x5e6e[9]];exports[_0x5e6e[10]]=function(_0xb2ebx9,_0xb2ebxa){switch(_0xb2ebx9[_0x5e6e[18]][_0x5e6e[22]]){case _0x5e6e[18]:return User[_0x5e6e[19]](_0xb2ebx9[_0x5e6e[18]][_0x5e6e[17]],{attributes:[_0x5e6e[17]]})[_0x5e6e[14]](Util[_0x5e6e[16]](_0xb2ebx9[_0x5e6e[15]]))[_0x5e6e[14]](function(_0xb2ebxc){_0xb2ebxa[_0x5e6e[13]](200)[_0x5e6e[12]](_0xb2ebxc)})[_0x5e6e[11]](function(_0xb2ebxb){return handleError(_0xb2ebxa,_0xb2ebxb)});default:return VoiceQueue[_0x5e6e[21]](Util[_0x5e6e[20]](_0xb2ebx9[_0x5e6e[15]]))[_0x5e6e[14]](function(_0xb2ebxc){_0xb2ebxa[_0x5e6e[13]](200)[_0x5e6e[12]](_0xb2ebxc)})[_0x5e6e[11]](function(_0xb2ebxb){return handleError(_0xb2ebxa,_0xb2ebxb)})}};exports[_0x5e6e[23]]=function(_0xb2ebx9,_0xb2ebxa){return VoiceQueue[_0x5e6e[19]](_0xb2ebx9[_0x5e6e[26]][_0x5e6e[25]])[_0x5e6e[14]](function(_0xb2ebxd){if(!_0xb2ebxd){return _0xb2ebxa[_0x5e6e[24]](404)};return _0xb2ebxa[_0x5e6e[12]](_0xb2ebxd)})[_0x5e6e[11]](function(_0xb2ebxb){return handleError(_0xb2ebxa,_0xb2ebxb)})};exports[_0x5e6e[27]]=function(_0xb2ebx9,_0xb2ebxa){return VoiceQueue[_0x5e6e[19]](_0xb2ebx9[_0x5e6e[26]][_0x5e6e[25]])[_0x5e6e[14]](function(_0xb2ebxf){if(!_0xb2ebxf){return _0xb2ebxa[_0x5e6e[24]](404)};return _0xb2ebxf[_0x5e6e[32]]({where:{role:_0x5e6e[29]},attributes:[_0x5e6e[17],_0x5e6e[25],_0x5e6e[30],_0x5e6e[31]]})})[_0x5e6e[14]](function(_0xb2ebxe){return _0xb2ebxa[_0x5e6e[13]](200)[_0x5e6e[12]]({rows:_0xb2ebxe,count:_0xb2ebxe[_0x5e6e[28]]})})[_0x5e6e[11]](function(_0xb2ebxb){return handleError(_0xb2ebxa,_0xb2ebxb)})};exports[_0x5e6e[33]]=function(_0xb2ebx9,_0xb2ebxa){return VoiceQueue[_0x5e6e[33]](_0xb2ebx9[_0x5e6e[44]])[_0x5e6e[14]](function(_0xb2ebxd){return _0xb2ebxa[_0x5e6e[13]](201)[_0x5e6e[12]](_0xb2ebxd)})[_0x5e6e[11]](sequelize.UniqueConstraintError,function(_0xb2ebxb){var _0xb2ebx10=[];_0xb2ebxb[_0x5e6e[38]][_0x5e6e[37]](function(_0xb2ebx11){switch(_0xb2ebx11[_0x5e6e[36]]){case _0x5e6e[35]:_0xb2ebx10[_0x5e6e[34]](_0x5e6e[25]);break;default:_0xb2ebx10[_0x5e6e[34]](_0xb2ebx11[_0x5e6e[36]])}});_0xb2ebx10[_0x5e6e[34]](_0x5e6e[39]);_0xb2ebxb[_0x5e6e[40]]=_0xb2ebx10[_0x5e6e[41]]();_0xb2ebxb[_0x5e6e[42]]=_0x5e6e[43];return _0xb2ebxa[_0x5e6e[13]](500)[_0x5e6e[12]](_0xb2ebxb)})[_0x5e6e[11]](function(_0xb2ebxb){return handleError(_0xb2ebxa,_0xb2ebxb)})};exports[_0x5e6e[45]]=function(_0xb2ebx9,_0xb2ebxa){if(_0xb2ebx9[_0x5e6e[44]][_0x5e6e[25]]){delete _0xb2ebx9[_0x5e6e[44]][_0x5e6e[25]]};return VoiceQueue[_0x5e6e[19]](_0xb2ebx9[_0x5e6e[26]][_0x5e6e[25]])[_0x5e6e[14]](function(_0xb2ebxd){if(!_0xb2ebxd){return _0xb2ebxa[_0x5e6e[24]](404)};var _0xb2ebx12=_[_0x5e6e[47]](_0xb2ebxd,_0xb2ebx9[_0x5e6e[44]]);return _0xb2ebx12[_0x5e6e[48]]()})[_0x5e6e[14]](function(_0xb2ebxd){return _0xb2ebxa[_0x5e6e[13]](200)[_0x5e6e[12]](_0xb2ebxd)})[_0x5e6e[11]](function(_0xb2ebxb){console[_0x5e6e[46]](_0xb2ebxb);return handleError(_0xb2ebxa,_0xb2ebxb)})};exports[_0x5e6e[49]]=function(_0xb2ebx9,_0xb2ebxa,_0xb2ebx13){return User[_0x5e6e[56]]({where:{id:{$in:_0xb2ebx9[_0x5e6e[44]][_0x5e6e[55]]}}})[_0x5e6e[14]](function(_0xb2ebx14){var _0xb2ebx15=_[_0x5e6e[53]](_0xb2ebx14,function(_0xb2ebx16){return {queue:_0xb2ebx9[_0x5e6e[26]][_0x5e6e[25]],location:util[_0x5e6e[51]](_0x5e6e[50],_0xb2ebx16[_0x5e6e[25]]),membername:_0xb2ebx16[_0x5e6e[25]],UserId:_0xb2ebx16[_0x5e6e[17]],penalty:_0xb2ebx9[_0x5e6e[44]][_0x5e6e[52]]}});return UserHasVoiceQueue[_0x5e6e[54]](_0xb2ebx15,{individualHooks:true})})[_0x5e6e[14]](function(){return _0xb2ebxa[_0x5e6e[24]](200)})[_0x5e6e[11]](function(_0xb2ebxb){console[_0x5e6e[46]](_0xb2ebxb);return _0xb2ebx13(_0xb2ebxb)})};exports[_0x5e6e[57]]=function(_0xb2ebx9,_0xb2ebxa,_0xb2ebx13){return UserHasVoiceQueue[_0x5e6e[58]]({where:{UserId:_0xb2ebx9[_0x5e6e[15]][_0x5e6e[55]],queue:_0xb2ebx9[_0x5e6e[26]][_0x5e6e[25]]},individualHooks:true})[_0x5e6e[14]](function(){return _0xb2ebxa[_0x5e6e[24]](202)})[_0x5e6e[11]](function(_0xb2ebxb){return _0xb2ebx13(_0xb2ebxb)})};exports[_0x5e6e[58]]=function(_0xb2ebx9,_0xb2ebxa){return VoiceQueue[_0x5e6e[58]]({where:{name:_0xb2ebx9[_0x5e6e[26]][_0x5e6e[25]]},individualHooks:true})[_0x5e6e[14]](function(){return _0xb2ebxa[_0x5e6e[24]](204)})[_0x5e6e[11]](function(_0xb2ebxb){return handleError(_0xb2ebxa,_0xb2ebxb)})};exports[_0x5e6e[59]]=function(_0xb2ebx9,_0xb2ebxa){return VoiceQueue[_0x5e6e[58]]({where:{name:_0xb2ebx9[_0x5e6e[15]][_0x5e6e[60]]},individualHooks:true})[_0x5e6e[14]](function(){return _0xb2ebxa[_0x5e6e[24]](204)})[_0x5e6e[11]](function(_0xb2ebxb){return handleError(_0xb2ebxa,_0xb2ebxb)})};function handleError(_0xb2ebxa,_0xb2ebxb){return _0xb2ebxa[_0x5e6e[13]](500)[_0x5e6e[12]](_0xb2ebxb)} \ No newline at end of file diff --git a/server/api/voice_queue/voice_queue.socket.js b/server/api/voice_queue/voice_queue.socket.js index dc84be7..21d7b46 100644 --- a/server/api/voice_queue/voice_queue.socket.js +++ b/server/api/voice_queue/voice_queue.socket.js @@ -1 +1 @@ -var _0xb746=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x6C\x6F\x64\x61\x73\x68","\x62\x6C\x75\x65\x62\x69\x72\x64","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x72\x6F\x77\x73","\x6E\x61\x6D\x65","\x6D\x61\x70","\x74\x68\x65\x6E","\x67\x65\x74\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x75\x73\x65\x72\x49\x64","\x69\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x73\x65\x72","\x66\x69\x6E\x64\x41\x6C\x6C","\x61\x64\x6D\x69\x6E","\x72\x6F\x6C\x65","\x45\x72\x72\x6F\x72\x20\x66\x69\x6C\x74\x65\x72\x69\x6E\x67\x20\x71\x75\x65\x75\x65\x73\x20\x61\x66\x74\x65\x72\x20\x71\x75\x65\x75\x65\x20\x73\x61\x76\x65","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x76\x6F\x69\x63\x65\x5F\x71\x75\x65\x75\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x61\x6C\x6C","\x76\x6F\x69\x63\x65\x5F\x71\x75\x65\x75\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0xb746[0];var VoiceQueue=require(_0xb746[2])[_0xb746[1]];var User=require(_0xb746[2])[_0xb746[3]];var Util=require(_0xb746[4]);var _=require(_0xb746[5]);var Promise=require(_0xb746[6]);exports[_0xb746[7]]=function(_0x3fd0x6){VoiceQueue[_0xb746[8]](function(_0x3fd0x7){onSave(_0x3fd0x6,_0x3fd0x7)});VoiceQueue[_0xb746[9]](function(_0x3fd0x7){onRemove(_0x3fd0x6,_0x3fd0x7)})};function getVoiceQueues(_0x3fd0x9){return function(){switch(_0x3fd0x9[_0xb746[21]]){case _0xb746[18]:return User[_0xb746[17]](_0x3fd0x9[_0xb746[15]],{attributes:[_0xb746[16]]})[_0xb746[13]](Util[_0xb746[14]]())[_0xb746[13]](function(_0x3fd0xa){return _[_0xb746[12]](_0x3fd0xa[_0xb746[10]],_0xb746[11])});case _0xb746[20]:return VoiceQueue[_0xb746[19]]()[_0xb746[13]](function(_0x3fd0xb){return {rows:_0x3fd0xb}})[_0xb746[13]](function(_0x3fd0xa){return _[_0xb746[12]](_0x3fd0xa[_0xb746[10]],_0xb746[11])});default:return []}}}function onSave(_0x3fd0x6,_0x3fd0x7,_0x3fd0xd){return Promise[_0xb746[28]]([])[_0xb746[13]](getVoiceQueues(_0x3fd0x6))[_0xb746[13]](function(_0x3fd0xa){if(_[_0xb746[25]](_0x3fd0xa,_0x3fd0x7[_0xb746[11]])){_0x3fd0x6[_0xb746[27]](_0xb746[26],_0x3fd0x7)}})[_0xb746[24]](function(_0x3fd0xe){console[_0xb746[23]](_0xb746[22],_0x3fd0xe)})}function onRemove(_0x3fd0x6,_0x3fd0x7,_0x3fd0xd){_0x3fd0x6[_0xb746[27]](_0xb746[29],_0x3fd0x7)} \ No newline at end of file +var _0x4237=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x6C\x6F\x64\x61\x73\x68","\x62\x6C\x75\x65\x62\x69\x72\x64","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x72\x6F\x77\x73","\x6E\x61\x6D\x65","\x6D\x61\x70","\x74\x68\x65\x6E","\x67\x65\x74\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x75\x73\x65\x72\x49\x64","\x69\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x73\x65\x72","\x66\x69\x6E\x64\x41\x6C\x6C","\x61\x64\x6D\x69\x6E","\x72\x6F\x6C\x65","\x45\x72\x72\x6F\x72\x20\x66\x69\x6C\x74\x65\x72\x69\x6E\x67\x20\x71\x75\x65\x75\x65\x73\x20\x61\x66\x74\x65\x72\x20\x71\x75\x65\x75\x65\x20\x73\x61\x76\x65","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x76\x6F\x69\x63\x65\x5F\x71\x75\x65\x75\x65\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x61\x6C\x6C","\x76\x6F\x69\x63\x65\x5F\x71\x75\x65\x75\x65\x3A\x72\x65\x6D\x6F\x76\x65"];_0x4237[0];var VoiceQueue=require(_0x4237[2])[_0x4237[1]];var User=require(_0x4237[2])[_0x4237[3]];var Util=require(_0x4237[4]);var _=require(_0x4237[5]);var Promise=require(_0x4237[6]);exports[_0x4237[7]]=function(_0xc8c5x6){VoiceQueue[_0x4237[8]](function(_0xc8c5x7){onSave(_0xc8c5x6,_0xc8c5x7)});VoiceQueue[_0x4237[9]](function(_0xc8c5x7){onRemove(_0xc8c5x6,_0xc8c5x7)})};function getVoiceQueues(_0xc8c5x9){return function(){switch(_0xc8c5x9[_0x4237[21]]){case _0x4237[18]:return User[_0x4237[17]](_0xc8c5x9[_0x4237[15]],{attributes:[_0x4237[16]]})[_0x4237[13]](Util[_0x4237[14]]())[_0x4237[13]](function(_0xc8c5xa){return _[_0x4237[12]](_0xc8c5xa[_0x4237[10]],_0x4237[11])});case _0x4237[20]:return VoiceQueue[_0x4237[19]]()[_0x4237[13]](function(_0xc8c5xb){return {rows:_0xc8c5xb}})[_0x4237[13]](function(_0xc8c5xa){return _[_0x4237[12]](_0xc8c5xa[_0x4237[10]],_0x4237[11])});default:return []}}}function onSave(_0xc8c5x6,_0xc8c5x7,_0xc8c5xd){return Promise[_0x4237[28]]([])[_0x4237[13]](getVoiceQueues(_0xc8c5x6))[_0x4237[13]](function(_0xc8c5xa){if(_[_0x4237[25]](_0xc8c5xa,_0xc8c5x7[_0x4237[11]])){_0xc8c5x6[_0x4237[27]](_0x4237[26],_0xc8c5x7)}})[_0x4237[24]](function(_0xc8c5xe){console[_0x4237[23]](_0x4237[22],_0xc8c5xe)})}function onRemove(_0xc8c5x6,_0xc8c5x7,_0xc8c5xd){_0xc8c5x6[_0x4237[27]](_0x4237[29],_0xc8c5x7)} \ No newline at end of file diff --git a/server/api/voice_recording/index.js b/server/api/voice_recording/index.js index 5044bf9..e23a4ca 100644 --- a/server/api/voice_recording/index.js +++ b/server/api/voice_recording/index.js @@ -1 +1 @@ -var _0x7c9b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x76\x6F\x69\x63\x65\x5F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x73\x74\x72\x65\x61\x6D","\x67\x65\x74\x53\x74\x72\x65\x61\x6D","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x7c9b[0];var express=require(_0x7c9b[1]);var auth=require(_0x7c9b[2]);var controller=require(_0x7c9b[3]);var router=express.Router();router[_0x7c9b[9]](_0x7c9b[4],auth[_0x7c9b[5]](),auth[_0x7c9b[7]]([7],[_0x7c9b[6]]),controller[_0x7c9b[8]]);router[_0x7c9b[9]](_0x7c9b[10],auth[_0x7c9b[5]](),auth[_0x7c9b[7]]([7],[_0x7c9b[6]]),controller[_0x7c9b[11]]);router[_0x7c9b[9]](_0x7c9b[12],auth[_0x7c9b[5]](),auth[_0x7c9b[7]]([7],[_0x7c9b[6]]),controller[_0x7c9b[13]]);router[_0x7c9b[9]](_0x7c9b[14],auth[_0x7c9b[5]](),auth[_0x7c9b[7]]([7],[_0x7c9b[6]]),controller[_0x7c9b[15]]);router[_0x7c9b[17]](_0x7c9b[4],auth[_0x7c9b[5]](),auth[_0x7c9b[7]]([7],[_0x7c9b[6]]),controller[_0x7c9b[16]]);router[_0x7c9b[19]](_0x7c9b[12],auth[_0x7c9b[5]](),auth[_0x7c9b[7]]([7],[_0x7c9b[6]]),controller[_0x7c9b[18]]);router[_0x7c9b[21]](_0x7c9b[4],auth[_0x7c9b[5]](),auth[_0x7c9b[7]]([7],[_0x7c9b[6]]),controller[_0x7c9b[20]]);router[_0x7c9b[21]](_0x7c9b[12],auth[_0x7c9b[5]](),auth[_0x7c9b[7]]([7],[_0x7c9b[6]]),controller[_0x7c9b[22]]);module[_0x7c9b[23]]=router \ No newline at end of file +var _0xa659=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x76\x6F\x69\x63\x65\x5F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x64\x65\x73\x63\x72\x69\x62\x65","\x64\x65\x73\x63\x72\x69\x62\x65","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x73\x74\x72\x65\x61\x6D","\x67\x65\x74\x53\x74\x72\x65\x61\x6D","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0xa659[0];var express=require(_0xa659[1]);var auth=require(_0xa659[2]);var controller=require(_0xa659[3]);var router=express.Router();router[_0xa659[9]](_0xa659[4],auth[_0xa659[5]](),auth[_0xa659[7]]([7],[_0xa659[6]]),controller[_0xa659[8]]);router[_0xa659[9]](_0xa659[10],auth[_0xa659[5]](),auth[_0xa659[7]]([7],[_0xa659[6]]),controller[_0xa659[11]]);router[_0xa659[9]](_0xa659[12],auth[_0xa659[5]](),auth[_0xa659[7]]([7],[_0xa659[6]]),controller[_0xa659[13]]);router[_0xa659[9]](_0xa659[14],auth[_0xa659[5]](),auth[_0xa659[7]]([7],[_0xa659[6]]),controller[_0xa659[15]]);router[_0xa659[17]](_0xa659[4],auth[_0xa659[5]](),auth[_0xa659[7]]([7],[_0xa659[6]]),controller[_0xa659[16]]);router[_0xa659[19]](_0xa659[12],auth[_0xa659[5]](),auth[_0xa659[7]]([7],[_0xa659[6]]),controller[_0xa659[18]]);router[_0xa659[21]](_0xa659[4],auth[_0xa659[5]](),auth[_0xa659[7]]([7],[_0xa659[6]]),controller[_0xa659[20]]);router[_0xa659[21]](_0xa659[12],auth[_0xa659[5]](),auth[_0xa659[7]]([7],[_0xa659[6]]),controller[_0xa659[22]]);module[_0xa659[23]]=router \ No newline at end of file diff --git a/server/api/voice_recording/voice_recording.controller.js b/server/api/voice_recording/voice_recording.controller.js index 3576700..dbbdc29 100644 --- a/server/api/voice_recording/voice_recording.controller.js +++ b/server/api/voice_recording/voice_recording.controller.js @@ -1 +1 @@ -var _0x6a2c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x56\x6F\x69\x63\x65\x52\x65\x63\x6F\x72\x64\x69\x6E\x67","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x62\x6C\x75\x65\x62\x69\x72\x64","\x66\x69\x6C\x65\x2D\x62\x61\x73\x65\x36\x34","\x66\x73","\x63\x61\x75\x73\x65","\x63\x6F\x64\x65","\x45\x4E\x4F\x45\x4E\x54","\x4E\x6F\x20\x66\x69\x6C\x65\x20\x6F\x72\x20\x64\x69\x72\x65\x63\x74\x6F\x72\x79","\x4D\x45\x53\x53\x41\x47\x45\x5F\x4E\x4F\x5F\x46\x49\x4C\x45\x5F\x4F\x52\x5F\x44\x49\x52\x45\x43\x54\x4F\x52\x59","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x74\x68\x65\x6E","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x72\x6F\x77\x73","\x6E\x61\x6D\x65","\x6D\x61\x70","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x67\x65\x74\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x69\x64","\x75\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x72\x6F\x6C\x65","\x73\x68\x6F\x77","\x70\x61\x72\x61\x6D\x73","\x64\x65\x73\x63\x72\x69\x62\x65","\x67\x65\x74\x53\x74\x72\x65\x61\x6D","\x62\x61\x73\x65\x36\x34","\x62\x69\x6E\x61\x72\x79","\x72\x65\x61\x64\x46\x69\x6C\x65","\x70\x72\x6F\x6D\x69\x73\x69\x66\x79","\x76\x61\x6C\x75\x65","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64\x73"];_0x6a2c[0];var _=require(_0x6a2c[1]);var util=require(_0x6a2c[2]);var Util=require(_0x6a2c[3]);var VoiceRecording=require(_0x6a2c[5])[_0x6a2c[4]];var User=require(_0x6a2c[5])[_0x6a2c[6]];var Promise=require(_0x6a2c[7]);var base64=require(_0x6a2c[8]);var fs=require(_0x6a2c[9]);function handleError(_0x7913xa){return function(_0x7913xb){if(_0x7913xb[_0x6a2c[10]]&&_0x7913xb[_0x6a2c[10]][_0x6a2c[11]]===_0x6a2c[12]){_0x7913xb={message:_0x6a2c[13],translatedMessage:_0x6a2c[14]}};return _0x7913xa[_0x6a2c[16]](500)[_0x6a2c[15]](_0x7913xb)}}function responseWithResult(_0x7913xa,_0x7913xd){_0x7913xd=_0x7913xd||200;return function(_0x7913xe){if(_0x7913xe){_0x7913xa[_0x6a2c[16]](_0x7913xd)[_0x6a2c[17]](_0x7913xe)}}}function handleEntityNotFound(_0x7913xa){return function(_0x7913xe){if(!_0x7913xe){_0x7913xa[_0x6a2c[16]](404)[_0x6a2c[18]]();return null};return _0x7913xe}}function saveUpdates(_0x7913x11){return function(_0x7913xe){return _0x7913xe[_0x6a2c[19]](_0x7913x11)}}function removeEntity(_0x7913xa){return function(_0x7913xe){if(_0x7913xe){return _0x7913xe[_0x6a2c[21]]()[_0x6a2c[20]](function(){_0x7913xa[_0x6a2c[16]](204)[_0x6a2c[18]]()})}}}exports[_0x6a2c[22]]=function(_0x7913x13,_0x7913xa){switch(_0x7913x13[_0x6a2c[32]][_0x6a2c[34]]){case _0x6a2c[32]:return User[_0x6a2c[33]](_0x7913x13[_0x6a2c[32]][_0x6a2c[31]],{attributes:[_0x6a2c[31]]})[_0x6a2c[20]](Util[_0x6a2c[30]]())[_0x6a2c[20]](function(_0x7913x14){_0x7913x14=_[_0x6a2c[26]](_0x7913x14[_0x6a2c[24]],_0x6a2c[25]);return VoiceRecording[_0x6a2c[29]](Util[_0x6a2c[28]](_0x7913x13[_0x6a2c[27]],{queue:_0x7913x14}))})[_0x6a2c[20]](responseWithResult(_0x7913xa))[_0x6a2c[23]](handleError(_0x7913xa));default:return VoiceRecording[_0x6a2c[29]](Util[_0x6a2c[28]](_0x7913x13[_0x6a2c[27]]))[_0x6a2c[20]](responseWithResult(_0x7913xa))[_0x6a2c[23]](handleError(_0x7913xa))}};exports[_0x6a2c[35]]=function(_0x7913x13,_0x7913xa){return VoiceRecording[_0x6a2c[33]](_0x7913x13[_0x6a2c[36]][_0x6a2c[31]])[_0x6a2c[20]](handleEntityNotFound(_0x7913xa))[_0x6a2c[20]](responseWithResult(_0x7913xa))[_0x6a2c[23]](handleError(_0x7913xa))};exports[_0x6a2c[37]]=function(_0x7913x13,_0x7913xa){return VoiceRecording[_0x6a2c[37]]()[_0x6a2c[20]](function(_0x7913x15){return _0x7913xa[_0x6a2c[16]](200)[_0x6a2c[15]](_0x7913x15)})[_0x6a2c[23]](handleError(_0x7913xa))};exports[_0x6a2c[38]]=function(_0x7913x13,_0x7913xa){return VoiceRecording[_0x6a2c[33]](_0x7913x13[_0x6a2c[36]][_0x6a2c[31]])[_0x6a2c[20]](function(_0x7913x18){var _0x7913x19=Promise[_0x6a2c[42]](fs[_0x6a2c[41]]);return _0x7913x19(_0x7913x18[_0x6a2c[43]])})[_0x6a2c[20]](function(_0x7913x17){var _0x7913x16= new Buffer(_0x7913x17,_0x6a2c[40]).toString(_0x6a2c[39]);return _0x7913x16})[_0x6a2c[20]](function(_0x7913x16){return _0x7913xa[_0x6a2c[16]](200)[_0x6a2c[15]]({downloadString:_0x7913x16})})[_0x6a2c[23]](handleError(_0x7913xa))};exports[_0x6a2c[44]]=function(_0x7913x13,_0x7913xa){return VoiceRecording[_0x6a2c[44]](_0x7913x13[_0x6a2c[45]])[_0x6a2c[20]](responseWithResult(_0x7913xa,201))[_0x6a2c[23]](handleError(_0x7913xa))};exports[_0x6a2c[46]]=function(_0x7913x13,_0x7913xa){if(_0x7913x13[_0x6a2c[45]][_0x6a2c[31]]){delete _0x7913x13[_0x6a2c[45]][_0x6a2c[31]]};return VoiceRecording[_0x6a2c[33]](_0x7913x13[_0x6a2c[36]][_0x6a2c[31]])[_0x6a2c[20]](handleEntityNotFound(_0x7913xa))[_0x6a2c[20]](saveUpdates(_0x7913x13[_0x6a2c[45]]))[_0x6a2c[20]](responseWithResult(_0x7913xa))[_0x6a2c[23]](handleError(_0x7913xa))};exports[_0x6a2c[21]]=function(_0x7913x13,_0x7913xa){return VoiceRecording[_0x6a2c[33]](_0x7913x13[_0x6a2c[36]][_0x6a2c[31]])[_0x6a2c[20]](handleEntityNotFound(_0x7913xa))[_0x6a2c[20]](removeEntity(_0x7913xa))[_0x6a2c[23]](handleError(_0x7913xa))};exports[_0x6a2c[47]]=function(_0x7913x13,_0x7913xa){return VoiceRecording[_0x6a2c[21]]({where:{uniqueid:_0x7913x13[_0x6a2c[27]][_0x6a2c[49]]},individualHooks:true})[_0x6a2c[20]](function(){return _0x7913xa[_0x6a2c[48]](204)})[_0x6a2c[23]](handleError(_0x7913xa))} \ No newline at end of file +var _0xbc7e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x56\x6F\x69\x63\x65\x52\x65\x63\x6F\x72\x64\x69\x6E\x67","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x62\x6C\x75\x65\x62\x69\x72\x64","\x66\x69\x6C\x65\x2D\x62\x61\x73\x65\x36\x34","\x66\x73","\x63\x61\x75\x73\x65","\x63\x6F\x64\x65","\x45\x4E\x4F\x45\x4E\x54","\x4E\x6F\x20\x66\x69\x6C\x65\x20\x6F\x72\x20\x64\x69\x72\x65\x63\x74\x6F\x72\x79","\x4D\x45\x53\x53\x41\x47\x45\x5F\x4E\x4F\x5F\x46\x49\x4C\x45\x5F\x4F\x52\x5F\x44\x49\x52\x45\x43\x54\x4F\x52\x59","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x74\x68\x65\x6E","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x72\x6F\x77\x73","\x6E\x61\x6D\x65","\x6D\x61\x70","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x67\x65\x74\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x69\x64","\x75\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x72\x6F\x6C\x65","\x73\x68\x6F\x77","\x70\x61\x72\x61\x6D\x73","\x64\x65\x73\x63\x72\x69\x62\x65","\x67\x65\x74\x53\x74\x72\x65\x61\x6D","\x62\x61\x73\x65\x36\x34","\x62\x69\x6E\x61\x72\x79","\x72\x65\x61\x64\x46\x69\x6C\x65","\x70\x72\x6F\x6D\x69\x73\x69\x66\x79","\x76\x61\x6C\x75\x65","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64\x73"];_0xbc7e[0];var _=require(_0xbc7e[1]);var util=require(_0xbc7e[2]);var Util=require(_0xbc7e[3]);var VoiceRecording=require(_0xbc7e[5])[_0xbc7e[4]];var User=require(_0xbc7e[5])[_0xbc7e[6]];var Promise=require(_0xbc7e[7]);var base64=require(_0xbc7e[8]);var fs=require(_0xbc7e[9]);function handleError(_0x2eb5xa){return function(_0x2eb5xb){if(_0x2eb5xb[_0xbc7e[10]]&&_0x2eb5xb[_0xbc7e[10]][_0xbc7e[11]]===_0xbc7e[12]){_0x2eb5xb={message:_0xbc7e[13],translatedMessage:_0xbc7e[14]}};return _0x2eb5xa[_0xbc7e[16]](500)[_0xbc7e[15]](_0x2eb5xb)}}function responseWithResult(_0x2eb5xa,_0x2eb5xd){_0x2eb5xd=_0x2eb5xd||200;return function(_0x2eb5xe){if(_0x2eb5xe){_0x2eb5xa[_0xbc7e[16]](_0x2eb5xd)[_0xbc7e[17]](_0x2eb5xe)}}}function handleEntityNotFound(_0x2eb5xa){return function(_0x2eb5xe){if(!_0x2eb5xe){_0x2eb5xa[_0xbc7e[16]](404)[_0xbc7e[18]]();return null};return _0x2eb5xe}}function saveUpdates(_0x2eb5x11){return function(_0x2eb5xe){return _0x2eb5xe[_0xbc7e[19]](_0x2eb5x11)}}function removeEntity(_0x2eb5xa){return function(_0x2eb5xe){if(_0x2eb5xe){return _0x2eb5xe[_0xbc7e[21]]()[_0xbc7e[20]](function(){_0x2eb5xa[_0xbc7e[16]](204)[_0xbc7e[18]]()})}}}exports[_0xbc7e[22]]=function(_0x2eb5x13,_0x2eb5xa){switch(_0x2eb5x13[_0xbc7e[32]][_0xbc7e[34]]){case _0xbc7e[32]:return User[_0xbc7e[33]](_0x2eb5x13[_0xbc7e[32]][_0xbc7e[31]],{attributes:[_0xbc7e[31]]})[_0xbc7e[20]](Util[_0xbc7e[30]]())[_0xbc7e[20]](function(_0x2eb5x14){_0x2eb5x14=_[_0xbc7e[26]](_0x2eb5x14[_0xbc7e[24]],_0xbc7e[25]);return VoiceRecording[_0xbc7e[29]](Util[_0xbc7e[28]](_0x2eb5x13[_0xbc7e[27]],{queue:_0x2eb5x14}))})[_0xbc7e[20]](responseWithResult(_0x2eb5xa))[_0xbc7e[23]](handleError(_0x2eb5xa));default:return VoiceRecording[_0xbc7e[29]](Util[_0xbc7e[28]](_0x2eb5x13[_0xbc7e[27]]))[_0xbc7e[20]](responseWithResult(_0x2eb5xa))[_0xbc7e[23]](handleError(_0x2eb5xa))}};exports[_0xbc7e[35]]=function(_0x2eb5x13,_0x2eb5xa){return VoiceRecording[_0xbc7e[33]](_0x2eb5x13[_0xbc7e[36]][_0xbc7e[31]])[_0xbc7e[20]](handleEntityNotFound(_0x2eb5xa))[_0xbc7e[20]](responseWithResult(_0x2eb5xa))[_0xbc7e[23]](handleError(_0x2eb5xa))};exports[_0xbc7e[37]]=function(_0x2eb5x13,_0x2eb5xa){return VoiceRecording[_0xbc7e[37]]()[_0xbc7e[20]](function(_0x2eb5x15){return _0x2eb5xa[_0xbc7e[16]](200)[_0xbc7e[15]](_0x2eb5x15)})[_0xbc7e[23]](handleError(_0x2eb5xa))};exports[_0xbc7e[38]]=function(_0x2eb5x13,_0x2eb5xa){return VoiceRecording[_0xbc7e[33]](_0x2eb5x13[_0xbc7e[36]][_0xbc7e[31]])[_0xbc7e[20]](function(_0x2eb5x18){var _0x2eb5x19=Promise[_0xbc7e[42]](fs[_0xbc7e[41]]);return _0x2eb5x19(_0x2eb5x18[_0xbc7e[43]])})[_0xbc7e[20]](function(_0x2eb5x17){var _0x2eb5x16= new Buffer(_0x2eb5x17,_0xbc7e[40]).toString(_0xbc7e[39]);return _0x2eb5x16})[_0xbc7e[20]](function(_0x2eb5x16){return _0x2eb5xa[_0xbc7e[16]](200)[_0xbc7e[15]]({downloadString:_0x2eb5x16})})[_0xbc7e[23]](handleError(_0x2eb5xa))};exports[_0xbc7e[44]]=function(_0x2eb5x13,_0x2eb5xa){return VoiceRecording[_0xbc7e[44]](_0x2eb5x13[_0xbc7e[45]])[_0xbc7e[20]](responseWithResult(_0x2eb5xa,201))[_0xbc7e[23]](handleError(_0x2eb5xa))};exports[_0xbc7e[46]]=function(_0x2eb5x13,_0x2eb5xa){if(_0x2eb5x13[_0xbc7e[45]][_0xbc7e[31]]){delete _0x2eb5x13[_0xbc7e[45]][_0xbc7e[31]]};return VoiceRecording[_0xbc7e[33]](_0x2eb5x13[_0xbc7e[36]][_0xbc7e[31]])[_0xbc7e[20]](handleEntityNotFound(_0x2eb5xa))[_0xbc7e[20]](saveUpdates(_0x2eb5x13[_0xbc7e[45]]))[_0xbc7e[20]](responseWithResult(_0x2eb5xa))[_0xbc7e[23]](handleError(_0x2eb5xa))};exports[_0xbc7e[21]]=function(_0x2eb5x13,_0x2eb5xa){return VoiceRecording[_0xbc7e[33]](_0x2eb5x13[_0xbc7e[36]][_0xbc7e[31]])[_0xbc7e[20]](handleEntityNotFound(_0x2eb5xa))[_0xbc7e[20]](removeEntity(_0x2eb5xa))[_0xbc7e[23]](handleError(_0x2eb5xa))};exports[_0xbc7e[47]]=function(_0x2eb5x13,_0x2eb5xa){return VoiceRecording[_0xbc7e[21]]({where:{uniqueid:_0x2eb5x13[_0xbc7e[27]][_0xbc7e[49]]},individualHooks:true})[_0xbc7e[20]](function(){return _0x2eb5xa[_0xbc7e[48]](204)})[_0xbc7e[23]](handleError(_0x2eb5xa))} \ No newline at end of file diff --git a/server/api/voice_recording/voice_recording.socket.js b/server/api/voice_recording/voice_recording.socket.js index 8a12085..d8a39b8 100644 --- a/server/api/voice_recording/voice_recording.socket.js +++ b/server/api/voice_recording/voice_recording.socket.js @@ -1 +1 @@ -var _0x1127=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x56\x6F\x69\x63\x65\x52\x65\x63\x6F\x72\x64\x69\x6E\x67","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x76\x6F\x69\x63\x65\x5F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x76\x6F\x69\x63\x65\x5F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67\x3A\x72\x65\x6D\x6F\x76\x65"];_0x1127[0];var VoiceRecording=require(_0x1127[2])[_0x1127[1]];exports[_0x1127[3]]=function(_0xe45bx2){VoiceRecording[_0x1127[4]](function(_0xe45bx3){onSave(_0xe45bx2,_0xe45bx3)});VoiceRecording[_0x1127[5]](function(_0xe45bx3){onRemove(_0xe45bx2,_0xe45bx3)})};function onSave(_0xe45bx2,_0xe45bx3,_0xe45bx5){_0xe45bx2[_0x1127[7]](_0x1127[6],_0xe45bx3)}function onRemove(_0xe45bx2,_0xe45bx3,_0xe45bx5){_0xe45bx2[_0x1127[7]](_0x1127[8],_0xe45bx3)} \ No newline at end of file +var _0xe47e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x56\x6F\x69\x63\x65\x52\x65\x63\x6F\x72\x64\x69\x6E\x67","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x76\x6F\x69\x63\x65\x5F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x76\x6F\x69\x63\x65\x5F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67\x3A\x72\x65\x6D\x6F\x76\x65"];_0xe47e[0];var VoiceRecording=require(_0xe47e[2])[_0xe47e[1]];exports[_0xe47e[3]]=function(_0xabf2x2){VoiceRecording[_0xe47e[4]](function(_0xabf2x3){onSave(_0xabf2x2,_0xabf2x3)});VoiceRecording[_0xe47e[5]](function(_0xabf2x3){onRemove(_0xabf2x2,_0xabf2x3)})};function onSave(_0xabf2x2,_0xabf2x3,_0xabf2x5){_0xabf2x2[_0xe47e[7]](_0xe47e[6],_0xabf2x3)}function onRemove(_0xabf2x2,_0xabf2x3,_0xabf2x5){_0xabf2x2[_0xe47e[7]](_0xe47e[8],_0xabf2x3)} \ No newline at end of file diff --git a/server/api/voice_voicemail/index.js b/server/api/voice_voicemail/index.js index dccd0af..9b74675 100644 --- a/server/api/voice_voicemail/index.js +++ b/server/api/voice_voicemail/index.js @@ -1 +1 @@ -var _0x612b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x76\x6F\x69\x63\x65\x5F\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x75\x6E\x69\x71\x75\x65\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x76\x61\x6C\x69\x64\x61\x74\x65","\x6D\x61\x69\x6C\x62\x6F\x78\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x612b[0];var express=require(_0x612b[1]);var controller=require(_0x612b[2]);var auth=require(_0x612b[3]);var router=express.Router();router[_0x612b[9]](_0x612b[4],auth[_0x612b[5]](),auth[_0x612b[7]]([7],[_0x612b[6]]),controller[_0x612b[8]]);router[_0x612b[9]](_0x612b[10],auth[_0x612b[5]](),auth[_0x612b[7]]([7],[_0x612b[6]]),controller[_0x612b[11]]);router[_0x612b[13]](_0x612b[4],auth[_0x612b[5]](),auth[_0x612b[7]]([7],[_0x612b[6]]),controller[_0x612b[12]]);router[_0x612b[13]](_0x612b[14],auth[_0x612b[5]](),auth[_0x612b[7]]([7],[_0x612b[6]]),controller[_0x612b[15]]);router[_0x612b[17]](_0x612b[10],auth[_0x612b[5]](),auth[_0x612b[7]]([7],[_0x612b[6]]),controller[_0x612b[16]]);router[_0x612b[19]](_0x612b[4],auth[_0x612b[5]](),auth[_0x612b[7]]([7],[_0x612b[6]]),controller[_0x612b[18]]);router[_0x612b[19]](_0x612b[10],auth[_0x612b[5]](),auth[_0x612b[7]]([7],[_0x612b[6]]),controller[_0x612b[20]]);module[_0x612b[21]]=router \ No newline at end of file +var _0x1818=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x76\x6F\x69\x63\x65\x5F\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x75\x6E\x69\x71\x75\x65\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x76\x61\x6C\x69\x64\x61\x74\x65","\x6D\x61\x69\x6C\x62\x6F\x78\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x1818[0];var express=require(_0x1818[1]);var controller=require(_0x1818[2]);var auth=require(_0x1818[3]);var router=express.Router();router[_0x1818[9]](_0x1818[4],auth[_0x1818[5]](),auth[_0x1818[7]]([7],[_0x1818[6]]),controller[_0x1818[8]]);router[_0x1818[9]](_0x1818[10],auth[_0x1818[5]](),auth[_0x1818[7]]([7],[_0x1818[6]]),controller[_0x1818[11]]);router[_0x1818[13]](_0x1818[4],auth[_0x1818[5]](),auth[_0x1818[7]]([7],[_0x1818[6]]),controller[_0x1818[12]]);router[_0x1818[13]](_0x1818[14],auth[_0x1818[5]](),auth[_0x1818[7]]([7],[_0x1818[6]]),controller[_0x1818[15]]);router[_0x1818[17]](_0x1818[10],auth[_0x1818[5]](),auth[_0x1818[7]]([7],[_0x1818[6]]),controller[_0x1818[16]]);router[_0x1818[19]](_0x1818[4],auth[_0x1818[5]](),auth[_0x1818[7]]([7],[_0x1818[6]]),controller[_0x1818[18]]);router[_0x1818[19]](_0x1818[10],auth[_0x1818[5]](),auth[_0x1818[7]]([7],[_0x1818[6]]),controller[_0x1818[20]]);module[_0x1818[21]]=router \ No newline at end of file diff --git a/server/api/voice_voicemail/voice_voicemail.controller.js b/server/api/voice_voicemail/voice_voicemail.controller.js index 9a62979..11279eb 100644 --- a/server/api/voice_voicemail/voice_voicemail.controller.js +++ b/server/api/voice_voicemail/voice_voicemail.controller.js @@ -1 +1 @@ -var _0x4adb=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x73\x74\x72\x65\x61\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x56\x6F\x69\x63\x65\x56\x6F\x69\x63\x65\x6D\x61\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x56\x6F\x69\x63\x65\x56\x6F\x69\x63\x65\x6D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x75\x6E\x69\x71\x75\x65\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64","\x6D\x61\x69\x6C\x62\x6F\x78\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x62\x6F\x64\x79","\x6C\x6F\x67","\x6D\x61\x69\x6C\x62\x6F\x78","\x63\x6F\x6E\x74\x65\x78\x74","\x66\x69\x6E\x64\x41\x6C\x6C","\x63\x72\x65\x61\x74\x65","\x6C\x65\x6E\x67\x74\x68","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x4D\x41\x49\x4C\x42\x4F\x58","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79"];_0x4adb[0];var _=require(_0x4adb[1]);var stream=require(_0x4adb[2]);var Util=require(_0x4adb[3]);var VoiceVoicemail=require(_0x4adb[5])[_0x4adb[4]];var VoiceVoicemailMessages=require(_0x4adb[5])[_0x4adb[6]];exports[_0x4adb[7]]=function(_0xbc71x6,_0xbc71x7){return VoiceVoicemail[_0x4adb[14]](Util[_0x4adb[13]](_0xbc71x6[_0x4adb[12]]))[_0x4adb[11]](function(_0xbc71x9){_0xbc71x7[_0x4adb[10]](200)[_0x4adb[9]](_0xbc71x9)})[_0x4adb[8]](function(_0xbc71x8){return handleError(_0xbc71x7,_0xbc71x8)})};exports[_0x4adb[15]]=function(_0xbc71x6,_0xbc71x7){VoiceVoicemail[_0x4adb[19]]({where:{uniqueid:_0xbc71x6[_0x4adb[18]][_0x4adb[17]]}})[_0x4adb[11]](function(_0xbc71xa){if(!_0xbc71xa){return _0xbc71x7[_0x4adb[16]](404)};return _0xbc71x7[_0x4adb[9]](_0xbc71xa)})[_0x4adb[8]](function(_0xbc71x8){return handleError(_0xbc71x7,_0xbc71x8)})};exports[_0x4adb[20]]=function(_0xbc71x6,_0xbc71x7){console[_0x4adb[22]](_0xbc71x6[_0x4adb[21]]);VoiceVoicemail[_0x4adb[25]]({where:{mailbox:_0xbc71x6[_0x4adb[21]][_0x4adb[23]],context:_0xbc71x6[_0x4adb[21]][_0x4adb[24]]}})[_0x4adb[11]](function(_0xbc71xb){if(!_0xbc71xb){return _0xbc71x7[_0x4adb[16]](404)};return _0xbc71x7[_0x4adb[9]](_0xbc71xb)})[_0x4adb[8]](function(_0xbc71x8){return handleError(_0xbc71x7,_0xbc71x8)})};exports[_0x4adb[26]]=function(_0xbc71x6,_0xbc71x7){VoiceVoicemail[_0x4adb[25]]({where:{mailbox:_0xbc71x6[_0x4adb[21]][_0x4adb[23]],context:_0xbc71x6[_0x4adb[21]][_0x4adb[24]]}})[_0x4adb[11]](function(_0xbc71xb){if(!_0xbc71xb){return _0xbc71x7[_0x4adb[16]](404)};if(_0xbc71xb[_0x4adb[27]]>0){return _0xbc71x7[_0x4adb[10]](500)[_0x4adb[9]]({message:_0x4adb[28]})};VoiceVoicemail[_0x4adb[26]](_0xbc71x6[_0x4adb[21]])[_0x4adb[11]](function(_0xbc71xa){return _0xbc71x7[_0x4adb[10]](201)[_0x4adb[9]](_0xbc71xa)})[_0x4adb[8]](function(_0xbc71x8){return handleError(_0xbc71x7,_0xbc71x8)})[_0x4adb[8]](function(_0xbc71x8){return handleError(_0xbc71x7,_0xbc71x8)})})};exports[_0x4adb[29]]=function(_0xbc71x6,_0xbc71x7){VoiceVoicemail[_0x4adb[25]]({where:{mailbox:_0xbc71x6[_0x4adb[21]][_0x4adb[23]],context:_0xbc71x6[_0x4adb[21]][_0x4adb[24]],uniqueid:{$ne:_0xbc71x6[_0x4adb[21]][_0x4adb[17]]}}})[_0x4adb[11]](function(_0xbc71xb){if(!_0xbc71xb){return _0xbc71x7[_0x4adb[16]](404)};if(_0xbc71xb[_0x4adb[27]]>0){return _0xbc71x7[_0x4adb[10]](500)[_0x4adb[9]]({message:_0x4adb[28]})};if(_0xbc71x6[_0x4adb[21]][_0x4adb[17]]){delete _0xbc71x6[_0x4adb[21]][_0x4adb[17]]};VoiceVoicemail[_0x4adb[19]]({where:{uniqueid:_0xbc71x6[_0x4adb[18]][_0x4adb[17]]}})[_0x4adb[11]](function(_0xbc71xa){if(!_0xbc71xa){return _0xbc71x7[_0x4adb[16]](404)};var _0xbc71xc=_[_0x4adb[30]](_0xbc71xa,_0xbc71x6[_0x4adb[21]]);_0xbc71xc[_0x4adb[31]]()[_0x4adb[11]](function(){return _0xbc71x7[_0x4adb[10]](200)[_0x4adb[9]](_0xbc71xa)})[_0x4adb[8]](function(_0xbc71x8){return handleError(_0xbc71x7,_0xbc71x8)})})[_0x4adb[8]](function(_0xbc71x8){return handleError(_0xbc71x7,_0xbc71x8)})})[_0x4adb[8]](function(_0xbc71x8){return handleError(_0xbc71x7,_0xbc71x8)})};exports[_0x4adb[32]]=function(_0xbc71x6,_0xbc71x7){VoiceVoicemail[_0x4adb[19]]({where:{uniqueid:_0xbc71x6[_0x4adb[18]][_0x4adb[17]]}})[_0x4adb[11]](function(_0xbc71xa){if(!_0xbc71xa){return _0xbc71x7[_0x4adb[16]](404)};_0xbc71xa[_0x4adb[32]]()[_0x4adb[11]](function(){return _0xbc71x7[_0x4adb[16]](204)})[_0x4adb[8]](function(_0xbc71x8){return handleError(_0xbc71x7,_0xbc71x8)})})[_0x4adb[8]](function(_0xbc71x8){return handleError(_0xbc71x7,_0xbc71x8)})};exports[_0x4adb[33]]=function(_0xbc71x6,_0xbc71x7){VoiceVoicemail[_0x4adb[32]]({where:{uniqueid:_0xbc71x6[_0x4adb[12]][_0x4adb[17]]},individualHooks:true})[_0x4adb[11]](function(){return _0xbc71x7[_0x4adb[16]](204)})[_0x4adb[8]](function(_0xbc71x8){return handleError(_0xbc71x7,_0xbc71x8)})};function handleError(_0xbc71x7,_0xbc71x8){return _0xbc71x7[_0x4adb[10]](500)[_0x4adb[9]](_0xbc71x8)} \ No newline at end of file +var _0x628d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x73\x74\x72\x65\x61\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x56\x6F\x69\x63\x65\x56\x6F\x69\x63\x65\x6D\x61\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x56\x6F\x69\x63\x65\x56\x6F\x69\x63\x65\x6D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x75\x6E\x69\x71\x75\x65\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64","\x6D\x61\x69\x6C\x62\x6F\x78\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x62\x6F\x64\x79","\x6C\x6F\x67","\x6D\x61\x69\x6C\x62\x6F\x78","\x63\x6F\x6E\x74\x65\x78\x74","\x66\x69\x6E\x64\x41\x6C\x6C","\x63\x72\x65\x61\x74\x65","\x6C\x65\x6E\x67\x74\x68","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x4D\x41\x49\x4C\x42\x4F\x58","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79"];_0x628d[0];var _=require(_0x628d[1]);var stream=require(_0x628d[2]);var Util=require(_0x628d[3]);var VoiceVoicemail=require(_0x628d[5])[_0x628d[4]];var VoiceVoicemailMessages=require(_0x628d[5])[_0x628d[6]];exports[_0x628d[7]]=function(_0x5479x6,_0x5479x7){return VoiceVoicemail[_0x628d[14]](Util[_0x628d[13]](_0x5479x6[_0x628d[12]]))[_0x628d[11]](function(_0x5479x9){_0x5479x7[_0x628d[10]](200)[_0x628d[9]](_0x5479x9)})[_0x628d[8]](function(_0x5479x8){return handleError(_0x5479x7,_0x5479x8)})};exports[_0x628d[15]]=function(_0x5479x6,_0x5479x7){VoiceVoicemail[_0x628d[19]]({where:{uniqueid:_0x5479x6[_0x628d[18]][_0x628d[17]]}})[_0x628d[11]](function(_0x5479xa){if(!_0x5479xa){return _0x5479x7[_0x628d[16]](404)};return _0x5479x7[_0x628d[9]](_0x5479xa)})[_0x628d[8]](function(_0x5479x8){return handleError(_0x5479x7,_0x5479x8)})};exports[_0x628d[20]]=function(_0x5479x6,_0x5479x7){console[_0x628d[22]](_0x5479x6[_0x628d[21]]);VoiceVoicemail[_0x628d[25]]({where:{mailbox:_0x5479x6[_0x628d[21]][_0x628d[23]],context:_0x5479x6[_0x628d[21]][_0x628d[24]]}})[_0x628d[11]](function(_0x5479xb){if(!_0x5479xb){return _0x5479x7[_0x628d[16]](404)};return _0x5479x7[_0x628d[9]](_0x5479xb)})[_0x628d[8]](function(_0x5479x8){return handleError(_0x5479x7,_0x5479x8)})};exports[_0x628d[26]]=function(_0x5479x6,_0x5479x7){VoiceVoicemail[_0x628d[25]]({where:{mailbox:_0x5479x6[_0x628d[21]][_0x628d[23]],context:_0x5479x6[_0x628d[21]][_0x628d[24]]}})[_0x628d[11]](function(_0x5479xb){if(!_0x5479xb){return _0x5479x7[_0x628d[16]](404)};if(_0x5479xb[_0x628d[27]]>0){return _0x5479x7[_0x628d[10]](500)[_0x628d[9]]({message:_0x628d[28]})};VoiceVoicemail[_0x628d[26]](_0x5479x6[_0x628d[21]])[_0x628d[11]](function(_0x5479xa){return _0x5479x7[_0x628d[10]](201)[_0x628d[9]](_0x5479xa)})[_0x628d[8]](function(_0x5479x8){return handleError(_0x5479x7,_0x5479x8)})[_0x628d[8]](function(_0x5479x8){return handleError(_0x5479x7,_0x5479x8)})})};exports[_0x628d[29]]=function(_0x5479x6,_0x5479x7){VoiceVoicemail[_0x628d[25]]({where:{mailbox:_0x5479x6[_0x628d[21]][_0x628d[23]],context:_0x5479x6[_0x628d[21]][_0x628d[24]],uniqueid:{$ne:_0x5479x6[_0x628d[21]][_0x628d[17]]}}})[_0x628d[11]](function(_0x5479xb){if(!_0x5479xb){return _0x5479x7[_0x628d[16]](404)};if(_0x5479xb[_0x628d[27]]>0){return _0x5479x7[_0x628d[10]](500)[_0x628d[9]]({message:_0x628d[28]})};if(_0x5479x6[_0x628d[21]][_0x628d[17]]){delete _0x5479x6[_0x628d[21]][_0x628d[17]]};VoiceVoicemail[_0x628d[19]]({where:{uniqueid:_0x5479x6[_0x628d[18]][_0x628d[17]]}})[_0x628d[11]](function(_0x5479xa){if(!_0x5479xa){return _0x5479x7[_0x628d[16]](404)};var _0x5479xc=_[_0x628d[30]](_0x5479xa,_0x5479x6[_0x628d[21]]);_0x5479xc[_0x628d[31]]()[_0x628d[11]](function(){return _0x5479x7[_0x628d[10]](200)[_0x628d[9]](_0x5479xa)})[_0x628d[8]](function(_0x5479x8){return handleError(_0x5479x7,_0x5479x8)})})[_0x628d[8]](function(_0x5479x8){return handleError(_0x5479x7,_0x5479x8)})})[_0x628d[8]](function(_0x5479x8){return handleError(_0x5479x7,_0x5479x8)})};exports[_0x628d[32]]=function(_0x5479x6,_0x5479x7){VoiceVoicemail[_0x628d[19]]({where:{uniqueid:_0x5479x6[_0x628d[18]][_0x628d[17]]}})[_0x628d[11]](function(_0x5479xa){if(!_0x5479xa){return _0x5479x7[_0x628d[16]](404)};_0x5479xa[_0x628d[32]]()[_0x628d[11]](function(){return _0x5479x7[_0x628d[16]](204)})[_0x628d[8]](function(_0x5479x8){return handleError(_0x5479x7,_0x5479x8)})})[_0x628d[8]](function(_0x5479x8){return handleError(_0x5479x7,_0x5479x8)})};exports[_0x628d[33]]=function(_0x5479x6,_0x5479x7){VoiceVoicemail[_0x628d[32]]({where:{uniqueid:_0x5479x6[_0x628d[12]][_0x628d[17]]},individualHooks:true})[_0x628d[11]](function(){return _0x5479x7[_0x628d[16]](204)})[_0x628d[8]](function(_0x5479x8){return handleError(_0x5479x7,_0x5479x8)})};function handleError(_0x5479x7,_0x5479x8){return _0x5479x7[_0x628d[10]](500)[_0x628d[9]](_0x5479x8)} \ No newline at end of file diff --git a/server/api/voice_voicemail/voice_voicemail.socket.js b/server/api/voice_voicemail/voice_voicemail.socket.js index 2b18473..0020e73 100644 --- a/server/api/voice_voicemail/voice_voicemail.socket.js +++ b/server/api/voice_voicemail/voice_voicemail.socket.js @@ -1 +1 @@ -var _0x3fc8=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x56\x6F\x69\x63\x65\x56\x6F\x69\x63\x65\x6D\x61\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x56\x6F\x69\x63\x65\x56\x6F\x69\x63\x65\x6D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x76\x6F\x69\x63\x65\x5F\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x76\x6F\x69\x63\x65\x5F\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x3A\x72\x65\x6D\x6F\x76\x65","\x76\x6F\x69\x63\x65\x5F\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x3A\x73\x61\x76\x65","\x76\x6F\x69\x63\x65\x5F\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x3A\x72\x65\x6D\x6F\x76\x65"];_0x3fc8[0];var VoiceVoicemail=require(_0x3fc8[2])[_0x3fc8[1]];var VoiceVoicemailMessages=require(_0x3fc8[2])[_0x3fc8[3]];exports[_0x3fc8[4]]=function(_0x4287x3){VoiceVoicemail[_0x3fc8[5]](function(_0x4287x4){onSave(_0x4287x3,_0x4287x4)});VoiceVoicemail[_0x3fc8[6]](function(_0x4287x4){onRemove(_0x4287x3,_0x4287x4)});VoiceVoicemailMessages[_0x3fc8[5]](function(_0x4287x4){onMessageSave(_0x4287x3,_0x4287x4)});VoiceVoicemailMessages[_0x3fc8[6]](function(_0x4287x4){onMessageRemove(_0x4287x3,_0x4287x4)})};function onSave(_0x4287x3,_0x4287x4,_0x4287x6){_0x4287x3[_0x3fc8[8]](_0x3fc8[7],_0x4287x4)}function onRemove(_0x4287x3,_0x4287x4,_0x4287x6){_0x4287x3[_0x3fc8[8]](_0x3fc8[9],_0x4287x4)}function onMessageSave(_0x4287x3,_0x4287x4,_0x4287x6){_0x4287x3[_0x3fc8[8]](_0x3fc8[10],_0x4287x4)}function onMessageRemove(_0x4287x3,_0x4287x4,_0x4287x6){_0x4287x3[_0x3fc8[8]](_0x3fc8[11],_0x4287x4)} \ No newline at end of file +var _0xd1c6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x56\x6F\x69\x63\x65\x56\x6F\x69\x63\x65\x6D\x61\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x56\x6F\x69\x63\x65\x56\x6F\x69\x63\x65\x6D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x76\x6F\x69\x63\x65\x5F\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x76\x6F\x69\x63\x65\x5F\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x3A\x72\x65\x6D\x6F\x76\x65","\x76\x6F\x69\x63\x65\x5F\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x3A\x73\x61\x76\x65","\x76\x6F\x69\x63\x65\x5F\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x3A\x72\x65\x6D\x6F\x76\x65"];_0xd1c6[0];var VoiceVoicemail=require(_0xd1c6[2])[_0xd1c6[1]];var VoiceVoicemailMessages=require(_0xd1c6[2])[_0xd1c6[3]];exports[_0xd1c6[4]]=function(_0xdb83x3){VoiceVoicemail[_0xd1c6[5]](function(_0xdb83x4){onSave(_0xdb83x3,_0xdb83x4)});VoiceVoicemail[_0xd1c6[6]](function(_0xdb83x4){onRemove(_0xdb83x3,_0xdb83x4)});VoiceVoicemailMessages[_0xd1c6[5]](function(_0xdb83x4){onMessageSave(_0xdb83x3,_0xdb83x4)});VoiceVoicemailMessages[_0xd1c6[6]](function(_0xdb83x4){onMessageRemove(_0xdb83x3,_0xdb83x4)})};function onSave(_0xdb83x3,_0xdb83x4,_0xdb83x6){_0xdb83x3[_0xd1c6[8]](_0xd1c6[7],_0xdb83x4)}function onRemove(_0xdb83x3,_0xdb83x4,_0xdb83x6){_0xdb83x3[_0xd1c6[8]](_0xd1c6[9],_0xdb83x4)}function onMessageSave(_0xdb83x3,_0xdb83x4,_0xdb83x6){_0xdb83x3[_0xd1c6[8]](_0xd1c6[10],_0xdb83x4)}function onMessageRemove(_0xdb83x3,_0xdb83x4,_0xdb83x6){_0xdb83x3[_0xd1c6[8]](_0xd1c6[11],_0xdb83x4)} \ No newline at end of file diff --git a/server/api/voice_voicemail_messages/index.js b/server/api/voice_voicemail_messages/index.js index 3d90ee2..c9ee8f1 100644 --- a/server/api/voice_voicemail_messages/index.js +++ b/server/api/voice_voicemail_messages/index.js @@ -1 +1 @@ -var _0xff1d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x76\x6F\x69\x63\x65\x5F\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0xff1d[0];var express=require(_0xff1d[1]);var controller=require(_0xff1d[2]);var auth=require(_0xff1d[3]);var router=express.Router();router[_0xff1d[9]](_0xff1d[4],auth[_0xff1d[5]](),auth[_0xff1d[7]]([7],[_0xff1d[6]]),controller[_0xff1d[8]]);router[_0xff1d[9]](_0xff1d[10],auth[_0xff1d[5]](),auth[_0xff1d[7]]([7],[_0xff1d[6]]),controller[_0xff1d[11]]);router[_0xff1d[9]](_0xff1d[12],auth[_0xff1d[5]](),auth[_0xff1d[7]]([7],[_0xff1d[6]]),controller[_0xff1d[13]]);router[_0xff1d[15]](_0xff1d[4],auth[_0xff1d[5]](),auth[_0xff1d[7]]([7],[_0xff1d[6]]),controller[_0xff1d[14]]);router[_0xff1d[15]](_0xff1d[10],auth[_0xff1d[5]](),auth[_0xff1d[7]]([7],[_0xff1d[6]]),controller[_0xff1d[16]]);module[_0xff1d[17]]=router \ No newline at end of file +var _0x8962=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x76\x6F\x69\x63\x65\x5F\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x8962[0];var express=require(_0x8962[1]);var controller=require(_0x8962[2]);var auth=require(_0x8962[3]);var router=express.Router();router[_0x8962[9]](_0x8962[4],auth[_0x8962[5]](),auth[_0x8962[7]]([7],[_0x8962[6]]),controller[_0x8962[8]]);router[_0x8962[9]](_0x8962[10],auth[_0x8962[5]](),auth[_0x8962[7]]([7],[_0x8962[6]]),controller[_0x8962[11]]);router[_0x8962[9]](_0x8962[12],auth[_0x8962[5]](),auth[_0x8962[7]]([7],[_0x8962[6]]),controller[_0x8962[13]]);router[_0x8962[15]](_0x8962[4],auth[_0x8962[5]](),auth[_0x8962[7]]([7],[_0x8962[6]]),controller[_0x8962[14]]);router[_0x8962[15]](_0x8962[10],auth[_0x8962[5]](),auth[_0x8962[7]]([7],[_0x8962[6]]),controller[_0x8962[16]]);module[_0x8962[17]]=router \ No newline at end of file diff --git a/server/api/voice_voicemail_messages/voice_voicemail_messages.controller.js b/server/api/voice_voicemail_messages/voice_voicemail_messages.controller.js index 6262997..ad74408 100644 --- a/server/api/voice_voicemail_messages/voice_voicemail_messages.controller.js +++ b/server/api/voice_voicemail_messages/voice_voicemail_messages.controller.js @@ -1 +1 @@ -var _0x4ef3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x73\x74\x72\x65\x61\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x56\x6F\x69\x63\x65\x56\x6F\x69\x63\x65\x6D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x6D\x61\x69\x6C\x62\x6F\x78","\x73\x63\x6F\x70\x65","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x64\x65\x73\x74\x72\x6F\x79","\x72\x65\x63\x6F\x72\x64\x69\x6E\x67","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x61\x6C\x6C","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x69\x64\x73","\x66\x69\x6E\x64\x41\x6C\x6C","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x62\x61\x73\x65\x36\x34","\x62\x69\x6E\x61\x72\x79"];_0x4ef3[0];var _=require(_0x4ef3[1]);var stream=require(_0x4ef3[2]);var Util=require(_0x4ef3[3]);var VoiceVoicemailMessages=require(_0x4ef3[5])[_0x4ef3[4]];exports[_0x4ef3[6]]=function(_0x52e9x5,_0x52e9x6){return VoiceVoicemailMessages[_0x4ef3[16]]({method:[_0x4ef3[15],_0x52e9x5[_0x4ef3[12]]]})[_0x4ef3[14]](Util[_0x4ef3[13]](_0x52e9x5[_0x4ef3[12]]))[_0x4ef3[11]](function(_0x52e9x8){_0x52e9x6[_0x4ef3[10]](200)[_0x4ef3[9]](_0x52e9x8)})[_0x4ef3[8]](function(_0x52e9x7){console[_0x4ef3[7]](_0x52e9x7);return handleError(_0x52e9x6,_0x52e9x7)})};exports[_0x4ef3[17]]=function(_0x52e9x5,_0x52e9x6){return VoiceVoicemailMessages[_0x4ef3[21]](_0x52e9x5[_0x4ef3[20]][_0x4ef3[19]])[_0x4ef3[11]](function(_0x52e9x9){if(!_0x52e9x9){return _0x52e9x6[_0x4ef3[18]](404)};return _0x52e9x6[_0x4ef3[9]](_0x52e9x9)})[_0x4ef3[8]](function(_0x52e9x7){return handleError(_0x52e9x6,_0x52e9x7)})};exports[_0x4ef3[22]]=function(_0x52e9x5,_0x52e9x6){return VoiceVoicemailMessages[_0x4ef3[21]](_0x52e9x5[_0x4ef3[20]][_0x4ef3[19]])[_0x4ef3[11]](function(_0x52e9x9){if(!_0x52e9x9){return _0x52e9x6[_0x4ef3[18]](404)};_0x52e9x9[_0x4ef3[23]]=null;_0x52e9x9[_0x4ef3[22]]()})[_0x4ef3[11]](function(){return _0x52e9x6[_0x4ef3[18]](204)})[_0x4ef3[8]](function(_0x52e9x7){return handleError(_0x52e9x6,_0x52e9x7)})};exports[_0x4ef3[24]]=function(_0x52e9x5,_0x52e9x6){return VoiceVoicemailMessages[_0x4ef3[29]]({where:{id:_0x52e9x5[_0x4ef3[12]][_0x4ef3[28]]},individualHooks:true})[_0x4ef3[11]](function(_0x52e9xa){var _0x52e9xb=[];_0x52e9xa[_0x4ef3[27]](function(_0x52e9xc){voicemail_message[_0x4ef3[23]]=null;_0x52e9xb[_0x4ef3[26]](voicemail_message[_0x4ef3[22]]())});return _0x52e9xb})[_0x4ef3[25]]()[_0x4ef3[11]](function(){return _0x52e9x6[_0x4ef3[18]](204)})[_0x4ef3[8]](function(_0x52e9x7){return handleError(_0x52e9x6,_0x52e9x7)})};exports[_0x4ef3[30]]=function(_0x52e9x5,_0x52e9x6){return VoiceVoicemailMessages[_0x4ef3[21]](_0x52e9x5[_0x4ef3[20]][_0x4ef3[19]])[_0x4ef3[11]](function(_0x52e9xc){var _0x52e9xd= new Buffer(_0x52e9xc[_0x4ef3[23]],_0x4ef3[32]).toString(_0x4ef3[31]);return _0x52e9xd})[_0x4ef3[11]](function(_0x52e9xd){return _0x52e9x6[_0x4ef3[10]](200)[_0x4ef3[9]]({downloadString:_0x52e9xd})})[_0x4ef3[8]](function(_0x52e9x7){console[_0x4ef3[7]](_0x52e9x7);return handleError(_0x52e9x6,_0x52e9x7)})};function handleError(_0x52e9x6,_0x52e9x7){return _0x52e9x6[_0x4ef3[10]](500)[_0x4ef3[9]](_0x52e9x7)} \ No newline at end of file +var _0xc93b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x73\x74\x72\x65\x61\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x56\x6F\x69\x63\x65\x56\x6F\x69\x63\x65\x6D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x6D\x61\x69\x6C\x62\x6F\x78","\x73\x63\x6F\x70\x65","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x64\x65\x73\x74\x72\x6F\x79","\x72\x65\x63\x6F\x72\x64\x69\x6E\x67","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x61\x6C\x6C","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x69\x64\x73","\x66\x69\x6E\x64\x41\x6C\x6C","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x62\x61\x73\x65\x36\x34","\x62\x69\x6E\x61\x72\x79"];_0xc93b[0];var _=require(_0xc93b[1]);var stream=require(_0xc93b[2]);var Util=require(_0xc93b[3]);var VoiceVoicemailMessages=require(_0xc93b[5])[_0xc93b[4]];exports[_0xc93b[6]]=function(_0xf084x5,_0xf084x6){return VoiceVoicemailMessages[_0xc93b[16]]({method:[_0xc93b[15],_0xf084x5[_0xc93b[12]]]})[_0xc93b[14]](Util[_0xc93b[13]](_0xf084x5[_0xc93b[12]]))[_0xc93b[11]](function(_0xf084x8){_0xf084x6[_0xc93b[10]](200)[_0xc93b[9]](_0xf084x8)})[_0xc93b[8]](function(_0xf084x7){console[_0xc93b[7]](_0xf084x7);return handleError(_0xf084x6,_0xf084x7)})};exports[_0xc93b[17]]=function(_0xf084x5,_0xf084x6){return VoiceVoicemailMessages[_0xc93b[21]](_0xf084x5[_0xc93b[20]][_0xc93b[19]])[_0xc93b[11]](function(_0xf084x9){if(!_0xf084x9){return _0xf084x6[_0xc93b[18]](404)};return _0xf084x6[_0xc93b[9]](_0xf084x9)})[_0xc93b[8]](function(_0xf084x7){return handleError(_0xf084x6,_0xf084x7)})};exports[_0xc93b[22]]=function(_0xf084x5,_0xf084x6){return VoiceVoicemailMessages[_0xc93b[21]](_0xf084x5[_0xc93b[20]][_0xc93b[19]])[_0xc93b[11]](function(_0xf084x9){if(!_0xf084x9){return _0xf084x6[_0xc93b[18]](404)};_0xf084x9[_0xc93b[23]]=null;_0xf084x9[_0xc93b[22]]()})[_0xc93b[11]](function(){return _0xf084x6[_0xc93b[18]](204)})[_0xc93b[8]](function(_0xf084x7){return handleError(_0xf084x6,_0xf084x7)})};exports[_0xc93b[24]]=function(_0xf084x5,_0xf084x6){return VoiceVoicemailMessages[_0xc93b[29]]({where:{id:_0xf084x5[_0xc93b[12]][_0xc93b[28]]},individualHooks:true})[_0xc93b[11]](function(_0xf084xa){var _0xf084xb=[];_0xf084xa[_0xc93b[27]](function(_0xf084xc){voicemail_message[_0xc93b[23]]=null;_0xf084xb[_0xc93b[26]](voicemail_message[_0xc93b[22]]())});return _0xf084xb})[_0xc93b[25]]()[_0xc93b[11]](function(){return _0xf084x6[_0xc93b[18]](204)})[_0xc93b[8]](function(_0xf084x7){return handleError(_0xf084x6,_0xf084x7)})};exports[_0xc93b[30]]=function(_0xf084x5,_0xf084x6){return VoiceVoicemailMessages[_0xc93b[21]](_0xf084x5[_0xc93b[20]][_0xc93b[19]])[_0xc93b[11]](function(_0xf084xc){var _0xf084xd= new Buffer(_0xf084xc[_0xc93b[23]],_0xc93b[32]).toString(_0xc93b[31]);return _0xf084xd})[_0xc93b[11]](function(_0xf084xd){return _0xf084x6[_0xc93b[10]](200)[_0xc93b[9]]({downloadString:_0xf084xd})})[_0xc93b[8]](function(_0xf084x7){console[_0xc93b[7]](_0xf084x7);return handleError(_0xf084x6,_0xf084x7)})};function handleError(_0xf084x6,_0xf084x7){return _0xf084x6[_0xc93b[10]](500)[_0xc93b[9]](_0xf084x7)} \ No newline at end of file diff --git a/server/api/voice_voicemail_messages/voice_voicemail_messages.socket.js b/server/api/voice_voicemail_messages/voice_voicemail_messages.socket.js index d59c53f..c82cf0a 100644 --- a/server/api/voice_voicemail_messages/voice_voicemail_messages.socket.js +++ b/server/api/voice_voicemail_messages/voice_voicemail_messages.socket.js @@ -1 +1 @@ -var _0x8e7d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x56\x6F\x69\x63\x65\x56\x6F\x69\x63\x65\x6D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x76\x6F\x69\x63\x65\x5F\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x76\x6F\x69\x63\x65\x5F\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x3A\x72\x65\x6D\x6F\x76\x65"];_0x8e7d[0];var VoiceVoicemailMessages=require(_0x8e7d[2])[_0x8e7d[1]];exports[_0x8e7d[3]]=function(_0x58f3x2){VoiceVoicemailMessages[_0x8e7d[4]](function(_0x58f3x3){onSave(_0x58f3x2,_0x58f3x3)});VoiceVoicemailMessages[_0x8e7d[5]](function(_0x58f3x3){onRemove(_0x58f3x2,_0x58f3x3)})};function onSave(_0x58f3x2,_0x58f3x3,_0x58f3x5){_0x58f3x2[_0x8e7d[7]](_0x8e7d[6],_0x58f3x3)}function onRemove(_0x58f3x2,_0x58f3x3,_0x58f3x5){_0x58f3x2[_0x8e7d[7]](_0x8e7d[8],_0x58f3x3)} \ No newline at end of file +var _0x6968=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x56\x6F\x69\x63\x65\x56\x6F\x69\x63\x65\x6D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x76\x6F\x69\x63\x65\x5F\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x76\x6F\x69\x63\x65\x5F\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x3A\x72\x65\x6D\x6F\x76\x65"];_0x6968[0];var VoiceVoicemailMessages=require(_0x6968[2])[_0x6968[1]];exports[_0x6968[3]]=function(_0x7a8fx2){VoiceVoicemailMessages[_0x6968[4]](function(_0x7a8fx3){onSave(_0x7a8fx2,_0x7a8fx3)});VoiceVoicemailMessages[_0x6968[5]](function(_0x7a8fx3){onRemove(_0x7a8fx2,_0x7a8fx3)})};function onSave(_0x7a8fx2,_0x7a8fx3,_0x7a8fx5){_0x7a8fx2[_0x6968[7]](_0x6968[6],_0x7a8fx3)}function onRemove(_0x7a8fx2,_0x7a8fx3,_0x7a8fx5){_0x7a8fx2[_0x6968[7]](_0x6968[8],_0x7a8fx3)} \ No newline at end of file diff --git a/server/api/widget/index.js b/server/api/widget/index.js index b21a287..7119fec 100644 --- a/server/api/widget/index.js +++ b/server/api/widget/index.js @@ -1 +1 @@ -var _0x718c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x77\x69\x64\x67\x65\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F\x63\x6F\x75\x6E\x74\x65\x72","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x63\x6F\x75\x6E\x74\x65\x72","\x67\x65\x74","\x2F\x74\x61\x62\x6C\x65","\x74\x61\x62\x6C\x65","\x2F\x70\x69\x65\x63\x68\x61\x72\x74","\x70\x69\x65\x63\x68\x61\x72\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x718c[0];var express=require(_0x718c[1]);var controller=require(_0x718c[2]);var auth=require(_0x718c[3]);var router=express.Router();router[_0x718c[9]](_0x718c[4],auth[_0x718c[5]](),auth[_0x718c[7]]([2],[_0x718c[6]]),controller[_0x718c[8]]);router[_0x718c[9]](_0x718c[10],auth[_0x718c[5]](),auth[_0x718c[7]]([2],[_0x718c[6]]),controller[_0x718c[11]]);router[_0x718c[9]](_0x718c[12],auth[_0x718c[5]](),auth[_0x718c[7]]([2],[_0x718c[6]]),controller[_0x718c[13]]);module[_0x718c[14]]=router \ No newline at end of file +var _0x3acb=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x77\x69\x64\x67\x65\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F\x63\x6F\x75\x6E\x74\x65\x72","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x63\x6F\x75\x6E\x74\x65\x72","\x67\x65\x74","\x2F\x74\x61\x62\x6C\x65","\x74\x61\x62\x6C\x65","\x2F\x70\x69\x65\x63\x68\x61\x72\x74","\x70\x69\x65\x63\x68\x61\x72\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x3acb[0];var express=require(_0x3acb[1]);var controller=require(_0x3acb[2]);var auth=require(_0x3acb[3]);var router=express.Router();router[_0x3acb[9]](_0x3acb[4],auth[_0x3acb[5]](),auth[_0x3acb[7]]([2],[_0x3acb[6]]),controller[_0x3acb[8]]);router[_0x3acb[9]](_0x3acb[10],auth[_0x3acb[5]](),auth[_0x3acb[7]]([2],[_0x3acb[6]]),controller[_0x3acb[11]]);router[_0x3acb[9]](_0x3acb[12],auth[_0x3acb[5]](),auth[_0x3acb[7]]([2],[_0x3acb[6]]),controller[_0x3acb[13]]);module[_0x3acb[14]]=router \ No newline at end of file diff --git a/server/api/widget/widget.controller.js b/server/api/widget/widget.controller.js index f3f1fba..f600751 100644 --- a/server/api/widget/widget.controller.js +++ b/server/api/widget/widget.controller.js @@ -1 +1 @@ -var _0xdc7e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C\x73\x2F\x72\x65\x70\x6F\x72\x74\x5F\x62\x75\x69\x6C\x64","\x62\x6C\x75\x65\x62\x69\x72\x64","\x63\x6F\x75\x6E\x74\x65\x72","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x53\x45\x4C\x45\x43\x54\x20\x25\x73\x20\x46\x52\x4F\x4D\x20\x25\x73","\x73\x65\x6C\x65\x63\x74","\x71\x75\x65\x72\x79","\x74\x61\x62\x6C\x65","\x66\x6F\x72\x6D\x61\x74","\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E","\x20\x57\x48\x45\x52\x45\x20\x25\x73","\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","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\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","\x75\x73\x65\x72","\x62\x75\x69\x6C\x64\x46\x69\x6C\x74\x65\x72","\x61\x6C\x6C","\x66\x69\x65\x6C\x64\x73","\x69\x73\x41\x72\x72\x61\x79","\x70\x61\x72\x73\x65","\x63\x6F\x6C\x75\x6D\x6E","\x61\x6C\x69\x61\x73","\x20\x41\x53\x20\x22","\x22","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x69\x73\x53\x74\x72\x69\x6E\x67","\x6C\x65\x6E\x67\x74\x68","\x2C","\x6A\x6F\x69\x6E","\x2A","\x53\x45\x4C\x45\x43\x54\x20\x25\x73\x20\x46\x52\x4F\x4D\x20\x25\x73\x20\x57\x48\x45\x52\x45\x20\x25\x73","\x72\x65\x70\x6F\x72\x74","\x70\x69\x65\x63\x68\x61\x72\x74","","\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"];_0xdc7e[0];var _=require(_0xdc7e[1]);var util=require(_0xdc7e[2]);var sequelize=require(_0xdc7e[4])[_0xdc7e[3]];var reportBuildUtils=require(_0xdc7e[5]);var Promise=require(_0xdc7e[6]);exports[_0xdc7e[7]]=function(_0x4cf7x6,_0x4cf7x7){return Promise[_0xdc7e[30]]([])[_0xdc7e[12]](function(){return _0x4cf7x6[_0xdc7e[15]][_0xdc7e[16]]})[_0xdc7e[12]](reportBuildUtils[_0xdc7e[29]](_0x4cf7x6[_0xdc7e[28]]))[_0xdc7e[12]](function(_0x4cf7xa){var _0x4cf7xb=util[_0xdc7e[17]](_0xdc7e[13],_0x4cf7x6[_0xdc7e[15]][_0xdc7e[14]],_0x4cf7x6[_0xdc7e[15]][_0xdc7e[16]]);if(_0x4cf7x6[_0xdc7e[15]][_0xdc7e[18]]){_0x4cf7xb+=util[_0xdc7e[17]](_0xdc7e[19],decodeURIComponent(_0x4cf7x6[_0xdc7e[15]][_0xdc7e[18]]))};if(!_0x4cf7xa||_0x4cf7xa!==_0xdc7e[20]){if(_0x4cf7xa){_0x4cf7xb+=_0x4cf7x6[_0xdc7e[15]][_0xdc7e[18]]?_0xdc7e[21]+_0x4cf7xa:_0xdc7e[22]+_0x4cf7xa};console[_0xdc7e[8]](_0xdc7e[23]);console[_0xdc7e[8]](_0x4cf7xb);console[_0xdc7e[8]](_0xdc7e[24]);return sequelize[_0xdc7e[15]](_0x4cf7xb,{type:sequelize[_0xdc7e[26]][_0xdc7e[25]]})}else {console[_0xdc7e[8]](_0xdc7e[23]);console[_0xdc7e[8]](_0xdc7e[27]);console[_0xdc7e[8]](_0xdc7e[24]);return []}})[_0xdc7e[12]](function(_0x4cf7x9){return _0x4cf7x7[_0xdc7e[11]](200)[_0xdc7e[10]]({result:_0x4cf7x9})})[_0xdc7e[9]](function(_0x4cf7x8){console[_0xdc7e[8]](_0x4cf7x8);return handleError(_0x4cf7x7,_0x4cf7x8)})};exports[_0xdc7e[16]]=function(_0x4cf7x6,_0x4cf7x7){var _0x4cf7xc=[];var _0x4cf7xd;if(_0x4cf7x6[_0xdc7e[15]][_0xdc7e[31]]){if(_[_0xdc7e[32]](_0x4cf7x6[_0xdc7e[15]][_0xdc7e[31]])){_0x4cf7x6[_0xdc7e[15]][_0xdc7e[31]][_0xdc7e[39]](function(_0x4cf7xe){_0x4cf7xd=JSON[_0xdc7e[33]](_0x4cf7xe);if(_0x4cf7xd[_0xdc7e[34]]&&_0x4cf7xd[_0xdc7e[35]]){_0x4cf7xc[_0xdc7e[38]](_0x4cf7xd[_0xdc7e[34]]+_0xdc7e[36]+_0x4cf7xd[_0xdc7e[35]]+_0xdc7e[37])}})}else {if(_[_0xdc7e[40]](_0x4cf7x6[_0xdc7e[15]][_0xdc7e[31]])){_0x4cf7xd=JSON[_0xdc7e[33]](_0x4cf7x6[_0xdc7e[15]][_0xdc7e[31]]);if(_0x4cf7xd[_0xdc7e[34]]&&_0x4cf7xd[_0xdc7e[35]]){_0x4cf7xc[_0xdc7e[38]](_0x4cf7xd[_0xdc7e[34]]+_0xdc7e[36]+_0x4cf7xd[_0xdc7e[35]]+_0xdc7e[37])}}}};var _0x4cf7xf=_0x4cf7xc[_0xdc7e[41]]?_0x4cf7xc[_0xdc7e[43]](_0xdc7e[42]):_0xdc7e[44];sequelize[_0xdc7e[15]](util[_0xdc7e[17]](_0xdc7e[45],_0x4cf7xf,_0xdc7e[46]+_0x4cf7x6[_0xdc7e[15]][_0xdc7e[16]],decodeURIComponent(_0x4cf7x6[_0xdc7e[15]][_0xdc7e[18]])),{type:sequelize[_0xdc7e[26]][_0xdc7e[25]]})[_0xdc7e[12]](function(_0x4cf7x9){return _0x4cf7x7[_0xdc7e[11]](200)[_0xdc7e[10]](_0x4cf7x9)})[_0xdc7e[9]](function(_0x4cf7x8){return handleError(_0x4cf7x7,_0x4cf7x8)})};exports[_0xdc7e[47]]=function(_0x4cf7x6,_0x4cf7x7){return Promise[_0xdc7e[30]]([])[_0xdc7e[12]](function(){return _0x4cf7x6[_0xdc7e[15]][_0xdc7e[16]]})[_0xdc7e[12]](reportBuildUtils[_0xdc7e[29]](_0x4cf7x6[_0xdc7e[28]]))[_0xdc7e[12]](function(_0x4cf7xa){var _0x4cf7xc=[];var _0x4cf7xd;if(_0x4cf7x6[_0xdc7e[15]][_0xdc7e[31]]){if(_[_0xdc7e[32]](_0x4cf7x6[_0xdc7e[15]][_0xdc7e[31]])){_0x4cf7x6[_0xdc7e[15]][_0xdc7e[31]][_0xdc7e[39]](function(_0x4cf7xe){_0x4cf7xd=JSON[_0xdc7e[33]](_0x4cf7xe);if(_0x4cf7xd[_0xdc7e[34]]&&_0x4cf7xd[_0xdc7e[35]]){_0x4cf7xc[_0xdc7e[38]](_0x4cf7xd[_0xdc7e[34]]+_0xdc7e[36]+_0x4cf7xd[_0xdc7e[35]]+_0xdc7e[37])}})}else {if(_[_0xdc7e[40]](_0x4cf7x6[_0xdc7e[15]][_0xdc7e[31]])){_0x4cf7xd=JSON[_0xdc7e[33]](_0x4cf7x6[_0xdc7e[15]][_0xdc7e[31]]);if(_0x4cf7xd[_0xdc7e[34]]&&_0x4cf7xd[_0xdc7e[35]]){_0x4cf7xc[_0xdc7e[38]](_0x4cf7xd[_0xdc7e[34]]+_0xdc7e[36]+_0x4cf7xd[_0xdc7e[35]]+_0xdc7e[37])}}}};var _0x4cf7xf=_0x4cf7xc[_0xdc7e[41]]?_0x4cf7xc[_0xdc7e[43]](_0xdc7e[42]):_0xdc7e[44];var _0x4cf7x10=_0xdc7e[48];if(_0x4cf7x6[_0xdc7e[15]][_0xdc7e[18]]!==_0xdc7e[49]){_0x4cf7x10=util[_0xdc7e[17]](_0xdc7e[19],decodeURIComponent(_0x4cf7x6[_0xdc7e[15]][_0xdc7e[18]]))};if(!_0x4cf7xa||_0x4cf7xa!==_0xdc7e[20]){if(_0x4cf7xa){_0x4cf7x10+=_0xdc7e[21]+_0x4cf7xa};var _0x4cf7xb=util[_0xdc7e[17]](_0xdc7e[50],_0x4cf7xf,_0x4cf7x6[_0xdc7e[15]][_0xdc7e[16]],_0x4cf7x10);console[_0xdc7e[8]](_0xdc7e[23]);console[_0xdc7e[8]](_0x4cf7xb);console[_0xdc7e[8]](_0xdc7e[24]);return sequelize[_0xdc7e[15]](_0x4cf7xb,{type:sequelize[_0xdc7e[26]][_0xdc7e[25]]})}else {console[_0xdc7e[8]](_0xdc7e[23]);console[_0xdc7e[8]](_0xdc7e[27]);console[_0xdc7e[8]](_0xdc7e[24]);return []}})[_0xdc7e[12]](function(_0x4cf7x9){return _0x4cf7x7[_0xdc7e[11]](200)[_0xdc7e[10]]({result:_0x4cf7x9})})[_0xdc7e[9]](function(_0x4cf7x8){return handleError(_0x4cf7x7,_0x4cf7x8)})};function handleError(_0x4cf7x7,_0x4cf7x8){return _0x4cf7x7[_0xdc7e[11]](500)[_0xdc7e[10]](_0x4cf7x8)} \ No newline at end of file +var _0x703a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C\x73\x2F\x72\x65\x70\x6F\x72\x74\x5F\x62\x75\x69\x6C\x64","\x62\x6C\x75\x65\x62\x69\x72\x64","\x63\x6F\x75\x6E\x74\x65\x72","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x53\x45\x4C\x45\x43\x54\x20\x25\x73\x20\x46\x52\x4F\x4D\x20\x25\x73","\x73\x65\x6C\x65\x63\x74","\x71\x75\x65\x72\x79","\x74\x61\x62\x6C\x65","\x66\x6F\x72\x6D\x61\x74","\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E","\x20\x57\x48\x45\x52\x45\x20\x25\x73","\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","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\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","\x75\x73\x65\x72","\x62\x75\x69\x6C\x64\x46\x69\x6C\x74\x65\x72","\x61\x6C\x6C","\x66\x69\x65\x6C\x64\x73","\x69\x73\x41\x72\x72\x61\x79","\x70\x61\x72\x73\x65","\x63\x6F\x6C\x75\x6D\x6E","\x61\x6C\x69\x61\x73","\x20\x41\x53\x20\x22","\x22","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x69\x73\x53\x74\x72\x69\x6E\x67","\x6C\x65\x6E\x67\x74\x68","\x2C","\x6A\x6F\x69\x6E","\x2A","\x53\x45\x4C\x45\x43\x54\x20\x25\x73\x20\x46\x52\x4F\x4D\x20\x25\x73\x20\x57\x48\x45\x52\x45\x20\x25\x73","\x72\x65\x70\x6F\x72\x74","\x70\x69\x65\x63\x68\x61\x72\x74","","\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"];_0x703a[0];var _=require(_0x703a[1]);var util=require(_0x703a[2]);var sequelize=require(_0x703a[4])[_0x703a[3]];var reportBuildUtils=require(_0x703a[5]);var Promise=require(_0x703a[6]);exports[_0x703a[7]]=function(_0xe32ex6,_0xe32ex7){return Promise[_0x703a[30]]([])[_0x703a[12]](function(){return _0xe32ex6[_0x703a[15]][_0x703a[16]]})[_0x703a[12]](reportBuildUtils[_0x703a[29]](_0xe32ex6[_0x703a[28]]))[_0x703a[12]](function(_0xe32exa){var _0xe32exb=util[_0x703a[17]](_0x703a[13],_0xe32ex6[_0x703a[15]][_0x703a[14]],_0xe32ex6[_0x703a[15]][_0x703a[16]]);if(_0xe32ex6[_0x703a[15]][_0x703a[18]]){_0xe32exb+=util[_0x703a[17]](_0x703a[19],decodeURIComponent(_0xe32ex6[_0x703a[15]][_0x703a[18]]))};if(!_0xe32exa||_0xe32exa!==_0x703a[20]){if(_0xe32exa){_0xe32exb+=_0xe32ex6[_0x703a[15]][_0x703a[18]]?_0x703a[21]+_0xe32exa:_0x703a[22]+_0xe32exa};console[_0x703a[8]](_0x703a[23]);console[_0x703a[8]](_0xe32exb);console[_0x703a[8]](_0x703a[24]);return sequelize[_0x703a[15]](_0xe32exb,{type:sequelize[_0x703a[26]][_0x703a[25]]})}else {console[_0x703a[8]](_0x703a[23]);console[_0x703a[8]](_0x703a[27]);console[_0x703a[8]](_0x703a[24]);return []}})[_0x703a[12]](function(_0xe32ex9){return _0xe32ex7[_0x703a[11]](200)[_0x703a[10]]({result:_0xe32ex9})})[_0x703a[9]](function(_0xe32ex8){console[_0x703a[8]](_0xe32ex8);return handleError(_0xe32ex7,_0xe32ex8)})};exports[_0x703a[16]]=function(_0xe32ex6,_0xe32ex7){var _0xe32exc=[];var _0xe32exd;if(_0xe32ex6[_0x703a[15]][_0x703a[31]]){if(_[_0x703a[32]](_0xe32ex6[_0x703a[15]][_0x703a[31]])){_0xe32ex6[_0x703a[15]][_0x703a[31]][_0x703a[39]](function(_0xe32exe){_0xe32exd=JSON[_0x703a[33]](_0xe32exe);if(_0xe32exd[_0x703a[34]]&&_0xe32exd[_0x703a[35]]){_0xe32exc[_0x703a[38]](_0xe32exd[_0x703a[34]]+_0x703a[36]+_0xe32exd[_0x703a[35]]+_0x703a[37])}})}else {if(_[_0x703a[40]](_0xe32ex6[_0x703a[15]][_0x703a[31]])){_0xe32exd=JSON[_0x703a[33]](_0xe32ex6[_0x703a[15]][_0x703a[31]]);if(_0xe32exd[_0x703a[34]]&&_0xe32exd[_0x703a[35]]){_0xe32exc[_0x703a[38]](_0xe32exd[_0x703a[34]]+_0x703a[36]+_0xe32exd[_0x703a[35]]+_0x703a[37])}}}};var _0xe32exf=_0xe32exc[_0x703a[41]]?_0xe32exc[_0x703a[43]](_0x703a[42]):_0x703a[44];sequelize[_0x703a[15]](util[_0x703a[17]](_0x703a[45],_0xe32exf,_0x703a[46]+_0xe32ex6[_0x703a[15]][_0x703a[16]],decodeURIComponent(_0xe32ex6[_0x703a[15]][_0x703a[18]])),{type:sequelize[_0x703a[26]][_0x703a[25]]})[_0x703a[12]](function(_0xe32ex9){return _0xe32ex7[_0x703a[11]](200)[_0x703a[10]](_0xe32ex9)})[_0x703a[9]](function(_0xe32ex8){return handleError(_0xe32ex7,_0xe32ex8)})};exports[_0x703a[47]]=function(_0xe32ex6,_0xe32ex7){return Promise[_0x703a[30]]([])[_0x703a[12]](function(){return _0xe32ex6[_0x703a[15]][_0x703a[16]]})[_0x703a[12]](reportBuildUtils[_0x703a[29]](_0xe32ex6[_0x703a[28]]))[_0x703a[12]](function(_0xe32exa){var _0xe32exc=[];var _0xe32exd;if(_0xe32ex6[_0x703a[15]][_0x703a[31]]){if(_[_0x703a[32]](_0xe32ex6[_0x703a[15]][_0x703a[31]])){_0xe32ex6[_0x703a[15]][_0x703a[31]][_0x703a[39]](function(_0xe32exe){_0xe32exd=JSON[_0x703a[33]](_0xe32exe);if(_0xe32exd[_0x703a[34]]&&_0xe32exd[_0x703a[35]]){_0xe32exc[_0x703a[38]](_0xe32exd[_0x703a[34]]+_0x703a[36]+_0xe32exd[_0x703a[35]]+_0x703a[37])}})}else {if(_[_0x703a[40]](_0xe32ex6[_0x703a[15]][_0x703a[31]])){_0xe32exd=JSON[_0x703a[33]](_0xe32ex6[_0x703a[15]][_0x703a[31]]);if(_0xe32exd[_0x703a[34]]&&_0xe32exd[_0x703a[35]]){_0xe32exc[_0x703a[38]](_0xe32exd[_0x703a[34]]+_0x703a[36]+_0xe32exd[_0x703a[35]]+_0x703a[37])}}}};var _0xe32exf=_0xe32exc[_0x703a[41]]?_0xe32exc[_0x703a[43]](_0x703a[42]):_0x703a[44];var _0xe32ex10=_0x703a[48];if(_0xe32ex6[_0x703a[15]][_0x703a[18]]!==_0x703a[49]){_0xe32ex10=util[_0x703a[17]](_0x703a[19],decodeURIComponent(_0xe32ex6[_0x703a[15]][_0x703a[18]]))};if(!_0xe32exa||_0xe32exa!==_0x703a[20]){if(_0xe32exa){_0xe32ex10+=_0x703a[21]+_0xe32exa};var _0xe32exb=util[_0x703a[17]](_0x703a[50],_0xe32exf,_0xe32ex6[_0x703a[15]][_0x703a[16]],_0xe32ex10);console[_0x703a[8]](_0x703a[23]);console[_0x703a[8]](_0xe32exb);console[_0x703a[8]](_0x703a[24]);return sequelize[_0x703a[15]](_0xe32exb,{type:sequelize[_0x703a[26]][_0x703a[25]]})}else {console[_0x703a[8]](_0x703a[23]);console[_0x703a[8]](_0x703a[27]);console[_0x703a[8]](_0x703a[24]);return []}})[_0x703a[12]](function(_0xe32ex9){return _0xe32ex7[_0x703a[11]](200)[_0x703a[10]]({result:_0xe32ex9})})[_0x703a[9]](function(_0xe32ex8){return handleError(_0xe32ex7,_0xe32ex8)})};function handleError(_0xe32ex7,_0xe32ex8){return _0xe32ex7[_0x703a[11]](500)[_0x703a[10]](_0xe32ex8)} \ No newline at end of file diff --git a/server/api/xchatty/index.js b/server/api/xchatty/index.js index 358b8c6..0bef11f 100644 --- a/server/api/xchatty/index.js +++ b/server/api/xchatty/index.js @@ -1 +1 @@ -var _0xb982=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x78\x63\x68\x61\x74\x74\x79\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F\x6A\x71\x75\x65\x72\x79","\x67\x65\x74\x4A\x71\x75\x65\x72\x79\x4C\x69\x62\x72\x61\x72\x79","\x67\x65\x74","\x2F\x61\x73\x73\x65\x74\x73","\x67\x65\x74\x41\x73\x73\x65\x74\x73","\x2F\x73\x75\x62\x6D\x69\x74","\x73\x75\x62\x6D\x69\x74\x45\x6E\x71\x75\x69\x72\x79","\x2F\x72\x61\x74\x69\x6E\x67","\x73\x65\x74\x52\x61\x74\x69\x6E\x67","\x2F\x3A\x69\x64","\x67\x65\x74\x4A\x73\x42\x79\x57\x65\x62\x73\x69\x74\x65","\x2F\x3A\x69\x64\x2F\x61\x62\x61\x6E\x64\x6F\x6E","\x61\x62\x61\x6E\x64\x6F\x6E\x43\x75\x73\x74\x6F\x6D\x65\x72","\x2F\x3A\x69\x64\x2F\x68\x74\x6D\x6C","\x67\x65\x74\x48\x74\x6D\x6C\x42\x79\x57\x65\x62\x73\x69\x74\x65","\x2F\x3A\x69\x64\x2F\x70\x72\x6F\x61\x63\x74\x69\x76\x65","\x67\x65\x74\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E\x73\x42\x79\x57\x65\x62\x73\x69\x74\x65","\x2F\x3A\x69\x64\x2F\x72\x65\x61\x64","\x67\x65\x74\x4D\x65\x73\x73\x61\x67\x65\x73","\x2F\x3A\x69\x64\x2F\x73\x65\x6E\x64","\x73\x65\x6E\x64\x4D\x65\x73\x73\x61\x67\x65","\x2F\x3A\x69\x64\x2F\x73\x69\x67\x6E\x6F\x75\x74","\x73\x69\x67\x6E\x6F\x75\x74\x43\x75\x73\x74\x6F\x6D\x65\x72","\x2F\x3A\x69\x64\x2F\x73\x69\x67\x6E\x75\x70","\x73\x69\x67\x6E\x75\x70\x43\x75\x73\x74\x6F\x6D\x65\x72","\x2F\x3A\x69\x64\x2F\x73\x74\x61\x74\x75\x73","\x67\x65\x74\x53\x74\x61\x74\x75\x73\x42\x79\x57\x65\x62\x73\x69\x74\x65","\x2F\x3A\x69\x64\x2F\x73\x74\x79\x6C\x65\x73","\x67\x65\x74\x53\x74\x79\x6C\x65\x42\x79\x57\x65\x62\x73\x69\x74\x65","\x2F\x3A\x69\x64\x2F\x74\x72\x61\x6E\x73\x63\x72\x69\x70\x74","\x67\x65\x74\x54\x72\x61\x6E\x73\x63\x72\x69\x70\x74","\x2F\x3A\x69\x64\x2F\x75\x6E\x73\x65\x72\x76\x65\x64","\x75\x6E\x73\x65\x72\x76\x65\x64\x43\x75\x73\x74\x6F\x6D\x65\x72","\x65\x78\x70\x6F\x72\x74\x73"];_0xb982[0];var express=require(_0xb982[1]);var controller=require(_0xb982[2]);var router=express.Router();router[_0xb982[5]](_0xb982[3],controller[_0xb982[4]]);router[_0xb982[5]](_0xb982[6],controller[_0xb982[7]]);router[_0xb982[5]](_0xb982[8],controller[_0xb982[9]]);router[_0xb982[5]](_0xb982[10],controller[_0xb982[11]]);router[_0xb982[5]](_0xb982[12],controller[_0xb982[13]]);router[_0xb982[5]](_0xb982[14],controller[_0xb982[15]]);router[_0xb982[5]](_0xb982[16],controller[_0xb982[17]]);router[_0xb982[5]](_0xb982[18],controller[_0xb982[19]]);router[_0xb982[5]](_0xb982[20],controller[_0xb982[21]]);router[_0xb982[5]](_0xb982[22],controller[_0xb982[23]]);router[_0xb982[5]](_0xb982[24],controller[_0xb982[25]]);router[_0xb982[5]](_0xb982[26],controller[_0xb982[27]]);router[_0xb982[5]](_0xb982[28],controller[_0xb982[29]]);router[_0xb982[5]](_0xb982[30],controller[_0xb982[31]]);router[_0xb982[5]](_0xb982[32],controller[_0xb982[33]]);router[_0xb982[5]](_0xb982[34],controller[_0xb982[35]]);module[_0xb982[36]]=router \ No newline at end of file +var _0xb2d1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x78\x63\x68\x61\x74\x74\x79\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F\x6A\x71\x75\x65\x72\x79","\x67\x65\x74\x4A\x71\x75\x65\x72\x79\x4C\x69\x62\x72\x61\x72\x79","\x67\x65\x74","\x2F\x61\x73\x73\x65\x74\x73","\x67\x65\x74\x41\x73\x73\x65\x74\x73","\x2F\x73\x75\x62\x6D\x69\x74","\x73\x75\x62\x6D\x69\x74\x45\x6E\x71\x75\x69\x72\x79","\x2F\x72\x61\x74\x69\x6E\x67","\x73\x65\x74\x52\x61\x74\x69\x6E\x67","\x2F\x3A\x69\x64","\x67\x65\x74\x4A\x73\x42\x79\x57\x65\x62\x73\x69\x74\x65","\x2F\x3A\x69\x64\x2F\x61\x62\x61\x6E\x64\x6F\x6E","\x61\x62\x61\x6E\x64\x6F\x6E\x43\x75\x73\x74\x6F\x6D\x65\x72","\x2F\x3A\x69\x64\x2F\x68\x74\x6D\x6C","\x67\x65\x74\x48\x74\x6D\x6C\x42\x79\x57\x65\x62\x73\x69\x74\x65","\x2F\x3A\x69\x64\x2F\x70\x72\x6F\x61\x63\x74\x69\x76\x65","\x67\x65\x74\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E\x73\x42\x79\x57\x65\x62\x73\x69\x74\x65","\x2F\x3A\x69\x64\x2F\x72\x65\x61\x64","\x67\x65\x74\x4D\x65\x73\x73\x61\x67\x65\x73","\x2F\x3A\x69\x64\x2F\x73\x65\x6E\x64","\x73\x65\x6E\x64\x4D\x65\x73\x73\x61\x67\x65","\x2F\x3A\x69\x64\x2F\x73\x69\x67\x6E\x6F\x75\x74","\x73\x69\x67\x6E\x6F\x75\x74\x43\x75\x73\x74\x6F\x6D\x65\x72","\x2F\x3A\x69\x64\x2F\x73\x69\x67\x6E\x75\x70","\x73\x69\x67\x6E\x75\x70\x43\x75\x73\x74\x6F\x6D\x65\x72","\x2F\x3A\x69\x64\x2F\x73\x74\x61\x74\x75\x73","\x67\x65\x74\x53\x74\x61\x74\x75\x73\x42\x79\x57\x65\x62\x73\x69\x74\x65","\x2F\x3A\x69\x64\x2F\x73\x74\x79\x6C\x65\x73","\x67\x65\x74\x53\x74\x79\x6C\x65\x42\x79\x57\x65\x62\x73\x69\x74\x65","\x2F\x3A\x69\x64\x2F\x74\x72\x61\x6E\x73\x63\x72\x69\x70\x74","\x67\x65\x74\x54\x72\x61\x6E\x73\x63\x72\x69\x70\x74","\x2F\x3A\x69\x64\x2F\x75\x6E\x73\x65\x72\x76\x65\x64","\x75\x6E\x73\x65\x72\x76\x65\x64\x43\x75\x73\x74\x6F\x6D\x65\x72","\x65\x78\x70\x6F\x72\x74\x73"];_0xb2d1[0];var express=require(_0xb2d1[1]);var controller=require(_0xb2d1[2]);var router=express.Router();router[_0xb2d1[5]](_0xb2d1[3],controller[_0xb2d1[4]]);router[_0xb2d1[5]](_0xb2d1[6],controller[_0xb2d1[7]]);router[_0xb2d1[5]](_0xb2d1[8],controller[_0xb2d1[9]]);router[_0xb2d1[5]](_0xb2d1[10],controller[_0xb2d1[11]]);router[_0xb2d1[5]](_0xb2d1[12],controller[_0xb2d1[13]]);router[_0xb2d1[5]](_0xb2d1[14],controller[_0xb2d1[15]]);router[_0xb2d1[5]](_0xb2d1[16],controller[_0xb2d1[17]]);router[_0xb2d1[5]](_0xb2d1[18],controller[_0xb2d1[19]]);router[_0xb2d1[5]](_0xb2d1[20],controller[_0xb2d1[21]]);router[_0xb2d1[5]](_0xb2d1[22],controller[_0xb2d1[23]]);router[_0xb2d1[5]](_0xb2d1[24],controller[_0xb2d1[25]]);router[_0xb2d1[5]](_0xb2d1[26],controller[_0xb2d1[27]]);router[_0xb2d1[5]](_0xb2d1[28],controller[_0xb2d1[29]]);router[_0xb2d1[5]](_0xb2d1[30],controller[_0xb2d1[31]]);router[_0xb2d1[5]](_0xb2d1[32],controller[_0xb2d1[33]]);router[_0xb2d1[5]](_0xb2d1[34],controller[_0xb2d1[35]]);module[_0xb2d1[36]]=router \ No newline at end of file diff --git a/server/api/xchatty/xchatty.controller.js b/server/api/xchatty/xchatty.controller.js index 0b5911d..259ab4e 100644 --- a/server/api/xchatty/xchatty.controller.js +++ b/server/api/xchatty/xchatty.controller.js @@ -1 +1 @@ -var _0x8c83=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6A\x73\x6D\x69\x6E","\x6D\x75\x73\x74\x61\x63\x68\x65","\x71\x75\x65\x72\x79\x73\x74\x72\x69\x6E\x67","\x70\x61\x74\x68","\x6D\x64\x35","\x66\x73","\x75\x61\x2D\x70\x61\x72\x73\x65\x72\x2D\x6A\x73","\x61\x63\x63\x65\x70\x74\x2D\x6C\x61\x6E\x67\x75\x61\x67\x65\x2D\x70\x61\x72\x73\x65\x72","\x69\x70\x61\x64\x64\x72\x2E\x6A\x73","\x67\x65\x6F\x69\x70\x2D\x6C\x69\x74\x65","\x74\x6F\x2D\x63\x73\x76","\x75\x74\x69\x6C","\x6D\x6F\x6D\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x58\x63\x68\x61\x74\x74\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6D\x70\x6F\x6E\x65\x6E\x74\x73\x2F\x78\x63\x68\x61\x74\x74\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x55\x73\x65\x72","\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x43\x68\x61\x74\x45\x6E\x71\x75\x69\x72\x79","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x43\x68\x61\x74\x4D\x65\x73\x73\x61\x67\x65","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x73\x46\x69\x65\x6C\x64","\x43\x68\x61\x74\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x53\x65\x73\x73\x69\x6F\x6E","\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x43\x6F\x6E\x74\x61\x63\x74","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x67\x65\x74\x4A\x73\x42\x79\x57\x65\x62\x73\x69\x74\x65","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2F\x6A\x61\x76\x61\x73\x63\x72\x69\x70\x74","\x6E\x6F\x77","\x73\x65\x74","\x6A\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x72\x65\x6D\x6F\x74\x65","\x73\x74\x72\x69\x70\x54\x72\x61\x69\x6C\x69\x6E\x67\x53\x6C\x61\x73\x68","\x2F\x61\x70\x69\x2F\x78\x63\x68\x61\x74\x74\x79\x2F","\x66\x61\x6C\x73\x65","\x74\x72\x75\x65","\x22\x22","\x6E\x75\x6C\x6C","\x2F\x61\x70\x69\x2F\x78\x63\x68\x61\x74\x74\x79\x2F\x61\x73\x73\x65\x74\x73","\x61\x6E\x69\x6D\x61\x74\x69\x6F\x6E","\x68\x65\x61\x64\x65\x72\x5F\x73\x68\x61\x70\x65","\x68\x65\x61\x64\x65\x72\x5F\x6F\x6E\x6C\x69\x6E\x65","\x6F\x6E\x6C\x69\x6E\x65\x5F\x6D\x65\x73\x73\x61\x67\x65","\x75\x73\x65\x72\x6E\x61\x6D\x65\x5F\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72","\x65\x6D\x61\x69\x6C\x5F\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72","\x73\x74\x61\x72\x74\x5F\x63\x68\x61\x74\x5F\x62\x75\x74\x74\x6F\x6E","\x6F\x66\x66\x6C\x69\x6E\x65\x5F\x6D\x65\x73\x73\x61\x67\x65","\x68\x65\x61\x64\x65\x72\x5F\x6F\x66\x66\x6C\x69\x6E\x65","\x65\x6E\x71\x75\x69\x72\x79\x5F\x6D\x65\x73\x73\x61\x67\x65\x5F\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72","\x65\x6E\x71\x75\x69\x72\x79\x5F\x62\x75\x74\x74\x6F\x6E","\x64\x6F\x77\x6E\x6C\x6F\x61\x64\x5F\x74\x72\x61\x6E\x73\x63\x72\x69\x70\x74","\x72\x61\x74\x69\x6E\x67\x5F\x6D\x65\x73\x73\x61\x67\x65","\x72\x61\x74\x69\x6E\x67\x5F\x73\x65\x6E\x64","\x72\x61\x74\x69\x6E\x67\x5F\x73\x6B\x69\x70","\x61\x67\x65\x6E\x74\x73\x5F\x62\x75\x73\x79","\x6E\x61\x6D\x65\x5F\x74\x69\x74\x6C\x65","\x65\x6D\x61\x69\x6C\x5F\x74\x69\x74\x6C\x65","\x6D\x65\x73\x73\x61\x67\x65\x5F\x74\x69\x74\x6C\x65","\x72\x65\x6E\x64\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x67\x65\x74\x53\x74\x79\x6C\x65\x42\x79\x57\x65\x62\x73\x69\x74\x65","\x74\x65\x78\x74\x2F\x63\x73\x73","\x63\x73\x73","\x63\x6F\x6C\x6F\x72","\x63\x6F\x6C\x6F\x72\x5F\x66\x6F\x63\x75\x73","\x63\x6F\x6C\x6F\x72\x5F\x62\x75\x74\x74\x6F\x6E","\x67\x65\x74\x41\x73\x73\x65\x74\x73","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72","\x63\x6F\x6D\x70\x6F\x6E\x65\x6E\x74\x73","\x78\x63\x68\x61\x74\x74\x79","\x61\x73\x73\x65\x74\x73","\x72\x65\x73\x6F\x75\x72\x63\x65","\x71\x75\x65\x72\x79","\x6A\x6F\x69\x6E","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x67\x65\x74\x4A\x71\x75\x65\x72\x79\x4C\x69\x62\x72\x61\x72\x79","\x6A\x71\x75\x65\x72\x79","\x67\x65\x74\x53\x74\x61\x74\x75\x73","\x73\x65\x73\x73\x69\x6F\x6E","\x69\x73\x5F\x75\x6E\x73\x65\x72\x76\x65\x64","\x63\x61\x6C\x6C\x62\x61\x63\x6B","\x28","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x29","\x76\x69\x73\x69\x74\x6F\x72\x5F\x69\x64","\x75\x6E\x73\x65\x72\x76\x65\x64","\x66\x69\x6E\x64\x4F\x6E\x65","\x72\x6F\x6F\x6D\x5F\x69\x64","\x73\x69\x67\x6E\x65\x64\x5F\x75\x70","\x4F\x50\x45\x4E","","\x6F\x70\x65\x6E\x5F\x73\x74\x61\x74\x65","\x64\x61\x74\x61","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x61\x76\x61\x74\x61\x72","\x6C\x65\x6E\x67\x74\x68","\x61\x67\x65\x6E\x74","\x67\x65\x74\x4D\x65\x73\x73\x61\x67\x65\x73","\x6E\x61\x6D\x65","\x69\x73\x5F\x6E\x65\x77\x5F\x70\x61\x67\x65","\x77\x68\x65\x72\x65","\x6C\x61\x73\x74\x5F\x69\x64","\x73\x65\x6E\x64\x4D\x65\x73\x73\x61\x67\x65","\x6D\x65\x73\x73\x61\x67\x65","\x4D\x65\x73\x73\x61\x67\x65","\x63\x72\x65\x61\x74\x65","\x73\x69\x67\x6E\x6F\x75\x74\x43\x75\x73\x74\x6F\x6D\x65\x72","\x43\x4C\x4F\x53\x45\x44","\x72\x65\x71\x75\x65\x73\x74\x65\x72","\x75\x70\x64\x61\x74\x65","\x73\x69\x67\x6E\x75\x70\x43\x75\x73\x74\x6F\x6D\x65\x72","\x67\x65\x74\x52\x65\x73\x75\x6C\x74","\x75\x73\x65\x72\x2D\x61\x67\x65\x6E\x74","\x68\x65\x61\x64\x65\x72\x73","\x73\x65\x74\x55\x41","\x61\x63\x63\x65\x70\x74\x2D\x6C\x61\x6E\x67\x75\x61\x67\x65","\x70\x61\x72\x73\x65","\x78\x2D\x66\x6F\x72\x77\x61\x72\x64\x65\x64\x2D\x66\x6F\x72","\x72\x65\x6D\x6F\x74\x65\x41\x64\x64\x72\x65\x73\x73","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E","\x69\x70","\x44\x69\x73\x63\x75\x73\x73\x69\x6F\x6E","\x72\x65\x66\x65\x72\x65\x72","\x77\x65\x62\x63\x68\x61\x74","\x62\x72\x6F\x77\x73\x65\x72","\x20","\x76\x65\x72\x73\x69\x6F\x6E","\x65\x6E\x67\x69\x6E\x65","\x6F\x73","\x6D\x6F\x64\x65\x6C","\x64\x65\x76\x69\x63\x65","\x76\x65\x6E\x64\x6F\x72","\x74\x79\x70\x65","\x63\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x49\x64","\x64\x61\x74\x61\x31","\x6C\x61\x62\x65\x6C\x44\x61\x74\x61\x31","\x64\x61\x74\x61\x32","\x6C\x61\x62\x65\x6C\x44\x61\x74\x61\x32","\x64\x61\x74\x61\x33","\x6C\x61\x62\x65\x6C\x44\x61\x74\x61\x33","\x62\x61\x73\x65\x36\x34","\x4C\x69\x73\x74\x49\x64","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x75\x6E\x73\x65\x72\x76\x65\x64\x43\x75\x73\x74\x6F\x6D\x65\x72","\x73\x75\x62\x6D\x69\x74\x45\x6E\x71\x75\x69\x72\x79","\x45\x6E\x71\x75\x69\x72\x79","\x65\x6E\x71\x75\x69\x72\x79","\x77\x65\x62\x73\x69\x74\x65\x49\x64","\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x31","\x6C\x61\x62\x65\x6C\x4F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x31","\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x32","\x6C\x61\x62\x65\x6C\x4F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x32","\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x33","\x6C\x61\x62\x65\x6C\x4F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x33","\x72\x6F\x6C\x6C\x62\x61\x63\x6B","\x63\x6F\x6D\x6D\x69\x74","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x67\x65\x74\x54\x72\x61\x6E\x73\x63\x72\x69\x70\x74","\x55\x73\x65\x72\x49\x64","\x72\x65\x70\x6C\x61\x63\x65","\x62\x6F\x64\x79","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x74\x65\x78\x74\x2F\x63\x73\x76","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x67\x65\x74\x48\x74\x6D\x6C\x42\x79\x57\x65\x62\x73\x69\x74\x65","\x74\x65\x6D\x70\x6C\x61\x74\x65","\x65\x6E\x71\x75\x69\x72\x79\x5F\x65\x6E\x61\x62\x6C\x65","\x4F\x6E\x6C\x69\x6E\x65","\x3C\x64\x69\x76\x20\x63\x6C\x61\x73\x73\x3D\x22\x78\x63\x5F\x64\x69\x76\x5F\x67\x72\x6F\x75\x70\x22\x3E","\x3C\x6C\x61\x62\x65\x6C\x20\x63\x6C\x61\x73\x73\x3D\x22\x78\x63\x5F\x6C\x61\x62\x65\x6C\x22\x20\x66\x6F\x72\x3D\x22\x25\x64\x22\x3E\x25\x73\x20\x25\x73\x3C\x2F\x6C\x61\x62\x65\x6C\x3E","\x6C\x61\x62\x65\x6C","\x72\x65\x71\x75\x69\x72\x65\x64","\x2A","\x66\x6F\x72\x6D\x61\x74","\x3C\x69\x6E\x70\x75\x74\x20\x64\x61\x74\x61\x2D\x6C\x61\x62\x65\x6C\x3D\x22\x25\x73\x22\x20\x74\x79\x70\x65\x3D\x22\x74\x65\x78\x74\x22\x20\x69\x64\x3D\x22\x25\x64\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x44\x69\x73\x63\x75\x73\x73\x69\x6F\x6E\x5D\x5B\x64\x61\x74\x61\x25\x64\x5D\x22\x20\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72\x3D\x22\x25\x73\x22\x20\x25\x73\x2F\x3E","\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72","\x3C\x2F\x64\x69\x76\x3E","\x74\x65\x78\x74\x49\x6E\x70\x75\x74","\x3C\x74\x65\x78\x74\x61\x72\x65\x61\x20\x69\x64\x3D\x22\x25\x64\x22\x20\x64\x61\x74\x61\x2D\x6C\x61\x62\x65\x6C\x3D\x22\x25\x73\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x44\x69\x73\x63\x75\x73\x73\x69\x6F\x6E\x5D\x5B\x64\x61\x74\x61\x25\x64\x5D\x22\x20\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72\x3D\x22\x25\x73\x22\x20\x25\x73\x3E\x3C\x2F\x74\x65\x78\x74\x61\x72\x65\x61\x3E","\x74\x65\x78\x74\x41\x72\x65\x61","\x3C\x6C\x61\x62\x65\x6C\x20\x63\x6C\x61\x73\x73\x3D\x22\x78\x63\x5F\x6C\x61\x62\x65\x6C\x22\x3E\x25\x73\x3C\x2F\x6C\x61\x62\x65\x6C\x3E","\x6F\x70\x74\x69\x6F\x6E\x73","\x3C\x6C\x61\x62\x65\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x64\x69\x73\x70\x6C\x61\x79\x3A\x62\x6C\x6F\x63\x6B\x3B\x22\x3E","\x3C\x69\x6E\x70\x75\x74\x20\x74\x79\x70\x65\x3D\x22\x63\x68\x65\x63\x6B\x62\x6F\x78\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x44\x69\x73\x63\x75\x73\x73\x69\x6F\x6E\x5D\x5B\x64\x61\x74\x61\x25\x64\x5D\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x25\x73\x22\x3E\x20\x25\x73\x3C\x62\x72\x3E","\x3C\x2F\x6C\x61\x62\x65\x6C\x3E","\x63\x68\x65\x63\x6B\x62\x6F\x78","\x3C\x69\x6E\x70\x75\x74\x20\x74\x79\x70\x65\x3D\x22\x72\x61\x64\x69\x6F\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x44\x69\x73\x63\x75\x73\x73\x69\x6F\x6E\x5D\x5B\x64\x61\x74\x61\x25\x64\x5D\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x25\x73\x22\x3E\x20\x25\x73\x3C\x62\x72\x3E","\x72\x61\x64\x69\x6F","\x3C\x6C\x61\x62\x65\x6C\x20\x63\x6C\x61\x73\x73\x3D\x22\x78\x63\x5F\x6C\x61\x62\x65\x6C\x22\x20\x66\x6F\x72\x3D\x22\x25\x64\x22\x3E\x25\x73\x3C\x2F\x6C\x61\x62\x65\x6C\x3E","\x3C\x73\x65\x6C\x65\x63\x74\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x44\x69\x73\x63\x75\x73\x73\x69\x6F\x6E\x5D\x5B\x64\x61\x74\x61\x25\x64\x5D\x22\x3E","\x3C\x6F\x70\x74\x69\x6F\x6E\x20\x76\x61\x6C\x75\x65\x3D\x22\x25\x73\x22\x3E\x25\x73\x3C\x2F\x6F\x70\x74\x69\x6F\x6E\x3E","\x3C\x2F\x73\x65\x6C\x65\x63\x74\x3E\x3C\x2F\x64\x69\x76\x3E","\x73\x65\x6C\x65\x63\x74","\x63\x6F\x6D\x70\x6F\x6E\x65\x6E\x74","\x3C\x62\x72\x3E","\x3C\x69\x6E\x70\x75\x74\x20\x74\x79\x70\x65\x3D\x22\x68\x69\x64\x64\x65\x6E\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x44\x69\x73\x63\x75\x73\x73\x69\x6F\x6E\x5D\x5B\x6C\x61\x62\x65\x6C\x44\x61\x74\x61\x25\x64\x5D\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x25\x73\x22\x3E","\x4F\x66\x66\x6C\x69\x6E\x65","\x3C\x6C\x61\x62\x65\x6C\x20\x63\x6C\x61\x73\x73\x3D\x22\x78\x63\x5F\x6C\x61\x62\x65\x6C\x22\x20\x66\x6F\x72\x3D\x22\x6F\x66\x66\x6C\x69\x6E\x65\x25\x64\x22\x3E\x25\x73\x20\x25\x73\x3C\x2F\x6C\x61\x62\x65\x6C\x3E","\x3C\x69\x6E\x70\x75\x74\x20\x64\x61\x74\x61\x2D\x6C\x61\x62\x65\x6C\x3D\x22\x25\x73\x22\x20\x74\x79\x70\x65\x3D\x22\x74\x65\x78\x74\x22\x20\x69\x64\x3D\x22\x6F\x66\x66\x6C\x69\x6E\x65\x25\x64\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x45\x6E\x71\x75\x69\x72\x79\x5D\x5B\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x25\x64\x5D\x22\x20\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72\x3D\x22\x25\x73\x22\x20\x25\x73\x2F\x3E","\x3C\x74\x65\x78\x74\x61\x72\x65\x61\x20\x69\x64\x3D\x22\x6F\x66\x66\x6C\x69\x6E\x65\x25\x64\x22\x20\x64\x61\x74\x61\x2D\x6C\x61\x62\x65\x6C\x3D\x22\x25\x73\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x45\x6E\x71\x75\x69\x72\x79\x5D\x5B\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x25\x64\x5D\x22\x20\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72\x3D\x22\x25\x73\x22\x20\x25\x73\x3E\x3C\x2F\x74\x65\x78\x74\x61\x72\x65\x61\x3E","\x3C\x69\x6E\x70\x75\x74\x20\x74\x79\x70\x65\x3D\x22\x63\x68\x65\x63\x6B\x62\x6F\x78\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x45\x6E\x71\x75\x69\x72\x79\x5D\x5B\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x25\x64\x5D\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x25\x73\x22\x3E\x20\x25\x73\x3C\x62\x72\x3E","\x3C\x69\x6E\x70\x75\x74\x20\x74\x79\x70\x65\x3D\x22\x72\x61\x64\x69\x6F\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x45\x6E\x71\x75\x69\x72\x79\x5D\x5B\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x25\x64\x5D\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x25\x73\x22\x3E\x20\x25\x73\x3C\x62\x72\x3E","\x3C\x73\x65\x6C\x65\x63\x74\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x45\x6E\x71\x75\x69\x72\x79\x5D\x5B\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x25\x64\x5D\x22\x3E","\x3C\x69\x6E\x70\x75\x74\x20\x74\x79\x70\x65\x3D\x22\x68\x69\x64\x64\x65\x6E\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x45\x6E\x71\x75\x69\x72\x79\x5D\x5B\x6C\x61\x62\x65\x6C\x4F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x25\x64\x5D\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x25\x73\x22\x3E","\x6A\x73\x6F\x6E\x70","\x67\x65\x74\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E\x73\x42\x79\x57\x65\x62\x73\x69\x74\x65","\x73\x65\x74\x52\x61\x74\x69\x6E\x67","\x72\x61\x74\x69\x6E\x67","\x68\x61\x73\x4F\x77\x6E\x50\x72\x6F\x70\x65\x72\x74\x79","\x52\x61\x74\x69\x6E\x67","\x61\x62\x61\x6E\x64\x6F\x6E\x43\x75\x73\x74\x6F\x6D\x65\x72","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\x66\x69\x6E\x64","\x67\x65\x74\x53\x74\x61\x74\x75\x73\x42\x79\x57\x65\x62\x73\x69\x74\x65","\x65\x72\x72","\x6C\x6F\x67","\x63\x6F\x75\x6E\x74","\x61\x70\x70","\x71\x75\x65\x75\x65","\x55\x73\x65\x72\x73","\x6D\x61\x70","\x75\x6E\x69\x71","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x67\x65\x74\x43\x68\x61\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73"];_0x8c83[0];var _=require(_0x8c83[1]);var jsmin=require(_0x8c83[2])[_0x8c83[2]];var Mustache=require(_0x8c83[3]);var querystring=require(_0x8c83[4]);var path=require(_0x8c83[5]);var md5=require(_0x8c83[6]);var fs=require(_0x8c83[7]);var UAParser=require(_0x8c83[8]);var uaParser= new UAParser();var languageParser=require(_0x8c83[9]);var ipaddr=require(_0x8c83[10]);var geoip=require(_0x8c83[11]);var csv=require(_0x8c83[12]);var util=require(_0x8c83[13]);var moment=require(_0x8c83[14]);var config=require(_0x8c83[15]);var Xchatty=require(_0x8c83[17])[_0x8c83[16]];var xchatty_components=require(_0x8c83[18]);var Util=require(_0x8c83[19]);var sequelize=require(_0x8c83[17])[_0x8c83[20]];var User=require(_0x8c83[17])[_0x8c83[21]];var Agent=require(_0x8c83[17])[_0x8c83[21]];var ChatRoom=require(_0x8c83[17])[_0x8c83[22]];var ChatEnquiry=require(_0x8c83[17])[_0x8c83[23]];var ChatVisitor=require(_0x8c83[17])[_0x8c83[24]];var ChatMessage=require(_0x8c83[17])[_0x8c83[25]];var ChatWebsite=require(_0x8c83[17])[_0x8c83[26]];var ChatWebsitesField=require(_0x8c83[17])[_0x8c83[27]];var ChatProactiveAction=require(_0x8c83[17])[_0x8c83[28]];var ReportChatSession=require(_0x8c83[17])[_0x8c83[29]];var ChatQueue=require(_0x8c83[17])[_0x8c83[30]];const Contact=require(_0x8c83[17])[_0x8c83[31]];var id=1;exports[_0x8c83[32]]=function(_0x45acx22,_0x45acx23,_0x45acx24){return Xchatty[_0x8c83[37]]()[_0x8c83[36]](function(_0x45acx26){return _0x45acx23[_0x8c83[35]](200)[_0x8c83[34]](_0x45acx26)})[_0x8c83[33]](function(_0x45acx25){return _0x45acx24(_0x45acx25)})};exports[_0x8c83[38]]=function(_0x45acx22,_0x45acx23,_0x45acx24){ChatWebsite[_0x8c83[73]](_0x45acx22[_0x8c83[44]][_0x8c83[43]])[_0x8c83[36]](function(_0x45acx27){_0x45acx23[_0x8c83[41]]({"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65":_0x8c83[39],"\x78\x2D\x74\x69\x6D\x65\x73\x74\x61\x6D\x70":Date[_0x8c83[40]](),"\x78\x2D\x73\x65\x6E\x74":true});var _0x45acx28=xchatty_components[_0x8c83[42]];var _0x45acx29={websiteId:_0x45acx22[_0x8c83[44]][_0x8c83[43]],rootPath:Util[_0x8c83[46]](_0x45acx27[_0x8c83[45]])+_0x8c83[47],signedUp:_0x8c83[48],windowFocused:_0x8c83[48],isNewPage:_0x8c83[49],processingSignUp:_0x8c83[48],processingEnquiry:_0x8c83[48],processingSend:_0x8c83[48],processingRating:_0x8c83[48],visitorFullname:_0x8c83[50],visitorAvatar:_0x8c83[50],timerReadMessages:_0x8c83[51],timerCheckStatus:_0x8c83[51],isOnline:_0x8c83[48],decayHistory:0,defaultTimeout:5000,isInitialStatusCheck:_0x8c83[49],muteNotificationSoundOnce:_0x8c83[48],assetBase:Util[_0x8c83[46]](_0x45acx27[_0x8c83[45]])+_0x8c83[52],hasSessionSaf:_0x8c83[48],restoreOpenState:_0x8c83[48],animateHover:_0x45acx27[_0x8c83[53]],hideEmail:_0x8c83[48],hideOffline:_0x8c83[48],headerShape:_0x45acx27[_0x8c83[54]],HeaderOnline:_0x45acx27[_0x8c83[55]],OnlineMessage:_0x45acx27[_0x8c83[56]],UsernamePlaceholder:_0x45acx27[_0x8c83[57]],EmailPlaceholder:_0x45acx27[_0x8c83[58]],StartChatButtonText:_0x45acx27[_0x8c83[59]],OfflineMessage:_0x45acx27[_0x8c83[60]],HeaderOffline:_0x45acx27[_0x8c83[61]],EnquiryMessagePlaceholder:_0x45acx27[_0x8c83[62]],EnquiryButtonText:_0x45acx27[_0x8c83[63]],downloadTranscript:_0x45acx27[_0x8c83[64]],RatingMessage:_0x45acx27[_0x8c83[65]],RatingSend:_0x45acx27[_0x8c83[66]],RatingSkip:_0x45acx27[_0x8c83[67]],MessageAgentsBusy:_0x45acx27[_0x8c83[68]],NameTitle:_0x45acx27[_0x8c83[69]],EmailTitle:_0x45acx27[_0x8c83[70]],MessageTitle:_0x45acx27[_0x8c83[71]]};_0x45acx28=Mustache[_0x8c83[72]](_0x45acx28,_0x45acx29);_0x45acx23[_0x8c83[34]](_0x45acx28)})[_0x8c83[33]](function(_0x45acx25){_0x45acx24(_0x45acx25)})};exports[_0x8c83[74]]=function(_0x45acx22,_0x45acx23,_0x45acx24){ChatWebsite[_0x8c83[73]](_0x45acx22[_0x8c83[44]][_0x8c83[43]])[_0x8c83[36]](function(_0x45acx27){_0x45acx23[_0x8c83[41]]({"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65":_0x8c83[75],"\x78\x2D\x74\x69\x6D\x65\x73\x74\x61\x6D\x70":Date[_0x8c83[40]](),"\x78\x2D\x73\x65\x6E\x74":true});var _0x45acx2a=xchatty_components[_0x8c83[76]];var _0x45acx2b={assetBase:Util[_0x8c83[46]](_0x45acx27[_0x8c83[45]])+_0x8c83[52],color:_0x45acx27[_0x8c83[77]],colorFocus:_0x45acx27[_0x8c83[78]],colorButton:_0x45acx27[_0x8c83[79]]};_0x45acx2a=Mustache[_0x8c83[72]](_0x45acx2a,_0x45acx2b);_0x45acx23[_0x8c83[34]](_0x45acx2a)})[_0x8c83[33]](function(_0x45acx25){_0x45acx24(_0x45acx25)})};exports[_0x8c83[80]]=function(_0x45acx22,_0x45acx23,_0x45acx24){_0x45acx23[_0x8c83[89]](path[_0x8c83[88]](config[_0x8c83[81]],_0x8c83[82],_0x8c83[83],_0x8c83[84],_0x8c83[85],_0x45acx22[_0x8c83[87]][_0x8c83[86]]))};exports[_0x8c83[90]]=function(_0x45acx22,_0x45acx23,_0x45acx24){_0x45acx23[_0x8c83[41]]({"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65":_0x8c83[39],"\x78\x2D\x74\x69\x6D\x65\x73\x74\x61\x6D\x70":Date[_0x8c83[40]](),"\x78\x2D\x73\x65\x6E\x74":true});var _0x45acx2c=xchatty_components[_0x8c83[91]];_0x45acx23[_0x8c83[34]](_0x45acx2c)};exports[_0x8c83[92]]=function(_0x45acx22,_0x45acx23,_0x45acx24){if(!_0x45acx22[_0x8c83[93]][_0x8c83[84]]){_0x45acx22[_0x8c83[93]][_0x8c83[84]]={}};var _0x45acx2d={};return Agent[_0x8c83[37]]({where:{online:true,role:_0x8c83[112]}})[_0x8c83[36]](function(_0x45acx30){if(_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[106]]){_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x8c83[106]]=_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[106]]===_0x8c83[49]?true:false};_0x45acx2d={success:true,has_session_saf:null,signed_up:_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x8c83[102]]?true:false,fullname:_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x8c83[108]]?_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x8c83[108]]:_0x8c83[105],email:_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x8c83[109]]?_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x8c83[109]]:_0x8c83[105],avatar:_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x8c83[110]]?_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x8c83[110]]:_0x8c83[105],open_state:_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x8c83[106]]||_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x8c83[102]]?true:false,online:_0x45acx30[_0x8c83[111]]?true:false,is_unserved:false,room_id:0};return})[_0x8c83[36]](function(){if(_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x8c83[99]]){return ChatRoom[_0x8c83[101]]({where:{ChatVisitorId:_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x8c83[99]],status:_0x8c83[104],token:{$ne:_0x8c83[105]}}})};return})[_0x8c83[36]](function(_0x45acx2f){if(_0x45acx2f){_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x8c83[102]]=_0x45acx2f[_0x8c83[43]];_0x45acx2d[_0x8c83[102]]=_0x45acx2f[_0x8c83[43]];_0x45acx2d[_0x8c83[103]]=true}else {_0x45acx2d[_0x8c83[103]]=false};return})[_0x8c83[36]](function(){if(_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x8c83[99]]){return ChatVisitor[_0x8c83[101]]({where:{id:_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x8c83[99]],status:_0x8c83[100]}})};return})[_0x8c83[36]](function(_0x45acx2e){if(_0x45acx2e){_0x45acx2d[_0x8c83[94]]=true};return _0x45acx23[_0x8c83[34]](_0x45acx22[_0x8c83[87]][_0x8c83[95]]+_0x8c83[96]+JSON[_0x8c83[97]](_0x45acx2d)+_0x8c83[98])})[_0x8c83[33]](function(_0x45acx25){return _0x45acx24(_0x45acx25)})};exports[_0x8c83[113]]=function(_0x45acx22,_0x45acx23,_0x45acx24){var _0x45acx31=_0x45acx22[_0x8c83[44]][_0x8c83[43]];var _0x45acx32={where:{ChatRoomId:_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x45acx31][_0x8c83[102]]},include:[{model:User,attributes:[_0x8c83[43],_0x8c83[114],_0x8c83[108],_0x8c83[109]]},{model:ChatVisitor,attributes:[_0x8c83[43],_0x8c83[108],_0x8c83[109]]}]};if(_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[115]]===_0x8c83[48]){_0x45acx32[_0x8c83[116]][_0x8c83[43]]={$gt:_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[117]]}};ChatMessage[_0x8c83[37]](_0x45acx32)[_0x8c83[36]](function(_0x45acx33){var _0x45acx34={success:true,messages:_0x45acx33,composing:false,composing_fullname:null};_0x45acx23[_0x8c83[34]](_0x45acx22[_0x8c83[87]][_0x8c83[95]]+_0x8c83[96]+JSON[_0x8c83[97]](_0x45acx34)+_0x8c83[98])})[_0x8c83[33]](function(_0x45acx25){_0x45acx24(_0x45acx25)})};exports[_0x8c83[118]]=function(_0x45acx22,_0x45acx23,_0x45acx24){var _0x45acx31=_0x45acx22[_0x8c83[44]][_0x8c83[43]];var _0x45acx32={where:{ChatRoomId:_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x45acx31][_0x8c83[102]]},include:[{model:User,attributes:[_0x8c83[43],_0x8c83[114],_0x8c83[108],_0x8c83[109]]},{model:ChatVisitor,attributes:[_0x8c83[43],_0x8c83[108],_0x8c83[109]]}]};if(_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[115]]===_0x8c83[48]){_0x45acx32[_0x8c83[116]][_0x8c83[43]]={$gt:_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[117]]}};ChatMessage[_0x8c83[121]]({body:_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[120]][_0x8c83[119]],ChatRoomId:_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x45acx31][_0x8c83[102]],ChatVisitorId:_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x45acx31][_0x8c83[99]]})[_0x8c83[36]](function(_0x45acx35){ChatMessage[_0x8c83[37]](_0x45acx32)[_0x8c83[36]](function(_0x45acx33){var _0x45acx34={errors:[],success:true,data:_0x45acx35,messages:_0x45acx33};_0x45acx23[_0x8c83[34]](_0x45acx22[_0x8c83[87]][_0x8c83[95]]+_0x8c83[96]+JSON[_0x8c83[97]](_0x45acx34)+_0x8c83[98])})[_0x8c83[33]](function(_0x45acx25){_0x45acx24(_0x45acx25)})})[_0x8c83[33]](function(_0x45acx25){_0x45acx24(_0x45acx25)})};exports[_0x8c83[122]]=function(_0x45acx22,_0x45acx23,_0x45acx24){var _0x45acx31=_0x45acx22[_0x8c83[44]][_0x8c83[43]];return ChatRoom[_0x8c83[73]](_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x45acx31][_0x8c83[102]])[_0x8c83[36]](function(_0x45acx2f){return _0x45acx2f[_0x8c83[125]]({status:_0x8c83[123],completeReason:_0x8c83[124]})})[_0x8c83[36]](function(){var _0x45acx34={success:true,errors:[]};_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x45acx31]={};_0x45acx23[_0x8c83[34]](_0x45acx22[_0x8c83[87]][_0x8c83[95]]+_0x8c83[96]+JSON[_0x8c83[97]](_0x45acx34)+_0x8c83[98])})[_0x8c83[33]](function(_0x45acx25){_0x45acx24(_0x45acx25)})};exports[_0x8c83[126]]=function(_0x45acx22,_0x45acx23,_0x45acx24){var _0x45acx31=_0x45acx22[_0x8c83[44]][_0x8c83[43]];var _0x45acx36=uaParser[_0x8c83[130]](_0x45acx22[_0x8c83[129]][_0x8c83[128]])[_0x8c83[127]]();var _0x45acx37=languageParser[_0x8c83[132]](_0x45acx22[_0x8c83[129]][_0x8c83[131]]);var _0x45acx38=_0x45acx22[_0x8c83[129]][_0x8c83[133]]?_0x45acx22[_0x8c83[129]][_0x8c83[133]]:_0x45acx22[_0x8c83[135]][_0x8c83[134]]||_0x45acx22[_0x8c83[136]];var _0x45acx39={fullname:_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[137]][_0x8c83[108]],email:_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[137]][_0x8c83[109]],remote_address:_0x45acx38,user_agent:_0x45acx22[_0x8c83[129]][_0x8c83[128]],visitor_language:_0x45acx22[_0x8c83[129]][_0x8c83[131]],referer:_0x45acx22[_0x8c83[129]][_0x8c83[138]],origin:_0x8c83[139],browser:_0x45acx36[_0x8c83[140]][_0x8c83[114]]+_0x8c83[141]+_0x45acx36[_0x8c83[140]][_0x8c83[142]],engine:_0x45acx36[_0x8c83[143]][_0x8c83[114]]+_0x8c83[141]+_0x45acx36[_0x8c83[143]][_0x8c83[142]],os:_0x45acx36[_0x8c83[144]][_0x8c83[114]]+_0x8c83[141]+_0x45acx36[_0x8c83[144]][_0x8c83[142]],device:_0x45acx36[_0x8c83[146]][_0x8c83[145]]?_0x45acx36[_0x8c83[146]][_0x8c83[145]]+_0x8c83[141]+_0x45acx36[_0x8c83[146]][_0x8c83[147]]+_0x8c83[141]+_0x45acx36[_0x8c83[146]][_0x8c83[148]]:null,ChatWebsiteId:_0x45acx22[_0x8c83[87]][_0x8c83[149]]};if(_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[137]][_0x8c83[150]]&&_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[137]][_0x8c83[151]]){_0x45acx39[_0x8c83[150]]=_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[137]][_0x8c83[150]];_0x45acx39[_0x8c83[151]]=_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[137]][_0x8c83[151]]};if(_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[137]][_0x8c83[152]]&&_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[137]][_0x8c83[153]]){_0x45acx39[_0x8c83[152]]=_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[137]][_0x8c83[152]];_0x45acx39[_0x8c83[153]]=_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[137]][_0x8c83[153]]};if(_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[137]][_0x8c83[154]]&&_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[137]][_0x8c83[155]]){_0x45acx39[_0x8c83[154]]=_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[137]][_0x8c83[154]];_0x45acx39[_0x8c83[155]]=_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[137]][_0x8c83[155]]};var _0x45acx3a;return ChatVisitor[_0x8c83[121]](_0x45acx39)[_0x8c83[36]](function(_0x45acx3c){_0x45acx3a=_0x45acx3c;return ChatWebsite[_0x8c83[73]](_0x45acx3a.ChatWebsiteId)})[_0x8c83[36]](function(_0x45acx3b){if(_0x45acx3b[_0x8c83[157]]){return Contact[_0x8c83[158]]({where:{email:_0x45acx3a[_0x8c83[109]]},defaults:{email:_0x45acx3a[_0x8c83[109]],firstName:_0x45acx3a[_0x8c83[108]],ListId:_0x45acx3b[_0x8c83[157]]}})}})[_0x8c83[36]](function(){_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x45acx31][_0x8c83[108]]=_0x45acx3a[_0x8c83[108]];_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x45acx31][_0x8c83[109]]=_0x45acx3a[_0x8c83[109]];_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x45acx31][_0x8c83[110]]=md5(_0x45acx3a[_0x8c83[109]]).toString(_0x8c83[156]);_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x45acx31][_0x8c83[99]]=_0x45acx3a[_0x8c83[43]];var _0x45acx34={success:true,errors:[],chatVisitor:{id:_0x45acx3a[_0x8c83[43]]}};_0x45acx23[_0x8c83[34]](_0x45acx22[_0x8c83[87]][_0x8c83[95]]+_0x8c83[96]+JSON[_0x8c83[97]](_0x45acx34)+_0x8c83[98])})[_0x8c83[33]](function(_0x45acx25){_0x45acx24(_0x45acx25)})};exports[_0x8c83[159]]=function(_0x45acx22,_0x45acx23,_0x45acx24){var _0x45acx31=_0x45acx22[_0x8c83[44]][_0x8c83[43]];return ChatVisitor[_0x8c83[73]](_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x45acx31][_0x8c83[99]])[_0x8c83[36]](function(_0x45acx3c){return _0x45acx3c[_0x8c83[125]]({status:_0x8c83[100]})})[_0x8c83[36]](function(){var _0x45acx34={success:true,errors:[]};_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x45acx31]={};_0x45acx23[_0x8c83[34]](_0x45acx22[_0x8c83[87]][_0x8c83[95]]+_0x8c83[96]+JSON[_0x8c83[97]](_0x45acx34)+_0x8c83[98])})[_0x8c83[33]](function(_0x45acx25){_0x45acx24(_0x45acx25)})};exports[_0x8c83[160]]=function(_0x45acx22,_0x45acx23,_0x45acx24){return sequelize[_0x8c83[172]]()[_0x8c83[36]](function(_0x45acx3d){var _0x45acx38=_0x45acx22[_0x8c83[129]][_0x8c83[133]]?_0x45acx22[_0x8c83[129]][_0x8c83[133]]:_0x45acx22[_0x8c83[135]][_0x8c83[134]]||_0x45acx22[_0x8c83[136]];var _0x45acx36=uaParser[_0x8c83[130]](_0x45acx22[_0x8c83[129]][_0x8c83[128]])[_0x8c83[127]]();var _0x45acx37=languageParser[_0x8c83[132]](_0x45acx22[_0x8c83[129]][_0x8c83[131]]);var _0x45acx39={fullname:_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[161]][_0x8c83[108]],email:_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[161]][_0x8c83[109]],remote_address:_0x45acx38,user_agent:_0x45acx22[_0x8c83[129]][_0x8c83[128]],visitor_language:_0x45acx22[_0x8c83[129]][_0x8c83[131]],browser:_0x45acx36[_0x8c83[140]][_0x8c83[114]]+_0x8c83[141]+_0x45acx36[_0x8c83[140]][_0x8c83[142]],engine:_0x45acx36[_0x8c83[143]][_0x8c83[114]]+_0x8c83[141]+_0x45acx36[_0x8c83[143]][_0x8c83[142]],os:_0x45acx36[_0x8c83[144]][_0x8c83[114]]+_0x8c83[141]+_0x45acx36[_0x8c83[144]][_0x8c83[142]],device:_0x45acx36[_0x8c83[146]][_0x8c83[145]]?_0x45acx36[_0x8c83[146]][_0x8c83[145]]+_0x8c83[141]+_0x45acx36[_0x8c83[146]][_0x8c83[147]]+_0x8c83[141]+_0x45acx36[_0x8c83[146]][_0x8c83[148]]:null,referer:_0x45acx22[_0x8c83[129]][_0x8c83[138]],origin:_0x8c83[162],status:_0x8c83[100],ChatWebsiteId:parseInt(_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[161]][_0x8c83[163]],10),ChatEnquiry:{username:_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[161]][_0x8c83[108]],email:_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[161]][_0x8c83[109]],text:_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[161]][_0x8c83[119]],ChatWebsiteId:parseInt(_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[161]][_0x8c83[163]],10)}};if(_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[161]][_0x8c83[164]]&&_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[161]][_0x8c83[165]]){_0x45acx39[_0x8c83[164]]=_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[161]][_0x8c83[164]];_0x45acx39[_0x8c83[165]]=_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[161]][_0x8c83[165]]};if(_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[161]][_0x8c83[166]]&&_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[161]][_0x8c83[167]]){_0x45acx39[_0x8c83[166]]=_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[161]][_0x8c83[166]];_0x45acx39[_0x8c83[167]]=_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[161]][_0x8c83[167]]};if(_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[161]][_0x8c83[168]]&&_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[161]][_0x8c83[169]]){_0x45acx39[_0x8c83[168]]=_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[161]][_0x8c83[168]];_0x45acx39[_0x8c83[169]]=_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[161]][_0x8c83[169]]};var _0x45acx3a;return ChatVisitor[_0x8c83[121]](_0x45acx39,{transaction:_0x45acx3d,include:[{model:ChatEnquiry}]})[_0x8c83[36]](function(_0x45acx3c){_0x45acx3a=_0x45acx3c;return ChatWebsite[_0x8c83[73]](_0x45acx3a.ChatWebsiteId)})[_0x8c83[36]](function(_0x45acx3b){if(_0x45acx3b[_0x8c83[157]]){return Contact[_0x8c83[158]]({where:{email:_0x45acx3a[_0x8c83[109]]},defaults:{email:_0x45acx3a[_0x8c83[109]],firstName:_0x45acx3a[_0x8c83[108]],ListId:_0x45acx3b[_0x8c83[157]]}})}})[_0x8c83[36]](function(){_0x45acx3d[_0x8c83[171]]();_0x45acx23[_0x8c83[34]](_0x45acx22[_0x8c83[87]][_0x8c83[95]]+_0x8c83[96]+JSON[_0x8c83[97]]({success:true,errors:[]})+_0x8c83[98])})[_0x8c83[33]](function(_0x45acx25){_0x45acx3d[_0x8c83[170]]();_0x45acx24(_0x45acx25)})})};exports[_0x8c83[173]]=function(_0x45acx22,_0x45acx23,_0x45acx24){var _0x45acx31=_0x45acx22[_0x8c83[44]][_0x8c83[43]];if(_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x45acx31]&&_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x45acx31][_0x8c83[99]]&&_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x45acx31][_0x8c83[102]]){ChatMessage[_0x8c83[37]]({where:{ChatRoomId:_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x45acx31][_0x8c83[102]]},include:[{model:Agent,attributes:[_0x8c83[43],_0x8c83[108]]},{model:ChatVisitor,attributes:[_0x8c83[43],_0x8c83[108]]}]})[_0x8c83[36]](function(_0x45acx33){var _0x45acx3e=[];_0x45acx33[_0x8c83[179]](function(_0x45acx35){var _0x45acx3f={name:_0x45acx35[_0x8c83[174]]?_0x45acx35[_0x8c83[21]][_0x8c83[108]]:_0x45acx35[_0x8c83[24]][_0x8c83[108]],text:_0x45acx35[_0x8c83[176]][_0x8c83[175]](/(\r\n|\n|\r)/gm,_0x8c83[141]),date:_0x45acx35[_0x8c83[177]]};_0x45acx3e[_0x8c83[178]](_0x45acx3f)});var _0x45acx40=csv(_0x45acx3e);_0x45acx23[_0x8c83[148]](_0x8c83[180])[_0x8c83[35]](200)[_0x8c83[34]](_0x45acx40)})[_0x8c83[33]](function(_0x45acx25){_0x45acx24(_0x45acx25)})}};exports[_0x8c83[181]]=function(_0x45acx22,_0x45acx23,_0x45acx24){return Xchatty[_0x8c83[73]](_0x45acx22[_0x8c83[44]][_0x8c83[43]])[_0x8c83[36]](function(_0x45acx41){if(!_0x45acx41){return _0x45acx23[_0x8c83[182]](404)};return _0x45acx23[_0x8c83[34]](_0x45acx41)})[_0x8c83[33]](function(_0x45acx25){return _0x45acx24(_0x45acx25)})};exports[_0x8c83[121]]=function(_0x45acx22,_0x45acx23,_0x45acx24){return Xchatty[_0x8c83[121]](_0x45acx22[_0x8c83[176]])[_0x8c83[36]](function(_0x45acx41){return _0x45acx23[_0x8c83[35]](201)[_0x8c83[34]](_0x45acx41)})[_0x8c83[33]](function(_0x45acx25){return _0x45acx24(_0x45acx25)})};exports[_0x8c83[125]]=function(_0x45acx22,_0x45acx23,_0x45acx24){if(_0x45acx22[_0x8c83[176]][_0x8c83[43]]){delete _0x45acx22[_0x8c83[176]][_0x8c83[43]]};return Xchatty[_0x8c83[73]](_0x45acx22[_0x8c83[44]][_0x8c83[43]])[_0x8c83[36]](function(_0x45acx41){if(!_0x45acx41){return _0x45acx23[_0x8c83[182]](404)};var _0x45acx42=_[_0x8c83[183]](_0x45acx41,_0x45acx22[_0x8c83[176]]);_0x45acx42[_0x8c83[184]]()[_0x8c83[36]](function(){return _0x45acx23[_0x8c83[35]](200)[_0x8c83[34]](_0x45acx41)})[_0x8c83[33]](function(_0x45acx25){return _0x45acx24(_0x45acx25)})})[_0x8c83[33]](function(_0x45acx25){return _0x45acx24(_0x45acx25)})};exports[_0x8c83[185]]=function(_0x45acx22,_0x45acx23,_0x45acx24){return Xchatty[_0x8c83[73]](_0x45acx22[_0x8c83[44]][_0x8c83[43]])[_0x8c83[36]](function(_0x45acx41){if(!_0x45acx41){return _0x45acx23[_0x8c83[182]](404)};_0x45acx41[_0x8c83[185]]()[_0x8c83[36]](function(){return _0x45acx23[_0x8c83[182]](204)})[_0x8c83[33]](function(_0x45acx25){return _0x45acx24(_0x45acx25)})})[_0x8c83[33]](function(_0x45acx25){return _0x45acx24(_0x45acx25)})};exports[_0x8c83[186]]=function(_0x45acx22,_0x45acx23,_0x45acx24){var _0x45acx43=xchatty_components[_0x8c83[187]];return ChatWebsite[_0x8c83[73]](_0x45acx22[_0x8c83[44]][_0x8c83[43]],{include:[{all:true}]})[_0x8c83[36]](function(_0x45acx27){var _0x45acx44={rootPath:Util[_0x8c83[46]](_0x45acx27[_0x8c83[45]])+_0x8c83[47],assetBase:Util[_0x8c83[46]](_0x45acx27[_0x8c83[45]])+_0x8c83[52],websiteId:_0x45acx27[_0x8c83[43]],headerShape:_0x45acx27[_0x8c83[54]],enquiryEnable:_0x45acx27[_0x8c83[188]],onlineFields:_0x45acx27[_0x8c83[189]],renderedOnlineField:function(){var _0x45acx45=_0x8c83[105];var _0x45acx46=this;switch(this[_0x8c83[215]]){case _0x8c83[199]:_0x45acx45=_0x8c83[190];_0x45acx45+=util[_0x8c83[195]](_0x8c83[191],_0x45acx46[_0x8c83[32]],_0x45acx46[_0x8c83[192]],_0x45acx46[_0x8c83[193]]?_0x8c83[194]:_0x8c83[105]);_0x45acx45+=util[_0x8c83[195]](_0x8c83[196],_0x45acx46[_0x8c83[192]],_0x45acx46[_0x8c83[32]],_0x45acx46[_0x8c83[32]]+1,_0x45acx46[_0x8c83[197]],_0x45acx46[_0x8c83[193]]?_0x8c83[193]:_0x8c83[105]);_0x45acx45+=_0x8c83[198];break;case _0x8c83[201]:_0x45acx45=_0x8c83[190];_0x45acx45+=util[_0x8c83[195]](_0x8c83[191],_0x45acx46[_0x8c83[32]],_0x45acx46[_0x8c83[192]],_0x45acx46[_0x8c83[193]]?_0x8c83[194]:_0x8c83[105]);_0x45acx45+=util[_0x8c83[195]](_0x8c83[200],_0x45acx46[_0x8c83[32]],_0x45acx46[_0x8c83[192]],_0x45acx46[_0x8c83[32]]+1,_0x45acx46[_0x8c83[197]],_0x45acx46[_0x8c83[193]]?_0x8c83[193]:_0x8c83[105]);_0x45acx45+=_0x8c83[198];break;case _0x8c83[207]:_0x45acx45=_0x8c83[190];_0x45acx45+=util[_0x8c83[195]](_0x8c83[202],_0x45acx46[_0x8c83[192]]);_[_0x8c83[179]](_0x45acx46[_0x8c83[203]],function(_0x45acx47){_0x45acx45+=_0x8c83[204];_0x45acx45+=util[_0x8c83[195]](_0x8c83[205],_0x45acx46[_0x8c83[32]]+1,_0x45acx47,_0x45acx47);_0x45acx45+=_0x8c83[206]});_0x45acx45+=_0x8c83[198];break;case _0x8c83[209]:_0x45acx45=_0x8c83[190];_0x45acx45+=util[_0x8c83[195]](_0x8c83[202],_0x45acx46[_0x8c83[192]]);_[_0x8c83[179]](_0x45acx46[_0x8c83[203]],function(_0x45acx47){_0x45acx45+=_0x8c83[204];_0x45acx45+=util[_0x8c83[195]](_0x8c83[208],_0x45acx46[_0x8c83[32]]+1,_0x45acx47,_0x45acx47);_0x45acx45+=_0x8c83[206]});_0x45acx45+=_0x8c83[198];break;case _0x8c83[214]:_0x45acx45=_0x8c83[190];_0x45acx45+=util[_0x8c83[195]](_0x8c83[210],_0x45acx46[_0x8c83[32]],_0x45acx46[_0x8c83[192]]);_0x45acx45+=util[_0x8c83[195]](_0x8c83[211],_0x45acx46[_0x8c83[32]]+1);_[_0x8c83[179]](_0x45acx46[_0x8c83[203]],function(_0x45acx47){_0x45acx45+=util[_0x8c83[195]](_0x8c83[212],_0x45acx47,_0x45acx47)});_0x45acx45+=_0x8c83[213];break};_0x45acx45+=_0x8c83[216];_0x45acx45+=util[_0x8c83[195]](_0x8c83[217],_0x45acx46[_0x8c83[32]]+1,_0x45acx46[_0x8c83[192]]);return _0x45acx45},offlineFields:_0x45acx27[_0x8c83[218]],renderedOfflineField:function(){var _0x45acx45=_0x8c83[105];var _0x45acx46=this;switch(this[_0x8c83[215]]){case _0x8c83[199]:_0x45acx45=_0x8c83[190];_0x45acx45+=util[_0x8c83[195]](_0x8c83[219],_0x45acx46[_0x8c83[32]],_0x45acx46[_0x8c83[192]],_0x45acx46[_0x8c83[193]]?_0x8c83[194]:_0x8c83[105]);_0x45acx45+=util[_0x8c83[195]](_0x8c83[220],_0x45acx46[_0x8c83[192]],_0x45acx46[_0x8c83[32]],_0x45acx46[_0x8c83[32]]+1,_0x45acx46[_0x8c83[197]],_0x45acx46[_0x8c83[193]]?_0x8c83[193]:_0x8c83[105]);_0x45acx45+=_0x8c83[198];break;case _0x8c83[201]:_0x45acx45=_0x8c83[190];_0x45acx45+=util[_0x8c83[195]](_0x8c83[219],_0x45acx46[_0x8c83[32]],_0x45acx46[_0x8c83[192]],_0x45acx46[_0x8c83[193]]?_0x8c83[194]:_0x8c83[105]);_0x45acx45+=util[_0x8c83[195]](_0x8c83[221],_0x45acx46[_0x8c83[32]],_0x45acx46[_0x8c83[192]],_0x45acx46[_0x8c83[32]]+1,_0x45acx46[_0x8c83[197]],_0x45acx46[_0x8c83[193]]?_0x8c83[193]:_0x8c83[105]);_0x45acx45+=_0x8c83[198];break;case _0x8c83[207]:_0x45acx45=_0x8c83[190];_0x45acx45+=util[_0x8c83[195]](_0x8c83[202],_0x45acx46[_0x8c83[192]]);_[_0x8c83[179]](_0x45acx46[_0x8c83[203]],function(_0x45acx47){_0x45acx45+=_0x8c83[204];_0x45acx45+=util[_0x8c83[195]](_0x8c83[222],_0x45acx46[_0x8c83[32]]+1,_0x45acx47,_0x45acx47);_0x45acx45+=_0x8c83[206]});_0x45acx45+=_0x8c83[198];break;case _0x8c83[209]:_0x45acx45=_0x8c83[190];_0x45acx45+=util[_0x8c83[195]](_0x8c83[202],_0x45acx46[_0x8c83[192]]);_[_0x8c83[179]](_0x45acx46[_0x8c83[203]],function(_0x45acx47){_0x45acx45+=_0x8c83[204];_0x45acx45+=util[_0x8c83[195]](_0x8c83[223],_0x45acx46[_0x8c83[32]]+1,_0x45acx47,_0x45acx47);_0x45acx45+=_0x8c83[206]});_0x45acx45+=_0x8c83[198];break;case _0x8c83[214]:_0x45acx45=_0x8c83[190];_0x45acx45+=util[_0x8c83[195]](_0x8c83[202],_0x45acx46[_0x8c83[192]]);_0x45acx45+=util[_0x8c83[195]](_0x8c83[224],_0x45acx46[_0x8c83[32]]+1);_[_0x8c83[179]](_0x45acx46[_0x8c83[203]],function(_0x45acx47){_0x45acx45+=util[_0x8c83[195]](_0x8c83[212],_0x45acx47,_0x45acx47)});_0x45acx45+=_0x8c83[213];break};_0x45acx45+=_0x8c83[216];_0x45acx45+=util[_0x8c83[195]](_0x8c83[225],_0x45acx46[_0x8c83[32]]+1,_0x45acx46[_0x8c83[192]]);return _0x45acx45}};_0x45acx43=Mustache[_0x8c83[72]](_0x45acx43,_0x45acx44);return _0x45acx23[_0x8c83[35]](200)[_0x8c83[226]](_0x45acx43)})[_0x8c83[33]](function(_0x45acx25){return _0x45acx24(_0x45acx25)})};exports[_0x8c83[227]]=function(_0x45acx22,_0x45acx23,_0x45acx24){return ChatWebsite[_0x8c83[73]](_0x45acx22[_0x8c83[44]][_0x8c83[43]],{include:[{model:ChatProactiveAction}]})[_0x8c83[36]](function(_0x45acx27){if(!_0x45acx27){return _0x45acx23[_0x8c83[35]](400)[_0x8c83[226]]({})};return _0x45acx23[_0x8c83[35]](200)[_0x8c83[226]](_0x45acx27.ChatProactiveActions)})[_0x8c83[33]](function(_0x45acx25){return _0x45acx24(_0x45acx25)})};exports[_0x8c83[228]]=function(_0x45acx22,_0x45acx23,_0x45acx24){return ChatRoom[_0x8c83[73]](_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[231]][_0x8c83[102]])[_0x8c83[36]](function(_0x45acx2f){if(!_0x45acx2f){return _0x45acx23[_0x8c83[35]](400)[_0x8c83[226]]({})};if(_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[231]][_0x8c83[230]](_0x8c83[229])&&_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[231]][_0x8c83[230]](_0x8c83[119])){return _0x45acx2f[_0x8c83[125]]({rating:_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[231]][_0x8c83[229]],ratingMessage:_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[231]][_0x8c83[119]]})};return})[_0x8c83[36]](function(){return _0x45acx23[_0x8c83[35]](200)[_0x8c83[226]]({})})[_0x8c83[33]](function(_0x45acx25){return _0x45acx23[_0x8c83[35]](400)[_0x8c83[226]](_0x45acx25)})};exports[_0x8c83[232]]=function(_0x45acx22,_0x45acx23,_0x45acx24){var _0x45acx31=_0x45acx22[_0x8c83[44]][_0x8c83[43]];if(_0x45acx22[_0x8c83[93]]&&_0x45acx22[_0x8c83[93]][_0x8c83[84]]){if(_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x8c83[230]](_0x45acx31)&&_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x45acx31][_0x8c83[230]](_0x8c83[99])&&_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x45acx31][_0x8c83[99]]>0){return ReportChatSession[_0x8c83[234]]({where:{visitorid:_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x45acx31][_0x8c83[99]],leaveAt:null}})[_0x8c83[36]](function(_0x45acx48){if(!_0x45acx48){return};return _0x45acx48[_0x8c83[125]]({abandon:true,leaveAt:moment()[_0x8c83[195]](_0x8c83[233])})})[_0x8c83[36]](function(){return _0x45acx23[_0x8c83[35]](200)[_0x8c83[226]]({})})[_0x8c83[33]](function(_0x45acx25){_0x45acx23[_0x8c83[35]](500)[_0x8c83[226]]({})})}};return _0x45acx23[_0x8c83[35]](200)[_0x8c83[226]]({})};exports[_0x8c83[235]]=function(_0x45acx22,_0x45acx23,_0x45acx24){if(!_0x45acx22[_0x8c83[93]][_0x8c83[84]]){_0x45acx22[_0x8c83[93]][_0x8c83[84]]={}};if(!_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x45acx22[_0x8c83[44]][_0x8c83[43]]]){_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x45acx22[_0x8c83[44]][_0x8c83[43]]]={}};var _0x45acx31=_0x45acx22[_0x8c83[44]][_0x8c83[43]];var _0x45acx49;var _0x45acx2d={};var _0x45acx4a=[];return ChatWebsite[_0x8c83[73]](_0x45acx31)[_0x8c83[36]](function(_0x45acx3b){if(!_0x45acx3b){return _0x45acx23[_0x8c83[182]](500)};_0x45acx49=_0x45acx3b;return _0x45acx49[_0x8c83[245]]({include:[{model:ChatQueue,include:[{model:Agent}]},{model:Agent}]})})[_0x8c83[36]](function(_0x45acx4c){_[_0x8c83[179]](_0x45acx4c,function(_0x45acx4d){if(_0x45acx4d[_0x8c83[239]]===_0x8c83[240]){if(_0x45acx4d[_0x8c83[30]][_0x8c83[230]](_0x8c83[241])&&_0x45acx4d[_0x8c83[30]][_0x8c83[241]][_0x8c83[111]]>0){_0x45acx4a=_[_0x8c83[243]](_[_0x8c83[183]](_0x45acx4a,_[_0x8c83[242]](_0x45acx4d[_0x8c83[30]].Users,_0x8c83[43])))}}else {if(_0x45acx4d[_0x8c83[239]]===_0x8c83[112]){_0x45acx4a[_0x8c83[178]](_0x45acx4d[_0x8c83[21]][_0x8c83[43]]);_0x45acx4a=_[_0x8c83[243]](_0x45acx4a)}}});return Agent[_0x8c83[244]]({where:{online:true,id:{$in:_0x45acx4a}}})})[_0x8c83[36]](function(_0x45acx4b){if(_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[106]]){_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x45acx31][_0x8c83[106]]=_0x45acx22[_0x8c83[87]][_0x8c83[107]][_0x8c83[106]]===_0x8c83[49]?true:false};_0x45acx2d={success:true,has_session_saf:null,signed_up:_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x45acx31][_0x8c83[102]]?true:false,fullname:_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x45acx31][_0x8c83[108]]||_0x8c83[105],email:_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x45acx31][_0x8c83[109]]||_0x8c83[105],avatar:_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x45acx31][_0x8c83[110]]||_0x8c83[105],open_state:_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x45acx31][_0x8c83[106]]||_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x45acx31][_0x8c83[102]]?true:false,online:_0x45acx4b[_0x8c83[238]]?true:false,is_unserved:false,room_id:0};if(_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x45acx31][_0x8c83[99]]){return ChatRoom[_0x8c83[101]]({where:{ChatVisitorId:_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x45acx31][_0x8c83[99]],status:_0x8c83[104],token:{$ne:_0x8c83[105]}}})};return})[_0x8c83[36]](function(_0x45acx2f){if(_0x45acx2f){_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x45acx31][_0x8c83[102]]=_0x45acx2f[_0x8c83[43]];_0x45acx2d[_0x8c83[102]]=_0x45acx2f[_0x8c83[43]];_0x45acx2d[_0x8c83[103]]=true}else {_0x45acx2d[_0x8c83[103]]=false};if(_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x45acx31][_0x8c83[99]]){return ChatVisitor[_0x8c83[101]]({where:{id:_0x45acx22[_0x8c83[93]][_0x8c83[84]][_0x45acx31][_0x8c83[99]],status:_0x8c83[100]}})};return})[_0x8c83[36]](function(_0x45acx2e){if(_0x45acx2e){_0x45acx2d[_0x8c83[94]]=true};return _0x45acx23[_0x8c83[35]](200)[_0x8c83[226]](_0x45acx2d)})[_0x8c83[33]](function(_0x45acx25){console[_0x8c83[237]](_0x8c83[236],_0x45acx25);return _0x45acx23[_0x8c83[35]](500)[_0x8c83[226]]({})})} \ No newline at end of file +var _0xb05b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6A\x73\x6D\x69\x6E","\x6D\x75\x73\x74\x61\x63\x68\x65","\x71\x75\x65\x72\x79\x73\x74\x72\x69\x6E\x67","\x70\x61\x74\x68","\x6D\x64\x35","\x66\x73","\x75\x61\x2D\x70\x61\x72\x73\x65\x72\x2D\x6A\x73","\x61\x63\x63\x65\x70\x74\x2D\x6C\x61\x6E\x67\x75\x61\x67\x65\x2D\x70\x61\x72\x73\x65\x72","\x69\x70\x61\x64\x64\x72\x2E\x6A\x73","\x67\x65\x6F\x69\x70\x2D\x6C\x69\x74\x65","\x74\x6F\x2D\x63\x73\x76","\x75\x74\x69\x6C","\x6D\x6F\x6D\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x58\x63\x68\x61\x74\x74\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6D\x70\x6F\x6E\x65\x6E\x74\x73\x2F\x78\x63\x68\x61\x74\x74\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x55\x73\x65\x72","\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x43\x68\x61\x74\x45\x6E\x71\x75\x69\x72\x79","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x43\x68\x61\x74\x4D\x65\x73\x73\x61\x67\x65","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x73\x46\x69\x65\x6C\x64","\x43\x68\x61\x74\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x53\x65\x73\x73\x69\x6F\x6E","\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x43\x6F\x6E\x74\x61\x63\x74","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x67\x65\x74\x4A\x73\x42\x79\x57\x65\x62\x73\x69\x74\x65","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2F\x6A\x61\x76\x61\x73\x63\x72\x69\x70\x74","\x6E\x6F\x77","\x73\x65\x74","\x6A\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x72\x65\x6D\x6F\x74\x65","\x73\x74\x72\x69\x70\x54\x72\x61\x69\x6C\x69\x6E\x67\x53\x6C\x61\x73\x68","\x2F\x61\x70\x69\x2F\x78\x63\x68\x61\x74\x74\x79\x2F","\x66\x61\x6C\x73\x65","\x74\x72\x75\x65","\x22\x22","\x6E\x75\x6C\x6C","\x2F\x61\x70\x69\x2F\x78\x63\x68\x61\x74\x74\x79\x2F\x61\x73\x73\x65\x74\x73","\x61\x6E\x69\x6D\x61\x74\x69\x6F\x6E","\x68\x65\x61\x64\x65\x72\x5F\x73\x68\x61\x70\x65","\x68\x65\x61\x64\x65\x72\x5F\x6F\x6E\x6C\x69\x6E\x65","\x6F\x6E\x6C\x69\x6E\x65\x5F\x6D\x65\x73\x73\x61\x67\x65","\x75\x73\x65\x72\x6E\x61\x6D\x65\x5F\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72","\x65\x6D\x61\x69\x6C\x5F\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72","\x73\x74\x61\x72\x74\x5F\x63\x68\x61\x74\x5F\x62\x75\x74\x74\x6F\x6E","\x6F\x66\x66\x6C\x69\x6E\x65\x5F\x6D\x65\x73\x73\x61\x67\x65","\x68\x65\x61\x64\x65\x72\x5F\x6F\x66\x66\x6C\x69\x6E\x65","\x65\x6E\x71\x75\x69\x72\x79\x5F\x6D\x65\x73\x73\x61\x67\x65\x5F\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72","\x65\x6E\x71\x75\x69\x72\x79\x5F\x62\x75\x74\x74\x6F\x6E","\x64\x6F\x77\x6E\x6C\x6F\x61\x64\x5F\x74\x72\x61\x6E\x73\x63\x72\x69\x70\x74","\x72\x61\x74\x69\x6E\x67\x5F\x6D\x65\x73\x73\x61\x67\x65","\x72\x61\x74\x69\x6E\x67\x5F\x73\x65\x6E\x64","\x72\x61\x74\x69\x6E\x67\x5F\x73\x6B\x69\x70","\x61\x67\x65\x6E\x74\x73\x5F\x62\x75\x73\x79","\x6E\x61\x6D\x65\x5F\x74\x69\x74\x6C\x65","\x65\x6D\x61\x69\x6C\x5F\x74\x69\x74\x6C\x65","\x6D\x65\x73\x73\x61\x67\x65\x5F\x74\x69\x74\x6C\x65","\x72\x65\x6E\x64\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x67\x65\x74\x53\x74\x79\x6C\x65\x42\x79\x57\x65\x62\x73\x69\x74\x65","\x74\x65\x78\x74\x2F\x63\x73\x73","\x63\x73\x73","\x63\x6F\x6C\x6F\x72","\x63\x6F\x6C\x6F\x72\x5F\x66\x6F\x63\x75\x73","\x63\x6F\x6C\x6F\x72\x5F\x62\x75\x74\x74\x6F\x6E","\x67\x65\x74\x41\x73\x73\x65\x74\x73","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72","\x63\x6F\x6D\x70\x6F\x6E\x65\x6E\x74\x73","\x78\x63\x68\x61\x74\x74\x79","\x61\x73\x73\x65\x74\x73","\x72\x65\x73\x6F\x75\x72\x63\x65","\x71\x75\x65\x72\x79","\x6A\x6F\x69\x6E","\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x67\x65\x74\x4A\x71\x75\x65\x72\x79\x4C\x69\x62\x72\x61\x72\x79","\x6A\x71\x75\x65\x72\x79","\x67\x65\x74\x53\x74\x61\x74\x75\x73","\x73\x65\x73\x73\x69\x6F\x6E","\x69\x73\x5F\x75\x6E\x73\x65\x72\x76\x65\x64","\x63\x61\x6C\x6C\x62\x61\x63\x6B","\x28","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x29","\x76\x69\x73\x69\x74\x6F\x72\x5F\x69\x64","\x75\x6E\x73\x65\x72\x76\x65\x64","\x66\x69\x6E\x64\x4F\x6E\x65","\x72\x6F\x6F\x6D\x5F\x69\x64","\x73\x69\x67\x6E\x65\x64\x5F\x75\x70","\x4F\x50\x45\x4E","","\x6F\x70\x65\x6E\x5F\x73\x74\x61\x74\x65","\x64\x61\x74\x61","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x61\x76\x61\x74\x61\x72","\x6C\x65\x6E\x67\x74\x68","\x61\x67\x65\x6E\x74","\x67\x65\x74\x4D\x65\x73\x73\x61\x67\x65\x73","\x6E\x61\x6D\x65","\x69\x73\x5F\x6E\x65\x77\x5F\x70\x61\x67\x65","\x77\x68\x65\x72\x65","\x6C\x61\x73\x74\x5F\x69\x64","\x73\x65\x6E\x64\x4D\x65\x73\x73\x61\x67\x65","\x6D\x65\x73\x73\x61\x67\x65","\x4D\x65\x73\x73\x61\x67\x65","\x63\x72\x65\x61\x74\x65","\x73\x69\x67\x6E\x6F\x75\x74\x43\x75\x73\x74\x6F\x6D\x65\x72","\x43\x4C\x4F\x53\x45\x44","\x72\x65\x71\x75\x65\x73\x74\x65\x72","\x75\x70\x64\x61\x74\x65","\x73\x69\x67\x6E\x75\x70\x43\x75\x73\x74\x6F\x6D\x65\x72","\x67\x65\x74\x52\x65\x73\x75\x6C\x74","\x75\x73\x65\x72\x2D\x61\x67\x65\x6E\x74","\x68\x65\x61\x64\x65\x72\x73","\x73\x65\x74\x55\x41","\x61\x63\x63\x65\x70\x74\x2D\x6C\x61\x6E\x67\x75\x61\x67\x65","\x70\x61\x72\x73\x65","\x78\x2D\x66\x6F\x72\x77\x61\x72\x64\x65\x64\x2D\x66\x6F\x72","\x72\x65\x6D\x6F\x74\x65\x41\x64\x64\x72\x65\x73\x73","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E","\x69\x70","\x44\x69\x73\x63\x75\x73\x73\x69\x6F\x6E","\x72\x65\x66\x65\x72\x65\x72","\x77\x65\x62\x63\x68\x61\x74","\x62\x72\x6F\x77\x73\x65\x72","\x20","\x76\x65\x72\x73\x69\x6F\x6E","\x65\x6E\x67\x69\x6E\x65","\x6F\x73","\x6D\x6F\x64\x65\x6C","\x64\x65\x76\x69\x63\x65","\x76\x65\x6E\x64\x6F\x72","\x74\x79\x70\x65","\x63\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x49\x64","\x64\x61\x74\x61\x31","\x6C\x61\x62\x65\x6C\x44\x61\x74\x61\x31","\x64\x61\x74\x61\x32","\x6C\x61\x62\x65\x6C\x44\x61\x74\x61\x32","\x64\x61\x74\x61\x33","\x6C\x61\x62\x65\x6C\x44\x61\x74\x61\x33","\x62\x61\x73\x65\x36\x34","\x4C\x69\x73\x74\x49\x64","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x75\x6E\x73\x65\x72\x76\x65\x64\x43\x75\x73\x74\x6F\x6D\x65\x72","\x73\x75\x62\x6D\x69\x74\x45\x6E\x71\x75\x69\x72\x79","\x45\x6E\x71\x75\x69\x72\x79","\x65\x6E\x71\x75\x69\x72\x79","\x77\x65\x62\x73\x69\x74\x65\x49\x64","\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x31","\x6C\x61\x62\x65\x6C\x4F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x31","\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x32","\x6C\x61\x62\x65\x6C\x4F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x32","\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x33","\x6C\x61\x62\x65\x6C\x4F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x33","\x72\x6F\x6C\x6C\x62\x61\x63\x6B","\x63\x6F\x6D\x6D\x69\x74","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x67\x65\x74\x54\x72\x61\x6E\x73\x63\x72\x69\x70\x74","\x55\x73\x65\x72\x49\x64","\x72\x65\x70\x6C\x61\x63\x65","\x62\x6F\x64\x79","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x74\x65\x78\x74\x2F\x63\x73\x76","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x67\x65\x74\x48\x74\x6D\x6C\x42\x79\x57\x65\x62\x73\x69\x74\x65","\x74\x65\x6D\x70\x6C\x61\x74\x65","\x65\x6E\x71\x75\x69\x72\x79\x5F\x65\x6E\x61\x62\x6C\x65","\x4F\x6E\x6C\x69\x6E\x65","\x3C\x64\x69\x76\x20\x63\x6C\x61\x73\x73\x3D\x22\x78\x63\x5F\x64\x69\x76\x5F\x67\x72\x6F\x75\x70\x22\x3E","\x3C\x6C\x61\x62\x65\x6C\x20\x63\x6C\x61\x73\x73\x3D\x22\x78\x63\x5F\x6C\x61\x62\x65\x6C\x22\x20\x66\x6F\x72\x3D\x22\x25\x64\x22\x3E\x25\x73\x20\x25\x73\x3C\x2F\x6C\x61\x62\x65\x6C\x3E","\x6C\x61\x62\x65\x6C","\x72\x65\x71\x75\x69\x72\x65\x64","\x2A","\x66\x6F\x72\x6D\x61\x74","\x3C\x69\x6E\x70\x75\x74\x20\x64\x61\x74\x61\x2D\x6C\x61\x62\x65\x6C\x3D\x22\x25\x73\x22\x20\x74\x79\x70\x65\x3D\x22\x74\x65\x78\x74\x22\x20\x69\x64\x3D\x22\x25\x64\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x44\x69\x73\x63\x75\x73\x73\x69\x6F\x6E\x5D\x5B\x64\x61\x74\x61\x25\x64\x5D\x22\x20\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72\x3D\x22\x25\x73\x22\x20\x25\x73\x2F\x3E","\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72","\x3C\x2F\x64\x69\x76\x3E","\x74\x65\x78\x74\x49\x6E\x70\x75\x74","\x3C\x74\x65\x78\x74\x61\x72\x65\x61\x20\x69\x64\x3D\x22\x25\x64\x22\x20\x64\x61\x74\x61\x2D\x6C\x61\x62\x65\x6C\x3D\x22\x25\x73\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x44\x69\x73\x63\x75\x73\x73\x69\x6F\x6E\x5D\x5B\x64\x61\x74\x61\x25\x64\x5D\x22\x20\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72\x3D\x22\x25\x73\x22\x20\x25\x73\x3E\x3C\x2F\x74\x65\x78\x74\x61\x72\x65\x61\x3E","\x74\x65\x78\x74\x41\x72\x65\x61","\x3C\x6C\x61\x62\x65\x6C\x20\x63\x6C\x61\x73\x73\x3D\x22\x78\x63\x5F\x6C\x61\x62\x65\x6C\x22\x3E\x25\x73\x3C\x2F\x6C\x61\x62\x65\x6C\x3E","\x6F\x70\x74\x69\x6F\x6E\x73","\x3C\x6C\x61\x62\x65\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x64\x69\x73\x70\x6C\x61\x79\x3A\x62\x6C\x6F\x63\x6B\x3B\x22\x3E","\x3C\x69\x6E\x70\x75\x74\x20\x74\x79\x70\x65\x3D\x22\x63\x68\x65\x63\x6B\x62\x6F\x78\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x44\x69\x73\x63\x75\x73\x73\x69\x6F\x6E\x5D\x5B\x64\x61\x74\x61\x25\x64\x5D\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x25\x73\x22\x3E\x20\x25\x73\x3C\x62\x72\x3E","\x3C\x2F\x6C\x61\x62\x65\x6C\x3E","\x63\x68\x65\x63\x6B\x62\x6F\x78","\x3C\x69\x6E\x70\x75\x74\x20\x74\x79\x70\x65\x3D\x22\x72\x61\x64\x69\x6F\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x44\x69\x73\x63\x75\x73\x73\x69\x6F\x6E\x5D\x5B\x64\x61\x74\x61\x25\x64\x5D\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x25\x73\x22\x3E\x20\x25\x73\x3C\x62\x72\x3E","\x72\x61\x64\x69\x6F","\x3C\x6C\x61\x62\x65\x6C\x20\x63\x6C\x61\x73\x73\x3D\x22\x78\x63\x5F\x6C\x61\x62\x65\x6C\x22\x20\x66\x6F\x72\x3D\x22\x25\x64\x22\x3E\x25\x73\x3C\x2F\x6C\x61\x62\x65\x6C\x3E","\x3C\x73\x65\x6C\x65\x63\x74\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x44\x69\x73\x63\x75\x73\x73\x69\x6F\x6E\x5D\x5B\x64\x61\x74\x61\x25\x64\x5D\x22\x3E","\x3C\x6F\x70\x74\x69\x6F\x6E\x20\x76\x61\x6C\x75\x65\x3D\x22\x25\x73\x22\x3E\x25\x73\x3C\x2F\x6F\x70\x74\x69\x6F\x6E\x3E","\x3C\x2F\x73\x65\x6C\x65\x63\x74\x3E\x3C\x2F\x64\x69\x76\x3E","\x73\x65\x6C\x65\x63\x74","\x63\x6F\x6D\x70\x6F\x6E\x65\x6E\x74","\x3C\x62\x72\x3E","\x3C\x69\x6E\x70\x75\x74\x20\x74\x79\x70\x65\x3D\x22\x68\x69\x64\x64\x65\x6E\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x44\x69\x73\x63\x75\x73\x73\x69\x6F\x6E\x5D\x5B\x6C\x61\x62\x65\x6C\x44\x61\x74\x61\x25\x64\x5D\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x25\x73\x22\x3E","\x4F\x66\x66\x6C\x69\x6E\x65","\x3C\x6C\x61\x62\x65\x6C\x20\x63\x6C\x61\x73\x73\x3D\x22\x78\x63\x5F\x6C\x61\x62\x65\x6C\x22\x20\x66\x6F\x72\x3D\x22\x6F\x66\x66\x6C\x69\x6E\x65\x25\x64\x22\x3E\x25\x73\x20\x25\x73\x3C\x2F\x6C\x61\x62\x65\x6C\x3E","\x3C\x69\x6E\x70\x75\x74\x20\x64\x61\x74\x61\x2D\x6C\x61\x62\x65\x6C\x3D\x22\x25\x73\x22\x20\x74\x79\x70\x65\x3D\x22\x74\x65\x78\x74\x22\x20\x69\x64\x3D\x22\x6F\x66\x66\x6C\x69\x6E\x65\x25\x64\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x45\x6E\x71\x75\x69\x72\x79\x5D\x5B\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x25\x64\x5D\x22\x20\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72\x3D\x22\x25\x73\x22\x20\x25\x73\x2F\x3E","\x3C\x74\x65\x78\x74\x61\x72\x65\x61\x20\x69\x64\x3D\x22\x6F\x66\x66\x6C\x69\x6E\x65\x25\x64\x22\x20\x64\x61\x74\x61\x2D\x6C\x61\x62\x65\x6C\x3D\x22\x25\x73\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x45\x6E\x71\x75\x69\x72\x79\x5D\x5B\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x25\x64\x5D\x22\x20\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72\x3D\x22\x25\x73\x22\x20\x25\x73\x3E\x3C\x2F\x74\x65\x78\x74\x61\x72\x65\x61\x3E","\x3C\x69\x6E\x70\x75\x74\x20\x74\x79\x70\x65\x3D\x22\x63\x68\x65\x63\x6B\x62\x6F\x78\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x45\x6E\x71\x75\x69\x72\x79\x5D\x5B\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x25\x64\x5D\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x25\x73\x22\x3E\x20\x25\x73\x3C\x62\x72\x3E","\x3C\x69\x6E\x70\x75\x74\x20\x74\x79\x70\x65\x3D\x22\x72\x61\x64\x69\x6F\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x45\x6E\x71\x75\x69\x72\x79\x5D\x5B\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x25\x64\x5D\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x25\x73\x22\x3E\x20\x25\x73\x3C\x62\x72\x3E","\x3C\x73\x65\x6C\x65\x63\x74\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x45\x6E\x71\x75\x69\x72\x79\x5D\x5B\x6F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x25\x64\x5D\x22\x3E","\x3C\x69\x6E\x70\x75\x74\x20\x74\x79\x70\x65\x3D\x22\x68\x69\x64\x64\x65\x6E\x22\x20\x6E\x61\x6D\x65\x3D\x22\x64\x61\x74\x61\x5B\x45\x6E\x71\x75\x69\x72\x79\x5D\x5B\x6C\x61\x62\x65\x6C\x4F\x66\x66\x6C\x69\x6E\x65\x44\x61\x74\x61\x25\x64\x5D\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x25\x73\x22\x3E","\x6A\x73\x6F\x6E\x70","\x67\x65\x74\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E\x73\x42\x79\x57\x65\x62\x73\x69\x74\x65","\x73\x65\x74\x52\x61\x74\x69\x6E\x67","\x72\x61\x74\x69\x6E\x67","\x68\x61\x73\x4F\x77\x6E\x50\x72\x6F\x70\x65\x72\x74\x79","\x52\x61\x74\x69\x6E\x67","\x61\x62\x61\x6E\x64\x6F\x6E\x43\x75\x73\x74\x6F\x6D\x65\x72","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\x66\x69\x6E\x64","\x67\x65\x74\x53\x74\x61\x74\x75\x73\x42\x79\x57\x65\x62\x73\x69\x74\x65","\x65\x72\x72","\x6C\x6F\x67","\x63\x6F\x75\x6E\x74","\x61\x70\x70","\x71\x75\x65\x75\x65","\x55\x73\x65\x72\x73","\x6D\x61\x70","\x75\x6E\x69\x71","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x67\x65\x74\x43\x68\x61\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73"];_0xb05b[0];var _=require(_0xb05b[1]);var jsmin=require(_0xb05b[2])[_0xb05b[2]];var Mustache=require(_0xb05b[3]);var querystring=require(_0xb05b[4]);var path=require(_0xb05b[5]);var md5=require(_0xb05b[6]);var fs=require(_0xb05b[7]);var UAParser=require(_0xb05b[8]);var uaParser= new UAParser();var languageParser=require(_0xb05b[9]);var ipaddr=require(_0xb05b[10]);var geoip=require(_0xb05b[11]);var csv=require(_0xb05b[12]);var util=require(_0xb05b[13]);var moment=require(_0xb05b[14]);var config=require(_0xb05b[15]);var Xchatty=require(_0xb05b[17])[_0xb05b[16]];var xchatty_components=require(_0xb05b[18]);var Util=require(_0xb05b[19]);var sequelize=require(_0xb05b[17])[_0xb05b[20]];var User=require(_0xb05b[17])[_0xb05b[21]];var Agent=require(_0xb05b[17])[_0xb05b[21]];var ChatRoom=require(_0xb05b[17])[_0xb05b[22]];var ChatEnquiry=require(_0xb05b[17])[_0xb05b[23]];var ChatVisitor=require(_0xb05b[17])[_0xb05b[24]];var ChatMessage=require(_0xb05b[17])[_0xb05b[25]];var ChatWebsite=require(_0xb05b[17])[_0xb05b[26]];var ChatWebsitesField=require(_0xb05b[17])[_0xb05b[27]];var ChatProactiveAction=require(_0xb05b[17])[_0xb05b[28]];var ReportChatSession=require(_0xb05b[17])[_0xb05b[29]];var ChatQueue=require(_0xb05b[17])[_0xb05b[30]];const Contact=require(_0xb05b[17])[_0xb05b[31]];var id=1;exports[_0xb05b[32]]=function(_0x50ddx22,_0x50ddx23,_0x50ddx24){return Xchatty[_0xb05b[37]]()[_0xb05b[36]](function(_0x50ddx26){return _0x50ddx23[_0xb05b[35]](200)[_0xb05b[34]](_0x50ddx26)})[_0xb05b[33]](function(_0x50ddx25){return _0x50ddx24(_0x50ddx25)})};exports[_0xb05b[38]]=function(_0x50ddx22,_0x50ddx23,_0x50ddx24){ChatWebsite[_0xb05b[73]](_0x50ddx22[_0xb05b[44]][_0xb05b[43]])[_0xb05b[36]](function(_0x50ddx27){_0x50ddx23[_0xb05b[41]]({"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65":_0xb05b[39],"\x78\x2D\x74\x69\x6D\x65\x73\x74\x61\x6D\x70":Date[_0xb05b[40]](),"\x78\x2D\x73\x65\x6E\x74":true});var _0x50ddx28=xchatty_components[_0xb05b[42]];var _0x50ddx29={websiteId:_0x50ddx22[_0xb05b[44]][_0xb05b[43]],rootPath:Util[_0xb05b[46]](_0x50ddx27[_0xb05b[45]])+_0xb05b[47],signedUp:_0xb05b[48],windowFocused:_0xb05b[48],isNewPage:_0xb05b[49],processingSignUp:_0xb05b[48],processingEnquiry:_0xb05b[48],processingSend:_0xb05b[48],processingRating:_0xb05b[48],visitorFullname:_0xb05b[50],visitorAvatar:_0xb05b[50],timerReadMessages:_0xb05b[51],timerCheckStatus:_0xb05b[51],isOnline:_0xb05b[48],decayHistory:0,defaultTimeout:5000,isInitialStatusCheck:_0xb05b[49],muteNotificationSoundOnce:_0xb05b[48],assetBase:Util[_0xb05b[46]](_0x50ddx27[_0xb05b[45]])+_0xb05b[52],hasSessionSaf:_0xb05b[48],restoreOpenState:_0xb05b[48],animateHover:_0x50ddx27[_0xb05b[53]],hideEmail:_0xb05b[48],hideOffline:_0xb05b[48],headerShape:_0x50ddx27[_0xb05b[54]],HeaderOnline:_0x50ddx27[_0xb05b[55]],OnlineMessage:_0x50ddx27[_0xb05b[56]],UsernamePlaceholder:_0x50ddx27[_0xb05b[57]],EmailPlaceholder:_0x50ddx27[_0xb05b[58]],StartChatButtonText:_0x50ddx27[_0xb05b[59]],OfflineMessage:_0x50ddx27[_0xb05b[60]],HeaderOffline:_0x50ddx27[_0xb05b[61]],EnquiryMessagePlaceholder:_0x50ddx27[_0xb05b[62]],EnquiryButtonText:_0x50ddx27[_0xb05b[63]],downloadTranscript:_0x50ddx27[_0xb05b[64]],RatingMessage:_0x50ddx27[_0xb05b[65]],RatingSend:_0x50ddx27[_0xb05b[66]],RatingSkip:_0x50ddx27[_0xb05b[67]],MessageAgentsBusy:_0x50ddx27[_0xb05b[68]],NameTitle:_0x50ddx27[_0xb05b[69]],EmailTitle:_0x50ddx27[_0xb05b[70]],MessageTitle:_0x50ddx27[_0xb05b[71]]};_0x50ddx28=Mustache[_0xb05b[72]](_0x50ddx28,_0x50ddx29);_0x50ddx23[_0xb05b[34]](_0x50ddx28)})[_0xb05b[33]](function(_0x50ddx25){_0x50ddx24(_0x50ddx25)})};exports[_0xb05b[74]]=function(_0x50ddx22,_0x50ddx23,_0x50ddx24){ChatWebsite[_0xb05b[73]](_0x50ddx22[_0xb05b[44]][_0xb05b[43]])[_0xb05b[36]](function(_0x50ddx27){_0x50ddx23[_0xb05b[41]]({"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65":_0xb05b[75],"\x78\x2D\x74\x69\x6D\x65\x73\x74\x61\x6D\x70":Date[_0xb05b[40]](),"\x78\x2D\x73\x65\x6E\x74":true});var _0x50ddx2a=xchatty_components[_0xb05b[76]];var _0x50ddx2b={assetBase:Util[_0xb05b[46]](_0x50ddx27[_0xb05b[45]])+_0xb05b[52],color:_0x50ddx27[_0xb05b[77]],colorFocus:_0x50ddx27[_0xb05b[78]],colorButton:_0x50ddx27[_0xb05b[79]]};_0x50ddx2a=Mustache[_0xb05b[72]](_0x50ddx2a,_0x50ddx2b);_0x50ddx23[_0xb05b[34]](_0x50ddx2a)})[_0xb05b[33]](function(_0x50ddx25){_0x50ddx24(_0x50ddx25)})};exports[_0xb05b[80]]=function(_0x50ddx22,_0x50ddx23,_0x50ddx24){_0x50ddx23[_0xb05b[89]](path[_0xb05b[88]](config[_0xb05b[81]],_0xb05b[82],_0xb05b[83],_0xb05b[84],_0xb05b[85],_0x50ddx22[_0xb05b[87]][_0xb05b[86]]))};exports[_0xb05b[90]]=function(_0x50ddx22,_0x50ddx23,_0x50ddx24){_0x50ddx23[_0xb05b[41]]({"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65":_0xb05b[39],"\x78\x2D\x74\x69\x6D\x65\x73\x74\x61\x6D\x70":Date[_0xb05b[40]](),"\x78\x2D\x73\x65\x6E\x74":true});var _0x50ddx2c=xchatty_components[_0xb05b[91]];_0x50ddx23[_0xb05b[34]](_0x50ddx2c)};exports[_0xb05b[92]]=function(_0x50ddx22,_0x50ddx23,_0x50ddx24){if(!_0x50ddx22[_0xb05b[93]][_0xb05b[84]]){_0x50ddx22[_0xb05b[93]][_0xb05b[84]]={}};var _0x50ddx2d={};return Agent[_0xb05b[37]]({where:{online:true,role:_0xb05b[112]}})[_0xb05b[36]](function(_0x50ddx30){if(_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[106]]){_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0xb05b[106]]=_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[106]]===_0xb05b[49]?true:false};_0x50ddx2d={success:true,has_session_saf:null,signed_up:_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0xb05b[102]]?true:false,fullname:_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0xb05b[108]]?_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0xb05b[108]]:_0xb05b[105],email:_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0xb05b[109]]?_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0xb05b[109]]:_0xb05b[105],avatar:_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0xb05b[110]]?_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0xb05b[110]]:_0xb05b[105],open_state:_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0xb05b[106]]||_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0xb05b[102]]?true:false,online:_0x50ddx30[_0xb05b[111]]?true:false,is_unserved:false,room_id:0};return})[_0xb05b[36]](function(){if(_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0xb05b[99]]){return ChatRoom[_0xb05b[101]]({where:{ChatVisitorId:_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0xb05b[99]],status:_0xb05b[104],token:{$ne:_0xb05b[105]}}})};return})[_0xb05b[36]](function(_0x50ddx2f){if(_0x50ddx2f){_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0xb05b[102]]=_0x50ddx2f[_0xb05b[43]];_0x50ddx2d[_0xb05b[102]]=_0x50ddx2f[_0xb05b[43]];_0x50ddx2d[_0xb05b[103]]=true}else {_0x50ddx2d[_0xb05b[103]]=false};return})[_0xb05b[36]](function(){if(_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0xb05b[99]]){return ChatVisitor[_0xb05b[101]]({where:{id:_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0xb05b[99]],status:_0xb05b[100]}})};return})[_0xb05b[36]](function(_0x50ddx2e){if(_0x50ddx2e){_0x50ddx2d[_0xb05b[94]]=true};return _0x50ddx23[_0xb05b[34]](_0x50ddx22[_0xb05b[87]][_0xb05b[95]]+_0xb05b[96]+JSON[_0xb05b[97]](_0x50ddx2d)+_0xb05b[98])})[_0xb05b[33]](function(_0x50ddx25){return _0x50ddx24(_0x50ddx25)})};exports[_0xb05b[113]]=function(_0x50ddx22,_0x50ddx23,_0x50ddx24){var _0x50ddx31=_0x50ddx22[_0xb05b[44]][_0xb05b[43]];var _0x50ddx32={where:{ChatRoomId:_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0x50ddx31][_0xb05b[102]]},include:[{model:User,attributes:[_0xb05b[43],_0xb05b[114],_0xb05b[108],_0xb05b[109]]},{model:ChatVisitor,attributes:[_0xb05b[43],_0xb05b[108],_0xb05b[109]]}]};if(_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[115]]===_0xb05b[48]){_0x50ddx32[_0xb05b[116]][_0xb05b[43]]={$gt:_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[117]]}};ChatMessage[_0xb05b[37]](_0x50ddx32)[_0xb05b[36]](function(_0x50ddx33){var _0x50ddx34={success:true,messages:_0x50ddx33,composing:false,composing_fullname:null};_0x50ddx23[_0xb05b[34]](_0x50ddx22[_0xb05b[87]][_0xb05b[95]]+_0xb05b[96]+JSON[_0xb05b[97]](_0x50ddx34)+_0xb05b[98])})[_0xb05b[33]](function(_0x50ddx25){_0x50ddx24(_0x50ddx25)})};exports[_0xb05b[118]]=function(_0x50ddx22,_0x50ddx23,_0x50ddx24){var _0x50ddx31=_0x50ddx22[_0xb05b[44]][_0xb05b[43]];var _0x50ddx32={where:{ChatRoomId:_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0x50ddx31][_0xb05b[102]]},include:[{model:User,attributes:[_0xb05b[43],_0xb05b[114],_0xb05b[108],_0xb05b[109]]},{model:ChatVisitor,attributes:[_0xb05b[43],_0xb05b[108],_0xb05b[109]]}]};if(_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[115]]===_0xb05b[48]){_0x50ddx32[_0xb05b[116]][_0xb05b[43]]={$gt:_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[117]]}};ChatMessage[_0xb05b[121]]({body:_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[120]][_0xb05b[119]],ChatRoomId:_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0x50ddx31][_0xb05b[102]],ChatVisitorId:_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0x50ddx31][_0xb05b[99]]})[_0xb05b[36]](function(_0x50ddx35){ChatMessage[_0xb05b[37]](_0x50ddx32)[_0xb05b[36]](function(_0x50ddx33){var _0x50ddx34={errors:[],success:true,data:_0x50ddx35,messages:_0x50ddx33};_0x50ddx23[_0xb05b[34]](_0x50ddx22[_0xb05b[87]][_0xb05b[95]]+_0xb05b[96]+JSON[_0xb05b[97]](_0x50ddx34)+_0xb05b[98])})[_0xb05b[33]](function(_0x50ddx25){_0x50ddx24(_0x50ddx25)})})[_0xb05b[33]](function(_0x50ddx25){_0x50ddx24(_0x50ddx25)})};exports[_0xb05b[122]]=function(_0x50ddx22,_0x50ddx23,_0x50ddx24){var _0x50ddx31=_0x50ddx22[_0xb05b[44]][_0xb05b[43]];return ChatRoom[_0xb05b[73]](_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0x50ddx31][_0xb05b[102]])[_0xb05b[36]](function(_0x50ddx2f){return _0x50ddx2f[_0xb05b[125]]({status:_0xb05b[123],completeReason:_0xb05b[124]})})[_0xb05b[36]](function(){var _0x50ddx34={success:true,errors:[]};_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0x50ddx31]={};_0x50ddx23[_0xb05b[34]](_0x50ddx22[_0xb05b[87]][_0xb05b[95]]+_0xb05b[96]+JSON[_0xb05b[97]](_0x50ddx34)+_0xb05b[98])})[_0xb05b[33]](function(_0x50ddx25){_0x50ddx24(_0x50ddx25)})};exports[_0xb05b[126]]=function(_0x50ddx22,_0x50ddx23,_0x50ddx24){var _0x50ddx31=_0x50ddx22[_0xb05b[44]][_0xb05b[43]];var _0x50ddx36=uaParser[_0xb05b[130]](_0x50ddx22[_0xb05b[129]][_0xb05b[128]])[_0xb05b[127]]();var _0x50ddx37=languageParser[_0xb05b[132]](_0x50ddx22[_0xb05b[129]][_0xb05b[131]]);var _0x50ddx38=_0x50ddx22[_0xb05b[129]][_0xb05b[133]]?_0x50ddx22[_0xb05b[129]][_0xb05b[133]]:_0x50ddx22[_0xb05b[135]][_0xb05b[134]]||_0x50ddx22[_0xb05b[136]];var _0x50ddx39={fullname:_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[137]][_0xb05b[108]],email:_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[137]][_0xb05b[109]],remote_address:_0x50ddx38,user_agent:_0x50ddx22[_0xb05b[129]][_0xb05b[128]],visitor_language:_0x50ddx22[_0xb05b[129]][_0xb05b[131]],referer:_0x50ddx22[_0xb05b[129]][_0xb05b[138]],origin:_0xb05b[139],browser:_0x50ddx36[_0xb05b[140]][_0xb05b[114]]+_0xb05b[141]+_0x50ddx36[_0xb05b[140]][_0xb05b[142]],engine:_0x50ddx36[_0xb05b[143]][_0xb05b[114]]+_0xb05b[141]+_0x50ddx36[_0xb05b[143]][_0xb05b[142]],os:_0x50ddx36[_0xb05b[144]][_0xb05b[114]]+_0xb05b[141]+_0x50ddx36[_0xb05b[144]][_0xb05b[142]],device:_0x50ddx36[_0xb05b[146]][_0xb05b[145]]?_0x50ddx36[_0xb05b[146]][_0xb05b[145]]+_0xb05b[141]+_0x50ddx36[_0xb05b[146]][_0xb05b[147]]+_0xb05b[141]+_0x50ddx36[_0xb05b[146]][_0xb05b[148]]:null,ChatWebsiteId:_0x50ddx22[_0xb05b[87]][_0xb05b[149]]};if(_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[137]][_0xb05b[150]]&&_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[137]][_0xb05b[151]]){_0x50ddx39[_0xb05b[150]]=_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[137]][_0xb05b[150]];_0x50ddx39[_0xb05b[151]]=_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[137]][_0xb05b[151]]};if(_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[137]][_0xb05b[152]]&&_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[137]][_0xb05b[153]]){_0x50ddx39[_0xb05b[152]]=_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[137]][_0xb05b[152]];_0x50ddx39[_0xb05b[153]]=_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[137]][_0xb05b[153]]};if(_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[137]][_0xb05b[154]]&&_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[137]][_0xb05b[155]]){_0x50ddx39[_0xb05b[154]]=_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[137]][_0xb05b[154]];_0x50ddx39[_0xb05b[155]]=_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[137]][_0xb05b[155]]};var _0x50ddx3a;return ChatVisitor[_0xb05b[121]](_0x50ddx39)[_0xb05b[36]](function(_0x50ddx3c){_0x50ddx3a=_0x50ddx3c;return ChatWebsite[_0xb05b[73]](_0x50ddx3a.ChatWebsiteId)})[_0xb05b[36]](function(_0x50ddx3b){if(_0x50ddx3b[_0xb05b[157]]){return Contact[_0xb05b[158]]({where:{email:_0x50ddx3a[_0xb05b[109]]},defaults:{email:_0x50ddx3a[_0xb05b[109]],firstName:_0x50ddx3a[_0xb05b[108]],ListId:_0x50ddx3b[_0xb05b[157]]}})}})[_0xb05b[36]](function(){_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0x50ddx31][_0xb05b[108]]=_0x50ddx3a[_0xb05b[108]];_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0x50ddx31][_0xb05b[109]]=_0x50ddx3a[_0xb05b[109]];_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0x50ddx31][_0xb05b[110]]=md5(_0x50ddx3a[_0xb05b[109]]).toString(_0xb05b[156]);_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0x50ddx31][_0xb05b[99]]=_0x50ddx3a[_0xb05b[43]];var _0x50ddx34={success:true,errors:[],chatVisitor:{id:_0x50ddx3a[_0xb05b[43]]}};_0x50ddx23[_0xb05b[34]](_0x50ddx22[_0xb05b[87]][_0xb05b[95]]+_0xb05b[96]+JSON[_0xb05b[97]](_0x50ddx34)+_0xb05b[98])})[_0xb05b[33]](function(_0x50ddx25){_0x50ddx24(_0x50ddx25)})};exports[_0xb05b[159]]=function(_0x50ddx22,_0x50ddx23,_0x50ddx24){var _0x50ddx31=_0x50ddx22[_0xb05b[44]][_0xb05b[43]];return ChatVisitor[_0xb05b[73]](_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0x50ddx31][_0xb05b[99]])[_0xb05b[36]](function(_0x50ddx3c){return _0x50ddx3c[_0xb05b[125]]({status:_0xb05b[100]})})[_0xb05b[36]](function(){var _0x50ddx34={success:true,errors:[]};_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0x50ddx31]={};_0x50ddx23[_0xb05b[34]](_0x50ddx22[_0xb05b[87]][_0xb05b[95]]+_0xb05b[96]+JSON[_0xb05b[97]](_0x50ddx34)+_0xb05b[98])})[_0xb05b[33]](function(_0x50ddx25){_0x50ddx24(_0x50ddx25)})};exports[_0xb05b[160]]=function(_0x50ddx22,_0x50ddx23,_0x50ddx24){return sequelize[_0xb05b[172]]()[_0xb05b[36]](function(_0x50ddx3d){var _0x50ddx38=_0x50ddx22[_0xb05b[129]][_0xb05b[133]]?_0x50ddx22[_0xb05b[129]][_0xb05b[133]]:_0x50ddx22[_0xb05b[135]][_0xb05b[134]]||_0x50ddx22[_0xb05b[136]];var _0x50ddx36=uaParser[_0xb05b[130]](_0x50ddx22[_0xb05b[129]][_0xb05b[128]])[_0xb05b[127]]();var _0x50ddx37=languageParser[_0xb05b[132]](_0x50ddx22[_0xb05b[129]][_0xb05b[131]]);var _0x50ddx39={fullname:_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[161]][_0xb05b[108]],email:_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[161]][_0xb05b[109]],remote_address:_0x50ddx38,user_agent:_0x50ddx22[_0xb05b[129]][_0xb05b[128]],visitor_language:_0x50ddx22[_0xb05b[129]][_0xb05b[131]],browser:_0x50ddx36[_0xb05b[140]][_0xb05b[114]]+_0xb05b[141]+_0x50ddx36[_0xb05b[140]][_0xb05b[142]],engine:_0x50ddx36[_0xb05b[143]][_0xb05b[114]]+_0xb05b[141]+_0x50ddx36[_0xb05b[143]][_0xb05b[142]],os:_0x50ddx36[_0xb05b[144]][_0xb05b[114]]+_0xb05b[141]+_0x50ddx36[_0xb05b[144]][_0xb05b[142]],device:_0x50ddx36[_0xb05b[146]][_0xb05b[145]]?_0x50ddx36[_0xb05b[146]][_0xb05b[145]]+_0xb05b[141]+_0x50ddx36[_0xb05b[146]][_0xb05b[147]]+_0xb05b[141]+_0x50ddx36[_0xb05b[146]][_0xb05b[148]]:null,referer:_0x50ddx22[_0xb05b[129]][_0xb05b[138]],origin:_0xb05b[162],status:_0xb05b[100],ChatWebsiteId:parseInt(_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[161]][_0xb05b[163]],10),ChatEnquiry:{username:_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[161]][_0xb05b[108]],email:_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[161]][_0xb05b[109]],text:_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[161]][_0xb05b[119]],ChatWebsiteId:parseInt(_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[161]][_0xb05b[163]],10)}};if(_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[161]][_0xb05b[164]]&&_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[161]][_0xb05b[165]]){_0x50ddx39[_0xb05b[164]]=_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[161]][_0xb05b[164]];_0x50ddx39[_0xb05b[165]]=_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[161]][_0xb05b[165]]};if(_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[161]][_0xb05b[166]]&&_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[161]][_0xb05b[167]]){_0x50ddx39[_0xb05b[166]]=_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[161]][_0xb05b[166]];_0x50ddx39[_0xb05b[167]]=_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[161]][_0xb05b[167]]};if(_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[161]][_0xb05b[168]]&&_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[161]][_0xb05b[169]]){_0x50ddx39[_0xb05b[168]]=_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[161]][_0xb05b[168]];_0x50ddx39[_0xb05b[169]]=_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[161]][_0xb05b[169]]};var _0x50ddx3a;return ChatVisitor[_0xb05b[121]](_0x50ddx39,{transaction:_0x50ddx3d,include:[{model:ChatEnquiry}]})[_0xb05b[36]](function(_0x50ddx3c){_0x50ddx3a=_0x50ddx3c;return ChatWebsite[_0xb05b[73]](_0x50ddx3a.ChatWebsiteId)})[_0xb05b[36]](function(_0x50ddx3b){if(_0x50ddx3b[_0xb05b[157]]){return Contact[_0xb05b[158]]({where:{email:_0x50ddx3a[_0xb05b[109]]},defaults:{email:_0x50ddx3a[_0xb05b[109]],firstName:_0x50ddx3a[_0xb05b[108]],ListId:_0x50ddx3b[_0xb05b[157]]}})}})[_0xb05b[36]](function(){_0x50ddx3d[_0xb05b[171]]();_0x50ddx23[_0xb05b[34]](_0x50ddx22[_0xb05b[87]][_0xb05b[95]]+_0xb05b[96]+JSON[_0xb05b[97]]({success:true,errors:[]})+_0xb05b[98])})[_0xb05b[33]](function(_0x50ddx25){_0x50ddx3d[_0xb05b[170]]();_0x50ddx24(_0x50ddx25)})})};exports[_0xb05b[173]]=function(_0x50ddx22,_0x50ddx23,_0x50ddx24){var _0x50ddx31=_0x50ddx22[_0xb05b[44]][_0xb05b[43]];if(_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0x50ddx31]&&_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0x50ddx31][_0xb05b[99]]&&_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0x50ddx31][_0xb05b[102]]){ChatMessage[_0xb05b[37]]({where:{ChatRoomId:_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0x50ddx31][_0xb05b[102]]},include:[{model:Agent,attributes:[_0xb05b[43],_0xb05b[108]]},{model:ChatVisitor,attributes:[_0xb05b[43],_0xb05b[108]]}]})[_0xb05b[36]](function(_0x50ddx33){var _0x50ddx3e=[];_0x50ddx33[_0xb05b[179]](function(_0x50ddx35){var _0x50ddx3f={name:_0x50ddx35[_0xb05b[174]]?_0x50ddx35[_0xb05b[21]][_0xb05b[108]]:_0x50ddx35[_0xb05b[24]][_0xb05b[108]],text:_0x50ddx35[_0xb05b[176]][_0xb05b[175]](/(\r\n|\n|\r)/gm,_0xb05b[141]),date:_0x50ddx35[_0xb05b[177]]};_0x50ddx3e[_0xb05b[178]](_0x50ddx3f)});var _0x50ddx40=csv(_0x50ddx3e);_0x50ddx23[_0xb05b[148]](_0xb05b[180])[_0xb05b[35]](200)[_0xb05b[34]](_0x50ddx40)})[_0xb05b[33]](function(_0x50ddx25){_0x50ddx24(_0x50ddx25)})}};exports[_0xb05b[181]]=function(_0x50ddx22,_0x50ddx23,_0x50ddx24){return Xchatty[_0xb05b[73]](_0x50ddx22[_0xb05b[44]][_0xb05b[43]])[_0xb05b[36]](function(_0x50ddx41){if(!_0x50ddx41){return _0x50ddx23[_0xb05b[182]](404)};return _0x50ddx23[_0xb05b[34]](_0x50ddx41)})[_0xb05b[33]](function(_0x50ddx25){return _0x50ddx24(_0x50ddx25)})};exports[_0xb05b[121]]=function(_0x50ddx22,_0x50ddx23,_0x50ddx24){return Xchatty[_0xb05b[121]](_0x50ddx22[_0xb05b[176]])[_0xb05b[36]](function(_0x50ddx41){return _0x50ddx23[_0xb05b[35]](201)[_0xb05b[34]](_0x50ddx41)})[_0xb05b[33]](function(_0x50ddx25){return _0x50ddx24(_0x50ddx25)})};exports[_0xb05b[125]]=function(_0x50ddx22,_0x50ddx23,_0x50ddx24){if(_0x50ddx22[_0xb05b[176]][_0xb05b[43]]){delete _0x50ddx22[_0xb05b[176]][_0xb05b[43]]};return Xchatty[_0xb05b[73]](_0x50ddx22[_0xb05b[44]][_0xb05b[43]])[_0xb05b[36]](function(_0x50ddx41){if(!_0x50ddx41){return _0x50ddx23[_0xb05b[182]](404)};var _0x50ddx42=_[_0xb05b[183]](_0x50ddx41,_0x50ddx22[_0xb05b[176]]);_0x50ddx42[_0xb05b[184]]()[_0xb05b[36]](function(){return _0x50ddx23[_0xb05b[35]](200)[_0xb05b[34]](_0x50ddx41)})[_0xb05b[33]](function(_0x50ddx25){return _0x50ddx24(_0x50ddx25)})})[_0xb05b[33]](function(_0x50ddx25){return _0x50ddx24(_0x50ddx25)})};exports[_0xb05b[185]]=function(_0x50ddx22,_0x50ddx23,_0x50ddx24){return Xchatty[_0xb05b[73]](_0x50ddx22[_0xb05b[44]][_0xb05b[43]])[_0xb05b[36]](function(_0x50ddx41){if(!_0x50ddx41){return _0x50ddx23[_0xb05b[182]](404)};_0x50ddx41[_0xb05b[185]]()[_0xb05b[36]](function(){return _0x50ddx23[_0xb05b[182]](204)})[_0xb05b[33]](function(_0x50ddx25){return _0x50ddx24(_0x50ddx25)})})[_0xb05b[33]](function(_0x50ddx25){return _0x50ddx24(_0x50ddx25)})};exports[_0xb05b[186]]=function(_0x50ddx22,_0x50ddx23,_0x50ddx24){var _0x50ddx43=xchatty_components[_0xb05b[187]];return ChatWebsite[_0xb05b[73]](_0x50ddx22[_0xb05b[44]][_0xb05b[43]],{include:[{all:true}]})[_0xb05b[36]](function(_0x50ddx27){var _0x50ddx44={rootPath:Util[_0xb05b[46]](_0x50ddx27[_0xb05b[45]])+_0xb05b[47],assetBase:Util[_0xb05b[46]](_0x50ddx27[_0xb05b[45]])+_0xb05b[52],websiteId:_0x50ddx27[_0xb05b[43]],headerShape:_0x50ddx27[_0xb05b[54]],enquiryEnable:_0x50ddx27[_0xb05b[188]],onlineFields:_0x50ddx27[_0xb05b[189]],renderedOnlineField:function(){var _0x50ddx45=_0xb05b[105];var _0x50ddx46=this;switch(this[_0xb05b[215]]){case _0xb05b[199]:_0x50ddx45=_0xb05b[190];_0x50ddx45+=util[_0xb05b[195]](_0xb05b[191],_0x50ddx46[_0xb05b[32]],_0x50ddx46[_0xb05b[192]],_0x50ddx46[_0xb05b[193]]?_0xb05b[194]:_0xb05b[105]);_0x50ddx45+=util[_0xb05b[195]](_0xb05b[196],_0x50ddx46[_0xb05b[192]],_0x50ddx46[_0xb05b[32]],_0x50ddx46[_0xb05b[32]]+1,_0x50ddx46[_0xb05b[197]],_0x50ddx46[_0xb05b[193]]?_0xb05b[193]:_0xb05b[105]);_0x50ddx45+=_0xb05b[198];break;case _0xb05b[201]:_0x50ddx45=_0xb05b[190];_0x50ddx45+=util[_0xb05b[195]](_0xb05b[191],_0x50ddx46[_0xb05b[32]],_0x50ddx46[_0xb05b[192]],_0x50ddx46[_0xb05b[193]]?_0xb05b[194]:_0xb05b[105]);_0x50ddx45+=util[_0xb05b[195]](_0xb05b[200],_0x50ddx46[_0xb05b[32]],_0x50ddx46[_0xb05b[192]],_0x50ddx46[_0xb05b[32]]+1,_0x50ddx46[_0xb05b[197]],_0x50ddx46[_0xb05b[193]]?_0xb05b[193]:_0xb05b[105]);_0x50ddx45+=_0xb05b[198];break;case _0xb05b[207]:_0x50ddx45=_0xb05b[190];_0x50ddx45+=util[_0xb05b[195]](_0xb05b[202],_0x50ddx46[_0xb05b[192]]);_[_0xb05b[179]](_0x50ddx46[_0xb05b[203]],function(_0x50ddx47){_0x50ddx45+=_0xb05b[204];_0x50ddx45+=util[_0xb05b[195]](_0xb05b[205],_0x50ddx46[_0xb05b[32]]+1,_0x50ddx47,_0x50ddx47);_0x50ddx45+=_0xb05b[206]});_0x50ddx45+=_0xb05b[198];break;case _0xb05b[209]:_0x50ddx45=_0xb05b[190];_0x50ddx45+=util[_0xb05b[195]](_0xb05b[202],_0x50ddx46[_0xb05b[192]]);_[_0xb05b[179]](_0x50ddx46[_0xb05b[203]],function(_0x50ddx47){_0x50ddx45+=_0xb05b[204];_0x50ddx45+=util[_0xb05b[195]](_0xb05b[208],_0x50ddx46[_0xb05b[32]]+1,_0x50ddx47,_0x50ddx47);_0x50ddx45+=_0xb05b[206]});_0x50ddx45+=_0xb05b[198];break;case _0xb05b[214]:_0x50ddx45=_0xb05b[190];_0x50ddx45+=util[_0xb05b[195]](_0xb05b[210],_0x50ddx46[_0xb05b[32]],_0x50ddx46[_0xb05b[192]]);_0x50ddx45+=util[_0xb05b[195]](_0xb05b[211],_0x50ddx46[_0xb05b[32]]+1);_[_0xb05b[179]](_0x50ddx46[_0xb05b[203]],function(_0x50ddx47){_0x50ddx45+=util[_0xb05b[195]](_0xb05b[212],_0x50ddx47,_0x50ddx47)});_0x50ddx45+=_0xb05b[213];break};_0x50ddx45+=_0xb05b[216];_0x50ddx45+=util[_0xb05b[195]](_0xb05b[217],_0x50ddx46[_0xb05b[32]]+1,_0x50ddx46[_0xb05b[192]]);return _0x50ddx45},offlineFields:_0x50ddx27[_0xb05b[218]],renderedOfflineField:function(){var _0x50ddx45=_0xb05b[105];var _0x50ddx46=this;switch(this[_0xb05b[215]]){case _0xb05b[199]:_0x50ddx45=_0xb05b[190];_0x50ddx45+=util[_0xb05b[195]](_0xb05b[219],_0x50ddx46[_0xb05b[32]],_0x50ddx46[_0xb05b[192]],_0x50ddx46[_0xb05b[193]]?_0xb05b[194]:_0xb05b[105]);_0x50ddx45+=util[_0xb05b[195]](_0xb05b[220],_0x50ddx46[_0xb05b[192]],_0x50ddx46[_0xb05b[32]],_0x50ddx46[_0xb05b[32]]+1,_0x50ddx46[_0xb05b[197]],_0x50ddx46[_0xb05b[193]]?_0xb05b[193]:_0xb05b[105]);_0x50ddx45+=_0xb05b[198];break;case _0xb05b[201]:_0x50ddx45=_0xb05b[190];_0x50ddx45+=util[_0xb05b[195]](_0xb05b[219],_0x50ddx46[_0xb05b[32]],_0x50ddx46[_0xb05b[192]],_0x50ddx46[_0xb05b[193]]?_0xb05b[194]:_0xb05b[105]);_0x50ddx45+=util[_0xb05b[195]](_0xb05b[221],_0x50ddx46[_0xb05b[32]],_0x50ddx46[_0xb05b[192]],_0x50ddx46[_0xb05b[32]]+1,_0x50ddx46[_0xb05b[197]],_0x50ddx46[_0xb05b[193]]?_0xb05b[193]:_0xb05b[105]);_0x50ddx45+=_0xb05b[198];break;case _0xb05b[207]:_0x50ddx45=_0xb05b[190];_0x50ddx45+=util[_0xb05b[195]](_0xb05b[202],_0x50ddx46[_0xb05b[192]]);_[_0xb05b[179]](_0x50ddx46[_0xb05b[203]],function(_0x50ddx47){_0x50ddx45+=_0xb05b[204];_0x50ddx45+=util[_0xb05b[195]](_0xb05b[222],_0x50ddx46[_0xb05b[32]]+1,_0x50ddx47,_0x50ddx47);_0x50ddx45+=_0xb05b[206]});_0x50ddx45+=_0xb05b[198];break;case _0xb05b[209]:_0x50ddx45=_0xb05b[190];_0x50ddx45+=util[_0xb05b[195]](_0xb05b[202],_0x50ddx46[_0xb05b[192]]);_[_0xb05b[179]](_0x50ddx46[_0xb05b[203]],function(_0x50ddx47){_0x50ddx45+=_0xb05b[204];_0x50ddx45+=util[_0xb05b[195]](_0xb05b[223],_0x50ddx46[_0xb05b[32]]+1,_0x50ddx47,_0x50ddx47);_0x50ddx45+=_0xb05b[206]});_0x50ddx45+=_0xb05b[198];break;case _0xb05b[214]:_0x50ddx45=_0xb05b[190];_0x50ddx45+=util[_0xb05b[195]](_0xb05b[202],_0x50ddx46[_0xb05b[192]]);_0x50ddx45+=util[_0xb05b[195]](_0xb05b[224],_0x50ddx46[_0xb05b[32]]+1);_[_0xb05b[179]](_0x50ddx46[_0xb05b[203]],function(_0x50ddx47){_0x50ddx45+=util[_0xb05b[195]](_0xb05b[212],_0x50ddx47,_0x50ddx47)});_0x50ddx45+=_0xb05b[213];break};_0x50ddx45+=_0xb05b[216];_0x50ddx45+=util[_0xb05b[195]](_0xb05b[225],_0x50ddx46[_0xb05b[32]]+1,_0x50ddx46[_0xb05b[192]]);return _0x50ddx45}};_0x50ddx43=Mustache[_0xb05b[72]](_0x50ddx43,_0x50ddx44);return _0x50ddx23[_0xb05b[35]](200)[_0xb05b[226]](_0x50ddx43)})[_0xb05b[33]](function(_0x50ddx25){return _0x50ddx24(_0x50ddx25)})};exports[_0xb05b[227]]=function(_0x50ddx22,_0x50ddx23,_0x50ddx24){return ChatWebsite[_0xb05b[73]](_0x50ddx22[_0xb05b[44]][_0xb05b[43]],{include:[{model:ChatProactiveAction}]})[_0xb05b[36]](function(_0x50ddx27){if(!_0x50ddx27){return _0x50ddx23[_0xb05b[35]](400)[_0xb05b[226]]({})};return _0x50ddx23[_0xb05b[35]](200)[_0xb05b[226]](_0x50ddx27.ChatProactiveActions)})[_0xb05b[33]](function(_0x50ddx25){return _0x50ddx24(_0x50ddx25)})};exports[_0xb05b[228]]=function(_0x50ddx22,_0x50ddx23,_0x50ddx24){return ChatRoom[_0xb05b[73]](_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[231]][_0xb05b[102]])[_0xb05b[36]](function(_0x50ddx2f){if(!_0x50ddx2f){return _0x50ddx23[_0xb05b[35]](400)[_0xb05b[226]]({})};if(_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[231]][_0xb05b[230]](_0xb05b[229])&&_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[231]][_0xb05b[230]](_0xb05b[119])){return _0x50ddx2f[_0xb05b[125]]({rating:_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[231]][_0xb05b[229]],ratingMessage:_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[231]][_0xb05b[119]]})};return})[_0xb05b[36]](function(){return _0x50ddx23[_0xb05b[35]](200)[_0xb05b[226]]({})})[_0xb05b[33]](function(_0x50ddx25){return _0x50ddx23[_0xb05b[35]](400)[_0xb05b[226]](_0x50ddx25)})};exports[_0xb05b[232]]=function(_0x50ddx22,_0x50ddx23,_0x50ddx24){var _0x50ddx31=_0x50ddx22[_0xb05b[44]][_0xb05b[43]];if(_0x50ddx22[_0xb05b[93]]&&_0x50ddx22[_0xb05b[93]][_0xb05b[84]]){if(_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0xb05b[230]](_0x50ddx31)&&_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0x50ddx31][_0xb05b[230]](_0xb05b[99])&&_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0x50ddx31][_0xb05b[99]]>0){return ReportChatSession[_0xb05b[234]]({where:{visitorid:_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0x50ddx31][_0xb05b[99]],leaveAt:null}})[_0xb05b[36]](function(_0x50ddx48){if(!_0x50ddx48){return};return _0x50ddx48[_0xb05b[125]]({abandon:true,leaveAt:moment()[_0xb05b[195]](_0xb05b[233])})})[_0xb05b[36]](function(){return _0x50ddx23[_0xb05b[35]](200)[_0xb05b[226]]({})})[_0xb05b[33]](function(_0x50ddx25){_0x50ddx23[_0xb05b[35]](500)[_0xb05b[226]]({})})}};return _0x50ddx23[_0xb05b[35]](200)[_0xb05b[226]]({})};exports[_0xb05b[235]]=function(_0x50ddx22,_0x50ddx23,_0x50ddx24){if(!_0x50ddx22[_0xb05b[93]][_0xb05b[84]]){_0x50ddx22[_0xb05b[93]][_0xb05b[84]]={}};if(!_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0x50ddx22[_0xb05b[44]][_0xb05b[43]]]){_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0x50ddx22[_0xb05b[44]][_0xb05b[43]]]={}};var _0x50ddx31=_0x50ddx22[_0xb05b[44]][_0xb05b[43]];var _0x50ddx49;var _0x50ddx2d={};var _0x50ddx4a=[];return ChatWebsite[_0xb05b[73]](_0x50ddx31)[_0xb05b[36]](function(_0x50ddx3b){if(!_0x50ddx3b){return _0x50ddx23[_0xb05b[182]](500)};_0x50ddx49=_0x50ddx3b;return _0x50ddx49[_0xb05b[245]]({include:[{model:ChatQueue,include:[{model:Agent}]},{model:Agent}]})})[_0xb05b[36]](function(_0x50ddx4c){_[_0xb05b[179]](_0x50ddx4c,function(_0x50ddx4d){if(_0x50ddx4d[_0xb05b[239]]===_0xb05b[240]){if(_0x50ddx4d[_0xb05b[30]][_0xb05b[230]](_0xb05b[241])&&_0x50ddx4d[_0xb05b[30]][_0xb05b[241]][_0xb05b[111]]>0){_0x50ddx4a=_[_0xb05b[243]](_[_0xb05b[183]](_0x50ddx4a,_[_0xb05b[242]](_0x50ddx4d[_0xb05b[30]].Users,_0xb05b[43])))}}else {if(_0x50ddx4d[_0xb05b[239]]===_0xb05b[112]){_0x50ddx4a[_0xb05b[178]](_0x50ddx4d[_0xb05b[21]][_0xb05b[43]]);_0x50ddx4a=_[_0xb05b[243]](_0x50ddx4a)}}});return Agent[_0xb05b[244]]({where:{online:true,id:{$in:_0x50ddx4a}}})})[_0xb05b[36]](function(_0x50ddx4b){if(_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[106]]){_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0x50ddx31][_0xb05b[106]]=_0x50ddx22[_0xb05b[87]][_0xb05b[107]][_0xb05b[106]]===_0xb05b[49]?true:false};_0x50ddx2d={success:true,has_session_saf:null,signed_up:_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0x50ddx31][_0xb05b[102]]?true:false,fullname:_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0x50ddx31][_0xb05b[108]]||_0xb05b[105],email:_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0x50ddx31][_0xb05b[109]]||_0xb05b[105],avatar:_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0x50ddx31][_0xb05b[110]]||_0xb05b[105],open_state:_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0x50ddx31][_0xb05b[106]]||_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0x50ddx31][_0xb05b[102]]?true:false,online:_0x50ddx4b[_0xb05b[238]]?true:false,is_unserved:false,room_id:0};if(_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0x50ddx31][_0xb05b[99]]){return ChatRoom[_0xb05b[101]]({where:{ChatVisitorId:_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0x50ddx31][_0xb05b[99]],status:_0xb05b[104],token:{$ne:_0xb05b[105]}}})};return})[_0xb05b[36]](function(_0x50ddx2f){if(_0x50ddx2f){_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0x50ddx31][_0xb05b[102]]=_0x50ddx2f[_0xb05b[43]];_0x50ddx2d[_0xb05b[102]]=_0x50ddx2f[_0xb05b[43]];_0x50ddx2d[_0xb05b[103]]=true}else {_0x50ddx2d[_0xb05b[103]]=false};if(_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0x50ddx31][_0xb05b[99]]){return ChatVisitor[_0xb05b[101]]({where:{id:_0x50ddx22[_0xb05b[93]][_0xb05b[84]][_0x50ddx31][_0xb05b[99]],status:_0xb05b[100]}})};return})[_0xb05b[36]](function(_0x50ddx2e){if(_0x50ddx2e){_0x50ddx2d[_0xb05b[94]]=true};return _0x50ddx23[_0xb05b[35]](200)[_0xb05b[226]](_0x50ddx2d)})[_0xb05b[33]](function(_0x50ddx25){console[_0xb05b[237]](_0xb05b[236],_0x50ddx25);return _0x50ddx23[_0xb05b[35]](500)[_0xb05b[226]]({})})} \ No newline at end of file diff --git a/server/api/xchatty/xchatty.socket.js b/server/api/xchatty/xchatty.socket.js index b1b8078..d0046e6 100644 --- a/server/api/xchatty/xchatty.socket.js +++ b/server/api/xchatty/xchatty.socket.js @@ -1 +1 @@ -var _0xd86b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x58\x63\x68\x61\x74\x74\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x78\x63\x68\x61\x74\x74\x79\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x78\x63\x68\x61\x74\x74\x79\x3A\x72\x65\x6D\x6F\x76\x65"];_0xd86b[0];var xchatty=require(_0xd86b[2])[_0xd86b[1]];exports[_0xd86b[3]]=function(_0xea8cx2){};function onSave(_0xea8cx2,_0xea8cx4,_0xea8cx5){_0xea8cx2[_0xd86b[5]](_0xd86b[4],_0xea8cx4)}function onRemove(_0xea8cx2,_0xea8cx4,_0xea8cx5){_0xea8cx2[_0xd86b[5]](_0xd86b[6],_0xea8cx4)} \ No newline at end of file +var _0x38b4=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x58\x63\x68\x61\x74\x74\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x78\x63\x68\x61\x74\x74\x79\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x78\x63\x68\x61\x74\x74\x79\x3A\x72\x65\x6D\x6F\x76\x65"];_0x38b4[0];var xchatty=require(_0x38b4[2])[_0x38b4[1]];exports[_0x38b4[3]]=function(_0x1772x2){};function onSave(_0x1772x2,_0x1772x4,_0x1772x5){_0x1772x2[_0x38b4[5]](_0x38b4[4],_0x1772x4)}function onRemove(_0x1772x2,_0x1772x4,_0x1772x5){_0x1772x2[_0x38b4[5]](_0x38b4[6],_0x1772x4)} \ No newline at end of file diff --git a/server/api/zendesk_account/index.js b/server/api/zendesk_account/index.js index da76436..aa05753 100644 --- a/server/api/zendesk_account/index.js +++ b/server/api/zendesk_account/index.js @@ -1 +1 @@ -var _0xcd91=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x7A\x65\x6E\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x63\x68\x65\x63\x6B","\x63\x68\x65\x63\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x2F\x3A\x69\x64\x2F\x66\x69\x65\x6C\x64\x73","\x67\x65\x74\x46\x69\x65\x6C\x64\x73","\x2F\x3A\x69\x64\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x67\x65\x74\x41\x63\x63\x6F\x75\x6E\x74\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x63\x69\x64","\x67\x65\x74\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2F\x76\x61\x6C\x69\x64\x61\x74\x65\x2F\x3A\x66\x69\x65\x6C\x64","\x7A\x65\x6E\x64\x65\x73\x6B\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x70\x6F\x73\x74","\x63\x72\x65\x61\x74\x65","\x63\x72\x65\x61\x74\x65\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2F\x3A\x69\x64\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x63\x69\x64\x2F\x3A\x74\x79\x70\x65","\x63\x72\x65\x61\x74\x65\x46\x69\x65\x6C\x64","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x2F\x3A\x69\x64\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x63\x69\x64\x2F\x74\x61\x67\x73","\x61\x64\x64\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x54\x61\x67\x73","\x2F\x3A\x69\x64\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x63\x69\x64\x2F\x66\x69\x65\x6C\x64\x73\x2F\x3A\x66\x69\x64","\x75\x70\x64\x61\x74\x65\x46\x69\x65\x6C\x64","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x64\x65\x73\x74\x72\x6F\x79\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x64\x65\x73\x74\x72\x6F\x79\x46\x69\x65\x6C\x64","\x65\x78\x70\x6F\x72\x74\x73"];_0xcd91[0];var express=require(_0xcd91[1]);var auth=require(_0xcd91[2]);var controller=require(_0xcd91[3]);var router=express.Router();router[_0xcd91[9]](_0xcd91[4],auth[_0xcd91[5]](),auth[_0xcd91[7]]([19,13],[_0xcd91[6]]),controller[_0xcd91[8]]);router[_0xcd91[9]](_0xcd91[10],auth[_0xcd91[5]](),auth[_0xcd91[7]]([19],[_0xcd91[6]]),controller[_0xcd91[11]]);router[_0xcd91[9]](_0xcd91[12],auth[_0xcd91[5]](),auth[_0xcd91[7]]([19],[_0xcd91[6]]),controller[_0xcd91[13]]);router[_0xcd91[9]](_0xcd91[14],auth[_0xcd91[5]](),auth[_0xcd91[7]]([19],[_0xcd91[6]]),controller[_0xcd91[15]]);router[_0xcd91[9]](_0xcd91[16],auth[_0xcd91[5]](),auth[_0xcd91[7]]([19],[_0xcd91[6]]),controller[_0xcd91[17]]);router[_0xcd91[9]](_0xcd91[18],auth[_0xcd91[5]](),auth[_0xcd91[7]]([19],[_0xcd91[6]]),controller[_0xcd91[19]]);router[_0xcd91[22]](_0xcd91[20],auth[_0xcd91[5]](),auth[_0xcd91[7]]([19],[_0xcd91[6]]),controller[_0xcd91[21]]);router[_0xcd91[22]](_0xcd91[4],auth[_0xcd91[5]](),auth[_0xcd91[7]]([19],[_0xcd91[6]]),controller[_0xcd91[23]]);router[_0xcd91[22]](_0xcd91[16],auth[_0xcd91[5]](),auth[_0xcd91[7]]([19],[_0xcd91[6]]),controller[_0xcd91[24]]);router[_0xcd91[22]](_0xcd91[25],auth[_0xcd91[5]](),auth[_0xcd91[7]]([19],[_0xcd91[6]]),controller[_0xcd91[26]]);router[_0xcd91[28]](_0xcd91[10],auth[_0xcd91[5]](),auth[_0xcd91[7]]([19],[_0xcd91[6]]),controller[_0xcd91[27]]);router[_0xcd91[28]](_0xcd91[29],auth[_0xcd91[5]](),auth[_0xcd91[7]]([19],[_0xcd91[6]]),controller[_0xcd91[30]]);router[_0xcd91[28]](_0xcd91[31],auth[_0xcd91[5]](),auth[_0xcd91[7]]([19],[_0xcd91[6]]),controller[_0xcd91[32]]);router[_0xcd91[34]](_0xcd91[4],auth[_0xcd91[5]](),auth[_0xcd91[7]]([19],[_0xcd91[6]]),controller[_0xcd91[33]]);router[_0xcd91[34]](_0xcd91[10],auth[_0xcd91[5]](),auth[_0xcd91[7]]([19],[_0xcd91[6]]),controller[_0xcd91[35]]);router[_0xcd91[34]](_0xcd91[16],auth[_0xcd91[5]](),auth[_0xcd91[7]]([19],[_0xcd91[6]]),controller[_0xcd91[36]]);router[_0xcd91[34]](_0xcd91[18],auth[_0xcd91[5]](),auth[_0xcd91[7]]([19],[_0xcd91[6]]),controller[_0xcd91[37]]);router[_0xcd91[34]](_0xcd91[31],auth[_0xcd91[5]](),auth[_0xcd91[7]]([19],[_0xcd91[6]]),controller[_0xcd91[38]]);module[_0xcd91[39]]=router \ No newline at end of file +var _0x4bd4=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x7A\x65\x6E\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x63\x68\x65\x63\x6B","\x63\x68\x65\x63\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x2F\x3A\x69\x64\x2F\x66\x69\x65\x6C\x64\x73","\x67\x65\x74\x46\x69\x65\x6C\x64\x73","\x2F\x3A\x69\x64\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x67\x65\x74\x41\x63\x63\x6F\x75\x6E\x74\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x2F\x3A\x69\x64\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x63\x69\x64","\x67\x65\x74\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2F\x76\x61\x6C\x69\x64\x61\x74\x65\x2F\x3A\x66\x69\x65\x6C\x64","\x7A\x65\x6E\x64\x65\x73\x6B\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x70\x6F\x73\x74","\x63\x72\x65\x61\x74\x65","\x63\x72\x65\x61\x74\x65\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2F\x3A\x69\x64\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x63\x69\x64\x2F\x3A\x74\x79\x70\x65","\x63\x72\x65\x61\x74\x65\x46\x69\x65\x6C\x64","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x2F\x3A\x69\x64\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x63\x69\x64\x2F\x74\x61\x67\x73","\x61\x64\x64\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x54\x61\x67\x73","\x2F\x3A\x69\x64\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73\x2F\x3A\x63\x69\x64\x2F\x66\x69\x65\x6C\x64\x73\x2F\x3A\x66\x69\x64","\x75\x70\x64\x61\x74\x65\x46\x69\x65\x6C\x64","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x64\x65\x73\x74\x72\x6F\x79\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x64\x65\x73\x74\x72\x6F\x79\x46\x69\x65\x6C\x64","\x65\x78\x70\x6F\x72\x74\x73"];_0x4bd4[0];var express=require(_0x4bd4[1]);var auth=require(_0x4bd4[2]);var controller=require(_0x4bd4[3]);var router=express.Router();router[_0x4bd4[9]](_0x4bd4[4],auth[_0x4bd4[5]](),auth[_0x4bd4[7]]([19,13],[_0x4bd4[6]]),controller[_0x4bd4[8]]);router[_0x4bd4[9]](_0x4bd4[10],auth[_0x4bd4[5]](),auth[_0x4bd4[7]]([19],[_0x4bd4[6]]),controller[_0x4bd4[11]]);router[_0x4bd4[9]](_0x4bd4[12],auth[_0x4bd4[5]](),auth[_0x4bd4[7]]([19],[_0x4bd4[6]]),controller[_0x4bd4[13]]);router[_0x4bd4[9]](_0x4bd4[14],auth[_0x4bd4[5]](),auth[_0x4bd4[7]]([19],[_0x4bd4[6]]),controller[_0x4bd4[15]]);router[_0x4bd4[9]](_0x4bd4[16],auth[_0x4bd4[5]](),auth[_0x4bd4[7]]([19],[_0x4bd4[6]]),controller[_0x4bd4[17]]);router[_0x4bd4[9]](_0x4bd4[18],auth[_0x4bd4[5]](),auth[_0x4bd4[7]]([19],[_0x4bd4[6]]),controller[_0x4bd4[19]]);router[_0x4bd4[22]](_0x4bd4[20],auth[_0x4bd4[5]](),auth[_0x4bd4[7]]([19],[_0x4bd4[6]]),controller[_0x4bd4[21]]);router[_0x4bd4[22]](_0x4bd4[4],auth[_0x4bd4[5]](),auth[_0x4bd4[7]]([19],[_0x4bd4[6]]),controller[_0x4bd4[23]]);router[_0x4bd4[22]](_0x4bd4[16],auth[_0x4bd4[5]](),auth[_0x4bd4[7]]([19],[_0x4bd4[6]]),controller[_0x4bd4[24]]);router[_0x4bd4[22]](_0x4bd4[25],auth[_0x4bd4[5]](),auth[_0x4bd4[7]]([19],[_0x4bd4[6]]),controller[_0x4bd4[26]]);router[_0x4bd4[28]](_0x4bd4[10],auth[_0x4bd4[5]](),auth[_0x4bd4[7]]([19],[_0x4bd4[6]]),controller[_0x4bd4[27]]);router[_0x4bd4[28]](_0x4bd4[29],auth[_0x4bd4[5]](),auth[_0x4bd4[7]]([19],[_0x4bd4[6]]),controller[_0x4bd4[30]]);router[_0x4bd4[28]](_0x4bd4[31],auth[_0x4bd4[5]](),auth[_0x4bd4[7]]([19],[_0x4bd4[6]]),controller[_0x4bd4[32]]);router[_0x4bd4[34]](_0x4bd4[4],auth[_0x4bd4[5]](),auth[_0x4bd4[7]]([19],[_0x4bd4[6]]),controller[_0x4bd4[33]]);router[_0x4bd4[34]](_0x4bd4[10],auth[_0x4bd4[5]](),auth[_0x4bd4[7]]([19],[_0x4bd4[6]]),controller[_0x4bd4[35]]);router[_0x4bd4[34]](_0x4bd4[16],auth[_0x4bd4[5]](),auth[_0x4bd4[7]]([19],[_0x4bd4[6]]),controller[_0x4bd4[36]]);router[_0x4bd4[34]](_0x4bd4[18],auth[_0x4bd4[5]](),auth[_0x4bd4[7]]([19],[_0x4bd4[6]]),controller[_0x4bd4[37]]);router[_0x4bd4[34]](_0x4bd4[31],auth[_0x4bd4[5]](),auth[_0x4bd4[7]]([19],[_0x4bd4[6]]),controller[_0x4bd4[38]]);module[_0x4bd4[39]]=router \ No newline at end of file diff --git a/server/api/zendesk_account/zendesk_account.controller.js b/server/api/zendesk_account/zendesk_account.controller.js index 69e8b1c..59664e6 100644 --- a/server/api/zendesk_account/zendesk_account.controller.js +++ b/server/api/zendesk_account/zendesk_account.controller.js @@ -1 +1 @@ -var _0x1b98=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x6E\x6F\x64\x65\x2D\x7A\x65\x6E\x64\x65\x73\x6B","\x5A\x65\x6E\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x5A\x65\x6E\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x5A\x65\x6E\x64\x65\x73\x6B\x46\x69\x65\x6C\x64","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x73\x63\x6F\x70\x65","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x7A\x65\x6E\x64\x65\x73\x6B\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x66\x69\x65\x6C\x64","\x76\x61\x6C\x75\x65","\x63\x6F\x75\x6E\x74","\x63\x68\x65\x63\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x72\x65\x6D\x6F\x74\x65\x55\x72\x69","\x61\x75\x74\x68\x54\x79\x70\x65","\x70\x61\x73\x73\x77\x6F\x72\x64","\x74\x6F\x6B\x65\x6E","\x63\x72\x65\x61\x74\x65\x43\x6C\x69\x65\x6E\x74","\x65\x72\x72\x6F\x72","\x76\x65\x72\x69\x66\x69\x65\x64","\x61\x75\x74\x68","\x75\x73\x65\x72\x73","\x67\x65\x74\x46\x69\x65\x6C\x64\x73","\x6C\x69\x73\x74","\x74\x69\x63\x6B\x65\x74\x66\x69\x65\x6C\x64\x73","\x67\x65\x74\x41\x63\x63\x6F\x75\x6E\x74\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x61\x63\x63\x6F\x75\x6E\x74","\x67\x65\x74\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x63\x69\x64","\x64\x65\x73\x74\x72\x6F\x79\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x63\x72\x65\x61\x74\x65\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x53\x75\x62\x6A\x65\x63\x74","\x73\x74\x72\x69\x6E\x67","\x5B\x78\x43\x41\x4C\x4C\x59\x20\x54\x69\x63\x6B\x65\x74\x5D","\x76\x61\x72\x69\x61\x62\x6C\x65","","\x71\x75\x65\x75\x65","\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x75\x6D","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x2A\x2A\x2A\x20\x43\x61\x6C\x6C\x20\x49\x6E\x66\x6F\x20\x2A\x2A\x2A","\x6B\x65\x79\x56\x61\x6C\x75\x65","\x43\x61\x6C\x6C\x65\x72\x20\x4E\x75\x6D\x62\x65\x72\x3A","\x43\x61\x6C\x6C\x65\x72\x20\x4E\x61\x6D\x65\x3A","\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x61\x6D\x65","\x43\x61\x6C\x6C\x20\x54\x6F\x3A","\x64\x65\x73\x74\x65\x78\x74\x65\x6E","\x51\x75\x65\x75\x65\x3A","\x55\x6E\x69\x71\x75\x65\x49\x64\x3A","\x75\x6E\x69\x71\x75\x65\x69\x64","\x44\x61\x74\x65\x3A","\x61\x67\x65\x6E\x74\x63\x61\x6C\x6C\x65\x64\x41\x74","\x2A\x2A\x2A\x20\x41\x67\x65\x6E\x74\x20\x49\x6E\x66\x6F\x20\x2A\x2A\x2A","\x41\x67\x65\x6E\x74\x20\x4E\x61\x6D\x65\x3A","\x64\x65\x73\x74\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x61\x6D\x65","\x41\x67\x65\x6E\x74\x20\x4E\x75\x6D\x62\x65\x72\x3A","\x64\x65\x73\x74\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x75\x6D","\x2A\x2A\x2A\x20\x54\x69\x6D\x65\x20\x49\x6E\x66\x6F\x20\x2A\x2A\x2A","\x41\x67\x65\x6E\x74\x20\x52\x69\x6E\x67\x3A","\x41\x67\x65\x6E\x74\x20\x43\x6F\x6E\x6E\x65\x63\x74\x3A","\x61\x67\x65\x6E\x74\x63\x6F\x6E\x6E\x65\x63\x74\x41\x74","\x41\x67\x65\x6E\x74\x20\x43\x6F\x6D\x70\x6C\x65\x74\x65\x3A","\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65\x41\x74","\x48\x6F\x6C\x64\x20\x54\x69\x6D\x65\x3A","\x68\x6F\x6C\x64\x74\x69\x6D\x65","\x54\x61\x6C\x6B\x20\x54\x69\x6D\x65\x3A","\x74\x61\x6C\x6B\x74\x69\x6D\x65","\x76\x6F\x69\x63\x65","\x43\x68\x61\x6E\x6E\x65\x6C\x20\x6E\x6F\x74\x20\x61\x76\x61\x69\x6C\x61\x62\x6C\x65\x3A","\x63\x68\x61\x6E\x6E\x65\x6C","\x6C\x6F\x67","\x63\x72\x65\x61\x74\x65\x46\x69\x65\x6C\x64","\x53\x75\x62\x6A\x65\x63\x74\x49\x64","\x73\x75\x62\x6A\x65\x63\x74","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E\x49\x64","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x46\x69\x65\x6C\x64\x49\x64","\x74\x79\x70\x65","\x75\x70\x64\x61\x74\x65\x46\x69\x65\x6C\x64","\x66\x69\x64","\x64\x65\x73\x74\x72\x6F\x79\x46\x69\x65\x6C\x64","\x61\x64\x64\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x54\x61\x67\x73","\x73\x65\x74\x54\x61\x67\x73"];_0x1b98[0];var _=require(_0x1b98[1]);var Util=require(_0x1b98[2]);var zendesk=require(_0x1b98[3]);var ZendeskAccount=require(_0x1b98[5])[_0x1b98[4]];var ZendeskConfiguration=require(_0x1b98[5])[_0x1b98[6]];var ZendeskField=require(_0x1b98[5])[_0x1b98[7]];function handleError(_0xee80x8,_0xee80x9){_0xee80x9=_0xee80x9||500;return function(_0xee80xa){_0xee80x8[_0x1b98[9]](_0xee80x9)[_0x1b98[8]](_0xee80xa)}}function responseWithResult(_0xee80x8,_0xee80x9){_0xee80x9=_0xee80x9||200;return function(_0xee80xc){if(_0xee80xc){_0xee80x8[_0x1b98[9]](_0xee80x9)[_0x1b98[10]](_0xee80xc)}}}function responseWithoutResult(_0xee80x8,_0xee80x9){_0xee80x9=_0xee80x9||200;return function(){_0xee80x8[_0x1b98[11]](_0xee80x9)}}function handleEntityNotFound(_0xee80x8){return function(_0xee80xc){if(!_0xee80xc){_0xee80x8[_0x1b98[9]](404)[_0x1b98[12]]();return null};return _0xee80xc}}function saveUpdates(_0xee80x10){return function(_0xee80xc){return _0xee80xc[_0x1b98[14]](_0xee80x10)[_0x1b98[13]](function(_0xee80x11){return _0xee80x11})}}function removeEntity(_0xee80x8){return function(_0xee80xc){if(_0xee80xc){return _0xee80xc[_0x1b98[15]]()[_0x1b98[13]](function(){_0xee80x8[_0x1b98[9]](204)[_0x1b98[12]]()})}}}exports[_0x1b98[16]]=function(_0xee80x13,_0xee80x8,_0xee80x14){return ZendeskAccount[_0x1b98[22]](_0x1b98[21])[_0x1b98[20]](Util[_0x1b98[19]](_0xee80x13[_0x1b98[18]]))[_0x1b98[13]](responseWithResult(_0xee80x8))[_0x1b98[17]](handleError(_0xee80x8))};exports[_0x1b98[23]]=function(_0xee80x13,_0xee80x8){return ZendeskAccount[_0x1b98[26]](_0xee80x13[_0x1b98[25]][_0x1b98[24]])[_0x1b98[13]](handleEntityNotFound(_0xee80x8))[_0x1b98[13]](responseWithResult(_0xee80x8))[_0x1b98[17]](handleError(_0xee80x8))};exports[_0x1b98[27]]=function(_0xee80x13,_0xee80x8){return ZendeskAccount[_0x1b98[27]](_0xee80x13[_0x1b98[28]])[_0x1b98[13]](responseWithResult(_0xee80x8,201))[_0x1b98[17]](handleError(_0xee80x8))};exports[_0x1b98[29]]=function(_0xee80x13,_0xee80x8){if(_0xee80x13[_0x1b98[28]][_0x1b98[24]]){delete _0xee80x13[_0x1b98[28]][_0x1b98[24]]};return ZendeskAccount[_0x1b98[26]](_0xee80x13[_0x1b98[25]][_0x1b98[24]])[_0x1b98[13]](handleEntityNotFound(_0xee80x8))[_0x1b98[13]](saveUpdates(_0xee80x13[_0x1b98[28]]))[_0x1b98[13]](responseWithResult(_0xee80x8))[_0x1b98[17]](handleError(_0xee80x8))};exports[_0x1b98[15]]=function(_0xee80x13,_0xee80x8){return ZendeskAccount[_0x1b98[26]](_0xee80x13[_0x1b98[25]][_0x1b98[24]])[_0x1b98[13]](handleEntityNotFound(_0xee80x8))[_0x1b98[13]](removeEntity(_0xee80x8))[_0x1b98[17]](handleError(_0xee80x8))};exports[_0x1b98[30]]=function(_0xee80x13,_0xee80x8){return ZendeskAccount[_0x1b98[15]]({where:{id:_0xee80x13[_0x1b98[18]][_0x1b98[31]]},individualHooks:true})[_0x1b98[13]](responseWithResult(_0xee80x8,204))[_0x1b98[17]](handleError(_0xee80x8))};exports[_0x1b98[32]]=function(_0xee80x13,_0xee80x8){var _0xee80x15={};_0xee80x15[_0xee80x13[_0x1b98[25]][_0x1b98[33]]]=_0xee80x13[_0x1b98[28]][_0x1b98[34]];return ZendeskAccount[_0x1b98[20]]({where:_0xee80x15})[_0x1b98[13]](function(_0xee80x16){if(_0xee80x16[_0x1b98[35]]){return _0xee80x8[_0x1b98[9]](200)[_0x1b98[8]]({isValid:false,value:_0xee80x13[_0x1b98[28]][_0x1b98[34]]})};return _0xee80x8[_0x1b98[9]](200)[_0x1b98[8]]({isValid:true,value:_0xee80x13[_0x1b98[28]][_0x1b98[34]]})})[_0x1b98[17]](handleError(_0xee80x8))};exports[_0x1b98[36]]=function(_0xee80x13,_0xee80x8){return ZendeskAccount[_0x1b98[26]](_0xee80x13[_0x1b98[25]][_0x1b98[24]])[_0x1b98[13]](function(_0xee80x17){var _0xee80x18={username:_0xee80x17[_0x1b98[37]],remoteUri:_0xee80x17[_0x1b98[38]]};if(_0xee80x17[_0x1b98[39]]===_0x1b98[40]){_0xee80x18[_0x1b98[40]]=_0xee80x17[_0x1b98[40]]}else {if(_0xee80x17[_0x1b98[39]]===_0x1b98[41]){_0xee80x18[_0x1b98[41]]=_0xee80x17[_0x1b98[41]]}};var _0xee80x19=zendesk[_0x1b98[42]](_0xee80x18);_0xee80x19[_0x1b98[46]][_0x1b98[45]](function(_0xee80xa,_0xee80x1a,_0xee80x16){if(_0xee80xa){console[_0x1b98[43]](_0xee80xa);return handleError(_0xee80x8,_0xee80xa)};if(!_0xee80x16[_0x1b98[44]]){return _0xee80x8[_0x1b98[11]](500)};return _0xee80x8[_0x1b98[11]](204)})})[_0x1b98[17]](handleError(_0xee80x8))};exports[_0x1b98[47]]=function(_0xee80x13,_0xee80x8){return ZendeskAccount[_0x1b98[26]](_0xee80x13[_0x1b98[25]][_0x1b98[24]])[_0x1b98[13]](function(_0xee80x17){var _0xee80x18={username:_0xee80x17[_0x1b98[37]],remoteUri:_0xee80x17[_0x1b98[38]]};if(_0xee80x17[_0x1b98[39]]===_0x1b98[40]){_0xee80x18[_0x1b98[40]]=_0xee80x17[_0x1b98[40]]}else {if(_0xee80x17[_0x1b98[39]]===_0x1b98[41]){_0xee80x18[_0x1b98[41]]=_0xee80x17[_0x1b98[41]]}};var _0xee80x19=zendesk[_0x1b98[42]](_0xee80x18);_0xee80x19[_0x1b98[49]][_0x1b98[48]](function(_0xee80xa,_0xee80x1a,_0xee80x16){if(_0xee80xa){console[_0x1b98[43]](_0xee80xa);return handleError(_0xee80x8,_0xee80xa)};return _0xee80x8[_0x1b98[9]](200)[_0x1b98[8]](_0xee80x16)})})[_0x1b98[17]](handleError(_0xee80x8))};exports[_0x1b98[50]]=function(_0xee80x13,_0xee80x8){return ZendeskConfiguration[_0x1b98[22]]({method:[_0x1b98[51],_0xee80x13[_0x1b98[25]][_0x1b98[24]]]})[_0x1b98[20]](Util[_0x1b98[19]](_0xee80x13[_0x1b98[18]]))[_0x1b98[13]](responseWithResult(_0xee80x8))[_0x1b98[17]](handleError(_0xee80x8))};exports[_0x1b98[52]]=function(_0xee80x13,_0xee80x8){return ZendeskConfiguration[_0x1b98[22]]({method:[_0x1b98[51],_0xee80x13[_0x1b98[25]][_0x1b98[24]]]})[_0x1b98[26]](_0xee80x13[_0x1b98[25]][_0x1b98[53]])[_0x1b98[13]](handleEntityNotFound(_0xee80x8))[_0x1b98[13]](responseWithResult(_0xee80x8))[_0x1b98[17]](handleError(_0xee80x8))};exports[_0x1b98[54]]=function(_0xee80x13,_0xee80x8){return ZendeskConfiguration[_0x1b98[22]]({method:[_0x1b98[51],_0xee80x13[_0x1b98[25]][_0x1b98[24]]]})[_0x1b98[26]](_0xee80x13[_0x1b98[25]][_0x1b98[53]])[_0x1b98[13]](handleEntityNotFound(_0xee80x8))[_0x1b98[13]](removeEntity(_0xee80x8))[_0x1b98[17]](handleError(_0xee80x8))};exports[_0x1b98[55]]=function(_0xee80x13,_0xee80x8){return ZendeskConfiguration[_0x1b98[15]]({where:{id:_0xee80x13[_0x1b98[18]][_0x1b98[31]]},individualHooks:true})[_0x1b98[13]](responseWithResult(_0xee80x8,204))[_0x1b98[17]](handleError(_0xee80x8))};exports[_0x1b98[56]]=function(_0xee80x13,_0xee80x8){_0xee80x13[_0x1b98[28]][_0x1b98[57]]=_0xee80x13[_0x1b98[25]][_0x1b98[24]];switch(_0xee80x13[_0x1b98[28]][_0x1b98[95]]){case _0x1b98[93]:_0xee80x13[_0x1b98[28]][_0x1b98[58]]=[{"\x74\x79\x70\x65":_0x1b98[59],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x1b98[60],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":null},{"\x74\x79\x70\x65":_0x1b98[61],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x1b98[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x1b98[63]},{"\x74\x79\x70\x65":_0x1b98[61],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x1b98[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x1b98[64]}];_0xee80x13[_0x1b98[28]][_0x1b98[65]]=[{"\x74\x79\x70\x65":_0x1b98[59],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x1b98[66],"\x6B\x65\x79":null,"\x6B\x65\x79\x54\x79\x70\x65":null,"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":null},{"\x74\x79\x70\x65":_0x1b98[67],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x1b98[62],"\x6B\x65\x79":_0x1b98[68],"\x6B\x65\x79\x54\x79\x70\x65":_0x1b98[61],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x1b98[64]},{"\x74\x79\x70\x65":_0x1b98[67],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x1b98[62],"\x6B\x65\x79":_0x1b98[69],"\x6B\x65\x79\x54\x79\x70\x65":_0x1b98[61],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x1b98[70]},{"\x74\x79\x70\x65":_0x1b98[67],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x1b98[62],"\x6B\x65\x79":_0x1b98[71],"\x6B\x65\x79\x54\x79\x70\x65":_0x1b98[61],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x1b98[72]},{"\x74\x79\x70\x65":_0x1b98[67],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x1b98[62],"\x6B\x65\x79":_0x1b98[73],"\x6B\x65\x79\x54\x79\x70\x65":_0x1b98[61],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x1b98[63]},{"\x74\x79\x70\x65":_0x1b98[67],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x1b98[62],"\x6B\x65\x79":_0x1b98[74],"\x6B\x65\x79\x54\x79\x70\x65":_0x1b98[61],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x1b98[75]},{"\x74\x79\x70\x65":_0x1b98[67],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x1b98[62],"\x6B\x65\x79":_0x1b98[76],"\x6B\x65\x79\x54\x79\x70\x65":_0x1b98[61],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x1b98[77]},{"\x74\x79\x70\x65":_0x1b98[59],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x1b98[78],"\x6B\x65\x79":null,"\x6B\x65\x79\x54\x79\x70\x65":null,"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":null},{"\x74\x79\x70\x65":_0x1b98[67],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x1b98[62],"\x6B\x65\x79":_0x1b98[79],"\x6B\x65\x79\x54\x79\x70\x65":_0x1b98[61],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x1b98[80]},{"\x74\x79\x70\x65":_0x1b98[67],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x1b98[62],"\x6B\x65\x79":_0x1b98[81],"\x6B\x65\x79\x54\x79\x70\x65":_0x1b98[61],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x1b98[82]},{"\x74\x79\x70\x65":_0x1b98[59],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x1b98[83],"\x6B\x65\x79":null,"\x6B\x65\x79\x54\x79\x70\x65":null,"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":null},{"\x74\x79\x70\x65":_0x1b98[67],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x1b98[62],"\x6B\x65\x79":_0x1b98[84],"\x6B\x65\x79\x54\x79\x70\x65":_0x1b98[61],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x1b98[77]},{"\x74\x79\x70\x65":_0x1b98[67],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x1b98[62],"\x6B\x65\x79":_0x1b98[85],"\x6B\x65\x79\x54\x79\x70\x65":_0x1b98[61],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x1b98[86]},{"\x74\x79\x70\x65":_0x1b98[67],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x1b98[62],"\x6B\x65\x79":_0x1b98[87],"\x6B\x65\x79\x54\x79\x70\x65":_0x1b98[61],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x1b98[88]},{"\x74\x79\x70\x65":_0x1b98[67],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x1b98[62],"\x6B\x65\x79":_0x1b98[89],"\x6B\x65\x79\x54\x79\x70\x65":_0x1b98[61],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x1b98[90]},{"\x74\x79\x70\x65":_0x1b98[67],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x1b98[62],"\x6B\x65\x79":_0x1b98[91],"\x6B\x65\x79\x54\x79\x70\x65":_0x1b98[61],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x1b98[92]}];break;default:console[_0x1b98[96]](_0x1b98[94],_0xee80x13[_0x1b98[28]][_0x1b98[95]])};delete _0xee80x13[_0x1b98[28]][_0x1b98[95]];return ZendeskConfiguration[_0x1b98[27]](_0xee80x13[_0x1b98[28]],{include:[{model:ZendeskField,as:_0x1b98[58]},{model:ZendeskField,as:_0x1b98[65]}]})[_0x1b98[13]](responseWithResult(_0xee80x8,201))[_0x1b98[17]](handleError(_0xee80x8))};exports[_0x1b98[97]]=function(_0xee80x13,_0xee80x8){return ZendeskConfiguration[_0x1b98[22]]({method:[_0x1b98[51],_0xee80x13[_0x1b98[25]][_0x1b98[24]]]})[_0x1b98[26]](_0xee80x13[_0x1b98[25]][_0x1b98[53]])[_0x1b98[13]](handleEntityNotFound(_0xee80x8))[_0x1b98[13]](function(_0xee80x1b){switch(_0xee80x13[_0x1b98[25]][_0x1b98[103]]){case _0x1b98[99]:_0xee80x13[_0x1b98[28]][_0x1b98[98]]=_0xee80x13[_0x1b98[25]][_0x1b98[53]];break;case _0x1b98[101]:_0xee80x13[_0x1b98[28]][_0x1b98[100]]=_0xee80x13[_0x1b98[25]][_0x1b98[53]];break;case _0x1b98[33]:_0xee80x13[_0x1b98[28]][_0x1b98[102]]=_0xee80x13[_0x1b98[25]][_0x1b98[53]];break};return ZendeskField[_0x1b98[27]](_0xee80x13[_0x1b98[28]])})[_0x1b98[13]](responseWithResult(_0xee80x8,201))[_0x1b98[17]](handleError(_0xee80x8))};exports[_0x1b98[104]]=function(_0xee80x13,_0xee80x8){if(_0xee80x13[_0x1b98[28]][_0x1b98[24]]){delete _0xee80x13[_0x1b98[28]][_0x1b98[24]]};return ZendeskField[_0x1b98[26]](_0xee80x13[_0x1b98[25]][_0x1b98[105]])[_0x1b98[13]](handleEntityNotFound(_0xee80x8))[_0x1b98[13]](saveUpdates(_0xee80x13[_0x1b98[28]]))[_0x1b98[13]](responseWithResult(_0xee80x8))[_0x1b98[17]](handleError(_0xee80x8))};exports[_0x1b98[106]]=function(_0xee80x13,_0xee80x8){return ZendeskField[_0x1b98[26]](_0xee80x13[_0x1b98[25]][_0x1b98[105]])[_0x1b98[13]](handleEntityNotFound(_0xee80x8))[_0x1b98[13]](removeEntity(_0xee80x8))[_0x1b98[17]](handleError(_0xee80x8))};exports[_0x1b98[107]]=function(_0xee80x13,_0xee80x8,_0xee80x14){return ZendeskConfiguration[_0x1b98[26]](_0xee80x13[_0x1b98[25]][_0x1b98[53]])[_0x1b98[13]](handleEntityNotFound(_0xee80x8))[_0x1b98[13]](function(_0xee80x1b){return _0xee80x1b[_0x1b98[108]](_0xee80x13[_0x1b98[28]])})[_0x1b98[13]](responseWithoutResult(_0xee80x8,200))[_0x1b98[17]](function(_0xee80xa){console[_0x1b98[43]](_0xee80xa);return handleError(_0xee80x8,_0xee80xa)})} \ No newline at end of file +var _0x8921=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x6E\x6F\x64\x65\x2D\x7A\x65\x6E\x64\x65\x73\x6B","\x5A\x65\x6E\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x5A\x65\x6E\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x5A\x65\x6E\x64\x65\x73\x6B\x46\x69\x65\x6C\x64","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x73\x63\x6F\x70\x65","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x7A\x65\x6E\x64\x65\x73\x6B\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E","\x66\x69\x65\x6C\x64","\x76\x61\x6C\x75\x65","\x63\x6F\x75\x6E\x74","\x63\x68\x65\x63\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x72\x65\x6D\x6F\x74\x65\x55\x72\x69","\x61\x75\x74\x68\x54\x79\x70\x65","\x70\x61\x73\x73\x77\x6F\x72\x64","\x74\x6F\x6B\x65\x6E","\x63\x72\x65\x61\x74\x65\x43\x6C\x69\x65\x6E\x74","\x65\x72\x72\x6F\x72","\x76\x65\x72\x69\x66\x69\x65\x64","\x61\x75\x74\x68","\x75\x73\x65\x72\x73","\x67\x65\x74\x46\x69\x65\x6C\x64\x73","\x6C\x69\x73\x74","\x74\x69\x63\x6B\x65\x74\x66\x69\x65\x6C\x64\x73","\x67\x65\x74\x41\x63\x63\x6F\x75\x6E\x74\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x61\x63\x63\x6F\x75\x6E\x74","\x67\x65\x74\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x63\x69\x64","\x64\x65\x73\x74\x72\x6F\x79\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x63\x72\x65\x61\x74\x65\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x53\x75\x62\x6A\x65\x63\x74","\x73\x74\x72\x69\x6E\x67","\x5B\x78\x43\x41\x4C\x4C\x59\x20\x54\x69\x63\x6B\x65\x74\x5D","\x76\x61\x72\x69\x61\x62\x6C\x65","","\x71\x75\x65\x75\x65","\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x75\x6D","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x2A\x2A\x2A\x20\x43\x61\x6C\x6C\x20\x49\x6E\x66\x6F\x20\x2A\x2A\x2A","\x6B\x65\x79\x56\x61\x6C\x75\x65","\x43\x61\x6C\x6C\x65\x72\x20\x4E\x75\x6D\x62\x65\x72\x3A","\x43\x61\x6C\x6C\x65\x72\x20\x4E\x61\x6D\x65\x3A","\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x61\x6D\x65","\x43\x61\x6C\x6C\x20\x54\x6F\x3A","\x64\x65\x73\x74\x65\x78\x74\x65\x6E","\x51\x75\x65\x75\x65\x3A","\x55\x6E\x69\x71\x75\x65\x49\x64\x3A","\x75\x6E\x69\x71\x75\x65\x69\x64","\x44\x61\x74\x65\x3A","\x61\x67\x65\x6E\x74\x63\x61\x6C\x6C\x65\x64\x41\x74","\x2A\x2A\x2A\x20\x41\x67\x65\x6E\x74\x20\x49\x6E\x66\x6F\x20\x2A\x2A\x2A","\x41\x67\x65\x6E\x74\x20\x4E\x61\x6D\x65\x3A","\x64\x65\x73\x74\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x61\x6D\x65","\x41\x67\x65\x6E\x74\x20\x4E\x75\x6D\x62\x65\x72\x3A","\x64\x65\x73\x74\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x75\x6D","\x2A\x2A\x2A\x20\x54\x69\x6D\x65\x20\x49\x6E\x66\x6F\x20\x2A\x2A\x2A","\x41\x67\x65\x6E\x74\x20\x52\x69\x6E\x67\x3A","\x41\x67\x65\x6E\x74\x20\x43\x6F\x6E\x6E\x65\x63\x74\x3A","\x61\x67\x65\x6E\x74\x63\x6F\x6E\x6E\x65\x63\x74\x41\x74","\x41\x67\x65\x6E\x74\x20\x43\x6F\x6D\x70\x6C\x65\x74\x65\x3A","\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65\x41\x74","\x48\x6F\x6C\x64\x20\x54\x69\x6D\x65\x3A","\x68\x6F\x6C\x64\x74\x69\x6D\x65","\x54\x61\x6C\x6B\x20\x54\x69\x6D\x65\x3A","\x74\x61\x6C\x6B\x74\x69\x6D\x65","\x76\x6F\x69\x63\x65","\x43\x68\x61\x6E\x6E\x65\x6C\x20\x6E\x6F\x74\x20\x61\x76\x61\x69\x6C\x61\x62\x6C\x65\x3A","\x63\x68\x61\x6E\x6E\x65\x6C","\x6C\x6F\x67","\x63\x72\x65\x61\x74\x65\x46\x69\x65\x6C\x64","\x53\x75\x62\x6A\x65\x63\x74\x49\x64","\x73\x75\x62\x6A\x65\x63\x74","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E\x49\x64","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x46\x69\x65\x6C\x64\x49\x64","\x74\x79\x70\x65","\x75\x70\x64\x61\x74\x65\x46\x69\x65\x6C\x64","\x66\x69\x64","\x64\x65\x73\x74\x72\x6F\x79\x46\x69\x65\x6C\x64","\x61\x64\x64\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x54\x61\x67\x73","\x73\x65\x74\x54\x61\x67\x73"];_0x8921[0];var _=require(_0x8921[1]);var Util=require(_0x8921[2]);var zendesk=require(_0x8921[3]);var ZendeskAccount=require(_0x8921[5])[_0x8921[4]];var ZendeskConfiguration=require(_0x8921[5])[_0x8921[6]];var ZendeskField=require(_0x8921[5])[_0x8921[7]];function handleError(_0xae20x8,_0xae20x9){_0xae20x9=_0xae20x9||500;return function(_0xae20xa){_0xae20x8[_0x8921[9]](_0xae20x9)[_0x8921[8]](_0xae20xa)}}function responseWithResult(_0xae20x8,_0xae20x9){_0xae20x9=_0xae20x9||200;return function(_0xae20xc){if(_0xae20xc){_0xae20x8[_0x8921[9]](_0xae20x9)[_0x8921[10]](_0xae20xc)}}}function responseWithoutResult(_0xae20x8,_0xae20x9){_0xae20x9=_0xae20x9||200;return function(){_0xae20x8[_0x8921[11]](_0xae20x9)}}function handleEntityNotFound(_0xae20x8){return function(_0xae20xc){if(!_0xae20xc){_0xae20x8[_0x8921[9]](404)[_0x8921[12]]();return null};return _0xae20xc}}function saveUpdates(_0xae20x10){return function(_0xae20xc){return _0xae20xc[_0x8921[14]](_0xae20x10)[_0x8921[13]](function(_0xae20x11){return _0xae20x11})}}function removeEntity(_0xae20x8){return function(_0xae20xc){if(_0xae20xc){return _0xae20xc[_0x8921[15]]()[_0x8921[13]](function(){_0xae20x8[_0x8921[9]](204)[_0x8921[12]]()})}}}exports[_0x8921[16]]=function(_0xae20x13,_0xae20x8,_0xae20x14){return ZendeskAccount[_0x8921[22]](_0x8921[21])[_0x8921[20]](Util[_0x8921[19]](_0xae20x13[_0x8921[18]]))[_0x8921[13]](responseWithResult(_0xae20x8))[_0x8921[17]](handleError(_0xae20x8))};exports[_0x8921[23]]=function(_0xae20x13,_0xae20x8){return ZendeskAccount[_0x8921[26]](_0xae20x13[_0x8921[25]][_0x8921[24]])[_0x8921[13]](handleEntityNotFound(_0xae20x8))[_0x8921[13]](responseWithResult(_0xae20x8))[_0x8921[17]](handleError(_0xae20x8))};exports[_0x8921[27]]=function(_0xae20x13,_0xae20x8){return ZendeskAccount[_0x8921[27]](_0xae20x13[_0x8921[28]])[_0x8921[13]](responseWithResult(_0xae20x8,201))[_0x8921[17]](handleError(_0xae20x8))};exports[_0x8921[29]]=function(_0xae20x13,_0xae20x8){if(_0xae20x13[_0x8921[28]][_0x8921[24]]){delete _0xae20x13[_0x8921[28]][_0x8921[24]]};return ZendeskAccount[_0x8921[26]](_0xae20x13[_0x8921[25]][_0x8921[24]])[_0x8921[13]](handleEntityNotFound(_0xae20x8))[_0x8921[13]](saveUpdates(_0xae20x13[_0x8921[28]]))[_0x8921[13]](responseWithResult(_0xae20x8))[_0x8921[17]](handleError(_0xae20x8))};exports[_0x8921[15]]=function(_0xae20x13,_0xae20x8){return ZendeskAccount[_0x8921[26]](_0xae20x13[_0x8921[25]][_0x8921[24]])[_0x8921[13]](handleEntityNotFound(_0xae20x8))[_0x8921[13]](removeEntity(_0xae20x8))[_0x8921[17]](handleError(_0xae20x8))};exports[_0x8921[30]]=function(_0xae20x13,_0xae20x8){return ZendeskAccount[_0x8921[15]]({where:{id:_0xae20x13[_0x8921[18]][_0x8921[31]]},individualHooks:true})[_0x8921[13]](responseWithResult(_0xae20x8,204))[_0x8921[17]](handleError(_0xae20x8))};exports[_0x8921[32]]=function(_0xae20x13,_0xae20x8){var _0xae20x15={};_0xae20x15[_0xae20x13[_0x8921[25]][_0x8921[33]]]=_0xae20x13[_0x8921[28]][_0x8921[34]];return ZendeskAccount[_0x8921[20]]({where:_0xae20x15})[_0x8921[13]](function(_0xae20x16){if(_0xae20x16[_0x8921[35]]){return _0xae20x8[_0x8921[9]](200)[_0x8921[8]]({isValid:false,value:_0xae20x13[_0x8921[28]][_0x8921[34]]})};return _0xae20x8[_0x8921[9]](200)[_0x8921[8]]({isValid:true,value:_0xae20x13[_0x8921[28]][_0x8921[34]]})})[_0x8921[17]](handleError(_0xae20x8))};exports[_0x8921[36]]=function(_0xae20x13,_0xae20x8){return ZendeskAccount[_0x8921[26]](_0xae20x13[_0x8921[25]][_0x8921[24]])[_0x8921[13]](function(_0xae20x17){var _0xae20x18={username:_0xae20x17[_0x8921[37]],remoteUri:_0xae20x17[_0x8921[38]]};if(_0xae20x17[_0x8921[39]]===_0x8921[40]){_0xae20x18[_0x8921[40]]=_0xae20x17[_0x8921[40]]}else {if(_0xae20x17[_0x8921[39]]===_0x8921[41]){_0xae20x18[_0x8921[41]]=_0xae20x17[_0x8921[41]]}};var _0xae20x19=zendesk[_0x8921[42]](_0xae20x18);_0xae20x19[_0x8921[46]][_0x8921[45]](function(_0xae20xa,_0xae20x1a,_0xae20x16){if(_0xae20xa){console[_0x8921[43]](_0xae20xa);return handleError(_0xae20x8,_0xae20xa)};if(!_0xae20x16[_0x8921[44]]){return _0xae20x8[_0x8921[11]](500)};return _0xae20x8[_0x8921[11]](204)})})[_0x8921[17]](handleError(_0xae20x8))};exports[_0x8921[47]]=function(_0xae20x13,_0xae20x8){return ZendeskAccount[_0x8921[26]](_0xae20x13[_0x8921[25]][_0x8921[24]])[_0x8921[13]](function(_0xae20x17){var _0xae20x18={username:_0xae20x17[_0x8921[37]],remoteUri:_0xae20x17[_0x8921[38]]};if(_0xae20x17[_0x8921[39]]===_0x8921[40]){_0xae20x18[_0x8921[40]]=_0xae20x17[_0x8921[40]]}else {if(_0xae20x17[_0x8921[39]]===_0x8921[41]){_0xae20x18[_0x8921[41]]=_0xae20x17[_0x8921[41]]}};var _0xae20x19=zendesk[_0x8921[42]](_0xae20x18);_0xae20x19[_0x8921[49]][_0x8921[48]](function(_0xae20xa,_0xae20x1a,_0xae20x16){if(_0xae20xa){console[_0x8921[43]](_0xae20xa);return handleError(_0xae20x8,_0xae20xa)};return _0xae20x8[_0x8921[9]](200)[_0x8921[8]](_0xae20x16)})})[_0x8921[17]](handleError(_0xae20x8))};exports[_0x8921[50]]=function(_0xae20x13,_0xae20x8){return ZendeskConfiguration[_0x8921[22]]({method:[_0x8921[51],_0xae20x13[_0x8921[25]][_0x8921[24]]]})[_0x8921[20]](Util[_0x8921[19]](_0xae20x13[_0x8921[18]]))[_0x8921[13]](responseWithResult(_0xae20x8))[_0x8921[17]](handleError(_0xae20x8))};exports[_0x8921[52]]=function(_0xae20x13,_0xae20x8){return ZendeskConfiguration[_0x8921[22]]({method:[_0x8921[51],_0xae20x13[_0x8921[25]][_0x8921[24]]]})[_0x8921[26]](_0xae20x13[_0x8921[25]][_0x8921[53]])[_0x8921[13]](handleEntityNotFound(_0xae20x8))[_0x8921[13]](responseWithResult(_0xae20x8))[_0x8921[17]](handleError(_0xae20x8))};exports[_0x8921[54]]=function(_0xae20x13,_0xae20x8){return ZendeskConfiguration[_0x8921[22]]({method:[_0x8921[51],_0xae20x13[_0x8921[25]][_0x8921[24]]]})[_0x8921[26]](_0xae20x13[_0x8921[25]][_0x8921[53]])[_0x8921[13]](handleEntityNotFound(_0xae20x8))[_0x8921[13]](removeEntity(_0xae20x8))[_0x8921[17]](handleError(_0xae20x8))};exports[_0x8921[55]]=function(_0xae20x13,_0xae20x8){return ZendeskConfiguration[_0x8921[15]]({where:{id:_0xae20x13[_0x8921[18]][_0x8921[31]]},individualHooks:true})[_0x8921[13]](responseWithResult(_0xae20x8,204))[_0x8921[17]](handleError(_0xae20x8))};exports[_0x8921[56]]=function(_0xae20x13,_0xae20x8){_0xae20x13[_0x8921[28]][_0x8921[57]]=_0xae20x13[_0x8921[25]][_0x8921[24]];switch(_0xae20x13[_0x8921[28]][_0x8921[95]]){case _0x8921[93]:_0xae20x13[_0x8921[28]][_0x8921[58]]=[{"\x74\x79\x70\x65":_0x8921[59],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x8921[60],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":null},{"\x74\x79\x70\x65":_0x8921[61],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x8921[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x8921[63]},{"\x74\x79\x70\x65":_0x8921[61],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x8921[62],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x8921[64]}];_0xae20x13[_0x8921[28]][_0x8921[65]]=[{"\x74\x79\x70\x65":_0x8921[59],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x8921[66],"\x6B\x65\x79":null,"\x6B\x65\x79\x54\x79\x70\x65":null,"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":null},{"\x74\x79\x70\x65":_0x8921[67],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x8921[62],"\x6B\x65\x79":_0x8921[68],"\x6B\x65\x79\x54\x79\x70\x65":_0x8921[61],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x8921[64]},{"\x74\x79\x70\x65":_0x8921[67],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x8921[62],"\x6B\x65\x79":_0x8921[69],"\x6B\x65\x79\x54\x79\x70\x65":_0x8921[61],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x8921[70]},{"\x74\x79\x70\x65":_0x8921[67],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x8921[62],"\x6B\x65\x79":_0x8921[71],"\x6B\x65\x79\x54\x79\x70\x65":_0x8921[61],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x8921[72]},{"\x74\x79\x70\x65":_0x8921[67],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x8921[62],"\x6B\x65\x79":_0x8921[73],"\x6B\x65\x79\x54\x79\x70\x65":_0x8921[61],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x8921[63]},{"\x74\x79\x70\x65":_0x8921[67],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x8921[62],"\x6B\x65\x79":_0x8921[74],"\x6B\x65\x79\x54\x79\x70\x65":_0x8921[61],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x8921[75]},{"\x74\x79\x70\x65":_0x8921[67],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x8921[62],"\x6B\x65\x79":_0x8921[76],"\x6B\x65\x79\x54\x79\x70\x65":_0x8921[61],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x8921[77]},{"\x74\x79\x70\x65":_0x8921[59],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x8921[78],"\x6B\x65\x79":null,"\x6B\x65\x79\x54\x79\x70\x65":null,"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":null},{"\x74\x79\x70\x65":_0x8921[67],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x8921[62],"\x6B\x65\x79":_0x8921[79],"\x6B\x65\x79\x54\x79\x70\x65":_0x8921[61],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x8921[80]},{"\x74\x79\x70\x65":_0x8921[67],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x8921[62],"\x6B\x65\x79":_0x8921[81],"\x6B\x65\x79\x54\x79\x70\x65":_0x8921[61],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x8921[82]},{"\x74\x79\x70\x65":_0x8921[59],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x8921[83],"\x6B\x65\x79":null,"\x6B\x65\x79\x54\x79\x70\x65":null,"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":null},{"\x74\x79\x70\x65":_0x8921[67],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x8921[62],"\x6B\x65\x79":_0x8921[84],"\x6B\x65\x79\x54\x79\x70\x65":_0x8921[61],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x8921[77]},{"\x74\x79\x70\x65":_0x8921[67],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x8921[62],"\x6B\x65\x79":_0x8921[85],"\x6B\x65\x79\x54\x79\x70\x65":_0x8921[61],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x8921[86]},{"\x74\x79\x70\x65":_0x8921[67],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x8921[62],"\x6B\x65\x79":_0x8921[87],"\x6B\x65\x79\x54\x79\x70\x65":_0x8921[61],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x8921[88]},{"\x74\x79\x70\x65":_0x8921[67],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x8921[62],"\x6B\x65\x79":_0x8921[89],"\x6B\x65\x79\x54\x79\x70\x65":_0x8921[61],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x8921[90]},{"\x74\x79\x70\x65":_0x8921[67],"\x63\x6F\x6E\x74\x65\x6E\x74":_0x8921[62],"\x6B\x65\x79":_0x8921[91],"\x6B\x65\x79\x54\x79\x70\x65":_0x8921[61],"\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65":_0x8921[92]}];break;default:console[_0x8921[96]](_0x8921[94],_0xae20x13[_0x8921[28]][_0x8921[95]])};delete _0xae20x13[_0x8921[28]][_0x8921[95]];return ZendeskConfiguration[_0x8921[27]](_0xae20x13[_0x8921[28]],{include:[{model:ZendeskField,as:_0x8921[58]},{model:ZendeskField,as:_0x8921[65]}]})[_0x8921[13]](responseWithResult(_0xae20x8,201))[_0x8921[17]](handleError(_0xae20x8))};exports[_0x8921[97]]=function(_0xae20x13,_0xae20x8){return ZendeskConfiguration[_0x8921[22]]({method:[_0x8921[51],_0xae20x13[_0x8921[25]][_0x8921[24]]]})[_0x8921[26]](_0xae20x13[_0x8921[25]][_0x8921[53]])[_0x8921[13]](handleEntityNotFound(_0xae20x8))[_0x8921[13]](function(_0xae20x1b){switch(_0xae20x13[_0x8921[25]][_0x8921[103]]){case _0x8921[99]:_0xae20x13[_0x8921[28]][_0x8921[98]]=_0xae20x13[_0x8921[25]][_0x8921[53]];break;case _0x8921[101]:_0xae20x13[_0x8921[28]][_0x8921[100]]=_0xae20x13[_0x8921[25]][_0x8921[53]];break;case _0x8921[33]:_0xae20x13[_0x8921[28]][_0x8921[102]]=_0xae20x13[_0x8921[25]][_0x8921[53]];break};return ZendeskField[_0x8921[27]](_0xae20x13[_0x8921[28]])})[_0x8921[13]](responseWithResult(_0xae20x8,201))[_0x8921[17]](handleError(_0xae20x8))};exports[_0x8921[104]]=function(_0xae20x13,_0xae20x8){if(_0xae20x13[_0x8921[28]][_0x8921[24]]){delete _0xae20x13[_0x8921[28]][_0x8921[24]]};return ZendeskField[_0x8921[26]](_0xae20x13[_0x8921[25]][_0x8921[105]])[_0x8921[13]](handleEntityNotFound(_0xae20x8))[_0x8921[13]](saveUpdates(_0xae20x13[_0x8921[28]]))[_0x8921[13]](responseWithResult(_0xae20x8))[_0x8921[17]](handleError(_0xae20x8))};exports[_0x8921[106]]=function(_0xae20x13,_0xae20x8){return ZendeskField[_0x8921[26]](_0xae20x13[_0x8921[25]][_0x8921[105]])[_0x8921[13]](handleEntityNotFound(_0xae20x8))[_0x8921[13]](removeEntity(_0xae20x8))[_0x8921[17]](handleError(_0xae20x8))};exports[_0x8921[107]]=function(_0xae20x13,_0xae20x8,_0xae20x14){return ZendeskConfiguration[_0x8921[26]](_0xae20x13[_0x8921[25]][_0x8921[53]])[_0x8921[13]](handleEntityNotFound(_0xae20x8))[_0x8921[13]](function(_0xae20x1b){return _0xae20x1b[_0x8921[108]](_0xae20x13[_0x8921[28]])})[_0x8921[13]](responseWithoutResult(_0xae20x8,200))[_0x8921[17]](function(_0xae20xa){console[_0x8921[43]](_0xae20xa);return handleError(_0xae20x8,_0xae20xa)})} \ No newline at end of file diff --git a/server/api/zendesk_account/zendesk_account.socket.js b/server/api/zendesk_account/zendesk_account.socket.js index d6cba96..98735aa 100644 --- a/server/api/zendesk_account/zendesk_account.socket.js +++ b/server/api/zendesk_account/zendesk_account.socket.js @@ -1 +1 @@ -var _0x3d74=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x5A\x65\x6E\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x7A\x65\x6E\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x7A\x65\x6E\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x3d74[0];var ZendeskAccount=require(_0x3d74[2])[_0x3d74[1]];exports[_0x3d74[3]]=function(_0x3a36x2){ZendeskAccount[_0x3d74[4]](function(_0x3a36x3){onSave(_0x3a36x2,_0x3a36x3)});ZendeskAccount[_0x3d74[5]](function(_0x3a36x3){onRemove(_0x3a36x2,_0x3a36x3)})};function onSave(_0x3a36x2,_0x3a36x3,_0x3a36x5){_0x3a36x2[_0x3d74[7]](_0x3d74[6],_0x3a36x3)}function onRemove(_0x3a36x2,_0x3a36x3,_0x3a36x5){_0x3a36x2[_0x3d74[7]](_0x3d74[8],_0x3a36x3)} \ No newline at end of file +var _0x56dd=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x5A\x65\x6E\x64\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x7A\x65\x6E\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x7A\x65\x6E\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x3A\x72\x65\x6D\x6F\x76\x65"];_0x56dd[0];var ZendeskAccount=require(_0x56dd[2])[_0x56dd[1]];exports[_0x56dd[3]]=function(_0x6fdfx2){ZendeskAccount[_0x56dd[4]](function(_0x6fdfx3){onSave(_0x6fdfx2,_0x6fdfx3)});ZendeskAccount[_0x56dd[5]](function(_0x6fdfx3){onRemove(_0x6fdfx2,_0x6fdfx3)})};function onSave(_0x6fdfx2,_0x6fdfx3,_0x6fdfx5){_0x6fdfx2[_0x56dd[7]](_0x56dd[6],_0x6fdfx3)}function onRemove(_0x6fdfx2,_0x6fdfx3,_0x6fdfx5){_0x6fdfx2[_0x56dd[7]](_0x56dd[8],_0x6fdfx3)} \ No newline at end of file diff --git a/server/api/zendesk_configuration/index.js b/server/api/zendesk_configuration/index.js index da8d029..9571fc1 100644 --- a/server/api/zendesk_configuration/index.js +++ b/server/api/zendesk_configuration/index.js @@ -1 +1 @@ -var _0x84e3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x7A\x65\x6E\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x2F\x3A\x69\x64\x2F\x74\x61\x67\x73","\x61\x64\x64\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x54\x61\x67\x73","\x2F\x3A\x69\x64\x2F\x3A\x74\x79\x70\x65","\x61\x64\x64\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x46\x69\x65\x6C\x64","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x84e3[0];var express=require(_0x84e3[1]);var controller=require(_0x84e3[2]);var auth=require(_0x84e3[3]);var router=express.Router();router[_0x84e3[9]](_0x84e3[4],auth[_0x84e3[5]](),auth[_0x84e3[7]]([19],[_0x84e3[6]]),controller[_0x84e3[8]]);router[_0x84e3[9]](_0x84e3[10],auth[_0x84e3[5]](),auth[_0x84e3[7]]([19],[_0x84e3[6]]),controller[_0x84e3[11]]);router[_0x84e3[13]](_0x84e3[4],auth[_0x84e3[5]](),auth[_0x84e3[7]]([19],[_0x84e3[6]]),controller[_0x84e3[12]]);router[_0x84e3[15]](_0x84e3[10],auth[_0x84e3[5]](),auth[_0x84e3[7]]([19],[_0x84e3[6]]),controller[_0x84e3[14]]);router[_0x84e3[13]](_0x84e3[16],auth[_0x84e3[5]](),auth[_0x84e3[7]]([19],[_0x84e3[6]]),controller[_0x84e3[17]]);router[_0x84e3[13]](_0x84e3[18],auth[_0x84e3[5]](),auth[_0x84e3[7]]([19],[_0x84e3[6]]),controller[_0x84e3[19]]);router[_0x84e3[21]](_0x84e3[10],auth[_0x84e3[5]](),auth[_0x84e3[7]]([19],[_0x84e3[6]]),controller[_0x84e3[20]]);module[_0x84e3[22]]=router \ No newline at end of file +var _0x2071=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x7A\x65\x6E\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x2F\x3A\x69\x64\x2F\x74\x61\x67\x73","\x61\x64\x64\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x54\x61\x67\x73","\x2F\x3A\x69\x64\x2F\x3A\x74\x79\x70\x65","\x61\x64\x64\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x46\x69\x65\x6C\x64","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x2071[0];var express=require(_0x2071[1]);var controller=require(_0x2071[2]);var auth=require(_0x2071[3]);var router=express.Router();router[_0x2071[9]](_0x2071[4],auth[_0x2071[5]](),auth[_0x2071[7]]([19],[_0x2071[6]]),controller[_0x2071[8]]);router[_0x2071[9]](_0x2071[10],auth[_0x2071[5]](),auth[_0x2071[7]]([19],[_0x2071[6]]),controller[_0x2071[11]]);router[_0x2071[13]](_0x2071[4],auth[_0x2071[5]](),auth[_0x2071[7]]([19],[_0x2071[6]]),controller[_0x2071[12]]);router[_0x2071[15]](_0x2071[10],auth[_0x2071[5]](),auth[_0x2071[7]]([19],[_0x2071[6]]),controller[_0x2071[14]]);router[_0x2071[13]](_0x2071[16],auth[_0x2071[5]](),auth[_0x2071[7]]([19],[_0x2071[6]]),controller[_0x2071[17]]);router[_0x2071[13]](_0x2071[18],auth[_0x2071[5]](),auth[_0x2071[7]]([19],[_0x2071[6]]),controller[_0x2071[19]]);router[_0x2071[21]](_0x2071[10],auth[_0x2071[5]](),auth[_0x2071[7]]([19],[_0x2071[6]]),controller[_0x2071[20]]);module[_0x2071[22]]=router \ No newline at end of file diff --git a/server/api/zendesk_configuration/zendesk_configuration.controller.js b/server/api/zendesk_configuration/zendesk_configuration.controller.js index 1842953..44045d0 100644 --- a/server/api/zendesk_configuration/zendesk_configuration.controller.js +++ b/server/api/zendesk_configuration/zendesk_configuration.controller.js @@ -1 +1 @@ -var _0x6bdc=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x5A\x65\x6E\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x5A\x65\x6E\x64\x65\x73\x6B\x46\x69\x65\x6C\x64","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x66\x69\x6E\x64\x42\x79\x49\x64","\x64\x65\x73\x74\x72\x6F\x79","\x61\x64\x64\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x46\x69\x65\x6C\x64","\x61\x64\x64\x53\x75\x62\x6A\x65\x63\x74","\x73\x75\x62\x6A\x65\x63\x74","\x61\x64\x64\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x61\x64\x64\x46\x69\x65\x6C\x64","\x66\x69\x65\x6C\x64","\x74\x79\x70\x65","\x61\x64\x64\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x54\x61\x67\x73","\x65\x72\x72\x6F\x72","\x73\x65\x74\x54\x61\x67\x73","\x65\x6E\x64"];_0x6bdc[0];var _=require(_0x6bdc[1]);var ZendeskConfiguration=require(_0x6bdc[3])[_0x6bdc[2]];var ZendeskField=require(_0x6bdc[3])[_0x6bdc[4]];exports[_0x6bdc[5]]=function(_0x2d7fx4,_0x2d7fx5){ZendeskConfiguration[_0x6bdc[11]]({where:_0x2d7fx4[_0x6bdc[10]]})[_0x6bdc[9]](function(_0x2d7fx7){return _0x2d7fx5[_0x6bdc[8]](200)[_0x6bdc[7]](_0x2d7fx7)})[_0x6bdc[6]](function(_0x2d7fx6){return handleError(_0x2d7fx5,_0x2d7fx6)})};exports[_0x6bdc[12]]=function(_0x2d7fx4,_0x2d7fx5){ZendeskConfiguration[_0x6bdc[16]]({where:{id:_0x2d7fx4[_0x6bdc[15]][_0x6bdc[14]]},include:[{all:true}]})[_0x6bdc[9]](function(_0x2d7fx8){if(!_0x2d7fx8){return _0x2d7fx5[_0x6bdc[13]](404)};return _0x2d7fx5[_0x6bdc[7]](_0x2d7fx8)})[_0x6bdc[6]](function(_0x2d7fx6){return handleError(_0x2d7fx5,_0x2d7fx6)})};exports[_0x6bdc[17]]=function(_0x2d7fx4,_0x2d7fx5){ZendeskConfiguration[_0x6bdc[17]](_0x2d7fx4[_0x6bdc[18]])[_0x6bdc[9]](function(_0x2d7fx8){return _0x2d7fx5[_0x6bdc[8]](201)[_0x6bdc[7]](_0x2d7fx8)})[_0x6bdc[6]](function(_0x2d7fx6){return handleError(_0x2d7fx5,_0x2d7fx6)})};exports[_0x6bdc[19]]=function(_0x2d7fx4,_0x2d7fx5){if(_0x2d7fx4[_0x6bdc[18]][_0x6bdc[14]]){delete _0x2d7fx4[_0x6bdc[18]][_0x6bdc[14]]};ZendeskConfiguration[_0x6bdc[22]](_0x2d7fx4[_0x6bdc[15]][_0x6bdc[14]])[_0x6bdc[9]](function(_0x2d7fx8){if(!_0x2d7fx8){return _0x2d7fx5[_0x6bdc[13]](404)};var _0x2d7fx9=_[_0x6bdc[20]](_0x2d7fx8,_0x2d7fx4[_0x6bdc[18]]);_0x2d7fx9[_0x6bdc[21]]()[_0x6bdc[9]](function(){return _0x2d7fx5[_0x6bdc[8]](200)[_0x6bdc[7]](_0x2d7fx8)})[_0x6bdc[6]](function(_0x2d7fx6){return handleError(_0x2d7fx5,_0x2d7fx6)})})[_0x6bdc[6]](function(_0x2d7fx6){return handleError(_0x2d7fx5,_0x2d7fx6)})};exports[_0x6bdc[23]]=function(_0x2d7fx4,_0x2d7fx5){ZendeskConfiguration[_0x6bdc[22]](_0x2d7fx4[_0x6bdc[15]][_0x6bdc[14]])[_0x6bdc[9]](function(_0x2d7fx8){if(!_0x2d7fx8){return _0x2d7fx5[_0x6bdc[13]](404)};_0x2d7fx8[_0x6bdc[23]]()[_0x6bdc[9]](function(){return _0x2d7fx5[_0x6bdc[13]](204)})[_0x6bdc[6]](function(_0x2d7fx6){return handleError(_0x2d7fx5,_0x2d7fx6)})})[_0x6bdc[6]](function(_0x2d7fx6){return handleError(_0x2d7fx5,_0x2d7fx6)})};exports[_0x6bdc[24]]=function(_0x2d7fx4,_0x2d7fx5,_0x2d7fxa){ZendeskConfiguration[_0x6bdc[22]](_0x2d7fx4[_0x6bdc[15]][_0x6bdc[14]])[_0x6bdc[9]](function(_0x2d7fxb){if(!_0x2d7fxb){return _0x2d7fx5[_0x6bdc[13]](500)};ZendeskField[_0x6bdc[17]](_0x2d7fx4[_0x6bdc[18]])[_0x6bdc[9]](function(_0x2d7fxc){switch(_0x2d7fx4[_0x6bdc[15]][_0x6bdc[31]]){case _0x6bdc[26]:_0x2d7fxb[_0x6bdc[25]](_0x2d7fxc)[_0x6bdc[9]](function(){return _0x2d7fx5[_0x6bdc[8]](200)[_0x6bdc[7]](_0x2d7fxc)})[_0x6bdc[6]](function(_0x2d7fx6){return handleError(_0x2d7fx5,_0x2d7fx6)});break;case _0x6bdc[28]:_0x2d7fxb[_0x6bdc[27]](_0x2d7fxc)[_0x6bdc[9]](function(){return _0x2d7fx5[_0x6bdc[8]](200)[_0x6bdc[7]](_0x2d7fxc)})[_0x6bdc[6]](function(_0x2d7fx6){return handleError(_0x2d7fx5,_0x2d7fx6)});break;case _0x6bdc[30]:_0x2d7fxb[_0x6bdc[29]](_0x2d7fxc)[_0x6bdc[9]](function(){return _0x2d7fx5[_0x6bdc[8]](200)[_0x6bdc[7]](_0x2d7fxc)})[_0x6bdc[6]](function(_0x2d7fx6){return handleError(_0x2d7fx5,_0x2d7fx6)});break}})[_0x6bdc[6]](function(_0x2d7fx6){return handleError(_0x2d7fx5,_0x2d7fx6)})})[_0x6bdc[6]](function(_0x2d7fx6){return handleError(_0x2d7fx5,_0x2d7fx6)})};exports[_0x6bdc[32]]=function(_0x2d7fx4,_0x2d7fx5,_0x2d7fxa){ZendeskConfiguration[_0x6bdc[22]](_0x2d7fx4[_0x6bdc[15]][_0x6bdc[14]])[_0x6bdc[9]](handleEntityNotFound(_0x2d7fx5))[_0x6bdc[9]](function(_0x2d7fxb){return _0x2d7fxb[_0x6bdc[34]](_0x2d7fx4[_0x6bdc[18]])})[_0x6bdc[9]](function(_0x2d7fxd){return _0x2d7fx5[_0x6bdc[13]](200)})[_0x6bdc[6]](function(_0x2d7fx6){console[_0x6bdc[33]](_0x2d7fx6);return handleError(_0x2d7fx5,_0x2d7fx6)})};function handleEntityNotFound(_0x2d7fx5){return function(_0x2d7fxf){if(!_0x2d7fxf){_0x2d7fx5[_0x6bdc[8]](404)[_0x6bdc[35]]();return null};return _0x2d7fxf}}function handleError(_0x2d7fx5,_0x2d7fx6){return _0x2d7fx5[_0x6bdc[8]](500)[_0x6bdc[7]](_0x2d7fx6)} \ No newline at end of file +var _0x8855=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x5A\x65\x6E\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x5A\x65\x6E\x64\x65\x73\x6B\x46\x69\x65\x6C\x64","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x66\x69\x6E\x64\x42\x79\x49\x64","\x64\x65\x73\x74\x72\x6F\x79","\x61\x64\x64\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x46\x69\x65\x6C\x64","\x61\x64\x64\x53\x75\x62\x6A\x65\x63\x74","\x73\x75\x62\x6A\x65\x63\x74","\x61\x64\x64\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x61\x64\x64\x46\x69\x65\x6C\x64","\x66\x69\x65\x6C\x64","\x74\x79\x70\x65","\x61\x64\x64\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x54\x61\x67\x73","\x65\x72\x72\x6F\x72","\x73\x65\x74\x54\x61\x67\x73","\x65\x6E\x64"];_0x8855[0];var _=require(_0x8855[1]);var ZendeskConfiguration=require(_0x8855[3])[_0x8855[2]];var ZendeskField=require(_0x8855[3])[_0x8855[4]];exports[_0x8855[5]]=function(_0xffefx4,_0xffefx5){ZendeskConfiguration[_0x8855[11]]({where:_0xffefx4[_0x8855[10]]})[_0x8855[9]](function(_0xffefx7){return _0xffefx5[_0x8855[8]](200)[_0x8855[7]](_0xffefx7)})[_0x8855[6]](function(_0xffefx6){return handleError(_0xffefx5,_0xffefx6)})};exports[_0x8855[12]]=function(_0xffefx4,_0xffefx5){ZendeskConfiguration[_0x8855[16]]({where:{id:_0xffefx4[_0x8855[15]][_0x8855[14]]},include:[{all:true}]})[_0x8855[9]](function(_0xffefx8){if(!_0xffefx8){return _0xffefx5[_0x8855[13]](404)};return _0xffefx5[_0x8855[7]](_0xffefx8)})[_0x8855[6]](function(_0xffefx6){return handleError(_0xffefx5,_0xffefx6)})};exports[_0x8855[17]]=function(_0xffefx4,_0xffefx5){ZendeskConfiguration[_0x8855[17]](_0xffefx4[_0x8855[18]])[_0x8855[9]](function(_0xffefx8){return _0xffefx5[_0x8855[8]](201)[_0x8855[7]](_0xffefx8)})[_0x8855[6]](function(_0xffefx6){return handleError(_0xffefx5,_0xffefx6)})};exports[_0x8855[19]]=function(_0xffefx4,_0xffefx5){if(_0xffefx4[_0x8855[18]][_0x8855[14]]){delete _0xffefx4[_0x8855[18]][_0x8855[14]]};ZendeskConfiguration[_0x8855[22]](_0xffefx4[_0x8855[15]][_0x8855[14]])[_0x8855[9]](function(_0xffefx8){if(!_0xffefx8){return _0xffefx5[_0x8855[13]](404)};var _0xffefx9=_[_0x8855[20]](_0xffefx8,_0xffefx4[_0x8855[18]]);_0xffefx9[_0x8855[21]]()[_0x8855[9]](function(){return _0xffefx5[_0x8855[8]](200)[_0x8855[7]](_0xffefx8)})[_0x8855[6]](function(_0xffefx6){return handleError(_0xffefx5,_0xffefx6)})})[_0x8855[6]](function(_0xffefx6){return handleError(_0xffefx5,_0xffefx6)})};exports[_0x8855[23]]=function(_0xffefx4,_0xffefx5){ZendeskConfiguration[_0x8855[22]](_0xffefx4[_0x8855[15]][_0x8855[14]])[_0x8855[9]](function(_0xffefx8){if(!_0xffefx8){return _0xffefx5[_0x8855[13]](404)};_0xffefx8[_0x8855[23]]()[_0x8855[9]](function(){return _0xffefx5[_0x8855[13]](204)})[_0x8855[6]](function(_0xffefx6){return handleError(_0xffefx5,_0xffefx6)})})[_0x8855[6]](function(_0xffefx6){return handleError(_0xffefx5,_0xffefx6)})};exports[_0x8855[24]]=function(_0xffefx4,_0xffefx5,_0xffefxa){ZendeskConfiguration[_0x8855[22]](_0xffefx4[_0x8855[15]][_0x8855[14]])[_0x8855[9]](function(_0xffefxb){if(!_0xffefxb){return _0xffefx5[_0x8855[13]](500)};ZendeskField[_0x8855[17]](_0xffefx4[_0x8855[18]])[_0x8855[9]](function(_0xffefxc){switch(_0xffefx4[_0x8855[15]][_0x8855[31]]){case _0x8855[26]:_0xffefxb[_0x8855[25]](_0xffefxc)[_0x8855[9]](function(){return _0xffefx5[_0x8855[8]](200)[_0x8855[7]](_0xffefxc)})[_0x8855[6]](function(_0xffefx6){return handleError(_0xffefx5,_0xffefx6)});break;case _0x8855[28]:_0xffefxb[_0x8855[27]](_0xffefxc)[_0x8855[9]](function(){return _0xffefx5[_0x8855[8]](200)[_0x8855[7]](_0xffefxc)})[_0x8855[6]](function(_0xffefx6){return handleError(_0xffefx5,_0xffefx6)});break;case _0x8855[30]:_0xffefxb[_0x8855[29]](_0xffefxc)[_0x8855[9]](function(){return _0xffefx5[_0x8855[8]](200)[_0x8855[7]](_0xffefxc)})[_0x8855[6]](function(_0xffefx6){return handleError(_0xffefx5,_0xffefx6)});break}})[_0x8855[6]](function(_0xffefx6){return handleError(_0xffefx5,_0xffefx6)})})[_0x8855[6]](function(_0xffefx6){return handleError(_0xffefx5,_0xffefx6)})};exports[_0x8855[32]]=function(_0xffefx4,_0xffefx5,_0xffefxa){ZendeskConfiguration[_0x8855[22]](_0xffefx4[_0x8855[15]][_0x8855[14]])[_0x8855[9]](handleEntityNotFound(_0xffefx5))[_0x8855[9]](function(_0xffefxb){return _0xffefxb[_0x8855[34]](_0xffefx4[_0x8855[18]])})[_0x8855[9]](function(_0xffefxd){return _0xffefx5[_0x8855[13]](200)})[_0x8855[6]](function(_0xffefx6){console[_0x8855[33]](_0xffefx6);return handleError(_0xffefx5,_0xffefx6)})};function handleEntityNotFound(_0xffefx5){return function(_0xffefxf){if(!_0xffefxf){_0xffefx5[_0x8855[8]](404)[_0x8855[35]]();return null};return _0xffefxf}}function handleError(_0xffefx5,_0xffefx6){return _0xffefx5[_0x8855[8]](500)[_0x8855[7]](_0xffefx6)} \ No newline at end of file diff --git a/server/api/zendesk_configuration/zendesk_configuration.socket.js b/server/api/zendesk_configuration/zendesk_configuration.socket.js index 06fb08e..0a4fd76 100644 --- a/server/api/zendesk_configuration/zendesk_configuration.socket.js +++ b/server/api/zendesk_configuration/zendesk_configuration.socket.js @@ -1 +1 @@ -var _0x3a4f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x5A\x65\x6E\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x7A\x65\x6E\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x7A\x65\x6E\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0x3a4f[0];var ZendeskConfiguration=require(_0x3a4f[2])[_0x3a4f[1]];exports[_0x3a4f[3]]=function(_0xb47dx2){ZendeskConfiguration[_0x3a4f[4]](function(_0xb47dx3){onSave(_0xb47dx2,_0xb47dx3)});ZendeskConfiguration[_0x3a4f[5]](function(_0xb47dx3){onRemove(_0xb47dx2,_0xb47dx3)})};function onSave(_0xb47dx2,_0xb47dx3,_0xb47dx5){_0xb47dx2[_0x3a4f[7]](_0x3a4f[6],_0xb47dx3)}function onRemove(_0xb47dx2,_0xb47dx3,_0xb47dx5){_0xb47dx2[_0x3a4f[7]](_0x3a4f[8],_0xb47dx3)} \ No newline at end of file +var _0xf0e2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x5A\x65\x6E\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x7A\x65\x6E\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x7A\x65\x6E\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x3A\x72\x65\x6D\x6F\x76\x65"];_0xf0e2[0];var ZendeskConfiguration=require(_0xf0e2[2])[_0xf0e2[1]];exports[_0xf0e2[3]]=function(_0x3fe7x2){ZendeskConfiguration[_0xf0e2[4]](function(_0x3fe7x3){onSave(_0x3fe7x2,_0x3fe7x3)});ZendeskConfiguration[_0xf0e2[5]](function(_0x3fe7x3){onRemove(_0x3fe7x2,_0x3fe7x3)})};function onSave(_0x3fe7x2,_0x3fe7x3,_0x3fe7x5){_0x3fe7x2[_0xf0e2[7]](_0xf0e2[6],_0x3fe7x3)}function onRemove(_0x3fe7x2,_0x3fe7x3,_0x3fe7x5){_0x3fe7x2[_0xf0e2[7]](_0xf0e2[8],_0x3fe7x3)} \ No newline at end of file diff --git a/server/api/zendesk_field/index.js b/server/api/zendesk_field/index.js index 4dcad1e..78e5dee 100644 --- a/server/api/zendesk_field/index.js +++ b/server/api/zendesk_field/index.js @@ -1 +1 @@ -var _0xfd30=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x7A\x65\x6E\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xfd30[0];var express=require(_0xfd30[1]);var controller=require(_0xfd30[2]);var auth=require(_0xfd30[3]);var router=express.Router();router[_0xfd30[9]](_0xfd30[4],auth[_0xfd30[5]](),auth[_0xfd30[7]]([19],[_0xfd30[6]]),controller[_0xfd30[8]]);router[_0xfd30[9]](_0xfd30[10],auth[_0xfd30[5]](),auth[_0xfd30[7]]([19],[_0xfd30[6]]),controller[_0xfd30[11]]);router[_0xfd30[13]](_0xfd30[4],auth[_0xfd30[5]](),auth[_0xfd30[7]]([19],[_0xfd30[6]]),controller[_0xfd30[12]]);router[_0xfd30[15]](_0xfd30[10],auth[_0xfd30[5]](),auth[_0xfd30[7]]([19],[_0xfd30[6]]),controller[_0xfd30[14]]);router[_0xfd30[17]](_0xfd30[10],auth[_0xfd30[5]](),auth[_0xfd30[7]]([19],[_0xfd30[6]]),controller[_0xfd30[16]]);module[_0xfd30[18]]=router \ No newline at end of file +var _0x1d44=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x7A\x65\x6E\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x1d44[0];var express=require(_0x1d44[1]);var controller=require(_0x1d44[2]);var auth=require(_0x1d44[3]);var router=express.Router();router[_0x1d44[9]](_0x1d44[4],auth[_0x1d44[5]](),auth[_0x1d44[7]]([19],[_0x1d44[6]]),controller[_0x1d44[8]]);router[_0x1d44[9]](_0x1d44[10],auth[_0x1d44[5]](),auth[_0x1d44[7]]([19],[_0x1d44[6]]),controller[_0x1d44[11]]);router[_0x1d44[13]](_0x1d44[4],auth[_0x1d44[5]](),auth[_0x1d44[7]]([19],[_0x1d44[6]]),controller[_0x1d44[12]]);router[_0x1d44[15]](_0x1d44[10],auth[_0x1d44[5]](),auth[_0x1d44[7]]([19],[_0x1d44[6]]),controller[_0x1d44[14]]);router[_0x1d44[17]](_0x1d44[10],auth[_0x1d44[5]](),auth[_0x1d44[7]]([19],[_0x1d44[6]]),controller[_0x1d44[16]]);module[_0x1d44[18]]=router \ No newline at end of file diff --git a/server/api/zendesk_field/zendesk_field.controller.js b/server/api/zendesk_field/zendesk_field.controller.js index df803f3..982e5dd 100644 --- a/server/api/zendesk_field/zendesk_field.controller.js +++ b/server/api/zendesk_field/zendesk_field.controller.js @@ -1 +1 @@ -var _0x119d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x5A\x65\x6E\x64\x65\x73\x6B\x46\x69\x65\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0x119d[0];var _=require(_0x119d[1]);var ZendeskField=require(_0x119d[3])[_0x119d[2]];exports[_0x119d[4]]=function(_0x4cbdx3,_0x4cbdx4){ZendeskField[_0x119d[9]]()[_0x119d[8]](function(_0x4cbdx6){return _0x4cbdx4[_0x119d[7]](200)[_0x119d[6]](_0x4cbdx6)})[_0x119d[5]](function(_0x4cbdx5){return handleError(_0x4cbdx4,_0x4cbdx5)})};exports[_0x119d[10]]=function(_0x4cbdx3,_0x4cbdx4){ZendeskField[_0x119d[14]](_0x4cbdx3[_0x119d[13]][_0x119d[12]])[_0x119d[8]](function(_0x4cbdx7){if(!_0x4cbdx7){return _0x4cbdx4[_0x119d[11]](404)};return _0x4cbdx4[_0x119d[6]](_0x4cbdx7)})[_0x119d[5]](function(_0x4cbdx5){return handleError(_0x4cbdx4,_0x4cbdx5)})};exports[_0x119d[15]]=function(_0x4cbdx3,_0x4cbdx4){ZendeskField[_0x119d[15]](_0x4cbdx3[_0x119d[16]])[_0x119d[8]](function(_0x4cbdx7){return _0x4cbdx4[_0x119d[7]](201)[_0x119d[6]](_0x4cbdx7)})[_0x119d[5]](function(_0x4cbdx5){return handleError(_0x4cbdx4,_0x4cbdx5)})};exports[_0x119d[17]]=function(_0x4cbdx3,_0x4cbdx4){if(_0x4cbdx3[_0x119d[16]][_0x119d[12]]){delete _0x4cbdx3[_0x119d[16]][_0x119d[12]]};ZendeskField[_0x119d[14]](_0x4cbdx3[_0x119d[13]][_0x119d[12]])[_0x119d[8]](function(_0x4cbdx7){if(!_0x4cbdx7){return _0x4cbdx4[_0x119d[11]](404)};var _0x4cbdx8=_[_0x119d[18]](_0x4cbdx7,_0x4cbdx3[_0x119d[16]]);_0x4cbdx8[_0x119d[19]]()[_0x119d[8]](function(){return _0x4cbdx4[_0x119d[7]](200)[_0x119d[6]](_0x4cbdx7)})[_0x119d[5]](function(_0x4cbdx5){return handleError(_0x4cbdx4,_0x4cbdx5)})})[_0x119d[5]](function(_0x4cbdx5){return handleError(_0x4cbdx4,_0x4cbdx5)})};exports[_0x119d[20]]=function(_0x4cbdx3,_0x4cbdx4){ZendeskField[_0x119d[14]](_0x4cbdx3[_0x119d[13]][_0x119d[12]])[_0x119d[8]](function(_0x4cbdx7){if(!_0x4cbdx7){return _0x4cbdx4[_0x119d[11]](404)};_0x4cbdx7[_0x119d[20]]()[_0x119d[8]](function(){return _0x4cbdx4[_0x119d[11]](204)})[_0x119d[5]](function(_0x4cbdx5){return handleError(_0x4cbdx4,_0x4cbdx5)})})[_0x119d[5]](function(_0x4cbdx5){return handleError(_0x4cbdx4,_0x4cbdx5)})};function handleError(_0x4cbdx4,_0x4cbdx5){return _0x4cbdx4[_0x119d[7]](500)[_0x119d[6]](_0x4cbdx5)} \ No newline at end of file +var _0xc969=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x5A\x65\x6E\x64\x65\x73\x6B\x46\x69\x65\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0xc969[0];var _=require(_0xc969[1]);var ZendeskField=require(_0xc969[3])[_0xc969[2]];exports[_0xc969[4]]=function(_0xbb6fx3,_0xbb6fx4){ZendeskField[_0xc969[9]]()[_0xc969[8]](function(_0xbb6fx6){return _0xbb6fx4[_0xc969[7]](200)[_0xc969[6]](_0xbb6fx6)})[_0xc969[5]](function(_0xbb6fx5){return handleError(_0xbb6fx4,_0xbb6fx5)})};exports[_0xc969[10]]=function(_0xbb6fx3,_0xbb6fx4){ZendeskField[_0xc969[14]](_0xbb6fx3[_0xc969[13]][_0xc969[12]])[_0xc969[8]](function(_0xbb6fx7){if(!_0xbb6fx7){return _0xbb6fx4[_0xc969[11]](404)};return _0xbb6fx4[_0xc969[6]](_0xbb6fx7)})[_0xc969[5]](function(_0xbb6fx5){return handleError(_0xbb6fx4,_0xbb6fx5)})};exports[_0xc969[15]]=function(_0xbb6fx3,_0xbb6fx4){ZendeskField[_0xc969[15]](_0xbb6fx3[_0xc969[16]])[_0xc969[8]](function(_0xbb6fx7){return _0xbb6fx4[_0xc969[7]](201)[_0xc969[6]](_0xbb6fx7)})[_0xc969[5]](function(_0xbb6fx5){return handleError(_0xbb6fx4,_0xbb6fx5)})};exports[_0xc969[17]]=function(_0xbb6fx3,_0xbb6fx4){if(_0xbb6fx3[_0xc969[16]][_0xc969[12]]){delete _0xbb6fx3[_0xc969[16]][_0xc969[12]]};ZendeskField[_0xc969[14]](_0xbb6fx3[_0xc969[13]][_0xc969[12]])[_0xc969[8]](function(_0xbb6fx7){if(!_0xbb6fx7){return _0xbb6fx4[_0xc969[11]](404)};var _0xbb6fx8=_[_0xc969[18]](_0xbb6fx7,_0xbb6fx3[_0xc969[16]]);_0xbb6fx8[_0xc969[19]]()[_0xc969[8]](function(){return _0xbb6fx4[_0xc969[7]](200)[_0xc969[6]](_0xbb6fx7)})[_0xc969[5]](function(_0xbb6fx5){return handleError(_0xbb6fx4,_0xbb6fx5)})})[_0xc969[5]](function(_0xbb6fx5){return handleError(_0xbb6fx4,_0xbb6fx5)})};exports[_0xc969[20]]=function(_0xbb6fx3,_0xbb6fx4){ZendeskField[_0xc969[14]](_0xbb6fx3[_0xc969[13]][_0xc969[12]])[_0xc969[8]](function(_0xbb6fx7){if(!_0xbb6fx7){return _0xbb6fx4[_0xc969[11]](404)};_0xbb6fx7[_0xc969[20]]()[_0xc969[8]](function(){return _0xbb6fx4[_0xc969[11]](204)})[_0xc969[5]](function(_0xbb6fx5){return handleError(_0xbb6fx4,_0xbb6fx5)})})[_0xc969[5]](function(_0xbb6fx5){return handleError(_0xbb6fx4,_0xbb6fx5)})};function handleError(_0xbb6fx4,_0xbb6fx5){return _0xbb6fx4[_0xc969[7]](500)[_0xc969[6]](_0xbb6fx5)} \ No newline at end of file diff --git a/server/api/zendesk_field/zendesk_field.socket.js b/server/api/zendesk_field/zendesk_field.socket.js index 6181952..97e81c5 100644 --- a/server/api/zendesk_field/zendesk_field.socket.js +++ b/server/api/zendesk_field/zendesk_field.socket.js @@ -1 +1 @@ -var _0x969e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x5A\x65\x6E\x64\x65\x73\x6B\x46\x69\x65\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x7A\x65\x6E\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x7A\x65\x6E\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x3A\x72\x65\x6D\x6F\x76\x65"];_0x969e[0];var ZendeskField=require(_0x969e[2])[_0x969e[1]];exports[_0x969e[3]]=function(_0xf5f1x2){ZendeskField[_0x969e[4]](function(_0xf5f1x3){onSave(_0xf5f1x2,_0xf5f1x3)});ZendeskField[_0x969e[5]](function(_0xf5f1x3){onRemove(_0xf5f1x2,_0xf5f1x3)})};function onSave(_0xf5f1x2,_0xf5f1x3,_0xf5f1x5){_0xf5f1x2[_0x969e[7]](_0x969e[6],_0xf5f1x3)}function onRemove(_0xf5f1x2,_0xf5f1x3,_0xf5f1x5){_0xf5f1x2[_0x969e[7]](_0x969e[8],_0xf5f1x3)} \ No newline at end of file +var _0xe2f0=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x5A\x65\x6E\x64\x65\x73\x6B\x46\x69\x65\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x7A\x65\x6E\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x7A\x65\x6E\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x3A\x72\x65\x6D\x6F\x76\x65"];_0xe2f0[0];var ZendeskField=require(_0xe2f0[2])[_0xe2f0[1]];exports[_0xe2f0[3]]=function(_0xd410x2){ZendeskField[_0xe2f0[4]](function(_0xd410x3){onSave(_0xd410x2,_0xd410x3)});ZendeskField[_0xe2f0[5]](function(_0xd410x3){onRemove(_0xd410x2,_0xd410x3)})};function onSave(_0xd410x2,_0xd410x3,_0xd410x5){_0xd410x2[_0xe2f0[7]](_0xe2f0[6],_0xd410x3)}function onRemove(_0xd410x2,_0xd410x3,_0xd410x5){_0xd410x2[_0xe2f0[7]](_0xe2f0[8],_0xd410x3)} \ No newline at end of file diff --git a/server/api/zendesk_field/zendesk_field.spec.js b/server/api/zendesk_field/zendesk_field.spec.js index 6d0b6fa..ea3bde3 100644 --- a/server/api/zendesk_field/zendesk_field.spec.js +++ b/server/api/zendesk_field/zendesk_field.spec.js @@ -1 +1 @@ -var _0xc8dc=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x73\x68\x6F\x75\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x70\x70","\x73\x75\x70\x65\x72\x74\x65\x73\x74","\x47\x45\x54\x20\x2F\x61\x70\x69\x2F\x7A\x65\x6E\x64\x65\x73\x6B\x2F\x66\x69\x65\x6C\x64\x73","\x73\x68\x6F\x75\x6C\x64\x20\x72\x65\x73\x70\x6F\x6E\x64\x20\x77\x69\x74\x68\x20\x4A\x53\x4F\x4E\x20\x61\x72\x72\x61\x79","\x69\x6E\x73\x74\x61\x6E\x63\x65\x6F\x66","\x62\x65","\x62\x6F\x64\x79","\x65\x6E\x64","\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65","\x65\x78\x70\x65\x63\x74","\x2F\x61\x70\x69\x2F\x7A\x65\x6E\x64\x65\x73\x6B\x2F\x66\x69\x65\x6C\x64\x73","\x67\x65\x74"];_0xc8dc[0];var should=require(_0xc8dc[1]);var app=require(_0xc8dc[2]);var request=require(_0xc8dc[3]);describe(_0xc8dc[4],function(){it(_0xc8dc[5],function(_0xdad9x4){request(app)[_0xc8dc[13]](_0xc8dc[12])[_0xc8dc[11]](200)[_0xc8dc[11]](_0xc8dc[10],/json/)[_0xc8dc[9]](function(_0xdad9x5,_0xdad9x6){if(_0xdad9x5){return _0xdad9x4(_0xdad9x5)};_0xdad9x6[_0xc8dc[8]][_0xc8dc[1]][_0xc8dc[7]][_0xc8dc[6]](Array);_0xdad9x4()})})}) \ No newline at end of file +var _0x597b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x73\x68\x6F\x75\x6C\x64","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x70\x70","\x73\x75\x70\x65\x72\x74\x65\x73\x74","\x47\x45\x54\x20\x2F\x61\x70\x69\x2F\x7A\x65\x6E\x64\x65\x73\x6B\x2F\x66\x69\x65\x6C\x64\x73","\x73\x68\x6F\x75\x6C\x64\x20\x72\x65\x73\x70\x6F\x6E\x64\x20\x77\x69\x74\x68\x20\x4A\x53\x4F\x4E\x20\x61\x72\x72\x61\x79","\x69\x6E\x73\x74\x61\x6E\x63\x65\x6F\x66","\x62\x65","\x62\x6F\x64\x79","\x65\x6E\x64","\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65","\x65\x78\x70\x65\x63\x74","\x2F\x61\x70\x69\x2F\x7A\x65\x6E\x64\x65\x73\x6B\x2F\x66\x69\x65\x6C\x64\x73","\x67\x65\x74"];_0x597b[0];var should=require(_0x597b[1]);var app=require(_0x597b[2]);var request=require(_0x597b[3]);describe(_0x597b[4],function(){it(_0x597b[5],function(_0xa8b7x4){request(app)[_0x597b[13]](_0x597b[12])[_0x597b[11]](200)[_0x597b[11]](_0x597b[10],/json/)[_0x597b[9]](function(_0xa8b7x5,_0xa8b7x6){if(_0xa8b7x5){return _0xa8b7x4(_0xa8b7x5)};_0xa8b7x6[_0x597b[8]][_0x597b[1]][_0x597b[7]][_0x597b[6]](Array);_0xa8b7x4()})})}) \ No newline at end of file diff --git a/server/app.js b/server/app.js index 78cf069..164589c 100644 --- a/server/app.js +++ b/server/app.js @@ -1 +1 @@ -var _0xc01a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4E\x4F\x44\x45\x5F\x45\x4E\x56","\x65\x6E\x76","\x64\x65\x76\x65\x6C\x6F\x70\x6D\x65\x6E\x74","\x4E\x4F\x44\x45\x5F\x54\x4C\x53\x5F\x52\x45\x4A\x45\x43\x54\x5F\x55\x4E\x41\x55\x54\x48\x4F\x52\x49\x5A\x45\x44","\x75\x6E\x63\x61\x75\x67\x68\x74\x45\x78\x63\x65\x70\x74\x69\x6F\x6E","\x6F\x62\x6A\x65\x63\x74","\x6D\x65\x73\x73\x61\x67\x65","\x0A\x4D\x65\x73\x73\x61\x67\x65\x3A\x20","\x6C\x6F\x67","\x73\x74\x61\x63\x6B","\x0A\x53\x74\x61\x63\x6B\x74\x72\x61\x63\x65\x3A","\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D","\x64\x75\x6D\x70\x45\x72\x72\x6F\x72\x20\x3A\x3A\x20\x61\x72\x67\x75\x6D\x65\x6E\x74\x20\x69\x73\x20\x6E\x6F\x74\x20\x61\x6E\x20\x6F\x62\x6A\x65\x63\x74","\x6F\x6E","\x6F\x73","\x68\x74\x74\x70","\x75\x74\x69\x6C","\x63\x72\x79\x70\x74\x6F","\x43\x72\x6F\x6E\x4A\x6F\x62","\x63\x72\x6F\x6E","\x73\x68\x65\x6C\x6C\x6A\x73\x2F\x67\x6C\x6F\x62\x61\x6C","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x53\x65\x74\x74\x69\x6E\x67\x73","\x63\x72\x65\x61\x74\x65\x53\x65\x72\x76\x65\x72","\x70\x72\x6F\x64\x75\x63\x74\x69\x6F\x6E","\x2F\x73\x6F\x63\x6B\x65\x74\x2E\x69\x6F\x2D\x63\x6C\x69\x65\x6E\x74","\x73\x6F\x63\x6B\x65\x74\x2E\x69\x6F","\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","\x6B\x65\x65\x70\x43\x6F\x6E\x6E\x65\x63\x74\x65\x64","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x72\x6F\x75\x74\x65\x73","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x68\x69\x73\x74\x6F\x72\x79\x2F\x68\x69\x73\x74\x6F\x72\x79","\x74\x68\x65\x6E","\x73\x79\x6E\x63","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65\x5F\x68\x69\x73\x74\x6F\x72\x79","\x73\x65\x65\x64\x44\x42","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x73\x65\x65\x64","\x73\x65\x65\x64\x50\x44\x42","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x73\x65\x65\x64\x70","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x73\x6F\x63\x6B\x65\x74\x69\x6F","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x72\x6F\x75\x74\x69\x6E\x67\x2F\x63\x68\x61\x74","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x72\x6F\x75\x74\x69\x6E\x67\x2F\x73\x6D\x73","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x72\x6F\x75\x74\x69\x6E\x67\x2F\x66\x61\x78","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x73\x2F\x6D\x61\x69\x6C","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x73\x2F\x66\x61\x78","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x74\x72\x69\x67\x67\x65\x72\x73","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x69\x6D\x61\x70","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x73\x6D\x74\x70","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x73\x6D\x73","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x74\x6F\x6F\x6C\x73","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x61\x6D\x69","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x61\x67\x69","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65","\x69\x70","\x45\x78\x70\x72\x65\x73\x73\x20\x73\x65\x72\x76\x65\x72\x20\x6C\x69\x73\x74\x65\x6E\x69\x6E\x67\x20\x6F\x6E\x20\x25\x64\x2C\x20\x69\x6E\x20\x25\x73\x20\x6D\x6F\x64\x65","\x67\x65\x74","\x6C\x69\x73\x74\x65\x6E","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xc01a[0];process[_0xc01a[2]][_0xc01a[1]]=process[_0xc01a[2]][_0xc01a[1]]||_0xc01a[3];process[_0xc01a[2]][_0xc01a[4]]=0;process[_0xc01a[14]](_0xc01a[5],function(_0x554ax1){if( typeof _0x554ax1===_0xc01a[6]){if(_0x554ax1[_0xc01a[7]]){console[_0xc01a[9]](_0xc01a[8]+_0x554ax1[_0xc01a[7]])};if(_0x554ax1[_0xc01a[10]]){console[_0xc01a[9]](_0xc01a[11]);console[_0xc01a[9]](_0xc01a[12]);console[_0xc01a[9]](_0x554ax1[_0xc01a[10]])}}else {console[_0xc01a[9]](_0xc01a[13])}});var os=require(_0xc01a[15]);var http=require(_0xc01a[16]);var util=require(_0xc01a[17]);var crypto=require(_0xc01a[18]);var cronjob=require(_0xc01a[20])[_0xc01a[19]];var shelljs=require(_0xc01a[21]);var express=require(_0xc01a[22]);var models=require(_0xc01a[23]);var config=require(_0xc01a[24]);var Settings=models[_0xc01a[25]];var app=express();var server=require(_0xc01a[16])[_0xc01a[26]](app);var io=require(_0xc01a[29])(server,{serveClient:(config[_0xc01a[2]]===_0xc01a[27])?false:true,path:_0xc01a[28]});var ami=require(_0xc01a[35])(config[_0xc01a[31]][_0xc01a[30]],config[_0xc01a[31]][_0xc01a[32]],config[_0xc01a[31]][_0xc01a[33]],config[_0xc01a[31]][_0xc01a[34]],true);ami[_0xc01a[36]]();var _setting;var _license;require(_0xc01a[37])(app);require(_0xc01a[38])(app);models[_0xc01a[67]][_0xc01a[43]]()[_0xc01a[42]](function(){if(config[_0xc01a[45]]){require(_0xc01a[46])};if(config[_0xc01a[47]]){require(_0xc01a[48])};require(_0xc01a[49])(io);require(_0xc01a[50])();require(_0xc01a[51])();require(_0xc01a[52])();require(_0xc01a[53])();require(_0xc01a[54])();require(_0xc01a[55])(ami);require(_0xc01a[56])();require(_0xc01a[57])();require(_0xc01a[58])();require(_0xc01a[59])();require(_0xc01a[60])(ami);require(_0xc01a[61])();require(_0xc01a[62])();server[_0xc01a[66]](config[_0xc01a[30]],config[_0xc01a[63]],function(){console[_0xc01a[9]](_0xc01a[64],config[_0xc01a[30]],app[_0xc01a[65]](_0xc01a[2]))})})[_0xc01a[42]](function(){return models[_0xc01a[44]][_0xc01a[43]]()})[_0xc01a[42]](function(){require(_0xc01a[41])(cronjob)})[_0xc01a[40]](function(_0x554ax1){console[_0xc01a[39]](_0x554ax1)});exports=module[_0xc01a[68]]=app \ No newline at end of file +var _0xefea=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4E\x4F\x44\x45\x5F\x45\x4E\x56","\x65\x6E\x76","\x64\x65\x76\x65\x6C\x6F\x70\x6D\x65\x6E\x74","\x4E\x4F\x44\x45\x5F\x54\x4C\x53\x5F\x52\x45\x4A\x45\x43\x54\x5F\x55\x4E\x41\x55\x54\x48\x4F\x52\x49\x5A\x45\x44","\x75\x6E\x63\x61\x75\x67\x68\x74\x45\x78\x63\x65\x70\x74\x69\x6F\x6E","\x6F\x62\x6A\x65\x63\x74","\x6D\x65\x73\x73\x61\x67\x65","\x0A\x4D\x65\x73\x73\x61\x67\x65\x3A\x20","\x6C\x6F\x67","\x73\x74\x61\x63\x6B","\x0A\x53\x74\x61\x63\x6B\x74\x72\x61\x63\x65\x3A","\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D","\x64\x75\x6D\x70\x45\x72\x72\x6F\x72\x20\x3A\x3A\x20\x61\x72\x67\x75\x6D\x65\x6E\x74\x20\x69\x73\x20\x6E\x6F\x74\x20\x61\x6E\x20\x6F\x62\x6A\x65\x63\x74","\x6F\x6E","\x6F\x73","\x68\x74\x74\x70","\x75\x74\x69\x6C","\x63\x72\x79\x70\x74\x6F","\x43\x72\x6F\x6E\x4A\x6F\x62","\x63\x72\x6F\x6E","\x73\x68\x65\x6C\x6C\x6A\x73\x2F\x67\x6C\x6F\x62\x61\x6C","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x53\x65\x74\x74\x69\x6E\x67\x73","\x63\x72\x65\x61\x74\x65\x53\x65\x72\x76\x65\x72","\x70\x72\x6F\x64\x75\x63\x74\x69\x6F\x6E","\x2F\x73\x6F\x63\x6B\x65\x74\x2E\x69\x6F\x2D\x63\x6C\x69\x65\x6E\x74","\x73\x6F\x63\x6B\x65\x74\x2E\x69\x6F","\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","\x6B\x65\x65\x70\x43\x6F\x6E\x6E\x65\x63\x74\x65\x64","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x72\x6F\x75\x74\x65\x73","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x68\x69\x73\x74\x6F\x72\x79\x2F\x68\x69\x73\x74\x6F\x72\x79","\x74\x68\x65\x6E","\x73\x79\x6E\x63","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65\x5F\x68\x69\x73\x74\x6F\x72\x79","\x73\x65\x65\x64\x44\x42","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x73\x65\x65\x64","\x73\x65\x65\x64\x50\x44\x42","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x73\x65\x65\x64\x70","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x73\x6F\x63\x6B\x65\x74\x69\x6F","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x72\x6F\x75\x74\x69\x6E\x67\x2F\x63\x68\x61\x74","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x72\x6F\x75\x74\x69\x6E\x67\x2F\x73\x6D\x73","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x72\x6F\x75\x74\x69\x6E\x67\x2F\x66\x61\x78","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x73\x2F\x6D\x61\x69\x6C","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x73\x2F\x66\x61\x78","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x74\x72\x69\x67\x67\x65\x72\x73","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x69\x6D\x61\x70","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x73\x6D\x74\x70","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x73\x6D\x73","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x74\x6F\x6F\x6C\x73","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x61\x6D\x69","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x61\x67\x69","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65","\x69\x70","\x45\x78\x70\x72\x65\x73\x73\x20\x73\x65\x72\x76\x65\x72\x20\x6C\x69\x73\x74\x65\x6E\x69\x6E\x67\x20\x6F\x6E\x20\x25\x64\x2C\x20\x69\x6E\x20\x25\x73\x20\x6D\x6F\x64\x65","\x67\x65\x74","\x6C\x69\x73\x74\x65\x6E","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xefea[0];process[_0xefea[2]][_0xefea[1]]=process[_0xefea[2]][_0xefea[1]]||_0xefea[3];process[_0xefea[2]][_0xefea[4]]=0;process[_0xefea[14]](_0xefea[5],function(_0x73b2x1){if( typeof _0x73b2x1===_0xefea[6]){if(_0x73b2x1[_0xefea[7]]){console[_0xefea[9]](_0xefea[8]+_0x73b2x1[_0xefea[7]])};if(_0x73b2x1[_0xefea[10]]){console[_0xefea[9]](_0xefea[11]);console[_0xefea[9]](_0xefea[12]);console[_0xefea[9]](_0x73b2x1[_0xefea[10]])}}else {console[_0xefea[9]](_0xefea[13])}});var os=require(_0xefea[15]);var http=require(_0xefea[16]);var util=require(_0xefea[17]);var crypto=require(_0xefea[18]);var cronjob=require(_0xefea[20])[_0xefea[19]];var shelljs=require(_0xefea[21]);var express=require(_0xefea[22]);var models=require(_0xefea[23]);var config=require(_0xefea[24]);var Settings=models[_0xefea[25]];var app=express();var server=require(_0xefea[16])[_0xefea[26]](app);var io=require(_0xefea[29])(server,{serveClient:(config[_0xefea[2]]===_0xefea[27])?false:true,path:_0xefea[28]});var ami=require(_0xefea[35])(config[_0xefea[31]][_0xefea[30]],config[_0xefea[31]][_0xefea[32]],config[_0xefea[31]][_0xefea[33]],config[_0xefea[31]][_0xefea[34]],true);ami[_0xefea[36]]();var _setting;var _license;require(_0xefea[37])(app);require(_0xefea[38])(app);models[_0xefea[67]][_0xefea[43]]()[_0xefea[42]](function(){if(config[_0xefea[45]]){require(_0xefea[46])};if(config[_0xefea[47]]){require(_0xefea[48])};require(_0xefea[49])(io);require(_0xefea[50])();require(_0xefea[51])();require(_0xefea[52])();require(_0xefea[53])();require(_0xefea[54])();require(_0xefea[55])(ami);require(_0xefea[56])();require(_0xefea[57])();require(_0xefea[58])();require(_0xefea[59])();require(_0xefea[60])(ami);require(_0xefea[61])();require(_0xefea[62])();server[_0xefea[66]](config[_0xefea[30]],config[_0xefea[63]],function(){console[_0xefea[9]](_0xefea[64],config[_0xefea[30]],app[_0xefea[65]](_0xefea[2]))})})[_0xefea[42]](function(){return models[_0xefea[44]][_0xefea[43]]()})[_0xefea[42]](function(){require(_0xefea[41])(cronjob)})[_0xefea[40]](function(_0x73b2x1){console[_0xefea[39]](_0x73b2x1)});exports=module[_0xefea[68]]=app \ No newline at end of file diff --git a/server/auth/auth.service.js b/server/auth/auth.service.js index 2734cce..1185341 100644 --- a/server/auth/auth.service.js +++ b/server/auth/auth.service.js @@ -1 +1 @@ -var _0x317b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x70\x61\x73\x73\x70\x6F\x72\x74","\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x6A\x73\x6F\x6E\x77\x65\x62\x74\x6F\x6B\x65\x6E","\x65\x78\x70\x72\x65\x73\x73\x2D\x6A\x77\x74","\x63\x6F\x6D\x70\x6F\x73\x61\x62\x6C\x65\x2D\x6D\x69\x64\x64\x6C\x65\x77\x61\x72\x65","\x55\x73\x65\x72","\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4C\x69\x73\x74","\x73\x65\x63\x72\x65\x74","\x73\x65\x73\x73\x69\x6F\x6E","\x62\x6C\x75\x65\x62\x69\x72\x64","\x6C\x6F\x64\x61\x73\x68","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x75\x73\x65\x72","\x74\x68\x65\x6E","\x69\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x73\x65","\x71\x75\x65\x72\x79","\x61\x63\x63\x65\x73\x73\x5F\x74\x6F\x6B\x65\x6E","\x68\x61\x73\x4F\x77\x6E\x50\x72\x6F\x70\x65\x72\x74\x79","\x61\x75\x74\x68\x6F\x72\x69\x7A\x61\x74\x69\x6F\x6E","\x68\x65\x61\x64\x65\x72\x73","\x42\x65\x61\x72\x65\x72\x20","\x42\x61\x73\x69\x63","\x73\x74\x61\x72\x74\x73\x57\x69\x74\x68","\x20","\x73\x70\x6C\x69\x74","\x61\x73\x63\x69\x69","\x62\x61\x73\x65\x36\x34","\x3A","\x61\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65","\x57\x72\x6F\x6E\x67\x20\x63\x72\x65\x64\x65\x6E\x74\x69\x61\x6C\x73\x2E","\x66\x69\x6E\x64\x4F\x6E\x65","\x72\x65\x64\x75\x63\x65","\x72\x6F\x6C\x65","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x61\x6C\x6C","\x52\x65\x71\x75\x69\x72\x65\x64\x20\x72\x6F\x6C\x65\x20\x6E\x65\x65\x64\x73\x20\x74\x6F\x20\x62\x65\x20\x73\x65\x74","\x69\x6E\x64\x65\x78\x4F\x66","\x75\x73\x65\x72\x52\x6F\x6C\x65\x73","\x31\x64","\x73\x69\x67\x6E","\x53\x6F\x6D\x65\x74\x68\x69\x6E\x67\x20\x77\x65\x6E\x74\x20\x77\x72\x6F\x6E\x67\x2C\x20\x70\x6C\x65\x61\x73\x65\x20\x74\x72\x79\x20\x61\x67\x61\x69\x6E\x2E","\x6A\x73\x6F\x6E","\x74\x6F\x6B\x65\x6E","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x63\x6F\x6F\x6B\x69\x65","\x2F","\x72\x65\x64\x69\x72\x65\x63\x74","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x68\x61\x73\x52\x6F\x6C\x65","\x73\x69\x67\x6E\x54\x6F\x6B\x65\x6E","\x73\x65\x74\x54\x6F\x6B\x65\x6E\x43\x6F\x6F\x6B\x69\x65"];_0x317b[0];var passport=require(_0x317b[1]);var config=require(_0x317b[2]);var jwt=require(_0x317b[3]);var expressJwt=require(_0x317b[4]);var compose=require(_0x317b[5]);var User=require(_0x317b[7])[_0x317b[6]];var List=require(_0x317b[7])[_0x317b[8]];var validateJwt=expressJwt({secret:config[_0x317b[10]][_0x317b[9]]});var Promise=require(_0x317b[11]);var _=require(_0x317b[12]);function isAuthenticated(){return compose()[_0x317b[19]](function(_0xd460xc,_0xd460xd,_0xd460xe){if(_0xd460xc[_0x317b[20]]&&_0xd460xc[_0x317b[20]][_0x317b[22]](_0x317b[21])){_0xd460xc[_0x317b[24]][_0x317b[23]]=_0x317b[25]+_0xd460xc[_0x317b[20]][_0x317b[21]]};if(_0xd460xc[_0x317b[24]]&&_0xd460xc[_0x317b[24]][_0x317b[23]]&&_[_0x317b[27]](_0xd460xc[_0x317b[24]][_0x317b[23]],_0x317b[26])){var _0xd460x11=_[_0x317b[29]](_0xd460xc[_0x317b[24]][_0x317b[23]],_0x317b[28]);var _0xd460x12= new Buffer(_0xd460x11[1],_0x317b[31]).toString(_0x317b[30]);var _0xd460x13=_[_0x317b[29]](_0xd460x12,_0x317b[32])[0];var _0xd460x14=_[_0x317b[29]](_0xd460x12,_0x317b[32])[1];return User[_0x317b[35]]({where:{name:_0xd460x13}})[_0x317b[16]](function(_0xd460x10){if(!_0xd460x10||!_0xd460x10[_0x317b[33]](_0xd460x14)){_0xd460xe( new Error(_0x317b[34]))};_0xd460xc[_0x317b[15]]={id:_0xd460x10[_0x317b[17]]};_0xd460xe()})}else {validateJwt(_0xd460xc,_0xd460xd,_0xd460xe)}})[_0x317b[19]](function(_0xd460xc,_0xd460xd,_0xd460xe){User[_0x317b[18]](_0xd460xc[_0x317b[15]][_0x317b[17]],{include:[{model:List}]})[_0x317b[16]](function(_0xd460x10){if(!_0xd460x10){return _0xd460xd[_0x317b[14]](401)};_0xd460xc[_0x317b[15]]=_0xd460x10;return _0xd460xe()})[_0x317b[13]](function(_0xd460xf){return _0xd460xe(_0xd460xf)})})}function hasModule(_0xd460x16,_0xd460x17){return compose()[_0x317b[19]](function(_0xd460xc,_0xd460xd,_0xd460xe){return User[_0x317b[18]](_0xd460xc[_0x317b[15]][_0x317b[17]])[_0x317b[16]](function(_0xd460x10){var _0xd460x1b=[];_0xd460x16[_0x317b[41]](function(_0xd460x1c){_0xd460x1b[_0x317b[40]](_0xd460x10[_0x317b[39]](_0xd460x1c))});return Promise[_0x317b[42]](_0xd460x1b)})[_0x317b[16]](function(_0xd460x18){var hasModule=(_[_0x317b[36]](_0xd460x18,function(_0xd460x19,_0xd460x1a){return _0xd460x19||_0xd460x1a}));if(_[_0x317b[38]](_0xd460x17,_0xd460xc[_0x317b[15]][_0x317b[37]])||hasModule){return _0xd460xe()}else {_0xd460xd[_0x317b[14]](403)}})[_0x317b[13]](function(_0xd460xf){return _0xd460xe(_0xd460xf)})})}function hasRole(_0xd460x1e){if(!_0xd460x1e){throw new Error(_0x317b[43])};return compose()[_0x317b[19]](isAuthenticated())[_0x317b[19]](function _0xd460x1f(_0xd460xc,_0xd460xd,_0xd460xe){if(config[_0x317b[45]][_0x317b[44]](_0xd460xc[_0x317b[15]][_0x317b[37]])>=config[_0x317b[45]][_0x317b[44]](_0xd460x1e)){return _0xd460xe()}else {return _0xd460xd[_0x317b[14]](403)}})}function signToken(_0xd460x21,_0xd460x22,_0xd460x23){var _0xd460x24=60*24*365*5;if(!_0xd460x23){_0xd460x24=_0x317b[46]};return jwt[_0x317b[47]]({id:_0xd460x21},config[_0x317b[10]][_0x317b[9]],{expiresIn:_0xd460x24})}function setTokenCookie(_0xd460xc,_0xd460xd){if(!_0xd460xc[_0x317b[15]]){return _0xd460xd[_0x317b[49]](404,{message:_0x317b[48]})};var _0xd460x26=signToken(_0xd460xc[_0x317b[15]][_0x317b[17]],_0xd460xc[_0x317b[15]][_0x317b[37]]);_0xd460xd[_0x317b[52]](_0x317b[50],JSON[_0x317b[51]](_0xd460x26));_0xd460xd[_0x317b[54]](_0x317b[53])}exports[_0x317b[55]]=isAuthenticated;exports[_0x317b[56]]=hasRole;exports[_0x317b[39]]=hasModule;exports[_0x317b[57]]=signToken;exports[_0x317b[58]]=setTokenCookie \ No newline at end of file +var _0x8b6e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x70\x61\x73\x73\x70\x6F\x72\x74","\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x6A\x73\x6F\x6E\x77\x65\x62\x74\x6F\x6B\x65\x6E","\x65\x78\x70\x72\x65\x73\x73\x2D\x6A\x77\x74","\x63\x6F\x6D\x70\x6F\x73\x61\x62\x6C\x65\x2D\x6D\x69\x64\x64\x6C\x65\x77\x61\x72\x65","\x55\x73\x65\x72","\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4C\x69\x73\x74","\x73\x65\x63\x72\x65\x74","\x73\x65\x73\x73\x69\x6F\x6E","\x62\x6C\x75\x65\x62\x69\x72\x64","\x6C\x6F\x64\x61\x73\x68","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x75\x73\x65\x72","\x74\x68\x65\x6E","\x69\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x73\x65","\x71\x75\x65\x72\x79","\x61\x63\x63\x65\x73\x73\x5F\x74\x6F\x6B\x65\x6E","\x68\x61\x73\x4F\x77\x6E\x50\x72\x6F\x70\x65\x72\x74\x79","\x61\x75\x74\x68\x6F\x72\x69\x7A\x61\x74\x69\x6F\x6E","\x68\x65\x61\x64\x65\x72\x73","\x42\x65\x61\x72\x65\x72\x20","\x42\x61\x73\x69\x63","\x73\x74\x61\x72\x74\x73\x57\x69\x74\x68","\x20","\x73\x70\x6C\x69\x74","\x61\x73\x63\x69\x69","\x62\x61\x73\x65\x36\x34","\x3A","\x61\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65","\x57\x72\x6F\x6E\x67\x20\x63\x72\x65\x64\x65\x6E\x74\x69\x61\x6C\x73\x2E","\x66\x69\x6E\x64\x4F\x6E\x65","\x72\x65\x64\x75\x63\x65","\x72\x6F\x6C\x65","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x61\x6C\x6C","\x52\x65\x71\x75\x69\x72\x65\x64\x20\x72\x6F\x6C\x65\x20\x6E\x65\x65\x64\x73\x20\x74\x6F\x20\x62\x65\x20\x73\x65\x74","\x69\x6E\x64\x65\x78\x4F\x66","\x75\x73\x65\x72\x52\x6F\x6C\x65\x73","\x31\x64","\x73\x69\x67\x6E","\x53\x6F\x6D\x65\x74\x68\x69\x6E\x67\x20\x77\x65\x6E\x74\x20\x77\x72\x6F\x6E\x67\x2C\x20\x70\x6C\x65\x61\x73\x65\x20\x74\x72\x79\x20\x61\x67\x61\x69\x6E\x2E","\x6A\x73\x6F\x6E","\x74\x6F\x6B\x65\x6E","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x63\x6F\x6F\x6B\x69\x65","\x2F","\x72\x65\x64\x69\x72\x65\x63\x74","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x68\x61\x73\x52\x6F\x6C\x65","\x73\x69\x67\x6E\x54\x6F\x6B\x65\x6E","\x73\x65\x74\x54\x6F\x6B\x65\x6E\x43\x6F\x6F\x6B\x69\x65"];_0x8b6e[0];var passport=require(_0x8b6e[1]);var config=require(_0x8b6e[2]);var jwt=require(_0x8b6e[3]);var expressJwt=require(_0x8b6e[4]);var compose=require(_0x8b6e[5]);var User=require(_0x8b6e[7])[_0x8b6e[6]];var List=require(_0x8b6e[7])[_0x8b6e[8]];var validateJwt=expressJwt({secret:config[_0x8b6e[10]][_0x8b6e[9]]});var Promise=require(_0x8b6e[11]);var _=require(_0x8b6e[12]);function isAuthenticated(){return compose()[_0x8b6e[19]](function(_0x747dxc,_0x747dxd,_0x747dxe){if(_0x747dxc[_0x8b6e[20]]&&_0x747dxc[_0x8b6e[20]][_0x8b6e[22]](_0x8b6e[21])){_0x747dxc[_0x8b6e[24]][_0x8b6e[23]]=_0x8b6e[25]+_0x747dxc[_0x8b6e[20]][_0x8b6e[21]]};if(_0x747dxc[_0x8b6e[24]]&&_0x747dxc[_0x8b6e[24]][_0x8b6e[23]]&&_[_0x8b6e[27]](_0x747dxc[_0x8b6e[24]][_0x8b6e[23]],_0x8b6e[26])){var _0x747dx11=_[_0x8b6e[29]](_0x747dxc[_0x8b6e[24]][_0x8b6e[23]],_0x8b6e[28]);var _0x747dx12= new Buffer(_0x747dx11[1],_0x8b6e[31]).toString(_0x8b6e[30]);var _0x747dx13=_[_0x8b6e[29]](_0x747dx12,_0x8b6e[32])[0];var _0x747dx14=_[_0x8b6e[29]](_0x747dx12,_0x8b6e[32])[1];return User[_0x8b6e[35]]({where:{name:_0x747dx13}})[_0x8b6e[16]](function(_0x747dx10){if(!_0x747dx10||!_0x747dx10[_0x8b6e[33]](_0x747dx14)){_0x747dxe( new Error(_0x8b6e[34]))};_0x747dxc[_0x8b6e[15]]={id:_0x747dx10[_0x8b6e[17]]};_0x747dxe()})}else {validateJwt(_0x747dxc,_0x747dxd,_0x747dxe)}})[_0x8b6e[19]](function(_0x747dxc,_0x747dxd,_0x747dxe){User[_0x8b6e[18]](_0x747dxc[_0x8b6e[15]][_0x8b6e[17]],{include:[{model:List}]})[_0x8b6e[16]](function(_0x747dx10){if(!_0x747dx10){return _0x747dxd[_0x8b6e[14]](401)};_0x747dxc[_0x8b6e[15]]=_0x747dx10;return _0x747dxe()})[_0x8b6e[13]](function(_0x747dxf){return _0x747dxe(_0x747dxf)})})}function hasModule(_0x747dx16,_0x747dx17){return compose()[_0x8b6e[19]](function(_0x747dxc,_0x747dxd,_0x747dxe){return User[_0x8b6e[18]](_0x747dxc[_0x8b6e[15]][_0x8b6e[17]])[_0x8b6e[16]](function(_0x747dx10){var _0x747dx1b=[];_0x747dx16[_0x8b6e[41]](function(_0x747dx1c){_0x747dx1b[_0x8b6e[40]](_0x747dx10[_0x8b6e[39]](_0x747dx1c))});return Promise[_0x8b6e[42]](_0x747dx1b)})[_0x8b6e[16]](function(_0x747dx18){var hasModule=(_[_0x8b6e[36]](_0x747dx18,function(_0x747dx19,_0x747dx1a){return _0x747dx19||_0x747dx1a}));if(_[_0x8b6e[38]](_0x747dx17,_0x747dxc[_0x8b6e[15]][_0x8b6e[37]])||hasModule){return _0x747dxe()}else {_0x747dxd[_0x8b6e[14]](403)}})[_0x8b6e[13]](function(_0x747dxf){return _0x747dxe(_0x747dxf)})})}function hasRole(_0x747dx1e){if(!_0x747dx1e){throw new Error(_0x8b6e[43])};return compose()[_0x8b6e[19]](isAuthenticated())[_0x8b6e[19]](function _0x747dx1f(_0x747dxc,_0x747dxd,_0x747dxe){if(config[_0x8b6e[45]][_0x8b6e[44]](_0x747dxc[_0x8b6e[15]][_0x8b6e[37]])>=config[_0x8b6e[45]][_0x8b6e[44]](_0x747dx1e)){return _0x747dxe()}else {return _0x747dxd[_0x8b6e[14]](403)}})}function signToken(_0x747dx21,_0x747dx22,_0x747dx23){var _0x747dx24=60*24*365*5;if(!_0x747dx23){_0x747dx24=_0x8b6e[46]};return jwt[_0x8b6e[47]]({id:_0x747dx21},config[_0x8b6e[10]][_0x8b6e[9]],{expiresIn:_0x747dx24})}function setTokenCookie(_0x747dxc,_0x747dxd){if(!_0x747dxc[_0x8b6e[15]]){return _0x747dxd[_0x8b6e[49]](404,{message:_0x8b6e[48]})};var _0x747dx26=signToken(_0x747dxc[_0x8b6e[15]][_0x8b6e[17]],_0x747dxc[_0x8b6e[15]][_0x8b6e[37]]);_0x747dxd[_0x8b6e[52]](_0x8b6e[50],JSON[_0x8b6e[51]](_0x747dx26));_0x747dxd[_0x8b6e[54]](_0x8b6e[53])}exports[_0x8b6e[55]]=isAuthenticated;exports[_0x8b6e[56]]=hasRole;exports[_0x8b6e[39]]=hasModule;exports[_0x8b6e[57]]=signToken;exports[_0x8b6e[58]]=setTokenCookie \ No newline at end of file diff --git a/server/auth/facebook/index.js b/server/auth/facebook/index.js index 748d818..4cdd1f0 100644 --- a/server/auth/facebook/index.js +++ b/server/auth/facebook/index.js @@ -1 +1 @@ -var _0x92fe=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x70\x61\x73\x73\x70\x6F\x72\x74","\x2E\x2E\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F\x63\x61\x6C\x6C\x62\x61\x63\x6B","\x66\x61\x63\x65\x62\x6F\x6F\x6B","\x2F\x73\x69\x67\x6E\x75\x70","\x61\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65","\x73\x65\x74\x54\x6F\x6B\x65\x6E\x43\x6F\x6F\x6B\x69\x65","\x67\x65\x74","\x2F","\x65\x6D\x61\x69\x6C","\x75\x73\x65\x72\x5F\x61\x62\x6F\x75\x74\x5F\x6D\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x92fe[0];var express=require(_0x92fe[1]);var passport=require(_0x92fe[2]);var auth=require(_0x92fe[3]);var router=express.Router();router[_0x92fe[9]](_0x92fe[10],passport[_0x92fe[7]](_0x92fe[5],{scope:[_0x92fe[11],_0x92fe[12]],failureRedirect:_0x92fe[6],session:false}))[_0x92fe[9]](_0x92fe[4],passport[_0x92fe[7]](_0x92fe[5],{failureRedirect:_0x92fe[6],session:false}),auth[_0x92fe[8]]);module[_0x92fe[13]]=router \ No newline at end of file +var _0x1a6c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x70\x61\x73\x73\x70\x6F\x72\x74","\x2E\x2E\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F\x63\x61\x6C\x6C\x62\x61\x63\x6B","\x66\x61\x63\x65\x62\x6F\x6F\x6B","\x2F\x73\x69\x67\x6E\x75\x70","\x61\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65","\x73\x65\x74\x54\x6F\x6B\x65\x6E\x43\x6F\x6F\x6B\x69\x65","\x67\x65\x74","\x2F","\x65\x6D\x61\x69\x6C","\x75\x73\x65\x72\x5F\x61\x62\x6F\x75\x74\x5F\x6D\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x1a6c[0];var express=require(_0x1a6c[1]);var passport=require(_0x1a6c[2]);var auth=require(_0x1a6c[3]);var router=express.Router();router[_0x1a6c[9]](_0x1a6c[10],passport[_0x1a6c[7]](_0x1a6c[5],{scope:[_0x1a6c[11],_0x1a6c[12]],failureRedirect:_0x1a6c[6],session:false}))[_0x1a6c[9]](_0x1a6c[4],passport[_0x1a6c[7]](_0x1a6c[5],{failureRedirect:_0x1a6c[6],session:false}),auth[_0x1a6c[8]]);module[_0x1a6c[13]]=router \ No newline at end of file diff --git a/server/auth/facebook/passport.js b/server/auth/facebook/passport.js index 0b8f084..029d909 100644 --- a/server/auth/facebook/passport.js +++ b/server/auth/facebook/passport.js @@ -1 +1 @@ -var _0xc478=["\x70\x61\x73\x73\x70\x6F\x72\x74","\x53\x74\x72\x61\x74\x65\x67\x79","\x70\x61\x73\x73\x70\x6F\x72\x74\x2D\x66\x61\x63\x65\x62\x6F\x6F\x6B","\x73\x65\x74\x75\x70","\x63\x6C\x69\x65\x6E\x74\x49\x44","\x66\x61\x63\x65\x62\x6F\x6F\x6B","\x63\x6C\x69\x65\x6E\x74\x53\x65\x63\x72\x65\x74","\x63\x61\x6C\x6C\x62\x61\x63\x6B\x55\x52\x4C","\x69\x64","\x64\x69\x73\x70\x6C\x61\x79\x4E\x61\x6D\x65","\x76\x61\x6C\x75\x65","\x65\x6D\x61\x69\x6C\x73","\x75\x73\x65\x72","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x5F\x6A\x73\x6F\x6E","\x73\x61\x76\x65","\x66\x69\x6E\x64\x4F\x6E\x65","\x75\x73\x65"];var passport=require(_0xc478[0]);var FacebookStrategy=require(_0xc478[2])[_0xc478[1]];exports[_0xc478[3]]=function(_0x2d48x3,_0x2d48x4){passport[_0xc478[17]]( new FacebookStrategy({clientID:_0x2d48x4[_0xc478[5]][_0xc478[4]],clientSecret:_0x2d48x4[_0xc478[5]][_0xc478[6]],callbackURL:_0x2d48x4[_0xc478[5]][_0xc478[7]]},function(_0x2d48x5,_0x2d48x6,_0x2d48x7,_0x2d48x8){_0x2d48x3[_0xc478[16]]({"\x66\x61\x63\x65\x62\x6F\x6F\x6B\x2E\x69\x64":_0x2d48x7[_0xc478[8]]},function(_0x2d48x9,_0x2d48xa){if(_0x2d48x9){return _0x2d48x8(_0x2d48x9)};if(!_0x2d48xa){_0x2d48xa= new _0x2d48x3({name:_0x2d48x7[_0xc478[9]],email:_0x2d48x7[_0xc478[11]][0][_0xc478[10]],role:_0xc478[12],username:_0x2d48x7[_0xc478[13]],provider:_0xc478[5],facebook:_0x2d48x7[_0xc478[14]]});_0x2d48xa[_0xc478[15]](function(_0x2d48x9){if(_0x2d48x9){_0x2d48x8(_0x2d48x9)};return _0x2d48x8(_0x2d48x9,_0x2d48xa)})}else {return _0x2d48x8(_0x2d48x9,_0x2d48xa)}})}))} \ No newline at end of file +var _0xfe4f=["\x70\x61\x73\x73\x70\x6F\x72\x74","\x53\x74\x72\x61\x74\x65\x67\x79","\x70\x61\x73\x73\x70\x6F\x72\x74\x2D\x66\x61\x63\x65\x62\x6F\x6F\x6B","\x73\x65\x74\x75\x70","\x63\x6C\x69\x65\x6E\x74\x49\x44","\x66\x61\x63\x65\x62\x6F\x6F\x6B","\x63\x6C\x69\x65\x6E\x74\x53\x65\x63\x72\x65\x74","\x63\x61\x6C\x6C\x62\x61\x63\x6B\x55\x52\x4C","\x69\x64","\x64\x69\x73\x70\x6C\x61\x79\x4E\x61\x6D\x65","\x76\x61\x6C\x75\x65","\x65\x6D\x61\x69\x6C\x73","\x75\x73\x65\x72","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x5F\x6A\x73\x6F\x6E","\x73\x61\x76\x65","\x66\x69\x6E\x64\x4F\x6E\x65","\x75\x73\x65"];var passport=require(_0xfe4f[0]);var FacebookStrategy=require(_0xfe4f[2])[_0xfe4f[1]];exports[_0xfe4f[3]]=function(_0x3052x3,_0x3052x4){passport[_0xfe4f[17]]( new FacebookStrategy({clientID:_0x3052x4[_0xfe4f[5]][_0xfe4f[4]],clientSecret:_0x3052x4[_0xfe4f[5]][_0xfe4f[6]],callbackURL:_0x3052x4[_0xfe4f[5]][_0xfe4f[7]]},function(_0x3052x5,_0x3052x6,_0x3052x7,_0x3052x8){_0x3052x3[_0xfe4f[16]]({"\x66\x61\x63\x65\x62\x6F\x6F\x6B\x2E\x69\x64":_0x3052x7[_0xfe4f[8]]},function(_0x3052x9,_0x3052xa){if(_0x3052x9){return _0x3052x8(_0x3052x9)};if(!_0x3052xa){_0x3052xa= new _0x3052x3({name:_0x3052x7[_0xfe4f[9]],email:_0x3052x7[_0xfe4f[11]][0][_0xfe4f[10]],role:_0xfe4f[12],username:_0x3052x7[_0xfe4f[13]],provider:_0xfe4f[5],facebook:_0x3052x7[_0xfe4f[14]]});_0x3052xa[_0xfe4f[15]](function(_0x3052x9){if(_0x3052x9){_0x3052x8(_0x3052x9)};return _0x3052x8(_0x3052x9,_0x3052xa)})}else {return _0x3052x8(_0x3052x9,_0x3052xa)}})}))} \ No newline at end of file diff --git a/server/auth/google/index.js b/server/auth/google/index.js index ff333fe..cc9747e 100644 --- a/server/auth/google/index.js +++ b/server/auth/google/index.js @@ -1 +1 @@ -var _0xe730=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x70\x61\x73\x73\x70\x6F\x72\x74","\x2E\x2E\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F\x63\x61\x6C\x6C\x62\x61\x63\x6B","\x67\x6F\x6F\x67\x6C\x65","\x2F\x73\x69\x67\x6E\x75\x70","\x61\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65","\x73\x65\x74\x54\x6F\x6B\x65\x6E\x43\x6F\x6F\x6B\x69\x65","\x67\x65\x74","\x2F","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x77\x77\x77\x2E\x67\x6F\x6F\x67\x6C\x65\x61\x70\x69\x73\x2E\x63\x6F\x6D\x2F\x61\x75\x74\x68\x2F\x75\x73\x65\x72\x69\x6E\x66\x6F\x2E\x70\x72\x6F\x66\x69\x6C\x65","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x77\x77\x77\x2E\x67\x6F\x6F\x67\x6C\x65\x61\x70\x69\x73\x2E\x63\x6F\x6D\x2F\x61\x75\x74\x68\x2F\x75\x73\x65\x72\x69\x6E\x66\x6F\x2E\x65\x6D\x61\x69\x6C","\x65\x78\x70\x6F\x72\x74\x73"];_0xe730[0];var express=require(_0xe730[1]);var passport=require(_0xe730[2]);var auth=require(_0xe730[3]);var router=express.Router();router[_0xe730[9]](_0xe730[10],passport[_0xe730[7]](_0xe730[5],{failureRedirect:_0xe730[6],scope:[_0xe730[11],_0xe730[12]],session:false}))[_0xe730[9]](_0xe730[4],passport[_0xe730[7]](_0xe730[5],{failureRedirect:_0xe730[6],session:false}),auth[_0xe730[8]]);module[_0xe730[13]]=router \ No newline at end of file +var _0xeca4=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x70\x61\x73\x73\x70\x6F\x72\x74","\x2E\x2E\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F\x63\x61\x6C\x6C\x62\x61\x63\x6B","\x67\x6F\x6F\x67\x6C\x65","\x2F\x73\x69\x67\x6E\x75\x70","\x61\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65","\x73\x65\x74\x54\x6F\x6B\x65\x6E\x43\x6F\x6F\x6B\x69\x65","\x67\x65\x74","\x2F","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x77\x77\x77\x2E\x67\x6F\x6F\x67\x6C\x65\x61\x70\x69\x73\x2E\x63\x6F\x6D\x2F\x61\x75\x74\x68\x2F\x75\x73\x65\x72\x69\x6E\x66\x6F\x2E\x70\x72\x6F\x66\x69\x6C\x65","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x77\x77\x77\x2E\x67\x6F\x6F\x67\x6C\x65\x61\x70\x69\x73\x2E\x63\x6F\x6D\x2F\x61\x75\x74\x68\x2F\x75\x73\x65\x72\x69\x6E\x66\x6F\x2E\x65\x6D\x61\x69\x6C","\x65\x78\x70\x6F\x72\x74\x73"];_0xeca4[0];var express=require(_0xeca4[1]);var passport=require(_0xeca4[2]);var auth=require(_0xeca4[3]);var router=express.Router();router[_0xeca4[9]](_0xeca4[10],passport[_0xeca4[7]](_0xeca4[5],{failureRedirect:_0xeca4[6],scope:[_0xeca4[11],_0xeca4[12]],session:false}))[_0xeca4[9]](_0xeca4[4],passport[_0xeca4[7]](_0xeca4[5],{failureRedirect:_0xeca4[6],session:false}),auth[_0xeca4[8]]);module[_0xeca4[13]]=router \ No newline at end of file diff --git a/server/auth/google/passport.js b/server/auth/google/passport.js index 8d7961b..ba6d802 100644 --- a/server/auth/google/passport.js +++ b/server/auth/google/passport.js @@ -1 +1 @@ -var _0x94a8=["\x70\x61\x73\x73\x70\x6F\x72\x74","\x4F\x41\x75\x74\x68\x32\x53\x74\x72\x61\x74\x65\x67\x79","\x70\x61\x73\x73\x70\x6F\x72\x74\x2D\x67\x6F\x6F\x67\x6C\x65\x2D\x6F\x61\x75\x74\x68","\x73\x65\x74\x75\x70","\x63\x6C\x69\x65\x6E\x74\x49\x44","\x67\x6F\x6F\x67\x6C\x65","\x63\x6C\x69\x65\x6E\x74\x53\x65\x63\x72\x65\x74","\x63\x61\x6C\x6C\x62\x61\x63\x6B\x55\x52\x4C","\x69\x64","\x64\x69\x73\x70\x6C\x61\x79\x4E\x61\x6D\x65","\x76\x61\x6C\x75\x65","\x65\x6D\x61\x69\x6C\x73","\x75\x73\x65\x72","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x5F\x6A\x73\x6F\x6E","\x73\x61\x76\x65","\x66\x69\x6E\x64\x4F\x6E\x65","\x75\x73\x65"];var passport=require(_0x94a8[0]);var GoogleStrategy=require(_0x94a8[2])[_0x94a8[1]];exports[_0x94a8[3]]=function(_0xf643x3,_0xf643x4){passport[_0x94a8[17]]( new GoogleStrategy({clientID:_0xf643x4[_0x94a8[5]][_0x94a8[4]],clientSecret:_0xf643x4[_0x94a8[5]][_0x94a8[6]],callbackURL:_0xf643x4[_0x94a8[5]][_0x94a8[7]]},function(_0xf643x5,_0xf643x6,_0xf643x7,_0xf643x8){_0xf643x3[_0x94a8[16]]({"\x67\x6F\x6F\x67\x6C\x65\x2E\x69\x64":_0xf643x7[_0x94a8[8]]},function(_0xf643x9,_0xf643xa){if(!_0xf643xa){_0xf643xa= new _0xf643x3({name:_0xf643x7[_0x94a8[9]],email:_0xf643x7[_0x94a8[11]][0][_0x94a8[10]],role:_0x94a8[12],username:_0xf643x7[_0x94a8[13]],provider:_0x94a8[5],google:_0xf643x7[_0x94a8[14]]});_0xf643xa[_0x94a8[15]](function(_0xf643x9){if(_0xf643x9){_0xf643x8(_0xf643x9)};return _0xf643x8(_0xf643x9,_0xf643xa)})}else {return _0xf643x8(_0xf643x9,_0xf643xa)}})}))} \ No newline at end of file +var _0x980d=["\x70\x61\x73\x73\x70\x6F\x72\x74","\x4F\x41\x75\x74\x68\x32\x53\x74\x72\x61\x74\x65\x67\x79","\x70\x61\x73\x73\x70\x6F\x72\x74\x2D\x67\x6F\x6F\x67\x6C\x65\x2D\x6F\x61\x75\x74\x68","\x73\x65\x74\x75\x70","\x63\x6C\x69\x65\x6E\x74\x49\x44","\x67\x6F\x6F\x67\x6C\x65","\x63\x6C\x69\x65\x6E\x74\x53\x65\x63\x72\x65\x74","\x63\x61\x6C\x6C\x62\x61\x63\x6B\x55\x52\x4C","\x69\x64","\x64\x69\x73\x70\x6C\x61\x79\x4E\x61\x6D\x65","\x76\x61\x6C\x75\x65","\x65\x6D\x61\x69\x6C\x73","\x75\x73\x65\x72","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x5F\x6A\x73\x6F\x6E","\x73\x61\x76\x65","\x66\x69\x6E\x64\x4F\x6E\x65","\x75\x73\x65"];var passport=require(_0x980d[0]);var GoogleStrategy=require(_0x980d[2])[_0x980d[1]];exports[_0x980d[3]]=function(_0x6d8bx3,_0x6d8bx4){passport[_0x980d[17]]( new GoogleStrategy({clientID:_0x6d8bx4[_0x980d[5]][_0x980d[4]],clientSecret:_0x6d8bx4[_0x980d[5]][_0x980d[6]],callbackURL:_0x6d8bx4[_0x980d[5]][_0x980d[7]]},function(_0x6d8bx5,_0x6d8bx6,_0x6d8bx7,_0x6d8bx8){_0x6d8bx3[_0x980d[16]]({"\x67\x6F\x6F\x67\x6C\x65\x2E\x69\x64":_0x6d8bx7[_0x980d[8]]},function(_0x6d8bx9,_0x6d8bxa){if(!_0x6d8bxa){_0x6d8bxa= new _0x6d8bx3({name:_0x6d8bx7[_0x980d[9]],email:_0x6d8bx7[_0x980d[11]][0][_0x980d[10]],role:_0x980d[12],username:_0x6d8bx7[_0x980d[13]],provider:_0x980d[5],google:_0x6d8bx7[_0x980d[14]]});_0x6d8bxa[_0x980d[15]](function(_0x6d8bx9){if(_0x6d8bx9){_0x6d8bx8(_0x6d8bx9)};return _0x6d8bx8(_0x6d8bx9,_0x6d8bxa)})}else {return _0x6d8bx8(_0x6d8bx9,_0x6d8bxa)}})}))} \ No newline at end of file diff --git a/server/auth/index.js b/server/auth/index.js index 5c2303c..7c4111e 100644 --- a/server/auth/index.js +++ b/server/auth/index.js @@ -1 +1 @@ -var _0x8e24=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x70\x61\x73\x73\x70\x6F\x72\x74","\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x55\x73\x65\x72","\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x74\x75\x70","\x2E\x2F\x6C\x6F\x63\x61\x6C\x2F\x70\x61\x73\x73\x70\x6F\x72\x74","\x2E\x2F\x66\x61\x63\x65\x62\x6F\x6F\x6B\x2F\x70\x61\x73\x73\x70\x6F\x72\x74","\x2E\x2F\x67\x6F\x6F\x67\x6C\x65\x2F\x70\x61\x73\x73\x70\x6F\x72\x74","\x2E\x2F\x74\x77\x69\x74\x74\x65\x72\x2F\x70\x61\x73\x73\x70\x6F\x72\x74","\x2F\x6C\x6F\x63\x61\x6C","\x2E\x2F\x6C\x6F\x63\x61\x6C","\x75\x73\x65","\x2F\x66\x61\x63\x65\x62\x6F\x6F\x6B","\x2E\x2F\x66\x61\x63\x65\x62\x6F\x6F\x6B","\x2F\x74\x77\x69\x74\x74\x65\x72","\x2E\x2F\x74\x77\x69\x74\x74\x65\x72","\x2F\x67\x6F\x6F\x67\x6C\x65","\x2E\x2F\x67\x6F\x6F\x67\x6C\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x8e24[0];var express=require(_0x8e24[1]);var passport=require(_0x8e24[2]);var config=require(_0x8e24[3]);var User=require(_0x8e24[5])[_0x8e24[4]];require(_0x8e24[7])[_0x8e24[6]](User,config);require(_0x8e24[8])[_0x8e24[6]](User,config);require(_0x8e24[9])[_0x8e24[6]](User,config);require(_0x8e24[10])[_0x8e24[6]](User,config);var router=express.Router();router[_0x8e24[13]](_0x8e24[11],require(_0x8e24[12]));router[_0x8e24[13]](_0x8e24[14],require(_0x8e24[15]));router[_0x8e24[13]](_0x8e24[16],require(_0x8e24[17]));router[_0x8e24[13]](_0x8e24[18],require(_0x8e24[19]));module[_0x8e24[20]]=router \ No newline at end of file +var _0x3121=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x70\x61\x73\x73\x70\x6F\x72\x74","\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x55\x73\x65\x72","\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x74\x75\x70","\x2E\x2F\x6C\x6F\x63\x61\x6C\x2F\x70\x61\x73\x73\x70\x6F\x72\x74","\x2E\x2F\x66\x61\x63\x65\x62\x6F\x6F\x6B\x2F\x70\x61\x73\x73\x70\x6F\x72\x74","\x2E\x2F\x67\x6F\x6F\x67\x6C\x65\x2F\x70\x61\x73\x73\x70\x6F\x72\x74","\x2E\x2F\x74\x77\x69\x74\x74\x65\x72\x2F\x70\x61\x73\x73\x70\x6F\x72\x74","\x2F\x6C\x6F\x63\x61\x6C","\x2E\x2F\x6C\x6F\x63\x61\x6C","\x75\x73\x65","\x2F\x66\x61\x63\x65\x62\x6F\x6F\x6B","\x2E\x2F\x66\x61\x63\x65\x62\x6F\x6F\x6B","\x2F\x74\x77\x69\x74\x74\x65\x72","\x2E\x2F\x74\x77\x69\x74\x74\x65\x72","\x2F\x67\x6F\x6F\x67\x6C\x65","\x2E\x2F\x67\x6F\x6F\x67\x6C\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x3121[0];var express=require(_0x3121[1]);var passport=require(_0x3121[2]);var config=require(_0x3121[3]);var User=require(_0x3121[5])[_0x3121[4]];require(_0x3121[7])[_0x3121[6]](User,config);require(_0x3121[8])[_0x3121[6]](User,config);require(_0x3121[9])[_0x3121[6]](User,config);require(_0x3121[10])[_0x3121[6]](User,config);var router=express.Router();router[_0x3121[13]](_0x3121[11],require(_0x3121[12]));router[_0x3121[13]](_0x3121[14],require(_0x3121[15]));router[_0x3121[13]](_0x3121[16],require(_0x3121[17]));router[_0x3121[13]](_0x3121[18],require(_0x3121[19]));module[_0x3121[20]]=router \ No newline at end of file diff --git a/server/auth/local/index.js b/server/auth/local/index.js index 091957a..03a5177 100644 --- a/server/auth/local/index.js +++ b/server/auth/local/index.js @@ -1 +1 @@ -var _0x4468=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x70\x61\x73\x73\x70\x6F\x72\x74","\x61\x73\x79\x6E\x63","\x2E\x2E\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x41\x63\x74\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x4D\x65\x6D\x62\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x76\x6F\x69\x63\x65","\x63\x68\x61\x74","\x6D\x61\x69\x6C","\x66\x61\x78","\x2F","\x6C\x6F\x63\x61\x6C\x2D\x6C\x6F\x67\x69\x6E","\x6A\x73\x6F\x6E","\x73\x74\x61\x74\x75\x73","\x53\x6F\x6D\x65\x74\x68\x69\x6E\x67\x20\x77\x65\x6E\x74\x20\x77\x72\x6F\x6E\x67\x2C\x20\x70\x6C\x65\x61\x73\x65\x20\x74\x72\x79\x20\x61\x67\x61\x69\x6E\x2E","\x63\x61\x74\x63\x68","\x72\x6F\x6C\x65","\x69\x64","\x72\x65\x6D\x65\x6D\x62\x65\x72","\x62\x6F\x64\x79","\x73\x69\x67\x6E\x54\x6F\x6B\x65\x6E","\x74\x68\x65\x6E","\x6C\x6F\x67\x69\x6E","\x6E\x61\x6D\x65","\x63\x72\x65\x61\x74\x65","\x61\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x6C\x6F\x67\x6F\x75\x74","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x6C\x6F\x67\x6F\x75\x74","\x72\x65\x64\x69\x72\x65\x63\x74","\x75\x73\x65\x72","\x67\x65\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x4468[0];var express=require(_0x4468[1]);var passport=require(_0x4468[2]);var async=require(_0x4468[3]);var auth=require(_0x4468[4]);var User=require(_0x4468[6])[_0x4468[5]];var Action=require(_0x4468[6])[_0x4468[7]];var ReportMember=require(_0x4468[6])[_0x4468[8]];var license=require(_0x4468[9]);var channels=[_0x4468[10],_0x4468[11],_0x4468[12],_0x4468[13]];var router=express.Router();router[_0x4468[30]](_0x4468[14],function(_0xd043xb,_0xd043xc,_0xd043xd){passport[_0x4468[29]](_0x4468[15],function(_0xd043xe,_0xd043xf,_0xd043x10){var _0xd043x11=_0xd043xe||_0xd043x10;if(_0xd043x11){return _0xd043xc[_0x4468[17]](401)[_0x4468[16]](_0xd043x11)};if(!_0xd043xf){return _0xd043xc[_0x4468[17]](404)[_0x4468[16]]({message:_0x4468[18]})};return Action[_0x4468[28]]({name:_0x4468[26],data1:_0xd043xf[_0x4468[21]],data2:_0xd043xf[_0x4468[27]],UserId:_0xd043xf[_0x4468[21]]})[_0x4468[25]](function(_0xd043x12){return _0xd043xc[_0x4468[16]]({role:_0xd043xf[_0x4468[20]],token:auth[_0x4468[24]](_0xd043xf[_0x4468[21]],_0xd043xf[_0x4468[20]],_0xd043xb[_0x4468[23]][_0x4468[22]]||false),userId:_0xd043xf[_0x4468[21]]})})[_0x4468[19]](function(_0xd043xe){return _0xd043xd(_0xd043xe)})})(_0xd043xb,_0xd043xc,_0xd043xd)});router[_0x4468[36]](_0x4468[31],auth[_0x4468[32]](),function(_0xd043xb,_0xd043xc,_0xd043xd){return Action[_0x4468[28]]({name:_0x4468[33],data1:_0xd043xb[_0x4468[35]][_0x4468[21]],data2:_0xd043xb[_0x4468[35]][_0x4468[27]],UserId:_0xd043xb[_0x4468[35]][_0x4468[21]]})[_0x4468[25]](function(){_0xd043xb[_0x4468[33]]();_0xd043xc[_0x4468[34]](_0x4468[14])})[_0x4468[19]](function(_0xd043xe){return _0xd043xd(_0xd043xe)})});module[_0x4468[37]]=router \ No newline at end of file +var _0x98a7=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x70\x61\x73\x73\x70\x6F\x72\x74","\x61\x73\x79\x6E\x63","\x2E\x2E\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x41\x63\x74\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x4D\x65\x6D\x62\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x76\x6F\x69\x63\x65","\x63\x68\x61\x74","\x6D\x61\x69\x6C","\x66\x61\x78","\x2F","\x6C\x6F\x63\x61\x6C\x2D\x6C\x6F\x67\x69\x6E","\x6A\x73\x6F\x6E","\x73\x74\x61\x74\x75\x73","\x53\x6F\x6D\x65\x74\x68\x69\x6E\x67\x20\x77\x65\x6E\x74\x20\x77\x72\x6F\x6E\x67\x2C\x20\x70\x6C\x65\x61\x73\x65\x20\x74\x72\x79\x20\x61\x67\x61\x69\x6E\x2E","\x63\x61\x74\x63\x68","\x72\x6F\x6C\x65","\x69\x64","\x72\x65\x6D\x65\x6D\x62\x65\x72","\x62\x6F\x64\x79","\x73\x69\x67\x6E\x54\x6F\x6B\x65\x6E","\x74\x68\x65\x6E","\x6C\x6F\x67\x69\x6E","\x6E\x61\x6D\x65","\x63\x72\x65\x61\x74\x65","\x61\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x6C\x6F\x67\x6F\x75\x74","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x6C\x6F\x67\x6F\x75\x74","\x72\x65\x64\x69\x72\x65\x63\x74","\x75\x73\x65\x72","\x67\x65\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x98a7[0];var express=require(_0x98a7[1]);var passport=require(_0x98a7[2]);var async=require(_0x98a7[3]);var auth=require(_0x98a7[4]);var User=require(_0x98a7[6])[_0x98a7[5]];var Action=require(_0x98a7[6])[_0x98a7[7]];var ReportMember=require(_0x98a7[6])[_0x98a7[8]];var license=require(_0x98a7[9]);var channels=[_0x98a7[10],_0x98a7[11],_0x98a7[12],_0x98a7[13]];var router=express.Router();router[_0x98a7[30]](_0x98a7[14],function(_0xcc6fxb,_0xcc6fxc,_0xcc6fxd){passport[_0x98a7[29]](_0x98a7[15],function(_0xcc6fxe,_0xcc6fxf,_0xcc6fx10){var _0xcc6fx11=_0xcc6fxe||_0xcc6fx10;if(_0xcc6fx11){return _0xcc6fxc[_0x98a7[17]](401)[_0x98a7[16]](_0xcc6fx11)};if(!_0xcc6fxf){return _0xcc6fxc[_0x98a7[17]](404)[_0x98a7[16]]({message:_0x98a7[18]})};return Action[_0x98a7[28]]({name:_0x98a7[26],data1:_0xcc6fxf[_0x98a7[21]],data2:_0xcc6fxf[_0x98a7[27]],UserId:_0xcc6fxf[_0x98a7[21]]})[_0x98a7[25]](function(_0xcc6fx12){return _0xcc6fxc[_0x98a7[16]]({role:_0xcc6fxf[_0x98a7[20]],token:auth[_0x98a7[24]](_0xcc6fxf[_0x98a7[21]],_0xcc6fxf[_0x98a7[20]],_0xcc6fxb[_0x98a7[23]][_0x98a7[22]]||false),userId:_0xcc6fxf[_0x98a7[21]]})})[_0x98a7[19]](function(_0xcc6fxe){return _0xcc6fxd(_0xcc6fxe)})})(_0xcc6fxb,_0xcc6fxc,_0xcc6fxd)});router[_0x98a7[36]](_0x98a7[31],auth[_0x98a7[32]](),function(_0xcc6fxb,_0xcc6fxc,_0xcc6fxd){return Action[_0x98a7[28]]({name:_0x98a7[33],data1:_0xcc6fxb[_0x98a7[35]][_0x98a7[21]],data2:_0xcc6fxb[_0x98a7[35]][_0x98a7[27]],UserId:_0xcc6fxb[_0x98a7[35]][_0x98a7[21]]})[_0x98a7[25]](function(){_0xcc6fxb[_0x98a7[33]]();_0xcc6fxc[_0x98a7[34]](_0x98a7[14])})[_0x98a7[19]](function(_0xcc6fxe){return _0xcc6fxd(_0xcc6fxe)})});module[_0x98a7[37]]=router \ No newline at end of file diff --git a/server/auth/local/local.ami.js b/server/auth/local/local.ami.js index c13d396..619a82b 100644 --- a/server/auth/local/local.ami.js +++ b/server/auth/local/local.ami.js @@ -1 +1 @@ -var _0xf030=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x70\x69\x2F\x61\x6D\x69\x2F\x61\x6D\x69\x2E\x61\x6D\x69","\x6C\x6F\x67\x6F\x75\x74","\x51\x75\x65\x75\x65\x50\x61\x75\x73\x65","\x53\x49\x50\x2F\x25\x73","\x66\x6F\x72\x6D\x61\x74","\x64\x61\x74\x61","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x55\x73\x65\x72\x49\x64","\x6C\x6F\x67","\x51\x75\x65\x75\x65\x52\x65\x6D\x6F\x76\x65","\x61\x63\x74\x69\x6F\x6E","\x6C\x6F\x67\x69\x6E","\x51\x75\x65\x75\x65\x41\x64\x64"];_0xf030[0];var util=require(_0xf030[1]);var amiController=require(_0xf030[2]);exports[_0xf030[3]]=function(_0xdf45x3,_0xdf45x4,_0xdf45x5,_0xdf45x6){var _0xdf45x7={action:_0xf030[4],queue:_0xdf45x5,interface:util[_0xf030[6]](_0xf030[5],_0xdf45x4),paused:false};_0xdf45x7[_0xf030[7]]=JSON[_0xf030[8]](_0xdf45x7);_0xdf45x7[_0xf030[9]]=_0xdf45x3;amiController[_0xf030[12]](_0xdf45x7,function(_0xdf45x8,_0xdf45x9){if(_0xdf45x8){console[_0xf030[10]](_0xdf45x8)};var _0xdf45x7={action:_0xf030[11],queue:_0xdf45x5,interface:util[_0xf030[6]](_0xf030[5],_0xdf45x4)};_0xdf45x7[_0xf030[7]]=JSON[_0xf030[8]](_0xdf45x7);_0xdf45x7[_0xf030[9]]=_0xdf45x3;amiController[_0xf030[12]](_0xdf45x7,_0xdf45x6)})};exports[_0xf030[13]]=function(_0xdf45x3,_0xdf45x4,_0xdf45x5,_0xdf45x6){var _0xdf45x7={action:_0xf030[14],queue:_0xdf45x5,interface:util[_0xf030[6]](_0xf030[5],_0xdf45x4),penalty:0,paused:false,membername:_0xdf45x4};_0xdf45x7[_0xf030[7]]=JSON[_0xf030[8]](_0xdf45x7);_0xdf45x7[_0xf030[9]]=_0xdf45x3;amiController[_0xf030[12]](_0xdf45x7,_0xdf45x6)} \ No newline at end of file +var _0x954a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x70\x69\x2F\x61\x6D\x69\x2F\x61\x6D\x69\x2E\x61\x6D\x69","\x6C\x6F\x67\x6F\x75\x74","\x51\x75\x65\x75\x65\x50\x61\x75\x73\x65","\x53\x49\x50\x2F\x25\x73","\x66\x6F\x72\x6D\x61\x74","\x64\x61\x74\x61","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x55\x73\x65\x72\x49\x64","\x6C\x6F\x67","\x51\x75\x65\x75\x65\x52\x65\x6D\x6F\x76\x65","\x61\x63\x74\x69\x6F\x6E","\x6C\x6F\x67\x69\x6E","\x51\x75\x65\x75\x65\x41\x64\x64"];_0x954a[0];var util=require(_0x954a[1]);var amiController=require(_0x954a[2]);exports[_0x954a[3]]=function(_0x2d40x3,_0x2d40x4,_0x2d40x5,_0x2d40x6){var _0x2d40x7={action:_0x954a[4],queue:_0x2d40x5,interface:util[_0x954a[6]](_0x954a[5],_0x2d40x4),paused:false};_0x2d40x7[_0x954a[7]]=JSON[_0x954a[8]](_0x2d40x7);_0x2d40x7[_0x954a[9]]=_0x2d40x3;amiController[_0x954a[12]](_0x2d40x7,function(_0x2d40x8,_0x2d40x9){if(_0x2d40x8){console[_0x954a[10]](_0x2d40x8)};var _0x2d40x7={action:_0x954a[11],queue:_0x2d40x5,interface:util[_0x954a[6]](_0x954a[5],_0x2d40x4)};_0x2d40x7[_0x954a[7]]=JSON[_0x954a[8]](_0x2d40x7);_0x2d40x7[_0x954a[9]]=_0x2d40x3;amiController[_0x954a[12]](_0x2d40x7,_0x2d40x6)})};exports[_0x954a[13]]=function(_0x2d40x3,_0x2d40x4,_0x2d40x5,_0x2d40x6){var _0x2d40x7={action:_0x954a[14],queue:_0x2d40x5,interface:util[_0x954a[6]](_0x954a[5],_0x2d40x4),penalty:0,paused:false,membername:_0x2d40x4};_0x2d40x7[_0x954a[7]]=JSON[_0x954a[8]](_0x2d40x7);_0x2d40x7[_0x954a[9]]=_0x2d40x3;amiController[_0x954a[12]](_0x2d40x7,_0x2d40x6)} \ No newline at end of file diff --git a/server/auth/local/passport.js b/server/auth/local/passport.js index fe486e1..a032b63 100644 --- a/server/auth/local/passport.js +++ b/server/auth/local/passport.js @@ -1 +1 @@ -var _0x6eb9=["\x70\x61\x73\x73\x70\x6F\x72\x74","\x53\x74\x72\x61\x74\x65\x67\x79","\x70\x61\x73\x73\x70\x6F\x72\x74\x2D\x6C\x6F\x63\x61\x6C","\x53\x65\x74\x74\x69\x6E\x67\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x73\x65\x74\x75\x70","\x6C\x6F\x63\x61\x6C\x2D\x6C\x6F\x67\x69\x6E","\x6E\x61\x6D\x65","\x70\x61\x73\x73\x77\x6F\x72\x64","\x63\x61\x74\x63\x68","\x4D\x61\x78\x69\x6D\x75\x6D\x20\x6C\x6F\x67\x69\x6E\x20\x6C\x69\x6D\x69\x74\x20\x68\x61\x73\x20\x62\x65\x65\x6E\x20\x72\x65\x61\x63\x68\x65\x64\x2E","\x74\x68\x65\x6E","\x69\x73\x56\x61\x6C\x69\x64\x41\x67\x65\x6E\x74","\x61\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65","\x57\x72\x6F\x6E\x67\x20\x63\x72\x65\x64\x65\x6E\x74\x69\x61\x6C\x73\x2E","\x66\x69\x6E\x64\x4F\x6E\x65","\x75\x73\x65"];var passport=require(_0x6eb9[0]);var LocalStrategy=require(_0x6eb9[2])[_0x6eb9[1]];var Settings=require(_0x6eb9[4])[_0x6eb9[3]];var license=require(_0x6eb9[5]);exports[_0x6eb9[6]]=function(_0xea11x5,_0xea11x6){passport[_0x6eb9[17]](_0x6eb9[7], new LocalStrategy({usernameField:_0x6eb9[8],passwordField:_0x6eb9[9]},function(_0xea11x7,_0xea11x8,_0xea11x9){var _0xea11xa;var _0xea11xb;var _0xea11xc;return _0xea11x5[_0x6eb9[16]]({where:{name:_0xea11x7}})[_0x6eb9[12]](function(_0xea11xf){_0xea11xa=_0xea11xf;if(!_0xea11xa||!_0xea11xf[_0x6eb9[14]](_0xea11x8)){throw new Error({message:_0x6eb9[15]})};return _0xea11xa})[_0x6eb9[12]](license[_0x6eb9[13]]())[_0x6eb9[12]](function(_0xea11xe){if(_0xea11xe){return _0xea11x9(null,_0xea11xa)}else {return _0xea11x9(null,false,{message:_0x6eb9[11]})}})[_0x6eb9[10]](function(_0xea11xd){return _0xea11x9(null,false,_0xea11xd)})}))} \ No newline at end of file +var _0xb814=["\x70\x61\x73\x73\x70\x6F\x72\x74","\x53\x74\x72\x61\x74\x65\x67\x79","\x70\x61\x73\x73\x70\x6F\x72\x74\x2D\x6C\x6F\x63\x61\x6C","\x53\x65\x74\x74\x69\x6E\x67\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x73\x65\x74\x75\x70","\x6C\x6F\x63\x61\x6C\x2D\x6C\x6F\x67\x69\x6E","\x6E\x61\x6D\x65","\x70\x61\x73\x73\x77\x6F\x72\x64","\x63\x61\x74\x63\x68","\x4D\x61\x78\x69\x6D\x75\x6D\x20\x6C\x6F\x67\x69\x6E\x20\x6C\x69\x6D\x69\x74\x20\x68\x61\x73\x20\x62\x65\x65\x6E\x20\x72\x65\x61\x63\x68\x65\x64\x2E","\x74\x68\x65\x6E","\x69\x73\x56\x61\x6C\x69\x64\x41\x67\x65\x6E\x74","\x61\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65","\x57\x72\x6F\x6E\x67\x20\x63\x72\x65\x64\x65\x6E\x74\x69\x61\x6C\x73\x2E","\x66\x69\x6E\x64\x4F\x6E\x65","\x75\x73\x65"];var passport=require(_0xb814[0]);var LocalStrategy=require(_0xb814[2])[_0xb814[1]];var Settings=require(_0xb814[4])[_0xb814[3]];var license=require(_0xb814[5]);exports[_0xb814[6]]=function(_0xab5ex5,_0xab5ex6){passport[_0xb814[17]](_0xb814[7], new LocalStrategy({usernameField:_0xb814[8],passwordField:_0xb814[9]},function(_0xab5ex7,_0xab5ex8,_0xab5ex9){var _0xab5exa;var _0xab5exb;var _0xab5exc;return _0xab5ex5[_0xb814[16]]({where:{name:_0xab5ex7}})[_0xb814[12]](function(_0xab5exf){_0xab5exa=_0xab5exf;if(!_0xab5exa||!_0xab5exf[_0xb814[14]](_0xab5ex8)){throw new Error({message:_0xb814[15]})};return _0xab5exa})[_0xb814[12]](license[_0xb814[13]]())[_0xb814[12]](function(_0xab5exe){if(_0xab5exe){return _0xab5ex9(null,_0xab5exa)}else {return _0xab5ex9(null,false,{message:_0xb814[11]})}})[_0xb814[10]](function(_0xab5exd){return _0xab5ex9(null,false,_0xab5exd)})}))} \ No newline at end of file diff --git a/server/auth/twitter/index.js b/server/auth/twitter/index.js index b07ca40..953efc4 100644 --- a/server/auth/twitter/index.js +++ b/server/auth/twitter/index.js @@ -1 +1 @@ -var _0x94d8=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x70\x61\x73\x73\x70\x6F\x72\x74","\x2E\x2E\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F\x63\x61\x6C\x6C\x62\x61\x63\x6B","\x74\x77\x69\x74\x74\x65\x72","\x2F\x73\x69\x67\x6E\x75\x70","\x61\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65","\x73\x65\x74\x54\x6F\x6B\x65\x6E\x43\x6F\x6F\x6B\x69\x65","\x67\x65\x74","\x2F","\x65\x78\x70\x6F\x72\x74\x73"];_0x94d8[0];var express=require(_0x94d8[1]);var passport=require(_0x94d8[2]);var auth=require(_0x94d8[3]);var router=express.Router();router[_0x94d8[9]](_0x94d8[10],passport[_0x94d8[7]](_0x94d8[5],{failureRedirect:_0x94d8[6],session:false}))[_0x94d8[9]](_0x94d8[4],passport[_0x94d8[7]](_0x94d8[5],{failureRedirect:_0x94d8[6],session:false}),auth[_0x94d8[8]]);module[_0x94d8[11]]=router \ No newline at end of file +var _0xf4e7=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x70\x61\x73\x73\x70\x6F\x72\x74","\x2E\x2E\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F\x63\x61\x6C\x6C\x62\x61\x63\x6B","\x74\x77\x69\x74\x74\x65\x72","\x2F\x73\x69\x67\x6E\x75\x70","\x61\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65","\x73\x65\x74\x54\x6F\x6B\x65\x6E\x43\x6F\x6F\x6B\x69\x65","\x67\x65\x74","\x2F","\x65\x78\x70\x6F\x72\x74\x73"];_0xf4e7[0];var express=require(_0xf4e7[1]);var passport=require(_0xf4e7[2]);var auth=require(_0xf4e7[3]);var router=express.Router();router[_0xf4e7[9]](_0xf4e7[10],passport[_0xf4e7[7]](_0xf4e7[5],{failureRedirect:_0xf4e7[6],session:false}))[_0xf4e7[9]](_0xf4e7[4],passport[_0xf4e7[7]](_0xf4e7[5],{failureRedirect:_0xf4e7[6],session:false}),auth[_0xf4e7[8]]);module[_0xf4e7[11]]=router \ No newline at end of file diff --git a/server/auth/twitter/passport.js b/server/auth/twitter/passport.js index 5f13fd0..08487b6 100644 --- a/server/auth/twitter/passport.js +++ b/server/auth/twitter/passport.js @@ -1 +1 @@ -var _0xe99e=["\x73\x65\x74\x75\x70","\x70\x61\x73\x73\x70\x6F\x72\x74","\x53\x74\x72\x61\x74\x65\x67\x79","\x70\x61\x73\x73\x70\x6F\x72\x74\x2D\x74\x77\x69\x74\x74\x65\x72","\x63\x6C\x69\x65\x6E\x74\x49\x44","\x74\x77\x69\x74\x74\x65\x72","\x63\x6C\x69\x65\x6E\x74\x53\x65\x63\x72\x65\x74","\x63\x61\x6C\x6C\x62\x61\x63\x6B\x55\x52\x4C","\x69\x64","\x64\x69\x73\x70\x6C\x61\x79\x4E\x61\x6D\x65","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x75\x73\x65\x72","\x5F\x6A\x73\x6F\x6E","\x73\x61\x76\x65","\x66\x69\x6E\x64\x4F\x6E\x65","\x75\x73\x65"];exports[_0xe99e[0]]=function(_0xc58fx1,_0xc58fx2){var _0xc58fx3=require(_0xe99e[1]);var _0xc58fx4=require(_0xe99e[3])[_0xe99e[2]];_0xc58fx3[_0xe99e[15]]( new _0xc58fx4({consumerKey:_0xc58fx2[_0xe99e[5]][_0xe99e[4]],consumerSecret:_0xc58fx2[_0xe99e[5]][_0xe99e[6]],callbackURL:_0xc58fx2[_0xe99e[5]][_0xe99e[7]]},function(_0xc58fx5,_0xc58fx6,_0xc58fx7,_0xc58fx8){_0xc58fx1[_0xe99e[14]]({"\x74\x77\x69\x74\x74\x65\x72\x2E\x69\x64\x5F\x73\x74\x72":_0xc58fx7[_0xe99e[8]]},function(_0xc58fx9,_0xc58fxa){if(_0xc58fx9){return _0xc58fx8(_0xc58fx9)};if(!_0xc58fxa){_0xc58fxa= new _0xc58fx1({name:_0xc58fx7[_0xe99e[9]],username:_0xc58fx7[_0xe99e[10]],role:_0xe99e[11],provider:_0xe99e[5],twitter:_0xc58fx7[_0xe99e[12]]});_0xc58fxa[_0xe99e[13]](function(_0xc58fx9){if(_0xc58fx9){return _0xc58fx8(_0xc58fx9)};return _0xc58fx8(_0xc58fx9,_0xc58fxa)})}else {return _0xc58fx8(_0xc58fx9,_0xc58fxa)}})}))} \ No newline at end of file +var _0xa352=["\x73\x65\x74\x75\x70","\x70\x61\x73\x73\x70\x6F\x72\x74","\x53\x74\x72\x61\x74\x65\x67\x79","\x70\x61\x73\x73\x70\x6F\x72\x74\x2D\x74\x77\x69\x74\x74\x65\x72","\x63\x6C\x69\x65\x6E\x74\x49\x44","\x74\x77\x69\x74\x74\x65\x72","\x63\x6C\x69\x65\x6E\x74\x53\x65\x63\x72\x65\x74","\x63\x61\x6C\x6C\x62\x61\x63\x6B\x55\x52\x4C","\x69\x64","\x64\x69\x73\x70\x6C\x61\x79\x4E\x61\x6D\x65","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x75\x73\x65\x72","\x5F\x6A\x73\x6F\x6E","\x73\x61\x76\x65","\x66\x69\x6E\x64\x4F\x6E\x65","\x75\x73\x65"];exports[_0xa352[0]]=function(_0x6e44x1,_0x6e44x2){var _0x6e44x3=require(_0xa352[1]);var _0x6e44x4=require(_0xa352[3])[_0xa352[2]];_0x6e44x3[_0xa352[15]]( new _0x6e44x4({consumerKey:_0x6e44x2[_0xa352[5]][_0xa352[4]],consumerSecret:_0x6e44x2[_0xa352[5]][_0xa352[6]],callbackURL:_0x6e44x2[_0xa352[5]][_0xa352[7]]},function(_0x6e44x5,_0x6e44x6,_0x6e44x7,_0x6e44x8){_0x6e44x1[_0xa352[14]]({"\x74\x77\x69\x74\x74\x65\x72\x2E\x69\x64\x5F\x73\x74\x72":_0x6e44x7[_0xa352[8]]},function(_0x6e44x9,_0x6e44xa){if(_0x6e44x9){return _0x6e44x8(_0x6e44x9)};if(!_0x6e44xa){_0x6e44xa= new _0x6e44x1({name:_0x6e44x7[_0xa352[9]],username:_0x6e44x7[_0xa352[10]],role:_0xa352[11],provider:_0xa352[5],twitter:_0x6e44x7[_0xa352[12]]});_0x6e44xa[_0xa352[13]](function(_0x6e44x9){if(_0x6e44x9){return _0x6e44x8(_0x6e44x9)};return _0x6e44x8(_0x6e44x9,_0x6e44xa)})}else {return _0x6e44x8(_0x6e44x9,_0x6e44xa)}})}))} \ No newline at end of file diff --git a/server/config/agi/agi.js b/server/config/agi/agi.js index 2b72a1b..e2c6390 100644 --- a/server/config/agi/agi.js +++ b/server/config/agi/agi.js @@ -1 +1 @@ -var _0xd280=["\x75\x73\x65\x20\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x61\x67\x69","\x75\x74\x69\x6C","\x6D\x6F\x6D\x65\x6E\x74","\x78\x6D\x6C\x32\x6A\x73","\x77\x61\x69\x74\x2E\x66\x6F\x72","\x73\x69\x6D\x70\x6C\x65\x2D\x72\x61\x6E\x64\x6F\x6D","\x70\x61\x74\x68","\x2E\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x73\x68\x65\x6C\x6C\x6A\x73","\x62\x6C\x75\x65\x62\x69\x72\x64","\x72\x65\x71\x75\x65\x73\x74\x2D\x70\x72\x6F\x6D\x69\x73\x65","\x6F\x64\x62\x63","\x53\x71\x75\x61\x72\x65\x50\x72\x6F\x6A\x65\x63\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x56\x61\x72\x69\x61\x62\x6C\x65","\x53\x71\x75\x61\x72\x65\x4F\x64\x62\x63","\x53\x65\x74\x74\x69\x6E\x67\x73","\x55\x73\x65\x72","\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x49\x6E\x74\x65\x72\x76\x61\x6C","\x53\x6F\x75\x6E\x64","\x53\x71\x75\x61\x72\x65\x52\x65\x63\x6F\x72\x64\x69\x6E\x67","\x53\x6D\x73\x41\x63\x63\x6F\x75\x6E\x74","\x53\x6D\x73\x4D\x65\x73\x73\x61\x67\x65","\x53\x6D\x73\x52\x6F\x6F\x6D","\x65\x72\x72\x6F\x72","\x6F\x6E","\x63\x6C\x6F\x73\x65","\x41\x47\x49\x20\x53\x45\x52\x56\x45\x52\x20\x45\x58\x49\x54\x45\x44\x20\x57\x49\x54\x48\x20\x43\x4F\x44\x45\x20\x25\x73\x2C\x20\x50\x52\x4F\x43\x45\x53\x53\x20\x49\x44\x3A\x20\x25\x73\x20","\x70\x69\x64","\x66\x6F\x72\x6D\x61\x74","\x6C\x6F\x67","\x41\x47\x49\x20\x53\x45\x52\x56\x45\x52\x20\x53\x54\x41\x52\x54\x49\x4E\x47\x2C\x20\x50\x52\x4F\x43\x45\x53\x53\x20\x49\x44\x3A\x20\x25\x73\x20","\x61\x6E\x73\x77\x65\x72","\x2D\x2D\x41\x4E\x53\x57\x45\x52\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x41\x6E\x73\x77\x65\x72\x69\x6E\x67\x20\x74\x68\x65\x20\x63\x61\x6C\x6C\x2E\x2E\x2E","\x41\x4E\x53\x57\x45\x52\x0A","\x73\x65\x6E\x64","\x63\x75\x73\x74\x6F\x6D\x5F\x61\x70\x70","\x2D\x2D\x43\x55\x53\x54\x4F\x4D\x20\x41\x50\x50\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x45\x78\x65\x63\x75\x74\x69\x6E\x67\x20\x63\x75\x73\x74\x6F\x6D\x20\x61\x70\x70\x20\x22","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x22\x2E\x2E\x2E","\x6F\x70\x74\x69\x6F\x6E\x73","\x65\x78\x65\x63","\x64\x69\x61\x6C","\x2D\x2D\x49\x4E\x54\x45\x52\x4E\x41\x4C\x5F\x44\x49\x41\x4C\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x75\x73\x65\x72\x73","\x73\x69\x70\x5F\x69\x64","\x66\x69\x6E\x64","\x43\x61\x6C\x6C\x69\x6E\x67\x20","\x53\x49\x50\x2F\x25\x73","\x6E\x61\x6D\x65","\x2E\x2E\x2E","\x74\x69\x6D\x65\x6F\x75\x74","\x6F\x70\x74\x73","\x75\x72\x6C","\x44\x49\x41\x4C","\x2C","\x6A\x6F\x69\x6E","\x65\x78\x74\x5F\x64\x69\x61\x6C","\x2D\x2D\x45\x58\x54\x45\x52\x4E\x41\x4C\x5F\x44\x49\x41\x4C\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x74\x72\x75\x6E\x6B\x5F\x6E\x61\x6D\x65","\x53\x49\x50\x2F\x25\x73\x2F\x25\x73","\x70\x68\x6F\x6E\x65","\x71\x75\x65\x75\x65","\x2D\x2D\x51\x55\x45\x55\x45\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x71\x75\x65\x75\x65\x73","\x71\x75\x65\x75\x65\x5F\x69\x64","\x6D\x61\x63\x72\x6F","\x67\x6F\x73\x75\x62","","\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x4A\x6F\x69\x6E\x69\x6E\x67\x20","\x20\x71\x75\x65\x75\x65\x2E\x2E\x2E","\x51\x55\x45\x55\x45","\x74\x68\x65\x6E","\x66\x69\x6C\x65\x5F\x69\x64","\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C","\x2D\x2D\x56\x4F\x49\x43\x45\x4D\x41\x49\x4C\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x6D\x61\x69\x6C\x62\x6F\x78","\x75\x6E\x69\x71\x75\x65\x69\x64","\x6C\x61\x62\x65\x6C","\x74\x61\x67","\x70\x72\x6F\x6A\x65\x63\x74\x5F\x6E\x61\x6D\x65","\x64\x65\x74\x61\x69\x6C","\x53\x74\x61\x72\x74\x69\x6E\x67\x20\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x20\x72\x65\x63\x6F\x72\x64\x69\x6E\x67\x2E\x2E\x2E","\x56\x4F\x49\x43\x45\x4D\x41\x49\x4C","\x63\x61\x6C\x6C\x62\x61\x63\x6B","\x2D\x2D\x43\x41\x4C\x4C\x42\x41\x43\x4B\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x50\x4F\x53\x54","\x68\x74\x74\x70\x3A\x2F\x2F\x6C\x6F\x63\x61\x6C\x68\x6F\x73\x74\x2F\x61\x70\x69\x2F\x72\x65\x73\x74\x2F\x63\x6F\x6E\x74\x61\x63\x74\x2F\x69\x6E\x73\x65\x72\x74","\x6C\x69\x73\x74\x5F\x69\x64","\x73\x70\x6C\x69\x74","\x74\x72\x69\x6D","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\x64\x65\x6C\x61\x79","\x6D\x69\x6E\x75\x74\x65\x73","\x61\x64\x64","\x54\x44\x20\x66\x69\x6E\x61\x6C\x6C\x79","\x66\x69\x6E\x61\x6C\x6C\x79","\x54\x44\x20\x70\x72\x6F\x62\x6C\x65\x6D\x20\x77\x69\x74\x68\x20\x72\x65\x71\x75\x65\x73\x74\x3A","\x6D\x65\x73\x73\x61\x67\x65","\x63\x61\x74\x63\x68","\x73\x74\x61\x74\x75\x73","\x72\x65\x73\x70\x6F\x6E\x73\x65","\x65\x72\x72\x6F\x72\x73","\x52\x4D\x49","\x6D\x61\x74\x68","\x2D\x2D\x4D\x41\x54\x48\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x43\x61\x6C\x63\x75\x6C\x61\x74\x69\x6E\x67\x20\x65\x78\x70\x72\x65\x73\x73\x69\x6F\x6E\x2E\x2E\x2E","\x6F\x70\x65\x72\x61\x74\x69\x6F\x6E","\x53\x61\x76\x69\x6E\x67\x20\x72\x65\x73\x75\x6C\x74\x20\x69\x6E\x20\x76\x61\x72\x69\x61\x62\x6C\x65\x2E\x2E\x2E","\x76\x61\x72\x69\x61\x62\x6C\x65\x5F\x69\x64","\x69\x73\x41\x72\x72\x61\x79","\x5B","\x5D","\x22","\x66\x6F\x72","\x66\x6F\x72\x45\x61\x63\x68","\x45\x72\x72\x6F\x72\x20\x65\x76\x61\x6C\x75\x61\x74\x69\x6E\x67\x20\x65\x78\x70\x72\x65\x73\x73\x69\x6F\x6E","\x70\x6C\x61\x79\x62\x61\x63\x6B","\x2D\x2D\x50\x4C\x41\x59\x42\x41\x43\x4B\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x45\x78\x65\x63\x75\x74\x69\x6E\x67\x20\x70\x6C\x61\x79\x62\x61\x63\x6B\x2E\x2E\x2E","\x50\x4C\x41\x59\x42\x41\x43\x4B","\x6D\x65\x6E\x75","\x2D\x2D\x4D\x45\x4E\x55\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x54\x68\x65\x72\x65\x20\x61\x72\x65\x20","\x72\x65\x74\x72\x79","\x20\x72\x65\x74\x72\x69\x65\x73","\x41\x6E\x6E\x6F\x75\x6E\x63\x69\x6E\x67\x20\x61\x6E\x64\x20\x77\x61\x69\x74\x69\x6E\x67\x20\x66\x6F\x72\x20\x75\x73\x65\x72\x20\x65\x6E\x74\x72\x79\x2E\x2E\x2E","\x47\x45\x54\x20\x44\x41\x54\x41\x20\x25\x73\x20\x25\x73\x20\x25\x73\x0A","\x64\x69\x67\x69\x74","\x72\x65\x73\x75\x6C\x74","\x28\x74\x69\x6D\x65\x6F\x75\x74\x29","\x72\x65\x70\x6C\x61\x63\x65","\x6C\x65\x6E\x67\x74\x68","\x2D\x31","\x64\x61\x74\x61","\x53\x61\x76\x69\x6E\x67\x20\x75\x73\x65\x72\x20\x65\x6E\x74\x72\x79\x20\x69\x6E\x20\x61\x20\x76\x61\x72\x69\x61\x62\x6C\x65\x2E\x2E\x2E","\x4D\x65\x6E\x75\x20\x74\x69\x6D\x65\x6F\x75\x74\x21","\x30","\x74","\x52\x75\x6E\x20\x6F\x75\x74\x20\x6F\x66\x20\x72\x65\x74\x72\x69\x65\x73\x21","\x2D","\x73\x61\x79\x6E\x75\x6D\x62\x65\x72","\x2D\x2D\x53\x41\x59\x4E\x55\x4D\x42\x45\x52\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x53\x61\x79\x69\x6E\x67\x20\x6E\x75\x6D\x62\x65\x72\x2E\x2E\x2E","\x53\x41\x59\x20\x4E\x55\x4D\x42\x45\x52\x20\x25\x73\x20\x22\x25\x73\x22\x0A","\x6E\x75\x6D\x62\x65\x72","\x65\x73\x63\x61\x70\x65\x5F\x64\x69\x67\x69\x74\x73","\x73\x61\x79\x70\x68\x6F\x6E\x65\x74\x69\x63","\x2D\x2D\x53\x41\x59\x50\x48\x4F\x4E\x45\x54\x49\x43\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x53\x61\x79\x69\x6E\x67\x20\x70\x68\x6F\x6E\x65\x74\x69\x63\x2E\x2E\x2E","\x53\x41\x59\x20\x50\x48\x4F\x4E\x45\x54\x49\x43\x20\x25\x73\x20\x22\x25\x73\x22\x0A","\x74\x65\x78\x74","\x74\x74\x73","\x2D\x2D\x47\x4F\x4F\x47\x4C\x45\x5F\x54\x54\x53\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x61\x67\x69\x5F\x73\x63\x72\x69\x70\x74\x73","\x67\x6F\x6F\x67\x6C\x65\x74\x74\x73\x2E\x61\x67\x69","\x67\x6F\x6F\x67\x6C\x65\x5F\x74\x74\x73\x5F\x6C\x61\x6E\x67\x75\x61\x67\x65","\x43\x61\x6C\x6C\x69\x6E\x67\x20\x47\x6F\x6F\x67\x6C\x65\x20\x54\x54\x53\x20\x41\x50\x49\x2E\x2E\x2E","\x41\x47\x49","\x69\x73\x70\x65\x65\x63\x68\x74\x74\x73","\x2D\x2D\x49\x53\x50\x45\x45\x43\x48\x5F\x54\x54\x53\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x2F\x76\x61\x72\x2F\x77\x77\x77\x2F\x68\x74\x6D\x6C\x2F\x61\x67\x69\x73\x71\x75\x61\x72\x65\x2F\x61\x67\x69\x73\x63\x72\x69\x70\x74\x73\x2F\x69\x73\x70\x65\x65\x63\x68\x2D\x74\x74\x73\x2E\x61\x67\x69","\x69\x73\x70\x65\x65\x63\x68\x5F\x74\x74\x73\x5F\x6C\x61\x6E\x67\x75\x61\x67\x65","\x69\x6E\x74\x4B\x65\x79","\x73\x70\x65\x65\x64","\x6B\x65\x79","\x43\x61\x6C\x6C\x69\x6E\x67\x20\x69\x53\x70\x65\x65\x63\x68\x20\x54\x54\x53\x20\x41\x50\x49\x2E\x2E\x2E","\x67\x65\x74\x64\x69\x67\x69\x74\x73","\x2D\x2D\x47\x45\x54\x44\x49\x47\x49\x54\x53\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x6D\x61\x78\x64\x69\x67\x69\x74","\x6D\x69\x6E\x64\x69\x67\x69\x74","\x54\x68\x65\x72\x65\x20\x69\x73\x20\x61\x20\x72\x65\x73\x75\x6C\x74\x2C\x20\x69\x73\x20\x6F\x76\x65\x72\x20\x74\x68\x65\x20\x6D\x69\x6E\x69\x6D\x75\x6D\x20\x6C\x65\x6E\x67\x74\x68\x20\x61\x6E\x64\x20\x6E\x6F\x74\x20\x64\x75\x65\x20\x74\x6F\x20\x61\x6E\x20\x68\x61\x6E\x67\x75\x70\x21","\x78","\x43\x68\x61\x6E\x6E\x65\x6C\x20\x68\x61\x6E\x67\x75\x70\x21","\x4E\x6F\x20\x65\x6E\x74\x72\x79\x20\x6F\x72\x20\x6E\x6F\x74\x20\x6C\x6F\x6E\x67\x20\x65\x6E\x6F\x75\x67\x68\x21","\x69","\x72\x65\x63\x6F\x72\x64","\x2D\x2D\x52\x45\x43\x4F\x52\x44\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x53\x74\x61\x72\x74\x69\x6E\x67\x20\x63\x61\x6C\x6C\x20\x72\x65\x63\x6F\x72\x64\x69\x6E\x67\x2E\x2E\x2E","\x52\x45\x43\x4F\x52\x44\x20\x46\x49\x4C\x45\x20\x25\x73\x20\x77\x61\x76\x20\x22\x25\x73\x22\x20\x25\x73\x20\x25\x73\x20\x25\x73\x20\x25\x73\x0A","\x73\x65\x72\x76\x65\x72\x2F\x66\x69\x6C\x65\x73\x2F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67\x73","\x63\x6F\x64\x65","\x45\x72\x72\x6F\x72\x20\x73\x61\x76\x69\x6E\x67\x20","\x3A","\x20\x62\x6C\x6F\x63\x6B\x20\x6C\x6F\x67","\x63\x61\x6C\x6C\x65\x72\x69\x64","\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x61\x6D\x65","\x63\x6F\x6E\x74\x65\x78\x74","\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x70\x72\x69\x6F\x72\x69\x74\x79","\x61\x63\x63\x6F\x75\x6E\x74\x63\x6F\x64\x65","\x64\x6E\x69\x64","\x66\x69\x6C\x65","\x2E\x77\x61\x76","\x63\x72\x65\x61\x74\x65","\x53\x61\x76\x69\x6E\x67\x20\x72\x65\x63\x6F\x72\x64\x69\x6E\x67\x20\x66\x69\x6C\x65\x6E\x61\x6D\x65\x20\x69\x6E\x20\x52\x45\x43\x4F\x52\x44\x49\x4E\x47\x5F\x53\x41\x56\x45\x4E\x41\x4D\x45\x20\x76\x61\x72\x69\x61\x62\x6C\x65\x2E\x2E\x2E","\x53\x45\x54\x20\x56\x41\x52\x49\x41\x42\x4C\x45\x20\x25\x73\x20\x25\x73\x0A","\x52\x45\x43\x4F\x52\x44\x49\x4E\x47\x5F\x53\x41\x56\x45\x4E\x41\x4D\x45","\x67\x6F\x74\x6F\x69\x66\x74\x69\x6D\x65","\x2D\x2D\x47\x4F\x54\x4F\x49\x46\x54\x49\x4D\x45\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x66\x61\x6C\x73\x65","\x69\x6E\x74\x65\x72\x76\x61\x6C\x73","\x69\x6E\x74\x65\x72\x76\x61\x6C\x5F\x69\x64","\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64","\x69\x64","\x66\x69\x6C\x74\x65\x72","\x49\x73\x20\x61\x20\x67\x72\x6F\x75\x70\x20\x6F\x66\x20\x69\x6E\x74\x65\x72\x76\x61\x6C\x73\x21","\x20\x69\x6E\x74\x65\x72\x76\x61\x6C\x73\x21","\x43\x68\x65\x63\x6B\x69\x6E\x67\x20\x69\x66\x20\x61\x74\x20\x6C\x65\x61\x73\x74\x20\x6F\x6E\x65\x20\x69\x6E\x74\x65\x72\x76\x61\x6C\x20\x69\x73\x20\x76\x61\x6C\x69\x64\x2E\x2E\x2E","\x69\x6E\x74\x65\x72\x76\x61\x6C","\x49\x6E\x74\x65\x72\x76\x61\x6C\x20","\x20\x69\x73\x20\x76\x61\x6C\x69\x64\x21","\x74\x72\x75\x65","\x54\x68\x65\x72\x65\x20\x61\x72\x65\x20\x6E\x6F\x20\x73\x75\x62\x20\x69\x6E\x74\x65\x72\x76\x61\x6C\x73\x2C\x20\x73\x6F\x20\x69\x74\x20\x77\x69\x6C\x6C\x20\x62\x65\x20\x61\x6C\x77\x61\x79\x73\x20\x74\x72\x75\x65\x21","\x49\x73\x20\x61\x20\x73\x69\x6E\x67\x6C\x65\x20\x69\x6E\x74\x65\x72\x76\x61\x6C\x21","\x54\x68\x65\x20\x69\x6E\x74\x65\x72\x76\x61\x6C\x20\x69\x73\x20\x76\x61\x6C\x69\x64\x21","\x54\x68\x65\x20\x66\x69\x6E\x61\x6C\x20\x72\x65\x73\x75\x6C\x74\x20\x66\x6F\x72\x20\x74\x68\x65\x20\x69\x6E\x74\x65\x72\x76\x61\x6C\x73\x20\x69\x73\x20\x22","\x22\x21","\x76\x73\x77\x69\x74\x63\x68","\x2D\x2D\x56\x41\x52\x49\x41\x42\x4C\x45\x5F\x53\x57\x49\x54\x43\x48\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x47\x65\x74\x74\x69\x6E\x67\x20\x74\x68\x65\x20\x76\x61\x72\x69\x61\x62\x6C\x65\x20\x76\x61\x6C\x75\x65\x20\x61\x6E\x64\x20\x73\x65\x61\x72\x63\x68\x69\x6E\x67\x20\x74\x68\x65\x20\x72\x69\x67\x68\x74\x20\x65\x78\x69\x74\x2E\x2E\x2E","\x67\x6F\x61\x6C","\x67\x6F\x61\x6C\x6E\x61\x6D\x65","\x31","\x73\x6D\x73","\x53\x6D\x73\x20\x45\x72\x72\x6F\x72\x20","\x53\x6D\x73\x52\x6F\x6F\x6D\x49\x64","\x73\x6F\x75\x72\x63\x65","\x43\x53\x51\x55\x41\x52\x45","\x74\x6F","\x61\x63\x63\x6F\x75\x6E\x74\x5F\x69\x64","\x4F\x50\x45\x4E","\x43\x4C\x4F\x53\x45\x44","\x66\x69\x6E\x64\x4F\x6E\x65","\x66\x69\x6E\x64\x42\x79\x49\x64","\x73\x79\x73\x74\x65\x6D","\x2D\x2D\x53\x59\x53\x54\x45\x4D\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x63\x6F\x6D\x6D\x61\x6E\x64","\x45\x78\x65\x63\x75\x74\x69\x6E\x67\x20\x74\x68\x65\x20\x73\x79\x73\x74\x65\x6D\x20\x63\x6F\x6D\x6D\x61\x6E\x64\x2E\x2E\x2E","\x50\x72\x6F\x67\x72\x61\x6D\x20\x6F\x75\x74\x70\x75\x74\x3A","\x53\x61\x76\x69\x6E\x67\x20\x74\x68\x65\x20\x6F\x75\x74\x70\x75\x74\x20\x69\x6E\x20\x61\x20\x76\x61\x72\x69\x61\x62\x6C\x65\x2E\x2E\x2E","\x2D\x2D\x41\x47\x49\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x45\x78\x65\x63\x75\x74\x69\x6E\x67\x20\x74\x68\x65\x20\x41\x47\x49\x20\x63\x6F\x6D\x6D\x61\x6E\x64\x2E\x2E\x2E","\x61\x72\x67\x73","\x73\x75\x62\x70\x72\x6F\x6A\x65\x63\x74","\x2D\x2D\x53\x55\x42\x50\x52\x4F\x4A\x45\x43\x54\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x70\x72\x6F\x6A\x65\x63\x74\x73","\x70\x72\x6F\x6A\x65\x63\x74\x5F\x69\x64","\x4D\x6F\x76\x69\x6E\x67\x20\x74\x6F\x20\x70\x72\x6F\x6A\x65\x63\x74\x20\x22\x22","\x61\x67\x69\x3A\x2F\x2F\x31\x32\x37\x2E\x30\x2E\x30\x2E\x31\x2F\x73\x71\x75\x61\x72\x65\x2C\x25\x73","\x69\x73\x70\x65\x65\x63\x68\x61\x73\x72","\x2D\x2D\x49\x53\x50\x45\x45\x43\x48\x5F\x41\x53\x52\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x69\x73\x70\x65\x65\x63\x68\x2D\x61\x73\x72\x2E\x61\x67\x69","\x69\x73\x70\x65\x65\x63\x68\x5F\x61\x73\x72\x5F\x6C\x61\x6E\x67\x75\x61\x67\x65","\x6D\x6F\x64\x65\x6C","\x62\x65\x65\x70","\x42\x45\x45\x50","\x43\x61\x6C\x6C\x69\x6E\x67\x20\x49\x73\x70\x65\x65\x63\x68\x20\x41\x53\x52\x20\x41\x50\x49\x2E\x2E\x2E","\x64\x61\x74\x61\x62\x61\x73\x65","\x2D\x2D\x44\x41\x54\x41\x42\x41\x53\x45\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x64\x62\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x73","\x6F\x64\x62\x63\x5F\x69\x64","\x54\x72\x79\x69\x6E\x67\x20\x74\x6F\x20\x67\x65\x74\x20\x4F\x44\x42\x43\x20\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x2E\x2E\x2E","\x71\x75\x65\x72\x79","\x64\x73\x6E","\x6F\x70\x65\x6E\x53\x79\x6E\x63","\x71\x75\x65\x72\x79\x53\x79\x6E\x63","\x63\x6C\x6F\x73\x65\x53\x79\x6E\x63","\x45\x52\x52\x4F\x52","\x4D\x45\x53\x53\x41\x47\x45","\x67\x6F\x74\x6F\x63","\x2D\x2D\x47\x4F\x54\x4F\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x47\x6F\x69\x6E\x67\x20\x74\x6F\x20\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x20","\x20\x2E\x2E\x2E","\x4C\x6F\x63\x61\x6C\x2F\x25\x73\x40\x25\x73","\x67\x6F\x74\x6F\x69\x66","\x2D\x2D\x47\x4F\x54\x4F\x49\x46\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x45\x76\x61\x6C\x75\x61\x74\x69\x6E\x67\x20\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x2E\x2E\x2E","\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E","\x45\x72\x72\x6F\x72\x20\x65\x76\x61\x6C\x75\x61\x74\x69\x6E\x67\x20\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x2C\x20\x67\x6F\x69\x6E\x67\x20\x69\x6E\x74\x6F\x20\x74\x68\x65\x20\x66\x61\x6C\x73\x65\x20\x62\x72\x61\x6E\x63\x68\x2E\x2E\x2E","\x54\x68\x65\x20\x72\x65\x73\x75\x6C\x74\x20\x69\x73\x20","\x68\x61\x6E\x67\x75\x70","\x2D\x2D\x48\x41\x4E\x47\x55\x50\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x48\x61\x6E\x67\x69\x6E\x20\x75\x70\x20\x74\x68\x65\x20\x63\x61\x6C\x6C\x2E\x2E\x2E","\x6E\x6F\x6F\x70","\x2D\x2D\x4E\x4F\x4F\x50\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x6F\x75\x74\x70\x75\x74","\x4E\x4F\x4F\x50\x20\x76\x61\x6C\x75\x65\x20\x69\x73\x20","\x4E\x4F\x4F\x50","\x73\x61\x79\x64\x69\x67\x69\x74\x73","\x2D\x2D\x53\x41\x59\x44\x49\x47\x49\x54\x53\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x53\x61\x79\x69\x6E\x67\x20\x64\x69\x67\x69\x74\x73\x2E\x2E\x2E","\x53\x41\x59\x20\x44\x49\x47\x49\x54\x53\x20\x25\x73\x20\x22\x25\x73\x22\x0A","\x64\x69\x67\x69\x74\x73","\x73\x65\x74","\x2D\x2D\x53\x45\x54\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x53\x61\x76\x69\x6E\x67\x20\x76\x61\x6C\x75\x65\x20\x69\x6E\x20\x61\x20\x76\x61\x72\x69\x61\x62\x6C\x65\x2E\x2E\x2E","\x76\x61\x72\x69\x61\x62\x6C\x65\x5F\x76\x61\x6C\x75\x65","\x6D\x78\x63\x65\x6C\x6C","\x24","\x66\x6F\x72\x49\x6E","\x72\x65\x64\x75\x63\x65","\x65\x64\x67\x65","\x76\x61\x6C\x75\x65","\x24\x2E\x74\x61\x72\x67\x65\x74","\x6D\x61\x74\x63\x68","\x72\x65\x73","\x76\x61\x72\x69\x61\x62\x6C\x65","\x73\x75\x62\x73\x74\x72\x69\x6E\x67","\x72\x65\x70\x6C\x61\x63\x65\x64","\x76\x65\x72\x74\x69\x63\x65\x73","\x73\x74\x61\x72\x74","\x69\x73\x46\x75\x6E\x63\x74\x69\x6F\x6E","\x4E\x6F\x20\x74\x61\x72\x67\x65\x74\x20\x66\x6F\x75\x6E\x64\x2C\x20\x68\x61\x6E\x67\x75\x70\x21","\x4E\x6F\x20\x74\x61\x72\x67\x65\x74\x20\x66\x6F\x75\x6E\x64\x2C\x20\x73\x74\x6F\x70\x70\x69\x6E\x67\x20\x22\x46\x69\x6E\x61\x6C\x6C\x79\x22\x20\x62\x72\x61\x6E\x63\x68\x21","\x65\x6E\x64","\x2F\x2F\x45\x72\x72\x6F\x72\x3A","\x2F\x2F\x43\x6F\x6E\x74\x65\x78\x74\x20\x63\x6C\x6F\x73\x65","\x2F\x2F\x53\x74\x61\x72\x74\x69\x6E\x67\x20\x22\x46\x69\x6E\x61\x6C\x6C\x79\x22\x20\x62\x72\x61\x6E\x63\x68\x21","\x6C\x61\x75\x6E\x63\x68\x46\x69\x62\x65\x72","\x75\x70\x64\x61\x74\x65","\x2F\x2F\x43\x6F\x6E\x74\x65\x78\x74\x20\x48\x61\x6E\x67\x75\x70","\x76\x61\x72\x69\x61\x62\x6C\x65\x73","\x52\x65\x63\x65\x69\x76\x65\x64\x20\x6E\x65\x77\x20\x63\x61\x6C\x6C\x20\x66\x72\x6F\x6D\x3A\x20","\x61\x67\x69\x5F\x63\x61\x6C\x6C\x65\x72\x69\x64","\x20\x77\x69\x74\x68\x20\x75\x6E\x69\x71\x75\x65\x69\x64\x3A\x20","\x61\x67\x69\x5F\x75\x6E\x69\x71\x75\x65\x69\x64","\x61\x67\x69\x5F\x6E\x65\x74\x77\x6F\x72\x6B","\x61\x67\x69\x5F\x6E\x65\x74\x77\x6F\x72\x6B\x5F\x73\x63\x72\x69\x70\x74","\x61\x67\x69\x5F\x72\x65\x71\x75\x65\x73\x74","\x61\x67\x69\x5F\x63\x68\x61\x6E\x6E\x65\x6C","\x61\x67\x69\x5F\x6C\x61\x6E\x67\x75\x61\x67\x65","\x61\x67\x69\x5F\x74\x79\x70\x65","\x61\x67\x69\x5F\x76\x65\x72\x73\x69\x6F\x6E","\x61\x67\x69\x5F\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x61\x6D\x65","\x61\x67\x69\x5F\x63\x61\x6C\x6C\x69\x6E\x67\x70\x72\x65\x73","\x61\x67\x69\x5F\x63\x61\x6C\x6C\x69\x6E\x67\x61\x6E\x69\x32","\x61\x67\x69\x5F\x63\x61\x6C\x6C\x69\x6E\x67\x74\x6F\x6E","\x61\x67\x69\x5F\x63\x61\x6C\x6C\x69\x6E\x67\x74\x6E\x73","\x61\x67\x69\x5F\x64\x6E\x69\x64","\x61\x67\x69\x5F\x72\x64\x6E\x69\x73","\x61\x67\x69\x5F\x63\x6F\x6E\x74\x65\x78\x74","\x61\x67\x69\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x61\x67\x69\x5F\x70\x72\x69\x6F\x72\x69\x74\x79","\x61\x67\x69\x5F\x65\x6E\x68\x61\x6E\x63\x65\x64","\x61\x67\x69\x5F\x61\x63\x63\x6F\x75\x6E\x74\x63\x6F\x64\x65","\x61\x67\x69\x5F\x74\x68\x72\x65\x61\x64\x69\x64","\x61\x67\x69\x5F\x61\x72\x67\x5F\x31","\x45\x72\x72\x6F\x72\x3A","\x70\x72\x6F\x64\x75\x63\x74\x69\x6F\x6E","\x6D\x78\x67\x72\x61\x70\x68\x6D\x6F\x64\x65\x6C","\x4E\x6F\x20\x72\x6F\x6F\x74\x20\x69\x6E\x20\x70\x72\x6F\x6A\x65\x63\x74\x21","\x70\x61\x72\x73\x65\x53\x74\x72\x69\x6E\x67","\x4E\x6F\x20\x70\x72\x6F\x6A\x65\x63\x74\x20\x70\x75\x62\x6C\x69\x73\x68\x65\x64\x21","\x4E\x6F\x20\x70\x72\x6F\x6A\x65\x63\x74\x20\x66\x6F\x75\x6E\x64\x21","\x4E\x6F\x20\x70\x72\x6F\x6A\x65\x63\x74\x20\x61\x72\x67\x75\x6D\x65\x6E\x74\x21","\x2A","\x74\x5F\x66\x72\x6F\x6D","\x48\x48\x3A\x6D\x6D","\x74\x5F\x74\x6F","\x77\x64\x5F\x66\x72\x6F\x6D","\x77\x64\x5F\x74\x6F","\x6D\x64\x5F\x66\x72\x6F\x6D","\x6D\x64\x5F\x74\x6F","\x6D\x5F\x66\x72\x6F\x6D","\x6D\x5F\x74\x6F","\x45","\x44","\x4D","\x4E\x6F\x77\x3A\x20\x48\x6F\x75\x72\x3A\x20","\x2C\x20\x44\x61\x79\x3A\x20","\x2C\x20\x4D\x6F\x6E\x74\x68\x44\x61\x79\x3A\x20","\x2C\x20\x4D\x6F\x6E\x74\x68\x3A\x20","\x49\x6E\x74\x65\x72\x76\x61\x6C\x3A","\x20\x48\x6F\x75\x72\x73\x3A","\x20\x2D\x20","\x20\x77\x65\x65\x6B\x64\x61\x79\x3A","\x20\x6D\x6F\x6E\x74\x68\x64\x61\x79\x3A","\x20\x6D\x6F\x6E\x74\x68\x3A","\x70\x75\x73\x68","\x69\x73\x42\x65\x74\x77\x65\x65\x6E","\x76\x61\x6C\x69\x64\x20\x77\x65\x65\x6B\x64\x61\x79\x73","\x69\x6E\x64\x65\x78\x4F\x66","\x76\x61\x6C\x69\x64\x20\x6D\x6F\x6E\x74\x68\x73\x64\x61\x79\x73","\x76\x61\x6C\x69\x64\x20\x6D\x6F\x6E\x74\x68\x73","\x54\x69\x6D\x65\x20\x69\x73\x20","\x2C\x20\x57\x65\x65\x6B\x44\x61\x79\x20\x69\x73\x20","\x2C\x20\x4D\x6F\x6E\x74\x68\x44\x61\x79\x20\x69\x73\x20","\x2C\x20\x4D\x6F\x6E\x74\x68\x20\x69\x73\x20","\x53\x65\x74\x74\x69\x6E\x67\x20\x76\x61\x72\x69\x61\x62\x6C\x65\x2E\x2E\x2E","\x53\x65\x6E\x64\x69\x6E\x67\x20\x73\x65\x74\x20\x76\x61\x72\x69\x61\x62\x6C\x65\x2C\x76\x61\x72\x69\x61\x62\x6C\x65\x20\x69\x73\x20","\x2C\x20\x76\x61\x6C\x75\x65\x20\x69\x73\x20","\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72","\x5D\x5B","\x66\x6F\x72\x4F\x77\x6E","\x28","\x6C\x61\x73\x74\x49\x6E\x64\x65\x78\x4F\x66","\x29","\x67\x65\x74\x56\x61\x72\x69\x61\x62\x6C\x65","\x73\x6F\x75\x6E\x64\x73","\x25\x73\x2F\x25\x73","\x73\x6F\x75\x6E\x64\x50\x61\x74\x68","\x2F\x76\x61\x72\x2F\x6F\x70\x74\x2F\x6D\x6F\x74\x69\x6F\x6E\x2F\x73\x65\x72\x76\x65\x72\x2F\x66\x69\x6C\x65\x73\x2F\x73\x6F\x75\x6E\x64\x73\x2F\x63\x6F\x6E\x76\x65\x72\x74\x65\x64","\x73\x61\x76\x65\x5F\x6E\x61\x6D\x65","\x63\x6C\x6F\x6E\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x79\x6E\x63\x68","\x63\x6F\x6C\x6C\x65\x63\x74\x69\x6F\x6E","\x64\x6F\x63","\x75\x70\x64\x61\x74\x65\x43\x6F\x6C\x6C\x65\x63\x74\x69\x6F\x6E","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x6D\x6F\x76\x65\x46\x72\x6F\x6D\x43\x6F\x6C\x6C\x65\x63\x74\x69\x6F\x6E","\x6D\x65\x72\x67\x65","\x75\x6E\x73\x68\x69\x66\x74","\x61\x67\x69\x5F\x70\x6F\x72\x74","\x46\x61\x69\x6C\x65\x64\x20\x69\x6E\x69\x74\x69\x61\x6C\x69\x7A\x69\x6E\x67\x20\x41\x47\x49\x20\x73\x65\x72\x76\x69\x63\x65","\x6C\x69\x73\x74\x65\x6E","\x63\x72\x65\x61\x74\x65\x53\x65\x72\x76\x65\x72","\x61\x6C\x6C"];_0xd280[0];var _=require(_0xd280[1]);var agi=require(_0xd280[2]);var util=require(_0xd280[3]);var moment=require(_0xd280[4]);var xml=require(_0xd280[5]);var wait=require(_0xd280[6]);var sr=require(_0xd280[7]);var path=require(_0xd280[8]);var config=require(_0xd280[9]);var sh=require(_0xd280[10]);var Promise=require(_0xd280[11]);var rp=require(_0xd280[12]);var db=require(_0xd280[13])();var SquareProject=require(_0xd280[15])[_0xd280[14]];var Variable=require(_0xd280[15])[_0xd280[16]];var SquareOdbc=require(_0xd280[15])[_0xd280[17]];var Settings=require(_0xd280[15])[_0xd280[18]];var User=require(_0xd280[15])[_0xd280[19]];var VoiceQueue=require(_0xd280[15])[_0xd280[20]];var Interval=require(_0xd280[15])[_0xd280[21]];var Sound=require(_0xd280[15])[_0xd280[22]];var SquareRecording=require(_0xd280[15])[_0xd280[23]];var SmsAccount=require(_0xd280[15])[_0xd280[24]];var SmsMessage=require(_0xd280[15])[_0xd280[25]];var SmsRoom=require(_0xd280[15])[_0xd280[26]];var collections={users:null,variables:null,intervals:null,projects:null,sounds:null,queues:null,dbConnections:null};var weekDaysCollection={mon:1,tue:2,wed:3,thu:4,fri:5,sat:6,sun:7};var monthsCollection={jan:1,feb:2,mar:3,apr:4,may:5,jun:6,jul:7,aug:8,sep:9,oct:10,nov:11,dec:12};var methods={};process[_0xd280[28]](_0xd280[29],function(_0x3f88x1f){console[_0xd280[33]](util[_0xd280[32]](_0xd280[30],_0x3f88x1f,process[_0xd280[31]]))})[_0xd280[28]](_0xd280[27],function(_0x3f88x1e){console[_0xd280[27]](_0x3f88x1e)});console[_0xd280[33]](util[_0xd280[32]](_0xd280[34],process[_0xd280[31]]));methods[_0xd280[35]]=function(_0x3f88x20,_0x3f88x21,_0x3f88x22){console[_0xd280[33]](_0xd280[36]);console[_0xd280[33]](_0xd280[37]);_0x3f88x20[_0xd280[39]](_0xd280[38],function(_0x3f88x1e,_0x3f88x23){_0x3f88x22(_0x3f88x1e,_0x3f88x23)})};methods[_0xd280[40]]=function(_0x3f88x20,_0x3f88x21,_0x3f88x22){console[_0xd280[33]](_0xd280[41]);console[_0xd280[33]](_0xd280[42]+_0x3f88x21[_0xd280[43]]+_0xd280[44]);_0x3f88x20[_0xd280[46]](_0x3f88x21[_0xd280[43]],_0x3f88x21[_0xd280[45]],function(_0x3f88x1e,_0x3f88x23){if(_0x3f88x22){_0x3f88x22(_0x3f88x1e,_0x3f88x23)}})};methods[_0xd280[47]]=function(_0x3f88x20,_0x3f88x21,_0x3f88x22){console[_0xd280[33]](_0xd280[48]);if(!collections[_0xd280[49]]){getUsers(false)};var _0x3f88x24=_[_0xd280[51]](collections[_0xd280[49]],{id:parseInt(_0x3f88x21[_0xd280[50]])});console[_0xd280[33]](_0xd280[52]+util[_0xd280[32]](_0xd280[53],_0x3f88x24[_0xd280[54]])+_0xd280[55]);var _0x3f88x25=[util[_0xd280[32]](_0xd280[53],_0x3f88x24[_0xd280[54]]),_0x3f88x21[_0xd280[56]],_0x3f88x21[_0xd280[57]],_0x3f88x21[_0xd280[58]]];_0x3f88x20[_0xd280[46]](_0xd280[59],_0x3f88x25[_0xd280[61]](_0xd280[60]),function(_0x3f88x1e,_0x3f88x23){_0x3f88x22(_0x3f88x1e,_0x3f88x23)})};methods[_0xd280[62]]=function(_0x3f88x20,_0x3f88x21,_0x3f88x22){console[_0xd280[33]](_0xd280[63]);console[_0xd280[33]](_0xd280[52]+util[_0xd280[32]](_0xd280[53],_0x3f88x21[_0xd280[64]])+_0xd280[55]);var _0x3f88x25=[util[_0xd280[32]](_0xd280[65],_0x3f88x21[_0xd280[64]],_0x3f88x21[_0xd280[66]]),_0x3f88x21[_0xd280[56]],_0x3f88x21[_0xd280[57]],_0x3f88x21[_0xd280[58]]];_0x3f88x20[_0xd280[46]](_0xd280[59],_0x3f88x25[_0xd280[61]](_0xd280[60]),function(_0x3f88x1e,_0x3f88x23){_0x3f88x22(_0x3f88x1e,_0x3f88x23)})};methods[_0xd280[67]]=function(_0x3f88x20,_0x3f88x21,_0x3f88x22){console[_0xd280[33]](_0xd280[68]);if(!collections[_0xd280[69]]){getQueues(false)};var _0x3f88x26=_[_0xd280[51]](collections[_0xd280[69]],{name:_0x3f88x21[_0xd280[70]]});getFilePath(_0x3f88x21[_0xd280[79]])[_0xd280[78]](function(_0x3f88x27){var _0x3f88x25=[_0x3f88x26[_0xd280[54]],_0x3f88x21[_0xd280[57]],_0x3f88x21[_0xd280[58]],_0x3f88x27,_0x3f88x21[_0xd280[56]],_0x3f88x21[_0xd280[2]],_0x3f88x21[_0xd280[71]],_0x3f88x21[_0xd280[72]],_0xd280[73],_0x3f88x21[_0xd280[74]]];console[_0xd280[33]](_0xd280[75]+_0x3f88x26[_0xd280[54]]+_0xd280[76]);_0x3f88x20[_0xd280[46]](_0xd280[77],_0x3f88x25[_0xd280[61]](_0xd280[60]),function(_0x3f88x1e,_0x3f88x23){_0x3f88x22(_0x3f88x1e,_0x3f88x23)})})};methods[_0xd280[80]]=function(_0x3f88x20,_0x3f88x21,_0x3f88x22){console[_0xd280[33]](_0xd280[81]);var _0x3f88x25=[_0x3f88x21[_0xd280[82]],_0x3f88x21[_0xd280[57]]];var _0x3f88x28={uniqueid:_0x3f88x20[_0xd280[83]],node:_0x3f88x21[_0xd280[84]],application:_0x3f88x21[_0xd280[85]],data:_0x3f88x25[_0xd280[61]](_0xd280[60])||null,project_name:_0x3f88x20[_0xd280[86]],message:_0xd280[87]};process[_0xd280[39]](_0x3f88x28);console[_0xd280[33]](_0xd280[88]);_0x3f88x20[_0xd280[46]](_0xd280[89],_0x3f88x25[_0xd280[61]](_0xd280[60]),function(_0x3f88x1e,_0x3f88x23){_0x3f88x22(_0x3f88x1e,_0x3f88x23)})};methods[_0xd280[90]]=function(_0x3f88x20,_0x3f88x21,_0x3f88x22){console[_0xd280[33]](_0xd280[91]);var _0x3f88x29={method:_0xd280[92],uri:_0xd280[93],body:{id_list:parseInt(_0x3f88x21[_0xd280[94]]),name:_0x3f88x21[_0xd280[54]]||_0xd280[73],phones:_0x3f88x21[_0xd280[66]][_0xd280[96]]()[_0xd280[95]](_0xd280[60]),description:_0x3f88x21[_0xd280[84]]||_0xd280[73],planningtime:moment()[_0xd280[100]](_0x3f88x21[_0xd280[98]]||5,_0xd280[99])[_0xd280[32]](_0xd280[97])},json:true};rp(_0x3f88x29)[_0xd280[78]](function(_0x3f88x2a){if(_0x3f88x2a[_0xd280[106]]>0){console[_0xd280[33]](_0x3f88x2a[_0xd280[107]].RMI)}else {console[_0xd280[33]](_0x3f88x2a[_0xd280[107]][_0xd280[109]][_0xd280[108]])}})[_0xd280[105]](function(_0x3f88x1e){console[_0xd280[27]](_0xd280[103],_0x3f88x1e[_0xd280[104]])})[_0xd280[102]](function(){console[_0xd280[33]](_0xd280[101]);_0x3f88x22(null,{code:200,result:1})})};methods[_0xd280[110]]=function(_0x3f88x20,_0x3f88x21,_0x3f88x22){console[_0xd280[33]](_0xd280[111]);console[_0xd280[33]](_0xd280[112]);try{var _0x3f88x2b=eval(_0x3f88x21[_0xd280[113]]);console[_0xd280[33]](_0xd280[114]);var _0x3f88x2c=getVariableName(_0x3f88x21[_0xd280[115]]);if(_[_0xd280[116]](_0x3f88x2b)){_0x3f88x2b[_0xd280[121]](function(_0x3f88x2d,_0x3f88x2e){wait[_0xd280[120]](setVariable,_0x3f88x20,_0x3f88x2c+_0xd280[117]+_0x3f88x2e+_0xd280[118],_0xd280[119]+_0x3f88x2d+_0xd280[119])})}else {wait[_0xd280[120]](setVariable,_0x3f88x20,_0x3f88x2c,_0xd280[119]+_0x3f88x2b+_0xd280[119])}}catch(err){console[_0xd280[33]](_0xd280[122]);_0x3f88x22(null,{code:200,result:1})}};methods[_0xd280[123]]=function(_0x3f88x20,_0x3f88x21,_0x3f88x22){console[_0xd280[33]](_0xd280[124]);getFilePath(_0x3f88x21[_0xd280[79]])[_0xd280[78]](function(_0x3f88x2f){var _0x3f88x25=[_0x3f88x2f,_0x3f88x21[_0xd280[57]]];console[_0xd280[33]](_0xd280[125]);_0x3f88x20[_0xd280[46]](_0xd280[126],_0x3f88x25[_0xd280[61]](_0xd280[60]),function(_0x3f88x1e,_0x3f88x23){_0x3f88x22(_0x3f88x1e,_0x3f88x23)})})};methods[_0xd280[127]]=function(_0x3f88x20,_0x3f88x21,_0x3f88x22){console[_0xd280[33]](_0xd280[128]);var _0x3f88x23={};console[_0xd280[33]](_0xd280[129]+_0x3f88x21[_0xd280[130]]+_0xd280[131]);if(_0x3f88x21[_0xd280[130]]>0){_0x3f88x21[_0xd280[130]]--;getFilePath(_0x3f88x21[_0xd280[79]])[_0xd280[78]](function(_0x3f88x30){console[_0xd280[33]](_0xd280[132]);_0x3f88x20[_0xd280[39]](util[_0xd280[32]](_0xd280[133],_0x3f88x30,parseInt(_0x3f88x21[_0xd280[107]])*1000,_0x3f88x21[_0xd280[134]]),function(_0x3f88x1e,_0x3f88x23){var _0x3f88x28={uniqueid:_0x3f88x20[_0xd280[83]],node:_0x3f88x21[_0xd280[84]],application:_0x3f88x21[_0xd280[85]],data:_0x3f88x23[_0xd280[135]]||null,project_name:_0x3f88x20[_0xd280[86]],message:_0xd280[87]};process[_0xd280[39]](_0x3f88x28);_0x3f88x23[_0xd280[135]]=_0x3f88x23[_0xd280[135]][_0xd280[137]](_0xd280[136],_0xd280[73])[_0xd280[96]]();if(_0x3f88x23[_0xd280[135]][_0xd280[138]]){if(_0x3f88x23[_0xd280[135]]===_0xd280[139]){_0x3f88x22(null,_0x3f88x23)}else {_0x3f88x23[_0xd280[140]]=_0x3f88x23[_0xd280[135]];if(_0x3f88x21[_0xd280[115]]!==_0xd280[139]){console[_0xd280[33]](_0xd280[141]);var _0x3f88x2c=getVariableName(_0x3f88x21[_0xd280[115]]);setVariable(_0x3f88x20,_0x3f88x2c,_0xd280[119]+_0x3f88x23[_0xd280[140]]+_0xd280[119],function(){_0x3f88x22(null,_0x3f88x23)})}else {_0x3f88x22(null,_0x3f88x23)}}}else {console[_0xd280[33]](_0xd280[142]);_0x3f88x23={code:200,result:_0xd280[143],data:_0xd280[144]};_0x3f88x22(null,_0x3f88x23)}})})}else {console[_0xd280[33]](_0xd280[145]);_0x3f88x23={code:200,result:_0xd280[143],data:_0xd280[146]};_0x3f88x22(null,_0x3f88x23)}};methods[_0xd280[147]]=function(_0x3f88x20,_0x3f88x21,_0x3f88x22){console[_0xd280[33]](_0xd280[148]);console[_0xd280[33]](_0xd280[149]);_0x3f88x20[_0xd280[39]](util[_0xd280[32]](_0xd280[150],_0x3f88x21[_0xd280[151]],_0x3f88x21[_0xd280[152]]),function(_0x3f88x1e,_0x3f88x23){_0x3f88x22(_0x3f88x1e,_0x3f88x23)})};methods[_0xd280[153]]=function(_0x3f88x20,_0x3f88x21,_0x3f88x22){console[_0xd280[33]](_0xd280[154]);console[_0xd280[33]](_0xd280[155]);_0x3f88x20[_0xd280[39]](util[_0xd280[32]](_0xd280[156],_0x3f88x21[_0xd280[157]],_0x3f88x21[_0xd280[152]]),function(_0x3f88x1e,_0x3f88x23){_0x3f88x22(_0x3f88x1e,_0x3f88x23)})};methods[_0xd280[158]]=function(_0x3f88x20,_0x3f88x21,_0x3f88x22){console[_0xd280[33]](_0xd280[159]);var _0x3f88x25=[path[_0xd280[61]](config[_0xd280[160]],_0xd280[161],_0xd280[162]),encodeURIComponent(_0x3f88x21[_0xd280[157]]),_0x3f88x21[_0xd280[163]]];console[_0xd280[33]](_0xd280[164]);_0x3f88x20[_0xd280[46]](_0xd280[165],_0x3f88x25[_0xd280[61]](_0xd280[60]),function(_0x3f88x1e,_0x3f88x23){_0x3f88x22(_0x3f88x1e,_0x3f88x23)})};methods[_0xd280[166]]=function(_0x3f88x20,_0x3f88x21,_0x3f88x22){console[_0xd280[33]](_0xd280[167]);var _0x3f88x25=[_0xd280[168],encodeURIComponent(_0x3f88x21[_0xd280[157]]),_0x3f88x21[_0xd280[169]],_0x3f88x21[_0xd280[170]],_0x3f88x21[_0xd280[171]],_0x3f88x21[_0xd280[172]]];console[_0xd280[33]](_0xd280[173]);_0x3f88x20[_0xd280[46]](_0xd280[165],_0x3f88x25[_0xd280[61]](_0xd280[60]),function(_0x3f88x1e,_0x3f88x23){_0x3f88x22(_0x3f88x1e,_0x3f88x23)})};methods[_0xd280[174]]=function(_0x3f88x20,_0x3f88x21,_0x3f88x22){console[_0xd280[33]](_0xd280[175]);var _0x3f88x23={};console[_0xd280[33]](_0xd280[129]+_0x3f88x21[_0xd280[130]]+_0xd280[131]);if(_0x3f88x21[_0xd280[130]]>0){_0x3f88x21[_0xd280[130]]--;getFilePath(_0x3f88x21[_0xd280[79]])[_0xd280[78]](function(_0x3f88x30){console[_0xd280[33]](_0xd280[132]);_0x3f88x20[_0xd280[39]](util[_0xd280[32]](_0xd280[133],_0x3f88x30,parseInt(_0x3f88x21[_0xd280[107]])*1000,_0x3f88x21[_0xd280[176]]),function(_0x3f88x1e,_0x3f88x23){var _0x3f88x28={uniqueid:_0x3f88x20[_0xd280[83]],node:_0x3f88x21[_0xd280[84]],application:_0x3f88x21[_0xd280[85]],data:_0x3f88x23[_0xd280[135]]||null,project_name:_0x3f88x20[_0xd280[86]],message:_0xd280[87]};process[_0xd280[39]](_0x3f88x28);_0x3f88x23[_0xd280[135]]=_0x3f88x23[_0xd280[135]][_0xd280[137]](_0xd280[136],_0xd280[73])[_0xd280[96]]();if(_0x3f88x23[_0xd280[135]][_0xd280[138]]>=parseInt(_0x3f88x21[_0xd280[177]])){if(_0x3f88x23[_0xd280[135]]!==_0xd280[139]){console[_0xd280[33]](_0xd280[178]);if(_0x3f88x21[_0xd280[115]]!==_0xd280[139]){console[_0xd280[33]](_0xd280[141]);var _0x3f88x2c=getVariableName(_0x3f88x21[_0xd280[115]]);setVariable(_0x3f88x20,_0x3f88x2c,_0xd280[119]+_0x3f88x23[_0xd280[135]]+_0xd280[119],function(){_0x3f88x23={code:200,result:_0xd280[143],data:_0xd280[179]};_0x3f88x22(null,_0x3f88x23)})}}else {console[_0xd280[33]](_0xd280[180]);_0x3f88x23={code:500,result:_0xd280[139]};_0x3f88x22(null,_0x3f88x23)}}else {console[_0xd280[33]](_0xd280[181]);_0x3f88x23={code:200,result:_0xd280[143],data:_0xd280[182]};_0x3f88x22(null,_0x3f88x23)}})})}else {console[_0xd280[33]](_0xd280[145]);_0x3f88x23={code:500,result:_0xd280[139]};_0x3f88x22(null,_0x3f88x23)}};methods[_0xd280[183]]=function(_0x3f88x20,_0x3f88x21,_0x3f88x22){console[_0xd280[33]](_0xd280[184]);var _0x3f88x31=sr({length:4});console[_0xd280[33]](_0xd280[185]);_0x3f88x20[_0xd280[39]](util[_0xd280[32]](_0xd280[186],path[_0xd280[61]](config[_0xd280[160]],_0xd280[187],_0x3f88x31),_0x3f88x21[_0xd280[152]],_0x3f88x21[_0xd280[56]],null,true,null),function(_0x3f88x1e,_0x3f88x23){if(_0x3f88x23[_0xd280[188]]===200&&_0x3f88x23[_0xd280[135]]!==_0xd280[139]){SquareRecording[_0xd280[201]]({uniqueid:_0x3f88x20[_0xd280[83]],callerid:_0x3f88x20[_0xd280[192]],calleridname:_0x3f88x20[_0xd280[193]],context:_0x3f88x20[_0xd280[194]],extension:_0x3f88x20[_0xd280[195]],priority:_0x3f88x20[_0xd280[196]],accountcode:_0x3f88x20[_0xd280[197]],dnid:_0x3f88x20[_0xd280[198]],project_name:_0x3f88x20[_0xd280[86]],saveName:_0x3f88x31,filename:_0x3f88x21[_0xd280[199]]||null,savePath:path[_0xd280[61]](config[_0xd280[160]],_0xd280[187],_0x3f88x31+_0xd280[200])})[_0xd280[105]](function(_0x3f88x1e){console[_0xd280[33]](_0xd280[189]+_0x3f88x21[_0xd280[85]]+_0xd280[190]+_0x3f88x21[_0xd280[84]]+_0xd280[191],_0x3f88x1e)});console[_0xd280[33]](_0xd280[202]);_0x3f88x20[_0xd280[39]](util[_0xd280[32]](_0xd280[203],_0xd280[204],_0x3f88x31),function(_0x3f88x1e,_0x3f88x23){_0x3f88x22(_0x3f88x1e,_0x3f88x23)})}else {_0x3f88x22(_0x3f88x1e,_0x3f88x23)}})};methods[_0xd280[205]]=function(_0x3f88x20,_0x3f88x21,_0x3f88x22){console[_0xd280[33]](_0xd280[206]);var _0x3f88x23;var _0x3f88x32=_0xd280[207];var _0x3f88x33;if(!collections[_0xd280[208]]){getIntervals(false)};var _0x3f88x34=_[_0xd280[51]](collections[_0xd280[208]],{id:parseInt(_0x3f88x21[_0xd280[209]])});if(!_0x3f88x34[_0xd280[210]]){_0x3f88x33=_[_0xd280[212]](collections[_0xd280[208]],{IntervalId:parseInt(_0x3f88x34[_0xd280[211]])})};if(_0x3f88x33){console[_0xd280[33]](_0xd280[213]);if(_0x3f88x33[_0xd280[138]]){console[_0xd280[33]](_0xd280[129]+_0x3f88x33[_0xd280[138]]+_0xd280[214]);var _0x3f88x35;console[_0xd280[33]](_0xd280[215]);_0x3f88x33[_0xd280[121]](function(_0x3f88x2d,_0x3f88x2e){_0x3f88x35=splitInterval(_0x3f88x2d[_0xd280[216]]);if(isIntervalValid(_0x3f88x35)){console[_0xd280[33]](_0xd280[217]+_0x3f88x2e+_0xd280[218]);_0x3f88x32=_0xd280[219]}})}else {console[_0xd280[33]](_0xd280[220]);_0x3f88x32=_0xd280[219]}}else {console[_0xd280[33]](_0xd280[221]);var _0x3f88x36=splitInterval(_0x3f88x34[_0xd280[216]]);if(isIntervalValid(_0x3f88x36)){console[_0xd280[33]](_0xd280[222]);_0x3f88x32=_0xd280[219]}};console[_0xd280[33]](_0xd280[223]+_0x3f88x32+_0xd280[224]);_0x3f88x23={code:200,result:_0xd280[143],data:_0x3f88x32};_0x3f88x22(null,_0x3f88x23)};methods[_0xd280[225]]=function(_0x3f88x20,_0x3f88x21,_0x3f88x22){console[_0xd280[33]](_0xd280[226]);console[_0xd280[33]](_0xd280[227]);var _0x3f88x2c=getVariableName(_0x3f88x21[_0xd280[115]]);getVariable(_0x3f88x20,_0x3f88x2c,function(_0x3f88x1e,_0x3f88x23){if(!_0x3f88x23[_0xd280[140]]){_0x3f88x23[_0xd280[140]]=_0xd280[146]};_0x3f88x22(null,_0x3f88x23)})};methods[_0xd280[228]]=function(_0x3f88x20,_0x3f88x21,_0x3f88x22){var _0x3f88x28={uniqueid:_0x3f88x20[_0xd280[83]],node:_0x3f88x21[_0xd280[84]],application:_0x3f88x21[_0xd280[85]],data:_0x3f88x21[_0xd280[229]]||null,project_name:_0x3f88x20[_0xd280[86]],message:_0xd280[87]};process[_0xd280[39]](_0x3f88x28);var _0x3f88x23={code:200,result:_0xd280[230]};_0x3f88x22(null,_0x3f88x23)};methods[_0xd280[231]]=function(_0x3f88x20,_0x3f88x21,_0x3f88x22){var _0x3f88x28={uniqueid:_0x3f88x20[_0xd280[83]],node:_0x3f88x21[_0xd280[84]],application:_0x3f88x21[_0xd280[85]],data:_0x3f88x21[_0xd280[157]]||null,project_name:_0x3f88x20[_0xd280[86]]};var _0x3f88x37;SmsAccount[_0xd280[241]](_0x3f88x21[_0xd280[237]])[_0xd280[78]](function(_0x3f88x39){_0x3f88x37={from:_0x3f88x39[_0xd280[66]],to:_0x3f88x21[_0xd280[236]],body:_0x3f88x21[_0xd280[157]],SmsAccountId:_0x3f88x21[_0xd280[237]]};process[_0xd280[39]](_0x3f88x28);return SmsRoom[_0xd280[240]]({where:{from:_0x3f88x21[_0xd280[236]],SmsAccountId:_0x3f88x21[_0xd280[237]],status:{$ne:_0xd280[239]}}})})[_0xd280[78]](function(_0x3f88x38){if(!_0x3f88x38){return SmsRoom[_0xd280[201]]({from:_0x3f88x21[_0xd280[236]],SmsAccountId:_0x3f88x21[_0xd280[237]],status:_0xd280[238]})};return _0x3f88x38})[_0xd280[78]](function(_0x3f88x38){_0x3f88x37[_0xd280[233]]=_0x3f88x38[_0xd280[211]];_0x3f88x37[_0xd280[234]]=_0xd280[235];return SmsMessage[_0xd280[201]](_0x3f88x37)})[_0xd280[78]](function(){var _0x3f88x23={code:200,result:_0xd280[230]};_0x3f88x22(null,_0x3f88x23)})[_0xd280[105]](function(_0x3f88x1e){console[_0xd280[33]](_0xd280[232],_0x3f88x1e);var _0x3f88x23={code:200,result:_0xd280[230]};_0x3f88x22(_0x3f88x1e,_0x3f88x23)})};methods[_0xd280[242]]=function(_0x3f88x20,_0x3f88x21,_0x3f88x22){console[_0xd280[33]](_0xd280[243]);var _0x3f88x28={uniqueid:_0x3f88x20[_0xd280[83]],node:_0x3f88x21[_0xd280[84]],application:_0x3f88x21[_0xd280[85]],data:_[_0xd280[96]](_0x3f88x21[_0xd280[244]])||null,project_name:_0x3f88x20[_0xd280[86]],message:_0xd280[87]};process[_0xd280[39]](_0x3f88x28);console[_0xd280[33]](_0xd280[245]);sh[_0xd280[46]](_[_0xd280[96]](_0x3f88x21[_0xd280[244]]),function(_0x3f88x1f,_0x3f88x3a){var _0x3f88x3b=_0x3f88x3a[_0xd280[137]](/(\r\n|\n|\r)/gm,_0xd280[73]);console[_0xd280[33]](_0xd280[246],_0x3f88x3b);console[_0xd280[33]](_0xd280[247]);var _0x3f88x2c=getVariableName(_0x3f88x21[_0xd280[115]]);setVariable(_0x3f88x20,_0x3f88x2c,_0xd280[119]+_0x3f88x3b+_0xd280[119],_0x3f88x22)})};methods[_0xd280[2]]=function(_0x3f88x20,_0x3f88x21,_0x3f88x22){console[_0xd280[33]](_0xd280[248]);console[_0xd280[33]](_0xd280[249]);_0x3f88x20[_0xd280[46]](_0xd280[165],_0x3f88x21[_0xd280[244]],_0x3f88x21[_0xd280[250]],function(_0x3f88x1e,_0x3f88x23){_0x3f88x22(_0x3f88x1e,_0x3f88x23)})};methods[_0xd280[251]]=function(_0x3f88x20,_0x3f88x21,_0x3f88x22){console[_0xd280[33]](_0xd280[252]);if(!collections[_0xd280[253]]){getProjects(false)};var _0x3f88x3c=_[_0xd280[51]](collections[_0xd280[253]],{id:parseInt(_0x3f88x21[_0xd280[254]])});console[_0xd280[33]](_0xd280[255]+_0x3f88x3c[_0xd280[54]]+_0xd280[44]);_0x3f88x20[_0xd280[46]](_0xd280[165],util[_0xd280[32]](_0xd280[256],_0x3f88x3c[_0xd280[54]]),function(_0x3f88x1e,_0x3f88x23){_0x3f88x22(_0x3f88x1e,_0x3f88x23)})};methods[_0xd280[257]]=function(_0x3f88x20,_0x3f88x21,_0x3f88x22){console[_0xd280[33]](_0xd280[258]);var _0x3f88x25=[path[_0xd280[61]](config[_0xd280[160]],_0xd280[161],_0xd280[259]),_0x3f88x21[_0xd280[260]],_0xd280[73],(_0x3f88x21[_0xd280[261]]===_0xd280[143]?_0xd280[73]:_0x3f88x21[_0xd280[261]]),_0x3f88x21[_0xd280[56]],_0x3f88x21[_0xd280[170]],_0x3f88x21[_0xd280[262]]===_0xd280[263]?_0xd280[73]:_0x3f88x21[_0xd280[262]],_0x3f88x21[_0xd280[172]]];console[_0xd280[33]](_0xd280[264]);_0x3f88x20[_0xd280[46]](_0xd280[165],_0x3f88x25[_0xd280[61]](_0xd280[60]),function(_0x3f88x1e,_0x3f88x23){_0x3f88x22(_0x3f88x1e,_0x3f88x23)})};methods[_0xd280[265]]=function(_0x3f88x20,_0x3f88x21,_0x3f88x22){console[_0xd280[33]](_0xd280[266]);if(!collections[_0xd280[267]]){getDbConnections(false)};var _0x3f88x3d=_[_0xd280[51]](collections[_0xd280[267]],{id:parseInt(_0x3f88x21[_0xd280[268]])});console[_0xd280[33]](_0xd280[269]);var _0x3f88x28={uniqueid:_0x3f88x20[_0xd280[83]],node:_0x3f88x21[_0xd280[84]],application:_0x3f88x21[_0xd280[85]],data:_0x3f88x21[_0xd280[270]]||null,project_name:_0x3f88x20[_0xd280[86]],message:_0xd280[87]};process[_0xd280[39]](_0x3f88x28);try{db[_0xd280[272]](_0x3f88x3d[_0xd280[271]]);var _0x3f88x3e=db[_0xd280[273]](_0x3f88x21[_0xd280[270]]);db[_0xd280[274]]();setVariablesMatrix(_0x3f88x20,_0x3f88x21,_0x3f88x22,_0x3f88x3e)}catch(e){console[_0xd280[33]](e[_0xd280[104]]);wait[_0xd280[120]](setVariable,_0x3f88x20,_0xd280[275],_0xd280[219]);wait[_0xd280[120]](setVariable,_0x3f88x20,_0xd280[276],_0xd280[119]+e[_0xd280[104]]+_0xd280[119])}};methods[_0xd280[277]]=function(_0x3f88x20,_0x3f88x21,_0x3f88x22){console[_0xd280[33]](_0xd280[278]);console[_0xd280[33]](_0xd280[279]+_0x3f88x21[_0xd280[195]]+_0xd280[280]);_0x3f88x20[_0xd280[46]](_0xd280[59],util[_0xd280[32]](_0xd280[281],_0x3f88x21[_0xd280[195]],_0x3f88x21[_0xd280[194]]),function(_0x3f88x1e,_0x3f88x23){_0x3f88x22(_0x3f88x1e,_0x3f88x23)})};methods[_0xd280[282]]=function(_0x3f88x20,_0x3f88x21,_0x3f88x22){console[_0xd280[33]](_0xd280[283]);var _0x3f88x23={code:200,result:_0xd280[143]};console[_0xd280[33]](_0xd280[284]);try{_0x3f88x23[_0xd280[140]]=String(eval(_0x3f88x21[_0xd280[285]])?_0xd280[219]:_0xd280[207])}catch(err){console[_0xd280[33]](_0xd280[286]);_0x3f88x23[_0xd280[140]]=_0xd280[207]};console[_0xd280[33]](_0xd280[287]+_0x3f88x23[_0xd280[140]]);_0x3f88x22(null,_0x3f88x23)};methods[_0xd280[288]]=function(_0x3f88x20,_0x3f88x21,_0x3f88x22){console[_0xd280[33]](_0xd280[289]);console[_0xd280[33]](_0xd280[290]);_0x3f88x20[_0xd280[288]]()};methods[_0xd280[291]]=function(_0x3f88x20,_0x3f88x21,_0x3f88x22){console[_0xd280[33]](_0xd280[292]);var _0x3f88x3a=(_0x3f88x21[_0xd280[293]])?_0xd280[119]+_0x3f88x21[_0xd280[293]]+_0xd280[119]:_0xd280[119]+_0x3f88x21[_0xd280[84]]+_0xd280[119];console[_0xd280[33]](_0xd280[294]+_0x3f88x3a);_0x3f88x20[_0xd280[46]](_0xd280[295],_0x3f88x3a,function(_0x3f88x1e,_0x3f88x23){_0x3f88x22(_0x3f88x1e,_0x3f88x23)})};methods[_0xd280[296]]=function(_0x3f88x20,_0x3f88x21,_0x3f88x22){console[_0xd280[33]](_0xd280[297]);console[_0xd280[33]](_0xd280[298]);_0x3f88x20[_0xd280[39]](util[_0xd280[32]](_0xd280[299],_0x3f88x21[_0xd280[300]],_0x3f88x21[_0xd280[152]]),function(_0x3f88x1e,_0x3f88x23){_0x3f88x22(_0x3f88x1e,_0x3f88x23)})};methods[_0xd280[301]]=function(_0x3f88x20,_0x3f88x21,_0x3f88x22){console[_0xd280[33]](_0xd280[302]);console[_0xd280[33]](_0xd280[303]);var _0x3f88x2c=getVariableName(_0x3f88x21[_0xd280[115]]);wait[_0xd280[120]](setVariable,_0x3f88x20,_0x3f88x2c,_0xd280[119]+_0x3f88x21[_0xd280[304]]+_0xd280[119])};function getVertices(_0x3f88x40){return _[_0xd280[308]](_0x3f88x40,function(_0x3f88x2b,_0x3f88x41,_0x3f88x42){if(_0x3f88x42===_0xd280[305]){return _0x3f88x2b};if(_[_0xd280[116]](_0x3f88x41)){_[_0xd280[307]](_0x3f88x41,function(_0x3f88x43,_0x3f88x44){_0x3f88x2b[_0x3f88x43[_0xd280[306]][_0xd280[211]]]=_0x3f88x43[_0xd280[306]];_0x3f88x2b[_0x3f88x43[_0xd280[306]][_0xd280[211]]][_0xd280[85]]=_0x3f88x42});return _0x3f88x2b};_0x3f88x2b[_0x3f88x41[_0xd280[306]][_0xd280[211]]]=_0x3f88x41[_0xd280[306]];_0x3f88x2b[_0x3f88x41[_0xd280[306]][_0xd280[211]]][_0xd280[85]]=_0x3f88x42;return _0x3f88x2b},{})}function getTargetBySource(_0x3f88x40,_0x3f88x46,_0x3f88x43){return _[_0xd280[135]](_[_0xd280[51]](_0x3f88x40[_0xd280[305]],function(_0x3f88x41){if(_0x3f88x41[_0xd280[306]][_0xd280[309]]&&_0x3f88x41[_0xd280[306]][_0xd280[234]]){if(_0x3f88x41[_0xd280[306]][_0xd280[234]]===_0x3f88x46){if(_0x3f88x41[_0xd280[306]][_0xd280[310]]&&_0x3f88x41[_0xd280[306]][_0xd280[310]]!==_0x3f88x43){return false};return true}};return false}),_0xd280[311])}function replaceAllVariables(_0x3f88x20,_0x3f88x21,_0x3f88x22){var _0x3f88x48=_0x3f88x21;for(var _0x3f88x44 in _0x3f88x48){var _0x3f88x23=_0x3f88x48[_0x3f88x44][_0xd280[312]](/{+(.*?)}/gi);if(_0x3f88x23){console[_0xd280[33]](_0xd280[313],_0x3f88x23);_0x3f88x23[_0xd280[121]](function(_0x3f88x49,_0x3f88x2e){console[_0xd280[33]](_0xd280[314],_0x3f88x23[_0x3f88x2e][_0xd280[315]](1,_0x3f88x23[_0x3f88x2e][_0xd280[138]]-1));var _0x3f88x43=wait[_0xd280[120]](getVariable,_0x3f88x20,_0x3f88x23[_0x3f88x2e][_0xd280[315]](1,_0x3f88x23[_0x3f88x2e][_0xd280[138]]-1));console[_0xd280[33]](_0xd280[310],_0x3f88x43);if(_0x3f88x43[_0xd280[140]]){_0x3f88x48[_0x3f88x44]=_0x3f88x48[_0x3f88x44][_0xd280[137]](_0x3f88x23[_0x3f88x2e],_0x3f88x43[_0xd280[140]])}})}};_0x3f88x48[_0xd280[316]]=true;return _0x3f88x48}function xstart(_0x3f88x20){var _0x3f88x40=_0x3f88x20[_0xd280[160]];var _0x3f88x4b=_0x3f88x20[_0xd280[317]];if(_0x3f88x40[_0xd280[318]]){if(!_[_0xd280[116]](_0x3f88x40[_0xd280[318]])){var _0x3f88x46=_0x3f88x40[_0xd280[318]][_0xd280[306]][_0xd280[211]];var _0x3f88x23={};do{try{var _0x3f88x21=_0x3f88x4b[_0x3f88x46][_0xd280[316]]?_0x3f88x4b[_0x3f88x46]:replaceAllVariables(_0x3f88x20,_0x3f88x4b[_0x3f88x46]);if(_0x3f88x21){if(_[_0xd280[319]](methods[_0x3f88x21[_0xd280[85]]])){_0x3f88x23=wait[_0xd280[120]](methods[_0x3f88x21[_0xd280[85]]],_0x3f88x20,_0x3f88x21)}else {_0x3f88x23=wait[_0xd280[120]](methods[_0xd280[291]],_0x3f88x20,_0x3f88x21)};if(_0x3f88x23[_0xd280[188]]===200&&_0x3f88x23[_0xd280[135]]!==_0xd280[139]){var _0x3f88x4c=getTargetBySource(_0x3f88x40,_0x3f88x46,_0x3f88x23[_0xd280[140]]);if(!_0x3f88x4c){if(_0x3f88x21[_0xd280[85]]===_0xd280[127]){if(_0x3f88x21[_0xd280[130]]>0){_0x3f88x4c=getTargetBySource(_0x3f88x40,_0x3f88x46,_0xd280[182]);if(!_0x3f88x4c){_0x3f88x4c=_0x3f88x46}}};if(_0x3f88x21[_0xd280[85]]===_0xd280[174]&&_0x3f88x21[_0xd280[130]]>0){_0x3f88x4c=_0x3f88x46};if(_0x3f88x21[_0xd280[85]]===_0xd280[225]){_0x3f88x4c=getTargetBySource(_0x3f88x40,_0x3f88x46,_0xd280[146]);if(!_0x3f88x4c){_0x3f88x4c=_0x3f88x46}}};_0x3f88x46=_0x3f88x4c}else {_0x3f88x46=null}}else {_0x3f88x46=null}}catch(err){console[_0xd280[33]](err)}}while(_0x3f88x46);;console[_0xd280[33]](_0xd280[320]);_0x3f88x20[_0xd280[288]]()}}}function xfinally(_0x3f88x20){var _0x3f88x40=_0x3f88x20[_0xd280[160]];var _0x3f88x4b=_0x3f88x20[_0xd280[317]];if(_0x3f88x40[_0xd280[102]]){if(!_[_0xd280[116]](_0x3f88x40[_0xd280[102]])){var _0x3f88x46=_0x3f88x40[_0xd280[102]][_0xd280[306]][_0xd280[211]];var _0x3f88x23={};do{try{var _0x3f88x21=_0x3f88x4b[_0x3f88x46][_0xd280[316]]?_0x3f88x4b[_0x3f88x46]:replaceAllVariables(_0x3f88x20,_0x3f88x4b[_0x3f88x46]);if(_0x3f88x21){if(_[_0xd280[319]](methods[_0x3f88x21[_0xd280[85]]])){_0x3f88x23=wait[_0xd280[120]](methods[_0x3f88x21[_0xd280[85]]],_0x3f88x20,_0x3f88x21)}else {_0x3f88x23=wait[_0xd280[120]](methods[_0xd280[291]],_0x3f88x20,_0x3f88x21)};if(_0x3f88x23[_0xd280[188]]===200&&_0x3f88x23[_0xd280[135]]!==_0xd280[139]){var _0x3f88x4c=getTargetBySource(_0x3f88x40,_0x3f88x46,_0x3f88x23[_0xd280[140]]);if(!_0x3f88x4c){if(_0x3f88x21[_0xd280[85]]===_0xd280[127]){if(_0x3f88x21[_0xd280[130]]>0){_0x3f88x4c=getTargetBySource(_0x3f88x40,_0x3f88x46,_0xd280[182]);if(!_0x3f88x4c){_0x3f88x4c=_0x3f88x46}}};if(_0x3f88x21[_0xd280[85]]===_0xd280[174]&&_0x3f88x21[_0xd280[130]]>0){_0x3f88x4c=_0x3f88x46}};_0x3f88x46=_0x3f88x4c}else {_0x3f88x46=null}}else {_0x3f88x46=null}}catch(err){console[_0xd280[33]](err)}}while(_0x3f88x46);;_0x3f88x20[_0xd280[288]]();console[_0xd280[33]](_0xd280[321])}};_0x3f88x20[_0xd280[322]]()}function main(_0x3f88x20){_0x3f88x20[_0xd280[28]](_0xd280[27],function(_0x3f88x1e){console[_0xd280[33]](_0xd280[323],_0x3f88x1e)});_0x3f88x20[_0xd280[28]](_0xd280[29],function(){console[_0xd280[33]](_0xd280[324])});_0x3f88x20[_0xd280[28]](_0xd280[288],function(){if(_0x3f88x20[_0xd280[102]]){_0x3f88x20[_0xd280[102]]=false;console[_0xd280[33]](_0xd280[325]);wait[_0xd280[326]](xfinally,_0x3f88x20)}else {process[_0xd280[39]]({message:_0xd280[327],uniqueid:_0x3f88x20[_0xd280[83]],leaveAt:moment()[_0xd280[32]](_0xd280[97])});console[_0xd280[33]](_0xd280[328])}});_0x3f88x20[_0xd280[28]](_0xd280[107],function(_0x3f88x23){});_0x3f88x20[_0xd280[28]](_0xd280[329],function(_0x3f88x4f){console[_0xd280[33]](_0x3f88x4f);console[_0xd280[33]](_0xd280[330]+_0x3f88x4f[_0xd280[331]]+_0xd280[332]+_0x3f88x4f[_0xd280[333]]);var _0x3f88x50={network:_0x3f88x4f[_0xd280[334]],network_script:_0x3f88x4f[_0xd280[335]],request:_0x3f88x4f[_0xd280[336]],channel:_0x3f88x4f[_0xd280[337]],language:_0x3f88x4f[_0xd280[338]],type:_0x3f88x4f[_0xd280[339]],uniqueid:_0x3f88x4f[_0xd280[333]],version:_0x3f88x4f[_0xd280[340]],callerid:_0x3f88x4f[_0xd280[331]],calleridname:_0x3f88x4f[_0xd280[341]],callingpres:_0x3f88x4f[_0xd280[342]],callingani2:_0x3f88x4f[_0xd280[343]],callington:_0x3f88x4f[_0xd280[344]],callingtns:_0x3f88x4f[_0xd280[345]],dnid:_0x3f88x4f[_0xd280[346]],rdnis:_0x3f88x4f[_0xd280[347]],context:_0x3f88x4f[_0xd280[348]],extension:_0x3f88x4f[_0xd280[349]],priority:_0x3f88x4f[_0xd280[350]],enhanced:_0x3f88x4f[_0xd280[351]],accountcode:_0x3f88x4f[_0xd280[352]],threadid:_0x3f88x4f[_0xd280[353]],project_name:_0x3f88x4f[_0xd280[354]],joinAt:moment()[_0xd280[32]](_0xd280[97]),message:_0xd280[201]};process[_0xd280[39]](_0x3f88x50);if(_0x3f88x4f[_0xd280[354]]){SquareProject[_0xd280[240]]({where:{name:_0x3f88x4f[_0xd280[354]]},attributes:[_0xd280[211],_0xd280[356]]})[_0xd280[78]](function(_0x3f88x3c){if(_0x3f88x3c){if(_0x3f88x3c[_0xd280[356]]){xml[_0xd280[359]](_0x3f88x3c[_0xd280[356]],{normalizeTags:true,explicitArray:false},function(_0x3f88x1e,_0x3f88x2b){var _0x3f88x40=_0x3f88x2b[_0xd280[357]][_0xd280[160]];if(_0x3f88x40){_0x3f88x20[_0xd280[160]]=_0x3f88x40;_0x3f88x20[_0xd280[102]]=true;_0x3f88x20[_0xd280[83]]=_0x3f88x4f[_0xd280[333]];_0x3f88x20[_0xd280[192]]=_0x3f88x4f[_0xd280[331]];_0x3f88x20[_0xd280[193]]=_0x3f88x4f[_0xd280[341]];_0x3f88x20[_0xd280[194]]=_0x3f88x4f[_0xd280[348]];_0x3f88x20[_0xd280[195]]=_0x3f88x4f[_0xd280[349]];_0x3f88x20[_0xd280[196]]=_0x3f88x4f[_0xd280[350]];_0x3f88x20[_0xd280[197]]=_0x3f88x4f[_0xd280[352]];_0x3f88x20[_0xd280[198]]=_0x3f88x4f[_0xd280[346]];_0x3f88x20[_0xd280[86]]=_0x3f88x4f[_0xd280[354]];_0x3f88x20[_0xd280[317]]=getVertices(_0x3f88x40);wait[_0xd280[326]](xstart,_0x3f88x20)}else {console[_0xd280[33]](_0xd280[358]);_0x3f88x20[_0xd280[322]]()}})}else {console[_0xd280[33]](_0xd280[360]);_0x3f88x20[_0xd280[322]]()}}else {console[_0xd280[33]](_0xd280[361]);_0x3f88x20[_0xd280[322]]()}})[_0xd280[105]](function(_0x3f88x1e){console[_0xd280[33]](_0xd280[355],_0x3f88x1e);_0x3f88x20[_0xd280[322]]()})}else {console[_0xd280[33]](_0xd280[362]);_0x3f88x20[_0xd280[322]]()}})}function splitInterval(_0x3f88x34){var _0x3f88x52={};var _0x3f88x36=_0x3f88x34[_0xd280[95]](_0xd280[60]);var _0x3f88x53;_0x3f88x36[_0xd280[121]](function(_0x3f88x54,_0x3f88x2e){switch(_0x3f88x2e){case 0:if(_0x3f88x54!==_0xd280[363]){_0x3f88x53=_0x3f88x54[_0xd280[95]](_0xd280[146]);_0x3f88x52[_0xd280[364]]=moment(_0x3f88x53[0],_0xd280[365]);_0x3f88x52[_0xd280[366]]=moment(_0x3f88x53[1],_0xd280[365])}else {_0x3f88x52[_0xd280[364]]=null;_0x3f88x52[_0xd280[366]]=null};break;case 1:if(_0x3f88x54!==_0xd280[363]){_0x3f88x53=_0x3f88x54[_0xd280[95]](_0xd280[146]);_0x3f88x52[_0xd280[367]]=weekDaysCollection[_0x3f88x53[0]];_0x3f88x52[_0xd280[368]]=_0x3f88x53[1]?weekDaysCollection[_0x3f88x53[1]]:null}else {_0x3f88x52[_0xd280[367]]=null;_0x3f88x52[_0xd280[368]]=null};break;case 2:if(_0x3f88x54!==_0xd280[363]){_0x3f88x53=_0x3f88x54[_0xd280[95]](_0xd280[146]);_0x3f88x52[_0xd280[369]]=_0x3f88x53[0];_0x3f88x52[_0xd280[370]]=_0x3f88x53[1]?_0x3f88x53[1]:null}else {_0x3f88x52[_0xd280[369]]=null;_0x3f88x52[_0xd280[370]]=null};break;case 3:if(_0x3f88x54!==_0xd280[363]){_0x3f88x53=_0x3f88x54[_0xd280[95]](_0xd280[146]);_0x3f88x52[_0xd280[371]]=monthsCollection[_0x3f88x53[0]];_0x3f88x52[_0xd280[372]]=_0x3f88x53[1]?monthsCollection[_0x3f88x53[1]]:null}else {_0x3f88x52[_0xd280[371]]=null;_0x3f88x52[_0xd280[372]]=null};break;default:}});return _0x3f88x52}function isIntervalValid(_0x3f88x34){var _0x3f88x56=moment()[_0xd280[32]](_0xd280[365]);var _0x3f88x57=moment()[_0xd280[32]](_0xd280[373]);var _0x3f88x58=moment()[_0xd280[32]](_0xd280[374]);var _0x3f88x59=moment()[_0xd280[32]](_0xd280[375]);console[_0xd280[33]](_0xd280[376],_0x3f88x56,_0xd280[377],_0x3f88x57,_0xd280[378],_0x3f88x58,_0xd280[379],_0x3f88x59);console[_0xd280[33]](_0xd280[380]);console[_0xd280[33]](_0xd280[381],moment(_0x3f88x34[_0xd280[364]],_0xd280[365])[_0xd280[32]](_0xd280[365]),_0xd280[382],moment(_0x3f88x34[_0xd280[366]],_0xd280[365])[_0xd280[32]](_0xd280[365]));console[_0xd280[33]](_0xd280[383],_0x3f88x34[_0xd280[367]],_0xd280[382],_0x3f88x34[_0xd280[368]]);console[_0xd280[33]](_0xd280[384],_0x3f88x34[_0xd280[369]],_0xd280[382],_0x3f88x34[_0xd280[370]]);console[_0xd280[33]](_0xd280[385],_0x3f88x34[_0xd280[371]],_0xd280[382],_0x3f88x34[_0xd280[372]]);var _0x3f88x5a,_0x3f88x5b,_0x3f88x5c,_0x3f88x5d;var _0x3f88x5e=[1,2,3,4,5,6,7,8,9,10,11,12];var _0x3f88x5f=[1,2,3,4,5,6,7];var _0x3f88x60=[];for(var _0x3f88x61=1;_0x3f88x61<=31;_0x3f88x61++){_0x3f88x60[_0xd280[386]](_0x3f88x61)};_0x3f88x5a=(_0x3f88x34[_0xd280[364]]&&_0x3f88x34[_0xd280[366]])?moment(_0x3f88x56,_0xd280[365])[_0xd280[387]](moment(_0x3f88x34[_0xd280[364]],_0xd280[365]),moment(_0x3f88x34[_0xd280[366]],_0xd280[365])):true;if(_0x3f88x34[_0xd280[367]]){if(_0x3f88x34[_0xd280[368]]){var _0x3f88x62=_[_0xd280[212]](_0x3f88x5f,function(_0x3f88x2d){return (_0x3f88x2d>=_0x3f88x34[_0xd280[367]])&&(_0x3f88x2d<=_0x3f88x34[_0xd280[368]])});console[_0xd280[33]](_0xd280[388],_0x3f88x62);_0x3f88x5b=(_0x3f88x62[_0xd280[389]](parseInt(_0x3f88x57))!== -1)?true:false}else {_0x3f88x5b=(parseInt(_0x3f88x57)===_0x3f88x34[_0xd280[367]])?true:false}}else {_0x3f88x5b=true};if(_0x3f88x34[_0xd280[369]]){if(_0x3f88x34[_0xd280[370]]){var _0x3f88x63=_[_0xd280[212]](_0x3f88x60,function(_0x3f88x2d){return (_0x3f88x2d>=_0x3f88x34[_0xd280[369]])&&(_0x3f88x2d<=_0x3f88x34[_0xd280[370]])});console[_0xd280[33]](_0xd280[390],_0x3f88x63);_0x3f88x5c=(_0x3f88x63[_0xd280[389]](parseInt(_0x3f88x58))!== -1)?true:false}else {_0x3f88x5c=(parseInt(_0x3f88x58)===_0x3f88x34[_0xd280[369]])?true:false}}else {_0x3f88x5c=true};if(_0x3f88x34[_0xd280[371]]){if(_0x3f88x34[_0xd280[372]]){var _0x3f88x64=_[_0xd280[212]](_0x3f88x5e,function(_0x3f88x2d){return (_0x3f88x2d>=_0x3f88x34[_0xd280[371]])&&(_0x3f88x2d<=_0x3f88x34[_0xd280[372]])});console[_0xd280[33]](_0xd280[391],_0x3f88x64);_0x3f88x5d=(_0x3f88x64[_0xd280[389]](parseInt(_0x3f88x59))!== -1)?true:false}else {_0x3f88x5d=(parseInt(_0x3f88x59)===_0x3f88x34[_0xd280[371]])?true:false}}else {_0x3f88x5d=true};console[_0xd280[33]](_0xd280[392],_0x3f88x5a,_0xd280[393],_0x3f88x5b,_0xd280[394],_0x3f88x5c,_0xd280[395],_0x3f88x5d);return _0x3f88x5a&&_0x3f88x5b&&_0x3f88x5c&&_0x3f88x5d}function setVariable(_0x3f88x20,_0x3f88x66,_0x3f88x43,_0x3f88x22){console[_0xd280[33]](_0xd280[396]);console[_0xd280[33]](_0xd280[397]+_0x3f88x66+_0xd280[398],_0x3f88x43);_0x3f88x20[_0xd280[39]](util[_0xd280[32]](_0xd280[203],_0x3f88x66,_0x3f88x43),function(_0x3f88x1e,_0x3f88x23){if(_0x3f88x22){_0x3f88x22(_0x3f88x1e,_0x3f88x23)}})}function getVariableName(_0x3f88x68){if(!collections[_0xd280[329]]){getVariables(false)};var _0x3f88x49={name:_0xd280[399]};if(_0x3f88x68){_0x3f88x49=_[_0xd280[51]](collections[_0xd280[329]],{id:parseInt(_0x3f88x68)})};return _0x3f88x49[_0xd280[54]]}function setVariablesMatrix(_0x3f88x20,_0x3f88x21,_0x3f88x22,_0x3f88x3e){var _0x3f88x2c=getVariableName(_0x3f88x21[_0xd280[115]]);_[_0xd280[121]](_0x3f88x3e,function(_0x3f88x6a,_0x3f88x2e){_[_0xd280[401]](_0x3f88x6a,function(_0x3f88x43,_0x3f88x44){wait[_0xd280[120]](setVariable,_0x3f88x20,_0x3f88x2c+_0xd280[117]+_0x3f88x2e+_0xd280[400]+_0x3f88x44+_0xd280[118],_0xd280[119]+_0x3f88x43+_0xd280[119])})})}function getVariable(_0x3f88x20,_0x3f88x66,_0x3f88x22){_0x3f88x20[_0xd280[405]](_0x3f88x66,function(_0x3f88x1e,_0x3f88x23){if(_0x3f88x23[_0xd280[188]]===200&&_0x3f88x23[_0xd280[135]]!==_0xd280[143]){_0x3f88x23[_0xd280[140]]=_0x3f88x23[_0xd280[135]][_0xd280[315]](_0x3f88x23[_0xd280[135]][_0xd280[403]](_0xd280[402])+1,_0x3f88x23[_0xd280[135]][_0xd280[403]](_0xd280[404]))}else {_0x3f88x23[_0xd280[140]]=_0xd280[73]};_0x3f88x22(null,_0x3f88x23)})}function getFilePath(_0x3f88x68){if(!collections[_0xd280[406]]){getSounds(false)};return Settings[_0xd280[240]]()[_0xd280[78]](function(_0x3f88x2b){if(_0x3f88x68!==_0xd280[139]){if(_0x3f88x2b){var _0x3f88x6d=_[_0xd280[51]](collections[_0xd280[406]],{id:parseInt(_0x3f88x68)});return util[_0xd280[32]](_0xd280[407],_0x3f88x2b[_0xd280[408]]||_0xd280[409],_0x3f88x6d[_0xd280[410]])};return _0xd280[73]}else {return _0xd280[73]}})[_0xd280[105]](function(_0x3f88x1e){console[_0xd280[33]](_0x3f88x1e)})}function getUsers(_0x3f88x6f){return User[_0xd280[412]]()[_0xd280[78]](function(_0x3f88x2b){collections[_0xd280[49]]=_[_0xd280[411]](_0x3f88x2b);if(_0x3f88x6f){synchUpdates(_0xd280[19],_0xd280[49],_0xd280[211])}})[_0xd280[105]](function(_0x3f88x1e){console[_0xd280[33]](_0x3f88x1e)})}function getQueues(_0x3f88x6f){return VoiceQueue[_0xd280[412]]()[_0xd280[78]](function(_0x3f88x2b){collections[_0xd280[69]]=_[_0xd280[411]](_0x3f88x2b);if(_0x3f88x6f){synchUpdates(_0xd280[20],_0xd280[69],_0xd280[54])}})[_0xd280[105]](function(_0x3f88x1e){console[_0xd280[33]](_0x3f88x1e)})}function getVariables(_0x3f88x6f){return Variable[_0xd280[412]]()[_0xd280[78]](function(_0x3f88x2b){collections[_0xd280[329]]=_[_0xd280[411]](_0x3f88x2b);if(_0x3f88x6f){synchUpdates(_0xd280[16],_0xd280[329],_0xd280[211])}})[_0xd280[105]](function(_0x3f88x1e){console[_0xd280[33]](_0x3f88x1e)})}function getDbConnections(_0x3f88x6f){return SquareOdbc[_0xd280[412]]()[_0xd280[78]](function(_0x3f88x2b){collections[_0xd280[267]]=_[_0xd280[411]](_0x3f88x2b);if(_0x3f88x6f){synchUpdates(_0xd280[17],_0xd280[267],_0xd280[211])}})[_0xd280[105]](function(_0x3f88x1e){console[_0xd280[33]](_0x3f88x1e)})}function getIntervals(_0x3f88x6f){return Interval[_0xd280[412]]()[_0xd280[78]](function(_0x3f88x2b){collections[_0xd280[208]]=_[_0xd280[411]](_0x3f88x2b);if(_0x3f88x6f){synchUpdates(_0xd280[21],_0xd280[208],_0xd280[211])}})[_0xd280[105]](function(_0x3f88x1e){console[_0xd280[33]](_0x3f88x1e)})}function getProjects(_0x3f88x6f){return SquareProject[_0xd280[412]]()[_0xd280[78]](function(_0x3f88x2b){collections[_0xd280[253]]=_[_0xd280[411]](_0x3f88x2b);if(_0x3f88x6f){synchUpdates(_0xd280[14],_0xd280[253],_0xd280[211])}})[_0xd280[105]](function(_0x3f88x1e){console[_0xd280[33]](_0x3f88x1e)})}function getSounds(_0x3f88x6f){return Sound[_0xd280[412]]()[_0xd280[78]](function(_0x3f88x2b){collections[_0xd280[406]]=_[_0xd280[411]](_0x3f88x2b);if(_0x3f88x6f){synchUpdates(_0xd280[22],_0xd280[406],_0xd280[211])}})[_0xd280[105]](function(_0x3f88x1e){console[_0xd280[33]](_0x3f88x1e)})}function synchUpdates(_0x3f88x77,_0x3f88x78,_0x3f88x44){process[_0xd280[39]]({message:_0xd280[413],model:_0x3f88x77,collection:_0x3f88x78,key:_0x3f88x44});process[_0xd280[28]](_0xd280[104],function(_0x3f88x3e){switch(_0x3f88x3e[_0xd280[104]]){case _0xd280[416]:updateCollection(_0x3f88x3e[_0xd280[414]],_0x3f88x3e[_0xd280[285]],_0x3f88x3e[_0xd280[415]]);break;case _0xd280[418]:_[_0xd280[417]](collections[_0x3f88x3e[_0xd280[414]]],_0x3f88x3e[_0xd280[285]]);break;default:}})}function updateCollection(_0x3f88x78,_0x3f88x7a,_0x3f88x7b){var _0x3f88x7c=_[_0xd280[51]](collections[_0x3f88x78],_0x3f88x7a);if(_0x3f88x7c){_[_0xd280[419]](_0x3f88x7c,_0x3f88x7b)}else {collections[_0x3f88x78][_0xd280[420]](_0x3f88x7b)}}function getPort(){return function(){return Settings[_0xd280[240]]()[_0xd280[78]](function(_0x3f88x2b){if(_0x3f88x2b){return _0x3f88x2b[_0xd280[421]]}})[_0xd280[105]](function(_0x3f88x1e){console[_0xd280[33]](_0x3f88x1e)})}}Promise[_0xd280[425]]([])[_0xd280[78]](getPort())[_0xd280[78]](function(_0x3f88x7e){agi[_0xd280[424]](main)[_0xd280[423]](_0x3f88x7e||4573);getUsers(true);getQueues(true);getVariables(true);getIntervals(true);getProjects(true);getSounds(true);getDbConnections(true)})[_0xd280[105]](function(_0x3f88x1e){console[_0xd280[27]](_0xd280[422],_0x3f88x1e)}) \ No newline at end of file +var _0xcd0d=["\x75\x73\x65\x20\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x61\x67\x69","\x75\x74\x69\x6C","\x6D\x6F\x6D\x65\x6E\x74","\x78\x6D\x6C\x32\x6A\x73","\x77\x61\x69\x74\x2E\x66\x6F\x72","\x73\x69\x6D\x70\x6C\x65\x2D\x72\x61\x6E\x64\x6F\x6D","\x70\x61\x74\x68","\x2E\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x73\x68\x65\x6C\x6C\x6A\x73","\x62\x6C\x75\x65\x62\x69\x72\x64","\x72\x65\x71\x75\x65\x73\x74\x2D\x70\x72\x6F\x6D\x69\x73\x65","\x6F\x64\x62\x63","\x53\x71\x75\x61\x72\x65\x50\x72\x6F\x6A\x65\x63\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x56\x61\x72\x69\x61\x62\x6C\x65","\x53\x71\x75\x61\x72\x65\x4F\x64\x62\x63","\x53\x65\x74\x74\x69\x6E\x67\x73","\x55\x73\x65\x72","\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x49\x6E\x74\x65\x72\x76\x61\x6C","\x53\x6F\x75\x6E\x64","\x53\x71\x75\x61\x72\x65\x52\x65\x63\x6F\x72\x64\x69\x6E\x67","\x53\x6D\x73\x41\x63\x63\x6F\x75\x6E\x74","\x53\x6D\x73\x4D\x65\x73\x73\x61\x67\x65","\x53\x6D\x73\x52\x6F\x6F\x6D","\x65\x72\x72\x6F\x72","\x6F\x6E","\x63\x6C\x6F\x73\x65","\x41\x47\x49\x20\x53\x45\x52\x56\x45\x52\x20\x45\x58\x49\x54\x45\x44\x20\x57\x49\x54\x48\x20\x43\x4F\x44\x45\x20\x25\x73\x2C\x20\x50\x52\x4F\x43\x45\x53\x53\x20\x49\x44\x3A\x20\x25\x73\x20","\x70\x69\x64","\x66\x6F\x72\x6D\x61\x74","\x6C\x6F\x67","\x41\x47\x49\x20\x53\x45\x52\x56\x45\x52\x20\x53\x54\x41\x52\x54\x49\x4E\x47\x2C\x20\x50\x52\x4F\x43\x45\x53\x53\x20\x49\x44\x3A\x20\x25\x73\x20","\x61\x6E\x73\x77\x65\x72","\x2D\x2D\x41\x4E\x53\x57\x45\x52\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x41\x6E\x73\x77\x65\x72\x69\x6E\x67\x20\x74\x68\x65\x20\x63\x61\x6C\x6C\x2E\x2E\x2E","\x41\x4E\x53\x57\x45\x52\x0A","\x73\x65\x6E\x64","\x63\x75\x73\x74\x6F\x6D\x5F\x61\x70\x70","\x2D\x2D\x43\x55\x53\x54\x4F\x4D\x20\x41\x50\x50\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x45\x78\x65\x63\x75\x74\x69\x6E\x67\x20\x63\x75\x73\x74\x6F\x6D\x20\x61\x70\x70\x20\x22","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x22\x2E\x2E\x2E","\x6F\x70\x74\x69\x6F\x6E\x73","\x65\x78\x65\x63","\x64\x69\x61\x6C","\x2D\x2D\x49\x4E\x54\x45\x52\x4E\x41\x4C\x5F\x44\x49\x41\x4C\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x75\x73\x65\x72\x73","\x73\x69\x70\x5F\x69\x64","\x66\x69\x6E\x64","\x43\x61\x6C\x6C\x69\x6E\x67\x20","\x53\x49\x50\x2F\x25\x73","\x6E\x61\x6D\x65","\x2E\x2E\x2E","\x74\x69\x6D\x65\x6F\x75\x74","\x6F\x70\x74\x73","\x75\x72\x6C","\x44\x49\x41\x4C","\x2C","\x6A\x6F\x69\x6E","\x65\x78\x74\x5F\x64\x69\x61\x6C","\x2D\x2D\x45\x58\x54\x45\x52\x4E\x41\x4C\x5F\x44\x49\x41\x4C\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x74\x72\x75\x6E\x6B\x5F\x6E\x61\x6D\x65","\x53\x49\x50\x2F\x25\x73\x2F\x25\x73","\x70\x68\x6F\x6E\x65","\x71\x75\x65\x75\x65","\x2D\x2D\x51\x55\x45\x55\x45\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x71\x75\x65\x75\x65\x73","\x71\x75\x65\x75\x65\x5F\x69\x64","\x6D\x61\x63\x72\x6F","\x67\x6F\x73\x75\x62","","\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x4A\x6F\x69\x6E\x69\x6E\x67\x20","\x20\x71\x75\x65\x75\x65\x2E\x2E\x2E","\x51\x55\x45\x55\x45","\x74\x68\x65\x6E","\x66\x69\x6C\x65\x5F\x69\x64","\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C","\x2D\x2D\x56\x4F\x49\x43\x45\x4D\x41\x49\x4C\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x6D\x61\x69\x6C\x62\x6F\x78","\x75\x6E\x69\x71\x75\x65\x69\x64","\x6C\x61\x62\x65\x6C","\x74\x61\x67","\x70\x72\x6F\x6A\x65\x63\x74\x5F\x6E\x61\x6D\x65","\x64\x65\x74\x61\x69\x6C","\x53\x74\x61\x72\x74\x69\x6E\x67\x20\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x20\x72\x65\x63\x6F\x72\x64\x69\x6E\x67\x2E\x2E\x2E","\x56\x4F\x49\x43\x45\x4D\x41\x49\x4C","\x63\x61\x6C\x6C\x62\x61\x63\x6B","\x2D\x2D\x43\x41\x4C\x4C\x42\x41\x43\x4B\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x50\x4F\x53\x54","\x68\x74\x74\x70\x3A\x2F\x2F\x6C\x6F\x63\x61\x6C\x68\x6F\x73\x74\x2F\x61\x70\x69\x2F\x72\x65\x73\x74\x2F\x63\x6F\x6E\x74\x61\x63\x74\x2F\x69\x6E\x73\x65\x72\x74","\x6C\x69\x73\x74\x5F\x69\x64","\x73\x70\x6C\x69\x74","\x74\x72\x69\x6D","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\x64\x65\x6C\x61\x79","\x6D\x69\x6E\x75\x74\x65\x73","\x61\x64\x64","\x54\x44\x20\x66\x69\x6E\x61\x6C\x6C\x79","\x66\x69\x6E\x61\x6C\x6C\x79","\x54\x44\x20\x70\x72\x6F\x62\x6C\x65\x6D\x20\x77\x69\x74\x68\x20\x72\x65\x71\x75\x65\x73\x74\x3A","\x6D\x65\x73\x73\x61\x67\x65","\x63\x61\x74\x63\x68","\x73\x74\x61\x74\x75\x73","\x72\x65\x73\x70\x6F\x6E\x73\x65","\x65\x72\x72\x6F\x72\x73","\x52\x4D\x49","\x6D\x61\x74\x68","\x2D\x2D\x4D\x41\x54\x48\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x43\x61\x6C\x63\x75\x6C\x61\x74\x69\x6E\x67\x20\x65\x78\x70\x72\x65\x73\x73\x69\x6F\x6E\x2E\x2E\x2E","\x6F\x70\x65\x72\x61\x74\x69\x6F\x6E","\x53\x61\x76\x69\x6E\x67\x20\x72\x65\x73\x75\x6C\x74\x20\x69\x6E\x20\x76\x61\x72\x69\x61\x62\x6C\x65\x2E\x2E\x2E","\x76\x61\x72\x69\x61\x62\x6C\x65\x5F\x69\x64","\x69\x73\x41\x72\x72\x61\x79","\x5B","\x5D","\x22","\x66\x6F\x72","\x66\x6F\x72\x45\x61\x63\x68","\x45\x72\x72\x6F\x72\x20\x65\x76\x61\x6C\x75\x61\x74\x69\x6E\x67\x20\x65\x78\x70\x72\x65\x73\x73\x69\x6F\x6E","\x70\x6C\x61\x79\x62\x61\x63\x6B","\x2D\x2D\x50\x4C\x41\x59\x42\x41\x43\x4B\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x45\x78\x65\x63\x75\x74\x69\x6E\x67\x20\x70\x6C\x61\x79\x62\x61\x63\x6B\x2E\x2E\x2E","\x50\x4C\x41\x59\x42\x41\x43\x4B","\x6D\x65\x6E\x75","\x2D\x2D\x4D\x45\x4E\x55\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x54\x68\x65\x72\x65\x20\x61\x72\x65\x20","\x72\x65\x74\x72\x79","\x20\x72\x65\x74\x72\x69\x65\x73","\x41\x6E\x6E\x6F\x75\x6E\x63\x69\x6E\x67\x20\x61\x6E\x64\x20\x77\x61\x69\x74\x69\x6E\x67\x20\x66\x6F\x72\x20\x75\x73\x65\x72\x20\x65\x6E\x74\x72\x79\x2E\x2E\x2E","\x47\x45\x54\x20\x44\x41\x54\x41\x20\x25\x73\x20\x25\x73\x20\x25\x73\x0A","\x64\x69\x67\x69\x74","\x72\x65\x73\x75\x6C\x74","\x28\x74\x69\x6D\x65\x6F\x75\x74\x29","\x72\x65\x70\x6C\x61\x63\x65","\x6C\x65\x6E\x67\x74\x68","\x2D\x31","\x64\x61\x74\x61","\x53\x61\x76\x69\x6E\x67\x20\x75\x73\x65\x72\x20\x65\x6E\x74\x72\x79\x20\x69\x6E\x20\x61\x20\x76\x61\x72\x69\x61\x62\x6C\x65\x2E\x2E\x2E","\x4D\x65\x6E\x75\x20\x74\x69\x6D\x65\x6F\x75\x74\x21","\x30","\x74","\x52\x75\x6E\x20\x6F\x75\x74\x20\x6F\x66\x20\x72\x65\x74\x72\x69\x65\x73\x21","\x2D","\x73\x61\x79\x6E\x75\x6D\x62\x65\x72","\x2D\x2D\x53\x41\x59\x4E\x55\x4D\x42\x45\x52\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x53\x61\x79\x69\x6E\x67\x20\x6E\x75\x6D\x62\x65\x72\x2E\x2E\x2E","\x53\x41\x59\x20\x4E\x55\x4D\x42\x45\x52\x20\x25\x73\x20\x22\x25\x73\x22\x0A","\x6E\x75\x6D\x62\x65\x72","\x65\x73\x63\x61\x70\x65\x5F\x64\x69\x67\x69\x74\x73","\x73\x61\x79\x70\x68\x6F\x6E\x65\x74\x69\x63","\x2D\x2D\x53\x41\x59\x50\x48\x4F\x4E\x45\x54\x49\x43\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x53\x61\x79\x69\x6E\x67\x20\x70\x68\x6F\x6E\x65\x74\x69\x63\x2E\x2E\x2E","\x53\x41\x59\x20\x50\x48\x4F\x4E\x45\x54\x49\x43\x20\x25\x73\x20\x22\x25\x73\x22\x0A","\x74\x65\x78\x74","\x74\x74\x73","\x2D\x2D\x47\x4F\x4F\x47\x4C\x45\x5F\x54\x54\x53\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x61\x67\x69\x5F\x73\x63\x72\x69\x70\x74\x73","\x67\x6F\x6F\x67\x6C\x65\x74\x74\x73\x2E\x61\x67\x69","\x67\x6F\x6F\x67\x6C\x65\x5F\x74\x74\x73\x5F\x6C\x61\x6E\x67\x75\x61\x67\x65","\x43\x61\x6C\x6C\x69\x6E\x67\x20\x47\x6F\x6F\x67\x6C\x65\x20\x54\x54\x53\x20\x41\x50\x49\x2E\x2E\x2E","\x41\x47\x49","\x69\x73\x70\x65\x65\x63\x68\x74\x74\x73","\x2D\x2D\x49\x53\x50\x45\x45\x43\x48\x5F\x54\x54\x53\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x2F\x76\x61\x72\x2F\x77\x77\x77\x2F\x68\x74\x6D\x6C\x2F\x61\x67\x69\x73\x71\x75\x61\x72\x65\x2F\x61\x67\x69\x73\x63\x72\x69\x70\x74\x73\x2F\x69\x73\x70\x65\x65\x63\x68\x2D\x74\x74\x73\x2E\x61\x67\x69","\x69\x73\x70\x65\x65\x63\x68\x5F\x74\x74\x73\x5F\x6C\x61\x6E\x67\x75\x61\x67\x65","\x69\x6E\x74\x4B\x65\x79","\x73\x70\x65\x65\x64","\x6B\x65\x79","\x43\x61\x6C\x6C\x69\x6E\x67\x20\x69\x53\x70\x65\x65\x63\x68\x20\x54\x54\x53\x20\x41\x50\x49\x2E\x2E\x2E","\x67\x65\x74\x64\x69\x67\x69\x74\x73","\x2D\x2D\x47\x45\x54\x44\x49\x47\x49\x54\x53\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x6D\x61\x78\x64\x69\x67\x69\x74","\x6D\x69\x6E\x64\x69\x67\x69\x74","\x54\x68\x65\x72\x65\x20\x69\x73\x20\x61\x20\x72\x65\x73\x75\x6C\x74\x2C\x20\x69\x73\x20\x6F\x76\x65\x72\x20\x74\x68\x65\x20\x6D\x69\x6E\x69\x6D\x75\x6D\x20\x6C\x65\x6E\x67\x74\x68\x20\x61\x6E\x64\x20\x6E\x6F\x74\x20\x64\x75\x65\x20\x74\x6F\x20\x61\x6E\x20\x68\x61\x6E\x67\x75\x70\x21","\x78","\x43\x68\x61\x6E\x6E\x65\x6C\x20\x68\x61\x6E\x67\x75\x70\x21","\x4E\x6F\x20\x65\x6E\x74\x72\x79\x20\x6F\x72\x20\x6E\x6F\x74\x20\x6C\x6F\x6E\x67\x20\x65\x6E\x6F\x75\x67\x68\x21","\x69","\x72\x65\x63\x6F\x72\x64","\x2D\x2D\x52\x45\x43\x4F\x52\x44\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x53\x74\x61\x72\x74\x69\x6E\x67\x20\x63\x61\x6C\x6C\x20\x72\x65\x63\x6F\x72\x64\x69\x6E\x67\x2E\x2E\x2E","\x52\x45\x43\x4F\x52\x44\x20\x46\x49\x4C\x45\x20\x25\x73\x20\x77\x61\x76\x20\x22\x25\x73\x22\x20\x25\x73\x20\x25\x73\x20\x25\x73\x20\x25\x73\x0A","\x73\x65\x72\x76\x65\x72\x2F\x66\x69\x6C\x65\x73\x2F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67\x73","\x63\x6F\x64\x65","\x45\x72\x72\x6F\x72\x20\x73\x61\x76\x69\x6E\x67\x20","\x3A","\x20\x62\x6C\x6F\x63\x6B\x20\x6C\x6F\x67","\x63\x61\x6C\x6C\x65\x72\x69\x64","\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x61\x6D\x65","\x63\x6F\x6E\x74\x65\x78\x74","\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x70\x72\x69\x6F\x72\x69\x74\x79","\x61\x63\x63\x6F\x75\x6E\x74\x63\x6F\x64\x65","\x64\x6E\x69\x64","\x66\x69\x6C\x65","\x2E\x77\x61\x76","\x63\x72\x65\x61\x74\x65","\x53\x61\x76\x69\x6E\x67\x20\x72\x65\x63\x6F\x72\x64\x69\x6E\x67\x20\x66\x69\x6C\x65\x6E\x61\x6D\x65\x20\x69\x6E\x20\x52\x45\x43\x4F\x52\x44\x49\x4E\x47\x5F\x53\x41\x56\x45\x4E\x41\x4D\x45\x20\x76\x61\x72\x69\x61\x62\x6C\x65\x2E\x2E\x2E","\x53\x45\x54\x20\x56\x41\x52\x49\x41\x42\x4C\x45\x20\x25\x73\x20\x25\x73\x0A","\x52\x45\x43\x4F\x52\x44\x49\x4E\x47\x5F\x53\x41\x56\x45\x4E\x41\x4D\x45","\x67\x6F\x74\x6F\x69\x66\x74\x69\x6D\x65","\x2D\x2D\x47\x4F\x54\x4F\x49\x46\x54\x49\x4D\x45\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x66\x61\x6C\x73\x65","\x69\x6E\x74\x65\x72\x76\x61\x6C\x73","\x69\x6E\x74\x65\x72\x76\x61\x6C\x5F\x69\x64","\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64","\x69\x64","\x66\x69\x6C\x74\x65\x72","\x49\x73\x20\x61\x20\x67\x72\x6F\x75\x70\x20\x6F\x66\x20\x69\x6E\x74\x65\x72\x76\x61\x6C\x73\x21","\x20\x69\x6E\x74\x65\x72\x76\x61\x6C\x73\x21","\x43\x68\x65\x63\x6B\x69\x6E\x67\x20\x69\x66\x20\x61\x74\x20\x6C\x65\x61\x73\x74\x20\x6F\x6E\x65\x20\x69\x6E\x74\x65\x72\x76\x61\x6C\x20\x69\x73\x20\x76\x61\x6C\x69\x64\x2E\x2E\x2E","\x69\x6E\x74\x65\x72\x76\x61\x6C","\x49\x6E\x74\x65\x72\x76\x61\x6C\x20","\x20\x69\x73\x20\x76\x61\x6C\x69\x64\x21","\x74\x72\x75\x65","\x54\x68\x65\x72\x65\x20\x61\x72\x65\x20\x6E\x6F\x20\x73\x75\x62\x20\x69\x6E\x74\x65\x72\x76\x61\x6C\x73\x2C\x20\x73\x6F\x20\x69\x74\x20\x77\x69\x6C\x6C\x20\x62\x65\x20\x61\x6C\x77\x61\x79\x73\x20\x74\x72\x75\x65\x21","\x49\x73\x20\x61\x20\x73\x69\x6E\x67\x6C\x65\x20\x69\x6E\x74\x65\x72\x76\x61\x6C\x21","\x54\x68\x65\x20\x69\x6E\x74\x65\x72\x76\x61\x6C\x20\x69\x73\x20\x76\x61\x6C\x69\x64\x21","\x54\x68\x65\x20\x66\x69\x6E\x61\x6C\x20\x72\x65\x73\x75\x6C\x74\x20\x66\x6F\x72\x20\x74\x68\x65\x20\x69\x6E\x74\x65\x72\x76\x61\x6C\x73\x20\x69\x73\x20\x22","\x22\x21","\x76\x73\x77\x69\x74\x63\x68","\x2D\x2D\x56\x41\x52\x49\x41\x42\x4C\x45\x5F\x53\x57\x49\x54\x43\x48\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x47\x65\x74\x74\x69\x6E\x67\x20\x74\x68\x65\x20\x76\x61\x72\x69\x61\x62\x6C\x65\x20\x76\x61\x6C\x75\x65\x20\x61\x6E\x64\x20\x73\x65\x61\x72\x63\x68\x69\x6E\x67\x20\x74\x68\x65\x20\x72\x69\x67\x68\x74\x20\x65\x78\x69\x74\x2E\x2E\x2E","\x67\x6F\x61\x6C","\x67\x6F\x61\x6C\x6E\x61\x6D\x65","\x31","\x73\x6D\x73","\x53\x6D\x73\x20\x45\x72\x72\x6F\x72\x20","\x53\x6D\x73\x52\x6F\x6F\x6D\x49\x64","\x73\x6F\x75\x72\x63\x65","\x43\x53\x51\x55\x41\x52\x45","\x74\x6F","\x61\x63\x63\x6F\x75\x6E\x74\x5F\x69\x64","\x4F\x50\x45\x4E","\x43\x4C\x4F\x53\x45\x44","\x66\x69\x6E\x64\x4F\x6E\x65","\x66\x69\x6E\x64\x42\x79\x49\x64","\x73\x79\x73\x74\x65\x6D","\x2D\x2D\x53\x59\x53\x54\x45\x4D\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x63\x6F\x6D\x6D\x61\x6E\x64","\x45\x78\x65\x63\x75\x74\x69\x6E\x67\x20\x74\x68\x65\x20\x73\x79\x73\x74\x65\x6D\x20\x63\x6F\x6D\x6D\x61\x6E\x64\x2E\x2E\x2E","\x50\x72\x6F\x67\x72\x61\x6D\x20\x6F\x75\x74\x70\x75\x74\x3A","\x53\x61\x76\x69\x6E\x67\x20\x74\x68\x65\x20\x6F\x75\x74\x70\x75\x74\x20\x69\x6E\x20\x61\x20\x76\x61\x72\x69\x61\x62\x6C\x65\x2E\x2E\x2E","\x2D\x2D\x41\x47\x49\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x45\x78\x65\x63\x75\x74\x69\x6E\x67\x20\x74\x68\x65\x20\x41\x47\x49\x20\x63\x6F\x6D\x6D\x61\x6E\x64\x2E\x2E\x2E","\x61\x72\x67\x73","\x73\x75\x62\x70\x72\x6F\x6A\x65\x63\x74","\x2D\x2D\x53\x55\x42\x50\x52\x4F\x4A\x45\x43\x54\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x70\x72\x6F\x6A\x65\x63\x74\x73","\x70\x72\x6F\x6A\x65\x63\x74\x5F\x69\x64","\x4D\x6F\x76\x69\x6E\x67\x20\x74\x6F\x20\x70\x72\x6F\x6A\x65\x63\x74\x20\x22\x22","\x61\x67\x69\x3A\x2F\x2F\x31\x32\x37\x2E\x30\x2E\x30\x2E\x31\x2F\x73\x71\x75\x61\x72\x65\x2C\x25\x73","\x69\x73\x70\x65\x65\x63\x68\x61\x73\x72","\x2D\x2D\x49\x53\x50\x45\x45\x43\x48\x5F\x41\x53\x52\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x69\x73\x70\x65\x65\x63\x68\x2D\x61\x73\x72\x2E\x61\x67\x69","\x69\x73\x70\x65\x65\x63\x68\x5F\x61\x73\x72\x5F\x6C\x61\x6E\x67\x75\x61\x67\x65","\x6D\x6F\x64\x65\x6C","\x62\x65\x65\x70","\x42\x45\x45\x50","\x43\x61\x6C\x6C\x69\x6E\x67\x20\x49\x73\x70\x65\x65\x63\x68\x20\x41\x53\x52\x20\x41\x50\x49\x2E\x2E\x2E","\x64\x61\x74\x61\x62\x61\x73\x65","\x2D\x2D\x44\x41\x54\x41\x42\x41\x53\x45\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x64\x62\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x73","\x6F\x64\x62\x63\x5F\x69\x64","\x54\x72\x79\x69\x6E\x67\x20\x74\x6F\x20\x67\x65\x74\x20\x4F\x44\x42\x43\x20\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x2E\x2E\x2E","\x71\x75\x65\x72\x79","\x64\x73\x6E","\x6F\x70\x65\x6E\x53\x79\x6E\x63","\x71\x75\x65\x72\x79\x53\x79\x6E\x63","\x63\x6C\x6F\x73\x65\x53\x79\x6E\x63","\x45\x52\x52\x4F\x52","\x4D\x45\x53\x53\x41\x47\x45","\x67\x6F\x74\x6F\x63","\x2D\x2D\x47\x4F\x54\x4F\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x47\x6F\x69\x6E\x67\x20\x74\x6F\x20\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x20","\x20\x2E\x2E\x2E","\x4C\x6F\x63\x61\x6C\x2F\x25\x73\x40\x25\x73","\x67\x6F\x74\x6F\x69\x66","\x2D\x2D\x47\x4F\x54\x4F\x49\x46\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x45\x76\x61\x6C\x75\x61\x74\x69\x6E\x67\x20\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x2E\x2E\x2E","\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E","\x45\x72\x72\x6F\x72\x20\x65\x76\x61\x6C\x75\x61\x74\x69\x6E\x67\x20\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x2C\x20\x67\x6F\x69\x6E\x67\x20\x69\x6E\x74\x6F\x20\x74\x68\x65\x20\x66\x61\x6C\x73\x65\x20\x62\x72\x61\x6E\x63\x68\x2E\x2E\x2E","\x54\x68\x65\x20\x72\x65\x73\x75\x6C\x74\x20\x69\x73\x20","\x68\x61\x6E\x67\x75\x70","\x2D\x2D\x48\x41\x4E\x47\x55\x50\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x48\x61\x6E\x67\x69\x6E\x20\x75\x70\x20\x74\x68\x65\x20\x63\x61\x6C\x6C\x2E\x2E\x2E","\x6E\x6F\x6F\x70","\x2D\x2D\x4E\x4F\x4F\x50\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x6F\x75\x74\x70\x75\x74","\x4E\x4F\x4F\x50\x20\x76\x61\x6C\x75\x65\x20\x69\x73\x20","\x4E\x4F\x4F\x50","\x73\x61\x79\x64\x69\x67\x69\x74\x73","\x2D\x2D\x53\x41\x59\x44\x49\x47\x49\x54\x53\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x53\x61\x79\x69\x6E\x67\x20\x64\x69\x67\x69\x74\x73\x2E\x2E\x2E","\x53\x41\x59\x20\x44\x49\x47\x49\x54\x53\x20\x25\x73\x20\x22\x25\x73\x22\x0A","\x64\x69\x67\x69\x74\x73","\x73\x65\x74","\x2D\x2D\x53\x45\x54\x20\x42\x4C\x4F\x43\x4B\x2D\x2D","\x53\x61\x76\x69\x6E\x67\x20\x76\x61\x6C\x75\x65\x20\x69\x6E\x20\x61\x20\x76\x61\x72\x69\x61\x62\x6C\x65\x2E\x2E\x2E","\x76\x61\x72\x69\x61\x62\x6C\x65\x5F\x76\x61\x6C\x75\x65","\x6D\x78\x63\x65\x6C\x6C","\x24","\x66\x6F\x72\x49\x6E","\x72\x65\x64\x75\x63\x65","\x65\x64\x67\x65","\x76\x61\x6C\x75\x65","\x24\x2E\x74\x61\x72\x67\x65\x74","\x6D\x61\x74\x63\x68","\x72\x65\x73","\x76\x61\x72\x69\x61\x62\x6C\x65","\x73\x75\x62\x73\x74\x72\x69\x6E\x67","\x72\x65\x70\x6C\x61\x63\x65\x64","\x76\x65\x72\x74\x69\x63\x65\x73","\x73\x74\x61\x72\x74","\x69\x73\x46\x75\x6E\x63\x74\x69\x6F\x6E","\x4E\x6F\x20\x74\x61\x72\x67\x65\x74\x20\x66\x6F\x75\x6E\x64\x2C\x20\x68\x61\x6E\x67\x75\x70\x21","\x4E\x6F\x20\x74\x61\x72\x67\x65\x74\x20\x66\x6F\x75\x6E\x64\x2C\x20\x73\x74\x6F\x70\x70\x69\x6E\x67\x20\x22\x46\x69\x6E\x61\x6C\x6C\x79\x22\x20\x62\x72\x61\x6E\x63\x68\x21","\x65\x6E\x64","\x2F\x2F\x45\x72\x72\x6F\x72\x3A","\x2F\x2F\x43\x6F\x6E\x74\x65\x78\x74\x20\x63\x6C\x6F\x73\x65","\x2F\x2F\x53\x74\x61\x72\x74\x69\x6E\x67\x20\x22\x46\x69\x6E\x61\x6C\x6C\x79\x22\x20\x62\x72\x61\x6E\x63\x68\x21","\x6C\x61\x75\x6E\x63\x68\x46\x69\x62\x65\x72","\x75\x70\x64\x61\x74\x65","\x2F\x2F\x43\x6F\x6E\x74\x65\x78\x74\x20\x48\x61\x6E\x67\x75\x70","\x76\x61\x72\x69\x61\x62\x6C\x65\x73","\x52\x65\x63\x65\x69\x76\x65\x64\x20\x6E\x65\x77\x20\x63\x61\x6C\x6C\x20\x66\x72\x6F\x6D\x3A\x20","\x61\x67\x69\x5F\x63\x61\x6C\x6C\x65\x72\x69\x64","\x20\x77\x69\x74\x68\x20\x75\x6E\x69\x71\x75\x65\x69\x64\x3A\x20","\x61\x67\x69\x5F\x75\x6E\x69\x71\x75\x65\x69\x64","\x61\x67\x69\x5F\x6E\x65\x74\x77\x6F\x72\x6B","\x61\x67\x69\x5F\x6E\x65\x74\x77\x6F\x72\x6B\x5F\x73\x63\x72\x69\x70\x74","\x61\x67\x69\x5F\x72\x65\x71\x75\x65\x73\x74","\x61\x67\x69\x5F\x63\x68\x61\x6E\x6E\x65\x6C","\x61\x67\x69\x5F\x6C\x61\x6E\x67\x75\x61\x67\x65","\x61\x67\x69\x5F\x74\x79\x70\x65","\x61\x67\x69\x5F\x76\x65\x72\x73\x69\x6F\x6E","\x61\x67\x69\x5F\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x61\x6D\x65","\x61\x67\x69\x5F\x63\x61\x6C\x6C\x69\x6E\x67\x70\x72\x65\x73","\x61\x67\x69\x5F\x63\x61\x6C\x6C\x69\x6E\x67\x61\x6E\x69\x32","\x61\x67\x69\x5F\x63\x61\x6C\x6C\x69\x6E\x67\x74\x6F\x6E","\x61\x67\x69\x5F\x63\x61\x6C\x6C\x69\x6E\x67\x74\x6E\x73","\x61\x67\x69\x5F\x64\x6E\x69\x64","\x61\x67\x69\x5F\x72\x64\x6E\x69\x73","\x61\x67\x69\x5F\x63\x6F\x6E\x74\x65\x78\x74","\x61\x67\x69\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x61\x67\x69\x5F\x70\x72\x69\x6F\x72\x69\x74\x79","\x61\x67\x69\x5F\x65\x6E\x68\x61\x6E\x63\x65\x64","\x61\x67\x69\x5F\x61\x63\x63\x6F\x75\x6E\x74\x63\x6F\x64\x65","\x61\x67\x69\x5F\x74\x68\x72\x65\x61\x64\x69\x64","\x61\x67\x69\x5F\x61\x72\x67\x5F\x31","\x45\x72\x72\x6F\x72\x3A","\x70\x72\x6F\x64\x75\x63\x74\x69\x6F\x6E","\x6D\x78\x67\x72\x61\x70\x68\x6D\x6F\x64\x65\x6C","\x4E\x6F\x20\x72\x6F\x6F\x74\x20\x69\x6E\x20\x70\x72\x6F\x6A\x65\x63\x74\x21","\x70\x61\x72\x73\x65\x53\x74\x72\x69\x6E\x67","\x4E\x6F\x20\x70\x72\x6F\x6A\x65\x63\x74\x20\x70\x75\x62\x6C\x69\x73\x68\x65\x64\x21","\x4E\x6F\x20\x70\x72\x6F\x6A\x65\x63\x74\x20\x66\x6F\x75\x6E\x64\x21","\x4E\x6F\x20\x70\x72\x6F\x6A\x65\x63\x74\x20\x61\x72\x67\x75\x6D\x65\x6E\x74\x21","\x2A","\x74\x5F\x66\x72\x6F\x6D","\x48\x48\x3A\x6D\x6D","\x74\x5F\x74\x6F","\x77\x64\x5F\x66\x72\x6F\x6D","\x77\x64\x5F\x74\x6F","\x6D\x64\x5F\x66\x72\x6F\x6D","\x6D\x64\x5F\x74\x6F","\x6D\x5F\x66\x72\x6F\x6D","\x6D\x5F\x74\x6F","\x45","\x44","\x4D","\x4E\x6F\x77\x3A\x20\x48\x6F\x75\x72\x3A\x20","\x2C\x20\x44\x61\x79\x3A\x20","\x2C\x20\x4D\x6F\x6E\x74\x68\x44\x61\x79\x3A\x20","\x2C\x20\x4D\x6F\x6E\x74\x68\x3A\x20","\x49\x6E\x74\x65\x72\x76\x61\x6C\x3A","\x20\x48\x6F\x75\x72\x73\x3A","\x20\x2D\x20","\x20\x77\x65\x65\x6B\x64\x61\x79\x3A","\x20\x6D\x6F\x6E\x74\x68\x64\x61\x79\x3A","\x20\x6D\x6F\x6E\x74\x68\x3A","\x70\x75\x73\x68","\x69\x73\x42\x65\x74\x77\x65\x65\x6E","\x76\x61\x6C\x69\x64\x20\x77\x65\x65\x6B\x64\x61\x79\x73","\x69\x6E\x64\x65\x78\x4F\x66","\x76\x61\x6C\x69\x64\x20\x6D\x6F\x6E\x74\x68\x73\x64\x61\x79\x73","\x76\x61\x6C\x69\x64\x20\x6D\x6F\x6E\x74\x68\x73","\x54\x69\x6D\x65\x20\x69\x73\x20","\x2C\x20\x57\x65\x65\x6B\x44\x61\x79\x20\x69\x73\x20","\x2C\x20\x4D\x6F\x6E\x74\x68\x44\x61\x79\x20\x69\x73\x20","\x2C\x20\x4D\x6F\x6E\x74\x68\x20\x69\x73\x20","\x53\x65\x74\x74\x69\x6E\x67\x20\x76\x61\x72\x69\x61\x62\x6C\x65\x2E\x2E\x2E","\x53\x65\x6E\x64\x69\x6E\x67\x20\x73\x65\x74\x20\x76\x61\x72\x69\x61\x62\x6C\x65\x2C\x76\x61\x72\x69\x61\x62\x6C\x65\x20\x69\x73\x20","\x2C\x20\x76\x61\x6C\x75\x65\x20\x69\x73\x20","\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72","\x5D\x5B","\x66\x6F\x72\x4F\x77\x6E","\x28","\x6C\x61\x73\x74\x49\x6E\x64\x65\x78\x4F\x66","\x29","\x67\x65\x74\x56\x61\x72\x69\x61\x62\x6C\x65","\x73\x6F\x75\x6E\x64\x73","\x25\x73\x2F\x25\x73","\x73\x6F\x75\x6E\x64\x50\x61\x74\x68","\x2F\x76\x61\x72\x2F\x6F\x70\x74\x2F\x6D\x6F\x74\x69\x6F\x6E\x2F\x73\x65\x72\x76\x65\x72\x2F\x66\x69\x6C\x65\x73\x2F\x73\x6F\x75\x6E\x64\x73\x2F\x63\x6F\x6E\x76\x65\x72\x74\x65\x64","\x73\x61\x76\x65\x5F\x6E\x61\x6D\x65","\x63\x6C\x6F\x6E\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x79\x6E\x63\x68","\x63\x6F\x6C\x6C\x65\x63\x74\x69\x6F\x6E","\x64\x6F\x63","\x75\x70\x64\x61\x74\x65\x43\x6F\x6C\x6C\x65\x63\x74\x69\x6F\x6E","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x6D\x6F\x76\x65\x46\x72\x6F\x6D\x43\x6F\x6C\x6C\x65\x63\x74\x69\x6F\x6E","\x6D\x65\x72\x67\x65","\x75\x6E\x73\x68\x69\x66\x74","\x61\x67\x69\x5F\x70\x6F\x72\x74","\x46\x61\x69\x6C\x65\x64\x20\x69\x6E\x69\x74\x69\x61\x6C\x69\x7A\x69\x6E\x67\x20\x41\x47\x49\x20\x73\x65\x72\x76\x69\x63\x65","\x6C\x69\x73\x74\x65\x6E","\x63\x72\x65\x61\x74\x65\x53\x65\x72\x76\x65\x72","\x61\x6C\x6C"];_0xcd0d[0];var _=require(_0xcd0d[1]);var agi=require(_0xcd0d[2]);var util=require(_0xcd0d[3]);var moment=require(_0xcd0d[4]);var xml=require(_0xcd0d[5]);var wait=require(_0xcd0d[6]);var sr=require(_0xcd0d[7]);var path=require(_0xcd0d[8]);var config=require(_0xcd0d[9]);var sh=require(_0xcd0d[10]);var Promise=require(_0xcd0d[11]);var rp=require(_0xcd0d[12]);var db=require(_0xcd0d[13])();var SquareProject=require(_0xcd0d[15])[_0xcd0d[14]];var Variable=require(_0xcd0d[15])[_0xcd0d[16]];var SquareOdbc=require(_0xcd0d[15])[_0xcd0d[17]];var Settings=require(_0xcd0d[15])[_0xcd0d[18]];var User=require(_0xcd0d[15])[_0xcd0d[19]];var VoiceQueue=require(_0xcd0d[15])[_0xcd0d[20]];var Interval=require(_0xcd0d[15])[_0xcd0d[21]];var Sound=require(_0xcd0d[15])[_0xcd0d[22]];var SquareRecording=require(_0xcd0d[15])[_0xcd0d[23]];var SmsAccount=require(_0xcd0d[15])[_0xcd0d[24]];var SmsMessage=require(_0xcd0d[15])[_0xcd0d[25]];var SmsRoom=require(_0xcd0d[15])[_0xcd0d[26]];var collections={users:null,variables:null,intervals:null,projects:null,sounds:null,queues:null,dbConnections:null};var weekDaysCollection={mon:1,tue:2,wed:3,thu:4,fri:5,sat:6,sun:7};var monthsCollection={jan:1,feb:2,mar:3,apr:4,may:5,jun:6,jul:7,aug:8,sep:9,oct:10,nov:11,dec:12};var methods={};process[_0xcd0d[28]](_0xcd0d[29],function(_0x8694x1f){console[_0xcd0d[33]](util[_0xcd0d[32]](_0xcd0d[30],_0x8694x1f,process[_0xcd0d[31]]))})[_0xcd0d[28]](_0xcd0d[27],function(_0x8694x1e){console[_0xcd0d[27]](_0x8694x1e)});console[_0xcd0d[33]](util[_0xcd0d[32]](_0xcd0d[34],process[_0xcd0d[31]]));methods[_0xcd0d[35]]=function(_0x8694x20,_0x8694x21,_0x8694x22){console[_0xcd0d[33]](_0xcd0d[36]);console[_0xcd0d[33]](_0xcd0d[37]);_0x8694x20[_0xcd0d[39]](_0xcd0d[38],function(_0x8694x1e,_0x8694x23){_0x8694x22(_0x8694x1e,_0x8694x23)})};methods[_0xcd0d[40]]=function(_0x8694x20,_0x8694x21,_0x8694x22){console[_0xcd0d[33]](_0xcd0d[41]);console[_0xcd0d[33]](_0xcd0d[42]+_0x8694x21[_0xcd0d[43]]+_0xcd0d[44]);_0x8694x20[_0xcd0d[46]](_0x8694x21[_0xcd0d[43]],_0x8694x21[_0xcd0d[45]],function(_0x8694x1e,_0x8694x23){if(_0x8694x22){_0x8694x22(_0x8694x1e,_0x8694x23)}})};methods[_0xcd0d[47]]=function(_0x8694x20,_0x8694x21,_0x8694x22){console[_0xcd0d[33]](_0xcd0d[48]);if(!collections[_0xcd0d[49]]){getUsers(false)};var _0x8694x24=_[_0xcd0d[51]](collections[_0xcd0d[49]],{id:parseInt(_0x8694x21[_0xcd0d[50]])});console[_0xcd0d[33]](_0xcd0d[52]+util[_0xcd0d[32]](_0xcd0d[53],_0x8694x24[_0xcd0d[54]])+_0xcd0d[55]);var _0x8694x25=[util[_0xcd0d[32]](_0xcd0d[53],_0x8694x24[_0xcd0d[54]]),_0x8694x21[_0xcd0d[56]],_0x8694x21[_0xcd0d[57]],_0x8694x21[_0xcd0d[58]]];_0x8694x20[_0xcd0d[46]](_0xcd0d[59],_0x8694x25[_0xcd0d[61]](_0xcd0d[60]),function(_0x8694x1e,_0x8694x23){_0x8694x22(_0x8694x1e,_0x8694x23)})};methods[_0xcd0d[62]]=function(_0x8694x20,_0x8694x21,_0x8694x22){console[_0xcd0d[33]](_0xcd0d[63]);console[_0xcd0d[33]](_0xcd0d[52]+util[_0xcd0d[32]](_0xcd0d[53],_0x8694x21[_0xcd0d[64]])+_0xcd0d[55]);var _0x8694x25=[util[_0xcd0d[32]](_0xcd0d[65],_0x8694x21[_0xcd0d[64]],_0x8694x21[_0xcd0d[66]]),_0x8694x21[_0xcd0d[56]],_0x8694x21[_0xcd0d[57]],_0x8694x21[_0xcd0d[58]]];_0x8694x20[_0xcd0d[46]](_0xcd0d[59],_0x8694x25[_0xcd0d[61]](_0xcd0d[60]),function(_0x8694x1e,_0x8694x23){_0x8694x22(_0x8694x1e,_0x8694x23)})};methods[_0xcd0d[67]]=function(_0x8694x20,_0x8694x21,_0x8694x22){console[_0xcd0d[33]](_0xcd0d[68]);if(!collections[_0xcd0d[69]]){getQueues(false)};var _0x8694x26=_[_0xcd0d[51]](collections[_0xcd0d[69]],{name:_0x8694x21[_0xcd0d[70]]});getFilePath(_0x8694x21[_0xcd0d[79]])[_0xcd0d[78]](function(_0x8694x27){var _0x8694x25=[_0x8694x26[_0xcd0d[54]],_0x8694x21[_0xcd0d[57]],_0x8694x21[_0xcd0d[58]],_0x8694x27,_0x8694x21[_0xcd0d[56]],_0x8694x21[_0xcd0d[2]],_0x8694x21[_0xcd0d[71]],_0x8694x21[_0xcd0d[72]],_0xcd0d[73],_0x8694x21[_0xcd0d[74]]];console[_0xcd0d[33]](_0xcd0d[75]+_0x8694x26[_0xcd0d[54]]+_0xcd0d[76]);_0x8694x20[_0xcd0d[46]](_0xcd0d[77],_0x8694x25[_0xcd0d[61]](_0xcd0d[60]),function(_0x8694x1e,_0x8694x23){_0x8694x22(_0x8694x1e,_0x8694x23)})})};methods[_0xcd0d[80]]=function(_0x8694x20,_0x8694x21,_0x8694x22){console[_0xcd0d[33]](_0xcd0d[81]);var _0x8694x25=[_0x8694x21[_0xcd0d[82]],_0x8694x21[_0xcd0d[57]]];var _0x8694x28={uniqueid:_0x8694x20[_0xcd0d[83]],node:_0x8694x21[_0xcd0d[84]],application:_0x8694x21[_0xcd0d[85]],data:_0x8694x25[_0xcd0d[61]](_0xcd0d[60])||null,project_name:_0x8694x20[_0xcd0d[86]],message:_0xcd0d[87]};process[_0xcd0d[39]](_0x8694x28);console[_0xcd0d[33]](_0xcd0d[88]);_0x8694x20[_0xcd0d[46]](_0xcd0d[89],_0x8694x25[_0xcd0d[61]](_0xcd0d[60]),function(_0x8694x1e,_0x8694x23){_0x8694x22(_0x8694x1e,_0x8694x23)})};methods[_0xcd0d[90]]=function(_0x8694x20,_0x8694x21,_0x8694x22){console[_0xcd0d[33]](_0xcd0d[91]);var _0x8694x29={method:_0xcd0d[92],uri:_0xcd0d[93],body:{id_list:parseInt(_0x8694x21[_0xcd0d[94]]),name:_0x8694x21[_0xcd0d[54]]||_0xcd0d[73],phones:_0x8694x21[_0xcd0d[66]][_0xcd0d[96]]()[_0xcd0d[95]](_0xcd0d[60]),description:_0x8694x21[_0xcd0d[84]]||_0xcd0d[73],planningtime:moment()[_0xcd0d[100]](_0x8694x21[_0xcd0d[98]]||5,_0xcd0d[99])[_0xcd0d[32]](_0xcd0d[97])},json:true};rp(_0x8694x29)[_0xcd0d[78]](function(_0x8694x2a){if(_0x8694x2a[_0xcd0d[106]]>0){console[_0xcd0d[33]](_0x8694x2a[_0xcd0d[107]].RMI)}else {console[_0xcd0d[33]](_0x8694x2a[_0xcd0d[107]][_0xcd0d[109]][_0xcd0d[108]])}})[_0xcd0d[105]](function(_0x8694x1e){console[_0xcd0d[27]](_0xcd0d[103],_0x8694x1e[_0xcd0d[104]])})[_0xcd0d[102]](function(){console[_0xcd0d[33]](_0xcd0d[101]);_0x8694x22(null,{code:200,result:1})})};methods[_0xcd0d[110]]=function(_0x8694x20,_0x8694x21,_0x8694x22){console[_0xcd0d[33]](_0xcd0d[111]);console[_0xcd0d[33]](_0xcd0d[112]);try{var _0x8694x2b=eval(_0x8694x21[_0xcd0d[113]]);console[_0xcd0d[33]](_0xcd0d[114]);var _0x8694x2c=getVariableName(_0x8694x21[_0xcd0d[115]]);if(_[_0xcd0d[116]](_0x8694x2b)){_0x8694x2b[_0xcd0d[121]](function(_0x8694x2d,_0x8694x2e){wait[_0xcd0d[120]](setVariable,_0x8694x20,_0x8694x2c+_0xcd0d[117]+_0x8694x2e+_0xcd0d[118],_0xcd0d[119]+_0x8694x2d+_0xcd0d[119])})}else {wait[_0xcd0d[120]](setVariable,_0x8694x20,_0x8694x2c,_0xcd0d[119]+_0x8694x2b+_0xcd0d[119])}}catch(err){console[_0xcd0d[33]](_0xcd0d[122]);_0x8694x22(null,{code:200,result:1})}};methods[_0xcd0d[123]]=function(_0x8694x20,_0x8694x21,_0x8694x22){console[_0xcd0d[33]](_0xcd0d[124]);getFilePath(_0x8694x21[_0xcd0d[79]])[_0xcd0d[78]](function(_0x8694x2f){var _0x8694x25=[_0x8694x2f,_0x8694x21[_0xcd0d[57]]];console[_0xcd0d[33]](_0xcd0d[125]);_0x8694x20[_0xcd0d[46]](_0xcd0d[126],_0x8694x25[_0xcd0d[61]](_0xcd0d[60]),function(_0x8694x1e,_0x8694x23){_0x8694x22(_0x8694x1e,_0x8694x23)})})};methods[_0xcd0d[127]]=function(_0x8694x20,_0x8694x21,_0x8694x22){console[_0xcd0d[33]](_0xcd0d[128]);var _0x8694x23={};console[_0xcd0d[33]](_0xcd0d[129]+_0x8694x21[_0xcd0d[130]]+_0xcd0d[131]);if(_0x8694x21[_0xcd0d[130]]>0){_0x8694x21[_0xcd0d[130]]--;getFilePath(_0x8694x21[_0xcd0d[79]])[_0xcd0d[78]](function(_0x8694x30){console[_0xcd0d[33]](_0xcd0d[132]);_0x8694x20[_0xcd0d[39]](util[_0xcd0d[32]](_0xcd0d[133],_0x8694x30,parseInt(_0x8694x21[_0xcd0d[107]])*1000,_0x8694x21[_0xcd0d[134]]),function(_0x8694x1e,_0x8694x23){var _0x8694x28={uniqueid:_0x8694x20[_0xcd0d[83]],node:_0x8694x21[_0xcd0d[84]],application:_0x8694x21[_0xcd0d[85]],data:_0x8694x23[_0xcd0d[135]]||null,project_name:_0x8694x20[_0xcd0d[86]],message:_0xcd0d[87]};process[_0xcd0d[39]](_0x8694x28);_0x8694x23[_0xcd0d[135]]=_0x8694x23[_0xcd0d[135]][_0xcd0d[137]](_0xcd0d[136],_0xcd0d[73])[_0xcd0d[96]]();if(_0x8694x23[_0xcd0d[135]][_0xcd0d[138]]){if(_0x8694x23[_0xcd0d[135]]===_0xcd0d[139]){_0x8694x22(null,_0x8694x23)}else {_0x8694x23[_0xcd0d[140]]=_0x8694x23[_0xcd0d[135]];if(_0x8694x21[_0xcd0d[115]]!==_0xcd0d[139]){console[_0xcd0d[33]](_0xcd0d[141]);var _0x8694x2c=getVariableName(_0x8694x21[_0xcd0d[115]]);setVariable(_0x8694x20,_0x8694x2c,_0xcd0d[119]+_0x8694x23[_0xcd0d[140]]+_0xcd0d[119],function(){_0x8694x22(null,_0x8694x23)})}else {_0x8694x22(null,_0x8694x23)}}}else {console[_0xcd0d[33]](_0xcd0d[142]);_0x8694x23={code:200,result:_0xcd0d[143],data:_0xcd0d[144]};_0x8694x22(null,_0x8694x23)}})})}else {console[_0xcd0d[33]](_0xcd0d[145]);_0x8694x23={code:200,result:_0xcd0d[143],data:_0xcd0d[146]};_0x8694x22(null,_0x8694x23)}};methods[_0xcd0d[147]]=function(_0x8694x20,_0x8694x21,_0x8694x22){console[_0xcd0d[33]](_0xcd0d[148]);console[_0xcd0d[33]](_0xcd0d[149]);_0x8694x20[_0xcd0d[39]](util[_0xcd0d[32]](_0xcd0d[150],_0x8694x21[_0xcd0d[151]],_0x8694x21[_0xcd0d[152]]),function(_0x8694x1e,_0x8694x23){_0x8694x22(_0x8694x1e,_0x8694x23)})};methods[_0xcd0d[153]]=function(_0x8694x20,_0x8694x21,_0x8694x22){console[_0xcd0d[33]](_0xcd0d[154]);console[_0xcd0d[33]](_0xcd0d[155]);_0x8694x20[_0xcd0d[39]](util[_0xcd0d[32]](_0xcd0d[156],_0x8694x21[_0xcd0d[157]],_0x8694x21[_0xcd0d[152]]),function(_0x8694x1e,_0x8694x23){_0x8694x22(_0x8694x1e,_0x8694x23)})};methods[_0xcd0d[158]]=function(_0x8694x20,_0x8694x21,_0x8694x22){console[_0xcd0d[33]](_0xcd0d[159]);var _0x8694x25=[path[_0xcd0d[61]](config[_0xcd0d[160]],_0xcd0d[161],_0xcd0d[162]),encodeURIComponent(_0x8694x21[_0xcd0d[157]]),_0x8694x21[_0xcd0d[163]]];console[_0xcd0d[33]](_0xcd0d[164]);_0x8694x20[_0xcd0d[46]](_0xcd0d[165],_0x8694x25[_0xcd0d[61]](_0xcd0d[60]),function(_0x8694x1e,_0x8694x23){_0x8694x22(_0x8694x1e,_0x8694x23)})};methods[_0xcd0d[166]]=function(_0x8694x20,_0x8694x21,_0x8694x22){console[_0xcd0d[33]](_0xcd0d[167]);var _0x8694x25=[_0xcd0d[168],encodeURIComponent(_0x8694x21[_0xcd0d[157]]),_0x8694x21[_0xcd0d[169]],_0x8694x21[_0xcd0d[170]],_0x8694x21[_0xcd0d[171]],_0x8694x21[_0xcd0d[172]]];console[_0xcd0d[33]](_0xcd0d[173]);_0x8694x20[_0xcd0d[46]](_0xcd0d[165],_0x8694x25[_0xcd0d[61]](_0xcd0d[60]),function(_0x8694x1e,_0x8694x23){_0x8694x22(_0x8694x1e,_0x8694x23)})};methods[_0xcd0d[174]]=function(_0x8694x20,_0x8694x21,_0x8694x22){console[_0xcd0d[33]](_0xcd0d[175]);var _0x8694x23={};console[_0xcd0d[33]](_0xcd0d[129]+_0x8694x21[_0xcd0d[130]]+_0xcd0d[131]);if(_0x8694x21[_0xcd0d[130]]>0){_0x8694x21[_0xcd0d[130]]--;getFilePath(_0x8694x21[_0xcd0d[79]])[_0xcd0d[78]](function(_0x8694x30){console[_0xcd0d[33]](_0xcd0d[132]);_0x8694x20[_0xcd0d[39]](util[_0xcd0d[32]](_0xcd0d[133],_0x8694x30,parseInt(_0x8694x21[_0xcd0d[107]])*1000,_0x8694x21[_0xcd0d[176]]),function(_0x8694x1e,_0x8694x23){var _0x8694x28={uniqueid:_0x8694x20[_0xcd0d[83]],node:_0x8694x21[_0xcd0d[84]],application:_0x8694x21[_0xcd0d[85]],data:_0x8694x23[_0xcd0d[135]]||null,project_name:_0x8694x20[_0xcd0d[86]],message:_0xcd0d[87]};process[_0xcd0d[39]](_0x8694x28);_0x8694x23[_0xcd0d[135]]=_0x8694x23[_0xcd0d[135]][_0xcd0d[137]](_0xcd0d[136],_0xcd0d[73])[_0xcd0d[96]]();if(_0x8694x23[_0xcd0d[135]][_0xcd0d[138]]>=parseInt(_0x8694x21[_0xcd0d[177]])){if(_0x8694x23[_0xcd0d[135]]!==_0xcd0d[139]){console[_0xcd0d[33]](_0xcd0d[178]);if(_0x8694x21[_0xcd0d[115]]!==_0xcd0d[139]){console[_0xcd0d[33]](_0xcd0d[141]);var _0x8694x2c=getVariableName(_0x8694x21[_0xcd0d[115]]);setVariable(_0x8694x20,_0x8694x2c,_0xcd0d[119]+_0x8694x23[_0xcd0d[135]]+_0xcd0d[119],function(){_0x8694x23={code:200,result:_0xcd0d[143],data:_0xcd0d[179]};_0x8694x22(null,_0x8694x23)})}}else {console[_0xcd0d[33]](_0xcd0d[180]);_0x8694x23={code:500,result:_0xcd0d[139]};_0x8694x22(null,_0x8694x23)}}else {console[_0xcd0d[33]](_0xcd0d[181]);_0x8694x23={code:200,result:_0xcd0d[143],data:_0xcd0d[182]};_0x8694x22(null,_0x8694x23)}})})}else {console[_0xcd0d[33]](_0xcd0d[145]);_0x8694x23={code:500,result:_0xcd0d[139]};_0x8694x22(null,_0x8694x23)}};methods[_0xcd0d[183]]=function(_0x8694x20,_0x8694x21,_0x8694x22){console[_0xcd0d[33]](_0xcd0d[184]);var _0x8694x31=sr({length:4});console[_0xcd0d[33]](_0xcd0d[185]);_0x8694x20[_0xcd0d[39]](util[_0xcd0d[32]](_0xcd0d[186],path[_0xcd0d[61]](config[_0xcd0d[160]],_0xcd0d[187],_0x8694x31),_0x8694x21[_0xcd0d[152]],_0x8694x21[_0xcd0d[56]],null,true,null),function(_0x8694x1e,_0x8694x23){if(_0x8694x23[_0xcd0d[188]]===200&&_0x8694x23[_0xcd0d[135]]!==_0xcd0d[139]){SquareRecording[_0xcd0d[201]]({uniqueid:_0x8694x20[_0xcd0d[83]],callerid:_0x8694x20[_0xcd0d[192]],calleridname:_0x8694x20[_0xcd0d[193]],context:_0x8694x20[_0xcd0d[194]],extension:_0x8694x20[_0xcd0d[195]],priority:_0x8694x20[_0xcd0d[196]],accountcode:_0x8694x20[_0xcd0d[197]],dnid:_0x8694x20[_0xcd0d[198]],project_name:_0x8694x20[_0xcd0d[86]],saveName:_0x8694x31,filename:_0x8694x21[_0xcd0d[199]]||null,savePath:path[_0xcd0d[61]](config[_0xcd0d[160]],_0xcd0d[187],_0x8694x31+_0xcd0d[200])})[_0xcd0d[105]](function(_0x8694x1e){console[_0xcd0d[33]](_0xcd0d[189]+_0x8694x21[_0xcd0d[85]]+_0xcd0d[190]+_0x8694x21[_0xcd0d[84]]+_0xcd0d[191],_0x8694x1e)});console[_0xcd0d[33]](_0xcd0d[202]);_0x8694x20[_0xcd0d[39]](util[_0xcd0d[32]](_0xcd0d[203],_0xcd0d[204],_0x8694x31),function(_0x8694x1e,_0x8694x23){_0x8694x22(_0x8694x1e,_0x8694x23)})}else {_0x8694x22(_0x8694x1e,_0x8694x23)}})};methods[_0xcd0d[205]]=function(_0x8694x20,_0x8694x21,_0x8694x22){console[_0xcd0d[33]](_0xcd0d[206]);var _0x8694x23;var _0x8694x32=_0xcd0d[207];var _0x8694x33;if(!collections[_0xcd0d[208]]){getIntervals(false)};var _0x8694x34=_[_0xcd0d[51]](collections[_0xcd0d[208]],{id:parseInt(_0x8694x21[_0xcd0d[209]])});if(!_0x8694x34[_0xcd0d[210]]){_0x8694x33=_[_0xcd0d[212]](collections[_0xcd0d[208]],{IntervalId:parseInt(_0x8694x34[_0xcd0d[211]])})};if(_0x8694x33){console[_0xcd0d[33]](_0xcd0d[213]);if(_0x8694x33[_0xcd0d[138]]){console[_0xcd0d[33]](_0xcd0d[129]+_0x8694x33[_0xcd0d[138]]+_0xcd0d[214]);var _0x8694x35;console[_0xcd0d[33]](_0xcd0d[215]);_0x8694x33[_0xcd0d[121]](function(_0x8694x2d,_0x8694x2e){_0x8694x35=splitInterval(_0x8694x2d[_0xcd0d[216]]);if(isIntervalValid(_0x8694x35)){console[_0xcd0d[33]](_0xcd0d[217]+_0x8694x2e+_0xcd0d[218]);_0x8694x32=_0xcd0d[219]}})}else {console[_0xcd0d[33]](_0xcd0d[220]);_0x8694x32=_0xcd0d[219]}}else {console[_0xcd0d[33]](_0xcd0d[221]);var _0x8694x36=splitInterval(_0x8694x34[_0xcd0d[216]]);if(isIntervalValid(_0x8694x36)){console[_0xcd0d[33]](_0xcd0d[222]);_0x8694x32=_0xcd0d[219]}};console[_0xcd0d[33]](_0xcd0d[223]+_0x8694x32+_0xcd0d[224]);_0x8694x23={code:200,result:_0xcd0d[143],data:_0x8694x32};_0x8694x22(null,_0x8694x23)};methods[_0xcd0d[225]]=function(_0x8694x20,_0x8694x21,_0x8694x22){console[_0xcd0d[33]](_0xcd0d[226]);console[_0xcd0d[33]](_0xcd0d[227]);var _0x8694x2c=getVariableName(_0x8694x21[_0xcd0d[115]]);getVariable(_0x8694x20,_0x8694x2c,function(_0x8694x1e,_0x8694x23){if(!_0x8694x23[_0xcd0d[140]]){_0x8694x23[_0xcd0d[140]]=_0xcd0d[146]};_0x8694x22(null,_0x8694x23)})};methods[_0xcd0d[228]]=function(_0x8694x20,_0x8694x21,_0x8694x22){var _0x8694x28={uniqueid:_0x8694x20[_0xcd0d[83]],node:_0x8694x21[_0xcd0d[84]],application:_0x8694x21[_0xcd0d[85]],data:_0x8694x21[_0xcd0d[229]]||null,project_name:_0x8694x20[_0xcd0d[86]],message:_0xcd0d[87]};process[_0xcd0d[39]](_0x8694x28);var _0x8694x23={code:200,result:_0xcd0d[230]};_0x8694x22(null,_0x8694x23)};methods[_0xcd0d[231]]=function(_0x8694x20,_0x8694x21,_0x8694x22){var _0x8694x28={uniqueid:_0x8694x20[_0xcd0d[83]],node:_0x8694x21[_0xcd0d[84]],application:_0x8694x21[_0xcd0d[85]],data:_0x8694x21[_0xcd0d[157]]||null,project_name:_0x8694x20[_0xcd0d[86]]};var _0x8694x37;SmsAccount[_0xcd0d[241]](_0x8694x21[_0xcd0d[237]])[_0xcd0d[78]](function(_0x8694x39){_0x8694x37={from:_0x8694x39[_0xcd0d[66]],to:_0x8694x21[_0xcd0d[236]],body:_0x8694x21[_0xcd0d[157]],SmsAccountId:_0x8694x21[_0xcd0d[237]]};process[_0xcd0d[39]](_0x8694x28);return SmsRoom[_0xcd0d[240]]({where:{from:_0x8694x21[_0xcd0d[236]],SmsAccountId:_0x8694x21[_0xcd0d[237]],status:{$ne:_0xcd0d[239]}}})})[_0xcd0d[78]](function(_0x8694x38){if(!_0x8694x38){return SmsRoom[_0xcd0d[201]]({from:_0x8694x21[_0xcd0d[236]],SmsAccountId:_0x8694x21[_0xcd0d[237]],status:_0xcd0d[238]})};return _0x8694x38})[_0xcd0d[78]](function(_0x8694x38){_0x8694x37[_0xcd0d[233]]=_0x8694x38[_0xcd0d[211]];_0x8694x37[_0xcd0d[234]]=_0xcd0d[235];return SmsMessage[_0xcd0d[201]](_0x8694x37)})[_0xcd0d[78]](function(){var _0x8694x23={code:200,result:_0xcd0d[230]};_0x8694x22(null,_0x8694x23)})[_0xcd0d[105]](function(_0x8694x1e){console[_0xcd0d[33]](_0xcd0d[232],_0x8694x1e);var _0x8694x23={code:200,result:_0xcd0d[230]};_0x8694x22(_0x8694x1e,_0x8694x23)})};methods[_0xcd0d[242]]=function(_0x8694x20,_0x8694x21,_0x8694x22){console[_0xcd0d[33]](_0xcd0d[243]);var _0x8694x28={uniqueid:_0x8694x20[_0xcd0d[83]],node:_0x8694x21[_0xcd0d[84]],application:_0x8694x21[_0xcd0d[85]],data:_[_0xcd0d[96]](_0x8694x21[_0xcd0d[244]])||null,project_name:_0x8694x20[_0xcd0d[86]],message:_0xcd0d[87]};process[_0xcd0d[39]](_0x8694x28);console[_0xcd0d[33]](_0xcd0d[245]);sh[_0xcd0d[46]](_[_0xcd0d[96]](_0x8694x21[_0xcd0d[244]]),function(_0x8694x1f,_0x8694x3a){var _0x8694x3b=_0x8694x3a[_0xcd0d[137]](/(\r\n|\n|\r)/gm,_0xcd0d[73]);console[_0xcd0d[33]](_0xcd0d[246],_0x8694x3b);console[_0xcd0d[33]](_0xcd0d[247]);var _0x8694x2c=getVariableName(_0x8694x21[_0xcd0d[115]]);setVariable(_0x8694x20,_0x8694x2c,_0xcd0d[119]+_0x8694x3b+_0xcd0d[119],_0x8694x22)})};methods[_0xcd0d[2]]=function(_0x8694x20,_0x8694x21,_0x8694x22){console[_0xcd0d[33]](_0xcd0d[248]);console[_0xcd0d[33]](_0xcd0d[249]);_0x8694x20[_0xcd0d[46]](_0xcd0d[165],_0x8694x21[_0xcd0d[244]],_0x8694x21[_0xcd0d[250]],function(_0x8694x1e,_0x8694x23){_0x8694x22(_0x8694x1e,_0x8694x23)})};methods[_0xcd0d[251]]=function(_0x8694x20,_0x8694x21,_0x8694x22){console[_0xcd0d[33]](_0xcd0d[252]);if(!collections[_0xcd0d[253]]){getProjects(false)};var _0x8694x3c=_[_0xcd0d[51]](collections[_0xcd0d[253]],{id:parseInt(_0x8694x21[_0xcd0d[254]])});console[_0xcd0d[33]](_0xcd0d[255]+_0x8694x3c[_0xcd0d[54]]+_0xcd0d[44]);_0x8694x20[_0xcd0d[46]](_0xcd0d[165],util[_0xcd0d[32]](_0xcd0d[256],_0x8694x3c[_0xcd0d[54]]),function(_0x8694x1e,_0x8694x23){_0x8694x22(_0x8694x1e,_0x8694x23)})};methods[_0xcd0d[257]]=function(_0x8694x20,_0x8694x21,_0x8694x22){console[_0xcd0d[33]](_0xcd0d[258]);var _0x8694x25=[path[_0xcd0d[61]](config[_0xcd0d[160]],_0xcd0d[161],_0xcd0d[259]),_0x8694x21[_0xcd0d[260]],_0xcd0d[73],(_0x8694x21[_0xcd0d[261]]===_0xcd0d[143]?_0xcd0d[73]:_0x8694x21[_0xcd0d[261]]),_0x8694x21[_0xcd0d[56]],_0x8694x21[_0xcd0d[170]],_0x8694x21[_0xcd0d[262]]===_0xcd0d[263]?_0xcd0d[73]:_0x8694x21[_0xcd0d[262]],_0x8694x21[_0xcd0d[172]]];console[_0xcd0d[33]](_0xcd0d[264]);_0x8694x20[_0xcd0d[46]](_0xcd0d[165],_0x8694x25[_0xcd0d[61]](_0xcd0d[60]),function(_0x8694x1e,_0x8694x23){_0x8694x22(_0x8694x1e,_0x8694x23)})};methods[_0xcd0d[265]]=function(_0x8694x20,_0x8694x21,_0x8694x22){console[_0xcd0d[33]](_0xcd0d[266]);if(!collections[_0xcd0d[267]]){getDbConnections(false)};var _0x8694x3d=_[_0xcd0d[51]](collections[_0xcd0d[267]],{id:parseInt(_0x8694x21[_0xcd0d[268]])});console[_0xcd0d[33]](_0xcd0d[269]);var _0x8694x28={uniqueid:_0x8694x20[_0xcd0d[83]],node:_0x8694x21[_0xcd0d[84]],application:_0x8694x21[_0xcd0d[85]],data:_0x8694x21[_0xcd0d[270]]||null,project_name:_0x8694x20[_0xcd0d[86]],message:_0xcd0d[87]};process[_0xcd0d[39]](_0x8694x28);try{db[_0xcd0d[272]](_0x8694x3d[_0xcd0d[271]]);var _0x8694x3e=db[_0xcd0d[273]](_0x8694x21[_0xcd0d[270]]);db[_0xcd0d[274]]();setVariablesMatrix(_0x8694x20,_0x8694x21,_0x8694x22,_0x8694x3e)}catch(e){console[_0xcd0d[33]](e[_0xcd0d[104]]);wait[_0xcd0d[120]](setVariable,_0x8694x20,_0xcd0d[275],_0xcd0d[219]);wait[_0xcd0d[120]](setVariable,_0x8694x20,_0xcd0d[276],_0xcd0d[119]+e[_0xcd0d[104]]+_0xcd0d[119])}};methods[_0xcd0d[277]]=function(_0x8694x20,_0x8694x21,_0x8694x22){console[_0xcd0d[33]](_0xcd0d[278]);console[_0xcd0d[33]](_0xcd0d[279]+_0x8694x21[_0xcd0d[195]]+_0xcd0d[280]);_0x8694x20[_0xcd0d[46]](_0xcd0d[59],util[_0xcd0d[32]](_0xcd0d[281],_0x8694x21[_0xcd0d[195]],_0x8694x21[_0xcd0d[194]]),function(_0x8694x1e,_0x8694x23){_0x8694x22(_0x8694x1e,_0x8694x23)})};methods[_0xcd0d[282]]=function(_0x8694x20,_0x8694x21,_0x8694x22){console[_0xcd0d[33]](_0xcd0d[283]);var _0x8694x23={code:200,result:_0xcd0d[143]};console[_0xcd0d[33]](_0xcd0d[284]);try{_0x8694x23[_0xcd0d[140]]=String(eval(_0x8694x21[_0xcd0d[285]])?_0xcd0d[219]:_0xcd0d[207])}catch(err){console[_0xcd0d[33]](_0xcd0d[286]);_0x8694x23[_0xcd0d[140]]=_0xcd0d[207]};console[_0xcd0d[33]](_0xcd0d[287]+_0x8694x23[_0xcd0d[140]]);_0x8694x22(null,_0x8694x23)};methods[_0xcd0d[288]]=function(_0x8694x20,_0x8694x21,_0x8694x22){console[_0xcd0d[33]](_0xcd0d[289]);console[_0xcd0d[33]](_0xcd0d[290]);_0x8694x20[_0xcd0d[288]]()};methods[_0xcd0d[291]]=function(_0x8694x20,_0x8694x21,_0x8694x22){console[_0xcd0d[33]](_0xcd0d[292]);var _0x8694x3a=(_0x8694x21[_0xcd0d[293]])?_0xcd0d[119]+_0x8694x21[_0xcd0d[293]]+_0xcd0d[119]:_0xcd0d[119]+_0x8694x21[_0xcd0d[84]]+_0xcd0d[119];console[_0xcd0d[33]](_0xcd0d[294]+_0x8694x3a);_0x8694x20[_0xcd0d[46]](_0xcd0d[295],_0x8694x3a,function(_0x8694x1e,_0x8694x23){_0x8694x22(_0x8694x1e,_0x8694x23)})};methods[_0xcd0d[296]]=function(_0x8694x20,_0x8694x21,_0x8694x22){console[_0xcd0d[33]](_0xcd0d[297]);console[_0xcd0d[33]](_0xcd0d[298]);_0x8694x20[_0xcd0d[39]](util[_0xcd0d[32]](_0xcd0d[299],_0x8694x21[_0xcd0d[300]],_0x8694x21[_0xcd0d[152]]),function(_0x8694x1e,_0x8694x23){_0x8694x22(_0x8694x1e,_0x8694x23)})};methods[_0xcd0d[301]]=function(_0x8694x20,_0x8694x21,_0x8694x22){console[_0xcd0d[33]](_0xcd0d[302]);console[_0xcd0d[33]](_0xcd0d[303]);var _0x8694x2c=getVariableName(_0x8694x21[_0xcd0d[115]]);wait[_0xcd0d[120]](setVariable,_0x8694x20,_0x8694x2c,_0xcd0d[119]+_0x8694x21[_0xcd0d[304]]+_0xcd0d[119])};function getVertices(_0x8694x40){return _[_0xcd0d[308]](_0x8694x40,function(_0x8694x2b,_0x8694x41,_0x8694x42){if(_0x8694x42===_0xcd0d[305]){return _0x8694x2b};if(_[_0xcd0d[116]](_0x8694x41)){_[_0xcd0d[307]](_0x8694x41,function(_0x8694x43,_0x8694x44){_0x8694x2b[_0x8694x43[_0xcd0d[306]][_0xcd0d[211]]]=_0x8694x43[_0xcd0d[306]];_0x8694x2b[_0x8694x43[_0xcd0d[306]][_0xcd0d[211]]][_0xcd0d[85]]=_0x8694x42});return _0x8694x2b};_0x8694x2b[_0x8694x41[_0xcd0d[306]][_0xcd0d[211]]]=_0x8694x41[_0xcd0d[306]];_0x8694x2b[_0x8694x41[_0xcd0d[306]][_0xcd0d[211]]][_0xcd0d[85]]=_0x8694x42;return _0x8694x2b},{})}function getTargetBySource(_0x8694x40,_0x8694x46,_0x8694x43){return _[_0xcd0d[135]](_[_0xcd0d[51]](_0x8694x40[_0xcd0d[305]],function(_0x8694x41){if(_0x8694x41[_0xcd0d[306]][_0xcd0d[309]]&&_0x8694x41[_0xcd0d[306]][_0xcd0d[234]]){if(_0x8694x41[_0xcd0d[306]][_0xcd0d[234]]===_0x8694x46){if(_0x8694x41[_0xcd0d[306]][_0xcd0d[310]]&&_0x8694x41[_0xcd0d[306]][_0xcd0d[310]]!==_0x8694x43){return false};return true}};return false}),_0xcd0d[311])}function replaceAllVariables(_0x8694x20,_0x8694x21,_0x8694x22){var _0x8694x48=_0x8694x21;for(var _0x8694x44 in _0x8694x48){var _0x8694x23=_0x8694x48[_0x8694x44][_0xcd0d[312]](/{+(.*?)}/gi);if(_0x8694x23){console[_0xcd0d[33]](_0xcd0d[313],_0x8694x23);_0x8694x23[_0xcd0d[121]](function(_0x8694x49,_0x8694x2e){console[_0xcd0d[33]](_0xcd0d[314],_0x8694x23[_0x8694x2e][_0xcd0d[315]](1,_0x8694x23[_0x8694x2e][_0xcd0d[138]]-1));var _0x8694x43=wait[_0xcd0d[120]](getVariable,_0x8694x20,_0x8694x23[_0x8694x2e][_0xcd0d[315]](1,_0x8694x23[_0x8694x2e][_0xcd0d[138]]-1));console[_0xcd0d[33]](_0xcd0d[310],_0x8694x43);if(_0x8694x43[_0xcd0d[140]]){_0x8694x48[_0x8694x44]=_0x8694x48[_0x8694x44][_0xcd0d[137]](_0x8694x23[_0x8694x2e],_0x8694x43[_0xcd0d[140]])}})}};_0x8694x48[_0xcd0d[316]]=true;return _0x8694x48}function xstart(_0x8694x20){var _0x8694x40=_0x8694x20[_0xcd0d[160]];var _0x8694x4b=_0x8694x20[_0xcd0d[317]];if(_0x8694x40[_0xcd0d[318]]){if(!_[_0xcd0d[116]](_0x8694x40[_0xcd0d[318]])){var _0x8694x46=_0x8694x40[_0xcd0d[318]][_0xcd0d[306]][_0xcd0d[211]];var _0x8694x23={};do{try{var _0x8694x21=_0x8694x4b[_0x8694x46][_0xcd0d[316]]?_0x8694x4b[_0x8694x46]:replaceAllVariables(_0x8694x20,_0x8694x4b[_0x8694x46]);if(_0x8694x21){if(_[_0xcd0d[319]](methods[_0x8694x21[_0xcd0d[85]]])){_0x8694x23=wait[_0xcd0d[120]](methods[_0x8694x21[_0xcd0d[85]]],_0x8694x20,_0x8694x21)}else {_0x8694x23=wait[_0xcd0d[120]](methods[_0xcd0d[291]],_0x8694x20,_0x8694x21)};if(_0x8694x23[_0xcd0d[188]]===200&&_0x8694x23[_0xcd0d[135]]!==_0xcd0d[139]){var _0x8694x4c=getTargetBySource(_0x8694x40,_0x8694x46,_0x8694x23[_0xcd0d[140]]);if(!_0x8694x4c){if(_0x8694x21[_0xcd0d[85]]===_0xcd0d[127]){if(_0x8694x21[_0xcd0d[130]]>0){_0x8694x4c=getTargetBySource(_0x8694x40,_0x8694x46,_0xcd0d[182]);if(!_0x8694x4c){_0x8694x4c=_0x8694x46}}};if(_0x8694x21[_0xcd0d[85]]===_0xcd0d[174]&&_0x8694x21[_0xcd0d[130]]>0){_0x8694x4c=_0x8694x46};if(_0x8694x21[_0xcd0d[85]]===_0xcd0d[225]){_0x8694x4c=getTargetBySource(_0x8694x40,_0x8694x46,_0xcd0d[146]);if(!_0x8694x4c){_0x8694x4c=_0x8694x46}}};_0x8694x46=_0x8694x4c}else {_0x8694x46=null}}else {_0x8694x46=null}}catch(err){console[_0xcd0d[33]](err)}}while(_0x8694x46);;console[_0xcd0d[33]](_0xcd0d[320]);_0x8694x20[_0xcd0d[288]]()}}}function xfinally(_0x8694x20){var _0x8694x40=_0x8694x20[_0xcd0d[160]];var _0x8694x4b=_0x8694x20[_0xcd0d[317]];if(_0x8694x40[_0xcd0d[102]]){if(!_[_0xcd0d[116]](_0x8694x40[_0xcd0d[102]])){var _0x8694x46=_0x8694x40[_0xcd0d[102]][_0xcd0d[306]][_0xcd0d[211]];var _0x8694x23={};do{try{var _0x8694x21=_0x8694x4b[_0x8694x46][_0xcd0d[316]]?_0x8694x4b[_0x8694x46]:replaceAllVariables(_0x8694x20,_0x8694x4b[_0x8694x46]);if(_0x8694x21){if(_[_0xcd0d[319]](methods[_0x8694x21[_0xcd0d[85]]])){_0x8694x23=wait[_0xcd0d[120]](methods[_0x8694x21[_0xcd0d[85]]],_0x8694x20,_0x8694x21)}else {_0x8694x23=wait[_0xcd0d[120]](methods[_0xcd0d[291]],_0x8694x20,_0x8694x21)};if(_0x8694x23[_0xcd0d[188]]===200&&_0x8694x23[_0xcd0d[135]]!==_0xcd0d[139]){var _0x8694x4c=getTargetBySource(_0x8694x40,_0x8694x46,_0x8694x23[_0xcd0d[140]]);if(!_0x8694x4c){if(_0x8694x21[_0xcd0d[85]]===_0xcd0d[127]){if(_0x8694x21[_0xcd0d[130]]>0){_0x8694x4c=getTargetBySource(_0x8694x40,_0x8694x46,_0xcd0d[182]);if(!_0x8694x4c){_0x8694x4c=_0x8694x46}}};if(_0x8694x21[_0xcd0d[85]]===_0xcd0d[174]&&_0x8694x21[_0xcd0d[130]]>0){_0x8694x4c=_0x8694x46}};_0x8694x46=_0x8694x4c}else {_0x8694x46=null}}else {_0x8694x46=null}}catch(err){console[_0xcd0d[33]](err)}}while(_0x8694x46);;_0x8694x20[_0xcd0d[288]]();console[_0xcd0d[33]](_0xcd0d[321])}};_0x8694x20[_0xcd0d[322]]()}function main(_0x8694x20){_0x8694x20[_0xcd0d[28]](_0xcd0d[27],function(_0x8694x1e){console[_0xcd0d[33]](_0xcd0d[323],_0x8694x1e)});_0x8694x20[_0xcd0d[28]](_0xcd0d[29],function(){console[_0xcd0d[33]](_0xcd0d[324])});_0x8694x20[_0xcd0d[28]](_0xcd0d[288],function(){if(_0x8694x20[_0xcd0d[102]]){_0x8694x20[_0xcd0d[102]]=false;console[_0xcd0d[33]](_0xcd0d[325]);wait[_0xcd0d[326]](xfinally,_0x8694x20)}else {process[_0xcd0d[39]]({message:_0xcd0d[327],uniqueid:_0x8694x20[_0xcd0d[83]],leaveAt:moment()[_0xcd0d[32]](_0xcd0d[97])});console[_0xcd0d[33]](_0xcd0d[328])}});_0x8694x20[_0xcd0d[28]](_0xcd0d[107],function(_0x8694x23){});_0x8694x20[_0xcd0d[28]](_0xcd0d[329],function(_0x8694x4f){console[_0xcd0d[33]](_0x8694x4f);console[_0xcd0d[33]](_0xcd0d[330]+_0x8694x4f[_0xcd0d[331]]+_0xcd0d[332]+_0x8694x4f[_0xcd0d[333]]);var _0x8694x50={network:_0x8694x4f[_0xcd0d[334]],network_script:_0x8694x4f[_0xcd0d[335]],request:_0x8694x4f[_0xcd0d[336]],channel:_0x8694x4f[_0xcd0d[337]],language:_0x8694x4f[_0xcd0d[338]],type:_0x8694x4f[_0xcd0d[339]],uniqueid:_0x8694x4f[_0xcd0d[333]],version:_0x8694x4f[_0xcd0d[340]],callerid:_0x8694x4f[_0xcd0d[331]],calleridname:_0x8694x4f[_0xcd0d[341]],callingpres:_0x8694x4f[_0xcd0d[342]],callingani2:_0x8694x4f[_0xcd0d[343]],callington:_0x8694x4f[_0xcd0d[344]],callingtns:_0x8694x4f[_0xcd0d[345]],dnid:_0x8694x4f[_0xcd0d[346]],rdnis:_0x8694x4f[_0xcd0d[347]],context:_0x8694x4f[_0xcd0d[348]],extension:_0x8694x4f[_0xcd0d[349]],priority:_0x8694x4f[_0xcd0d[350]],enhanced:_0x8694x4f[_0xcd0d[351]],accountcode:_0x8694x4f[_0xcd0d[352]],threadid:_0x8694x4f[_0xcd0d[353]],project_name:_0x8694x4f[_0xcd0d[354]],joinAt:moment()[_0xcd0d[32]](_0xcd0d[97]),message:_0xcd0d[201]};process[_0xcd0d[39]](_0x8694x50);if(_0x8694x4f[_0xcd0d[354]]){SquareProject[_0xcd0d[240]]({where:{name:_0x8694x4f[_0xcd0d[354]]},attributes:[_0xcd0d[211],_0xcd0d[356]]})[_0xcd0d[78]](function(_0x8694x3c){if(_0x8694x3c){if(_0x8694x3c[_0xcd0d[356]]){xml[_0xcd0d[359]](_0x8694x3c[_0xcd0d[356]],{normalizeTags:true,explicitArray:false},function(_0x8694x1e,_0x8694x2b){var _0x8694x40=_0x8694x2b[_0xcd0d[357]][_0xcd0d[160]];if(_0x8694x40){_0x8694x20[_0xcd0d[160]]=_0x8694x40;_0x8694x20[_0xcd0d[102]]=true;_0x8694x20[_0xcd0d[83]]=_0x8694x4f[_0xcd0d[333]];_0x8694x20[_0xcd0d[192]]=_0x8694x4f[_0xcd0d[331]];_0x8694x20[_0xcd0d[193]]=_0x8694x4f[_0xcd0d[341]];_0x8694x20[_0xcd0d[194]]=_0x8694x4f[_0xcd0d[348]];_0x8694x20[_0xcd0d[195]]=_0x8694x4f[_0xcd0d[349]];_0x8694x20[_0xcd0d[196]]=_0x8694x4f[_0xcd0d[350]];_0x8694x20[_0xcd0d[197]]=_0x8694x4f[_0xcd0d[352]];_0x8694x20[_0xcd0d[198]]=_0x8694x4f[_0xcd0d[346]];_0x8694x20[_0xcd0d[86]]=_0x8694x4f[_0xcd0d[354]];_0x8694x20[_0xcd0d[317]]=getVertices(_0x8694x40);wait[_0xcd0d[326]](xstart,_0x8694x20)}else {console[_0xcd0d[33]](_0xcd0d[358]);_0x8694x20[_0xcd0d[322]]()}})}else {console[_0xcd0d[33]](_0xcd0d[360]);_0x8694x20[_0xcd0d[322]]()}}else {console[_0xcd0d[33]](_0xcd0d[361]);_0x8694x20[_0xcd0d[322]]()}})[_0xcd0d[105]](function(_0x8694x1e){console[_0xcd0d[33]](_0xcd0d[355],_0x8694x1e);_0x8694x20[_0xcd0d[322]]()})}else {console[_0xcd0d[33]](_0xcd0d[362]);_0x8694x20[_0xcd0d[322]]()}})}function splitInterval(_0x8694x34){var _0x8694x52={};var _0x8694x36=_0x8694x34[_0xcd0d[95]](_0xcd0d[60]);var _0x8694x53;_0x8694x36[_0xcd0d[121]](function(_0x8694x54,_0x8694x2e){switch(_0x8694x2e){case 0:if(_0x8694x54!==_0xcd0d[363]){_0x8694x53=_0x8694x54[_0xcd0d[95]](_0xcd0d[146]);_0x8694x52[_0xcd0d[364]]=moment(_0x8694x53[0],_0xcd0d[365]);_0x8694x52[_0xcd0d[366]]=moment(_0x8694x53[1],_0xcd0d[365])}else {_0x8694x52[_0xcd0d[364]]=null;_0x8694x52[_0xcd0d[366]]=null};break;case 1:if(_0x8694x54!==_0xcd0d[363]){_0x8694x53=_0x8694x54[_0xcd0d[95]](_0xcd0d[146]);_0x8694x52[_0xcd0d[367]]=weekDaysCollection[_0x8694x53[0]];_0x8694x52[_0xcd0d[368]]=_0x8694x53[1]?weekDaysCollection[_0x8694x53[1]]:null}else {_0x8694x52[_0xcd0d[367]]=null;_0x8694x52[_0xcd0d[368]]=null};break;case 2:if(_0x8694x54!==_0xcd0d[363]){_0x8694x53=_0x8694x54[_0xcd0d[95]](_0xcd0d[146]);_0x8694x52[_0xcd0d[369]]=_0x8694x53[0];_0x8694x52[_0xcd0d[370]]=_0x8694x53[1]?_0x8694x53[1]:null}else {_0x8694x52[_0xcd0d[369]]=null;_0x8694x52[_0xcd0d[370]]=null};break;case 3:if(_0x8694x54!==_0xcd0d[363]){_0x8694x53=_0x8694x54[_0xcd0d[95]](_0xcd0d[146]);_0x8694x52[_0xcd0d[371]]=monthsCollection[_0x8694x53[0]];_0x8694x52[_0xcd0d[372]]=_0x8694x53[1]?monthsCollection[_0x8694x53[1]]:null}else {_0x8694x52[_0xcd0d[371]]=null;_0x8694x52[_0xcd0d[372]]=null};break;default:}});return _0x8694x52}function isIntervalValid(_0x8694x34){var _0x8694x56=moment()[_0xcd0d[32]](_0xcd0d[365]);var _0x8694x57=moment()[_0xcd0d[32]](_0xcd0d[373]);var _0x8694x58=moment()[_0xcd0d[32]](_0xcd0d[374]);var _0x8694x59=moment()[_0xcd0d[32]](_0xcd0d[375]);console[_0xcd0d[33]](_0xcd0d[376],_0x8694x56,_0xcd0d[377],_0x8694x57,_0xcd0d[378],_0x8694x58,_0xcd0d[379],_0x8694x59);console[_0xcd0d[33]](_0xcd0d[380]);console[_0xcd0d[33]](_0xcd0d[381],moment(_0x8694x34[_0xcd0d[364]],_0xcd0d[365])[_0xcd0d[32]](_0xcd0d[365]),_0xcd0d[382],moment(_0x8694x34[_0xcd0d[366]],_0xcd0d[365])[_0xcd0d[32]](_0xcd0d[365]));console[_0xcd0d[33]](_0xcd0d[383],_0x8694x34[_0xcd0d[367]],_0xcd0d[382],_0x8694x34[_0xcd0d[368]]);console[_0xcd0d[33]](_0xcd0d[384],_0x8694x34[_0xcd0d[369]],_0xcd0d[382],_0x8694x34[_0xcd0d[370]]);console[_0xcd0d[33]](_0xcd0d[385],_0x8694x34[_0xcd0d[371]],_0xcd0d[382],_0x8694x34[_0xcd0d[372]]);var _0x8694x5a,_0x8694x5b,_0x8694x5c,_0x8694x5d;var _0x8694x5e=[1,2,3,4,5,6,7,8,9,10,11,12];var _0x8694x5f=[1,2,3,4,5,6,7];var _0x8694x60=[];for(var _0x8694x61=1;_0x8694x61<=31;_0x8694x61++){_0x8694x60[_0xcd0d[386]](_0x8694x61)};_0x8694x5a=(_0x8694x34[_0xcd0d[364]]&&_0x8694x34[_0xcd0d[366]])?moment(_0x8694x56,_0xcd0d[365])[_0xcd0d[387]](moment(_0x8694x34[_0xcd0d[364]],_0xcd0d[365]),moment(_0x8694x34[_0xcd0d[366]],_0xcd0d[365])):true;if(_0x8694x34[_0xcd0d[367]]){if(_0x8694x34[_0xcd0d[368]]){var _0x8694x62=_[_0xcd0d[212]](_0x8694x5f,function(_0x8694x2d){return (_0x8694x2d>=_0x8694x34[_0xcd0d[367]])&&(_0x8694x2d<=_0x8694x34[_0xcd0d[368]])});console[_0xcd0d[33]](_0xcd0d[388],_0x8694x62);_0x8694x5b=(_0x8694x62[_0xcd0d[389]](parseInt(_0x8694x57))!== -1)?true:false}else {_0x8694x5b=(parseInt(_0x8694x57)===_0x8694x34[_0xcd0d[367]])?true:false}}else {_0x8694x5b=true};if(_0x8694x34[_0xcd0d[369]]){if(_0x8694x34[_0xcd0d[370]]){var _0x8694x63=_[_0xcd0d[212]](_0x8694x60,function(_0x8694x2d){return (_0x8694x2d>=_0x8694x34[_0xcd0d[369]])&&(_0x8694x2d<=_0x8694x34[_0xcd0d[370]])});console[_0xcd0d[33]](_0xcd0d[390],_0x8694x63);_0x8694x5c=(_0x8694x63[_0xcd0d[389]](parseInt(_0x8694x58))!== -1)?true:false}else {_0x8694x5c=(parseInt(_0x8694x58)===_0x8694x34[_0xcd0d[369]])?true:false}}else {_0x8694x5c=true};if(_0x8694x34[_0xcd0d[371]]){if(_0x8694x34[_0xcd0d[372]]){var _0x8694x64=_[_0xcd0d[212]](_0x8694x5e,function(_0x8694x2d){return (_0x8694x2d>=_0x8694x34[_0xcd0d[371]])&&(_0x8694x2d<=_0x8694x34[_0xcd0d[372]])});console[_0xcd0d[33]](_0xcd0d[391],_0x8694x64);_0x8694x5d=(_0x8694x64[_0xcd0d[389]](parseInt(_0x8694x59))!== -1)?true:false}else {_0x8694x5d=(parseInt(_0x8694x59)===_0x8694x34[_0xcd0d[371]])?true:false}}else {_0x8694x5d=true};console[_0xcd0d[33]](_0xcd0d[392],_0x8694x5a,_0xcd0d[393],_0x8694x5b,_0xcd0d[394],_0x8694x5c,_0xcd0d[395],_0x8694x5d);return _0x8694x5a&&_0x8694x5b&&_0x8694x5c&&_0x8694x5d}function setVariable(_0x8694x20,_0x8694x66,_0x8694x43,_0x8694x22){console[_0xcd0d[33]](_0xcd0d[396]);console[_0xcd0d[33]](_0xcd0d[397]+_0x8694x66+_0xcd0d[398],_0x8694x43);_0x8694x20[_0xcd0d[39]](util[_0xcd0d[32]](_0xcd0d[203],_0x8694x66,_0x8694x43),function(_0x8694x1e,_0x8694x23){if(_0x8694x22){_0x8694x22(_0x8694x1e,_0x8694x23)}})}function getVariableName(_0x8694x68){if(!collections[_0xcd0d[329]]){getVariables(false)};var _0x8694x49={name:_0xcd0d[399]};if(_0x8694x68){_0x8694x49=_[_0xcd0d[51]](collections[_0xcd0d[329]],{id:parseInt(_0x8694x68)})};return _0x8694x49[_0xcd0d[54]]}function setVariablesMatrix(_0x8694x20,_0x8694x21,_0x8694x22,_0x8694x3e){var _0x8694x2c=getVariableName(_0x8694x21[_0xcd0d[115]]);_[_0xcd0d[121]](_0x8694x3e,function(_0x8694x6a,_0x8694x2e){_[_0xcd0d[401]](_0x8694x6a,function(_0x8694x43,_0x8694x44){wait[_0xcd0d[120]](setVariable,_0x8694x20,_0x8694x2c+_0xcd0d[117]+_0x8694x2e+_0xcd0d[400]+_0x8694x44+_0xcd0d[118],_0xcd0d[119]+_0x8694x43+_0xcd0d[119])})})}function getVariable(_0x8694x20,_0x8694x66,_0x8694x22){_0x8694x20[_0xcd0d[405]](_0x8694x66,function(_0x8694x1e,_0x8694x23){if(_0x8694x23[_0xcd0d[188]]===200&&_0x8694x23[_0xcd0d[135]]!==_0xcd0d[143]){_0x8694x23[_0xcd0d[140]]=_0x8694x23[_0xcd0d[135]][_0xcd0d[315]](_0x8694x23[_0xcd0d[135]][_0xcd0d[403]](_0xcd0d[402])+1,_0x8694x23[_0xcd0d[135]][_0xcd0d[403]](_0xcd0d[404]))}else {_0x8694x23[_0xcd0d[140]]=_0xcd0d[73]};_0x8694x22(null,_0x8694x23)})}function getFilePath(_0x8694x68){if(!collections[_0xcd0d[406]]){getSounds(false)};return Settings[_0xcd0d[240]]()[_0xcd0d[78]](function(_0x8694x2b){if(_0x8694x68!==_0xcd0d[139]){if(_0x8694x2b){var _0x8694x6d=_[_0xcd0d[51]](collections[_0xcd0d[406]],{id:parseInt(_0x8694x68)});return util[_0xcd0d[32]](_0xcd0d[407],_0x8694x2b[_0xcd0d[408]]||_0xcd0d[409],_0x8694x6d[_0xcd0d[410]])};return _0xcd0d[73]}else {return _0xcd0d[73]}})[_0xcd0d[105]](function(_0x8694x1e){console[_0xcd0d[33]](_0x8694x1e)})}function getUsers(_0x8694x6f){return User[_0xcd0d[412]]()[_0xcd0d[78]](function(_0x8694x2b){collections[_0xcd0d[49]]=_[_0xcd0d[411]](_0x8694x2b);if(_0x8694x6f){synchUpdates(_0xcd0d[19],_0xcd0d[49],_0xcd0d[211])}})[_0xcd0d[105]](function(_0x8694x1e){console[_0xcd0d[33]](_0x8694x1e)})}function getQueues(_0x8694x6f){return VoiceQueue[_0xcd0d[412]]()[_0xcd0d[78]](function(_0x8694x2b){collections[_0xcd0d[69]]=_[_0xcd0d[411]](_0x8694x2b);if(_0x8694x6f){synchUpdates(_0xcd0d[20],_0xcd0d[69],_0xcd0d[54])}})[_0xcd0d[105]](function(_0x8694x1e){console[_0xcd0d[33]](_0x8694x1e)})}function getVariables(_0x8694x6f){return Variable[_0xcd0d[412]]()[_0xcd0d[78]](function(_0x8694x2b){collections[_0xcd0d[329]]=_[_0xcd0d[411]](_0x8694x2b);if(_0x8694x6f){synchUpdates(_0xcd0d[16],_0xcd0d[329],_0xcd0d[211])}})[_0xcd0d[105]](function(_0x8694x1e){console[_0xcd0d[33]](_0x8694x1e)})}function getDbConnections(_0x8694x6f){return SquareOdbc[_0xcd0d[412]]()[_0xcd0d[78]](function(_0x8694x2b){collections[_0xcd0d[267]]=_[_0xcd0d[411]](_0x8694x2b);if(_0x8694x6f){synchUpdates(_0xcd0d[17],_0xcd0d[267],_0xcd0d[211])}})[_0xcd0d[105]](function(_0x8694x1e){console[_0xcd0d[33]](_0x8694x1e)})}function getIntervals(_0x8694x6f){return Interval[_0xcd0d[412]]()[_0xcd0d[78]](function(_0x8694x2b){collections[_0xcd0d[208]]=_[_0xcd0d[411]](_0x8694x2b);if(_0x8694x6f){synchUpdates(_0xcd0d[21],_0xcd0d[208],_0xcd0d[211])}})[_0xcd0d[105]](function(_0x8694x1e){console[_0xcd0d[33]](_0x8694x1e)})}function getProjects(_0x8694x6f){return SquareProject[_0xcd0d[412]]()[_0xcd0d[78]](function(_0x8694x2b){collections[_0xcd0d[253]]=_[_0xcd0d[411]](_0x8694x2b);if(_0x8694x6f){synchUpdates(_0xcd0d[14],_0xcd0d[253],_0xcd0d[211])}})[_0xcd0d[105]](function(_0x8694x1e){console[_0xcd0d[33]](_0x8694x1e)})}function getSounds(_0x8694x6f){return Sound[_0xcd0d[412]]()[_0xcd0d[78]](function(_0x8694x2b){collections[_0xcd0d[406]]=_[_0xcd0d[411]](_0x8694x2b);if(_0x8694x6f){synchUpdates(_0xcd0d[22],_0xcd0d[406],_0xcd0d[211])}})[_0xcd0d[105]](function(_0x8694x1e){console[_0xcd0d[33]](_0x8694x1e)})}function synchUpdates(_0x8694x77,_0x8694x78,_0x8694x44){process[_0xcd0d[39]]({message:_0xcd0d[413],model:_0x8694x77,collection:_0x8694x78,key:_0x8694x44});process[_0xcd0d[28]](_0xcd0d[104],function(_0x8694x3e){switch(_0x8694x3e[_0xcd0d[104]]){case _0xcd0d[416]:updateCollection(_0x8694x3e[_0xcd0d[414]],_0x8694x3e[_0xcd0d[285]],_0x8694x3e[_0xcd0d[415]]);break;case _0xcd0d[418]:_[_0xcd0d[417]](collections[_0x8694x3e[_0xcd0d[414]]],_0x8694x3e[_0xcd0d[285]]);break;default:}})}function updateCollection(_0x8694x78,_0x8694x7a,_0x8694x7b){var _0x8694x7c=_[_0xcd0d[51]](collections[_0x8694x78],_0x8694x7a);if(_0x8694x7c){_[_0xcd0d[419]](_0x8694x7c,_0x8694x7b)}else {collections[_0x8694x78][_0xcd0d[420]](_0x8694x7b)}}function getPort(){return function(){return Settings[_0xcd0d[240]]()[_0xcd0d[78]](function(_0x8694x2b){if(_0x8694x2b){return _0x8694x2b[_0xcd0d[421]]}})[_0xcd0d[105]](function(_0x8694x1e){console[_0xcd0d[33]](_0x8694x1e)})}}Promise[_0xcd0d[425]]([])[_0xcd0d[78]](getPort())[_0xcd0d[78]](function(_0x8694x7e){agi[_0xcd0d[424]](main)[_0xcd0d[423]](_0x8694x7e||4573);getUsers(true);getQueues(true);getVariables(true);getIntervals(true);getProjects(true);getSounds(true);getDbConnections(true)})[_0xcd0d[105]](function(_0x8694x1e){console[_0xcd0d[27]](_0xcd0d[422],_0x8694x1e)}) \ No newline at end of file diff --git a/server/config/agi/index.js b/server/config/agi/index.js index fbad395..fca9e4b 100644 --- a/server/config/agi/index.js +++ b/server/config/agi/index.js @@ -1 +1 @@ -var _0x4b17=["\x63\x68\x69\x6C\x64\x5F\x70\x72\x6F\x63\x65\x73\x73","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x65\x78\x70\x6F\x72\x74\x73","\x65\x72\x72\x6F\x72","\x6F\x6E","\x63\x6C\x6F\x73\x65","\x41\x47\x49\x20\x53\x45\x52\x56\x45\x52\x20\x45\x58\x49\x54\x45\x44\x20\x57\x49\x54\x48\x20\x43\x4F\x44\x45\x20\x25\x73","\x66\x6F\x72\x6D\x61\x74","\x6C\x6F\x67","\x6D\x65\x73\x73\x61\x67\x65","\x45\x72\x72\x6F\x72\x20\x73\x61\x76\x69\x6E\x67\x20\x65\x78\x69\x74\x20\x74\x69\x6D\x65\x20\x66\x72\x6F\x6D\x20\x49\x56\x52","\x63\x61\x74\x63\x68","\x6C\x65\x61\x76\x65\x41\x74","\x75\x6E\x69\x71\x75\x65\x69\x64","\x75\x70\x64\x61\x74\x65","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65","\x45\x72\x72\x6F\x72\x20\x73\x61\x76\x69\x6E\x67\x20\x65\x6E\x74\x65\x72\x20\x74\x69\x6D\x65\x20\x66\x6F\x72\x20\x49\x56\x52","\x63\x72\x65\x61\x74\x65","\x45\x72\x72\x6F\x72\x20\x73\x61\x76\x69\x6E\x67\x20","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x3A","\x6E\x6F\x64\x65","\x20\x62\x6C\x6F\x63\x6B\x20\x6C\x6F\x67","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65\x44\x65\x74\x61\x69\x6C","\x64\x65\x74\x61\x69\x6C","\x73\x79\x6E\x63\x68","\x2F\x61\x67\x69","\x66\x6F\x72\x6B","\x65\x78\x69\x74","\x6B\x69\x6C\x6C","\x6B\x65\x79","\x75\x70\x64\x61\x74\x65\x43\x6F\x6C\x6C\x65\x63\x74\x69\x6F\x6E","\x63\x6F\x6C\x6C\x65\x63\x74\x69\x6F\x6E","\x73\x65\x6E\x64","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x6D\x6F\x64\x65\x6C","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x72\x65\x6D\x6F\x76\x65\x46\x72\x6F\x6D\x43\x6F\x6C\x6C\x65\x63\x74\x69\x6F\x6E","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79"];var cp=require(_0x4b17[0]);var util=require(_0x4b17[1]);var models=require(_0x4b17[2]);module[_0x4b17[3]]=function(){var _0x3bfbx4=cp[_0x4b17[28]](__dirname+_0x4b17[27])[_0x4b17[5]](_0x4b17[10],function(_0x3bfbx7){switch(_0x3bfbx7[_0x4b17[10]]){case _0x4b17[15]:return models[_0x4b17[16]][_0x4b17[15]]({leaveAt:_0x3bfbx7[_0x4b17[13]]},{where:{uniqueid:_0x3bfbx7[_0x4b17[14]]},individualHooks:true})[_0x4b17[12]](function(_0x3bfbx5){console[_0x4b17[9]](_0x4b17[11],_0x3bfbx5)});case _0x4b17[18]:delete _0x3bfbx7[_0x4b17[10]];return models[_0x4b17[16]][_0x4b17[18]](_0x3bfbx7)[_0x4b17[12]](function(_0x3bfbx5){console[_0x4b17[9]](_0x4b17[17],_0x3bfbx5)});case _0x4b17[25]:delete _0x3bfbx7[_0x4b17[10]];return models[_0x4b17[24]][_0x4b17[18]](_0x3bfbx7)[_0x4b17[12]](function(_0x3bfbx5){console[_0x4b17[9]](_0x4b17[19]+_0x3bfbx7[_0x4b17[20]]+_0x4b17[21]+_0x3bfbx7[_0x4b17[22]]+_0x4b17[23],_0x3bfbx5)});case _0x4b17[26]:synchCollection(_0x3bfbx7,_0x3bfbx4);break;default:}})[_0x4b17[5]](_0x4b17[6],function(_0x3bfbx6){console[_0x4b17[9]](util[_0x4b17[8]](_0x4b17[7],_0x3bfbx6))})[_0x4b17[5]](_0x4b17[4],function(_0x3bfbx5){console[_0x4b17[4]](_0x3bfbx5)});process[_0x4b17[5]](_0x4b17[29],function(_0x3bfbx6){_0x3bfbx4[_0x4b17[30]]()})};function synchCollection(_0x3bfbx7,_0x3bfbx4){var _0x3bfbx9={};models[_0x3bfbx7[_0x4b17[36]]][_0x4b17[35]](function(_0x3bfbxa){_0x3bfbx9[_0x3bfbx7[_0x4b17[31]]]=_0x3bfbxa[_0x3bfbx7[_0x4b17[31]]];_0x3bfbx4[_0x4b17[34]]({message:_0x4b17[32],collection:_0x3bfbx7[_0x4b17[33]],condition:_0x3bfbx9,doc:_0x3bfbxa})});models[_0x3bfbx7[_0x4b17[36]]][_0x4b17[37]](function(_0x3bfbxa){_0x3bfbx9[_0x3bfbx7[_0x4b17[31]]]=_0x3bfbxa[_0x3bfbx7[_0x4b17[31]]];_0x3bfbx4[_0x4b17[34]]({message:_0x4b17[32],collection:_0x3bfbx7[_0x4b17[33]],condition:_0x3bfbx9,doc:_0x3bfbxa})});models[_0x3bfbx7[_0x4b17[36]]][_0x4b17[39]](function(_0x3bfbxa){_0x3bfbx9[_0x3bfbx7[_0x4b17[31]]]=_0x3bfbxa[_0x3bfbx7[_0x4b17[31]]];_0x3bfbx4[_0x4b17[34]]({message:_0x4b17[38],collection:_0x3bfbx7[_0x4b17[33]],condition:_0x3bfbx9})})} \ No newline at end of file +var _0x3da2=["\x63\x68\x69\x6C\x64\x5F\x70\x72\x6F\x63\x65\x73\x73","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x65\x78\x70\x6F\x72\x74\x73","\x65\x72\x72\x6F\x72","\x6F\x6E","\x63\x6C\x6F\x73\x65","\x41\x47\x49\x20\x53\x45\x52\x56\x45\x52\x20\x45\x58\x49\x54\x45\x44\x20\x57\x49\x54\x48\x20\x43\x4F\x44\x45\x20\x25\x73","\x66\x6F\x72\x6D\x61\x74","\x6C\x6F\x67","\x6D\x65\x73\x73\x61\x67\x65","\x45\x72\x72\x6F\x72\x20\x73\x61\x76\x69\x6E\x67\x20\x65\x78\x69\x74\x20\x74\x69\x6D\x65\x20\x66\x72\x6F\x6D\x20\x49\x56\x52","\x63\x61\x74\x63\x68","\x6C\x65\x61\x76\x65\x41\x74","\x75\x6E\x69\x71\x75\x65\x69\x64","\x75\x70\x64\x61\x74\x65","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65","\x45\x72\x72\x6F\x72\x20\x73\x61\x76\x69\x6E\x67\x20\x65\x6E\x74\x65\x72\x20\x74\x69\x6D\x65\x20\x66\x6F\x72\x20\x49\x56\x52","\x63\x72\x65\x61\x74\x65","\x45\x72\x72\x6F\x72\x20\x73\x61\x76\x69\x6E\x67\x20","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x3A","\x6E\x6F\x64\x65","\x20\x62\x6C\x6F\x63\x6B\x20\x6C\x6F\x67","\x52\x65\x70\x6F\x72\x74\x53\x71\x75\x61\x72\x65\x44\x65\x74\x61\x69\x6C","\x64\x65\x74\x61\x69\x6C","\x73\x79\x6E\x63\x68","\x2F\x61\x67\x69","\x66\x6F\x72\x6B","\x65\x78\x69\x74","\x6B\x69\x6C\x6C","\x6B\x65\x79","\x75\x70\x64\x61\x74\x65\x43\x6F\x6C\x6C\x65\x63\x74\x69\x6F\x6E","\x63\x6F\x6C\x6C\x65\x63\x74\x69\x6F\x6E","\x73\x65\x6E\x64","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x6D\x6F\x64\x65\x6C","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x72\x65\x6D\x6F\x76\x65\x46\x72\x6F\x6D\x43\x6F\x6C\x6C\x65\x63\x74\x69\x6F\x6E","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79"];var cp=require(_0x3da2[0]);var util=require(_0x3da2[1]);var models=require(_0x3da2[2]);module[_0x3da2[3]]=function(){var _0xaa49x4=cp[_0x3da2[28]](__dirname+_0x3da2[27])[_0x3da2[5]](_0x3da2[10],function(_0xaa49x7){switch(_0xaa49x7[_0x3da2[10]]){case _0x3da2[15]:return models[_0x3da2[16]][_0x3da2[15]]({leaveAt:_0xaa49x7[_0x3da2[13]]},{where:{uniqueid:_0xaa49x7[_0x3da2[14]]},individualHooks:true})[_0x3da2[12]](function(_0xaa49x5){console[_0x3da2[9]](_0x3da2[11],_0xaa49x5)});case _0x3da2[18]:delete _0xaa49x7[_0x3da2[10]];return models[_0x3da2[16]][_0x3da2[18]](_0xaa49x7)[_0x3da2[12]](function(_0xaa49x5){console[_0x3da2[9]](_0x3da2[17],_0xaa49x5)});case _0x3da2[25]:delete _0xaa49x7[_0x3da2[10]];return models[_0x3da2[24]][_0x3da2[18]](_0xaa49x7)[_0x3da2[12]](function(_0xaa49x5){console[_0x3da2[9]](_0x3da2[19]+_0xaa49x7[_0x3da2[20]]+_0x3da2[21]+_0xaa49x7[_0x3da2[22]]+_0x3da2[23],_0xaa49x5)});case _0x3da2[26]:synchCollection(_0xaa49x7,_0xaa49x4);break;default:}})[_0x3da2[5]](_0x3da2[6],function(_0xaa49x6){console[_0x3da2[9]](util[_0x3da2[8]](_0x3da2[7],_0xaa49x6))})[_0x3da2[5]](_0x3da2[4],function(_0xaa49x5){console[_0x3da2[4]](_0xaa49x5)});process[_0x3da2[5]](_0x3da2[29],function(_0xaa49x6){_0xaa49x4[_0x3da2[30]]()})};function synchCollection(_0xaa49x7,_0xaa49x4){var _0xaa49x9={};models[_0xaa49x7[_0x3da2[36]]][_0x3da2[35]](function(_0xaa49xa){_0xaa49x9[_0xaa49x7[_0x3da2[31]]]=_0xaa49xa[_0xaa49x7[_0x3da2[31]]];_0xaa49x4[_0x3da2[34]]({message:_0x3da2[32],collection:_0xaa49x7[_0x3da2[33]],condition:_0xaa49x9,doc:_0xaa49xa})});models[_0xaa49x7[_0x3da2[36]]][_0x3da2[37]](function(_0xaa49xa){_0xaa49x9[_0xaa49x7[_0x3da2[31]]]=_0xaa49xa[_0xaa49x7[_0x3da2[31]]];_0xaa49x4[_0x3da2[34]]({message:_0x3da2[32],collection:_0xaa49x7[_0x3da2[33]],condition:_0xaa49x9,doc:_0xaa49xa})});models[_0xaa49x7[_0x3da2[36]]][_0x3da2[39]](function(_0xaa49xa){_0xaa49x9[_0xaa49x7[_0x3da2[31]]]=_0xaa49xa[_0xaa49x7[_0x3da2[31]]];_0xaa49x4[_0x3da2[34]]({message:_0x3da2[38],collection:_0xaa49x7[_0x3da2[33]],condition:_0xaa49x9})})} \ No newline at end of file diff --git a/server/config/ami/action.js b/server/config/ami/action.js index d21623c..420e688 100644 --- a/server/config/ami/action.js +++ b/server/config/ami/action.js @@ -1 +1 @@ -var _0xf0a8=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6D\x6F\x6D\x65\x6E\x74","\x75\x74\x69\x6C","\x62\x6C\x75\x65\x62\x69\x72\x64","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x4D\x65\x6D\x62\x65\x72","\x41\x63\x74\x69\x6F\x6E","\x55\x73\x65\x72","\x55\x73\x65\x72\x48\x61\x73\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\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\x46\x61\x78\x51\x75\x65\x75\x65","\x55\x73\x65\x72\x48\x61\x73\x53\x6D\x73\x51\x75\x65\x75\x65","\x41\x63\x74\x69\x6F\x6E\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x76\x6F\x69\x63\x65","\x63\x68\x61\x74","\x6D\x61\x69\x6C","\x66\x61\x78","\x73\x6D\x73","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\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","\x75\x70\x64\x61\x74\x65","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x61\x6C\x6C","\x74\x68\x65\x6E","\x63\x68\x61\x6E\x6E\x65\x6C","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x69\x6E\x74\x65\x72\x66\x61\x63\x65","\x74\x79\x70\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x62\x65\x66\x6F\x72\x65\x43\x72\x65\x61\x74\x65","\x6E\x61\x6D\x65","\x25\x73\x2F\x25\x73","\x53\x49\x50","\x50\x41\x55\x53\x45","\x62\x6F\x64\x79","\x64\x61\x74\x61\x31","\x64\x61\x74\x61\x32","\x64\x61\x74\x61\x33","\x64\x61\x74\x61\x34","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x51\x75\x65\x75\x65\x50\x61\x75\x73\x65","\x61\x63\x74\x69\x6F\x6E","\x70\x72\x6F\x6D\x69\x73\x69\x66\x79","\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","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x4C\x4F\x47\x49\x4E","\x51\x75\x65\x75\x65\x41\x64\x64","\x67\x65\x74\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73","\x51\x75\x65\x75\x65\x52\x65\x6D\x6F\x76\x65","\x69\x64","\x53\x49\x50\x2F\x25\x73","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x71\x75\x65\x75\x65\x73","\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","\x64\x65\x73\x74\x72\x6F\x79","\x71\x75\x65\x75\x65\x49\x64","\x55\x6E\x6B\x6E\x6F\x77\x6E\x20\x41\x67\x65\x6E\x74","\x61\x67\x65\x6E\x74","\x66\x69\x6E\x64\x42\x79\x49\x64","\x70\x61\x75\x73\x65","\x75\x6E\x70\x61\x75\x73\x65","\x6C\x6F\x67\x69\x6E","\x6C\x6F\x67\x6F\x75\x74","\x55\x6E\x6B\x6E\x6F\x77\x6E\x20\x41\x63\x74\x69\x6F\x6E","\x65\x78\x70\x6F\x72\x74\x73"];_0xf0a8[0];var moment=require(_0xf0a8[1]);var util=require(_0xf0a8[2]);var Promise=require(_0xf0a8[3]);var Sequelize=require(_0xf0a8[5])[_0xf0a8[4]];var ReportMember=require(_0xf0a8[5])[_0xf0a8[6]];var _Action=require(_0xf0a8[5])[_0xf0a8[7]];var Agent=require(_0xf0a8[5])[_0xf0a8[8]];var UserHasVoiceQueue=require(_0xf0a8[5])[_0xf0a8[9]];var UserHasChatQueue=require(_0xf0a8[5])[_0xf0a8[10]];var UserHasMailQueue=require(_0xf0a8[5])[_0xf0a8[11]];var UserHasFaxQueue=require(_0xf0a8[5])[_0xf0a8[12]];var UserHasSmsQueue=require(_0xf0a8[5])[_0xf0a8[13]];function Action(_0x190cxe){console[_0xf0a8[15]](_0xf0a8[14]);var _0x190cxf=[_0xf0a8[16],_0xf0a8[17],_0xf0a8[18],_0xf0a8[19],_0xf0a8[20]];_Action[_0xf0a8[21]](function(_0x190cx10,_0x190cx11){return _0x190cx2f(_0x190cx10,_0x190cx11,_0x190cxe)});ReportMember[_0xf0a8[34]](function(_0x190cx10,_0x190cx11){return ReportMember[_0xf0a8[33]]({where:{channel:_0x190cx10[_0xf0a8[29]],membername:_0x190cx10[_0xf0a8[30]],interface:_0x190cx10[_0xf0a8[31]],type:_0x190cx10[_0xf0a8[32]],exitAt:null}})[_0xf0a8[28]](function(_0x190cx12){var _0x190cx13=[];_0x190cx12[_0xf0a8[26]](function(_0x190cx14){_0x190cx13[_0xf0a8[25]](_0x190cx14[_0xf0a8[24]]({exitAt:moment()[_0xf0a8[23]](_0xf0a8[22])}))});return Promise[_0xf0a8[27]](_0x190cx13)})});function _0x190cx15(_0x190cx11,_0x190cx16){return function(_0x190cx17){return Promise[_0xf0a8[48]](_0x190cxe[_0xf0a8[47]])({action:_0xf0a8[46],interface:util[_0xf0a8[23]](_0xf0a8[36],_0xf0a8[37],_0x190cx17[_0xf0a8[35]]),paused:true,reason:_0x190cx11[_0xf0a8[39]][_0xf0a8[32]]||_0x190cx16[_0xf0a8[40]]})[_0xf0a8[28]](function(_0x190cx1a){return _0x190cx17[_0xf0a8[24]]({voicePause:true,chatPause:true,mailPause:true,faxPause:true,smsPause:true,pauseType:_0x190cx11[_0xf0a8[39]][_0xf0a8[32]]||_0x190cx16[_0xf0a8[40]],lastPauseAt:moment()[_0xf0a8[23]](_0xf0a8[22])},{transaction:_0x190cx11[_0xf0a8[44]]||null})})[_0xf0a8[28]](function(_0x190cx17){var _0x190cx18=[];_0x190cxf[_0xf0a8[26]](function(_0x190cx19){_0x190cx18[_0xf0a8[25]]({channel:_0x190cx19,membername:_0x190cx17[_0xf0a8[35]],interface:util[_0xf0a8[23]](_0xf0a8[36],_0xf0a8[37],_0x190cx17[_0xf0a8[35]]),type:_0xf0a8[38],enterAt:moment()[_0xf0a8[23]](_0xf0a8[22]),data1:_0x190cx11[_0xf0a8[39]][_0xf0a8[32]]||_0x190cx16[_0xf0a8[40]],data2:_0x190cx16[_0xf0a8[41]],data3:_0x190cx16[_0xf0a8[42]],data4:_0x190cx16[_0xf0a8[43]]})});return ReportMember[_0xf0a8[45]](_0x190cx18,{individualHooks:true,transaction:_0x190cx11[_0xf0a8[44]]||null})})}}function _0x190cx1b(_0x190cx11,_0x190cx16){return function(_0x190cx17){if(!_0x190cx11[_0xf0a8[39]]){_0x190cx11[_0xf0a8[39]]={}};switch(_0x190cx11[_0xf0a8[39]][_0xf0a8[29]]){case _0xf0a8[16]:return Promise[_0xf0a8[48]](_0x190cxe[_0xf0a8[47]])({action:_0xf0a8[46],interface:util[_0xf0a8[23]](_0xf0a8[36],_0xf0a8[37],_0x190cx17[_0xf0a8[35]]),paused:false,reason:_0x190cx11[_0xf0a8[39]][_0xf0a8[32]]})[_0xf0a8[28]](function(){return _0x190cx17[_0xf0a8[24]]({voicePause:false},{transaction:_0x190cx11[_0xf0a8[44]]||null})})[_0xf0a8[28]](function(_0x190cx17){return ReportMember[_0xf0a8[50]]({where:{channel:_0x190cx11[_0xf0a8[39]][_0xf0a8[29]],membername:_0x190cx17[_0xf0a8[35]],interface:util[_0xf0a8[23]](_0xf0a8[36],_0xf0a8[37],_0x190cx17[_0xf0a8[35]]),type:_0xf0a8[38],exitAt:null}})})[_0xf0a8[28]](_0x190cx2c({message:_0xf0a8[49]}))[_0xf0a8[28]](function(_0x190cx1c){return _0x190cx1c[_0xf0a8[24]]({exitAt:moment()[_0xf0a8[23]](_0xf0a8[22])},{individualHooks:true,transaction:_0x190cx11[_0xf0a8[44]]||null})})[_0xf0a8[28]](function(){return _0x190cx17});case _0xf0a8[17]:;case _0xf0a8[18]:;case _0xf0a8[19]:;case _0xf0a8[20]:var _0x190cx1d={};_0x190cx1d[util[_0xf0a8[23]](_0xf0a8[51],_0x190cx11[_0xf0a8[39]][_0xf0a8[29]],_0xf0a8[52])]=false;return _0x190cx17[_0xf0a8[24]](_0x190cx1d,{transaction:_0x190cx11[_0xf0a8[44]]||null})[_0xf0a8[28]](function(_0x190cx17){return ReportMember[_0xf0a8[50]]({where:{channel:_0x190cx11[_0xf0a8[39]][_0xf0a8[29]],membername:_0x190cx17[_0xf0a8[35]],interface:util[_0xf0a8[23]](_0xf0a8[36],_0xf0a8[37],_0x190cx17[_0xf0a8[35]]),type:_0xf0a8[38],exitAt:null}})})[_0xf0a8[28]](_0x190cx2c({message:_0xf0a8[49]}))[_0xf0a8[28]](function(_0x190cx1c){return _0x190cx1c[_0xf0a8[24]]({exitAt:moment()[_0xf0a8[23]](_0xf0a8[22])},{individualHooks:true,transaction:_0x190cx11[_0xf0a8[44]]||null})})[_0xf0a8[28]](function(){return _0x190cx17});default:var _0x190cx16=Promise[_0xf0a8[48]](_0x190cxe[_0xf0a8[47]]);return _0x190cx16({action:_0xf0a8[46],interface:util[_0xf0a8[23]](_0xf0a8[36],_0xf0a8[37],_0x190cx17[_0xf0a8[35]]),paused:false})[_0xf0a8[54]](function(_0x190cx21){console[_0xf0a8[53]](_0x190cx21)})[_0xf0a8[28]](function(){return _0x190cx17[_0xf0a8[24]]({voicePause:false,mailPause:false,chatPause:false,faxPause:false,smsPause:false},{transaction:_0x190cx11[_0xf0a8[44]]||null})})[_0xf0a8[28]](function(_0x190cx17){return ReportMember[_0xf0a8[33]]({where:{membername:_0x190cx17[_0xf0a8[35]],interface:util[_0xf0a8[23]](_0xf0a8[36],_0xf0a8[37],_0x190cx17[_0xf0a8[35]]),type:_0xf0a8[38],exitAt:null}})})[_0xf0a8[28]](function(_0x190cx1e){var _0x190cx1f=[];_0x190cx1e[_0xf0a8[26]](function(_0x190cx20){_0x190cx1f[_0xf0a8[25]](_0x190cx20[_0xf0a8[24]]({exitAt:moment()[_0xf0a8[23]](_0xf0a8[22])}))});return Promise[_0xf0a8[27]](_0x190cx1f)})[_0xf0a8[28]](function(){return _0x190cx17})}}}function _0x190cx22(_0x190cx11,_0x190cx16){return function(_0x190cx17){return _0x190cx17[_0xf0a8[57]]()[_0xf0a8[28]](function(_0x190cx23){var _0x190cx24=[];_0x190cx23[_0xf0a8[26]](function(_0x190cx25){_0x190cx24[_0xf0a8[25]](_0x190cxe[_0xf0a8[47]]({action:_0xf0a8[56],queue:_0x190cx25[_0xf0a8[35]],interface:util[_0xf0a8[23]](_0xf0a8[36],_0xf0a8[37],_0x190cx17[_0xf0a8[35]]),membername:_0x190cx17[_0xf0a8[35]]}))});return Promise[_0xf0a8[27]](_0x190cx24)})[_0xf0a8[28]](function(_0x190cx1a){var _0x190cx18=[];_0x190cxf[_0xf0a8[26]](function(_0x190cx19){_0x190cx18[_0xf0a8[25]]({channel:_0x190cx19,membername:_0x190cx17[_0xf0a8[35]],interface:util[_0xf0a8[23]](_0xf0a8[36],_0xf0a8[37],_0x190cx17[_0xf0a8[35]]),type:_0xf0a8[55],enterAt:moment()[_0xf0a8[23]](_0xf0a8[22])})});return ReportMember[_0xf0a8[45]](_0x190cx18,{individualHooks:true})})}}function _0x190cx26(_0x190cx11,_0x190cx16){return function(_0x190cx17){return _0x190cx17[_0xf0a8[57]]()[_0xf0a8[28]](function(_0x190cx23){var _0x190cx24=[];_0x190cx23[_0xf0a8[26]](function(_0x190cx25){_0x190cx24[_0xf0a8[25]](_0x190cxe[_0xf0a8[47]]({action:_0xf0a8[58],queue:_0x190cx25[_0xf0a8[35]],interface:util[_0xf0a8[23]](_0xf0a8[36],_0xf0a8[37],_0x190cx17[_0xf0a8[35]])}))});return Promise[_0xf0a8[27]](_0x190cx24)[_0xf0a8[54]](function(_0x190cx21){console[_0xf0a8[53]](_0x190cx21)})})[_0xf0a8[28]](function(_0x190cx1a){return ReportMember[_0xf0a8[33]]({where:{membername:_0x190cx17[_0xf0a8[35]],interface:util[_0xf0a8[23]](_0xf0a8[36],_0xf0a8[37],_0x190cx17[_0xf0a8[35]]),type:_0xf0a8[55],exitAt:null}})})[_0xf0a8[28]](function(_0x190cx1e){var _0x190cx1f=[];_0x190cx1e[_0xf0a8[26]](function(_0x190cx20){_0x190cx1f[_0xf0a8[25]](_0x190cx20[_0xf0a8[24]]({exitAt:moment()[_0xf0a8[23]](_0xf0a8[22])}))});return Promise[_0xf0a8[27]](_0x190cx1f)})}}function _0x190cx27(_0x190cx11,_0x190cx16){return function(_0x190cx17){var _0x190cx28=[];switch(_0x190cx11[_0xf0a8[39]][_0xf0a8[29]]){case _0xf0a8[16]:_0x190cx11[_0xf0a8[39]][_0xf0a8[62]][_0xf0a8[26]](function(_0x190cx29){_0x190cx28[_0xf0a8[25]](UserHasVoiceQueue[_0xf0a8[61]]({where:{UserId:_0x190cx17[_0xf0a8[59]],queue:_0x190cx29},defaults:{queue:_0x190cx29,location:util[_0xf0a8[23]](_0xf0a8[60],_0x190cx17[_0xf0a8[35]]),membername:_0x190cx17[_0xf0a8[35]],UserId:_0x190cx17[_0xf0a8[59]]},transaction:_0x190cx11[_0xf0a8[44]]||null}))});return Promise[_0xf0a8[27]](_0x190cx28)[_0xf0a8[28]](function(){var _0x190cx24=[];_0x190cx11[_0xf0a8[39]][_0xf0a8[62]][_0xf0a8[26]](function(_0x190cx29){_0x190cx24[_0xf0a8[25]](_0x190cxe[_0xf0a8[47]]({action:_0xf0a8[56],queue:_0x190cx29,interface:util[_0xf0a8[23]](_0xf0a8[36],_0xf0a8[37],_0x190cx17[_0xf0a8[35]]),membername:_0x190cx17[_0xf0a8[35]]}))});return Promise[_0xf0a8[27]](_0x190cx24)})[_0xf0a8[54]](function(_0x190cx21){console[_0xf0a8[53]](_0x190cx21)});case _0xf0a8[17]:_0x190cx11[_0xf0a8[39]][_0xf0a8[62]][_0xf0a8[26]](function(_0x190cx29){_0x190cx28[_0xf0a8[25]](UserHasChatQueue[_0xf0a8[61]]({where:{UserId:_0x190cx17[_0xf0a8[59]],ChatQueueId:_0x190cx29[_0xf0a8[59]]},defaults:{ChatQueueId:_0x190cx29[_0xf0a8[59]],queue:_0x190cx29[_0xf0a8[35]],UserId:_0x190cx17[_0xf0a8[59]]},transaction:_0x190cx11[_0xf0a8[44]]||null}))});return Promise[_0xf0a8[27]](_0x190cx28)[_0xf0a8[54]](function(_0x190cx21){console[_0xf0a8[15]](_0x190cx21)});case _0xf0a8[18]:_0x190cx11[_0xf0a8[39]][_0xf0a8[62]][_0xf0a8[26]](function(_0x190cx29){_0x190cx28[_0xf0a8[25]](UserHasMailQueue[_0xf0a8[61]]({where:{UserId:_0x190cx17[_0xf0a8[59]],MailQueueId:_0x190cx29[_0xf0a8[59]]},defaults:{MailQueueId:_0x190cx29[_0xf0a8[59]],queue:_0x190cx29[_0xf0a8[35]],UserId:_0x190cx17[_0xf0a8[59]]},transaction:_0x190cx11[_0xf0a8[44]]||null}))});return Promise[_0xf0a8[27]](_0x190cx28)[_0xf0a8[54]](function(_0x190cx21){console[_0xf0a8[15]](_0x190cx21)});case _0xf0a8[20]:_0x190cx11[_0xf0a8[39]][_0xf0a8[62]][_0xf0a8[26]](function(_0x190cx29){_0x190cx28[_0xf0a8[25]](UserHasSmsQueue[_0xf0a8[61]]({where:{UserId:_0x190cx17[_0xf0a8[59]],SmsQueueId:_0x190cx29[_0xf0a8[59]]},defaults:{SmsQueueId:_0x190cx29[_0xf0a8[59]],queue:_0x190cx29[_0xf0a8[35]],UserId:_0x190cx17[_0xf0a8[59]]},transaction:_0x190cx11[_0xf0a8[44]]||null}))});return Promise[_0xf0a8[27]](_0x190cx28)[_0xf0a8[54]](function(_0x190cx21){console[_0xf0a8[15]](_0x190cx21)});case _0xf0a8[19]:_0x190cx11[_0xf0a8[39]][_0xf0a8[62]][_0xf0a8[26]](function(_0x190cx29){_0x190cx28[_0xf0a8[25]](UserHasFaxQueue[_0xf0a8[61]]({where:{UserId:_0x190cx17[_0xf0a8[59]],FaxQueueId:_0x190cx29[_0xf0a8[59]]},defaults:{faxQueueId:_0x190cx29[_0xf0a8[59]],queue:_0x190cx29[_0xf0a8[35]],UserId:_0x190cx17[_0xf0a8[59]]},transaction:_0x190cx11[_0xf0a8[44]]||null}))});return Promise[_0xf0a8[27]](_0x190cx28)[_0xf0a8[54]](function(_0x190cx21){console[_0xf0a8[15]](_0x190cx21)});default:}}}function _0x190cx2a(_0x190cx11,_0x190cx16){return function(_0x190cx17){switch(_0x190cx11[_0xf0a8[39]][_0xf0a8[29]]){case _0xf0a8[16]:return UserHasVoiceQueue[_0xf0a8[65]]({where:{UserId:_0x190cx17[_0xf0a8[59]],queue:_0x190cx11[_0xf0a8[39]][_0xf0a8[64]]},transaction:_0x190cx11[_0xf0a8[44]]||null,individualHooks:true})[_0xf0a8[28]](function(){var _0x190cx2b=Promise[_0xf0a8[48]](_0x190cxe[_0xf0a8[47]]);return _0x190cx2b({action:_0xf0a8[58],queue:_0x190cx11[_0xf0a8[39]][_0xf0a8[64]],interface:util[_0xf0a8[23]](_0xf0a8[36],_0xf0a8[37],_0x190cx17[_0xf0a8[35]])})})[_0xf0a8[54]](function(_0x190cx21){console[_0xf0a8[53]](_0xf0a8[63],_0x190cx21)});case _0xf0a8[17]:return UserHasChatQueue[_0xf0a8[65]]({where:{UserId:_0x190cx17[_0xf0a8[59]],ChatQueueId:_0x190cx11[_0xf0a8[39]][_0xf0a8[66]]},transaction:_0x190cx11[_0xf0a8[44]]||null,individualHooks:true})[_0xf0a8[54]](function(_0x190cx21){console[_0xf0a8[53]](_0xf0a8[63],_0x190cx21)});case _0xf0a8[18]:return UserHasMailQueue[_0xf0a8[65]]({where:{UserId:_0x190cx17[_0xf0a8[59]],MailQueueId:_0x190cx11[_0xf0a8[39]][_0xf0a8[66]]},transaction:_0x190cx11[_0xf0a8[44]]||null,individualHooks:true})[_0xf0a8[54]](function(_0x190cx21){console[_0xf0a8[53]](_0xf0a8[63],_0x190cx21)});case _0xf0a8[20]:return UserHasSmsQueue[_0xf0a8[65]]({where:{UserId:_0x190cx17[_0xf0a8[59]],SmsQueueId:_0x190cx11[_0xf0a8[39]][_0xf0a8[66]]},transaction:_0x190cx11[_0xf0a8[44]]||null,individualHooks:true})[_0xf0a8[54]](function(_0x190cx21){console[_0xf0a8[53]](_0xf0a8[63],_0x190cx21)});case _0xf0a8[19]:return UserHasFaxQueue[_0xf0a8[65]]({where:{UserId:_0x190cx17[_0xf0a8[59]],FaxQueueId:_0x190cx11[_0xf0a8[39]][_0xf0a8[66]]},transaction:_0x190cx11[_0xf0a8[44]]||null,individualHooks:true})[_0xf0a8[54]](function(_0x190cx21){console[_0xf0a8[53]](_0xf0a8[63],_0x190cx21)});default:}}}function _0x190cx2c(_0x190cx2d){return function(_0x190cx2e){if(!_0x190cx2e){throw _0x190cx2d};return _0x190cx2e}}function _0x190cx2f(_0x190cx16,_0x190cx11,_0x190cxe){switch(_0x190cx16[_0xf0a8[35]]){case _0xf0a8[70]:return Agent[_0xf0a8[69]](_0x190cx11[_0xf0a8[39]][_0xf0a8[68]])[_0xf0a8[28]](_0x190cx2c({message:_0xf0a8[67]}))[_0xf0a8[28]](_0x190cx15(_0x190cx11,_0x190cx16));case _0xf0a8[71]:return Agent[_0xf0a8[69]](_0x190cx11[_0xf0a8[39]][_0xf0a8[68]])[_0xf0a8[28]](_0x190cx2c({message:_0xf0a8[67]}))[_0xf0a8[28]](_0x190cx1b(_0x190cx11,_0x190cx16));case _0xf0a8[72]:return Agent[_0xf0a8[69]](_0x190cx16[_0xf0a8[40]])[_0xf0a8[28]](_0x190cx2c({message:_0xf0a8[67]}))[_0xf0a8[28]](_0x190cx22(_0x190cx11,_0x190cx16));case _0xf0a8[73]:return Agent[_0xf0a8[69]](_0x190cx16[_0xf0a8[40]])[_0xf0a8[28]](_0x190cx2c({message:_0xf0a8[67]}))[_0xf0a8[28]](_0x190cx1b(_0x190cx11,_0x190cx16))[_0xf0a8[28]](_0x190cx26(_0x190cx11,_0x190cx16));case _0xf0a8[56]:return Agent[_0xf0a8[69]](_0x190cx11[_0xf0a8[39]][_0xf0a8[68]])[_0xf0a8[28]](_0x190cx2c({message:_0xf0a8[67]}))[_0xf0a8[28]](_0x190cx27(_0x190cx11,_0x190cx16));case _0xf0a8[58]:return Agent[_0xf0a8[69]](_0x190cx11[_0xf0a8[39]][_0xf0a8[68]])[_0xf0a8[28]](_0x190cx2c({message:_0xf0a8[67]}))[_0xf0a8[28]](_0x190cx2a(_0x190cx11,_0x190cx16));default:throw {message:_0xf0a8[74]}}}return {}}module[_0xf0a8[75]]=Action \ No newline at end of file +var _0xe44a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6D\x6F\x6D\x65\x6E\x74","\x75\x74\x69\x6C","\x62\x6C\x75\x65\x62\x69\x72\x64","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x4D\x65\x6D\x62\x65\x72","\x41\x63\x74\x69\x6F\x6E","\x55\x73\x65\x72","\x55\x73\x65\x72\x48\x61\x73\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\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\x46\x61\x78\x51\x75\x65\x75\x65","\x55\x73\x65\x72\x48\x61\x73\x53\x6D\x73\x51\x75\x65\x75\x65","\x41\x63\x74\x69\x6F\x6E\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x76\x6F\x69\x63\x65","\x63\x68\x61\x74","\x6D\x61\x69\x6C","\x66\x61\x78","\x73\x6D\x73","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\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","\x75\x70\x64\x61\x74\x65","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x61\x6C\x6C","\x74\x68\x65\x6E","\x63\x68\x61\x6E\x6E\x65\x6C","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x69\x6E\x74\x65\x72\x66\x61\x63\x65","\x74\x79\x70\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x62\x65\x66\x6F\x72\x65\x43\x72\x65\x61\x74\x65","\x6E\x61\x6D\x65","\x25\x73\x2F\x25\x73","\x53\x49\x50","\x50\x41\x55\x53\x45","\x62\x6F\x64\x79","\x64\x61\x74\x61\x31","\x64\x61\x74\x61\x32","\x64\x61\x74\x61\x33","\x64\x61\x74\x61\x34","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x51\x75\x65\x75\x65\x50\x61\x75\x73\x65","\x61\x63\x74\x69\x6F\x6E","\x70\x72\x6F\x6D\x69\x73\x69\x66\x79","\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","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x4C\x4F\x47\x49\x4E","\x51\x75\x65\x75\x65\x41\x64\x64","\x67\x65\x74\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73","\x51\x75\x65\x75\x65\x52\x65\x6D\x6F\x76\x65","\x69\x64","\x53\x49\x50\x2F\x25\x73","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x71\x75\x65\x75\x65\x73","\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","\x64\x65\x73\x74\x72\x6F\x79","\x71\x75\x65\x75\x65\x49\x64","\x55\x6E\x6B\x6E\x6F\x77\x6E\x20\x41\x67\x65\x6E\x74","\x61\x67\x65\x6E\x74","\x66\x69\x6E\x64\x42\x79\x49\x64","\x70\x61\x75\x73\x65","\x75\x6E\x70\x61\x75\x73\x65","\x6C\x6F\x67\x69\x6E","\x6C\x6F\x67\x6F\x75\x74","\x55\x6E\x6B\x6E\x6F\x77\x6E\x20\x41\x63\x74\x69\x6F\x6E","\x65\x78\x70\x6F\x72\x74\x73"];_0xe44a[0];var moment=require(_0xe44a[1]);var util=require(_0xe44a[2]);var Promise=require(_0xe44a[3]);var Sequelize=require(_0xe44a[5])[_0xe44a[4]];var ReportMember=require(_0xe44a[5])[_0xe44a[6]];var _Action=require(_0xe44a[5])[_0xe44a[7]];var Agent=require(_0xe44a[5])[_0xe44a[8]];var UserHasVoiceQueue=require(_0xe44a[5])[_0xe44a[9]];var UserHasChatQueue=require(_0xe44a[5])[_0xe44a[10]];var UserHasMailQueue=require(_0xe44a[5])[_0xe44a[11]];var UserHasFaxQueue=require(_0xe44a[5])[_0xe44a[12]];var UserHasSmsQueue=require(_0xe44a[5])[_0xe44a[13]];function Action(_0x6243xe){console[_0xe44a[15]](_0xe44a[14]);var _0x6243xf=[_0xe44a[16],_0xe44a[17],_0xe44a[18],_0xe44a[19],_0xe44a[20]];_Action[_0xe44a[21]](function(_0x6243x10,_0x6243x11){return _0x6243x2f(_0x6243x10,_0x6243x11,_0x6243xe)});ReportMember[_0xe44a[34]](function(_0x6243x10,_0x6243x11){return ReportMember[_0xe44a[33]]({where:{channel:_0x6243x10[_0xe44a[29]],membername:_0x6243x10[_0xe44a[30]],interface:_0x6243x10[_0xe44a[31]],type:_0x6243x10[_0xe44a[32]],exitAt:null}})[_0xe44a[28]](function(_0x6243x12){var _0x6243x13=[];_0x6243x12[_0xe44a[26]](function(_0x6243x14){_0x6243x13[_0xe44a[25]](_0x6243x14[_0xe44a[24]]({exitAt:moment()[_0xe44a[23]](_0xe44a[22])}))});return Promise[_0xe44a[27]](_0x6243x13)})});function _0x6243x15(_0x6243x11,_0x6243x16){return function(_0x6243x17){return Promise[_0xe44a[48]](_0x6243xe[_0xe44a[47]])({action:_0xe44a[46],interface:util[_0xe44a[23]](_0xe44a[36],_0xe44a[37],_0x6243x17[_0xe44a[35]]),paused:true,reason:_0x6243x11[_0xe44a[39]][_0xe44a[32]]||_0x6243x16[_0xe44a[40]]})[_0xe44a[28]](function(_0x6243x1a){return _0x6243x17[_0xe44a[24]]({voicePause:true,chatPause:true,mailPause:true,faxPause:true,smsPause:true,pauseType:_0x6243x11[_0xe44a[39]][_0xe44a[32]]||_0x6243x16[_0xe44a[40]],lastPauseAt:moment()[_0xe44a[23]](_0xe44a[22])},{transaction:_0x6243x11[_0xe44a[44]]||null})})[_0xe44a[28]](function(_0x6243x17){var _0x6243x18=[];_0x6243xf[_0xe44a[26]](function(_0x6243x19){_0x6243x18[_0xe44a[25]]({channel:_0x6243x19,membername:_0x6243x17[_0xe44a[35]],interface:util[_0xe44a[23]](_0xe44a[36],_0xe44a[37],_0x6243x17[_0xe44a[35]]),type:_0xe44a[38],enterAt:moment()[_0xe44a[23]](_0xe44a[22]),data1:_0x6243x11[_0xe44a[39]][_0xe44a[32]]||_0x6243x16[_0xe44a[40]],data2:_0x6243x16[_0xe44a[41]],data3:_0x6243x16[_0xe44a[42]],data4:_0x6243x16[_0xe44a[43]]})});return ReportMember[_0xe44a[45]](_0x6243x18,{individualHooks:true,transaction:_0x6243x11[_0xe44a[44]]||null})})}}function _0x6243x1b(_0x6243x11,_0x6243x16){return function(_0x6243x17){if(!_0x6243x11[_0xe44a[39]]){_0x6243x11[_0xe44a[39]]={}};switch(_0x6243x11[_0xe44a[39]][_0xe44a[29]]){case _0xe44a[16]:return Promise[_0xe44a[48]](_0x6243xe[_0xe44a[47]])({action:_0xe44a[46],interface:util[_0xe44a[23]](_0xe44a[36],_0xe44a[37],_0x6243x17[_0xe44a[35]]),paused:false,reason:_0x6243x11[_0xe44a[39]][_0xe44a[32]]})[_0xe44a[28]](function(){return _0x6243x17[_0xe44a[24]]({voicePause:false},{transaction:_0x6243x11[_0xe44a[44]]||null})})[_0xe44a[28]](function(_0x6243x17){return ReportMember[_0xe44a[50]]({where:{channel:_0x6243x11[_0xe44a[39]][_0xe44a[29]],membername:_0x6243x17[_0xe44a[35]],interface:util[_0xe44a[23]](_0xe44a[36],_0xe44a[37],_0x6243x17[_0xe44a[35]]),type:_0xe44a[38],exitAt:null}})})[_0xe44a[28]](_0x6243x2c({message:_0xe44a[49]}))[_0xe44a[28]](function(_0x6243x1c){return _0x6243x1c[_0xe44a[24]]({exitAt:moment()[_0xe44a[23]](_0xe44a[22])},{individualHooks:true,transaction:_0x6243x11[_0xe44a[44]]||null})})[_0xe44a[28]](function(){return _0x6243x17});case _0xe44a[17]:;case _0xe44a[18]:;case _0xe44a[19]:;case _0xe44a[20]:var _0x6243x1d={};_0x6243x1d[util[_0xe44a[23]](_0xe44a[51],_0x6243x11[_0xe44a[39]][_0xe44a[29]],_0xe44a[52])]=false;return _0x6243x17[_0xe44a[24]](_0x6243x1d,{transaction:_0x6243x11[_0xe44a[44]]||null})[_0xe44a[28]](function(_0x6243x17){return ReportMember[_0xe44a[50]]({where:{channel:_0x6243x11[_0xe44a[39]][_0xe44a[29]],membername:_0x6243x17[_0xe44a[35]],interface:util[_0xe44a[23]](_0xe44a[36],_0xe44a[37],_0x6243x17[_0xe44a[35]]),type:_0xe44a[38],exitAt:null}})})[_0xe44a[28]](_0x6243x2c({message:_0xe44a[49]}))[_0xe44a[28]](function(_0x6243x1c){return _0x6243x1c[_0xe44a[24]]({exitAt:moment()[_0xe44a[23]](_0xe44a[22])},{individualHooks:true,transaction:_0x6243x11[_0xe44a[44]]||null})})[_0xe44a[28]](function(){return _0x6243x17});default:var _0x6243x16=Promise[_0xe44a[48]](_0x6243xe[_0xe44a[47]]);return _0x6243x16({action:_0xe44a[46],interface:util[_0xe44a[23]](_0xe44a[36],_0xe44a[37],_0x6243x17[_0xe44a[35]]),paused:false})[_0xe44a[54]](function(_0x6243x21){console[_0xe44a[53]](_0x6243x21)})[_0xe44a[28]](function(){return _0x6243x17[_0xe44a[24]]({voicePause:false,mailPause:false,chatPause:false,faxPause:false,smsPause:false},{transaction:_0x6243x11[_0xe44a[44]]||null})})[_0xe44a[28]](function(_0x6243x17){return ReportMember[_0xe44a[33]]({where:{membername:_0x6243x17[_0xe44a[35]],interface:util[_0xe44a[23]](_0xe44a[36],_0xe44a[37],_0x6243x17[_0xe44a[35]]),type:_0xe44a[38],exitAt:null}})})[_0xe44a[28]](function(_0x6243x1e){var _0x6243x1f=[];_0x6243x1e[_0xe44a[26]](function(_0x6243x20){_0x6243x1f[_0xe44a[25]](_0x6243x20[_0xe44a[24]]({exitAt:moment()[_0xe44a[23]](_0xe44a[22])}))});return Promise[_0xe44a[27]](_0x6243x1f)})[_0xe44a[28]](function(){return _0x6243x17})}}}function _0x6243x22(_0x6243x11,_0x6243x16){return function(_0x6243x17){return _0x6243x17[_0xe44a[57]]()[_0xe44a[28]](function(_0x6243x23){var _0x6243x24=[];_0x6243x23[_0xe44a[26]](function(_0x6243x25){_0x6243x24[_0xe44a[25]](_0x6243xe[_0xe44a[47]]({action:_0xe44a[56],queue:_0x6243x25[_0xe44a[35]],interface:util[_0xe44a[23]](_0xe44a[36],_0xe44a[37],_0x6243x17[_0xe44a[35]]),membername:_0x6243x17[_0xe44a[35]]}))});return Promise[_0xe44a[27]](_0x6243x24)})[_0xe44a[28]](function(_0x6243x1a){var _0x6243x18=[];_0x6243xf[_0xe44a[26]](function(_0x6243x19){_0x6243x18[_0xe44a[25]]({channel:_0x6243x19,membername:_0x6243x17[_0xe44a[35]],interface:util[_0xe44a[23]](_0xe44a[36],_0xe44a[37],_0x6243x17[_0xe44a[35]]),type:_0xe44a[55],enterAt:moment()[_0xe44a[23]](_0xe44a[22])})});return ReportMember[_0xe44a[45]](_0x6243x18,{individualHooks:true})})}}function _0x6243x26(_0x6243x11,_0x6243x16){return function(_0x6243x17){return _0x6243x17[_0xe44a[57]]()[_0xe44a[28]](function(_0x6243x23){var _0x6243x24=[];_0x6243x23[_0xe44a[26]](function(_0x6243x25){_0x6243x24[_0xe44a[25]](_0x6243xe[_0xe44a[47]]({action:_0xe44a[58],queue:_0x6243x25[_0xe44a[35]],interface:util[_0xe44a[23]](_0xe44a[36],_0xe44a[37],_0x6243x17[_0xe44a[35]])}))});return Promise[_0xe44a[27]](_0x6243x24)[_0xe44a[54]](function(_0x6243x21){console[_0xe44a[53]](_0x6243x21)})})[_0xe44a[28]](function(_0x6243x1a){return ReportMember[_0xe44a[33]]({where:{membername:_0x6243x17[_0xe44a[35]],interface:util[_0xe44a[23]](_0xe44a[36],_0xe44a[37],_0x6243x17[_0xe44a[35]]),type:_0xe44a[55],exitAt:null}})})[_0xe44a[28]](function(_0x6243x1e){var _0x6243x1f=[];_0x6243x1e[_0xe44a[26]](function(_0x6243x20){_0x6243x1f[_0xe44a[25]](_0x6243x20[_0xe44a[24]]({exitAt:moment()[_0xe44a[23]](_0xe44a[22])}))});return Promise[_0xe44a[27]](_0x6243x1f)})}}function _0x6243x27(_0x6243x11,_0x6243x16){return function(_0x6243x17){var _0x6243x28=[];switch(_0x6243x11[_0xe44a[39]][_0xe44a[29]]){case _0xe44a[16]:_0x6243x11[_0xe44a[39]][_0xe44a[62]][_0xe44a[26]](function(_0x6243x29){_0x6243x28[_0xe44a[25]](UserHasVoiceQueue[_0xe44a[61]]({where:{UserId:_0x6243x17[_0xe44a[59]],queue:_0x6243x29},defaults:{queue:_0x6243x29,location:util[_0xe44a[23]](_0xe44a[60],_0x6243x17[_0xe44a[35]]),membername:_0x6243x17[_0xe44a[35]],UserId:_0x6243x17[_0xe44a[59]]},transaction:_0x6243x11[_0xe44a[44]]||null}))});return Promise[_0xe44a[27]](_0x6243x28)[_0xe44a[28]](function(){var _0x6243x24=[];_0x6243x11[_0xe44a[39]][_0xe44a[62]][_0xe44a[26]](function(_0x6243x29){_0x6243x24[_0xe44a[25]](_0x6243xe[_0xe44a[47]]({action:_0xe44a[56],queue:_0x6243x29,interface:util[_0xe44a[23]](_0xe44a[36],_0xe44a[37],_0x6243x17[_0xe44a[35]]),membername:_0x6243x17[_0xe44a[35]]}))});return Promise[_0xe44a[27]](_0x6243x24)})[_0xe44a[54]](function(_0x6243x21){console[_0xe44a[53]](_0x6243x21)});case _0xe44a[17]:_0x6243x11[_0xe44a[39]][_0xe44a[62]][_0xe44a[26]](function(_0x6243x29){_0x6243x28[_0xe44a[25]](UserHasChatQueue[_0xe44a[61]]({where:{UserId:_0x6243x17[_0xe44a[59]],ChatQueueId:_0x6243x29[_0xe44a[59]]},defaults:{ChatQueueId:_0x6243x29[_0xe44a[59]],queue:_0x6243x29[_0xe44a[35]],UserId:_0x6243x17[_0xe44a[59]]},transaction:_0x6243x11[_0xe44a[44]]||null}))});return Promise[_0xe44a[27]](_0x6243x28)[_0xe44a[54]](function(_0x6243x21){console[_0xe44a[15]](_0x6243x21)});case _0xe44a[18]:_0x6243x11[_0xe44a[39]][_0xe44a[62]][_0xe44a[26]](function(_0x6243x29){_0x6243x28[_0xe44a[25]](UserHasMailQueue[_0xe44a[61]]({where:{UserId:_0x6243x17[_0xe44a[59]],MailQueueId:_0x6243x29[_0xe44a[59]]},defaults:{MailQueueId:_0x6243x29[_0xe44a[59]],queue:_0x6243x29[_0xe44a[35]],UserId:_0x6243x17[_0xe44a[59]]},transaction:_0x6243x11[_0xe44a[44]]||null}))});return Promise[_0xe44a[27]](_0x6243x28)[_0xe44a[54]](function(_0x6243x21){console[_0xe44a[15]](_0x6243x21)});case _0xe44a[20]:_0x6243x11[_0xe44a[39]][_0xe44a[62]][_0xe44a[26]](function(_0x6243x29){_0x6243x28[_0xe44a[25]](UserHasSmsQueue[_0xe44a[61]]({where:{UserId:_0x6243x17[_0xe44a[59]],SmsQueueId:_0x6243x29[_0xe44a[59]]},defaults:{SmsQueueId:_0x6243x29[_0xe44a[59]],queue:_0x6243x29[_0xe44a[35]],UserId:_0x6243x17[_0xe44a[59]]},transaction:_0x6243x11[_0xe44a[44]]||null}))});return Promise[_0xe44a[27]](_0x6243x28)[_0xe44a[54]](function(_0x6243x21){console[_0xe44a[15]](_0x6243x21)});case _0xe44a[19]:_0x6243x11[_0xe44a[39]][_0xe44a[62]][_0xe44a[26]](function(_0x6243x29){_0x6243x28[_0xe44a[25]](UserHasFaxQueue[_0xe44a[61]]({where:{UserId:_0x6243x17[_0xe44a[59]],FaxQueueId:_0x6243x29[_0xe44a[59]]},defaults:{faxQueueId:_0x6243x29[_0xe44a[59]],queue:_0x6243x29[_0xe44a[35]],UserId:_0x6243x17[_0xe44a[59]]},transaction:_0x6243x11[_0xe44a[44]]||null}))});return Promise[_0xe44a[27]](_0x6243x28)[_0xe44a[54]](function(_0x6243x21){console[_0xe44a[15]](_0x6243x21)});default:}}}function _0x6243x2a(_0x6243x11,_0x6243x16){return function(_0x6243x17){switch(_0x6243x11[_0xe44a[39]][_0xe44a[29]]){case _0xe44a[16]:return UserHasVoiceQueue[_0xe44a[65]]({where:{UserId:_0x6243x17[_0xe44a[59]],queue:_0x6243x11[_0xe44a[39]][_0xe44a[64]]},transaction:_0x6243x11[_0xe44a[44]]||null,individualHooks:true})[_0xe44a[28]](function(){var _0x6243x2b=Promise[_0xe44a[48]](_0x6243xe[_0xe44a[47]]);return _0x6243x2b({action:_0xe44a[58],queue:_0x6243x11[_0xe44a[39]][_0xe44a[64]],interface:util[_0xe44a[23]](_0xe44a[36],_0xe44a[37],_0x6243x17[_0xe44a[35]])})})[_0xe44a[54]](function(_0x6243x21){console[_0xe44a[53]](_0xe44a[63],_0x6243x21)});case _0xe44a[17]:return UserHasChatQueue[_0xe44a[65]]({where:{UserId:_0x6243x17[_0xe44a[59]],ChatQueueId:_0x6243x11[_0xe44a[39]][_0xe44a[66]]},transaction:_0x6243x11[_0xe44a[44]]||null,individualHooks:true})[_0xe44a[54]](function(_0x6243x21){console[_0xe44a[53]](_0xe44a[63],_0x6243x21)});case _0xe44a[18]:return UserHasMailQueue[_0xe44a[65]]({where:{UserId:_0x6243x17[_0xe44a[59]],MailQueueId:_0x6243x11[_0xe44a[39]][_0xe44a[66]]},transaction:_0x6243x11[_0xe44a[44]]||null,individualHooks:true})[_0xe44a[54]](function(_0x6243x21){console[_0xe44a[53]](_0xe44a[63],_0x6243x21)});case _0xe44a[20]:return UserHasSmsQueue[_0xe44a[65]]({where:{UserId:_0x6243x17[_0xe44a[59]],SmsQueueId:_0x6243x11[_0xe44a[39]][_0xe44a[66]]},transaction:_0x6243x11[_0xe44a[44]]||null,individualHooks:true})[_0xe44a[54]](function(_0x6243x21){console[_0xe44a[53]](_0xe44a[63],_0x6243x21)});case _0xe44a[19]:return UserHasFaxQueue[_0xe44a[65]]({where:{UserId:_0x6243x17[_0xe44a[59]],FaxQueueId:_0x6243x11[_0xe44a[39]][_0xe44a[66]]},transaction:_0x6243x11[_0xe44a[44]]||null,individualHooks:true})[_0xe44a[54]](function(_0x6243x21){console[_0xe44a[53]](_0xe44a[63],_0x6243x21)});default:}}}function _0x6243x2c(_0x6243x2d){return function(_0x6243x2e){if(!_0x6243x2e){throw _0x6243x2d};return _0x6243x2e}}function _0x6243x2f(_0x6243x16,_0x6243x11,_0x6243xe){switch(_0x6243x16[_0xe44a[35]]){case _0xe44a[70]:return Agent[_0xe44a[69]](_0x6243x11[_0xe44a[39]][_0xe44a[68]])[_0xe44a[28]](_0x6243x2c({message:_0xe44a[67]}))[_0xe44a[28]](_0x6243x15(_0x6243x11,_0x6243x16));case _0xe44a[71]:return Agent[_0xe44a[69]](_0x6243x11[_0xe44a[39]][_0xe44a[68]])[_0xe44a[28]](_0x6243x2c({message:_0xe44a[67]}))[_0xe44a[28]](_0x6243x1b(_0x6243x11,_0x6243x16));case _0xe44a[72]:return Agent[_0xe44a[69]](_0x6243x16[_0xe44a[40]])[_0xe44a[28]](_0x6243x2c({message:_0xe44a[67]}))[_0xe44a[28]](_0x6243x22(_0x6243x11,_0x6243x16));case _0xe44a[73]:return Agent[_0xe44a[69]](_0x6243x16[_0xe44a[40]])[_0xe44a[28]](_0x6243x2c({message:_0xe44a[67]}))[_0xe44a[28]](_0x6243x1b(_0x6243x11,_0x6243x16))[_0xe44a[28]](_0x6243x26(_0x6243x11,_0x6243x16));case _0xe44a[56]:return Agent[_0xe44a[69]](_0x6243x11[_0xe44a[39]][_0xe44a[68]])[_0xe44a[28]](_0x6243x2c({message:_0xe44a[67]}))[_0xe44a[28]](_0x6243x27(_0x6243x11,_0x6243x16));case _0xe44a[58]:return Agent[_0xe44a[69]](_0x6243x11[_0xe44a[39]][_0xe44a[68]])[_0xe44a[28]](_0x6243x2c({message:_0xe44a[67]}))[_0xe44a[28]](_0x6243x2a(_0x6243x11,_0x6243x16));default:throw {message:_0xe44a[74]}}}return {}}module[_0xe44a[75]]=Action \ No newline at end of file diff --git a/server/config/ami/acw.js b/server/config/ami/acw.js index 1697793..bf013e7 100644 --- a/server/config/ami/acw.js +++ b/server/config/ami/acw.js @@ -1 +1 @@ -var _0xc09d=["\x6D\x6F\x6D\x65\x6E\x74","\x6C\x6F\x64\x61\x73\x68","\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x41\x63\x74\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x41\x67\x65\x6E\x74","\x41\x43\x57\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x69\x64","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x74\x68\x65\x6E","\x6E\x61\x6D\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x61\x67\x65\x6E\x74","\x73\x63\x6F\x70\x65","\x75\x6E\x70\x61\x75\x73\x65","\x62\x6F\x64\x79","\x61\x63\x77\x54\x69\x6D\x65","\x74\x69\x6D\x65\x6F\x75\x74","\x61\x73\x53\x65\x63\x6F\x6E\x64\x73","\x61\x63\x77\x41\x74","\x64\x75\x72\x61\x74\x69\x6F\x6E","\x75\x6E\x69\x71\x75\x65\x69\x64","\x64\x65\x73\x74\x75\x6E\x69\x71\x75\x65\x69\x64","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65","\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x71\x75\x65\x75\x65","\x66\x69\x6E\x64","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x50\x41\x55\x53\x45\x44\x20\x42\x59\x20\x41\x43\x57","\x61\x63\x77\x54\x69\x6D\x65\x6F\x75\x74","\x55\x4E\x50\x41\x55\x53\x45\x44\x20\x42\x59\x20\x41\x43\x57","\x41\x43\x57","\x63\x72\x65\x61\x74\x65","\x70\x61\x75\x73\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x72\x65\x6D\x6F\x76\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78\x4F\x66","\x6D\x65\x72\x67\x65","\x75\x6E\x73\x68\x69\x66\x74","\x65\x78\x70\x6F\x72\x74\x73"];var moment=require(_0xc09d[0]);var _=require(_0xc09d[1]);var VoiceQueue=require(_0xc09d[3])[_0xc09d[2]];var Agent=require(_0xc09d[3])[_0xc09d[4]];var Action=require(_0xc09d[3])[_0xc09d[5]];var ReportAgent=require(_0xc09d[3])[_0xc09d[6]];var _voiceQueues;var _agents;var activeAcw={};function ACW(_0xd9b5xb){console[_0xc09d[8]](_0xc09d[7]);VoiceQueue[_0xc09d[14]]()[_0xc09d[12]](function(_0xd9b5x10){_voiceQueues=_0xd9b5x10;synchCollection(VoiceQueue,_voiceQueues,_0xc09d[13]);return Agent[_0xc09d[16]](_0xc09d[15])[_0xc09d[14]]()})[_0xc09d[12]](function(_0xd9b5xd){_agents=_0xd9b5xd;synchCollection(Agent,_agents,_0xc09d[10]);Action[_0xc09d[11]](function(_0xd9b5xe,_0xd9b5xf){return onSave(_0xd9b5xe,_0xd9b5xf)})})[_0xc09d[9]](function(_0xd9b5xc){console[_0xc09d[8]](_0xd9b5xc)})}function onSave(_0xd9b5xe,_0xd9b5xf){if(_0xd9b5xe[_0xc09d[13]]===_0xc09d[17]&&activeAcw[_0xd9b5xf[_0xc09d[18]][_0xc09d[15]]]){var _0xd9b5x12;if(activeAcw[_0xd9b5xf[_0xc09d[18]][_0xc09d[15]]][_0xc09d[17]]){_0xd9b5x12=activeAcw[_0xd9b5xf[_0xc09d[18]][_0xc09d[15]]][_0xc09d[19]]}else {clearTimeout(activeAcw[_0xd9b5xf[_0xc09d[18]][_0xc09d[15]]][_0xc09d[20]]);_0xd9b5x12=moment[_0xc09d[23]](moment()-activeAcw[_0xd9b5xf[_0xc09d[18]][_0xc09d[15]]][_0xc09d[22]])[_0xc09d[21]]()};return ReportAgent[_0xc09d[27]]({agentacw:true,acwtime:_0xd9b5x12},{where:{uniqueid:activeAcw[_0xd9b5xf[_0xc09d[18]][_0xc09d[15]]][_0xc09d[24]],destuniqueid:activeAcw[_0xd9b5xf[_0xc09d[18]][_0xc09d[15]]][_0xc09d[25]]},transaction:_0xd9b5xf[_0xc09d[26]],individualHooks:true})[_0xc09d[12]](function(){delete activeAcw[_0xd9b5xf[_0xc09d[18]][_0xc09d[15]]]})[_0xc09d[9]](function(_0xd9b5xc){console[_0xc09d[8]](_0xd9b5xc)})}}ACW[_0xc09d[29]][_0xc09d[28]]=function(_0xd9b5x13){var _0xd9b5x14=_[_0xc09d[31]](_voiceQueues,{name:_0xd9b5x13[_0xc09d[30]],acw:true});if(_0xd9b5x14){var _0xd9b5x15=_[_0xc09d[31]](_agents,{name:_0xd9b5x13[_0xc09d[32]]});Action[_0xc09d[37]]({name:_0xc09d[38],data1:_0xc09d[36],data2:_0xd9b5x14[_0xc09d[34]],data3:_0xd9b5x13[_0xc09d[24]],data4:_0xd9b5x13[_0xc09d[30]]},{body:{agent:_0xd9b5x15[_0xc09d[10]],type:_0xc09d[36]}})[_0xc09d[12]](function(){console[_0xc09d[8]](_0xc09d[33]);activeAcw[_0xd9b5x15[_0xc09d[10]]]={uniqueid:_0xd9b5x13[_0xc09d[24]],destuniqueid:_0xd9b5x13[_0xc09d[25]],acwTime:_0xd9b5x14[_0xc09d[34]],acwAt:moment(),unpause:false};activeAcw[_0xd9b5x15[_0xc09d[10]]][_0xc09d[20]]=setTimeout(function(){console[_0xc09d[8]](_0xc09d[35]);activeAcw[_0xd9b5x15[_0xc09d[10]]][_0xc09d[17]]=true;return Action[_0xc09d[37]]({name:_0xc09d[17],data1:_0xc09d[36],data2:_0xd9b5x14[_0xc09d[34]],data3:_0xd9b5x13[_0xc09d[24]],data4:_0xd9b5x13[_0xc09d[30]]},{body:{agent:_0xd9b5x15[_0xc09d[10]],type:_0xc09d[36]}})[_0xc09d[9]](function(_0xd9b5xc){console[_0xc09d[8]](_0xd9b5xc)})},_0xd9b5x14[_0xc09d[34]]*1000)})[_0xc09d[9]](function(_0xd9b5xc){console[_0xc09d[8]](_0xd9b5xc)})}};function synchCollection(_0xd9b5x17,_0xd9b5x18,_0xd9b5x19){var _0xd9b5x1a={};_0xd9b5x17[_0xc09d[11]](function(_0xd9b5xe){_0xd9b5x1a[_0xd9b5x19]=_0xd9b5xe[_0xd9b5x19];updateCollection(_0xd9b5x18,_0xd9b5xe,_0xd9b5x1a)});_0xd9b5x17[_0xc09d[39]](function(_0xd9b5xe){_0xd9b5x1a[_0xd9b5x19]=_0xd9b5xe[_0xd9b5x19];updateCollection(_0xd9b5x18,_0xd9b5xe,_0xd9b5x1a)});_0xd9b5x17[_0xc09d[41]](function(_0xd9b5xe){_0xd9b5x1a[_0xd9b5x19]=_0xd9b5xe[_0xd9b5x19];_[_0xc09d[40]](_0xd9b5x18,_0xd9b5x1a)})}function updateCollection(_0xd9b5x1c,_0xd9b5xe,_0xd9b5x1a){var _0xd9b5x1d=_[_0xc09d[31]](_0xd9b5x1c,_0xd9b5x1a);var _0xd9b5x1e=_0xd9b5x1c[_0xc09d[42]](_0xd9b5x1d);if(_0xd9b5x1d){_[_0xc09d[43]](_0xd9b5x1c[_0xd9b5x1e],_0xd9b5xe)}else {_0xd9b5x1c[_0xc09d[44]](_0xd9b5xe)}}module[_0xc09d[45]]=ACW \ No newline at end of file +var _0xc2bc=["\x6D\x6F\x6D\x65\x6E\x74","\x6C\x6F\x64\x61\x73\x68","\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x41\x63\x74\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x41\x67\x65\x6E\x74","\x41\x43\x57\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x69\x64","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x74\x68\x65\x6E","\x6E\x61\x6D\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x61\x67\x65\x6E\x74","\x73\x63\x6F\x70\x65","\x75\x6E\x70\x61\x75\x73\x65","\x62\x6F\x64\x79","\x61\x63\x77\x54\x69\x6D\x65","\x74\x69\x6D\x65\x6F\x75\x74","\x61\x73\x53\x65\x63\x6F\x6E\x64\x73","\x61\x63\x77\x41\x74","\x64\x75\x72\x61\x74\x69\x6F\x6E","\x75\x6E\x69\x71\x75\x65\x69\x64","\x64\x65\x73\x74\x75\x6E\x69\x71\x75\x65\x69\x64","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65","\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x71\x75\x65\x75\x65","\x66\x69\x6E\x64","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x50\x41\x55\x53\x45\x44\x20\x42\x59\x20\x41\x43\x57","\x61\x63\x77\x54\x69\x6D\x65\x6F\x75\x74","\x55\x4E\x50\x41\x55\x53\x45\x44\x20\x42\x59\x20\x41\x43\x57","\x41\x43\x57","\x63\x72\x65\x61\x74\x65","\x70\x61\x75\x73\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x72\x65\x6D\x6F\x76\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78\x4F\x66","\x6D\x65\x72\x67\x65","\x75\x6E\x73\x68\x69\x66\x74","\x65\x78\x70\x6F\x72\x74\x73"];var moment=require(_0xc2bc[0]);var _=require(_0xc2bc[1]);var VoiceQueue=require(_0xc2bc[3])[_0xc2bc[2]];var Agent=require(_0xc2bc[3])[_0xc2bc[4]];var Action=require(_0xc2bc[3])[_0xc2bc[5]];var ReportAgent=require(_0xc2bc[3])[_0xc2bc[6]];var _voiceQueues;var _agents;var activeAcw={};function ACW(_0x4468xb){console[_0xc2bc[8]](_0xc2bc[7]);VoiceQueue[_0xc2bc[14]]()[_0xc2bc[12]](function(_0x4468x10){_voiceQueues=_0x4468x10;synchCollection(VoiceQueue,_voiceQueues,_0xc2bc[13]);return Agent[_0xc2bc[16]](_0xc2bc[15])[_0xc2bc[14]]()})[_0xc2bc[12]](function(_0x4468xd){_agents=_0x4468xd;synchCollection(Agent,_agents,_0xc2bc[10]);Action[_0xc2bc[11]](function(_0x4468xe,_0x4468xf){return onSave(_0x4468xe,_0x4468xf)})})[_0xc2bc[9]](function(_0x4468xc){console[_0xc2bc[8]](_0x4468xc)})}function onSave(_0x4468xe,_0x4468xf){if(_0x4468xe[_0xc2bc[13]]===_0xc2bc[17]&&activeAcw[_0x4468xf[_0xc2bc[18]][_0xc2bc[15]]]){var _0x4468x12;if(activeAcw[_0x4468xf[_0xc2bc[18]][_0xc2bc[15]]][_0xc2bc[17]]){_0x4468x12=activeAcw[_0x4468xf[_0xc2bc[18]][_0xc2bc[15]]][_0xc2bc[19]]}else {clearTimeout(activeAcw[_0x4468xf[_0xc2bc[18]][_0xc2bc[15]]][_0xc2bc[20]]);_0x4468x12=moment[_0xc2bc[23]](moment()-activeAcw[_0x4468xf[_0xc2bc[18]][_0xc2bc[15]]][_0xc2bc[22]])[_0xc2bc[21]]()};return ReportAgent[_0xc2bc[27]]({agentacw:true,acwtime:_0x4468x12},{where:{uniqueid:activeAcw[_0x4468xf[_0xc2bc[18]][_0xc2bc[15]]][_0xc2bc[24]],destuniqueid:activeAcw[_0x4468xf[_0xc2bc[18]][_0xc2bc[15]]][_0xc2bc[25]]},transaction:_0x4468xf[_0xc2bc[26]],individualHooks:true})[_0xc2bc[12]](function(){delete activeAcw[_0x4468xf[_0xc2bc[18]][_0xc2bc[15]]]})[_0xc2bc[9]](function(_0x4468xc){console[_0xc2bc[8]](_0x4468xc)})}}ACW[_0xc2bc[29]][_0xc2bc[28]]=function(_0x4468x13){var _0x4468x14=_[_0xc2bc[31]](_voiceQueues,{name:_0x4468x13[_0xc2bc[30]],acw:true});if(_0x4468x14){var _0x4468x15=_[_0xc2bc[31]](_agents,{name:_0x4468x13[_0xc2bc[32]]});Action[_0xc2bc[37]]({name:_0xc2bc[38],data1:_0xc2bc[36],data2:_0x4468x14[_0xc2bc[34]],data3:_0x4468x13[_0xc2bc[24]],data4:_0x4468x13[_0xc2bc[30]]},{body:{agent:_0x4468x15[_0xc2bc[10]],type:_0xc2bc[36]}})[_0xc2bc[12]](function(){console[_0xc2bc[8]](_0xc2bc[33]);activeAcw[_0x4468x15[_0xc2bc[10]]]={uniqueid:_0x4468x13[_0xc2bc[24]],destuniqueid:_0x4468x13[_0xc2bc[25]],acwTime:_0x4468x14[_0xc2bc[34]],acwAt:moment(),unpause:false};activeAcw[_0x4468x15[_0xc2bc[10]]][_0xc2bc[20]]=setTimeout(function(){console[_0xc2bc[8]](_0xc2bc[35]);activeAcw[_0x4468x15[_0xc2bc[10]]][_0xc2bc[17]]=true;return Action[_0xc2bc[37]]({name:_0xc2bc[17],data1:_0xc2bc[36],data2:_0x4468x14[_0xc2bc[34]],data3:_0x4468x13[_0xc2bc[24]],data4:_0x4468x13[_0xc2bc[30]]},{body:{agent:_0x4468x15[_0xc2bc[10]],type:_0xc2bc[36]}})[_0xc2bc[9]](function(_0x4468xc){console[_0xc2bc[8]](_0x4468xc)})},_0x4468x14[_0xc2bc[34]]*1000)})[_0xc2bc[9]](function(_0x4468xc){console[_0xc2bc[8]](_0x4468xc)})}};function synchCollection(_0x4468x17,_0x4468x18,_0x4468x19){var _0x4468x1a={};_0x4468x17[_0xc2bc[11]](function(_0x4468xe){_0x4468x1a[_0x4468x19]=_0x4468xe[_0x4468x19];updateCollection(_0x4468x18,_0x4468xe,_0x4468x1a)});_0x4468x17[_0xc2bc[39]](function(_0x4468xe){_0x4468x1a[_0x4468x19]=_0x4468xe[_0x4468x19];updateCollection(_0x4468x18,_0x4468xe,_0x4468x1a)});_0x4468x17[_0xc2bc[41]](function(_0x4468xe){_0x4468x1a[_0x4468x19]=_0x4468xe[_0x4468x19];_[_0xc2bc[40]](_0x4468x18,_0x4468x1a)})}function updateCollection(_0x4468x1c,_0x4468xe,_0x4468x1a){var _0x4468x1d=_[_0xc2bc[31]](_0x4468x1c,_0x4468x1a);var _0x4468x1e=_0x4468x1c[_0xc2bc[42]](_0x4468x1d);if(_0x4468x1d){_[_0xc2bc[43]](_0x4468x1c[_0x4468x1e],_0x4468xe)}else {_0x4468x1c[_0xc2bc[44]](_0x4468xe)}}module[_0xc2bc[45]]=ACW \ No newline at end of file diff --git a/server/config/ami/agent.js b/server/config/ami/agent.js index a1348d0..cebbce3 100644 --- a/server/config/ami/agent.js +++ b/server/config/ami/agent.js @@ -1 +1 @@ -var _0x5872=["\x6D\x6F\x6D\x65\x6E\x74","\x52\x65\x70\x6F\x72\x74\x41\x67\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x41\x67\x65\x6E\x74\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x63\x61\x6C\x6C\x65\x64","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x6C\x61\x73\x74\x65\x76\x65\x6E\x74","\x61\x67\x65\x6E\x74\x63\x61\x6C\x6C\x65\x64\x41\x74","\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","\x63\x6F\x6E\x6E\x65\x63\x74","\x61\x67\x65\x6E\x74\x63\x6F\x6E\x6E\x65\x63\x74\x41\x74","\x61\x6E\x73\x77\x65\x72\x65\x64\x5F\x65\x6C\x73\x65\x77\x68\x65\x72\x65","\x75\x6E\x69\x71\x75\x65\x69\x64","\x64\x65\x73\x74\x75\x6E\x69\x71\x75\x65\x69\x64","\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65\x41\x74","\x64\x75\x6D\x70","\x61\x67\x65\x6E\x74\x64\x75\x6D\x70","\x61\x67\x65\x6E\x74\x64\x75\x6D\x70\x41\x74","\x72\x69\x6E\x67\x6E\x6F\x61\x6E\x73\x77\x65\x72","\x72\x65\x6A\x65\x63\x74\x65\x64","\x61\x67\x65\x6E\x74\x72\x69\x6E\x67\x6E\x6F\x61\x6E\x73\x77\x65\x72","\x61\x67\x65\x6E\x74\x72\x69\x6E\x67\x6E\x6F\x61\x6E\x73\x77\x65\x72\x41\x74","\x72\x65\x61\x73\x6F\x6E","\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E","\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64","\x5B\x72\x65\x70\x6F\x72\x74\x5D\x20\x61\x67\x65\x6E\x74\x20","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x5B\x72\x65\x70\x6F\x72\x74\x5D\x20\x61\x67\x65\x6E\x74\x20\x62\x65\x67\x69\x6E\x20\x63\x72\x65\x61\x74\x65\x64","\x74\x68\x65\x6E","\x63\x72\x65\x61\x74\x65","\x5B\x61\x67\x65\x6E\x74\x5D\x20\x61\x67\x65\x6E\x74\x20\x65\x72\x72\x6F\x72\x3A\x20","\x5B\x61\x67\x65\x6E\x74\x5D\x20\x61\x67\x65\x6E\x74","\x75\x70\x64\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];var moment=require(_0x5872[0]);var ReportAgent=require(_0x5872[2])[_0x5872[1]];function Agent(){console[_0x5872[4]](_0x5872[3])}Agent[_0x5872[6]][_0x5872[5]]=function(_0xf584x4){_0xf584x4[_0x5872[7]]=_0x5872[5];_0xf584x4[_0x5872[8]]=moment()[_0x5872[10]](_0x5872[9]);return createAgent(_0xf584x4)};Agent[_0x5872[6]][_0x5872[11]]=function(_0xf584x4){_0xf584x4[_0x5872[7]]=_0x5872[11];_0xf584x4[_0x5872[12]]=moment()[_0x5872[10]](_0x5872[9]);updateAgents(_0xf584x4);updateAgents({agentringnoanswer:true,agentringnoanswerAt:moment()[_0x5872[10]](_0x5872[9]),reason:_0x5872[13],lastevent:_0x5872[13]},{uniqueid:_0xf584x4[_0x5872[14]],destuniqueid:{$ne:_0xf584x4[_0x5872[15]]},reason:null})};Agent[_0x5872[6]][_0x5872[16]]=function(_0xf584x4){_0xf584x4[_0x5872[7]]=_0x5872[16];_0xf584x4[_0x5872[17]]=true;_0xf584x4[_0x5872[18]]=moment()[_0x5872[10]](_0x5872[9]);return updateAgents(_0xf584x4)};Agent[_0x5872[6]][_0x5872[19]]=function(_0xf584x4){_0xf584x4[_0x5872[7]]=_0x5872[19];_0xf584x4[_0x5872[20]]=true;_0xf584x4[_0x5872[21]]=moment()[_0x5872[10]](_0x5872[9]);return updateAgents(_0xf584x4)};Agent[_0x5872[6]][_0x5872[22]]=function(_0xf584x4){_0xf584x4[_0x5872[7]]=_0x5872[23];_0xf584x4[_0x5872[24]]=true;_0xf584x4[_0x5872[25]]=moment()[_0x5872[10]](_0x5872[9]);_0xf584x4[_0x5872[26]]=_0x5872[23];return updateAgents(_0xf584x4)};Agent[_0x5872[6]][_0x5872[27]]=function(_0xf584x4){_0xf584x4[_0x5872[7]]=_0x5872[28];_0xf584x4[_0x5872[24]]=true;_0xf584x4[_0x5872[25]]=moment()[_0x5872[10]](_0x5872[9]);_0xf584x4[_0x5872[26]]=_0x5872[28];return updateAgents(_0xf584x4,{uniqueid:_0xf584x4[_0x5872[14]],reason:null})};function createAgent(_0xf584x4){return ReportAgent[_0x5872[34]](_0xf584x4)[_0x5872[33]](function(_0xf584x7){console[_0x5872[4]](_0x5872[32])})[_0x5872[31]](function(_0xf584x6){console[_0x5872[30]](_0x5872[29]+_0xf584x6)})}function updateAgents(_0xf584x4,_0xf584x9){return ReportAgent[_0x5872[37]](_0xf584x4,{where:(_0xf584x9)?_0xf584x9:{uniqueid:_0xf584x4[_0x5872[14]],destuniqueid:_0xf584x4[_0x5872[15]]},individualHooks:true})[_0x5872[33]](function(_0xf584x7){console[_0x5872[4]](_0x5872[36])})[_0x5872[31]](function(_0xf584x6){console[_0x5872[30]](_0x5872[35]+_0xf584x6)})}module[_0x5872[38]]=Agent \ No newline at end of file +var _0x1bc1=["\x6D\x6F\x6D\x65\x6E\x74","\x52\x65\x70\x6F\x72\x74\x41\x67\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x41\x67\x65\x6E\x74\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x63\x61\x6C\x6C\x65\x64","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x6C\x61\x73\x74\x65\x76\x65\x6E\x74","\x61\x67\x65\x6E\x74\x63\x61\x6C\x6C\x65\x64\x41\x74","\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","\x63\x6F\x6E\x6E\x65\x63\x74","\x61\x67\x65\x6E\x74\x63\x6F\x6E\x6E\x65\x63\x74\x41\x74","\x61\x6E\x73\x77\x65\x72\x65\x64\x5F\x65\x6C\x73\x65\x77\x68\x65\x72\x65","\x75\x6E\x69\x71\x75\x65\x69\x64","\x64\x65\x73\x74\x75\x6E\x69\x71\x75\x65\x69\x64","\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65\x41\x74","\x64\x75\x6D\x70","\x61\x67\x65\x6E\x74\x64\x75\x6D\x70","\x61\x67\x65\x6E\x74\x64\x75\x6D\x70\x41\x74","\x72\x69\x6E\x67\x6E\x6F\x61\x6E\x73\x77\x65\x72","\x72\x65\x6A\x65\x63\x74\x65\x64","\x61\x67\x65\x6E\x74\x72\x69\x6E\x67\x6E\x6F\x61\x6E\x73\x77\x65\x72","\x61\x67\x65\x6E\x74\x72\x69\x6E\x67\x6E\x6F\x61\x6E\x73\x77\x65\x72\x41\x74","\x72\x65\x61\x73\x6F\x6E","\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E","\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64","\x5B\x72\x65\x70\x6F\x72\x74\x5D\x20\x61\x67\x65\x6E\x74\x20","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x5B\x72\x65\x70\x6F\x72\x74\x5D\x20\x61\x67\x65\x6E\x74\x20\x62\x65\x67\x69\x6E\x20\x63\x72\x65\x61\x74\x65\x64","\x74\x68\x65\x6E","\x63\x72\x65\x61\x74\x65","\x5B\x61\x67\x65\x6E\x74\x5D\x20\x61\x67\x65\x6E\x74\x20\x65\x72\x72\x6F\x72\x3A\x20","\x5B\x61\x67\x65\x6E\x74\x5D\x20\x61\x67\x65\x6E\x74","\x75\x70\x64\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];var moment=require(_0x1bc1[0]);var ReportAgent=require(_0x1bc1[2])[_0x1bc1[1]];function Agent(){console[_0x1bc1[4]](_0x1bc1[3])}Agent[_0x1bc1[6]][_0x1bc1[5]]=function(_0x2ad0x4){_0x2ad0x4[_0x1bc1[7]]=_0x1bc1[5];_0x2ad0x4[_0x1bc1[8]]=moment()[_0x1bc1[10]](_0x1bc1[9]);return createAgent(_0x2ad0x4)};Agent[_0x1bc1[6]][_0x1bc1[11]]=function(_0x2ad0x4){_0x2ad0x4[_0x1bc1[7]]=_0x1bc1[11];_0x2ad0x4[_0x1bc1[12]]=moment()[_0x1bc1[10]](_0x1bc1[9]);updateAgents(_0x2ad0x4);updateAgents({agentringnoanswer:true,agentringnoanswerAt:moment()[_0x1bc1[10]](_0x1bc1[9]),reason:_0x1bc1[13],lastevent:_0x1bc1[13]},{uniqueid:_0x2ad0x4[_0x1bc1[14]],destuniqueid:{$ne:_0x2ad0x4[_0x1bc1[15]]},reason:null})};Agent[_0x1bc1[6]][_0x1bc1[16]]=function(_0x2ad0x4){_0x2ad0x4[_0x1bc1[7]]=_0x1bc1[16];_0x2ad0x4[_0x1bc1[17]]=true;_0x2ad0x4[_0x1bc1[18]]=moment()[_0x1bc1[10]](_0x1bc1[9]);return updateAgents(_0x2ad0x4)};Agent[_0x1bc1[6]][_0x1bc1[19]]=function(_0x2ad0x4){_0x2ad0x4[_0x1bc1[7]]=_0x1bc1[19];_0x2ad0x4[_0x1bc1[20]]=true;_0x2ad0x4[_0x1bc1[21]]=moment()[_0x1bc1[10]](_0x1bc1[9]);return updateAgents(_0x2ad0x4)};Agent[_0x1bc1[6]][_0x1bc1[22]]=function(_0x2ad0x4){_0x2ad0x4[_0x1bc1[7]]=_0x1bc1[23];_0x2ad0x4[_0x1bc1[24]]=true;_0x2ad0x4[_0x1bc1[25]]=moment()[_0x1bc1[10]](_0x1bc1[9]);_0x2ad0x4[_0x1bc1[26]]=_0x1bc1[23];return updateAgents(_0x2ad0x4)};Agent[_0x1bc1[6]][_0x1bc1[27]]=function(_0x2ad0x4){_0x2ad0x4[_0x1bc1[7]]=_0x1bc1[28];_0x2ad0x4[_0x1bc1[24]]=true;_0x2ad0x4[_0x1bc1[25]]=moment()[_0x1bc1[10]](_0x1bc1[9]);_0x2ad0x4[_0x1bc1[26]]=_0x1bc1[28];return updateAgents(_0x2ad0x4,{uniqueid:_0x2ad0x4[_0x1bc1[14]],reason:null})};function createAgent(_0x2ad0x4){return ReportAgent[_0x1bc1[34]](_0x2ad0x4)[_0x1bc1[33]](function(_0x2ad0x7){console[_0x1bc1[4]](_0x1bc1[32])})[_0x1bc1[31]](function(_0x2ad0x6){console[_0x1bc1[30]](_0x1bc1[29]+_0x2ad0x6)})}function updateAgents(_0x2ad0x4,_0x2ad0x9){return ReportAgent[_0x1bc1[37]](_0x2ad0x4,{where:(_0x2ad0x9)?_0x2ad0x9:{uniqueid:_0x2ad0x4[_0x1bc1[14]],destuniqueid:_0x2ad0x4[_0x1bc1[15]]},individualHooks:true})[_0x1bc1[33]](function(_0x2ad0x7){console[_0x1bc1[4]](_0x1bc1[36])})[_0x1bc1[31]](function(_0x2ad0x6){console[_0x1bc1[30]](_0x1bc1[35]+_0x2ad0x6)})}module[_0x1bc1[38]]=Agent \ No newline at end of file diff --git a/server/config/ami/call.js b/server/config/ami/call.js index ee3d1bc..ea0265d 100644 --- a/server/config/ami/call.js +++ b/server/config/ami/call.js @@ -1 +1 @@ -var _0xde9f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6D\x6F\x6D\x65\x6E\x74","\x43\x61\x6C\x6C\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x61\x64\x64","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x74\x79\x70\x65","\x52\x65\x70\x6F\x72\x74\x43\x61\x6C\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x5B\x72\x65\x70\x6F\x72\x74\x5D\x20\x63\x61\x6C\x6C\x20","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x61\x6E\x73\x77\x65\x72\x74\x69\x6D\x65","\x5B\x72\x65\x70\x6F\x72\x74\x5D\x20\x63\x61\x6C\x6C\x20\x75\x6E\x69\x71\x75\x65\x69\x64","\x75\x6E\x69\x71\x75\x65\x69\x64","\x75\x70\x64\x61\x74\x65\x64","\x65\x6E\x64\x74\x69\x6D\x65","\x69\x73\x41\x66\x74\x65\x72","\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x64\x65\x73\x74\x69\x6E\x61\x74\x69\x6F\x6E\x63\x68\x61\x6E\x6E\x65\x6C","\x6C\x61\x73\x74\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x6C\x61\x73\x74\x64\x61\x74\x61","\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","\x73\x61\x76\x65","\x5B\x72\x65\x70\x6F\x72\x74\x5D\x20\x63\x61\x6C\x6C","\x63\x72\x65\x61\x74\x65\x64","\x73\x70\x72\x65\x61\x64","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xde9f[0];var moment=require(_0xde9f[1]);function Call(){console[_0xde9f[3]](_0xde9f[2])}Call[_0xde9f[5]][_0xde9f[4]]=function(_0xe58ex3){if(_0xe58ex3[_0xde9f[6]]){create(_0xe58ex3)}};function create(_0xe58ex3){var _0xe58ex5=require(_0xde9f[8])[_0xde9f[7]];var _0xe58ex6;_0xe58ex5[_0xde9f[31]]({where:{uniqueid:_0xe58ex3[_0xde9f[14]]},defaults:_0xe58ex3})[_0xde9f[30]](function(_0xe58ex5,_0xe58ex8){if(!_0xe58ex8){if(_0xe58ex3[_0xde9f[12]]){console[_0xde9f[3]](_0xde9f[13],_0xe58ex3[_0xde9f[14]],_0xde9f[12],_0xe58ex3[_0xde9f[12]],_0xde9f[15]);_0xe58ex5[_0xde9f[12]]=_0xe58ex3[_0xde9f[12]]};if(_0xe58ex3[_0xde9f[16]]&&_0xe58ex5[_0xde9f[16]]){if(moment(_0xe58ex3[_0xde9f[16]])[_0xde9f[17]](_0xe58ex5[_0xde9f[16]])){console[_0xde9f[3]](_0xde9f[13],_0xe58ex3[_0xde9f[14]],_0xde9f[16],_0xe58ex3[_0xde9f[16]],_0xde9f[15]);_0xe58ex5[_0xde9f[16]]=_0xe58ex3[_0xde9f[16]];_0xe58ex5[_0xde9f[18]]=_0xe58ex3[_0xde9f[18]];_0xe58ex5[_0xde9f[19]]=_0xe58ex3[_0xde9f[19]];_0xe58ex5[_0xde9f[20]]=_0xe58ex3[_0xde9f[20]];_0xe58ex5[_0xde9f[21]]=_0xe58ex3[_0xde9f[21]];_0xe58ex5[_0xde9f[22]]=moment(_0xe58ex5[_0xde9f[16]])[_0xde9f[25]](_0xe58ex5[_0xde9f[23]],_0xde9f[24]);_0xe58ex5[_0xde9f[26]]=moment(_0xe58ex5[_0xde9f[16]])[_0xde9f[25]](_0xe58ex5[_0xde9f[12]],_0xde9f[24])}};return _0xe58ex5[_0xde9f[27]]()}else {console[_0xde9f[3]](_0xde9f[28],_0xe58ex3[_0xde9f[14]],_0xde9f[29])}})[_0xde9f[11]](function(_0xe58ex7){console[_0xde9f[10]](_0xde9f[9]+_0xe58ex7)})}module[_0xde9f[32]]=Call \ No newline at end of file +var _0xdab7=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6D\x6F\x6D\x65\x6E\x74","\x43\x61\x6C\x6C\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x61\x64\x64","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x74\x79\x70\x65","\x52\x65\x70\x6F\x72\x74\x43\x61\x6C\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x5B\x72\x65\x70\x6F\x72\x74\x5D\x20\x63\x61\x6C\x6C\x20","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x61\x6E\x73\x77\x65\x72\x74\x69\x6D\x65","\x5B\x72\x65\x70\x6F\x72\x74\x5D\x20\x63\x61\x6C\x6C\x20\x75\x6E\x69\x71\x75\x65\x69\x64","\x75\x6E\x69\x71\x75\x65\x69\x64","\x75\x70\x64\x61\x74\x65\x64","\x65\x6E\x64\x74\x69\x6D\x65","\x69\x73\x41\x66\x74\x65\x72","\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x64\x65\x73\x74\x69\x6E\x61\x74\x69\x6F\x6E\x63\x68\x61\x6E\x6E\x65\x6C","\x6C\x61\x73\x74\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x6C\x61\x73\x74\x64\x61\x74\x61","\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","\x73\x61\x76\x65","\x5B\x72\x65\x70\x6F\x72\x74\x5D\x20\x63\x61\x6C\x6C","\x63\x72\x65\x61\x74\x65\x64","\x73\x70\x72\x65\x61\x64","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xdab7[0];var moment=require(_0xdab7[1]);function Call(){console[_0xdab7[3]](_0xdab7[2])}Call[_0xdab7[5]][_0xdab7[4]]=function(_0x3671x3){if(_0x3671x3[_0xdab7[6]]){create(_0x3671x3)}};function create(_0x3671x3){var _0x3671x5=require(_0xdab7[8])[_0xdab7[7]];var _0x3671x6;_0x3671x5[_0xdab7[31]]({where:{uniqueid:_0x3671x3[_0xdab7[14]]},defaults:_0x3671x3})[_0xdab7[30]](function(_0x3671x5,_0x3671x8){if(!_0x3671x8){if(_0x3671x3[_0xdab7[12]]){console[_0xdab7[3]](_0xdab7[13],_0x3671x3[_0xdab7[14]],_0xdab7[12],_0x3671x3[_0xdab7[12]],_0xdab7[15]);_0x3671x5[_0xdab7[12]]=_0x3671x3[_0xdab7[12]]};if(_0x3671x3[_0xdab7[16]]&&_0x3671x5[_0xdab7[16]]){if(moment(_0x3671x3[_0xdab7[16]])[_0xdab7[17]](_0x3671x5[_0xdab7[16]])){console[_0xdab7[3]](_0xdab7[13],_0x3671x3[_0xdab7[14]],_0xdab7[16],_0x3671x3[_0xdab7[16]],_0xdab7[15]);_0x3671x5[_0xdab7[16]]=_0x3671x3[_0xdab7[16]];_0x3671x5[_0xdab7[18]]=_0x3671x3[_0xdab7[18]];_0x3671x5[_0xdab7[19]]=_0x3671x3[_0xdab7[19]];_0x3671x5[_0xdab7[20]]=_0x3671x3[_0xdab7[20]];_0x3671x5[_0xdab7[21]]=_0x3671x3[_0xdab7[21]];_0x3671x5[_0xdab7[22]]=moment(_0x3671x5[_0xdab7[16]])[_0xdab7[25]](_0x3671x5[_0xdab7[23]],_0xdab7[24]);_0x3671x5[_0xdab7[26]]=moment(_0x3671x5[_0xdab7[16]])[_0xdab7[25]](_0x3671x5[_0xdab7[12]],_0xdab7[24])}};return _0x3671x5[_0xdab7[27]]()}else {console[_0xdab7[3]](_0xdab7[28],_0x3671x3[_0xdab7[14]],_0xdab7[29])}})[_0xdab7[11]](function(_0x3671x7){console[_0xdab7[10]](_0xdab7[9]+_0x3671x7)})}module[_0xdab7[32]]=Call \ No newline at end of file diff --git a/server/config/ami/fax.js b/server/config/ami/fax.js index 00179e7..b8bc1c2 100644 --- a/server/config/ami/fax.js +++ b/server/config/ami/fax.js @@ -1 +1 @@ -var _0x3061=["\x66\x73","\x75\x74\x69\x6C","\x70\x61\x74\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x6C\x6F\x64\x61\x73\x68","\x62\x6C\x75\x65\x62\x69\x72\x64","\x74\x69\x66\x66\x32\x70\x64\x66","\x70\x72\x6F\x6D\x69\x73\x69\x66\x79","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x46\x61\x78\x52\x6F\x6F\x6D","\x46\x61\x78\x4D\x65\x73\x73\x61\x67\x65","\x46\x61\x78\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x46\x61\x78\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x72\x65\x63\x65\x69\x76\x65\x66\x61\x78","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x4E\x65\x77\x20\x46\x61\x78\x20\x6D\x65\x73\x73\x61\x67\x65\x20\x66\x72\x6F\x6D\x20\x25\x73","\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x75\x6D","\x66\x6F\x72\x6D\x61\x74","\x63\x6C\x6F\x6E\x65","\x45\x72\x72\x6F\x72\x20\x72\x65\x63\x65\x69\x76\x69\x6E\x67\x20\x66\x61\x78\x20\x6D\x65\x73\x73\x61\x67\x65","\x63\x61\x74\x63\x68","\x66\x69\x6C\x65\x6E\x61\x6D\x65","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72","\x66\x69\x6C\x65\x73","\x66\x61\x78","\x69\x6E\x62\x6F\x75\x6E\x64","\x2F","\x6A\x6F\x69\x6E","\x74\x68\x65\x6E","\x6E\x61\x6D\x65","\x70\x61\x72\x73\x65","\x2E\x70\x64\x66","\x69\x64","\x63\x72\x65\x61\x74\x65","\x46\x61\x78\x20\x72\x6F\x6F\x6D\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64\x2F\x63\x72\x65\x61\x74\x65\x64","\x46\x61\x78\x52\x6F\x6F\x6D\x49\x64","\x73\x74\x61\x74\x75\x73","\x52\x45\x43\x45\x49\x56\x45\x44","\x66\x72\x6F\x6D","\x74\x6F","\x6C\x6F\x63\x61\x6C\x73\x74\x61\x74\x69\x6F\x6E\x69\x64","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x4E\x45\x57","\x46\x61\x78\x20\x61\x63\x63\x6F\x75\x6E\x74\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64","\x46\x61\x78\x20\x61\x63\x63\x6F\x75\x6E\x74\x20\x66\x6F\x75\x6E\x64\x3A","\x66\x69\x6E\x64\x4F\x6E\x65","\x65\x78\x70\x6F\x72\x74\x73"];var fs=require(_0x3061[0]);var util=require(_0x3061[1]);var path=require(_0x3061[2]);var config=require(_0x3061[3]);var _=require(_0x3061[4]);var Promise=require(_0x3061[5]);var tiff2pdf=Promise[_0x3061[7]](require(_0x3061[6]));var FaxAccount=require(_0x3061[9])[_0x3061[8]];var FaxRoom=require(_0x3061[9])[_0x3061[10]];var FaxMessage=require(_0x3061[9])[_0x3061[11]];var FaxAttachment=require(_0x3061[9])[_0x3061[12]];function Fax(_0xfeafxd){console[_0x3061[14]](_0x3061[13])}Fax[_0x3061[16]][_0x3061[15]]=function(_0xfeafxe){console[_0x3061[14]](util[_0x3061[19]](_0x3061[17],_0xfeafxe[_0x3061[18]]));var _0xfeafxf=_[_0x3061[20]](_0xfeafxe);var _0xfeafx10;return FaxAccount[_0x3061[48]]({where:{localstationid:_0xfeafxe[_0x3061[43]]}})[_0x3061[31]](function(_0xfeafx18){if(!_0xfeafx18){throw new Error(_0x3061[46])};console[_0x3061[14]](_0x3061[47],_0xfeafxe[_0x3061[43]]);_0xfeafx10=_0xfeafx18;return FaxRoom[_0x3061[48]]({where:{from:_0xfeafxe[_0x3061[18]],FaxAccountId:_0xfeafx18[_0x3061[35]]}})})[_0x3061[31]](function(_0xfeafx17){if(_0xfeafx17){return _0xfeafx17[_0x3061[44]]({lastEvent:_0x3061[40]})}else {return FaxRoom[_0x3061[36]]({from:_0xfeafxf[_0x3061[18]],account:_0xfeafx10[_0x3061[32]],status:_0x3061[45],lastEvent:_0x3061[40],FaxAccountId:_0xfeafx10[_0x3061[35]]})}})[_0x3061[31]](function(_0xfeafx17){if(!_0xfeafx17){throw new Error(_0x3061[37])};_0xfeafxf[_0x3061[38]]=_0xfeafx17[_0x3061[35]];_0xfeafxf[_0x3061[39]]=_0x3061[40];_0xfeafxf[_0x3061[41]]=_0xfeafxf[_0x3061[18]];_0xfeafxf[_0x3061[42]]=_0xfeafxf[_0x3061[43]];return FaxMessage[_0x3061[36]](_0xfeafxf)})[_0x3061[31]](function(_0xfeafx13){var _0xfeafx14=[];var _0xfeafx15=path[_0x3061[33]](_0xfeafxe[_0x3061[23]])[_0x3061[32]];var _0xfeafx16=_0xfeafx15+_0x3061[34];return FaxAttachment[_0x3061[36]]({path:path[_0x3061[30]](config[_0x3061[24]],_0x3061[25],_0x3061[26],_0x3061[27],_0x3061[28],_0x3061[29],_0xfeafx16),basename:_0xfeafx16,name:_0xfeafx15,FaxMessageId:_0xfeafx13[_0x3061[35]]})})[_0x3061[31]](function(_0xfeafx12){return tiff2pdf(_0xfeafxe[_0x3061[23]],path[_0x3061[30]](config[_0x3061[24]],_0x3061[25],_0x3061[26],_0x3061[27],_0x3061[28],_0x3061[29]))})[_0x3061[22]](function(_0xfeafx11){console[_0x3061[14]](_0x3061[21],_0xfeafx11)})};module[_0x3061[49]]=Fax \ No newline at end of file +var _0xd280=["\x66\x73","\x75\x74\x69\x6C","\x70\x61\x74\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x6C\x6F\x64\x61\x73\x68","\x62\x6C\x75\x65\x62\x69\x72\x64","\x74\x69\x66\x66\x32\x70\x64\x66","\x70\x72\x6F\x6D\x69\x73\x69\x66\x79","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x46\x61\x78\x52\x6F\x6F\x6D","\x46\x61\x78\x4D\x65\x73\x73\x61\x67\x65","\x46\x61\x78\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x46\x61\x78\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x72\x65\x63\x65\x69\x76\x65\x66\x61\x78","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x4E\x65\x77\x20\x46\x61\x78\x20\x6D\x65\x73\x73\x61\x67\x65\x20\x66\x72\x6F\x6D\x20\x25\x73","\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x75\x6D","\x66\x6F\x72\x6D\x61\x74","\x63\x6C\x6F\x6E\x65","\x45\x72\x72\x6F\x72\x20\x72\x65\x63\x65\x69\x76\x69\x6E\x67\x20\x66\x61\x78\x20\x6D\x65\x73\x73\x61\x67\x65","\x63\x61\x74\x63\x68","\x66\x69\x6C\x65\x6E\x61\x6D\x65","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72","\x66\x69\x6C\x65\x73","\x66\x61\x78","\x69\x6E\x62\x6F\x75\x6E\x64","\x2F","\x6A\x6F\x69\x6E","\x74\x68\x65\x6E","\x6E\x61\x6D\x65","\x70\x61\x72\x73\x65","\x2E\x70\x64\x66","\x69\x64","\x63\x72\x65\x61\x74\x65","\x46\x61\x78\x20\x72\x6F\x6F\x6D\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64\x2F\x63\x72\x65\x61\x74\x65\x64","\x46\x61\x78\x52\x6F\x6F\x6D\x49\x64","\x73\x74\x61\x74\x75\x73","\x52\x45\x43\x45\x49\x56\x45\x44","\x66\x72\x6F\x6D","\x74\x6F","\x6C\x6F\x63\x61\x6C\x73\x74\x61\x74\x69\x6F\x6E\x69\x64","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x4E\x45\x57","\x46\x61\x78\x20\x61\x63\x63\x6F\x75\x6E\x74\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64","\x46\x61\x78\x20\x61\x63\x63\x6F\x75\x6E\x74\x20\x66\x6F\x75\x6E\x64\x3A","\x66\x69\x6E\x64\x4F\x6E\x65","\x65\x78\x70\x6F\x72\x74\x73"];var fs=require(_0xd280[0]);var util=require(_0xd280[1]);var path=require(_0xd280[2]);var config=require(_0xd280[3]);var _=require(_0xd280[4]);var Promise=require(_0xd280[5]);var tiff2pdf=Promise[_0xd280[7]](require(_0xd280[6]));var FaxAccount=require(_0xd280[9])[_0xd280[8]];var FaxRoom=require(_0xd280[9])[_0xd280[10]];var FaxMessage=require(_0xd280[9])[_0xd280[11]];var FaxAttachment=require(_0xd280[9])[_0xd280[12]];function Fax(_0xabd5xd){console[_0xd280[14]](_0xd280[13])}Fax[_0xd280[16]][_0xd280[15]]=function(_0xabd5xe){console[_0xd280[14]](util[_0xd280[19]](_0xd280[17],_0xabd5xe[_0xd280[18]]));var _0xabd5xf=_[_0xd280[20]](_0xabd5xe);var _0xabd5x10;return FaxAccount[_0xd280[48]]({where:{localstationid:_0xabd5xe[_0xd280[43]]}})[_0xd280[31]](function(_0xabd5x18){if(!_0xabd5x18){throw new Error(_0xd280[46])};console[_0xd280[14]](_0xd280[47],_0xabd5xe[_0xd280[43]]);_0xabd5x10=_0xabd5x18;return FaxRoom[_0xd280[48]]({where:{from:_0xabd5xe[_0xd280[18]],FaxAccountId:_0xabd5x18[_0xd280[35]]}})})[_0xd280[31]](function(_0xabd5x17){if(_0xabd5x17){return _0xabd5x17[_0xd280[44]]({lastEvent:_0xd280[40]})}else {return FaxRoom[_0xd280[36]]({from:_0xabd5xf[_0xd280[18]],account:_0xabd5x10[_0xd280[32]],status:_0xd280[45],lastEvent:_0xd280[40],FaxAccountId:_0xabd5x10[_0xd280[35]]})}})[_0xd280[31]](function(_0xabd5x17){if(!_0xabd5x17){throw new Error(_0xd280[37])};_0xabd5xf[_0xd280[38]]=_0xabd5x17[_0xd280[35]];_0xabd5xf[_0xd280[39]]=_0xd280[40];_0xabd5xf[_0xd280[41]]=_0xabd5xf[_0xd280[18]];_0xabd5xf[_0xd280[42]]=_0xabd5xf[_0xd280[43]];return FaxMessage[_0xd280[36]](_0xabd5xf)})[_0xd280[31]](function(_0xabd5x13){var _0xabd5x14=[];var _0xabd5x15=path[_0xd280[33]](_0xabd5xe[_0xd280[23]])[_0xd280[32]];var _0xabd5x16=_0xabd5x15+_0xd280[34];return FaxAttachment[_0xd280[36]]({path:path[_0xd280[30]](config[_0xd280[24]],_0xd280[25],_0xd280[26],_0xd280[27],_0xd280[28],_0xd280[29],_0xabd5x16),basename:_0xabd5x16,name:_0xabd5x15,FaxMessageId:_0xabd5x13[_0xd280[35]]})})[_0xd280[31]](function(_0xabd5x12){return tiff2pdf(_0xabd5xe[_0xd280[23]],path[_0xd280[30]](config[_0xd280[24]],_0xd280[25],_0xd280[26],_0xd280[27],_0xd280[28],_0xd280[29]))})[_0xd280[22]](function(_0xabd5x11){console[_0xd280[14]](_0xd280[21],_0xabd5x11)})};module[_0xd280[49]]=Fax \ No newline at end of file diff --git a/server/config/ami/index.js b/server/config/ami/index.js index a7d702c..c1547fb 100644 --- a/server/config/ami/index.js +++ b/server/config/ami/index.js @@ -1 +1 @@ -var _0xfbb3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x61\x67\x65\x6E\x74","\x2E\x2F\x61\x63\x74\x69\x6F\x6E","\x2E\x2F\x63\x61\x6C\x6C","\x2E\x2F\x6D\x65\x6D\x62\x65\x72","\x2E\x2F\x71\x75\x65\x75\x65\x5F\x63\x61\x6C\x6C\x65\x72","\x2E\x2F\x71\x75\x65\x75\x65\x5F\x6D\x65\x6D\x62\x65\x72","\x2E\x2F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67","\x2E\x2F\x74\x72\x75\x6E\x6B","\x2E\x2F\x76\x6F\x69\x63\x65\x5F\x63\x6F\x6E\x74\x65\x78\x74","\x2E\x2F\x61\x63\x77","\x2E\x2F\x75\x73\x65\x72","\x2E\x2F\x74\x72\x61\x6E\x73\x66\x65\x72","\x2E\x2F\x6E\x65\x74\x77\x6F\x72\x6B","\x2E\x2F\x66\x61\x78","\x76\x61\x72\x69\x61\x62\x6C\x65","\x6B\x65\x79\x73","\x65\x78\x70\x6F\x72\x74\x73","\x63\x6F\x6E\x6E\x65\x63\x74","\x5B\x25\x73\x3A\x25\x73\x5D\x20\x41\x4D\x49\x20\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44","\x68\x6F\x73\x74","\x6F\x70\x74\x69\x6F\x6E\x73","\x70\x6F\x72\x74","\x69\x6E\x66\x6F","\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64\x41\x74","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x5B\x25\x73\x3A\x25\x73\x5D\x20\x41\x4D\x49\x20\x44\x49\x53\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44","\x63\x6C\x6F\x73\x65","\x5B\x25\x73\x3A\x25\x73\x5D\x20\x41\x4D\x49\x20\x43\x4C\x4F\x53\x45\x3A\x20\x25\x73","\x6C\x6F\x67","\x65\x72\x72\x6F\x72","\x5B\x25\x73\x3A\x25\x73\x5D\x20\x41\x4D\x49\x20\x45\x52\x52\x4F\x52\x3A\x20\x25\x73","\x6D\x61\x6E\x61\x67\x65\x72\x65\x76\x65\x6E\x74","\x64\x65\x76\x69\x63\x65\x73\x74\x61\x74\x65\x63\x68\x61\x6E\x67\x65","\x64\x65\x76\x69\x63\x65","\x53\x49\x50\x2F\x6D\x61\x73\x73\x69\x6D\x69\x6C\x69\x61\x6E\x6F\x2E\x62\x75\x6E\x67\x61\x72\x6F","\x73\x74\x61\x74\x65\x63\x68\x61\x6E\x67\x65","\x73\x74\x61\x74\x65","\x53\x49\x50\x2F","\x69\x6E\x64\x65\x78\x4F\x66","\x73\x74\x61\x74\x65\x55\x70\x64\x61\x74\x65","\x61\x67\x65\x6E\x74\x63\x61\x6C\x6C\x65\x64","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x6D\x61\x73\x73\x69\x6D\x69\x6C\x69\x61\x6E\x6F\x2E\x62\x75\x6E\x67\x61\x72\x6F","\x63\x61\x6C\x6C\x65\x64","\x71\x75\x65\x75\x65\x53\x74\x61\x74\x75\x73\x55\x70\x64\x61\x74\x65","\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x75\x70\x64\x61\x74\x65\x51\x75\x65\x75\x65","\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x61\x67\x65\x6E\x74\x63\x6F\x6E\x6E\x65\x63\x74","\x61\x67\x65\x6E\x74\x64\x75\x6D\x70","\x64\x75\x6D\x70","\x61\x67\x65\x6E\x74\x72\x69\x6E\x67\x6E\x6F\x61\x6E\x73\x77\x65\x72","\x72\x69\x6E\x67\x6E\x6F\x61\x6E\x73\x77\x65\x72","\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x61\x64\x64\x65\x64","\x6C\x6F\x67\x69\x6E","\x61\x64\x64\x65\x64","\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x70\x61\x75\x73\x65","\x70\x61\x75\x73\x65","\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x70\x65\x6E\x61\x6C\x74\x79","\x70\x65\x6E\x61\x6C\x74\x79","\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x72\x65\x6D\x6F\x76\x65\x64","\x6C\x6F\x67\x6F\x75\x74","\x72\x65\x6D\x6F\x76\x65\x64","\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x72\x69\x6E\x67\x69\x6E\x75\x73\x65","\x72\x69\x6E\x67\x69\x6E\x75\x73\x65","\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x73\x74\x61\x74\x75\x73","\x73\x74\x61\x74\x75\x73","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E","\x6A\x6F\x69\x6E","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E","\x61\x62\x61\x6E\x64\x6F\x6E","\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65","\x6C\x65\x61\x76\x65","\x63\x64\x72","\x61\x64\x64","\x75\x70\x64\x61\x74\x65\x54\x79\x70\x65","\x68\x61\x6E\x67\x75\x70","\x62\x6C\x69\x6E\x64\x74\x72\x61\x6E\x73\x66\x65\x72","\x74\x79\x70\x65","\x62\x6C\x69\x6E\x64","\x63\x72\x65\x61\x74\x65\x42\x6C\x69\x6E\x64","\x61\x74\x74\x65\x6E\x64\x65\x64\x74\x72\x61\x6E\x73\x66\x65\x72","\x61\x74\x74\x65\x6E\x64\x65\x64","\x63\x72\x65\x61\x74\x65\x41\x74\x74\x65\x6E\x64\x65\x64","\x76\x61\x72\x73\x65\x74","\x63\x72\x65\x61\x74\x65","\x6D\x69\x78\x6D\x6F\x6E\x69\x74\x6F\x72\x5F\x66\x69\x6C\x65\x6E\x61\x6D\x65","\x65\x78\x69\x74","\x71\x75\x65\x75\x65\x73\x74\x61\x74\x75\x73","\x72\x65\x67\x69\x73\x74\x72\x79","\x73\x74\x61\x74\x75\x73\x55\x70\x64\x61\x74\x65","\x70\x65\x65\x72\x73\x74\x61\x74\x75\x73","\x70\x65\x65\x72\x73\x74\x61\x74\x75\x73\x55\x70\x64\x61\x74\x65","\x72\x65\x63\x65\x69\x76\x65\x66\x61\x78","\x52\x65\x63\x65\x69\x76\x65\x46\x61\x78","\x72\x65\x67\x69\x73\x74\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x70\x69\x2F\x61\x6D\x69\x2F\x61\x6D\x69\x2E\x61\x6D\x69"];_0xfbb3[0];var Agent=require(_0xfbb3[1]);var Action=require(_0xfbb3[2]);var Call=require(_0xfbb3[3]);var Member=require(_0xfbb3[4]);var QueueCaller=require(_0xfbb3[5]);var QueueMember=require(_0xfbb3[6]);var Recording=require(_0xfbb3[7]);var Trunk=require(_0xfbb3[8]);var Context=require(_0xfbb3[9]);var ACW=require(_0xfbb3[10]);var User=require(_0xfbb3[11]);var Transfer=require(_0xfbb3[12]);var Network=require(_0xfbb3[13]);var Fax=require(_0xfbb3[14]);function onDisconnect(_0xf488x10){}function onConnect(_0xf488x10){}function getVariable(_0xf488x13){var _0xf488x14=Object[_0xfbb3[16]](_0xf488x13[_0xfbb3[15]]);_0xf488x13[_0xfbb3[15]]=_0xf488x14[0];return _0xf488x13}module[_0xfbb3[17]]=function(_0xf488x10){var _0xf488x15= new Agent();var _0xf488x16= new Call();var _0xf488x17= new Member();var _0xf488x18= new QueueMember();var _0xf488x19= new QueueCaller();var _0xf488x1a= new Recording();var _0xf488x1b= new Trunk(_0xf488x10);var _0xf488x1c= new Context(_0xf488x10);var _0xf488x1d= new Action(_0xf488x10);var _0xf488x1e= new ACW(_0xf488x10);var _0xf488x1f= new User();var _0xf488x20= new Transfer();var _0xf488x21= new Network(_0xf488x10);var _0xf488x22= new Fax(_0xf488x10);_0xf488x10[_0xfbb3[25]](_0xfbb3[18],function(){console[_0xfbb3[23]](_0xfbb3[19],_0xf488x10[_0xfbb3[21]][_0xfbb3[20]],_0xf488x10[_0xfbb3[21]][_0xfbb3[22]]);_0xf488x10[_0xfbb3[21]][_0xfbb3[24]]= new Date();onConnect(_0xf488x10)});_0xf488x10[_0xfbb3[25]](_0xfbb3[26],function(){onDisconnect(_0xf488x10);console[_0xfbb3[23]](_0xfbb3[27],_0xf488x10[_0xfbb3[21]][_0xfbb3[20]],_0xf488x10[_0xfbb3[21]][_0xfbb3[22]])});_0xf488x10[_0xfbb3[25]](_0xfbb3[28],function(_0xf488x23){console[_0xfbb3[30]](_0xfbb3[29],_0xf488x10[_0xfbb3[21]][_0xfbb3[20]],_0xf488x10[_0xfbb3[21]][_0xfbb3[22]],_0xf488x23)});_0xf488x10[_0xfbb3[25]](_0xfbb3[31],function(_0xf488x24){console[_0xfbb3[30]](_0xfbb3[32],_0xf488x10[_0xfbb3[21]][_0xfbb3[20]],_0xf488x10[_0xfbb3[21]][_0xfbb3[22]],_0xf488x24)});_0xf488x10[_0xfbb3[25]](_0xfbb3[33],function(_0xf488x25){});_0xf488x10[_0xfbb3[25]](_0xfbb3[34],function(_0xf488x25){if(_0xf488x25[_0xfbb3[35]]===_0xfbb3[36]){console[_0xfbb3[30]](_0xfbb3[37],_0xf488x25[_0xfbb3[38]])};if(_0xf488x25[_0xfbb3[35]][_0xfbb3[40]](_0xfbb3[39])===0){_0xf488x1f[_0xfbb3[41]](_0xf488x25)}});_0xf488x10[_0xfbb3[25]](_0xfbb3[42],function(_0xf488x25){if(_0xf488x25[_0xfbb3[43]]===_0xfbb3[44]){console[_0xfbb3[30]](_0xfbb3[42],_0xfbb3[45])};_0xf488x15[_0xfbb3[45]](_0xf488x25);_0xf488x1f[_0xfbb3[46]](_0xfbb3[45],_0xf488x25)});_0xf488x10[_0xfbb3[25]](_0xfbb3[47],function(_0xf488x25){_0xf488x1a[_0xfbb3[48]](_0xf488x25);_0xf488x1e[_0xfbb3[47]](_0xf488x25);_0xf488x15[_0xfbb3[49]](_0xf488x25);_0xf488x19[_0xfbb3[49]](_0xf488x25);_0xf488x1f[_0xfbb3[46]](_0xfbb3[49],_0xf488x25)});_0xf488x10[_0xfbb3[25]](_0xfbb3[50],function(_0xf488x25){_0xf488x15[_0xfbb3[18]](_0xf488x25);_0xf488x1f[_0xfbb3[46]](_0xfbb3[18],_0xf488x25)});_0xf488x10[_0xfbb3[25]](_0xfbb3[51],function(_0xf488x25){console[_0xfbb3[30]](_0xfbb3[51],_0xf488x25);_0xf488x15[_0xfbb3[52]](_0xf488x25);_0xf488x1f[_0xfbb3[46]](_0xfbb3[49],_0xf488x25)});_0xf488x10[_0xfbb3[25]](_0xfbb3[53],function(_0xf488x25){console[_0xfbb3[30]](_0xfbb3[53],_0xf488x25);_0xf488x15[_0xfbb3[54]](_0xf488x25);_0xf488x1f[_0xfbb3[46]](_0xfbb3[49],_0xf488x25)});_0xf488x10[_0xfbb3[25]](_0xfbb3[55],function(_0xf488x25){_0xf488x17[_0xfbb3[56]](_0xf488x25);_0xf488x18[_0xfbb3[57]](_0xf488x25)});_0xf488x10[_0xfbb3[25]](_0xfbb3[58],function(_0xf488x25){_0xf488x17[_0xfbb3[59]](_0xf488x25);_0xf488x18[_0xfbb3[59]](_0xf488x25)});_0xf488x10[_0xfbb3[25]](_0xfbb3[60],function(_0xf488x25){_0xf488x18[_0xfbb3[61]](_0xf488x25)});_0xf488x10[_0xfbb3[25]](_0xfbb3[62],function(_0xf488x25){_0xf488x17[_0xfbb3[63]](_0xf488x25);_0xf488x18[_0xfbb3[64]](_0xf488x25)});_0xf488x10[_0xfbb3[25]](_0xfbb3[65],function(_0xf488x25){_0xf488x18[_0xfbb3[66]](_0xf488x25)});_0xf488x10[_0xfbb3[25]](_0xfbb3[67],function(_0xf488x25){_0xf488x18[_0xfbb3[68]](_0xf488x25)});_0xf488x10[_0xfbb3[25]](_0xfbb3[69],function(_0xf488x25){_0xf488x19[_0xfbb3[70]](_0xf488x25)});_0xf488x10[_0xfbb3[25]](_0xfbb3[71],function(_0xf488x25){_0xf488x19[_0xfbb3[72]](_0xf488x25);_0xf488x1f[_0xfbb3[46]](_0xfbb3[49],_0xf488x25);_0xf488x15[_0xfbb3[73]](_0xf488x25)});_0xf488x10[_0xfbb3[25]](_0xfbb3[74],function(_0xf488x25){_0xf488x19[_0xfbb3[75]](_0xf488x25)});_0xf488x10[_0xfbb3[25]](_0xfbb3[76],function(_0xf488x25){_0xf488x16[_0xfbb3[77]](_0xf488x25);_0xf488x1a[_0xfbb3[78]](_0xf488x25)});_0xf488x10[_0xfbb3[25]](_0xfbb3[79],function(_0xf488x25){});_0xf488x10[_0xfbb3[25]](_0xfbb3[80],function(_0xf488x25){console[_0xfbb3[30]](_0xfbb3[80],_0xf488x25);_0xf488x25[_0xfbb3[81]]=_0xfbb3[82];_0xf488x20[_0xfbb3[83]](_0xf488x25)});_0xf488x10[_0xfbb3[25]](_0xfbb3[84],function(_0xf488x25){console[_0xfbb3[30]](_0xfbb3[84],_0xf488x25);_0xf488x25[_0xfbb3[81]]=_0xfbb3[85];_0xf488x20[_0xfbb3[86]](_0xf488x25)});_0xf488x10[_0xfbb3[25]](_0xfbb3[87],function(_0xf488x25){var _0xf488x13=getVariable(_0xf488x25);switch(_0xf488x13[_0xfbb3[15]]){case _0xfbb3[89]:_0xf488x1a[_0xfbb3[88]](_0xf488x13);break;case _0xfbb3[91]:_0xf488x19[_0xfbb3[90]](_0xf488x13);break;default:break}});_0xf488x10[_0xfbb3[25]](_0xfbb3[92],function(_0xf488x25){_0xf488x1b[_0xfbb3[93]](_0xf488x25)});_0xf488x10[_0xfbb3[25]](_0xfbb3[94],function(_0xf488x25){_0xf488x1b[_0xfbb3[95]](_0xf488x25)});_0xf488x10[_0xfbb3[25]](_0xfbb3[96],function(_0xf488x25){console[_0xfbb3[30]](_0xfbb3[97],_0xf488x25);_0xf488x22[_0xfbb3[96]](_0xf488x25)});require(_0xfbb3[99])[_0xfbb3[98]](_0xf488x10)} \ No newline at end of file +var _0xcc31=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x61\x67\x65\x6E\x74","\x2E\x2F\x61\x63\x74\x69\x6F\x6E","\x2E\x2F\x63\x61\x6C\x6C","\x2E\x2F\x6D\x65\x6D\x62\x65\x72","\x2E\x2F\x71\x75\x65\x75\x65\x5F\x63\x61\x6C\x6C\x65\x72","\x2E\x2F\x71\x75\x65\x75\x65\x5F\x6D\x65\x6D\x62\x65\x72","\x2E\x2F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67","\x2E\x2F\x74\x72\x75\x6E\x6B","\x2E\x2F\x76\x6F\x69\x63\x65\x5F\x63\x6F\x6E\x74\x65\x78\x74","\x2E\x2F\x61\x63\x77","\x2E\x2F\x75\x73\x65\x72","\x2E\x2F\x74\x72\x61\x6E\x73\x66\x65\x72","\x2E\x2F\x6E\x65\x74\x77\x6F\x72\x6B","\x2E\x2F\x66\x61\x78","\x76\x61\x72\x69\x61\x62\x6C\x65","\x6B\x65\x79\x73","\x65\x78\x70\x6F\x72\x74\x73","\x63\x6F\x6E\x6E\x65\x63\x74","\x5B\x25\x73\x3A\x25\x73\x5D\x20\x41\x4D\x49\x20\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44","\x68\x6F\x73\x74","\x6F\x70\x74\x69\x6F\x6E\x73","\x70\x6F\x72\x74","\x69\x6E\x66\x6F","\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64\x41\x74","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x5B\x25\x73\x3A\x25\x73\x5D\x20\x41\x4D\x49\x20\x44\x49\x53\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44","\x63\x6C\x6F\x73\x65","\x5B\x25\x73\x3A\x25\x73\x5D\x20\x41\x4D\x49\x20\x43\x4C\x4F\x53\x45\x3A\x20\x25\x73","\x6C\x6F\x67","\x65\x72\x72\x6F\x72","\x5B\x25\x73\x3A\x25\x73\x5D\x20\x41\x4D\x49\x20\x45\x52\x52\x4F\x52\x3A\x20\x25\x73","\x6D\x61\x6E\x61\x67\x65\x72\x65\x76\x65\x6E\x74","\x64\x65\x76\x69\x63\x65\x73\x74\x61\x74\x65\x63\x68\x61\x6E\x67\x65","\x64\x65\x76\x69\x63\x65","\x53\x49\x50\x2F\x6D\x61\x73\x73\x69\x6D\x69\x6C\x69\x61\x6E\x6F\x2E\x62\x75\x6E\x67\x61\x72\x6F","\x73\x74\x61\x74\x65\x63\x68\x61\x6E\x67\x65","\x73\x74\x61\x74\x65","\x53\x49\x50\x2F","\x69\x6E\x64\x65\x78\x4F\x66","\x73\x74\x61\x74\x65\x55\x70\x64\x61\x74\x65","\x61\x67\x65\x6E\x74\x63\x61\x6C\x6C\x65\x64","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x6D\x61\x73\x73\x69\x6D\x69\x6C\x69\x61\x6E\x6F\x2E\x62\x75\x6E\x67\x61\x72\x6F","\x63\x61\x6C\x6C\x65\x64","\x71\x75\x65\x75\x65\x53\x74\x61\x74\x75\x73\x55\x70\x64\x61\x74\x65","\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x75\x70\x64\x61\x74\x65\x51\x75\x65\x75\x65","\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x61\x67\x65\x6E\x74\x63\x6F\x6E\x6E\x65\x63\x74","\x61\x67\x65\x6E\x74\x64\x75\x6D\x70","\x64\x75\x6D\x70","\x61\x67\x65\x6E\x74\x72\x69\x6E\x67\x6E\x6F\x61\x6E\x73\x77\x65\x72","\x72\x69\x6E\x67\x6E\x6F\x61\x6E\x73\x77\x65\x72","\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x61\x64\x64\x65\x64","\x6C\x6F\x67\x69\x6E","\x61\x64\x64\x65\x64","\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x70\x61\x75\x73\x65","\x70\x61\x75\x73\x65","\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x70\x65\x6E\x61\x6C\x74\x79","\x70\x65\x6E\x61\x6C\x74\x79","\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x72\x65\x6D\x6F\x76\x65\x64","\x6C\x6F\x67\x6F\x75\x74","\x72\x65\x6D\x6F\x76\x65\x64","\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x72\x69\x6E\x67\x69\x6E\x75\x73\x65","\x72\x69\x6E\x67\x69\x6E\x75\x73\x65","\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x73\x74\x61\x74\x75\x73","\x73\x74\x61\x74\x75\x73","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E","\x6A\x6F\x69\x6E","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E","\x61\x62\x61\x6E\x64\x6F\x6E","\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65","\x6C\x65\x61\x76\x65","\x63\x64\x72","\x61\x64\x64","\x75\x70\x64\x61\x74\x65\x54\x79\x70\x65","\x68\x61\x6E\x67\x75\x70","\x62\x6C\x69\x6E\x64\x74\x72\x61\x6E\x73\x66\x65\x72","\x74\x79\x70\x65","\x62\x6C\x69\x6E\x64","\x63\x72\x65\x61\x74\x65\x42\x6C\x69\x6E\x64","\x61\x74\x74\x65\x6E\x64\x65\x64\x74\x72\x61\x6E\x73\x66\x65\x72","\x61\x74\x74\x65\x6E\x64\x65\x64","\x63\x72\x65\x61\x74\x65\x41\x74\x74\x65\x6E\x64\x65\x64","\x76\x61\x72\x73\x65\x74","\x63\x72\x65\x61\x74\x65","\x6D\x69\x78\x6D\x6F\x6E\x69\x74\x6F\x72\x5F\x66\x69\x6C\x65\x6E\x61\x6D\x65","\x65\x78\x69\x74","\x71\x75\x65\x75\x65\x73\x74\x61\x74\x75\x73","\x72\x65\x67\x69\x73\x74\x72\x79","\x73\x74\x61\x74\x75\x73\x55\x70\x64\x61\x74\x65","\x70\x65\x65\x72\x73\x74\x61\x74\x75\x73","\x70\x65\x65\x72\x73\x74\x61\x74\x75\x73\x55\x70\x64\x61\x74\x65","\x72\x65\x63\x65\x69\x76\x65\x66\x61\x78","\x52\x65\x63\x65\x69\x76\x65\x46\x61\x78","\x72\x65\x67\x69\x73\x74\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x70\x69\x2F\x61\x6D\x69\x2F\x61\x6D\x69\x2E\x61\x6D\x69"];_0xcc31[0];var Agent=require(_0xcc31[1]);var Action=require(_0xcc31[2]);var Call=require(_0xcc31[3]);var Member=require(_0xcc31[4]);var QueueCaller=require(_0xcc31[5]);var QueueMember=require(_0xcc31[6]);var Recording=require(_0xcc31[7]);var Trunk=require(_0xcc31[8]);var Context=require(_0xcc31[9]);var ACW=require(_0xcc31[10]);var User=require(_0xcc31[11]);var Transfer=require(_0xcc31[12]);var Network=require(_0xcc31[13]);var Fax=require(_0xcc31[14]);function onDisconnect(_0x7514x10){}function onConnect(_0x7514x10){}function getVariable(_0x7514x13){var _0x7514x14=Object[_0xcc31[16]](_0x7514x13[_0xcc31[15]]);_0x7514x13[_0xcc31[15]]=_0x7514x14[0];return _0x7514x13}module[_0xcc31[17]]=function(_0x7514x10){var _0x7514x15= new Agent();var _0x7514x16= new Call();var _0x7514x17= new Member();var _0x7514x18= new QueueMember();var _0x7514x19= new QueueCaller();var _0x7514x1a= new Recording();var _0x7514x1b= new Trunk(_0x7514x10);var _0x7514x1c= new Context(_0x7514x10);var _0x7514x1d= new Action(_0x7514x10);var _0x7514x1e= new ACW(_0x7514x10);var _0x7514x1f= new User();var _0x7514x20= new Transfer();var _0x7514x21= new Network(_0x7514x10);var _0x7514x22= new Fax(_0x7514x10);_0x7514x10[_0xcc31[25]](_0xcc31[18],function(){console[_0xcc31[23]](_0xcc31[19],_0x7514x10[_0xcc31[21]][_0xcc31[20]],_0x7514x10[_0xcc31[21]][_0xcc31[22]]);_0x7514x10[_0xcc31[21]][_0xcc31[24]]= new Date();onConnect(_0x7514x10)});_0x7514x10[_0xcc31[25]](_0xcc31[26],function(){onDisconnect(_0x7514x10);console[_0xcc31[23]](_0xcc31[27],_0x7514x10[_0xcc31[21]][_0xcc31[20]],_0x7514x10[_0xcc31[21]][_0xcc31[22]])});_0x7514x10[_0xcc31[25]](_0xcc31[28],function(_0x7514x23){console[_0xcc31[30]](_0xcc31[29],_0x7514x10[_0xcc31[21]][_0xcc31[20]],_0x7514x10[_0xcc31[21]][_0xcc31[22]],_0x7514x23)});_0x7514x10[_0xcc31[25]](_0xcc31[31],function(_0x7514x24){console[_0xcc31[30]](_0xcc31[32],_0x7514x10[_0xcc31[21]][_0xcc31[20]],_0x7514x10[_0xcc31[21]][_0xcc31[22]],_0x7514x24)});_0x7514x10[_0xcc31[25]](_0xcc31[33],function(_0x7514x25){});_0x7514x10[_0xcc31[25]](_0xcc31[34],function(_0x7514x25){if(_0x7514x25[_0xcc31[35]]===_0xcc31[36]){console[_0xcc31[30]](_0xcc31[37],_0x7514x25[_0xcc31[38]])};if(_0x7514x25[_0xcc31[35]][_0xcc31[40]](_0xcc31[39])===0){_0x7514x1f[_0xcc31[41]](_0x7514x25)}});_0x7514x10[_0xcc31[25]](_0xcc31[42],function(_0x7514x25){if(_0x7514x25[_0xcc31[43]]===_0xcc31[44]){console[_0xcc31[30]](_0xcc31[42],_0xcc31[45])};_0x7514x15[_0xcc31[45]](_0x7514x25);_0x7514x1f[_0xcc31[46]](_0xcc31[45],_0x7514x25)});_0x7514x10[_0xcc31[25]](_0xcc31[47],function(_0x7514x25){_0x7514x1a[_0xcc31[48]](_0x7514x25);_0x7514x1e[_0xcc31[47]](_0x7514x25);_0x7514x15[_0xcc31[49]](_0x7514x25);_0x7514x19[_0xcc31[49]](_0x7514x25);_0x7514x1f[_0xcc31[46]](_0xcc31[49],_0x7514x25)});_0x7514x10[_0xcc31[25]](_0xcc31[50],function(_0x7514x25){_0x7514x15[_0xcc31[18]](_0x7514x25);_0x7514x1f[_0xcc31[46]](_0xcc31[18],_0x7514x25)});_0x7514x10[_0xcc31[25]](_0xcc31[51],function(_0x7514x25){console[_0xcc31[30]](_0xcc31[51],_0x7514x25);_0x7514x15[_0xcc31[52]](_0x7514x25);_0x7514x1f[_0xcc31[46]](_0xcc31[49],_0x7514x25)});_0x7514x10[_0xcc31[25]](_0xcc31[53],function(_0x7514x25){console[_0xcc31[30]](_0xcc31[53],_0x7514x25);_0x7514x15[_0xcc31[54]](_0x7514x25);_0x7514x1f[_0xcc31[46]](_0xcc31[49],_0x7514x25)});_0x7514x10[_0xcc31[25]](_0xcc31[55],function(_0x7514x25){_0x7514x17[_0xcc31[56]](_0x7514x25);_0x7514x18[_0xcc31[57]](_0x7514x25)});_0x7514x10[_0xcc31[25]](_0xcc31[58],function(_0x7514x25){_0x7514x17[_0xcc31[59]](_0x7514x25);_0x7514x18[_0xcc31[59]](_0x7514x25)});_0x7514x10[_0xcc31[25]](_0xcc31[60],function(_0x7514x25){_0x7514x18[_0xcc31[61]](_0x7514x25)});_0x7514x10[_0xcc31[25]](_0xcc31[62],function(_0x7514x25){_0x7514x17[_0xcc31[63]](_0x7514x25);_0x7514x18[_0xcc31[64]](_0x7514x25)});_0x7514x10[_0xcc31[25]](_0xcc31[65],function(_0x7514x25){_0x7514x18[_0xcc31[66]](_0x7514x25)});_0x7514x10[_0xcc31[25]](_0xcc31[67],function(_0x7514x25){_0x7514x18[_0xcc31[68]](_0x7514x25)});_0x7514x10[_0xcc31[25]](_0xcc31[69],function(_0x7514x25){_0x7514x19[_0xcc31[70]](_0x7514x25)});_0x7514x10[_0xcc31[25]](_0xcc31[71],function(_0x7514x25){_0x7514x19[_0xcc31[72]](_0x7514x25);_0x7514x1f[_0xcc31[46]](_0xcc31[49],_0x7514x25);_0x7514x15[_0xcc31[73]](_0x7514x25)});_0x7514x10[_0xcc31[25]](_0xcc31[74],function(_0x7514x25){_0x7514x19[_0xcc31[75]](_0x7514x25)});_0x7514x10[_0xcc31[25]](_0xcc31[76],function(_0x7514x25){_0x7514x16[_0xcc31[77]](_0x7514x25);_0x7514x1a[_0xcc31[78]](_0x7514x25)});_0x7514x10[_0xcc31[25]](_0xcc31[79],function(_0x7514x25){});_0x7514x10[_0xcc31[25]](_0xcc31[80],function(_0x7514x25){console[_0xcc31[30]](_0xcc31[80],_0x7514x25);_0x7514x25[_0xcc31[81]]=_0xcc31[82];_0x7514x20[_0xcc31[83]](_0x7514x25)});_0x7514x10[_0xcc31[25]](_0xcc31[84],function(_0x7514x25){console[_0xcc31[30]](_0xcc31[84],_0x7514x25);_0x7514x25[_0xcc31[81]]=_0xcc31[85];_0x7514x20[_0xcc31[86]](_0x7514x25)});_0x7514x10[_0xcc31[25]](_0xcc31[87],function(_0x7514x25){var _0x7514x13=getVariable(_0x7514x25);switch(_0x7514x13[_0xcc31[15]]){case _0xcc31[89]:_0x7514x1a[_0xcc31[88]](_0x7514x13);break;case _0xcc31[91]:_0x7514x19[_0xcc31[90]](_0x7514x13);break;default:break}});_0x7514x10[_0xcc31[25]](_0xcc31[92],function(_0x7514x25){_0x7514x1b[_0xcc31[93]](_0x7514x25)});_0x7514x10[_0xcc31[25]](_0xcc31[94],function(_0x7514x25){_0x7514x1b[_0xcc31[95]](_0x7514x25)});_0x7514x10[_0xcc31[25]](_0xcc31[96],function(_0x7514x25){console[_0xcc31[30]](_0xcc31[97],_0x7514x25);_0x7514x22[_0xcc31[96]](_0x7514x25)});require(_0xcc31[99])[_0xcc31[98]](_0x7514x10)} \ No newline at end of file diff --git a/server/config/ami/member.js b/server/config/ami/member.js index 7b72fb6..4e06611 100644 --- a/server/config/ami/member.js +++ b/server/config/ami/member.js @@ -1 +1 @@ -var _0x60e1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6D\x6F\x6D\x65\x6E\x74","\x52\x65\x70\x6F\x72\x74\x4D\x65\x6D\x62\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x65\x6D\x62\x65\x72\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x6C\x6F\x67\x69\x6E","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x73\x74\x61\x74\x65","\x73\x74\x61\x74\x65\x64\x65\x73\x63","\x4C\x4F\x47\x49\x4E","\x65\x6E\x74\x65\x72\x64\x61\x74\x65","\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","\x6C\x6F\x67\x6F\x75\x74","\x65\x78\x69\x74\x64\x61\x74\x65","\x70\x61\x75\x73\x65","\x50\x41\x55\x53\x45","\x70\x61\x75\x73\x65\x64","\x72\x65\x61\x73\x6F\x6E","\x65\x78\x70\x6F\x72\x74\x73"];_0x60e1[0];var moment=require(_0x60e1[1]);var member=require(_0x60e1[3])[_0x60e1[2]];function Member(){console[_0x60e1[5]](_0x60e1[4])}Member[_0x60e1[7]][_0x60e1[6]]=function(_0xd983x4){_0xd983x4[_0x60e1[8]]=0;_0xd983x4[_0x60e1[9]]=_0x60e1[10];_0xd983x4[_0x60e1[11]]=moment()[_0x60e1[13]](_0x60e1[12]);findOrCreate(_0xd983x4)};Member[_0x60e1[7]][_0x60e1[14]]=function(_0xd983x4){_0xd983x4[_0x60e1[8]]=0;_0xd983x4[_0x60e1[9]]=_0x60e1[10];_0xd983x4[_0x60e1[15]]=moment()[_0x60e1[13]](_0x60e1[12]);findAndUpdate(_0xd983x4)};Member[_0x60e1[7]][_0x60e1[16]]=function(_0xd983x4){_0xd983x4[_0x60e1[8]]=1;_0xd983x4[_0x60e1[9]]=_0x60e1[17];var _0xd983x5=parseInt(_0xd983x4[_0x60e1[18]],10);if(_0xd983x5){_0xd983x4[_0x60e1[11]]=moment()[_0x60e1[13]](_0x60e1[12]);findOrCreate(_0xd983x4)}else {if(_0xd983x4[_0x60e1[19]]){delete _0xd983x4[_0x60e1[19]]};_0xd983x4[_0x60e1[15]]=moment()[_0x60e1[13]](_0x60e1[12]);findAndUpdate(_0xd983x4)}};function findOrCreate(_0xd983x4){}function findAndUpdate(_0xd983x4){}module[_0x60e1[20]]=Member \ No newline at end of file +var _0x7fe1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6D\x6F\x6D\x65\x6E\x74","\x52\x65\x70\x6F\x72\x74\x4D\x65\x6D\x62\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x65\x6D\x62\x65\x72\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x6C\x6F\x67\x69\x6E","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x73\x74\x61\x74\x65","\x73\x74\x61\x74\x65\x64\x65\x73\x63","\x4C\x4F\x47\x49\x4E","\x65\x6E\x74\x65\x72\x64\x61\x74\x65","\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","\x6C\x6F\x67\x6F\x75\x74","\x65\x78\x69\x74\x64\x61\x74\x65","\x70\x61\x75\x73\x65","\x50\x41\x55\x53\x45","\x70\x61\x75\x73\x65\x64","\x72\x65\x61\x73\x6F\x6E","\x65\x78\x70\x6F\x72\x74\x73"];_0x7fe1[0];var moment=require(_0x7fe1[1]);var member=require(_0x7fe1[3])[_0x7fe1[2]];function Member(){console[_0x7fe1[5]](_0x7fe1[4])}Member[_0x7fe1[7]][_0x7fe1[6]]=function(_0x48b4x4){_0x48b4x4[_0x7fe1[8]]=0;_0x48b4x4[_0x7fe1[9]]=_0x7fe1[10];_0x48b4x4[_0x7fe1[11]]=moment()[_0x7fe1[13]](_0x7fe1[12]);findOrCreate(_0x48b4x4)};Member[_0x7fe1[7]][_0x7fe1[14]]=function(_0x48b4x4){_0x48b4x4[_0x7fe1[8]]=0;_0x48b4x4[_0x7fe1[9]]=_0x7fe1[10];_0x48b4x4[_0x7fe1[15]]=moment()[_0x7fe1[13]](_0x7fe1[12]);findAndUpdate(_0x48b4x4)};Member[_0x7fe1[7]][_0x7fe1[16]]=function(_0x48b4x4){_0x48b4x4[_0x7fe1[8]]=1;_0x48b4x4[_0x7fe1[9]]=_0x7fe1[17];var _0x48b4x5=parseInt(_0x48b4x4[_0x7fe1[18]],10);if(_0x48b4x5){_0x48b4x4[_0x7fe1[11]]=moment()[_0x7fe1[13]](_0x7fe1[12]);findOrCreate(_0x48b4x4)}else {if(_0x48b4x4[_0x7fe1[19]]){delete _0x48b4x4[_0x7fe1[19]]};_0x48b4x4[_0x7fe1[15]]=moment()[_0x7fe1[13]](_0x7fe1[12]);findAndUpdate(_0x48b4x4)}};function findOrCreate(_0x48b4x4){}function findAndUpdate(_0x48b4x4){}module[_0x7fe1[20]]=Member \ No newline at end of file diff --git a/server/config/ami/network.js b/server/config/ami/network.js index bc75b97..1a16dbb 100644 --- a/server/config/ami/network.js +++ b/server/config/ami/network.js @@ -1 +1 @@ -var _0xa0b5=["\x4E\x65\x74\x77\x6F\x72\x6B","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x66\x73","\x75\x74\x69\x6C","\x70\x61\x74\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x6C\x6F\x64\x61\x73\x68","\x4E\x65\x74\x77\x6F\x72\x6B\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x6C\x65\x74\x65","\x45\x72\x72\x6F\x72\x20\x77\x72\x69\x74\x69\x6E\x67\x20\x6C\x6F\x63\x61\x6C\x6E\x65\x74\x3A","\x63\x61\x74\x63\x68","","\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","\x76\x61\x6C\x75\x65","\x66\x6F\x72\x6D\x61\x74","\x66\x6F\x72\x45\x61\x63\x68","\x61\x73\x74\x65\x72\x69\x73\x6B\x43\x6F\x6E\x66","\x6A\x6F\x69\x6E","\x77","\x30\x37\x37\x37","\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","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x6C\x6F\x63\x61\x6C\x6E\x65\x74","\x73\x63\x6F\x70\x65","\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","\x74\x79\x70\x65","\x52\x65\x6C\x6F\x61\x64","\x65\x72\x72\x6F\x72","\x61\x63\x74\x69\x6F\x6E","\x65\x78\x70\x6F\x72\x74\x73"];var NetwokModel=require(_0xa0b5[1])[_0xa0b5[0]];var fs=require(_0xa0b5[2]);var util=require(_0xa0b5[3]);var path=require(_0xa0b5[4]);var config=require(_0xa0b5[5]);var _=require(_0xa0b5[6]);function Network(_0xb91cx8){console[_0xa0b5[8]](_0xa0b5[7]);NetwokModel[_0xa0b5[9]](function(_0xb91cx9){networkRewrite(_0xb91cx9,_0xb91cx8)});NetwokModel[_0xa0b5[10]](function(_0xb91cx9){networkRewrite(_0xb91cx9,_0xb91cx8)});NetwokModel[_0xa0b5[11]](function(_0xb91cx9){networkRewrite(_0xb91cx9,_0xb91cx8)})}function networkRewrite(_0xb91cx9,_0xb91cx8){switch(_0xb91cx9[_0xa0b5[36]]){case _0xa0b5[28]:return NetwokModel[_0xa0b5[29]](_0xa0b5[28])[_0xa0b5[27]]()[_0xa0b5[26]](function(_0xb91cxc){var _0xb91cxd=_0xa0b5[14];var _0xb91cxe=_0xa0b5[15];_0xb91cxc[_0xa0b5[19]](function(_0xb91cxf){_0xb91cxd+=util[_0xa0b5[18]](_0xa0b5[16],_0xb91cxf[_0xa0b5[17]])});fs[_0xa0b5[25]](path[_0xa0b5[21]](config[_0xa0b5[20]],_0xb91cxe),_0xb91cxd,{flags:_0xa0b5[22],mode:parseInt(_0xa0b5[23],8)},function(_0xb91cxb){if(_0xb91cxb){throw _0xb91cxb};reload(_0xb91cx8);console[_0xa0b5[8]](_0xa0b5[24])})})[_0xa0b5[13]](function(_0xb91cxb){console[_0xa0b5[8]](_0xa0b5[12],_0xb91cxb)});case _0xa0b5[34]:return NetwokModel[_0xa0b5[29]](_0xa0b5[34])[_0xa0b5[27]]()[_0xa0b5[26]](function(_0xb91cx10){var _0xb91cx11=_0xa0b5[14];var _0xb91cx12=_0xa0b5[31];_0xb91cx10[_0xa0b5[19]](function(_0xb91cx13){_0xb91cx11+=util[_0xa0b5[18]](_0xa0b5[32],_0xb91cx13[_0xa0b5[17]])});fs[_0xa0b5[25]](path[_0xa0b5[21]](config[_0xa0b5[20]],_0xb91cx12),_0xb91cx11,{flags:_0xa0b5[22],mode:parseInt(_0xa0b5[23],8)},function(_0xb91cxb){if(_0xb91cxb){throw _0xb91cxb};reload(_0xb91cx8);console[_0xa0b5[8]](_0xa0b5[33])})})[_0xa0b5[13]](function(_0xb91cxb){console[_0xa0b5[8]](_0xa0b5[30],_0xb91cxb)});default:console[_0xa0b5[8]](_0xa0b5[35],_0xb91cx9[_0xa0b5[36]])}}function reload(_0xb91cx8){_0xb91cx8[_0xa0b5[39]]({Action:_0xa0b5[37]},function(_0xb91cxb,_0xb91cx15){if(_0xb91cxb){console[_0xa0b5[38]](_0xb91cxb)}else {console[_0xa0b5[8]](_0xb91cx15)}})}module[_0xa0b5[40]]=Network \ No newline at end of file +var _0xa321=["\x4E\x65\x74\x77\x6F\x72\x6B","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x66\x73","\x75\x74\x69\x6C","\x70\x61\x74\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x6C\x6F\x64\x61\x73\x68","\x4E\x65\x74\x77\x6F\x72\x6B\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x6C\x65\x74\x65","\x45\x72\x72\x6F\x72\x20\x77\x72\x69\x74\x69\x6E\x67\x20\x6C\x6F\x63\x61\x6C\x6E\x65\x74\x3A","\x63\x61\x74\x63\x68","","\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","\x76\x61\x6C\x75\x65","\x66\x6F\x72\x6D\x61\x74","\x66\x6F\x72\x45\x61\x63\x68","\x61\x73\x74\x65\x72\x69\x73\x6B\x43\x6F\x6E\x66","\x6A\x6F\x69\x6E","\x77","\x30\x37\x37\x37","\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","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x6C\x6F\x63\x61\x6C\x6E\x65\x74","\x73\x63\x6F\x70\x65","\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","\x74\x79\x70\x65","\x52\x65\x6C\x6F\x61\x64","\x65\x72\x72\x6F\x72","\x61\x63\x74\x69\x6F\x6E","\x65\x78\x70\x6F\x72\x74\x73"];var NetwokModel=require(_0xa321[1])[_0xa321[0]];var fs=require(_0xa321[2]);var util=require(_0xa321[3]);var path=require(_0xa321[4]);var config=require(_0xa321[5]);var _=require(_0xa321[6]);function Network(_0xfedcx8){console[_0xa321[8]](_0xa321[7]);NetwokModel[_0xa321[9]](function(_0xfedcx9){networkRewrite(_0xfedcx9,_0xfedcx8)});NetwokModel[_0xa321[10]](function(_0xfedcx9){networkRewrite(_0xfedcx9,_0xfedcx8)});NetwokModel[_0xa321[11]](function(_0xfedcx9){networkRewrite(_0xfedcx9,_0xfedcx8)})}function networkRewrite(_0xfedcx9,_0xfedcx8){switch(_0xfedcx9[_0xa321[36]]){case _0xa321[28]:return NetwokModel[_0xa321[29]](_0xa321[28])[_0xa321[27]]()[_0xa321[26]](function(_0xfedcxc){var _0xfedcxd=_0xa321[14];var _0xfedcxe=_0xa321[15];_0xfedcxc[_0xa321[19]](function(_0xfedcxf){_0xfedcxd+=util[_0xa321[18]](_0xa321[16],_0xfedcxf[_0xa321[17]])});fs[_0xa321[25]](path[_0xa321[21]](config[_0xa321[20]],_0xfedcxe),_0xfedcxd,{flags:_0xa321[22],mode:parseInt(_0xa321[23],8)},function(_0xfedcxb){if(_0xfedcxb){throw _0xfedcxb};reload(_0xfedcx8);console[_0xa321[8]](_0xa321[24])})})[_0xa321[13]](function(_0xfedcxb){console[_0xa321[8]](_0xa321[12],_0xfedcxb)});case _0xa321[34]:return NetwokModel[_0xa321[29]](_0xa321[34])[_0xa321[27]]()[_0xa321[26]](function(_0xfedcx10){var _0xfedcx11=_0xa321[14];var _0xfedcx12=_0xa321[31];_0xfedcx10[_0xa321[19]](function(_0xfedcx13){_0xfedcx11+=util[_0xa321[18]](_0xa321[32],_0xfedcx13[_0xa321[17]])});fs[_0xa321[25]](path[_0xa321[21]](config[_0xa321[20]],_0xfedcx12),_0xfedcx11,{flags:_0xa321[22],mode:parseInt(_0xa321[23],8)},function(_0xfedcxb){if(_0xfedcxb){throw _0xfedcxb};reload(_0xfedcx8);console[_0xa321[8]](_0xa321[33])})})[_0xa321[13]](function(_0xfedcxb){console[_0xa321[8]](_0xa321[30],_0xfedcxb)});default:console[_0xa321[8]](_0xa321[35],_0xfedcx9[_0xa321[36]])}}function reload(_0xfedcx8){_0xfedcx8[_0xa321[39]]({Action:_0xa321[37]},function(_0xfedcxb,_0xfedcx15){if(_0xfedcxb){console[_0xa321[38]](_0xfedcxb)}else {console[_0xa321[8]](_0xfedcx15)}})}module[_0xa321[40]]=Network \ No newline at end of file diff --git a/server/config/ami/queue_caller.js b/server/config/ami/queue_caller.js index 412f1a1..fd812e9 100644 --- a/server/config/ami/queue_caller.js +++ b/server/config/ami/queue_caller.js @@ -1 +1 @@ -var _0x4c62=["\x6D\x6F\x6D\x65\x6E\x74","\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x51\x75\x65\x75\x65\x43\x61\x6C\x6C\x65\x72\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x6A\x6F\x69\x6E","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74","\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","\x6C\x65\x61\x76\x65","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65\x41\x74","\x61\x62\x61\x6E\x64\x6F\x6E","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x41\x74","\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x41\x74","\x65\x78\x69\x74","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x65\x78\x69\x74","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x65\x78\x69\x74\x41\x74","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x65\x78\x69\x74\x72\x65\x61\x73\x6F\x6E","\x74\x6F\x4C\x6F\x77\x65\x72\x43\x61\x73\x65","\x76\x61\x6C\x75\x65","\x5B\x72\x65\x70\x6F\x72\x74\x5D\x20\x71\x75\x65\x75\x65\x20","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x5B\x72\x65\x70\x6F\x72\x74\x5D\x20\x71\x75\x65\x75\x65\x20\x63\x72\x65\x61\x74\x65\x64","\x74\x68\x65\x6E","\x63\x72\x65\x61\x74\x65","\x5B\x71\x75\x65\x75\x65\x5F\x63\x61\x6C\x6C\x65\x72\x5D\x20\x71\x75\x65\x75\x65\x5F\x63\x61\x6C\x6C\x65\x72\x20\x65\x72\x72\x6F\x72\x3A\x20","\x5B\x71\x75\x65\x75\x65\x5F\x63\x61\x6C\x6C\x65\x72\x5D\x20\x71\x75\x65\x75\x65\x5F\x63\x61\x6C\x6C\x65\x72\x20\x75\x70\x64\x61\x74\x65\x64","\x69\x6E\x66\x6F","\x75\x6E\x69\x71\x75\x65\x69\x64","\x75\x70\x64\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];var moment=require(_0x4c62[0]);var ReportQueue=require(_0x4c62[2])[_0x4c62[1]];function QueueCaller(){console[_0x4c62[4]](_0x4c62[3])}QueueCaller[_0x4c62[6]][_0x4c62[5]]=function(_0x1af0x4){_0x1af0x4[_0x4c62[7]]=moment()[_0x4c62[9]](_0x4c62[8]);return create(_0x1af0x4)};QueueCaller[_0x4c62[6]][_0x4c62[10]]=function(_0x1af0x4){_0x1af0x4[_0x4c62[11]]=moment()[_0x4c62[9]](_0x4c62[8]);return findAndUpdate(_0x1af0x4)};QueueCaller[_0x4c62[6]][_0x4c62[12]]=function(_0x1af0x4){_0x1af0x4[_0x4c62[13]]=true;_0x1af0x4[_0x4c62[14]]=moment()[_0x4c62[9]](_0x4c62[8]);return findAndUpdate(_0x1af0x4)};QueueCaller[_0x4c62[6]][_0x4c62[15]]=function(_0x1af0x4){_0x1af0x4[_0x4c62[16]]=true;_0x1af0x4[_0x4c62[17]]=moment()[_0x4c62[9]](_0x4c62[8]);return findAndUpdate(_0x1af0x4)};QueueCaller[_0x4c62[6]][_0x4c62[18]]=function(_0x1af0x4){_0x1af0x4[_0x4c62[13]]=false;_0x1af0x4[_0x4c62[14]]=null;_0x1af0x4[_0x4c62[19]]=true;_0x1af0x4[_0x4c62[20]]=moment()[_0x4c62[9]](_0x4c62[8]);_0x1af0x4[_0x4c62[21]]=_0x1af0x4[_0x4c62[23]][_0x4c62[22]]();return findAndUpdate(_0x1af0x4)};function create(_0x1af0x4){return ReportQueue[_0x4c62[29]](_0x1af0x4)[_0x4c62[28]](function(_0x1af0x7){console[_0x4c62[4]](_0x4c62[27])})[_0x4c62[26]](function(_0x1af0x6){console[_0x4c62[25]](_0x4c62[24]+_0x1af0x6)})}function findAndUpdate(_0x1af0x4){return ReportQueue[_0x4c62[34]](_0x1af0x4,{where:{uniqueid:_0x1af0x4[_0x4c62[33]]},individualHooks:true})[_0x4c62[28]](function(_0x1af0x7){console[_0x4c62[32]](_0x4c62[31])})[_0x4c62[26]](function(_0x1af0x6){console[_0x4c62[25]](_0x4c62[30]+_0x1af0x6)})}module[_0x4c62[35]]=QueueCaller \ No newline at end of file +var _0xc79d=["\x6D\x6F\x6D\x65\x6E\x74","\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x51\x75\x65\x75\x65\x43\x61\x6C\x6C\x65\x72\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x6A\x6F\x69\x6E","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74","\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","\x6C\x65\x61\x76\x65","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65\x41\x74","\x61\x62\x61\x6E\x64\x6F\x6E","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x41\x74","\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x41\x74","\x65\x78\x69\x74","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x65\x78\x69\x74","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x65\x78\x69\x74\x41\x74","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x65\x78\x69\x74\x72\x65\x61\x73\x6F\x6E","\x74\x6F\x4C\x6F\x77\x65\x72\x43\x61\x73\x65","\x76\x61\x6C\x75\x65","\x5B\x72\x65\x70\x6F\x72\x74\x5D\x20\x71\x75\x65\x75\x65\x20","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x5B\x72\x65\x70\x6F\x72\x74\x5D\x20\x71\x75\x65\x75\x65\x20\x63\x72\x65\x61\x74\x65\x64","\x74\x68\x65\x6E","\x63\x72\x65\x61\x74\x65","\x5B\x71\x75\x65\x75\x65\x5F\x63\x61\x6C\x6C\x65\x72\x5D\x20\x71\x75\x65\x75\x65\x5F\x63\x61\x6C\x6C\x65\x72\x20\x65\x72\x72\x6F\x72\x3A\x20","\x5B\x71\x75\x65\x75\x65\x5F\x63\x61\x6C\x6C\x65\x72\x5D\x20\x71\x75\x65\x75\x65\x5F\x63\x61\x6C\x6C\x65\x72\x20\x75\x70\x64\x61\x74\x65\x64","\x69\x6E\x66\x6F","\x75\x6E\x69\x71\x75\x65\x69\x64","\x75\x70\x64\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];var moment=require(_0xc79d[0]);var ReportQueue=require(_0xc79d[2])[_0xc79d[1]];function QueueCaller(){console[_0xc79d[4]](_0xc79d[3])}QueueCaller[_0xc79d[6]][_0xc79d[5]]=function(_0x7098x4){_0x7098x4[_0xc79d[7]]=moment()[_0xc79d[9]](_0xc79d[8]);return create(_0x7098x4)};QueueCaller[_0xc79d[6]][_0xc79d[10]]=function(_0x7098x4){_0x7098x4[_0xc79d[11]]=moment()[_0xc79d[9]](_0xc79d[8]);return findAndUpdate(_0x7098x4)};QueueCaller[_0xc79d[6]][_0xc79d[12]]=function(_0x7098x4){_0x7098x4[_0xc79d[13]]=true;_0x7098x4[_0xc79d[14]]=moment()[_0xc79d[9]](_0xc79d[8]);return findAndUpdate(_0x7098x4)};QueueCaller[_0xc79d[6]][_0xc79d[15]]=function(_0x7098x4){_0x7098x4[_0xc79d[16]]=true;_0x7098x4[_0xc79d[17]]=moment()[_0xc79d[9]](_0xc79d[8]);return findAndUpdate(_0x7098x4)};QueueCaller[_0xc79d[6]][_0xc79d[18]]=function(_0x7098x4){_0x7098x4[_0xc79d[13]]=false;_0x7098x4[_0xc79d[14]]=null;_0x7098x4[_0xc79d[19]]=true;_0x7098x4[_0xc79d[20]]=moment()[_0xc79d[9]](_0xc79d[8]);_0x7098x4[_0xc79d[21]]=_0x7098x4[_0xc79d[23]][_0xc79d[22]]();return findAndUpdate(_0x7098x4)};function create(_0x7098x4){return ReportQueue[_0xc79d[29]](_0x7098x4)[_0xc79d[28]](function(_0x7098x7){console[_0xc79d[4]](_0xc79d[27])})[_0xc79d[26]](function(_0x7098x6){console[_0xc79d[25]](_0xc79d[24]+_0x7098x6)})}function findAndUpdate(_0x7098x4){return ReportQueue[_0xc79d[34]](_0x7098x4,{where:{uniqueid:_0x7098x4[_0xc79d[33]]},individualHooks:true})[_0xc79d[28]](function(_0x7098x7){console[_0xc79d[32]](_0xc79d[31])})[_0xc79d[26]](function(_0x7098x6){console[_0xc79d[25]](_0xc79d[30]+_0x7098x6)})}module[_0xc79d[35]]=QueueCaller \ No newline at end of file diff --git a/server/config/ami/queue_member.js b/server/config/ami/queue_member.js index 2bd0b99..640d128 100644 --- a/server/config/ami/queue_member.js +++ b/server/config/ami/queue_member.js @@ -1 +1 @@ -var _0xa711=["\x6D\x6F\x6D\x65\x6E\x74","\x55\x73\x65\x72\x48\x61\x73\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x51\x75\x65\x75\x65\x4D\x65\x6D\x62\x65\x72\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x61\x64\x64\x65\x64","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x6C\x6F\x67\x67\x65\x64","\x6C\x6F\x67\x67\x65\x64\x41\x74","\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","\x70\x61\x75\x73\x65","\x70\x61\x75\x73\x65\x64\x41\x74","\x70\x61\x75\x73\x65\x64","\x70\x65\x6E\x61\x6C\x74\x79","\x72\x65\x6D\x6F\x76\x65\x64","\x72\x69\x6E\x67\x69\x6E\x75\x73\x65","\x73\x74\x61\x74\x75\x73","\x5B\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x5D\x20\x75\x70\x64\x61\x74\x65\x20\x6D\x65\x6D\x62\x65\x72\x20\x65\x72\x72\x6F\x72\x3A\x20","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x5B\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x5D\x20\x75\x70\x64\x61\x74\x65\x20\x6D\x65\x6D\x62\x65\x72","\x74\x68\x65\x6E","\x71\x75\x65\x75\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x75\x70\x64\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];var moment=require(_0xa711[0]);var UserHasVoiceQueue=require(_0xa711[2])[_0xa711[1]];function QueueMember(){console[_0xa711[4]](_0xa711[3])}QueueMember[_0xa711[6]][_0xa711[5]]=function(_0xdabex4){_0xdabex4[_0xa711[7]]=true;_0xdabex4[_0xa711[8]]=moment()[_0xa711[10]](_0xa711[9]);return findAndUpdate(_0xdabex4)};QueueMember[_0xa711[6]][_0xa711[11]]=function(_0xdabex4){_0xdabex4[_0xa711[12]]=(parseInt(_0xdabex4[_0xa711[13]],10))?moment()[_0xa711[10]](_0xa711[9]):null;return findAndUpdate(_0xdabex4)};QueueMember[_0xa711[6]][_0xa711[14]]=function(_0xdabex4){return findAndUpdate(_0xdabex4)};QueueMember[_0xa711[6]][_0xa711[15]]=function(_0xdabex4){_0xdabex4[_0xa711[7]]=false;_0xdabex4[_0xa711[8]]=null;return findAndUpdate(_0xdabex4)};QueueMember[_0xa711[6]][_0xa711[16]]=function(_0xdabex4){return findAndUpdate(_0xdabex4)};QueueMember[_0xa711[6]][_0xa711[17]]=function(_0xdabex4){return findAndUpdate(_0xdabex4)};function findAndUpdate(_0xdabex4,_0xdabex6){return UserHasVoiceQueue[_0xa711[25]](_0xdabex4,{where:{queue:_0xdabex4[_0xa711[23]],membername:_0xdabex4[_0xa711[24]]},individualHooks:true})[_0xa711[22]](function(_0xdabex8){console[_0xa711[4]](_0xa711[21])})[_0xa711[20]](function(_0xdabex7){console[_0xa711[19]](_0xa711[18]+_0xdabex7)})}module[_0xa711[26]]=QueueMember \ No newline at end of file +var _0xad0d=["\x6D\x6F\x6D\x65\x6E\x74","\x55\x73\x65\x72\x48\x61\x73\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x51\x75\x65\x75\x65\x4D\x65\x6D\x62\x65\x72\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x61\x64\x64\x65\x64","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x6C\x6F\x67\x67\x65\x64","\x6C\x6F\x67\x67\x65\x64\x41\x74","\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","\x70\x61\x75\x73\x65","\x70\x61\x75\x73\x65\x64\x41\x74","\x70\x61\x75\x73\x65\x64","\x70\x65\x6E\x61\x6C\x74\x79","\x72\x65\x6D\x6F\x76\x65\x64","\x72\x69\x6E\x67\x69\x6E\x75\x73\x65","\x73\x74\x61\x74\x75\x73","\x5B\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x5D\x20\x75\x70\x64\x61\x74\x65\x20\x6D\x65\x6D\x62\x65\x72\x20\x65\x72\x72\x6F\x72\x3A\x20","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x5B\x71\x75\x65\x75\x65\x6D\x65\x6D\x62\x65\x72\x5D\x20\x75\x70\x64\x61\x74\x65\x20\x6D\x65\x6D\x62\x65\x72","\x74\x68\x65\x6E","\x71\x75\x65\x75\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x75\x70\x64\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];var moment=require(_0xad0d[0]);var UserHasVoiceQueue=require(_0xad0d[2])[_0xad0d[1]];function QueueMember(){console[_0xad0d[4]](_0xad0d[3])}QueueMember[_0xad0d[6]][_0xad0d[5]]=function(_0xdcadx4){_0xdcadx4[_0xad0d[7]]=true;_0xdcadx4[_0xad0d[8]]=moment()[_0xad0d[10]](_0xad0d[9]);return findAndUpdate(_0xdcadx4)};QueueMember[_0xad0d[6]][_0xad0d[11]]=function(_0xdcadx4){_0xdcadx4[_0xad0d[12]]=(parseInt(_0xdcadx4[_0xad0d[13]],10))?moment()[_0xad0d[10]](_0xad0d[9]):null;return findAndUpdate(_0xdcadx4)};QueueMember[_0xad0d[6]][_0xad0d[14]]=function(_0xdcadx4){return findAndUpdate(_0xdcadx4)};QueueMember[_0xad0d[6]][_0xad0d[15]]=function(_0xdcadx4){_0xdcadx4[_0xad0d[7]]=false;_0xdcadx4[_0xad0d[8]]=null;return findAndUpdate(_0xdcadx4)};QueueMember[_0xad0d[6]][_0xad0d[16]]=function(_0xdcadx4){return findAndUpdate(_0xdcadx4)};QueueMember[_0xad0d[6]][_0xad0d[17]]=function(_0xdcadx4){return findAndUpdate(_0xdcadx4)};function findAndUpdate(_0xdcadx4,_0xdcadx6){return UserHasVoiceQueue[_0xad0d[25]](_0xdcadx4,{where:{queue:_0xdcadx4[_0xad0d[23]],membername:_0xdcadx4[_0xad0d[24]]},individualHooks:true})[_0xad0d[22]](function(_0xdcadx8){console[_0xad0d[4]](_0xad0d[21])})[_0xad0d[20]](function(_0xdcadx7){console[_0xad0d[19]](_0xad0d[18]+_0xdcadx7)})}module[_0xad0d[26]]=QueueMember \ No newline at end of file diff --git a/server/config/ami/recording.js b/server/config/ami/recording.js index 38cc549..9cb412b 100644 --- a/server/config/ami/recording.js +++ b/server/config/ami/recording.js @@ -1 +1 @@ -var _0xc809=["\x56\x6F\x69\x63\x65\x52\x65\x63\x6F\x72\x64\x69\x6E\x67","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x63\x6F\x72\x64\x69\x6E\x67\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x63\x72\x65\x61\x74\x65","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x75\x70\x64\x61\x74\x65\x51\x75\x65\x75\x65","\x75\x70\x64\x61\x74\x65\x54\x79\x70\x65","\x74\x79\x70\x65","\x75\x6E\x6B\x6E\x6F\x77\x6E","\x52\x65\x63\x6F\x72\x64\x69\x6E\x67\x20\x63\x72\x65\x61\x74\x65\x20\x65\x72\x72\x6F\x72\x3A","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x52\x65\x63\x6F\x72\x64\x69\x6E\x67\x20\x71\x75\x65\x75\x65\x20\x75\x70\x64\x61\x74\x65\x20\x65\x72\x72\x6F\x72\x3A","\x71\x75\x65\x75\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x75\x6E\x69\x71\x75\x65\x69\x64","\x75\x70\x64\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];var VoiceRecording=require(_0xc809[1])[_0xc809[0]];function Recording(){console[_0xc809[3]](_0xc809[2])}Recording[_0xc809[5]][_0xc809[4]]=function(_0x1715x3){create(_0x1715x3)};Recording[_0xc809[5]][_0xc809[6]]=function(_0x1715x3){updateQueue(_0x1715x3)};Recording[_0xc809[5]][_0xc809[7]]=function(_0x1715x3){updateType(_0x1715x3)};function create(_0x1715x3){_0x1715x3[_0xc809[8]]=_0xc809[9];return VoiceRecording[_0xc809[4]](_0x1715x3)[_0xc809[12]](function(_0x1715x5){console[_0xc809[11]](_0xc809[10],_0x1715x5)})}function updateQueue(_0x1715x3){return VoiceRecording[_0xc809[17]]({queue:_0x1715x3[_0xc809[14]],membername:_0x1715x3[_0xc809[15]]},{where:{uniqueid:_0x1715x3[_0xc809[16]]}})[_0xc809[12]](function(_0x1715x5){console[_0xc809[11]](_0xc809[13],_0x1715x5)})}function updateType(_0x1715x3){return VoiceRecording[_0xc809[17]]({type:_0x1715x3[_0xc809[8]]},{where:{uniqueid:_0x1715x3[_0xc809[16]]}})[_0xc809[12]](function(_0x1715x5){console[_0xc809[11]](_0xc809[13],_0x1715x5)})}module[_0xc809[18]]=Recording \ No newline at end of file +var _0x3d27=["\x56\x6F\x69\x63\x65\x52\x65\x63\x6F\x72\x64\x69\x6E\x67","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x63\x6F\x72\x64\x69\x6E\x67\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x63\x72\x65\x61\x74\x65","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x75\x70\x64\x61\x74\x65\x51\x75\x65\x75\x65","\x75\x70\x64\x61\x74\x65\x54\x79\x70\x65","\x74\x79\x70\x65","\x75\x6E\x6B\x6E\x6F\x77\x6E","\x52\x65\x63\x6F\x72\x64\x69\x6E\x67\x20\x63\x72\x65\x61\x74\x65\x20\x65\x72\x72\x6F\x72\x3A","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x52\x65\x63\x6F\x72\x64\x69\x6E\x67\x20\x71\x75\x65\x75\x65\x20\x75\x70\x64\x61\x74\x65\x20\x65\x72\x72\x6F\x72\x3A","\x71\x75\x65\x75\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x75\x6E\x69\x71\x75\x65\x69\x64","\x75\x70\x64\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];var VoiceRecording=require(_0x3d27[1])[_0x3d27[0]];function Recording(){console[_0x3d27[3]](_0x3d27[2])}Recording[_0x3d27[5]][_0x3d27[4]]=function(_0x6287x3){create(_0x6287x3)};Recording[_0x3d27[5]][_0x3d27[6]]=function(_0x6287x3){updateQueue(_0x6287x3)};Recording[_0x3d27[5]][_0x3d27[7]]=function(_0x6287x3){updateType(_0x6287x3)};function create(_0x6287x3){_0x6287x3[_0x3d27[8]]=_0x3d27[9];return VoiceRecording[_0x3d27[4]](_0x6287x3)[_0x3d27[12]](function(_0x6287x5){console[_0x3d27[11]](_0x3d27[10],_0x6287x5)})}function updateQueue(_0x6287x3){return VoiceRecording[_0x3d27[17]]({queue:_0x6287x3[_0x3d27[14]],membername:_0x6287x3[_0x3d27[15]]},{where:{uniqueid:_0x6287x3[_0x3d27[16]]}})[_0x3d27[12]](function(_0x6287x5){console[_0x3d27[11]](_0x3d27[13],_0x6287x5)})}function updateType(_0x6287x3){return VoiceRecording[_0x3d27[17]]({type:_0x6287x3[_0x3d27[8]]},{where:{uniqueid:_0x6287x3[_0x3d27[16]]}})[_0x3d27[12]](function(_0x6287x5){console[_0x3d27[11]](_0x3d27[13],_0x6287x5)})}module[_0x3d27[18]]=Recording \ No newline at end of file diff --git a/server/config/ami/socket.js b/server/config/ami/socket.js index 9f3d7a8..d4e87b8 100644 --- a/server/config/ami/socket.js +++ b/server/config/ami/socket.js @@ -1 +1 @@ -var _0x52fc=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4E\x65\x77\x20\x73\x6F\x63\x6B\x65\x74\x20\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E","\x6C\x6F\x67","\x52\x65\x70\x6F\x72\x74\x41\x67\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x74\x65\x73\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x52fc[0];function Socket(_0xed9ax2,_0xed9ax3){console[_0x52fc[2]](_0x52fc[1]);var _0xed9ax4=require(_0x52fc[4])[_0x52fc[3]];return {test:function(){console[_0x52fc[2]](_0x52fc[5])}}}module[_0x52fc[6]]=Socket \ No newline at end of file +var _0x4133=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x4E\x65\x77\x20\x73\x6F\x63\x6B\x65\x74\x20\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E","\x6C\x6F\x67","\x52\x65\x70\x6F\x72\x74\x41\x67\x65\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x74\x65\x73\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x4133[0];function Socket(_0xd932x2,_0xd932x3){console[_0x4133[2]](_0x4133[1]);var _0xd932x4=require(_0x4133[4])[_0x4133[3]];return {test:function(){console[_0x4133[2]](_0x4133[5])}}}module[_0x4133[6]]=Socket \ No newline at end of file diff --git a/server/config/ami/transfer.js b/server/config/ami/transfer.js index d603992..1c06ab0 100644 --- a/server/config/ami/transfer.js +++ b/server/config/ami/transfer.js @@ -1 +1 @@ -var _0xf3ea=["\x6D\x6F\x6D\x65\x6E\x74","\x52\x65\x70\x6F\x72\x74\x43\x61\x6C\x6C\x54\x72\x61\x6E\x73\x66\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x54\x72\x61\x6E\x73\x66\x65\x72\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x63\x72\x65\x61\x74\x65\x42\x6C\x69\x6E\x64","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x5B\x62\x6C\x69\x6E\x64\x20\x74\x72\x61\x6E\x66\x65\x72\x5D\x20\x63\x72\x65\x61\x74\x65\x64\x20\x65\x72\x72\x6F\x72\x3A\x20","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x5B\x62\x6C\x69\x6E\x64\x20\x74\x72\x61\x6E\x66\x65\x72\x5D\x20\x63\x72\x65\x61\x74\x65\x64","\x74\x68\x65\x6E","\x63\x72\x65\x61\x74\x65","\x63\x72\x65\x61\x74\x65\x41\x74\x74\x65\x6E\x64\x65\x64","\x5B\x61\x74\x74\x65\x6E\x64\x65\x64\x20\x74\x72\x61\x6E\x66\x65\x72\x5D\x20\x63\x72\x65\x61\x74\x65\x64\x20\x65\x72\x72\x6F\x72\x3A\x20","\x5B\x61\x74\x74\x65\x6E\x64\x65\x64\x20\x74\x72\x61\x6E\x66\x65\x72\x5D\x20\x63\x72\x65\x61\x74\x65\x64","\x72\x65\x73\x75\x6C\x74","\x6F\x72\x69\x67\x74\x72\x61\x6E\x73\x66\x65\x72\x65\x72\x63\x68\x61\x6E\x6E\x65\x6C","\x6F\x72\x69\x67\x74\x72\x61\x6E\x73\x66\x65\x72\x65\x72\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x75\x6D","\x6F\x72\x69\x67\x74\x72\x61\x6E\x73\x66\x65\x72\x65\x72\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x61\x6D\x65","\x73\x65\x63\x6F\x6E\x64\x74\x72\x61\x6E\x73\x66\x65\x72\x65\x72\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64\x6C\x69\x6E\x65\x6E\x75\x6D","\x73\x65\x63\x6F\x6E\x64\x74\x72\x61\x6E\x73\x66\x65\x72\x65\x72\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64\x6C\x69\x6E\x65\x6E\x61\x6D\x65","\x6F\x72\x69\x67\x74\x72\x61\x6E\x73\x66\x65\x72\x65\x72\x61\x63\x63\x6F\x75\x6E\x74\x63\x6F\x64\x65","\x73\x65\x63\x6F\x6E\x64\x74\x72\x61\x6E\x73\x66\x65\x72\x65\x72\x63\x6F\x6E\x74\x65\x78\x74","\x73\x65\x63\x6F\x6E\x64\x74\x72\x61\x6E\x73\x66\x65\x72\x65\x72\x65\x78\x74\x65\x6E","\x6F\x72\x69\x67\x74\x72\x61\x6E\x73\x66\x65\x72\x65\x72\x6C\x69\x6E\x6B\x65\x64\x69\x64","\x74\x72\x61\x6E\x73\x66\x65\x72\x74\x61\x72\x67\x65\x74\x63\x68\x61\x6E\x6E\x65\x6C","\x74\x72\x61\x6E\x73\x66\x65\x72\x74\x61\x72\x67\x65\x74\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x75\x6D","\x74\x72\x61\x6E\x73\x66\x65\x72\x74\x61\x72\x67\x65\x74\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x61\x6D\x65","\x74\x72\x61\x6E\x73\x66\x65\x72\x74\x61\x72\x67\x65\x74\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64\x6C\x69\x6E\x65\x6E\x75\x6D","\x74\x72\x61\x6E\x73\x66\x65\x72\x74\x61\x72\x67\x65\x74\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64\x6C\x69\x6E\x65\x6E\x61\x6D\x65","\x74\x72\x61\x6E\x73\x66\x65\x72\x74\x61\x72\x67\x65\x74\x61\x63\x63\x6F\x75\x6E\x74\x63\x6F\x64\x65","\x74\x72\x61\x6E\x73\x66\x65\x72\x74\x61\x72\x67\x65\x74\x63\x6F\x6E\x74\x65\x78\x74","\x74\x72\x61\x6E\x73\x66\x65\x72\x74\x61\x72\x67\x65\x74\x65\x78\x74\x65\x6E","\x74\x72\x61\x6E\x73\x66\x65\x72\x74\x61\x72\x67\x65\x74\x6C\x69\x6E\x6B\x65\x64\x69\x64","\x69\x73\x65\x78\x74\x65\x72\x6E\x61\x6C","\x6F\x72\x69\x67\x74\x72\x61\x6E\x73\x66\x65\x72\x65\x72\x63\x6F\x6E\x74\x65\x78\x74","\x6F\x72\x69\x67\x74\x72\x61\x6E\x73\x66\x65\x72\x65\x72\x65\x78\x74\x65\x6E","\x61\x74\x74\x65\x6E\x64\x65\x64","\x65\x78\x70\x6F\x72\x74\x73"];var moment=require(_0xf3ea[0]);var ReportCallTransfer=require(_0xf3ea[2])[_0xf3ea[1]];function Transfer(){console[_0xf3ea[4]](_0xf3ea[3])}Transfer[_0xf3ea[6]][_0xf3ea[5]]=function(_0x69eex4){return ReportCallTransfer[_0xf3ea[12]](_0x69eex4)[_0xf3ea[11]](function(_0x69eex6){console[_0xf3ea[4]](_0xf3ea[10])})[_0xf3ea[9]](function(_0x69eex5){console[_0xf3ea[8]](_0xf3ea[7]+_0x69eex5)})};Transfer[_0xf3ea[6]][_0xf3ea[13]]=function(_0x69eex4){return ReportCallTransfer[_0xf3ea[12]]({result:_0x69eex4[_0xf3ea[16]],transfererchannel:_0x69eex4[_0xf3ea[17]],transferercalleridnum:_0x69eex4[_0xf3ea[18]],transferercalleridname:_0x69eex4[_0xf3ea[19]],transfererconnectedlinenum:_0x69eex4[_0xf3ea[20]],transfererconnectedlinename:_0x69eex4[_0xf3ea[21]],transfereraccountcode:_0x69eex4[_0xf3ea[22]],transferercontext:_0x69eex4[_0xf3ea[23]],transfererexten:_0x69eex4[_0xf3ea[24]],transfererlinkedid:_0x69eex4[_0xf3ea[25]],transfereechannel:_0x69eex4[_0xf3ea[26]],transfereecalleridnum:_0x69eex4[_0xf3ea[27]],transfereecalleridname:_0x69eex4[_0xf3ea[28]],transfereeconnectedlinenum:_0x69eex4[_0xf3ea[29]],transfereeconnectedlinename:_0x69eex4[_0xf3ea[30]],transfereeaccountcode:_0x69eex4[_0xf3ea[31]],transfereecontext:_0x69eex4[_0xf3ea[32]],transfereeexten:_0x69eex4[_0xf3ea[33]],transfereelinkedid:_0x69eex4[_0xf3ea[34]],isexternal:_0x69eex4[_0xf3ea[35]],context:_0x69eex4[_0xf3ea[36]],extension:_0x69eex4[_0xf3ea[37]],type:_0xf3ea[38]})[_0xf3ea[11]](function(){console[_0xf3ea[4]](_0xf3ea[15])})[_0xf3ea[9]](function(_0x69eex5){console[_0xf3ea[8]](_0xf3ea[14]+_0x69eex5)})};module[_0xf3ea[39]]=Transfer \ No newline at end of file +var _0x8610=["\x6D\x6F\x6D\x65\x6E\x74","\x52\x65\x70\x6F\x72\x74\x43\x61\x6C\x6C\x54\x72\x61\x6E\x73\x66\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x54\x72\x61\x6E\x73\x66\x65\x72\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x63\x72\x65\x61\x74\x65\x42\x6C\x69\x6E\x64","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x5B\x62\x6C\x69\x6E\x64\x20\x74\x72\x61\x6E\x66\x65\x72\x5D\x20\x63\x72\x65\x61\x74\x65\x64\x20\x65\x72\x72\x6F\x72\x3A\x20","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x5B\x62\x6C\x69\x6E\x64\x20\x74\x72\x61\x6E\x66\x65\x72\x5D\x20\x63\x72\x65\x61\x74\x65\x64","\x74\x68\x65\x6E","\x63\x72\x65\x61\x74\x65","\x63\x72\x65\x61\x74\x65\x41\x74\x74\x65\x6E\x64\x65\x64","\x5B\x61\x74\x74\x65\x6E\x64\x65\x64\x20\x74\x72\x61\x6E\x66\x65\x72\x5D\x20\x63\x72\x65\x61\x74\x65\x64\x20\x65\x72\x72\x6F\x72\x3A\x20","\x5B\x61\x74\x74\x65\x6E\x64\x65\x64\x20\x74\x72\x61\x6E\x66\x65\x72\x5D\x20\x63\x72\x65\x61\x74\x65\x64","\x72\x65\x73\x75\x6C\x74","\x6F\x72\x69\x67\x74\x72\x61\x6E\x73\x66\x65\x72\x65\x72\x63\x68\x61\x6E\x6E\x65\x6C","\x6F\x72\x69\x67\x74\x72\x61\x6E\x73\x66\x65\x72\x65\x72\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x75\x6D","\x6F\x72\x69\x67\x74\x72\x61\x6E\x73\x66\x65\x72\x65\x72\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x61\x6D\x65","\x73\x65\x63\x6F\x6E\x64\x74\x72\x61\x6E\x73\x66\x65\x72\x65\x72\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64\x6C\x69\x6E\x65\x6E\x75\x6D","\x73\x65\x63\x6F\x6E\x64\x74\x72\x61\x6E\x73\x66\x65\x72\x65\x72\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64\x6C\x69\x6E\x65\x6E\x61\x6D\x65","\x6F\x72\x69\x67\x74\x72\x61\x6E\x73\x66\x65\x72\x65\x72\x61\x63\x63\x6F\x75\x6E\x74\x63\x6F\x64\x65","\x73\x65\x63\x6F\x6E\x64\x74\x72\x61\x6E\x73\x66\x65\x72\x65\x72\x63\x6F\x6E\x74\x65\x78\x74","\x73\x65\x63\x6F\x6E\x64\x74\x72\x61\x6E\x73\x66\x65\x72\x65\x72\x65\x78\x74\x65\x6E","\x6F\x72\x69\x67\x74\x72\x61\x6E\x73\x66\x65\x72\x65\x72\x6C\x69\x6E\x6B\x65\x64\x69\x64","\x74\x72\x61\x6E\x73\x66\x65\x72\x74\x61\x72\x67\x65\x74\x63\x68\x61\x6E\x6E\x65\x6C","\x74\x72\x61\x6E\x73\x66\x65\x72\x74\x61\x72\x67\x65\x74\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x75\x6D","\x74\x72\x61\x6E\x73\x66\x65\x72\x74\x61\x72\x67\x65\x74\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x61\x6D\x65","\x74\x72\x61\x6E\x73\x66\x65\x72\x74\x61\x72\x67\x65\x74\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64\x6C\x69\x6E\x65\x6E\x75\x6D","\x74\x72\x61\x6E\x73\x66\x65\x72\x74\x61\x72\x67\x65\x74\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64\x6C\x69\x6E\x65\x6E\x61\x6D\x65","\x74\x72\x61\x6E\x73\x66\x65\x72\x74\x61\x72\x67\x65\x74\x61\x63\x63\x6F\x75\x6E\x74\x63\x6F\x64\x65","\x74\x72\x61\x6E\x73\x66\x65\x72\x74\x61\x72\x67\x65\x74\x63\x6F\x6E\x74\x65\x78\x74","\x74\x72\x61\x6E\x73\x66\x65\x72\x74\x61\x72\x67\x65\x74\x65\x78\x74\x65\x6E","\x74\x72\x61\x6E\x73\x66\x65\x72\x74\x61\x72\x67\x65\x74\x6C\x69\x6E\x6B\x65\x64\x69\x64","\x69\x73\x65\x78\x74\x65\x72\x6E\x61\x6C","\x6F\x72\x69\x67\x74\x72\x61\x6E\x73\x66\x65\x72\x65\x72\x63\x6F\x6E\x74\x65\x78\x74","\x6F\x72\x69\x67\x74\x72\x61\x6E\x73\x66\x65\x72\x65\x72\x65\x78\x74\x65\x6E","\x61\x74\x74\x65\x6E\x64\x65\x64","\x65\x78\x70\x6F\x72\x74\x73"];var moment=require(_0x8610[0]);var ReportCallTransfer=require(_0x8610[2])[_0x8610[1]];function Transfer(){console[_0x8610[4]](_0x8610[3])}Transfer[_0x8610[6]][_0x8610[5]]=function(_0xaa64x4){return ReportCallTransfer[_0x8610[12]](_0xaa64x4)[_0x8610[11]](function(_0xaa64x6){console[_0x8610[4]](_0x8610[10])})[_0x8610[9]](function(_0xaa64x5){console[_0x8610[8]](_0x8610[7]+_0xaa64x5)})};Transfer[_0x8610[6]][_0x8610[13]]=function(_0xaa64x4){return ReportCallTransfer[_0x8610[12]]({result:_0xaa64x4[_0x8610[16]],transfererchannel:_0xaa64x4[_0x8610[17]],transferercalleridnum:_0xaa64x4[_0x8610[18]],transferercalleridname:_0xaa64x4[_0x8610[19]],transfererconnectedlinenum:_0xaa64x4[_0x8610[20]],transfererconnectedlinename:_0xaa64x4[_0x8610[21]],transfereraccountcode:_0xaa64x4[_0x8610[22]],transferercontext:_0xaa64x4[_0x8610[23]],transfererexten:_0xaa64x4[_0x8610[24]],transfererlinkedid:_0xaa64x4[_0x8610[25]],transfereechannel:_0xaa64x4[_0x8610[26]],transfereecalleridnum:_0xaa64x4[_0x8610[27]],transfereecalleridname:_0xaa64x4[_0x8610[28]],transfereeconnectedlinenum:_0xaa64x4[_0x8610[29]],transfereeconnectedlinename:_0xaa64x4[_0x8610[30]],transfereeaccountcode:_0xaa64x4[_0x8610[31]],transfereecontext:_0xaa64x4[_0x8610[32]],transfereeexten:_0xaa64x4[_0x8610[33]],transfereelinkedid:_0xaa64x4[_0x8610[34]],isexternal:_0xaa64x4[_0x8610[35]],context:_0xaa64x4[_0x8610[36]],extension:_0xaa64x4[_0x8610[37]],type:_0x8610[38]})[_0x8610[11]](function(){console[_0x8610[4]](_0x8610[15])})[_0x8610[9]](function(_0xaa64x5){console[_0x8610[8]](_0x8610[14]+_0xaa64x5)})};module[_0x8610[39]]=Transfer \ No newline at end of file diff --git a/server/config/ami/trunk.js b/server/config/ami/trunk.js index 116b63b..117bdd1 100644 --- a/server/config/ami/trunk.js +++ b/server/config/ami/trunk.js @@ -1 +1 @@ -var _0x6a45=["\x54\x72\x75\x6E\x6B","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x66\x73","\x75\x74\x69\x6C","\x70\x61\x74\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x6C\x6F\x64\x61\x73\x68","\x54\x72\x75\x6E\x6B\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x61\x63\x74\x69\x76\x65","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x73\x74\x61\x74\x75\x73","\x63\x68\x61\x6E\x67\x65\x64","\x70\x65\x65\x72\x73\x74\x61\x74\x75\x73","\x75\x70\x64\x61\x74\x65\x64\x41\x74","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x6C\x65\x74\x65","\x73\x74\x61\x74\x75\x73\x55\x70\x64\x61\x74\x65","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x54\x72\x75\x6E\x6B\x20\x73\x74\x61\x74\x75\x73\x20\x75\x70\x64\x61\x74\x65\x20\x65\x72\x72\x6F\x72\x3A","\x63\x61\x74\x63\x68","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x64\x6F\x6D\x61\x69\x6E","","\x75\x70\x64\x61\x74\x65","\x70\x65\x65\x72\x73\x74\x61\x74\x75\x73\x55\x70\x64\x61\x74\x65","\x54\x72\x75\x6E\x6B\x20\x70\x65\x65\x72\x73\x74\x61\x74\x75\x73\x20\x75\x70\x64\x61\x74\x65\x20\x65\x72\x72\x6F\x72\x3A","\x2F","\x73\x70\x6C\x69\x74","\x70\x65\x65\x72","\x72\x65\x67\x69\x73\x74\x65\x72\x20\x3D\x3E\x20\x25\x73\x0A","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x63\x6C\x6F\x6E\x65","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x5B\x25\x73\x5D\x0A","\x6E\x61\x6D\x65","\x66\x6F\x72\x6D\x61\x74","\x6F\x74\x68\x65\x72\x46\x69\x65\x6C\x64\x73","\x25\x73\x0A","\x3B","\x25\x73\x3D\x25\x73\x0A","\x66\x6F\x72\x45\x61\x63\x68","\x61\x6C\x6C\x6F\x77","\x72\x65\x67\x69\x73\x74\x72\x79","\x6D\x61\x70","\x61\x73\x74\x65\x72\x69\x73\x6B\x43\x6F\x6E\x66","\x73\x69\x70\x5F\x78\x63\x61\x6C\x6C\x79\x5F\x74\x72\x75\x6E\x6B\x73\x2E\x63\x6F\x6E\x66","\x6A\x6F\x69\x6E","\x77","\x30\x37\x37\x37","\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","\x77\x72\x69\x74\x65\x46\x69\x6C\x65","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x52\x65\x6C\x6F\x61\x64","\x65\x72\x72\x6F\x72","\x61\x63\x74\x69\x6F\x6E","\x65\x78\x70\x6F\x72\x74\x73"];var TrunkModel=require(_0x6a45[1])[_0x6a45[0]];var fs=require(_0x6a45[2]);var util=require(_0x6a45[3]);var path=require(_0x6a45[4]);var config=require(_0x6a45[5]);var _=require(_0x6a45[6]);function Trunk(_0x2fdax8){console[_0x6a45[8]](_0x6a45[7]);TrunkModel[_0x6a45[10]](function(_0x2fdax9){if(_0x2fdax9[_0x6a45[9]]){trunksRewrite(_0x2fdax9,_0x2fdax8,false)}});TrunkModel[_0x6a45[15]](function(_0x2fdax9){if(!_0x2fdax9[_0x6a45[12]](_0x6a45[11])&&!_0x2fdax9[_0x6a45[12]](_0x6a45[13])&&!_0x2fdax9[_0x6a45[12]](_0x6a45[14])){trunksRewrite(_0x2fdax9,_0x2fdax8,false)}});TrunkModel[_0x6a45[16]](function(_0x2fdax9){trunksRewrite(_0x2fdax9,_0x2fdax8,true)})}Trunk[_0x6a45[18]][_0x6a45[17]]=function(_0x2fdaxa){return TrunkModel[_0x6a45[24]]({status:_0x2fdaxa[_0x6a45[11]]},{where:{defaultuser:_0x2fdaxa[_0x6a45[21]],host:_0x2fdaxa[_0x6a45[22]],active:true,$and:[{registry:{$ne:_0x6a45[23]}},{registry:{$ne:null}}]},individualHooks:true})[_0x6a45[20]](function(_0x2fdaxb){console[_0x6a45[8]](_0x6a45[19],_0x2fdaxb)})};Trunk[_0x6a45[18]][_0x6a45[25]]=function(_0x2fdaxa){return TrunkModel[_0x6a45[24]]({peerstatus:_0x2fdaxa[_0x6a45[13]]},{where:{name:_0x2fdaxa[_0x6a45[29]][_0x6a45[28]](_0x6a45[27])[1]},individualHooks:true})[_0x6a45[20]](function(_0x2fdaxb){console[_0x6a45[8]](_0x6a45[26],_0x2fdaxb)})};function trunksRewrite(_0x2fdax9,_0x2fdax8,_0x2fdaxd){var _0x2fdaxe=_0x6a45[23];var _0x2fdaxf=_0x6a45[23];var _0x2fdax10=_0x6a45[30];if(!_0x2fdaxd){var _0x2fdax11=_[_0x6a45[32]](_0x2fdax9[_0x6a45[31]]);delete _0x2fdax11[_0x6a45[33]];delete _0x2fdax11[_0x6a45[14]];delete _0x2fdax11[_0x6a45[9]];delete _0x2fdax11[_0x6a45[11]];_0x2fdaxe+=util[_0x6a45[36]](_0x6a45[34],_0x2fdax11[_0x6a45[35]]);if(_0x2fdax11[_0x6a45[37]]){_0x2fdaxe+=util[_0x6a45[36]](_0x6a45[38],_0x2fdax11[_0x6a45[37]]);delete _0x2fdax11[_0x6a45[37]]};for(var _0x2fdax12 in _0x2fdax11){if(_0x2fdax11[_0x2fdax12]){switch(_0x2fdax12){case _0x6a45[42]:var _0x2fdax13=_0x2fdax11[_0x2fdax12][_0x6a45[28]](_0x6a45[39]);_0x2fdax13[_0x6a45[41]](function(_0x2fdax14){_0x2fdaxe+=util[_0x6a45[36]](_0x6a45[40],_0x2fdax12,_0x2fdax14)});break;default:_0x2fdaxe+=util[_0x6a45[36]](_0x6a45[40],_0x2fdax12,_0x2fdax11[_0x2fdax12])}}};if(_0x2fdax11[_0x6a45[43]]){_0x2fdaxf+=util[_0x6a45[36]](_0x2fdax10,_0x2fdax11[_0x6a45[43]])}};return TrunkModel[_0x6a45[55]]({where:{name:{$ne:_0x2fdax9[_0x6a45[35]]},active:true}})[_0x6a45[54]](function(_0x2fdax15){var _0x2fdax16=_[_0x6a45[44]](_0x2fdax15,_0x6a45[31]);_0x2fdax16[_0x6a45[41]](function(_0x2fdax17){delete _0x2fdax17[_0x6a45[33]];delete _0x2fdax17[_0x6a45[14]];delete _0x2fdax17[_0x6a45[9]];delete _0x2fdax17[_0x6a45[11]];_0x2fdaxe+=util[_0x6a45[36]](_0x6a45[34],_0x2fdax17[_0x6a45[35]]);if(_0x2fdax17[_0x6a45[37]]){_0x2fdaxe+=util[_0x6a45[36]](_0x6a45[38],_0x2fdax17[_0x6a45[37]]);delete _0x2fdax17[_0x6a45[37]]};for(var _0x2fdax12 in _0x2fdax17){if(_0x2fdax17[_0x2fdax12]){switch(_0x2fdax12){case _0x6a45[42]:var _0x2fdax13=_0x2fdax17[_0x2fdax12][_0x6a45[28]](_0x6a45[39]);_0x2fdax13[_0x6a45[41]](function(_0x2fdax14){_0x2fdaxe+=util[_0x6a45[36]](_0x6a45[40],_0x2fdax12,_0x2fdax14)});break;default:_0x2fdaxe+=util[_0x6a45[36]](_0x6a45[40],_0x2fdax12,_0x2fdax17[_0x2fdax12])}}};if(_0x2fdax17[_0x6a45[43]]){_0x2fdaxf+=util[_0x6a45[36]](_0x2fdax10,_0x2fdax17[_0x6a45[43]])}});fs[_0x6a45[53]](path[_0x6a45[47]](config[_0x6a45[45]],_0x6a45[46]),_0x2fdaxe,{flags:_0x6a45[48],mode:parseInt(_0x6a45[49],8)},function(_0x2fdaxb){if(_0x2fdaxb){throw _0x2fdaxb};console[_0x6a45[8]](_0x6a45[50]);fs[_0x6a45[53]](path[_0x6a45[47]](config[_0x6a45[45]],_0x6a45[51]),_0x2fdaxf,{flags:_0x6a45[48],mode:parseInt(_0x6a45[49],8)},function(_0x2fdaxb){if(_0x2fdaxb){throw _0x2fdaxb};reload(_0x2fdax8);console[_0x6a45[8]](_0x6a45[52])})})})[_0x6a45[20]](function(_0x2fdaxb){console[_0x6a45[8]](_0x2fdaxb)})}function reload(_0x2fdax8){_0x2fdax8[_0x6a45[58]]({Action:_0x6a45[56]},function(_0x2fdaxb,_0x2fdax19){if(_0x2fdaxb){console[_0x6a45[57]](_0x2fdaxb)}else {console[_0x6a45[8]](_0x2fdax19)}})}module[_0x6a45[59]]=Trunk \ No newline at end of file +var _0x38de=["\x54\x72\x75\x6E\x6B","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x66\x73","\x75\x74\x69\x6C","\x70\x61\x74\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x6C\x6F\x64\x61\x73\x68","\x54\x72\x75\x6E\x6B\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x61\x63\x74\x69\x76\x65","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x73\x74\x61\x74\x75\x73","\x63\x68\x61\x6E\x67\x65\x64","\x70\x65\x65\x72\x73\x74\x61\x74\x75\x73","\x75\x70\x64\x61\x74\x65\x64\x41\x74","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x6C\x65\x74\x65","\x73\x74\x61\x74\x75\x73\x55\x70\x64\x61\x74\x65","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x54\x72\x75\x6E\x6B\x20\x73\x74\x61\x74\x75\x73\x20\x75\x70\x64\x61\x74\x65\x20\x65\x72\x72\x6F\x72\x3A","\x63\x61\x74\x63\x68","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x64\x6F\x6D\x61\x69\x6E","","\x75\x70\x64\x61\x74\x65","\x70\x65\x65\x72\x73\x74\x61\x74\x75\x73\x55\x70\x64\x61\x74\x65","\x54\x72\x75\x6E\x6B\x20\x70\x65\x65\x72\x73\x74\x61\x74\x75\x73\x20\x75\x70\x64\x61\x74\x65\x20\x65\x72\x72\x6F\x72\x3A","\x2F","\x73\x70\x6C\x69\x74","\x70\x65\x65\x72","\x72\x65\x67\x69\x73\x74\x65\x72\x20\x3D\x3E\x20\x25\x73\x0A","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x63\x6C\x6F\x6E\x65","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x5B\x25\x73\x5D\x0A","\x6E\x61\x6D\x65","\x66\x6F\x72\x6D\x61\x74","\x6F\x74\x68\x65\x72\x46\x69\x65\x6C\x64\x73","\x25\x73\x0A","\x3B","\x25\x73\x3D\x25\x73\x0A","\x66\x6F\x72\x45\x61\x63\x68","\x61\x6C\x6C\x6F\x77","\x72\x65\x67\x69\x73\x74\x72\x79","\x6D\x61\x70","\x61\x73\x74\x65\x72\x69\x73\x6B\x43\x6F\x6E\x66","\x73\x69\x70\x5F\x78\x63\x61\x6C\x6C\x79\x5F\x74\x72\x75\x6E\x6B\x73\x2E\x63\x6F\x6E\x66","\x6A\x6F\x69\x6E","\x77","\x30\x37\x37\x37","\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","\x77\x72\x69\x74\x65\x46\x69\x6C\x65","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x52\x65\x6C\x6F\x61\x64","\x65\x72\x72\x6F\x72","\x61\x63\x74\x69\x6F\x6E","\x65\x78\x70\x6F\x72\x74\x73"];var TrunkModel=require(_0x38de[1])[_0x38de[0]];var fs=require(_0x38de[2]);var util=require(_0x38de[3]);var path=require(_0x38de[4]);var config=require(_0x38de[5]);var _=require(_0x38de[6]);function Trunk(_0x6ae1x8){console[_0x38de[8]](_0x38de[7]);TrunkModel[_0x38de[10]](function(_0x6ae1x9){if(_0x6ae1x9[_0x38de[9]]){trunksRewrite(_0x6ae1x9,_0x6ae1x8,false)}});TrunkModel[_0x38de[15]](function(_0x6ae1x9){if(!_0x6ae1x9[_0x38de[12]](_0x38de[11])&&!_0x6ae1x9[_0x38de[12]](_0x38de[13])&&!_0x6ae1x9[_0x38de[12]](_0x38de[14])){trunksRewrite(_0x6ae1x9,_0x6ae1x8,false)}});TrunkModel[_0x38de[16]](function(_0x6ae1x9){trunksRewrite(_0x6ae1x9,_0x6ae1x8,true)})}Trunk[_0x38de[18]][_0x38de[17]]=function(_0x6ae1xa){return TrunkModel[_0x38de[24]]({status:_0x6ae1xa[_0x38de[11]]},{where:{defaultuser:_0x6ae1xa[_0x38de[21]],host:_0x6ae1xa[_0x38de[22]],active:true,$and:[{registry:{$ne:_0x38de[23]}},{registry:{$ne:null}}]},individualHooks:true})[_0x38de[20]](function(_0x6ae1xb){console[_0x38de[8]](_0x38de[19],_0x6ae1xb)})};Trunk[_0x38de[18]][_0x38de[25]]=function(_0x6ae1xa){return TrunkModel[_0x38de[24]]({peerstatus:_0x6ae1xa[_0x38de[13]]},{where:{name:_0x6ae1xa[_0x38de[29]][_0x38de[28]](_0x38de[27])[1]},individualHooks:true})[_0x38de[20]](function(_0x6ae1xb){console[_0x38de[8]](_0x38de[26],_0x6ae1xb)})};function trunksRewrite(_0x6ae1x9,_0x6ae1x8,_0x6ae1xd){var _0x6ae1xe=_0x38de[23];var _0x6ae1xf=_0x38de[23];var _0x6ae1x10=_0x38de[30];if(!_0x6ae1xd){var _0x6ae1x11=_[_0x38de[32]](_0x6ae1x9[_0x38de[31]]);delete _0x6ae1x11[_0x38de[33]];delete _0x6ae1x11[_0x38de[14]];delete _0x6ae1x11[_0x38de[9]];delete _0x6ae1x11[_0x38de[11]];_0x6ae1xe+=util[_0x38de[36]](_0x38de[34],_0x6ae1x11[_0x38de[35]]);if(_0x6ae1x11[_0x38de[37]]){_0x6ae1xe+=util[_0x38de[36]](_0x38de[38],_0x6ae1x11[_0x38de[37]]);delete _0x6ae1x11[_0x38de[37]]};for(var _0x6ae1x12 in _0x6ae1x11){if(_0x6ae1x11[_0x6ae1x12]){switch(_0x6ae1x12){case _0x38de[42]:var _0x6ae1x13=_0x6ae1x11[_0x6ae1x12][_0x38de[28]](_0x38de[39]);_0x6ae1x13[_0x38de[41]](function(_0x6ae1x14){_0x6ae1xe+=util[_0x38de[36]](_0x38de[40],_0x6ae1x12,_0x6ae1x14)});break;default:_0x6ae1xe+=util[_0x38de[36]](_0x38de[40],_0x6ae1x12,_0x6ae1x11[_0x6ae1x12])}}};if(_0x6ae1x11[_0x38de[43]]){_0x6ae1xf+=util[_0x38de[36]](_0x6ae1x10,_0x6ae1x11[_0x38de[43]])}};return TrunkModel[_0x38de[55]]({where:{name:{$ne:_0x6ae1x9[_0x38de[35]]},active:true}})[_0x38de[54]](function(_0x6ae1x15){var _0x6ae1x16=_[_0x38de[44]](_0x6ae1x15,_0x38de[31]);_0x6ae1x16[_0x38de[41]](function(_0x6ae1x17){delete _0x6ae1x17[_0x38de[33]];delete _0x6ae1x17[_0x38de[14]];delete _0x6ae1x17[_0x38de[9]];delete _0x6ae1x17[_0x38de[11]];_0x6ae1xe+=util[_0x38de[36]](_0x38de[34],_0x6ae1x17[_0x38de[35]]);if(_0x6ae1x17[_0x38de[37]]){_0x6ae1xe+=util[_0x38de[36]](_0x38de[38],_0x6ae1x17[_0x38de[37]]);delete _0x6ae1x17[_0x38de[37]]};for(var _0x6ae1x12 in _0x6ae1x17){if(_0x6ae1x17[_0x6ae1x12]){switch(_0x6ae1x12){case _0x38de[42]:var _0x6ae1x13=_0x6ae1x17[_0x6ae1x12][_0x38de[28]](_0x38de[39]);_0x6ae1x13[_0x38de[41]](function(_0x6ae1x14){_0x6ae1xe+=util[_0x38de[36]](_0x38de[40],_0x6ae1x12,_0x6ae1x14)});break;default:_0x6ae1xe+=util[_0x38de[36]](_0x38de[40],_0x6ae1x12,_0x6ae1x17[_0x6ae1x12])}}};if(_0x6ae1x17[_0x38de[43]]){_0x6ae1xf+=util[_0x38de[36]](_0x6ae1x10,_0x6ae1x17[_0x38de[43]])}});fs[_0x38de[53]](path[_0x38de[47]](config[_0x38de[45]],_0x38de[46]),_0x6ae1xe,{flags:_0x38de[48],mode:parseInt(_0x38de[49],8)},function(_0x6ae1xb){if(_0x6ae1xb){throw _0x6ae1xb};console[_0x38de[8]](_0x38de[50]);fs[_0x38de[53]](path[_0x38de[47]](config[_0x38de[45]],_0x38de[51]),_0x6ae1xf,{flags:_0x38de[48],mode:parseInt(_0x38de[49],8)},function(_0x6ae1xb){if(_0x6ae1xb){throw _0x6ae1xb};reload(_0x6ae1x8);console[_0x38de[8]](_0x38de[52])})})})[_0x38de[20]](function(_0x6ae1xb){console[_0x38de[8]](_0x6ae1xb)})}function reload(_0x6ae1x8){_0x6ae1x8[_0x38de[58]]({Action:_0x38de[56]},function(_0x6ae1xb,_0x6ae1x19){if(_0x6ae1xb){console[_0x38de[57]](_0x6ae1xb)}else {console[_0x38de[8]](_0x6ae1x19)}})}module[_0x38de[59]]=Trunk \ No newline at end of file diff --git a/server/config/ami/user.js b/server/config/ami/user.js index 998b1d0..49892de 100644 --- a/server/config/ami/user.js +++ b/server/config/ami/user.js @@ -1 +1 @@ -var _0x93ee=["\x6D\x6F\x6D\x65\x6E\x74","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x51\x75\x65\x75\x65\x4D\x65\x6D\x62\x65\x72\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x73\x74\x61\x74\x65\x55\x70\x64\x61\x74\x65","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x73\x74\x61\x74\x65","\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","\x53\x49\x50\x2F","","\x72\x65\x70\x6C\x61\x63\x65","\x64\x65\x76\x69\x63\x65","\x71\x75\x65\x75\x65\x53\x74\x61\x74\x75\x73\x55\x70\x64\x61\x74\x65","\x71\x75\x65\x75\x65","\x65\x76\x65\x6E\x74","\x51\x75\x65\x75\x65\x43\x61\x6C\x6C\x65\x72\x41\x62\x61\x6E\x64\x6F\x6E","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x5B\x75\x73\x65\x72\x5D\x20\x73\x74\x61\x74\x75\x73\x20\x75\x70\x64\x61\x74\x65\x20\x65\x72\x72\x6F\x72\x3A\x20","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x5B\x75\x73\x65\x72\x5D\x20\x73\x74\x61\x74\x75\x73\x20\x75\x70\x64\x61\x74\x65","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];var moment=require(_0x93ee[0]);var UserModel=require(_0x93ee[2])[_0x93ee[1]];function User(){console[_0x93ee[4]](_0x93ee[3])}User[_0x93ee[6]][_0x93ee[5]]=function(_0xbfcbx4){var _0xbfcbx5={status:_0xbfcbx4[_0x93ee[7]],statusAt:moment()[_0x93ee[9]](_0x93ee[8])};var _0xbfcbx6={name:_0xbfcbx4[_0x93ee[13]][_0x93ee[12]](_0x93ee[10],_0x93ee[11])};return findAndUpdate(_0xbfcbx5,_0xbfcbx6)};User[_0x93ee[6]][_0x93ee[14]]=function(_0xbfcbx7,_0xbfcbx4){var _0xbfcbx5={queueStatus:_0xbfcbx7,queueStatusAt:moment()[_0x93ee[9]](_0x93ee[8]),lastQueue:_0xbfcbx4[_0x93ee[15]]};var _0xbfcbx6=(_0xbfcbx4[_0x93ee[16]]===_0x93ee[17])?{lastQueue:_0xbfcbx4[_0x93ee[15]]}:{name:_0xbfcbx4[_0x93ee[18]]};return findAndUpdate(_0xbfcbx5,_0xbfcbx6)};function findAndUpdate(_0xbfcbx5,_0xbfcbx6){return UserModel[_0x93ee[24]](_0xbfcbx5,{where:_0xbfcbx6,individualHooks:true})[_0x93ee[23]](function(_0xbfcbxa){console[_0x93ee[4]](_0x93ee[22])})[_0x93ee[21]](function(_0xbfcbx9){console[_0x93ee[20]](_0x93ee[19]+_0xbfcbx9)})}module[_0x93ee[25]]=User \ No newline at end of file +var _0x6a47=["\x6D\x6F\x6D\x65\x6E\x74","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x51\x75\x65\x75\x65\x4D\x65\x6D\x62\x65\x72\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x73\x74\x61\x74\x65\x55\x70\x64\x61\x74\x65","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x73\x74\x61\x74\x65","\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","\x53\x49\x50\x2F","","\x72\x65\x70\x6C\x61\x63\x65","\x64\x65\x76\x69\x63\x65","\x71\x75\x65\x75\x65\x53\x74\x61\x74\x75\x73\x55\x70\x64\x61\x74\x65","\x71\x75\x65\x75\x65","\x65\x76\x65\x6E\x74","\x51\x75\x65\x75\x65\x43\x61\x6C\x6C\x65\x72\x41\x62\x61\x6E\x64\x6F\x6E","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x5B\x75\x73\x65\x72\x5D\x20\x73\x74\x61\x74\x75\x73\x20\x75\x70\x64\x61\x74\x65\x20\x65\x72\x72\x6F\x72\x3A\x20","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x5B\x75\x73\x65\x72\x5D\x20\x73\x74\x61\x74\x75\x73\x20\x75\x70\x64\x61\x74\x65","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];var moment=require(_0x6a47[0]);var UserModel=require(_0x6a47[2])[_0x6a47[1]];function User(){console[_0x6a47[4]](_0x6a47[3])}User[_0x6a47[6]][_0x6a47[5]]=function(_0x693cx4){var _0x693cx5={status:_0x693cx4[_0x6a47[7]],statusAt:moment()[_0x6a47[9]](_0x6a47[8])};var _0x693cx6={name:_0x693cx4[_0x6a47[13]][_0x6a47[12]](_0x6a47[10],_0x6a47[11])};return findAndUpdate(_0x693cx5,_0x693cx6)};User[_0x6a47[6]][_0x6a47[14]]=function(_0x693cx7,_0x693cx4){var _0x693cx5={queueStatus:_0x693cx7,queueStatusAt:moment()[_0x6a47[9]](_0x6a47[8]),lastQueue:_0x693cx4[_0x6a47[15]]};var _0x693cx6=(_0x693cx4[_0x6a47[16]]===_0x6a47[17])?{lastQueue:_0x693cx4[_0x6a47[15]]}:{name:_0x693cx4[_0x6a47[18]]};return findAndUpdate(_0x693cx5,_0x693cx6)};function findAndUpdate(_0x693cx5,_0x693cx6){return UserModel[_0x6a47[24]](_0x693cx5,{where:_0x693cx6,individualHooks:true})[_0x6a47[23]](function(_0x693cxa){console[_0x6a47[4]](_0x6a47[22])})[_0x6a47[21]](function(_0x693cx9){console[_0x6a47[20]](_0x6a47[19]+_0x693cx9)})}module[_0x6a47[25]]=User \ No newline at end of file diff --git a/server/config/ami/voice_context.js b/server/config/ami/voice_context.js index 83864be..40f0ed6 100644 --- a/server/config/ami/voice_context.js +++ b/server/config/ami/voice_context.js @@ -1 +1 @@ -var _0xb05e=["\x56\x6F\x69\x63\x65\x43\x6F\x6E\x74\x65\x78\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x66\x73","\x75\x74\x69\x6C","\x70\x61\x74\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x6E\x61\x6D\x65","\x63\x68\x61\x6E\x67\x65\x64","\x59\x6F\x75\x20\x63\x61\x6E\x27\x74\x20\x6D\x6F\x64\x69\x66\x79\x20\x61\x20\x63\x6F\x6E\x74\x65\x78\x74\x20\x6E\x61\x6D\x65","\x64\x65\x66\x61\x75\x6C\x74\x45\x6E\x74\x72\x79","\x59\x6F\x75\x20\x63\x61\x6E\x27\x74\x20\x6D\x6F\x64\x69\x66\x79\x20\x61\x20\x64\x65\x66\x61\x75\x6C\x74\x20\x63\x6F\x6E\x74\x65\x78\x74","\x62\x65\x66\x6F\x72\x65\x55\x70\x64\x61\x74\x65","\x59\x6F\x75\x20\x63\x61\x6E\x27\x74\x20\x64\x65\x6C\x65\x74\x65\x20\x61\x20\x64\x65\x66\x61\x75\x6C\x74\x20\x63\x6F\x6E\x74\x65\x78\x74","\x62\x65\x66\x6F\x72\x65\x44\x65\x6C\x65\x74\x65","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x6C\x65\x74\x65","","\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","\x66\x6F\x72\x6D\x61\x74","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x66\x6F\x72\x45\x61\x63\x68","\x61\x73\x74\x65\x72\x69\x73\x6B\x43\x6F\x6E\x66","\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","\x6A\x6F\x69\x6E","\x77","\x30\x37\x37\x37","\x43\x6F\x6E\x74\x65\x78\x74\x73\x20\x66\x69\x6C\x65\x20\x73\x61\x76\x65\x64\x21","\x52\x65\x6C\x6F\x61\x64","\x65\x72\x72\x6F\x72","\x61\x63\x74\x69\x6F\x6E","\x77\x72\x69\x74\x65\x46\x69\x6C\x65","\x74\x68\x65\x6E","\x69\x64","\x66\x69\x6E\x64\x41\x6C\x6C","\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","\x68\x61\x6E\x67\x75\x70\x20\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x20\x63\x72\x65\x61\x74\x65\x64","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];var VoiceContext=require(_0xb05e[1])[_0xb05e[0]];var VoiceExtension=require(_0xb05e[1])[_0xb05e[2]];var fs=require(_0xb05e[3]);var util=require(_0xb05e[4]);var path=require(_0xb05e[5]);var config=require(_0xb05e[6]);function Context(_0x1dfax8){VoiceContext[_0xb05e[12]](function(_0x1dfax9){if(_0x1dfax9[_0xb05e[8]](_0xb05e[7])){throw new Error(_0xb05e[9])};if(_0x1dfax9[_0xb05e[10]]){throw new Error(_0xb05e[11])}});VoiceContext[_0xb05e[14]](function(_0x1dfaxa){if(_0x1dfaxa[_0xb05e[10]]){throw new Error(_0xb05e[13])}});VoiceContext[_0xb05e[15]](function(_0x1dfaxb){rewriteContexts(_0x1dfaxb,_0x1dfax8,false);createHangup(_0x1dfaxb)});VoiceContext[_0xb05e[16]](function(_0x1dfaxb){rewriteContexts(_0x1dfaxb,_0x1dfax8,true)})}function rewriteContexts(_0x1dfaxb,_0x1dfax8,_0x1dfaxd){var _0x1dfaxe=_0xb05e[17];if(!_0x1dfaxd){_0x1dfaxe=util[_0xb05e[19]](_0xb05e[18],_0x1dfaxb[_0xb05e[7]],_0x1dfaxb[_0xb05e[7]])};VoiceContext[_0xb05e[35]]({where:{id:{$ne:_0x1dfaxb[_0xb05e[34]]}}})[_0xb05e[33]](function(_0x1dfax10){_0x1dfax10[_0xb05e[22]](function(_0x1dfax11){_0x1dfaxe+=util[_0xb05e[19]](_0xb05e[18],_0x1dfax11[_0xb05e[7]],_0x1dfax11[_0xb05e[7]])});fs[_0xb05e[32]](path[_0xb05e[25]](config[_0xb05e[23]],_0xb05e[24]),_0x1dfaxe,{flags:_0xb05e[26],mode:parseInt(_0xb05e[27],8)},function(_0x1dfaxf){if(_0x1dfaxf){throw _0x1dfaxf};console[_0xb05e[20]](_0xb05e[28]);_0x1dfax8[_0xb05e[31]]({Action:_0xb05e[29]},function(_0x1dfaxf,_0x1dfax12){if(_0x1dfaxf){console[_0xb05e[30]](_0x1dfaxf)}else {console[_0xb05e[20]](_0x1dfax12)}})})})[_0xb05e[21]](function(_0x1dfaxf){console[_0xb05e[20]](_0x1dfaxf)})}function createHangup(_0x1dfaxb){console[_0xb05e[20]](_0xb05e[36],_0x1dfaxb[_0xb05e[7]]);var _0x1dfax14=[{context:_0x1dfaxb[_0xb05e[7]],exten:_0xb05e[37],priority:_0xb05e[38],VoiceContextId:_0x1dfaxb[_0xb05e[34]],type:_0xb05e[39],app:_0xb05e[40]},{context:_0x1dfaxb[_0xb05e[7]],exten:_0xb05e[41],priority:_0xb05e[38],VoiceContextId:_0x1dfaxb[_0xb05e[34]],type:_0xb05e[39],app:_0xb05e[40]}];return VoiceExtension[_0xb05e[43]](_0x1dfax14)[_0xb05e[33]](function(_0x1dfax12){console[_0xb05e[20]](_0xb05e[42])})[_0xb05e[21]](function(_0x1dfaxf){console[_0xb05e[20]](_0x1dfaxf)})}module[_0xb05e[44]]=Context \ No newline at end of file +var _0xbeea=["\x56\x6F\x69\x63\x65\x43\x6F\x6E\x74\x65\x78\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x66\x73","\x75\x74\x69\x6C","\x70\x61\x74\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x6E\x61\x6D\x65","\x63\x68\x61\x6E\x67\x65\x64","\x59\x6F\x75\x20\x63\x61\x6E\x27\x74\x20\x6D\x6F\x64\x69\x66\x79\x20\x61\x20\x63\x6F\x6E\x74\x65\x78\x74\x20\x6E\x61\x6D\x65","\x64\x65\x66\x61\x75\x6C\x74\x45\x6E\x74\x72\x79","\x59\x6F\x75\x20\x63\x61\x6E\x27\x74\x20\x6D\x6F\x64\x69\x66\x79\x20\x61\x20\x64\x65\x66\x61\x75\x6C\x74\x20\x63\x6F\x6E\x74\x65\x78\x74","\x62\x65\x66\x6F\x72\x65\x55\x70\x64\x61\x74\x65","\x59\x6F\x75\x20\x63\x61\x6E\x27\x74\x20\x64\x65\x6C\x65\x74\x65\x20\x61\x20\x64\x65\x66\x61\x75\x6C\x74\x20\x63\x6F\x6E\x74\x65\x78\x74","\x62\x65\x66\x6F\x72\x65\x44\x65\x6C\x65\x74\x65","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x6C\x65\x74\x65","","\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","\x66\x6F\x72\x6D\x61\x74","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x66\x6F\x72\x45\x61\x63\x68","\x61\x73\x74\x65\x72\x69\x73\x6B\x43\x6F\x6E\x66","\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","\x6A\x6F\x69\x6E","\x77","\x30\x37\x37\x37","\x43\x6F\x6E\x74\x65\x78\x74\x73\x20\x66\x69\x6C\x65\x20\x73\x61\x76\x65\x64\x21","\x52\x65\x6C\x6F\x61\x64","\x65\x72\x72\x6F\x72","\x61\x63\x74\x69\x6F\x6E","\x77\x72\x69\x74\x65\x46\x69\x6C\x65","\x74\x68\x65\x6E","\x69\x64","\x66\x69\x6E\x64\x41\x6C\x6C","\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","\x68\x61\x6E\x67\x75\x70\x20\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x20\x63\x72\x65\x61\x74\x65\x64","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];var VoiceContext=require(_0xbeea[1])[_0xbeea[0]];var VoiceExtension=require(_0xbeea[1])[_0xbeea[2]];var fs=require(_0xbeea[3]);var util=require(_0xbeea[4]);var path=require(_0xbeea[5]);var config=require(_0xbeea[6]);function Context(_0x6aa9x8){VoiceContext[_0xbeea[12]](function(_0x6aa9x9){if(_0x6aa9x9[_0xbeea[8]](_0xbeea[7])){throw new Error(_0xbeea[9])};if(_0x6aa9x9[_0xbeea[10]]){throw new Error(_0xbeea[11])}});VoiceContext[_0xbeea[14]](function(_0x6aa9xa){if(_0x6aa9xa[_0xbeea[10]]){throw new Error(_0xbeea[13])}});VoiceContext[_0xbeea[15]](function(_0x6aa9xb){rewriteContexts(_0x6aa9xb,_0x6aa9x8,false);createHangup(_0x6aa9xb)});VoiceContext[_0xbeea[16]](function(_0x6aa9xb){rewriteContexts(_0x6aa9xb,_0x6aa9x8,true)})}function rewriteContexts(_0x6aa9xb,_0x6aa9x8,_0x6aa9xd){var _0x6aa9xe=_0xbeea[17];if(!_0x6aa9xd){_0x6aa9xe=util[_0xbeea[19]](_0xbeea[18],_0x6aa9xb[_0xbeea[7]],_0x6aa9xb[_0xbeea[7]])};VoiceContext[_0xbeea[35]]({where:{id:{$ne:_0x6aa9xb[_0xbeea[34]]}}})[_0xbeea[33]](function(_0x6aa9x10){_0x6aa9x10[_0xbeea[22]](function(_0x6aa9x11){_0x6aa9xe+=util[_0xbeea[19]](_0xbeea[18],_0x6aa9x11[_0xbeea[7]],_0x6aa9x11[_0xbeea[7]])});fs[_0xbeea[32]](path[_0xbeea[25]](config[_0xbeea[23]],_0xbeea[24]),_0x6aa9xe,{flags:_0xbeea[26],mode:parseInt(_0xbeea[27],8)},function(_0x6aa9xf){if(_0x6aa9xf){throw _0x6aa9xf};console[_0xbeea[20]](_0xbeea[28]);_0x6aa9x8[_0xbeea[31]]({Action:_0xbeea[29]},function(_0x6aa9xf,_0x6aa9x12){if(_0x6aa9xf){console[_0xbeea[30]](_0x6aa9xf)}else {console[_0xbeea[20]](_0x6aa9x12)}})})})[_0xbeea[21]](function(_0x6aa9xf){console[_0xbeea[20]](_0x6aa9xf)})}function createHangup(_0x6aa9xb){console[_0xbeea[20]](_0xbeea[36],_0x6aa9xb[_0xbeea[7]]);var _0x6aa9x14=[{context:_0x6aa9xb[_0xbeea[7]],exten:_0xbeea[37],priority:_0xbeea[38],VoiceContextId:_0x6aa9xb[_0xbeea[34]],type:_0xbeea[39],app:_0xbeea[40]},{context:_0x6aa9xb[_0xbeea[7]],exten:_0xbeea[41],priority:_0xbeea[38],VoiceContextId:_0x6aa9xb[_0xbeea[34]],type:_0xbeea[39],app:_0xbeea[40]}];return VoiceExtension[_0xbeea[43]](_0x6aa9x14)[_0xbeea[33]](function(_0x6aa9x12){console[_0xbeea[20]](_0xbeea[42])})[_0xbeea[21]](function(_0x6aa9xf){console[_0xbeea[20]](_0x6aa9xf)})}module[_0xbeea[44]]=Context \ No newline at end of file diff --git a/server/config/analytics.js b/server/config/analytics.js index 56ce031..ac74cd4 100644 --- a/server/config/analytics.js +++ b/server/config/analytics.js @@ -1 +1 @@ -var _0x18c1=[] \ No newline at end of file +var _0xc577=[] \ No newline at end of file diff --git a/server/config/autodialer/index.js b/server/config/autodialer/index.js index c6196d6..efdc26a 100644 --- a/server/config/autodialer/index.js +++ b/server/config/autodialer/index.js @@ -1 +1 @@ -var _0xecc7=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x75\x74\x69\x6C","\x2E\x2F\x70\x72\x6F\x63\x65\x73\x73","\x65\x78\x70\x6F\x72\x74\x73","\x41\x75\x74\x6F\x64\x69\x61\x6C\x65\x72\x20\x53\x74\x61\x72\x74\x69\x6E\x67\x2E\x2E\x2E","\x6C\x6F\x67","\x67\x65\x74\x50\x72\x6F\x63\x65\x73\x73\x65\x73"];_0xecc7[0];var util=require(_0xecc7[1]);var Process=require(_0xecc7[2]);module[_0xecc7[3]]=function(_0x7ddex3){console[_0xecc7[5]](_0xecc7[4]);var _0x7ddex4= new Process();_0x7ddex4[_0xecc7[6]](function(_0x7ddex5,_0x7ddex6){if(_0x7ddex6){console[_0xecc7[5]](_0x7ddex6);return}})} \ No newline at end of file +var _0x74c0=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x75\x74\x69\x6C","\x2E\x2F\x70\x72\x6F\x63\x65\x73\x73","\x65\x78\x70\x6F\x72\x74\x73","\x41\x75\x74\x6F\x64\x69\x61\x6C\x65\x72\x20\x53\x74\x61\x72\x74\x69\x6E\x67\x2E\x2E\x2E","\x6C\x6F\x67","\x67\x65\x74\x50\x72\x6F\x63\x65\x73\x73\x65\x73"];_0x74c0[0];var util=require(_0x74c0[1]);var Process=require(_0x74c0[2]);module[_0x74c0[3]]=function(_0x86d7x3){console[_0x74c0[5]](_0x74c0[4]);var _0x86d7x4= new Process();_0x86d7x4[_0x74c0[6]](function(_0x86d7x5,_0x86d7x6){if(_0x86d7x6){console[_0x74c0[5]](_0x86d7x6);return}})} \ No newline at end of file diff --git a/server/config/autodialer/process.js b/server/config/autodialer/process.js index 1a2014d..2ad1200 100644 --- a/server/config/autodialer/process.js +++ b/server/config/autodialer/process.js @@ -1 +1 @@ -var _0x49a9=["\x41\x75\x74\x6F\x64\x69\x61\x6C\x65\x72\x50\x72\x6F\x63\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x6F\x6E\x74\x61\x63\x74","\x50\x72\x6F\x63\x65\x73\x73\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x67\x65\x74\x50\x72\x6F\x63\x65\x73\x73\x65\x73","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x65\x78\x70\x6F\x72\x74\x73"];var AutodialerProcess=require(_0x49a9[1])[_0x49a9[0]];var Contact=require(_0x49a9[1])[_0x49a9[2]];function Process(){console[_0x49a9[4]](_0x49a9[3])}Process[_0x49a9[6]][_0x49a9[5]]=function(_0x5389x4){AutodialerProcess[_0x49a9[9]]({where:{enable:true},include:[Contact]})[_0x49a9[8]](function(_0x5389x6){_0x5389x4(_0x5389x6)})[_0x49a9[7]](function(_0x5389x5){_0x5389x4(null,_0x5389x5)})};module[_0x49a9[10]]=Process \ No newline at end of file +var _0x2ec3=["\x41\x75\x74\x6F\x64\x69\x61\x6C\x65\x72\x50\x72\x6F\x63\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x6F\x6E\x74\x61\x63\x74","\x50\x72\x6F\x63\x65\x73\x73\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x67\x65\x74\x50\x72\x6F\x63\x65\x73\x73\x65\x73","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x65\x78\x70\x6F\x72\x74\x73"];var AutodialerProcess=require(_0x2ec3[1])[_0x2ec3[0]];var Contact=require(_0x2ec3[1])[_0x2ec3[2]];function Process(){console[_0x2ec3[4]](_0x2ec3[3])}Process[_0x2ec3[6]][_0x2ec3[5]]=function(_0x64fdx4){AutodialerProcess[_0x2ec3[9]]({where:{enable:true},include:[Contact]})[_0x2ec3[8]](function(_0x64fdx6){_0x64fdx4(_0x64fdx6)})[_0x2ec3[7]](function(_0x64fdx5){_0x64fdx4(null,_0x64fdx5)})};module[_0x2ec3[10]]=Process \ No newline at end of file diff --git a/server/config/automations/fax.js b/server/config/automations/fax.js index ba3bc3a..36487d1 100644 --- a/server/config/automations/fax.js +++ b/server/config/automations/fax.js @@ -1 +1 @@ -var _0x92a6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x6D\x6F\x6D\x65\x6E\x74","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E","\x46\x61\x78\x52\x6F\x6F\x6D","\x53\x65\x74\x74\x69\x6E\x67\x73","\x45\x78\x65\x63\x75\x74\x69\x6E\x67\x20\x4D\x61\x69\x6C\x20\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x20","\x6C\x6F\x67","\x46\x61\x78\x20\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x20\x65\x78\x65\x63\x20\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x69\x64","\x64\x61\x74\x61\x31","\x73\x74\x61\x74\x75\x73","\x61\x63\x74\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x41\x63\x74\x69\x6F\x6E\x73","\x74\x68\x65\x6E","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x70\x75\x73\x68","\x24\x61\x6E\x64","\x77\x68\x65\x72\x65","\x41\x6C\x6C","\x24\x6F\x72","\x41\x6E\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x66\x69\x6E\x64\x42\x79\x49\x64","\x61\x6C\x6C","\x73\x63\x6F\x70\x65","\x41\x75\x74\x6F\x6D\x61\x74\x69\x63\x20\x6D\x61\x69\x6C\x20\x73\x74\x61\x74\x75\x73\x20\x65\x72\x72\x6F\x72","\x75\x70\x64\x61\x74\x65","\x66\x69\x65\x6C\x64","\x76\x61\x6C\x75\x65","\x65\x71\x75\x61\x6C\x73","\x6E\x6F\x74\x5F\x65\x71\x75\x61\x6C\x73","\x6F\x70\x65\x72\x61\x74\x6F\x72","\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","\x68\x6F\x75\x72\x73","\x73\x75\x62\x74\x72\x61\x63\x74","\x67\x72\x65\x61\x74\x65\x72","\x67\x72\x65\x61\x74\x65\x72\x5F\x6F\x72\x5F\x65\x71\x75\x61\x6C","\x6C\x65\x73\x73","\x6C\x65\x73\x73\x5F\x6F\x72\x5F\x65\x71\x75\x61\x6C","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x46\x61\x78\x20\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x20","\x20\x73\x65\x74\x20\x77\x69\x74\x68\x20\x74\x69\x6D\x65\x6F\x75\x74\x20","\x74\x69\x6D\x65\x6F\x75\x74","\x69\x6E\x74\x65\x72\x76\x61\x6C","\x65\x78\x70\x6F\x72\x74\x73","\x20\x63\x72\x65\x61\x74\x65\x64\x2C\x20\x74\x68\x65\x20\x73\x74\x61\x74\x75\x73\x20\x69\x73\x20","\x63\x68\x61\x6E\x6E\x65\x6C","\x66\x61\x78","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x20\x75\x70\x64\x61\x74\x65\x64\x2C\x20\x74\x68\x65\x20\x73\x74\x61\x74\x75\x73\x20\x69\x73\x20","\x46\x61\x78\x20\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x20\x75\x6E\x73\x65\x74\x20","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x20\x64\x65\x6C\x65\x74\x65\x64","\x61\x66\x74\x65\x72\x44\x65\x6C\x65\x74\x65","\x46\x61\x78\x20\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x20\x69\x6E\x69\x74\x20\x65\x72\x72\x6F\x72"];_0x92a6[0];var _=require(_0x92a6[1]);var config=require(_0x92a6[2]);var moment=require(_0x92a6[3]);var sequelize=require(_0x92a6[5])[_0x92a6[4]];var Automation=require(_0x92a6[5])[_0x92a6[6]];var FaxRoom=require(_0x92a6[5])[_0x92a6[7]];var Settings=require(_0x92a6[5])[_0x92a6[8]];var automationTimeout;var activeFaxAutomations={};function executeAutomation(_0xa5b0xb){console[_0x92a6[10]](_0x92a6[9],_0xa5b0xb);var _0xa5b0xc;return Automation[_0x92a6[30]](_0x92a6[29])[_0x92a6[28]](_0xa5b0xb)[_0x92a6[19]](function(_0xa5b0x11){_0xa5b0xc=_0xa5b0x11;var _0xa5b0x12={where:{$and:[],$or:[]}};_0xa5b0x11[_0x92a6[24]][_0x92a6[17]](function(_0xa5b0x13){_0xa5b0x12[_0x92a6[23]][_0x92a6[22]][_0x92a6[21]](getCondition(_0xa5b0x13[_0x92a6[20]]))});_0xa5b0x11[_0x92a6[26]][_0x92a6[17]](function(_0xa5b0x13){_0xa5b0x12[_0x92a6[23]][_0x92a6[25]][_0x92a6[21]](getCondition(_0xa5b0x13[_0x92a6[20]]))});return FaxRoom[_0x92a6[27]](_0xa5b0x12)})[_0x92a6[19]](function(_0xa5b0xe){_0xa5b0xe[_0x92a6[17]](function(_0xa5b0xf){_0xa5b0xc[_0x92a6[18]][_0x92a6[17]](function(_0xa5b0x10){switch(_0xa5b0x10[_0x92a6[16]]){case _0x92a6[15]:setStatus(_0xa5b0xf[_0x92a6[13]],_0xa5b0x10[_0x92a6[14]]);break;default:}})})})[_0x92a6[12]](function(_0xa5b0xd){console[_0x92a6[10]](_0x92a6[11],_0xa5b0xd)})}function setStatus(_0xa5b0x15,_0xa5b0x16){return FaxRoom[_0x92a6[32]]({status:_0xa5b0x16},{where:{id:_0xa5b0x15}})[_0x92a6[12]](function(_0xa5b0xd){console[_0x92a6[10]](_0x92a6[31],_0xa5b0xd)})}function getCondition(_0xa5b0x13){var _0xa5b0x18={};switch(_0xa5b0x13[_0x92a6[33]]){case _0x92a6[15]:switch(_0xa5b0x13[_0x92a6[37]]){case _0x92a6[35]:_0xa5b0x18[_0xa5b0x13[_0x92a6[33]]]=_0xa5b0x13[_0x92a6[34]];break;case _0x92a6[36]:_0xa5b0x18[_0xa5b0x13[_0x92a6[33]]]={$ne:_0xa5b0x13[_0x92a6[34]]};break;default:};break;case _0x92a6[46]:var _0xa5b0x19=moment()[_0x92a6[41]](parseInt(_0xa5b0x13[_0x92a6[34]],10),_0x92a6[40])[_0x92a6[39]](_0x92a6[38]);switch(_0xa5b0x13[_0x92a6[37]]){case _0x92a6[42]:_0xa5b0x18[_0xa5b0x13[_0x92a6[33]]]={lt:_0xa5b0x19};break;case _0x92a6[43]:_0xa5b0x18[_0xa5b0x13[_0x92a6[33]]]={$lte:_0xa5b0x19};break;case _0x92a6[44]:_0xa5b0x18[_0xa5b0x13[_0x92a6[33]]]={$gt:_0xa5b0x19};break;case _0x92a6[45]:_0xa5b0x18[_0xa5b0x13[_0x92a6[33]]]={$gte:_0xa5b0x19};break;default:};break;default:};return _0xa5b0x18}function createInterval(_0xa5b0x11){console[_0x92a6[10]](_0x92a6[47],_0xa5b0x11[_0x92a6[13]],_0x92a6[48],_0xa5b0x11[_0x92a6[49]]*60*1000);activeFaxAutomations[_0x92a6[50]+_0xa5b0x11[_0x92a6[13]]]=setInterval(function(){executeAutomation(_0xa5b0x11[_0x92a6[13]])},_0xa5b0x11[_0x92a6[49]]*60*1000)}module[_0x92a6[51]]=function(){Automation[_0x92a6[55]](function(_0xa5b0x1b,_0xa5b0x1c){console[_0x92a6[10]](_0x92a6[47],_0xa5b0x1b[_0x92a6[13]],_0x92a6[52],_0xa5b0x1b[_0x92a6[15]]);if(_0xa5b0x1b[_0x92a6[15]]&&_0xa5b0x1b[_0x92a6[53]]===_0x92a6[54]){createInterval(_0xa5b0x1b)}});Automation[_0x92a6[58]](function(_0xa5b0x1b,_0xa5b0x1c){console[_0x92a6[10]](_0x92a6[47],_0xa5b0x1b[_0x92a6[13]],_0x92a6[56],_0xa5b0x1b[_0x92a6[15]]);if(activeFaxAutomations[_0x92a6[50]+_0xa5b0x1b[_0x92a6[13]]]){console[_0x92a6[10]](_0x92a6[57],_0xa5b0x1b[_0x92a6[13]]);clearInterval(activeFaxAutomations[_0x92a6[50]+_0xa5b0x1b[_0x92a6[13]]]);delete activeFaxAutomations[_0x92a6[50]+_0xa5b0x1b[_0x92a6[13]]]};if(_0xa5b0x1b[_0x92a6[15]]&&_0xa5b0x1b[_0x92a6[53]]===_0x92a6[54]){createInterval(_0xa5b0x1b)}});Automation[_0x92a6[60]](function(_0xa5b0x1b,_0xa5b0x1c){console[_0x92a6[10]](_0x92a6[47],_0xa5b0x1b[_0x92a6[13]],_0x92a6[59]);if(activeFaxAutomations[_0x92a6[50]+_0xa5b0x1b[_0x92a6[13]]]){console[_0x92a6[10]](_0x92a6[57],_0xa5b0x1b[_0x92a6[13]]);clearInterval(activeFaxAutomations[_0x92a6[50]+_0xa5b0x1b[_0x92a6[13]]]);delete activeFaxAutomations[_0x92a6[50]+_0xa5b0x1b[_0x92a6[13]]]}});return Automation[_0x92a6[30]](_0x92a6[29])[_0x92a6[27]]({where:{status:true,channel:_0x92a6[54]},attributes:[_0x92a6[13],_0x92a6[49]]})[_0x92a6[19]](function(_0xa5b0x1d){_0xa5b0x1d[_0x92a6[17]](function(_0xa5b0x11){createInterval(_0xa5b0x11)})})[_0x92a6[12]](function(_0xa5b0xd){console[_0x92a6[10]](_0x92a6[61],_0xa5b0xd)})} \ No newline at end of file +var _0x743c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x6D\x6F\x6D\x65\x6E\x74","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E","\x46\x61\x78\x52\x6F\x6F\x6D","\x53\x65\x74\x74\x69\x6E\x67\x73","\x45\x78\x65\x63\x75\x74\x69\x6E\x67\x20\x4D\x61\x69\x6C\x20\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x20","\x6C\x6F\x67","\x46\x61\x78\x20\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x20\x65\x78\x65\x63\x20\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x69\x64","\x64\x61\x74\x61\x31","\x73\x74\x61\x74\x75\x73","\x61\x63\x74\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x41\x63\x74\x69\x6F\x6E\x73","\x74\x68\x65\x6E","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x70\x75\x73\x68","\x24\x61\x6E\x64","\x77\x68\x65\x72\x65","\x41\x6C\x6C","\x24\x6F\x72","\x41\x6E\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x66\x69\x6E\x64\x42\x79\x49\x64","\x61\x6C\x6C","\x73\x63\x6F\x70\x65","\x41\x75\x74\x6F\x6D\x61\x74\x69\x63\x20\x6D\x61\x69\x6C\x20\x73\x74\x61\x74\x75\x73\x20\x65\x72\x72\x6F\x72","\x75\x70\x64\x61\x74\x65","\x66\x69\x65\x6C\x64","\x76\x61\x6C\x75\x65","\x65\x71\x75\x61\x6C\x73","\x6E\x6F\x74\x5F\x65\x71\x75\x61\x6C\x73","\x6F\x70\x65\x72\x61\x74\x6F\x72","\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","\x68\x6F\x75\x72\x73","\x73\x75\x62\x74\x72\x61\x63\x74","\x67\x72\x65\x61\x74\x65\x72","\x67\x72\x65\x61\x74\x65\x72\x5F\x6F\x72\x5F\x65\x71\x75\x61\x6C","\x6C\x65\x73\x73","\x6C\x65\x73\x73\x5F\x6F\x72\x5F\x65\x71\x75\x61\x6C","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x46\x61\x78\x20\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x20","\x20\x73\x65\x74\x20\x77\x69\x74\x68\x20\x74\x69\x6D\x65\x6F\x75\x74\x20","\x74\x69\x6D\x65\x6F\x75\x74","\x69\x6E\x74\x65\x72\x76\x61\x6C","\x65\x78\x70\x6F\x72\x74\x73","\x20\x63\x72\x65\x61\x74\x65\x64\x2C\x20\x74\x68\x65\x20\x73\x74\x61\x74\x75\x73\x20\x69\x73\x20","\x63\x68\x61\x6E\x6E\x65\x6C","\x66\x61\x78","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x20\x75\x70\x64\x61\x74\x65\x64\x2C\x20\x74\x68\x65\x20\x73\x74\x61\x74\x75\x73\x20\x69\x73\x20","\x46\x61\x78\x20\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x20\x75\x6E\x73\x65\x74\x20","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x20\x64\x65\x6C\x65\x74\x65\x64","\x61\x66\x74\x65\x72\x44\x65\x6C\x65\x74\x65","\x46\x61\x78\x20\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x20\x69\x6E\x69\x74\x20\x65\x72\x72\x6F\x72"];_0x743c[0];var _=require(_0x743c[1]);var config=require(_0x743c[2]);var moment=require(_0x743c[3]);var sequelize=require(_0x743c[5])[_0x743c[4]];var Automation=require(_0x743c[5])[_0x743c[6]];var FaxRoom=require(_0x743c[5])[_0x743c[7]];var Settings=require(_0x743c[5])[_0x743c[8]];var automationTimeout;var activeFaxAutomations={};function executeAutomation(_0xd196xb){console[_0x743c[10]](_0x743c[9],_0xd196xb);var _0xd196xc;return Automation[_0x743c[30]](_0x743c[29])[_0x743c[28]](_0xd196xb)[_0x743c[19]](function(_0xd196x11){_0xd196xc=_0xd196x11;var _0xd196x12={where:{$and:[],$or:[]}};_0xd196x11[_0x743c[24]][_0x743c[17]](function(_0xd196x13){_0xd196x12[_0x743c[23]][_0x743c[22]][_0x743c[21]](getCondition(_0xd196x13[_0x743c[20]]))});_0xd196x11[_0x743c[26]][_0x743c[17]](function(_0xd196x13){_0xd196x12[_0x743c[23]][_0x743c[25]][_0x743c[21]](getCondition(_0xd196x13[_0x743c[20]]))});return FaxRoom[_0x743c[27]](_0xd196x12)})[_0x743c[19]](function(_0xd196xe){_0xd196xe[_0x743c[17]](function(_0xd196xf){_0xd196xc[_0x743c[18]][_0x743c[17]](function(_0xd196x10){switch(_0xd196x10[_0x743c[16]]){case _0x743c[15]:setStatus(_0xd196xf[_0x743c[13]],_0xd196x10[_0x743c[14]]);break;default:}})})})[_0x743c[12]](function(_0xd196xd){console[_0x743c[10]](_0x743c[11],_0xd196xd)})}function setStatus(_0xd196x15,_0xd196x16){return FaxRoom[_0x743c[32]]({status:_0xd196x16},{where:{id:_0xd196x15}})[_0x743c[12]](function(_0xd196xd){console[_0x743c[10]](_0x743c[31],_0xd196xd)})}function getCondition(_0xd196x13){var _0xd196x18={};switch(_0xd196x13[_0x743c[33]]){case _0x743c[15]:switch(_0xd196x13[_0x743c[37]]){case _0x743c[35]:_0xd196x18[_0xd196x13[_0x743c[33]]]=_0xd196x13[_0x743c[34]];break;case _0x743c[36]:_0xd196x18[_0xd196x13[_0x743c[33]]]={$ne:_0xd196x13[_0x743c[34]]};break;default:};break;case _0x743c[46]:var _0xd196x19=moment()[_0x743c[41]](parseInt(_0xd196x13[_0x743c[34]],10),_0x743c[40])[_0x743c[39]](_0x743c[38]);switch(_0xd196x13[_0x743c[37]]){case _0x743c[42]:_0xd196x18[_0xd196x13[_0x743c[33]]]={lt:_0xd196x19};break;case _0x743c[43]:_0xd196x18[_0xd196x13[_0x743c[33]]]={$lte:_0xd196x19};break;case _0x743c[44]:_0xd196x18[_0xd196x13[_0x743c[33]]]={$gt:_0xd196x19};break;case _0x743c[45]:_0xd196x18[_0xd196x13[_0x743c[33]]]={$gte:_0xd196x19};break;default:};break;default:};return _0xd196x18}function createInterval(_0xd196x11){console[_0x743c[10]](_0x743c[47],_0xd196x11[_0x743c[13]],_0x743c[48],_0xd196x11[_0x743c[49]]*60*1000);activeFaxAutomations[_0x743c[50]+_0xd196x11[_0x743c[13]]]=setInterval(function(){executeAutomation(_0xd196x11[_0x743c[13]])},_0xd196x11[_0x743c[49]]*60*1000)}module[_0x743c[51]]=function(){Automation[_0x743c[55]](function(_0xd196x1b,_0xd196x1c){console[_0x743c[10]](_0x743c[47],_0xd196x1b[_0x743c[13]],_0x743c[52],_0xd196x1b[_0x743c[15]]);if(_0xd196x1b[_0x743c[15]]&&_0xd196x1b[_0x743c[53]]===_0x743c[54]){createInterval(_0xd196x1b)}});Automation[_0x743c[58]](function(_0xd196x1b,_0xd196x1c){console[_0x743c[10]](_0x743c[47],_0xd196x1b[_0x743c[13]],_0x743c[56],_0xd196x1b[_0x743c[15]]);if(activeFaxAutomations[_0x743c[50]+_0xd196x1b[_0x743c[13]]]){console[_0x743c[10]](_0x743c[57],_0xd196x1b[_0x743c[13]]);clearInterval(activeFaxAutomations[_0x743c[50]+_0xd196x1b[_0x743c[13]]]);delete activeFaxAutomations[_0x743c[50]+_0xd196x1b[_0x743c[13]]]};if(_0xd196x1b[_0x743c[15]]&&_0xd196x1b[_0x743c[53]]===_0x743c[54]){createInterval(_0xd196x1b)}});Automation[_0x743c[60]](function(_0xd196x1b,_0xd196x1c){console[_0x743c[10]](_0x743c[47],_0xd196x1b[_0x743c[13]],_0x743c[59]);if(activeFaxAutomations[_0x743c[50]+_0xd196x1b[_0x743c[13]]]){console[_0x743c[10]](_0x743c[57],_0xd196x1b[_0x743c[13]]);clearInterval(activeFaxAutomations[_0x743c[50]+_0xd196x1b[_0x743c[13]]]);delete activeFaxAutomations[_0x743c[50]+_0xd196x1b[_0x743c[13]]]}});return Automation[_0x743c[30]](_0x743c[29])[_0x743c[27]]({where:{status:true,channel:_0x743c[54]},attributes:[_0x743c[13],_0x743c[49]]})[_0x743c[19]](function(_0xd196x1d){_0xd196x1d[_0x743c[17]](function(_0xd196x11){createInterval(_0xd196x11)})})[_0x743c[12]](function(_0xd196xd){console[_0x743c[10]](_0x743c[61],_0xd196xd)})} \ No newline at end of file diff --git a/server/config/automations/mail.js b/server/config/automations/mail.js index 318e524..3d68e67 100644 --- a/server/config/automations/mail.js +++ b/server/config/automations/mail.js @@ -1 +1 @@ -var _0xaba5=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x6D\x6F\x6D\x65\x6E\x74","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x53\x65\x74\x74\x69\x6E\x67\x73","\x45\x78\x65\x63\x75\x74\x69\x6E\x67\x20\x4D\x61\x69\x6C\x20\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x20","\x6C\x6F\x67","\x4D\x61\x69\x6C\x20\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x20\x65\x78\x65\x63\x20\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x69\x64","\x64\x61\x74\x61\x31","\x73\x74\x61\x74\x75\x73","\x61\x63\x74\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x41\x63\x74\x69\x6F\x6E\x73","\x74\x68\x65\x6E","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x70\x75\x73\x68","\x24\x61\x6E\x64","\x77\x68\x65\x72\x65","\x41\x6C\x6C","\x24\x6F\x72","\x41\x6E\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x66\x69\x6E\x64\x42\x79\x49\x64","\x61\x6C\x6C","\x73\x63\x6F\x70\x65","\x41\x75\x74\x6F\x6D\x61\x74\x69\x63\x20\x6D\x61\x69\x6C\x20\x73\x74\x61\x74\x75\x73\x20\x65\x72\x72\x6F\x72","\x75\x70\x64\x61\x74\x65","\x66\x69\x65\x6C\x64","\x76\x61\x6C\x75\x65","\x65\x71\x75\x61\x6C\x73","\x6E\x6F\x74\x5F\x65\x71\x75\x61\x6C\x73","\x6F\x70\x65\x72\x61\x74\x6F\x72","\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","\x68\x6F\x75\x72\x73","\x73\x75\x62\x74\x72\x61\x63\x74","\x67\x72\x65\x61\x74\x65\x72","\x67\x72\x65\x61\x74\x65\x72\x5F\x6F\x72\x5F\x65\x71\x75\x61\x6C","\x6C\x65\x73\x73","\x6C\x65\x73\x73\x5F\x6F\x72\x5F\x65\x71\x75\x61\x6C","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x4D\x61\x69\x6C\x20\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x20","\x20\x73\x65\x74\x20\x77\x69\x74\x68\x20\x74\x69\x6D\x65\x6F\x75\x74\x20","\x74\x69\x6D\x65\x6F\x75\x74","\x69\x6E\x74\x65\x72\x76\x61\x6C","\x65\x78\x70\x6F\x72\x74\x73","\x20\x63\x72\x65\x61\x74\x65\x64\x2C\x20\x74\x68\x65\x20\x73\x74\x61\x74\x75\x73\x20\x69\x73\x20","\x63\x68\x61\x6E\x6E\x65\x6C","\x6D\x61\x69\x6C","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x20\x75\x70\x64\x61\x74\x65\x64\x2C\x20\x74\x68\x65\x20\x73\x74\x61\x74\x75\x73\x20\x69\x73\x20","\x4D\x61\x69\x6C\x20\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x20\x75\x6E\x73\x65\x74\x20","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x20\x64\x65\x6C\x65\x74\x65\x64","\x61\x66\x74\x65\x72\x44\x65\x6C\x65\x74\x65","\x4D\x61\x69\x6C\x20\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x20\x69\x6E\x69\x74\x20\x65\x72\x72\x6F\x72"];_0xaba5[0];var _=require(_0xaba5[1]);var config=require(_0xaba5[2]);var moment=require(_0xaba5[3]);var sequelize=require(_0xaba5[5])[_0xaba5[4]];var Automation=require(_0xaba5[5])[_0xaba5[6]];var MailRoom=require(_0xaba5[5])[_0xaba5[7]];var Settings=require(_0xaba5[5])[_0xaba5[8]];var activeMailAutomations={};function executeAutomation(_0x23afxa){console[_0xaba5[10]](_0xaba5[9],_0x23afxa);var _0x23afxb;return Automation[_0xaba5[30]](_0xaba5[29])[_0xaba5[28]](_0x23afxa)[_0xaba5[19]](function(_0x23afx10){_0x23afxb=_0x23afx10;var _0x23afx11={where:{$and:[],$or:[]}};_0x23afx10[_0xaba5[24]][_0xaba5[17]](function(_0x23afx12){_0x23afx11[_0xaba5[23]][_0xaba5[22]][_0xaba5[21]](getCondition(_0x23afx12[_0xaba5[20]]))});_0x23afx10[_0xaba5[26]][_0xaba5[17]](function(_0x23afx12){_0x23afx11[_0xaba5[23]][_0xaba5[25]][_0xaba5[21]](getCondition(_0x23afx12[_0xaba5[20]]))});return MailRoom[_0xaba5[27]](_0x23afx11)})[_0xaba5[19]](function(_0x23afxd){_0x23afxd[_0xaba5[17]](function(_0x23afxe){_0x23afxb[_0xaba5[18]][_0xaba5[17]](function(_0x23afxf){switch(_0x23afxf[_0xaba5[16]]){case _0xaba5[15]:setStatus(_0x23afxe[_0xaba5[13]],_0x23afxf[_0xaba5[14]]);break;default:}})})})[_0xaba5[12]](function(_0x23afxc){console[_0xaba5[10]](_0xaba5[11],_0x23afxc)})}function setStatus(_0x23afx14,_0x23afx15){return MailRoom[_0xaba5[32]]({status:_0x23afx15},{where:{id:_0x23afx14}})[_0xaba5[12]](function(_0x23afxc){console[_0xaba5[10]](_0xaba5[31],_0x23afxc)})}function getCondition(_0x23afx12){var _0x23afx17={};switch(_0x23afx12[_0xaba5[33]]){case _0xaba5[15]:switch(_0x23afx12[_0xaba5[37]]){case _0xaba5[35]:_0x23afx17[_0x23afx12[_0xaba5[33]]]=_0x23afx12[_0xaba5[34]];break;case _0xaba5[36]:_0x23afx17[_0x23afx12[_0xaba5[33]]]={$ne:_0x23afx12[_0xaba5[34]]};break;default:};break;case _0xaba5[46]:var _0x23afx18=moment()[_0xaba5[41]](parseInt(_0x23afx12[_0xaba5[34]],10),_0xaba5[40])[_0xaba5[39]](_0xaba5[38]);switch(_0x23afx12[_0xaba5[37]]){case _0xaba5[42]:_0x23afx17[_0x23afx12[_0xaba5[33]]]={lt:_0x23afx18};break;case _0xaba5[43]:_0x23afx17[_0x23afx12[_0xaba5[33]]]={$lte:_0x23afx18};break;case _0xaba5[44]:_0x23afx17[_0x23afx12[_0xaba5[33]]]={$gt:_0x23afx18};break;case _0xaba5[45]:_0x23afx17[_0x23afx12[_0xaba5[33]]]={$gte:_0x23afx18};break;default:};break;default:};return _0x23afx17}function createInterval(_0x23afx10){console[_0xaba5[10]](_0xaba5[47],_0x23afx10[_0xaba5[13]],_0xaba5[48],_0x23afx10[_0xaba5[49]]*60*1000);activeMailAutomations[_0xaba5[50]+_0x23afx10[_0xaba5[13]]]=setInterval(function(){executeAutomation(_0x23afx10[_0xaba5[13]])},_0x23afx10[_0xaba5[49]]*60*1000)}module[_0xaba5[51]]=function(){Automation[_0xaba5[55]](function(_0x23afx1a,_0x23afx1b){console[_0xaba5[10]](_0xaba5[47],_0x23afx1a[_0xaba5[13]],_0xaba5[52],_0x23afx1a[_0xaba5[15]]);if(_0x23afx1a[_0xaba5[15]]&&_0x23afx1a[_0xaba5[53]]===_0xaba5[54]){createInterval(_0x23afx1a)}});Automation[_0xaba5[58]](function(_0x23afx1a,_0x23afx1b){console[_0xaba5[10]](_0xaba5[47],_0x23afx1a[_0xaba5[13]],_0xaba5[56],_0x23afx1a[_0xaba5[15]]);if(activeMailAutomations[_0xaba5[50]+_0x23afx1a[_0xaba5[13]]]){console[_0xaba5[10]](_0xaba5[57],_0x23afx1a[_0xaba5[13]]);clearInterval(activeMailAutomations[_0xaba5[50]+_0x23afx1a[_0xaba5[13]]]);delete activeMailAutomations[_0xaba5[50]+_0x23afx1a[_0xaba5[13]]]};if(_0x23afx1a[_0xaba5[15]]&&_0x23afx1a[_0xaba5[53]]===_0xaba5[54]){createInterval(_0x23afx1a)}});Automation[_0xaba5[60]](function(_0x23afx1a,_0x23afx1b){console[_0xaba5[10]](_0xaba5[47],_0x23afx1a[_0xaba5[13]],_0xaba5[59]);if(activeMailAutomations[_0xaba5[50]+_0x23afx1a[_0xaba5[13]]]){console[_0xaba5[10]](_0xaba5[57],_0x23afx1a[_0xaba5[13]]);clearInterval(activeMailAutomations[_0xaba5[50]+_0x23afx1a[_0xaba5[13]]]);delete activeMailAutomations[_0xaba5[50]+_0x23afx1a[_0xaba5[13]]]}});return Automation[_0xaba5[30]](_0xaba5[29])[_0xaba5[27]]({where:{status:true,channel:_0xaba5[54]},attributes:[_0xaba5[13],_0xaba5[49]]})[_0xaba5[19]](function(_0x23afx1c){_0x23afx1c[_0xaba5[17]](function(_0x23afx10){createInterval(_0x23afx10)})})[_0xaba5[12]](function(_0x23afxc){console[_0xaba5[10]](_0xaba5[61],_0x23afxc)})} \ No newline at end of file +var _0x7b31=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x6D\x6F\x6D\x65\x6E\x74","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x53\x65\x74\x74\x69\x6E\x67\x73","\x45\x78\x65\x63\x75\x74\x69\x6E\x67\x20\x4D\x61\x69\x6C\x20\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x20","\x6C\x6F\x67","\x4D\x61\x69\x6C\x20\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x20\x65\x78\x65\x63\x20\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x69\x64","\x64\x61\x74\x61\x31","\x73\x74\x61\x74\x75\x73","\x61\x63\x74\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x41\x63\x74\x69\x6F\x6E\x73","\x74\x68\x65\x6E","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x70\x75\x73\x68","\x24\x61\x6E\x64","\x77\x68\x65\x72\x65","\x41\x6C\x6C","\x24\x6F\x72","\x41\x6E\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x66\x69\x6E\x64\x42\x79\x49\x64","\x61\x6C\x6C","\x73\x63\x6F\x70\x65","\x41\x75\x74\x6F\x6D\x61\x74\x69\x63\x20\x6D\x61\x69\x6C\x20\x73\x74\x61\x74\x75\x73\x20\x65\x72\x72\x6F\x72","\x75\x70\x64\x61\x74\x65","\x66\x69\x65\x6C\x64","\x76\x61\x6C\x75\x65","\x65\x71\x75\x61\x6C\x73","\x6E\x6F\x74\x5F\x65\x71\x75\x61\x6C\x73","\x6F\x70\x65\x72\x61\x74\x6F\x72","\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","\x68\x6F\x75\x72\x73","\x73\x75\x62\x74\x72\x61\x63\x74","\x67\x72\x65\x61\x74\x65\x72","\x67\x72\x65\x61\x74\x65\x72\x5F\x6F\x72\x5F\x65\x71\x75\x61\x6C","\x6C\x65\x73\x73","\x6C\x65\x73\x73\x5F\x6F\x72\x5F\x65\x71\x75\x61\x6C","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x4D\x61\x69\x6C\x20\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x20","\x20\x73\x65\x74\x20\x77\x69\x74\x68\x20\x74\x69\x6D\x65\x6F\x75\x74\x20","\x74\x69\x6D\x65\x6F\x75\x74","\x69\x6E\x74\x65\x72\x76\x61\x6C","\x65\x78\x70\x6F\x72\x74\x73","\x20\x63\x72\x65\x61\x74\x65\x64\x2C\x20\x74\x68\x65\x20\x73\x74\x61\x74\x75\x73\x20\x69\x73\x20","\x63\x68\x61\x6E\x6E\x65\x6C","\x6D\x61\x69\x6C","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x20\x75\x70\x64\x61\x74\x65\x64\x2C\x20\x74\x68\x65\x20\x73\x74\x61\x74\x75\x73\x20\x69\x73\x20","\x4D\x61\x69\x6C\x20\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x20\x75\x6E\x73\x65\x74\x20","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x20\x64\x65\x6C\x65\x74\x65\x64","\x61\x66\x74\x65\x72\x44\x65\x6C\x65\x74\x65","\x4D\x61\x69\x6C\x20\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x20\x69\x6E\x69\x74\x20\x65\x72\x72\x6F\x72"];_0x7b31[0];var _=require(_0x7b31[1]);var config=require(_0x7b31[2]);var moment=require(_0x7b31[3]);var sequelize=require(_0x7b31[5])[_0x7b31[4]];var Automation=require(_0x7b31[5])[_0x7b31[6]];var MailRoom=require(_0x7b31[5])[_0x7b31[7]];var Settings=require(_0x7b31[5])[_0x7b31[8]];var activeMailAutomations={};function executeAutomation(_0x7bccxa){console[_0x7b31[10]](_0x7b31[9],_0x7bccxa);var _0x7bccxb;return Automation[_0x7b31[30]](_0x7b31[29])[_0x7b31[28]](_0x7bccxa)[_0x7b31[19]](function(_0x7bccx10){_0x7bccxb=_0x7bccx10;var _0x7bccx11={where:{$and:[],$or:[]}};_0x7bccx10[_0x7b31[24]][_0x7b31[17]](function(_0x7bccx12){_0x7bccx11[_0x7b31[23]][_0x7b31[22]][_0x7b31[21]](getCondition(_0x7bccx12[_0x7b31[20]]))});_0x7bccx10[_0x7b31[26]][_0x7b31[17]](function(_0x7bccx12){_0x7bccx11[_0x7b31[23]][_0x7b31[25]][_0x7b31[21]](getCondition(_0x7bccx12[_0x7b31[20]]))});return MailRoom[_0x7b31[27]](_0x7bccx11)})[_0x7b31[19]](function(_0x7bccxd){_0x7bccxd[_0x7b31[17]](function(_0x7bccxe){_0x7bccxb[_0x7b31[18]][_0x7b31[17]](function(_0x7bccxf){switch(_0x7bccxf[_0x7b31[16]]){case _0x7b31[15]:setStatus(_0x7bccxe[_0x7b31[13]],_0x7bccxf[_0x7b31[14]]);break;default:}})})})[_0x7b31[12]](function(_0x7bccxc){console[_0x7b31[10]](_0x7b31[11],_0x7bccxc)})}function setStatus(_0x7bccx14,_0x7bccx15){return MailRoom[_0x7b31[32]]({status:_0x7bccx15},{where:{id:_0x7bccx14}})[_0x7b31[12]](function(_0x7bccxc){console[_0x7b31[10]](_0x7b31[31],_0x7bccxc)})}function getCondition(_0x7bccx12){var _0x7bccx17={};switch(_0x7bccx12[_0x7b31[33]]){case _0x7b31[15]:switch(_0x7bccx12[_0x7b31[37]]){case _0x7b31[35]:_0x7bccx17[_0x7bccx12[_0x7b31[33]]]=_0x7bccx12[_0x7b31[34]];break;case _0x7b31[36]:_0x7bccx17[_0x7bccx12[_0x7b31[33]]]={$ne:_0x7bccx12[_0x7b31[34]]};break;default:};break;case _0x7b31[46]:var _0x7bccx18=moment()[_0x7b31[41]](parseInt(_0x7bccx12[_0x7b31[34]],10),_0x7b31[40])[_0x7b31[39]](_0x7b31[38]);switch(_0x7bccx12[_0x7b31[37]]){case _0x7b31[42]:_0x7bccx17[_0x7bccx12[_0x7b31[33]]]={lt:_0x7bccx18};break;case _0x7b31[43]:_0x7bccx17[_0x7bccx12[_0x7b31[33]]]={$lte:_0x7bccx18};break;case _0x7b31[44]:_0x7bccx17[_0x7bccx12[_0x7b31[33]]]={$gt:_0x7bccx18};break;case _0x7b31[45]:_0x7bccx17[_0x7bccx12[_0x7b31[33]]]={$gte:_0x7bccx18};break;default:};break;default:};return _0x7bccx17}function createInterval(_0x7bccx10){console[_0x7b31[10]](_0x7b31[47],_0x7bccx10[_0x7b31[13]],_0x7b31[48],_0x7bccx10[_0x7b31[49]]*60*1000);activeMailAutomations[_0x7b31[50]+_0x7bccx10[_0x7b31[13]]]=setInterval(function(){executeAutomation(_0x7bccx10[_0x7b31[13]])},_0x7bccx10[_0x7b31[49]]*60*1000)}module[_0x7b31[51]]=function(){Automation[_0x7b31[55]](function(_0x7bccx1a,_0x7bccx1b){console[_0x7b31[10]](_0x7b31[47],_0x7bccx1a[_0x7b31[13]],_0x7b31[52],_0x7bccx1a[_0x7b31[15]]);if(_0x7bccx1a[_0x7b31[15]]&&_0x7bccx1a[_0x7b31[53]]===_0x7b31[54]){createInterval(_0x7bccx1a)}});Automation[_0x7b31[58]](function(_0x7bccx1a,_0x7bccx1b){console[_0x7b31[10]](_0x7b31[47],_0x7bccx1a[_0x7b31[13]],_0x7b31[56],_0x7bccx1a[_0x7b31[15]]);if(activeMailAutomations[_0x7b31[50]+_0x7bccx1a[_0x7b31[13]]]){console[_0x7b31[10]](_0x7b31[57],_0x7bccx1a[_0x7b31[13]]);clearInterval(activeMailAutomations[_0x7b31[50]+_0x7bccx1a[_0x7b31[13]]]);delete activeMailAutomations[_0x7b31[50]+_0x7bccx1a[_0x7b31[13]]]};if(_0x7bccx1a[_0x7b31[15]]&&_0x7bccx1a[_0x7b31[53]]===_0x7b31[54]){createInterval(_0x7bccx1a)}});Automation[_0x7b31[60]](function(_0x7bccx1a,_0x7bccx1b){console[_0x7b31[10]](_0x7b31[47],_0x7bccx1a[_0x7b31[13]],_0x7b31[59]);if(activeMailAutomations[_0x7b31[50]+_0x7bccx1a[_0x7b31[13]]]){console[_0x7b31[10]](_0x7b31[57],_0x7bccx1a[_0x7b31[13]]);clearInterval(activeMailAutomations[_0x7b31[50]+_0x7bccx1a[_0x7b31[13]]]);delete activeMailAutomations[_0x7b31[50]+_0x7bccx1a[_0x7b31[13]]]}});return Automation[_0x7b31[30]](_0x7b31[29])[_0x7b31[27]]({where:{status:true,channel:_0x7b31[54]},attributes:[_0x7b31[13],_0x7b31[49]]})[_0x7b31[19]](function(_0x7bccx1c){_0x7bccx1c[_0x7b31[17]](function(_0x7bccx10){createInterval(_0x7bccx10)})})[_0x7b31[12]](function(_0x7bccxc){console[_0x7b31[10]](_0x7b31[61],_0x7bccxc)})} \ No newline at end of file diff --git a/server/config/express.js b/server/config/express.js index fbfa749..27dfd91 100644 --- a/server/config/express.js +++ b/server/config/express.js @@ -1 +1 @@ -var _0x17af=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x73\x65\x72\x76\x65\x2D\x66\x61\x76\x69\x63\x6F\x6E","\x6D\x6F\x72\x67\x61\x6E","\x63\x6F\x6D\x70\x72\x65\x73\x73\x69\x6F\x6E","\x62\x6F\x64\x79\x2D\x70\x61\x72\x73\x65\x72","\x65\x78\x70\x72\x65\x73\x73\x2D\x71\x75\x65\x72\x79\x2D\x69\x6E\x74","\x6D\x65\x74\x68\x6F\x64\x2D\x6F\x76\x65\x72\x72\x69\x64\x65","\x63\x6F\x6F\x6B\x69\x65\x2D\x70\x61\x72\x73\x65\x72","\x65\x72\x72\x6F\x72\x68\x61\x6E\x64\x6C\x65\x72","\x70\x61\x74\x68","\x70\x61\x73\x73\x70\x6F\x72\x74","\x65\x78\x70\x72\x65\x73\x73\x2D\x73\x65\x73\x73\x69\x6F\x6E","\x63\x6F\x6E\x6E\x65\x63\x74\x2D\x66\x6C\x61\x73\x68","\x65\x78\x70\x72\x65\x73\x73\x2D\x6D\x79\x73\x71\x6C\x2D\x73\x65\x73\x73\x69\x6F\x6E","\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x65\x78\x70\x6F\x72\x74\x73","\x65\x6E\x76","\x67\x65\x74","\x76\x69\x65\x77\x73","\x72\x6F\x6F\x74","\x2F\x73\x65\x72\x76\x65\x72\x2F\x76\x69\x65\x77\x73","\x73\x65\x74","\x68\x74\x6D\x6C","\x72\x65\x6E\x64\x65\x72\x46\x69\x6C\x65","\x65\x6A\x73","\x65\x6E\x67\x69\x6E\x65","\x76\x69\x65\x77\x20\x65\x6E\x67\x69\x6E\x65","\x75\x73\x65","\x75\x72\x6C\x65\x6E\x63\x6F\x64\x65\x64","\x6A\x73\x6F\x6E","\x69\x6E\x69\x74\x69\x61\x6C\x69\x7A\x65","\x73\x65\x63\x72\x65\x74","\x73\x65\x73\x73\x69\x6F\x6E","\x68\x6F\x73\x74","\x64\x62","\x70\x6F\x72\x74","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x70\x61\x73\x73\x77\x6F\x72\x64","\x64\x61\x74\x61\x62\x61\x73\x65","\x63\x6F\x6F\x6B\x69\x65","\x6E\x61\x6D\x65","\x70\x72\x6F\x64\x75\x63\x74\x69\x6F\x6E","\x70\x75\x62\x6C\x69\x63","\x66\x61\x76\x69\x63\x6F\x6E\x2E\x69\x63\x6F","\x6A\x6F\x69\x6E","\x73\x74\x61\x74\x69\x63","\x61\x70\x70\x50\x61\x74\x68","\x2F\x70\x75\x62\x6C\x69\x63","\x72\x65\x6D\x6F\x74\x65\x2D\x61\x64\x64\x72\x65\x73\x73","\x78\x2D\x66\x6F\x72\x77\x61\x72\x64\x65\x64\x2D\x66\x6F\x72","\x68\x65\x61\x64\x65\x72\x73","\x72\x65\x6D\x6F\x74\x65\x41\x64\x64\x72\x65\x73\x73","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E","\x69\x70","\x74\x6F\x6B\x65\x6E","\x3A\x6D\x65\x74\x68\x6F\x64\x20\x3A\x72\x65\x6D\x6F\x74\x65\x2D\x61\x64\x64\x72\x65\x73\x73\x20\x3A\x72\x65\x6D\x6F\x74\x65\x2D\x75\x73\x65\x72\x20\x3A\x75\x72\x6C\x20\x3A\x73\x74\x61\x74\x75\x73\x20\x3A\x72\x65\x73\x70\x6F\x6E\x73\x65\x2D\x74\x69\x6D\x65\x20\x6D\x73\x20\x2D\x20\x3A\x72\x65\x73\x5B\x63\x6F\x6E\x74\x65\x6E\x74\x2D\x6C\x65\x6E\x67\x74\x68\x5D","\x64\x65\x76\x65\x6C\x6F\x70\x6D\x65\x6E\x74","\x74\x65\x73\x74","\x63\x6F\x6E\x6E\x65\x63\x74\x2D\x6C\x69\x76\x65\x72\x65\x6C\x6F\x61\x64","\x2E\x74\x6D\x70","\x63\x6C\x69\x65\x6E\x74"];_0x17af[0];var express=require(_0x17af[1]);var favicon=require(_0x17af[2]);var morgan=require(_0x17af[3]);var compression=require(_0x17af[4]);var bodyParser=require(_0x17af[5]);var queryParser=require(_0x17af[6]);var methodOverride=require(_0x17af[7]);var cookieParser=require(_0x17af[8]);var errorHandler=require(_0x17af[9]);var path=require(_0x17af[10]);var passport=require(_0x17af[11]);var session=require(_0x17af[12]);var flash=require(_0x17af[13]);var SessionStore=require(_0x17af[14])(session);var config=require(_0x17af[15]);module[_0x17af[16]]=function(_0xa0b2x10){var _0xa0b2x11=_0xa0b2x10[_0x17af[18]](_0x17af[17]);_0xa0b2x10[_0x17af[22]](_0x17af[19],config[_0x17af[20]]+_0x17af[21]);_0xa0b2x10[_0x17af[26]](_0x17af[23],require(_0x17af[25])[_0x17af[24]]);_0xa0b2x10[_0x17af[22]](_0x17af[27],_0x17af[23]);_0xa0b2x10[_0x17af[28]](compression());_0xa0b2x10[_0x17af[28]](bodyParser[_0x17af[29]]({extended:false}));_0xa0b2x10[_0x17af[28]](bodyParser[_0x17af[30]]());_0xa0b2x10[_0x17af[28]](methodOverride());_0xa0b2x10[_0x17af[28]](cookieParser());_0xa0b2x10[_0x17af[28]](passport[_0x17af[31]]());_0xa0b2x10[_0x17af[28]](session({secret:config[_0x17af[33]][_0x17af[32]],store: new SessionStore({host:config[_0x17af[35]][_0x17af[34]],port:config[_0x17af[35]][_0x17af[36]],user:config[_0x17af[35]][_0x17af[37]],password:config[_0x17af[35]][_0x17af[38]],database:config[_0x17af[35]][_0x17af[39]]}),cookie:config[_0x17af[33]][_0x17af[40]],name:config[_0x17af[33]][_0x17af[41]],resave:true,saveUninitialized:true}));if(_0x17af[42]===_0xa0b2x11){_0xa0b2x10[_0x17af[28]](favicon(path[_0x17af[45]](config[_0x17af[20]],_0x17af[43],_0x17af[44])));_0xa0b2x10[_0x17af[28]](express[_0x17af[46]](path[_0x17af[45]](config[_0x17af[20]],_0x17af[43])));_0xa0b2x10[_0x17af[22]](_0x17af[47],config[_0x17af[20]]+_0x17af[48]);morgan[_0x17af[55]](_0x17af[49],function(_0xa0b2x12,_0xa0b2x13){return _0xa0b2x12[_0x17af[51]][_0x17af[50]]?_0xa0b2x12[_0x17af[51]][_0x17af[50]]:_0xa0b2x12[_0x17af[53]][_0x17af[52]]||_0xa0b2x12[_0x17af[54]]});_0xa0b2x10[_0x17af[28]](morgan(_0x17af[56]))};if(_0x17af[57]===_0xa0b2x11||_0x17af[58]===_0xa0b2x11){_0xa0b2x10[_0x17af[28]](require(_0x17af[59])());_0xa0b2x10[_0x17af[28]](express[_0x17af[46]](path[_0x17af[45]](config[_0x17af[20]],_0x17af[60])));_0xa0b2x10[_0x17af[28]](express[_0x17af[46]](path[_0x17af[45]](config[_0x17af[20]],_0x17af[61])));_0xa0b2x10[_0x17af[22]](_0x17af[47],_0x17af[61]);morgan[_0x17af[55]](_0x17af[49],function(_0xa0b2x12,_0xa0b2x13){return _0xa0b2x12[_0x17af[51]][_0x17af[50]]?_0xa0b2x12[_0x17af[51]][_0x17af[50]]:_0xa0b2x12[_0x17af[53]][_0x17af[52]]||_0xa0b2x12[_0x17af[54]]});_0xa0b2x10[_0x17af[28]](morgan(_0x17af[56]));_0xa0b2x10[_0x17af[28]](errorHandler())};_0xa0b2x10[_0x17af[28]](flash())} \ No newline at end of file +var _0xc59e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x73\x65\x72\x76\x65\x2D\x66\x61\x76\x69\x63\x6F\x6E","\x6D\x6F\x72\x67\x61\x6E","\x63\x6F\x6D\x70\x72\x65\x73\x73\x69\x6F\x6E","\x62\x6F\x64\x79\x2D\x70\x61\x72\x73\x65\x72","\x65\x78\x70\x72\x65\x73\x73\x2D\x71\x75\x65\x72\x79\x2D\x69\x6E\x74","\x6D\x65\x74\x68\x6F\x64\x2D\x6F\x76\x65\x72\x72\x69\x64\x65","\x63\x6F\x6F\x6B\x69\x65\x2D\x70\x61\x72\x73\x65\x72","\x65\x72\x72\x6F\x72\x68\x61\x6E\x64\x6C\x65\x72","\x70\x61\x74\x68","\x70\x61\x73\x73\x70\x6F\x72\x74","\x65\x78\x70\x72\x65\x73\x73\x2D\x73\x65\x73\x73\x69\x6F\x6E","\x63\x6F\x6E\x6E\x65\x63\x74\x2D\x66\x6C\x61\x73\x68","\x65\x78\x70\x72\x65\x73\x73\x2D\x6D\x79\x73\x71\x6C\x2D\x73\x65\x73\x73\x69\x6F\x6E","\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x65\x78\x70\x6F\x72\x74\x73","\x65\x6E\x76","\x67\x65\x74","\x76\x69\x65\x77\x73","\x72\x6F\x6F\x74","\x2F\x73\x65\x72\x76\x65\x72\x2F\x76\x69\x65\x77\x73","\x73\x65\x74","\x68\x74\x6D\x6C","\x72\x65\x6E\x64\x65\x72\x46\x69\x6C\x65","\x65\x6A\x73","\x65\x6E\x67\x69\x6E\x65","\x76\x69\x65\x77\x20\x65\x6E\x67\x69\x6E\x65","\x75\x73\x65","\x75\x72\x6C\x65\x6E\x63\x6F\x64\x65\x64","\x6A\x73\x6F\x6E","\x69\x6E\x69\x74\x69\x61\x6C\x69\x7A\x65","\x73\x65\x63\x72\x65\x74","\x73\x65\x73\x73\x69\x6F\x6E","\x68\x6F\x73\x74","\x64\x62","\x70\x6F\x72\x74","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x70\x61\x73\x73\x77\x6F\x72\x64","\x64\x61\x74\x61\x62\x61\x73\x65","\x63\x6F\x6F\x6B\x69\x65","\x6E\x61\x6D\x65","\x70\x72\x6F\x64\x75\x63\x74\x69\x6F\x6E","\x70\x75\x62\x6C\x69\x63","\x66\x61\x76\x69\x63\x6F\x6E\x2E\x69\x63\x6F","\x6A\x6F\x69\x6E","\x73\x74\x61\x74\x69\x63","\x61\x70\x70\x50\x61\x74\x68","\x2F\x70\x75\x62\x6C\x69\x63","\x72\x65\x6D\x6F\x74\x65\x2D\x61\x64\x64\x72\x65\x73\x73","\x78\x2D\x66\x6F\x72\x77\x61\x72\x64\x65\x64\x2D\x66\x6F\x72","\x68\x65\x61\x64\x65\x72\x73","\x72\x65\x6D\x6F\x74\x65\x41\x64\x64\x72\x65\x73\x73","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E","\x69\x70","\x74\x6F\x6B\x65\x6E","\x3A\x6D\x65\x74\x68\x6F\x64\x20\x3A\x72\x65\x6D\x6F\x74\x65\x2D\x61\x64\x64\x72\x65\x73\x73\x20\x3A\x72\x65\x6D\x6F\x74\x65\x2D\x75\x73\x65\x72\x20\x3A\x75\x72\x6C\x20\x3A\x73\x74\x61\x74\x75\x73\x20\x3A\x72\x65\x73\x70\x6F\x6E\x73\x65\x2D\x74\x69\x6D\x65\x20\x6D\x73\x20\x2D\x20\x3A\x72\x65\x73\x5B\x63\x6F\x6E\x74\x65\x6E\x74\x2D\x6C\x65\x6E\x67\x74\x68\x5D","\x64\x65\x76\x65\x6C\x6F\x70\x6D\x65\x6E\x74","\x74\x65\x73\x74","\x63\x6F\x6E\x6E\x65\x63\x74\x2D\x6C\x69\x76\x65\x72\x65\x6C\x6F\x61\x64","\x2E\x74\x6D\x70","\x63\x6C\x69\x65\x6E\x74"];_0xc59e[0];var express=require(_0xc59e[1]);var favicon=require(_0xc59e[2]);var morgan=require(_0xc59e[3]);var compression=require(_0xc59e[4]);var bodyParser=require(_0xc59e[5]);var queryParser=require(_0xc59e[6]);var methodOverride=require(_0xc59e[7]);var cookieParser=require(_0xc59e[8]);var errorHandler=require(_0xc59e[9]);var path=require(_0xc59e[10]);var passport=require(_0xc59e[11]);var session=require(_0xc59e[12]);var flash=require(_0xc59e[13]);var SessionStore=require(_0xc59e[14])(session);var config=require(_0xc59e[15]);module[_0xc59e[16]]=function(_0xe6e0x10){var _0xe6e0x11=_0xe6e0x10[_0xc59e[18]](_0xc59e[17]);_0xe6e0x10[_0xc59e[22]](_0xc59e[19],config[_0xc59e[20]]+_0xc59e[21]);_0xe6e0x10[_0xc59e[26]](_0xc59e[23],require(_0xc59e[25])[_0xc59e[24]]);_0xe6e0x10[_0xc59e[22]](_0xc59e[27],_0xc59e[23]);_0xe6e0x10[_0xc59e[28]](compression());_0xe6e0x10[_0xc59e[28]](bodyParser[_0xc59e[29]]({extended:false}));_0xe6e0x10[_0xc59e[28]](bodyParser[_0xc59e[30]]());_0xe6e0x10[_0xc59e[28]](methodOverride());_0xe6e0x10[_0xc59e[28]](cookieParser());_0xe6e0x10[_0xc59e[28]](passport[_0xc59e[31]]());_0xe6e0x10[_0xc59e[28]](session({secret:config[_0xc59e[33]][_0xc59e[32]],store: new SessionStore({host:config[_0xc59e[35]][_0xc59e[34]],port:config[_0xc59e[35]][_0xc59e[36]],user:config[_0xc59e[35]][_0xc59e[37]],password:config[_0xc59e[35]][_0xc59e[38]],database:config[_0xc59e[35]][_0xc59e[39]]}),cookie:config[_0xc59e[33]][_0xc59e[40]],name:config[_0xc59e[33]][_0xc59e[41]],resave:true,saveUninitialized:true}));if(_0xc59e[42]===_0xe6e0x11){_0xe6e0x10[_0xc59e[28]](favicon(path[_0xc59e[45]](config[_0xc59e[20]],_0xc59e[43],_0xc59e[44])));_0xe6e0x10[_0xc59e[28]](express[_0xc59e[46]](path[_0xc59e[45]](config[_0xc59e[20]],_0xc59e[43])));_0xe6e0x10[_0xc59e[22]](_0xc59e[47],config[_0xc59e[20]]+_0xc59e[48]);morgan[_0xc59e[55]](_0xc59e[49],function(_0xe6e0x12,_0xe6e0x13){return _0xe6e0x12[_0xc59e[51]][_0xc59e[50]]?_0xe6e0x12[_0xc59e[51]][_0xc59e[50]]:_0xe6e0x12[_0xc59e[53]][_0xc59e[52]]||_0xe6e0x12[_0xc59e[54]]});_0xe6e0x10[_0xc59e[28]](morgan(_0xc59e[56]))};if(_0xc59e[57]===_0xe6e0x11||_0xc59e[58]===_0xe6e0x11){_0xe6e0x10[_0xc59e[28]](require(_0xc59e[59])());_0xe6e0x10[_0xc59e[28]](express[_0xc59e[46]](path[_0xc59e[45]](config[_0xc59e[20]],_0xc59e[60])));_0xe6e0x10[_0xc59e[28]](express[_0xc59e[46]](path[_0xc59e[45]](config[_0xc59e[20]],_0xc59e[61])));_0xe6e0x10[_0xc59e[22]](_0xc59e[47],_0xc59e[61]);morgan[_0xc59e[55]](_0xc59e[49],function(_0xe6e0x12,_0xe6e0x13){return _0xe6e0x12[_0xc59e[51]][_0xc59e[50]]?_0xe6e0x12[_0xc59e[51]][_0xc59e[50]]:_0xe6e0x12[_0xc59e[53]][_0xc59e[52]]||_0xe6e0x12[_0xc59e[54]]});_0xe6e0x10[_0xc59e[28]](morgan(_0xc59e[56]));_0xe6e0x10[_0xc59e[28]](errorHandler())};_0xe6e0x10[_0xc59e[28]](flash())} \ No newline at end of file diff --git a/server/config/fax.js b/server/config/fax.js index 34c3b58..c62aa9f 100644 --- a/server/config/fax.js +++ b/server/config/fax.js @@ -1 +1 @@ -var _0x6648=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6E\x6F\x64\x65\x2D\x75\x75\x69\x64","\x74\x69\x66\x66\x2D\x74\x6F\x2D\x70\x6E\x67","\x65\x78\x65\x63","\x63\x68\x69\x6C\x64\x5F\x70\x72\x6F\x63\x65\x73\x73","\x66\x73","\x70\x61\x74\x68","\x46\x61\x78\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x46\x61\x78\x52\x6F\x6F\x6D","\x43\x6F\x6E\x74\x61\x63\x74","\x45\x76\x65\x6E\x74","\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x72\x65\x67\x69\x73\x74\x65\x72","\x72\x65\x63\x65\x69\x76\x65\x66\x61\x78","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x73\x74\x61\x74\x75\x73","\x52\x45\x43\x45\x49\x56\x45\x44","\x46\x61\x78\x52\x6F\x6F\x6D\x49\x64","\x69\x64","\x49\x4E\x43\x4F\x4D\x49\x4E\x47","\x46\x41\x58","\x63\x72\x65\x61\x74\x65","\x73\x65\x74\x46\x72\x6F\x6D","\x73\x70\x72\x65\x61\x64","\x72\x65\x6D\x6F\x74\x65\x73\x74\x61\x74\x69\x6F\x6E\x69\x64","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x73\x65\x74\x54\x6F","\x6C\x6F\x63\x61\x6C\x73\x74\x61\x74\x69\x6F\x6E\x69\x64","\x76\x34","\x66\x69\x6C\x65\x6E\x61\x6D\x65","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72","\x66\x69\x6C\x65\x73","\x66\x61\x78","\x69\x6E\x62\x6F\x75\x6E\x64","\x2E\x70\x64\x66","\x6A\x6F\x69\x6E","\x63\x6F\x6E\x76\x65\x72\x74\x20","\x20","\x54\x68\x65\x20\x66\x69\x6C\x65\x20","\x20\x65\x78\x69\x74\x73","\x20\x77\x61\x73\x20\x63\x6F\x6E\x76\x65\x72\x74\x65\x64\x20\x69\x6E\x20\x50\x44\x46","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x20\x64\x6F\x65\x73\x20\x6E\x6F\x74\x20\x65\x78\x69\x74\x73","\x65\x78\x69\x73\x74\x73","\x4E\x45\x57","\x6F\x6E","\x73\x65\x6E\x64\x66\x61\x78","\x2A\x2A\x2A\x53\x65\x6E\x64\x46\x41\x58\x2A\x2A\x2A","\x6C\x6F\x67","\x75\x6E\x69\x71\x75\x65\x69\x64","\x66\x69\x6E\x64\x4F\x6E\x65","\x76\x61\x72\x73\x65\x74","\x66\x61\x78\x73\x74\x61\x74\x75\x73","\x68\x61\x73\x4F\x77\x6E\x50\x72\x6F\x70\x65\x72\x74\x79","\x76\x61\x72\x69\x61\x62\x6C\x65","\x56\x61\x72\x53\x65\x74\x3A\x20","\x76\x61\x6C\x75\x65","\x46\x41\x49\x4C\x45\x44","\x53\x45\x4E\x54","\x66\x61\x78\x65\x72\x72\x6F\x72","\x66\x61\x78\x73\x74\x61\x74\x75\x73\x73\x74\x72\x69\x6E\x67","\x6C\x61\x73\x74\x73\x74\x61\x74\x75\x73","\x75\x73\x65\x72\x65\x76\x65\x6E\x74","\x46\x61\x78","\x53\x45\x4E\x44\x49\x4E\x47","\x75\x75\x69\x64","\x46\x41\x58\x53\x74\x61\x74\x75\x73\x3A\x20","\x6F\x70\x65\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x61\x70\x69\x2F\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x2F\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x2E\x61\x6D\x69"];_0x6648[0];var _=require(_0x6648[1]);var uuidLib=require(_0x6648[2]);var ConvertTiff=require(_0x6648[3]);var exec=require(_0x6648[5])[_0x6648[4]];var fs=require(_0x6648[6]);var path=require(_0x6648[7]);var FaxMessage=require(_0x6648[9])[_0x6648[8]];var FaxRoom=require(_0x6648[9])[_0x6648[10]];var Contact=require(_0x6648[9])[_0x6648[11]];var Event=require(_0x6648[9])[_0x6648[12]];var config=require(_0x6648[13]);exports[_0x6648[14]]=function(_0x22dcxc){_0x22dcxc[_0x6648[50]](_0x6648[15],function(_0x22dcxd){FaxRoom[_0x6648[24]]({status:_0x6648[49],from:_0x22dcxd[_0x6648[27]],FaxAccountId:1})[_0x6648[45]](function(_0x22dcxf){_0x22dcxd[_0x6648[18]]=_0x6648[19];_0x22dcxd[_0x6648[20]]=_0x22dcxf[_0x6648[21]];FaxMessage[_0x6648[24]](_0x22dcxd)[_0x6648[45]](function(_0x22dcx10){Event[_0x6648[24]]({name:_0x6648[22],channel:_0x6648[23],FaxRoomId:_0x22dcxf[_0x6648[21]],FaxAccountId:1})[_0x6648[17]](function(_0x22dcxe){console[_0x6648[16]](_0x22dcxe)});Contact[_0x6648[28]]({where:{phone:_0x22dcxd[_0x6648[27]]},defaults:{phone:_0x22dcxd[_0x6648[27]],fullname:_0x22dcxd[_0x6648[27]]}})[_0x6648[26]](function(_0x22dcx11,_0x22dcx12){_0x22dcx10[_0x6648[25]](_0x22dcx11)});Contact[_0x6648[28]]({where:{phone:_0x22dcxd[_0x6648[30]]},defaults:{phone:_0x22dcxd[_0x6648[30]],fullname:_0x22dcxd[_0x6648[30]]}})[_0x6648[26]](function(_0x22dcx11,_0x22dcx12){_0x22dcx10[_0x6648[29]](_0x22dcx11)});var _0x22dcx13=uuidLib[_0x6648[31]]();var _0x22dcx14=_0x22dcxd[_0x6648[32]];var _0x22dcx15=path[_0x6648[39]](config[_0x6648[33]],_0x6648[34],_0x6648[35],_0x6648[36],_0x6648[37],_0x22dcx13+_0x6648[38]);var _0x22dcx16=_0x6648[40]+_0x22dcx14+_0x6648[41]+_0x22dcx15;fs[_0x6648[48]](_0x22dcx14,function(_0x22dcx17){if(_0x22dcx17){console[_0x6648[16]](_0x6648[42]+_0x22dcx14+_0x6648[43]);exec(_0x22dcx16,function(_0x22dcxe){if(_0x22dcxe){console[_0x6648[16]](_0x22dcxe)}else {_0x22dcx10[_0x6648[46]]({filenamePDF:_0x22dcx13+_0x6648[38]})[_0x6648[45]](function(){console[_0x6648[16]](_0x6648[42]+_0x22dcx14+_0x6648[44])})[_0x6648[17]](function(_0x22dcxe){console[_0x6648[16]](_0x22dcxe)})}})}else {console[_0x6648[16]](_0x6648[42]+_0x22dcx14+_0x6648[47])}})})[_0x6648[17]](function(_0x22dcxe){console[_0x6648[16]](_0x22dcxe)})})[_0x6648[17]](function(_0x22dcxe){console[_0x6648[16]](_0x22dcxe)})});_0x22dcxc[_0x6648[50]](_0x6648[51],function(_0x22dcxd){console[_0x6648[53]](_0x6648[52]);FaxMessage[_0x6648[55]]({where:{uniqueid:_0x22dcxd[_0x6648[54]]}})[_0x6648[45]](function(_0x22dcx10){if(_0x22dcx10){_0x22dcx10[_0x6648[46]](_0x22dcxd)}})[_0x6648[17]](function(_0x22dcxe){console[_0x6648[16]](_0x22dcxe)})});_0x22dcxc[_0x6648[50]](_0x6648[56],function(_0x22dcxd){if(_0x22dcxd[_0x6648[59]][_0x6648[58]](_0x6648[57])){FaxMessage[_0x6648[55]]({where:{uniqueid:_0x22dcxd[_0x6648[54]]}})[_0x6648[45]](function(_0x22dcx10){if(_0x22dcx10){console[_0x6648[53]](_0x6648[60],_0x6648[18],_0x22dcxd[_0x6648[61]]);_0x22dcx10[_0x6648[46]]({status:_0x22dcxd[_0x6648[61]]==_0x6648[62]?_0x6648[62]:_0x6648[63]})}})[_0x6648[17]](function(_0x22dcxe){console[_0x6648[16]](_0x22dcxe)})}else {if(_0x22dcxd[_0x6648[59]][_0x6648[58]](_0x6648[64])){FaxMessage[_0x6648[55]]({where:{uniqueid:_0x22dcxd[_0x6648[54]]}})[_0x6648[45]](function(_0x22dcx10){if(_0x22dcx10){console[_0x6648[53]](_0x6648[60],_0x6648[16],_0x22dcxd[_0x6648[61]]);_0x22dcx10[_0x6648[46]]({error:_0x22dcxd[_0x6648[61]]})}})[_0x6648[17]](function(_0x22dcxe){console[_0x6648[16]](_0x22dcxe)})}else {if(_0x22dcxd[_0x6648[59]][_0x6648[58]](_0x6648[65])){FaxMessage[_0x6648[55]]({where:{uniqueid:_0x22dcxd[_0x6648[54]]}})[_0x6648[45]](function(_0x22dcx10){if(_0x22dcx10){console[_0x6648[53]](_0x6648[60],_0x6648[66],_0x22dcxd[_0x6648[61]]);_0x22dcx10[_0x6648[46]]({laststatus:_0x22dcxd[_0x6648[61]]})}})[_0x6648[17]](function(_0x22dcxe){console[_0x6648[16]](_0x22dcxe)})}}}});_0x22dcxc[_0x6648[50]](_0x6648[67],function(_0x22dcxd){if(_0x22dcxd[_0x6648[67]]===_0x6648[68]){FaxMessage[_0x6648[55]]({where:{uuid:_0x22dcxd[_0x6648[70]]}})[_0x6648[45]](function(_0x22dcx10){if(_0x22dcx10){_0x22dcxd[_0x6648[18]]=_0x6648[69];_0x22dcx10[_0x6648[46]](_0x22dcxd)}})[_0x6648[17]](function(_0x22dcxe){console[_0x6648[16]](_0x22dcxe)})}});_0x22dcxc[_0x6648[50]](_0x6648[57],function(_0x22dcxd){FaxMessage[_0x6648[55]]({where:{uniqueid:_0x22dcxd[_0x6648[54]]}})[_0x6648[45]](function(_0x22dcx10){if(_0x22dcx10){console[_0x6648[53]](_0x6648[71],_0x22dcxd[_0x6648[54]],_0x22dcxd[_0x6648[18]]);_0x22dcx10[_0x6648[46]]({operation:_0x22dcxd[_0x6648[72]],laststatus:_0x22dcxd[_0x6648[18]]})}})[_0x6648[17]](function(_0x22dcxe){console[_0x6648[16]](_0x22dcxe)})});require(_0x6648[73])[_0x6648[14]](_0x22dcxc)} \ No newline at end of file +var _0x8b9f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6E\x6F\x64\x65\x2D\x75\x75\x69\x64","\x74\x69\x66\x66\x2D\x74\x6F\x2D\x70\x6E\x67","\x65\x78\x65\x63","\x63\x68\x69\x6C\x64\x5F\x70\x72\x6F\x63\x65\x73\x73","\x66\x73","\x70\x61\x74\x68","\x46\x61\x78\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x46\x61\x78\x52\x6F\x6F\x6D","\x43\x6F\x6E\x74\x61\x63\x74","\x45\x76\x65\x6E\x74","\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x72\x65\x67\x69\x73\x74\x65\x72","\x72\x65\x63\x65\x69\x76\x65\x66\x61\x78","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x73\x74\x61\x74\x75\x73","\x52\x45\x43\x45\x49\x56\x45\x44","\x46\x61\x78\x52\x6F\x6F\x6D\x49\x64","\x69\x64","\x49\x4E\x43\x4F\x4D\x49\x4E\x47","\x46\x41\x58","\x63\x72\x65\x61\x74\x65","\x73\x65\x74\x46\x72\x6F\x6D","\x73\x70\x72\x65\x61\x64","\x72\x65\x6D\x6F\x74\x65\x73\x74\x61\x74\x69\x6F\x6E\x69\x64","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x73\x65\x74\x54\x6F","\x6C\x6F\x63\x61\x6C\x73\x74\x61\x74\x69\x6F\x6E\x69\x64","\x76\x34","\x66\x69\x6C\x65\x6E\x61\x6D\x65","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72","\x66\x69\x6C\x65\x73","\x66\x61\x78","\x69\x6E\x62\x6F\x75\x6E\x64","\x2E\x70\x64\x66","\x6A\x6F\x69\x6E","\x63\x6F\x6E\x76\x65\x72\x74\x20","\x20","\x54\x68\x65\x20\x66\x69\x6C\x65\x20","\x20\x65\x78\x69\x74\x73","\x20\x77\x61\x73\x20\x63\x6F\x6E\x76\x65\x72\x74\x65\x64\x20\x69\x6E\x20\x50\x44\x46","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x20\x64\x6F\x65\x73\x20\x6E\x6F\x74\x20\x65\x78\x69\x74\x73","\x65\x78\x69\x73\x74\x73","\x4E\x45\x57","\x6F\x6E","\x73\x65\x6E\x64\x66\x61\x78","\x2A\x2A\x2A\x53\x65\x6E\x64\x46\x41\x58\x2A\x2A\x2A","\x6C\x6F\x67","\x75\x6E\x69\x71\x75\x65\x69\x64","\x66\x69\x6E\x64\x4F\x6E\x65","\x76\x61\x72\x73\x65\x74","\x66\x61\x78\x73\x74\x61\x74\x75\x73","\x68\x61\x73\x4F\x77\x6E\x50\x72\x6F\x70\x65\x72\x74\x79","\x76\x61\x72\x69\x61\x62\x6C\x65","\x56\x61\x72\x53\x65\x74\x3A\x20","\x76\x61\x6C\x75\x65","\x46\x41\x49\x4C\x45\x44","\x53\x45\x4E\x54","\x66\x61\x78\x65\x72\x72\x6F\x72","\x66\x61\x78\x73\x74\x61\x74\x75\x73\x73\x74\x72\x69\x6E\x67","\x6C\x61\x73\x74\x73\x74\x61\x74\x75\x73","\x75\x73\x65\x72\x65\x76\x65\x6E\x74","\x46\x61\x78","\x53\x45\x4E\x44\x49\x4E\x47","\x75\x75\x69\x64","\x46\x41\x58\x53\x74\x61\x74\x75\x73\x3A\x20","\x6F\x70\x65\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x61\x70\x69\x2F\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x2F\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x2E\x61\x6D\x69"];_0x8b9f[0];var _=require(_0x8b9f[1]);var uuidLib=require(_0x8b9f[2]);var ConvertTiff=require(_0x8b9f[3]);var exec=require(_0x8b9f[5])[_0x8b9f[4]];var fs=require(_0x8b9f[6]);var path=require(_0x8b9f[7]);var FaxMessage=require(_0x8b9f[9])[_0x8b9f[8]];var FaxRoom=require(_0x8b9f[9])[_0x8b9f[10]];var Contact=require(_0x8b9f[9])[_0x8b9f[11]];var Event=require(_0x8b9f[9])[_0x8b9f[12]];var config=require(_0x8b9f[13]);exports[_0x8b9f[14]]=function(_0x9371xc){_0x9371xc[_0x8b9f[50]](_0x8b9f[15],function(_0x9371xd){FaxRoom[_0x8b9f[24]]({status:_0x8b9f[49],from:_0x9371xd[_0x8b9f[27]],FaxAccountId:1})[_0x8b9f[45]](function(_0x9371xf){_0x9371xd[_0x8b9f[18]]=_0x8b9f[19];_0x9371xd[_0x8b9f[20]]=_0x9371xf[_0x8b9f[21]];FaxMessage[_0x8b9f[24]](_0x9371xd)[_0x8b9f[45]](function(_0x9371x10){Event[_0x8b9f[24]]({name:_0x8b9f[22],channel:_0x8b9f[23],FaxRoomId:_0x9371xf[_0x8b9f[21]],FaxAccountId:1})[_0x8b9f[17]](function(_0x9371xe){console[_0x8b9f[16]](_0x9371xe)});Contact[_0x8b9f[28]]({where:{phone:_0x9371xd[_0x8b9f[27]]},defaults:{phone:_0x9371xd[_0x8b9f[27]],fullname:_0x9371xd[_0x8b9f[27]]}})[_0x8b9f[26]](function(_0x9371x11,_0x9371x12){_0x9371x10[_0x8b9f[25]](_0x9371x11)});Contact[_0x8b9f[28]]({where:{phone:_0x9371xd[_0x8b9f[30]]},defaults:{phone:_0x9371xd[_0x8b9f[30]],fullname:_0x9371xd[_0x8b9f[30]]}})[_0x8b9f[26]](function(_0x9371x11,_0x9371x12){_0x9371x10[_0x8b9f[29]](_0x9371x11)});var _0x9371x13=uuidLib[_0x8b9f[31]]();var _0x9371x14=_0x9371xd[_0x8b9f[32]];var _0x9371x15=path[_0x8b9f[39]](config[_0x8b9f[33]],_0x8b9f[34],_0x8b9f[35],_0x8b9f[36],_0x8b9f[37],_0x9371x13+_0x8b9f[38]);var _0x9371x16=_0x8b9f[40]+_0x9371x14+_0x8b9f[41]+_0x9371x15;fs[_0x8b9f[48]](_0x9371x14,function(_0x9371x17){if(_0x9371x17){console[_0x8b9f[16]](_0x8b9f[42]+_0x9371x14+_0x8b9f[43]);exec(_0x9371x16,function(_0x9371xe){if(_0x9371xe){console[_0x8b9f[16]](_0x9371xe)}else {_0x9371x10[_0x8b9f[46]]({filenamePDF:_0x9371x13+_0x8b9f[38]})[_0x8b9f[45]](function(){console[_0x8b9f[16]](_0x8b9f[42]+_0x9371x14+_0x8b9f[44])})[_0x8b9f[17]](function(_0x9371xe){console[_0x8b9f[16]](_0x9371xe)})}})}else {console[_0x8b9f[16]](_0x8b9f[42]+_0x9371x14+_0x8b9f[47])}})})[_0x8b9f[17]](function(_0x9371xe){console[_0x8b9f[16]](_0x9371xe)})})[_0x8b9f[17]](function(_0x9371xe){console[_0x8b9f[16]](_0x9371xe)})});_0x9371xc[_0x8b9f[50]](_0x8b9f[51],function(_0x9371xd){console[_0x8b9f[53]](_0x8b9f[52]);FaxMessage[_0x8b9f[55]]({where:{uniqueid:_0x9371xd[_0x8b9f[54]]}})[_0x8b9f[45]](function(_0x9371x10){if(_0x9371x10){_0x9371x10[_0x8b9f[46]](_0x9371xd)}})[_0x8b9f[17]](function(_0x9371xe){console[_0x8b9f[16]](_0x9371xe)})});_0x9371xc[_0x8b9f[50]](_0x8b9f[56],function(_0x9371xd){if(_0x9371xd[_0x8b9f[59]][_0x8b9f[58]](_0x8b9f[57])){FaxMessage[_0x8b9f[55]]({where:{uniqueid:_0x9371xd[_0x8b9f[54]]}})[_0x8b9f[45]](function(_0x9371x10){if(_0x9371x10){console[_0x8b9f[53]](_0x8b9f[60],_0x8b9f[18],_0x9371xd[_0x8b9f[61]]);_0x9371x10[_0x8b9f[46]]({status:_0x9371xd[_0x8b9f[61]]==_0x8b9f[62]?_0x8b9f[62]:_0x8b9f[63]})}})[_0x8b9f[17]](function(_0x9371xe){console[_0x8b9f[16]](_0x9371xe)})}else {if(_0x9371xd[_0x8b9f[59]][_0x8b9f[58]](_0x8b9f[64])){FaxMessage[_0x8b9f[55]]({where:{uniqueid:_0x9371xd[_0x8b9f[54]]}})[_0x8b9f[45]](function(_0x9371x10){if(_0x9371x10){console[_0x8b9f[53]](_0x8b9f[60],_0x8b9f[16],_0x9371xd[_0x8b9f[61]]);_0x9371x10[_0x8b9f[46]]({error:_0x9371xd[_0x8b9f[61]]})}})[_0x8b9f[17]](function(_0x9371xe){console[_0x8b9f[16]](_0x9371xe)})}else {if(_0x9371xd[_0x8b9f[59]][_0x8b9f[58]](_0x8b9f[65])){FaxMessage[_0x8b9f[55]]({where:{uniqueid:_0x9371xd[_0x8b9f[54]]}})[_0x8b9f[45]](function(_0x9371x10){if(_0x9371x10){console[_0x8b9f[53]](_0x8b9f[60],_0x8b9f[66],_0x9371xd[_0x8b9f[61]]);_0x9371x10[_0x8b9f[46]]({laststatus:_0x9371xd[_0x8b9f[61]]})}})[_0x8b9f[17]](function(_0x9371xe){console[_0x8b9f[16]](_0x9371xe)})}}}});_0x9371xc[_0x8b9f[50]](_0x8b9f[67],function(_0x9371xd){if(_0x9371xd[_0x8b9f[67]]===_0x8b9f[68]){FaxMessage[_0x8b9f[55]]({where:{uuid:_0x9371xd[_0x8b9f[70]]}})[_0x8b9f[45]](function(_0x9371x10){if(_0x9371x10){_0x9371xd[_0x8b9f[18]]=_0x8b9f[69];_0x9371x10[_0x8b9f[46]](_0x9371xd)}})[_0x8b9f[17]](function(_0x9371xe){console[_0x8b9f[16]](_0x9371xe)})}});_0x9371xc[_0x8b9f[50]](_0x8b9f[57],function(_0x9371xd){FaxMessage[_0x8b9f[55]]({where:{uniqueid:_0x9371xd[_0x8b9f[54]]}})[_0x8b9f[45]](function(_0x9371x10){if(_0x9371x10){console[_0x8b9f[53]](_0x8b9f[71],_0x9371xd[_0x8b9f[54]],_0x9371xd[_0x8b9f[18]]);_0x9371x10[_0x8b9f[46]]({operation:_0x9371xd[_0x8b9f[72]],laststatus:_0x9371xd[_0x8b9f[18]]})}})[_0x8b9f[17]](function(_0x9371xe){console[_0x8b9f[16]](_0x9371xe)})});require(_0x8b9f[73])[_0x8b9f[14]](_0x9371xc)} \ No newline at end of file diff --git a/server/config/history/history.js b/server/config/history/history.js index 49479da..e75e970 100644 --- a/server/config/history/history.js +++ b/server/config/history/history.js @@ -1 +1 @@ -var _0xd54e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x6D\x6F\x6D\x65\x6E\x74","\x61\x73\x79\x6E\x63","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x4D\x6F\x76\x65","\x68\x69\x73\x74\x6F\x72\x79","\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","\x65\x78\x70\x6F\x72\x74\x73","\x30\x20\x35\x39\x20\x32\x33\x20\x2A\x20\x2A\x20\x2A","\x4D\x6F\x76\x69\x6E\x67\x20\x64\x61\x74\x61\x20\x69\x6E\x74\x6F\x20\x68\x69\x73\x74\x6F\x72\x79\x2E\x2E\x2E","\x6C\x6F\x67","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x6D\x6F\x76\x65","\x74\x68\x65\x6E","\x61\x6C\x6C","\x73\x74\x61\x72\x74"];_0xd54e[0];var sequelize=require(_0xd54e[2])[_0xd54e[1]];var moment=require(_0xd54e[3]);var async=require(_0xd54e[4]);var ReportMove=require(_0xd54e[5]);var Models=require(_0xd54e[2]);var HistoryModels=require(_0xd54e[2])[_0xd54e[6]];var moment=require(_0xd54e[3]);var defaultCondition={where:{createdAt:{$lte:moment()[_0xd54e[8]](_0xd54e[7])}},raw:true};module[_0xd54e[9]]=function(_0x4e8fx8){var _0x4e8fx9= new _0x4e8fx8({cronTime:_0xd54e[10],onTick:function(){console[_0xd54e[12]](_0xd54e[11]);return Promise[_0xd54e[17]]([])[_0xd54e[16]](ReportMove[_0xd54e[15]](Models.ReportIntegration,HistoryModels.ReportIntegrationHistory))[_0xd54e[16]](ReportMove[_0xd54e[15]](Models.ReportCall,HistoryModels.ReportCallHistory))[_0xd54e[16]](ReportMove[_0xd54e[15]](Models.ReportSquareDetail,HistoryModels.ReportSquareDetailHistory))[_0xd54e[16]](ReportMove[_0xd54e[15]](Models.ReportTigerDial,HistoryModels.ReportTigerDialHistory))[_0xd54e[16]](ReportMove[_0xd54e[15]](Models.ReportCallTransfer,HistoryModels.ReportCallTransferHistory))[_0xd54e[16]](ReportMove[_0xd54e[15]](Models.ReportAgent,HistoryModels.ReportAgentHistory,{reason:{$ne:null}}))[_0xd54e[16]](ReportMove[_0xd54e[15]](Models.ReportMember,HistoryModels.ReportMemberHistory,{exitAt:{$ne:null}}))[_0xd54e[16]](ReportMove[_0xd54e[15]](Models.ReportQueue,HistoryModels.ReportQueueHistory,{queuecallerleaveAt:{$ne:null}}))[_0xd54e[16]](ReportMove[_0xd54e[15]](Models.ReportChat,HistoryModels.ReportChatHistory,{reason:{$ne:null}}))[_0xd54e[16]](ReportMove[_0xd54e[15]](Models.ReportChatSession,HistoryModels.ReportChatSessionHistory,{leaveAt:{$ne:null}}))[_0xd54e[16]](ReportMove[_0xd54e[15]](Models.ReportChatRoom,HistoryModels.ReportChatRoomHistory,{leaveAt:{$ne:null}}))[_0xd54e[16]](ReportMove[_0xd54e[15]](Models.ReportMail,HistoryModels.ReportMailHistory,{reason:{$ne:null}}))[_0xd54e[16]](ReportMove[_0xd54e[15]](Models.ReportMailSession,HistoryModels.ReportMailSessionHistory,{leaveAt:{$ne:null}}))[_0xd54e[16]](ReportMove[_0xd54e[15]](Models.ReportMailRoom,HistoryModels.ReportMailRoomHistory,{leaveAt:{$ne:null}}))[_0xd54e[16]](ReportMove[_0xd54e[15]](Models.ReportSmsSession,HistoryModels.ReportSmsSessionHistory,{leaveAt:{$ne:null}}))[_0xd54e[16]](ReportMove[_0xd54e[15]](Models.ReportSmsRoom,HistoryModels.ReportSmsRoomHistory,{leaveAt:{$ne:null}}))[_0xd54e[16]](ReportMove[_0xd54e[15]](Models.ReportSquare,HistoryModels.ReportSquareHistory,{leaveAt:{$ne:null}}))[_0xd54e[16]](ReportMove[_0xd54e[15]](Models.ReportFax,HistoryModels.ReportFaxHistory,{reason:{$ne:null}}))[_0xd54e[16]](ReportMove[_0xd54e[15]](Models.ReportFaxSession,HistoryModels.ReportFaxSessionHistory,{leaveAt:{$ne:null}}))[_0xd54e[16]](ReportMove[_0xd54e[15]](Models.ReportFaxRoom,HistoryModels.ReportFaxRoomHistory,{leaveAt:{$ne:null}}))[_0xd54e[14]](function(_0x4e8fxa){console[_0xd54e[13]](_0x4e8fxa)})}});_0x4e8fx9[_0xd54e[18]]()} \ No newline at end of file +var _0xb0ef=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x6D\x6F\x6D\x65\x6E\x74","\x61\x73\x79\x6E\x63","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x4D\x6F\x76\x65","\x68\x69\x73\x74\x6F\x72\x79","\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","\x65\x78\x70\x6F\x72\x74\x73","\x30\x20\x35\x39\x20\x32\x33\x20\x2A\x20\x2A\x20\x2A","\x4D\x6F\x76\x69\x6E\x67\x20\x64\x61\x74\x61\x20\x69\x6E\x74\x6F\x20\x68\x69\x73\x74\x6F\x72\x79\x2E\x2E\x2E","\x6C\x6F\x67","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x6D\x6F\x76\x65","\x74\x68\x65\x6E","\x61\x6C\x6C","\x73\x74\x61\x72\x74"];_0xb0ef[0];var sequelize=require(_0xb0ef[2])[_0xb0ef[1]];var moment=require(_0xb0ef[3]);var async=require(_0xb0ef[4]);var ReportMove=require(_0xb0ef[5]);var Models=require(_0xb0ef[2]);var HistoryModels=require(_0xb0ef[2])[_0xb0ef[6]];var moment=require(_0xb0ef[3]);var defaultCondition={where:{createdAt:{$lte:moment()[_0xb0ef[8]](_0xb0ef[7])}},raw:true};module[_0xb0ef[9]]=function(_0xa30bx8){var _0xa30bx9= new _0xa30bx8({cronTime:_0xb0ef[10],onTick:function(){console[_0xb0ef[12]](_0xb0ef[11]);return Promise[_0xb0ef[17]]([])[_0xb0ef[16]](ReportMove[_0xb0ef[15]](Models.ReportIntegration,HistoryModels.ReportIntegrationHistory))[_0xb0ef[16]](ReportMove[_0xb0ef[15]](Models.ReportCall,HistoryModels.ReportCallHistory))[_0xb0ef[16]](ReportMove[_0xb0ef[15]](Models.ReportSquareDetail,HistoryModels.ReportSquareDetailHistory))[_0xb0ef[16]](ReportMove[_0xb0ef[15]](Models.ReportTigerDial,HistoryModels.ReportTigerDialHistory))[_0xb0ef[16]](ReportMove[_0xb0ef[15]](Models.ReportCallTransfer,HistoryModels.ReportCallTransferHistory))[_0xb0ef[16]](ReportMove[_0xb0ef[15]](Models.ReportAgent,HistoryModels.ReportAgentHistory,{reason:{$ne:null}}))[_0xb0ef[16]](ReportMove[_0xb0ef[15]](Models.ReportMember,HistoryModels.ReportMemberHistory,{exitAt:{$ne:null}}))[_0xb0ef[16]](ReportMove[_0xb0ef[15]](Models.ReportQueue,HistoryModels.ReportQueueHistory,{queuecallerleaveAt:{$ne:null}}))[_0xb0ef[16]](ReportMove[_0xb0ef[15]](Models.ReportChat,HistoryModels.ReportChatHistory,{reason:{$ne:null}}))[_0xb0ef[16]](ReportMove[_0xb0ef[15]](Models.ReportChatSession,HistoryModels.ReportChatSessionHistory,{leaveAt:{$ne:null}}))[_0xb0ef[16]](ReportMove[_0xb0ef[15]](Models.ReportChatRoom,HistoryModels.ReportChatRoomHistory,{leaveAt:{$ne:null}}))[_0xb0ef[16]](ReportMove[_0xb0ef[15]](Models.ReportMail,HistoryModels.ReportMailHistory,{reason:{$ne:null}}))[_0xb0ef[16]](ReportMove[_0xb0ef[15]](Models.ReportMailSession,HistoryModels.ReportMailSessionHistory,{leaveAt:{$ne:null}}))[_0xb0ef[16]](ReportMove[_0xb0ef[15]](Models.ReportMailRoom,HistoryModels.ReportMailRoomHistory,{leaveAt:{$ne:null}}))[_0xb0ef[16]](ReportMove[_0xb0ef[15]](Models.ReportSmsSession,HistoryModels.ReportSmsSessionHistory,{leaveAt:{$ne:null}}))[_0xb0ef[16]](ReportMove[_0xb0ef[15]](Models.ReportSmsRoom,HistoryModels.ReportSmsRoomHistory,{leaveAt:{$ne:null}}))[_0xb0ef[16]](ReportMove[_0xb0ef[15]](Models.ReportSquare,HistoryModels.ReportSquareHistory,{leaveAt:{$ne:null}}))[_0xb0ef[16]](ReportMove[_0xb0ef[15]](Models.ReportFax,HistoryModels.ReportFaxHistory,{reason:{$ne:null}}))[_0xb0ef[16]](ReportMove[_0xb0ef[15]](Models.ReportFaxSession,HistoryModels.ReportFaxSessionHistory,{leaveAt:{$ne:null}}))[_0xb0ef[16]](ReportMove[_0xb0ef[15]](Models.ReportFaxRoom,HistoryModels.ReportFaxRoomHistory,{leaveAt:{$ne:null}}))[_0xb0ef[14]](function(_0xa30bxa){console[_0xb0ef[13]](_0xa30bxa)})}});_0xa30bx9[_0xb0ef[18]]()} \ No newline at end of file diff --git a/server/config/history/reportMove.js b/server/config/history/reportMove.js index db8b340..676fc31 100644 --- a/server/config/history/reportMove.js +++ b/server/config/history/reportMove.js @@ -1 +1 @@ -var _0x4209=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x6F\x6D\x65\x6E\x74","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x75\x74\x69\x6C","\x6D\x6F\x76\x65","\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","\x4D\x6F\x76\x69\x6E\x67\x20\x25\x73\x20\x65\x72\x72\x6F\x72\x3A\x20\x25\x73\x2E","\x74\x61\x62\x6C\x65\x4E\x61\x6D\x65","\x3B\x20","\x6A\x6F\x69\x6E","\x65\x72\x72\x6F\x72\x73","\x6D\x65\x73\x73\x61\x67\x65","\x6D\x61\x70","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x4D\x6F\x76\x69\x6E\x67\x20\x25\x73\x20\x2D\x20\x44\x4F\x4E\x45","\x6C\x6F\x67","\x74\x68\x65\x6E","\x69\x64","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x6D\x65\x72\x67\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E"];_0x4209[0];var _=require(_0x4209[1]);var moment=require(_0x4209[2]);var sequelize=require(_0x4209[4])[_0x4209[3]];var util=require(_0x4209[5]);exports[_0x4209[6]]=function(_0xc53cx5,_0xc53cx6,_0xc53cx7){var _0xc53cx8;var _0xc53cx9={createdAt:{$lte:moment()[_0x4209[8]](_0x4209[7])}};return function(){return sequelize[_0x4209[26]](function(_0xc53cxb){return _0xc53cx5[_0x4209[25]]({where:_0xc53cx7?_[_0x4209[24]](_0xc53cx9,_0xc53cx7):_0xc53cx9,raw:true})[_0x4209[20]](function(_0xc53cxc){_0xc53cx8=_0xc53cxc;return _0xc53cx6[_0x4209[23]](_0xc53cxc,{individualHooks:true,transaction:_0xc53cxb})})[_0x4209[20]](function(){return _0xc53cx5[_0x4209[22]]({where:{id:_[_0x4209[15]](_0xc53cx8,_0x4209[21])}},{individualHooks:true,transaction:_0xc53cxb})})})[_0x4209[20]](function(){console[_0x4209[19]](util[_0x4209[8]](_0x4209[18],_0xc53cx5[_0x4209[10]]))})[_0x4209[17]](function(_0xc53cxa){console[_0x4209[16]](util[_0x4209[8]](_0x4209[9],_0xc53cx5[_0x4209[10]],_[_0x4209[15]](_0xc53cxa[_0x4209[13]],_0x4209[14])[_0x4209[12]](_0x4209[11])))})}} \ No newline at end of file +var _0x31ec=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x6F\x6D\x65\x6E\x74","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x75\x74\x69\x6C","\x6D\x6F\x76\x65","\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","\x4D\x6F\x76\x69\x6E\x67\x20\x25\x73\x20\x65\x72\x72\x6F\x72\x3A\x20\x25\x73\x2E","\x74\x61\x62\x6C\x65\x4E\x61\x6D\x65","\x3B\x20","\x6A\x6F\x69\x6E","\x65\x72\x72\x6F\x72\x73","\x6D\x65\x73\x73\x61\x67\x65","\x6D\x61\x70","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x4D\x6F\x76\x69\x6E\x67\x20\x25\x73\x20\x2D\x20\x44\x4F\x4E\x45","\x6C\x6F\x67","\x74\x68\x65\x6E","\x69\x64","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x6D\x65\x72\x67\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E"];_0x31ec[0];var _=require(_0x31ec[1]);var moment=require(_0x31ec[2]);var sequelize=require(_0x31ec[4])[_0x31ec[3]];var util=require(_0x31ec[5]);exports[_0x31ec[6]]=function(_0x4a0dx5,_0x4a0dx6,_0x4a0dx7){var _0x4a0dx8;var _0x4a0dx9={createdAt:{$lte:moment()[_0x31ec[8]](_0x31ec[7])}};return function(){return sequelize[_0x31ec[26]](function(_0x4a0dxb){return _0x4a0dx5[_0x31ec[25]]({where:_0x4a0dx7?_[_0x31ec[24]](_0x4a0dx9,_0x4a0dx7):_0x4a0dx9,raw:true})[_0x31ec[20]](function(_0x4a0dxc){_0x4a0dx8=_0x4a0dxc;return _0x4a0dx6[_0x31ec[23]](_0x4a0dxc,{individualHooks:true,transaction:_0x4a0dxb})})[_0x31ec[20]](function(){return _0x4a0dx5[_0x31ec[22]]({where:{id:_[_0x31ec[15]](_0x4a0dx8,_0x31ec[21])}},{individualHooks:true,transaction:_0x4a0dxb})})})[_0x31ec[20]](function(){console[_0x31ec[19]](util[_0x31ec[8]](_0x31ec[18],_0x4a0dx5[_0x31ec[10]]))})[_0x31ec[17]](function(_0x4a0dxa){console[_0x31ec[16]](util[_0x31ec[8]](_0x31ec[9],_0x4a0dx5[_0x31ec[10]],_[_0x31ec[15]](_0x4a0dxa[_0x31ec[13]],_0x31ec[14])[_0x31ec[12]](_0x31ec[11])))})}} \ No newline at end of file diff --git a/server/config/imap/imap.js b/server/config/imap/imap.js index 30b0d9e..237cd01 100644 --- a/server/config/imap/imap.js +++ b/server/config/imap/imap.js @@ -1 +1 @@ -var _0xd096=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x75\x74\x69\x6C","\x70\x61\x74\x68","\x6C\x6F\x64\x61\x73\x68","\x62\x6C\x75\x65\x62\x69\x72\x64","\x6D\x61\x69\x6C\x2D\x6C\x69\x73\x74\x65\x6E\x65\x72\x32","\x77\x72\x69\x74\x65\x46\x69\x6C\x65","\x66\x73","\x70\x72\x6F\x6D\x69\x73\x69\x66\x79","\x2E\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x49\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74","\x4D\x61\x69\x6C\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x65\x72\x72\x6F\x72","\x6F\x6E","\x63\x6C\x6F\x73\x65","\x49\x4D\x41\x50\x20\x53\x45\x52\x56\x45\x52\x20\x25\x73\x20\x45\x58\x49\x54\x45\x44\x20\x57\x49\x54\x48\x20\x43\x4F\x44\x45\x20\x25\x73\x2C\x20\x50\x52\x4F\x43\x45\x53\x53\x20\x49\x44\x3A\x20\x25\x73\x20","\x61\x72\x67\x76","\x70\x69\x64","\x66\x6F\x72\x6D\x61\x74","\x6C\x6F\x67","\x49\x4D\x41\x50\x20\x53\x45\x52\x56\x45\x52\x20\x25\x73\x20\x53\x54\x41\x52\x54\x49\x4E\x47\x2C\x20\x50\x52\x4F\x43\x45\x53\x53\x20\x49\x44\x3A\x20\x25\x73\x20","\x73\x74\x61\x74\x65","\x43\x4F\x4E\x4E\x45\x43\x54\x49\x4E\x47","\x73\x65\x6E\x64","\x6D\x61\x69\x6C","\x49\x4D\x41\x50\x20\x53\x45\x52\x56\x45\x52\x20\x25\x73\x20\x4E\x45\x57\x20\x4D\x53\x47\x20\x46\x52\x4F\x4D\x20\x25\x73\x20","\x3B","\x6A\x6F\x69\x6E","\x66\x72\x6F\x6D","\x61\x64\x64\x72\x65\x73\x73","\x6D\x61\x70","\x74\x79\x70\x65","\x6D\x73\x67","\x6D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x49\x6E\x49\x64","\x6D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x49\x4D\x41\x50\x20\x53\x45\x52\x56\x45\x52\x20\x25\x73\x20\x45\x52\x52\x52\x4F\x52\x2C\x20\x50\x52\x4F\x43\x45\x53\x53\x20\x49\x44\x3A\x20\x25\x73\x20","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x45\x52\x52\x4F\x52","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x73\x65\x72\x76\x65\x72\x3A\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64","\x49\x4D\x41\x50\x20\x53\x45\x52\x56\x45\x52\x20\x25\x73\x20\x44\x49\x53\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44\x2C\x20\x50\x52\x4F\x43\x45\x53\x53\x20\x49\x44\x3A\x20\x25\x73\x20","\x73\x74\x6F\x70","\x44\x49\x53\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44","\x73\x65\x72\x76\x65\x72\x3A\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64","\x49\x4D\x41\x50\x20\x53\x45\x52\x56\x45\x52\x20\x25\x73\x20\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44\x2C\x20\x50\x52\x4F\x43\x45\x53\x53\x20\x49\x44\x3A\x20\x25\x73\x20","\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44","\x70\x61\x73\x73\x77\x6F\x72\x64","\x68\x6F\x73\x74","\x70\x6F\x72\x74","\x73\x73\x6C","\x6D\x61\x69\x6C\x62\x6F\x78","\x66\x69\x6C\x74\x65\x72","\x63\x6F\x6E\x6E\x54\x69\x6D\x65\x6F\x75\x74","\x61\x75\x74\x68\x54\x69\x6D\x65\x6F\x75\x74","\x6B\x65\x65\x70\x61\x6C\x69\x76\x65","\x69\x64","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x73\x74\x61\x72\x74","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x42\x79\x49\x64"];_0xd096[0];var util=require(_0xd096[1]);var path=require(_0xd096[2]);var _=require(_0xd096[3]);var Promise=require(_0xd096[4]);var ImapListener=require(_0xd096[5]);var writeFile=Promise[_0xd096[8]](require(_0xd096[7])[_0xd096[6]]);var config=require(_0xd096[9]);var Server=require(_0xd096[11])[_0xd096[10]];var Room=require(_0xd096[11])[_0xd096[12]];var Message=require(_0xd096[11])[_0xd096[13]];var Account=require(_0xd096[11])[_0xd096[14]];var Attachment=require(_0xd096[11])[_0xd096[15]];var imap;var timeout;process[_0xd096[17]](_0xd096[18],function(_0x5b13x10){console[_0xd096[23]](util[_0xd096[22]](_0xd096[19],process[_0xd096[20]][3],_0x5b13x10,process[_0xd096[21]]))})[_0xd096[17]](_0xd096[16],function(_0x5b13xf){console[_0xd096[16]](_0x5b13xf)});console[_0xd096[23]](util[_0xd096[22]](_0xd096[24],process[_0xd096[20]][3],process[_0xd096[21]]));process[_0xd096[27]]({type:_0xd096[25],state:_0xd096[26]});function onSave(_0x5b13x12){imap= new ImapListener({username:_0x5b13x12[_0xd096[40]],password:_0x5b13x12[_0xd096[50]],host:_0x5b13x12[_0xd096[51]],port:_0x5b13x12[_0xd096[52]],tls:_0x5b13x12[_0xd096[53]],tlsOptions:{rejectUnauthorized:false},mailbox:_0x5b13x12[_0xd096[54]],searchFilter:[_0x5b13x12[_0xd096[55]]],markSeen:true,fetchUnreadOnStart:true,connTimeout:_0x5b13x12[_0xd096[56]],authTimeout:_0x5b13x12[_0xd096[57]],keepalive:_0x5b13x12[_0xd096[58]]})[_0xd096[17]](_0xd096[47],function(){console[_0xd096[23]](util[_0xd096[22]](_0xd096[48],_0x5b13x12[_0xd096[40]],process[_0xd096[21]]));process[_0xd096[27]]({type:_0xd096[25],state:_0xd096[49]})})[_0xd096[17]](_0xd096[43],function(){console[_0xd096[23]](util[_0xd096[22]](_0xd096[44],_0x5b13x12[_0xd096[40]],process[_0xd096[21]]));imap[_0xd096[45]]();imap=null;process[_0xd096[27]]({type:_0xd096[25],state:_0xd096[46]})})[_0xd096[17]](_0xd096[16],function(_0x5b13xf){console[_0xd096[23]](util[_0xd096[22]](_0xd096[39],_0x5b13x12[_0xd096[40]],process[_0xd096[21]]));process[_0xd096[27]]({type:_0xd096[25],state:_0xd096[41],source:JSON[_0xd096[42]](_0x5b13xf)})})[_0xd096[17]](_0xd096[28],function(_0x5b13x13,_0x5b13x14,_0x5b13x15){console[_0xd096[23]](util[_0xd096[22]](_0xd096[29],process[_0xd096[20]][3],_[_0xd096[34]](_0x5b13x13[_0xd096[32]],_0xd096[33])[_0xd096[31]](_0xd096[30])));_0x5b13x13[_0xd096[35]]=_0xd096[36];_0x5b13x13[_0xd096[37]]=imap[_0xd096[37]];_0x5b13x13[_0xd096[38]]=imap[_0xd096[38]];process[_0xd096[27]](_0x5b13x13)});imap[_0xd096[37]]=_0x5b13x12[_0xd096[59]];imap[_0xd096[38]]=_0x5b13x12[_0xd096[60]];imap[_0xd096[61]]()}Server[_0xd096[64]](process[_0xd096[20]][2])[_0xd096[63]](function(_0x5b13x12){onSave(_0x5b13x12)})[_0xd096[62]](function(_0x5b13xf){console[_0xd096[16]](_0x5b13xf)}) \ No newline at end of file +var _0x83c2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x75\x74\x69\x6C","\x70\x61\x74\x68","\x6C\x6F\x64\x61\x73\x68","\x62\x6C\x75\x65\x62\x69\x72\x64","\x6D\x61\x69\x6C\x2D\x6C\x69\x73\x74\x65\x6E\x65\x72\x32","\x77\x72\x69\x74\x65\x46\x69\x6C\x65","\x66\x73","\x70\x72\x6F\x6D\x69\x73\x69\x66\x79","\x2E\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x49\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74","\x4D\x61\x69\x6C\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x65\x72\x72\x6F\x72","\x6F\x6E","\x63\x6C\x6F\x73\x65","\x49\x4D\x41\x50\x20\x53\x45\x52\x56\x45\x52\x20\x25\x73\x20\x45\x58\x49\x54\x45\x44\x20\x57\x49\x54\x48\x20\x43\x4F\x44\x45\x20\x25\x73\x2C\x20\x50\x52\x4F\x43\x45\x53\x53\x20\x49\x44\x3A\x20\x25\x73\x20","\x61\x72\x67\x76","\x70\x69\x64","\x66\x6F\x72\x6D\x61\x74","\x6C\x6F\x67","\x49\x4D\x41\x50\x20\x53\x45\x52\x56\x45\x52\x20\x25\x73\x20\x53\x54\x41\x52\x54\x49\x4E\x47\x2C\x20\x50\x52\x4F\x43\x45\x53\x53\x20\x49\x44\x3A\x20\x25\x73\x20","\x73\x74\x61\x74\x65","\x43\x4F\x4E\x4E\x45\x43\x54\x49\x4E\x47","\x73\x65\x6E\x64","\x6D\x61\x69\x6C","\x49\x4D\x41\x50\x20\x53\x45\x52\x56\x45\x52\x20\x25\x73\x20\x4E\x45\x57\x20\x4D\x53\x47\x20\x46\x52\x4F\x4D\x20\x25\x73\x20","\x3B","\x6A\x6F\x69\x6E","\x66\x72\x6F\x6D","\x61\x64\x64\x72\x65\x73\x73","\x6D\x61\x70","\x74\x79\x70\x65","\x6D\x73\x67","\x6D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x49\x6E\x49\x64","\x6D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x49\x4D\x41\x50\x20\x53\x45\x52\x56\x45\x52\x20\x25\x73\x20\x45\x52\x52\x52\x4F\x52\x2C\x20\x50\x52\x4F\x43\x45\x53\x53\x20\x49\x44\x3A\x20\x25\x73\x20","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x45\x52\x52\x4F\x52","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x73\x65\x72\x76\x65\x72\x3A\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64","\x49\x4D\x41\x50\x20\x53\x45\x52\x56\x45\x52\x20\x25\x73\x20\x44\x49\x53\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44\x2C\x20\x50\x52\x4F\x43\x45\x53\x53\x20\x49\x44\x3A\x20\x25\x73\x20","\x73\x74\x6F\x70","\x44\x49\x53\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44","\x73\x65\x72\x76\x65\x72\x3A\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64","\x49\x4D\x41\x50\x20\x53\x45\x52\x56\x45\x52\x20\x25\x73\x20\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44\x2C\x20\x50\x52\x4F\x43\x45\x53\x53\x20\x49\x44\x3A\x20\x25\x73\x20","\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44","\x70\x61\x73\x73\x77\x6F\x72\x64","\x68\x6F\x73\x74","\x70\x6F\x72\x74","\x73\x73\x6C","\x6D\x61\x69\x6C\x62\x6F\x78","\x66\x69\x6C\x74\x65\x72","\x63\x6F\x6E\x6E\x54\x69\x6D\x65\x6F\x75\x74","\x61\x75\x74\x68\x54\x69\x6D\x65\x6F\x75\x74","\x6B\x65\x65\x70\x61\x6C\x69\x76\x65","\x69\x64","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x73\x74\x61\x72\x74","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x42\x79\x49\x64"];_0x83c2[0];var util=require(_0x83c2[1]);var path=require(_0x83c2[2]);var _=require(_0x83c2[3]);var Promise=require(_0x83c2[4]);var ImapListener=require(_0x83c2[5]);var writeFile=Promise[_0x83c2[8]](require(_0x83c2[7])[_0x83c2[6]]);var config=require(_0x83c2[9]);var Server=require(_0x83c2[11])[_0x83c2[10]];var Room=require(_0x83c2[11])[_0x83c2[12]];var Message=require(_0x83c2[11])[_0x83c2[13]];var Account=require(_0x83c2[11])[_0x83c2[14]];var Attachment=require(_0x83c2[11])[_0x83c2[15]];var imap;var timeout;process[_0x83c2[17]](_0x83c2[18],function(_0x8122x10){console[_0x83c2[23]](util[_0x83c2[22]](_0x83c2[19],process[_0x83c2[20]][3],_0x8122x10,process[_0x83c2[21]]))})[_0x83c2[17]](_0x83c2[16],function(_0x8122xf){console[_0x83c2[16]](_0x8122xf)});console[_0x83c2[23]](util[_0x83c2[22]](_0x83c2[24],process[_0x83c2[20]][3],process[_0x83c2[21]]));process[_0x83c2[27]]({type:_0x83c2[25],state:_0x83c2[26]});function onSave(_0x8122x12){imap= new ImapListener({username:_0x8122x12[_0x83c2[40]],password:_0x8122x12[_0x83c2[50]],host:_0x8122x12[_0x83c2[51]],port:_0x8122x12[_0x83c2[52]],tls:_0x8122x12[_0x83c2[53]],tlsOptions:{rejectUnauthorized:false},mailbox:_0x8122x12[_0x83c2[54]],searchFilter:[_0x8122x12[_0x83c2[55]]],markSeen:true,fetchUnreadOnStart:true,connTimeout:_0x8122x12[_0x83c2[56]],authTimeout:_0x8122x12[_0x83c2[57]],keepalive:_0x8122x12[_0x83c2[58]]})[_0x83c2[17]](_0x83c2[47],function(){console[_0x83c2[23]](util[_0x83c2[22]](_0x83c2[48],_0x8122x12[_0x83c2[40]],process[_0x83c2[21]]));process[_0x83c2[27]]({type:_0x83c2[25],state:_0x83c2[49]})})[_0x83c2[17]](_0x83c2[43],function(){console[_0x83c2[23]](util[_0x83c2[22]](_0x83c2[44],_0x8122x12[_0x83c2[40]],process[_0x83c2[21]]));imap[_0x83c2[45]]();imap=null;process[_0x83c2[27]]({type:_0x83c2[25],state:_0x83c2[46]})})[_0x83c2[17]](_0x83c2[16],function(_0x8122xf){console[_0x83c2[23]](util[_0x83c2[22]](_0x83c2[39],_0x8122x12[_0x83c2[40]],process[_0x83c2[21]]));process[_0x83c2[27]]({type:_0x83c2[25],state:_0x83c2[41],source:JSON[_0x83c2[42]](_0x8122xf)})})[_0x83c2[17]](_0x83c2[28],function(_0x8122x13,_0x8122x14,_0x8122x15){console[_0x83c2[23]](util[_0x83c2[22]](_0x83c2[29],process[_0x83c2[20]][3],_[_0x83c2[34]](_0x8122x13[_0x83c2[32]],_0x83c2[33])[_0x83c2[31]](_0x83c2[30])));_0x8122x13[_0x83c2[35]]=_0x83c2[36];_0x8122x13[_0x83c2[37]]=imap[_0x83c2[37]];_0x8122x13[_0x83c2[38]]=imap[_0x83c2[38]];process[_0x83c2[27]](_0x8122x13)});imap[_0x83c2[37]]=_0x8122x12[_0x83c2[59]];imap[_0x83c2[38]]=_0x8122x12[_0x83c2[60]];imap[_0x83c2[61]]()}Server[_0x83c2[64]](process[_0x83c2[20]][2])[_0x83c2[63]](function(_0x8122x12){onSave(_0x8122x12)})[_0x83c2[62]](function(_0x8122xf){console[_0x83c2[16]](_0x8122xf)}) \ No newline at end of file diff --git a/server/config/imap/index.js b/server/config/imap/index.js index 2a2ce3f..a50a3b2 100644 --- a/server/config/imap/index.js +++ b/server/config/imap/index.js @@ -1 +1 @@ -var _0x2fec=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x70\x61\x74\x68","\x63\x68\x69\x6C\x64\x5F\x70\x72\x6F\x63\x65\x73\x73","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x49\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x4D\x61\x69\x6C\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x43\x6F\x6E\x74\x61\x63\x74","\x62\x6C\x75\x65\x62\x69\x72\x64","\x6D\x6F\x6D\x65\x6E\x74","\x77\x72\x69\x74\x65\x46\x69\x6C\x65","\x66\x73","\x70\x72\x6F\x6D\x69\x73\x69\x66\x79","\x2E\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x69\x6E\x52\x65\x70\x6C\x79\x54\x6F","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x2E\x2E\x2F\x72\x6F\x75\x74\x69\x6E\x67\x2F\x6D\x61\x69\x6C","\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x73","\x6C\x65\x6E\x67\x74\x68","\x64\x6F\x77\x6E\x6C\x6F\x61\x64\x5F","\x72\x61\x6E\x64\x6F\x6D","\x63\x6F\x6E\x74\x65\x6E\x74","\x74\x68\x65\x6E","\x66\x69\x6C\x65\x4E\x61\x6D\x65","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72","\x66\x69\x6C\x65\x73","\x2F","\x6A\x6F\x69\x6E","\x63\x6F\x6E\x74\x65\x6E\x74\x54\x79\x70\x65","\x69\x64","\x63\x72\x65\x61\x74\x65","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x61\x6C\x6C","\x6D\x65\x73\x73\x61\x67\x65\x49\x64","\x52\x45\x43\x45\x49\x56\x45\x44","\x73\x75\x62\x6A\x65\x63\x74","\x66\x72\x6F\x6D","\x61\x64\x64\x72\x65\x73\x73","\x6D\x61\x70","\x74\x6F","\x63\x63","\x62\x63\x63","\x74\x65\x78\x74","\x6D\x61\x69\x6C\x49\x6E","\x75\x70\x64\x61\x74\x65","\x73\x74\x61\x74\x75\x73","\x43\x4C\x4F\x53\x45\x44","\x3B","\x6E\x61\x6D\x65","\x73\x70\x72\x65\x61\x64","\x4C\x69\x73\x74\x49\x64","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x6D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x67\x65\x74\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x66\x69\x6E\x64\x4F\x6E\x65","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65\x73","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44","\x66\x6F\x72\x6D\x61\x74","\x73\x74\x61\x74\x65","\x73\x6F\x75\x72\x63\x65","\x6F\x6E","\x63\x6C\x6F\x73\x65","\x49\x4D\x41\x50\x20\x53\x45\x52\x56\x45\x52\x20\x25\x73\x20\x45\x58\x49\x54\x45\x44\x20\x57\x49\x54\x48\x20\x43\x4F\x44\x45\x20\x25\x73","\x6C\x6F\x67","\x6D\x65\x73\x73\x61\x67\x65","\x6D\x73\x67","\x74\x79\x70\x65","\x2F\x69\x6D\x61\x70","\x66\x6F\x72\x6B","\x65\x78\x70\x6F\x72\x74\x73","\x65\x78\x69\x74","\x6B\x69\x6C\x6C","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x63\x68\x61\x6E\x67\x65\x64","\x49\x4D\x41\x50\x20\x53\x45\x52\x56\x45\x52\x20\x25\x73\x20\x55\x50\x44\x41\x54\x45\x44\x2C\x20\x50\x52\x4F\x43\x45\x53\x53\x20\x49\x44\x3A\x20\x25\x73\x20","\x70\x69\x64","\x44\x49\x53\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x49\x4D\x41\x50\x20\x53\x45\x52\x56\x45\x52\x20\x25\x73\x20\x44\x45\x53\x54\x52\x4F\x59\x45\x44\x2C\x20\x50\x52\x4F\x43\x45\x53\x53\x20\x49\x44\x3A\x20\x25\x73\x20","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x69\x6E\x64\x41\x6C\x6C"];_0x2fec[0];const _=require(_0x2fec[1]);const util=require(_0x2fec[2]);const path=require(_0x2fec[3]);const cp=require(_0x2fec[4]);const ms=require(_0x2fec[6])[_0x2fec[5]];const msg=require(_0x2fec[6])[_0x2fec[7]];const Attachment=require(_0x2fec[6])[_0x2fec[8]];const Message=require(_0x2fec[6])[_0x2fec[7]];const Account=require(_0x2fec[6])[_0x2fec[9]];const Room=require(_0x2fec[6])[_0x2fec[10]];const Contact=require(_0x2fec[6])[_0x2fec[11]];const Promise=require(_0x2fec[12]);const moment=require(_0x2fec[13]);const writeFile=Promise[_0x2fec[16]](require(_0x2fec[15])[_0x2fec[14]]);const config=require(_0x2fec[17]);function handleMessage(msg){var _0x3fc1x11;var _0x3fc1x12;var _0x3fc1x13;var _0x3fc1x14;var _0x3fc1x15,_0x3fc1x16,_0x3fc1x17,_0x3fc1x18;if(msg[_0x2fec[18]]){return Message[_0x2fec[62]]({where:{messageId:msg[_0x2fec[18]][0]}})[_0x2fec[27]](function(_0x3fc1x21){if(_0x3fc1x21){return _0x3fc1x21[_0x2fec[61]]()[_0x2fec[27]](function(_0x3fc1x20){if(_0x3fc1x20[_0x2fec[52]]!==_0x2fec[53]){return _0x3fc1x20}else {return Account[_0x2fec[60]](msg[_0x2fec[59]])[_0x2fec[27]](function(_0x3fc1x22){_0x3fc1x13=_0x3fc1x22;return Contact[_0x2fec[58]]({where:{email:msg[_0x2fec[43]][0][_0x2fec[44]]},defaults:{email:msg[_0x2fec[43]][0][_0x2fec[44]],firstName:msg[_0x2fec[43]][0][_0x2fec[55]]||null,ListId:_0x3fc1x13[_0x2fec[57]]||null}})[_0x2fec[56]](function(_0x3fc1x23){_0x3fc1x14=_0x3fc1x23;return Room[_0x2fec[36]]({subject:msg[_0x2fec[42]],from:_[_0x2fec[45]](msg[_0x2fec[43]],_0x2fec[44])[_0x2fec[33]](_0x2fec[54]),account:_0x3fc1x13[_0x2fec[55]],MailAccountId:_0x3fc1x13[_0x2fec[35]]})})})}})}else {return Account[_0x2fec[60]](msg[_0x2fec[59]])[_0x2fec[27]](function(_0x3fc1x22){_0x3fc1x13=_0x3fc1x22;return Contact[_0x2fec[58]]({where:{email:msg[_0x2fec[43]][0][_0x2fec[44]]},defaults:{email:msg[_0x2fec[43]][0][_0x2fec[44]],firstName:msg[_0x2fec[43]][0][_0x2fec[55]]||null,ListId:_0x3fc1x13[_0x2fec[57]]||null}})[_0x2fec[56]](function(_0x3fc1x23){_0x3fc1x14=_0x3fc1x23;return Room[_0x2fec[36]]({subject:msg[_0x2fec[42]],from:_[_0x2fec[45]](msg[_0x2fec[43]],_0x2fec[44])[_0x2fec[33]](_0x2fec[54]),account:_0x3fc1x13[_0x2fec[55]],MailAccountId:_0x3fc1x13[_0x2fec[35]]})})})}})[_0x2fec[27]](function(_0x3fc1x20){_0x3fc1x11=_0x3fc1x20;return _0x3fc1x11[_0x2fec[51]]({lastEvent:_0x2fec[41],mailIn:++_0x3fc1x11[_0x2fec[50]]})})[_0x2fec[27]](function(_0x3fc1x20){return Message[_0x2fec[36]]({fromId:_0x3fc1x14?_0x3fc1x14[_0x2fec[35]]:null,messageId:msg[_0x2fec[40]],status:_0x2fec[41],subject:msg[_0x2fec[42]],from:_[_0x2fec[45]](msg[_0x2fec[43]],_0x2fec[44]),to:msg[_0x2fec[46]]?_[_0x2fec[45]](msg[_0x2fec[46]],_0x2fec[44]):[],cc:msg[_0x2fec[47]]?_[_0x2fec[45]](msg[_0x2fec[47]],_0x2fec[44]):[],bcc:msg[_0x2fec[48]]?_[_0x2fec[45]](msg[_0x2fec[48]],_0x2fec[44]):[],text:msg[_0x2fec[49]]||null,MailRoomId:_0x3fc1x11[_0x2fec[35]]})})[_0x2fec[27]](function(_0x3fc1x1a){require(_0x2fec[21])(_0x3fc1x1a);var _0x3fc1x1b=[];var _0x3fc1x1c=_0x3fc1x1a;if(msg[_0x2fec[22]]&&msg[_0x2fec[22]][_0x2fec[23]]){msg[_0x2fec[22]][_0x2fec[38]](function(_0x3fc1x1d){var _0x3fc1x1e=_0x2fec[24]+Math[_0x2fec[25]](32);_0x3fc1x1b[_0x2fec[37]](Attachment[_0x2fec[36]]({name:_0x3fc1x1d[_0x2fec[28]],basename:_0x3fc1x1e,path:path[_0x2fec[33]](config[_0x2fec[29]],_0x2fec[30],_0x2fec[31],_0x2fec[22],_0x2fec[32],_0x3fc1x1e),type:_0x3fc1x1d[_0x2fec[34]],size:_0x3fc1x1d[_0x2fec[23]],MailMessageId:_0x3fc1x1c[_0x2fec[35]]})[_0x2fec[27]](function(_0x3fc1x1f){return writeFile(_0x3fc1x1f[_0x2fec[3]],_0x3fc1x1d[_0x2fec[26]])}))})};return Promise[_0x2fec[39]](_0x3fc1x1b)})[_0x2fec[20]](function(_0x3fc1x19){console[_0x2fec[19]](_0x3fc1x19)})}else {return Account[_0x2fec[60]](msg[_0x2fec[59]])[_0x2fec[27]](function(_0x3fc1x22){_0x3fc1x13=_0x3fc1x22;if(_0x3fc1x13[_0x2fec[57]]){return Contact[_0x2fec[58]]({where:{email:msg[_0x2fec[43]][0][_0x2fec[44]]},defaults:{email:msg[_0x2fec[43]][0][_0x2fec[44]],firstName:msg[_0x2fec[43]][0][_0x2fec[55]]||null,ListId:_0x3fc1x13[_0x2fec[57]]}})}else {return []}})[_0x2fec[56]](function(_0x3fc1x23){_0x3fc1x14=_0x3fc1x23;return Room[_0x2fec[36]]({mailIn:1,account:_0x3fc1x13[_0x2fec[55]],subject:msg[_0x2fec[42]],from:_[_0x2fec[45]](msg[_0x2fec[43]],_0x2fec[44])[_0x2fec[33]](_0x2fec[54]),lastEvent:_0x2fec[41],lastEventAt:moment()[_0x2fec[65]](_0x2fec[64]),attachment:(msg[_0x2fec[22]]&&msg[_0x2fec[22]][_0x2fec[23]])?true:false,MailMessages:[{messageId:msg[_0x2fec[40]],subject:msg[_0x2fec[42]],from:_[_0x2fec[45]](msg[_0x2fec[43]],_0x2fec[44]),fromId:_0x3fc1x14?_0x3fc1x14[_0x2fec[35]]:null,to:msg[_0x2fec[46]]?_[_0x2fec[45]](msg[_0x2fec[46]],_0x2fec[44]):[],cc:msg[_0x2fec[47]]?_[_0x2fec[45]](msg[_0x2fec[47]],_0x2fec[44]):[],bcc:msg[_0x2fec[48]]?_[_0x2fec[45]](msg[_0x2fec[48]],_0x2fec[44]):[],status:_0x2fec[41],text:msg[_0x2fec[49]]||null}],MailAccountId:msg[_0x2fec[59]]},{include:[{model:Message}]})})[_0x2fec[27]](function(_0x3fc1x24){var _0x3fc1x1b=[];var _0x3fc1x25=_0x3fc1x24;require(_0x2fec[21])(_0x3fc1x25[_0x2fec[63]][0]);if(msg[_0x2fec[22]]&&msg[_0x2fec[22]][_0x2fec[23]]){msg[_0x2fec[22]][_0x2fec[38]](function(_0x3fc1x1d){var _0x3fc1x1e=_0x2fec[24]+Math[_0x2fec[25]](32);_0x3fc1x1b[_0x2fec[37]](Attachment[_0x2fec[36]]({name:_0x3fc1x1d[_0x2fec[28]],basename:_0x3fc1x1e,path:path[_0x2fec[33]](config[_0x2fec[29]],_0x2fec[30],_0x2fec[31],_0x2fec[22],_0x2fec[32],_0x3fc1x1e),type:_0x3fc1x1d[_0x2fec[34]],size:_0x3fc1x1d[_0x2fec[23]],MailMessageId:_0x3fc1x25[_0x2fec[63]][0][_0x2fec[35]]})[_0x2fec[27]](function(_0x3fc1x1f){return writeFile(_0x3fc1x1f[_0x2fec[3]],_0x3fc1x1d[_0x2fec[26]])}))})};return Promise[_0x2fec[39]](_0x3fc1x1b)})[_0x2fec[20]](function(_0x3fc1x19){console[_0x2fec[19]](_0x3fc1x19)})}}function handleState(_0x3fc1x27,_0x3fc1x28){return ms[_0x2fec[60]](_0x3fc1x27)[_0x2fec[27]](function(_0x3fc1x29){return _0x3fc1x29[_0x2fec[51]]({state:_0x3fc1x28[_0x2fec[66]],source:_0x3fc1x28[_0x2fec[67]]||null})})[_0x2fec[20]](function(_0x3fc1x19){console[_0x2fec[19]](_0x3fc1x19)})}function fork(_0x3fc1x27,_0x3fc1x2b){return cp[_0x2fec[76]](__dirname+_0x2fec[75],[_0x3fc1x27,_0x3fc1x2b])[_0x2fec[68]](_0x2fec[72],function(_0x3fc1x28){switch(_0x3fc1x28[_0x2fec[74]]){case _0x2fec[73]:handleMessage(_0x3fc1x28);break;case _0x2fec[66]:handleState(_0x3fc1x27,_0x3fc1x28);break;default:}})[_0x2fec[68]](_0x2fec[69],function(_0x3fc1x2c){console[_0x2fec[71]](util[_0x2fec[65]](_0x2fec[70],_0x3fc1x2b,_0x3fc1x2c))})[_0x2fec[68]](_0x2fec[19],function(_0x3fc1x19){console[_0x2fec[19]](_0x3fc1x19)})}module[_0x2fec[77]]=function(){var _0x3fc1x2d={};var _0x3fc1x2e;process[_0x2fec[68]](_0x2fec[78],function(_0x3fc1x2c){for(var _0x3fc1x2f in _0x3fc1x2d){if(_0x3fc1x2d[_0x3fc1x2f]){_0x3fc1x2d[_0x3fc1x2f][_0x2fec[79]]()}}});ms[_0x2fec[81]](function(_0x3fc1x29){_0x3fc1x2d[_0x3fc1x29[_0x2fec[35]]]=fork(_0x3fc1x29[_0x2fec[35]],_0x3fc1x29[_0x2fec[80]])});ms[_0x2fec[86]](function(_0x3fc1x29){if(_0x3fc1x2d[_0x3fc1x29[_0x2fec[35]]]){if(_0x3fc1x29[_0x2fec[82]](_0x2fec[66])||_0x3fc1x29[_0x2fec[82]](_0x2fec[67])){console[_0x2fec[71]](util[_0x2fec[65]](_0x2fec[83],_0x3fc1x29[_0x2fec[35]],_0x3fc1x2d[_0x3fc1x29[_0x2fec[35]]][_0x2fec[84]]));clearTimeout(_0x3fc1x2e);switch(_0x3fc1x29[_0x2fec[66]]){case _0x2fec[85]:_0x3fc1x2e=setTimeout(function(){_0x3fc1x2d[_0x3fc1x29[_0x2fec[35]]]=fork(_0x3fc1x29[_0x2fec[35]],_0x3fc1x29[_0x2fec[80]])},10000);break;default:}}else {_0x3fc1x2d[_0x3fc1x29[_0x2fec[35]]][_0x2fec[79]]();_0x3fc1x2d[_0x3fc1x29[_0x2fec[35]]]=null;_0x3fc1x2d[_0x3fc1x29[_0x2fec[35]]]=fork(_0x3fc1x29[_0x2fec[35]],_0x3fc1x29[_0x2fec[80]])}}});ms[_0x2fec[88]](function(_0x3fc1x29){if(_0x3fc1x2d[_0x3fc1x29[_0x2fec[35]]]){console[_0x2fec[71]](util[_0x2fec[65]](_0x2fec[87],_0x3fc1x29[_0x2fec[35]],_0x3fc1x2d[_0x3fc1x29[_0x2fec[35]]][_0x2fec[84]]));_0x3fc1x2d[_0x3fc1x29[_0x2fec[35]]][_0x2fec[79]]();_0x3fc1x2d[_0x3fc1x29[_0x2fec[35]]]=null}});ms[_0x2fec[89]]()[_0x2fec[27]](function(_0x3fc1x30){_0x3fc1x30[_0x2fec[38]](function(_0x3fc1x29){_0x3fc1x2d[_0x3fc1x29[_0x2fec[35]]]=fork(_0x3fc1x29[_0x2fec[35]],_0x3fc1x29[_0x2fec[80]])})})[_0x2fec[20]](function(_0x3fc1x19){console[_0x2fec[19]](_0x3fc1x19)})} \ No newline at end of file +var _0xbe53=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x70\x61\x74\x68","\x63\x68\x69\x6C\x64\x5F\x70\x72\x6F\x63\x65\x73\x73","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x49\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x4D\x61\x69\x6C\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x43\x6F\x6E\x74\x61\x63\x74","\x62\x6C\x75\x65\x62\x69\x72\x64","\x6D\x6F\x6D\x65\x6E\x74","\x6F\x70\x65\x6E","\x66\x73","\x70\x72\x6F\x6D\x69\x73\x69\x66\x79","\x63\x6C\x6F\x73\x65","\x77\x72\x69\x74\x65","\x2E\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x69\x6E\x52\x65\x70\x6C\x79\x54\x6F","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x2E\x2E\x2F\x72\x6F\x75\x74\x69\x6E\x67\x2F\x6D\x61\x69\x6C","\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x73","\x6C\x65\x6E\x67\x74\x68","\x64\x6F\x77\x6E\x6C\x6F\x61\x64\x5F","\x72\x61\x6E\x64\x6F\x6D","\x46\x69\x6C\x65","\x66\x69\x6C\x65\x4E\x61\x6D\x65","\x70\x72\x6F\x70\x65\x72\x6C\x79\x20\x73\x61\x76\x65\x64\x2E","\x6C\x6F\x67","\x74\x68\x65\x6E","\x64\x61\x74\x61","\x63\x6F\x6E\x74\x65\x6E\x74","\x77","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72","\x66\x69\x6C\x65\x73","\x2F","\x6A\x6F\x69\x6E","\x63\x6F\x6E\x74\x65\x6E\x74\x54\x79\x70\x65","\x69\x64","\x63\x72\x65\x61\x74\x65","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x61\x6C\x6C","\x6D\x65\x73\x73\x61\x67\x65\x49\x64","\x52\x45\x43\x45\x49\x56\x45\x44","\x73\x75\x62\x6A\x65\x63\x74","\x66\x72\x6F\x6D","\x61\x64\x64\x72\x65\x73\x73","\x6D\x61\x70","\x74\x6F","\x63\x63","\x62\x63\x63","\x74\x65\x78\x74","\x6D\x61\x69\x6C\x49\x6E","\x75\x70\x64\x61\x74\x65","\x73\x74\x61\x74\x75\x73","\x43\x4C\x4F\x53\x45\x44","\x3B","\x6E\x61\x6D\x65","\x73\x70\x72\x65\x61\x64","\x4C\x69\x73\x74\x49\x64","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x6D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x67\x65\x74\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x66\x69\x6E\x64\x4F\x6E\x65","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65\x73","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44","\x66\x6F\x72\x6D\x61\x74","\x73\x74\x61\x74\x65","\x73\x6F\x75\x72\x63\x65","\x6F\x6E","\x49\x4D\x41\x50\x20\x53\x45\x52\x56\x45\x52\x20\x25\x73\x20\x45\x58\x49\x54\x45\x44\x20\x57\x49\x54\x48\x20\x43\x4F\x44\x45\x20\x25\x73","\x6D\x65\x73\x73\x61\x67\x65","\x6D\x73\x67","\x74\x79\x70\x65","\x2F\x69\x6D\x61\x70","\x66\x6F\x72\x6B","\x65\x78\x70\x6F\x72\x74\x73","\x65\x78\x69\x74","\x6B\x69\x6C\x6C","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x63\x68\x61\x6E\x67\x65\x64","\x49\x4D\x41\x50\x20\x53\x45\x52\x56\x45\x52\x20\x25\x73\x20\x55\x50\x44\x41\x54\x45\x44\x2C\x20\x50\x52\x4F\x43\x45\x53\x53\x20\x49\x44\x3A\x20\x25\x73\x20","\x70\x69\x64","\x44\x49\x53\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x49\x4D\x41\x50\x20\x53\x45\x52\x56\x45\x52\x20\x25\x73\x20\x44\x45\x53\x54\x52\x4F\x59\x45\x44\x2C\x20\x50\x52\x4F\x43\x45\x53\x53\x20\x49\x44\x3A\x20\x25\x73\x20","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x69\x6E\x64\x41\x6C\x6C"];_0xbe53[0];const _=require(_0xbe53[1]);const util=require(_0xbe53[2]);const path=require(_0xbe53[3]);const cp=require(_0xbe53[4]);const ms=require(_0xbe53[6])[_0xbe53[5]];const msg=require(_0xbe53[6])[_0xbe53[7]];const Attachment=require(_0xbe53[6])[_0xbe53[8]];const Message=require(_0xbe53[6])[_0xbe53[7]];const Account=require(_0xbe53[6])[_0xbe53[9]];const Room=require(_0xbe53[6])[_0xbe53[10]];const Contact=require(_0xbe53[6])[_0xbe53[11]];const Promise=require(_0xbe53[12]);const moment=require(_0xbe53[13]);const open=Promise[_0xbe53[16]](require(_0xbe53[15])[_0xbe53[14]]);const close=Promise[_0xbe53[16]](require(_0xbe53[15])[_0xbe53[17]]);const write=Promise[_0xbe53[16]](require(_0xbe53[15])[_0xbe53[18]]);const config=require(_0xbe53[19]);function handleMessage(msg){var _0x4735x13;var _0x4735x14;var _0x4735x15;var _0x4735x16;var _0x4735x17,_0x4735x18,_0x4735x19,_0x4735x1a;if(msg[_0xbe53[20]]){return Message[_0xbe53[69]]({where:{messageId:msg[_0xbe53[20]][0]}})[_0xbe53[32]](function(_0x4735x25){if(_0x4735x25){return _0x4735x25[_0xbe53[68]]()[_0xbe53[32]](function(_0x4735x24){if(_0x4735x24[_0xbe53[59]]!==_0xbe53[60]){return _0x4735x24}else {return Account[_0xbe53[67]](msg[_0xbe53[66]])[_0xbe53[32]](function(_0x4735x26){_0x4735x15=_0x4735x26;return Contact[_0xbe53[65]]({where:{email:msg[_0xbe53[50]][0][_0xbe53[51]]},defaults:{email:msg[_0xbe53[50]][0][_0xbe53[51]],firstName:msg[_0xbe53[50]][0][_0xbe53[62]]||null,ListId:_0x4735x15[_0xbe53[64]]||null}})[_0xbe53[63]](function(_0x4735x27){_0x4735x16=_0x4735x27;return Room[_0xbe53[43]]({subject:msg[_0xbe53[49]],from:_[_0xbe53[52]](msg[_0xbe53[50]],_0xbe53[51])[_0xbe53[40]](_0xbe53[61]),account:_0x4735x15[_0xbe53[62]],MailAccountId:_0x4735x15[_0xbe53[42]]})})})}})}else {return Account[_0xbe53[67]](msg[_0xbe53[66]])[_0xbe53[32]](function(_0x4735x26){_0x4735x15=_0x4735x26;return Contact[_0xbe53[65]]({where:{email:msg[_0xbe53[50]][0][_0xbe53[51]]},defaults:{email:msg[_0xbe53[50]][0][_0xbe53[51]],firstName:msg[_0xbe53[50]][0][_0xbe53[62]]||null,ListId:_0x4735x15[_0xbe53[64]]||null}})[_0xbe53[63]](function(_0x4735x27){_0x4735x16=_0x4735x27;return Room[_0xbe53[43]]({subject:msg[_0xbe53[49]],from:_[_0xbe53[52]](msg[_0xbe53[50]],_0xbe53[51])[_0xbe53[40]](_0xbe53[61]),account:_0x4735x15[_0xbe53[62]],MailAccountId:_0x4735x15[_0xbe53[42]]})})})}})[_0xbe53[32]](function(_0x4735x24){_0x4735x13=_0x4735x24;return _0x4735x13[_0xbe53[58]]({lastEvent:_0xbe53[48],mailIn:++_0x4735x13[_0xbe53[57]]})})[_0xbe53[32]](function(_0x4735x24){return Message[_0xbe53[43]]({fromId:_0x4735x16?_0x4735x16[_0xbe53[42]]:null,messageId:msg[_0xbe53[47]],status:_0xbe53[48],subject:msg[_0xbe53[49]],from:_[_0xbe53[52]](msg[_0xbe53[50]],_0xbe53[51]),to:msg[_0xbe53[53]]?_[_0xbe53[52]](msg[_0xbe53[53]],_0xbe53[51]):[],cc:msg[_0xbe53[54]]?_[_0xbe53[52]](msg[_0xbe53[54]],_0xbe53[51]):[],bcc:msg[_0xbe53[55]]?_[_0xbe53[52]](msg[_0xbe53[55]],_0xbe53[51]):[],text:msg[_0xbe53[56]]||null,MailRoomId:_0x4735x13[_0xbe53[42]]})})[_0xbe53[32]](function(_0x4735x1c){require(_0xbe53[23])(_0x4735x1c);var _0x4735x1d=[];var _0x4735x1e=_0x4735x1c;if(msg[_0xbe53[24]]&&msg[_0xbe53[24]][_0xbe53[25]]){msg[_0xbe53[24]][_0xbe53[45]](function(_0x4735x1f){var _0x4735x20=_0xbe53[26]+Math[_0xbe53[27]](32);var _0x4735x21;_0x4735x1d[_0xbe53[44]](Attachment[_0xbe53[43]]({name:_0x4735x1f[_0xbe53[29]],basename:_0x4735x20,path:path[_0xbe53[40]](config[_0xbe53[36]],_0xbe53[37],_0xbe53[38],_0xbe53[24],_0xbe53[39],_0x4735x20),type:_0x4735x1f[_0xbe53[41]],size:_0x4735x1f[_0xbe53[25]],MailMessageId:_0x4735x1e[_0xbe53[42]]})[_0xbe53[32]](function(_0x4735x23){return open(_0x4735x23[_0xbe53[3]],_0xbe53[35])})[_0xbe53[32]](function(_0x4735x22){_0x4735x21=_0x4735x22;return write(_0x4735x21, new Buffer(_0x4735x1f[_0xbe53[34]][_0xbe53[33]]),0,_0x4735x1f[_0xbe53[25]])})[_0xbe53[32]](function(){return close(_0x4735x21)})[_0xbe53[32]](function(){console[_0xbe53[31]](_0xbe53[28],_0x4735x1f[_0xbe53[29]],_0xbe53[30])})[_0xbe53[22]](function(_0x4735x1b){console[_0xbe53[21]](_0x4735x1b)}))})};return Promise[_0xbe53[46]](_0x4735x1d)})[_0xbe53[22]](function(_0x4735x1b){console[_0xbe53[21]](_0x4735x1b)})}else {return Account[_0xbe53[67]](msg[_0xbe53[66]])[_0xbe53[32]](function(_0x4735x26){_0x4735x15=_0x4735x26;if(_0x4735x15[_0xbe53[64]]){return Contact[_0xbe53[65]]({where:{email:msg[_0xbe53[50]][0][_0xbe53[51]]},defaults:{email:msg[_0xbe53[50]][0][_0xbe53[51]],firstName:msg[_0xbe53[50]][0][_0xbe53[62]]||null,ListId:_0x4735x15[_0xbe53[64]]}})}else {return []}})[_0xbe53[63]](function(_0x4735x27){_0x4735x16=_0x4735x27;return Room[_0xbe53[43]]({mailIn:1,account:_0x4735x15[_0xbe53[62]],subject:msg[_0xbe53[49]],from:_[_0xbe53[52]](msg[_0xbe53[50]],_0xbe53[51])[_0xbe53[40]](_0xbe53[61]),lastEvent:_0xbe53[48],lastEventAt:moment()[_0xbe53[72]](_0xbe53[71]),attachment:(msg[_0xbe53[24]]&&msg[_0xbe53[24]][_0xbe53[25]])?true:false,MailMessages:[{messageId:msg[_0xbe53[47]],subject:msg[_0xbe53[49]],from:_[_0xbe53[52]](msg[_0xbe53[50]],_0xbe53[51]),fromId:_0x4735x16?_0x4735x16[_0xbe53[42]]:null,to:msg[_0xbe53[53]]?_[_0xbe53[52]](msg[_0xbe53[53]],_0xbe53[51]):[],cc:msg[_0xbe53[54]]?_[_0xbe53[52]](msg[_0xbe53[54]],_0xbe53[51]):[],bcc:msg[_0xbe53[55]]?_[_0xbe53[52]](msg[_0xbe53[55]],_0xbe53[51]):[],status:_0xbe53[48],text:msg[_0xbe53[56]]||null}],MailAccountId:msg[_0xbe53[66]]},{include:[{model:Message}]})})[_0xbe53[32]](function(_0x4735x28){var _0x4735x1d=[];var _0x4735x29=_0x4735x28;require(_0xbe53[23])(_0x4735x29[_0xbe53[70]][0]);if(msg[_0xbe53[24]]&&msg[_0xbe53[24]][_0xbe53[25]]){msg[_0xbe53[24]][_0xbe53[45]](function(_0x4735x1f){var _0x4735x20=_0xbe53[26]+Math[_0xbe53[27]](32);var _0x4735x21;_0x4735x1d[_0xbe53[44]](Attachment[_0xbe53[43]]({name:_0x4735x1f[_0xbe53[29]],basename:_0x4735x20,path:path[_0xbe53[40]](config[_0xbe53[36]],_0xbe53[37],_0xbe53[38],_0xbe53[24],_0xbe53[39],_0x4735x20),type:_0x4735x1f[_0xbe53[41]],size:_0x4735x1f[_0xbe53[25]],MailMessageId:_0x4735x29[_0xbe53[70]][0][_0xbe53[42]]})[_0xbe53[32]](function(_0x4735x23){return open(_0x4735x23[_0xbe53[3]],_0xbe53[35])})[_0xbe53[32]](function(_0x4735x22){_0x4735x21=_0x4735x22;return write(_0x4735x21, new Buffer(_0x4735x1f[_0xbe53[34]][_0xbe53[33]]),0,_0x4735x1f[_0xbe53[25]])})[_0xbe53[32]](function(){return close(_0x4735x21)})[_0xbe53[32]](function(){console[_0xbe53[31]](_0xbe53[28],_0x4735x1f[_0xbe53[29]],_0xbe53[30])})[_0xbe53[22]](function(_0x4735x1b){console[_0xbe53[21]](_0x4735x1b)}))})};return Promise[_0xbe53[46]](_0x4735x1d)})[_0xbe53[22]](function(_0x4735x1b){console[_0xbe53[21]](_0x4735x1b)})}}function handleState(_0x4735x2b,_0x4735x2c){return ms[_0xbe53[67]](_0x4735x2b)[_0xbe53[32]](function(_0x4735x2d){return _0x4735x2d[_0xbe53[58]]({state:_0x4735x2c[_0xbe53[73]],source:_0x4735x2c[_0xbe53[74]]||null})})[_0xbe53[22]](function(_0x4735x1b){console[_0xbe53[21]](_0x4735x1b)})}function fork(_0x4735x2b,_0x4735x2f){return cp[_0xbe53[81]](__dirname+_0xbe53[80],[_0x4735x2b,_0x4735x2f])[_0xbe53[75]](_0xbe53[77],function(_0x4735x2c){switch(_0x4735x2c[_0xbe53[79]]){case _0xbe53[78]:handleMessage(_0x4735x2c);break;case _0xbe53[73]:handleState(_0x4735x2b,_0x4735x2c);break;default:}})[_0xbe53[75]](_0xbe53[17],function(_0x4735x30){console[_0xbe53[31]](util[_0xbe53[72]](_0xbe53[76],_0x4735x2f,_0x4735x30))})[_0xbe53[75]](_0xbe53[21],function(_0x4735x1b){console[_0xbe53[21]](_0x4735x1b)})}module[_0xbe53[82]]=function(){var _0x4735x31={};var _0x4735x32;process[_0xbe53[75]](_0xbe53[83],function(_0x4735x30){for(var _0x4735x33 in _0x4735x31){if(_0x4735x31[_0x4735x33]){_0x4735x31[_0x4735x33][_0xbe53[84]]()}}});ms[_0xbe53[86]](function(_0x4735x2d){_0x4735x31[_0x4735x2d[_0xbe53[42]]]=fork(_0x4735x2d[_0xbe53[42]],_0x4735x2d[_0xbe53[85]])});ms[_0xbe53[91]](function(_0x4735x2d){if(_0x4735x31[_0x4735x2d[_0xbe53[42]]]){if(_0x4735x2d[_0xbe53[87]](_0xbe53[73])||_0x4735x2d[_0xbe53[87]](_0xbe53[74])){console[_0xbe53[31]](util[_0xbe53[72]](_0xbe53[88],_0x4735x2d[_0xbe53[42]],_0x4735x31[_0x4735x2d[_0xbe53[42]]][_0xbe53[89]]));clearTimeout(_0x4735x32);switch(_0x4735x2d[_0xbe53[73]]){case _0xbe53[90]:_0x4735x32=setTimeout(function(){_0x4735x31[_0x4735x2d[_0xbe53[42]]]=fork(_0x4735x2d[_0xbe53[42]],_0x4735x2d[_0xbe53[85]])},10000);break;default:}}else {_0x4735x31[_0x4735x2d[_0xbe53[42]]][_0xbe53[84]]();_0x4735x31[_0x4735x2d[_0xbe53[42]]]=null;_0x4735x31[_0x4735x2d[_0xbe53[42]]]=fork(_0x4735x2d[_0xbe53[42]],_0x4735x2d[_0xbe53[85]])}}});ms[_0xbe53[93]](function(_0x4735x2d){if(_0x4735x31[_0x4735x2d[_0xbe53[42]]]){console[_0xbe53[31]](util[_0xbe53[72]](_0xbe53[92],_0x4735x2d[_0xbe53[42]],_0x4735x31[_0x4735x2d[_0xbe53[42]]][_0xbe53[89]]));_0x4735x31[_0x4735x2d[_0xbe53[42]]][_0xbe53[84]]();_0x4735x31[_0x4735x2d[_0xbe53[42]]]=null}});ms[_0xbe53[94]]()[_0xbe53[32]](function(_0x4735x34){_0x4735x34[_0xbe53[45]](function(_0x4735x2d){_0x4735x31[_0x4735x2d[_0xbe53[42]]]=fork(_0x4735x2d[_0xbe53[42]],_0x4735x2d[_0xbe53[85]])})})[_0xbe53[22]](function(_0x4735x1b){console[_0xbe53[21]](_0x4735x1b)})} \ No newline at end of file diff --git a/server/config/integration.js b/server/config/integration.js index 13f50c3..2421fe4 100644 --- a/server/config/integration.js +++ b/server/config/integration.js @@ -1 +1 @@ -var _0x9dda=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x70\x61\x74\x68","\x66\x73","\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x65\x78\x70\x6F\x72\x74\x73","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x70\x61\x72\x73\x65","\x64\x69\x72","\x6E\x61\x6D\x65","\x6D\x61\x69\x6E","\x6A\x6F\x69\x6E","\x65\x78\x69\x73\x74\x73\x53\x79\x6E\x63","\x66\x6F\x72\x45\x61\x63\x68","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C"];_0x9dda[0];var path=require(_0x9dda[1]);var fs=require(_0x9dda[2]);var Integration=require(_0x9dda[4])[_0x9dda[3]];module[_0x9dda[5]]=function(_0xe4a6x4,_0xe4a6x5){Integration[_0x9dda[16]]()[_0x9dda[15]](function(_0xe4a6x7){_0xe4a6x7[_0x9dda[14]](function(_0xe4a6x8){var _0xe4a6x9=path[_0x9dda[8]](_0xe4a6x8[_0x9dda[1]]);var _0xe4a6xa=path[_0x9dda[12]](_0xe4a6x9[_0x9dda[9]],_0xe4a6x9[_0x9dda[10]],_0xe4a6x8[_0x9dda[11]]);if(fs[_0x9dda[13]](_0xe4a6xa)){require(_0xe4a6xa)(_0xe4a6x4,_0xe4a6x5)}})})[_0x9dda[7]](function(_0xe4a6x6){console[_0x9dda[6]](_0xe4a6x6)})} \ No newline at end of file +var _0xcc64=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x70\x61\x74\x68","\x66\x73","\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x65\x78\x70\x6F\x72\x74\x73","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x70\x61\x72\x73\x65","\x64\x69\x72","\x6E\x61\x6D\x65","\x6D\x61\x69\x6E","\x6A\x6F\x69\x6E","\x65\x78\x69\x73\x74\x73\x53\x79\x6E\x63","\x66\x6F\x72\x45\x61\x63\x68","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C"];_0xcc64[0];var path=require(_0xcc64[1]);var fs=require(_0xcc64[2]);var Integration=require(_0xcc64[4])[_0xcc64[3]];module[_0xcc64[5]]=function(_0x2c67x4,_0x2c67x5){Integration[_0xcc64[16]]()[_0xcc64[15]](function(_0x2c67x7){_0x2c67x7[_0xcc64[14]](function(_0x2c67x8){var _0x2c67x9=path[_0xcc64[8]](_0x2c67x8[_0xcc64[1]]);var _0x2c67xa=path[_0xcc64[12]](_0x2c67x9[_0xcc64[9]],_0x2c67x9[_0xcc64[10]],_0x2c67x8[_0xcc64[11]]);if(fs[_0xcc64[13]](_0x2c67xa)){require(_0x2c67xa)(_0x2c67x4,_0x2c67x5)}})})[_0xcc64[7]](function(_0x2c67x6){console[_0xcc64[6]](_0x2c67x6)})} \ No newline at end of file diff --git a/server/config/integrations/index.js b/server/config/integrations/index.js index 8f17da8..84b7d18 100644 --- a/server/config/integrations/index.js +++ b/server/config/integrations/index.js @@ -1 +1 @@ -var _0x93f7=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x56\x61\x72\x69\x61\x62\x6C\x65","\x2E\x2F\x7A\x65\x6E\x64\x65\x73\x6B","\x2E\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65","\x2E\x2F\x6D\x6F\x74\x69\x6F\x6E\x62\x61\x72","\x54\x72\x69\x67\x67\x65\x72\x20\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x76\x61\x72\x73\x65\x74","\x76\x61\x72\x69\x61\x62\x6C\x65","\x68\x61\x73\x4F\x77\x6E\x50\x72\x6F\x70\x65\x72\x74\x79","\x76\x61\x6C\x75\x65","\x6E\x61\x6D\x65","\x6B\x65\x79\x73","\x68\x65\x61\x64","\x74\x6F\x4C\x6F\x77\x65\x72","\x66\x69\x6E\x64","\x75\x6E\x69\x71\x75\x65\x69\x64","\x70\x75\x73\x68","\x76\x61\x72\x69\x61\x62\x6C\x65\x73","\x6C\x65\x6E\x67\x74\x68","\x73\x68\x69\x66\x74","\x6F\x6E","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x6D\x61\x6E\x61\x67\x65\x45\x76\x65\x6E\x74","\x64\x61\x74\x61\x31","\x64\x61\x74\x61\x32","\x64\x61\x74\x61\x33","\x68\x61\x6E\x64\x6C\x65\x45\x76\x65\x6E\x74","\x7A\x65\x6E\x64\x65\x73\x6B","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65","\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x20\x6E\x6F\x74\x20\x72\x65\x63\x6F\x67\x6E\x69\x7A\x65\x64\x3A\x20","\x61\x63\x74\x69\x6F\x6E","\x6D\x6F\x74\x69\x6F\x6E\x62\x61\x72","\x73\x74\x61\x74\x65","\x6D\x61\x70","\x69\x6E\x64\x65\x78\x4F\x66","\x61\x63\x74\x69\x76\x65","\x69\x64","\x72\x65\x6D\x6F\x76\x65","\x41\x66\x74\x65\x72\x20\x75\x70\x64\x61\x74\x65\x2C\x20\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x73\x20\x61\x72\x65\x20","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x41\x66\x74\x65\x72\x20\x63\x72\x65\x61\x74\x65\x2C\x20\x56\x61\x72\x69\x61\x62\x6C\x65\x73\x20\x61\x72\x65\x20","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x41\x66\x74\x65\x72\x20\x75\x70\x64\x61\x74\x65\x2C\x20\x56\x61\x72\x69\x61\x62\x6C\x65\x73\x20\x61\x72\x65\x20","\x41\x66\x74\x65\x72\x20\x64\x65\x73\x74\x72\x6F\x79\x2C\x20\x56\x61\x72\x69\x61\x62\x6C\x65\x73\x20\x61\x72\x65\x20","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6D\x65\x72\x67\x65","\x75\x6E\x73\x68\x69\x66\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x93f7[0];var _=require(_0x93f7[1]);var IntegrationModel=require(_0x93f7[3])[_0x93f7[2]];var Variable=require(_0x93f7[3])[_0x93f7[4]];var Zendesk=require(_0x93f7[5]);var Salesforce=require(_0x93f7[6]);var Motionbar=require(_0x93f7[7]);var MAX_CALLS=200;function Integration(_0x9e42x9){console[_0x93f7[9]](_0x93f7[8]);var _0x9e42xa= new Zendesk();var _0x9e42xb= new Salesforce();var _0x9e42xc= new Motionbar();var _0x9e42xd=[];var _0x9e42xe=[];var _0x9e42xf=[];_0x9e42x9[_0x93f7[24]](_0x93f7[10],function(_0x9e42x10){if(_0x9e42x10[_0x93f7[12]](_0x93f7[11])&&_0x9e42x10[_0x93f7[12]](_0x93f7[13])){var _0x9e42x11=_[_0x93f7[18]](_0x9e42xe,function(_0x9e42x12){return (_0x9e42x12[_0x93f7[14]]===_[_0x93f7[16]](_[_0x93f7[15]](_0x9e42x10[_0x93f7[11]])))||(_[_0x93f7[17]](_0x9e42x12[_0x93f7[14]])===_[_0x93f7[16]](_[_0x93f7[15]](_0x9e42x10[_0x93f7[11]])))});if(_0x9e42x11){var _0x9e42x13=_[_0x93f7[18]](_0x9e42xf,function(_0x9e42x12){return _0x9e42x12[_0x93f7[19]]===_0x9e42x10[_0x93f7[19]]});if(_0x9e42x13){_0x9e42x13[_0x93f7[21]][_0x93f7[20]]({name:_0x9e42x11[_0x93f7[14]],value:_0x9e42x10[_0x93f7[13]]})}else {if(_0x9e42xf[_0x93f7[22]]>=MAX_CALLS){_0x9e42xf[_0x93f7[23]]()};var _0x9e42x14={uniqueid:_0x9e42x10[_0x93f7[19]],variables:[{name:_0x9e42x11[_0x93f7[14]],value:_0x9e42x10[_0x93f7[13]]}]};_0x9e42xf[_0x93f7[20]](_0x9e42x14)}}}});Variable[_0x93f7[26]]()[_0x93f7[25]](function(_0x9e42x15){_0x9e42xe=_0x9e42x15;synchVariables(_0x9e42xe)});IntegrationModel[_0x93f7[26]]({where:{active:1}})[_0x93f7[25]](function(_0x9e42x16){_0x9e42xd=_0x9e42x16;synchIntegrations(_0x9e42xd)});this[_0x93f7[27]]=function(_0x9e42x17,_0x9e42x18,_0x9e42x19){var _0x9e42x13=_[_0x93f7[18]](_0x9e42xf,function(_0x9e42x12){return _0x9e42x12[_0x93f7[19]]===_0x9e42x18[_0x93f7[19]]});var _0x9e42x15=_0x9e42x13?_0x9e42x13[_0x93f7[21]]:[];if(integrationIsActive(_0x9e42x17[_0x93f7[28]],_0x9e42xd)){switch(_0x9e42x17[_0x93f7[28]]){case _0x93f7[32]:_0x9e42xa[_0x93f7[31]](_0x9e42x17[_0x93f7[29]],_0x9e42x17[_0x93f7[30]],_0x9e42x19,_0x9e42x18,_0x9e42x15,_0x9e42x18[_0x93f7[19]]);break;case _0x93f7[33]:_0x9e42xb[_0x93f7[31]](_0x9e42x17[_0x93f7[29]],_0x9e42x17[_0x93f7[30]],_0x9e42x19,_0x9e42x18,_0x9e42x15,_0x9e42x18[_0x93f7[19]]);break;default:console[_0x93f7[9]](_0x93f7[34],_0x9e42x17[_0x93f7[28]])}};if(_0x9e42x17[_0x93f7[35]]===_0x93f7[36]){_0x9e42xc[_0x93f7[31]](_0x9e42x17,_0x9e42x19,_0x9e42x18,_0x9e42x15,_0x9e42x18[_0x93f7[19]])}}}function integrationIsActive(_0x9e42x1b,_0x9e42x1c){var _0x9e42x1d=_[_0x93f7[38]](_0x9e42x1c,_0x93f7[37]);if(_[_0x93f7[39]](_0x9e42x1d,_0x9e42x1b)>=0){return true};return false}function synchIntegrations(_0x9e42x1c){IntegrationModel[_0x93f7[44]](function(_0x9e42x18){if(_0x9e42x18[_0x93f7[40]]){updateCollection(_0x9e42x1c,_0x9e42x18)}else {_[_0x93f7[42]](_0x9e42x1c,{id:_0x9e42x18[_0x93f7[41]]})};console[_0x93f7[9]](_0x93f7[43],_0x9e42x1c[_0x93f7[22]])})}function synchVariables(_0x9e42x1c){Variable[_0x93f7[46]](function(_0x9e42x18){updateCollection(_0x9e42x1c,_0x9e42x18);console[_0x93f7[9]](_0x93f7[45],_0x9e42x1c[_0x93f7[22]])});Variable[_0x93f7[44]](function(_0x9e42x18){updateCollection(_0x9e42x1c,_0x9e42x18);console[_0x93f7[9]](_0x93f7[47],_0x9e42x1c[_0x93f7[22]])});Variable[_0x93f7[49]](function(_0x9e42x18){_[_0x93f7[42]](_0x9e42x1c,{id:_0x9e42x18[_0x93f7[41]]});console[_0x93f7[9]](_0x93f7[48],_0x9e42x1c[_0x93f7[22]])})}function updateCollection(_0x9e42x21,_0x9e42x18){var _0x9e42x22=_[_0x93f7[18]](_0x9e42x21,{id:_0x9e42x18[_0x93f7[41]]});var _0x9e42x23=_0x9e42x21[_0x93f7[39]](_0x9e42x22);if(_0x9e42x22){_[_0x93f7[50]](_0x9e42x21[_0x9e42x23],_0x9e42x18)}else {_0x9e42x21[_0x93f7[51]](_0x9e42x18)}}module[_0x93f7[52]]=Integration \ No newline at end of file +var _0xf707=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x56\x61\x72\x69\x61\x62\x6C\x65","\x2E\x2F\x7A\x65\x6E\x64\x65\x73\x6B","\x2E\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65","\x2E\x2F\x6D\x6F\x74\x69\x6F\x6E\x62\x61\x72","\x54\x72\x69\x67\x67\x65\x72\x20\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x76\x61\x72\x73\x65\x74","\x76\x61\x72\x69\x61\x62\x6C\x65","\x68\x61\x73\x4F\x77\x6E\x50\x72\x6F\x70\x65\x72\x74\x79","\x76\x61\x6C\x75\x65","\x6E\x61\x6D\x65","\x6B\x65\x79\x73","\x68\x65\x61\x64","\x74\x6F\x4C\x6F\x77\x65\x72","\x66\x69\x6E\x64","\x75\x6E\x69\x71\x75\x65\x69\x64","\x70\x75\x73\x68","\x76\x61\x72\x69\x61\x62\x6C\x65\x73","\x6C\x65\x6E\x67\x74\x68","\x73\x68\x69\x66\x74","\x6F\x6E","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x6D\x61\x6E\x61\x67\x65\x45\x76\x65\x6E\x74","\x64\x61\x74\x61\x31","\x64\x61\x74\x61\x32","\x64\x61\x74\x61\x33","\x68\x61\x6E\x64\x6C\x65\x45\x76\x65\x6E\x74","\x7A\x65\x6E\x64\x65\x73\x6B","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65","\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x20\x6E\x6F\x74\x20\x72\x65\x63\x6F\x67\x6E\x69\x7A\x65\x64\x3A\x20","\x61\x63\x74\x69\x6F\x6E","\x6D\x6F\x74\x69\x6F\x6E\x62\x61\x72","\x73\x74\x61\x74\x65","\x6D\x61\x70","\x69\x6E\x64\x65\x78\x4F\x66","\x61\x63\x74\x69\x76\x65","\x69\x64","\x72\x65\x6D\x6F\x76\x65","\x41\x66\x74\x65\x72\x20\x75\x70\x64\x61\x74\x65\x2C\x20\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x73\x20\x61\x72\x65\x20","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x41\x66\x74\x65\x72\x20\x63\x72\x65\x61\x74\x65\x2C\x20\x56\x61\x72\x69\x61\x62\x6C\x65\x73\x20\x61\x72\x65\x20","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x41\x66\x74\x65\x72\x20\x75\x70\x64\x61\x74\x65\x2C\x20\x56\x61\x72\x69\x61\x62\x6C\x65\x73\x20\x61\x72\x65\x20","\x41\x66\x74\x65\x72\x20\x64\x65\x73\x74\x72\x6F\x79\x2C\x20\x56\x61\x72\x69\x61\x62\x6C\x65\x73\x20\x61\x72\x65\x20","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x6D\x65\x72\x67\x65","\x75\x6E\x73\x68\x69\x66\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0xf707[0];var _=require(_0xf707[1]);var IntegrationModel=require(_0xf707[3])[_0xf707[2]];var Variable=require(_0xf707[3])[_0xf707[4]];var Zendesk=require(_0xf707[5]);var Salesforce=require(_0xf707[6]);var Motionbar=require(_0xf707[7]);var MAX_CALLS=200;function Integration(_0x7a22x9){console[_0xf707[9]](_0xf707[8]);var _0x7a22xa= new Zendesk();var _0x7a22xb= new Salesforce();var _0x7a22xc= new Motionbar();var _0x7a22xd=[];var _0x7a22xe=[];var _0x7a22xf=[];_0x7a22x9[_0xf707[24]](_0xf707[10],function(_0x7a22x10){if(_0x7a22x10[_0xf707[12]](_0xf707[11])&&_0x7a22x10[_0xf707[12]](_0xf707[13])){var _0x7a22x11=_[_0xf707[18]](_0x7a22xe,function(_0x7a22x12){return (_0x7a22x12[_0xf707[14]]===_[_0xf707[16]](_[_0xf707[15]](_0x7a22x10[_0xf707[11]])))||(_[_0xf707[17]](_0x7a22x12[_0xf707[14]])===_[_0xf707[16]](_[_0xf707[15]](_0x7a22x10[_0xf707[11]])))});if(_0x7a22x11){var _0x7a22x13=_[_0xf707[18]](_0x7a22xf,function(_0x7a22x12){return _0x7a22x12[_0xf707[19]]===_0x7a22x10[_0xf707[19]]});if(_0x7a22x13){_0x7a22x13[_0xf707[21]][_0xf707[20]]({name:_0x7a22x11[_0xf707[14]],value:_0x7a22x10[_0xf707[13]]})}else {if(_0x7a22xf[_0xf707[22]]>=MAX_CALLS){_0x7a22xf[_0xf707[23]]()};var _0x7a22x14={uniqueid:_0x7a22x10[_0xf707[19]],variables:[{name:_0x7a22x11[_0xf707[14]],value:_0x7a22x10[_0xf707[13]]}]};_0x7a22xf[_0xf707[20]](_0x7a22x14)}}}});Variable[_0xf707[26]]()[_0xf707[25]](function(_0x7a22x15){_0x7a22xe=_0x7a22x15;synchVariables(_0x7a22xe)});IntegrationModel[_0xf707[26]]({where:{active:1}})[_0xf707[25]](function(_0x7a22x16){_0x7a22xd=_0x7a22x16;synchIntegrations(_0x7a22xd)});this[_0xf707[27]]=function(_0x7a22x17,_0x7a22x18,_0x7a22x19){var _0x7a22x13=_[_0xf707[18]](_0x7a22xf,function(_0x7a22x12){return _0x7a22x12[_0xf707[19]]===_0x7a22x18[_0xf707[19]]});var _0x7a22x15=_0x7a22x13?_0x7a22x13[_0xf707[21]]:[];if(integrationIsActive(_0x7a22x17[_0xf707[28]],_0x7a22xd)){switch(_0x7a22x17[_0xf707[28]]){case _0xf707[32]:_0x7a22xa[_0xf707[31]](_0x7a22x17[_0xf707[29]],_0x7a22x17[_0xf707[30]],_0x7a22x19,_0x7a22x18,_0x7a22x15,_0x7a22x18[_0xf707[19]]);break;case _0xf707[33]:_0x7a22xb[_0xf707[31]](_0x7a22x17[_0xf707[29]],_0x7a22x17[_0xf707[30]],_0x7a22x19,_0x7a22x18,_0x7a22x15,_0x7a22x18[_0xf707[19]]);break;default:console[_0xf707[9]](_0xf707[34],_0x7a22x17[_0xf707[28]])}};if(_0x7a22x17[_0xf707[35]]===_0xf707[36]){_0x7a22xc[_0xf707[31]](_0x7a22x17,_0x7a22x19,_0x7a22x18,_0x7a22x15,_0x7a22x18[_0xf707[19]])}}}function integrationIsActive(_0x7a22x1b,_0x7a22x1c){var _0x7a22x1d=_[_0xf707[38]](_0x7a22x1c,_0xf707[37]);if(_[_0xf707[39]](_0x7a22x1d,_0x7a22x1b)>=0){return true};return false}function synchIntegrations(_0x7a22x1c){IntegrationModel[_0xf707[44]](function(_0x7a22x18){if(_0x7a22x18[_0xf707[40]]){updateCollection(_0x7a22x1c,_0x7a22x18)}else {_[_0xf707[42]](_0x7a22x1c,{id:_0x7a22x18[_0xf707[41]]})};console[_0xf707[9]](_0xf707[43],_0x7a22x1c[_0xf707[22]])})}function synchVariables(_0x7a22x1c){Variable[_0xf707[46]](function(_0x7a22x18){updateCollection(_0x7a22x1c,_0x7a22x18);console[_0xf707[9]](_0xf707[45],_0x7a22x1c[_0xf707[22]])});Variable[_0xf707[44]](function(_0x7a22x18){updateCollection(_0x7a22x1c,_0x7a22x18);console[_0xf707[9]](_0xf707[47],_0x7a22x1c[_0xf707[22]])});Variable[_0xf707[49]](function(_0x7a22x18){_[_0xf707[42]](_0x7a22x1c,{id:_0x7a22x18[_0xf707[41]]});console[_0xf707[9]](_0xf707[48],_0x7a22x1c[_0xf707[22]])})}function updateCollection(_0x7a22x21,_0x7a22x18){var _0x7a22x22=_[_0xf707[18]](_0x7a22x21,{id:_0x7a22x18[_0xf707[41]]});var _0x7a22x23=_0x7a22x21[_0xf707[39]](_0x7a22x22);if(_0x7a22x22){_[_0xf707[50]](_0x7a22x21[_0x7a22x23],_0x7a22x18)}else {_0x7a22x21[_0xf707[51]](_0x7a22x18)}}module[_0xf707[52]]=Integration \ No newline at end of file diff --git a/server/config/integrations/motionbar.js b/server/config/integrations/motionbar.js index abe3881..ae6c141 100644 --- a/server/config/integrations/motionbar.js +++ b/server/config/integrations/motionbar.js @@ -1 +1 @@ -var _0x199d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x6D\x75\x73\x74\x61\x63\x68\x65","\x52\x65\x70\x6F\x72\x74\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x54\x65\x6D\x70\x6C\x61\x74\x65","\x4D\x6F\x74\x69\x6F\x6E\x62\x61\x72\x20\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x20\x69\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x68\x61\x6E\x64\x6C\x65\x45\x76\x65\x6E\x74","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x64\x61\x74\x61\x31","\x64\x61\x74\x61\x32","\x50\x61\x73\x73\x65\x64\x20\x70\x61\x72\x61\x6D\x65\x74\x65\x72\x73\x20\x61\x72\x65\x20\x6E\x6F\x74\x20\x65\x6E\x6F\x75\x67\x68\x20\x74\x6F\x20\x6D\x61\x6E\x61\x67\x65\x20\x4D\x6F\x74\x69\x6F\x6E\x62\x61\x72\x20\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x65\x72\x72\x6F\x72","\x6E\x61\x6D\x65","\x76\x61\x6C\x75\x65","\x72\x65\x64\x75\x63\x65","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x69\x64","\x6D\x65\x72\x67\x65","\x63\x61\x74\x63\x68","\x5B\x4D\x6F\x74\x69\x6F\x6E\x62\x61\x72\x5D\x20\x50\x6F\x70\x75\x70\x20\x63\x72\x65\x61\x74\x65\x64","\x74\x68\x65\x6E","\x68\x74\x6D\x6C","\x72\x65\x6E\x64\x65\x72","\x3C\x68\x74\x6D\x6C\x3E\x3C\x62\x6F\x64\x79\x3E\x45\x6D\x70\x74\x79\x20\x54\x65\x6D\x70\x6C\x61\x74\x65\x3C\x2F\x62\x6F\x64\x79\x3E\x3C\x2F\x68\x74\x6D\x6C\x3E","\x73\x75\x62\x6A\x65\x63\x74","\x4E\x6F\x20\x54\x69\x74\x6C\x65","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x6D\x6F\x74\x69\x6F\x6E\x62\x61\x72","\x65\x76\x65\x6E\x74\x43\x68\x61\x6E\x6E\x65\x6C","\x65\x78\x69\x74\x53\x74\x61\x74\x75\x73","\x73\x75\x63\x63\x65\x73\x73","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x49\x64","\x63\x72\x65\x61\x74\x65","\x66\x69\x6E\x64\x42\x79\x49\x64","\x30","\x75\x72\x6C","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x77\x69\x6B\x69\x2E\x78\x63\x61\x6C\x6C\x79\x6D\x6F\x74\x69\x6F\x6E\x2E\x63\x6F\x6D\x2F","\x5B\x4D\x6F\x74\x69\x6F\x6E\x62\x61\x72\x5D\x20\x55\x52\x4C\x20\x63\x72\x65\x61\x74\x65\x64","\x31","\x61\x70\x70","\x61\x70\x70\x64\x61\x74\x61","\x64\x61\x74\x61\x33","","\x5B\x4D\x6F\x74\x69\x6F\x6E\x62\x61\x72\x5D\x20\x57\x69\x6E\x64\x6F\x77\x73\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x6F\x70\x65\x6E\x65\x64","\x32","\x5B\x4D\x6F\x74\x69\x6F\x6E\x62\x61\x72\x5D\x20\x54\x79\x70\x65\x20\x6E\x6F\x74\x20\x72\x65\x63\x6F\x67\x6E\x69\x7A\x65\x64\x3A","\x5B\x4D\x6F\x74\x69\x6F\x6E\x62\x61\x72\x5D\x20\x45\x72\x72\x6F\x72\x20\x69\x6E\x20\x74\x69\x63\x6B\x65\x74\x20\x63\x72\x65\x61\x74\x69\x6F\x6E","\x5B\x4D\x6F\x74\x69\x6F\x6E\x62\x61\x72\x5D\x20\x4D\x65\x73\x73\x61\x67\x65\x3A","\x6D\x65\x73\x73\x61\x67\x65","\x5B\x4D\x6F\x74\x69\x6F\x6E\x62\x61\x72\x5D\x20\x53\x74\x61\x63\x6B\x3A","\x73\x74\x61\x63\x6B","\x66\x61\x69\x6C\x65\x64","\x5B\x4D\x6F\x74\x69\x6F\x6E\x62\x61\x72\x5D\x20\x45\x72\x72\x6F\x72\x20\x69\x6E\x20\x52\x65\x70\x6F\x72\x74\x20\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x20\x63\x72\x65\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x199d[0];var _=require(_0x199d[1]);var util=require(_0x199d[2]);var Mustache=require(_0x199d[3]);var ReportIntegration=require(_0x199d[5])[_0x199d[4]];var Template=require(_0x199d[5])[_0x199d[6]];function Motionbar(){console[_0x199d[8]](_0x199d[7])}Motionbar[_0x199d[10]][_0x199d[9]]=function(_0x4202x7,_0x4202x8,_0x4202x9,_0x4202xa){if(!_0x4202x7[_0x199d[11]]||!_0x4202x7[_0x199d[12]]){console[_0x199d[14]](_0x199d[13]);return};_0x4202xa=_[_0x199d[17]](_0x4202xa,function(_0x4202xb,_0x4202xc,_0x4202xd){_0x4202xb[_0x4202xc[_0x199d[15]]]=_0x4202xc[_0x199d[16]];return _0x4202xb},{});_0x4202x9=_0x4202x9[_0x199d[18]];delete _0x4202x9[_0x199d[19]];var _0x4202xe=_[_0x199d[20]](_0x4202x9,_0x4202xa);switch(_0x4202x7[_0x199d[11]]){case _0x199d[37]:return Template[_0x199d[36]](_0x4202x7[_0x199d[12]])[_0x199d[23]](function(_0x4202xf){_0x4202x9[_0x199d[24]]=_0x4202xf[_0x199d[24]]?Mustache[_0x199d[25]](_0x4202xf[_0x199d[24]],_0x4202xe):_0x199d[26];_0x4202x9[_0x199d[27]]=_0x4202xf[_0x199d[27]]?Mustache[_0x199d[25]](_0x4202xf[_0x199d[27]].toString(),_0x4202xe):_0x199d[28];_0x4202x9[_0x199d[29]]=_0x199d[30];_0x4202x9[_0x199d[31]]=_0x4202x8;_0x4202x9[_0x199d[32]]=_0x199d[33];_0x4202x9[_0x199d[34]]=_0x4202x7[_0x199d[11]];return ReportIntegration[_0x199d[35]](_0x4202x9)})[_0x199d[23]](function(){console[_0x199d[8]](_0x199d[22])})[_0x199d[21]](handleError(_0x4202x8,_0x4202x9,_0x4202x7[_0x199d[11]]));case _0x199d[41]:_0x4202x9[_0x199d[38]]=_0x4202x7[_0x199d[12]]?Mustache[_0x199d[25]](_0x4202x7[_0x199d[12]],_0x4202xe):_0x199d[39];_0x4202x9[_0x199d[29]]=_0x199d[30];_0x4202x9[_0x199d[31]]=_0x4202x8;_0x4202x9[_0x199d[32]]=_0x199d[33];_0x4202x9[_0x199d[34]]=_0x4202x7[_0x199d[11]];return ReportIntegration[_0x199d[35]](_0x4202x9)[_0x199d[23]](function(){console[_0x199d[8]](_0x199d[40])})[_0x199d[21]](handleError(_0x4202x8,_0x4202x9,_0x4202x7[_0x199d[11]]));case _0x199d[47]:_0x4202x9[_0x199d[42]]=_0x4202x7[_0x199d[12]];_0x4202x9[_0x199d[43]]=_0x4202x7[_0x199d[44]]?Mustache[_0x199d[25]](_0x4202x7[_0x199d[44]],_0x4202xe):_0x199d[45];_0x4202x9[_0x199d[29]]=_0x199d[30];_0x4202x9[_0x199d[31]]=_0x4202x8;_0x4202x9[_0x199d[32]]=_0x199d[33];_0x4202x9[_0x199d[34]]=_0x4202x7[_0x199d[11]];return ReportIntegration[_0x199d[35]](_0x4202x9)[_0x199d[23]](function(){console[_0x199d[8]](_0x199d[46])})[_0x199d[21]](handleError(_0x4202x8,_0x4202x9,_0x4202x7[_0x199d[11]]));default:console[_0x199d[8]](_0x199d[48],_0x4202x7[_0x199d[11]])}};function handleError(_0x4202x8,_0x4202x9,_0x4202x11){return function(_0x4202x12){console[_0x199d[14]](_0x199d[49]);console[_0x199d[14]](_0x199d[50],_0x4202x12[_0x199d[51]]);console[_0x199d[14]](_0x199d[52],_0x4202x12[_0x199d[53]]);_0x4202x9[_0x199d[29]]=_0x199d[30];_0x4202x9[_0x199d[31]]=_0x4202x8;_0x4202x9[_0x199d[32]]=_0x199d[54];_0x4202x9[_0x199d[34]]=_0x4202x11;ReportIntegration[_0x199d[35]](_0x4202x9)[_0x199d[23]](function(){return})[_0x199d[21]](function(_0x4202x12){console[_0x199d[14]](_0x199d[55]);return})}}module[_0x199d[56]]=Motionbar \ No newline at end of file +var _0x39d9=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x6D\x75\x73\x74\x61\x63\x68\x65","\x52\x65\x70\x6F\x72\x74\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x54\x65\x6D\x70\x6C\x61\x74\x65","\x4D\x6F\x74\x69\x6F\x6E\x62\x61\x72\x20\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x20\x69\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x68\x61\x6E\x64\x6C\x65\x45\x76\x65\x6E\x74","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x64\x61\x74\x61\x31","\x64\x61\x74\x61\x32","\x50\x61\x73\x73\x65\x64\x20\x70\x61\x72\x61\x6D\x65\x74\x65\x72\x73\x20\x61\x72\x65\x20\x6E\x6F\x74\x20\x65\x6E\x6F\x75\x67\x68\x20\x74\x6F\x20\x6D\x61\x6E\x61\x67\x65\x20\x4D\x6F\x74\x69\x6F\x6E\x62\x61\x72\x20\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x65\x72\x72\x6F\x72","\x6E\x61\x6D\x65","\x76\x61\x6C\x75\x65","\x72\x65\x64\x75\x63\x65","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x69\x64","\x6D\x65\x72\x67\x65","\x63\x61\x74\x63\x68","\x5B\x4D\x6F\x74\x69\x6F\x6E\x62\x61\x72\x5D\x20\x50\x6F\x70\x75\x70\x20\x63\x72\x65\x61\x74\x65\x64","\x74\x68\x65\x6E","\x68\x74\x6D\x6C","\x72\x65\x6E\x64\x65\x72","\x3C\x68\x74\x6D\x6C\x3E\x3C\x62\x6F\x64\x79\x3E\x45\x6D\x70\x74\x79\x20\x54\x65\x6D\x70\x6C\x61\x74\x65\x3C\x2F\x62\x6F\x64\x79\x3E\x3C\x2F\x68\x74\x6D\x6C\x3E","\x73\x75\x62\x6A\x65\x63\x74","\x4E\x6F\x20\x54\x69\x74\x6C\x65","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x6D\x6F\x74\x69\x6F\x6E\x62\x61\x72","\x65\x76\x65\x6E\x74\x43\x68\x61\x6E\x6E\x65\x6C","\x65\x78\x69\x74\x53\x74\x61\x74\x75\x73","\x73\x75\x63\x63\x65\x73\x73","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x49\x64","\x63\x72\x65\x61\x74\x65","\x66\x69\x6E\x64\x42\x79\x49\x64","\x30","\x75\x72\x6C","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x77\x69\x6B\x69\x2E\x78\x63\x61\x6C\x6C\x79\x6D\x6F\x74\x69\x6F\x6E\x2E\x63\x6F\x6D\x2F","\x5B\x4D\x6F\x74\x69\x6F\x6E\x62\x61\x72\x5D\x20\x55\x52\x4C\x20\x63\x72\x65\x61\x74\x65\x64","\x31","\x61\x70\x70","\x61\x70\x70\x64\x61\x74\x61","\x64\x61\x74\x61\x33","","\x5B\x4D\x6F\x74\x69\x6F\x6E\x62\x61\x72\x5D\x20\x57\x69\x6E\x64\x6F\x77\x73\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x6F\x70\x65\x6E\x65\x64","\x32","\x5B\x4D\x6F\x74\x69\x6F\x6E\x62\x61\x72\x5D\x20\x54\x79\x70\x65\x20\x6E\x6F\x74\x20\x72\x65\x63\x6F\x67\x6E\x69\x7A\x65\x64\x3A","\x5B\x4D\x6F\x74\x69\x6F\x6E\x62\x61\x72\x5D\x20\x45\x72\x72\x6F\x72\x20\x69\x6E\x20\x74\x69\x63\x6B\x65\x74\x20\x63\x72\x65\x61\x74\x69\x6F\x6E","\x5B\x4D\x6F\x74\x69\x6F\x6E\x62\x61\x72\x5D\x20\x4D\x65\x73\x73\x61\x67\x65\x3A","\x6D\x65\x73\x73\x61\x67\x65","\x5B\x4D\x6F\x74\x69\x6F\x6E\x62\x61\x72\x5D\x20\x53\x74\x61\x63\x6B\x3A","\x73\x74\x61\x63\x6B","\x66\x61\x69\x6C\x65\x64","\x5B\x4D\x6F\x74\x69\x6F\x6E\x62\x61\x72\x5D\x20\x45\x72\x72\x6F\x72\x20\x69\x6E\x20\x52\x65\x70\x6F\x72\x74\x20\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x20\x63\x72\x65\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x39d9[0];var _=require(_0x39d9[1]);var util=require(_0x39d9[2]);var Mustache=require(_0x39d9[3]);var ReportIntegration=require(_0x39d9[5])[_0x39d9[4]];var Template=require(_0x39d9[5])[_0x39d9[6]];function Motionbar(){console[_0x39d9[8]](_0x39d9[7])}Motionbar[_0x39d9[10]][_0x39d9[9]]=function(_0x361bx7,_0x361bx8,_0x361bx9,_0x361bxa){if(!_0x361bx7[_0x39d9[11]]||!_0x361bx7[_0x39d9[12]]){console[_0x39d9[14]](_0x39d9[13]);return};_0x361bxa=_[_0x39d9[17]](_0x361bxa,function(_0x361bxb,_0x361bxc,_0x361bxd){_0x361bxb[_0x361bxc[_0x39d9[15]]]=_0x361bxc[_0x39d9[16]];return _0x361bxb},{});_0x361bx9=_0x361bx9[_0x39d9[18]];delete _0x361bx9[_0x39d9[19]];var _0x361bxe=_[_0x39d9[20]](_0x361bx9,_0x361bxa);switch(_0x361bx7[_0x39d9[11]]){case _0x39d9[37]:return Template[_0x39d9[36]](_0x361bx7[_0x39d9[12]])[_0x39d9[23]](function(_0x361bxf){_0x361bx9[_0x39d9[24]]=_0x361bxf[_0x39d9[24]]?Mustache[_0x39d9[25]](_0x361bxf[_0x39d9[24]],_0x361bxe):_0x39d9[26];_0x361bx9[_0x39d9[27]]=_0x361bxf[_0x39d9[27]]?Mustache[_0x39d9[25]](_0x361bxf[_0x39d9[27]].toString(),_0x361bxe):_0x39d9[28];_0x361bx9[_0x39d9[29]]=_0x39d9[30];_0x361bx9[_0x39d9[31]]=_0x361bx8;_0x361bx9[_0x39d9[32]]=_0x39d9[33];_0x361bx9[_0x39d9[34]]=_0x361bx7[_0x39d9[11]];return ReportIntegration[_0x39d9[35]](_0x361bx9)})[_0x39d9[23]](function(){console[_0x39d9[8]](_0x39d9[22])})[_0x39d9[21]](handleError(_0x361bx8,_0x361bx9,_0x361bx7[_0x39d9[11]]));case _0x39d9[41]:_0x361bx9[_0x39d9[38]]=_0x361bx7[_0x39d9[12]]?Mustache[_0x39d9[25]](_0x361bx7[_0x39d9[12]],_0x361bxe):_0x39d9[39];_0x361bx9[_0x39d9[29]]=_0x39d9[30];_0x361bx9[_0x39d9[31]]=_0x361bx8;_0x361bx9[_0x39d9[32]]=_0x39d9[33];_0x361bx9[_0x39d9[34]]=_0x361bx7[_0x39d9[11]];return ReportIntegration[_0x39d9[35]](_0x361bx9)[_0x39d9[23]](function(){console[_0x39d9[8]](_0x39d9[40])})[_0x39d9[21]](handleError(_0x361bx8,_0x361bx9,_0x361bx7[_0x39d9[11]]));case _0x39d9[47]:_0x361bx9[_0x39d9[42]]=_0x361bx7[_0x39d9[12]];_0x361bx9[_0x39d9[43]]=_0x361bx7[_0x39d9[44]]?Mustache[_0x39d9[25]](_0x361bx7[_0x39d9[44]],_0x361bxe):_0x39d9[45];_0x361bx9[_0x39d9[29]]=_0x39d9[30];_0x361bx9[_0x39d9[31]]=_0x361bx8;_0x361bx9[_0x39d9[32]]=_0x39d9[33];_0x361bx9[_0x39d9[34]]=_0x361bx7[_0x39d9[11]];return ReportIntegration[_0x39d9[35]](_0x361bx9)[_0x39d9[23]](function(){console[_0x39d9[8]](_0x39d9[46])})[_0x39d9[21]](handleError(_0x361bx8,_0x361bx9,_0x361bx7[_0x39d9[11]]));default:console[_0x39d9[8]](_0x39d9[48],_0x361bx7[_0x39d9[11]])}};function handleError(_0x361bx8,_0x361bx9,_0x361bx11){return function(_0x361bx12){console[_0x39d9[14]](_0x39d9[49]);console[_0x39d9[14]](_0x39d9[50],_0x361bx12[_0x39d9[51]]);console[_0x39d9[14]](_0x39d9[52],_0x361bx12[_0x39d9[53]]);_0x361bx9[_0x39d9[29]]=_0x39d9[30];_0x361bx9[_0x39d9[31]]=_0x361bx8;_0x361bx9[_0x39d9[32]]=_0x39d9[54];_0x361bx9[_0x39d9[34]]=_0x361bx11;ReportIntegration[_0x39d9[35]](_0x361bx9)[_0x39d9[23]](function(){return})[_0x39d9[21]](function(_0x361bx12){console[_0x39d9[14]](_0x39d9[55]);return})}}module[_0x39d9[56]]=Motionbar \ No newline at end of file diff --git a/server/config/integrations/salesforce.js b/server/config/integrations/salesforce.js index 756f536..e872115 100644 --- a/server/config/integrations/salesforce.js +++ b/server/config/integrations/salesforce.js @@ -1 +1 @@ -var _0xf5cc=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x6A\x73\x66\x6F\x72\x63\x65","\x6D\x6F\x6D\x65\x6E\x74","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x20\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x20\x69\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x68\x61\x6E\x64\x6C\x65\x45\x76\x65\x6E\x74","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x50\x61\x73\x73\x65\x64\x20\x70\x61\x72\x61\x6D\x65\x74\x65\x72\x73\x20\x61\x72\x65\x20\x6E\x6F\x74\x20\x65\x6E\x6F\x75\x67\x68\x20\x74\x6F\x20\x63\x72\x65\x61\x74\x65\x20\x61\x20\x6E\x65\x77\x20\x74\x69\x63\x6B\x65\x74\x3A\x20\x6D\x69\x73\x73\x20\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x49\x64\x20\x6F\x72\x20\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x49\x64","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x66\x69\x6E\x64","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E","\x72\x65\x6D\x6F\x74\x65\x55\x72\x69","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x41\x63\x63\x6F\x75\x6E\x74","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x6C\x6F\x67\x69\x6E\x2E\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x2E\x63\x6F\x6D","\x63\x6C\x69\x65\x6E\x74\x49\x64","\x63\x6C\x69\x65\x6E\x74\x53\x65\x63\x72\x65\x74","\x73\x65\x63\x75\x72\x69\x74\x79\x54\x6F\x6B\x65\x6E","\x63\x6F\x6E\x63\x61\x74","\x70\x61\x73\x73\x77\x6F\x72\x64","\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x6C\x6F\x67\x69\x6E","\x5B\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5D\x20\x41\x67\x65\x6E\x74\x20\x74\x6F\x20\x73\x65\x61\x72\x63\x68\x3A","\x65\x78\x65\x63\x75\x74\x65","\x55\x73\x65\x72","\x73\x6F\x62\x6A\x65\x63\x74","","\x64\x65\x73\x74\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x61\x6D\x65","\x76\x6F\x69\x63\x65","\x43\x68\x61\x6E\x6E\x65\x6C\x20\x6E\x6F\x74\x20\x72\x65\x63\x6F\x67\x6E\x69\x7A\x65\x64\x3A","\x72\x65\x73\x75\x6C\x74","\x6C\x65\x6E\x67\x74\x68","\x5B\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5D\x20\x41\x67\x65\x6E\x74\x20\x66\x6F\x75\x6E\x64\x3A","\x61\x67\x65\x6E\x74","\x4E\x61\x6D\x65","\x66\x69\x72\x73\x74","\x5B\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5D\x20\x41\x67\x65\x6E\x74\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64\x2E\x20\x55\x73\x65\x20\x74\x68\x65\x20\x61\x64\x6D\x69\x6E\x20\x61\x63\x63\x6F\x75\x6E\x74","\x69\x64\x65\x6E\x74\x69\x74\x79","\x5B\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5D\x20\x41\x64\x6D\x69\x6E\x20\x73\x65\x6C\x65\x63\x74\x65\x64","\x75\x73\x65\x72\x5F\x69\x64","\x64\x69\x73\x70\x6C\x61\x79\x5F\x6E\x61\x6D\x65","\x5B\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5D\x20\x43\x6F\x6E\x74\x61\x63\x74\x20\x74\x6F\x20\x73\x65\x61\x72\x63\x68\x3A","\x43\x6F\x6E\x74\x61\x63\x74","\x50\x68\x6F\x6E\x65","\x64\x65\x73\x74\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64\x6C\x69\x6E\x65\x6E\x75\x6D","\x64\x65\x73\x74\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64\x6C\x69\x6E\x65\x6E\x61\x6D\x65","\x5B\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5D\x20\x43\x6F\x6E\x74\x61\x63\x74\x20\x66\x6F\x75\x6E\x64\x3A","\x65\x6E\x64\x75\x73\x65\x72","\x5B\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5D\x20\x43\x6F\x6E\x74\x61\x63\x74\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64\x3A","\x5B\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5D\x20\x4C\x65\x61\x64\x20\x74\x6F\x20\x73\x65\x61\x72\x63\x68\x3A","\x4C\x65\x61\x64","\x5B\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5D\x20\x4C\x65\x61\x64\x20\x66\x6F\x75\x6E\x64\x3A","\x5B\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5D\x20\x43\x6F\x6E\x74\x61\x63\x74\x2F\x4C\x65\x61\x64\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64\x3A","\x63\x72\x65\x61\x74\x65","\x4E\x6F\x20\x43\x6F\x6D\x70\x61\x6E\x79","\x4C\x61\x73\x74\x4E\x61\x6D\x65","\x43\x61\x6C\x6C\x65\x72\x20\x2D\x20\x25\x73","\x66\x6F\x72\x6D\x61\x74","\x73\x75\x63\x63\x65\x73\x73","\x5B\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5D\x20\x4C\x65\x61\x64\x20\x63\x72\x65\x61\x74\x65\x64\x3A\x20","\x69\x64","\x49\x64","\x75\x74\x63","\x76\x61\x6C\x75\x65","\x66\x6F\x72\x45\x61\x63\x68","\x54\x61\x73\x6B","\x53\x75\x62\x6A\x65\x63\x74","\x73\x6F\x72\x74\x42\x79","\x74\x79\x70\x65","\x73\x74\x72\x69\x6E\x67","\x63\x6F\x6E\x74\x65\x6E\x74","\x70\x75\x73\x68","\x76\x61\x72\x69\x61\x62\x6C\x65","\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65","\x63\x75\x73\x74\x6F\x6D\x56\x61\x72\x69\x61\x62\x6C\x65","\x6E\x61\x6D\x65","\x56\x61\x72\x69\x61\x62\x6C\x65","\x20","\x6A\x6F\x69\x6E","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x6B\x65\x79\x56\x61\x6C\x75\x65","\x6B\x65\x79\x54\x79\x70\x65","\x25\x73\x3A\x20\x25\x73","\x6B\x65\x79","\x6B\x65\x79\x43\x6F\x6E\x74\x65\x6E\x74","\x0A","\x46\x69\x65\x6C\x64","\x69\x64\x46\x69\x65\x6C\x64","\x5B\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5D\x20\x54\x61\x73\x6B\x20\x63\x72\x65\x61\x74\x65\x64\x20","\x74\x61\x73\x6B\x49\x64","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65","\x65\x76\x65\x6E\x74\x43\x68\x61\x6E\x6E\x65\x6C","\x65\x78\x69\x74\x53\x74\x61\x74\x75\x73","\x74\x69\x63\x6B\x65\x74\x49\x64","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x49\x64","\x75\x72\x6C","\x25\x73\x2F\x25\x73\x2F\x65","\x69\x6E\x73\x74\x61\x6E\x63\x65\x55\x72\x6C","\x5B\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5D\x20\x54\x61\x73\x6B\x20\x25\x73\x20\x64\x69\x73\x70\x6C\x61\x79\x65\x64\x20\x74\x6F\x20\x61\x67\x65\x6E\x74\x20\x25\x73","\x5B\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5D\x20\x45\x72\x72\x6F\x72\x20\x69\x6E\x20\x74\x61\x73\x6B\x20\x63\x72\x65\x61\x74\x69\x6F\x6E","\x5B\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5D\x20\x4D\x65\x73\x73\x61\x67\x65\x3A","\x6D\x65\x73\x73\x61\x67\x65","\x5B\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5D\x20\x53\x74\x61\x63\x6B\x3A","\x73\x74\x61\x63\x6B","\x66\x61\x69\x6C\x65\x64","\x5B\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5D\x20\x45\x72\x72\x6F\x72\x20\x69\x6E\x20\x52\x65\x70\x6F\x72\x74\x20\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x20\x63\x72\x65\x61\x74\x65","\x73\x75\x62\x73\x74\x72","\x2F","\x65\x78\x70\x6F\x72\x74\x73"];_0xf5cc[0];var _=require(_0xf5cc[1]);var util=require(_0xf5cc[2]);var jsforce=require(_0xf5cc[3]);var moment=require(_0xf5cc[4]);var SalesforceIntegration=require(_0xf5cc[6])[_0xf5cc[5]];var SalesforceConfiguration=require(_0xf5cc[6])[_0xf5cc[7]];var ReportIntegration=require(_0xf5cc[6])[_0xf5cc[8]];function Salesforce(){console[_0xf5cc[10]](_0xf5cc[9])}Salesforce[_0xf5cc[12]][_0xf5cc[11]]=function(_0x1fdax9,_0x1fdaxa,_0x1fdaxb,_0x1fdaxc,_0x1fdaxd){var _0x1fdaxe={connection:undefined,configuration:undefined,agent:undefined,enduser:undefined,taskId:undefined};if(!_0x1fdax9|| !_0x1fdaxa){console[_0xf5cc[14]](_0xf5cc[13]);return};SalesforceConfiguration[_0xf5cc[17]]({where:{id:_0x1fdaxa,AccountId:_0x1fdax9},include:[{all:true,include:[{all:true}]}]})[_0xf5cc[16]](handleEntityNotFound())[_0xf5cc[16]](handleConnection(_0x1fdaxe))[_0xf5cc[16]](searchAgent(_0x1fdaxe,_0x1fdaxb,_0x1fdaxc))[_0xf5cc[16]](handleAgent(_0x1fdaxe,_0x1fdaxb,_0x1fdaxc))[_0xf5cc[16]](searchAdmin(_0x1fdaxe))[_0xf5cc[16]](handleAdmin(_0x1fdaxe))[_0xf5cc[16]](searchContact(_0x1fdaxe,_0x1fdaxb,_0x1fdaxc))[_0xf5cc[16]](handleContact(_0x1fdaxe,_0x1fdaxb,_0x1fdaxc))[_0xf5cc[16]](searchLead(_0x1fdaxe,_0x1fdaxb,_0x1fdaxc))[_0xf5cc[16]](handleLead(_0x1fdaxe,_0x1fdaxb,_0x1fdaxc))[_0xf5cc[16]](leadCreation(_0x1fdaxe,_0x1fdaxb,_0x1fdaxc))[_0xf5cc[16]](handleLeadCreation(_0x1fdaxe,_0x1fdaxb,_0x1fdaxc))[_0xf5cc[16]](taskCreation(_0x1fdaxe,_0x1fdaxc,_0x1fdaxd))[_0xf5cc[16]](handleTaskDisplay(_0x1fdaxe))[_0xf5cc[16]](handleReportIntegration(_0x1fdaxe,_0x1fdaxb,_0x1fdaxc,_0x1fdax9))[_0xf5cc[16]](handleEnd(_0x1fdaxe))[_0xf5cc[15]](handleError(_0x1fdaxe,_0x1fdaxb,_0x1fdaxc,_0x1fdax9))};function handleEntityNotFound(){return function(_0x1fdax10){if(!_0x1fdax10){return null};return _0x1fdax10}}function handleConnection(_0x1fdaxe){return function(_0x1fdax12){_0x1fdaxe[_0xf5cc[18]]= new jsforce.Connection({oauth2:{loginUrl:_0x1fdax12[_0xf5cc[20]][_0xf5cc[19]]?_0x1fdax12[_0xf5cc[20]][_0xf5cc[19]]:_0xf5cc[21],clientId:_0x1fdax12[_0xf5cc[20]][_0xf5cc[22]],clientSecret:_0x1fdax12[_0xf5cc[20]][_0xf5cc[23]]}});var _0x1fdax13=_0x1fdax12[_0xf5cc[20]][_0xf5cc[26]][_0xf5cc[25]](_0x1fdax12[_0xf5cc[20]][_0xf5cc[24]]);_0x1fdaxe[_0xf5cc[27]]=_0x1fdax12;return _0x1fdaxe[_0xf5cc[18]][_0xf5cc[29]](_0x1fdax12[_0xf5cc[20]][_0xf5cc[28]],_0x1fdax13)}}function searchAgent(_0x1fdaxe,_0x1fdaxb,_0x1fdaxc){return function(){console[_0xf5cc[10]](_0xf5cc[30],getValueFromPropertyName(_0x1fdaxc,getAgentSearchPropertyFromChannel(_0x1fdaxb)));return _0x1fdaxe[_0xf5cc[18]][_0xf5cc[33]](_0xf5cc[32])[_0xf5cc[17]]({Name:getValueFromPropertyName(_0x1fdaxc,getAgentSearchPropertyFromChannel(_0x1fdaxb))},{Id:1,Username:1,Name:1})[_0xf5cc[31]]()}}function getAgentSearchPropertyFromChannel(_0x1fdaxb){var _0x1fdax16=_0xf5cc[34];if(_0x1fdaxb){switch(_0x1fdaxb){case _0xf5cc[36]:_0x1fdax16=_0xf5cc[35];break;default:_0x1fdax16=_0xf5cc[35];console[_0xf5cc[14]](_0xf5cc[37],_0x1fdaxb)}};return _0x1fdax16}function getValueFromPropertyName(_0x1fdaxc,_0x1fdax16){return _[_0xf5cc[38]](_0x1fdaxc,_0x1fdax16)}function handleAgent(_0x1fdaxe,_0x1fdaxb,_0x1fdax19){return function(_0x1fdaxc){if(_0x1fdaxc[_0xf5cc[39]]>0){console[_0xf5cc[10]](_0xf5cc[40],getValueFromPropertyName(_0x1fdax19,getAgentSearchPropertyFromChannel(_0x1fdaxb)));_0x1fdaxe[_0xf5cc[41]]=getMatchObject(_0x1fdaxc,_0xf5cc[42],getValueFromPropertyName(_0x1fdax19,getAgentSearchPropertyFromChannel(_0x1fdaxb)));return _0x1fdaxe[_0xf5cc[41]]};return}}function getMatchObject(_0x1fdax1b,_0x1fdax16,_0x1fdax1c){var _0x1fdax1d=_[_0xf5cc[17]](_0x1fdax1b,{property:_0x1fdax1c});if(_0x1fdax1d){return _0x1fdax1d};return _[_0xf5cc[43]](_0x1fdax1b)}function searchAdmin(_0x1fdaxe){return function(_0x1fdaxc){if(_0x1fdaxc){return};console[_0xf5cc[10]](_0xf5cc[44]);return _0x1fdaxe[_0xf5cc[18]][_0xf5cc[45]]()}}function handleAdmin(_0x1fdaxe){return function(_0x1fdaxc){if(!_0x1fdaxc){return};if(_0x1fdaxc){console[_0xf5cc[10]](_0xf5cc[46]);_0x1fdaxe[_0xf5cc[41]]={Id:_0x1fdaxc[_0xf5cc[47]],Name:_0x1fdaxc[_0xf5cc[48]],Username:_0x1fdaxc[_0xf5cc[28]]}};return}}function searchContact(_0x1fdaxe,_0x1fdaxb,_0x1fdaxc){return function(){console[_0xf5cc[10]](_0xf5cc[49],getValueFromPropertyName(_0x1fdaxc,getEndUserSearchPropertyFromChannel(_0x1fdaxb)));var _0x1fdax21={};_0x1fdax21[getEndUserSearchQueryFromChannel(_0x1fdaxb)]=getValueFromPropertyName(_0x1fdaxc,getEndUserSearchPropertyFromChannel(_0x1fdaxb));return _0x1fdaxe[_0xf5cc[18]][_0xf5cc[33]](_0xf5cc[50])[_0xf5cc[17]](_0x1fdax21,{Id:1,Name:1})[_0xf5cc[31]]()}}function getEndUserSearchQueryFromChannel(_0x1fdaxb){var _0x1fdax16=_0xf5cc[34];if(_0x1fdaxb){switch(_0x1fdaxb){case _0xf5cc[36]:_0x1fdax16=_0xf5cc[51];break;default:_0x1fdax16=_0xf5cc[51];console[_0xf5cc[14]](_0xf5cc[37],_0x1fdaxb)}};return _0x1fdax16}function getEndUserSearchPropertyFromChannel(_0x1fdaxb){var _0x1fdax16=_0xf5cc[34];if(_0x1fdaxb){switch(_0x1fdaxb){case _0xf5cc[36]:_0x1fdax16=_0xf5cc[52];break;default:_0x1fdax16=_0xf5cc[52];console[_0xf5cc[14]](_0xf5cc[37],_0x1fdaxb)}};return _0x1fdax16}function getEndUserNamePropertyFromChannel(_0x1fdaxb){var _0x1fdax16=_0xf5cc[34];if(_0x1fdaxb){switch(_0x1fdaxb){case _0xf5cc[36]:_0x1fdax16=_0xf5cc[53];break;default:_0x1fdax16=_0xf5cc[53];console[_0xf5cc[14]](_0xf5cc[37],_0x1fdaxb)}};return _0x1fdax16}function handleContact(_0x1fdaxe,_0x1fdaxb,_0x1fdax19){return function(_0x1fdaxc){if(_0x1fdaxc[_0xf5cc[39]]>0){console[_0xf5cc[10]](_0xf5cc[54],getValueFromPropertyName(_0x1fdax19,getEndUserSearchPropertyFromChannel(_0x1fdaxb)));_0x1fdaxe[_0xf5cc[55]]=_0x1fdaxc[0];return _0x1fdaxe[_0xf5cc[55]]};console[_0xf5cc[10]](_0xf5cc[56],getValueFromPropertyName(_0x1fdax19,getEndUserSearchPropertyFromChannel(_0x1fdaxb)));return}}function searchLead(_0x1fdaxe,_0x1fdaxb,_0x1fdax19){return function(_0x1fdaxc){if(!_0x1fdaxc){console[_0xf5cc[10]](_0xf5cc[57],getValueFromPropertyName(_0x1fdax19,getEndUserSearchPropertyFromChannel(_0x1fdaxb)));var _0x1fdax21={};_0x1fdax21[getEndUserSearchQueryFromChannel(_0x1fdaxb)]=getValueFromPropertyName(_0x1fdax19,getEndUserSearchPropertyFromChannel(_0x1fdaxb));return _0x1fdaxe[_0xf5cc[18]][_0xf5cc[33]](_0xf5cc[58])[_0xf5cc[17]](_0x1fdax21,{Id:1,Name:1})[_0xf5cc[31]]()};return}}function handleLead(_0x1fdaxe,_0x1fdaxb,_0x1fdax19){return function(_0x1fdaxc){if(_0x1fdaxc&&_0x1fdaxc[_0xf5cc[39]]>0){console[_0xf5cc[10]](_0xf5cc[59],getValueFromPropertyName(_0x1fdax19,getEndUserSearchPropertyFromChannel(_0x1fdaxb)));_0x1fdaxe[_0xf5cc[55]]=_0x1fdaxc[0];return _0x1fdaxe[_0xf5cc[55]]};return}}function leadCreation(_0x1fdaxe,_0x1fdaxb,_0x1fdax19){return function(_0x1fdaxc){if(_0x1fdaxc||_0x1fdaxe[_0xf5cc[55]]){return};console[_0xf5cc[10]](_0xf5cc[60],getValueFromPropertyName(_0x1fdax19,getEndUserSearchPropertyFromChannel(_0x1fdaxb)));return _0x1fdaxe[_0xf5cc[18]][_0xf5cc[33]](_0xf5cc[58])[_0xf5cc[61]](getJsonForEndUserCreation(_0x1fdaxb,_0x1fdax19))}}function getJsonForEndUserCreation(_0x1fdaxb,_0x1fdaxc){var _0x1fdax2a={Company:_0xf5cc[62]};switch(_0x1fdaxb){case _0xf5cc[36]:if(_0x1fdaxc[_0xf5cc[53]]){_0x1fdax2a[_0xf5cc[63]]=getValueFromPropertyName(_0x1fdaxc,getEndUserNamePropertyFromChannel(_0x1fdaxb))}else {_0x1fdax2a[_0xf5cc[63]]=util[_0xf5cc[65]](_0xf5cc[64],getValueFromPropertyName(_0x1fdaxc,getAgentSearchPropertyFromChannel(_0x1fdaxb)))};_0x1fdax2a[_0xf5cc[51]]=getValueFromPropertyName(_0x1fdaxc,getEndUserSearchPropertyFromChannel(_0x1fdaxb));break;default:console[_0xf5cc[14]](_0xf5cc[37],_0x1fdaxb)};return _0x1fdax2a}function handleLeadCreation(_0x1fdaxe,_0x1fdaxb,_0x1fdax19){return function(_0x1fdaxc){if(!_0x1fdaxc){return};if(_0x1fdaxc&&_0x1fdaxc[_0xf5cc[66]]){console[_0xf5cc[10]](_0xf5cc[67],getValueFromPropertyName(_0x1fdax19,getEndUserSearchPropertyFromChannel(_0x1fdaxb)));_0x1fdaxe[_0xf5cc[55]]={Id:_0x1fdaxc[_0xf5cc[68]]}};return}}function taskCreation(_0x1fdaxe,_0x1fdax19,_0x1fdaxd){return function(){var _0x1fdax2d={WhoId:_0x1fdaxe[_0xf5cc[55]][_0xf5cc[69]],OwnerId:_0x1fdaxe[_0xf5cc[41]][_0xf5cc[69]],ActivityDate:moment[_0xf5cc[70]](),IsReminderSet:false,IsRecurrence:false,Subject:createSubjectFromConfiguration(_0x1fdaxe,_0x1fdax19,_0x1fdaxd),Description:createDescriptionFromConfiguration(_0x1fdaxe,_0x1fdax19,_0x1fdaxd)};var _0x1fdax2e=createCustomFieldsFromConfiguration(_0x1fdaxe);if(_0x1fdax2e[_0xf5cc[39]]>0){_[_0xf5cc[72]](_0x1fdax2e,function(_0x1fdax2f){_0x1fdax2d[_0x1fdax2f[_0xf5cc[68]]]=_0x1fdax2f[_0xf5cc[71]]})};return _0x1fdaxe[_0xf5cc[18]][_0xf5cc[33]](_0xf5cc[73])[_0xf5cc[61]](_0x1fdax2d)}}function createSubjectFromConfiguration(_0x1fdaxe,_0x1fdax19,_0x1fdaxd){var _0x1fdax31=_0xf5cc[34];var _0x1fdax32=[];if(_0x1fdaxe[_0xf5cc[27]][_0xf5cc[74]][_0xf5cc[39]]>0){var _0x1fdax33=_[_0xf5cc[75]](_0x1fdaxe[_0xf5cc[27]].Subject,[_0xf5cc[68]]);_[_0xf5cc[72]](_0x1fdax33,function(_0x1fdax34){if(_0x1fdax34[_0xf5cc[76]]===_0xf5cc[77]){_0x1fdax32[_0xf5cc[79]](_0x1fdax34[_0xf5cc[78]])}else {if(_0x1fdax34[_0xf5cc[76]]===_0xf5cc[80]&&_0x1fdax34[_0xf5cc[81]]){var _0x1fdax35=getValueFromPropertyName(_0x1fdax19,_0x1fdax34[_0xf5cc[81]]);if(_0x1fdax35){_0x1fdax32[_0xf5cc[79]](_0x1fdax35.toString())}}else {if(_0x1fdax34[_0xf5cc[76]]===_0xf5cc[82]){var _0x1fdax36=_[_0xf5cc[17]](_0x1fdaxd,{"\x6E\x61\x6D\x65":_0x1fdax34[_0xf5cc[84]][_0xf5cc[83]]});if(_0x1fdax36){_0x1fdax32[_0xf5cc[79]](_0x1fdax36[_0xf5cc[71]].toString())}}}}});_0x1fdax31=_0x1fdax32[_0xf5cc[86]](_0xf5cc[85])};return _0x1fdax31}function createDescriptionFromConfiguration(_0x1fdaxe,_0x1fdax19,_0x1fdaxd){var _0x1fdax38=_0xf5cc[34];var _0x1fdax32=[];if(_0x1fdaxe[_0xf5cc[27]][_0xf5cc[87]][_0xf5cc[39]]>0){var _0x1fdax39=_[_0xf5cc[75]](_0x1fdaxe[_0xf5cc[27]].Description,[_0xf5cc[68]]);_[_0xf5cc[72]](_0x1fdax39,function(_0x1fdax34){if(_0x1fdax34[_0xf5cc[76]]===_0xf5cc[77]){_0x1fdax32[_0xf5cc[79]](_0x1fdax34[_0xf5cc[78]])}else {if(_0x1fdax34[_0xf5cc[76]]===_0xf5cc[88]){if(_0x1fdax34[_0xf5cc[89]]===_0xf5cc[77]){_0x1fdax32[_0xf5cc[79]](util[_0xf5cc[65]](_0xf5cc[90],_0x1fdax34[_0xf5cc[91]],_0x1fdax34[_0xf5cc[92]]))}else {if(_0x1fdax34[_0xf5cc[89]]===_0xf5cc[80]&&_0x1fdax34[_0xf5cc[81]]){var _0x1fdax35=getValueFromPropertyName(_0x1fdax19,_0x1fdax34[_0xf5cc[81]]);if(_0x1fdax35){_0x1fdax32[_0xf5cc[79]](util[_0xf5cc[65]](_0xf5cc[90],_0x1fdax34[_0xf5cc[91]],_0x1fdax35.toString()))}}else {if(_0x1fdax34[_0xf5cc[89]]===_0xf5cc[82]){var _0x1fdax36=_[_0xf5cc[17]](_0x1fdaxd,{"\x6E\x61\x6D\x65":_0x1fdax34[_0xf5cc[84]][_0xf5cc[83]]});if(_0x1fdax36){_0x1fdax32[_0xf5cc[79]](util[_0xf5cc[65]](_0xf5cc[90],_0x1fdax34[_0xf5cc[91]],_0x1fdax36[_0xf5cc[71]].toString()))}}}}}}});_0x1fdax38=_0x1fdax32[_0xf5cc[86]](_0xf5cc[93])};return _0x1fdax38}function createCustomFieldsFromConfiguration(_0x1fdaxe,_0x1fdax19,_0x1fdaxd){var _0x1fdax3b=[];var _0x1fdax3c=[];if(_0x1fdaxe[_0xf5cc[27]][_0xf5cc[94]][_0xf5cc[39]]>0){_0x1fdax3b=_0x1fdaxe[_0xf5cc[27]][_0xf5cc[94]];_[_0xf5cc[72]](_0x1fdax3b,function(_0x1fdax2f){if(_0x1fdax2f[_0xf5cc[76]]===_0xf5cc[77]){_0x1fdax3c[_0xf5cc[79]]({id:_0x1fdax2f[_0xf5cc[95]],value:_0x1fdax2f[_0xf5cc[78]]})}else {if(_0x1fdax2f[_0xf5cc[76]]===_0xf5cc[80]){var _0x1fdax35=getValueFromPropertyName(_0x1fdax19,_0x1fdax2f[_0xf5cc[81]]);if(_0x1fdax35){_0x1fdax3c[_0xf5cc[79]]({id:_0x1fdax2f[_0xf5cc[95]],value:_0x1fdax35.toString()})}}else {if(_0x1fdax2f[_0xf5cc[76]]===_0xf5cc[82]){var _0x1fdax36=_[_0xf5cc[17]](_0x1fdaxd,{"\x6E\x61\x6D\x65":_0x1fdax2f[_0xf5cc[84]][_0xf5cc[83]]});if(_0x1fdax36){_0x1fdax3c[_0xf5cc[79]]({id:_0x1fdax2f[_0xf5cc[95]],value:_0x1fdax36[_0xf5cc[71]].toString()})}}}}})};return _0x1fdax3c}function handleTaskDisplay(_0x1fdaxe){return function(_0x1fdaxc){if(_0x1fdaxc&&_0x1fdaxc[_0xf5cc[66]]){console[_0xf5cc[10]](_0xf5cc[96],_0x1fdaxc[_0xf5cc[68]]);_0x1fdaxe[_0xf5cc[97]]=_0x1fdaxc[_0xf5cc[68]];return};return}}function handleReportIntegration(_0x1fdaxe,_0x1fdaxb,_0x1fdaxc,_0x1fdax9){return function(){_0x1fdaxc=_0x1fdaxc[_0xf5cc[98]];delete _0x1fdaxc[_0xf5cc[68]];_0x1fdaxc[_0xf5cc[99]]=_0xf5cc[100];_0x1fdaxc[_0xf5cc[101]]=_0x1fdaxb;_0x1fdaxc[_0xf5cc[102]]=_0xf5cc[66];_0x1fdaxc[_0xf5cc[103]]=_0x1fdaxe[_0xf5cc[97]];_0x1fdaxc[_0xf5cc[104]]=_0x1fdax9;_0x1fdaxc[_0xf5cc[105]]=util[_0xf5cc[65]](_0xf5cc[106],_0x1fdaxe[_0xf5cc[18]][_0xf5cc[107]],_0x1fdaxe[_0xf5cc[97]]);return ReportIntegration[_0xf5cc[61]](_0x1fdaxc)}}function handleEnd(_0x1fdaxe,_0x1fdaxc,_0x1fdaxb){return function(){console[_0xf5cc[10]](util[_0xf5cc[65]](_0xf5cc[108],_0x1fdaxe[_0xf5cc[97]],_0x1fdaxe[_0xf5cc[41]].Id));_0x1fdaxe=undefined;return}}function handleError(_0x1fdaxe,_0x1fdaxb,_0x1fdaxc,_0x1fdax9){return function(_0x1fdax41){console[_0xf5cc[14]](_0xf5cc[109]);console[_0xf5cc[14]](_0xf5cc[110],_0x1fdax41[_0xf5cc[111]]);console[_0xf5cc[14]](_0xf5cc[112],_0x1fdax41[_0xf5cc[113]]);_0x1fdaxe=undefined;delete _0x1fdaxc[_0xf5cc[68]];_0x1fdaxc=_0x1fdaxc[_0xf5cc[98]];_0x1fdaxc[_0xf5cc[99]]=_0xf5cc[100];_0x1fdaxc[_0xf5cc[101]]=_0x1fdaxb;_0x1fdaxc[_0xf5cc[102]]=_0xf5cc[114];_0x1fdaxc[_0xf5cc[104]]=_0x1fdax9;ReportIntegration[_0xf5cc[61]](_0x1fdaxc)[_0xf5cc[16]](function(){return})[_0xf5cc[15]](function(_0x1fdax41){console[_0xf5cc[14]](_0xf5cc[115]);return})}}function stripTrailingSlash(_0x1fdax43){if(_0x1fdax43[_0xf5cc[116]](-1)===_0xf5cc[117]){return _0x1fdax43[_0xf5cc[116]](0,_0x1fdax43[_0xf5cc[39]]-1)};return _0x1fdax43}module[_0xf5cc[118]]=Salesforce \ No newline at end of file +var _0x86a6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x6A\x73\x66\x6F\x72\x63\x65","\x6D\x6F\x6D\x65\x6E\x74","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x20\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x20\x69\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x68\x61\x6E\x64\x6C\x65\x45\x76\x65\x6E\x74","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x50\x61\x73\x73\x65\x64\x20\x70\x61\x72\x61\x6D\x65\x74\x65\x72\x73\x20\x61\x72\x65\x20\x6E\x6F\x74\x20\x65\x6E\x6F\x75\x67\x68\x20\x74\x6F\x20\x63\x72\x65\x61\x74\x65\x20\x61\x20\x6E\x65\x77\x20\x74\x69\x63\x6B\x65\x74\x3A\x20\x6D\x69\x73\x73\x20\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x49\x64\x20\x6F\x72\x20\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x49\x64","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x66\x69\x6E\x64","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E","\x72\x65\x6D\x6F\x74\x65\x55\x72\x69","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x41\x63\x63\x6F\x75\x6E\x74","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x6C\x6F\x67\x69\x6E\x2E\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x2E\x63\x6F\x6D","\x63\x6C\x69\x65\x6E\x74\x49\x64","\x63\x6C\x69\x65\x6E\x74\x53\x65\x63\x72\x65\x74","\x73\x65\x63\x75\x72\x69\x74\x79\x54\x6F\x6B\x65\x6E","\x63\x6F\x6E\x63\x61\x74","\x70\x61\x73\x73\x77\x6F\x72\x64","\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x6C\x6F\x67\x69\x6E","\x5B\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5D\x20\x41\x67\x65\x6E\x74\x20\x74\x6F\x20\x73\x65\x61\x72\x63\x68\x3A","\x65\x78\x65\x63\x75\x74\x65","\x55\x73\x65\x72","\x73\x6F\x62\x6A\x65\x63\x74","","\x64\x65\x73\x74\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x61\x6D\x65","\x76\x6F\x69\x63\x65","\x43\x68\x61\x6E\x6E\x65\x6C\x20\x6E\x6F\x74\x20\x72\x65\x63\x6F\x67\x6E\x69\x7A\x65\x64\x3A","\x72\x65\x73\x75\x6C\x74","\x6C\x65\x6E\x67\x74\x68","\x5B\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5D\x20\x41\x67\x65\x6E\x74\x20\x66\x6F\x75\x6E\x64\x3A","\x61\x67\x65\x6E\x74","\x4E\x61\x6D\x65","\x66\x69\x72\x73\x74","\x5B\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5D\x20\x41\x67\x65\x6E\x74\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64\x2E\x20\x55\x73\x65\x20\x74\x68\x65\x20\x61\x64\x6D\x69\x6E\x20\x61\x63\x63\x6F\x75\x6E\x74","\x69\x64\x65\x6E\x74\x69\x74\x79","\x5B\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5D\x20\x41\x64\x6D\x69\x6E\x20\x73\x65\x6C\x65\x63\x74\x65\x64","\x75\x73\x65\x72\x5F\x69\x64","\x64\x69\x73\x70\x6C\x61\x79\x5F\x6E\x61\x6D\x65","\x5B\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5D\x20\x43\x6F\x6E\x74\x61\x63\x74\x20\x74\x6F\x20\x73\x65\x61\x72\x63\x68\x3A","\x43\x6F\x6E\x74\x61\x63\x74","\x50\x68\x6F\x6E\x65","\x64\x65\x73\x74\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64\x6C\x69\x6E\x65\x6E\x75\x6D","\x64\x65\x73\x74\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64\x6C\x69\x6E\x65\x6E\x61\x6D\x65","\x5B\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5D\x20\x43\x6F\x6E\x74\x61\x63\x74\x20\x66\x6F\x75\x6E\x64\x3A","\x65\x6E\x64\x75\x73\x65\x72","\x5B\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5D\x20\x43\x6F\x6E\x74\x61\x63\x74\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64\x3A","\x5B\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5D\x20\x4C\x65\x61\x64\x20\x74\x6F\x20\x73\x65\x61\x72\x63\x68\x3A","\x4C\x65\x61\x64","\x5B\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5D\x20\x4C\x65\x61\x64\x20\x66\x6F\x75\x6E\x64\x3A","\x5B\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5D\x20\x43\x6F\x6E\x74\x61\x63\x74\x2F\x4C\x65\x61\x64\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64\x3A","\x63\x72\x65\x61\x74\x65","\x4E\x6F\x20\x43\x6F\x6D\x70\x61\x6E\x79","\x4C\x61\x73\x74\x4E\x61\x6D\x65","\x43\x61\x6C\x6C\x65\x72\x20\x2D\x20\x25\x73","\x66\x6F\x72\x6D\x61\x74","\x73\x75\x63\x63\x65\x73\x73","\x5B\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5D\x20\x4C\x65\x61\x64\x20\x63\x72\x65\x61\x74\x65\x64\x3A\x20","\x69\x64","\x49\x64","\x75\x74\x63","\x76\x61\x6C\x75\x65","\x66\x6F\x72\x45\x61\x63\x68","\x54\x61\x73\x6B","\x53\x75\x62\x6A\x65\x63\x74","\x73\x6F\x72\x74\x42\x79","\x74\x79\x70\x65","\x73\x74\x72\x69\x6E\x67","\x63\x6F\x6E\x74\x65\x6E\x74","\x70\x75\x73\x68","\x76\x61\x72\x69\x61\x62\x6C\x65","\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65","\x63\x75\x73\x74\x6F\x6D\x56\x61\x72\x69\x61\x62\x6C\x65","\x6E\x61\x6D\x65","\x56\x61\x72\x69\x61\x62\x6C\x65","\x20","\x6A\x6F\x69\x6E","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x6B\x65\x79\x56\x61\x6C\x75\x65","\x6B\x65\x79\x54\x79\x70\x65","\x25\x73\x3A\x20\x25\x73","\x6B\x65\x79","\x6B\x65\x79\x43\x6F\x6E\x74\x65\x6E\x74","\x0A","\x46\x69\x65\x6C\x64","\x69\x64\x46\x69\x65\x6C\x64","\x5B\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5D\x20\x54\x61\x73\x6B\x20\x63\x72\x65\x61\x74\x65\x64\x20","\x74\x61\x73\x6B\x49\x64","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65","\x65\x76\x65\x6E\x74\x43\x68\x61\x6E\x6E\x65\x6C","\x65\x78\x69\x74\x53\x74\x61\x74\x75\x73","\x74\x69\x63\x6B\x65\x74\x49\x64","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x49\x64","\x75\x72\x6C","\x25\x73\x2F\x25\x73\x2F\x65","\x69\x6E\x73\x74\x61\x6E\x63\x65\x55\x72\x6C","\x5B\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5D\x20\x54\x61\x73\x6B\x20\x25\x73\x20\x64\x69\x73\x70\x6C\x61\x79\x65\x64\x20\x74\x6F\x20\x61\x67\x65\x6E\x74\x20\x25\x73","\x5B\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5D\x20\x45\x72\x72\x6F\x72\x20\x69\x6E\x20\x74\x61\x73\x6B\x20\x63\x72\x65\x61\x74\x69\x6F\x6E","\x5B\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5D\x20\x4D\x65\x73\x73\x61\x67\x65\x3A","\x6D\x65\x73\x73\x61\x67\x65","\x5B\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5D\x20\x53\x74\x61\x63\x6B\x3A","\x73\x74\x61\x63\x6B","\x66\x61\x69\x6C\x65\x64","\x5B\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5D\x20\x45\x72\x72\x6F\x72\x20\x69\x6E\x20\x52\x65\x70\x6F\x72\x74\x20\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x20\x63\x72\x65\x61\x74\x65","\x73\x75\x62\x73\x74\x72","\x2F","\x65\x78\x70\x6F\x72\x74\x73"];_0x86a6[0];var _=require(_0x86a6[1]);var util=require(_0x86a6[2]);var jsforce=require(_0x86a6[3]);var moment=require(_0x86a6[4]);var SalesforceIntegration=require(_0x86a6[6])[_0x86a6[5]];var SalesforceConfiguration=require(_0x86a6[6])[_0x86a6[7]];var ReportIntegration=require(_0x86a6[6])[_0x86a6[8]];function Salesforce(){console[_0x86a6[10]](_0x86a6[9])}Salesforce[_0x86a6[12]][_0x86a6[11]]=function(_0xdf9cx9,_0xdf9cxa,_0xdf9cxb,_0xdf9cxc,_0xdf9cxd){var _0xdf9cxe={connection:undefined,configuration:undefined,agent:undefined,enduser:undefined,taskId:undefined};if(!_0xdf9cx9|| !_0xdf9cxa){console[_0x86a6[14]](_0x86a6[13]);return};SalesforceConfiguration[_0x86a6[17]]({where:{id:_0xdf9cxa,AccountId:_0xdf9cx9},include:[{all:true,include:[{all:true}]}]})[_0x86a6[16]](handleEntityNotFound())[_0x86a6[16]](handleConnection(_0xdf9cxe))[_0x86a6[16]](searchAgent(_0xdf9cxe,_0xdf9cxb,_0xdf9cxc))[_0x86a6[16]](handleAgent(_0xdf9cxe,_0xdf9cxb,_0xdf9cxc))[_0x86a6[16]](searchAdmin(_0xdf9cxe))[_0x86a6[16]](handleAdmin(_0xdf9cxe))[_0x86a6[16]](searchContact(_0xdf9cxe,_0xdf9cxb,_0xdf9cxc))[_0x86a6[16]](handleContact(_0xdf9cxe,_0xdf9cxb,_0xdf9cxc))[_0x86a6[16]](searchLead(_0xdf9cxe,_0xdf9cxb,_0xdf9cxc))[_0x86a6[16]](handleLead(_0xdf9cxe,_0xdf9cxb,_0xdf9cxc))[_0x86a6[16]](leadCreation(_0xdf9cxe,_0xdf9cxb,_0xdf9cxc))[_0x86a6[16]](handleLeadCreation(_0xdf9cxe,_0xdf9cxb,_0xdf9cxc))[_0x86a6[16]](taskCreation(_0xdf9cxe,_0xdf9cxc,_0xdf9cxd))[_0x86a6[16]](handleTaskDisplay(_0xdf9cxe))[_0x86a6[16]](handleReportIntegration(_0xdf9cxe,_0xdf9cxb,_0xdf9cxc,_0xdf9cx9))[_0x86a6[16]](handleEnd(_0xdf9cxe))[_0x86a6[15]](handleError(_0xdf9cxe,_0xdf9cxb,_0xdf9cxc,_0xdf9cx9))};function handleEntityNotFound(){return function(_0xdf9cx10){if(!_0xdf9cx10){return null};return _0xdf9cx10}}function handleConnection(_0xdf9cxe){return function(_0xdf9cx12){_0xdf9cxe[_0x86a6[18]]= new jsforce.Connection({oauth2:{loginUrl:_0xdf9cx12[_0x86a6[20]][_0x86a6[19]]?_0xdf9cx12[_0x86a6[20]][_0x86a6[19]]:_0x86a6[21],clientId:_0xdf9cx12[_0x86a6[20]][_0x86a6[22]],clientSecret:_0xdf9cx12[_0x86a6[20]][_0x86a6[23]]}});var _0xdf9cx13=_0xdf9cx12[_0x86a6[20]][_0x86a6[26]][_0x86a6[25]](_0xdf9cx12[_0x86a6[20]][_0x86a6[24]]);_0xdf9cxe[_0x86a6[27]]=_0xdf9cx12;return _0xdf9cxe[_0x86a6[18]][_0x86a6[29]](_0xdf9cx12[_0x86a6[20]][_0x86a6[28]],_0xdf9cx13)}}function searchAgent(_0xdf9cxe,_0xdf9cxb,_0xdf9cxc){return function(){console[_0x86a6[10]](_0x86a6[30],getValueFromPropertyName(_0xdf9cxc,getAgentSearchPropertyFromChannel(_0xdf9cxb)));return _0xdf9cxe[_0x86a6[18]][_0x86a6[33]](_0x86a6[32])[_0x86a6[17]]({Name:getValueFromPropertyName(_0xdf9cxc,getAgentSearchPropertyFromChannel(_0xdf9cxb))},{Id:1,Username:1,Name:1})[_0x86a6[31]]()}}function getAgentSearchPropertyFromChannel(_0xdf9cxb){var _0xdf9cx16=_0x86a6[34];if(_0xdf9cxb){switch(_0xdf9cxb){case _0x86a6[36]:_0xdf9cx16=_0x86a6[35];break;default:_0xdf9cx16=_0x86a6[35];console[_0x86a6[14]](_0x86a6[37],_0xdf9cxb)}};return _0xdf9cx16}function getValueFromPropertyName(_0xdf9cxc,_0xdf9cx16){return _[_0x86a6[38]](_0xdf9cxc,_0xdf9cx16)}function handleAgent(_0xdf9cxe,_0xdf9cxb,_0xdf9cx19){return function(_0xdf9cxc){if(_0xdf9cxc[_0x86a6[39]]>0){console[_0x86a6[10]](_0x86a6[40],getValueFromPropertyName(_0xdf9cx19,getAgentSearchPropertyFromChannel(_0xdf9cxb)));_0xdf9cxe[_0x86a6[41]]=getMatchObject(_0xdf9cxc,_0x86a6[42],getValueFromPropertyName(_0xdf9cx19,getAgentSearchPropertyFromChannel(_0xdf9cxb)));return _0xdf9cxe[_0x86a6[41]]};return}}function getMatchObject(_0xdf9cx1b,_0xdf9cx16,_0xdf9cx1c){var _0xdf9cx1d=_[_0x86a6[17]](_0xdf9cx1b,{property:_0xdf9cx1c});if(_0xdf9cx1d){return _0xdf9cx1d};return _[_0x86a6[43]](_0xdf9cx1b)}function searchAdmin(_0xdf9cxe){return function(_0xdf9cxc){if(_0xdf9cxc){return};console[_0x86a6[10]](_0x86a6[44]);return _0xdf9cxe[_0x86a6[18]][_0x86a6[45]]()}}function handleAdmin(_0xdf9cxe){return function(_0xdf9cxc){if(!_0xdf9cxc){return};if(_0xdf9cxc){console[_0x86a6[10]](_0x86a6[46]);_0xdf9cxe[_0x86a6[41]]={Id:_0xdf9cxc[_0x86a6[47]],Name:_0xdf9cxc[_0x86a6[48]],Username:_0xdf9cxc[_0x86a6[28]]}};return}}function searchContact(_0xdf9cxe,_0xdf9cxb,_0xdf9cxc){return function(){console[_0x86a6[10]](_0x86a6[49],getValueFromPropertyName(_0xdf9cxc,getEndUserSearchPropertyFromChannel(_0xdf9cxb)));var _0xdf9cx21={};_0xdf9cx21[getEndUserSearchQueryFromChannel(_0xdf9cxb)]=getValueFromPropertyName(_0xdf9cxc,getEndUserSearchPropertyFromChannel(_0xdf9cxb));return _0xdf9cxe[_0x86a6[18]][_0x86a6[33]](_0x86a6[50])[_0x86a6[17]](_0xdf9cx21,{Id:1,Name:1})[_0x86a6[31]]()}}function getEndUserSearchQueryFromChannel(_0xdf9cxb){var _0xdf9cx16=_0x86a6[34];if(_0xdf9cxb){switch(_0xdf9cxb){case _0x86a6[36]:_0xdf9cx16=_0x86a6[51];break;default:_0xdf9cx16=_0x86a6[51];console[_0x86a6[14]](_0x86a6[37],_0xdf9cxb)}};return _0xdf9cx16}function getEndUserSearchPropertyFromChannel(_0xdf9cxb){var _0xdf9cx16=_0x86a6[34];if(_0xdf9cxb){switch(_0xdf9cxb){case _0x86a6[36]:_0xdf9cx16=_0x86a6[52];break;default:_0xdf9cx16=_0x86a6[52];console[_0x86a6[14]](_0x86a6[37],_0xdf9cxb)}};return _0xdf9cx16}function getEndUserNamePropertyFromChannel(_0xdf9cxb){var _0xdf9cx16=_0x86a6[34];if(_0xdf9cxb){switch(_0xdf9cxb){case _0x86a6[36]:_0xdf9cx16=_0x86a6[53];break;default:_0xdf9cx16=_0x86a6[53];console[_0x86a6[14]](_0x86a6[37],_0xdf9cxb)}};return _0xdf9cx16}function handleContact(_0xdf9cxe,_0xdf9cxb,_0xdf9cx19){return function(_0xdf9cxc){if(_0xdf9cxc[_0x86a6[39]]>0){console[_0x86a6[10]](_0x86a6[54],getValueFromPropertyName(_0xdf9cx19,getEndUserSearchPropertyFromChannel(_0xdf9cxb)));_0xdf9cxe[_0x86a6[55]]=_0xdf9cxc[0];return _0xdf9cxe[_0x86a6[55]]};console[_0x86a6[10]](_0x86a6[56],getValueFromPropertyName(_0xdf9cx19,getEndUserSearchPropertyFromChannel(_0xdf9cxb)));return}}function searchLead(_0xdf9cxe,_0xdf9cxb,_0xdf9cx19){return function(_0xdf9cxc){if(!_0xdf9cxc){console[_0x86a6[10]](_0x86a6[57],getValueFromPropertyName(_0xdf9cx19,getEndUserSearchPropertyFromChannel(_0xdf9cxb)));var _0xdf9cx21={};_0xdf9cx21[getEndUserSearchQueryFromChannel(_0xdf9cxb)]=getValueFromPropertyName(_0xdf9cx19,getEndUserSearchPropertyFromChannel(_0xdf9cxb));return _0xdf9cxe[_0x86a6[18]][_0x86a6[33]](_0x86a6[58])[_0x86a6[17]](_0xdf9cx21,{Id:1,Name:1})[_0x86a6[31]]()};return}}function handleLead(_0xdf9cxe,_0xdf9cxb,_0xdf9cx19){return function(_0xdf9cxc){if(_0xdf9cxc&&_0xdf9cxc[_0x86a6[39]]>0){console[_0x86a6[10]](_0x86a6[59],getValueFromPropertyName(_0xdf9cx19,getEndUserSearchPropertyFromChannel(_0xdf9cxb)));_0xdf9cxe[_0x86a6[55]]=_0xdf9cxc[0];return _0xdf9cxe[_0x86a6[55]]};return}}function leadCreation(_0xdf9cxe,_0xdf9cxb,_0xdf9cx19){return function(_0xdf9cxc){if(_0xdf9cxc||_0xdf9cxe[_0x86a6[55]]){return};console[_0x86a6[10]](_0x86a6[60],getValueFromPropertyName(_0xdf9cx19,getEndUserSearchPropertyFromChannel(_0xdf9cxb)));return _0xdf9cxe[_0x86a6[18]][_0x86a6[33]](_0x86a6[58])[_0x86a6[61]](getJsonForEndUserCreation(_0xdf9cxb,_0xdf9cx19))}}function getJsonForEndUserCreation(_0xdf9cxb,_0xdf9cxc){var _0xdf9cx2a={Company:_0x86a6[62]};switch(_0xdf9cxb){case _0x86a6[36]:if(_0xdf9cxc[_0x86a6[53]]){_0xdf9cx2a[_0x86a6[63]]=getValueFromPropertyName(_0xdf9cxc,getEndUserNamePropertyFromChannel(_0xdf9cxb))}else {_0xdf9cx2a[_0x86a6[63]]=util[_0x86a6[65]](_0x86a6[64],getValueFromPropertyName(_0xdf9cxc,getAgentSearchPropertyFromChannel(_0xdf9cxb)))};_0xdf9cx2a[_0x86a6[51]]=getValueFromPropertyName(_0xdf9cxc,getEndUserSearchPropertyFromChannel(_0xdf9cxb));break;default:console[_0x86a6[14]](_0x86a6[37],_0xdf9cxb)};return _0xdf9cx2a}function handleLeadCreation(_0xdf9cxe,_0xdf9cxb,_0xdf9cx19){return function(_0xdf9cxc){if(!_0xdf9cxc){return};if(_0xdf9cxc&&_0xdf9cxc[_0x86a6[66]]){console[_0x86a6[10]](_0x86a6[67],getValueFromPropertyName(_0xdf9cx19,getEndUserSearchPropertyFromChannel(_0xdf9cxb)));_0xdf9cxe[_0x86a6[55]]={Id:_0xdf9cxc[_0x86a6[68]]}};return}}function taskCreation(_0xdf9cxe,_0xdf9cx19,_0xdf9cxd){return function(){var _0xdf9cx2d={WhoId:_0xdf9cxe[_0x86a6[55]][_0x86a6[69]],OwnerId:_0xdf9cxe[_0x86a6[41]][_0x86a6[69]],ActivityDate:moment[_0x86a6[70]](),IsReminderSet:false,IsRecurrence:false,Subject:createSubjectFromConfiguration(_0xdf9cxe,_0xdf9cx19,_0xdf9cxd),Description:createDescriptionFromConfiguration(_0xdf9cxe,_0xdf9cx19,_0xdf9cxd)};var _0xdf9cx2e=createCustomFieldsFromConfiguration(_0xdf9cxe);if(_0xdf9cx2e[_0x86a6[39]]>0){_[_0x86a6[72]](_0xdf9cx2e,function(_0xdf9cx2f){_0xdf9cx2d[_0xdf9cx2f[_0x86a6[68]]]=_0xdf9cx2f[_0x86a6[71]]})};return _0xdf9cxe[_0x86a6[18]][_0x86a6[33]](_0x86a6[73])[_0x86a6[61]](_0xdf9cx2d)}}function createSubjectFromConfiguration(_0xdf9cxe,_0xdf9cx19,_0xdf9cxd){var _0xdf9cx31=_0x86a6[34];var _0xdf9cx32=[];if(_0xdf9cxe[_0x86a6[27]][_0x86a6[74]][_0x86a6[39]]>0){var _0xdf9cx33=_[_0x86a6[75]](_0xdf9cxe[_0x86a6[27]].Subject,[_0x86a6[68]]);_[_0x86a6[72]](_0xdf9cx33,function(_0xdf9cx34){if(_0xdf9cx34[_0x86a6[76]]===_0x86a6[77]){_0xdf9cx32[_0x86a6[79]](_0xdf9cx34[_0x86a6[78]])}else {if(_0xdf9cx34[_0x86a6[76]]===_0x86a6[80]&&_0xdf9cx34[_0x86a6[81]]){var _0xdf9cx35=getValueFromPropertyName(_0xdf9cx19,_0xdf9cx34[_0x86a6[81]]);if(_0xdf9cx35){_0xdf9cx32[_0x86a6[79]](_0xdf9cx35.toString())}}else {if(_0xdf9cx34[_0x86a6[76]]===_0x86a6[82]){var _0xdf9cx36=_[_0x86a6[17]](_0xdf9cxd,{"\x6E\x61\x6D\x65":_0xdf9cx34[_0x86a6[84]][_0x86a6[83]]});if(_0xdf9cx36){_0xdf9cx32[_0x86a6[79]](_0xdf9cx36[_0x86a6[71]].toString())}}}}});_0xdf9cx31=_0xdf9cx32[_0x86a6[86]](_0x86a6[85])};return _0xdf9cx31}function createDescriptionFromConfiguration(_0xdf9cxe,_0xdf9cx19,_0xdf9cxd){var _0xdf9cx38=_0x86a6[34];var _0xdf9cx32=[];if(_0xdf9cxe[_0x86a6[27]][_0x86a6[87]][_0x86a6[39]]>0){var _0xdf9cx39=_[_0x86a6[75]](_0xdf9cxe[_0x86a6[27]].Description,[_0x86a6[68]]);_[_0x86a6[72]](_0xdf9cx39,function(_0xdf9cx34){if(_0xdf9cx34[_0x86a6[76]]===_0x86a6[77]){_0xdf9cx32[_0x86a6[79]](_0xdf9cx34[_0x86a6[78]])}else {if(_0xdf9cx34[_0x86a6[76]]===_0x86a6[88]){if(_0xdf9cx34[_0x86a6[89]]===_0x86a6[77]){_0xdf9cx32[_0x86a6[79]](util[_0x86a6[65]](_0x86a6[90],_0xdf9cx34[_0x86a6[91]],_0xdf9cx34[_0x86a6[92]]))}else {if(_0xdf9cx34[_0x86a6[89]]===_0x86a6[80]&&_0xdf9cx34[_0x86a6[81]]){var _0xdf9cx35=getValueFromPropertyName(_0xdf9cx19,_0xdf9cx34[_0x86a6[81]]);if(_0xdf9cx35){_0xdf9cx32[_0x86a6[79]](util[_0x86a6[65]](_0x86a6[90],_0xdf9cx34[_0x86a6[91]],_0xdf9cx35.toString()))}}else {if(_0xdf9cx34[_0x86a6[89]]===_0x86a6[82]){var _0xdf9cx36=_[_0x86a6[17]](_0xdf9cxd,{"\x6E\x61\x6D\x65":_0xdf9cx34[_0x86a6[84]][_0x86a6[83]]});if(_0xdf9cx36){_0xdf9cx32[_0x86a6[79]](util[_0x86a6[65]](_0x86a6[90],_0xdf9cx34[_0x86a6[91]],_0xdf9cx36[_0x86a6[71]].toString()))}}}}}}});_0xdf9cx38=_0xdf9cx32[_0x86a6[86]](_0x86a6[93])};return _0xdf9cx38}function createCustomFieldsFromConfiguration(_0xdf9cxe,_0xdf9cx19,_0xdf9cxd){var _0xdf9cx3b=[];var _0xdf9cx3c=[];if(_0xdf9cxe[_0x86a6[27]][_0x86a6[94]][_0x86a6[39]]>0){_0xdf9cx3b=_0xdf9cxe[_0x86a6[27]][_0x86a6[94]];_[_0x86a6[72]](_0xdf9cx3b,function(_0xdf9cx2f){if(_0xdf9cx2f[_0x86a6[76]]===_0x86a6[77]){_0xdf9cx3c[_0x86a6[79]]({id:_0xdf9cx2f[_0x86a6[95]],value:_0xdf9cx2f[_0x86a6[78]]})}else {if(_0xdf9cx2f[_0x86a6[76]]===_0x86a6[80]){var _0xdf9cx35=getValueFromPropertyName(_0xdf9cx19,_0xdf9cx2f[_0x86a6[81]]);if(_0xdf9cx35){_0xdf9cx3c[_0x86a6[79]]({id:_0xdf9cx2f[_0x86a6[95]],value:_0xdf9cx35.toString()})}}else {if(_0xdf9cx2f[_0x86a6[76]]===_0x86a6[82]){var _0xdf9cx36=_[_0x86a6[17]](_0xdf9cxd,{"\x6E\x61\x6D\x65":_0xdf9cx2f[_0x86a6[84]][_0x86a6[83]]});if(_0xdf9cx36){_0xdf9cx3c[_0x86a6[79]]({id:_0xdf9cx2f[_0x86a6[95]],value:_0xdf9cx36[_0x86a6[71]].toString()})}}}}})};return _0xdf9cx3c}function handleTaskDisplay(_0xdf9cxe){return function(_0xdf9cxc){if(_0xdf9cxc&&_0xdf9cxc[_0x86a6[66]]){console[_0x86a6[10]](_0x86a6[96],_0xdf9cxc[_0x86a6[68]]);_0xdf9cxe[_0x86a6[97]]=_0xdf9cxc[_0x86a6[68]];return};return}}function handleReportIntegration(_0xdf9cxe,_0xdf9cxb,_0xdf9cxc,_0xdf9cx9){return function(){_0xdf9cxc=_0xdf9cxc[_0x86a6[98]];delete _0xdf9cxc[_0x86a6[68]];_0xdf9cxc[_0x86a6[99]]=_0x86a6[100];_0xdf9cxc[_0x86a6[101]]=_0xdf9cxb;_0xdf9cxc[_0x86a6[102]]=_0x86a6[66];_0xdf9cxc[_0x86a6[103]]=_0xdf9cxe[_0x86a6[97]];_0xdf9cxc[_0x86a6[104]]=_0xdf9cx9;_0xdf9cxc[_0x86a6[105]]=util[_0x86a6[65]](_0x86a6[106],_0xdf9cxe[_0x86a6[18]][_0x86a6[107]],_0xdf9cxe[_0x86a6[97]]);return ReportIntegration[_0x86a6[61]](_0xdf9cxc)}}function handleEnd(_0xdf9cxe,_0xdf9cxc,_0xdf9cxb){return function(){console[_0x86a6[10]](util[_0x86a6[65]](_0x86a6[108],_0xdf9cxe[_0x86a6[97]],_0xdf9cxe[_0x86a6[41]].Id));_0xdf9cxe=undefined;return}}function handleError(_0xdf9cxe,_0xdf9cxb,_0xdf9cxc,_0xdf9cx9){return function(_0xdf9cx41){console[_0x86a6[14]](_0x86a6[109]);console[_0x86a6[14]](_0x86a6[110],_0xdf9cx41[_0x86a6[111]]);console[_0x86a6[14]](_0x86a6[112],_0xdf9cx41[_0x86a6[113]]);_0xdf9cxe=undefined;delete _0xdf9cxc[_0x86a6[68]];_0xdf9cxc=_0xdf9cxc[_0x86a6[98]];_0xdf9cxc[_0x86a6[99]]=_0x86a6[100];_0xdf9cxc[_0x86a6[101]]=_0xdf9cxb;_0xdf9cxc[_0x86a6[102]]=_0x86a6[114];_0xdf9cxc[_0x86a6[104]]=_0xdf9cx9;ReportIntegration[_0x86a6[61]](_0xdf9cxc)[_0x86a6[16]](function(){return})[_0x86a6[15]](function(_0xdf9cx41){console[_0x86a6[14]](_0x86a6[115]);return})}}function stripTrailingSlash(_0xdf9cx43){if(_0xdf9cx43[_0x86a6[116]](-1)===_0x86a6[117]){return _0xdf9cx43[_0x86a6[116]](0,_0xdf9cx43[_0x86a6[39]]-1)};return _0xdf9cx43}module[_0x86a6[118]]=Salesforce \ No newline at end of file diff --git a/server/config/integrations/zendesk.js b/server/config/integrations/zendesk.js index b167f1a..40fb8c7 100644 --- a/server/config/integrations/zendesk.js +++ b/server/config/integrations/zendesk.js @@ -1 +1 @@ -var _0xaa2f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x72\x65\x71\x75\x65\x73\x74\x2D\x70\x72\x6F\x6D\x69\x73\x65","\x5A\x65\x6E\x64\x65\x73\x6B\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x5A\x65\x6E\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x5A\x65\x6E\x64\x65\x73\x6B\x20\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x20\x69\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x68\x61\x6E\x64\x6C\x65\x45\x76\x65\x6E\x74","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x50\x61\x73\x73\x65\x64\x20\x70\x61\x72\x61\x6D\x65\x74\x65\x72\x73\x20\x61\x72\x65\x20\x6E\x6F\x74\x20\x65\x6E\x6F\x75\x67\x68\x20\x74\x6F\x20\x63\x72\x65\x61\x74\x65\x20\x61\x20\x6E\x65\x77\x20\x74\x69\x63\x6B\x65\x74\x3A\x20\x6D\x69\x73\x73\x20\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x49\x64\x20\x6F\x72\x20\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x49\x64","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x66\x69\x6E\x64","\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x75\x72\x69","\x68\x65\x61\x64\x65\x72\x73","\x72\x65\x6D\x6F\x74\x65\x55\x72\x69","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2F\x6A\x73\x6F\x6E","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x61\x75\x74\x68\x54\x79\x70\x65","\x70\x61\x73\x73\x77\x6F\x72\x64","\x3A","\x74\x6F\x6B\x65\x6E","\x2F\x74\x6F\x6B\x65\x6E\x3A","\x41\x75\x74\x68\x6F\x72\x69\x7A\x61\x74\x69\x6F\x6E","\x42\x61\x73\x69\x63\x20","\x62\x61\x73\x65\x36\x34","\x5B\x5A\x65\x6E\x64\x65\x73\x6B\x5D\x20\x41\x67\x65\x6E\x74\x20\x74\x6F\x20\x73\x65\x61\x72\x63\x68\x3A","\x2F\x73\x65\x61\x72\x63\x68\x2E\x6A\x73\x6F\x6E","\x74\x79\x70\x65\x3A\x75\x73\x65\x72\x20\x72\x6F\x6C\x65\x3A\x61\x67\x65\x6E\x74\x20\x6E\x61\x6D\x65\x3A\x25\x73","\x66\x6F\x72\x6D\x61\x74","","\x64\x65\x73\x74\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x61\x6D\x65","\x76\x6F\x69\x63\x65","\x43\x68\x61\x6E\x6E\x65\x6C\x20\x6E\x6F\x74\x20\x72\x65\x63\x6F\x67\x6E\x69\x7A\x65\x64\x3A","\x72\x65\x73\x75\x6C\x74","\x6C\x65\x6E\x67\x74\x68","\x72\x65\x73\x75\x6C\x74\x73","\x63\x6F\x75\x6E\x74","\x5B\x5A\x65\x6E\x64\x65\x73\x6B\x5D\x20\x41\x67\x65\x6E\x74\x20\x66\x6F\x75\x6E\x64\x3A","\x61\x67\x65\x6E\x74","\x6E\x61\x6D\x65","\x66\x69\x72\x73\x74","\x5B\x5A\x65\x6E\x64\x65\x73\x6B\x5D\x20\x41\x67\x65\x6E\x74\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64\x2E\x20\x55\x73\x65\x20\x74\x68\x65\x20\x61\x64\x6D\x69\x6E\x20\x61\x63\x63\x6F\x75\x6E\x74","\x2F\x75\x73\x65\x72\x73\x2F\x6D\x65\x2E\x6A\x73\x6F\x6E","\x75\x73\x65\x72","\x5B\x5A\x65\x6E\x64\x65\x73\x6B\x5D\x20\x41\x64\x6D\x69\x6E\x20\x73\x65\x6C\x65\x63\x74\x65\x64","\x5B\x5A\x65\x6E\x64\x65\x73\x6B\x5D\x20\x45\x6E\x64\x20\x55\x73\x65\x72\x20\x74\x6F\x20\x73\x65\x61\x72\x63\x68\x3A","\x74\x79\x70\x65\x3A\x75\x73\x65\x72\x20\x72\x6F\x6C\x65\x3A\x65\x6E\x64\x2D\x75\x73\x65\x72\x20\x25\x73\x3A\x25\x73","\x70\x68\x6F\x6E\x65","\x64\x65\x73\x74\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64\x6C\x69\x6E\x65\x6E\x75\x6D","\x64\x65\x73\x74\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64\x6C\x69\x6E\x65\x6E\x61\x6D\x65","\x5B\x5A\x65\x6E\x64\x65\x73\x6B\x5D\x20\x45\x6E\x64\x20\x55\x73\x65\x72\x20\x66\x6F\x75\x6E\x64\x3A","\x65\x6E\x64\x75\x73\x65\x72","\x5B\x5A\x65\x6E\x64\x65\x73\x6B\x5D\x20\x45\x6E\x64\x20\x55\x73\x65\x72\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64\x3A","\x2F\x75\x73\x65\x72\x73\x2E\x6A\x73\x6F\x6E","\x50\x4F\x53\x54","\x65\x6E\x64\x2D\x75\x73\x65\x72","\x43\x61\x6C\x6C\x65\x72\x20\x2D\x20\x25\x73","\x5B\x5A\x65\x6E\x64\x65\x73\x6B\x5D\x20\x45\x6E\x64\x20\x55\x73\x65\x72\x20\x63\x72\x65\x61\x74\x65\x64\x3A\x20","\x69\x64","\x76\x61\x6C\x75\x65","\x66\x6F\x72\x45\x61\x63\x68","\x5B\x5A\x65\x6E\x64\x65\x73\x6B\x5D\x20\x54\x69\x63\x6B\x65\x74\x20\x62\x6F\x64\x79\x3A","\x2F\x74\x69\x63\x6B\x65\x74\x73\x2E\x6A\x73\x6F\x6E","\x54\x61\x67\x73","\x6D\x61\x70","\x53\x75\x62\x6A\x65\x63\x74","\x73\x6F\x72\x74\x42\x79","\x74\x79\x70\x65","\x73\x74\x72\x69\x6E\x67","\x63\x6F\x6E\x74\x65\x6E\x74","\x70\x75\x73\x68","\x76\x61\x72\x69\x61\x62\x6C\x65","\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65","\x63\x75\x73\x74\x6F\x6D\x56\x61\x72\x69\x61\x62\x6C\x65","\x56\x61\x72\x69\x61\x62\x6C\x65","\x20","\x6A\x6F\x69\x6E","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x6B\x65\x79\x56\x61\x6C\x75\x65","\x6B\x65\x79\x54\x79\x70\x65","\x25\x73\x3A\x20\x25\x73","\x6B\x65\x79","\x6B\x65\x79\x43\x6F\x6E\x74\x65\x6E\x74","\x0A","\x46\x69\x65\x6C\x64","\x66\x69\x6C\x74\x65\x72","\x69\x64\x46\x69\x65\x6C\x64","\x6E\x61\x6D\x65\x46\x69\x65\x6C\x64","\x74\x69\x63\x6B\x65\x74","\x5B\x5A\x65\x6E\x64\x65\x73\x6B\x5D\x20\x54\x69\x63\x6B\x65\x74\x20\x63\x72\x65\x61\x74\x65\x64","\x2F\x63\x68\x61\x6E\x6E\x65\x6C\x73\x2F\x76\x6F\x69\x63\x65\x2F\x61\x67\x65\x6E\x74\x73\x2F\x25\x64\x2F\x74\x69\x63\x6B\x65\x74\x73\x2F\x25\x64\x2F\x64\x69\x73\x70\x6C\x61\x79\x2E\x6A\x73\x6F\x6E","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x7A\x65\x6E\x64\x65\x73\x6B","\x65\x76\x65\x6E\x74\x43\x68\x61\x6E\x6E\x65\x6C","\x65\x78\x69\x74\x53\x74\x61\x74\x75\x73","\x73\x75\x63\x63\x65\x73\x73","\x74\x69\x63\x6B\x65\x74\x49\x64","\x75\x72\x6C","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x49\x64","\x63\x72\x65\x61\x74\x65","\x5B\x5A\x65\x6E\x64\x65\x73\x6B\x5D\x20\x54\x69\x63\x6B\x65\x74\x20\x25\x64\x20\x64\x69\x73\x70\x6C\x61\x79\x65\x64\x20\x74\x6F\x20\x61\x67\x65\x6E\x74\x20\x25\x64","\x5B\x5A\x65\x6E\x64\x65\x73\x6B\x5D\x20\x45\x72\x72\x6F\x72\x20\x69\x6E\x20\x74\x69\x63\x6B\x65\x74\x20\x63\x72\x65\x61\x74\x69\x6F\x6E","\x5B\x5A\x65\x6E\x64\x65\x73\x6B\x5D\x20\x4D\x65\x73\x73\x61\x67\x65\x3A","\x6D\x65\x73\x73\x61\x67\x65","\x5B\x5A\x65\x6E\x64\x65\x73\x6B\x5D\x20\x53\x74\x61\x63\x6B\x3A","\x73\x74\x61\x63\x6B","\x66\x61\x69\x6C\x65\x64","\x5B\x5A\x65\x6E\x64\x65\x73\x6B\x5D\x20\x45\x72\x72\x6F\x72\x20\x69\x6E\x20\x52\x65\x70\x6F\x72\x74\x20\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x20\x63\x72\x65\x61\x74\x65","\x73\x75\x62\x73\x74\x72","\x2F","\x65\x78\x70\x6F\x72\x74\x73"];_0xaa2f[0];var _=require(_0xaa2f[1]);var util=require(_0xaa2f[2]);var rp=require(_0xaa2f[3]);var ZendeskIntegration=require(_0xaa2f[5])[_0xaa2f[4]];var ZendeskConfiguration=require(_0xaa2f[5])[_0xaa2f[6]];var ReportIntegration=require(_0xaa2f[5])[_0xaa2f[7]];function Zendesk(){console[_0xaa2f[9]](_0xaa2f[8])}Zendesk[_0xaa2f[11]][_0xaa2f[10]]=function(_0x74a7x8,_0x74a7x9,_0x74a7xa,_0x74a7xb,_0x74a7xc){var _0x74a7xd={uri:undefined,headers:undefined,agent:undefined,enduser:undefined,ticket:undefined,configuration:undefined};if(!_0x74a7x8|| !_0x74a7x9){console[_0xaa2f[13]](_0xaa2f[12]);return};ZendeskConfiguration[_0xaa2f[16]]({where:{id:_0x74a7x9,AccountId:_0x74a7x8},include:[{all:true,include:[{all:true}]}]})[_0xaa2f[15]](handleEntityNotFound())[_0xaa2f[15]](handleConnection(_0x74a7xd))[_0xaa2f[15]](searchAgent(_0x74a7xd,_0x74a7xa,_0x74a7xb))[_0xaa2f[15]](handleAgent(_0x74a7xd,_0x74a7xa,_0x74a7xb))[_0xaa2f[15]](searchAdmin(_0x74a7xd))[_0xaa2f[15]](handleAdmin(_0x74a7xd))[_0xaa2f[15]](searchEndUser(_0x74a7xd,_0x74a7xa,_0x74a7xb))[_0xaa2f[15]](handleEndUser(_0x74a7xd,_0x74a7xa,_0x74a7xb))[_0xaa2f[15]](endUserCreation(_0x74a7xd,_0x74a7xa,_0x74a7xb))[_0xaa2f[15]](handleEndUserCreation(_0x74a7xd,_0x74a7xa,_0x74a7xb))[_0xaa2f[15]](ticketCreation(_0x74a7xd,_0x74a7xb,_0x74a7xc))[_0xaa2f[15]](handleTicketDisplay(_0x74a7xd))[_0xaa2f[15]](handleReportIntegration(_0x74a7xd,_0x74a7xa,_0x74a7xb,_0x74a7x8))[_0xaa2f[15]](handleEnd(_0x74a7xd))[_0xaa2f[14]](handleError(_0x74a7xd,_0x74a7xa,_0x74a7xb,_0x74a7x8))};function handleEntityNotFound(){return function(_0x74a7xf){if(!_0x74a7xf){return null};return _0x74a7xf}}function handleConnection(_0x74a7xd){return function(_0x74a7x11){var _0x74a7x12=getAccountConfiguration(_0x74a7x11.ZendeskAccount);_0x74a7xd[_0xaa2f[17]]=_0x74a7x11;_0x74a7xd[_0xaa2f[18]]=_0x74a7x12[_0xaa2f[18]];_0x74a7xd[_0xaa2f[19]]=_0x74a7x12[_0xaa2f[19]]}}function getAccountConfiguration(_0x74a7x14){var _0x74a7x15={uri:stripTrailingSlash(_0x74a7x14[_0xaa2f[20]]),headers:{"\x41\x75\x74\x68\x6F\x72\x69\x7A\x61\x74\x69\x6F\x6E":undefined,"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65":_0xaa2f[21],"\x41\x63\x63\x65\x70\x74":_0xaa2f[21]}};var _0x74a7x16=_0x74a7x14[_0xaa2f[22]];if(_0x74a7x14[_0xaa2f[23]]===_0xaa2f[24]){_0x74a7x16=_0x74a7x16+_0xaa2f[25]+_0x74a7x14[_0xaa2f[24]]}else {if(_0x74a7x14[_0xaa2f[23]]===_0xaa2f[26]){_0x74a7x16=_0x74a7x16+_0xaa2f[27]+_0x74a7x14[_0xaa2f[26]]}};_0x74a7x15[_0xaa2f[19]][_0xaa2f[28]]=_0xaa2f[29]+ new Buffer(_0x74a7x16).toString(_0xaa2f[30]);return _0x74a7x15}function searchAgent(_0x74a7xd,_0x74a7xa,_0x74a7xb){return function(){console[_0xaa2f[9]](_0xaa2f[31],getValueFromPropertyName(_0x74a7xb,getAgentSearchPropertyFromChannel(_0x74a7xa)));return rp({uri:_0x74a7xd[_0xaa2f[18]]+_0xaa2f[32],qs:{"\x71\x75\x65\x72\x79":util[_0xaa2f[34]](_0xaa2f[33],getValueFromPropertyName(_0x74a7xb,getAgentSearchPropertyFromChannel(_0x74a7xa)))},headers:_0x74a7xd[_0xaa2f[19]],json:true})}}function getAgentSearchPropertyFromChannel(_0x74a7xa){var _0x74a7x19=_0xaa2f[35];if(_0x74a7xa){switch(_0x74a7xa){case _0xaa2f[37]:_0x74a7x19=_0xaa2f[36];break;default:_0x74a7x19=_0xaa2f[36];console[_0xaa2f[13]](_0xaa2f[38],_0x74a7xa)}};return _0x74a7x19}function getValueFromPropertyName(_0x74a7xb,_0x74a7x19){return _[_0xaa2f[39]](_0x74a7xb,_0x74a7x19)}function handleAgent(_0x74a7xd,_0x74a7xa,_0x74a7x1c){return function(_0x74a7xb){if(_0x74a7xb[_0xaa2f[41]][_0xaa2f[40]]>0&&_0x74a7xb[_0xaa2f[42]]>0){console[_0xaa2f[9]](_0xaa2f[43],getValueFromPropertyName(_0x74a7x1c,getAgentSearchPropertyFromChannel(_0x74a7xa)));_0x74a7xd[_0xaa2f[44]]=getMatchObject(_0x74a7xb[_0xaa2f[41]],_0xaa2f[45],getValueFromPropertyName(_0x74a7x1c,getAgentSearchPropertyFromChannel(_0x74a7xa)));return _0x74a7xd[_0xaa2f[44]]};return}}function getMatchObject(_0x74a7x1e,_0x74a7x19,_0x74a7x1f){var _0x74a7x20=_[_0xaa2f[16]](_0x74a7x1e,{property:_0x74a7x1f});if(_0x74a7x20){return _0x74a7x20};return _[_0xaa2f[46]](_0x74a7x1e)}function searchAdmin(_0x74a7xd){return function(_0x74a7xb){if(_0x74a7xb){return};console[_0xaa2f[9]](_0xaa2f[47]);return rp({uri:_0x74a7xd[_0xaa2f[18]]+_0xaa2f[48],headers:_0x74a7xd[_0xaa2f[19]],json:true})}}function handleAdmin(_0x74a7xd){return function(_0x74a7xb){if(!_0x74a7xb){return};if(_0x74a7xb[_0xaa2f[49]]){console[_0xaa2f[9]](_0xaa2f[50]);_0x74a7xd[_0xaa2f[44]]=_0x74a7xb[_0xaa2f[49]]};return}}function searchEndUser(_0x74a7xd,_0x74a7xa,_0x74a7xb){return function(){console[_0xaa2f[9]](_0xaa2f[51],getValueFromPropertyName(_0x74a7xb,getEndUserSearchPropertyFromChannel(_0x74a7xa)));return rp({uri:_0x74a7xd[_0xaa2f[18]]+_0xaa2f[32],qs:{"\x71\x75\x65\x72\x79":util[_0xaa2f[34]](_0xaa2f[52],getEndUserSearchQueryFromChannel(_0x74a7xa),getValueFromPropertyName(_0x74a7xb,getEndUserSearchPropertyFromChannel(_0x74a7xa)))},headers:_0x74a7xd[_0xaa2f[19]],json:true})}}function getEndUserSearchQueryFromChannel(_0x74a7xa){var _0x74a7x19=_0xaa2f[35];if(_0x74a7xa){switch(_0x74a7xa){case _0xaa2f[37]:_0x74a7x19=_0xaa2f[53];break;default:_0x74a7x19=_0xaa2f[53];console[_0xaa2f[13]](_0xaa2f[38],_0x74a7xa)}};return _0x74a7x19}function getEndUserSearchPropertyFromChannel(_0x74a7xa){var _0x74a7x19=_0xaa2f[35];if(_0x74a7xa){switch(_0x74a7xa){case _0xaa2f[37]:_0x74a7x19=_0xaa2f[54];break;default:_0x74a7x19=_0xaa2f[54];console[_0xaa2f[13]](_0xaa2f[38],_0x74a7xa)}};return _0x74a7x19}function getEndUserNamePropertyFromChannel(_0x74a7xa){var _0x74a7x19=_0xaa2f[35];if(_0x74a7xa){switch(_0x74a7xa){case _0xaa2f[37]:_0x74a7x19=_0xaa2f[55];break;default:_0x74a7x19=_0xaa2f[55];console[_0xaa2f[13]](_0xaa2f[38],_0x74a7xa)}};return _0x74a7x19}function handleEndUser(_0x74a7xd,_0x74a7xa,_0x74a7x1c){return function(_0x74a7xb){if(_0x74a7xb[_0xaa2f[41]][_0xaa2f[40]]>0&&_0x74a7xb[_0xaa2f[42]]>0){console[_0xaa2f[9]](_0xaa2f[56],getValueFromPropertyName(_0x74a7x1c,getEndUserSearchPropertyFromChannel(_0x74a7xa)));_0x74a7xd[_0xaa2f[57]]=_0x74a7xb[_0xaa2f[41]][0];return _0x74a7xd[_0xaa2f[57]]};return}}function endUserCreation(_0x74a7xd,_0x74a7xa,_0x74a7x1c){return function(_0x74a7xb){if(_0x74a7xb){return};console[_0xaa2f[9]](_0xaa2f[58],getValueFromPropertyName(_0x74a7x1c,getEndUserSearchPropertyFromChannel(_0x74a7xa)));console[_0xaa2f[9]](getJsonForEndUserCreation(_0x74a7xa,_0x74a7x1c));return rp({uri:_0x74a7xd[_0xaa2f[18]]+_0xaa2f[59],method:_0xaa2f[60],body:{user:getJsonForEndUserCreation(_0x74a7xa,_0x74a7x1c)},headers:_0x74a7xd[_0xaa2f[19]],json:true})}}function getJsonForEndUserCreation(_0x74a7xa,_0x74a7xb){var _0x74a7x2a={role:_0xaa2f[61]};switch(_0x74a7xa){case _0xaa2f[37]:if(_0x74a7xb[_0xaa2f[55]]){_0x74a7x2a[_0xaa2f[45]]=getValueFromPropertyName(_0x74a7xb,getEndUserNamePropertyFromChannel(_0x74a7xa))}else {_0x74a7x2a[_0xaa2f[45]]=util[_0xaa2f[34]](_0xaa2f[62],getValueFromPropertyName(_0x74a7xb,getAgentSearchPropertyFromChannel(_0x74a7xa)))};_0x74a7x2a[_0xaa2f[53]]=getValueFromPropertyName(_0x74a7xb,getEndUserSearchPropertyFromChannel(_0x74a7xa));break;default:console[_0xaa2f[13]](_0xaa2f[38],_0x74a7xa)};return _0x74a7x2a}function handleEndUserCreation(_0x74a7xd,_0x74a7xa,_0x74a7x1c){return function(_0x74a7xb){if(!_0x74a7xb){return};if(_0x74a7xb[_0xaa2f[49]]){console[_0xaa2f[9]](_0xaa2f[63],getValueFromPropertyName(_0x74a7x1c,getEndUserSearchPropertyFromChannel(_0x74a7xa)));_0x74a7xd[_0xaa2f[57]]=_0x74a7xb[_0xaa2f[49]]};return}}function ticketCreation(_0x74a7xd,_0x74a7x1c,_0x74a7xc){return function(){var _0x74a7x2d={requester_id:_0x74a7xd[_0xaa2f[44]][_0xaa2f[64]],submitter_id:_0x74a7xd[_0xaa2f[57]][_0xaa2f[64]],assignee_id:_0x74a7xd[_0xaa2f[57]][_0xaa2f[64]],tags:createTagsFromConfiguration(_0x74a7xd),subject:createSubjectFromConfiguration(_0x74a7xd,_0x74a7x1c,_0x74a7xc),description:createDescriptionFromConfiguration(_0x74a7xd,_0x74a7x1c,_0x74a7xc),custom_fields:createCustomFieldsFromConfiguration(_0x74a7xd,_0x74a7x1c,_0x74a7xc)};var _0x74a7x2e=createFieldsFromConfiguration(_0x74a7xd);if(_0x74a7x2e[_0xaa2f[40]]>0){_[_0xaa2f[66]](_0x74a7x2e,function(_0x74a7x2f){_0x74a7x2d[_0x74a7x2f[_0xaa2f[64]]]=_0x74a7x2f[_0xaa2f[65]]})};console[_0xaa2f[9]](_0xaa2f[67],_0x74a7x2d);return rp({uri:_0x74a7xd[_0xaa2f[18]]+_0xaa2f[68],method:_0xaa2f[60],body:{ticket:_0x74a7x2d},headers:_0x74a7xd[_0xaa2f[19]],json:true})}}function createTagsFromConfiguration(_0x74a7xd){var _0x74a7x31=[];if(_0x74a7xd[_0xaa2f[17]][_0xaa2f[69]][_0xaa2f[40]]>0){_0x74a7x31=_[_0xaa2f[70]](_0x74a7xd[_0xaa2f[17]].Tags,_0xaa2f[45])};return _0x74a7x31}function createSubjectFromConfiguration(_0x74a7xd,_0x74a7x1c,_0x74a7xc){var _0x74a7x33=_0xaa2f[35];var _0x74a7x34=[];if(_0x74a7xd[_0xaa2f[17]][_0xaa2f[71]][_0xaa2f[40]]>0){var _0x74a7x35=_[_0xaa2f[72]](_0x74a7xd[_0xaa2f[17]].Subject,[_0xaa2f[64]]);_[_0xaa2f[66]](_0x74a7x35,function(_0x74a7x36){if(_0x74a7x36[_0xaa2f[73]]===_0xaa2f[74]){_0x74a7x34[_0xaa2f[76]](_0x74a7x36[_0xaa2f[75]])}else {if(_0x74a7x36[_0xaa2f[73]]===_0xaa2f[77]&&_0x74a7x36[_0xaa2f[78]]){var _0x74a7x37=getValueFromPropertyName(_0x74a7x1c,_0x74a7x36[_0xaa2f[78]]);if(_0x74a7x37){_0x74a7x34[_0xaa2f[76]](_0x74a7x37.toString())}}else {if(_0x74a7x36[_0xaa2f[73]]===_0xaa2f[79]){var _0x74a7x38=_[_0xaa2f[16]](_0x74a7xc,{"\x6E\x61\x6D\x65":_0x74a7x36[_0xaa2f[80]][_0xaa2f[45]]});if(_0x74a7x38){_0x74a7x34[_0xaa2f[76]](_0x74a7x38[_0xaa2f[65]].toString())}}}}});_0x74a7x33=_0x74a7x34[_0xaa2f[82]](_0xaa2f[81])};return _0x74a7x33}function createDescriptionFromConfiguration(_0x74a7xd,_0x74a7x1c,_0x74a7xc){var _0x74a7x3a=_0xaa2f[35];var _0x74a7x34=[];if(_0x74a7xd[_0xaa2f[17]][_0xaa2f[83]][_0xaa2f[40]]>0){var _0x74a7x3b=_[_0xaa2f[72]](_0x74a7xd[_0xaa2f[17]].Description,[_0xaa2f[64]]);_[_0xaa2f[66]](_0x74a7x3b,function(_0x74a7x36){if(_0x74a7x36[_0xaa2f[73]]===_0xaa2f[74]){_0x74a7x34[_0xaa2f[76]](_0x74a7x36[_0xaa2f[75]])}else {if(_0x74a7x36[_0xaa2f[73]]===_0xaa2f[84]){if(_0x74a7x36[_0xaa2f[85]]===_0xaa2f[74]){_0x74a7x34[_0xaa2f[76]](util[_0xaa2f[34]](_0xaa2f[86],_0x74a7x36[_0xaa2f[87]],_0x74a7x36[_0xaa2f[88]]))}else {if(_0x74a7x36[_0xaa2f[85]]===_0xaa2f[77]&&_0x74a7x36[_0xaa2f[78]]){var _0x74a7x37=getValueFromPropertyName(_0x74a7x1c,_0x74a7x36[_0xaa2f[78]]);if(_0x74a7x37){_0x74a7x34[_0xaa2f[76]](util[_0xaa2f[34]](_0xaa2f[86],_0x74a7x36[_0xaa2f[87]],_0x74a7x37.toString()))}}else {if(_0x74a7x36[_0xaa2f[85]]===_0xaa2f[79]){var _0x74a7x38=_[_0xaa2f[16]](_0x74a7xc,{"\x6E\x61\x6D\x65":_0x74a7x36[_0xaa2f[80]][_0xaa2f[45]]});if(_0x74a7x38){_0x74a7x34[_0xaa2f[76]](util[_0xaa2f[34]](_0xaa2f[86],_0x74a7x36[_0xaa2f[87]],_0x74a7x38[_0xaa2f[65]].toString()))}}}}}}});_0x74a7x3a=_0x74a7x34[_0xaa2f[82]](_0xaa2f[89])};return _0x74a7x3a}function createCustomFieldsFromConfiguration(_0x74a7xd,_0x74a7x1c,_0x74a7xc){var _0x74a7x3d=[];var _0x74a7x3e=[];if(_0x74a7xd[_0xaa2f[17]][_0xaa2f[90]][_0xaa2f[40]]>0){_0x74a7x3d=_[_0xaa2f[91]](_0x74a7xd[_0xaa2f[17]].Field,{"\x63\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64":true});_[_0xaa2f[66]](_0x74a7x3d,function(_0x74a7x2f){if(_0x74a7x2f[_0xaa2f[73]]===_0xaa2f[74]){_0x74a7x3e[_0xaa2f[76]]({id:_0x74a7x2f[_0xaa2f[92]],value:_0x74a7x2f[_0xaa2f[75]]})}else {if(_0x74a7x2f[_0xaa2f[73]]===_0xaa2f[77]){var _0x74a7x37=getValueFromPropertyName(_0x74a7x1c,_0x74a7x2f[_0xaa2f[78]]);if(_0x74a7x37){_0x74a7x3e[_0xaa2f[76]]({id:_0x74a7x2f[_0xaa2f[92]],value:_0x74a7x37.toString()})}}else {if(_0x74a7x2f[_0xaa2f[73]]===_0xaa2f[79]){var _0x74a7x38=_[_0xaa2f[16]](_0x74a7xc,{"\x6E\x61\x6D\x65":_0x74a7x2f[_0xaa2f[80]][_0xaa2f[45]]});if(_0x74a7x38){_0x74a7x3e[_0xaa2f[76]]({id:_0x74a7x2f[_0xaa2f[92]],value:_0x74a7x38[_0xaa2f[65]].toString()})}}}}})};return _0x74a7x3e}function createFieldsFromConfiguration(_0x74a7xd){var _0x74a7x2e=[];var _0x74a7x3e=[];if(_0x74a7xd[_0xaa2f[17]][_0xaa2f[90]][_0xaa2f[40]]>0){_0x74a7x2e=_[_0xaa2f[91]](_0x74a7xd[_0xaa2f[17]].Field,{"\x63\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64":false});_[_0xaa2f[66]](_0x74a7x2e,function(_0x74a7x2f){if(_0x74a7x2f[_0xaa2f[73]]===_0xaa2f[74]){_0x74a7x3e[_0xaa2f[76]]({id:_0x74a7x2f[_0xaa2f[93]],value:_0x74a7x2f[_0xaa2f[75]]})}})};return _0x74a7x3e}function handleTicketDisplay(_0x74a7xd){return function(_0x74a7xb){if(_0x74a7xb[_0xaa2f[94]]){console[_0xaa2f[9]](_0xaa2f[95]);_0x74a7xd[_0xaa2f[94]]=_0x74a7xb[_0xaa2f[94]];var _0x74a7x41=util[_0xaa2f[34]](_0xaa2f[96],_0x74a7xd[_0xaa2f[44]][_0xaa2f[64]],_0x74a7xd[_0xaa2f[94]][_0xaa2f[64]]);return rp({uri:_0x74a7xd[_0xaa2f[18]]+_0x74a7x41,method:_0xaa2f[60],headers:_0x74a7xd[_0xaa2f[19]],json:true})};return}}function handleReportIntegration(_0x74a7xd,_0x74a7xa,_0x74a7xb,_0x74a7x8){return function(){_0x74a7xb=_0x74a7xb[_0xaa2f[97]];delete _0x74a7xb[_0xaa2f[64]];_0x74a7xb[_0xaa2f[98]]=_0xaa2f[99];_0x74a7xb[_0xaa2f[100]]=_0x74a7xa;_0x74a7xb[_0xaa2f[101]]=_0xaa2f[102];_0x74a7xb[_0xaa2f[103]]=_0x74a7xd[_0xaa2f[94]][_0xaa2f[64]];_0x74a7xb[_0xaa2f[104]]=_0x74a7xd[_0xaa2f[94]][_0xaa2f[104]];_0x74a7xb[_0xaa2f[105]]=_0x74a7x8;return ReportIntegration[_0xaa2f[106]](_0x74a7xb)}}function handleEnd(_0x74a7xd,_0x74a7xb,_0x74a7xa){return function(){console[_0xaa2f[9]](util[_0xaa2f[34]](_0xaa2f[107],_0x74a7xd[_0xaa2f[94]][_0xaa2f[64]],_0x74a7xd[_0xaa2f[44]][_0xaa2f[64]]));_0x74a7xd=undefined;return}}function handleError(_0x74a7xd,_0x74a7xa,_0x74a7xb,_0x74a7x8){return function(_0x74a7x45){console[_0xaa2f[13]](_0xaa2f[108]);console[_0xaa2f[13]](_0xaa2f[109],_0x74a7x45[_0xaa2f[110]]);console[_0xaa2f[13]](_0xaa2f[111],_0x74a7x45[_0xaa2f[112]]);_0x74a7xd=undefined;delete _0x74a7xb[_0xaa2f[64]];_0x74a7xb=_0x74a7xb[_0xaa2f[97]];_0x74a7xb[_0xaa2f[98]]=_0xaa2f[99];_0x74a7xb[_0xaa2f[100]]=_0x74a7xa;_0x74a7xb[_0xaa2f[101]]=_0xaa2f[113];_0x74a7xb[_0xaa2f[105]]=_0x74a7x8;ReportIntegration[_0xaa2f[106]](_0x74a7xb)[_0xaa2f[15]](function(){return})[_0xaa2f[14]](function(_0x74a7x45){console[_0xaa2f[13]](_0xaa2f[114]);return})}}function stripTrailingSlash(_0x74a7x47){if(_0x74a7x47[_0xaa2f[115]](-1)===_0xaa2f[116]){return _0x74a7x47[_0xaa2f[115]](0,_0x74a7x47[_0xaa2f[40]]-1)};return _0x74a7x47}module[_0xaa2f[117]]=Zendesk \ No newline at end of file +var _0xbea2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x72\x65\x71\x75\x65\x73\x74\x2D\x70\x72\x6F\x6D\x69\x73\x65","\x5A\x65\x6E\x64\x65\x73\x6B\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x5A\x65\x6E\x64\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x5A\x65\x6E\x64\x65\x73\x6B\x20\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x20\x69\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x68\x61\x6E\x64\x6C\x65\x45\x76\x65\x6E\x74","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x50\x61\x73\x73\x65\x64\x20\x70\x61\x72\x61\x6D\x65\x74\x65\x72\x73\x20\x61\x72\x65\x20\x6E\x6F\x74\x20\x65\x6E\x6F\x75\x67\x68\x20\x74\x6F\x20\x63\x72\x65\x61\x74\x65\x20\x61\x20\x6E\x65\x77\x20\x74\x69\x63\x6B\x65\x74\x3A\x20\x6D\x69\x73\x73\x20\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x49\x64\x20\x6F\x72\x20\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x49\x64","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x66\x69\x6E\x64","\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x75\x72\x69","\x68\x65\x61\x64\x65\x72\x73","\x72\x65\x6D\x6F\x74\x65\x55\x72\x69","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2F\x6A\x73\x6F\x6E","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x61\x75\x74\x68\x54\x79\x70\x65","\x70\x61\x73\x73\x77\x6F\x72\x64","\x3A","\x74\x6F\x6B\x65\x6E","\x2F\x74\x6F\x6B\x65\x6E\x3A","\x41\x75\x74\x68\x6F\x72\x69\x7A\x61\x74\x69\x6F\x6E","\x42\x61\x73\x69\x63\x20","\x62\x61\x73\x65\x36\x34","\x5B\x5A\x65\x6E\x64\x65\x73\x6B\x5D\x20\x41\x67\x65\x6E\x74\x20\x74\x6F\x20\x73\x65\x61\x72\x63\x68\x3A","\x2F\x73\x65\x61\x72\x63\x68\x2E\x6A\x73\x6F\x6E","\x74\x79\x70\x65\x3A\x75\x73\x65\x72\x20\x72\x6F\x6C\x65\x3A\x61\x67\x65\x6E\x74\x20\x6E\x61\x6D\x65\x3A\x25\x73","\x66\x6F\x72\x6D\x61\x74","","\x64\x65\x73\x74\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x61\x6D\x65","\x76\x6F\x69\x63\x65","\x43\x68\x61\x6E\x6E\x65\x6C\x20\x6E\x6F\x74\x20\x72\x65\x63\x6F\x67\x6E\x69\x7A\x65\x64\x3A","\x72\x65\x73\x75\x6C\x74","\x6C\x65\x6E\x67\x74\x68","\x72\x65\x73\x75\x6C\x74\x73","\x63\x6F\x75\x6E\x74","\x5B\x5A\x65\x6E\x64\x65\x73\x6B\x5D\x20\x41\x67\x65\x6E\x74\x20\x66\x6F\x75\x6E\x64\x3A","\x61\x67\x65\x6E\x74","\x6E\x61\x6D\x65","\x66\x69\x72\x73\x74","\x5B\x5A\x65\x6E\x64\x65\x73\x6B\x5D\x20\x41\x67\x65\x6E\x74\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64\x2E\x20\x55\x73\x65\x20\x74\x68\x65\x20\x61\x64\x6D\x69\x6E\x20\x61\x63\x63\x6F\x75\x6E\x74","\x2F\x75\x73\x65\x72\x73\x2F\x6D\x65\x2E\x6A\x73\x6F\x6E","\x75\x73\x65\x72","\x5B\x5A\x65\x6E\x64\x65\x73\x6B\x5D\x20\x41\x64\x6D\x69\x6E\x20\x73\x65\x6C\x65\x63\x74\x65\x64","\x5B\x5A\x65\x6E\x64\x65\x73\x6B\x5D\x20\x45\x6E\x64\x20\x55\x73\x65\x72\x20\x74\x6F\x20\x73\x65\x61\x72\x63\x68\x3A","\x74\x79\x70\x65\x3A\x75\x73\x65\x72\x20\x72\x6F\x6C\x65\x3A\x65\x6E\x64\x2D\x75\x73\x65\x72\x20\x25\x73\x3A\x25\x73","\x70\x68\x6F\x6E\x65","\x64\x65\x73\x74\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64\x6C\x69\x6E\x65\x6E\x75\x6D","\x64\x65\x73\x74\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64\x6C\x69\x6E\x65\x6E\x61\x6D\x65","\x5B\x5A\x65\x6E\x64\x65\x73\x6B\x5D\x20\x45\x6E\x64\x20\x55\x73\x65\x72\x20\x66\x6F\x75\x6E\x64\x3A","\x65\x6E\x64\x75\x73\x65\x72","\x5B\x5A\x65\x6E\x64\x65\x73\x6B\x5D\x20\x45\x6E\x64\x20\x55\x73\x65\x72\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64\x3A","\x2F\x75\x73\x65\x72\x73\x2E\x6A\x73\x6F\x6E","\x50\x4F\x53\x54","\x65\x6E\x64\x2D\x75\x73\x65\x72","\x43\x61\x6C\x6C\x65\x72\x20\x2D\x20\x25\x73","\x5B\x5A\x65\x6E\x64\x65\x73\x6B\x5D\x20\x45\x6E\x64\x20\x55\x73\x65\x72\x20\x63\x72\x65\x61\x74\x65\x64\x3A\x20","\x69\x64","\x76\x61\x6C\x75\x65","\x66\x6F\x72\x45\x61\x63\x68","\x5B\x5A\x65\x6E\x64\x65\x73\x6B\x5D\x20\x54\x69\x63\x6B\x65\x74\x20\x62\x6F\x64\x79\x3A","\x2F\x74\x69\x63\x6B\x65\x74\x73\x2E\x6A\x73\x6F\x6E","\x54\x61\x67\x73","\x6D\x61\x70","\x53\x75\x62\x6A\x65\x63\x74","\x73\x6F\x72\x74\x42\x79","\x74\x79\x70\x65","\x73\x74\x72\x69\x6E\x67","\x63\x6F\x6E\x74\x65\x6E\x74","\x70\x75\x73\x68","\x76\x61\x72\x69\x61\x62\x6C\x65","\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65","\x63\x75\x73\x74\x6F\x6D\x56\x61\x72\x69\x61\x62\x6C\x65","\x56\x61\x72\x69\x61\x62\x6C\x65","\x20","\x6A\x6F\x69\x6E","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x6B\x65\x79\x56\x61\x6C\x75\x65","\x6B\x65\x79\x54\x79\x70\x65","\x25\x73\x3A\x20\x25\x73","\x6B\x65\x79","\x6B\x65\x79\x43\x6F\x6E\x74\x65\x6E\x74","\x0A","\x46\x69\x65\x6C\x64","\x66\x69\x6C\x74\x65\x72","\x69\x64\x46\x69\x65\x6C\x64","\x6E\x61\x6D\x65\x46\x69\x65\x6C\x64","\x74\x69\x63\x6B\x65\x74","\x5B\x5A\x65\x6E\x64\x65\x73\x6B\x5D\x20\x54\x69\x63\x6B\x65\x74\x20\x63\x72\x65\x61\x74\x65\x64","\x2F\x63\x68\x61\x6E\x6E\x65\x6C\x73\x2F\x76\x6F\x69\x63\x65\x2F\x61\x67\x65\x6E\x74\x73\x2F\x25\x64\x2F\x74\x69\x63\x6B\x65\x74\x73\x2F\x25\x64\x2F\x64\x69\x73\x70\x6C\x61\x79\x2E\x6A\x73\x6F\x6E","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x7A\x65\x6E\x64\x65\x73\x6B","\x65\x76\x65\x6E\x74\x43\x68\x61\x6E\x6E\x65\x6C","\x65\x78\x69\x74\x53\x74\x61\x74\x75\x73","\x73\x75\x63\x63\x65\x73\x73","\x74\x69\x63\x6B\x65\x74\x49\x64","\x75\x72\x6C","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x49\x64","\x63\x72\x65\x61\x74\x65","\x5B\x5A\x65\x6E\x64\x65\x73\x6B\x5D\x20\x54\x69\x63\x6B\x65\x74\x20\x25\x64\x20\x64\x69\x73\x70\x6C\x61\x79\x65\x64\x20\x74\x6F\x20\x61\x67\x65\x6E\x74\x20\x25\x64","\x5B\x5A\x65\x6E\x64\x65\x73\x6B\x5D\x20\x45\x72\x72\x6F\x72\x20\x69\x6E\x20\x74\x69\x63\x6B\x65\x74\x20\x63\x72\x65\x61\x74\x69\x6F\x6E","\x5B\x5A\x65\x6E\x64\x65\x73\x6B\x5D\x20\x4D\x65\x73\x73\x61\x67\x65\x3A","\x6D\x65\x73\x73\x61\x67\x65","\x5B\x5A\x65\x6E\x64\x65\x73\x6B\x5D\x20\x53\x74\x61\x63\x6B\x3A","\x73\x74\x61\x63\x6B","\x66\x61\x69\x6C\x65\x64","\x5B\x5A\x65\x6E\x64\x65\x73\x6B\x5D\x20\x45\x72\x72\x6F\x72\x20\x69\x6E\x20\x52\x65\x70\x6F\x72\x74\x20\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x20\x63\x72\x65\x61\x74\x65","\x73\x75\x62\x73\x74\x72","\x2F","\x65\x78\x70\x6F\x72\x74\x73"];_0xbea2[0];var _=require(_0xbea2[1]);var util=require(_0xbea2[2]);var rp=require(_0xbea2[3]);var ZendeskIntegration=require(_0xbea2[5])[_0xbea2[4]];var ZendeskConfiguration=require(_0xbea2[5])[_0xbea2[6]];var ReportIntegration=require(_0xbea2[5])[_0xbea2[7]];function Zendesk(){console[_0xbea2[9]](_0xbea2[8])}Zendesk[_0xbea2[11]][_0xbea2[10]]=function(_0xc3dbx8,_0xc3dbx9,_0xc3dbxa,_0xc3dbxb,_0xc3dbxc){var _0xc3dbxd={uri:undefined,headers:undefined,agent:undefined,enduser:undefined,ticket:undefined,configuration:undefined};if(!_0xc3dbx8|| !_0xc3dbx9){console[_0xbea2[13]](_0xbea2[12]);return};ZendeskConfiguration[_0xbea2[16]]({where:{id:_0xc3dbx9,AccountId:_0xc3dbx8},include:[{all:true,include:[{all:true}]}]})[_0xbea2[15]](handleEntityNotFound())[_0xbea2[15]](handleConnection(_0xc3dbxd))[_0xbea2[15]](searchAgent(_0xc3dbxd,_0xc3dbxa,_0xc3dbxb))[_0xbea2[15]](handleAgent(_0xc3dbxd,_0xc3dbxa,_0xc3dbxb))[_0xbea2[15]](searchAdmin(_0xc3dbxd))[_0xbea2[15]](handleAdmin(_0xc3dbxd))[_0xbea2[15]](searchEndUser(_0xc3dbxd,_0xc3dbxa,_0xc3dbxb))[_0xbea2[15]](handleEndUser(_0xc3dbxd,_0xc3dbxa,_0xc3dbxb))[_0xbea2[15]](endUserCreation(_0xc3dbxd,_0xc3dbxa,_0xc3dbxb))[_0xbea2[15]](handleEndUserCreation(_0xc3dbxd,_0xc3dbxa,_0xc3dbxb))[_0xbea2[15]](ticketCreation(_0xc3dbxd,_0xc3dbxb,_0xc3dbxc))[_0xbea2[15]](handleTicketDisplay(_0xc3dbxd))[_0xbea2[15]](handleReportIntegration(_0xc3dbxd,_0xc3dbxa,_0xc3dbxb,_0xc3dbx8))[_0xbea2[15]](handleEnd(_0xc3dbxd))[_0xbea2[14]](handleError(_0xc3dbxd,_0xc3dbxa,_0xc3dbxb,_0xc3dbx8))};function handleEntityNotFound(){return function(_0xc3dbxf){if(!_0xc3dbxf){return null};return _0xc3dbxf}}function handleConnection(_0xc3dbxd){return function(_0xc3dbx11){var _0xc3dbx12=getAccountConfiguration(_0xc3dbx11.ZendeskAccount);_0xc3dbxd[_0xbea2[17]]=_0xc3dbx11;_0xc3dbxd[_0xbea2[18]]=_0xc3dbx12[_0xbea2[18]];_0xc3dbxd[_0xbea2[19]]=_0xc3dbx12[_0xbea2[19]]}}function getAccountConfiguration(_0xc3dbx14){var _0xc3dbx15={uri:stripTrailingSlash(_0xc3dbx14[_0xbea2[20]]),headers:{"\x41\x75\x74\x68\x6F\x72\x69\x7A\x61\x74\x69\x6F\x6E":undefined,"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65":_0xbea2[21],"\x41\x63\x63\x65\x70\x74":_0xbea2[21]}};var _0xc3dbx16=_0xc3dbx14[_0xbea2[22]];if(_0xc3dbx14[_0xbea2[23]]===_0xbea2[24]){_0xc3dbx16=_0xc3dbx16+_0xbea2[25]+_0xc3dbx14[_0xbea2[24]]}else {if(_0xc3dbx14[_0xbea2[23]]===_0xbea2[26]){_0xc3dbx16=_0xc3dbx16+_0xbea2[27]+_0xc3dbx14[_0xbea2[26]]}};_0xc3dbx15[_0xbea2[19]][_0xbea2[28]]=_0xbea2[29]+ new Buffer(_0xc3dbx16).toString(_0xbea2[30]);return _0xc3dbx15}function searchAgent(_0xc3dbxd,_0xc3dbxa,_0xc3dbxb){return function(){console[_0xbea2[9]](_0xbea2[31],getValueFromPropertyName(_0xc3dbxb,getAgentSearchPropertyFromChannel(_0xc3dbxa)));return rp({uri:_0xc3dbxd[_0xbea2[18]]+_0xbea2[32],qs:{"\x71\x75\x65\x72\x79":util[_0xbea2[34]](_0xbea2[33],getValueFromPropertyName(_0xc3dbxb,getAgentSearchPropertyFromChannel(_0xc3dbxa)))},headers:_0xc3dbxd[_0xbea2[19]],json:true})}}function getAgentSearchPropertyFromChannel(_0xc3dbxa){var _0xc3dbx19=_0xbea2[35];if(_0xc3dbxa){switch(_0xc3dbxa){case _0xbea2[37]:_0xc3dbx19=_0xbea2[36];break;default:_0xc3dbx19=_0xbea2[36];console[_0xbea2[13]](_0xbea2[38],_0xc3dbxa)}};return _0xc3dbx19}function getValueFromPropertyName(_0xc3dbxb,_0xc3dbx19){return _[_0xbea2[39]](_0xc3dbxb,_0xc3dbx19)}function handleAgent(_0xc3dbxd,_0xc3dbxa,_0xc3dbx1c){return function(_0xc3dbxb){if(_0xc3dbxb[_0xbea2[41]][_0xbea2[40]]>0&&_0xc3dbxb[_0xbea2[42]]>0){console[_0xbea2[9]](_0xbea2[43],getValueFromPropertyName(_0xc3dbx1c,getAgentSearchPropertyFromChannel(_0xc3dbxa)));_0xc3dbxd[_0xbea2[44]]=getMatchObject(_0xc3dbxb[_0xbea2[41]],_0xbea2[45],getValueFromPropertyName(_0xc3dbx1c,getAgentSearchPropertyFromChannel(_0xc3dbxa)));return _0xc3dbxd[_0xbea2[44]]};return}}function getMatchObject(_0xc3dbx1e,_0xc3dbx19,_0xc3dbx1f){var _0xc3dbx20=_[_0xbea2[16]](_0xc3dbx1e,{property:_0xc3dbx1f});if(_0xc3dbx20){return _0xc3dbx20};return _[_0xbea2[46]](_0xc3dbx1e)}function searchAdmin(_0xc3dbxd){return function(_0xc3dbxb){if(_0xc3dbxb){return};console[_0xbea2[9]](_0xbea2[47]);return rp({uri:_0xc3dbxd[_0xbea2[18]]+_0xbea2[48],headers:_0xc3dbxd[_0xbea2[19]],json:true})}}function handleAdmin(_0xc3dbxd){return function(_0xc3dbxb){if(!_0xc3dbxb){return};if(_0xc3dbxb[_0xbea2[49]]){console[_0xbea2[9]](_0xbea2[50]);_0xc3dbxd[_0xbea2[44]]=_0xc3dbxb[_0xbea2[49]]};return}}function searchEndUser(_0xc3dbxd,_0xc3dbxa,_0xc3dbxb){return function(){console[_0xbea2[9]](_0xbea2[51],getValueFromPropertyName(_0xc3dbxb,getEndUserSearchPropertyFromChannel(_0xc3dbxa)));return rp({uri:_0xc3dbxd[_0xbea2[18]]+_0xbea2[32],qs:{"\x71\x75\x65\x72\x79":util[_0xbea2[34]](_0xbea2[52],getEndUserSearchQueryFromChannel(_0xc3dbxa),getValueFromPropertyName(_0xc3dbxb,getEndUserSearchPropertyFromChannel(_0xc3dbxa)))},headers:_0xc3dbxd[_0xbea2[19]],json:true})}}function getEndUserSearchQueryFromChannel(_0xc3dbxa){var _0xc3dbx19=_0xbea2[35];if(_0xc3dbxa){switch(_0xc3dbxa){case _0xbea2[37]:_0xc3dbx19=_0xbea2[53];break;default:_0xc3dbx19=_0xbea2[53];console[_0xbea2[13]](_0xbea2[38],_0xc3dbxa)}};return _0xc3dbx19}function getEndUserSearchPropertyFromChannel(_0xc3dbxa){var _0xc3dbx19=_0xbea2[35];if(_0xc3dbxa){switch(_0xc3dbxa){case _0xbea2[37]:_0xc3dbx19=_0xbea2[54];break;default:_0xc3dbx19=_0xbea2[54];console[_0xbea2[13]](_0xbea2[38],_0xc3dbxa)}};return _0xc3dbx19}function getEndUserNamePropertyFromChannel(_0xc3dbxa){var _0xc3dbx19=_0xbea2[35];if(_0xc3dbxa){switch(_0xc3dbxa){case _0xbea2[37]:_0xc3dbx19=_0xbea2[55];break;default:_0xc3dbx19=_0xbea2[55];console[_0xbea2[13]](_0xbea2[38],_0xc3dbxa)}};return _0xc3dbx19}function handleEndUser(_0xc3dbxd,_0xc3dbxa,_0xc3dbx1c){return function(_0xc3dbxb){if(_0xc3dbxb[_0xbea2[41]][_0xbea2[40]]>0&&_0xc3dbxb[_0xbea2[42]]>0){console[_0xbea2[9]](_0xbea2[56],getValueFromPropertyName(_0xc3dbx1c,getEndUserSearchPropertyFromChannel(_0xc3dbxa)));_0xc3dbxd[_0xbea2[57]]=_0xc3dbxb[_0xbea2[41]][0];return _0xc3dbxd[_0xbea2[57]]};return}}function endUserCreation(_0xc3dbxd,_0xc3dbxa,_0xc3dbx1c){return function(_0xc3dbxb){if(_0xc3dbxb){return};console[_0xbea2[9]](_0xbea2[58],getValueFromPropertyName(_0xc3dbx1c,getEndUserSearchPropertyFromChannel(_0xc3dbxa)));console[_0xbea2[9]](getJsonForEndUserCreation(_0xc3dbxa,_0xc3dbx1c));return rp({uri:_0xc3dbxd[_0xbea2[18]]+_0xbea2[59],method:_0xbea2[60],body:{user:getJsonForEndUserCreation(_0xc3dbxa,_0xc3dbx1c)},headers:_0xc3dbxd[_0xbea2[19]],json:true})}}function getJsonForEndUserCreation(_0xc3dbxa,_0xc3dbxb){var _0xc3dbx2a={role:_0xbea2[61]};switch(_0xc3dbxa){case _0xbea2[37]:if(_0xc3dbxb[_0xbea2[55]]){_0xc3dbx2a[_0xbea2[45]]=getValueFromPropertyName(_0xc3dbxb,getEndUserNamePropertyFromChannel(_0xc3dbxa))}else {_0xc3dbx2a[_0xbea2[45]]=util[_0xbea2[34]](_0xbea2[62],getValueFromPropertyName(_0xc3dbxb,getAgentSearchPropertyFromChannel(_0xc3dbxa)))};_0xc3dbx2a[_0xbea2[53]]=getValueFromPropertyName(_0xc3dbxb,getEndUserSearchPropertyFromChannel(_0xc3dbxa));break;default:console[_0xbea2[13]](_0xbea2[38],_0xc3dbxa)};return _0xc3dbx2a}function handleEndUserCreation(_0xc3dbxd,_0xc3dbxa,_0xc3dbx1c){return function(_0xc3dbxb){if(!_0xc3dbxb){return};if(_0xc3dbxb[_0xbea2[49]]){console[_0xbea2[9]](_0xbea2[63],getValueFromPropertyName(_0xc3dbx1c,getEndUserSearchPropertyFromChannel(_0xc3dbxa)));_0xc3dbxd[_0xbea2[57]]=_0xc3dbxb[_0xbea2[49]]};return}}function ticketCreation(_0xc3dbxd,_0xc3dbx1c,_0xc3dbxc){return function(){var _0xc3dbx2d={requester_id:_0xc3dbxd[_0xbea2[44]][_0xbea2[64]],submitter_id:_0xc3dbxd[_0xbea2[57]][_0xbea2[64]],assignee_id:_0xc3dbxd[_0xbea2[57]][_0xbea2[64]],tags:createTagsFromConfiguration(_0xc3dbxd),subject:createSubjectFromConfiguration(_0xc3dbxd,_0xc3dbx1c,_0xc3dbxc),description:createDescriptionFromConfiguration(_0xc3dbxd,_0xc3dbx1c,_0xc3dbxc),custom_fields:createCustomFieldsFromConfiguration(_0xc3dbxd,_0xc3dbx1c,_0xc3dbxc)};var _0xc3dbx2e=createFieldsFromConfiguration(_0xc3dbxd);if(_0xc3dbx2e[_0xbea2[40]]>0){_[_0xbea2[66]](_0xc3dbx2e,function(_0xc3dbx2f){_0xc3dbx2d[_0xc3dbx2f[_0xbea2[64]]]=_0xc3dbx2f[_0xbea2[65]]})};console[_0xbea2[9]](_0xbea2[67],_0xc3dbx2d);return rp({uri:_0xc3dbxd[_0xbea2[18]]+_0xbea2[68],method:_0xbea2[60],body:{ticket:_0xc3dbx2d},headers:_0xc3dbxd[_0xbea2[19]],json:true})}}function createTagsFromConfiguration(_0xc3dbxd){var _0xc3dbx31=[];if(_0xc3dbxd[_0xbea2[17]][_0xbea2[69]][_0xbea2[40]]>0){_0xc3dbx31=_[_0xbea2[70]](_0xc3dbxd[_0xbea2[17]].Tags,_0xbea2[45])};return _0xc3dbx31}function createSubjectFromConfiguration(_0xc3dbxd,_0xc3dbx1c,_0xc3dbxc){var _0xc3dbx33=_0xbea2[35];var _0xc3dbx34=[];if(_0xc3dbxd[_0xbea2[17]][_0xbea2[71]][_0xbea2[40]]>0){var _0xc3dbx35=_[_0xbea2[72]](_0xc3dbxd[_0xbea2[17]].Subject,[_0xbea2[64]]);_[_0xbea2[66]](_0xc3dbx35,function(_0xc3dbx36){if(_0xc3dbx36[_0xbea2[73]]===_0xbea2[74]){_0xc3dbx34[_0xbea2[76]](_0xc3dbx36[_0xbea2[75]])}else {if(_0xc3dbx36[_0xbea2[73]]===_0xbea2[77]&&_0xc3dbx36[_0xbea2[78]]){var _0xc3dbx37=getValueFromPropertyName(_0xc3dbx1c,_0xc3dbx36[_0xbea2[78]]);if(_0xc3dbx37){_0xc3dbx34[_0xbea2[76]](_0xc3dbx37.toString())}}else {if(_0xc3dbx36[_0xbea2[73]]===_0xbea2[79]){var _0xc3dbx38=_[_0xbea2[16]](_0xc3dbxc,{"\x6E\x61\x6D\x65":_0xc3dbx36[_0xbea2[80]][_0xbea2[45]]});if(_0xc3dbx38){_0xc3dbx34[_0xbea2[76]](_0xc3dbx38[_0xbea2[65]].toString())}}}}});_0xc3dbx33=_0xc3dbx34[_0xbea2[82]](_0xbea2[81])};return _0xc3dbx33}function createDescriptionFromConfiguration(_0xc3dbxd,_0xc3dbx1c,_0xc3dbxc){var _0xc3dbx3a=_0xbea2[35];var _0xc3dbx34=[];if(_0xc3dbxd[_0xbea2[17]][_0xbea2[83]][_0xbea2[40]]>0){var _0xc3dbx3b=_[_0xbea2[72]](_0xc3dbxd[_0xbea2[17]].Description,[_0xbea2[64]]);_[_0xbea2[66]](_0xc3dbx3b,function(_0xc3dbx36){if(_0xc3dbx36[_0xbea2[73]]===_0xbea2[74]){_0xc3dbx34[_0xbea2[76]](_0xc3dbx36[_0xbea2[75]])}else {if(_0xc3dbx36[_0xbea2[73]]===_0xbea2[84]){if(_0xc3dbx36[_0xbea2[85]]===_0xbea2[74]){_0xc3dbx34[_0xbea2[76]](util[_0xbea2[34]](_0xbea2[86],_0xc3dbx36[_0xbea2[87]],_0xc3dbx36[_0xbea2[88]]))}else {if(_0xc3dbx36[_0xbea2[85]]===_0xbea2[77]&&_0xc3dbx36[_0xbea2[78]]){var _0xc3dbx37=getValueFromPropertyName(_0xc3dbx1c,_0xc3dbx36[_0xbea2[78]]);if(_0xc3dbx37){_0xc3dbx34[_0xbea2[76]](util[_0xbea2[34]](_0xbea2[86],_0xc3dbx36[_0xbea2[87]],_0xc3dbx37.toString()))}}else {if(_0xc3dbx36[_0xbea2[85]]===_0xbea2[79]){var _0xc3dbx38=_[_0xbea2[16]](_0xc3dbxc,{"\x6E\x61\x6D\x65":_0xc3dbx36[_0xbea2[80]][_0xbea2[45]]});if(_0xc3dbx38){_0xc3dbx34[_0xbea2[76]](util[_0xbea2[34]](_0xbea2[86],_0xc3dbx36[_0xbea2[87]],_0xc3dbx38[_0xbea2[65]].toString()))}}}}}}});_0xc3dbx3a=_0xc3dbx34[_0xbea2[82]](_0xbea2[89])};return _0xc3dbx3a}function createCustomFieldsFromConfiguration(_0xc3dbxd,_0xc3dbx1c,_0xc3dbxc){var _0xc3dbx3d=[];var _0xc3dbx3e=[];if(_0xc3dbxd[_0xbea2[17]][_0xbea2[90]][_0xbea2[40]]>0){_0xc3dbx3d=_[_0xbea2[91]](_0xc3dbxd[_0xbea2[17]].Field,{"\x63\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64":true});_[_0xbea2[66]](_0xc3dbx3d,function(_0xc3dbx2f){if(_0xc3dbx2f[_0xbea2[73]]===_0xbea2[74]){_0xc3dbx3e[_0xbea2[76]]({id:_0xc3dbx2f[_0xbea2[92]],value:_0xc3dbx2f[_0xbea2[75]]})}else {if(_0xc3dbx2f[_0xbea2[73]]===_0xbea2[77]){var _0xc3dbx37=getValueFromPropertyName(_0xc3dbx1c,_0xc3dbx2f[_0xbea2[78]]);if(_0xc3dbx37){_0xc3dbx3e[_0xbea2[76]]({id:_0xc3dbx2f[_0xbea2[92]],value:_0xc3dbx37.toString()})}}else {if(_0xc3dbx2f[_0xbea2[73]]===_0xbea2[79]){var _0xc3dbx38=_[_0xbea2[16]](_0xc3dbxc,{"\x6E\x61\x6D\x65":_0xc3dbx2f[_0xbea2[80]][_0xbea2[45]]});if(_0xc3dbx38){_0xc3dbx3e[_0xbea2[76]]({id:_0xc3dbx2f[_0xbea2[92]],value:_0xc3dbx38[_0xbea2[65]].toString()})}}}}})};return _0xc3dbx3e}function createFieldsFromConfiguration(_0xc3dbxd){var _0xc3dbx2e=[];var _0xc3dbx3e=[];if(_0xc3dbxd[_0xbea2[17]][_0xbea2[90]][_0xbea2[40]]>0){_0xc3dbx2e=_[_0xbea2[91]](_0xc3dbxd[_0xbea2[17]].Field,{"\x63\x75\x73\x74\x6F\x6D\x46\x69\x65\x6C\x64":false});_[_0xbea2[66]](_0xc3dbx2e,function(_0xc3dbx2f){if(_0xc3dbx2f[_0xbea2[73]]===_0xbea2[74]){_0xc3dbx3e[_0xbea2[76]]({id:_0xc3dbx2f[_0xbea2[93]],value:_0xc3dbx2f[_0xbea2[75]]})}})};return _0xc3dbx3e}function handleTicketDisplay(_0xc3dbxd){return function(_0xc3dbxb){if(_0xc3dbxb[_0xbea2[94]]){console[_0xbea2[9]](_0xbea2[95]);_0xc3dbxd[_0xbea2[94]]=_0xc3dbxb[_0xbea2[94]];var _0xc3dbx41=util[_0xbea2[34]](_0xbea2[96],_0xc3dbxd[_0xbea2[44]][_0xbea2[64]],_0xc3dbxd[_0xbea2[94]][_0xbea2[64]]);return rp({uri:_0xc3dbxd[_0xbea2[18]]+_0xc3dbx41,method:_0xbea2[60],headers:_0xc3dbxd[_0xbea2[19]],json:true})};return}}function handleReportIntegration(_0xc3dbxd,_0xc3dbxa,_0xc3dbxb,_0xc3dbx8){return function(){_0xc3dbxb=_0xc3dbxb[_0xbea2[97]];delete _0xc3dbxb[_0xbea2[64]];_0xc3dbxb[_0xbea2[98]]=_0xbea2[99];_0xc3dbxb[_0xbea2[100]]=_0xc3dbxa;_0xc3dbxb[_0xbea2[101]]=_0xbea2[102];_0xc3dbxb[_0xbea2[103]]=_0xc3dbxd[_0xbea2[94]][_0xbea2[64]];_0xc3dbxb[_0xbea2[104]]=_0xc3dbxd[_0xbea2[94]][_0xbea2[104]];_0xc3dbxb[_0xbea2[105]]=_0xc3dbx8;return ReportIntegration[_0xbea2[106]](_0xc3dbxb)}}function handleEnd(_0xc3dbxd,_0xc3dbxb,_0xc3dbxa){return function(){console[_0xbea2[9]](util[_0xbea2[34]](_0xbea2[107],_0xc3dbxd[_0xbea2[94]][_0xbea2[64]],_0xc3dbxd[_0xbea2[44]][_0xbea2[64]]));_0xc3dbxd=undefined;return}}function handleError(_0xc3dbxd,_0xc3dbxa,_0xc3dbxb,_0xc3dbx8){return function(_0xc3dbx45){console[_0xbea2[13]](_0xbea2[108]);console[_0xbea2[13]](_0xbea2[109],_0xc3dbx45[_0xbea2[110]]);console[_0xbea2[13]](_0xbea2[111],_0xc3dbx45[_0xbea2[112]]);_0xc3dbxd=undefined;delete _0xc3dbxb[_0xbea2[64]];_0xc3dbxb=_0xc3dbxb[_0xbea2[97]];_0xc3dbxb[_0xbea2[98]]=_0xbea2[99];_0xc3dbxb[_0xbea2[100]]=_0xc3dbxa;_0xc3dbxb[_0xbea2[101]]=_0xbea2[113];_0xc3dbxb[_0xbea2[105]]=_0xc3dbx8;ReportIntegration[_0xbea2[106]](_0xc3dbxb)[_0xbea2[15]](function(){return})[_0xbea2[14]](function(_0xc3dbx45){console[_0xbea2[13]](_0xbea2[114]);return})}}function stripTrailingSlash(_0xc3dbx47){if(_0xc3dbx47[_0xbea2[115]](-1)===_0xbea2[116]){return _0xc3dbx47[_0xbea2[115]](0,_0xc3dbx47[_0xbea2[40]]-1)};return _0xc3dbx47}module[_0xbea2[117]]=Zendesk \ No newline at end of file diff --git a/server/config/license/index.js b/server/config/license/index.js index 04fc77b..cd945c2 100644 --- a/server/config/license/index.js +++ b/server/config/license/index.js @@ -1 +1 @@ -var _0xf8db=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x72\x65\x71\x75\x65\x73\x74\x2D\x70\x72\x6F\x6D\x69\x73\x65","\x75\x74\x69\x6C","\x75\x72\x6C","\x43\x72\x6F\x6E\x4A\x6F\x62","\x63\x72\x6F\x6E","\x53\x65\x74\x74\x69\x6E\x67\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2E\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x70\x72\x6F\x76\x69\x73\x69\x6F\x6E\x69\x6E\x67","\x2F\x73\x65\x72\x76\x65\x72\x73\x2F","\x67\x65\x74\x55\x75\x69\x64","\x2F\x63\x68\x65\x63\x6B","\x6C\x6F\x67","\x2A\x20\x2A\x20\x2A\x20\x2A\x20\x2A","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x6C\x69\x63\x65\x6E\x73\x65","\x75\x70\x64\x61\x74\x65","\x73\x70\x72\x65\x61\x64","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x74\x68\x65\x6E","\x73\x74\x61\x72\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0xf8db[0];var config=require(_0xf8db[1]);var rp=require(_0xf8db[2]);var util=require(_0xf8db[3]);var url=require(_0xf8db[4]);var CronJob=require(_0xf8db[6])[_0xf8db[5]];var Settings=require(_0xf8db[8])[_0xf8db[7]];var license=require(_0xf8db[9]);var provisioning=config[_0xf8db[10]]+_0xf8db[11]+license[_0xf8db[12]]()+_0xf8db[13];console[_0xf8db[14]](provisioning);function licenseManager(){var _0x7b09xa= new CronJob({cronTime:_0xf8db[15],onTick:function(){var _0x7b09xb;return rp({uri:provisioning,json:true})[_0xf8db[22]](function(_0x7b09xe){_0x7b09xb=_0x7b09xe;return Settings[_0xf8db[21]]({where:{id:1}})})[_0xf8db[20]](function(_0x7b09xd){return _0x7b09xd[_0xf8db[19]]({license:_0x7b09xb[_0xf8db[18]]})})[_0xf8db[17]](function(_0x7b09xc){console[_0xf8db[16]](_0x7b09xc)})},start:false});_0x7b09xa[_0xf8db[23]]();return {}}module[_0xf8db[24]]=licenseManager \ No newline at end of file +var _0xea3e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x72\x65\x71\x75\x65\x73\x74\x2D\x70\x72\x6F\x6D\x69\x73\x65","\x75\x74\x69\x6C","\x75\x72\x6C","\x43\x72\x6F\x6E\x4A\x6F\x62","\x63\x72\x6F\x6E","\x53\x65\x74\x74\x69\x6E\x67\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2E\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x70\x72\x6F\x76\x69\x73\x69\x6F\x6E\x69\x6E\x67","\x2F\x73\x65\x72\x76\x65\x72\x73\x2F","\x67\x65\x74\x55\x75\x69\x64","\x2F\x63\x68\x65\x63\x6B","\x6C\x6F\x67","\x2A\x20\x2A\x20\x2A\x20\x2A\x20\x2A","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x6C\x69\x63\x65\x6E\x73\x65","\x75\x70\x64\x61\x74\x65","\x73\x70\x72\x65\x61\x64","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x74\x68\x65\x6E","\x73\x74\x61\x72\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0xea3e[0];var config=require(_0xea3e[1]);var rp=require(_0xea3e[2]);var util=require(_0xea3e[3]);var url=require(_0xea3e[4]);var CronJob=require(_0xea3e[6])[_0xea3e[5]];var Settings=require(_0xea3e[8])[_0xea3e[7]];var license=require(_0xea3e[9]);var provisioning=config[_0xea3e[10]]+_0xea3e[11]+license[_0xea3e[12]]()+_0xea3e[13];console[_0xea3e[14]](provisioning);function licenseManager(){var _0xfda2xa= new CronJob({cronTime:_0xea3e[15],onTick:function(){var _0xfda2xb;return rp({uri:provisioning,json:true})[_0xea3e[22]](function(_0xfda2xe){_0xfda2xb=_0xfda2xe;return Settings[_0xea3e[21]]({where:{id:1}})})[_0xea3e[20]](function(_0xfda2xd){return _0xfda2xd[_0xea3e[19]]({license:_0xfda2xb[_0xea3e[18]]})})[_0xea3e[17]](function(_0xfda2xc){console[_0xea3e[16]](_0xfda2xc)})},start:false});_0xfda2xa[_0xea3e[23]]();return {}}module[_0xea3e[24]]=licenseManager \ No newline at end of file diff --git a/server/config/license/license.service.js b/server/config/license/license.service.js index 630b433..e9abbcc 100644 --- a/server/config/license/license.service.js +++ b/server/config/license/license.service.js @@ -1 +1 @@ -var _0x5d06=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x63\x6F\x6D\x70\x6F\x73\x61\x62\x6C\x65\x2D\x6D\x69\x64\x64\x6C\x65\x77\x61\x72\x65","\x6D\x6F\x6D\x65\x6E\x74","\x63\x72\x79\x70\x74\x6F","\x75\x74\x69\x6C","\x6F\x73","\x2E\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x54\x65\x6C\x65\x70\x68\x6F\x6E\x65","\x53\x65\x74\x74\x69\x6E\x67\x73","\x44\x45\x4D\x4F\x20\x4C\x49\x43\x45\x4E\x53\x45","\x6F\x75\x74\x70\x75\x74","\x64\x6D\x69\x64\x65\x63\x6F\x64\x65\x20\x2D\x2D\x73\x74\x72\x69\x6E\x67\x20\x73\x79\x73\x74\x65\x6D\x2D\x75\x75\x69\x64","\x73\x6C\x69\x63\x65","\x0D\x0A","\x73\x70\x6C\x69\x74","\x77\x69\x6E\x33\x32","\x0A","\x64\x61\x72\x77\x69\x6E","\x62\x6C\x6B\x69\x64\x20\x2D\x67\x20\x26\x26\x20\x62\x6C\x6B\x69\x64","\x6D\x61\x74\x63\x68","\x74\x6F\x4C\x6F\x77\x65\x72\x43\x61\x73\x65","\x65\x78\x65\x63","\x6D\x61\x70","\x75\x75\x69\x64","\x70\x6C\x61\x74\x66\x6F\x72\x6D","\x63\x61\x74\x63\x68","\x6C\x69\x63\x65\x6E\x73\x65","\x70\x61\x72\x73\x65","\x64\x65\x63\x72\x79\x70\x74\x20\x65\x72\x72\x6F\x72","\x6C\x6F\x67","\x63\x68\x61\x74","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x73\x70\x72\x65\x61\x64","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x75\x73\x65","\x6D\x65\x73\x73\x61\x67\x69\x6E\x67","\x63\x6D","\x75\x70\x64\x61\x74\x65","\x6D\x61\x69\x6C","\x66\x61\x78","\x6A\x73\x63\x72\x69\x70\x74\x79","\x65\x78\x70\x69\x72\x61\x74\x69\x6F\x6E","\x69\x73\x53\x61\x6D\x65\x4F\x72\x42\x65\x66\x6F\x72\x65","\x75\x73\x65\x72\x73","\x4D\x61\x78\x69\x6D\x75\x6D\x20\x75\x73\x65\x72\x73\x20\x6C\x69\x6D\x69\x74\x20\x68\x61\x76\x65\x20\x62\x65\x65\x6E\x20\x72\x65\x61\x63\x68\x65\x64","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x61\x64\x6D\x69\x6E","\x75\x73\x65\x72","\x63\x6F\x75\x6E\x74","\x74\x65\x6C\x65\x70\x68\x6F\x6E\x65\x73","\x4D\x61\x78\x69\x6D\x75\x6D\x20\x74\x65\x6C\x65\x70\x68\x6F\x6E\x65\x73\x20\x6C\x69\x6D\x69\x74\x20\x68\x61\x76\x65\x20\x62\x65\x65\x6E\x20\x72\x65\x61\x63\x68\x65\x64","\x74\x65\x6C\x65\x70\x68\x6F\x6E\x65","\x72\x6F\x6C\x65","\x61\x67\x65\x6E\x74","\x6F\x6E\x6C\x69\x6E\x65","\x61\x67\x65\x6E\x74\x73","\x2D","\x61\x65\x73\x2D\x32\x35\x36\x2D\x63\x74\x72","\x25\x73\x3A\x25\x73\x3A\x25\x73","\x66\x6F\x72\x6D\x61\x74","\x63\x72\x65\x61\x74\x65\x44\x65\x63\x69\x70\x68\x65\x72","\x62\x61\x73\x65\x36\x34","\x75\x74\x66\x38","\x66\x69\x6E\x61\x6C","\x67\x65\x74\x55\x75\x69\x64","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x69\x73\x55\x73\x65\x72\x73\x4C\x69\x6D\x69\x74","\x69\x73\x54\x65\x6C\x65\x70\x68\x6F\x6E\x65\x73\x4C\x69\x6D\x69\x74","\x68\x61\x73\x43\x68\x61\x74","\x68\x61\x73\x4D\x61\x69\x6C","\x68\x61\x73\x46\x61\x78","\x68\x61\x73\x53\x6D\x73","\x68\x61\x73\x4A\x73\x63\x72\x69\x70\x74\x79","\x68\x61\x73\x43\x6D","\x68\x61\x73\x55\x70\x64\x61\x74\x65","\x69\x73\x56\x61\x6C\x69\x64\x41\x67\x65\x6E\x74","\x64\x65\x6D\x6F\x4C\x69\x63\x65\x6E\x73\x65","\x64\x65\x63\x72\x79\x70\x74"];_0x5d06[0];var compose=require(_0x5d06[1]);var moment=require(_0x5d06[2]);var crypto=require(_0x5d06[3]);var util=require(_0x5d06[4]);var os=require(_0x5d06[5]);var config=require(_0x5d06[6]);var User=require(_0x5d06[8])[_0x5d06[7]];var Telephone=require(_0x5d06[8])[_0x5d06[9]];var Settings=require(_0x5d06[8])[_0x5d06[10]];var demoLicense={users:1,agents:1,telephones:0,chat:false,mail:false,fax:false,jscripty:false,description:_0x5d06[11]};function getUuid(){var _0x3db9xc;var _0x3db9xd;switch(os[_0x5d06[26]]()){case _0x5d06[17]:_0x3db9xc=exec(_0x5d06[13],{silent:true})[_0x5d06[12]];_0x3db9xd=_0x3db9xc[_0x5d06[16]](_0x5d06[15])[_0x5d06[14]](0,-1);return _0x3db9xd[0];case _0x5d06[19]:_0x3db9xc=exec(_0x5d06[13],{silent:true})[_0x5d06[12]];_0x3db9xd=_0x3db9xc[_0x5d06[16]](_0x5d06[18])[_0x5d06[14]](0,-1);return _0x3db9xd[0];default:_0x3db9xc=exec(_0x5d06[20],{silent:true})[_0x5d06[12]];_0x3db9xd=_0x3db9xc[_0x5d06[16]](_0x5d06[18])[_0x5d06[14]](0,-1)[_0x5d06[24]](function(_0x3db9xe){var _0x3db9xf,_0x3db9x10,_0x3db9xd;_0x3db9x10= new RegExp(/(\w+)\=\"([^\"]+)/g);_0x3db9xf={partition:_0x3db9xe[_0x5d06[21]](/^(\S+)\:\ /)[1]};while(_0x3db9xd=_0x3db9x10[_0x5d06[23]](_0x3db9xe)){_0x3db9xf[_0x3db9xd[1][_0x5d06[22]]()]=_0x3db9xd[2]};return _0x3db9xf});return _0x3db9xd[0][_0x5d06[25]]}}function hasChat(){return compose()[_0x5d06[36]](function(_0x3db9x12,_0x3db9x13,_0x3db9x14){return Settings[_0x5d06[35]]({where:{id:1}})[_0x5d06[34]](function(_0x3db9x16){var _0x3db9x17=null,_0x3db9x18=false;try{if(_0x3db9x16[_0x5d06[28]]){_0x3db9x17=decrypt(_0x3db9x16[_0x5d06[28]]);_0x3db9x17=JSON[_0x5d06[29]](_0x3db9x17)}else {_0x3db9x17=demoLicense}}catch(err){console[_0x5d06[31]](_0x5d06[30],err);_0x3db9x17=demoLicense};_0x3db9x18=_0x3db9x17[_0x5d06[32]];if(!_0x3db9x18){return _0x3db9x13[_0x5d06[33]](403)};return _0x3db9x14()})[_0x5d06[27]](function(_0x3db9x15){return _0x3db9x14(_0x3db9x15)})})}function hasSms(){return compose()[_0x5d06[36]](function(_0x3db9x12,_0x3db9x13,_0x3db9x14){return Settings[_0x5d06[35]]({where:{id:1}})[_0x5d06[34]](function(_0x3db9x16){var _0x3db9x17=null,_0x3db9x1a=false;try{if(_0x3db9x16[_0x5d06[28]]){_0x3db9x17=decrypt(_0x3db9x16[_0x5d06[28]]);_0x3db9x17=JSON[_0x5d06[29]](_0x3db9x17)}else {_0x3db9x17=demoLicense}}catch(err){console[_0x5d06[31]](_0x5d06[30],err);_0x3db9x17=demoLicense};_0x3db9x1a=_0x3db9x17[_0x5d06[37]];if(!_0x3db9x1a){return _0x3db9x13[_0x5d06[33]](403)};return _0x3db9x14()})[_0x5d06[27]](function(_0x3db9x15){return _0x3db9x14(_0x3db9x15)})})}function hasCm(){return compose()[_0x5d06[36]](function(_0x3db9x12,_0x3db9x13,_0x3db9x14){return Settings[_0x5d06[35]]({where:{id:1}})[_0x5d06[34]](function(_0x3db9x16){var _0x3db9x17=null,_0x3db9x1c=false;try{if(_0x3db9x16[_0x5d06[28]]){_0x3db9x17=decrypt(_0x3db9x16[_0x5d06[28]]);_0x3db9x17=JSON[_0x5d06[29]](_0x3db9x17)}else {_0x3db9x17=demoLicense}}catch(err){console[_0x5d06[31]](_0x5d06[30],err);_0x3db9x17=demoLicense};_0x3db9x1c=_0x3db9x17[_0x5d06[38]];if(!_0x3db9x1c){return _0x3db9x13[_0x5d06[33]](403)};return _0x3db9x14()})[_0x5d06[27]](function(_0x3db9x15){return _0x3db9x14(_0x3db9x15)})})}function hasUpdate(){return compose()[_0x5d06[36]](function(_0x3db9x12,_0x3db9x13,_0x3db9x14){return Settings[_0x5d06[35]]({where:{id:1}})[_0x5d06[34]](function(_0x3db9x16){var _0x3db9x17=null,_0x3db9x1e=false;try{if(_0x3db9x16[_0x5d06[28]]){_0x3db9x17=decrypt(_0x3db9x16[_0x5d06[28]]);_0x3db9x17=JSON[_0x5d06[29]](_0x3db9x17)}else {_0x3db9x17=demoLicense}}catch(err){console[_0x5d06[31]](_0x5d06[30],err);_0x3db9x17=demoLicense};_0x3db9x1e=_0x3db9x17[_0x5d06[39]];if(!_0x3db9x1e){return _0x3db9x13[_0x5d06[33]](403)};return _0x3db9x14()})[_0x5d06[27]](function(_0x3db9x15){return _0x3db9x14(_0x3db9x15)})})}function hasMail(){return compose()[_0x5d06[36]](function(_0x3db9x12,_0x3db9x13,_0x3db9x14){return Settings[_0x5d06[35]]({where:{id:1}})[_0x5d06[34]](function(_0x3db9x16){var _0x3db9x17=null,_0x3db9x20=false;try{if(_0x3db9x16[_0x5d06[28]]){_0x3db9x17=decrypt(_0x3db9x16[_0x5d06[28]]);_0x3db9x17=JSON[_0x5d06[29]](_0x3db9x17)}else {_0x3db9x17=demoLicense}}catch(err){console[_0x5d06[31]](_0x5d06[30],err);_0x3db9x17=demoLicense};_0x3db9x20=_0x3db9x17[_0x5d06[40]];if(!_0x3db9x20){return _0x3db9x13[_0x5d06[33]](403)};return _0x3db9x14()})[_0x5d06[27]](function(_0x3db9x15){return _0x3db9x14(_0x3db9x15)})})}function hasFax(){return compose()[_0x5d06[36]](function(_0x3db9x12,_0x3db9x13,_0x3db9x14){return Settings[_0x5d06[35]]({where:{id:1}})[_0x5d06[34]](function(_0x3db9x16){var _0x3db9x17=null,_0x3db9x22=false;try{if(_0x3db9x16[_0x5d06[28]]){_0x3db9x17=decrypt(_0x3db9x16[_0x5d06[28]]);_0x3db9x17=JSON[_0x5d06[29]](_0x3db9x17)}else {_0x3db9x17=demoLicense}}catch(err){console[_0x5d06[31]](_0x5d06[30],err);_0x3db9x17=demoLicense};_0x3db9x22=_0x3db9x17[_0x5d06[41]];if(!_0x3db9x22){return _0x3db9x13[_0x5d06[33]](403)};return _0x3db9x14()})[_0x5d06[27]](function(_0x3db9x15){return _0x3db9x14(_0x3db9x15)})})}function hasJscripty(){return compose()[_0x5d06[36]](function(_0x3db9x12,_0x3db9x13,_0x3db9x14){return Settings[_0x5d06[35]]({where:{id:1}})[_0x5d06[34]](function(_0x3db9x16){var _0x3db9x17=null,_0x3db9x24=false;try{if(_0x3db9x16[_0x5d06[28]]){_0x3db9x17=decrypt(_0x3db9x16[_0x5d06[28]]);_0x3db9x17=JSON[_0x5d06[29]](_0x3db9x17)}else {_0x3db9x17=demoLicense}}catch(err){console[_0x5d06[31]](_0x5d06[30],err);_0x3db9x17=demoLicense};_0x3db9x24=_0x3db9x17[_0x5d06[42]];if(!_0x3db9x24){return _0x3db9x13[_0x5d06[33]](403)};return _0x3db9x14()})[_0x5d06[27]](function(_0x3db9x15){return _0x3db9x14(_0x3db9x15)})})}function isValidDate(){return compose()[_0x5d06[36]](function(_0x3db9x12,_0x3db9x13,_0x3db9x14){return Settings[_0x5d06[35]]({where:{id:1}})[_0x5d06[34]](function(_0x3db9x16){var _0x3db9x17=null,_0x3db9x26=false;try{if(_0x3db9x16[_0x5d06[28]]){_0x3db9x17=decrypt(_0x3db9x16[_0x5d06[28]]);_0x3db9x17=JSON[_0x5d06[29]](_0x3db9x17);if(moment()[_0x5d06[44]](_0x3db9x17[_0x5d06[43]])){_0x3db9x26=true}}}catch(err){console[_0x5d06[31]](_0x5d06[30],err)};if(!_0x3db9x26){return _0x3db9x13[_0x5d06[33]](403)};return _0x3db9x14()})[_0x5d06[27]](function(_0x3db9x15){return _0x3db9x14(_0x3db9x15)})})}function isUsersLimit(){return compose()[_0x5d06[36]](function(_0x3db9x12,_0x3db9x13,_0x3db9x14){var _0x3db9x28;return Settings[_0x5d06[35]]({where:{id:1}})[_0x5d06[34]](function(_0x3db9x16){_0x3db9x28=_0x3db9x16;return User[_0x5d06[52]]({where:{$or:[{role:_0x5d06[50]},{role:_0x5d06[51]}]}})})[_0x5d06[49]](function(_0x3db9x29){var _0x3db9x17=null,_0x3db9x2a=false;try{if(_0x3db9x28[_0x5d06[28]]){_0x3db9x17=decrypt(_0x3db9x28[_0x5d06[28]]);_0x3db9x17=JSON[_0x5d06[29]](_0x3db9x17)}else {_0x3db9x17=demoLicense}}catch(err){console[_0x5d06[31]](_0x5d06[30],err);_0x3db9x17=demoLicense};if(_0x3db9x17[_0x5d06[45]]>_0x3db9x29){_0x3db9x2a=true};if(!_0x3db9x2a){return _0x3db9x13[_0x5d06[48]](403)[_0x5d06[47]]({message:_0x5d06[46]})};return _0x3db9x14()})[_0x5d06[27]](function(_0x3db9x15){return _0x3db9x14(_0x3db9x15)})})}function isTelephonesLimit(){return compose()[_0x5d06[36]](function(_0x3db9x12,_0x3db9x13,_0x3db9x14){var _0x3db9x28;return Settings[_0x5d06[35]]({where:{id:1}})[_0x5d06[34]](function(_0x3db9x16){_0x3db9x28=_0x3db9x16;return User[_0x5d06[52]]({where:{role:_0x5d06[55]}})})[_0x5d06[49]](function(_0x3db9x2c){var _0x3db9x17=null,_0x3db9x2a=false;try{if(_0x3db9x28[_0x5d06[28]]){_0x3db9x17=decrypt(_0x3db9x28[_0x5d06[28]]);_0x3db9x17=JSON[_0x5d06[29]](_0x3db9x17)}else {_0x3db9x17=demoLicense}}catch(err){console[_0x5d06[31]](_0x5d06[30],err);_0x3db9x17=demoLicense};if(_0x3db9x17[_0x5d06[53]]>_0x3db9x2c){_0x3db9x2a=true};if(!_0x3db9x2a){return _0x3db9x13[_0x5d06[48]](403)[_0x5d06[47]]({message:_0x5d06[54]})};return _0x3db9x14()})[_0x5d06[27]](function(_0x3db9x15){return _0x3db9x14(_0x3db9x15)})})}function isValidAgent(){return function(_0x3db9x2e){var _0x3db9x28;var _0x3db9x2f=false;if(_0x3db9x2e[_0x5d06[56]]===_0x5d06[50]||_0x3db9x2e[_0x5d06[56]]===_0x5d06[51]||(_0x3db9x2e[_0x5d06[56]]===_0x5d06[57]&&_0x3db9x2e[_0x5d06[58]])){_0x3db9x2f=true};return Settings[_0x5d06[35]]({where:{id:1}})[_0x5d06[34]](function(_0x3db9x16){_0x3db9x28=_0x3db9x16;return User[_0x5d06[52]]({where:{role:_0x5d06[57],online:true}})})[_0x5d06[49]](function(_0x3db9x30){var _0x3db9x17=null;try{if(_0x3db9x28[_0x5d06[28]]){_0x3db9x17=decrypt(_0x3db9x28[_0x5d06[28]]);_0x3db9x17=JSON[_0x5d06[29]](_0x3db9x17)}else {_0x3db9x17=demoLicense}}catch(err){console[_0x5d06[31]](_0x5d06[30],err);_0x3db9x17=demoLicense};if(_0x3db9x17[_0x5d06[59]]>_0x3db9x30){_0x3db9x2f=true};return _0x3db9x2f})}}function decrypt(_0x3db9x32){var _0x3db9x33=getUuid();var _0x3db9x34=_0x3db9x33[_0x5d06[16]](_0x5d06[60])[4];var _0x3db9x35=_0x3db9x33[_0x5d06[16]](_0x5d06[60])[0];var _0x3db9x36=crypto[_0x5d06[64]](_0x5d06[61],util[_0x5d06[63]](_0x5d06[62],_0x3db9x34,_0x3db9x33,_0x3db9x35));var _0x3db9x17=_0x3db9x36[_0x5d06[39]](_0x3db9x32,_0x5d06[65],_0x5d06[66]);_0x3db9x17+=_0x3db9x36[_0x5d06[67]](_0x5d06[66]);return _0x3db9x17}exports[_0x5d06[68]]=getUuid;exports[_0x5d06[69]]=isValidDate;exports[_0x5d06[70]]=isUsersLimit;exports[_0x5d06[71]]=isTelephonesLimit;exports[_0x5d06[72]]=hasChat;exports[_0x5d06[73]]=hasMail;exports[_0x5d06[74]]=hasFax;exports[_0x5d06[75]]=hasSms;exports[_0x5d06[76]]=hasJscripty;exports[_0x5d06[77]]=hasCm;exports[_0x5d06[78]]=hasUpdate;exports[_0x5d06[79]]=isValidAgent;exports[_0x5d06[80]]=demoLicense;exports[_0x5d06[81]]=decrypt \ No newline at end of file +var _0x7edd=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x63\x6F\x6D\x70\x6F\x73\x61\x62\x6C\x65\x2D\x6D\x69\x64\x64\x6C\x65\x77\x61\x72\x65","\x6D\x6F\x6D\x65\x6E\x74","\x63\x72\x79\x70\x74\x6F","\x75\x74\x69\x6C","\x6F\x73","\x2E\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x54\x65\x6C\x65\x70\x68\x6F\x6E\x65","\x53\x65\x74\x74\x69\x6E\x67\x73","\x44\x45\x4D\x4F\x20\x4C\x49\x43\x45\x4E\x53\x45","\x6F\x75\x74\x70\x75\x74","\x64\x6D\x69\x64\x65\x63\x6F\x64\x65\x20\x2D\x2D\x73\x74\x72\x69\x6E\x67\x20\x73\x79\x73\x74\x65\x6D\x2D\x75\x75\x69\x64","\x73\x6C\x69\x63\x65","\x0D\x0A","\x73\x70\x6C\x69\x74","\x77\x69\x6E\x33\x32","\x0A","\x64\x61\x72\x77\x69\x6E","\x62\x6C\x6B\x69\x64\x20\x2D\x67\x20\x26\x26\x20\x62\x6C\x6B\x69\x64","\x6D\x61\x74\x63\x68","\x74\x6F\x4C\x6F\x77\x65\x72\x43\x61\x73\x65","\x65\x78\x65\x63","\x6D\x61\x70","\x75\x75\x69\x64","\x70\x6C\x61\x74\x66\x6F\x72\x6D","\x63\x61\x74\x63\x68","\x6C\x69\x63\x65\x6E\x73\x65","\x70\x61\x72\x73\x65","\x64\x65\x63\x72\x79\x70\x74\x20\x65\x72\x72\x6F\x72","\x6C\x6F\x67","\x63\x68\x61\x74","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x73\x70\x72\x65\x61\x64","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x75\x73\x65","\x6D\x65\x73\x73\x61\x67\x69\x6E\x67","\x63\x6D","\x75\x70\x64\x61\x74\x65","\x6D\x61\x69\x6C","\x66\x61\x78","\x6A\x73\x63\x72\x69\x70\x74\x79","\x65\x78\x70\x69\x72\x61\x74\x69\x6F\x6E","\x69\x73\x53\x61\x6D\x65\x4F\x72\x42\x65\x66\x6F\x72\x65","\x75\x73\x65\x72\x73","\x4D\x61\x78\x69\x6D\x75\x6D\x20\x75\x73\x65\x72\x73\x20\x6C\x69\x6D\x69\x74\x20\x68\x61\x76\x65\x20\x62\x65\x65\x6E\x20\x72\x65\x61\x63\x68\x65\x64","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x61\x64\x6D\x69\x6E","\x75\x73\x65\x72","\x63\x6F\x75\x6E\x74","\x74\x65\x6C\x65\x70\x68\x6F\x6E\x65\x73","\x4D\x61\x78\x69\x6D\x75\x6D\x20\x74\x65\x6C\x65\x70\x68\x6F\x6E\x65\x73\x20\x6C\x69\x6D\x69\x74\x20\x68\x61\x76\x65\x20\x62\x65\x65\x6E\x20\x72\x65\x61\x63\x68\x65\x64","\x74\x65\x6C\x65\x70\x68\x6F\x6E\x65","\x72\x6F\x6C\x65","\x61\x67\x65\x6E\x74","\x6F\x6E\x6C\x69\x6E\x65","\x61\x67\x65\x6E\x74\x73","\x2D","\x61\x65\x73\x2D\x32\x35\x36\x2D\x63\x74\x72","\x25\x73\x3A\x25\x73\x3A\x25\x73","\x66\x6F\x72\x6D\x61\x74","\x63\x72\x65\x61\x74\x65\x44\x65\x63\x69\x70\x68\x65\x72","\x62\x61\x73\x65\x36\x34","\x75\x74\x66\x38","\x66\x69\x6E\x61\x6C","\x67\x65\x74\x55\x75\x69\x64","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x69\x73\x55\x73\x65\x72\x73\x4C\x69\x6D\x69\x74","\x69\x73\x54\x65\x6C\x65\x70\x68\x6F\x6E\x65\x73\x4C\x69\x6D\x69\x74","\x68\x61\x73\x43\x68\x61\x74","\x68\x61\x73\x4D\x61\x69\x6C","\x68\x61\x73\x46\x61\x78","\x68\x61\x73\x53\x6D\x73","\x68\x61\x73\x4A\x73\x63\x72\x69\x70\x74\x79","\x68\x61\x73\x43\x6D","\x68\x61\x73\x55\x70\x64\x61\x74\x65","\x69\x73\x56\x61\x6C\x69\x64\x41\x67\x65\x6E\x74","\x64\x65\x6D\x6F\x4C\x69\x63\x65\x6E\x73\x65","\x64\x65\x63\x72\x79\x70\x74"];_0x7edd[0];var compose=require(_0x7edd[1]);var moment=require(_0x7edd[2]);var crypto=require(_0x7edd[3]);var util=require(_0x7edd[4]);var os=require(_0x7edd[5]);var config=require(_0x7edd[6]);var User=require(_0x7edd[8])[_0x7edd[7]];var Telephone=require(_0x7edd[8])[_0x7edd[9]];var Settings=require(_0x7edd[8])[_0x7edd[10]];var demoLicense={users:1,agents:1,telephones:0,chat:false,mail:false,fax:false,jscripty:false,description:_0x7edd[11]};function getUuid(){var _0xf5caxc;var _0xf5caxd;switch(os[_0x7edd[26]]()){case _0x7edd[17]:_0xf5caxc=exec(_0x7edd[13],{silent:true})[_0x7edd[12]];_0xf5caxd=_0xf5caxc[_0x7edd[16]](_0x7edd[15])[_0x7edd[14]](0,-1);return _0xf5caxd[0];case _0x7edd[19]:_0xf5caxc=exec(_0x7edd[13],{silent:true})[_0x7edd[12]];_0xf5caxd=_0xf5caxc[_0x7edd[16]](_0x7edd[18])[_0x7edd[14]](0,-1);return _0xf5caxd[0];default:_0xf5caxc=exec(_0x7edd[20],{silent:true})[_0x7edd[12]];_0xf5caxd=_0xf5caxc[_0x7edd[16]](_0x7edd[18])[_0x7edd[14]](0,-1)[_0x7edd[24]](function(_0xf5caxe){var _0xf5caxf,_0xf5cax10,_0xf5caxd;_0xf5cax10= new RegExp(/(\w+)\=\"([^\"]+)/g);_0xf5caxf={partition:_0xf5caxe[_0x7edd[21]](/^(\S+)\:\ /)[1]};while(_0xf5caxd=_0xf5cax10[_0x7edd[23]](_0xf5caxe)){_0xf5caxf[_0xf5caxd[1][_0x7edd[22]]()]=_0xf5caxd[2]};return _0xf5caxf});return _0xf5caxd[0][_0x7edd[25]]}}function hasChat(){return compose()[_0x7edd[36]](function(_0xf5cax12,_0xf5cax13,_0xf5cax14){return Settings[_0x7edd[35]]({where:{id:1}})[_0x7edd[34]](function(_0xf5cax16){var _0xf5cax17=null,_0xf5cax18=false;try{if(_0xf5cax16[_0x7edd[28]]){_0xf5cax17=decrypt(_0xf5cax16[_0x7edd[28]]);_0xf5cax17=JSON[_0x7edd[29]](_0xf5cax17)}else {_0xf5cax17=demoLicense}}catch(err){console[_0x7edd[31]](_0x7edd[30],err);_0xf5cax17=demoLicense};_0xf5cax18=_0xf5cax17[_0x7edd[32]];if(!_0xf5cax18){return _0xf5cax13[_0x7edd[33]](403)};return _0xf5cax14()})[_0x7edd[27]](function(_0xf5cax15){return _0xf5cax14(_0xf5cax15)})})}function hasSms(){return compose()[_0x7edd[36]](function(_0xf5cax12,_0xf5cax13,_0xf5cax14){return Settings[_0x7edd[35]]({where:{id:1}})[_0x7edd[34]](function(_0xf5cax16){var _0xf5cax17=null,_0xf5cax1a=false;try{if(_0xf5cax16[_0x7edd[28]]){_0xf5cax17=decrypt(_0xf5cax16[_0x7edd[28]]);_0xf5cax17=JSON[_0x7edd[29]](_0xf5cax17)}else {_0xf5cax17=demoLicense}}catch(err){console[_0x7edd[31]](_0x7edd[30],err);_0xf5cax17=demoLicense};_0xf5cax1a=_0xf5cax17[_0x7edd[37]];if(!_0xf5cax1a){return _0xf5cax13[_0x7edd[33]](403)};return _0xf5cax14()})[_0x7edd[27]](function(_0xf5cax15){return _0xf5cax14(_0xf5cax15)})})}function hasCm(){return compose()[_0x7edd[36]](function(_0xf5cax12,_0xf5cax13,_0xf5cax14){return Settings[_0x7edd[35]]({where:{id:1}})[_0x7edd[34]](function(_0xf5cax16){var _0xf5cax17=null,_0xf5cax1c=false;try{if(_0xf5cax16[_0x7edd[28]]){_0xf5cax17=decrypt(_0xf5cax16[_0x7edd[28]]);_0xf5cax17=JSON[_0x7edd[29]](_0xf5cax17)}else {_0xf5cax17=demoLicense}}catch(err){console[_0x7edd[31]](_0x7edd[30],err);_0xf5cax17=demoLicense};_0xf5cax1c=_0xf5cax17[_0x7edd[38]];if(!_0xf5cax1c){return _0xf5cax13[_0x7edd[33]](403)};return _0xf5cax14()})[_0x7edd[27]](function(_0xf5cax15){return _0xf5cax14(_0xf5cax15)})})}function hasUpdate(){return compose()[_0x7edd[36]](function(_0xf5cax12,_0xf5cax13,_0xf5cax14){return Settings[_0x7edd[35]]({where:{id:1}})[_0x7edd[34]](function(_0xf5cax16){var _0xf5cax17=null,_0xf5cax1e=false;try{if(_0xf5cax16[_0x7edd[28]]){_0xf5cax17=decrypt(_0xf5cax16[_0x7edd[28]]);_0xf5cax17=JSON[_0x7edd[29]](_0xf5cax17)}else {_0xf5cax17=demoLicense}}catch(err){console[_0x7edd[31]](_0x7edd[30],err);_0xf5cax17=demoLicense};_0xf5cax1e=_0xf5cax17[_0x7edd[39]];if(!_0xf5cax1e){return _0xf5cax13[_0x7edd[33]](403)};return _0xf5cax14()})[_0x7edd[27]](function(_0xf5cax15){return _0xf5cax14(_0xf5cax15)})})}function hasMail(){return compose()[_0x7edd[36]](function(_0xf5cax12,_0xf5cax13,_0xf5cax14){return Settings[_0x7edd[35]]({where:{id:1}})[_0x7edd[34]](function(_0xf5cax16){var _0xf5cax17=null,_0xf5cax20=false;try{if(_0xf5cax16[_0x7edd[28]]){_0xf5cax17=decrypt(_0xf5cax16[_0x7edd[28]]);_0xf5cax17=JSON[_0x7edd[29]](_0xf5cax17)}else {_0xf5cax17=demoLicense}}catch(err){console[_0x7edd[31]](_0x7edd[30],err);_0xf5cax17=demoLicense};_0xf5cax20=_0xf5cax17[_0x7edd[40]];if(!_0xf5cax20){return _0xf5cax13[_0x7edd[33]](403)};return _0xf5cax14()})[_0x7edd[27]](function(_0xf5cax15){return _0xf5cax14(_0xf5cax15)})})}function hasFax(){return compose()[_0x7edd[36]](function(_0xf5cax12,_0xf5cax13,_0xf5cax14){return Settings[_0x7edd[35]]({where:{id:1}})[_0x7edd[34]](function(_0xf5cax16){var _0xf5cax17=null,_0xf5cax22=false;try{if(_0xf5cax16[_0x7edd[28]]){_0xf5cax17=decrypt(_0xf5cax16[_0x7edd[28]]);_0xf5cax17=JSON[_0x7edd[29]](_0xf5cax17)}else {_0xf5cax17=demoLicense}}catch(err){console[_0x7edd[31]](_0x7edd[30],err);_0xf5cax17=demoLicense};_0xf5cax22=_0xf5cax17[_0x7edd[41]];if(!_0xf5cax22){return _0xf5cax13[_0x7edd[33]](403)};return _0xf5cax14()})[_0x7edd[27]](function(_0xf5cax15){return _0xf5cax14(_0xf5cax15)})})}function hasJscripty(){return compose()[_0x7edd[36]](function(_0xf5cax12,_0xf5cax13,_0xf5cax14){return Settings[_0x7edd[35]]({where:{id:1}})[_0x7edd[34]](function(_0xf5cax16){var _0xf5cax17=null,_0xf5cax24=false;try{if(_0xf5cax16[_0x7edd[28]]){_0xf5cax17=decrypt(_0xf5cax16[_0x7edd[28]]);_0xf5cax17=JSON[_0x7edd[29]](_0xf5cax17)}else {_0xf5cax17=demoLicense}}catch(err){console[_0x7edd[31]](_0x7edd[30],err);_0xf5cax17=demoLicense};_0xf5cax24=_0xf5cax17[_0x7edd[42]];if(!_0xf5cax24){return _0xf5cax13[_0x7edd[33]](403)};return _0xf5cax14()})[_0x7edd[27]](function(_0xf5cax15){return _0xf5cax14(_0xf5cax15)})})}function isValidDate(){return compose()[_0x7edd[36]](function(_0xf5cax12,_0xf5cax13,_0xf5cax14){return Settings[_0x7edd[35]]({where:{id:1}})[_0x7edd[34]](function(_0xf5cax16){var _0xf5cax17=null,_0xf5cax26=false;try{if(_0xf5cax16[_0x7edd[28]]){_0xf5cax17=decrypt(_0xf5cax16[_0x7edd[28]]);_0xf5cax17=JSON[_0x7edd[29]](_0xf5cax17);if(moment()[_0x7edd[44]](_0xf5cax17[_0x7edd[43]])){_0xf5cax26=true}}}catch(err){console[_0x7edd[31]](_0x7edd[30],err)};if(!_0xf5cax26){return _0xf5cax13[_0x7edd[33]](403)};return _0xf5cax14()})[_0x7edd[27]](function(_0xf5cax15){return _0xf5cax14(_0xf5cax15)})})}function isUsersLimit(){return compose()[_0x7edd[36]](function(_0xf5cax12,_0xf5cax13,_0xf5cax14){var _0xf5cax28;return Settings[_0x7edd[35]]({where:{id:1}})[_0x7edd[34]](function(_0xf5cax16){_0xf5cax28=_0xf5cax16;return User[_0x7edd[52]]({where:{$or:[{role:_0x7edd[50]},{role:_0x7edd[51]}]}})})[_0x7edd[49]](function(_0xf5cax29){var _0xf5cax17=null,_0xf5cax2a=false;try{if(_0xf5cax28[_0x7edd[28]]){_0xf5cax17=decrypt(_0xf5cax28[_0x7edd[28]]);_0xf5cax17=JSON[_0x7edd[29]](_0xf5cax17)}else {_0xf5cax17=demoLicense}}catch(err){console[_0x7edd[31]](_0x7edd[30],err);_0xf5cax17=demoLicense};if(_0xf5cax17[_0x7edd[45]]>_0xf5cax29){_0xf5cax2a=true};if(!_0xf5cax2a){return _0xf5cax13[_0x7edd[48]](403)[_0x7edd[47]]({message:_0x7edd[46]})};return _0xf5cax14()})[_0x7edd[27]](function(_0xf5cax15){return _0xf5cax14(_0xf5cax15)})})}function isTelephonesLimit(){return compose()[_0x7edd[36]](function(_0xf5cax12,_0xf5cax13,_0xf5cax14){var _0xf5cax28;return Settings[_0x7edd[35]]({where:{id:1}})[_0x7edd[34]](function(_0xf5cax16){_0xf5cax28=_0xf5cax16;return User[_0x7edd[52]]({where:{role:_0x7edd[55]}})})[_0x7edd[49]](function(_0xf5cax2c){var _0xf5cax17=null,_0xf5cax2a=false;try{if(_0xf5cax28[_0x7edd[28]]){_0xf5cax17=decrypt(_0xf5cax28[_0x7edd[28]]);_0xf5cax17=JSON[_0x7edd[29]](_0xf5cax17)}else {_0xf5cax17=demoLicense}}catch(err){console[_0x7edd[31]](_0x7edd[30],err);_0xf5cax17=demoLicense};if(_0xf5cax17[_0x7edd[53]]>_0xf5cax2c){_0xf5cax2a=true};if(!_0xf5cax2a){return _0xf5cax13[_0x7edd[48]](403)[_0x7edd[47]]({message:_0x7edd[54]})};return _0xf5cax14()})[_0x7edd[27]](function(_0xf5cax15){return _0xf5cax14(_0xf5cax15)})})}function isValidAgent(){return function(_0xf5cax2e){var _0xf5cax28;var _0xf5cax2f=false;if(_0xf5cax2e[_0x7edd[56]]===_0x7edd[50]||_0xf5cax2e[_0x7edd[56]]===_0x7edd[51]||(_0xf5cax2e[_0x7edd[56]]===_0x7edd[57]&&_0xf5cax2e[_0x7edd[58]])){_0xf5cax2f=true};return Settings[_0x7edd[35]]({where:{id:1}})[_0x7edd[34]](function(_0xf5cax16){_0xf5cax28=_0xf5cax16;return User[_0x7edd[52]]({where:{role:_0x7edd[57],online:true}})})[_0x7edd[49]](function(_0xf5cax30){var _0xf5cax17=null;try{if(_0xf5cax28[_0x7edd[28]]){_0xf5cax17=decrypt(_0xf5cax28[_0x7edd[28]]);_0xf5cax17=JSON[_0x7edd[29]](_0xf5cax17)}else {_0xf5cax17=demoLicense}}catch(err){console[_0x7edd[31]](_0x7edd[30],err);_0xf5cax17=demoLicense};if(_0xf5cax17[_0x7edd[59]]>_0xf5cax30){_0xf5cax2f=true};return _0xf5cax2f})}}function decrypt(_0xf5cax32){var _0xf5cax33=getUuid();var _0xf5cax34=_0xf5cax33[_0x7edd[16]](_0x7edd[60])[4];var _0xf5cax35=_0xf5cax33[_0x7edd[16]](_0x7edd[60])[0];var _0xf5cax36=crypto[_0x7edd[64]](_0x7edd[61],util[_0x7edd[63]](_0x7edd[62],_0xf5cax34,_0xf5cax33,_0xf5cax35));var _0xf5cax17=_0xf5cax36[_0x7edd[39]](_0xf5cax32,_0x7edd[65],_0x7edd[66]);_0xf5cax17+=_0xf5cax36[_0x7edd[67]](_0x7edd[66]);return _0xf5cax17}exports[_0x7edd[68]]=getUuid;exports[_0x7edd[69]]=isValidDate;exports[_0x7edd[70]]=isUsersLimit;exports[_0x7edd[71]]=isTelephonesLimit;exports[_0x7edd[72]]=hasChat;exports[_0x7edd[73]]=hasMail;exports[_0x7edd[74]]=hasFax;exports[_0x7edd[75]]=hasSms;exports[_0x7edd[76]]=hasJscripty;exports[_0x7edd[77]]=hasCm;exports[_0x7edd[78]]=hasUpdate;exports[_0x7edd[79]]=isValidAgent;exports[_0x7edd[80]]=demoLicense;exports[_0x7edd[81]]=decrypt \ No newline at end of file diff --git a/server/config/local.env.sample.js b/server/config/local.env.sample.js index 81dc954..473a927 100644 --- a/server/config/local.env.sample.js +++ b/server/config/local.env.sample.js @@ -1 +1 @@ -var _0x34f1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x68\x74\x74\x70\x3A\x2F\x2F\x6C\x6F\x63\x61\x6C\x68\x6F\x73\x74\x3A\x39\x30\x30\x30","\x78\x63\x61\x6C\x6C\x79\x73\x68\x75\x74\x74\x6C\x65\x2D\x73\x65\x63\x72\x65\x74","\x61\x70\x70\x2D\x69\x64","\x73\x65\x63\x72\x65\x74",""];_0x34f1[0];module[_0x34f1[1]]={DOMAIN:_0x34f1[2],SESSION_SECRET:_0x34f1[3],FACEBOOK_ID:_0x34f1[4],FACEBOOK_SECRET:_0x34f1[5],TWITTER_ID:_0x34f1[4],TWITTER_SECRET:_0x34f1[5],GOOGLE_ID:_0x34f1[4],GOOGLE_SECRET:_0x34f1[5],DEBUG:_0x34f1[6]} \ No newline at end of file +var _0x6467=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x68\x74\x74\x70\x3A\x2F\x2F\x6C\x6F\x63\x61\x6C\x68\x6F\x73\x74\x3A\x39\x30\x30\x30","\x78\x63\x61\x6C\x6C\x79\x73\x68\x75\x74\x74\x6C\x65\x2D\x73\x65\x63\x72\x65\x74","\x61\x70\x70\x2D\x69\x64","\x73\x65\x63\x72\x65\x74",""];_0x6467[0];module[_0x6467[1]]={DOMAIN:_0x6467[2],SESSION_SECRET:_0x6467[3],FACEBOOK_ID:_0x6467[4],FACEBOOK_SECRET:_0x6467[5],TWITTER_ID:_0x6467[4],TWITTER_SECRET:_0x6467[5],GOOGLE_ID:_0x6467[4],GOOGLE_SECRET:_0x6467[5],DEBUG:_0x6467[6]} \ No newline at end of file diff --git a/server/config/logger.js b/server/config/logger.js index 88dc1a2..ed66cdd 100644 --- a/server/config/logger.js +++ b/server/config/logger.js @@ -1 +1 @@ -var _0x83a0=["\x77\x69\x6E\x73\x74\x6F\x6E","\x70\x61\x74\x68","\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x65\x6D\x69\x74\x45\x72\x72\x73","\x64\x65\x62\x75\x67","\x74\x72\x61\x6E\x73\x70\x6F\x72\x74\x73","\x64\x65\x62\x75\x67\x54\x6F\x46\x69\x6C\x65","\x6C\x6F\x67\x67\x69\x6E\x67","\x64\x65\x62\x75\x67\x2D\x66\x69\x6C\x65","\x61\x64\x64","\x69\x6E\x66\x6F\x2D\x66\x69\x6C\x65","\x69\x6E\x66\x6F","\x77\x61\x72\x6E\x2D\x66\x69\x6C\x65","\x77\x61\x72\x6E","\x65\x72\x72\x6F\x72\x2D\x66\x69\x6C\x65","\x65\x72\x72\x6F\x72","\x65\x78\x70\x6F\x72\x74\x73","\x73\x74\x72\x65\x61\x6D"];var winston=require(_0x83a0[0]);var path=require(_0x83a0[1]);var config=require(_0x83a0[2]);winston[_0x83a0[3]]=true;var debug= new winston.Logger({transports:[ new winston[_0x83a0[5]].Console({level:_0x83a0[4],handleExceptions:true,json:false,colorize:true})]});if(config[_0x83a0[7]][_0x83a0[6]]){debug[_0x83a0[9]](winston[_0x83a0[5]].File,{name:_0x83a0[8],level:_0x83a0[4],filename:config[_0x83a0[7]][_0x83a0[4]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false})};var info= new winston.Logger({transports:[ new winston[_0x83a0[5]].File({name:_0x83a0[10],level:_0x83a0[11],filename:config[_0x83a0[7]][_0x83a0[11]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0x83a0[5]].Console({level:_0x83a0[11],handleExceptions:true,json:false,colorize:true})]});var warn= new winston.Logger({transports:[ new winston[_0x83a0[5]].File({name:_0x83a0[12],level:_0x83a0[13],filename:config[_0x83a0[7]][_0x83a0[13]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0x83a0[5]].Console({level:_0x83a0[13],handleExceptions:true,json:false,colorize:true})]});var error= new winston.Logger({transports:[ new winston[_0x83a0[5]].File({name:_0x83a0[14],level:_0x83a0[15],filename:config[_0x83a0[7]][_0x83a0[15]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0x83a0[5]].Console({level:_0x83a0[15],handleExceptions:true,json:false,colorize:true})]});var loggers={debug:function(_0x862fx9,_0x862fxa){debug[_0x83a0[4]](_0x862fx9,_0x862fxa)},info:function(_0x862fx9,_0x862fxa){info[_0x83a0[11]](_0x862fx9,_0x862fxa)},warn:function(_0x862fx9,_0x862fxa){warn[_0x83a0[13]](_0x862fx9,_0x862fxa)},error:function(_0x862fx9,_0x862fxa){error[_0x83a0[15]](_0x862fx9,_0x862fxa)},log:function(_0x862fxb,_0x862fx9,_0x862fxa){var _0x862fxc=exports[_0x862fxb];_0x862fxc(_0x862fx9,_0x862fxa)}};module[_0x83a0[16]]=loggers;module[_0x83a0[16]][_0x83a0[17]]={write:function(_0x862fxd,_0x862fxe){loggers[_0x83a0[11]](_0x862fxd)}} \ No newline at end of file +var _0xe257=["\x77\x69\x6E\x73\x74\x6F\x6E","\x70\x61\x74\x68","\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x65\x6D\x69\x74\x45\x72\x72\x73","\x64\x65\x62\x75\x67","\x74\x72\x61\x6E\x73\x70\x6F\x72\x74\x73","\x64\x65\x62\x75\x67\x54\x6F\x46\x69\x6C\x65","\x6C\x6F\x67\x67\x69\x6E\x67","\x64\x65\x62\x75\x67\x2D\x66\x69\x6C\x65","\x61\x64\x64","\x69\x6E\x66\x6F\x2D\x66\x69\x6C\x65","\x69\x6E\x66\x6F","\x77\x61\x72\x6E\x2D\x66\x69\x6C\x65","\x77\x61\x72\x6E","\x65\x72\x72\x6F\x72\x2D\x66\x69\x6C\x65","\x65\x72\x72\x6F\x72","\x65\x78\x70\x6F\x72\x74\x73","\x73\x74\x72\x65\x61\x6D"];var winston=require(_0xe257[0]);var path=require(_0xe257[1]);var config=require(_0xe257[2]);winston[_0xe257[3]]=true;var debug= new winston.Logger({transports:[ new winston[_0xe257[5]].Console({level:_0xe257[4],handleExceptions:true,json:false,colorize:true})]});if(config[_0xe257[7]][_0xe257[6]]){debug[_0xe257[9]](winston[_0xe257[5]].File,{name:_0xe257[8],level:_0xe257[4],filename:config[_0xe257[7]][_0xe257[4]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false})};var info= new winston.Logger({transports:[ new winston[_0xe257[5]].File({name:_0xe257[10],level:_0xe257[11],filename:config[_0xe257[7]][_0xe257[11]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0xe257[5]].Console({level:_0xe257[11],handleExceptions:true,json:false,colorize:true})]});var warn= new winston.Logger({transports:[ new winston[_0xe257[5]].File({name:_0xe257[12],level:_0xe257[13],filename:config[_0xe257[7]][_0xe257[13]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0xe257[5]].Console({level:_0xe257[13],handleExceptions:true,json:false,colorize:true})]});var error= new winston.Logger({transports:[ new winston[_0xe257[5]].File({name:_0xe257[14],level:_0xe257[15],filename:config[_0xe257[7]][_0xe257[15]],handleExceptions:true,json:true,maxsize:5242880,maxFiles:5,colorize:false}), new winston[_0xe257[5]].Console({level:_0xe257[15],handleExceptions:true,json:false,colorize:true})]});var loggers={debug:function(_0x8980x9,_0x8980xa){debug[_0xe257[4]](_0x8980x9,_0x8980xa)},info:function(_0x8980x9,_0x8980xa){info[_0xe257[11]](_0x8980x9,_0x8980xa)},warn:function(_0x8980x9,_0x8980xa){warn[_0xe257[13]](_0x8980x9,_0x8980xa)},error:function(_0x8980x9,_0x8980xa){error[_0xe257[15]](_0x8980x9,_0x8980xa)},log:function(_0x8980xb,_0x8980x9,_0x8980xa){var _0x8980xc=exports[_0x8980xb];_0x8980xc(_0x8980x9,_0x8980xa)}};module[_0xe257[16]]=loggers;module[_0xe257[16]][_0xe257[17]]={write:function(_0x8980xd,_0x8980xe){loggers[_0xe257[11]](_0x8980xd)}} \ No newline at end of file diff --git a/server/config/routing/chat/index.js b/server/config/routing/chat/index.js index 89d51a6..c106b4c 100644 --- a/server/config/routing/chat/index.js +++ b/server/config/routing/chat/index.js @@ -1 +1 @@ -var _0x8bd1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x6F\x6D\x65\x6E\x74","\x75\x74\x69\x6C","\x61\x73\x79\x6E\x63","\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C","\x43\x68\x61\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65","\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x53\x65\x73\x73\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x49\x6E\x74\x65\x72\x76\x61\x6C","\x55\x73\x65\x72","\x2E\x2F\x73\x65\x73\x73\x69\x6F\x6E","\x65\x78\x70\x6F\x72\x74\x73","\x43\x68\x61\x74\x20\x52\x6F\x75\x74\x69\x6E\x67\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E","\x6C\x6F\x67","\x6F\x72\x69\x67\x69\x6E","\x77\x65\x62\x63\x68\x61\x74","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x77\x65\x62\x73\x69\x74\x65\x69\x64","\x69\x64","\x77\x65\x62\x73\x69\x74\x65\x6E\x61\x6D\x65","\x6E\x61\x6D\x65","\x77\x65\x62\x73\x69\x74\x65\x61\x64\x64\x72\x65\x73\x73","\x61\x64\x64\x72\x65\x73\x73","\x66\x69\x64\x65\x6C\x69\x74\x79","\x61\x70\x70\x74\x69\x6D\x65\x6F\x75\x74","\x71\x75\x65\x75\x65\x74\x69\x6D\x65\x6F\x75\x74","\x74\x69\x6D\x65\x6F\x75\x74","\x73\x74\x72\x61\x74\x65\x67\x79","\x62\x65\x65\x70\x61\x6C\x6C","\x70\x72\x69\x6F\x72\x69\x74\x79\x20\x41\x53\x43","\x6F\x6E\x6C\x69\x6E\x65","\x63\x68\x61\x74\x50\x61\x75\x73\x65","\x67\x65\x74\x43\x68\x61\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x65\x78\x74\x65\x72\x6E\x61\x6C","\x76\x69\x73\x69\x74\x6F\x72\x69\x64","\x63\x72\x65\x61\x74\x65","\x72\x6F\x6F\x6D\x69\x64","\x75\x6E\x69\x71\x75\x65\x69\x64","\x25\x73\x2E\x25\x73","\x75\x6E\x69\x78","\x66\x6F\x72\x6D\x61\x74","\x61\x67\x65\x6E\x74\x73","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x63\x6C\x6F\x6E\x65\x44\x65\x65\x70","\x6C\x65\x6E\x67\x74\x68","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x76\x69\x73\x69\x74\x6F\x72\x6E\x61\x6D\x65","\x76\x69\x73\x69\x74\x6F\x72\x65\x6D\x61\x69\x6C","\x61\x67\x65\x6E\x74","\x71\x75\x65\x75\x65\x69\x64","\x71\x75\x65\x75\x65\x6E\x61\x6D\x65","\x74\x69\x6D\x65\x73\x6C\x6F\x74","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\x73\x75\x62\x6A\x65\x63\x74","\x66\x72\x6F\x6D","\x64\x61\x74\x61\x31","\x64\x61\x74\x61\x32","\x64\x61\x74\x61\x33","\x6C\x61\x62\x65\x6C\x44\x61\x74\x61\x31","\x6C\x61\x62\x65\x6C\x44\x61\x74\x61\x32","\x6C\x61\x62\x65\x6C\x44\x61\x74\x61\x33","\x61\x70\x70","\x55\x73\x65\x72\x73","\x55\x73\x65\x72\x48\x61\x73\x43\x68\x61\x74\x51\x75\x65\x75\x65\x2E\x70\x65\x6E\x61\x6C\x74\x79","\x6F\x72\x64\x65\x72\x42\x79","\x70\x65\x6E\x61\x6C\x74\x79","\x55\x73\x65\x72\x48\x61\x73\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x6D\x61\x70","\x71\x75\x65\x75\x65","\x75\x70\x64\x61\x74\x65","\x45\x6E\x64\x20\x63\x68\x61\x74\x20\x72\x6F\x75\x74\x69\x6E\x67\x2E\x2E","\x43\x68\x61\x74\x20\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64\x3A","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x43\x68\x61\x74\x20\x61\x62\x61\x6E\x64\x6F\x6E\x3A","\x41\x42\x41\x4E\x44\x4F\x4E","\x77\x61\x74\x65\x72\x66\x61\x6C\x6C","\x61\x62\x61\x6E\x64\x6F\x6E","\x75\x6E\x73\x65\x72\x76\x65\x64","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x49\x64","\x65\x72\x72","\x55\x6E\x6B\x6E\x6F\x77\x6E\x20\x43\x68\x61\x74\x52\x6F\x6F\x6D\x2E\x2E","\x55\x6E\x6B\x6E\x6F\x77\x6E\x20\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x2E\x2E","\x55\x6E\x6B\x6E\x6F\x77\x6E\x20\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x2E\x2E","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x44\x45\x53\x43","\x66\x69\x6E\x64\x4F\x6E\x65"];_0x8bd1[0];var _=require(_0x8bd1[1]);var moment=require(_0x8bd1[2]);var util=require(_0x8bd1[3]);var async=require(_0x8bd1[4]);var Util=require(_0x8bd1[5]);var ChatApplication=require(_0x8bd1[7])[_0x8bd1[6]];var ChatVisitor=require(_0x8bd1[7])[_0x8bd1[8]];var ChatWebsite=require(_0x8bd1[7])[_0x8bd1[9]];var ChatQueue=require(_0x8bd1[7])[_0x8bd1[10]];var ChatRoom=require(_0x8bd1[7])[_0x8bd1[11]];var ReportChat=require(_0x8bd1[7])[_0x8bd1[12]];var ReportChatSession=require(_0x8bd1[7])[_0x8bd1[13]];var ReportChatRoom=require(_0x8bd1[7])[_0x8bd1[14]];var Interval=require(_0x8bd1[7])[_0x8bd1[15]];var User=require(_0x8bd1[7])[_0x8bd1[16]];var Session=require(_0x8bd1[17]);module[_0x8bd1[18]]=function(){console[_0x8bd1[20]](_0x8bd1[19]);ChatVisitor[_0x8bd1[23]](function(_0x7582x11){if(_0x7582x11[_0x8bd1[21]]===_0x8bd1[22]){handleVisitor(_0x7582x11)}})};function handleEntityNotFound(_0x7582x13){return function(_0x7582x14){if(!_0x7582x14){throw {message:_0x7582x13}};return _0x7582x14}}function handleChatWebsite(_0x7582x16,_0x7582x17){return function(_0x7582x18){_0x7582x16[_0x8bd1[24]]=_0x7582x18[_0x8bd1[25]];_0x7582x16[_0x8bd1[26]]=_0x7582x18[_0x8bd1[27]];_0x7582x16[_0x8bd1[28]]=_0x7582x18[_0x8bd1[29]];_0x7582x17[_0x8bd1[30]]=_0x7582x18[_0x8bd1[30]];if(_0x7582x18[_0x8bd1[30]]){_0x7582x17[_0x8bd1[31]]=_0x7582x17[_0x8bd1[32]]=_0x7582x18[_0x8bd1[33]];_0x7582x17[_0x8bd1[30]]=_0x7582x18[_0x8bd1[33]];_0x7582x17[_0x8bd1[34]]=_0x8bd1[35]};return _0x7582x18[_0x8bd1[39]]({order:_0x8bd1[36],include:[{model:ChatQueue,attributes:[_0x8bd1[25],_0x8bd1[27],_0x8bd1[33],_0x8bd1[34]],include:[{model:User,attributes:[_0x8bd1[25],_0x8bd1[27],_0x8bd1[37],_0x8bd1[38]]}]},{model:User,attributes:[_0x8bd1[25],_0x8bd1[27],_0x8bd1[37],_0x8bd1[38]]},{model:Interval,include:[{all:true}]}]})}}function handleChatRoom(_0x7582x16,_0x7582x1a,_0x7582x17){return function(_0x7582x1b){_0x7582x1b[_0x8bd1[41]](function(_0x7582x1c){_0x7582x1a[_0x8bd1[40]](_0x7582x1c)});_0x7582x1a=_0x7582x1b;return ChatRoom[_0x8bd1[44]]({type:_0x8bd1[42],ChatVisitorId:_0x7582x16[_0x8bd1[43]],ChatWebsiteId:_0x7582x16[_0x8bd1[24]]},{include:[{all:true}]})}}function handleApps(_0x7582x16,_0x7582x1a,_0x7582x17){return function(_0x7582x1e){var _0x7582x1f=[];_0x7582x16[_0x8bd1[45]]=_0x7582x1e[_0x8bd1[25]];_0x7582x16[_0x8bd1[46]]=util[_0x8bd1[49]](_0x8bd1[47],moment()[_0x8bd1[48]](),_0x7582x1e[_0x8bd1[25]]);if(_0x7582x17[_0x8bd1[30]]){_0x7582x16[_0x8bd1[32]]=_0x7582x17[_0x8bd1[30]];_0x7582x16[_0x8bd1[31]]=_0x7582x17[_0x8bd1[30]];_0x7582x16[_0x8bd1[50]]=_0x7582x17[_0x8bd1[50]];_0x7582x16[_0x8bd1[51]]=_0x8bd1[30];_0x7582x16[_0x8bd1[34]]=_0x8bd1[35];var _0x7582x20=_[_0x8bd1[52]](_0x7582x16);if(_0x7582x20[_0x8bd1[50]][_0x8bd1[53]]){_0x7582x1f[_0x8bd1[40]](function(_0x7582x21){return ReportChatRoom[_0x8bd1[44]]({uniqueid:_0x7582x20[_0x8bd1[46]],subject:_0x7582x20[_0x8bd1[64]],websitename:_0x7582x20[_0x8bd1[26]],websiteaddress:_0x7582x20[_0x8bd1[28]],websiteid:_0x7582x20[_0x8bd1[24]],visitorid:_0x7582x20[_0x8bd1[43]],visitorname:_0x7582x20[_0x8bd1[57]],visitoremail:_0x7582x20[_0x8bd1[58]],from:_0x7582x20[_0x8bd1[65]],roomid:_0x7582x20[_0x8bd1[45]],data1:_0x7582x16[_0x8bd1[66]],data2:_0x7582x16[_0x8bd1[67]],data3:_0x7582x16[_0x8bd1[68]],labelData1:_0x7582x16[_0x8bd1[69]],labelData2:_0x7582x16[_0x8bd1[70]],labelData3:_0x7582x16[_0x8bd1[71]],joinAt:moment()[_0x8bd1[49]](_0x8bd1[63])})[_0x8bd1[56]](function(){return ReportChatSession[_0x8bd1[44]]({uniqueid:_0x7582x20[_0x8bd1[46]],websitename:_0x7582x20[_0x8bd1[26]],websiteaddress:_0x7582x20[_0x8bd1[28]],websiteid:_0x7582x20[_0x8bd1[24]],application:_0x7582x20[_0x8bd1[51]],visitorid:_0x7582x20[_0x8bd1[43]],visitorname:_0x7582x20[_0x8bd1[57]],visitoremail:_0x7582x20[_0x8bd1[58]],memberid:(_0x7582x20[_0x8bd1[51]]===_0x8bd1[59]&&_0x7582x20[_0x8bd1[50]][0])?_0x7582x20[_0x8bd1[50]][0][_0x8bd1[25]]:null,membername:(_0x7582x20[_0x8bd1[51]]===_0x8bd1[59]&&_0x7582x20[_0x8bd1[50]][0])?_0x7582x20[_0x8bd1[50]][0][_0x8bd1[27]]:null,queueid:_0x7582x20[_0x8bd1[60]],queuename:_0x7582x20[_0x8bd1[61]],roomid:_0x7582x20[_0x8bd1[45]],fidelity:_0x7582x20[_0x8bd1[51]]===_0x8bd1[30]?_0x7582x20[_0x8bd1[62]]:null,joinAt:moment()[_0x8bd1[49]](_0x8bd1[63])})})[_0x8bd1[56]](function(){ new Session(_0x7582x20,_0x7582x21)})[_0x8bd1[55]](function(_0x7582x22){console[_0x8bd1[54]](_0x7582x22)})})}};_0x7582x1a[_0x8bd1[41]](function(_0x7582x1c,_0x7582x23){var _0x7582x20=_[_0x8bd1[52]](_0x7582x16);_0x7582x20[_0x8bd1[31]]=_0x7582x1c[_0x8bd1[33]];_0x7582x20[_0x8bd1[51]]=_0x7582x1c[_0x8bd1[72]];switch(_0x7582x1c[_0x8bd1[72]]){case _0x8bd1[79]:_0x7582x20[_0x8bd1[60]]=_0x7582x1c[_0x8bd1[10]][_0x8bd1[25]];_0x7582x20[_0x8bd1[61]]=_0x7582x1c[_0x8bd1[10]][_0x8bd1[27]];_0x7582x20[_0x8bd1[34]]=_0x7582x1c[_0x8bd1[10]][_0x8bd1[34]];_0x7582x20[_0x8bd1[32]]=_0x7582x1c[_0x8bd1[10]][_0x8bd1[33]];_0x7582x1c[_0x8bd1[10]][_0x8bd1[73]]=_[_0x8bd1[75]](_0x7582x1c[_0x8bd1[10]].Users,_0x8bd1[74]);_0x7582x20[_0x8bd1[50]]=_[_0x8bd1[78]](_0x7582x1c[_0x8bd1[10]].Users,function(_0x7582x24){return {id:_0x7582x24[_0x8bd1[25]],name:_0x7582x24[_0x8bd1[27]],penalty:_0x7582x24[_0x8bd1[77]][_0x8bd1[76]]}});break;case _0x8bd1[59]:_0x7582x20[_0x8bd1[32]]=_0x7582x1c[_0x8bd1[33]];_0x7582x20[_0x8bd1[34]]=_0x8bd1[35];_0x7582x20[_0x8bd1[50]]=[{id:_0x7582x1c[_0x8bd1[16]][_0x8bd1[25]],name:_0x7582x1c[_0x8bd1[16]][_0x8bd1[27]],penalty:0}];break;default:};if(_0x7582x1f[_0x8bd1[53]]){_0x7582x1f[_0x8bd1[40]](function(_0x7582x25,_0x7582x26,_0x7582x21){if(_0x7582x25){return _0x7582x21(null,_0x7582x25,_0x7582x26)}else {return ReportChatSession[_0x8bd1[80]]({leaveAt:moment()[_0x8bd1[49]](_0x8bd1[63]),unmanaged:true},{where:{leaveAt:null,uniqueid:_0x7582x20[_0x8bd1[46]]},individualHooks:true})[_0x8bd1[56]](function(){return ReportChatSession[_0x8bd1[44]]({uniqueid:_0x7582x20[_0x8bd1[46]],websitename:_0x7582x20[_0x8bd1[26]],websiteaddress:_0x7582x20[_0x8bd1[28]],websiteid:_0x7582x20[_0x8bd1[24]],application:_0x7582x20[_0x8bd1[51]],visitorid:_0x7582x20[_0x8bd1[43]],visitorname:_0x7582x20[_0x8bd1[57]],visitoremail:_0x7582x20[_0x8bd1[58]],memberid:(_0x7582x20[_0x8bd1[51]]===_0x8bd1[59]&&_0x7582x20[_0x8bd1[50]][0])?_0x7582x20[_0x8bd1[50]][0][_0x8bd1[25]]:null,membername:(_0x7582x20[_0x8bd1[51]]===_0x8bd1[59]&&_0x7582x20[_0x8bd1[50]][0])?_0x7582x20[_0x8bd1[50]][0][_0x8bd1[27]]:null,queueid:_0x7582x20[_0x8bd1[60]],queuename:_0x7582x20[_0x8bd1[61]],roomid:_0x7582x20[_0x8bd1[45]],fidelity:_0x7582x20[_0x8bd1[51]]===_0x8bd1[30]?_0x7582x20[_0x8bd1[62]]:null,joinAt:moment()[_0x8bd1[49]](_0x8bd1[63])})})[_0x8bd1[56]](function(){ new Session(_0x7582x20,_0x7582x21)})[_0x8bd1[55]](function(_0x7582x22){console[_0x8bd1[54]](_0x7582x22)})}})}else {_0x7582x1f[_0x8bd1[40]](function(_0x7582x21){return ReportChatRoom[_0x8bd1[44]]({uniqueid:_0x7582x20[_0x8bd1[46]],subject:_0x7582x20[_0x8bd1[64]],websitename:_0x7582x20[_0x8bd1[26]],websiteaddress:_0x7582x20[_0x8bd1[28]],websiteid:_0x7582x20[_0x8bd1[24]],visitorid:_0x7582x20[_0x8bd1[43]],visitorname:_0x7582x20[_0x8bd1[57]],visitoremail:_0x7582x20[_0x8bd1[58]],from:_0x7582x20[_0x8bd1[65]],roomid:_0x7582x20[_0x8bd1[45]],data1:_0x7582x16[_0x8bd1[66]],data2:_0x7582x16[_0x8bd1[67]],data3:_0x7582x16[_0x8bd1[68]],labelData1:_0x7582x16[_0x8bd1[69]],labelData2:_0x7582x16[_0x8bd1[70]],labelData3:_0x7582x16[_0x8bd1[71]],joinAt:moment()[_0x8bd1[49]](_0x8bd1[63])})[_0x8bd1[56]](function(){return ReportChatSession[_0x8bd1[44]]({uniqueid:_0x7582x20[_0x8bd1[46]],websitename:_0x7582x20[_0x8bd1[26]],websiteaddress:_0x7582x20[_0x8bd1[28]],websiteid:_0x7582x20[_0x8bd1[24]],application:_0x7582x20[_0x8bd1[51]],visitorid:_0x7582x20[_0x8bd1[43]],visitorname:_0x7582x20[_0x8bd1[57]],visitoremail:_0x7582x20[_0x8bd1[58]],memberid:(_0x7582x20[_0x8bd1[51]]===_0x8bd1[59]&&_0x7582x20[_0x8bd1[50]][0])?_0x7582x20[_0x8bd1[50]][0][_0x8bd1[25]]:null,membername:(_0x7582x20[_0x8bd1[51]]===_0x8bd1[59]&&_0x7582x20[_0x8bd1[50]][0])?_0x7582x20[_0x8bd1[50]][0][_0x8bd1[27]]:null,queueid:_0x7582x20[_0x8bd1[60]],queuename:_0x7582x20[_0x8bd1[61]],roomid:_0x7582x20[_0x8bd1[45]],fidelity:_0x7582x20[_0x8bd1[51]]===_0x8bd1[30]?_0x7582x20[_0x8bd1[62]]:null,joinAt:moment()[_0x8bd1[49]](_0x8bd1[63])})})[_0x8bd1[56]](function(){ new Session(_0x7582x20,_0x7582x21)})[_0x8bd1[55]](function(_0x7582x22){console[_0x8bd1[54]](_0x7582x22)})})}});async[_0x8bd1[86]](_0x7582x1f,function(_0x7582x22,_0x7582x27,_0x7582x26){if(_0x7582x22){console[_0x8bd1[54]](_0x7582x22)};console[_0x8bd1[20]](_0x8bd1[81]);if(!_0x7582x27){console[_0x8bd1[20]](_0x8bd1[82],_0x7582x16[_0x8bd1[46]]);return ReportChatRoom[_0x8bd1[80]]({leaveAt:moment()[_0x8bd1[49]](_0x8bd1[63]),unmanaged:true,status:_0x8bd1[83]},{where:{leaveAt:null,uniqueid:_0x7582x16[_0x8bd1[46]]},individualHooks:true})[_0x8bd1[56]](function(){return ReportChatSession[_0x8bd1[80]]({leaveAt:moment()[_0x8bd1[49]](_0x8bd1[63]),unmanaged:true},{where:{leaveAt:null,uniqueid:_0x7582x16[_0x8bd1[46]]},individualHooks:true})})[_0x8bd1[56]](handleUnmanaged(_0x7582x16))[_0x8bd1[55]](function(_0x7582x22){console[_0x8bd1[54]](_0x7582x22)})};if(_0x7582x26){console[_0x8bd1[20]](_0x8bd1[84],_0x7582x16[_0x8bd1[46]]);return ReportChatRoom[_0x8bd1[80]]({leaveAt:moment()[_0x8bd1[49]](_0x8bd1[63]),abandon:true,status:_0x8bd1[85]},{where:{leaveAt:null,uniqueid:_0x7582x16[_0x8bd1[46]]},individualHooks:true})[_0x8bd1[56]](handleAbandon(_0x7582x16))[_0x8bd1[55]](function(_0x7582x22){console[_0x8bd1[54]](_0x7582x22)})};return})}}function handleAbandon(_0x7582x16){return function(_0x7582x29){return ChatVisitor[_0x8bd1[80]]({status:_0x8bd1[87]},{where:{id:_0x7582x16[_0x8bd1[43]]}})}}function handleUnmanaged(_0x7582x16){return function(_0x7582x2b){return ChatVisitor[_0x8bd1[80]]({status:_0x8bd1[88]},{where:{id:_0x7582x16[_0x8bd1[43]]}})[_0x8bd1[56]](function(){return ChatRoom[_0x8bd1[80]]({status:_0x8bd1[83]},{where:{id:_0x7582x16[_0x8bd1[45]]}})})}}function handleVisitor(_0x7582x11){var _0x7582x1a=[];var _0x7582x17={agents:[]};var _0x7582x16={visitorid:_0x7582x11[_0x8bd1[25]],visitorname:_0x7582x11[_0x8bd1[89]],visitoremail:_0x7582x11[_0x8bd1[90]],websiteid:_0x7582x11[_0x8bd1[91]],data1:_0x7582x11[_0x8bd1[66]]||null,data2:_0x7582x11[_0x8bd1[67]]||null,data3:_0x7582x11[_0x8bd1[68]]||null,labelData1:_0x7582x11[_0x8bd1[69]]||null,labelData2:_0x7582x11[_0x8bd1[70]]||null,labelData3:_0x7582x11[_0x8bd1[71]]||null,joinAt:moment()[_0x8bd1[49]](_0x8bd1[63])};return ChatRoom[_0x8bd1[99]]({order:[[_0x8bd1[97],_0x8bd1[98]]],include:[{model:User,attributes:[_0x8bd1[25],_0x8bd1[27],_0x8bd1[37],_0x8bd1[38]],where:{id:{$gt:0}}},{model:ChatVisitor,where:{email:_0x7582x11[_0x8bd1[90]]}}]})[_0x8bd1[56]](function(_0x7582x2d){if(_0x7582x2d&&_0x7582x2d[_0x8bd1[73]][_0x8bd1[53]]>0){_0x7582x17[_0x8bd1[50]]=_[_0x8bd1[78]](_0x7582x2d.Users,function(_0x7582x2e){return {id:_0x7582x2e[_0x8bd1[25]],name:_0x7582x2e[_0x8bd1[27]],penalty:0}})};return})[_0x8bd1[56]](function(){return ChatWebsite[_0x8bd1[96]](_0x7582x11.ChatWebsiteId)})[_0x8bd1[56]](handleEntityNotFound(_0x8bd1[95]))[_0x8bd1[56]](handleChatWebsite(_0x7582x16,_0x7582x17))[_0x8bd1[56]](handleEntityNotFound(_0x8bd1[94]))[_0x8bd1[56]](handleChatRoom(_0x7582x16,_0x7582x1a,_0x7582x17))[_0x8bd1[56]](handleEntityNotFound(_0x8bd1[93]))[_0x8bd1[56]](handleApps(_0x7582x16,_0x7582x1a,_0x7582x17))[_0x8bd1[55]](function(_0x7582x22){console[_0x8bd1[54]](_0x8bd1[92],_0x7582x22)})} \ No newline at end of file +var _0xcacb=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x6F\x6D\x65\x6E\x74","\x75\x74\x69\x6C","\x61\x73\x79\x6E\x63","\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C","\x43\x68\x61\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65","\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x53\x65\x73\x73\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x49\x6E\x74\x65\x72\x76\x61\x6C","\x55\x73\x65\x72","\x2E\x2F\x73\x65\x73\x73\x69\x6F\x6E","\x65\x78\x70\x6F\x72\x74\x73","\x43\x68\x61\x74\x20\x52\x6F\x75\x74\x69\x6E\x67\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E","\x6C\x6F\x67","\x6F\x72\x69\x67\x69\x6E","\x77\x65\x62\x63\x68\x61\x74","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x77\x65\x62\x73\x69\x74\x65\x69\x64","\x69\x64","\x77\x65\x62\x73\x69\x74\x65\x6E\x61\x6D\x65","\x6E\x61\x6D\x65","\x77\x65\x62\x73\x69\x74\x65\x61\x64\x64\x72\x65\x73\x73","\x61\x64\x64\x72\x65\x73\x73","\x66\x69\x64\x65\x6C\x69\x74\x79","\x61\x70\x70\x74\x69\x6D\x65\x6F\x75\x74","\x71\x75\x65\x75\x65\x74\x69\x6D\x65\x6F\x75\x74","\x74\x69\x6D\x65\x6F\x75\x74","\x73\x74\x72\x61\x74\x65\x67\x79","\x62\x65\x65\x70\x61\x6C\x6C","\x70\x72\x69\x6F\x72\x69\x74\x79\x20\x41\x53\x43","\x6F\x6E\x6C\x69\x6E\x65","\x63\x68\x61\x74\x50\x61\x75\x73\x65","\x67\x65\x74\x43\x68\x61\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x65\x78\x74\x65\x72\x6E\x61\x6C","\x76\x69\x73\x69\x74\x6F\x72\x69\x64","\x63\x72\x65\x61\x74\x65","\x72\x6F\x6F\x6D\x69\x64","\x75\x6E\x69\x71\x75\x65\x69\x64","\x25\x73\x2E\x25\x73","\x75\x6E\x69\x78","\x66\x6F\x72\x6D\x61\x74","\x61\x67\x65\x6E\x74\x73","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x63\x6C\x6F\x6E\x65\x44\x65\x65\x70","\x6C\x65\x6E\x67\x74\x68","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x76\x69\x73\x69\x74\x6F\x72\x6E\x61\x6D\x65","\x76\x69\x73\x69\x74\x6F\x72\x65\x6D\x61\x69\x6C","\x61\x67\x65\x6E\x74","\x71\x75\x65\x75\x65\x69\x64","\x71\x75\x65\x75\x65\x6E\x61\x6D\x65","\x74\x69\x6D\x65\x73\x6C\x6F\x74","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\x73\x75\x62\x6A\x65\x63\x74","\x66\x72\x6F\x6D","\x64\x61\x74\x61\x31","\x64\x61\x74\x61\x32","\x64\x61\x74\x61\x33","\x6C\x61\x62\x65\x6C\x44\x61\x74\x61\x31","\x6C\x61\x62\x65\x6C\x44\x61\x74\x61\x32","\x6C\x61\x62\x65\x6C\x44\x61\x74\x61\x33","\x61\x70\x70","\x55\x73\x65\x72\x73","\x55\x73\x65\x72\x48\x61\x73\x43\x68\x61\x74\x51\x75\x65\x75\x65\x2E\x70\x65\x6E\x61\x6C\x74\x79","\x6F\x72\x64\x65\x72\x42\x79","\x70\x65\x6E\x61\x6C\x74\x79","\x55\x73\x65\x72\x48\x61\x73\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x6D\x61\x70","\x71\x75\x65\x75\x65","\x75\x70\x64\x61\x74\x65","\x45\x6E\x64\x20\x63\x68\x61\x74\x20\x72\x6F\x75\x74\x69\x6E\x67\x2E\x2E","\x43\x68\x61\x74\x20\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64\x3A","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x43\x68\x61\x74\x20\x61\x62\x61\x6E\x64\x6F\x6E\x3A","\x41\x42\x41\x4E\x44\x4F\x4E","\x77\x61\x74\x65\x72\x66\x61\x6C\x6C","\x61\x62\x61\x6E\x64\x6F\x6E","\x75\x6E\x73\x65\x72\x76\x65\x64","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x49\x64","\x65\x72\x72","\x55\x6E\x6B\x6E\x6F\x77\x6E\x20\x43\x68\x61\x74\x52\x6F\x6F\x6D\x2E\x2E","\x55\x6E\x6B\x6E\x6F\x77\x6E\x20\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x2E\x2E","\x55\x6E\x6B\x6E\x6F\x77\x6E\x20\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x2E\x2E","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x44\x45\x53\x43","\x66\x69\x6E\x64\x4F\x6E\x65"];_0xcacb[0];var _=require(_0xcacb[1]);var moment=require(_0xcacb[2]);var util=require(_0xcacb[3]);var async=require(_0xcacb[4]);var Util=require(_0xcacb[5]);var ChatApplication=require(_0xcacb[7])[_0xcacb[6]];var ChatVisitor=require(_0xcacb[7])[_0xcacb[8]];var ChatWebsite=require(_0xcacb[7])[_0xcacb[9]];var ChatQueue=require(_0xcacb[7])[_0xcacb[10]];var ChatRoom=require(_0xcacb[7])[_0xcacb[11]];var ReportChat=require(_0xcacb[7])[_0xcacb[12]];var ReportChatSession=require(_0xcacb[7])[_0xcacb[13]];var ReportChatRoom=require(_0xcacb[7])[_0xcacb[14]];var Interval=require(_0xcacb[7])[_0xcacb[15]];var User=require(_0xcacb[7])[_0xcacb[16]];var Session=require(_0xcacb[17]);module[_0xcacb[18]]=function(){console[_0xcacb[20]](_0xcacb[19]);ChatVisitor[_0xcacb[23]](function(_0x4693x11){if(_0x4693x11[_0xcacb[21]]===_0xcacb[22]){handleVisitor(_0x4693x11)}})};function handleEntityNotFound(_0x4693x13){return function(_0x4693x14){if(!_0x4693x14){throw {message:_0x4693x13}};return _0x4693x14}}function handleChatWebsite(_0x4693x16,_0x4693x17){return function(_0x4693x18){_0x4693x16[_0xcacb[24]]=_0x4693x18[_0xcacb[25]];_0x4693x16[_0xcacb[26]]=_0x4693x18[_0xcacb[27]];_0x4693x16[_0xcacb[28]]=_0x4693x18[_0xcacb[29]];_0x4693x17[_0xcacb[30]]=_0x4693x18[_0xcacb[30]];if(_0x4693x18[_0xcacb[30]]){_0x4693x17[_0xcacb[31]]=_0x4693x17[_0xcacb[32]]=_0x4693x18[_0xcacb[33]];_0x4693x17[_0xcacb[30]]=_0x4693x18[_0xcacb[33]];_0x4693x17[_0xcacb[34]]=_0xcacb[35]};return _0x4693x18[_0xcacb[39]]({order:_0xcacb[36],include:[{model:ChatQueue,attributes:[_0xcacb[25],_0xcacb[27],_0xcacb[33],_0xcacb[34]],include:[{model:User,attributes:[_0xcacb[25],_0xcacb[27],_0xcacb[37],_0xcacb[38]]}]},{model:User,attributes:[_0xcacb[25],_0xcacb[27],_0xcacb[37],_0xcacb[38]]},{model:Interval,include:[{all:true}]}]})}}function handleChatRoom(_0x4693x16,_0x4693x1a,_0x4693x17){return function(_0x4693x1b){_0x4693x1b[_0xcacb[41]](function(_0x4693x1c){_0x4693x1a[_0xcacb[40]](_0x4693x1c)});_0x4693x1a=_0x4693x1b;return ChatRoom[_0xcacb[44]]({type:_0xcacb[42],ChatVisitorId:_0x4693x16[_0xcacb[43]],ChatWebsiteId:_0x4693x16[_0xcacb[24]]},{include:[{all:true}]})}}function handleApps(_0x4693x16,_0x4693x1a,_0x4693x17){return function(_0x4693x1e){var _0x4693x1f=[];_0x4693x16[_0xcacb[45]]=_0x4693x1e[_0xcacb[25]];_0x4693x16[_0xcacb[46]]=util[_0xcacb[49]](_0xcacb[47],moment()[_0xcacb[48]](),_0x4693x1e[_0xcacb[25]]);if(_0x4693x17[_0xcacb[30]]){_0x4693x16[_0xcacb[32]]=_0x4693x17[_0xcacb[30]];_0x4693x16[_0xcacb[31]]=_0x4693x17[_0xcacb[30]];_0x4693x16[_0xcacb[50]]=_0x4693x17[_0xcacb[50]];_0x4693x16[_0xcacb[51]]=_0xcacb[30];_0x4693x16[_0xcacb[34]]=_0xcacb[35];var _0x4693x20=_[_0xcacb[52]](_0x4693x16);if(_0x4693x20[_0xcacb[50]][_0xcacb[53]]){_0x4693x1f[_0xcacb[40]](function(_0x4693x21){return ReportChatRoom[_0xcacb[44]]({uniqueid:_0x4693x20[_0xcacb[46]],subject:_0x4693x20[_0xcacb[64]],websitename:_0x4693x20[_0xcacb[26]],websiteaddress:_0x4693x20[_0xcacb[28]],websiteid:_0x4693x20[_0xcacb[24]],visitorid:_0x4693x20[_0xcacb[43]],visitorname:_0x4693x20[_0xcacb[57]],visitoremail:_0x4693x20[_0xcacb[58]],from:_0x4693x20[_0xcacb[65]],roomid:_0x4693x20[_0xcacb[45]],data1:_0x4693x16[_0xcacb[66]],data2:_0x4693x16[_0xcacb[67]],data3:_0x4693x16[_0xcacb[68]],labelData1:_0x4693x16[_0xcacb[69]],labelData2:_0x4693x16[_0xcacb[70]],labelData3:_0x4693x16[_0xcacb[71]],joinAt:moment()[_0xcacb[49]](_0xcacb[63])})[_0xcacb[56]](function(){return ReportChatSession[_0xcacb[44]]({uniqueid:_0x4693x20[_0xcacb[46]],websitename:_0x4693x20[_0xcacb[26]],websiteaddress:_0x4693x20[_0xcacb[28]],websiteid:_0x4693x20[_0xcacb[24]],application:_0x4693x20[_0xcacb[51]],visitorid:_0x4693x20[_0xcacb[43]],visitorname:_0x4693x20[_0xcacb[57]],visitoremail:_0x4693x20[_0xcacb[58]],memberid:(_0x4693x20[_0xcacb[51]]===_0xcacb[59]&&_0x4693x20[_0xcacb[50]][0])?_0x4693x20[_0xcacb[50]][0][_0xcacb[25]]:null,membername:(_0x4693x20[_0xcacb[51]]===_0xcacb[59]&&_0x4693x20[_0xcacb[50]][0])?_0x4693x20[_0xcacb[50]][0][_0xcacb[27]]:null,queueid:_0x4693x20[_0xcacb[60]],queuename:_0x4693x20[_0xcacb[61]],roomid:_0x4693x20[_0xcacb[45]],fidelity:_0x4693x20[_0xcacb[51]]===_0xcacb[30]?_0x4693x20[_0xcacb[62]]:null,joinAt:moment()[_0xcacb[49]](_0xcacb[63])})})[_0xcacb[56]](function(){ new Session(_0x4693x20,_0x4693x21)})[_0xcacb[55]](function(_0x4693x22){console[_0xcacb[54]](_0x4693x22)})})}};_0x4693x1a[_0xcacb[41]](function(_0x4693x1c,_0x4693x23){var _0x4693x20=_[_0xcacb[52]](_0x4693x16);_0x4693x20[_0xcacb[31]]=_0x4693x1c[_0xcacb[33]];_0x4693x20[_0xcacb[51]]=_0x4693x1c[_0xcacb[72]];switch(_0x4693x1c[_0xcacb[72]]){case _0xcacb[79]:_0x4693x20[_0xcacb[60]]=_0x4693x1c[_0xcacb[10]][_0xcacb[25]];_0x4693x20[_0xcacb[61]]=_0x4693x1c[_0xcacb[10]][_0xcacb[27]];_0x4693x20[_0xcacb[34]]=_0x4693x1c[_0xcacb[10]][_0xcacb[34]];_0x4693x20[_0xcacb[32]]=_0x4693x1c[_0xcacb[10]][_0xcacb[33]];_0x4693x1c[_0xcacb[10]][_0xcacb[73]]=_[_0xcacb[75]](_0x4693x1c[_0xcacb[10]].Users,_0xcacb[74]);_0x4693x20[_0xcacb[50]]=_[_0xcacb[78]](_0x4693x1c[_0xcacb[10]].Users,function(_0x4693x24){return {id:_0x4693x24[_0xcacb[25]],name:_0x4693x24[_0xcacb[27]],penalty:_0x4693x24[_0xcacb[77]][_0xcacb[76]]}});break;case _0xcacb[59]:_0x4693x20[_0xcacb[32]]=_0x4693x1c[_0xcacb[33]];_0x4693x20[_0xcacb[34]]=_0xcacb[35];_0x4693x20[_0xcacb[50]]=[{id:_0x4693x1c[_0xcacb[16]][_0xcacb[25]],name:_0x4693x1c[_0xcacb[16]][_0xcacb[27]],penalty:0}];break;default:};if(_0x4693x1f[_0xcacb[53]]){_0x4693x1f[_0xcacb[40]](function(_0x4693x25,_0x4693x26,_0x4693x21){if(_0x4693x25){return _0x4693x21(null,_0x4693x25,_0x4693x26)}else {return ReportChatSession[_0xcacb[80]]({leaveAt:moment()[_0xcacb[49]](_0xcacb[63]),unmanaged:true},{where:{leaveAt:null,uniqueid:_0x4693x20[_0xcacb[46]]},individualHooks:true})[_0xcacb[56]](function(){return ReportChatSession[_0xcacb[44]]({uniqueid:_0x4693x20[_0xcacb[46]],websitename:_0x4693x20[_0xcacb[26]],websiteaddress:_0x4693x20[_0xcacb[28]],websiteid:_0x4693x20[_0xcacb[24]],application:_0x4693x20[_0xcacb[51]],visitorid:_0x4693x20[_0xcacb[43]],visitorname:_0x4693x20[_0xcacb[57]],visitoremail:_0x4693x20[_0xcacb[58]],memberid:(_0x4693x20[_0xcacb[51]]===_0xcacb[59]&&_0x4693x20[_0xcacb[50]][0])?_0x4693x20[_0xcacb[50]][0][_0xcacb[25]]:null,membername:(_0x4693x20[_0xcacb[51]]===_0xcacb[59]&&_0x4693x20[_0xcacb[50]][0])?_0x4693x20[_0xcacb[50]][0][_0xcacb[27]]:null,queueid:_0x4693x20[_0xcacb[60]],queuename:_0x4693x20[_0xcacb[61]],roomid:_0x4693x20[_0xcacb[45]],fidelity:_0x4693x20[_0xcacb[51]]===_0xcacb[30]?_0x4693x20[_0xcacb[62]]:null,joinAt:moment()[_0xcacb[49]](_0xcacb[63])})})[_0xcacb[56]](function(){ new Session(_0x4693x20,_0x4693x21)})[_0xcacb[55]](function(_0x4693x22){console[_0xcacb[54]](_0x4693x22)})}})}else {_0x4693x1f[_0xcacb[40]](function(_0x4693x21){return ReportChatRoom[_0xcacb[44]]({uniqueid:_0x4693x20[_0xcacb[46]],subject:_0x4693x20[_0xcacb[64]],websitename:_0x4693x20[_0xcacb[26]],websiteaddress:_0x4693x20[_0xcacb[28]],websiteid:_0x4693x20[_0xcacb[24]],visitorid:_0x4693x20[_0xcacb[43]],visitorname:_0x4693x20[_0xcacb[57]],visitoremail:_0x4693x20[_0xcacb[58]],from:_0x4693x20[_0xcacb[65]],roomid:_0x4693x20[_0xcacb[45]],data1:_0x4693x16[_0xcacb[66]],data2:_0x4693x16[_0xcacb[67]],data3:_0x4693x16[_0xcacb[68]],labelData1:_0x4693x16[_0xcacb[69]],labelData2:_0x4693x16[_0xcacb[70]],labelData3:_0x4693x16[_0xcacb[71]],joinAt:moment()[_0xcacb[49]](_0xcacb[63])})[_0xcacb[56]](function(){return ReportChatSession[_0xcacb[44]]({uniqueid:_0x4693x20[_0xcacb[46]],websitename:_0x4693x20[_0xcacb[26]],websiteaddress:_0x4693x20[_0xcacb[28]],websiteid:_0x4693x20[_0xcacb[24]],application:_0x4693x20[_0xcacb[51]],visitorid:_0x4693x20[_0xcacb[43]],visitorname:_0x4693x20[_0xcacb[57]],visitoremail:_0x4693x20[_0xcacb[58]],memberid:(_0x4693x20[_0xcacb[51]]===_0xcacb[59]&&_0x4693x20[_0xcacb[50]][0])?_0x4693x20[_0xcacb[50]][0][_0xcacb[25]]:null,membername:(_0x4693x20[_0xcacb[51]]===_0xcacb[59]&&_0x4693x20[_0xcacb[50]][0])?_0x4693x20[_0xcacb[50]][0][_0xcacb[27]]:null,queueid:_0x4693x20[_0xcacb[60]],queuename:_0x4693x20[_0xcacb[61]],roomid:_0x4693x20[_0xcacb[45]],fidelity:_0x4693x20[_0xcacb[51]]===_0xcacb[30]?_0x4693x20[_0xcacb[62]]:null,joinAt:moment()[_0xcacb[49]](_0xcacb[63])})})[_0xcacb[56]](function(){ new Session(_0x4693x20,_0x4693x21)})[_0xcacb[55]](function(_0x4693x22){console[_0xcacb[54]](_0x4693x22)})})}});async[_0xcacb[86]](_0x4693x1f,function(_0x4693x22,_0x4693x27,_0x4693x26){if(_0x4693x22){console[_0xcacb[54]](_0x4693x22)};console[_0xcacb[20]](_0xcacb[81]);if(!_0x4693x27){console[_0xcacb[20]](_0xcacb[82],_0x4693x16[_0xcacb[46]]);return ReportChatRoom[_0xcacb[80]]({leaveAt:moment()[_0xcacb[49]](_0xcacb[63]),unmanaged:true,status:_0xcacb[83]},{where:{leaveAt:null,uniqueid:_0x4693x16[_0xcacb[46]]},individualHooks:true})[_0xcacb[56]](function(){return ReportChatSession[_0xcacb[80]]({leaveAt:moment()[_0xcacb[49]](_0xcacb[63]),unmanaged:true},{where:{leaveAt:null,uniqueid:_0x4693x16[_0xcacb[46]]},individualHooks:true})})[_0xcacb[56]](handleUnmanaged(_0x4693x16))[_0xcacb[55]](function(_0x4693x22){console[_0xcacb[54]](_0x4693x22)})};if(_0x4693x26){console[_0xcacb[20]](_0xcacb[84],_0x4693x16[_0xcacb[46]]);return ReportChatRoom[_0xcacb[80]]({leaveAt:moment()[_0xcacb[49]](_0xcacb[63]),abandon:true,status:_0xcacb[85]},{where:{leaveAt:null,uniqueid:_0x4693x16[_0xcacb[46]]},individualHooks:true})[_0xcacb[56]](handleAbandon(_0x4693x16))[_0xcacb[55]](function(_0x4693x22){console[_0xcacb[54]](_0x4693x22)})};return})}}function handleAbandon(_0x4693x16){return function(_0x4693x29){return ChatVisitor[_0xcacb[80]]({status:_0xcacb[87]},{where:{id:_0x4693x16[_0xcacb[43]]}})}}function handleUnmanaged(_0x4693x16){return function(_0x4693x2b){return ChatVisitor[_0xcacb[80]]({status:_0xcacb[88]},{where:{id:_0x4693x16[_0xcacb[43]]}})[_0xcacb[56]](function(){return ChatRoom[_0xcacb[80]]({status:_0xcacb[83]},{where:{id:_0x4693x16[_0xcacb[45]]}})})}}function handleVisitor(_0x4693x11){var _0x4693x1a=[];var _0x4693x17={agents:[]};var _0x4693x16={visitorid:_0x4693x11[_0xcacb[25]],visitorname:_0x4693x11[_0xcacb[89]],visitoremail:_0x4693x11[_0xcacb[90]],websiteid:_0x4693x11[_0xcacb[91]],data1:_0x4693x11[_0xcacb[66]]||null,data2:_0x4693x11[_0xcacb[67]]||null,data3:_0x4693x11[_0xcacb[68]]||null,labelData1:_0x4693x11[_0xcacb[69]]||null,labelData2:_0x4693x11[_0xcacb[70]]||null,labelData3:_0x4693x11[_0xcacb[71]]||null,joinAt:moment()[_0xcacb[49]](_0xcacb[63])};return ChatRoom[_0xcacb[99]]({order:[[_0xcacb[97],_0xcacb[98]]],include:[{model:User,attributes:[_0xcacb[25],_0xcacb[27],_0xcacb[37],_0xcacb[38]],where:{id:{$gt:0}}},{model:ChatVisitor,where:{email:_0x4693x11[_0xcacb[90]]}}]})[_0xcacb[56]](function(_0x4693x2d){if(_0x4693x2d&&_0x4693x2d[_0xcacb[73]][_0xcacb[53]]>0){_0x4693x17[_0xcacb[50]]=_[_0xcacb[78]](_0x4693x2d.Users,function(_0x4693x2e){return {id:_0x4693x2e[_0xcacb[25]],name:_0x4693x2e[_0xcacb[27]],penalty:0}})};return})[_0xcacb[56]](function(){return ChatWebsite[_0xcacb[96]](_0x4693x11.ChatWebsiteId)})[_0xcacb[56]](handleEntityNotFound(_0xcacb[95]))[_0xcacb[56]](handleChatWebsite(_0x4693x16,_0x4693x17))[_0xcacb[56]](handleEntityNotFound(_0xcacb[94]))[_0xcacb[56]](handleChatRoom(_0x4693x16,_0x4693x1a,_0x4693x17))[_0xcacb[56]](handleEntityNotFound(_0xcacb[93]))[_0xcacb[56]](handleApps(_0x4693x16,_0x4693x1a,_0x4693x17))[_0xcacb[55]](function(_0x4693x22){console[_0xcacb[54]](_0xcacb[92],_0x4693x22)})} \ No newline at end of file diff --git a/server/config/routing/chat/session.js b/server/config/routing/chat/session.js index adc2067..81bb87c 100644 --- a/server/config/routing/chat/session.js +++ b/server/config/routing/chat/session.js @@ -1 +1 @@ -var _0xf931=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x6F\x6D\x65\x6E\x74","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x43\x68\x61\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x53\x65\x73\x73\x69\x6F\x6E","\x4E\x65\x77\x20\x43\x68\x61\x74\x20\x73\x65\x73\x73\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x61\x67\x65\x6E\x74\x73","\x69\x64","\x66\x69\x6E\x64","\x70\x65\x6E\x61\x6C\x74\x79","\x66\x6F\x72\x45\x61\x63\x68","\x6F\x72\x64\x65\x72\x42\x79","\x63\x68\x61\x74\x43\x61\x70\x61\x63\x69\x74\x79","\x6C\x65\x6E\x67\x74\x68","\x72\x6F\x6F\x6D\x69\x64","\x73\x74\x61\x74\x75\x73","\x43\x4C\x4F\x53\x45\x44","\x66\x69\x6C\x74\x65\x72","\x74\x69\x6D\x65\x73\x6C\x6F\x74","\x61\x70\x70\x74\x69\x6D\x65\x6F\x75\x74","\x71\x75\x65\x75\x65\x74\x69\x6D\x65\x6F\x75\x74","\x63\x6C\x6F\x6E\x65\x44\x65\x65\x70","\x73\x68\x69\x66\x74","\x61\x76\x61\x69\x6C\x61\x62\x6C\x65","\x6E\x61\x6D\x65","\x70\x75\x73\x68","\x72\x72\x6D\x65\x6D\x6F\x72\x79","\x62\x65\x65\x70\x61\x6C\x6C","\x73\x74\x72\x61\x74\x65\x67\x79","\x64\x69\x66\x66\x65\x72\x65\x6E\x63\x65\x42\x79","\x74\x68\x65\x6E","\x6D\x61\x70","\x66\x69\x6E\x64\x41\x6C\x6C","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x64","\x63\x68\x61\x6E\x67\x65\x64","\x6D\x65\x6D\x62\x65\x72\x69\x64","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\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","\x75\x6E\x69\x71\x75\x65\x69\x64","\x75\x70\x64\x61\x74\x65","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x71\x75\x65\x75\x65\x69\x64","\x71\x75\x65\x75\x65\x6E\x61\x6D\x65","\x4F\x50\x45\x4E","\x61\x64\x64\x55\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x72\x65\x6A\x65\x63\x74\x65\x64\x41\x74","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x62\x61\x6E\x64\x6F\x6E","\x41\x42\x41\x4E\x44\x4F\x4E","\x76\x69\x73\x69\x74\x6F\x72\x69\x64","\x76\x69\x73\x69\x74\x6F\x72\x6E\x61\x6D\x65","\x76\x69\x73\x69\x74\x6F\x72\x65\x6D\x61\x69\x6C","\x77\x65\x62\x73\x69\x74\x65\x69\x64","\x77\x65\x62\x73\x69\x74\x65\x6E\x61\x6D\x65","\x77\x65\x62\x73\x69\x74\x65\x61\x64\x64\x72\x65\x73\x73","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xf931[0];var _=require(_0xf931[1]);var moment=require(_0xf931[2]);var Agent=require(_0xf931[4])[_0xf931[3]];var ChatRoom=require(_0xf931[4])[_0xf931[5]];var ChatApplication=require(_0xf931[4])[_0xf931[6]];var ReportChat=require(_0xf931[4])[_0xf931[7]];var ReportChatRoom=require(_0xf931[4])[_0xf931[8]];var ReportChatSession=require(_0xf931[4])[_0xf931[9]];function Session(_0x4041xa,_0x4041xb){console[_0xf931[11]](_0xf931[10]);var _0x4041xc=0;var _0x4041xd,_0x4041xe;var _0x4041xf=[];Agent[_0xf931[40]]({where:{id:{$in:_[_0xf931[39]](_0x4041xa[_0xf931[14]],_0xf931[15])},online:true,chatPause:false},include:[{model:ChatRoom,attributes:[_0xf931[15],_0xf931[23]]}],attributes:[_0xf931[15],_0xf931[32],_0xf931[20]]})[_0xf931[38]](function(_0x4041x11){_[_0xf931[18]](_0x4041x11,function(_0x4041x12){var _0x4041x13=_[_0xf931[16]](_0x4041xa[_0xf931[14]],{"\x69\x64":_0x4041x12[_0xf931[15]]});_0x4041x12[_0xf931[17]]=_0x4041x13[_0xf931[17]]});_0x4041x11=_[_0xf931[19]](_0x4041x11,_0xf931[17]);var _0x4041x14=_[_0xf931[25]](_0x4041x11,function(_0x4041x12){if(_0x4041x12[_0xf931[20]]===0){return true}else {return _0x4041x12[_0xf931[20]]>_[_0xf931[25]](_0x4041x12.ChatRooms,function(_0x4041x15){return _0x4041x15[_0xf931[15]]!==_0x4041xa[_0xf931[22]]&&_0x4041x15[_0xf931[23]]!==_0xf931[24]})[_0xf931[21]]}});var _0x4041x16=[];var _0x4041x17;var _0x4041x12;_0x4041xa[_0xf931[26]]=((_0x4041xa[_0xf931[27]]-_0x4041xc)>_0x4041xa[_0xf931[28]])?_0x4041xa[_0xf931[28]]:(_0x4041xa[_0xf931[27]]-_0x4041xc);switch(_0x4041xa[_0xf931[36]]){case _0xf931[34]:_0x4041x17=_[_0xf931[29]](_0x4041x14);_0x4041x12=_0x4041x17[_0xf931[30]]();if(_0x4041x12){_0x4041xa[_0xf931[31]]=[{id:_0x4041x12[_0xf931[15]],name:_0x4041x12[_0xf931[32]]}];_0x4041x16[_0xf931[33]]({id:_0x4041x12[_0xf931[15]],name:_0x4041x12[_0xf931[32]]});saveReport(_0x4041xa)};break;case _0xf931[35]:_0x4041xa[_0xf931[31]]=_0x4041x14;saveReport(_0x4041xa);break;default:};_0x4041xe=setTimeout(function(){clearInterval(_0x4041xd);return _0x4041xb(null,false,false)},_0x4041xa[_0xf931[27]]*1000);_0x4041xd=setInterval(function(){_0x4041xc+=_0x4041xa[_0xf931[28]];return Agent[_0xf931[40]]({where:{id:{$in:_[_0xf931[39]](_0x4041xa[_0xf931[14]],_0xf931[15])},online:true,chatPause:false},include:[{model:ChatRoom,attributes:[_0xf931[15],_0xf931[23]]}],attributes:[_0xf931[15],_0xf931[32],_0xf931[20]]})[_0xf931[38]](function(_0x4041x11){_[_0xf931[18]](_0x4041x11,function(_0x4041x12){var _0x4041x13=_[_0xf931[16]](_0x4041xa[_0xf931[14]],{"\x69\x64":_0x4041x12[_0xf931[15]]});_0x4041x12[_0xf931[17]]=_0x4041x13[_0xf931[17]]});_0x4041x11=_[_0xf931[19]](_0x4041x11,_0xf931[17]);_0x4041x14=_[_0xf931[25]](_0x4041x11,function(_0x4041x12){if(_0x4041x12[_0xf931[20]]===0){return true}else {return _0x4041x12[_0xf931[20]]>_[_0xf931[25]](_0x4041x12.ChatRooms,function(_0x4041x15){return _0x4041x15[_0xf931[15]]!==_0x4041xa[_0xf931[22]]&&_0x4041x15[_0xf931[23]]!==_0xf931[24]})[_0xf931[21]]}});_0x4041xa[_0xf931[26]]=((_0x4041xa[_0xf931[27]]-_0x4041xc)>_0x4041xa[_0xf931[28]])?_0x4041xa[_0xf931[28]]:(_0x4041xa[_0xf931[27]]-_0x4041xc);switch(_0x4041xa[_0xf931[36]]){case _0xf931[34]:_0x4041x17=_[_0xf931[37]](_0x4041x14,_0x4041x16,_0xf931[32]);_0x4041x17=_[_0xf931[37]](_0x4041x17,_0x4041xf,_0xf931[32]);_0x4041x12=_0x4041x17[_0xf931[30]]();if(_0x4041x12){_0x4041xa[_0xf931[31]]=[{id:_0x4041x12[_0xf931[15]],name:_0x4041x12[_0xf931[32]]}];_0x4041x16[_0xf931[33]]({id:_0x4041x12[_0xf931[15]],name:_0x4041x12[_0xf931[32]]});saveReport(_0x4041xa)}else {_0x4041x16=[];_0x4041x14=_[_0xf931[37]](_0x4041x14,_0x4041xf,_0xf931[32]);_0x4041x12=_0x4041x14[_0xf931[30]]();if(_0x4041x12){_0x4041xa[_0xf931[31]]=[{id:_0x4041x12[_0xf931[15]],name:_0x4041x12[_0xf931[32]]}];_0x4041x16[_0xf931[33]]({id:_0x4041x12[_0xf931[15]],name:_0x4041x12[_0xf931[32]]});saveReport(_0x4041xa)}};break;case _0xf931[35]:_0x4041xa[_0xf931[31]]=_[_0xf931[37]](_0x4041x14,_0x4041xf,_0xf931[32]);saveReport(_0x4041xa);break;default:}})[_0xf931[13]](function(_0x4041x10){console[_0xf931[12]](_0x4041x10)})},_0x4041xa[_0xf931[28]]*1000)})[_0xf931[13]](function(_0x4041x10){console[_0xf931[12]](_0x4041x10)});ReportChat[_0xf931[56]](function(_0x4041x18){if(_0x4041x18[_0xf931[42]](_0xf931[41])){var _0x4041x19;return ChatRoom[_0xf931[54]](_0x4041x18[_0xf931[22]])[_0xf931[38]](function(ChatRoom){_0x4041x19=ChatRoom;return ChatRoom[_0xf931[53]](_0x4041x18[_0xf931[43]],{individualHooks:true})})[_0xf931[38]](function(){return _0x4041x19[_0xf931[48]]({status:_0xf931[52]})})[_0xf931[38]](function(){return ReportChatRoom[_0xf931[48]]({application:_0x4041x18[_0xf931[49]],memberid:_0x4041x18[_0xf931[43]],membername:_0x4041x18[_0xf931[44]],queueid:_0x4041x18[_0xf931[50]]||null,queuename:_0x4041x18[_0xf931[51]]||null,leaveAt:moment()[_0xf931[46]](_0xf931[45]),status:_0xf931[52]},{where:{uniqueid:_0x4041x18[_0xf931[47]],leaveAt:null},individualHooks:true})})[_0xf931[38]](function(){return ReportChatSession[_0xf931[48]]({memberid:_0x4041x18[_0xf931[43]],membername:_0x4041x18[_0xf931[44]],leaveAt:moment()[_0xf931[46]](_0xf931[45])},{where:{uniqueid:_0x4041x18[_0xf931[47]],leaveAt:null},individualHooks:true})})[_0xf931[38]](function(){clearInterval(_0x4041xd);clearTimeout(_0x4041xe);return _0x4041xb(null,true,false)})[_0xf931[13]](function(_0x4041x10){console[_0xf931[12]](_0x4041x10)})};if(_0x4041x18[_0xf931[42]](_0xf931[55])){_0x4041xf[_0xf931[33]]({id:_0x4041x18[_0xf931[43]],name:_0x4041x18[_0xf931[44]]})}});ReportChatSession[_0xf931[56]](function(_0x4041x18){if(_0x4041x18[_0xf931[42]](_0xf931[57])&&_0x4041x18[_0xf931[57]]){return ChatRoom[_0xf931[54]](_0x4041x18[_0xf931[22]])[_0xf931[38]](function(_0x4041x1a){return _0x4041x1a[_0xf931[48]]({status:_0xf931[58]})})[_0xf931[38]](function(){clearInterval(_0x4041xd);clearTimeout(_0x4041xe);return _0x4041xb(null,true,true)})[_0xf931[13]](function(_0x4041x10){console[_0xf931[12]](_0x4041x10)})}});return {}}function saveReport(_0x4041xa){var _0x4041x1c=[];for(var _0x4041x1d=0;_0x4041x1d<_0x4041xa[_0xf931[31]][_0xf931[21]];_0x4041x1d++){var _0x4041x12=_0x4041xa[_0xf931[31]][_0x4041x1d];_0x4041x1c[_0xf931[33]]({uniqueid:_0x4041xa[_0xf931[47]],visitorid:_0x4041xa[_0xf931[59]],visitorname:_0x4041xa[_0xf931[60]],visitoremail:_0x4041xa[_0xf931[61]],timeslot:_0x4041xa[_0xf931[26]],websiteid:_0x4041xa[_0xf931[62]],websitename:_0x4041xa[_0xf931[63]],websiteaddress:_0x4041xa[_0xf931[64]],application:_0x4041xa[_0xf931[49]],membername:_0x4041x12[_0xf931[32]],memberid:_0x4041x12[_0xf931[15]],queueid:_0x4041xa[_0xf931[50]]||null,queuename:_0x4041xa[_0xf931[51]]||null,roomid:_0x4041xa[_0xf931[22]]||null,calledAt:moment()[_0xf931[46]](_0xf931[45])})};if(_0x4041x1c[_0xf931[21]]){return ReportChat[_0xf931[65]](_0x4041x1c,{individualHooks:true})[_0xf931[13]](function(_0x4041x10){console[_0xf931[12]](_0x4041x10)})}}module[_0xf931[66]]=Session \ No newline at end of file +var _0x9ca2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x6F\x6D\x65\x6E\x74","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x43\x68\x61\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x53\x65\x73\x73\x69\x6F\x6E","\x4E\x65\x77\x20\x43\x68\x61\x74\x20\x73\x65\x73\x73\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x61\x67\x65\x6E\x74\x73","\x69\x64","\x66\x69\x6E\x64","\x70\x65\x6E\x61\x6C\x74\x79","\x66\x6F\x72\x45\x61\x63\x68","\x6F\x72\x64\x65\x72\x42\x79","\x63\x68\x61\x74\x43\x61\x70\x61\x63\x69\x74\x79","\x6C\x65\x6E\x67\x74\x68","\x72\x6F\x6F\x6D\x69\x64","\x73\x74\x61\x74\x75\x73","\x43\x4C\x4F\x53\x45\x44","\x66\x69\x6C\x74\x65\x72","\x74\x69\x6D\x65\x73\x6C\x6F\x74","\x61\x70\x70\x74\x69\x6D\x65\x6F\x75\x74","\x71\x75\x65\x75\x65\x74\x69\x6D\x65\x6F\x75\x74","\x63\x6C\x6F\x6E\x65\x44\x65\x65\x70","\x73\x68\x69\x66\x74","\x61\x76\x61\x69\x6C\x61\x62\x6C\x65","\x6E\x61\x6D\x65","\x70\x75\x73\x68","\x72\x72\x6D\x65\x6D\x6F\x72\x79","\x62\x65\x65\x70\x61\x6C\x6C","\x73\x74\x72\x61\x74\x65\x67\x79","\x64\x69\x66\x66\x65\x72\x65\x6E\x63\x65\x42\x79","\x74\x68\x65\x6E","\x6D\x61\x70","\x66\x69\x6E\x64\x41\x6C\x6C","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x64","\x63\x68\x61\x6E\x67\x65\x64","\x6D\x65\x6D\x62\x65\x72\x69\x64","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\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","\x75\x6E\x69\x71\x75\x65\x69\x64","\x75\x70\x64\x61\x74\x65","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x71\x75\x65\x75\x65\x69\x64","\x71\x75\x65\x75\x65\x6E\x61\x6D\x65","\x4F\x50\x45\x4E","\x61\x64\x64\x55\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x72\x65\x6A\x65\x63\x74\x65\x64\x41\x74","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x62\x61\x6E\x64\x6F\x6E","\x41\x42\x41\x4E\x44\x4F\x4E","\x76\x69\x73\x69\x74\x6F\x72\x69\x64","\x76\x69\x73\x69\x74\x6F\x72\x6E\x61\x6D\x65","\x76\x69\x73\x69\x74\x6F\x72\x65\x6D\x61\x69\x6C","\x77\x65\x62\x73\x69\x74\x65\x69\x64","\x77\x65\x62\x73\x69\x74\x65\x6E\x61\x6D\x65","\x77\x65\x62\x73\x69\x74\x65\x61\x64\x64\x72\x65\x73\x73","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x9ca2[0];var _=require(_0x9ca2[1]);var moment=require(_0x9ca2[2]);var Agent=require(_0x9ca2[4])[_0x9ca2[3]];var ChatRoom=require(_0x9ca2[4])[_0x9ca2[5]];var ChatApplication=require(_0x9ca2[4])[_0x9ca2[6]];var ReportChat=require(_0x9ca2[4])[_0x9ca2[7]];var ReportChatRoom=require(_0x9ca2[4])[_0x9ca2[8]];var ReportChatSession=require(_0x9ca2[4])[_0x9ca2[9]];function Session(_0x56f1xa,_0x56f1xb){console[_0x9ca2[11]](_0x9ca2[10]);var _0x56f1xc=0;var _0x56f1xd,_0x56f1xe;var _0x56f1xf=[];Agent[_0x9ca2[40]]({where:{id:{$in:_[_0x9ca2[39]](_0x56f1xa[_0x9ca2[14]],_0x9ca2[15])},online:true,chatPause:false},include:[{model:ChatRoom,attributes:[_0x9ca2[15],_0x9ca2[23]]}],attributes:[_0x9ca2[15],_0x9ca2[32],_0x9ca2[20]]})[_0x9ca2[38]](function(_0x56f1x11){_[_0x9ca2[18]](_0x56f1x11,function(_0x56f1x12){var _0x56f1x13=_[_0x9ca2[16]](_0x56f1xa[_0x9ca2[14]],{"\x69\x64":_0x56f1x12[_0x9ca2[15]]});_0x56f1x12[_0x9ca2[17]]=_0x56f1x13[_0x9ca2[17]]});_0x56f1x11=_[_0x9ca2[19]](_0x56f1x11,_0x9ca2[17]);var _0x56f1x14=_[_0x9ca2[25]](_0x56f1x11,function(_0x56f1x12){if(_0x56f1x12[_0x9ca2[20]]===0){return true}else {return _0x56f1x12[_0x9ca2[20]]>_[_0x9ca2[25]](_0x56f1x12.ChatRooms,function(_0x56f1x15){return _0x56f1x15[_0x9ca2[15]]!==_0x56f1xa[_0x9ca2[22]]&&_0x56f1x15[_0x9ca2[23]]!==_0x9ca2[24]})[_0x9ca2[21]]}});var _0x56f1x16=[];var _0x56f1x17;var _0x56f1x12;_0x56f1xa[_0x9ca2[26]]=((_0x56f1xa[_0x9ca2[27]]-_0x56f1xc)>_0x56f1xa[_0x9ca2[28]])?_0x56f1xa[_0x9ca2[28]]:(_0x56f1xa[_0x9ca2[27]]-_0x56f1xc);switch(_0x56f1xa[_0x9ca2[36]]){case _0x9ca2[34]:_0x56f1x17=_[_0x9ca2[29]](_0x56f1x14);_0x56f1x12=_0x56f1x17[_0x9ca2[30]]();if(_0x56f1x12){_0x56f1xa[_0x9ca2[31]]=[{id:_0x56f1x12[_0x9ca2[15]],name:_0x56f1x12[_0x9ca2[32]]}];_0x56f1x16[_0x9ca2[33]]({id:_0x56f1x12[_0x9ca2[15]],name:_0x56f1x12[_0x9ca2[32]]});saveReport(_0x56f1xa)};break;case _0x9ca2[35]:_0x56f1xa[_0x9ca2[31]]=_0x56f1x14;saveReport(_0x56f1xa);break;default:};_0x56f1xe=setTimeout(function(){clearInterval(_0x56f1xd);return _0x56f1xb(null,false,false)},_0x56f1xa[_0x9ca2[27]]*1000);_0x56f1xd=setInterval(function(){_0x56f1xc+=_0x56f1xa[_0x9ca2[28]];return Agent[_0x9ca2[40]]({where:{id:{$in:_[_0x9ca2[39]](_0x56f1xa[_0x9ca2[14]],_0x9ca2[15])},online:true,chatPause:false},include:[{model:ChatRoom,attributes:[_0x9ca2[15],_0x9ca2[23]]}],attributes:[_0x9ca2[15],_0x9ca2[32],_0x9ca2[20]]})[_0x9ca2[38]](function(_0x56f1x11){_[_0x9ca2[18]](_0x56f1x11,function(_0x56f1x12){var _0x56f1x13=_[_0x9ca2[16]](_0x56f1xa[_0x9ca2[14]],{"\x69\x64":_0x56f1x12[_0x9ca2[15]]});_0x56f1x12[_0x9ca2[17]]=_0x56f1x13[_0x9ca2[17]]});_0x56f1x11=_[_0x9ca2[19]](_0x56f1x11,_0x9ca2[17]);_0x56f1x14=_[_0x9ca2[25]](_0x56f1x11,function(_0x56f1x12){if(_0x56f1x12[_0x9ca2[20]]===0){return true}else {return _0x56f1x12[_0x9ca2[20]]>_[_0x9ca2[25]](_0x56f1x12.ChatRooms,function(_0x56f1x15){return _0x56f1x15[_0x9ca2[15]]!==_0x56f1xa[_0x9ca2[22]]&&_0x56f1x15[_0x9ca2[23]]!==_0x9ca2[24]})[_0x9ca2[21]]}});_0x56f1xa[_0x9ca2[26]]=((_0x56f1xa[_0x9ca2[27]]-_0x56f1xc)>_0x56f1xa[_0x9ca2[28]])?_0x56f1xa[_0x9ca2[28]]:(_0x56f1xa[_0x9ca2[27]]-_0x56f1xc);switch(_0x56f1xa[_0x9ca2[36]]){case _0x9ca2[34]:_0x56f1x17=_[_0x9ca2[37]](_0x56f1x14,_0x56f1x16,_0x9ca2[32]);_0x56f1x17=_[_0x9ca2[37]](_0x56f1x17,_0x56f1xf,_0x9ca2[32]);_0x56f1x12=_0x56f1x17[_0x9ca2[30]]();if(_0x56f1x12){_0x56f1xa[_0x9ca2[31]]=[{id:_0x56f1x12[_0x9ca2[15]],name:_0x56f1x12[_0x9ca2[32]]}];_0x56f1x16[_0x9ca2[33]]({id:_0x56f1x12[_0x9ca2[15]],name:_0x56f1x12[_0x9ca2[32]]});saveReport(_0x56f1xa)}else {_0x56f1x16=[];_0x56f1x14=_[_0x9ca2[37]](_0x56f1x14,_0x56f1xf,_0x9ca2[32]);_0x56f1x12=_0x56f1x14[_0x9ca2[30]]();if(_0x56f1x12){_0x56f1xa[_0x9ca2[31]]=[{id:_0x56f1x12[_0x9ca2[15]],name:_0x56f1x12[_0x9ca2[32]]}];_0x56f1x16[_0x9ca2[33]]({id:_0x56f1x12[_0x9ca2[15]],name:_0x56f1x12[_0x9ca2[32]]});saveReport(_0x56f1xa)}};break;case _0x9ca2[35]:_0x56f1xa[_0x9ca2[31]]=_[_0x9ca2[37]](_0x56f1x14,_0x56f1xf,_0x9ca2[32]);saveReport(_0x56f1xa);break;default:}})[_0x9ca2[13]](function(_0x56f1x10){console[_0x9ca2[12]](_0x56f1x10)})},_0x56f1xa[_0x9ca2[28]]*1000)})[_0x9ca2[13]](function(_0x56f1x10){console[_0x9ca2[12]](_0x56f1x10)});ReportChat[_0x9ca2[56]](function(_0x56f1x18){if(_0x56f1x18[_0x9ca2[42]](_0x9ca2[41])){var _0x56f1x19;return ChatRoom[_0x9ca2[54]](_0x56f1x18[_0x9ca2[22]])[_0x9ca2[38]](function(ChatRoom){_0x56f1x19=ChatRoom;return ChatRoom[_0x9ca2[53]](_0x56f1x18[_0x9ca2[43]],{individualHooks:true})})[_0x9ca2[38]](function(){return _0x56f1x19[_0x9ca2[48]]({status:_0x9ca2[52]})})[_0x9ca2[38]](function(){return ReportChatRoom[_0x9ca2[48]]({application:_0x56f1x18[_0x9ca2[49]],memberid:_0x56f1x18[_0x9ca2[43]],membername:_0x56f1x18[_0x9ca2[44]],queueid:_0x56f1x18[_0x9ca2[50]]||null,queuename:_0x56f1x18[_0x9ca2[51]]||null,leaveAt:moment()[_0x9ca2[46]](_0x9ca2[45]),status:_0x9ca2[52]},{where:{uniqueid:_0x56f1x18[_0x9ca2[47]],leaveAt:null},individualHooks:true})})[_0x9ca2[38]](function(){return ReportChatSession[_0x9ca2[48]]({memberid:_0x56f1x18[_0x9ca2[43]],membername:_0x56f1x18[_0x9ca2[44]],leaveAt:moment()[_0x9ca2[46]](_0x9ca2[45])},{where:{uniqueid:_0x56f1x18[_0x9ca2[47]],leaveAt:null},individualHooks:true})})[_0x9ca2[38]](function(){clearInterval(_0x56f1xd);clearTimeout(_0x56f1xe);return _0x56f1xb(null,true,false)})[_0x9ca2[13]](function(_0x56f1x10){console[_0x9ca2[12]](_0x56f1x10)})};if(_0x56f1x18[_0x9ca2[42]](_0x9ca2[55])){_0x56f1xf[_0x9ca2[33]]({id:_0x56f1x18[_0x9ca2[43]],name:_0x56f1x18[_0x9ca2[44]]})}});ReportChatSession[_0x9ca2[56]](function(_0x56f1x18){if(_0x56f1x18[_0x9ca2[42]](_0x9ca2[57])&&_0x56f1x18[_0x9ca2[57]]){return ChatRoom[_0x9ca2[54]](_0x56f1x18[_0x9ca2[22]])[_0x9ca2[38]](function(_0x56f1x1a){return _0x56f1x1a[_0x9ca2[48]]({status:_0x9ca2[58]})})[_0x9ca2[38]](function(){clearInterval(_0x56f1xd);clearTimeout(_0x56f1xe);return _0x56f1xb(null,true,true)})[_0x9ca2[13]](function(_0x56f1x10){console[_0x9ca2[12]](_0x56f1x10)})}});return {}}function saveReport(_0x56f1xa){var _0x56f1x1c=[];for(var _0x56f1x1d=0;_0x56f1x1d<_0x56f1xa[_0x9ca2[31]][_0x9ca2[21]];_0x56f1x1d++){var _0x56f1x12=_0x56f1xa[_0x9ca2[31]][_0x56f1x1d];_0x56f1x1c[_0x9ca2[33]]({uniqueid:_0x56f1xa[_0x9ca2[47]],visitorid:_0x56f1xa[_0x9ca2[59]],visitorname:_0x56f1xa[_0x9ca2[60]],visitoremail:_0x56f1xa[_0x9ca2[61]],timeslot:_0x56f1xa[_0x9ca2[26]],websiteid:_0x56f1xa[_0x9ca2[62]],websitename:_0x56f1xa[_0x9ca2[63]],websiteaddress:_0x56f1xa[_0x9ca2[64]],application:_0x56f1xa[_0x9ca2[49]],membername:_0x56f1x12[_0x9ca2[32]],memberid:_0x56f1x12[_0x9ca2[15]],queueid:_0x56f1xa[_0x9ca2[50]]||null,queuename:_0x56f1xa[_0x9ca2[51]]||null,roomid:_0x56f1xa[_0x9ca2[22]]||null,calledAt:moment()[_0x9ca2[46]](_0x9ca2[45])})};if(_0x56f1x1c[_0x9ca2[21]]){return ReportChat[_0x9ca2[65]](_0x56f1x1c,{individualHooks:true})[_0x9ca2[13]](function(_0x56f1x10){console[_0x9ca2[12]](_0x56f1x10)})}}module[_0x9ca2[66]]=Session \ No newline at end of file diff --git a/server/config/routing/fax/index.js b/server/config/routing/fax/index.js index 0783fe2..031cbf8 100644 --- a/server/config/routing/fax/index.js +++ b/server/config/routing/fax/index.js @@ -1 +1 @@ -var _0xa76d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x6F\x6D\x65\x6E\x74","\x75\x74\x69\x6C","\x61\x73\x79\x6E\x63","\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C","\x52\x65\x70\x6F\x72\x74\x46\x61\x78","\x2E\x2E\x2F\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x46\x61\x78\x52\x6F\x6F\x6D","\x52\x65\x70\x6F\x72\x74\x46\x61\x78\x53\x65\x73\x73\x69\x6F\x6E","\x46\x61\x78\x4D\x65\x73\x73\x61\x67\x65","\x46\x61\x78\x51\x75\x65\x75\x65","\x46\x61\x78\x52\x6F\x6F\x6D","\x49\x6E\x74\x65\x72\x76\x61\x6C","\x55\x73\x65\x72","\x2E\x2F\x73\x65\x73\x73\x69\x6F\x6E","\x65\x78\x70\x6F\x72\x74\x73","\x46\x61\x78\x20\x52\x6F\x75\x74\x69\x6E\x67\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E","\x6C\x6F\x67","\x73\x74\x61\x74\x75\x73","\x52\x45\x43\x45\x49\x56\x45\x44","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x72\x6F\x6F\x6D\x69\x64","\x69\x64","\x75\x6E\x69\x71\x75\x65\x69\x64","\x25\x73\x2E\x25\x73","\x75\x6E\x69\x78","\x66\x6F\x72\x6D\x61\x74","\x61\x67\x65\x6E\x74\x73","\x6E\x61\x6D\x65","\x6D\x61\x70","\x67\x65\x74\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74","\x61\x63\x63\x6F\x75\x6E\x74\x69\x64","\x61\x63\x63\x6F\x75\x6E\x74\x6E\x61\x6D\x65","\x61\x63\x63\x6F\x75\x6E\x74\x70\x68\x6F\x6E\x65","\x6C\x6F\x63\x61\x6C\x73\x74\x61\x74\x69\x6F\x6E\x69\x64","\x66\x69\x64\x65\x6C\x69\x74\x79","\x61\x70\x70\x74\x69\x6D\x65\x6F\x75\x74","\x71\x75\x65\x75\x65\x74\x69\x6D\x65\x6F\x75\x74","\x74\x69\x6D\x65\x6F\x75\x74","\x73\x74\x72\x61\x74\x65\x67\x79","\x62\x65\x65\x70\x61\x6C\x6C","\x70\x72\x69\x6F\x72\x69\x74\x79\x20\x41\x53\x43","\x6F\x6E\x6C\x69\x6E\x65","\x66\x61\x78\x50\x61\x75\x73\x65","\x67\x65\x74\x46\x61\x78\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x63\x6C\x6F\x6E\x65\x44\x65\x65\x70","\x6C\x65\x6E\x67\x74\x68","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x61\x67\x65\x6E\x74","\x71\x75\x65\x75\x65\x69\x64","\x71\x75\x65\x75\x65\x6E\x61\x6D\x65","\x74\x69\x6D\x65\x73\x6C\x6F\x74","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\x63\x72\x65\x61\x74\x65","\x66\x72\x6F\x6D","\x70\x75\x73\x68","\x61\x70\x70","\x6A\x6F\x69\x6E\x41\x74","\x55\x73\x65\x72\x73","\x55\x73\x65\x72\x48\x61\x73\x46\x61\x78\x51\x75\x65\x75\x65\x2E\x70\x65\x6E\x61\x6C\x74\x79","\x6F\x72\x64\x65\x72\x42\x79","\x70\x65\x6E\x61\x6C\x74\x79","\x55\x73\x65\x72\x48\x61\x73\x46\x61\x78\x51\x75\x65\x75\x65","\x71\x75\x65\x75\x65","\x75\x70\x64\x61\x74\x65","\x66\x6F\x72\x45\x61\x63\x68","\x45\x6E\x64\x20\x66\x61\x78\x20\x72\x6F\x75\x74\x69\x6E\x67\x2E\x2E","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x66\x69\x6E\x64\x42\x79\x49\x64","\x77\x61\x74\x65\x72\x66\x61\x6C\x6C","\x65\x72\x72","\x55\x6E\x6B\x6E\x6F\x77\x6E\x20\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74\x2E\x2E","\x55\x6E\x6B\x6E\x6F\x77\x6E\x20\x46\x61\x78\x52\x6F\x6F\x6D\x2E\x2E","\x67\x65\x74\x46\x61\x78\x52\x6F\x6F\x6D"];_0xa76d[0];var _=require(_0xa76d[1]);var moment=require(_0xa76d[2]);var util=require(_0xa76d[3]);var async=require(_0xa76d[4]);var Util=require(_0xa76d[5]);var ReportFax=require(_0xa76d[7])[_0xa76d[6]];var ReportFaxRoom=require(_0xa76d[7])[_0xa76d[8]];var ReportFaxSession=require(_0xa76d[7])[_0xa76d[9]];var FaxMessage=require(_0xa76d[7])[_0xa76d[10]];var FaxQueue=require(_0xa76d[7])[_0xa76d[11]];var FaxRoom=require(_0xa76d[7])[_0xa76d[12]];var Interval=require(_0xa76d[7])[_0xa76d[13]];var User=require(_0xa76d[7])[_0xa76d[14]];var Session=require(_0xa76d[15]);module[_0xa76d[16]]=function(){console[_0xa76d[18]](_0xa76d[17]);FaxMessage[_0xa76d[21]](function(_0xe08cxf){if(_0xe08cxf[_0xa76d[19]]===_0xa76d[20]){handleMessage(_0xe08cxf)}})};function handleEntityNotFound(_0xe08cxf){return function(_0xe08cx11){if(!_0xe08cx11){throw {message:_0xe08cxf}};return _0xe08cx11}}function handleFaxRoom(_0xe08cx13,_0xe08cx14){return function(_0xe08cx15){_0xe08cx13[_0xa76d[22]]=_0xe08cx15[_0xa76d[23]];_0xe08cx13[_0xa76d[24]]=util[_0xa76d[27]](_0xa76d[25],moment()[_0xa76d[26]](),_0xe08cx15[_0xa76d[23]]);_0xe08cx14[_0xa76d[28]]=_[_0xa76d[30]](_0xe08cx15.Users,function(_0xe08cx16){return {id:_0xe08cx16[_0xa76d[23]],name:_0xe08cx16[_0xa76d[29]],penalty:0}});return _0xe08cx15[_0xa76d[31]]()}}function handleFaxAccount(_0xe08cx13,_0xe08cx14){return function(_0xe08cx18){_0xe08cx13[_0xa76d[32]]=_0xe08cx18[_0xa76d[23]];_0xe08cx13[_0xa76d[33]]=_0xe08cx18[_0xa76d[29]];_0xe08cx13[_0xa76d[34]]=_0xe08cx18[_0xa76d[35]];_0xe08cx14[_0xa76d[36]]=_0xe08cx18[_0xa76d[36]];if(_0xe08cx18[_0xa76d[36]]){_0xe08cx14[_0xa76d[37]]=_0xe08cx14[_0xa76d[38]]=_0xe08cx18[_0xa76d[39]];_0xe08cx14[_0xa76d[36]]=_0xe08cx18[_0xa76d[39]];_0xe08cx14[_0xa76d[40]]=_0xa76d[41]};return _0xe08cx18[_0xa76d[45]]({order:_0xa76d[42],include:[{model:FaxQueue,attributes:[_0xa76d[23],_0xa76d[29],_0xa76d[39],_0xa76d[40]],include:[{model:User,attributes:[_0xa76d[23],_0xa76d[29],_0xa76d[43],_0xa76d[44]]}]},{model:User,attributes:[_0xa76d[23],_0xa76d[29],_0xa76d[43],_0xa76d[44]]},{model:Interval,include:[{all:true}]}]})}}function handleApps(_0xe08cx13,_0xe08cx14){return function(_0xe08cx1a){var _0xe08cx1b=[];if(_0xe08cx14[_0xa76d[36]]){_0xe08cx13[_0xa76d[38]]=_0xe08cx14[_0xa76d[36]];_0xe08cx13[_0xa76d[37]]=_0xe08cx14[_0xa76d[36]];_0xe08cx13[_0xa76d[28]]=_0xe08cx14[_0xa76d[28]];_0xe08cx13[_0xa76d[46]]=_0xa76d[36];_0xe08cx13[_0xa76d[40]]=_0xa76d[41];var _0xe08cx1c=_[_0xa76d[47]](_0xe08cx13);if(_0xe08cx1c[_0xa76d[28]][_0xa76d[48]]){_0xe08cx1b[_0xa76d[59]](function(_0xe08cx1d){return ReportFaxRoom[_0xa76d[57]]({uniqueid:_0xe08cx1c[_0xa76d[24]],accountid:_0xe08cx1c[_0xa76d[32]],accountname:_0xe08cx1c[_0xa76d[33]],accountphone:_0xe08cx1c[_0xa76d[34]],from:_0xe08cx1c[_0xa76d[58]],roomid:_0xe08cx1c[_0xa76d[22]],joinAt:moment()[_0xa76d[27]](_0xa76d[56])})[_0xa76d[51]](function(){return ReportFaxSession[_0xa76d[57]]({uniqueid:_0xe08cx1c[_0xa76d[24]],accountid:_0xe08cx1c[_0xa76d[32]],accountname:_0xe08cx1c[_0xa76d[33]],accountphone:_0xe08cx1c[_0xa76d[34]],application:_0xe08cx1c[_0xa76d[46]],memberid:(_0xe08cx1c[_0xa76d[46]]===_0xa76d[52]&&_0xe08cx1c[_0xa76d[28]][0])?_0xe08cx1c[_0xa76d[28]][0][_0xa76d[23]]:null,membername:(_0xe08cx1c[_0xa76d[46]]===_0xa76d[52]&&_0xe08cx1c[_0xa76d[28]][0])?_0xe08cx1c[_0xa76d[28]][0][_0xa76d[29]]:null,queue:_0xe08cx1c[_0xa76d[53]],queuename:_0xe08cx1c[_0xa76d[54]],roomid:_0xe08cx1c[_0xa76d[22]],fidelity:_0xe08cx1c[_0xa76d[46]]===_0xa76d[36]?_0xe08cx1c[_0xa76d[55]]:null,joinAt:moment()[_0xa76d[27]](_0xa76d[56])})})[_0xa76d[51]](function(){ new Session(_0xe08cx1c,_0xe08cx1d)})[_0xa76d[50]](function(_0xe08cx1e){console[_0xa76d[49]](_0xe08cx1e)})})}};_0xe08cx1a[_0xa76d[69]](function(_0xe08cx1f,_0xe08cx20){var _0xe08cx1c=_[_0xa76d[47]](_0xe08cx13);_0xe08cx1c[_0xa76d[37]]=_0xe08cx1f[_0xa76d[39]];_0xe08cx1c[_0xa76d[46]]=_0xe08cx1f[_0xa76d[60]];_0xe08cx1c[_0xa76d[61]]=moment()[_0xa76d[27]](_0xa76d[56]);switch(_0xe08cx1f[_0xa76d[60]]){case _0xa76d[67]:_0xe08cx1c[_0xa76d[53]]=_0xe08cx1f[_0xa76d[11]][_0xa76d[23]];_0xe08cx1c[_0xa76d[54]]=_0xe08cx1f[_0xa76d[11]][_0xa76d[29]];_0xe08cx1c[_0xa76d[40]]=_0xe08cx1f[_0xa76d[11]][_0xa76d[40]];_0xe08cx1c[_0xa76d[38]]=_0xe08cx1f[_0xa76d[11]][_0xa76d[39]];_0xe08cx1f[_0xa76d[11]][_0xa76d[62]]=_[_0xa76d[64]](_0xe08cx1f[_0xa76d[11]].Users,_0xa76d[63]);_0xe08cx1c[_0xa76d[28]]=_[_0xa76d[30]](_0xe08cx1f[_0xa76d[11]].Users,function(_0xe08cx21){return {id:_0xe08cx21[_0xa76d[23]],name:_0xe08cx21[_0xa76d[29]],penalty:_0xe08cx21[_0xa76d[66]][_0xa76d[65]]}});break;case _0xa76d[52]:_0xe08cx1c[_0xa76d[38]]=_0xe08cx1f[_0xa76d[39]];_0xe08cx1c[_0xa76d[40]]=_0xa76d[41];_0xe08cx1c[_0xa76d[28]]=[{id:_0xe08cx1f[_0xa76d[14]][_0xa76d[23]],name:_0xe08cx1f[_0xa76d[14]][_0xa76d[29]],penalty:0}];break;default:};if(_0xe08cx1b[_0xa76d[48]]){_0xe08cx1b[_0xa76d[59]](function(_0xe08cx22,_0xe08cx1d){if(_0xe08cx22){_0xe08cx1d(null,_0xe08cx22)}else {return ReportFaxSession[_0xa76d[68]]({leaveAt:moment()[_0xa76d[27]](_0xa76d[56]),unmanaged:true},{where:{leaveAt:null,uniqueid:_0xe08cx1c[_0xa76d[24]]},individualHooks:true})[_0xa76d[51]](function(){return ReportFaxSession[_0xa76d[57]]({uniqueid:_0xe08cx1c[_0xa76d[24]],accountid:_0xe08cx1c[_0xa76d[32]],accountname:_0xe08cx1c[_0xa76d[33]],accountphone:_0xe08cx1c[_0xa76d[34]],application:_0xe08cx1c[_0xa76d[46]],memberid:(_0xe08cx1c[_0xa76d[46]]===_0xa76d[52]&&_0xe08cx1c[_0xa76d[28]][0])?_0xe08cx1c[_0xa76d[28]][0][_0xa76d[23]]:null,membername:(_0xe08cx1c[_0xa76d[46]]===_0xa76d[52]&&_0xe08cx1c[_0xa76d[28]][0])?_0xe08cx1c[_0xa76d[28]][0][_0xa76d[29]]:null,queue:_0xe08cx1c[_0xa76d[53]],queuename:_0xe08cx1c[_0xa76d[54]],roomid:_0xe08cx1c[_0xa76d[22]],fidelity:_0xe08cx1c[_0xa76d[46]]===_0xa76d[36]?_0xe08cx1c[_0xa76d[55]]:null,joinAt:moment()[_0xa76d[27]](_0xa76d[56])})})[_0xa76d[51]](function(){ new Session(_0xe08cx1c,_0xe08cx1d)})[_0xa76d[50]](function(_0xe08cx1e){console[_0xa76d[49]](_0xe08cx1e)})}})}else {_0xe08cx1b[_0xa76d[59]](function(_0xe08cx1d){return ReportFaxRoom[_0xa76d[57]]({uniqueid:_0xe08cx1c[_0xa76d[24]],accountid:_0xe08cx1c[_0xa76d[32]],accountname:_0xe08cx1c[_0xa76d[33]],accountphone:_0xe08cx1c[_0xa76d[34]],from:_0xe08cx1c[_0xa76d[58]],roomid:_0xe08cx1c[_0xa76d[22]],joinAt:moment()[_0xa76d[27]](_0xa76d[56])})[_0xa76d[51]](function(){return ReportFaxSession[_0xa76d[57]]({uniqueid:_0xe08cx1c[_0xa76d[24]],accountid:_0xe08cx1c[_0xa76d[32]],accountname:_0xe08cx1c[_0xa76d[33]],accountphone:_0xe08cx1c[_0xa76d[34]],application:_0xe08cx1c[_0xa76d[46]],memberid:(_0xe08cx1c[_0xa76d[46]]===_0xa76d[52]&&_0xe08cx1c[_0xa76d[28]][0])?_0xe08cx1c[_0xa76d[28]][0][_0xa76d[23]]:null,membername:(_0xe08cx1c[_0xa76d[46]]===_0xa76d[52]&&_0xe08cx1c[_0xa76d[28]][0])?_0xe08cx1c[_0xa76d[28]][0][_0xa76d[29]]:null,queue:_0xe08cx1c[_0xa76d[53]],queuename:_0xe08cx1c[_0xa76d[54]],roomid:_0xe08cx1c[_0xa76d[22]],fidelity:_0xe08cx1c[_0xa76d[46]]===_0xa76d[36]?_0xe08cx1c[_0xa76d[55]]:null,joinAt:moment()[_0xa76d[27]](_0xa76d[56])})})[_0xa76d[51]](function(){ new Session(_0xe08cx1c,_0xe08cx1d)})[_0xa76d[50]](function(_0xe08cx1e){console[_0xa76d[49]](_0xe08cx1e)})})}});async[_0xa76d[73]](_0xe08cx1b,function(_0xe08cx1e,_0xe08cx23){console[_0xa76d[18]](_0xa76d[70]);if(_0xe08cx1e){console[_0xa76d[49]](_0xe08cx1e)};if(!_0xe08cx23){return ReportFaxRoom[_0xa76d[68]]({leaveAt:moment()[_0xa76d[27]](_0xa76d[56]),unmanaged:true,status:_0xa76d[71]},{where:{leaveAt:null,uniqueid:_0xe08cx13[_0xa76d[24]]},individualHooks:true})[_0xa76d[51]](function(){return ReportFaxSession[_0xa76d[68]]({leaveAt:moment()[_0xa76d[27]](_0xa76d[56]),unmanaged:true},{where:{leaveAt:null,uniqueid:_0xe08cx13[_0xa76d[24]]},individualHooks:true})})[_0xa76d[51]](function(){return FaxRoom[_0xa76d[72]](_0xe08cx13[_0xa76d[22]])})[_0xa76d[51]](function(_0xe08cx24){if(_0xe08cx24){return _0xe08cx24[_0xa76d[68]]({status:_0xa76d[71]})}})[_0xa76d[50]](function(_0xe08cx1e){console[_0xa76d[49]](_0xe08cx1e)})}})}}function handleMessage(_0xe08cxf){var _0xe08cx14={agents:[]};var _0xe08cx13={messageid:_0xe08cxf[_0xa76d[23]],from:_0xe08cxf[_0xa76d[58]]||null,joinAt:moment()[_0xa76d[27]](_0xa76d[56])};return _0xe08cxf[_0xa76d[77]]({include:[{model:User,attributes:[_0xa76d[23],_0xa76d[29],_0xa76d[43],_0xa76d[44]]}]})[_0xa76d[51]](handleEntityNotFound(_0xa76d[76]))[_0xa76d[51]](handleFaxRoom(_0xe08cx13,_0xe08cx14))[_0xa76d[51]](handleEntityNotFound(_0xa76d[75]))[_0xa76d[51]](handleFaxAccount(_0xe08cx13,_0xe08cx14))[_0xa76d[51]](handleApps(_0xe08cx13,_0xe08cx14))[_0xa76d[50]](function(_0xe08cx1e){console[_0xa76d[49]](_0xa76d[74],_0xe08cx1e)})} \ No newline at end of file +var _0x9f40=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x6F\x6D\x65\x6E\x74","\x75\x74\x69\x6C","\x61\x73\x79\x6E\x63","\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C","\x52\x65\x70\x6F\x72\x74\x46\x61\x78","\x2E\x2E\x2F\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x46\x61\x78\x52\x6F\x6F\x6D","\x52\x65\x70\x6F\x72\x74\x46\x61\x78\x53\x65\x73\x73\x69\x6F\x6E","\x46\x61\x78\x4D\x65\x73\x73\x61\x67\x65","\x46\x61\x78\x51\x75\x65\x75\x65","\x46\x61\x78\x52\x6F\x6F\x6D","\x49\x6E\x74\x65\x72\x76\x61\x6C","\x55\x73\x65\x72","\x2E\x2F\x73\x65\x73\x73\x69\x6F\x6E","\x65\x78\x70\x6F\x72\x74\x73","\x46\x61\x78\x20\x52\x6F\x75\x74\x69\x6E\x67\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E","\x6C\x6F\x67","\x73\x74\x61\x74\x75\x73","\x52\x45\x43\x45\x49\x56\x45\x44","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x72\x6F\x6F\x6D\x69\x64","\x69\x64","\x75\x6E\x69\x71\x75\x65\x69\x64","\x25\x73\x2E\x25\x73","\x75\x6E\x69\x78","\x66\x6F\x72\x6D\x61\x74","\x61\x67\x65\x6E\x74\x73","\x6E\x61\x6D\x65","\x6D\x61\x70","\x67\x65\x74\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74","\x61\x63\x63\x6F\x75\x6E\x74\x69\x64","\x61\x63\x63\x6F\x75\x6E\x74\x6E\x61\x6D\x65","\x61\x63\x63\x6F\x75\x6E\x74\x70\x68\x6F\x6E\x65","\x6C\x6F\x63\x61\x6C\x73\x74\x61\x74\x69\x6F\x6E\x69\x64","\x66\x69\x64\x65\x6C\x69\x74\x79","\x61\x70\x70\x74\x69\x6D\x65\x6F\x75\x74","\x71\x75\x65\x75\x65\x74\x69\x6D\x65\x6F\x75\x74","\x74\x69\x6D\x65\x6F\x75\x74","\x73\x74\x72\x61\x74\x65\x67\x79","\x62\x65\x65\x70\x61\x6C\x6C","\x70\x72\x69\x6F\x72\x69\x74\x79\x20\x41\x53\x43","\x6F\x6E\x6C\x69\x6E\x65","\x66\x61\x78\x50\x61\x75\x73\x65","\x67\x65\x74\x46\x61\x78\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x63\x6C\x6F\x6E\x65\x44\x65\x65\x70","\x6C\x65\x6E\x67\x74\x68","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x61\x67\x65\x6E\x74","\x71\x75\x65\x75\x65\x69\x64","\x71\x75\x65\x75\x65\x6E\x61\x6D\x65","\x74\x69\x6D\x65\x73\x6C\x6F\x74","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\x63\x72\x65\x61\x74\x65","\x66\x72\x6F\x6D","\x70\x75\x73\x68","\x61\x70\x70","\x6A\x6F\x69\x6E\x41\x74","\x55\x73\x65\x72\x73","\x55\x73\x65\x72\x48\x61\x73\x46\x61\x78\x51\x75\x65\x75\x65\x2E\x70\x65\x6E\x61\x6C\x74\x79","\x6F\x72\x64\x65\x72\x42\x79","\x70\x65\x6E\x61\x6C\x74\x79","\x55\x73\x65\x72\x48\x61\x73\x46\x61\x78\x51\x75\x65\x75\x65","\x71\x75\x65\x75\x65","\x75\x70\x64\x61\x74\x65","\x66\x6F\x72\x45\x61\x63\x68","\x45\x6E\x64\x20\x66\x61\x78\x20\x72\x6F\x75\x74\x69\x6E\x67\x2E\x2E","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x66\x69\x6E\x64\x42\x79\x49\x64","\x77\x61\x74\x65\x72\x66\x61\x6C\x6C","\x65\x72\x72","\x55\x6E\x6B\x6E\x6F\x77\x6E\x20\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74\x2E\x2E","\x55\x6E\x6B\x6E\x6F\x77\x6E\x20\x46\x61\x78\x52\x6F\x6F\x6D\x2E\x2E","\x67\x65\x74\x46\x61\x78\x52\x6F\x6F\x6D"];_0x9f40[0];var _=require(_0x9f40[1]);var moment=require(_0x9f40[2]);var util=require(_0x9f40[3]);var async=require(_0x9f40[4]);var Util=require(_0x9f40[5]);var ReportFax=require(_0x9f40[7])[_0x9f40[6]];var ReportFaxRoom=require(_0x9f40[7])[_0x9f40[8]];var ReportFaxSession=require(_0x9f40[7])[_0x9f40[9]];var FaxMessage=require(_0x9f40[7])[_0x9f40[10]];var FaxQueue=require(_0x9f40[7])[_0x9f40[11]];var FaxRoom=require(_0x9f40[7])[_0x9f40[12]];var Interval=require(_0x9f40[7])[_0x9f40[13]];var User=require(_0x9f40[7])[_0x9f40[14]];var Session=require(_0x9f40[15]);module[_0x9f40[16]]=function(){console[_0x9f40[18]](_0x9f40[17]);FaxMessage[_0x9f40[21]](function(_0x3708xf){if(_0x3708xf[_0x9f40[19]]===_0x9f40[20]){handleMessage(_0x3708xf)}})};function handleEntityNotFound(_0x3708xf){return function(_0x3708x11){if(!_0x3708x11){throw {message:_0x3708xf}};return _0x3708x11}}function handleFaxRoom(_0x3708x13,_0x3708x14){return function(_0x3708x15){_0x3708x13[_0x9f40[22]]=_0x3708x15[_0x9f40[23]];_0x3708x13[_0x9f40[24]]=util[_0x9f40[27]](_0x9f40[25],moment()[_0x9f40[26]](),_0x3708x15[_0x9f40[23]]);_0x3708x14[_0x9f40[28]]=_[_0x9f40[30]](_0x3708x15.Users,function(_0x3708x16){return {id:_0x3708x16[_0x9f40[23]],name:_0x3708x16[_0x9f40[29]],penalty:0}});return _0x3708x15[_0x9f40[31]]()}}function handleFaxAccount(_0x3708x13,_0x3708x14){return function(_0x3708x18){_0x3708x13[_0x9f40[32]]=_0x3708x18[_0x9f40[23]];_0x3708x13[_0x9f40[33]]=_0x3708x18[_0x9f40[29]];_0x3708x13[_0x9f40[34]]=_0x3708x18[_0x9f40[35]];_0x3708x14[_0x9f40[36]]=_0x3708x18[_0x9f40[36]];if(_0x3708x18[_0x9f40[36]]){_0x3708x14[_0x9f40[37]]=_0x3708x14[_0x9f40[38]]=_0x3708x18[_0x9f40[39]];_0x3708x14[_0x9f40[36]]=_0x3708x18[_0x9f40[39]];_0x3708x14[_0x9f40[40]]=_0x9f40[41]};return _0x3708x18[_0x9f40[45]]({order:_0x9f40[42],include:[{model:FaxQueue,attributes:[_0x9f40[23],_0x9f40[29],_0x9f40[39],_0x9f40[40]],include:[{model:User,attributes:[_0x9f40[23],_0x9f40[29],_0x9f40[43],_0x9f40[44]]}]},{model:User,attributes:[_0x9f40[23],_0x9f40[29],_0x9f40[43],_0x9f40[44]]},{model:Interval,include:[{all:true}]}]})}}function handleApps(_0x3708x13,_0x3708x14){return function(_0x3708x1a){var _0x3708x1b=[];if(_0x3708x14[_0x9f40[36]]){_0x3708x13[_0x9f40[38]]=_0x3708x14[_0x9f40[36]];_0x3708x13[_0x9f40[37]]=_0x3708x14[_0x9f40[36]];_0x3708x13[_0x9f40[28]]=_0x3708x14[_0x9f40[28]];_0x3708x13[_0x9f40[46]]=_0x9f40[36];_0x3708x13[_0x9f40[40]]=_0x9f40[41];var _0x3708x1c=_[_0x9f40[47]](_0x3708x13);if(_0x3708x1c[_0x9f40[28]][_0x9f40[48]]){_0x3708x1b[_0x9f40[59]](function(_0x3708x1d){return ReportFaxRoom[_0x9f40[57]]({uniqueid:_0x3708x1c[_0x9f40[24]],accountid:_0x3708x1c[_0x9f40[32]],accountname:_0x3708x1c[_0x9f40[33]],accountphone:_0x3708x1c[_0x9f40[34]],from:_0x3708x1c[_0x9f40[58]],roomid:_0x3708x1c[_0x9f40[22]],joinAt:moment()[_0x9f40[27]](_0x9f40[56])})[_0x9f40[51]](function(){return ReportFaxSession[_0x9f40[57]]({uniqueid:_0x3708x1c[_0x9f40[24]],accountid:_0x3708x1c[_0x9f40[32]],accountname:_0x3708x1c[_0x9f40[33]],accountphone:_0x3708x1c[_0x9f40[34]],application:_0x3708x1c[_0x9f40[46]],memberid:(_0x3708x1c[_0x9f40[46]]===_0x9f40[52]&&_0x3708x1c[_0x9f40[28]][0])?_0x3708x1c[_0x9f40[28]][0][_0x9f40[23]]:null,membername:(_0x3708x1c[_0x9f40[46]]===_0x9f40[52]&&_0x3708x1c[_0x9f40[28]][0])?_0x3708x1c[_0x9f40[28]][0][_0x9f40[29]]:null,queue:_0x3708x1c[_0x9f40[53]],queuename:_0x3708x1c[_0x9f40[54]],roomid:_0x3708x1c[_0x9f40[22]],fidelity:_0x3708x1c[_0x9f40[46]]===_0x9f40[36]?_0x3708x1c[_0x9f40[55]]:null,joinAt:moment()[_0x9f40[27]](_0x9f40[56])})})[_0x9f40[51]](function(){ new Session(_0x3708x1c,_0x3708x1d)})[_0x9f40[50]](function(_0x3708x1e){console[_0x9f40[49]](_0x3708x1e)})})}};_0x3708x1a[_0x9f40[69]](function(_0x3708x1f,_0x3708x20){var _0x3708x1c=_[_0x9f40[47]](_0x3708x13);_0x3708x1c[_0x9f40[37]]=_0x3708x1f[_0x9f40[39]];_0x3708x1c[_0x9f40[46]]=_0x3708x1f[_0x9f40[60]];_0x3708x1c[_0x9f40[61]]=moment()[_0x9f40[27]](_0x9f40[56]);switch(_0x3708x1f[_0x9f40[60]]){case _0x9f40[67]:_0x3708x1c[_0x9f40[53]]=_0x3708x1f[_0x9f40[11]][_0x9f40[23]];_0x3708x1c[_0x9f40[54]]=_0x3708x1f[_0x9f40[11]][_0x9f40[29]];_0x3708x1c[_0x9f40[40]]=_0x3708x1f[_0x9f40[11]][_0x9f40[40]];_0x3708x1c[_0x9f40[38]]=_0x3708x1f[_0x9f40[11]][_0x9f40[39]];_0x3708x1f[_0x9f40[11]][_0x9f40[62]]=_[_0x9f40[64]](_0x3708x1f[_0x9f40[11]].Users,_0x9f40[63]);_0x3708x1c[_0x9f40[28]]=_[_0x9f40[30]](_0x3708x1f[_0x9f40[11]].Users,function(_0x3708x21){return {id:_0x3708x21[_0x9f40[23]],name:_0x3708x21[_0x9f40[29]],penalty:_0x3708x21[_0x9f40[66]][_0x9f40[65]]}});break;case _0x9f40[52]:_0x3708x1c[_0x9f40[38]]=_0x3708x1f[_0x9f40[39]];_0x3708x1c[_0x9f40[40]]=_0x9f40[41];_0x3708x1c[_0x9f40[28]]=[{id:_0x3708x1f[_0x9f40[14]][_0x9f40[23]],name:_0x3708x1f[_0x9f40[14]][_0x9f40[29]],penalty:0}];break;default:};if(_0x3708x1b[_0x9f40[48]]){_0x3708x1b[_0x9f40[59]](function(_0x3708x22,_0x3708x1d){if(_0x3708x22){_0x3708x1d(null,_0x3708x22)}else {return ReportFaxSession[_0x9f40[68]]({leaveAt:moment()[_0x9f40[27]](_0x9f40[56]),unmanaged:true},{where:{leaveAt:null,uniqueid:_0x3708x1c[_0x9f40[24]]},individualHooks:true})[_0x9f40[51]](function(){return ReportFaxSession[_0x9f40[57]]({uniqueid:_0x3708x1c[_0x9f40[24]],accountid:_0x3708x1c[_0x9f40[32]],accountname:_0x3708x1c[_0x9f40[33]],accountphone:_0x3708x1c[_0x9f40[34]],application:_0x3708x1c[_0x9f40[46]],memberid:(_0x3708x1c[_0x9f40[46]]===_0x9f40[52]&&_0x3708x1c[_0x9f40[28]][0])?_0x3708x1c[_0x9f40[28]][0][_0x9f40[23]]:null,membername:(_0x3708x1c[_0x9f40[46]]===_0x9f40[52]&&_0x3708x1c[_0x9f40[28]][0])?_0x3708x1c[_0x9f40[28]][0][_0x9f40[29]]:null,queue:_0x3708x1c[_0x9f40[53]],queuename:_0x3708x1c[_0x9f40[54]],roomid:_0x3708x1c[_0x9f40[22]],fidelity:_0x3708x1c[_0x9f40[46]]===_0x9f40[36]?_0x3708x1c[_0x9f40[55]]:null,joinAt:moment()[_0x9f40[27]](_0x9f40[56])})})[_0x9f40[51]](function(){ new Session(_0x3708x1c,_0x3708x1d)})[_0x9f40[50]](function(_0x3708x1e){console[_0x9f40[49]](_0x3708x1e)})}})}else {_0x3708x1b[_0x9f40[59]](function(_0x3708x1d){return ReportFaxRoom[_0x9f40[57]]({uniqueid:_0x3708x1c[_0x9f40[24]],accountid:_0x3708x1c[_0x9f40[32]],accountname:_0x3708x1c[_0x9f40[33]],accountphone:_0x3708x1c[_0x9f40[34]],from:_0x3708x1c[_0x9f40[58]],roomid:_0x3708x1c[_0x9f40[22]],joinAt:moment()[_0x9f40[27]](_0x9f40[56])})[_0x9f40[51]](function(){return ReportFaxSession[_0x9f40[57]]({uniqueid:_0x3708x1c[_0x9f40[24]],accountid:_0x3708x1c[_0x9f40[32]],accountname:_0x3708x1c[_0x9f40[33]],accountphone:_0x3708x1c[_0x9f40[34]],application:_0x3708x1c[_0x9f40[46]],memberid:(_0x3708x1c[_0x9f40[46]]===_0x9f40[52]&&_0x3708x1c[_0x9f40[28]][0])?_0x3708x1c[_0x9f40[28]][0][_0x9f40[23]]:null,membername:(_0x3708x1c[_0x9f40[46]]===_0x9f40[52]&&_0x3708x1c[_0x9f40[28]][0])?_0x3708x1c[_0x9f40[28]][0][_0x9f40[29]]:null,queue:_0x3708x1c[_0x9f40[53]],queuename:_0x3708x1c[_0x9f40[54]],roomid:_0x3708x1c[_0x9f40[22]],fidelity:_0x3708x1c[_0x9f40[46]]===_0x9f40[36]?_0x3708x1c[_0x9f40[55]]:null,joinAt:moment()[_0x9f40[27]](_0x9f40[56])})})[_0x9f40[51]](function(){ new Session(_0x3708x1c,_0x3708x1d)})[_0x9f40[50]](function(_0x3708x1e){console[_0x9f40[49]](_0x3708x1e)})})}});async[_0x9f40[73]](_0x3708x1b,function(_0x3708x1e,_0x3708x23){console[_0x9f40[18]](_0x9f40[70]);if(_0x3708x1e){console[_0x9f40[49]](_0x3708x1e)};if(!_0x3708x23){return ReportFaxRoom[_0x9f40[68]]({leaveAt:moment()[_0x9f40[27]](_0x9f40[56]),unmanaged:true,status:_0x9f40[71]},{where:{leaveAt:null,uniqueid:_0x3708x13[_0x9f40[24]]},individualHooks:true})[_0x9f40[51]](function(){return ReportFaxSession[_0x9f40[68]]({leaveAt:moment()[_0x9f40[27]](_0x9f40[56]),unmanaged:true},{where:{leaveAt:null,uniqueid:_0x3708x13[_0x9f40[24]]},individualHooks:true})})[_0x9f40[51]](function(){return FaxRoom[_0x9f40[72]](_0x3708x13[_0x9f40[22]])})[_0x9f40[51]](function(_0x3708x24){if(_0x3708x24){return _0x3708x24[_0x9f40[68]]({status:_0x9f40[71]})}})[_0x9f40[50]](function(_0x3708x1e){console[_0x9f40[49]](_0x3708x1e)})}})}}function handleMessage(_0x3708xf){var _0x3708x14={agents:[]};var _0x3708x13={messageid:_0x3708xf[_0x9f40[23]],from:_0x3708xf[_0x9f40[58]]||null,joinAt:moment()[_0x9f40[27]](_0x9f40[56])};return _0x3708xf[_0x9f40[77]]({include:[{model:User,attributes:[_0x9f40[23],_0x9f40[29],_0x9f40[43],_0x9f40[44]]}]})[_0x9f40[51]](handleEntityNotFound(_0x9f40[76]))[_0x9f40[51]](handleFaxRoom(_0x3708x13,_0x3708x14))[_0x9f40[51]](handleEntityNotFound(_0x9f40[75]))[_0x9f40[51]](handleFaxAccount(_0x3708x13,_0x3708x14))[_0x9f40[51]](handleApps(_0x3708x13,_0x3708x14))[_0x9f40[50]](function(_0x3708x1e){console[_0x9f40[49]](_0x9f40[74],_0x3708x1e)})} \ No newline at end of file diff --git a/server/config/routing/fax/session.js b/server/config/routing/fax/session.js index 4fce81e..f0f06ac 100644 --- a/server/config/routing/fax/session.js +++ b/server/config/routing/fax/session.js @@ -1 +1 @@ -var _0xa237=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x6F\x6D\x65\x6E\x74","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x46\x61\x78\x52\x6F\x6F\x6D","\x46\x61\x78\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x46\x61\x78","\x52\x65\x70\x6F\x72\x74\x46\x61\x78\x52\x6F\x6F\x6D","\x52\x65\x70\x6F\x72\x74\x46\x61\x78\x53\x65\x73\x73\x69\x6F\x6E","\x4E\x65\x77\x20\x46\x61\x78\x20\x73\x65\x73\x73\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x61\x67\x65\x6E\x74\x73","\x69\x64","\x66\x69\x6E\x64","\x70\x65\x6E\x61\x6C\x74\x79","\x66\x6F\x72\x45\x61\x63\x68","\x6F\x72\x64\x65\x72\x42\x79","\x66\x61\x78\x43\x61\x70\x61\x63\x69\x74\x79","\x6C\x65\x6E\x67\x74\x68","\x72\x6F\x6F\x6D\x69\x64","\x73\x74\x61\x74\x75\x73","\x43\x4C\x4F\x53\x45\x44","\x66\x69\x6C\x74\x65\x72","\x6E\x61\x6D\x65","\x6D\x61\x70","\x74\x69\x6D\x65\x73\x6C\x6F\x74","\x61\x70\x70\x74\x69\x6D\x65\x6F\x75\x74","\x71\x75\x65\x75\x65\x74\x69\x6D\x65\x6F\x75\x74","\x63\x6C\x6F\x6E\x65\x44\x65\x65\x70","\x73\x68\x69\x66\x74","\x61\x76\x61\x69\x6C\x61\x62\x6C\x65","\x70\x75\x73\x68","\x72\x72\x6D\x65\x6D\x6F\x72\x79","\x64\x69\x66\x66\x65\x72\x65\x6E\x63\x65\x42\x79","\x62\x65\x65\x70\x61\x6C\x6C","\x73\x74\x72\x61\x74\x65\x67\x79","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x72\x65\x6A\x65\x63\x74\x65\x64\x41\x74","\x63\x68\x61\x6E\x67\x65\x64","\x6D\x65\x6D\x62\x65\x72\x69\x64","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x64","\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","\x75\x6E\x69\x71\x75\x65\x69\x64","\x75\x70\x64\x61\x74\x65","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x71\x75\x65\x75\x65\x69\x64","\x71\x75\x65\x75\x65\x6E\x61\x6D\x65","\x4F\x50\x45\x4E","\x61\x64\x64\x55\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x73\x75\x62\x6A\x65\x63\x74","\x61\x63\x63\x6F\x75\x6E\x74\x69\x64","\x61\x63\x63\x6F\x75\x6E\x74\x6E\x61\x6D\x65","\x61\x63\x63\x6F\x75\x6E\x74\x70\x68\x6F\x6E\x65","\x6D\x65\x73\x73\x61\x67\x65\x69\x64","\x66\x72\x6F\x6D","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xa237[0];var _=require(_0xa237[1]);var moment=require(_0xa237[2]);var Agent=require(_0xa237[4])[_0xa237[3]];var FaxRoom=require(_0xa237[4])[_0xa237[5]];var FaxApplication=require(_0xa237[4])[_0xa237[6]];var ReportFax=require(_0xa237[4])[_0xa237[7]];var ReportFaxRoom=require(_0xa237[4])[_0xa237[8]];var ReportFaxSession=require(_0xa237[4])[_0xa237[9]];function Session(_0x4ffexa,_0x4ffexb){console[_0xa237[11]](_0xa237[10]);var _0x4ffexc=0;var _0x4ffexd,_0x4ffexe;var _0x4ffexf=[];Agent[_0xa237[40]]({where:{id:{$in:_[_0xa237[27]](_0x4ffexa[_0xa237[14]],_0xa237[15])},online:true,faxPause:false},include:[{model:FaxRoom,attributes:[_0xa237[15],_0xa237[23]]}],attributes:[_0xa237[15],_0xa237[26],_0xa237[20]]})[_0xa237[39]](function(_0x4ffex11){_[_0xa237[18]](_0x4ffex11,function(_0x4ffex12){var _0x4ffex13=_[_0xa237[16]](_0x4ffexa[_0xa237[14]],{"\x69\x64":_0x4ffex12[_0xa237[15]]});_0x4ffex12[_0xa237[17]]=_0x4ffex13[_0xa237[17]]});_0x4ffex11=_[_0xa237[19]](_0x4ffex11,_0xa237[17]);var _0x4ffex14=_[_0xa237[27]](_[_0xa237[25]](_0x4ffex11,function(_0x4ffex12){if(_0x4ffex12[_0xa237[20]]===0){return true}else {return _0x4ffex12[_0xa237[20]]>_[_0xa237[25]](_0x4ffex12.FaxRooms,function(_0x4ffex15){return _0x4ffex15[_0xa237[15]]!==_0x4ffexa[_0xa237[22]]&&_0x4ffex15[_0xa237[23]]!==_0xa237[24]})[_0xa237[21]]}}),function(_0x4ffex12){return {id:_0x4ffex12[_0xa237[15]],name:_0x4ffex12[_0xa237[26]]}});var _0x4ffex16=[];var _0x4ffex17;var _0x4ffex12;_0x4ffexa[_0xa237[28]]=((_0x4ffexa[_0xa237[29]]-_0x4ffexc)>_0x4ffexa[_0xa237[30]])?_0x4ffexa[_0xa237[30]]:(_0x4ffexa[_0xa237[29]]-_0x4ffexc);switch(_0x4ffexa[_0xa237[38]]){case _0xa237[35]:_0x4ffex17=_[_0xa237[31]](_0x4ffex14);_0x4ffex12=_0x4ffex17[_0xa237[32]]();if(_0x4ffex12){_0x4ffexa[_0xa237[33]]=[{id:_0x4ffex12[_0xa237[15]],name:_0x4ffex12[_0xa237[26]]}];_0x4ffex16[_0xa237[34]]({id:_0x4ffex12[_0xa237[15]],name:_0x4ffex12[_0xa237[26]]});saveReport(_0x4ffexa)};break;case _0xa237[37]:_0x4ffexa[_0xa237[33]]=_[_0xa237[36]](_0x4ffex14,_0x4ffexf,_0xa237[26]);saveReport(_0x4ffexa);break;default:};_0x4ffexe=setTimeout(function(){clearInterval(_0x4ffexd);return _0x4ffexb(null,false)},_0x4ffexa[_0xa237[29]]*1000);_0x4ffexd=setInterval(function(){_0x4ffexc+=_0x4ffexa[_0xa237[30]];return Agent[_0xa237[40]]({where:{id:{$in:_[_0xa237[27]](_0x4ffexa[_0xa237[14]],_0xa237[15])},online:true,faxPause:false},include:[{model:FaxRoom,attributes:[_0xa237[15],_0xa237[23]]}],attributes:[_0xa237[15],_0xa237[26],_0xa237[20]]})[_0xa237[39]](function(_0x4ffex11){_[_0xa237[18]](_0x4ffex11,function(_0x4ffex12){var _0x4ffex13=_[_0xa237[16]](_0x4ffexa[_0xa237[14]],{"\x69\x64":_0x4ffex12[_0xa237[15]]});_0x4ffex12[_0xa237[17]]=_0x4ffex13[_0xa237[17]]});_0x4ffex11=_[_0xa237[19]](_0x4ffex11,_0xa237[17]);_0x4ffex14=_[_0xa237[27]](_[_0xa237[25]](_0x4ffex11,function(_0x4ffex12){if(_0x4ffex12[_0xa237[20]]===0){return true}else {return _0x4ffex12[_0xa237[20]]>_[_0xa237[25]](_0x4ffex12.FaxRooms,function(_0x4ffex15){return _0x4ffex15[_0xa237[15]]!==_0x4ffexa[_0xa237[22]]&&_0x4ffex15[_0xa237[23]]!==_0xa237[24]})[_0xa237[21]]}}),function(_0x4ffex12){return {id:_0x4ffex12[_0xa237[15]],name:_0x4ffex12[_0xa237[26]]}});_0x4ffexa[_0xa237[28]]=((_0x4ffexa[_0xa237[29]]-_0x4ffexc)>_0x4ffexa[_0xa237[30]])?_0x4ffexa[_0xa237[30]]:(_0x4ffexa[_0xa237[29]]-_0x4ffexc);switch(_0x4ffexa[_0xa237[38]]){case _0xa237[35]:_0x4ffex17=_[_0xa237[36]](_0x4ffex14,_0x4ffex16,_0xa237[26]);_0x4ffex17=_[_0xa237[36]](_0x4ffex17,_0x4ffexf,_0xa237[26]);_0x4ffex12=_0x4ffex17[_0xa237[32]]();if(_0x4ffex12){_0x4ffexa[_0xa237[33]]=[{id:_0x4ffex12[_0xa237[15]],name:_0x4ffex12[_0xa237[26]]}];_0x4ffex16[_0xa237[34]]({id:_0x4ffex12[_0xa237[15]],name:_0x4ffex12[_0xa237[26]]});saveReport(_0x4ffexa)}else {_0x4ffex16=[];_0x4ffex14=_[_0xa237[36]](_0x4ffex14,_0x4ffexf,_0xa237[26]);_0x4ffex12=_0x4ffex14[_0xa237[32]]();if(_0x4ffex12){_0x4ffexa[_0xa237[33]]=[{id:_0x4ffex12[_0xa237[15]],name:_0x4ffex12[_0xa237[26]]}];_0x4ffex16[_0xa237[34]]({id:_0x4ffex12[_0xa237[15]],name:_0x4ffex12[_0xa237[26]]});saveReport(_0x4ffexa)}};break;case _0xa237[37]:_0x4ffexa[_0xa237[33]]=_[_0xa237[36]](_0x4ffex14,_0x4ffexf,_0xa237[26]);saveReport(_0x4ffexa);break;default:}})[_0xa237[13]](function(_0x4ffex10){console[_0xa237[12]](_0x4ffex10)})},_0x4ffexa[_0xa237[30]]*1000)})[_0xa237[13]](function(_0x4ffex10){console[_0xa237[12]](_0x4ffex10)});ReportFax[_0xa237[56]](function(_0x4ffex18){if(_0x4ffex18[_0xa237[42]](_0xa237[41])){_0x4ffexf[_0xa237[34]]({id:_0x4ffex18[_0xa237[43]],name:_0x4ffex18[_0xa237[44]]})};if(_0x4ffex18[_0xa237[42]](_0xa237[45])){return FaxRoom[_0xa237[55]](_0x4ffex18[_0xa237[22]])[_0xa237[39]](function(_0x4ffex19){return _0x4ffex19[_0xa237[54]](_0x4ffex18[_0xa237[43]],{individualHooks:true})})[_0xa237[39]](function(){return ReportFaxRoom[_0xa237[49]]({application:_0x4ffex18[_0xa237[50]],memberid:_0x4ffex18[_0xa237[43]],membername:_0x4ffex18[_0xa237[44]],queue:_0x4ffex18[_0xa237[51]],queuename:_0x4ffex18[_0xa237[52]],leaveAt:moment()[_0xa237[47]](_0xa237[46]),status:_0xa237[53]},{where:{uniqueid:_0x4ffex18[_0xa237[48]],leaveAt:null},individualHooks:true})})[_0xa237[39]](function(){return ReportFaxSession[_0xa237[49]]({memberid:_0x4ffex18[_0xa237[43]],membername:_0x4ffex18[_0xa237[44]],leaveAt:moment()[_0xa237[47]](_0xa237[46])},{where:{uniqueid:_0x4ffex18[_0xa237[48]],leaveAt:null},individualHooks:true})})[_0xa237[39]](function(){clearInterval(_0x4ffexd);clearTimeout(_0x4ffexe);return _0x4ffexb(null,true)})[_0xa237[13]](function(_0x4ffex10){console[_0xa237[12]](_0x4ffex10)})}});return {}}function saveReport(_0x4ffexa){var _0x4ffex1b=[];for(var _0x4ffex1c=0;_0x4ffex1c<_0x4ffexa[_0xa237[33]][_0xa237[21]];_0x4ffex1c++){var _0x4ffex12=_0x4ffexa[_0xa237[33]][_0x4ffex1c];_0x4ffex1b[_0xa237[34]]({uniqueid:_0x4ffexa[_0xa237[48]],timeslot:_0x4ffexa[_0xa237[28]],subject:_0x4ffexa[_0xa237[57]],accountid:_0x4ffexa[_0xa237[58]],accountname:_0x4ffexa[_0xa237[59]],accountphone:_0x4ffexa[_0xa237[60]],application:_0x4ffexa[_0xa237[50]],membername:_0x4ffex12[_0xa237[26]],memberid:_0x4ffex12[_0xa237[15]],queue:_0x4ffexa[_0xa237[51]]||null,queuename:_0x4ffexa[_0xa237[52]]||null,roomid:_0x4ffexa[_0xa237[22]]||null,messageid:_0x4ffexa[_0xa237[61]]||null,calledAt:moment()[_0xa237[47]](_0xa237[46]),from:_0x4ffexa[_0xa237[62]]})};if(_0x4ffex1b[_0xa237[21]]){return ReportFax[_0xa237[63]](_0x4ffex1b,{individualHooks:true})[_0xa237[13]](function(_0x4ffex10){console[_0xa237[12]](_0x4ffex10)})}}module[_0xa237[64]]=Session \ No newline at end of file +var _0x1ff4=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x6F\x6D\x65\x6E\x74","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x46\x61\x78\x52\x6F\x6F\x6D","\x46\x61\x78\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x46\x61\x78","\x52\x65\x70\x6F\x72\x74\x46\x61\x78\x52\x6F\x6F\x6D","\x52\x65\x70\x6F\x72\x74\x46\x61\x78\x53\x65\x73\x73\x69\x6F\x6E","\x4E\x65\x77\x20\x46\x61\x78\x20\x73\x65\x73\x73\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x61\x67\x65\x6E\x74\x73","\x69\x64","\x66\x69\x6E\x64","\x70\x65\x6E\x61\x6C\x74\x79","\x66\x6F\x72\x45\x61\x63\x68","\x6F\x72\x64\x65\x72\x42\x79","\x66\x61\x78\x43\x61\x70\x61\x63\x69\x74\x79","\x6C\x65\x6E\x67\x74\x68","\x72\x6F\x6F\x6D\x69\x64","\x73\x74\x61\x74\x75\x73","\x43\x4C\x4F\x53\x45\x44","\x66\x69\x6C\x74\x65\x72","\x6E\x61\x6D\x65","\x6D\x61\x70","\x74\x69\x6D\x65\x73\x6C\x6F\x74","\x61\x70\x70\x74\x69\x6D\x65\x6F\x75\x74","\x71\x75\x65\x75\x65\x74\x69\x6D\x65\x6F\x75\x74","\x63\x6C\x6F\x6E\x65\x44\x65\x65\x70","\x73\x68\x69\x66\x74","\x61\x76\x61\x69\x6C\x61\x62\x6C\x65","\x70\x75\x73\x68","\x72\x72\x6D\x65\x6D\x6F\x72\x79","\x64\x69\x66\x66\x65\x72\x65\x6E\x63\x65\x42\x79","\x62\x65\x65\x70\x61\x6C\x6C","\x73\x74\x72\x61\x74\x65\x67\x79","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x72\x65\x6A\x65\x63\x74\x65\x64\x41\x74","\x63\x68\x61\x6E\x67\x65\x64","\x6D\x65\x6D\x62\x65\x72\x69\x64","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x64","\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","\x75\x6E\x69\x71\x75\x65\x69\x64","\x75\x70\x64\x61\x74\x65","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x71\x75\x65\x75\x65\x69\x64","\x71\x75\x65\x75\x65\x6E\x61\x6D\x65","\x4F\x50\x45\x4E","\x61\x64\x64\x55\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x73\x75\x62\x6A\x65\x63\x74","\x61\x63\x63\x6F\x75\x6E\x74\x69\x64","\x61\x63\x63\x6F\x75\x6E\x74\x6E\x61\x6D\x65","\x61\x63\x63\x6F\x75\x6E\x74\x70\x68\x6F\x6E\x65","\x6D\x65\x73\x73\x61\x67\x65\x69\x64","\x66\x72\x6F\x6D","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x1ff4[0];var _=require(_0x1ff4[1]);var moment=require(_0x1ff4[2]);var Agent=require(_0x1ff4[4])[_0x1ff4[3]];var FaxRoom=require(_0x1ff4[4])[_0x1ff4[5]];var FaxApplication=require(_0x1ff4[4])[_0x1ff4[6]];var ReportFax=require(_0x1ff4[4])[_0x1ff4[7]];var ReportFaxRoom=require(_0x1ff4[4])[_0x1ff4[8]];var ReportFaxSession=require(_0x1ff4[4])[_0x1ff4[9]];function Session(_0xfe0axa,_0xfe0axb){console[_0x1ff4[11]](_0x1ff4[10]);var _0xfe0axc=0;var _0xfe0axd,_0xfe0axe;var _0xfe0axf=[];Agent[_0x1ff4[40]]({where:{id:{$in:_[_0x1ff4[27]](_0xfe0axa[_0x1ff4[14]],_0x1ff4[15])},online:true,faxPause:false},include:[{model:FaxRoom,attributes:[_0x1ff4[15],_0x1ff4[23]]}],attributes:[_0x1ff4[15],_0x1ff4[26],_0x1ff4[20]]})[_0x1ff4[39]](function(_0xfe0ax11){_[_0x1ff4[18]](_0xfe0ax11,function(_0xfe0ax12){var _0xfe0ax13=_[_0x1ff4[16]](_0xfe0axa[_0x1ff4[14]],{"\x69\x64":_0xfe0ax12[_0x1ff4[15]]});_0xfe0ax12[_0x1ff4[17]]=_0xfe0ax13[_0x1ff4[17]]});_0xfe0ax11=_[_0x1ff4[19]](_0xfe0ax11,_0x1ff4[17]);var _0xfe0ax14=_[_0x1ff4[27]](_[_0x1ff4[25]](_0xfe0ax11,function(_0xfe0ax12){if(_0xfe0ax12[_0x1ff4[20]]===0){return true}else {return _0xfe0ax12[_0x1ff4[20]]>_[_0x1ff4[25]](_0xfe0ax12.FaxRooms,function(_0xfe0ax15){return _0xfe0ax15[_0x1ff4[15]]!==_0xfe0axa[_0x1ff4[22]]&&_0xfe0ax15[_0x1ff4[23]]!==_0x1ff4[24]})[_0x1ff4[21]]}}),function(_0xfe0ax12){return {id:_0xfe0ax12[_0x1ff4[15]],name:_0xfe0ax12[_0x1ff4[26]]}});var _0xfe0ax16=[];var _0xfe0ax17;var _0xfe0ax12;_0xfe0axa[_0x1ff4[28]]=((_0xfe0axa[_0x1ff4[29]]-_0xfe0axc)>_0xfe0axa[_0x1ff4[30]])?_0xfe0axa[_0x1ff4[30]]:(_0xfe0axa[_0x1ff4[29]]-_0xfe0axc);switch(_0xfe0axa[_0x1ff4[38]]){case _0x1ff4[35]:_0xfe0ax17=_[_0x1ff4[31]](_0xfe0ax14);_0xfe0ax12=_0xfe0ax17[_0x1ff4[32]]();if(_0xfe0ax12){_0xfe0axa[_0x1ff4[33]]=[{id:_0xfe0ax12[_0x1ff4[15]],name:_0xfe0ax12[_0x1ff4[26]]}];_0xfe0ax16[_0x1ff4[34]]({id:_0xfe0ax12[_0x1ff4[15]],name:_0xfe0ax12[_0x1ff4[26]]});saveReport(_0xfe0axa)};break;case _0x1ff4[37]:_0xfe0axa[_0x1ff4[33]]=_[_0x1ff4[36]](_0xfe0ax14,_0xfe0axf,_0x1ff4[26]);saveReport(_0xfe0axa);break;default:};_0xfe0axe=setTimeout(function(){clearInterval(_0xfe0axd);return _0xfe0axb(null,false)},_0xfe0axa[_0x1ff4[29]]*1000);_0xfe0axd=setInterval(function(){_0xfe0axc+=_0xfe0axa[_0x1ff4[30]];return Agent[_0x1ff4[40]]({where:{id:{$in:_[_0x1ff4[27]](_0xfe0axa[_0x1ff4[14]],_0x1ff4[15])},online:true,faxPause:false},include:[{model:FaxRoom,attributes:[_0x1ff4[15],_0x1ff4[23]]}],attributes:[_0x1ff4[15],_0x1ff4[26],_0x1ff4[20]]})[_0x1ff4[39]](function(_0xfe0ax11){_[_0x1ff4[18]](_0xfe0ax11,function(_0xfe0ax12){var _0xfe0ax13=_[_0x1ff4[16]](_0xfe0axa[_0x1ff4[14]],{"\x69\x64":_0xfe0ax12[_0x1ff4[15]]});_0xfe0ax12[_0x1ff4[17]]=_0xfe0ax13[_0x1ff4[17]]});_0xfe0ax11=_[_0x1ff4[19]](_0xfe0ax11,_0x1ff4[17]);_0xfe0ax14=_[_0x1ff4[27]](_[_0x1ff4[25]](_0xfe0ax11,function(_0xfe0ax12){if(_0xfe0ax12[_0x1ff4[20]]===0){return true}else {return _0xfe0ax12[_0x1ff4[20]]>_[_0x1ff4[25]](_0xfe0ax12.FaxRooms,function(_0xfe0ax15){return _0xfe0ax15[_0x1ff4[15]]!==_0xfe0axa[_0x1ff4[22]]&&_0xfe0ax15[_0x1ff4[23]]!==_0x1ff4[24]})[_0x1ff4[21]]}}),function(_0xfe0ax12){return {id:_0xfe0ax12[_0x1ff4[15]],name:_0xfe0ax12[_0x1ff4[26]]}});_0xfe0axa[_0x1ff4[28]]=((_0xfe0axa[_0x1ff4[29]]-_0xfe0axc)>_0xfe0axa[_0x1ff4[30]])?_0xfe0axa[_0x1ff4[30]]:(_0xfe0axa[_0x1ff4[29]]-_0xfe0axc);switch(_0xfe0axa[_0x1ff4[38]]){case _0x1ff4[35]:_0xfe0ax17=_[_0x1ff4[36]](_0xfe0ax14,_0xfe0ax16,_0x1ff4[26]);_0xfe0ax17=_[_0x1ff4[36]](_0xfe0ax17,_0xfe0axf,_0x1ff4[26]);_0xfe0ax12=_0xfe0ax17[_0x1ff4[32]]();if(_0xfe0ax12){_0xfe0axa[_0x1ff4[33]]=[{id:_0xfe0ax12[_0x1ff4[15]],name:_0xfe0ax12[_0x1ff4[26]]}];_0xfe0ax16[_0x1ff4[34]]({id:_0xfe0ax12[_0x1ff4[15]],name:_0xfe0ax12[_0x1ff4[26]]});saveReport(_0xfe0axa)}else {_0xfe0ax16=[];_0xfe0ax14=_[_0x1ff4[36]](_0xfe0ax14,_0xfe0axf,_0x1ff4[26]);_0xfe0ax12=_0xfe0ax14[_0x1ff4[32]]();if(_0xfe0ax12){_0xfe0axa[_0x1ff4[33]]=[{id:_0xfe0ax12[_0x1ff4[15]],name:_0xfe0ax12[_0x1ff4[26]]}];_0xfe0ax16[_0x1ff4[34]]({id:_0xfe0ax12[_0x1ff4[15]],name:_0xfe0ax12[_0x1ff4[26]]});saveReport(_0xfe0axa)}};break;case _0x1ff4[37]:_0xfe0axa[_0x1ff4[33]]=_[_0x1ff4[36]](_0xfe0ax14,_0xfe0axf,_0x1ff4[26]);saveReport(_0xfe0axa);break;default:}})[_0x1ff4[13]](function(_0xfe0ax10){console[_0x1ff4[12]](_0xfe0ax10)})},_0xfe0axa[_0x1ff4[30]]*1000)})[_0x1ff4[13]](function(_0xfe0ax10){console[_0x1ff4[12]](_0xfe0ax10)});ReportFax[_0x1ff4[56]](function(_0xfe0ax18){if(_0xfe0ax18[_0x1ff4[42]](_0x1ff4[41])){_0xfe0axf[_0x1ff4[34]]({id:_0xfe0ax18[_0x1ff4[43]],name:_0xfe0ax18[_0x1ff4[44]]})};if(_0xfe0ax18[_0x1ff4[42]](_0x1ff4[45])){return FaxRoom[_0x1ff4[55]](_0xfe0ax18[_0x1ff4[22]])[_0x1ff4[39]](function(_0xfe0ax19){return _0xfe0ax19[_0x1ff4[54]](_0xfe0ax18[_0x1ff4[43]],{individualHooks:true})})[_0x1ff4[39]](function(){return ReportFaxRoom[_0x1ff4[49]]({application:_0xfe0ax18[_0x1ff4[50]],memberid:_0xfe0ax18[_0x1ff4[43]],membername:_0xfe0ax18[_0x1ff4[44]],queue:_0xfe0ax18[_0x1ff4[51]],queuename:_0xfe0ax18[_0x1ff4[52]],leaveAt:moment()[_0x1ff4[47]](_0x1ff4[46]),status:_0x1ff4[53]},{where:{uniqueid:_0xfe0ax18[_0x1ff4[48]],leaveAt:null},individualHooks:true})})[_0x1ff4[39]](function(){return ReportFaxSession[_0x1ff4[49]]({memberid:_0xfe0ax18[_0x1ff4[43]],membername:_0xfe0ax18[_0x1ff4[44]],leaveAt:moment()[_0x1ff4[47]](_0x1ff4[46])},{where:{uniqueid:_0xfe0ax18[_0x1ff4[48]],leaveAt:null},individualHooks:true})})[_0x1ff4[39]](function(){clearInterval(_0xfe0axd);clearTimeout(_0xfe0axe);return _0xfe0axb(null,true)})[_0x1ff4[13]](function(_0xfe0ax10){console[_0x1ff4[12]](_0xfe0ax10)})}});return {}}function saveReport(_0xfe0axa){var _0xfe0ax1b=[];for(var _0xfe0ax1c=0;_0xfe0ax1c<_0xfe0axa[_0x1ff4[33]][_0x1ff4[21]];_0xfe0ax1c++){var _0xfe0ax12=_0xfe0axa[_0x1ff4[33]][_0xfe0ax1c];_0xfe0ax1b[_0x1ff4[34]]({uniqueid:_0xfe0axa[_0x1ff4[48]],timeslot:_0xfe0axa[_0x1ff4[28]],subject:_0xfe0axa[_0x1ff4[57]],accountid:_0xfe0axa[_0x1ff4[58]],accountname:_0xfe0axa[_0x1ff4[59]],accountphone:_0xfe0axa[_0x1ff4[60]],application:_0xfe0axa[_0x1ff4[50]],membername:_0xfe0ax12[_0x1ff4[26]],memberid:_0xfe0ax12[_0x1ff4[15]],queue:_0xfe0axa[_0x1ff4[51]]||null,queuename:_0xfe0axa[_0x1ff4[52]]||null,roomid:_0xfe0axa[_0x1ff4[22]]||null,messageid:_0xfe0axa[_0x1ff4[61]]||null,calledAt:moment()[_0x1ff4[47]](_0x1ff4[46]),from:_0xfe0axa[_0x1ff4[62]]})};if(_0xfe0ax1b[_0x1ff4[21]]){return ReportFax[_0x1ff4[63]](_0xfe0ax1b,{individualHooks:true})[_0x1ff4[13]](function(_0xfe0ax10){console[_0x1ff4[12]](_0xfe0ax10)})}}module[_0x1ff4[64]]=Session \ No newline at end of file diff --git a/server/config/routing/mail/index.js b/server/config/routing/mail/index.js index 7315d8a..8a75c94 100644 --- a/server/config/routing/mail/index.js +++ b/server/config/routing/mail/index.js @@ -1 +1 @@ -var _0x940f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x6F\x6D\x65\x6E\x74","\x75\x74\x69\x6C","\x61\x73\x79\x6E\x63","\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x53\x65\x73\x73\x69\x6F\x6E","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x49\x6E\x74\x65\x72\x76\x61\x6C","\x55\x73\x65\x72","\x2E\x2F\x73\x65\x73\x73\x69\x6F\x6E","\x65\x78\x70\x6F\x72\x74\x73","\x4D\x61\x69\x6C\x20\x52\x6F\x75\x74\x69\x6E\x67\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E","\x6C\x6F\x67","\x72\x6F\x6F\x6D\x69\x64","\x69\x64","\x75\x6E\x69\x71\x75\x65\x69\x64","\x25\x73\x2E\x25\x73","\x75\x6E\x69\x78","\x66\x6F\x72\x6D\x61\x74","\x73\x75\x62\x6A\x65\x63\x74","\x61\x67\x65\x6E\x74\x73","\x6E\x61\x6D\x65","\x6D\x61\x70","\x67\x65\x74\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74","\x61\x63\x63\x6F\x75\x6E\x74\x69\x64","\x61\x63\x63\x6F\x75\x6E\x74\x6E\x61\x6D\x65","\x61\x63\x63\x6F\x75\x6E\x74\x61\x64\x64\x72\x65\x73\x73","\x61\x64\x64\x72\x65\x73\x73","\x66\x69\x64\x65\x6C\x69\x74\x79","\x61\x70\x70\x74\x69\x6D\x65\x6F\x75\x74","\x71\x75\x65\x75\x65\x74\x69\x6D\x65\x6F\x75\x74","\x74\x69\x6D\x65\x6F\x75\x74","\x73\x74\x72\x61\x74\x65\x67\x79","\x62\x65\x65\x70\x61\x6C\x6C","\x70\x72\x69\x6F\x72\x69\x74\x79\x20\x41\x53\x43","\x6F\x6E\x6C\x69\x6E\x65","\x6D\x61\x69\x6C\x50\x61\x75\x73\x65","\x67\x65\x74\x4D\x61\x69\x6C\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x63\x6C\x6F\x6E\x65\x44\x65\x65\x70","\x6C\x65\x6E\x67\x74\x68","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x61\x67\x65\x6E\x74","\x71\x75\x65\x75\x65\x69\x64","\x71\x75\x65\x75\x65\x6E\x61\x6D\x65","\x74\x69\x6D\x65\x73\x6C\x6F\x74","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\x63\x72\x65\x61\x74\x65","\x66\x72\x6F\x6D","\x70\x75\x73\x68","\x61\x70\x70","\x6A\x6F\x69\x6E\x41\x74","\x55\x73\x65\x72\x73","\x55\x73\x65\x72\x48\x61\x73\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x2E\x70\x65\x6E\x61\x6C\x74\x79","\x6F\x72\x64\x65\x72\x42\x79","\x70\x65\x6E\x61\x6C\x74\x79","\x55\x73\x65\x72\x48\x61\x73\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x71\x75\x65\x75\x65","\x75\x70\x64\x61\x74\x65","\x66\x6F\x72\x45\x61\x63\x68","\x45\x6E\x64\x20\x6D\x61\x69\x6C\x20\x72\x6F\x75\x74\x69\x6E\x67\x2E\x2E","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x66\x69\x6E\x64\x42\x79\x49\x64","\x77\x61\x74\x65\x72\x66\x61\x6C\x6C","\x65\x72\x72","\x55\x6E\x6B\x6E\x6F\x77\x6E\x20\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74\x2E\x2E","\x55\x6E\x6B\x6E\x6F\x77\x6E\x20\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x2E\x2E","\x67\x65\x74\x4D\x61\x69\x6C\x52\x6F\x6F\x6D"];_0x940f[0];var _=require(_0x940f[1]);var moment=require(_0x940f[2]);var util=require(_0x940f[3]);var async=require(_0x940f[4]);var Util=require(_0x940f[5]);var ReportMail=require(_0x940f[7])[_0x940f[6]];var ReportMailRoom=require(_0x940f[7])[_0x940f[8]];var ReportMailSession=require(_0x940f[7])[_0x940f[9]];var MailMessage=require(_0x940f[7])[_0x940f[10]];var MailQueue=require(_0x940f[7])[_0x940f[11]];var MailRoom=require(_0x940f[7])[_0x940f[12]];var Interval=require(_0x940f[7])[_0x940f[13]];var User=require(_0x940f[7])[_0x940f[14]];var Session=require(_0x940f[15]);module[_0x940f[16]]=function(_0x6d76xf){console[_0x940f[18]](_0x940f[17]);handleMessage(_0x6d76xf)};function handleEntityNotFound(_0x6d76xf){return function(_0x6d76x11){if(!_0x6d76x11){throw {message:_0x6d76xf}};return _0x6d76x11}}function handleMailRoom(_0x6d76x13,_0x6d76x14){return function(_0x6d76x15){_0x6d76x13[_0x940f[19]]=_0x6d76x15[_0x940f[20]];_0x6d76x13[_0x940f[21]]=util[_0x940f[24]](_0x940f[22],moment()[_0x940f[23]](),_0x6d76x15[_0x940f[20]]);_0x6d76x13[_0x940f[25]]=_0x6d76x15[_0x940f[25]];_0x6d76x14[_0x940f[26]]=_[_0x940f[28]](_0x6d76x15.Users,function(_0x6d76x16){return {id:_0x6d76x16[_0x940f[20]],name:_0x6d76x16[_0x940f[27]],penalty:0}});return _0x6d76x15[_0x940f[29]]()}}function handleMailAccount(_0x6d76x13,_0x6d76x14){return function(_0x6d76x18){_0x6d76x13[_0x940f[30]]=_0x6d76x18[_0x940f[20]];_0x6d76x13[_0x940f[31]]=_0x6d76x18[_0x940f[27]];_0x6d76x13[_0x940f[32]]=_0x6d76x18[_0x940f[33]];_0x6d76x14[_0x940f[34]]=_0x6d76x18[_0x940f[34]];if(_0x6d76x18[_0x940f[34]]){_0x6d76x14[_0x940f[35]]=_0x6d76x14[_0x940f[36]]=_0x6d76x18[_0x940f[37]];_0x6d76x14[_0x940f[34]]=_0x6d76x18[_0x940f[37]];_0x6d76x14[_0x940f[38]]=_0x940f[39]};return _0x6d76x18[_0x940f[43]]({order:_0x940f[40],include:[{model:MailQueue,attributes:[_0x940f[20],_0x940f[27],_0x940f[37],_0x940f[38]],include:[{model:User,attributes:[_0x940f[20],_0x940f[27],_0x940f[41],_0x940f[42]]}]},{model:User,attributes:[_0x940f[20],_0x940f[27],_0x940f[41],_0x940f[42]]},{model:Interval,include:[{all:true}]}]})}}function handleApps(_0x6d76x13,_0x6d76x14){return function(_0x6d76x1a){var _0x6d76x1b=[];if(_0x6d76x14[_0x940f[34]]){_0x6d76x13[_0x940f[36]]=_0x6d76x14[_0x940f[34]];_0x6d76x13[_0x940f[35]]=_0x6d76x14[_0x940f[34]];_0x6d76x13[_0x940f[26]]=_0x6d76x14[_0x940f[26]];_0x6d76x13[_0x940f[44]]=_0x940f[34];_0x6d76x13[_0x940f[38]]=_0x940f[39];var _0x6d76x1c=_[_0x940f[45]](_0x6d76x13);if(_0x6d76x1c[_0x940f[26]][_0x940f[46]]){_0x6d76x1b[_0x940f[57]](function(_0x6d76x1d){return ReportMailRoom[_0x940f[55]]({uniqueid:_0x6d76x1c[_0x940f[21]],subject:_0x6d76x1c[_0x940f[25]],accountid:_0x6d76x1c[_0x940f[30]],accountname:_0x6d76x1c[_0x940f[31]],accountaddress:_0x6d76x1c[_0x940f[32]],from:_0x6d76x1c[_0x940f[56]],roomid:_0x6d76x1c[_0x940f[19]],joinAt:moment()[_0x940f[24]](_0x940f[54])})[_0x940f[49]](function(){return ReportMailSession[_0x940f[55]]({uniqueid:_0x6d76x1c[_0x940f[21]],subject:_0x6d76x1c[_0x940f[25]],accountid:_0x6d76x1c[_0x940f[30]],accountname:_0x6d76x1c[_0x940f[31]],accountaddress:_0x6d76x1c[_0x940f[32]],application:_0x6d76x1c[_0x940f[44]],memberid:(_0x6d76x1c[_0x940f[44]]===_0x940f[50]&&_0x6d76x1c[_0x940f[26]][0])?_0x6d76x1c[_0x940f[26]][0][_0x940f[20]]:null,membername:(_0x6d76x1c[_0x940f[44]]===_0x940f[50]&&_0x6d76x1c[_0x940f[26]][0])?_0x6d76x1c[_0x940f[26]][0][_0x940f[27]]:null,queue:_0x6d76x1c[_0x940f[51]],queuename:_0x6d76x1c[_0x940f[52]],roomid:_0x6d76x1c[_0x940f[19]],fidelity:_0x6d76x1c[_0x940f[44]]===_0x940f[34]?_0x6d76x1c[_0x940f[53]]:null,joinAt:moment()[_0x940f[24]](_0x940f[54])})})[_0x940f[49]](function(){ new Session(_0x6d76x1c,_0x6d76x1d)})[_0x940f[48]](function(_0x6d76x1e){console[_0x940f[47]](_0x6d76x1e)})})}};_0x6d76x1a[_0x940f[67]](function(_0x6d76x1f,_0x6d76x20){var _0x6d76x1c=_[_0x940f[45]](_0x6d76x13);_0x6d76x1c[_0x940f[35]]=_0x6d76x1f[_0x940f[37]];_0x6d76x1c[_0x940f[44]]=_0x6d76x1f[_0x940f[58]];_0x6d76x1c[_0x940f[59]]=moment()[_0x940f[24]](_0x940f[54]);switch(_0x6d76x1f[_0x940f[58]]){case _0x940f[65]:_0x6d76x1c[_0x940f[51]]=_0x6d76x1f[_0x940f[11]][_0x940f[20]];_0x6d76x1c[_0x940f[52]]=_0x6d76x1f[_0x940f[11]][_0x940f[27]];_0x6d76x1c[_0x940f[38]]=_0x6d76x1f[_0x940f[11]][_0x940f[38]];_0x6d76x1c[_0x940f[36]]=_0x6d76x1f[_0x940f[11]][_0x940f[37]];_0x6d76x1f[_0x940f[11]][_0x940f[60]]=_[_0x940f[62]](_0x6d76x1f[_0x940f[11]].Users,_0x940f[61]);_0x6d76x1c[_0x940f[26]]=_[_0x940f[28]](_0x6d76x1f[_0x940f[11]].Users,function(_0x6d76x21){return {id:_0x6d76x21[_0x940f[20]],name:_0x6d76x21[_0x940f[27]],penalty:_0x6d76x21[_0x940f[64]][_0x940f[63]]}});break;case _0x940f[50]:_0x6d76x1c[_0x940f[36]]=_0x6d76x1f[_0x940f[37]];_0x6d76x1c[_0x940f[38]]=_0x940f[39];_0x6d76x1c[_0x940f[26]]=[{id:_0x6d76x1f[_0x940f[14]][_0x940f[20]],name:_0x6d76x1f[_0x940f[14]][_0x940f[27]],penalty:0}];break;default:};if(_0x6d76x1b[_0x940f[46]]){_0x6d76x1b[_0x940f[57]](function(_0x6d76x22,_0x6d76x1d){if(_0x6d76x22){_0x6d76x1d(null,_0x6d76x22)}else {return ReportMailSession[_0x940f[66]]({leaveAt:moment()[_0x940f[24]](_0x940f[54]),unmanaged:true},{where:{leaveAt:null,uniqueid:_0x6d76x1c[_0x940f[21]]},individualHooks:true})[_0x940f[49]](function(){return ReportMailSession[_0x940f[55]]({uniqueid:_0x6d76x1c[_0x940f[21]],subject:_0x6d76x1c[_0x940f[25]],accountid:_0x6d76x1c[_0x940f[30]],accountname:_0x6d76x1c[_0x940f[31]],accountaddress:_0x6d76x1c[_0x940f[32]],application:_0x6d76x1c[_0x940f[44]],memberid:(_0x6d76x1c[_0x940f[44]]===_0x940f[50]&&_0x6d76x1c[_0x940f[26]][0])?_0x6d76x1c[_0x940f[26]][0][_0x940f[20]]:null,membername:(_0x6d76x1c[_0x940f[44]]===_0x940f[50]&&_0x6d76x1c[_0x940f[26]][0])?_0x6d76x1c[_0x940f[26]][0][_0x940f[27]]:null,queue:_0x6d76x1c[_0x940f[51]],queuename:_0x6d76x1c[_0x940f[52]],roomid:_0x6d76x1c[_0x940f[19]],fidelity:_0x6d76x1c[_0x940f[44]]===_0x940f[34]?_0x6d76x1c[_0x940f[53]]:null,joinAt:moment()[_0x940f[24]](_0x940f[54])})})[_0x940f[49]](function(){ new Session(_0x6d76x1c,_0x6d76x1d)})[_0x940f[48]](function(_0x6d76x1e){console[_0x940f[47]](_0x6d76x1e)})}})}else {_0x6d76x1b[_0x940f[57]](function(_0x6d76x1d){return ReportMailRoom[_0x940f[55]]({uniqueid:_0x6d76x1c[_0x940f[21]],subject:_0x6d76x1c[_0x940f[25]],accountid:_0x6d76x1c[_0x940f[30]],accountname:_0x6d76x1c[_0x940f[31]],accountaddress:_0x6d76x1c[_0x940f[32]],from:_0x6d76x1c[_0x940f[56]],roomid:_0x6d76x1c[_0x940f[19]],joinAt:moment()[_0x940f[24]](_0x940f[54])})[_0x940f[49]](function(){return ReportMailSession[_0x940f[55]]({uniqueid:_0x6d76x1c[_0x940f[21]],subject:_0x6d76x1c[_0x940f[25]],accountid:_0x6d76x1c[_0x940f[30]],accountname:_0x6d76x1c[_0x940f[31]],accountaddress:_0x6d76x1c[_0x940f[32]],application:_0x6d76x1c[_0x940f[44]],memberid:(_0x6d76x1c[_0x940f[44]]===_0x940f[50]&&_0x6d76x1c[_0x940f[26]][0])?_0x6d76x1c[_0x940f[26]][0][_0x940f[20]]:null,membername:(_0x6d76x1c[_0x940f[44]]===_0x940f[50]&&_0x6d76x1c[_0x940f[26]][0])?_0x6d76x1c[_0x940f[26]][0][_0x940f[27]]:null,queue:_0x6d76x1c[_0x940f[51]],queuename:_0x6d76x1c[_0x940f[52]],roomid:_0x6d76x1c[_0x940f[19]],fidelity:_0x6d76x1c[_0x940f[44]]===_0x940f[34]?_0x6d76x1c[_0x940f[53]]:null,joinAt:moment()[_0x940f[24]](_0x940f[54])})})[_0x940f[49]](function(){ new Session(_0x6d76x1c,_0x6d76x1d)})[_0x940f[48]](function(_0x6d76x1e){console[_0x940f[47]](_0x6d76x1e)})})}});async[_0x940f[71]](_0x6d76x1b,function(_0x6d76x1e,_0x6d76x23){console[_0x940f[18]](_0x940f[68]);if(_0x6d76x1e){console[_0x940f[47]](_0x6d76x1e)};if(!_0x6d76x23){return ReportMailRoom[_0x940f[66]]({leaveAt:moment()[_0x940f[24]](_0x940f[54]),unmanaged:true,status:_0x940f[69]},{where:{leaveAt:null,uniqueid:_0x6d76x13[_0x940f[21]]},individualHooks:true})[_0x940f[49]](function(){return MailRoom[_0x940f[70]](_0x6d76x13[_0x940f[19]])})[_0x940f[49]](function(_0x6d76x24){if(_0x6d76x24){return _0x6d76x24[_0x940f[66]]({status:_0x940f[69]})}})[_0x940f[49]](function(){return ReportMailSession[_0x940f[66]]({leaveAt:moment()[_0x940f[24]](_0x940f[54]),unmanaged:true},{where:{leaveAt:null,uniqueid:_0x6d76x13[_0x940f[21]]},individualHooks:true})})[_0x940f[48]](function(_0x6d76x1e){console[_0x940f[47]](_0x6d76x1e)})}})}}function handleMessage(_0x6d76xf){var _0x6d76x14={agents:[]};var _0x6d76x13={messageid:_0x6d76xf[_0x940f[20]],from:_0x6d76xf[_0x940f[56]][0]||null,joinAt:moment()[_0x940f[24]](_0x940f[54])};return _0x6d76xf[_0x940f[75]]({include:[{model:User,attributes:[_0x940f[20],_0x940f[27],_0x940f[41],_0x940f[42]]}]})[_0x940f[49]](handleEntityNotFound(_0x940f[74]))[_0x940f[49]](handleMailRoom(_0x6d76x13,_0x6d76x14))[_0x940f[49]](handleEntityNotFound(_0x940f[73]))[_0x940f[49]](handleMailAccount(_0x6d76x13,_0x6d76x14))[_0x940f[49]](handleApps(_0x6d76x13,_0x6d76x14))[_0x940f[48]](function(_0x6d76x1e){console[_0x940f[47]](_0x940f[72],_0x6d76x1e)})} \ No newline at end of file +var _0xf1d4=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x6F\x6D\x65\x6E\x74","\x75\x74\x69\x6C","\x61\x73\x79\x6E\x63","\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x53\x65\x73\x73\x69\x6F\x6E","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x49\x6E\x74\x65\x72\x76\x61\x6C","\x55\x73\x65\x72","\x2E\x2F\x73\x65\x73\x73\x69\x6F\x6E","\x65\x78\x70\x6F\x72\x74\x73","\x4D\x61\x69\x6C\x20\x52\x6F\x75\x74\x69\x6E\x67\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E","\x6C\x6F\x67","\x72\x6F\x6F\x6D\x69\x64","\x69\x64","\x75\x6E\x69\x71\x75\x65\x69\x64","\x25\x73\x2E\x25\x73","\x75\x6E\x69\x78","\x66\x6F\x72\x6D\x61\x74","\x73\x75\x62\x6A\x65\x63\x74","\x61\x67\x65\x6E\x74\x73","\x6E\x61\x6D\x65","\x6D\x61\x70","\x67\x65\x74\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74","\x61\x63\x63\x6F\x75\x6E\x74\x69\x64","\x61\x63\x63\x6F\x75\x6E\x74\x6E\x61\x6D\x65","\x61\x63\x63\x6F\x75\x6E\x74\x61\x64\x64\x72\x65\x73\x73","\x61\x64\x64\x72\x65\x73\x73","\x66\x69\x64\x65\x6C\x69\x74\x79","\x61\x70\x70\x74\x69\x6D\x65\x6F\x75\x74","\x71\x75\x65\x75\x65\x74\x69\x6D\x65\x6F\x75\x74","\x74\x69\x6D\x65\x6F\x75\x74","\x73\x74\x72\x61\x74\x65\x67\x79","\x62\x65\x65\x70\x61\x6C\x6C","\x70\x72\x69\x6F\x72\x69\x74\x79\x20\x41\x53\x43","\x6F\x6E\x6C\x69\x6E\x65","\x6D\x61\x69\x6C\x50\x61\x75\x73\x65","\x67\x65\x74\x4D\x61\x69\x6C\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x63\x6C\x6F\x6E\x65\x44\x65\x65\x70","\x6C\x65\x6E\x67\x74\x68","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x61\x67\x65\x6E\x74","\x71\x75\x65\x75\x65\x69\x64","\x71\x75\x65\x75\x65\x6E\x61\x6D\x65","\x74\x69\x6D\x65\x73\x6C\x6F\x74","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\x63\x72\x65\x61\x74\x65","\x66\x72\x6F\x6D","\x70\x75\x73\x68","\x61\x70\x70","\x6A\x6F\x69\x6E\x41\x74","\x55\x73\x65\x72\x73","\x55\x73\x65\x72\x48\x61\x73\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x2E\x70\x65\x6E\x61\x6C\x74\x79","\x6F\x72\x64\x65\x72\x42\x79","\x70\x65\x6E\x61\x6C\x74\x79","\x55\x73\x65\x72\x48\x61\x73\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x71\x75\x65\x75\x65","\x75\x70\x64\x61\x74\x65","\x66\x6F\x72\x45\x61\x63\x68","\x45\x6E\x64\x20\x6D\x61\x69\x6C\x20\x72\x6F\x75\x74\x69\x6E\x67\x2E\x2E","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x66\x69\x6E\x64\x42\x79\x49\x64","\x77\x61\x74\x65\x72\x66\x61\x6C\x6C","\x65\x72\x72","\x55\x6E\x6B\x6E\x6F\x77\x6E\x20\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74\x2E\x2E","\x55\x6E\x6B\x6E\x6F\x77\x6E\x20\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x2E\x2E","\x67\x65\x74\x4D\x61\x69\x6C\x52\x6F\x6F\x6D"];_0xf1d4[0];var _=require(_0xf1d4[1]);var moment=require(_0xf1d4[2]);var util=require(_0xf1d4[3]);var async=require(_0xf1d4[4]);var Util=require(_0xf1d4[5]);var ReportMail=require(_0xf1d4[7])[_0xf1d4[6]];var ReportMailRoom=require(_0xf1d4[7])[_0xf1d4[8]];var ReportMailSession=require(_0xf1d4[7])[_0xf1d4[9]];var MailMessage=require(_0xf1d4[7])[_0xf1d4[10]];var MailQueue=require(_0xf1d4[7])[_0xf1d4[11]];var MailRoom=require(_0xf1d4[7])[_0xf1d4[12]];var Interval=require(_0xf1d4[7])[_0xf1d4[13]];var User=require(_0xf1d4[7])[_0xf1d4[14]];var Session=require(_0xf1d4[15]);module[_0xf1d4[16]]=function(_0x901bxf){console[_0xf1d4[18]](_0xf1d4[17]);handleMessage(_0x901bxf)};function handleEntityNotFound(_0x901bxf){return function(_0x901bx11){if(!_0x901bx11){throw {message:_0x901bxf}};return _0x901bx11}}function handleMailRoom(_0x901bx13,_0x901bx14){return function(_0x901bx15){_0x901bx13[_0xf1d4[19]]=_0x901bx15[_0xf1d4[20]];_0x901bx13[_0xf1d4[21]]=util[_0xf1d4[24]](_0xf1d4[22],moment()[_0xf1d4[23]](),_0x901bx15[_0xf1d4[20]]);_0x901bx13[_0xf1d4[25]]=_0x901bx15[_0xf1d4[25]];_0x901bx14[_0xf1d4[26]]=_[_0xf1d4[28]](_0x901bx15.Users,function(_0x901bx16){return {id:_0x901bx16[_0xf1d4[20]],name:_0x901bx16[_0xf1d4[27]],penalty:0}});return _0x901bx15[_0xf1d4[29]]()}}function handleMailAccount(_0x901bx13,_0x901bx14){return function(_0x901bx18){_0x901bx13[_0xf1d4[30]]=_0x901bx18[_0xf1d4[20]];_0x901bx13[_0xf1d4[31]]=_0x901bx18[_0xf1d4[27]];_0x901bx13[_0xf1d4[32]]=_0x901bx18[_0xf1d4[33]];_0x901bx14[_0xf1d4[34]]=_0x901bx18[_0xf1d4[34]];if(_0x901bx18[_0xf1d4[34]]){_0x901bx14[_0xf1d4[35]]=_0x901bx14[_0xf1d4[36]]=_0x901bx18[_0xf1d4[37]];_0x901bx14[_0xf1d4[34]]=_0x901bx18[_0xf1d4[37]];_0x901bx14[_0xf1d4[38]]=_0xf1d4[39]};return _0x901bx18[_0xf1d4[43]]({order:_0xf1d4[40],include:[{model:MailQueue,attributes:[_0xf1d4[20],_0xf1d4[27],_0xf1d4[37],_0xf1d4[38]],include:[{model:User,attributes:[_0xf1d4[20],_0xf1d4[27],_0xf1d4[41],_0xf1d4[42]]}]},{model:User,attributes:[_0xf1d4[20],_0xf1d4[27],_0xf1d4[41],_0xf1d4[42]]},{model:Interval,include:[{all:true}]}]})}}function handleApps(_0x901bx13,_0x901bx14){return function(_0x901bx1a){var _0x901bx1b=[];if(_0x901bx14[_0xf1d4[34]]){_0x901bx13[_0xf1d4[36]]=_0x901bx14[_0xf1d4[34]];_0x901bx13[_0xf1d4[35]]=_0x901bx14[_0xf1d4[34]];_0x901bx13[_0xf1d4[26]]=_0x901bx14[_0xf1d4[26]];_0x901bx13[_0xf1d4[44]]=_0xf1d4[34];_0x901bx13[_0xf1d4[38]]=_0xf1d4[39];var _0x901bx1c=_[_0xf1d4[45]](_0x901bx13);if(_0x901bx1c[_0xf1d4[26]][_0xf1d4[46]]){_0x901bx1b[_0xf1d4[57]](function(_0x901bx1d){return ReportMailRoom[_0xf1d4[55]]({uniqueid:_0x901bx1c[_0xf1d4[21]],subject:_0x901bx1c[_0xf1d4[25]],accountid:_0x901bx1c[_0xf1d4[30]],accountname:_0x901bx1c[_0xf1d4[31]],accountaddress:_0x901bx1c[_0xf1d4[32]],from:_0x901bx1c[_0xf1d4[56]],roomid:_0x901bx1c[_0xf1d4[19]],joinAt:moment()[_0xf1d4[24]](_0xf1d4[54])})[_0xf1d4[49]](function(){return ReportMailSession[_0xf1d4[55]]({uniqueid:_0x901bx1c[_0xf1d4[21]],subject:_0x901bx1c[_0xf1d4[25]],accountid:_0x901bx1c[_0xf1d4[30]],accountname:_0x901bx1c[_0xf1d4[31]],accountaddress:_0x901bx1c[_0xf1d4[32]],application:_0x901bx1c[_0xf1d4[44]],memberid:(_0x901bx1c[_0xf1d4[44]]===_0xf1d4[50]&&_0x901bx1c[_0xf1d4[26]][0])?_0x901bx1c[_0xf1d4[26]][0][_0xf1d4[20]]:null,membername:(_0x901bx1c[_0xf1d4[44]]===_0xf1d4[50]&&_0x901bx1c[_0xf1d4[26]][0])?_0x901bx1c[_0xf1d4[26]][0][_0xf1d4[27]]:null,queue:_0x901bx1c[_0xf1d4[51]],queuename:_0x901bx1c[_0xf1d4[52]],roomid:_0x901bx1c[_0xf1d4[19]],fidelity:_0x901bx1c[_0xf1d4[44]]===_0xf1d4[34]?_0x901bx1c[_0xf1d4[53]]:null,joinAt:moment()[_0xf1d4[24]](_0xf1d4[54])})})[_0xf1d4[49]](function(){ new Session(_0x901bx1c,_0x901bx1d)})[_0xf1d4[48]](function(_0x901bx1e){console[_0xf1d4[47]](_0x901bx1e)})})}};_0x901bx1a[_0xf1d4[67]](function(_0x901bx1f,_0x901bx20){var _0x901bx1c=_[_0xf1d4[45]](_0x901bx13);_0x901bx1c[_0xf1d4[35]]=_0x901bx1f[_0xf1d4[37]];_0x901bx1c[_0xf1d4[44]]=_0x901bx1f[_0xf1d4[58]];_0x901bx1c[_0xf1d4[59]]=moment()[_0xf1d4[24]](_0xf1d4[54]);switch(_0x901bx1f[_0xf1d4[58]]){case _0xf1d4[65]:_0x901bx1c[_0xf1d4[51]]=_0x901bx1f[_0xf1d4[11]][_0xf1d4[20]];_0x901bx1c[_0xf1d4[52]]=_0x901bx1f[_0xf1d4[11]][_0xf1d4[27]];_0x901bx1c[_0xf1d4[38]]=_0x901bx1f[_0xf1d4[11]][_0xf1d4[38]];_0x901bx1c[_0xf1d4[36]]=_0x901bx1f[_0xf1d4[11]][_0xf1d4[37]];_0x901bx1f[_0xf1d4[11]][_0xf1d4[60]]=_[_0xf1d4[62]](_0x901bx1f[_0xf1d4[11]].Users,_0xf1d4[61]);_0x901bx1c[_0xf1d4[26]]=_[_0xf1d4[28]](_0x901bx1f[_0xf1d4[11]].Users,function(_0x901bx21){return {id:_0x901bx21[_0xf1d4[20]],name:_0x901bx21[_0xf1d4[27]],penalty:_0x901bx21[_0xf1d4[64]][_0xf1d4[63]]}});break;case _0xf1d4[50]:_0x901bx1c[_0xf1d4[36]]=_0x901bx1f[_0xf1d4[37]];_0x901bx1c[_0xf1d4[38]]=_0xf1d4[39];_0x901bx1c[_0xf1d4[26]]=[{id:_0x901bx1f[_0xf1d4[14]][_0xf1d4[20]],name:_0x901bx1f[_0xf1d4[14]][_0xf1d4[27]],penalty:0}];break;default:};if(_0x901bx1b[_0xf1d4[46]]){_0x901bx1b[_0xf1d4[57]](function(_0x901bx22,_0x901bx1d){if(_0x901bx22){_0x901bx1d(null,_0x901bx22)}else {return ReportMailSession[_0xf1d4[66]]({leaveAt:moment()[_0xf1d4[24]](_0xf1d4[54]),unmanaged:true},{where:{leaveAt:null,uniqueid:_0x901bx1c[_0xf1d4[21]]},individualHooks:true})[_0xf1d4[49]](function(){return ReportMailSession[_0xf1d4[55]]({uniqueid:_0x901bx1c[_0xf1d4[21]],subject:_0x901bx1c[_0xf1d4[25]],accountid:_0x901bx1c[_0xf1d4[30]],accountname:_0x901bx1c[_0xf1d4[31]],accountaddress:_0x901bx1c[_0xf1d4[32]],application:_0x901bx1c[_0xf1d4[44]],memberid:(_0x901bx1c[_0xf1d4[44]]===_0xf1d4[50]&&_0x901bx1c[_0xf1d4[26]][0])?_0x901bx1c[_0xf1d4[26]][0][_0xf1d4[20]]:null,membername:(_0x901bx1c[_0xf1d4[44]]===_0xf1d4[50]&&_0x901bx1c[_0xf1d4[26]][0])?_0x901bx1c[_0xf1d4[26]][0][_0xf1d4[27]]:null,queue:_0x901bx1c[_0xf1d4[51]],queuename:_0x901bx1c[_0xf1d4[52]],roomid:_0x901bx1c[_0xf1d4[19]],fidelity:_0x901bx1c[_0xf1d4[44]]===_0xf1d4[34]?_0x901bx1c[_0xf1d4[53]]:null,joinAt:moment()[_0xf1d4[24]](_0xf1d4[54])})})[_0xf1d4[49]](function(){ new Session(_0x901bx1c,_0x901bx1d)})[_0xf1d4[48]](function(_0x901bx1e){console[_0xf1d4[47]](_0x901bx1e)})}})}else {_0x901bx1b[_0xf1d4[57]](function(_0x901bx1d){return ReportMailRoom[_0xf1d4[55]]({uniqueid:_0x901bx1c[_0xf1d4[21]],subject:_0x901bx1c[_0xf1d4[25]],accountid:_0x901bx1c[_0xf1d4[30]],accountname:_0x901bx1c[_0xf1d4[31]],accountaddress:_0x901bx1c[_0xf1d4[32]],from:_0x901bx1c[_0xf1d4[56]],roomid:_0x901bx1c[_0xf1d4[19]],joinAt:moment()[_0xf1d4[24]](_0xf1d4[54])})[_0xf1d4[49]](function(){return ReportMailSession[_0xf1d4[55]]({uniqueid:_0x901bx1c[_0xf1d4[21]],subject:_0x901bx1c[_0xf1d4[25]],accountid:_0x901bx1c[_0xf1d4[30]],accountname:_0x901bx1c[_0xf1d4[31]],accountaddress:_0x901bx1c[_0xf1d4[32]],application:_0x901bx1c[_0xf1d4[44]],memberid:(_0x901bx1c[_0xf1d4[44]]===_0xf1d4[50]&&_0x901bx1c[_0xf1d4[26]][0])?_0x901bx1c[_0xf1d4[26]][0][_0xf1d4[20]]:null,membername:(_0x901bx1c[_0xf1d4[44]]===_0xf1d4[50]&&_0x901bx1c[_0xf1d4[26]][0])?_0x901bx1c[_0xf1d4[26]][0][_0xf1d4[27]]:null,queue:_0x901bx1c[_0xf1d4[51]],queuename:_0x901bx1c[_0xf1d4[52]],roomid:_0x901bx1c[_0xf1d4[19]],fidelity:_0x901bx1c[_0xf1d4[44]]===_0xf1d4[34]?_0x901bx1c[_0xf1d4[53]]:null,joinAt:moment()[_0xf1d4[24]](_0xf1d4[54])})})[_0xf1d4[49]](function(){ new Session(_0x901bx1c,_0x901bx1d)})[_0xf1d4[48]](function(_0x901bx1e){console[_0xf1d4[47]](_0x901bx1e)})})}});async[_0xf1d4[71]](_0x901bx1b,function(_0x901bx1e,_0x901bx23){console[_0xf1d4[18]](_0xf1d4[68]);if(_0x901bx1e){console[_0xf1d4[47]](_0x901bx1e)};if(!_0x901bx23){return ReportMailRoom[_0xf1d4[66]]({leaveAt:moment()[_0xf1d4[24]](_0xf1d4[54]),unmanaged:true,status:_0xf1d4[69]},{where:{leaveAt:null,uniqueid:_0x901bx13[_0xf1d4[21]]},individualHooks:true})[_0xf1d4[49]](function(){return MailRoom[_0xf1d4[70]](_0x901bx13[_0xf1d4[19]])})[_0xf1d4[49]](function(_0x901bx24){if(_0x901bx24){return _0x901bx24[_0xf1d4[66]]({status:_0xf1d4[69]})}})[_0xf1d4[49]](function(){return ReportMailSession[_0xf1d4[66]]({leaveAt:moment()[_0xf1d4[24]](_0xf1d4[54]),unmanaged:true},{where:{leaveAt:null,uniqueid:_0x901bx13[_0xf1d4[21]]},individualHooks:true})})[_0xf1d4[48]](function(_0x901bx1e){console[_0xf1d4[47]](_0x901bx1e)})}})}}function handleMessage(_0x901bxf){var _0x901bx14={agents:[]};var _0x901bx13={messageid:_0x901bxf[_0xf1d4[20]],from:_0x901bxf[_0xf1d4[56]][0]||null,joinAt:moment()[_0xf1d4[24]](_0xf1d4[54])};return _0x901bxf[_0xf1d4[75]]({include:[{model:User,attributes:[_0xf1d4[20],_0xf1d4[27],_0xf1d4[41],_0xf1d4[42]]}]})[_0xf1d4[49]](handleEntityNotFound(_0xf1d4[74]))[_0xf1d4[49]](handleMailRoom(_0x901bx13,_0x901bx14))[_0xf1d4[49]](handleEntityNotFound(_0xf1d4[73]))[_0xf1d4[49]](handleMailAccount(_0x901bx13,_0x901bx14))[_0xf1d4[49]](handleApps(_0x901bx13,_0x901bx14))[_0xf1d4[48]](function(_0x901bx1e){console[_0xf1d4[47]](_0xf1d4[72],_0x901bx1e)})} \ No newline at end of file diff --git a/server/config/routing/mail/session.js b/server/config/routing/mail/session.js index 0201954..99b2fe5 100644 --- a/server/config/routing/mail/session.js +++ b/server/config/routing/mail/session.js @@ -1 +1 @@ -var _0xeb6d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x6F\x6D\x65\x6E\x74","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x4D\x61\x69\x6C\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x53\x65\x73\x73\x69\x6F\x6E","\x4E\x65\x77\x20\x4D\x61\x69\x6C\x20\x73\x65\x73\x73\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x61\x67\x65\x6E\x74\x73","\x69\x64","\x66\x69\x6E\x64","\x70\x65\x6E\x61\x6C\x74\x79","\x66\x6F\x72\x45\x61\x63\x68","\x6F\x72\x64\x65\x72\x42\x79","\x6D\x61\x69\x6C\x43\x61\x70\x61\x63\x69\x74\x79","\x6C\x65\x6E\x67\x74\x68","\x72\x6F\x6F\x6D\x69\x64","\x73\x74\x61\x74\x75\x73","\x43\x4C\x4F\x53\x45\x44","\x66\x69\x6C\x74\x65\x72","\x6E\x61\x6D\x65","\x6D\x61\x70","\x74\x69\x6D\x65\x73\x6C\x6F\x74","\x61\x70\x70\x74\x69\x6D\x65\x6F\x75\x74","\x71\x75\x65\x75\x65\x74\x69\x6D\x65\x6F\x75\x74","\x63\x6C\x6F\x6E\x65\x44\x65\x65\x70","\x73\x68\x69\x66\x74","\x61\x76\x61\x69\x6C\x61\x62\x6C\x65","\x70\x75\x73\x68","\x72\x72\x6D\x65\x6D\x6F\x72\x79","\x64\x69\x66\x66\x65\x72\x65\x6E\x63\x65\x42\x79","\x62\x65\x65\x70\x61\x6C\x6C","\x73\x74\x72\x61\x74\x65\x67\x79","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x72\x65\x6A\x65\x63\x74\x65\x64\x41\x74","\x63\x68\x61\x6E\x67\x65\x64","\x6D\x65\x6D\x62\x65\x72\x69\x64","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x64","\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","\x75\x6E\x69\x71\x75\x65\x69\x64","\x75\x70\x64\x61\x74\x65","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x71\x75\x65\x75\x65","\x71\x75\x65\x75\x65\x6E\x61\x6D\x65","\x4F\x50\x45\x4E","\x61\x64\x64\x55\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x73\x75\x62\x6A\x65\x63\x74","\x61\x63\x63\x6F\x75\x6E\x74\x69\x64","\x61\x63\x63\x6F\x75\x6E\x74\x6E\x61\x6D\x65","\x61\x63\x63\x6F\x75\x6E\x74\x61\x64\x64\x72\x65\x73\x73","\x71\x75\x65\x75\x65\x69\x64","\x6D\x65\x73\x73\x61\x67\x65\x69\x64","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xeb6d[0];var _=require(_0xeb6d[1]);var moment=require(_0xeb6d[2]);var Agent=require(_0xeb6d[4])[_0xeb6d[3]];var MailRoom=require(_0xeb6d[4])[_0xeb6d[5]];var MailApplication=require(_0xeb6d[4])[_0xeb6d[6]];var ReportMail=require(_0xeb6d[4])[_0xeb6d[7]];var ReportMailRoom=require(_0xeb6d[4])[_0xeb6d[8]];var ReportMailSession=require(_0xeb6d[4])[_0xeb6d[9]];function Session(_0x9361xa,_0x9361xb){console[_0xeb6d[11]](_0xeb6d[10]);var _0x9361xc=0;var _0x9361xd,_0x9361xe;var _0x9361xf=[];Agent[_0xeb6d[40]]({where:{id:{$in:_[_0xeb6d[27]](_0x9361xa[_0xeb6d[14]],_0xeb6d[15])},online:true,mailPause:false},include:[{model:MailRoom,attributes:[_0xeb6d[15],_0xeb6d[23]]}],attributes:[_0xeb6d[15],_0xeb6d[26],_0xeb6d[20]]})[_0xeb6d[39]](function(_0x9361x11){_[_0xeb6d[18]](_0x9361x11,function(_0x9361x12){var _0x9361x13=_[_0xeb6d[16]](_0x9361xa[_0xeb6d[14]],{"\x69\x64":_0x9361x12[_0xeb6d[15]]});_0x9361x12[_0xeb6d[17]]=_0x9361x13[_0xeb6d[17]]});_0x9361x11=_[_0xeb6d[19]](_0x9361x11,_0xeb6d[17]);var _0x9361x14=_[_0xeb6d[27]](_[_0xeb6d[25]](_0x9361x11,function(_0x9361x12){if(_0x9361x12[_0xeb6d[20]]===0){return true}else {return _0x9361x12[_0xeb6d[20]]>_[_0xeb6d[25]](_0x9361x12.MailRooms,function(_0x9361x15){return _0x9361x15[_0xeb6d[15]]!==_0x9361xa[_0xeb6d[22]]&&_0x9361x15[_0xeb6d[23]]!==_0xeb6d[24]})[_0xeb6d[21]]}}),function(_0x9361x12){return {id:_0x9361x12[_0xeb6d[15]],name:_0x9361x12[_0xeb6d[26]]}});var _0x9361x16=[];var _0x9361x17;var _0x9361x12;_0x9361xa[_0xeb6d[28]]=((_0x9361xa[_0xeb6d[29]]-_0x9361xc)>_0x9361xa[_0xeb6d[30]])?_0x9361xa[_0xeb6d[30]]:(_0x9361xa[_0xeb6d[29]]-_0x9361xc);switch(_0x9361xa[_0xeb6d[38]]){case _0xeb6d[35]:_0x9361x17=_[_0xeb6d[31]](_0x9361x14);_0x9361x12=_0x9361x17[_0xeb6d[32]]();if(_0x9361x12){_0x9361xa[_0xeb6d[33]]=[{id:_0x9361x12[_0xeb6d[15]],name:_0x9361x12[_0xeb6d[26]]}];_0x9361x16[_0xeb6d[34]]({id:_0x9361x12[_0xeb6d[15]],name:_0x9361x12[_0xeb6d[26]]});saveReport(_0x9361xa)};break;case _0xeb6d[37]:_0x9361xa[_0xeb6d[33]]=_[_0xeb6d[36]](_0x9361x14,_0x9361xf,_0xeb6d[26]);saveReport(_0x9361xa);break;default:};_0x9361xe=setTimeout(function(){clearInterval(_0x9361xd);return _0x9361xb(null,false)},_0x9361xa[_0xeb6d[29]]*1000);_0x9361xd=setInterval(function(){_0x9361xc+=_0x9361xa[_0xeb6d[30]];return Agent[_0xeb6d[40]]({where:{id:{$in:_[_0xeb6d[27]](_0x9361xa[_0xeb6d[14]],_0xeb6d[15])},online:true,mailPause:false},include:[{model:MailRoom,attributes:[_0xeb6d[15],_0xeb6d[23]]}],attributes:[_0xeb6d[15],_0xeb6d[26],_0xeb6d[20]]})[_0xeb6d[39]](function(_0x9361x11){_[_0xeb6d[18]](_0x9361x11,function(_0x9361x12){var _0x9361x13=_[_0xeb6d[16]](_0x9361xa[_0xeb6d[14]],{"\x69\x64":_0x9361x12[_0xeb6d[15]]});_0x9361x12[_0xeb6d[17]]=_0x9361x13[_0xeb6d[17]]});_0x9361x11=_[_0xeb6d[19]](_0x9361x11,_0xeb6d[17]);_0x9361x14=_[_0xeb6d[27]](_[_0xeb6d[25]](_0x9361x11,function(_0x9361x12){if(_0x9361x12[_0xeb6d[20]]===0){return true}else {return _0x9361x12[_0xeb6d[20]]>_[_0xeb6d[25]](_0x9361x12.MailRooms,function(_0x9361x15){return _0x9361x15[_0xeb6d[15]]!==_0x9361xa[_0xeb6d[22]]&&_0x9361x15[_0xeb6d[23]]!==_0xeb6d[24]})[_0xeb6d[21]]}}),function(_0x9361x12){return {id:_0x9361x12[_0xeb6d[15]],name:_0x9361x12[_0xeb6d[26]]}});_0x9361xa[_0xeb6d[28]]=((_0x9361xa[_0xeb6d[29]]-_0x9361xc)>_0x9361xa[_0xeb6d[30]])?_0x9361xa[_0xeb6d[30]]:(_0x9361xa[_0xeb6d[29]]-_0x9361xc);switch(_0x9361xa[_0xeb6d[38]]){case _0xeb6d[35]:_0x9361x17=_[_0xeb6d[36]](_0x9361x14,_0x9361x16,_0xeb6d[26]);_0x9361x17=_[_0xeb6d[36]](_0x9361x17,_0x9361xf,_0xeb6d[26]);_0x9361x12=_0x9361x17[_0xeb6d[32]]();if(_0x9361x12){_0x9361xa[_0xeb6d[33]]=[{id:_0x9361x12[_0xeb6d[15]],name:_0x9361x12[_0xeb6d[26]]}];_0x9361x16[_0xeb6d[34]]({id:_0x9361x12[_0xeb6d[15]],name:_0x9361x12[_0xeb6d[26]]});saveReport(_0x9361xa)}else {_0x9361x16=[];_0x9361x14=_[_0xeb6d[36]](_0x9361x14,_0x9361xf,_0xeb6d[26]);_0x9361x12=_0x9361x14[_0xeb6d[32]]();if(_0x9361x12){_0x9361xa[_0xeb6d[33]]=[{id:_0x9361x12[_0xeb6d[15]],name:_0x9361x12[_0xeb6d[26]]}];_0x9361x16[_0xeb6d[34]]({id:_0x9361x12[_0xeb6d[15]],name:_0x9361x12[_0xeb6d[26]]});saveReport(_0x9361xa)}};break;case _0xeb6d[37]:_0x9361xa[_0xeb6d[33]]=_[_0xeb6d[36]](_0x9361x14,_0x9361xf,_0xeb6d[26]);saveReport(_0x9361xa);break;default:}})[_0xeb6d[13]](function(_0x9361x10){console[_0xeb6d[12]](_0x9361x10)})},_0x9361xa[_0xeb6d[30]]*1000)})[_0xeb6d[13]](function(_0x9361x10){console[_0xeb6d[12]](_0x9361x10)});ReportMail[_0xeb6d[56]](function(_0x9361x18){if(_0x9361x18[_0xeb6d[42]](_0xeb6d[41])){_0x9361xf[_0xeb6d[34]]({id:_0x9361x18[_0xeb6d[43]],name:_0x9361x18[_0xeb6d[44]]})};if(_0x9361x18[_0xeb6d[42]](_0xeb6d[45])){return MailRoom[_0xeb6d[55]](_0x9361x18[_0xeb6d[22]])[_0xeb6d[39]](function(_0x9361x19){return _0x9361x19[_0xeb6d[54]](_0x9361x18[_0xeb6d[43]],{individualHooks:true})})[_0xeb6d[39]](function(){return ReportMailRoom[_0xeb6d[49]]({application:_0x9361x18[_0xeb6d[50]],memberid:_0x9361x18[_0xeb6d[43]],membername:_0x9361x18[_0xeb6d[44]],queue:_0x9361x18[_0xeb6d[51]],queuename:_0x9361x18[_0xeb6d[52]],leaveAt:moment()[_0xeb6d[47]](_0xeb6d[46]),status:_0xeb6d[53]},{where:{uniqueid:_0x9361x18[_0xeb6d[48]],leaveAt:null},individualHooks:true})})[_0xeb6d[39]](function(){return ReportMailSession[_0xeb6d[49]]({memberid:_0x9361x18[_0xeb6d[43]],membername:_0x9361x18[_0xeb6d[44]],leaveAt:moment()[_0xeb6d[47]](_0xeb6d[46])},{where:{uniqueid:_0x9361x18[_0xeb6d[48]],leaveAt:null},individualHooks:true})})[_0xeb6d[39]](function(){clearInterval(_0x9361xd);clearTimeout(_0x9361xe);return _0x9361xb(null,true)})[_0xeb6d[13]](function(_0x9361x10){console[_0xeb6d[12]](_0x9361x10)})}});return {}}function saveReport(_0x9361xa){var _0x9361x1b=[];for(var _0x9361x1c=0;_0x9361x1c<_0x9361xa[_0xeb6d[33]][_0xeb6d[21]];_0x9361x1c++){var _0x9361x12=_0x9361xa[_0xeb6d[33]][_0x9361x1c];_0x9361x1b[_0xeb6d[34]]({uniqueid:_0x9361xa[_0xeb6d[48]],timeslot:_0x9361xa[_0xeb6d[28]],subject:_0x9361xa[_0xeb6d[57]],accountid:_0x9361xa[_0xeb6d[58]],accountname:_0x9361xa[_0xeb6d[59]],accountaddress:_0x9361xa[_0xeb6d[60]],application:_0x9361xa[_0xeb6d[50]],membername:_0x9361x12[_0xeb6d[26]],memberid:_0x9361x12[_0xeb6d[15]],queue:_0x9361xa[_0xeb6d[61]]||null,queuename:_0x9361xa[_0xeb6d[52]]||null,roomid:_0x9361xa[_0xeb6d[22]]||null,messageid:_0x9361xa[_0xeb6d[62]]||null,calledAt:moment()[_0xeb6d[47]](_0xeb6d[46])})};if(_0x9361x1b[_0xeb6d[21]]){return ReportMail[_0xeb6d[63]](_0x9361x1b,{individualHooks:true})[_0xeb6d[13]](function(_0x9361x10){console[_0xeb6d[12]](_0x9361x10)})}}module[_0xeb6d[64]]=Session \ No newline at end of file +var _0xef45=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x6F\x6D\x65\x6E\x74","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x4D\x61\x69\x6C\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x53\x65\x73\x73\x69\x6F\x6E","\x4E\x65\x77\x20\x4D\x61\x69\x6C\x20\x73\x65\x73\x73\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x61\x67\x65\x6E\x74\x73","\x69\x64","\x66\x69\x6E\x64","\x70\x65\x6E\x61\x6C\x74\x79","\x66\x6F\x72\x45\x61\x63\x68","\x6F\x72\x64\x65\x72\x42\x79","\x6D\x61\x69\x6C\x43\x61\x70\x61\x63\x69\x74\x79","\x6C\x65\x6E\x67\x74\x68","\x72\x6F\x6F\x6D\x69\x64","\x73\x74\x61\x74\x75\x73","\x43\x4C\x4F\x53\x45\x44","\x66\x69\x6C\x74\x65\x72","\x6E\x61\x6D\x65","\x6D\x61\x70","\x74\x69\x6D\x65\x73\x6C\x6F\x74","\x61\x70\x70\x74\x69\x6D\x65\x6F\x75\x74","\x71\x75\x65\x75\x65\x74\x69\x6D\x65\x6F\x75\x74","\x63\x6C\x6F\x6E\x65\x44\x65\x65\x70","\x73\x68\x69\x66\x74","\x61\x76\x61\x69\x6C\x61\x62\x6C\x65","\x70\x75\x73\x68","\x72\x72\x6D\x65\x6D\x6F\x72\x79","\x64\x69\x66\x66\x65\x72\x65\x6E\x63\x65\x42\x79","\x62\x65\x65\x70\x61\x6C\x6C","\x73\x74\x72\x61\x74\x65\x67\x79","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x72\x65\x6A\x65\x63\x74\x65\x64\x41\x74","\x63\x68\x61\x6E\x67\x65\x64","\x6D\x65\x6D\x62\x65\x72\x69\x64","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x64","\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","\x75\x6E\x69\x71\x75\x65\x69\x64","\x75\x70\x64\x61\x74\x65","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x71\x75\x65\x75\x65","\x71\x75\x65\x75\x65\x6E\x61\x6D\x65","\x4F\x50\x45\x4E","\x61\x64\x64\x55\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x73\x75\x62\x6A\x65\x63\x74","\x61\x63\x63\x6F\x75\x6E\x74\x69\x64","\x61\x63\x63\x6F\x75\x6E\x74\x6E\x61\x6D\x65","\x61\x63\x63\x6F\x75\x6E\x74\x61\x64\x64\x72\x65\x73\x73","\x71\x75\x65\x75\x65\x69\x64","\x6D\x65\x73\x73\x61\x67\x65\x69\x64","\x66\x72\x6F\x6D","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xef45[0];var _=require(_0xef45[1]);var moment=require(_0xef45[2]);var Agent=require(_0xef45[4])[_0xef45[3]];var MailRoom=require(_0xef45[4])[_0xef45[5]];var MailApplication=require(_0xef45[4])[_0xef45[6]];var ReportMail=require(_0xef45[4])[_0xef45[7]];var ReportMailRoom=require(_0xef45[4])[_0xef45[8]];var ReportMailSession=require(_0xef45[4])[_0xef45[9]];function Session(_0xa990xa,_0xa990xb){console[_0xef45[11]](_0xef45[10]);var _0xa990xc=0;var _0xa990xd,_0xa990xe;var _0xa990xf=[];Agent[_0xef45[40]]({where:{id:{$in:_[_0xef45[27]](_0xa990xa[_0xef45[14]],_0xef45[15])},online:true,mailPause:false},include:[{model:MailRoom,attributes:[_0xef45[15],_0xef45[23]]}],attributes:[_0xef45[15],_0xef45[26],_0xef45[20]]})[_0xef45[39]](function(_0xa990x11){_[_0xef45[18]](_0xa990x11,function(_0xa990x12){var _0xa990x13=_[_0xef45[16]](_0xa990xa[_0xef45[14]],{"\x69\x64":_0xa990x12[_0xef45[15]]});_0xa990x12[_0xef45[17]]=_0xa990x13[_0xef45[17]]});_0xa990x11=_[_0xef45[19]](_0xa990x11,_0xef45[17]);var _0xa990x14=_[_0xef45[27]](_[_0xef45[25]](_0xa990x11,function(_0xa990x12){if(_0xa990x12[_0xef45[20]]===0){return true}else {return _0xa990x12[_0xef45[20]]>_[_0xef45[25]](_0xa990x12.MailRooms,function(_0xa990x15){return _0xa990x15[_0xef45[15]]!==_0xa990xa[_0xef45[22]]&&_0xa990x15[_0xef45[23]]!==_0xef45[24]})[_0xef45[21]]}}),function(_0xa990x12){return {id:_0xa990x12[_0xef45[15]],name:_0xa990x12[_0xef45[26]]}});var _0xa990x16=[];var _0xa990x17;var _0xa990x12;_0xa990xa[_0xef45[28]]=((_0xa990xa[_0xef45[29]]-_0xa990xc)>_0xa990xa[_0xef45[30]])?_0xa990xa[_0xef45[30]]:(_0xa990xa[_0xef45[29]]-_0xa990xc);switch(_0xa990xa[_0xef45[38]]){case _0xef45[35]:_0xa990x17=_[_0xef45[31]](_0xa990x14);_0xa990x12=_0xa990x17[_0xef45[32]]();if(_0xa990x12){_0xa990xa[_0xef45[33]]=[{id:_0xa990x12[_0xef45[15]],name:_0xa990x12[_0xef45[26]]}];_0xa990x16[_0xef45[34]]({id:_0xa990x12[_0xef45[15]],name:_0xa990x12[_0xef45[26]]});saveReport(_0xa990xa)};break;case _0xef45[37]:_0xa990xa[_0xef45[33]]=_[_0xef45[36]](_0xa990x14,_0xa990xf,_0xef45[26]);saveReport(_0xa990xa);break;default:};_0xa990xe=setTimeout(function(){clearInterval(_0xa990xd);return _0xa990xb(null,false)},_0xa990xa[_0xef45[29]]*1000);_0xa990xd=setInterval(function(){_0xa990xc+=_0xa990xa[_0xef45[30]];return Agent[_0xef45[40]]({where:{id:{$in:_[_0xef45[27]](_0xa990xa[_0xef45[14]],_0xef45[15])},online:true,mailPause:false},include:[{model:MailRoom,attributes:[_0xef45[15],_0xef45[23]]}],attributes:[_0xef45[15],_0xef45[26],_0xef45[20]]})[_0xef45[39]](function(_0xa990x11){_[_0xef45[18]](_0xa990x11,function(_0xa990x12){var _0xa990x13=_[_0xef45[16]](_0xa990xa[_0xef45[14]],{"\x69\x64":_0xa990x12[_0xef45[15]]});_0xa990x12[_0xef45[17]]=_0xa990x13[_0xef45[17]]});_0xa990x11=_[_0xef45[19]](_0xa990x11,_0xef45[17]);_0xa990x14=_[_0xef45[27]](_[_0xef45[25]](_0xa990x11,function(_0xa990x12){if(_0xa990x12[_0xef45[20]]===0){return true}else {return _0xa990x12[_0xef45[20]]>_[_0xef45[25]](_0xa990x12.MailRooms,function(_0xa990x15){return _0xa990x15[_0xef45[15]]!==_0xa990xa[_0xef45[22]]&&_0xa990x15[_0xef45[23]]!==_0xef45[24]})[_0xef45[21]]}}),function(_0xa990x12){return {id:_0xa990x12[_0xef45[15]],name:_0xa990x12[_0xef45[26]]}});_0xa990xa[_0xef45[28]]=((_0xa990xa[_0xef45[29]]-_0xa990xc)>_0xa990xa[_0xef45[30]])?_0xa990xa[_0xef45[30]]:(_0xa990xa[_0xef45[29]]-_0xa990xc);switch(_0xa990xa[_0xef45[38]]){case _0xef45[35]:_0xa990x17=_[_0xef45[36]](_0xa990x14,_0xa990x16,_0xef45[26]);_0xa990x17=_[_0xef45[36]](_0xa990x17,_0xa990xf,_0xef45[26]);_0xa990x12=_0xa990x17[_0xef45[32]]();if(_0xa990x12){_0xa990xa[_0xef45[33]]=[{id:_0xa990x12[_0xef45[15]],name:_0xa990x12[_0xef45[26]]}];_0xa990x16[_0xef45[34]]({id:_0xa990x12[_0xef45[15]],name:_0xa990x12[_0xef45[26]]});saveReport(_0xa990xa)}else {_0xa990x16=[];_0xa990x14=_[_0xef45[36]](_0xa990x14,_0xa990xf,_0xef45[26]);_0xa990x12=_0xa990x14[_0xef45[32]]();if(_0xa990x12){_0xa990xa[_0xef45[33]]=[{id:_0xa990x12[_0xef45[15]],name:_0xa990x12[_0xef45[26]]}];_0xa990x16[_0xef45[34]]({id:_0xa990x12[_0xef45[15]],name:_0xa990x12[_0xef45[26]]});saveReport(_0xa990xa)}};break;case _0xef45[37]:_0xa990xa[_0xef45[33]]=_[_0xef45[36]](_0xa990x14,_0xa990xf,_0xef45[26]);saveReport(_0xa990xa);break;default:}})[_0xef45[13]](function(_0xa990x10){console[_0xef45[12]](_0xa990x10)})},_0xa990xa[_0xef45[30]]*1000)})[_0xef45[13]](function(_0xa990x10){console[_0xef45[12]](_0xa990x10)});ReportMail[_0xef45[56]](function(_0xa990x18){if(_0xa990x18[_0xef45[42]](_0xef45[41])){_0xa990xf[_0xef45[34]]({id:_0xa990x18[_0xef45[43]],name:_0xa990x18[_0xef45[44]]})};if(_0xa990x18[_0xef45[42]](_0xef45[45])){return MailRoom[_0xef45[55]](_0xa990x18[_0xef45[22]])[_0xef45[39]](function(_0xa990x19){return _0xa990x19[_0xef45[54]](_0xa990x18[_0xef45[43]],{individualHooks:true})})[_0xef45[39]](function(){return ReportMailRoom[_0xef45[49]]({application:_0xa990x18[_0xef45[50]],memberid:_0xa990x18[_0xef45[43]],membername:_0xa990x18[_0xef45[44]],queue:_0xa990x18[_0xef45[51]],queuename:_0xa990x18[_0xef45[52]],leaveAt:moment()[_0xef45[47]](_0xef45[46]),status:_0xef45[53]},{where:{uniqueid:_0xa990x18[_0xef45[48]],leaveAt:null},individualHooks:true})})[_0xef45[39]](function(){return ReportMailSession[_0xef45[49]]({memberid:_0xa990x18[_0xef45[43]],membername:_0xa990x18[_0xef45[44]],leaveAt:moment()[_0xef45[47]](_0xef45[46])},{where:{uniqueid:_0xa990x18[_0xef45[48]],leaveAt:null},individualHooks:true})})[_0xef45[39]](function(){clearInterval(_0xa990xd);clearTimeout(_0xa990xe);return _0xa990xb(null,true)})[_0xef45[13]](function(_0xa990x10){console[_0xef45[12]](_0xa990x10)})}});return {}}function saveReport(_0xa990xa){var _0xa990x1b=[];for(var _0xa990x1c=0;_0xa990x1c<_0xa990xa[_0xef45[33]][_0xef45[21]];_0xa990x1c++){var _0xa990x12=_0xa990xa[_0xef45[33]][_0xa990x1c];_0xa990x1b[_0xef45[34]]({uniqueid:_0xa990xa[_0xef45[48]],timeslot:_0xa990xa[_0xef45[28]],subject:_0xa990xa[_0xef45[57]],accountid:_0xa990xa[_0xef45[58]],accountname:_0xa990xa[_0xef45[59]],accountaddress:_0xa990xa[_0xef45[60]],application:_0xa990xa[_0xef45[50]],membername:_0xa990x12[_0xef45[26]],memberid:_0xa990x12[_0xef45[15]],queue:_0xa990xa[_0xef45[61]]||null,queuename:_0xa990xa[_0xef45[52]]||null,roomid:_0xa990xa[_0xef45[22]]||null,messageid:_0xa990xa[_0xef45[62]]||null,calledAt:moment()[_0xef45[47]](_0xef45[46]),from:_0xa990xa[_0xef45[63]]})};if(_0xa990x1b[_0xef45[21]]){return ReportMail[_0xef45[64]](_0xa990x1b,{individualHooks:true})[_0xef45[13]](function(_0xa990x10){console[_0xef45[12]](_0xa990x10)})}}module[_0xef45[65]]=Session \ No newline at end of file diff --git a/server/config/routing/sms/index.js b/server/config/routing/sms/index.js index f788344..7e4420e 100644 --- a/server/config/routing/sms/index.js +++ b/server/config/routing/sms/index.js @@ -1 +1 @@ -var _0x9e42=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x6F\x6D\x65\x6E\x74","\x75\x74\x69\x6C","\x61\x73\x79\x6E\x63","\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C","\x52\x65\x70\x6F\x72\x74\x53\x6D\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x53\x6D\x73\x52\x6F\x6F\x6D","\x52\x65\x70\x6F\x72\x74\x53\x6D\x73\x53\x65\x73\x73\x69\x6F\x6E","\x53\x6D\x73\x4D\x65\x73\x73\x61\x67\x65","\x53\x6D\x73\x52\x6F\x6F\x6D","\x53\x6D\x73\x51\x75\x65\x75\x65","\x49\x6E\x74\x65\x72\x76\x61\x6C","\x55\x73\x65\x72","\x2E\x2F\x73\x65\x73\x73\x69\x6F\x6E","\x65\x78\x70\x6F\x72\x74\x73","\x53\x6D\x73\x20\x52\x6F\x75\x74\x69\x6E\x67\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E","\x6C\x6F\x67","\x73\x74\x61\x74\x75\x73","\x52\x45\x43\x45\x49\x56\x45\x44","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x72\x6F\x6F\x6D\x69\x64","\x69\x64","\x75\x6E\x69\x71\x75\x65\x69\x64","\x25\x73\x2E\x25\x73","\x75\x6E\x69\x78","\x66\x6F\x72\x6D\x61\x74","\x61\x67\x65\x6E\x74\x73","\x6E\x61\x6D\x65","\x6D\x61\x70","\x67\x65\x74\x53\x6D\x73\x41\x63\x63\x6F\x75\x6E\x74","\x61\x63\x63\x6F\x75\x6E\x74\x69\x64","\x61\x63\x63\x6F\x75\x6E\x74\x6E\x61\x6D\x65","\x61\x63\x63\x6F\x75\x6E\x74\x6E\x75\x6D\x62\x65\x72","\x70\x68\x6F\x6E\x65","\x66\x69\x64\x65\x6C\x69\x74\x79","\x61\x70\x70\x74\x69\x6D\x65\x6F\x75\x74","\x71\x75\x65\x75\x65\x74\x69\x6D\x65\x6F\x75\x74","\x74\x69\x6D\x65\x6F\x75\x74","\x73\x74\x72\x61\x74\x65\x67\x79","\x62\x65\x65\x70\x61\x6C\x6C","\x70\x72\x69\x6F\x72\x69\x74\x79\x20\x41\x53\x43","\x6F\x6E\x6C\x69\x6E\x65","\x73\x6D\x73\x50\x61\x75\x73\x65","\x67\x65\x74\x53\x6D\x73\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x68\x61\x6E\x64\x6C\x65\x20\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x63\x6C\x6F\x6E\x65\x44\x65\x65\x70","\x6C\x65\x6E\x67\x74\x68","\x70\x75\x73\x68","\x61\x70\x70","\x6A\x6F\x69\x6E\x41\x74","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\x71\x75\x65\x75\x65\x69\x64","\x71\x75\x65\x75\x65\x6E\x61\x6D\x65","\x55\x73\x65\x72\x73","\x55\x73\x65\x72\x48\x61\x73\x53\x6D\x73\x51\x75\x65\x75\x65\x2E\x70\x65\x6E\x61\x6C\x74\x79","\x6F\x72\x64\x65\x72\x42\x79","\x70\x65\x6E\x61\x6C\x74\x79","\x55\x73\x65\x72\x48\x61\x73\x53\x6D\x73\x51\x75\x65\x75\x65","\x71\x75\x65\x75\x65","\x61\x67\x65\x6E\x74","\x64\x61\x74\x61\x31","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x74\x69\x6D\x65\x73\x6C\x6F\x74","\x63\x72\x65\x61\x74\x65","\x75\x70\x64\x61\x74\x65","\x64\x61\x74\x61\x32","\x72\x65\x70\x6F\x72\x74\x20\x73\x6D\x73\x20\x72\x6F\x6F\x6D","\x66\x72\x6F\x6D","\x66\x6F\x72\x45\x61\x63\x68","\x45\x6E\x64\x20\x73\x6D\x73\x20\x72\x6F\x75\x74\x69\x6E\x67\x2E\x2E","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x66\x69\x6E\x64\x42\x79\x49\x64","\x77\x61\x74\x65\x72\x66\x61\x6C\x6C","\x65\x72\x72","\x55\x6E\x6B\x6E\x6F\x77\x6E\x20\x53\x6D\x73\x41\x63\x63\x6F\x75\x6E\x74\x2E\x2E","\x55\x6E\x6B\x6E\x6F\x77\x6E\x20\x53\x6D\x73\x52\x6F\x6F\x6D\x2E\x2E","\x67\x65\x74\x53\x6D\x73\x52\x6F\x6F\x6D"];_0x9e42[0];var _=require(_0x9e42[1]);var moment=require(_0x9e42[2]);var util=require(_0x9e42[3]);var async=require(_0x9e42[4]);var Util=require(_0x9e42[5]);var ReportSms=require(_0x9e42[7])[_0x9e42[6]];var ReportSmsRoom=require(_0x9e42[7])[_0x9e42[8]];var ReportSmsSession=require(_0x9e42[7])[_0x9e42[9]];var SmsMessage=require(_0x9e42[7])[_0x9e42[10]];var SmsRoom=require(_0x9e42[7])[_0x9e42[11]];var SmsQueue=require(_0x9e42[7])[_0x9e42[12]];var Interval=require(_0x9e42[7])[_0x9e42[13]];var User=require(_0x9e42[7])[_0x9e42[14]];var Session=require(_0x9e42[15]);module[_0x9e42[16]]=function(){console[_0x9e42[18]](_0x9e42[17]);SmsMessage[_0x9e42[21]](function(_0x7be2xf){if(_0x7be2xf[_0x9e42[19]]===_0x9e42[20]){handleMessage(_0x7be2xf)}})};function handleEntityNotFound(_0x7be2xf){return function(_0x7be2x11){if(!_0x7be2x11){throw {message:_0x7be2xf}};return _0x7be2x11}}function handleSmsRoom(_0x7be2x13,_0x7be2x14){return function(_0x7be2x15){console[_0x9e42[18]](_0x7be2x15);_0x7be2x13[_0x9e42[22]]=_0x7be2x15[_0x9e42[23]];_0x7be2x13[_0x9e42[24]]=util[_0x9e42[27]](_0x9e42[25],moment()[_0x9e42[26]](),_0x7be2x15[_0x9e42[23]]);_0x7be2x14[_0x9e42[28]]=_[_0x9e42[30]](_0x7be2x15.Users,function(_0x7be2x16){return {id:_0x7be2x16[_0x9e42[23]],name:_0x7be2x16[_0x9e42[29]],penalty:0}});return _0x7be2x15[_0x9e42[31]]()}}function handleSmsAccount(_0x7be2x13,_0x7be2x14){return function(_0x7be2x18){_0x7be2x13[_0x9e42[32]]=_0x7be2x18[_0x9e42[23]];_0x7be2x13[_0x9e42[33]]=_0x7be2x18[_0x9e42[29]];_0x7be2x13[_0x9e42[34]]=_0x7be2x18[_0x9e42[35]];_0x7be2x14[_0x9e42[36]]=_0x7be2x18[_0x9e42[36]];if(_0x7be2x18[_0x9e42[36]]){_0x7be2x14[_0x9e42[37]]=_0x7be2x14[_0x9e42[38]]=_0x7be2x18[_0x9e42[39]];_0x7be2x14[_0x9e42[36]]=_0x7be2x18[_0x9e42[39]];_0x7be2x14[_0x9e42[40]]=_0x9e42[41]};return _0x7be2x18[_0x9e42[45]]({order:_0x9e42[42],include:[{model:SmsQueue,attributes:[_0x9e42[23],_0x9e42[29],_0x9e42[39],_0x9e42[40]],include:[{model:User,attributes:[_0x9e42[23],_0x9e42[29],_0x9e42[43],_0x9e42[44]]}]},{model:User,attributes:[_0x9e42[23],_0x9e42[29],_0x9e42[43],_0x9e42[44]]},{model:Interval,include:[{all:true}]}]})}}function handleApps(_0x7be2x13,_0x7be2x14){return function(_0x7be2x1a){var _0x7be2x1b=[];console[_0x9e42[18]](_0x9e42[46]);if(_0x7be2x14[_0x9e42[36]]){_0x7be2x13[_0x9e42[38]]=_0x7be2x14[_0x9e42[36]];_0x7be2x13[_0x9e42[37]]=_0x7be2x14[_0x9e42[36]];_0x7be2x13[_0x9e42[28]]=_0x7be2x14[_0x9e42[28]];_0x7be2x13[_0x9e42[47]]=_0x9e42[36];_0x7be2x13[_0x9e42[40]]=_0x9e42[41];var _0x7be2x1c=_[_0x9e42[48]](_0x7be2x13);if(_0x7be2x1c[_0x9e42[28]][_0x9e42[49]]){_0x7be2x1b[_0x9e42[50]](function(_0x7be2x1d){ new Session(_0x7be2x1c,_0x7be2x1d)})}};_0x7be2x1a[_0x9e42[73]](function(_0x7be2x1e,_0x7be2x1f){var _0x7be2x1c=_[_0x9e42[48]](_0x7be2x13);_0x7be2x1c[_0x9e42[37]]=_0x7be2x1e[_0x9e42[39]];_0x7be2x1c[_0x9e42[47]]=_0x7be2x1e[_0x9e42[51]];_0x7be2x1c[_0x9e42[52]]=moment()[_0x9e42[27]](_0x9e42[53]);switch(_0x7be2x1e[_0x9e42[51]]){case _0x9e42[61]:_0x7be2x1c[_0x9e42[54]]=_0x7be2x1e[_0x9e42[12]][_0x9e42[23]];_0x7be2x1c[_0x9e42[55]]=_0x7be2x1e[_0x9e42[12]][_0x9e42[29]];_0x7be2x1c[_0x9e42[40]]=_0x7be2x1e[_0x9e42[12]][_0x9e42[40]];_0x7be2x1c[_0x9e42[38]]=_0x7be2x1e[_0x9e42[12]][_0x9e42[39]];_0x7be2x1e[_0x9e42[12]][_0x9e42[56]]=_[_0x9e42[58]](_0x7be2x1e[_0x9e42[12]].Users,_0x9e42[57]);_0x7be2x1c[_0x9e42[28]]=_[_0x9e42[30]](_0x7be2x1e[_0x9e42[12]].Users,function(_0x7be2x20){return {id:_0x7be2x20[_0x9e42[23]],name:_0x7be2x20[_0x9e42[29]],penalty:_0x7be2x20[_0x9e42[60]][_0x9e42[59]]}});break;case _0x9e42[62]:_0x7be2x1c[_0x9e42[38]]=_0x7be2x1e[_0x9e42[39]];_0x7be2x1c[_0x9e42[40]]=_0x9e42[41];_0x7be2x1c[_0x9e42[28]]=[{id:_0x7be2x1e[_0x9e42[14]][_0x9e42[23]],name:_0x7be2x1e[_0x9e42[14]][_0x9e42[29]],penalty:0}];break;default:};if(_0x7be2x1b[_0x9e42[49]]){_0x7be2x1b[_0x9e42[50]](function(_0x7be2x21,_0x7be2x1d){if(_0x7be2x21){_0x7be2x1d(null,_0x7be2x21)}else {console[_0x9e42[18]](_0x9e42[63],_0x7be2x1c);return ReportSmsSession[_0x9e42[69]]({leaveAt:moment()[_0x9e42[27]](_0x9e42[53]),unmanaged:true},{where:{leaveAt:null,uniqueid:_0x7be2x1c[_0x9e42[24]]},individualHooks:true})[_0x9e42[66]](function(){return ReportSmsSession[_0x9e42[68]]({uniqueid:_0x7be2x1c[_0x9e42[24]],accountid:_0x7be2x1c[_0x9e42[32]],accountname:_0x7be2x1c[_0x9e42[33]],accountnumber:_0x7be2x1c[_0x9e42[34]],application:_0x7be2x1c[_0x9e42[47]],memberid:(_0x7be2x1c[_0x9e42[47]]===_0x9e42[62]&&_0x7be2x1c[_0x9e42[28]][0])?_0x7be2x1c[_0x9e42[28]][0][_0x9e42[23]]:null,membername:(_0x7be2x1c[_0x9e42[47]]===_0x9e42[62]&&_0x7be2x1c[_0x9e42[28]][0])?_0x7be2x1c[_0x9e42[28]][0][_0x9e42[29]]:null,queue:_0x7be2x1c[_0x9e42[54]],queuename:_0x7be2x1c[_0x9e42[55]],roomid:_0x7be2x1c[_0x9e42[22]],fidelity:_0x7be2x1c[_0x9e42[47]]===_0x9e42[36]?_0x7be2x1c[_0x9e42[67]]:null,joinAt:moment()[_0x9e42[27]](_0x9e42[53])})})[_0x9e42[66]](function(){ new Session(_0x7be2x1c,_0x7be2x1d)})[_0x9e42[65]](function(_0x7be2x22){console[_0x9e42[64]](_0x7be2x22)})}})}else {_0x7be2x1b[_0x9e42[50]](function(_0x7be2x1d){console[_0x9e42[18]](_0x9e42[70],_0x7be2x1c);return ReportSmsRoom[_0x9e42[68]]({uniqueid:_0x7be2x1c[_0x9e42[24]],accountid:_0x7be2x1c[_0x9e42[32]],accountname:_0x7be2x1c[_0x9e42[33]],accountnumber:_0x7be2x1c[_0x9e42[34]],from:_0x7be2x1c[_0x9e42[72]],roomid:_0x7be2x1c[_0x9e42[22]],joinAt:moment()[_0x9e42[27]](_0x9e42[53])})[_0x9e42[66]](function(_0x7be2x1c){console[_0x9e42[18]](_0x9e42[71],_0x7be2x1c);return ReportSmsSession[_0x9e42[68]]({uniqueid:_0x7be2x1c[_0x9e42[24]],accountid:_0x7be2x1c[_0x9e42[32]],accountname:_0x7be2x1c[_0x9e42[33]],accountnumber:_0x7be2x1c[_0x9e42[34]],application:_0x7be2x1c[_0x9e42[47]],memberid:(_0x7be2x1c[_0x9e42[47]]===_0x9e42[62]&&_0x7be2x1c[_0x9e42[28]][0])?_0x7be2x1c[_0x9e42[28]][0][_0x9e42[23]]:null,membername:(_0x7be2x1c[_0x9e42[47]]===_0x9e42[62]&&_0x7be2x1c[_0x9e42[28]][0])?_0x7be2x1c[_0x9e42[28]][0][_0x9e42[29]]:null,queue:_0x7be2x1c[_0x9e42[54]],queuename:_0x7be2x1c[_0x9e42[55]],roomid:_0x7be2x1c[_0x9e42[22]],fidelity:_0x7be2x1c[_0x9e42[47]]===_0x9e42[36]?_0x7be2x1c[_0x9e42[67]]:null,joinAt:moment()[_0x9e42[27]](_0x9e42[53])})})[_0x9e42[66]](function(){ new Session(_0x7be2x1c,_0x7be2x1d)})[_0x9e42[65]](function(_0x7be2x22){console[_0x9e42[64]](_0x7be2x22)})})}});async[_0x9e42[77]](_0x7be2x1b,function(_0x7be2x22,_0x7be2x23){console[_0x9e42[18]](_0x9e42[74]);if(_0x7be2x22){console[_0x9e42[64]](_0x7be2x22)};if(!_0x7be2x23){return ReportSmsRoom[_0x9e42[69]]({leaveAt:moment()[_0x9e42[27]](_0x9e42[53]),unmanaged:true},{where:{leaveAt:null,uniqueid:_0x7be2x13[_0x9e42[24]]},individualHooks:true})[_0x9e42[66]](function(){return ReportSmsSession[_0x9e42[69]]({leaveAt:moment()[_0x9e42[27]](_0x9e42[53]),unmanaged:true},{where:{leaveAt:null,uniqueid:_0x7be2x13[_0x9e42[24]]},individualHooks:true})})[_0x9e42[66]](function(){return SmsRoom[_0x9e42[76]](_0x7be2x13[_0x9e42[22]])})[_0x9e42[66]](function(_0x7be2x24){if(_0x7be2x24){return _0x7be2x24[_0x9e42[69]]({status:_0x9e42[75]})}})[_0x9e42[65]](function(_0x7be2x22){console[_0x9e42[64]](_0x7be2x22)})}})}}function handleMessage(_0x7be2xf){var _0x7be2x14={agents:[]};var _0x7be2x13={messageid:_0x7be2xf[_0x9e42[23]],from:_0x7be2xf[_0x9e42[72]]||null,joinAt:moment()[_0x9e42[27]](_0x9e42[53])};return _0x7be2xf[_0x9e42[81]]({include:[{model:User,attributes:[_0x9e42[23],_0x9e42[29],_0x9e42[43],_0x9e42[44]]}]})[_0x9e42[66]](handleEntityNotFound(_0x9e42[80]))[_0x9e42[66]](handleSmsRoom(_0x7be2x13,_0x7be2x14))[_0x9e42[66]](handleEntityNotFound(_0x9e42[79]))[_0x9e42[66]](handleSmsAccount(_0x7be2x13,_0x7be2x14))[_0x9e42[66]](handleApps(_0x7be2x13,_0x7be2x14))[_0x9e42[65]](function(_0x7be2x22){console[_0x9e42[64]](_0x9e42[78],_0x7be2x22)})} \ No newline at end of file +var _0xe4fa=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x6F\x6D\x65\x6E\x74","\x75\x74\x69\x6C","\x61\x73\x79\x6E\x63","\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C","\x52\x65\x70\x6F\x72\x74\x53\x6D\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x52\x65\x70\x6F\x72\x74\x53\x6D\x73\x52\x6F\x6F\x6D","\x52\x65\x70\x6F\x72\x74\x53\x6D\x73\x53\x65\x73\x73\x69\x6F\x6E","\x53\x6D\x73\x4D\x65\x73\x73\x61\x67\x65","\x53\x6D\x73\x52\x6F\x6F\x6D","\x53\x6D\x73\x51\x75\x65\x75\x65","\x49\x6E\x74\x65\x72\x76\x61\x6C","\x55\x73\x65\x72","\x2E\x2F\x73\x65\x73\x73\x69\x6F\x6E","\x65\x78\x70\x6F\x72\x74\x73","\x53\x6D\x73\x20\x52\x6F\x75\x74\x69\x6E\x67\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E","\x6C\x6F\x67","\x73\x74\x61\x74\x75\x73","\x52\x45\x43\x45\x49\x56\x45\x44","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x72\x6F\x6F\x6D\x69\x64","\x69\x64","\x75\x6E\x69\x71\x75\x65\x69\x64","\x25\x73\x2E\x25\x73","\x75\x6E\x69\x78","\x66\x6F\x72\x6D\x61\x74","\x61\x67\x65\x6E\x74\x73","\x6E\x61\x6D\x65","\x6D\x61\x70","\x67\x65\x74\x53\x6D\x73\x41\x63\x63\x6F\x75\x6E\x74","\x61\x63\x63\x6F\x75\x6E\x74\x69\x64","\x61\x63\x63\x6F\x75\x6E\x74\x6E\x61\x6D\x65","\x61\x63\x63\x6F\x75\x6E\x74\x6E\x75\x6D\x62\x65\x72","\x70\x68\x6F\x6E\x65","\x66\x69\x64\x65\x6C\x69\x74\x79","\x61\x70\x70\x74\x69\x6D\x65\x6F\x75\x74","\x71\x75\x65\x75\x65\x74\x69\x6D\x65\x6F\x75\x74","\x74\x69\x6D\x65\x6F\x75\x74","\x73\x74\x72\x61\x74\x65\x67\x79","\x62\x65\x65\x70\x61\x6C\x6C","\x70\x72\x69\x6F\x72\x69\x74\x79\x20\x41\x53\x43","\x6F\x6E\x6C\x69\x6E\x65","\x73\x6D\x73\x50\x61\x75\x73\x65","\x67\x65\x74\x53\x6D\x73\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x68\x61\x6E\x64\x6C\x65\x20\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x63\x6C\x6F\x6E\x65\x44\x65\x65\x70","\x6C\x65\x6E\x67\x74\x68","\x70\x75\x73\x68","\x61\x70\x70","\x6A\x6F\x69\x6E\x41\x74","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\x71\x75\x65\x75\x65\x69\x64","\x71\x75\x65\x75\x65\x6E\x61\x6D\x65","\x55\x73\x65\x72\x73","\x55\x73\x65\x72\x48\x61\x73\x53\x6D\x73\x51\x75\x65\x75\x65\x2E\x70\x65\x6E\x61\x6C\x74\x79","\x6F\x72\x64\x65\x72\x42\x79","\x70\x65\x6E\x61\x6C\x74\x79","\x55\x73\x65\x72\x48\x61\x73\x53\x6D\x73\x51\x75\x65\x75\x65","\x71\x75\x65\x75\x65","\x61\x67\x65\x6E\x74","\x64\x61\x74\x61\x31","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x74\x69\x6D\x65\x73\x6C\x6F\x74","\x63\x72\x65\x61\x74\x65","\x75\x70\x64\x61\x74\x65","\x64\x61\x74\x61\x32","\x72\x65\x70\x6F\x72\x74\x20\x73\x6D\x73\x20\x72\x6F\x6F\x6D","\x66\x72\x6F\x6D","\x66\x6F\x72\x45\x61\x63\x68","\x45\x6E\x64\x20\x73\x6D\x73\x20\x72\x6F\x75\x74\x69\x6E\x67\x2E\x2E","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x66\x69\x6E\x64\x42\x79\x49\x64","\x77\x61\x74\x65\x72\x66\x61\x6C\x6C","\x65\x72\x72","\x55\x6E\x6B\x6E\x6F\x77\x6E\x20\x53\x6D\x73\x41\x63\x63\x6F\x75\x6E\x74\x2E\x2E","\x55\x6E\x6B\x6E\x6F\x77\x6E\x20\x53\x6D\x73\x52\x6F\x6F\x6D\x2E\x2E","\x67\x65\x74\x53\x6D\x73\x52\x6F\x6F\x6D"];_0xe4fa[0];var _=require(_0xe4fa[1]);var moment=require(_0xe4fa[2]);var util=require(_0xe4fa[3]);var async=require(_0xe4fa[4]);var Util=require(_0xe4fa[5]);var ReportSms=require(_0xe4fa[7])[_0xe4fa[6]];var ReportSmsRoom=require(_0xe4fa[7])[_0xe4fa[8]];var ReportSmsSession=require(_0xe4fa[7])[_0xe4fa[9]];var SmsMessage=require(_0xe4fa[7])[_0xe4fa[10]];var SmsRoom=require(_0xe4fa[7])[_0xe4fa[11]];var SmsQueue=require(_0xe4fa[7])[_0xe4fa[12]];var Interval=require(_0xe4fa[7])[_0xe4fa[13]];var User=require(_0xe4fa[7])[_0xe4fa[14]];var Session=require(_0xe4fa[15]);module[_0xe4fa[16]]=function(){console[_0xe4fa[18]](_0xe4fa[17]);SmsMessage[_0xe4fa[21]](function(_0xb542xf){if(_0xb542xf[_0xe4fa[19]]===_0xe4fa[20]){handleMessage(_0xb542xf)}})};function handleEntityNotFound(_0xb542xf){return function(_0xb542x11){if(!_0xb542x11){throw {message:_0xb542xf}};return _0xb542x11}}function handleSmsRoom(_0xb542x13,_0xb542x14){return function(_0xb542x15){console[_0xe4fa[18]](_0xb542x15);_0xb542x13[_0xe4fa[22]]=_0xb542x15[_0xe4fa[23]];_0xb542x13[_0xe4fa[24]]=util[_0xe4fa[27]](_0xe4fa[25],moment()[_0xe4fa[26]](),_0xb542x15[_0xe4fa[23]]);_0xb542x14[_0xe4fa[28]]=_[_0xe4fa[30]](_0xb542x15.Users,function(_0xb542x16){return {id:_0xb542x16[_0xe4fa[23]],name:_0xb542x16[_0xe4fa[29]],penalty:0}});return _0xb542x15[_0xe4fa[31]]()}}function handleSmsAccount(_0xb542x13,_0xb542x14){return function(_0xb542x18){_0xb542x13[_0xe4fa[32]]=_0xb542x18[_0xe4fa[23]];_0xb542x13[_0xe4fa[33]]=_0xb542x18[_0xe4fa[29]];_0xb542x13[_0xe4fa[34]]=_0xb542x18[_0xe4fa[35]];_0xb542x14[_0xe4fa[36]]=_0xb542x18[_0xe4fa[36]];if(_0xb542x18[_0xe4fa[36]]){_0xb542x14[_0xe4fa[37]]=_0xb542x14[_0xe4fa[38]]=_0xb542x18[_0xe4fa[39]];_0xb542x14[_0xe4fa[36]]=_0xb542x18[_0xe4fa[39]];_0xb542x14[_0xe4fa[40]]=_0xe4fa[41]};return _0xb542x18[_0xe4fa[45]]({order:_0xe4fa[42],include:[{model:SmsQueue,attributes:[_0xe4fa[23],_0xe4fa[29],_0xe4fa[39],_0xe4fa[40]],include:[{model:User,attributes:[_0xe4fa[23],_0xe4fa[29],_0xe4fa[43],_0xe4fa[44]]}]},{model:User,attributes:[_0xe4fa[23],_0xe4fa[29],_0xe4fa[43],_0xe4fa[44]]},{model:Interval,include:[{all:true}]}]})}}function handleApps(_0xb542x13,_0xb542x14){return function(_0xb542x1a){var _0xb542x1b=[];console[_0xe4fa[18]](_0xe4fa[46]);if(_0xb542x14[_0xe4fa[36]]){_0xb542x13[_0xe4fa[38]]=_0xb542x14[_0xe4fa[36]];_0xb542x13[_0xe4fa[37]]=_0xb542x14[_0xe4fa[36]];_0xb542x13[_0xe4fa[28]]=_0xb542x14[_0xe4fa[28]];_0xb542x13[_0xe4fa[47]]=_0xe4fa[36];_0xb542x13[_0xe4fa[40]]=_0xe4fa[41];var _0xb542x1c=_[_0xe4fa[48]](_0xb542x13);if(_0xb542x1c[_0xe4fa[28]][_0xe4fa[49]]){_0xb542x1b[_0xe4fa[50]](function(_0xb542x1d){ new Session(_0xb542x1c,_0xb542x1d)})}};_0xb542x1a[_0xe4fa[73]](function(_0xb542x1e,_0xb542x1f){var _0xb542x1c=_[_0xe4fa[48]](_0xb542x13);_0xb542x1c[_0xe4fa[37]]=_0xb542x1e[_0xe4fa[39]];_0xb542x1c[_0xe4fa[47]]=_0xb542x1e[_0xe4fa[51]];_0xb542x1c[_0xe4fa[52]]=moment()[_0xe4fa[27]](_0xe4fa[53]);switch(_0xb542x1e[_0xe4fa[51]]){case _0xe4fa[61]:_0xb542x1c[_0xe4fa[54]]=_0xb542x1e[_0xe4fa[12]][_0xe4fa[23]];_0xb542x1c[_0xe4fa[55]]=_0xb542x1e[_0xe4fa[12]][_0xe4fa[29]];_0xb542x1c[_0xe4fa[40]]=_0xb542x1e[_0xe4fa[12]][_0xe4fa[40]];_0xb542x1c[_0xe4fa[38]]=_0xb542x1e[_0xe4fa[12]][_0xe4fa[39]];_0xb542x1e[_0xe4fa[12]][_0xe4fa[56]]=_[_0xe4fa[58]](_0xb542x1e[_0xe4fa[12]].Users,_0xe4fa[57]);_0xb542x1c[_0xe4fa[28]]=_[_0xe4fa[30]](_0xb542x1e[_0xe4fa[12]].Users,function(_0xb542x20){return {id:_0xb542x20[_0xe4fa[23]],name:_0xb542x20[_0xe4fa[29]],penalty:_0xb542x20[_0xe4fa[60]][_0xe4fa[59]]}});break;case _0xe4fa[62]:_0xb542x1c[_0xe4fa[38]]=_0xb542x1e[_0xe4fa[39]];_0xb542x1c[_0xe4fa[40]]=_0xe4fa[41];_0xb542x1c[_0xe4fa[28]]=[{id:_0xb542x1e[_0xe4fa[14]][_0xe4fa[23]],name:_0xb542x1e[_0xe4fa[14]][_0xe4fa[29]],penalty:0}];break;default:};if(_0xb542x1b[_0xe4fa[49]]){_0xb542x1b[_0xe4fa[50]](function(_0xb542x21,_0xb542x1d){if(_0xb542x21){_0xb542x1d(null,_0xb542x21)}else {console[_0xe4fa[18]](_0xe4fa[63],_0xb542x1c);return ReportSmsSession[_0xe4fa[69]]({leaveAt:moment()[_0xe4fa[27]](_0xe4fa[53]),unmanaged:true},{where:{leaveAt:null,uniqueid:_0xb542x1c[_0xe4fa[24]]},individualHooks:true})[_0xe4fa[66]](function(){return ReportSmsSession[_0xe4fa[68]]({uniqueid:_0xb542x1c[_0xe4fa[24]],accountid:_0xb542x1c[_0xe4fa[32]],accountname:_0xb542x1c[_0xe4fa[33]],accountnumber:_0xb542x1c[_0xe4fa[34]],application:_0xb542x1c[_0xe4fa[47]],memberid:(_0xb542x1c[_0xe4fa[47]]===_0xe4fa[62]&&_0xb542x1c[_0xe4fa[28]][0])?_0xb542x1c[_0xe4fa[28]][0][_0xe4fa[23]]:null,membername:(_0xb542x1c[_0xe4fa[47]]===_0xe4fa[62]&&_0xb542x1c[_0xe4fa[28]][0])?_0xb542x1c[_0xe4fa[28]][0][_0xe4fa[29]]:null,queue:_0xb542x1c[_0xe4fa[54]],queuename:_0xb542x1c[_0xe4fa[55]],roomid:_0xb542x1c[_0xe4fa[22]],fidelity:_0xb542x1c[_0xe4fa[47]]===_0xe4fa[36]?_0xb542x1c[_0xe4fa[67]]:null,joinAt:moment()[_0xe4fa[27]](_0xe4fa[53])})})[_0xe4fa[66]](function(){ new Session(_0xb542x1c,_0xb542x1d)})[_0xe4fa[65]](function(_0xb542x22){console[_0xe4fa[64]](_0xb542x22)})}})}else {_0xb542x1b[_0xe4fa[50]](function(_0xb542x1d){console[_0xe4fa[18]](_0xe4fa[70],_0xb542x1c);return ReportSmsRoom[_0xe4fa[68]]({uniqueid:_0xb542x1c[_0xe4fa[24]],accountid:_0xb542x1c[_0xe4fa[32]],accountname:_0xb542x1c[_0xe4fa[33]],accountnumber:_0xb542x1c[_0xe4fa[34]],from:_0xb542x1c[_0xe4fa[72]],roomid:_0xb542x1c[_0xe4fa[22]],joinAt:moment()[_0xe4fa[27]](_0xe4fa[53])})[_0xe4fa[66]](function(_0xb542x1c){console[_0xe4fa[18]](_0xe4fa[71],_0xb542x1c);return ReportSmsSession[_0xe4fa[68]]({uniqueid:_0xb542x1c[_0xe4fa[24]],accountid:_0xb542x1c[_0xe4fa[32]],accountname:_0xb542x1c[_0xe4fa[33]],accountnumber:_0xb542x1c[_0xe4fa[34]],application:_0xb542x1c[_0xe4fa[47]],memberid:(_0xb542x1c[_0xe4fa[47]]===_0xe4fa[62]&&_0xb542x1c[_0xe4fa[28]][0])?_0xb542x1c[_0xe4fa[28]][0][_0xe4fa[23]]:null,membername:(_0xb542x1c[_0xe4fa[47]]===_0xe4fa[62]&&_0xb542x1c[_0xe4fa[28]][0])?_0xb542x1c[_0xe4fa[28]][0][_0xe4fa[29]]:null,queue:_0xb542x1c[_0xe4fa[54]],queuename:_0xb542x1c[_0xe4fa[55]],roomid:_0xb542x1c[_0xe4fa[22]],fidelity:_0xb542x1c[_0xe4fa[47]]===_0xe4fa[36]?_0xb542x1c[_0xe4fa[67]]:null,joinAt:moment()[_0xe4fa[27]](_0xe4fa[53])})})[_0xe4fa[66]](function(){ new Session(_0xb542x1c,_0xb542x1d)})[_0xe4fa[65]](function(_0xb542x22){console[_0xe4fa[64]](_0xb542x22)})})}});async[_0xe4fa[77]](_0xb542x1b,function(_0xb542x22,_0xb542x23){console[_0xe4fa[18]](_0xe4fa[74]);if(_0xb542x22){console[_0xe4fa[64]](_0xb542x22)};if(!_0xb542x23){return ReportSmsRoom[_0xe4fa[69]]({leaveAt:moment()[_0xe4fa[27]](_0xe4fa[53]),unmanaged:true},{where:{leaveAt:null,uniqueid:_0xb542x13[_0xe4fa[24]]},individualHooks:true})[_0xe4fa[66]](function(){return ReportSmsSession[_0xe4fa[69]]({leaveAt:moment()[_0xe4fa[27]](_0xe4fa[53]),unmanaged:true},{where:{leaveAt:null,uniqueid:_0xb542x13[_0xe4fa[24]]},individualHooks:true})})[_0xe4fa[66]](function(){return SmsRoom[_0xe4fa[76]](_0xb542x13[_0xe4fa[22]])})[_0xe4fa[66]](function(_0xb542x24){if(_0xb542x24){return _0xb542x24[_0xe4fa[69]]({status:_0xe4fa[75]})}})[_0xe4fa[65]](function(_0xb542x22){console[_0xe4fa[64]](_0xb542x22)})}})}}function handleMessage(_0xb542xf){var _0xb542x14={agents:[]};var _0xb542x13={messageid:_0xb542xf[_0xe4fa[23]],from:_0xb542xf[_0xe4fa[72]]||null,joinAt:moment()[_0xe4fa[27]](_0xe4fa[53])};return _0xb542xf[_0xe4fa[81]]({include:[{model:User,attributes:[_0xe4fa[23],_0xe4fa[29],_0xe4fa[43],_0xe4fa[44]]}]})[_0xe4fa[66]](handleEntityNotFound(_0xe4fa[80]))[_0xe4fa[66]](handleSmsRoom(_0xb542x13,_0xb542x14))[_0xe4fa[66]](handleEntityNotFound(_0xe4fa[79]))[_0xe4fa[66]](handleSmsAccount(_0xb542x13,_0xb542x14))[_0xe4fa[66]](handleApps(_0xb542x13,_0xb542x14))[_0xe4fa[65]](function(_0xb542x22){console[_0xe4fa[64]](_0xe4fa[78],_0xb542x22)})} \ No newline at end of file diff --git a/server/config/routing/sms/session.js b/server/config/routing/sms/session.js index c8dac89..d27f99f 100644 --- a/server/config/routing/sms/session.js +++ b/server/config/routing/sms/session.js @@ -1 +1 @@ -var _0x8842=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x6F\x6D\x65\x6E\x74","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x53\x6D\x73\x52\x6F\x6F\x6D","\x53\x6D\x73\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x53\x6D\x73","\x52\x65\x70\x6F\x72\x74\x53\x6D\x73\x52\x6F\x6F\x6D","\x52\x65\x70\x6F\x72\x74\x53\x6D\x73\x53\x65\x73\x73\x69\x6F\x6E","\x4E\x65\x77\x20\x53\x6D\x73\x20\x73\x65\x73\x73\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x66\x69\x72\x73\x74","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x61\x67\x65\x6E\x74\x73","\x69\x64","\x66\x69\x6E\x64","\x70\x65\x6E\x61\x6C\x74\x79","\x66\x6F\x72\x45\x61\x63\x68","\x6F\x72\x64\x65\x72\x42\x79","\x73\x6D\x73\x43\x61\x70\x61\x63\x69\x74\x79","\x6C\x65\x6E\x67\x74\x68","\x72\x6F\x6F\x6D\x69\x64","\x73\x74\x61\x74\x75\x73","\x43\x4C\x4F\x53\x45\x44","\x66\x69\x6C\x74\x65\x72","\x74\x69\x6D\x65\x73\x6C\x6F\x74","\x61\x70\x70\x74\x69\x6D\x65\x6F\x75\x74","\x71\x75\x65\x75\x65\x74\x69\x6D\x65\x6F\x75\x74","\x6E\x61\x6D\x65","\x64\x69\x66\x66\x65\x72\x65\x6E\x63\x65\x42\x79","\x73\x68\x69\x66\x74","\x61\x76\x61\x69\x6C\x61\x62\x6C\x65","\x70\x75\x73\x68","\x72\x72\x6D\x65\x6D\x6F\x72\x79","\x62\x65\x65\x70\x61\x6C\x6C","\x73\x74\x72\x61\x74\x65\x67\x79","\x74\x68\x65\x6E","\x6D\x61\x70","\x66\x69\x6E\x64\x41\x6C\x6C","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x64","\x63\x68\x61\x6E\x67\x65\x64","\x6D\x65\x6D\x62\x65\x72\x69\x64","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\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","\x75\x6E\x69\x71\x75\x65\x69\x64","\x75\x70\x64\x61\x74\x65","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x71\x75\x65\x75\x65\x69\x64","\x71\x75\x65\x75\x65\x6E\x61\x6D\x65","\x61\x64\x64\x55\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x66\x72\x6F\x6D","\x61\x63\x63\x6F\x75\x6E\x74\x69\x64","\x61\x63\x63\x6F\x75\x6E\x74\x6E\x61\x6D\x65","\x61\x63\x63\x6F\x75\x6E\x74\x6E\x75\x6D\x62\x65\x72","\x71\x75\x65\x75\x65","\x6D\x65\x73\x73\x61\x67\x65\x69\x64","\x73\x61\x76\x65\x72\x65\x70\x6F\x72\x74","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x8842[0];var _=require(_0x8842[1]);var moment=require(_0x8842[2]);var Agent=require(_0x8842[4])[_0x8842[3]];var SmsRoom=require(_0x8842[4])[_0x8842[5]];var SmsApplication=require(_0x8842[4])[_0x8842[6]];var ReportSms=require(_0x8842[4])[_0x8842[7]];var ReportSmsRoom=require(_0x8842[4])[_0x8842[8]];var ReportSmsSession=require(_0x8842[4])[_0x8842[9]];function Session(_0xcab7xa,_0xcab7xb){console[_0x8842[11]](_0x8842[10]);var _0xcab7xc=0;var _0xcab7xd,_0xcab7xe;Agent[_0x8842[40]]({where:{id:{$in:_[_0x8842[39]](_0xcab7xa[_0x8842[15]],_0x8842[16])},online:true,smsPause:false},include:[{model:SmsRoom,attributes:[_0x8842[16],_0x8842[24]]}],attributes:[_0x8842[16],_0x8842[30],_0x8842[21]]})[_0x8842[38]](function(_0xcab7x10){_[_0x8842[19]](_0xcab7x10,function(_0xcab7x11){var _0xcab7x12=_[_0x8842[17]](_0xcab7xa[_0x8842[15]],{"\x69\x64":_0xcab7x11[_0x8842[16]]});_0xcab7x11[_0x8842[18]]=_0xcab7x12[_0x8842[18]]});_0xcab7x10=_[_0x8842[20]](_0xcab7x10,_0x8842[18]);var _0xcab7x13=_[_0x8842[26]](_0xcab7x10,function(_0xcab7x11){if(_0xcab7x11[_0x8842[21]]===0){return true}else {return _0xcab7x11[_0x8842[21]]>_[_0x8842[26]](_0xcab7x11.SmsRooms,function(_0xcab7x14){return _0xcab7x14[_0x8842[16]]!==_0xcab7xa[_0x8842[23]]&&_0xcab7x14[_0x8842[24]]!==_0x8842[25]})[_0x8842[22]]}});var _0xcab7x15=[];var _0xcab7x16;var _0xcab7x11;_0xcab7xa[_0x8842[27]]=((_0xcab7xa[_0x8842[28]]-_0xcab7xc)>_0xcab7xa[_0x8842[29]])?_0xcab7xa[_0x8842[29]]:(_0xcab7xa[_0x8842[28]]-_0xcab7xc);switch(_0xcab7xa[_0x8842[37]]){case _0x8842[35]:_0xcab7x16=_[_0x8842[31]](_0xcab7x13,_0xcab7x15,_0x8842[30]);_0xcab7x11=_0xcab7x16[_0x8842[32]]();if(_0xcab7x11){_0xcab7xa[_0x8842[33]]=[{id:_0xcab7x11[_0x8842[16]],name:_0xcab7x11[_0x8842[30]]}];_0xcab7x15[_0x8842[34]]({id:_0xcab7x11[_0x8842[16]],name:_0xcab7x11[_0x8842[30]]});saveReport(_0xcab7xa)}else {_0xcab7x15=[];_0xcab7x11=_0xcab7x13[_0x8842[32]]();if(_0xcab7x11){_0xcab7x15[_0x8842[34]]({id:_0xcab7x11[_0x8842[16]],name:_0xcab7x11[_0x8842[30]]});saveReport(_0xcab7xa)}};break;case _0x8842[36]:_0xcab7xa[_0x8842[33]]=_0xcab7x13;saveReport(_0xcab7xa);break;default:};_0xcab7xe=setTimeout(function(){clearInterval(_0xcab7xd);return _0xcab7xb(null,false)},_0xcab7xa[_0x8842[28]]*1000);_0xcab7xd=setInterval(function(){_0xcab7xc+=_0xcab7xa[_0x8842[29]];return Agent[_0x8842[40]]({where:{id:{$in:_[_0x8842[39]](_0xcab7xa[_0x8842[15]],_0x8842[16])},online:true,smsPause:false},include:[{model:SmsRoom,attributes:[_0x8842[16],_0x8842[24]]}],attributes:[_0x8842[16],_0x8842[30],_0x8842[21]]})[_0x8842[38]](function(_0xcab7x10){_[_0x8842[19]](_0xcab7x10,function(_0xcab7x11){var _0xcab7x12=_[_0x8842[17]](_0xcab7xa[_0x8842[15]],{"\x69\x64":_0xcab7x11[_0x8842[16]]});_0xcab7x11[_0x8842[18]]=_0xcab7x12[_0x8842[18]]});_0xcab7x10=_[_0x8842[20]](_0xcab7x10,_0x8842[18]);_0xcab7x13=_[_0x8842[26]](_0xcab7x10,function(_0xcab7x11){if(_0xcab7x11[_0x8842[21]]===0){return true}else {return _0xcab7x11[_0x8842[21]]>_[_0x8842[26]](_0xcab7x11.SmsRooms,function(_0xcab7x14){return _0xcab7x14[_0x8842[16]]!==_0xcab7xa[_0x8842[23]]&&_0xcab7x14[_0x8842[24]]!==_0x8842[25]})[_0x8842[22]]}});_0xcab7xa[_0x8842[27]]=((_0xcab7xa[_0x8842[28]]-_0xcab7xc)>_0xcab7xa[_0x8842[29]])?_0xcab7xa[_0x8842[29]]:(_0xcab7xa[_0x8842[28]]-_0xcab7xc);switch(_0xcab7xa[_0x8842[37]]){case _0x8842[35]:_0xcab7x16=_[_0x8842[31]](_0xcab7x13,_0xcab7x15,_0x8842[30]);_0xcab7x11=_0xcab7x16[_0x8842[32]]();if(_0xcab7x11){_0xcab7xa[_0x8842[33]]=[{id:_0xcab7x11[_0x8842[16]],name:_0xcab7x11[_0x8842[30]]}];_0xcab7x15[_0x8842[34]]({id:_0xcab7x11[_0x8842[16]],name:_0xcab7x11[_0x8842[30]]});saveReport(_0xcab7xa)}else {_0xcab7x15=[];_0xcab7x11=_0xcab7x13[_0x8842[32]]();if(_0xcab7x11){_0xcab7xa[_0x8842[33]]=[{id:_0xcab7x11[_0x8842[16]],name:_0xcab7x11[_0x8842[30]]}];_0xcab7x15[_0x8842[34]]({id:_0xcab7x11[_0x8842[16]],name:_0xcab7x11[_0x8842[30]]});saveReport(_0xcab7xa)}};break;case _0x8842[36]:_0xcab7xa[_0x8842[33]]=_0xcab7x13;saveReport(_0xcab7xa);break;default:}})[_0x8842[14]](function(_0xcab7xf){console[_0x8842[13]](_0xcab7xf)})},_0xcab7xa[_0x8842[29]]*1000)})[_0x8842[14]](function(_0xcab7xf){console[_0x8842[13]](_0x8842[12],_0xcab7xf)});ReportSms[_0x8842[54]](function(_0xcab7x17){if(_0xcab7x17[_0x8842[42]](_0x8842[41])){return SmsRoom[_0x8842[53]](_0xcab7x17[_0x8842[23]])[_0x8842[38]](function(_0xcab7x18){return _0xcab7x18[_0x8842[52]](_0xcab7x17[_0x8842[43]],{individualHooks:true})})[_0x8842[38]](function(){return ReportSmsRoom[_0x8842[48]]({application:_0xcab7x17[_0x8842[49]],memberid:_0xcab7x17[_0x8842[43]],membername:_0xcab7x17[_0x8842[44]],queue:_0xcab7x17[_0x8842[50]],queuename:_0xcab7x17[_0x8842[51]],leaveAt:moment()[_0x8842[46]](_0x8842[45])},{where:{uniqueid:_0xcab7x17[_0x8842[47]],leaveAt:null},individualHooks:true})})[_0x8842[38]](function(){return ReportSmsSession[_0x8842[48]]({memberid:_0xcab7x17[_0x8842[43]],membername:_0xcab7x17[_0x8842[44]],leaveAt:moment()[_0x8842[46]](_0x8842[45])},{where:{uniqueid:_0xcab7x17[_0x8842[47]],leaveAt:null},individualHooks:true})})[_0x8842[38]](function(){clearInterval(_0xcab7xd);clearTimeout(_0xcab7xe);return _0xcab7xb(null,true)})[_0x8842[14]](function(_0xcab7xf){console[_0x8842[13]](_0xcab7xf)})}});return {}}function saveReport(_0xcab7xa){var _0xcab7x1a=[];for(var _0xcab7x1b=0;_0xcab7x1b<_0xcab7xa[_0x8842[33]][_0x8842[22]];_0xcab7x1b++){var _0xcab7x11=_0xcab7xa[_0x8842[33]][_0xcab7x1b];_0xcab7x1a[_0x8842[34]]({uniqueid:_0xcab7xa[_0x8842[47]],timeslot:_0xcab7xa[_0x8842[27]],from:_0xcab7xa[_0x8842[55]],accountid:_0xcab7xa[_0x8842[56]],accountname:_0xcab7xa[_0x8842[57]],accountnumber:_0xcab7xa[_0x8842[58]],application:_0xcab7xa[_0x8842[49]],membername:_0xcab7x11[_0x8842[30]],memberid:_0xcab7x11[_0x8842[16]],queue:_0xcab7xa[_0x8842[59]]||null,queuename:_0xcab7xa[_0x8842[51]]||null,roomid:_0xcab7xa[_0x8842[23]]||null,messageid:_0xcab7xa[_0x8842[60]]||null,calledAt:moment()[_0x8842[46]](_0x8842[45])})};if(_0xcab7x1a[_0x8842[22]]){return ReportSms[_0x8842[62]](_0xcab7x1a,{individualHooks:true})[_0x8842[14]](function(_0xcab7xf){console[_0x8842[13]](_0x8842[61],_0xcab7xf)})}}module[_0x8842[63]]=Session \ No newline at end of file +var _0xbae6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x6F\x6D\x65\x6E\x74","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x53\x6D\x73\x52\x6F\x6F\x6D","\x53\x6D\x73\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x53\x6D\x73","\x52\x65\x70\x6F\x72\x74\x53\x6D\x73\x52\x6F\x6F\x6D","\x52\x65\x70\x6F\x72\x74\x53\x6D\x73\x53\x65\x73\x73\x69\x6F\x6E","\x4E\x65\x77\x20\x53\x6D\x73\x20\x73\x65\x73\x73\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x66\x69\x72\x73\x74","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x61\x67\x65\x6E\x74\x73","\x69\x64","\x66\x69\x6E\x64","\x70\x65\x6E\x61\x6C\x74\x79","\x66\x6F\x72\x45\x61\x63\x68","\x6F\x72\x64\x65\x72\x42\x79","\x73\x6D\x73\x43\x61\x70\x61\x63\x69\x74\x79","\x6C\x65\x6E\x67\x74\x68","\x72\x6F\x6F\x6D\x69\x64","\x73\x74\x61\x74\x75\x73","\x43\x4C\x4F\x53\x45\x44","\x66\x69\x6C\x74\x65\x72","\x74\x69\x6D\x65\x73\x6C\x6F\x74","\x61\x70\x70\x74\x69\x6D\x65\x6F\x75\x74","\x71\x75\x65\x75\x65\x74\x69\x6D\x65\x6F\x75\x74","\x6E\x61\x6D\x65","\x64\x69\x66\x66\x65\x72\x65\x6E\x63\x65\x42\x79","\x73\x68\x69\x66\x74","\x61\x76\x61\x69\x6C\x61\x62\x6C\x65","\x70\x75\x73\x68","\x72\x72\x6D\x65\x6D\x6F\x72\x79","\x62\x65\x65\x70\x61\x6C\x6C","\x73\x74\x72\x61\x74\x65\x67\x79","\x74\x68\x65\x6E","\x6D\x61\x70","\x66\x69\x6E\x64\x41\x6C\x6C","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x64","\x63\x68\x61\x6E\x67\x65\x64","\x6D\x65\x6D\x62\x65\x72\x69\x64","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\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","\x75\x6E\x69\x71\x75\x65\x69\x64","\x75\x70\x64\x61\x74\x65","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x71\x75\x65\x75\x65\x69\x64","\x71\x75\x65\x75\x65\x6E\x61\x6D\x65","\x61\x64\x64\x55\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x66\x72\x6F\x6D","\x61\x63\x63\x6F\x75\x6E\x74\x69\x64","\x61\x63\x63\x6F\x75\x6E\x74\x6E\x61\x6D\x65","\x61\x63\x63\x6F\x75\x6E\x74\x6E\x75\x6D\x62\x65\x72","\x71\x75\x65\x75\x65","\x6D\x65\x73\x73\x61\x67\x65\x69\x64","\x73\x61\x76\x65\x72\x65\x70\x6F\x72\x74","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xbae6[0];var _=require(_0xbae6[1]);var moment=require(_0xbae6[2]);var Agent=require(_0xbae6[4])[_0xbae6[3]];var SmsRoom=require(_0xbae6[4])[_0xbae6[5]];var SmsApplication=require(_0xbae6[4])[_0xbae6[6]];var ReportSms=require(_0xbae6[4])[_0xbae6[7]];var ReportSmsRoom=require(_0xbae6[4])[_0xbae6[8]];var ReportSmsSession=require(_0xbae6[4])[_0xbae6[9]];function Session(_0x9ebbxa,_0x9ebbxb){console[_0xbae6[11]](_0xbae6[10]);var _0x9ebbxc=0;var _0x9ebbxd,_0x9ebbxe;Agent[_0xbae6[40]]({where:{id:{$in:_[_0xbae6[39]](_0x9ebbxa[_0xbae6[15]],_0xbae6[16])},online:true,smsPause:false},include:[{model:SmsRoom,attributes:[_0xbae6[16],_0xbae6[24]]}],attributes:[_0xbae6[16],_0xbae6[30],_0xbae6[21]]})[_0xbae6[38]](function(_0x9ebbx10){_[_0xbae6[19]](_0x9ebbx10,function(_0x9ebbx11){var _0x9ebbx12=_[_0xbae6[17]](_0x9ebbxa[_0xbae6[15]],{"\x69\x64":_0x9ebbx11[_0xbae6[16]]});_0x9ebbx11[_0xbae6[18]]=_0x9ebbx12[_0xbae6[18]]});_0x9ebbx10=_[_0xbae6[20]](_0x9ebbx10,_0xbae6[18]);var _0x9ebbx13=_[_0xbae6[26]](_0x9ebbx10,function(_0x9ebbx11){if(_0x9ebbx11[_0xbae6[21]]===0){return true}else {return _0x9ebbx11[_0xbae6[21]]>_[_0xbae6[26]](_0x9ebbx11.SmsRooms,function(_0x9ebbx14){return _0x9ebbx14[_0xbae6[16]]!==_0x9ebbxa[_0xbae6[23]]&&_0x9ebbx14[_0xbae6[24]]!==_0xbae6[25]})[_0xbae6[22]]}});var _0x9ebbx15=[];var _0x9ebbx16;var _0x9ebbx11;_0x9ebbxa[_0xbae6[27]]=((_0x9ebbxa[_0xbae6[28]]-_0x9ebbxc)>_0x9ebbxa[_0xbae6[29]])?_0x9ebbxa[_0xbae6[29]]:(_0x9ebbxa[_0xbae6[28]]-_0x9ebbxc);switch(_0x9ebbxa[_0xbae6[37]]){case _0xbae6[35]:_0x9ebbx16=_[_0xbae6[31]](_0x9ebbx13,_0x9ebbx15,_0xbae6[30]);_0x9ebbx11=_0x9ebbx16[_0xbae6[32]]();if(_0x9ebbx11){_0x9ebbxa[_0xbae6[33]]=[{id:_0x9ebbx11[_0xbae6[16]],name:_0x9ebbx11[_0xbae6[30]]}];_0x9ebbx15[_0xbae6[34]]({id:_0x9ebbx11[_0xbae6[16]],name:_0x9ebbx11[_0xbae6[30]]});saveReport(_0x9ebbxa)}else {_0x9ebbx15=[];_0x9ebbx11=_0x9ebbx13[_0xbae6[32]]();if(_0x9ebbx11){_0x9ebbx15[_0xbae6[34]]({id:_0x9ebbx11[_0xbae6[16]],name:_0x9ebbx11[_0xbae6[30]]});saveReport(_0x9ebbxa)}};break;case _0xbae6[36]:_0x9ebbxa[_0xbae6[33]]=_0x9ebbx13;saveReport(_0x9ebbxa);break;default:};_0x9ebbxe=setTimeout(function(){clearInterval(_0x9ebbxd);return _0x9ebbxb(null,false)},_0x9ebbxa[_0xbae6[28]]*1000);_0x9ebbxd=setInterval(function(){_0x9ebbxc+=_0x9ebbxa[_0xbae6[29]];return Agent[_0xbae6[40]]({where:{id:{$in:_[_0xbae6[39]](_0x9ebbxa[_0xbae6[15]],_0xbae6[16])},online:true,smsPause:false},include:[{model:SmsRoom,attributes:[_0xbae6[16],_0xbae6[24]]}],attributes:[_0xbae6[16],_0xbae6[30],_0xbae6[21]]})[_0xbae6[38]](function(_0x9ebbx10){_[_0xbae6[19]](_0x9ebbx10,function(_0x9ebbx11){var _0x9ebbx12=_[_0xbae6[17]](_0x9ebbxa[_0xbae6[15]],{"\x69\x64":_0x9ebbx11[_0xbae6[16]]});_0x9ebbx11[_0xbae6[18]]=_0x9ebbx12[_0xbae6[18]]});_0x9ebbx10=_[_0xbae6[20]](_0x9ebbx10,_0xbae6[18]);_0x9ebbx13=_[_0xbae6[26]](_0x9ebbx10,function(_0x9ebbx11){if(_0x9ebbx11[_0xbae6[21]]===0){return true}else {return _0x9ebbx11[_0xbae6[21]]>_[_0xbae6[26]](_0x9ebbx11.SmsRooms,function(_0x9ebbx14){return _0x9ebbx14[_0xbae6[16]]!==_0x9ebbxa[_0xbae6[23]]&&_0x9ebbx14[_0xbae6[24]]!==_0xbae6[25]})[_0xbae6[22]]}});_0x9ebbxa[_0xbae6[27]]=((_0x9ebbxa[_0xbae6[28]]-_0x9ebbxc)>_0x9ebbxa[_0xbae6[29]])?_0x9ebbxa[_0xbae6[29]]:(_0x9ebbxa[_0xbae6[28]]-_0x9ebbxc);switch(_0x9ebbxa[_0xbae6[37]]){case _0xbae6[35]:_0x9ebbx16=_[_0xbae6[31]](_0x9ebbx13,_0x9ebbx15,_0xbae6[30]);_0x9ebbx11=_0x9ebbx16[_0xbae6[32]]();if(_0x9ebbx11){_0x9ebbxa[_0xbae6[33]]=[{id:_0x9ebbx11[_0xbae6[16]],name:_0x9ebbx11[_0xbae6[30]]}];_0x9ebbx15[_0xbae6[34]]({id:_0x9ebbx11[_0xbae6[16]],name:_0x9ebbx11[_0xbae6[30]]});saveReport(_0x9ebbxa)}else {_0x9ebbx15=[];_0x9ebbx11=_0x9ebbx13[_0xbae6[32]]();if(_0x9ebbx11){_0x9ebbxa[_0xbae6[33]]=[{id:_0x9ebbx11[_0xbae6[16]],name:_0x9ebbx11[_0xbae6[30]]}];_0x9ebbx15[_0xbae6[34]]({id:_0x9ebbx11[_0xbae6[16]],name:_0x9ebbx11[_0xbae6[30]]});saveReport(_0x9ebbxa)}};break;case _0xbae6[36]:_0x9ebbxa[_0xbae6[33]]=_0x9ebbx13;saveReport(_0x9ebbxa);break;default:}})[_0xbae6[14]](function(_0x9ebbxf){console[_0xbae6[13]](_0x9ebbxf)})},_0x9ebbxa[_0xbae6[29]]*1000)})[_0xbae6[14]](function(_0x9ebbxf){console[_0xbae6[13]](_0xbae6[12],_0x9ebbxf)});ReportSms[_0xbae6[54]](function(_0x9ebbx17){if(_0x9ebbx17[_0xbae6[42]](_0xbae6[41])){return SmsRoom[_0xbae6[53]](_0x9ebbx17[_0xbae6[23]])[_0xbae6[38]](function(_0x9ebbx18){return _0x9ebbx18[_0xbae6[52]](_0x9ebbx17[_0xbae6[43]],{individualHooks:true})})[_0xbae6[38]](function(){return ReportSmsRoom[_0xbae6[48]]({application:_0x9ebbx17[_0xbae6[49]],memberid:_0x9ebbx17[_0xbae6[43]],membername:_0x9ebbx17[_0xbae6[44]],queue:_0x9ebbx17[_0xbae6[50]],queuename:_0x9ebbx17[_0xbae6[51]],leaveAt:moment()[_0xbae6[46]](_0xbae6[45])},{where:{uniqueid:_0x9ebbx17[_0xbae6[47]],leaveAt:null},individualHooks:true})})[_0xbae6[38]](function(){return ReportSmsSession[_0xbae6[48]]({memberid:_0x9ebbx17[_0xbae6[43]],membername:_0x9ebbx17[_0xbae6[44]],leaveAt:moment()[_0xbae6[46]](_0xbae6[45])},{where:{uniqueid:_0x9ebbx17[_0xbae6[47]],leaveAt:null},individualHooks:true})})[_0xbae6[38]](function(){clearInterval(_0x9ebbxd);clearTimeout(_0x9ebbxe);return _0x9ebbxb(null,true)})[_0xbae6[14]](function(_0x9ebbxf){console[_0xbae6[13]](_0x9ebbxf)})}});return {}}function saveReport(_0x9ebbxa){var _0x9ebbx1a=[];for(var _0x9ebbx1b=0;_0x9ebbx1b<_0x9ebbxa[_0xbae6[33]][_0xbae6[22]];_0x9ebbx1b++){var _0x9ebbx11=_0x9ebbxa[_0xbae6[33]][_0x9ebbx1b];_0x9ebbx1a[_0xbae6[34]]({uniqueid:_0x9ebbxa[_0xbae6[47]],timeslot:_0x9ebbxa[_0xbae6[27]],from:_0x9ebbxa[_0xbae6[55]],accountid:_0x9ebbxa[_0xbae6[56]],accountname:_0x9ebbxa[_0xbae6[57]],accountnumber:_0x9ebbxa[_0xbae6[58]],application:_0x9ebbxa[_0xbae6[49]],membername:_0x9ebbx11[_0xbae6[30]],memberid:_0x9ebbx11[_0xbae6[16]],queue:_0x9ebbxa[_0xbae6[59]]||null,queuename:_0x9ebbxa[_0xbae6[51]]||null,roomid:_0x9ebbxa[_0xbae6[23]]||null,messageid:_0x9ebbxa[_0xbae6[60]]||null,calledAt:moment()[_0xbae6[46]](_0xbae6[45])})};if(_0x9ebbx1a[_0xbae6[22]]){return ReportSms[_0xbae6[62]](_0x9ebbx1a,{individualHooks:true})[_0xbae6[14]](function(_0x9ebbxf){console[_0xbae6[13]](_0xbae6[61],_0x9ebbxf)})}}module[_0xbae6[63]]=Session \ No newline at end of file diff --git a/server/config/seed.js b/server/config/seed.js index 6cb2d27..7ff5052 100644 --- a/server/config/seed.js +++ b/server/config/seed.js @@ -1 +1 @@ -var _0x6529=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x75\x73\x65\x72\x73","\x6C\x6F\x67","\x74\x68\x65\x6E","\x6C\x6F\x63\x61\x6C","\x61\x67\x65\x6E\x74","\x47\x69\x75\x73\x65\x70\x70\x65\x20\x43\x61\x72\x65\x72\x69","\x67\x69\x75\x73\x65\x70\x70\x65\x2E\x63\x61\x72\x65\x72\x69\x40\x78\x63\x61\x6C\x6C\x79\x2E\x63\x6F\x6D","\x67\x69\x75\x73\x65\x70\x70\x65\x2E\x63\x61\x72\x65\x72\x69","\x37\x35\x78\x63\x61\x6C\x6C\x79\x37\x35","\x64\x79\x6E\x61\x6D\x69\x63","\x46\x52\x49\x45\x4E\x44","\x75\x64\x70","\x61\x6C\x61\x77\x3B\x75\x6C\x61\x77\x3B\x67\x73\x6D","\x79\x65\x73","\x66\x6F\x72\x63\x65\x5F\x72\x70\x6F\x72\x74\x2C\x63\x6F\x6D\x65\x64\x69\x61","\x61\x6C\x6C","\x66\x72\x6F\x6D\x2D\x73\x69\x70","\x44\x61\x6E\x69\x65\x6C\x65\x20\x43\x69\x6E\x74\x69","\x64\x61\x6E\x69\x65\x6C\x65\x2E\x63\x69\x6E\x74\x69\x40\x78\x63\x61\x6C\x6C\x79\x2E\x63\x6F\x6D","\x64\x61\x6E\x69\x65\x6C\x65\x2E\x63\x69\x6E\x74\x69","\x41\x6E\x64\x72\x65\x61\x20\x42\x69\x61\x6E\x63\x6F","\x61\x6E\x64\x72\x65\x61\x2E\x62\x69\x61\x6E\x63\x6F\x40\x78\x63\x61\x6C\x6C\x79\x2E\x63\x6F\x6D","\x61\x6E\x64\x72\x65\x61\x2E\x62\x69\x61\x6E\x63\x6F","\x4D\x61\x73\x73\x69\x6D\x69\x6C\x69\x61\x6E\x6F\x20\x42\x75\x6E\x67\x61\x72\x6F","\x6D\x61\x73\x73\x69\x6D\x69\x6C\x69\x61\x6E\x6F\x2E\x62\x75\x6E\x67\x61\x72\x6F\x40\x78\x63\x61\x6C\x6C\x79\x2E\x63\x6F\x6D","\x6D\x61\x73\x73\x69\x6D\x69\x6C\x69\x61\x6E\x6F\x2E\x62\x75\x6E\x67\x61\x72\x6F","\x56\x61\x6C\x65\x72\x69\x6F\x20\x43\x69\x6F\x74\x74\x61","\x76\x61\x6C\x65\x72\x69\x6F\x2E\x63\x69\x6F\x74\x74\x61\x40\x78\x63\x61\x6C\x6C\x79\x2E\x63\x6F\x6D","\x76\x61\x6C\x65\x72\x69\x6F\x2E\x63\x69\x6F\x74\x74\x61","\x61\x64\x6D\x69\x6E","\x43\x6C\x61\x72\x6F\x74\x65\x63\x68","\x63\x6C\x61\x72\x6F\x74\x65\x63\x68\x40\x78\x63\x61\x6C\x6C\x79\x2E\x63\x6F\x6D","\x63\x6C\x61\x72\x6F\x74\x65\x63\x68","\x41\x62\x69\x67\x61\x65\x6C","\x61\x62\x69\x67\x61\x65\x6C\x40\x78\x63\x61\x6C\x6C\x79\x2E\x63\x6F\x6D","\x61\x62\x69\x67\x61\x65\x6C","\x54\x6F\x6E\x79\x20\x52\x75\x73\x73\x65\x6C\x6C","\x74\x6F\x6E\x79\x72\x40\x78\x63\x6C\x61\x72\x6F\x74\x65\x63\x68\x2E\x63\x6F\x2E\x7A\x61","\x74\x6F\x6E\x79\x2E\x72\x75\x73\x73\x65\x6C\x6C","\x43\x6F\x6C\x69\x6E\x20\x46\x61\x69\x72","\x63\x6F\x6C\x69\x6E\x66\x40\x78\x63\x6C\x61\x72\x6F\x74\x65\x63\x68\x2E\x63\x6F\x2E\x7A\x61","\x63\x6F\x6C\x69\x6E\x2E\x66\x61\x69\x72","\x44\x69\x65\x67\x6F\x20\x47\x6F\x73\x6D\x61\x72","\x64\x69\x65\x67\x6F\x2E\x67\x6F\x73\x6D\x61\x72\x40\x78\x63\x61\x6C\x6C\x79\x2E\x63\x6F\x6D","\x64\x69\x65\x67\x6F\x2E\x67\x6F\x73\x6D\x61\x72","\x47\x69\x75\x73\x65\x70\x70\x65\x20\x49\x6E\x6E\x61\x6D\x6F\x72\x61\x74\x6F","\x67\x69\x75\x73\x65\x70\x70\x65\x2E\x69\x6E\x6E\x61\x6D\x6F\x72\x61\x74\x6F\x40\x78\x63\x61\x6C\x6C\x79\x2E\x63\x6F\x6D","\x67\x69\x75\x73\x65\x70\x70\x65\x2E\x69\x6E\x6E\x61\x6D\x6F\x72\x61\x74\x6F","\x75\x70\x64","\x41\x6C\x65\x73\x73\x61\x6E\x64\x72\x61\x20\x42\x65\x73\x73\x6F\x6E\x65","\x61\x6C\x65\x73\x73\x61\x6E\x64\x72\x61\x2E\x62\x65\x73\x73\x6F\x6E\x65\x40\x78\x63\x61\x6C\x6C\x79\x2E\x63\x6F\x6D","\x61\x6C\x65\x73\x73\x61\x6E\x64\x72\x61\x2E\x62\x65\x73\x73\x6F\x6E\x65","\x46\x65\x6C\x69\x63\x65\x20\x42\x72\x69\x73\x63\x65\x73\x65","\x66\x65\x6C\x69\x63\x65\x2E\x62\x72\x69\x73\x63\x65\x73\x65\x40\x78\x63\x61\x6C\x6C\x79\x2E\x63\x6F\x6D","\x66\x65\x6C\x69\x63\x65\x2E\x62\x72\x69\x73\x63\x65\x73\x65","\x78\x43\x61\x6C\x6C\x79","\x69\x6E\x66\x6F\x2E\x78\x63\x61\x6C\x6C\x79\x40\x78\x63\x61\x6C\x6C\x79\x2E\x63\x6F\x6D","\x78\x63\x61\x6C\x6C\x79","\x33\x38\x38\x78\x73\x68\x75\x74\x74\x6C\x65\x33\x38\x38","\x4A\x6F\x68\x6E\x20\x44\x6F\x65","\x6A\x6F\x68\x6E\x2E\x64\x6F\x65\x40\x67\x6D\x61\x69\x6C\x2E\x63\x6F\x6D","\x6A\x6F\x68\x6E\x2E\x64\x6F\x65","\x4A\x61\x6E\x65\x20\x4D\x69\x6C\x6C\x65\x72","\x6A\x61\x6E\x65\x2E\x6D\x69\x6C\x6C\x65\x72\x40\x67\x6D\x61\x69\x6C\x2E\x63\x6F\x6D","\x6A\x61\x6E\x65\x2E\x6D\x69\x6C\x6C\x65\x72","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x55\x73\x65\x72","\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x74\x72\x75\x6E\x6B\x73","\x63\x69\x74\x61\x6C\x69\x61","\x66\x72\x69\x65\x6E\x64","\x70\x6F\x72\x74\x2C\x69\x6E\x76\x69\x74\x65","\x30\x31\x31\x31\x39\x38\x32\x37\x37\x37\x30","\x54\x21\x4E\x50\x6E\x76\x2D\x71\x6A\x43\x4D\x65\x39\x76","\x66\x72\x6F\x6D\x2D\x76\x6F\x69\x70\x2D\x70\x72\x6F\x76\x69\x64\x65\x72","\x69\x74","\x76\x6F\x69\x70\x2E\x65\x75\x74\x65\x6C\x69\x61\x2E\x69\x74","\x72\x66\x63\x32\x38\x33\x33","\x20\x22\x22\x20\x3C\x3E","\x75\x6C\x61\x77\x3B\x61\x6C\x61\x77\x3B\x67\x73\x6D","\x6E\x6F","\x54\x72\x75\x6E\x6B","\x64\x61\x73\x68\x62\x6F\x61\x72\x64","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x44\x41\x53\x48\x42\x4F\x41\x52\x44","\x2F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x2F\x76\x6F\x69\x63\x65","\x79\x6F\x75\x72\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x73","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x59\x4F\x55\x52\x5F\x44\x41\x53\x48\x42\x4F\x41\x52\x44\x53","\x2F\x74\x6F\x6F\x6C\x73\x2F\x79\x6F\x75\x72\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x73\x2F\x73\x68\x6F\x77\x2F\x31","\x73\x74\x61\x66\x66","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x53\x54\x41\x46\x46","\x2F\x73\x74\x61\x66\x66\x2F\x61\x67\x65\x6E\x74\x73\x2F\x6C\x69\x73\x74","\x61\x67\x65\x6E\x74\x73","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x41\x47\x45\x4E\x54\x53","\x63\x6F\x6E\x74\x61\x63\x74\x6D\x61\x6E\x61\x67\x65\x72","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x43\x4F\x4E\x54\x41\x43\x54\x5F\x4D\x41\x4E\x41\x47\x45\x52","\x2F\x63\x6F\x6E\x74\x61\x63\x74\x6D\x61\x6E\x61\x67\x65\x72\x2F\x63\x6F\x6E\x74\x61\x63\x74\x73\x2F\x6C\x69\x73\x74","\x63\x68\x61\x6E\x6E\x65\x6C\x73","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x43\x48\x41\x4E\x4E\x45\x4C\x53","\x2F\x63\x68\x61\x6E\x6E\x65\x6C\x73\x2F\x76\x6F\x69\x63\x65\x2F\x71\x75\x65\x75\x65\x73\x2F\x6C\x69\x73\x74","\x76\x6F\x69\x63\x65","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x56\x4F\x49\x43\x45","\x63\x68\x61\x74","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x43\x48\x41\x54","\x2F\x63\x68\x61\x6E\x6E\x65\x6C\x73\x2F\x63\x68\x61\x74\x2F\x77\x65\x62\x73\x69\x74\x65\x73\x2F\x6C\x69\x73\x74","\x6D\x61\x69\x6C","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x4D\x41\x49\x4C","\x2F\x63\x68\x61\x6E\x6E\x65\x6C\x73\x2F\x6D\x61\x69\x6C\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73\x2F\x6C\x69\x73\x74","\x66\x61\x78","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x46\x41\x58","\x2F\x63\x68\x61\x6E\x6E\x65\x6C\x73\x2F\x66\x61\x78\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73\x2F\x6C\x69\x73\x74","\x73\x6D\x73","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x53\x4D\x53","\x2F\x63\x68\x61\x6E\x6E\x65\x6C\x73\x2F\x73\x6D\x73\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73\x2F\x6C\x69\x73\x74","\x72\x65\x61\x6C\x74\x69\x6D\x65","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x52\x45\x41\x4C\x54\x49\x4D\x45","\x2F\x63\x68\x61\x6E\x6E\x65\x6C\x73\x2F\x72\x65\x61\x6C\x74\x69\x6D\x65\x2F\x76\x69\x65\x77\x2F\x61\x67\x65\x6E\x74\x73","\x74\x6F\x6F\x6C\x73","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x54\x4F\x4F\x4C\x53","\x2F\x74\x6F\x6F\x6C\x73\x2F\x74\x72\x69\x67\x67\x65\x72\x73\x2F\x6C\x69\x73\x74","\x73\x71\x75\x61\x72\x65","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x43\x41\x4C\x4C\x59\x53\x51\x55\x41\x52\x45","\x2F\x73\x71\x75\x61\x72\x65\x2F\x70\x72\x6F\x6A\x65\x63\x74\x73\x2F\x6C\x69\x73\x74","\x6A\x73\x63\x72\x69\x70\x74\x79","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x4A\x53\x43\x52\x49\x50\x54\x59","\x2F\x6A\x73\x63\x72\x69\x70\x74\x79\x2F\x70\x72\x6F\x6A\x65\x63\x74\x73\x2F\x6C\x69\x73\x74","\x6D\x6F\x74\x69\x6F\x6E\x64\x69\x61\x6C\x65\x72","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x4D\x4F\x54\x49\x4F\x4E\x5F\x44\x49\x41\x4C\x45\x52","\x2F\x6D\x6F\x74\x69\x6F\x6E\x64\x69\x61\x6C\x65\x72\x2F\x6C\x69\x73\x74\x73\x2F\x6C\x69\x73\x74","\x61\x6E\x61\x6C\x79\x74\x69\x63\x73","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x41\x4E\x41\x4C\x59\x54\x49\x43\x53","\x2F\x61\x6E\x61\x6C\x79\x74\x69\x63\x73\x2F\x72\x65\x70\x6F\x72\x74\x73\x2F\x6C\x69\x73\x74","\x73\x65\x74\x74\x69\x6E\x67","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x53\x45\x54\x54\x49\x4E\x47\x53","\x2F\x73\x65\x74\x74\x69\x6E\x67\x2F\x75\x70\x64\x61\x74\x65\x73\x2F\x6C\x69\x73\x74","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x49\x4E\x54\x45\x47\x52\x41\x54\x49\x4F\x4E","\x2F\x6D\x61\x72\x6B\x65\x74","\x45\x72\x72\x6F\x72\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x6D\x6F\x64\x75\x6C\x65\x73\x3A","\x63\x61\x74\x63\x68","\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x6D\x6F\x64\x75\x6C\x65\x73","\x69\x64","\x6D\x61\x70","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x75\x70\x64\x61\x74\x65","\x4D\x6F\x64\x75\x6C\x65","\x70\x75\x73\x68","\x63\x72\x65\x61\x74\x65","\x66\x6F\x72\x45\x61\x63\x68","\x66\x69\x6E\x64\x41\x6C\x6C","\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x63\x68\x61\x74\x20\x71\x75\x65\x75\x65\x20\x31","\x61\x64\x64\x55\x73\x65\x72\x73","\x54\x31","\x66\x69\x6E\x64\x4F\x6E\x65","\x54\x65\x61\x6D","\x43\x51\x31","\x43\x51\x31\x20\x44\x65\x73\x63","\x72\x72\x6D\x65\x6D\x6F\x72\x79","\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x6D\x61\x69\x6C\x20\x71\x75\x65\x75\x65\x20\x31","\x74\x65\x61\x6D\x20\x66\x6F\x75\x6E\x64","\x74\x65\x73\x74","\x4D\x51\x31","\x4D\x51\x31\x20\x44\x65\x73\x63","\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x66\x61\x78\x20\x71\x75\x65\x75\x65\x20\x31","\x46\x51\x31","\x46\x51\x31\x20\x44\x65\x73\x63","\x46\x61\x78\x51\x75\x65\x75\x65","\x44\x65\x66\x61\x75\x6C\x74\x20\x54\x65\x61\x6D","\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x6D\x61\x69\x6C\x20\x61\x63\x63\x6F\x75\x6E\x74","\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x6D\x61\x69\x6C\x20\x73\x65\x72\x76\x65\x72\x20\x69\x6E","\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x6D\x61\x69\x6C\x20\x73\x65\x72\x76\x65\x72\x20\x6F\x75\x74","\x73\x6D\x74\x70\x2E\x78\x63\x61\x6C\x6C\x79\x2E\x63\x6F\x6D","\x64\x65\x76\x65\x6C\x6F\x70\x6D\x65\x6E\x74\x40\x78\x63\x61\x6C\x6C\x79\x2E\x63\x6F\x6D","\x70\x68\x6F\x6B\x75\x63\x6C\x6F\x6B\x61","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x4F\x75\x74","\x69\x6D\x61\x70\x2E\x78\x63\x61\x6C\x6C\x79\x2E\x63\x6F\x6D","\x49\x4E\x42\x4F\x58","\x55\x4E\x53\x45\x45\x4E","\x49\x4D\x41\x50","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x49\x6E","\x78\x43\x61\x6C\x6C\x79\x20\x44\x65\x76\x65\x6C\x6F\x70\x6D\x65\x6E\x74","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74","\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x73\x71\x75\x61\x72\x65\x20\x70\x72\x6F\x6A\x65\x63\x74\x73","\x70\x72\x6F\x6A\x65\x63\x74\x31","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E\x20\x70\x72\x6F\x6A\x65\x63\x74","\x53\x71\x75\x61\x72\x65\x50\x72\x6F\x6A\x65\x63\x74","\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x63\x68\x61\x74\x20\x77\x65\x62\x73\x69\x74\x65","\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x63\x68\x61\x74\x20\x77\x65\x62\x73\x69\x74\x65\x20\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x31","\x71\x75\x65\x75\x65","\x43\x68\x61\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x63\x68\x61\x74\x20\x77\x65\x62\x73\x69\x74\x65\x20\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x32","\x78\x43\x61\x6C\x6C\x79\x20\x53\x68\x6F\x70","\x68\x74\x74\x70\x3A\x2F\x2F\x77\x77\x77\x2E\x78\x63\x61\x6C\x6C\x79\x2E\x63\x6F\x6D\x2F\x73\x68\x6F\x70\x2F","\x23\x66\x35\x31\x31\x31\x31","\x68\x74\x74\x70\x3A\x2F\x2F\x6C\x6F\x63\x61\x6C\x68\x6F\x73\x74\x3A\x39\x30\x30\x30","\x73\x71\x75\x61\x72\x65\x64","\x57\x65\x20\x61\x72\x65\x20\x68\x65\x72\x65\x21","\x51\x75\x65\x73\x74\x69\x6F\x6E\x73\x3F\x20\x49\x6E\x73\x65\x72\x74\x20\x79\x6F\x75\x72\x20\x6E\x61\x6D\x65\x20\x61\x6E\x64\x20\x65\x6D\x61\x69\x6C\x20\x61\x64\x64\x72\x65\x73\x73\x20\x74\x6F\x20\x73\x74\x61\x72\x74\x20\x61\x20\x6C\x69\x76\x65\x2D\x63\x68\x61\x74\x20\x77\x69\x74\x68\x20\x6F\x75\x72\x20\x73\x75\x70\x70\x6F\x72\x74\x20\x74\x65\x61\x6D\x2E","\x59\x6F\x75\x72\x20\x6E\x61\x6D\x65","\x59\x6F\x75\x72\x20\x65\x6D\x61\x69\x6C\x20\x61\x64\x64\x72\x65\x73\x73","\x43\x68\x61\x74","\x43\x6F\x6E\x74\x61\x63\x74\x20\x75\x73","\x3C\x73\x74\x72\x6F\x6E\x67\x3E\x57\x65\x27\x72\x65\x20\x6E\x6F\x74\x20\x6F\x6E\x6C\x69\x6E\x65\x2E\x3C\x2F\x73\x74\x72\x6F\x6E\x67\x3E\x3C\x62\x72\x20\x2F\x3E\x49\x74\x20\x64\x6F\x65\x73\x6E\x27\x74\x20\x6D\x65\x61\x6E\x20\x77\x65\x27\x72\x65\x20\x6E\x6F\x74\x20\x74\x68\x65\x72\x65\x20\x74\x6F\x20\x68\x65\x6C\x70\x20\x2D\x20\x6C\x65\x61\x76\x65\x20\x79\x6F\x75\x72\x20\x6D\x65\x73\x73\x61\x67\x65\x20\x62\x65\x6C\x6F\x77\x20\x61\x6E\x64\x20\x77\x65\x27\x6C\x6C\x20\x62\x65\x20\x69\x6E\x20\x74\x6F\x75\x63\x68\x20\x61\x73\x20\x73\x6F\x6F\x6E\x20\x61\x73\x20\x70\x6F\x73\x73\x69\x62\x6C\x65\x2E\x27","\x59\x6F\x75\x72\x20\x6D\x65\x73\x73\x61\x67\x65\x2E\x2E\x2E","\x4C\x65\x61\x76\x65\x20\x6D\x65\x73\x73\x61\x67\x65","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65","\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x76\x61\x72\x69\x61\x62\x6C\x65\x73","\x76\x61\x72\x69\x61\x62\x6C\x65\x31","\x56\x61\x72\x69\x61\x62\x6C\x65","\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x63\x6F\x6E\x74\x65\x78\x74\x20\x76\x61\x72\x69\x61\x62\x6C\x65\x73","\x44\x65\x66\x61\x75\x6C\x74\x20\x63\x6F\x6E\x74\x65\x78\x74\x20\x28\x44\x4F\x20\x4E\x4F\x54\x20\x44\x45\x4C\x45\x54\x45\x29","\x69\x6E\x62\x6F\x75\x6E\x64\x2D\x66\x61\x78","\x6F\x75\x74\x62\x6F\x75\x6E\x64\x2D\x66\x61\x78","\x66\x72\x6F\x6D\x2D\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C","\x56\x6F\x69\x63\x65\x43\x6F\x6E\x74\x65\x78\x74","\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x6D\x6F\x68\x20\x76\x61\x72\x69\x61\x62\x6C\x65\x73","\x64\x65\x66\x61\x75\x6C\x74","\x66\x69\x6C\x65\x73","\x76\x61\x72\x2F\x6C\x69\x62\x2F\x61\x73\x74\x65\x72\x69\x73\x6B\x2F\x6D\x6F\x68","\x61\x6C\x70\x68\x61","\x77\x61\x76","\x56\x6F\x69\x63\x65\x4D\x75\x73\x69\x63\x4F\x6E\x48\x6F\x6C\x64","\x2F\x76\x61\x72\x2F\x6F\x70\x74\x2F\x6D\x6F\x74\x69\x6F\x6E\x2F\x73\x65\x72\x76\x65\x72\x2F\x66\x69\x6C\x65\x73\x2F\x73\x6F\x75\x6E\x64\x73\x2F\x63\x6F\x6E\x76\x65\x72\x74\x65\x64","\x53\x65\x74\x74\x69\x6E\x67\x73","\x4D\x6F\x74\x69\x6F\x6E\x20\x44\x61\x73\x68\x62\x6F\x61\x72\x64","\x63\x6F\x6C\x2D\x6D\x64\x2D\x34","\x63\x6C\x6F\x63\x6B","\x43\x6C\x6F\x63\x6B","\x68\x68\x3A\x6D\x6D\x3A\x73\x73\x20\x61","\x64\x64\x64\x64\x2C\x20\x4D\x4D\x4D\x4D\x20\x44\x6F\x20\x59\x59\x59\x59","\x63\x6F\x6C\x2D\x6D\x64\x2D\x38","\x69\x66\x72\x61\x6D\x65","\x49\x66\x72\x61\x6D\x65","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x64\x65\x6D\x6F\x2E\x78\x63\x61\x6C\x6C\x79\x2E\x63\x6F\x6D\x2F\x73\x68\x6F\x70\x2F","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x44\x61\x73\x68\x62\x6F\x61\x72\x64","\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x73","\x5A\x65\x6E\x64\x65\x73\x6B","\x31\x2E\x30\x2E\x30","\x58\x65\x6E\x69\x61\x4C\x41\x42\x20\x73\x2E\x72\x2E\x6C\x2E","\x61\x73\x73\x65\x74\x73\x2F\x69\x6D\x61\x67\x65\x73\x2F\x6D\x65\x64\x69\x61\x2F\x7A\x65\x6E\x64\x65\x73\x6B\x32\x2E\x70\x6E\x67","\x7A\x65\x6E\x64\x65\x73\x6B","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E\x20\x66\x6F\x72\x20\x5A\x65\x6E\x64\x65\x73\x6B","\x44\x65\x73\x6B\x2E\x63\x6F\x6D","\x61\x73\x73\x65\x74\x73\x2F\x69\x6D\x61\x67\x65\x73\x2F\x6D\x65\x64\x69\x61\x2F\x64\x65\x73\x6B\x32\x2E\x70\x6E\x67","\x64\x65\x73\x6B","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E\x20\x66\x6F\x72\x20\x44\x65\x73\x6B\x2E\x63\x6F\x6D","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65","\x61\x73\x73\x65\x74\x73\x2F\x69\x6D\x61\x67\x65\x73\x2F\x6D\x65\x64\x69\x61\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x32\x2E\x70\x6E\x67","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E\x20\x66\x6F\x72\x20\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65","\x46\x72\x65\x73\x68\x64\x65\x73\x6B","\x61\x73\x73\x65\x74\x73\x2F\x69\x6D\x61\x67\x65\x73\x2F\x6D\x65\x64\x69\x61\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2E\x70\x6E\x67","\x66\x72\x65\x73\x68\x64\x65\x73\x6B","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E\x20\x66\x6F\x72\x20\x46\x72\x65\x73\x68\x64\x65\x73\x6B","\x53\x75\x67\x61\x72\x43\x52\x4D","\x61\x73\x73\x65\x74\x73\x2F\x69\x6D\x61\x67\x65\x73\x2F\x6D\x65\x64\x69\x61\x2F\x73\x75\x67\x61\x72\x63\x72\x6D\x32\x2E\x70\x6E\x67","\x73\x75\x67\x61\x72\x63\x72\x6D","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E\x20\x66\x6F\x72\x20\x53\x75\x67\x61\x72\x43\x52\x4D","\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x51\x75\x65\x75\x65\x20\x2D\x20\x44\x65\x74\x61\x69\x6C\x73","\x6A\x34\x5F\x33","\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x5F\x68\x69\x73\x74\x6F\x72\x79","\x7B\x22\x67\x72\x6F\x75\x70\x22\x3A\x7B\x22\x6F\x70\x65\x72\x61\x74\x6F\x72\x22\x3A\x22\x41\x4E\x44\x22\x2C\x22\x72\x75\x6C\x65\x73\x22\x3A\x5B\x5D\x7D\x7D","\x44\x65\x74\x61\x69\x6C\x73","\x43\x61\x6C\x6C\x73\x20\x64\x65\x74\x61\x69\x6C\x73\x20\x28\x63\x64\x72\x29","\x6A\x32\x30\x5F\x31","\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x5F\x68\x69\x73\x74\x6F\x72\x79","\x4F\x75\x74\x62\x6F\x75\x6E\x64","\x4D\x61\x6E\x75\x61\x6C\x20\x6F\x75\x74\x62\x6F\x75\x6E\x64\x20\x63\x61\x6C\x6C\x73\x20\x64\x65\x74\x61\x69\x6C","\x7B\x22\x67\x72\x6F\x75\x70\x22\x3A\x7B\x22\x6F\x70\x65\x72\x61\x74\x6F\x72\x22\x3A\x22\x41\x4E\x44\x22\x2C\x22\x72\x75\x6C\x65\x73\x22\x3A\x5B\x7B\x22\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x22\x3A\x22\x3D\x22\x2C\x22\x66\x69\x65\x6C\x64\x22\x3A\x22\x74\x79\x70\x65\x22\x2C\x22\x76\x61\x6C\x75\x65\x22\x3A\x22\x6F\x75\x74\x62\x6F\x75\x6E\x64\x22\x7D\x5D\x7D\x7D","\x43\x61\x6C\x6C\x73\x20\x62\x79\x20\x51\x75\x65\x75\x65","\x6A\x34\x5F\x37","\x6A\x34\x5F\x35","\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x5F\x68\x69\x73\x74\x6F\x72\x79","\x7B\x22\x67\x72\x6F\x75\x70\x22\x3A\x7B\x22\x6F\x70\x65\x72\x61\x74\x6F\x72\x22\x3A\x22\x41\x4E\x44\x22\x2C\x22\x72\x75\x6C\x65\x73\x22\x3A\x5B\x7B\x22\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x22\x3A\x22\x3D\x22\x2C\x22\x66\x69\x65\x6C\x64\x22\x3A\x22\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65\x22\x2C\x22\x76\x61\x6C\x75\x65\x22\x3A\x22\x31\x22\x7D\x5D\x7D\x7D","\x43\x61\x6C\x6C\x73\x20\x62\x79\x20\x41\x67\x65\x6E\x74","\x41\x6E\x73\x77\x65\x72\x20\x54\x69\x6D\x65\x20\x62\x79\x20\x51\x75\x65\x75\x65","\x44\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x20\x43\x61\x75\x73\x65","\x6A\x34\x5F\x36","\x7B\x22\x67\x72\x6F\x75\x70\x22\x3A\x7B\x22\x6F\x70\x65\x72\x61\x74\x6F\x72\x22\x3A\x22\x41\x4E\x44\x22\x2C\x22\x72\x75\x6C\x65\x73\x22\x3A\x5B\x7B\x22\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x22\x3A\x22\x3D\x22\x2C\x22\x66\x69\x65\x6C\x64\x22\x3A\x22\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x22\x2C\x22\x76\x61\x6C\x75\x65\x22\x3A\x22\x30\x22\x7D\x5D\x7D\x7D","\x55\x6E\x61\x6E\x73\x77\x65\x72\x65\x64\x20\x62\x79\x20\x51\x75\x65\x75\x65","\x45\x78\x69\x74\x20\x43\x61\x75\x73\x65","\x7B\x22\x67\x72\x6F\x75\x70\x22\x3A\x7B\x22\x6F\x70\x65\x72\x61\x74\x6F\x72\x22\x3A\x22\x41\x4E\x44\x22\x2C\x22\x72\x75\x6C\x65\x73\x22\x3A\x5B\x7B\x22\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x22\x3A\x22\x3D\x22\x2C\x22\x66\x69\x65\x6C\x64\x22\x3A\x22\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x65\x78\x69\x74\x22\x2C\x22\x76\x61\x6C\x75\x65\x22\x3A\x22\x31\x22\x7D\x5D\x7D\x7D","\x41\x62\x61\x6E\x64\x6F\x6E\x20\x54\x69\x6D\x65\x20\x62\x79\x20\x51\x75\x65\x75\x65","\x7B\x22\x67\x72\x6F\x75\x70\x22\x3A\x7B\x22\x6F\x70\x65\x72\x61\x74\x6F\x72\x22\x3A\x22\x41\x4E\x44\x22\x2C\x22\x72\x75\x6C\x65\x73\x22\x3A\x5B\x7B\x22\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x22\x3A\x22\x3D\x22\x2C\x22\x66\x69\x65\x6C\x64\x22\x3A\x22\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x22\x2C\x22\x76\x61\x6C\x75\x65\x22\x3A\x22\x31\x22\x7D\x5D\x7D\x7D","\x43\x61\x6C\x6C\x73\x20\x62\x79\x20\x44\x61\x74\x65","\x43\x61\x6C\x6C\x73\x20\x62\x79\x20\x48\x6F\x75\x72","\x43\x61\x6C\x6C\x73\x20\x62\x79\x20\x44\x61\x79","\x43\x61\x6C\x6C\x73\x20\x62\x79\x20\x54\x79\x70\x65","\x4F\x75\x74\x62\x6F\x75\x6E\x64\x20\x43\x61\x6C\x6C\x73\x20\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x4F\x75\x74\x62\x6F\x75\x6E\x64\x20\x63\x61\x6C\x6C\x73\x20\x67\x72\x6F\x75\x70\x65\x64\x20\x62\x79\x20\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x50\x61\x75\x73\x65\x20\x54\x69\x6D\x65","\x6A\x34\x5F\x34","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x65\x6D\x62\x65\x72\x5F\x68\x69\x73\x74\x6F\x72\x79","\x7B\x22\x67\x72\x6F\x75\x70\x22\x3A\x7B\x22\x6F\x70\x65\x72\x61\x74\x6F\x72\x22\x3A\x22\x41\x4E\x44\x22\x2C\x22\x72\x75\x6C\x65\x73\x22\x3A\x5B\x7B\x22\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x22\x3A\x22\x3D\x22\x2C\x22\x66\x69\x65\x6C\x64\x22\x3A\x22\x74\x79\x70\x65\x22\x2C\x22\x76\x61\x6C\x75\x65\x22\x3A\x22\x50\x41\x55\x53\x45\x22\x7D\x2C\x7B\x22\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x22\x3A\x22\x3D\x22\x2C\x22\x66\x69\x65\x6C\x64\x22\x3A\x22\x63\x68\x61\x6E\x6E\x65\x6C\x22\x2C\x22\x76\x61\x6C\x75\x65\x22\x3A\x22\x76\x6F\x69\x63\x65\x22\x7D\x5D\x7D\x7D","\x4C\x6F\x67\x69\x6E\x20\x54\x69\x6D\x65","\x7B\x22\x67\x72\x6F\x75\x70\x22\x3A\x7B\x22\x6F\x70\x65\x72\x61\x74\x6F\x72\x22\x3A\x22\x41\x4E\x44\x22\x2C\x22\x72\x75\x6C\x65\x73\x22\x3A\x5B\x7B\x22\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x22\x3A\x22\x3D\x22\x2C\x22\x66\x69\x65\x6C\x64\x22\x3A\x22\x74\x79\x70\x65\x22\x2C\x22\x76\x61\x6C\x75\x65\x22\x3A\x22\x4C\x4F\x47\x49\x4E\x22\x7D\x2C\x7B\x22\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x22\x3A\x22\x3D\x22\x2C\x22\x66\x69\x65\x6C\x64\x22\x3A\x22\x63\x68\x61\x6E\x6E\x65\x6C\x22\x2C\x22\x76\x61\x6C\x75\x65\x22\x3A\x22\x76\x6F\x69\x63\x65\x22\x7D\x5D\x7D\x7D","\x57\x65\x62\x73\x69\x74\x65\x20\x53\x75\x6D\x6D\x61\x72\x79","\x6A\x34\x5F\x31","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x73\x65\x73\x73\x69\x6F\x6E\x5F\x68\x69\x73\x74\x6F\x72\x79","\x53\x65\x73\x73\x69\x6F\x6E\x20\x44\x65\x74\x61\x69\x6C","\x43\x68\x61\x74\x20\x62\x79\x20\x41\x67\x65\x6E\x74","\x7B\x22\x67\x72\x6F\x75\x70\x22\x3A\x7B\x22\x6F\x70\x65\x72\x61\x74\x6F\x72\x22\x3A\x22\x41\x4E\x44\x22\x2C\x22\x72\x75\x6C\x65\x73\x22\x3A\x5B\x7B\x22\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x22\x3A\x22\x3D\x22\x2C\x22\x66\x69\x65\x6C\x64\x22\x3A\x22\x63\x6F\x6D\x70\x6C\x65\x74\x65\x22\x2C\x22\x76\x61\x6C\x75\x65\x22\x3A\x22\x31\x22\x7D\x5D\x7D\x7D","\x51\x75\x65\x75\x65\x20\x2D\x20\x54\x61\x6C\x6B\x54\x69\x6D\x65","\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65\x41\x74\x29","\x51\x75\x65\x75\x65\x20\x2D\x20\x41\x62\x61\x6E\x64\x6F\x6E\x20\x54\x69\x6D\x65","\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x41\x62\x61\x6E\x64\x6F\x6E\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29","\x41\x62\x61\x6E\x64\x6F\x6E\x65\x64\x20\x3C\x31\x30\x73","\x43\x4F\x55\x4E\x54\x28\x49\x46\x28\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x41\x62\x61\x6E\x64\x6F\x6E\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29\x20\x3C\x31\x30\x2C\x31\x2C\x4E\x55\x4C\x4C\x29\x29","\x43\x6F\x75\x6E\x74\x20\x6F\x66\x20\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64\x20\x63\x61\x6C\x6C\x73\x20\x77\x69\x74\x68\x69\x6E\x20\x31\x30\x20\x73\x65\x63\x6F\x6E\x64\x73\x20\x28\x53\x68\x6F\x72\x74\x20\x43\x61\x6C\x6C\x73\x29","\x51\x75\x65\x75\x65\x20\x2D\x20\x41\x6E\x73\x77\x65\x72\x54\x69\x6D\x65","\x49\x46\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x3D\x31\x2C\x68\x6F\x6C\x64\x74\x69\x6D\x65\x2C\x6E\x75\x6C\x6C\x29","\x41\x6E\x73\x77\x65\x72\x65\x64\x20\x3C\x20\x31\x30\x73","\x43\x4F\x55\x4E\x54\x28\x49\x46\x28\x68\x6F\x6C\x64\x74\x69\x6D\x65\x3C\x31\x30\x2C\x31\x2C\x4E\x55\x4C\x4C\x29\x29","\x43\x6F\x75\x6E\x74\x20\x6F\x66\x20\x61\x6E\x73\x77\x65\x72\x65\x64\x20\x63\x61\x6C\x6C\x73\x20\x77\x69\x74\x68\x69\x6E\x20\x31\x30\x20\x73\x65\x63\x6F\x6E\x64\x73","\x41\x6E\x73\x77\x65\x72\x65\x64\x20\x31\x30\x2D\x32\x30\x73","\x43\x4F\x55\x4E\x54\x28\x49\x46\x28\x68\x6F\x6C\x64\x74\x69\x6D\x65\x20\x3E\x3D\x31\x30\x20\x41\x4E\x44\x20\x68\x6F\x6C\x64\x74\x69\x6D\x65\x20\x3C\x32\x30\x2C\x31\x2C\x4E\x55\x4C\x4C\x29\x29","\x43\x6F\x75\x6E\x74\x20\x6F\x66\x20\x61\x6E\x73\x77\x65\x72\x65\x64\x20\x63\x61\x6C\x6C\x73\x20\x62\x65\x74\x77\x65\x65\x6E\x20\x31\x30\x20\x61\x6E\x64\x20\x32\x30\x20\x73\x65\x63\x6F\x6E\x64\x73","\x41\x6E\x73\x77\x65\x72\x65\x64\x20\x32\x30\x2D\x33\x30\x73","\x43\x4F\x55\x4E\x54\x28\x49\x46\x28\x68\x6F\x6C\x64\x74\x69\x6D\x65\x20\x3E\x3D\x32\x30\x20\x41\x4E\x44\x20\x68\x6F\x6C\x64\x74\x69\x6D\x65\x20\x3C\x33\x30\x2C\x31\x2C\x4E\x55\x4C\x4C\x29\x29","\x43\x6F\x75\x6E\x74\x20\x6F\x66\x20\x61\x6E\x73\x77\x65\x72\x65\x64\x20\x63\x61\x6C\x6C\x73\x20\x62\x65\x74\x77\x65\x65\x6E\x20\x32\x30\x20\x61\x6E\x64\x20\x33\x30\x20\x73\x65\x63\x6F\x6E\x64\x73","\x41\x6E\x73\x77\x65\x72\x65\x64\x20\x3E\x33\x30\x73","\x43\x4F\x55\x4E\x54\x28\x49\x46\x28\x68\x6F\x6C\x64\x74\x69\x6D\x65\x20\x3E\x3D\x33\x30\x2C\x31\x2C\x4E\x55\x4C\x4C\x29\x29","\x43\x6F\x75\x6E\x74\x20\x6F\x66\x20\x61\x6E\x73\x77\x65\x72\x65\x64\x20\x63\x61\x6C\x6C\x73\x20\x6F\x76\x65\x72\x20\x33\x30\x20\x73\x65\x63\x6F\x6E\x64\x73","\x51\x75\x65\x75\x65\x20\x2D\x20\x45\x78\x69\x74\x20\x54\x69\x6D\x65","\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x45\x78\x69\x74\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29","\x41\x62\x61\x6E\x64\x6F\x6E\x65\x64\x20\x31\x30\x2D\x36\x30\x73","\x43\x4F\x55\x4E\x54\x28\x49\x46\x28\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x41\x62\x61\x6E\x64\x6F\x6E\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29\x20\x3E\x3D\x31\x30\x20\x41\x4E\x44\x20\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x41\x62\x61\x6E\x64\x6F\x6E\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29\x20\x3C\x36\x30\x2C\x31\x2C\x4E\x55\x4C\x4C\x29\x29","\x43\x6F\x75\x6E\x74\x20\x6F\x66\x20\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64\x20\x63\x61\x6C\x6C\x73\x20\x62\x65\x74\x77\x65\x65\x6E\x20\x31\x30\x20\x61\x6E\x64\x20\x36\x30\x20\x73\x65\x63\x6F\x6E\x64\x73","\x41\x62\x61\x6E\x64\x6F\x6E\x65\x64\x20\x36\x30\x2D\x31\x32\x30\x73","\x43\x4F\x55\x4E\x54\x28\x49\x46\x28\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x41\x62\x61\x6E\x64\x6F\x6E\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29\x20\x3E\x3D\x36\x30\x20\x41\x4E\x44\x20\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x41\x62\x61\x6E\x64\x6F\x6E\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29\x20\x3C\x31\x32\x30\x2C\x31\x2C\x4E\x55\x4C\x4C\x29\x29","\x43\x6F\x75\x6E\x74\x20\x6F\x66\x20\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64\x20\x63\x61\x6C\x6C\x73\x20\x62\x65\x74\x77\x65\x65\x6E\x20\x36\x30\x20\x61\x6E\x64\x20\x31\x32\x30\x20\x73\x65\x63\x6F\x6E\x64\x73","\x51\x75\x65\x75\x65\x20\x2D\x20\x41\x62\x61\x6E\x64\x6F\x6E\x65\x64\x20\x3E\x31\x32\x30\x73","\x43\x4F\x55\x4E\x54\x28\x49\x46\x28\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x41\x62\x61\x6E\x64\x6F\x6E\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29\x20\x3E\x3D\x31\x32\x30\x2C\x31\x2C\x4E\x55\x4C\x4C\x29\x29","\x43\x6F\x75\x6E\x74\x20\x6F\x66\x20\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64\x20\x63\x61\x6C\x6C\x73\x20\x6F\x76\x65\x72\x20\x31\x32\x30\x20\x73\x65\x63\x6F\x6E\x64\x73","\x51\x75\x65\x75\x65\x20\x2D\x20\x4A\x6F\x69\x6E\x44\x61\x74\x65","\x44\x41\x54\x45\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x61\x74\x29","\x45\x78\x74\x72\x61\x63\x74\x20\x74\x68\x65\x20\x64\x61\x74\x65\x20\x6F\x66\x20\x74\x68\x65\x20\x6A\x6F\x69\x6E\x20\x71\x75\x65\x75\x65","\x51\x75\x65\x75\x65\x20\x2D\x20\x4A\x6F\x69\x6E\x48\x6F\x75\x72","\x48\x4F\x55\x52\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x61\x74\x29","\x45\x78\x74\x72\x61\x63\x74\x20\x74\x68\x65\x20\x68\x6F\x75\x72\x20\x6F\x66\x20\x74\x68\x65\x20\x6A\x6F\x69\x6E\x20\x71\x75\x65\x75\x65","\x51\x75\x65\x75\x65\x20\x2D\x20\x4A\x6F\x69\x6E\x44\x61\x79","\x44\x41\x59\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x61\x74\x29","\x45\x78\x74\x72\x61\x63\x74\x20\x74\x68\x65\x20\x64\x61\x79\x20\x6F\x66\x20\x74\x68\x65\x20\x6A\x6F\x69\x6E\x20\x71\x75\x65\x75\x65","\x4D\x65\x6D\x62\x65\x72\x20\x2D\x20\x45\x76\x65\x6E\x74\x20\x44\x75\x72\x61\x74\x69\x6F\x6E","\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x65\x78\x69\x74\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x65\x6E\x74\x65\x72\x41\x74\x29","\x4D\x65\x6D\x62\x65\x72\x20\x65\x76\x65\x6E\x74\x20\x64\x75\x72\x61\x74\x69\x6F\x6E\x20\x69\x6E\x20\x73\x65\x63\x6F\x6E\x64\x73","\x4D\x65\x6D\x62\x65\x72\x20\x2D\x20\x54\x6F\x74\x61\x6C\x20\x45\x76\x65\x6E\x74\x20\x44\x75\x72\x61\x74\x69\x6F\x6E","\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x53\x55\x4D\x28\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x65\x78\x69\x74\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x65\x6E\x74\x65\x72\x41\x74\x29\x29\x29","\x54\x6F\x74\x61\x6C\x20\x65\x76\x65\x6E\x74\x20\x64\x75\x72\x61\x74\x69\x6F\x6E","\x43\x68\x61\x74\x20\x2D\x20\x53\x65\x73\x73\x69\x6F\x6E\x20\x54\x69\x6D\x65","\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x63\x6F\x6D\x70\x6C\x65\x74\x65\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x6C\x65\x61\x76\x65\x41\x74\x29","\x53\x65\x73\x73\x69\x6F\x6E\x20\x54\x69\x6D\x65","\x43\x68\x61\x74\x20\x2D\x20\x51\x75\x65\x75\x65","\x43\x4F\x55\x4E\x54\x28\x49\x46\x28\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x3D\x22\x71\x75\x65\x75\x65\x22\x2C\x31\x2C\x4E\x55\x4C\x4C\x29\x29","\x43\x68\x61\x74\x20\x71\x75\x65\x75\x65\x20\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x63\x6F\x75\x6E\x74","\x43\x68\x61\x74\x20\x2D\x20\x41\x67\x65\x6E\x74","\x43\x4F\x55\x4E\x54\x28\x49\x46\x28\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x3D\x22\x61\x67\x65\x6E\x74\x22\x2C\x31\x2C\x4E\x55\x4C\x4C\x29\x29","\x43\x68\x61\x74\x20\x61\x67\x65\x6E\x74\x20\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x63\x6F\x75\x6E\x74","\x45\x72\x72\x6F\x72\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x41\x6E\x61\x6C\x79\x74\x69\x63\x73\x3A","\x50\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x41\x6E\x61\x6C\x79\x74\x69\x63\x73","\x75\x6E\x69\x71\x75\x65\x69\x64","\x55\x6E\x69\x71\x75\x65\x49\x64","\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x75\x6D","\x43\x61\x6C\x6C\x65\x72\x49\x64\x4E\x75\x6D","\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x61\x6D\x65","\x43\x61\x6C\x6C\x65\x72\x49\x64\x4E\x61\x6D\x65","\x51\x75\x65\x75\x65","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74","\x51\x75\x65\x75\x65\x4A\x6F\x69\x6E\x41\x74","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65\x41\x74","\x51\x75\x65\x75\x65\x4C\x65\x61\x76\x65\x41\x74","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E","\x51\x75\x65\x75\x65\x41\x62\x61\x6E\x64\x6F\x6E","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x41\x74","\x51\x75\x65\x75\x65\x41\x62\x61\x6E\x64\x6F\x6E\x41\x74","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x43\x6F\x6D\x70\x6C\x65\x74\x65","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x41\x74","\x43\x6F\x6D\x70\x6C\x65\x74\x65\x41\x74","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x65\x78\x69\x74","\x51\x75\x65\x75\x65\x45\x78\x69\x74","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x65\x78\x69\x74\x41\x74","\x51\x75\x65\x75\x65\x45\x78\x69\x74\x41\x74","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x65\x78\x69\x74\x72\x65\x61\x73\x6F\x6E","\x51\x75\x65\x75\x65\x45\x78\x69\x74\x52\x65\x61\x73\x6F\x6E","\x65\x78\x74\x65\x6E","\x44\x49\x44","\x54\x61\x6C\x6B\x54\x69\x6D\x65","\x41\x6E\x73\x77\x65\x72\x54\x69\x6D\x65","\x41\x62\x61\x6E\x64\x6F\x6E\x54\x69\x6D\x65","\x55\x6E\x69\x71\x75\x65\x49\x44","\x74\x79\x70\x65","\x54\x79\x70\x65","\x74\x61\x67","\x54\x61\x67","\x73\x6F\x75\x72\x63\x65","\x53\x6F\x75\x72\x63\x65","\x64\x65\x73\x74\x69\x6E\x61\x74\x69\x6F\x6E","\x44\x65\x73\x74\x69\x6E\x61\x74\x69\x6F\x6E","\x63\x61\x6C\x6C\x65\x72\x69\x64","\x43\x61\x6C\x6C\x65\x72\x49\x44","\x64\x65\x73\x74\x69\x6E\x61\x74\x69\x6F\x6E\x63\x68\x61\x6E\x6E\x65\x6C","\x44\x65\x73\x74\x43\x68\x61\x6E\x6E\x65\x6C","\x6C\x61\x73\x74\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x4C\x61\x73\x74\x41\x70\x70","\x6C\x61\x73\x74\x64\x61\x74\x61","\x4C\x61\x73\x74\x44\x61\x74\x61","\x73\x74\x61\x72\x74\x74\x69\x6D\x65","\x53\x74\x61\x72\x74\x54\x69\x6D\x65","\x61\x6E\x73\x77\x65\x72\x74\x69\x6D\x65","\x65\x6E\x64\x74\x69\x6D\x65","\x45\x6E\x64\x54\x69\x6D\x65","\x64\x75\x72\x61\x74\x69\x6F\x6E","\x44\x75\x72\x61\x74\x69\x6F\x6E","\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x61\x63\x63\x6F\x75\x6E\x74\x63\x6F\x64\x65","\x41\x67\x65\x6E\x74\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x43\x61\x6C\x6C\x65\x72\x49\x64","\x45\x6E\x64\x54\x49\x6D\x65","\x62\x69\x6C\x6C\x61\x62\x6C\x65\x73\x65\x63\x6F\x6E\x64\x73","\x42\x69\x6C\x6C\x73\x65\x63","\x4F\x66\x66\x65\x72\x65\x64","\x43\x4F\x55\x4E\x54","\x43\x6F\x6D\x70\x6C\x65\x74\x65\x64","\x53\x55\x4D","\x41\x62\x61\x6E\x64\x6F\x6E\x65\x64","\x55\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x41\x76\x67\x54\x61\x6C\x6B\x54\x69\x6D\x65","\x41\x56\x47","\x41\x76\x67\x41\x62\x61\x6E\x64\x6F\x6E\x54\x69\x6D\x65","\x41\x76\x67\x41\x6E\x73\x77\x65\x72\x54\x69\x6D\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x41\x67\x65\x6E\x74","\x61\x67\x65\x6E\x74\x63\x61\x6C\x6C\x65\x64\x41\x74","\x41\x67\x65\x6E\x74\x43\x61\x6C\x6C\x65\x64\x41\x74","\x61\x67\x65\x6E\x74\x63\x6F\x6E\x6E\x65\x63\x74\x41\x74","\x41\x67\x65\x6E\x74\x43\x6F\x6E\x6E\x65\x63\x74\x41\x74","\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65\x41\x74","\x41\x67\x65\x6E\x74\x43\x6F\x6D\x70\x6C\x65\x74\x65\x41\x74","\x68\x6F\x6C\x64\x74\x69\x6D\x65","\x74\x61\x6C\x6B\x74\x69\x6D\x65","\x61\x67\x65\x6E\x74\x61\x63\x77","\x41\x67\x65\x6E\x74\x41\x43\x57","\x61\x63\x77\x74\x69\x6D\x65","\x41\x67\x65\x6E\x74\x41\x43\x57\x54\x69\x6D\x65","\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x41\x67\x65\x6E\x74\x43\x6F\x6D\x70\x6C\x65\x74\x65","\x72\x65\x61\x73\x6F\x6E","\x48\x61\x6E\x67\x75\x70\x52\x65\x61\x73\x6F\x6E","\x6C\x61\x73\x74\x65\x76\x65\x6E\x74","\x4C\x61\x73\x74\x45\x76\x65\x6E\x74","\x61\x67\x65\x6E\x74\x72\x69\x6E\x67\x6E\x6F\x61\x6E\x73\x77\x65\x72","\x52\x69\x6E\x67\x4E\x6F\x41\x6E\x73\x77\x65\x72","\x54\x6F\x74\x54\x61\x6C\x6B\x54\x69\x6D\x65","\x54\x6F\x74\x41\x43\x57\x54\x69\x6D\x65","\x41\x76\x67\x41\x43\x57\x54\x69\x6D\x65","\x54\x6F\x74\x20\x54\x61\x6C\x6B\x54\x69\x6D\x65","\x41\x76\x67\x20\x54\x61\x6C\x6B\x54\x69\x6D\x65","\x54\x6F\x74\x20\x48\x6F\x6C\x64\x54\x69\x6D\x65","\x41\x76\x67\x20\x48\x6F\x6C\x64\x54\x69\x6D\x65","\x54\x6F\x74\x20\x41\x43\x57\x54\x69\x6D\x65","\x41\x76\x67\x20\x41\x43\x57\x54\x69\x6D\x65","\x54\x6F\x74\x20\x41\x6E\x73\x77\x65\x72\x65\x64","\x41\x6E\x73\x77\x65\x72\x65\x64\x20\x3C\x31\x30\x73","\x52\x65\x61\x73\x6F\x6E","\x43\x61\x6C\x6C\x73","\x41\x62\x61\x6E\x64\x6F\x6E\x20\x54\x69\x6D\x65","\x45\x78\x69\x74\x20\x54\x69\x6D\x65","\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x51\x75\x65\x75\x65\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x54\x6F\x74\x20\x41\x62\x61\x6E\x64\x6F\x6E\x54\x69\x6D\x65","\x45\x78\x69\x74\x65\x64","\x41\x76\x67\x20\x45\x78\x69\x74\x65\x64\x54\x49\x6D\x65","\x54\x6F\x74\x20\x45\x78\x69\x74\x65\x64\x54\x69\x6D\x65","\x54\x6F\x74\x20\x45\x78\x69\x74\x54\x69\x6D\x65","\x54\x6F\x74\x20\x41\x62\x61\x6E\x64\x6F\x6E\x65\x64","\x41\x62\x61\x6E\x64\x6F\x6E\x65\x64\x3C\x31\x30\x73","\x41\x62\x61\x6E\x64\x6F\x6E\x65\x64\x3E\x31\x32\x30\x73","\x44\x61\x74\x65","\x48\x6F\x75\x72","\x44\x61\x79","\x54\x6F\x74\x20\x44\x75\x72\x61\x74\x69\x6F\x6E","\x41\x76\x67\x20\x44\x75\x72\x61\x74\x69\x6F\x6E","\x41\x53\x43","\x64\x61\x74\x61\x31","\x50\x61\x75\x73\x65\x54\x79\x70\x65","\x77\x65\x62\x73\x69\x74\x65\x6E\x61\x6D\x65","\x57\x65\x62\x73\x69\x74\x65","\x76\x69\x73\x69\x74\x6F\x72\x6E\x61\x6D\x65","\x56\x69\x73\x69\x74\x6F\x72\x4E\x61\x6D\x65","\x76\x69\x73\x69\x74\x6F\x72\x65\x6D\x61\x69\x6C","\x56\x69\x73\x69\x74\x6F\x72\x45\x6D\x61\x69\x6C","\x4D\x65\x6D\x65\x62\x65\x72\x4E\x61\x6D\x65","\x71\x75\x65\x75\x65\x6E\x61\x6D\x65","\x51\x75\x65\x75\x65\x4E\x61\x6D\x65","\x6A\x6F\x69\x6E\x41\x74","\x4A\x6F\x69\x6E\x41\x74","\x6C\x65\x61\x76\x65\x41\x74","\x4C\x65\x61\x76\x65\x41\x74","\x63\x6F\x6D\x70\x6C\x65\x74\x65\x41\x74","\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x63\x6F\x6D\x70\x6C\x65\x74\x65\x52\x65\x61\x73\x6F\x6E","\x43\x6F\x6D\x70\x6C\x65\x74\x65\x52\x65\x61\x73\x6F\x6E","\x61\x62\x61\x6E\x64\x6F\x6E","\x41\x62\x61\x6E\x64\x6F\x6E","\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x55\x6E\x6D\x61\x6E\x61\x67\x65","\x53\x65\x73\x73\x69\x6F\x6E","\x46\x72\x6F\x6D\x51\x75\x65\x75\x65","\x32\x30\x31\x36\x2D\x30\x35\x2D\x31\x34\x20\x31\x38\x3A\x31\x33\x3A\x30\x31","\x44\x69\x72\x65\x63\x74\x54\x6F\x41\x67\x65\x6E\x74","\x54\x6F\x74\x20\x53\x65\x73\x73\x69\x6F\x6E\x20\x54\x69\x6D\x65","\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45","\x41\x76\x67\x20\x53\x65\x73\x73\x69\x6F\x6E\x20\x54\x69\x6D\x65","\x57\x65\x62\x53\x69\x74\x65","\x53\x65\x73\x73\x69\x6F\x6E\x73","\x52\x65\x70\x6F\x72\x74\x46\x69\x65\x6C\x64","\x64\x65\x73\x74\x72\x6F\x79","\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74","\x44\x65\x66\x61\x75\x6C\x74\x4D\x65\x74\x72\x69\x63","\x5B\x7B\x22\x69\x64\x22\x3A\x22\x31\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x43\x75\x73\x74\x6F\x6D\x20\x52\x65\x70\x6F\x72\x74\x73\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x22\x69\x63\x6F\x6E\x2D\x62\x6F\x6F\x6B\x2D\x6F\x70\x65\x6E\x22\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x31\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x31\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x23\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x32\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x42\x61\x73\x69\x63\x20\x4E\x6F\x64\x65\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x32\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x32\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x31\x22\x7D\x5D","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x52\x65\x70\x6F\x72\x74\x54\x72\x65\x65","\x5B\x7B\x22\x69\x64\x22\x3A\x22\x31\x22\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x23\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x4D\x6F\x74\x69\x6F\x6E\x20\x52\x65\x70\x6F\x72\x74\x73\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x22\x69\x63\x6F\x6E\x2D\x72\x6F\x63\x6B\x65\x74\x22\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x74\x72\x75\x65\x7D\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x32\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x56\x6F\x69\x63\x65\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x32\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x32\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x31\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x33\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x51\x75\x65\x75\x65\x73\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x33\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x33\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x32\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x35\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x41\x6E\x73\x77\x65\x72\x65\x64\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x35\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x35\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x6A\x34\x5F\x33\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x36\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x55\x6E\x61\x6E\x73\x77\x65\x72\x65\x64\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x36\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x36\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x6A\x34\x5F\x33\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x37\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x44\x69\x73\x74\x72\x69\x62\x75\x74\x69\x6F\x6E\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x37\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x37\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x6A\x34\x5F\x33\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x6A\x32\x30\x5F\x31\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x43\x61\x6C\x6C\x73\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x6A\x32\x30\x5F\x31\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x6A\x32\x30\x5F\x31\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x32\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x34\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x41\x67\x65\x6E\x74\x73\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x34\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x34\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x32\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x6A\x31\x31\x32\x5F\x31\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x43\x61\x6C\x6C\x79\x53\x71\x75\x61\x72\x65\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x6A\x31\x31\x32\x5F\x31\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x6A\x31\x31\x32\x5F\x31\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x32\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x6A\x32\x30\x5F\x32\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x6A\x32\x30\x5F\x32\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x6A\x32\x30\x5F\x32\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x32\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x31\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x43\x68\x61\x74\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x31\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x31\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x31\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x32\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x4D\x61\x69\x6C\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x32\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x32\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x31\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x6A\x32\x34\x5F\x31\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x41\x67\x65\x6E\x74\x73\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x6A\x32\x34\x5F\x31\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x6A\x32\x34\x5F\x31\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x31\x22\x7D\x5D","\x4D\x6F\x74\x69\x6F\x6E\x20\x53\x65\x72\x76\x69\x63\x65","\x4C\x69\x73\x74","\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x20\x66\x6F\x72\x20\x4F\x75\x74\x67\x6F\x69\x6E\x67\x20\x46\x61\x78","\x5F\x2E","\x4E\x6F\x4F\x70","\x4F\x75\x74\x67\x6F\x69\x6E\x67\x20\x66\x61\x78\x20\x74\x6F\x20\x24\x7B\x46\x41\x58\x4E\x55\x4D\x42\x45\x52\x7D","\x73\x79\x73\x74\x65\x6D","\x41\x63\x63\x6F\x75\x6E\x74\x20\x24\x7B\x46\x41\x58\x4E\x41\x4D\x45\x7D","\x41\x6E\x73\x77\x65\x72","","\x57\x61\x69\x74","\x32","\x53\x65\x74","\x46\x41\x58\x4F\x50\x54\x28\x65\x63\x6D\x29\x3D\x24\x7B\x46\x41\x58\x45\x43\x4D\x7D","\x46\x41\x58\x4F\x50\x54\x28\x68\x65\x61\x64\x65\x72\x69\x6E\x66\x6F\x29\x3D\x24\x7B\x46\x41\x58\x48\x45\x41\x44\x45\x52\x49\x4E\x46\x4F\x7D","\x46\x41\x58\x4F\x50\x54\x28\x6C\x6F\x63\x61\x6C\x73\x74\x61\x74\x69\x6F\x6E\x69\x64\x29\x3D\x24\x7B\x46\x41\x58\x4C\x4F\x43\x41\x4C\x53\x54\x41\x54\x49\x4F\x4E\x49\x44\x7D","\x46\x41\x58\x4F\x50\x54\x28\x6D\x69\x6E\x72\x61\x74\x65\x29\x3D\x24\x7B\x46\x41\x58\x4D\x49\x4E\x52\x41\x54\x45\x7D","\x46\x41\x58\x4F\x50\x54\x28\x6D\x61\x78\x72\x61\x74\x65\x29\x3D\x24\x7B\x46\x41\x58\x4D\x41\x58\x52\x41\x54\x45\x7D","\x46\x41\x58\x4F\x50\x54\x28\x6D\x6F\x64\x65\x6D\x29\x3D\x24\x7B\x46\x41\x58\x4D\x4F\x44\x45\x4D\x7D","\x46\x41\x58\x4F\x50\x54\x28\x67\x61\x74\x65\x77\x61\x79\x29\x3D\x24\x7B\x46\x41\x58\x47\x41\x54\x45\x57\x41\x59\x7D","\x46\x41\x58\x4F\x50\x54\x28\x74\x33\x38\x74\x69\x6D\x65\x6F\x75\x74\x29\x3D\x24\x7B\x46\x41\x58\x54\x33\x38\x54\x49\x4D\x45\x4F\x55\x54\x7D","\x53\x65\x6E\x64\x46\x41\x58","\x24\x7B\x46\x41\x58\x4F\x55\x54\x46\x49\x4C\x45\x7D\x2C\x64\x73","\x48\x61\x6E\x67\x75\x70","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E"];_0x6529[0];var _=require(_0x6529[1]);var models=require(_0x6529[2]);var sequelize=require(_0x6529[2])[_0x6529[3]];models[_0x6529[70]][_0x6529[69]]([{provider:_0x6529[7],role:_0x6529[8],fullname:_0x6529[9],email:_0x6529[10],name:_0x6529[11],password:_0x6529[12],defaultuser:_0x6529[11],host:_0x6529[13],type:_0x6529[14],transport:_0x6529[15],allow:_0x6529[16],qualify:_0x6529[17],nat:_0x6529[18],disallow:_0x6529[19],context:_0x6529[20],internal:1000},{provider:_0x6529[7],role:_0x6529[8],fullname:_0x6529[21],email:_0x6529[22],name:_0x6529[23],password:_0x6529[12],defaultuser:_0x6529[23],host:_0x6529[13],type:_0x6529[14],transport:_0x6529[15],allow:_0x6529[16],qualify:_0x6529[17],nat:_0x6529[18],disallow:_0x6529[19],context:_0x6529[20],internal:1001},{provider:_0x6529[7],role:_0x6529[8],fullname:_0x6529[24],email:_0x6529[25],name:_0x6529[26],password:_0x6529[12],defaultuser:_0x6529[26],host:_0x6529[13],type:_0x6529[14],transport:_0x6529[15],allow:_0x6529[16],qualify:_0x6529[17],nat:_0x6529[18],disallow:_0x6529[19],context:_0x6529[20],internal:1002},{provider:_0x6529[7],role:_0x6529[8],fullname:_0x6529[27],email:_0x6529[28],name:_0x6529[29],password:_0x6529[12],defaultuser:_0x6529[29],host:_0x6529[13],type:_0x6529[14],transport:_0x6529[15],allow:_0x6529[16],qualify:_0x6529[17],nat:_0x6529[18],disallow:_0x6529[19],context:_0x6529[20],internal:1003},{provider:_0x6529[7],role:_0x6529[8],fullname:_0x6529[30],email:_0x6529[31],name:_0x6529[32],password:_0x6529[12],defaultuser:_0x6529[32],host:_0x6529[13],type:_0x6529[14],transport:_0x6529[15],allow:_0x6529[16],qualify:_0x6529[17],nat:_0x6529[18],disallow:_0x6529[19],context:_0x6529[20],internal:1004},{provider:_0x6529[7],role:_0x6529[33],fullname:_0x6529[34],email:_0x6529[35],name:_0x6529[36],password:_0x6529[36],defaultuser:_0x6529[36],host:_0x6529[13],type:_0x6529[14],transport:_0x6529[15],allow:_0x6529[16],qualify:_0x6529[17],nat:_0x6529[18],disallow:_0x6529[19],context:_0x6529[20],internal:1005},{provider:_0x6529[7],role:_0x6529[8],fullname:_0x6529[37],email:_0x6529[38],name:_0x6529[39],password:_0x6529[12],defaultuser:_0x6529[39],host:_0x6529[13],type:_0x6529[14],transport:_0x6529[15],allow:_0x6529[16],qualify:_0x6529[17],nat:_0x6529[18],disallow:_0x6529[19],context:_0x6529[20],internal:1006},{provider:_0x6529[7],role:_0x6529[8],fullname:_0x6529[40],email:_0x6529[41],name:_0x6529[42],password:_0x6529[36],defaultuser:_0x6529[42],host:_0x6529[13],type:_0x6529[14],transport:_0x6529[15],allow:_0x6529[16],qualify:_0x6529[17],nat:_0x6529[18],disallow:_0x6529[19],context:_0x6529[20],internal:1007},{provider:_0x6529[7],role:_0x6529[8],fullname:_0x6529[43],email:_0x6529[44],name:_0x6529[45],password:_0x6529[36],defaultuser:_0x6529[45],host:_0x6529[13],type:_0x6529[14],transport:_0x6529[15],allow:_0x6529[16],qualify:_0x6529[17],nat:_0x6529[18],disallow:_0x6529[19],context:_0x6529[20],internal:1008},{provider:_0x6529[7],role:_0x6529[8],fullname:_0x6529[46],email:_0x6529[47],name:_0x6529[48],password:_0x6529[12],defaultuser:_0x6529[48],host:_0x6529[13],type:_0x6529[14],transport:_0x6529[15],allow:_0x6529[16],qualify:_0x6529[17],nat:_0x6529[18],disallow:_0x6529[19],context:_0x6529[20],internal:1009},{provider:_0x6529[7],role:_0x6529[8],fullname:_0x6529[49],email:_0x6529[50],name:_0x6529[51],password:_0x6529[12],defaultuser:_0x6529[51],host:_0x6529[13],type:_0x6529[14],transport:_0x6529[52],allow:_0x6529[16],qualify:_0x6529[17],nat:_0x6529[18],disallow:_0x6529[19],context:_0x6529[20],internal:1010},{provider:_0x6529[7],role:_0x6529[8],fullname:_0x6529[53],email:_0x6529[54],name:_0x6529[55],password:_0x6529[12],defaultuser:_0x6529[55],host:_0x6529[13],type:_0x6529[14],transport:_0x6529[52],allow:_0x6529[16],qualify:_0x6529[17],nat:_0x6529[18],disallow:_0x6529[19],context:_0x6529[20],internal:1011},{provider:_0x6529[7],role:_0x6529[8],fullname:_0x6529[56],email:_0x6529[57],name:_0x6529[58],password:_0x6529[12],defaultuser:_0x6529[58],host:_0x6529[13],type:_0x6529[14],transport:_0x6529[52],allow:_0x6529[16],qualify:_0x6529[17],nat:_0x6529[18],disallow:_0x6529[19],context:_0x6529[20],internal:1012},{provider:_0x6529[7],role:_0x6529[33],fullname:_0x6529[59],email:_0x6529[60],name:_0x6529[61],password:_0x6529[62],defaultuser:_0x6529[61],host:_0x6529[13],type:_0x6529[14],transport:_0x6529[15],allow:_0x6529[16],qualify:_0x6529[17],nat:_0x6529[18],disallow:_0x6529[19],context:_0x6529[20],internal:1013},{provider:_0x6529[7],role:_0x6529[8],fullname:_0x6529[63],email:_0x6529[64],name:_0x6529[65],password:_0x6529[12],defaultuser:_0x6529[65],host:_0x6529[13],type:_0x6529[14],transport:_0x6529[15],allow:_0x6529[16],qualify:_0x6529[17],nat:_0x6529[18],disallow:_0x6529[19],context:_0x6529[20],internal:1014},{provider:_0x6529[7],role:_0x6529[8],fullname:_0x6529[66],email:_0x6529[67],name:_0x6529[68],password:_0x6529[12],defaultuser:_0x6529[68],host:_0x6529[13],type:_0x6529[14],transport:_0x6529[15],allow:_0x6529[16],qualify:_0x6529[17],nat:_0x6529[18],disallow:_0x6529[19],context:_0x6529[20],internal:1015}],{ignoreDuplicates:true,individualHooks:true})[_0x6529[6]](function(){console[_0x6529[5]](_0x6529[4])});models[_0x6529[84]][_0x6529[69]]([{name:_0x6529[72],type:_0x6529[73],insecure:_0x6529[74],defaultuser:_0x6529[75],secret:_0x6529[76],password:_0x6529[76],context:_0x6529[77],language:_0x6529[78],host:_0x6529[79],fromdomain:_0x6529[79],dtmfmode:_0x6529[80],qualify:_0x6529[17],nat:_0x6529[18],callerid:_0x6529[81],limitonpeers:_0x6529[17],callcounter:_0x6529[17],disallow:_0x6529[19],allow:_0x6529[82],canreinvite:_0x6529[83],directmedia:_0x6529[83]}],{ignoreDuplicates:true,individualHooks:true})[_0x6529[6]](function(){console[_0x6529[5]](_0x6529[71])});var newModules=[{id:1,name:_0x6529[85],title:_0x6529[86],ModuleId:null,path:_0x6529[87]},{id:2,name:_0x6529[88],title:_0x6529[89],ModuleId:null,path:_0x6529[90]},{id:3,name:_0x6529[91],title:_0x6529[92],ModuleId:null,path:_0x6529[93]},{id:4,name:_0x6529[94],title:_0x6529[95],ModuleId:3,path:_0x6529[93]},{id:5,name:_0x6529[96],title:_0x6529[97],ModuleId:null,path:_0x6529[98]},{id:6,name:_0x6529[99],title:_0x6529[100],ModuleId:null,path:_0x6529[101]},{id:7,name:_0x6529[102],title:_0x6529[103],ModuleId:6,path:_0x6529[101]},{id:8,name:_0x6529[104],title:_0x6529[105],ModuleId:6,path:_0x6529[106]},{id:9,name:_0x6529[107],title:_0x6529[108],ModuleId:6,path:_0x6529[109]},{id:10,name:_0x6529[110],title:_0x6529[111],ModuleId:6,path:_0x6529[112]},{id:11,name:_0x6529[113],title:_0x6529[114],ModuleId:6,path:_0x6529[115]},{id:12,name:_0x6529[116],title:_0x6529[117],ModuleId:6,path:_0x6529[118]},{id:13,name:_0x6529[119],title:_0x6529[120],ModuleId:null,path:_0x6529[121]},{id:14,name:_0x6529[122],title:_0x6529[123],ModuleId:null,path:_0x6529[124]},{id:15,name:_0x6529[125],title:_0x6529[126],ModuleId:null,path:_0x6529[127]},{id:16,name:_0x6529[128],title:_0x6529[129],ModuleId:null,path:_0x6529[130]},{id:17,name:_0x6529[131],title:_0x6529[132],ModuleId:null,path:_0x6529[133]},{id:18,name:_0x6529[134],title:_0x6529[135],ModuleId:null,path:_0x6529[136]},{id:19,name:_0x6529[137],title:_0x6529[138],ModuleId:null,path:_0x6529[139]}];models[_0x6529[147]][_0x6529[151]]()[_0x6529[6]](function(_0xc36ex6){var _0xc36ex7=[];_0xc36ex6=_[_0x6529[144]](_0xc36ex6,_0x6529[143]);newModules[_0x6529[150]](function(_0xc36ex8){if(_[_0x6529[145]](_0xc36ex6,_0xc36ex8[_0x6529[143]])){_0xc36ex7[_0x6529[148]](models[_0x6529[147]][_0x6529[146]](_0xc36ex8,{where:{id:_0xc36ex8[_0x6529[143]]}}))}else {_0xc36ex7[_0x6529[148]](models[_0x6529[147]][_0x6529[149]](_0xc36ex8))}});return _0xc36ex7})[_0x6529[19]]()[_0x6529[6]](function(){console[_0x6529[5]](_0x6529[142])})[_0x6529[141]](function(_0xc36ex5){console[_0x6529[5]](_0x6529[140],_0xc36ex5)});models[_0x6529[156]][_0x6529[149]]({name:_0x6529[154],description:_0x6529[171],defaultEntry:true})[_0x6529[6]](function(_0xc36ex9){models[_0x6529[70]][_0x6529[151]]({where:{role:_0x6529[8]}})[_0x6529[6]](function(_0xc36exa){_0xc36ex9[_0x6529[153]](_[_0x6529[144]](_0xc36exa,_0x6529[143]))[_0x6529[6]](function(){models[_0x6529[160]][_0x6529[149]]({name:_0x6529[157],description:_0x6529[158],timeout:5,strategy:_0x6529[159]})[_0x6529[6]](function(_0xc36exb){console[_0x6529[5]](_0x6529[152]);models[_0x6529[156]][_0x6529[155]]({where:{name:_0x6529[154]},include:[{all:true}]})[_0x6529[6]](function(_0xc36ex9){_0xc36exb[_0x6529[153]](_[_0x6529[144]](_0xc36ex9.Users,_0x6529[143]))[_0x6529[141]](function(_0xc36ex5){})})[_0x6529[141]](function(_0xc36ex5){})});models[_0x6529[166]][_0x6529[149]]({name:_0x6529[164],description:_0x6529[165],timeout:5,strategy:_0x6529[159]})[_0x6529[6]](function(_0xc36exc){console[_0x6529[5]](_0x6529[161]);models[_0x6529[156]][_0x6529[155]]({where:{name:_0x6529[154]},include:[{all:true}]})[_0x6529[6]](function(_0xc36ex9){if(_0xc36ex9){console[_0x6529[5]](_0x6529[162])}else {console[_0x6529[5]](_0x6529[163])};_0xc36exc[_0x6529[153]](_[_0x6529[144]](_0xc36ex9.Users,_0x6529[143]))[_0x6529[141]](function(_0xc36ex5){})})[_0x6529[141]](function(_0xc36ex5){})});models[_0x6529[170]][_0x6529[149]]({name:_0x6529[168],description:_0x6529[169],timeout:5,strategy:_0x6529[159]})[_0x6529[6]](function(_0xc36exd){console[_0x6529[5]](_0x6529[167]);models[_0x6529[156]][_0x6529[155]]({where:{name:_0x6529[154]},include:[{all:true}]})[_0x6529[6]](function(_0xc36ex9){_0xc36exd[_0x6529[153]](_[_0x6529[144]](_0xc36ex9.Users,_0x6529[143]))[_0x6529[141]](function(_0xc36ex5){})})[_0x6529[141]](function(_0xc36ex5){})})})[_0x6529[141]](function(_0xc36ex5){})})[_0x6529[141]](function(_0xc36ex5){})})[_0x6529[141]](function(_0xc36ex5){});models[_0x6529[185]][_0x6529[149]]({name:_0x6529[184],description:_0x6529[184],address:_0x6529[176]})[_0x6529[6]](function(_0xc36exe){console[_0x6529[5]](_0x6529[172]);models[_0x6529[183]][_0x6529[149]]({description:_0x6529[61],host:_0x6529[179],username:_0x6529[176],password:_0x6529[177],port:143,mailbox:_0x6529[180],ssl:false,delete:false,filter:_0x6529[181],protocol:_0x6529[182],MailAccountId:_0xc36exe[_0x6529[143]]})[_0x6529[6]](function(){console[_0x6529[5]](_0x6529[173]);models[_0x6529[178]][_0x6529[149]]({description:_0x6529[61],host:_0x6529[175],username:_0x6529[176],password:_0x6529[177],port:587,ssl:false,MailAccountId:_0xc36exe[_0x6529[143]]})[_0x6529[6]](function(){console[_0x6529[5]](_0x6529[174])})[_0x6529[141]](function(_0xc36ex5){})})[_0x6529[141]](function(_0xc36ex5){})});models[_0x6529[189]][_0x6529[69]]([{name:_0x6529[187],description:_0x6529[188]}],{ignoreDuplicates:true})[_0x6529[6]](function(){console[_0x6529[5]](_0x6529[186])});models[_0x6529[209]][_0x6529[149]]({name:_0x6529[195],description:_0x6529[195],address:_0x6529[196],color:_0x6529[197],color_focus:_0x6529[197],color_button:_0x6529[197],remote:_0x6529[198],animation:true,header_shape:_0x6529[199],header_online:_0x6529[200],online_message:_0x6529[201],username_placeholder:_0x6529[202],email_placeholder:_0x6529[203],start_chat_button:_0x6529[204],header_offline:_0x6529[205],offline_message:_0x6529[206],enquiry_message_placeholder:_0x6529[207],enquiry_button:_0x6529[208],download_transcript:true})[_0x6529[6]](function(_0xc36exf){console[_0x6529[5]](_0x6529[190]);models[_0x6529[160]][_0x6529[151]]()[_0x6529[6]](function(_0xc36ex10){models[_0x6529[193]][_0x6529[149]]({app:_0x6529[192],appdata:_0xc36ex10[0][_0x6529[143]],priority:1,timeout:30,ChatWebsiteId:_0xc36exf[_0x6529[143]],ChatQueueId:_0xc36ex10[0][_0x6529[143]]})[_0x6529[6]](function(){console[_0x6529[5]](_0x6529[191])})[_0x6529[141]](function(_0xc36ex5){});models[_0x6529[193]][_0x6529[149]]({app:_0x6529[192],appdata:_0xc36ex10[1][_0x6529[143]],priority:2,timeout:30,ChatWebsiteId:_0xc36exf[_0x6529[143]],ChatQueueId:_0xc36ex10[1][_0x6529[143]]})[_0x6529[6]](function(){console[_0x6529[5]](_0x6529[194])})[_0x6529[141]](function(_0xc36ex5){})})[_0x6529[141]](function(_0xc36ex5){})})[_0x6529[141]](function(_0xc36ex5){});models[_0x6529[212]][_0x6529[69]]([{name:_0x6529[211],description:_0x6529[188]}],{ignoreDuplicates:true})[_0x6529[6]](function(){console[_0x6529[5]](_0x6529[210])});models[_0x6529[218]][_0x6529[69]]([{name:_0x6529[20],description:_0x6529[214],defaultEntry:true},{name:_0x6529[77],description:_0x6529[214],defaultEntry:true},{name:_0x6529[215],description:_0x6529[214],defaultEntry:true},{name:_0x6529[216],description:_0x6529[214],defaultEntry:true},{name:_0x6529[217],description:_0x6529[214],defaultEntry:true}],{ignoreDuplicates:true,individualHooks:true})[_0x6529[6]](function(){console[_0x6529[5]](_0x6529[213])});models[_0x6529[225]][_0x6529[69]]([{name:_0x6529[220],mode:_0x6529[221],directory:_0x6529[222],sort:_0x6529[223],format:_0x6529[224],defaultEntry:true}],{ignoreDuplicates:true,individualHooks:true})[_0x6529[6]](function(){console[_0x6529[5]](_0x6529[219])});models[_0x6529[227]][_0x6529[69]]([{id:1,min_internal:1000,soundPath:_0x6529[226]}],{ignoreDuplicates:true,individualHooks:true})[_0x6529[6]](function(){console[_0x6529[5]](_0x6529[219])});models[_0x6529[239]][_0x6529[69]]([{id:1,name:_0x6529[228],model:JSON[_0x6529[238]]({title:_0x6529[228],rows:[{columns:[{styleClass:_0x6529[229],widgets:[{type:_0x6529[230],title:_0x6529[231],config:{timePattern:_0x6529[232],datePattern:_0x6529[233]}}]},{styleClass:_0x6529[234],widgets:[{type:_0x6529[235],title:_0x6529[236],config:{url:_0x6529[237]}}]}]}]}),defaultEntry:true,editable:false}],{ignoreDuplicates:true,individualHooks:true})[_0x6529[6]](function(){console[_0x6529[5]](_0x6529[219])});models[_0x6529[263]][_0x6529[69]]([{name:_0x6529[241],version:_0x6529[242],active:false,author:_0x6529[243],logo:_0x6529[244],state:_0x6529[245],description:_0x6529[246]},{name:_0x6529[247],version:_0x6529[242],active:false,author:_0x6529[243],logo:_0x6529[248],state:_0x6529[249],description:_0x6529[250]},{name:_0x6529[251],version:_0x6529[242],active:false,author:_0x6529[243],logo:_0x6529[252],state:_0x6529[253],description:_0x6529[254]},{name:_0x6529[255],version:_0x6529[242],active:false,author:_0x6529[243],logo:_0x6529[256],state:_0x6529[257],description:_0x6529[258]},{name:_0x6529[259],version:_0x6529[242],active:false,author:_0x6529[243],logo:_0x6529[260],state:_0x6529[261],description:_0x6529[262]}],{ignoreDuplicates:true,individualHooks:true})[_0x6529[6]](function(){console[_0x6529[5]](_0x6529[240])});var newDefaulReports=[{"\x69\x64":1,"\x6E\x61\x6D\x65":_0x6529[264],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x6529[265],"\x74\x61\x62\x6C\x65":_0x6529[266],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x6529[267]},{"\x69\x64":2,"\x6E\x61\x6D\x65":_0x6529[268],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x6529[269],"\x70\x61\x72\x65\x6E\x74":_0x6529[270],"\x74\x61\x62\x6C\x65":_0x6529[271],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x6529[267]},{"\x69\x64":3,"\x6E\x61\x6D\x65":_0x6529[272],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x6529[273],"\x70\x61\x72\x65\x6E\x74":_0x6529[270],"\x74\x61\x62\x6C\x65":_0x6529[271],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x6529[274]},{"\x69\x64":4,"\x6E\x61\x6D\x65":_0x6529[275],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x6529[276],"\x74\x61\x62\x6C\x65":_0x6529[266],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x6529[267]},{"\x69\x64":5,"\x6E\x61\x6D\x65":_0x6529[268],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x6529[277],"\x74\x61\x62\x6C\x65":_0x6529[278],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x6529[279]},{"\x69\x64":6,"\x6E\x61\x6D\x65":_0x6529[280],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x6529[277],"\x74\x61\x62\x6C\x65":_0x6529[278],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x6529[267]},{"\x69\x64":7,"\x6E\x61\x6D\x65":_0x6529[275],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x6529[277],"\x74\x61\x62\x6C\x65":_0x6529[278],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x6529[279]},{"\x69\x64":8,"\x6E\x61\x6D\x65":_0x6529[281],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x6529[277],"\x74\x61\x62\x6C\x65":_0x6529[278],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x6529[279]},{"\x69\x64":9,"\x6E\x61\x6D\x65":_0x6529[282],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x6529[277],"\x74\x61\x62\x6C\x65":_0x6529[278],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x6529[279]},{"\x69\x64":10,"\x6E\x61\x6D\x65":_0x6529[268],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x6529[283],"\x74\x61\x62\x6C\x65":_0x6529[266],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x6529[284]},{"\x69\x64":11,"\x6E\x61\x6D\x65":_0x6529[285],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x6529[283],"\x74\x61\x62\x6C\x65":_0x6529[266],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x6529[284]},{"\x69\x64":12,"\x6E\x61\x6D\x65":_0x6529[286],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x6529[283],"\x74\x61\x62\x6C\x65":_0x6529[266],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x6529[287]},{"\x69\x64":13,"\x6E\x61\x6D\x65":_0x6529[288],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x6529[283],"\x74\x61\x62\x6C\x65":_0x6529[266],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x6529[289]},{"\x69\x64":14,"\x6E\x61\x6D\x65":_0x6529[290],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x6529[276],"\x74\x61\x62\x6C\x65":_0x6529[266],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x6529[267]},{"\x69\x64":15,"\x6E\x61\x6D\x65":_0x6529[291],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x6529[276],"\x74\x61\x62\x6C\x65":_0x6529[266],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x6529[267]},{"\x69\x64":16,"\x6E\x61\x6D\x65":_0x6529[292],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x6529[276],"\x74\x61\x62\x6C\x65":_0x6529[266],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x6529[267]},{"\x69\x64":17,"\x6E\x61\x6D\x65":_0x6529[293],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x6529[270],"\x74\x61\x62\x6C\x65":_0x6529[271],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x6529[267]},{"\x69\x64":18,"\x6E\x61\x6D\x65":_0x6529[294],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x6529[295],"\x70\x61\x72\x65\x6E\x74":_0x6529[270],"\x74\x61\x62\x6C\x65":_0x6529[271],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x6529[274]},{"\x69\x64":19,"\x6E\x61\x6D\x65":_0x6529[296],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x6529[297],"\x74\x61\x62\x6C\x65":_0x6529[298],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x6529[299]},{"\x69\x64":20,"\x6E\x61\x6D\x65":_0x6529[300],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x6529[297],"\x74\x61\x62\x6C\x65":_0x6529[298],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x6529[301]},{"\x69\x64":21,"\x6E\x61\x6D\x65":_0x6529[302],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x6529[303],"\x74\x61\x62\x6C\x65":_0x6529[304],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x6529[267]},{"\x69\x64":22,"\x6E\x61\x6D\x65":_0x6529[305],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x6529[303],"\x74\x61\x62\x6C\x65":_0x6529[304],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x6529[267]},{"\x69\x64":23,"\x6E\x61\x6D\x65":_0x6529[306],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x6529[303],"\x74\x61\x62\x6C\x65":_0x6529[304],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x6529[307]}];var newDefaultMetrics=[{"\x69\x64":1,"\x6E\x61\x6D\x65":_0x6529[308],"\x74\x61\x62\x6C\x65":_0x6529[266],"\x6D\x65\x74\x72\x69\x63":_0x6529[309]},{"\x69\x64":2,"\x6E\x61\x6D\x65":_0x6529[310],"\x74\x61\x62\x6C\x65":_0x6529[266],"\x6D\x65\x74\x72\x69\x63":_0x6529[311]},{"\x69\x64":3,"\x6E\x61\x6D\x65":_0x6529[312],"\x74\x61\x62\x6C\x65":_0x6529[266],"\x6D\x65\x74\x72\x69\x63":_0x6529[313],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x6529[314]},{"\x69\x64":4,"\x6E\x61\x6D\x65":_0x6529[315],"\x74\x61\x62\x6C\x65":_0x6529[266],"\x6D\x65\x74\x72\x69\x63":_0x6529[316]},{"\x69\x64":5,"\x6E\x61\x6D\x65":_0x6529[317],"\x74\x61\x62\x6C\x65":_0x6529[278],"\x6D\x65\x74\x72\x69\x63":_0x6529[318],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x6529[319]},{"\x69\x64":6,"\x6E\x61\x6D\x65":_0x6529[320],"\x74\x61\x62\x6C\x65":_0x6529[278],"\x6D\x65\x74\x72\x69\x63":_0x6529[321],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x6529[322]},{"\x69\x64":7,"\x6E\x61\x6D\x65":_0x6529[323],"\x74\x61\x62\x6C\x65":_0x6529[278],"\x6D\x65\x74\x72\x69\x63":_0x6529[324],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x6529[325]},{"\x69\x64":8,"\x6E\x61\x6D\x65":_0x6529[326],"\x74\x61\x62\x6C\x65":_0x6529[278],"\x6D\x65\x74\x72\x69\x63":_0x6529[327],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x6529[328]},{"\x69\x64":9,"\x6E\x61\x6D\x65":_0x6529[329],"\x74\x61\x62\x6C\x65":_0x6529[266],"\x6D\x65\x74\x72\x69\x63":_0x6529[330]},{"\x69\x64":10,"\x6E\x61\x6D\x65":_0x6529[331],"\x74\x61\x62\x6C\x65":_0x6529[266],"\x6D\x65\x74\x72\x69\x63":_0x6529[332],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x6529[333]},{"\x69\x64":11,"\x6E\x61\x6D\x65":_0x6529[334],"\x74\x61\x62\x6C\x65":_0x6529[266],"\x6D\x65\x74\x72\x69\x63":_0x6529[335],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x6529[336]},{"\x69\x64":12,"\x6E\x61\x6D\x65":_0x6529[337],"\x74\x61\x62\x6C\x65":_0x6529[266],"\x6D\x65\x74\x72\x69\x63":_0x6529[338],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x6529[339]},{"\x69\x64":13,"\x6E\x61\x6D\x65":_0x6529[340],"\x74\x61\x62\x6C\x65":_0x6529[266],"\x6D\x65\x74\x72\x69\x63":_0x6529[341],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x6529[342]},{"\x69\x64":14,"\x6E\x61\x6D\x65":_0x6529[343],"\x74\x61\x62\x6C\x65":_0x6529[266],"\x6D\x65\x74\x72\x69\x63":_0x6529[344],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x6529[345]},{"\x69\x64":15,"\x6E\x61\x6D\x65":_0x6529[346],"\x74\x61\x62\x6C\x65":_0x6529[266],"\x6D\x65\x74\x72\x69\x63":_0x6529[347],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x6529[348]},{"\x69\x64":16,"\x6E\x61\x6D\x65":_0x6529[349],"\x74\x61\x62\x6C\x65":_0x6529[298],"\x6D\x65\x74\x72\x69\x63":_0x6529[350],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x6529[351]},{"\x69\x64":17,"\x6E\x61\x6D\x65":_0x6529[352],"\x74\x61\x62\x6C\x65":_0x6529[298],"\x6D\x65\x74\x72\x69\x63":_0x6529[353],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x6529[354]},{"\x69\x64":18,"\x6E\x61\x6D\x65":_0x6529[355],"\x74\x61\x62\x6C\x65":_0x6529[304],"\x6D\x65\x74\x72\x69\x63":_0x6529[356],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x6529[357]},{"\x69\x64":19,"\x6E\x61\x6D\x65":_0x6529[358],"\x74\x61\x62\x6C\x65":_0x6529[304],"\x6D\x65\x74\x72\x69\x63":_0x6529[359],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x6529[360]},{"\x69\x64":20,"\x6E\x61\x6D\x65":_0x6529[361],"\x74\x61\x62\x6C\x65":_0x6529[304],"\x6D\x65\x74\x72\x69\x63":_0x6529[362],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x6529[363]}];models[_0x6529[529]][_0x6529[524]]({where:{id:1}})[_0x6529[6]](function(){return models[_0x6529[529]][_0x6529[149]]({id:1,tree:_0x6529[530]})})[_0x6529[6]](function(){return models[_0x6529[529]][_0x6529[528]]({where:{id:2},defaults:{id:2,tree:_0x6529[527]}})})[_0x6529[6]](function(){return models[_0x6529[526]][_0x6529[151]]()})[_0x6529[6]](function(_0xc36ex16){var _0xc36ex17=[];_0xc36ex16=_[_0x6529[144]](_0xc36ex16,_0x6529[143]);newDefaultMetrics[_0x6529[150]](function(_0xc36ex18){if(_[_0x6529[145]](_0xc36ex16,_0xc36ex18[_0x6529[143]])){_0xc36ex17[_0x6529[148]](models[_0x6529[526]][_0x6529[146]](_0xc36ex18,{where:{id:_0xc36ex18[_0x6529[143]]}}))}else {_0xc36ex17[_0x6529[148]](models[_0x6529[526]][_0x6529[149]](_0xc36ex18))}});return _0xc36ex17})[_0x6529[19]]()[_0x6529[6]](function(){return models[_0x6529[525]][_0x6529[151]]()})[_0x6529[6]](function(_0xc36ex13){var _0xc36ex14=[];_0xc36ex13=_[_0x6529[144]](_0xc36ex13,_0x6529[143]);newDefaulReports[_0x6529[150]](function(_0xc36ex15){if(_[_0x6529[145]](_0xc36ex13,_0xc36ex15[_0x6529[143]])){_0xc36ex14[_0x6529[148]](models[_0x6529[525]][_0x6529[146]](_0xc36ex15,{where:{id:_0xc36ex15[_0x6529[143]]}}))}else {_0xc36ex14[_0x6529[148]](models[_0x6529[525]][_0x6529[149]](_0xc36ex15))}});return _0xc36ex14})[_0x6529[19]]()[_0x6529[6]](function(){return models[_0x6529[523]][_0x6529[524]]({where:{DefaultReportId:{$gt:0}}})})[_0x6529[6]](function(){return models[_0x6529[523]][_0x6529[69]]([{"\x66\x69\x65\x6C\x64":_0x6529[366],"\x61\x6C\x69\x61\x73":_0x6529[367],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x6529[368],"\x61\x6C\x69\x61\x73":_0x6529[369],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x6529[370],"\x61\x6C\x69\x61\x73":_0x6529[371],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x6529[192],"\x61\x6C\x69\x61\x73":_0x6529[372],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x6529[373],"\x61\x6C\x69\x61\x73":_0x6529[374],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x6529[375],"\x61\x6C\x69\x61\x73":_0x6529[376],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x6529[377],"\x61\x6C\x69\x61\x73":_0x6529[378],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x6529[379],"\x61\x6C\x69\x61\x73":_0x6529[380],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x6529[381],"\x61\x6C\x69\x61\x73":_0x6529[382],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x6529[383],"\x61\x6C\x69\x61\x73":_0x6529[384],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x6529[385],"\x61\x6C\x69\x61\x73":_0x6529[386],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x6529[387],"\x61\x6C\x69\x61\x73":_0x6529[388],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x6529[389],"\x61\x6C\x69\x61\x73":_0x6529[390],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x6529[391],"\x61\x6C\x69\x61\x73":_0x6529[392],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x6529[309],"\x61\x6C\x69\x61\x73":_0x6529[393],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x6529[316],"\x61\x6C\x69\x61\x73":_0x6529[394],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x6529[311],"\x61\x6C\x69\x61\x73":_0x6529[395],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x6529[366],"\x61\x6C\x69\x61\x73":_0x6529[396],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0x6529[397],"\x61\x6C\x69\x61\x73":_0x6529[398],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0x6529[399],"\x61\x6C\x69\x61\x73":_0x6529[400],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0x6529[401],"\x61\x6C\x69\x61\x73":_0x6529[402],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0x6529[403],"\x61\x6C\x69\x61\x73":_0x6529[404],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0x6529[405],"\x61\x6C\x69\x61\x73":_0x6529[406],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0x6529[407],"\x61\x6C\x69\x61\x73":_0x6529[408],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0x6529[409],"\x61\x6C\x69\x61\x73":_0x6529[410],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0x6529[411],"\x61\x6C\x69\x61\x73":_0x6529[412],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0x6529[413],"\x61\x6C\x69\x61\x73":_0x6529[414],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0x6529[415],"\x61\x6C\x69\x61\x73":_0x6529[394],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0x6529[416],"\x61\x6C\x69\x61\x73":_0x6529[417],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0x6529[418],"\x61\x6C\x69\x61\x73":_0x6529[419],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0x6529[420],"\x61\x6C\x69\x61\x73":_0x6529[421],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0x6529[366],"\x61\x6C\x69\x61\x73":_0x6529[396],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0x6529[422],"\x61\x6C\x69\x61\x73":_0x6529[423],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0x6529[401],"\x61\x6C\x69\x61\x73":_0x6529[402],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0x6529[403],"\x61\x6C\x69\x61\x73":_0x6529[404],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0x6529[405],"\x61\x6C\x69\x61\x73":_0x6529[424],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0x6529[413],"\x61\x6C\x69\x61\x73":_0x6529[414],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0x6529[415],"\x61\x6C\x69\x61\x73":_0x6529[394],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0x6529[416],"\x61\x6C\x69\x61\x73":_0x6529[425],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0x6529[418],"\x61\x6C\x69\x61\x73":_0x6529[419],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0x6529[426],"\x61\x6C\x69\x61\x73":_0x6529[427],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0x6529[420],"\x61\x6C\x69\x61\x73":_0x6529[421],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0x6529[399],"\x61\x6C\x69\x61\x73":_0x6529[400],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0x6529[192],"\x61\x6C\x69\x61\x73":_0x6529[372],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":4},{"\x66\x69\x65\x6C\x64":_0x6529[366],"\x61\x6C\x69\x61\x73":_0x6529[428],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[429],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":4},{"\x66\x69\x65\x6C\x64":_0x6529[381],"\x61\x6C\x69\x61\x73":_0x6529[430],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":4},{"\x66\x69\x65\x6C\x64":_0x6529[377],"\x61\x6C\x69\x61\x73":_0x6529[432],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":4},{"\x66\x69\x65\x6C\x64":_0x6529[385],"\x61\x6C\x69\x61\x73":_0x6529[433],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":4},{"\x66\x69\x65\x6C\x64":_0x6529[309],"\x61\x6C\x69\x61\x73":_0x6529[434],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":4},{"\x66\x69\x65\x6C\x64":_0x6529[311],"\x61\x6C\x69\x61\x73":_0x6529[436],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":4},{"\x66\x69\x65\x6C\x64":_0x6529[316],"\x61\x6C\x69\x61\x73":_0x6529[437],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":4},{"\x66\x69\x65\x6C\x64":_0x6529[366],"\x61\x6C\x69\x61\x73":_0x6529[367],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x6529[368],"\x61\x6C\x69\x61\x73":_0x6529[369],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x6529[370],"\x61\x6C\x69\x61\x73":_0x6529[371],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x6529[192],"\x61\x6C\x69\x61\x73":_0x6529[372],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x6529[438],"\x61\x6C\x69\x61\x73":_0x6529[439],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x6529[440],"\x61\x6C\x69\x61\x73":_0x6529[441],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x6529[442],"\x61\x6C\x69\x61\x73":_0x6529[443],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x6529[444],"\x61\x6C\x69\x61\x73":_0x6529[445],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x6529[446],"\x61\x6C\x69\x61\x73":_0x6529[394],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x6529[447],"\x61\x6C\x69\x61\x73":_0x6529[393],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x6529[448],"\x61\x6C\x69\x61\x73":_0x6529[449],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x6529[450],"\x61\x6C\x69\x61\x73":_0x6529[451],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x6529[452],"\x61\x6C\x69\x61\x73":_0x6529[453],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x6529[454],"\x61\x6C\x69\x61\x73":_0x6529[455],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x6529[456],"\x61\x6C\x69\x61\x73":_0x6529[457],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x6529[391],"\x61\x6C\x69\x61\x73":_0x6529[392],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x6529[438],"\x61\x6C\x69\x61\x73":_0x6529[439],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":6},{"\x66\x69\x65\x6C\x64":_0x6529[452],"\x61\x6C\x69\x61\x73":_0x6529[430],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":6},{"\x66\x69\x65\x6C\x64":_0x6529[458],"\x61\x6C\x69\x61\x73":_0x6529[459],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":6},{"\x66\x69\x65\x6C\x64":_0x6529[447],"\x61\x6C\x69\x61\x73":_0x6529[460],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":6},{"\x66\x69\x65\x6C\x64":_0x6529[450],"\x61\x6C\x69\x61\x73":_0x6529[461],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":6},{"\x66\x69\x65\x6C\x64":_0x6529[447],"\x61\x6C\x69\x61\x73":_0x6529[434],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":6},{"\x66\x69\x65\x6C\x64":_0x6529[450],"\x61\x6C\x69\x61\x73":_0x6529[462],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":6},{"\x66\x69\x65\x6C\x64":_0x6529[192],"\x61\x6C\x69\x61\x73":_0x6529[372],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":7},{"\x66\x69\x65\x6C\x64":_0x6529[452],"\x61\x6C\x69\x61\x73":_0x6529[430],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":7},{"\x66\x69\x65\x6C\x64":_0x6529[447],"\x61\x6C\x69\x61\x73":_0x6529[463],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":7},{"\x66\x69\x65\x6C\x64":_0x6529[447],"\x61\x6C\x69\x61\x73":_0x6529[464],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":7},{"\x66\x69\x65\x6C\x64":_0x6529[446],"\x61\x6C\x69\x61\x73":_0x6529[465],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":7},{"\x66\x69\x65\x6C\x64":_0x6529[446],"\x61\x6C\x69\x61\x73":_0x6529[466],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":7},{"\x66\x69\x65\x6C\x64":_0x6529[450],"\x61\x6C\x69\x61\x73":_0x6529[467],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":7},{"\x66\x69\x65\x6C\x64":_0x6529[450],"\x61\x6C\x69\x61\x73":_0x6529[468],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":7},{"\x66\x69\x65\x6C\x64":_0x6529[192],"\x61\x6C\x69\x61\x73":_0x6529[372],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":8},{"\x66\x69\x65\x6C\x64":_0x6529[452],"\x61\x6C\x69\x61\x73":_0x6529[469],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":8},{"\x66\x69\x65\x6C\x64":_0x6529[318],"\x61\x6C\x69\x61\x73":_0x6529[470],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":8},{"\x66\x69\x65\x6C\x64":_0x6529[321],"\x61\x6C\x69\x61\x73":_0x6529[320],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":8},{"\x66\x69\x65\x6C\x64":_0x6529[324],"\x61\x6C\x69\x61\x73":_0x6529[323],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":8},{"\x66\x69\x65\x6C\x64":_0x6529[327],"\x61\x6C\x69\x61\x73":_0x6529[326],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":8},{"\x66\x69\x65\x6C\x64":_0x6529[454],"\x61\x6C\x69\x61\x73":_0x6529[471],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":9},{"\x66\x69\x65\x6C\x64":_0x6529[366],"\x61\x6C\x69\x61\x73":_0x6529[472],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[429],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":9},{"\x66\x69\x65\x6C\x64":_0x6529[366],"\x61\x6C\x69\x61\x73":_0x6529[367],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0x6529[368],"\x61\x6C\x69\x61\x73":_0x6529[369],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0x6529[192],"\x61\x6C\x69\x61\x73":_0x6529[372],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0x6529[373],"\x61\x6C\x69\x61\x73":_0x6529[374],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0x6529[375],"\x61\x6C\x69\x61\x73":_0x6529[376],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0x6529[377],"\x61\x6C\x69\x61\x73":_0x6529[378],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0x6529[379],"\x61\x6C\x69\x61\x73":_0x6529[380],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0x6529[311],"\x61\x6C\x69\x61\x73":_0x6529[473],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0x6529[385],"\x61\x6C\x69\x61\x73":_0x6529[386],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0x6529[387],"\x61\x6C\x69\x61\x73":_0x6529[388],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0x6529[389],"\x61\x6C\x69\x61\x73":_0x6529[390],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0x6529[330],"\x61\x6C\x69\x61\x73":_0x6529[474],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0x6529[475],"\x61\x6C\x69\x61\x73":_0x6529[476],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0x6529[391],"\x61\x6C\x69\x61\x73":_0x6529[392],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0x6529[192],"\x61\x6C\x69\x61\x73":_0x6529[372],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":11},{"\x66\x69\x65\x6C\x64":_0x6529[377],"\x61\x6C\x69\x61\x73":_0x6529[432],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":11},{"\x66\x69\x65\x6C\x64":_0x6529[311],"\x61\x6C\x69\x61\x73":_0x6529[436],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":11},{"\x66\x69\x65\x6C\x64":_0x6529[311],"\x61\x6C\x69\x61\x73":_0x6529[477],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":11},{"\x66\x69\x65\x6C\x64":_0x6529[385],"\x61\x6C\x69\x61\x73":_0x6529[478],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":11},{"\x66\x69\x65\x6C\x64":_0x6529[330],"\x61\x6C\x69\x61\x73":_0x6529[479],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":11},{"\x66\x69\x65\x6C\x64":_0x6529[330],"\x61\x6C\x69\x61\x73":_0x6529[480],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":11},{"\x66\x69\x65\x6C\x64":_0x6529[389],"\x61\x6C\x69\x61\x73":_0x6529[471],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":12},{"\x66\x69\x65\x6C\x64":_0x6529[385],"\x61\x6C\x69\x61\x73":_0x6529[472],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":12},{"\x66\x69\x65\x6C\x64":_0x6529[330],"\x61\x6C\x69\x61\x73":_0x6529[481],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":12},{"\x66\x69\x65\x6C\x64":_0x6529[192],"\x61\x6C\x69\x61\x73":_0x6529[372],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":13},{"\x66\x69\x65\x6C\x64":_0x6529[377],"\x61\x6C\x69\x61\x73":_0x6529[482],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":13},{"\x66\x69\x65\x6C\x64":_0x6529[313],"\x61\x6C\x69\x61\x73":_0x6529[483],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":13},{"\x66\x69\x65\x6C\x64":_0x6529[332],"\x61\x6C\x69\x61\x73":_0x6529[331],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":13},{"\x66\x69\x65\x6C\x64":_0x6529[335],"\x61\x6C\x69\x61\x73":_0x6529[334],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":13},{"\x66\x69\x65\x6C\x64":_0x6529[338],"\x61\x6C\x69\x61\x73":_0x6529[484],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":13},{"\x66\x69\x65\x6C\x64":_0x6529[341],"\x61\x6C\x69\x61\x73":_0x6529[485],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":14},{"\x66\x69\x65\x6C\x64":_0x6529[366],"\x61\x6C\x69\x61\x73":_0x6529[428],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[429],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":14},{"\x66\x69\x65\x6C\x64":_0x6529[381],"\x61\x6C\x69\x61\x73":_0x6529[430],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":14},{"\x66\x69\x65\x6C\x64":_0x6529[377],"\x61\x6C\x69\x61\x73":_0x6529[432],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":14},{"\x66\x69\x65\x6C\x64":_0x6529[385],"\x61\x6C\x69\x61\x73":_0x6529[433],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":14},{"\x66\x69\x65\x6C\x64":_0x6529[309],"\x61\x6C\x69\x61\x73":_0x6529[434],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":14},{"\x66\x69\x65\x6C\x64":_0x6529[311],"\x61\x6C\x69\x61\x73":_0x6529[436],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":14},{"\x66\x69\x65\x6C\x64":_0x6529[316],"\x61\x6C\x69\x61\x73":_0x6529[437],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":14},{"\x66\x69\x65\x6C\x64":_0x6529[344],"\x61\x6C\x69\x61\x73":_0x6529[486],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":15},{"\x66\x69\x65\x6C\x64":_0x6529[366],"\x61\x6C\x69\x61\x73":_0x6529[428],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[429],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":15},{"\x66\x69\x65\x6C\x64":_0x6529[381],"\x61\x6C\x69\x61\x73":_0x6529[430],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":15},{"\x66\x69\x65\x6C\x64":_0x6529[377],"\x61\x6C\x69\x61\x73":_0x6529[432],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":15},{"\x66\x69\x65\x6C\x64":_0x6529[385],"\x61\x6C\x69\x61\x73":_0x6529[433],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":15},{"\x66\x69\x65\x6C\x64":_0x6529[309],"\x61\x6C\x69\x61\x73":_0x6529[434],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":15},{"\x66\x69\x65\x6C\x64":_0x6529[311],"\x61\x6C\x69\x61\x73":_0x6529[436],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":15},{"\x66\x69\x65\x6C\x64":_0x6529[316],"\x61\x6C\x69\x61\x73":_0x6529[437],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":15},{"\x66\x69\x65\x6C\x64":_0x6529[347],"\x61\x6C\x69\x61\x73":_0x6529[487],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":16},{"\x66\x69\x65\x6C\x64":_0x6529[366],"\x61\x6C\x69\x61\x73":_0x6529[428],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[429],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":16},{"\x66\x69\x65\x6C\x64":_0x6529[381],"\x61\x6C\x69\x61\x73":_0x6529[430],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":16},{"\x66\x69\x65\x6C\x64":_0x6529[377],"\x61\x6C\x69\x61\x73":_0x6529[432],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":16},{"\x66\x69\x65\x6C\x64":_0x6529[385],"\x61\x6C\x69\x61\x73":_0x6529[433],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":16},{"\x66\x69\x65\x6C\x64":_0x6529[309],"\x61\x6C\x69\x61\x73":_0x6529[434],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":16},{"\x66\x69\x65\x6C\x64":_0x6529[311],"\x61\x6C\x69\x61\x73":_0x6529[436],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":16},{"\x66\x69\x65\x6C\x64":_0x6529[316],"\x61\x6C\x69\x61\x73":_0x6529[437],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":16},{"\x66\x69\x65\x6C\x64":_0x6529[397],"\x61\x6C\x69\x61\x73":_0x6529[398],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":17},{"\x66\x69\x65\x6C\x64":_0x6529[366],"\x61\x6C\x69\x61\x73":_0x6529[472],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[429],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":17},{"\x66\x69\x65\x6C\x64":_0x6529[418],"\x61\x6C\x69\x61\x73":_0x6529[488],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":17},{"\x66\x69\x65\x6C\x64":_0x6529[418],"\x61\x6C\x69\x61\x73":_0x6529[489],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":17},{"\x66\x69\x65\x6C\x64":_0x6529[420],"\x61\x6C\x69\x61\x73":_0x6529[421],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":18},{"\x66\x69\x65\x6C\x64":_0x6529[366],"\x61\x6C\x69\x61\x73":_0x6529[472],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[429],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":18},{"\x66\x69\x65\x6C\x64":_0x6529[418],"\x61\x6C\x69\x61\x73":_0x6529[488],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":18},{"\x66\x69\x65\x6C\x64":_0x6529[418],"\x61\x6C\x69\x61\x73":_0x6529[489],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":18},{"\x66\x69\x65\x6C\x64":_0x6529[438],"\x61\x6C\x69\x61\x73":_0x6529[439],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":_0x6529[490],"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":19},{"\x66\x69\x65\x6C\x64":_0x6529[491],"\x61\x6C\x69\x61\x73":_0x6529[492],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":_0x6529[490],"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":19},{"\x66\x69\x65\x6C\x64":_0x6529[353],"\x61\x6C\x69\x61\x73":_0x6529[419],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":19},{"\x66\x69\x65\x6C\x64":_0x6529[438],"\x61\x6C\x69\x61\x73":_0x6529[439],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":_0x6529[490],"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":20},{"\x66\x69\x65\x6C\x64":_0x6529[353],"\x61\x6C\x69\x61\x73":_0x6529[419],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":20},{"\x66\x69\x65\x6C\x64":_0x6529[366],"\x61\x6C\x69\x61\x73":_0x6529[367],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x6529[493],"\x61\x6C\x69\x61\x73":_0x6529[494],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x6529[495],"\x61\x6C\x69\x61\x73":_0x6529[496],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22},{"\x66\x69\x65\x6C\x64":_0x6529[497],"\x61\x6C\x69\x61\x73":_0x6529[498],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x6529[438],"\x61\x6C\x69\x61\x73":_0x6529[499],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x6529[500],"\x61\x6C\x69\x61\x73":_0x6529[501],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x6529[502],"\x61\x6C\x69\x61\x73":_0x6529[503],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x6529[504],"\x61\x6C\x69\x61\x73":_0x6529[505],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x6529[506],"\x61\x6C\x69\x61\x73":_0x6529[384],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x6529[507],"\x61\x6C\x69\x61\x73":_0x6529[382],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x6529[508],"\x61\x6C\x69\x61\x73":_0x6529[509],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x6529[510],"\x61\x6C\x69\x61\x73":_0x6529[511],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x6529[512],"\x61\x6C\x69\x61\x73":_0x6529[513],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x6529[438],"\x61\x6C\x69\x61\x73":_0x6529[439],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":23,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x6529[507],"\x61\x6C\x69\x61\x73":_0x6529[514],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":23,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x6529[359],"\x61\x6C\x69\x61\x73":_0x6529[515],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x63\x72\x65\x61\x74\x65\x64\x41\x74":_0x6529[516],"\x75\x70\x64\x61\x74\x65\x64\x41\x74":_0x6529[516],"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":23,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x6529[362],"\x61\x6C\x69\x61\x73":_0x6529[517],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":23,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x6529[356],"\x61\x6C\x69\x61\x73":_0x6529[518],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":23,"\x66\x6F\x72\x6D\x61\x74":_0x6529[519]},{"\x66\x69\x65\x6C\x64":_0x6529[356],"\x61\x6C\x69\x61\x73":_0x6529[520],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":23,"\x66\x6F\x72\x6D\x61\x74":_0x6529[519]},{"\x66\x69\x65\x6C\x64":_0x6529[493],"\x61\x6C\x69\x61\x73":_0x6529[521],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":21,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x6529[366],"\x61\x6C\x69\x61\x73":_0x6529[522],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[429],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":21,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x6529[507],"\x61\x6C\x69\x61\x73":_0x6529[430],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":21,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x6529[510],"\x61\x6C\x69\x61\x73":_0x6529[432],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":21,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x6529[512],"\x61\x6C\x69\x61\x73":_0x6529[433],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":21,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x6529[356],"\x61\x6C\x69\x61\x73":_0x6529[357],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":21,"\x66\x6F\x72\x6D\x61\x74":_0x6529[519]},{"\x66\x69\x65\x6C\x64":_0x6529[356],"\x61\x6C\x69\x61\x73":_0x6529[520],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x6529[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":21,"\x66\x6F\x72\x6D\x61\x74":_0x6529[519]}],{ignoreDuplicates:true,individualHooks:true})})[_0x6529[6]](function(){console[_0x6529[5]](_0x6529[365])})[_0x6529[141]](function(_0xc36ex5){console[_0x6529[5]](_0x6529[364],_0xc36ex5)});models[_0x6529[532]][_0x6529[69]]([{id:1,name:_0x6529[531],defaultEntry:true}],{ignoreDuplicates:true,individualHooks:true})[_0x6529[6]](function(){console[_0x6529[5]](_0x6529[240])});models[_0x6529[555]][_0x6529[69]]([{context:_0x6529[216],exten:_0x6529[534],priority:1,app:_0x6529[535],appdata:_0x6529[536],type:_0x6529[537]},{context:_0x6529[216],exten:_0x6529[534],priority:2,app:_0x6529[535],appdata:_0x6529[538],type:_0x6529[537]},{context:_0x6529[216],exten:_0x6529[534],priority:3,app:_0x6529[539],appdata:_0x6529[540],type:_0x6529[537]},{context:_0x6529[216],exten:_0x6529[534],priority:4,app:_0x6529[541],appdata:_0x6529[542],type:_0x6529[537]},{context:_0x6529[216],exten:_0x6529[534],priority:5,app:_0x6529[543],appdata:_0x6529[544],type:_0x6529[537]},{context:_0x6529[216],exten:_0x6529[534],priority:6,app:_0x6529[543],appdata:_0x6529[545],type:_0x6529[537]},{context:_0x6529[216],exten:_0x6529[534],priority:7,app:_0x6529[543],appdata:_0x6529[546],type:_0x6529[537]},{context:_0x6529[216],exten:_0x6529[534],priority:8,app:_0x6529[543],appdata:_0x6529[547],type:_0x6529[537]},{context:_0x6529[216],exten:_0x6529[534],priority:9,app:_0x6529[543],appdata:_0x6529[548],type:_0x6529[537]},{context:_0x6529[216],exten:_0x6529[534],priority:10,app:_0x6529[543],appdata:_0x6529[549],type:_0x6529[537]},{context:_0x6529[216],exten:_0x6529[534],priority:11,app:_0x6529[543],appdata:_0x6529[550],type:_0x6529[537]},{context:_0x6529[216],exten:_0x6529[534],priority:12,app:_0x6529[543],appdata:_0x6529[551],type:_0x6529[537]},{context:_0x6529[216],exten:_0x6529[534],priority:13,app:_0x6529[552],appdata:_0x6529[553],type:_0x6529[537]},{context:_0x6529[216],exten:_0x6529[534],priority:14,app:_0x6529[554],appdata:_0x6529[540],type:_0x6529[537]}],{ignoreDuplicates:true,individualHooks:true})[_0x6529[6]](function(){console[_0x6529[5]](_0x6529[533])}) \ No newline at end of file +var _0x4773=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x75\x73\x65\x72\x73","\x6C\x6F\x67","\x74\x68\x65\x6E","\x6C\x6F\x63\x61\x6C","\x61\x67\x65\x6E\x74","\x47\x69\x75\x73\x65\x70\x70\x65\x20\x43\x61\x72\x65\x72\x69","\x67\x69\x75\x73\x65\x70\x70\x65\x2E\x63\x61\x72\x65\x72\x69\x40\x78\x63\x61\x6C\x6C\x79\x2E\x63\x6F\x6D","\x67\x69\x75\x73\x65\x70\x70\x65\x2E\x63\x61\x72\x65\x72\x69","\x37\x35\x78\x63\x61\x6C\x6C\x79\x37\x35","\x64\x79\x6E\x61\x6D\x69\x63","\x46\x52\x49\x45\x4E\x44","\x75\x64\x70","\x61\x6C\x61\x77\x3B\x75\x6C\x61\x77\x3B\x67\x73\x6D","\x79\x65\x73","\x66\x6F\x72\x63\x65\x5F\x72\x70\x6F\x72\x74\x2C\x63\x6F\x6D\x65\x64\x69\x61","\x61\x6C\x6C","\x66\x72\x6F\x6D\x2D\x73\x69\x70","\x44\x61\x6E\x69\x65\x6C\x65\x20\x43\x69\x6E\x74\x69","\x64\x61\x6E\x69\x65\x6C\x65\x2E\x63\x69\x6E\x74\x69\x40\x78\x63\x61\x6C\x6C\x79\x2E\x63\x6F\x6D","\x64\x61\x6E\x69\x65\x6C\x65\x2E\x63\x69\x6E\x74\x69","\x41\x6E\x64\x72\x65\x61\x20\x42\x69\x61\x6E\x63\x6F","\x61\x6E\x64\x72\x65\x61\x2E\x62\x69\x61\x6E\x63\x6F\x40\x78\x63\x61\x6C\x6C\x79\x2E\x63\x6F\x6D","\x61\x6E\x64\x72\x65\x61\x2E\x62\x69\x61\x6E\x63\x6F","\x4D\x61\x73\x73\x69\x6D\x69\x6C\x69\x61\x6E\x6F\x20\x42\x75\x6E\x67\x61\x72\x6F","\x6D\x61\x73\x73\x69\x6D\x69\x6C\x69\x61\x6E\x6F\x2E\x62\x75\x6E\x67\x61\x72\x6F\x40\x78\x63\x61\x6C\x6C\x79\x2E\x63\x6F\x6D","\x6D\x61\x73\x73\x69\x6D\x69\x6C\x69\x61\x6E\x6F\x2E\x62\x75\x6E\x67\x61\x72\x6F","\x56\x61\x6C\x65\x72\x69\x6F\x20\x43\x69\x6F\x74\x74\x61","\x76\x61\x6C\x65\x72\x69\x6F\x2E\x63\x69\x6F\x74\x74\x61\x40\x78\x63\x61\x6C\x6C\x79\x2E\x63\x6F\x6D","\x76\x61\x6C\x65\x72\x69\x6F\x2E\x63\x69\x6F\x74\x74\x61","\x61\x64\x6D\x69\x6E","\x43\x6C\x61\x72\x6F\x74\x65\x63\x68","\x63\x6C\x61\x72\x6F\x74\x65\x63\x68\x40\x78\x63\x61\x6C\x6C\x79\x2E\x63\x6F\x6D","\x63\x6C\x61\x72\x6F\x74\x65\x63\x68","\x41\x62\x69\x67\x61\x65\x6C","\x61\x62\x69\x67\x61\x65\x6C\x40\x78\x63\x61\x6C\x6C\x79\x2E\x63\x6F\x6D","\x61\x62\x69\x67\x61\x65\x6C","\x54\x6F\x6E\x79\x20\x52\x75\x73\x73\x65\x6C\x6C","\x74\x6F\x6E\x79\x72\x40\x78\x63\x6C\x61\x72\x6F\x74\x65\x63\x68\x2E\x63\x6F\x2E\x7A\x61","\x74\x6F\x6E\x79\x2E\x72\x75\x73\x73\x65\x6C\x6C","\x43\x6F\x6C\x69\x6E\x20\x46\x61\x69\x72","\x63\x6F\x6C\x69\x6E\x66\x40\x78\x63\x6C\x61\x72\x6F\x74\x65\x63\x68\x2E\x63\x6F\x2E\x7A\x61","\x63\x6F\x6C\x69\x6E\x2E\x66\x61\x69\x72","\x44\x69\x65\x67\x6F\x20\x47\x6F\x73\x6D\x61\x72","\x64\x69\x65\x67\x6F\x2E\x67\x6F\x73\x6D\x61\x72\x40\x78\x63\x61\x6C\x6C\x79\x2E\x63\x6F\x6D","\x64\x69\x65\x67\x6F\x2E\x67\x6F\x73\x6D\x61\x72","\x47\x69\x75\x73\x65\x70\x70\x65\x20\x49\x6E\x6E\x61\x6D\x6F\x72\x61\x74\x6F","\x67\x69\x75\x73\x65\x70\x70\x65\x2E\x69\x6E\x6E\x61\x6D\x6F\x72\x61\x74\x6F\x40\x78\x63\x61\x6C\x6C\x79\x2E\x63\x6F\x6D","\x67\x69\x75\x73\x65\x70\x70\x65\x2E\x69\x6E\x6E\x61\x6D\x6F\x72\x61\x74\x6F","\x75\x70\x64","\x41\x6C\x65\x73\x73\x61\x6E\x64\x72\x61\x20\x42\x65\x73\x73\x6F\x6E\x65","\x61\x6C\x65\x73\x73\x61\x6E\x64\x72\x61\x2E\x62\x65\x73\x73\x6F\x6E\x65\x40\x78\x63\x61\x6C\x6C\x79\x2E\x63\x6F\x6D","\x61\x6C\x65\x73\x73\x61\x6E\x64\x72\x61\x2E\x62\x65\x73\x73\x6F\x6E\x65","\x46\x65\x6C\x69\x63\x65\x20\x42\x72\x69\x73\x63\x65\x73\x65","\x66\x65\x6C\x69\x63\x65\x2E\x62\x72\x69\x73\x63\x65\x73\x65\x40\x78\x63\x61\x6C\x6C\x79\x2E\x63\x6F\x6D","\x66\x65\x6C\x69\x63\x65\x2E\x62\x72\x69\x73\x63\x65\x73\x65","\x78\x43\x61\x6C\x6C\x79","\x69\x6E\x66\x6F\x2E\x78\x63\x61\x6C\x6C\x79\x40\x78\x63\x61\x6C\x6C\x79\x2E\x63\x6F\x6D","\x78\x63\x61\x6C\x6C\x79","\x33\x38\x38\x78\x73\x68\x75\x74\x74\x6C\x65\x33\x38\x38","\x4A\x6F\x68\x6E\x20\x44\x6F\x65","\x6A\x6F\x68\x6E\x2E\x64\x6F\x65\x40\x67\x6D\x61\x69\x6C\x2E\x63\x6F\x6D","\x6A\x6F\x68\x6E\x2E\x64\x6F\x65","\x4A\x61\x6E\x65\x20\x4D\x69\x6C\x6C\x65\x72","\x6A\x61\x6E\x65\x2E\x6D\x69\x6C\x6C\x65\x72\x40\x67\x6D\x61\x69\x6C\x2E\x63\x6F\x6D","\x6A\x61\x6E\x65\x2E\x6D\x69\x6C\x6C\x65\x72","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x55\x73\x65\x72","\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x74\x72\x75\x6E\x6B\x73","\x63\x69\x74\x61\x6C\x69\x61","\x66\x72\x69\x65\x6E\x64","\x70\x6F\x72\x74\x2C\x69\x6E\x76\x69\x74\x65","\x30\x31\x31\x31\x39\x38\x32\x37\x37\x37\x30","\x54\x21\x4E\x50\x6E\x76\x2D\x71\x6A\x43\x4D\x65\x39\x76","\x66\x72\x6F\x6D\x2D\x76\x6F\x69\x70\x2D\x70\x72\x6F\x76\x69\x64\x65\x72","\x69\x74","\x76\x6F\x69\x70\x2E\x65\x75\x74\x65\x6C\x69\x61\x2E\x69\x74","\x72\x66\x63\x32\x38\x33\x33","\x20\x22\x22\x20\x3C\x3E","\x75\x6C\x61\x77\x3B\x61\x6C\x61\x77\x3B\x67\x73\x6D","\x6E\x6F","\x54\x72\x75\x6E\x6B","\x64\x61\x73\x68\x62\x6F\x61\x72\x64","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x44\x41\x53\x48\x42\x4F\x41\x52\x44","\x2F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x2F\x76\x6F\x69\x63\x65","\x79\x6F\x75\x72\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x73","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x59\x4F\x55\x52\x5F\x44\x41\x53\x48\x42\x4F\x41\x52\x44\x53","\x2F\x74\x6F\x6F\x6C\x73\x2F\x79\x6F\x75\x72\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x73\x2F\x73\x68\x6F\x77\x2F\x31","\x73\x74\x61\x66\x66","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x53\x54\x41\x46\x46","\x2F\x73\x74\x61\x66\x66\x2F\x61\x67\x65\x6E\x74\x73\x2F\x6C\x69\x73\x74","\x61\x67\x65\x6E\x74\x73","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x41\x47\x45\x4E\x54\x53","\x63\x6F\x6E\x74\x61\x63\x74\x6D\x61\x6E\x61\x67\x65\x72","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x43\x4F\x4E\x54\x41\x43\x54\x5F\x4D\x41\x4E\x41\x47\x45\x52","\x2F\x63\x6F\x6E\x74\x61\x63\x74\x6D\x61\x6E\x61\x67\x65\x72\x2F\x63\x6F\x6E\x74\x61\x63\x74\x73\x2F\x6C\x69\x73\x74","\x63\x68\x61\x6E\x6E\x65\x6C\x73","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x43\x48\x41\x4E\x4E\x45\x4C\x53","\x2F\x63\x68\x61\x6E\x6E\x65\x6C\x73\x2F\x76\x6F\x69\x63\x65\x2F\x71\x75\x65\x75\x65\x73\x2F\x6C\x69\x73\x74","\x76\x6F\x69\x63\x65","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x56\x4F\x49\x43\x45","\x63\x68\x61\x74","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x43\x48\x41\x54","\x2F\x63\x68\x61\x6E\x6E\x65\x6C\x73\x2F\x63\x68\x61\x74\x2F\x77\x65\x62\x73\x69\x74\x65\x73\x2F\x6C\x69\x73\x74","\x6D\x61\x69\x6C","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x4D\x41\x49\x4C","\x2F\x63\x68\x61\x6E\x6E\x65\x6C\x73\x2F\x6D\x61\x69\x6C\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73\x2F\x6C\x69\x73\x74","\x66\x61\x78","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x46\x41\x58","\x2F\x63\x68\x61\x6E\x6E\x65\x6C\x73\x2F\x66\x61\x78\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73\x2F\x6C\x69\x73\x74","\x73\x6D\x73","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x53\x4D\x53","\x2F\x63\x68\x61\x6E\x6E\x65\x6C\x73\x2F\x73\x6D\x73\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73\x2F\x6C\x69\x73\x74","\x72\x65\x61\x6C\x74\x69\x6D\x65","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x52\x45\x41\x4C\x54\x49\x4D\x45","\x2F\x63\x68\x61\x6E\x6E\x65\x6C\x73\x2F\x72\x65\x61\x6C\x74\x69\x6D\x65\x2F\x76\x69\x65\x77\x2F\x61\x67\x65\x6E\x74\x73","\x74\x6F\x6F\x6C\x73","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x54\x4F\x4F\x4C\x53","\x2F\x74\x6F\x6F\x6C\x73\x2F\x74\x72\x69\x67\x67\x65\x72\x73\x2F\x6C\x69\x73\x74","\x73\x71\x75\x61\x72\x65","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x43\x41\x4C\x4C\x59\x53\x51\x55\x41\x52\x45","\x2F\x73\x71\x75\x61\x72\x65\x2F\x70\x72\x6F\x6A\x65\x63\x74\x73\x2F\x6C\x69\x73\x74","\x6A\x73\x63\x72\x69\x70\x74\x79","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x4A\x53\x43\x52\x49\x50\x54\x59","\x2F\x6A\x73\x63\x72\x69\x70\x74\x79\x2F\x70\x72\x6F\x6A\x65\x63\x74\x73\x2F\x6C\x69\x73\x74","\x6D\x6F\x74\x69\x6F\x6E\x64\x69\x61\x6C\x65\x72","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x4D\x4F\x54\x49\x4F\x4E\x5F\x44\x49\x41\x4C\x45\x52","\x2F\x6D\x6F\x74\x69\x6F\x6E\x64\x69\x61\x6C\x65\x72\x2F\x6C\x69\x73\x74\x73\x2F\x6C\x69\x73\x74","\x61\x6E\x61\x6C\x79\x74\x69\x63\x73","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x41\x4E\x41\x4C\x59\x54\x49\x43\x53","\x2F\x61\x6E\x61\x6C\x79\x74\x69\x63\x73\x2F\x72\x65\x70\x6F\x72\x74\x73\x2F\x6C\x69\x73\x74","\x73\x65\x74\x74\x69\x6E\x67","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x53\x45\x54\x54\x49\x4E\x47\x53","\x2F\x73\x65\x74\x74\x69\x6E\x67\x2F\x75\x70\x64\x61\x74\x65\x73\x2F\x6C\x69\x73\x74","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x49\x4E\x54\x45\x47\x52\x41\x54\x49\x4F\x4E","\x2F\x6D\x61\x72\x6B\x65\x74","\x45\x72\x72\x6F\x72\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x6D\x6F\x64\x75\x6C\x65\x73\x3A","\x63\x61\x74\x63\x68","\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x6D\x6F\x64\x75\x6C\x65\x73","\x69\x64","\x6D\x61\x70","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x75\x70\x64\x61\x74\x65","\x4D\x6F\x64\x75\x6C\x65","\x70\x75\x73\x68","\x63\x72\x65\x61\x74\x65","\x66\x6F\x72\x45\x61\x63\x68","\x66\x69\x6E\x64\x41\x6C\x6C","\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x63\x68\x61\x74\x20\x71\x75\x65\x75\x65\x20\x31","\x61\x64\x64\x55\x73\x65\x72\x73","\x54\x31","\x66\x69\x6E\x64\x4F\x6E\x65","\x54\x65\x61\x6D","\x43\x51\x31","\x43\x51\x31\x20\x44\x65\x73\x63","\x72\x72\x6D\x65\x6D\x6F\x72\x79","\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x6D\x61\x69\x6C\x20\x71\x75\x65\x75\x65\x20\x31","\x74\x65\x61\x6D\x20\x66\x6F\x75\x6E\x64","\x74\x65\x73\x74","\x4D\x51\x31","\x4D\x51\x31\x20\x44\x65\x73\x63","\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x66\x61\x78\x20\x71\x75\x65\x75\x65\x20\x31","\x46\x51\x31","\x46\x51\x31\x20\x44\x65\x73\x63","\x46\x61\x78\x51\x75\x65\x75\x65","\x44\x65\x66\x61\x75\x6C\x74\x20\x54\x65\x61\x6D","\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x6D\x61\x69\x6C\x20\x61\x63\x63\x6F\x75\x6E\x74","\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x6D\x61\x69\x6C\x20\x73\x65\x72\x76\x65\x72\x20\x69\x6E","\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x6D\x61\x69\x6C\x20\x73\x65\x72\x76\x65\x72\x20\x6F\x75\x74","\x73\x6D\x74\x70\x2E\x78\x63\x61\x6C\x6C\x79\x2E\x63\x6F\x6D","\x64\x65\x76\x65\x6C\x6F\x70\x6D\x65\x6E\x74\x40\x78\x63\x61\x6C\x6C\x79\x2E\x63\x6F\x6D","\x70\x68\x6F\x6B\x75\x63\x6C\x6F\x6B\x61","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x4F\x75\x74","\x69\x6D\x61\x70\x2E\x78\x63\x61\x6C\x6C\x79\x2E\x63\x6F\x6D","\x49\x4E\x42\x4F\x58","\x55\x4E\x53\x45\x45\x4E","\x49\x4D\x41\x50","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x49\x6E","\x78\x43\x61\x6C\x6C\x79\x20\x44\x65\x76\x65\x6C\x6F\x70\x6D\x65\x6E\x74","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74","\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x73\x71\x75\x61\x72\x65\x20\x70\x72\x6F\x6A\x65\x63\x74\x73","\x70\x72\x6F\x6A\x65\x63\x74\x31","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E\x20\x70\x72\x6F\x6A\x65\x63\x74","\x53\x71\x75\x61\x72\x65\x50\x72\x6F\x6A\x65\x63\x74","\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x63\x68\x61\x74\x20\x77\x65\x62\x73\x69\x74\x65","\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x63\x68\x61\x74\x20\x77\x65\x62\x73\x69\x74\x65\x20\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x31","\x71\x75\x65\x75\x65","\x43\x68\x61\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x63\x68\x61\x74\x20\x77\x65\x62\x73\x69\x74\x65\x20\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x32","\x78\x43\x61\x6C\x6C\x79\x20\x53\x68\x6F\x70","\x68\x74\x74\x70\x3A\x2F\x2F\x77\x77\x77\x2E\x78\x63\x61\x6C\x6C\x79\x2E\x63\x6F\x6D\x2F\x73\x68\x6F\x70\x2F","\x23\x66\x35\x31\x31\x31\x31","\x68\x74\x74\x70\x3A\x2F\x2F\x6C\x6F\x63\x61\x6C\x68\x6F\x73\x74\x3A\x39\x30\x30\x30","\x73\x71\x75\x61\x72\x65\x64","\x57\x65\x20\x61\x72\x65\x20\x68\x65\x72\x65\x21","\x51\x75\x65\x73\x74\x69\x6F\x6E\x73\x3F\x20\x49\x6E\x73\x65\x72\x74\x20\x79\x6F\x75\x72\x20\x6E\x61\x6D\x65\x20\x61\x6E\x64\x20\x65\x6D\x61\x69\x6C\x20\x61\x64\x64\x72\x65\x73\x73\x20\x74\x6F\x20\x73\x74\x61\x72\x74\x20\x61\x20\x6C\x69\x76\x65\x2D\x63\x68\x61\x74\x20\x77\x69\x74\x68\x20\x6F\x75\x72\x20\x73\x75\x70\x70\x6F\x72\x74\x20\x74\x65\x61\x6D\x2E","\x59\x6F\x75\x72\x20\x6E\x61\x6D\x65","\x59\x6F\x75\x72\x20\x65\x6D\x61\x69\x6C\x20\x61\x64\x64\x72\x65\x73\x73","\x43\x68\x61\x74","\x43\x6F\x6E\x74\x61\x63\x74\x20\x75\x73","\x3C\x73\x74\x72\x6F\x6E\x67\x3E\x57\x65\x27\x72\x65\x20\x6E\x6F\x74\x20\x6F\x6E\x6C\x69\x6E\x65\x2E\x3C\x2F\x73\x74\x72\x6F\x6E\x67\x3E\x3C\x62\x72\x20\x2F\x3E\x49\x74\x20\x64\x6F\x65\x73\x6E\x27\x74\x20\x6D\x65\x61\x6E\x20\x77\x65\x27\x72\x65\x20\x6E\x6F\x74\x20\x74\x68\x65\x72\x65\x20\x74\x6F\x20\x68\x65\x6C\x70\x20\x2D\x20\x6C\x65\x61\x76\x65\x20\x79\x6F\x75\x72\x20\x6D\x65\x73\x73\x61\x67\x65\x20\x62\x65\x6C\x6F\x77\x20\x61\x6E\x64\x20\x77\x65\x27\x6C\x6C\x20\x62\x65\x20\x69\x6E\x20\x74\x6F\x75\x63\x68\x20\x61\x73\x20\x73\x6F\x6F\x6E\x20\x61\x73\x20\x70\x6F\x73\x73\x69\x62\x6C\x65\x2E\x27","\x59\x6F\x75\x72\x20\x6D\x65\x73\x73\x61\x67\x65\x2E\x2E\x2E","\x4C\x65\x61\x76\x65\x20\x6D\x65\x73\x73\x61\x67\x65","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65","\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x76\x61\x72\x69\x61\x62\x6C\x65\x73","\x76\x61\x72\x69\x61\x62\x6C\x65\x31","\x56\x61\x72\x69\x61\x62\x6C\x65","\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x63\x6F\x6E\x74\x65\x78\x74\x20\x76\x61\x72\x69\x61\x62\x6C\x65\x73","\x44\x65\x66\x61\x75\x6C\x74\x20\x63\x6F\x6E\x74\x65\x78\x74\x20\x28\x44\x4F\x20\x4E\x4F\x54\x20\x44\x45\x4C\x45\x54\x45\x29","\x69\x6E\x62\x6F\x75\x6E\x64\x2D\x66\x61\x78","\x6F\x75\x74\x62\x6F\x75\x6E\x64\x2D\x66\x61\x78","\x66\x72\x6F\x6D\x2D\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C","\x56\x6F\x69\x63\x65\x43\x6F\x6E\x74\x65\x78\x74","\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x6D\x6F\x68\x20\x76\x61\x72\x69\x61\x62\x6C\x65\x73","\x64\x65\x66\x61\x75\x6C\x74","\x66\x69\x6C\x65\x73","\x76\x61\x72\x2F\x6C\x69\x62\x2F\x61\x73\x74\x65\x72\x69\x73\x6B\x2F\x6D\x6F\x68","\x61\x6C\x70\x68\x61","\x77\x61\x76","\x56\x6F\x69\x63\x65\x4D\x75\x73\x69\x63\x4F\x6E\x48\x6F\x6C\x64","\x2F\x76\x61\x72\x2F\x6F\x70\x74\x2F\x6D\x6F\x74\x69\x6F\x6E\x2F\x73\x65\x72\x76\x65\x72\x2F\x66\x69\x6C\x65\x73\x2F\x73\x6F\x75\x6E\x64\x73\x2F\x63\x6F\x6E\x76\x65\x72\x74\x65\x64","\x53\x65\x74\x74\x69\x6E\x67\x73","\x4D\x6F\x74\x69\x6F\x6E\x20\x44\x61\x73\x68\x62\x6F\x61\x72\x64","\x63\x6F\x6C\x2D\x6D\x64\x2D\x34","\x63\x6C\x6F\x63\x6B","\x43\x6C\x6F\x63\x6B","\x68\x68\x3A\x6D\x6D\x3A\x73\x73\x20\x61","\x64\x64\x64\x64\x2C\x20\x4D\x4D\x4D\x4D\x20\x44\x6F\x20\x59\x59\x59\x59","\x63\x6F\x6C\x2D\x6D\x64\x2D\x38","\x69\x66\x72\x61\x6D\x65","\x49\x66\x72\x61\x6D\x65","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x64\x65\x6D\x6F\x2E\x78\x63\x61\x6C\x6C\x79\x2E\x63\x6F\x6D\x2F\x73\x68\x6F\x70\x2F","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x44\x61\x73\x68\x62\x6F\x61\x72\x64","\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x73","\x5A\x65\x6E\x64\x65\x73\x6B","\x31\x2E\x30\x2E\x30","\x58\x65\x6E\x69\x61\x4C\x41\x42\x20\x73\x2E\x72\x2E\x6C\x2E","\x61\x73\x73\x65\x74\x73\x2F\x69\x6D\x61\x67\x65\x73\x2F\x6D\x65\x64\x69\x61\x2F\x7A\x65\x6E\x64\x65\x73\x6B\x32\x2E\x70\x6E\x67","\x7A\x65\x6E\x64\x65\x73\x6B","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E\x20\x66\x6F\x72\x20\x5A\x65\x6E\x64\x65\x73\x6B","\x44\x65\x73\x6B\x2E\x63\x6F\x6D","\x61\x73\x73\x65\x74\x73\x2F\x69\x6D\x61\x67\x65\x73\x2F\x6D\x65\x64\x69\x61\x2F\x64\x65\x73\x6B\x32\x2E\x70\x6E\x67","\x64\x65\x73\x6B","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E\x20\x66\x6F\x72\x20\x44\x65\x73\x6B\x2E\x63\x6F\x6D","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65","\x61\x73\x73\x65\x74\x73\x2F\x69\x6D\x61\x67\x65\x73\x2F\x6D\x65\x64\x69\x61\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x32\x2E\x70\x6E\x67","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E\x20\x66\x6F\x72\x20\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65","\x46\x72\x65\x73\x68\x64\x65\x73\x6B","\x61\x73\x73\x65\x74\x73\x2F\x69\x6D\x61\x67\x65\x73\x2F\x6D\x65\x64\x69\x61\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2E\x70\x6E\x67","\x66\x72\x65\x73\x68\x64\x65\x73\x6B","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E\x20\x66\x6F\x72\x20\x46\x72\x65\x73\x68\x64\x65\x73\x6B","\x53\x75\x67\x61\x72\x43\x52\x4D","\x61\x73\x73\x65\x74\x73\x2F\x69\x6D\x61\x67\x65\x73\x2F\x6D\x65\x64\x69\x61\x2F\x73\x75\x67\x61\x72\x63\x72\x6D\x32\x2E\x70\x6E\x67","\x73\x75\x67\x61\x72\x63\x72\x6D","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E\x20\x66\x6F\x72\x20\x53\x75\x67\x61\x72\x43\x52\x4D","\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x51\x75\x65\x75\x65\x20\x2D\x20\x44\x65\x74\x61\x69\x6C\x73","\x6A\x34\x5F\x33","\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x5F\x68\x69\x73\x74\x6F\x72\x79","\x7B\x22\x67\x72\x6F\x75\x70\x22\x3A\x7B\x22\x6F\x70\x65\x72\x61\x74\x6F\x72\x22\x3A\x22\x41\x4E\x44\x22\x2C\x22\x72\x75\x6C\x65\x73\x22\x3A\x5B\x5D\x7D\x7D","\x44\x65\x74\x61\x69\x6C\x73","\x43\x61\x6C\x6C\x73\x20\x64\x65\x74\x61\x69\x6C\x73\x20\x28\x63\x64\x72\x29","\x6A\x32\x30\x5F\x31","\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x5F\x68\x69\x73\x74\x6F\x72\x79","\x4F\x75\x74\x62\x6F\x75\x6E\x64","\x4D\x61\x6E\x75\x61\x6C\x20\x6F\x75\x74\x62\x6F\x75\x6E\x64\x20\x63\x61\x6C\x6C\x73\x20\x64\x65\x74\x61\x69\x6C","\x7B\x22\x67\x72\x6F\x75\x70\x22\x3A\x7B\x22\x6F\x70\x65\x72\x61\x74\x6F\x72\x22\x3A\x22\x41\x4E\x44\x22\x2C\x22\x72\x75\x6C\x65\x73\x22\x3A\x5B\x7B\x22\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x22\x3A\x22\x3D\x22\x2C\x22\x66\x69\x65\x6C\x64\x22\x3A\x22\x74\x79\x70\x65\x22\x2C\x22\x76\x61\x6C\x75\x65\x22\x3A\x22\x6F\x75\x74\x62\x6F\x75\x6E\x64\x22\x7D\x5D\x7D\x7D","\x43\x61\x6C\x6C\x73\x20\x62\x79\x20\x51\x75\x65\x75\x65","\x6A\x34\x5F\x37","\x6A\x34\x5F\x35","\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x5F\x68\x69\x73\x74\x6F\x72\x79","\x7B\x22\x67\x72\x6F\x75\x70\x22\x3A\x7B\x22\x6F\x70\x65\x72\x61\x74\x6F\x72\x22\x3A\x22\x41\x4E\x44\x22\x2C\x22\x72\x75\x6C\x65\x73\x22\x3A\x5B\x7B\x22\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x22\x3A\x22\x3D\x22\x2C\x22\x66\x69\x65\x6C\x64\x22\x3A\x22\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65\x22\x2C\x22\x76\x61\x6C\x75\x65\x22\x3A\x22\x31\x22\x7D\x5D\x7D\x7D","\x43\x61\x6C\x6C\x73\x20\x62\x79\x20\x41\x67\x65\x6E\x74","\x41\x6E\x73\x77\x65\x72\x20\x54\x69\x6D\x65\x20\x62\x79\x20\x51\x75\x65\x75\x65","\x44\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x20\x43\x61\x75\x73\x65","\x6A\x34\x5F\x36","\x7B\x22\x67\x72\x6F\x75\x70\x22\x3A\x7B\x22\x6F\x70\x65\x72\x61\x74\x6F\x72\x22\x3A\x22\x41\x4E\x44\x22\x2C\x22\x72\x75\x6C\x65\x73\x22\x3A\x5B\x7B\x22\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x22\x3A\x22\x3D\x22\x2C\x22\x66\x69\x65\x6C\x64\x22\x3A\x22\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x22\x2C\x22\x76\x61\x6C\x75\x65\x22\x3A\x22\x30\x22\x7D\x5D\x7D\x7D","\x55\x6E\x61\x6E\x73\x77\x65\x72\x65\x64\x20\x62\x79\x20\x51\x75\x65\x75\x65","\x45\x78\x69\x74\x20\x43\x61\x75\x73\x65","\x7B\x22\x67\x72\x6F\x75\x70\x22\x3A\x7B\x22\x6F\x70\x65\x72\x61\x74\x6F\x72\x22\x3A\x22\x41\x4E\x44\x22\x2C\x22\x72\x75\x6C\x65\x73\x22\x3A\x5B\x7B\x22\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x22\x3A\x22\x3D\x22\x2C\x22\x66\x69\x65\x6C\x64\x22\x3A\x22\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x65\x78\x69\x74\x22\x2C\x22\x76\x61\x6C\x75\x65\x22\x3A\x22\x31\x22\x7D\x5D\x7D\x7D","\x41\x62\x61\x6E\x64\x6F\x6E\x20\x54\x69\x6D\x65\x20\x62\x79\x20\x51\x75\x65\x75\x65","\x7B\x22\x67\x72\x6F\x75\x70\x22\x3A\x7B\x22\x6F\x70\x65\x72\x61\x74\x6F\x72\x22\x3A\x22\x41\x4E\x44\x22\x2C\x22\x72\x75\x6C\x65\x73\x22\x3A\x5B\x7B\x22\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x22\x3A\x22\x3D\x22\x2C\x22\x66\x69\x65\x6C\x64\x22\x3A\x22\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x22\x2C\x22\x76\x61\x6C\x75\x65\x22\x3A\x22\x31\x22\x7D\x5D\x7D\x7D","\x43\x61\x6C\x6C\x73\x20\x62\x79\x20\x44\x61\x74\x65","\x43\x61\x6C\x6C\x73\x20\x62\x79\x20\x48\x6F\x75\x72","\x43\x61\x6C\x6C\x73\x20\x62\x79\x20\x44\x61\x79","\x43\x61\x6C\x6C\x73\x20\x62\x79\x20\x54\x79\x70\x65","\x4F\x75\x74\x62\x6F\x75\x6E\x64\x20\x43\x61\x6C\x6C\x73\x20\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x4F\x75\x74\x62\x6F\x75\x6E\x64\x20\x63\x61\x6C\x6C\x73\x20\x67\x72\x6F\x75\x70\x65\x64\x20\x62\x79\x20\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x50\x61\x75\x73\x65\x20\x54\x69\x6D\x65","\x6A\x34\x5F\x34","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x65\x6D\x62\x65\x72\x5F\x68\x69\x73\x74\x6F\x72\x79","\x7B\x22\x67\x72\x6F\x75\x70\x22\x3A\x7B\x22\x6F\x70\x65\x72\x61\x74\x6F\x72\x22\x3A\x22\x41\x4E\x44\x22\x2C\x22\x72\x75\x6C\x65\x73\x22\x3A\x5B\x7B\x22\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x22\x3A\x22\x3D\x22\x2C\x22\x66\x69\x65\x6C\x64\x22\x3A\x22\x74\x79\x70\x65\x22\x2C\x22\x76\x61\x6C\x75\x65\x22\x3A\x22\x50\x41\x55\x53\x45\x22\x7D\x2C\x7B\x22\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x22\x3A\x22\x3D\x22\x2C\x22\x66\x69\x65\x6C\x64\x22\x3A\x22\x63\x68\x61\x6E\x6E\x65\x6C\x22\x2C\x22\x76\x61\x6C\x75\x65\x22\x3A\x22\x76\x6F\x69\x63\x65\x22\x7D\x5D\x7D\x7D","\x4C\x6F\x67\x69\x6E\x20\x54\x69\x6D\x65","\x7B\x22\x67\x72\x6F\x75\x70\x22\x3A\x7B\x22\x6F\x70\x65\x72\x61\x74\x6F\x72\x22\x3A\x22\x41\x4E\x44\x22\x2C\x22\x72\x75\x6C\x65\x73\x22\x3A\x5B\x7B\x22\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x22\x3A\x22\x3D\x22\x2C\x22\x66\x69\x65\x6C\x64\x22\x3A\x22\x74\x79\x70\x65\x22\x2C\x22\x76\x61\x6C\x75\x65\x22\x3A\x22\x4C\x4F\x47\x49\x4E\x22\x7D\x2C\x7B\x22\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x22\x3A\x22\x3D\x22\x2C\x22\x66\x69\x65\x6C\x64\x22\x3A\x22\x63\x68\x61\x6E\x6E\x65\x6C\x22\x2C\x22\x76\x61\x6C\x75\x65\x22\x3A\x22\x76\x6F\x69\x63\x65\x22\x7D\x5D\x7D\x7D","\x57\x65\x62\x73\x69\x74\x65\x20\x53\x75\x6D\x6D\x61\x72\x79","\x6A\x34\x5F\x31","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x73\x65\x73\x73\x69\x6F\x6E\x5F\x68\x69\x73\x74\x6F\x72\x79","\x53\x65\x73\x73\x69\x6F\x6E\x20\x44\x65\x74\x61\x69\x6C","\x43\x68\x61\x74\x20\x62\x79\x20\x41\x67\x65\x6E\x74","\x7B\x22\x67\x72\x6F\x75\x70\x22\x3A\x7B\x22\x6F\x70\x65\x72\x61\x74\x6F\x72\x22\x3A\x22\x41\x4E\x44\x22\x2C\x22\x72\x75\x6C\x65\x73\x22\x3A\x5B\x7B\x22\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x22\x3A\x22\x3D\x22\x2C\x22\x66\x69\x65\x6C\x64\x22\x3A\x22\x63\x6F\x6D\x70\x6C\x65\x74\x65\x22\x2C\x22\x76\x61\x6C\x75\x65\x22\x3A\x22\x31\x22\x7D\x5D\x7D\x7D","\x51\x75\x65\x75\x65\x20\x2D\x20\x54\x61\x6C\x6B\x54\x69\x6D\x65","\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65\x41\x74\x29","\x51\x75\x65\x75\x65\x20\x2D\x20\x41\x62\x61\x6E\x64\x6F\x6E\x20\x54\x69\x6D\x65","\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x41\x62\x61\x6E\x64\x6F\x6E\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29","\x41\x62\x61\x6E\x64\x6F\x6E\x65\x64\x20\x3C\x31\x30\x73","\x43\x4F\x55\x4E\x54\x28\x49\x46\x28\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x41\x62\x61\x6E\x64\x6F\x6E\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29\x20\x3C\x31\x30\x2C\x31\x2C\x4E\x55\x4C\x4C\x29\x29","\x43\x6F\x75\x6E\x74\x20\x6F\x66\x20\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64\x20\x63\x61\x6C\x6C\x73\x20\x77\x69\x74\x68\x69\x6E\x20\x31\x30\x20\x73\x65\x63\x6F\x6E\x64\x73\x20\x28\x53\x68\x6F\x72\x74\x20\x43\x61\x6C\x6C\x73\x29","\x51\x75\x65\x75\x65\x20\x2D\x20\x41\x6E\x73\x77\x65\x72\x54\x69\x6D\x65","\x49\x46\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x3D\x31\x2C\x68\x6F\x6C\x64\x74\x69\x6D\x65\x2C\x6E\x75\x6C\x6C\x29","\x41\x6E\x73\x77\x65\x72\x65\x64\x20\x3C\x20\x31\x30\x73","\x43\x4F\x55\x4E\x54\x28\x49\x46\x28\x68\x6F\x6C\x64\x74\x69\x6D\x65\x3C\x31\x30\x2C\x31\x2C\x4E\x55\x4C\x4C\x29\x29","\x43\x6F\x75\x6E\x74\x20\x6F\x66\x20\x61\x6E\x73\x77\x65\x72\x65\x64\x20\x63\x61\x6C\x6C\x73\x20\x77\x69\x74\x68\x69\x6E\x20\x31\x30\x20\x73\x65\x63\x6F\x6E\x64\x73","\x41\x6E\x73\x77\x65\x72\x65\x64\x20\x31\x30\x2D\x32\x30\x73","\x43\x4F\x55\x4E\x54\x28\x49\x46\x28\x68\x6F\x6C\x64\x74\x69\x6D\x65\x20\x3E\x3D\x31\x30\x20\x41\x4E\x44\x20\x68\x6F\x6C\x64\x74\x69\x6D\x65\x20\x3C\x32\x30\x2C\x31\x2C\x4E\x55\x4C\x4C\x29\x29","\x43\x6F\x75\x6E\x74\x20\x6F\x66\x20\x61\x6E\x73\x77\x65\x72\x65\x64\x20\x63\x61\x6C\x6C\x73\x20\x62\x65\x74\x77\x65\x65\x6E\x20\x31\x30\x20\x61\x6E\x64\x20\x32\x30\x20\x73\x65\x63\x6F\x6E\x64\x73","\x41\x6E\x73\x77\x65\x72\x65\x64\x20\x32\x30\x2D\x33\x30\x73","\x43\x4F\x55\x4E\x54\x28\x49\x46\x28\x68\x6F\x6C\x64\x74\x69\x6D\x65\x20\x3E\x3D\x32\x30\x20\x41\x4E\x44\x20\x68\x6F\x6C\x64\x74\x69\x6D\x65\x20\x3C\x33\x30\x2C\x31\x2C\x4E\x55\x4C\x4C\x29\x29","\x43\x6F\x75\x6E\x74\x20\x6F\x66\x20\x61\x6E\x73\x77\x65\x72\x65\x64\x20\x63\x61\x6C\x6C\x73\x20\x62\x65\x74\x77\x65\x65\x6E\x20\x32\x30\x20\x61\x6E\x64\x20\x33\x30\x20\x73\x65\x63\x6F\x6E\x64\x73","\x41\x6E\x73\x77\x65\x72\x65\x64\x20\x3E\x33\x30\x73","\x43\x4F\x55\x4E\x54\x28\x49\x46\x28\x68\x6F\x6C\x64\x74\x69\x6D\x65\x20\x3E\x3D\x33\x30\x2C\x31\x2C\x4E\x55\x4C\x4C\x29\x29","\x43\x6F\x75\x6E\x74\x20\x6F\x66\x20\x61\x6E\x73\x77\x65\x72\x65\x64\x20\x63\x61\x6C\x6C\x73\x20\x6F\x76\x65\x72\x20\x33\x30\x20\x73\x65\x63\x6F\x6E\x64\x73","\x51\x75\x65\x75\x65\x20\x2D\x20\x45\x78\x69\x74\x20\x54\x69\x6D\x65","\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x45\x78\x69\x74\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29","\x41\x62\x61\x6E\x64\x6F\x6E\x65\x64\x20\x31\x30\x2D\x36\x30\x73","\x43\x4F\x55\x4E\x54\x28\x49\x46\x28\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x41\x62\x61\x6E\x64\x6F\x6E\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29\x20\x3E\x3D\x31\x30\x20\x41\x4E\x44\x20\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x41\x62\x61\x6E\x64\x6F\x6E\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29\x20\x3C\x36\x30\x2C\x31\x2C\x4E\x55\x4C\x4C\x29\x29","\x43\x6F\x75\x6E\x74\x20\x6F\x66\x20\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64\x20\x63\x61\x6C\x6C\x73\x20\x62\x65\x74\x77\x65\x65\x6E\x20\x31\x30\x20\x61\x6E\x64\x20\x36\x30\x20\x73\x65\x63\x6F\x6E\x64\x73","\x41\x62\x61\x6E\x64\x6F\x6E\x65\x64\x20\x36\x30\x2D\x31\x32\x30\x73","\x43\x4F\x55\x4E\x54\x28\x49\x46\x28\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x41\x62\x61\x6E\x64\x6F\x6E\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29\x20\x3E\x3D\x36\x30\x20\x41\x4E\x44\x20\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x41\x62\x61\x6E\x64\x6F\x6E\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29\x20\x3C\x31\x32\x30\x2C\x31\x2C\x4E\x55\x4C\x4C\x29\x29","\x43\x6F\x75\x6E\x74\x20\x6F\x66\x20\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64\x20\x63\x61\x6C\x6C\x73\x20\x62\x65\x74\x77\x65\x65\x6E\x20\x36\x30\x20\x61\x6E\x64\x20\x31\x32\x30\x20\x73\x65\x63\x6F\x6E\x64\x73","\x51\x75\x65\x75\x65\x20\x2D\x20\x41\x62\x61\x6E\x64\x6F\x6E\x65\x64\x20\x3E\x31\x32\x30\x73","\x43\x4F\x55\x4E\x54\x28\x49\x46\x28\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x41\x62\x61\x6E\x64\x6F\x6E\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29\x20\x3E\x3D\x31\x32\x30\x2C\x31\x2C\x4E\x55\x4C\x4C\x29\x29","\x43\x6F\x75\x6E\x74\x20\x6F\x66\x20\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64\x20\x63\x61\x6C\x6C\x73\x20\x6F\x76\x65\x72\x20\x31\x32\x30\x20\x73\x65\x63\x6F\x6E\x64\x73","\x51\x75\x65\x75\x65\x20\x2D\x20\x4A\x6F\x69\x6E\x44\x61\x74\x65","\x44\x41\x54\x45\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x61\x74\x29","\x45\x78\x74\x72\x61\x63\x74\x20\x74\x68\x65\x20\x64\x61\x74\x65\x20\x6F\x66\x20\x74\x68\x65\x20\x6A\x6F\x69\x6E\x20\x71\x75\x65\x75\x65","\x51\x75\x65\x75\x65\x20\x2D\x20\x4A\x6F\x69\x6E\x48\x6F\x75\x72","\x48\x4F\x55\x52\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x61\x74\x29","\x45\x78\x74\x72\x61\x63\x74\x20\x74\x68\x65\x20\x68\x6F\x75\x72\x20\x6F\x66\x20\x74\x68\x65\x20\x6A\x6F\x69\x6E\x20\x71\x75\x65\x75\x65","\x51\x75\x65\x75\x65\x20\x2D\x20\x4A\x6F\x69\x6E\x44\x61\x79","\x44\x41\x59\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x61\x74\x29","\x45\x78\x74\x72\x61\x63\x74\x20\x74\x68\x65\x20\x64\x61\x79\x20\x6F\x66\x20\x74\x68\x65\x20\x6A\x6F\x69\x6E\x20\x71\x75\x65\x75\x65","\x4D\x65\x6D\x62\x65\x72\x20\x2D\x20\x45\x76\x65\x6E\x74\x20\x44\x75\x72\x61\x74\x69\x6F\x6E","\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x65\x78\x69\x74\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x65\x6E\x74\x65\x72\x41\x74\x29","\x4D\x65\x6D\x62\x65\x72\x20\x65\x76\x65\x6E\x74\x20\x64\x75\x72\x61\x74\x69\x6F\x6E\x20\x69\x6E\x20\x73\x65\x63\x6F\x6E\x64\x73","\x4D\x65\x6D\x62\x65\x72\x20\x2D\x20\x54\x6F\x74\x61\x6C\x20\x45\x76\x65\x6E\x74\x20\x44\x75\x72\x61\x74\x69\x6F\x6E","\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x53\x55\x4D\x28\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x65\x78\x69\x74\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x65\x6E\x74\x65\x72\x41\x74\x29\x29\x29","\x54\x6F\x74\x61\x6C\x20\x65\x76\x65\x6E\x74\x20\x64\x75\x72\x61\x74\x69\x6F\x6E","\x43\x68\x61\x74\x20\x2D\x20\x53\x65\x73\x73\x69\x6F\x6E\x20\x54\x69\x6D\x65","\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x63\x6F\x6D\x70\x6C\x65\x74\x65\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x6C\x65\x61\x76\x65\x41\x74\x29","\x53\x65\x73\x73\x69\x6F\x6E\x20\x54\x69\x6D\x65","\x43\x68\x61\x74\x20\x2D\x20\x51\x75\x65\x75\x65","\x43\x4F\x55\x4E\x54\x28\x49\x46\x28\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x3D\x22\x71\x75\x65\x75\x65\x22\x2C\x31\x2C\x4E\x55\x4C\x4C\x29\x29","\x43\x68\x61\x74\x20\x71\x75\x65\x75\x65\x20\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x63\x6F\x75\x6E\x74","\x43\x68\x61\x74\x20\x2D\x20\x41\x67\x65\x6E\x74","\x43\x4F\x55\x4E\x54\x28\x49\x46\x28\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x3D\x22\x61\x67\x65\x6E\x74\x22\x2C\x31\x2C\x4E\x55\x4C\x4C\x29\x29","\x43\x68\x61\x74\x20\x61\x67\x65\x6E\x74\x20\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x63\x6F\x75\x6E\x74","\x45\x72\x72\x6F\x72\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x41\x6E\x61\x6C\x79\x74\x69\x63\x73\x3A","\x50\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x41\x6E\x61\x6C\x79\x74\x69\x63\x73","\x75\x6E\x69\x71\x75\x65\x69\x64","\x55\x6E\x69\x71\x75\x65\x49\x64","\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x75\x6D","\x43\x61\x6C\x6C\x65\x72\x49\x64\x4E\x75\x6D","\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x61\x6D\x65","\x43\x61\x6C\x6C\x65\x72\x49\x64\x4E\x61\x6D\x65","\x51\x75\x65\x75\x65","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74","\x51\x75\x65\x75\x65\x4A\x6F\x69\x6E\x41\x74","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65\x41\x74","\x51\x75\x65\x75\x65\x4C\x65\x61\x76\x65\x41\x74","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E","\x51\x75\x65\x75\x65\x41\x62\x61\x6E\x64\x6F\x6E","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x41\x74","\x51\x75\x65\x75\x65\x41\x62\x61\x6E\x64\x6F\x6E\x41\x74","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x43\x6F\x6D\x70\x6C\x65\x74\x65","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x41\x74","\x43\x6F\x6D\x70\x6C\x65\x74\x65\x41\x74","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x65\x78\x69\x74","\x51\x75\x65\x75\x65\x45\x78\x69\x74","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x65\x78\x69\x74\x41\x74","\x51\x75\x65\x75\x65\x45\x78\x69\x74\x41\x74","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x65\x78\x69\x74\x72\x65\x61\x73\x6F\x6E","\x51\x75\x65\x75\x65\x45\x78\x69\x74\x52\x65\x61\x73\x6F\x6E","\x65\x78\x74\x65\x6E","\x44\x49\x44","\x54\x61\x6C\x6B\x54\x69\x6D\x65","\x41\x6E\x73\x77\x65\x72\x54\x69\x6D\x65","\x41\x62\x61\x6E\x64\x6F\x6E\x54\x69\x6D\x65","\x55\x6E\x69\x71\x75\x65\x49\x44","\x74\x79\x70\x65","\x54\x79\x70\x65","\x74\x61\x67","\x54\x61\x67","\x73\x6F\x75\x72\x63\x65","\x53\x6F\x75\x72\x63\x65","\x64\x65\x73\x74\x69\x6E\x61\x74\x69\x6F\x6E","\x44\x65\x73\x74\x69\x6E\x61\x74\x69\x6F\x6E","\x63\x61\x6C\x6C\x65\x72\x69\x64","\x43\x61\x6C\x6C\x65\x72\x49\x44","\x64\x65\x73\x74\x69\x6E\x61\x74\x69\x6F\x6E\x63\x68\x61\x6E\x6E\x65\x6C","\x44\x65\x73\x74\x43\x68\x61\x6E\x6E\x65\x6C","\x6C\x61\x73\x74\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x4C\x61\x73\x74\x41\x70\x70","\x6C\x61\x73\x74\x64\x61\x74\x61","\x4C\x61\x73\x74\x44\x61\x74\x61","\x73\x74\x61\x72\x74\x74\x69\x6D\x65","\x53\x74\x61\x72\x74\x54\x69\x6D\x65","\x61\x6E\x73\x77\x65\x72\x74\x69\x6D\x65","\x65\x6E\x64\x74\x69\x6D\x65","\x45\x6E\x64\x54\x69\x6D\x65","\x64\x75\x72\x61\x74\x69\x6F\x6E","\x44\x75\x72\x61\x74\x69\x6F\x6E","\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x61\x63\x63\x6F\x75\x6E\x74\x63\x6F\x64\x65","\x41\x67\x65\x6E\x74\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x43\x61\x6C\x6C\x65\x72\x49\x64","\x45\x6E\x64\x54\x49\x6D\x65","\x62\x69\x6C\x6C\x61\x62\x6C\x65\x73\x65\x63\x6F\x6E\x64\x73","\x42\x69\x6C\x6C\x73\x65\x63","\x4F\x66\x66\x65\x72\x65\x64","\x43\x4F\x55\x4E\x54","\x43\x6F\x6D\x70\x6C\x65\x74\x65\x64","\x53\x55\x4D","\x41\x62\x61\x6E\x64\x6F\x6E\x65\x64","\x55\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x41\x76\x67\x54\x61\x6C\x6B\x54\x69\x6D\x65","\x41\x56\x47","\x41\x76\x67\x41\x62\x61\x6E\x64\x6F\x6E\x54\x69\x6D\x65","\x41\x76\x67\x41\x6E\x73\x77\x65\x72\x54\x69\x6D\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x41\x67\x65\x6E\x74","\x61\x67\x65\x6E\x74\x63\x61\x6C\x6C\x65\x64\x41\x74","\x41\x67\x65\x6E\x74\x43\x61\x6C\x6C\x65\x64\x41\x74","\x61\x67\x65\x6E\x74\x63\x6F\x6E\x6E\x65\x63\x74\x41\x74","\x41\x67\x65\x6E\x74\x43\x6F\x6E\x6E\x65\x63\x74\x41\x74","\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65\x41\x74","\x41\x67\x65\x6E\x74\x43\x6F\x6D\x70\x6C\x65\x74\x65\x41\x74","\x68\x6F\x6C\x64\x74\x69\x6D\x65","\x74\x61\x6C\x6B\x74\x69\x6D\x65","\x61\x67\x65\x6E\x74\x61\x63\x77","\x41\x67\x65\x6E\x74\x41\x43\x57","\x61\x63\x77\x74\x69\x6D\x65","\x41\x67\x65\x6E\x74\x41\x43\x57\x54\x69\x6D\x65","\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x41\x67\x65\x6E\x74\x43\x6F\x6D\x70\x6C\x65\x74\x65","\x72\x65\x61\x73\x6F\x6E","\x48\x61\x6E\x67\x75\x70\x52\x65\x61\x73\x6F\x6E","\x6C\x61\x73\x74\x65\x76\x65\x6E\x74","\x4C\x61\x73\x74\x45\x76\x65\x6E\x74","\x61\x67\x65\x6E\x74\x72\x69\x6E\x67\x6E\x6F\x61\x6E\x73\x77\x65\x72","\x52\x69\x6E\x67\x4E\x6F\x41\x6E\x73\x77\x65\x72","\x54\x6F\x74\x54\x61\x6C\x6B\x54\x69\x6D\x65","\x54\x6F\x74\x41\x43\x57\x54\x69\x6D\x65","\x41\x76\x67\x41\x43\x57\x54\x69\x6D\x65","\x54\x6F\x74\x20\x54\x61\x6C\x6B\x54\x69\x6D\x65","\x41\x76\x67\x20\x54\x61\x6C\x6B\x54\x69\x6D\x65","\x54\x6F\x74\x20\x48\x6F\x6C\x64\x54\x69\x6D\x65","\x41\x76\x67\x20\x48\x6F\x6C\x64\x54\x69\x6D\x65","\x54\x6F\x74\x20\x41\x43\x57\x54\x69\x6D\x65","\x41\x76\x67\x20\x41\x43\x57\x54\x69\x6D\x65","\x54\x6F\x74\x20\x41\x6E\x73\x77\x65\x72\x65\x64","\x41\x6E\x73\x77\x65\x72\x65\x64\x20\x3C\x31\x30\x73","\x52\x65\x61\x73\x6F\x6E","\x43\x61\x6C\x6C\x73","\x41\x62\x61\x6E\x64\x6F\x6E\x20\x54\x69\x6D\x65","\x45\x78\x69\x74\x20\x54\x69\x6D\x65","\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x51\x75\x65\x75\x65\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x54\x6F\x74\x20\x41\x62\x61\x6E\x64\x6F\x6E\x54\x69\x6D\x65","\x45\x78\x69\x74\x65\x64","\x41\x76\x67\x20\x45\x78\x69\x74\x65\x64\x54\x49\x6D\x65","\x54\x6F\x74\x20\x45\x78\x69\x74\x65\x64\x54\x69\x6D\x65","\x54\x6F\x74\x20\x45\x78\x69\x74\x54\x69\x6D\x65","\x54\x6F\x74\x20\x41\x62\x61\x6E\x64\x6F\x6E\x65\x64","\x41\x62\x61\x6E\x64\x6F\x6E\x65\x64\x3C\x31\x30\x73","\x41\x62\x61\x6E\x64\x6F\x6E\x65\x64\x3E\x31\x32\x30\x73","\x44\x61\x74\x65","\x48\x6F\x75\x72","\x44\x61\x79","\x54\x6F\x74\x20\x44\x75\x72\x61\x74\x69\x6F\x6E","\x41\x76\x67\x20\x44\x75\x72\x61\x74\x69\x6F\x6E","\x41\x53\x43","\x64\x61\x74\x61\x31","\x50\x61\x75\x73\x65\x54\x79\x70\x65","\x77\x65\x62\x73\x69\x74\x65\x6E\x61\x6D\x65","\x57\x65\x62\x73\x69\x74\x65","\x76\x69\x73\x69\x74\x6F\x72\x6E\x61\x6D\x65","\x56\x69\x73\x69\x74\x6F\x72\x4E\x61\x6D\x65","\x76\x69\x73\x69\x74\x6F\x72\x65\x6D\x61\x69\x6C","\x56\x69\x73\x69\x74\x6F\x72\x45\x6D\x61\x69\x6C","\x4D\x65\x6D\x65\x62\x65\x72\x4E\x61\x6D\x65","\x71\x75\x65\x75\x65\x6E\x61\x6D\x65","\x51\x75\x65\x75\x65\x4E\x61\x6D\x65","\x6A\x6F\x69\x6E\x41\x74","\x4A\x6F\x69\x6E\x41\x74","\x6C\x65\x61\x76\x65\x41\x74","\x4C\x65\x61\x76\x65\x41\x74","\x63\x6F\x6D\x70\x6C\x65\x74\x65\x41\x74","\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x63\x6F\x6D\x70\x6C\x65\x74\x65\x52\x65\x61\x73\x6F\x6E","\x43\x6F\x6D\x70\x6C\x65\x74\x65\x52\x65\x61\x73\x6F\x6E","\x61\x62\x61\x6E\x64\x6F\x6E","\x41\x62\x61\x6E\x64\x6F\x6E","\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x55\x6E\x6D\x61\x6E\x61\x67\x65","\x53\x65\x73\x73\x69\x6F\x6E","\x46\x72\x6F\x6D\x51\x75\x65\x75\x65","\x32\x30\x31\x36\x2D\x30\x35\x2D\x31\x34\x20\x31\x38\x3A\x31\x33\x3A\x30\x31","\x44\x69\x72\x65\x63\x74\x54\x6F\x41\x67\x65\x6E\x74","\x54\x6F\x74\x20\x53\x65\x73\x73\x69\x6F\x6E\x20\x54\x69\x6D\x65","\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45","\x41\x76\x67\x20\x53\x65\x73\x73\x69\x6F\x6E\x20\x54\x69\x6D\x65","\x57\x65\x62\x53\x69\x74\x65","\x53\x65\x73\x73\x69\x6F\x6E\x73","\x52\x65\x70\x6F\x72\x74\x46\x69\x65\x6C\x64","\x64\x65\x73\x74\x72\x6F\x79","\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74","\x44\x65\x66\x61\x75\x6C\x74\x4D\x65\x74\x72\x69\x63","\x5B\x7B\x22\x69\x64\x22\x3A\x22\x31\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x43\x75\x73\x74\x6F\x6D\x20\x52\x65\x70\x6F\x72\x74\x73\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x22\x69\x63\x6F\x6E\x2D\x62\x6F\x6F\x6B\x2D\x6F\x70\x65\x6E\x22\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x31\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x31\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x23\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x32\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x42\x61\x73\x69\x63\x20\x4E\x6F\x64\x65\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x32\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x32\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x31\x22\x7D\x5D","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x52\x65\x70\x6F\x72\x74\x54\x72\x65\x65","\x5B\x7B\x22\x69\x64\x22\x3A\x22\x31\x22\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x23\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x4D\x6F\x74\x69\x6F\x6E\x20\x52\x65\x70\x6F\x72\x74\x73\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x22\x69\x63\x6F\x6E\x2D\x72\x6F\x63\x6B\x65\x74\x22\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x74\x72\x75\x65\x7D\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x32\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x56\x6F\x69\x63\x65\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x32\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x32\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x31\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x33\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x51\x75\x65\x75\x65\x73\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x33\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x33\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x32\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x35\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x41\x6E\x73\x77\x65\x72\x65\x64\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x35\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x35\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x6A\x34\x5F\x33\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x36\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x55\x6E\x61\x6E\x73\x77\x65\x72\x65\x64\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x36\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x36\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x6A\x34\x5F\x33\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x37\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x44\x69\x73\x74\x72\x69\x62\x75\x74\x69\x6F\x6E\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x37\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x37\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x6A\x34\x5F\x33\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x6A\x32\x30\x5F\x31\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x43\x61\x6C\x6C\x73\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x6A\x32\x30\x5F\x31\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x6A\x32\x30\x5F\x31\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x32\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x34\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x41\x67\x65\x6E\x74\x73\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x34\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x34\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x32\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x6A\x31\x31\x32\x5F\x31\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x43\x61\x6C\x6C\x79\x53\x71\x75\x61\x72\x65\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x6A\x31\x31\x32\x5F\x31\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x6A\x31\x31\x32\x5F\x31\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x32\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x6A\x32\x30\x5F\x32\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x6A\x32\x30\x5F\x32\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x6A\x32\x30\x5F\x32\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x32\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x31\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x43\x68\x61\x74\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x31\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x31\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x31\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x32\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x4D\x61\x69\x6C\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x32\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x32\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x31\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x6A\x32\x34\x5F\x31\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x41\x67\x65\x6E\x74\x73\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x6A\x32\x34\x5F\x31\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x6A\x32\x34\x5F\x31\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x31\x22\x7D\x5D","\x4D\x6F\x74\x69\x6F\x6E\x20\x53\x65\x72\x76\x69\x63\x65","\x4C\x69\x73\x74","\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x20\x66\x6F\x72\x20\x4F\x75\x74\x67\x6F\x69\x6E\x67\x20\x46\x61\x78","\x5F\x2E","\x4E\x6F\x4F\x70","\x4F\x75\x74\x67\x6F\x69\x6E\x67\x20\x66\x61\x78\x20\x74\x6F\x20\x24\x7B\x46\x41\x58\x4E\x55\x4D\x42\x45\x52\x7D","\x73\x79\x73\x74\x65\x6D","\x41\x63\x63\x6F\x75\x6E\x74\x20\x24\x7B\x46\x41\x58\x4E\x41\x4D\x45\x7D","\x53\x65\x74","\x43\x44\x52\x28\x74\x79\x70\x65\x29\x3D\x6F\x75\x74\x62\x6F\x75\x6E\x64\x2D\x66\x61\x78","\x41\x6E\x73\x77\x65\x72","","\x57\x61\x69\x74","\x32","\x46\x41\x58\x4F\x50\x54\x28\x65\x63\x6D\x29\x3D\x24\x7B\x46\x41\x58\x45\x43\x4D\x7D","\x46\x41\x58\x4F\x50\x54\x28\x68\x65\x61\x64\x65\x72\x69\x6E\x66\x6F\x29\x3D\x24\x7B\x46\x41\x58\x48\x45\x41\x44\x45\x52\x49\x4E\x46\x4F\x7D","\x46\x41\x58\x4F\x50\x54\x28\x6C\x6F\x63\x61\x6C\x73\x74\x61\x74\x69\x6F\x6E\x69\x64\x29\x3D\x24\x7B\x46\x41\x58\x4C\x4F\x43\x41\x4C\x53\x54\x41\x54\x49\x4F\x4E\x49\x44\x7D","\x46\x41\x58\x4F\x50\x54\x28\x6D\x69\x6E\x72\x61\x74\x65\x29\x3D\x24\x7B\x46\x41\x58\x4D\x49\x4E\x52\x41\x54\x45\x7D","\x46\x41\x58\x4F\x50\x54\x28\x6D\x61\x78\x72\x61\x74\x65\x29\x3D\x24\x7B\x46\x41\x58\x4D\x41\x58\x52\x41\x54\x45\x7D","\x46\x41\x58\x4F\x50\x54\x28\x6D\x6F\x64\x65\x6D\x29\x3D\x24\x7B\x46\x41\x58\x4D\x4F\x44\x45\x4D\x7D","\x46\x41\x58\x4F\x50\x54\x28\x67\x61\x74\x65\x77\x61\x79\x29\x3D\x24\x7B\x46\x41\x58\x47\x41\x54\x45\x57\x41\x59\x7D","\x46\x41\x58\x4F\x50\x54\x28\x74\x33\x38\x74\x69\x6D\x65\x6F\x75\x74\x29\x3D\x24\x7B\x46\x41\x58\x54\x33\x38\x54\x49\x4D\x45\x4F\x55\x54\x7D","\x53\x65\x6E\x64\x46\x41\x58","\x24\x7B\x46\x41\x58\x4F\x55\x54\x46\x49\x4C\x45\x7D\x2C\x64\x73","\x48\x61\x6E\x67\x75\x70","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E"];_0x4773[0];var _=require(_0x4773[1]);var models=require(_0x4773[2]);var sequelize=require(_0x4773[2])[_0x4773[3]];models[_0x4773[70]][_0x4773[69]]([{provider:_0x4773[7],role:_0x4773[8],fullname:_0x4773[9],email:_0x4773[10],name:_0x4773[11],password:_0x4773[12],defaultuser:_0x4773[11],host:_0x4773[13],type:_0x4773[14],transport:_0x4773[15],allow:_0x4773[16],qualify:_0x4773[17],nat:_0x4773[18],disallow:_0x4773[19],context:_0x4773[20],internal:1000},{provider:_0x4773[7],role:_0x4773[8],fullname:_0x4773[21],email:_0x4773[22],name:_0x4773[23],password:_0x4773[12],defaultuser:_0x4773[23],host:_0x4773[13],type:_0x4773[14],transport:_0x4773[15],allow:_0x4773[16],qualify:_0x4773[17],nat:_0x4773[18],disallow:_0x4773[19],context:_0x4773[20],internal:1001},{provider:_0x4773[7],role:_0x4773[8],fullname:_0x4773[24],email:_0x4773[25],name:_0x4773[26],password:_0x4773[12],defaultuser:_0x4773[26],host:_0x4773[13],type:_0x4773[14],transport:_0x4773[15],allow:_0x4773[16],qualify:_0x4773[17],nat:_0x4773[18],disallow:_0x4773[19],context:_0x4773[20],internal:1002},{provider:_0x4773[7],role:_0x4773[8],fullname:_0x4773[27],email:_0x4773[28],name:_0x4773[29],password:_0x4773[12],defaultuser:_0x4773[29],host:_0x4773[13],type:_0x4773[14],transport:_0x4773[15],allow:_0x4773[16],qualify:_0x4773[17],nat:_0x4773[18],disallow:_0x4773[19],context:_0x4773[20],internal:1003},{provider:_0x4773[7],role:_0x4773[8],fullname:_0x4773[30],email:_0x4773[31],name:_0x4773[32],password:_0x4773[12],defaultuser:_0x4773[32],host:_0x4773[13],type:_0x4773[14],transport:_0x4773[15],allow:_0x4773[16],qualify:_0x4773[17],nat:_0x4773[18],disallow:_0x4773[19],context:_0x4773[20],internal:1004},{provider:_0x4773[7],role:_0x4773[33],fullname:_0x4773[34],email:_0x4773[35],name:_0x4773[36],password:_0x4773[36],defaultuser:_0x4773[36],host:_0x4773[13],type:_0x4773[14],transport:_0x4773[15],allow:_0x4773[16],qualify:_0x4773[17],nat:_0x4773[18],disallow:_0x4773[19],context:_0x4773[20],internal:1005},{provider:_0x4773[7],role:_0x4773[8],fullname:_0x4773[37],email:_0x4773[38],name:_0x4773[39],password:_0x4773[12],defaultuser:_0x4773[39],host:_0x4773[13],type:_0x4773[14],transport:_0x4773[15],allow:_0x4773[16],qualify:_0x4773[17],nat:_0x4773[18],disallow:_0x4773[19],context:_0x4773[20],internal:1006},{provider:_0x4773[7],role:_0x4773[8],fullname:_0x4773[40],email:_0x4773[41],name:_0x4773[42],password:_0x4773[36],defaultuser:_0x4773[42],host:_0x4773[13],type:_0x4773[14],transport:_0x4773[15],allow:_0x4773[16],qualify:_0x4773[17],nat:_0x4773[18],disallow:_0x4773[19],context:_0x4773[20],internal:1007},{provider:_0x4773[7],role:_0x4773[8],fullname:_0x4773[43],email:_0x4773[44],name:_0x4773[45],password:_0x4773[36],defaultuser:_0x4773[45],host:_0x4773[13],type:_0x4773[14],transport:_0x4773[15],allow:_0x4773[16],qualify:_0x4773[17],nat:_0x4773[18],disallow:_0x4773[19],context:_0x4773[20],internal:1008},{provider:_0x4773[7],role:_0x4773[8],fullname:_0x4773[46],email:_0x4773[47],name:_0x4773[48],password:_0x4773[12],defaultuser:_0x4773[48],host:_0x4773[13],type:_0x4773[14],transport:_0x4773[15],allow:_0x4773[16],qualify:_0x4773[17],nat:_0x4773[18],disallow:_0x4773[19],context:_0x4773[20],internal:1009},{provider:_0x4773[7],role:_0x4773[8],fullname:_0x4773[49],email:_0x4773[50],name:_0x4773[51],password:_0x4773[12],defaultuser:_0x4773[51],host:_0x4773[13],type:_0x4773[14],transport:_0x4773[52],allow:_0x4773[16],qualify:_0x4773[17],nat:_0x4773[18],disallow:_0x4773[19],context:_0x4773[20],internal:1010},{provider:_0x4773[7],role:_0x4773[8],fullname:_0x4773[53],email:_0x4773[54],name:_0x4773[55],password:_0x4773[12],defaultuser:_0x4773[55],host:_0x4773[13],type:_0x4773[14],transport:_0x4773[52],allow:_0x4773[16],qualify:_0x4773[17],nat:_0x4773[18],disallow:_0x4773[19],context:_0x4773[20],internal:1011},{provider:_0x4773[7],role:_0x4773[8],fullname:_0x4773[56],email:_0x4773[57],name:_0x4773[58],password:_0x4773[12],defaultuser:_0x4773[58],host:_0x4773[13],type:_0x4773[14],transport:_0x4773[52],allow:_0x4773[16],qualify:_0x4773[17],nat:_0x4773[18],disallow:_0x4773[19],context:_0x4773[20],internal:1012},{provider:_0x4773[7],role:_0x4773[33],fullname:_0x4773[59],email:_0x4773[60],name:_0x4773[61],password:_0x4773[62],defaultuser:_0x4773[61],host:_0x4773[13],type:_0x4773[14],transport:_0x4773[15],allow:_0x4773[16],qualify:_0x4773[17],nat:_0x4773[18],disallow:_0x4773[19],context:_0x4773[20],internal:1013},{provider:_0x4773[7],role:_0x4773[8],fullname:_0x4773[63],email:_0x4773[64],name:_0x4773[65],password:_0x4773[12],defaultuser:_0x4773[65],host:_0x4773[13],type:_0x4773[14],transport:_0x4773[15],allow:_0x4773[16],qualify:_0x4773[17],nat:_0x4773[18],disallow:_0x4773[19],context:_0x4773[20],internal:1014},{provider:_0x4773[7],role:_0x4773[8],fullname:_0x4773[66],email:_0x4773[67],name:_0x4773[68],password:_0x4773[12],defaultuser:_0x4773[68],host:_0x4773[13],type:_0x4773[14],transport:_0x4773[15],allow:_0x4773[16],qualify:_0x4773[17],nat:_0x4773[18],disallow:_0x4773[19],context:_0x4773[20],internal:1015}],{ignoreDuplicates:true,individualHooks:true})[_0x4773[6]](function(){console[_0x4773[5]](_0x4773[4])});models[_0x4773[84]][_0x4773[69]]([{name:_0x4773[72],type:_0x4773[73],insecure:_0x4773[74],defaultuser:_0x4773[75],secret:_0x4773[76],password:_0x4773[76],context:_0x4773[77],language:_0x4773[78],host:_0x4773[79],fromdomain:_0x4773[79],dtmfmode:_0x4773[80],qualify:_0x4773[17],nat:_0x4773[18],callerid:_0x4773[81],limitonpeers:_0x4773[17],callcounter:_0x4773[17],disallow:_0x4773[19],allow:_0x4773[82],canreinvite:_0x4773[83],directmedia:_0x4773[83]}],{ignoreDuplicates:true,individualHooks:true})[_0x4773[6]](function(){console[_0x4773[5]](_0x4773[71])});var newModules=[{id:1,name:_0x4773[85],title:_0x4773[86],ModuleId:null,path:_0x4773[87]},{id:2,name:_0x4773[88],title:_0x4773[89],ModuleId:null,path:_0x4773[90]},{id:3,name:_0x4773[91],title:_0x4773[92],ModuleId:null,path:_0x4773[93]},{id:4,name:_0x4773[94],title:_0x4773[95],ModuleId:3,path:_0x4773[93]},{id:5,name:_0x4773[96],title:_0x4773[97],ModuleId:null,path:_0x4773[98]},{id:6,name:_0x4773[99],title:_0x4773[100],ModuleId:null,path:_0x4773[101]},{id:7,name:_0x4773[102],title:_0x4773[103],ModuleId:6,path:_0x4773[101]},{id:8,name:_0x4773[104],title:_0x4773[105],ModuleId:6,path:_0x4773[106]},{id:9,name:_0x4773[107],title:_0x4773[108],ModuleId:6,path:_0x4773[109]},{id:10,name:_0x4773[110],title:_0x4773[111],ModuleId:6,path:_0x4773[112]},{id:11,name:_0x4773[113],title:_0x4773[114],ModuleId:6,path:_0x4773[115]},{id:12,name:_0x4773[116],title:_0x4773[117],ModuleId:6,path:_0x4773[118]},{id:13,name:_0x4773[119],title:_0x4773[120],ModuleId:null,path:_0x4773[121]},{id:14,name:_0x4773[122],title:_0x4773[123],ModuleId:null,path:_0x4773[124]},{id:15,name:_0x4773[125],title:_0x4773[126],ModuleId:null,path:_0x4773[127]},{id:16,name:_0x4773[128],title:_0x4773[129],ModuleId:null,path:_0x4773[130]},{id:17,name:_0x4773[131],title:_0x4773[132],ModuleId:null,path:_0x4773[133]},{id:18,name:_0x4773[134],title:_0x4773[135],ModuleId:null,path:_0x4773[136]},{id:19,name:_0x4773[137],title:_0x4773[138],ModuleId:null,path:_0x4773[139]}];models[_0x4773[147]][_0x4773[151]]()[_0x4773[6]](function(_0x3741x6){var _0x3741x7=[];_0x3741x6=_[_0x4773[144]](_0x3741x6,_0x4773[143]);newModules[_0x4773[150]](function(_0x3741x8){if(_[_0x4773[145]](_0x3741x6,_0x3741x8[_0x4773[143]])){_0x3741x7[_0x4773[148]](models[_0x4773[147]][_0x4773[146]](_0x3741x8,{where:{id:_0x3741x8[_0x4773[143]]}}))}else {_0x3741x7[_0x4773[148]](models[_0x4773[147]][_0x4773[149]](_0x3741x8))}});return _0x3741x7})[_0x4773[19]]()[_0x4773[6]](function(){console[_0x4773[5]](_0x4773[142])})[_0x4773[141]](function(_0x3741x5){console[_0x4773[5]](_0x4773[140],_0x3741x5)});models[_0x4773[156]][_0x4773[149]]({name:_0x4773[154],description:_0x4773[171],defaultEntry:true})[_0x4773[6]](function(_0x3741x9){models[_0x4773[70]][_0x4773[151]]({where:{role:_0x4773[8]}})[_0x4773[6]](function(_0x3741xa){_0x3741x9[_0x4773[153]](_[_0x4773[144]](_0x3741xa,_0x4773[143]))[_0x4773[6]](function(){models[_0x4773[160]][_0x4773[149]]({name:_0x4773[157],description:_0x4773[158],timeout:5,strategy:_0x4773[159]})[_0x4773[6]](function(_0x3741xb){console[_0x4773[5]](_0x4773[152]);models[_0x4773[156]][_0x4773[155]]({where:{name:_0x4773[154]},include:[{all:true}]})[_0x4773[6]](function(_0x3741x9){_0x3741xb[_0x4773[153]](_[_0x4773[144]](_0x3741x9.Users,_0x4773[143]))[_0x4773[141]](function(_0x3741x5){})})[_0x4773[141]](function(_0x3741x5){})});models[_0x4773[166]][_0x4773[149]]({name:_0x4773[164],description:_0x4773[165],timeout:5,strategy:_0x4773[159]})[_0x4773[6]](function(_0x3741xc){console[_0x4773[5]](_0x4773[161]);models[_0x4773[156]][_0x4773[155]]({where:{name:_0x4773[154]},include:[{all:true}]})[_0x4773[6]](function(_0x3741x9){if(_0x3741x9){console[_0x4773[5]](_0x4773[162])}else {console[_0x4773[5]](_0x4773[163])};_0x3741xc[_0x4773[153]](_[_0x4773[144]](_0x3741x9.Users,_0x4773[143]))[_0x4773[141]](function(_0x3741x5){})})[_0x4773[141]](function(_0x3741x5){})});models[_0x4773[170]][_0x4773[149]]({name:_0x4773[168],description:_0x4773[169],timeout:5,strategy:_0x4773[159]})[_0x4773[6]](function(_0x3741xd){console[_0x4773[5]](_0x4773[167]);models[_0x4773[156]][_0x4773[155]]({where:{name:_0x4773[154]},include:[{all:true}]})[_0x4773[6]](function(_0x3741x9){_0x3741xd[_0x4773[153]](_[_0x4773[144]](_0x3741x9.Users,_0x4773[143]))[_0x4773[141]](function(_0x3741x5){})})[_0x4773[141]](function(_0x3741x5){})})})[_0x4773[141]](function(_0x3741x5){})})[_0x4773[141]](function(_0x3741x5){})})[_0x4773[141]](function(_0x3741x5){});models[_0x4773[185]][_0x4773[149]]({name:_0x4773[184],description:_0x4773[184],address:_0x4773[176]})[_0x4773[6]](function(_0x3741xe){console[_0x4773[5]](_0x4773[172]);models[_0x4773[183]][_0x4773[149]]({description:_0x4773[61],host:_0x4773[179],username:_0x4773[176],password:_0x4773[177],port:143,mailbox:_0x4773[180],ssl:false,delete:false,filter:_0x4773[181],protocol:_0x4773[182],MailAccountId:_0x3741xe[_0x4773[143]]})[_0x4773[6]](function(){console[_0x4773[5]](_0x4773[173]);models[_0x4773[178]][_0x4773[149]]({description:_0x4773[61],host:_0x4773[175],username:_0x4773[176],password:_0x4773[177],port:587,ssl:false,MailAccountId:_0x3741xe[_0x4773[143]]})[_0x4773[6]](function(){console[_0x4773[5]](_0x4773[174])})[_0x4773[141]](function(_0x3741x5){})})[_0x4773[141]](function(_0x3741x5){})});models[_0x4773[189]][_0x4773[69]]([{name:_0x4773[187],description:_0x4773[188]}],{ignoreDuplicates:true})[_0x4773[6]](function(){console[_0x4773[5]](_0x4773[186])});models[_0x4773[209]][_0x4773[149]]({name:_0x4773[195],description:_0x4773[195],address:_0x4773[196],color:_0x4773[197],color_focus:_0x4773[197],color_button:_0x4773[197],remote:_0x4773[198],animation:true,header_shape:_0x4773[199],header_online:_0x4773[200],online_message:_0x4773[201],username_placeholder:_0x4773[202],email_placeholder:_0x4773[203],start_chat_button:_0x4773[204],header_offline:_0x4773[205],offline_message:_0x4773[206],enquiry_message_placeholder:_0x4773[207],enquiry_button:_0x4773[208],download_transcript:true})[_0x4773[6]](function(_0x3741xf){console[_0x4773[5]](_0x4773[190]);models[_0x4773[160]][_0x4773[151]]()[_0x4773[6]](function(_0x3741x10){models[_0x4773[193]][_0x4773[149]]({app:_0x4773[192],appdata:_0x3741x10[0][_0x4773[143]],priority:1,timeout:30,ChatWebsiteId:_0x3741xf[_0x4773[143]],ChatQueueId:_0x3741x10[0][_0x4773[143]]})[_0x4773[6]](function(){console[_0x4773[5]](_0x4773[191])})[_0x4773[141]](function(_0x3741x5){});models[_0x4773[193]][_0x4773[149]]({app:_0x4773[192],appdata:_0x3741x10[1][_0x4773[143]],priority:2,timeout:30,ChatWebsiteId:_0x3741xf[_0x4773[143]],ChatQueueId:_0x3741x10[1][_0x4773[143]]})[_0x4773[6]](function(){console[_0x4773[5]](_0x4773[194])})[_0x4773[141]](function(_0x3741x5){})})[_0x4773[141]](function(_0x3741x5){})})[_0x4773[141]](function(_0x3741x5){});models[_0x4773[212]][_0x4773[69]]([{name:_0x4773[211],description:_0x4773[188]}],{ignoreDuplicates:true})[_0x4773[6]](function(){console[_0x4773[5]](_0x4773[210])});models[_0x4773[218]][_0x4773[69]]([{name:_0x4773[20],description:_0x4773[214],defaultEntry:true},{name:_0x4773[77],description:_0x4773[214],defaultEntry:true},{name:_0x4773[215],description:_0x4773[214],defaultEntry:true},{name:_0x4773[216],description:_0x4773[214],defaultEntry:true},{name:_0x4773[217],description:_0x4773[214],defaultEntry:true}],{ignoreDuplicates:true,individualHooks:true})[_0x4773[6]](function(){console[_0x4773[5]](_0x4773[213])});models[_0x4773[225]][_0x4773[69]]([{name:_0x4773[220],mode:_0x4773[221],directory:_0x4773[222],sort:_0x4773[223],format:_0x4773[224],defaultEntry:true}],{ignoreDuplicates:true,individualHooks:true})[_0x4773[6]](function(){console[_0x4773[5]](_0x4773[219])});models[_0x4773[227]][_0x4773[69]]([{id:1,min_internal:1000,soundPath:_0x4773[226]}],{ignoreDuplicates:true,individualHooks:true})[_0x4773[6]](function(){console[_0x4773[5]](_0x4773[219])});models[_0x4773[239]][_0x4773[69]]([{id:1,name:_0x4773[228],model:JSON[_0x4773[238]]({title:_0x4773[228],rows:[{columns:[{styleClass:_0x4773[229],widgets:[{type:_0x4773[230],title:_0x4773[231],config:{timePattern:_0x4773[232],datePattern:_0x4773[233]}}]},{styleClass:_0x4773[234],widgets:[{type:_0x4773[235],title:_0x4773[236],config:{url:_0x4773[237]}}]}]}]}),defaultEntry:true,editable:false}],{ignoreDuplicates:true,individualHooks:true})[_0x4773[6]](function(){console[_0x4773[5]](_0x4773[219])});models[_0x4773[263]][_0x4773[69]]([{name:_0x4773[241],version:_0x4773[242],active:false,author:_0x4773[243],logo:_0x4773[244],state:_0x4773[245],description:_0x4773[246]},{name:_0x4773[247],version:_0x4773[242],active:false,author:_0x4773[243],logo:_0x4773[248],state:_0x4773[249],description:_0x4773[250]},{name:_0x4773[251],version:_0x4773[242],active:false,author:_0x4773[243],logo:_0x4773[252],state:_0x4773[253],description:_0x4773[254]},{name:_0x4773[255],version:_0x4773[242],active:false,author:_0x4773[243],logo:_0x4773[256],state:_0x4773[257],description:_0x4773[258]},{name:_0x4773[259],version:_0x4773[242],active:false,author:_0x4773[243],logo:_0x4773[260],state:_0x4773[261],description:_0x4773[262]}],{ignoreDuplicates:true,individualHooks:true})[_0x4773[6]](function(){console[_0x4773[5]](_0x4773[240])});var newDefaulReports=[{"\x69\x64":1,"\x6E\x61\x6D\x65":_0x4773[264],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x4773[265],"\x74\x61\x62\x6C\x65":_0x4773[266],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4773[267]},{"\x69\x64":2,"\x6E\x61\x6D\x65":_0x4773[268],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x4773[269],"\x70\x61\x72\x65\x6E\x74":_0x4773[270],"\x74\x61\x62\x6C\x65":_0x4773[271],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4773[267]},{"\x69\x64":3,"\x6E\x61\x6D\x65":_0x4773[272],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x4773[273],"\x70\x61\x72\x65\x6E\x74":_0x4773[270],"\x74\x61\x62\x6C\x65":_0x4773[271],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4773[274]},{"\x69\x64":4,"\x6E\x61\x6D\x65":_0x4773[275],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x4773[276],"\x74\x61\x62\x6C\x65":_0x4773[266],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4773[267]},{"\x69\x64":5,"\x6E\x61\x6D\x65":_0x4773[268],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x4773[277],"\x74\x61\x62\x6C\x65":_0x4773[278],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4773[279]},{"\x69\x64":6,"\x6E\x61\x6D\x65":_0x4773[280],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x4773[277],"\x74\x61\x62\x6C\x65":_0x4773[278],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4773[267]},{"\x69\x64":7,"\x6E\x61\x6D\x65":_0x4773[275],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x4773[277],"\x74\x61\x62\x6C\x65":_0x4773[278],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4773[279]},{"\x69\x64":8,"\x6E\x61\x6D\x65":_0x4773[281],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x4773[277],"\x74\x61\x62\x6C\x65":_0x4773[278],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4773[279]},{"\x69\x64":9,"\x6E\x61\x6D\x65":_0x4773[282],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x4773[277],"\x74\x61\x62\x6C\x65":_0x4773[278],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4773[279]},{"\x69\x64":10,"\x6E\x61\x6D\x65":_0x4773[268],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x4773[283],"\x74\x61\x62\x6C\x65":_0x4773[266],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4773[284]},{"\x69\x64":11,"\x6E\x61\x6D\x65":_0x4773[285],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x4773[283],"\x74\x61\x62\x6C\x65":_0x4773[266],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4773[284]},{"\x69\x64":12,"\x6E\x61\x6D\x65":_0x4773[286],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x4773[283],"\x74\x61\x62\x6C\x65":_0x4773[266],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4773[287]},{"\x69\x64":13,"\x6E\x61\x6D\x65":_0x4773[288],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x4773[283],"\x74\x61\x62\x6C\x65":_0x4773[266],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4773[289]},{"\x69\x64":14,"\x6E\x61\x6D\x65":_0x4773[290],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x4773[276],"\x74\x61\x62\x6C\x65":_0x4773[266],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4773[267]},{"\x69\x64":15,"\x6E\x61\x6D\x65":_0x4773[291],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x4773[276],"\x74\x61\x62\x6C\x65":_0x4773[266],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4773[267]},{"\x69\x64":16,"\x6E\x61\x6D\x65":_0x4773[292],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x4773[276],"\x74\x61\x62\x6C\x65":_0x4773[266],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4773[267]},{"\x69\x64":17,"\x6E\x61\x6D\x65":_0x4773[293],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x4773[270],"\x74\x61\x62\x6C\x65":_0x4773[271],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4773[267]},{"\x69\x64":18,"\x6E\x61\x6D\x65":_0x4773[294],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x4773[295],"\x70\x61\x72\x65\x6E\x74":_0x4773[270],"\x74\x61\x62\x6C\x65":_0x4773[271],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4773[274]},{"\x69\x64":19,"\x6E\x61\x6D\x65":_0x4773[296],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x4773[297],"\x74\x61\x62\x6C\x65":_0x4773[298],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4773[299]},{"\x69\x64":20,"\x6E\x61\x6D\x65":_0x4773[300],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x4773[297],"\x74\x61\x62\x6C\x65":_0x4773[298],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4773[301]},{"\x69\x64":21,"\x6E\x61\x6D\x65":_0x4773[302],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x4773[303],"\x74\x61\x62\x6C\x65":_0x4773[304],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4773[267]},{"\x69\x64":22,"\x6E\x61\x6D\x65":_0x4773[305],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x4773[303],"\x74\x61\x62\x6C\x65":_0x4773[304],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4773[267]},{"\x69\x64":23,"\x6E\x61\x6D\x65":_0x4773[306],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x4773[303],"\x74\x61\x62\x6C\x65":_0x4773[304],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4773[307]}];var newDefaultMetrics=[{"\x69\x64":1,"\x6E\x61\x6D\x65":_0x4773[308],"\x74\x61\x62\x6C\x65":_0x4773[266],"\x6D\x65\x74\x72\x69\x63":_0x4773[309]},{"\x69\x64":2,"\x6E\x61\x6D\x65":_0x4773[310],"\x74\x61\x62\x6C\x65":_0x4773[266],"\x6D\x65\x74\x72\x69\x63":_0x4773[311]},{"\x69\x64":3,"\x6E\x61\x6D\x65":_0x4773[312],"\x74\x61\x62\x6C\x65":_0x4773[266],"\x6D\x65\x74\x72\x69\x63":_0x4773[313],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x4773[314]},{"\x69\x64":4,"\x6E\x61\x6D\x65":_0x4773[315],"\x74\x61\x62\x6C\x65":_0x4773[266],"\x6D\x65\x74\x72\x69\x63":_0x4773[316]},{"\x69\x64":5,"\x6E\x61\x6D\x65":_0x4773[317],"\x74\x61\x62\x6C\x65":_0x4773[278],"\x6D\x65\x74\x72\x69\x63":_0x4773[318],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x4773[319]},{"\x69\x64":6,"\x6E\x61\x6D\x65":_0x4773[320],"\x74\x61\x62\x6C\x65":_0x4773[278],"\x6D\x65\x74\x72\x69\x63":_0x4773[321],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x4773[322]},{"\x69\x64":7,"\x6E\x61\x6D\x65":_0x4773[323],"\x74\x61\x62\x6C\x65":_0x4773[278],"\x6D\x65\x74\x72\x69\x63":_0x4773[324],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x4773[325]},{"\x69\x64":8,"\x6E\x61\x6D\x65":_0x4773[326],"\x74\x61\x62\x6C\x65":_0x4773[278],"\x6D\x65\x74\x72\x69\x63":_0x4773[327],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x4773[328]},{"\x69\x64":9,"\x6E\x61\x6D\x65":_0x4773[329],"\x74\x61\x62\x6C\x65":_0x4773[266],"\x6D\x65\x74\x72\x69\x63":_0x4773[330]},{"\x69\x64":10,"\x6E\x61\x6D\x65":_0x4773[331],"\x74\x61\x62\x6C\x65":_0x4773[266],"\x6D\x65\x74\x72\x69\x63":_0x4773[332],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x4773[333]},{"\x69\x64":11,"\x6E\x61\x6D\x65":_0x4773[334],"\x74\x61\x62\x6C\x65":_0x4773[266],"\x6D\x65\x74\x72\x69\x63":_0x4773[335],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x4773[336]},{"\x69\x64":12,"\x6E\x61\x6D\x65":_0x4773[337],"\x74\x61\x62\x6C\x65":_0x4773[266],"\x6D\x65\x74\x72\x69\x63":_0x4773[338],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x4773[339]},{"\x69\x64":13,"\x6E\x61\x6D\x65":_0x4773[340],"\x74\x61\x62\x6C\x65":_0x4773[266],"\x6D\x65\x74\x72\x69\x63":_0x4773[341],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x4773[342]},{"\x69\x64":14,"\x6E\x61\x6D\x65":_0x4773[343],"\x74\x61\x62\x6C\x65":_0x4773[266],"\x6D\x65\x74\x72\x69\x63":_0x4773[344],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x4773[345]},{"\x69\x64":15,"\x6E\x61\x6D\x65":_0x4773[346],"\x74\x61\x62\x6C\x65":_0x4773[266],"\x6D\x65\x74\x72\x69\x63":_0x4773[347],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x4773[348]},{"\x69\x64":16,"\x6E\x61\x6D\x65":_0x4773[349],"\x74\x61\x62\x6C\x65":_0x4773[298],"\x6D\x65\x74\x72\x69\x63":_0x4773[350],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x4773[351]},{"\x69\x64":17,"\x6E\x61\x6D\x65":_0x4773[352],"\x74\x61\x62\x6C\x65":_0x4773[298],"\x6D\x65\x74\x72\x69\x63":_0x4773[353],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x4773[354]},{"\x69\x64":18,"\x6E\x61\x6D\x65":_0x4773[355],"\x74\x61\x62\x6C\x65":_0x4773[304],"\x6D\x65\x74\x72\x69\x63":_0x4773[356],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x4773[357]},{"\x69\x64":19,"\x6E\x61\x6D\x65":_0x4773[358],"\x74\x61\x62\x6C\x65":_0x4773[304],"\x6D\x65\x74\x72\x69\x63":_0x4773[359],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x4773[360]},{"\x69\x64":20,"\x6E\x61\x6D\x65":_0x4773[361],"\x74\x61\x62\x6C\x65":_0x4773[304],"\x6D\x65\x74\x72\x69\x63":_0x4773[362],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x4773[363]}];models[_0x4773[529]][_0x4773[524]]({where:{id:1}})[_0x4773[6]](function(){return models[_0x4773[529]][_0x4773[149]]({id:1,tree:_0x4773[530]})})[_0x4773[6]](function(){return models[_0x4773[529]][_0x4773[528]]({where:{id:2},defaults:{id:2,tree:_0x4773[527]}})})[_0x4773[6]](function(){return models[_0x4773[526]][_0x4773[151]]()})[_0x4773[6]](function(_0x3741x16){var _0x3741x17=[];_0x3741x16=_[_0x4773[144]](_0x3741x16,_0x4773[143]);newDefaultMetrics[_0x4773[150]](function(_0x3741x18){if(_[_0x4773[145]](_0x3741x16,_0x3741x18[_0x4773[143]])){_0x3741x17[_0x4773[148]](models[_0x4773[526]][_0x4773[146]](_0x3741x18,{where:{id:_0x3741x18[_0x4773[143]]}}))}else {_0x3741x17[_0x4773[148]](models[_0x4773[526]][_0x4773[149]](_0x3741x18))}});return _0x3741x17})[_0x4773[19]]()[_0x4773[6]](function(){return models[_0x4773[525]][_0x4773[151]]()})[_0x4773[6]](function(_0x3741x13){var _0x3741x14=[];_0x3741x13=_[_0x4773[144]](_0x3741x13,_0x4773[143]);newDefaulReports[_0x4773[150]](function(_0x3741x15){if(_[_0x4773[145]](_0x3741x13,_0x3741x15[_0x4773[143]])){_0x3741x14[_0x4773[148]](models[_0x4773[525]][_0x4773[146]](_0x3741x15,{where:{id:_0x3741x15[_0x4773[143]]}}))}else {_0x3741x14[_0x4773[148]](models[_0x4773[525]][_0x4773[149]](_0x3741x15))}});return _0x3741x14})[_0x4773[19]]()[_0x4773[6]](function(){return models[_0x4773[523]][_0x4773[524]]({where:{DefaultReportId:{$gt:0}}})})[_0x4773[6]](function(){return models[_0x4773[523]][_0x4773[69]]([{"\x66\x69\x65\x6C\x64":_0x4773[366],"\x61\x6C\x69\x61\x73":_0x4773[367],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x4773[368],"\x61\x6C\x69\x61\x73":_0x4773[369],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x4773[370],"\x61\x6C\x69\x61\x73":_0x4773[371],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x4773[192],"\x61\x6C\x69\x61\x73":_0x4773[372],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x4773[373],"\x61\x6C\x69\x61\x73":_0x4773[374],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x4773[375],"\x61\x6C\x69\x61\x73":_0x4773[376],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x4773[377],"\x61\x6C\x69\x61\x73":_0x4773[378],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x4773[379],"\x61\x6C\x69\x61\x73":_0x4773[380],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x4773[381],"\x61\x6C\x69\x61\x73":_0x4773[382],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x4773[383],"\x61\x6C\x69\x61\x73":_0x4773[384],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x4773[385],"\x61\x6C\x69\x61\x73":_0x4773[386],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x4773[387],"\x61\x6C\x69\x61\x73":_0x4773[388],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x4773[389],"\x61\x6C\x69\x61\x73":_0x4773[390],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x4773[391],"\x61\x6C\x69\x61\x73":_0x4773[392],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x4773[309],"\x61\x6C\x69\x61\x73":_0x4773[393],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x4773[316],"\x61\x6C\x69\x61\x73":_0x4773[394],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x4773[311],"\x61\x6C\x69\x61\x73":_0x4773[395],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x4773[366],"\x61\x6C\x69\x61\x73":_0x4773[396],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0x4773[397],"\x61\x6C\x69\x61\x73":_0x4773[398],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0x4773[399],"\x61\x6C\x69\x61\x73":_0x4773[400],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0x4773[401],"\x61\x6C\x69\x61\x73":_0x4773[402],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0x4773[403],"\x61\x6C\x69\x61\x73":_0x4773[404],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0x4773[405],"\x61\x6C\x69\x61\x73":_0x4773[406],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0x4773[407],"\x61\x6C\x69\x61\x73":_0x4773[408],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0x4773[409],"\x61\x6C\x69\x61\x73":_0x4773[410],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0x4773[411],"\x61\x6C\x69\x61\x73":_0x4773[412],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0x4773[413],"\x61\x6C\x69\x61\x73":_0x4773[414],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0x4773[415],"\x61\x6C\x69\x61\x73":_0x4773[394],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0x4773[416],"\x61\x6C\x69\x61\x73":_0x4773[417],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0x4773[418],"\x61\x6C\x69\x61\x73":_0x4773[419],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0x4773[420],"\x61\x6C\x69\x61\x73":_0x4773[421],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0x4773[366],"\x61\x6C\x69\x61\x73":_0x4773[396],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0x4773[422],"\x61\x6C\x69\x61\x73":_0x4773[423],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0x4773[401],"\x61\x6C\x69\x61\x73":_0x4773[402],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0x4773[403],"\x61\x6C\x69\x61\x73":_0x4773[404],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0x4773[405],"\x61\x6C\x69\x61\x73":_0x4773[424],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0x4773[413],"\x61\x6C\x69\x61\x73":_0x4773[414],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0x4773[415],"\x61\x6C\x69\x61\x73":_0x4773[394],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0x4773[416],"\x61\x6C\x69\x61\x73":_0x4773[425],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0x4773[418],"\x61\x6C\x69\x61\x73":_0x4773[419],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0x4773[426],"\x61\x6C\x69\x61\x73":_0x4773[427],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0x4773[420],"\x61\x6C\x69\x61\x73":_0x4773[421],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0x4773[399],"\x61\x6C\x69\x61\x73":_0x4773[400],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0x4773[192],"\x61\x6C\x69\x61\x73":_0x4773[372],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":4},{"\x66\x69\x65\x6C\x64":_0x4773[366],"\x61\x6C\x69\x61\x73":_0x4773[428],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[429],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":4},{"\x66\x69\x65\x6C\x64":_0x4773[381],"\x61\x6C\x69\x61\x73":_0x4773[430],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":4},{"\x66\x69\x65\x6C\x64":_0x4773[377],"\x61\x6C\x69\x61\x73":_0x4773[432],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":4},{"\x66\x69\x65\x6C\x64":_0x4773[385],"\x61\x6C\x69\x61\x73":_0x4773[433],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":4},{"\x66\x69\x65\x6C\x64":_0x4773[309],"\x61\x6C\x69\x61\x73":_0x4773[434],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":4},{"\x66\x69\x65\x6C\x64":_0x4773[311],"\x61\x6C\x69\x61\x73":_0x4773[436],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":4},{"\x66\x69\x65\x6C\x64":_0x4773[316],"\x61\x6C\x69\x61\x73":_0x4773[437],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":4},{"\x66\x69\x65\x6C\x64":_0x4773[366],"\x61\x6C\x69\x61\x73":_0x4773[367],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x4773[368],"\x61\x6C\x69\x61\x73":_0x4773[369],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x4773[370],"\x61\x6C\x69\x61\x73":_0x4773[371],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x4773[192],"\x61\x6C\x69\x61\x73":_0x4773[372],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x4773[438],"\x61\x6C\x69\x61\x73":_0x4773[439],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x4773[440],"\x61\x6C\x69\x61\x73":_0x4773[441],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x4773[442],"\x61\x6C\x69\x61\x73":_0x4773[443],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x4773[444],"\x61\x6C\x69\x61\x73":_0x4773[445],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x4773[446],"\x61\x6C\x69\x61\x73":_0x4773[394],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x4773[447],"\x61\x6C\x69\x61\x73":_0x4773[393],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x4773[448],"\x61\x6C\x69\x61\x73":_0x4773[449],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x4773[450],"\x61\x6C\x69\x61\x73":_0x4773[451],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x4773[452],"\x61\x6C\x69\x61\x73":_0x4773[453],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x4773[454],"\x61\x6C\x69\x61\x73":_0x4773[455],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x4773[456],"\x61\x6C\x69\x61\x73":_0x4773[457],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x4773[391],"\x61\x6C\x69\x61\x73":_0x4773[392],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x4773[438],"\x61\x6C\x69\x61\x73":_0x4773[439],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":6},{"\x66\x69\x65\x6C\x64":_0x4773[452],"\x61\x6C\x69\x61\x73":_0x4773[430],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":6},{"\x66\x69\x65\x6C\x64":_0x4773[458],"\x61\x6C\x69\x61\x73":_0x4773[459],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":6},{"\x66\x69\x65\x6C\x64":_0x4773[447],"\x61\x6C\x69\x61\x73":_0x4773[460],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":6},{"\x66\x69\x65\x6C\x64":_0x4773[450],"\x61\x6C\x69\x61\x73":_0x4773[461],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":6},{"\x66\x69\x65\x6C\x64":_0x4773[447],"\x61\x6C\x69\x61\x73":_0x4773[434],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":6},{"\x66\x69\x65\x6C\x64":_0x4773[450],"\x61\x6C\x69\x61\x73":_0x4773[462],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":6},{"\x66\x69\x65\x6C\x64":_0x4773[192],"\x61\x6C\x69\x61\x73":_0x4773[372],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":7},{"\x66\x69\x65\x6C\x64":_0x4773[452],"\x61\x6C\x69\x61\x73":_0x4773[430],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":7},{"\x66\x69\x65\x6C\x64":_0x4773[447],"\x61\x6C\x69\x61\x73":_0x4773[463],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":7},{"\x66\x69\x65\x6C\x64":_0x4773[447],"\x61\x6C\x69\x61\x73":_0x4773[464],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":7},{"\x66\x69\x65\x6C\x64":_0x4773[446],"\x61\x6C\x69\x61\x73":_0x4773[465],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":7},{"\x66\x69\x65\x6C\x64":_0x4773[446],"\x61\x6C\x69\x61\x73":_0x4773[466],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":7},{"\x66\x69\x65\x6C\x64":_0x4773[450],"\x61\x6C\x69\x61\x73":_0x4773[467],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":7},{"\x66\x69\x65\x6C\x64":_0x4773[450],"\x61\x6C\x69\x61\x73":_0x4773[468],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":7},{"\x66\x69\x65\x6C\x64":_0x4773[192],"\x61\x6C\x69\x61\x73":_0x4773[372],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":8},{"\x66\x69\x65\x6C\x64":_0x4773[452],"\x61\x6C\x69\x61\x73":_0x4773[469],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":8},{"\x66\x69\x65\x6C\x64":_0x4773[318],"\x61\x6C\x69\x61\x73":_0x4773[470],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":8},{"\x66\x69\x65\x6C\x64":_0x4773[321],"\x61\x6C\x69\x61\x73":_0x4773[320],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":8},{"\x66\x69\x65\x6C\x64":_0x4773[324],"\x61\x6C\x69\x61\x73":_0x4773[323],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":8},{"\x66\x69\x65\x6C\x64":_0x4773[327],"\x61\x6C\x69\x61\x73":_0x4773[326],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":8},{"\x66\x69\x65\x6C\x64":_0x4773[454],"\x61\x6C\x69\x61\x73":_0x4773[471],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":9},{"\x66\x69\x65\x6C\x64":_0x4773[366],"\x61\x6C\x69\x61\x73":_0x4773[472],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[429],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":9},{"\x66\x69\x65\x6C\x64":_0x4773[366],"\x61\x6C\x69\x61\x73":_0x4773[367],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0x4773[368],"\x61\x6C\x69\x61\x73":_0x4773[369],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0x4773[192],"\x61\x6C\x69\x61\x73":_0x4773[372],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0x4773[373],"\x61\x6C\x69\x61\x73":_0x4773[374],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0x4773[375],"\x61\x6C\x69\x61\x73":_0x4773[376],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0x4773[377],"\x61\x6C\x69\x61\x73":_0x4773[378],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0x4773[379],"\x61\x6C\x69\x61\x73":_0x4773[380],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0x4773[311],"\x61\x6C\x69\x61\x73":_0x4773[473],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0x4773[385],"\x61\x6C\x69\x61\x73":_0x4773[386],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0x4773[387],"\x61\x6C\x69\x61\x73":_0x4773[388],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0x4773[389],"\x61\x6C\x69\x61\x73":_0x4773[390],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0x4773[330],"\x61\x6C\x69\x61\x73":_0x4773[474],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0x4773[475],"\x61\x6C\x69\x61\x73":_0x4773[476],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0x4773[391],"\x61\x6C\x69\x61\x73":_0x4773[392],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0x4773[192],"\x61\x6C\x69\x61\x73":_0x4773[372],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":11},{"\x66\x69\x65\x6C\x64":_0x4773[377],"\x61\x6C\x69\x61\x73":_0x4773[432],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":11},{"\x66\x69\x65\x6C\x64":_0x4773[311],"\x61\x6C\x69\x61\x73":_0x4773[436],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":11},{"\x66\x69\x65\x6C\x64":_0x4773[311],"\x61\x6C\x69\x61\x73":_0x4773[477],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":11},{"\x66\x69\x65\x6C\x64":_0x4773[385],"\x61\x6C\x69\x61\x73":_0x4773[478],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":11},{"\x66\x69\x65\x6C\x64":_0x4773[330],"\x61\x6C\x69\x61\x73":_0x4773[479],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":11},{"\x66\x69\x65\x6C\x64":_0x4773[330],"\x61\x6C\x69\x61\x73":_0x4773[480],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":11},{"\x66\x69\x65\x6C\x64":_0x4773[389],"\x61\x6C\x69\x61\x73":_0x4773[471],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":12},{"\x66\x69\x65\x6C\x64":_0x4773[385],"\x61\x6C\x69\x61\x73":_0x4773[472],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":12},{"\x66\x69\x65\x6C\x64":_0x4773[330],"\x61\x6C\x69\x61\x73":_0x4773[481],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":12},{"\x66\x69\x65\x6C\x64":_0x4773[192],"\x61\x6C\x69\x61\x73":_0x4773[372],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":13},{"\x66\x69\x65\x6C\x64":_0x4773[377],"\x61\x6C\x69\x61\x73":_0x4773[482],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":13},{"\x66\x69\x65\x6C\x64":_0x4773[313],"\x61\x6C\x69\x61\x73":_0x4773[483],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":13},{"\x66\x69\x65\x6C\x64":_0x4773[332],"\x61\x6C\x69\x61\x73":_0x4773[331],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":13},{"\x66\x69\x65\x6C\x64":_0x4773[335],"\x61\x6C\x69\x61\x73":_0x4773[334],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":13},{"\x66\x69\x65\x6C\x64":_0x4773[338],"\x61\x6C\x69\x61\x73":_0x4773[484],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":13},{"\x66\x69\x65\x6C\x64":_0x4773[341],"\x61\x6C\x69\x61\x73":_0x4773[485],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":14},{"\x66\x69\x65\x6C\x64":_0x4773[366],"\x61\x6C\x69\x61\x73":_0x4773[428],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[429],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":14},{"\x66\x69\x65\x6C\x64":_0x4773[381],"\x61\x6C\x69\x61\x73":_0x4773[430],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":14},{"\x66\x69\x65\x6C\x64":_0x4773[377],"\x61\x6C\x69\x61\x73":_0x4773[432],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":14},{"\x66\x69\x65\x6C\x64":_0x4773[385],"\x61\x6C\x69\x61\x73":_0x4773[433],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":14},{"\x66\x69\x65\x6C\x64":_0x4773[309],"\x61\x6C\x69\x61\x73":_0x4773[434],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":14},{"\x66\x69\x65\x6C\x64":_0x4773[311],"\x61\x6C\x69\x61\x73":_0x4773[436],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":14},{"\x66\x69\x65\x6C\x64":_0x4773[316],"\x61\x6C\x69\x61\x73":_0x4773[437],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":14},{"\x66\x69\x65\x6C\x64":_0x4773[344],"\x61\x6C\x69\x61\x73":_0x4773[486],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":15},{"\x66\x69\x65\x6C\x64":_0x4773[366],"\x61\x6C\x69\x61\x73":_0x4773[428],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[429],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":15},{"\x66\x69\x65\x6C\x64":_0x4773[381],"\x61\x6C\x69\x61\x73":_0x4773[430],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":15},{"\x66\x69\x65\x6C\x64":_0x4773[377],"\x61\x6C\x69\x61\x73":_0x4773[432],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":15},{"\x66\x69\x65\x6C\x64":_0x4773[385],"\x61\x6C\x69\x61\x73":_0x4773[433],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":15},{"\x66\x69\x65\x6C\x64":_0x4773[309],"\x61\x6C\x69\x61\x73":_0x4773[434],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":15},{"\x66\x69\x65\x6C\x64":_0x4773[311],"\x61\x6C\x69\x61\x73":_0x4773[436],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":15},{"\x66\x69\x65\x6C\x64":_0x4773[316],"\x61\x6C\x69\x61\x73":_0x4773[437],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":15},{"\x66\x69\x65\x6C\x64":_0x4773[347],"\x61\x6C\x69\x61\x73":_0x4773[487],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":16},{"\x66\x69\x65\x6C\x64":_0x4773[366],"\x61\x6C\x69\x61\x73":_0x4773[428],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[429],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":16},{"\x66\x69\x65\x6C\x64":_0x4773[381],"\x61\x6C\x69\x61\x73":_0x4773[430],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":16},{"\x66\x69\x65\x6C\x64":_0x4773[377],"\x61\x6C\x69\x61\x73":_0x4773[432],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":16},{"\x66\x69\x65\x6C\x64":_0x4773[385],"\x61\x6C\x69\x61\x73":_0x4773[433],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":16},{"\x66\x69\x65\x6C\x64":_0x4773[309],"\x61\x6C\x69\x61\x73":_0x4773[434],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":16},{"\x66\x69\x65\x6C\x64":_0x4773[311],"\x61\x6C\x69\x61\x73":_0x4773[436],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":16},{"\x66\x69\x65\x6C\x64":_0x4773[316],"\x61\x6C\x69\x61\x73":_0x4773[437],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":16},{"\x66\x69\x65\x6C\x64":_0x4773[397],"\x61\x6C\x69\x61\x73":_0x4773[398],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":17},{"\x66\x69\x65\x6C\x64":_0x4773[366],"\x61\x6C\x69\x61\x73":_0x4773[472],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[429],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":17},{"\x66\x69\x65\x6C\x64":_0x4773[418],"\x61\x6C\x69\x61\x73":_0x4773[488],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":17},{"\x66\x69\x65\x6C\x64":_0x4773[418],"\x61\x6C\x69\x61\x73":_0x4773[489],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":17},{"\x66\x69\x65\x6C\x64":_0x4773[420],"\x61\x6C\x69\x61\x73":_0x4773[421],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":18},{"\x66\x69\x65\x6C\x64":_0x4773[366],"\x61\x6C\x69\x61\x73":_0x4773[472],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[429],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":18},{"\x66\x69\x65\x6C\x64":_0x4773[418],"\x61\x6C\x69\x61\x73":_0x4773[488],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":18},{"\x66\x69\x65\x6C\x64":_0x4773[418],"\x61\x6C\x69\x61\x73":_0x4773[489],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":18},{"\x66\x69\x65\x6C\x64":_0x4773[438],"\x61\x6C\x69\x61\x73":_0x4773[439],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":_0x4773[490],"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":19},{"\x66\x69\x65\x6C\x64":_0x4773[491],"\x61\x6C\x69\x61\x73":_0x4773[492],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":_0x4773[490],"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":19},{"\x66\x69\x65\x6C\x64":_0x4773[353],"\x61\x6C\x69\x61\x73":_0x4773[419],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":19},{"\x66\x69\x65\x6C\x64":_0x4773[438],"\x61\x6C\x69\x61\x73":_0x4773[439],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":_0x4773[490],"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":20},{"\x66\x69\x65\x6C\x64":_0x4773[353],"\x61\x6C\x69\x61\x73":_0x4773[419],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":20},{"\x66\x69\x65\x6C\x64":_0x4773[366],"\x61\x6C\x69\x61\x73":_0x4773[367],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x4773[493],"\x61\x6C\x69\x61\x73":_0x4773[494],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x4773[495],"\x61\x6C\x69\x61\x73":_0x4773[496],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22},{"\x66\x69\x65\x6C\x64":_0x4773[497],"\x61\x6C\x69\x61\x73":_0x4773[498],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x4773[438],"\x61\x6C\x69\x61\x73":_0x4773[499],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x4773[500],"\x61\x6C\x69\x61\x73":_0x4773[501],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x4773[502],"\x61\x6C\x69\x61\x73":_0x4773[503],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x4773[504],"\x61\x6C\x69\x61\x73":_0x4773[505],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x4773[506],"\x61\x6C\x69\x61\x73":_0x4773[384],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x4773[507],"\x61\x6C\x69\x61\x73":_0x4773[382],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x4773[508],"\x61\x6C\x69\x61\x73":_0x4773[509],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x4773[510],"\x61\x6C\x69\x61\x73":_0x4773[511],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x4773[512],"\x61\x6C\x69\x61\x73":_0x4773[513],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x4773[438],"\x61\x6C\x69\x61\x73":_0x4773[439],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":23,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x4773[507],"\x61\x6C\x69\x61\x73":_0x4773[514],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":23,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x4773[359],"\x61\x6C\x69\x61\x73":_0x4773[515],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x63\x72\x65\x61\x74\x65\x64\x41\x74":_0x4773[516],"\x75\x70\x64\x61\x74\x65\x64\x41\x74":_0x4773[516],"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":23,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x4773[362],"\x61\x6C\x69\x61\x73":_0x4773[517],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":23,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x4773[356],"\x61\x6C\x69\x61\x73":_0x4773[518],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":23,"\x66\x6F\x72\x6D\x61\x74":_0x4773[519]},{"\x66\x69\x65\x6C\x64":_0x4773[356],"\x61\x6C\x69\x61\x73":_0x4773[520],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":23,"\x66\x6F\x72\x6D\x61\x74":_0x4773[519]},{"\x66\x69\x65\x6C\x64":_0x4773[493],"\x61\x6C\x69\x61\x73":_0x4773[521],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":21,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x4773[366],"\x61\x6C\x69\x61\x73":_0x4773[522],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[429],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":21,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x4773[507],"\x61\x6C\x69\x61\x73":_0x4773[430],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":21,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x4773[510],"\x61\x6C\x69\x61\x73":_0x4773[432],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":21,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x4773[512],"\x61\x6C\x69\x61\x73":_0x4773[433],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":21,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x4773[356],"\x61\x6C\x69\x61\x73":_0x4773[357],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[431],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":21,"\x66\x6F\x72\x6D\x61\x74":_0x4773[519]},{"\x66\x69\x65\x6C\x64":_0x4773[356],"\x61\x6C\x69\x61\x73":_0x4773[520],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4773[435],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":21,"\x66\x6F\x72\x6D\x61\x74":_0x4773[519]}],{ignoreDuplicates:true,individualHooks:true})})[_0x4773[6]](function(){console[_0x4773[5]](_0x4773[365])})[_0x4773[141]](function(_0x3741x5){console[_0x4773[5]](_0x4773[364],_0x3741x5)});models[_0x4773[532]][_0x4773[69]]([{id:1,name:_0x4773[531],defaultEntry:true}],{ignoreDuplicates:true,individualHooks:true})[_0x4773[6]](function(){console[_0x4773[5]](_0x4773[240])});models[_0x4773[556]][_0x4773[524]]({where:{context:_0x4773[216]}})[_0x4773[6]](function(){models[_0x4773[556]][_0x4773[69]]([{context:_0x4773[216],exten:_0x4773[534],priority:1,app:_0x4773[535],appdata:_0x4773[536],type:_0x4773[537]},{context:_0x4773[216],exten:_0x4773[534],priority:2,app:_0x4773[535],appdata:_0x4773[538],type:_0x4773[537]},{context:_0x4773[216],exten:_0x4773[534],priority:3,app:_0x4773[539],appdata:_0x4773[540],type:_0x4773[537]},{context:_0x4773[216],exten:_0x4773[534],priority:4,app:_0x4773[541],appdata:_0x4773[542],type:_0x4773[537]},{context:_0x4773[216],exten:_0x4773[534],priority:5,app:_0x4773[543],appdata:_0x4773[544],type:_0x4773[537]},{context:_0x4773[216],exten:_0x4773[534],priority:6,app:_0x4773[539],appdata:_0x4773[545],type:_0x4773[537]},{context:_0x4773[216],exten:_0x4773[534],priority:7,app:_0x4773[539],appdata:_0x4773[546],type:_0x4773[537]},{context:_0x4773[216],exten:_0x4773[534],priority:8,app:_0x4773[539],appdata:_0x4773[547],type:_0x4773[537]},{context:_0x4773[216],exten:_0x4773[534],priority:9,app:_0x4773[539],appdata:_0x4773[548],type:_0x4773[537]},{context:_0x4773[216],exten:_0x4773[534],priority:10,app:_0x4773[539],appdata:_0x4773[549],type:_0x4773[537]},{context:_0x4773[216],exten:_0x4773[534],priority:11,app:_0x4773[539],appdata:_0x4773[550],type:_0x4773[537]},{context:_0x4773[216],exten:_0x4773[534],priority:12,app:_0x4773[539],appdata:_0x4773[551],type:_0x4773[537]},{context:_0x4773[216],exten:_0x4773[534],priority:13,app:_0x4773[539],appdata:_0x4773[552],type:_0x4773[537]},{context:_0x4773[216],exten:_0x4773[534],priority:14,app:_0x4773[553],appdata:_0x4773[554],type:_0x4773[537]},{context:_0x4773[216],exten:_0x4773[534],priority:15,app:_0x4773[555],appdata:_0x4773[542],type:_0x4773[537]}],{ignoreDuplicates:true,individualHooks:true})})[_0x4773[6]](function(){console[_0x4773[5]](_0x4773[533])}) \ No newline at end of file diff --git a/server/config/seedp.js b/server/config/seedp.js index b9531b7..de921c2 100644 --- a/server/config/seedp.js +++ b/server/config/seedp.js @@ -1 +1 @@ -var _0x4995=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x69\x64","\x61\x64\x64\x55\x73\x65\x72\x73","\x74\x68\x65\x6E","\x50\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x4D\x61\x69\x6C\x20\x51\x75\x65\x75\x65\x73\x3A\x20\x25\x73\x20\x2D\x20\x44\x4F\x4E\x45\x20","\x6A\x6F\x69\x6E","\x6E\x61\x6D\x65","\x6D\x61\x70","\x66\x6F\x72\x6D\x61\x74","\x6C\x6F\x67","\x61\x64\x64\x55\x73\x65\x72","\x53\x61\x6C\x65\x73","\x72\x72\x6D\x65\x6D\x6F\x72\x79","\x53\x75\x70\x70\x6F\x72\x74","\x62\x65\x65\x70\x61\x6C\x6C","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x50\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x56\x6F\x69\x63\x65\x20\x51\x75\x65\x75\x65\x73\x3A\x20\x25\x73\x20\x2D\x20\x44\x4F\x4E\x45\x20","\x6A\x61\x6E\x65\x2E\x6D\x69\x6C\x6C\x65\x72","\x66\x69\x6E\x64","\x6A\x6F\x68\x6E\x2E\x64\x6F\x65","\x55\x73\x65\x72\x73","\x50\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x41\x67\x65\x6E\x74\x73\x3A\x20\x25\x73\x20\x2D\x20\x44\x4F\x4E\x45\x20","\x50\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x54\x65\x61\x6D\x73\x3A\x20\x25\x73\x20\x2D\x20\x44\x4F\x4E\x45\x20","\x64\x65\x66\x61\x75\x6C\x74","\x72\x69\x6E\x67\x61\x6C\x6C","\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x50\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x55\x73\x65\x72\x73\x3A\x20\x25\x73\x20\x2D\x20\x44\x4F\x4E\x45\x20","\x44\x65\x66\x61\x75\x6C\x74\x20\x54\x65\x61\x6D","\x61\x67\x65\x6E\x74","\x4A\x6F\x68\x6E\x20\x44\x6F\x65","\x6A\x6F\x68\x6E\x2E\x64\x6F\x65\x40\x67\x6D\x61\x69\x6C\x2E\x63\x6F\x6D","\x73\x68\x75\x74\x74\x6C\x65\x35\x35","\x4A\x61\x6E\x65\x20\x4D\x69\x6C\x6C\x65\x72","\x6A\x61\x6E\x65\x2E\x6D\x69\x6C\x6C\x65\x72\x40\x67\x6D\x61\x69\x6C\x2E\x63\x6F\x6D","\x55\x73\x65\x72","\x63\x72\x65\x61\x74\x65","\x54\x65\x61\x6D","\x61\x64\x6D\x69\x6E","\x41\x64\x6D\x69\x6E\x69\x73\x74\x72\x61\x74\x6F\x72","\x61\x64\x6D\x69\x6E\x40\x61\x64\x6D\x69\x6E\x2E\x63\x6F\x6D","\x70\x61\x73\x73\x77\x6F\x72\x64","\x50\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x43\x68\x61\x6E\x53\x70\x79\x3A\x20\x25\x73\x20\x2D\x20\x44\x4F\x4E\x45\x20","\x43\x68\x61\x6E\x53\x70\x79\x31","\x73\x70\x79\x31","\x54\x68\x65\x20\x73\x75\x70\x65\x72\x76\x69\x73\x6F\x72\x20\x63\x61\x6E\x20\x6C\x69\x73\x74\x65\x6E\x20\x61\x6E\x64\x20\x74\x61\x6C\x6B\x20\x74\x6F\x20\x74\x68\x65\x20\x61\x67\x65\x6E\x74\x2E\x20\x54\x68\x65\x20\x63\x75\x73\x74\x6F\x6D\x65\x72\x20\x77\x69\x6C\x6C\x20\x6E\x6F\x74\x20\x6C\x69\x73\x74\x65\x6E\x20\x74\x6F\x20\x74\x68\x65\x20\x73\x75\x70\x65\x72\x76\x69\x73\x6F\x72\x20\x76\x6F\x69\x63\x65\x2E","\x62\x77","\x43\x68\x61\x6E\x53\x70\x79\x32","\x73\x70\x79\x32","\x54\x68\x65\x20\x73\x75\x70\x65\x72\x76\x69\x73\x6F\x72\x20\x63\x61\x6E\x20\x6F\x6E\x6C\x79\x20\x6C\x69\x73\x74\x65\x6E\x20\x74\x68\x65\x20\x61\x67\x65\x6E\x74\x20\x63\x68\x61\x6E\x6E\x65\x6C\x20\x28\x6E\x65\x69\x74\x68\x65\x72\x20\x74\x68\x65\x20\x61\x67\x65\x6E\x74\x20\x6E\x6F\x72\x20\x74\x68\x65\x20\x63\x75\x73\x74\x6F\x6D\x65\x72\x20\x77\x69\x6C\x6C\x20\x6C\x69\x73\x74\x65\x6E\x20\x74\x6F\x20\x74\x68\x65\x20\x73\x75\x70\x65\x72\x76\x69\x73\x6F\x72\x20\x76\x6F\x69\x63\x65\x2E","\x62\x6F","\x43\x68\x61\x6E\x53\x70\x79\x33","\x73\x70\x79\x33","\x54\x68\x65\x20\x73\x75\x70\x65\x72\x76\x69\x73\x6F\x72\x20\x63\x61\x6E\x20\x6C\x69\x73\x74\x65\x6E\x20\x61\x6E\x64\x20\x74\x61\x6C\x6B\x20\x62\x6F\x74\x68\x20\x74\x6F\x20\x74\x68\x65\x20\x61\x67\x65\x6E\x74\x20\x61\x6E\x64\x20\x74\x6F\x20\x74\x68\x65\x20\x63\x75\x73\x74\x6F\x6D\x65\x72\x2C\x20\x6C\x69\x6B\x65\x20\x61\x20\x70\x75\x72\x65\x20\x33\x20\x77\x61\x79\x20\x63\x6F\x6E\x66\x65\x72\x65\x6E\x63\x65\x20\x72\x6F\x6F\x6D\x2E","\x62\x57","\x43\x68\x61\x6E\x53\x70\x79","\x50\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x43\x4D\x20\x4C\x69\x73\x74\x3A\x20\x25\x73\x20\x2D\x20\x44\x4F\x4E\x45\x20","\x53\x79\x73\x74\x65\x6D\x20\x4C\x69\x73\x74","\x44\x65\x66\x61\x75\x6C\x74\x20\x4C\x69\x73\x74","\x4C\x69\x73\x74","\x50\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x56\x6F\x69\x63\x65\x20\x4D\x75\x73\x69\x63\x20\x4F\x6E\x20\x48\x6F\x6C\x64\x3A\x20\x25\x73\x20\x2D\x20\x44\x4F\x4E\x45\x20","\x2F\x76\x61\x72\x2F\x6C\x69\x62\x2F\x61\x73\x74\x65\x72\x69\x73\x6B\x2F\x6D\x6F\x68\x2F","\x66\x69\x6C\x65\x73","\x72\x61\x6E\x64\x6F\x6D","\x77\x61\x76","\x56\x6F\x69\x63\x65\x4D\x75\x73\x69\x63\x4F\x6E\x48\x6F\x6C\x64","\x50\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x56\x61\x72\x69\x61\x62\x6C\x65\x73\x3A\x20\x25\x73\x20\x2D\x20\x44\x4F\x4E\x45\x20","\x43\x48\x4F\x49\x43\x45","\x4F\x72\x64\x65\x72\x20\x6E\x75\x6D\x62\x65\x72","\x4F\x52\x44\x45\x52\x4E\x55\x4D","\x44\x61\x74\x61\x20\x42\x61\x73\x65\x20\x51\x75\x65\x72\x79\x20\x52\x65\x73\x75\x6C\x74","\x44\x42\x52\x45\x53\x55\x4C\x54","\x52\x41\x54\x45","\x56\x61\x72\x69\x61\x62\x6C\x65","\x50\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x50\x61\x75\x73\x65\x73\x3A\x20\x25\x73\x20\x2D\x20\x44\x4F\x4E\x45\x20","\x42\x41\x43\x4B\x4F\x46\x46\x49\x43\x45","\x41\x46\x54\x45\x52\x43\x41\x4C\x4C","\x50\x61\x75\x73\x65","\x50\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x54\x72\x75\x6E\x6B\x3A\x20\x25\x73\x20\x2D\x20\x44\x4F\x4E\x45\x20","\x44\x65\x6D\x6F\x54\x72\x75\x6E\x6B","\x66\x72\x6F\x6D\x2D\x76\x6F\x69\x70\x2D\x70\x72\x6F\x76\x69\x64\x65\x72","\x41\x4C\x4C\x4F\x57\x45\x44\x5F\x4E\x4F\x54\x5F\x53\x43\x52\x45\x45\x4E\x45\x44","\x30\x2E\x30\x2E\x30\x2E\x30\x2F\x30\x2E\x30\x2E\x30\x2E\x30","\x35\x35\x78\x63\x61\x6C\x6C\x79\x35\x35","\x54\x72\x75\x6E\x6B","\x50\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x43\x6F\x6E\x74\x65\x78\x74\x73\x3A\x20\x25\x73\x20\x2D\x20\x44\x4F\x4E\x45\x20","\x66\x72\x6F\x6D\x2D\x73\x69\x70","\x44\x65\x66\x61\x75\x6C\x74\x20\x63\x6F\x6E\x74\x65\x78\x74\x20\x28\x44\x4F\x20\x4E\x4F\x54\x20\x44\x45\x4C\x45\x54\x45\x29","\x69\x6E\x62\x6F\x75\x6E\x64\x2D\x66\x61\x78","\x6F\x75\x74\x62\x6F\x75\x6E\x64\x2D\x66\x61\x78","\x66\x72\x6F\x6D\x2D\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C","\x56\x6F\x69\x63\x65\x43\x6F\x6E\x74\x65\x78\x74","\x50\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x56\x6F\x69\x63\x65\x20\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x3A\x20\x25\x73\x20\x25\x73\x20\x2D\x20\x44\x4F\x4E\x45\x20","\x63\x6F\x6E\x74\x65\x78\x74","\x65\x78\x74\x65\x6E","\x5F\x36\x30\x30","\x31","\x4E\x6F\x4F\x70","\x49\x6E\x74\x65\x72\x6E\x61\x6C\x20\x43\x61\x6C\x6C","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x45\x63\x68\x6F\x20\x54\x65\x73\x74","\x32","\x53\x65\x74","\x43\x44\x52\x28\x74\x79\x70\x65\x29\x3D\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x33","\x47\x6F\x74\x6F\x49\x66\x54\x69\x6D\x65","\x2A\x2C\x2A\x2C\x2A\x2C\x2A\x3F\x66\x72\x6F\x6D\x2D\x73\x69\x70\x2C\x24\x7B\x45\x58\x54\x45\x4E\x7D\x2C\x34\x3A\x66\x72\x6F\x6D\x2D\x73\x69\x70\x2C\x24\x7B\x45\x58\x54\x45\x4E\x7D\x2C\x39","\x34","\x4E\x6F\x4F\x50","\x53\x6B\x69\x70\x70\x65\x64\x20\x43\x61\x6C\x6C\x65\x72\x49\x44\x20\x53\x65\x74","\x35","\x53\x6B\x69\x70\x70\x65\x64\x20\x4D\x69\x78\x4D\x6F\x6E\x69\x74\x6F\x72","\x36","\x53\x6B\x69\x70\x70\x65\x64\x20\x50\x72\x6F\x67\x72\x65\x73\x73","\x37","\x50\x6C\x61\x79\x62\x61\x63\x6B","\x64\x65\x6D\x6F\x2D\x65\x63\x68\x6F\x74\x65\x73\x74","\x2A\x2C\x2A\x2C\x2A\x2C\x2A","\x38","\x53\x6B\x69\x70\x70\x65\x64\x20\x53\x74\x6F\x70\x4D\x69\x78\x4D\x6F\x6E\x69\x74\x6F\x72","\x39","\x50\x6C\x61\x79\x62\x61\x63\x6B\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x31\x30","\x2A\x2C\x2A\x2C\x2A\x2C\x2A\x3F\x66\x72\x6F\x6D\x2D\x73\x69\x70\x2C\x24\x7B\x45\x58\x54\x45\x4E\x7D\x2C\x31\x31\x3A\x66\x72\x6F\x6D\x2D\x73\x69\x70\x2C\x24\x7B\x45\x58\x54\x45\x4E\x7D\x2C\x31\x36","\x31\x31","\x31\x32","\x31\x33","\x31\x34","\x45\x63\x68\x6F","","\x31\x35","\x31\x36","\x45\x63\x68\x6F\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x31\x37","\x2A\x2C\x2A\x2C\x2A\x2C\x2A\x3F\x66\x72\x6F\x6D\x2D\x73\x69\x70\x2C\x24\x7B\x45\x58\x54\x45\x4E\x7D\x2C\x31\x38\x3A\x66\x72\x6F\x6D\x2D\x73\x69\x70\x2C\x24\x7B\x45\x58\x54\x45\x4E\x7D\x2C\x32\x33","\x31\x38","\x31\x39","\x32\x30","\x32\x31","\x32\x32","\x32\x33","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x5F\x36\x30\x30\x30","\x53\x75\x70\x70\x6F\x72\x74\x20\x51\x75\x65\x75\x65","\x50\x72\x6F\x67\x72\x65\x73\x73","\x51\x75\x65\x75\x65","\x53\x75\x70\x70\x6F\x72\x74\x2C\x2C\x2C\x2C","\x51\x75\x65\x75\x65\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x5F\x36\x36\x36\x36","\x41\x47\x49","\x61\x67\x69\x3A\x2F\x2F\x31\x32\x37\x2E\x30\x2E\x30\x2E\x31\x2F\x73\x71\x75\x61\x72\x65\x2C\x41\x75\x74\x6F\x20\x41\x74\x74\x65\x6E\x64\x61\x6E\x74","\x41\x47\x49\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x5F\x36\x36\x36\x37","\x61\x67\x69\x3A\x2F\x2F\x31\x32\x37\x2E\x30\x2E\x30\x2E\x31\x2F\x73\x71\x75\x61\x72\x65\x2C\x4F\x72\x64\x65\x72\x73","\x5F\x36\x36\x36\x38","\x61\x67\x69\x3A\x2F\x2F\x31\x32\x37\x2E\x30\x2E\x30\x2E\x31\x2F\x73\x71\x75\x61\x72\x65\x2C\x43\x53\x49","\x5F\x58\x2E","\x4F\x75\x74\x62\x6F\x75\x6E\x64\x20\x43\x61\x6C\x6C","\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x43\x44\x52\x28\x74\x79\x70\x65\x29\x3D\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x43\x44\x52\x28\x74\x61\x67\x29\x3D\x2D\x2D","\x2A\x2C\x2A\x2C\x2A\x2C\x2A\x3F\x66\x72\x6F\x6D\x2D\x73\x69\x70\x2C\x24\x7B\x45\x58\x54\x45\x4E\x7D\x2C\x35\x3A\x66\x72\x6F\x6D\x2D\x73\x69\x70\x2C\x24\x7B\x45\x58\x54\x45\x4E\x7D\x2C\x31\x30","\x44\x69\x61\x6C","\x53\x49\x50\x2F\x44\x65\x6D\x6F\x20\x54\x72\x75\x6E\x6B\x2F\x24\x7B\x45\x58\x54\x45\x4E\x3A\x30\x7D","\x44\x69\x61\x6C\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x5F\x36\x30\x30\x31","\x53\x61\x6C\x65\x73\x20\x51\x75\x65\x75\x65","\x53\x61\x6C\x65\x73\x2C\x2C\x2C\x2C","\x50\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x53\x71\x75\x61\x72\x65\x20\x50\x72\x6F\x6A\x65\x63\x74\x3A\x20\x25\x73\x20\x2D\x20\x44\x4F\x4E\x45\x20","\x41\x75\x74\x6F\x20\x41\x74\x74\x65\x6E\x64\x61\x6E\x74","\x49\x56\x52\x20\x53\x41\x4D\x50\x4C\x45\x20\x31","\x3C\x6D\x78\x47\x72\x61\x70\x68\x4D\x6F\x64\x65\x6C\x20\x67\x72\x69\x64\x3D\x22\x31\x22\x20\x67\x75\x69\x64\x65\x73\x3D\x22\x31\x22\x20\x74\x6F\x6F\x6C\x74\x69\x70\x73\x3D\x22\x31\x22\x20\x63\x6F\x6E\x6E\x65\x63\x74\x3D\x22\x31\x22\x20\x66\x6F\x6C\x64\x3D\x22\x31\x22\x20\x70\x61\x67\x65\x3D\x22\x30\x22\x20\x70\x61\x67\x65\x53\x63\x61\x6C\x65\x3D\x22\x31\x22\x20\x70\x61\x67\x65\x57\x69\x64\x74\x68\x3D\x22\x38\x32\x36\x22\x20\x70\x61\x67\x65\x48\x65\x69\x67\x68\x74\x3D\x22\x31\x31\x36\x39\x22\x3E\x0A\x20\x20\x3C\x72\x6F\x6F\x74\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x30\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x31\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x30\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x73\x74\x61\x72\x74\x20\x6C\x61\x62\x65\x6C\x3D\x22\x53\x74\x61\x72\x74\x22\x20\x69\x64\x3D\x22\x32\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x65\x6E\x74\x72\x79\x2F\x73\x74\x61\x72\x74\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x32\x30\x22\x20\x79\x3D\x22\x31\x34\x39\x2E\x39\x39\x39\x39\x39\x39\x39\x39\x39\x39\x39\x39\x39\x37\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x73\x74\x61\x72\x74\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x65\x6E\x75\x20\x6C\x61\x62\x65\x6C\x3D\x22\x4D\x65\x6E\x75\x22\x20\x66\x69\x6C\x65\x5F\x69\x64\x3D\x22\x31\x22\x20\x72\x65\x73\x70\x6F\x6E\x73\x65\x3D\x22\x35\x22\x20\x64\x69\x67\x69\x74\x3D\x22\x31\x22\x20\x72\x65\x74\x72\x79\x3D\x22\x32\x22\x20\x76\x61\x72\x69\x61\x62\x6C\x65\x5F\x69\x64\x3D\x22\x31\x22\x20\x69\x64\x3D\x22\x33\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x70\x6C\x61\x79\x62\x61\x63\x6B\x2F\x6D\x65\x6E\x75\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x31\x33\x30\x22\x20\x79\x3D\x22\x31\x35\x30\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x65\x6E\x75\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x34\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x32\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x33\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x71\x75\x65\x75\x65\x20\x6C\x61\x62\x65\x6C\x3D\x22\x51\x75\x65\x75\x65\x20\x53\x61\x6C\x65\x73\x22\x20\x71\x75\x65\x75\x65\x5F\x69\x64\x3D\x22\x31\x22\x20\x6F\x70\x74\x73\x3D\x22\x22\x20\x75\x72\x6C\x3D\x22\x22\x20\x66\x69\x6C\x65\x5F\x69\x64\x3D\x22\x30\x22\x20\x74\x69\x6D\x65\x6F\x75\x74\x3D\x22\x33\x30\x30\x22\x20\x61\x67\x69\x3D\x22\x22\x20\x6D\x61\x63\x72\x6F\x3D\x22\x22\x20\x67\x6F\x73\x75\x62\x3D\x22\x22\x20\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3D\x22\x22\x20\x69\x64\x3D\x22\x35\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x63\x61\x6C\x6C\x5F\x6D\x61\x6E\x61\x67\x65\x6D\x65\x6E\x74\x2F\x71\x75\x65\x75\x65\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x34\x37\x30\x22\x20\x79\x3D\x22\x39\x2E\x39\x39\x39\x39\x39\x39\x39\x39\x39\x39\x39\x39\x39\x39\x33\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x71\x75\x65\x75\x65\x3E\x0A\x20\x20\x20\x20\x3C\x71\x75\x65\x75\x65\x20\x6C\x61\x62\x65\x6C\x3D\x22\x51\x75\x65\x75\x65\x20\x53\x75\x70\x70\x6F\x72\x74\x22\x20\x71\x75\x65\x75\x65\x5F\x69\x64\x3D\x22\x32\x22\x20\x6F\x70\x74\x73\x3D\x22\x22\x20\x75\x72\x6C\x3D\x22\x22\x20\x66\x69\x6C\x65\x5F\x69\x64\x3D\x22\x30\x22\x20\x74\x69\x6D\x65\x6F\x75\x74\x3D\x22\x33\x30\x30\x22\x20\x61\x67\x69\x3D\x22\x22\x20\x6D\x61\x63\x72\x6F\x3D\x22\x22\x20\x67\x6F\x73\x75\x62\x3D\x22\x22\x20\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3D\x22\x22\x20\x69\x64\x3D\x22\x36\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x63\x61\x6C\x6C\x5F\x6D\x61\x6E\x61\x67\x65\x6D\x65\x6E\x74\x2F\x71\x75\x65\x75\x65\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x35\x34\x30\x22\x20\x79\x3D\x22\x31\x34\x39\x2E\x39\x39\x39\x39\x39\x39\x39\x39\x39\x39\x39\x39\x39\x37\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x71\x75\x65\x75\x65\x3E\x0A\x20\x20\x20\x20\x3C\x64\x69\x61\x6C\x20\x6C\x61\x62\x65\x6C\x3D\x22\x49\x6E\x74\x65\x72\x6E\x61\x6C\x20\x44\x69\x61\x6C\x20\x4A\x6F\x68\x6E\x20\x44\x6F\x65\x22\x20\x73\x69\x70\x5F\x69\x64\x3D\x22\x31\x22\x20\x74\x69\x6D\x65\x6F\x75\x74\x3D\x22\x36\x30\x22\x20\x6F\x70\x74\x73\x3D\x22\x22\x20\x75\x72\x6C\x3D\x22\x22\x20\x69\x64\x3D\x22\x37\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x63\x61\x6C\x6C\x5F\x6D\x61\x6E\x61\x67\x65\x6D\x65\x6E\x74\x2F\x64\x69\x61\x6C\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x34\x37\x30\x22\x20\x79\x3D\x22\x33\x31\x30\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x64\x69\x61\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x38\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x31\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x33\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x35\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x39\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x32\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x33\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x36\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x6E\x6F\x6F\x70\x20\x6C\x61\x62\x65\x6C\x3D\x22\x4E\x6F\x4F\x70\x20\x63\x68\x6F\x69\x63\x65\x20\x76\x69\x65\x77\x22\x20\x6F\x75\x74\x70\x75\x74\x3D\x22\x43\x68\x6F\x69\x63\x65\x3A\x20\x7B\x43\x48\x4F\x49\x43\x45\x7D\x22\x20\x69\x64\x3D\x22\x31\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x67\x65\x6E\x65\x72\x61\x6C\x2F\x6E\x6F\x6F\x70\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x33\x30\x30\x22\x20\x79\x3D\x22\x33\x31\x30\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6E\x6F\x6F\x70\x3E\x0A\x20\x20\x20\x20\x3C\x65\x6E\x64\x20\x6C\x61\x62\x65\x6C\x3D\x22\x45\x6E\x64\x22\x20\x69\x64\x3D\x22\x31\x35\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x65\x6E\x74\x72\x79\x2F\x65\x6E\x64\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x37\x32\x30\x22\x20\x79\x3D\x22\x31\x35\x30\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x65\x6E\x64\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x31\x36\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x33\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x33\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x31\x31\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x31\x37\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x35\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x31\x35\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x31\x38\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x36\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x31\x35\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x31\x39\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x37\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x31\x35\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x32\x30\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x31\x31\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x37\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x3C\x2F\x72\x6F\x6F\x74\x3E\x0A\x3C\x2F\x6D\x78\x47\x72\x61\x70\x68\x4D\x6F\x64\x65\x6C\x3E\x0A","\x43\x53\x49","\x43\x75\x73\x74\x6F\x6D\x65\x72\x20\x53\x61\x74\x69\x73\x66\x61\x63\x74\x69\x6F\x6E\x20\x49\x6E\x64\x65\x78\x20\x65\x78\x61\x6D\x70\x6C\x65","\x3C\x6D\x78\x47\x72\x61\x70\x68\x4D\x6F\x64\x65\x6C\x20\x67\x72\x69\x64\x3D\x22\x31\x22\x20\x67\x75\x69\x64\x65\x73\x3D\x22\x31\x22\x20\x74\x6F\x6F\x6C\x74\x69\x70\x73\x3D\x22\x31\x22\x20\x63\x6F\x6E\x6E\x65\x63\x74\x3D\x22\x31\x22\x20\x66\x6F\x6C\x64\x3D\x22\x31\x22\x20\x70\x61\x67\x65\x3D\x22\x30\x22\x20\x70\x61\x67\x65\x53\x63\x61\x6C\x65\x3D\x22\x31\x22\x20\x70\x61\x67\x65\x57\x69\x64\x74\x68\x3D\x22\x38\x32\x36\x22\x20\x70\x61\x67\x65\x48\x65\x69\x67\x68\x74\x3D\x22\x31\x31\x36\x39\x22\x3E\x0A\x20\x20\x3C\x72\x6F\x6F\x74\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x30\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x31\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x30\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x73\x74\x61\x72\x74\x20\x6C\x61\x62\x65\x6C\x3D\x22\x53\x74\x61\x72\x74\x22\x20\x69\x64\x3D\x22\x32\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x65\x6E\x74\x72\x79\x2F\x73\x74\x61\x72\x74\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x39\x30\x22\x20\x79\x3D\x22\x31\x31\x30\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x73\x74\x61\x72\x74\x3E\x0A\x20\x20\x20\x20\x3C\x71\x75\x65\x75\x65\x20\x6C\x61\x62\x65\x6C\x3D\x22\x51\x75\x65\x75\x65\x20\x4F\x50\x54\x49\x4F\x4E\x20\x43\x20\x74\x6F\x20\x63\x6F\x6E\x74\x69\x6E\x75\x65\x22\x20\x71\x75\x65\x75\x65\x5F\x69\x64\x3D\x22\x32\x22\x20\x6F\x70\x74\x73\x3D\x22\x63\x22\x20\x75\x72\x6C\x3D\x22\x22\x20\x66\x69\x6C\x65\x5F\x69\x64\x3D\x22\x30\x22\x20\x74\x69\x6D\x65\x6F\x75\x74\x3D\x22\x31\x30\x22\x20\x61\x67\x69\x3D\x22\x22\x20\x6D\x61\x63\x72\x6F\x3D\x22\x22\x20\x67\x6F\x73\x75\x62\x3D\x22\x22\x20\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3D\x22\x22\x20\x69\x64\x3D\x22\x33\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x63\x61\x6C\x6C\x5F\x6D\x61\x6E\x61\x67\x65\x6D\x65\x6E\x74\x2F\x71\x75\x65\x75\x65\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x32\x36\x30\x22\x20\x79\x3D\x22\x31\x31\x30\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x71\x75\x65\x75\x65\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x34\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x32\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x33\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x73\x75\x62\x70\x72\x6F\x6A\x65\x63\x74\x20\x6C\x61\x62\x65\x6C\x3D\x22\x53\x75\x62\x50\x72\x6F\x6A\x65\x63\x74\x20\x53\x75\x72\x76\x65\x79\x22\x20\x70\x72\x6F\x6A\x65\x63\x74\x5F\x69\x64\x3D\x22\x34\x22\x20\x69\x64\x3D\x22\x35\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x67\x65\x6E\x65\x72\x61\x6C\x2F\x73\x75\x62\x70\x72\x6F\x6A\x65\x63\x74\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x34\x33\x30\x22\x20\x79\x3D\x22\x31\x31\x30\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x73\x75\x62\x70\x72\x6F\x6A\x65\x63\x74\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x36\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x33\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x35\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x65\x6E\x64\x20\x6C\x61\x62\x65\x6C\x3D\x22\x45\x6E\x64\x22\x20\x69\x64\x3D\x22\x37\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x65\x6E\x74\x72\x79\x2F\x65\x6E\x64\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x36\x30\x30\x22\x20\x79\x3D\x22\x31\x31\x30\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x65\x6E\x64\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x38\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x35\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x37\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x3C\x2F\x72\x6F\x6F\x74\x3E\x0A\x3C\x2F\x6D\x78\x47\x72\x61\x70\x68\x4D\x6F\x64\x65\x6C\x3E\x0A","\x4F\x72\x64\x65\x72\x73","\x4F\x72\x64\x65\x72\x20\x44\x42\x20\x49\x56\x52\x20\x53\x61\x6D\x70\x6C\x65","\x3C\x6D\x78\x47\x72\x61\x70\x68\x4D\x6F\x64\x65\x6C\x20\x73\x63\x61\x6C\x65\x3D\x22\x30\x2E\x36\x39\x34\x22\x20\x67\x72\x69\x64\x3D\x22\x31\x22\x20\x67\x75\x69\x64\x65\x73\x3D\x22\x31\x22\x20\x74\x6F\x6F\x6C\x74\x69\x70\x73\x3D\x22\x31\x22\x20\x63\x6F\x6E\x6E\x65\x63\x74\x3D\x22\x31\x22\x20\x66\x6F\x6C\x64\x3D\x22\x31\x22\x20\x70\x61\x67\x65\x3D\x22\x30\x22\x20\x70\x61\x67\x65\x53\x63\x61\x6C\x65\x3D\x22\x31\x22\x20\x70\x61\x67\x65\x57\x69\x64\x74\x68\x3D\x22\x38\x32\x36\x22\x20\x70\x61\x67\x65\x48\x65\x69\x67\x68\x74\x3D\x22\x31\x31\x36\x39\x22\x3E\x0A\x20\x20\x3C\x72\x6F\x6F\x74\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x30\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x31\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x30\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x73\x74\x61\x72\x74\x20\x6C\x61\x62\x65\x6C\x3D\x22\x53\x74\x61\x72\x74\x22\x20\x69\x64\x3D\x22\x32\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x65\x6E\x74\x72\x79\x2F\x73\x74\x61\x72\x74\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x39\x30\x22\x20\x79\x3D\x22\x31\x31\x30\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x73\x74\x61\x72\x74\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x65\x6E\x75\x20\x6C\x61\x62\x65\x6C\x3D\x22\x4D\x65\x6E\x75\x22\x20\x66\x69\x6C\x65\x5F\x69\x64\x3D\x22\x32\x22\x20\x72\x65\x73\x70\x6F\x6E\x73\x65\x3D\x22\x35\x22\x20\x64\x69\x67\x69\x74\x3D\x22\x35\x22\x20\x72\x65\x74\x72\x79\x3D\x22\x31\x22\x20\x76\x61\x72\x69\x61\x62\x6C\x65\x5F\x69\x64\x3D\x22\x32\x22\x20\x69\x64\x3D\x22\x34\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x70\x6C\x61\x79\x62\x61\x63\x6B\x2F\x6D\x65\x6E\x75\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x32\x35\x30\x22\x20\x79\x3D\x22\x31\x31\x30\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x65\x6E\x75\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x35\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x32\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x34\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x6E\x6F\x6F\x70\x20\x6C\x61\x62\x65\x6C\x3D\x22\x4E\x6F\x4F\x70\x20\x44\x65\x62\x75\x67\x20\x4F\x52\x44\x45\x52\x4E\x55\x4D\x22\x20\x6F\x75\x74\x70\x75\x74\x3D\x22\x4F\x52\x44\x45\x52\x20\x4E\x55\x4D\x42\x45\x52\x3A\x20\x7B\x4F\x52\x44\x45\x52\x4E\x55\x4D\x7D\x22\x20\x69\x64\x3D\x22\x36\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x67\x65\x6E\x65\x72\x61\x6C\x2F\x6E\x6F\x6F\x70\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x34\x30\x30\x22\x20\x79\x3D\x22\x31\x30\x39\x2E\x35\x36\x37\x38\x32\x37\x31\x33\x30\x38\x35\x32\x33\x32\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6E\x6F\x6F\x70\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x37\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x2D\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x34\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x36\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x64\x61\x74\x61\x62\x61\x73\x65\x20\x6C\x61\x62\x65\x6C\x3D\x22\x44\x61\x74\x61\x62\x61\x73\x65\x20\x51\x75\x65\x72\x79\x20\x45\x58\x41\x4D\x50\x4C\x45\x22\x20\x64\x61\x74\x61\x62\x61\x73\x65\x5F\x69\x64\x3D\x22\x31\x22\x20\x71\x75\x65\x72\x79\x3D\x22\x53\x45\x4C\x45\x43\x54\x20\x73\x74\x61\x74\x75\x73\x20\x66\x72\x6F\x6D\x20\x6F\x72\x64\x65\x72\x73\x20\x57\x48\x45\x52\x45\x20\x69\x64\x3D\x7B\x4F\x52\x44\x45\x52\x4E\x55\x4D\x7D\x22\x20\x76\x61\x72\x69\x61\x62\x6C\x65\x5F\x69\x64\x3D\x22\x33\x22\x20\x69\x64\x3D\x22\x38\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x5F\x73\x65\x72\x76\x65\x72\x2F\x64\x61\x74\x61\x62\x61\x73\x65\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x35\x36\x30\x22\x20\x79\x3D\x22\x31\x31\x30\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x64\x61\x74\x61\x62\x61\x73\x65\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x39\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x36\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x38\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x67\x6F\x74\x6F\x69\x66\x20\x6C\x61\x62\x65\x6C\x3D\x22\x47\x6F\x74\x6F\x49\x66\x22\x20\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x3D\x22\x7B\x44\x42\x52\x45\x53\x55\x4C\x54\x7D\x20\x3D\x3D\x20\x31\x22\x20\x69\x64\x3D\x22\x31\x30\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x63\x61\x6C\x6C\x66\x6C\x6F\x77\x2F\x67\x6F\x74\x6F\x69\x66\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x37\x33\x30\x22\x20\x79\x3D\x22\x31\x30\x39\x2E\x35\x36\x37\x38\x32\x37\x31\x33\x30\x38\x35\x32\x33\x31\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x67\x6F\x74\x6F\x69\x66\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x31\x31\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x38\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x31\x30\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x70\x6C\x61\x79\x62\x61\x63\x6B\x20\x6C\x61\x62\x65\x6C\x3D\x22\x50\x6C\x61\x79\x62\x61\x63\x6B\x20\x4F\x72\x64\x65\x72\x20\x73\x68\x69\x70\x70\x65\x64\x22\x20\x66\x69\x6C\x65\x5F\x69\x64\x3D\x22\x33\x22\x20\x73\x6B\x69\x70\x3D\x22\x30\x22\x20\x6E\x6F\x61\x6E\x73\x77\x65\x72\x3D\x22\x30\x22\x20\x69\x64\x3D\x22\x31\x32\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x70\x6C\x61\x79\x62\x61\x63\x6B\x2F\x70\x6C\x61\x79\x62\x61\x63\x6B\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x31\x30\x31\x30\x22\x20\x79\x3D\x22\x35\x30\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x70\x6C\x61\x79\x62\x61\x63\x6B\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x31\x33\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x74\x72\x75\x65\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x31\x30\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x31\x32\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x70\x6C\x61\x79\x62\x61\x63\x6B\x20\x6C\x61\x62\x65\x6C\x3D\x22\x50\x6C\x61\x79\x62\x61\x63\x6B\x20\x4F\x72\x64\x65\x72\x20\x6F\x6E\x20\x65\x6C\x61\x62\x6F\x72\x61\x74\x69\x6F\x6E\x22\x20\x66\x69\x6C\x65\x5F\x69\x64\x3D\x22\x34\x22\x20\x73\x6B\x69\x70\x3D\x22\x30\x22\x20\x6E\x6F\x61\x6E\x73\x77\x65\x72\x3D\x22\x30\x22\x20\x69\x64\x3D\x22\x31\x34\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x70\x6C\x61\x79\x62\x61\x63\x6B\x2F\x70\x6C\x61\x79\x62\x61\x63\x6B\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x31\x30\x31\x30\x22\x20\x79\x3D\x22\x31\x38\x39\x2E\x35\x36\x37\x38\x32\x37\x31\x33\x30\x38\x35\x32\x33\x32\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x70\x6C\x61\x79\x62\x61\x63\x6B\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x31\x35\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x66\x61\x6C\x73\x65\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x31\x30\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x31\x34\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x68\x61\x6E\x67\x75\x70\x20\x6C\x61\x62\x65\x6C\x3D\x22\x48\x61\x6E\x67\x75\x70\x22\x20\x69\x64\x3D\x22\x31\x36\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x63\x61\x6C\x6C\x5F\x6D\x61\x6E\x61\x67\x65\x6D\x65\x6E\x74\x2F\x68\x61\x6E\x67\x75\x70\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x31\x31\x38\x30\x22\x20\x79\x3D\x22\x31\x30\x39\x2E\x35\x36\x37\x38\x32\x37\x31\x33\x30\x38\x35\x32\x33\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x68\x61\x6E\x67\x75\x70\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x31\x37\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x31\x32\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x31\x36\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x31\x38\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x31\x34\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x31\x36\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x3C\x2F\x72\x6F\x6F\x74\x3E\x0A\x3C\x2F\x6D\x78\x47\x72\x61\x70\x68\x4D\x6F\x64\x65\x6C\x3E\x0A","\x53\x75\x72\x76\x65\x79","\x53\x75\x72\x76\x65\x79\x20\x49\x56\x52\x20\x65\x78\x61\x6D\x70\x6C\x65","\x3C\x6D\x78\x47\x72\x61\x70\x68\x4D\x6F\x64\x65\x6C\x20\x73\x63\x61\x6C\x65\x3D\x22\x30\x2E\x38\x33\x33\x22\x20\x67\x72\x69\x64\x3D\x22\x31\x22\x20\x67\x75\x69\x64\x65\x73\x3D\x22\x31\x22\x20\x74\x6F\x6F\x6C\x74\x69\x70\x73\x3D\x22\x31\x22\x20\x63\x6F\x6E\x6E\x65\x63\x74\x3D\x22\x31\x22\x20\x66\x6F\x6C\x64\x3D\x22\x31\x22\x20\x70\x61\x67\x65\x3D\x22\x30\x22\x20\x70\x61\x67\x65\x53\x63\x61\x6C\x65\x3D\x22\x31\x22\x20\x70\x61\x67\x65\x57\x69\x64\x74\x68\x3D\x22\x38\x32\x36\x22\x20\x70\x61\x67\x65\x48\x65\x69\x67\x68\x74\x3D\x22\x31\x31\x36\x39\x22\x3E\x0A\x20\x20\x3C\x72\x6F\x6F\x74\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x30\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x31\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x30\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x73\x74\x61\x72\x74\x20\x6C\x61\x62\x65\x6C\x3D\x22\x53\x74\x61\x72\x74\x22\x20\x69\x64\x3D\x22\x32\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x65\x6E\x74\x72\x79\x2F\x73\x74\x61\x72\x74\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x37\x30\x22\x20\x79\x3D\x22\x31\x31\x30\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x73\x74\x61\x72\x74\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x65\x6E\x75\x20\x6C\x61\x62\x65\x6C\x3D\x22\x4D\x65\x6E\x75\x22\x20\x66\x69\x6C\x65\x5F\x69\x64\x3D\x22\x35\x22\x20\x72\x65\x73\x70\x6F\x6E\x73\x65\x3D\x22\x35\x22\x20\x64\x69\x67\x69\x74\x3D\x22\x31\x22\x20\x72\x65\x74\x72\x79\x3D\x22\x31\x22\x20\x76\x61\x72\x69\x61\x62\x6C\x65\x5F\x69\x64\x3D\x22\x34\x22\x20\x69\x64\x3D\x22\x33\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x70\x6C\x61\x79\x62\x61\x63\x6B\x2F\x6D\x65\x6E\x75\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x32\x32\x32\x22\x20\x79\x3D\x22\x31\x31\x30\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x65\x6E\x75\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x34\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x32\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x33\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x6E\x6F\x6F\x70\x20\x6C\x61\x62\x65\x6C\x3D\x22\x4E\x6F\x4F\x70\x22\x20\x6F\x75\x74\x70\x75\x74\x3D\x22\x22\x20\x69\x64\x3D\x22\x35\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x67\x65\x6E\x65\x72\x61\x6C\x2F\x6E\x6F\x6F\x70\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x33\x37\x38\x2E\x39\x39\x39\x39\x39\x39\x39\x39\x39\x39\x39\x39\x39\x34\x22\x20\x79\x3D\x22\x31\x31\x30\x2E\x31\x33\x35\x36\x35\x34\x32\x36\x31\x37\x30\x34\x36\x34\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6E\x6F\x6F\x70\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x36\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x31\x2C\x32\x2C\x33\x2C\x34\x2C\x35\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x33\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x35\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x64\x61\x74\x61\x62\x61\x73\x65\x20\x6C\x61\x62\x65\x6C\x3D\x22\x44\x61\x74\x61\x62\x61\x73\x65\x22\x20\x64\x61\x74\x61\x62\x61\x73\x65\x5F\x69\x64\x3D\x22\x32\x22\x20\x71\x75\x65\x72\x79\x3D\x22\x49\x4E\x53\x45\x52\x54\x20\x49\x4E\x54\x4F\x20\x73\x75\x72\x76\x65\x79\x20\x28\x61\x67\x65\x6E\x74\x2C\x20\x71\x75\x65\x75\x65\x2C\x20\x72\x65\x73\x75\x6C\x74\x29\x26\x23\x78\x61\x3B\x56\x41\x4C\x55\x45\x53\x20\x28\x7B\x4D\x45\x4D\x42\x45\x52\x49\x4E\x54\x45\x52\x46\x41\x43\x45\x7D\x2C\x20\x7B\x51\x55\x45\x55\x45\x4E\x41\x4D\x45\x7D\x2C\x20\x7B\x52\x41\x54\x45\x7D\x29\x22\x20\x76\x61\x72\x69\x61\x62\x6C\x65\x5F\x69\x64\x3D\x22\x34\x22\x20\x69\x64\x3D\x22\x37\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x5F\x73\x65\x72\x76\x65\x72\x2F\x64\x61\x74\x61\x62\x61\x73\x65\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x36\x37\x30\x22\x20\x79\x3D\x22\x31\x31\x30\x2E\x31\x33\x35\x36\x35\x34\x32\x36\x31\x37\x30\x34\x36\x34\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x64\x61\x74\x61\x62\x61\x73\x65\x3E\x0A\x20\x20\x20\x20\x3C\x68\x61\x6E\x67\x75\x70\x20\x6C\x61\x62\x65\x6C\x3D\x22\x48\x61\x6E\x67\x75\x70\x22\x20\x69\x64\x3D\x22\x31\x30\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x63\x61\x6C\x6C\x5F\x6D\x61\x6E\x61\x67\x65\x6D\x65\x6E\x74\x2F\x68\x61\x6E\x67\x75\x70\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x38\x33\x38\x22\x20\x79\x3D\x22\x31\x31\x30\x2E\x31\x33\x35\x36\x35\x34\x32\x36\x31\x37\x30\x34\x36\x34\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x68\x61\x6E\x67\x75\x70\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x31\x32\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x37\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x31\x30\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x70\x6C\x61\x79\x62\x61\x63\x6B\x20\x6C\x61\x62\x65\x6C\x3D\x22\x50\x6C\x61\x79\x62\x61\x63\x6B\x20\x54\x68\x61\x6E\x6B\x20\x79\x6F\x75\x22\x20\x66\x69\x6C\x65\x5F\x69\x64\x3D\x22\x36\x22\x20\x73\x6B\x69\x70\x3D\x22\x30\x22\x20\x6E\x6F\x61\x6E\x73\x77\x65\x72\x3D\x22\x30\x22\x20\x69\x64\x3D\x22\x31\x33\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x70\x6C\x61\x79\x62\x61\x63\x6B\x2F\x70\x6C\x61\x79\x62\x61\x63\x6B\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x35\x32\x30\x22\x20\x79\x3D\x22\x31\x31\x30\x2E\x31\x33\x35\x36\x35\x34\x32\x36\x31\x37\x30\x34\x36\x34\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x70\x6C\x61\x79\x62\x61\x63\x6B\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x31\x34\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x35\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x31\x33\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x31\x35\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x31\x33\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x37\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x3C\x2F\x72\x6F\x6F\x74\x3E\x0A\x3C\x2F\x6D\x78\x47\x72\x61\x70\x68\x4D\x6F\x64\x65\x6C\x3E\x0A","\x53\x71\x75\x61\x72\x65\x50\x72\x6F\x6A\x65\x63\x74","\x50\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x53\x71\x75\x61\x72\x65\x20\x4F\x44\x42\x43\x3A\x20\x25\x73\x20\x2D\x20\x44\x4F\x4E\x45\x20","\x78\x63\x61\x6C\x6C\x79","\x44\x52\x49\x56\x45\x52\x3D\x4D\x79\x53\x51\x4C\x3B\x53\x45\x52\x56\x45\x52\x3D\x31\x32\x37\x2E\x30\x2E\x30\x2E\x31\x3B\x55\x49\x44\x3D\x78\x63\x61\x6C\x6C\x3B\x50\x57\x44\x3D\x78\x43\x40\x4C\x4C\x31\x32\x33\x34\x3B\x44\x41\x54\x41\x42\x41\x53\x45\x3D\x6D\x6F\x74\x69\x6F\x6E","\x53\x71\x75\x61\x72\x65\x4F\x64\x62\x63","\x50\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x3A\x20\x25\x73\x20\x2D\x20\x44\x4F\x4E\x45\x20","\x5A\x65\x6E\x64\x65\x73\x6B","\x31\x2E\x30\x2E\x30","\x58\x65\x6E\x69\x61\x4C\x41\x42\x20\x73\x2E\x72\x2E\x6C\x2E","\x61\x73\x73\x65\x74\x73\x2F\x69\x6D\x61\x67\x65\x73\x2F\x6D\x65\x64\x69\x61\x2F\x7A\x65\x6E\x64\x65\x73\x6B\x32\x2E\x70\x6E\x67","\x7A\x65\x6E\x64\x65\x73\x6B","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E\x20\x66\x6F\x72\x20\x5A\x65\x6E\x64\x65\x73\x6B","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65","\x61\x73\x73\x65\x74\x73\x2F\x69\x6D\x61\x67\x65\x73\x2F\x6D\x65\x64\x69\x61\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x32\x2E\x70\x6E\x67","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E\x20\x66\x6F\x72\x20\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65","\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x50\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x43\x6F\x6D\x70\x61\x6E\x69\x65\x73\x3A\x20\x25\x73\x20\x2D\x20\x44\x4F\x4E\x45\x20","\x41\x63\x6D\x65","\x6C\x74\x64","\x41\x63\x6D\x65\x20\x53\x72\x65\x65\x74","\x58\x65\x6E\x69\x61\x6C\x61\x62","\x73\x72\x6C","\x43\x2E\x73\x6F\x20\x56\x69\x74\x74\x6F\x72\x69\x6F\x20\x45\x6D\x61\x6E\x75\x65\x6C\x65\x20\x49\x49\x2C\x20\x31\x31\x31","\x31\x30\x31\x32\x38","\x49\x74\x61\x6C\x79","\x54\x75\x72\x69\x6E","\x30\x39\x36\x36\x38\x39\x31\x30\x30\x31\x32","\x68\x74\x74\x70\x3A\x2F\x2F\x77\x77\x77\x2E\x78\x65\x6E\x69\x61\x6C\x61\x62\x2E\x63\x6F\x6D\x2F","\x2B\x33\x39\x20\x30\x31\x31\x2E\x31\x39\x38\x38\x36\x35\x30\x30","\x2B\x33\x39\x20\x30\x31\x31\x2E\x30\x39\x36\x30\x30\x37\x30","\x69\x6E\x66\x6F\x40\x78\x63\x61\x6C\x6C\x79\x2E\x63\x6F\x6D","\x43\x6F\x6D\x70\x61\x6E\x79","\x50\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x44\x61\x73\x68\x62\x6F\x61\x72\x64\x73\x3A\x20\x25\x73\x20\x2D\x20\x44\x4F\x4E\x45\x20","\x49\x6E\x62\x6F\x75\x6E\x64\x20\x43\x61\x6C\x6C\x73","\x56\x6F\x69\x63\x65\x20\x49\x6E\x62\x6F\x75\x6E\x64","\x63\x6F\x6C\x2D\x6D\x64\x2D\x33","\x63\x6F\x75\x6E\x74\x65\x72","\x62\x6C\x75\x65\x2D\x6D\x61\x64\x69\x73\x6F\x6E","\x66\x61\x2D\x63\x6F\x6D\x6D\x65\x6E\x74\x73","\x23","\x56\x49\x45\x57\x20\x4D\x4F\x52\x45","\x41\x67\x65\x6E\x74\x73","\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74","\x43\x61\x6C\x6C\x73","\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C","\x44\x69\x61\x6C\x73","\x72\x65\x70\x6F\x72\x74\x5F\x64\x69\x61\x6C","\x51\x75\x65\x75\x65\x73","\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65","\x75\x73\x65\x72\x73","\x43\x68\x61\x74\x20\x53\x65\x73\x73\x69\x6F\x6E\x73","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x73\x65\x73\x73\x69\x6F\x6E","\x4D\x61\x69\x6C\x20\x53\x65\x73\x73\x69\x6F\x6E\x73","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x73\x65\x73\x73\x69\x6F\x6E","\x42\x6C\x75\x65","\x52\x65\x64","\x72\x65\x64\x2D\x69\x6E\x74\x65\x6E\x73\x65","\x47\x72\x65\x65\x6E","\x67\x72\x65\x65\x6E\x2D\x68\x61\x7A\x65","\x50\x75\x72\x70\x6C\x65","\x70\x75\x72\x70\x6C\x65\x2D\x70\x6C\x75\x6D","\x4F\x72\x61\x6E\x67\x65","\x79\x65\x6C\x6C\x6F\x77\x2D\x63\x61\x73\x61\x62\x6C\x61\x6E\x63\x61","\x59\x65\x6C\x6C\x6F\x77","\x79\x65\x6C\x6C\x6F\x77\x2D\x63\x72\x75\x73\x74\x61","\x54\x61\x6C\x6B\x20\x62\x75\x62\x62\x6C\x65\x73","\x42\x61\x72\x20\x43\x68\x61\x72\x74","\x66\x61\x2D\x62\x61\x72\x2D\x63\x68\x61\x72\x74","\x53\x68\x6F\x70\x70\x69\x6E\x67\x20\x43\x61\x72\x74","\x66\x61\x2D\x73\x68\x6F\x70\x70\x69\x6E\x67\x2D\x63\x61\x72\x74","\x47\x6C\x6F\x62\x65","\x66\x61\x2D\x67\x6C\x6F\x62\x65","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x3D\x30\x20\x41\x4E\x44\x20\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x3D\x30\x20\x41\x4E\x44\x20\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x65\x78\x69\x74\x3D\x30\x20\x41\x4E\x44\x20\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65\x41\x74\x20\x69\x73\x20\x6E\x6F\x74\x20\x6E\x75\x6C\x6C","\x41\x63\x74\x69\x76\x65\x20\x43\x61\x6C\x6C\x73","\x43\x4F\x55\x4E\x54\x28\x2A\x29","\x43\x41\x4C\x4C\x53","\x2E\x2E\x2F\x73\x72\x63\x2F\x74\x65\x6D\x70\x6C\x61\x74\x65\x73\x2F\x77\x69\x64\x67\x65\x74\x2D\x74\x69\x74\x6C\x65\x2E\x68\x74\x6D\x6C","\x31\x34\x35\x34\x37\x37\x32\x35\x33\x32\x33\x34\x36\x2D\x31\x30","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x3D\x31","\x54\x6F\x74\x61\x6C\x20\x41\x6E\x73\x77\x65\x72\x65\x64","\x31\x34\x35\x36\x38\x34\x31\x30\x33\x31\x31\x31\x31\x2D\x38","\x52\x4F\x55\x4E\x44\x28\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x29\x20\x2F\x20\x28\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x29\x2B\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x29\x29\x20\x2A\x31\x30\x30\x2C\x31\x29","\x41\x6E\x73\x77\x65\x72\x20\x52\x61\x74\x65\x28\x25\x29","\x31\x34\x35\x37\x32\x37\x30\x31\x32\x34\x38\x30\x32\x2D\x34","\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x52\x4F\x55\x4E\x44\x28\x41\x56\x47\x28\x74\x61\x6C\x6B\x74\x69\x6D\x65\x29\x2C\x30\x29\x29","\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65\x3D\x31","\x41\x76\x67\x20\x54\x61\x6C\x6B\x20\x54\x69\x6D\x65","\x31\x34\x35\x37\x32\x37\x30\x32\x31\x34\x37\x36\x36\x2D\x35","\x52\x4F\x55\x4E\x44\x28\x53\x55\x4D\x28\x43\x41\x53\x45\x20\x57\x48\x45\x4E\x20\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x3D\x31\x20\x41\x4E\x44\x20\x28\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29\x20\x3C\x20\x31\x30\x29\x20\x54\x48\x45\x4E\x20\x31\x20\x45\x4C\x53\x45\x20\x30\x20\x45\x4E\x44\x29\x2F\x28\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x29\x20\x2B\x20\x53\x55\x4D\x28\x43\x41\x53\x45\x20\x57\x48\x45\x4E\x20\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x3D\x31\x20\x41\x4E\x44\x20\x28\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29\x20\x3E\x20\x31\x30\x29\x20\x54\x48\x45\x4E\x20\x31\x20\x45\x4C\x53\x45\x20\x30\x20\x45\x4E\x44\x29\x29\x20\x2A\x31\x30\x30\x2C\x31\x29","\x53\x65\x72\x76\x69\x63\x65\x20\x4C\x65\x76\x65\x6C\x20\x31\x30\x20\x28\x25\x29","\x53\x45\x52\x56\x49\x43\x45\x20\x4C\x45\x56\x45\x4C","\x31\x34\x35\x37\x33\x36\x36\x39\x36\x35\x37\x39\x34\x2D\x33","\x31\x34\x35\x36\x38\x34\x31\x31\x39\x31\x36\x36\x31\x2D\x32\x31","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65\x41\x74\x20\x49\x53\x20\x4E\x55\x4C\x4C","\x57\x61\x69\x74\x69\x6E\x67\x20\x43\x61\x6C\x6C\x73","\x31\x34\x35\x36\x38\x33\x39\x38\x37\x30\x34\x34\x39\x2D\x35","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x3D\x31","\x54\x6F\x74\x61\x6C\x20\x41\x62\x61\x6E\x64\x6F\x6E\x65\x64","\x31\x34\x35\x36\x38\x34\x31\x32\x34\x34\x39\x33\x31\x2D\x32\x37","\x52\x4F\x55\x4E\x44\x28\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x29\x20\x2F\x20\x28\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x29\x2B\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x29\x29\x20\x2A\x31\x30\x30\x2C\x31\x29","\x41\x62\x61\x6E\x64\x6F\x6E\x20\x52\x61\x74\x65\x20\x28\x25\x29","\x31\x34\x35\x37\x32\x36\x39\x30\x33\x33\x39\x32\x33\x2D\x33","\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x52\x4F\x55\x4E\x44\x28\x41\x56\x47\x28\x68\x6F\x6C\x64\x74\x69\x6D\x65\x29\x2C\x30\x29\x29","\x41\x76\x67\x20\x41\x6E\x73\x77\x65\x72\x20\x54\x69\x6D\x65","\x31\x34\x35\x37\x32\x37\x30\x32\x33\x30\x33\x32\x34\x2D\x38","\x52\x4F\x55\x4E\x44\x28\x53\x55\x4D\x28\x43\x41\x53\x45\x20\x57\x48\x45\x4E\x20\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x3D\x31\x20\x41\x4E\x44\x20\x28\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29\x20\x3C\x20\x31\x35\x29\x20\x54\x48\x45\x4E\x20\x31\x20\x45\x4C\x53\x45\x20\x30\x20\x45\x4E\x44\x29\x2F\x28\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x29\x20\x2B\x20\x53\x55\x4D\x28\x43\x41\x53\x45\x20\x57\x48\x45\x4E\x20\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x3D\x31\x20\x41\x4E\x44\x20\x28\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29\x20\x3E\x20\x31\x35\x29\x20\x54\x48\x45\x4E\x20\x31\x20\x45\x4C\x53\x45\x20\x30\x20\x45\x4E\x44\x29\x29\x20\x2A\x31\x30\x30\x2C\x31\x29","\x53\x65\x72\x76\x69\x63\x65\x20\x4C\x65\x76\x65\x6C\x20\x31\x35\x20\x28\x25\x29","\x53\x45\x52\x56\x49\x43\x45\x20\x4C\x45\x56\x45\x4C\x20\x31\x35","\x31\x34\x35\x37\x39\x35\x32\x37\x33\x34\x35\x39\x30\x2D\x31","\x31\x34\x35\x36\x38\x34\x31\x31\x39\x31\x36\x36\x32\x2D\x32\x32","\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x4D\x41\x58\x28\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65\x41\x74\x29\x29\x29","\x4C\x6F\x6E\x67\x65\x73\x74\x20\x41\x63\x74\x69\x76\x65\x20\x43\x61\x6C\x6C","\x31\x34\x35\x37\x32\x37\x35\x32\x35\x38\x34\x39\x34\x2D\x31\x31","\x43\x4F\x55\x4E\x54\x28\x64\x69\x73\x74\x69\x6E\x63\x74\x20\x75\x6E\x69\x71\x75\x65\x69\x64\x29","\x54\x6F\x74\x61\x6C\x20\x4F\x66\x66\x65\x72\x65\x64","\x31\x34\x35\x37\x32\x36\x39\x30\x31\x30\x36\x31\x36\x2D\x31","\x52\x4F\x55\x4E\x44\x28\x43\x4F\x55\x4E\x54\x28\x44\x49\x53\x54\x49\x4E\x43\x54\x20\x75\x6E\x69\x71\x75\x65\x69\x64\x29\x2F\x48\x4F\x55\x52\x28\x43\x55\x52\x52\x45\x4E\x54\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x29\x29\x2C\x31\x29","\x41\x76\x67\x20\x4F\x66\x66\x65\x72\x65\x64\x20\x50\x65\x72\x20\x48\x6F\x75\x72","\x31\x34\x35\x37\x32\x37\x35\x32\x36\x33\x30\x32\x32\x2D\x31\x32","\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x52\x4F\x55\x4E\x44\x28\x41\x56\x47\x28\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x41\x74\x29\x2D\x20\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x4A\x6F\x69\x6E\x41\x74\x29\x29\x2C\x30\x29\x29","\x41\x76\x67\x20\x41\x62\x61\x6E\x64\x6F\x6E\x20\x54\x69\x6D\x65","\x31\x34\x35\x37\x32\x37\x30\x32\x32\x33\x38\x37\x30\x2D\x37","\x52\x4F\x55\x4E\x44\x28\x53\x55\x4D\x28\x43\x41\x53\x45\x20\x57\x48\x45\x4E\x20\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x3D\x31\x20\x41\x4E\x44\x20\x28\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29\x20\x3C\x20\x32\x30\x29\x20\x54\x48\x45\x4E\x20\x31\x20\x45\x4C\x53\x45\x20\x30\x20\x45\x4E\x44\x29\x2F\x28\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x29\x20\x2B\x20\x53\x55\x4D\x28\x43\x41\x53\x45\x20\x57\x48\x45\x4E\x20\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x3D\x31\x20\x41\x4E\x44\x20\x28\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29\x20\x3E\x20\x32\x30\x29\x20\x54\x48\x45\x4E\x20\x31\x20\x45\x4C\x53\x45\x20\x30\x20\x45\x4E\x44\x29\x29\x20\x2A\x31\x30\x30\x2C\x31\x29","\x53\x65\x72\x76\x69\x63\x65\x20\x4C\x65\x76\x65\x6C\x20\x32\x30\x20\x28\x25\x29","\x53\x45\x52\x56\x49\x43\x45\x20\x4C\x45\x56\x45\x4C\x20\x32\x30","\x31\x34\x35\x37\x39\x35\x32\x37\x35\x31\x36\x30\x35\x2D\x32","\x31\x34\x35\x36\x38\x34\x31\x31\x39\x31\x36\x36\x33\x2D\x32\x33","\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x4D\x41\x58\x28\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29\x29\x29","\x4F\x6C\x64\x65\x73\x74\x20\x57\x61\x69\x74\x69\x6E\x67\x20\x43\x61\x6C\x6C","\x31\x34\x35\x37\x32\x37\x35\x32\x35\x34\x30\x36\x31\x2D\x31\x30","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x65\x78\x69\x74\x3D\x31","\x55\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x31\x34\x35\x37\x32\x36\x39\x30\x32\x32\x30\x36\x32\x2D\x32","\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x52\x4F\x55\x4E\x44\x28\x41\x56\x47\x28\x61\x63\x77\x74\x69\x6D\x65\x29\x2C\x30\x29\x29","\x41\x76\x67\x20\x41\x43\x57\x20\x54\x69\x6D\x65","\x31\x34\x35\x37\x32\x37\x30\x32\x31\x39\x33\x35\x35\x2D\x36","\x31\x34\x35\x36\x38\x34\x31\x31\x39\x31\x36\x36\x34\x2D\x32\x34","\x2E\x2E\x2F\x73\x72\x63\x2F\x74\x65\x6D\x70\x6C\x61\x74\x65\x73\x2F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x2D\x74\x69\x74\x6C\x65\x2E\x68\x74\x6D\x6C","\x33\x2D\x33\x2D\x33\x2D\x33","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x4F\x75\x74\x62\x6F\x75\x6E\x64\x20\x43\x61\x6C\x6C\x73","\x74\x79\x70\x65\x3D\x22\x6F\x75\x74\x62\x6F\x75\x6E\x64\x22","\x4D\x61\x6E\x75\x61\x6C\x20\x4F\x75\x74\x62\x6F\x75\x6E\x64","\x31\x34\x35\x37\x32\x37\x36\x34\x35\x38\x34\x32\x34\x2D\x31\x34","\x74\x79\x70\x65\x3D\x22\x6F\x75\x74\x62\x6F\x75\x6E\x64\x22\x20\x41\x4E\x44\x20\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3D\x22\x41\x4E\x53\x57\x45\x52\x45\x44\x22","\x41\x6E\x73\x77\x65\x72\x65\x64","\x31\x34\x35\x37\x37\x31\x38\x35\x37\x39\x35\x32\x32\x2D\x32","\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x53\x55\x4D\x28\x64\x75\x72\x61\x74\x69\x6F\x6E\x29\x29","\x47\x6C\x6F\x62\x61\x6C\x20\x44\x75\x72\x61\x74\x69\x6F\x6E","\x31\x34\x35\x37\x32\x37\x36\x34\x35\x33\x34\x36\x35\x2D\x31\x33","\x52\x4F\x55\x4E\x44\x28\x53\x55\x4D\x28\x49\x46\x28\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3D\x22\x41\x4E\x53\x57\x45\x52\x45\x44\x22\x2C\x31\x2C\x30\x29\x29\x2F\x43\x4F\x55\x4E\x54\x28\x2A\x29\x2A\x31\x30\x30\x2C\x31\x29","\x41\x6E\x73\x77\x65\x72\x20\x52\x61\x74\x65\x20\x28\x25\x29","\x31\x34\x35\x37\x37\x31\x38\x35\x39\x31\x32\x34\x33\x2D\x33","\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x52\x4F\x55\x4E\x44\x28\x41\x56\x47\x28\x64\x75\x72\x61\x74\x69\x6F\x6E\x29\x2C\x30\x29\x29","\x41\x76\x67\x20\x44\x75\x72\x61\x74\x69\x6F\x6E","\x31\x34\x35\x37\x37\x31\x38\x34\x38\x32\x33\x39\x36\x2D\x31","\x41\x67\x65\x6E\x74\x73\x20\x53\x74\x61\x74\x75\x73","\x6F\x6E\x6C\x69\x6E\x65\x3D\x31\x20\x41\x4E\x44\x20\x72\x6F\x6C\x65\x3D\x22\x61\x67\x65\x6E\x74\x22","\x4C\x6F\x67\x67\x65\x64","\x41\x47\x45\x4E\x54\x53","\x31\x34\x35\x37\x32\x37\x35\x32\x34\x38\x35\x32\x31\x2D\x39","\x6F\x6E\x6C\x69\x6E\x65\x3D\x31\x20\x41\x4E\x44\x20\x72\x6F\x6C\x65\x3D\x22\x61\x67\x65\x6E\x74\x22\x20\x41\x4E\x44\x20\x28\x76\x6F\x69\x63\x65\x50\x61\x75\x73\x65\x3D\x31\x20\x4F\x52\x20\x63\x68\x61\x74\x50\x61\x75\x73\x65\x3D\x31\x20\x4F\x52\x20\x6D\x61\x69\x6C\x50\x61\x75\x73\x65\x3D\x31\x20\x4F\x52\x20\x66\x61\x78\x50\x41\x75\x73\x65\x3D\x31\x29\x20\x61\x6E\x64\x20\x70\x61\x75\x73\x65\x54\x79\x70\x65\x20\x21\x3D\x22\x41\x43\x57\x22","\x50\x61\x75\x73\x65\x64","\x31\x34\x35\x37\x32\x37\x36\x34\x36\x32\x38\x34\x36\x2D\x31\x35","\x76\x6F\x69\x63\x65\x50\x61\x75\x73\x65\x3D\x31\x20\x61\x6E\x64\x20\x70\x61\x75\x73\x65\x54\x79\x70\x65\x3D\x22\x41\x43\x57\x22","\x41\x43\x57","\x31\x34\x35\x37\x33\x36\x30\x34\x36\x34\x32\x30\x38\x2D\x31","\x44\x61\x73\x68\x62\x6F\x61\x72\x64","\x50\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x53\x65\x74\x74\x69\x6E\x67\x73\x20\x2D\x20\x44\x4F\x4E\x45\x20","\x2F\x76\x61\x72\x2F\x6F\x70\x74\x2F\x6D\x6F\x74\x69\x6F\x6E\x2F\x73\x65\x72\x76\x65\x72\x2F\x66\x69\x6C\x65\x73\x2F\x73\x6F\x75\x6E\x64\x73\x2F\x63\x6F\x6E\x76\x65\x72\x74\x65\x64","\x53\x65\x74\x74\x69\x6E\x67\x73","\x64\x61\x73\x68\x62\x6F\x61\x72\x64","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x44\x41\x53\x48\x42\x4F\x41\x52\x44","\x2F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x2F\x76\x6F\x69\x63\x65","\x79\x6F\x75\x72\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x73","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x59\x4F\x55\x52\x5F\x44\x41\x53\x48\x42\x4F\x41\x52\x44\x53","\x2F\x74\x6F\x6F\x6C\x73\x2F\x79\x6F\x75\x72\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x73\x2F\x73\x68\x6F\x77\x2F\x31","\x73\x74\x61\x66\x66","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x53\x54\x41\x46\x46","\x2F\x73\x74\x61\x66\x66\x2F\x61\x67\x65\x6E\x74\x73\x2F\x6C\x69\x73\x74","\x61\x67\x65\x6E\x74\x73","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x41\x47\x45\x4E\x54\x53","\x63\x6F\x6E\x74\x61\x63\x74\x6D\x61\x6E\x61\x67\x65\x72","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x43\x4F\x4E\x54\x41\x43\x54\x5F\x4D\x41\x4E\x41\x47\x45\x52","\x2F\x63\x6F\x6E\x74\x61\x63\x74\x6D\x61\x6E\x61\x67\x65\x72\x2F\x63\x6F\x6E\x74\x61\x63\x74\x73\x2F\x6C\x69\x73\x74","\x63\x68\x61\x6E\x6E\x65\x6C\x73","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x43\x48\x41\x4E\x4E\x45\x4C\x53","\x76\x6F\x69\x63\x65","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x56\x4F\x49\x43\x45","\x2F\x63\x68\x61\x6E\x6E\x65\x6C\x73\x2F\x76\x6F\x69\x63\x65\x2F\x71\x75\x65\x75\x65\x73\x2F\x6C\x69\x73\x74","\x63\x68\x61\x74","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x43\x48\x41\x54","\x2F\x63\x68\x61\x6E\x6E\x65\x6C\x73\x2F\x63\x68\x61\x74\x2F\x77\x65\x62\x73\x69\x74\x65\x73\x2F\x6C\x69\x73\x74","\x6D\x61\x69\x6C","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x4D\x41\x49\x4C","\x2F\x63\x68\x61\x6E\x6E\x65\x6C\x73\x2F\x6D\x61\x69\x6C\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73\x2F\x6C\x69\x73\x74","\x66\x61\x78","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x46\x41\x58","\x2F\x63\x68\x61\x6E\x6E\x65\x6C\x73\x2F\x66\x61\x78\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73\x2F\x6C\x69\x73\x74","\x73\x6D\x73","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x53\x4D\x53","\x2F\x63\x68\x61\x6E\x6E\x65\x6C\x73\x2F\x73\x6D\x73\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73\x2F\x6C\x69\x73\x74","\x72\x65\x61\x6C\x74\x69\x6D\x65","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x52\x45\x41\x4C\x54\x49\x4D\x45","\x2F\x63\x68\x61\x6E\x6E\x65\x6C\x73\x2F\x72\x65\x61\x6C\x74\x69\x6D\x65\x2F\x76\x69\x65\x77\x2F\x61\x67\x65\x6E\x74\x73","\x74\x6F\x6F\x6C\x73","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x54\x4F\x4F\x4C\x53","\x2F\x74\x6F\x6F\x6C\x73\x2F\x74\x72\x69\x67\x67\x65\x72\x73\x2F\x6C\x69\x73\x74","\x73\x71\x75\x61\x72\x65","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x43\x41\x4C\x4C\x59\x53\x51\x55\x41\x52\x45","\x2F\x73\x71\x75\x61\x72\x65\x2F\x70\x72\x6F\x6A\x65\x63\x74\x73\x2F\x6C\x69\x73\x74","\x6A\x73\x63\x72\x69\x70\x74\x79","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x4A\x53\x43\x52\x49\x50\x54\x59","\x2F\x6A\x73\x63\x72\x69\x70\x74\x79\x2F\x70\x72\x6F\x6A\x65\x63\x74\x73\x2F\x6C\x69\x73\x74","\x6D\x6F\x74\x69\x6F\x6E\x64\x69\x61\x6C\x65\x72","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x4D\x4F\x54\x49\x4F\x4E\x5F\x44\x49\x41\x4C\x45\x52","\x2F\x6D\x6F\x74\x69\x6F\x6E\x64\x69\x61\x6C\x65\x72\x2F\x6C\x69\x73\x74\x73\x2F\x6C\x69\x73\x74","\x61\x6E\x61\x6C\x79\x74\x69\x63\x73","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x41\x4E\x41\x4C\x59\x54\x49\x43\x53","\x2F\x61\x6E\x61\x6C\x79\x74\x69\x63\x73\x2F\x72\x65\x70\x6F\x72\x74\x73\x2F\x6C\x69\x73\x74","\x73\x65\x74\x74\x69\x6E\x67","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x53\x45\x54\x54\x49\x4E\x47\x53","\x2F\x73\x65\x74\x74\x69\x6E\x67\x2F\x75\x70\x64\x61\x74\x65\x73\x2F\x6C\x69\x73\x74","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x49\x4E\x54\x45\x47\x52\x41\x54\x49\x4F\x4E","\x2F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x73\x2F\x6C\x69\x73\x74","\x45\x72\x72\x6F\x72\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x6D\x6F\x64\x75\x6C\x65\x73\x3A","\x63\x61\x74\x63\x68","\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x6D\x6F\x64\x75\x6C\x65\x73","\x61\x6C\x6C","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x75\x70\x64\x61\x74\x65","\x4D\x6F\x64\x75\x6C\x65","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x66\x69\x6E\x64\x41\x6C\x6C","\x51\x75\x65\x75\x65\x20\x2D\x20\x44\x65\x74\x61\x69\x6C\x73","\x6A\x34\x5F\x33","\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x5F\x68\x69\x73\x74\x6F\x72\x79","\x7B\x22\x67\x72\x6F\x75\x70\x22\x3A\x7B\x22\x6F\x70\x65\x72\x61\x74\x6F\x72\x22\x3A\x22\x41\x4E\x44\x22\x2C\x22\x72\x75\x6C\x65\x73\x22\x3A\x5B\x5D\x7D\x7D","\x44\x65\x74\x61\x69\x6C\x73","\x43\x61\x6C\x6C\x73\x20\x64\x65\x74\x61\x69\x6C\x73\x20\x28\x63\x64\x72\x29","\x6A\x32\x30\x5F\x31","\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x5F\x68\x69\x73\x74\x6F\x72\x79","\x4F\x75\x74\x62\x6F\x75\x6E\x64","\x4D\x61\x6E\x75\x61\x6C\x20\x6F\x75\x74\x62\x6F\x75\x6E\x64\x20\x63\x61\x6C\x6C\x73\x20\x64\x65\x74\x61\x69\x6C","\x7B\x22\x67\x72\x6F\x75\x70\x22\x3A\x7B\x22\x6F\x70\x65\x72\x61\x74\x6F\x72\x22\x3A\x22\x41\x4E\x44\x22\x2C\x22\x72\x75\x6C\x65\x73\x22\x3A\x5B\x7B\x22\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x22\x3A\x22\x3D\x22\x2C\x22\x66\x69\x65\x6C\x64\x22\x3A\x22\x74\x79\x70\x65\x22\x2C\x22\x76\x61\x6C\x75\x65\x22\x3A\x22\x6F\x75\x74\x62\x6F\x75\x6E\x64\x22\x7D\x5D\x7D\x7D","\x43\x61\x6C\x6C\x73\x20\x62\x79\x20\x51\x75\x65\x75\x65","\x6A\x34\x5F\x37","\x6A\x34\x5F\x35","\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x5F\x68\x69\x73\x74\x6F\x72\x79","\x7B\x22\x67\x72\x6F\x75\x70\x22\x3A\x7B\x22\x6F\x70\x65\x72\x61\x74\x6F\x72\x22\x3A\x22\x41\x4E\x44\x22\x2C\x22\x72\x75\x6C\x65\x73\x22\x3A\x5B\x7B\x22\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x22\x3A\x22\x3D\x22\x2C\x22\x66\x69\x65\x6C\x64\x22\x3A\x22\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65\x22\x2C\x22\x76\x61\x6C\x75\x65\x22\x3A\x22\x31\x22\x7D\x5D\x7D\x7D","\x43\x61\x6C\x6C\x73\x20\x62\x79\x20\x41\x67\x65\x6E\x74","\x41\x6E\x73\x77\x65\x72\x20\x54\x69\x6D\x65\x20\x62\x79\x20\x51\x75\x65\x75\x65","\x44\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x20\x43\x61\x75\x73\x65","\x6A\x34\x5F\x36","\x7B\x22\x67\x72\x6F\x75\x70\x22\x3A\x7B\x22\x6F\x70\x65\x72\x61\x74\x6F\x72\x22\x3A\x22\x41\x4E\x44\x22\x2C\x22\x72\x75\x6C\x65\x73\x22\x3A\x5B\x7B\x22\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x22\x3A\x22\x3D\x22\x2C\x22\x66\x69\x65\x6C\x64\x22\x3A\x22\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x22\x2C\x22\x76\x61\x6C\x75\x65\x22\x3A\x22\x30\x22\x7D\x5D\x7D\x7D","\x55\x6E\x61\x6E\x73\x77\x65\x72\x65\x64\x20\x62\x79\x20\x51\x75\x65\x75\x65","\x45\x78\x69\x74\x20\x43\x61\x75\x73\x65","\x7B\x22\x67\x72\x6F\x75\x70\x22\x3A\x7B\x22\x6F\x70\x65\x72\x61\x74\x6F\x72\x22\x3A\x22\x41\x4E\x44\x22\x2C\x22\x72\x75\x6C\x65\x73\x22\x3A\x5B\x7B\x22\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x22\x3A\x22\x3D\x22\x2C\x22\x66\x69\x65\x6C\x64\x22\x3A\x22\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x65\x78\x69\x74\x22\x2C\x22\x76\x61\x6C\x75\x65\x22\x3A\x22\x31\x22\x7D\x5D\x7D\x7D","\x41\x62\x61\x6E\x64\x6F\x6E\x20\x54\x69\x6D\x65\x20\x62\x79\x20\x51\x75\x65\x75\x65","\x7B\x22\x67\x72\x6F\x75\x70\x22\x3A\x7B\x22\x6F\x70\x65\x72\x61\x74\x6F\x72\x22\x3A\x22\x41\x4E\x44\x22\x2C\x22\x72\x75\x6C\x65\x73\x22\x3A\x5B\x7B\x22\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x22\x3A\x22\x3D\x22\x2C\x22\x66\x69\x65\x6C\x64\x22\x3A\x22\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x22\x2C\x22\x76\x61\x6C\x75\x65\x22\x3A\x22\x31\x22\x7D\x5D\x7D\x7D","\x43\x61\x6C\x6C\x73\x20\x62\x79\x20\x44\x61\x74\x65","\x43\x61\x6C\x6C\x73\x20\x62\x79\x20\x48\x6F\x75\x72","\x43\x61\x6C\x6C\x73\x20\x62\x79\x20\x44\x61\x79","\x43\x61\x6C\x6C\x73\x20\x62\x79\x20\x54\x79\x70\x65","\x4F\x75\x74\x62\x6F\x75\x6E\x64\x20\x43\x61\x6C\x6C\x73\x20\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x4F\x75\x74\x62\x6F\x75\x6E\x64\x20\x63\x61\x6C\x6C\x73\x20\x67\x72\x6F\x75\x70\x65\x64\x20\x62\x79\x20\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x50\x61\x75\x73\x65\x20\x54\x69\x6D\x65","\x6A\x34\x5F\x34","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x65\x6D\x62\x65\x72\x5F\x68\x69\x73\x74\x6F\x72\x79","\x7B\x22\x67\x72\x6F\x75\x70\x22\x3A\x7B\x22\x6F\x70\x65\x72\x61\x74\x6F\x72\x22\x3A\x22\x41\x4E\x44\x22\x2C\x22\x72\x75\x6C\x65\x73\x22\x3A\x5B\x7B\x22\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x22\x3A\x22\x3D\x22\x2C\x22\x66\x69\x65\x6C\x64\x22\x3A\x22\x74\x79\x70\x65\x22\x2C\x22\x76\x61\x6C\x75\x65\x22\x3A\x22\x50\x41\x55\x53\x45\x22\x7D\x2C\x7B\x22\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x22\x3A\x22\x3D\x22\x2C\x22\x66\x69\x65\x6C\x64\x22\x3A\x22\x63\x68\x61\x6E\x6E\x65\x6C\x22\x2C\x22\x76\x61\x6C\x75\x65\x22\x3A\x22\x76\x6F\x69\x63\x65\x22\x7D\x5D\x7D\x7D","\x4C\x6F\x67\x69\x6E\x20\x54\x69\x6D\x65","\x7B\x22\x67\x72\x6F\x75\x70\x22\x3A\x7B\x22\x6F\x70\x65\x72\x61\x74\x6F\x72\x22\x3A\x22\x41\x4E\x44\x22\x2C\x22\x72\x75\x6C\x65\x73\x22\x3A\x5B\x7B\x22\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x22\x3A\x22\x3D\x22\x2C\x22\x66\x69\x65\x6C\x64\x22\x3A\x22\x74\x79\x70\x65\x22\x2C\x22\x76\x61\x6C\x75\x65\x22\x3A\x22\x4C\x4F\x47\x49\x4E\x22\x7D\x2C\x7B\x22\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x22\x3A\x22\x3D\x22\x2C\x22\x66\x69\x65\x6C\x64\x22\x3A\x22\x63\x68\x61\x6E\x6E\x65\x6C\x22\x2C\x22\x76\x61\x6C\x75\x65\x22\x3A\x22\x76\x6F\x69\x63\x65\x22\x7D\x5D\x7D\x7D","\x57\x65\x62\x73\x69\x74\x65\x20\x53\x75\x6D\x6D\x61\x72\x79","\x6A\x34\x5F\x31","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x73\x65\x73\x73\x69\x6F\x6E\x5F\x68\x69\x73\x74\x6F\x72\x79","\x53\x65\x73\x73\x69\x6F\x6E\x20\x44\x65\x74\x61\x69\x6C","\x43\x68\x61\x74\x20\x62\x79\x20\x41\x67\x65\x6E\x74","\x7B\x22\x67\x72\x6F\x75\x70\x22\x3A\x7B\x22\x6F\x70\x65\x72\x61\x74\x6F\x72\x22\x3A\x22\x41\x4E\x44\x22\x2C\x22\x72\x75\x6C\x65\x73\x22\x3A\x5B\x7B\x22\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x22\x3A\x22\x3D\x22\x2C\x22\x66\x69\x65\x6C\x64\x22\x3A\x22\x63\x6F\x6D\x70\x6C\x65\x74\x65\x22\x2C\x22\x76\x61\x6C\x75\x65\x22\x3A\x22\x31\x22\x7D\x5D\x7D\x7D","\x51\x75\x65\x75\x65\x20\x2D\x20\x54\x61\x6C\x6B\x54\x69\x6D\x65","\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65\x41\x74\x29","\x51\x75\x65\x75\x65\x20\x2D\x20\x41\x62\x61\x6E\x64\x6F\x6E\x20\x54\x69\x6D\x65","\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x41\x62\x61\x6E\x64\x6F\x6E\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29","\x41\x62\x61\x6E\x64\x6F\x6E\x65\x64\x20\x3C\x31\x30\x73","\x43\x4F\x55\x4E\x54\x28\x49\x46\x28\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x41\x62\x61\x6E\x64\x6F\x6E\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29\x20\x3C\x31\x30\x2C\x31\x2C\x4E\x55\x4C\x4C\x29\x29","\x43\x6F\x75\x6E\x74\x20\x6F\x66\x20\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64\x20\x63\x61\x6C\x6C\x73\x20\x77\x69\x74\x68\x69\x6E\x20\x31\x30\x20\x73\x65\x63\x6F\x6E\x64\x73\x20\x28\x53\x68\x6F\x72\x74\x20\x43\x61\x6C\x6C\x73\x29","\x51\x75\x65\x75\x65\x20\x2D\x20\x41\x6E\x73\x77\x65\x72\x54\x69\x6D\x65","\x49\x46\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x3D\x31\x2C\x68\x6F\x6C\x64\x74\x69\x6D\x65\x2C\x6E\x75\x6C\x6C\x29","\x41\x6E\x73\x77\x65\x72\x65\x64\x20\x3C\x20\x31\x30\x73","\x43\x4F\x55\x4E\x54\x28\x49\x46\x28\x68\x6F\x6C\x64\x74\x69\x6D\x65\x3C\x31\x30\x2C\x31\x2C\x4E\x55\x4C\x4C\x29\x29","\x43\x6F\x75\x6E\x74\x20\x6F\x66\x20\x61\x6E\x73\x77\x65\x72\x65\x64\x20\x63\x61\x6C\x6C\x73\x20\x77\x69\x74\x68\x69\x6E\x20\x31\x30\x20\x73\x65\x63\x6F\x6E\x64\x73","\x41\x6E\x73\x77\x65\x72\x65\x64\x20\x31\x30\x2D\x32\x30\x73","\x43\x4F\x55\x4E\x54\x28\x49\x46\x28\x68\x6F\x6C\x64\x74\x69\x6D\x65\x20\x3E\x3D\x31\x30\x20\x41\x4E\x44\x20\x68\x6F\x6C\x64\x74\x69\x6D\x65\x20\x3C\x32\x30\x2C\x31\x2C\x4E\x55\x4C\x4C\x29\x29","\x43\x6F\x75\x6E\x74\x20\x6F\x66\x20\x61\x6E\x73\x77\x65\x72\x65\x64\x20\x63\x61\x6C\x6C\x73\x20\x62\x65\x74\x77\x65\x65\x6E\x20\x31\x30\x20\x61\x6E\x64\x20\x32\x30\x20\x73\x65\x63\x6F\x6E\x64\x73","\x41\x6E\x73\x77\x65\x72\x65\x64\x20\x32\x30\x2D\x33\x30\x73","\x43\x4F\x55\x4E\x54\x28\x49\x46\x28\x68\x6F\x6C\x64\x74\x69\x6D\x65\x20\x3E\x3D\x32\x30\x20\x41\x4E\x44\x20\x68\x6F\x6C\x64\x74\x69\x6D\x65\x20\x3C\x33\x30\x2C\x31\x2C\x4E\x55\x4C\x4C\x29\x29","\x43\x6F\x75\x6E\x74\x20\x6F\x66\x20\x61\x6E\x73\x77\x65\x72\x65\x64\x20\x63\x61\x6C\x6C\x73\x20\x62\x65\x74\x77\x65\x65\x6E\x20\x32\x30\x20\x61\x6E\x64\x20\x33\x30\x20\x73\x65\x63\x6F\x6E\x64\x73","\x41\x6E\x73\x77\x65\x72\x65\x64\x20\x3E\x33\x30\x73","\x43\x4F\x55\x4E\x54\x28\x49\x46\x28\x68\x6F\x6C\x64\x74\x69\x6D\x65\x20\x3E\x3D\x33\x30\x2C\x31\x2C\x4E\x55\x4C\x4C\x29\x29","\x43\x6F\x75\x6E\x74\x20\x6F\x66\x20\x61\x6E\x73\x77\x65\x72\x65\x64\x20\x63\x61\x6C\x6C\x73\x20\x6F\x76\x65\x72\x20\x33\x30\x20\x73\x65\x63\x6F\x6E\x64\x73","\x51\x75\x65\x75\x65\x20\x2D\x20\x45\x78\x69\x74\x20\x54\x69\x6D\x65","\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x45\x78\x69\x74\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29","\x41\x62\x61\x6E\x64\x6F\x6E\x65\x64\x20\x31\x30\x2D\x36\x30\x73","\x43\x4F\x55\x4E\x54\x28\x49\x46\x28\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x41\x62\x61\x6E\x64\x6F\x6E\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29\x20\x3E\x3D\x31\x30\x20\x41\x4E\x44\x20\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x41\x62\x61\x6E\x64\x6F\x6E\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29\x20\x3C\x36\x30\x2C\x31\x2C\x4E\x55\x4C\x4C\x29\x29","\x43\x6F\x75\x6E\x74\x20\x6F\x66\x20\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64\x20\x63\x61\x6C\x6C\x73\x20\x62\x65\x74\x77\x65\x65\x6E\x20\x31\x30\x20\x61\x6E\x64\x20\x36\x30\x20\x73\x65\x63\x6F\x6E\x64\x73","\x41\x62\x61\x6E\x64\x6F\x6E\x65\x64\x20\x36\x30\x2D\x31\x32\x30\x73","\x43\x4F\x55\x4E\x54\x28\x49\x46\x28\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x41\x62\x61\x6E\x64\x6F\x6E\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29\x20\x3E\x3D\x36\x30\x20\x41\x4E\x44\x20\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x41\x62\x61\x6E\x64\x6F\x6E\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29\x20\x3C\x31\x32\x30\x2C\x31\x2C\x4E\x55\x4C\x4C\x29\x29","\x43\x6F\x75\x6E\x74\x20\x6F\x66\x20\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64\x20\x63\x61\x6C\x6C\x73\x20\x62\x65\x74\x77\x65\x65\x6E\x20\x36\x30\x20\x61\x6E\x64\x20\x31\x32\x30\x20\x73\x65\x63\x6F\x6E\x64\x73","\x51\x75\x65\x75\x65\x20\x2D\x20\x41\x62\x61\x6E\x64\x6F\x6E\x65\x64\x20\x3E\x31\x32\x30\x73","\x43\x4F\x55\x4E\x54\x28\x49\x46\x28\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x41\x62\x61\x6E\x64\x6F\x6E\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29\x20\x3E\x3D\x31\x32\x30\x2C\x31\x2C\x4E\x55\x4C\x4C\x29\x29","\x43\x6F\x75\x6E\x74\x20\x6F\x66\x20\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64\x20\x63\x61\x6C\x6C\x73\x20\x6F\x76\x65\x72\x20\x31\x32\x30\x20\x73\x65\x63\x6F\x6E\x64\x73","\x51\x75\x65\x75\x65\x20\x2D\x20\x4A\x6F\x69\x6E\x44\x61\x74\x65","\x44\x41\x54\x45\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x61\x74\x29","\x45\x78\x74\x72\x61\x63\x74\x20\x74\x68\x65\x20\x64\x61\x74\x65\x20\x6F\x66\x20\x74\x68\x65\x20\x6A\x6F\x69\x6E\x20\x71\x75\x65\x75\x65","\x51\x75\x65\x75\x65\x20\x2D\x20\x4A\x6F\x69\x6E\x48\x6F\x75\x72","\x48\x4F\x55\x52\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x61\x74\x29","\x45\x78\x74\x72\x61\x63\x74\x20\x74\x68\x65\x20\x68\x6F\x75\x72\x20\x6F\x66\x20\x74\x68\x65\x20\x6A\x6F\x69\x6E\x20\x71\x75\x65\x75\x65","\x51\x75\x65\x75\x65\x20\x2D\x20\x4A\x6F\x69\x6E\x44\x61\x79","\x44\x41\x59\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x61\x74\x29","\x45\x78\x74\x72\x61\x63\x74\x20\x74\x68\x65\x20\x64\x61\x79\x20\x6F\x66\x20\x74\x68\x65\x20\x6A\x6F\x69\x6E\x20\x71\x75\x65\x75\x65","\x4D\x65\x6D\x62\x65\x72\x20\x2D\x20\x45\x76\x65\x6E\x74\x20\x44\x75\x72\x61\x74\x69\x6F\x6E","\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x65\x78\x69\x74\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x65\x6E\x74\x65\x72\x41\x74\x29","\x4D\x65\x6D\x62\x65\x72\x20\x65\x76\x65\x6E\x74\x20\x64\x75\x72\x61\x74\x69\x6F\x6E\x20\x69\x6E\x20\x73\x65\x63\x6F\x6E\x64\x73","\x4D\x65\x6D\x62\x65\x72\x20\x2D\x20\x54\x6F\x74\x61\x6C\x20\x45\x76\x65\x6E\x74\x20\x44\x75\x72\x61\x74\x69\x6F\x6E","\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x53\x55\x4D\x28\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x65\x78\x69\x74\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x65\x6E\x74\x65\x72\x41\x74\x29\x29\x29","\x54\x6F\x74\x61\x6C\x20\x65\x76\x65\x6E\x74\x20\x64\x75\x72\x61\x74\x69\x6F\x6E","\x43\x68\x61\x74\x20\x2D\x20\x53\x65\x73\x73\x69\x6F\x6E\x20\x54\x69\x6D\x65","\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x63\x6F\x6D\x70\x6C\x65\x74\x65\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x6C\x65\x61\x76\x65\x41\x74\x29","\x53\x65\x73\x73\x69\x6F\x6E\x20\x54\x69\x6D\x65","\x43\x68\x61\x74\x20\x2D\x20\x51\x75\x65\x75\x65","\x43\x4F\x55\x4E\x54\x28\x49\x46\x28\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x3D\x22\x71\x75\x65\x75\x65\x22\x2C\x31\x2C\x4E\x55\x4C\x4C\x29\x29","\x43\x68\x61\x74\x20\x71\x75\x65\x75\x65\x20\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x63\x6F\x75\x6E\x74","\x43\x68\x61\x74\x20\x2D\x20\x41\x67\x65\x6E\x74","\x43\x4F\x55\x4E\x54\x28\x49\x46\x28\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x3D\x22\x61\x67\x65\x6E\x74\x22\x2C\x31\x2C\x4E\x55\x4C\x4C\x29\x29","\x43\x68\x61\x74\x20\x61\x67\x65\x6E\x74\x20\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x63\x6F\x75\x6E\x74","\x45\x72\x72\x6F\x72\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x41\x6E\x61\x6C\x79\x74\x69\x63\x73\x3A","\x50\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x41\x6E\x61\x6C\x79\x74\x69\x63\x73","\x75\x6E\x69\x71\x75\x65\x69\x64","\x55\x6E\x69\x71\x75\x65\x49\x64","\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x75\x6D","\x43\x61\x6C\x6C\x65\x72\x49\x64\x4E\x75\x6D","\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x61\x6D\x65","\x43\x61\x6C\x6C\x65\x72\x49\x64\x4E\x61\x6D\x65","\x71\x75\x65\x75\x65","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74","\x51\x75\x65\x75\x65\x4A\x6F\x69\x6E\x41\x74","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65\x41\x74","\x51\x75\x65\x75\x65\x4C\x65\x61\x76\x65\x41\x74","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E","\x51\x75\x65\x75\x65\x41\x62\x61\x6E\x64\x6F\x6E","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x41\x74","\x51\x75\x65\x75\x65\x41\x62\x61\x6E\x64\x6F\x6E\x41\x74","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x43\x6F\x6D\x70\x6C\x65\x74\x65","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x41\x74","\x43\x6F\x6D\x70\x6C\x65\x74\x65\x41\x74","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x65\x78\x69\x74","\x51\x75\x65\x75\x65\x45\x78\x69\x74","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x65\x78\x69\x74\x41\x74","\x51\x75\x65\x75\x65\x45\x78\x69\x74\x41\x74","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x65\x78\x69\x74\x72\x65\x61\x73\x6F\x6E","\x51\x75\x65\x75\x65\x45\x78\x69\x74\x52\x65\x61\x73\x6F\x6E","\x44\x49\x44","\x54\x61\x6C\x6B\x54\x69\x6D\x65","\x41\x6E\x73\x77\x65\x72\x54\x69\x6D\x65","\x41\x62\x61\x6E\x64\x6F\x6E\x54\x69\x6D\x65","\x55\x6E\x69\x71\x75\x65\x49\x44","\x74\x79\x70\x65","\x54\x79\x70\x65","\x74\x61\x67","\x54\x61\x67","\x73\x6F\x75\x72\x63\x65","\x53\x6F\x75\x72\x63\x65","\x64\x65\x73\x74\x69\x6E\x61\x74\x69\x6F\x6E","\x44\x65\x73\x74\x69\x6E\x61\x74\x69\x6F\x6E","\x63\x61\x6C\x6C\x65\x72\x69\x64","\x43\x61\x6C\x6C\x65\x72\x49\x44","\x64\x65\x73\x74\x69\x6E\x61\x74\x69\x6F\x6E\x63\x68\x61\x6E\x6E\x65\x6C","\x44\x65\x73\x74\x43\x68\x61\x6E\x6E\x65\x6C","\x6C\x61\x73\x74\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x4C\x61\x73\x74\x41\x70\x70","\x6C\x61\x73\x74\x64\x61\x74\x61","\x4C\x61\x73\x74\x44\x61\x74\x61","\x73\x74\x61\x72\x74\x74\x69\x6D\x65","\x53\x74\x61\x72\x74\x54\x69\x6D\x65","\x61\x6E\x73\x77\x65\x72\x74\x69\x6D\x65","\x65\x6E\x64\x74\x69\x6D\x65","\x45\x6E\x64\x54\x69\x6D\x65","\x64\x75\x72\x61\x74\x69\x6F\x6E","\x44\x75\x72\x61\x74\x69\x6F\x6E","\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x61\x63\x63\x6F\x75\x6E\x74\x63\x6F\x64\x65","\x41\x67\x65\x6E\x74\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x43\x61\x6C\x6C\x65\x72\x49\x64","\x45\x6E\x64\x54\x49\x6D\x65","\x62\x69\x6C\x6C\x61\x62\x6C\x65\x73\x65\x63\x6F\x6E\x64\x73","\x42\x69\x6C\x6C\x73\x65\x63","\x4F\x66\x66\x65\x72\x65\x64","\x43\x4F\x55\x4E\x54","\x43\x6F\x6D\x70\x6C\x65\x74\x65\x64","\x53\x55\x4D","\x41\x62\x61\x6E\x64\x6F\x6E\x65\x64","\x41\x76\x67\x54\x61\x6C\x6B\x54\x69\x6D\x65","\x41\x56\x47","\x41\x76\x67\x41\x62\x61\x6E\x64\x6F\x6E\x54\x69\x6D\x65","\x41\x76\x67\x41\x6E\x73\x77\x65\x72\x54\x69\x6D\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x41\x67\x65\x6E\x74","\x61\x67\x65\x6E\x74\x63\x61\x6C\x6C\x65\x64\x41\x74","\x41\x67\x65\x6E\x74\x43\x61\x6C\x6C\x65\x64\x41\x74","\x61\x67\x65\x6E\x74\x63\x6F\x6E\x6E\x65\x63\x74\x41\x74","\x41\x67\x65\x6E\x74\x43\x6F\x6E\x6E\x65\x63\x74\x41\x74","\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65\x41\x74","\x41\x67\x65\x6E\x74\x43\x6F\x6D\x70\x6C\x65\x74\x65\x41\x74","\x68\x6F\x6C\x64\x74\x69\x6D\x65","\x74\x61\x6C\x6B\x74\x69\x6D\x65","\x61\x67\x65\x6E\x74\x61\x63\x77","\x41\x67\x65\x6E\x74\x41\x43\x57","\x61\x63\x77\x74\x69\x6D\x65","\x41\x67\x65\x6E\x74\x41\x43\x57\x54\x69\x6D\x65","\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x41\x67\x65\x6E\x74\x43\x6F\x6D\x70\x6C\x65\x74\x65","\x72\x65\x61\x73\x6F\x6E","\x48\x61\x6E\x67\x75\x70\x52\x65\x61\x73\x6F\x6E","\x6C\x61\x73\x74\x65\x76\x65\x6E\x74","\x4C\x61\x73\x74\x45\x76\x65\x6E\x74","\x61\x67\x65\x6E\x74\x72\x69\x6E\x67\x6E\x6F\x61\x6E\x73\x77\x65\x72","\x52\x69\x6E\x67\x4E\x6F\x41\x6E\x73\x77\x65\x72","\x54\x6F\x74\x54\x61\x6C\x6B\x54\x69\x6D\x65","\x54\x6F\x74\x41\x43\x57\x54\x69\x6D\x65","\x41\x76\x67\x41\x43\x57\x54\x69\x6D\x65","\x54\x6F\x74\x20\x54\x61\x6C\x6B\x54\x69\x6D\x65","\x41\x76\x67\x20\x54\x61\x6C\x6B\x54\x69\x6D\x65","\x54\x6F\x74\x20\x48\x6F\x6C\x64\x54\x69\x6D\x65","\x41\x76\x67\x20\x48\x6F\x6C\x64\x54\x69\x6D\x65","\x54\x6F\x74\x20\x41\x43\x57\x54\x69\x6D\x65","\x41\x76\x67\x20\x41\x43\x57\x54\x69\x6D\x65","\x54\x6F\x74\x20\x41\x6E\x73\x77\x65\x72\x65\x64","\x41\x6E\x73\x77\x65\x72\x65\x64\x20\x3C\x31\x30\x73","\x52\x65\x61\x73\x6F\x6E","\x41\x62\x61\x6E\x64\x6F\x6E\x20\x54\x69\x6D\x65","\x45\x78\x69\x74\x20\x54\x69\x6D\x65","\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x51\x75\x65\x75\x65\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x54\x6F\x74\x20\x41\x62\x61\x6E\x64\x6F\x6E\x54\x69\x6D\x65","\x45\x78\x69\x74\x65\x64","\x41\x76\x67\x20\x45\x78\x69\x74\x65\x64\x54\x49\x6D\x65","\x54\x6F\x74\x20\x45\x78\x69\x74\x65\x64\x54\x69\x6D\x65","\x54\x6F\x74\x20\x45\x78\x69\x74\x54\x69\x6D\x65","\x54\x6F\x74\x20\x41\x62\x61\x6E\x64\x6F\x6E\x65\x64","\x41\x62\x61\x6E\x64\x6F\x6E\x65\x64\x3C\x31\x30\x73","\x41\x62\x61\x6E\x64\x6F\x6E\x65\x64\x3E\x31\x32\x30\x73","\x44\x61\x74\x65","\x48\x6F\x75\x72","\x44\x61\x79","\x54\x6F\x74\x20\x44\x75\x72\x61\x74\x69\x6F\x6E","\x41\x53\x43","\x64\x61\x74\x61\x31","\x50\x61\x75\x73\x65\x54\x79\x70\x65","\x77\x65\x62\x73\x69\x74\x65\x6E\x61\x6D\x65","\x57\x65\x62\x73\x69\x74\x65","\x76\x69\x73\x69\x74\x6F\x72\x6E\x61\x6D\x65","\x56\x69\x73\x69\x74\x6F\x72\x4E\x61\x6D\x65","\x76\x69\x73\x69\x74\x6F\x72\x65\x6D\x61\x69\x6C","\x56\x69\x73\x69\x74\x6F\x72\x45\x6D\x61\x69\x6C","\x4D\x65\x6D\x65\x62\x65\x72\x4E\x61\x6D\x65","\x71\x75\x65\x75\x65\x6E\x61\x6D\x65","\x51\x75\x65\x75\x65\x4E\x61\x6D\x65","\x6A\x6F\x69\x6E\x41\x74","\x4A\x6F\x69\x6E\x41\x74","\x6C\x65\x61\x76\x65\x41\x74","\x4C\x65\x61\x76\x65\x41\x74","\x63\x6F\x6D\x70\x6C\x65\x74\x65\x41\x74","\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x63\x6F\x6D\x70\x6C\x65\x74\x65\x52\x65\x61\x73\x6F\x6E","\x43\x6F\x6D\x70\x6C\x65\x74\x65\x52\x65\x61\x73\x6F\x6E","\x61\x62\x61\x6E\x64\x6F\x6E","\x41\x62\x61\x6E\x64\x6F\x6E","\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x55\x6E\x6D\x61\x6E\x61\x67\x65","\x53\x65\x73\x73\x69\x6F\x6E","\x46\x72\x6F\x6D\x51\x75\x65\x75\x65","\x32\x30\x31\x36\x2D\x30\x35\x2D\x31\x34\x20\x31\x38\x3A\x31\x33\x3A\x30\x31","\x44\x69\x72\x65\x63\x74\x54\x6F\x41\x67\x65\x6E\x74","\x54\x6F\x74\x20\x53\x65\x73\x73\x69\x6F\x6E\x20\x54\x69\x6D\x65","\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45","\x41\x76\x67\x20\x53\x65\x73\x73\x69\x6F\x6E\x20\x54\x69\x6D\x65","\x57\x65\x62\x53\x69\x74\x65","\x53\x65\x73\x73\x69\x6F\x6E\x73","\x52\x65\x70\x6F\x72\x74\x46\x69\x65\x6C\x64","\x64\x65\x73\x74\x72\x6F\x79","\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74","\x44\x65\x66\x61\x75\x6C\x74\x4D\x65\x74\x72\x69\x63","\x5B\x7B\x22\x69\x64\x22\x3A\x22\x31\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x43\x75\x73\x74\x6F\x6D\x20\x52\x65\x70\x6F\x72\x74\x73\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x22\x69\x63\x6F\x6E\x2D\x62\x6F\x6F\x6B\x2D\x6F\x70\x65\x6E\x22\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x31\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x31\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x23\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x32\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x42\x61\x73\x69\x63\x20\x4E\x6F\x64\x65\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x32\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x32\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x31\x22\x7D\x5D","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x52\x65\x70\x6F\x72\x74\x54\x72\x65\x65","\x5B\x7B\x22\x69\x64\x22\x3A\x22\x31\x22\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x23\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x4D\x6F\x74\x69\x6F\x6E\x20\x52\x65\x70\x6F\x72\x74\x73\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x22\x69\x63\x6F\x6E\x2D\x72\x6F\x63\x6B\x65\x74\x22\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x74\x72\x75\x65\x7D\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x32\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x56\x6F\x69\x63\x65\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x32\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x32\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x31\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x33\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x51\x75\x65\x75\x65\x73\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x33\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x33\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x32\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x35\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x41\x6E\x73\x77\x65\x72\x65\x64\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x35\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x35\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x6A\x34\x5F\x33\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x36\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x55\x6E\x61\x6E\x73\x77\x65\x72\x65\x64\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x36\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x36\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x6A\x34\x5F\x33\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x37\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x44\x69\x73\x74\x72\x69\x62\x75\x74\x69\x6F\x6E\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x37\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x37\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x6A\x34\x5F\x33\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x6A\x32\x30\x5F\x31\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x43\x61\x6C\x6C\x73\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x6A\x32\x30\x5F\x31\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x6A\x32\x30\x5F\x31\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x32\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x34\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x41\x67\x65\x6E\x74\x73\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x34\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x34\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x32\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x6A\x31\x31\x32\x5F\x31\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x43\x61\x6C\x6C\x79\x53\x71\x75\x61\x72\x65\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x6A\x31\x31\x32\x5F\x31\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x6A\x31\x31\x32\x5F\x31\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x32\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x6A\x32\x30\x5F\x32\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x6A\x32\x30\x5F\x32\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x6A\x32\x30\x5F\x32\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x32\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x31\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x43\x68\x61\x74\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x31\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x31\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x31\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x32\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x4D\x61\x69\x6C\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x32\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x32\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x31\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x6A\x32\x34\x5F\x31\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x41\x67\x65\x6E\x74\x73\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x6A\x32\x34\x5F\x31\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x6A\x32\x34\x5F\x31\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x31\x22\x7D\x5D","\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x20\x66\x6F\x72\x20\x4F\x75\x74\x67\x6F\x69\x6E\x67\x20\x46\x61\x78","\x5F\x2E","\x4F\x75\x74\x67\x6F\x69\x6E\x67\x20\x66\x61\x78\x20\x74\x6F\x20\x24\x7B\x46\x41\x58\x4E\x55\x4D\x42\x45\x52\x7D","\x73\x79\x73\x74\x65\x6D","\x41\x63\x63\x6F\x75\x6E\x74\x20\x24\x7B\x46\x41\x58\x4E\x41\x4D\x45\x7D","\x41\x6E\x73\x77\x65\x72","\x57\x61\x69\x74","\x46\x41\x58\x4F\x50\x54\x28\x65\x63\x6D\x29\x3D\x24\x7B\x46\x41\x58\x45\x43\x4D\x7D","\x46\x41\x58\x4F\x50\x54\x28\x68\x65\x61\x64\x65\x72\x69\x6E\x66\x6F\x29\x3D\x24\x7B\x46\x41\x58\x48\x45\x41\x44\x45\x52\x49\x4E\x46\x4F\x7D","\x46\x41\x58\x4F\x50\x54\x28\x6C\x6F\x63\x61\x6C\x73\x74\x61\x74\x69\x6F\x6E\x69\x64\x29\x3D\x24\x7B\x46\x41\x58\x4C\x4F\x43\x41\x4C\x53\x54\x41\x54\x49\x4F\x4E\x49\x44\x7D","\x46\x41\x58\x4F\x50\x54\x28\x6D\x69\x6E\x72\x61\x74\x65\x29\x3D\x24\x7B\x46\x41\x58\x4D\x49\x4E\x52\x41\x54\x45\x7D","\x46\x41\x58\x4F\x50\x54\x28\x6D\x61\x78\x72\x61\x74\x65\x29\x3D\x24\x7B\x46\x41\x58\x4D\x41\x58\x52\x41\x54\x45\x7D","\x46\x41\x58\x4F\x50\x54\x28\x6D\x6F\x64\x65\x6D\x29\x3D\x24\x7B\x46\x41\x58\x4D\x4F\x44\x45\x4D\x7D","\x46\x41\x58\x4F\x50\x54\x28\x67\x61\x74\x65\x77\x61\x79\x29\x3D\x24\x7B\x46\x41\x58\x47\x41\x54\x45\x57\x41\x59\x7D","\x46\x41\x58\x4F\x50\x54\x28\x74\x33\x38\x74\x69\x6D\x65\x6F\x75\x74\x29\x3D\x24\x7B\x46\x41\x58\x54\x33\x38\x54\x49\x4D\x45\x4F\x55\x54\x7D","\x53\x65\x6E\x64\x46\x41\x58","\x24\x7B\x46\x41\x58\x4F\x55\x54\x46\x49\x4C\x45\x7D\x2C\x64\x73","\x48\x61\x6E\x67\x75\x70"];_0x4995[0];var _=require(_0x4995[1]);var util=require(_0x4995[2]);var models=require(_0x4995[3]);var sequelize=require(_0x4995[3])[_0x4995[4]];var _agents=[];var _voiceQueues=[];var _mailQueues=[];var _chatQueues=[];var _miller,_doe;models[_0x4995[40]][_0x4995[19]]([{role:_0x4995[43],fullname:_0x4995[44],email:_0x4995[45],name:_0x4995[43],password:_0x4995[46],defaultuser:_0x4995[43],internal:1000}],{ignoreDuplicates:true,individualHooks:true})[_0x4995[7]](function(_0xb4f6xf){console[_0x4995[13]](util[_0x4995[12]](_0x4995[32],_[_0x4995[11]](_0xb4f6xf,_0x4995[10])[_0x4995[9]]()));return models[_0x4995[42]][_0x4995[41]]({name:_0x4995[33],description:_0x4995[33],defaultEntry:true,Users:[{role:_0x4995[34],fullname:_0x4995[35],email:_0x4995[36],name:_0x4995[25],password:_0x4995[37],defaultuser:_0x4995[25],internal:1001},{role:_0x4995[34],fullname:_0x4995[38],email:_0x4995[39],name:_0x4995[23],password:_0x4995[37],defaultuser:_0x4995[23],internal:1002}]},{include:[{model:models[_0x4995[40]]}]})})[_0x4995[7]](function(_0xb4f6xe){_agents=_0xb4f6xe[_0x4995[26]];console[_0x4995[13]](util[_0x4995[12]](_0x4995[27],_[_0x4995[11]](_0xb4f6xe.Users,_0x4995[10])[_0x4995[9]]()));console[_0x4995[13]](util[_0x4995[12]](_0x4995[28],_0xb4f6xe[_0x4995[10]]));return models[_0x4995[31]][_0x4995[19]]([{name:_0x4995[15],musiconhold:_0x4995[29],strategy:_0x4995[16]},{name:_0x4995[17],musiconhold:_0x4995[29],strategy:_0x4995[30]}],{ignoreDuplicates:true,individualHooks:true})})[_0x4995[7]](function(_0xb4f6xd){console[_0x4995[13]](util[_0x4995[12]](_0x4995[22],_[_0x4995[11]](_0xb4f6xd,_0x4995[10])[_0x4995[9]]()));_voiceQueues=_0xb4f6xd;_miller=_[_0x4995[24]](_agents,{name:_0x4995[23]});_doe=_[_0x4995[24]](_agents,{name:_0x4995[25]});return _voiceQueues[0][_0x4995[14]](_miller[_0x4995[5]])})[_0x4995[7]](function(){return _voiceQueues[1][_0x4995[6]]([_miller[_0x4995[5]],_doe[_0x4995[5]]])})[_0x4995[7]](function(){return models[_0x4995[21]][_0x4995[19]]([{name:_0x4995[15],timeout:5,strategy:_0x4995[16]},{name:_0x4995[17],timeout:5,strategy:_0x4995[18]}],{ignoreDuplicates:true,individualHooks:true})})[_0x4995[7]](function(_0xb4f6xc){console[_0x4995[13]](util[_0x4995[12]](_0x4995[8],_[_0x4995[11]](_0xb4f6xc,_0x4995[10])[_0x4995[9]]()));_mailQueues=_0xb4f6xc;return _mailQueues[0][_0x4995[14]](_miller[_0x4995[5]])})[_0x4995[7]](function(){return _mailQueues[1][_0x4995[6]]([_miller[_0x4995[5]],_doe[_0x4995[5]]])})[_0x4995[7]](function(){return models[_0x4995[20]][_0x4995[19]]([{name:_0x4995[15],timeout:5,strategy:_0x4995[16]},{name:_0x4995[17],timeout:5,strategy:_0x4995[18]}],{ignoreDuplicates:true,individualHooks:true})})[_0x4995[7]](function(_0xb4f6xb){console[_0x4995[13]](util[_0x4995[12]](_0x4995[8],_[_0x4995[11]](_0xb4f6xb,_0x4995[10])[_0x4995[9]]()));_chatQueues=_0xb4f6xb;return _chatQueues[0][_0x4995[14]](_miller[_0x4995[5]])})[_0x4995[7]](function(){return _chatQueues[1][_0x4995[6]]([_miller[_0x4995[5]],_doe[_0x4995[5]]])});models[_0x4995[60]][_0x4995[19]]([{name:_0x4995[48],prefix:_0x4995[49],description:_0x4995[50],options:_0x4995[51]},{name:_0x4995[52],prefix:_0x4995[53],description:_0x4995[54],options:_0x4995[55]},{name:_0x4995[56],prefix:_0x4995[57],description:_0x4995[58],options:_0x4995[59]}],{ignoreDuplicates:true,individualHooks:true})[_0x4995[7]](function(_0xb4f6x10){console[_0x4995[13]](util[_0x4995[12]](_0x4995[47],_[_0x4995[11]](_0xb4f6x10,_0x4995[10])[_0x4995[9]]()))});models[_0x4995[64]][_0x4995[41]]({name:_0x4995[62],description:_0x4995[63],defaultEntry:true})[_0x4995[7]](function(_0xb4f6x11){console[_0x4995[13]](util[_0x4995[12]](_0x4995[61],_0xb4f6x11[_0x4995[10]]))});models[_0x4995[70]][_0x4995[41]]({name:_0x4995[29],directory:_0x4995[66],mode:_0x4995[67],sort:_0x4995[68],format:_0x4995[69],defaultEntry:true})[_0x4995[7]](function(_0xb4f6x12){console[_0x4995[13]](util[_0x4995[12]](_0x4995[65],_0xb4f6x12[_0x4995[10]]))});models[_0x4995[78]][_0x4995[19]]([{name:_0x4995[72]},{description:_0x4995[73],name:_0x4995[74]},{description:_0x4995[75],name:_0x4995[76]},{name:_0x4995[77]}],{ignoreDuplicates:true,individualHooks:true})[_0x4995[7]](function(_0xb4f6x13){console[_0x4995[13]](util[_0x4995[12]](_0x4995[71],_[_0x4995[11]](_0xb4f6x13,_0x4995[10])[_0x4995[9]]()))});models[_0x4995[82]][_0x4995[19]]([{name:_0x4995[80]},{name:_0x4995[81]}],{ignoreDuplicates:true,individualHooks:true})[_0x4995[7]](function(_0xb4f6x14){console[_0x4995[13]](util[_0x4995[12]](_0x4995[79],_[_0x4995[11]](_0xb4f6x14,_0x4995[10])[_0x4995[9]]()))});models[_0x4995[89]][_0x4995[41]]({name:_0x4995[84],context:_0x4995[85],callingpres:_0x4995[86],deny:_0x4995[87],permit:_0x4995[87],secret:_0x4995[88]})[_0x4995[7]](function(_0xb4f6x15){console[_0x4995[13]](util[_0x4995[12]](_0x4995[83],_0xb4f6x15[_0x4995[10]]))});models[_0x4995[96]][_0x4995[19]]([{name:_0x4995[91],description:_0x4995[92]},{name:_0x4995[85],description:_0x4995[92]},{name:_0x4995[93],description:_0x4995[92]},{name:_0x4995[94],description:_0x4995[92]},{name:_0x4995[95],description:_0x4995[92]}],{ignoreDuplicates:true,individualHooks:true})[_0x4995[7]](function(_0xb4f6x14){console[_0x4995[13]](util[_0x4995[12]](_0x4995[90],_[_0x4995[11]](_0xb4f6x14,_0x4995[10])[_0x4995[9]]()))});models[_0x4995[146]][_0x4995[41]]({context:_0x4995[91],exten:_0x4995[100],priority:_0x4995[101],app:_0x4995[102],appdata:_0x4995[103],type:_0x4995[104],description:_0x4995[105],Applications:[{context:_0x4995[91],exten:_0x4995[100],priority:_0x4995[106],app:_0x4995[107],appdata:_0x4995[108],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[100],priority:_0x4995[109],app:_0x4995[110],appdata:_0x4995[111],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[100],priority:_0x4995[112],app:_0x4995[113],appdata:_0x4995[114],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[100],priority:_0x4995[115],app:_0x4995[113],appdata:_0x4995[116],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[100],priority:_0x4995[117],app:_0x4995[113],appdata:_0x4995[118],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[100],priority:_0x4995[119],app:_0x4995[120],appdata:_0x4995[121],type:_0x4995[104],interval:_0x4995[122],isApp:true},{context:_0x4995[91],exten:_0x4995[100],priority:_0x4995[123],app:_0x4995[113],appdata:_0x4995[124],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[100],priority:_0x4995[125],app:_0x4995[113],appdata:_0x4995[126],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[100],priority:_0x4995[127],app:_0x4995[110],appdata:_0x4995[128],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[100],priority:_0x4995[129],app:_0x4995[113],appdata:_0x4995[114],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[100],priority:_0x4995[130],app:_0x4995[113],appdata:_0x4995[116],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[100],priority:_0x4995[131],app:_0x4995[113],appdata:_0x4995[118],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[100],priority:_0x4995[132],app:_0x4995[133],appdata:_0x4995[134],type:_0x4995[104],interval:_0x4995[122],isApp:true},{context:_0x4995[91],exten:_0x4995[100],priority:_0x4995[135],app:_0x4995[113],appdata:_0x4995[124],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[100],priority:_0x4995[136],app:_0x4995[113],appdata:_0x4995[137],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[100],priority:_0x4995[138],app:_0x4995[110],appdata:_0x4995[139],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[100],priority:_0x4995[140],app:_0x4995[113],appdata:_0x4995[114],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[100],priority:_0x4995[141],app:_0x4995[113],appdata:_0x4995[116],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[100],priority:_0x4995[142],app:_0x4995[113],appdata:_0x4995[118],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[100],priority:_0x4995[143],app:_0x4995[120],appdata:_0x4995[121],type:_0x4995[104],interval:_0x4995[122],isApp:true},{context:_0x4995[91],exten:_0x4995[100],priority:_0x4995[144],app:_0x4995[113],appdata:_0x4995[124],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[100],priority:_0x4995[145],app:_0x4995[113],appdata:_0x4995[126],type:_0x4995[104]}]},{include:[{model:models[_0x4995[146]],as:_0x4995[147]}]})[_0x4995[7]](function(_0xb4f6x16){console[_0x4995[13]](util[_0x4995[12]](_0x4995[97],_0xb4f6x16[_0x4995[98]],_0xb4f6x16[_0x4995[99]]))});models[_0x4995[146]][_0x4995[41]]({context:_0x4995[91],exten:_0x4995[148],priority:_0x4995[101],app:_0x4995[102],appdata:_0x4995[103],type:_0x4995[104],description:_0x4995[149],Applications:[{context:_0x4995[91],exten:_0x4995[148],priority:_0x4995[106],app:_0x4995[107],appdata:_0x4995[108],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[148],priority:_0x4995[109],app:_0x4995[110],appdata:_0x4995[111],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[148],priority:_0x4995[112],app:_0x4995[113],appdata:_0x4995[114],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[148],priority:_0x4995[115],app:_0x4995[113],appdata:_0x4995[116],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[148],priority:_0x4995[117],app:_0x4995[150],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[148],priority:_0x4995[119],app:_0x4995[151],appdata:_0x4995[152],type:_0x4995[104],interval:_0x4995[122],isApp:true},{context:_0x4995[91],exten:_0x4995[148],priority:_0x4995[123],app:_0x4995[113],appdata:_0x4995[124],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[148],priority:_0x4995[125],app:_0x4995[113],appdata:_0x4995[153],type:_0x4995[104]}]},{include:[{model:models[_0x4995[146]],as:_0x4995[147]}]})[_0x4995[7]](function(_0xb4f6x16){console[_0x4995[13]](util[_0x4995[12]](_0x4995[97],_0xb4f6x16[_0x4995[98]],_0xb4f6x16[_0x4995[99]]))});models[_0x4995[146]][_0x4995[41]]({context:_0x4995[91],exten:_0x4995[154],priority:_0x4995[101],app:_0x4995[102],appdata:_0x4995[103],type:_0x4995[104],description:_0x4995[149],Applications:[{context:_0x4995[91],exten:_0x4995[154],priority:_0x4995[106],app:_0x4995[107],appdata:_0x4995[108],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[154],priority:_0x4995[109],app:_0x4995[110],appdata:_0x4995[111],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[154],priority:_0x4995[112],app:_0x4995[113],appdata:_0x4995[114],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[154],priority:_0x4995[115],app:_0x4995[113],appdata:_0x4995[116],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[154],priority:_0x4995[117],app:_0x4995[113],appdata:_0x4995[118],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[154],priority:_0x4995[119],app:_0x4995[155],appdata:_0x4995[156],type:_0x4995[104],interval:_0x4995[122],isApp:true},{context:_0x4995[91],exten:_0x4995[154],priority:_0x4995[123],app:_0x4995[113],appdata:_0x4995[124],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[154],priority:_0x4995[125],app:_0x4995[113],appdata:_0x4995[157],type:_0x4995[104]}]},{include:[{model:models[_0x4995[146]],as:_0x4995[147]}]})[_0x4995[7]](function(_0xb4f6x16){console[_0x4995[13]](util[_0x4995[12]](_0x4995[97],_0xb4f6x16[_0x4995[98]],_0xb4f6x16[_0x4995[99]]))});models[_0x4995[146]][_0x4995[41]]({context:_0x4995[91],exten:_0x4995[158],priority:_0x4995[101],app:_0x4995[102],appdata:_0x4995[103],type:_0x4995[104],description:_0x4995[149],Applications:[{context:_0x4995[91],exten:_0x4995[158],priority:_0x4995[106],app:_0x4995[107],appdata:_0x4995[108],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[158],priority:_0x4995[109],app:_0x4995[110],appdata:_0x4995[111],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[158],priority:_0x4995[112],app:_0x4995[113],appdata:_0x4995[114],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[158],priority:_0x4995[115],app:_0x4995[113],appdata:_0x4995[116],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[158],priority:_0x4995[117],app:_0x4995[113],appdata:_0x4995[118],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[158],priority:_0x4995[119],app:_0x4995[155],appdata:_0x4995[159],type:_0x4995[104],interval:_0x4995[122],isApp:true},{context:_0x4995[91],exten:_0x4995[158],priority:_0x4995[123],app:_0x4995[113],appdata:_0x4995[124],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[158],priority:_0x4995[125],app:_0x4995[113],appdata:_0x4995[157],type:_0x4995[104]}]},{include:[{model:models[_0x4995[146]],as:_0x4995[147]}]})[_0x4995[7]](function(_0xb4f6x16){console[_0x4995[13]](util[_0x4995[12]](_0x4995[97],_0xb4f6x16[_0x4995[98]],_0xb4f6x16[_0x4995[99]]))});models[_0x4995[146]][_0x4995[41]]({context:_0x4995[91],exten:_0x4995[160],priority:_0x4995[101],app:_0x4995[102],appdata:_0x4995[103],type:_0x4995[104],description:_0x4995[149],Applications:[{context:_0x4995[91],exten:_0x4995[160],priority:_0x4995[106],app:_0x4995[107],appdata:_0x4995[108],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[160],priority:_0x4995[109],app:_0x4995[110],appdata:_0x4995[111],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[160],priority:_0x4995[112],app:_0x4995[113],appdata:_0x4995[114],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[160],priority:_0x4995[115],app:_0x4995[113],appdata:_0x4995[116],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[160],priority:_0x4995[117],app:_0x4995[113],appdata:_0x4995[118],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[160],priority:_0x4995[119],app:_0x4995[155],appdata:_0x4995[161],type:_0x4995[104],interval:_0x4995[122],isApp:true},{context:_0x4995[91],exten:_0x4995[160],priority:_0x4995[123],app:_0x4995[113],appdata:_0x4995[124],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[160],priority:_0x4995[125],app:_0x4995[113],appdata:_0x4995[157],type:_0x4995[104]}]},{include:[{model:models[_0x4995[146]],as:_0x4995[147]}]})[_0x4995[7]](function(_0xb4f6x16){console[_0x4995[13]](util[_0x4995[12]](_0x4995[97],_0xb4f6x16[_0x4995[98]],_0xb4f6x16[_0x4995[99]]))});models[_0x4995[146]][_0x4995[41]]({context:_0x4995[91],exten:_0x4995[162],priority:_0x4995[101],app:_0x4995[102],appdata:_0x4995[163],type:_0x4995[164],description:_0x4995[149],Applications:[{context:_0x4995[91],exten:_0x4995[162],priority:_0x4995[106],app:_0x4995[107],appdata:_0x4995[165],type:_0x4995[164]},{context:_0x4995[91],exten:_0x4995[162],priority:_0x4995[109],app:_0x4995[107],appdata:_0x4995[166],type:_0x4995[164]},{context:_0x4995[91],exten:_0x4995[162],priority:_0x4995[112],app:_0x4995[110],appdata:_0x4995[167],type:_0x4995[164]},{context:_0x4995[91],exten:_0x4995[162],priority:_0x4995[115],app:_0x4995[113],appdata:_0x4995[114],type:_0x4995[164]},{context:_0x4995[91],exten:_0x4995[162],priority:_0x4995[117],app:_0x4995[113],appdata:_0x4995[116],type:_0x4995[164]},{context:_0x4995[91],exten:_0x4995[162],priority:_0x4995[119],app:_0x4995[113],appdata:_0x4995[118],type:_0x4995[164]},{context:_0x4995[91],exten:_0x4995[162],priority:_0x4995[123],app:_0x4995[168],appdata:_0x4995[169],type:_0x4995[164],interval:_0x4995[122],isApp:true},{context:_0x4995[91],exten:_0x4995[162],priority:_0x4995[125],app:_0x4995[113],appdata:_0x4995[124],type:_0x4995[164]},{context:_0x4995[91],exten:_0x4995[162],priority:_0x4995[127],app:_0x4995[113],appdata:_0x4995[170],type:_0x4995[164]}]},{include:[{model:models[_0x4995[146]],as:_0x4995[147]}]})[_0x4995[7]](function(_0xb4f6x16){console[_0x4995[13]](util[_0x4995[12]](_0x4995[97],_0xb4f6x16[_0x4995[98]],_0xb4f6x16[_0x4995[99]]))});models[_0x4995[146]][_0x4995[41]]({context:_0x4995[91],exten:_0x4995[171],priority:_0x4995[101],app:_0x4995[102],appdata:_0x4995[103],type:_0x4995[104],description:_0x4995[172],Applications:[{context:_0x4995[91],exten:_0x4995[171],priority:_0x4995[106],app:_0x4995[107],appdata:_0x4995[108],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[171],priority:_0x4995[109],app:_0x4995[110],appdata:_0x4995[111],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[171],priority:_0x4995[112],app:_0x4995[113],appdata:_0x4995[114],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[171],priority:_0x4995[115],app:_0x4995[113],appdata:_0x4995[116],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[171],priority:_0x4995[117],app:_0x4995[150],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[171],priority:_0x4995[119],app:_0x4995[151],appdata:_0x4995[173],type:_0x4995[104],interval:_0x4995[122],isApp:true},{context:_0x4995[91],exten:_0x4995[171],priority:_0x4995[123],app:_0x4995[113],appdata:_0x4995[124],type:_0x4995[104]},{context:_0x4995[91],exten:_0x4995[171],priority:_0x4995[125],app:_0x4995[113],appdata:_0x4995[153],type:_0x4995[104]}]},{include:[{model:models[_0x4995[146]],as:_0x4995[147]}]})[_0x4995[7]](function(_0xb4f6x16){console[_0x4995[13]](util[_0x4995[12]](_0x4995[97],_0xb4f6x16[_0x4995[98]],_0xb4f6x16[_0x4995[99]]))});models[_0x4995[187]][_0x4995[19]]([{name:_0x4995[175],description:_0x4995[176],preproduction:_0x4995[177],production:_0x4995[177]},{name:_0x4995[178],description:_0x4995[179],preproduction:_0x4995[180],production:_0x4995[180]},{name:_0x4995[181],description:_0x4995[182],preproduction:_0x4995[183],production:_0x4995[183]},{name:_0x4995[184],description:_0x4995[185],preproduction:_0x4995[186],production:_0x4995[186]}])[_0x4995[7]](function(_0xb4f6x17){console[_0x4995[13]](util[_0x4995[12]](_0x4995[174],_[_0x4995[11]](_0xb4f6x17,_0x4995[10])[_0x4995[9]]()))});models[_0x4995[191]][_0x4995[41]]({name:_0x4995[189],dsn:_0x4995[190]})[_0x4995[7]](function(_0xb4f6x18){console[_0x4995[13]](util[_0x4995[12]](_0x4995[188],_0xb4f6x18[_0x4995[10]]))});models[_0x4995[203]][_0x4995[19]]([{name:_0x4995[193],version:_0x4995[194],active:false,author:_0x4995[195],logo:_0x4995[196],state:_0x4995[197],description:_0x4995[198]},{name:_0x4995[199],version:_0x4995[194],active:false,author:_0x4995[195],logo:_0x4995[200],state:_0x4995[201],description:_0x4995[202]}],{ignoreDuplicates:true,individualHooks:true})[_0x4995[7]](function(_0xb4f6x19){console[_0x4995[13]](util[_0x4995[12]](_0x4995[192],_0xb4f6x19[_0x4995[10]]))});models[_0x4995[219]][_0x4995[19]]([{name:_0x4995[205],type:_0x4995[206],street:_0x4995[207]},{name:_0x4995[208],type:_0x4995[209],street:_0x4995[210],postalCode:_0x4995[211],country:_0x4995[212],city:_0x4995[213],vat:_0x4995[214],website:_0x4995[215],phone:_0x4995[216],fax:_0x4995[217],email:_0x4995[218]}])[_0x4995[7]](function(_0xb4f6x1a){console[_0x4995[13]](util[_0x4995[12]](_0x4995[204],_[_0x4995[11]](_0xb4f6x1a,_0x4995[10])[_0x4995[9]]()))});models[_0x4995[355]][_0x4995[19]]([{name:_0x4995[221],model:JSON[_0x4995[327]]({"\x74\x69\x74\x6C\x65":_0x4995[222],"\x72\x6F\x77\x73":[{"\x63\x6F\x6C\x75\x6D\x6E\x73":[{"\x73\x74\x79\x6C\x65\x43\x6C\x61\x73\x73":_0x4995[223],"\x77\x69\x64\x67\x65\x74\x73":[{"\x74\x79\x70\x65":_0x4995[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6C\x6F\x72":_0x4995[225],"\x69\x63\x6F\x6E":_0x4995[226],"\x6C\x69\x6E\x6B":_0x4995[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0x4995[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0x4995[229],"\x76\x61\x6C\x75\x65":_0x4995[230]},{"\x6E\x61\x6D\x65":_0x4995[231],"\x76\x61\x6C\x75\x65":_0x4995[232]},{"\x6E\x61\x6D\x65":_0x4995[233],"\x76\x61\x6C\x75\x65":_0x4995[234]},{"\x6E\x61\x6D\x65":_0x4995[235],"\x76\x61\x6C\x75\x65":_0x4995[236]},{"\x6E\x61\x6D\x65":_0x4995[26],"\x76\x61\x6C\x75\x65":_0x4995[237]},{"\x6E\x61\x6D\x65":_0x4995[238],"\x76\x61\x6C\x75\x65":_0x4995[239]},{"\x6E\x61\x6D\x65":_0x4995[240],"\x76\x61\x6C\x75\x65":_0x4995[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0x4995[242],"\x76\x61\x6C\x75\x65":_0x4995[225]},{"\x6E\x61\x6D\x65":_0x4995[243],"\x76\x61\x6C\x75\x65":_0x4995[244]},{"\x6E\x61\x6D\x65":_0x4995[245],"\x76\x61\x6C\x75\x65":_0x4995[246]},{"\x6E\x61\x6D\x65":_0x4995[247],"\x76\x61\x6C\x75\x65":_0x4995[248]},{"\x6E\x61\x6D\x65":_0x4995[249],"\x76\x61\x6C\x75\x65":_0x4995[250]},{"\x6E\x61\x6D\x65":_0x4995[251],"\x76\x61\x6C\x75\x65":_0x4995[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0x4995[253],"\x76\x61\x6C\x75\x65":_0x4995[226]},{"\x6E\x61\x6D\x65":_0x4995[254],"\x76\x61\x6C\x75\x65":_0x4995[255]},{"\x6E\x61\x6D\x65":_0x4995[256],"\x76\x61\x6C\x75\x65":_0x4995[257]},{"\x6E\x61\x6D\x65":_0x4995[258],"\x76\x61\x6C\x75\x65":_0x4995[259]}],"\x72\x65\x70\x6F\x72\x74":_0x4995[236],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0x4995[260],"\x64\x65\x74\x61\x69\x6C\x73":_0x4995[261],"\x73\x65\x6C\x65\x63\x74":_0x4995[262]},"\x74\x69\x74\x6C\x65":_0x4995[263],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0x4995[264],"\x77\x69\x64":_0x4995[265]},{"\x74\x79\x70\x65":_0x4995[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6C\x6F\x72":_0x4995[225],"\x69\x63\x6F\x6E":_0x4995[226],"\x6C\x69\x6E\x6B":_0x4995[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0x4995[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0x4995[229],"\x76\x61\x6C\x75\x65":_0x4995[230]},{"\x6E\x61\x6D\x65":_0x4995[231],"\x76\x61\x6C\x75\x65":_0x4995[232]},{"\x6E\x61\x6D\x65":_0x4995[233],"\x76\x61\x6C\x75\x65":_0x4995[234]},{"\x6E\x61\x6D\x65":_0x4995[235],"\x76\x61\x6C\x75\x65":_0x4995[236]},{"\x6E\x61\x6D\x65":_0x4995[26],"\x76\x61\x6C\x75\x65":_0x4995[237]},{"\x6E\x61\x6D\x65":_0x4995[238],"\x76\x61\x6C\x75\x65":_0x4995[239]},{"\x6E\x61\x6D\x65":_0x4995[240],"\x76\x61\x6C\x75\x65":_0x4995[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0x4995[242],"\x76\x61\x6C\x75\x65":_0x4995[225]},{"\x6E\x61\x6D\x65":_0x4995[243],"\x76\x61\x6C\x75\x65":_0x4995[244]},{"\x6E\x61\x6D\x65":_0x4995[245],"\x76\x61\x6C\x75\x65":_0x4995[246]},{"\x6E\x61\x6D\x65":_0x4995[247],"\x76\x61\x6C\x75\x65":_0x4995[248]},{"\x6E\x61\x6D\x65":_0x4995[249],"\x76\x61\x6C\x75\x65":_0x4995[250]},{"\x6E\x61\x6D\x65":_0x4995[251],"\x76\x61\x6C\x75\x65":_0x4995[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0x4995[253],"\x76\x61\x6C\x75\x65":_0x4995[226]},{"\x6E\x61\x6D\x65":_0x4995[254],"\x76\x61\x6C\x75\x65":_0x4995[255]},{"\x6E\x61\x6D\x65":_0x4995[256],"\x76\x61\x6C\x75\x65":_0x4995[257]},{"\x6E\x61\x6D\x65":_0x4995[258],"\x76\x61\x6C\x75\x65":_0x4995[259]}],"\x72\x65\x70\x6F\x72\x74":_0x4995[236],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0x4995[266],"\x64\x65\x74\x61\x69\x6C\x73":_0x4995[267],"\x73\x65\x6C\x65\x63\x74":_0x4995[262]},"\x74\x69\x74\x6C\x65":_0x4995[263],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0x4995[264],"\x77\x69\x64":_0x4995[268]},{"\x74\x79\x70\x65":_0x4995[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6C\x6F\x72":_0x4995[225],"\x69\x63\x6F\x6E":_0x4995[226],"\x6C\x69\x6E\x6B":_0x4995[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0x4995[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0x4995[229],"\x76\x61\x6C\x75\x65":_0x4995[230]},{"\x6E\x61\x6D\x65":_0x4995[231],"\x76\x61\x6C\x75\x65":_0x4995[232]},{"\x6E\x61\x6D\x65":_0x4995[233],"\x76\x61\x6C\x75\x65":_0x4995[234]},{"\x6E\x61\x6D\x65":_0x4995[235],"\x76\x61\x6C\x75\x65":_0x4995[236]},{"\x6E\x61\x6D\x65":_0x4995[26],"\x76\x61\x6C\x75\x65":_0x4995[237]},{"\x6E\x61\x6D\x65":_0x4995[238],"\x76\x61\x6C\x75\x65":_0x4995[239]},{"\x6E\x61\x6D\x65":_0x4995[240],"\x76\x61\x6C\x75\x65":_0x4995[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0x4995[242],"\x76\x61\x6C\x75\x65":_0x4995[225]},{"\x6E\x61\x6D\x65":_0x4995[243],"\x76\x61\x6C\x75\x65":_0x4995[244]},{"\x6E\x61\x6D\x65":_0x4995[245],"\x76\x61\x6C\x75\x65":_0x4995[246]},{"\x6E\x61\x6D\x65":_0x4995[247],"\x76\x61\x6C\x75\x65":_0x4995[248]},{"\x6E\x61\x6D\x65":_0x4995[249],"\x76\x61\x6C\x75\x65":_0x4995[250]},{"\x6E\x61\x6D\x65":_0x4995[251],"\x76\x61\x6C\x75\x65":_0x4995[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0x4995[253],"\x76\x61\x6C\x75\x65":_0x4995[226]},{"\x6E\x61\x6D\x65":_0x4995[254],"\x76\x61\x6C\x75\x65":_0x4995[255]},{"\x6E\x61\x6D\x65":_0x4995[256],"\x76\x61\x6C\x75\x65":_0x4995[257]},{"\x6E\x61\x6D\x65":_0x4995[258],"\x76\x61\x6C\x75\x65":_0x4995[259]}],"\x73\x65\x6C\x65\x63\x74":_0x4995[269],"\x72\x65\x70\x6F\x72\x74":_0x4995[236],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0x4995[101],"\x64\x65\x74\x61\x69\x6C\x73":_0x4995[270]},"\x74\x69\x74\x6C\x65":_0x4995[263],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0x4995[264],"\x77\x69\x64":_0x4995[271]},{"\x74\x79\x70\x65":_0x4995[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6C\x6F\x72":_0x4995[225],"\x69\x63\x6F\x6E":_0x4995[226],"\x6C\x69\x6E\x6B":_0x4995[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0x4995[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0x4995[229],"\x76\x61\x6C\x75\x65":_0x4995[230]},{"\x6E\x61\x6D\x65":_0x4995[231],"\x76\x61\x6C\x75\x65":_0x4995[232]},{"\x6E\x61\x6D\x65":_0x4995[233],"\x76\x61\x6C\x75\x65":_0x4995[234]},{"\x6E\x61\x6D\x65":_0x4995[235],"\x76\x61\x6C\x75\x65":_0x4995[236]},{"\x6E\x61\x6D\x65":_0x4995[26],"\x76\x61\x6C\x75\x65":_0x4995[237]},{"\x6E\x61\x6D\x65":_0x4995[238],"\x76\x61\x6C\x75\x65":_0x4995[239]},{"\x6E\x61\x6D\x65":_0x4995[240],"\x76\x61\x6C\x75\x65":_0x4995[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0x4995[242],"\x76\x61\x6C\x75\x65":_0x4995[225]},{"\x6E\x61\x6D\x65":_0x4995[243],"\x76\x61\x6C\x75\x65":_0x4995[244]},{"\x6E\x61\x6D\x65":_0x4995[245],"\x76\x61\x6C\x75\x65":_0x4995[246]},{"\x6E\x61\x6D\x65":_0x4995[247],"\x76\x61\x6C\x75\x65":_0x4995[248]},{"\x6E\x61\x6D\x65":_0x4995[249],"\x76\x61\x6C\x75\x65":_0x4995[250]},{"\x6E\x61\x6D\x65":_0x4995[251],"\x76\x61\x6C\x75\x65":_0x4995[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0x4995[253],"\x76\x61\x6C\x75\x65":_0x4995[226]},{"\x6E\x61\x6D\x65":_0x4995[254],"\x76\x61\x6C\x75\x65":_0x4995[255]},{"\x6E\x61\x6D\x65":_0x4995[256],"\x76\x61\x6C\x75\x65":_0x4995[257]},{"\x6E\x61\x6D\x65":_0x4995[258],"\x76\x61\x6C\x75\x65":_0x4995[259]}],"\x73\x65\x6C\x65\x63\x74":_0x4995[272],"\x72\x65\x70\x6F\x72\x74":_0x4995[230],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0x4995[273],"\x64\x65\x74\x61\x69\x6C\x73":_0x4995[274]},"\x74\x69\x74\x6C\x65":_0x4995[263],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0x4995[264],"\x77\x69\x64":_0x4995[275]},{"\x74\x79\x70\x65":_0x4995[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6C\x6F\x72":_0x4995[246],"\x69\x63\x6F\x6E":_0x4995[226],"\x6C\x69\x6E\x6B":_0x4995[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0x4995[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0x4995[229],"\x76\x61\x6C\x75\x65":_0x4995[230]},{"\x6E\x61\x6D\x65":_0x4995[231],"\x76\x61\x6C\x75\x65":_0x4995[232]},{"\x6E\x61\x6D\x65":_0x4995[233],"\x76\x61\x6C\x75\x65":_0x4995[234]},{"\x6E\x61\x6D\x65":_0x4995[235],"\x76\x61\x6C\x75\x65":_0x4995[236]},{"\x6E\x61\x6D\x65":_0x4995[26],"\x76\x61\x6C\x75\x65":_0x4995[237]},{"\x6E\x61\x6D\x65":_0x4995[238],"\x76\x61\x6C\x75\x65":_0x4995[239]},{"\x6E\x61\x6D\x65":_0x4995[240],"\x76\x61\x6C\x75\x65":_0x4995[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0x4995[242],"\x76\x61\x6C\x75\x65":_0x4995[225]},{"\x6E\x61\x6D\x65":_0x4995[243],"\x76\x61\x6C\x75\x65":_0x4995[244]},{"\x6E\x61\x6D\x65":_0x4995[245],"\x76\x61\x6C\x75\x65":_0x4995[246]},{"\x6E\x61\x6D\x65":_0x4995[247],"\x76\x61\x6C\x75\x65":_0x4995[248]},{"\x6E\x61\x6D\x65":_0x4995[249],"\x76\x61\x6C\x75\x65":_0x4995[250]},{"\x6E\x61\x6D\x65":_0x4995[251],"\x76\x61\x6C\x75\x65":_0x4995[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0x4995[253],"\x76\x61\x6C\x75\x65":_0x4995[226]},{"\x6E\x61\x6D\x65":_0x4995[254],"\x76\x61\x6C\x75\x65":_0x4995[255]},{"\x6E\x61\x6D\x65":_0x4995[256],"\x76\x61\x6C\x75\x65":_0x4995[257]},{"\x6E\x61\x6D\x65":_0x4995[258],"\x76\x61\x6C\x75\x65":_0x4995[259]}],"\x73\x65\x6C\x65\x63\x74":_0x4995[276],"\x72\x65\x70\x6F\x72\x74":_0x4995[236],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0x4995[101],"\x64\x65\x74\x61\x69\x6C\x73":_0x4995[277]},"\x74\x69\x74\x6C\x65":_0x4995[278],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0x4995[264],"\x77\x69\x64":_0x4995[279]}],"\x63\x69\x64":_0x4995[280]},{"\x73\x74\x79\x6C\x65\x43\x6C\x61\x73\x73":_0x4995[223],"\x77\x69\x64\x67\x65\x74\x73":[{"\x74\x79\x70\x65":_0x4995[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6C\x6F\x72":_0x4995[244],"\x69\x63\x6F\x6E":_0x4995[226],"\x6C\x69\x6E\x6B":_0x4995[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0x4995[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0x4995[229],"\x76\x61\x6C\x75\x65":_0x4995[230]},{"\x6E\x61\x6D\x65":_0x4995[231],"\x76\x61\x6C\x75\x65":_0x4995[232]},{"\x6E\x61\x6D\x65":_0x4995[233],"\x76\x61\x6C\x75\x65":_0x4995[234]},{"\x6E\x61\x6D\x65":_0x4995[235],"\x76\x61\x6C\x75\x65":_0x4995[236]},{"\x6E\x61\x6D\x65":_0x4995[26],"\x76\x61\x6C\x75\x65":_0x4995[237]},{"\x6E\x61\x6D\x65":_0x4995[238],"\x76\x61\x6C\x75\x65":_0x4995[239]},{"\x6E\x61\x6D\x65":_0x4995[240],"\x76\x61\x6C\x75\x65":_0x4995[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0x4995[242],"\x76\x61\x6C\x75\x65":_0x4995[225]},{"\x6E\x61\x6D\x65":_0x4995[243],"\x76\x61\x6C\x75\x65":_0x4995[244]},{"\x6E\x61\x6D\x65":_0x4995[245],"\x76\x61\x6C\x75\x65":_0x4995[246]},{"\x6E\x61\x6D\x65":_0x4995[247],"\x76\x61\x6C\x75\x65":_0x4995[248]},{"\x6E\x61\x6D\x65":_0x4995[249],"\x76\x61\x6C\x75\x65":_0x4995[250]},{"\x6E\x61\x6D\x65":_0x4995[251],"\x76\x61\x6C\x75\x65":_0x4995[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0x4995[253],"\x76\x61\x6C\x75\x65":_0x4995[226]},{"\x6E\x61\x6D\x65":_0x4995[254],"\x76\x61\x6C\x75\x65":_0x4995[255]},{"\x6E\x61\x6D\x65":_0x4995[256],"\x76\x61\x6C\x75\x65":_0x4995[257]},{"\x6E\x61\x6D\x65":_0x4995[258],"\x76\x61\x6C\x75\x65":_0x4995[259]}],"\x72\x65\x70\x6F\x72\x74":_0x4995[236],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0x4995[281],"\x64\x65\x74\x61\x69\x6C\x73":_0x4995[282],"\x73\x65\x6C\x65\x63\x74":_0x4995[262]},"\x74\x69\x74\x6C\x65":_0x4995[263],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0x4995[264],"\x77\x69\x64":_0x4995[283]},{"\x74\x79\x70\x65":_0x4995[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6C\x6F\x72":_0x4995[244],"\x69\x63\x6F\x6E":_0x4995[226],"\x6C\x69\x6E\x6B":_0x4995[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0x4995[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0x4995[229],"\x76\x61\x6C\x75\x65":_0x4995[230]},{"\x6E\x61\x6D\x65":_0x4995[231],"\x76\x61\x6C\x75\x65":_0x4995[232]},{"\x6E\x61\x6D\x65":_0x4995[233],"\x76\x61\x6C\x75\x65":_0x4995[234]},{"\x6E\x61\x6D\x65":_0x4995[235],"\x76\x61\x6C\x75\x65":_0x4995[236]},{"\x6E\x61\x6D\x65":_0x4995[26],"\x76\x61\x6C\x75\x65":_0x4995[237]},{"\x6E\x61\x6D\x65":_0x4995[238],"\x76\x61\x6C\x75\x65":_0x4995[239]},{"\x6E\x61\x6D\x65":_0x4995[240],"\x76\x61\x6C\x75\x65":_0x4995[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0x4995[242],"\x76\x61\x6C\x75\x65":_0x4995[225]},{"\x6E\x61\x6D\x65":_0x4995[243],"\x76\x61\x6C\x75\x65":_0x4995[244]},{"\x6E\x61\x6D\x65":_0x4995[245],"\x76\x61\x6C\x75\x65":_0x4995[246]},{"\x6E\x61\x6D\x65":_0x4995[247],"\x76\x61\x6C\x75\x65":_0x4995[248]},{"\x6E\x61\x6D\x65":_0x4995[249],"\x76\x61\x6C\x75\x65":_0x4995[250]},{"\x6E\x61\x6D\x65":_0x4995[251],"\x76\x61\x6C\x75\x65":_0x4995[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0x4995[253],"\x76\x61\x6C\x75\x65":_0x4995[226]},{"\x6E\x61\x6D\x65":_0x4995[254],"\x76\x61\x6C\x75\x65":_0x4995[255]},{"\x6E\x61\x6D\x65":_0x4995[256],"\x76\x61\x6C\x75\x65":_0x4995[257]},{"\x6E\x61\x6D\x65":_0x4995[258],"\x76\x61\x6C\x75\x65":_0x4995[259]}],"\x72\x65\x70\x6F\x72\x74":_0x4995[236],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0x4995[284],"\x64\x65\x74\x61\x69\x6C\x73":_0x4995[285],"\x73\x65\x6C\x65\x63\x74":_0x4995[262]},"\x74\x69\x74\x6C\x65":_0x4995[263],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0x4995[264],"\x77\x69\x64":_0x4995[286]},{"\x74\x79\x70\x65":_0x4995[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6C\x6F\x72":_0x4995[244],"\x69\x63\x6F\x6E":_0x4995[226],"\x6C\x69\x6E\x6B":_0x4995[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0x4995[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0x4995[229],"\x76\x61\x6C\x75\x65":_0x4995[230]},{"\x6E\x61\x6D\x65":_0x4995[231],"\x76\x61\x6C\x75\x65":_0x4995[232]},{"\x6E\x61\x6D\x65":_0x4995[233],"\x76\x61\x6C\x75\x65":_0x4995[234]},{"\x6E\x61\x6D\x65":_0x4995[235],"\x76\x61\x6C\x75\x65":_0x4995[236]},{"\x6E\x61\x6D\x65":_0x4995[26],"\x76\x61\x6C\x75\x65":_0x4995[237]},{"\x6E\x61\x6D\x65":_0x4995[238],"\x76\x61\x6C\x75\x65":_0x4995[239]},{"\x6E\x61\x6D\x65":_0x4995[240],"\x76\x61\x6C\x75\x65":_0x4995[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0x4995[242],"\x76\x61\x6C\x75\x65":_0x4995[225]},{"\x6E\x61\x6D\x65":_0x4995[243],"\x76\x61\x6C\x75\x65":_0x4995[244]},{"\x6E\x61\x6D\x65":_0x4995[245],"\x76\x61\x6C\x75\x65":_0x4995[246]},{"\x6E\x61\x6D\x65":_0x4995[247],"\x76\x61\x6C\x75\x65":_0x4995[248]},{"\x6E\x61\x6D\x65":_0x4995[249],"\x76\x61\x6C\x75\x65":_0x4995[250]},{"\x6E\x61\x6D\x65":_0x4995[251],"\x76\x61\x6C\x75\x65":_0x4995[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0x4995[253],"\x76\x61\x6C\x75\x65":_0x4995[226]},{"\x6E\x61\x6D\x65":_0x4995[254],"\x76\x61\x6C\x75\x65":_0x4995[255]},{"\x6E\x61\x6D\x65":_0x4995[256],"\x76\x61\x6C\x75\x65":_0x4995[257]},{"\x6E\x61\x6D\x65":_0x4995[258],"\x76\x61\x6C\x75\x65":_0x4995[259]}],"\x73\x65\x6C\x65\x63\x74":_0x4995[287],"\x72\x65\x70\x6F\x72\x74":_0x4995[236],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0x4995[101],"\x64\x65\x74\x61\x69\x6C\x73":_0x4995[288]},"\x74\x69\x74\x6C\x65":_0x4995[263],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0x4995[264],"\x77\x69\x64":_0x4995[289]},{"\x74\x79\x70\x65":_0x4995[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6C\x6F\x72":_0x4995[250],"\x69\x63\x6F\x6E":_0x4995[226],"\x6C\x69\x6E\x6B":_0x4995[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0x4995[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0x4995[229],"\x76\x61\x6C\x75\x65":_0x4995[230]},{"\x6E\x61\x6D\x65":_0x4995[231],"\x76\x61\x6C\x75\x65":_0x4995[232]},{"\x6E\x61\x6D\x65":_0x4995[233],"\x76\x61\x6C\x75\x65":_0x4995[234]},{"\x6E\x61\x6D\x65":_0x4995[235],"\x76\x61\x6C\x75\x65":_0x4995[236]},{"\x6E\x61\x6D\x65":_0x4995[26],"\x76\x61\x6C\x75\x65":_0x4995[237]},{"\x6E\x61\x6D\x65":_0x4995[238],"\x76\x61\x6C\x75\x65":_0x4995[239]},{"\x6E\x61\x6D\x65":_0x4995[240],"\x76\x61\x6C\x75\x65":_0x4995[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0x4995[242],"\x76\x61\x6C\x75\x65":_0x4995[225]},{"\x6E\x61\x6D\x65":_0x4995[243],"\x76\x61\x6C\x75\x65":_0x4995[244]},{"\x6E\x61\x6D\x65":_0x4995[245],"\x76\x61\x6C\x75\x65":_0x4995[246]},{"\x6E\x61\x6D\x65":_0x4995[247],"\x76\x61\x6C\x75\x65":_0x4995[248]},{"\x6E\x61\x6D\x65":_0x4995[249],"\x76\x61\x6C\x75\x65":_0x4995[250]},{"\x6E\x61\x6D\x65":_0x4995[251],"\x76\x61\x6C\x75\x65":_0x4995[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0x4995[253],"\x76\x61\x6C\x75\x65":_0x4995[226]},{"\x6E\x61\x6D\x65":_0x4995[254],"\x76\x61\x6C\x75\x65":_0x4995[255]},{"\x6E\x61\x6D\x65":_0x4995[256],"\x76\x61\x6C\x75\x65":_0x4995[257]},{"\x6E\x61\x6D\x65":_0x4995[258],"\x76\x61\x6C\x75\x65":_0x4995[259]}],"\x73\x65\x6C\x65\x63\x74":_0x4995[290],"\x72\x65\x70\x6F\x72\x74":_0x4995[230],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0x4995[273],"\x64\x65\x74\x61\x69\x6C\x73":_0x4995[291]},"\x74\x69\x74\x6C\x65":_0x4995[263],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0x4995[264],"\x77\x69\x64":_0x4995[292]},{"\x74\x79\x70\x65":_0x4995[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0x4995[101],"\x63\x6F\x6C\x6F\x72":_0x4995[246],"\x69\x63\x6F\x6E":_0x4995[226],"\x6C\x69\x6E\x6B":_0x4995[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0x4995[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0x4995[229],"\x76\x61\x6C\x75\x65":_0x4995[230]},{"\x6E\x61\x6D\x65":_0x4995[231],"\x76\x61\x6C\x75\x65":_0x4995[232]},{"\x6E\x61\x6D\x65":_0x4995[233],"\x76\x61\x6C\x75\x65":_0x4995[234]},{"\x6E\x61\x6D\x65":_0x4995[235],"\x76\x61\x6C\x75\x65":_0x4995[236]},{"\x6E\x61\x6D\x65":_0x4995[26],"\x76\x61\x6C\x75\x65":_0x4995[237]},{"\x6E\x61\x6D\x65":_0x4995[238],"\x76\x61\x6C\x75\x65":_0x4995[239]},{"\x6E\x61\x6D\x65":_0x4995[240],"\x76\x61\x6C\x75\x65":_0x4995[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0x4995[242],"\x76\x61\x6C\x75\x65":_0x4995[225]},{"\x6E\x61\x6D\x65":_0x4995[243],"\x76\x61\x6C\x75\x65":_0x4995[244]},{"\x6E\x61\x6D\x65":_0x4995[245],"\x76\x61\x6C\x75\x65":_0x4995[246]},{"\x6E\x61\x6D\x65":_0x4995[247],"\x76\x61\x6C\x75\x65":_0x4995[248]},{"\x6E\x61\x6D\x65":_0x4995[249],"\x76\x61\x6C\x75\x65":_0x4995[250]},{"\x6E\x61\x6D\x65":_0x4995[251],"\x76\x61\x6C\x75\x65":_0x4995[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0x4995[253],"\x76\x61\x6C\x75\x65":_0x4995[226]},{"\x6E\x61\x6D\x65":_0x4995[254],"\x76\x61\x6C\x75\x65":_0x4995[255]},{"\x6E\x61\x6D\x65":_0x4995[256],"\x76\x61\x6C\x75\x65":_0x4995[257]},{"\x6E\x61\x6D\x65":_0x4995[258],"\x76\x61\x6C\x75\x65":_0x4995[259]}],"\x73\x65\x6C\x65\x63\x74":_0x4995[293],"\x72\x65\x70\x6F\x72\x74":_0x4995[236],"\x64\x65\x74\x61\x69\x6C\x73":_0x4995[294]},"\x74\x69\x74\x6C\x65":_0x4995[295],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0x4995[264],"\x77\x69\x64":_0x4995[296]}],"\x63\x69\x64":_0x4995[297]},{"\x73\x74\x79\x6C\x65\x43\x6C\x61\x73\x73":_0x4995[223],"\x77\x69\x64\x67\x65\x74\x73":[{"\x74\x79\x70\x65":_0x4995[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6C\x6F\x72":_0x4995[225],"\x69\x63\x6F\x6E":_0x4995[226],"\x6C\x69\x6E\x6B":_0x4995[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0x4995[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0x4995[229],"\x76\x61\x6C\x75\x65":_0x4995[230]},{"\x6E\x61\x6D\x65":_0x4995[231],"\x76\x61\x6C\x75\x65":_0x4995[232]},{"\x6E\x61\x6D\x65":_0x4995[233],"\x76\x61\x6C\x75\x65":_0x4995[234]},{"\x6E\x61\x6D\x65":_0x4995[235],"\x76\x61\x6C\x75\x65":_0x4995[236]},{"\x6E\x61\x6D\x65":_0x4995[26],"\x76\x61\x6C\x75\x65":_0x4995[237]},{"\x6E\x61\x6D\x65":_0x4995[238],"\x76\x61\x6C\x75\x65":_0x4995[239]},{"\x6E\x61\x6D\x65":_0x4995[240],"\x76\x61\x6C\x75\x65":_0x4995[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0x4995[242],"\x76\x61\x6C\x75\x65":_0x4995[225]},{"\x6E\x61\x6D\x65":_0x4995[243],"\x76\x61\x6C\x75\x65":_0x4995[244]},{"\x6E\x61\x6D\x65":_0x4995[245],"\x76\x61\x6C\x75\x65":_0x4995[246]},{"\x6E\x61\x6D\x65":_0x4995[247],"\x76\x61\x6C\x75\x65":_0x4995[248]},{"\x6E\x61\x6D\x65":_0x4995[249],"\x76\x61\x6C\x75\x65":_0x4995[250]},{"\x6E\x61\x6D\x65":_0x4995[251],"\x76\x61\x6C\x75\x65":_0x4995[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0x4995[253],"\x76\x61\x6C\x75\x65":_0x4995[226]},{"\x6E\x61\x6D\x65":_0x4995[254],"\x76\x61\x6C\x75\x65":_0x4995[255]},{"\x6E\x61\x6D\x65":_0x4995[256],"\x76\x61\x6C\x75\x65":_0x4995[257]},{"\x6E\x61\x6D\x65":_0x4995[258],"\x76\x61\x6C\x75\x65":_0x4995[259]}],"\x73\x65\x6C\x65\x63\x74":_0x4995[298],"\x72\x65\x70\x6F\x72\x74":_0x4995[236],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0x4995[260],"\x64\x65\x74\x61\x69\x6C\x73":_0x4995[299]},"\x74\x69\x74\x6C\x65":_0x4995[263],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0x4995[264],"\x77\x69\x64":_0x4995[300]},{"\x74\x79\x70\x65":_0x4995[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6C\x6F\x72":_0x4995[250],"\x69\x63\x6F\x6E":_0x4995[255],"\x6C\x69\x6E\x6B":_0x4995[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0x4995[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0x4995[229],"\x76\x61\x6C\x75\x65":_0x4995[230]},{"\x6E\x61\x6D\x65":_0x4995[231],"\x76\x61\x6C\x75\x65":_0x4995[232]},{"\x6E\x61\x6D\x65":_0x4995[233],"\x76\x61\x6C\x75\x65":_0x4995[234]},{"\x6E\x61\x6D\x65":_0x4995[235],"\x76\x61\x6C\x75\x65":_0x4995[236]},{"\x6E\x61\x6D\x65":_0x4995[26],"\x76\x61\x6C\x75\x65":_0x4995[237]},{"\x6E\x61\x6D\x65":_0x4995[238],"\x76\x61\x6C\x75\x65":_0x4995[239]},{"\x6E\x61\x6D\x65":_0x4995[240],"\x76\x61\x6C\x75\x65":_0x4995[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0x4995[242],"\x76\x61\x6C\x75\x65":_0x4995[225]},{"\x6E\x61\x6D\x65":_0x4995[243],"\x76\x61\x6C\x75\x65":_0x4995[244]},{"\x6E\x61\x6D\x65":_0x4995[245],"\x76\x61\x6C\x75\x65":_0x4995[246]},{"\x6E\x61\x6D\x65":_0x4995[247],"\x76\x61\x6C\x75\x65":_0x4995[248]},{"\x6E\x61\x6D\x65":_0x4995[249],"\x76\x61\x6C\x75\x65":_0x4995[250]},{"\x6E\x61\x6D\x65":_0x4995[251],"\x76\x61\x6C\x75\x65":_0x4995[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0x4995[253],"\x76\x61\x6C\x75\x65":_0x4995[226]},{"\x6E\x61\x6D\x65":_0x4995[254],"\x76\x61\x6C\x75\x65":_0x4995[255]},{"\x6E\x61\x6D\x65":_0x4995[256],"\x76\x61\x6C\x75\x65":_0x4995[257]},{"\x6E\x61\x6D\x65":_0x4995[258],"\x76\x61\x6C\x75\x65":_0x4995[259]}],"\x73\x65\x6C\x65\x63\x74":_0x4995[301],"\x72\x65\x70\x6F\x72\x74":_0x4995[236],"\x64\x65\x74\x61\x69\x6C\x73":_0x4995[302],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0x4995[101]},"\x74\x69\x74\x6C\x65":_0x4995[263],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0x4995[264],"\x77\x69\x64":_0x4995[303]},{"\x74\x79\x70\x65":_0x4995[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6C\x6F\x72":_0x4995[250],"\x69\x63\x6F\x6E":_0x4995[255],"\x6C\x69\x6E\x6B":_0x4995[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0x4995[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0x4995[229],"\x76\x61\x6C\x75\x65":_0x4995[230]},{"\x6E\x61\x6D\x65":_0x4995[231],"\x76\x61\x6C\x75\x65":_0x4995[232]},{"\x6E\x61\x6D\x65":_0x4995[233],"\x76\x61\x6C\x75\x65":_0x4995[234]},{"\x6E\x61\x6D\x65":_0x4995[235],"\x76\x61\x6C\x75\x65":_0x4995[236]},{"\x6E\x61\x6D\x65":_0x4995[26],"\x76\x61\x6C\x75\x65":_0x4995[237]},{"\x6E\x61\x6D\x65":_0x4995[238],"\x76\x61\x6C\x75\x65":_0x4995[239]},{"\x6E\x61\x6D\x65":_0x4995[240],"\x76\x61\x6C\x75\x65":_0x4995[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0x4995[242],"\x76\x61\x6C\x75\x65":_0x4995[225]},{"\x6E\x61\x6D\x65":_0x4995[243],"\x76\x61\x6C\x75\x65":_0x4995[244]},{"\x6E\x61\x6D\x65":_0x4995[245],"\x76\x61\x6C\x75\x65":_0x4995[246]},{"\x6E\x61\x6D\x65":_0x4995[247],"\x76\x61\x6C\x75\x65":_0x4995[248]},{"\x6E\x61\x6D\x65":_0x4995[249],"\x76\x61\x6C\x75\x65":_0x4995[250]},{"\x6E\x61\x6D\x65":_0x4995[251],"\x76\x61\x6C\x75\x65":_0x4995[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0x4995[253],"\x76\x61\x6C\x75\x65":_0x4995[226]},{"\x6E\x61\x6D\x65":_0x4995[254],"\x76\x61\x6C\x75\x65":_0x4995[255]},{"\x6E\x61\x6D\x65":_0x4995[256],"\x76\x61\x6C\x75\x65":_0x4995[257]},{"\x6E\x61\x6D\x65":_0x4995[258],"\x76\x61\x6C\x75\x65":_0x4995[259]}],"\x73\x65\x6C\x65\x63\x74":_0x4995[304],"\x72\x65\x70\x6F\x72\x74":_0x4995[236],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0x4995[101],"\x64\x65\x74\x61\x69\x6C\x73":_0x4995[305]},"\x74\x69\x74\x6C\x65":_0x4995[263],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0x4995[264],"\x77\x69\x64":_0x4995[306]},{"\x74\x79\x70\x65":_0x4995[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6C\x6F\x72":_0x4995[244],"\x69\x63\x6F\x6E":_0x4995[226],"\x6C\x69\x6E\x6B":_0x4995[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0x4995[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0x4995[229],"\x76\x61\x6C\x75\x65":_0x4995[230]},{"\x6E\x61\x6D\x65":_0x4995[231],"\x76\x61\x6C\x75\x65":_0x4995[232]},{"\x6E\x61\x6D\x65":_0x4995[233],"\x76\x61\x6C\x75\x65":_0x4995[234]},{"\x6E\x61\x6D\x65":_0x4995[235],"\x76\x61\x6C\x75\x65":_0x4995[236]},{"\x6E\x61\x6D\x65":_0x4995[26],"\x76\x61\x6C\x75\x65":_0x4995[237]},{"\x6E\x61\x6D\x65":_0x4995[238],"\x76\x61\x6C\x75\x65":_0x4995[239]},{"\x6E\x61\x6D\x65":_0x4995[240],"\x76\x61\x6C\x75\x65":_0x4995[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0x4995[242],"\x76\x61\x6C\x75\x65":_0x4995[225]},{"\x6E\x61\x6D\x65":_0x4995[243],"\x76\x61\x6C\x75\x65":_0x4995[244]},{"\x6E\x61\x6D\x65":_0x4995[245],"\x76\x61\x6C\x75\x65":_0x4995[246]},{"\x6E\x61\x6D\x65":_0x4995[247],"\x76\x61\x6C\x75\x65":_0x4995[248]},{"\x6E\x61\x6D\x65":_0x4995[249],"\x76\x61\x6C\x75\x65":_0x4995[250]},{"\x6E\x61\x6D\x65":_0x4995[251],"\x76\x61\x6C\x75\x65":_0x4995[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0x4995[253],"\x76\x61\x6C\x75\x65":_0x4995[226]},{"\x6E\x61\x6D\x65":_0x4995[254],"\x76\x61\x6C\x75\x65":_0x4995[255]},{"\x6E\x61\x6D\x65":_0x4995[256],"\x76\x61\x6C\x75\x65":_0x4995[257]},{"\x6E\x61\x6D\x65":_0x4995[258],"\x76\x61\x6C\x75\x65":_0x4995[259]}],"\x73\x65\x6C\x65\x63\x74":_0x4995[307],"\x72\x65\x70\x6F\x72\x74":_0x4995[236],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0x4995[284],"\x64\x65\x74\x61\x69\x6C\x73":_0x4995[308]},"\x74\x69\x74\x6C\x65":_0x4995[263],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0x4995[264],"\x77\x69\x64":_0x4995[309]},{"\x74\x79\x70\x65":_0x4995[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0x4995[101],"\x63\x6F\x6C\x6F\x72":_0x4995[246],"\x69\x63\x6F\x6E":_0x4995[226],"\x6C\x69\x6E\x6B":_0x4995[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0x4995[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0x4995[229],"\x76\x61\x6C\x75\x65":_0x4995[230]},{"\x6E\x61\x6D\x65":_0x4995[231],"\x76\x61\x6C\x75\x65":_0x4995[232]},{"\x6E\x61\x6D\x65":_0x4995[233],"\x76\x61\x6C\x75\x65":_0x4995[234]},{"\x6E\x61\x6D\x65":_0x4995[235],"\x76\x61\x6C\x75\x65":_0x4995[236]},{"\x6E\x61\x6D\x65":_0x4995[26],"\x76\x61\x6C\x75\x65":_0x4995[237]},{"\x6E\x61\x6D\x65":_0x4995[238],"\x76\x61\x6C\x75\x65":_0x4995[239]},{"\x6E\x61\x6D\x65":_0x4995[240],"\x76\x61\x6C\x75\x65":_0x4995[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0x4995[242],"\x76\x61\x6C\x75\x65":_0x4995[225]},{"\x6E\x61\x6D\x65":_0x4995[243],"\x76\x61\x6C\x75\x65":_0x4995[244]},{"\x6E\x61\x6D\x65":_0x4995[245],"\x76\x61\x6C\x75\x65":_0x4995[246]},{"\x6E\x61\x6D\x65":_0x4995[247],"\x76\x61\x6C\x75\x65":_0x4995[248]},{"\x6E\x61\x6D\x65":_0x4995[249],"\x76\x61\x6C\x75\x65":_0x4995[250]},{"\x6E\x61\x6D\x65":_0x4995[251],"\x76\x61\x6C\x75\x65":_0x4995[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0x4995[253],"\x76\x61\x6C\x75\x65":_0x4995[226]},{"\x6E\x61\x6D\x65":_0x4995[254],"\x76\x61\x6C\x75\x65":_0x4995[255]},{"\x6E\x61\x6D\x65":_0x4995[256],"\x76\x61\x6C\x75\x65":_0x4995[257]},{"\x6E\x61\x6D\x65":_0x4995[258],"\x76\x61\x6C\x75\x65":_0x4995[259]}],"\x73\x65\x6C\x65\x63\x74":_0x4995[310],"\x72\x65\x70\x6F\x72\x74":_0x4995[236],"\x64\x65\x74\x61\x69\x6C\x73":_0x4995[311]},"\x74\x69\x74\x6C\x65":_0x4995[312],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0x4995[264],"\x77\x69\x64":_0x4995[313]}],"\x63\x69\x64":_0x4995[314]},{"\x73\x74\x79\x6C\x65\x43\x6C\x61\x73\x73":_0x4995[223],"\x77\x69\x64\x67\x65\x74\x73":[{"\x74\x79\x70\x65":_0x4995[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6C\x6F\x72":_0x4995[244],"\x69\x63\x6F\x6E":_0x4995[226],"\x6C\x69\x6E\x6B":_0x4995[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0x4995[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0x4995[229],"\x76\x61\x6C\x75\x65":_0x4995[230]},{"\x6E\x61\x6D\x65":_0x4995[231],"\x76\x61\x6C\x75\x65":_0x4995[232]},{"\x6E\x61\x6D\x65":_0x4995[233],"\x76\x61\x6C\x75\x65":_0x4995[234]},{"\x6E\x61\x6D\x65":_0x4995[235],"\x76\x61\x6C\x75\x65":_0x4995[236]},{"\x6E\x61\x6D\x65":_0x4995[26],"\x76\x61\x6C\x75\x65":_0x4995[237]},{"\x6E\x61\x6D\x65":_0x4995[238],"\x76\x61\x6C\x75\x65":_0x4995[239]},{"\x6E\x61\x6D\x65":_0x4995[240],"\x76\x61\x6C\x75\x65":_0x4995[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0x4995[242],"\x76\x61\x6C\x75\x65":_0x4995[225]},{"\x6E\x61\x6D\x65":_0x4995[243],"\x76\x61\x6C\x75\x65":_0x4995[244]},{"\x6E\x61\x6D\x65":_0x4995[245],"\x76\x61\x6C\x75\x65":_0x4995[246]},{"\x6E\x61\x6D\x65":_0x4995[247],"\x76\x61\x6C\x75\x65":_0x4995[248]},{"\x6E\x61\x6D\x65":_0x4995[249],"\x76\x61\x6C\x75\x65":_0x4995[250]},{"\x6E\x61\x6D\x65":_0x4995[251],"\x76\x61\x6C\x75\x65":_0x4995[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0x4995[253],"\x76\x61\x6C\x75\x65":_0x4995[226]},{"\x6E\x61\x6D\x65":_0x4995[254],"\x76\x61\x6C\x75\x65":_0x4995[255]},{"\x6E\x61\x6D\x65":_0x4995[256],"\x76\x61\x6C\x75\x65":_0x4995[257]},{"\x6E\x61\x6D\x65":_0x4995[258],"\x76\x61\x6C\x75\x65":_0x4995[259]}],"\x73\x65\x6C\x65\x63\x74":_0x4995[315],"\x72\x65\x70\x6F\x72\x74":_0x4995[236],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0x4995[281],"\x64\x65\x74\x61\x69\x6C\x73":_0x4995[316]},"\x74\x69\x74\x6C\x65":_0x4995[263],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0x4995[264],"\x77\x69\x64":_0x4995[317]},{"\x74\x79\x70\x65":_0x4995[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6C\x6F\x72":_0x4995[244],"\x69\x63\x6F\x6E":_0x4995[226],"\x6C\x69\x6E\x6B":_0x4995[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0x4995[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0x4995[229],"\x76\x61\x6C\x75\x65":_0x4995[230]},{"\x6E\x61\x6D\x65":_0x4995[231],"\x76\x61\x6C\x75\x65":_0x4995[232]},{"\x6E\x61\x6D\x65":_0x4995[233],"\x76\x61\x6C\x75\x65":_0x4995[234]},{"\x6E\x61\x6D\x65":_0x4995[235],"\x76\x61\x6C\x75\x65":_0x4995[236]},{"\x6E\x61\x6D\x65":_0x4995[26],"\x76\x61\x6C\x75\x65":_0x4995[237]},{"\x6E\x61\x6D\x65":_0x4995[238],"\x76\x61\x6C\x75\x65":_0x4995[239]},{"\x6E\x61\x6D\x65":_0x4995[240],"\x76\x61\x6C\x75\x65":_0x4995[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0x4995[242],"\x76\x61\x6C\x75\x65":_0x4995[225]},{"\x6E\x61\x6D\x65":_0x4995[243],"\x76\x61\x6C\x75\x65":_0x4995[244]},{"\x6E\x61\x6D\x65":_0x4995[245],"\x76\x61\x6C\x75\x65":_0x4995[246]},{"\x6E\x61\x6D\x65":_0x4995[247],"\x76\x61\x6C\x75\x65":_0x4995[248]},{"\x6E\x61\x6D\x65":_0x4995[249],"\x76\x61\x6C\x75\x65":_0x4995[250]},{"\x6E\x61\x6D\x65":_0x4995[251],"\x76\x61\x6C\x75\x65":_0x4995[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0x4995[253],"\x76\x61\x6C\x75\x65":_0x4995[226]},{"\x6E\x61\x6D\x65":_0x4995[254],"\x76\x61\x6C\x75\x65":_0x4995[255]},{"\x6E\x61\x6D\x65":_0x4995[256],"\x76\x61\x6C\x75\x65":_0x4995[257]},{"\x6E\x61\x6D\x65":_0x4995[258],"\x76\x61\x6C\x75\x65":_0x4995[259]}],"\x73\x65\x6C\x65\x63\x74":_0x4995[262],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0x4995[318],"\x72\x65\x70\x6F\x72\x74":_0x4995[236],"\x64\x65\x74\x61\x69\x6C\x73":_0x4995[319]},"\x74\x69\x74\x6C\x65":_0x4995[263],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0x4995[264],"\x77\x69\x64":_0x4995[320]},{"\x74\x79\x70\x65":_0x4995[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6C\x6F\x72":_0x4995[252],"\x69\x63\x6F\x6E":_0x4995[226],"\x6C\x69\x6E\x6B":_0x4995[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0x4995[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0x4995[229],"\x76\x61\x6C\x75\x65":_0x4995[230]},{"\x6E\x61\x6D\x65":_0x4995[231],"\x76\x61\x6C\x75\x65":_0x4995[232]},{"\x6E\x61\x6D\x65":_0x4995[233],"\x76\x61\x6C\x75\x65":_0x4995[234]},{"\x6E\x61\x6D\x65":_0x4995[235],"\x76\x61\x6C\x75\x65":_0x4995[236]},{"\x6E\x61\x6D\x65":_0x4995[26],"\x76\x61\x6C\x75\x65":_0x4995[237]},{"\x6E\x61\x6D\x65":_0x4995[238],"\x76\x61\x6C\x75\x65":_0x4995[239]},{"\x6E\x61\x6D\x65":_0x4995[240],"\x76\x61\x6C\x75\x65":_0x4995[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0x4995[242],"\x76\x61\x6C\x75\x65":_0x4995[225]},{"\x6E\x61\x6D\x65":_0x4995[243],"\x76\x61\x6C\x75\x65":_0x4995[244]},{"\x6E\x61\x6D\x65":_0x4995[245],"\x76\x61\x6C\x75\x65":_0x4995[246]},{"\x6E\x61\x6D\x65":_0x4995[247],"\x76\x61\x6C\x75\x65":_0x4995[248]},{"\x6E\x61\x6D\x65":_0x4995[249],"\x76\x61\x6C\x75\x65":_0x4995[250]},{"\x6E\x61\x6D\x65":_0x4995[251],"\x76\x61\x6C\x75\x65":_0x4995[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0x4995[253],"\x76\x61\x6C\x75\x65":_0x4995[226]},{"\x6E\x61\x6D\x65":_0x4995[254],"\x76\x61\x6C\x75\x65":_0x4995[255]},{"\x6E\x61\x6D\x65":_0x4995[256],"\x76\x61\x6C\x75\x65":_0x4995[257]},{"\x6E\x61\x6D\x65":_0x4995[258],"\x76\x61\x6C\x75\x65":_0x4995[259]}],"\x73\x65\x6C\x65\x63\x74":_0x4995[321],"\x72\x65\x70\x6F\x72\x74":_0x4995[230],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0x4995[273],"\x64\x65\x74\x61\x69\x6C\x73":_0x4995[322]},"\x74\x69\x74\x6C\x65":_0x4995[263],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0x4995[264],"\x77\x69\x64":_0x4995[323]}],"\x63\x69\x64":_0x4995[324]}]}],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0x4995[325],"\x73\x74\x72\x75\x63\x74\x75\x72\x65":_0x4995[326]}),defaultEntry:true,editable:true},{name:_0x4995[328],model:JSON[_0x4995[327]]({"\x74\x69\x74\x6C\x65":_0x4995[328],"\x72\x6F\x77\x73":[{"\x63\x6F\x6C\x75\x6D\x6E\x73":[{"\x73\x74\x79\x6C\x65\x43\x6C\x61\x73\x73":_0x4995[223],"\x77\x69\x64\x67\x65\x74\x73":[{"\x74\x79\x70\x65":_0x4995[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6C\x6F\x72":_0x4995[248],"\x69\x63\x6F\x6E":_0x4995[259],"\x6C\x69\x6E\x6B":_0x4995[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0x4995[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0x4995[229],"\x76\x61\x6C\x75\x65":_0x4995[230]},{"\x6E\x61\x6D\x65":_0x4995[231],"\x76\x61\x6C\x75\x65":_0x4995[232]},{"\x6E\x61\x6D\x65":_0x4995[233],"\x76\x61\x6C\x75\x65":_0x4995[234]},{"\x6E\x61\x6D\x65":_0x4995[235],"\x76\x61\x6C\x75\x65":_0x4995[236]},{"\x6E\x61\x6D\x65":_0x4995[26],"\x76\x61\x6C\x75\x65":_0x4995[237]},{"\x6E\x61\x6D\x65":_0x4995[238],"\x76\x61\x6C\x75\x65":_0x4995[239]},{"\x6E\x61\x6D\x65":_0x4995[240],"\x76\x61\x6C\x75\x65":_0x4995[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0x4995[242],"\x76\x61\x6C\x75\x65":_0x4995[225]},{"\x6E\x61\x6D\x65":_0x4995[243],"\x76\x61\x6C\x75\x65":_0x4995[244]},{"\x6E\x61\x6D\x65":_0x4995[245],"\x76\x61\x6C\x75\x65":_0x4995[246]},{"\x6E\x61\x6D\x65":_0x4995[247],"\x76\x61\x6C\x75\x65":_0x4995[248]},{"\x6E\x61\x6D\x65":_0x4995[249],"\x76\x61\x6C\x75\x65":_0x4995[250]},{"\x6E\x61\x6D\x65":_0x4995[251],"\x76\x61\x6C\x75\x65":_0x4995[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0x4995[253],"\x76\x61\x6C\x75\x65":_0x4995[226]},{"\x6E\x61\x6D\x65":_0x4995[254],"\x76\x61\x6C\x75\x65":_0x4995[255]},{"\x6E\x61\x6D\x65":_0x4995[256],"\x76\x61\x6C\x75\x65":_0x4995[257]},{"\x6E\x61\x6D\x65":_0x4995[258],"\x76\x61\x6C\x75\x65":_0x4995[259]}],"\x73\x65\x6C\x65\x63\x74":_0x4995[262],"\x72\x65\x70\x6F\x72\x74":_0x4995[232],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0x4995[329],"\x64\x65\x74\x61\x69\x6C\x73":_0x4995[330]},"\x74\x69\x74\x6C\x65":_0x4995[263],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0x4995[264],"\x77\x69\x64":_0x4995[331]},{"\x74\x79\x70\x65":_0x4995[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0x4995[332],"\x63\x6F\x6C\x6F\x72":_0x4995[246],"\x69\x63\x6F\x6E":_0x4995[259],"\x6C\x69\x6E\x6B":_0x4995[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0x4995[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0x4995[229],"\x76\x61\x6C\x75\x65":_0x4995[230]},{"\x6E\x61\x6D\x65":_0x4995[231],"\x76\x61\x6C\x75\x65":_0x4995[232]},{"\x6E\x61\x6D\x65":_0x4995[233],"\x76\x61\x6C\x75\x65":_0x4995[234]},{"\x6E\x61\x6D\x65":_0x4995[235],"\x76\x61\x6C\x75\x65":_0x4995[236]},{"\x6E\x61\x6D\x65":_0x4995[26],"\x76\x61\x6C\x75\x65":_0x4995[237]},{"\x6E\x61\x6D\x65":_0x4995[238],"\x76\x61\x6C\x75\x65":_0x4995[239]},{"\x6E\x61\x6D\x65":_0x4995[240],"\x76\x61\x6C\x75\x65":_0x4995[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0x4995[242],"\x76\x61\x6C\x75\x65":_0x4995[225]},{"\x6E\x61\x6D\x65":_0x4995[243],"\x76\x61\x6C\x75\x65":_0x4995[244]},{"\x6E\x61\x6D\x65":_0x4995[245],"\x76\x61\x6C\x75\x65":_0x4995[246]},{"\x6E\x61\x6D\x65":_0x4995[247],"\x76\x61\x6C\x75\x65":_0x4995[248]},{"\x6E\x61\x6D\x65":_0x4995[249],"\x76\x61\x6C\x75\x65":_0x4995[250]},{"\x6E\x61\x6D\x65":_0x4995[251],"\x76\x61\x6C\x75\x65":_0x4995[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0x4995[253],"\x76\x61\x6C\x75\x65":_0x4995[226]},{"\x6E\x61\x6D\x65":_0x4995[254],"\x76\x61\x6C\x75\x65":_0x4995[255]},{"\x6E\x61\x6D\x65":_0x4995[256],"\x76\x61\x6C\x75\x65":_0x4995[257]},{"\x6E\x61\x6D\x65":_0x4995[258],"\x76\x61\x6C\x75\x65":_0x4995[259]}],"\x73\x65\x6C\x65\x63\x74":_0x4995[262],"\x72\x65\x70\x6F\x72\x74":_0x4995[232],"\x64\x65\x74\x61\x69\x6C\x73":_0x4995[333]},"\x74\x69\x74\x6C\x65":_0x4995[263],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0x4995[264],"\x77\x69\x64":_0x4995[334]}],"\x63\x69\x64":_0x4995[280]},{"\x73\x74\x79\x6C\x65\x43\x6C\x61\x73\x73":_0x4995[223],"\x77\x69\x64\x67\x65\x74\x73":[{"\x74\x79\x70\x65":_0x4995[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6C\x6F\x72":_0x4995[248],"\x69\x63\x6F\x6E":_0x4995[259],"\x6C\x69\x6E\x6B":_0x4995[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0x4995[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0x4995[229],"\x76\x61\x6C\x75\x65":_0x4995[230]},{"\x6E\x61\x6D\x65":_0x4995[231],"\x76\x61\x6C\x75\x65":_0x4995[232]},{"\x6E\x61\x6D\x65":_0x4995[233],"\x76\x61\x6C\x75\x65":_0x4995[234]},{"\x6E\x61\x6D\x65":_0x4995[235],"\x76\x61\x6C\x75\x65":_0x4995[236]},{"\x6E\x61\x6D\x65":_0x4995[26],"\x76\x61\x6C\x75\x65":_0x4995[237]},{"\x6E\x61\x6D\x65":_0x4995[238],"\x76\x61\x6C\x75\x65":_0x4995[239]},{"\x6E\x61\x6D\x65":_0x4995[240],"\x76\x61\x6C\x75\x65":_0x4995[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0x4995[242],"\x76\x61\x6C\x75\x65":_0x4995[225]},{"\x6E\x61\x6D\x65":_0x4995[243],"\x76\x61\x6C\x75\x65":_0x4995[244]},{"\x6E\x61\x6D\x65":_0x4995[245],"\x76\x61\x6C\x75\x65":_0x4995[246]},{"\x6E\x61\x6D\x65":_0x4995[247],"\x76\x61\x6C\x75\x65":_0x4995[248]},{"\x6E\x61\x6D\x65":_0x4995[249],"\x76\x61\x6C\x75\x65":_0x4995[250]},{"\x6E\x61\x6D\x65":_0x4995[251],"\x76\x61\x6C\x75\x65":_0x4995[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0x4995[253],"\x76\x61\x6C\x75\x65":_0x4995[226]},{"\x6E\x61\x6D\x65":_0x4995[254],"\x76\x61\x6C\x75\x65":_0x4995[255]},{"\x6E\x61\x6D\x65":_0x4995[256],"\x76\x61\x6C\x75\x65":_0x4995[257]},{"\x6E\x61\x6D\x65":_0x4995[258],"\x76\x61\x6C\x75\x65":_0x4995[259]}],"\x73\x65\x6C\x65\x63\x74":_0x4995[335],"\x72\x65\x70\x6F\x72\x74":_0x4995[232],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0x4995[329],"\x64\x65\x74\x61\x69\x6C\x73":_0x4995[336]},"\x74\x69\x74\x6C\x65":_0x4995[263],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0x4995[264],"\x77\x69\x64":_0x4995[337]},{"\x74\x79\x70\x65":_0x4995[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0x4995[329],"\x63\x6F\x6C\x6F\x72":_0x4995[250],"\x69\x63\x6F\x6E":_0x4995[226],"\x6C\x69\x6E\x6B":_0x4995[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0x4995[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0x4995[229],"\x76\x61\x6C\x75\x65":_0x4995[230]},{"\x6E\x61\x6D\x65":_0x4995[231],"\x76\x61\x6C\x75\x65":_0x4995[232]},{"\x6E\x61\x6D\x65":_0x4995[233],"\x76\x61\x6C\x75\x65":_0x4995[234]},{"\x6E\x61\x6D\x65":_0x4995[235],"\x76\x61\x6C\x75\x65":_0x4995[236]},{"\x6E\x61\x6D\x65":_0x4995[26],"\x76\x61\x6C\x75\x65":_0x4995[237]},{"\x6E\x61\x6D\x65":_0x4995[238],"\x76\x61\x6C\x75\x65":_0x4995[239]},{"\x6E\x61\x6D\x65":_0x4995[240],"\x76\x61\x6C\x75\x65":_0x4995[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0x4995[242],"\x76\x61\x6C\x75\x65":_0x4995[225]},{"\x6E\x61\x6D\x65":_0x4995[243],"\x76\x61\x6C\x75\x65":_0x4995[244]},{"\x6E\x61\x6D\x65":_0x4995[245],"\x76\x61\x6C\x75\x65":_0x4995[246]},{"\x6E\x61\x6D\x65":_0x4995[247],"\x76\x61\x6C\x75\x65":_0x4995[248]},{"\x6E\x61\x6D\x65":_0x4995[249],"\x76\x61\x6C\x75\x65":_0x4995[250]},{"\x6E\x61\x6D\x65":_0x4995[251],"\x76\x61\x6C\x75\x65":_0x4995[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0x4995[253],"\x76\x61\x6C\x75\x65":_0x4995[226]},{"\x6E\x61\x6D\x65":_0x4995[254],"\x76\x61\x6C\x75\x65":_0x4995[255]},{"\x6E\x61\x6D\x65":_0x4995[256],"\x76\x61\x6C\x75\x65":_0x4995[257]},{"\x6E\x61\x6D\x65":_0x4995[258],"\x76\x61\x6C\x75\x65":_0x4995[259]}],"\x73\x65\x6C\x65\x63\x74":_0x4995[338],"\x72\x65\x70\x6F\x72\x74":_0x4995[232],"\x64\x65\x74\x61\x69\x6C\x73":_0x4995[339]},"\x74\x69\x74\x6C\x65":_0x4995[263],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0x4995[264],"\x77\x69\x64":_0x4995[340]}],"\x63\x69\x64":_0x4995[297]},{"\x73\x74\x79\x6C\x65\x43\x6C\x61\x73\x73":_0x4995[223],"\x77\x69\x64\x67\x65\x74\x73":[{"\x74\x79\x70\x65":_0x4995[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0x4995[329],"\x63\x6F\x6C\x6F\x72":_0x4995[225],"\x69\x63\x6F\x6E":_0x4995[226],"\x6C\x69\x6E\x6B":_0x4995[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0x4995[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0x4995[229],"\x76\x61\x6C\x75\x65":_0x4995[230]},{"\x6E\x61\x6D\x65":_0x4995[231],"\x76\x61\x6C\x75\x65":_0x4995[232]},{"\x6E\x61\x6D\x65":_0x4995[233],"\x76\x61\x6C\x75\x65":_0x4995[234]},{"\x6E\x61\x6D\x65":_0x4995[235],"\x76\x61\x6C\x75\x65":_0x4995[236]},{"\x6E\x61\x6D\x65":_0x4995[26],"\x76\x61\x6C\x75\x65":_0x4995[237]},{"\x6E\x61\x6D\x65":_0x4995[238],"\x76\x61\x6C\x75\x65":_0x4995[239]},{"\x6E\x61\x6D\x65":_0x4995[240],"\x76\x61\x6C\x75\x65":_0x4995[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0x4995[242],"\x76\x61\x6C\x75\x65":_0x4995[225]},{"\x6E\x61\x6D\x65":_0x4995[243],"\x76\x61\x6C\x75\x65":_0x4995[244]},{"\x6E\x61\x6D\x65":_0x4995[245],"\x76\x61\x6C\x75\x65":_0x4995[246]},{"\x6E\x61\x6D\x65":_0x4995[247],"\x76\x61\x6C\x75\x65":_0x4995[248]},{"\x6E\x61\x6D\x65":_0x4995[249],"\x76\x61\x6C\x75\x65":_0x4995[250]},{"\x6E\x61\x6D\x65":_0x4995[251],"\x76\x61\x6C\x75\x65":_0x4995[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0x4995[253],"\x76\x61\x6C\x75\x65":_0x4995[226]},{"\x6E\x61\x6D\x65":_0x4995[254],"\x76\x61\x6C\x75\x65":_0x4995[255]},{"\x6E\x61\x6D\x65":_0x4995[256],"\x76\x61\x6C\x75\x65":_0x4995[257]},{"\x6E\x61\x6D\x65":_0x4995[258],"\x76\x61\x6C\x75\x65":_0x4995[259]}],"\x73\x65\x6C\x65\x63\x74":_0x4995[341],"\x72\x65\x70\x6F\x72\x74":_0x4995[232],"\x64\x65\x74\x61\x69\x6C\x73":_0x4995[342]},"\x74\x69\x74\x6C\x65":_0x4995[263],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0x4995[264],"\x77\x69\x64":_0x4995[343]}],"\x63\x69\x64":_0x4995[314]},{"\x73\x74\x79\x6C\x65\x43\x6C\x61\x73\x73":_0x4995[223],"\x77\x69\x64\x67\x65\x74\x73":[],"\x63\x69\x64":_0x4995[324]}]}],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0x4995[325],"\x73\x74\x72\x75\x63\x74\x75\x72\x65":_0x4995[326]}),defaultEntry:true,editable:true},{name:_0x4995[344],model:JSON[_0x4995[327]]({"\x74\x69\x74\x6C\x65":_0x4995[344],"\x72\x6F\x77\x73":[{"\x63\x6F\x6C\x75\x6D\x6E\x73":[{"\x73\x74\x79\x6C\x65\x43\x6C\x61\x73\x73":_0x4995[223],"\x77\x69\x64\x67\x65\x74\x73":[{"\x74\x79\x70\x65":_0x4995[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6C\x6F\x72":_0x4995[248],"\x69\x63\x6F\x6E":_0x4995[259],"\x6C\x69\x6E\x6B":_0x4995[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0x4995[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0x4995[229],"\x76\x61\x6C\x75\x65":_0x4995[230]},{"\x6E\x61\x6D\x65":_0x4995[231],"\x76\x61\x6C\x75\x65":_0x4995[232]},{"\x6E\x61\x6D\x65":_0x4995[233],"\x76\x61\x6C\x75\x65":_0x4995[234]},{"\x6E\x61\x6D\x65":_0x4995[235],"\x76\x61\x6C\x75\x65":_0x4995[236]},{"\x6E\x61\x6D\x65":_0x4995[26],"\x76\x61\x6C\x75\x65":_0x4995[237]},{"\x6E\x61\x6D\x65":_0x4995[238],"\x76\x61\x6C\x75\x65":_0x4995[239]},{"\x6E\x61\x6D\x65":_0x4995[240],"\x76\x61\x6C\x75\x65":_0x4995[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0x4995[242],"\x76\x61\x6C\x75\x65":_0x4995[225]},{"\x6E\x61\x6D\x65":_0x4995[243],"\x76\x61\x6C\x75\x65":_0x4995[244]},{"\x6E\x61\x6D\x65":_0x4995[245],"\x76\x61\x6C\x75\x65":_0x4995[246]},{"\x6E\x61\x6D\x65":_0x4995[247],"\x76\x61\x6C\x75\x65":_0x4995[248]},{"\x6E\x61\x6D\x65":_0x4995[249],"\x76\x61\x6C\x75\x65":_0x4995[250]},{"\x6E\x61\x6D\x65":_0x4995[251],"\x76\x61\x6C\x75\x65":_0x4995[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0x4995[253],"\x76\x61\x6C\x75\x65":_0x4995[226]},{"\x6E\x61\x6D\x65":_0x4995[254],"\x76\x61\x6C\x75\x65":_0x4995[255]},{"\x6E\x61\x6D\x65":_0x4995[256],"\x76\x61\x6C\x75\x65":_0x4995[257]},{"\x6E\x61\x6D\x65":_0x4995[258],"\x76\x61\x6C\x75\x65":_0x4995[259]}],"\x73\x65\x6C\x65\x63\x74":_0x4995[262],"\x72\x65\x70\x6F\x72\x74":_0x4995[237],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0x4995[345],"\x64\x65\x74\x61\x69\x6C\x73":_0x4995[346]},"\x74\x69\x74\x6C\x65":_0x4995[347],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0x4995[264],"\x77\x69\x64":_0x4995[348]}],"\x63\x69\x64":_0x4995[280]},{"\x73\x74\x79\x6C\x65\x43\x6C\x61\x73\x73":_0x4995[223],"\x77\x69\x64\x67\x65\x74\x73":[{"\x74\x79\x70\x65":_0x4995[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6C\x6F\x72":_0x4995[252],"\x69\x63\x6F\x6E":_0x4995[259],"\x6C\x69\x6E\x6B":_0x4995[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0x4995[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0x4995[229],"\x76\x61\x6C\x75\x65":_0x4995[230]},{"\x6E\x61\x6D\x65":_0x4995[231],"\x76\x61\x6C\x75\x65":_0x4995[232]},{"\x6E\x61\x6D\x65":_0x4995[233],"\x76\x61\x6C\x75\x65":_0x4995[234]},{"\x6E\x61\x6D\x65":_0x4995[235],"\x76\x61\x6C\x75\x65":_0x4995[236]},{"\x6E\x61\x6D\x65":_0x4995[26],"\x76\x61\x6C\x75\x65":_0x4995[237]},{"\x6E\x61\x6D\x65":_0x4995[238],"\x76\x61\x6C\x75\x65":_0x4995[239]},{"\x6E\x61\x6D\x65":_0x4995[240],"\x76\x61\x6C\x75\x65":_0x4995[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0x4995[242],"\x76\x61\x6C\x75\x65":_0x4995[225]},{"\x6E\x61\x6D\x65":_0x4995[243],"\x76\x61\x6C\x75\x65":_0x4995[244]},{"\x6E\x61\x6D\x65":_0x4995[245],"\x76\x61\x6C\x75\x65":_0x4995[246]},{"\x6E\x61\x6D\x65":_0x4995[247],"\x76\x61\x6C\x75\x65":_0x4995[248]},{"\x6E\x61\x6D\x65":_0x4995[249],"\x76\x61\x6C\x75\x65":_0x4995[250]},{"\x6E\x61\x6D\x65":_0x4995[251],"\x76\x61\x6C\x75\x65":_0x4995[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0x4995[253],"\x76\x61\x6C\x75\x65":_0x4995[226]},{"\x6E\x61\x6D\x65":_0x4995[254],"\x76\x61\x6C\x75\x65":_0x4995[255]},{"\x6E\x61\x6D\x65":_0x4995[256],"\x76\x61\x6C\x75\x65":_0x4995[257]},{"\x6E\x61\x6D\x65":_0x4995[258],"\x76\x61\x6C\x75\x65":_0x4995[259]}],"\x73\x65\x6C\x65\x63\x74":_0x4995[262],"\x72\x65\x70\x6F\x72\x74":_0x4995[237],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0x4995[349],"\x64\x65\x74\x61\x69\x6C\x73":_0x4995[350]},"\x74\x69\x74\x6C\x65":_0x4995[347],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0x4995[264],"\x77\x69\x64":_0x4995[351]}],"\x63\x69\x64":_0x4995[297]},{"\x73\x74\x79\x6C\x65\x43\x6C\x61\x73\x73":_0x4995[223],"\x77\x69\x64\x67\x65\x74\x73":[{"\x74\x79\x70\x65":_0x4995[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6C\x6F\x72":_0x4995[250],"\x69\x63\x6F\x6E":_0x4995[226],"\x6C\x69\x6E\x6B":_0x4995[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0x4995[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0x4995[229],"\x76\x61\x6C\x75\x65":_0x4995[230]},{"\x6E\x61\x6D\x65":_0x4995[231],"\x76\x61\x6C\x75\x65":_0x4995[232]},{"\x6E\x61\x6D\x65":_0x4995[233],"\x76\x61\x6C\x75\x65":_0x4995[234]},{"\x6E\x61\x6D\x65":_0x4995[235],"\x76\x61\x6C\x75\x65":_0x4995[236]},{"\x6E\x61\x6D\x65":_0x4995[26],"\x76\x61\x6C\x75\x65":_0x4995[237]},{"\x6E\x61\x6D\x65":_0x4995[238],"\x76\x61\x6C\x75\x65":_0x4995[239]},{"\x6E\x61\x6D\x65":_0x4995[240],"\x76\x61\x6C\x75\x65":_0x4995[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0x4995[242],"\x76\x61\x6C\x75\x65":_0x4995[225]},{"\x6E\x61\x6D\x65":_0x4995[243],"\x76\x61\x6C\x75\x65":_0x4995[244]},{"\x6E\x61\x6D\x65":_0x4995[245],"\x76\x61\x6C\x75\x65":_0x4995[246]},{"\x6E\x61\x6D\x65":_0x4995[247],"\x76\x61\x6C\x75\x65":_0x4995[248]},{"\x6E\x61\x6D\x65":_0x4995[249],"\x76\x61\x6C\x75\x65":_0x4995[250]},{"\x6E\x61\x6D\x65":_0x4995[251],"\x76\x61\x6C\x75\x65":_0x4995[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0x4995[253],"\x76\x61\x6C\x75\x65":_0x4995[226]},{"\x6E\x61\x6D\x65":_0x4995[254],"\x76\x61\x6C\x75\x65":_0x4995[255]},{"\x6E\x61\x6D\x65":_0x4995[256],"\x76\x61\x6C\x75\x65":_0x4995[257]},{"\x6E\x61\x6D\x65":_0x4995[258],"\x76\x61\x6C\x75\x65":_0x4995[259]}],"\x73\x65\x6C\x65\x63\x74":_0x4995[262],"\x72\x65\x70\x6F\x72\x74":_0x4995[237],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0x4995[352],"\x64\x65\x74\x61\x69\x6C\x73":_0x4995[353]},"\x74\x69\x74\x6C\x65":_0x4995[347],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0x4995[264],"\x77\x69\x64":_0x4995[354]}],"\x63\x69\x64":_0x4995[314]},{"\x73\x74\x79\x6C\x65\x43\x6C\x61\x73\x73":_0x4995[223],"\x77\x69\x64\x67\x65\x74\x73":[],"\x63\x69\x64":_0x4995[324]}]}],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0x4995[325],"\x73\x74\x72\x75\x63\x74\x75\x72\x65":_0x4995[326]}),defaultEntry:true,editable:true}],{ignoreDuplicates:true,individualHooks:true})[_0x4995[7]](function(_0xb4f6x1b){console[_0x4995[13]](util[_0x4995[12]](_0x4995[220],_[_0x4995[11]](_0xb4f6x1b,_0x4995[10])[_0x4995[9]]()))});models[_0x4995[358]][_0x4995[19]]([{id:1,min_internal:1000,min_mailbox:1000,agi_port:4573,automation_timeout:3600,soundPath:_0x4995[357]}],{ignoreDuplicates:true,individualHooks:true})[_0x4995[7]](function(){console[_0x4995[13]](util[_0x4995[12]](_0x4995[356]))});var newModules=[{id:1,name:_0x4995[359],title:_0x4995[360],ModuleId:null,path:_0x4995[361]},{id:2,name:_0x4995[362],title:_0x4995[363],ModuleId:null,path:_0x4995[364]},{id:3,name:_0x4995[365],title:_0x4995[366],ModuleId:null,path:_0x4995[367]},{id:4,name:_0x4995[368],title:_0x4995[369],ModuleId:3,path:_0x4995[367]},{id:5,name:_0x4995[370],title:_0x4995[371],ModuleId:null,path:_0x4995[372]},{id:6,name:_0x4995[373],title:_0x4995[374],ModuleId:null,path:null},{id:7,name:_0x4995[375],title:_0x4995[376],ModuleId:6,path:_0x4995[377]},{id:8,name:_0x4995[378],title:_0x4995[379],ModuleId:6,path:_0x4995[380]},{id:9,name:_0x4995[381],title:_0x4995[382],ModuleId:6,path:_0x4995[383]},{id:10,name:_0x4995[384],title:_0x4995[385],ModuleId:6,path:_0x4995[386]},{id:11,name:_0x4995[387],title:_0x4995[388],ModuleId:6,path:_0x4995[389]},{id:12,name:_0x4995[390],title:_0x4995[391],ModuleId:6,path:_0x4995[392]},{id:13,name:_0x4995[393],title:_0x4995[394],ModuleId:null,path:_0x4995[395]},{id:14,name:_0x4995[396],title:_0x4995[397],ModuleId:null,path:_0x4995[398]},{id:15,name:_0x4995[399],title:_0x4995[400],ModuleId:null,path:_0x4995[401]},{id:16,name:_0x4995[402],title:_0x4995[403],ModuleId:null,path:_0x4995[404]},{id:17,name:_0x4995[405],title:_0x4995[406],ModuleId:null,path:_0x4995[407]},{id:18,name:_0x4995[408],title:_0x4995[409],ModuleId:null,path:_0x4995[410]},{id:19,name:_0x4995[411],title:_0x4995[412],ModuleId:null,path:_0x4995[413]}];models[_0x4995[420]][_0x4995[423]]()[_0x4995[7]](function(_0xb4f6x1e){var _0xb4f6x1f=[];_0xb4f6x1e=_[_0x4995[11]](_0xb4f6x1e,_0x4995[5]);newModules[_0x4995[422]](function(_0xb4f6x20){if(_[_0x4995[418]](_0xb4f6x1e,_0xb4f6x20[_0x4995[5]])){_0xb4f6x1f[_0x4995[421]](models[_0x4995[420]][_0x4995[419]](_0xb4f6x20,{where:{id:_0xb4f6x20[_0x4995[5]]}}))}else {_0xb4f6x1f[_0x4995[421]](models[_0x4995[420]][_0x4995[41]](_0xb4f6x20))}});return _0xb4f6x1f})[_0x4995[417]]()[_0x4995[7]](function(){console[_0x4995[13]](_0x4995[416])})[_0x4995[415]](function(_0xb4f6x1d){console[_0x4995[13]](_0x4995[414],_0xb4f6x1d)});var newDefaulReports=[{"\x69\x64":1,"\x6E\x61\x6D\x65":_0x4995[424],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x4995[425],"\x74\x61\x62\x6C\x65":_0x4995[426],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4995[427]},{"\x69\x64":2,"\x6E\x61\x6D\x65":_0x4995[428],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x4995[429],"\x70\x61\x72\x65\x6E\x74":_0x4995[430],"\x74\x61\x62\x6C\x65":_0x4995[431],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4995[427]},{"\x69\x64":3,"\x6E\x61\x6D\x65":_0x4995[432],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x4995[433],"\x70\x61\x72\x65\x6E\x74":_0x4995[430],"\x74\x61\x62\x6C\x65":_0x4995[431],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4995[434]},{"\x69\x64":4,"\x6E\x61\x6D\x65":_0x4995[435],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x4995[436],"\x74\x61\x62\x6C\x65":_0x4995[426],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4995[427]},{"\x69\x64":5,"\x6E\x61\x6D\x65":_0x4995[428],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x4995[437],"\x74\x61\x62\x6C\x65":_0x4995[438],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4995[439]},{"\x69\x64":6,"\x6E\x61\x6D\x65":_0x4995[440],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x4995[437],"\x74\x61\x62\x6C\x65":_0x4995[438],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4995[427]},{"\x69\x64":7,"\x6E\x61\x6D\x65":_0x4995[435],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x4995[437],"\x74\x61\x62\x6C\x65":_0x4995[438],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4995[439]},{"\x69\x64":8,"\x6E\x61\x6D\x65":_0x4995[441],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x4995[437],"\x74\x61\x62\x6C\x65":_0x4995[438],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4995[439]},{"\x69\x64":9,"\x6E\x61\x6D\x65":_0x4995[442],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x4995[437],"\x74\x61\x62\x6C\x65":_0x4995[438],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4995[439]},{"\x69\x64":10,"\x6E\x61\x6D\x65":_0x4995[428],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x4995[443],"\x74\x61\x62\x6C\x65":_0x4995[426],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4995[444]},{"\x69\x64":11,"\x6E\x61\x6D\x65":_0x4995[445],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x4995[443],"\x74\x61\x62\x6C\x65":_0x4995[426],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4995[444]},{"\x69\x64":12,"\x6E\x61\x6D\x65":_0x4995[446],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x4995[443],"\x74\x61\x62\x6C\x65":_0x4995[426],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4995[447]},{"\x69\x64":13,"\x6E\x61\x6D\x65":_0x4995[448],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x4995[443],"\x74\x61\x62\x6C\x65":_0x4995[426],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4995[449]},{"\x69\x64":14,"\x6E\x61\x6D\x65":_0x4995[450],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x4995[436],"\x74\x61\x62\x6C\x65":_0x4995[426],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4995[427]},{"\x69\x64":15,"\x6E\x61\x6D\x65":_0x4995[451],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x4995[436],"\x74\x61\x62\x6C\x65":_0x4995[426],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4995[427]},{"\x69\x64":16,"\x6E\x61\x6D\x65":_0x4995[452],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x4995[436],"\x74\x61\x62\x6C\x65":_0x4995[426],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4995[427]},{"\x69\x64":17,"\x6E\x61\x6D\x65":_0x4995[453],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x4995[430],"\x74\x61\x62\x6C\x65":_0x4995[431],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4995[427]},{"\x69\x64":18,"\x6E\x61\x6D\x65":_0x4995[454],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x4995[455],"\x70\x61\x72\x65\x6E\x74":_0x4995[430],"\x74\x61\x62\x6C\x65":_0x4995[431],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4995[434]},{"\x69\x64":19,"\x6E\x61\x6D\x65":_0x4995[456],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x4995[457],"\x74\x61\x62\x6C\x65":_0x4995[458],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4995[459]},{"\x69\x64":20,"\x6E\x61\x6D\x65":_0x4995[460],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x4995[457],"\x74\x61\x62\x6C\x65":_0x4995[458],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4995[461]},{"\x69\x64":21,"\x6E\x61\x6D\x65":_0x4995[462],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x4995[463],"\x74\x61\x62\x6C\x65":_0x4995[464],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4995[427]},{"\x69\x64":22,"\x6E\x61\x6D\x65":_0x4995[465],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x4995[463],"\x74\x61\x62\x6C\x65":_0x4995[464],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4995[427]},{"\x69\x64":23,"\x6E\x61\x6D\x65":_0x4995[466],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0x4995[463],"\x74\x61\x62\x6C\x65":_0x4995[464],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0x4995[467]}];var newDefaultMetrics=[{"\x69\x64":1,"\x6E\x61\x6D\x65":_0x4995[468],"\x74\x61\x62\x6C\x65":_0x4995[426],"\x6D\x65\x74\x72\x69\x63":_0x4995[469]},{"\x69\x64":2,"\x6E\x61\x6D\x65":_0x4995[470],"\x74\x61\x62\x6C\x65":_0x4995[426],"\x6D\x65\x74\x72\x69\x63":_0x4995[471]},{"\x69\x64":3,"\x6E\x61\x6D\x65":_0x4995[472],"\x74\x61\x62\x6C\x65":_0x4995[426],"\x6D\x65\x74\x72\x69\x63":_0x4995[473],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x4995[474]},{"\x69\x64":4,"\x6E\x61\x6D\x65":_0x4995[475],"\x74\x61\x62\x6C\x65":_0x4995[426],"\x6D\x65\x74\x72\x69\x63":_0x4995[476]},{"\x69\x64":5,"\x6E\x61\x6D\x65":_0x4995[477],"\x74\x61\x62\x6C\x65":_0x4995[438],"\x6D\x65\x74\x72\x69\x63":_0x4995[478],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x4995[479]},{"\x69\x64":6,"\x6E\x61\x6D\x65":_0x4995[480],"\x74\x61\x62\x6C\x65":_0x4995[438],"\x6D\x65\x74\x72\x69\x63":_0x4995[481],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x4995[482]},{"\x69\x64":7,"\x6E\x61\x6D\x65":_0x4995[483],"\x74\x61\x62\x6C\x65":_0x4995[438],"\x6D\x65\x74\x72\x69\x63":_0x4995[484],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x4995[485]},{"\x69\x64":8,"\x6E\x61\x6D\x65":_0x4995[486],"\x74\x61\x62\x6C\x65":_0x4995[438],"\x6D\x65\x74\x72\x69\x63":_0x4995[487],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x4995[488]},{"\x69\x64":9,"\x6E\x61\x6D\x65":_0x4995[489],"\x74\x61\x62\x6C\x65":_0x4995[426],"\x6D\x65\x74\x72\x69\x63":_0x4995[490]},{"\x69\x64":10,"\x6E\x61\x6D\x65":_0x4995[491],"\x74\x61\x62\x6C\x65":_0x4995[426],"\x6D\x65\x74\x72\x69\x63":_0x4995[492],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x4995[493]},{"\x69\x64":11,"\x6E\x61\x6D\x65":_0x4995[494],"\x74\x61\x62\x6C\x65":_0x4995[426],"\x6D\x65\x74\x72\x69\x63":_0x4995[495],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x4995[496]},{"\x69\x64":12,"\x6E\x61\x6D\x65":_0x4995[497],"\x74\x61\x62\x6C\x65":_0x4995[426],"\x6D\x65\x74\x72\x69\x63":_0x4995[498],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x4995[499]},{"\x69\x64":13,"\x6E\x61\x6D\x65":_0x4995[500],"\x74\x61\x62\x6C\x65":_0x4995[426],"\x6D\x65\x74\x72\x69\x63":_0x4995[501],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x4995[502]},{"\x69\x64":14,"\x6E\x61\x6D\x65":_0x4995[503],"\x74\x61\x62\x6C\x65":_0x4995[426],"\x6D\x65\x74\x72\x69\x63":_0x4995[504],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x4995[505]},{"\x69\x64":15,"\x6E\x61\x6D\x65":_0x4995[506],"\x74\x61\x62\x6C\x65":_0x4995[426],"\x6D\x65\x74\x72\x69\x63":_0x4995[507],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x4995[508]},{"\x69\x64":16,"\x6E\x61\x6D\x65":_0x4995[509],"\x74\x61\x62\x6C\x65":_0x4995[458],"\x6D\x65\x74\x72\x69\x63":_0x4995[510],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x4995[511]},{"\x69\x64":17,"\x6E\x61\x6D\x65":_0x4995[512],"\x74\x61\x62\x6C\x65":_0x4995[458],"\x6D\x65\x74\x72\x69\x63":_0x4995[513],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x4995[514]},{"\x69\x64":18,"\x6E\x61\x6D\x65":_0x4995[515],"\x74\x61\x62\x6C\x65":_0x4995[464],"\x6D\x65\x74\x72\x69\x63":_0x4995[516],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x4995[517]},{"\x69\x64":19,"\x6E\x61\x6D\x65":_0x4995[518],"\x74\x61\x62\x6C\x65":_0x4995[464],"\x6D\x65\x74\x72\x69\x63":_0x4995[519],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x4995[520]},{"\x69\x64":20,"\x6E\x61\x6D\x65":_0x4995[521],"\x74\x61\x62\x6C\x65":_0x4995[464],"\x6D\x65\x74\x72\x69\x63":_0x4995[522],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x4995[523]}];models[_0x4995[685]][_0x4995[680]]({where:{id:1}})[_0x4995[7]](function(){return models[_0x4995[685]][_0x4995[41]]({id:1,tree:_0x4995[686]})})[_0x4995[7]](function(){return models[_0x4995[685]][_0x4995[684]]({where:{id:2},defaults:{id:2,tree:_0x4995[683]}})})[_0x4995[7]](function(){return models[_0x4995[682]][_0x4995[423]]()})[_0x4995[7]](function(_0xb4f6x26){var _0xb4f6x27=[];_0xb4f6x26=_[_0x4995[11]](_0xb4f6x26,_0x4995[5]);newDefaultMetrics[_0x4995[422]](function(_0xb4f6x28){if(_[_0x4995[418]](_0xb4f6x26,_0xb4f6x28[_0x4995[5]])){_0xb4f6x27[_0x4995[421]](models[_0x4995[682]][_0x4995[419]](_0xb4f6x28,{where:{id:_0xb4f6x28[_0x4995[5]]}}))}else {_0xb4f6x27[_0x4995[421]](models[_0x4995[682]][_0x4995[41]](_0xb4f6x28))}});return _0xb4f6x27})[_0x4995[417]]()[_0x4995[7]](function(){return models[_0x4995[681]][_0x4995[423]]()})[_0x4995[7]](function(_0xb4f6x23){var _0xb4f6x24=[];_0xb4f6x23=_[_0x4995[11]](_0xb4f6x23,_0x4995[5]);newDefaulReports[_0x4995[422]](function(_0xb4f6x25){if(_[_0x4995[418]](_0xb4f6x23,_0xb4f6x25[_0x4995[5]])){_0xb4f6x24[_0x4995[421]](models[_0x4995[681]][_0x4995[419]](_0xb4f6x25,{where:{id:_0xb4f6x25[_0x4995[5]]}}))}else {_0xb4f6x24[_0x4995[421]](models[_0x4995[681]][_0x4995[41]](_0xb4f6x25))}});return _0xb4f6x24})[_0x4995[417]]()[_0x4995[7]](function(){return models[_0x4995[679]][_0x4995[680]]({where:{DefaultReportId:{$gt:0}}})})[_0x4995[7]](function(){return models[_0x4995[679]][_0x4995[19]]([{"\x66\x69\x65\x6C\x64":_0x4995[526],"\x61\x6C\x69\x61\x73":_0x4995[527],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x4995[528],"\x61\x6C\x69\x61\x73":_0x4995[529],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x4995[530],"\x61\x6C\x69\x61\x73":_0x4995[531],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x4995[532],"\x61\x6C\x69\x61\x73":_0x4995[151],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x4995[533],"\x61\x6C\x69\x61\x73":_0x4995[534],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x4995[535],"\x61\x6C\x69\x61\x73":_0x4995[536],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x4995[537],"\x61\x6C\x69\x61\x73":_0x4995[538],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x4995[539],"\x61\x6C\x69\x61\x73":_0x4995[540],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x4995[541],"\x61\x6C\x69\x61\x73":_0x4995[542],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x4995[543],"\x61\x6C\x69\x61\x73":_0x4995[544],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x4995[545],"\x61\x6C\x69\x61\x73":_0x4995[546],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x4995[547],"\x61\x6C\x69\x61\x73":_0x4995[548],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x4995[549],"\x61\x6C\x69\x61\x73":_0x4995[550],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x4995[99],"\x61\x6C\x69\x61\x73":_0x4995[551],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x4995[469],"\x61\x6C\x69\x61\x73":_0x4995[552],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x4995[476],"\x61\x6C\x69\x61\x73":_0x4995[553],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x4995[471],"\x61\x6C\x69\x61\x73":_0x4995[554],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0x4995[526],"\x61\x6C\x69\x61\x73":_0x4995[555],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0x4995[556],"\x61\x6C\x69\x61\x73":_0x4995[557],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0x4995[558],"\x61\x6C\x69\x61\x73":_0x4995[559],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0x4995[560],"\x61\x6C\x69\x61\x73":_0x4995[561],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0x4995[562],"\x61\x6C\x69\x61\x73":_0x4995[563],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0x4995[564],"\x61\x6C\x69\x61\x73":_0x4995[565],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0x4995[566],"\x61\x6C\x69\x61\x73":_0x4995[567],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0x4995[568],"\x61\x6C\x69\x61\x73":_0x4995[569],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0x4995[570],"\x61\x6C\x69\x61\x73":_0x4995[571],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0x4995[572],"\x61\x6C\x69\x61\x73":_0x4995[573],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0x4995[574],"\x61\x6C\x69\x61\x73":_0x4995[553],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0x4995[575],"\x61\x6C\x69\x61\x73":_0x4995[576],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0x4995[577],"\x61\x6C\x69\x61\x73":_0x4995[578],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0x4995[579],"\x61\x6C\x69\x61\x73":_0x4995[580],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0x4995[526],"\x61\x6C\x69\x61\x73":_0x4995[555],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0x4995[581],"\x61\x6C\x69\x61\x73":_0x4995[582],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0x4995[560],"\x61\x6C\x69\x61\x73":_0x4995[561],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0x4995[562],"\x61\x6C\x69\x61\x73":_0x4995[563],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0x4995[564],"\x61\x6C\x69\x61\x73":_0x4995[583],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0x4995[572],"\x61\x6C\x69\x61\x73":_0x4995[573],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0x4995[574],"\x61\x6C\x69\x61\x73":_0x4995[553],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0x4995[575],"\x61\x6C\x69\x61\x73":_0x4995[584],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0x4995[577],"\x61\x6C\x69\x61\x73":_0x4995[578],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0x4995[585],"\x61\x6C\x69\x61\x73":_0x4995[586],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0x4995[579],"\x61\x6C\x69\x61\x73":_0x4995[580],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0x4995[558],"\x61\x6C\x69\x61\x73":_0x4995[559],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0x4995[532],"\x61\x6C\x69\x61\x73":_0x4995[151],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":4},{"\x66\x69\x65\x6C\x64":_0x4995[526],"\x61\x6C\x69\x61\x73":_0x4995[587],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[588],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":4},{"\x66\x69\x65\x6C\x64":_0x4995[541],"\x61\x6C\x69\x61\x73":_0x4995[589],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":4},{"\x66\x69\x65\x6C\x64":_0x4995[537],"\x61\x6C\x69\x61\x73":_0x4995[591],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":4},{"\x66\x69\x65\x6C\x64":_0x4995[545],"\x61\x6C\x69\x61\x73":_0x4995[319],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":4},{"\x66\x69\x65\x6C\x64":_0x4995[469],"\x61\x6C\x69\x61\x73":_0x4995[592],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":4},{"\x66\x69\x65\x6C\x64":_0x4995[471],"\x61\x6C\x69\x61\x73":_0x4995[594],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":4},{"\x66\x69\x65\x6C\x64":_0x4995[476],"\x61\x6C\x69\x61\x73":_0x4995[595],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":4},{"\x66\x69\x65\x6C\x64":_0x4995[526],"\x61\x6C\x69\x61\x73":_0x4995[527],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x4995[528],"\x61\x6C\x69\x61\x73":_0x4995[529],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x4995[530],"\x61\x6C\x69\x61\x73":_0x4995[531],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x4995[532],"\x61\x6C\x69\x61\x73":_0x4995[151],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x4995[596],"\x61\x6C\x69\x61\x73":_0x4995[597],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x4995[598],"\x61\x6C\x69\x61\x73":_0x4995[599],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x4995[600],"\x61\x6C\x69\x61\x73":_0x4995[601],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x4995[602],"\x61\x6C\x69\x61\x73":_0x4995[603],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x4995[604],"\x61\x6C\x69\x61\x73":_0x4995[553],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x4995[605],"\x61\x6C\x69\x61\x73":_0x4995[552],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x4995[606],"\x61\x6C\x69\x61\x73":_0x4995[607],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x4995[608],"\x61\x6C\x69\x61\x73":_0x4995[609],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x4995[610],"\x61\x6C\x69\x61\x73":_0x4995[611],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x4995[612],"\x61\x6C\x69\x61\x73":_0x4995[613],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x4995[614],"\x61\x6C\x69\x61\x73":_0x4995[615],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x4995[99],"\x61\x6C\x69\x61\x73":_0x4995[551],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0x4995[596],"\x61\x6C\x69\x61\x73":_0x4995[597],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":6},{"\x66\x69\x65\x6C\x64":_0x4995[610],"\x61\x6C\x69\x61\x73":_0x4995[589],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":6},{"\x66\x69\x65\x6C\x64":_0x4995[616],"\x61\x6C\x69\x61\x73":_0x4995[617],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":6},{"\x66\x69\x65\x6C\x64":_0x4995[605],"\x61\x6C\x69\x61\x73":_0x4995[618],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":6},{"\x66\x69\x65\x6C\x64":_0x4995[608],"\x61\x6C\x69\x61\x73":_0x4995[619],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":6},{"\x66\x69\x65\x6C\x64":_0x4995[605],"\x61\x6C\x69\x61\x73":_0x4995[592],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":6},{"\x66\x69\x65\x6C\x64":_0x4995[608],"\x61\x6C\x69\x61\x73":_0x4995[620],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":6},{"\x66\x69\x65\x6C\x64":_0x4995[532],"\x61\x6C\x69\x61\x73":_0x4995[151],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":7},{"\x66\x69\x65\x6C\x64":_0x4995[610],"\x61\x6C\x69\x61\x73":_0x4995[589],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":7},{"\x66\x69\x65\x6C\x64":_0x4995[605],"\x61\x6C\x69\x61\x73":_0x4995[621],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":7},{"\x66\x69\x65\x6C\x64":_0x4995[605],"\x61\x6C\x69\x61\x73":_0x4995[622],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":7},{"\x66\x69\x65\x6C\x64":_0x4995[604],"\x61\x6C\x69\x61\x73":_0x4995[623],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":7},{"\x66\x69\x65\x6C\x64":_0x4995[604],"\x61\x6C\x69\x61\x73":_0x4995[624],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":7},{"\x66\x69\x65\x6C\x64":_0x4995[608],"\x61\x6C\x69\x61\x73":_0x4995[625],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":7},{"\x66\x69\x65\x6C\x64":_0x4995[608],"\x61\x6C\x69\x61\x73":_0x4995[626],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":7},{"\x66\x69\x65\x6C\x64":_0x4995[532],"\x61\x6C\x69\x61\x73":_0x4995[151],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":8},{"\x66\x69\x65\x6C\x64":_0x4995[610],"\x61\x6C\x69\x61\x73":_0x4995[627],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":8},{"\x66\x69\x65\x6C\x64":_0x4995[478],"\x61\x6C\x69\x61\x73":_0x4995[628],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":8},{"\x66\x69\x65\x6C\x64":_0x4995[481],"\x61\x6C\x69\x61\x73":_0x4995[480],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":8},{"\x66\x69\x65\x6C\x64":_0x4995[484],"\x61\x6C\x69\x61\x73":_0x4995[483],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":8},{"\x66\x69\x65\x6C\x64":_0x4995[487],"\x61\x6C\x69\x61\x73":_0x4995[486],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":8},{"\x66\x69\x65\x6C\x64":_0x4995[612],"\x61\x6C\x69\x61\x73":_0x4995[629],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":9},{"\x66\x69\x65\x6C\x64":_0x4995[526],"\x61\x6C\x69\x61\x73":_0x4995[231],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[588],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":9},{"\x66\x69\x65\x6C\x64":_0x4995[526],"\x61\x6C\x69\x61\x73":_0x4995[527],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0x4995[528],"\x61\x6C\x69\x61\x73":_0x4995[529],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0x4995[532],"\x61\x6C\x69\x61\x73":_0x4995[151],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0x4995[533],"\x61\x6C\x69\x61\x73":_0x4995[534],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0x4995[535],"\x61\x6C\x69\x61\x73":_0x4995[536],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0x4995[537],"\x61\x6C\x69\x61\x73":_0x4995[538],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0x4995[539],"\x61\x6C\x69\x61\x73":_0x4995[540],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0x4995[471],"\x61\x6C\x69\x61\x73":_0x4995[630],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0x4995[545],"\x61\x6C\x69\x61\x73":_0x4995[546],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0x4995[547],"\x61\x6C\x69\x61\x73":_0x4995[548],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0x4995[549],"\x61\x6C\x69\x61\x73":_0x4995[550],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0x4995[490],"\x61\x6C\x69\x61\x73":_0x4995[631],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0x4995[632],"\x61\x6C\x69\x61\x73":_0x4995[633],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0x4995[99],"\x61\x6C\x69\x61\x73":_0x4995[551],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0x4995[532],"\x61\x6C\x69\x61\x73":_0x4995[151],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":11},{"\x66\x69\x65\x6C\x64":_0x4995[537],"\x61\x6C\x69\x61\x73":_0x4995[591],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":11},{"\x66\x69\x65\x6C\x64":_0x4995[471],"\x61\x6C\x69\x61\x73":_0x4995[594],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":11},{"\x66\x69\x65\x6C\x64":_0x4995[471],"\x61\x6C\x69\x61\x73":_0x4995[634],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":11},{"\x66\x69\x65\x6C\x64":_0x4995[545],"\x61\x6C\x69\x61\x73":_0x4995[635],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":11},{"\x66\x69\x65\x6C\x64":_0x4995[490],"\x61\x6C\x69\x61\x73":_0x4995[636],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":11},{"\x66\x69\x65\x6C\x64":_0x4995[490],"\x61\x6C\x69\x61\x73":_0x4995[637],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":11},{"\x66\x69\x65\x6C\x64":_0x4995[549],"\x61\x6C\x69\x61\x73":_0x4995[629],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":12},{"\x66\x69\x65\x6C\x64":_0x4995[545],"\x61\x6C\x69\x61\x73":_0x4995[231],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":12},{"\x66\x69\x65\x6C\x64":_0x4995[490],"\x61\x6C\x69\x61\x73":_0x4995[638],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":12},{"\x66\x69\x65\x6C\x64":_0x4995[532],"\x61\x6C\x69\x61\x73":_0x4995[151],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":13},{"\x66\x69\x65\x6C\x64":_0x4995[537],"\x61\x6C\x69\x61\x73":_0x4995[639],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":13},{"\x66\x69\x65\x6C\x64":_0x4995[473],"\x61\x6C\x69\x61\x73":_0x4995[640],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":13},{"\x66\x69\x65\x6C\x64":_0x4995[492],"\x61\x6C\x69\x61\x73":_0x4995[491],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":13},{"\x66\x69\x65\x6C\x64":_0x4995[495],"\x61\x6C\x69\x61\x73":_0x4995[494],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":13},{"\x66\x69\x65\x6C\x64":_0x4995[498],"\x61\x6C\x69\x61\x73":_0x4995[641],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":13},{"\x66\x69\x65\x6C\x64":_0x4995[501],"\x61\x6C\x69\x61\x73":_0x4995[642],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":14},{"\x66\x69\x65\x6C\x64":_0x4995[526],"\x61\x6C\x69\x61\x73":_0x4995[587],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[588],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":14},{"\x66\x69\x65\x6C\x64":_0x4995[541],"\x61\x6C\x69\x61\x73":_0x4995[589],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":14},{"\x66\x69\x65\x6C\x64":_0x4995[537],"\x61\x6C\x69\x61\x73":_0x4995[591],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":14},{"\x66\x69\x65\x6C\x64":_0x4995[545],"\x61\x6C\x69\x61\x73":_0x4995[319],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":14},{"\x66\x69\x65\x6C\x64":_0x4995[469],"\x61\x6C\x69\x61\x73":_0x4995[592],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":14},{"\x66\x69\x65\x6C\x64":_0x4995[471],"\x61\x6C\x69\x61\x73":_0x4995[594],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":14},{"\x66\x69\x65\x6C\x64":_0x4995[476],"\x61\x6C\x69\x61\x73":_0x4995[595],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":14},{"\x66\x69\x65\x6C\x64":_0x4995[504],"\x61\x6C\x69\x61\x73":_0x4995[643],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":15},{"\x66\x69\x65\x6C\x64":_0x4995[526],"\x61\x6C\x69\x61\x73":_0x4995[587],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[588],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":15},{"\x66\x69\x65\x6C\x64":_0x4995[541],"\x61\x6C\x69\x61\x73":_0x4995[589],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":15},{"\x66\x69\x65\x6C\x64":_0x4995[537],"\x61\x6C\x69\x61\x73":_0x4995[591],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":15},{"\x66\x69\x65\x6C\x64":_0x4995[545],"\x61\x6C\x69\x61\x73":_0x4995[319],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":15},{"\x66\x69\x65\x6C\x64":_0x4995[469],"\x61\x6C\x69\x61\x73":_0x4995[592],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":15},{"\x66\x69\x65\x6C\x64":_0x4995[471],"\x61\x6C\x69\x61\x73":_0x4995[594],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":15},{"\x66\x69\x65\x6C\x64":_0x4995[476],"\x61\x6C\x69\x61\x73":_0x4995[595],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":15},{"\x66\x69\x65\x6C\x64":_0x4995[507],"\x61\x6C\x69\x61\x73":_0x4995[644],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":16},{"\x66\x69\x65\x6C\x64":_0x4995[526],"\x61\x6C\x69\x61\x73":_0x4995[587],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[588],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":16},{"\x66\x69\x65\x6C\x64":_0x4995[541],"\x61\x6C\x69\x61\x73":_0x4995[589],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":16},{"\x66\x69\x65\x6C\x64":_0x4995[537],"\x61\x6C\x69\x61\x73":_0x4995[591],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":16},{"\x66\x69\x65\x6C\x64":_0x4995[545],"\x61\x6C\x69\x61\x73":_0x4995[319],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":16},{"\x66\x69\x65\x6C\x64":_0x4995[469],"\x61\x6C\x69\x61\x73":_0x4995[592],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":16},{"\x66\x69\x65\x6C\x64":_0x4995[471],"\x61\x6C\x69\x61\x73":_0x4995[594],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":16},{"\x66\x69\x65\x6C\x64":_0x4995[476],"\x61\x6C\x69\x61\x73":_0x4995[595],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":16},{"\x66\x69\x65\x6C\x64":_0x4995[556],"\x61\x6C\x69\x61\x73":_0x4995[557],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":17},{"\x66\x69\x65\x6C\x64":_0x4995[526],"\x61\x6C\x69\x61\x73":_0x4995[231],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[588],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":17},{"\x66\x69\x65\x6C\x64":_0x4995[577],"\x61\x6C\x69\x61\x73":_0x4995[645],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":17},{"\x66\x69\x65\x6C\x64":_0x4995[577],"\x61\x6C\x69\x61\x73":_0x4995[342],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":17},{"\x66\x69\x65\x6C\x64":_0x4995[579],"\x61\x6C\x69\x61\x73":_0x4995[580],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":18},{"\x66\x69\x65\x6C\x64":_0x4995[526],"\x61\x6C\x69\x61\x73":_0x4995[231],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[588],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":18},{"\x66\x69\x65\x6C\x64":_0x4995[577],"\x61\x6C\x69\x61\x73":_0x4995[645],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":18},{"\x66\x69\x65\x6C\x64":_0x4995[577],"\x61\x6C\x69\x61\x73":_0x4995[342],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":18},{"\x66\x69\x65\x6C\x64":_0x4995[596],"\x61\x6C\x69\x61\x73":_0x4995[597],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":_0x4995[646],"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":19},{"\x66\x69\x65\x6C\x64":_0x4995[647],"\x61\x6C\x69\x61\x73":_0x4995[648],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":_0x4995[646],"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":19},{"\x66\x69\x65\x6C\x64":_0x4995[513],"\x61\x6C\x69\x61\x73":_0x4995[578],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":19},{"\x66\x69\x65\x6C\x64":_0x4995[596],"\x61\x6C\x69\x61\x73":_0x4995[597],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":_0x4995[646],"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":20},{"\x66\x69\x65\x6C\x64":_0x4995[513],"\x61\x6C\x69\x61\x73":_0x4995[578],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":20},{"\x66\x69\x65\x6C\x64":_0x4995[526],"\x61\x6C\x69\x61\x73":_0x4995[527],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x4995[649],"\x61\x6C\x69\x61\x73":_0x4995[650],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x4995[651],"\x61\x6C\x69\x61\x73":_0x4995[652],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22},{"\x66\x69\x65\x6C\x64":_0x4995[653],"\x61\x6C\x69\x61\x73":_0x4995[654],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x4995[596],"\x61\x6C\x69\x61\x73":_0x4995[655],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x4995[656],"\x61\x6C\x69\x61\x73":_0x4995[657],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x4995[658],"\x61\x6C\x69\x61\x73":_0x4995[659],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x4995[660],"\x61\x6C\x69\x61\x73":_0x4995[661],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x4995[662],"\x61\x6C\x69\x61\x73":_0x4995[544],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x4995[663],"\x61\x6C\x69\x61\x73":_0x4995[542],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x4995[664],"\x61\x6C\x69\x61\x73":_0x4995[665],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x4995[666],"\x61\x6C\x69\x61\x73":_0x4995[667],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x4995[668],"\x61\x6C\x69\x61\x73":_0x4995[669],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x4995[596],"\x61\x6C\x69\x61\x73":_0x4995[597],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":23,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x4995[663],"\x61\x6C\x69\x61\x73":_0x4995[670],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":23,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x4995[519],"\x61\x6C\x69\x61\x73":_0x4995[671],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x63\x72\x65\x61\x74\x65\x64\x41\x74":_0x4995[672],"\x75\x70\x64\x61\x74\x65\x64\x41\x74":_0x4995[672],"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":23,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x4995[522],"\x61\x6C\x69\x61\x73":_0x4995[673],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":23,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x4995[516],"\x61\x6C\x69\x61\x73":_0x4995[674],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":23,"\x66\x6F\x72\x6D\x61\x74":_0x4995[675]},{"\x66\x69\x65\x6C\x64":_0x4995[516],"\x61\x6C\x69\x61\x73":_0x4995[676],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":23,"\x66\x6F\x72\x6D\x61\x74":_0x4995[675]},{"\x66\x69\x65\x6C\x64":_0x4995[649],"\x61\x6C\x69\x61\x73":_0x4995[677],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":21,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x4995[526],"\x61\x6C\x69\x61\x73":_0x4995[678],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[588],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":21,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x4995[663],"\x61\x6C\x69\x61\x73":_0x4995[589],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":21,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x4995[666],"\x61\x6C\x69\x61\x73":_0x4995[591],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":21,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x4995[668],"\x61\x6C\x69\x61\x73":_0x4995[319],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":21,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0x4995[516],"\x61\x6C\x69\x61\x73":_0x4995[517],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":21,"\x66\x6F\x72\x6D\x61\x74":_0x4995[675]},{"\x66\x69\x65\x6C\x64":_0x4995[516],"\x61\x6C\x69\x61\x73":_0x4995[676],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0x4995[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":21,"\x66\x6F\x72\x6D\x61\x74":_0x4995[675]}],{ignoreDuplicates:true,individualHooks:true})})[_0x4995[7]](function(){console[_0x4995[13]](_0x4995[525])})[_0x4995[415]](function(_0xb4f6x1d){console[_0x4995[13]](_0x4995[524],_0xb4f6x1d)});models[_0x4995[146]][_0x4995[19]]([{context:_0x4995[94],exten:_0x4995[688],priority:1,app:_0x4995[102],appdata:_0x4995[689],type:_0x4995[690]},{context:_0x4995[94],exten:_0x4995[688],priority:2,app:_0x4995[102],appdata:_0x4995[691],type:_0x4995[690]},{context:_0x4995[94],exten:_0x4995[688],priority:3,app:_0x4995[692],appdata:_0x4995[134],type:_0x4995[690]},{context:_0x4995[94],exten:_0x4995[688],priority:4,app:_0x4995[693],appdata:_0x4995[106],type:_0x4995[690]},{context:_0x4995[94],exten:_0x4995[688],priority:5,app:_0x4995[107],appdata:_0x4995[694],type:_0x4995[690]},{context:_0x4995[94],exten:_0x4995[688],priority:6,app:_0x4995[107],appdata:_0x4995[695],type:_0x4995[690]},{context:_0x4995[94],exten:_0x4995[688],priority:7,app:_0x4995[107],appdata:_0x4995[696],type:_0x4995[690]},{context:_0x4995[94],exten:_0x4995[688],priority:8,app:_0x4995[107],appdata:_0x4995[697],type:_0x4995[690]},{context:_0x4995[94],exten:_0x4995[688],priority:9,app:_0x4995[107],appdata:_0x4995[698],type:_0x4995[690]},{context:_0x4995[94],exten:_0x4995[688],priority:10,app:_0x4995[107],appdata:_0x4995[699],type:_0x4995[690]},{context:_0x4995[94],exten:_0x4995[688],priority:11,app:_0x4995[107],appdata:_0x4995[700],type:_0x4995[690]},{context:_0x4995[94],exten:_0x4995[688],priority:12,app:_0x4995[107],appdata:_0x4995[701],type:_0x4995[690]},{context:_0x4995[94],exten:_0x4995[688],priority:13,app:_0x4995[702],appdata:_0x4995[703],type:_0x4995[690]},{context:_0x4995[94],exten:_0x4995[688],priority:14,app:_0x4995[704],appdata:_0x4995[134],type:_0x4995[690]}],{ignoreDuplicates:true,individualHooks:true})[_0x4995[7]](function(){console[_0x4995[13]](_0x4995[687])}) \ No newline at end of file +var _0xd72b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x69\x64","\x61\x64\x64\x55\x73\x65\x72\x73","\x74\x68\x65\x6E","\x50\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x4D\x61\x69\x6C\x20\x51\x75\x65\x75\x65\x73\x3A\x20\x25\x73\x20\x2D\x20\x44\x4F\x4E\x45\x20","\x6A\x6F\x69\x6E","\x6E\x61\x6D\x65","\x6D\x61\x70","\x66\x6F\x72\x6D\x61\x74","\x6C\x6F\x67","\x61\x64\x64\x55\x73\x65\x72","\x53\x61\x6C\x65\x73","\x72\x72\x6D\x65\x6D\x6F\x72\x79","\x53\x75\x70\x70\x6F\x72\x74","\x62\x65\x65\x70\x61\x6C\x6C","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x50\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x56\x6F\x69\x63\x65\x20\x51\x75\x65\x75\x65\x73\x3A\x20\x25\x73\x20\x2D\x20\x44\x4F\x4E\x45\x20","\x6A\x61\x6E\x65\x2E\x6D\x69\x6C\x6C\x65\x72","\x66\x69\x6E\x64","\x6A\x6F\x68\x6E\x2E\x64\x6F\x65","\x55\x73\x65\x72\x73","\x50\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x41\x67\x65\x6E\x74\x73\x3A\x20\x25\x73\x20\x2D\x20\x44\x4F\x4E\x45\x20","\x50\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x54\x65\x61\x6D\x73\x3A\x20\x25\x73\x20\x2D\x20\x44\x4F\x4E\x45\x20","\x64\x65\x66\x61\x75\x6C\x74","\x72\x69\x6E\x67\x61\x6C\x6C","\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x50\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x55\x73\x65\x72\x73\x3A\x20\x25\x73\x20\x2D\x20\x44\x4F\x4E\x45\x20","\x44\x65\x66\x61\x75\x6C\x74\x20\x54\x65\x61\x6D","\x61\x67\x65\x6E\x74","\x4A\x6F\x68\x6E\x20\x44\x6F\x65","\x6A\x6F\x68\x6E\x2E\x64\x6F\x65\x40\x67\x6D\x61\x69\x6C\x2E\x63\x6F\x6D","\x73\x68\x75\x74\x74\x6C\x65\x35\x35","\x4A\x61\x6E\x65\x20\x4D\x69\x6C\x6C\x65\x72","\x6A\x61\x6E\x65\x2E\x6D\x69\x6C\x6C\x65\x72\x40\x67\x6D\x61\x69\x6C\x2E\x63\x6F\x6D","\x55\x73\x65\x72","\x63\x72\x65\x61\x74\x65","\x54\x65\x61\x6D","\x61\x64\x6D\x69\x6E","\x41\x64\x6D\x69\x6E\x69\x73\x74\x72\x61\x74\x6F\x72","\x61\x64\x6D\x69\x6E\x40\x61\x64\x6D\x69\x6E\x2E\x63\x6F\x6D","\x70\x61\x73\x73\x77\x6F\x72\x64","\x50\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x43\x68\x61\x6E\x53\x70\x79\x3A\x20\x25\x73\x20\x2D\x20\x44\x4F\x4E\x45\x20","\x43\x68\x61\x6E\x53\x70\x79\x31","\x73\x70\x79\x31","\x54\x68\x65\x20\x73\x75\x70\x65\x72\x76\x69\x73\x6F\x72\x20\x63\x61\x6E\x20\x6C\x69\x73\x74\x65\x6E\x20\x61\x6E\x64\x20\x74\x61\x6C\x6B\x20\x74\x6F\x20\x74\x68\x65\x20\x61\x67\x65\x6E\x74\x2E\x20\x54\x68\x65\x20\x63\x75\x73\x74\x6F\x6D\x65\x72\x20\x77\x69\x6C\x6C\x20\x6E\x6F\x74\x20\x6C\x69\x73\x74\x65\x6E\x20\x74\x6F\x20\x74\x68\x65\x20\x73\x75\x70\x65\x72\x76\x69\x73\x6F\x72\x20\x76\x6F\x69\x63\x65\x2E","\x62\x77","\x43\x68\x61\x6E\x53\x70\x79\x32","\x73\x70\x79\x32","\x54\x68\x65\x20\x73\x75\x70\x65\x72\x76\x69\x73\x6F\x72\x20\x63\x61\x6E\x20\x6F\x6E\x6C\x79\x20\x6C\x69\x73\x74\x65\x6E\x20\x74\x68\x65\x20\x61\x67\x65\x6E\x74\x20\x63\x68\x61\x6E\x6E\x65\x6C\x20\x28\x6E\x65\x69\x74\x68\x65\x72\x20\x74\x68\x65\x20\x61\x67\x65\x6E\x74\x20\x6E\x6F\x72\x20\x74\x68\x65\x20\x63\x75\x73\x74\x6F\x6D\x65\x72\x20\x77\x69\x6C\x6C\x20\x6C\x69\x73\x74\x65\x6E\x20\x74\x6F\x20\x74\x68\x65\x20\x73\x75\x70\x65\x72\x76\x69\x73\x6F\x72\x20\x76\x6F\x69\x63\x65\x2E","\x62\x6F","\x43\x68\x61\x6E\x53\x70\x79\x33","\x73\x70\x79\x33","\x54\x68\x65\x20\x73\x75\x70\x65\x72\x76\x69\x73\x6F\x72\x20\x63\x61\x6E\x20\x6C\x69\x73\x74\x65\x6E\x20\x61\x6E\x64\x20\x74\x61\x6C\x6B\x20\x62\x6F\x74\x68\x20\x74\x6F\x20\x74\x68\x65\x20\x61\x67\x65\x6E\x74\x20\x61\x6E\x64\x20\x74\x6F\x20\x74\x68\x65\x20\x63\x75\x73\x74\x6F\x6D\x65\x72\x2C\x20\x6C\x69\x6B\x65\x20\x61\x20\x70\x75\x72\x65\x20\x33\x20\x77\x61\x79\x20\x63\x6F\x6E\x66\x65\x72\x65\x6E\x63\x65\x20\x72\x6F\x6F\x6D\x2E","\x62\x57","\x43\x68\x61\x6E\x53\x70\x79","\x50\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x43\x4D\x20\x4C\x69\x73\x74\x3A\x20\x25\x73\x20\x2D\x20\x44\x4F\x4E\x45\x20","\x53\x79\x73\x74\x65\x6D\x20\x4C\x69\x73\x74","\x44\x65\x66\x61\x75\x6C\x74\x20\x4C\x69\x73\x74","\x4C\x69\x73\x74","\x50\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x56\x6F\x69\x63\x65\x20\x4D\x75\x73\x69\x63\x20\x4F\x6E\x20\x48\x6F\x6C\x64\x3A\x20\x25\x73\x20\x2D\x20\x44\x4F\x4E\x45\x20","\x2F\x76\x61\x72\x2F\x6C\x69\x62\x2F\x61\x73\x74\x65\x72\x69\x73\x6B\x2F\x6D\x6F\x68\x2F","\x66\x69\x6C\x65\x73","\x72\x61\x6E\x64\x6F\x6D","\x77\x61\x76","\x56\x6F\x69\x63\x65\x4D\x75\x73\x69\x63\x4F\x6E\x48\x6F\x6C\x64","\x50\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x56\x61\x72\x69\x61\x62\x6C\x65\x73\x3A\x20\x25\x73\x20\x2D\x20\x44\x4F\x4E\x45\x20","\x43\x48\x4F\x49\x43\x45","\x4F\x72\x64\x65\x72\x20\x6E\x75\x6D\x62\x65\x72","\x4F\x52\x44\x45\x52\x4E\x55\x4D","\x44\x61\x74\x61\x20\x42\x61\x73\x65\x20\x51\x75\x65\x72\x79\x20\x52\x65\x73\x75\x6C\x74","\x44\x42\x52\x45\x53\x55\x4C\x54","\x52\x41\x54\x45","\x56\x61\x72\x69\x61\x62\x6C\x65","\x50\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x50\x61\x75\x73\x65\x73\x3A\x20\x25\x73\x20\x2D\x20\x44\x4F\x4E\x45\x20","\x42\x41\x43\x4B\x4F\x46\x46\x49\x43\x45","\x41\x46\x54\x45\x52\x43\x41\x4C\x4C","\x50\x61\x75\x73\x65","\x50\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x54\x72\x75\x6E\x6B\x3A\x20\x25\x73\x20\x2D\x20\x44\x4F\x4E\x45\x20","\x44\x65\x6D\x6F\x54\x72\x75\x6E\x6B","\x66\x72\x6F\x6D\x2D\x76\x6F\x69\x70\x2D\x70\x72\x6F\x76\x69\x64\x65\x72","\x41\x4C\x4C\x4F\x57\x45\x44\x5F\x4E\x4F\x54\x5F\x53\x43\x52\x45\x45\x4E\x45\x44","\x30\x2E\x30\x2E\x30\x2E\x30\x2F\x30\x2E\x30\x2E\x30\x2E\x30","\x35\x35\x78\x63\x61\x6C\x6C\x79\x35\x35","\x54\x72\x75\x6E\x6B","\x50\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x43\x6F\x6E\x74\x65\x78\x74\x73\x3A\x20\x25\x73\x20\x2D\x20\x44\x4F\x4E\x45\x20","\x66\x72\x6F\x6D\x2D\x73\x69\x70","\x44\x65\x66\x61\x75\x6C\x74\x20\x63\x6F\x6E\x74\x65\x78\x74\x20\x28\x44\x4F\x20\x4E\x4F\x54\x20\x44\x45\x4C\x45\x54\x45\x29","\x69\x6E\x62\x6F\x75\x6E\x64\x2D\x66\x61\x78","\x6F\x75\x74\x62\x6F\x75\x6E\x64\x2D\x66\x61\x78","\x66\x72\x6F\x6D\x2D\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C","\x56\x6F\x69\x63\x65\x43\x6F\x6E\x74\x65\x78\x74","\x50\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x56\x6F\x69\x63\x65\x20\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x3A\x20\x25\x73\x20\x25\x73\x20\x2D\x20\x44\x4F\x4E\x45\x20","\x63\x6F\x6E\x74\x65\x78\x74","\x65\x78\x74\x65\x6E","\x5F\x36\x30\x30","\x31","\x4E\x6F\x4F\x70","\x49\x6E\x74\x65\x72\x6E\x61\x6C\x20\x43\x61\x6C\x6C","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x45\x63\x68\x6F\x20\x54\x65\x73\x74","\x32","\x53\x65\x74","\x43\x44\x52\x28\x74\x79\x70\x65\x29\x3D\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x33","\x47\x6F\x74\x6F\x49\x66\x54\x69\x6D\x65","\x2A\x2C\x2A\x2C\x2A\x2C\x2A\x3F\x66\x72\x6F\x6D\x2D\x73\x69\x70\x2C\x24\x7B\x45\x58\x54\x45\x4E\x7D\x2C\x34\x3A\x66\x72\x6F\x6D\x2D\x73\x69\x70\x2C\x24\x7B\x45\x58\x54\x45\x4E\x7D\x2C\x39","\x34","\x4E\x6F\x4F\x50","\x53\x6B\x69\x70\x70\x65\x64\x20\x43\x61\x6C\x6C\x65\x72\x49\x44\x20\x53\x65\x74","\x35","\x53\x6B\x69\x70\x70\x65\x64\x20\x4D\x69\x78\x4D\x6F\x6E\x69\x74\x6F\x72","\x36","\x53\x6B\x69\x70\x70\x65\x64\x20\x50\x72\x6F\x67\x72\x65\x73\x73","\x37","\x50\x6C\x61\x79\x62\x61\x63\x6B","\x64\x65\x6D\x6F\x2D\x65\x63\x68\x6F\x74\x65\x73\x74","\x2A\x2C\x2A\x2C\x2A\x2C\x2A","\x38","\x53\x6B\x69\x70\x70\x65\x64\x20\x53\x74\x6F\x70\x4D\x69\x78\x4D\x6F\x6E\x69\x74\x6F\x72","\x39","\x50\x6C\x61\x79\x62\x61\x63\x6B\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x31\x30","\x2A\x2C\x2A\x2C\x2A\x2C\x2A\x3F\x66\x72\x6F\x6D\x2D\x73\x69\x70\x2C\x24\x7B\x45\x58\x54\x45\x4E\x7D\x2C\x31\x31\x3A\x66\x72\x6F\x6D\x2D\x73\x69\x70\x2C\x24\x7B\x45\x58\x54\x45\x4E\x7D\x2C\x31\x36","\x31\x31","\x31\x32","\x31\x33","\x31\x34","\x45\x63\x68\x6F","","\x31\x35","\x31\x36","\x45\x63\x68\x6F\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x31\x37","\x2A\x2C\x2A\x2C\x2A\x2C\x2A\x3F\x66\x72\x6F\x6D\x2D\x73\x69\x70\x2C\x24\x7B\x45\x58\x54\x45\x4E\x7D\x2C\x31\x38\x3A\x66\x72\x6F\x6D\x2D\x73\x69\x70\x2C\x24\x7B\x45\x58\x54\x45\x4E\x7D\x2C\x32\x33","\x31\x38","\x31\x39","\x32\x30","\x32\x31","\x32\x32","\x32\x33","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x5F\x36\x30\x30\x30","\x53\x75\x70\x70\x6F\x72\x74\x20\x51\x75\x65\x75\x65","\x50\x72\x6F\x67\x72\x65\x73\x73","\x51\x75\x65\x75\x65","\x53\x75\x70\x70\x6F\x72\x74\x2C\x2C\x2C\x2C","\x51\x75\x65\x75\x65\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x5F\x36\x36\x36\x36","\x41\x47\x49","\x61\x67\x69\x3A\x2F\x2F\x31\x32\x37\x2E\x30\x2E\x30\x2E\x31\x2F\x73\x71\x75\x61\x72\x65\x2C\x41\x75\x74\x6F\x20\x41\x74\x74\x65\x6E\x64\x61\x6E\x74","\x41\x47\x49\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x5F\x36\x36\x36\x37","\x61\x67\x69\x3A\x2F\x2F\x31\x32\x37\x2E\x30\x2E\x30\x2E\x31\x2F\x73\x71\x75\x61\x72\x65\x2C\x4F\x72\x64\x65\x72\x73","\x5F\x36\x36\x36\x38","\x61\x67\x69\x3A\x2F\x2F\x31\x32\x37\x2E\x30\x2E\x30\x2E\x31\x2F\x73\x71\x75\x61\x72\x65\x2C\x43\x53\x49","\x5F\x58\x2E","\x4F\x75\x74\x62\x6F\x75\x6E\x64\x20\x43\x61\x6C\x6C","\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x43\x44\x52\x28\x74\x79\x70\x65\x29\x3D\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x43\x44\x52\x28\x74\x61\x67\x29\x3D\x2D\x2D","\x2A\x2C\x2A\x2C\x2A\x2C\x2A\x3F\x66\x72\x6F\x6D\x2D\x73\x69\x70\x2C\x24\x7B\x45\x58\x54\x45\x4E\x7D\x2C\x35\x3A\x66\x72\x6F\x6D\x2D\x73\x69\x70\x2C\x24\x7B\x45\x58\x54\x45\x4E\x7D\x2C\x31\x30","\x44\x69\x61\x6C","\x53\x49\x50\x2F\x44\x65\x6D\x6F\x20\x54\x72\x75\x6E\x6B\x2F\x24\x7B\x45\x58\x54\x45\x4E\x3A\x30\x7D","\x44\x69\x61\x6C\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x5F\x36\x30\x30\x31","\x53\x61\x6C\x65\x73\x20\x51\x75\x65\x75\x65","\x53\x61\x6C\x65\x73\x2C\x2C\x2C\x2C","\x50\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x53\x71\x75\x61\x72\x65\x20\x50\x72\x6F\x6A\x65\x63\x74\x3A\x20\x25\x73\x20\x2D\x20\x44\x4F\x4E\x45\x20","\x41\x75\x74\x6F\x20\x41\x74\x74\x65\x6E\x64\x61\x6E\x74","\x49\x56\x52\x20\x53\x41\x4D\x50\x4C\x45\x20\x31","\x3C\x6D\x78\x47\x72\x61\x70\x68\x4D\x6F\x64\x65\x6C\x20\x67\x72\x69\x64\x3D\x22\x31\x22\x20\x67\x75\x69\x64\x65\x73\x3D\x22\x31\x22\x20\x74\x6F\x6F\x6C\x74\x69\x70\x73\x3D\x22\x31\x22\x20\x63\x6F\x6E\x6E\x65\x63\x74\x3D\x22\x31\x22\x20\x66\x6F\x6C\x64\x3D\x22\x31\x22\x20\x70\x61\x67\x65\x3D\x22\x30\x22\x20\x70\x61\x67\x65\x53\x63\x61\x6C\x65\x3D\x22\x31\x22\x20\x70\x61\x67\x65\x57\x69\x64\x74\x68\x3D\x22\x38\x32\x36\x22\x20\x70\x61\x67\x65\x48\x65\x69\x67\x68\x74\x3D\x22\x31\x31\x36\x39\x22\x3E\x0A\x20\x20\x3C\x72\x6F\x6F\x74\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x30\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x31\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x30\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x73\x74\x61\x72\x74\x20\x6C\x61\x62\x65\x6C\x3D\x22\x53\x74\x61\x72\x74\x22\x20\x69\x64\x3D\x22\x32\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x65\x6E\x74\x72\x79\x2F\x73\x74\x61\x72\x74\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x32\x30\x22\x20\x79\x3D\x22\x31\x34\x39\x2E\x39\x39\x39\x39\x39\x39\x39\x39\x39\x39\x39\x39\x39\x37\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x73\x74\x61\x72\x74\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x65\x6E\x75\x20\x6C\x61\x62\x65\x6C\x3D\x22\x4D\x65\x6E\x75\x22\x20\x66\x69\x6C\x65\x5F\x69\x64\x3D\x22\x31\x22\x20\x72\x65\x73\x70\x6F\x6E\x73\x65\x3D\x22\x35\x22\x20\x64\x69\x67\x69\x74\x3D\x22\x31\x22\x20\x72\x65\x74\x72\x79\x3D\x22\x32\x22\x20\x76\x61\x72\x69\x61\x62\x6C\x65\x5F\x69\x64\x3D\x22\x31\x22\x20\x69\x64\x3D\x22\x33\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x70\x6C\x61\x79\x62\x61\x63\x6B\x2F\x6D\x65\x6E\x75\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x31\x33\x30\x22\x20\x79\x3D\x22\x31\x35\x30\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x65\x6E\x75\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x34\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x32\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x33\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x71\x75\x65\x75\x65\x20\x6C\x61\x62\x65\x6C\x3D\x22\x51\x75\x65\x75\x65\x20\x53\x61\x6C\x65\x73\x22\x20\x71\x75\x65\x75\x65\x5F\x69\x64\x3D\x22\x31\x22\x20\x6F\x70\x74\x73\x3D\x22\x22\x20\x75\x72\x6C\x3D\x22\x22\x20\x66\x69\x6C\x65\x5F\x69\x64\x3D\x22\x30\x22\x20\x74\x69\x6D\x65\x6F\x75\x74\x3D\x22\x33\x30\x30\x22\x20\x61\x67\x69\x3D\x22\x22\x20\x6D\x61\x63\x72\x6F\x3D\x22\x22\x20\x67\x6F\x73\x75\x62\x3D\x22\x22\x20\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3D\x22\x22\x20\x69\x64\x3D\x22\x35\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x63\x61\x6C\x6C\x5F\x6D\x61\x6E\x61\x67\x65\x6D\x65\x6E\x74\x2F\x71\x75\x65\x75\x65\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x34\x37\x30\x22\x20\x79\x3D\x22\x39\x2E\x39\x39\x39\x39\x39\x39\x39\x39\x39\x39\x39\x39\x39\x39\x33\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x71\x75\x65\x75\x65\x3E\x0A\x20\x20\x20\x20\x3C\x71\x75\x65\x75\x65\x20\x6C\x61\x62\x65\x6C\x3D\x22\x51\x75\x65\x75\x65\x20\x53\x75\x70\x70\x6F\x72\x74\x22\x20\x71\x75\x65\x75\x65\x5F\x69\x64\x3D\x22\x32\x22\x20\x6F\x70\x74\x73\x3D\x22\x22\x20\x75\x72\x6C\x3D\x22\x22\x20\x66\x69\x6C\x65\x5F\x69\x64\x3D\x22\x30\x22\x20\x74\x69\x6D\x65\x6F\x75\x74\x3D\x22\x33\x30\x30\x22\x20\x61\x67\x69\x3D\x22\x22\x20\x6D\x61\x63\x72\x6F\x3D\x22\x22\x20\x67\x6F\x73\x75\x62\x3D\x22\x22\x20\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3D\x22\x22\x20\x69\x64\x3D\x22\x36\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x63\x61\x6C\x6C\x5F\x6D\x61\x6E\x61\x67\x65\x6D\x65\x6E\x74\x2F\x71\x75\x65\x75\x65\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x35\x34\x30\x22\x20\x79\x3D\x22\x31\x34\x39\x2E\x39\x39\x39\x39\x39\x39\x39\x39\x39\x39\x39\x39\x39\x37\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x71\x75\x65\x75\x65\x3E\x0A\x20\x20\x20\x20\x3C\x64\x69\x61\x6C\x20\x6C\x61\x62\x65\x6C\x3D\x22\x49\x6E\x74\x65\x72\x6E\x61\x6C\x20\x44\x69\x61\x6C\x20\x4A\x6F\x68\x6E\x20\x44\x6F\x65\x22\x20\x73\x69\x70\x5F\x69\x64\x3D\x22\x31\x22\x20\x74\x69\x6D\x65\x6F\x75\x74\x3D\x22\x36\x30\x22\x20\x6F\x70\x74\x73\x3D\x22\x22\x20\x75\x72\x6C\x3D\x22\x22\x20\x69\x64\x3D\x22\x37\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x63\x61\x6C\x6C\x5F\x6D\x61\x6E\x61\x67\x65\x6D\x65\x6E\x74\x2F\x64\x69\x61\x6C\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x34\x37\x30\x22\x20\x79\x3D\x22\x33\x31\x30\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x64\x69\x61\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x38\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x31\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x33\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x35\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x39\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x32\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x33\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x36\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x6E\x6F\x6F\x70\x20\x6C\x61\x62\x65\x6C\x3D\x22\x4E\x6F\x4F\x70\x20\x63\x68\x6F\x69\x63\x65\x20\x76\x69\x65\x77\x22\x20\x6F\x75\x74\x70\x75\x74\x3D\x22\x43\x68\x6F\x69\x63\x65\x3A\x20\x7B\x43\x48\x4F\x49\x43\x45\x7D\x22\x20\x69\x64\x3D\x22\x31\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x67\x65\x6E\x65\x72\x61\x6C\x2F\x6E\x6F\x6F\x70\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x33\x30\x30\x22\x20\x79\x3D\x22\x33\x31\x30\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6E\x6F\x6F\x70\x3E\x0A\x20\x20\x20\x20\x3C\x65\x6E\x64\x20\x6C\x61\x62\x65\x6C\x3D\x22\x45\x6E\x64\x22\x20\x69\x64\x3D\x22\x31\x35\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x65\x6E\x74\x72\x79\x2F\x65\x6E\x64\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x37\x32\x30\x22\x20\x79\x3D\x22\x31\x35\x30\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x65\x6E\x64\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x31\x36\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x33\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x33\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x31\x31\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x31\x37\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x35\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x31\x35\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x31\x38\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x36\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x31\x35\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x31\x39\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x37\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x31\x35\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x32\x30\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x31\x31\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x37\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x3C\x2F\x72\x6F\x6F\x74\x3E\x0A\x3C\x2F\x6D\x78\x47\x72\x61\x70\x68\x4D\x6F\x64\x65\x6C\x3E\x0A","\x43\x53\x49","\x43\x75\x73\x74\x6F\x6D\x65\x72\x20\x53\x61\x74\x69\x73\x66\x61\x63\x74\x69\x6F\x6E\x20\x49\x6E\x64\x65\x78\x20\x65\x78\x61\x6D\x70\x6C\x65","\x3C\x6D\x78\x47\x72\x61\x70\x68\x4D\x6F\x64\x65\x6C\x20\x67\x72\x69\x64\x3D\x22\x31\x22\x20\x67\x75\x69\x64\x65\x73\x3D\x22\x31\x22\x20\x74\x6F\x6F\x6C\x74\x69\x70\x73\x3D\x22\x31\x22\x20\x63\x6F\x6E\x6E\x65\x63\x74\x3D\x22\x31\x22\x20\x66\x6F\x6C\x64\x3D\x22\x31\x22\x20\x70\x61\x67\x65\x3D\x22\x30\x22\x20\x70\x61\x67\x65\x53\x63\x61\x6C\x65\x3D\x22\x31\x22\x20\x70\x61\x67\x65\x57\x69\x64\x74\x68\x3D\x22\x38\x32\x36\x22\x20\x70\x61\x67\x65\x48\x65\x69\x67\x68\x74\x3D\x22\x31\x31\x36\x39\x22\x3E\x0A\x20\x20\x3C\x72\x6F\x6F\x74\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x30\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x31\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x30\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x73\x74\x61\x72\x74\x20\x6C\x61\x62\x65\x6C\x3D\x22\x53\x74\x61\x72\x74\x22\x20\x69\x64\x3D\x22\x32\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x65\x6E\x74\x72\x79\x2F\x73\x74\x61\x72\x74\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x39\x30\x22\x20\x79\x3D\x22\x31\x31\x30\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x73\x74\x61\x72\x74\x3E\x0A\x20\x20\x20\x20\x3C\x71\x75\x65\x75\x65\x20\x6C\x61\x62\x65\x6C\x3D\x22\x51\x75\x65\x75\x65\x20\x4F\x50\x54\x49\x4F\x4E\x20\x43\x20\x74\x6F\x20\x63\x6F\x6E\x74\x69\x6E\x75\x65\x22\x20\x71\x75\x65\x75\x65\x5F\x69\x64\x3D\x22\x32\x22\x20\x6F\x70\x74\x73\x3D\x22\x63\x22\x20\x75\x72\x6C\x3D\x22\x22\x20\x66\x69\x6C\x65\x5F\x69\x64\x3D\x22\x30\x22\x20\x74\x69\x6D\x65\x6F\x75\x74\x3D\x22\x31\x30\x22\x20\x61\x67\x69\x3D\x22\x22\x20\x6D\x61\x63\x72\x6F\x3D\x22\x22\x20\x67\x6F\x73\x75\x62\x3D\x22\x22\x20\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3D\x22\x22\x20\x69\x64\x3D\x22\x33\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x63\x61\x6C\x6C\x5F\x6D\x61\x6E\x61\x67\x65\x6D\x65\x6E\x74\x2F\x71\x75\x65\x75\x65\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x32\x36\x30\x22\x20\x79\x3D\x22\x31\x31\x30\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x71\x75\x65\x75\x65\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x34\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x32\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x33\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x73\x75\x62\x70\x72\x6F\x6A\x65\x63\x74\x20\x6C\x61\x62\x65\x6C\x3D\x22\x53\x75\x62\x50\x72\x6F\x6A\x65\x63\x74\x20\x53\x75\x72\x76\x65\x79\x22\x20\x70\x72\x6F\x6A\x65\x63\x74\x5F\x69\x64\x3D\x22\x34\x22\x20\x69\x64\x3D\x22\x35\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x67\x65\x6E\x65\x72\x61\x6C\x2F\x73\x75\x62\x70\x72\x6F\x6A\x65\x63\x74\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x34\x33\x30\x22\x20\x79\x3D\x22\x31\x31\x30\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x73\x75\x62\x70\x72\x6F\x6A\x65\x63\x74\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x36\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x33\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x35\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x65\x6E\x64\x20\x6C\x61\x62\x65\x6C\x3D\x22\x45\x6E\x64\x22\x20\x69\x64\x3D\x22\x37\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x65\x6E\x74\x72\x79\x2F\x65\x6E\x64\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x36\x30\x30\x22\x20\x79\x3D\x22\x31\x31\x30\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x65\x6E\x64\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x38\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x35\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x37\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x3C\x2F\x72\x6F\x6F\x74\x3E\x0A\x3C\x2F\x6D\x78\x47\x72\x61\x70\x68\x4D\x6F\x64\x65\x6C\x3E\x0A","\x4F\x72\x64\x65\x72\x73","\x4F\x72\x64\x65\x72\x20\x44\x42\x20\x49\x56\x52\x20\x53\x61\x6D\x70\x6C\x65","\x3C\x6D\x78\x47\x72\x61\x70\x68\x4D\x6F\x64\x65\x6C\x20\x73\x63\x61\x6C\x65\x3D\x22\x30\x2E\x36\x39\x34\x22\x20\x67\x72\x69\x64\x3D\x22\x31\x22\x20\x67\x75\x69\x64\x65\x73\x3D\x22\x31\x22\x20\x74\x6F\x6F\x6C\x74\x69\x70\x73\x3D\x22\x31\x22\x20\x63\x6F\x6E\x6E\x65\x63\x74\x3D\x22\x31\x22\x20\x66\x6F\x6C\x64\x3D\x22\x31\x22\x20\x70\x61\x67\x65\x3D\x22\x30\x22\x20\x70\x61\x67\x65\x53\x63\x61\x6C\x65\x3D\x22\x31\x22\x20\x70\x61\x67\x65\x57\x69\x64\x74\x68\x3D\x22\x38\x32\x36\x22\x20\x70\x61\x67\x65\x48\x65\x69\x67\x68\x74\x3D\x22\x31\x31\x36\x39\x22\x3E\x0A\x20\x20\x3C\x72\x6F\x6F\x74\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x30\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x31\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x30\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x73\x74\x61\x72\x74\x20\x6C\x61\x62\x65\x6C\x3D\x22\x53\x74\x61\x72\x74\x22\x20\x69\x64\x3D\x22\x32\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x65\x6E\x74\x72\x79\x2F\x73\x74\x61\x72\x74\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x39\x30\x22\x20\x79\x3D\x22\x31\x31\x30\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x73\x74\x61\x72\x74\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x65\x6E\x75\x20\x6C\x61\x62\x65\x6C\x3D\x22\x4D\x65\x6E\x75\x22\x20\x66\x69\x6C\x65\x5F\x69\x64\x3D\x22\x32\x22\x20\x72\x65\x73\x70\x6F\x6E\x73\x65\x3D\x22\x35\x22\x20\x64\x69\x67\x69\x74\x3D\x22\x35\x22\x20\x72\x65\x74\x72\x79\x3D\x22\x31\x22\x20\x76\x61\x72\x69\x61\x62\x6C\x65\x5F\x69\x64\x3D\x22\x32\x22\x20\x69\x64\x3D\x22\x34\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x70\x6C\x61\x79\x62\x61\x63\x6B\x2F\x6D\x65\x6E\x75\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x32\x35\x30\x22\x20\x79\x3D\x22\x31\x31\x30\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x65\x6E\x75\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x35\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x32\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x34\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x6E\x6F\x6F\x70\x20\x6C\x61\x62\x65\x6C\x3D\x22\x4E\x6F\x4F\x70\x20\x44\x65\x62\x75\x67\x20\x4F\x52\x44\x45\x52\x4E\x55\x4D\x22\x20\x6F\x75\x74\x70\x75\x74\x3D\x22\x4F\x52\x44\x45\x52\x20\x4E\x55\x4D\x42\x45\x52\x3A\x20\x7B\x4F\x52\x44\x45\x52\x4E\x55\x4D\x7D\x22\x20\x69\x64\x3D\x22\x36\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x67\x65\x6E\x65\x72\x61\x6C\x2F\x6E\x6F\x6F\x70\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x34\x30\x30\x22\x20\x79\x3D\x22\x31\x30\x39\x2E\x35\x36\x37\x38\x32\x37\x31\x33\x30\x38\x35\x32\x33\x32\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6E\x6F\x6F\x70\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x37\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x2D\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x34\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x36\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x64\x61\x74\x61\x62\x61\x73\x65\x20\x6C\x61\x62\x65\x6C\x3D\x22\x44\x61\x74\x61\x62\x61\x73\x65\x20\x51\x75\x65\x72\x79\x20\x45\x58\x41\x4D\x50\x4C\x45\x22\x20\x64\x61\x74\x61\x62\x61\x73\x65\x5F\x69\x64\x3D\x22\x31\x22\x20\x71\x75\x65\x72\x79\x3D\x22\x53\x45\x4C\x45\x43\x54\x20\x73\x74\x61\x74\x75\x73\x20\x66\x72\x6F\x6D\x20\x6F\x72\x64\x65\x72\x73\x20\x57\x48\x45\x52\x45\x20\x69\x64\x3D\x7B\x4F\x52\x44\x45\x52\x4E\x55\x4D\x7D\x22\x20\x76\x61\x72\x69\x61\x62\x6C\x65\x5F\x69\x64\x3D\x22\x33\x22\x20\x69\x64\x3D\x22\x38\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x5F\x73\x65\x72\x76\x65\x72\x2F\x64\x61\x74\x61\x62\x61\x73\x65\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x35\x36\x30\x22\x20\x79\x3D\x22\x31\x31\x30\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x64\x61\x74\x61\x62\x61\x73\x65\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x39\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x36\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x38\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x67\x6F\x74\x6F\x69\x66\x20\x6C\x61\x62\x65\x6C\x3D\x22\x47\x6F\x74\x6F\x49\x66\x22\x20\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x3D\x22\x7B\x44\x42\x52\x45\x53\x55\x4C\x54\x7D\x20\x3D\x3D\x20\x31\x22\x20\x69\x64\x3D\x22\x31\x30\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x63\x61\x6C\x6C\x66\x6C\x6F\x77\x2F\x67\x6F\x74\x6F\x69\x66\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x37\x33\x30\x22\x20\x79\x3D\x22\x31\x30\x39\x2E\x35\x36\x37\x38\x32\x37\x31\x33\x30\x38\x35\x32\x33\x31\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x67\x6F\x74\x6F\x69\x66\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x31\x31\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x38\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x31\x30\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x70\x6C\x61\x79\x62\x61\x63\x6B\x20\x6C\x61\x62\x65\x6C\x3D\x22\x50\x6C\x61\x79\x62\x61\x63\x6B\x20\x4F\x72\x64\x65\x72\x20\x73\x68\x69\x70\x70\x65\x64\x22\x20\x66\x69\x6C\x65\x5F\x69\x64\x3D\x22\x33\x22\x20\x73\x6B\x69\x70\x3D\x22\x30\x22\x20\x6E\x6F\x61\x6E\x73\x77\x65\x72\x3D\x22\x30\x22\x20\x69\x64\x3D\x22\x31\x32\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x70\x6C\x61\x79\x62\x61\x63\x6B\x2F\x70\x6C\x61\x79\x62\x61\x63\x6B\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x31\x30\x31\x30\x22\x20\x79\x3D\x22\x35\x30\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x70\x6C\x61\x79\x62\x61\x63\x6B\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x31\x33\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x74\x72\x75\x65\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x31\x30\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x31\x32\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x70\x6C\x61\x79\x62\x61\x63\x6B\x20\x6C\x61\x62\x65\x6C\x3D\x22\x50\x6C\x61\x79\x62\x61\x63\x6B\x20\x4F\x72\x64\x65\x72\x20\x6F\x6E\x20\x65\x6C\x61\x62\x6F\x72\x61\x74\x69\x6F\x6E\x22\x20\x66\x69\x6C\x65\x5F\x69\x64\x3D\x22\x34\x22\x20\x73\x6B\x69\x70\x3D\x22\x30\x22\x20\x6E\x6F\x61\x6E\x73\x77\x65\x72\x3D\x22\x30\x22\x20\x69\x64\x3D\x22\x31\x34\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x70\x6C\x61\x79\x62\x61\x63\x6B\x2F\x70\x6C\x61\x79\x62\x61\x63\x6B\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x31\x30\x31\x30\x22\x20\x79\x3D\x22\x31\x38\x39\x2E\x35\x36\x37\x38\x32\x37\x31\x33\x30\x38\x35\x32\x33\x32\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x70\x6C\x61\x79\x62\x61\x63\x6B\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x31\x35\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x66\x61\x6C\x73\x65\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x31\x30\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x31\x34\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x68\x61\x6E\x67\x75\x70\x20\x6C\x61\x62\x65\x6C\x3D\x22\x48\x61\x6E\x67\x75\x70\x22\x20\x69\x64\x3D\x22\x31\x36\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x63\x61\x6C\x6C\x5F\x6D\x61\x6E\x61\x67\x65\x6D\x65\x6E\x74\x2F\x68\x61\x6E\x67\x75\x70\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x31\x31\x38\x30\x22\x20\x79\x3D\x22\x31\x30\x39\x2E\x35\x36\x37\x38\x32\x37\x31\x33\x30\x38\x35\x32\x33\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x68\x61\x6E\x67\x75\x70\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x31\x37\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x31\x32\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x31\x36\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x31\x38\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x31\x34\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x31\x36\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x3C\x2F\x72\x6F\x6F\x74\x3E\x0A\x3C\x2F\x6D\x78\x47\x72\x61\x70\x68\x4D\x6F\x64\x65\x6C\x3E\x0A","\x53\x75\x72\x76\x65\x79","\x53\x75\x72\x76\x65\x79\x20\x49\x56\x52\x20\x65\x78\x61\x6D\x70\x6C\x65","\x3C\x6D\x78\x47\x72\x61\x70\x68\x4D\x6F\x64\x65\x6C\x20\x73\x63\x61\x6C\x65\x3D\x22\x30\x2E\x38\x33\x33\x22\x20\x67\x72\x69\x64\x3D\x22\x31\x22\x20\x67\x75\x69\x64\x65\x73\x3D\x22\x31\x22\x20\x74\x6F\x6F\x6C\x74\x69\x70\x73\x3D\x22\x31\x22\x20\x63\x6F\x6E\x6E\x65\x63\x74\x3D\x22\x31\x22\x20\x66\x6F\x6C\x64\x3D\x22\x31\x22\x20\x70\x61\x67\x65\x3D\x22\x30\x22\x20\x70\x61\x67\x65\x53\x63\x61\x6C\x65\x3D\x22\x31\x22\x20\x70\x61\x67\x65\x57\x69\x64\x74\x68\x3D\x22\x38\x32\x36\x22\x20\x70\x61\x67\x65\x48\x65\x69\x67\x68\x74\x3D\x22\x31\x31\x36\x39\x22\x3E\x0A\x20\x20\x3C\x72\x6F\x6F\x74\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x30\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x31\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x30\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x73\x74\x61\x72\x74\x20\x6C\x61\x62\x65\x6C\x3D\x22\x53\x74\x61\x72\x74\x22\x20\x69\x64\x3D\x22\x32\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x65\x6E\x74\x72\x79\x2F\x73\x74\x61\x72\x74\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x37\x30\x22\x20\x79\x3D\x22\x31\x31\x30\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x73\x74\x61\x72\x74\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x65\x6E\x75\x20\x6C\x61\x62\x65\x6C\x3D\x22\x4D\x65\x6E\x75\x22\x20\x66\x69\x6C\x65\x5F\x69\x64\x3D\x22\x35\x22\x20\x72\x65\x73\x70\x6F\x6E\x73\x65\x3D\x22\x35\x22\x20\x64\x69\x67\x69\x74\x3D\x22\x31\x22\x20\x72\x65\x74\x72\x79\x3D\x22\x31\x22\x20\x76\x61\x72\x69\x61\x62\x6C\x65\x5F\x69\x64\x3D\x22\x34\x22\x20\x69\x64\x3D\x22\x33\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x70\x6C\x61\x79\x62\x61\x63\x6B\x2F\x6D\x65\x6E\x75\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x32\x32\x32\x22\x20\x79\x3D\x22\x31\x31\x30\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x65\x6E\x75\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x34\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x32\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x33\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x6E\x6F\x6F\x70\x20\x6C\x61\x62\x65\x6C\x3D\x22\x4E\x6F\x4F\x70\x22\x20\x6F\x75\x74\x70\x75\x74\x3D\x22\x22\x20\x69\x64\x3D\x22\x35\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x67\x65\x6E\x65\x72\x61\x6C\x2F\x6E\x6F\x6F\x70\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x33\x37\x38\x2E\x39\x39\x39\x39\x39\x39\x39\x39\x39\x39\x39\x39\x39\x34\x22\x20\x79\x3D\x22\x31\x31\x30\x2E\x31\x33\x35\x36\x35\x34\x32\x36\x31\x37\x30\x34\x36\x34\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6E\x6F\x6F\x70\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x36\x22\x20\x76\x61\x6C\x75\x65\x3D\x22\x31\x2C\x32\x2C\x33\x2C\x34\x2C\x35\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x33\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x35\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x64\x61\x74\x61\x62\x61\x73\x65\x20\x6C\x61\x62\x65\x6C\x3D\x22\x44\x61\x74\x61\x62\x61\x73\x65\x22\x20\x64\x61\x74\x61\x62\x61\x73\x65\x5F\x69\x64\x3D\x22\x32\x22\x20\x71\x75\x65\x72\x79\x3D\x22\x49\x4E\x53\x45\x52\x54\x20\x49\x4E\x54\x4F\x20\x73\x75\x72\x76\x65\x79\x20\x28\x61\x67\x65\x6E\x74\x2C\x20\x71\x75\x65\x75\x65\x2C\x20\x72\x65\x73\x75\x6C\x74\x29\x26\x23\x78\x61\x3B\x56\x41\x4C\x55\x45\x53\x20\x28\x7B\x4D\x45\x4D\x42\x45\x52\x49\x4E\x54\x45\x52\x46\x41\x43\x45\x7D\x2C\x20\x7B\x51\x55\x45\x55\x45\x4E\x41\x4D\x45\x7D\x2C\x20\x7B\x52\x41\x54\x45\x7D\x29\x22\x20\x76\x61\x72\x69\x61\x62\x6C\x65\x5F\x69\x64\x3D\x22\x34\x22\x20\x69\x64\x3D\x22\x37\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x5F\x73\x65\x72\x76\x65\x72\x2F\x64\x61\x74\x61\x62\x61\x73\x65\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x36\x37\x30\x22\x20\x79\x3D\x22\x31\x31\x30\x2E\x31\x33\x35\x36\x35\x34\x32\x36\x31\x37\x30\x34\x36\x34\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x64\x61\x74\x61\x62\x61\x73\x65\x3E\x0A\x20\x20\x20\x20\x3C\x68\x61\x6E\x67\x75\x70\x20\x6C\x61\x62\x65\x6C\x3D\x22\x48\x61\x6E\x67\x75\x70\x22\x20\x69\x64\x3D\x22\x31\x30\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x63\x61\x6C\x6C\x5F\x6D\x61\x6E\x61\x67\x65\x6D\x65\x6E\x74\x2F\x68\x61\x6E\x67\x75\x70\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x38\x33\x38\x22\x20\x79\x3D\x22\x31\x31\x30\x2E\x31\x33\x35\x36\x35\x34\x32\x36\x31\x37\x30\x34\x36\x34\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x68\x61\x6E\x67\x75\x70\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x31\x32\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x37\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x31\x30\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x70\x6C\x61\x79\x62\x61\x63\x6B\x20\x6C\x61\x62\x65\x6C\x3D\x22\x50\x6C\x61\x79\x62\x61\x63\x6B\x20\x54\x68\x61\x6E\x6B\x20\x79\x6F\x75\x22\x20\x66\x69\x6C\x65\x5F\x69\x64\x3D\x22\x36\x22\x20\x73\x6B\x69\x70\x3D\x22\x30\x22\x20\x6E\x6F\x61\x6E\x73\x77\x65\x72\x3D\x22\x30\x22\x20\x69\x64\x3D\x22\x31\x33\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x73\x74\x79\x6C\x65\x3D\x22\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73\x2F\x70\x6C\x61\x79\x62\x61\x63\x6B\x2F\x70\x6C\x61\x79\x62\x61\x63\x6B\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x76\x65\x72\x74\x65\x78\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x78\x3D\x22\x35\x32\x30\x22\x20\x79\x3D\x22\x31\x31\x30\x2E\x31\x33\x35\x36\x35\x34\x32\x36\x31\x37\x30\x34\x36\x34\x22\x20\x77\x69\x64\x74\x68\x3D\x22\x38\x30\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x38\x30\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x70\x6C\x61\x79\x62\x61\x63\x6B\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x31\x34\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x35\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x31\x33\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x20\x20\x3C\x6D\x78\x43\x65\x6C\x6C\x20\x69\x64\x3D\x22\x31\x35\x22\x20\x70\x61\x72\x65\x6E\x74\x3D\x22\x31\x22\x20\x73\x6F\x75\x72\x63\x65\x3D\x22\x31\x33\x22\x20\x74\x61\x72\x67\x65\x74\x3D\x22\x37\x22\x20\x65\x64\x67\x65\x3D\x22\x31\x22\x3E\x0A\x20\x20\x20\x20\x20\x20\x3C\x6D\x78\x47\x65\x6F\x6D\x65\x74\x72\x79\x20\x72\x65\x6C\x61\x74\x69\x76\x65\x3D\x22\x31\x22\x20\x61\x73\x3D\x22\x67\x65\x6F\x6D\x65\x74\x72\x79\x22\x2F\x3E\x0A\x20\x20\x20\x20\x3C\x2F\x6D\x78\x43\x65\x6C\x6C\x3E\x0A\x20\x20\x3C\x2F\x72\x6F\x6F\x74\x3E\x0A\x3C\x2F\x6D\x78\x47\x72\x61\x70\x68\x4D\x6F\x64\x65\x6C\x3E\x0A","\x53\x71\x75\x61\x72\x65\x50\x72\x6F\x6A\x65\x63\x74","\x50\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x53\x71\x75\x61\x72\x65\x20\x4F\x44\x42\x43\x3A\x20\x25\x73\x20\x2D\x20\x44\x4F\x4E\x45\x20","\x78\x63\x61\x6C\x6C\x79","\x44\x52\x49\x56\x45\x52\x3D\x4D\x79\x53\x51\x4C\x3B\x53\x45\x52\x56\x45\x52\x3D\x31\x32\x37\x2E\x30\x2E\x30\x2E\x31\x3B\x55\x49\x44\x3D\x78\x63\x61\x6C\x6C\x3B\x50\x57\x44\x3D\x78\x43\x40\x4C\x4C\x31\x32\x33\x34\x3B\x44\x41\x54\x41\x42\x41\x53\x45\x3D\x6D\x6F\x74\x69\x6F\x6E","\x53\x71\x75\x61\x72\x65\x4F\x64\x62\x63","\x50\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x3A\x20\x25\x73\x20\x2D\x20\x44\x4F\x4E\x45\x20","\x5A\x65\x6E\x64\x65\x73\x6B","\x31\x2E\x30\x2E\x30","\x58\x65\x6E\x69\x61\x4C\x41\x42\x20\x73\x2E\x72\x2E\x6C\x2E","\x61\x73\x73\x65\x74\x73\x2F\x69\x6D\x61\x67\x65\x73\x2F\x6D\x65\x64\x69\x61\x2F\x7A\x65\x6E\x64\x65\x73\x6B\x32\x2E\x70\x6E\x67","\x7A\x65\x6E\x64\x65\x73\x6B","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E\x20\x66\x6F\x72\x20\x5A\x65\x6E\x64\x65\x73\x6B","\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65","\x61\x73\x73\x65\x74\x73\x2F\x69\x6D\x61\x67\x65\x73\x2F\x6D\x65\x64\x69\x61\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x32\x2E\x70\x6E\x67","\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65","\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E\x20\x66\x6F\x72\x20\x53\x61\x6C\x65\x73\x66\x6F\x72\x63\x65","\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x50\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x43\x6F\x6D\x70\x61\x6E\x69\x65\x73\x3A\x20\x25\x73\x20\x2D\x20\x44\x4F\x4E\x45\x20","\x41\x63\x6D\x65","\x6C\x74\x64","\x41\x63\x6D\x65\x20\x53\x72\x65\x65\x74","\x58\x65\x6E\x69\x61\x6C\x61\x62","\x73\x72\x6C","\x43\x2E\x73\x6F\x20\x56\x69\x74\x74\x6F\x72\x69\x6F\x20\x45\x6D\x61\x6E\x75\x65\x6C\x65\x20\x49\x49\x2C\x20\x31\x31\x31","\x31\x30\x31\x32\x38","\x49\x74\x61\x6C\x79","\x54\x75\x72\x69\x6E","\x30\x39\x36\x36\x38\x39\x31\x30\x30\x31\x32","\x68\x74\x74\x70\x3A\x2F\x2F\x77\x77\x77\x2E\x78\x65\x6E\x69\x61\x6C\x61\x62\x2E\x63\x6F\x6D\x2F","\x2B\x33\x39\x20\x30\x31\x31\x2E\x31\x39\x38\x38\x36\x35\x30\x30","\x2B\x33\x39\x20\x30\x31\x31\x2E\x30\x39\x36\x30\x30\x37\x30","\x69\x6E\x66\x6F\x40\x78\x63\x61\x6C\x6C\x79\x2E\x63\x6F\x6D","\x43\x6F\x6D\x70\x61\x6E\x79","\x50\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x44\x61\x73\x68\x62\x6F\x61\x72\x64\x73\x3A\x20\x25\x73\x20\x2D\x20\x44\x4F\x4E\x45\x20","\x49\x6E\x62\x6F\x75\x6E\x64\x20\x43\x61\x6C\x6C\x73","\x56\x6F\x69\x63\x65\x20\x49\x6E\x62\x6F\x75\x6E\x64","\x63\x6F\x6C\x2D\x6D\x64\x2D\x33","\x63\x6F\x75\x6E\x74\x65\x72","\x62\x6C\x75\x65\x2D\x6D\x61\x64\x69\x73\x6F\x6E","\x66\x61\x2D\x63\x6F\x6D\x6D\x65\x6E\x74\x73","\x23","\x56\x49\x45\x57\x20\x4D\x4F\x52\x45","\x41\x67\x65\x6E\x74\x73","\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74","\x43\x61\x6C\x6C\x73","\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C","\x44\x69\x61\x6C\x73","\x72\x65\x70\x6F\x72\x74\x5F\x64\x69\x61\x6C","\x51\x75\x65\x75\x65\x73","\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65","\x75\x73\x65\x72\x73","\x43\x68\x61\x74\x20\x53\x65\x73\x73\x69\x6F\x6E\x73","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x73\x65\x73\x73\x69\x6F\x6E","\x4D\x61\x69\x6C\x20\x53\x65\x73\x73\x69\x6F\x6E\x73","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x73\x65\x73\x73\x69\x6F\x6E","\x42\x6C\x75\x65","\x52\x65\x64","\x72\x65\x64\x2D\x69\x6E\x74\x65\x6E\x73\x65","\x47\x72\x65\x65\x6E","\x67\x72\x65\x65\x6E\x2D\x68\x61\x7A\x65","\x50\x75\x72\x70\x6C\x65","\x70\x75\x72\x70\x6C\x65\x2D\x70\x6C\x75\x6D","\x4F\x72\x61\x6E\x67\x65","\x79\x65\x6C\x6C\x6F\x77\x2D\x63\x61\x73\x61\x62\x6C\x61\x6E\x63\x61","\x59\x65\x6C\x6C\x6F\x77","\x79\x65\x6C\x6C\x6F\x77\x2D\x63\x72\x75\x73\x74\x61","\x54\x61\x6C\x6B\x20\x62\x75\x62\x62\x6C\x65\x73","\x42\x61\x72\x20\x43\x68\x61\x72\x74","\x66\x61\x2D\x62\x61\x72\x2D\x63\x68\x61\x72\x74","\x53\x68\x6F\x70\x70\x69\x6E\x67\x20\x43\x61\x72\x74","\x66\x61\x2D\x73\x68\x6F\x70\x70\x69\x6E\x67\x2D\x63\x61\x72\x74","\x47\x6C\x6F\x62\x65","\x66\x61\x2D\x67\x6C\x6F\x62\x65","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x3D\x30\x20\x41\x4E\x44\x20\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x3D\x30\x20\x41\x4E\x44\x20\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x65\x78\x69\x74\x3D\x30\x20\x41\x4E\x44\x20\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65\x41\x74\x20\x69\x73\x20\x6E\x6F\x74\x20\x6E\x75\x6C\x6C","\x41\x63\x74\x69\x76\x65\x20\x43\x61\x6C\x6C\x73","\x43\x4F\x55\x4E\x54\x28\x2A\x29","\x43\x41\x4C\x4C\x53","\x2E\x2E\x2F\x73\x72\x63\x2F\x74\x65\x6D\x70\x6C\x61\x74\x65\x73\x2F\x77\x69\x64\x67\x65\x74\x2D\x74\x69\x74\x6C\x65\x2E\x68\x74\x6D\x6C","\x31\x34\x35\x34\x37\x37\x32\x35\x33\x32\x33\x34\x36\x2D\x31\x30","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x3D\x31","\x54\x6F\x74\x61\x6C\x20\x41\x6E\x73\x77\x65\x72\x65\x64","\x31\x34\x35\x36\x38\x34\x31\x30\x33\x31\x31\x31\x31\x2D\x38","\x52\x4F\x55\x4E\x44\x28\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x29\x20\x2F\x20\x28\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x29\x2B\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x29\x29\x20\x2A\x31\x30\x30\x2C\x31\x29","\x41\x6E\x73\x77\x65\x72\x20\x52\x61\x74\x65\x28\x25\x29","\x31\x34\x35\x37\x32\x37\x30\x31\x32\x34\x38\x30\x32\x2D\x34","\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x52\x4F\x55\x4E\x44\x28\x41\x56\x47\x28\x74\x61\x6C\x6B\x74\x69\x6D\x65\x29\x2C\x30\x29\x29","\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65\x3D\x31","\x41\x76\x67\x20\x54\x61\x6C\x6B\x20\x54\x69\x6D\x65","\x31\x34\x35\x37\x32\x37\x30\x32\x31\x34\x37\x36\x36\x2D\x35","\x52\x4F\x55\x4E\x44\x28\x53\x55\x4D\x28\x43\x41\x53\x45\x20\x57\x48\x45\x4E\x20\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x3D\x31\x20\x41\x4E\x44\x20\x28\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29\x20\x3C\x20\x31\x30\x29\x20\x54\x48\x45\x4E\x20\x31\x20\x45\x4C\x53\x45\x20\x30\x20\x45\x4E\x44\x29\x2F\x28\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x29\x20\x2B\x20\x53\x55\x4D\x28\x43\x41\x53\x45\x20\x57\x48\x45\x4E\x20\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x3D\x31\x20\x41\x4E\x44\x20\x28\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29\x20\x3E\x20\x31\x30\x29\x20\x54\x48\x45\x4E\x20\x31\x20\x45\x4C\x53\x45\x20\x30\x20\x45\x4E\x44\x29\x29\x20\x2A\x31\x30\x30\x2C\x31\x29","\x53\x65\x72\x76\x69\x63\x65\x20\x4C\x65\x76\x65\x6C\x20\x31\x30\x20\x28\x25\x29","\x53\x45\x52\x56\x49\x43\x45\x20\x4C\x45\x56\x45\x4C","\x31\x34\x35\x37\x33\x36\x36\x39\x36\x35\x37\x39\x34\x2D\x33","\x31\x34\x35\x36\x38\x34\x31\x31\x39\x31\x36\x36\x31\x2D\x32\x31","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65\x41\x74\x20\x49\x53\x20\x4E\x55\x4C\x4C","\x57\x61\x69\x74\x69\x6E\x67\x20\x43\x61\x6C\x6C\x73","\x31\x34\x35\x36\x38\x33\x39\x38\x37\x30\x34\x34\x39\x2D\x35","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x3D\x31","\x54\x6F\x74\x61\x6C\x20\x41\x62\x61\x6E\x64\x6F\x6E\x65\x64","\x31\x34\x35\x36\x38\x34\x31\x32\x34\x34\x39\x33\x31\x2D\x32\x37","\x52\x4F\x55\x4E\x44\x28\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x29\x20\x2F\x20\x28\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x29\x2B\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x29\x29\x20\x2A\x31\x30\x30\x2C\x31\x29","\x41\x62\x61\x6E\x64\x6F\x6E\x20\x52\x61\x74\x65\x20\x28\x25\x29","\x31\x34\x35\x37\x32\x36\x39\x30\x33\x33\x39\x32\x33\x2D\x33","\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x52\x4F\x55\x4E\x44\x28\x41\x56\x47\x28\x68\x6F\x6C\x64\x74\x69\x6D\x65\x29\x2C\x30\x29\x29","\x41\x76\x67\x20\x41\x6E\x73\x77\x65\x72\x20\x54\x69\x6D\x65","\x31\x34\x35\x37\x32\x37\x30\x32\x33\x30\x33\x32\x34\x2D\x38","\x52\x4F\x55\x4E\x44\x28\x53\x55\x4D\x28\x43\x41\x53\x45\x20\x57\x48\x45\x4E\x20\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x3D\x31\x20\x41\x4E\x44\x20\x28\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29\x20\x3C\x20\x31\x35\x29\x20\x54\x48\x45\x4E\x20\x31\x20\x45\x4C\x53\x45\x20\x30\x20\x45\x4E\x44\x29\x2F\x28\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x29\x20\x2B\x20\x53\x55\x4D\x28\x43\x41\x53\x45\x20\x57\x48\x45\x4E\x20\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x3D\x31\x20\x41\x4E\x44\x20\x28\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29\x20\x3E\x20\x31\x35\x29\x20\x54\x48\x45\x4E\x20\x31\x20\x45\x4C\x53\x45\x20\x30\x20\x45\x4E\x44\x29\x29\x20\x2A\x31\x30\x30\x2C\x31\x29","\x53\x65\x72\x76\x69\x63\x65\x20\x4C\x65\x76\x65\x6C\x20\x31\x35\x20\x28\x25\x29","\x53\x45\x52\x56\x49\x43\x45\x20\x4C\x45\x56\x45\x4C\x20\x31\x35","\x31\x34\x35\x37\x39\x35\x32\x37\x33\x34\x35\x39\x30\x2D\x31","\x31\x34\x35\x36\x38\x34\x31\x31\x39\x31\x36\x36\x32\x2D\x32\x32","\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x4D\x41\x58\x28\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65\x41\x74\x29\x29\x29","\x4C\x6F\x6E\x67\x65\x73\x74\x20\x41\x63\x74\x69\x76\x65\x20\x43\x61\x6C\x6C","\x31\x34\x35\x37\x32\x37\x35\x32\x35\x38\x34\x39\x34\x2D\x31\x31","\x43\x4F\x55\x4E\x54\x28\x64\x69\x73\x74\x69\x6E\x63\x74\x20\x75\x6E\x69\x71\x75\x65\x69\x64\x29","\x54\x6F\x74\x61\x6C\x20\x4F\x66\x66\x65\x72\x65\x64","\x31\x34\x35\x37\x32\x36\x39\x30\x31\x30\x36\x31\x36\x2D\x31","\x52\x4F\x55\x4E\x44\x28\x43\x4F\x55\x4E\x54\x28\x44\x49\x53\x54\x49\x4E\x43\x54\x20\x75\x6E\x69\x71\x75\x65\x69\x64\x29\x2F\x48\x4F\x55\x52\x28\x43\x55\x52\x52\x45\x4E\x54\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x29\x29\x2C\x31\x29","\x41\x76\x67\x20\x4F\x66\x66\x65\x72\x65\x64\x20\x50\x65\x72\x20\x48\x6F\x75\x72","\x31\x34\x35\x37\x32\x37\x35\x32\x36\x33\x30\x32\x32\x2D\x31\x32","\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x52\x4F\x55\x4E\x44\x28\x41\x56\x47\x28\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x41\x74\x29\x2D\x20\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x4A\x6F\x69\x6E\x41\x74\x29\x29\x2C\x30\x29\x29","\x41\x76\x67\x20\x41\x62\x61\x6E\x64\x6F\x6E\x20\x54\x69\x6D\x65","\x31\x34\x35\x37\x32\x37\x30\x32\x32\x33\x38\x37\x30\x2D\x37","\x52\x4F\x55\x4E\x44\x28\x53\x55\x4D\x28\x43\x41\x53\x45\x20\x57\x48\x45\x4E\x20\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x3D\x31\x20\x41\x4E\x44\x20\x28\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29\x20\x3C\x20\x32\x30\x29\x20\x54\x48\x45\x4E\x20\x31\x20\x45\x4C\x53\x45\x20\x30\x20\x45\x4E\x44\x29\x2F\x28\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x29\x20\x2B\x20\x53\x55\x4D\x28\x43\x41\x53\x45\x20\x57\x48\x45\x4E\x20\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x3D\x31\x20\x41\x4E\x44\x20\x28\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29\x20\x3E\x20\x32\x30\x29\x20\x54\x48\x45\x4E\x20\x31\x20\x45\x4C\x53\x45\x20\x30\x20\x45\x4E\x44\x29\x29\x20\x2A\x31\x30\x30\x2C\x31\x29","\x53\x65\x72\x76\x69\x63\x65\x20\x4C\x65\x76\x65\x6C\x20\x32\x30\x20\x28\x25\x29","\x53\x45\x52\x56\x49\x43\x45\x20\x4C\x45\x56\x45\x4C\x20\x32\x30","\x31\x34\x35\x37\x39\x35\x32\x37\x35\x31\x36\x30\x35\x2D\x32","\x31\x34\x35\x36\x38\x34\x31\x31\x39\x31\x36\x36\x33\x2D\x32\x33","\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x4D\x41\x58\x28\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29\x29\x29","\x4F\x6C\x64\x65\x73\x74\x20\x57\x61\x69\x74\x69\x6E\x67\x20\x43\x61\x6C\x6C","\x31\x34\x35\x37\x32\x37\x35\x32\x35\x34\x30\x36\x31\x2D\x31\x30","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x65\x78\x69\x74\x3D\x31","\x55\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x31\x34\x35\x37\x32\x36\x39\x30\x32\x32\x30\x36\x32\x2D\x32","\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x52\x4F\x55\x4E\x44\x28\x41\x56\x47\x28\x61\x63\x77\x74\x69\x6D\x65\x29\x2C\x30\x29\x29","\x41\x76\x67\x20\x41\x43\x57\x20\x54\x69\x6D\x65","\x31\x34\x35\x37\x32\x37\x30\x32\x31\x39\x33\x35\x35\x2D\x36","\x31\x34\x35\x36\x38\x34\x31\x31\x39\x31\x36\x36\x34\x2D\x32\x34","\x2E\x2E\x2F\x73\x72\x63\x2F\x74\x65\x6D\x70\x6C\x61\x74\x65\x73\x2F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x2D\x74\x69\x74\x6C\x65\x2E\x68\x74\x6D\x6C","\x33\x2D\x33\x2D\x33\x2D\x33","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x4F\x75\x74\x62\x6F\x75\x6E\x64\x20\x43\x61\x6C\x6C\x73","\x74\x79\x70\x65\x3D\x22\x6F\x75\x74\x62\x6F\x75\x6E\x64\x22","\x4D\x61\x6E\x75\x61\x6C\x20\x4F\x75\x74\x62\x6F\x75\x6E\x64","\x31\x34\x35\x37\x32\x37\x36\x34\x35\x38\x34\x32\x34\x2D\x31\x34","\x74\x79\x70\x65\x3D\x22\x6F\x75\x74\x62\x6F\x75\x6E\x64\x22\x20\x41\x4E\x44\x20\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3D\x22\x41\x4E\x53\x57\x45\x52\x45\x44\x22","\x41\x6E\x73\x77\x65\x72\x65\x64","\x31\x34\x35\x37\x37\x31\x38\x35\x37\x39\x35\x32\x32\x2D\x32","\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x53\x55\x4D\x28\x64\x75\x72\x61\x74\x69\x6F\x6E\x29\x29","\x47\x6C\x6F\x62\x61\x6C\x20\x44\x75\x72\x61\x74\x69\x6F\x6E","\x31\x34\x35\x37\x32\x37\x36\x34\x35\x33\x34\x36\x35\x2D\x31\x33","\x52\x4F\x55\x4E\x44\x28\x53\x55\x4D\x28\x49\x46\x28\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3D\x22\x41\x4E\x53\x57\x45\x52\x45\x44\x22\x2C\x31\x2C\x30\x29\x29\x2F\x43\x4F\x55\x4E\x54\x28\x2A\x29\x2A\x31\x30\x30\x2C\x31\x29","\x41\x6E\x73\x77\x65\x72\x20\x52\x61\x74\x65\x20\x28\x25\x29","\x31\x34\x35\x37\x37\x31\x38\x35\x39\x31\x32\x34\x33\x2D\x33","\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x52\x4F\x55\x4E\x44\x28\x41\x56\x47\x28\x64\x75\x72\x61\x74\x69\x6F\x6E\x29\x2C\x30\x29\x29","\x41\x76\x67\x20\x44\x75\x72\x61\x74\x69\x6F\x6E","\x31\x34\x35\x37\x37\x31\x38\x34\x38\x32\x33\x39\x36\x2D\x31","\x41\x67\x65\x6E\x74\x73\x20\x53\x74\x61\x74\x75\x73","\x6F\x6E\x6C\x69\x6E\x65\x3D\x31\x20\x41\x4E\x44\x20\x72\x6F\x6C\x65\x3D\x22\x61\x67\x65\x6E\x74\x22","\x4C\x6F\x67\x67\x65\x64","\x41\x47\x45\x4E\x54\x53","\x31\x34\x35\x37\x32\x37\x35\x32\x34\x38\x35\x32\x31\x2D\x39","\x6F\x6E\x6C\x69\x6E\x65\x3D\x31\x20\x41\x4E\x44\x20\x72\x6F\x6C\x65\x3D\x22\x61\x67\x65\x6E\x74\x22\x20\x41\x4E\x44\x20\x28\x76\x6F\x69\x63\x65\x50\x61\x75\x73\x65\x3D\x31\x20\x4F\x52\x20\x63\x68\x61\x74\x50\x61\x75\x73\x65\x3D\x31\x20\x4F\x52\x20\x6D\x61\x69\x6C\x50\x61\x75\x73\x65\x3D\x31\x20\x4F\x52\x20\x66\x61\x78\x50\x41\x75\x73\x65\x3D\x31\x29\x20\x61\x6E\x64\x20\x70\x61\x75\x73\x65\x54\x79\x70\x65\x20\x21\x3D\x22\x41\x43\x57\x22","\x50\x61\x75\x73\x65\x64","\x31\x34\x35\x37\x32\x37\x36\x34\x36\x32\x38\x34\x36\x2D\x31\x35","\x76\x6F\x69\x63\x65\x50\x61\x75\x73\x65\x3D\x31\x20\x61\x6E\x64\x20\x70\x61\x75\x73\x65\x54\x79\x70\x65\x3D\x22\x41\x43\x57\x22","\x41\x43\x57","\x31\x34\x35\x37\x33\x36\x30\x34\x36\x34\x32\x30\x38\x2D\x31","\x44\x61\x73\x68\x62\x6F\x61\x72\x64","\x50\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x53\x65\x74\x74\x69\x6E\x67\x73\x20\x2D\x20\x44\x4F\x4E\x45\x20","\x2F\x76\x61\x72\x2F\x6F\x70\x74\x2F\x6D\x6F\x74\x69\x6F\x6E\x2F\x73\x65\x72\x76\x65\x72\x2F\x66\x69\x6C\x65\x73\x2F\x73\x6F\x75\x6E\x64\x73\x2F\x63\x6F\x6E\x76\x65\x72\x74\x65\x64","\x53\x65\x74\x74\x69\x6E\x67\x73","\x64\x61\x73\x68\x62\x6F\x61\x72\x64","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x44\x41\x53\x48\x42\x4F\x41\x52\x44","\x2F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x2F\x76\x6F\x69\x63\x65","\x79\x6F\x75\x72\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x73","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x59\x4F\x55\x52\x5F\x44\x41\x53\x48\x42\x4F\x41\x52\x44\x53","\x2F\x74\x6F\x6F\x6C\x73\x2F\x79\x6F\x75\x72\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x73\x2F\x73\x68\x6F\x77\x2F\x31","\x73\x74\x61\x66\x66","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x53\x54\x41\x46\x46","\x2F\x73\x74\x61\x66\x66\x2F\x61\x67\x65\x6E\x74\x73\x2F\x6C\x69\x73\x74","\x61\x67\x65\x6E\x74\x73","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x41\x47\x45\x4E\x54\x53","\x63\x6F\x6E\x74\x61\x63\x74\x6D\x61\x6E\x61\x67\x65\x72","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x43\x4F\x4E\x54\x41\x43\x54\x5F\x4D\x41\x4E\x41\x47\x45\x52","\x2F\x63\x6F\x6E\x74\x61\x63\x74\x6D\x61\x6E\x61\x67\x65\x72\x2F\x63\x6F\x6E\x74\x61\x63\x74\x73\x2F\x6C\x69\x73\x74","\x63\x68\x61\x6E\x6E\x65\x6C\x73","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x43\x48\x41\x4E\x4E\x45\x4C\x53","\x76\x6F\x69\x63\x65","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x56\x4F\x49\x43\x45","\x2F\x63\x68\x61\x6E\x6E\x65\x6C\x73\x2F\x76\x6F\x69\x63\x65\x2F\x71\x75\x65\x75\x65\x73\x2F\x6C\x69\x73\x74","\x63\x68\x61\x74","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x43\x48\x41\x54","\x2F\x63\x68\x61\x6E\x6E\x65\x6C\x73\x2F\x63\x68\x61\x74\x2F\x77\x65\x62\x73\x69\x74\x65\x73\x2F\x6C\x69\x73\x74","\x6D\x61\x69\x6C","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x4D\x41\x49\x4C","\x2F\x63\x68\x61\x6E\x6E\x65\x6C\x73\x2F\x6D\x61\x69\x6C\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73\x2F\x6C\x69\x73\x74","\x66\x61\x78","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x46\x41\x58","\x2F\x63\x68\x61\x6E\x6E\x65\x6C\x73\x2F\x66\x61\x78\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73\x2F\x6C\x69\x73\x74","\x73\x6D\x73","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x53\x4D\x53","\x2F\x63\x68\x61\x6E\x6E\x65\x6C\x73\x2F\x73\x6D\x73\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73\x2F\x6C\x69\x73\x74","\x72\x65\x61\x6C\x74\x69\x6D\x65","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x52\x45\x41\x4C\x54\x49\x4D\x45","\x2F\x63\x68\x61\x6E\x6E\x65\x6C\x73\x2F\x72\x65\x61\x6C\x74\x69\x6D\x65\x2F\x76\x69\x65\x77\x2F\x61\x67\x65\x6E\x74\x73","\x74\x6F\x6F\x6C\x73","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x54\x4F\x4F\x4C\x53","\x2F\x74\x6F\x6F\x6C\x73\x2F\x74\x72\x69\x67\x67\x65\x72\x73\x2F\x6C\x69\x73\x74","\x73\x71\x75\x61\x72\x65","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x43\x41\x4C\x4C\x59\x53\x51\x55\x41\x52\x45","\x2F\x73\x71\x75\x61\x72\x65\x2F\x70\x72\x6F\x6A\x65\x63\x74\x73\x2F\x6C\x69\x73\x74","\x6A\x73\x63\x72\x69\x70\x74\x79","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x4A\x53\x43\x52\x49\x50\x54\x59","\x2F\x6A\x73\x63\x72\x69\x70\x74\x79\x2F\x70\x72\x6F\x6A\x65\x63\x74\x73\x2F\x6C\x69\x73\x74","\x6D\x6F\x74\x69\x6F\x6E\x64\x69\x61\x6C\x65\x72","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x4D\x4F\x54\x49\x4F\x4E\x5F\x44\x49\x41\x4C\x45\x52","\x2F\x6D\x6F\x74\x69\x6F\x6E\x64\x69\x61\x6C\x65\x72\x2F\x6C\x69\x73\x74\x73\x2F\x6C\x69\x73\x74","\x61\x6E\x61\x6C\x79\x74\x69\x63\x73","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x41\x4E\x41\x4C\x59\x54\x49\x43\x53","\x2F\x61\x6E\x61\x6C\x79\x74\x69\x63\x73\x2F\x72\x65\x70\x6F\x72\x74\x73\x2F\x6C\x69\x73\x74","\x73\x65\x74\x74\x69\x6E\x67","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x53\x45\x54\x54\x49\x4E\x47\x53","\x2F\x73\x65\x74\x74\x69\x6E\x67\x2F\x75\x70\x64\x61\x74\x65\x73\x2F\x6C\x69\x73\x74","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x41\x50\x50\x4C\x49\x43\x41\x54\x49\x4F\x4E\x5F\x49\x4E\x54\x45\x47\x52\x41\x54\x49\x4F\x4E","\x2F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x73\x2F\x6C\x69\x73\x74","\x45\x72\x72\x6F\x72\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x6D\x6F\x64\x75\x6C\x65\x73\x3A","\x63\x61\x74\x63\x68","\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x6D\x6F\x64\x75\x6C\x65\x73","\x61\x6C\x6C","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x75\x70\x64\x61\x74\x65","\x4D\x6F\x64\x75\x6C\x65","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x66\x69\x6E\x64\x41\x6C\x6C","\x51\x75\x65\x75\x65\x20\x2D\x20\x44\x65\x74\x61\x69\x6C\x73","\x6A\x34\x5F\x33","\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x5F\x68\x69\x73\x74\x6F\x72\x79","\x7B\x22\x67\x72\x6F\x75\x70\x22\x3A\x7B\x22\x6F\x70\x65\x72\x61\x74\x6F\x72\x22\x3A\x22\x41\x4E\x44\x22\x2C\x22\x72\x75\x6C\x65\x73\x22\x3A\x5B\x5D\x7D\x7D","\x44\x65\x74\x61\x69\x6C\x73","\x43\x61\x6C\x6C\x73\x20\x64\x65\x74\x61\x69\x6C\x73\x20\x28\x63\x64\x72\x29","\x6A\x32\x30\x5F\x31","\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x5F\x68\x69\x73\x74\x6F\x72\x79","\x4F\x75\x74\x62\x6F\x75\x6E\x64","\x4D\x61\x6E\x75\x61\x6C\x20\x6F\x75\x74\x62\x6F\x75\x6E\x64\x20\x63\x61\x6C\x6C\x73\x20\x64\x65\x74\x61\x69\x6C","\x7B\x22\x67\x72\x6F\x75\x70\x22\x3A\x7B\x22\x6F\x70\x65\x72\x61\x74\x6F\x72\x22\x3A\x22\x41\x4E\x44\x22\x2C\x22\x72\x75\x6C\x65\x73\x22\x3A\x5B\x7B\x22\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x22\x3A\x22\x3D\x22\x2C\x22\x66\x69\x65\x6C\x64\x22\x3A\x22\x74\x79\x70\x65\x22\x2C\x22\x76\x61\x6C\x75\x65\x22\x3A\x22\x6F\x75\x74\x62\x6F\x75\x6E\x64\x22\x7D\x5D\x7D\x7D","\x43\x61\x6C\x6C\x73\x20\x62\x79\x20\x51\x75\x65\x75\x65","\x6A\x34\x5F\x37","\x6A\x34\x5F\x35","\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x5F\x68\x69\x73\x74\x6F\x72\x79","\x7B\x22\x67\x72\x6F\x75\x70\x22\x3A\x7B\x22\x6F\x70\x65\x72\x61\x74\x6F\x72\x22\x3A\x22\x41\x4E\x44\x22\x2C\x22\x72\x75\x6C\x65\x73\x22\x3A\x5B\x7B\x22\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x22\x3A\x22\x3D\x22\x2C\x22\x66\x69\x65\x6C\x64\x22\x3A\x22\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65\x22\x2C\x22\x76\x61\x6C\x75\x65\x22\x3A\x22\x31\x22\x7D\x5D\x7D\x7D","\x43\x61\x6C\x6C\x73\x20\x62\x79\x20\x41\x67\x65\x6E\x74","\x41\x6E\x73\x77\x65\x72\x20\x54\x69\x6D\x65\x20\x62\x79\x20\x51\x75\x65\x75\x65","\x44\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x20\x43\x61\x75\x73\x65","\x6A\x34\x5F\x36","\x7B\x22\x67\x72\x6F\x75\x70\x22\x3A\x7B\x22\x6F\x70\x65\x72\x61\x74\x6F\x72\x22\x3A\x22\x41\x4E\x44\x22\x2C\x22\x72\x75\x6C\x65\x73\x22\x3A\x5B\x7B\x22\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x22\x3A\x22\x3D\x22\x2C\x22\x66\x69\x65\x6C\x64\x22\x3A\x22\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x22\x2C\x22\x76\x61\x6C\x75\x65\x22\x3A\x22\x30\x22\x7D\x5D\x7D\x7D","\x55\x6E\x61\x6E\x73\x77\x65\x72\x65\x64\x20\x62\x79\x20\x51\x75\x65\x75\x65","\x45\x78\x69\x74\x20\x43\x61\x75\x73\x65","\x7B\x22\x67\x72\x6F\x75\x70\x22\x3A\x7B\x22\x6F\x70\x65\x72\x61\x74\x6F\x72\x22\x3A\x22\x41\x4E\x44\x22\x2C\x22\x72\x75\x6C\x65\x73\x22\x3A\x5B\x7B\x22\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x22\x3A\x22\x3D\x22\x2C\x22\x66\x69\x65\x6C\x64\x22\x3A\x22\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x65\x78\x69\x74\x22\x2C\x22\x76\x61\x6C\x75\x65\x22\x3A\x22\x31\x22\x7D\x5D\x7D\x7D","\x41\x62\x61\x6E\x64\x6F\x6E\x20\x54\x69\x6D\x65\x20\x62\x79\x20\x51\x75\x65\x75\x65","\x7B\x22\x67\x72\x6F\x75\x70\x22\x3A\x7B\x22\x6F\x70\x65\x72\x61\x74\x6F\x72\x22\x3A\x22\x41\x4E\x44\x22\x2C\x22\x72\x75\x6C\x65\x73\x22\x3A\x5B\x7B\x22\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x22\x3A\x22\x3D\x22\x2C\x22\x66\x69\x65\x6C\x64\x22\x3A\x22\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x22\x2C\x22\x76\x61\x6C\x75\x65\x22\x3A\x22\x31\x22\x7D\x5D\x7D\x7D","\x43\x61\x6C\x6C\x73\x20\x62\x79\x20\x44\x61\x74\x65","\x43\x61\x6C\x6C\x73\x20\x62\x79\x20\x48\x6F\x75\x72","\x43\x61\x6C\x6C\x73\x20\x62\x79\x20\x44\x61\x79","\x43\x61\x6C\x6C\x73\x20\x62\x79\x20\x54\x79\x70\x65","\x4F\x75\x74\x62\x6F\x75\x6E\x64\x20\x43\x61\x6C\x6C\x73\x20\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x4F\x75\x74\x62\x6F\x75\x6E\x64\x20\x63\x61\x6C\x6C\x73\x20\x67\x72\x6F\x75\x70\x65\x64\x20\x62\x79\x20\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x50\x61\x75\x73\x65\x20\x54\x69\x6D\x65","\x6A\x34\x5F\x34","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x65\x6D\x62\x65\x72\x5F\x68\x69\x73\x74\x6F\x72\x79","\x7B\x22\x67\x72\x6F\x75\x70\x22\x3A\x7B\x22\x6F\x70\x65\x72\x61\x74\x6F\x72\x22\x3A\x22\x41\x4E\x44\x22\x2C\x22\x72\x75\x6C\x65\x73\x22\x3A\x5B\x7B\x22\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x22\x3A\x22\x3D\x22\x2C\x22\x66\x69\x65\x6C\x64\x22\x3A\x22\x74\x79\x70\x65\x22\x2C\x22\x76\x61\x6C\x75\x65\x22\x3A\x22\x50\x41\x55\x53\x45\x22\x7D\x2C\x7B\x22\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x22\x3A\x22\x3D\x22\x2C\x22\x66\x69\x65\x6C\x64\x22\x3A\x22\x63\x68\x61\x6E\x6E\x65\x6C\x22\x2C\x22\x76\x61\x6C\x75\x65\x22\x3A\x22\x76\x6F\x69\x63\x65\x22\x7D\x5D\x7D\x7D","\x4C\x6F\x67\x69\x6E\x20\x54\x69\x6D\x65","\x7B\x22\x67\x72\x6F\x75\x70\x22\x3A\x7B\x22\x6F\x70\x65\x72\x61\x74\x6F\x72\x22\x3A\x22\x41\x4E\x44\x22\x2C\x22\x72\x75\x6C\x65\x73\x22\x3A\x5B\x7B\x22\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x22\x3A\x22\x3D\x22\x2C\x22\x66\x69\x65\x6C\x64\x22\x3A\x22\x74\x79\x70\x65\x22\x2C\x22\x76\x61\x6C\x75\x65\x22\x3A\x22\x4C\x4F\x47\x49\x4E\x22\x7D\x2C\x7B\x22\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x22\x3A\x22\x3D\x22\x2C\x22\x66\x69\x65\x6C\x64\x22\x3A\x22\x63\x68\x61\x6E\x6E\x65\x6C\x22\x2C\x22\x76\x61\x6C\x75\x65\x22\x3A\x22\x76\x6F\x69\x63\x65\x22\x7D\x5D\x7D\x7D","\x57\x65\x62\x73\x69\x74\x65\x20\x53\x75\x6D\x6D\x61\x72\x79","\x6A\x34\x5F\x31","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x73\x65\x73\x73\x69\x6F\x6E\x5F\x68\x69\x73\x74\x6F\x72\x79","\x53\x65\x73\x73\x69\x6F\x6E\x20\x44\x65\x74\x61\x69\x6C","\x43\x68\x61\x74\x20\x62\x79\x20\x41\x67\x65\x6E\x74","\x7B\x22\x67\x72\x6F\x75\x70\x22\x3A\x7B\x22\x6F\x70\x65\x72\x61\x74\x6F\x72\x22\x3A\x22\x41\x4E\x44\x22\x2C\x22\x72\x75\x6C\x65\x73\x22\x3A\x5B\x7B\x22\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x22\x3A\x22\x3D\x22\x2C\x22\x66\x69\x65\x6C\x64\x22\x3A\x22\x63\x6F\x6D\x70\x6C\x65\x74\x65\x22\x2C\x22\x76\x61\x6C\x75\x65\x22\x3A\x22\x31\x22\x7D\x5D\x7D\x7D","\x51\x75\x65\x75\x65\x20\x2D\x20\x54\x61\x6C\x6B\x54\x69\x6D\x65","\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65\x41\x74\x29","\x51\x75\x65\x75\x65\x20\x2D\x20\x41\x62\x61\x6E\x64\x6F\x6E\x20\x54\x69\x6D\x65","\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x41\x62\x61\x6E\x64\x6F\x6E\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29","\x41\x62\x61\x6E\x64\x6F\x6E\x65\x64\x20\x3C\x31\x30\x73","\x43\x4F\x55\x4E\x54\x28\x49\x46\x28\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x41\x62\x61\x6E\x64\x6F\x6E\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29\x20\x3C\x31\x30\x2C\x31\x2C\x4E\x55\x4C\x4C\x29\x29","\x43\x6F\x75\x6E\x74\x20\x6F\x66\x20\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64\x20\x63\x61\x6C\x6C\x73\x20\x77\x69\x74\x68\x69\x6E\x20\x31\x30\x20\x73\x65\x63\x6F\x6E\x64\x73\x20\x28\x53\x68\x6F\x72\x74\x20\x43\x61\x6C\x6C\x73\x29","\x51\x75\x65\x75\x65\x20\x2D\x20\x41\x6E\x73\x77\x65\x72\x54\x69\x6D\x65","\x49\x46\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x3D\x31\x2C\x68\x6F\x6C\x64\x74\x69\x6D\x65\x2C\x6E\x75\x6C\x6C\x29","\x41\x6E\x73\x77\x65\x72\x65\x64\x20\x3C\x20\x31\x30\x73","\x43\x4F\x55\x4E\x54\x28\x49\x46\x28\x68\x6F\x6C\x64\x74\x69\x6D\x65\x3C\x31\x30\x2C\x31\x2C\x4E\x55\x4C\x4C\x29\x29","\x43\x6F\x75\x6E\x74\x20\x6F\x66\x20\x61\x6E\x73\x77\x65\x72\x65\x64\x20\x63\x61\x6C\x6C\x73\x20\x77\x69\x74\x68\x69\x6E\x20\x31\x30\x20\x73\x65\x63\x6F\x6E\x64\x73","\x41\x6E\x73\x77\x65\x72\x65\x64\x20\x31\x30\x2D\x32\x30\x73","\x43\x4F\x55\x4E\x54\x28\x49\x46\x28\x68\x6F\x6C\x64\x74\x69\x6D\x65\x20\x3E\x3D\x31\x30\x20\x41\x4E\x44\x20\x68\x6F\x6C\x64\x74\x69\x6D\x65\x20\x3C\x32\x30\x2C\x31\x2C\x4E\x55\x4C\x4C\x29\x29","\x43\x6F\x75\x6E\x74\x20\x6F\x66\x20\x61\x6E\x73\x77\x65\x72\x65\x64\x20\x63\x61\x6C\x6C\x73\x20\x62\x65\x74\x77\x65\x65\x6E\x20\x31\x30\x20\x61\x6E\x64\x20\x32\x30\x20\x73\x65\x63\x6F\x6E\x64\x73","\x41\x6E\x73\x77\x65\x72\x65\x64\x20\x32\x30\x2D\x33\x30\x73","\x43\x4F\x55\x4E\x54\x28\x49\x46\x28\x68\x6F\x6C\x64\x74\x69\x6D\x65\x20\x3E\x3D\x32\x30\x20\x41\x4E\x44\x20\x68\x6F\x6C\x64\x74\x69\x6D\x65\x20\x3C\x33\x30\x2C\x31\x2C\x4E\x55\x4C\x4C\x29\x29","\x43\x6F\x75\x6E\x74\x20\x6F\x66\x20\x61\x6E\x73\x77\x65\x72\x65\x64\x20\x63\x61\x6C\x6C\x73\x20\x62\x65\x74\x77\x65\x65\x6E\x20\x32\x30\x20\x61\x6E\x64\x20\x33\x30\x20\x73\x65\x63\x6F\x6E\x64\x73","\x41\x6E\x73\x77\x65\x72\x65\x64\x20\x3E\x33\x30\x73","\x43\x4F\x55\x4E\x54\x28\x49\x46\x28\x68\x6F\x6C\x64\x74\x69\x6D\x65\x20\x3E\x3D\x33\x30\x2C\x31\x2C\x4E\x55\x4C\x4C\x29\x29","\x43\x6F\x75\x6E\x74\x20\x6F\x66\x20\x61\x6E\x73\x77\x65\x72\x65\x64\x20\x63\x61\x6C\x6C\x73\x20\x6F\x76\x65\x72\x20\x33\x30\x20\x73\x65\x63\x6F\x6E\x64\x73","\x51\x75\x65\x75\x65\x20\x2D\x20\x45\x78\x69\x74\x20\x54\x69\x6D\x65","\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x45\x78\x69\x74\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29","\x41\x62\x61\x6E\x64\x6F\x6E\x65\x64\x20\x31\x30\x2D\x36\x30\x73","\x43\x4F\x55\x4E\x54\x28\x49\x46\x28\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x41\x62\x61\x6E\x64\x6F\x6E\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29\x20\x3E\x3D\x31\x30\x20\x41\x4E\x44\x20\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x41\x62\x61\x6E\x64\x6F\x6E\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29\x20\x3C\x36\x30\x2C\x31\x2C\x4E\x55\x4C\x4C\x29\x29","\x43\x6F\x75\x6E\x74\x20\x6F\x66\x20\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64\x20\x63\x61\x6C\x6C\x73\x20\x62\x65\x74\x77\x65\x65\x6E\x20\x31\x30\x20\x61\x6E\x64\x20\x36\x30\x20\x73\x65\x63\x6F\x6E\x64\x73","\x41\x62\x61\x6E\x64\x6F\x6E\x65\x64\x20\x36\x30\x2D\x31\x32\x30\x73","\x43\x4F\x55\x4E\x54\x28\x49\x46\x28\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x41\x62\x61\x6E\x64\x6F\x6E\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29\x20\x3E\x3D\x36\x30\x20\x41\x4E\x44\x20\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x41\x62\x61\x6E\x64\x6F\x6E\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29\x20\x3C\x31\x32\x30\x2C\x31\x2C\x4E\x55\x4C\x4C\x29\x29","\x43\x6F\x75\x6E\x74\x20\x6F\x66\x20\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64\x20\x63\x61\x6C\x6C\x73\x20\x62\x65\x74\x77\x65\x65\x6E\x20\x36\x30\x20\x61\x6E\x64\x20\x31\x32\x30\x20\x73\x65\x63\x6F\x6E\x64\x73","\x51\x75\x65\x75\x65\x20\x2D\x20\x41\x62\x61\x6E\x64\x6F\x6E\x65\x64\x20\x3E\x31\x32\x30\x73","\x43\x4F\x55\x4E\x54\x28\x49\x46\x28\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x41\x62\x61\x6E\x64\x6F\x6E\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74\x29\x20\x3E\x3D\x31\x32\x30\x2C\x31\x2C\x4E\x55\x4C\x4C\x29\x29","\x43\x6F\x75\x6E\x74\x20\x6F\x66\x20\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64\x20\x63\x61\x6C\x6C\x73\x20\x6F\x76\x65\x72\x20\x31\x32\x30\x20\x73\x65\x63\x6F\x6E\x64\x73","\x51\x75\x65\x75\x65\x20\x2D\x20\x4A\x6F\x69\x6E\x44\x61\x74\x65","\x44\x41\x54\x45\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x61\x74\x29","\x45\x78\x74\x72\x61\x63\x74\x20\x74\x68\x65\x20\x64\x61\x74\x65\x20\x6F\x66\x20\x74\x68\x65\x20\x6A\x6F\x69\x6E\x20\x71\x75\x65\x75\x65","\x51\x75\x65\x75\x65\x20\x2D\x20\x4A\x6F\x69\x6E\x48\x6F\x75\x72","\x48\x4F\x55\x52\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x61\x74\x29","\x45\x78\x74\x72\x61\x63\x74\x20\x74\x68\x65\x20\x68\x6F\x75\x72\x20\x6F\x66\x20\x74\x68\x65\x20\x6A\x6F\x69\x6E\x20\x71\x75\x65\x75\x65","\x51\x75\x65\x75\x65\x20\x2D\x20\x4A\x6F\x69\x6E\x44\x61\x79","\x44\x41\x59\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x61\x74\x29","\x45\x78\x74\x72\x61\x63\x74\x20\x74\x68\x65\x20\x64\x61\x79\x20\x6F\x66\x20\x74\x68\x65\x20\x6A\x6F\x69\x6E\x20\x71\x75\x65\x75\x65","\x4D\x65\x6D\x62\x65\x72\x20\x2D\x20\x45\x76\x65\x6E\x74\x20\x44\x75\x72\x61\x74\x69\x6F\x6E","\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x65\x78\x69\x74\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x65\x6E\x74\x65\x72\x41\x74\x29","\x4D\x65\x6D\x62\x65\x72\x20\x65\x76\x65\x6E\x74\x20\x64\x75\x72\x61\x74\x69\x6F\x6E\x20\x69\x6E\x20\x73\x65\x63\x6F\x6E\x64\x73","\x4D\x65\x6D\x62\x65\x72\x20\x2D\x20\x54\x6F\x74\x61\x6C\x20\x45\x76\x65\x6E\x74\x20\x44\x75\x72\x61\x74\x69\x6F\x6E","\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x53\x55\x4D\x28\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x65\x78\x69\x74\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x65\x6E\x74\x65\x72\x41\x74\x29\x29\x29","\x54\x6F\x74\x61\x6C\x20\x65\x76\x65\x6E\x74\x20\x64\x75\x72\x61\x74\x69\x6F\x6E","\x43\x68\x61\x74\x20\x2D\x20\x53\x65\x73\x73\x69\x6F\x6E\x20\x54\x69\x6D\x65","\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x63\x6F\x6D\x70\x6C\x65\x74\x65\x41\x74\x29\x2D\x55\x4E\x49\x58\x5F\x54\x49\x4D\x45\x53\x54\x41\x4D\x50\x28\x6C\x65\x61\x76\x65\x41\x74\x29","\x53\x65\x73\x73\x69\x6F\x6E\x20\x54\x69\x6D\x65","\x43\x68\x61\x74\x20\x2D\x20\x51\x75\x65\x75\x65","\x43\x4F\x55\x4E\x54\x28\x49\x46\x28\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x3D\x22\x71\x75\x65\x75\x65\x22\x2C\x31\x2C\x4E\x55\x4C\x4C\x29\x29","\x43\x68\x61\x74\x20\x71\x75\x65\x75\x65\x20\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x63\x6F\x75\x6E\x74","\x43\x68\x61\x74\x20\x2D\x20\x41\x67\x65\x6E\x74","\x43\x4F\x55\x4E\x54\x28\x49\x46\x28\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x3D\x22\x61\x67\x65\x6E\x74\x22\x2C\x31\x2C\x4E\x55\x4C\x4C\x29\x29","\x43\x68\x61\x74\x20\x61\x67\x65\x6E\x74\x20\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x63\x6F\x75\x6E\x74","\x45\x72\x72\x6F\x72\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x41\x6E\x61\x6C\x79\x74\x69\x63\x73\x3A","\x50\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x41\x6E\x61\x6C\x79\x74\x69\x63\x73","\x75\x6E\x69\x71\x75\x65\x69\x64","\x55\x6E\x69\x71\x75\x65\x49\x64","\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x75\x6D","\x43\x61\x6C\x6C\x65\x72\x49\x64\x4E\x75\x6D","\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x61\x6D\x65","\x43\x61\x6C\x6C\x65\x72\x49\x64\x4E\x61\x6D\x65","\x71\x75\x65\x75\x65","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6A\x6F\x69\x6E\x41\x74","\x51\x75\x65\x75\x65\x4A\x6F\x69\x6E\x41\x74","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65\x41\x74","\x51\x75\x65\x75\x65\x4C\x65\x61\x76\x65\x41\x74","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E","\x51\x75\x65\x75\x65\x41\x62\x61\x6E\x64\x6F\x6E","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x41\x74","\x51\x75\x65\x75\x65\x41\x62\x61\x6E\x64\x6F\x6E\x41\x74","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x43\x6F\x6D\x70\x6C\x65\x74\x65","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x41\x74","\x43\x6F\x6D\x70\x6C\x65\x74\x65\x41\x74","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x65\x78\x69\x74","\x51\x75\x65\x75\x65\x45\x78\x69\x74","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x65\x78\x69\x74\x41\x74","\x51\x75\x65\x75\x65\x45\x78\x69\x74\x41\x74","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x65\x78\x69\x74\x72\x65\x61\x73\x6F\x6E","\x51\x75\x65\x75\x65\x45\x78\x69\x74\x52\x65\x61\x73\x6F\x6E","\x44\x49\x44","\x54\x61\x6C\x6B\x54\x69\x6D\x65","\x41\x6E\x73\x77\x65\x72\x54\x69\x6D\x65","\x41\x62\x61\x6E\x64\x6F\x6E\x54\x69\x6D\x65","\x55\x6E\x69\x71\x75\x65\x49\x44","\x74\x79\x70\x65","\x54\x79\x70\x65","\x74\x61\x67","\x54\x61\x67","\x73\x6F\x75\x72\x63\x65","\x53\x6F\x75\x72\x63\x65","\x64\x65\x73\x74\x69\x6E\x61\x74\x69\x6F\x6E","\x44\x65\x73\x74\x69\x6E\x61\x74\x69\x6F\x6E","\x63\x61\x6C\x6C\x65\x72\x69\x64","\x43\x61\x6C\x6C\x65\x72\x49\x44","\x64\x65\x73\x74\x69\x6E\x61\x74\x69\x6F\x6E\x63\x68\x61\x6E\x6E\x65\x6C","\x44\x65\x73\x74\x43\x68\x61\x6E\x6E\x65\x6C","\x6C\x61\x73\x74\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x4C\x61\x73\x74\x41\x70\x70","\x6C\x61\x73\x74\x64\x61\x74\x61","\x4C\x61\x73\x74\x44\x61\x74\x61","\x73\x74\x61\x72\x74\x74\x69\x6D\x65","\x53\x74\x61\x72\x74\x54\x69\x6D\x65","\x61\x6E\x73\x77\x65\x72\x74\x69\x6D\x65","\x65\x6E\x64\x74\x69\x6D\x65","\x45\x6E\x64\x54\x69\x6D\x65","\x64\x75\x72\x61\x74\x69\x6F\x6E","\x44\x75\x72\x61\x74\x69\x6F\x6E","\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x61\x63\x63\x6F\x75\x6E\x74\x63\x6F\x64\x65","\x41\x67\x65\x6E\x74\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x43\x61\x6C\x6C\x65\x72\x49\x64","\x45\x6E\x64\x54\x49\x6D\x65","\x62\x69\x6C\x6C\x61\x62\x6C\x65\x73\x65\x63\x6F\x6E\x64\x73","\x42\x69\x6C\x6C\x73\x65\x63","\x4F\x66\x66\x65\x72\x65\x64","\x43\x4F\x55\x4E\x54","\x43\x6F\x6D\x70\x6C\x65\x74\x65\x64","\x53\x55\x4D","\x41\x62\x61\x6E\x64\x6F\x6E\x65\x64","\x41\x76\x67\x54\x61\x6C\x6B\x54\x69\x6D\x65","\x41\x56\x47","\x41\x76\x67\x41\x62\x61\x6E\x64\x6F\x6E\x54\x69\x6D\x65","\x41\x76\x67\x41\x6E\x73\x77\x65\x72\x54\x69\x6D\x65","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x41\x67\x65\x6E\x74","\x61\x67\x65\x6E\x74\x63\x61\x6C\x6C\x65\x64\x41\x74","\x41\x67\x65\x6E\x74\x43\x61\x6C\x6C\x65\x64\x41\x74","\x61\x67\x65\x6E\x74\x63\x6F\x6E\x6E\x65\x63\x74\x41\x74","\x41\x67\x65\x6E\x74\x43\x6F\x6E\x6E\x65\x63\x74\x41\x74","\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65\x41\x74","\x41\x67\x65\x6E\x74\x43\x6F\x6D\x70\x6C\x65\x74\x65\x41\x74","\x68\x6F\x6C\x64\x74\x69\x6D\x65","\x74\x61\x6C\x6B\x74\x69\x6D\x65","\x61\x67\x65\x6E\x74\x61\x63\x77","\x41\x67\x65\x6E\x74\x41\x43\x57","\x61\x63\x77\x74\x69\x6D\x65","\x41\x67\x65\x6E\x74\x41\x43\x57\x54\x69\x6D\x65","\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x41\x67\x65\x6E\x74\x43\x6F\x6D\x70\x6C\x65\x74\x65","\x72\x65\x61\x73\x6F\x6E","\x48\x61\x6E\x67\x75\x70\x52\x65\x61\x73\x6F\x6E","\x6C\x61\x73\x74\x65\x76\x65\x6E\x74","\x4C\x61\x73\x74\x45\x76\x65\x6E\x74","\x61\x67\x65\x6E\x74\x72\x69\x6E\x67\x6E\x6F\x61\x6E\x73\x77\x65\x72","\x52\x69\x6E\x67\x4E\x6F\x41\x6E\x73\x77\x65\x72","\x54\x6F\x74\x54\x61\x6C\x6B\x54\x69\x6D\x65","\x54\x6F\x74\x41\x43\x57\x54\x69\x6D\x65","\x41\x76\x67\x41\x43\x57\x54\x69\x6D\x65","\x54\x6F\x74\x20\x54\x61\x6C\x6B\x54\x69\x6D\x65","\x41\x76\x67\x20\x54\x61\x6C\x6B\x54\x69\x6D\x65","\x54\x6F\x74\x20\x48\x6F\x6C\x64\x54\x69\x6D\x65","\x41\x76\x67\x20\x48\x6F\x6C\x64\x54\x69\x6D\x65","\x54\x6F\x74\x20\x41\x43\x57\x54\x69\x6D\x65","\x41\x76\x67\x20\x41\x43\x57\x54\x69\x6D\x65","\x54\x6F\x74\x20\x41\x6E\x73\x77\x65\x72\x65\x64","\x41\x6E\x73\x77\x65\x72\x65\x64\x20\x3C\x31\x30\x73","\x52\x65\x61\x73\x6F\x6E","\x41\x62\x61\x6E\x64\x6F\x6E\x20\x54\x69\x6D\x65","\x45\x78\x69\x74\x20\x54\x69\x6D\x65","\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x51\x75\x65\x75\x65\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x54\x6F\x74\x20\x41\x62\x61\x6E\x64\x6F\x6E\x54\x69\x6D\x65","\x45\x78\x69\x74\x65\x64","\x41\x76\x67\x20\x45\x78\x69\x74\x65\x64\x54\x49\x6D\x65","\x54\x6F\x74\x20\x45\x78\x69\x74\x65\x64\x54\x69\x6D\x65","\x54\x6F\x74\x20\x45\x78\x69\x74\x54\x69\x6D\x65","\x54\x6F\x74\x20\x41\x62\x61\x6E\x64\x6F\x6E\x65\x64","\x41\x62\x61\x6E\x64\x6F\x6E\x65\x64\x3C\x31\x30\x73","\x41\x62\x61\x6E\x64\x6F\x6E\x65\x64\x3E\x31\x32\x30\x73","\x44\x61\x74\x65","\x48\x6F\x75\x72","\x44\x61\x79","\x54\x6F\x74\x20\x44\x75\x72\x61\x74\x69\x6F\x6E","\x41\x53\x43","\x64\x61\x74\x61\x31","\x50\x61\x75\x73\x65\x54\x79\x70\x65","\x77\x65\x62\x73\x69\x74\x65\x6E\x61\x6D\x65","\x57\x65\x62\x73\x69\x74\x65","\x76\x69\x73\x69\x74\x6F\x72\x6E\x61\x6D\x65","\x56\x69\x73\x69\x74\x6F\x72\x4E\x61\x6D\x65","\x76\x69\x73\x69\x74\x6F\x72\x65\x6D\x61\x69\x6C","\x56\x69\x73\x69\x74\x6F\x72\x45\x6D\x61\x69\x6C","\x4D\x65\x6D\x65\x62\x65\x72\x4E\x61\x6D\x65","\x71\x75\x65\x75\x65\x6E\x61\x6D\x65","\x51\x75\x65\x75\x65\x4E\x61\x6D\x65","\x6A\x6F\x69\x6E\x41\x74","\x4A\x6F\x69\x6E\x41\x74","\x6C\x65\x61\x76\x65\x41\x74","\x4C\x65\x61\x76\x65\x41\x74","\x63\x6F\x6D\x70\x6C\x65\x74\x65\x41\x74","\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x63\x6F\x6D\x70\x6C\x65\x74\x65\x52\x65\x61\x73\x6F\x6E","\x43\x6F\x6D\x70\x6C\x65\x74\x65\x52\x65\x61\x73\x6F\x6E","\x61\x62\x61\x6E\x64\x6F\x6E","\x41\x62\x61\x6E\x64\x6F\x6E","\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x55\x6E\x6D\x61\x6E\x61\x67\x65","\x53\x65\x73\x73\x69\x6F\x6E","\x46\x72\x6F\x6D\x51\x75\x65\x75\x65","\x32\x30\x31\x36\x2D\x30\x35\x2D\x31\x34\x20\x31\x38\x3A\x31\x33\x3A\x30\x31","\x44\x69\x72\x65\x63\x74\x54\x6F\x41\x67\x65\x6E\x74","\x54\x6F\x74\x20\x53\x65\x73\x73\x69\x6F\x6E\x20\x54\x69\x6D\x65","\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45","\x41\x76\x67\x20\x53\x65\x73\x73\x69\x6F\x6E\x20\x54\x69\x6D\x65","\x57\x65\x62\x53\x69\x74\x65","\x53\x65\x73\x73\x69\x6F\x6E\x73","\x52\x65\x70\x6F\x72\x74\x46\x69\x65\x6C\x64","\x64\x65\x73\x74\x72\x6F\x79","\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74","\x44\x65\x66\x61\x75\x6C\x74\x4D\x65\x74\x72\x69\x63","\x5B\x7B\x22\x69\x64\x22\x3A\x22\x31\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x43\x75\x73\x74\x6F\x6D\x20\x52\x65\x70\x6F\x72\x74\x73\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x22\x69\x63\x6F\x6E\x2D\x62\x6F\x6F\x6B\x2D\x6F\x70\x65\x6E\x22\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x31\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x31\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x23\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x32\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x42\x61\x73\x69\x63\x20\x4E\x6F\x64\x65\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x32\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x32\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x31\x22\x7D\x5D","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x52\x65\x70\x6F\x72\x74\x54\x72\x65\x65","\x5B\x7B\x22\x69\x64\x22\x3A\x22\x31\x22\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x23\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x4D\x6F\x74\x69\x6F\x6E\x20\x52\x65\x70\x6F\x72\x74\x73\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x22\x69\x63\x6F\x6E\x2D\x72\x6F\x63\x6B\x65\x74\x22\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x74\x72\x75\x65\x7D\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x32\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x56\x6F\x69\x63\x65\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x32\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x32\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x31\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x33\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x51\x75\x65\x75\x65\x73\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x33\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x33\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x32\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x35\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x41\x6E\x73\x77\x65\x72\x65\x64\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x35\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x35\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x6A\x34\x5F\x33\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x36\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x55\x6E\x61\x6E\x73\x77\x65\x72\x65\x64\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x36\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x36\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x6A\x34\x5F\x33\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x37\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x44\x69\x73\x74\x72\x69\x62\x75\x74\x69\x6F\x6E\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x37\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x37\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x6A\x34\x5F\x33\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x6A\x32\x30\x5F\x31\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x43\x61\x6C\x6C\x73\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x6A\x32\x30\x5F\x31\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x6A\x32\x30\x5F\x31\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x32\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x34\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x41\x67\x65\x6E\x74\x73\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x34\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x34\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x32\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x6A\x31\x31\x32\x5F\x31\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x43\x61\x6C\x6C\x79\x53\x71\x75\x61\x72\x65\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x6A\x31\x31\x32\x5F\x31\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x6A\x31\x31\x32\x5F\x31\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x32\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x6A\x32\x30\x5F\x32\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x6A\x32\x30\x5F\x32\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x6A\x32\x30\x5F\x32\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x32\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x31\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x43\x68\x61\x74\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x31\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x31\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x31\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x32\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x4D\x61\x69\x6C\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x32\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x6A\x34\x5F\x32\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x31\x22\x7D\x2C\x7B\x22\x69\x64\x22\x3A\x22\x6A\x32\x34\x5F\x31\x22\x2C\x22\x74\x65\x78\x74\x22\x3A\x22\x41\x67\x65\x6E\x74\x73\x22\x2C\x22\x69\x63\x6F\x6E\x22\x3A\x74\x72\x75\x65\x2C\x22\x6C\x69\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x69\x64\x22\x3A\x22\x6A\x32\x34\x5F\x31\x22\x7D\x2C\x22\x61\x5F\x61\x74\x74\x72\x22\x3A\x7B\x22\x68\x72\x65\x66\x22\x3A\x22\x23\x22\x2C\x22\x69\x64\x22\x3A\x22\x6A\x32\x34\x5F\x31\x5F\x61\x6E\x63\x68\x6F\x72\x22\x7D\x2C\x22\x73\x74\x61\x74\x65\x22\x3A\x7B\x22\x6C\x6F\x61\x64\x65\x64\x22\x3A\x74\x72\x75\x65\x2C\x22\x6F\x70\x65\x6E\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x73\x65\x6C\x65\x63\x74\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x2C\x22\x64\x69\x73\x61\x62\x6C\x65\x64\x22\x3A\x66\x61\x6C\x73\x65\x7D\x2C\x22\x64\x61\x74\x61\x22\x3A\x7B\x7D\x2C\x22\x70\x61\x72\x65\x6E\x74\x22\x3A\x22\x31\x22\x7D\x5D","\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x70\x6F\x70\x75\x6C\x61\x74\x69\x6E\x67\x20\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x20\x66\x6F\x72\x20\x4F\x75\x74\x67\x6F\x69\x6E\x67\x20\x46\x61\x78","\x5F\x2E","\x4F\x75\x74\x67\x6F\x69\x6E\x67\x20\x66\x61\x78\x20\x74\x6F\x20\x24\x7B\x46\x41\x58\x4E\x55\x4D\x42\x45\x52\x7D","\x73\x79\x73\x74\x65\x6D","\x41\x63\x63\x6F\x75\x6E\x74\x20\x24\x7B\x46\x41\x58\x4E\x41\x4D\x45\x7D","\x43\x44\x52\x28\x74\x79\x70\x65\x29\x3D\x6F\x75\x74\x62\x6F\x75\x6E\x64\x2D\x66\x61\x78","\x41\x6E\x73\x77\x65\x72","\x57\x61\x69\x74","\x46\x41\x58\x4F\x50\x54\x28\x65\x63\x6D\x29\x3D\x24\x7B\x46\x41\x58\x45\x43\x4D\x7D","\x46\x41\x58\x4F\x50\x54\x28\x68\x65\x61\x64\x65\x72\x69\x6E\x66\x6F\x29\x3D\x24\x7B\x46\x41\x58\x48\x45\x41\x44\x45\x52\x49\x4E\x46\x4F\x7D","\x46\x41\x58\x4F\x50\x54\x28\x6C\x6F\x63\x61\x6C\x73\x74\x61\x74\x69\x6F\x6E\x69\x64\x29\x3D\x24\x7B\x46\x41\x58\x4C\x4F\x43\x41\x4C\x53\x54\x41\x54\x49\x4F\x4E\x49\x44\x7D","\x46\x41\x58\x4F\x50\x54\x28\x6D\x69\x6E\x72\x61\x74\x65\x29\x3D\x24\x7B\x46\x41\x58\x4D\x49\x4E\x52\x41\x54\x45\x7D","\x46\x41\x58\x4F\x50\x54\x28\x6D\x61\x78\x72\x61\x74\x65\x29\x3D\x24\x7B\x46\x41\x58\x4D\x41\x58\x52\x41\x54\x45\x7D","\x46\x41\x58\x4F\x50\x54\x28\x6D\x6F\x64\x65\x6D\x29\x3D\x24\x7B\x46\x41\x58\x4D\x4F\x44\x45\x4D\x7D","\x46\x41\x58\x4F\x50\x54\x28\x67\x61\x74\x65\x77\x61\x79\x29\x3D\x24\x7B\x46\x41\x58\x47\x41\x54\x45\x57\x41\x59\x7D","\x46\x41\x58\x4F\x50\x54\x28\x74\x33\x38\x74\x69\x6D\x65\x6F\x75\x74\x29\x3D\x24\x7B\x46\x41\x58\x54\x33\x38\x54\x49\x4D\x45\x4F\x55\x54\x7D","\x53\x65\x6E\x64\x46\x41\x58","\x24\x7B\x46\x41\x58\x4F\x55\x54\x46\x49\x4C\x45\x7D\x2C\x64\x73","\x48\x61\x6E\x67\x75\x70"];_0xd72b[0];var _=require(_0xd72b[1]);var util=require(_0xd72b[2]);var models=require(_0xd72b[3]);var sequelize=require(_0xd72b[3])[_0xd72b[4]];var _agents=[];var _voiceQueues=[];var _mailQueues=[];var _chatQueues=[];var _miller,_doe;models[_0xd72b[40]][_0xd72b[19]]([{role:_0xd72b[43],fullname:_0xd72b[44],email:_0xd72b[45],name:_0xd72b[43],password:_0xd72b[46],defaultuser:_0xd72b[43],internal:1000}],{ignoreDuplicates:true,individualHooks:true})[_0xd72b[7]](function(_0x22bbxf){console[_0xd72b[13]](util[_0xd72b[12]](_0xd72b[32],_[_0xd72b[11]](_0x22bbxf,_0xd72b[10])[_0xd72b[9]]()));return models[_0xd72b[42]][_0xd72b[41]]({name:_0xd72b[33],description:_0xd72b[33],defaultEntry:true,Users:[{role:_0xd72b[34],fullname:_0xd72b[35],email:_0xd72b[36],name:_0xd72b[25],password:_0xd72b[37],defaultuser:_0xd72b[25],internal:1001},{role:_0xd72b[34],fullname:_0xd72b[38],email:_0xd72b[39],name:_0xd72b[23],password:_0xd72b[37],defaultuser:_0xd72b[23],internal:1002}]},{include:[{model:models[_0xd72b[40]]}]})})[_0xd72b[7]](function(_0x22bbxe){_agents=_0x22bbxe[_0xd72b[26]];console[_0xd72b[13]](util[_0xd72b[12]](_0xd72b[27],_[_0xd72b[11]](_0x22bbxe.Users,_0xd72b[10])[_0xd72b[9]]()));console[_0xd72b[13]](util[_0xd72b[12]](_0xd72b[28],_0x22bbxe[_0xd72b[10]]));return models[_0xd72b[31]][_0xd72b[19]]([{name:_0xd72b[15],musiconhold:_0xd72b[29],strategy:_0xd72b[16]},{name:_0xd72b[17],musiconhold:_0xd72b[29],strategy:_0xd72b[30]}],{ignoreDuplicates:true,individualHooks:true})})[_0xd72b[7]](function(_0x22bbxd){console[_0xd72b[13]](util[_0xd72b[12]](_0xd72b[22],_[_0xd72b[11]](_0x22bbxd,_0xd72b[10])[_0xd72b[9]]()));_voiceQueues=_0x22bbxd;_miller=_[_0xd72b[24]](_agents,{name:_0xd72b[23]});_doe=_[_0xd72b[24]](_agents,{name:_0xd72b[25]});return _voiceQueues[0][_0xd72b[14]](_miller[_0xd72b[5]])})[_0xd72b[7]](function(){return _voiceQueues[1][_0xd72b[6]]([_miller[_0xd72b[5]],_doe[_0xd72b[5]]])})[_0xd72b[7]](function(){return models[_0xd72b[21]][_0xd72b[19]]([{name:_0xd72b[15],timeout:5,strategy:_0xd72b[16]},{name:_0xd72b[17],timeout:5,strategy:_0xd72b[18]}],{ignoreDuplicates:true,individualHooks:true})})[_0xd72b[7]](function(_0x22bbxc){console[_0xd72b[13]](util[_0xd72b[12]](_0xd72b[8],_[_0xd72b[11]](_0x22bbxc,_0xd72b[10])[_0xd72b[9]]()));_mailQueues=_0x22bbxc;return _mailQueues[0][_0xd72b[14]](_miller[_0xd72b[5]])})[_0xd72b[7]](function(){return _mailQueues[1][_0xd72b[6]]([_miller[_0xd72b[5]],_doe[_0xd72b[5]]])})[_0xd72b[7]](function(){return models[_0xd72b[20]][_0xd72b[19]]([{name:_0xd72b[15],timeout:5,strategy:_0xd72b[16]},{name:_0xd72b[17],timeout:5,strategy:_0xd72b[18]}],{ignoreDuplicates:true,individualHooks:true})})[_0xd72b[7]](function(_0x22bbxb){console[_0xd72b[13]](util[_0xd72b[12]](_0xd72b[8],_[_0xd72b[11]](_0x22bbxb,_0xd72b[10])[_0xd72b[9]]()));_chatQueues=_0x22bbxb;return _chatQueues[0][_0xd72b[14]](_miller[_0xd72b[5]])})[_0xd72b[7]](function(){return _chatQueues[1][_0xd72b[6]]([_miller[_0xd72b[5]],_doe[_0xd72b[5]]])});models[_0xd72b[60]][_0xd72b[19]]([{name:_0xd72b[48],prefix:_0xd72b[49],description:_0xd72b[50],options:_0xd72b[51]},{name:_0xd72b[52],prefix:_0xd72b[53],description:_0xd72b[54],options:_0xd72b[55]},{name:_0xd72b[56],prefix:_0xd72b[57],description:_0xd72b[58],options:_0xd72b[59]}],{ignoreDuplicates:true,individualHooks:true})[_0xd72b[7]](function(_0x22bbx10){console[_0xd72b[13]](util[_0xd72b[12]](_0xd72b[47],_[_0xd72b[11]](_0x22bbx10,_0xd72b[10])[_0xd72b[9]]()))});models[_0xd72b[64]][_0xd72b[41]]({name:_0xd72b[62],description:_0xd72b[63],defaultEntry:true})[_0xd72b[7]](function(_0x22bbx11){console[_0xd72b[13]](util[_0xd72b[12]](_0xd72b[61],_0x22bbx11[_0xd72b[10]]))});models[_0xd72b[70]][_0xd72b[41]]({name:_0xd72b[29],directory:_0xd72b[66],mode:_0xd72b[67],sort:_0xd72b[68],format:_0xd72b[69],defaultEntry:true})[_0xd72b[7]](function(_0x22bbx12){console[_0xd72b[13]](util[_0xd72b[12]](_0xd72b[65],_0x22bbx12[_0xd72b[10]]))});models[_0xd72b[78]][_0xd72b[19]]([{name:_0xd72b[72]},{description:_0xd72b[73],name:_0xd72b[74]},{description:_0xd72b[75],name:_0xd72b[76]},{name:_0xd72b[77]}],{ignoreDuplicates:true,individualHooks:true})[_0xd72b[7]](function(_0x22bbx13){console[_0xd72b[13]](util[_0xd72b[12]](_0xd72b[71],_[_0xd72b[11]](_0x22bbx13,_0xd72b[10])[_0xd72b[9]]()))});models[_0xd72b[82]][_0xd72b[19]]([{name:_0xd72b[80]},{name:_0xd72b[81]}],{ignoreDuplicates:true,individualHooks:true})[_0xd72b[7]](function(_0x22bbx14){console[_0xd72b[13]](util[_0xd72b[12]](_0xd72b[79],_[_0xd72b[11]](_0x22bbx14,_0xd72b[10])[_0xd72b[9]]()))});models[_0xd72b[89]][_0xd72b[41]]({name:_0xd72b[84],context:_0xd72b[85],callingpres:_0xd72b[86],deny:_0xd72b[87],permit:_0xd72b[87],secret:_0xd72b[88]})[_0xd72b[7]](function(_0x22bbx15){console[_0xd72b[13]](util[_0xd72b[12]](_0xd72b[83],_0x22bbx15[_0xd72b[10]]))});models[_0xd72b[96]][_0xd72b[19]]([{name:_0xd72b[91],description:_0xd72b[92]},{name:_0xd72b[85],description:_0xd72b[92]},{name:_0xd72b[93],description:_0xd72b[92]},{name:_0xd72b[94],description:_0xd72b[92]},{name:_0xd72b[95],description:_0xd72b[92]}],{ignoreDuplicates:true,individualHooks:true})[_0xd72b[7]](function(_0x22bbx14){console[_0xd72b[13]](util[_0xd72b[12]](_0xd72b[90],_[_0xd72b[11]](_0x22bbx14,_0xd72b[10])[_0xd72b[9]]()))});models[_0xd72b[146]][_0xd72b[41]]({context:_0xd72b[91],exten:_0xd72b[100],priority:_0xd72b[101],app:_0xd72b[102],appdata:_0xd72b[103],type:_0xd72b[104],description:_0xd72b[105],Applications:[{context:_0xd72b[91],exten:_0xd72b[100],priority:_0xd72b[106],app:_0xd72b[107],appdata:_0xd72b[108],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[100],priority:_0xd72b[109],app:_0xd72b[110],appdata:_0xd72b[111],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[100],priority:_0xd72b[112],app:_0xd72b[113],appdata:_0xd72b[114],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[100],priority:_0xd72b[115],app:_0xd72b[113],appdata:_0xd72b[116],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[100],priority:_0xd72b[117],app:_0xd72b[113],appdata:_0xd72b[118],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[100],priority:_0xd72b[119],app:_0xd72b[120],appdata:_0xd72b[121],type:_0xd72b[104],interval:_0xd72b[122],isApp:true},{context:_0xd72b[91],exten:_0xd72b[100],priority:_0xd72b[123],app:_0xd72b[113],appdata:_0xd72b[124],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[100],priority:_0xd72b[125],app:_0xd72b[113],appdata:_0xd72b[126],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[100],priority:_0xd72b[127],app:_0xd72b[110],appdata:_0xd72b[128],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[100],priority:_0xd72b[129],app:_0xd72b[113],appdata:_0xd72b[114],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[100],priority:_0xd72b[130],app:_0xd72b[113],appdata:_0xd72b[116],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[100],priority:_0xd72b[131],app:_0xd72b[113],appdata:_0xd72b[118],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[100],priority:_0xd72b[132],app:_0xd72b[133],appdata:_0xd72b[134],type:_0xd72b[104],interval:_0xd72b[122],isApp:true},{context:_0xd72b[91],exten:_0xd72b[100],priority:_0xd72b[135],app:_0xd72b[113],appdata:_0xd72b[124],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[100],priority:_0xd72b[136],app:_0xd72b[113],appdata:_0xd72b[137],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[100],priority:_0xd72b[138],app:_0xd72b[110],appdata:_0xd72b[139],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[100],priority:_0xd72b[140],app:_0xd72b[113],appdata:_0xd72b[114],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[100],priority:_0xd72b[141],app:_0xd72b[113],appdata:_0xd72b[116],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[100],priority:_0xd72b[142],app:_0xd72b[113],appdata:_0xd72b[118],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[100],priority:_0xd72b[143],app:_0xd72b[120],appdata:_0xd72b[121],type:_0xd72b[104],interval:_0xd72b[122],isApp:true},{context:_0xd72b[91],exten:_0xd72b[100],priority:_0xd72b[144],app:_0xd72b[113],appdata:_0xd72b[124],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[100],priority:_0xd72b[145],app:_0xd72b[113],appdata:_0xd72b[126],type:_0xd72b[104]}]},{include:[{model:models[_0xd72b[146]],as:_0xd72b[147]}]})[_0xd72b[7]](function(_0x22bbx16){console[_0xd72b[13]](util[_0xd72b[12]](_0xd72b[97],_0x22bbx16[_0xd72b[98]],_0x22bbx16[_0xd72b[99]]))});models[_0xd72b[146]][_0xd72b[41]]({context:_0xd72b[91],exten:_0xd72b[148],priority:_0xd72b[101],app:_0xd72b[102],appdata:_0xd72b[103],type:_0xd72b[104],description:_0xd72b[149],Applications:[{context:_0xd72b[91],exten:_0xd72b[148],priority:_0xd72b[106],app:_0xd72b[107],appdata:_0xd72b[108],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[148],priority:_0xd72b[109],app:_0xd72b[110],appdata:_0xd72b[111],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[148],priority:_0xd72b[112],app:_0xd72b[113],appdata:_0xd72b[114],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[148],priority:_0xd72b[115],app:_0xd72b[113],appdata:_0xd72b[116],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[148],priority:_0xd72b[117],app:_0xd72b[150],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[148],priority:_0xd72b[119],app:_0xd72b[151],appdata:_0xd72b[152],type:_0xd72b[104],interval:_0xd72b[122],isApp:true},{context:_0xd72b[91],exten:_0xd72b[148],priority:_0xd72b[123],app:_0xd72b[113],appdata:_0xd72b[124],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[148],priority:_0xd72b[125],app:_0xd72b[113],appdata:_0xd72b[153],type:_0xd72b[104]}]},{include:[{model:models[_0xd72b[146]],as:_0xd72b[147]}]})[_0xd72b[7]](function(_0x22bbx16){console[_0xd72b[13]](util[_0xd72b[12]](_0xd72b[97],_0x22bbx16[_0xd72b[98]],_0x22bbx16[_0xd72b[99]]))});models[_0xd72b[146]][_0xd72b[41]]({context:_0xd72b[91],exten:_0xd72b[154],priority:_0xd72b[101],app:_0xd72b[102],appdata:_0xd72b[103],type:_0xd72b[104],description:_0xd72b[149],Applications:[{context:_0xd72b[91],exten:_0xd72b[154],priority:_0xd72b[106],app:_0xd72b[107],appdata:_0xd72b[108],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[154],priority:_0xd72b[109],app:_0xd72b[110],appdata:_0xd72b[111],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[154],priority:_0xd72b[112],app:_0xd72b[113],appdata:_0xd72b[114],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[154],priority:_0xd72b[115],app:_0xd72b[113],appdata:_0xd72b[116],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[154],priority:_0xd72b[117],app:_0xd72b[113],appdata:_0xd72b[118],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[154],priority:_0xd72b[119],app:_0xd72b[155],appdata:_0xd72b[156],type:_0xd72b[104],interval:_0xd72b[122],isApp:true},{context:_0xd72b[91],exten:_0xd72b[154],priority:_0xd72b[123],app:_0xd72b[113],appdata:_0xd72b[124],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[154],priority:_0xd72b[125],app:_0xd72b[113],appdata:_0xd72b[157],type:_0xd72b[104]}]},{include:[{model:models[_0xd72b[146]],as:_0xd72b[147]}]})[_0xd72b[7]](function(_0x22bbx16){console[_0xd72b[13]](util[_0xd72b[12]](_0xd72b[97],_0x22bbx16[_0xd72b[98]],_0x22bbx16[_0xd72b[99]]))});models[_0xd72b[146]][_0xd72b[41]]({context:_0xd72b[91],exten:_0xd72b[158],priority:_0xd72b[101],app:_0xd72b[102],appdata:_0xd72b[103],type:_0xd72b[104],description:_0xd72b[149],Applications:[{context:_0xd72b[91],exten:_0xd72b[158],priority:_0xd72b[106],app:_0xd72b[107],appdata:_0xd72b[108],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[158],priority:_0xd72b[109],app:_0xd72b[110],appdata:_0xd72b[111],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[158],priority:_0xd72b[112],app:_0xd72b[113],appdata:_0xd72b[114],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[158],priority:_0xd72b[115],app:_0xd72b[113],appdata:_0xd72b[116],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[158],priority:_0xd72b[117],app:_0xd72b[113],appdata:_0xd72b[118],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[158],priority:_0xd72b[119],app:_0xd72b[155],appdata:_0xd72b[159],type:_0xd72b[104],interval:_0xd72b[122],isApp:true},{context:_0xd72b[91],exten:_0xd72b[158],priority:_0xd72b[123],app:_0xd72b[113],appdata:_0xd72b[124],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[158],priority:_0xd72b[125],app:_0xd72b[113],appdata:_0xd72b[157],type:_0xd72b[104]}]},{include:[{model:models[_0xd72b[146]],as:_0xd72b[147]}]})[_0xd72b[7]](function(_0x22bbx16){console[_0xd72b[13]](util[_0xd72b[12]](_0xd72b[97],_0x22bbx16[_0xd72b[98]],_0x22bbx16[_0xd72b[99]]))});models[_0xd72b[146]][_0xd72b[41]]({context:_0xd72b[91],exten:_0xd72b[160],priority:_0xd72b[101],app:_0xd72b[102],appdata:_0xd72b[103],type:_0xd72b[104],description:_0xd72b[149],Applications:[{context:_0xd72b[91],exten:_0xd72b[160],priority:_0xd72b[106],app:_0xd72b[107],appdata:_0xd72b[108],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[160],priority:_0xd72b[109],app:_0xd72b[110],appdata:_0xd72b[111],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[160],priority:_0xd72b[112],app:_0xd72b[113],appdata:_0xd72b[114],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[160],priority:_0xd72b[115],app:_0xd72b[113],appdata:_0xd72b[116],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[160],priority:_0xd72b[117],app:_0xd72b[113],appdata:_0xd72b[118],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[160],priority:_0xd72b[119],app:_0xd72b[155],appdata:_0xd72b[161],type:_0xd72b[104],interval:_0xd72b[122],isApp:true},{context:_0xd72b[91],exten:_0xd72b[160],priority:_0xd72b[123],app:_0xd72b[113],appdata:_0xd72b[124],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[160],priority:_0xd72b[125],app:_0xd72b[113],appdata:_0xd72b[157],type:_0xd72b[104]}]},{include:[{model:models[_0xd72b[146]],as:_0xd72b[147]}]})[_0xd72b[7]](function(_0x22bbx16){console[_0xd72b[13]](util[_0xd72b[12]](_0xd72b[97],_0x22bbx16[_0xd72b[98]],_0x22bbx16[_0xd72b[99]]))});models[_0xd72b[146]][_0xd72b[41]]({context:_0xd72b[91],exten:_0xd72b[162],priority:_0xd72b[101],app:_0xd72b[102],appdata:_0xd72b[163],type:_0xd72b[164],description:_0xd72b[149],Applications:[{context:_0xd72b[91],exten:_0xd72b[162],priority:_0xd72b[106],app:_0xd72b[107],appdata:_0xd72b[165],type:_0xd72b[164]},{context:_0xd72b[91],exten:_0xd72b[162],priority:_0xd72b[109],app:_0xd72b[107],appdata:_0xd72b[166],type:_0xd72b[164]},{context:_0xd72b[91],exten:_0xd72b[162],priority:_0xd72b[112],app:_0xd72b[110],appdata:_0xd72b[167],type:_0xd72b[164]},{context:_0xd72b[91],exten:_0xd72b[162],priority:_0xd72b[115],app:_0xd72b[113],appdata:_0xd72b[114],type:_0xd72b[164]},{context:_0xd72b[91],exten:_0xd72b[162],priority:_0xd72b[117],app:_0xd72b[113],appdata:_0xd72b[116],type:_0xd72b[164]},{context:_0xd72b[91],exten:_0xd72b[162],priority:_0xd72b[119],app:_0xd72b[113],appdata:_0xd72b[118],type:_0xd72b[164]},{context:_0xd72b[91],exten:_0xd72b[162],priority:_0xd72b[123],app:_0xd72b[168],appdata:_0xd72b[169],type:_0xd72b[164],interval:_0xd72b[122],isApp:true},{context:_0xd72b[91],exten:_0xd72b[162],priority:_0xd72b[125],app:_0xd72b[113],appdata:_0xd72b[124],type:_0xd72b[164]},{context:_0xd72b[91],exten:_0xd72b[162],priority:_0xd72b[127],app:_0xd72b[113],appdata:_0xd72b[170],type:_0xd72b[164]}]},{include:[{model:models[_0xd72b[146]],as:_0xd72b[147]}]})[_0xd72b[7]](function(_0x22bbx16){console[_0xd72b[13]](util[_0xd72b[12]](_0xd72b[97],_0x22bbx16[_0xd72b[98]],_0x22bbx16[_0xd72b[99]]))});models[_0xd72b[146]][_0xd72b[41]]({context:_0xd72b[91],exten:_0xd72b[171],priority:_0xd72b[101],app:_0xd72b[102],appdata:_0xd72b[103],type:_0xd72b[104],description:_0xd72b[172],Applications:[{context:_0xd72b[91],exten:_0xd72b[171],priority:_0xd72b[106],app:_0xd72b[107],appdata:_0xd72b[108],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[171],priority:_0xd72b[109],app:_0xd72b[110],appdata:_0xd72b[111],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[171],priority:_0xd72b[112],app:_0xd72b[113],appdata:_0xd72b[114],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[171],priority:_0xd72b[115],app:_0xd72b[113],appdata:_0xd72b[116],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[171],priority:_0xd72b[117],app:_0xd72b[150],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[171],priority:_0xd72b[119],app:_0xd72b[151],appdata:_0xd72b[173],type:_0xd72b[104],interval:_0xd72b[122],isApp:true},{context:_0xd72b[91],exten:_0xd72b[171],priority:_0xd72b[123],app:_0xd72b[113],appdata:_0xd72b[124],type:_0xd72b[104]},{context:_0xd72b[91],exten:_0xd72b[171],priority:_0xd72b[125],app:_0xd72b[113],appdata:_0xd72b[153],type:_0xd72b[104]}]},{include:[{model:models[_0xd72b[146]],as:_0xd72b[147]}]})[_0xd72b[7]](function(_0x22bbx16){console[_0xd72b[13]](util[_0xd72b[12]](_0xd72b[97],_0x22bbx16[_0xd72b[98]],_0x22bbx16[_0xd72b[99]]))});models[_0xd72b[187]][_0xd72b[19]]([{name:_0xd72b[175],description:_0xd72b[176],preproduction:_0xd72b[177],production:_0xd72b[177]},{name:_0xd72b[178],description:_0xd72b[179],preproduction:_0xd72b[180],production:_0xd72b[180]},{name:_0xd72b[181],description:_0xd72b[182],preproduction:_0xd72b[183],production:_0xd72b[183]},{name:_0xd72b[184],description:_0xd72b[185],preproduction:_0xd72b[186],production:_0xd72b[186]}])[_0xd72b[7]](function(_0x22bbx17){console[_0xd72b[13]](util[_0xd72b[12]](_0xd72b[174],_[_0xd72b[11]](_0x22bbx17,_0xd72b[10])[_0xd72b[9]]()))});models[_0xd72b[191]][_0xd72b[41]]({name:_0xd72b[189],dsn:_0xd72b[190]})[_0xd72b[7]](function(_0x22bbx18){console[_0xd72b[13]](util[_0xd72b[12]](_0xd72b[188],_0x22bbx18[_0xd72b[10]]))});models[_0xd72b[203]][_0xd72b[19]]([{name:_0xd72b[193],version:_0xd72b[194],active:false,author:_0xd72b[195],logo:_0xd72b[196],state:_0xd72b[197],description:_0xd72b[198]},{name:_0xd72b[199],version:_0xd72b[194],active:false,author:_0xd72b[195],logo:_0xd72b[200],state:_0xd72b[201],description:_0xd72b[202]}],{ignoreDuplicates:true,individualHooks:true})[_0xd72b[7]](function(_0x22bbx19){console[_0xd72b[13]](util[_0xd72b[12]](_0xd72b[192],_0x22bbx19[_0xd72b[10]]))});models[_0xd72b[219]][_0xd72b[19]]([{name:_0xd72b[205],type:_0xd72b[206],street:_0xd72b[207]},{name:_0xd72b[208],type:_0xd72b[209],street:_0xd72b[210],postalCode:_0xd72b[211],country:_0xd72b[212],city:_0xd72b[213],vat:_0xd72b[214],website:_0xd72b[215],phone:_0xd72b[216],fax:_0xd72b[217],email:_0xd72b[218]}])[_0xd72b[7]](function(_0x22bbx1a){console[_0xd72b[13]](util[_0xd72b[12]](_0xd72b[204],_[_0xd72b[11]](_0x22bbx1a,_0xd72b[10])[_0xd72b[9]]()))});models[_0xd72b[355]][_0xd72b[19]]([{name:_0xd72b[221],model:JSON[_0xd72b[327]]({"\x74\x69\x74\x6C\x65":_0xd72b[222],"\x72\x6F\x77\x73":[{"\x63\x6F\x6C\x75\x6D\x6E\x73":[{"\x73\x74\x79\x6C\x65\x43\x6C\x61\x73\x73":_0xd72b[223],"\x77\x69\x64\x67\x65\x74\x73":[{"\x74\x79\x70\x65":_0xd72b[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6C\x6F\x72":_0xd72b[225],"\x69\x63\x6F\x6E":_0xd72b[226],"\x6C\x69\x6E\x6B":_0xd72b[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0xd72b[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0xd72b[229],"\x76\x61\x6C\x75\x65":_0xd72b[230]},{"\x6E\x61\x6D\x65":_0xd72b[231],"\x76\x61\x6C\x75\x65":_0xd72b[232]},{"\x6E\x61\x6D\x65":_0xd72b[233],"\x76\x61\x6C\x75\x65":_0xd72b[234]},{"\x6E\x61\x6D\x65":_0xd72b[235],"\x76\x61\x6C\x75\x65":_0xd72b[236]},{"\x6E\x61\x6D\x65":_0xd72b[26],"\x76\x61\x6C\x75\x65":_0xd72b[237]},{"\x6E\x61\x6D\x65":_0xd72b[238],"\x76\x61\x6C\x75\x65":_0xd72b[239]},{"\x6E\x61\x6D\x65":_0xd72b[240],"\x76\x61\x6C\x75\x65":_0xd72b[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0xd72b[242],"\x76\x61\x6C\x75\x65":_0xd72b[225]},{"\x6E\x61\x6D\x65":_0xd72b[243],"\x76\x61\x6C\x75\x65":_0xd72b[244]},{"\x6E\x61\x6D\x65":_0xd72b[245],"\x76\x61\x6C\x75\x65":_0xd72b[246]},{"\x6E\x61\x6D\x65":_0xd72b[247],"\x76\x61\x6C\x75\x65":_0xd72b[248]},{"\x6E\x61\x6D\x65":_0xd72b[249],"\x76\x61\x6C\x75\x65":_0xd72b[250]},{"\x6E\x61\x6D\x65":_0xd72b[251],"\x76\x61\x6C\x75\x65":_0xd72b[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0xd72b[253],"\x76\x61\x6C\x75\x65":_0xd72b[226]},{"\x6E\x61\x6D\x65":_0xd72b[254],"\x76\x61\x6C\x75\x65":_0xd72b[255]},{"\x6E\x61\x6D\x65":_0xd72b[256],"\x76\x61\x6C\x75\x65":_0xd72b[257]},{"\x6E\x61\x6D\x65":_0xd72b[258],"\x76\x61\x6C\x75\x65":_0xd72b[259]}],"\x72\x65\x70\x6F\x72\x74":_0xd72b[236],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0xd72b[260],"\x64\x65\x74\x61\x69\x6C\x73":_0xd72b[261],"\x73\x65\x6C\x65\x63\x74":_0xd72b[262]},"\x74\x69\x74\x6C\x65":_0xd72b[263],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0xd72b[264],"\x77\x69\x64":_0xd72b[265]},{"\x74\x79\x70\x65":_0xd72b[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6C\x6F\x72":_0xd72b[225],"\x69\x63\x6F\x6E":_0xd72b[226],"\x6C\x69\x6E\x6B":_0xd72b[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0xd72b[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0xd72b[229],"\x76\x61\x6C\x75\x65":_0xd72b[230]},{"\x6E\x61\x6D\x65":_0xd72b[231],"\x76\x61\x6C\x75\x65":_0xd72b[232]},{"\x6E\x61\x6D\x65":_0xd72b[233],"\x76\x61\x6C\x75\x65":_0xd72b[234]},{"\x6E\x61\x6D\x65":_0xd72b[235],"\x76\x61\x6C\x75\x65":_0xd72b[236]},{"\x6E\x61\x6D\x65":_0xd72b[26],"\x76\x61\x6C\x75\x65":_0xd72b[237]},{"\x6E\x61\x6D\x65":_0xd72b[238],"\x76\x61\x6C\x75\x65":_0xd72b[239]},{"\x6E\x61\x6D\x65":_0xd72b[240],"\x76\x61\x6C\x75\x65":_0xd72b[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0xd72b[242],"\x76\x61\x6C\x75\x65":_0xd72b[225]},{"\x6E\x61\x6D\x65":_0xd72b[243],"\x76\x61\x6C\x75\x65":_0xd72b[244]},{"\x6E\x61\x6D\x65":_0xd72b[245],"\x76\x61\x6C\x75\x65":_0xd72b[246]},{"\x6E\x61\x6D\x65":_0xd72b[247],"\x76\x61\x6C\x75\x65":_0xd72b[248]},{"\x6E\x61\x6D\x65":_0xd72b[249],"\x76\x61\x6C\x75\x65":_0xd72b[250]},{"\x6E\x61\x6D\x65":_0xd72b[251],"\x76\x61\x6C\x75\x65":_0xd72b[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0xd72b[253],"\x76\x61\x6C\x75\x65":_0xd72b[226]},{"\x6E\x61\x6D\x65":_0xd72b[254],"\x76\x61\x6C\x75\x65":_0xd72b[255]},{"\x6E\x61\x6D\x65":_0xd72b[256],"\x76\x61\x6C\x75\x65":_0xd72b[257]},{"\x6E\x61\x6D\x65":_0xd72b[258],"\x76\x61\x6C\x75\x65":_0xd72b[259]}],"\x72\x65\x70\x6F\x72\x74":_0xd72b[236],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0xd72b[266],"\x64\x65\x74\x61\x69\x6C\x73":_0xd72b[267],"\x73\x65\x6C\x65\x63\x74":_0xd72b[262]},"\x74\x69\x74\x6C\x65":_0xd72b[263],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0xd72b[264],"\x77\x69\x64":_0xd72b[268]},{"\x74\x79\x70\x65":_0xd72b[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6C\x6F\x72":_0xd72b[225],"\x69\x63\x6F\x6E":_0xd72b[226],"\x6C\x69\x6E\x6B":_0xd72b[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0xd72b[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0xd72b[229],"\x76\x61\x6C\x75\x65":_0xd72b[230]},{"\x6E\x61\x6D\x65":_0xd72b[231],"\x76\x61\x6C\x75\x65":_0xd72b[232]},{"\x6E\x61\x6D\x65":_0xd72b[233],"\x76\x61\x6C\x75\x65":_0xd72b[234]},{"\x6E\x61\x6D\x65":_0xd72b[235],"\x76\x61\x6C\x75\x65":_0xd72b[236]},{"\x6E\x61\x6D\x65":_0xd72b[26],"\x76\x61\x6C\x75\x65":_0xd72b[237]},{"\x6E\x61\x6D\x65":_0xd72b[238],"\x76\x61\x6C\x75\x65":_0xd72b[239]},{"\x6E\x61\x6D\x65":_0xd72b[240],"\x76\x61\x6C\x75\x65":_0xd72b[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0xd72b[242],"\x76\x61\x6C\x75\x65":_0xd72b[225]},{"\x6E\x61\x6D\x65":_0xd72b[243],"\x76\x61\x6C\x75\x65":_0xd72b[244]},{"\x6E\x61\x6D\x65":_0xd72b[245],"\x76\x61\x6C\x75\x65":_0xd72b[246]},{"\x6E\x61\x6D\x65":_0xd72b[247],"\x76\x61\x6C\x75\x65":_0xd72b[248]},{"\x6E\x61\x6D\x65":_0xd72b[249],"\x76\x61\x6C\x75\x65":_0xd72b[250]},{"\x6E\x61\x6D\x65":_0xd72b[251],"\x76\x61\x6C\x75\x65":_0xd72b[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0xd72b[253],"\x76\x61\x6C\x75\x65":_0xd72b[226]},{"\x6E\x61\x6D\x65":_0xd72b[254],"\x76\x61\x6C\x75\x65":_0xd72b[255]},{"\x6E\x61\x6D\x65":_0xd72b[256],"\x76\x61\x6C\x75\x65":_0xd72b[257]},{"\x6E\x61\x6D\x65":_0xd72b[258],"\x76\x61\x6C\x75\x65":_0xd72b[259]}],"\x73\x65\x6C\x65\x63\x74":_0xd72b[269],"\x72\x65\x70\x6F\x72\x74":_0xd72b[236],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0xd72b[101],"\x64\x65\x74\x61\x69\x6C\x73":_0xd72b[270]},"\x74\x69\x74\x6C\x65":_0xd72b[263],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0xd72b[264],"\x77\x69\x64":_0xd72b[271]},{"\x74\x79\x70\x65":_0xd72b[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6C\x6F\x72":_0xd72b[225],"\x69\x63\x6F\x6E":_0xd72b[226],"\x6C\x69\x6E\x6B":_0xd72b[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0xd72b[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0xd72b[229],"\x76\x61\x6C\x75\x65":_0xd72b[230]},{"\x6E\x61\x6D\x65":_0xd72b[231],"\x76\x61\x6C\x75\x65":_0xd72b[232]},{"\x6E\x61\x6D\x65":_0xd72b[233],"\x76\x61\x6C\x75\x65":_0xd72b[234]},{"\x6E\x61\x6D\x65":_0xd72b[235],"\x76\x61\x6C\x75\x65":_0xd72b[236]},{"\x6E\x61\x6D\x65":_0xd72b[26],"\x76\x61\x6C\x75\x65":_0xd72b[237]},{"\x6E\x61\x6D\x65":_0xd72b[238],"\x76\x61\x6C\x75\x65":_0xd72b[239]},{"\x6E\x61\x6D\x65":_0xd72b[240],"\x76\x61\x6C\x75\x65":_0xd72b[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0xd72b[242],"\x76\x61\x6C\x75\x65":_0xd72b[225]},{"\x6E\x61\x6D\x65":_0xd72b[243],"\x76\x61\x6C\x75\x65":_0xd72b[244]},{"\x6E\x61\x6D\x65":_0xd72b[245],"\x76\x61\x6C\x75\x65":_0xd72b[246]},{"\x6E\x61\x6D\x65":_0xd72b[247],"\x76\x61\x6C\x75\x65":_0xd72b[248]},{"\x6E\x61\x6D\x65":_0xd72b[249],"\x76\x61\x6C\x75\x65":_0xd72b[250]},{"\x6E\x61\x6D\x65":_0xd72b[251],"\x76\x61\x6C\x75\x65":_0xd72b[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0xd72b[253],"\x76\x61\x6C\x75\x65":_0xd72b[226]},{"\x6E\x61\x6D\x65":_0xd72b[254],"\x76\x61\x6C\x75\x65":_0xd72b[255]},{"\x6E\x61\x6D\x65":_0xd72b[256],"\x76\x61\x6C\x75\x65":_0xd72b[257]},{"\x6E\x61\x6D\x65":_0xd72b[258],"\x76\x61\x6C\x75\x65":_0xd72b[259]}],"\x73\x65\x6C\x65\x63\x74":_0xd72b[272],"\x72\x65\x70\x6F\x72\x74":_0xd72b[230],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0xd72b[273],"\x64\x65\x74\x61\x69\x6C\x73":_0xd72b[274]},"\x74\x69\x74\x6C\x65":_0xd72b[263],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0xd72b[264],"\x77\x69\x64":_0xd72b[275]},{"\x74\x79\x70\x65":_0xd72b[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6C\x6F\x72":_0xd72b[246],"\x69\x63\x6F\x6E":_0xd72b[226],"\x6C\x69\x6E\x6B":_0xd72b[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0xd72b[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0xd72b[229],"\x76\x61\x6C\x75\x65":_0xd72b[230]},{"\x6E\x61\x6D\x65":_0xd72b[231],"\x76\x61\x6C\x75\x65":_0xd72b[232]},{"\x6E\x61\x6D\x65":_0xd72b[233],"\x76\x61\x6C\x75\x65":_0xd72b[234]},{"\x6E\x61\x6D\x65":_0xd72b[235],"\x76\x61\x6C\x75\x65":_0xd72b[236]},{"\x6E\x61\x6D\x65":_0xd72b[26],"\x76\x61\x6C\x75\x65":_0xd72b[237]},{"\x6E\x61\x6D\x65":_0xd72b[238],"\x76\x61\x6C\x75\x65":_0xd72b[239]},{"\x6E\x61\x6D\x65":_0xd72b[240],"\x76\x61\x6C\x75\x65":_0xd72b[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0xd72b[242],"\x76\x61\x6C\x75\x65":_0xd72b[225]},{"\x6E\x61\x6D\x65":_0xd72b[243],"\x76\x61\x6C\x75\x65":_0xd72b[244]},{"\x6E\x61\x6D\x65":_0xd72b[245],"\x76\x61\x6C\x75\x65":_0xd72b[246]},{"\x6E\x61\x6D\x65":_0xd72b[247],"\x76\x61\x6C\x75\x65":_0xd72b[248]},{"\x6E\x61\x6D\x65":_0xd72b[249],"\x76\x61\x6C\x75\x65":_0xd72b[250]},{"\x6E\x61\x6D\x65":_0xd72b[251],"\x76\x61\x6C\x75\x65":_0xd72b[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0xd72b[253],"\x76\x61\x6C\x75\x65":_0xd72b[226]},{"\x6E\x61\x6D\x65":_0xd72b[254],"\x76\x61\x6C\x75\x65":_0xd72b[255]},{"\x6E\x61\x6D\x65":_0xd72b[256],"\x76\x61\x6C\x75\x65":_0xd72b[257]},{"\x6E\x61\x6D\x65":_0xd72b[258],"\x76\x61\x6C\x75\x65":_0xd72b[259]}],"\x73\x65\x6C\x65\x63\x74":_0xd72b[276],"\x72\x65\x70\x6F\x72\x74":_0xd72b[236],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0xd72b[101],"\x64\x65\x74\x61\x69\x6C\x73":_0xd72b[277]},"\x74\x69\x74\x6C\x65":_0xd72b[278],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0xd72b[264],"\x77\x69\x64":_0xd72b[279]}],"\x63\x69\x64":_0xd72b[280]},{"\x73\x74\x79\x6C\x65\x43\x6C\x61\x73\x73":_0xd72b[223],"\x77\x69\x64\x67\x65\x74\x73":[{"\x74\x79\x70\x65":_0xd72b[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6C\x6F\x72":_0xd72b[244],"\x69\x63\x6F\x6E":_0xd72b[226],"\x6C\x69\x6E\x6B":_0xd72b[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0xd72b[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0xd72b[229],"\x76\x61\x6C\x75\x65":_0xd72b[230]},{"\x6E\x61\x6D\x65":_0xd72b[231],"\x76\x61\x6C\x75\x65":_0xd72b[232]},{"\x6E\x61\x6D\x65":_0xd72b[233],"\x76\x61\x6C\x75\x65":_0xd72b[234]},{"\x6E\x61\x6D\x65":_0xd72b[235],"\x76\x61\x6C\x75\x65":_0xd72b[236]},{"\x6E\x61\x6D\x65":_0xd72b[26],"\x76\x61\x6C\x75\x65":_0xd72b[237]},{"\x6E\x61\x6D\x65":_0xd72b[238],"\x76\x61\x6C\x75\x65":_0xd72b[239]},{"\x6E\x61\x6D\x65":_0xd72b[240],"\x76\x61\x6C\x75\x65":_0xd72b[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0xd72b[242],"\x76\x61\x6C\x75\x65":_0xd72b[225]},{"\x6E\x61\x6D\x65":_0xd72b[243],"\x76\x61\x6C\x75\x65":_0xd72b[244]},{"\x6E\x61\x6D\x65":_0xd72b[245],"\x76\x61\x6C\x75\x65":_0xd72b[246]},{"\x6E\x61\x6D\x65":_0xd72b[247],"\x76\x61\x6C\x75\x65":_0xd72b[248]},{"\x6E\x61\x6D\x65":_0xd72b[249],"\x76\x61\x6C\x75\x65":_0xd72b[250]},{"\x6E\x61\x6D\x65":_0xd72b[251],"\x76\x61\x6C\x75\x65":_0xd72b[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0xd72b[253],"\x76\x61\x6C\x75\x65":_0xd72b[226]},{"\x6E\x61\x6D\x65":_0xd72b[254],"\x76\x61\x6C\x75\x65":_0xd72b[255]},{"\x6E\x61\x6D\x65":_0xd72b[256],"\x76\x61\x6C\x75\x65":_0xd72b[257]},{"\x6E\x61\x6D\x65":_0xd72b[258],"\x76\x61\x6C\x75\x65":_0xd72b[259]}],"\x72\x65\x70\x6F\x72\x74":_0xd72b[236],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0xd72b[281],"\x64\x65\x74\x61\x69\x6C\x73":_0xd72b[282],"\x73\x65\x6C\x65\x63\x74":_0xd72b[262]},"\x74\x69\x74\x6C\x65":_0xd72b[263],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0xd72b[264],"\x77\x69\x64":_0xd72b[283]},{"\x74\x79\x70\x65":_0xd72b[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6C\x6F\x72":_0xd72b[244],"\x69\x63\x6F\x6E":_0xd72b[226],"\x6C\x69\x6E\x6B":_0xd72b[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0xd72b[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0xd72b[229],"\x76\x61\x6C\x75\x65":_0xd72b[230]},{"\x6E\x61\x6D\x65":_0xd72b[231],"\x76\x61\x6C\x75\x65":_0xd72b[232]},{"\x6E\x61\x6D\x65":_0xd72b[233],"\x76\x61\x6C\x75\x65":_0xd72b[234]},{"\x6E\x61\x6D\x65":_0xd72b[235],"\x76\x61\x6C\x75\x65":_0xd72b[236]},{"\x6E\x61\x6D\x65":_0xd72b[26],"\x76\x61\x6C\x75\x65":_0xd72b[237]},{"\x6E\x61\x6D\x65":_0xd72b[238],"\x76\x61\x6C\x75\x65":_0xd72b[239]},{"\x6E\x61\x6D\x65":_0xd72b[240],"\x76\x61\x6C\x75\x65":_0xd72b[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0xd72b[242],"\x76\x61\x6C\x75\x65":_0xd72b[225]},{"\x6E\x61\x6D\x65":_0xd72b[243],"\x76\x61\x6C\x75\x65":_0xd72b[244]},{"\x6E\x61\x6D\x65":_0xd72b[245],"\x76\x61\x6C\x75\x65":_0xd72b[246]},{"\x6E\x61\x6D\x65":_0xd72b[247],"\x76\x61\x6C\x75\x65":_0xd72b[248]},{"\x6E\x61\x6D\x65":_0xd72b[249],"\x76\x61\x6C\x75\x65":_0xd72b[250]},{"\x6E\x61\x6D\x65":_0xd72b[251],"\x76\x61\x6C\x75\x65":_0xd72b[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0xd72b[253],"\x76\x61\x6C\x75\x65":_0xd72b[226]},{"\x6E\x61\x6D\x65":_0xd72b[254],"\x76\x61\x6C\x75\x65":_0xd72b[255]},{"\x6E\x61\x6D\x65":_0xd72b[256],"\x76\x61\x6C\x75\x65":_0xd72b[257]},{"\x6E\x61\x6D\x65":_0xd72b[258],"\x76\x61\x6C\x75\x65":_0xd72b[259]}],"\x72\x65\x70\x6F\x72\x74":_0xd72b[236],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0xd72b[284],"\x64\x65\x74\x61\x69\x6C\x73":_0xd72b[285],"\x73\x65\x6C\x65\x63\x74":_0xd72b[262]},"\x74\x69\x74\x6C\x65":_0xd72b[263],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0xd72b[264],"\x77\x69\x64":_0xd72b[286]},{"\x74\x79\x70\x65":_0xd72b[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6C\x6F\x72":_0xd72b[244],"\x69\x63\x6F\x6E":_0xd72b[226],"\x6C\x69\x6E\x6B":_0xd72b[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0xd72b[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0xd72b[229],"\x76\x61\x6C\x75\x65":_0xd72b[230]},{"\x6E\x61\x6D\x65":_0xd72b[231],"\x76\x61\x6C\x75\x65":_0xd72b[232]},{"\x6E\x61\x6D\x65":_0xd72b[233],"\x76\x61\x6C\x75\x65":_0xd72b[234]},{"\x6E\x61\x6D\x65":_0xd72b[235],"\x76\x61\x6C\x75\x65":_0xd72b[236]},{"\x6E\x61\x6D\x65":_0xd72b[26],"\x76\x61\x6C\x75\x65":_0xd72b[237]},{"\x6E\x61\x6D\x65":_0xd72b[238],"\x76\x61\x6C\x75\x65":_0xd72b[239]},{"\x6E\x61\x6D\x65":_0xd72b[240],"\x76\x61\x6C\x75\x65":_0xd72b[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0xd72b[242],"\x76\x61\x6C\x75\x65":_0xd72b[225]},{"\x6E\x61\x6D\x65":_0xd72b[243],"\x76\x61\x6C\x75\x65":_0xd72b[244]},{"\x6E\x61\x6D\x65":_0xd72b[245],"\x76\x61\x6C\x75\x65":_0xd72b[246]},{"\x6E\x61\x6D\x65":_0xd72b[247],"\x76\x61\x6C\x75\x65":_0xd72b[248]},{"\x6E\x61\x6D\x65":_0xd72b[249],"\x76\x61\x6C\x75\x65":_0xd72b[250]},{"\x6E\x61\x6D\x65":_0xd72b[251],"\x76\x61\x6C\x75\x65":_0xd72b[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0xd72b[253],"\x76\x61\x6C\x75\x65":_0xd72b[226]},{"\x6E\x61\x6D\x65":_0xd72b[254],"\x76\x61\x6C\x75\x65":_0xd72b[255]},{"\x6E\x61\x6D\x65":_0xd72b[256],"\x76\x61\x6C\x75\x65":_0xd72b[257]},{"\x6E\x61\x6D\x65":_0xd72b[258],"\x76\x61\x6C\x75\x65":_0xd72b[259]}],"\x73\x65\x6C\x65\x63\x74":_0xd72b[287],"\x72\x65\x70\x6F\x72\x74":_0xd72b[236],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0xd72b[101],"\x64\x65\x74\x61\x69\x6C\x73":_0xd72b[288]},"\x74\x69\x74\x6C\x65":_0xd72b[263],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0xd72b[264],"\x77\x69\x64":_0xd72b[289]},{"\x74\x79\x70\x65":_0xd72b[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6C\x6F\x72":_0xd72b[250],"\x69\x63\x6F\x6E":_0xd72b[226],"\x6C\x69\x6E\x6B":_0xd72b[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0xd72b[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0xd72b[229],"\x76\x61\x6C\x75\x65":_0xd72b[230]},{"\x6E\x61\x6D\x65":_0xd72b[231],"\x76\x61\x6C\x75\x65":_0xd72b[232]},{"\x6E\x61\x6D\x65":_0xd72b[233],"\x76\x61\x6C\x75\x65":_0xd72b[234]},{"\x6E\x61\x6D\x65":_0xd72b[235],"\x76\x61\x6C\x75\x65":_0xd72b[236]},{"\x6E\x61\x6D\x65":_0xd72b[26],"\x76\x61\x6C\x75\x65":_0xd72b[237]},{"\x6E\x61\x6D\x65":_0xd72b[238],"\x76\x61\x6C\x75\x65":_0xd72b[239]},{"\x6E\x61\x6D\x65":_0xd72b[240],"\x76\x61\x6C\x75\x65":_0xd72b[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0xd72b[242],"\x76\x61\x6C\x75\x65":_0xd72b[225]},{"\x6E\x61\x6D\x65":_0xd72b[243],"\x76\x61\x6C\x75\x65":_0xd72b[244]},{"\x6E\x61\x6D\x65":_0xd72b[245],"\x76\x61\x6C\x75\x65":_0xd72b[246]},{"\x6E\x61\x6D\x65":_0xd72b[247],"\x76\x61\x6C\x75\x65":_0xd72b[248]},{"\x6E\x61\x6D\x65":_0xd72b[249],"\x76\x61\x6C\x75\x65":_0xd72b[250]},{"\x6E\x61\x6D\x65":_0xd72b[251],"\x76\x61\x6C\x75\x65":_0xd72b[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0xd72b[253],"\x76\x61\x6C\x75\x65":_0xd72b[226]},{"\x6E\x61\x6D\x65":_0xd72b[254],"\x76\x61\x6C\x75\x65":_0xd72b[255]},{"\x6E\x61\x6D\x65":_0xd72b[256],"\x76\x61\x6C\x75\x65":_0xd72b[257]},{"\x6E\x61\x6D\x65":_0xd72b[258],"\x76\x61\x6C\x75\x65":_0xd72b[259]}],"\x73\x65\x6C\x65\x63\x74":_0xd72b[290],"\x72\x65\x70\x6F\x72\x74":_0xd72b[230],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0xd72b[273],"\x64\x65\x74\x61\x69\x6C\x73":_0xd72b[291]},"\x74\x69\x74\x6C\x65":_0xd72b[263],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0xd72b[264],"\x77\x69\x64":_0xd72b[292]},{"\x74\x79\x70\x65":_0xd72b[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0xd72b[101],"\x63\x6F\x6C\x6F\x72":_0xd72b[246],"\x69\x63\x6F\x6E":_0xd72b[226],"\x6C\x69\x6E\x6B":_0xd72b[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0xd72b[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0xd72b[229],"\x76\x61\x6C\x75\x65":_0xd72b[230]},{"\x6E\x61\x6D\x65":_0xd72b[231],"\x76\x61\x6C\x75\x65":_0xd72b[232]},{"\x6E\x61\x6D\x65":_0xd72b[233],"\x76\x61\x6C\x75\x65":_0xd72b[234]},{"\x6E\x61\x6D\x65":_0xd72b[235],"\x76\x61\x6C\x75\x65":_0xd72b[236]},{"\x6E\x61\x6D\x65":_0xd72b[26],"\x76\x61\x6C\x75\x65":_0xd72b[237]},{"\x6E\x61\x6D\x65":_0xd72b[238],"\x76\x61\x6C\x75\x65":_0xd72b[239]},{"\x6E\x61\x6D\x65":_0xd72b[240],"\x76\x61\x6C\x75\x65":_0xd72b[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0xd72b[242],"\x76\x61\x6C\x75\x65":_0xd72b[225]},{"\x6E\x61\x6D\x65":_0xd72b[243],"\x76\x61\x6C\x75\x65":_0xd72b[244]},{"\x6E\x61\x6D\x65":_0xd72b[245],"\x76\x61\x6C\x75\x65":_0xd72b[246]},{"\x6E\x61\x6D\x65":_0xd72b[247],"\x76\x61\x6C\x75\x65":_0xd72b[248]},{"\x6E\x61\x6D\x65":_0xd72b[249],"\x76\x61\x6C\x75\x65":_0xd72b[250]},{"\x6E\x61\x6D\x65":_0xd72b[251],"\x76\x61\x6C\x75\x65":_0xd72b[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0xd72b[253],"\x76\x61\x6C\x75\x65":_0xd72b[226]},{"\x6E\x61\x6D\x65":_0xd72b[254],"\x76\x61\x6C\x75\x65":_0xd72b[255]},{"\x6E\x61\x6D\x65":_0xd72b[256],"\x76\x61\x6C\x75\x65":_0xd72b[257]},{"\x6E\x61\x6D\x65":_0xd72b[258],"\x76\x61\x6C\x75\x65":_0xd72b[259]}],"\x73\x65\x6C\x65\x63\x74":_0xd72b[293],"\x72\x65\x70\x6F\x72\x74":_0xd72b[236],"\x64\x65\x74\x61\x69\x6C\x73":_0xd72b[294]},"\x74\x69\x74\x6C\x65":_0xd72b[295],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0xd72b[264],"\x77\x69\x64":_0xd72b[296]}],"\x63\x69\x64":_0xd72b[297]},{"\x73\x74\x79\x6C\x65\x43\x6C\x61\x73\x73":_0xd72b[223],"\x77\x69\x64\x67\x65\x74\x73":[{"\x74\x79\x70\x65":_0xd72b[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6C\x6F\x72":_0xd72b[225],"\x69\x63\x6F\x6E":_0xd72b[226],"\x6C\x69\x6E\x6B":_0xd72b[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0xd72b[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0xd72b[229],"\x76\x61\x6C\x75\x65":_0xd72b[230]},{"\x6E\x61\x6D\x65":_0xd72b[231],"\x76\x61\x6C\x75\x65":_0xd72b[232]},{"\x6E\x61\x6D\x65":_0xd72b[233],"\x76\x61\x6C\x75\x65":_0xd72b[234]},{"\x6E\x61\x6D\x65":_0xd72b[235],"\x76\x61\x6C\x75\x65":_0xd72b[236]},{"\x6E\x61\x6D\x65":_0xd72b[26],"\x76\x61\x6C\x75\x65":_0xd72b[237]},{"\x6E\x61\x6D\x65":_0xd72b[238],"\x76\x61\x6C\x75\x65":_0xd72b[239]},{"\x6E\x61\x6D\x65":_0xd72b[240],"\x76\x61\x6C\x75\x65":_0xd72b[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0xd72b[242],"\x76\x61\x6C\x75\x65":_0xd72b[225]},{"\x6E\x61\x6D\x65":_0xd72b[243],"\x76\x61\x6C\x75\x65":_0xd72b[244]},{"\x6E\x61\x6D\x65":_0xd72b[245],"\x76\x61\x6C\x75\x65":_0xd72b[246]},{"\x6E\x61\x6D\x65":_0xd72b[247],"\x76\x61\x6C\x75\x65":_0xd72b[248]},{"\x6E\x61\x6D\x65":_0xd72b[249],"\x76\x61\x6C\x75\x65":_0xd72b[250]},{"\x6E\x61\x6D\x65":_0xd72b[251],"\x76\x61\x6C\x75\x65":_0xd72b[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0xd72b[253],"\x76\x61\x6C\x75\x65":_0xd72b[226]},{"\x6E\x61\x6D\x65":_0xd72b[254],"\x76\x61\x6C\x75\x65":_0xd72b[255]},{"\x6E\x61\x6D\x65":_0xd72b[256],"\x76\x61\x6C\x75\x65":_0xd72b[257]},{"\x6E\x61\x6D\x65":_0xd72b[258],"\x76\x61\x6C\x75\x65":_0xd72b[259]}],"\x73\x65\x6C\x65\x63\x74":_0xd72b[298],"\x72\x65\x70\x6F\x72\x74":_0xd72b[236],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0xd72b[260],"\x64\x65\x74\x61\x69\x6C\x73":_0xd72b[299]},"\x74\x69\x74\x6C\x65":_0xd72b[263],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0xd72b[264],"\x77\x69\x64":_0xd72b[300]},{"\x74\x79\x70\x65":_0xd72b[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6C\x6F\x72":_0xd72b[250],"\x69\x63\x6F\x6E":_0xd72b[255],"\x6C\x69\x6E\x6B":_0xd72b[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0xd72b[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0xd72b[229],"\x76\x61\x6C\x75\x65":_0xd72b[230]},{"\x6E\x61\x6D\x65":_0xd72b[231],"\x76\x61\x6C\x75\x65":_0xd72b[232]},{"\x6E\x61\x6D\x65":_0xd72b[233],"\x76\x61\x6C\x75\x65":_0xd72b[234]},{"\x6E\x61\x6D\x65":_0xd72b[235],"\x76\x61\x6C\x75\x65":_0xd72b[236]},{"\x6E\x61\x6D\x65":_0xd72b[26],"\x76\x61\x6C\x75\x65":_0xd72b[237]},{"\x6E\x61\x6D\x65":_0xd72b[238],"\x76\x61\x6C\x75\x65":_0xd72b[239]},{"\x6E\x61\x6D\x65":_0xd72b[240],"\x76\x61\x6C\x75\x65":_0xd72b[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0xd72b[242],"\x76\x61\x6C\x75\x65":_0xd72b[225]},{"\x6E\x61\x6D\x65":_0xd72b[243],"\x76\x61\x6C\x75\x65":_0xd72b[244]},{"\x6E\x61\x6D\x65":_0xd72b[245],"\x76\x61\x6C\x75\x65":_0xd72b[246]},{"\x6E\x61\x6D\x65":_0xd72b[247],"\x76\x61\x6C\x75\x65":_0xd72b[248]},{"\x6E\x61\x6D\x65":_0xd72b[249],"\x76\x61\x6C\x75\x65":_0xd72b[250]},{"\x6E\x61\x6D\x65":_0xd72b[251],"\x76\x61\x6C\x75\x65":_0xd72b[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0xd72b[253],"\x76\x61\x6C\x75\x65":_0xd72b[226]},{"\x6E\x61\x6D\x65":_0xd72b[254],"\x76\x61\x6C\x75\x65":_0xd72b[255]},{"\x6E\x61\x6D\x65":_0xd72b[256],"\x76\x61\x6C\x75\x65":_0xd72b[257]},{"\x6E\x61\x6D\x65":_0xd72b[258],"\x76\x61\x6C\x75\x65":_0xd72b[259]}],"\x73\x65\x6C\x65\x63\x74":_0xd72b[301],"\x72\x65\x70\x6F\x72\x74":_0xd72b[236],"\x64\x65\x74\x61\x69\x6C\x73":_0xd72b[302],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0xd72b[101]},"\x74\x69\x74\x6C\x65":_0xd72b[263],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0xd72b[264],"\x77\x69\x64":_0xd72b[303]},{"\x74\x79\x70\x65":_0xd72b[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6C\x6F\x72":_0xd72b[250],"\x69\x63\x6F\x6E":_0xd72b[255],"\x6C\x69\x6E\x6B":_0xd72b[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0xd72b[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0xd72b[229],"\x76\x61\x6C\x75\x65":_0xd72b[230]},{"\x6E\x61\x6D\x65":_0xd72b[231],"\x76\x61\x6C\x75\x65":_0xd72b[232]},{"\x6E\x61\x6D\x65":_0xd72b[233],"\x76\x61\x6C\x75\x65":_0xd72b[234]},{"\x6E\x61\x6D\x65":_0xd72b[235],"\x76\x61\x6C\x75\x65":_0xd72b[236]},{"\x6E\x61\x6D\x65":_0xd72b[26],"\x76\x61\x6C\x75\x65":_0xd72b[237]},{"\x6E\x61\x6D\x65":_0xd72b[238],"\x76\x61\x6C\x75\x65":_0xd72b[239]},{"\x6E\x61\x6D\x65":_0xd72b[240],"\x76\x61\x6C\x75\x65":_0xd72b[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0xd72b[242],"\x76\x61\x6C\x75\x65":_0xd72b[225]},{"\x6E\x61\x6D\x65":_0xd72b[243],"\x76\x61\x6C\x75\x65":_0xd72b[244]},{"\x6E\x61\x6D\x65":_0xd72b[245],"\x76\x61\x6C\x75\x65":_0xd72b[246]},{"\x6E\x61\x6D\x65":_0xd72b[247],"\x76\x61\x6C\x75\x65":_0xd72b[248]},{"\x6E\x61\x6D\x65":_0xd72b[249],"\x76\x61\x6C\x75\x65":_0xd72b[250]},{"\x6E\x61\x6D\x65":_0xd72b[251],"\x76\x61\x6C\x75\x65":_0xd72b[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0xd72b[253],"\x76\x61\x6C\x75\x65":_0xd72b[226]},{"\x6E\x61\x6D\x65":_0xd72b[254],"\x76\x61\x6C\x75\x65":_0xd72b[255]},{"\x6E\x61\x6D\x65":_0xd72b[256],"\x76\x61\x6C\x75\x65":_0xd72b[257]},{"\x6E\x61\x6D\x65":_0xd72b[258],"\x76\x61\x6C\x75\x65":_0xd72b[259]}],"\x73\x65\x6C\x65\x63\x74":_0xd72b[304],"\x72\x65\x70\x6F\x72\x74":_0xd72b[236],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0xd72b[101],"\x64\x65\x74\x61\x69\x6C\x73":_0xd72b[305]},"\x74\x69\x74\x6C\x65":_0xd72b[263],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0xd72b[264],"\x77\x69\x64":_0xd72b[306]},{"\x74\x79\x70\x65":_0xd72b[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6C\x6F\x72":_0xd72b[244],"\x69\x63\x6F\x6E":_0xd72b[226],"\x6C\x69\x6E\x6B":_0xd72b[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0xd72b[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0xd72b[229],"\x76\x61\x6C\x75\x65":_0xd72b[230]},{"\x6E\x61\x6D\x65":_0xd72b[231],"\x76\x61\x6C\x75\x65":_0xd72b[232]},{"\x6E\x61\x6D\x65":_0xd72b[233],"\x76\x61\x6C\x75\x65":_0xd72b[234]},{"\x6E\x61\x6D\x65":_0xd72b[235],"\x76\x61\x6C\x75\x65":_0xd72b[236]},{"\x6E\x61\x6D\x65":_0xd72b[26],"\x76\x61\x6C\x75\x65":_0xd72b[237]},{"\x6E\x61\x6D\x65":_0xd72b[238],"\x76\x61\x6C\x75\x65":_0xd72b[239]},{"\x6E\x61\x6D\x65":_0xd72b[240],"\x76\x61\x6C\x75\x65":_0xd72b[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0xd72b[242],"\x76\x61\x6C\x75\x65":_0xd72b[225]},{"\x6E\x61\x6D\x65":_0xd72b[243],"\x76\x61\x6C\x75\x65":_0xd72b[244]},{"\x6E\x61\x6D\x65":_0xd72b[245],"\x76\x61\x6C\x75\x65":_0xd72b[246]},{"\x6E\x61\x6D\x65":_0xd72b[247],"\x76\x61\x6C\x75\x65":_0xd72b[248]},{"\x6E\x61\x6D\x65":_0xd72b[249],"\x76\x61\x6C\x75\x65":_0xd72b[250]},{"\x6E\x61\x6D\x65":_0xd72b[251],"\x76\x61\x6C\x75\x65":_0xd72b[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0xd72b[253],"\x76\x61\x6C\x75\x65":_0xd72b[226]},{"\x6E\x61\x6D\x65":_0xd72b[254],"\x76\x61\x6C\x75\x65":_0xd72b[255]},{"\x6E\x61\x6D\x65":_0xd72b[256],"\x76\x61\x6C\x75\x65":_0xd72b[257]},{"\x6E\x61\x6D\x65":_0xd72b[258],"\x76\x61\x6C\x75\x65":_0xd72b[259]}],"\x73\x65\x6C\x65\x63\x74":_0xd72b[307],"\x72\x65\x70\x6F\x72\x74":_0xd72b[236],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0xd72b[284],"\x64\x65\x74\x61\x69\x6C\x73":_0xd72b[308]},"\x74\x69\x74\x6C\x65":_0xd72b[263],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0xd72b[264],"\x77\x69\x64":_0xd72b[309]},{"\x74\x79\x70\x65":_0xd72b[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0xd72b[101],"\x63\x6F\x6C\x6F\x72":_0xd72b[246],"\x69\x63\x6F\x6E":_0xd72b[226],"\x6C\x69\x6E\x6B":_0xd72b[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0xd72b[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0xd72b[229],"\x76\x61\x6C\x75\x65":_0xd72b[230]},{"\x6E\x61\x6D\x65":_0xd72b[231],"\x76\x61\x6C\x75\x65":_0xd72b[232]},{"\x6E\x61\x6D\x65":_0xd72b[233],"\x76\x61\x6C\x75\x65":_0xd72b[234]},{"\x6E\x61\x6D\x65":_0xd72b[235],"\x76\x61\x6C\x75\x65":_0xd72b[236]},{"\x6E\x61\x6D\x65":_0xd72b[26],"\x76\x61\x6C\x75\x65":_0xd72b[237]},{"\x6E\x61\x6D\x65":_0xd72b[238],"\x76\x61\x6C\x75\x65":_0xd72b[239]},{"\x6E\x61\x6D\x65":_0xd72b[240],"\x76\x61\x6C\x75\x65":_0xd72b[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0xd72b[242],"\x76\x61\x6C\x75\x65":_0xd72b[225]},{"\x6E\x61\x6D\x65":_0xd72b[243],"\x76\x61\x6C\x75\x65":_0xd72b[244]},{"\x6E\x61\x6D\x65":_0xd72b[245],"\x76\x61\x6C\x75\x65":_0xd72b[246]},{"\x6E\x61\x6D\x65":_0xd72b[247],"\x76\x61\x6C\x75\x65":_0xd72b[248]},{"\x6E\x61\x6D\x65":_0xd72b[249],"\x76\x61\x6C\x75\x65":_0xd72b[250]},{"\x6E\x61\x6D\x65":_0xd72b[251],"\x76\x61\x6C\x75\x65":_0xd72b[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0xd72b[253],"\x76\x61\x6C\x75\x65":_0xd72b[226]},{"\x6E\x61\x6D\x65":_0xd72b[254],"\x76\x61\x6C\x75\x65":_0xd72b[255]},{"\x6E\x61\x6D\x65":_0xd72b[256],"\x76\x61\x6C\x75\x65":_0xd72b[257]},{"\x6E\x61\x6D\x65":_0xd72b[258],"\x76\x61\x6C\x75\x65":_0xd72b[259]}],"\x73\x65\x6C\x65\x63\x74":_0xd72b[310],"\x72\x65\x70\x6F\x72\x74":_0xd72b[236],"\x64\x65\x74\x61\x69\x6C\x73":_0xd72b[311]},"\x74\x69\x74\x6C\x65":_0xd72b[312],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0xd72b[264],"\x77\x69\x64":_0xd72b[313]}],"\x63\x69\x64":_0xd72b[314]},{"\x73\x74\x79\x6C\x65\x43\x6C\x61\x73\x73":_0xd72b[223],"\x77\x69\x64\x67\x65\x74\x73":[{"\x74\x79\x70\x65":_0xd72b[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6C\x6F\x72":_0xd72b[244],"\x69\x63\x6F\x6E":_0xd72b[226],"\x6C\x69\x6E\x6B":_0xd72b[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0xd72b[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0xd72b[229],"\x76\x61\x6C\x75\x65":_0xd72b[230]},{"\x6E\x61\x6D\x65":_0xd72b[231],"\x76\x61\x6C\x75\x65":_0xd72b[232]},{"\x6E\x61\x6D\x65":_0xd72b[233],"\x76\x61\x6C\x75\x65":_0xd72b[234]},{"\x6E\x61\x6D\x65":_0xd72b[235],"\x76\x61\x6C\x75\x65":_0xd72b[236]},{"\x6E\x61\x6D\x65":_0xd72b[26],"\x76\x61\x6C\x75\x65":_0xd72b[237]},{"\x6E\x61\x6D\x65":_0xd72b[238],"\x76\x61\x6C\x75\x65":_0xd72b[239]},{"\x6E\x61\x6D\x65":_0xd72b[240],"\x76\x61\x6C\x75\x65":_0xd72b[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0xd72b[242],"\x76\x61\x6C\x75\x65":_0xd72b[225]},{"\x6E\x61\x6D\x65":_0xd72b[243],"\x76\x61\x6C\x75\x65":_0xd72b[244]},{"\x6E\x61\x6D\x65":_0xd72b[245],"\x76\x61\x6C\x75\x65":_0xd72b[246]},{"\x6E\x61\x6D\x65":_0xd72b[247],"\x76\x61\x6C\x75\x65":_0xd72b[248]},{"\x6E\x61\x6D\x65":_0xd72b[249],"\x76\x61\x6C\x75\x65":_0xd72b[250]},{"\x6E\x61\x6D\x65":_0xd72b[251],"\x76\x61\x6C\x75\x65":_0xd72b[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0xd72b[253],"\x76\x61\x6C\x75\x65":_0xd72b[226]},{"\x6E\x61\x6D\x65":_0xd72b[254],"\x76\x61\x6C\x75\x65":_0xd72b[255]},{"\x6E\x61\x6D\x65":_0xd72b[256],"\x76\x61\x6C\x75\x65":_0xd72b[257]},{"\x6E\x61\x6D\x65":_0xd72b[258],"\x76\x61\x6C\x75\x65":_0xd72b[259]}],"\x73\x65\x6C\x65\x63\x74":_0xd72b[315],"\x72\x65\x70\x6F\x72\x74":_0xd72b[236],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0xd72b[281],"\x64\x65\x74\x61\x69\x6C\x73":_0xd72b[316]},"\x74\x69\x74\x6C\x65":_0xd72b[263],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0xd72b[264],"\x77\x69\x64":_0xd72b[317]},{"\x74\x79\x70\x65":_0xd72b[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6C\x6F\x72":_0xd72b[244],"\x69\x63\x6F\x6E":_0xd72b[226],"\x6C\x69\x6E\x6B":_0xd72b[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0xd72b[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0xd72b[229],"\x76\x61\x6C\x75\x65":_0xd72b[230]},{"\x6E\x61\x6D\x65":_0xd72b[231],"\x76\x61\x6C\x75\x65":_0xd72b[232]},{"\x6E\x61\x6D\x65":_0xd72b[233],"\x76\x61\x6C\x75\x65":_0xd72b[234]},{"\x6E\x61\x6D\x65":_0xd72b[235],"\x76\x61\x6C\x75\x65":_0xd72b[236]},{"\x6E\x61\x6D\x65":_0xd72b[26],"\x76\x61\x6C\x75\x65":_0xd72b[237]},{"\x6E\x61\x6D\x65":_0xd72b[238],"\x76\x61\x6C\x75\x65":_0xd72b[239]},{"\x6E\x61\x6D\x65":_0xd72b[240],"\x76\x61\x6C\x75\x65":_0xd72b[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0xd72b[242],"\x76\x61\x6C\x75\x65":_0xd72b[225]},{"\x6E\x61\x6D\x65":_0xd72b[243],"\x76\x61\x6C\x75\x65":_0xd72b[244]},{"\x6E\x61\x6D\x65":_0xd72b[245],"\x76\x61\x6C\x75\x65":_0xd72b[246]},{"\x6E\x61\x6D\x65":_0xd72b[247],"\x76\x61\x6C\x75\x65":_0xd72b[248]},{"\x6E\x61\x6D\x65":_0xd72b[249],"\x76\x61\x6C\x75\x65":_0xd72b[250]},{"\x6E\x61\x6D\x65":_0xd72b[251],"\x76\x61\x6C\x75\x65":_0xd72b[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0xd72b[253],"\x76\x61\x6C\x75\x65":_0xd72b[226]},{"\x6E\x61\x6D\x65":_0xd72b[254],"\x76\x61\x6C\x75\x65":_0xd72b[255]},{"\x6E\x61\x6D\x65":_0xd72b[256],"\x76\x61\x6C\x75\x65":_0xd72b[257]},{"\x6E\x61\x6D\x65":_0xd72b[258],"\x76\x61\x6C\x75\x65":_0xd72b[259]}],"\x73\x65\x6C\x65\x63\x74":_0xd72b[262],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0xd72b[318],"\x72\x65\x70\x6F\x72\x74":_0xd72b[236],"\x64\x65\x74\x61\x69\x6C\x73":_0xd72b[319]},"\x74\x69\x74\x6C\x65":_0xd72b[263],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0xd72b[264],"\x77\x69\x64":_0xd72b[320]},{"\x74\x79\x70\x65":_0xd72b[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6C\x6F\x72":_0xd72b[252],"\x69\x63\x6F\x6E":_0xd72b[226],"\x6C\x69\x6E\x6B":_0xd72b[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0xd72b[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0xd72b[229],"\x76\x61\x6C\x75\x65":_0xd72b[230]},{"\x6E\x61\x6D\x65":_0xd72b[231],"\x76\x61\x6C\x75\x65":_0xd72b[232]},{"\x6E\x61\x6D\x65":_0xd72b[233],"\x76\x61\x6C\x75\x65":_0xd72b[234]},{"\x6E\x61\x6D\x65":_0xd72b[235],"\x76\x61\x6C\x75\x65":_0xd72b[236]},{"\x6E\x61\x6D\x65":_0xd72b[26],"\x76\x61\x6C\x75\x65":_0xd72b[237]},{"\x6E\x61\x6D\x65":_0xd72b[238],"\x76\x61\x6C\x75\x65":_0xd72b[239]},{"\x6E\x61\x6D\x65":_0xd72b[240],"\x76\x61\x6C\x75\x65":_0xd72b[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0xd72b[242],"\x76\x61\x6C\x75\x65":_0xd72b[225]},{"\x6E\x61\x6D\x65":_0xd72b[243],"\x76\x61\x6C\x75\x65":_0xd72b[244]},{"\x6E\x61\x6D\x65":_0xd72b[245],"\x76\x61\x6C\x75\x65":_0xd72b[246]},{"\x6E\x61\x6D\x65":_0xd72b[247],"\x76\x61\x6C\x75\x65":_0xd72b[248]},{"\x6E\x61\x6D\x65":_0xd72b[249],"\x76\x61\x6C\x75\x65":_0xd72b[250]},{"\x6E\x61\x6D\x65":_0xd72b[251],"\x76\x61\x6C\x75\x65":_0xd72b[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0xd72b[253],"\x76\x61\x6C\x75\x65":_0xd72b[226]},{"\x6E\x61\x6D\x65":_0xd72b[254],"\x76\x61\x6C\x75\x65":_0xd72b[255]},{"\x6E\x61\x6D\x65":_0xd72b[256],"\x76\x61\x6C\x75\x65":_0xd72b[257]},{"\x6E\x61\x6D\x65":_0xd72b[258],"\x76\x61\x6C\x75\x65":_0xd72b[259]}],"\x73\x65\x6C\x65\x63\x74":_0xd72b[321],"\x72\x65\x70\x6F\x72\x74":_0xd72b[230],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0xd72b[273],"\x64\x65\x74\x61\x69\x6C\x73":_0xd72b[322]},"\x74\x69\x74\x6C\x65":_0xd72b[263],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0xd72b[264],"\x77\x69\x64":_0xd72b[323]}],"\x63\x69\x64":_0xd72b[324]}]}],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0xd72b[325],"\x73\x74\x72\x75\x63\x74\x75\x72\x65":_0xd72b[326]}),defaultEntry:true,editable:true},{name:_0xd72b[328],model:JSON[_0xd72b[327]]({"\x74\x69\x74\x6C\x65":_0xd72b[328],"\x72\x6F\x77\x73":[{"\x63\x6F\x6C\x75\x6D\x6E\x73":[{"\x73\x74\x79\x6C\x65\x43\x6C\x61\x73\x73":_0xd72b[223],"\x77\x69\x64\x67\x65\x74\x73":[{"\x74\x79\x70\x65":_0xd72b[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6C\x6F\x72":_0xd72b[248],"\x69\x63\x6F\x6E":_0xd72b[259],"\x6C\x69\x6E\x6B":_0xd72b[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0xd72b[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0xd72b[229],"\x76\x61\x6C\x75\x65":_0xd72b[230]},{"\x6E\x61\x6D\x65":_0xd72b[231],"\x76\x61\x6C\x75\x65":_0xd72b[232]},{"\x6E\x61\x6D\x65":_0xd72b[233],"\x76\x61\x6C\x75\x65":_0xd72b[234]},{"\x6E\x61\x6D\x65":_0xd72b[235],"\x76\x61\x6C\x75\x65":_0xd72b[236]},{"\x6E\x61\x6D\x65":_0xd72b[26],"\x76\x61\x6C\x75\x65":_0xd72b[237]},{"\x6E\x61\x6D\x65":_0xd72b[238],"\x76\x61\x6C\x75\x65":_0xd72b[239]},{"\x6E\x61\x6D\x65":_0xd72b[240],"\x76\x61\x6C\x75\x65":_0xd72b[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0xd72b[242],"\x76\x61\x6C\x75\x65":_0xd72b[225]},{"\x6E\x61\x6D\x65":_0xd72b[243],"\x76\x61\x6C\x75\x65":_0xd72b[244]},{"\x6E\x61\x6D\x65":_0xd72b[245],"\x76\x61\x6C\x75\x65":_0xd72b[246]},{"\x6E\x61\x6D\x65":_0xd72b[247],"\x76\x61\x6C\x75\x65":_0xd72b[248]},{"\x6E\x61\x6D\x65":_0xd72b[249],"\x76\x61\x6C\x75\x65":_0xd72b[250]},{"\x6E\x61\x6D\x65":_0xd72b[251],"\x76\x61\x6C\x75\x65":_0xd72b[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0xd72b[253],"\x76\x61\x6C\x75\x65":_0xd72b[226]},{"\x6E\x61\x6D\x65":_0xd72b[254],"\x76\x61\x6C\x75\x65":_0xd72b[255]},{"\x6E\x61\x6D\x65":_0xd72b[256],"\x76\x61\x6C\x75\x65":_0xd72b[257]},{"\x6E\x61\x6D\x65":_0xd72b[258],"\x76\x61\x6C\x75\x65":_0xd72b[259]}],"\x73\x65\x6C\x65\x63\x74":_0xd72b[262],"\x72\x65\x70\x6F\x72\x74":_0xd72b[232],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0xd72b[329],"\x64\x65\x74\x61\x69\x6C\x73":_0xd72b[330]},"\x74\x69\x74\x6C\x65":_0xd72b[263],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0xd72b[264],"\x77\x69\x64":_0xd72b[331]},{"\x74\x79\x70\x65":_0xd72b[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0xd72b[332],"\x63\x6F\x6C\x6F\x72":_0xd72b[246],"\x69\x63\x6F\x6E":_0xd72b[259],"\x6C\x69\x6E\x6B":_0xd72b[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0xd72b[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0xd72b[229],"\x76\x61\x6C\x75\x65":_0xd72b[230]},{"\x6E\x61\x6D\x65":_0xd72b[231],"\x76\x61\x6C\x75\x65":_0xd72b[232]},{"\x6E\x61\x6D\x65":_0xd72b[233],"\x76\x61\x6C\x75\x65":_0xd72b[234]},{"\x6E\x61\x6D\x65":_0xd72b[235],"\x76\x61\x6C\x75\x65":_0xd72b[236]},{"\x6E\x61\x6D\x65":_0xd72b[26],"\x76\x61\x6C\x75\x65":_0xd72b[237]},{"\x6E\x61\x6D\x65":_0xd72b[238],"\x76\x61\x6C\x75\x65":_0xd72b[239]},{"\x6E\x61\x6D\x65":_0xd72b[240],"\x76\x61\x6C\x75\x65":_0xd72b[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0xd72b[242],"\x76\x61\x6C\x75\x65":_0xd72b[225]},{"\x6E\x61\x6D\x65":_0xd72b[243],"\x76\x61\x6C\x75\x65":_0xd72b[244]},{"\x6E\x61\x6D\x65":_0xd72b[245],"\x76\x61\x6C\x75\x65":_0xd72b[246]},{"\x6E\x61\x6D\x65":_0xd72b[247],"\x76\x61\x6C\x75\x65":_0xd72b[248]},{"\x6E\x61\x6D\x65":_0xd72b[249],"\x76\x61\x6C\x75\x65":_0xd72b[250]},{"\x6E\x61\x6D\x65":_0xd72b[251],"\x76\x61\x6C\x75\x65":_0xd72b[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0xd72b[253],"\x76\x61\x6C\x75\x65":_0xd72b[226]},{"\x6E\x61\x6D\x65":_0xd72b[254],"\x76\x61\x6C\x75\x65":_0xd72b[255]},{"\x6E\x61\x6D\x65":_0xd72b[256],"\x76\x61\x6C\x75\x65":_0xd72b[257]},{"\x6E\x61\x6D\x65":_0xd72b[258],"\x76\x61\x6C\x75\x65":_0xd72b[259]}],"\x73\x65\x6C\x65\x63\x74":_0xd72b[262],"\x72\x65\x70\x6F\x72\x74":_0xd72b[232],"\x64\x65\x74\x61\x69\x6C\x73":_0xd72b[333]},"\x74\x69\x74\x6C\x65":_0xd72b[263],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0xd72b[264],"\x77\x69\x64":_0xd72b[334]}],"\x63\x69\x64":_0xd72b[280]},{"\x73\x74\x79\x6C\x65\x43\x6C\x61\x73\x73":_0xd72b[223],"\x77\x69\x64\x67\x65\x74\x73":[{"\x74\x79\x70\x65":_0xd72b[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6C\x6F\x72":_0xd72b[248],"\x69\x63\x6F\x6E":_0xd72b[259],"\x6C\x69\x6E\x6B":_0xd72b[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0xd72b[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0xd72b[229],"\x76\x61\x6C\x75\x65":_0xd72b[230]},{"\x6E\x61\x6D\x65":_0xd72b[231],"\x76\x61\x6C\x75\x65":_0xd72b[232]},{"\x6E\x61\x6D\x65":_0xd72b[233],"\x76\x61\x6C\x75\x65":_0xd72b[234]},{"\x6E\x61\x6D\x65":_0xd72b[235],"\x76\x61\x6C\x75\x65":_0xd72b[236]},{"\x6E\x61\x6D\x65":_0xd72b[26],"\x76\x61\x6C\x75\x65":_0xd72b[237]},{"\x6E\x61\x6D\x65":_0xd72b[238],"\x76\x61\x6C\x75\x65":_0xd72b[239]},{"\x6E\x61\x6D\x65":_0xd72b[240],"\x76\x61\x6C\x75\x65":_0xd72b[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0xd72b[242],"\x76\x61\x6C\x75\x65":_0xd72b[225]},{"\x6E\x61\x6D\x65":_0xd72b[243],"\x76\x61\x6C\x75\x65":_0xd72b[244]},{"\x6E\x61\x6D\x65":_0xd72b[245],"\x76\x61\x6C\x75\x65":_0xd72b[246]},{"\x6E\x61\x6D\x65":_0xd72b[247],"\x76\x61\x6C\x75\x65":_0xd72b[248]},{"\x6E\x61\x6D\x65":_0xd72b[249],"\x76\x61\x6C\x75\x65":_0xd72b[250]},{"\x6E\x61\x6D\x65":_0xd72b[251],"\x76\x61\x6C\x75\x65":_0xd72b[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0xd72b[253],"\x76\x61\x6C\x75\x65":_0xd72b[226]},{"\x6E\x61\x6D\x65":_0xd72b[254],"\x76\x61\x6C\x75\x65":_0xd72b[255]},{"\x6E\x61\x6D\x65":_0xd72b[256],"\x76\x61\x6C\x75\x65":_0xd72b[257]},{"\x6E\x61\x6D\x65":_0xd72b[258],"\x76\x61\x6C\x75\x65":_0xd72b[259]}],"\x73\x65\x6C\x65\x63\x74":_0xd72b[335],"\x72\x65\x70\x6F\x72\x74":_0xd72b[232],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0xd72b[329],"\x64\x65\x74\x61\x69\x6C\x73":_0xd72b[336]},"\x74\x69\x74\x6C\x65":_0xd72b[263],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0xd72b[264],"\x77\x69\x64":_0xd72b[337]},{"\x74\x79\x70\x65":_0xd72b[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0xd72b[329],"\x63\x6F\x6C\x6F\x72":_0xd72b[250],"\x69\x63\x6F\x6E":_0xd72b[226],"\x6C\x69\x6E\x6B":_0xd72b[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0xd72b[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0xd72b[229],"\x76\x61\x6C\x75\x65":_0xd72b[230]},{"\x6E\x61\x6D\x65":_0xd72b[231],"\x76\x61\x6C\x75\x65":_0xd72b[232]},{"\x6E\x61\x6D\x65":_0xd72b[233],"\x76\x61\x6C\x75\x65":_0xd72b[234]},{"\x6E\x61\x6D\x65":_0xd72b[235],"\x76\x61\x6C\x75\x65":_0xd72b[236]},{"\x6E\x61\x6D\x65":_0xd72b[26],"\x76\x61\x6C\x75\x65":_0xd72b[237]},{"\x6E\x61\x6D\x65":_0xd72b[238],"\x76\x61\x6C\x75\x65":_0xd72b[239]},{"\x6E\x61\x6D\x65":_0xd72b[240],"\x76\x61\x6C\x75\x65":_0xd72b[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0xd72b[242],"\x76\x61\x6C\x75\x65":_0xd72b[225]},{"\x6E\x61\x6D\x65":_0xd72b[243],"\x76\x61\x6C\x75\x65":_0xd72b[244]},{"\x6E\x61\x6D\x65":_0xd72b[245],"\x76\x61\x6C\x75\x65":_0xd72b[246]},{"\x6E\x61\x6D\x65":_0xd72b[247],"\x76\x61\x6C\x75\x65":_0xd72b[248]},{"\x6E\x61\x6D\x65":_0xd72b[249],"\x76\x61\x6C\x75\x65":_0xd72b[250]},{"\x6E\x61\x6D\x65":_0xd72b[251],"\x76\x61\x6C\x75\x65":_0xd72b[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0xd72b[253],"\x76\x61\x6C\x75\x65":_0xd72b[226]},{"\x6E\x61\x6D\x65":_0xd72b[254],"\x76\x61\x6C\x75\x65":_0xd72b[255]},{"\x6E\x61\x6D\x65":_0xd72b[256],"\x76\x61\x6C\x75\x65":_0xd72b[257]},{"\x6E\x61\x6D\x65":_0xd72b[258],"\x76\x61\x6C\x75\x65":_0xd72b[259]}],"\x73\x65\x6C\x65\x63\x74":_0xd72b[338],"\x72\x65\x70\x6F\x72\x74":_0xd72b[232],"\x64\x65\x74\x61\x69\x6C\x73":_0xd72b[339]},"\x74\x69\x74\x6C\x65":_0xd72b[263],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0xd72b[264],"\x77\x69\x64":_0xd72b[340]}],"\x63\x69\x64":_0xd72b[297]},{"\x73\x74\x79\x6C\x65\x43\x6C\x61\x73\x73":_0xd72b[223],"\x77\x69\x64\x67\x65\x74\x73":[{"\x74\x79\x70\x65":_0xd72b[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0xd72b[329],"\x63\x6F\x6C\x6F\x72":_0xd72b[225],"\x69\x63\x6F\x6E":_0xd72b[226],"\x6C\x69\x6E\x6B":_0xd72b[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0xd72b[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0xd72b[229],"\x76\x61\x6C\x75\x65":_0xd72b[230]},{"\x6E\x61\x6D\x65":_0xd72b[231],"\x76\x61\x6C\x75\x65":_0xd72b[232]},{"\x6E\x61\x6D\x65":_0xd72b[233],"\x76\x61\x6C\x75\x65":_0xd72b[234]},{"\x6E\x61\x6D\x65":_0xd72b[235],"\x76\x61\x6C\x75\x65":_0xd72b[236]},{"\x6E\x61\x6D\x65":_0xd72b[26],"\x76\x61\x6C\x75\x65":_0xd72b[237]},{"\x6E\x61\x6D\x65":_0xd72b[238],"\x76\x61\x6C\x75\x65":_0xd72b[239]},{"\x6E\x61\x6D\x65":_0xd72b[240],"\x76\x61\x6C\x75\x65":_0xd72b[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0xd72b[242],"\x76\x61\x6C\x75\x65":_0xd72b[225]},{"\x6E\x61\x6D\x65":_0xd72b[243],"\x76\x61\x6C\x75\x65":_0xd72b[244]},{"\x6E\x61\x6D\x65":_0xd72b[245],"\x76\x61\x6C\x75\x65":_0xd72b[246]},{"\x6E\x61\x6D\x65":_0xd72b[247],"\x76\x61\x6C\x75\x65":_0xd72b[248]},{"\x6E\x61\x6D\x65":_0xd72b[249],"\x76\x61\x6C\x75\x65":_0xd72b[250]},{"\x6E\x61\x6D\x65":_0xd72b[251],"\x76\x61\x6C\x75\x65":_0xd72b[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0xd72b[253],"\x76\x61\x6C\x75\x65":_0xd72b[226]},{"\x6E\x61\x6D\x65":_0xd72b[254],"\x76\x61\x6C\x75\x65":_0xd72b[255]},{"\x6E\x61\x6D\x65":_0xd72b[256],"\x76\x61\x6C\x75\x65":_0xd72b[257]},{"\x6E\x61\x6D\x65":_0xd72b[258],"\x76\x61\x6C\x75\x65":_0xd72b[259]}],"\x73\x65\x6C\x65\x63\x74":_0xd72b[341],"\x72\x65\x70\x6F\x72\x74":_0xd72b[232],"\x64\x65\x74\x61\x69\x6C\x73":_0xd72b[342]},"\x74\x69\x74\x6C\x65":_0xd72b[263],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0xd72b[264],"\x77\x69\x64":_0xd72b[343]}],"\x63\x69\x64":_0xd72b[314]},{"\x73\x74\x79\x6C\x65\x43\x6C\x61\x73\x73":_0xd72b[223],"\x77\x69\x64\x67\x65\x74\x73":[],"\x63\x69\x64":_0xd72b[324]}]}],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0xd72b[325],"\x73\x74\x72\x75\x63\x74\x75\x72\x65":_0xd72b[326]}),defaultEntry:true,editable:true},{name:_0xd72b[344],model:JSON[_0xd72b[327]]({"\x74\x69\x74\x6C\x65":_0xd72b[344],"\x72\x6F\x77\x73":[{"\x63\x6F\x6C\x75\x6D\x6E\x73":[{"\x73\x74\x79\x6C\x65\x43\x6C\x61\x73\x73":_0xd72b[223],"\x77\x69\x64\x67\x65\x74\x73":[{"\x74\x79\x70\x65":_0xd72b[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6C\x6F\x72":_0xd72b[248],"\x69\x63\x6F\x6E":_0xd72b[259],"\x6C\x69\x6E\x6B":_0xd72b[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0xd72b[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0xd72b[229],"\x76\x61\x6C\x75\x65":_0xd72b[230]},{"\x6E\x61\x6D\x65":_0xd72b[231],"\x76\x61\x6C\x75\x65":_0xd72b[232]},{"\x6E\x61\x6D\x65":_0xd72b[233],"\x76\x61\x6C\x75\x65":_0xd72b[234]},{"\x6E\x61\x6D\x65":_0xd72b[235],"\x76\x61\x6C\x75\x65":_0xd72b[236]},{"\x6E\x61\x6D\x65":_0xd72b[26],"\x76\x61\x6C\x75\x65":_0xd72b[237]},{"\x6E\x61\x6D\x65":_0xd72b[238],"\x76\x61\x6C\x75\x65":_0xd72b[239]},{"\x6E\x61\x6D\x65":_0xd72b[240],"\x76\x61\x6C\x75\x65":_0xd72b[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0xd72b[242],"\x76\x61\x6C\x75\x65":_0xd72b[225]},{"\x6E\x61\x6D\x65":_0xd72b[243],"\x76\x61\x6C\x75\x65":_0xd72b[244]},{"\x6E\x61\x6D\x65":_0xd72b[245],"\x76\x61\x6C\x75\x65":_0xd72b[246]},{"\x6E\x61\x6D\x65":_0xd72b[247],"\x76\x61\x6C\x75\x65":_0xd72b[248]},{"\x6E\x61\x6D\x65":_0xd72b[249],"\x76\x61\x6C\x75\x65":_0xd72b[250]},{"\x6E\x61\x6D\x65":_0xd72b[251],"\x76\x61\x6C\x75\x65":_0xd72b[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0xd72b[253],"\x76\x61\x6C\x75\x65":_0xd72b[226]},{"\x6E\x61\x6D\x65":_0xd72b[254],"\x76\x61\x6C\x75\x65":_0xd72b[255]},{"\x6E\x61\x6D\x65":_0xd72b[256],"\x76\x61\x6C\x75\x65":_0xd72b[257]},{"\x6E\x61\x6D\x65":_0xd72b[258],"\x76\x61\x6C\x75\x65":_0xd72b[259]}],"\x73\x65\x6C\x65\x63\x74":_0xd72b[262],"\x72\x65\x70\x6F\x72\x74":_0xd72b[237],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0xd72b[345],"\x64\x65\x74\x61\x69\x6C\x73":_0xd72b[346]},"\x74\x69\x74\x6C\x65":_0xd72b[347],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0xd72b[264],"\x77\x69\x64":_0xd72b[348]}],"\x63\x69\x64":_0xd72b[280]},{"\x73\x74\x79\x6C\x65\x43\x6C\x61\x73\x73":_0xd72b[223],"\x77\x69\x64\x67\x65\x74\x73":[{"\x74\x79\x70\x65":_0xd72b[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6C\x6F\x72":_0xd72b[252],"\x69\x63\x6F\x6E":_0xd72b[259],"\x6C\x69\x6E\x6B":_0xd72b[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0xd72b[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0xd72b[229],"\x76\x61\x6C\x75\x65":_0xd72b[230]},{"\x6E\x61\x6D\x65":_0xd72b[231],"\x76\x61\x6C\x75\x65":_0xd72b[232]},{"\x6E\x61\x6D\x65":_0xd72b[233],"\x76\x61\x6C\x75\x65":_0xd72b[234]},{"\x6E\x61\x6D\x65":_0xd72b[235],"\x76\x61\x6C\x75\x65":_0xd72b[236]},{"\x6E\x61\x6D\x65":_0xd72b[26],"\x76\x61\x6C\x75\x65":_0xd72b[237]},{"\x6E\x61\x6D\x65":_0xd72b[238],"\x76\x61\x6C\x75\x65":_0xd72b[239]},{"\x6E\x61\x6D\x65":_0xd72b[240],"\x76\x61\x6C\x75\x65":_0xd72b[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0xd72b[242],"\x76\x61\x6C\x75\x65":_0xd72b[225]},{"\x6E\x61\x6D\x65":_0xd72b[243],"\x76\x61\x6C\x75\x65":_0xd72b[244]},{"\x6E\x61\x6D\x65":_0xd72b[245],"\x76\x61\x6C\x75\x65":_0xd72b[246]},{"\x6E\x61\x6D\x65":_0xd72b[247],"\x76\x61\x6C\x75\x65":_0xd72b[248]},{"\x6E\x61\x6D\x65":_0xd72b[249],"\x76\x61\x6C\x75\x65":_0xd72b[250]},{"\x6E\x61\x6D\x65":_0xd72b[251],"\x76\x61\x6C\x75\x65":_0xd72b[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0xd72b[253],"\x76\x61\x6C\x75\x65":_0xd72b[226]},{"\x6E\x61\x6D\x65":_0xd72b[254],"\x76\x61\x6C\x75\x65":_0xd72b[255]},{"\x6E\x61\x6D\x65":_0xd72b[256],"\x76\x61\x6C\x75\x65":_0xd72b[257]},{"\x6E\x61\x6D\x65":_0xd72b[258],"\x76\x61\x6C\x75\x65":_0xd72b[259]}],"\x73\x65\x6C\x65\x63\x74":_0xd72b[262],"\x72\x65\x70\x6F\x72\x74":_0xd72b[237],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0xd72b[349],"\x64\x65\x74\x61\x69\x6C\x73":_0xd72b[350]},"\x74\x69\x74\x6C\x65":_0xd72b[347],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0xd72b[264],"\x77\x69\x64":_0xd72b[351]}],"\x63\x69\x64":_0xd72b[297]},{"\x73\x74\x79\x6C\x65\x43\x6C\x61\x73\x73":_0xd72b[223],"\x77\x69\x64\x67\x65\x74\x73":[{"\x74\x79\x70\x65":_0xd72b[224],"\x63\x6F\x6E\x66\x69\x67":{"\x74\x69\x6D\x65\x6F\x75\x74":1,"\x63\x6F\x6C\x6F\x72":_0xd72b[250],"\x69\x63\x6F\x6E":_0xd72b[226],"\x6C\x69\x6E\x6B":_0xd72b[227],"\x6C\x69\x6E\x6B\x54\x65\x78\x74":_0xd72b[228],"\x72\x65\x70\x6F\x72\x74\x54\x61\x62\x6C\x65\x73":[{"\x6E\x61\x6D\x65":_0xd72b[229],"\x76\x61\x6C\x75\x65":_0xd72b[230]},{"\x6E\x61\x6D\x65":_0xd72b[231],"\x76\x61\x6C\x75\x65":_0xd72b[232]},{"\x6E\x61\x6D\x65":_0xd72b[233],"\x76\x61\x6C\x75\x65":_0xd72b[234]},{"\x6E\x61\x6D\x65":_0xd72b[235],"\x76\x61\x6C\x75\x65":_0xd72b[236]},{"\x6E\x61\x6D\x65":_0xd72b[26],"\x76\x61\x6C\x75\x65":_0xd72b[237]},{"\x6E\x61\x6D\x65":_0xd72b[238],"\x76\x61\x6C\x75\x65":_0xd72b[239]},{"\x6E\x61\x6D\x65":_0xd72b[240],"\x76\x61\x6C\x75\x65":_0xd72b[241]}],"\x63\x6F\x6C\x6F\x72\x73":[{"\x6E\x61\x6D\x65":_0xd72b[242],"\x76\x61\x6C\x75\x65":_0xd72b[225]},{"\x6E\x61\x6D\x65":_0xd72b[243],"\x76\x61\x6C\x75\x65":_0xd72b[244]},{"\x6E\x61\x6D\x65":_0xd72b[245],"\x76\x61\x6C\x75\x65":_0xd72b[246]},{"\x6E\x61\x6D\x65":_0xd72b[247],"\x76\x61\x6C\x75\x65":_0xd72b[248]},{"\x6E\x61\x6D\x65":_0xd72b[249],"\x76\x61\x6C\x75\x65":_0xd72b[250]},{"\x6E\x61\x6D\x65":_0xd72b[251],"\x76\x61\x6C\x75\x65":_0xd72b[252]}],"\x69\x63\x6F\x6E\x73":[{"\x6E\x61\x6D\x65":_0xd72b[253],"\x76\x61\x6C\x75\x65":_0xd72b[226]},{"\x6E\x61\x6D\x65":_0xd72b[254],"\x76\x61\x6C\x75\x65":_0xd72b[255]},{"\x6E\x61\x6D\x65":_0xd72b[256],"\x76\x61\x6C\x75\x65":_0xd72b[257]},{"\x6E\x61\x6D\x65":_0xd72b[258],"\x76\x61\x6C\x75\x65":_0xd72b[259]}],"\x73\x65\x6C\x65\x63\x74":_0xd72b[262],"\x72\x65\x70\x6F\x72\x74":_0xd72b[237],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E":_0xd72b[352],"\x64\x65\x74\x61\x69\x6C\x73":_0xd72b[353]},"\x74\x69\x74\x6C\x65":_0xd72b[347],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0xd72b[264],"\x77\x69\x64":_0xd72b[354]}],"\x63\x69\x64":_0xd72b[314]},{"\x73\x74\x79\x6C\x65\x43\x6C\x61\x73\x73":_0xd72b[223],"\x77\x69\x64\x67\x65\x74\x73":[],"\x63\x69\x64":_0xd72b[324]}]}],"\x74\x69\x74\x6C\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x55\x72\x6C":_0xd72b[325],"\x73\x74\x72\x75\x63\x74\x75\x72\x65":_0xd72b[326]}),defaultEntry:true,editable:true}],{ignoreDuplicates:true,individualHooks:true})[_0xd72b[7]](function(_0x22bbx1b){console[_0xd72b[13]](util[_0xd72b[12]](_0xd72b[220],_[_0xd72b[11]](_0x22bbx1b,_0xd72b[10])[_0xd72b[9]]()))});models[_0xd72b[358]][_0xd72b[19]]([{id:1,min_internal:1000,min_mailbox:1000,agi_port:4573,automation_timeout:3600,soundPath:_0xd72b[357]}],{ignoreDuplicates:true,individualHooks:true})[_0xd72b[7]](function(){console[_0xd72b[13]](util[_0xd72b[12]](_0xd72b[356]))});var newModules=[{id:1,name:_0xd72b[359],title:_0xd72b[360],ModuleId:null,path:_0xd72b[361]},{id:2,name:_0xd72b[362],title:_0xd72b[363],ModuleId:null,path:_0xd72b[364]},{id:3,name:_0xd72b[365],title:_0xd72b[366],ModuleId:null,path:_0xd72b[367]},{id:4,name:_0xd72b[368],title:_0xd72b[369],ModuleId:3,path:_0xd72b[367]},{id:5,name:_0xd72b[370],title:_0xd72b[371],ModuleId:null,path:_0xd72b[372]},{id:6,name:_0xd72b[373],title:_0xd72b[374],ModuleId:null,path:null},{id:7,name:_0xd72b[375],title:_0xd72b[376],ModuleId:6,path:_0xd72b[377]},{id:8,name:_0xd72b[378],title:_0xd72b[379],ModuleId:6,path:_0xd72b[380]},{id:9,name:_0xd72b[381],title:_0xd72b[382],ModuleId:6,path:_0xd72b[383]},{id:10,name:_0xd72b[384],title:_0xd72b[385],ModuleId:6,path:_0xd72b[386]},{id:11,name:_0xd72b[387],title:_0xd72b[388],ModuleId:6,path:_0xd72b[389]},{id:12,name:_0xd72b[390],title:_0xd72b[391],ModuleId:6,path:_0xd72b[392]},{id:13,name:_0xd72b[393],title:_0xd72b[394],ModuleId:null,path:_0xd72b[395]},{id:14,name:_0xd72b[396],title:_0xd72b[397],ModuleId:null,path:_0xd72b[398]},{id:15,name:_0xd72b[399],title:_0xd72b[400],ModuleId:null,path:_0xd72b[401]},{id:16,name:_0xd72b[402],title:_0xd72b[403],ModuleId:null,path:_0xd72b[404]},{id:17,name:_0xd72b[405],title:_0xd72b[406],ModuleId:null,path:_0xd72b[407]},{id:18,name:_0xd72b[408],title:_0xd72b[409],ModuleId:null,path:_0xd72b[410]},{id:19,name:_0xd72b[411],title:_0xd72b[412],ModuleId:null,path:_0xd72b[413]}];models[_0xd72b[420]][_0xd72b[423]]()[_0xd72b[7]](function(_0x22bbx1e){var _0x22bbx1f=[];_0x22bbx1e=_[_0xd72b[11]](_0x22bbx1e,_0xd72b[5]);newModules[_0xd72b[422]](function(_0x22bbx20){if(_[_0xd72b[418]](_0x22bbx1e,_0x22bbx20[_0xd72b[5]])){_0x22bbx1f[_0xd72b[421]](models[_0xd72b[420]][_0xd72b[419]](_0x22bbx20,{where:{id:_0x22bbx20[_0xd72b[5]]}}))}else {_0x22bbx1f[_0xd72b[421]](models[_0xd72b[420]][_0xd72b[41]](_0x22bbx20))}});return _0x22bbx1f})[_0xd72b[417]]()[_0xd72b[7]](function(){console[_0xd72b[13]](_0xd72b[416])})[_0xd72b[415]](function(_0x22bbx1d){console[_0xd72b[13]](_0xd72b[414],_0x22bbx1d)});var newDefaulReports=[{"\x69\x64":1,"\x6E\x61\x6D\x65":_0xd72b[424],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0xd72b[425],"\x74\x61\x62\x6C\x65":_0xd72b[426],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0xd72b[427]},{"\x69\x64":2,"\x6E\x61\x6D\x65":_0xd72b[428],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0xd72b[429],"\x70\x61\x72\x65\x6E\x74":_0xd72b[430],"\x74\x61\x62\x6C\x65":_0xd72b[431],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0xd72b[427]},{"\x69\x64":3,"\x6E\x61\x6D\x65":_0xd72b[432],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0xd72b[433],"\x70\x61\x72\x65\x6E\x74":_0xd72b[430],"\x74\x61\x62\x6C\x65":_0xd72b[431],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0xd72b[434]},{"\x69\x64":4,"\x6E\x61\x6D\x65":_0xd72b[435],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0xd72b[436],"\x74\x61\x62\x6C\x65":_0xd72b[426],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0xd72b[427]},{"\x69\x64":5,"\x6E\x61\x6D\x65":_0xd72b[428],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0xd72b[437],"\x74\x61\x62\x6C\x65":_0xd72b[438],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0xd72b[439]},{"\x69\x64":6,"\x6E\x61\x6D\x65":_0xd72b[440],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0xd72b[437],"\x74\x61\x62\x6C\x65":_0xd72b[438],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0xd72b[427]},{"\x69\x64":7,"\x6E\x61\x6D\x65":_0xd72b[435],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0xd72b[437],"\x74\x61\x62\x6C\x65":_0xd72b[438],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0xd72b[439]},{"\x69\x64":8,"\x6E\x61\x6D\x65":_0xd72b[441],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0xd72b[437],"\x74\x61\x62\x6C\x65":_0xd72b[438],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0xd72b[439]},{"\x69\x64":9,"\x6E\x61\x6D\x65":_0xd72b[442],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0xd72b[437],"\x74\x61\x62\x6C\x65":_0xd72b[438],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0xd72b[439]},{"\x69\x64":10,"\x6E\x61\x6D\x65":_0xd72b[428],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0xd72b[443],"\x74\x61\x62\x6C\x65":_0xd72b[426],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0xd72b[444]},{"\x69\x64":11,"\x6E\x61\x6D\x65":_0xd72b[445],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0xd72b[443],"\x74\x61\x62\x6C\x65":_0xd72b[426],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0xd72b[444]},{"\x69\x64":12,"\x6E\x61\x6D\x65":_0xd72b[446],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0xd72b[443],"\x74\x61\x62\x6C\x65":_0xd72b[426],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0xd72b[447]},{"\x69\x64":13,"\x6E\x61\x6D\x65":_0xd72b[448],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0xd72b[443],"\x74\x61\x62\x6C\x65":_0xd72b[426],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0xd72b[449]},{"\x69\x64":14,"\x6E\x61\x6D\x65":_0xd72b[450],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0xd72b[436],"\x74\x61\x62\x6C\x65":_0xd72b[426],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0xd72b[427]},{"\x69\x64":15,"\x6E\x61\x6D\x65":_0xd72b[451],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0xd72b[436],"\x74\x61\x62\x6C\x65":_0xd72b[426],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0xd72b[427]},{"\x69\x64":16,"\x6E\x61\x6D\x65":_0xd72b[452],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0xd72b[436],"\x74\x61\x62\x6C\x65":_0xd72b[426],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0xd72b[427]},{"\x69\x64":17,"\x6E\x61\x6D\x65":_0xd72b[453],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0xd72b[430],"\x74\x61\x62\x6C\x65":_0xd72b[431],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0xd72b[427]},{"\x69\x64":18,"\x6E\x61\x6D\x65":_0xd72b[454],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0xd72b[455],"\x70\x61\x72\x65\x6E\x74":_0xd72b[430],"\x74\x61\x62\x6C\x65":_0xd72b[431],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0xd72b[434]},{"\x69\x64":19,"\x6E\x61\x6D\x65":_0xd72b[456],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0xd72b[457],"\x74\x61\x62\x6C\x65":_0xd72b[458],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0xd72b[459]},{"\x69\x64":20,"\x6E\x61\x6D\x65":_0xd72b[460],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0xd72b[457],"\x74\x61\x62\x6C\x65":_0xd72b[458],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0xd72b[461]},{"\x69\x64":21,"\x6E\x61\x6D\x65":_0xd72b[462],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0xd72b[463],"\x74\x61\x62\x6C\x65":_0xd72b[464],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0xd72b[427]},{"\x69\x64":22,"\x6E\x61\x6D\x65":_0xd72b[465],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0xd72b[463],"\x74\x61\x62\x6C\x65":_0xd72b[464],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0xd72b[427]},{"\x69\x64":23,"\x6E\x61\x6D\x65":_0xd72b[466],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":null,"\x70\x61\x72\x65\x6E\x74":_0xd72b[463],"\x74\x61\x62\x6C\x65":_0xd72b[464],"\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73":_0xd72b[467]}];var newDefaultMetrics=[{"\x69\x64":1,"\x6E\x61\x6D\x65":_0xd72b[468],"\x74\x61\x62\x6C\x65":_0xd72b[426],"\x6D\x65\x74\x72\x69\x63":_0xd72b[469]},{"\x69\x64":2,"\x6E\x61\x6D\x65":_0xd72b[470],"\x74\x61\x62\x6C\x65":_0xd72b[426],"\x6D\x65\x74\x72\x69\x63":_0xd72b[471]},{"\x69\x64":3,"\x6E\x61\x6D\x65":_0xd72b[472],"\x74\x61\x62\x6C\x65":_0xd72b[426],"\x6D\x65\x74\x72\x69\x63":_0xd72b[473],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0xd72b[474]},{"\x69\x64":4,"\x6E\x61\x6D\x65":_0xd72b[475],"\x74\x61\x62\x6C\x65":_0xd72b[426],"\x6D\x65\x74\x72\x69\x63":_0xd72b[476]},{"\x69\x64":5,"\x6E\x61\x6D\x65":_0xd72b[477],"\x74\x61\x62\x6C\x65":_0xd72b[438],"\x6D\x65\x74\x72\x69\x63":_0xd72b[478],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0xd72b[479]},{"\x69\x64":6,"\x6E\x61\x6D\x65":_0xd72b[480],"\x74\x61\x62\x6C\x65":_0xd72b[438],"\x6D\x65\x74\x72\x69\x63":_0xd72b[481],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0xd72b[482]},{"\x69\x64":7,"\x6E\x61\x6D\x65":_0xd72b[483],"\x74\x61\x62\x6C\x65":_0xd72b[438],"\x6D\x65\x74\x72\x69\x63":_0xd72b[484],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0xd72b[485]},{"\x69\x64":8,"\x6E\x61\x6D\x65":_0xd72b[486],"\x74\x61\x62\x6C\x65":_0xd72b[438],"\x6D\x65\x74\x72\x69\x63":_0xd72b[487],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0xd72b[488]},{"\x69\x64":9,"\x6E\x61\x6D\x65":_0xd72b[489],"\x74\x61\x62\x6C\x65":_0xd72b[426],"\x6D\x65\x74\x72\x69\x63":_0xd72b[490]},{"\x69\x64":10,"\x6E\x61\x6D\x65":_0xd72b[491],"\x74\x61\x62\x6C\x65":_0xd72b[426],"\x6D\x65\x74\x72\x69\x63":_0xd72b[492],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0xd72b[493]},{"\x69\x64":11,"\x6E\x61\x6D\x65":_0xd72b[494],"\x74\x61\x62\x6C\x65":_0xd72b[426],"\x6D\x65\x74\x72\x69\x63":_0xd72b[495],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0xd72b[496]},{"\x69\x64":12,"\x6E\x61\x6D\x65":_0xd72b[497],"\x74\x61\x62\x6C\x65":_0xd72b[426],"\x6D\x65\x74\x72\x69\x63":_0xd72b[498],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0xd72b[499]},{"\x69\x64":13,"\x6E\x61\x6D\x65":_0xd72b[500],"\x74\x61\x62\x6C\x65":_0xd72b[426],"\x6D\x65\x74\x72\x69\x63":_0xd72b[501],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0xd72b[502]},{"\x69\x64":14,"\x6E\x61\x6D\x65":_0xd72b[503],"\x74\x61\x62\x6C\x65":_0xd72b[426],"\x6D\x65\x74\x72\x69\x63":_0xd72b[504],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0xd72b[505]},{"\x69\x64":15,"\x6E\x61\x6D\x65":_0xd72b[506],"\x74\x61\x62\x6C\x65":_0xd72b[426],"\x6D\x65\x74\x72\x69\x63":_0xd72b[507],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0xd72b[508]},{"\x69\x64":16,"\x6E\x61\x6D\x65":_0xd72b[509],"\x74\x61\x62\x6C\x65":_0xd72b[458],"\x6D\x65\x74\x72\x69\x63":_0xd72b[510],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0xd72b[511]},{"\x69\x64":17,"\x6E\x61\x6D\x65":_0xd72b[512],"\x74\x61\x62\x6C\x65":_0xd72b[458],"\x6D\x65\x74\x72\x69\x63":_0xd72b[513],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0xd72b[514]},{"\x69\x64":18,"\x6E\x61\x6D\x65":_0xd72b[515],"\x74\x61\x62\x6C\x65":_0xd72b[464],"\x6D\x65\x74\x72\x69\x63":_0xd72b[516],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0xd72b[517]},{"\x69\x64":19,"\x6E\x61\x6D\x65":_0xd72b[518],"\x74\x61\x62\x6C\x65":_0xd72b[464],"\x6D\x65\x74\x72\x69\x63":_0xd72b[519],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0xd72b[520]},{"\x69\x64":20,"\x6E\x61\x6D\x65":_0xd72b[521],"\x74\x61\x62\x6C\x65":_0xd72b[464],"\x6D\x65\x74\x72\x69\x63":_0xd72b[522],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0xd72b[523]}];models[_0xd72b[685]][_0xd72b[680]]({where:{id:1}})[_0xd72b[7]](function(){return models[_0xd72b[685]][_0xd72b[41]]({id:1,tree:_0xd72b[686]})})[_0xd72b[7]](function(){return models[_0xd72b[685]][_0xd72b[684]]({where:{id:2},defaults:{id:2,tree:_0xd72b[683]}})})[_0xd72b[7]](function(){return models[_0xd72b[682]][_0xd72b[423]]()})[_0xd72b[7]](function(_0x22bbx26){var _0x22bbx27=[];_0x22bbx26=_[_0xd72b[11]](_0x22bbx26,_0xd72b[5]);newDefaultMetrics[_0xd72b[422]](function(_0x22bbx28){if(_[_0xd72b[418]](_0x22bbx26,_0x22bbx28[_0xd72b[5]])){_0x22bbx27[_0xd72b[421]](models[_0xd72b[682]][_0xd72b[419]](_0x22bbx28,{where:{id:_0x22bbx28[_0xd72b[5]]}}))}else {_0x22bbx27[_0xd72b[421]](models[_0xd72b[682]][_0xd72b[41]](_0x22bbx28))}});return _0x22bbx27})[_0xd72b[417]]()[_0xd72b[7]](function(){return models[_0xd72b[681]][_0xd72b[423]]()})[_0xd72b[7]](function(_0x22bbx23){var _0x22bbx24=[];_0x22bbx23=_[_0xd72b[11]](_0x22bbx23,_0xd72b[5]);newDefaulReports[_0xd72b[422]](function(_0x22bbx25){if(_[_0xd72b[418]](_0x22bbx23,_0x22bbx25[_0xd72b[5]])){_0x22bbx24[_0xd72b[421]](models[_0xd72b[681]][_0xd72b[419]](_0x22bbx25,{where:{id:_0x22bbx25[_0xd72b[5]]}}))}else {_0x22bbx24[_0xd72b[421]](models[_0xd72b[681]][_0xd72b[41]](_0x22bbx25))}});return _0x22bbx24})[_0xd72b[417]]()[_0xd72b[7]](function(){return models[_0xd72b[679]][_0xd72b[680]]({where:{DefaultReportId:{$gt:0}}})})[_0xd72b[7]](function(){return models[_0xd72b[679]][_0xd72b[19]]([{"\x66\x69\x65\x6C\x64":_0xd72b[526],"\x61\x6C\x69\x61\x73":_0xd72b[527],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0xd72b[528],"\x61\x6C\x69\x61\x73":_0xd72b[529],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0xd72b[530],"\x61\x6C\x69\x61\x73":_0xd72b[531],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0xd72b[532],"\x61\x6C\x69\x61\x73":_0xd72b[151],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0xd72b[533],"\x61\x6C\x69\x61\x73":_0xd72b[534],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0xd72b[535],"\x61\x6C\x69\x61\x73":_0xd72b[536],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0xd72b[537],"\x61\x6C\x69\x61\x73":_0xd72b[538],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0xd72b[539],"\x61\x6C\x69\x61\x73":_0xd72b[540],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0xd72b[541],"\x61\x6C\x69\x61\x73":_0xd72b[542],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0xd72b[543],"\x61\x6C\x69\x61\x73":_0xd72b[544],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0xd72b[545],"\x61\x6C\x69\x61\x73":_0xd72b[546],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0xd72b[547],"\x61\x6C\x69\x61\x73":_0xd72b[548],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0xd72b[549],"\x61\x6C\x69\x61\x73":_0xd72b[550],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0xd72b[99],"\x61\x6C\x69\x61\x73":_0xd72b[551],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0xd72b[469],"\x61\x6C\x69\x61\x73":_0xd72b[552],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0xd72b[476],"\x61\x6C\x69\x61\x73":_0xd72b[553],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0xd72b[471],"\x61\x6C\x69\x61\x73":_0xd72b[554],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":1},{"\x66\x69\x65\x6C\x64":_0xd72b[526],"\x61\x6C\x69\x61\x73":_0xd72b[555],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0xd72b[556],"\x61\x6C\x69\x61\x73":_0xd72b[557],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0xd72b[558],"\x61\x6C\x69\x61\x73":_0xd72b[559],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0xd72b[560],"\x61\x6C\x69\x61\x73":_0xd72b[561],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0xd72b[562],"\x61\x6C\x69\x61\x73":_0xd72b[563],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0xd72b[564],"\x61\x6C\x69\x61\x73":_0xd72b[565],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0xd72b[566],"\x61\x6C\x69\x61\x73":_0xd72b[567],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0xd72b[568],"\x61\x6C\x69\x61\x73":_0xd72b[569],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0xd72b[570],"\x61\x6C\x69\x61\x73":_0xd72b[571],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0xd72b[572],"\x61\x6C\x69\x61\x73":_0xd72b[573],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0xd72b[574],"\x61\x6C\x69\x61\x73":_0xd72b[553],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0xd72b[575],"\x61\x6C\x69\x61\x73":_0xd72b[576],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0xd72b[577],"\x61\x6C\x69\x61\x73":_0xd72b[578],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0xd72b[579],"\x61\x6C\x69\x61\x73":_0xd72b[580],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":2},{"\x66\x69\x65\x6C\x64":_0xd72b[526],"\x61\x6C\x69\x61\x73":_0xd72b[555],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0xd72b[581],"\x61\x6C\x69\x61\x73":_0xd72b[582],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0xd72b[560],"\x61\x6C\x69\x61\x73":_0xd72b[561],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0xd72b[562],"\x61\x6C\x69\x61\x73":_0xd72b[563],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0xd72b[564],"\x61\x6C\x69\x61\x73":_0xd72b[583],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0xd72b[572],"\x61\x6C\x69\x61\x73":_0xd72b[573],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0xd72b[574],"\x61\x6C\x69\x61\x73":_0xd72b[553],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0xd72b[575],"\x61\x6C\x69\x61\x73":_0xd72b[584],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0xd72b[577],"\x61\x6C\x69\x61\x73":_0xd72b[578],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0xd72b[585],"\x61\x6C\x69\x61\x73":_0xd72b[586],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0xd72b[579],"\x61\x6C\x69\x61\x73":_0xd72b[580],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0xd72b[558],"\x61\x6C\x69\x61\x73":_0xd72b[559],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":3},{"\x66\x69\x65\x6C\x64":_0xd72b[532],"\x61\x6C\x69\x61\x73":_0xd72b[151],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":4},{"\x66\x69\x65\x6C\x64":_0xd72b[526],"\x61\x6C\x69\x61\x73":_0xd72b[587],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[588],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":4},{"\x66\x69\x65\x6C\x64":_0xd72b[541],"\x61\x6C\x69\x61\x73":_0xd72b[589],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":4},{"\x66\x69\x65\x6C\x64":_0xd72b[537],"\x61\x6C\x69\x61\x73":_0xd72b[591],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":4},{"\x66\x69\x65\x6C\x64":_0xd72b[545],"\x61\x6C\x69\x61\x73":_0xd72b[319],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":4},{"\x66\x69\x65\x6C\x64":_0xd72b[469],"\x61\x6C\x69\x61\x73":_0xd72b[592],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":4},{"\x66\x69\x65\x6C\x64":_0xd72b[471],"\x61\x6C\x69\x61\x73":_0xd72b[594],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":4},{"\x66\x69\x65\x6C\x64":_0xd72b[476],"\x61\x6C\x69\x61\x73":_0xd72b[595],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":4},{"\x66\x69\x65\x6C\x64":_0xd72b[526],"\x61\x6C\x69\x61\x73":_0xd72b[527],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0xd72b[528],"\x61\x6C\x69\x61\x73":_0xd72b[529],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0xd72b[530],"\x61\x6C\x69\x61\x73":_0xd72b[531],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0xd72b[532],"\x61\x6C\x69\x61\x73":_0xd72b[151],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0xd72b[596],"\x61\x6C\x69\x61\x73":_0xd72b[597],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0xd72b[598],"\x61\x6C\x69\x61\x73":_0xd72b[599],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0xd72b[600],"\x61\x6C\x69\x61\x73":_0xd72b[601],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0xd72b[602],"\x61\x6C\x69\x61\x73":_0xd72b[603],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0xd72b[604],"\x61\x6C\x69\x61\x73":_0xd72b[553],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0xd72b[605],"\x61\x6C\x69\x61\x73":_0xd72b[552],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0xd72b[606],"\x61\x6C\x69\x61\x73":_0xd72b[607],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0xd72b[608],"\x61\x6C\x69\x61\x73":_0xd72b[609],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0xd72b[610],"\x61\x6C\x69\x61\x73":_0xd72b[611],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0xd72b[612],"\x61\x6C\x69\x61\x73":_0xd72b[613],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0xd72b[614],"\x61\x6C\x69\x61\x73":_0xd72b[615],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0xd72b[99],"\x61\x6C\x69\x61\x73":_0xd72b[551],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":5},{"\x66\x69\x65\x6C\x64":_0xd72b[596],"\x61\x6C\x69\x61\x73":_0xd72b[597],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":6},{"\x66\x69\x65\x6C\x64":_0xd72b[610],"\x61\x6C\x69\x61\x73":_0xd72b[589],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":6},{"\x66\x69\x65\x6C\x64":_0xd72b[616],"\x61\x6C\x69\x61\x73":_0xd72b[617],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":6},{"\x66\x69\x65\x6C\x64":_0xd72b[605],"\x61\x6C\x69\x61\x73":_0xd72b[618],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":6},{"\x66\x69\x65\x6C\x64":_0xd72b[608],"\x61\x6C\x69\x61\x73":_0xd72b[619],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":6},{"\x66\x69\x65\x6C\x64":_0xd72b[605],"\x61\x6C\x69\x61\x73":_0xd72b[592],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":6},{"\x66\x69\x65\x6C\x64":_0xd72b[608],"\x61\x6C\x69\x61\x73":_0xd72b[620],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":6},{"\x66\x69\x65\x6C\x64":_0xd72b[532],"\x61\x6C\x69\x61\x73":_0xd72b[151],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":7},{"\x66\x69\x65\x6C\x64":_0xd72b[610],"\x61\x6C\x69\x61\x73":_0xd72b[589],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":7},{"\x66\x69\x65\x6C\x64":_0xd72b[605],"\x61\x6C\x69\x61\x73":_0xd72b[621],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":7},{"\x66\x69\x65\x6C\x64":_0xd72b[605],"\x61\x6C\x69\x61\x73":_0xd72b[622],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":7},{"\x66\x69\x65\x6C\x64":_0xd72b[604],"\x61\x6C\x69\x61\x73":_0xd72b[623],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":7},{"\x66\x69\x65\x6C\x64":_0xd72b[604],"\x61\x6C\x69\x61\x73":_0xd72b[624],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":7},{"\x66\x69\x65\x6C\x64":_0xd72b[608],"\x61\x6C\x69\x61\x73":_0xd72b[625],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":7},{"\x66\x69\x65\x6C\x64":_0xd72b[608],"\x61\x6C\x69\x61\x73":_0xd72b[626],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":7},{"\x66\x69\x65\x6C\x64":_0xd72b[532],"\x61\x6C\x69\x61\x73":_0xd72b[151],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":8},{"\x66\x69\x65\x6C\x64":_0xd72b[610],"\x61\x6C\x69\x61\x73":_0xd72b[627],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":8},{"\x66\x69\x65\x6C\x64":_0xd72b[478],"\x61\x6C\x69\x61\x73":_0xd72b[628],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":8},{"\x66\x69\x65\x6C\x64":_0xd72b[481],"\x61\x6C\x69\x61\x73":_0xd72b[480],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":8},{"\x66\x69\x65\x6C\x64":_0xd72b[484],"\x61\x6C\x69\x61\x73":_0xd72b[483],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":8},{"\x66\x69\x65\x6C\x64":_0xd72b[487],"\x61\x6C\x69\x61\x73":_0xd72b[486],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":8},{"\x66\x69\x65\x6C\x64":_0xd72b[612],"\x61\x6C\x69\x61\x73":_0xd72b[629],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":9},{"\x66\x69\x65\x6C\x64":_0xd72b[526],"\x61\x6C\x69\x61\x73":_0xd72b[231],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[588],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":9},{"\x66\x69\x65\x6C\x64":_0xd72b[526],"\x61\x6C\x69\x61\x73":_0xd72b[527],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0xd72b[528],"\x61\x6C\x69\x61\x73":_0xd72b[529],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0xd72b[532],"\x61\x6C\x69\x61\x73":_0xd72b[151],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0xd72b[533],"\x61\x6C\x69\x61\x73":_0xd72b[534],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0xd72b[535],"\x61\x6C\x69\x61\x73":_0xd72b[536],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0xd72b[537],"\x61\x6C\x69\x61\x73":_0xd72b[538],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0xd72b[539],"\x61\x6C\x69\x61\x73":_0xd72b[540],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0xd72b[471],"\x61\x6C\x69\x61\x73":_0xd72b[630],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0xd72b[545],"\x61\x6C\x69\x61\x73":_0xd72b[546],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0xd72b[547],"\x61\x6C\x69\x61\x73":_0xd72b[548],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0xd72b[549],"\x61\x6C\x69\x61\x73":_0xd72b[550],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0xd72b[490],"\x61\x6C\x69\x61\x73":_0xd72b[631],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0xd72b[632],"\x61\x6C\x69\x61\x73":_0xd72b[633],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0xd72b[99],"\x61\x6C\x69\x61\x73":_0xd72b[551],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":10},{"\x66\x69\x65\x6C\x64":_0xd72b[532],"\x61\x6C\x69\x61\x73":_0xd72b[151],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":11},{"\x66\x69\x65\x6C\x64":_0xd72b[537],"\x61\x6C\x69\x61\x73":_0xd72b[591],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":11},{"\x66\x69\x65\x6C\x64":_0xd72b[471],"\x61\x6C\x69\x61\x73":_0xd72b[594],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":11},{"\x66\x69\x65\x6C\x64":_0xd72b[471],"\x61\x6C\x69\x61\x73":_0xd72b[634],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":11},{"\x66\x69\x65\x6C\x64":_0xd72b[545],"\x61\x6C\x69\x61\x73":_0xd72b[635],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":11},{"\x66\x69\x65\x6C\x64":_0xd72b[490],"\x61\x6C\x69\x61\x73":_0xd72b[636],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":11},{"\x66\x69\x65\x6C\x64":_0xd72b[490],"\x61\x6C\x69\x61\x73":_0xd72b[637],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":11},{"\x66\x69\x65\x6C\x64":_0xd72b[549],"\x61\x6C\x69\x61\x73":_0xd72b[629],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":12},{"\x66\x69\x65\x6C\x64":_0xd72b[545],"\x61\x6C\x69\x61\x73":_0xd72b[231],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":12},{"\x66\x69\x65\x6C\x64":_0xd72b[490],"\x61\x6C\x69\x61\x73":_0xd72b[638],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":12},{"\x66\x69\x65\x6C\x64":_0xd72b[532],"\x61\x6C\x69\x61\x73":_0xd72b[151],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":13},{"\x66\x69\x65\x6C\x64":_0xd72b[537],"\x61\x6C\x69\x61\x73":_0xd72b[639],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":13},{"\x66\x69\x65\x6C\x64":_0xd72b[473],"\x61\x6C\x69\x61\x73":_0xd72b[640],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":13},{"\x66\x69\x65\x6C\x64":_0xd72b[492],"\x61\x6C\x69\x61\x73":_0xd72b[491],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":13},{"\x66\x69\x65\x6C\x64":_0xd72b[495],"\x61\x6C\x69\x61\x73":_0xd72b[494],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":13},{"\x66\x69\x65\x6C\x64":_0xd72b[498],"\x61\x6C\x69\x61\x73":_0xd72b[641],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":13},{"\x66\x69\x65\x6C\x64":_0xd72b[501],"\x61\x6C\x69\x61\x73":_0xd72b[642],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":14},{"\x66\x69\x65\x6C\x64":_0xd72b[526],"\x61\x6C\x69\x61\x73":_0xd72b[587],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[588],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":14},{"\x66\x69\x65\x6C\x64":_0xd72b[541],"\x61\x6C\x69\x61\x73":_0xd72b[589],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":14},{"\x66\x69\x65\x6C\x64":_0xd72b[537],"\x61\x6C\x69\x61\x73":_0xd72b[591],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":14},{"\x66\x69\x65\x6C\x64":_0xd72b[545],"\x61\x6C\x69\x61\x73":_0xd72b[319],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":14},{"\x66\x69\x65\x6C\x64":_0xd72b[469],"\x61\x6C\x69\x61\x73":_0xd72b[592],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":14},{"\x66\x69\x65\x6C\x64":_0xd72b[471],"\x61\x6C\x69\x61\x73":_0xd72b[594],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":14},{"\x66\x69\x65\x6C\x64":_0xd72b[476],"\x61\x6C\x69\x61\x73":_0xd72b[595],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":14},{"\x66\x69\x65\x6C\x64":_0xd72b[504],"\x61\x6C\x69\x61\x73":_0xd72b[643],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":15},{"\x66\x69\x65\x6C\x64":_0xd72b[526],"\x61\x6C\x69\x61\x73":_0xd72b[587],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[588],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":15},{"\x66\x69\x65\x6C\x64":_0xd72b[541],"\x61\x6C\x69\x61\x73":_0xd72b[589],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":15},{"\x66\x69\x65\x6C\x64":_0xd72b[537],"\x61\x6C\x69\x61\x73":_0xd72b[591],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":15},{"\x66\x69\x65\x6C\x64":_0xd72b[545],"\x61\x6C\x69\x61\x73":_0xd72b[319],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":15},{"\x66\x69\x65\x6C\x64":_0xd72b[469],"\x61\x6C\x69\x61\x73":_0xd72b[592],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":15},{"\x66\x69\x65\x6C\x64":_0xd72b[471],"\x61\x6C\x69\x61\x73":_0xd72b[594],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":15},{"\x66\x69\x65\x6C\x64":_0xd72b[476],"\x61\x6C\x69\x61\x73":_0xd72b[595],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":15},{"\x66\x69\x65\x6C\x64":_0xd72b[507],"\x61\x6C\x69\x61\x73":_0xd72b[644],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":16},{"\x66\x69\x65\x6C\x64":_0xd72b[526],"\x61\x6C\x69\x61\x73":_0xd72b[587],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[588],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":16},{"\x66\x69\x65\x6C\x64":_0xd72b[541],"\x61\x6C\x69\x61\x73":_0xd72b[589],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":16},{"\x66\x69\x65\x6C\x64":_0xd72b[537],"\x61\x6C\x69\x61\x73":_0xd72b[591],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":16},{"\x66\x69\x65\x6C\x64":_0xd72b[545],"\x61\x6C\x69\x61\x73":_0xd72b[319],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":16},{"\x66\x69\x65\x6C\x64":_0xd72b[469],"\x61\x6C\x69\x61\x73":_0xd72b[592],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":16},{"\x66\x69\x65\x6C\x64":_0xd72b[471],"\x61\x6C\x69\x61\x73":_0xd72b[594],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":16},{"\x66\x69\x65\x6C\x64":_0xd72b[476],"\x61\x6C\x69\x61\x73":_0xd72b[595],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":16},{"\x66\x69\x65\x6C\x64":_0xd72b[556],"\x61\x6C\x69\x61\x73":_0xd72b[557],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":17},{"\x66\x69\x65\x6C\x64":_0xd72b[526],"\x61\x6C\x69\x61\x73":_0xd72b[231],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[588],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":17},{"\x66\x69\x65\x6C\x64":_0xd72b[577],"\x61\x6C\x69\x61\x73":_0xd72b[645],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":17},{"\x66\x69\x65\x6C\x64":_0xd72b[577],"\x61\x6C\x69\x61\x73":_0xd72b[342],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":17},{"\x66\x69\x65\x6C\x64":_0xd72b[579],"\x61\x6C\x69\x61\x73":_0xd72b[580],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":18},{"\x66\x69\x65\x6C\x64":_0xd72b[526],"\x61\x6C\x69\x61\x73":_0xd72b[231],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[588],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":18},{"\x66\x69\x65\x6C\x64":_0xd72b[577],"\x61\x6C\x69\x61\x73":_0xd72b[645],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":18},{"\x66\x69\x65\x6C\x64":_0xd72b[577],"\x61\x6C\x69\x61\x73":_0xd72b[342],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":18},{"\x66\x69\x65\x6C\x64":_0xd72b[596],"\x61\x6C\x69\x61\x73":_0xd72b[597],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":_0xd72b[646],"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":19},{"\x66\x69\x65\x6C\x64":_0xd72b[647],"\x61\x6C\x69\x61\x73":_0xd72b[648],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":_0xd72b[646],"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":19},{"\x66\x69\x65\x6C\x64":_0xd72b[513],"\x61\x6C\x69\x61\x73":_0xd72b[578],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":19},{"\x66\x69\x65\x6C\x64":_0xd72b[596],"\x61\x6C\x69\x61\x73":_0xd72b[597],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":_0xd72b[646],"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":20},{"\x66\x69\x65\x6C\x64":_0xd72b[513],"\x61\x6C\x69\x61\x73":_0xd72b[578],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":20},{"\x66\x69\x65\x6C\x64":_0xd72b[526],"\x61\x6C\x69\x61\x73":_0xd72b[527],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0xd72b[649],"\x61\x6C\x69\x61\x73":_0xd72b[650],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0xd72b[651],"\x61\x6C\x69\x61\x73":_0xd72b[652],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22},{"\x66\x69\x65\x6C\x64":_0xd72b[653],"\x61\x6C\x69\x61\x73":_0xd72b[654],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0xd72b[596],"\x61\x6C\x69\x61\x73":_0xd72b[655],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0xd72b[656],"\x61\x6C\x69\x61\x73":_0xd72b[657],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0xd72b[658],"\x61\x6C\x69\x61\x73":_0xd72b[659],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0xd72b[660],"\x61\x6C\x69\x61\x73":_0xd72b[661],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0xd72b[662],"\x61\x6C\x69\x61\x73":_0xd72b[544],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0xd72b[663],"\x61\x6C\x69\x61\x73":_0xd72b[542],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0xd72b[664],"\x61\x6C\x69\x61\x73":_0xd72b[665],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0xd72b[666],"\x61\x6C\x69\x61\x73":_0xd72b[667],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0xd72b[668],"\x61\x6C\x69\x61\x73":_0xd72b[669],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":22,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0xd72b[596],"\x61\x6C\x69\x61\x73":_0xd72b[597],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":23,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0xd72b[663],"\x61\x6C\x69\x61\x73":_0xd72b[670],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":23,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0xd72b[519],"\x61\x6C\x69\x61\x73":_0xd72b[671],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x63\x72\x65\x61\x74\x65\x64\x41\x74":_0xd72b[672],"\x75\x70\x64\x61\x74\x65\x64\x41\x74":_0xd72b[672],"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":23,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0xd72b[522],"\x61\x6C\x69\x61\x73":_0xd72b[673],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":23,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0xd72b[516],"\x61\x6C\x69\x61\x73":_0xd72b[674],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":23,"\x66\x6F\x72\x6D\x61\x74":_0xd72b[675]},{"\x66\x69\x65\x6C\x64":_0xd72b[516],"\x61\x6C\x69\x61\x73":_0xd72b[676],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":23,"\x66\x6F\x72\x6D\x61\x74":_0xd72b[675]},{"\x66\x69\x65\x6C\x64":_0xd72b[649],"\x61\x6C\x69\x61\x73":_0xd72b[677],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":null,"\x67\x72\x6F\x75\x70\x42\x79":1,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":21,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0xd72b[526],"\x61\x6C\x69\x61\x73":_0xd72b[678],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[588],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":21,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0xd72b[663],"\x61\x6C\x69\x61\x73":_0xd72b[589],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":21,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0xd72b[666],"\x61\x6C\x69\x61\x73":_0xd72b[591],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":21,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0xd72b[668],"\x61\x6C\x69\x61\x73":_0xd72b[319],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":21,"\x66\x6F\x72\x6D\x61\x74":null},{"\x66\x69\x65\x6C\x64":_0xd72b[516],"\x61\x6C\x69\x61\x73":_0xd72b[517],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[590],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":21,"\x66\x6F\x72\x6D\x61\x74":_0xd72b[675]},{"\x66\x69\x65\x6C\x64":_0xd72b[516],"\x61\x6C\x69\x61\x73":_0xd72b[676],"\x66\x75\x6E\x63\x74\x69\x6F\x6E":_0xd72b[593],"\x67\x72\x6F\x75\x70\x42\x79":0,"\x6F\x72\x64\x65\x72\x42\x79":null,"\x44\x65\x66\x61\x75\x6C\x74\x52\x65\x70\x6F\x72\x74\x49\x64":21,"\x66\x6F\x72\x6D\x61\x74":_0xd72b[675]}],{ignoreDuplicates:true,individualHooks:true})})[_0xd72b[7]](function(){console[_0xd72b[13]](_0xd72b[525])})[_0xd72b[415]](function(_0x22bbx1d){console[_0xd72b[13]](_0xd72b[524],_0x22bbx1d)});models[_0xd72b[146]][_0xd72b[680]]({where:{context:_0xd72b[94]}})[_0xd72b[7]](function(){models[_0xd72b[146]][_0xd72b[19]]([{context:_0xd72b[94],exten:_0xd72b[688],priority:1,app:_0xd72b[102],appdata:_0xd72b[689],type:_0xd72b[690]},{context:_0xd72b[94],exten:_0xd72b[688],priority:2,app:_0xd72b[102],appdata:_0xd72b[691],type:_0xd72b[690]},{context:_0xd72b[94],exten:_0xd72b[688],priority:3,app:_0xd72b[107],appdata:_0xd72b[692],type:_0xd72b[690]},{context:_0xd72b[94],exten:_0xd72b[688],priority:4,app:_0xd72b[693],appdata:_0xd72b[134],type:_0xd72b[690]},{context:_0xd72b[94],exten:_0xd72b[688],priority:5,app:_0xd72b[694],appdata:_0xd72b[106],type:_0xd72b[690]},{context:_0xd72b[94],exten:_0xd72b[688],priority:6,app:_0xd72b[107],appdata:_0xd72b[695],type:_0xd72b[690]},{context:_0xd72b[94],exten:_0xd72b[688],priority:7,app:_0xd72b[107],appdata:_0xd72b[696],type:_0xd72b[690]},{context:_0xd72b[94],exten:_0xd72b[688],priority:8,app:_0xd72b[107],appdata:_0xd72b[697],type:_0xd72b[690]},{context:_0xd72b[94],exten:_0xd72b[688],priority:9,app:_0xd72b[107],appdata:_0xd72b[698],type:_0xd72b[690]},{context:_0xd72b[94],exten:_0xd72b[688],priority:10,app:_0xd72b[107],appdata:_0xd72b[699],type:_0xd72b[690]},{context:_0xd72b[94],exten:_0xd72b[688],priority:11,app:_0xd72b[107],appdata:_0xd72b[700],type:_0xd72b[690]},{context:_0xd72b[94],exten:_0xd72b[688],priority:12,app:_0xd72b[107],appdata:_0xd72b[701],type:_0xd72b[690]},{context:_0xd72b[94],exten:_0xd72b[688],priority:13,app:_0xd72b[107],appdata:_0xd72b[702],type:_0xd72b[690]},{context:_0xd72b[94],exten:_0xd72b[688],priority:14,app:_0xd72b[703],appdata:_0xd72b[704],type:_0xd72b[690]},{context:_0xd72b[94],exten:_0xd72b[688],priority:15,app:_0xd72b[705],appdata:_0xd72b[134],type:_0xd72b[690]}],{ignoreDuplicates:true,individualHooks:true})})[_0xd72b[7]](function(){console[_0xd72b[13]](_0xd72b[687])}) \ No newline at end of file diff --git a/server/config/sms/index.js b/server/config/sms/index.js index 4df48fc..2341040 100644 --- a/server/config/sms/index.js +++ b/server/config/sms/index.js @@ -1 +1 @@ -var _0xbea3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x53\x6D\x73\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2E\x2F\x73\x6D\x73","\x65\x78\x70\x6F\x72\x74\x73","\x69\x6E\x69\x74","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x66\x6F\x72\x45\x61\x63\x68","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C"];_0xbea3[0];var SmsAccount=require(_0xbea3[2])[_0xbea3[1]];var Sms=require(_0xbea3[3]);module[_0xbea3[4]]=function(){SmsAccount[_0xbea3[6]](function(_0x3348x3){var _0x3348x4= new Sms();_0x3348x4[_0xbea3[5]](_0x3348x3)});return SmsAccount[_0xbea3[11]]()[_0xbea3[10]](function(_0x3348x6){_0x3348x6[_0xbea3[9]](function(_0x3348x3){var _0x3348x4= new Sms();_0x3348x4[_0xbea3[5]](_0x3348x3)})})[_0xbea3[8]](function(_0x3348x5){console[_0xbea3[7]](_0x3348x5)})} \ No newline at end of file +var _0x24b8=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x53\x6D\x73\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2E\x2F\x73\x6D\x73","\x65\x78\x70\x6F\x72\x74\x73","\x69\x6E\x69\x74","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x66\x6F\x72\x45\x61\x63\x68","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C"];_0x24b8[0];var SmsAccount=require(_0x24b8[2])[_0x24b8[1]];var Sms=require(_0x24b8[3]);module[_0x24b8[4]]=function(){SmsAccount[_0x24b8[6]](function(_0x7b65x3){var _0x7b65x4= new Sms();_0x7b65x4[_0x24b8[5]](_0x7b65x3)});return SmsAccount[_0x24b8[11]]()[_0x24b8[10]](function(_0x7b65x6){_0x7b65x6[_0x24b8[9]](function(_0x7b65x3){var _0x7b65x4= new Sms();_0x7b65x4[_0x24b8[5]](_0x7b65x3)})})[_0x24b8[8]](function(_0x7b65x5){console[_0x24b8[7]](_0x7b65x5)})} \ No newline at end of file diff --git a/server/config/sms/skebby.js b/server/config/sms/skebby.js index 6e36991..f9e36a1 100644 --- a/server/config/sms/skebby.js +++ b/server/config/sms/skebby.js @@ -1 +1 @@ -var _0x2704=["\x71\x75\x65\x72\x79\x73\x74\x72\x69\x6E\x67","\x68\x74\x74\x70\x73","\x65\x78\x70\x6F\x72\x74\x73","\x73\x6D\x73\x74\x79\x70\x65","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x70\x61\x73\x73\x77\x6F\x72\x64","\x66\x72\x6F\x6D","\x74\x6F","\x62\x6F\x64\x79","\x74\x65\x78\x74","\x73\x65\x6E\x64\x65\x72\x5F\x6E\x75\x6D\x62\x65\x72","","\x73\x65\x6E\x64\x65\x72\x5F\x73\x74\x72\x69\x6E\x67","\x6D\x65\x74\x68\x6F\x64","\x72\x65\x63\x69\x70\x69\x65\x6E\x74\x73","\x4E\x6F\x20\x4D\x65\x74\x68\x6F\x64\x21","\x73\x65\x6E\x64\x5F\x73\x6D\x73\x5F\x63\x6C\x61\x73\x73\x69\x63","\x63\x6C\x61\x73\x73\x69\x63","\x73\x65\x6E\x64\x5F\x73\x6D\x73\x5F\x63\x6C\x61\x73\x73\x69\x63\x5F\x72\x65\x70\x6F\x72\x74","\x63\x6C\x61\x73\x73\x69\x63\x2B","\x74\x65\x73\x74\x5F\x73\x65\x6E\x64\x5F\x73\x6D\x73\x5F\x62\x61\x73\x69\x63","\x74\x65\x73\x74","\x62\x61\x73\x69\x63","\x73\x65\x6E\x64\x5F\x73\x6D\x73\x5F\x62\x61\x73\x69\x63","\x6C\x65\x6E\x67\x74\x68","\x4E\x6F\x20\x72\x65\x63\x69\x70\x69\x65\x6E\x74\x21","\x4E\x6F\x20\x73\x65\x6E\x64\x65\x72\x21\x21","\x4E\x6F\x20\x74\x65\x78\x74\x21","\x55\x54\x46\x2D\x38","\x74\x65\x73\x74\x5F","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x2F\x61\x70\x69\x2F\x73\x65\x6E\x64\x2F\x73\x6D\x73\x65\x61\x73\x79\x2F\x61\x64\x76\x61\x6E\x63\x65\x64\x2F\x68\x74\x74\x70\x2E\x70\x68\x70","\x67\x61\x74\x65\x77\x61\x79\x2E\x73\x6B\x65\x62\x62\x79\x2E\x69\x74","\x50\x4F\x53\x54","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2F\x78\x2D\x77\x77\x77\x2D\x66\x6F\x72\x6D\x2D\x75\x72\x6C\x65\x6E\x63\x6F\x64\x65\x64","\x75\x74\x66\x38","\x64\x61\x74\x61","\x6F\x6E","\x65\x6E\x64","\x70\x61\x72\x73\x65","\x73\x74\x61\x74\x75\x73","\x73\x75\x63\x63\x65\x73\x73","\x72\x65\x71\x75\x65\x73\x74","\x65\x72\x72\x6F\x72"];var qs=require(_0x2704[0]);var https=require(_0x2704[1]);module[_0x2704[2]]=function(_0x10ebx3,_0x10ebx4,_0x10ebx5){return skebbyMessage({method:_0x10ebx4[_0x2704[3]],username:_0x10ebx4[_0x2704[4]],password:_0x10ebx4[_0x2704[5]],sender_number:_0x10ebx3[_0x2704[6]],recipients:[_0x10ebx3[_0x2704[7]]],text:_0x10ebx3[_0x2704[8]]},_0x10ebx5)};var skebbyMessage=function(_0x10ebx7,_0x10ebx5){var _0x10ebx8=_0x10ebx7[_0x2704[9]];var _0x10ebx9=_0x10ebx7[_0x2704[10]]||_0x2704[11];var _0x10ebxa=_0x10ebx7[_0x2704[12]]||_0x2704[11];var _0x10ebxb=_0x10ebx7[_0x2704[13]];var _0x10ebxc=_0x10ebx7[_0x2704[14]]||[];var _0x10ebxd=_0x10ebx7[_0x2704[4]];var _0x10ebxe=_0x10ebx7[_0x2704[5]];if(!_0x10ebxb){_0x10ebx5(_0x2704[15],null);return};switch(_0x10ebxb){case _0x2704[17]:_0x10ebxb=_0x2704[16];break;case _0x2704[19]:_0x10ebxb=_0x2704[18];break;case _0x2704[21]:_0x10ebxb=_0x2704[20];break;case _0x2704[22]:;default:_0x10ebxb=_0x2704[23]};var _0x10ebxf=_0x10ebx7[_0x2704[21]]||false;if(_0x10ebxc[_0x2704[24]]==0){_0x10ebx5(_0x2704[25]);return};if(!_0x10ebxa&& !_0x10ebx9){_0x10ebx5(_0x2704[26]);return};if(!_0x10ebx8){_0x10ebx5(_0x2704[27]);return};var _0x10ebx10={method:_0x10ebxb,username:_0x10ebxd,password:_0x10ebxe,"\x72\x65\x63\x69\x70\x69\x65\x6E\x74\x73\x5B\x5D":_0x10ebxc,text:_0x10ebx8,charset:_0x2704[28]};if(_0x10ebx9){_0x10ebx10[_0x2704[10]]=_0x10ebx9}else {if(_0x10ebxa){_0x10ebx10[_0x2704[12]]=_0x10ebxa}};if(_0x10ebxf){_0x10ebx10[_0x2704[13]]=_0x2704[29]+_0x10ebx10[_0x2704[13]]};var _0x10ebx11=false;var _0x10ebx12=qs[_0x2704[30]](_0x10ebx10);var _0x10ebx13=https[_0x2704[42]]({port:443,path:_0x2704[31],host:_0x2704[32],method:_0x2704[33],headers:{"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65":_0x2704[34],"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x4C\x65\x6E\x67\x74\x68":_0x10ebx12[_0x2704[24]],"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x45\x6E\x63\x6F\x64\x69\x6E\x67":_0x2704[35]}},function(_0x10ebx14){var _0x10ebx15=_0x2704[11];_0x10ebx14[_0x2704[37]](_0x2704[36],function(_0x10ebx12){_0x10ebx15+=_0x10ebx12});_0x10ebx14[_0x2704[37]](_0x2704[38],function(){if(!_0x10ebx11){var _0x10ebx16=qs[_0x2704[39]](_0x10ebx15);if(_0x10ebx16[_0x2704[40]]==_0x2704[41]){_0x10ebx5(null,{data:_0x10ebx16})}else {_0x10ebx5(_0x10ebx16)};_0x10ebx11=true}})});_0x10ebx13[_0x2704[38]](_0x10ebx12);_0x10ebx13[_0x2704[37]](_0x2704[43],function(_0x10ebx17){if(!_0x10ebx11){_0x10ebx5(_0x10ebx17);_0x10ebx11=true}})} \ No newline at end of file +var _0xe485=["\x71\x75\x65\x72\x79\x73\x74\x72\x69\x6E\x67","\x68\x74\x74\x70\x73","\x65\x78\x70\x6F\x72\x74\x73","\x73\x6D\x73\x74\x79\x70\x65","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x70\x61\x73\x73\x77\x6F\x72\x64","\x66\x72\x6F\x6D","\x74\x6F","\x62\x6F\x64\x79","\x74\x65\x78\x74","\x73\x65\x6E\x64\x65\x72\x5F\x6E\x75\x6D\x62\x65\x72","","\x73\x65\x6E\x64\x65\x72\x5F\x73\x74\x72\x69\x6E\x67","\x6D\x65\x74\x68\x6F\x64","\x72\x65\x63\x69\x70\x69\x65\x6E\x74\x73","\x4E\x6F\x20\x4D\x65\x74\x68\x6F\x64\x21","\x73\x65\x6E\x64\x5F\x73\x6D\x73\x5F\x63\x6C\x61\x73\x73\x69\x63","\x63\x6C\x61\x73\x73\x69\x63","\x73\x65\x6E\x64\x5F\x73\x6D\x73\x5F\x63\x6C\x61\x73\x73\x69\x63\x5F\x72\x65\x70\x6F\x72\x74","\x63\x6C\x61\x73\x73\x69\x63\x2B","\x74\x65\x73\x74\x5F\x73\x65\x6E\x64\x5F\x73\x6D\x73\x5F\x62\x61\x73\x69\x63","\x74\x65\x73\x74","\x62\x61\x73\x69\x63","\x73\x65\x6E\x64\x5F\x73\x6D\x73\x5F\x62\x61\x73\x69\x63","\x6C\x65\x6E\x67\x74\x68","\x4E\x6F\x20\x72\x65\x63\x69\x70\x69\x65\x6E\x74\x21","\x4E\x6F\x20\x73\x65\x6E\x64\x65\x72\x21\x21","\x4E\x6F\x20\x74\x65\x78\x74\x21","\x55\x54\x46\x2D\x38","\x74\x65\x73\x74\x5F","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x2F\x61\x70\x69\x2F\x73\x65\x6E\x64\x2F\x73\x6D\x73\x65\x61\x73\x79\x2F\x61\x64\x76\x61\x6E\x63\x65\x64\x2F\x68\x74\x74\x70\x2E\x70\x68\x70","\x67\x61\x74\x65\x77\x61\x79\x2E\x73\x6B\x65\x62\x62\x79\x2E\x69\x74","\x50\x4F\x53\x54","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2F\x78\x2D\x77\x77\x77\x2D\x66\x6F\x72\x6D\x2D\x75\x72\x6C\x65\x6E\x63\x6F\x64\x65\x64","\x75\x74\x66\x38","\x64\x61\x74\x61","\x6F\x6E","\x65\x6E\x64","\x70\x61\x72\x73\x65","\x73\x74\x61\x74\x75\x73","\x73\x75\x63\x63\x65\x73\x73","\x72\x65\x71\x75\x65\x73\x74","\x65\x72\x72\x6F\x72"];var qs=require(_0xe485[0]);var https=require(_0xe485[1]);module[_0xe485[2]]=function(_0x2636x3,_0x2636x4,_0x2636x5){return skebbyMessage({method:_0x2636x4[_0xe485[3]],username:_0x2636x4[_0xe485[4]],password:_0x2636x4[_0xe485[5]],sender_number:_0x2636x3[_0xe485[6]],recipients:[_0x2636x3[_0xe485[7]]],text:_0x2636x3[_0xe485[8]]},_0x2636x5)};var skebbyMessage=function(_0x2636x7,_0x2636x5){var _0x2636x8=_0x2636x7[_0xe485[9]];var _0x2636x9=_0x2636x7[_0xe485[10]]||_0xe485[11];var _0x2636xa=_0x2636x7[_0xe485[12]]||_0xe485[11];var _0x2636xb=_0x2636x7[_0xe485[13]];var _0x2636xc=_0x2636x7[_0xe485[14]]||[];var _0x2636xd=_0x2636x7[_0xe485[4]];var _0x2636xe=_0x2636x7[_0xe485[5]];if(!_0x2636xb){_0x2636x5(_0xe485[15],null);return};switch(_0x2636xb){case _0xe485[17]:_0x2636xb=_0xe485[16];break;case _0xe485[19]:_0x2636xb=_0xe485[18];break;case _0xe485[21]:_0x2636xb=_0xe485[20];break;case _0xe485[22]:;default:_0x2636xb=_0xe485[23]};var _0x2636xf=_0x2636x7[_0xe485[21]]||false;if(_0x2636xc[_0xe485[24]]==0){_0x2636x5(_0xe485[25]);return};if(!_0x2636xa&& !_0x2636x9){_0x2636x5(_0xe485[26]);return};if(!_0x2636x8){_0x2636x5(_0xe485[27]);return};var _0x2636x10={method:_0x2636xb,username:_0x2636xd,password:_0x2636xe,"\x72\x65\x63\x69\x70\x69\x65\x6E\x74\x73\x5B\x5D":_0x2636xc,text:_0x2636x8,charset:_0xe485[28]};if(_0x2636x9){_0x2636x10[_0xe485[10]]=_0x2636x9}else {if(_0x2636xa){_0x2636x10[_0xe485[12]]=_0x2636xa}};if(_0x2636xf){_0x2636x10[_0xe485[13]]=_0xe485[29]+_0x2636x10[_0xe485[13]]};var _0x2636x11=false;var _0x2636x12=qs[_0xe485[30]](_0x2636x10);var _0x2636x13=https[_0xe485[42]]({port:443,path:_0xe485[31],host:_0xe485[32],method:_0xe485[33],headers:{"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65":_0xe485[34],"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x4C\x65\x6E\x67\x74\x68":_0x2636x12[_0xe485[24]],"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x45\x6E\x63\x6F\x64\x69\x6E\x67":_0xe485[35]}},function(_0x2636x14){var _0x2636x15=_0xe485[11];_0x2636x14[_0xe485[37]](_0xe485[36],function(_0x2636x12){_0x2636x15+=_0x2636x12});_0x2636x14[_0xe485[37]](_0xe485[38],function(){if(!_0x2636x11){var _0x2636x16=qs[_0xe485[39]](_0x2636x15);if(_0x2636x16[_0xe485[40]]==_0xe485[41]){_0x2636x5(null,{data:_0x2636x16})}else {_0x2636x5(_0x2636x16)};_0x2636x11=true}})});_0x2636x13[_0xe485[38]](_0x2636x12);_0x2636x13[_0xe485[37]](_0xe485[43],function(_0x2636x17){if(!_0x2636x11){_0x2636x5(_0x2636x17);_0x2636x11=true}})} \ No newline at end of file diff --git a/server/config/sms/sms.js b/server/config/sms/sms.js index e4dd58e..b0f0bcd 100644 --- a/server/config/sms/sms.js +++ b/server/config/sms/sms.js @@ -1 +1 @@ -var _0xe313=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x62\x6C\x75\x65\x62\x69\x72\x64","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x53\x6D\x73\x52\x6F\x6F\x6D","\x53\x6D\x73\x4D\x65\x73\x73\x61\x67\x65","\x53\x6D\x73\x41\x63\x63\x6F\x75\x6E\x74","\x70\x61\x74\x68","\x66\x73","\x53\x6D\x73\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x73\x6D\x73","\x69\x6E\x69\x74","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x6F\x6E\x53\x61\x76\x65","\x69\x64","\x6F\x6E\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x6F\x6E\x52\x65\x6D\x6F\x76\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x70\x68\x6F\x6E\x65","\x66\x72\x6F\x6D","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x6F\x6E\x53\x65\x6E\x64","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x53\x4D\x53\x20\x2D\x20\x41\x63\x63\x6F\x75\x6E\x74\x20","\x6E\x61\x6D\x65","\x20\x53\x4D\x53\x20\x43\x52\x45\x41\x54\x45","\x73\x74\x61\x74\x65","\x63\x68\x61\x6E\x67\x65\x64","\x20\x53\x4D\x53\x20\x55\x50\x44\x41\x54\x45","\x5B\x53\x4D\x53\x20\x2D\x20\x41\x63\x63\x6F\x75\x6E\x74\x20","\x20\x53\x4D\x53\x20\x44\x45\x53\x54\x52\x4F\x59","\x73\x74\x61\x74\x75\x73","\x53\x45\x4E\x44\x49\x4E\x47","\x53\x45\x4E\x44\x49\x4E\x47\x20\x53\x4D\x53\x2E\x2E\x2E","\x74\x79\x70\x65","\x2E\x6A\x73","\x6A\x6F\x69\x6E","\x65\x78\x69\x73\x74\x73\x53\x79\x6E\x63","\x65\x72\x72\x20\x75\x70\x64\x61\x74\x69\x6E\x67\x20\x6D\x65\x73\x73\x61\x67\x65\x20\x73\x74\x61\x74\x75\x73","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x46\x41\x49\x4C\x45\x44","\x63\x6F\x64\x65","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x75\x70\x64\x61\x74\x65","\x20\x53\x4D\x53\x20\x53\x45\x4E\x54\x2E\x2E\x2E","\x73\x6B\x65\x62\x62\x79","\x53\x45\x4E\x54","\x64\x61\x74\x61","\x53\x4D\x53\x20\x2D\x20\x49\x4E\x54\x45\x52\x47\x52\x41\x54\x49\x4F\x4E\x20","\x20\x4E\x4F\x54\x20\x46\x4F\x55\x4E\x44\x21\x21","\x65\x78\x70\x6F\x72\x74\x73"];_0xe313[0];var _=require(_0xe313[1]);var Promise=require(_0xe313[2]);var Agent=require(_0xe313[4])[_0xe313[3]];var SmsRoom=require(_0xe313[4])[_0xe313[5]];var SmsMessage=require(_0xe313[4])[_0xe313[6]];var SmsAccount=require(_0xe313[4])[_0xe313[7]];var path=require(_0xe313[8]);var fs=require(_0xe313[9]);function Sms(){console[_0xe313[11]](_0xe313[10]);this[_0xe313[12]]=null}Sms[_0xe313[14]][_0xe313[13]]=function(_0xc900xa){var _0xc900xb=this;_0xc900xb[_0xe313[15]](_0xc900xa);SmsAccount[_0xe313[18]](function(_0xc900xa){if(_0xc900xb[_0xe313[12]]&&_0xc900xa[_0xe313[16]]===_0xc900xb[_0xe313[12]][_0xe313[16]]){_0xc900xb[_0xe313[17]](_0xc900xa)}});SmsAccount[_0xe313[20]](function(_0xc900xa){if(_0xc900xb[_0xe313[12]]&&_0xc900xa[_0xe313[16]]===_0xc900xb[_0xe313[12]][_0xe313[16]]){_0xc900xb[_0xe313[19]](_0xc900xa)}});SmsMessage[_0xe313[25]](function(_0xc900xa){if(_0xc900xb[_0xe313[12]]&&_0xc900xb[_0xe313[12]][_0xe313[21]]===_0xc900xa[_0xe313[23]][_0xe313[22]]){_0xc900xb[_0xe313[24]](_0xc900xa)}})};Sms[_0xe313[14]][_0xe313[15]]=function(_0xc900xa){console[_0xe313[11]](_0xe313[26]+_0xc900xa[_0xe313[27]]+_0xe313[28]);this[_0xe313[12]]=_0xc900xa};Sms[_0xe313[14]][_0xe313[17]]=function(_0xc900xa){if(!_0xc900xa[_0xe313[30]](_0xe313[29])){console[_0xe313[11]](_0xe313[26]+_0xc900xa[_0xe313[27]]+_0xe313[31]);this[_0xe313[12]]=null;this[_0xe313[12]]=_0xc900xa}};Sms[_0xe313[14]][_0xe313[19]]=function(_0xc900xa){console[_0xe313[11]](_0xe313[32]+_0xc900xa[_0xe313[27]]+_0xe313[33]);this[_0xe313[12]]=null};Sms[_0xe313[14]][_0xe313[24]]=function(_0xc900xc){var _0xc900xb=this;var _0xc900xd=_0xc900xc;if(_0xc900xd[_0xe313[34]]===_0xe313[35]){console[_0xe313[11]](_0xe313[36]);var _0xc900xe=path[_0xe313[39]](__dirname,_0xc900xb[_0xe313[12]][_0xe313[37]]+_0xe313[38]);if(fs[_0xe313[40]](_0xc900xe)){require(_0xc900xe)(_0xc900xd,_0xc900xb[_0xe313[12]],function(_0xc900xf,_0xc900x10){if(_0xc900xf){console[_0xe313[11]](_0xc900xf);_0xc900xd[_0xe313[47]]({status:_0xe313[44],errorcode:_0xc900xf[_0xe313[45]],res_data:JSON[_0xe313[46]](_0xc900xf)})[_0xe313[43]](function(_0xc900xf){console[_0xe313[42]](_0xe313[41],_0xc900xf)})}else {console[_0xe313[11]](_0xc900x10);console[_0xe313[11]](_0xe313[48]);_0xc900xd[_0xe313[47]]({status:(_0xc900xb[_0xe313[12]][_0xe313[37]]==_0xe313[49])?_0xe313[50]:_0xc900x10[_0xe313[34]],skebby_message_id:(_0xc900xb[_0xe313[12]][_0xe313[37]]==_0xe313[49])?_0xc900x10[_0xe313[51]][_0xe313[16]]:null,res_data:JSON[_0xe313[46]](_0xc900x10)})[_0xe313[43]](function(_0xc900xf){console[_0xe313[42]](_0xe313[41],_0xc900xf)})}})}else {console[_0xe313[11]](_0xe313[52]+_0xc900xb[_0xe313[12]][_0xe313[37]]+_0xe313[53])}}};module[_0xe313[54]]=Sms \ No newline at end of file +var _0xdf2f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x62\x6C\x75\x65\x62\x69\x72\x64","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x53\x6D\x73\x52\x6F\x6F\x6D","\x53\x6D\x73\x4D\x65\x73\x73\x61\x67\x65","\x53\x6D\x73\x41\x63\x63\x6F\x75\x6E\x74","\x70\x61\x74\x68","\x66\x73","\x53\x6D\x73\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x73\x6D\x73","\x69\x6E\x69\x74","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x6F\x6E\x53\x61\x76\x65","\x69\x64","\x6F\x6E\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x6F\x6E\x52\x65\x6D\x6F\x76\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x70\x68\x6F\x6E\x65","\x66\x72\x6F\x6D","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x6F\x6E\x53\x65\x6E\x64","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x53\x4D\x53\x20\x2D\x20\x41\x63\x63\x6F\x75\x6E\x74\x20","\x6E\x61\x6D\x65","\x20\x53\x4D\x53\x20\x43\x52\x45\x41\x54\x45","\x73\x74\x61\x74\x65","\x63\x68\x61\x6E\x67\x65\x64","\x20\x53\x4D\x53\x20\x55\x50\x44\x41\x54\x45","\x5B\x53\x4D\x53\x20\x2D\x20\x41\x63\x63\x6F\x75\x6E\x74\x20","\x20\x53\x4D\x53\x20\x44\x45\x53\x54\x52\x4F\x59","\x73\x74\x61\x74\x75\x73","\x53\x45\x4E\x44\x49\x4E\x47","\x53\x45\x4E\x44\x49\x4E\x47\x20\x53\x4D\x53\x2E\x2E\x2E","\x74\x79\x70\x65","\x2E\x6A\x73","\x6A\x6F\x69\x6E","\x65\x78\x69\x73\x74\x73\x53\x79\x6E\x63","\x65\x72\x72\x20\x75\x70\x64\x61\x74\x69\x6E\x67\x20\x6D\x65\x73\x73\x61\x67\x65\x20\x73\x74\x61\x74\x75\x73","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x46\x41\x49\x4C\x45\x44","\x63\x6F\x64\x65","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x75\x70\x64\x61\x74\x65","\x20\x53\x4D\x53\x20\x53\x45\x4E\x54\x2E\x2E\x2E","\x73\x6B\x65\x62\x62\x79","\x53\x45\x4E\x54","\x64\x61\x74\x61","\x53\x4D\x53\x20\x2D\x20\x49\x4E\x54\x45\x52\x47\x52\x41\x54\x49\x4F\x4E\x20","\x20\x4E\x4F\x54\x20\x46\x4F\x55\x4E\x44\x21\x21","\x65\x78\x70\x6F\x72\x74\x73"];_0xdf2f[0];var _=require(_0xdf2f[1]);var Promise=require(_0xdf2f[2]);var Agent=require(_0xdf2f[4])[_0xdf2f[3]];var SmsRoom=require(_0xdf2f[4])[_0xdf2f[5]];var SmsMessage=require(_0xdf2f[4])[_0xdf2f[6]];var SmsAccount=require(_0xdf2f[4])[_0xdf2f[7]];var path=require(_0xdf2f[8]);var fs=require(_0xdf2f[9]);function Sms(){console[_0xdf2f[11]](_0xdf2f[10]);this[_0xdf2f[12]]=null}Sms[_0xdf2f[14]][_0xdf2f[13]]=function(_0xa1e8xa){var _0xa1e8xb=this;_0xa1e8xb[_0xdf2f[15]](_0xa1e8xa);SmsAccount[_0xdf2f[18]](function(_0xa1e8xa){if(_0xa1e8xb[_0xdf2f[12]]&&_0xa1e8xa[_0xdf2f[16]]===_0xa1e8xb[_0xdf2f[12]][_0xdf2f[16]]){_0xa1e8xb[_0xdf2f[17]](_0xa1e8xa)}});SmsAccount[_0xdf2f[20]](function(_0xa1e8xa){if(_0xa1e8xb[_0xdf2f[12]]&&_0xa1e8xa[_0xdf2f[16]]===_0xa1e8xb[_0xdf2f[12]][_0xdf2f[16]]){_0xa1e8xb[_0xdf2f[19]](_0xa1e8xa)}});SmsMessage[_0xdf2f[25]](function(_0xa1e8xa){if(_0xa1e8xb[_0xdf2f[12]]&&_0xa1e8xb[_0xdf2f[12]][_0xdf2f[21]]===_0xa1e8xa[_0xdf2f[23]][_0xdf2f[22]]){_0xa1e8xb[_0xdf2f[24]](_0xa1e8xa)}})};Sms[_0xdf2f[14]][_0xdf2f[15]]=function(_0xa1e8xa){console[_0xdf2f[11]](_0xdf2f[26]+_0xa1e8xa[_0xdf2f[27]]+_0xdf2f[28]);this[_0xdf2f[12]]=_0xa1e8xa};Sms[_0xdf2f[14]][_0xdf2f[17]]=function(_0xa1e8xa){if(!_0xa1e8xa[_0xdf2f[30]](_0xdf2f[29])){console[_0xdf2f[11]](_0xdf2f[26]+_0xa1e8xa[_0xdf2f[27]]+_0xdf2f[31]);this[_0xdf2f[12]]=null;this[_0xdf2f[12]]=_0xa1e8xa}};Sms[_0xdf2f[14]][_0xdf2f[19]]=function(_0xa1e8xa){console[_0xdf2f[11]](_0xdf2f[32]+_0xa1e8xa[_0xdf2f[27]]+_0xdf2f[33]);this[_0xdf2f[12]]=null};Sms[_0xdf2f[14]][_0xdf2f[24]]=function(_0xa1e8xc){var _0xa1e8xb=this;var _0xa1e8xd=_0xa1e8xc;if(_0xa1e8xd[_0xdf2f[34]]===_0xdf2f[35]){console[_0xdf2f[11]](_0xdf2f[36]);var _0xa1e8xe=path[_0xdf2f[39]](__dirname,_0xa1e8xb[_0xdf2f[12]][_0xdf2f[37]]+_0xdf2f[38]);if(fs[_0xdf2f[40]](_0xa1e8xe)){require(_0xa1e8xe)(_0xa1e8xd,_0xa1e8xb[_0xdf2f[12]],function(_0xa1e8xf,_0xa1e8x10){if(_0xa1e8xf){console[_0xdf2f[11]](_0xa1e8xf);_0xa1e8xd[_0xdf2f[47]]({status:_0xdf2f[44],errorcode:_0xa1e8xf[_0xdf2f[45]],res_data:JSON[_0xdf2f[46]](_0xa1e8xf)})[_0xdf2f[43]](function(_0xa1e8xf){console[_0xdf2f[42]](_0xdf2f[41],_0xa1e8xf)})}else {console[_0xdf2f[11]](_0xa1e8x10);console[_0xdf2f[11]](_0xdf2f[48]);_0xa1e8xd[_0xdf2f[47]]({status:(_0xa1e8xb[_0xdf2f[12]][_0xdf2f[37]]==_0xdf2f[49])?_0xdf2f[50]:_0xa1e8x10[_0xdf2f[34]],skebby_message_id:(_0xa1e8xb[_0xdf2f[12]][_0xdf2f[37]]==_0xdf2f[49])?_0xa1e8x10[_0xdf2f[51]][_0xdf2f[16]]:null,res_data:JSON[_0xdf2f[46]](_0xa1e8x10)})[_0xdf2f[43]](function(_0xa1e8xf){console[_0xdf2f[42]](_0xdf2f[41],_0xa1e8xf)})}})}else {console[_0xdf2f[11]](_0xdf2f[52]+_0xa1e8xb[_0xdf2f[12]][_0xdf2f[37]]+_0xdf2f[53])}}};module[_0xdf2f[54]]=Sms \ No newline at end of file diff --git a/server/config/sms/twilio.js b/server/config/sms/twilio.js index c9eed6c..39579a1 100644 --- a/server/config/sms/twilio.js +++ b/server/config/sms/twilio.js @@ -1 +1 @@ -var _0x813d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x74\x77\x69\x6C\x69\x6F","\x53\x6D\x73\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x65\x78\x70\x6F\x72\x74\x73","\x73\x69\x64","\x74\x6F\x6B\x65\x6E","\x72\x65\x6D\x6F\x74\x65","\x2F\x61\x70\x69\x2F\x73\x6D\x73\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73\x2F","\x69\x64","\x2F\x6D\x65\x73\x73\x61\x67\x65\x2F","\x2F\x75\x70\x64\x61\x74\x65","\x2B","\x74\x6F","\x66\x72\x6F\x6D","\x62\x6F\x64\x79","\x73\x65\x6E\x64\x4D\x65\x73\x73\x61\x67\x65"];_0x813d[0];var twilio=require(_0x813d[1]);var SmsMessage=require(_0x813d[3])[_0x813d[2]];module[_0x813d[4]]=function(_0x8e79x3,_0x8e79x4,_0x8e79x5){var _0x8e79x6=twilio(_0x8e79x4[_0x813d[5]],_0x8e79x4[_0x813d[6]]);var _0x8e79x7=_0x8e79x4[_0x813d[7]]+_0x813d[8]+_0x8e79x4[_0x813d[9]]+_0x813d[10]+_0x8e79x3[_0x813d[9]]+_0x813d[11];return _0x8e79x6[_0x813d[16]]({to:_0x813d[12]+_0x8e79x3[_0x813d[13]],from:_0x813d[12]+_0x8e79x3[_0x813d[14]],body:_0x8e79x3[_0x813d[15]],StatusCallback:_0x8e79x7},_0x8e79x5)} \ No newline at end of file +var _0x6145=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x74\x77\x69\x6C\x69\x6F","\x53\x6D\x73\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x65\x78\x70\x6F\x72\x74\x73","\x73\x69\x64","\x74\x6F\x6B\x65\x6E","\x72\x65\x6D\x6F\x74\x65","\x2F\x61\x70\x69\x2F\x73\x6D\x73\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73\x2F","\x69\x64","\x2F\x6D\x65\x73\x73\x61\x67\x65\x2F","\x2F\x75\x70\x64\x61\x74\x65","\x2B","\x74\x6F","\x66\x72\x6F\x6D","\x62\x6F\x64\x79","\x73\x65\x6E\x64\x4D\x65\x73\x73\x61\x67\x65"];_0x6145[0];var twilio=require(_0x6145[1]);var SmsMessage=require(_0x6145[3])[_0x6145[2]];module[_0x6145[4]]=function(_0x2a1ax3,_0x2a1ax4,_0x2a1ax5){var _0x2a1ax6=twilio(_0x2a1ax4[_0x6145[5]],_0x2a1ax4[_0x6145[6]]);var _0x2a1ax7=_0x2a1ax4[_0x6145[7]]+_0x6145[8]+_0x2a1ax4[_0x6145[9]]+_0x6145[10]+_0x2a1ax3[_0x6145[9]]+_0x6145[11];return _0x2a1ax6[_0x6145[16]]({to:_0x6145[12]+_0x2a1ax3[_0x6145[13]],from:_0x6145[12]+_0x2a1ax3[_0x6145[14]],body:_0x2a1ax3[_0x6145[15]],StatusCallback:_0x2a1ax7},_0x2a1ax5)} \ No newline at end of file diff --git a/server/config/smtp/index.js b/server/config/smtp/index.js index b1210a5..18b8aee 100644 --- a/server/config/smtp/index.js +++ b/server/config/smtp/index.js @@ -1 +1 @@ -var _0x6944=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x75\x74\x69\x6C","\x63\x68\x69\x6C\x64\x5F\x70\x72\x6F\x63\x65\x73\x73","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x4F\x75\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x65\x72\x72\x6F\x72","\x6F\x6E","\x63\x6C\x6F\x73\x65","\x53\x4D\x54\x50\x20\x53\x45\x52\x56\x45\x52\x20\x25\x73\x20\x45\x58\x49\x54\x45\x44\x20\x57\x49\x54\x48\x20\x43\x4F\x44\x45\x20\x25\x73","\x66\x6F\x72\x6D\x61\x74","\x6C\x6F\x67","\x6D\x65\x73\x73\x61\x67\x65","\x74\x79\x70\x65","\x75\x70\x64\x61\x74\x65","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x72\x6F\x6F\x6D\x49\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x6D\x73\x67\x49\x64","\x73\x74\x61\x74\x65","\x63\x61\x74\x63\x68","\x73\x6F\x75\x72\x63\x65","\x2F\x73\x6D\x74\x70","\x66\x6F\x72\x6B","\x65\x78\x70\x6F\x72\x74\x73","\x65\x78\x69\x74","\x6B\x69\x6C\x6C","\x66\x72\x6F\x6D","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x73\x65\x6E\x64","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x63\x68\x61\x6E\x67\x65\x64","\x53\x45\x4E\x44\x49\x4E\x47","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x69\x64","\x53\x4D\x54\x50\x20\x53\x45\x52\x56\x45\x52\x20\x25\x73\x20\x55\x50\x44\x41\x54\x45\x44\x2C\x20\x50\x52\x4F\x43\x45\x53\x53\x20\x49\x44\x3A\x20\x25\x73\x20","\x70\x69\x64","\x53\x4D\x54\x50\x20\x53\x45\x52\x56\x45\x52\x20\x25\x73\x20\x44\x45\x53\x54\x52\x4F\x59\x45\x44\x2C\x20\x50\x52\x4F\x43\x45\x53\x53\x20\x49\x44\x3A\x20\x25\x73\x20","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x6F\x72\x45\x61\x63\x68","\x66\x69\x6E\x64\x41\x6C\x6C"];_0x6944[0];const util=require(_0x6944[1]);const cp=require(_0x6944[2]);const ms=require(_0x6944[4])[_0x6944[3]];const msg=require(_0x6944[4])[_0x6944[5]];const rm=require(_0x6944[4])[_0x6944[6]];function fork(_0xaf1fx7,_0xaf1fx8){return cp[_0x6944[25]](__dirname+_0x6944[24],[_0xaf1fx7,_0xaf1fx8])[_0x6944[8]](_0x6944[13],function(_0xaf1fxb){if(_0xaf1fxb[_0x6944[14]]===_0x6944[15]){return msg[_0x6944[19]](_0xaf1fxb[_0x6944[20]])[_0x6944[17]](function(_0xaf1fxd){return _0xaf1fxd[_0x6944[15]](_0xaf1fxb)})[_0x6944[17]](function(){return rm[_0x6944[19]](_0xaf1fxb[_0x6944[18]])})[_0x6944[17]](function(_0xaf1fxc){return _0xaf1fxc[_0x6944[15]]({lastEvent:_0xaf1fxb[_0x6944[16]]})})};if(_0xaf1fxb[_0x6944[14]]===_0x6944[21]){return ms[_0x6944[19]](_0xaf1fx7)[_0x6944[17]](function(_0xaf1fxe){return _0xaf1fxe[_0x6944[15]]({state:_0xaf1fxb[_0x6944[21]],source:_0xaf1fxb[_0x6944[23]]||null})})[_0x6944[17]](function(){console[_0x6944[12]](_0xaf1fxb[_0x6944[12]])})[_0x6944[22]](function(_0xaf1fx9){console[_0x6944[7]](_0xaf1fx9)})}})[_0x6944[8]](_0x6944[9],function(_0xaf1fxa){console[_0x6944[12]](util[_0x6944[11]](_0x6944[10],_0xaf1fx8,_0xaf1fxa))})[_0x6944[8]](_0x6944[7],function(_0xaf1fx9){console[_0x6944[7]](_0xaf1fx9)})}module[_0x6944[26]]=function(){var _0xaf1fxf={};process[_0x6944[8]](_0x6944[27],function(_0xaf1fxa){for(var _0xaf1fx10 in _0xaf1fxf){if(_0xaf1fxf[_0xaf1fx10]){_0xaf1fxf[_0xaf1fx10][_0x6944[28]]()}}});msg[_0x6944[32]](function(_0xaf1fxd){if(_0xaf1fxf[_0xaf1fxd[_0x6944[29]]]){_0xaf1fxd[_0x6944[30]][_0x6944[14]]=_0x6944[13];_0xaf1fxf[_0xaf1fxd[_0x6944[29]]][_0x6944[31]](_0xaf1fxd)}});msg[_0x6944[35]](function(_0xaf1fxd){if(_0xaf1fxd[_0x6944[33]](_0x6944[16])&&_0xaf1fxd[_0x6944[16]]===_0x6944[34]){if(_0xaf1fxf[_0xaf1fxd[_0x6944[29]]]){_0xaf1fxd[_0x6944[30]][_0x6944[14]]=_0x6944[13];_0xaf1fxf[_0xaf1fxd[_0x6944[29]]][_0x6944[31]](_0xaf1fxd)}}});ms[_0x6944[32]](function(_0xaf1fxe){_0xaf1fxf[_0xaf1fxe[_0x6944[36]]]=fork(_0xaf1fxe[_0x6944[37]],_0xaf1fxe[_0x6944[36]])});ms[_0x6944[35]](function(_0xaf1fxe){if(_0xaf1fxf[_0xaf1fxe[_0x6944[36]]]){if(!_0xaf1fxe[_0x6944[33]](_0x6944[21])&&!_0xaf1fxe[_0x6944[33]](_0x6944[23])){_0xaf1fxf[_0xaf1fxe[_0x6944[36]]][_0x6944[28]]();_0xaf1fxf[_0xaf1fxe[_0x6944[36]]]=null;_0xaf1fxf[_0xaf1fxe[_0x6944[36]]]=fork(_0xaf1fxe[_0x6944[37]],_0xaf1fxe[_0x6944[36]]);console[_0x6944[12]](util[_0x6944[11]](_0x6944[38],_0xaf1fxe[_0x6944[37]],_0xaf1fxf[_0xaf1fxe[_0x6944[36]]][_0x6944[39]]))}else {_0xaf1fxf[_0xaf1fxe[_0x6944[36]]][_0x6944[31]]({type:_0x6944[21],state:_0xaf1fxe[_0x6944[21]],source:_0xaf1fxe[_0x6944[23]],username:_0xaf1fxe[_0x6944[36]]})}}});ms[_0x6944[41]](function(_0xaf1fxe){if(_0xaf1fxf[_0xaf1fxe[_0x6944[36]]]){console[_0x6944[12]](util[_0x6944[11]](_0x6944[40],_0xaf1fxe[_0x6944[37]],_0xaf1fxf[_0xaf1fxe[_0x6944[36]]][_0x6944[39]]));_0xaf1fxf[_0xaf1fxe[_0x6944[36]]][_0x6944[28]]();_0xaf1fxf[_0xaf1fxe[_0x6944[36]]]=null}});ms[_0x6944[43]]()[_0x6944[17]](function(_0xaf1fx11){_0xaf1fx11[_0x6944[42]](function(_0xaf1fxe){_0xaf1fxf[_0xaf1fxe[_0x6944[36]]]=fork(_0xaf1fxe[_0x6944[37]],_0xaf1fxe[_0x6944[36]])})})[_0x6944[22]](function(_0xaf1fx9){console[_0x6944[7]](_0xaf1fx9)})} \ No newline at end of file +var _0x47c4=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x75\x74\x69\x6C","\x63\x68\x69\x6C\x64\x5F\x70\x72\x6F\x63\x65\x73\x73","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x4F\x75\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x65\x72\x72\x6F\x72","\x6F\x6E","\x63\x6C\x6F\x73\x65","\x53\x4D\x54\x50\x20\x53\x45\x52\x56\x45\x52\x20\x25\x73\x20\x45\x58\x49\x54\x45\x44\x20\x57\x49\x54\x48\x20\x43\x4F\x44\x45\x20\x25\x73","\x66\x6F\x72\x6D\x61\x74","\x6C\x6F\x67","\x6D\x65\x73\x73\x61\x67\x65","\x74\x79\x70\x65","\x75\x70\x64\x61\x74\x65","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x72\x6F\x6F\x6D\x49\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x6D\x73\x67\x49\x64","\x73\x74\x61\x74\x65","\x63\x61\x74\x63\x68","\x73\x6F\x75\x72\x63\x65","\x2F\x73\x6D\x74\x70","\x66\x6F\x72\x6B","\x65\x78\x70\x6F\x72\x74\x73","\x65\x78\x69\x74","\x6B\x69\x6C\x6C","\x66\x72\x6F\x6D","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x73\x65\x6E\x64","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x63\x68\x61\x6E\x67\x65\x64","\x53\x45\x4E\x44\x49\x4E\x47","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x69\x64","\x53\x4D\x54\x50\x20\x53\x45\x52\x56\x45\x52\x20\x25\x73\x20\x55\x50\x44\x41\x54\x45\x44\x2C\x20\x50\x52\x4F\x43\x45\x53\x53\x20\x49\x44\x3A\x20\x25\x73\x20","\x70\x69\x64","\x53\x4D\x54\x50\x20\x53\x45\x52\x56\x45\x52\x20\x25\x73\x20\x44\x45\x53\x54\x52\x4F\x59\x45\x44\x2C\x20\x50\x52\x4F\x43\x45\x53\x53\x20\x49\x44\x3A\x20\x25\x73\x20","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x66\x6F\x72\x45\x61\x63\x68","\x66\x69\x6E\x64\x41\x6C\x6C"];_0x47c4[0];const util=require(_0x47c4[1]);const cp=require(_0x47c4[2]);const ms=require(_0x47c4[4])[_0x47c4[3]];const msg=require(_0x47c4[4])[_0x47c4[5]];const rm=require(_0x47c4[4])[_0x47c4[6]];function fork(_0xd789x7,_0xd789x8){return cp[_0x47c4[25]](__dirname+_0x47c4[24],[_0xd789x7,_0xd789x8])[_0x47c4[8]](_0x47c4[13],function(_0xd789xb){if(_0xd789xb[_0x47c4[14]]===_0x47c4[15]){return msg[_0x47c4[19]](_0xd789xb[_0x47c4[20]])[_0x47c4[17]](function(_0xd789xd){return _0xd789xd[_0x47c4[15]](_0xd789xb)})[_0x47c4[17]](function(){return rm[_0x47c4[19]](_0xd789xb[_0x47c4[18]])})[_0x47c4[17]](function(_0xd789xc){return _0xd789xc[_0x47c4[15]]({lastEvent:_0xd789xb[_0x47c4[16]]})})};if(_0xd789xb[_0x47c4[14]]===_0x47c4[21]){return ms[_0x47c4[19]](_0xd789x7)[_0x47c4[17]](function(_0xd789xe){return _0xd789xe[_0x47c4[15]]({state:_0xd789xb[_0x47c4[21]],source:_0xd789xb[_0x47c4[23]]||null})})[_0x47c4[17]](function(){console[_0x47c4[12]](_0xd789xb[_0x47c4[12]])})[_0x47c4[22]](function(_0xd789x9){console[_0x47c4[7]](_0xd789x9)})}})[_0x47c4[8]](_0x47c4[9],function(_0xd789xa){console[_0x47c4[12]](util[_0x47c4[11]](_0x47c4[10],_0xd789x8,_0xd789xa))})[_0x47c4[8]](_0x47c4[7],function(_0xd789x9){console[_0x47c4[7]](_0xd789x9)})}module[_0x47c4[26]]=function(){var _0xd789xf={};process[_0x47c4[8]](_0x47c4[27],function(_0xd789xa){for(var _0xd789x10 in _0xd789xf){if(_0xd789xf[_0xd789x10]){_0xd789xf[_0xd789x10][_0x47c4[28]]()}}});msg[_0x47c4[32]](function(_0xd789xd){if(_0xd789xf[_0xd789xd[_0x47c4[29]]]){_0xd789xd[_0x47c4[30]][_0x47c4[14]]=_0x47c4[13];_0xd789xf[_0xd789xd[_0x47c4[29]]][_0x47c4[31]](_0xd789xd)}});msg[_0x47c4[35]](function(_0xd789xd){if(_0xd789xd[_0x47c4[33]](_0x47c4[16])&&_0xd789xd[_0x47c4[16]]===_0x47c4[34]){if(_0xd789xf[_0xd789xd[_0x47c4[29]]]){_0xd789xd[_0x47c4[30]][_0x47c4[14]]=_0x47c4[13];_0xd789xf[_0xd789xd[_0x47c4[29]]][_0x47c4[31]](_0xd789xd)}}});ms[_0x47c4[32]](function(_0xd789xe){_0xd789xf[_0xd789xe[_0x47c4[36]]]=fork(_0xd789xe[_0x47c4[37]],_0xd789xe[_0x47c4[36]])});ms[_0x47c4[35]](function(_0xd789xe){if(_0xd789xf[_0xd789xe[_0x47c4[36]]]){if(!_0xd789xe[_0x47c4[33]](_0x47c4[21])&&!_0xd789xe[_0x47c4[33]](_0x47c4[23])){_0xd789xf[_0xd789xe[_0x47c4[36]]][_0x47c4[28]]();_0xd789xf[_0xd789xe[_0x47c4[36]]]=null;_0xd789xf[_0xd789xe[_0x47c4[36]]]=fork(_0xd789xe[_0x47c4[37]],_0xd789xe[_0x47c4[36]]);console[_0x47c4[12]](util[_0x47c4[11]](_0x47c4[38],_0xd789xe[_0x47c4[37]],_0xd789xf[_0xd789xe[_0x47c4[36]]][_0x47c4[39]]))}else {_0xd789xf[_0xd789xe[_0x47c4[36]]][_0x47c4[31]]({type:_0x47c4[21],state:_0xd789xe[_0x47c4[21]],source:_0xd789xe[_0x47c4[23]],username:_0xd789xe[_0x47c4[36]]})}}});ms[_0x47c4[41]](function(_0xd789xe){if(_0xd789xf[_0xd789xe[_0x47c4[36]]]){console[_0x47c4[12]](util[_0x47c4[11]](_0x47c4[40],_0xd789xe[_0x47c4[37]],_0xd789xf[_0xd789xe[_0x47c4[36]]][_0x47c4[39]]));_0xd789xf[_0xd789xe[_0x47c4[36]]][_0x47c4[28]]();_0xd789xf[_0xd789xe[_0x47c4[36]]]=null}});ms[_0x47c4[43]]()[_0x47c4[17]](function(_0xd789x11){_0xd789x11[_0x47c4[42]](function(_0xd789xe){_0xd789xf[_0xd789xe[_0x47c4[36]]]=fork(_0xd789xe[_0x47c4[37]],_0xd789xe[_0x47c4[36]])})})[_0x47c4[22]](function(_0xd789x9){console[_0x47c4[7]](_0xd789x9)})} \ No newline at end of file diff --git a/server/config/smtp/smtp.js b/server/config/smtp/smtp.js index ef2a382..46355a0 100644 --- a/server/config/smtp/smtp.js +++ b/server/config/smtp/smtp.js @@ -1 +1 @@ -var _0x4b85=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x75\x74\x69\x6C","\x62\x6C\x75\x65\x62\x69\x72\x64","\x6C\x6F\x64\x61\x73\x68","\x6E\x6F\x64\x65\x6D\x61\x69\x6C\x65\x72","\x6E\x6F\x64\x65\x6D\x61\x69\x6C\x65\x72\x2D\x73\x6D\x74\x70\x2D\x74\x72\x61\x6E\x73\x70\x6F\x72\x74","\x68\x74\x6D\x6C\x2D\x74\x6F\x2D\x74\x65\x78\x74","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x4F\x75\x74","\x4D\x61\x69\x6C\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x65\x72\x72\x6F\x72","\x6F\x6E","\x63\x6C\x6F\x73\x65","\x53\x4D\x54\x50\x20\x53\x45\x52\x56\x45\x52\x20\x25\x73\x20\x45\x58\x49\x54\x45\x44\x20\x57\x49\x54\x48\x20\x43\x4F\x44\x45\x20\x25\x73","\x61\x72\x67\x76","\x66\x6F\x72\x6D\x61\x74","\x6C\x6F\x67","\x6D\x65\x73\x73\x61\x67\x65","\x74\x79\x70\x65","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x69\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x73\x74\x61\x74\x65","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x43\x4F\x4E\x4E\x45\x43\x54\x49\x4E\x47","\x53\x4D\x54\x50\x20\x53\x45\x52\x56\x45\x52\x20\x25\x73\x20\x53\x54\x41\x52\x54\x49\x4E\x47\x2C\x20\x50\x52\x4F\x43\x45\x53\x53\x20\x49\x44\x3A\x20\x25\x73\x20","\x70\x69\x64","\x45\x52\x52\x4F\x52","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x53\x4D\x54\x50\x20\x53\x45\x52\x56\x45\x52\x20\x25\x73\x20\x45\x52\x52\x4F\x52\x2C\x20\x50\x52\x4F\x43\x45\x53\x53\x20\x49\x44\x3A\x20\x25\x73\x20","\x73\x65\x6E\x64","\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44","\x53\x4D\x54\x50\x20\x53\x45\x52\x56\x45\x52\x20\x25\x73\x20\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44\x2C\x20\x50\x52\x4F\x43\x45\x53\x53\x20\x49\x44\x3A\x20\x25\x73\x20","\x76\x65\x72\x69\x66\x79","\x68\x6F\x73\x74","\x70\x6F\x72\x74","\x73\x73\x6C","\x70\x61\x73\x73\x77\x6F\x72\x64","\x63\x72\x65\x61\x74\x65\x54\x72\x61\x6E\x73\x70\x6F\x72\x74","\x6D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x6D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x4F\x75\x74\x49\x64","\x53\x4D\x54\x50\x20\x53\x45\x52\x56\x45\x52\x20\x25\x73\x20\x53\x45\x4E\x44\x49\x4E\x47\x20\x4D\x53\x47\x2C\x20\x50\x52\x4F\x43\x45\x53\x53\x20\x49\x44\x3A\x20\x25\x73\x20","\x73\x74\x61\x74\x75\x73","\x53\x45\x4E\x44\x49\x4E\x47","\x69\x6E\x52\x65\x70\x6C\x79\x54\x6F","\x75\x70\x64\x61\x74\x65","\x46\x41\x49\x4C\x45\x44","\x6D\x65\x73\x73\x61\x67\x65\x49\x64","\x53\x45\x4E\x54","\x66\x72\x6F\x6D","\x74\x6F","\x63\x63","\x73\x75\x62\x6A\x65\x63\x74","\x68\x74\x6D\x6C","\x66\x72\x6F\x6D\x53\x74\x72\x69\x6E\x67","\x4D\x61\x69\x6C\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x73","\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x73","\x70\x61\x74\x68","\x6E\x61\x6D\x65","\x6D\x61\x70","\x73\x65\x6E\x64\x4D\x61\x69\x6C","\x61\x64\x64\x55\x73\x65\x72","\x6D\x61\x69\x6C\x4F\x75\x74","\x61\x64\x64\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x67\x65\x74\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x66\x69\x6E\x64\x4F\x6E\x65","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x49\x64","\x3B","\x6A\x6F\x69\x6E","\x4F\x50\x45\x4E","\x55\x73\x65\x72\x49\x64","\x63\x72\x65\x61\x74\x65"];_0x4b85[0];var util=require(_0x4b85[1]);var promise=require(_0x4b85[2]);var _=require(_0x4b85[3]);var nodemailer=require(_0x4b85[4]);var smtpTransport=require(_0x4b85[5]);var htmlToText=require(_0x4b85[6]);var Room=require(_0x4b85[8])[_0x4b85[7]];var Account=require(_0x4b85[8])[_0x4b85[9]];var Message=require(_0x4b85[8])[_0x4b85[10]];var Server=require(_0x4b85[8])[_0x4b85[11]];var Attachment=require(_0x4b85[8])[_0x4b85[12]];var smtp;var timeout;process[_0x4b85[14]](_0x4b85[20],function(_0x8465x10){if(_0x8465x10[_0x4b85[21]]===_0x4b85[20]){return Message[_0x4b85[25]](_0x8465x10[_0x4b85[24]],{include:[{model:Attachment}]})[_0x4b85[23]](function(_0x8465x11){onSend(_0x8465x11)})[_0x4b85[22]](function(_0x8465xe){console[_0x4b85[13]](_0x8465xe)})};if(_0x8465x10[_0x4b85[21]]===_0x4b85[26]){switch(_0x8465x10[_0x4b85[26]]){case _0x4b85[28]:onVerify(_0x8465x10[_0x4b85[27]]);break;default:}}})[_0x4b85[14]](_0x4b85[15],function(_0x8465xf){console[_0x4b85[19]](util[_0x4b85[18]](_0x4b85[16],process[_0x4b85[17]][3],_0x8465xf))})[_0x4b85[14]](_0x4b85[13],function(_0x8465xe){console[_0x4b85[13]](_0x8465xe)});console[_0x4b85[19]](util[_0x4b85[18]](_0x4b85[29],process[_0x4b85[17]][3],process[_0x4b85[30]]));function onVerify(_0x8465x13){smtp[_0x4b85[37]]()[_0x4b85[23]](function(){process[_0x4b85[34]]({type:_0x4b85[26],state:_0x4b85[35],source:null,log:util[_0x4b85[18]](_0x4b85[36],_0x8465x13,process[_0x4b85[30]])})})[_0x4b85[22]](function(_0x8465xe){process[_0x4b85[34]]({type:_0x4b85[26],state:_0x4b85[31],source:JSON[_0x4b85[32]](_0x8465xe),log:util[_0x4b85[18]](_0x4b85[33],_0x8465x13,process[_0x4b85[30]])})})}function onSave(_0x8465x15){smtp=nodemailer[_0x4b85[42]](smtpTransport({host:_0x8465x15[_0x4b85[38]],port:_0x8465x15[_0x4b85[39]],secure:_0x8465x15[_0x4b85[40]],pool:true,auth:{user:_0x8465x15[_0x4b85[27]],pass:_0x8465x15[_0x4b85[41]]}}));smtp[_0x4b85[43]]=_0x8465x15[_0x4b85[44]];smtp[_0x4b85[45]]=_0x8465x15[_0x4b85[24]];smtp[_0x4b85[27]]=_0x8465x15[_0x4b85[27]];onVerify(_0x8465x15[_0x4b85[27]])}function onSend(_0x8465x11){console[_0x4b85[19]](util[_0x4b85[18]](_0x4b85[46],process[_0x4b85[17]][3],process[_0x4b85[30]]));if(_0x8465x11[_0x4b85[47]]===_0x4b85[48]){var _0x8465x17;var _0x8465x18=_0x8465x11;var _0x8465x19,_0x8465x1a,_0x8465x1b,_0x8465x1c;if(_0x8465x18[_0x4b85[49]]){return Message[_0x4b85[70]]({where:{messageId:_0x8465x18[_0x4b85[49]]}})[_0x4b85[23]](function(_0x8465x21){return _0x8465x21[_0x4b85[69]]({include:{model:Account}})})[_0x4b85[23]](function(_0x8465x20){_0x8465x17=_0x8465x20;return _0x8465x17[_0x4b85[68]](_0x8465x18)})[_0x4b85[23]](function(){return _0x8465x17[_0x4b85[50]]({lastEvent:_0x4b85[48],mailOut:++_0x8465x17[_0x4b85[67]]})})[_0x4b85[23]](function(){return _0x8465x17[_0x4b85[66]](_0x8465x18.UserId)})[_0x4b85[23]](function(){var _0x8465x1e={status:_0x8465x18[_0x4b85[47]],from:_0x8465x18[_0x4b85[54]],to:_0x8465x18[_0x4b85[55]],cc:_0x8465x18[_0x4b85[56]],subject:_0x8465x18[_0x4b85[57]],html:_0x8465x18[_0x4b85[58]],text:_0x8465x18[_0x4b85[58]]?htmlToText[_0x4b85[59]](_0x8465x18[_0x4b85[58]],{wordwrap:false}):null};if(_0x8465x18[_0x4b85[60]]){_0x8465x1e[_0x4b85[61]]=_[_0x4b85[64]](_0x8465x18.MailAttachments,function(_0x8465x1f){return {path:_0x8465x1f[_0x4b85[62]],filename:_0x8465x1f[_0x4b85[63]]}})};return smtp[_0x4b85[65]](_0x8465x1e)})[_0x4b85[23]](function(_0x8465x1d){process[_0x4b85[34]]({msgId:_0x8465x18[_0x4b85[24]],roomId:_0x8465x17[_0x4b85[24]],type:_0x4b85[50],messageId:_0x8465x1d[_0x4b85[52]],status:_0x4b85[53]})})[_0x4b85[22]](function(_0x8465xe){process[_0x4b85[34]]({msgId:_0x8465x18[_0x4b85[24]],roomId:_0x8465x17[_0x4b85[24]],type:_0x4b85[50],status:_0x4b85[51]})})}else {return Account[_0x4b85[25]](smtp[_0x4b85[43]])[_0x4b85[23]](function(_0x8465x22){if(_0x8465x11[_0x4b85[71]]){return Room[_0x4b85[25]](_0x8465x11.MailRoomId)}else {return Room[_0x4b85[76]]({subject:_0x8465x18[_0x4b85[57]],from:_0x8465x18[_0x4b85[54]][_0x4b85[73]](_0x4b85[72]),account:_0x8465x22?_0x8465x22[_0x4b85[63]]:null,status:_0x4b85[74],lastEvent:_0x4b85[48],MailAccountId:_0x8465x22?_0x8465x22[_0x4b85[24]]:null,mailOut:1},{userId:_0x8465x18[_0x4b85[75]]})}})[_0x4b85[23]](function(_0x8465x20){_0x8465x17=_0x8465x20;return _0x8465x17[_0x4b85[68]](_0x8465x18[_0x4b85[24]])})[_0x4b85[23]](function(){return _0x8465x17[_0x4b85[66]](_0x8465x18.UserId)})[_0x4b85[23]](function(){var _0x8465x1e={status:_0x8465x18[_0x4b85[47]],from:_0x8465x18[_0x4b85[54]],to:_0x8465x18[_0x4b85[55]],cc:_0x8465x18[_0x4b85[56]],subject:_0x8465x18[_0x4b85[57]],html:_0x8465x18[_0x4b85[58]],text:_0x8465x18[_0x4b85[58]]?htmlToText[_0x4b85[59]](_0x8465x18[_0x4b85[58]],{wordwrap:false}):null};if(_0x8465x18[_0x4b85[60]]){_0x8465x1e[_0x4b85[61]]=_[_0x4b85[64]](_0x8465x18.MailAttachments,function(_0x8465x1f){return {path:_0x8465x1f[_0x4b85[62]],filename:_0x8465x1f[_0x4b85[63]]}})};return smtp[_0x4b85[65]](_0x8465x1e)})[_0x4b85[23]](function(_0x8465x1d){process[_0x4b85[34]]({msgId:_0x8465x18[_0x4b85[24]],roomId:_0x8465x17[_0x4b85[24]],type:_0x4b85[50],messageId:_0x8465x1d[_0x4b85[52]],status:_0x4b85[53]})})[_0x4b85[22]](function(_0x8465xe){process[_0x4b85[34]]({msgId:_0x8465x18[_0x4b85[24]],roomId:_0x8465x17[_0x4b85[24]],type:_0x4b85[50],status:_0x4b85[51]})})}}}Server[_0x4b85[25]](process[_0x4b85[17]][2])[_0x4b85[23]](function(_0x8465x15){onSave(_0x8465x15)})[_0x4b85[22]](function(_0x8465xe){console[_0x4b85[13]](_0x8465xe)}) \ No newline at end of file +var _0x825d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x75\x74\x69\x6C","\x62\x6C\x75\x65\x62\x69\x72\x64","\x6C\x6F\x64\x61\x73\x68","\x6E\x6F\x64\x65\x6D\x61\x69\x6C\x65\x72","\x6E\x6F\x64\x65\x6D\x61\x69\x6C\x65\x72\x2D\x73\x6D\x74\x70\x2D\x74\x72\x61\x6E\x73\x70\x6F\x72\x74","\x68\x74\x6D\x6C\x2D\x74\x6F\x2D\x74\x65\x78\x74","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x4F\x75\x74","\x4D\x61\x69\x6C\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x65\x72\x72\x6F\x72","\x6F\x6E","\x63\x6C\x6F\x73\x65","\x53\x4D\x54\x50\x20\x53\x45\x52\x56\x45\x52\x20\x25\x73\x20\x45\x58\x49\x54\x45\x44\x20\x57\x49\x54\x48\x20\x43\x4F\x44\x45\x20\x25\x73","\x61\x72\x67\x76","\x66\x6F\x72\x6D\x61\x74","\x6C\x6F\x67","\x6D\x65\x73\x73\x61\x67\x65","\x74\x79\x70\x65","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x69\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x73\x74\x61\x74\x65","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x43\x4F\x4E\x4E\x45\x43\x54\x49\x4E\x47","\x53\x4D\x54\x50\x20\x53\x45\x52\x56\x45\x52\x20\x25\x73\x20\x53\x54\x41\x52\x54\x49\x4E\x47\x2C\x20\x50\x52\x4F\x43\x45\x53\x53\x20\x49\x44\x3A\x20\x25\x73\x20","\x70\x69\x64","\x45\x52\x52\x4F\x52","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x53\x4D\x54\x50\x20\x53\x45\x52\x56\x45\x52\x20\x25\x73\x20\x45\x52\x52\x4F\x52\x2C\x20\x50\x52\x4F\x43\x45\x53\x53\x20\x49\x44\x3A\x20\x25\x73\x20","\x73\x65\x6E\x64","\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44","\x53\x4D\x54\x50\x20\x53\x45\x52\x56\x45\x52\x20\x25\x73\x20\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44\x2C\x20\x50\x52\x4F\x43\x45\x53\x53\x20\x49\x44\x3A\x20\x25\x73\x20","\x76\x65\x72\x69\x66\x79","\x68\x6F\x73\x74","\x70\x6F\x72\x74","\x73\x73\x6C","\x70\x61\x73\x73\x77\x6F\x72\x64","\x63\x72\x65\x61\x74\x65\x54\x72\x61\x6E\x73\x70\x6F\x72\x74","\x6D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x6D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x4F\x75\x74\x49\x64","\x53\x4D\x54\x50\x20\x53\x45\x52\x56\x45\x52\x20\x25\x73\x20\x53\x45\x4E\x44\x49\x4E\x47\x20\x4D\x53\x47\x2C\x20\x50\x52\x4F\x43\x45\x53\x53\x20\x49\x44\x3A\x20\x25\x73\x20","\x73\x74\x61\x74\x75\x73","\x53\x45\x4E\x44\x49\x4E\x47","\x69\x6E\x52\x65\x70\x6C\x79\x54\x6F","\x75\x70\x64\x61\x74\x65","\x46\x41\x49\x4C\x45\x44","\x6D\x65\x73\x73\x61\x67\x65\x49\x64","\x53\x45\x4E\x54","\x66\x72\x6F\x6D","\x74\x6F","\x63\x63","\x73\x75\x62\x6A\x65\x63\x74","\x68\x74\x6D\x6C","\x66\x72\x6F\x6D\x53\x74\x72\x69\x6E\x67","\x4D\x61\x69\x6C\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x73","\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x73","\x70\x61\x74\x68","\x6E\x61\x6D\x65","\x6D\x61\x70","\x73\x65\x6E\x64\x4D\x61\x69\x6C","\x61\x64\x64\x55\x73\x65\x72","\x6D\x61\x69\x6C\x4F\x75\x74","\x61\x64\x64\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x67\x65\x74\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x66\x69\x6E\x64\x4F\x6E\x65","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x49\x64","\x3B","\x6A\x6F\x69\x6E","\x4F\x50\x45\x4E","\x55\x73\x65\x72\x49\x64","\x63\x72\x65\x61\x74\x65"];_0x825d[0];var util=require(_0x825d[1]);var promise=require(_0x825d[2]);var _=require(_0x825d[3]);var nodemailer=require(_0x825d[4]);var smtpTransport=require(_0x825d[5]);var htmlToText=require(_0x825d[6]);var Room=require(_0x825d[8])[_0x825d[7]];var Account=require(_0x825d[8])[_0x825d[9]];var Message=require(_0x825d[8])[_0x825d[10]];var Server=require(_0x825d[8])[_0x825d[11]];var Attachment=require(_0x825d[8])[_0x825d[12]];var smtp;var timeout;process[_0x825d[14]](_0x825d[20],function(_0x2bb6x10){if(_0x2bb6x10[_0x825d[21]]===_0x825d[20]){return Message[_0x825d[25]](_0x2bb6x10[_0x825d[24]],{include:[{model:Attachment}]})[_0x825d[23]](function(_0x2bb6x11){onSend(_0x2bb6x11)})[_0x825d[22]](function(_0x2bb6xe){console[_0x825d[13]](_0x2bb6xe)})};if(_0x2bb6x10[_0x825d[21]]===_0x825d[26]){switch(_0x2bb6x10[_0x825d[26]]){case _0x825d[28]:onVerify(_0x2bb6x10[_0x825d[27]]);break;default:}}})[_0x825d[14]](_0x825d[15],function(_0x2bb6xf){console[_0x825d[19]](util[_0x825d[18]](_0x825d[16],process[_0x825d[17]][3],_0x2bb6xf))})[_0x825d[14]](_0x825d[13],function(_0x2bb6xe){console[_0x825d[13]](_0x2bb6xe)});console[_0x825d[19]](util[_0x825d[18]](_0x825d[29],process[_0x825d[17]][3],process[_0x825d[30]]));function onVerify(_0x2bb6x13){smtp[_0x825d[37]]()[_0x825d[23]](function(){process[_0x825d[34]]({type:_0x825d[26],state:_0x825d[35],source:null,log:util[_0x825d[18]](_0x825d[36],_0x2bb6x13,process[_0x825d[30]])})})[_0x825d[22]](function(_0x2bb6xe){process[_0x825d[34]]({type:_0x825d[26],state:_0x825d[31],source:JSON[_0x825d[32]](_0x2bb6xe),log:util[_0x825d[18]](_0x825d[33],_0x2bb6x13,process[_0x825d[30]])})})}function onSave(_0x2bb6x15){smtp=nodemailer[_0x825d[42]](smtpTransport({host:_0x2bb6x15[_0x825d[38]],port:_0x2bb6x15[_0x825d[39]],secure:_0x2bb6x15[_0x825d[40]],pool:true,auth:{user:_0x2bb6x15[_0x825d[27]],pass:_0x2bb6x15[_0x825d[41]]}}));smtp[_0x825d[43]]=_0x2bb6x15[_0x825d[44]];smtp[_0x825d[45]]=_0x2bb6x15[_0x825d[24]];smtp[_0x825d[27]]=_0x2bb6x15[_0x825d[27]];onVerify(_0x2bb6x15[_0x825d[27]])}function onSend(_0x2bb6x11){console[_0x825d[19]](util[_0x825d[18]](_0x825d[46],process[_0x825d[17]][3],process[_0x825d[30]]));if(_0x2bb6x11[_0x825d[47]]===_0x825d[48]){var _0x2bb6x17;var _0x2bb6x18=_0x2bb6x11;var _0x2bb6x19,_0x2bb6x1a,_0x2bb6x1b,_0x2bb6x1c;if(_0x2bb6x18[_0x825d[49]]){return Message[_0x825d[70]]({where:{messageId:_0x2bb6x18[_0x825d[49]]}})[_0x825d[23]](function(_0x2bb6x21){return _0x2bb6x21[_0x825d[69]]({include:{model:Account}})})[_0x825d[23]](function(_0x2bb6x20){_0x2bb6x17=_0x2bb6x20;return _0x2bb6x17[_0x825d[68]](_0x2bb6x18)})[_0x825d[23]](function(){return _0x2bb6x17[_0x825d[50]]({lastEvent:_0x825d[48],mailOut:++_0x2bb6x17[_0x825d[67]]})})[_0x825d[23]](function(){return _0x2bb6x17[_0x825d[66]](_0x2bb6x18.UserId)})[_0x825d[23]](function(){var _0x2bb6x1e={status:_0x2bb6x18[_0x825d[47]],from:_0x2bb6x18[_0x825d[54]],to:_0x2bb6x18[_0x825d[55]],cc:_0x2bb6x18[_0x825d[56]],subject:_0x2bb6x18[_0x825d[57]],html:_0x2bb6x18[_0x825d[58]],text:_0x2bb6x18[_0x825d[58]]?htmlToText[_0x825d[59]](_0x2bb6x18[_0x825d[58]],{wordwrap:false}):null};if(_0x2bb6x18[_0x825d[60]]){_0x2bb6x1e[_0x825d[61]]=_[_0x825d[64]](_0x2bb6x18.MailAttachments,function(_0x2bb6x1f){return {path:_0x2bb6x1f[_0x825d[62]],filename:_0x2bb6x1f[_0x825d[63]]}})};return smtp[_0x825d[65]](_0x2bb6x1e)})[_0x825d[23]](function(_0x2bb6x1d){process[_0x825d[34]]({msgId:_0x2bb6x18[_0x825d[24]],roomId:_0x2bb6x17[_0x825d[24]],type:_0x825d[50],messageId:_0x2bb6x1d[_0x825d[52]],status:_0x825d[53]})})[_0x825d[22]](function(_0x2bb6xe){process[_0x825d[34]]({msgId:_0x2bb6x18[_0x825d[24]],roomId:_0x2bb6x17[_0x825d[24]],type:_0x825d[50],status:_0x825d[51]})})}else {return Account[_0x825d[25]](smtp[_0x825d[43]])[_0x825d[23]](function(_0x2bb6x22){if(_0x2bb6x11[_0x825d[71]]){return Room[_0x825d[25]](_0x2bb6x11.MailRoomId)}else {return Room[_0x825d[76]]({subject:_0x2bb6x18[_0x825d[57]],from:_0x2bb6x18[_0x825d[54]][_0x825d[73]](_0x825d[72]),account:_0x2bb6x22?_0x2bb6x22[_0x825d[63]]:null,status:_0x825d[74],lastEvent:_0x825d[48],MailAccountId:_0x2bb6x22?_0x2bb6x22[_0x825d[24]]:null,mailOut:1},{userId:_0x2bb6x18[_0x825d[75]]})}})[_0x825d[23]](function(_0x2bb6x20){_0x2bb6x17=_0x2bb6x20;return _0x2bb6x17[_0x825d[68]](_0x2bb6x18[_0x825d[24]])})[_0x825d[23]](function(){return _0x2bb6x17[_0x825d[66]](_0x2bb6x18.UserId)})[_0x825d[23]](function(){var _0x2bb6x1e={status:_0x2bb6x18[_0x825d[47]],from:_0x2bb6x18[_0x825d[54]],to:_0x2bb6x18[_0x825d[55]],cc:_0x2bb6x18[_0x825d[56]],subject:_0x2bb6x18[_0x825d[57]],html:_0x2bb6x18[_0x825d[58]],text:_0x2bb6x18[_0x825d[58]]?htmlToText[_0x825d[59]](_0x2bb6x18[_0x825d[58]],{wordwrap:false}):null};if(_0x2bb6x18[_0x825d[60]]){_0x2bb6x1e[_0x825d[61]]=_[_0x825d[64]](_0x2bb6x18.MailAttachments,function(_0x2bb6x1f){return {path:_0x2bb6x1f[_0x825d[62]],filename:_0x2bb6x1f[_0x825d[63]]}})};return smtp[_0x825d[65]](_0x2bb6x1e)})[_0x825d[23]](function(_0x2bb6x1d){process[_0x825d[34]]({msgId:_0x2bb6x18[_0x825d[24]],roomId:_0x2bb6x17[_0x825d[24]],type:_0x825d[50],messageId:_0x2bb6x1d[_0x825d[52]],status:_0x825d[53]})})[_0x825d[22]](function(_0x2bb6xe){process[_0x825d[34]]({msgId:_0x2bb6x18[_0x825d[24]],roomId:_0x2bb6x17[_0x825d[24]],type:_0x825d[50],status:_0x825d[51]})})}}}Server[_0x825d[25]](process[_0x825d[17]][2])[_0x825d[23]](function(_0x2bb6x15){onSave(_0x2bb6x15)})[_0x825d[22]](function(_0x2bb6xe){console[_0x825d[13]](_0x2bb6xe)}) \ No newline at end of file diff --git a/server/config/socketio.js b/server/config/socketio.js index c944d38..723c1dc 100644 --- a/server/config/socketio.js +++ b/server/config/socketio.js @@ -1 +1 @@ -var _0x80ee=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6D\x6F\x6D\x65\x6E\x74","\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x55\x73\x65\x72","\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x75\x73\x65\x72\x49\x64","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x73\x6F\x63\x6B\x65\x74\x3A\x20\x75\x73\x65\x72\x20\x6F\x66\x66\x6C\x69\x6E\x65","\x6E\x61\x6D\x65","\x6C\x6F\x67","\x74\x68\x65\x6E","\x73\x6F\x63\x6B\x65\x74\x3A\x20\x6E\x6F\x20\x75\x73\x65\x72\x20\x66\x6F\x75\x6E\x64","\x75\x70\x64\x61\x74\x65","\x66\x69\x6E\x64\x42\x79\x49\x64","\x73\x6F\x63\x6B\x65\x74\x3A\x20\x75\x73\x65\x72\x20\x6F\x6E\x6C\x69\x6E\x65","\x72\x6F\x6C\x65","\x61\x67\x65\x6E\x74","\x72\x65\x67\x69\x73\x74\x65\x72","\x2E\x2F\x74\x6F\x6F\x6C\x73\x2F\x64\x61\x73\x68\x62\x6F\x61\x72\x64","\x2E\x2F\x74\x6F\x6F\x6C\x73\x2F\x71\x75\x65\x75\x65\x50\x61\x72\x61\x6D\x65\x74\x65\x72\x73","\x2E\x2E\x2F\x61\x70\x69\x2F\x73\x6D\x73\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x2F\x73\x6D\x73\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x2F\x6D\x61\x69\x6C\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x2F\x63\x68\x61\x74\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x66\x61\x78\x5F\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x2F\x66\x61\x78\x5F\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x5F\x73\x65\x73\x73\x69\x6F\x6E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x5F\x73\x65\x73\x73\x69\x6F\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x2F\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x6E\x65\x74\x77\x6F\x72\x6B\x5F\x65\x78\x74\x65\x72\x6E\x69\x70\x2F\x6E\x65\x74\x77\x6F\x72\x6B\x5F\x65\x78\x74\x65\x72\x6E\x69\x70\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x6E\x65\x74\x77\x6F\x72\x6B\x5F\x6C\x6F\x63\x61\x6C\x6E\x65\x74\x2F\x6E\x65\x74\x77\x6F\x72\x6B\x5F\x6C\x6F\x63\x61\x6C\x6E\x65\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x61\x67\x65\x6E\x74\x2F\x61\x67\x65\x6E\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x61\x6D\x69\x2F\x61\x6D\x69\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x2F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x63\x61\x6E\x6E\x65\x64\x5F\x61\x6E\x73\x77\x65\x72\x2F\x63\x61\x6E\x6E\x65\x64\x5F\x61\x6E\x73\x77\x65\x72\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x63\x68\x61\x6E\x73\x70\x79\x2F\x63\x68\x61\x6E\x73\x70\x79\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2F\x63\x68\x61\x74\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x5F\x65\x6E\x71\x75\x69\x72\x79\x2F\x65\x6E\x71\x75\x69\x72\x79\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x5F\x6D\x65\x73\x73\x61\x67\x65\x2F\x63\x68\x61\x74\x5F\x6D\x65\x73\x73\x61\x67\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x5F\x70\x72\x6F\x61\x63\x74\x69\x76\x65\x5F\x61\x63\x74\x69\x6F\x6E\x2F\x63\x68\x61\x74\x5F\x70\x72\x6F\x61\x63\x74\x69\x76\x65\x5F\x61\x63\x74\x69\x6F\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65\x2F\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x2F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x5F\x76\x69\x73\x69\x74\x6F\x72\x2F\x63\x68\x61\x74\x5F\x76\x69\x73\x69\x74\x6F\x72\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x2F\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x73\x5F\x66\x69\x65\x6C\x64\x2F\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x73\x5F\x66\x69\x65\x6C\x64\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x63\x6F\x6D\x70\x61\x6E\x79\x2F\x63\x6F\x6D\x70\x61\x6E\x79\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x63\x6F\x6E\x74\x61\x63\x74\x5F\x6D\x61\x6E\x61\x67\x65\x72\x2F\x63\x6F\x6E\x74\x61\x63\x74\x5F\x6D\x61\x6E\x61\x67\x65\x72\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x63\x75\x73\x74\x6F\x6D\x5F\x72\x65\x70\x6F\x72\x74\x2F\x63\x75\x73\x74\x6F\x6D\x5F\x72\x65\x70\x6F\x72\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x2F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x64\x65\x66\x61\x75\x6C\x74\x5F\x72\x65\x70\x6F\x72\x74\x2F\x64\x65\x66\x61\x75\x6C\x74\x5F\x72\x65\x70\x6F\x72\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2F\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2F\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x2F\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x65\x78\x74\x72\x61\x63\x74\x65\x64\x5F\x72\x65\x70\x6F\x72\x74\x2F\x65\x78\x74\x72\x61\x63\x74\x65\x64\x5F\x72\x65\x70\x6F\x72\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x66\x61\x78\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2F\x66\x61\x78\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2F\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x2F\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x2F\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x2F\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x2F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x69\x6E\x74\x65\x72\x76\x61\x6C\x2F\x69\x6E\x74\x65\x72\x76\x61\x6C\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x6A\x73\x63\x72\x69\x70\x74\x79\x5F\x70\x72\x6F\x6A\x65\x63\x74\x2F\x6A\x73\x63\x72\x69\x70\x74\x79\x5F\x70\x72\x6F\x6A\x65\x63\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x6C\x69\x73\x74\x2F\x6C\x69\x73\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2F\x6D\x61\x69\x6C\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2F\x6D\x61\x69\x6C\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x5F\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x2F\x6D\x61\x69\x6C\x5F\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x2F\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x2F\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x2F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x69\x6E\x2F\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x69\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x6F\x75\x74\x2F\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x6F\x75\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x74\x65\x6D\x70\x6C\x61\x74\x65\x2F\x74\x65\x6D\x70\x6C\x61\x74\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x6D\x65\x74\x72\x69\x63\x2F\x6D\x65\x74\x72\x69\x63\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x64\x65\x66\x61\x75\x6C\x74\x5F\x6D\x65\x74\x72\x69\x63\x2F\x64\x65\x66\x61\x75\x6C\x74\x5F\x6D\x65\x74\x72\x69\x63\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x6D\x6F\x64\x75\x6C\x65\x2F\x6D\x6F\x64\x75\x6C\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x6D\x6F\x74\x69\x6F\x6E\x62\x61\x72\x2F\x6D\x6F\x74\x69\x6F\x6E\x62\x61\x72\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x2F\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x6D\x65\x6D\x62\x65\x72\x2F\x72\x65\x70\x6F\x72\x74\x5F\x6D\x65\x6D\x62\x65\x72\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x2F\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x2F\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x2F\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x73\x65\x73\x73\x69\x6F\x6E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x73\x65\x73\x73\x69\x6F\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x2F\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x2F\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x73\x65\x73\x73\x69\x6F\x6E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x73\x65\x73\x73\x69\x6F\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x2F\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x5F\x72\x6F\x6F\x6D\x2F\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x5F\x72\x6F\x6F\x6D\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x2F\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x5F\x73\x65\x73\x73\x69\x6F\x6E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x5F\x73\x65\x73\x73\x69\x6F\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x2F\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x73\x71\x75\x61\x72\x65\x2F\x72\x65\x70\x6F\x72\x74\x5F\x73\x71\x75\x61\x72\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x73\x71\x75\x61\x72\x65\x5F\x64\x65\x74\x61\x69\x6C\x2F\x72\x65\x70\x6F\x72\x74\x5F\x73\x71\x75\x61\x72\x65\x5F\x64\x65\x74\x61\x69\x6C\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x74\x72\x65\x65\x2F\x72\x65\x70\x6F\x72\x74\x5F\x74\x72\x65\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x66\x69\x65\x6C\x64\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x66\x69\x65\x6C\x64\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x73\x65\x74\x74\x69\x6E\x67\x2F\x73\x65\x74\x74\x69\x6E\x67\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x73\x6D\x73\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2F\x73\x6D\x73\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x73\x6D\x73\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2F\x73\x6D\x73\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x73\x6D\x73\x5F\x6D\x65\x73\x73\x61\x67\x65\x2F\x73\x6D\x73\x5F\x6D\x65\x73\x73\x61\x67\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x73\x6D\x73\x5F\x71\x75\x65\x75\x65\x2F\x73\x6D\x73\x5F\x71\x75\x65\x75\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x73\x6D\x73\x5F\x72\x6F\x6F\x6D\x2F\x73\x6D\x73\x5F\x72\x6F\x6F\x6D\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x73\x71\x75\x61\x72\x65\x5F\x6F\x64\x62\x63\x2F\x73\x71\x75\x61\x72\x65\x5F\x6F\x64\x62\x63\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x73\x71\x75\x61\x72\x65\x5F\x70\x72\x6F\x6A\x65\x63\x74\x2F\x73\x71\x75\x61\x72\x65\x5F\x70\x72\x6F\x6A\x65\x63\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x73\x71\x75\x61\x72\x65\x5F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67\x2F\x73\x71\x75\x61\x72\x65\x5F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x73\x75\x67\x61\x72\x63\x72\x6D\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2F\x73\x75\x67\x61\x72\x63\x72\x6D\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x73\x75\x67\x61\x72\x63\x72\x6D\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2F\x73\x75\x67\x61\x72\x63\x72\x6D\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x73\x75\x67\x61\x72\x63\x72\x6D\x5F\x66\x69\x65\x6C\x64\x2F\x73\x75\x67\x61\x72\x63\x72\x6D\x5F\x66\x69\x65\x6C\x64\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x74\x61\x67\x2F\x74\x61\x67\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x74\x65\x61\x6D\x2F\x74\x65\x61\x6D\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x74\x72\x69\x67\x67\x65\x72\x2F\x74\x72\x69\x67\x67\x65\x72\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x74\x72\x75\x6E\x6B\x2F\x74\x72\x75\x6E\x6B\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x75\x73\x65\x72\x2F\x75\x73\x65\x72\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x73\x6F\x75\x6E\x64\x2F\x73\x6F\x75\x6E\x64\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x73\x6D\x73\x5F\x71\x75\x65\x75\x65\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x73\x6D\x73\x5F\x71\x75\x65\x75\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x74\x65\x61\x6D\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x74\x65\x61\x6D\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x76\x6F\x69\x63\x65\x5F\x71\x75\x65\x75\x65\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x76\x6F\x69\x63\x65\x5F\x71\x75\x65\x75\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6C\x69\x73\x74\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6C\x69\x73\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x76\x61\x72\x69\x61\x62\x6C\x65\x2F\x76\x61\x72\x69\x61\x62\x6C\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x5F\x63\x6F\x6E\x74\x65\x78\x74\x2F\x76\x6F\x69\x63\x65\x5F\x63\x6F\x6E\x74\x65\x78\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x2F\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x5F\x6D\x75\x73\x69\x63\x6F\x6E\x68\x6F\x6C\x64\x2F\x76\x6F\x69\x63\x65\x5F\x6D\x75\x73\x69\x63\x6F\x6E\x68\x6F\x6C\x64\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x5F\x71\x75\x65\x75\x65\x2F\x76\x6F\x69\x63\x65\x5F\x71\x75\x65\x75\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x5F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67\x2F\x76\x6F\x69\x63\x65\x5F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x5F\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x2F\x76\x6F\x69\x63\x65\x5F\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x5F\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x2F\x76\x6F\x69\x63\x65\x5F\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x78\x63\x68\x61\x74\x74\x79\x2F\x78\x63\x68\x61\x74\x74\x79\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x7A\x65\x6E\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2F\x7A\x65\x6E\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x7A\x65\x6E\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2F\x7A\x65\x6E\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x7A\x65\x6E\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x2F\x7A\x65\x6E\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x2E\x73\x6F\x63\x6B\x65\x74","\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","\x69\x6E\x66\x6F","\x5B\x25\x73\x5D\x20\x25\x73","\x61\x64\x64\x72\x65\x73\x73","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x6F\x6E","\x65\x78\x70\x6F\x72\x74\x73","\x73\x65\x63\x72\x65\x74","\x73\x65\x73\x73\x69\x6F\x6E","\x61\x75\x74\x68\x6F\x72\x69\x7A\x65","\x73\x6F\x63\x6B\x65\x74\x69\x6F\x2D\x6A\x77\x74","\x75\x73\x65","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E","\x68\x61\x6E\x64\x73\x68\x61\x6B\x65","\x3A","\x70\x6F\x72\x74","\x44\x4F\x4D\x41\x49\x4E","\x65\x6E\x76","\x71\x75\x65\x72\x79","\x73\x6F\x75\x72\x63\x65","\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64\x41\x74","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x5B\x25\x73\x5D\x20\x53\x4F\x43\x4B\x45\x54\x20\x44\x49\x53\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44","\x5B\x25\x73\x5D\x20\x53\x4F\x43\x4B\x45\x54\x20\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44"];_0x80ee[0];var moment=require(_0x80ee[1]);var config=require(_0x80ee[2]);var User=require(_0x80ee[4])[_0x80ee[3]];function onDisconnect(_0xcb83x5){if(_0xcb83x5[_0x80ee[5]]){return User[_0x80ee[14]](_0xcb83x5[_0x80ee[5]])[_0x80ee[11]](function(_0xcb83x7){if(!_0xcb83x7){throw new Error(_0x80ee[12])};return _0xcb83x7[_0x80ee[13]]({online:false})})[_0x80ee[11]](function(_0xcb83x7){console[_0x80ee[10]](_0x80ee[8],_0xcb83x7[_0x80ee[9]])})[_0x80ee[7]](function(_0xcb83x6){console[_0x80ee[6]](_0xcb83x6)})}else {console[_0x80ee[10]](_0x80ee[12])}}function onConnect(_0xcb83x5){if(_0xcb83x5[_0x80ee[5]]){return User[_0x80ee[14]](_0xcb83x5[_0x80ee[5]])[_0x80ee[11]](function(_0xcb83x7){if(!_0xcb83x7){throw new Error(_0x80ee[12])};return _0xcb83x7[_0x80ee[13]]({online:true,lastLoginAt:moment()[_0x80ee[138]](_0x80ee[137])})})[_0x80ee[11]](function(_0xcb83x7){console[_0x80ee[10]](_0x80ee[15],_0xcb83x7[_0x80ee[9]]);if(_0xcb83x7[_0x80ee[16]]!==_0x80ee[17]){require(_0x80ee[19])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[20])[_0x80ee[18]](_0xcb83x5)};require(_0x80ee[21])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[22])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[23])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[24])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[25])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[26])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[27])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[28])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[29])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[30])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[31])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[32])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[33])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[34])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[35])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[36])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[37])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[38])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[39])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[40])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[41])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[42])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[43])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[44])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[45])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[46])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[47])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[48])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[49])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[50])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[51])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[52])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[53])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[54])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[55])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[56])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[57])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[58])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[59])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[60])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[61])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[62])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[63])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[64])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[65])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[66])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[67])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[68])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[69])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[70])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[71])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[72])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[73])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[74])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[75])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[76])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[77])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[78])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[79])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[80])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[81])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[82])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[83])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[84])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[85])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[86])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[87])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[88])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[89])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[90])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[91])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[92])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[93])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[94])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[95])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[96])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[97])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[98])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[99])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[100])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[101])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[102])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[103])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[104])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[105])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[106])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[107])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[108])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[109])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[110])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[111])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[112])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[113])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[114])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[115])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[116])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[117])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[118])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[119])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[120])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[121])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[122])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[123])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[124])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[125])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[126])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[127])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[128])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[129])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[130])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[131])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[132])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[133])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[134])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[135])[_0x80ee[18]](_0xcb83x5);require(_0x80ee[136])[_0x80ee[18]](_0xcb83x5)})[_0x80ee[7]](function(_0xcb83x6){console[_0x80ee[6]](_0xcb83x6)})}else {console[_0x80ee[10]](_0x80ee[12])};_0xcb83x5[_0x80ee[143]](_0x80ee[139],function(_0xcb83x9){console[_0x80ee[139]](_0x80ee[140],_0xcb83x5[_0x80ee[141]],JSON[_0x80ee[142]](_0xcb83x9,null,2))})}module[_0x80ee[144]]=function(_0xcb83xa){_0xcb83xa[_0x80ee[149]](require(_0x80ee[148])[_0x80ee[147]]({secret:config[_0x80ee[146]][_0x80ee[145]],handshake:true}));_0xcb83xa[_0x80ee[143]](_0x80ee[150],function(_0xcb83x5){_0xcb83x5[_0x80ee[141]]=_0xcb83x5[_0x80ee[151]][_0x80ee[141]]!==null?_0xcb83x5[_0x80ee[151]][_0x80ee[141]][_0x80ee[141]]+_0x80ee[152]+_0xcb83x5[_0x80ee[151]][_0x80ee[141]][_0x80ee[153]]:process[_0x80ee[155]][_0x80ee[154]];_0xcb83x5[_0x80ee[5]]=_0xcb83x5[_0x80ee[151]][_0x80ee[156]][_0x80ee[5]];_0xcb83x5[_0x80ee[16]]=_0xcb83x5[_0x80ee[151]][_0x80ee[156]][_0x80ee[16]];_0xcb83x5[_0x80ee[9]]=_0xcb83x5[_0x80ee[151]][_0x80ee[156]][_0x80ee[9]];_0xcb83x5[_0x80ee[157]]=_0xcb83x5[_0x80ee[151]][_0x80ee[156]][_0x80ee[157]];_0xcb83x5[_0x80ee[158]]= new Date();_0xcb83x5[_0x80ee[143]](_0x80ee[159],function(){onDisconnect(_0xcb83x5);console[_0x80ee[139]](_0x80ee[160],_0xcb83x5[_0x80ee[151]][_0x80ee[141]])});onConnect(_0xcb83x5);console[_0x80ee[139]](_0x80ee[161],_0xcb83x5[_0x80ee[151]][_0x80ee[141]])})} \ No newline at end of file +var _0x1710=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6D\x6F\x6D\x65\x6E\x74","\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x55\x73\x65\x72","\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x75\x73\x65\x72\x49\x64","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x73\x6F\x63\x6B\x65\x74\x3A\x20\x75\x73\x65\x72\x20\x6F\x66\x66\x6C\x69\x6E\x65","\x6E\x61\x6D\x65","\x6C\x6F\x67","\x74\x68\x65\x6E","\x73\x6F\x63\x6B\x65\x74\x3A\x20\x6E\x6F\x20\x75\x73\x65\x72\x20\x66\x6F\x75\x6E\x64","\x75\x70\x64\x61\x74\x65","\x66\x69\x6E\x64\x42\x79\x49\x64","\x73\x6F\x63\x6B\x65\x74\x3A\x20\x75\x73\x65\x72\x20\x6F\x6E\x6C\x69\x6E\x65","\x72\x6F\x6C\x65","\x61\x67\x65\x6E\x74","\x72\x65\x67\x69\x73\x74\x65\x72","\x2E\x2F\x74\x6F\x6F\x6C\x73\x2F\x64\x61\x73\x68\x62\x6F\x61\x72\x64","\x2E\x2F\x74\x6F\x6F\x6C\x73\x2F\x71\x75\x65\x75\x65\x50\x61\x72\x61\x6D\x65\x74\x65\x72\x73","\x2E\x2E\x2F\x61\x70\x69\x2F\x73\x6D\x73\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x2F\x73\x6D\x73\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x2F\x6D\x61\x69\x6C\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x2F\x63\x68\x61\x74\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x2F\x76\x6F\x69\x63\x65\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x66\x61\x78\x5F\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x2F\x66\x61\x78\x5F\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x5F\x73\x65\x73\x73\x69\x6F\x6E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x5F\x73\x65\x73\x73\x69\x6F\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x2F\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x6E\x65\x74\x77\x6F\x72\x6B\x5F\x65\x78\x74\x65\x72\x6E\x69\x70\x2F\x6E\x65\x74\x77\x6F\x72\x6B\x5F\x65\x78\x74\x65\x72\x6E\x69\x70\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x6E\x65\x74\x77\x6F\x72\x6B\x5F\x6C\x6F\x63\x61\x6C\x6E\x65\x74\x2F\x6E\x65\x74\x77\x6F\x72\x6B\x5F\x6C\x6F\x63\x61\x6C\x6E\x65\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x61\x67\x65\x6E\x74\x2F\x61\x67\x65\x6E\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x61\x6D\x69\x2F\x61\x6D\x69\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x2F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x63\x61\x6E\x6E\x65\x64\x5F\x61\x6E\x73\x77\x65\x72\x2F\x63\x61\x6E\x6E\x65\x64\x5F\x61\x6E\x73\x77\x65\x72\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x63\x68\x61\x6E\x73\x70\x79\x2F\x63\x68\x61\x6E\x73\x70\x79\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2F\x63\x68\x61\x74\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x5F\x65\x6E\x71\x75\x69\x72\x79\x2F\x65\x6E\x71\x75\x69\x72\x79\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x5F\x6D\x65\x73\x73\x61\x67\x65\x2F\x63\x68\x61\x74\x5F\x6D\x65\x73\x73\x61\x67\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x5F\x70\x72\x6F\x61\x63\x74\x69\x76\x65\x5F\x61\x63\x74\x69\x6F\x6E\x2F\x63\x68\x61\x74\x5F\x70\x72\x6F\x61\x63\x74\x69\x76\x65\x5F\x61\x63\x74\x69\x6F\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65\x2F\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x2F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x5F\x76\x69\x73\x69\x74\x6F\x72\x2F\x63\x68\x61\x74\x5F\x76\x69\x73\x69\x74\x6F\x72\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x2F\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x73\x5F\x66\x69\x65\x6C\x64\x2F\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x73\x5F\x66\x69\x65\x6C\x64\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x63\x6F\x6D\x70\x61\x6E\x79\x2F\x63\x6F\x6D\x70\x61\x6E\x79\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x63\x6F\x6E\x74\x61\x63\x74\x5F\x6D\x61\x6E\x61\x67\x65\x72\x2F\x63\x6F\x6E\x74\x61\x63\x74\x5F\x6D\x61\x6E\x61\x67\x65\x72\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x63\x75\x73\x74\x6F\x6D\x5F\x72\x65\x70\x6F\x72\x74\x2F\x63\x75\x73\x74\x6F\x6D\x5F\x72\x65\x70\x6F\x72\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x2F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x64\x65\x66\x61\x75\x6C\x74\x5F\x72\x65\x70\x6F\x72\x74\x2F\x64\x65\x66\x61\x75\x6C\x74\x5F\x72\x65\x70\x6F\x72\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2F\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2F\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x2F\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x65\x78\x74\x72\x61\x63\x74\x65\x64\x5F\x72\x65\x70\x6F\x72\x74\x2F\x65\x78\x74\x72\x61\x63\x74\x65\x64\x5F\x72\x65\x70\x6F\x72\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x66\x61\x78\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2F\x66\x61\x78\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2F\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x2F\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x2F\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x2F\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x2F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x69\x6E\x74\x65\x72\x76\x61\x6C\x2F\x69\x6E\x74\x65\x72\x76\x61\x6C\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x6A\x73\x63\x72\x69\x70\x74\x79\x5F\x70\x72\x6F\x6A\x65\x63\x74\x2F\x6A\x73\x63\x72\x69\x70\x74\x79\x5F\x70\x72\x6F\x6A\x65\x63\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x6C\x69\x73\x74\x2F\x6C\x69\x73\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2F\x6D\x61\x69\x6C\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2F\x6D\x61\x69\x6C\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x5F\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x2F\x6D\x61\x69\x6C\x5F\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x2F\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x2F\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x2F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x69\x6E\x2F\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x69\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x6F\x75\x74\x2F\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x6F\x75\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x74\x65\x6D\x70\x6C\x61\x74\x65\x2F\x74\x65\x6D\x70\x6C\x61\x74\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x6D\x65\x74\x72\x69\x63\x2F\x6D\x65\x74\x72\x69\x63\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x64\x65\x66\x61\x75\x6C\x74\x5F\x6D\x65\x74\x72\x69\x63\x2F\x64\x65\x66\x61\x75\x6C\x74\x5F\x6D\x65\x74\x72\x69\x63\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x6D\x6F\x64\x75\x6C\x65\x2F\x6D\x6F\x64\x75\x6C\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x6D\x6F\x74\x69\x6F\x6E\x62\x61\x72\x2F\x6D\x6F\x74\x69\x6F\x6E\x62\x61\x72\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x2F\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x6D\x65\x6D\x62\x65\x72\x2F\x72\x65\x70\x6F\x72\x74\x5F\x6D\x65\x6D\x62\x65\x72\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x2F\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x2F\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x2F\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x73\x65\x73\x73\x69\x6F\x6E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x73\x65\x73\x73\x69\x6F\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x2F\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x2F\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x73\x65\x73\x73\x69\x6F\x6E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x73\x65\x73\x73\x69\x6F\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x2F\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x5F\x72\x6F\x6F\x6D\x2F\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x5F\x72\x6F\x6F\x6D\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x2F\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x5F\x73\x65\x73\x73\x69\x6F\x6E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x5F\x73\x65\x73\x73\x69\x6F\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x2F\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x73\x71\x75\x61\x72\x65\x2F\x72\x65\x70\x6F\x72\x74\x5F\x73\x71\x75\x61\x72\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x73\x71\x75\x61\x72\x65\x5F\x64\x65\x74\x61\x69\x6C\x2F\x72\x65\x70\x6F\x72\x74\x5F\x73\x71\x75\x61\x72\x65\x5F\x64\x65\x74\x61\x69\x6C\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x74\x72\x65\x65\x2F\x72\x65\x70\x6F\x72\x74\x5F\x74\x72\x65\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x66\x69\x65\x6C\x64\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x66\x69\x65\x6C\x64\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x73\x65\x74\x74\x69\x6E\x67\x2F\x73\x65\x74\x74\x69\x6E\x67\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x73\x6D\x73\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2F\x73\x6D\x73\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x73\x6D\x73\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2F\x73\x6D\x73\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x73\x6D\x73\x5F\x6D\x65\x73\x73\x61\x67\x65\x2F\x73\x6D\x73\x5F\x6D\x65\x73\x73\x61\x67\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x73\x6D\x73\x5F\x71\x75\x65\x75\x65\x2F\x73\x6D\x73\x5F\x71\x75\x65\x75\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x73\x6D\x73\x5F\x72\x6F\x6F\x6D\x2F\x73\x6D\x73\x5F\x72\x6F\x6F\x6D\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x73\x71\x75\x61\x72\x65\x5F\x6F\x64\x62\x63\x2F\x73\x71\x75\x61\x72\x65\x5F\x6F\x64\x62\x63\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x73\x71\x75\x61\x72\x65\x5F\x70\x72\x6F\x6A\x65\x63\x74\x2F\x73\x71\x75\x61\x72\x65\x5F\x70\x72\x6F\x6A\x65\x63\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x73\x71\x75\x61\x72\x65\x5F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67\x2F\x73\x71\x75\x61\x72\x65\x5F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x73\x75\x67\x61\x72\x63\x72\x6D\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2F\x73\x75\x67\x61\x72\x63\x72\x6D\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x73\x75\x67\x61\x72\x63\x72\x6D\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2F\x73\x75\x67\x61\x72\x63\x72\x6D\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x73\x75\x67\x61\x72\x63\x72\x6D\x5F\x66\x69\x65\x6C\x64\x2F\x73\x75\x67\x61\x72\x63\x72\x6D\x5F\x66\x69\x65\x6C\x64\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x74\x61\x67\x2F\x74\x61\x67\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x74\x65\x61\x6D\x2F\x74\x65\x61\x6D\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x74\x72\x69\x67\x67\x65\x72\x2F\x74\x72\x69\x67\x67\x65\x72\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x74\x72\x75\x6E\x6B\x2F\x74\x72\x75\x6E\x6B\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x75\x73\x65\x72\x2F\x75\x73\x65\x72\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x73\x6F\x75\x6E\x64\x2F\x73\x6F\x75\x6E\x64\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x73\x6D\x73\x5F\x71\x75\x65\x75\x65\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x73\x6D\x73\x5F\x71\x75\x65\x75\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x74\x65\x61\x6D\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x74\x65\x61\x6D\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x76\x6F\x69\x63\x65\x5F\x71\x75\x65\x75\x65\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x76\x6F\x69\x63\x65\x5F\x71\x75\x65\x75\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6C\x69\x73\x74\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6C\x69\x73\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x76\x61\x72\x69\x61\x62\x6C\x65\x2F\x76\x61\x72\x69\x61\x62\x6C\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x5F\x63\x6F\x6E\x74\x65\x78\x74\x2F\x76\x6F\x69\x63\x65\x5F\x63\x6F\x6E\x74\x65\x78\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x2F\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x5F\x6D\x75\x73\x69\x63\x6F\x6E\x68\x6F\x6C\x64\x2F\x76\x6F\x69\x63\x65\x5F\x6D\x75\x73\x69\x63\x6F\x6E\x68\x6F\x6C\x64\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x5F\x71\x75\x65\x75\x65\x2F\x76\x6F\x69\x63\x65\x5F\x71\x75\x65\x75\x65\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x5F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67\x2F\x76\x6F\x69\x63\x65\x5F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x5F\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x2F\x76\x6F\x69\x63\x65\x5F\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x5F\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x2F\x76\x6F\x69\x63\x65\x5F\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x78\x63\x68\x61\x74\x74\x79\x2F\x78\x63\x68\x61\x74\x74\x79\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x7A\x65\x6E\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2F\x7A\x65\x6E\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x7A\x65\x6E\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2F\x7A\x65\x6E\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x2E\x73\x6F\x63\x6B\x65\x74","\x2E\x2E\x2F\x61\x70\x69\x2F\x7A\x65\x6E\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x2F\x7A\x65\x6E\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64\x2E\x73\x6F\x63\x6B\x65\x74","\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","\x69\x6E\x66\x6F","\x5B\x25\x73\x5D\x20\x25\x73","\x61\x64\x64\x72\x65\x73\x73","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x6F\x6E","\x65\x78\x70\x6F\x72\x74\x73","\x73\x65\x63\x72\x65\x74","\x73\x65\x73\x73\x69\x6F\x6E","\x61\x75\x74\x68\x6F\x72\x69\x7A\x65","\x73\x6F\x63\x6B\x65\x74\x69\x6F\x2D\x6A\x77\x74","\x75\x73\x65","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E","\x68\x61\x6E\x64\x73\x68\x61\x6B\x65","\x3A","\x70\x6F\x72\x74","\x44\x4F\x4D\x41\x49\x4E","\x65\x6E\x76","\x71\x75\x65\x72\x79","\x73\x6F\x75\x72\x63\x65","\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64\x41\x74","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x5B\x25\x73\x5D\x20\x53\x4F\x43\x4B\x45\x54\x20\x44\x49\x53\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44","\x5B\x25\x73\x5D\x20\x53\x4F\x43\x4B\x45\x54\x20\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44"];_0x1710[0];var moment=require(_0x1710[1]);var config=require(_0x1710[2]);var User=require(_0x1710[4])[_0x1710[3]];function onDisconnect(_0x74bax5){if(_0x74bax5[_0x1710[5]]){return User[_0x1710[14]](_0x74bax5[_0x1710[5]])[_0x1710[11]](function(_0x74bax7){if(!_0x74bax7){throw new Error(_0x1710[12])};return _0x74bax7[_0x1710[13]]({online:false})})[_0x1710[11]](function(_0x74bax7){console[_0x1710[10]](_0x1710[8],_0x74bax7[_0x1710[9]])})[_0x1710[7]](function(_0x74bax6){console[_0x1710[6]](_0x74bax6)})}else {console[_0x1710[10]](_0x1710[12])}}function onConnect(_0x74bax5){if(_0x74bax5[_0x1710[5]]){return User[_0x1710[14]](_0x74bax5[_0x1710[5]])[_0x1710[11]](function(_0x74bax7){if(!_0x74bax7){throw new Error(_0x1710[12])};return _0x74bax7[_0x1710[13]]({online:true,lastLoginAt:moment()[_0x1710[139]](_0x1710[138])})})[_0x1710[11]](function(_0x74bax7){console[_0x1710[10]](_0x1710[15],_0x74bax7[_0x1710[9]]);if(_0x74bax7[_0x1710[16]]!==_0x1710[17]){require(_0x1710[19])[_0x1710[18]](_0x74bax5);require(_0x1710[20])[_0x1710[18]](_0x74bax5)};require(_0x1710[21])[_0x1710[18]](_0x74bax5);require(_0x1710[22])[_0x1710[18]](_0x74bax5);require(_0x1710[23])[_0x1710[18]](_0x74bax5);require(_0x1710[24])[_0x1710[18]](_0x74bax5);require(_0x1710[25])[_0x1710[18]](_0x74bax5);require(_0x1710[26])[_0x1710[18]](_0x74bax5);require(_0x1710[27])[_0x1710[18]](_0x74bax5);require(_0x1710[28])[_0x1710[18]](_0x74bax5);require(_0x1710[29])[_0x1710[18]](_0x74bax5);require(_0x1710[30])[_0x1710[18]](_0x74bax5);require(_0x1710[31])[_0x1710[18]](_0x74bax5);require(_0x1710[32])[_0x1710[18]](_0x74bax5);require(_0x1710[33])[_0x1710[18]](_0x74bax5);require(_0x1710[34])[_0x1710[18]](_0x74bax5);require(_0x1710[35])[_0x1710[18]](_0x74bax5);require(_0x1710[36])[_0x1710[18]](_0x74bax5);require(_0x1710[37])[_0x1710[18]](_0x74bax5);require(_0x1710[38])[_0x1710[18]](_0x74bax5);require(_0x1710[39])[_0x1710[18]](_0x74bax5);require(_0x1710[40])[_0x1710[18]](_0x74bax5);require(_0x1710[41])[_0x1710[18]](_0x74bax5);require(_0x1710[42])[_0x1710[18]](_0x74bax5);require(_0x1710[43])[_0x1710[18]](_0x74bax5);require(_0x1710[44])[_0x1710[18]](_0x74bax5);require(_0x1710[45])[_0x1710[18]](_0x74bax5);require(_0x1710[46])[_0x1710[18]](_0x74bax5);require(_0x1710[47])[_0x1710[18]](_0x74bax5);require(_0x1710[48])[_0x1710[18]](_0x74bax5);require(_0x1710[49])[_0x1710[18]](_0x74bax5);require(_0x1710[50])[_0x1710[18]](_0x74bax5);require(_0x1710[51])[_0x1710[18]](_0x74bax5);require(_0x1710[52])[_0x1710[18]](_0x74bax5);require(_0x1710[53])[_0x1710[18]](_0x74bax5);require(_0x1710[54])[_0x1710[18]](_0x74bax5);require(_0x1710[55])[_0x1710[18]](_0x74bax5);require(_0x1710[56])[_0x1710[18]](_0x74bax5);require(_0x1710[57])[_0x1710[18]](_0x74bax5);require(_0x1710[58])[_0x1710[18]](_0x74bax5);require(_0x1710[59])[_0x1710[18]](_0x74bax5);require(_0x1710[60])[_0x1710[18]](_0x74bax5);require(_0x1710[61])[_0x1710[18]](_0x74bax5);require(_0x1710[62])[_0x1710[18]](_0x74bax5);require(_0x1710[63])[_0x1710[18]](_0x74bax5);require(_0x1710[64])[_0x1710[18]](_0x74bax5);require(_0x1710[65])[_0x1710[18]](_0x74bax5);require(_0x1710[66])[_0x1710[18]](_0x74bax5);require(_0x1710[67])[_0x1710[18]](_0x74bax5);require(_0x1710[68])[_0x1710[18]](_0x74bax5);require(_0x1710[69])[_0x1710[18]](_0x74bax5);require(_0x1710[70])[_0x1710[18]](_0x74bax5);require(_0x1710[71])[_0x1710[18]](_0x74bax5);require(_0x1710[72])[_0x1710[18]](_0x74bax5);require(_0x1710[73])[_0x1710[18]](_0x74bax5);require(_0x1710[74])[_0x1710[18]](_0x74bax5);require(_0x1710[75])[_0x1710[18]](_0x74bax5);require(_0x1710[76])[_0x1710[18]](_0x74bax5);require(_0x1710[77])[_0x1710[18]](_0x74bax5);require(_0x1710[78])[_0x1710[18]](_0x74bax5);require(_0x1710[79])[_0x1710[18]](_0x74bax5);require(_0x1710[80])[_0x1710[18]](_0x74bax5);require(_0x1710[81])[_0x1710[18]](_0x74bax5);require(_0x1710[82])[_0x1710[18]](_0x74bax5);require(_0x1710[83])[_0x1710[18]](_0x74bax5);require(_0x1710[84])[_0x1710[18]](_0x74bax5);require(_0x1710[85])[_0x1710[18]](_0x74bax5);require(_0x1710[86])[_0x1710[18]](_0x74bax5);require(_0x1710[87])[_0x1710[18]](_0x74bax5);require(_0x1710[88])[_0x1710[18]](_0x74bax5);require(_0x1710[89])[_0x1710[18]](_0x74bax5);require(_0x1710[90])[_0x1710[18]](_0x74bax5);require(_0x1710[91])[_0x1710[18]](_0x74bax5);require(_0x1710[92])[_0x1710[18]](_0x74bax5);require(_0x1710[93])[_0x1710[18]](_0x74bax5);require(_0x1710[94])[_0x1710[18]](_0x74bax5);require(_0x1710[95])[_0x1710[18]](_0x74bax5);require(_0x1710[96])[_0x1710[18]](_0x74bax5);require(_0x1710[97])[_0x1710[18]](_0x74bax5);require(_0x1710[98])[_0x1710[18]](_0x74bax5);require(_0x1710[99])[_0x1710[18]](_0x74bax5);require(_0x1710[100])[_0x1710[18]](_0x74bax5);require(_0x1710[101])[_0x1710[18]](_0x74bax5);require(_0x1710[102])[_0x1710[18]](_0x74bax5);require(_0x1710[103])[_0x1710[18]](_0x74bax5);require(_0x1710[104])[_0x1710[18]](_0x74bax5);require(_0x1710[105])[_0x1710[18]](_0x74bax5);require(_0x1710[106])[_0x1710[18]](_0x74bax5);require(_0x1710[107])[_0x1710[18]](_0x74bax5);require(_0x1710[108])[_0x1710[18]](_0x74bax5);require(_0x1710[109])[_0x1710[18]](_0x74bax5);require(_0x1710[110])[_0x1710[18]](_0x74bax5);require(_0x1710[111])[_0x1710[18]](_0x74bax5);require(_0x1710[112])[_0x1710[18]](_0x74bax5);require(_0x1710[113])[_0x1710[18]](_0x74bax5);require(_0x1710[114])[_0x1710[18]](_0x74bax5);require(_0x1710[115])[_0x1710[18]](_0x74bax5);require(_0x1710[116])[_0x1710[18]](_0x74bax5);require(_0x1710[117])[_0x1710[18]](_0x74bax5);require(_0x1710[118])[_0x1710[18]](_0x74bax5);require(_0x1710[119])[_0x1710[18]](_0x74bax5);require(_0x1710[120])[_0x1710[18]](_0x74bax5);require(_0x1710[121])[_0x1710[18]](_0x74bax5);require(_0x1710[122])[_0x1710[18]](_0x74bax5);require(_0x1710[123])[_0x1710[18]](_0x74bax5);require(_0x1710[124])[_0x1710[18]](_0x74bax5);require(_0x1710[125])[_0x1710[18]](_0x74bax5);require(_0x1710[126])[_0x1710[18]](_0x74bax5);require(_0x1710[127])[_0x1710[18]](_0x74bax5);require(_0x1710[128])[_0x1710[18]](_0x74bax5);require(_0x1710[129])[_0x1710[18]](_0x74bax5);require(_0x1710[130])[_0x1710[18]](_0x74bax5);require(_0x1710[131])[_0x1710[18]](_0x74bax5);require(_0x1710[132])[_0x1710[18]](_0x74bax5);require(_0x1710[133])[_0x1710[18]](_0x74bax5);require(_0x1710[134])[_0x1710[18]](_0x74bax5);require(_0x1710[135])[_0x1710[18]](_0x74bax5);require(_0x1710[136])[_0x1710[18]](_0x74bax5);require(_0x1710[137])[_0x1710[18]](_0x74bax5)})[_0x1710[7]](function(_0x74bax6){console[_0x1710[6]](_0x74bax6)})}else {console[_0x1710[10]](_0x1710[12])};_0x74bax5[_0x1710[144]](_0x1710[140],function(_0x74bax9){console[_0x1710[140]](_0x1710[141],_0x74bax5[_0x1710[142]],JSON[_0x1710[143]](_0x74bax9,null,2))})}module[_0x1710[145]]=function(_0x74baxa){_0x74baxa[_0x1710[150]](require(_0x1710[149])[_0x1710[148]]({secret:config[_0x1710[147]][_0x1710[146]],handshake:true}));_0x74baxa[_0x1710[144]](_0x1710[151],function(_0x74bax5){_0x74bax5[_0x1710[142]]=_0x74bax5[_0x1710[152]][_0x1710[142]]!==null?_0x74bax5[_0x1710[152]][_0x1710[142]][_0x1710[142]]+_0x1710[153]+_0x74bax5[_0x1710[152]][_0x1710[142]][_0x1710[154]]:process[_0x1710[156]][_0x1710[155]];_0x74bax5[_0x1710[5]]=_0x74bax5[_0x1710[152]][_0x1710[157]][_0x1710[5]];_0x74bax5[_0x1710[16]]=_0x74bax5[_0x1710[152]][_0x1710[157]][_0x1710[16]];_0x74bax5[_0x1710[9]]=_0x74bax5[_0x1710[152]][_0x1710[157]][_0x1710[9]];_0x74bax5[_0x1710[158]]=_0x74bax5[_0x1710[152]][_0x1710[157]][_0x1710[158]];_0x74bax5[_0x1710[159]]= new Date();_0x74bax5[_0x1710[144]](_0x1710[160],function(){onDisconnect(_0x74bax5);console[_0x1710[140]](_0x1710[161],_0x74bax5[_0x1710[152]][_0x1710[142]])});onConnect(_0x74bax5);console[_0x1710[140]](_0x1710[162],_0x74bax5[_0x1710[152]][_0x1710[142]])})} \ No newline at end of file diff --git a/server/config/tools/channelSpy.js b/server/config/tools/channelSpy.js index a101eab..9f64335 100644 --- a/server/config/tools/channelSpy.js +++ b/server/config/tools/channelSpy.js @@ -1 +1 @@ -var _0xe602=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x66\x73","\x75\x74\x69\x6C","\x70\x61\x74\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x43\x68\x61\x6E\x53\x70\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x62\x6C\x75\x65\x62\x69\x72\x64","\x74\x68\x65\x6E","\x61\x6C\x6C","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x6C\x65\x74\x65","\x69\x64","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x64\x65\x73\x74\x72\x6F\x79","\x61\x75\x74\x68","\x66\x72\x6F\x6D\x2D\x73\x69\x70","\x25\x73\x25\x73","\x70\x72\x65\x66\x69\x78","\x6E\x61\x6D\x65","\x66\x6F\x72\x6D\x61\x74","\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65","\x70\x61\x73\x73\x77\x6F\x72\x64","\x73\x79\x73\x74\x65\x6D","\x70\x75\x73\x68","\x53\x49\x50\x2F\x25\x73\x2C\x25\x73","\x6F\x70\x74\x69\x6F\x6E\x73","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x66\x6F\x72\x45\x61\x63\x68","\x66\x69\x6E\x64\x41\x6C\x6C","\x61\x67\x65\x6E\x74","\x73\x63\x6F\x70\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xe602[0];var fs=require(_0xe602[1]);var util=require(_0xe602[2]);var path=require(_0xe602[3]);var config=require(_0xe602[4]);var ChanSpyModel=require(_0xe602[6])[_0xe602[5]];var User=require(_0xe602[6])[_0xe602[7]];var VoiceExtension=require(_0xe602[6])[_0xe602[8]];var sequelize=require(_0xe602[6])[_0xe602[9]];var Promise=require(_0xe602[10]);function ChanSpy(){ChanSpyModel[_0xe602[13]](function(_0x788exb,_0x788exc){return Promise[_0xe602[12]]([])[_0xe602[11]](createSpyExtensions(_0x788exb,_0x788exc))});ChanSpyModel[_0xe602[14]](function(_0x788exb,_0x788exc){return Promise[_0xe602[12]]([])[_0xe602[11]](deleteSpyExtensions(_0x788exb,_0x788exc))[_0xe602[11]](createSpyExtensions(_0x788exb,_0x788exc))});ChanSpyModel[_0xe602[15]](function(_0x788exb,_0x788exc){return deleteSpyExtensions(_0x788exb,_0x788exc)})}function deleteSpyExtensions(_0x788exb,_0x788exc){return VoiceExtension[_0xe602[18]]({where:{ChanSpyId:_0x788exb[_0xe602[16]]},transaction:_0x788exc[_0xe602[17]]})}function createSpyExtensions(_0x788exb,_0x788exc){return User[_0xe602[36]](_0xe602[35])[_0xe602[34]]({where:{chanspy:true}})[_0xe602[11]](function(_0x788exf){var _0x788ex10=[];_0x788exf[_0xe602[33]](function(_0x788ex11){var _0x788ex12=[];var _0x788ex13=1;if(_0x788exb[_0xe602[19]]){_0x788ex12[_0xe602[28]]({context:_0xe602[20],exten:util[_0xe602[24]](_0xe602[21],_0x788exb[_0xe602[22]],_0x788ex11[_0xe602[23]]),priority:_0x788ex13,app:_0xe602[25],appdata:_0x788exb[_0xe602[26]],UserId:_0x788ex11[_0xe602[16]],ChanSpyId:_0x788exb[_0xe602[16]],type:_0xe602[27]});_0x788ex13++};_0x788ex12[_0xe602[28]]({context:_0xe602[20],exten:util[_0xe602[24]](_0xe602[21],_0x788exb[_0xe602[22]],_0x788ex11[_0xe602[23]]),priority:_0x788ex13,app:_0xe602[5],appdata:util[_0xe602[24]](_0xe602[29],_0x788ex11[_0xe602[23]],_0x788exb[_0xe602[30]]),UserId:_0x788ex11[_0xe602[16]],ChanSpyId:_0x788exb[_0xe602[16]],type:_0xe602[27]});_0x788ex13=1;if(_0x788exb[_0xe602[19]]){_0x788ex12[_0xe602[28]]({context:_0xe602[20],exten:util[_0xe602[24]](_0xe602[21],_0x788exb[_0xe602[22]],_0x788ex11[_0xe602[31]]),priority:_0x788ex13,app:_0xe602[25],appdata:_0x788exb[_0xe602[26]],UserId:_0x788ex11[_0xe602[16]],ChanSpyId:_0x788exb[_0xe602[16]],type:_0xe602[27]});_0x788ex13++};_0x788ex12[_0xe602[28]]({context:_0xe602[20],exten:util[_0xe602[24]](_0xe602[21],_0x788exb[_0xe602[22]],_0x788ex11[_0xe602[31]]),priority:_0x788ex13,app:_0xe602[5],appdata:util[_0xe602[24]](_0xe602[29],_0x788ex11[_0xe602[23]],_0x788exb[_0xe602[30]]),UserId:_0x788ex11[_0xe602[16]],ChanSpyId:_0x788exb[_0xe602[16]],type:_0xe602[27]});_0x788ex10[_0xe602[28]](VoiceExtension[_0xe602[32]](_0x788ex12,{transaction:_0x788exc[_0xe602[17]]}))});return _0x788ex10})[_0xe602[12]]()}module[_0xe602[37]]=ChanSpy \ No newline at end of file +var _0xde9b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x66\x73","\x75\x74\x69\x6C","\x70\x61\x74\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x43\x68\x61\x6E\x53\x70\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x62\x6C\x75\x65\x62\x69\x72\x64","\x74\x68\x65\x6E","\x61\x6C\x6C","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x6C\x65\x74\x65","\x69\x64","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x64\x65\x73\x74\x72\x6F\x79","\x61\x75\x74\x68","\x66\x72\x6F\x6D\x2D\x73\x69\x70","\x25\x73\x25\x73","\x70\x72\x65\x66\x69\x78","\x6E\x61\x6D\x65","\x66\x6F\x72\x6D\x61\x74","\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65","\x70\x61\x73\x73\x77\x6F\x72\x64","\x73\x79\x73\x74\x65\x6D","\x70\x75\x73\x68","\x53\x49\x50\x2F\x25\x73\x2C\x25\x73","\x6F\x70\x74\x69\x6F\x6E\x73","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x66\x6F\x72\x45\x61\x63\x68","\x66\x69\x6E\x64\x41\x6C\x6C","\x61\x67\x65\x6E\x74","\x73\x63\x6F\x70\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xde9b[0];var fs=require(_0xde9b[1]);var util=require(_0xde9b[2]);var path=require(_0xde9b[3]);var config=require(_0xde9b[4]);var ChanSpyModel=require(_0xde9b[6])[_0xde9b[5]];var User=require(_0xde9b[6])[_0xde9b[7]];var VoiceExtension=require(_0xde9b[6])[_0xde9b[8]];var sequelize=require(_0xde9b[6])[_0xde9b[9]];var Promise=require(_0xde9b[10]);function ChanSpy(){ChanSpyModel[_0xde9b[13]](function(_0x6751xb,_0x6751xc){return Promise[_0xde9b[12]]([])[_0xde9b[11]](createSpyExtensions(_0x6751xb,_0x6751xc))});ChanSpyModel[_0xde9b[14]](function(_0x6751xb,_0x6751xc){return Promise[_0xde9b[12]]([])[_0xde9b[11]](deleteSpyExtensions(_0x6751xb,_0x6751xc))[_0xde9b[11]](createSpyExtensions(_0x6751xb,_0x6751xc))});ChanSpyModel[_0xde9b[15]](function(_0x6751xb,_0x6751xc){return deleteSpyExtensions(_0x6751xb,_0x6751xc)})}function deleteSpyExtensions(_0x6751xb,_0x6751xc){return VoiceExtension[_0xde9b[18]]({where:{ChanSpyId:_0x6751xb[_0xde9b[16]]},transaction:_0x6751xc[_0xde9b[17]]})}function createSpyExtensions(_0x6751xb,_0x6751xc){return User[_0xde9b[36]](_0xde9b[35])[_0xde9b[34]]({where:{chanspy:true}})[_0xde9b[11]](function(_0x6751xf){var _0x6751x10=[];_0x6751xf[_0xde9b[33]](function(_0x6751x11){var _0x6751x12=[];var _0x6751x13=1;if(_0x6751xb[_0xde9b[19]]){_0x6751x12[_0xde9b[28]]({context:_0xde9b[20],exten:util[_0xde9b[24]](_0xde9b[21],_0x6751xb[_0xde9b[22]],_0x6751x11[_0xde9b[23]]),priority:_0x6751x13,app:_0xde9b[25],appdata:_0x6751xb[_0xde9b[26]],UserId:_0x6751x11[_0xde9b[16]],ChanSpyId:_0x6751xb[_0xde9b[16]],type:_0xde9b[27]});_0x6751x13++};_0x6751x12[_0xde9b[28]]({context:_0xde9b[20],exten:util[_0xde9b[24]](_0xde9b[21],_0x6751xb[_0xde9b[22]],_0x6751x11[_0xde9b[23]]),priority:_0x6751x13,app:_0xde9b[5],appdata:util[_0xde9b[24]](_0xde9b[29],_0x6751x11[_0xde9b[23]],_0x6751xb[_0xde9b[30]]),UserId:_0x6751x11[_0xde9b[16]],ChanSpyId:_0x6751xb[_0xde9b[16]],type:_0xde9b[27]});_0x6751x13=1;if(_0x6751xb[_0xde9b[19]]){_0x6751x12[_0xde9b[28]]({context:_0xde9b[20],exten:util[_0xde9b[24]](_0xde9b[21],_0x6751xb[_0xde9b[22]],_0x6751x11[_0xde9b[31]]),priority:_0x6751x13,app:_0xde9b[25],appdata:_0x6751xb[_0xde9b[26]],UserId:_0x6751x11[_0xde9b[16]],ChanSpyId:_0x6751xb[_0xde9b[16]],type:_0xde9b[27]});_0x6751x13++};_0x6751x12[_0xde9b[28]]({context:_0xde9b[20],exten:util[_0xde9b[24]](_0xde9b[21],_0x6751xb[_0xde9b[22]],_0x6751x11[_0xde9b[31]]),priority:_0x6751x13,app:_0xde9b[5],appdata:util[_0xde9b[24]](_0xde9b[29],_0x6751x11[_0xde9b[23]],_0x6751xb[_0xde9b[30]]),UserId:_0x6751x11[_0xde9b[16]],ChanSpyId:_0x6751xb[_0xde9b[16]],type:_0xde9b[27]});_0x6751x10[_0xde9b[28]](VoiceExtension[_0xde9b[32]](_0x6751x12,{transaction:_0x6751xc[_0xde9b[17]]}))});return _0x6751x10})[_0xde9b[12]]()}module[_0xde9b[37]]=ChanSpy \ No newline at end of file diff --git a/server/config/tools/chatRoom.js b/server/config/tools/chatRoom.js index bcb2942..a2a02e3 100644 --- a/server/config/tools/chatRoom.js +++ b/server/config/tools/chatRoom.js @@ -1 +1 @@ -var _0x398f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x6F\x6D\x65\x6E\x74","\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x53\x65\x73\x73\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x73\x74\x61\x74\x75\x73","\x63\x68\x61\x6E\x67\x65\x64","\x43\x4C\x4F\x53\x45\x44","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72\x49\x64","\x45\x72\x72\x6F\x72\x3A","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x63\x6F\x6D\x70\x6C\x65\x74\x65\x52\x65\x61\x73\x6F\x6E","\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","\x69\x64","\x75\x70\x64\x61\x74\x65","\x74\x68\x65\x6E","\x73\x65\x72\x76\x65\x64","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x66\x69\x6E\x64\x42\x79\x49\x64","\x72\x61\x74\x69\x6E\x67","\x72\x61\x74\x69\x6E\x67\x4D\x65\x73\x73\x61\x67\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x398f[0];var _=require(_0x398f[1]);var moment=require(_0x398f[2]);var ChatRoomModel=require(_0x398f[4])[_0x398f[3]];var ChatVisitorModel=require(_0x398f[4])[_0x398f[5]];var ReportChatSessionModel=require(_0x398f[4])[_0x398f[6]];var ReportChatRoomModel=require(_0x398f[4])[_0x398f[7]];function ChatRoom(){ChatRoomModel[_0x398f[27]](function(_0xf977x8){if(_0xf977x8[_0x398f[9]](_0x398f[8])&&_0xf977x8[_0x398f[8]]===_0x398f[10]){if(_0xf977x8[_0x398f[11]]){return ChatVisitorModel[_0x398f[24]](_0xf977x8.ChatVisitorId)[_0x398f[20]](function(_0xf977xa){if(_0xf977xa){var _0xf977xb=_[_0x398f[22]](_0xf977xa,{status:_0x398f[21]});return _0xf977xb[_0x398f[23]]()}})[_0x398f[20]](function(){return ReportChatRoomModel[_0x398f[19]]({complete:true,completeReason:_0xf977x8[_0x398f[15]],completeAt:moment()[_0x398f[17]](_0x398f[16]),status:_0x398f[10]},{where:{roomid:_0xf977x8[_0x398f[18]],complete:false},individualHooks:true})})[_0x398f[20]](function(){return ReportChatSessionModel[_0x398f[19]]({complete:true,completeReason:_0xf977x8[_0x398f[15]],completeAt:moment()[_0x398f[17]](_0x398f[16])},{where:{roomid:_0xf977x8[_0x398f[18]],complete:false,abandon:false,unmanaged:false},individualHooks:true})})[_0x398f[14]](function(_0xf977x9){console[_0x398f[13]](_0x398f[12],_0xf977x9)})}};if(_0xf977x8[_0x398f[9]](_0x398f[25])){if(_0xf977x8[_0x398f[18]]){return ReportChatRoomModel[_0x398f[19]]({crating:_0xf977x8[_0x398f[25]],cratingMessage:_0xf977x8[_0x398f[26]]},{where:{roomid:_0xf977x8[_0x398f[18]]},individualHooks:true})[_0x398f[14]](function(_0xf977x9){console[_0x398f[13]](_0x398f[12],_0xf977x9)})}}})}module[_0x398f[28]]=ChatRoom \ No newline at end of file +var _0x21fd=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x6F\x6D\x65\x6E\x74","\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x53\x65\x73\x73\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x73\x74\x61\x74\x75\x73","\x63\x68\x61\x6E\x67\x65\x64","\x43\x4C\x4F\x53\x45\x44","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72\x49\x64","\x45\x72\x72\x6F\x72\x3A","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x63\x6F\x6D\x70\x6C\x65\x74\x65\x52\x65\x61\x73\x6F\x6E","\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","\x69\x64","\x75\x70\x64\x61\x74\x65","\x74\x68\x65\x6E","\x73\x65\x72\x76\x65\x64","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x66\x69\x6E\x64\x42\x79\x49\x64","\x72\x61\x74\x69\x6E\x67","\x72\x61\x74\x69\x6E\x67\x4D\x65\x73\x73\x61\x67\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x21fd[0];var _=require(_0x21fd[1]);var moment=require(_0x21fd[2]);var ChatRoomModel=require(_0x21fd[4])[_0x21fd[3]];var ChatVisitorModel=require(_0x21fd[4])[_0x21fd[5]];var ReportChatSessionModel=require(_0x21fd[4])[_0x21fd[6]];var ReportChatRoomModel=require(_0x21fd[4])[_0x21fd[7]];function ChatRoom(){ChatRoomModel[_0x21fd[27]](function(_0xd0c5x8){if(_0xd0c5x8[_0x21fd[9]](_0x21fd[8])&&_0xd0c5x8[_0x21fd[8]]===_0x21fd[10]){if(_0xd0c5x8[_0x21fd[11]]){return ChatVisitorModel[_0x21fd[24]](_0xd0c5x8.ChatVisitorId)[_0x21fd[20]](function(_0xd0c5xa){if(_0xd0c5xa){var _0xd0c5xb=_[_0x21fd[22]](_0xd0c5xa,{status:_0x21fd[21]});return _0xd0c5xb[_0x21fd[23]]()}})[_0x21fd[20]](function(){return ReportChatRoomModel[_0x21fd[19]]({complete:true,completeReason:_0xd0c5x8[_0x21fd[15]],completeAt:moment()[_0x21fd[17]](_0x21fd[16]),status:_0x21fd[10]},{where:{roomid:_0xd0c5x8[_0x21fd[18]],complete:false},individualHooks:true})})[_0x21fd[20]](function(){return ReportChatSessionModel[_0x21fd[19]]({complete:true,completeReason:_0xd0c5x8[_0x21fd[15]],completeAt:moment()[_0x21fd[17]](_0x21fd[16])},{where:{roomid:_0xd0c5x8[_0x21fd[18]],complete:false,abandon:false,unmanaged:false},individualHooks:true})})[_0x21fd[14]](function(_0xd0c5x9){console[_0x21fd[13]](_0x21fd[12],_0xd0c5x9)})}};if(_0xd0c5x8[_0x21fd[9]](_0x21fd[25])){if(_0xd0c5x8[_0x21fd[18]]){return ReportChatRoomModel[_0x21fd[19]]({crating:_0xd0c5x8[_0x21fd[25]],cratingMessage:_0xd0c5x8[_0x21fd[26]]},{where:{roomid:_0xd0c5x8[_0x21fd[18]]},individualHooks:true})[_0x21fd[14]](function(_0xd0c5x9){console[_0x21fd[13]](_0x21fd[12],_0xd0c5x9)})}}})}module[_0x21fd[28]]=ChatRoom \ No newline at end of file diff --git a/server/config/tools/dashboard.js b/server/config/tools/dashboard.js index 7aae07c..5d87af3 100644 --- a/server/config/tools/dashboard.js +++ b/server/config/tools/dashboard.js @@ -1 +1 @@ -var _0x910f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x6C\x6F\x64\x61\x73\x68","\x62\x6C\x75\x65\x62\x69\x72\x64","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x75\x65","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65\x41\x74","\x63\x68\x61\x6E\x67\x65\x64","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x64\x75\x72\x61\x74\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x43\x61\x6C\x6C","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x73\x74\x61\x74\x75\x73","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x52\x65\x70\x6F\x72\x74\x46\x61\x78\x52\x6F\x6F\x6D","\x52\x65\x70\x6F\x72\x74\x53\x6D\x73\x52\x6F\x6F\x6D","\x72\x6F\x77\x73","\x6E\x61\x6D\x65","\x6D\x61\x70","\x74\x68\x65\x6E","\x67\x65\x74\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x75\x73\x65\x72\x49\x64","\x69\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x55\x73\x65\x72","\x75\x73\x65\x72","\x66\x69\x6E\x64\x41\x6C\x6C","\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x72\x6F\x6C\x65","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x77\x61\x69\x74\x69\x6E\x67","\x65\x6D\x69\x74","\x63\x6F\x75\x6E\x74","\x61\x6C\x6C","\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x61\x63\x74\x69\x76\x65","\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64","\x6C\x6F\x67","\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x61\x6E\x73\x77\x65\x72\x65\x64","\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x61\x76\x67\x61\x6E\x73\x77\x65\x72\x74\x69\x6D\x65","\x76\x61\x6C\x75\x65","\x53\x45\x4C\x45\x43\x54\x20\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x52\x4F\x55\x4E\x44\x28\x41\x56\x47\x28\x68\x6F\x6C\x64\x74\x69\x6D\x65\x29\x2C\x20\x30\x29\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x20\x57\x48\x45\x52\x45\x20\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65\x20\x3D\x20\x31\x20\x20\x41\x4E\x44\x20\x71\x75\x65\x75\x65\x20\x49\x4E\x20\x28\x27","\x27\x2C\x27","\x6A\x6F\x69\x6E","\x27\x29","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\x71\x75\x65\x72\x79","\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x61\x76\x67\x74\x61\x6C\x6B\x74\x69\x6D\x65","\x53\x45\x4C\x45\x43\x54\x20\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x52\x4F\x55\x4E\x44\x28\x41\x56\x47\x28\x74\x61\x6C\x6B\x74\x69\x6D\x65\x29\x2C\x20\x30\x29\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x20\x57\x48\x45\x52\x45\x20\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65\x20\x3D\x20\x31\x20\x20\x41\x4E\x44\x20\x71\x75\x65\x75\x65\x20\x49\x4E\x20\x28\x27","\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x61\x6E\x73\x77\x65\x72\x72\x61\x74\x65","\x53\x45\x4C\x45\x43\x54\x20\x52\x4F\x55\x4E\x44\x28\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x29\x20\x2F\x20\x28\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x29\x20\x2B\x20\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x29\x29\x20\x2A\x20\x31\x30\x30\x2C\x20\x31\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x20\x57\x48\x45\x52\x45\x20\x71\x75\x65\x75\x65\x20\x49\x4E\x20\x28\x27","\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x61\x62\x61\x6E\x64\x6F\x6E\x72\x61\x74\x65","\x53\x45\x4C\x45\x43\x54\x20\x52\x4F\x55\x4E\x44\x28\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x29\x20\x2F\x20\x28\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x29\x20\x2B\x20\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x29\x29\x20\x2A\x20\x31\x30\x30\x2C\x20\x31\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x20\x57\x48\x45\x52\x45\x20\x71\x75\x65\x75\x65\x20\x49\x4E\x20\x28\x27","\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x74\x6F\x74\x61\x6C\x6F\x66\x66\x65\x72\x65\x64","\x53\x45\x4C\x45\x43\x54\x20\x43\x4F\x55\x4E\x54\x28\x64\x69\x73\x74\x69\x6E\x63\x74\x20\x75\x6E\x69\x71\x75\x65\x69\x64\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x20\x57\x48\x45\x52\x45\x20\x71\x75\x65\x75\x65\x20\x49\x4E\x20\x28\x27","\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64","\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x6D\x61\x6E\x75\x61\x6C\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x6D\x61\x6E\x75\x61\x6C\x6F\x75\x74\x62\x6F\x75\x6E\x64\x67\x6C\x6F\x62\x61\x6C\x64\x75\x72\x61\x74\x69\x6F\x6E","\x53\x45\x4C\x45\x43\x54\x20\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x53\x55\x4D\x28\x64\x75\x72\x61\x74\x69\x6F\x6E\x29\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x20\x57\x48\x45\x52\x45\x20\x74\x79\x70\x65\x3D\x22\x6F\x75\x74\x62\x6F\x75\x6E\x64\x22","\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x6D\x61\x6E\x75\x61\x6C\x6F\x75\x74\x62\x6F\x75\x6E\x64\x61\x76\x67\x64\x75\x72\x61\x74\x69\x6F\x6E","\x53\x45\x4C\x45\x43\x54\x20\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x52\x4F\x55\x4E\x44\x28\x41\x56\x47\x28\x64\x75\x72\x61\x74\x69\x6F\x6E\x29\x2C\x20\x30\x29\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x20\x57\x48\x45\x52\x45\x20\x74\x79\x70\x65\x3D\x22\x6F\x75\x74\x62\x6F\x75\x6E\x64\x22","\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x6D\x61\x6E\x75\x61\x6C\x6F\x75\x74\x62\x6F\x75\x6E\x64\x61\x6E\x73\x77\x65\x72\x65\x64","\x41\x4E\x53\x57\x45\x52\x45\x44","\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x6D\x61\x6E\x75\x61\x6C\x6F\x75\x74\x62\x6F\x75\x6E\x64\x61\x6E\x73\x77\x65\x72\x72\x61\x74\x65","\x53\x45\x4C\x45\x43\x54\x20\x52\x4F\x55\x4E\x44\x28\x53\x55\x4D\x28\x49\x46\x28\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3D\x22\x41\x4E\x53\x57\x45\x52\x45\x44\x22\x2C\x20\x31\x2C\x20\x30\x29\x29\x20\x2F\x20\x43\x4F\x55\x4E\x54\x28\x2A\x29\x20\x2A\x20\x31\x30\x30\x2C\x20\x31\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x20\x57\x48\x45\x52\x45\x20\x74\x79\x70\x65\x3D\x22\x6F\x75\x74\x62\x6F\x75\x6E\x64\x22","\x75\x6E\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x67\x65\x74\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x67\x65\x74\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x67\x65\x74\x46\x61\x78\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x67\x65\x74\x53\x6D\x73\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x6D\x61\x69\x6C\x5F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x6F\x70\x65\x6E","\x4F\x50\x45\x4E","\x6D\x65\x72\x67\x65","\x6D\x61\x69\x6C\x5F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x63\x6C\x6F\x73\x65\x64","\x43\x4C\x4F\x53\x45\x44","\x6D\x61\x69\x6C\x5F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x6E\x65\x77","\x4E\x45\x57","\x6D\x61\x69\x6C\x5F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x63\x68\x61\x74\x5F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x6F\x70\x65\x6E","\x63\x68\x61\x74\x5F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x63\x6C\x6F\x73\x65\x64","\x63\x68\x61\x74\x5F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x6E\x65\x77","\x63\x68\x61\x74\x5F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x66\x61\x78\x5F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x6F\x70\x65\x6E","\x66\x61\x78\x5F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x63\x6C\x6F\x73\x65\x64","\x66\x61\x78\x5F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x6E\x65\x77","\x66\x61\x78\x5F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x73\x6D\x73\x5F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x6F\x70\x65\x6E","\x73\x6D\x73\x5F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x63\x6C\x6F\x73\x65\x64","\x73\x6D\x73\x5F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x6E\x65\x77","\x73\x6D\x73\x5F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64"];_0x910f[0];var sequelize=require(_0x910f[2])[_0x910f[1]];var models=require(_0x910f[2]);var Util=require(_0x910f[3]);var _=require(_0x910f[4]);var Promise=require(_0x910f[5]);exports[_0x910f[6]]=function(_0x6fa0x6){models[_0x910f[8]][_0x910f[7]](function(_0x6fa0x7){onWaiting(_0x6fa0x6,_0x6fa0x7);onAbandon(_0x6fa0x6,_0x6fa0x7);onComplete(_0x6fa0x6,_0x6fa0x7);onActive(_0x6fa0x6,_0x6fa0x7);onAvgAnswerTime(_0x6fa0x6,_0x6fa0x7);onAvgTalkTime(_0x6fa0x6,_0x6fa0x7);onAbandonRate(_0x6fa0x6,_0x6fa0x7);onAnswerRate(_0x6fa0x6,_0x6fa0x7);onTotalOffered(_0x6fa0x6,_0x6fa0x7);onUnmanaged(_0x6fa0x6,_0x6fa0x7)});models[_0x910f[8]][_0x910f[13]](function(_0x6fa0x7){if(_0x6fa0x7[_0x910f[10]](_0x910f[9])||_0x6fa0x7[_0x910f[10]](_0x910f[11])||_0x6fa0x7[_0x910f[10]](_0x910f[12])){onWaiting(_0x6fa0x6,_0x6fa0x7);onAbandon(_0x6fa0x6,_0x6fa0x7);onComplete(_0x6fa0x6,_0x6fa0x7);onActive(_0x6fa0x6,_0x6fa0x7);onAvgAnswerTime(_0x6fa0x6,_0x6fa0x7);onAvgTalkTime(_0x6fa0x6,_0x6fa0x7);onAbandonRate(_0x6fa0x6,_0x6fa0x7);onAnswerRate(_0x6fa0x6,_0x6fa0x7);onTotalOffered(_0x6fa0x6,_0x6fa0x7);onUnmanaged(_0x6fa0x6,_0x6fa0x7)}});models[_0x910f[16]][_0x910f[13]](function(_0x6fa0x7){if(_0x6fa0x7[_0x910f[10]](_0x910f[14])){manualOutboundAnswerRate(_0x6fa0x6,_0x6fa0x7);manualOutboundAnswered(_0x6fa0x6,_0x6fa0x7);manualOutbound(_0x6fa0x6,_0x6fa0x7)};if(_0x6fa0x7[_0x910f[10]](_0x910f[15])){manualOutboundAvgDuration(_0x6fa0x6,_0x6fa0x7);manualOutboundGlobalDuration(_0x6fa0x6,_0x6fa0x7)}});models[_0x910f[17]][_0x910f[7]](function(_0x6fa0x7){onNewMail(_0x6fa0x6,_0x6fa0x7);onOpenMail(_0x6fa0x6,_0x6fa0x7);onClosedMail(_0x6fa0x6,_0x6fa0x7);onUnmanagedMail(_0x6fa0x6,_0x6fa0x7)});models[_0x910f[17]][_0x910f[13]](function(_0x6fa0x7){if(_0x6fa0x7[_0x910f[10]](_0x910f[18])){onNewMail(_0x6fa0x6,_0x6fa0x7);onOpenMail(_0x6fa0x6,_0x6fa0x7);onClosedMail(_0x6fa0x6,_0x6fa0x7);onUnmanagedMail(_0x6fa0x6,_0x6fa0x7)}});models[_0x910f[19]][_0x910f[7]](function(_0x6fa0x7){onNewChat(_0x6fa0x6,_0x6fa0x7);onOpenChat(_0x6fa0x6,_0x6fa0x7);onClosedChat(_0x6fa0x6,_0x6fa0x7);onUnmanagedChat(_0x6fa0x6,_0x6fa0x7)});models[_0x910f[19]][_0x910f[13]](function(_0x6fa0x7){if(_0x6fa0x7[_0x910f[10]](_0x910f[18])){onNewChat(_0x6fa0x6,_0x6fa0x7);onOpenChat(_0x6fa0x6,_0x6fa0x7);onClosedChat(_0x6fa0x6,_0x6fa0x7);onUnmanagedChat(_0x6fa0x6,_0x6fa0x7)}});models[_0x910f[19]][_0x910f[7]](function(_0x6fa0x7){onNewFax(_0x6fa0x6,_0x6fa0x7);onOpenFax(_0x6fa0x6,_0x6fa0x7);onClosedFax(_0x6fa0x6,_0x6fa0x7);onUnmanagedFax(_0x6fa0x6,_0x6fa0x7)});models[_0x910f[20]][_0x910f[13]](function(_0x6fa0x7){if(_0x6fa0x7[_0x910f[10]](_0x910f[18])){onNewFax(_0x6fa0x6,_0x6fa0x7);onOpenFax(_0x6fa0x6,_0x6fa0x7);onClosedFax(_0x6fa0x6,_0x6fa0x7);onUnmanagedFax(_0x6fa0x6,_0x6fa0x7)}});models[_0x910f[21]][_0x910f[7]](function(_0x6fa0x7){onNewSms(_0x6fa0x6,_0x6fa0x7);onOpenSms(_0x6fa0x6,_0x6fa0x7);onClosedSms(_0x6fa0x6,_0x6fa0x7);onUnmanagedSms(_0x6fa0x6,_0x6fa0x7)});models[_0x910f[21]][_0x910f[13]](function(_0x6fa0x7){if(_0x6fa0x7[_0x910f[10]](_0x910f[18])){onNewSms(_0x6fa0x6,_0x6fa0x7);onOpenSms(_0x6fa0x6,_0x6fa0x7);onClosedSms(_0x6fa0x6,_0x6fa0x7);onUnmanagedSms(_0x6fa0x6,_0x6fa0x7)}})};function getVoiceQueues(_0x6fa0x9){return function(){switch(_0x6fa0x9[_0x910f[34]]){case _0x910f[31]:return models[_0x910f[30]][_0x910f[29]](_0x6fa0x9[_0x910f[27]],{attributes:[_0x910f[28]]})[_0x910f[25]](Util[_0x910f[26]]())[_0x910f[25]](function(_0x6fa0xa){return _[_0x910f[24]](_0x6fa0xa[_0x910f[22]],_0x910f[23])});default:return models[_0x910f[33]][_0x910f[32]]()[_0x910f[25]](function(_0x6fa0xb){return {rows:_0x6fa0xb}})[_0x910f[25]](function(_0x6fa0xa){return _[_0x910f[24]](_0x6fa0xa[_0x910f[22]],_0x910f[23])})}}}function onWaiting(_0x6fa0x6,_0x6fa0x7){return Promise[_0x910f[40]]([])[_0x910f[25]](getVoiceQueues(_0x6fa0x6))[_0x910f[25]](function(_0x6fa0xa){return models[_0x910f[8]][_0x910f[39]]({where:{queuecallerleaveAt:null,queue:_0x6fa0xa}})})[_0x910f[25]](function(_0x6fa0xe){_0x6fa0x6[_0x910f[38]](_0x910f[37],{value:_0x6fa0xe})})[_0x910f[36]](function(_0x6fa0xd){console[_0x910f[35]](_0x6fa0xd)})}function onActive(_0x6fa0x6,_0x6fa0x7){return Promise[_0x910f[40]]([])[_0x910f[25]](getVoiceQueues(_0x6fa0x6))[_0x910f[25]](function(_0x6fa0xa){return models[_0x910f[8]][_0x910f[39]]({where:{queuecallerexit:false,queuecallerabandon:false,queuecallercomplete:false,queuecallerleaveAt:{$ne:null},queue:_0x6fa0xa}})})[_0x910f[25]](function(_0x6fa0xe){_0x6fa0x6[_0x910f[38]](_0x910f[41],{value:_0x6fa0xe})})[_0x910f[36]](function(_0x6fa0xd){console[_0x910f[35]](_0x6fa0xd)})}function onAbandon(_0x6fa0x6,_0x6fa0x7){return Promise[_0x910f[40]]([])[_0x910f[25]](getVoiceQueues(_0x6fa0x6))[_0x910f[25]](function(_0x6fa0xa){return models[_0x910f[8]][_0x910f[39]]({where:{queuecallerabandon:true,queue:_0x6fa0xa}})})[_0x910f[25]](function(_0x6fa0xe){console[_0x910f[43]](_0x910f[42]);_0x6fa0x6[_0x910f[38]](_0x910f[42],{value:_0x6fa0xe})})[_0x910f[36]](function(_0x6fa0xd){console[_0x910f[35]](_0x6fa0xd)})}function onComplete(_0x6fa0x6,_0x6fa0x7){return Promise[_0x910f[40]]([])[_0x910f[25]](getVoiceQueues(_0x6fa0x6))[_0x910f[25]](function(_0x6fa0xa){return models[_0x910f[8]][_0x910f[39]]({where:{queuecallercomplete:true,queue:_0x6fa0xa}})})[_0x910f[25]](function(_0x6fa0xe){_0x6fa0x6[_0x910f[38]](_0x910f[44],{value:_0x6fa0xe})})[_0x910f[36]](function(_0x6fa0xd){console[_0x910f[35]](_0x6fa0xd)})}function onAvgAnswerTime(_0x6fa0x6,_0x6fa0x7){return Promise[_0x910f[40]]([])[_0x910f[25]](getVoiceQueues(_0x6fa0x6))[_0x910f[25]](function(_0x6fa0xa){return sequelize[_0x910f[53]](_0x910f[47]+_0x6fa0xa[_0x910f[49]](_0x910f[48])+_0x910f[50],{type:sequelize[_0x910f[52]][_0x910f[51]]})})[_0x910f[25]](function(_0x6fa0xe){_0x6fa0x6[_0x910f[38]](_0x910f[45],{value:_0x6fa0xe[0][_0x910f[46]]})})[_0x910f[36]](function(_0x6fa0xd){console[_0x910f[35]](_0x6fa0xd)})}function onAvgTalkTime(_0x6fa0x6,_0x6fa0x7){return Promise[_0x910f[40]]([])[_0x910f[25]](getVoiceQueues(_0x6fa0x6))[_0x910f[25]](function(_0x6fa0xa){return sequelize[_0x910f[53]](_0x910f[55]+_0x6fa0xa[_0x910f[49]](_0x910f[48])+_0x910f[50],{type:sequelize[_0x910f[52]][_0x910f[51]]})})[_0x910f[25]](function(_0x6fa0xe){_0x6fa0x6[_0x910f[38]](_0x910f[54],{value:_0x6fa0xe[0][_0x910f[46]]})})[_0x910f[36]](function(_0x6fa0xd){console[_0x910f[35]](_0x6fa0xd)})}function onAnswerRate(_0x6fa0x6,_0x6fa0x7){return Promise[_0x910f[40]]([])[_0x910f[25]](getVoiceQueues(_0x6fa0x6))[_0x910f[25]](function(_0x6fa0xa){return sequelize[_0x910f[53]](_0x910f[57]+_0x6fa0xa[_0x910f[49]](_0x910f[48])+_0x910f[50],{type:sequelize[_0x910f[52]][_0x910f[51]]})})[_0x910f[25]](function(_0x6fa0xe){_0x6fa0x6[_0x910f[38]](_0x910f[56],{value:_0x6fa0xe[0][_0x910f[46]]})})[_0x910f[36]](function(_0x6fa0xd){console[_0x910f[35]](_0x6fa0xd)})}function onAbandonRate(_0x6fa0x6,_0x6fa0x7){return Promise[_0x910f[40]]([])[_0x910f[25]](getVoiceQueues(_0x6fa0x6))[_0x910f[25]](function(_0x6fa0xa){return sequelize[_0x910f[53]](_0x910f[59]+_0x6fa0xa[_0x910f[49]](_0x910f[48])+_0x910f[50],{type:sequelize[_0x910f[52]][_0x910f[51]]})})[_0x910f[25]](function(_0x6fa0xe){_0x6fa0x6[_0x910f[38]](_0x910f[58],{value:_0x6fa0xe[0][_0x910f[46]]})})[_0x910f[36]](function(_0x6fa0xd){console[_0x910f[35]](_0x6fa0xd)})}function onTotalOffered(_0x6fa0x6,_0x6fa0x7){return Promise[_0x910f[40]]([])[_0x910f[25]](getVoiceQueues(_0x6fa0x6))[_0x910f[25]](function(_0x6fa0xa){return sequelize[_0x910f[53]](_0x910f[61]+_0x6fa0xa[_0x910f[49]](_0x910f[48])+_0x910f[50],{type:sequelize[_0x910f[52]][_0x910f[51]]})})[_0x910f[25]](function(_0x6fa0xe){_0x6fa0x6[_0x910f[38]](_0x910f[60],{value:_0x6fa0xe[0][_0x910f[46]]})})[_0x910f[36]](function(_0x6fa0xd){console[_0x910f[35]](_0x6fa0xd)})}function onUnmanaged(_0x6fa0x6,_0x6fa0x7){return Promise[_0x910f[40]]([])[_0x910f[25]](getVoiceQueues(_0x6fa0x6))[_0x910f[25]](function(_0x6fa0xa){return models[_0x910f[8]][_0x910f[39]]({where:{queuecallerexit:true,queue:_0x6fa0xa}})})[_0x910f[25]](function(_0x6fa0xe){_0x6fa0x6[_0x910f[38]](_0x910f[62],{value:_0x6fa0xe})})[_0x910f[36]](function(_0x6fa0xd){console[_0x910f[35]](_0x6fa0xd)})}function manualOutbound(_0x6fa0x6,_0x6fa0x7){console[_0x910f[43]](_0x910f[63]);return models[_0x910f[16]][_0x910f[39]]({where:{type:_0x910f[65]}})[_0x910f[25]](function(_0x6fa0xe){_0x6fa0x6[_0x910f[38]](_0x910f[64],{value:_0x6fa0xe})})[_0x910f[36]](function(_0x6fa0xd){console[_0x910f[35]](_0x6fa0xd)})}function manualOutboundGlobalDuration(_0x6fa0x6,_0x6fa0x7){return sequelize[_0x910f[53]](_0x910f[67],{type:sequelize[_0x910f[52]][_0x910f[51]]})[_0x910f[25]](function(_0x6fa0xe){_0x6fa0x6[_0x910f[38]](_0x910f[66],{value:_0x6fa0xe[0][_0x910f[46]]})})[_0x910f[36]](function(_0x6fa0xd){console[_0x910f[35]](_0x6fa0xd)})}function manualOutboundAvgDuration(_0x6fa0x6,_0x6fa0x7){return sequelize[_0x910f[53]](_0x910f[69],{type:sequelize[_0x910f[52]][_0x910f[51]]})[_0x910f[25]](function(_0x6fa0xe){_0x6fa0x6[_0x910f[38]](_0x910f[68],{value:_0x6fa0xe[0][_0x910f[46]]})})[_0x910f[36]](function(_0x6fa0xd){console[_0x910f[35]](_0x6fa0xd)})}function manualOutboundAnswered(_0x6fa0x6,_0x6fa0x7){return models[_0x910f[16]][_0x910f[39]]({where:{disposition:_0x910f[71],type:_0x910f[65]}})[_0x910f[25]](function(_0x6fa0xe){_0x6fa0x6[_0x910f[38]](_0x910f[70],{value:_0x6fa0xe})})[_0x910f[36]](function(_0x6fa0xd){console[_0x910f[35]](_0x6fa0xd)})}function manualOutboundAnswerRate(_0x6fa0x6,_0x6fa0x7){return sequelize[_0x910f[53]](_0x910f[73],{type:sequelize[_0x910f[52]][_0x910f[51]]})[_0x910f[25]](function(_0x6fa0xe){_0x6fa0x6[_0x910f[38]](_0x910f[72],{value:_0x6fa0xe[0][_0x910f[46]]})})[_0x910f[36]](function(_0x6fa0xd){console[_0x910f[35]](_0x6fa0xd)})}function getMailQueues(_0x6fa0x9){return function(){switch(_0x6fa0x9[_0x910f[34]]){case _0x910f[31]:return models[_0x910f[30]][_0x910f[29]](_0x6fa0x9[_0x910f[27]],{attributes:[_0x910f[28]]})[_0x910f[25]](Util[_0x910f[76]]({},{attributes:[_0x910f[28]],include:[{raw:true,model:models[_0x910f[30]],attributes:[_0x910f[28]]}]}))[_0x910f[25]](function(_0x6fa0xa){var _0x6fa0x1e=[];_0x6fa0xa[_0x910f[22]][_0x910f[75]](function(_0x6fa0x1f){_0x6fa0x1e=_[_0x910f[74]](_0x6fa0x1e,_[_0x910f[24]](_0x6fa0x1f.Users,_0x910f[28]))});return {where:{$or:{queue:_[_0x910f[24]](_0x6fa0xa[_0x910f[22]],_0x910f[28]),memberid:_0x6fa0x1e}}}});default:return {}}}}function getChatQueues(_0x6fa0x9){return function(){switch(_0x6fa0x9[_0x910f[34]]){case _0x910f[31]:return models[_0x910f[30]][_0x910f[29]](_0x6fa0x9[_0x910f[27]],{attributes:[_0x910f[28]]})[_0x910f[25]](Util[_0x910f[77]]({},{attributes:[_0x910f[28]],include:[{raw:true,model:models[_0x910f[30]],attributes:[_0x910f[28]]}]}))[_0x910f[25]](function(_0x6fa0xa){var _0x6fa0x1e=[];_0x6fa0xa[_0x910f[22]][_0x910f[75]](function(_0x6fa0x1f){_0x6fa0x1e=_[_0x910f[74]](_0x6fa0x1e,_[_0x910f[24]](_0x6fa0x1f.Users,_0x910f[28]))});return {where:{$or:{queueid:_[_0x910f[24]](_0x6fa0xa[_0x910f[22]],_0x910f[28]),memberid:_0x6fa0x1e}}}});default:return {}}}}function getFaxQueues(_0x6fa0x9){return function(){switch(_0x6fa0x9[_0x910f[34]]){case _0x910f[31]:return models[_0x910f[30]][_0x910f[29]](_0x6fa0x9[_0x910f[27]],{attributes:[_0x910f[28]]})[_0x910f[25]](Util[_0x910f[78]]({},{attributes:[_0x910f[28]],include:[{raw:true,model:models[_0x910f[30]],attributes:[_0x910f[28]]}]}))[_0x910f[25]](function(_0x6fa0xa){var _0x6fa0x1e=[];_0x6fa0xa[_0x910f[22]][_0x910f[75]](function(_0x6fa0x1f){_0x6fa0x1e=_[_0x910f[74]](_0x6fa0x1e,_[_0x910f[24]](_0x6fa0x1f.Users,_0x910f[28]))});return {where:{$or:{queue:_[_0x910f[24]](_0x6fa0xa[_0x910f[22]],_0x910f[28]),memberid:_0x6fa0x1e}}}});default:return {}}}}function getSmsQueues(_0x6fa0x9){return function(){switch(_0x6fa0x9[_0x910f[34]]){case _0x910f[31]:return models[_0x910f[30]][_0x910f[29]](_0x6fa0x9[_0x910f[27]],{attributes:[_0x910f[28]]})[_0x910f[25]](Util[_0x910f[79]]({},{attributes:[_0x910f[28]],include:[{raw:true,model:models[_0x910f[30]],attributes:[_0x910f[28]]}]}))[_0x910f[25]](function(_0x6fa0xa){var _0x6fa0x1e=[];_0x6fa0xa[_0x910f[22]][_0x910f[75]](function(_0x6fa0x1f){_0x6fa0x1e=_[_0x910f[74]](_0x6fa0x1e,_[_0x910f[24]](_0x6fa0x1f.Users,_0x910f[28]))});return {where:{$or:{queue:_[_0x910f[24]](_0x6fa0xa[_0x910f[22]],_0x910f[28]),memberid:_0x6fa0x1e}}}});default:return {}}}}function onOpenMail(_0x6fa0x6,_0x6fa0x7){return Promise[_0x910f[40]]([])[_0x910f[25]](getMailQueues(_0x6fa0x6))[_0x910f[25]](function(_0x6fa0x24){return models[_0x910f[17]][_0x910f[39]](_[_0x910f[82]]({where:{status:_0x910f[81]}},_0x6fa0x24))})[_0x910f[25]](function(_0x6fa0xe){_0x6fa0x6[_0x910f[38]](_0x910f[80],{value:_0x6fa0xe})})[_0x910f[36]](function(_0x6fa0xd){console[_0x910f[35]](_0x6fa0xd)})}function onClosedMail(_0x6fa0x6,_0x6fa0x7){return Promise[_0x910f[40]]([])[_0x910f[25]](getMailQueues(_0x6fa0x6))[_0x910f[25]](function(_0x6fa0x24){return models[_0x910f[17]][_0x910f[39]](_[_0x910f[82]]({where:{status:_0x910f[84]}},_0x6fa0x24))})[_0x910f[25]](function(_0x6fa0xe){_0x6fa0x6[_0x910f[38]](_0x910f[83],{value:_0x6fa0xe})})[_0x910f[36]](function(_0x6fa0xd){console[_0x910f[35]](_0x6fa0xd)})}function onNewMail(_0x6fa0x6,_0x6fa0x7){return Promise[_0x910f[40]]([])[_0x910f[25]](getMailQueues(_0x6fa0x6))[_0x910f[25]](function(_0x6fa0x24){return models[_0x910f[17]][_0x910f[39]](_[_0x910f[82]]({where:{status:_0x910f[86]}},_0x6fa0x24))})[_0x910f[25]](function(_0x6fa0xe){_0x6fa0x6[_0x910f[38]](_0x910f[85],{value:_0x6fa0xe})})[_0x910f[36]](function(_0x6fa0xd){console[_0x910f[35]](_0x6fa0xd)})}function onUnmanagedMail(_0x6fa0x6,_0x6fa0x7){return Promise[_0x910f[40]]([])[_0x910f[25]](getMailQueues(_0x6fa0x6))[_0x910f[25]](function(_0x6fa0x24){return models[_0x910f[17]][_0x910f[39]](_[_0x910f[82]]({where:{status:_0x910f[88]}},_0x6fa0x24))})[_0x910f[25]](function(_0x6fa0xe){_0x6fa0x6[_0x910f[38]](_0x910f[87],{value:_0x6fa0xe})})[_0x910f[36]](function(_0x6fa0xd){console[_0x910f[35]](_0x6fa0xd)})}function onOpenChat(_0x6fa0x6,_0x6fa0x7){return Promise[_0x910f[40]]([])[_0x910f[25]](getChatQueues(_0x6fa0x6))[_0x910f[25]](function(_0x6fa0x24){return models[_0x910f[19]][_0x910f[39]](_[_0x910f[82]]({where:{status:_0x910f[81]}},_0x6fa0x24))})[_0x910f[25]](function(_0x6fa0xe){_0x6fa0x6[_0x910f[38]](_0x910f[89],{value:_0x6fa0xe})})[_0x910f[36]](function(_0x6fa0xd){console[_0x910f[35]](_0x6fa0xd)})}function onClosedChat(_0x6fa0x6,_0x6fa0x7){return Promise[_0x910f[40]]([])[_0x910f[25]](getChatQueues(_0x6fa0x6))[_0x910f[25]](function(_0x6fa0x24){return models[_0x910f[19]][_0x910f[39]](_[_0x910f[82]]({where:{status:_0x910f[84]}},_0x6fa0x24))})[_0x910f[25]](function(_0x6fa0xe){_0x6fa0x6[_0x910f[38]](_0x910f[90],{value:_0x6fa0xe})})[_0x910f[36]](function(_0x6fa0xd){console[_0x910f[35]](_0x6fa0xd)})}function onNewChat(_0x6fa0x6,_0x6fa0x7){return Promise[_0x910f[40]]([])[_0x910f[25]](getChatQueues(_0x6fa0x6))[_0x910f[25]](function(_0x6fa0x24){return models[_0x910f[19]][_0x910f[39]](_[_0x910f[82]]({where:{status:_0x910f[86]}},_0x6fa0x24))})[_0x910f[25]](function(_0x6fa0xe){_0x6fa0x6[_0x910f[38]](_0x910f[91],{value:_0x6fa0xe})})[_0x910f[36]](function(_0x6fa0xd){console[_0x910f[35]](_0x6fa0xd)})}function onUnmanagedChat(_0x6fa0x6,_0x6fa0x7){return Promise[_0x910f[40]]([])[_0x910f[25]](getChatQueues(_0x6fa0x6))[_0x910f[25]](function(_0x6fa0x24){return models[_0x910f[19]][_0x910f[39]](_[_0x910f[82]]({where:{status:_0x910f[88]}},_0x6fa0x24))})[_0x910f[25]](function(_0x6fa0xe){_0x6fa0x6[_0x910f[38]](_0x910f[92],{value:_0x6fa0xe})})[_0x910f[36]](function(_0x6fa0xd){console[_0x910f[35]](_0x6fa0xd)})}function onOpenFax(_0x6fa0x6,_0x6fa0x7){return Promise[_0x910f[40]]([])[_0x910f[25]](getFaxQueues(_0x6fa0x6))[_0x910f[25]](function(_0x6fa0x24){return models[_0x910f[20]][_0x910f[39]](_[_0x910f[82]]({where:{status:_0x910f[81]}},_0x6fa0x24))})[_0x910f[25]](function(_0x6fa0xe){_0x6fa0x6[_0x910f[38]](_0x910f[93],{value:_0x6fa0xe})})[_0x910f[36]](function(_0x6fa0xd){console[_0x910f[35]](_0x6fa0xd)})}function onClosedFax(_0x6fa0x6,_0x6fa0x7){return Promise[_0x910f[40]]([])[_0x910f[25]](getFaxQueues(_0x6fa0x6))[_0x910f[25]](function(_0x6fa0x24){return models[_0x910f[20]][_0x910f[39]](_[_0x910f[82]]({where:{status:_0x910f[84]}},_0x6fa0x24))})[_0x910f[25]](function(_0x6fa0xe){_0x6fa0x6[_0x910f[38]](_0x910f[94],{value:_0x6fa0xe})})[_0x910f[36]](function(_0x6fa0xd){console[_0x910f[35]](_0x6fa0xd)})}function onNewFax(_0x6fa0x6,_0x6fa0x7){return Promise[_0x910f[40]]([])[_0x910f[25]](getFaxQueues(_0x6fa0x6))[_0x910f[25]](function(_0x6fa0x24){return models[_0x910f[20]][_0x910f[39]](_[_0x910f[82]]({where:{status:_0x910f[86]}},_0x6fa0x24))})[_0x910f[25]](function(_0x6fa0xe){_0x6fa0x6[_0x910f[38]](_0x910f[95],{value:_0x6fa0xe})})[_0x910f[36]](function(_0x6fa0xd){console[_0x910f[35]](_0x6fa0xd)})}function onUnmanagedFax(_0x6fa0x6,_0x6fa0x7){return Promise[_0x910f[40]]([])[_0x910f[25]](getFaxQueues(_0x6fa0x6))[_0x910f[25]](function(_0x6fa0x24){return models[_0x910f[20]][_0x910f[39]](_[_0x910f[82]]({where:{status:_0x910f[88]}},_0x6fa0x24))})[_0x910f[25]](function(_0x6fa0xe){_0x6fa0x6[_0x910f[38]](_0x910f[96],{value:_0x6fa0xe})})[_0x910f[36]](function(_0x6fa0xd){console[_0x910f[35]](_0x6fa0xd)})}function onOpenSms(_0x6fa0x6,_0x6fa0x7){return Promise[_0x910f[40]]([])[_0x910f[25]](getSmsQueues(_0x6fa0x6))[_0x910f[25]](function(_0x6fa0x24){return models[_0x910f[21]][_0x910f[39]](_[_0x910f[82]]({where:{status:_0x910f[81]}},_0x6fa0x24))})[_0x910f[25]](function(_0x6fa0xe){_0x6fa0x6[_0x910f[38]](_0x910f[97],{value:_0x6fa0xe})})[_0x910f[36]](function(_0x6fa0xd){console[_0x910f[35]](_0x6fa0xd)})}function onClosedSms(_0x6fa0x6,_0x6fa0x7){return Promise[_0x910f[40]]([])[_0x910f[25]](getSmsQueues(_0x6fa0x6))[_0x910f[25]](function(_0x6fa0x24){return models[_0x910f[21]][_0x910f[39]](_[_0x910f[82]]({where:{status:_0x910f[84]}},_0x6fa0x24))})[_0x910f[25]](function(_0x6fa0xe){_0x6fa0x6[_0x910f[38]](_0x910f[98],{value:_0x6fa0xe})})[_0x910f[36]](function(_0x6fa0xd){console[_0x910f[35]](_0x6fa0xd)})}function onNewSms(_0x6fa0x6,_0x6fa0x7){return Promise[_0x910f[40]]([])[_0x910f[25]](getSmsQueues(_0x6fa0x6))[_0x910f[25]](function(_0x6fa0x24){return models[_0x910f[21]][_0x910f[39]](_[_0x910f[82]]({where:{status:_0x910f[86]}},_0x6fa0x24))})[_0x910f[25]](function(_0x6fa0xe){_0x6fa0x6[_0x910f[38]](_0x910f[99],{value:_0x6fa0xe})})[_0x910f[36]](function(_0x6fa0xd){console[_0x910f[35]](_0x6fa0xd)})}function onUnmanagedSms(_0x6fa0x6,_0x6fa0x7){return Promise[_0x910f[40]]([])[_0x910f[25]](getSmsQueues(_0x6fa0x6))[_0x910f[25]](function(_0x6fa0x24){return models[_0x910f[21]][_0x910f[39]](_[_0x910f[82]]({where:{status:_0x910f[88]}},_0x6fa0x24))})[_0x910f[25]](function(_0x6fa0xe){_0x6fa0x6[_0x910f[38]](_0x910f[100],{value:_0x6fa0xe})})[_0x910f[36]](function(_0x6fa0xd){console[_0x910f[35]](_0x6fa0xd)})} \ No newline at end of file +var _0x2825=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x6C\x6F\x64\x61\x73\x68","\x62\x6C\x75\x65\x62\x69\x72\x64","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x75\x65","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65\x41\x74","\x63\x68\x61\x6E\x67\x65\x64","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x64\x75\x72\x61\x74\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x43\x61\x6C\x6C","\x52\x65\x70\x6F\x72\x74\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x73\x74\x61\x74\x75\x73","\x52\x65\x70\x6F\x72\x74\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x52\x65\x70\x6F\x72\x74\x46\x61\x78\x52\x6F\x6F\x6D","\x52\x65\x70\x6F\x72\x74\x53\x6D\x73\x52\x6F\x6F\x6D","\x72\x6F\x77\x73","\x6E\x61\x6D\x65","\x6D\x61\x70","\x74\x68\x65\x6E","\x67\x65\x74\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x75\x73\x65\x72\x49\x64","\x69\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x55\x73\x65\x72","\x75\x73\x65\x72","\x66\x69\x6E\x64\x41\x6C\x6C","\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x72\x6F\x6C\x65","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x77\x61\x69\x74\x69\x6E\x67","\x65\x6D\x69\x74","\x63\x6F\x75\x6E\x74","\x61\x6C\x6C","\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x61\x63\x74\x69\x76\x65","\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64","\x6C\x6F\x67","\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x61\x6E\x73\x77\x65\x72\x65\x64","\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x61\x76\x67\x61\x6E\x73\x77\x65\x72\x74\x69\x6D\x65","\x76\x61\x6C\x75\x65","\x53\x45\x4C\x45\x43\x54\x20\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x52\x4F\x55\x4E\x44\x28\x41\x56\x47\x28\x68\x6F\x6C\x64\x74\x69\x6D\x65\x29\x2C\x20\x30\x29\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x20\x57\x48\x45\x52\x45\x20\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65\x20\x3D\x20\x31\x20\x20\x41\x4E\x44\x20\x71\x75\x65\x75\x65\x20\x49\x4E\x20\x28\x27","\x27\x2C\x27","\x6A\x6F\x69\x6E","\x27\x29","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\x71\x75\x65\x72\x79","\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x61\x76\x67\x74\x61\x6C\x6B\x74\x69\x6D\x65","\x53\x45\x4C\x45\x43\x54\x20\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x52\x4F\x55\x4E\x44\x28\x41\x56\x47\x28\x74\x61\x6C\x6B\x74\x69\x6D\x65\x29\x2C\x20\x30\x29\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x20\x57\x48\x45\x52\x45\x20\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65\x20\x3D\x20\x31\x20\x20\x41\x4E\x44\x20\x71\x75\x65\x75\x65\x20\x49\x4E\x20\x28\x27","\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x61\x6E\x73\x77\x65\x72\x72\x61\x74\x65","\x53\x45\x4C\x45\x43\x54\x20\x52\x4F\x55\x4E\x44\x28\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x29\x20\x2F\x20\x28\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x29\x20\x2B\x20\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x29\x29\x20\x2A\x20\x31\x30\x30\x2C\x20\x31\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x20\x57\x48\x45\x52\x45\x20\x71\x75\x65\x75\x65\x20\x49\x4E\x20\x28\x27","\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x61\x62\x61\x6E\x64\x6F\x6E\x72\x61\x74\x65","\x53\x45\x4C\x45\x43\x54\x20\x52\x4F\x55\x4E\x44\x28\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x29\x20\x2F\x20\x28\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65\x29\x20\x2B\x20\x53\x55\x4D\x28\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E\x29\x29\x20\x2A\x20\x31\x30\x30\x2C\x20\x31\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x20\x57\x48\x45\x52\x45\x20\x71\x75\x65\x75\x65\x20\x49\x4E\x20\x28\x27","\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x74\x6F\x74\x61\x6C\x6F\x66\x66\x65\x72\x65\x64","\x53\x45\x4C\x45\x43\x54\x20\x43\x4F\x55\x4E\x54\x28\x64\x69\x73\x74\x69\x6E\x63\x74\x20\x75\x6E\x69\x71\x75\x65\x69\x64\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x20\x57\x48\x45\x52\x45\x20\x71\x75\x65\x75\x65\x20\x49\x4E\x20\x28\x27","\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x6D\x61\x6E\x75\x61\x6C\x4F\x75\x74\x62\x6F\x75\x6E\x64","\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x6D\x61\x6E\x75\x61\x6C\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x6D\x61\x6E\x75\x61\x6C\x6F\x75\x74\x62\x6F\x75\x6E\x64\x67\x6C\x6F\x62\x61\x6C\x64\x75\x72\x61\x74\x69\x6F\x6E","\x53\x45\x4C\x45\x43\x54\x20\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x53\x55\x4D\x28\x64\x75\x72\x61\x74\x69\x6F\x6E\x29\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x20\x57\x48\x45\x52\x45\x20\x74\x79\x70\x65\x3D\x22\x6F\x75\x74\x62\x6F\x75\x6E\x64\x22","\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x6D\x61\x6E\x75\x61\x6C\x6F\x75\x74\x62\x6F\x75\x6E\x64\x61\x76\x67\x64\x75\x72\x61\x74\x69\x6F\x6E","\x53\x45\x4C\x45\x43\x54\x20\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x52\x4F\x55\x4E\x44\x28\x41\x56\x47\x28\x64\x75\x72\x61\x74\x69\x6F\x6E\x29\x2C\x20\x30\x29\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x20\x57\x48\x45\x52\x45\x20\x74\x79\x70\x65\x3D\x22\x6F\x75\x74\x62\x6F\x75\x6E\x64\x22","\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x6D\x61\x6E\x75\x61\x6C\x6F\x75\x74\x62\x6F\x75\x6E\x64\x61\x6E\x73\x77\x65\x72\x65\x64","\x41\x4E\x53\x57\x45\x52\x45\x44","\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x6D\x61\x6E\x75\x61\x6C\x6F\x75\x74\x62\x6F\x75\x6E\x64\x61\x6E\x73\x77\x65\x72\x72\x61\x74\x65","\x53\x45\x4C\x45\x43\x54\x20\x52\x4F\x55\x4E\x44\x28\x53\x55\x4D\x28\x49\x46\x28\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3D\x22\x41\x4E\x53\x57\x45\x52\x45\x44\x22\x2C\x20\x31\x2C\x20\x30\x29\x29\x20\x2F\x20\x43\x4F\x55\x4E\x54\x28\x2A\x29\x20\x2A\x20\x31\x30\x30\x2C\x20\x31\x29\x20\x61\x73\x20\x76\x61\x6C\x75\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x20\x57\x48\x45\x52\x45\x20\x74\x79\x70\x65\x3D\x22\x6F\x75\x74\x62\x6F\x75\x6E\x64\x22","\x75\x6E\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x67\x65\x74\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x67\x65\x74\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x67\x65\x74\x46\x61\x78\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x67\x65\x74\x53\x6D\x73\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x6D\x61\x69\x6C\x5F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x6F\x70\x65\x6E","\x4F\x50\x45\x4E","\x6D\x65\x72\x67\x65","\x6D\x61\x69\x6C\x5F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x63\x6C\x6F\x73\x65\x64","\x43\x4C\x4F\x53\x45\x44","\x6D\x61\x69\x6C\x5F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x6E\x65\x77","\x4E\x45\x57","\x6D\x61\x69\x6C\x5F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x63\x68\x61\x74\x5F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x6F\x70\x65\x6E","\x63\x68\x61\x74\x5F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x63\x6C\x6F\x73\x65\x64","\x63\x68\x61\x74\x5F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x6E\x65\x77","\x63\x68\x61\x74\x5F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x66\x61\x78\x5F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x6F\x70\x65\x6E","\x66\x61\x78\x5F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x63\x6C\x6F\x73\x65\x64","\x66\x61\x78\x5F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x6E\x65\x77","\x66\x61\x78\x5F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x73\x6D\x73\x5F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x6F\x70\x65\x6E","\x73\x6D\x73\x5F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x63\x6C\x6F\x73\x65\x64","\x73\x6D\x73\x5F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x6E\x65\x77","\x73\x6D\x73\x5F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x3A\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64"];_0x2825[0];var sequelize=require(_0x2825[2])[_0x2825[1]];var models=require(_0x2825[2]);var Util=require(_0x2825[3]);var _=require(_0x2825[4]);var Promise=require(_0x2825[5]);exports[_0x2825[6]]=function(_0x6538x6){models[_0x2825[8]][_0x2825[7]](function(_0x6538x7){onWaiting(_0x6538x6,_0x6538x7);onAbandon(_0x6538x6,_0x6538x7);onComplete(_0x6538x6,_0x6538x7);onActive(_0x6538x6,_0x6538x7);onAvgAnswerTime(_0x6538x6,_0x6538x7);onAvgTalkTime(_0x6538x6,_0x6538x7);onAbandonRate(_0x6538x6,_0x6538x7);onAnswerRate(_0x6538x6,_0x6538x7);onTotalOffered(_0x6538x6,_0x6538x7);onUnmanaged(_0x6538x6,_0x6538x7)});models[_0x2825[8]][_0x2825[13]](function(_0x6538x7){if(_0x6538x7[_0x2825[10]](_0x2825[9])||_0x6538x7[_0x2825[10]](_0x2825[11])||_0x6538x7[_0x2825[10]](_0x2825[12])){onWaiting(_0x6538x6,_0x6538x7);onAbandon(_0x6538x6,_0x6538x7);onComplete(_0x6538x6,_0x6538x7);onActive(_0x6538x6,_0x6538x7);onAvgAnswerTime(_0x6538x6,_0x6538x7);onAvgTalkTime(_0x6538x6,_0x6538x7);onAbandonRate(_0x6538x6,_0x6538x7);onAnswerRate(_0x6538x6,_0x6538x7);onTotalOffered(_0x6538x6,_0x6538x7);onUnmanaged(_0x6538x6,_0x6538x7)}});models[_0x2825[16]][_0x2825[13]](function(_0x6538x7){if(_0x6538x7[_0x2825[10]](_0x2825[14])){manualOutboundAnswerRate(_0x6538x6,_0x6538x7);manualOutboundAnswered(_0x6538x6,_0x6538x7);manualOutbound(_0x6538x6,_0x6538x7)};if(_0x6538x7[_0x2825[10]](_0x2825[15])){manualOutboundAvgDuration(_0x6538x6,_0x6538x7);manualOutboundGlobalDuration(_0x6538x6,_0x6538x7)}});models[_0x2825[17]][_0x2825[7]](function(_0x6538x7){onNewMail(_0x6538x6,_0x6538x7);onOpenMail(_0x6538x6,_0x6538x7);onClosedMail(_0x6538x6,_0x6538x7);onUnmanagedMail(_0x6538x6,_0x6538x7)});models[_0x2825[17]][_0x2825[13]](function(_0x6538x7){if(_0x6538x7[_0x2825[10]](_0x2825[18])){onNewMail(_0x6538x6,_0x6538x7);onOpenMail(_0x6538x6,_0x6538x7);onClosedMail(_0x6538x6,_0x6538x7);onUnmanagedMail(_0x6538x6,_0x6538x7)}});models[_0x2825[19]][_0x2825[7]](function(_0x6538x7){onNewChat(_0x6538x6,_0x6538x7);onOpenChat(_0x6538x6,_0x6538x7);onClosedChat(_0x6538x6,_0x6538x7);onUnmanagedChat(_0x6538x6,_0x6538x7)});models[_0x2825[19]][_0x2825[13]](function(_0x6538x7){if(_0x6538x7[_0x2825[10]](_0x2825[18])){onNewChat(_0x6538x6,_0x6538x7);onOpenChat(_0x6538x6,_0x6538x7);onClosedChat(_0x6538x6,_0x6538x7);onUnmanagedChat(_0x6538x6,_0x6538x7)}});models[_0x2825[19]][_0x2825[7]](function(_0x6538x7){onNewFax(_0x6538x6,_0x6538x7);onOpenFax(_0x6538x6,_0x6538x7);onClosedFax(_0x6538x6,_0x6538x7);onUnmanagedFax(_0x6538x6,_0x6538x7)});models[_0x2825[20]][_0x2825[13]](function(_0x6538x7){if(_0x6538x7[_0x2825[10]](_0x2825[18])){onNewFax(_0x6538x6,_0x6538x7);onOpenFax(_0x6538x6,_0x6538x7);onClosedFax(_0x6538x6,_0x6538x7);onUnmanagedFax(_0x6538x6,_0x6538x7)}});models[_0x2825[21]][_0x2825[7]](function(_0x6538x7){onNewSms(_0x6538x6,_0x6538x7);onOpenSms(_0x6538x6,_0x6538x7);onClosedSms(_0x6538x6,_0x6538x7);onUnmanagedSms(_0x6538x6,_0x6538x7)});models[_0x2825[21]][_0x2825[13]](function(_0x6538x7){if(_0x6538x7[_0x2825[10]](_0x2825[18])){onNewSms(_0x6538x6,_0x6538x7);onOpenSms(_0x6538x6,_0x6538x7);onClosedSms(_0x6538x6,_0x6538x7);onUnmanagedSms(_0x6538x6,_0x6538x7)}})};function getVoiceQueues(_0x6538x9){return function(){switch(_0x6538x9[_0x2825[34]]){case _0x2825[31]:return models[_0x2825[30]][_0x2825[29]](_0x6538x9[_0x2825[27]],{attributes:[_0x2825[28]]})[_0x2825[25]](Util[_0x2825[26]]())[_0x2825[25]](function(_0x6538xa){return _[_0x2825[24]](_0x6538xa[_0x2825[22]],_0x2825[23])});default:return models[_0x2825[33]][_0x2825[32]]()[_0x2825[25]](function(_0x6538xb){return {rows:_0x6538xb}})[_0x2825[25]](function(_0x6538xa){return _[_0x2825[24]](_0x6538xa[_0x2825[22]],_0x2825[23])})}}}function onWaiting(_0x6538x6,_0x6538x7){return Promise[_0x2825[40]]([])[_0x2825[25]](getVoiceQueues(_0x6538x6))[_0x2825[25]](function(_0x6538xa){return models[_0x2825[8]][_0x2825[39]]({where:{queuecallerleaveAt:null,queue:_0x6538xa}})})[_0x2825[25]](function(_0x6538xe){_0x6538x6[_0x2825[38]](_0x2825[37],{value:_0x6538xe})})[_0x2825[36]](function(_0x6538xd){console[_0x2825[35]](_0x6538xd)})}function onActive(_0x6538x6,_0x6538x7){return Promise[_0x2825[40]]([])[_0x2825[25]](getVoiceQueues(_0x6538x6))[_0x2825[25]](function(_0x6538xa){return models[_0x2825[8]][_0x2825[39]]({where:{queuecallerexit:false,queuecallerabandon:false,queuecallercomplete:false,queuecallerleaveAt:{$ne:null},queue:_0x6538xa}})})[_0x2825[25]](function(_0x6538xe){_0x6538x6[_0x2825[38]](_0x2825[41],{value:_0x6538xe})})[_0x2825[36]](function(_0x6538xd){console[_0x2825[35]](_0x6538xd)})}function onAbandon(_0x6538x6,_0x6538x7){return Promise[_0x2825[40]]([])[_0x2825[25]](getVoiceQueues(_0x6538x6))[_0x2825[25]](function(_0x6538xa){return models[_0x2825[8]][_0x2825[39]]({where:{queuecallerabandon:true,queue:_0x6538xa}})})[_0x2825[25]](function(_0x6538xe){console[_0x2825[43]](_0x2825[42]);_0x6538x6[_0x2825[38]](_0x2825[42],{value:_0x6538xe})})[_0x2825[36]](function(_0x6538xd){console[_0x2825[35]](_0x6538xd)})}function onComplete(_0x6538x6,_0x6538x7){return Promise[_0x2825[40]]([])[_0x2825[25]](getVoiceQueues(_0x6538x6))[_0x2825[25]](function(_0x6538xa){return models[_0x2825[8]][_0x2825[39]]({where:{queuecallercomplete:true,queue:_0x6538xa}})})[_0x2825[25]](function(_0x6538xe){_0x6538x6[_0x2825[38]](_0x2825[44],{value:_0x6538xe})})[_0x2825[36]](function(_0x6538xd){console[_0x2825[35]](_0x6538xd)})}function onAvgAnswerTime(_0x6538x6,_0x6538x7){return Promise[_0x2825[40]]([])[_0x2825[25]](getVoiceQueues(_0x6538x6))[_0x2825[25]](function(_0x6538xa){return sequelize[_0x2825[53]](_0x2825[47]+_0x6538xa[_0x2825[49]](_0x2825[48])+_0x2825[50],{type:sequelize[_0x2825[52]][_0x2825[51]]})})[_0x2825[25]](function(_0x6538xe){_0x6538x6[_0x2825[38]](_0x2825[45],{value:_0x6538xe[0][_0x2825[46]]})})[_0x2825[36]](function(_0x6538xd){console[_0x2825[35]](_0x6538xd)})}function onAvgTalkTime(_0x6538x6,_0x6538x7){return Promise[_0x2825[40]]([])[_0x2825[25]](getVoiceQueues(_0x6538x6))[_0x2825[25]](function(_0x6538xa){return sequelize[_0x2825[53]](_0x2825[55]+_0x6538xa[_0x2825[49]](_0x2825[48])+_0x2825[50],{type:sequelize[_0x2825[52]][_0x2825[51]]})})[_0x2825[25]](function(_0x6538xe){_0x6538x6[_0x2825[38]](_0x2825[54],{value:_0x6538xe[0][_0x2825[46]]})})[_0x2825[36]](function(_0x6538xd){console[_0x2825[35]](_0x6538xd)})}function onAnswerRate(_0x6538x6,_0x6538x7){return Promise[_0x2825[40]]([])[_0x2825[25]](getVoiceQueues(_0x6538x6))[_0x2825[25]](function(_0x6538xa){return sequelize[_0x2825[53]](_0x2825[57]+_0x6538xa[_0x2825[49]](_0x2825[48])+_0x2825[50],{type:sequelize[_0x2825[52]][_0x2825[51]]})})[_0x2825[25]](function(_0x6538xe){_0x6538x6[_0x2825[38]](_0x2825[56],{value:_0x6538xe[0][_0x2825[46]]})})[_0x2825[36]](function(_0x6538xd){console[_0x2825[35]](_0x6538xd)})}function onAbandonRate(_0x6538x6,_0x6538x7){return Promise[_0x2825[40]]([])[_0x2825[25]](getVoiceQueues(_0x6538x6))[_0x2825[25]](function(_0x6538xa){return sequelize[_0x2825[53]](_0x2825[59]+_0x6538xa[_0x2825[49]](_0x2825[48])+_0x2825[50],{type:sequelize[_0x2825[52]][_0x2825[51]]})})[_0x2825[25]](function(_0x6538xe){_0x6538x6[_0x2825[38]](_0x2825[58],{value:_0x6538xe[0][_0x2825[46]]})})[_0x2825[36]](function(_0x6538xd){console[_0x2825[35]](_0x6538xd)})}function onTotalOffered(_0x6538x6,_0x6538x7){return Promise[_0x2825[40]]([])[_0x2825[25]](getVoiceQueues(_0x6538x6))[_0x2825[25]](function(_0x6538xa){return sequelize[_0x2825[53]](_0x2825[61]+_0x6538xa[_0x2825[49]](_0x2825[48])+_0x2825[50],{type:sequelize[_0x2825[52]][_0x2825[51]]})})[_0x2825[25]](function(_0x6538xe){_0x6538x6[_0x2825[38]](_0x2825[60],{value:_0x6538xe[0][_0x2825[46]]})})[_0x2825[36]](function(_0x6538xd){console[_0x2825[35]](_0x6538xd)})}function onUnmanaged(_0x6538x6,_0x6538x7){return Promise[_0x2825[40]]([])[_0x2825[25]](getVoiceQueues(_0x6538x6))[_0x2825[25]](function(_0x6538xa){return models[_0x2825[8]][_0x2825[39]]({where:{queuecallerexit:true,queue:_0x6538xa}})})[_0x2825[25]](function(_0x6538xe){_0x6538x6[_0x2825[38]](_0x2825[62],{value:_0x6538xe})})[_0x2825[36]](function(_0x6538xd){console[_0x2825[35]](_0x6538xd)})}function manualOutbound(_0x6538x6,_0x6538x7){console[_0x2825[43]](_0x2825[63]);return models[_0x2825[16]][_0x2825[39]]({where:{type:_0x2825[65]}})[_0x2825[25]](function(_0x6538xe){_0x6538x6[_0x2825[38]](_0x2825[64],{value:_0x6538xe})})[_0x2825[36]](function(_0x6538xd){console[_0x2825[35]](_0x6538xd)})}function manualOutboundGlobalDuration(_0x6538x6,_0x6538x7){return sequelize[_0x2825[53]](_0x2825[67],{type:sequelize[_0x2825[52]][_0x2825[51]]})[_0x2825[25]](function(_0x6538xe){_0x6538x6[_0x2825[38]](_0x2825[66],{value:_0x6538xe[0][_0x2825[46]]})})[_0x2825[36]](function(_0x6538xd){console[_0x2825[35]](_0x6538xd)})}function manualOutboundAvgDuration(_0x6538x6,_0x6538x7){return sequelize[_0x2825[53]](_0x2825[69],{type:sequelize[_0x2825[52]][_0x2825[51]]})[_0x2825[25]](function(_0x6538xe){_0x6538x6[_0x2825[38]](_0x2825[68],{value:_0x6538xe[0][_0x2825[46]]})})[_0x2825[36]](function(_0x6538xd){console[_0x2825[35]](_0x6538xd)})}function manualOutboundAnswered(_0x6538x6,_0x6538x7){return models[_0x2825[16]][_0x2825[39]]({where:{disposition:_0x2825[71],type:_0x2825[65]}})[_0x2825[25]](function(_0x6538xe){_0x6538x6[_0x2825[38]](_0x2825[70],{value:_0x6538xe})})[_0x2825[36]](function(_0x6538xd){console[_0x2825[35]](_0x6538xd)})}function manualOutboundAnswerRate(_0x6538x6,_0x6538x7){return sequelize[_0x2825[53]](_0x2825[73],{type:sequelize[_0x2825[52]][_0x2825[51]]})[_0x2825[25]](function(_0x6538xe){_0x6538x6[_0x2825[38]](_0x2825[72],{value:_0x6538xe[0][_0x2825[46]]})})[_0x2825[36]](function(_0x6538xd){console[_0x2825[35]](_0x6538xd)})}function getMailQueues(_0x6538x9){return function(){switch(_0x6538x9[_0x2825[34]]){case _0x2825[31]:return models[_0x2825[30]][_0x2825[29]](_0x6538x9[_0x2825[27]],{attributes:[_0x2825[28]]})[_0x2825[25]](Util[_0x2825[76]]({},{attributes:[_0x2825[28]],include:[{raw:true,model:models[_0x2825[30]],attributes:[_0x2825[28]]}]}))[_0x2825[25]](function(_0x6538xa){var _0x6538x1e=[];_0x6538xa[_0x2825[22]][_0x2825[75]](function(_0x6538x1f){_0x6538x1e=_[_0x2825[74]](_0x6538x1e,_[_0x2825[24]](_0x6538x1f.Users,_0x2825[28]))});return {where:{$or:{queue:_[_0x2825[24]](_0x6538xa[_0x2825[22]],_0x2825[28]),memberid:_0x6538x1e}}}});default:return {}}}}function getChatQueues(_0x6538x9){return function(){switch(_0x6538x9[_0x2825[34]]){case _0x2825[31]:return models[_0x2825[30]][_0x2825[29]](_0x6538x9[_0x2825[27]],{attributes:[_0x2825[28]]})[_0x2825[25]](Util[_0x2825[77]]({},{attributes:[_0x2825[28]],include:[{raw:true,model:models[_0x2825[30]],attributes:[_0x2825[28]]}]}))[_0x2825[25]](function(_0x6538xa){var _0x6538x1e=[];_0x6538xa[_0x2825[22]][_0x2825[75]](function(_0x6538x1f){_0x6538x1e=_[_0x2825[74]](_0x6538x1e,_[_0x2825[24]](_0x6538x1f.Users,_0x2825[28]))});return {where:{$or:{queueid:_[_0x2825[24]](_0x6538xa[_0x2825[22]],_0x2825[28]),memberid:_0x6538x1e}}}});default:return {}}}}function getFaxQueues(_0x6538x9){return function(){switch(_0x6538x9[_0x2825[34]]){case _0x2825[31]:return models[_0x2825[30]][_0x2825[29]](_0x6538x9[_0x2825[27]],{attributes:[_0x2825[28]]})[_0x2825[25]](Util[_0x2825[78]]({},{attributes:[_0x2825[28]],include:[{raw:true,model:models[_0x2825[30]],attributes:[_0x2825[28]]}]}))[_0x2825[25]](function(_0x6538xa){var _0x6538x1e=[];_0x6538xa[_0x2825[22]][_0x2825[75]](function(_0x6538x1f){_0x6538x1e=_[_0x2825[74]](_0x6538x1e,_[_0x2825[24]](_0x6538x1f.Users,_0x2825[28]))});return {where:{$or:{queue:_[_0x2825[24]](_0x6538xa[_0x2825[22]],_0x2825[28]),memberid:_0x6538x1e}}}});default:return {}}}}function getSmsQueues(_0x6538x9){return function(){switch(_0x6538x9[_0x2825[34]]){case _0x2825[31]:return models[_0x2825[30]][_0x2825[29]](_0x6538x9[_0x2825[27]],{attributes:[_0x2825[28]]})[_0x2825[25]](Util[_0x2825[79]]({},{attributes:[_0x2825[28]],include:[{raw:true,model:models[_0x2825[30]],attributes:[_0x2825[28]]}]}))[_0x2825[25]](function(_0x6538xa){var _0x6538x1e=[];_0x6538xa[_0x2825[22]][_0x2825[75]](function(_0x6538x1f){_0x6538x1e=_[_0x2825[74]](_0x6538x1e,_[_0x2825[24]](_0x6538x1f.Users,_0x2825[28]))});return {where:{$or:{queue:_[_0x2825[24]](_0x6538xa[_0x2825[22]],_0x2825[28]),memberid:_0x6538x1e}}}});default:return {}}}}function onOpenMail(_0x6538x6,_0x6538x7){return Promise[_0x2825[40]]([])[_0x2825[25]](getMailQueues(_0x6538x6))[_0x2825[25]](function(_0x6538x24){return models[_0x2825[17]][_0x2825[39]](_[_0x2825[82]]({where:{status:_0x2825[81]}},_0x6538x24))})[_0x2825[25]](function(_0x6538xe){_0x6538x6[_0x2825[38]](_0x2825[80],{value:_0x6538xe})})[_0x2825[36]](function(_0x6538xd){console[_0x2825[35]](_0x6538xd)})}function onClosedMail(_0x6538x6,_0x6538x7){return Promise[_0x2825[40]]([])[_0x2825[25]](getMailQueues(_0x6538x6))[_0x2825[25]](function(_0x6538x24){return models[_0x2825[17]][_0x2825[39]](_[_0x2825[82]]({where:{status:_0x2825[84]}},_0x6538x24))})[_0x2825[25]](function(_0x6538xe){_0x6538x6[_0x2825[38]](_0x2825[83],{value:_0x6538xe})})[_0x2825[36]](function(_0x6538xd){console[_0x2825[35]](_0x6538xd)})}function onNewMail(_0x6538x6,_0x6538x7){return Promise[_0x2825[40]]([])[_0x2825[25]](getMailQueues(_0x6538x6))[_0x2825[25]](function(_0x6538x24){return models[_0x2825[17]][_0x2825[39]](_[_0x2825[82]]({where:{status:_0x2825[86]}},_0x6538x24))})[_0x2825[25]](function(_0x6538xe){_0x6538x6[_0x2825[38]](_0x2825[85],{value:_0x6538xe})})[_0x2825[36]](function(_0x6538xd){console[_0x2825[35]](_0x6538xd)})}function onUnmanagedMail(_0x6538x6,_0x6538x7){return Promise[_0x2825[40]]([])[_0x2825[25]](getMailQueues(_0x6538x6))[_0x2825[25]](function(_0x6538x24){return models[_0x2825[17]][_0x2825[39]](_[_0x2825[82]]({where:{status:_0x2825[88]}},_0x6538x24))})[_0x2825[25]](function(_0x6538xe){_0x6538x6[_0x2825[38]](_0x2825[87],{value:_0x6538xe})})[_0x2825[36]](function(_0x6538xd){console[_0x2825[35]](_0x6538xd)})}function onOpenChat(_0x6538x6,_0x6538x7){return Promise[_0x2825[40]]([])[_0x2825[25]](getChatQueues(_0x6538x6))[_0x2825[25]](function(_0x6538x24){return models[_0x2825[19]][_0x2825[39]](_[_0x2825[82]]({where:{status:_0x2825[81]}},_0x6538x24))})[_0x2825[25]](function(_0x6538xe){_0x6538x6[_0x2825[38]](_0x2825[89],{value:_0x6538xe})})[_0x2825[36]](function(_0x6538xd){console[_0x2825[35]](_0x6538xd)})}function onClosedChat(_0x6538x6,_0x6538x7){return Promise[_0x2825[40]]([])[_0x2825[25]](getChatQueues(_0x6538x6))[_0x2825[25]](function(_0x6538x24){return models[_0x2825[19]][_0x2825[39]](_[_0x2825[82]]({where:{status:_0x2825[84]}},_0x6538x24))})[_0x2825[25]](function(_0x6538xe){_0x6538x6[_0x2825[38]](_0x2825[90],{value:_0x6538xe})})[_0x2825[36]](function(_0x6538xd){console[_0x2825[35]](_0x6538xd)})}function onNewChat(_0x6538x6,_0x6538x7){return Promise[_0x2825[40]]([])[_0x2825[25]](getChatQueues(_0x6538x6))[_0x2825[25]](function(_0x6538x24){return models[_0x2825[19]][_0x2825[39]](_[_0x2825[82]]({where:{status:_0x2825[86]}},_0x6538x24))})[_0x2825[25]](function(_0x6538xe){_0x6538x6[_0x2825[38]](_0x2825[91],{value:_0x6538xe})})[_0x2825[36]](function(_0x6538xd){console[_0x2825[35]](_0x6538xd)})}function onUnmanagedChat(_0x6538x6,_0x6538x7){return Promise[_0x2825[40]]([])[_0x2825[25]](getChatQueues(_0x6538x6))[_0x2825[25]](function(_0x6538x24){return models[_0x2825[19]][_0x2825[39]](_[_0x2825[82]]({where:{status:_0x2825[88]}},_0x6538x24))})[_0x2825[25]](function(_0x6538xe){_0x6538x6[_0x2825[38]](_0x2825[92],{value:_0x6538xe})})[_0x2825[36]](function(_0x6538xd){console[_0x2825[35]](_0x6538xd)})}function onOpenFax(_0x6538x6,_0x6538x7){return Promise[_0x2825[40]]([])[_0x2825[25]](getFaxQueues(_0x6538x6))[_0x2825[25]](function(_0x6538x24){return models[_0x2825[20]][_0x2825[39]](_[_0x2825[82]]({where:{status:_0x2825[81]}},_0x6538x24))})[_0x2825[25]](function(_0x6538xe){_0x6538x6[_0x2825[38]](_0x2825[93],{value:_0x6538xe})})[_0x2825[36]](function(_0x6538xd){console[_0x2825[35]](_0x6538xd)})}function onClosedFax(_0x6538x6,_0x6538x7){return Promise[_0x2825[40]]([])[_0x2825[25]](getFaxQueues(_0x6538x6))[_0x2825[25]](function(_0x6538x24){return models[_0x2825[20]][_0x2825[39]](_[_0x2825[82]]({where:{status:_0x2825[84]}},_0x6538x24))})[_0x2825[25]](function(_0x6538xe){_0x6538x6[_0x2825[38]](_0x2825[94],{value:_0x6538xe})})[_0x2825[36]](function(_0x6538xd){console[_0x2825[35]](_0x6538xd)})}function onNewFax(_0x6538x6,_0x6538x7){return Promise[_0x2825[40]]([])[_0x2825[25]](getFaxQueues(_0x6538x6))[_0x2825[25]](function(_0x6538x24){return models[_0x2825[20]][_0x2825[39]](_[_0x2825[82]]({where:{status:_0x2825[86]}},_0x6538x24))})[_0x2825[25]](function(_0x6538xe){_0x6538x6[_0x2825[38]](_0x2825[95],{value:_0x6538xe})})[_0x2825[36]](function(_0x6538xd){console[_0x2825[35]](_0x6538xd)})}function onUnmanagedFax(_0x6538x6,_0x6538x7){return Promise[_0x2825[40]]([])[_0x2825[25]](getFaxQueues(_0x6538x6))[_0x2825[25]](function(_0x6538x24){return models[_0x2825[20]][_0x2825[39]](_[_0x2825[82]]({where:{status:_0x2825[88]}},_0x6538x24))})[_0x2825[25]](function(_0x6538xe){_0x6538x6[_0x2825[38]](_0x2825[96],{value:_0x6538xe})})[_0x2825[36]](function(_0x6538xd){console[_0x2825[35]](_0x6538xd)})}function onOpenSms(_0x6538x6,_0x6538x7){return Promise[_0x2825[40]]([])[_0x2825[25]](getSmsQueues(_0x6538x6))[_0x2825[25]](function(_0x6538x24){return models[_0x2825[21]][_0x2825[39]](_[_0x2825[82]]({where:{status:_0x2825[81]}},_0x6538x24))})[_0x2825[25]](function(_0x6538xe){_0x6538x6[_0x2825[38]](_0x2825[97],{value:_0x6538xe})})[_0x2825[36]](function(_0x6538xd){console[_0x2825[35]](_0x6538xd)})}function onClosedSms(_0x6538x6,_0x6538x7){return Promise[_0x2825[40]]([])[_0x2825[25]](getSmsQueues(_0x6538x6))[_0x2825[25]](function(_0x6538x24){return models[_0x2825[21]][_0x2825[39]](_[_0x2825[82]]({where:{status:_0x2825[84]}},_0x6538x24))})[_0x2825[25]](function(_0x6538xe){_0x6538x6[_0x2825[38]](_0x2825[98],{value:_0x6538xe})})[_0x2825[36]](function(_0x6538xd){console[_0x2825[35]](_0x6538xd)})}function onNewSms(_0x6538x6,_0x6538x7){return Promise[_0x2825[40]]([])[_0x2825[25]](getSmsQueues(_0x6538x6))[_0x2825[25]](function(_0x6538x24){return models[_0x2825[21]][_0x2825[39]](_[_0x2825[82]]({where:{status:_0x2825[86]}},_0x6538x24))})[_0x2825[25]](function(_0x6538xe){_0x6538x6[_0x2825[38]](_0x2825[99],{value:_0x6538xe})})[_0x2825[36]](function(_0x6538xd){console[_0x2825[35]](_0x6538xd)})}function onUnmanagedSms(_0x6538x6,_0x6538x7){return Promise[_0x2825[40]]([])[_0x2825[25]](getSmsQueues(_0x6538x6))[_0x2825[25]](function(_0x6538x24){return models[_0x2825[21]][_0x2825[39]](_[_0x2825[82]]({where:{status:_0x2825[88]}},_0x6538x24))})[_0x2825[25]](function(_0x6538xe){_0x6538x6[_0x2825[38]](_0x2825[100],{value:_0x6538xe})})[_0x2825[36]](function(_0x6538xd){console[_0x2825[35]](_0x6538xd)})} \ No newline at end of file diff --git a/server/config/tools/faxAccount.js b/server/config/tools/faxAccount.js index c2f2e72..3ee73b5 100644 --- a/server/config/tools/faxAccount.js +++ b/server/config/tools/faxAccount.js @@ -1 +1 @@ -var _0x2132=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x75\x74\x69\x6C","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C\x73\x2F\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x62\x6C\x75\x65\x62\x69\x72\x64","\x5F\x25\x73","\x6C\x6F\x63\x61\x6C\x73\x74\x61\x74\x69\x6F\x6E\x69\x64","\x66\x6F\x72\x6D\x61\x74","\x69\x64","\x47\x65\x6E\x65\x72\x61\x74\x65\x64\x20\x62\x79\x20\x46\x61\x78\x20\x43\x68\x61\x6E\x6E\x65\x6C\x20\x2D\x20\x41\x63\x63\x6F\x75\x6E\x74\x3A\x20\x25\x73","\x6E\x61\x6D\x65","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x63\x72\x65\x61\x74\x65\x41\x70\x70\x73","\x74\x68\x65\x6E","\x63\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x72\x6F\x75\x74\x65\x55\x70\x64\x61\x74\x65","\x66\x69\x6E\x64\x4F\x6E\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x6C\x65\x74\x65","\x49\x6E\x62\x6F\x75\x6E\x64\x20\x43\x61\x6C\x6C","\x66\x72\x6F\x6D\x2D\x76\x6F\x69\x70\x2D\x70\x72\x6F\x76\x69\x64\x65\x72","\x31","\x2D\x2D","\x4E\x6F\x4F\x70","\x69\x6E\x62\x6F\x75\x6E\x64","\x49\x6E\x63\x6F\x6D\x69\x6E\x67\x20\x66\x61\x78\x20\x66\x72\x6F\x6D\x20\x24\x7B\x43\x41\x4C\x4C\x45\x52\x49\x44\x28\x6E\x75\x6D\x29\x7D","\x2A\x2C\x2A\x2C\x2A\x2C\x2A","\x63\x75\x73\x74\x6F\x6D","\x41\x63\x63\x6F\x75\x6E\x74\x20\x25\x73","\x43\x44\x52\x28\x74\x79\x70\x65\x29\x3D\x69\x6E\x62\x6F\x75\x6E\x64\x2D\x66\x61\x78","\x53\x65\x74","","\x41\x6E\x73\x77\x65\x72","\x32","\x57\x61\x69\x74","\x46\x41\x58\x4F\x50\x54\x28\x65\x63\x6D\x29\x3D\x25\x73","\x65\x63\x6D","\x46\x41\x58\x4F\x50\x54\x28\x68\x65\x61\x64\x65\x72\x69\x6E\x66\x6F\x29\x3D\x25\x73","\x68\x65\x61\x64\x65\x72\x69\x6E\x66\x6F","\x46\x41\x58\x4F\x50\x54\x28\x6C\x6F\x63\x61\x6C\x73\x74\x61\x74\x69\x6F\x6E\x69\x64\x29\x3D\x25\x73","\x46\x41\x58\x4F\x50\x54\x28\x6D\x69\x6E\x72\x61\x74\x65\x29\x3D\x25\x73","\x6D\x69\x6E\x72\x61\x74\x65","\x46\x41\x58\x4F\x50\x54\x28\x6D\x61\x78\x72\x61\x74\x65\x29\x3D\x25\x73","\x6D\x61\x78\x72\x61\x74\x65","\x46\x41\x58\x4F\x50\x54\x28\x6D\x6F\x64\x65\x6D\x29\x3D\x25\x73","\x6D\x6F\x64\x65\x6D","\x46\x41\x58\x4F\x50\x54\x28\x67\x61\x74\x65\x77\x61\x79\x29\x3D\x25\x73","\x67\x61\x74\x65\x77\x61\x79","\x46\x41\x58\x4F\x50\x54\x28\x74\x33\x38\x74\x69\x6D\x65\x6F\x75\x74\x29\x3D\x25\x73","\x74\x33\x38\x74\x69\x6D\x65\x6F\x75\x74","\x46\x41\x58\x4F\x50\x54\x28\x66\x61\x78\x64\x65\x74\x65\x63\x74\x29\x3D\x25\x73","\x66\x61\x78\x64\x65\x74\x65\x63\x74","\x2F\x76\x61\x72\x2F\x73\x70\x6F\x6F\x6C\x2F\x61\x73\x74\x65\x72\x69\x73\x6B\x2F\x66\x61\x78\x2F\x66\x61\x78\x2D\x24\x7B\x53\x54\x52\x46\x54\x49\x4D\x45\x28\x24\x7B\x45\x50\x4F\x43\x48\x7D\x2C\x2C\x25\x59\x25\x6D\x25\x64\x2D\x25\x48\x25\x4D\x25\x53\x29\x7D\x2E\x74\x69\x66","\x52\x65\x63\x65\x69\x76\x65\x46\x41\x58","\x48\x61\x6E\x67\x75\x70","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x2132[0];var util=require(_0x2132[1]);var VoiceExtension=require(_0x2132[3])[_0x2132[2]];var FaxAccountModel=require(_0x2132[3])[_0x2132[4]];var sequelize=require(_0x2132[3])[_0x2132[5]];var veUtil=require(_0x2132[6]);var Promise=require(_0x2132[7]);function FaxAccount(){FaxAccountModel[_0x2132[18]](function(_0x5319x8,_0x5319x9){var _0x5319xa=util[_0x2132[10]](_0x2132[8],_0x5319x8[_0x2132[9]]);var _0x5319xb=_0x5319x8[_0x2132[11]];var _0x5319xc=util[_0x2132[10]](_0x2132[12],_0x5319x8[_0x2132[13]]);var _0x5319xd=generateExtensionArray(_0x5319x8);var _0x5319xe;return VoiceExtension[_0x2132[17]](_0x5319xd,{transaction:_0x5319x9[_0x2132[14]]})[_0x2132[16]](function(_0x5319xf){_0x5319xe=_0x5319xf;return _0x5319xf})[_0x2132[16]](veUtil[_0x2132[15]](_0x5319xd.Applications,_0x5319x9[_0x2132[14]]))});FaxAccountModel[_0x2132[21]](function(_0x5319x8,_0x5319x9){var _0x5319xa=util[_0x2132[10]](_0x2132[8],_0x5319x8[_0x2132[9]]);var _0x5319xb=_0x5319x8[_0x2132[11]];var _0x5319xc=util[_0x2132[10]](_0x2132[12],_0x5319x8[_0x2132[13]]);return VoiceExtension[_0x2132[20]]({where:{FaxAccountId:_0x5319x8[_0x2132[11]]}})[_0x2132[16]](function(_0x5319x10){if(!_0x5319x10){return};var _0x5319x11={params:{id:_0x5319x10[_0x2132[11]]},body:generateExtensionArray(_0x5319x8)};return veUtil[_0x2132[19]](_0x5319x11,_0x5319x9[_0x2132[14]])})});FaxAccountModel[_0x2132[22]](function(_0x5319x8,_0x5319x9){return deleteVoiceExtensions(_0x5319x8,_0x5319x9)})}function generateExtensionArray(_0x5319x8){var _0x5319xa=util[_0x2132[10]](_0x2132[8],_0x5319x8[_0x2132[9]]);var _0x5319xb=_0x5319x8[_0x2132[11]];var _0x5319xc=util[_0x2132[10]](_0x2132[12],_0x5319x8[_0x2132[13]]);return {"\x61\x70\x70\x64\x61\x74\x61":_0x2132[23],"\x63\x6F\x6E\x74\x65\x78\x74":_0x2132[24],"\x65\x78\x74\x65\x6E":_0x5319xa,"\x70\x72\x69\x6F\x72\x69\x74\x79":_0x2132[25],"\x74\x61\x67":_0x2132[26],"\x61\x70\x70":_0x2132[27],"\x74\x79\x70\x65":_0x2132[28],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x5319xc,"\x69\x6E\x74\x65\x72\x76\x61\x6C":null,"\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64":null,"\x69\x73\x41\x70\x70":false,"\x72\x65\x63\x6F\x72\x64":false,"\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74\x49\x64":_0x5319xb,"\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73":[{"\x61\x70\x70\x64\x61\x74\x61":[_0x2132[29]],"\x61\x70\x70":_0x2132[27],"\x69\x6E\x74\x65\x72\x76\x61\x6C":_0x2132[30],"\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64":null,"\x63\x61\x6C\x6C\x65\x72\x49\x44":null,"\x74\x79\x70\x65":_0x2132[28],"\x61\x70\x70\x54\x79\x70\x65":_0x2132[31]},{"\x61\x70\x70\x64\x61\x74\x61":[util[_0x2132[10]](_0x2132[32],_0x5319x8[_0x2132[13]])],"\x61\x70\x70":_0x2132[27],"\x69\x6E\x74\x65\x72\x76\x61\x6C":_0x2132[30],"\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64":null,"\x63\x61\x6C\x6C\x65\x72\x49\x44":null,"\x74\x79\x70\x65":_0x2132[28],"\x61\x70\x70\x54\x79\x70\x65":_0x2132[31]},{"\x61\x70\x70\x64\x61\x74\x61":[_0x2132[33]],"\x61\x70\x70":_0x2132[34],"\x69\x6E\x74\x65\x72\x76\x61\x6C":_0x2132[30],"\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64":null,"\x63\x61\x6C\x6C\x65\x72\x49\x44":null,"\x74\x79\x70\x65":_0x2132[28],"\x61\x70\x70\x54\x79\x70\x65":null},{"\x61\x70\x70\x64\x61\x74\x61":[_0x2132[35]],"\x61\x70\x70":_0x2132[36],"\x69\x6E\x74\x65\x72\x76\x61\x6C":_0x2132[30],"\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64":null,"\x63\x61\x6C\x6C\x65\x72\x49\x44":null,"\x74\x79\x70\x65":_0x2132[28],"\x61\x70\x70\x54\x79\x70\x65":_0x2132[31]},{"\x61\x70\x70\x64\x61\x74\x61":[_0x2132[37]],"\x61\x70\x70":_0x2132[38],"\x69\x6E\x74\x65\x72\x76\x61\x6C":_0x2132[30],"\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64":null,"\x63\x61\x6C\x6C\x65\x72\x49\x44":null,"\x74\x79\x70\x65":_0x2132[28],"\x61\x70\x70\x54\x79\x70\x65":_0x2132[31]},{"\x61\x70\x70\x64\x61\x74\x61":[util[_0x2132[10]](_0x2132[39],_0x5319x8[_0x2132[40]])],"\x61\x70\x70":_0x2132[34],"\x69\x6E\x74\x65\x72\x76\x61\x6C":_0x2132[30],"\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64":null,"\x63\x61\x6C\x6C\x65\x72\x49\x44":null,"\x74\x79\x70\x65":_0x2132[28],"\x61\x70\x70\x54\x79\x70\x65":null},{"\x61\x70\x70\x64\x61\x74\x61":[util[_0x2132[10]](_0x2132[41],_0x5319x8[_0x2132[42]])],"\x61\x70\x70":_0x2132[34],"\x69\x6E\x74\x65\x72\x76\x61\x6C":_0x2132[30],"\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64":null,"\x63\x61\x6C\x6C\x65\x72\x49\x44":null,"\x74\x79\x70\x65":_0x2132[28],"\x61\x70\x70\x54\x79\x70\x65":null},{"\x61\x70\x70\x64\x61\x74\x61":[util[_0x2132[10]](_0x2132[43],_0x5319x8[_0x2132[9]])],"\x61\x70\x70":_0x2132[34],"\x69\x6E\x74\x65\x72\x76\x61\x6C":_0x2132[30],"\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64":null,"\x63\x61\x6C\x6C\x65\x72\x49\x44":null,"\x74\x79\x70\x65":_0x2132[28],"\x61\x70\x70\x54\x79\x70\x65":null},{"\x61\x70\x70\x64\x61\x74\x61":[util[_0x2132[10]](_0x2132[44],_0x5319x8[_0x2132[45]])],"\x61\x70\x70":_0x2132[34],"\x69\x6E\x74\x65\x72\x76\x61\x6C":_0x2132[30],"\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64":null,"\x63\x61\x6C\x6C\x65\x72\x49\x44":null,"\x74\x79\x70\x65":_0x2132[28],"\x61\x70\x70\x54\x79\x70\x65":null},{"\x61\x70\x70\x64\x61\x74\x61":[util[_0x2132[10]](_0x2132[46],_0x5319x8[_0x2132[47]])],"\x61\x70\x70":_0x2132[34],"\x69\x6E\x74\x65\x72\x76\x61\x6C":_0x2132[30],"\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64":null,"\x63\x61\x6C\x6C\x65\x72\x49\x44":null,"\x74\x79\x70\x65":_0x2132[28],"\x61\x70\x70\x54\x79\x70\x65":null},{"\x61\x70\x70\x64\x61\x74\x61":[util[_0x2132[10]](_0x2132[48],_0x5319x8[_0x2132[49]])],"\x61\x70\x70":_0x2132[34],"\x69\x6E\x74\x65\x72\x76\x61\x6C":_0x2132[30],"\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64":null,"\x63\x61\x6C\x6C\x65\x72\x49\x44":null,"\x74\x79\x70\x65":_0x2132[28],"\x61\x70\x70\x54\x79\x70\x65":null},{"\x61\x70\x70\x64\x61\x74\x61":[util[_0x2132[10]](_0x2132[50],_0x5319x8[_0x2132[51]])],"\x61\x70\x70":_0x2132[34],"\x69\x6E\x74\x65\x72\x76\x61\x6C":_0x2132[30],"\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64":null,"\x63\x61\x6C\x6C\x65\x72\x49\x44":null,"\x74\x79\x70\x65":_0x2132[28],"\x61\x70\x70\x54\x79\x70\x65":null},{"\x61\x70\x70\x64\x61\x74\x61":[util[_0x2132[10]](_0x2132[52],_0x5319x8[_0x2132[53]])],"\x61\x70\x70":_0x2132[34],"\x69\x6E\x74\x65\x72\x76\x61\x6C":_0x2132[30],"\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64":null,"\x63\x61\x6C\x6C\x65\x72\x49\x44":null,"\x74\x79\x70\x65":_0x2132[28],"\x61\x70\x70\x54\x79\x70\x65":null},{"\x61\x70\x70\x64\x61\x74\x61":[util[_0x2132[10]](_0x2132[54],_0x5319x8[_0x2132[55]])],"\x61\x70\x70":_0x2132[34],"\x69\x6E\x74\x65\x72\x76\x61\x6C":_0x2132[30],"\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64":null,"\x63\x61\x6C\x6C\x65\x72\x49\x44":null,"\x74\x79\x70\x65":_0x2132[28],"\x61\x70\x70\x54\x79\x70\x65":null},{"\x61\x70\x70\x64\x61\x74\x61":[_0x2132[56]],"\x61\x70\x70":_0x2132[57],"\x69\x6E\x74\x65\x72\x76\x61\x6C":_0x2132[30],"\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64":null,"\x63\x61\x6C\x6C\x65\x72\x49\x44":null,"\x74\x79\x70\x65":_0x2132[28],"\x61\x70\x70\x54\x79\x70\x65":_0x2132[31]},{"\x61\x70\x70\x64\x61\x74\x61":[_0x2132[35]],"\x61\x70\x70":_0x2132[58],"\x69\x6E\x74\x65\x72\x76\x61\x6C":_0x2132[30],"\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64":null,"\x63\x61\x6C\x6C\x65\x72\x49\x44":null,"\x74\x79\x70\x65":_0x2132[28],"\x61\x70\x70\x54\x79\x70\x65":null}]}}function deleteVoiceExtensions(_0x5319x8,_0x5319x9){return VoiceExtension[_0x2132[59]]({where:{FaxAccountId:_0x5319x8[_0x2132[11]]},transaction:_0x5319x9[_0x2132[14]]})}module[_0x2132[60]]=FaxAccount \ No newline at end of file +var _0x1c60=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x75\x74\x69\x6C","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C\x73\x2F\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x62\x6C\x75\x65\x62\x69\x72\x64","\x5F\x25\x73","\x6C\x6F\x63\x61\x6C\x73\x74\x61\x74\x69\x6F\x6E\x69\x64","\x66\x6F\x72\x6D\x61\x74","\x69\x64","\x47\x65\x6E\x65\x72\x61\x74\x65\x64\x20\x62\x79\x20\x46\x61\x78\x20\x43\x68\x61\x6E\x6E\x65\x6C\x20\x2D\x20\x41\x63\x63\x6F\x75\x6E\x74\x3A\x20\x25\x73","\x6E\x61\x6D\x65","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x63\x72\x65\x61\x74\x65\x41\x70\x70\x73","\x74\x68\x65\x6E","\x63\x72\x65\x61\x74\x65","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x72\x6F\x75\x74\x65\x55\x70\x64\x61\x74\x65","\x66\x69\x6E\x64\x4F\x6E\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x44\x65\x6C\x65\x74\x65","\x49\x6E\x62\x6F\x75\x6E\x64\x20\x43\x61\x6C\x6C","\x66\x72\x6F\x6D\x2D\x76\x6F\x69\x70\x2D\x70\x72\x6F\x76\x69\x64\x65\x72","\x31","\x2D\x2D","\x4E\x6F\x4F\x70","\x69\x6E\x62\x6F\x75\x6E\x64","\x49\x6E\x63\x6F\x6D\x69\x6E\x67\x20\x66\x61\x78\x20\x66\x72\x6F\x6D\x20\x24\x7B\x43\x41\x4C\x4C\x45\x52\x49\x44\x28\x6E\x75\x6D\x29\x7D","\x2A\x2C\x2A\x2C\x2A\x2C\x2A","\x63\x75\x73\x74\x6F\x6D","\x41\x63\x63\x6F\x75\x6E\x74\x20\x25\x73","\x43\x44\x52\x28\x74\x79\x70\x65\x29\x3D\x69\x6E\x62\x6F\x75\x6E\x64\x2D\x66\x61\x78","\x53\x65\x74","","\x41\x6E\x73\x77\x65\x72","\x32","\x57\x61\x69\x74","\x46\x41\x58\x4F\x50\x54\x28\x65\x63\x6D\x29\x3D\x25\x73","\x65\x63\x6D","\x46\x41\x58\x4F\x50\x54\x28\x68\x65\x61\x64\x65\x72\x69\x6E\x66\x6F\x29\x3D\x25\x73","\x68\x65\x61\x64\x65\x72\x69\x6E\x66\x6F","\x46\x41\x58\x4F\x50\x54\x28\x6C\x6F\x63\x61\x6C\x73\x74\x61\x74\x69\x6F\x6E\x69\x64\x29\x3D\x25\x73","\x46\x41\x58\x4F\x50\x54\x28\x6D\x69\x6E\x72\x61\x74\x65\x29\x3D\x25\x73","\x6D\x69\x6E\x72\x61\x74\x65","\x46\x41\x58\x4F\x50\x54\x28\x6D\x61\x78\x72\x61\x74\x65\x29\x3D\x25\x73","\x6D\x61\x78\x72\x61\x74\x65","\x46\x41\x58\x4F\x50\x54\x28\x6D\x6F\x64\x65\x6D\x29\x3D\x25\x73","\x6D\x6F\x64\x65\x6D","\x46\x41\x58\x4F\x50\x54\x28\x67\x61\x74\x65\x77\x61\x79\x29\x3D\x25\x73","\x67\x61\x74\x65\x77\x61\x79","\x46\x41\x58\x4F\x50\x54\x28\x74\x33\x38\x74\x69\x6D\x65\x6F\x75\x74\x29\x3D\x25\x73","\x74\x33\x38\x74\x69\x6D\x65\x6F\x75\x74","\x46\x41\x58\x4F\x50\x54\x28\x66\x61\x78\x64\x65\x74\x65\x63\x74\x29\x3D\x25\x73","\x66\x61\x78\x64\x65\x74\x65\x63\x74","\x2F\x76\x61\x72\x2F\x73\x70\x6F\x6F\x6C\x2F\x61\x73\x74\x65\x72\x69\x73\x6B\x2F\x66\x61\x78\x2F\x66\x61\x78\x2D\x24\x7B\x53\x54\x52\x46\x54\x49\x4D\x45\x28\x24\x7B\x45\x50\x4F\x43\x48\x7D\x2C\x2C\x25\x59\x25\x6D\x25\x64\x2D\x25\x48\x25\x4D\x25\x53\x29\x7D\x2E\x74\x69\x66","\x52\x65\x63\x65\x69\x76\x65\x46\x41\x58","\x48\x61\x6E\x67\x75\x70","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x1c60[0];var util=require(_0x1c60[1]);var VoiceExtension=require(_0x1c60[3])[_0x1c60[2]];var FaxAccountModel=require(_0x1c60[3])[_0x1c60[4]];var sequelize=require(_0x1c60[3])[_0x1c60[5]];var veUtil=require(_0x1c60[6]);var Promise=require(_0x1c60[7]);function FaxAccount(){FaxAccountModel[_0x1c60[18]](function(_0x19b0x8,_0x19b0x9){var _0x19b0xa=util[_0x1c60[10]](_0x1c60[8],_0x19b0x8[_0x1c60[9]]);var _0x19b0xb=_0x19b0x8[_0x1c60[11]];var _0x19b0xc=util[_0x1c60[10]](_0x1c60[12],_0x19b0x8[_0x1c60[13]]);var _0x19b0xd=generateExtensionArray(_0x19b0x8);var _0x19b0xe;return VoiceExtension[_0x1c60[17]](_0x19b0xd,{transaction:_0x19b0x9[_0x1c60[14]]})[_0x1c60[16]](function(_0x19b0xf){_0x19b0xe=_0x19b0xf;return _0x19b0xf})[_0x1c60[16]](veUtil[_0x1c60[15]](_0x19b0xd.Applications,_0x19b0x9[_0x1c60[14]]))});FaxAccountModel[_0x1c60[21]](function(_0x19b0x8,_0x19b0x9){var _0x19b0xa=util[_0x1c60[10]](_0x1c60[8],_0x19b0x8[_0x1c60[9]]);var _0x19b0xb=_0x19b0x8[_0x1c60[11]];var _0x19b0xc=util[_0x1c60[10]](_0x1c60[12],_0x19b0x8[_0x1c60[13]]);return VoiceExtension[_0x1c60[20]]({where:{FaxAccountId:_0x19b0x8[_0x1c60[11]]}})[_0x1c60[16]](function(_0x19b0x10){if(!_0x19b0x10){return};var _0x19b0x11={params:{id:_0x19b0x10[_0x1c60[11]]},body:generateExtensionArray(_0x19b0x8)};return veUtil[_0x1c60[19]](_0x19b0x11,_0x19b0x9[_0x1c60[14]])})});FaxAccountModel[_0x1c60[22]](function(_0x19b0x8,_0x19b0x9){return deleteVoiceExtensions(_0x19b0x8,_0x19b0x9)})}function generateExtensionArray(_0x19b0x8){var _0x19b0xa=util[_0x1c60[10]](_0x1c60[8],_0x19b0x8[_0x1c60[9]]);var _0x19b0xb=_0x19b0x8[_0x1c60[11]];var _0x19b0xc=util[_0x1c60[10]](_0x1c60[12],_0x19b0x8[_0x1c60[13]]);return {"\x61\x70\x70\x64\x61\x74\x61":_0x1c60[23],"\x63\x6F\x6E\x74\x65\x78\x74":_0x1c60[24],"\x65\x78\x74\x65\x6E":_0x19b0xa,"\x70\x72\x69\x6F\x72\x69\x74\x79":_0x1c60[25],"\x74\x61\x67":_0x1c60[26],"\x61\x70\x70":_0x1c60[27],"\x74\x79\x70\x65":_0x1c60[28],"\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E":_0x19b0xc,"\x69\x6E\x74\x65\x72\x76\x61\x6C":null,"\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64":null,"\x69\x73\x41\x70\x70":false,"\x72\x65\x63\x6F\x72\x64":false,"\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74\x49\x64":_0x19b0xb,"\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73":[{"\x61\x70\x70\x64\x61\x74\x61":[_0x1c60[29]],"\x61\x70\x70":_0x1c60[27],"\x69\x6E\x74\x65\x72\x76\x61\x6C":_0x1c60[30],"\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64":null,"\x63\x61\x6C\x6C\x65\x72\x49\x44":null,"\x74\x79\x70\x65":_0x1c60[28],"\x61\x70\x70\x54\x79\x70\x65":_0x1c60[31]},{"\x61\x70\x70\x64\x61\x74\x61":[util[_0x1c60[10]](_0x1c60[32],_0x19b0x8[_0x1c60[13]])],"\x61\x70\x70":_0x1c60[27],"\x69\x6E\x74\x65\x72\x76\x61\x6C":_0x1c60[30],"\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64":null,"\x63\x61\x6C\x6C\x65\x72\x49\x44":null,"\x74\x79\x70\x65":_0x1c60[28],"\x61\x70\x70\x54\x79\x70\x65":_0x1c60[31]},{"\x61\x70\x70\x64\x61\x74\x61":[_0x1c60[33]],"\x61\x70\x70":_0x1c60[34],"\x69\x6E\x74\x65\x72\x76\x61\x6C":_0x1c60[30],"\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64":null,"\x63\x61\x6C\x6C\x65\x72\x49\x44":null,"\x74\x79\x70\x65":_0x1c60[28],"\x61\x70\x70\x54\x79\x70\x65":null},{"\x61\x70\x70\x64\x61\x74\x61":[_0x1c60[35]],"\x61\x70\x70":_0x1c60[36],"\x69\x6E\x74\x65\x72\x76\x61\x6C":_0x1c60[30],"\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64":null,"\x63\x61\x6C\x6C\x65\x72\x49\x44":null,"\x74\x79\x70\x65":_0x1c60[28],"\x61\x70\x70\x54\x79\x70\x65":_0x1c60[31]},{"\x61\x70\x70\x64\x61\x74\x61":[_0x1c60[37]],"\x61\x70\x70":_0x1c60[38],"\x69\x6E\x74\x65\x72\x76\x61\x6C":_0x1c60[30],"\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64":null,"\x63\x61\x6C\x6C\x65\x72\x49\x44":null,"\x74\x79\x70\x65":_0x1c60[28],"\x61\x70\x70\x54\x79\x70\x65":_0x1c60[31]},{"\x61\x70\x70\x64\x61\x74\x61":[util[_0x1c60[10]](_0x1c60[39],_0x19b0x8[_0x1c60[40]])],"\x61\x70\x70":_0x1c60[34],"\x69\x6E\x74\x65\x72\x76\x61\x6C":_0x1c60[30],"\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64":null,"\x63\x61\x6C\x6C\x65\x72\x49\x44":null,"\x74\x79\x70\x65":_0x1c60[28],"\x61\x70\x70\x54\x79\x70\x65":null},{"\x61\x70\x70\x64\x61\x74\x61":[util[_0x1c60[10]](_0x1c60[41],_0x19b0x8[_0x1c60[42]])],"\x61\x70\x70":_0x1c60[34],"\x69\x6E\x74\x65\x72\x76\x61\x6C":_0x1c60[30],"\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64":null,"\x63\x61\x6C\x6C\x65\x72\x49\x44":null,"\x74\x79\x70\x65":_0x1c60[28],"\x61\x70\x70\x54\x79\x70\x65":null},{"\x61\x70\x70\x64\x61\x74\x61":[util[_0x1c60[10]](_0x1c60[43],_0x19b0x8[_0x1c60[9]])],"\x61\x70\x70":_0x1c60[34],"\x69\x6E\x74\x65\x72\x76\x61\x6C":_0x1c60[30],"\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64":null,"\x63\x61\x6C\x6C\x65\x72\x49\x44":null,"\x74\x79\x70\x65":_0x1c60[28],"\x61\x70\x70\x54\x79\x70\x65":null},{"\x61\x70\x70\x64\x61\x74\x61":[util[_0x1c60[10]](_0x1c60[44],_0x19b0x8[_0x1c60[45]])],"\x61\x70\x70":_0x1c60[34],"\x69\x6E\x74\x65\x72\x76\x61\x6C":_0x1c60[30],"\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64":null,"\x63\x61\x6C\x6C\x65\x72\x49\x44":null,"\x74\x79\x70\x65":_0x1c60[28],"\x61\x70\x70\x54\x79\x70\x65":null},{"\x61\x70\x70\x64\x61\x74\x61":[util[_0x1c60[10]](_0x1c60[46],_0x19b0x8[_0x1c60[47]])],"\x61\x70\x70":_0x1c60[34],"\x69\x6E\x74\x65\x72\x76\x61\x6C":_0x1c60[30],"\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64":null,"\x63\x61\x6C\x6C\x65\x72\x49\x44":null,"\x74\x79\x70\x65":_0x1c60[28],"\x61\x70\x70\x54\x79\x70\x65":null},{"\x61\x70\x70\x64\x61\x74\x61":[util[_0x1c60[10]](_0x1c60[48],_0x19b0x8[_0x1c60[49]])],"\x61\x70\x70":_0x1c60[34],"\x69\x6E\x74\x65\x72\x76\x61\x6C":_0x1c60[30],"\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64":null,"\x63\x61\x6C\x6C\x65\x72\x49\x44":null,"\x74\x79\x70\x65":_0x1c60[28],"\x61\x70\x70\x54\x79\x70\x65":null},{"\x61\x70\x70\x64\x61\x74\x61":[util[_0x1c60[10]](_0x1c60[50],_0x19b0x8[_0x1c60[51]])],"\x61\x70\x70":_0x1c60[34],"\x69\x6E\x74\x65\x72\x76\x61\x6C":_0x1c60[30],"\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64":null,"\x63\x61\x6C\x6C\x65\x72\x49\x44":null,"\x74\x79\x70\x65":_0x1c60[28],"\x61\x70\x70\x54\x79\x70\x65":null},{"\x61\x70\x70\x64\x61\x74\x61":[util[_0x1c60[10]](_0x1c60[52],_0x19b0x8[_0x1c60[53]])],"\x61\x70\x70":_0x1c60[34],"\x69\x6E\x74\x65\x72\x76\x61\x6C":_0x1c60[30],"\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64":null,"\x63\x61\x6C\x6C\x65\x72\x49\x44":null,"\x74\x79\x70\x65":_0x1c60[28],"\x61\x70\x70\x54\x79\x70\x65":null},{"\x61\x70\x70\x64\x61\x74\x61":[util[_0x1c60[10]](_0x1c60[54],_0x19b0x8[_0x1c60[55]])],"\x61\x70\x70":_0x1c60[34],"\x69\x6E\x74\x65\x72\x76\x61\x6C":_0x1c60[30],"\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64":null,"\x63\x61\x6C\x6C\x65\x72\x49\x44":null,"\x74\x79\x70\x65":_0x1c60[28],"\x61\x70\x70\x54\x79\x70\x65":null},{"\x61\x70\x70\x64\x61\x74\x61":[_0x1c60[56]],"\x61\x70\x70":_0x1c60[57],"\x69\x6E\x74\x65\x72\x76\x61\x6C":_0x1c60[30],"\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64":null,"\x63\x61\x6C\x6C\x65\x72\x49\x44":null,"\x74\x79\x70\x65":_0x1c60[28],"\x61\x70\x70\x54\x79\x70\x65":_0x1c60[31]},{"\x61\x70\x70\x64\x61\x74\x61":[_0x1c60[35]],"\x61\x70\x70":_0x1c60[58],"\x69\x6E\x74\x65\x72\x76\x61\x6C":_0x1c60[30],"\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64":null,"\x63\x61\x6C\x6C\x65\x72\x49\x44":null,"\x74\x79\x70\x65":_0x1c60[28],"\x61\x70\x70\x54\x79\x70\x65":null}]}}function deleteVoiceExtensions(_0x19b0x8,_0x19b0x9){return VoiceExtension[_0x1c60[59]]({where:{FaxAccountId:_0x19b0x8[_0x1c60[11]]},transaction:_0x19b0x9[_0x1c60[14]]})}module[_0x1c60[60]]=FaxAccount \ No newline at end of file diff --git a/server/config/tools/index.js b/server/config/tools/index.js index a19e041..17c7fc1 100644 --- a/server/config/tools/index.js +++ b/server/config/tools/index.js @@ -1 +1 @@ -var _0x2194=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x69\x6E\x74\x65\x72\x76\x61\x6C","\x2E\x2F\x75\x73\x65\x72","\x2E\x2F\x63\x68\x61\x6E\x6E\x65\x6C\x53\x70\x79","\x2E\x2F\x63\x68\x61\x74\x52\x6F\x6F\x6D","\x2E\x2F\x66\x61\x78\x41\x63\x63\x6F\x75\x6E\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x2194[0];var Interval=require(_0x2194[1]);var User=require(_0x2194[2]);var ChanSpy=require(_0x2194[3]);var ChatRoom=require(_0x2194[4]);var FaxAccount=require(_0x2194[5]);module[_0x2194[6]]=function(){ new Interval(); new User(); new ChanSpy(); new ChatRoom(); new FaxAccount()} \ No newline at end of file +var _0x14c2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x69\x6E\x74\x65\x72\x76\x61\x6C","\x2E\x2F\x75\x73\x65\x72","\x2E\x2F\x63\x68\x61\x6E\x6E\x65\x6C\x53\x70\x79","\x2E\x2F\x63\x68\x61\x74\x52\x6F\x6F\x6D","\x2E\x2F\x66\x61\x78\x41\x63\x63\x6F\x75\x6E\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x14c2[0];var Interval=require(_0x14c2[1]);var User=require(_0x14c2[2]);var ChanSpy=require(_0x14c2[3]);var ChatRoom=require(_0x14c2[4]);var FaxAccount=require(_0x14c2[5]);module[_0x14c2[6]]=function(){ new Interval(); new User(); new ChanSpy(); new ChatRoom(); new FaxAccount()} \ No newline at end of file diff --git a/server/config/tools/interval.js b/server/config/tools/interval.js index ba8904e..f2b56e9 100644 --- a/server/config/tools/interval.js +++ b/server/config/tools/interval.js @@ -1 +1 @@ -var _0x9150=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x49\x6E\x74\x65\x72\x76\x61\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C\x73\x2F\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x49\x6E\x74\x65\x72\x76\x61\x6C\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E","\x6C\x6F\x67","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64","\x62\x65\x66\x6F\x72\x65\x44\x65\x73\x74\x72\x6F\x79","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x69\x64","\x63\x61\x74\x63\x68","\x50\x52\x49\x4D\x41\x52\x59","\x66\x69\x65\x6C\x64\x73","\x6D\x65\x73\x73\x61\x67\x65","\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x2F\x63\x6F\x6E\x74\x65\x78\x74\x20\x63\x6F\x6D\x62\x69\x6E\x61\x74\x69\x6F\x6E\x20\x61\x6C\x72\x65\x61\x64\x79\x20\x65\x78\x69\x73\x74","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x64\x4D\x65\x73\x73\x61\x67\x65","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x52\x4F\x55\x54\x45","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x72\x6F\x75\x74\x65\x55\x70\x64\x61\x74\x65","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x74\x68\x65\x6E","\x61\x70\x70","\x69\x6E\x74\x65\x72\x76\x61\x6C","\x63\x61\x6C\x6C\x65\x72\x49\x44","\x61\x70\x70\x64\x61\x74\x61","\x74\x79\x70\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x65\x78\x70\x6F\x72\x74\x73"];_0x9150[0];var _=require(_0x9150[1]);var util=require(_0x9150[2]);var IntervalModel=require(_0x9150[4])[_0x9150[3]];var VoiceExtension=require(_0x9150[4])[_0x9150[5]];var veUtil=require(_0x9150[6]);var sequelize=require(_0x9150[4])[_0x9150[7]];var Applications=veUtil[_0x9150[8]];function Interval(){console[_0x9150[10]](_0x9150[9]);IntervalModel[_0x9150[11]](function(_0x7206x9){updatevoiceExtension(_0x7206x9)});IntervalModel[_0x9150[13]](function(_0x7206x9){if(_0x7206x9[_0x9150[12]]!==null){updatevoiceExtension(_0x7206x9)}});IntervalModel[_0x9150[14]](function(_0x7206x9){if(_0x7206x9[_0x9150[12]]!==null){updatevoiceExtension(_0x7206x9)}})}function updatevoiceExtension(_0x7206x9){var _0x7206xb=_0x7206x9[_0x9150[12]]===null?_0x7206x9[_0x9150[15]]:_0x7206x9[_0x9150[12]];return VoiceExtension[_0x9150[33]]({where:{VoiceExtensionId:null},include:[{model:VoiceExtension,as:_0x9150[8],where:{IntervalId:_0x7206xb},attributes:[_0x9150[28],_0x9150[29],_0x9150[12],_0x9150[30],_0x9150[31],_0x9150[32]]}]})[_0x9150[27]](function(_0x7206xd){_0x7206xd[_0x9150[26]](function(_0x7206xe){return sequelize[_0x9150[25]](function(_0x7206xf){return veUtil[_0x9150[24]]({body:_0x7206xe[_0x9150[23]],params:{id:_0x7206xe[_0x9150[15]]}},_0x7206xf)})[_0x9150[16]](sequelize.UniqueConstraintError,function(_0x7206xc){if(_0x7206xc[_0x9150[18]][_0x9150[17]]){_0x7206xc[_0x9150[19]]=_0x9150[20];_0x7206xc[_0x9150[21]]=_0x9150[22]};console[_0x9150[10]](_0x7206xc)})[_0x9150[16]](function(_0x7206xc){console[_0x9150[10]](_0x7206xc)})})})[_0x9150[16]](function(_0x7206xc){console[_0x9150[10]](_0x7206xc)})}module[_0x9150[34]]=Interval \ No newline at end of file +var _0x8ff5=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x49\x6E\x74\x65\x72\x76\x61\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C\x73\x2F\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x49\x6E\x74\x65\x72\x76\x61\x6C\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E","\x6C\x6F\x67","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64","\x62\x65\x66\x6F\x72\x65\x44\x65\x73\x74\x72\x6F\x79","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x69\x64","\x63\x61\x74\x63\x68","\x50\x52\x49\x4D\x41\x52\x59","\x66\x69\x65\x6C\x64\x73","\x6D\x65\x73\x73\x61\x67\x65","\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x2F\x63\x6F\x6E\x74\x65\x78\x74\x20\x63\x6F\x6D\x62\x69\x6E\x61\x74\x69\x6F\x6E\x20\x61\x6C\x72\x65\x61\x64\x79\x20\x65\x78\x69\x73\x74","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x64\x4D\x65\x73\x73\x61\x67\x65","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x52\x4F\x55\x54\x45","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x72\x6F\x75\x74\x65\x55\x70\x64\x61\x74\x65","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x74\x68\x65\x6E","\x61\x70\x70","\x69\x6E\x74\x65\x72\x76\x61\x6C","\x63\x61\x6C\x6C\x65\x72\x49\x44","\x61\x70\x70\x64\x61\x74\x61","\x74\x79\x70\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x65\x78\x70\x6F\x72\x74\x73"];_0x8ff5[0];var _=require(_0x8ff5[1]);var util=require(_0x8ff5[2]);var IntervalModel=require(_0x8ff5[4])[_0x8ff5[3]];var VoiceExtension=require(_0x8ff5[4])[_0x8ff5[5]];var veUtil=require(_0x8ff5[6]);var sequelize=require(_0x8ff5[4])[_0x8ff5[7]];var Applications=veUtil[_0x8ff5[8]];function Interval(){console[_0x8ff5[10]](_0x8ff5[9]);IntervalModel[_0x8ff5[11]](function(_0xb6a7x9){updatevoiceExtension(_0xb6a7x9)});IntervalModel[_0x8ff5[13]](function(_0xb6a7x9){if(_0xb6a7x9[_0x8ff5[12]]!==null){updatevoiceExtension(_0xb6a7x9)}});IntervalModel[_0x8ff5[14]](function(_0xb6a7x9){if(_0xb6a7x9[_0x8ff5[12]]!==null){updatevoiceExtension(_0xb6a7x9)}})}function updatevoiceExtension(_0xb6a7x9){var _0xb6a7xb=_0xb6a7x9[_0x8ff5[12]]===null?_0xb6a7x9[_0x8ff5[15]]:_0xb6a7x9[_0x8ff5[12]];return VoiceExtension[_0x8ff5[33]]({where:{VoiceExtensionId:null},include:[{model:VoiceExtension,as:_0x8ff5[8],where:{IntervalId:_0xb6a7xb},attributes:[_0x8ff5[28],_0x8ff5[29],_0x8ff5[12],_0x8ff5[30],_0x8ff5[31],_0x8ff5[32]]}]})[_0x8ff5[27]](function(_0xb6a7xd){_0xb6a7xd[_0x8ff5[26]](function(_0xb6a7xe){return sequelize[_0x8ff5[25]](function(_0xb6a7xf){return veUtil[_0x8ff5[24]]({body:_0xb6a7xe[_0x8ff5[23]],params:{id:_0xb6a7xe[_0x8ff5[15]]}},_0xb6a7xf)})[_0x8ff5[16]](sequelize.UniqueConstraintError,function(_0xb6a7xc){if(_0xb6a7xc[_0x8ff5[18]][_0x8ff5[17]]){_0xb6a7xc[_0x8ff5[19]]=_0x8ff5[20];_0xb6a7xc[_0x8ff5[21]]=_0x8ff5[22]};console[_0x8ff5[10]](_0xb6a7xc)})[_0x8ff5[16]](function(_0xb6a7xc){console[_0x8ff5[10]](_0xb6a7xc)})})})[_0x8ff5[16]](function(_0xb6a7xc){console[_0x8ff5[10]](_0xb6a7xc)})}module[_0x8ff5[34]]=Interval \ No newline at end of file diff --git a/server/config/tools/queueParameters.js b/server/config/tools/queueParameters.js index 3316b8a..0d209ca 100644 --- a/server/config/tools/queueParameters.js +++ b/server/config/tools/queueParameters.js @@ -1 +1 @@ -var _0x9677=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x62\x6C\x75\x65\x62\x69\x72\x64","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x75\x65","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65\x41\x74","\x63\x68\x61\x6E\x67\x65\x64","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x67\x65\x74\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x74\x68\x65\x6E","\x69\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x55\x73\x65\x72","\x75\x73\x65\x72","\x66\x69\x6E\x64\x41\x6C\x6C","\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x57\x41\x49\x54\x49\x4E\x47\x20\x45\x52\x52\x4F\x52","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x6C\x65\x6E\x67\x74\x68","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x71\x75\x65\x75\x65","\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x3A\x70\x61\x72\x61\x6D\x65\x74\x65\x72\x73","\x65\x6D\x69\x74","\x72\x6F\x77\x73","\x66\x69\x6E\x64","\x6E\x61\x6D\x65","\x43\x4F\x55\x4E\x54","\x63\x6F\x6C","\x66\x6E","\x77\x61\x69\x74\x69\x6E\x67","\x75\x73\x65\x72\x49\x64","\x72\x6F\x6C\x65","\x61\x6C\x6C","\x41\x43\x54\x49\x56\x45\x20\x45\x52\x52\x4F\x52","\x61\x63\x74\x69\x76\x65","\x41\x42\x41\x4E\x44\x4F\x4E\x45\x44\x20\x45\x52\x52\x4F\x52","\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64","\x41\x4E\x53\x57\x45\x52\x45\x44\x20\x45\x52\x52\x4F\x52","\x61\x6E\x73\x77\x65\x72\x65\x64","\x48\x4F\x4C\x44\x54\x49\x4D\x45\x20\x45\x52\x52\x4F\x52","\x30\x30\x3A\x30\x30\x3A\x30\x30","","\x53\x45\x4C\x45\x43\x54\x20\x71\x75\x65\x75\x65\x20\x41\x53\x20\x27\x6E\x61\x6D\x65\x27\x2C\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x52\x4F\x55\x4E\x44\x28\x41\x56\x47\x28\x68\x6F\x6C\x64\x74\x69\x6D\x65\x29\x2C\x20\x30\x29\x29\x20\x61\x73\x20\x68\x6F\x6C\x64\x74\x69\x6D\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x20\x57\x48\x45\x52\x45\x20\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65\x20\x3D\x20\x31\x20\x41\x4E\x44\x20\x71\x75\x65\x75\x65\x20\x3D\x27\x25\x73\x27\x20\x47\x52\x4F\x55\x50\x20\x42\x59\x20\x71\x75\x65\x75\x65","\x66\x6F\x72\x6D\x61\x74","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\x71\x75\x65\x72\x79","\x54\x41\x4C\x4B\x54\x49\x4D\x45\x20\x45\x52\x52\x4F\x52","\x53\x45\x4C\x45\x43\x54\x20\x71\x75\x65\x75\x65\x20\x41\x53\x20\x27\x6E\x61\x6D\x65\x27\x2C\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x52\x4F\x55\x4E\x44\x28\x41\x56\x47\x28\x74\x61\x6C\x6B\x74\x69\x6D\x65\x29\x2C\x20\x30\x29\x29\x20\x61\x73\x20\x74\x61\x6C\x6B\x74\x69\x6D\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x20\x57\x48\x45\x52\x45\x20\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65\x20\x3D\x20\x31\x20\x41\x4E\x44\x20\x71\x75\x65\x75\x65\x20\x3D\x27\x25\x73\x27\x20\x47\x52\x4F\x55\x50\x20\x42\x59\x20\x71\x75\x65\x75\x65","\x54\x4F\x54\x41\x4C\x43\x41\x4C\x4C\x53\x20\x45\x52\x52\x4F\x52","\x53\x45\x4C\x45\x43\x54\x20\x71\x75\x65\x75\x65\x20\x41\x53\x20\x27\x6E\x61\x6D\x65\x27\x2C\x43\x4F\x55\x4E\x54\x28\x64\x69\x73\x74\x69\x6E\x63\x74\x20\x75\x6E\x69\x71\x75\x65\x69\x64\x29\x20\x61\x73\x20\x74\x6F\x74\x61\x6C\x63\x61\x6C\x6C\x73\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x20\x57\x48\x45\x52\x45\x20\x71\x75\x65\x75\x65\x20\x3D\x27\x25\x73\x27\x20\x47\x52\x4F\x55\x50\x20\x42\x59\x20\x71\x75\x65\x75\x65","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44\x20\x45\x52\x52\x4F\x52","\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64"];_0x9677[0];var sequelize=require(_0x9677[2])[_0x9677[1]];var models=require(_0x9677[2]);var Util=require(_0x9677[3]);var Promise=require(_0x9677[4]);var _=require(_0x9677[5]);var util=require(_0x9677[6]);exports[_0x9677[7]]=function(_0x52bax7){models[_0x9677[9]][_0x9677[8]](function(_0x52bax8){onWaiting(_0x52bax7,_0x52bax8)});models[_0x9677[9]][_0x9677[12]](function(_0x52bax8){if(_0x52bax8[_0x9677[11]](_0x9677[10])){onWaiting(_0x52bax7,_0x52bax8);onActive(_0x52bax7,_0x52bax8)}});models[_0x9677[9]][_0x9677[12]](function(_0x52bax8){if(_0x52bax8[_0x9677[11]](_0x9677[13])||_0x52bax8[_0x9677[11]](_0x9677[14])){onAbandon(_0x52bax7,_0x52bax8);onComplete(_0x52bax7,_0x52bax8);onActive(_0x52bax7,_0x52bax8);onAvgAnswerTime(_0x52bax7,_0x52bax8);onAvgTalkTime(_0x52bax7,_0x52bax8);onTotalOffered(_0x52bax7,_0x52bax8);onUnmanaged(_0x52bax7,_0x52bax8)}})};function getQueues(_0x52baxa,_0x52baxb){return function(){switch(_0x52baxb){case _0x9677[20]:return models[_0x9677[19]][_0x9677[18]](_0x52baxa,{attributes:[_0x9677[17]]})[_0x9677[16]](Util[_0x9677[15]]());default:return models[_0x9677[22]][_0x9677[21]]()[_0x9677[16]](function(_0x52baxc){return {rows:_0x52baxc}})}}}function onWaiting(_0x52bax7,_0x52bax8){return Promise[_0x9677[40]]([])[_0x9677[16]](getQueues(_0x52bax7[_0x9677[38]],_0x52bax7[_0x9677[39]]))[_0x9677[16]](function(_0x52bax11){if(_0x52bax11[_0x9677[31]][_0x9677[26]]){return models[_0x9677[9]][_0x9677[21]]({where:{queuecallerleaveAt:null,queue:_[_0x9677[32]](_0x52bax11[_0x9677[31]],{name:_0x52bax8[_0x9677[28]]})?_0x52bax8[_0x9677[28]]:[]},group:_0x9677[28],attributes:[[_0x9677[28],_0x9677[33]],[sequelize[_0x9677[36]](_0x9677[34],sequelize[_0x9677[35]](_0x9677[17])),_0x9677[37]]]})};return null})[_0x9677[16]](function(_0x52baxf){if(_0x52baxf){var _0x52bax10;if(_0x52baxf[_0x9677[26]]){_0x52bax10=_0x52baxf[0][_0x9677[27]]}else {_0x52bax10={name:_0x52bax8[_0x9677[28]],waiting:0}};_0x52bax7[_0x9677[30]](_0x9677[29],_0x52bax10)}})[_0x9677[25]](function(_0x52baxe){console[_0x9677[24]](_0x9677[23],_0x52baxe)})}function onActive(_0x52bax7,_0x52bax8){return Promise[_0x9677[40]]([])[_0x9677[16]](getQueues(_0x52bax7[_0x9677[38]],_0x52bax7[_0x9677[39]]))[_0x9677[16]](function(_0x52bax11){if(_0x52bax11[_0x9677[31]][_0x9677[26]]){return models[_0x9677[9]][_0x9677[21]]({where:{queuecallerexit:false,queuecallerabandon:false,queuecallercomplete:false,queuecallerleaveAt:{$ne:null},queue:_[_0x9677[32]](_0x52bax11[_0x9677[31]],{name:_0x52bax8[_0x9677[28]]})?_0x52bax8[_0x9677[28]]:[]},group:_0x9677[28],attributes:[[_0x9677[28],_0x9677[33]],[sequelize[_0x9677[36]](_0x9677[34],sequelize[_0x9677[35]](_0x9677[17])),_0x9677[42]]]})};return null})[_0x9677[16]](function(_0x52bax13){if(_0x52bax13){var _0x52bax10;if(_0x52bax13[_0x9677[26]]){_0x52bax10=_0x52bax13[0][_0x9677[27]]}else {_0x52bax10={name:_0x52bax8[_0x9677[28]],active:0}};_0x52bax7[_0x9677[30]](_0x9677[29],_0x52bax10)}})[_0x9677[25]](function(_0x52baxe){console[_0x9677[24]](_0x9677[41],_0x52baxe)})}function onAbandon(_0x52bax7,_0x52bax8){return Promise[_0x9677[40]]([])[_0x9677[16]](getQueues(_0x52bax7[_0x9677[38]],_0x52bax7[_0x9677[39]]))[_0x9677[16]](function(_0x52bax11){if(_0x52bax11[_0x9677[31]][_0x9677[26]]){return models[_0x9677[9]][_0x9677[21]]({where:{queuecallerabandon:true,queue:_[_0x9677[32]](_0x52bax11[_0x9677[31]],{name:_0x52bax8[_0x9677[28]]})?_0x52bax8[_0x9677[28]]:[]},group:_0x9677[28],attributes:[[_0x9677[28],_0x9677[33]],[sequelize[_0x9677[36]](_0x9677[34],sequelize[_0x9677[35]](_0x9677[17])),_0x9677[44]]]})};return null})[_0x9677[16]](function(_0x52bax15){if(_0x52bax15){var _0x52bax10;if(_0x52bax15[_0x9677[26]]){_0x52bax10=_0x52bax15[0][_0x9677[27]]}else {_0x52bax10={name:_0x52bax8[_0x9677[28]],abandoned:0}};_0x52bax7[_0x9677[30]](_0x9677[29],_0x52bax10)}})[_0x9677[25]](function(_0x52baxe){console[_0x9677[24]](_0x9677[43],_0x52baxe)})}function onComplete(_0x52bax7,_0x52bax8){return Promise[_0x9677[40]]([])[_0x9677[16]](getQueues(_0x52bax7[_0x9677[38]],_0x52bax7[_0x9677[39]]))[_0x9677[16]](function(_0x52bax11){if(_0x52bax11[_0x9677[31]][_0x9677[26]]){return models[_0x9677[9]][_0x9677[21]]({where:{queuecallercomplete:true,queue:_[_0x9677[32]](_0x52bax11[_0x9677[31]],{name:_0x52bax8[_0x9677[28]]})?_0x52bax8[_0x9677[28]]:[]},group:_0x9677[28],attributes:[[_0x9677[28],_0x9677[33]],[sequelize[_0x9677[36]](_0x9677[34],sequelize[_0x9677[35]](_0x9677[17])),_0x9677[46]]]})};return null})[_0x9677[16]](function(_0x52bax17){if(_0x52bax17){var _0x52bax10;if(_0x52bax17[_0x9677[26]]){_0x52bax10=_0x52bax17[0][_0x9677[27]]}else {_0x52bax10={name:_0x52bax8[_0x9677[28]],answered:0}};_0x52bax7[_0x9677[30]](_0x9677[29],_0x52bax10)}})[_0x9677[25]](function(_0x52baxe){console[_0x9677[24]](_0x9677[45],_0x52baxe)})}function onAvgAnswerTime(_0x52bax7,_0x52bax8){return Promise[_0x9677[40]]([])[_0x9677[16]](getQueues(_0x52bax7[_0x9677[38]],_0x52bax7[_0x9677[39]]))[_0x9677[16]](function(_0x52bax11){if(_0x52bax11[_0x9677[31]][_0x9677[26]]){var _0x52bax1a=_[_0x9677[32]](_0x52bax11[_0x9677[31]],{name:_0x52bax8[_0x9677[28]]})?_0x52bax8[_0x9677[28]]:_0x9677[49];var _0x52bax1b=util[_0x9677[51]](_0x9677[50],_0x52bax1a);return sequelize[_0x9677[54]](_0x52bax1b,{type:sequelize[_0x9677[53]][_0x9677[52]]})};return null})[_0x9677[16]](function(_0x52bax19){if(_0x52bax19){var _0x52bax10;if(_0x52bax19[_0x9677[26]]){_0x52bax10=_0x52bax19[0]}else {_0x52bax10={name:_0x52bax8[_0x9677[28]],holdtime:_0x9677[48]}};_0x52bax7[_0x9677[30]](_0x9677[29],_0x52bax10)}})[_0x9677[25]](function(_0x52baxe){console[_0x9677[24]](_0x9677[47],_0x52baxe)})}function onAvgTalkTime(_0x52bax7,_0x52bax8){return Promise[_0x9677[40]]([])[_0x9677[16]](getQueues(_0x52bax7[_0x9677[38]],_0x52bax7[_0x9677[39]]))[_0x9677[16]](function(_0x52bax11){if(_0x52bax11[_0x9677[31]][_0x9677[26]]){var _0x52bax1a=_[_0x9677[32]](_0x52bax11[_0x9677[31]],{name:_0x52bax8[_0x9677[28]]})?_0x52bax8[_0x9677[28]]:_0x9677[49];return sequelize[_0x9677[54]](util[_0x9677[51]](_0x9677[56],_0x52bax1a),{type:sequelize[_0x9677[53]][_0x9677[52]]})};return null})[_0x9677[16]](function(_0x52bax1d){if(_0x52bax1d){var _0x52bax10;if(_0x52bax1d[_0x9677[26]]){_0x52bax10=_0x52bax1d[0]}else {_0x52bax10={name:_0x52bax8[_0x9677[28]],talktime:_0x9677[48]}};_0x52bax7[_0x9677[30]](_0x9677[29],_0x52bax10)}})[_0x9677[25]](function(_0x52baxe){console[_0x9677[24]](_0x9677[55],_0x52baxe)})}function onTotalOffered(_0x52bax7,_0x52bax8){return Promise[_0x9677[40]]([])[_0x9677[16]](getQueues(_0x52bax7[_0x9677[38]],_0x52bax7[_0x9677[39]]))[_0x9677[16]](function(_0x52bax11){if(_0x52bax11[_0x9677[31]][_0x9677[26]]){var _0x52bax1a=_[_0x9677[32]](_0x52bax11[_0x9677[31]],{name:_0x52bax8[_0x9677[28]]})?_0x52bax8[_0x9677[28]]:_0x9677[49];return sequelize[_0x9677[54]](util[_0x9677[51]](_0x9677[58],_0x52bax1a),{type:sequelize[_0x9677[53]][_0x9677[52]]})};return null})[_0x9677[16]](function(_0x52bax1f){if(_0x52bax1f){var _0x52bax10;if(_0x52bax1f[_0x9677[26]]){_0x52bax10=_0x52bax1f[0]}else {_0x52bax10={name:_0x52bax8[_0x9677[28]],totalcalls:0}};_0x52bax7[_0x9677[30]](_0x9677[29],_0x52bax10)}})[_0x9677[25]](function(_0x52baxe){console[_0x9677[24]](_0x9677[57],_0x52baxe)})}function onUnmanaged(_0x52bax7,_0x52bax8){return Promise[_0x9677[40]]([])[_0x9677[16]](getQueues(_0x52bax7[_0x9677[38]],_0x52bax7[_0x9677[39]]))[_0x9677[16]](function(_0x52bax11){if(_0x52bax11[_0x9677[31]][_0x9677[26]]){return models[_0x9677[9]][_0x9677[21]]({where:{queuecallerexit:true,queue:_[_0x9677[32]](_0x52bax11[_0x9677[31]],{name:_0x52bax8[_0x9677[28]]})?_0x52bax8[_0x9677[28]]:[]},group:_0x9677[28],attributes:[[_0x9677[28],_0x9677[33]],[sequelize[_0x9677[36]](_0x9677[34],sequelize[_0x9677[35]](_0x9677[17])),_0x9677[60]]]})};return null})[_0x9677[16]](function(_0x52bax21){if(_0x52bax21){var _0x52bax10;if(_0x52bax21[_0x9677[26]]){_0x52bax10=_0x52bax21[0][_0x9677[27]]}else {_0x52bax10={name:_0x52bax8[_0x9677[28]],_parameters:0}};_0x52bax7[_0x9677[30]](_0x9677[29],_0x52bax10)}})[_0x9677[25]](function(_0x52baxe){console[_0x9677[24]](_0x9677[59],_0x52baxe)})} \ No newline at end of file +var _0xf388=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x62\x6C\x75\x65\x62\x69\x72\x64","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x52\x65\x70\x6F\x72\x74\x51\x75\x65\x75\x65","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x6C\x65\x61\x76\x65\x41\x74","\x63\x68\x61\x6E\x67\x65\x64","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x61\x62\x61\x6E\x64\x6F\x6E","\x71\x75\x65\x75\x65\x63\x61\x6C\x6C\x65\x72\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x67\x65\x74\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x74\x68\x65\x6E","\x69\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x55\x73\x65\x72","\x75\x73\x65\x72","\x66\x69\x6E\x64\x41\x6C\x6C","\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x57\x41\x49\x54\x49\x4E\x47\x20\x45\x52\x52\x4F\x52","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x6C\x65\x6E\x67\x74\x68","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x71\x75\x65\x75\x65","\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x3A\x70\x61\x72\x61\x6D\x65\x74\x65\x72\x73","\x65\x6D\x69\x74","\x72\x6F\x77\x73","\x66\x69\x6E\x64","\x6E\x61\x6D\x65","\x43\x4F\x55\x4E\x54","\x63\x6F\x6C","\x66\x6E","\x77\x61\x69\x74\x69\x6E\x67","\x75\x73\x65\x72\x49\x64","\x72\x6F\x6C\x65","\x61\x6C\x6C","\x41\x43\x54\x49\x56\x45\x20\x45\x52\x52\x4F\x52","\x61\x63\x74\x69\x76\x65","\x41\x42\x41\x4E\x44\x4F\x4E\x45\x44\x20\x45\x52\x52\x4F\x52","\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64","\x41\x4E\x53\x57\x45\x52\x45\x44\x20\x45\x52\x52\x4F\x52","\x61\x6E\x73\x77\x65\x72\x65\x64","\x48\x4F\x4C\x44\x54\x49\x4D\x45\x20\x45\x52\x52\x4F\x52","\x30\x30\x3A\x30\x30\x3A\x30\x30","","\x53\x45\x4C\x45\x43\x54\x20\x71\x75\x65\x75\x65\x20\x41\x53\x20\x27\x6E\x61\x6D\x65\x27\x2C\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x52\x4F\x55\x4E\x44\x28\x41\x56\x47\x28\x68\x6F\x6C\x64\x74\x69\x6D\x65\x29\x2C\x20\x30\x29\x29\x20\x61\x73\x20\x68\x6F\x6C\x64\x74\x69\x6D\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x20\x57\x48\x45\x52\x45\x20\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65\x20\x3D\x20\x31\x20\x41\x4E\x44\x20\x71\x75\x65\x75\x65\x20\x3D\x27\x25\x73\x27\x20\x47\x52\x4F\x55\x50\x20\x42\x59\x20\x71\x75\x65\x75\x65","\x66\x6F\x72\x6D\x61\x74","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\x71\x75\x65\x72\x79","\x54\x41\x4C\x4B\x54\x49\x4D\x45\x20\x45\x52\x52\x4F\x52","\x53\x45\x4C\x45\x43\x54\x20\x71\x75\x65\x75\x65\x20\x41\x53\x20\x27\x6E\x61\x6D\x65\x27\x2C\x53\x45\x43\x5F\x54\x4F\x5F\x54\x49\x4D\x45\x28\x52\x4F\x55\x4E\x44\x28\x41\x56\x47\x28\x74\x61\x6C\x6B\x74\x69\x6D\x65\x29\x2C\x20\x30\x29\x29\x20\x61\x73\x20\x74\x61\x6C\x6B\x74\x69\x6D\x65\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74\x20\x57\x48\x45\x52\x45\x20\x61\x67\x65\x6E\x74\x63\x6F\x6D\x70\x6C\x65\x74\x65\x20\x3D\x20\x31\x20\x41\x4E\x44\x20\x71\x75\x65\x75\x65\x20\x3D\x27\x25\x73\x27\x20\x47\x52\x4F\x55\x50\x20\x42\x59\x20\x71\x75\x65\x75\x65","\x54\x4F\x54\x41\x4C\x43\x41\x4C\x4C\x53\x20\x45\x52\x52\x4F\x52","\x53\x45\x4C\x45\x43\x54\x20\x71\x75\x65\x75\x65\x20\x41\x53\x20\x27\x6E\x61\x6D\x65\x27\x2C\x43\x4F\x55\x4E\x54\x28\x64\x69\x73\x74\x69\x6E\x63\x74\x20\x75\x6E\x69\x71\x75\x65\x69\x64\x29\x20\x61\x73\x20\x74\x6F\x74\x61\x6C\x63\x61\x6C\x6C\x73\x20\x46\x52\x4F\x4D\x20\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x20\x57\x48\x45\x52\x45\x20\x71\x75\x65\x75\x65\x20\x3D\x27\x25\x73\x27\x20\x47\x52\x4F\x55\x50\x20\x42\x59\x20\x71\x75\x65\x75\x65","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44\x20\x45\x52\x52\x4F\x52","\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64"];_0xf388[0];var sequelize=require(_0xf388[2])[_0xf388[1]];var models=require(_0xf388[2]);var Util=require(_0xf388[3]);var Promise=require(_0xf388[4]);var _=require(_0xf388[5]);var util=require(_0xf388[6]);exports[_0xf388[7]]=function(_0x7454x7){models[_0xf388[9]][_0xf388[8]](function(_0x7454x8){onWaiting(_0x7454x7,_0x7454x8)});models[_0xf388[9]][_0xf388[12]](function(_0x7454x8){if(_0x7454x8[_0xf388[11]](_0xf388[10])){onWaiting(_0x7454x7,_0x7454x8);onActive(_0x7454x7,_0x7454x8)}});models[_0xf388[9]][_0xf388[12]](function(_0x7454x8){if(_0x7454x8[_0xf388[11]](_0xf388[13])||_0x7454x8[_0xf388[11]](_0xf388[14])){onAbandon(_0x7454x7,_0x7454x8);onComplete(_0x7454x7,_0x7454x8);onActive(_0x7454x7,_0x7454x8);onAvgAnswerTime(_0x7454x7,_0x7454x8);onAvgTalkTime(_0x7454x7,_0x7454x8);onTotalOffered(_0x7454x7,_0x7454x8);onUnmanaged(_0x7454x7,_0x7454x8)}})};function getQueues(_0x7454xa,_0x7454xb){return function(){switch(_0x7454xb){case _0xf388[20]:return models[_0xf388[19]][_0xf388[18]](_0x7454xa,{attributes:[_0xf388[17]]})[_0xf388[16]](Util[_0xf388[15]]());default:return models[_0xf388[22]][_0xf388[21]]()[_0xf388[16]](function(_0x7454xc){return {rows:_0x7454xc}})}}}function onWaiting(_0x7454x7,_0x7454x8){return Promise[_0xf388[40]]([])[_0xf388[16]](getQueues(_0x7454x7[_0xf388[38]],_0x7454x7[_0xf388[39]]))[_0xf388[16]](function(_0x7454x11){if(_0x7454x11[_0xf388[31]][_0xf388[26]]){return models[_0xf388[9]][_0xf388[21]]({where:{queuecallerleaveAt:null,queue:_[_0xf388[32]](_0x7454x11[_0xf388[31]],{name:_0x7454x8[_0xf388[28]]})?_0x7454x8[_0xf388[28]]:[]},group:_0xf388[28],attributes:[[_0xf388[28],_0xf388[33]],[sequelize[_0xf388[36]](_0xf388[34],sequelize[_0xf388[35]](_0xf388[17])),_0xf388[37]]]})};return null})[_0xf388[16]](function(_0x7454xf){if(_0x7454xf){var _0x7454x10;if(_0x7454xf[_0xf388[26]]){_0x7454x10=_0x7454xf[0][_0xf388[27]]}else {_0x7454x10={name:_0x7454x8[_0xf388[28]],waiting:0}};_0x7454x7[_0xf388[30]](_0xf388[29],_0x7454x10)}})[_0xf388[25]](function(_0x7454xe){console[_0xf388[24]](_0xf388[23],_0x7454xe)})}function onActive(_0x7454x7,_0x7454x8){return Promise[_0xf388[40]]([])[_0xf388[16]](getQueues(_0x7454x7[_0xf388[38]],_0x7454x7[_0xf388[39]]))[_0xf388[16]](function(_0x7454x11){if(_0x7454x11[_0xf388[31]][_0xf388[26]]){return models[_0xf388[9]][_0xf388[21]]({where:{queuecallerexit:false,queuecallerabandon:false,queuecallercomplete:false,queuecallerleaveAt:{$ne:null},queue:_[_0xf388[32]](_0x7454x11[_0xf388[31]],{name:_0x7454x8[_0xf388[28]]})?_0x7454x8[_0xf388[28]]:[]},group:_0xf388[28],attributes:[[_0xf388[28],_0xf388[33]],[sequelize[_0xf388[36]](_0xf388[34],sequelize[_0xf388[35]](_0xf388[17])),_0xf388[42]]]})};return null})[_0xf388[16]](function(_0x7454x13){if(_0x7454x13){var _0x7454x10;if(_0x7454x13[_0xf388[26]]){_0x7454x10=_0x7454x13[0][_0xf388[27]]}else {_0x7454x10={name:_0x7454x8[_0xf388[28]],active:0}};_0x7454x7[_0xf388[30]](_0xf388[29],_0x7454x10)}})[_0xf388[25]](function(_0x7454xe){console[_0xf388[24]](_0xf388[41],_0x7454xe)})}function onAbandon(_0x7454x7,_0x7454x8){return Promise[_0xf388[40]]([])[_0xf388[16]](getQueues(_0x7454x7[_0xf388[38]],_0x7454x7[_0xf388[39]]))[_0xf388[16]](function(_0x7454x11){if(_0x7454x11[_0xf388[31]][_0xf388[26]]){return models[_0xf388[9]][_0xf388[21]]({where:{queuecallerabandon:true,queue:_[_0xf388[32]](_0x7454x11[_0xf388[31]],{name:_0x7454x8[_0xf388[28]]})?_0x7454x8[_0xf388[28]]:[]},group:_0xf388[28],attributes:[[_0xf388[28],_0xf388[33]],[sequelize[_0xf388[36]](_0xf388[34],sequelize[_0xf388[35]](_0xf388[17])),_0xf388[44]]]})};return null})[_0xf388[16]](function(_0x7454x15){if(_0x7454x15){var _0x7454x10;if(_0x7454x15[_0xf388[26]]){_0x7454x10=_0x7454x15[0][_0xf388[27]]}else {_0x7454x10={name:_0x7454x8[_0xf388[28]],abandoned:0}};_0x7454x7[_0xf388[30]](_0xf388[29],_0x7454x10)}})[_0xf388[25]](function(_0x7454xe){console[_0xf388[24]](_0xf388[43],_0x7454xe)})}function onComplete(_0x7454x7,_0x7454x8){return Promise[_0xf388[40]]([])[_0xf388[16]](getQueues(_0x7454x7[_0xf388[38]],_0x7454x7[_0xf388[39]]))[_0xf388[16]](function(_0x7454x11){if(_0x7454x11[_0xf388[31]][_0xf388[26]]){return models[_0xf388[9]][_0xf388[21]]({where:{queuecallercomplete:true,queue:_[_0xf388[32]](_0x7454x11[_0xf388[31]],{name:_0x7454x8[_0xf388[28]]})?_0x7454x8[_0xf388[28]]:[]},group:_0xf388[28],attributes:[[_0xf388[28],_0xf388[33]],[sequelize[_0xf388[36]](_0xf388[34],sequelize[_0xf388[35]](_0xf388[17])),_0xf388[46]]]})};return null})[_0xf388[16]](function(_0x7454x17){if(_0x7454x17){var _0x7454x10;if(_0x7454x17[_0xf388[26]]){_0x7454x10=_0x7454x17[0][_0xf388[27]]}else {_0x7454x10={name:_0x7454x8[_0xf388[28]],answered:0}};_0x7454x7[_0xf388[30]](_0xf388[29],_0x7454x10)}})[_0xf388[25]](function(_0x7454xe){console[_0xf388[24]](_0xf388[45],_0x7454xe)})}function onAvgAnswerTime(_0x7454x7,_0x7454x8){return Promise[_0xf388[40]]([])[_0xf388[16]](getQueues(_0x7454x7[_0xf388[38]],_0x7454x7[_0xf388[39]]))[_0xf388[16]](function(_0x7454x11){if(_0x7454x11[_0xf388[31]][_0xf388[26]]){var _0x7454x1a=_[_0xf388[32]](_0x7454x11[_0xf388[31]],{name:_0x7454x8[_0xf388[28]]})?_0x7454x8[_0xf388[28]]:_0xf388[49];var _0x7454x1b=util[_0xf388[51]](_0xf388[50],_0x7454x1a);return sequelize[_0xf388[54]](_0x7454x1b,{type:sequelize[_0xf388[53]][_0xf388[52]]})};return null})[_0xf388[16]](function(_0x7454x19){if(_0x7454x19){var _0x7454x10;if(_0x7454x19[_0xf388[26]]){_0x7454x10=_0x7454x19[0]}else {_0x7454x10={name:_0x7454x8[_0xf388[28]],holdtime:_0xf388[48]}};_0x7454x7[_0xf388[30]](_0xf388[29],_0x7454x10)}})[_0xf388[25]](function(_0x7454xe){console[_0xf388[24]](_0xf388[47],_0x7454xe)})}function onAvgTalkTime(_0x7454x7,_0x7454x8){return Promise[_0xf388[40]]([])[_0xf388[16]](getQueues(_0x7454x7[_0xf388[38]],_0x7454x7[_0xf388[39]]))[_0xf388[16]](function(_0x7454x11){if(_0x7454x11[_0xf388[31]][_0xf388[26]]){var _0x7454x1a=_[_0xf388[32]](_0x7454x11[_0xf388[31]],{name:_0x7454x8[_0xf388[28]]})?_0x7454x8[_0xf388[28]]:_0xf388[49];return sequelize[_0xf388[54]](util[_0xf388[51]](_0xf388[56],_0x7454x1a),{type:sequelize[_0xf388[53]][_0xf388[52]]})};return null})[_0xf388[16]](function(_0x7454x1d){if(_0x7454x1d){var _0x7454x10;if(_0x7454x1d[_0xf388[26]]){_0x7454x10=_0x7454x1d[0]}else {_0x7454x10={name:_0x7454x8[_0xf388[28]],talktime:_0xf388[48]}};_0x7454x7[_0xf388[30]](_0xf388[29],_0x7454x10)}})[_0xf388[25]](function(_0x7454xe){console[_0xf388[24]](_0xf388[55],_0x7454xe)})}function onTotalOffered(_0x7454x7,_0x7454x8){return Promise[_0xf388[40]]([])[_0xf388[16]](getQueues(_0x7454x7[_0xf388[38]],_0x7454x7[_0xf388[39]]))[_0xf388[16]](function(_0x7454x11){if(_0x7454x11[_0xf388[31]][_0xf388[26]]){var _0x7454x1a=_[_0xf388[32]](_0x7454x11[_0xf388[31]],{name:_0x7454x8[_0xf388[28]]})?_0x7454x8[_0xf388[28]]:_0xf388[49];return sequelize[_0xf388[54]](util[_0xf388[51]](_0xf388[58],_0x7454x1a),{type:sequelize[_0xf388[53]][_0xf388[52]]})};return null})[_0xf388[16]](function(_0x7454x1f){if(_0x7454x1f){var _0x7454x10;if(_0x7454x1f[_0xf388[26]]){_0x7454x10=_0x7454x1f[0]}else {_0x7454x10={name:_0x7454x8[_0xf388[28]],totalcalls:0}};_0x7454x7[_0xf388[30]](_0xf388[29],_0x7454x10)}})[_0xf388[25]](function(_0x7454xe){console[_0xf388[24]](_0xf388[57],_0x7454xe)})}function onUnmanaged(_0x7454x7,_0x7454x8){return Promise[_0xf388[40]]([])[_0xf388[16]](getQueues(_0x7454x7[_0xf388[38]],_0x7454x7[_0xf388[39]]))[_0xf388[16]](function(_0x7454x11){if(_0x7454x11[_0xf388[31]][_0xf388[26]]){return models[_0xf388[9]][_0xf388[21]]({where:{queuecallerexit:true,queue:_[_0xf388[32]](_0x7454x11[_0xf388[31]],{name:_0x7454x8[_0xf388[28]]})?_0x7454x8[_0xf388[28]]:[]},group:_0xf388[28],attributes:[[_0xf388[28],_0xf388[33]],[sequelize[_0xf388[36]](_0xf388[34],sequelize[_0xf388[35]](_0xf388[17])),_0xf388[60]]]})};return null})[_0xf388[16]](function(_0x7454x21){if(_0x7454x21){var _0x7454x10;if(_0x7454x21[_0xf388[26]]){_0x7454x10=_0x7454x21[0][_0xf388[27]]}else {_0x7454x10={name:_0x7454x8[_0xf388[28]],_parameters:0}};_0x7454x7[_0xf388[30]](_0xf388[29],_0x7454x10)}})[_0xf388[25]](function(_0x7454xe){console[_0xf388[24]](_0xf388[59],_0x7454xe)})} \ No newline at end of file diff --git a/server/config/tools/user.js b/server/config/tools/user.js index db04a2f..f2df558 100644 --- a/server/config/tools/user.js +++ b/server/config/tools/user.js @@ -1 +1 @@ -var _0xce0a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x66\x73","\x75\x74\x69\x6C","\x70\x61\x74\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x43\x68\x61\x6E\x53\x70\x79","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x62\x6C\x75\x65\x62\x69\x72\x64","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x5F\x63\x68\x61\x6E\x67\x65\x64","\x63\x68\x61\x6E\x73\x70\x79","\x74\x68\x65\x6E","\x61\x6C\x6C","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x63\x68\x61\x6E\x67\x65\x64","\x59\x6F\x75\x20\x63\x61\x6E\x27\x74\x20\x6D\x6F\x64\x69\x66\x79\x20\x74\x68\x65\x20\x69\x6E\x74\x65\x72\x6E\x61\x6C\x20\x6F\x66\x20\x61\x20\x55\x73\x65\x72\x2F\x41\x67\x65\x6E\x74\x2F\x54\x65\x6C\x65\x70\x68\x6F\x6E\x65","\x62\x65\x66\x6F\x72\x65\x55\x70\x64\x61\x74\x65","\x73\x74\x61\x74\x75\x73","\x71\x75\x65\x75\x65\x53\x74\x61\x74\x75\x73","\x63\x61\x6C\x6C\x65\x72\x69\x64","\x6C\x61\x73\x74\x4C\x6F\x67\x69\x6E\x41\x74","\x6F\x6E\x6C\x69\x6E\x65","\x6E\x61\x6D\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x43\x72\x65\x61\x74\x69\x6E\x67\x20\x63\x68\x61\x6E\x73\x70\x79\x2E\x2E\x2E","\x6C\x6F\x67","\x61\x75\x74\x68","\x66\x72\x6F\x6D\x2D\x73\x69\x70","\x25\x73\x25\x73","\x70\x72\x65\x66\x69\x78","\x66\x6F\x72\x6D\x61\x74","\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65","\x70\x61\x73\x73\x77\x6F\x72\x64","\x69\x64","\x73\x79\x73\x74\x65\x6D","\x70\x75\x73\x68","\x53\x49\x50\x2F\x25\x73\x2C\x25\x73","\x6F\x70\x74\x69\x6F\x6E\x73","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x66\x6F\x72\x45\x61\x63\x68","\x66\x69\x6E\x64\x41\x6C\x6C","\x44\x65\x6C\x65\x74\x69\x6E\x67\x20\x63\x68\x61\x6E\x73\x70\x79\x2E\x2E\x2E","\x64\x65\x73\x74\x72\x6F\x79","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x43\x72\x65\x61\x74\x69\x6E\x67\x20\x63\x61\x6C\x6C\x65\x72\x49\x44\x2E\x2E\x2E","\x22\x25\x73\x22\x20\x3C\x25\x73\x3E","\x73\x61\x76\x65","\x55\x70\x64\x61\x74\x69\x6E\x67\x20\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x2E\x2E\x2E","\x65\x78\x74\x65\x6E","\x5F","\x61\x70\x70","\x44\x69\x61\x6C","\x61\x70\x70\x64\x61\x74\x61","\x53\x49\x50\x2F","\x2C\x74\x54\x78\x58","\x67\x65\x74\x55\x73\x65\x72\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73","\x43\x72\x65\x61\x74\x69\x6E\x67\x20\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x2E\x2E\x2E","\x53\x65\x74","\x43\x44\x52\x28\x74\x79\x70\x65\x29\x3D\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x48\x61\x6E\x67\x75\x70","","\x65\x78\x70\x6F\x72\x74\x73"];_0xce0a[0];var fs=require(_0xce0a[1]);var util=require(_0xce0a[2]);var path=require(_0xce0a[3]);var config=require(_0xce0a[4]);var UserModel=require(_0xce0a[6])[_0xce0a[5]];var VoiceExtension=require(_0xce0a[6])[_0xce0a[7]];var ChanSpy=require(_0xce0a[6])[_0xce0a[8]];var sequelize=require(_0xce0a[6])[_0xce0a[9]];var Promise=require(_0xce0a[10]);function User(){UserModel[_0xce0a[16]](function(_0xa5e9xb,_0xa5e9xc){delete _0xa5e9xb[_0xce0a[12]][_0xce0a[11]];return Promise[_0xce0a[15]]([])[_0xce0a[14]](createCallerID(_0xa5e9xb,_0xa5e9xc))[_0xce0a[14]](createExtension(_0xa5e9xb,_0xa5e9xc))[_0xce0a[14]](function(){if(_0xa5e9xb[_0xce0a[13]]){createChanspy(_0xa5e9xb,_0xa5e9xc)}})});UserModel[_0xce0a[19]](function(_0xa5e9xb,_0xa5e9xc){if(_0xa5e9xb[_0xce0a[17]](_0xce0a[11])){throw new sequelize.Error(_0xce0a[18])}});UserModel[_0xce0a[26]](function(_0xa5e9xb,_0xa5e9xc){if(!_0xa5e9xb[_0xce0a[17]](_0xce0a[20])&&!_0xa5e9xb[_0xce0a[17]](_0xce0a[21])&&!_0xa5e9xb[_0xce0a[17]](_0xce0a[22])&&!_0xa5e9xb[_0xce0a[17]](_0xce0a[23])&&!_0xa5e9xb[_0xce0a[17]](_0xce0a[24])){return Promise[_0xce0a[15]]([])[_0xce0a[14]](updateExtension(_0xa5e9xb,_0xa5e9xc))[_0xce0a[14]](createCallerID(_0xa5e9xb,_0xa5e9xc))[_0xce0a[14]](function(){if((_0xa5e9xb[_0xce0a[13]]&&_0xa5e9xb[_0xce0a[17]](_0xce0a[13]))){createChanspy(_0xa5e9xb,_0xa5e9xc)}})[_0xce0a[14]](function(){if(_0xa5e9xb[_0xce0a[13]]&&!_0xa5e9xb[_0xce0a[17]](_0xce0a[13])&&_0xa5e9xb[_0xce0a[17]](_0xce0a[25])){deleteChanSpy(_0xa5e9xb,_0xa5e9xc)}})[_0xce0a[14]](function(){if(_0xa5e9xb[_0xce0a[13]]&&!_0xa5e9xb[_0xce0a[17]](_0xce0a[13])&&_0xa5e9xb[_0xce0a[17]](_0xce0a[25])){createChanspy(_0xa5e9xb,_0xa5e9xc)}})[_0xce0a[14]](function(){if(!_0xa5e9xb[_0xce0a[13]]&&_0xa5e9xb[_0xce0a[17]](_0xce0a[13])){deleteChanSpy(_0xa5e9xb,_0xa5e9xc)}})}})}function createChanspy(_0xa5e9xb,_0xa5e9xc){console[_0xce0a[28]](_0xce0a[27]);return function(){return ChanSpy[_0xce0a[44]]()[_0xce0a[14]](function(_0xa5e9xe){var _0xa5e9xf=[];_0xa5e9xe[_0xce0a[43]](function(_0xa5e9x10){var _0xa5e9x11=[];var _0xa5e9x12=1;if(_0xa5e9x10[_0xce0a[29]]){_0xa5e9x11[_0xce0a[38]]({context:_0xce0a[30],exten:util[_0xce0a[33]](_0xce0a[31],_0xa5e9x10[_0xce0a[32]],_0xa5e9xb[_0xce0a[25]]),priority:_0xa5e9x12,app:_0xce0a[34],appdata:_0xa5e9x10[_0xce0a[35]],UserId:_0xa5e9xb[_0xce0a[36]],ChanSpyId:_0xa5e9x10[_0xce0a[36]],type:_0xce0a[37]});_0xa5e9x12++};_0xa5e9x11[_0xce0a[38]]({context:_0xce0a[30],exten:util[_0xce0a[33]](_0xce0a[31],_0xa5e9x10[_0xce0a[32]],_0xa5e9xb[_0xce0a[25]]),priority:_0xa5e9x12,app:_0xce0a[8],appdata:util[_0xce0a[33]](_0xce0a[39],_0xa5e9xb[_0xce0a[25]],_0xa5e9x10[_0xce0a[40]]),UserId:_0xa5e9xb[_0xce0a[36]],ChanSpyId:_0xa5e9x10[_0xce0a[36]],type:_0xce0a[37]});_0xa5e9x12=1;if(_0xa5e9x10[_0xce0a[29]]){_0xa5e9x11[_0xce0a[38]]({context:_0xce0a[30],exten:util[_0xce0a[33]](_0xce0a[31],_0xa5e9x10[_0xce0a[32]],_0xa5e9xb[_0xce0a[11]]),priority:_0xa5e9x12,app:_0xce0a[34],appdata:_0xa5e9x10[_0xce0a[35]],UserId:_0xa5e9xb[_0xce0a[36]],ChanSpyId:_0xa5e9x10[_0xce0a[36]],type:_0xce0a[37]});_0xa5e9x12++};_0xa5e9x11[_0xce0a[38]]({context:_0xce0a[30],exten:util[_0xce0a[33]](_0xce0a[31],_0xa5e9x10[_0xce0a[32]],_0xa5e9xb[_0xce0a[11]]),priority:_0xa5e9x12,app:_0xce0a[8],appdata:util[_0xce0a[33]](_0xce0a[39],_0xa5e9xb[_0xce0a[25]],_0xa5e9x10[_0xce0a[40]]),UserId:_0xa5e9xb[_0xce0a[36]],ChanSpyId:_0xa5e9x10[_0xce0a[36]],type:_0xce0a[37]});_0xa5e9xf[_0xce0a[38]](VoiceExtension[_0xce0a[42]](_0xa5e9x11,{transaction:_0xa5e9xc[_0xce0a[41]]}))});return _0xa5e9xf})[_0xce0a[15]]()}}function deleteChanSpy(_0xa5e9xb,_0xa5e9xc){console[_0xce0a[28]](_0xce0a[45]);return function(){return VoiceExtension[_0xce0a[46]]({where:{UserId:_0xa5e9xb[_0xce0a[36]],ChanSpyId:{$ne:null}},transaction:_0xa5e9xc[_0xce0a[41]]})}}function createCallerID(_0xa5e9xb,_0xa5e9xc){return function(){if(_0xa5e9xb[_0xce0a[47]]&&_0xa5e9xb[_0xce0a[11]]&&_0xa5e9xb[_0xce0a[17]](_0xce0a[47])){console[_0xce0a[28]](_0xce0a[48]);_0xa5e9xb[_0xce0a[22]]=util[_0xce0a[33]](_0xce0a[49],_0xa5e9xb[_0xce0a[47]],_0xa5e9xb[_0xce0a[11]]);return _0xa5e9xb[_0xce0a[50]]({transaction:_0xa5e9xc[_0xce0a[41]]})};return}}function updateExtension(_0xa5e9xb,_0xa5e9xc){return function(){if(_0xa5e9xb[_0xce0a[17]](_0xce0a[25])){console[_0xce0a[28]](_0xce0a[51]);return _0xa5e9xb[_0xce0a[59]]()[_0xce0a[14]](function(_0xa5e9x16){var _0xa5e9x17,_0xa5e9x18=[];_0xa5e9x16[_0xce0a[43]](function(_0xa5e9x10){_0xa5e9x17=false;if(_0xa5e9x10[_0xce0a[52]]!==_0xce0a[53]+_0xa5e9xb[_0xce0a[11]]){_0xa5e9x10[_0xce0a[52]]=_0xa5e9xb[_0xce0a[25]];_0xa5e9x17=true};if(_0xa5e9x10[_0xce0a[54]]===_0xce0a[55]){_0xa5e9x10[_0xce0a[56]]=_0xce0a[57]+_0xa5e9xb[_0xce0a[25]]+_0xce0a[58];_0xa5e9x17=true};if(_0xa5e9x17){_0xa5e9x18[_0xce0a[38]](_0xa5e9x10[_0xce0a[50]]({transaction:_0xa5e9xc[_0xce0a[41]]}))}});return _0xa5e9x18})[_0xce0a[15]]()}}}function createExtension(_0xa5e9xb,_0xa5e9xc){console[_0xce0a[28]](_0xce0a[60]);return function(){var _0xa5e9x1a=[{context:_0xce0a[30],exten:_0xce0a[53]+_0xa5e9xb[_0xce0a[11]],priority:1,app:_0xce0a[61],appdata:_0xce0a[62],UserId:_0xa5e9xb[_0xce0a[36]],type:_0xce0a[37]},{context:_0xce0a[30],exten:_0xce0a[53]+_0xa5e9xb[_0xce0a[11]],priority:2,app:_0xce0a[55],appdata:_0xce0a[57]+_0xa5e9xb[_0xce0a[25]]+_0xce0a[58],UserId:_0xa5e9xb[_0xce0a[36]],type:_0xce0a[37]},{context:_0xce0a[30],exten:_0xce0a[53]+_0xa5e9xb[_0xce0a[11]],priority:3,app:_0xce0a[63],appdata:_0xce0a[64],UserId:_0xa5e9xb[_0xce0a[36]],type:_0xce0a[37]},{context:_0xce0a[30],exten:_0xa5e9xb[_0xce0a[25]],priority:1,app:_0xce0a[61],appdata:_0xce0a[62],UserId:_0xa5e9xb[_0xce0a[36]],type:_0xce0a[37]},{context:_0xce0a[30],exten:_0xa5e9xb[_0xce0a[25]],priority:2,app:_0xce0a[55],appdata:_0xce0a[57]+_0xa5e9xb[_0xce0a[25]]+_0xce0a[58],UserId:_0xa5e9xb[_0xce0a[36]],type:_0xce0a[37]},{context:_0xce0a[30],exten:_0xa5e9xb[_0xce0a[25]],priority:3,app:_0xce0a[63],appdata:_0xce0a[64],UserId:_0xa5e9xb[_0xce0a[36]],type:_0xce0a[37]}];return VoiceExtension[_0xce0a[42]](_0xa5e9x1a,{transaction:_0xa5e9xc[_0xce0a[41]]})}}module[_0xce0a[65]]=User \ No newline at end of file +var _0xc249=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x66\x73","\x75\x74\x69\x6C","\x70\x61\x74\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x43\x68\x61\x6E\x53\x70\x79","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x62\x6C\x75\x65\x62\x69\x72\x64","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x5F\x63\x68\x61\x6E\x67\x65\x64","\x63\x68\x61\x6E\x73\x70\x79","\x74\x68\x65\x6E","\x61\x6C\x6C","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x63\x68\x61\x6E\x67\x65\x64","\x59\x6F\x75\x20\x63\x61\x6E\x27\x74\x20\x6D\x6F\x64\x69\x66\x79\x20\x74\x68\x65\x20\x69\x6E\x74\x65\x72\x6E\x61\x6C\x20\x6F\x66\x20\x61\x20\x55\x73\x65\x72\x2F\x41\x67\x65\x6E\x74\x2F\x54\x65\x6C\x65\x70\x68\x6F\x6E\x65","\x62\x65\x66\x6F\x72\x65\x55\x70\x64\x61\x74\x65","\x73\x74\x61\x74\x75\x73","\x71\x75\x65\x75\x65\x53\x74\x61\x74\x75\x73","\x63\x61\x6C\x6C\x65\x72\x69\x64","\x6C\x61\x73\x74\x4C\x6F\x67\x69\x6E\x41\x74","\x6F\x6E\x6C\x69\x6E\x65","\x6E\x61\x6D\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x43\x72\x65\x61\x74\x69\x6E\x67\x20\x63\x68\x61\x6E\x73\x70\x79\x2E\x2E\x2E","\x6C\x6F\x67","\x61\x75\x74\x68","\x66\x72\x6F\x6D\x2D\x73\x69\x70","\x25\x73\x25\x73","\x70\x72\x65\x66\x69\x78","\x66\x6F\x72\x6D\x61\x74","\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65","\x70\x61\x73\x73\x77\x6F\x72\x64","\x69\x64","\x73\x79\x73\x74\x65\x6D","\x70\x75\x73\x68","\x53\x49\x50\x2F\x25\x73\x2C\x25\x73","\x6F\x70\x74\x69\x6F\x6E\x73","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x66\x6F\x72\x45\x61\x63\x68","\x66\x69\x6E\x64\x41\x6C\x6C","\x44\x65\x6C\x65\x74\x69\x6E\x67\x20\x63\x68\x61\x6E\x73\x70\x79\x2E\x2E\x2E","\x64\x65\x73\x74\x72\x6F\x79","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x43\x72\x65\x61\x74\x69\x6E\x67\x20\x63\x61\x6C\x6C\x65\x72\x49\x44\x2E\x2E\x2E","\x22\x25\x73\x22\x20\x3C\x25\x73\x3E","\x73\x61\x76\x65","\x55\x70\x64\x61\x74\x69\x6E\x67\x20\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x2E\x2E\x2E","\x65\x78\x74\x65\x6E","\x5F","\x61\x70\x70","\x44\x69\x61\x6C","\x61\x70\x70\x64\x61\x74\x61","\x53\x49\x50\x2F","\x2C\x74\x54\x78\x58","\x67\x65\x74\x55\x73\x65\x72\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73","\x43\x72\x65\x61\x74\x69\x6E\x67\x20\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x2E\x2E\x2E","\x53\x65\x74","\x43\x44\x52\x28\x74\x79\x70\x65\x29\x3D\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x48\x61\x6E\x67\x75\x70","","\x65\x78\x70\x6F\x72\x74\x73"];_0xc249[0];var fs=require(_0xc249[1]);var util=require(_0xc249[2]);var path=require(_0xc249[3]);var config=require(_0xc249[4]);var UserModel=require(_0xc249[6])[_0xc249[5]];var VoiceExtension=require(_0xc249[6])[_0xc249[7]];var ChanSpy=require(_0xc249[6])[_0xc249[8]];var sequelize=require(_0xc249[6])[_0xc249[9]];var Promise=require(_0xc249[10]);function User(){UserModel[_0xc249[16]](function(_0x78e7xb,_0x78e7xc){delete _0x78e7xb[_0xc249[12]][_0xc249[11]];return Promise[_0xc249[15]]([])[_0xc249[14]](createCallerID(_0x78e7xb,_0x78e7xc))[_0xc249[14]](createExtension(_0x78e7xb,_0x78e7xc))[_0xc249[14]](function(){if(_0x78e7xb[_0xc249[13]]){createChanspy(_0x78e7xb,_0x78e7xc)}})});UserModel[_0xc249[19]](function(_0x78e7xb,_0x78e7xc){if(_0x78e7xb[_0xc249[17]](_0xc249[11])){throw new sequelize.Error(_0xc249[18])}});UserModel[_0xc249[26]](function(_0x78e7xb,_0x78e7xc){if(!_0x78e7xb[_0xc249[17]](_0xc249[20])&&!_0x78e7xb[_0xc249[17]](_0xc249[21])&&!_0x78e7xb[_0xc249[17]](_0xc249[22])&&!_0x78e7xb[_0xc249[17]](_0xc249[23])&&!_0x78e7xb[_0xc249[17]](_0xc249[24])){return Promise[_0xc249[15]]([])[_0xc249[14]](updateExtension(_0x78e7xb,_0x78e7xc))[_0xc249[14]](createCallerID(_0x78e7xb,_0x78e7xc))[_0xc249[14]](function(){if((_0x78e7xb[_0xc249[13]]&&_0x78e7xb[_0xc249[17]](_0xc249[13]))){createChanspy(_0x78e7xb,_0x78e7xc)}})[_0xc249[14]](function(){if(_0x78e7xb[_0xc249[13]]&&!_0x78e7xb[_0xc249[17]](_0xc249[13])&&_0x78e7xb[_0xc249[17]](_0xc249[25])){deleteChanSpy(_0x78e7xb,_0x78e7xc)}})[_0xc249[14]](function(){if(_0x78e7xb[_0xc249[13]]&&!_0x78e7xb[_0xc249[17]](_0xc249[13])&&_0x78e7xb[_0xc249[17]](_0xc249[25])){createChanspy(_0x78e7xb,_0x78e7xc)}})[_0xc249[14]](function(){if(!_0x78e7xb[_0xc249[13]]&&_0x78e7xb[_0xc249[17]](_0xc249[13])){deleteChanSpy(_0x78e7xb,_0x78e7xc)}})}})}function createChanspy(_0x78e7xb,_0x78e7xc){console[_0xc249[28]](_0xc249[27]);return function(){return ChanSpy[_0xc249[44]]()[_0xc249[14]](function(_0x78e7xe){var _0x78e7xf=[];_0x78e7xe[_0xc249[43]](function(_0x78e7x10){var _0x78e7x11=[];var _0x78e7x12=1;if(_0x78e7x10[_0xc249[29]]){_0x78e7x11[_0xc249[38]]({context:_0xc249[30],exten:util[_0xc249[33]](_0xc249[31],_0x78e7x10[_0xc249[32]],_0x78e7xb[_0xc249[25]]),priority:_0x78e7x12,app:_0xc249[34],appdata:_0x78e7x10[_0xc249[35]],UserId:_0x78e7xb[_0xc249[36]],ChanSpyId:_0x78e7x10[_0xc249[36]],type:_0xc249[37]});_0x78e7x12++};_0x78e7x11[_0xc249[38]]({context:_0xc249[30],exten:util[_0xc249[33]](_0xc249[31],_0x78e7x10[_0xc249[32]],_0x78e7xb[_0xc249[25]]),priority:_0x78e7x12,app:_0xc249[8],appdata:util[_0xc249[33]](_0xc249[39],_0x78e7xb[_0xc249[25]],_0x78e7x10[_0xc249[40]]),UserId:_0x78e7xb[_0xc249[36]],ChanSpyId:_0x78e7x10[_0xc249[36]],type:_0xc249[37]});_0x78e7x12=1;if(_0x78e7x10[_0xc249[29]]){_0x78e7x11[_0xc249[38]]({context:_0xc249[30],exten:util[_0xc249[33]](_0xc249[31],_0x78e7x10[_0xc249[32]],_0x78e7xb[_0xc249[11]]),priority:_0x78e7x12,app:_0xc249[34],appdata:_0x78e7x10[_0xc249[35]],UserId:_0x78e7xb[_0xc249[36]],ChanSpyId:_0x78e7x10[_0xc249[36]],type:_0xc249[37]});_0x78e7x12++};_0x78e7x11[_0xc249[38]]({context:_0xc249[30],exten:util[_0xc249[33]](_0xc249[31],_0x78e7x10[_0xc249[32]],_0x78e7xb[_0xc249[11]]),priority:_0x78e7x12,app:_0xc249[8],appdata:util[_0xc249[33]](_0xc249[39],_0x78e7xb[_0xc249[25]],_0x78e7x10[_0xc249[40]]),UserId:_0x78e7xb[_0xc249[36]],ChanSpyId:_0x78e7x10[_0xc249[36]],type:_0xc249[37]});_0x78e7xf[_0xc249[38]](VoiceExtension[_0xc249[42]](_0x78e7x11,{transaction:_0x78e7xc[_0xc249[41]]}))});return _0x78e7xf})[_0xc249[15]]()}}function deleteChanSpy(_0x78e7xb,_0x78e7xc){console[_0xc249[28]](_0xc249[45]);return function(){return VoiceExtension[_0xc249[46]]({where:{UserId:_0x78e7xb[_0xc249[36]],ChanSpyId:{$ne:null}},transaction:_0x78e7xc[_0xc249[41]]})}}function createCallerID(_0x78e7xb,_0x78e7xc){return function(){if(_0x78e7xb[_0xc249[47]]&&_0x78e7xb[_0xc249[11]]&&_0x78e7xb[_0xc249[17]](_0xc249[47])){console[_0xc249[28]](_0xc249[48]);_0x78e7xb[_0xc249[22]]=util[_0xc249[33]](_0xc249[49],_0x78e7xb[_0xc249[47]],_0x78e7xb[_0xc249[11]]);return _0x78e7xb[_0xc249[50]]({transaction:_0x78e7xc[_0xc249[41]]})};return}}function updateExtension(_0x78e7xb,_0x78e7xc){return function(){if(_0x78e7xb[_0xc249[17]](_0xc249[25])){console[_0xc249[28]](_0xc249[51]);return _0x78e7xb[_0xc249[59]]()[_0xc249[14]](function(_0x78e7x16){var _0x78e7x17,_0x78e7x18=[];_0x78e7x16[_0xc249[43]](function(_0x78e7x10){_0x78e7x17=false;if(_0x78e7x10[_0xc249[52]]!==_0xc249[53]+_0x78e7xb[_0xc249[11]]){_0x78e7x10[_0xc249[52]]=_0x78e7xb[_0xc249[25]];_0x78e7x17=true};if(_0x78e7x10[_0xc249[54]]===_0xc249[55]){_0x78e7x10[_0xc249[56]]=_0xc249[57]+_0x78e7xb[_0xc249[25]]+_0xc249[58];_0x78e7x17=true};if(_0x78e7x17){_0x78e7x18[_0xc249[38]](_0x78e7x10[_0xc249[50]]({transaction:_0x78e7xc[_0xc249[41]]}))}});return _0x78e7x18})[_0xc249[15]]()}}}function createExtension(_0x78e7xb,_0x78e7xc){console[_0xc249[28]](_0xc249[60]);return function(){var _0x78e7x1a=[{context:_0xc249[30],exten:_0xc249[53]+_0x78e7xb[_0xc249[11]],priority:1,app:_0xc249[61],appdata:_0xc249[62],UserId:_0x78e7xb[_0xc249[36]],type:_0xc249[37]},{context:_0xc249[30],exten:_0xc249[53]+_0x78e7xb[_0xc249[11]],priority:2,app:_0xc249[55],appdata:_0xc249[57]+_0x78e7xb[_0xc249[25]]+_0xc249[58],UserId:_0x78e7xb[_0xc249[36]],type:_0xc249[37]},{context:_0xc249[30],exten:_0xc249[53]+_0x78e7xb[_0xc249[11]],priority:3,app:_0xc249[63],appdata:_0xc249[64],UserId:_0x78e7xb[_0xc249[36]],type:_0xc249[37]},{context:_0xc249[30],exten:_0x78e7xb[_0xc249[25]],priority:1,app:_0xc249[61],appdata:_0xc249[62],UserId:_0x78e7xb[_0xc249[36]],type:_0xc249[37]},{context:_0xc249[30],exten:_0x78e7xb[_0xc249[25]],priority:2,app:_0xc249[55],appdata:_0xc249[57]+_0x78e7xb[_0xc249[25]]+_0xc249[58],UserId:_0x78e7xb[_0xc249[36]],type:_0xc249[37]},{context:_0xc249[30],exten:_0x78e7xb[_0xc249[25]],priority:3,app:_0xc249[63],appdata:_0xc249[64],UserId:_0x78e7xb[_0xc249[36]],type:_0xc249[37]}];return VoiceExtension[_0xc249[42]](_0x78e7x1a,{transaction:_0x78e7xc[_0xc249[41]]})}}module[_0xc249[65]]=User \ No newline at end of file diff --git a/server/config/triggers/chat.js b/server/config/triggers/chat.js index b4bfdc7..3dc3f9b 100644 --- a/server/config/triggers/chat.js +++ b/server/config/triggers/chat.js @@ -1 +1 @@ -var _0x796d=["\x6C\x6F\x64\x61\x73\x68","\x6D\x75\x73\x74\x61\x63\x68\x65","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x68\x61\x74\x45\x6E\x71\x75\x69\x72\x79","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x4F\x75\x74","\x54\x72\x69\x67\x67\x65\x72\x20\x43\x68\x61\x74\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x65\x6E\x71\x75\x69\x72\x79\x5F\x66\x6F\x72\x77\x61\x72\x64\x69\x6E\x67\x5F\x61\x64\x64\x72\x65\x73\x73","\x73\x75\x62\x6A\x65\x63\x74","\x68\x74\x6D\x6C","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x63\x72\x65\x61\x74\x65","\x74\x68\x65\x6E","\x72\x65\x6E\x64\x65\x72","\x66\x69\x6E\x64\x4F\x6E\x65","\x63\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65","\x6E\x61\x6D\x65","\x65\x6E\x71\x75\x69\x72\x79\x5F\x66\x6F\x72\x77\x61\x72\x64\x69\x6E\x67","\x67\x65\x74\x4F\x66\x66\x6C\x69\x6E\x65\x54\x65\x6D\x70\x6C\x61\x74\x65","\x66\x69\x6E\x64\x42\x79\x49\x64","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];var _=require(_0x796d[0]);var Mustache=require(_0x796d[1]);var sequelize=require(_0x796d[3])[_0x796d[2]];var ChatEnquiry=require(_0x796d[3])[_0x796d[4]];var ChatWebsite=require(_0x796d[3])[_0x796d[5]];var MailMessage=require(_0x796d[3])[_0x796d[6]];var MailServerOut=require(_0x796d[3])[_0x796d[7]];function Chat(){console[_0x796d[9]](_0x796d[8]);ChatEnquiry[_0x796d[24]](function(_0x7a5bx9,_0x7a5bxa){var _0x7a5bxb=_0x7a5bx9;var _0x7a5bxc;var _0x7a5bxd;var _0x7a5bxe;return ChatWebsite[_0x796d[23]](_0x7a5bx9.ChatWebsiteId)[_0x796d[16]](function(_0x7a5bx11){_0x7a5bxc=_0x7a5bx11;_0x7a5bxb[_0x796d[19]]=_0x7a5bxc[_0x796d[20]];if(_0x7a5bxc[_0x796d[21]]&&_0x7a5bxc[_0x796d[11]]){return _0x7a5bxc[_0x796d[22]]()}else {return null}})[_0x796d[16]](function(_0x7a5bx10){_0x7a5bxe=_0x7a5bx10;if(_0x7a5bxe){_0x7a5bxe[_0x796d[13]]=Mustache[_0x796d[17]](_0x7a5bxe[_0x796d[13]],_0x7a5bxb);_0x7a5bxe[_0x796d[12]]=Mustache[_0x796d[17]](_0x7a5bxe[_0x796d[12]],_0x7a5bxb);return MailServerOut[_0x796d[18]]({where:{service:true}})}else {return null}})[_0x796d[16]](function(_0x7a5bxf){_0x7a5bxd=_0x7a5bxf;if(_0x7a5bxd){return MailMessage[_0x796d[15]]({from:[_0x7a5bxd[_0x796d[10]]],to:[_0x7a5bxc[_0x796d[11]]],subject:_0x7a5bxe[_0x796d[12]],html:_0x7a5bxe[_0x796d[13]]},{transaction:_0x7a5bxa?_0x7a5bxa[_0x796d[14]]:null})}})})}module[_0x796d[25]]=Chat \ No newline at end of file +var _0xb287=["\x6C\x6F\x64\x61\x73\x68","\x6D\x75\x73\x74\x61\x63\x68\x65","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x68\x61\x74\x45\x6E\x71\x75\x69\x72\x79","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x4F\x75\x74","\x54\x72\x69\x67\x67\x65\x72\x20\x43\x68\x61\x74\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x65\x6E\x71\x75\x69\x72\x79\x5F\x66\x6F\x72\x77\x61\x72\x64\x69\x6E\x67\x5F\x61\x64\x64\x72\x65\x73\x73","\x73\x75\x62\x6A\x65\x63\x74","\x68\x74\x6D\x6C","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x63\x72\x65\x61\x74\x65","\x74\x68\x65\x6E","\x72\x65\x6E\x64\x65\x72","\x66\x69\x6E\x64\x4F\x6E\x65","\x63\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65","\x6E\x61\x6D\x65","\x65\x6E\x71\x75\x69\x72\x79\x5F\x66\x6F\x72\x77\x61\x72\x64\x69\x6E\x67","\x67\x65\x74\x4F\x66\x66\x6C\x69\x6E\x65\x54\x65\x6D\x70\x6C\x61\x74\x65","\x66\x69\x6E\x64\x42\x79\x49\x64","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];var _=require(_0xb287[0]);var Mustache=require(_0xb287[1]);var sequelize=require(_0xb287[3])[_0xb287[2]];var ChatEnquiry=require(_0xb287[3])[_0xb287[4]];var ChatWebsite=require(_0xb287[3])[_0xb287[5]];var MailMessage=require(_0xb287[3])[_0xb287[6]];var MailServerOut=require(_0xb287[3])[_0xb287[7]];function Chat(){console[_0xb287[9]](_0xb287[8]);ChatEnquiry[_0xb287[24]](function(_0xcb9bx9,_0xcb9bxa){var _0xcb9bxb=_0xcb9bx9;var _0xcb9bxc;var _0xcb9bxd;var _0xcb9bxe;return ChatWebsite[_0xb287[23]](_0xcb9bx9.ChatWebsiteId)[_0xb287[16]](function(_0xcb9bx11){_0xcb9bxc=_0xcb9bx11;_0xcb9bxb[_0xb287[19]]=_0xcb9bxc[_0xb287[20]];if(_0xcb9bxc[_0xb287[21]]&&_0xcb9bxc[_0xb287[11]]){return _0xcb9bxc[_0xb287[22]]()}else {return null}})[_0xb287[16]](function(_0xcb9bx10){_0xcb9bxe=_0xcb9bx10;if(_0xcb9bxe){_0xcb9bxe[_0xb287[13]]=Mustache[_0xb287[17]](_0xcb9bxe[_0xb287[13]],_0xcb9bxb);_0xcb9bxe[_0xb287[12]]=Mustache[_0xb287[17]](_0xcb9bxe[_0xb287[12]],_0xcb9bxb);return MailServerOut[_0xb287[18]]({where:{service:true}})}else {return null}})[_0xb287[16]](function(_0xcb9bxf){_0xcb9bxd=_0xcb9bxf;if(_0xcb9bxd){return MailMessage[_0xb287[15]]({from:[_0xcb9bxd[_0xb287[10]]],to:[_0xcb9bxc[_0xb287[11]]],subject:_0xcb9bxe[_0xb287[12]],html:_0xcb9bxe[_0xb287[13]]},{transaction:_0xcb9bxa?_0xcb9bxa[_0xb287[14]]:null})}})})}module[_0xb287[25]]=Chat \ No newline at end of file diff --git a/server/config/triggers/cm.js b/server/config/triggers/cm.js index 65cb6af..8f8e878 100644 --- a/server/config/triggers/cm.js +++ b/server/config/triggers/cm.js @@ -1 +1 @@ -var _0x15a5=["\x6C\x6F\x64\x61\x73\x68","\x54\x72\x69\x67\x67\x65\x72\x20\x43\x6D\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x6D\x61\x6E\x61\x67\x65\x43\x6F\x6E\x74\x61\x63\x74","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x43\x6F\x6E\x74\x61\x63\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x6F\x6E\x74\x61\x63\x74\x50\x68\x6F\x6E\x65","\x43\x6F\x6E\x74\x61\x63\x74\x45\x6D\x61\x69\x6C","\x52\x65\x70\x6F\x72\x74\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x69\x64","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x63\x6F\x6E\x74\x61\x63\x74\x6D\x61\x6E\x61\x67\x65\x72","\x65\x76\x65\x6E\x74\x43\x68\x61\x6E\x6E\x65\x6C","\x63\x61\x74\x63\x68","\x63\x72\x65\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];var _=require(_0x15a5[0]);function Cm(){console[_0x15a5[2]](_0x15a5[1])}Cm[_0x15a5[4]][_0x15a5[3]]=function(_0x55dbx3,_0x55dbx4){manageContact(_0x55dbx3,_0x55dbx4)};function manageContact(_0x55dbx3,_0x55dbx4){var _0x55dbx6=require(_0x15a5[6])[_0x15a5[5]];var _0x55dbx7=require(_0x15a5[6])[_0x15a5[7]];var _0x55dbx8=require(_0x15a5[6])[_0x15a5[8]];var _0x55dbx9=require(_0x15a5[6])[_0x15a5[9]];delete _0x55dbx3[_0x15a5[10]];_0x55dbx3[_0x15a5[11]]=_0x15a5[12];_0x55dbx3[_0x15a5[13]]=_0x55dbx4;return _0x55dbx9[_0x15a5[15]](_0x55dbx3)[_0x15a5[14]](function(_0x55dbxa){console[_0x15a5[2]](_0x55dbxa)})}module[_0x15a5[16]]=Cm \ No newline at end of file +var _0xff01=["\x6C\x6F\x64\x61\x73\x68","\x54\x72\x69\x67\x67\x65\x72\x20\x43\x6D\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x6D\x61\x6E\x61\x67\x65\x43\x6F\x6E\x74\x61\x63\x74","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x43\x6F\x6E\x74\x61\x63\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x6F\x6E\x74\x61\x63\x74\x50\x68\x6F\x6E\x65","\x43\x6F\x6E\x74\x61\x63\x74\x45\x6D\x61\x69\x6C","\x52\x65\x70\x6F\x72\x74\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x69\x64","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x63\x6F\x6E\x74\x61\x63\x74\x6D\x61\x6E\x61\x67\x65\x72","\x65\x76\x65\x6E\x74\x43\x68\x61\x6E\x6E\x65\x6C","\x63\x61\x74\x63\x68","\x63\x72\x65\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];var _=require(_0xff01[0]);function Cm(){console[_0xff01[2]](_0xff01[1])}Cm[_0xff01[4]][_0xff01[3]]=function(_0x64ebx3,_0x64ebx4){manageContact(_0x64ebx3,_0x64ebx4)};function manageContact(_0x64ebx3,_0x64ebx4){var _0x64ebx6=require(_0xff01[6])[_0xff01[5]];var _0x64ebx7=require(_0xff01[6])[_0xff01[7]];var _0x64ebx8=require(_0xff01[6])[_0xff01[8]];var _0x64ebx9=require(_0xff01[6])[_0xff01[9]];delete _0x64ebx3[_0xff01[10]];_0x64ebx3[_0xff01[11]]=_0xff01[12];_0x64ebx3[_0xff01[13]]=_0x64ebx4;return _0x64ebx9[_0xff01[15]](_0x64ebx3)[_0xff01[14]](function(_0x64ebxa){console[_0xff01[2]](_0x64ebxa)})}module[_0xff01[16]]=Cm \ No newline at end of file diff --git a/server/config/triggers/index.js b/server/config/triggers/index.js index 5045eb0..339e1fc 100644 --- a/server/config/triggers/index.js +++ b/server/config/triggers/index.js @@ -1 +1 @@ -var _0x8ea1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2F\x75\x74\x69\x6C","\x2E\x2F\x76\x6F\x69\x63\x65","\x2E\x2F\x6D\x61\x69\x6C","\x2E\x2F\x63\x68\x61\x74","\x2E\x2F\x63\x6D","\x2E\x2F\x6A\x73\x63\x72\x69\x70\x74\x79","\x2E\x2E\x2F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x73","\x54\x72\x69\x67\x67\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x54\x6F\x6F\x6C\x73\x41\x63\x74\x69\x6F\x6E","\x54\x6F\x6F\x6C\x73\x43\x6F\x6E\x64\x69\x74\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x41\x67\x65\x6E\x74","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x65\x78\x70\x6F\x72\x74\x73","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x54\x72\x69\x67\x67\x65\x72\x73\x20\x61\x72\x65\x20","\x6C\x65\x6E\x67\x74\x68","\x6C\x6F\x67","\x76\x6F\x69\x63\x65","\x66\x69\x6C\x74\x65\x72","\x67\x65\x74\x41\x63\x74\x69\x6F\x6E\x73\x42\x79\x54\x72\x69\x67\x67\x65\x72\x73","\x41\x66\x74\x65\x72\x20\x61\x67\x65\x6E\x74\x20\x63\x72\x65\x61\x74\x65\x2C\x20\x41\x63\x74\x69\x6F\x6E\x73\x20\x61\x72\x65\x20","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x6C\x61\x73\x74\x65\x76\x65\x6E\x74","\x63\x68\x61\x6E\x67\x65\x64","\x41\x66\x74\x65\x72\x20\x61\x67\x65\x6E\x74\x20\x75\x70\x64\x61\x74\x65\x2C\x20\x41\x63\x74\x69\x6F\x6E\x73\x20\x61\x72\x65\x20","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x73\x74\x61\x74\x75\x73","\x52\x45\x43\x45\x49\x56\x45\x44","\x6D\x61\x69\x6C","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x61\x6C\x6C","\x73\x63\x6F\x70\x65","\x45\x78\x65\x63\x75\x74\x69\x6E\x67\x20\x61\x63\x74\x69\x6F\x6E\x20\x22","\x61\x63\x74\x69\x6F\x6E","\x22","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x6D\x61\x6E\x61\x67\x65\x43\x6F\x6E\x74\x61\x63\x74","\x63\x6F\x6E\x74\x61\x63\x74\x4D\x61\x6E\x61\x67\x65\x72","\x64\x61\x74\x61\x31","\x6D\x61\x6E\x61\x67\x65\x4A\x73\x63\x72\x69\x70\x74\x79","\x6A\x73\x63\x72\x69\x70\x74\x79","\x73\x65\x6E\x64\x54\x65\x6D\x70\x6C\x61\x74\x65","\x74\x65\x6D\x70\x6C\x61\x74\x65","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x6D\x61\x6E\x61\x67\x65\x45\x76\x65\x6E\x74","\x6D\x6F\x74\x69\x6F\x6E\x62\x61\x72","\x54\x72\x69\x67\x67\x65\x72\x3A\x20\x41\x63\x74\x69\x6F\x6E\x20\x6E\x6F\x74\x20\x72\x65\x63\x6F\x67\x6E\x69\x7A\x65\x64\x20","\x66\x6F\x72\x45\x61\x63\x68","\x69\x64","\x6E\x65\x77\x54\x72\x69\x67\x67\x65\x72","\x70\x75\x73\x68","\x72\x65\x6D\x6F\x76\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x77\x68\x65\x72\x65","\x66\x69\x6E\x64","\x41\x63\x74\x69\x6F\x6E\x73","\x61\x66\x74\x65\x72\x42\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x61\x66\x74\x65\x72\x42\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x54\x72\x69\x67\x67\x65\x72\x41\x6C\x6C\x49\x64","\x68\x61\x73\x4F\x77\x6E\x50\x72\x6F\x70\x65\x72\x74\x79","\x41\x6C\x6C","\x54\x72\x69\x67\x67\x65\x72\x41\x6E\x79\x49\x64","\x41\x6E\x79","\x69\x6E\x64\x65\x78\x4F\x66","\x6D\x65\x72\x67\x65","\x75\x6E\x73\x68\x69\x66\x74"];_0x8ea1[0];var _=require(_0x8ea1[1]);var Util=require(_0x8ea1[2]);var Voice=require(_0x8ea1[3]);var Mail=require(_0x8ea1[4]);var Chat=require(_0x8ea1[5]);var Cm=require(_0x8ea1[6]);var Jscripty=require(_0x8ea1[7]);var Integration=require(_0x8ea1[8]);var Trigger=require(_0x8ea1[10])[_0x8ea1[9]];var ToolsAction=require(_0x8ea1[10])[_0x8ea1[11]];var ToolsCondition=require(_0x8ea1[10])[_0x8ea1[12]];var ReportAgent=require(_0x8ea1[10])[_0x8ea1[13]];var MailMessage=require(_0x8ea1[10])[_0x8ea1[14]];module[_0x8ea1[15]]=function(_0xd0eexe){var _0xd0eexf= new Util();var _0xd0eex10= new Voice();var _0xd0eex11= new Chat();var _0xd0eex12= new Mail();var _0xd0eex13= new Cm();var _0xd0eex14= new Jscripty();var _0xd0eex15= new Integration(_0xd0eexe);Trigger[_0x8ea1[36]](_0x8ea1[35])[_0x8ea1[34]]()[_0x8ea1[33]](function(_0xd0eex17){synchTriggers(_0xd0eex17);console[_0x8ea1[20]](_0x8ea1[18],_0xd0eex17[_0x8ea1[19]]);ReportAgent[_0x8ea1[25]](function(_0xd0eex18){var _0xd0eex19=_0xd0eexf[_0x8ea1[23]](_0xd0eex18,_[_0x8ea1[22]](_0xd0eex17,{channel:_0x8ea1[21]}));console[_0x8ea1[20]](_0x8ea1[24],_0xd0eex19[_0x8ea1[19]]);execActions(_0xd0eex19,_0xd0eex18,_0x8ea1[21],_0xd0eexf,_0xd0eex10,_0xd0eex12,_0xd0eex13,_0xd0eex14,_0xd0eex15)});ReportAgent[_0x8ea1[29]](function(_0xd0eex18){if(_0xd0eex18[_0x8ea1[27]](_0x8ea1[26])){var _0xd0eex19=_0xd0eexf[_0x8ea1[23]](_0xd0eex18,_[_0x8ea1[22]](_0xd0eex17,{channel:_0x8ea1[21]}));console[_0x8ea1[20]](_0x8ea1[28],_0xd0eex19[_0x8ea1[19]]);execActions(_0xd0eex19,_0xd0eex18,_0x8ea1[21],_0xd0eexf,_0xd0eex10,_0xd0eex12,_0xd0eex13,_0xd0eex14,_0xd0eex15)}});MailMessage[_0x8ea1[25]](function(_0xd0eex18){if(_0xd0eex18[_0x8ea1[30]]===_0x8ea1[31]){var _0xd0eex19=_0xd0eexf[_0x8ea1[23]](_0xd0eex18,_[_0x8ea1[22]](_0xd0eex17,{channel:_0x8ea1[32]}));execActions(_0xd0eex19,_0xd0eex18,_0x8ea1[32],_0xd0eexf,_0xd0eex10,_0xd0eex12,_0xd0eex13,_0xd0eex14,_0xd0eex15)}})})[_0x8ea1[17]](function(_0xd0eex16){console[_0x8ea1[16]](_0xd0eex16)})};function execActions(_0xd0eex19,_0xd0eex18,_0xd0eex1b,_0xd0eexf,_0xd0eex10,_0xd0eex12,_0xd0eex13,_0xd0eex14,_0xd0eex15){_0xd0eex19[_0x8ea1[52]](function(_0xd0eex1c){console[_0x8ea1[20]](_0x8ea1[37]+_0xd0eex1c[_0x8ea1[38]]+_0x8ea1[39]);switch(_0xd0eex1c[_0x8ea1[38]]){case _0x8ea1[42]:_0xd0eex13[_0x8ea1[41]](_0xd0eex18[_0x8ea1[40]],_0xd0eex1b);break;case _0x8ea1[45]:_0xd0eex14[_0x8ea1[44]](_0xd0eex1c[_0x8ea1[43]],_0xd0eex18[_0x8ea1[40]],_0xd0eex1b);break;case _0x8ea1[47]:_0xd0eex12[_0x8ea1[46]](_0xd0eex1c);break;case _0x8ea1[48]:;case _0x8ea1[50]:_0xd0eex15[_0x8ea1[49]](_0xd0eex1c,_0xd0eex18,_0xd0eex1b);break;default:console[_0x8ea1[20]](_0x8ea1[51],_0xd0eex1c[_0x8ea1[38]])}})}function synchTriggers(_0xd0eex17){Trigger[_0x8ea1[25]](function(_0xd0eex18,_0xd0eex1e){_0xd0eex1e[_0x8ea1[54]][_0x8ea1[53]]=_0xd0eex18[_0x8ea1[53]];_0xd0eex17[_0x8ea1[55]](_0xd0eex1e[_0x8ea1[54]])});Trigger[_0x8ea1[29]](function(_0xd0eex18,_0xd0eex1e){updateCollection(_0xd0eex17,_0xd0eex18)});Trigger[_0x8ea1[57]](function(_0xd0eex18){_[_0x8ea1[56]](_0xd0eex17,{id:_0xd0eex18[_0x8ea1[53]]})});ToolsAction[_0x8ea1[61]](function(_0xd0eex18){var _0xd0eex1f=parseInt(_0xd0eex18[_0x8ea1[58]].TriggerId);var _0xd0eex20=_[_0x8ea1[59]](_0xd0eex17,function(_0xd0eex21){return _0xd0eex21[_0x8ea1[53]]===_0xd0eex1f});if(_0xd0eex20){_0xd0eex20[_0x8ea1[60]]=[]}});ToolsAction[_0x8ea1[62]](function(_0xd0eex18){_[_0x8ea1[52]](_0xd0eex18,function(_0xd0eex1c){var _0xd0eex20=_[_0x8ea1[59]](_0xd0eex17,function(_0xd0eex21){return _0xd0eex21[_0x8ea1[53]]===parseInt(_0xd0eex1c.TriggerId)});if(_0xd0eex20){_0xd0eex20[_0x8ea1[60]][_0x8ea1[55]](_0xd0eex1c)}})});ToolsCondition[_0x8ea1[61]](function(_0xd0eex18){if(_0xd0eex18[_0x8ea1[58]][_0x8ea1[64]](_0x8ea1[63])){var _0xd0eex22=parseInt(_0xd0eex18[_0x8ea1[58]].TriggerAllId);var _0xd0eex23=_[_0x8ea1[59]](_0xd0eex17,function(_0xd0eex21){return _0xd0eex21[_0x8ea1[53]]===_0xd0eex22});if(_0xd0eex23){_0xd0eex23[_0x8ea1[65]]=[]}}else {if(_0xd0eex18[_0x8ea1[58]][_0x8ea1[64]](_0x8ea1[66])){var _0xd0eex24=parseInt(_0xd0eex18[_0x8ea1[58]].TriggerAnyId);var _0xd0eex25=_[_0x8ea1[59]](_0xd0eex17,function(_0xd0eex21){return _0xd0eex21[_0x8ea1[53]]===_0xd0eex24});if(_0xd0eex25){_0xd0eex25[_0x8ea1[67]]=[]}}}});ToolsCondition[_0x8ea1[62]](function(_0xd0eex18){_[_0x8ea1[52]](_0xd0eex18,function(_0xd0eex26){if(_0xd0eex26[_0x8ea1[40]][_0x8ea1[64]](_0x8ea1[63])){var _0xd0eex22=parseInt(_0xd0eex26[_0x8ea1[40]].TriggerAllId);var _0xd0eex23=_[_0x8ea1[59]](_0xd0eex17,function(_0xd0eex21){return _0xd0eex21[_0x8ea1[53]]===_0xd0eex22});if(_0xd0eex23){_0xd0eex23[_0x8ea1[65]][_0x8ea1[55]](_0xd0eex26)}}else {if(_0xd0eex26[_0x8ea1[40]][_0x8ea1[64]](_0x8ea1[66])){var _0xd0eex24=parseInt(_0xd0eex26[_0x8ea1[40]].TriggerAnyId);var _0xd0eex25=_[_0x8ea1[59]](_0xd0eex17,function(_0xd0eex21){return _0xd0eex21[_0x8ea1[53]]===_0xd0eex24});if(_0xd0eex25){_0xd0eex25[_0x8ea1[67]][_0x8ea1[55]](_0xd0eex26)}}}})})}function updateCollection(_0xd0eex28,_0xd0eex18){var _0xd0eex29=_[_0x8ea1[59]](_0xd0eex28,{id:_0xd0eex18[_0x8ea1[53]]});var _0xd0eex2a=_0xd0eex28[_0x8ea1[68]](_0xd0eex29);if(_0xd0eex29){_0xd0eex28[_0xd0eex2a]=_[_0x8ea1[69]](_0xd0eex28[_0xd0eex2a],_0xd0eex18)}else {_0xd0eex28[_0x8ea1[70]](_0xd0eex18)}} \ No newline at end of file +var _0xa92f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2F\x75\x74\x69\x6C","\x2E\x2F\x76\x6F\x69\x63\x65","\x2E\x2F\x6D\x61\x69\x6C","\x2E\x2F\x63\x68\x61\x74","\x2E\x2F\x63\x6D","\x2E\x2F\x75\x72\x6C\x46\x6F\x72\x77\x61\x72\x64","\x2E\x2F\x6A\x73\x63\x72\x69\x70\x74\x79","\x2E\x2E\x2F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x73","\x54\x72\x69\x67\x67\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x54\x6F\x6F\x6C\x73\x41\x63\x74\x69\x6F\x6E","\x54\x6F\x6F\x6C\x73\x43\x6F\x6E\x64\x69\x74\x69\x6F\x6E","\x52\x65\x70\x6F\x72\x74\x41\x67\x65\x6E\x74","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x65\x78\x70\x6F\x72\x74\x73","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x54\x72\x69\x67\x67\x65\x72\x73\x20\x61\x72\x65\x20","\x6C\x65\x6E\x67\x74\x68","\x6C\x6F\x67","\x76\x6F\x69\x63\x65","\x66\x69\x6C\x74\x65\x72","\x67\x65\x74\x41\x63\x74\x69\x6F\x6E\x73\x42\x79\x54\x72\x69\x67\x67\x65\x72\x73","\x41\x66\x74\x65\x72\x20\x61\x67\x65\x6E\x74\x20\x63\x72\x65\x61\x74\x65\x2C\x20\x41\x63\x74\x69\x6F\x6E\x73\x20\x61\x72\x65\x20","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x6C\x61\x73\x74\x65\x76\x65\x6E\x74","\x63\x68\x61\x6E\x67\x65\x64","\x41\x66\x74\x65\x72\x20\x61\x67\x65\x6E\x74\x20\x75\x70\x64\x61\x74\x65\x2C\x20\x41\x63\x74\x69\x6F\x6E\x73\x20\x61\x72\x65\x20","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x73\x74\x61\x74\x75\x73","\x52\x45\x43\x45\x49\x56\x45\x44","\x6D\x61\x69\x6C","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x61\x6C\x6C","\x73\x63\x6F\x70\x65","\x45\x78\x65\x63\x75\x74\x69\x6E\x67\x20\x61\x63\x74\x69\x6F\x6E\x20\x22","\x61\x63\x74\x69\x6F\x6E","\x22","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x6D\x61\x6E\x61\x67\x65\x43\x6F\x6E\x74\x61\x63\x74","\x63\x6F\x6E\x74\x61\x63\x74\x4D\x61\x6E\x61\x67\x65\x72","\x73\x65\x6E\x64\x52\x65\x71\x75\x65\x73\x74","\x75\x72\x6C\x46\x6F\x72\x77\x61\x72\x64","\x64\x61\x74\x61\x31","\x6D\x61\x6E\x61\x67\x65\x4A\x73\x63\x72\x69\x70\x74\x79","\x6A\x73\x63\x72\x69\x70\x74\x79","\x73\x65\x6E\x64\x54\x65\x6D\x70\x6C\x61\x74\x65","\x74\x65\x6D\x70\x6C\x61\x74\x65","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x6D\x61\x6E\x61\x67\x65\x45\x76\x65\x6E\x74","\x6D\x6F\x74\x69\x6F\x6E\x62\x61\x72","\x54\x72\x69\x67\x67\x65\x72\x3A\x20\x41\x63\x74\x69\x6F\x6E\x20\x6E\x6F\x74\x20\x72\x65\x63\x6F\x67\x6E\x69\x7A\x65\x64\x20","\x66\x6F\x72\x45\x61\x63\x68","\x69\x64","\x6E\x65\x77\x54\x72\x69\x67\x67\x65\x72","\x70\x75\x73\x68","\x72\x65\x6D\x6F\x76\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x77\x68\x65\x72\x65","\x66\x69\x6E\x64","\x41\x63\x74\x69\x6F\x6E\x73","\x61\x66\x74\x65\x72\x42\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x61\x66\x74\x65\x72\x42\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x54\x72\x69\x67\x67\x65\x72\x41\x6C\x6C\x49\x64","\x68\x61\x73\x4F\x77\x6E\x50\x72\x6F\x70\x65\x72\x74\x79","\x41\x6C\x6C","\x54\x72\x69\x67\x67\x65\x72\x41\x6E\x79\x49\x64","\x41\x6E\x79","\x69\x6E\x64\x65\x78\x4F\x66","\x6D\x65\x72\x67\x65","\x75\x6E\x73\x68\x69\x66\x74"];_0xa92f[0];var _=require(_0xa92f[1]);var Util=require(_0xa92f[2]);var Voice=require(_0xa92f[3]);var Mail=require(_0xa92f[4]);var Chat=require(_0xa92f[5]);var Cm=require(_0xa92f[6]);var UrlForward=require(_0xa92f[7]);var Jscripty=require(_0xa92f[8]);var Integration=require(_0xa92f[9]);var Trigger=require(_0xa92f[11])[_0xa92f[10]];var ToolsAction=require(_0xa92f[11])[_0xa92f[12]];var ToolsCondition=require(_0xa92f[11])[_0xa92f[13]];var ReportAgent=require(_0xa92f[11])[_0xa92f[14]];var MailMessage=require(_0xa92f[11])[_0xa92f[15]];module[_0xa92f[16]]=function(_0xc08axf){var _0xc08ax10= new Util();var _0xc08ax11= new Voice();var _0xc08ax12= new Chat();var _0xc08ax13= new Mail();var _0xc08ax14= new Cm();var _0xc08ax15= new Jscripty();var _0xc08ax16= new Integration(_0xc08axf);var _0xc08ax17= new UrlForward(_0xc08axf);Trigger[_0xa92f[37]](_0xa92f[36])[_0xa92f[35]]()[_0xa92f[34]](function(_0xc08ax19){synchTriggers(_0xc08ax19);console[_0xa92f[21]](_0xa92f[19],_0xc08ax19[_0xa92f[20]]);ReportAgent[_0xa92f[26]](function(_0xc08ax1a){var _0xc08ax1b=_0xc08ax10[_0xa92f[24]](_0xc08ax1a,_[_0xa92f[23]](_0xc08ax19,{channel:_0xa92f[22]}));console[_0xa92f[21]](_0xa92f[25],_0xc08ax1b[_0xa92f[20]]);execActions(_0xc08ax1b,_0xc08ax1a,_0xa92f[22],_0xc08ax10,_0xc08ax11,_0xc08ax13,_0xc08ax14,_0xc08ax15,_0xc08ax16,_0xc08ax17)});ReportAgent[_0xa92f[30]](function(_0xc08ax1a){if(_0xc08ax1a[_0xa92f[28]](_0xa92f[27])){var _0xc08ax1b=_0xc08ax10[_0xa92f[24]](_0xc08ax1a,_[_0xa92f[23]](_0xc08ax19,{channel:_0xa92f[22]}));console[_0xa92f[21]](_0xa92f[29],_0xc08ax1b[_0xa92f[20]]);execActions(_0xc08ax1b,_0xc08ax1a,_0xa92f[22],_0xc08ax10,_0xc08ax11,_0xc08ax13,_0xc08ax14,_0xc08ax15,_0xc08ax16,_0xc08ax17)}});MailMessage[_0xa92f[26]](function(_0xc08ax1a){if(_0xc08ax1a[_0xa92f[31]]===_0xa92f[32]){var _0xc08ax1b=_0xc08ax10[_0xa92f[24]](_0xc08ax1a,_[_0xa92f[23]](_0xc08ax19,{channel:_0xa92f[33]}));execActions(_0xc08ax1b,_0xc08ax1a,_0xa92f[33],_0xc08ax10,_0xc08ax11,_0xc08ax13,_0xc08ax14,_0xc08ax15,_0xc08ax16,_0xc08ax17)}})})[_0xa92f[18]](function(_0xc08ax18){console[_0xa92f[17]](_0xc08ax18)})};function execActions(_0xc08ax1b,_0xc08ax1a,_0xc08ax1d,_0xc08ax10,_0xc08ax11,_0xc08ax13,_0xc08ax14,_0xc08ax15,_0xc08ax16,_0xc08ax17){_0xc08ax1b[_0xa92f[55]](function(_0xc08ax1e){console[_0xa92f[21]](_0xa92f[38]+_0xc08ax1e[_0xa92f[39]]+_0xa92f[40]);switch(_0xc08ax1e[_0xa92f[39]]){case _0xa92f[43]:_0xc08ax14[_0xa92f[42]](_0xc08ax1a[_0xa92f[41]],_0xc08ax1d);break;case _0xa92f[45]:_0xc08ax17[_0xa92f[44]](_0xc08ax1a[_0xa92f[41]],_0xc08ax1d,_0xc08ax1e);break;case _0xa92f[48]:_0xc08ax15[_0xa92f[47]](_0xc08ax1e[_0xa92f[46]],_0xc08ax1a[_0xa92f[41]],_0xc08ax1d);break;case _0xa92f[50]:_0xc08ax13[_0xa92f[49]](_0xc08ax1e);break;case _0xa92f[51]:;case _0xa92f[53]:_0xc08ax16[_0xa92f[52]](_0xc08ax1e,_0xc08ax1a,_0xc08ax1d);break;default:console[_0xa92f[21]](_0xa92f[54],_0xc08ax1e[_0xa92f[39]])}})}function synchTriggers(_0xc08ax19){Trigger[_0xa92f[26]](function(_0xc08ax1a,_0xc08ax20){_0xc08ax20[_0xa92f[57]][_0xa92f[56]]=_0xc08ax1a[_0xa92f[56]];_0xc08ax19[_0xa92f[58]](_0xc08ax20[_0xa92f[57]])});Trigger[_0xa92f[30]](function(_0xc08ax1a,_0xc08ax20){updateCollection(_0xc08ax19,_0xc08ax1a)});Trigger[_0xa92f[60]](function(_0xc08ax1a){_[_0xa92f[59]](_0xc08ax19,{id:_0xc08ax1a[_0xa92f[56]]})});ToolsAction[_0xa92f[64]](function(_0xc08ax1a){var _0xc08ax21=parseInt(_0xc08ax1a[_0xa92f[61]].TriggerId);var _0xc08ax22=_[_0xa92f[62]](_0xc08ax19,function(_0xc08ax23){return _0xc08ax23[_0xa92f[56]]===_0xc08ax21});if(_0xc08ax22){_0xc08ax22[_0xa92f[63]]=[]}});ToolsAction[_0xa92f[65]](function(_0xc08ax1a){_[_0xa92f[55]](_0xc08ax1a,function(_0xc08ax1e){var _0xc08ax22=_[_0xa92f[62]](_0xc08ax19,function(_0xc08ax23){return _0xc08ax23[_0xa92f[56]]===parseInt(_0xc08ax1e.TriggerId)});if(_0xc08ax22){_0xc08ax22[_0xa92f[63]][_0xa92f[58]](_0xc08ax1e)}})});ToolsCondition[_0xa92f[64]](function(_0xc08ax1a){if(_0xc08ax1a[_0xa92f[61]][_0xa92f[67]](_0xa92f[66])){var _0xc08ax24=parseInt(_0xc08ax1a[_0xa92f[61]].TriggerAllId);var _0xc08ax25=_[_0xa92f[62]](_0xc08ax19,function(_0xc08ax23){return _0xc08ax23[_0xa92f[56]]===_0xc08ax24});if(_0xc08ax25){_0xc08ax25[_0xa92f[68]]=[]}}else {if(_0xc08ax1a[_0xa92f[61]][_0xa92f[67]](_0xa92f[69])){var _0xc08ax26=parseInt(_0xc08ax1a[_0xa92f[61]].TriggerAnyId);var _0xc08ax27=_[_0xa92f[62]](_0xc08ax19,function(_0xc08ax23){return _0xc08ax23[_0xa92f[56]]===_0xc08ax26});if(_0xc08ax27){_0xc08ax27[_0xa92f[70]]=[]}}}});ToolsCondition[_0xa92f[65]](function(_0xc08ax1a){_[_0xa92f[55]](_0xc08ax1a,function(_0xc08ax28){if(_0xc08ax28[_0xa92f[41]][_0xa92f[67]](_0xa92f[66])){var _0xc08ax24=parseInt(_0xc08ax28[_0xa92f[41]].TriggerAllId);var _0xc08ax25=_[_0xa92f[62]](_0xc08ax19,function(_0xc08ax23){return _0xc08ax23[_0xa92f[56]]===_0xc08ax24});if(_0xc08ax25){_0xc08ax25[_0xa92f[68]][_0xa92f[58]](_0xc08ax28)}}else {if(_0xc08ax28[_0xa92f[41]][_0xa92f[67]](_0xa92f[69])){var _0xc08ax26=parseInt(_0xc08ax28[_0xa92f[41]].TriggerAnyId);var _0xc08ax27=_[_0xa92f[62]](_0xc08ax19,function(_0xc08ax23){return _0xc08ax23[_0xa92f[56]]===_0xc08ax26});if(_0xc08ax27){_0xc08ax27[_0xa92f[70]][_0xa92f[58]](_0xc08ax28)}}}})})}function updateCollection(_0xc08ax2a,_0xc08ax1a){var _0xc08ax2b=_[_0xa92f[62]](_0xc08ax2a,{id:_0xc08ax1a[_0xa92f[56]]});var _0xc08ax2c=_0xc08ax2a[_0xa92f[71]](_0xc08ax2b);if(_0xc08ax2b){_0xc08ax2a[_0xc08ax2c]=_[_0xa92f[72]](_0xc08ax2a[_0xc08ax2c],_0xc08ax1a)}else {_0xc08ax2a[_0xa92f[73]](_0xc08ax1a)}} \ No newline at end of file diff --git a/server/config/triggers/jscripty.js b/server/config/triggers/jscripty.js index e9dc2da..5eb85c1 100644 --- a/server/config/triggers/jscripty.js +++ b/server/config/triggers/jscripty.js @@ -1 +1 @@ -var _0xfc3c=["\x6C\x6F\x64\x61\x73\x68","\x54\x72\x69\x67\x67\x65\x72\x20\x4A\x73\x63\x72\x69\x70\x74\x79\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x6D\x61\x6E\x61\x67\x65\x4A\x73\x63\x72\x69\x70\x74\x79","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x52\x65\x70\x6F\x72\x74\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x64","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x6A\x73\x63\x72\x69\x70\x74\x79","\x65\x76\x65\x6E\x74\x43\x68\x61\x6E\x6E\x65\x6C","\x70\x72\x6F\x6A\x65\x63\x74\x49\x64","\x63\x61\x74\x63\x68","\x63\x72\x65\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];var _=require(_0xfc3c[0]);function Jscripty(){console[_0xfc3c[2]](_0xfc3c[1])}Jscripty[_0xfc3c[4]][_0xfc3c[3]]=function(_0x4b13x3,_0x4b13x4,_0x4b13x5){var _0x4b13x6=require(_0xfc3c[6])[_0xfc3c[5]];delete _0x4b13x4[_0xfc3c[7]];_0x4b13x4[_0xfc3c[8]]=_0xfc3c[9];_0x4b13x4[_0xfc3c[10]]=_0x4b13x5;_0x4b13x4[_0xfc3c[11]]=_0x4b13x3;return _0x4b13x6[_0xfc3c[13]](_0x4b13x4)[_0xfc3c[12]](function(_0x4b13x7){console[_0xfc3c[2]](_0x4b13x7)})};module[_0xfc3c[14]]=Jscripty \ No newline at end of file +var _0x3f57=["\x6C\x6F\x64\x61\x73\x68","\x54\x72\x69\x67\x67\x65\x72\x20\x4A\x73\x63\x72\x69\x70\x74\x79\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x6D\x61\x6E\x61\x67\x65\x4A\x73\x63\x72\x69\x70\x74\x79","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x52\x65\x70\x6F\x72\x74\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x64","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x6A\x73\x63\x72\x69\x70\x74\x79","\x65\x76\x65\x6E\x74\x43\x68\x61\x6E\x6E\x65\x6C","\x70\x72\x6F\x6A\x65\x63\x74\x49\x64","\x63\x61\x74\x63\x68","\x63\x72\x65\x61\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];var _=require(_0x3f57[0]);function Jscripty(){console[_0x3f57[2]](_0x3f57[1])}Jscripty[_0x3f57[4]][_0x3f57[3]]=function(_0x60cbx3,_0x60cbx4,_0x60cbx5){var _0x60cbx6=require(_0x3f57[6])[_0x3f57[5]];delete _0x60cbx4[_0x3f57[7]];_0x60cbx4[_0x3f57[8]]=_0x3f57[9];_0x60cbx4[_0x3f57[10]]=_0x60cbx5;_0x60cbx4[_0x3f57[11]]=_0x60cbx3;return _0x60cbx6[_0x3f57[13]](_0x60cbx4)[_0x3f57[12]](function(_0x60cbx7){console[_0x3f57[2]](_0x60cbx7)})};module[_0x3f57[14]]=Jscripty \ No newline at end of file diff --git a/server/config/triggers/mail.js b/server/config/triggers/mail.js index 042f0ab..a3429c0 100644 --- a/server/config/triggers/mail.js +++ b/server/config/triggers/mail.js @@ -1 +1 @@ -var _0x79c9=["\x6C\x6F\x64\x61\x73\x68","\x54\x72\x69\x67\x67\x65\x72\x20\x4D\x61\x69\x6C\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x73\x65\x6E\x64\x54\x65\x6D\x70\x6C\x61\x74\x65","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x54\x65\x6D\x70\x6C\x61\x74\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x4F\x75\x74","\x63\x61\x74\x63\x68","\x53\x45\x4E\x44\x49\x4E\x47","\x73\x75\x62\x6A\x65\x63\x74","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x3B","\x73\x70\x6C\x69\x74","\x64\x61\x74\x61\x33","\x64\x61\x74\x61\x34","\x68\x74\x6D\x6C","\x74\x65\x78\x74","\x63\x72\x65\x61\x74\x65","\x74\x68\x65\x6E","\x64\x61\x74\x61\x31","\x66\x69\x6E\x64\x42\x79\x49\x64","\x66\x69\x6E\x64\x4F\x6E\x65","\x65\x78\x70\x6F\x72\x74\x73"];var _=require(_0x79c9[0]);function Mail(){console[_0x79c9[2]](_0x79c9[1])}Mail[_0x79c9[4]][_0x79c9[3]]=function(_0x77e2x3){sendTemplate(_0x77e2x3)};function sendTemplate(_0x77e2x5){var _0x77e2x6=require(_0x79c9[6])[_0x79c9[5]];var _0x77e2x7=require(_0x79c9[6])[_0x79c9[7]];var _0x77e2x8=require(_0x79c9[6])[_0x79c9[8]];var _0x77e2x9;return _0x77e2x8[_0x79c9[23]]({where:{service:true}})[_0x79c9[20]](function(_0x77e2xc){_0x77e2x9=_0x77e2xc;return _0x77e2x6[_0x79c9[22]](Number(_0x77e2x5[_0x79c9[21]]),{include:[{all:true}]})})[_0x79c9[20]](function(_0x77e2xa){return _0x77e2x7[_0x79c9[19]]({status:_0x79c9[10],subject:_0x77e2xa[_0x79c9[11]],from:[_0x77e2x9[_0x79c9[12]]],to:_0x77e2x5[_0x79c9[15]][_0x79c9[14]](_0x79c9[13]),cc:_0x77e2x5[_0x79c9[16]]?_0x77e2x5[_0x79c9[16]][_0x79c9[14]](_0x79c9[13]):[],html:_0x77e2xa[_0x79c9[17]]||null,text:_0x77e2xa[_0x79c9[18]]||null})[_0x79c9[9]](function(_0x77e2xb){console[_0x79c9[2]](_0x77e2xb)})})}module[_0x79c9[24]]=Mail \ No newline at end of file +var _0xe4e8=["\x6C\x6F\x64\x61\x73\x68","\x54\x72\x69\x67\x67\x65\x72\x20\x4D\x61\x69\x6C\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x73\x65\x6E\x64\x54\x65\x6D\x70\x6C\x61\x74\x65","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x54\x65\x6D\x70\x6C\x61\x74\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x4D\x61\x69\x6C\x53\x65\x72\x76\x65\x72\x4F\x75\x74","\x63\x61\x74\x63\x68","\x53\x45\x4E\x44\x49\x4E\x47","\x73\x75\x62\x6A\x65\x63\x74","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x3B","\x73\x70\x6C\x69\x74","\x64\x61\x74\x61\x33","\x64\x61\x74\x61\x34","\x68\x74\x6D\x6C","\x74\x65\x78\x74","\x63\x72\x65\x61\x74\x65","\x74\x68\x65\x6E","\x64\x61\x74\x61\x31","\x66\x69\x6E\x64\x42\x79\x49\x64","\x66\x69\x6E\x64\x4F\x6E\x65","\x65\x78\x70\x6F\x72\x74\x73"];var _=require(_0xe4e8[0]);function Mail(){console[_0xe4e8[2]](_0xe4e8[1])}Mail[_0xe4e8[4]][_0xe4e8[3]]=function(_0x994ax3){sendTemplate(_0x994ax3)};function sendTemplate(_0x994ax5){var _0x994ax6=require(_0xe4e8[6])[_0xe4e8[5]];var _0x994ax7=require(_0xe4e8[6])[_0xe4e8[7]];var _0x994ax8=require(_0xe4e8[6])[_0xe4e8[8]];var _0x994ax9;return _0x994ax8[_0xe4e8[23]]({where:{service:true}})[_0xe4e8[20]](function(_0x994axc){_0x994ax9=_0x994axc;return _0x994ax6[_0xe4e8[22]](Number(_0x994ax5[_0xe4e8[21]]),{include:[{all:true}]})})[_0xe4e8[20]](function(_0x994axa){return _0x994ax7[_0xe4e8[19]]({status:_0xe4e8[10],subject:_0x994axa[_0xe4e8[11]],from:[_0x994ax9[_0xe4e8[12]]],to:_0x994ax5[_0xe4e8[15]][_0xe4e8[14]](_0xe4e8[13]),cc:_0x994ax5[_0xe4e8[16]]?_0x994ax5[_0xe4e8[16]][_0xe4e8[14]](_0xe4e8[13]):[],html:_0x994axa[_0xe4e8[17]]||null,text:_0x994axa[_0xe4e8[18]]||null})[_0xe4e8[9]](function(_0x994axb){console[_0xe4e8[2]](_0x994axb)})})}module[_0xe4e8[24]]=Mail \ No newline at end of file diff --git a/server/config/triggers/urlForward.js b/server/config/triggers/urlForward.js new file mode 100644 index 0000000..a5f4ded --- /dev/null +++ b/server/config/triggers/urlForward.js @@ -0,0 +1 @@ +var _0x3291=["\x6C\x6F\x64\x61\x73\x68","\x72\x65\x71\x75\x65\x73\x74\x2D\x70\x72\x6F\x6D\x69\x73\x65","\x54\x72\x69\x67\x67\x65\x72\x20\x55\x52\x4C\x20\x46\x6F\x72\x77\x61\x72\x64\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x73\x65\x6E\x64\x52\x65\x71\x75\x65\x73\x74","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x47\x45\x54","\x64\x61\x74\x61\x31","\x64\x61\x74\x61\x32","\x50\x4F\x53\x54","\x52\x65\x70\x6F\x72\x74\x49\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x64","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x75\x72\x6C\x46\x6F\x72\x77\x61\x72\x64","\x65\x76\x65\x6E\x74\x43\x68\x61\x6E\x6E\x65\x6C","\x63\x61\x74\x63\x68","\x63\x72\x65\x61\x74\x65","\x66\x69\x6E\x61\x6C\x6C\x79","\x55\x52\x4C\x20\x46\x6F\x72\x77\x61\x72\x64\x20\x66\x61\x69\x6C\x65\x64\x21","\x65\x72\x72\x6F\x72","\x65\x78\x69\x74\x53\x74\x61\x74\x75\x73","\x66\x61\x69\x6C\x65\x64","\x55\x52\x4C\x20\x46\x6F\x72\x77\x61\x72\x64\x20\x73\x75\x63\x63\x65\x73\x73\x66\x75\x6C\x21","\x73\x75\x63\x63\x65\x73\x73","\x74\x68\x65\x6E","\x65\x78\x70\x6F\x72\x74\x73"];var _=require(_0x3291[0]);var rp=require(_0x3291[1]);function UrlForward(){console[_0x3291[3]](_0x3291[2])}UrlForward[_0x3291[5]][_0x3291[4]]=function(_0xe758x4,_0xe758x5,_0xe758x6){switch(_0xe758x6[_0x3291[7]]){case _0x3291[6]:;case _0x3291[9]:httpRequest(_0xe758x4,_0xe758x5,_0xe758x6[_0x3291[7]],_0xe758x6[_0x3291[8]]);break;default:}};function httpRequest(_0xe758x4,_0xe758x5,_0xe758x8,_0xe758x9){var _0xe758xa=require(_0x3291[11])[_0x3291[10]];var _0xe758xb={method:_0xe758x8,uri:_0xe758x9,body:_0xe758x4,json:true};rp(_0xe758xb)[_0x3291[25]](function(_0xe758xd){console[_0x3291[3]](_0x3291[23]);_0xe758x4[_0x3291[21]]=_0x3291[24]})[_0x3291[16]](function(_0xe758xc){console[_0x3291[20]](_0x3291[19]);_0xe758x4[_0x3291[21]]=_0x3291[22]})[_0x3291[18]](function(){delete _0xe758x4[_0x3291[12]];_0xe758x4[_0x3291[13]]=_0x3291[14];_0xe758x4[_0x3291[15]]=_0xe758x5;return _0xe758xa[_0x3291[17]](_0xe758x4)[_0x3291[16]](function(_0xe758xc){console[_0x3291[3]](_0xe758xc)})})}module[_0x3291[26]]=UrlForward \ No newline at end of file diff --git a/server/config/triggers/util.js b/server/config/triggers/util.js index bc96c49..445419b 100644 --- a/server/config/triggers/util.js +++ b/server/config/triggers/util.js @@ -1 +1 @@ -var _0xe1fb=["\x6C\x6F\x64\x61\x73\x68","\x54\x72\x69\x67\x67\x65\x72\x20\x55\x74\x69\x6C\x73\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x67\x65\x74\x41\x63\x74\x69\x6F\x6E\x73\x42\x79\x54\x72\x69\x67\x67\x65\x72\x73","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x66\x72\x6F\x6D","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x3B","\x73\x70\x6C\x69\x74","\x63\x63","\x74\x6F","\x73\x74\x61\x74\x75\x73","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x41\x6C\x6C","\x41\x6E\x79","\x6C\x65\x6E\x67\x74\x68","\x72\x65\x64\x75\x63\x65","\x63\x6F\x6E\x63\x61\x74","\x6A\x6F\x69\x6E","\x66\x69\x65\x6C\x64","\x76\x61\x6C\x75\x65","\x65\x71\x75\x61\x6C\x73","\x6E\x6F\x74\x5F\x65\x71\x75\x61\x6C\x73","\x67\x72\x65\x61\x74\x65\x72\x5F\x6F\x72\x5F\x65\x71\x75\x61\x6C","\x6C\x65\x73\x73\x5F\x6F\x72\x5F\x65\x71\x75\x61\x6C","\x67\x72\x65\x61\x74\x65\x72","\x6C\x65\x73\x73","\x6F\x70\x65\x72\x61\x74\x6F\x72","\x65\x78\x70\x6F\x72\x74\x73"];var _=require(_0xe1fb[0]);function Util(){console[_0xe1fb[2]](_0xe1fb[1])}Util[_0xe1fb[4]][_0xe1fb[3]]=function(_0xb1b5x3,_0xb1b5x4){var _0xb1b5x5=[];_0xb1b5x3[_0xe1fb[6]][_0xe1fb[5]]=_0xb1b5x3[_0xe1fb[6]][_0xe1fb[5]]?_0xb1b5x3[_0xe1fb[6]][_0xe1fb[5]][_0xe1fb[8]](_0xe1fb[7]):[];_0xb1b5x3[_0xe1fb[6]][_0xe1fb[9]]=_0xb1b5x3[_0xe1fb[6]][_0xe1fb[9]]?_0xb1b5x3[_0xe1fb[6]][_0xe1fb[9]][_0xe1fb[8]](_0xe1fb[7]):[];_0xb1b5x3[_0xe1fb[6]][_0xe1fb[10]]=_0xb1b5x3[_0xe1fb[6]][_0xe1fb[10]]?_0xb1b5x3[_0xe1fb[6]][_0xe1fb[10]][_0xe1fb[8]](_0xe1fb[7]):[];_0xb1b5x4[_0xe1fb[13]](function(_0xb1b5x6){if(_0xb1b5x6[_0xe1fb[11]]){var _0xb1b5x7=[];var _0xb1b5x8=[];_0xb1b5x6[_0xe1fb[14]][_0xe1fb[13]](function(_0xb1b5x9){_0xb1b5x7[_0xe1fb[12]](checkCondition(_0xb1b5x9[_0xe1fb[6]]||_0xb1b5x9,_0xb1b5x3[_0xe1fb[6]]))});_0xb1b5x6[_0xe1fb[15]][_0xe1fb[13]](function(_0xb1b5x9){_0xb1b5x8[_0xe1fb[12]](checkCondition(_0xb1b5x9[_0xe1fb[6]]||_0xb1b5x9,_0xb1b5x3[_0xe1fb[6]]))});var _0xb1b5xa=[],_0xb1b5xb=[];_0xb1b5xa[_0xe1fb[12]](_[_0xe1fb[17]](_0xb1b5x7[_0xe1fb[16]]?_0xb1b5x7:[true],function(_0xb1b5xc,_0xb1b5xd){return _0xb1b5xc&&_0xb1b5xd}));_0xb1b5xb[_0xe1fb[12]](_[_0xe1fb[17]](_0xb1b5x8[_0xe1fb[16]]?_0xb1b5x8:[true],function(_0xb1b5xc,_0xb1b5xd){return _0xb1b5xc||_0xb1b5xd}));var _0xb1b5xe=_0xb1b5xa[_0xe1fb[18]](_0xb1b5xb);var _0xb1b5xf=_[_0xe1fb[17]](_0xb1b5xe[_0xe1fb[16]]?_0xb1b5xe:[true],function(_0xb1b5xc,_0xb1b5xd){return _0xb1b5xc&&_0xb1b5xd});if(_0xb1b5xf){_0xb1b5x5=_0xb1b5x5[_0xe1fb[18]](_0xb1b5x6.Actions)}}});_0xb1b5x3[_0xe1fb[6]][_0xe1fb[5]]=_0xb1b5x3[_0xe1fb[6]][_0xe1fb[5]][_0xe1fb[19]](_0xe1fb[7]);_0xb1b5x3[_0xe1fb[6]][_0xe1fb[9]]=_0xb1b5x3[_0xe1fb[6]][_0xe1fb[9]][_0xe1fb[19]](_0xe1fb[7]);_0xb1b5x3[_0xe1fb[6]][_0xe1fb[10]]=_0xb1b5x3[_0xe1fb[6]][_0xe1fb[10]][_0xe1fb[19]](_0xe1fb[7]);return _0xb1b5x5};function checkCondition(_0xb1b5x9,_0xb1b5x3){var _0xb1b5x11;switch(_0xb1b5x9[_0xe1fb[28]]){case _0xe1fb[22]:_0xb1b5x11=(_0xb1b5x3[_0xb1b5x9[_0xe1fb[20]]]===_0xb1b5x9[_0xe1fb[21]]);break;case _0xe1fb[23]:_0xb1b5x11=(_0xb1b5x3[_0xb1b5x9[_0xe1fb[20]]]!==_0xb1b5x9[_0xe1fb[21]]);break;case _0xe1fb[24]:_0xb1b5x11=(_0xb1b5x3[_0xb1b5x9[_0xe1fb[20]]]>=Number(_0xb1b5x9[_0xe1fb[21]]));break;case _0xe1fb[25]:_0xb1b5x11=(_0xb1b5x3[_0xb1b5x9[_0xe1fb[20]]]<=Number(_0xb1b5x9[_0xe1fb[21]]));break;case _0xe1fb[26]:_0xb1b5x11=(_0xb1b5x3[_0xb1b5x9[_0xe1fb[20]]]>Number(_0xb1b5x9[_0xe1fb[21]]));break;case _0xe1fb[27]:_0xb1b5x11=(_0xb1b5x3[_0xb1b5x9[_0xe1fb[20]]]=Number(_0xa917x9[_0xde2d[21]]));break;case _0xde2d[25]:_0xa917x11=(_0xa917x3[_0xa917x9[_0xde2d[20]]]<=Number(_0xa917x9[_0xde2d[21]]));break;case _0xde2d[26]:_0xa917x11=(_0xa917x3[_0xa917x9[_0xde2d[20]]]>Number(_0xa917x9[_0xde2d[21]]));break;case _0xde2d[27]:_0xa917x11=(_0xa917x3[_0xa917x9[_0xde2d[20]]]_0xdeabx16)){console[_0x9540[36]](_0x9540[35]);return false}};if(_0xdeabx11!==_0x9540[31]){var _0xdeabx17=_0xdeabxb[moment()[_0x9540[37]]()];var _0xdeabx18=_[_0x9540[38]](_0xdeabxb,_0xdeabx11[_0x9540[30]](_0x9540[34])[0]);var _0xdeabx19=_[_0x9540[38]](_0xdeabxb,_0xdeabx11[_0x9540[30]](_0x9540[34])[1]);for(_0xdeabxe=0;_0xdeabxe<_0xdeabx18;_0xdeabxe++){_0xdeabxf=_0xdeabxb[_0x9540[39]]();_0xdeabxb[_0x9540[40]](_0xdeabxf)};_0xdeabx18=_[_0x9540[38]](_0xdeabxb,_0xdeabx11[_0x9540[30]](_0x9540[34])[0]);_0xdeabx19=_[_0x9540[38]](_0xdeabxb,_0xdeabx11[_0x9540[30]](_0x9540[34])[1])+1;_0xdeabxb=_0xdeabxb[_0x9540[41]](_0xdeabx18,_0xdeabx19);if(!_[_0x9540[42]](_0xdeabxb,_0xdeabx17)){console[_0x9540[36]](_0x9540[43]);return false}};if(_0xdeabx12!==_0x9540[31]){var _0xdeabx1a=moment()[_0x9540[44]]();var _0xdeabx1b=_[_0x9540[38]](_0xdeabxc,parseInt(_0xdeabx12[_0x9540[30]](_0x9540[34])[0],10));var _0xdeabx1c=_[_0x9540[38]](_0xdeabxc,parseInt(_0xdeabx12[_0x9540[30]](_0x9540[34])[1]));for(_0xdeabxe=0;_0xdeabxe<_0xdeabx1b;_0xdeabxe++){_0xdeabxf=_0xdeabxc[_0x9540[39]]();_0xdeabxc[_0x9540[40]](_0xdeabxf)};_0xdeabx1b=_[_0x9540[38]](_0xdeabxc,parseInt(_0xdeabx12[_0x9540[30]](_0x9540[34])[0],10));_0xdeabx1c=_[_0x9540[38]](_0xdeabxc,parseInt(_0xdeabx12[_0x9540[30]](_0x9540[34])[1]),10)+1;_0xdeabxc=_0xdeabxc[_0x9540[41]](_0xdeabx1b,_0xdeabx1c);if(!_[_0x9540[42]](_0xdeabxc,_0xdeabx1a)){console[_0x9540[36]](_0x9540[45]);return false}};if(_0xdeabx13!==_0x9540[31]){var _0xdeabx1d=_0xdeabxd[moment()[_0x9540[46]]()];var _0xdeabx1e=_[_0x9540[38]](_0xdeabxd,_0xdeabx13[_0x9540[30]](_0x9540[34])[0]);var _0xdeabx1f=_[_0x9540[38]](_0xdeabxd,_0xdeabx13[_0x9540[30]](_0x9540[34])[1]);for(_0xdeabxe=0;_0xdeabxe<_0xdeabx1e;_0xdeabxe++){_0xdeabxf=_0xdeabxd[_0x9540[39]]();_0xdeabxd[_0x9540[40]](_0xdeabxf)};_0xdeabx1e=_[_0x9540[38]](_0xdeabxd,_0xdeabx13[_0x9540[30]](_0x9540[34])[0]);_0xdeabx1f=_[_0x9540[38]](_0xdeabxd,_0xdeabx13[_0x9540[30]](_0x9540[34])[1])+1;_0xdeabxd=_0xdeabxd[_0x9540[41]](_0xdeabx1e,_0xdeabx1f);if(!_[_0x9540[42]](_0xdeabxd,_0xdeabx1d)){console[_0x9540[36]](_0x9540[47]);return false}};console[_0x9540[36]](_0x9540[48]);return true};var isValidInterval=function(_0xdeabxa){if(_[_0x9540[49]](_0xdeabxa)){for(var _0xdeabxe=0;_0xdeabxe<_0xdeabxa[_0x9540[51]][_0x9540[50]];_0xdeabxe++){if(!checkInterval(_0xdeabxa[_0x9540[51]][_0xdeabxe][_0x9540[52]])){return false}};return true}else {return checkInterval(_0xdeabxa)}};var getQuery=function(_0xdeabx22,_0xdeabx23){var _0xdeabx24={where:{}};if(_0xdeabx22){var _0xdeabx25,_0xdeabx26={};for(var _0xdeabx27 in _0xdeabx22){if(_[_0x9540[42]](_0xdeabx27,_0x9540[53])){_0xdeabx25=_0xdeabx27[_0x9540[55]](_0x9540[53],_0x9540[54]);if(_0xdeabx22[_0xdeabx25+_0x9540[56]]){_0xdeabx24[_0x9540[58]][_0x9540[57]]=_0xdeabx24[_0x9540[58]][_0x9540[57]]||[];_0xdeabx26={};_0xdeabx26[_0xdeabx25]={$gte:moment(_0xdeabx22[_0xdeabx27])[_0x9540[59]](_0x9540[37])};_0xdeabx24[_0x9540[58]][_0x9540[57]][_0x9540[40]](_0xdeabx26);_0xdeabx26={};_0xdeabx26[_0xdeabx25]={$lte:moment(_0xdeabx22[_0xdeabx25+_0x9540[56]])[_0x9540[60]](_0x9540[37])};_0xdeabx24[_0x9540[58]][_0x9540[57]][_0x9540[40]](_0xdeabx26);delete _0xdeabx22[_0xdeabx25+_0x9540[56]]}else {_0xdeabx24[_0x9540[58]][_0xdeabx27[_0x9540[55]](_0x9540[53],_0x9540[54])]={$gte:moment(_0xdeabx22[_0xdeabx27])[_0x9540[59]](_0x9540[37])}};delete _0xdeabx22[_0xdeabx27]}else {if(_[_0x9540[42]](_0xdeabx27,_0x9540[56])){_0xdeabx25=_0xdeabx27[_0x9540[55]](_0x9540[56],_0x9540[54]);if(_0xdeabx22[_0xdeabx25+_0x9540[53]]){_0xdeabx24[_0x9540[58]][_0x9540[57]]=_0xdeabx24[_0x9540[58]][_0x9540[57]]||[];_0xdeabx26={};_0xdeabx26[_0xdeabx25]={$lte:moment(_0xdeabx22[_0xdeabx27])[_0x9540[60]](_0x9540[37])};_0xdeabx24[_0x9540[58]][_0x9540[57]][_0x9540[40]](_0xdeabx26);_0xdeabx26[_0xdeabx25]={$gte:moment(_0xdeabx22[_0xdeabx25+_0x9540[53]])[_0x9540[59]](_0x9540[37])};_0xdeabx24[_0x9540[58]][_0x9540[57]][_0x9540[40]](_0xdeabx26);delete _0xdeabx22[_0xdeabx25+_0x9540[53]]}else {_0xdeabx24[_0x9540[58]][_0xdeabx27[_0x9540[55]](_0x9540[56],_0x9540[54])]={$lte:moment(_0xdeabx22[_0xdeabx27])[_0x9540[60]](_0x9540[37])}};delete _0xdeabx22[_0xdeabx27]}}};_[_0x9540[67]](_0xdeabx22,function(_0xdeabx28,_0xdeabx27){switch(_0xdeabx27){case _0x9540[61]:;case _0x9540[62]:_0xdeabx24[_0xdeabx27]=Number(_0xdeabx28);break;case _0x9540[63]:_0xdeabx24[_0xdeabx27]=_0xdeabx28;break;case _0x9540[64]:;case _0x9540[65]:_0xdeabx24[_0x9540[58]][_0xdeabx27]=_0xdeabx28;break;default:_0xdeabx24[_0x9540[58]][_0xdeabx27]={$like:_0x9540[66]+_0xdeabx28+_0x9540[66]}}})};if(_0xdeabx23){_[_0x9540[68]](_0xdeabx24[_0x9540[58]],_0xdeabx23)};return _0xdeabx24};var getVoiceQueuesIdByUser=function(_0xdeabx22,_0xdeabx2a){return function(_0xdeabx2b){var _0xdeabx2c=[];var _0xdeabx2d=_0xdeabx2b;var _0xdeabx24=_0xdeabx22||{};var _0xdeabx2e=_0xdeabx2a||{};return _0xdeabx2d[_0x9540[73]]({attributes:[_0x9540[71]]})[_0x9540[70]](function(_0xdeabx2f){_0xdeabx2c=_[_0x9540[72]](_0xdeabx2f,_0x9540[71])})[_0x9540[70]](function(){return VoiceQueue[_0x9540[69]](_[_0x9540[68]](getQuery(_0xdeabx22,{name:{$in:_0xdeabx2c}}),_0xdeabx2e))})}};var getChatQueuesIdByUser=function(_0xdeabx22,_0xdeabx2a){return function(_0xdeabx2b){var _0xdeabx2c=[];var _0xdeabx2d=_0xdeabx2b;var _0xdeabx24=_0xdeabx22||{};var _0xdeabx2e=_0xdeabx2a||{};return _0xdeabx2d[_0x9540[77]]({attributes:[_0x9540[76]]})[_0x9540[70]](function(_0xdeabx2f){_0xdeabx2c=_[_0x9540[72]](_0xdeabx2f,_0x9540[76])})[_0x9540[70]](function(){return ChatQueue[_0x9540[75]](_0x9540[74])[_0x9540[69]](_[_0x9540[68]](getQuery(_0xdeabx24,{id:{$in:_0xdeabx2c}}),_0xdeabx2e))})}};var getMailQueuesIdByUser=function(_0xdeabx22,_0xdeabx2a){return function(_0xdeabx2b){var _0xdeabx2c=[];var _0xdeabx2d=_0xdeabx2b;var _0xdeabx24=_0xdeabx22||{};var _0xdeabx2e=_0xdeabx2a||{};return _0xdeabx2d[_0x9540[78]]({attributes:[_0x9540[76]]})[_0x9540[70]](function(_0xdeabx2f){_0xdeabx2c=_[_0x9540[72]](_0xdeabx2f,_0x9540[76])})[_0x9540[70]](function(){return MailQueue[_0x9540[69]](_[_0x9540[68]](getQuery(_0xdeabx24,{id:{$in:_0xdeabx2c}}),_0xdeabx2e))})}};var getSmsQueuesIdByUser=function(_0xdeabx22,_0xdeabx2a){return function(_0xdeabx2b){var _0xdeabx2c=[];var _0xdeabx2d=_0xdeabx2b;var _0xdeabx24=_0xdeabx22||{};var _0xdeabx2e=_0xdeabx2a||{};return _0xdeabx2d[_0x9540[79]]({attributes:[_0x9540[76]]})[_0x9540[70]](function(_0xdeabx2f){_0xdeabx2c=_[_0x9540[72]](_0xdeabx2f,_0x9540[76])})[_0x9540[70]](function(){return SmsQueue[_0x9540[69]](_[_0x9540[68]](getQuery(_0xdeabx24,{id:{$in:_0xdeabx2c}}),_0xdeabx2e))})}};var getFaxQueuesIdByUser=function(_0xdeabx22,_0xdeabx2a){return function(_0xdeabx2b){var _0xdeabx2c=[];var _0xdeabx2d=_0xdeabx2b;var _0xdeabx24=_0xdeabx22||{};var _0xdeabx2e=_0xdeabx2a||{};return _0xdeabx2d[_0x9540[80]]({attributes:[_0x9540[76]]})[_0x9540[70]](function(_0xdeabx2f){_0xdeabx2c=_[_0x9540[72]](_0xdeabx2f,_0x9540[76])})[_0x9540[70]](function(){return FaxQueue[_0x9540[69]](_[_0x9540[68]](getQuery(_0xdeabx24,{id:{$in:_0xdeabx2c}}),_0xdeabx2e))})}};var getAgentsIdByUser=function(_0xdeabx22){return function(_0xdeabx2b){var _0xdeabx35=[];var _0xdeabx2d=_0xdeabx2b;var _0xdeabx24=_0xdeabx22||{};var _0xdeabx36=[],_0xdeabx37=[],_0xdeabx38=[],_0xdeabx39=[],_0xdeabx3a=[];return _0xdeabx2d[_0x9540[73]]({attributes:[_0x9540[71]],include:[{raw:true,model:User,attributes:[_0x9540[76]]}]})[_0x9540[70]](function(_0xdeabx2f){_0xdeabx36=_[_0x9540[72]](_0xdeabx2f,_0x9540[71]);_0xdeabx2f[_0x9540[67]](function(_0xdeabx3b){_0xdeabx35=_[_0x9540[86]](_0xdeabx35,_[_0x9540[72]](_0xdeabx3b.Users,_0x9540[76]))})})[_0x9540[70]](function(){return _0xdeabx2d[_0x9540[77]]({attributes:[_0x9540[76]],include:[{raw:true,model:User,attributes:[_0x9540[76]]}]})})[_0x9540[70]](function(_0xdeabx2f){_0xdeabx37=_[_0x9540[72]](_0xdeabx2f,_0x9540[76]);_0xdeabx2f[_0x9540[67]](function(_0xdeabx3b){_0xdeabx35=_[_0x9540[86]](_0xdeabx35,_[_0x9540[72]](_0xdeabx3b.Users,_0x9540[76]))})})[_0x9540[70]](function(){return _0xdeabx2d[_0x9540[78]]({attributes:[_0x9540[76]],include:[{raw:true,model:User,attributes:[_0x9540[76]]}]})})[_0x9540[70]](function(_0xdeabx2f){_0xdeabx38=_[_0x9540[72]](_0xdeabx2f,_0x9540[76]);_0xdeabx2f[_0x9540[67]](function(_0xdeabx3b){_0xdeabx35=_[_0x9540[86]](_0xdeabx35,_[_0x9540[72]](_0xdeabx3b.Users,_0x9540[76]))})})[_0x9540[70]](function(){return _0xdeabx2d[_0x9540[80]]({attributes:[_0x9540[76]],include:[{raw:true,model:User,attributes:[_0x9540[76]]}]})})[_0x9540[70]](function(_0xdeabx2f){_0xdeabx39=_[_0x9540[72]](_0xdeabx2f,_0x9540[76]);_0xdeabx2f[_0x9540[67]](function(_0xdeabx3b){_0xdeabx35=_[_0x9540[86]](_0xdeabx35,_[_0x9540[72]](_0xdeabx3b.Users,_0x9540[76]))})})[_0x9540[70]](function(){return _0xdeabx2d[_0x9540[79]]({attributes:[_0x9540[76]],include:[{raw:true,model:User,attributes:[_0x9540[76]]}]})})[_0x9540[70]](function(_0xdeabx2f){_0xdeabx3a=_[_0x9540[72]](_0xdeabx2f,_0x9540[76]);_0xdeabx2f[_0x9540[67]](function(_0xdeabx3b){_0xdeabx35=_[_0x9540[86]](_0xdeabx35,_[_0x9540[72]](_0xdeabx3b.Users,_0x9540[76]))})})[_0x9540[70]](function(){return User[_0x9540[75]](_0x9540[81],{method:[_0x9540[82],_0xdeabx24]},{method:[_0x9540[83],_0xdeabx24]},{method:[_0x9540[84],_0xdeabx24]},{method:[_0x9540[85],_0xdeabx24]})[_0x9540[69]](_[_0x9540[68]](getQuery(_0xdeabx24,{id:{$in:_0xdeabx35}}),{include:[{model:VoiceQueue,where:{name:{$in:_0xdeabx36}},required:false},{model:ChatQueue,where:{id:{$in:_0xdeabx37}},required:false},{model:MailQueue,where:{id:{$in:_0xdeabx38}},required:false},{model:FaxQueue,where:{id:{$in:_0xdeabx39}},required:false},{model:SmsQueue,where:{id:{$in:_0xdeabx3a}},required:false}]}))})}};var stripTrailingSlash=function(_0xdeabx3d){if(_0xdeabx3d[_0x9540[87]](-1)===_0x9540[88]){return _0xdeabx3d[_0x9540[87]](0,_0xdeabx3d[_0x9540[50]]-1)};return _0xdeabx3d};module[_0x9540[89]]={getQuery:getQuery,getVoiceQueuesIdByUser:getVoiceQueuesIdByUser,getChatQueuesIdByUser:getChatQueuesIdByUser,getMailQueuesIdByUser:getMailQueuesIdByUser,getFaxQueuesIdByUser:getFaxQueuesIdByUser,getAgentsIdByUser:getAgentsIdByUser,stripTrailingSlash:stripTrailingSlash,isValidInterval:isValidInterval,errorManager:require(_0x9540[90])} \ No newline at end of file +var _0xa9b4=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x6F\x6D\x65\x6E\x74","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x46\x61\x78\x51\x75\x65\x75\x65","\x53\x6D\x73\x51\x75\x65\x75\x65","\x73\x75\x6E","\x6D\x6F\x6E","\x74\x75\x65","\x77\x65\x64","\x74\x68\x75","\x66\x72\x69","\x73\x61\x74","\x6A\x61\x6E","\x66\x65\x62","\x6D\x61\x72","\x61\x70\x72","\x6D\x61\x79","\x6A\x75\x6E","\x6A\x75\x6C","\x61\x75\x67","\x73\x65\x70","\x6F\x63\x74","\x6E\x6F\x76","\x64\x65\x63","\x2C","\x73\x70\x6C\x69\x74","\x2A","\x48\x48\x3A\x6D\x6D","\x66\x6F\x72\x6D\x61\x74","\x2D","\x54\x52\x41\x4E\x47\x45\x20\x4B\x4F","\x6C\x6F\x67","\x64\x61\x79","\x69\x6E\x64\x65\x78\x4F\x66","\x73\x68\x69\x66\x74","\x70\x75\x73\x68","\x73\x6C\x69\x63\x65","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x44\x57\x52\x41\x4E\x47\x45\x20\x4B\x4F","\x64\x61\x74\x65","\x44\x4D\x52\x41\x4E\x47\x45\x20\x4B\x4F","\x6D\x6F\x6E\x74\x68","\x4D\x52\x41\x4E\x47\x45\x20\x4B\x4F","\x49\x4E\x54\x45\x52\x56\x41\x4C\x20\x4F\x4B","\x69\x73\x4F\x62\x6A\x65\x63\x74","\x6C\x65\x6E\x67\x74\x68","\x53\x75\x62\x49\x6E\x74\x65\x72\x76\x61\x6C\x73","\x69\x6E\x74\x65\x72\x76\x61\x6C","\x5F\x75\x69\x46\x72\x6F\x6D","","\x72\x65\x70\x6C\x61\x63\x65","\x5F\x75\x69\x54\x6F","\x24\x61\x6E\x64","\x77\x68\x65\x72\x65","\x73\x74\x61\x72\x74\x4F\x66","\x65\x6E\x64\x4F\x66","\x6F\x66\x66\x73\x65\x74","\x6C\x69\x6D\x69\x74","\x6F\x72\x64\x65\x72","\x74\x79\x70\x65","\x70\x61\x72\x65\x6E\x74","\x25","\x66\x6F\x72\x45\x61\x63\x68","\x6D\x65\x72\x67\x65","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x74\x68\x65\x6E","\x6E\x61\x6D\x65","\x6D\x61\x70","\x67\x65\x74\x50\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73","\x64\x65\x66\x61\x75\x6C\x74","\x73\x63\x6F\x70\x65","\x69\x64","\x67\x65\x74\x50\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73","\x67\x65\x74\x50\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73","\x67\x65\x74\x50\x53\x6D\x73\x51\x75\x65\x75\x65\x73","\x67\x65\x74\x50\x46\x61\x78\x51\x75\x65\x75\x65\x73","\x61\x67\x65\x6E\x74","\x63\x68\x65\x63\x6B\x50\x61\x75\x73\x65\x53\x74\x61\x74\x75\x73","\x63\x68\x65\x63\x6B\x51\x75\x65\x75\x65\x53\x74\x61\x74\x75\x73","\x63\x68\x65\x63\x6B\x4F\x6E\x6C\x69\x6E\x65\x53\x74\x61\x74\x75\x73","\x63\x68\x65\x63\x6B\x53\x69\x70\x53\x74\x61\x74\x75\x73","\x75\x6E\x69\x6F\x6E","\x73\x75\x62\x73\x74\x72","\x2F","\x65\x78\x70\x6F\x72\x74\x73","\x2E\x2F\x65\x72\x72\x6F\x72"];_0xa9b4[0];var _=require(_0xa9b4[1]);var moment=require(_0xa9b4[2]);var User=require(_0xa9b4[4])[_0xa9b4[3]];var VoiceQueue=require(_0xa9b4[4])[_0xa9b4[5]];var ChatQueue=require(_0xa9b4[4])[_0xa9b4[6]];var MailQueue=require(_0xa9b4[4])[_0xa9b4[7]];var FaxQueue=require(_0xa9b4[4])[_0xa9b4[8]];var SmsQueue=require(_0xa9b4[4])[_0xa9b4[9]];var checkInterval=function(_0x90aexa){var _0x90aexb=[_0xa9b4[10],_0xa9b4[11],_0xa9b4[12],_0xa9b4[13],_0xa9b4[14],_0xa9b4[15],_0xa9b4[16]];var _0x90aexc=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31];var _0x90aexd=[_0xa9b4[17],_0xa9b4[18],_0xa9b4[19],_0xa9b4[20],_0xa9b4[21],_0xa9b4[22],_0xa9b4[23],_0xa9b4[24],_0xa9b4[25],_0xa9b4[26],_0xa9b4[27],_0xa9b4[28]];var _0x90aexe,_0x90aexf;var _0x90aex10=_0x90aexa[_0xa9b4[30]](_0xa9b4[29])[0];var _0x90aex11=_0x90aexa[_0xa9b4[30]](_0xa9b4[29])[1];var _0x90aex12=_0x90aexa[_0xa9b4[30]](_0xa9b4[29])[2];var _0x90aex13=_0x90aexa[_0xa9b4[30]](_0xa9b4[29])[3];if(_0x90aex10!==_0xa9b4[31]){var _0x90aex14=moment()[_0xa9b4[33]](_0xa9b4[32]);var _0x90aex15=_0x90aex10[_0xa9b4[30]](_0xa9b4[34])[0];var _0x90aex16=_0x90aex10[_0xa9b4[30]](_0xa9b4[34])[1];if((_0x90aex14<_0x90aex15)||(_0x90aex14>_0x90aex16)){console[_0xa9b4[36]](_0xa9b4[35]);return false}};if(_0x90aex11!==_0xa9b4[31]){var _0x90aex17=_0x90aexb[moment()[_0xa9b4[37]]()];var _0x90aex18=_[_0xa9b4[38]](_0x90aexb,_0x90aex11[_0xa9b4[30]](_0xa9b4[34])[0]);var _0x90aex19=_[_0xa9b4[38]](_0x90aexb,_0x90aex11[_0xa9b4[30]](_0xa9b4[34])[1]);for(_0x90aexe=0;_0x90aexe<_0x90aex18;_0x90aexe++){_0x90aexf=_0x90aexb[_0xa9b4[39]]();_0x90aexb[_0xa9b4[40]](_0x90aexf)};_0x90aex18=_[_0xa9b4[38]](_0x90aexb,_0x90aex11[_0xa9b4[30]](_0xa9b4[34])[0]);_0x90aex19=_[_0xa9b4[38]](_0x90aexb,_0x90aex11[_0xa9b4[30]](_0xa9b4[34])[1])+1;_0x90aexb=_0x90aexb[_0xa9b4[41]](_0x90aex18,_0x90aex19);if(!_[_0xa9b4[42]](_0x90aexb,_0x90aex17)){console[_0xa9b4[36]](_0xa9b4[43]);return false}};if(_0x90aex12!==_0xa9b4[31]){var _0x90aex1a=moment()[_0xa9b4[44]]();var _0x90aex1b=_[_0xa9b4[38]](_0x90aexc,parseInt(_0x90aex12[_0xa9b4[30]](_0xa9b4[34])[0],10));var _0x90aex1c=_[_0xa9b4[38]](_0x90aexc,parseInt(_0x90aex12[_0xa9b4[30]](_0xa9b4[34])[1]));for(_0x90aexe=0;_0x90aexe<_0x90aex1b;_0x90aexe++){_0x90aexf=_0x90aexc[_0xa9b4[39]]();_0x90aexc[_0xa9b4[40]](_0x90aexf)};_0x90aex1b=_[_0xa9b4[38]](_0x90aexc,parseInt(_0x90aex12[_0xa9b4[30]](_0xa9b4[34])[0],10));_0x90aex1c=_[_0xa9b4[38]](_0x90aexc,parseInt(_0x90aex12[_0xa9b4[30]](_0xa9b4[34])[1]),10)+1;_0x90aexc=_0x90aexc[_0xa9b4[41]](_0x90aex1b,_0x90aex1c);if(!_[_0xa9b4[42]](_0x90aexc,_0x90aex1a)){console[_0xa9b4[36]](_0xa9b4[45]);return false}};if(_0x90aex13!==_0xa9b4[31]){var _0x90aex1d=_0x90aexd[moment()[_0xa9b4[46]]()];var _0x90aex1e=_[_0xa9b4[38]](_0x90aexd,_0x90aex13[_0xa9b4[30]](_0xa9b4[34])[0]);var _0x90aex1f=_[_0xa9b4[38]](_0x90aexd,_0x90aex13[_0xa9b4[30]](_0xa9b4[34])[1]);for(_0x90aexe=0;_0x90aexe<_0x90aex1e;_0x90aexe++){_0x90aexf=_0x90aexd[_0xa9b4[39]]();_0x90aexd[_0xa9b4[40]](_0x90aexf)};_0x90aex1e=_[_0xa9b4[38]](_0x90aexd,_0x90aex13[_0xa9b4[30]](_0xa9b4[34])[0]);_0x90aex1f=_[_0xa9b4[38]](_0x90aexd,_0x90aex13[_0xa9b4[30]](_0xa9b4[34])[1])+1;_0x90aexd=_0x90aexd[_0xa9b4[41]](_0x90aex1e,_0x90aex1f);if(!_[_0xa9b4[42]](_0x90aexd,_0x90aex1d)){console[_0xa9b4[36]](_0xa9b4[47]);return false}};console[_0xa9b4[36]](_0xa9b4[48]);return true};var isValidInterval=function(_0x90aexa){if(_[_0xa9b4[49]](_0x90aexa)){for(var _0x90aexe=0;_0x90aexe<_0x90aexa[_0xa9b4[51]][_0xa9b4[50]];_0x90aexe++){if(!checkInterval(_0x90aexa[_0xa9b4[51]][_0x90aexe][_0xa9b4[52]])){return false}};return true}else {return checkInterval(_0x90aexa)}};var getQuery=function(_0x90aex22,_0x90aex23){var _0x90aex24={where:{}};if(_0x90aex22){var _0x90aex25,_0x90aex26={};for(var _0x90aex27 in _0x90aex22){if(_[_0xa9b4[42]](_0x90aex27,_0xa9b4[53])){_0x90aex25=_0x90aex27[_0xa9b4[55]](_0xa9b4[53],_0xa9b4[54]);if(_0x90aex22[_0x90aex25+_0xa9b4[56]]){_0x90aex24[_0xa9b4[58]][_0xa9b4[57]]=_0x90aex24[_0xa9b4[58]][_0xa9b4[57]]||[];_0x90aex26={};_0x90aex26[_0x90aex25]={$gte:moment(_0x90aex22[_0x90aex27])[_0xa9b4[59]](_0xa9b4[37])};_0x90aex24[_0xa9b4[58]][_0xa9b4[57]][_0xa9b4[40]](_0x90aex26);_0x90aex26={};_0x90aex26[_0x90aex25]={$lte:moment(_0x90aex22[_0x90aex25+_0xa9b4[56]])[_0xa9b4[60]](_0xa9b4[37])};_0x90aex24[_0xa9b4[58]][_0xa9b4[57]][_0xa9b4[40]](_0x90aex26);delete _0x90aex22[_0x90aex25+_0xa9b4[56]]}else {_0x90aex24[_0xa9b4[58]][_0x90aex27[_0xa9b4[55]](_0xa9b4[53],_0xa9b4[54])]={$gte:moment(_0x90aex22[_0x90aex27])[_0xa9b4[59]](_0xa9b4[37])}};delete _0x90aex22[_0x90aex27]}else {if(_[_0xa9b4[42]](_0x90aex27,_0xa9b4[56])){_0x90aex25=_0x90aex27[_0xa9b4[55]](_0xa9b4[56],_0xa9b4[54]);if(_0x90aex22[_0x90aex25+_0xa9b4[53]]){_0x90aex24[_0xa9b4[58]][_0xa9b4[57]]=_0x90aex24[_0xa9b4[58]][_0xa9b4[57]]||[];_0x90aex26={};_0x90aex26[_0x90aex25]={$lte:moment(_0x90aex22[_0x90aex27])[_0xa9b4[60]](_0xa9b4[37])};_0x90aex24[_0xa9b4[58]][_0xa9b4[57]][_0xa9b4[40]](_0x90aex26);_0x90aex26[_0x90aex25]={$gte:moment(_0x90aex22[_0x90aex25+_0xa9b4[53]])[_0xa9b4[59]](_0xa9b4[37])};_0x90aex24[_0xa9b4[58]][_0xa9b4[57]][_0xa9b4[40]](_0x90aex26);delete _0x90aex22[_0x90aex25+_0xa9b4[53]]}else {_0x90aex24[_0xa9b4[58]][_0x90aex27[_0xa9b4[55]](_0xa9b4[56],_0xa9b4[54])]={$lte:moment(_0x90aex22[_0x90aex27])[_0xa9b4[60]](_0xa9b4[37])}};delete _0x90aex22[_0x90aex27]}}};_[_0xa9b4[67]](_0x90aex22,function(_0x90aex28,_0x90aex27){switch(_0x90aex27){case _0xa9b4[61]:;case _0xa9b4[62]:_0x90aex24[_0x90aex27]=Number(_0x90aex28);break;case _0xa9b4[63]:_0x90aex24[_0x90aex27]=_0x90aex28;break;case _0xa9b4[64]:;case _0xa9b4[65]:_0x90aex24[_0xa9b4[58]][_0x90aex27]=_0x90aex28;break;default:_0x90aex24[_0xa9b4[58]][_0x90aex27]={$like:_0xa9b4[66]+_0x90aex28+_0xa9b4[66]}}})};if(_0x90aex23){_[_0xa9b4[68]](_0x90aex24[_0xa9b4[58]],_0x90aex23)};return _0x90aex24};var getVoiceQueuesIdByUser=function(_0x90aex22,_0x90aex2a){return function(_0x90aex2b){var _0x90aex2c=[];var _0x90aex2d=_0x90aex2b;var _0x90aex24=_0x90aex22||{};var _0x90aex2e=_0x90aex2a||{};return _0x90aex2d[_0xa9b4[73]]({attributes:[_0xa9b4[71]]})[_0xa9b4[70]](function(_0x90aex2f){_0x90aex2c=_[_0xa9b4[72]](_0x90aex2f,_0xa9b4[71])})[_0xa9b4[70]](function(){return VoiceQueue[_0xa9b4[69]](_[_0xa9b4[68]](getQuery(_0x90aex22,{name:{$in:_0x90aex2c}}),_0x90aex2e))})}};var getChatQueuesIdByUser=function(_0x90aex22,_0x90aex2a){return function(_0x90aex2b){var _0x90aex2c=[];var _0x90aex2d=_0x90aex2b;var _0x90aex24=_0x90aex22||{};var _0x90aex2e=_0x90aex2a||{};return _0x90aex2d[_0xa9b4[77]]({attributes:[_0xa9b4[76]]})[_0xa9b4[70]](function(_0x90aex2f){_0x90aex2c=_[_0xa9b4[72]](_0x90aex2f,_0xa9b4[76])})[_0xa9b4[70]](function(){return ChatQueue[_0xa9b4[75]](_0xa9b4[74])[_0xa9b4[69]](_[_0xa9b4[68]](getQuery(_0x90aex24,{id:{$in:_0x90aex2c}}),_0x90aex2e))})}};var getMailQueuesIdByUser=function(_0x90aex22,_0x90aex2a){return function(_0x90aex2b){var _0x90aex2c=[];var _0x90aex2d=_0x90aex2b;var _0x90aex24=_0x90aex22||{};var _0x90aex2e=_0x90aex2a||{};return _0x90aex2d[_0xa9b4[78]]({attributes:[_0xa9b4[76]]})[_0xa9b4[70]](function(_0x90aex2f){_0x90aex2c=_[_0xa9b4[72]](_0x90aex2f,_0xa9b4[76])})[_0xa9b4[70]](function(){return MailQueue[_0xa9b4[69]](_[_0xa9b4[68]](getQuery(_0x90aex24,{id:{$in:_0x90aex2c}}),_0x90aex2e))})}};var getSmsQueuesIdByUser=function(_0x90aex22,_0x90aex2a){return function(_0x90aex2b){var _0x90aex2c=[];var _0x90aex2d=_0x90aex2b;var _0x90aex24=_0x90aex22||{};var _0x90aex2e=_0x90aex2a||{};return _0x90aex2d[_0xa9b4[79]]({attributes:[_0xa9b4[76]]})[_0xa9b4[70]](function(_0x90aex2f){_0x90aex2c=_[_0xa9b4[72]](_0x90aex2f,_0xa9b4[76])})[_0xa9b4[70]](function(){return SmsQueue[_0xa9b4[69]](_[_0xa9b4[68]](getQuery(_0x90aex24,{id:{$in:_0x90aex2c}}),_0x90aex2e))})}};var getFaxQueuesIdByUser=function(_0x90aex22,_0x90aex2a){return function(_0x90aex2b){var _0x90aex2c=[];var _0x90aex2d=_0x90aex2b;var _0x90aex24=_0x90aex22||{};var _0x90aex2e=_0x90aex2a||{};return _0x90aex2d[_0xa9b4[80]]({attributes:[_0xa9b4[76]]})[_0xa9b4[70]](function(_0x90aex2f){_0x90aex2c=_[_0xa9b4[72]](_0x90aex2f,_0xa9b4[76])})[_0xa9b4[70]](function(){return FaxQueue[_0xa9b4[69]](_[_0xa9b4[68]](getQuery(_0x90aex24,{id:{$in:_0x90aex2c}}),_0x90aex2e))})}};var getAgentsIdByUser=function(_0x90aex22){return function(_0x90aex2b){var _0x90aex35=[];var _0x90aex2d=_0x90aex2b;var _0x90aex24=_0x90aex22||{};var _0x90aex36=[],_0x90aex37=[],_0x90aex38=[],_0x90aex39=[],_0x90aex3a=[];return _0x90aex2d[_0xa9b4[73]]({attributes:[_0xa9b4[71]],include:[{raw:true,model:User,attributes:[_0xa9b4[76]]}]})[_0xa9b4[70]](function(_0x90aex2f){_0x90aex36=_[_0xa9b4[72]](_0x90aex2f,_0xa9b4[71]);_0x90aex2f[_0xa9b4[67]](function(_0x90aex3b){_0x90aex35=_[_0xa9b4[86]](_0x90aex35,_[_0xa9b4[72]](_0x90aex3b.Users,_0xa9b4[76]))})})[_0xa9b4[70]](function(){return _0x90aex2d[_0xa9b4[77]]({attributes:[_0xa9b4[76]],include:[{raw:true,model:User,attributes:[_0xa9b4[76]]}]})})[_0xa9b4[70]](function(_0x90aex2f){_0x90aex37=_[_0xa9b4[72]](_0x90aex2f,_0xa9b4[76]);_0x90aex2f[_0xa9b4[67]](function(_0x90aex3b){_0x90aex35=_[_0xa9b4[86]](_0x90aex35,_[_0xa9b4[72]](_0x90aex3b.Users,_0xa9b4[76]))})})[_0xa9b4[70]](function(){return _0x90aex2d[_0xa9b4[78]]({attributes:[_0xa9b4[76]],include:[{raw:true,model:User,attributes:[_0xa9b4[76]]}]})})[_0xa9b4[70]](function(_0x90aex2f){_0x90aex38=_[_0xa9b4[72]](_0x90aex2f,_0xa9b4[76]);_0x90aex2f[_0xa9b4[67]](function(_0x90aex3b){_0x90aex35=_[_0xa9b4[86]](_0x90aex35,_[_0xa9b4[72]](_0x90aex3b.Users,_0xa9b4[76]))})})[_0xa9b4[70]](function(){return _0x90aex2d[_0xa9b4[80]]({attributes:[_0xa9b4[76]],include:[{raw:true,model:User,attributes:[_0xa9b4[76]]}]})})[_0xa9b4[70]](function(_0x90aex2f){_0x90aex39=_[_0xa9b4[72]](_0x90aex2f,_0xa9b4[76]);_0x90aex2f[_0xa9b4[67]](function(_0x90aex3b){_0x90aex35=_[_0xa9b4[86]](_0x90aex35,_[_0xa9b4[72]](_0x90aex3b.Users,_0xa9b4[76]))})})[_0xa9b4[70]](function(){return _0x90aex2d[_0xa9b4[79]]({attributes:[_0xa9b4[76]],include:[{raw:true,model:User,attributes:[_0xa9b4[76]]}]})})[_0xa9b4[70]](function(_0x90aex2f){_0x90aex3a=_[_0xa9b4[72]](_0x90aex2f,_0xa9b4[76]);_0x90aex2f[_0xa9b4[67]](function(_0x90aex3b){_0x90aex35=_[_0xa9b4[86]](_0x90aex35,_[_0xa9b4[72]](_0x90aex3b.Users,_0xa9b4[76]))})})[_0xa9b4[70]](function(){return User[_0xa9b4[75]](_0xa9b4[81],{method:[_0xa9b4[82],_0x90aex24]},{method:[_0xa9b4[83],_0x90aex24]},{method:[_0xa9b4[84],_0x90aex24]},{method:[_0xa9b4[85],_0x90aex24]})[_0xa9b4[69]](_[_0xa9b4[68]](getQuery(_0x90aex24,{id:{$in:_0x90aex35}}),{include:[{model:VoiceQueue,where:{name:{$in:_0x90aex36}},required:false},{model:ChatQueue,where:{id:{$in:_0x90aex37}},required:false},{model:MailQueue,where:{id:{$in:_0x90aex38}},required:false},{model:FaxQueue,where:{id:{$in:_0x90aex39}},required:false},{model:SmsQueue,where:{id:{$in:_0x90aex3a}},required:false}]}))})}};var stripTrailingSlash=function(_0x90aex3d){if(_0x90aex3d[_0xa9b4[87]](-1)===_0xa9b4[88]){return _0x90aex3d[_0xa9b4[87]](0,_0x90aex3d[_0xa9b4[50]]-1)};return _0x90aex3d};module[_0xa9b4[89]]={getQuery:getQuery,getVoiceQueuesIdByUser:getVoiceQueuesIdByUser,getChatQueuesIdByUser:getChatQueuesIdByUser,getMailQueuesIdByUser:getMailQueuesIdByUser,getFaxQueuesIdByUser:getFaxQueuesIdByUser,getAgentsIdByUser:getAgentsIdByUser,stripTrailingSlash:stripTrailingSlash,isValidInterval:isValidInterval,errorManager:require(_0xa9b4[90])} \ No newline at end of file diff --git a/server/migrations/20160404155902-motion.js b/server/migrations/20160404155902-motion.js index 67dd5fa..30bc0c4 100644 --- a/server/migrations/20160404155902-motion.js +++ b/server/migrations/20160404155902-motion.js @@ -1 +1 @@ -var _0x5d8f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x73","\x6E\x61\x6D\x65","\x55\x4E\x49\x51\x55\x45","\x61\x64\x64\x49\x6E\x64\x65\x78","\x72\x65\x6D\x6F\x76\x65\x49\x6E\x64\x65\x78"];_0x5d8f[0];module[_0x5d8f[1]]={up:function(_0x4282x1,_0x4282x2){_0x4282x1[_0x5d8f[5]](_0x5d8f[2],[_0x5d8f[3]],{unique:true,indicesType:_0x5d8f[4],indexName:_0x5d8f[3]})},down:function(_0x4282x1,_0x4282x2){_0x4282x1[_0x5d8f[6]](_0x5d8f[2],_0x5d8f[3])}} \ No newline at end of file +var _0x9050=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x73","\x6E\x61\x6D\x65","\x55\x4E\x49\x51\x55\x45","\x61\x64\x64\x49\x6E\x64\x65\x78","\x72\x65\x6D\x6F\x76\x65\x49\x6E\x64\x65\x78"];_0x9050[0];module[_0x9050[1]]={up:function(_0x1ab1x1,_0x1ab1x2){_0x1ab1x1[_0x9050[5]](_0x9050[2],[_0x9050[3]],{unique:true,indicesType:_0x9050[4],indexName:_0x9050[3]})},down:function(_0x1ab1x1,_0x1ab1x2){_0x1ab1x1[_0x9050[6]](_0x9050[2],_0x9050[3])}} \ No newline at end of file diff --git a/server/migrations/20160405155748-motion.js b/server/migrations/20160405155748-motion.js index d1dacd2..005c558 100644 --- a/server/migrations/20160405155748-motion.js +++ b/server/migrations/20160405155748-motion.js @@ -1 +1 @@ -var _0x2487=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x5F\x68\x69\x73\x74\x6F\x72\x79","\x68\x6F\x6C\x64\x74\x69\x6D\x65","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x75\x6E\x69\x71\x75\x65\x69\x64","\x61\x64\x64\x49\x6E\x64\x65\x78","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x49\x6E\x64\x65\x78"];_0x2487[0];module[_0x2487[1]]={up:function(_0x92e2x1,_0x92e2x2){_0x92e2x1[_0x2487[4]](_0x2487[2],_0x2487[3],_0x92e2x2.INTEGER);_0x92e2x1[_0x2487[6]](_0x2487[2],[_0x2487[5]],{indexName:_0x2487[5]})},down:function(_0x92e2x1,_0x92e2x2){_0x92e2x1[_0x2487[7]](_0x2487[2],_0x2487[3]);_0x92e2x1[_0x2487[8]](_0x2487[2],_0x2487[5])}} \ No newline at end of file +var _0xedab=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65\x5F\x68\x69\x73\x74\x6F\x72\x79","\x68\x6F\x6C\x64\x74\x69\x6D\x65","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x75\x6E\x69\x71\x75\x65\x69\x64","\x61\x64\x64\x49\x6E\x64\x65\x78","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x49\x6E\x64\x65\x78"];_0xedab[0];module[_0xedab[1]]={up:function(_0x3892x1,_0x3892x2){_0x3892x1[_0xedab[4]](_0xedab[2],_0xedab[3],_0x3892x2.INTEGER);_0x3892x1[_0xedab[6]](_0xedab[2],[_0xedab[5]],{indexName:_0xedab[5]})},down:function(_0x3892x1,_0x3892x2){_0x3892x1[_0xedab[7]](_0xedab[2],_0xedab[3]);_0x3892x1[_0xedab[8]](_0xedab[2],_0xedab[5])}} \ No newline at end of file diff --git a/server/migrations/20160407153439-template.js b/server/migrations/20160407153439-template.js index 02cfcb8..b8ffe57 100644 --- a/server/migrations/20160407153439-template.js +++ b/server/migrations/20160407153439-template.js @@ -1 +1 @@ -var _0xf11a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x6D\x61\x69\x6C\x5F\x74\x65\x6D\x70\x6C\x61\x74\x65\x73","\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E","\x74\x65\x78\x74","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E"];_0xf11a[0];module[_0xf11a[1]]={up:function(_0x99dex1,_0x99dex2){_0x99dex1[_0xf11a[4]](_0xf11a[2],_0xf11a[3]);_0x99dex1[_0xf11a[4]](_0xf11a[2],_0xf11a[5])},down:function(_0x99dex1,_0x99dex2){_0x99dex1[_0xf11a[6]](_0xf11a[2],_0xf11a[3],_0x99dex2.TEXT);_0x99dex1[_0xf11a[6]](_0xf11a[2],_0xf11a[5],_0x99dex2.TEXT)}} \ No newline at end of file +var _0x4522=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x6D\x61\x69\x6C\x5F\x74\x65\x6D\x70\x6C\x61\x74\x65\x73","\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E","\x74\x65\x78\x74","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E"];_0x4522[0];module[_0x4522[1]]={up:function(_0xc394x1,_0xc394x2){_0xc394x1[_0x4522[4]](_0x4522[2],_0x4522[3]);_0xc394x1[_0x4522[4]](_0x4522[2],_0x4522[5])},down:function(_0xc394x1,_0xc394x2){_0xc394x1[_0x4522[6]](_0x4522[2],_0x4522[3],_0xc394x2.TEXT);_0xc394x1[_0x4522[6]](_0x4522[2],_0x4522[5],_0xc394x2.TEXT)}} \ No newline at end of file diff --git a/server/migrations/20160407154803-template.js b/server/migrations/20160407154803-template.js index 2df989f..cf1a2ea 100644 --- a/server/migrations/20160407154803-template.js +++ b/server/migrations/20160407154803-template.js @@ -1 +1 @@ -var _0x7fed=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x6D\x61\x69\x6C\x5F\x74\x65\x6D\x70\x6C\x61\x74\x65\x73","\x74\x6F\x6F\x6C\x73\x5F\x74\x65\x6D\x70\x6C\x61\x74\x65\x73","\x72\x65\x6E\x61\x6D\x65\x54\x61\x62\x6C\x65"];_0x7fed[0];module[_0x7fed[1]]={up:function(_0x4d87x1,_0x4d87x2){_0x4d87x1[_0x7fed[4]](_0x7fed[2],_0x7fed[3])},down:function(_0x4d87x1,_0x4d87x2){_0x4d87x1[_0x7fed[4]](_0x7fed[3],_0x7fed[2])}} \ No newline at end of file +var _0x378e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x6D\x61\x69\x6C\x5F\x74\x65\x6D\x70\x6C\x61\x74\x65\x73","\x74\x6F\x6F\x6C\x73\x5F\x74\x65\x6D\x70\x6C\x61\x74\x65\x73","\x72\x65\x6E\x61\x6D\x65\x54\x61\x62\x6C\x65"];_0x378e[0];module[_0x378e[1]]={up:function(_0x3fd6x1,_0x3fd6x2){_0x3fd6x1[_0x378e[4]](_0x378e[2],_0x378e[3])},down:function(_0x3fd6x1,_0x3fd6x2){_0x3fd6x1[_0x378e[4]](_0x378e[3],_0x378e[2])}} \ No newline at end of file diff --git a/server/migrations/20160407163943-trunks.js b/server/migrations/20160407163943-trunks.js index b8c7571..50437fb 100644 --- a/server/migrations/20160407163943-trunks.js +++ b/server/migrations/20160407163943-trunks.js @@ -1 +1 @@ -var _0x69dd=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x74\x6F\x6F\x6C\x73\x5F\x74\x72\x75\x6E\x6B\x73","\x63\x6F\x6E\x74\x65\x78\x74","\x53\x54\x52\x49\x4E\x47","\x66\x72\x6F\x6D\x2D\x76\x6F\x69\x70\x2D\x70\x72\x6F\x76\x69\x64\x65\x72","\x63\x68\x61\x6E\x67\x65\x43\x6F\x6C\x75\x6D\x6E","\x66\x72\x6F\x6D\x2D\x73\x69\x70"];_0x69dd[0];module[_0x69dd[1]]={up:function(_0xe0f2x1,_0xe0f2x2){_0xe0f2x1[_0x69dd[6]](_0x69dd[2],_0x69dd[3],{type:_0xe0f2x2[_0x69dd[4]],defaultValue:_0x69dd[5]})},down:function(_0xe0f2x1,_0xe0f2x2){_0xe0f2x1[_0x69dd[6]](_0x69dd[2],_0x69dd[3],{type:_0xe0f2x2[_0x69dd[4]],defaultValue:_0x69dd[7]})}} \ No newline at end of file +var _0x3813=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x74\x6F\x6F\x6C\x73\x5F\x74\x72\x75\x6E\x6B\x73","\x63\x6F\x6E\x74\x65\x78\x74","\x53\x54\x52\x49\x4E\x47","\x66\x72\x6F\x6D\x2D\x76\x6F\x69\x70\x2D\x70\x72\x6F\x76\x69\x64\x65\x72","\x63\x68\x61\x6E\x67\x65\x43\x6F\x6C\x75\x6D\x6E","\x66\x72\x6F\x6D\x2D\x73\x69\x70"];_0x3813[0];module[_0x3813[1]]={up:function(_0x4ce5x1,_0x4ce5x2){_0x4ce5x1[_0x3813[6]](_0x3813[2],_0x3813[3],{type:_0x4ce5x2[_0x3813[4]],defaultValue:_0x3813[5]})},down:function(_0x4ce5x1,_0x4ce5x2){_0x4ce5x1[_0x3813[6]](_0x3813[2],_0x3813[3],{type:_0x4ce5x2[_0x3813[4]],defaultValue:_0x3813[7]})}} \ No newline at end of file diff --git a/server/migrations/20160411164717-mail-accounts.js b/server/migrations/20160411164717-mail-accounts.js index 9d3c27f..3d1945c 100644 --- a/server/migrations/20160411164717-mail-accounts.js +++ b/server/migrations/20160411164717-mail-accounts.js @@ -1 +1 @@ -var _0xa6c1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73","\x61\x63\x63\x6F\x75\x6E\x74","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0xa6c1[0];module[_0xa6c1[1]]={up:function(_0x28a3x1,_0x28a3x2){_0x28a3x1[_0xa6c1[4]](_0xa6c1[2],_0xa6c1[3],_0x28a3x2.STRING)},down:function(_0x28a3x1,_0x28a3x2){_0x28a3x1[_0xa6c1[5]](_0xa6c1[2],_0xa6c1[3])}} \ No newline at end of file +var _0x628c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73","\x61\x63\x63\x6F\x75\x6E\x74","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x628c[0];module[_0x628c[1]]={up:function(_0x99c3x1,_0x99c3x2){_0x99c3x1[_0x628c[4]](_0x628c[2],_0x628c[3],_0x99c3x2.STRING)},down:function(_0x99c3x1,_0x99c3x2){_0x99c3x1[_0x628c[5]](_0x628c[2],_0x628c[3])}} \ No newline at end of file diff --git a/server/migrations/20160411182439-chat_website.js b/server/migrations/20160411182439-chat_website.js index 5833f3b..1c5a9b9 100644 --- a/server/migrations/20160411182439-chat_website.js +++ b/server/migrations/20160411182439-chat_website.js @@ -1 +1 @@ -var _0x2611=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x73","\x66\x69\x64\x65\x6C\x69\x74\x79","\x42\x4F\x4F\x4C\x45\x41\x4E","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x74\x69\x6D\x65\x6F\x75\x74","\x49\x4E\x54\x45\x47\x45\x52","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x2611[0];module[_0x2611[1]]={up:function(_0x1844x1,_0x1844x2){_0x1844x1[_0x2611[5]](_0x2611[2],_0x2611[3],{type:_0x1844x2[_0x2611[4]],defaultValue:false});_0x1844x1[_0x2611[5]](_0x2611[2],_0x2611[6],{type:_0x1844x2[_0x2611[7]],defaultValue:0})},down:function(_0x1844x1,_0x1844x2){_0x1844x1[_0x2611[8]](_0x2611[2],_0x2611[3]);_0x1844x1[_0x2611[8]](_0x2611[2],_0x2611[6])}} \ No newline at end of file +var _0xafe6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x73","\x66\x69\x64\x65\x6C\x69\x74\x79","\x42\x4F\x4F\x4C\x45\x41\x4E","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x74\x69\x6D\x65\x6F\x75\x74","\x49\x4E\x54\x45\x47\x45\x52","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0xafe6[0];module[_0xafe6[1]]={up:function(_0x5253x1,_0x5253x2){_0x5253x1[_0xafe6[5]](_0xafe6[2],_0xafe6[3],{type:_0x5253x2[_0xafe6[4]],defaultValue:false});_0x5253x1[_0xafe6[5]](_0xafe6[2],_0xafe6[6],{type:_0x5253x2[_0xafe6[7]],defaultValue:0})},down:function(_0x5253x1,_0x5253x2){_0x5253x1[_0xafe6[8]](_0xafe6[2],_0xafe6[3]);_0x5253x1[_0xafe6[8]](_0xafe6[2],_0xafe6[6])}} \ No newline at end of file diff --git a/server/migrations/20160412152558-report_chat_session.js b/server/migrations/20160412152558-report_chat_session.js index e2ef026..0af2bae 100644 --- a/server/migrations/20160412152558-report_chat_session.js +++ b/server/migrations/20160412152558-report_chat_session.js @@ -1 +1 @@ -var _0x374b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x73\x65\x73\x73\x69\x6F\x6E","\x66\x69\x64\x65\x6C\x69\x74\x79","\x49\x4E\x54\x45\x47\x45\x52","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x374b[0];module[_0x374b[1]]={up:function(_0x8657x1,_0x8657x2){_0x8657x1[_0x374b[5]](_0x374b[2],_0x374b[3],{type:_0x8657x2[_0x374b[4]],defaultValue:0})},down:function(_0x8657x1,_0x8657x2){_0x8657x1[_0x374b[6]](_0x374b[2],_0x374b[3])}} \ No newline at end of file +var _0xc4cd=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x73\x65\x73\x73\x69\x6F\x6E","\x66\x69\x64\x65\x6C\x69\x74\x79","\x49\x4E\x54\x45\x47\x45\x52","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0xc4cd[0];module[_0xc4cd[1]]={up:function(_0x8a39x1,_0x8a39x2){_0x8a39x1[_0xc4cd[5]](_0xc4cd[2],_0xc4cd[3],{type:_0x8a39x2[_0xc4cd[4]],defaultValue:0})},down:function(_0x8a39x1,_0x8a39x2){_0x8a39x1[_0xc4cd[6]](_0xc4cd[2],_0xc4cd[3])}} \ No newline at end of file diff --git a/server/migrations/20160412152741-report_chat_session_history.js b/server/migrations/20160412152741-report_chat_session_history.js index ad7da20..92bf15f 100644 --- a/server/migrations/20160412152741-report_chat_session_history.js +++ b/server/migrations/20160412152741-report_chat_session_history.js @@ -1 +1 @@ -var _0x8814=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x73\x65\x73\x73\x69\x6F\x6E\x5F\x68\x69\x73\x74\x6F\x72\x79","\x66\x69\x64\x65\x6C\x69\x74\x79","\x49\x4E\x54\x45\x47\x45\x52","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x8814[0];module[_0x8814[1]]={up:function(_0xb8d8x1,_0xb8d8x2){_0xb8d8x1[_0x8814[5]](_0x8814[2],_0x8814[3],{type:_0xb8d8x2[_0x8814[4]],defaultValue:0})},down:function(_0xb8d8x1,_0xb8d8x2){_0xb8d8x1[_0x8814[6]](_0x8814[2],_0x8814[3])}} \ No newline at end of file +var _0xcd23=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x73\x65\x73\x73\x69\x6F\x6E\x5F\x68\x69\x73\x74\x6F\x72\x79","\x66\x69\x64\x65\x6C\x69\x74\x79","\x49\x4E\x54\x45\x47\x45\x52","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0xcd23[0];module[_0xcd23[1]]={up:function(_0xd7fcx1,_0xd7fcx2){_0xd7fcx1[_0xcd23[5]](_0xcd23[2],_0xcd23[3],{type:_0xd7fcx2[_0xcd23[4]],defaultValue:0})},down:function(_0xd7fcx1,_0xd7fcx2){_0xd7fcx1[_0xcd23[6]](_0xcd23[2],_0xcd23[3])}} \ No newline at end of file diff --git a/server/migrations/20160412174555-companies.js b/server/migrations/20160412174555-companies.js index 59a3574..7d7f823 100644 --- a/server/migrations/20160412174555-companies.js +++ b/server/migrations/20160412174555-companies.js @@ -1 +1 @@ -var _0x8fa8=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x63\x6D\x5F\x63\x6F\x6D\x70\x61\x6E\x69\x65\x73","\x76\x61\x74","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x63\x6F\x6D\x70\x61\x6E\x79\x49\x64","\x77\x65\x62\x73\x69\x74\x65","\x65\x6D\x61\x69\x6C","\x70\x68\x6F\x6E\x65","\x66\x61\x78","\x74\x79\x70\x65","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x8fa8[0];module[_0x8fa8[1]]={up:function(_0x7705x1,_0x7705x2){_0x7705x1[_0x8fa8[4]](_0x8fa8[2],_0x8fa8[3],_0x7705x2.STRING);_0x7705x1[_0x8fa8[4]](_0x8fa8[2],_0x8fa8[5],_0x7705x2.STRING);_0x7705x1[_0x8fa8[4]](_0x8fa8[2],_0x8fa8[6],_0x7705x2.STRING);_0x7705x1[_0x8fa8[4]](_0x8fa8[2],_0x8fa8[7],_0x7705x2.STRING);_0x7705x1[_0x8fa8[4]](_0x8fa8[2],_0x8fa8[8],_0x7705x2.STRING);_0x7705x1[_0x8fa8[4]](_0x8fa8[2],_0x8fa8[9],_0x7705x2.STRING);_0x7705x1[_0x8fa8[4]](_0x8fa8[2],_0x8fa8[10],_0x7705x2.STRING)},down:function(_0x7705x1,_0x7705x2){_0x7705x1[_0x8fa8[11]](_0x8fa8[2],_0x8fa8[3]);_0x7705x1[_0x8fa8[11]](_0x8fa8[2],_0x8fa8[5]);_0x7705x1[_0x8fa8[11]](_0x8fa8[2],_0x8fa8[6]);_0x7705x1[_0x8fa8[11]](_0x8fa8[2],_0x8fa8[7]);_0x7705x1[_0x8fa8[11]](_0x8fa8[2],_0x8fa8[8]);_0x7705x1[_0x8fa8[11]](_0x8fa8[2],_0x8fa8[9]);_0x7705x1[_0x8fa8[11]](_0x8fa8[2],_0x8fa8[10])}} \ No newline at end of file +var _0xae6d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x63\x6D\x5F\x63\x6F\x6D\x70\x61\x6E\x69\x65\x73","\x76\x61\x74","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x63\x6F\x6D\x70\x61\x6E\x79\x49\x64","\x77\x65\x62\x73\x69\x74\x65","\x65\x6D\x61\x69\x6C","\x70\x68\x6F\x6E\x65","\x66\x61\x78","\x74\x79\x70\x65","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0xae6d[0];module[_0xae6d[1]]={up:function(_0x152ex1,_0x152ex2){_0x152ex1[_0xae6d[4]](_0xae6d[2],_0xae6d[3],_0x152ex2.STRING);_0x152ex1[_0xae6d[4]](_0xae6d[2],_0xae6d[5],_0x152ex2.STRING);_0x152ex1[_0xae6d[4]](_0xae6d[2],_0xae6d[6],_0x152ex2.STRING);_0x152ex1[_0xae6d[4]](_0xae6d[2],_0xae6d[7],_0x152ex2.STRING);_0x152ex1[_0xae6d[4]](_0xae6d[2],_0xae6d[8],_0x152ex2.STRING);_0x152ex1[_0xae6d[4]](_0xae6d[2],_0xae6d[9],_0x152ex2.STRING);_0x152ex1[_0xae6d[4]](_0xae6d[2],_0xae6d[10],_0x152ex2.STRING)},down:function(_0x152ex1,_0x152ex2){_0x152ex1[_0xae6d[11]](_0xae6d[2],_0xae6d[3]);_0x152ex1[_0xae6d[11]](_0xae6d[2],_0xae6d[5]);_0x152ex1[_0xae6d[11]](_0xae6d[2],_0xae6d[6]);_0x152ex1[_0xae6d[11]](_0xae6d[2],_0xae6d[7]);_0x152ex1[_0xae6d[11]](_0xae6d[2],_0xae6d[8]);_0x152ex1[_0xae6d[11]](_0xae6d[2],_0xae6d[9]);_0x152ex1[_0xae6d[11]](_0xae6d[2],_0xae6d[10])}} \ No newline at end of file diff --git a/server/migrations/20160413115611-mail-rooms.js b/server/migrations/20160413115611-mail-rooms.js index ae3d888..ea0afa7 100644 --- a/server/migrations/20160413115611-mail-rooms.js +++ b/server/migrations/20160413115611-mail-rooms.js @@ -1 +1 @@ -var _0xcc9a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73","\x73\x74\x61\x74\x75\x73","\x4E\x45\x57","\x4F\x50\x45\x4E","\x43\x4C\x4F\x53\x45\x44","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x63\x68\x61\x6E\x67\x65\x43\x6F\x6C\x75\x6D\x6E"];_0xcc9a[0];module[_0xcc9a[1]]={up:function(_0x7e9ax1,_0x7e9ax2){_0x7e9ax1[_0xcc9a[8]](_0xcc9a[2],_0xcc9a[3],{type:_0x7e9ax2.ENUM(_0xcc9a[4],_0xcc9a[5],_0xcc9a[6],_0xcc9a[7]),defaultValue:_0xcc9a[4]})},down:function(_0x7e9ax1,_0x7e9ax2){_0x7e9ax1[_0xcc9a[8]](_0xcc9a[2],_0xcc9a[3],{type:_0x7e9ax2.ENUM(_0xcc9a[4],_0xcc9a[5],_0xcc9a[6]),defaultValue:_0xcc9a[4]})}} \ No newline at end of file +var _0x7be1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73","\x73\x74\x61\x74\x75\x73","\x4E\x45\x57","\x4F\x50\x45\x4E","\x43\x4C\x4F\x53\x45\x44","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x63\x68\x61\x6E\x67\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x7be1[0];module[_0x7be1[1]]={up:function(_0x2bacx1,_0x2bacx2){_0x2bacx1[_0x7be1[8]](_0x7be1[2],_0x7be1[3],{type:_0x2bacx2.ENUM(_0x7be1[4],_0x7be1[5],_0x7be1[6],_0x7be1[7]),defaultValue:_0x7be1[4]})},down:function(_0x2bacx1,_0x2bacx2){_0x2bacx1[_0x7be1[8]](_0x7be1[2],_0x7be1[3],{type:_0x2bacx2.ENUM(_0x7be1[4],_0x7be1[5],_0x7be1[6]),defaultValue:_0x7be1[4]})}} \ No newline at end of file diff --git a/server/migrations/20160413120157-chat-rooms.js b/server/migrations/20160413120157-chat-rooms.js index 546d04e..8c8314d 100644 --- a/server/migrations/20160413120157-chat-rooms.js +++ b/server/migrations/20160413120157-chat-rooms.js @@ -1 +1 @@ -var _0xdbdd=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x73","\x73\x74\x61\x74\x75\x73","\x4F\x50\x45\x4E","\x43\x4C\x4F\x53\x45\x44","\x41\x42\x41\x4E\x44\x4F\x4E","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x63\x68\x61\x6E\x67\x65\x43\x6F\x6C\x75\x6D\x6E"];_0xdbdd[0];module[_0xdbdd[1]]={up:function(_0x64d1x1,_0x64d1x2){_0x64d1x1[_0xdbdd[8]](_0xdbdd[2],_0xdbdd[3],{type:_0x64d1x2.ENUM(_0xdbdd[4],_0xdbdd[5],_0xdbdd[6],_0xdbdd[7]),defaultValue:_0xdbdd[4]})},down:function(_0x64d1x1,_0x64d1x2){_0x64d1x1[_0xdbdd[8]](_0xdbdd[2],_0xdbdd[3],{type:_0x64d1x2.ENUM(_0xdbdd[4],_0xdbdd[5],_0xdbdd[6]),defaultValue:_0xdbdd[4]})}} \ No newline at end of file +var _0x8785=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x73","\x73\x74\x61\x74\x75\x73","\x4F\x50\x45\x4E","\x43\x4C\x4F\x53\x45\x44","\x41\x42\x41\x4E\x44\x4F\x4E","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x63\x68\x61\x6E\x67\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x8785[0];module[_0x8785[1]]={up:function(_0x21fbx1,_0x21fbx2){_0x21fbx1[_0x8785[8]](_0x8785[2],_0x8785[3],{type:_0x21fbx2.ENUM(_0x8785[4],_0x8785[5],_0x8785[6],_0x8785[7]),defaultValue:_0x8785[4]})},down:function(_0x21fbx1,_0x21fbx2){_0x21fbx1[_0x8785[8]](_0x8785[2],_0x8785[3],{type:_0x21fbx2.ENUM(_0x8785[4],_0x8785[5],_0x8785[6]),defaultValue:_0x8785[4]})}} \ No newline at end of file diff --git a/server/migrations/20160414100530-voice_extension.js b/server/migrations/20160414100530-voice_extension.js index fc38890..b24f3ab 100644 --- a/server/migrations/20160414100530-voice_extension.js +++ b/server/migrations/20160414100530-voice_extension.js @@ -1 +1 @@ -var _0x3d5c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73","\x61\x70\x70\x54\x79\x70\x65","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x3d5c[0];module[_0x3d5c[1]]={up:function(_0xd1fbx1,_0xd1fbx2){_0xd1fbx1[_0x3d5c[4]](_0x3d5c[2],_0x3d5c[3],_0xd1fbx2.STRING)},down:function(_0xd1fbx1,_0xd1fbx2){_0xd1fbx1[_0x3d5c[5]](_0x3d5c[2],_0x3d5c[3])}} \ No newline at end of file +var _0xcad4=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73","\x61\x70\x70\x54\x79\x70\x65","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0xcad4[0];module[_0xcad4[1]]={up:function(_0x3e58x1,_0x3e58x2){_0x3e58x1[_0xcad4[4]](_0xcad4[2],_0xcad4[3],_0x3e58x2.STRING)},down:function(_0x3e58x1,_0x3e58x2){_0x3e58x1[_0xcad4[5]](_0xcad4[2],_0xcad4[3])}} \ No newline at end of file diff --git a/server/migrations/20160414113954-int_salesforce_fields.js b/server/migrations/20160414113954-int_salesforce_fields.js index 4119146..6f096f0 100644 --- a/server/migrations/20160414113954-int_salesforce_fields.js +++ b/server/migrations/20160414113954-int_salesforce_fields.js @@ -1 +1 @@ -var _0x9524=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x69\x6E\x74\x5F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x66\x69\x65\x6C\x64\x73","\x74\x79\x70\x65","\x73\x74\x72\x69\x6E\x67","\x76\x61\x72\x69\x61\x62\x6C\x65","\x63\x75\x73\x74\x6F\x6D\x56\x61\x72\x69\x61\x62\x6C\x65","\x6B\x65\x79\x56\x61\x6C\x75\x65","\x63\x68\x61\x6E\x67\x65\x43\x6F\x6C\x75\x6D\x6E","\x6B\x65\x79\x54\x79\x70\x65","\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65","\x53\x54\x52\x49\x4E\x47","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x6B\x65\x79\x5F\x76\x61\x6C\x75\x65","\x4F\x50\x45\x4E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x9524[0];module[_0x9524[1]]={up:function(_0x91afx1,_0x91afx2){_0x91afx1[_0x9524[8]](_0x9524[2],_0x9524[3],{type:_0x91afx2.ENUM(_0x9524[4],_0x9524[5],_0x9524[6],_0x9524[7]),defaultValue:_0x9524[4]});_0x91afx1[_0x9524[8]](_0x9524[2],_0x9524[9],{type:_0x91afx2.ENUM(_0x9524[4],_0x9524[5],_0x9524[6])});_0x91afx1[_0x9524[12]](_0x9524[2],_0x9524[10],{type:_0x91afx2[_0x9524[11]]})},down:function(_0x91afx1,_0x91afx2){_0x91afx1[_0x9524[8]](_0x9524[2],_0x9524[3],{type:_0x91afx2.ENUM(_0x9524[4],_0x9524[5],_0x9524[13]),defaultValue:_0x9524[14]});_0x91afx1[_0x9524[8]](_0x9524[2],_0x9524[9],{type:_0x91afx2.ENUM(_0x9524[4],_0x9524[5])});_0x91afx1[_0x9524[15]](_0x9524[2],_0x9524[10])}} \ No newline at end of file +var _0x6e00=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x69\x6E\x74\x5F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x66\x69\x65\x6C\x64\x73","\x74\x79\x70\x65","\x73\x74\x72\x69\x6E\x67","\x76\x61\x72\x69\x61\x62\x6C\x65","\x63\x75\x73\x74\x6F\x6D\x56\x61\x72\x69\x61\x62\x6C\x65","\x6B\x65\x79\x56\x61\x6C\x75\x65","\x63\x68\x61\x6E\x67\x65\x43\x6F\x6C\x75\x6D\x6E","\x6B\x65\x79\x54\x79\x70\x65","\x76\x61\x72\x69\x61\x62\x6C\x65\x4E\x61\x6D\x65","\x53\x54\x52\x49\x4E\x47","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x6B\x65\x79\x5F\x76\x61\x6C\x75\x65","\x4F\x50\x45\x4E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x6e00[0];module[_0x6e00[1]]={up:function(_0xa055x1,_0xa055x2){_0xa055x1[_0x6e00[8]](_0x6e00[2],_0x6e00[3],{type:_0xa055x2.ENUM(_0x6e00[4],_0x6e00[5],_0x6e00[6],_0x6e00[7]),defaultValue:_0x6e00[4]});_0xa055x1[_0x6e00[8]](_0x6e00[2],_0x6e00[9],{type:_0xa055x2.ENUM(_0x6e00[4],_0x6e00[5],_0x6e00[6])});_0xa055x1[_0x6e00[12]](_0x6e00[2],_0x6e00[10],{type:_0xa055x2[_0x6e00[11]]})},down:function(_0xa055x1,_0xa055x2){_0xa055x1[_0x6e00[8]](_0x6e00[2],_0x6e00[3],{type:_0xa055x2.ENUM(_0x6e00[4],_0x6e00[5],_0x6e00[13]),defaultValue:_0x6e00[14]});_0xa055x1[_0x6e00[8]](_0x6e00[2],_0x6e00[9],{type:_0xa055x2.ENUM(_0x6e00[4],_0x6e00[5])});_0xa055x1[_0x6e00[15]](_0x6e00[2],_0x6e00[10])}} \ No newline at end of file diff --git a/server/migrations/20160414162957-sms_account.js b/server/migrations/20160414162957-sms_account.js index 60c0de6..c73365a 100644 --- a/server/migrations/20160414162957-sms_account.js +++ b/server/migrations/20160414162957-sms_account.js @@ -1 +1 @@ -var _0x2899=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x73\x6D\x73\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x73\x6D\x73\x74\x79\x70\x65","\x62\x61\x73\x69\x63","\x63\x6C\x61\x73\x73\x69\x63","\x63\x6C\x61\x73\x73\x69\x63\x2B","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x74\x65","\x53\x54\x52\x49\x4E\x47","\x74\x79\x70\x65","\x74\x77\x69\x6C\x69\x6F","\x73\x6B\x65\x62\x62\x79","\x63\x68\x61\x6E\x67\x65\x43\x6F\x6C\x75\x6D\x6E","\x70\x68\x6F\x6E\x65","\x73\x6D\x73\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x53\x6D\x73\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x73\x6D\x73\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x20\x41\x44\x44\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x73\x6D\x73\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x5F\x69\x62\x66\x6B\x5F\x31\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x28\x53\x6D\x73\x41\x63\x63\x6F\x75\x6E\x74\x49\x64\x29\x20\x52\x45\x46\x45\x52\x45\x4E\x43\x45\x53\x20\x6D\x6F\x74\x69\x6F\x6E\x2E\x73\x6D\x73\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73\x28\x69\x64\x29\x20\x4F\x4E\x20\x44\x45\x4C\x45\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45\x20\x4F\x4E\x20\x55\x50\x44\x41\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45\x3B","\x71\x75\x65\x72\x79","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E","\x49\x4E\x54\x45\x47\x45\x52","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x73\x6D\x73\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x20\x44\x52\x4F\x50\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x73\x6D\x73\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x5F\x69\x62\x66\x6B\x5F\x31\x3B"];_0x2899[0];module[_0x2899[1]]={up:function(_0x6b3bx1,_0x6b3bx2){_0x6b3bx1[_0x2899[7]](_0x2899[2],_0x2899[3],{type:_0x6b3bx2.ENUM(_0x2899[4],_0x2899[5],_0x2899[6])});_0x6b3bx1[_0x2899[7]](_0x2899[2],_0x2899[8],{type:_0x6b3bx2[_0x2899[9]]});_0x6b3bx1[_0x2899[13]](_0x2899[2],_0x2899[10],{type:_0x6b3bx2.ENUM(_0x2899[11],_0x2899[12])});_0x6b3bx1[_0x2899[13]](_0x2899[2],_0x2899[14],{type:_0x6b3bx2[_0x2899[9]],unique:true,validate:{is:/^[0-9]+$/}});_0x6b3bx1[_0x2899[7]](_0x2899[15],_0x2899[16],_0x6b3bx2.INTEGER);_0x6b3bx1[_0x2899[19]][_0x2899[18]](_0x2899[17])},down:function(_0x6b3bx1,_0x6b3bx2){_0x6b3bx1[_0x2899[20]](_0x2899[2],_0x2899[3]);_0x6b3bx1[_0x2899[20]](_0x2899[2],_0x2899[8]);_0x6b3bx1[_0x2899[13]](_0x2899[2],_0x2899[10],{type:_0x6b3bx2[_0x2899[9]]});_0x6b3bx1[_0x2899[13]](_0x2899[2],_0x2899[14],{type:_0x6b3bx2[_0x2899[21]],unique:true});_0x6b3bx1[_0x2899[20]](_0x2899[15],_0x2899[16]);_0x6b3bx1[_0x2899[19]][_0x2899[18]](_0x2899[22])}} \ No newline at end of file +var _0x999b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x73\x6D\x73\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x73\x6D\x73\x74\x79\x70\x65","\x62\x61\x73\x69\x63","\x63\x6C\x61\x73\x73\x69\x63","\x63\x6C\x61\x73\x73\x69\x63\x2B","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x74\x65","\x53\x54\x52\x49\x4E\x47","\x74\x79\x70\x65","\x74\x77\x69\x6C\x69\x6F","\x73\x6B\x65\x62\x62\x79","\x63\x68\x61\x6E\x67\x65\x43\x6F\x6C\x75\x6D\x6E","\x70\x68\x6F\x6E\x65","\x73\x6D\x73\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x53\x6D\x73\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x73\x6D\x73\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x20\x41\x44\x44\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x73\x6D\x73\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x5F\x69\x62\x66\x6B\x5F\x31\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x28\x53\x6D\x73\x41\x63\x63\x6F\x75\x6E\x74\x49\x64\x29\x20\x52\x45\x46\x45\x52\x45\x4E\x43\x45\x53\x20\x6D\x6F\x74\x69\x6F\x6E\x2E\x73\x6D\x73\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73\x28\x69\x64\x29\x20\x4F\x4E\x20\x44\x45\x4C\x45\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45\x20\x4F\x4E\x20\x55\x50\x44\x41\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45\x3B","\x71\x75\x65\x72\x79","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E","\x49\x4E\x54\x45\x47\x45\x52","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x73\x6D\x73\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x20\x44\x52\x4F\x50\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x73\x6D\x73\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x5F\x69\x62\x66\x6B\x5F\x31\x3B"];_0x999b[0];module[_0x999b[1]]={up:function(_0x7894x1,_0x7894x2){_0x7894x1[_0x999b[7]](_0x999b[2],_0x999b[3],{type:_0x7894x2.ENUM(_0x999b[4],_0x999b[5],_0x999b[6])});_0x7894x1[_0x999b[7]](_0x999b[2],_0x999b[8],{type:_0x7894x2[_0x999b[9]]});_0x7894x1[_0x999b[13]](_0x999b[2],_0x999b[10],{type:_0x7894x2.ENUM(_0x999b[11],_0x999b[12])});_0x7894x1[_0x999b[13]](_0x999b[2],_0x999b[14],{type:_0x7894x2[_0x999b[9]],unique:true,validate:{is:/^[0-9]+$/}});_0x7894x1[_0x999b[7]](_0x999b[15],_0x999b[16],_0x7894x2.INTEGER);_0x7894x1[_0x999b[19]][_0x999b[18]](_0x999b[17])},down:function(_0x7894x1,_0x7894x2){_0x7894x1[_0x999b[20]](_0x999b[2],_0x999b[3]);_0x7894x1[_0x999b[20]](_0x999b[2],_0x999b[8]);_0x7894x1[_0x999b[13]](_0x999b[2],_0x999b[10],{type:_0x7894x2[_0x999b[9]]});_0x7894x1[_0x999b[13]](_0x999b[2],_0x999b[14],{type:_0x7894x2[_0x999b[21]],unique:true});_0x7894x1[_0x999b[20]](_0x999b[15],_0x999b[16]);_0x7894x1[_0x999b[19]][_0x999b[18]](_0x999b[22])}} \ No newline at end of file diff --git a/server/migrations/20160414164310-cm_contacts.js b/server/migrations/20160414164310-cm_contacts.js index 870d383..33c9eba 100644 --- a/server/migrations/20160414164310-cm_contacts.js +++ b/server/migrations/20160414164310-cm_contacts.js @@ -1 +1 @@ -var _0x9ee3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x63\x6D\x5F\x63\x6F\x6E\x74\x61\x63\x74\x73","\x75\x72\x6C","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x9ee3[0];module[_0x9ee3[1]]={up:function(_0xb61fx1,_0xb61fx2){_0xb61fx1[_0x9ee3[4]](_0x9ee3[2],_0x9ee3[3],_0xb61fx2.STRING)},down:function(_0xb61fx1,_0xb61fx2){_0xb61fx1[_0x9ee3[5]](_0x9ee3[2],_0x9ee3[3])}} \ No newline at end of file +var _0x79ef=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x63\x6D\x5F\x63\x6F\x6E\x74\x61\x63\x74\x73","\x75\x72\x6C","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x79ef[0];module[_0x79ef[1]]={up:function(_0xe64bx1,_0xe64bx2){_0xe64bx1[_0x79ef[4]](_0x79ef[2],_0x79ef[3],_0xe64bx2.STRING)},down:function(_0xe64bx1,_0xe64bx2){_0xe64bx1[_0x79ef[5]](_0x79ef[2],_0x79ef[3])}} \ No newline at end of file diff --git a/server/migrations/20160418114658-mail-rooms.js b/server/migrations/20160418114658-mail-rooms.js index 7309d32..88381ff 100644 --- a/server/migrations/20160418114658-mail-rooms.js +++ b/server/migrations/20160418114658-mail-rooms.js @@ -1 +1 @@ -var _0x54e6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73","\x6C\x61\x73\x74\x45\x76\x65\x6E\x74","\x53\x45\x4E\x54","\x53\x45\x4E\x44\x49\x4E\x47","\x52\x45\x43\x45\x49\x56\x45\x44","\x46\x41\x49\x4C\x45\x44","\x4E\x4F\x54\x45","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x54e6[0];module[_0x54e6[1]]={up:function(_0x1012x1,_0x1012x2){_0x1012x1[_0x54e6[9]](_0x54e6[2],_0x54e6[3],{type:_0x1012x2.ENUM(_0x54e6[4],_0x54e6[5],_0x54e6[6],_0x54e6[7],_0x54e6[8])})},down:function(_0x1012x1,_0x1012x2){_0x1012x1[_0x54e6[10]](_0x54e6[2],_0x54e6[3])}} \ No newline at end of file +var _0xfa84=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73","\x6C\x61\x73\x74\x45\x76\x65\x6E\x74","\x53\x45\x4E\x54","\x53\x45\x4E\x44\x49\x4E\x47","\x52\x45\x43\x45\x49\x56\x45\x44","\x46\x41\x49\x4C\x45\x44","\x4E\x4F\x54\x45","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0xfa84[0];module[_0xfa84[1]]={up:function(_0xd8a1x1,_0xd8a1x2){_0xd8a1x1[_0xfa84[9]](_0xfa84[2],_0xfa84[3],{type:_0xd8a1x2.ENUM(_0xfa84[4],_0xfa84[5],_0xfa84[6],_0xfa84[7],_0xfa84[8])})},down:function(_0xd8a1x1,_0xd8a1x2){_0xd8a1x1[_0xfa84[10]](_0xfa84[2],_0xfa84[3])}} \ No newline at end of file diff --git a/server/migrations/20160419112635-modules.js b/server/migrations/20160419112635-modules.js index 569ebe5..ca7dd3f 100644 --- a/server/migrations/20160419112635-modules.js +++ b/server/migrations/20160419112635-modules.js @@ -1 +1 @@ -var _0x3c62=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x6D\x6F\x64\x75\x6C\x65\x73","\x4D\x6F\x64\x75\x6C\x65\x49\x64","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x6E\x61\x6D\x65","\x72\x65\x6D\x6F\x76\x65\x49\x6E\x64\x65\x78","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x6D\x6F\x64\x75\x6C\x65\x73\x20\x41\x44\x44\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x6D\x6F\x64\x75\x6C\x65\x73\x5F\x69\x62\x66\x6B\x5F\x31\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x28\x4D\x6F\x64\x75\x6C\x65\x49\x64\x29\x20\x52\x45\x46\x45\x52\x45\x4E\x43\x45\x53\x20\x6D\x6F\x74\x69\x6F\x6E\x2E\x6D\x6F\x64\x75\x6C\x65\x73\x28\x69\x64\x29\x20\x4F\x4E\x20\x44\x45\x4C\x45\x54\x45\x20\x53\x45\x54\x20\x4E\x55\x4C\x4C\x20\x4F\x4E\x20\x55\x50\x44\x41\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45\x3B","\x71\x75\x65\x72\x79","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E","\x55\x4E\x49\x51\x55\x45","\x61\x64\x64\x49\x6E\x64\x65\x78","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x6D\x6F\x64\x75\x6C\x65\x73\x20\x44\x52\x4F\x50\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x6D\x6F\x64\x75\x6C\x65\x73\x5F\x69\x62\x66\x6B\x5F\x31\x3B"];_0x3c62[0];module[_0x3c62[1]]={up:function(_0x76f9x1,_0x76f9x2){_0x76f9x1[_0x3c62[4]](_0x3c62[2],_0x3c62[3],_0x76f9x2.INTEGER);_0x76f9x1[_0x3c62[6]](_0x3c62[2],_0x3c62[5]);_0x76f9x1[_0x3c62[9]][_0x3c62[8]](_0x3c62[7])},down:function(_0x76f9x1,_0x76f9x2){_0x76f9x1[_0x3c62[10]](_0x3c62[2],_0x3c62[3]);_0x76f9x1[_0x3c62[12]](_0x3c62[2],[_0x3c62[5]],{indexName:_0x3c62[5],indicesType:_0x3c62[11]});_0x76f9x1[_0x3c62[9]][_0x3c62[8]](_0x3c62[13])}} \ No newline at end of file +var _0xae18=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x6D\x6F\x64\x75\x6C\x65\x73","\x4D\x6F\x64\x75\x6C\x65\x49\x64","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x6E\x61\x6D\x65","\x72\x65\x6D\x6F\x76\x65\x49\x6E\x64\x65\x78","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x6D\x6F\x64\x75\x6C\x65\x73\x20\x41\x44\x44\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x6D\x6F\x64\x75\x6C\x65\x73\x5F\x69\x62\x66\x6B\x5F\x31\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x28\x4D\x6F\x64\x75\x6C\x65\x49\x64\x29\x20\x52\x45\x46\x45\x52\x45\x4E\x43\x45\x53\x20\x6D\x6F\x74\x69\x6F\x6E\x2E\x6D\x6F\x64\x75\x6C\x65\x73\x28\x69\x64\x29\x20\x4F\x4E\x20\x44\x45\x4C\x45\x54\x45\x20\x53\x45\x54\x20\x4E\x55\x4C\x4C\x20\x4F\x4E\x20\x55\x50\x44\x41\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45\x3B","\x71\x75\x65\x72\x79","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E","\x55\x4E\x49\x51\x55\x45","\x61\x64\x64\x49\x6E\x64\x65\x78","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x6D\x6F\x64\x75\x6C\x65\x73\x20\x44\x52\x4F\x50\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x6D\x6F\x64\x75\x6C\x65\x73\x5F\x69\x62\x66\x6B\x5F\x31\x3B"];_0xae18[0];module[_0xae18[1]]={up:function(_0xdf1cx1,_0xdf1cx2){_0xdf1cx1[_0xae18[4]](_0xae18[2],_0xae18[3],_0xdf1cx2.INTEGER);_0xdf1cx1[_0xae18[6]](_0xae18[2],_0xae18[5]);_0xdf1cx1[_0xae18[9]][_0xae18[8]](_0xae18[7])},down:function(_0xdf1cx1,_0xdf1cx2){_0xdf1cx1[_0xae18[10]](_0xae18[2],_0xae18[3]);_0xdf1cx1[_0xae18[12]](_0xae18[2],[_0xae18[5]],{indexName:_0xae18[5],indicesType:_0xae18[11]});_0xdf1cx1[_0xae18[9]][_0xae18[8]](_0xae18[13])}} \ No newline at end of file diff --git a/server/migrations/20160419152538-user_has_modules.js b/server/migrations/20160419152538-user_has_modules.js index 6ecada8..5b13873 100644 --- a/server/migrations/20160419152538-user_has_modules.js +++ b/server/migrations/20160419152538-user_has_modules.js @@ -1 +1 @@ -var _0x4d02=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6D\x6F\x64\x75\x6C\x65\x73","\x70\x65\x72\x6D\x69\x73\x73\x69\x6F\x6E","\x49\x4E\x54\x45\x47\x45\x52","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x4d02[0];module[_0x4d02[1]]={up:function(_0xed7ex1,_0xed7ex2){_0xed7ex1[_0x4d02[5]](_0x4d02[2],_0x4d02[3],{type:_0xed7ex2[_0x4d02[4]],defaultValue:0})},down:function(_0xed7ex1,_0xed7ex2){_0xed7ex1[_0x4d02[6]](_0x4d02[2],_0x4d02[3])}} \ No newline at end of file +var _0xadd8=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6D\x6F\x64\x75\x6C\x65\x73","\x70\x65\x72\x6D\x69\x73\x73\x69\x6F\x6E","\x49\x4E\x54\x45\x47\x45\x52","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0xadd8[0];module[_0xadd8[1]]={up:function(_0x7bcbx1,_0x7bcbx2){_0x7bcbx1[_0xadd8[5]](_0xadd8[2],_0xadd8[3],{type:_0x7bcbx2[_0xadd8[4]],defaultValue:0})},down:function(_0x7bcbx1,_0x7bcbx2){_0x7bcbx1[_0xadd8[6]](_0xadd8[2],_0xadd8[3])}} \ No newline at end of file diff --git a/server/migrations/20160419162305-sms_message.js b/server/migrations/20160419162305-sms_message.js index feb82e7..512db6b 100644 --- a/server/migrations/20160419162305-sms_message.js +++ b/server/migrations/20160419162305-sms_message.js @@ -1 +1 @@ -var _0xa078=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x73\x6D\x73\x5F\x6D\x65\x73\x73\x61\x67\x65\x73","\x66\x72\x6F\x6D","\x53\x54\x52\x49\x4E\x47","\x63\x68\x61\x6E\x67\x65\x43\x6F\x6C\x75\x6D\x6E","\x74\x6F","\x6D\x65\x74\x68\x6F\x64","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E","\x73\x74\x61\x74\x75\x73","\x53\x45\x4E\x44\x49\x4E\x47","\x65\x72\x72\x6F\x72\x63\x6F\x64\x65","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x73\x6B\x65\x62\x62\x79\x5F\x6D\x65\x73\x73\x61\x67\x65\x5F\x69\x64","\x72\x65\x73\x5F\x64\x61\x74\x61","\x49\x4E\x54\x45\x47\x45\x52","\x49\x4E","\x4F\x55\x54","\x53\x45\x4E\x54","\x52\x45\x43\x45\x49\x56\x45\x44","\x46\x41\x49\x4C\x45\x44","\x4E\x4F\x54\x45"];_0xa078[0];module[_0xa078[1]]={up:function(_0x8d8dx1,_0x8d8dx2){_0x8d8dx1[_0xa078[5]](_0xa078[2],_0xa078[3],{type:_0x8d8dx2[_0xa078[4]],allowNull:false,validate:{notEmpty:true,is:/^[0-9]+$/}});_0x8d8dx1[_0xa078[5]](_0xa078[2],_0xa078[6],{type:_0x8d8dx2[_0xa078[4]],allowNull:false,validate:{notEmpty:true,is:/^[0-9]+$/}});_0x8d8dx1[_0xa078[8]](_0xa078[2],_0xa078[7]);_0x8d8dx1[_0xa078[5]](_0xa078[2],_0xa078[9],{type:_0x8d8dx2[_0xa078[4]],defaultValue:_0xa078[10]});_0x8d8dx1[_0xa078[12]](_0xa078[2],_0xa078[11],_0x8d8dx2.STRING);_0x8d8dx1[_0xa078[12]](_0xa078[2],_0xa078[13],_0x8d8dx2.INTEGER);_0x8d8dx1[_0xa078[12]](_0xa078[2],_0xa078[14],_0x8d8dx2.STRING)},down:function(_0x8d8dx1,_0x8d8dx2){_0x8d8dx1[_0xa078[5]](_0xa078[2],_0xa078[3],{type:_0x8d8dx2[_0xa078[15]],allowNull:false,validate:{notEmpty:true}});_0x8d8dx1[_0xa078[5]](_0xa078[2],_0xa078[6],{type:_0x8d8dx2[_0xa078[15]],allowNull:false,validate:{notEmpty:true}});_0x8d8dx1[_0xa078[12]](_0xa078[2],_0xa078[7],{type:_0x8d8dx2.ENUM(_0xa078[16],_0xa078[17])});_0x8d8dx1[_0xa078[5]](_0xa078[2],_0xa078[9],{type:_0x8d8dx2.ENUM(_0xa078[18],_0xa078[10],_0xa078[19],_0xa078[20],_0xa078[21]),defaultValue:_0xa078[10]});_0x8d8dx1[_0xa078[8]](_0xa078[2],_0xa078[11]);_0x8d8dx1[_0xa078[8]](_0xa078[2],_0xa078[13]);_0x8d8dx1[_0xa078[8]](_0xa078[2],_0xa078[14])}} \ No newline at end of file +var _0xf4f8=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x73\x6D\x73\x5F\x6D\x65\x73\x73\x61\x67\x65\x73","\x66\x72\x6F\x6D","\x53\x54\x52\x49\x4E\x47","\x63\x68\x61\x6E\x67\x65\x43\x6F\x6C\x75\x6D\x6E","\x74\x6F","\x6D\x65\x74\x68\x6F\x64","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E","\x73\x74\x61\x74\x75\x73","\x53\x45\x4E\x44\x49\x4E\x47","\x65\x72\x72\x6F\x72\x63\x6F\x64\x65","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x73\x6B\x65\x62\x62\x79\x5F\x6D\x65\x73\x73\x61\x67\x65\x5F\x69\x64","\x72\x65\x73\x5F\x64\x61\x74\x61","\x49\x4E\x54\x45\x47\x45\x52","\x49\x4E","\x4F\x55\x54","\x53\x45\x4E\x54","\x52\x45\x43\x45\x49\x56\x45\x44","\x46\x41\x49\x4C\x45\x44","\x4E\x4F\x54\x45"];_0xf4f8[0];module[_0xf4f8[1]]={up:function(_0xd9f2x1,_0xd9f2x2){_0xd9f2x1[_0xf4f8[5]](_0xf4f8[2],_0xf4f8[3],{type:_0xd9f2x2[_0xf4f8[4]],allowNull:false,validate:{notEmpty:true,is:/^[0-9]+$/}});_0xd9f2x1[_0xf4f8[5]](_0xf4f8[2],_0xf4f8[6],{type:_0xd9f2x2[_0xf4f8[4]],allowNull:false,validate:{notEmpty:true,is:/^[0-9]+$/}});_0xd9f2x1[_0xf4f8[8]](_0xf4f8[2],_0xf4f8[7]);_0xd9f2x1[_0xf4f8[5]](_0xf4f8[2],_0xf4f8[9],{type:_0xd9f2x2[_0xf4f8[4]],defaultValue:_0xf4f8[10]});_0xd9f2x1[_0xf4f8[12]](_0xf4f8[2],_0xf4f8[11],_0xd9f2x2.STRING);_0xd9f2x1[_0xf4f8[12]](_0xf4f8[2],_0xf4f8[13],_0xd9f2x2.INTEGER);_0xd9f2x1[_0xf4f8[12]](_0xf4f8[2],_0xf4f8[14],_0xd9f2x2.STRING)},down:function(_0xd9f2x1,_0xd9f2x2){_0xd9f2x1[_0xf4f8[5]](_0xf4f8[2],_0xf4f8[3],{type:_0xd9f2x2[_0xf4f8[15]],allowNull:false,validate:{notEmpty:true}});_0xd9f2x1[_0xf4f8[5]](_0xf4f8[2],_0xf4f8[6],{type:_0xd9f2x2[_0xf4f8[15]],allowNull:false,validate:{notEmpty:true}});_0xd9f2x1[_0xf4f8[12]](_0xf4f8[2],_0xf4f8[7],{type:_0xd9f2x2.ENUM(_0xf4f8[16],_0xf4f8[17])});_0xd9f2x1[_0xf4f8[5]](_0xf4f8[2],_0xf4f8[9],{type:_0xd9f2x2.ENUM(_0xf4f8[18],_0xf4f8[10],_0xf4f8[19],_0xf4f8[20],_0xf4f8[21]),defaultValue:_0xf4f8[10]});_0xd9f2x1[_0xf4f8[8]](_0xf4f8[2],_0xf4f8[11]);_0xd9f2x1[_0xf4f8[8]](_0xf4f8[2],_0xf4f8[13]);_0xd9f2x1[_0xf4f8[8]](_0xf4f8[2],_0xf4f8[14])}} \ No newline at end of file diff --git a/server/migrations/20160419172859-sms_room.js b/server/migrations/20160419172859-sms_room.js index bb9e976..cf397fd 100644 --- a/server/migrations/20160419172859-sms_room.js +++ b/server/migrations/20160419172859-sms_room.js @@ -1 +1 @@ -var _0xcb05=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x73\x6D\x73\x5F\x72\x6F\x6F\x6D\x73","\x66\x72\x6F\x6D","\x53\x54\x52\x49\x4E\x47","\x63\x68\x61\x6E\x67\x65\x43\x6F\x6C\x75\x6D\x6E"];_0xcb05[0];module[_0xcb05[1]]={up:function(_0xc620x1,_0xc620x2){_0xc620x1[_0xcb05[5]](_0xcb05[2],_0xcb05[3],{type:_0xc620x2[_0xcb05[4]],allowNull:false,validate:{is:/^[0-9]+$/}})},down:function(_0xc620x1,_0xc620x2){_0xc620x1[_0xcb05[5]](_0xcb05[2],_0xcb05[3],_0xc620x2.INTEGER)}} \ No newline at end of file +var _0x6d22=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x73\x6D\x73\x5F\x72\x6F\x6F\x6D\x73","\x66\x72\x6F\x6D","\x53\x54\x52\x49\x4E\x47","\x63\x68\x61\x6E\x67\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x6d22[0];module[_0x6d22[1]]={up:function(_0xb087x1,_0xb087x2){_0xb087x1[_0x6d22[5]](_0x6d22[2],_0x6d22[3],{type:_0xb087x2[_0x6d22[4]],allowNull:false,validate:{is:/^[0-9]+$/}})},down:function(_0xb087x1,_0xb087x2){_0xb087x1[_0x6d22[5]](_0x6d22[2],_0x6d22[3],_0xb087x2.INTEGER)}} \ No newline at end of file diff --git a/server/migrations/20160420123742-report_integration.js b/server/migrations/20160420123742-report_integration.js index 52125c0..647f395 100644 --- a/server/migrations/20160420123742-report_integration.js +++ b/server/migrations/20160420123742-report_integration.js @@ -1 +1 @@ -var _0xcbe5=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x72\x65\x70\x6F\x72\x74\x5F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x75\x72\x6C","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x61\x70\x70","\x61\x70\x70\x64\x61\x74\x61","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0xcbe5[0];module[_0xcbe5[1]]={up:function(_0xdfffx1,_0xdfffx2){_0xdfffx1[_0xcbe5[4]](_0xcbe5[2],_0xcbe5[3],_0xdfffx2.STRING);_0xdfffx1[_0xcbe5[4]](_0xcbe5[2],_0xcbe5[5],_0xdfffx2.STRING);_0xdfffx1[_0xcbe5[4]](_0xcbe5[2],_0xcbe5[6],_0xdfffx2.STRING)},down:function(_0xdfffx1,_0xdfffx2){_0xdfffx1[_0xcbe5[7]](_0xcbe5[2],_0xcbe5[3]);_0xdfffx1[_0xcbe5[7]](_0xcbe5[2],_0xcbe5[5]);_0xdfffx1[_0xcbe5[7]](_0xcbe5[2],_0xcbe5[6])}} \ No newline at end of file +var _0xe16e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x72\x65\x70\x6F\x72\x74\x5F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x75\x72\x6C","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x61\x70\x70","\x61\x70\x70\x64\x61\x74\x61","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0xe16e[0];module[_0xe16e[1]]={up:function(_0x7d21x1,_0x7d21x2){_0x7d21x1[_0xe16e[4]](_0xe16e[2],_0xe16e[3],_0x7d21x2.STRING);_0x7d21x1[_0xe16e[4]](_0xe16e[2],_0xe16e[5],_0x7d21x2.STRING);_0x7d21x1[_0xe16e[4]](_0xe16e[2],_0xe16e[6],_0x7d21x2.STRING)},down:function(_0x7d21x1,_0x7d21x2){_0x7d21x1[_0xe16e[7]](_0xe16e[2],_0xe16e[3]);_0x7d21x1[_0xe16e[7]](_0xe16e[2],_0xe16e[5]);_0x7d21x1[_0xe16e[7]](_0xe16e[2],_0xe16e[6])}} \ No newline at end of file diff --git a/server/migrations/20160420124115-report_integration_history.js b/server/migrations/20160420124115-report_integration_history.js index 86fdaeb..3cb5adb 100644 --- a/server/migrations/20160420124115-report_integration_history.js +++ b/server/migrations/20160420124115-report_integration_history.js @@ -1 +1 @@ -var _0x75d3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x72\x65\x70\x6F\x72\x74\x5F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x5F\x68\x69\x73\x74\x6F\x72\x79","\x75\x72\x6C","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x61\x70\x70","\x61\x70\x70\x64\x61\x74\x61","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x75d3[0];module[_0x75d3[1]]={up:function(_0x9e76x1,_0x9e76x2){_0x9e76x1[_0x75d3[4]](_0x75d3[2],_0x75d3[3],_0x9e76x2.STRING);_0x9e76x1[_0x75d3[4]](_0x75d3[2],_0x75d3[5],_0x9e76x2.STRING);_0x9e76x1[_0x75d3[4]](_0x75d3[2],_0x75d3[6],_0x9e76x2.STRING)},down:function(_0x9e76x1,_0x9e76x2){_0x9e76x1[_0x75d3[7]](_0x75d3[2],_0x75d3[3]);_0x9e76x1[_0x75d3[7]](_0x75d3[2],_0x75d3[5]);_0x9e76x1[_0x75d3[7]](_0x75d3[2],_0x75d3[6])}} \ No newline at end of file +var _0x1918=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x72\x65\x70\x6F\x72\x74\x5F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x5F\x68\x69\x73\x74\x6F\x72\x79","\x75\x72\x6C","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x61\x70\x70","\x61\x70\x70\x64\x61\x74\x61","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x1918[0];module[_0x1918[1]]={up:function(_0x19cbx1,_0x19cbx2){_0x19cbx1[_0x1918[4]](_0x1918[2],_0x1918[3],_0x19cbx2.STRING);_0x19cbx1[_0x1918[4]](_0x1918[2],_0x1918[5],_0x19cbx2.STRING);_0x19cbx1[_0x1918[4]](_0x1918[2],_0x1918[6],_0x19cbx2.STRING)},down:function(_0x19cbx1,_0x19cbx2){_0x19cbx1[_0x1918[7]](_0x1918[2],_0x1918[3]);_0x19cbx1[_0x1918[7]](_0x1918[2],_0x1918[5]);_0x19cbx1[_0x1918[7]](_0x1918[2],_0x1918[6])}} \ No newline at end of file diff --git a/server/migrations/20160421121826-modules.js b/server/migrations/20160421121826-modules.js index 3ff8bd2..c1835ed 100644 --- a/server/migrations/20160421121826-modules.js +++ b/server/migrations/20160421121826-modules.js @@ -1 +1 @@ -var _0xc93d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x6D\x6F\x64\x75\x6C\x65\x73","\x70\x61\x74\x68","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0xc93d[0];module[_0xc93d[1]]={up:function(_0x4eb7x1,_0x4eb7x2){_0x4eb7x1[_0xc93d[4]](_0xc93d[2],_0xc93d[3],_0x4eb7x2.STRING)},down:function(_0x4eb7x1,_0x4eb7x2){_0x4eb7x1[_0xc93d[5]](_0xc93d[2],_0xc93d[3])}} \ No newline at end of file +var _0xb94f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x6D\x6F\x64\x75\x6C\x65\x73","\x70\x61\x74\x68","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0xb94f[0];module[_0xb94f[1]]={up:function(_0xb684x1,_0xb684x2){_0xb684x1[_0xb94f[4]](_0xb94f[2],_0xb94f[3],_0xb684x2.STRING)},down:function(_0xb684x1,_0xb684x2){_0xb684x1[_0xb94f[5]](_0xb94f[2],_0xb94f[3])}} \ No newline at end of file diff --git a/server/migrations/20160426111419-mail-messages.js b/server/migrations/20160426111419-mail-messages.js index 978d7f2..fdf5b97 100644 --- a/server/migrations/20160426111419-mail-messages.js +++ b/server/migrations/20160426111419-mail-messages.js @@ -1 +1 @@ -var _0x1c6c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x73","\x74\x6F","\x54\x45\x58\x54","\x63\x68\x61\x6E\x67\x65\x43\x6F\x6C\x75\x6D\x6E","\x63\x63","\x62\x63\x63","\x53\x54\x52\x49\x4E\x47"];_0x1c6c[0];module[_0x1c6c[1]]={up:function(_0xfc95x1,_0xfc95x2){_0xfc95x1[_0x1c6c[5]](_0x1c6c[2],_0x1c6c[3],{type:_0xfc95x2[_0x1c6c[4]]});_0xfc95x1[_0x1c6c[5]](_0x1c6c[2],_0x1c6c[6],{type:_0xfc95x2[_0x1c6c[4]]});_0xfc95x1[_0x1c6c[5]](_0x1c6c[2],_0x1c6c[7],{type:_0xfc95x2[_0x1c6c[4]]})},down:function(_0xfc95x1,_0xfc95x2){_0xfc95x1[_0x1c6c[5]](_0x1c6c[2],_0x1c6c[3],{type:_0xfc95x2[_0x1c6c[8]]});_0xfc95x1[_0x1c6c[5]](_0x1c6c[2],_0x1c6c[6],{type:_0xfc95x2[_0x1c6c[8]]});_0xfc95x1[_0x1c6c[5]](_0x1c6c[2],_0x1c6c[7],{type:_0xfc95x2[_0x1c6c[8]]})}} \ No newline at end of file +var _0x9765=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x73","\x74\x6F","\x54\x45\x58\x54","\x63\x68\x61\x6E\x67\x65\x43\x6F\x6C\x75\x6D\x6E","\x63\x63","\x62\x63\x63","\x53\x54\x52\x49\x4E\x47"];_0x9765[0];module[_0x9765[1]]={up:function(_0xeaefx1,_0xeaefx2){_0xeaefx1[_0x9765[5]](_0x9765[2],_0x9765[3],{type:_0xeaefx2[_0x9765[4]]});_0xeaefx1[_0x9765[5]](_0x9765[2],_0x9765[6],{type:_0xeaefx2[_0x9765[4]]});_0xeaefx1[_0x9765[5]](_0x9765[2],_0x9765[7],{type:_0xeaefx2[_0x9765[4]]})},down:function(_0xeaefx1,_0xeaefx2){_0xeaefx1[_0x9765[5]](_0x9765[2],_0x9765[3],{type:_0xeaefx2[_0x9765[8]]});_0xeaefx1[_0x9765[5]](_0x9765[2],_0x9765[6],{type:_0xeaefx2[_0x9765[8]]});_0xeaefx1[_0x9765[5]](_0x9765[2],_0x9765[7],{type:_0xeaefx2[_0x9765[8]]})}} \ No newline at end of file diff --git a/server/migrations/20160427103718-history.js b/server/migrations/20160427103718-history.js index 9a56df2..1cc1b3f 100644 --- a/server/migrations/20160427103718-history.js +++ b/server/migrations/20160427103718-history.js @@ -1 +1 @@ -var _0x71ca=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x5F\x68\x69\x73\x74\x6F\x72\x79","\x69\x64","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x68\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x5F\x68\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x73\x65\x73\x73\x69\x6F\x6E\x5F\x68\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x68\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x5F\x68\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x73\x65\x73\x73\x69\x6F\x6E\x5F\x68\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x5F\x68\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x5F\x72\x6F\x6F\x6D\x5F\x68\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x5F\x73\x65\x73\x73\x69\x6F\x6E\x5F\x68\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x73\x71\x75\x61\x72\x65\x5F\x64\x65\x74\x61\x69\x6C\x73\x5F\x68\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x73\x71\x75\x61\x72\x65\x5F\x68\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x74\x72\x61\x6E\x73\x66\x65\x72\x5F\x68\x69\x73\x74\x6F\x72\x79","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E"];_0x71ca[0];module[_0x71ca[1]]={up:function(_0x92eex1,_0x92eex2){_0x92eex1[_0x71ca[4]](_0x71ca[2],_0x71ca[3]);_0x92eex1[_0x71ca[4]](_0x71ca[5],_0x71ca[3]);_0x92eex1[_0x71ca[4]](_0x71ca[6],_0x71ca[3]);_0x92eex1[_0x71ca[4]](_0x71ca[7],_0x71ca[3]);_0x92eex1[_0x71ca[4]](_0x71ca[8],_0x71ca[3]);_0x92eex1[_0x71ca[4]](_0x71ca[9],_0x71ca[3]);_0x92eex1[_0x71ca[4]](_0x71ca[10],_0x71ca[3]);_0x92eex1[_0x71ca[4]](_0x71ca[11],_0x71ca[3]);_0x92eex1[_0x71ca[4]](_0x71ca[12],_0x71ca[3]);_0x92eex1[_0x71ca[4]](_0x71ca[13],_0x71ca[3]);_0x92eex1[_0x71ca[4]](_0x71ca[14],_0x71ca[3]);_0x92eex1[_0x71ca[4]](_0x71ca[15],_0x71ca[3]);_0x92eex1[_0x71ca[4]](_0x71ca[16],_0x71ca[3])},down:function(_0x92eex1,_0x92eex2){_0x92eex1[_0x71ca[17]](_0x71ca[2],_0x71ca[3],_0x92eex2.INTEGER);_0x92eex1[_0x71ca[17]](_0x71ca[5],_0x71ca[3],_0x92eex2.INTEGER);_0x92eex1[_0x71ca[17]](_0x71ca[6],_0x71ca[3],_0x92eex2.INTEGER);_0x92eex1[_0x71ca[17]](_0x71ca[7],_0x71ca[3],_0x92eex2.INTEGER);_0x92eex1[_0x71ca[17]](_0x71ca[8],_0x71ca[3],_0x92eex2.INTEGER);_0x92eex1[_0x71ca[17]](_0x71ca[9],_0x71ca[3],_0x92eex2.INTEGER);_0x92eex1[_0x71ca[17]](_0x71ca[10],_0x71ca[3],_0x92eex2.INTEGER);_0x92eex1[_0x71ca[17]](_0x71ca[11],_0x71ca[3],_0x92eex2.INTEGER);_0x92eex1[_0x71ca[17]](_0x71ca[12],_0x71ca[3],_0x92eex2.INTEGER);_0x92eex1[_0x71ca[17]](_0x71ca[13],_0x71ca[3],_0x92eex2.INTEGER);_0x92eex1[_0x71ca[17]](_0x71ca[14],_0x71ca[3],_0x92eex2.INTEGER);_0x92eex1[_0x71ca[17]](_0x71ca[15],_0x71ca[3],_0x92eex2.INTEGER);_0x92eex1[_0x71ca[17]](_0x71ca[16],_0x71ca[3],_0x92eex2.INTEGER)}} \ No newline at end of file +var _0x88fe=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x5F\x68\x69\x73\x74\x6F\x72\x79","\x69\x64","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x68\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x5F\x68\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x73\x65\x73\x73\x69\x6F\x6E\x5F\x68\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x68\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x5F\x68\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x73\x65\x73\x73\x69\x6F\x6E\x5F\x68\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x5F\x68\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x5F\x72\x6F\x6F\x6D\x5F\x68\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x5F\x73\x65\x73\x73\x69\x6F\x6E\x5F\x68\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x73\x71\x75\x61\x72\x65\x5F\x64\x65\x74\x61\x69\x6C\x73\x5F\x68\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x73\x71\x75\x61\x72\x65\x5F\x68\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x74\x72\x61\x6E\x73\x66\x65\x72\x5F\x68\x69\x73\x74\x6F\x72\x79","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E"];_0x88fe[0];module[_0x88fe[1]]={up:function(_0xfd5cx1,_0xfd5cx2){_0xfd5cx1[_0x88fe[4]](_0x88fe[2],_0x88fe[3]);_0xfd5cx1[_0x88fe[4]](_0x88fe[5],_0x88fe[3]);_0xfd5cx1[_0x88fe[4]](_0x88fe[6],_0x88fe[3]);_0xfd5cx1[_0x88fe[4]](_0x88fe[7],_0x88fe[3]);_0xfd5cx1[_0x88fe[4]](_0x88fe[8],_0x88fe[3]);_0xfd5cx1[_0x88fe[4]](_0x88fe[9],_0x88fe[3]);_0xfd5cx1[_0x88fe[4]](_0x88fe[10],_0x88fe[3]);_0xfd5cx1[_0x88fe[4]](_0x88fe[11],_0x88fe[3]);_0xfd5cx1[_0x88fe[4]](_0x88fe[12],_0x88fe[3]);_0xfd5cx1[_0x88fe[4]](_0x88fe[13],_0x88fe[3]);_0xfd5cx1[_0x88fe[4]](_0x88fe[14],_0x88fe[3]);_0xfd5cx1[_0x88fe[4]](_0x88fe[15],_0x88fe[3]);_0xfd5cx1[_0x88fe[4]](_0x88fe[16],_0x88fe[3])},down:function(_0xfd5cx1,_0xfd5cx2){_0xfd5cx1[_0x88fe[17]](_0x88fe[2],_0x88fe[3],_0xfd5cx2.INTEGER);_0xfd5cx1[_0x88fe[17]](_0x88fe[5],_0x88fe[3],_0xfd5cx2.INTEGER);_0xfd5cx1[_0x88fe[17]](_0x88fe[6],_0x88fe[3],_0xfd5cx2.INTEGER);_0xfd5cx1[_0x88fe[17]](_0x88fe[7],_0x88fe[3],_0xfd5cx2.INTEGER);_0xfd5cx1[_0x88fe[17]](_0x88fe[8],_0x88fe[3],_0xfd5cx2.INTEGER);_0xfd5cx1[_0x88fe[17]](_0x88fe[9],_0x88fe[3],_0xfd5cx2.INTEGER);_0xfd5cx1[_0x88fe[17]](_0x88fe[10],_0x88fe[3],_0xfd5cx2.INTEGER);_0xfd5cx1[_0x88fe[17]](_0x88fe[11],_0x88fe[3],_0xfd5cx2.INTEGER);_0xfd5cx1[_0x88fe[17]](_0x88fe[12],_0x88fe[3],_0xfd5cx2.INTEGER);_0xfd5cx1[_0x88fe[17]](_0x88fe[13],_0x88fe[3],_0xfd5cx2.INTEGER);_0xfd5cx1[_0x88fe[17]](_0x88fe[14],_0x88fe[3],_0xfd5cx2.INTEGER);_0xfd5cx1[_0x88fe[17]](_0x88fe[15],_0x88fe[3],_0xfd5cx2.INTEGER);_0xfd5cx1[_0x88fe[17]](_0x88fe[16],_0x88fe[3],_0xfd5cx2.INTEGER)}} \ No newline at end of file diff --git a/server/migrations/20160428124018-voice_extensions.js b/server/migrations/20160428124018-voice_extensions.js index bbb0f6f..574915f 100644 --- a/server/migrations/20160428124018-voice_extensions.js +++ b/server/migrations/20160428124018-voice_extensions.js @@ -1 +1 @@ -var _0xb41f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73","\x63\x75\x74\x64\x69\x67\x69\x74\x73","\x49\x4E\x54\x45\x47\x45\x52","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0xb41f[0];module[_0xb41f[1]]={up:function(_0xd011x1,_0xd011x2){_0xd011x1[_0xb41f[5]](_0xb41f[2],_0xb41f[3],{type:_0xd011x2[_0xb41f[4]],defaultValue:0})},down:function(_0xd011x1,_0xd011x2){_0xd011x1[_0xb41f[6]](_0xb41f[2],_0xb41f[3])}} \ No newline at end of file +var _0x8273=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73","\x63\x75\x74\x64\x69\x67\x69\x74\x73","\x49\x4E\x54\x45\x47\x45\x52","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x8273[0];module[_0x8273[1]]={up:function(_0xcf57x1,_0xcf57x2){_0xcf57x1[_0x8273[5]](_0x8273[2],_0x8273[3],{type:_0xcf57x2[_0x8273[4]],defaultValue:0})},down:function(_0xcf57x1,_0xcf57x2){_0xcf57x1[_0x8273[6]](_0x8273[2],_0x8273[3])}} \ No newline at end of file diff --git a/server/migrations/20160428180149-extracted_reports.js b/server/migrations/20160428180149-extracted_reports.js index 4977b41..efe7ce1 100644 --- a/server/migrations/20160428180149-extracted_reports.js +++ b/server/migrations/20160428180149-extracted_reports.js @@ -1 +1 @@ -var _0x80b9=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x61\x6E\x61\x6C\x79\x74\x69\x63\x73\x5F\x65\x78\x74\x72\x61\x63\x74\x65\x64\x5F\x72\x65\x70\x6F\x72\x74\x73","\x55\x73\x65\x72\x49\x64","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x80b9[0];module[_0x80b9[1]]={up:function(_0x5e17x1,_0x5e17x2){_0x5e17x1[_0x80b9[4]](_0x80b9[2],_0x80b9[3],_0x5e17x2.INTEGER)},down:function(_0x5e17x1,_0x5e17x2){_0x5e17x1[_0x80b9[5]](_0x80b9[2],_0x80b9[3])}} \ No newline at end of file +var _0xe112=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x61\x6E\x61\x6C\x79\x74\x69\x63\x73\x5F\x65\x78\x74\x72\x61\x63\x74\x65\x64\x5F\x72\x65\x70\x6F\x72\x74\x73","\x55\x73\x65\x72\x49\x64","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0xe112[0];module[_0xe112[1]]={up:function(_0x2941x1,_0x2941x2){_0x2941x1[_0xe112[4]](_0xe112[2],_0xe112[3],_0x2941x2.INTEGER)},down:function(_0x2941x1,_0x2941x2){_0x2941x1[_0xe112[5]](_0xe112[2],_0xe112[3])}} \ No newline at end of file diff --git a/server/migrations/20160428182219-chat-messages.js b/server/migrations/20160428182219-chat-messages.js index 74a1e10..8b94346 100644 --- a/server/migrations/20160428182219-chat-messages.js +++ b/server/migrations/20160428182219-chat-messages.js @@ -1 +1 @@ -var _0x5781=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x63\x68\x61\x74\x5F\x6D\x65\x73\x73\x61\x67\x65\x73","\x74\x79\x70\x65","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x65\x78\x74\x65\x72\x6E\x61\x6C","\x67\x72\x6F\x75\x70","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x5781[0];module[_0x5781[1]]={up:function(_0x572dx1,_0x572dx2){_0x572dx1[_0x5781[7]](_0x5781[2],_0x5781[3],{type:_0x572dx2.ENUM(_0x5781[4],_0x5781[5],_0x5781[6])})},down:function(_0x572dx1,_0x572dx2){_0x572dx1[_0x5781[8]](_0x5781[2],_0x5781[3])}} \ No newline at end of file +var _0xa05e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x63\x68\x61\x74\x5F\x6D\x65\x73\x73\x61\x67\x65\x73","\x74\x79\x70\x65","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x65\x78\x74\x65\x72\x6E\x61\x6C","\x67\x72\x6F\x75\x70","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0xa05e[0];module[_0xa05e[1]]={up:function(_0x97f4x1,_0x97f4x2){_0x97f4x1[_0xa05e[7]](_0xa05e[2],_0xa05e[3],{type:_0x97f4x2.ENUM(_0xa05e[4],_0xa05e[5],_0xa05e[6])})},down:function(_0x97f4x1,_0x97f4x2){_0x97f4x1[_0xa05e[8]](_0xa05e[2],_0xa05e[3])}} \ No newline at end of file diff --git a/server/migrations/20160429151542-trunks.js b/server/migrations/20160429151542-trunks.js index 0ba9ad0..5d1fb6b 100644 --- a/server/migrations/20160429151542-trunks.js +++ b/server/migrations/20160429151542-trunks.js @@ -1 +1 @@ -var _0xfbc3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x74\x6F\x6F\x6C\x73\x5F\x74\x72\x75\x6E\x6B\x73","\x61\x63\x74\x69\x76\x65","\x42\x4F\x4F\x4C\x45\x41\x4E","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x73\x74\x61\x74\x75\x73","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0xfbc3[0];module[_0xfbc3[1]]={up:function(_0xfa97x1,_0xfa97x2){_0xfa97x1[_0xfbc3[5]](_0xfbc3[2],_0xfbc3[3],{type:_0xfa97x2[_0xfbc3[4]],defaultValue:true});_0xfa97x1[_0xfbc3[5]](_0xfbc3[2],_0xfbc3[6],_0xfa97x2.STRING)},down:function(_0xfa97x1,_0xfa97x2){_0xfa97x1[_0xfbc3[7]](_0xfbc3[2],_0xfbc3[3]);_0xfa97x1[_0xfbc3[7]](_0xfbc3[2],_0xfbc3[6])}} \ No newline at end of file +var _0x2345=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x74\x6F\x6F\x6C\x73\x5F\x74\x72\x75\x6E\x6B\x73","\x61\x63\x74\x69\x76\x65","\x42\x4F\x4F\x4C\x45\x41\x4E","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x73\x74\x61\x74\x75\x73","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x2345[0];module[_0x2345[1]]={up:function(_0xc40cx1,_0xc40cx2){_0xc40cx1[_0x2345[5]](_0x2345[2],_0x2345[3],{type:_0xc40cx2[_0x2345[4]],defaultValue:true});_0xc40cx1[_0x2345[5]](_0x2345[2],_0x2345[6],_0xc40cx2.STRING)},down:function(_0xc40cx1,_0xc40cx2){_0xc40cx1[_0x2345[7]](_0x2345[2],_0x2345[3]);_0xc40cx1[_0x2345[7]](_0x2345[2],_0x2345[6])}} \ No newline at end of file diff --git a/server/migrations/20160429190622-chat-rooms.js b/server/migrations/20160429190622-chat-rooms.js index 89082c7..dec4a09 100644 --- a/server/migrations/20160429190622-chat-rooms.js +++ b/server/migrations/20160429190622-chat-rooms.js @@ -1 +1 @@ -var _0x3d6c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x73","\x74\x79\x70\x65","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x65\x78\x74\x65\x72\x6E\x61\x6C","\x67\x72\x6F\x75\x70","\x63\x68\x61\x6E\x67\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x3d6c[0];module[_0x3d6c[1]]={up:function(_0x7bfcx1,_0x7bfcx2){_0x7bfcx1[_0x3d6c[7]](_0x3d6c[2],_0x3d6c[3],{type:_0x7bfcx2.ENUM(_0x3d6c[4],_0x3d6c[5],_0x3d6c[6])})},down:function(_0x7bfcx1,_0x7bfcx2){_0x7bfcx1[_0x3d6c[7]](_0x3d6c[2],_0x3d6c[3],{type:_0x7bfcx2.ENUM(_0x3d6c[4],_0x3d6c[5])})}} \ No newline at end of file +var _0xdbb1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x73","\x74\x79\x70\x65","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x65\x78\x74\x65\x72\x6E\x61\x6C","\x67\x72\x6F\x75\x70","\x63\x68\x61\x6E\x67\x65\x43\x6F\x6C\x75\x6D\x6E"];_0xdbb1[0];module[_0xdbb1[1]]={up:function(_0x458fx1,_0x458fx2){_0x458fx1[_0xdbb1[7]](_0xdbb1[2],_0xdbb1[3],{type:_0x458fx2.ENUM(_0xdbb1[4],_0xdbb1[5],_0xdbb1[6])})},down:function(_0x458fx1,_0x458fx2){_0x458fx1[_0xdbb1[7]](_0xdbb1[2],_0xdbb1[3],{type:_0x458fx2.ENUM(_0xdbb1[4],_0xdbb1[5])})}} \ No newline at end of file diff --git a/server/migrations/20160502172532-sms_messages.js b/server/migrations/20160502172532-sms_messages.js index 3b5415b..9d25b13 100644 --- a/server/migrations/20160502172532-sms_messages.js +++ b/server/migrations/20160502172532-sms_messages.js @@ -1 +1 @@ -var _0x626c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x73\x6D\x73\x5F\x6D\x65\x73\x73\x61\x67\x65\x73","\x73\x6F\x75\x72\x63\x65","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x626c[0];module[_0x626c[1]]={up:function(_0xcc59x1,_0xcc59x2){_0xcc59x1[_0x626c[4]](_0x626c[2],_0x626c[3],_0xcc59x2.STRING)},down:function(_0xcc59x1,_0xcc59x2){_0xcc59x1[_0x626c[5]](_0x626c[2],_0x626c[3])}} \ No newline at end of file +var _0xee48=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x73\x6D\x73\x5F\x6D\x65\x73\x73\x61\x67\x65\x73","\x73\x6F\x75\x72\x63\x65","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0xee48[0];module[_0xee48[1]]={up:function(_0x9abfx1,_0x9abfx2){_0x9abfx1[_0xee48[4]](_0xee48[2],_0xee48[3],_0x9abfx2.STRING)},down:function(_0x9abfx1,_0x9abfx2){_0x9abfx1[_0xee48[5]](_0xee48[2],_0xee48[3])}} \ No newline at end of file diff --git a/server/migrations/20160503105145-report_jscripty_sessions.js b/server/migrations/20160503105145-report_jscripty_sessions.js index 77aa7c9..f408083 100644 --- a/server/migrations/20160503105145-report_jscripty_sessions.js +++ b/server/migrations/20160503105145-report_jscripty_sessions.js @@ -1 +1 @@ -var _0xffe2=["\x65\x78\x70\x6F\x72\x74\x73","\x72\x65\x70\x6F\x72\x74\x5F\x6A\x73\x63\x72\x69\x70\x74\x79\x5F\x73\x65\x73\x73\x69\x6F\x6E\x73","\x55\x73\x65\x72\x49\x64","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x72\x65\x70\x6F\x72\x74\x5F\x6A\x73\x63\x72\x69\x70\x74\x79\x5F\x73\x65\x73\x73\x69\x6F\x6E\x73\x20\x41\x44\x44\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x72\x65\x70\x6F\x72\x74\x5F\x6A\x73\x63\x72\x69\x70\x74\x79\x5F\x73\x65\x73\x73\x69\x6F\x6E\x73\x5F\x69\x62\x66\x6B\x5F\x32\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x28\x55\x73\x65\x72\x49\x64\x29\x20\x52\x45\x46\x45\x52\x45\x4E\x43\x45\x53\x20\x6D\x6F\x74\x69\x6F\x6E\x2E\x75\x73\x65\x72\x73\x28\x69\x64\x29\x20\x4F\x4E\x20\x55\x50\x44\x41\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45\x3B","\x71\x75\x65\x72\x79","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x72\x65\x70\x6F\x72\x74\x5F\x6A\x73\x63\x72\x69\x70\x74\x79\x5F\x73\x65\x73\x73\x69\x6F\x6E\x73\x20\x44\x52\x4F\x50\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x72\x65\x70\x6F\x72\x74\x5F\x6A\x73\x63\x72\x69\x70\x74\x79\x5F\x73\x65\x73\x73\x69\x6F\x6E\x73\x5F\x69\x62\x66\x6B\x5F\x32\x3B"];module[_0xffe2[0]]={up:function(_0x4f0dx1,_0x4f0dx2){_0x4f0dx1[_0xffe2[3]](_0xffe2[1],_0xffe2[2],_0x4f0dx2.INTEGER);_0x4f0dx1[_0xffe2[6]][_0xffe2[5]](_0xffe2[4])},down:function(_0x4f0dx1,_0x4f0dx2){_0x4f0dx1[_0xffe2[7]](_0xffe2[1],_0xffe2[2]);_0x4f0dx1[_0xffe2[6]][_0xffe2[5]](_0xffe2[8])}} \ No newline at end of file +var _0xd24b=["\x65\x78\x70\x6F\x72\x74\x73","\x72\x65\x70\x6F\x72\x74\x5F\x6A\x73\x63\x72\x69\x70\x74\x79\x5F\x73\x65\x73\x73\x69\x6F\x6E\x73","\x55\x73\x65\x72\x49\x64","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x72\x65\x70\x6F\x72\x74\x5F\x6A\x73\x63\x72\x69\x70\x74\x79\x5F\x73\x65\x73\x73\x69\x6F\x6E\x73\x20\x41\x44\x44\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x72\x65\x70\x6F\x72\x74\x5F\x6A\x73\x63\x72\x69\x70\x74\x79\x5F\x73\x65\x73\x73\x69\x6F\x6E\x73\x5F\x69\x62\x66\x6B\x5F\x32\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x28\x55\x73\x65\x72\x49\x64\x29\x20\x52\x45\x46\x45\x52\x45\x4E\x43\x45\x53\x20\x6D\x6F\x74\x69\x6F\x6E\x2E\x75\x73\x65\x72\x73\x28\x69\x64\x29\x20\x4F\x4E\x20\x55\x50\x44\x41\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45\x3B","\x71\x75\x65\x72\x79","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x72\x65\x70\x6F\x72\x74\x5F\x6A\x73\x63\x72\x69\x70\x74\x79\x5F\x73\x65\x73\x73\x69\x6F\x6E\x73\x20\x44\x52\x4F\x50\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x72\x65\x70\x6F\x72\x74\x5F\x6A\x73\x63\x72\x69\x70\x74\x79\x5F\x73\x65\x73\x73\x69\x6F\x6E\x73\x5F\x69\x62\x66\x6B\x5F\x32\x3B"];module[_0xd24b[0]]={up:function(_0xd7d1x1,_0xd7d1x2){_0xd7d1x1[_0xd24b[3]](_0xd24b[1],_0xd24b[2],_0xd7d1x2.INTEGER);_0xd7d1x1[_0xd24b[6]][_0xd24b[5]](_0xd24b[4])},down:function(_0xd7d1x1,_0xd7d1x2){_0xd7d1x1[_0xd24b[7]](_0xd24b[1],_0xd24b[2]);_0xd7d1x1[_0xd24b[6]][_0xd24b[5]](_0xd24b[8])}} \ No newline at end of file diff --git a/server/migrations/20160503155507-report_integration.js b/server/migrations/20160503155507-report_integration.js index 8bde422..d36ba38 100644 --- a/server/migrations/20160503155507-report_integration.js +++ b/server/migrations/20160503155507-report_integration.js @@ -1 +1 @@ -var _0x3cd4=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x72\x65\x70\x6F\x72\x74\x5F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x70\x72\x6F\x6A\x65\x63\x74\x49\x64","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x3cd4[0];module[_0x3cd4[1]]={up:function(_0xf1dax1,_0xf1dax2){_0xf1dax1[_0x3cd4[4]](_0x3cd4[2],_0x3cd4[3],_0xf1dax2.INTEGER)},down:function(_0xf1dax1,_0xf1dax2){_0xf1dax1[_0x3cd4[5]](_0x3cd4[2],_0x3cd4[3])}} \ No newline at end of file +var _0xaa9c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x72\x65\x70\x6F\x72\x74\x5F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x70\x72\x6F\x6A\x65\x63\x74\x49\x64","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0xaa9c[0];module[_0xaa9c[1]]={up:function(_0x579ex1,_0x579ex2){_0x579ex1[_0xaa9c[4]](_0xaa9c[2],_0xaa9c[3],_0x579ex2.INTEGER)},down:function(_0x579ex1,_0x579ex2){_0x579ex1[_0xaa9c[5]](_0xaa9c[2],_0xaa9c[3])}} \ No newline at end of file diff --git a/server/migrations/20160503181159-fax_account.js b/server/migrations/20160503181159-fax_account.js index ff5c704..8b063aa 100644 --- a/server/migrations/20160503181159-fax_account.js +++ b/server/migrations/20160503181159-fax_account.js @@ -1 +1 @@ -var _0xe8ef=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x66\x61\x78\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x68\x65\x61\x64\x65\x72\x69\x6E\x66\x6F","\x53\x54\x52\x49\x4E\x47","\x78\x43\x41\x4C\x4C\x59\x20\x4D\x6F\x74\x69\x6F\x6E\x20\x46\x61\x78","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x6C\x6F\x63\x61\x6C\x73\x74\x61\x74\x69\x6F\x6E\x69\x64","\x6D\x6F\x64\x65\x6D","\x76\x31\x37\x2C\x76\x32\x37\x2C\x76\x32\x39","\x67\x61\x74\x65\x77\x61\x79","\x6E\x6F","\x66\x61\x78\x64\x65\x74\x65\x63\x74","\x74\x33\x38\x74\x69\x6D\x65\x6F\x75\x74","\x49\x4E\x54\x45\x47\x45\x52","\x74\x65\x63\x68","\x53\x49\x50","\x49\x41\x58","\x44\x41\x44\x48\x49","\x4B\x48\x4F\x4D\x50","\x65\x63\x6D","\x79\x65\x73","\x63\x68\x61\x6E\x67\x65\x43\x6F\x6C\x75\x6D\x6E","\x6D\x69\x6E\x72\x61\x74\x65","\x32\x34\x30\x30","\x34\x38\x30\x30","\x37\x32\x30\x30","\x39\x36\x30\x30","\x31\x32\x30\x30\x30","\x31\x34\x34\x30\x30","\x6D\x61\x78\x72\x61\x74\x65","\x70\x68\x6F\x6E\x65","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E","\x66\x61\x78\x68\x65\x61\x64\x65\x72","\x6C\x6F\x63\x61\x6C\x69\x64","\x54\x72\x75\x6E\x6B\x4E\x61\x6D\x65","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x66\x61\x78\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73\x20\x41\x44\x44\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x60\x66\x61\x78\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73\x5F\x69\x62\x66\x6B\x5F\x31\x60\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x28\x60\x54\x72\x75\x6E\x6B\x4E\x61\x6D\x65\x60\x29\x20\x52\x45\x46\x45\x52\x45\x4E\x43\x45\x53\x20\x60\x74\x6F\x6F\x6C\x73\x5F\x74\x72\x75\x6E\x6B\x73\x60\x20\x28\x60\x6E\x61\x6D\x65\x60\x29\x20\x4F\x4E\x20\x44\x45\x4C\x45\x54\x45\x20\x53\x45\x54\x20\x4E\x55\x4C\x4C\x20\x4F\x4E\x20\x55\x50\x44\x41\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45","\x71\x75\x65\x72\x79","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x42\x4F\x4F\x4C\x45\x41\x4E","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x66\x61\x78\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73\x20\x44\x52\x4F\x50\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x66\x61\x78\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73\x5F\x69\x62\x66\x6B\x5F\x31\x3B"];_0xe8ef[0];module[_0xe8ef[1]]={up:function(_0x79e7x1,_0x79e7x2){_0x79e7x1[_0xe8ef[6]](_0xe8ef[2],_0xe8ef[3],{type:_0x79e7x2[_0xe8ef[4]],defaultValue:_0xe8ef[5]});_0x79e7x1[_0xe8ef[6]](_0xe8ef[2],_0xe8ef[7],{type:_0x79e7x2[_0xe8ef[4]],unique:true});_0x79e7x1[_0xe8ef[6]](_0xe8ef[2],_0xe8ef[8],{type:_0x79e7x2[_0xe8ef[4]],defaultValue:_0xe8ef[9]});_0x79e7x1[_0xe8ef[6]](_0xe8ef[2],_0xe8ef[10],{type:_0x79e7x2[_0xe8ef[4]],defaultValue:_0xe8ef[11]});_0x79e7x1[_0xe8ef[6]](_0xe8ef[2],_0xe8ef[12],{type:_0x79e7x2[_0xe8ef[4]],defaultValue:_0xe8ef[11]});_0x79e7x1[_0xe8ef[6]](_0xe8ef[2],_0xe8ef[13],{type:_0x79e7x2[_0xe8ef[14]],defaultValue:5000});_0x79e7x1[_0xe8ef[6]](_0xe8ef[2],_0xe8ef[15],{type:_0x79e7x2.ENUM(_0xe8ef[16],_0xe8ef[17],_0xe8ef[18],_0xe8ef[19]),defaultValue:_0xe8ef[16]});_0x79e7x1[_0xe8ef[22]](_0xe8ef[2],_0xe8ef[20],{type:_0x79e7x2.ENUM(_0xe8ef[21],_0xe8ef[11]),defaultValue:_0xe8ef[21]});_0x79e7x1[_0xe8ef[22]](_0xe8ef[2],_0xe8ef[23],{type:_0x79e7x2.ENUM(_0xe8ef[24],_0xe8ef[25],_0xe8ef[26],_0xe8ef[27],_0xe8ef[28],_0xe8ef[29]),defaultValue:_0xe8ef[25]});_0x79e7x1[_0xe8ef[22]](_0xe8ef[2],_0xe8ef[30],{type:_0x79e7x2.ENUM(_0xe8ef[24],_0xe8ef[25],_0xe8ef[26],_0xe8ef[27],_0xe8ef[28],_0xe8ef[29]),defaultValue:_0xe8ef[29]});_0x79e7x1[_0xe8ef[32]](_0xe8ef[2],_0xe8ef[31]);_0x79e7x1[_0xe8ef[32]](_0xe8ef[2],_0xe8ef[33]);_0x79e7x1[_0xe8ef[32]](_0xe8ef[2],_0xe8ef[34]);_0x79e7x1[_0xe8ef[6]](_0xe8ef[2],_0xe8ef[35],_0x79e7x2.STRING);_0x79e7x1[_0xe8ef[38]][_0xe8ef[37]](_0xe8ef[36])},down:function(_0x79e7x1,_0x79e7x2){_0x79e7x1[_0xe8ef[32]](_0xe8ef[2],_0xe8ef[3]);_0x79e7x1[_0xe8ef[32]](_0xe8ef[2],_0xe8ef[7]);_0x79e7x1[_0xe8ef[32]](_0xe8ef[2],_0xe8ef[8]);_0x79e7x1[_0xe8ef[32]](_0xe8ef[2],_0xe8ef[10]);_0x79e7x1[_0xe8ef[32]](_0xe8ef[2],_0xe8ef[12]);_0x79e7x1[_0xe8ef[32]](_0xe8ef[2],_0xe8ef[13]);_0x79e7x1[_0xe8ef[32]](_0xe8ef[2],_0xe8ef[15]);_0x79e7x1[_0xe8ef[22]](_0xe8ef[2],_0xe8ef[20],{type:_0x79e7x2[_0xe8ef[39]],defaultValue:true});_0x79e7x1[_0xe8ef[22]](_0xe8ef[2],_0xe8ef[23],{type:_0x79e7x2.ENUM(_0xe8ef[27],_0xe8ef[29]),defaultValue:_0xe8ef[27]});_0x79e7x1[_0xe8ef[22]](_0xe8ef[2],_0xe8ef[30],{type:_0x79e7x2.ENUM(_0xe8ef[27],_0xe8ef[29]),defaultValue:_0xe8ef[29]});_0x79e7x1[_0xe8ef[6]](_0xe8ef[2],_0xe8ef[31],{type:_0x79e7x2[_0xe8ef[4]],unique:true});_0x79e7x1[_0xe8ef[6]](_0xe8ef[2],_0xe8ef[33],{type:_0x79e7x2[_0xe8ef[4]]});_0x79e7x1[_0xe8ef[6]](_0xe8ef[2],_0xe8ef[34],{type:_0x79e7x2[_0xe8ef[4]]});_0x79e7x1[_0xe8ef[32]](_0xe8ef[2],_0xe8ef[35]);_0x79e7x1[_0xe8ef[38]][_0xe8ef[37]](_0xe8ef[40])}} \ No newline at end of file +var _0x7db9=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x66\x61\x78\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x68\x65\x61\x64\x65\x72\x69\x6E\x66\x6F","\x53\x54\x52\x49\x4E\x47","\x78\x43\x41\x4C\x4C\x59\x20\x4D\x6F\x74\x69\x6F\x6E\x20\x46\x61\x78","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x6C\x6F\x63\x61\x6C\x73\x74\x61\x74\x69\x6F\x6E\x69\x64","\x6D\x6F\x64\x65\x6D","\x76\x31\x37\x2C\x76\x32\x37\x2C\x76\x32\x39","\x67\x61\x74\x65\x77\x61\x79","\x6E\x6F","\x66\x61\x78\x64\x65\x74\x65\x63\x74","\x74\x33\x38\x74\x69\x6D\x65\x6F\x75\x74","\x49\x4E\x54\x45\x47\x45\x52","\x74\x65\x63\x68","\x53\x49\x50","\x49\x41\x58","\x44\x41\x44\x48\x49","\x4B\x48\x4F\x4D\x50","\x65\x63\x6D","\x79\x65\x73","\x63\x68\x61\x6E\x67\x65\x43\x6F\x6C\x75\x6D\x6E","\x6D\x69\x6E\x72\x61\x74\x65","\x32\x34\x30\x30","\x34\x38\x30\x30","\x37\x32\x30\x30","\x39\x36\x30\x30","\x31\x32\x30\x30\x30","\x31\x34\x34\x30\x30","\x6D\x61\x78\x72\x61\x74\x65","\x70\x68\x6F\x6E\x65","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E","\x66\x61\x78\x68\x65\x61\x64\x65\x72","\x6C\x6F\x63\x61\x6C\x69\x64","\x54\x72\x75\x6E\x6B\x4E\x61\x6D\x65","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x66\x61\x78\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73\x20\x41\x44\x44\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x60\x66\x61\x78\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73\x5F\x69\x62\x66\x6B\x5F\x31\x60\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x28\x60\x54\x72\x75\x6E\x6B\x4E\x61\x6D\x65\x60\x29\x20\x52\x45\x46\x45\x52\x45\x4E\x43\x45\x53\x20\x60\x74\x6F\x6F\x6C\x73\x5F\x74\x72\x75\x6E\x6B\x73\x60\x20\x28\x60\x6E\x61\x6D\x65\x60\x29\x20\x4F\x4E\x20\x44\x45\x4C\x45\x54\x45\x20\x53\x45\x54\x20\x4E\x55\x4C\x4C\x20\x4F\x4E\x20\x55\x50\x44\x41\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45","\x71\x75\x65\x72\x79","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x42\x4F\x4F\x4C\x45\x41\x4E","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x66\x61\x78\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73\x20\x44\x52\x4F\x50\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x66\x61\x78\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73\x5F\x69\x62\x66\x6B\x5F\x31\x3B"];_0x7db9[0];module[_0x7db9[1]]={up:function(_0xf18ex1,_0xf18ex2){_0xf18ex1[_0x7db9[6]](_0x7db9[2],_0x7db9[3],{type:_0xf18ex2[_0x7db9[4]],defaultValue:_0x7db9[5]});_0xf18ex1[_0x7db9[6]](_0x7db9[2],_0x7db9[7],{type:_0xf18ex2[_0x7db9[4]],unique:true});_0xf18ex1[_0x7db9[6]](_0x7db9[2],_0x7db9[8],{type:_0xf18ex2[_0x7db9[4]],defaultValue:_0x7db9[9]});_0xf18ex1[_0x7db9[6]](_0x7db9[2],_0x7db9[10],{type:_0xf18ex2[_0x7db9[4]],defaultValue:_0x7db9[11]});_0xf18ex1[_0x7db9[6]](_0x7db9[2],_0x7db9[12],{type:_0xf18ex2[_0x7db9[4]],defaultValue:_0x7db9[11]});_0xf18ex1[_0x7db9[6]](_0x7db9[2],_0x7db9[13],{type:_0xf18ex2[_0x7db9[14]],defaultValue:5000});_0xf18ex1[_0x7db9[6]](_0x7db9[2],_0x7db9[15],{type:_0xf18ex2.ENUM(_0x7db9[16],_0x7db9[17],_0x7db9[18],_0x7db9[19]),defaultValue:_0x7db9[16]});_0xf18ex1[_0x7db9[22]](_0x7db9[2],_0x7db9[20],{type:_0xf18ex2.ENUM(_0x7db9[21],_0x7db9[11]),defaultValue:_0x7db9[21]});_0xf18ex1[_0x7db9[22]](_0x7db9[2],_0x7db9[23],{type:_0xf18ex2.ENUM(_0x7db9[24],_0x7db9[25],_0x7db9[26],_0x7db9[27],_0x7db9[28],_0x7db9[29]),defaultValue:_0x7db9[25]});_0xf18ex1[_0x7db9[22]](_0x7db9[2],_0x7db9[30],{type:_0xf18ex2.ENUM(_0x7db9[24],_0x7db9[25],_0x7db9[26],_0x7db9[27],_0x7db9[28],_0x7db9[29]),defaultValue:_0x7db9[29]});_0xf18ex1[_0x7db9[32]](_0x7db9[2],_0x7db9[31]);_0xf18ex1[_0x7db9[32]](_0x7db9[2],_0x7db9[33]);_0xf18ex1[_0x7db9[32]](_0x7db9[2],_0x7db9[34]);_0xf18ex1[_0x7db9[6]](_0x7db9[2],_0x7db9[35],_0xf18ex2.STRING);_0xf18ex1[_0x7db9[38]][_0x7db9[37]](_0x7db9[36])},down:function(_0xf18ex1,_0xf18ex2){_0xf18ex1[_0x7db9[32]](_0x7db9[2],_0x7db9[3]);_0xf18ex1[_0x7db9[32]](_0x7db9[2],_0x7db9[7]);_0xf18ex1[_0x7db9[32]](_0x7db9[2],_0x7db9[8]);_0xf18ex1[_0x7db9[32]](_0x7db9[2],_0x7db9[10]);_0xf18ex1[_0x7db9[32]](_0x7db9[2],_0x7db9[12]);_0xf18ex1[_0x7db9[32]](_0x7db9[2],_0x7db9[13]);_0xf18ex1[_0x7db9[32]](_0x7db9[2],_0x7db9[15]);_0xf18ex1[_0x7db9[22]](_0x7db9[2],_0x7db9[20],{type:_0xf18ex2[_0x7db9[39]],defaultValue:true});_0xf18ex1[_0x7db9[22]](_0x7db9[2],_0x7db9[23],{type:_0xf18ex2.ENUM(_0x7db9[27],_0x7db9[29]),defaultValue:_0x7db9[27]});_0xf18ex1[_0x7db9[22]](_0x7db9[2],_0x7db9[30],{type:_0xf18ex2.ENUM(_0x7db9[27],_0x7db9[29]),defaultValue:_0x7db9[29]});_0xf18ex1[_0x7db9[6]](_0x7db9[2],_0x7db9[31],{type:_0xf18ex2[_0x7db9[4]],unique:true});_0xf18ex1[_0x7db9[6]](_0x7db9[2],_0x7db9[33],{type:_0xf18ex2[_0x7db9[4]]});_0xf18ex1[_0x7db9[6]](_0x7db9[2],_0x7db9[34],{type:_0xf18ex2[_0x7db9[4]]});_0xf18ex1[_0x7db9[32]](_0x7db9[2],_0x7db9[35]);_0xf18ex1[_0x7db9[38]][_0x7db9[37]](_0x7db9[40])}} \ No newline at end of file diff --git a/server/migrations/20160505122220-report_square_detail.js b/server/migrations/20160505122220-report_square_detail.js index 95defd3..8b45569 100644 --- a/server/migrations/20160505122220-report_square_detail.js +++ b/server/migrations/20160505122220-report_square_detail.js @@ -1 +1 @@ -var _0x1255=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x72\x65\x70\x6F\x72\x74\x5F\x73\x71\x75\x61\x72\x65\x5F\x64\x65\x74\x61\x69\x6C\x73","\x70\x72\x6F\x6A\x65\x63\x74\x4E\x61\x6D\x65","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x70\x6F\x72\x74\x5F\x73\x71\x75\x61\x72\x65\x5F\x64\x65\x74\x61\x69\x6C\x73\x5F\x68\x69\x73\x74\x6F\x72\x79","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x1255[0];module[_0x1255[1]]={up:function(_0xfc3ax1,_0xfc3ax2){_0xfc3ax1[_0x1255[4]](_0x1255[2],_0x1255[3],_0xfc3ax2.STRING);_0xfc3ax1[_0x1255[4]](_0x1255[5],_0x1255[3],_0xfc3ax2.STRING)},down:function(_0xfc3ax1,_0xfc3ax2){_0xfc3ax1[_0x1255[6]](_0x1255[2],_0x1255[3]);_0xfc3ax1[_0x1255[6]](_0x1255[5],_0x1255[3])}} \ No newline at end of file +var _0x65b4=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x72\x65\x70\x6F\x72\x74\x5F\x73\x71\x75\x61\x72\x65\x5F\x64\x65\x74\x61\x69\x6C\x73","\x70\x72\x6F\x6A\x65\x63\x74\x4E\x61\x6D\x65","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x70\x6F\x72\x74\x5F\x73\x71\x75\x61\x72\x65\x5F\x64\x65\x74\x61\x69\x6C\x73\x5F\x68\x69\x73\x74\x6F\x72\x79","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x65b4[0];module[_0x65b4[1]]={up:function(_0x3fb3x1,_0x3fb3x2){_0x3fb3x1[_0x65b4[4]](_0x65b4[2],_0x65b4[3],_0x3fb3x2.STRING);_0x3fb3x1[_0x65b4[4]](_0x65b4[5],_0x65b4[3],_0x3fb3x2.STRING)},down:function(_0x3fb3x1,_0x3fb3x2){_0x3fb3x1[_0x65b4[6]](_0x65b4[2],_0x65b4[3]);_0x3fb3x1[_0x65b4[6]](_0x65b4[5],_0x65b4[3])}} \ No newline at end of file diff --git a/server/migrations/20160506111910-report_square_details.js b/server/migrations/20160506111910-report_square_details.js index 9bb370c..37a25c7 100644 --- a/server/migrations/20160506111910-report_square_details.js +++ b/server/migrations/20160506111910-report_square_details.js @@ -1 +1 @@ -var _0xe0ee=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x72\x65\x70\x6F\x72\x74\x5F\x73\x71\x75\x61\x72\x65\x5F\x64\x65\x74\x61\x69\x6C\x73","\x70\x72\x6F\x6A\x65\x63\x74\x4E\x61\x6D\x65","\x70\x72\x6F\x6A\x65\x63\x74\x5F\x6E\x61\x6D\x65","\x72\x65\x6E\x61\x6D\x65\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x70\x6F\x72\x74\x5F\x73\x71\x75\x61\x72\x65\x5F\x64\x65\x74\x61\x69\x6C\x73\x5F\x68\x69\x73\x74\x6F\x72\x79"];_0xe0ee[0];module[_0xe0ee[1]]={up:function(_0x77bdx1,_0x77bdx2){_0x77bdx1[_0xe0ee[5]](_0xe0ee[2],_0xe0ee[3],_0xe0ee[4]);_0x77bdx1[_0xe0ee[5]](_0xe0ee[6],_0xe0ee[3],_0xe0ee[4])},down:function(_0x77bdx1,_0x77bdx2){_0x77bdx1[_0xe0ee[5]](_0xe0ee[2],_0xe0ee[4],_0xe0ee[3]);_0x77bdx1[_0xe0ee[5]](_0xe0ee[6],_0xe0ee[4],_0xe0ee[3])}} \ No newline at end of file +var _0xc308=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x72\x65\x70\x6F\x72\x74\x5F\x73\x71\x75\x61\x72\x65\x5F\x64\x65\x74\x61\x69\x6C\x73","\x70\x72\x6F\x6A\x65\x63\x74\x4E\x61\x6D\x65","\x70\x72\x6F\x6A\x65\x63\x74\x5F\x6E\x61\x6D\x65","\x72\x65\x6E\x61\x6D\x65\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x70\x6F\x72\x74\x5F\x73\x71\x75\x61\x72\x65\x5F\x64\x65\x74\x61\x69\x6C\x73\x5F\x68\x69\x73\x74\x6F\x72\x79"];_0xc308[0];module[_0xc308[1]]={up:function(_0xe773x1,_0xe773x2){_0xe773x1[_0xc308[5]](_0xc308[2],_0xc308[3],_0xc308[4]);_0xe773x1[_0xc308[5]](_0xc308[6],_0xc308[3],_0xc308[4])},down:function(_0xe773x1,_0xe773x2){_0xe773x1[_0xc308[5]](_0xc308[2],_0xc308[4],_0xc308[3]);_0xe773x1[_0xc308[5]](_0xc308[6],_0xc308[4],_0xc308[3])}} \ No newline at end of file diff --git a/server/migrations/20160506142105-report_integration_history.js b/server/migrations/20160506142105-report_integration_history.js index 4b2e737..65c0377 100644 --- a/server/migrations/20160506142105-report_integration_history.js +++ b/server/migrations/20160506142105-report_integration_history.js @@ -1 +1 @@ -var _0x8fd4=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x72\x65\x70\x6F\x72\x74\x5F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x5F\x68\x69\x73\x74\x6F\x72\x79","\x63\x6F\x6E\x74\x61\x63\x74\x73","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x8fd4[0];module[_0x8fd4[1]]={up:function(_0x5025x1,_0x5025x2){_0x5025x1[_0x8fd4[4]](_0x8fd4[2],_0x8fd4[3],_0x5025x2.STRING)},down:function(_0x5025x1,_0x5025x2){_0x5025x1[_0x8fd4[5]](_0x8fd4[2],_0x8fd4[3])}} \ No newline at end of file +var _0x891b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x72\x65\x70\x6F\x72\x74\x5F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x5F\x68\x69\x73\x74\x6F\x72\x79","\x63\x6F\x6E\x74\x61\x63\x74\x73","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x891b[0];module[_0x891b[1]]={up:function(_0x1309x1,_0x1309x2){_0x1309x1[_0x891b[4]](_0x891b[2],_0x891b[3],_0x1309x2.STRING)},down:function(_0x1309x1,_0x1309x2){_0x1309x1[_0x891b[5]](_0x891b[2],_0x891b[3])}} \ No newline at end of file diff --git a/server/migrations/20160506171353-fax_applications.js b/server/migrations/20160506171353-fax_applications.js index 0e1cf61..f474831 100644 --- a/server/migrations/20160506171353-fax_applications.js +++ b/server/migrations/20160506171353-fax_applications.js @@ -1 +1 @@ -var _0x1767=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x61\x70\x70\x64\x61\x74\x61","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E","\x69\x6E\x74\x65\x72\x76\x61\x6C","\x53\x54\x52\x49\x4E\x47","\x63\x68\x61\x6E\x67\x65\x43\x6F\x6C\x75\x6D\x6E","\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x20\x44\x52\x4F\x50\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x60\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x5F\x69\x62\x66\x6B\x5F\x32\x60\x3B","\x71\x75\x65\x72\x79","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x20\x41\x44\x44\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x60\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x5F\x69\x62\x66\x6B\x5F\x32\x60\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x28\x60\x46\x61\x78\x51\x75\x65\x75\x65\x49\x64\x60\x29\x20\x52\x45\x46\x45\x52\x45\x4E\x43\x45\x53\x20\x60\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x73\x60\x20\x28\x60\x69\x64\x60\x29\x20\x4F\x4E\x20\x55\x50\x44\x41\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45\x3B","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x20\x44\x52\x4F\x50\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x60\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x5F\x69\x62\x66\x6B\x5F\x33\x60\x3B","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x20\x41\x44\x44\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x60\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x5F\x69\x62\x66\x6B\x5F\x33\x60\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x28\x60\x55\x73\x65\x72\x49\x64\x60\x29\x20\x52\x45\x46\x45\x52\x45\x4E\x43\x45\x53\x20\x60\x75\x73\x65\x72\x73\x60\x20\x28\x60\x69\x64\x60\x29\x20\x4F\x4E\x20\x55\x50\x44\x41\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45\x3B","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x20\x41\x44\x44\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x60\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x5F\x69\x62\x66\x6B\x5F\x34\x60\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x28\x60\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64\x60\x29\x20\x52\x45\x46\x45\x52\x45\x4E\x43\x45\x53\x20\x60\x74\x6F\x6F\x6C\x73\x5F\x69\x6E\x74\x65\x72\x76\x61\x6C\x73\x60\x20\x28\x60\x69\x64\x60\x29\x20\x4F\x4E\x20\x44\x45\x4C\x45\x54\x45\x20\x53\x45\x54\x20\x4E\x55\x4C\x4C\x20\x4F\x4E\x20\x55\x50\x44\x41\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45\x3B","\x2A\x7C\x2A\x7C\x2A\x7C\x2A","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x20\x41\x44\x44\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x60\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x5F\x69\x62\x66\x6B\x5F\x32\x60\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x28\x60\x46\x61\x78\x51\x75\x65\x75\x65\x49\x64\x60\x29\x20\x52\x45\x46\x45\x52\x45\x4E\x43\x45\x53\x20\x60\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x73\x60\x20\x28\x60\x69\x64\x60\x29\x20\x4F\x4E\x20\x44\x45\x4C\x45\x54\x45\x20\x53\x45\x54\x20\x4E\x55\x4C\x4C\x20\x4F\x4E\x20\x55\x50\x44\x41\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x20\x41\x44\x44\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x60\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x5F\x69\x62\x66\x6B\x5F\x33\x60\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x28\x60\x55\x73\x65\x72\x49\x64\x60\x29\x20\x52\x45\x46\x45\x52\x45\x4E\x43\x45\x53\x20\x60\x75\x73\x65\x72\x73\x60\x20\x28\x60\x69\x64\x60\x29\x20\x4F\x4E\x20\x44\x45\x4C\x45\x54\x45\x20\x53\x45\x54\x20\x4E\x55\x4C\x4C\x20\x4F\x4E\x20\x55\x50\x44\x41\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45\x3B","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x20\x44\x52\x4F\x50\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x60\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x5F\x69\x62\x66\x6B\x5F\x34\x60\x3B"];_0x1767[0];module[_0x1767[1]]={up:function(_0x9fe5x1,_0x9fe5x2){_0x9fe5x1[_0x1767[4]](_0x1767[2],_0x1767[3]);_0x9fe5x1[_0x1767[7]](_0x1767[2],_0x1767[5],{type:_0x9fe5x2[_0x1767[6]]});_0x9fe5x1[_0x1767[9]](_0x1767[2],_0x1767[8],_0x9fe5x2.INTEGER);_0x9fe5x1[_0x1767[12]][_0x1767[11]](_0x1767[10]);_0x9fe5x1[_0x1767[12]][_0x1767[11]](_0x1767[13]);_0x9fe5x1[_0x1767[12]][_0x1767[11]](_0x1767[14]);_0x9fe5x1[_0x1767[12]][_0x1767[11]](_0x1767[15]);_0x9fe5x1[_0x1767[12]][_0x1767[11]](_0x1767[16])},down:function(_0x9fe5x1,_0x9fe5x2){_0x9fe5x1[_0x1767[9]](_0x1767[2],_0x1767[3],_0x9fe5x2.INTEGER);_0x9fe5x1[_0x1767[7]](_0x1767[2],_0x1767[5],{type:_0x9fe5x2[_0x1767[6]],defaultValue:_0x1767[17]});_0x9fe5x1[_0x1767[12]][_0x1767[11]](_0x1767[10]);_0x9fe5x1[_0x1767[12]][_0x1767[11]](_0x1767[18]);_0x9fe5x1[_0x1767[12]][_0x1767[11]](_0x1767[14]);_0x9fe5x1[_0x1767[12]][_0x1767[11]](_0x1767[19]);_0x9fe5x1[_0x1767[12]][_0x1767[11]](_0x1767[20]);_0x9fe5x1[_0x1767[4]](_0x1767[2],_0x1767[8])}} \ No newline at end of file +var _0xe27b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x61\x70\x70\x64\x61\x74\x61","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E","\x69\x6E\x74\x65\x72\x76\x61\x6C","\x53\x54\x52\x49\x4E\x47","\x63\x68\x61\x6E\x67\x65\x43\x6F\x6C\x75\x6D\x6E","\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x20\x44\x52\x4F\x50\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x60\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x5F\x69\x62\x66\x6B\x5F\x32\x60\x3B","\x71\x75\x65\x72\x79","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x20\x41\x44\x44\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x60\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x5F\x69\x62\x66\x6B\x5F\x32\x60\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x28\x60\x46\x61\x78\x51\x75\x65\x75\x65\x49\x64\x60\x29\x20\x52\x45\x46\x45\x52\x45\x4E\x43\x45\x53\x20\x60\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x73\x60\x20\x28\x60\x69\x64\x60\x29\x20\x4F\x4E\x20\x55\x50\x44\x41\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45\x3B","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x20\x44\x52\x4F\x50\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x60\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x5F\x69\x62\x66\x6B\x5F\x33\x60\x3B","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x20\x41\x44\x44\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x60\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x5F\x69\x62\x66\x6B\x5F\x33\x60\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x28\x60\x55\x73\x65\x72\x49\x64\x60\x29\x20\x52\x45\x46\x45\x52\x45\x4E\x43\x45\x53\x20\x60\x75\x73\x65\x72\x73\x60\x20\x28\x60\x69\x64\x60\x29\x20\x4F\x4E\x20\x55\x50\x44\x41\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45\x3B","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x20\x41\x44\x44\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x60\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x5F\x69\x62\x66\x6B\x5F\x34\x60\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x28\x60\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64\x60\x29\x20\x52\x45\x46\x45\x52\x45\x4E\x43\x45\x53\x20\x60\x74\x6F\x6F\x6C\x73\x5F\x69\x6E\x74\x65\x72\x76\x61\x6C\x73\x60\x20\x28\x60\x69\x64\x60\x29\x20\x4F\x4E\x20\x44\x45\x4C\x45\x54\x45\x20\x53\x45\x54\x20\x4E\x55\x4C\x4C\x20\x4F\x4E\x20\x55\x50\x44\x41\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45\x3B","\x2A\x7C\x2A\x7C\x2A\x7C\x2A","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x20\x41\x44\x44\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x60\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x5F\x69\x62\x66\x6B\x5F\x32\x60\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x28\x60\x46\x61\x78\x51\x75\x65\x75\x65\x49\x64\x60\x29\x20\x52\x45\x46\x45\x52\x45\x4E\x43\x45\x53\x20\x60\x66\x61\x78\x5F\x71\x75\x65\x75\x65\x73\x60\x20\x28\x60\x69\x64\x60\x29\x20\x4F\x4E\x20\x44\x45\x4C\x45\x54\x45\x20\x53\x45\x54\x20\x4E\x55\x4C\x4C\x20\x4F\x4E\x20\x55\x50\x44\x41\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x20\x41\x44\x44\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x60\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x5F\x69\x62\x66\x6B\x5F\x33\x60\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x28\x60\x55\x73\x65\x72\x49\x64\x60\x29\x20\x52\x45\x46\x45\x52\x45\x4E\x43\x45\x53\x20\x60\x75\x73\x65\x72\x73\x60\x20\x28\x60\x69\x64\x60\x29\x20\x4F\x4E\x20\x44\x45\x4C\x45\x54\x45\x20\x53\x45\x54\x20\x4E\x55\x4C\x4C\x20\x4F\x4E\x20\x55\x50\x44\x41\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45\x3B","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x20\x44\x52\x4F\x50\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x60\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73\x5F\x69\x62\x66\x6B\x5F\x34\x60\x3B"];_0xe27b[0];module[_0xe27b[1]]={up:function(_0x53e6x1,_0x53e6x2){_0x53e6x1[_0xe27b[4]](_0xe27b[2],_0xe27b[3]);_0x53e6x1[_0xe27b[7]](_0xe27b[2],_0xe27b[5],{type:_0x53e6x2[_0xe27b[6]]});_0x53e6x1[_0xe27b[9]](_0xe27b[2],_0xe27b[8],_0x53e6x2.INTEGER);_0x53e6x1[_0xe27b[12]][_0xe27b[11]](_0xe27b[10]);_0x53e6x1[_0xe27b[12]][_0xe27b[11]](_0xe27b[13]);_0x53e6x1[_0xe27b[12]][_0xe27b[11]](_0xe27b[14]);_0x53e6x1[_0xe27b[12]][_0xe27b[11]](_0xe27b[15]);_0x53e6x1[_0xe27b[12]][_0xe27b[11]](_0xe27b[16])},down:function(_0x53e6x1,_0x53e6x2){_0x53e6x1[_0xe27b[9]](_0xe27b[2],_0xe27b[3],_0x53e6x2.INTEGER);_0x53e6x1[_0xe27b[7]](_0xe27b[2],_0xe27b[5],{type:_0x53e6x2[_0xe27b[6]],defaultValue:_0xe27b[17]});_0x53e6x1[_0xe27b[12]][_0xe27b[11]](_0xe27b[10]);_0x53e6x1[_0xe27b[12]][_0xe27b[11]](_0xe27b[18]);_0x53e6x1[_0xe27b[12]][_0xe27b[11]](_0xe27b[14]);_0x53e6x1[_0xe27b[12]][_0xe27b[11]](_0xe27b[19]);_0x53e6x1[_0xe27b[12]][_0xe27b[11]](_0xe27b[20]);_0x53e6x1[_0xe27b[4]](_0xe27b[2],_0xe27b[8])}} \ No newline at end of file diff --git a/server/migrations/20160506181017-voice_extensions.js b/server/migrations/20160506181017-voice_extensions.js index 4cc2422..fbe40e7 100644 --- a/server/migrations/20160506181017-voice_extensions.js +++ b/server/migrations/20160506181017-voice_extensions.js @@ -1 +1 @@ -var _0x1db4=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73\x20\x41\x44\x44\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x60\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73\x5F\x69\x62\x66\x6B\x5F\x36\x60\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x28\x60\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74\x49\x64\x60\x29\x20\x52\x45\x46\x45\x52\x45\x4E\x43\x45\x53\x20\x60\x66\x61\x78\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73\x60\x20\x28\x60\x69\x64\x60\x29\x20\x4F\x4E\x20\x44\x45\x4C\x45\x54\x45\x20\x53\x45\x54\x20\x4E\x55\x4C\x4C\x20\x4F\x4E\x20\x55\x50\x44\x41\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45\x3B","\x71\x75\x65\x72\x79","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73\x20\x44\x52\x4F\x50\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x60\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73\x5F\x69\x62\x66\x6B\x5F\x36\x60\x3B","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x1db4[0];module[_0x1db4[1]]={up:function(_0x8d43x1,_0x8d43x2){_0x8d43x1[_0x1db4[4]](_0x1db4[2],_0x1db4[3],_0x8d43x2.INTEGER);_0x8d43x1[_0x1db4[7]][_0x1db4[6]](_0x1db4[5])},down:function(_0x8d43x1,_0x8d43x2){_0x8d43x1[_0x1db4[7]][_0x1db4[6]](_0x1db4[8]);_0x8d43x1[_0x1db4[9]](_0x1db4[2],_0x1db4[3])}} \ No newline at end of file +var _0xd927=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73\x20\x41\x44\x44\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x60\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73\x5F\x69\x62\x66\x6B\x5F\x36\x60\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x28\x60\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74\x49\x64\x60\x29\x20\x52\x45\x46\x45\x52\x45\x4E\x43\x45\x53\x20\x60\x66\x61\x78\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73\x60\x20\x28\x60\x69\x64\x60\x29\x20\x4F\x4E\x20\x44\x45\x4C\x45\x54\x45\x20\x53\x45\x54\x20\x4E\x55\x4C\x4C\x20\x4F\x4E\x20\x55\x50\x44\x41\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45\x3B","\x71\x75\x65\x72\x79","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73\x20\x44\x52\x4F\x50\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x60\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73\x5F\x69\x62\x66\x6B\x5F\x36\x60\x3B","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0xd927[0];module[_0xd927[1]]={up:function(_0x2e36x1,_0x2e36x2){_0x2e36x1[_0xd927[4]](_0xd927[2],_0xd927[3],_0x2e36x2.INTEGER);_0x2e36x1[_0xd927[7]][_0xd927[6]](_0xd927[5])},down:function(_0x2e36x1,_0x2e36x2){_0x2e36x1[_0xd927[7]][_0xd927[6]](_0xd927[8]);_0x2e36x1[_0xd927[9]](_0xd927[2],_0xd927[3])}} \ No newline at end of file diff --git a/server/migrations/20160508105043-voice_extensions.js b/server/migrations/20160508105043-voice_extensions.js index 38751ec..d7cfc04 100644 --- a/server/migrations/20160508105043-voice_extensions.js +++ b/server/migrations/20160508105043-voice_extensions.js @@ -1 +1 @@ -var _0xcc05=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73\x20\x44\x52\x4F\x50\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x60\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73\x5F\x69\x62\x66\x6B\x5F\x36\x60\x3B","\x71\x75\x65\x72\x79","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73\x20\x41\x44\x44\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x60\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73\x5F\x69\x62\x66\x6B\x5F\x36\x60\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x28\x60\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74\x49\x64\x60\x29\x20\x52\x45\x46\x45\x52\x45\x4E\x43\x45\x53\x20\x60\x66\x61\x78\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73\x60\x20\x28\x60\x69\x64\x60\x29\x20\x4F\x4E\x20\x44\x45\x4C\x45\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45\x20\x4F\x4E\x20\x55\x50\x44\x41\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45\x3B","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73\x20\x41\x44\x44\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x60\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73\x5F\x69\x62\x66\x6B\x5F\x36\x60\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x28\x60\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74\x49\x64\x60\x29\x20\x52\x45\x46\x45\x52\x45\x4E\x43\x45\x53\x20\x60\x66\x61\x78\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73\x60\x20\x28\x60\x69\x64\x60\x29\x20\x4F\x4E\x20\x44\x45\x4C\x45\x54\x45\x20\x53\x45\x54\x20\x4E\x55\x4C\x4C\x20\x4F\x4E\x20\x55\x50\x44\x41\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45\x3B"];_0xcc05[0];module[_0xcc05[1]]={up:function(_0xac2fx1,_0xac2fx2){_0xac2fx1[_0xcc05[4]][_0xcc05[3]](_0xcc05[2]);_0xac2fx1[_0xcc05[4]][_0xcc05[3]](_0xcc05[5])},down:function(_0xac2fx1,_0xac2fx2){_0xac2fx1[_0xcc05[4]][_0xcc05[3]](_0xcc05[2]);_0xac2fx1[_0xcc05[4]][_0xcc05[3]](_0xcc05[6])}} \ No newline at end of file +var _0xbc66=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73\x20\x44\x52\x4F\x50\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x60\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73\x5F\x69\x62\x66\x6B\x5F\x36\x60\x3B","\x71\x75\x65\x72\x79","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73\x20\x41\x44\x44\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x60\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73\x5F\x69\x62\x66\x6B\x5F\x36\x60\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x28\x60\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74\x49\x64\x60\x29\x20\x52\x45\x46\x45\x52\x45\x4E\x43\x45\x53\x20\x60\x66\x61\x78\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73\x60\x20\x28\x60\x69\x64\x60\x29\x20\x4F\x4E\x20\x44\x45\x4C\x45\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45\x20\x4F\x4E\x20\x55\x50\x44\x41\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45\x3B","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73\x20\x41\x44\x44\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x60\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73\x5F\x69\x62\x66\x6B\x5F\x36\x60\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x28\x60\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74\x49\x64\x60\x29\x20\x52\x45\x46\x45\x52\x45\x4E\x43\x45\x53\x20\x60\x66\x61\x78\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73\x60\x20\x28\x60\x69\x64\x60\x29\x20\x4F\x4E\x20\x44\x45\x4C\x45\x54\x45\x20\x53\x45\x54\x20\x4E\x55\x4C\x4C\x20\x4F\x4E\x20\x55\x50\x44\x41\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45\x3B"];_0xbc66[0];module[_0xbc66[1]]={up:function(_0xca1cx1,_0xca1cx2){_0xca1cx1[_0xbc66[4]][_0xbc66[3]](_0xbc66[2]);_0xca1cx1[_0xbc66[4]][_0xbc66[3]](_0xbc66[5])},down:function(_0xca1cx1,_0xca1cx2){_0xca1cx1[_0xbc66[4]][_0xbc66[3]](_0xbc66[2]);_0xca1cx1[_0xbc66[4]][_0xbc66[3]](_0xbc66[6])}} \ No newline at end of file diff --git a/server/migrations/20160509102203-fax_accounts.js b/server/migrations/20160509102203-fax_accounts.js index 0a930a0..71f5de5 100644 --- a/server/migrations/20160509102203-fax_accounts.js +++ b/server/migrations/20160509102203-fax_accounts.js @@ -1 +1 @@ -var _0xab50=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x66\x61\x78\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x66\x69\x64\x65\x6C\x69\x74\x79","\x42\x4F\x4F\x4C\x45\x41\x4E","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x74\x69\x6D\x65\x6F\x75\x74","\x49\x4E\x54\x45\x47\x45\x52","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0xab50[0];module[_0xab50[1]]={up:function(_0xa488x1,_0xa488x2){_0xa488x1[_0xab50[5]](_0xab50[2],_0xab50[3],{type:_0xa488x2[_0xab50[4]],defaultValue:false});_0xa488x1[_0xab50[5]](_0xab50[2],_0xab50[6],{type:_0xa488x2[_0xab50[7]],defaultValue:0})},down:function(_0xa488x1,_0xa488x2){_0xa488x1[_0xab50[8]](_0xab50[2],_0xab50[3]);_0xa488x1[_0xab50[8]](_0xab50[2],_0xab50[6])}} \ No newline at end of file +var _0xa889=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x66\x61\x78\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x66\x69\x64\x65\x6C\x69\x74\x79","\x42\x4F\x4F\x4C\x45\x41\x4E","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x74\x69\x6D\x65\x6F\x75\x74","\x49\x4E\x54\x45\x47\x45\x52","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0xa889[0];module[_0xa889[1]]={up:function(_0x47bax1,_0x47bax2){_0x47bax1[_0xa889[5]](_0xa889[2],_0xa889[3],{type:_0x47bax2[_0xa889[4]],defaultValue:false});_0x47bax1[_0xa889[5]](_0xa889[2],_0xa889[6],{type:_0x47bax2[_0xa889[7]],defaultValue:0})},down:function(_0x47bax1,_0x47bax2){_0x47bax1[_0xa889[8]](_0xa889[2],_0xa889[3]);_0x47bax1[_0xa889[8]](_0xa889[2],_0xa889[6])}} \ No newline at end of file diff --git a/server/migrations/20160509130347-trunks.js b/server/migrations/20160509130347-trunks.js index 2f6df7d..dc9275d 100644 --- a/server/migrations/20160509130347-trunks.js +++ b/server/migrations/20160509130347-trunks.js @@ -1 +1 @@ -var _0x7135=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x74\x6F\x6F\x6C\x73\x5F\x74\x72\x75\x6E\x6B\x73","\x70\x65\x65\x72\x73\x74\x61\x74\x75\x73","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x7135[0];module[_0x7135[1]]={up:function(_0xf9c2x1,_0xf9c2x2){_0xf9c2x1[_0x7135[4]](_0x7135[2],_0x7135[3],_0xf9c2x2.STRING)},down:function(_0xf9c2x1,_0xf9c2x2){_0xf9c2x1[_0x7135[5]](_0x7135[2],_0x7135[3])}} \ No newline at end of file +var _0xb3cb=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x74\x6F\x6F\x6C\x73\x5F\x74\x72\x75\x6E\x6B\x73","\x70\x65\x65\x72\x73\x74\x61\x74\x75\x73","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0xb3cb[0];module[_0xb3cb[1]]={up:function(_0x1556x1,_0x1556x2){_0x1556x1[_0xb3cb[4]](_0xb3cb[2],_0xb3cb[3],_0x1556x2.STRING)},down:function(_0x1556x1,_0x1556x2){_0x1556x1[_0xb3cb[5]](_0xb3cb[2],_0xb3cb[3])}} \ No newline at end of file diff --git a/server/migrations/20160509145940-report_fields.js b/server/migrations/20160509145940-report_fields.js index 5caae5b..ba81de0 100644 --- a/server/migrations/20160509145940-report_fields.js +++ b/server/migrations/20160509145940-report_fields.js @@ -1 +1 @@ -var _0x7300=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x61\x6E\x61\x6C\x79\x74\x69\x63\x73\x5F\x72\x65\x70\x6F\x72\x74\x5F\x66\x69\x65\x6C\x64\x73","\x66\x6F\x72\x6D\x61\x74","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x7300[0];module[_0x7300[1]]={up:function(_0xd8e9x1,_0xd8e9x2){_0xd8e9x1[_0x7300[4]](_0x7300[2],_0x7300[3],_0xd8e9x2.STRING)},down:function(_0xd8e9x1,_0xd8e9x2){_0xd8e9x1[_0x7300[5]](_0x7300[2],_0x7300[3])}} \ No newline at end of file +var _0x4b0c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x61\x6E\x61\x6C\x79\x74\x69\x63\x73\x5F\x72\x65\x70\x6F\x72\x74\x5F\x66\x69\x65\x6C\x64\x73","\x66\x6F\x72\x6D\x61\x74","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x4b0c[0];module[_0x4b0c[1]]={up:function(_0x2a78x1,_0x2a78x2){_0x2a78x1[_0x4b0c[4]](_0x4b0c[2],_0x4b0c[3],_0x2a78x2.STRING)},down:function(_0x2a78x1,_0x2a78x2){_0x2a78x1[_0x4b0c[5]](_0x4b0c[2],_0x4b0c[3])}} \ No newline at end of file diff --git a/server/migrations/20160509160659-mail-server.js b/server/migrations/20160509160659-mail-server.js index 4c98899..b389867 100644 --- a/server/migrations/20160509160659-mail-server.js +++ b/server/migrations/20160509160659-mail-server.js @@ -1 +1 @@ -var _0x32be=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x73\x5F\x69\x6E","\x73\x74\x61\x74\x65","\x43\x4F\x4E\x4E\x45\x43\x54\x49\x4E\x47","\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44","\x44\x49\x53\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44","\x45\x52\x52\x4F\x52","\x55\x4E\x4B\x4E\x4F\x57\x4E","\x63\x68\x61\x6E\x67\x65\x43\x6F\x6C\x75\x6D\x6E","\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x73\x5F\x6F\x75\x74"];_0x32be[0];module[_0x32be[1]]={up:function(_0xc418x1,_0xc418x2){_0xc418x1[_0x32be[9]](_0x32be[2],_0x32be[3],{type:_0xc418x2.ENUM(_0x32be[4],_0x32be[5],_0x32be[6],_0x32be[7],_0x32be[8])});_0xc418x1[_0x32be[9]](_0x32be[10],_0x32be[3],{type:_0xc418x2.ENUM(_0x32be[4],_0x32be[5],_0x32be[6],_0x32be[7],_0x32be[8])})},down:function(_0xc418x1,_0xc418x2){_0xc418x1[_0x32be[9]](_0x32be[2],_0x32be[3],{type:_0xc418x2.ENUM(_0x32be[5],_0x32be[6],_0x32be[7],_0x32be[8])});_0xc418x1[_0x32be[9]](_0x32be[10],_0x32be[3],{type:_0xc418x2.ENUM(_0x32be[5],_0x32be[6],_0x32be[7],_0x32be[8])})}} \ No newline at end of file +var _0xfb60=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x73\x5F\x69\x6E","\x73\x74\x61\x74\x65","\x43\x4F\x4E\x4E\x45\x43\x54\x49\x4E\x47","\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44","\x44\x49\x53\x43\x4F\x4E\x4E\x45\x43\x54\x45\x44","\x45\x52\x52\x4F\x52","\x55\x4E\x4B\x4E\x4F\x57\x4E","\x63\x68\x61\x6E\x67\x65\x43\x6F\x6C\x75\x6D\x6E","\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x73\x5F\x6F\x75\x74"];_0xfb60[0];module[_0xfb60[1]]={up:function(_0xfc5ex1,_0xfc5ex2){_0xfc5ex1[_0xfb60[9]](_0xfb60[2],_0xfb60[3],{type:_0xfc5ex2.ENUM(_0xfb60[4],_0xfb60[5],_0xfb60[6],_0xfb60[7],_0xfb60[8])});_0xfc5ex1[_0xfb60[9]](_0xfb60[10],_0xfb60[3],{type:_0xfc5ex2.ENUM(_0xfb60[4],_0xfb60[5],_0xfb60[6],_0xfb60[7],_0xfb60[8])})},down:function(_0xfc5ex1,_0xfc5ex2){_0xfc5ex1[_0xfb60[9]](_0xfb60[2],_0xfb60[3],{type:_0xfc5ex2.ENUM(_0xfb60[5],_0xfb60[6],_0xfb60[7],_0xfb60[8])});_0xfc5ex1[_0xfb60[9]](_0xfb60[10],_0xfb60[3],{type:_0xfc5ex2.ENUM(_0xfb60[5],_0xfb60[6],_0xfb60[7],_0xfb60[8])})}} \ No newline at end of file diff --git a/server/migrations/20160510114030-voice_recordings.js b/server/migrations/20160510114030-voice_recordings.js index 0027c7a..9b9d436 100644 --- a/server/migrations/20160510114030-voice_recordings.js +++ b/server/migrations/20160510114030-voice_recordings.js @@ -1 +1 @@ -var _0x7f59=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x76\x6F\x69\x63\x65\x5F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67\x73","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x71\x75\x65\x75\x65","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x7f59[0];module[_0x7f59[1]]={up:function(_0xde6ax1,_0xde6ax2){_0xde6ax1[_0x7f59[4]](_0x7f59[2],_0x7f59[3],_0xde6ax2.STRING);_0xde6ax1[_0x7f59[4]](_0x7f59[2],_0x7f59[5],_0xde6ax2.STRING)},down:function(_0xde6ax1,_0xde6ax2){_0xde6ax1[_0x7f59[6]](_0x7f59[2],_0x7f59[3]);_0xde6ax1[_0x7f59[6]](_0x7f59[2],_0x7f59[5])}} \ No newline at end of file +var _0x86e9=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x76\x6F\x69\x63\x65\x5F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67\x73","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x71\x75\x65\x75\x65","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x86e9[0];module[_0x86e9[1]]={up:function(_0xc08fx1,_0xc08fx2){_0xc08fx1[_0x86e9[4]](_0x86e9[2],_0x86e9[3],_0xc08fx2.STRING);_0xc08fx1[_0x86e9[4]](_0x86e9[2],_0x86e9[5],_0xc08fx2.STRING)},down:function(_0xc08fx1,_0xc08fx2){_0xc08fx1[_0x86e9[6]](_0x86e9[2],_0x86e9[3]);_0xc08fx1[_0x86e9[6]](_0x86e9[2],_0x86e9[5])}} \ No newline at end of file diff --git a/server/migrations/20160510140808-phone-bar.js b/server/migrations/20160510140808-phone-bar.js index 4735e40..ffc6c7f 100644 --- a/server/migrations/20160510140808-phone-bar.js +++ b/server/migrations/20160510140808-phone-bar.js @@ -1 +1 @@ -var _0x96d8=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x75\x73\x65\x72\x73","\x70\x68\x6F\x6E\x65\x42\x61\x72\x52\x65\x6D\x6F\x74\x65\x43\x6F\x6E\x74\x72\x6F\x6C","\x42\x4F\x4F\x4C\x45\x41\x4E","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x70\x68\x6F\x6E\x65\x42\x61\x72\x52\x65\x6D\x6F\x74\x65\x43\x6F\x6E\x74\x72\x6F\x6C\x50\x6F\x72\x74","\x53\x54\x52\x49\x4E\x47","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x96d8[0];module[_0x96d8[1]]={up:function(_0xef0dx1,_0xef0dx2){_0xef0dx1[_0x96d8[5]](_0x96d8[2],_0x96d8[3],{type:_0xef0dx2[_0x96d8[4]],defaultValue:false});_0xef0dx1[_0x96d8[5]](_0x96d8[2],_0x96d8[6],{type:_0xef0dx2[_0x96d8[7]],defaultValue:9888})},down:function(_0xef0dx1,_0xef0dx2){_0xef0dx1[_0x96d8[8]](_0x96d8[2],_0x96d8[3]);_0xef0dx1[_0x96d8[8]](_0x96d8[2],_0x96d8[6])}} \ No newline at end of file +var _0x70fe=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x75\x73\x65\x72\x73","\x70\x68\x6F\x6E\x65\x42\x61\x72\x52\x65\x6D\x6F\x74\x65\x43\x6F\x6E\x74\x72\x6F\x6C","\x42\x4F\x4F\x4C\x45\x41\x4E","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x70\x68\x6F\x6E\x65\x42\x61\x72\x52\x65\x6D\x6F\x74\x65\x43\x6F\x6E\x74\x72\x6F\x6C\x50\x6F\x72\x74","\x53\x54\x52\x49\x4E\x47","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x70fe[0];module[_0x70fe[1]]={up:function(_0xe09fx1,_0xe09fx2){_0xe09fx1[_0x70fe[5]](_0x70fe[2],_0x70fe[3],{type:_0xe09fx2[_0x70fe[4]],defaultValue:false});_0xe09fx1[_0x70fe[5]](_0x70fe[2],_0x70fe[6],{type:_0xe09fx2[_0x70fe[7]],defaultValue:9888})},down:function(_0xe09fx1,_0xe09fx2){_0xe09fx1[_0x70fe[8]](_0x70fe[2],_0x70fe[3]);_0xe09fx1[_0x70fe[8]](_0x70fe[2],_0x70fe[6])}} \ No newline at end of file diff --git a/server/migrations/20160511115852-users.js b/server/migrations/20160511115852-users.js index 7f056bd..baac000 100644 --- a/server/migrations/20160511115852-users.js +++ b/server/migrations/20160511115852-users.js @@ -1 +1 @@ -var _0xd873=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x75\x73\x65\x72\x73","\x70\x68\x6F\x6E\x65\x42\x61\x72\x52\x65\x6D\x6F\x74\x65\x43\x6F\x6E\x74\x72\x6F\x6C\x50\x6F\x72\x74","\x49\x4E\x54\x45\x47\x45\x52","\x63\x68\x61\x6E\x67\x65\x43\x6F\x6C\x75\x6D\x6E","\x70\x68\x6F\x6E\x65\x42\x61\x72\x56\x41\x44\x45\x6E\x61\x62\x6C\x65\x64","\x42\x4F\x4F\x4C\x45\x41\x4E","\x53\x54\x52\x49\x4E\x47"];_0xd873[0];module[_0xd873[1]]={up:function(_0x2642x1,_0x2642x2){_0x2642x1[_0xd873[5]](_0xd873[2],_0xd873[3],{type:_0x2642x2[_0xd873[4]]});_0x2642x1[_0xd873[5]](_0xd873[2],_0xd873[6],{type:_0x2642x2[_0xd873[7]],defaultValue:false})},down:function(_0x2642x1,_0x2642x2){_0x2642x1[_0xd873[5]](_0xd873[2],_0xd873[3],{type:_0x2642x2[_0xd873[8]]});_0x2642x1[_0xd873[5]](_0xd873[2],_0xd873[6],{type:_0x2642x2[_0xd873[7]],defaultValue:true})}} \ No newline at end of file +var _0x6754=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x75\x73\x65\x72\x73","\x70\x68\x6F\x6E\x65\x42\x61\x72\x52\x65\x6D\x6F\x74\x65\x43\x6F\x6E\x74\x72\x6F\x6C\x50\x6F\x72\x74","\x49\x4E\x54\x45\x47\x45\x52","\x63\x68\x61\x6E\x67\x65\x43\x6F\x6C\x75\x6D\x6E","\x70\x68\x6F\x6E\x65\x42\x61\x72\x56\x41\x44\x45\x6E\x61\x62\x6C\x65\x64","\x42\x4F\x4F\x4C\x45\x41\x4E","\x53\x54\x52\x49\x4E\x47"];_0x6754[0];module[_0x6754[1]]={up:function(_0x1459x1,_0x1459x2){_0x1459x1[_0x6754[5]](_0x6754[2],_0x6754[3],{type:_0x1459x2[_0x6754[4]]});_0x1459x1[_0x6754[5]](_0x6754[2],_0x6754[6],{type:_0x1459x2[_0x6754[7]],defaultValue:false})},down:function(_0x1459x1,_0x1459x2){_0x1459x1[_0x6754[5]](_0x6754[2],_0x6754[3],{type:_0x1459x2[_0x6754[8]]});_0x1459x1[_0x6754[5]](_0x6754[2],_0x6754[6],{type:_0x1459x2[_0x6754[7]],defaultValue:true})}} \ No newline at end of file diff --git a/server/migrations/20160511162334-mail-rooms.js b/server/migrations/20160511162334-mail-rooms.js index d38a1f4..44e895a 100644 --- a/server/migrations/20160511162334-mail-rooms.js +++ b/server/migrations/20160511162334-mail-rooms.js @@ -1 +1 @@ -var _0x7a48=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73","\x74\x61\x67\x73","\x54\x45\x58\x54","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x7a48[0];module[_0x7a48[1]]={up:function(_0xce53x1,_0xce53x2){_0xce53x1[_0x7a48[5]](_0x7a48[2],_0x7a48[3],{type:_0xce53x2[_0x7a48[4]]})},down:function(_0xce53x1,_0xce53x2){_0xce53x1[_0x7a48[6]](_0x7a48[2],_0x7a48[3])}} \ No newline at end of file +var _0xba6c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73","\x74\x61\x67\x73","\x54\x45\x58\x54","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0xba6c[0];module[_0xba6c[1]]={up:function(_0x55ebx1,_0x55ebx2){_0x55ebx1[_0xba6c[5]](_0xba6c[2],_0xba6c[3],{type:_0x55ebx2[_0xba6c[4]]})},down:function(_0x55ebx1,_0x55ebx2){_0x55ebx1[_0xba6c[6]](_0xba6c[2],_0xba6c[3])}} \ No newline at end of file diff --git a/server/migrations/20160511182718-fax_rooms.js b/server/migrations/20160511182718-fax_rooms.js index 16b6061..0d628f8 100644 --- a/server/migrations/20160511182718-fax_rooms.js +++ b/server/migrations/20160511182718-fax_rooms.js @@ -1 +1 @@ -var _0x5b7f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x73","\x64\x65\x6C\x65\x74\x65\x64\x41\x74","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x6F\x6F\x6D\x49\x64","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E","\x61\x63\x63\x6F\x75\x6E\x74","\x6C\x61\x73\x74\x45\x76\x65\x6E\x74","\x53\x45\x4E\x54","\x53\x45\x4E\x44\x49\x4E\x47","\x52\x45\x43\x45\x49\x56\x45\x44","\x46\x41\x49\x4C\x45\x44","\x4E\x4F\x54\x45","\x73\x74\x61\x74\x75\x73","\x4E\x45\x57","\x4F\x50\x45\x4E","\x43\x4C\x4F\x53\x45\x44","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x63\x68\x61\x6E\x67\x65\x43\x6F\x6C\x75\x6D\x6E","\x50\x45\x4E\x44\x49\x4E\x47","\x53\x4F\x4C\x56\x45\x44"];_0x5b7f[0];module[_0x5b7f[1]]={up:function(_0xc606x1,_0xc606x2){_0xc606x1[_0x5b7f[4]](_0x5b7f[2],_0x5b7f[3],_0xc606x2.DATE);_0xc606x1[_0x5b7f[6]](_0x5b7f[2],_0x5b7f[5]);_0xc606x1[_0x5b7f[4]](_0x5b7f[2],_0x5b7f[7],_0xc606x2.STRING);_0xc606x1[_0x5b7f[4]](_0x5b7f[2],_0x5b7f[8],_0xc606x2.ENUM(_0x5b7f[9],_0x5b7f[10],_0x5b7f[11],_0x5b7f[12],_0x5b7f[13]));_0xc606x1[_0x5b7f[19]](_0x5b7f[2],_0x5b7f[14],{type:_0xc606x2.ENUM(_0x5b7f[15],_0x5b7f[16],_0x5b7f[17],_0x5b7f[18]),defaultValue:_0x5b7f[15]})},down:function(_0xc606x1,_0xc606x2){_0xc606x1[_0x5b7f[6]](_0x5b7f[2],_0x5b7f[3]);_0xc606x1[_0x5b7f[4]](_0x5b7f[2],_0x5b7f[5],_0xc606x2.STRING);_0xc606x1[_0x5b7f[6]](_0x5b7f[2],_0x5b7f[7]);_0xc606x1[_0x5b7f[6]](_0x5b7f[2],_0x5b7f[8]);_0xc606x1[_0x5b7f[19]](_0x5b7f[2],_0x5b7f[14],{type:_0xc606x2.ENUM(_0x5b7f[15],_0x5b7f[16],_0x5b7f[20],_0x5b7f[21],_0x5b7f[17])})}} \ No newline at end of file +var _0xbe26=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x73","\x64\x65\x6C\x65\x74\x65\x64\x41\x74","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x6F\x6F\x6D\x49\x64","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E","\x61\x63\x63\x6F\x75\x6E\x74","\x6C\x61\x73\x74\x45\x76\x65\x6E\x74","\x53\x45\x4E\x54","\x53\x45\x4E\x44\x49\x4E\x47","\x52\x45\x43\x45\x49\x56\x45\x44","\x46\x41\x49\x4C\x45\x44","\x4E\x4F\x54\x45","\x73\x74\x61\x74\x75\x73","\x4E\x45\x57","\x4F\x50\x45\x4E","\x43\x4C\x4F\x53\x45\x44","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x63\x68\x61\x6E\x67\x65\x43\x6F\x6C\x75\x6D\x6E","\x50\x45\x4E\x44\x49\x4E\x47","\x53\x4F\x4C\x56\x45\x44"];_0xbe26[0];module[_0xbe26[1]]={up:function(_0x4a89x1,_0x4a89x2){_0x4a89x1[_0xbe26[4]](_0xbe26[2],_0xbe26[3],_0x4a89x2.DATE);_0x4a89x1[_0xbe26[6]](_0xbe26[2],_0xbe26[5]);_0x4a89x1[_0xbe26[4]](_0xbe26[2],_0xbe26[7],_0x4a89x2.STRING);_0x4a89x1[_0xbe26[4]](_0xbe26[2],_0xbe26[8],_0x4a89x2.ENUM(_0xbe26[9],_0xbe26[10],_0xbe26[11],_0xbe26[12],_0xbe26[13]));_0x4a89x1[_0xbe26[19]](_0xbe26[2],_0xbe26[14],{type:_0x4a89x2.ENUM(_0xbe26[15],_0xbe26[16],_0xbe26[17],_0xbe26[18]),defaultValue:_0xbe26[15]})},down:function(_0x4a89x1,_0x4a89x2){_0x4a89x1[_0xbe26[6]](_0xbe26[2],_0xbe26[3]);_0x4a89x1[_0xbe26[4]](_0xbe26[2],_0xbe26[5],_0x4a89x2.STRING);_0x4a89x1[_0xbe26[6]](_0xbe26[2],_0xbe26[7]);_0x4a89x1[_0xbe26[6]](_0xbe26[2],_0xbe26[8]);_0x4a89x1[_0xbe26[19]](_0xbe26[2],_0xbe26[14],{type:_0x4a89x2.ENUM(_0xbe26[15],_0xbe26[16],_0xbe26[20],_0xbe26[21],_0xbe26[17])})}} \ No newline at end of file diff --git a/server/migrations/20160512094501-fax_messages.js b/server/migrations/20160512094501-fax_messages.js index d43570e..39b7ee2 100644 --- a/server/migrations/20160512094501-fax_messages.js +++ b/server/migrations/20160512094501-fax_messages.js @@ -1 +1 @@ -var _0x6b5f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x73","\x64\x65\x6C\x65\x74\x65\x64\x41\x74","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x66\x72\x6F\x6D","\x74\x6F","\x6C\x69\x6E\x6B\x65\x64\x69\x64","\x74\x65\x78\x74","\x73\x74\x61\x74\x75\x73","\x53\x45\x4E\x54","\x53\x45\x4E\x44\x49\x4E\x47","\x52\x45\x43\x45\x49\x56\x45\x44","\x46\x41\x49\x4C\x45\x44","\x4E\x4F\x54\x45","\x63\x68\x61\x6E\x67\x65\x43\x6F\x6C\x75\x6D\x6E","\x61\x63\x74\x69\x6F\x6E\x69\x64","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E","\x6C\x61\x6E\x67\x75\x61\x67\x65","\x66\x69\x6C\x65\x6E\x61\x6D\x65\x50\x44\x46","\x6F\x70\x65\x72\x61\x74\x69\x6F\x6E","\x75\x75\x69\x64","\x6C\x61\x73\x74\x73\x74\x61\x74\x75\x73","\x65\x72\x72\x6F\x72","\x62\x6F\x64\x79","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x20\x44\x52\x4F\x50\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x60\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x5F\x69\x62\x66\x6B\x5F\x31\x60\x3B","\x71\x75\x65\x72\x79","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x20\x44\x52\x4F\x50\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x60\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x5F\x69\x62\x66\x6B\x5F\x32\x60\x3B","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x20\x44\x52\x4F\x50\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x60\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x5F\x69\x62\x66\x6B\x5F\x33\x60\x3B","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x20\x41\x44\x44\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x60\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x5F\x69\x62\x66\x6B\x5F\x31\x60\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x28\x60\x46\x61\x78\x52\x6F\x6F\x6D\x49\x64\x60\x29\x20\x52\x45\x46\x45\x52\x45\x4E\x43\x45\x53\x20\x60\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x73\x60\x20\x28\x60\x69\x64\x60\x29\x20\x4F\x4E\x20\x44\x45\x4C\x45\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45\x20\x4F\x4E\x20\x55\x50\x44\x41\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45\x3B","\x46\x72\x6F\x6D\x49\x64","\x54\x6F\x49\x64","\x55\x73\x65\x72\x49\x64","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x20\x41\x44\x44\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x60\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x5F\x69\x62\x66\x6B\x5F\x32\x60\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x28\x60\x55\x73\x65\x72\x49\x64\x60\x29\x20\x52\x45\x46\x45\x52\x45\x4E\x43\x45\x53\x20\x60\x75\x73\x65\x72\x73\x60\x20\x28\x60\x69\x64\x60\x29\x20\x4F\x4E\x20\x44\x45\x4C\x45\x54\x45\x20\x53\x45\x54\x20\x4E\x55\x4C\x4C\x20\x4F\x4E\x20\x55\x50\x44\x41\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45\x3B","\x4E\x4F\x54\x20\x53\x45\x4E\x54","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x20\x41\x44\x44\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x60\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x5F\x69\x62\x66\x6B\x5F\x31\x60\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x28\x60\x46\x61\x78\x52\x6F\x6F\x6D\x49\x64\x60\x29\x20\x52\x45\x46\x45\x52\x45\x4E\x43\x45\x53\x20\x60\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x73\x60\x20\x28\x60\x69\x64\x60\x29\x20\x4F\x4E\x20\x44\x45\x4C\x45\x54\x45\x20\x53\x45\x54\x20\x4E\x55\x4C\x4C\x20\x4F\x4E\x20\x55\x50\x44\x41\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45\x3B","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x20\x41\x44\x44\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x60\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x5F\x69\x62\x66\x6B\x5F\x32\x60\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x28\x60\x46\x72\x6F\x6D\x49\x64\x60\x29\x20\x52\x45\x46\x45\x52\x45\x4E\x43\x45\x53\x20\x60\x63\x6D\x5F\x63\x6F\x6E\x74\x61\x63\x74\x73\x60\x20\x28\x60\x69\x64\x60\x29\x20\x4F\x4E\x20\x44\x45\x4C\x45\x54\x45\x20\x53\x45\x54\x20\x4E\x55\x4C\x4C\x20\x4F\x4E\x20\x55\x50\x44\x41\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45\x3B","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x20\x41\x44\x44\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x60\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x5F\x69\x62\x66\x6B\x5F\x33\x60\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x28\x60\x54\x6F\x49\x64\x60\x29\x20\x52\x45\x46\x45\x52\x45\x4E\x43\x45\x53\x20\x60\x63\x6D\x5F\x63\x6F\x6E\x74\x61\x63\x74\x73\x60\x20\x28\x60\x69\x64\x60\x29\x20\x4F\x4E\x20\x44\x45\x4C\x45\x54\x45\x20\x53\x45\x54\x20\x4E\x55\x4C\x4C\x20\x4F\x4E\x20\x55\x50\x44\x41\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45\x3B"];_0x6b5f[0];module[_0x6b5f[1]]={up:function(_0x3b96x1,_0x3b96x2){_0x3b96x1[_0x6b5f[4]](_0x6b5f[2],_0x6b5f[3],_0x3b96x2.DATE);_0x3b96x1[_0x6b5f[4]](_0x6b5f[2],_0x6b5f[5],_0x3b96x2.STRING);_0x3b96x1[_0x6b5f[4]](_0x6b5f[2],_0x6b5f[6],_0x3b96x2.STRING);_0x3b96x1[_0x6b5f[4]](_0x6b5f[2],_0x6b5f[7],_0x3b96x2.STRING);_0x3b96x1[_0x6b5f[4]](_0x6b5f[2],_0x6b5f[8],_0x3b96x2.BLOB);_0x3b96x1[_0x6b5f[15]](_0x6b5f[2],_0x6b5f[9],{type:_0x3b96x2.ENUM(_0x6b5f[10],_0x6b5f[11],_0x6b5f[12],_0x6b5f[13],_0x6b5f[14]),defaultValue:_0x6b5f[11]});_0x3b96x1[_0x6b5f[17]](_0x6b5f[2],_0x6b5f[16]);_0x3b96x1[_0x6b5f[17]](_0x6b5f[2],_0x6b5f[18]);_0x3b96x1[_0x6b5f[17]](_0x6b5f[2],_0x6b5f[19]);_0x3b96x1[_0x6b5f[17]](_0x6b5f[2],_0x6b5f[20]);_0x3b96x1[_0x6b5f[17]](_0x6b5f[2],_0x6b5f[21]);_0x3b96x1[_0x6b5f[17]](_0x6b5f[2],_0x6b5f[22]);_0x3b96x1[_0x6b5f[17]](_0x6b5f[2],_0x6b5f[23]);_0x3b96x1[_0x6b5f[17]](_0x6b5f[2],_0x6b5f[24]);_0x3b96x1[_0x6b5f[27]][_0x6b5f[26]](_0x6b5f[25]);_0x3b96x1[_0x6b5f[27]][_0x6b5f[26]](_0x6b5f[28]);_0x3b96x1[_0x6b5f[27]][_0x6b5f[26]](_0x6b5f[29]);_0x3b96x1[_0x6b5f[27]][_0x6b5f[26]](_0x6b5f[30]);_0x3b96x1[_0x6b5f[17]](_0x6b5f[2],_0x6b5f[31]);_0x3b96x1[_0x6b5f[17]](_0x6b5f[2],_0x6b5f[32]);_0x3b96x1[_0x6b5f[4]](_0x6b5f[2],_0x6b5f[33],_0x3b96x2.INTEGER);_0x3b96x1[_0x6b5f[27]][_0x6b5f[26]](_0x6b5f[34])},down:function(_0x3b96x1,_0x3b96x2){_0x3b96x1[_0x6b5f[17]](_0x6b5f[2],_0x6b5f[3]);_0x3b96x1[_0x6b5f[17]](_0x6b5f[2],_0x6b5f[5]);_0x3b96x1[_0x6b5f[17]](_0x6b5f[2],_0x6b5f[6]);_0x3b96x1[_0x6b5f[17]](_0x6b5f[2],_0x6b5f[7]);_0x3b96x1[_0x6b5f[17]](_0x6b5f[2],_0x6b5f[8]);_0x3b96x1[_0x6b5f[15]](_0x6b5f[2],_0x6b5f[9],{type:_0x3b96x2.ENUM(_0x6b5f[10],_0x6b5f[11],_0x6b5f[12],_0x6b5f[35]),allowNull:true});_0x3b96x1[_0x6b5f[4]](_0x6b5f[2],_0x6b5f[16],_0x3b96x2.STRING);_0x3b96x1[_0x6b5f[4]](_0x6b5f[2],_0x6b5f[18],_0x3b96x2.STRING);_0x3b96x1[_0x6b5f[4]](_0x6b5f[2],_0x6b5f[19],_0x3b96x2.STRING);_0x3b96x1[_0x6b5f[4]](_0x6b5f[2],_0x6b5f[20],_0x3b96x2.STRING);_0x3b96x1[_0x6b5f[4]](_0x6b5f[2],_0x6b5f[21],_0x3b96x2.STRING);_0x3b96x1[_0x6b5f[4]](_0x6b5f[2],_0x6b5f[22],_0x3b96x2.STRING);_0x3b96x1[_0x6b5f[4]](_0x6b5f[2],_0x6b5f[23],_0x3b96x2.STRING);_0x3b96x1[_0x6b5f[4]](_0x6b5f[2],_0x6b5f[24],_0x3b96x2.TEXT);_0x3b96x1[_0x6b5f[27]][_0x6b5f[26]](_0x6b5f[25]);_0x3b96x1[_0x6b5f[27]][_0x6b5f[26]](_0x6b5f[36]);_0x3b96x1[_0x6b5f[4]](_0x6b5f[2],_0x6b5f[31],_0x3b96x2.INTEGER);_0x3b96x1[_0x6b5f[4]](_0x6b5f[2],_0x6b5f[32],_0x3b96x2.INTEGER);_0x3b96x1[_0x6b5f[27]][_0x6b5f[26]](_0x6b5f[28]);_0x3b96x1[_0x6b5f[17]](_0x6b5f[2],_0x6b5f[33]);_0x3b96x1[_0x6b5f[27]][_0x6b5f[26]](_0x6b5f[37]);_0x3b96x1[_0x6b5f[27]][_0x6b5f[26]](_0x6b5f[38])}} \ No newline at end of file +var _0xdf0d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x73","\x64\x65\x6C\x65\x74\x65\x64\x41\x74","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x66\x72\x6F\x6D","\x74\x6F","\x6C\x69\x6E\x6B\x65\x64\x69\x64","\x74\x65\x78\x74","\x73\x74\x61\x74\x75\x73","\x53\x45\x4E\x54","\x53\x45\x4E\x44\x49\x4E\x47","\x52\x45\x43\x45\x49\x56\x45\x44","\x46\x41\x49\x4C\x45\x44","\x4E\x4F\x54\x45","\x63\x68\x61\x6E\x67\x65\x43\x6F\x6C\x75\x6D\x6E","\x61\x63\x74\x69\x6F\x6E\x69\x64","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E","\x6C\x61\x6E\x67\x75\x61\x67\x65","\x66\x69\x6C\x65\x6E\x61\x6D\x65\x50\x44\x46","\x6F\x70\x65\x72\x61\x74\x69\x6F\x6E","\x75\x75\x69\x64","\x6C\x61\x73\x74\x73\x74\x61\x74\x75\x73","\x65\x72\x72\x6F\x72","\x62\x6F\x64\x79","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x20\x44\x52\x4F\x50\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x60\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x5F\x69\x62\x66\x6B\x5F\x31\x60\x3B","\x71\x75\x65\x72\x79","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x20\x44\x52\x4F\x50\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x60\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x5F\x69\x62\x66\x6B\x5F\x32\x60\x3B","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x20\x44\x52\x4F\x50\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x60\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x5F\x69\x62\x66\x6B\x5F\x33\x60\x3B","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x20\x41\x44\x44\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x60\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x5F\x69\x62\x66\x6B\x5F\x31\x60\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x28\x60\x46\x61\x78\x52\x6F\x6F\x6D\x49\x64\x60\x29\x20\x52\x45\x46\x45\x52\x45\x4E\x43\x45\x53\x20\x60\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x73\x60\x20\x28\x60\x69\x64\x60\x29\x20\x4F\x4E\x20\x44\x45\x4C\x45\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45\x20\x4F\x4E\x20\x55\x50\x44\x41\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45\x3B","\x46\x72\x6F\x6D\x49\x64","\x54\x6F\x49\x64","\x55\x73\x65\x72\x49\x64","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x20\x41\x44\x44\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x60\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x5F\x69\x62\x66\x6B\x5F\x32\x60\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x28\x60\x55\x73\x65\x72\x49\x64\x60\x29\x20\x52\x45\x46\x45\x52\x45\x4E\x43\x45\x53\x20\x60\x75\x73\x65\x72\x73\x60\x20\x28\x60\x69\x64\x60\x29\x20\x4F\x4E\x20\x44\x45\x4C\x45\x54\x45\x20\x53\x45\x54\x20\x4E\x55\x4C\x4C\x20\x4F\x4E\x20\x55\x50\x44\x41\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45\x3B","\x4E\x4F\x54\x20\x53\x45\x4E\x54","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x20\x41\x44\x44\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x60\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x5F\x69\x62\x66\x6B\x5F\x31\x60\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x28\x60\x46\x61\x78\x52\x6F\x6F\x6D\x49\x64\x60\x29\x20\x52\x45\x46\x45\x52\x45\x4E\x43\x45\x53\x20\x60\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x73\x60\x20\x28\x60\x69\x64\x60\x29\x20\x4F\x4E\x20\x44\x45\x4C\x45\x54\x45\x20\x53\x45\x54\x20\x4E\x55\x4C\x4C\x20\x4F\x4E\x20\x55\x50\x44\x41\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45\x3B","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x20\x41\x44\x44\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x60\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x5F\x69\x62\x66\x6B\x5F\x32\x60\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x28\x60\x46\x72\x6F\x6D\x49\x64\x60\x29\x20\x52\x45\x46\x45\x52\x45\x4E\x43\x45\x53\x20\x60\x63\x6D\x5F\x63\x6F\x6E\x74\x61\x63\x74\x73\x60\x20\x28\x60\x69\x64\x60\x29\x20\x4F\x4E\x20\x44\x45\x4C\x45\x54\x45\x20\x53\x45\x54\x20\x4E\x55\x4C\x4C\x20\x4F\x4E\x20\x55\x50\x44\x41\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45\x3B","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x20\x41\x44\x44\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x60\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65\x73\x5F\x69\x62\x66\x6B\x5F\x33\x60\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x28\x60\x54\x6F\x49\x64\x60\x29\x20\x52\x45\x46\x45\x52\x45\x4E\x43\x45\x53\x20\x60\x63\x6D\x5F\x63\x6F\x6E\x74\x61\x63\x74\x73\x60\x20\x28\x60\x69\x64\x60\x29\x20\x4F\x4E\x20\x44\x45\x4C\x45\x54\x45\x20\x53\x45\x54\x20\x4E\x55\x4C\x4C\x20\x4F\x4E\x20\x55\x50\x44\x41\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45\x3B"];_0xdf0d[0];module[_0xdf0d[1]]={up:function(_0x5940x1,_0x5940x2){_0x5940x1[_0xdf0d[4]](_0xdf0d[2],_0xdf0d[3],_0x5940x2.DATE);_0x5940x1[_0xdf0d[4]](_0xdf0d[2],_0xdf0d[5],_0x5940x2.STRING);_0x5940x1[_0xdf0d[4]](_0xdf0d[2],_0xdf0d[6],_0x5940x2.STRING);_0x5940x1[_0xdf0d[4]](_0xdf0d[2],_0xdf0d[7],_0x5940x2.STRING);_0x5940x1[_0xdf0d[4]](_0xdf0d[2],_0xdf0d[8],_0x5940x2.BLOB);_0x5940x1[_0xdf0d[15]](_0xdf0d[2],_0xdf0d[9],{type:_0x5940x2.ENUM(_0xdf0d[10],_0xdf0d[11],_0xdf0d[12],_0xdf0d[13],_0xdf0d[14]),defaultValue:_0xdf0d[11]});_0x5940x1[_0xdf0d[17]](_0xdf0d[2],_0xdf0d[16]);_0x5940x1[_0xdf0d[17]](_0xdf0d[2],_0xdf0d[18]);_0x5940x1[_0xdf0d[17]](_0xdf0d[2],_0xdf0d[19]);_0x5940x1[_0xdf0d[17]](_0xdf0d[2],_0xdf0d[20]);_0x5940x1[_0xdf0d[17]](_0xdf0d[2],_0xdf0d[21]);_0x5940x1[_0xdf0d[17]](_0xdf0d[2],_0xdf0d[22]);_0x5940x1[_0xdf0d[17]](_0xdf0d[2],_0xdf0d[23]);_0x5940x1[_0xdf0d[17]](_0xdf0d[2],_0xdf0d[24]);_0x5940x1[_0xdf0d[27]][_0xdf0d[26]](_0xdf0d[25]);_0x5940x1[_0xdf0d[27]][_0xdf0d[26]](_0xdf0d[28]);_0x5940x1[_0xdf0d[27]][_0xdf0d[26]](_0xdf0d[29]);_0x5940x1[_0xdf0d[27]][_0xdf0d[26]](_0xdf0d[30]);_0x5940x1[_0xdf0d[17]](_0xdf0d[2],_0xdf0d[31]);_0x5940x1[_0xdf0d[17]](_0xdf0d[2],_0xdf0d[32]);_0x5940x1[_0xdf0d[4]](_0xdf0d[2],_0xdf0d[33],_0x5940x2.INTEGER);_0x5940x1[_0xdf0d[27]][_0xdf0d[26]](_0xdf0d[34])},down:function(_0x5940x1,_0x5940x2){_0x5940x1[_0xdf0d[17]](_0xdf0d[2],_0xdf0d[3]);_0x5940x1[_0xdf0d[17]](_0xdf0d[2],_0xdf0d[5]);_0x5940x1[_0xdf0d[17]](_0xdf0d[2],_0xdf0d[6]);_0x5940x1[_0xdf0d[17]](_0xdf0d[2],_0xdf0d[7]);_0x5940x1[_0xdf0d[17]](_0xdf0d[2],_0xdf0d[8]);_0x5940x1[_0xdf0d[15]](_0xdf0d[2],_0xdf0d[9],{type:_0x5940x2.ENUM(_0xdf0d[10],_0xdf0d[11],_0xdf0d[12],_0xdf0d[35]),allowNull:true});_0x5940x1[_0xdf0d[4]](_0xdf0d[2],_0xdf0d[16],_0x5940x2.STRING);_0x5940x1[_0xdf0d[4]](_0xdf0d[2],_0xdf0d[18],_0x5940x2.STRING);_0x5940x1[_0xdf0d[4]](_0xdf0d[2],_0xdf0d[19],_0x5940x2.STRING);_0x5940x1[_0xdf0d[4]](_0xdf0d[2],_0xdf0d[20],_0x5940x2.STRING);_0x5940x1[_0xdf0d[4]](_0xdf0d[2],_0xdf0d[21],_0x5940x2.STRING);_0x5940x1[_0xdf0d[4]](_0xdf0d[2],_0xdf0d[22],_0x5940x2.STRING);_0x5940x1[_0xdf0d[4]](_0xdf0d[2],_0xdf0d[23],_0x5940x2.STRING);_0x5940x1[_0xdf0d[4]](_0xdf0d[2],_0xdf0d[24],_0x5940x2.TEXT);_0x5940x1[_0xdf0d[27]][_0xdf0d[26]](_0xdf0d[25]);_0x5940x1[_0xdf0d[27]][_0xdf0d[26]](_0xdf0d[36]);_0x5940x1[_0xdf0d[4]](_0xdf0d[2],_0xdf0d[31],_0x5940x2.INTEGER);_0x5940x1[_0xdf0d[4]](_0xdf0d[2],_0xdf0d[32],_0x5940x2.INTEGER);_0x5940x1[_0xdf0d[27]][_0xdf0d[26]](_0xdf0d[28]);_0x5940x1[_0xdf0d[17]](_0xdf0d[2],_0xdf0d[33]);_0x5940x1[_0xdf0d[27]][_0xdf0d[26]](_0xdf0d[37]);_0x5940x1[_0xdf0d[27]][_0xdf0d[26]](_0xdf0d[38])}} \ No newline at end of file diff --git a/server/migrations/20160512123554-report_mail_room.js b/server/migrations/20160512123554-report_mail_room.js index 828da07..e6c4111 100644 --- a/server/migrations/20160512123554-report_mail_room.js +++ b/server/migrations/20160512123554-report_mail_room.js @@ -1 +1 @@ -var _0x1449=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D","\x73\x74\x61\x74\x75\x73","\x4E\x45\x57","\x4F\x50\x45\x4E","\x43\x4C\x4F\x53\x45\x44","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D","\x41\x42\x41\x4E\x44\x4F\x4E","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x5F\x68\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x5F\x68\x69\x73\x74\x6F\x72\x79","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x1449[0];module[_0x1449[1]]={up:function(_0x5fcax1,_0x5fcax2){_0x5fcax1[_0x1449[8]](_0x1449[2],_0x1449[3],{type:_0x5fcax2.ENUM(_0x1449[4],_0x1449[5],_0x1449[6],_0x1449[7]),defaultValue:_0x1449[4]});_0x5fcax1[_0x1449[8]](_0x1449[9],_0x1449[3],{type:_0x5fcax2.ENUM(_0x1449[4],_0x1449[5],_0x1449[6],_0x1449[10],_0x1449[7]),defaultValue:_0x1449[4]});_0x5fcax1[_0x1449[8]](_0x1449[11],_0x1449[3],{type:_0x5fcax2.ENUM(_0x1449[4],_0x1449[5],_0x1449[6],_0x1449[7]),defaultValue:_0x1449[4]});_0x5fcax1[_0x1449[8]](_0x1449[12],_0x1449[3],{type:_0x5fcax2.ENUM(_0x1449[4],_0x1449[5],_0x1449[6],_0x1449[10],_0x1449[7]),defaultValue:_0x1449[4]})},down:function(_0x5fcax1,_0x5fcax2){_0x5fcax1[_0x1449[13]](_0x1449[2],_0x1449[3]);_0x5fcax1[_0x1449[13]](_0x1449[9],_0x1449[3]);_0x5fcax1[_0x1449[13]](_0x1449[11],_0x1449[3]);_0x5fcax1[_0x1449[13]](_0x1449[12],_0x1449[3])}} \ No newline at end of file +var _0xdda2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D","\x73\x74\x61\x74\x75\x73","\x4E\x45\x57","\x4F\x50\x45\x4E","\x43\x4C\x4F\x53\x45\x44","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D","\x41\x42\x41\x4E\x44\x4F\x4E","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x5F\x68\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x5F\x68\x69\x73\x74\x6F\x72\x79","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0xdda2[0];module[_0xdda2[1]]={up:function(_0x472ex1,_0x472ex2){_0x472ex1[_0xdda2[8]](_0xdda2[2],_0xdda2[3],{type:_0x472ex2.ENUM(_0xdda2[4],_0xdda2[5],_0xdda2[6],_0xdda2[7]),defaultValue:_0xdda2[4]});_0x472ex1[_0xdda2[8]](_0xdda2[9],_0xdda2[3],{type:_0x472ex2.ENUM(_0xdda2[4],_0xdda2[5],_0xdda2[6],_0xdda2[10],_0xdda2[7]),defaultValue:_0xdda2[4]});_0x472ex1[_0xdda2[8]](_0xdda2[11],_0xdda2[3],{type:_0x472ex2.ENUM(_0xdda2[4],_0xdda2[5],_0xdda2[6],_0xdda2[7]),defaultValue:_0xdda2[4]});_0x472ex1[_0xdda2[8]](_0xdda2[12],_0xdda2[3],{type:_0x472ex2.ENUM(_0xdda2[4],_0xdda2[5],_0xdda2[6],_0xdda2[10],_0xdda2[7]),defaultValue:_0xdda2[4]})},down:function(_0x472ex1,_0x472ex2){_0x472ex1[_0xdda2[13]](_0xdda2[2],_0xdda2[3]);_0x472ex1[_0xdda2[13]](_0xdda2[9],_0xdda2[3]);_0x472ex1[_0xdda2[13]](_0xdda2[11],_0xdda2[3]);_0x472ex1[_0xdda2[13]](_0xdda2[12],_0xdda2[3])}} \ No newline at end of file diff --git a/server/migrations/20160512131153-chat_rooms.js b/server/migrations/20160512131153-chat_rooms.js index 2e524a7..ec33ff2 100644 --- a/server/migrations/20160512131153-chat_rooms.js +++ b/server/migrations/20160512131153-chat_rooms.js @@ -1 +1 @@ -var _0x3536=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x73","\x73\x74\x61\x74\x75\x73","\x4E\x45\x57","\x4F\x50\x45\x4E","\x43\x4C\x4F\x53\x45\x44","\x41\x42\x41\x4E\x44\x4F\x4E","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x63\x68\x61\x6E\x67\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x3536[0];module[_0x3536[1]]={up:function(_0xfd34x1,_0xfd34x2){return _0xfd34x1[_0x3536[9]](_0x3536[2],_0x3536[3],{type:_0xfd34x2.ENUM(_0x3536[4],_0x3536[5],_0x3536[6],_0x3536[7],_0x3536[8]),defaultValue:_0x3536[4]})},down:function(_0xfd34x1,_0xfd34x2){return _0xfd34x1[_0x3536[9]](_0x3536[2],_0x3536[3],{type:_0xfd34x2.ENUM(_0x3536[5],_0x3536[6],_0x3536[7],_0x3536[8]),defaultValue:_0x3536[5]})}} \ No newline at end of file +var _0x2804=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x73","\x73\x74\x61\x74\x75\x73","\x4E\x45\x57","\x4F\x50\x45\x4E","\x43\x4C\x4F\x53\x45\x44","\x41\x42\x41\x4E\x44\x4F\x4E","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x63\x68\x61\x6E\x67\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x2804[0];module[_0x2804[1]]={up:function(_0x3493x1,_0x3493x2){return _0x3493x1[_0x2804[9]](_0x2804[2],_0x2804[3],{type:_0x3493x2.ENUM(_0x2804[4],_0x2804[5],_0x2804[6],_0x2804[7],_0x2804[8]),defaultValue:_0x2804[4]})},down:function(_0x3493x1,_0x3493x2){return _0x3493x1[_0x2804[9]](_0x2804[2],_0x2804[3],{type:_0x3493x2.ENUM(_0x2804[5],_0x2804[6],_0x2804[7],_0x2804[8]),defaultValue:_0x2804[5]})}} \ No newline at end of file diff --git a/server/migrations/20160512182519-report_fax_and_sms.js b/server/migrations/20160512182519-report_fax_and_sms.js index d6b7eaf..528d937 100644 --- a/server/migrations/20160512182519-report_fax_and_sms.js +++ b/server/migrations/20160512182519-report_fax_and_sms.js @@ -1 +1 @@ -var _0x3001=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x5F\x72\x6F\x6F\x6D","\x73\x74\x61\x74\x75\x73","\x4E\x45\x57","\x4F\x50\x45\x4E","\x43\x4C\x4F\x53\x45\x44","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x5F\x72\x6F\x6F\x6D","\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x5F\x68\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x5F\x72\x6F\x6F\x6D\x5F\x68\x69\x73\x74\x6F\x72\x79","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x3001[0];module[_0x3001[1]]={up:function(_0xa0f9x1,_0xa0f9x2){_0xa0f9x1[_0x3001[8]](_0x3001[2],_0x3001[3],{type:_0xa0f9x2.ENUM(_0x3001[4],_0x3001[5],_0x3001[6],_0x3001[7]),defaultValue:_0x3001[4]});_0xa0f9x1[_0x3001[8]](_0x3001[9],_0x3001[3],{type:_0xa0f9x2.ENUM(_0x3001[4],_0x3001[5],_0x3001[6],_0x3001[7]),defaultValue:_0x3001[4]});_0xa0f9x1[_0x3001[8]](_0x3001[10],_0x3001[3],{type:_0xa0f9x2.ENUM(_0x3001[4],_0x3001[5],_0x3001[6],_0x3001[7]),defaultValue:_0x3001[4]});_0xa0f9x1[_0x3001[8]](_0x3001[11],_0x3001[3],{type:_0xa0f9x2.ENUM(_0x3001[4],_0x3001[5],_0x3001[6],_0x3001[7]),defaultValue:_0x3001[4]})},down:function(_0xa0f9x1,_0xa0f9x2){_0xa0f9x1[_0x3001[12]](_0x3001[2],_0x3001[3]);_0xa0f9x1[_0x3001[12]](_0x3001[9],_0x3001[3]);_0xa0f9x1[_0x3001[12]](_0x3001[10],_0x3001[3]);_0xa0f9x1[_0x3001[12]](_0x3001[11],_0x3001[3])}} \ No newline at end of file +var _0x3d66=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x5F\x72\x6F\x6F\x6D","\x73\x74\x61\x74\x75\x73","\x4E\x45\x57","\x4F\x50\x45\x4E","\x43\x4C\x4F\x53\x45\x44","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x5F\x72\x6F\x6F\x6D","\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x5F\x68\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x5F\x72\x6F\x6F\x6D\x5F\x68\x69\x73\x74\x6F\x72\x79","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x3d66[0];module[_0x3d66[1]]={up:function(_0x719dx1,_0x719dx2){_0x719dx1[_0x3d66[8]](_0x3d66[2],_0x3d66[3],{type:_0x719dx2.ENUM(_0x3d66[4],_0x3d66[5],_0x3d66[6],_0x3d66[7]),defaultValue:_0x3d66[4]});_0x719dx1[_0x3d66[8]](_0x3d66[9],_0x3d66[3],{type:_0x719dx2.ENUM(_0x3d66[4],_0x3d66[5],_0x3d66[6],_0x3d66[7]),defaultValue:_0x3d66[4]});_0x719dx1[_0x3d66[8]](_0x3d66[10],_0x3d66[3],{type:_0x719dx2.ENUM(_0x3d66[4],_0x3d66[5],_0x3d66[6],_0x3d66[7]),defaultValue:_0x3d66[4]});_0x719dx1[_0x3d66[8]](_0x3d66[11],_0x3d66[3],{type:_0x719dx2.ENUM(_0x3d66[4],_0x3d66[5],_0x3d66[6],_0x3d66[7]),defaultValue:_0x3d66[4]})},down:function(_0x719dx1,_0x719dx2){_0x719dx1[_0x3d66[12]](_0x3d66[2],_0x3d66[3]);_0x719dx1[_0x3d66[12]](_0x3d66[9],_0x3d66[3]);_0x719dx1[_0x3d66[12]](_0x3d66[10],_0x3d66[3]);_0x719dx1[_0x3d66[12]](_0x3d66[11],_0x3d66[3])}} \ No newline at end of file diff --git a/server/migrations/20160513153038-report_jscripty_sessions.js b/server/migrations/20160513153038-report_jscripty_sessions.js index e05968d..8ea91dd 100644 --- a/server/migrations/20160513153038-report_jscripty_sessions.js +++ b/server/migrations/20160513153038-report_jscripty_sessions.js @@ -1 +1 @@ -var _0xec3d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x72\x65\x70\x6F\x72\x74\x5F\x6A\x73\x63\x72\x69\x70\x74\x79\x5F\x73\x65\x73\x73\x69\x6F\x6E\x73","\x71\x75\x65\x75\x65","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x61\x6D\x65","\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x75\x6D","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0xec3d[0];module[_0xec3d[1]]={up:function(_0x49e9x1,_0x49e9x2){_0x49e9x1[_0xec3d[4]](_0xec3d[2],_0xec3d[3],_0x49e9x2.STRING);_0x49e9x1[_0xec3d[4]](_0xec3d[2],_0xec3d[5],_0x49e9x2.STRING);_0x49e9x1[_0xec3d[4]](_0xec3d[2],_0xec3d[6],_0x49e9x2.STRING);_0x49e9x1[_0xec3d[4]](_0xec3d[2],_0xec3d[7],_0x49e9x2.STRING)},down:function(_0x49e9x1,_0x49e9x2){_0x49e9x1[_0xec3d[8]](_0xec3d[2],_0xec3d[3],_0x49e9x2.STRING);_0x49e9x1[_0xec3d[8]](_0xec3d[2],_0xec3d[5],_0x49e9x2.STRING);_0x49e9x1[_0xec3d[8]](_0xec3d[2],_0xec3d[6],_0x49e9x2.STRING);_0x49e9x1[_0xec3d[8]](_0xec3d[2],_0xec3d[7],_0x49e9x2.STRING)}} \ No newline at end of file +var _0xffdd=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x72\x65\x70\x6F\x72\x74\x5F\x6A\x73\x63\x72\x69\x70\x74\x79\x5F\x73\x65\x73\x73\x69\x6F\x6E\x73","\x71\x75\x65\x75\x65","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x61\x6D\x65","\x63\x61\x6C\x6C\x65\x72\x69\x64\x6E\x75\x6D","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0xffdd[0];module[_0xffdd[1]]={up:function(_0x8b9ax1,_0x8b9ax2){_0x8b9ax1[_0xffdd[4]](_0xffdd[2],_0xffdd[3],_0x8b9ax2.STRING);_0x8b9ax1[_0xffdd[4]](_0xffdd[2],_0xffdd[5],_0x8b9ax2.STRING);_0x8b9ax1[_0xffdd[4]](_0xffdd[2],_0xffdd[6],_0x8b9ax2.STRING);_0x8b9ax1[_0xffdd[4]](_0xffdd[2],_0xffdd[7],_0x8b9ax2.STRING)},down:function(_0x8b9ax1,_0x8b9ax2){_0x8b9ax1[_0xffdd[8]](_0xffdd[2],_0xffdd[3],_0x8b9ax2.STRING);_0x8b9ax1[_0xffdd[8]](_0xffdd[2],_0xffdd[5],_0x8b9ax2.STRING);_0x8b9ax1[_0xffdd[8]](_0xffdd[2],_0xffdd[6],_0x8b9ax2.STRING);_0x8b9ax1[_0xffdd[8]](_0xffdd[2],_0xffdd[7],_0x8b9ax2.STRING)}} \ No newline at end of file diff --git a/server/migrations/20160514095244-report_jscripty_questions.js b/server/migrations/20160514095244-report_jscripty_questions.js index 6c220eb..6504968 100644 --- a/server/migrations/20160514095244-report_jscripty_questions.js +++ b/server/migrations/20160514095244-report_jscripty_questions.js @@ -1 +1 @@ -var _0x3dcd=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x72\x65\x70\x6F\x72\x74\x5F\x6A\x73\x63\x72\x69\x70\x74\x79\x5F\x71\x75\x65\x73\x74\x69\x6F\x6E\x73","\x71\x75\x65\x73\x74\x69\x6F\x6E\x5F\x6F\x70\x74\x69\x6F\x6E\x73","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x3dcd[0];module[_0x3dcd[1]]={up:function(_0x9862x1,_0x9862x2){_0x9862x1[_0x3dcd[4]](_0x3dcd[2],_0x3dcd[3],_0x9862x2.STRING)},down:function(_0x9862x1,_0x9862x2){_0x9862x1[_0x3dcd[5]](_0x3dcd[2],_0x3dcd[3],_0x9862x2.STRING)}} \ No newline at end of file +var _0xe78a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x72\x65\x70\x6F\x72\x74\x5F\x6A\x73\x63\x72\x69\x70\x74\x79\x5F\x71\x75\x65\x73\x74\x69\x6F\x6E\x73","\x71\x75\x65\x73\x74\x69\x6F\x6E\x5F\x6F\x70\x74\x69\x6F\x6E\x73","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0xe78a[0];module[_0xe78a[1]]={up:function(_0x9f99x1,_0x9f99x2){_0x9f99x1[_0xe78a[4]](_0xe78a[2],_0xe78a[3],_0x9f99x2.STRING)},down:function(_0x9f99x1,_0x9f99x2){_0x9f99x1[_0xe78a[5]](_0xe78a[2],_0xe78a[3],_0x9f99x2.STRING)}} \ No newline at end of file diff --git a/server/migrations/20160515123238-report_call.js b/server/migrations/20160515123238-report_call.js index 27a047a..96276ea 100644 --- a/server/migrations/20160515123238-report_call.js +++ b/server/migrations/20160515123238-report_call.js @@ -1 +1 @@ -var _0xd778=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C","\x74\x79\x70\x65","\x69\x6E\x62\x6F\x75\x6E\x64","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x69\x6E\x62\x6F\x75\x6E\x64\x2D\x66\x61\x78","\x6F\x75\x74\x62\x6F\x75\x6E\x64\x2D\x66\x61\x78","\x63\x68\x61\x6E\x67\x65\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x5F\x68\x69\x73\x74\x6F\x72\x79"];_0xd778[0];module[_0xd778[1]]={up:function(_0xd453x1,_0xd453x2){_0xd453x1[_0xd778[9]](_0xd778[2],_0xd778[3],{type:_0xd453x2.ENUM(_0xd778[4],_0xd778[5],_0xd778[6],_0xd778[7],_0xd778[8])});_0xd453x1[_0xd778[9]](_0xd778[10],_0xd778[3],{type:_0xd453x2.ENUM(_0xd778[4],_0xd778[5],_0xd778[6],_0xd778[7],_0xd778[8])})},down:function(_0xd453x1,_0xd453x2){_0xd453x1[_0xd778[9]](_0xd778[2],_0xd778[3],{type:_0xd453x2.ENUM(_0xd778[4],_0xd778[5],_0xd778[6])});_0xd453x1[_0xd778[9]](_0xd778[10],_0xd778[3],{type:_0xd453x2.ENUM(_0xd778[4],_0xd778[5],_0xd778[6])})}} \ No newline at end of file +var _0xef2d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C","\x74\x79\x70\x65","\x69\x6E\x62\x6F\x75\x6E\x64","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x69\x6E\x62\x6F\x75\x6E\x64\x2D\x66\x61\x78","\x6F\x75\x74\x62\x6F\x75\x6E\x64\x2D\x66\x61\x78","\x63\x68\x61\x6E\x67\x65\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C\x5F\x68\x69\x73\x74\x6F\x72\x79"];_0xef2d[0];module[_0xef2d[1]]={up:function(_0xa571x1,_0xa571x2){_0xa571x1[_0xef2d[9]](_0xef2d[2],_0xef2d[3],{type:_0xa571x2.ENUM(_0xef2d[4],_0xef2d[5],_0xef2d[6],_0xef2d[7],_0xef2d[8])});_0xa571x1[_0xef2d[9]](_0xef2d[10],_0xef2d[3],{type:_0xa571x2.ENUM(_0xef2d[4],_0xef2d[5],_0xef2d[6],_0xef2d[7],_0xef2d[8])})},down:function(_0xa571x1,_0xa571x2){_0xa571x1[_0xef2d[9]](_0xef2d[2],_0xef2d[3],{type:_0xa571x2.ENUM(_0xef2d[4],_0xef2d[5],_0xef2d[6])});_0xa571x1[_0xef2d[9]](_0xef2d[10],_0xef2d[3],{type:_0xa571x2.ENUM(_0xef2d[4],_0xef2d[5],_0xef2d[6])})}} \ No newline at end of file diff --git a/server/migrations/20160517180411-fax_rooms.js b/server/migrations/20160517180411-fax_rooms.js index 656e2b8..9b9f4f5 100644 --- a/server/migrations/20160517180411-fax_rooms.js +++ b/server/migrations/20160517180411-fax_rooms.js @@ -1 +1 @@ -var _0x3451=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x73","\x74\x61\x67\x73","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x3451[0];module[_0x3451[1]]={up:function(_0x72b9x1,_0x72b9x2){_0x72b9x1[_0x3451[4]](_0x3451[2],_0x3451[3],_0x72b9x2.TEXT)},down:function(_0x72b9x1,_0x72b9x2){_0x72b9x1[_0x3451[5]](_0x3451[2],_0x3451[3])}} \ No newline at end of file +var _0xc991=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x66\x61\x78\x5F\x72\x6F\x6F\x6D\x73","\x74\x61\x67\x73","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0xc991[0];module[_0xc991[1]]={up:function(_0x42ddx1,_0x42ddx2){_0x42ddx1[_0xc991[4]](_0xc991[2],_0xc991[3],_0x42ddx2.TEXT)},down:function(_0x42ddx1,_0x42ddx2){_0x42ddx1[_0xc991[5]](_0xc991[2],_0xc991[3])}} \ No newline at end of file diff --git a/server/migrations/20160517180628-report_mail.js b/server/migrations/20160517180628-report_mail.js index 5edac41..da1ce4a 100644 --- a/server/migrations/20160517180628-report_mail.js +++ b/server/migrations/20160517180628-report_mail.js @@ -1 +1 @@ -var _0x2671=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C","\x66\x72\x6F\x6D","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x68\x69\x73\x74\x6F\x72\x79","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x2671[0];module[_0x2671[1]]={up:function(_0x2b8dx1,_0x2b8dx2){_0x2b8dx1[_0x2671[4]](_0x2671[2],_0x2671[3],_0x2b8dx2.STRING);_0x2b8dx1[_0x2671[4]](_0x2671[5],_0x2671[3],_0x2b8dx2.STRING)},down:function(_0x2b8dx1,_0x2b8dx2){_0x2b8dx1[_0x2671[6]](_0x2671[2],_0x2671[3]);_0x2b8dx1[_0x2671[6]](_0x2671[5],_0x2671[3])}} \ No newline at end of file +var _0x4b15=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C","\x66\x72\x6F\x6D","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x68\x69\x73\x74\x6F\x72\x79","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x4b15[0];module[_0x4b15[1]]={up:function(_0x70cex1,_0x70cex2){_0x70cex1[_0x4b15[4]](_0x4b15[2],_0x4b15[3],_0x70cex2.STRING);_0x70cex1[_0x4b15[4]](_0x4b15[5],_0x4b15[3],_0x70cex2.STRING)},down:function(_0x70cex1,_0x70cex2){_0x70cex1[_0x4b15[6]](_0x4b15[2],_0x4b15[3]);_0x70cex1[_0x4b15[6]](_0x4b15[5],_0x4b15[3])}} \ No newline at end of file diff --git a/server/migrations/20160518133136-report_jscripty_questions.js b/server/migrations/20160518133136-report_jscripty_questions.js index 9f1c9db..f72f8bb 100644 --- a/server/migrations/20160518133136-report_jscripty_questions.js +++ b/server/migrations/20160518133136-report_jscripty_questions.js @@ -1 +1 @@ -var _0xde4b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x72\x65\x70\x6F\x72\x74\x5F\x6A\x73\x63\x72\x69\x70\x74\x79\x5F\x71\x75\x65\x73\x74\x69\x6F\x6E\x73","\x69\x6E\x64\x65\x78","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0xde4b[0];module[_0xde4b[1]]={up:function(_0xf162x1,_0xf162x2){_0xf162x1[_0xde4b[4]](_0xde4b[2],_0xde4b[3],_0xf162x2.INTEGER)},down:function(_0xf162x1,_0xf162x2){_0xf162x1[_0xde4b[5]](_0xde4b[2],_0xde4b[3])}} \ No newline at end of file +var _0x4431=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x72\x65\x70\x6F\x72\x74\x5F\x6A\x73\x63\x72\x69\x70\x74\x79\x5F\x71\x75\x65\x73\x74\x69\x6F\x6E\x73","\x69\x6E\x64\x65\x78","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x4431[0];module[_0x4431[1]]={up:function(_0x7433x1,_0x7433x2){_0x7433x1[_0x4431[4]](_0x4431[2],_0x4431[3],_0x7433x2.INTEGER)},down:function(_0x7433x1,_0x7433x2){_0x7433x1[_0x4431[5]](_0x4431[2],_0x4431[3])}} \ No newline at end of file diff --git a/server/migrations/20160519141054-sms_rooms.js b/server/migrations/20160519141054-sms_rooms.js index 25b7428..3921a00 100644 --- a/server/migrations/20160519141054-sms_rooms.js +++ b/server/migrations/20160519141054-sms_rooms.js @@ -1 +1 @@ -var _0xa029=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x73\x6D\x73\x5F\x72\x6F\x6F\x6D\x73","\x74\x61\x67\x73","\x54\x45\x58\x54","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x73\x74\x61\x74\x75\x73","\x4E\x45\x57","\x4F\x50\x45\x4E","\x43\x4C\x4F\x53\x45\x44","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x43\x53\x51\x55\x41\x52\x45","\x63\x68\x61\x6E\x67\x65\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0xa029[0];module[_0xa029[1]]={up:function(_0x4f3bx1,_0x4f3bx2){_0x4f3bx1[_0xa029[5]](_0xa029[2],_0xa029[3],{type:_0x4f3bx2[_0xa029[4]]});_0x4f3bx1[_0xa029[12]](_0xa029[2],_0xa029[6],{type:_0x4f3bx2.ENUM(_0xa029[7],_0xa029[8],_0xa029[9],_0xa029[10],_0xa029[11])})},down:function(_0x4f3bx1,_0x4f3bx2){_0x4f3bx1[_0xa029[13]](_0xa029[2],_0xa029[3]);_0x4f3bx1[_0xa029[12]](_0xa029[2],_0xa029[6],{type:_0x4f3bx2.ENUM(_0xa029[7],_0xa029[8],_0xa029[9])})}} \ No newline at end of file +var _0x86c2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x73\x6D\x73\x5F\x72\x6F\x6F\x6D\x73","\x74\x61\x67\x73","\x54\x45\x58\x54","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x73\x74\x61\x74\x75\x73","\x4E\x45\x57","\x4F\x50\x45\x4E","\x43\x4C\x4F\x53\x45\x44","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x43\x53\x51\x55\x41\x52\x45","\x63\x68\x61\x6E\x67\x65\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x86c2[0];module[_0x86c2[1]]={up:function(_0x8d2dx1,_0x8d2dx2){_0x8d2dx1[_0x86c2[5]](_0x86c2[2],_0x86c2[3],{type:_0x8d2dx2[_0x86c2[4]]});_0x8d2dx1[_0x86c2[12]](_0x86c2[2],_0x86c2[6],{type:_0x8d2dx2.ENUM(_0x86c2[7],_0x86c2[8],_0x86c2[9],_0x86c2[10],_0x86c2[11])})},down:function(_0x8d2dx1,_0x8d2dx2){_0x8d2dx1[_0x86c2[13]](_0x86c2[2],_0x86c2[3]);_0x8d2dx1[_0x86c2[12]](_0x86c2[2],_0x86c2[6],{type:_0x8d2dx2.ENUM(_0x86c2[7],_0x86c2[8],_0x86c2[9])})}} \ No newline at end of file diff --git a/server/migrations/20160520121915-report_sms.js b/server/migrations/20160520121915-report_sms.js index 4d0688e..a490628 100644 --- a/server/migrations/20160520121915-report_sms.js +++ b/server/migrations/20160520121915-report_sms.js @@ -1 +1 @@ -var _0x3b24=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73","\x66\x72\x6F\x6D","\x53\x54\x52\x49\x4E\x47","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x3b24[0];module[_0x3b24[1]]={up:function(_0x95a0x1,_0x95a0x2){_0x95a0x1[_0x3b24[5]](_0x3b24[2],_0x3b24[3],{type:_0x95a0x2[_0x3b24[4]]})},down:function(_0x95a0x1,_0x95a0x2){_0x95a0x1[_0x3b24[6]](_0x3b24[2],_0x3b24[3])}} \ No newline at end of file +var _0xeeb4=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73","\x66\x72\x6F\x6D","\x53\x54\x52\x49\x4E\x47","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0xeeb4[0];module[_0xeeb4[1]]={up:function(_0x66fex1,_0x66fex2){_0x66fex1[_0xeeb4[5]](_0xeeb4[2],_0xeeb4[3],{type:_0x66fex2[_0xeeb4[4]]})},down:function(_0x66fex1,_0x66fex2){_0x66fex1[_0xeeb4[6]](_0xeeb4[2],_0xeeb4[3])}} \ No newline at end of file diff --git a/server/migrations/20160520131839-chat_room.js b/server/migrations/20160520131839-chat_room.js index 2ce1284..a867e76 100644 --- a/server/migrations/20160520131839-chat_room.js +++ b/server/migrations/20160520131839-chat_room.js @@ -1 +1 @@ -var _0x9892=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x73","\x74\x61\x67\x73","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x9892[0];module[_0x9892[1]]={up:function(_0x5fdcx1,_0x5fdcx2){_0x5fdcx1[_0x9892[4]](_0x9892[2],_0x9892[3],_0x5fdcx2.TEXT)},down:function(_0x5fdcx1,_0x5fdcx2){_0x5fdcx1[_0x9892[5]](_0x9892[2],_0x9892[3])}} \ No newline at end of file +var _0x3c0a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x73","\x74\x61\x67\x73","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x3c0a[0];module[_0x3c0a[1]]={up:function(_0xd59ex1,_0xd59ex2){_0xd59ex1[_0x3c0a[4]](_0x3c0a[2],_0x3c0a[3],_0xd59ex2.TEXT)},down:function(_0xd59ex1,_0xd59ex2){_0xd59ex1[_0x3c0a[5]](_0x3c0a[2],_0x3c0a[3])}} \ No newline at end of file diff --git a/server/migrations/20160520135050-mail-rooms.js b/server/migrations/20160520135050-mail-rooms.js index e891b1f..cd1ea20 100644 --- a/server/migrations/20160520135050-mail-rooms.js +++ b/server/migrations/20160520135050-mail-rooms.js @@ -1 +1 @@ -var _0xf7ba=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73","\x6D\x61\x69\x6C\x49\x6E","\x49\x4E\x54\x45\x47\x45\x52","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x6D\x61\x69\x6C\x4F\x75\x74","\x6C\x61\x73\x74\x45\x76\x65\x6E\x74\x41\x74","\x64\x65\x6C\x65\x74\x65\x64","\x42\x4F\x4F\x4C\x45\x41\x4E","\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x6D\x61\x69\x6C\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x4C\x69\x73\x74\x49\x64","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x6D\x61\x69\x6C\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73\x20\x41\x44\x44\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x60\x6D\x61\x69\x6C\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73\x5F\x69\x62\x66\x6B\x5F\x31\x60\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x28\x60\x4C\x69\x73\x74\x49\x64\x60\x29\x20\x52\x45\x46\x45\x52\x45\x4E\x43\x45\x53\x20\x60\x63\x6D\x5F\x6C\x69\x73\x74\x73\x60\x20\x28\x60\x69\x64\x60\x29\x20\x4F\x4E\x20\x44\x45\x4C\x45\x54\x45\x20\x53\x45\x54\x20\x4E\x55\x4C\x4C\x20\x4F\x4E\x20\x55\x50\x44\x41\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45","\x71\x75\x65\x72\x79","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x6D\x61\x69\x6C\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73\x20\x44\x52\x4F\x50\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x60\x6D\x61\x69\x6C\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73\x5F\x69\x62\x66\x6B\x5F\x31\x60\x3B"];_0xf7ba[0];module[_0xf7ba[1]]={up:function(_0x5bffx1,_0x5bffx2){_0x5bffx1[_0xf7ba[5]](_0xf7ba[2],_0xf7ba[3],{type:_0x5bffx2[_0xf7ba[4]],defaultValue:0});_0x5bffx1[_0xf7ba[5]](_0xf7ba[2],_0xf7ba[6],{type:_0x5bffx2[_0xf7ba[4]],defaultValue:0});_0x5bffx1[_0xf7ba[5]](_0xf7ba[2],_0xf7ba[7],_0x5bffx2.DATE);_0x5bffx1[_0xf7ba[5]](_0xf7ba[2],_0xf7ba[8],{type:_0x5bffx2[_0xf7ba[9]],defaultValue:false});_0x5bffx1[_0xf7ba[5]](_0xf7ba[2],_0xf7ba[10],_0x5bffx2.STRING);_0x5bffx1[_0xf7ba[5]](_0xf7ba[11],_0xf7ba[12],_0x5bffx2.INTEGER);_0x5bffx1[_0xf7ba[15]][_0xf7ba[14]](_0xf7ba[13])},down:function(_0x5bffx1,_0x5bffx2){_0x5bffx1[_0xf7ba[16]](_0xf7ba[2],_0xf7ba[3]);_0x5bffx1[_0xf7ba[16]](_0xf7ba[2],_0xf7ba[6]);_0x5bffx1[_0xf7ba[16]](_0xf7ba[2],_0xf7ba[7]);_0x5bffx1[_0xf7ba[16]](_0xf7ba[2],_0xf7ba[8]);_0x5bffx1[_0xf7ba[16]](_0xf7ba[2],_0xf7ba[10]);_0x5bffx1[_0xf7ba[15]][_0xf7ba[14]](_0xf7ba[17]);_0x5bffx1[_0xf7ba[16]](_0xf7ba[11],_0xf7ba[12])}} \ No newline at end of file +var _0x3bc0=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73","\x6D\x61\x69\x6C\x49\x6E","\x49\x4E\x54\x45\x47\x45\x52","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x6D\x61\x69\x6C\x4F\x75\x74","\x6C\x61\x73\x74\x45\x76\x65\x6E\x74\x41\x74","\x64\x65\x6C\x65\x74\x65\x64","\x42\x4F\x4F\x4C\x45\x41\x4E","\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x6D\x61\x69\x6C\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x4C\x69\x73\x74\x49\x64","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x6D\x61\x69\x6C\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73\x20\x41\x44\x44\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x60\x6D\x61\x69\x6C\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73\x5F\x69\x62\x66\x6B\x5F\x31\x60\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x28\x60\x4C\x69\x73\x74\x49\x64\x60\x29\x20\x52\x45\x46\x45\x52\x45\x4E\x43\x45\x53\x20\x60\x63\x6D\x5F\x6C\x69\x73\x74\x73\x60\x20\x28\x60\x69\x64\x60\x29\x20\x4F\x4E\x20\x44\x45\x4C\x45\x54\x45\x20\x53\x45\x54\x20\x4E\x55\x4C\x4C\x20\x4F\x4E\x20\x55\x50\x44\x41\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45","\x71\x75\x65\x72\x79","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x6D\x61\x69\x6C\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73\x20\x44\x52\x4F\x50\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x60\x6D\x61\x69\x6C\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73\x5F\x69\x62\x66\x6B\x5F\x31\x60\x3B"];_0x3bc0[0];module[_0x3bc0[1]]={up:function(_0xc35fx1,_0xc35fx2){_0xc35fx1[_0x3bc0[5]](_0x3bc0[2],_0x3bc0[3],{type:_0xc35fx2[_0x3bc0[4]],defaultValue:0});_0xc35fx1[_0x3bc0[5]](_0x3bc0[2],_0x3bc0[6],{type:_0xc35fx2[_0x3bc0[4]],defaultValue:0});_0xc35fx1[_0x3bc0[5]](_0x3bc0[2],_0x3bc0[7],_0xc35fx2.DATE);_0xc35fx1[_0x3bc0[5]](_0x3bc0[2],_0x3bc0[8],{type:_0xc35fx2[_0x3bc0[9]],defaultValue:false});_0xc35fx1[_0x3bc0[5]](_0x3bc0[2],_0x3bc0[10],_0xc35fx2.STRING);_0xc35fx1[_0x3bc0[5]](_0x3bc0[11],_0x3bc0[12],_0xc35fx2.INTEGER);_0xc35fx1[_0x3bc0[15]][_0x3bc0[14]](_0x3bc0[13])},down:function(_0xc35fx1,_0xc35fx2){_0xc35fx1[_0x3bc0[16]](_0x3bc0[2],_0x3bc0[3]);_0xc35fx1[_0x3bc0[16]](_0x3bc0[2],_0x3bc0[6]);_0xc35fx1[_0x3bc0[16]](_0x3bc0[2],_0x3bc0[7]);_0xc35fx1[_0x3bc0[16]](_0x3bc0[2],_0x3bc0[8]);_0xc35fx1[_0x3bc0[16]](_0x3bc0[2],_0x3bc0[10]);_0xc35fx1[_0x3bc0[15]][_0x3bc0[14]](_0x3bc0[17]);_0xc35fx1[_0x3bc0[16]](_0x3bc0[11],_0x3bc0[12])}} \ No newline at end of file diff --git a/server/migrations/20160520155633-report_fax.js b/server/migrations/20160520155633-report_fax.js index 7ad8c40..9563bf5 100644 --- a/server/migrations/20160520155633-report_fax.js +++ b/server/migrations/20160520155633-report_fax.js @@ -1 +1 @@ -var _0xd793=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78","\x66\x72\x6F\x6D","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x5F\x68\x69\x73\x74\x6F\x72\x79","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0xd793[0];module[_0xd793[1]]={up:function(_0x5d79x1,_0x5d79x2){_0x5d79x1[_0xd793[4]](_0xd793[2],_0xd793[3],_0x5d79x2.STRING);_0x5d79x1[_0xd793[4]](_0xd793[5],_0xd793[3],_0x5d79x2.STRING)},down:function(_0x5d79x1,_0x5d79x2){_0x5d79x1[_0xd793[6]](_0xd793[2],_0xd793[3]);_0x5d79x1[_0xd793[6]](_0xd793[5],_0xd793[3])}} \ No newline at end of file +var _0x3e59=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78","\x66\x72\x6F\x6D","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x5F\x68\x69\x73\x74\x6F\x72\x79","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x3e59[0];module[_0x3e59[1]]={up:function(_0xe125x1,_0xe125x2){_0xe125x1[_0x3e59[4]](_0x3e59[2],_0x3e59[3],_0xe125x2.STRING);_0xe125x1[_0x3e59[4]](_0x3e59[5],_0x3e59[3],_0xe125x2.STRING)},down:function(_0xe125x1,_0xe125x2){_0xe125x1[_0x3e59[6]](_0x3e59[2],_0x3e59[3]);_0xe125x1[_0x3e59[6]](_0x3e59[5],_0x3e59[3])}} \ No newline at end of file diff --git a/server/migrations/20160523145045-chat_rooms.js b/server/migrations/20160523145045-chat_rooms.js index 98da376..62cbe08 100644 --- a/server/migrations/20160523145045-chat_rooms.js +++ b/server/migrations/20160523145045-chat_rooms.js @@ -1 +1 @@ -var _0x5bc9=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x73","\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x5bc9[0];module[_0x5bc9[1]]={up:function(_0x10cdx1,_0x10cdx2){_0x10cdx1[_0x5bc9[4]](_0x5bc9[2],_0x5bc9[3],_0x10cdx2.STRING)},down:function(_0x10cdx1,_0x10cdx2){_0x10cdx1[_0x5bc9[5]](_0x5bc9[2],_0x5bc9[3])}} \ No newline at end of file +var _0xd230=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x73","\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0xd230[0];module[_0xd230[1]]={up:function(_0xbe5dx1,_0xbe5dx2){_0xbe5dx1[_0xd230[4]](_0xd230[2],_0xd230[3],_0xbe5dx2.STRING)},down:function(_0xbe5dx1,_0xbe5dx2){_0xbe5dx1[_0xd230[5]](_0xd230[2],_0xd230[3])}} \ No newline at end of file diff --git a/server/migrations/20160523154501-mail-messages.js b/server/migrations/20160523154501-mail-messages.js index fb91308..eac3162 100644 --- a/server/migrations/20160523154501-mail-messages.js +++ b/server/migrations/20160523154501-mail-messages.js @@ -1 +1 @@ -var _0x50c3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x73","\x66\x72\x6F\x6D\x49\x64","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x50c3[0];module[_0x50c3[1]]={up:function(_0x93afx1,_0x93afx2){_0x93afx1[_0x50c3[4]](_0x50c3[2],_0x50c3[3],_0x93afx2.INTEGER)},down:function(_0x93afx1,_0x93afx2){_0x93afx1[_0x50c3[5]](_0x50c3[2],_0x50c3[3])}} \ No newline at end of file +var _0xfdc2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x73","\x66\x72\x6F\x6D\x49\x64","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0xfdc2[0];module[_0xfdc2[1]]={up:function(_0xd4adx1,_0xd4adx2){_0xd4adx1[_0xfdc2[4]](_0xfdc2[2],_0xfdc2[3],_0xd4adx2.INTEGER)},down:function(_0xd4adx1,_0xd4adx2){_0xd4adx1[_0xfdc2[5]](_0xfdc2[2],_0xfdc2[3])}} \ No newline at end of file diff --git a/server/migrations/20160524085528-chat_websites.js b/server/migrations/20160524085528-chat_websites.js index 317b13c..d079d66 100644 --- a/server/migrations/20160524085528-chat_websites.js +++ b/server/migrations/20160524085528-chat_websites.js @@ -1 +1 @@ -var _0xe0a2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x73","\x4C\x69\x73\x74\x49\x64","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x73\x20\x41\x44\x44\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x60\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x73\x5F\x69\x62\x66\x6B\x5F\x31\x60\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x28\x60\x4C\x69\x73\x74\x49\x64\x60\x29\x20\x52\x45\x46\x45\x52\x45\x4E\x43\x45\x53\x20\x60\x63\x6D\x5F\x6C\x69\x73\x74\x73\x60\x20\x28\x60\x69\x64\x60\x29\x20\x4F\x4E\x20\x44\x45\x4C\x45\x54\x45\x20\x53\x45\x54\x20\x4E\x55\x4C\x4C\x20\x4F\x4E\x20\x55\x50\x44\x41\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45","\x71\x75\x65\x72\x79","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x73\x20\x44\x52\x4F\x50\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x60\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x73\x5F\x31\x60\x3B","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0xe0a2[0];module[_0xe0a2[1]]={up:function(_0x587dx1,_0x587dx2){_0x587dx1[_0xe0a2[4]](_0xe0a2[2],_0xe0a2[3],_0x587dx2.INTEGER);_0x587dx1[_0xe0a2[7]][_0xe0a2[6]](_0xe0a2[5])},down:function(_0x587dx1,_0x587dx2){_0x587dx1[_0xe0a2[7]][_0xe0a2[6]](_0xe0a2[8]);_0x587dx1[_0xe0a2[9]](_0xe0a2[2],_0xe0a2[3])}} \ No newline at end of file +var _0x3bda=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x73","\x4C\x69\x73\x74\x49\x64","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x73\x20\x41\x44\x44\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x60\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x73\x5F\x69\x62\x66\x6B\x5F\x31\x60\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x28\x60\x4C\x69\x73\x74\x49\x64\x60\x29\x20\x52\x45\x46\x45\x52\x45\x4E\x43\x45\x53\x20\x60\x63\x6D\x5F\x6C\x69\x73\x74\x73\x60\x20\x28\x60\x69\x64\x60\x29\x20\x4F\x4E\x20\x44\x45\x4C\x45\x54\x45\x20\x53\x45\x54\x20\x4E\x55\x4C\x4C\x20\x4F\x4E\x20\x55\x50\x44\x41\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45","\x71\x75\x65\x72\x79","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x73\x20\x44\x52\x4F\x50\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x60\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x73\x5F\x31\x60\x3B","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x3bda[0];module[_0x3bda[1]]={up:function(_0x835dx1,_0x835dx2){_0x835dx1[_0x3bda[4]](_0x3bda[2],_0x3bda[3],_0x835dx2.INTEGER);_0x835dx1[_0x3bda[7]][_0x3bda[6]](_0x3bda[5])},down:function(_0x835dx1,_0x835dx2){_0x835dx1[_0x3bda[7]][_0x3bda[6]](_0x3bda[8]);_0x835dx1[_0x3bda[9]](_0x3bda[2],_0x3bda[3])}} \ No newline at end of file diff --git a/server/migrations/20160524110213-sms_accounts.js b/server/migrations/20160524110213-sms_accounts.js index 6a551a3..948d934 100644 --- a/server/migrations/20160524110213-sms_accounts.js +++ b/server/migrations/20160524110213-sms_accounts.js @@ -1 +1 @@ -var _0xc21e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x73\x6D\x73\x5F\x72\x6F\x6F\x6D\x73","\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x73\x6D\x73\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x4C\x69\x73\x74\x49\x64","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x73\x6D\x73\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73\x20\x41\x44\x44\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x60\x73\x6D\x73\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73\x5F\x69\x62\x66\x6B\x5F\x31\x60\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x28\x60\x4C\x69\x73\x74\x49\x64\x60\x29\x20\x52\x45\x46\x45\x52\x45\x4E\x43\x45\x53\x20\x60\x63\x6D\x5F\x6C\x69\x73\x74\x73\x60\x20\x28\x60\x69\x64\x60\x29\x20\x4F\x4E\x20\x44\x45\x4C\x45\x54\x45\x20\x53\x45\x54\x20\x4E\x55\x4C\x4C\x20\x4F\x4E\x20\x55\x50\x44\x41\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45","\x71\x75\x65\x72\x79","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x5F\x68\x69\x73\x74\x6F\x72\x79","\x66\x72\x6F\x6D","\x73\x74\x61\x74\x75\x73","\x4E\x45\x57","\x4F\x50\x45\x4E","\x43\x4C\x4F\x53\x45\x44","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x63\x68\x61\x6E\x67\x65\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x73\x6D\x73\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73\x20\x44\x52\x4F\x50\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x60\x73\x6D\x73\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73\x5F\x69\x62\x66\x6B\x5F\x31\x60\x3B","\x43\x53\x51\x55\x41\x52\x45"];_0xc21e[0];module[_0xc21e[1]]={up:function(_0x2074x1,_0x2074x2){_0x2074x1[_0xc21e[4]](_0xc21e[2],_0xc21e[3],_0x2074x2.STRING);_0x2074x1[_0xc21e[4]](_0xc21e[5],_0xc21e[6],_0x2074x2.INTEGER);_0x2074x1[_0xc21e[9]][_0xc21e[8]](_0xc21e[7]);_0x2074x1[_0xc21e[4]](_0xc21e[10],_0xc21e[11],_0x2074x2.STRING);_0x2074x1[_0xc21e[17]](_0xc21e[2],_0xc21e[12],{type:_0x2074x2.ENUM(_0xc21e[13],_0xc21e[14],_0xc21e[15],_0xc21e[16])})},down:function(_0x2074x1,_0x2074x2){_0x2074x1[_0xc21e[18]](_0xc21e[2],_0xc21e[3]);_0x2074x1[_0xc21e[9]][_0xc21e[8]](_0xc21e[19]);_0x2074x1[_0xc21e[18]](_0xc21e[5],_0xc21e[6]);_0x2074x1[_0xc21e[18]](_0xc21e[10],_0xc21e[11]);_0x2074x1[_0xc21e[17]](_0xc21e[2],_0xc21e[12],{type:_0x2074x2.ENUM(_0xc21e[13],_0xc21e[14],_0xc21e[15],_0xc21e[16],_0xc21e[20])})}} \ No newline at end of file +var _0xb2a2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x73\x6D\x73\x5F\x72\x6F\x6F\x6D\x73","\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x73\x6D\x73\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x4C\x69\x73\x74\x49\x64","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x73\x6D\x73\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73\x20\x41\x44\x44\x20\x43\x4F\x4E\x53\x54\x52\x41\x49\x4E\x54\x20\x60\x73\x6D\x73\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73\x5F\x69\x62\x66\x6B\x5F\x31\x60\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x28\x60\x4C\x69\x73\x74\x49\x64\x60\x29\x20\x52\x45\x46\x45\x52\x45\x4E\x43\x45\x53\x20\x60\x63\x6D\x5F\x6C\x69\x73\x74\x73\x60\x20\x28\x60\x69\x64\x60\x29\x20\x4F\x4E\x20\x44\x45\x4C\x45\x54\x45\x20\x53\x45\x54\x20\x4E\x55\x4C\x4C\x20\x4F\x4E\x20\x55\x50\x44\x41\x54\x45\x20\x43\x41\x53\x43\x41\x44\x45","\x71\x75\x65\x72\x79","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x5F\x68\x69\x73\x74\x6F\x72\x79","\x66\x72\x6F\x6D","\x73\x74\x61\x74\x75\x73","\x4E\x45\x57","\x4F\x50\x45\x4E","\x43\x4C\x4F\x53\x45\x44","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x63\x68\x61\x6E\x67\x65\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E","\x41\x4C\x54\x45\x52\x20\x54\x41\x42\x4C\x45\x20\x73\x6D\x73\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73\x20\x44\x52\x4F\x50\x20\x46\x4F\x52\x45\x49\x47\x4E\x20\x4B\x45\x59\x20\x60\x73\x6D\x73\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73\x5F\x69\x62\x66\x6B\x5F\x31\x60\x3B","\x43\x53\x51\x55\x41\x52\x45"];_0xb2a2[0];module[_0xb2a2[1]]={up:function(_0x91c8x1,_0x91c8x2){_0x91c8x1[_0xb2a2[4]](_0xb2a2[2],_0xb2a2[3],_0x91c8x2.STRING);_0x91c8x1[_0xb2a2[4]](_0xb2a2[5],_0xb2a2[6],_0x91c8x2.INTEGER);_0x91c8x1[_0xb2a2[9]][_0xb2a2[8]](_0xb2a2[7]);_0x91c8x1[_0xb2a2[4]](_0xb2a2[10],_0xb2a2[11],_0x91c8x2.STRING);_0x91c8x1[_0xb2a2[17]](_0xb2a2[2],_0xb2a2[12],{type:_0x91c8x2.ENUM(_0xb2a2[13],_0xb2a2[14],_0xb2a2[15],_0xb2a2[16])})},down:function(_0x91c8x1,_0x91c8x2){_0x91c8x1[_0xb2a2[18]](_0xb2a2[2],_0xb2a2[3]);_0x91c8x1[_0xb2a2[9]][_0xb2a2[8]](_0xb2a2[19]);_0x91c8x1[_0xb2a2[18]](_0xb2a2[5],_0xb2a2[6]);_0x91c8x1[_0xb2a2[18]](_0xb2a2[10],_0xb2a2[11]);_0x91c8x1[_0xb2a2[17]](_0xb2a2[2],_0xb2a2[12],{type:_0x91c8x2.ENUM(_0xb2a2[13],_0xb2a2[14],_0xb2a2[15],_0xb2a2[16],_0xb2a2[20])})}} \ No newline at end of file diff --git a/server/migrations/20160526151853-mail-rooms.js b/server/migrations/20160526151853-mail-rooms.js index be86f47..942ce00 100644 --- a/server/migrations/20160526151853-mail-rooms.js +++ b/server/migrations/20160526151853-mail-rooms.js @@ -1 +1 @@ -var _0xca03=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73","\x64\x65\x6C\x65\x74\x65\x64","\x42\x4F\x4F\x4C\x45\x41\x4E","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0xca03[0];module[_0xca03[1]]={up:function(_0x30bdx1,_0x30bdx2){_0x30bdx1[_0xca03[5]](_0xca03[2],_0xca03[3],{type:_0x30bdx2[_0xca03[4]],defaultValue:false})},down:function(_0x30bdx1,_0x30bdx2){_0x30bdx1[_0xca03[6]](_0xca03[2],_0xca03[3])}} \ No newline at end of file +var _0x1892=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D\x73","\x64\x65\x6C\x65\x74\x65\x64","\x42\x4F\x4F\x4C\x45\x41\x4E","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x1892[0];module[_0x1892[1]]={up:function(_0xa03cx1,_0xa03cx2){_0xa03cx1[_0x1892[5]](_0x1892[2],_0x1892[3],{type:_0xa03cx2[_0x1892[4]],defaultValue:false})},down:function(_0xa03cx1,_0xa03cx2){_0xa03cx1[_0x1892[6]](_0x1892[2],_0x1892[3])}} \ No newline at end of file diff --git a/server/migrations/20160526163744-chat_websites.js b/server/migrations/20160526163744-chat_websites.js index faeb4f5..62771c4 100644 --- a/server/migrations/20160526163744-chat_websites.js +++ b/server/migrations/20160526163744-chat_websites.js @@ -1 +1 @@ -var _0x4c63=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x73","\x61\x67\x65\x6E\x74\x73\x5F\x62\x75\x73\x79","\x53\x54\x52\x49\x4E\x47","\x49\x6E\x20\x74\x68\x69\x73\x20\x6D\x6F\x6D\x65\x6E\x74\x20\x61\x6C\x6C\x20\x61\x67\x65\x6E\x74\x73\x20\x61\x72\x65\x20\x62\x75\x73\x79\x2E\x20\x54\x72\x79\x20\x61\x67\x61\x69\x6E\x21","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x6E\x61\x6D\x65\x5F\x74\x69\x74\x6C\x65","\x4E\x61\x6D\x65","\x65\x6D\x61\x69\x6C\x5F\x74\x69\x74\x6C\x65","\x45\x6D\x61\x69\x6C\x20\x61\x64\x64\x72\x65\x73\x73","\x6D\x65\x73\x73\x61\x67\x65\x5F\x74\x69\x74\x6C\x65","\x4D\x65\x73\x73\x61\x67\x65","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x4c63[0];module[_0x4c63[1]]={up:function(_0x7227x1,_0x7227x2){_0x7227x1[_0x4c63[6]](_0x4c63[2],_0x4c63[3],{type:_0x7227x2[_0x4c63[4]],defaultValue:_0x4c63[5]});_0x7227x1[_0x4c63[6]](_0x4c63[2],_0x4c63[7],{type:_0x7227x2[_0x4c63[4]],defaultValue:_0x4c63[8]});_0x7227x1[_0x4c63[6]](_0x4c63[2],_0x4c63[9],{type:_0x7227x2[_0x4c63[4]],defaultValue:_0x4c63[10]});_0x7227x1[_0x4c63[6]](_0x4c63[2],_0x4c63[11],{type:_0x7227x2[_0x4c63[4]],defaultValue:_0x4c63[12]})},down:function(_0x7227x1,_0x7227x2){_0x7227x1[_0x4c63[13]](_0x4c63[2],_0x4c63[3]);_0x7227x1[_0x4c63[13]](_0x4c63[2],_0x4c63[7]);_0x7227x1[_0x4c63[13]](_0x4c63[2],_0x4c63[9]);_0x7227x1[_0x4c63[13]](_0x4c63[2],_0x4c63[11])}} \ No newline at end of file +var _0x888d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x73","\x61\x67\x65\x6E\x74\x73\x5F\x62\x75\x73\x79","\x53\x54\x52\x49\x4E\x47","\x49\x6E\x20\x74\x68\x69\x73\x20\x6D\x6F\x6D\x65\x6E\x74\x20\x61\x6C\x6C\x20\x61\x67\x65\x6E\x74\x73\x20\x61\x72\x65\x20\x62\x75\x73\x79\x2E\x20\x54\x72\x79\x20\x61\x67\x61\x69\x6E\x21","\x61\x64\x64\x43\x6F\x6C\x75\x6D\x6E","\x6E\x61\x6D\x65\x5F\x74\x69\x74\x6C\x65","\x4E\x61\x6D\x65","\x65\x6D\x61\x69\x6C\x5F\x74\x69\x74\x6C\x65","\x45\x6D\x61\x69\x6C\x20\x61\x64\x64\x72\x65\x73\x73","\x6D\x65\x73\x73\x61\x67\x65\x5F\x74\x69\x74\x6C\x65","\x4D\x65\x73\x73\x61\x67\x65","\x72\x65\x6D\x6F\x76\x65\x43\x6F\x6C\x75\x6D\x6E"];_0x888d[0];module[_0x888d[1]]={up:function(_0x422ex1,_0x422ex2){_0x422ex1[_0x888d[6]](_0x888d[2],_0x888d[3],{type:_0x422ex2[_0x888d[4]],defaultValue:_0x888d[5]});_0x422ex1[_0x888d[6]](_0x888d[2],_0x888d[7],{type:_0x422ex2[_0x888d[4]],defaultValue:_0x888d[8]});_0x422ex1[_0x888d[6]](_0x888d[2],_0x888d[9],{type:_0x422ex2[_0x888d[4]],defaultValue:_0x888d[10]});_0x422ex1[_0x888d[6]](_0x888d[2],_0x888d[11],{type:_0x422ex2[_0x888d[4]],defaultValue:_0x888d[12]})},down:function(_0x422ex1,_0x422ex2){_0x422ex1[_0x888d[13]](_0x888d[2],_0x888d[3]);_0x422ex1[_0x888d[13]](_0x888d[2],_0x888d[7]);_0x422ex1[_0x888d[13]](_0x888d[2],_0x888d[9]);_0x422ex1[_0x888d[13]](_0x888d[2],_0x888d[11])}} \ No newline at end of file diff --git a/server/models/chat_room.js b/server/models/chat_room.js index 241bddb..b065d1d 100644 --- a/server/models/chat_room.js +++ b/server/models/chat_room.js @@ -26,7 +26,14 @@ module.exports = function(sequelize, DataTypes) { tags: { type: DataTypes.TEXT, get: function() { - return this.getDataValue('tags') ? this.getDataValue('tags').split(';').pop() : []; + var tags; + if (this.getDataValue('tags')) { + tags = this.getDataValue('tags').split(';'); + tags.pop(); + } else { + tags = []; + } + return tags; }, set: function(val) { this.setDataValue('tags', val && val.length ? val.join(';') + ';' : null); diff --git a/server/models/fax_room.js b/server/models/fax_room.js index ee976b5..26618af 100644 --- a/server/models/fax_room.js +++ b/server/models/fax_room.js @@ -19,12 +19,19 @@ module.exports = function(sequelize, DataTypes) { tags: { type: DataTypes.TEXT, get: function() { - return this.getDataValue('tags') ? this.getDataValue('tags').split(';') : []; + var tags; + if (this.getDataValue('tags')) { + tags = this.getDataValue('tags').split(';'); + tags.pop(); + } else { + tags = []; + } + return tags; }, set: function(val) { - this.setDataValue('tags', val.join(';')); + this.setDataValue('tags', val && val.length ? val.join(';') + ';' : null); } - } + }, }, { tableName: 'fax_rooms', paranoid: true, diff --git a/server/models/mail_room.js b/server/models/mail_room.js index 779a9e3..1c41f80 100644 --- a/server/models/mail_room.js +++ b/server/models/mail_room.js @@ -37,7 +37,14 @@ module.exports = function(sequelize, DataTypes) { tags: { type: DataTypes.TEXT, get: function() { - return this.getDataValue('tags') ? this.getDataValue('tags').split(';').pop() : []; + var tags; + if (this.getDataValue('tags')) { + tags = this.getDataValue('tags').split(';'); + tags.pop(); + } else { + tags = []; + } + return tags; }, set: function(val) { this.setDataValue('tags', val && val.length ? val.join(';') + ';' : null); diff --git a/server/models/sms_room.js b/server/models/sms_room.js index 4a7a8d3..e33304e 100644 --- a/server/models/sms_room.js +++ b/server/models/sms_room.js @@ -15,10 +15,17 @@ module.exports = function(sequelize, DataTypes) { tags: { type: DataTypes.TEXT, get: function() { - return this.getDataValue('tags') ? this.getDataValue('tags').split(';') : []; + var tags; + if (this.getDataValue('tags')) { + tags = this.getDataValue('tags').split(';'); + tags.pop(); + } else { + tags = []; + } + return tags; }, set: function(val) { - this.setDataValue('tags', val.join(';')); + this.setDataValue('tags', val && val.length ? val.join(';') + ';' : null); } }, disposition: { diff --git a/server/models/tools_tag.js b/server/models/tools_tag.js index ca921c9..e46cac8 100644 --- a/server/models/tools_tag.js +++ b/server/models/tools_tag.js @@ -11,7 +11,7 @@ module.exports = function(sequelize, DataTypes) { allowNull: false, validate: { notEmpty: true, - is: /^[A-Za-z0-9]+$/i + is: /[A-Za-z0-9._\\+*!-]+/ } }, description: DataTypes.STRING diff --git a/server/models/voice_disposition.js b/server/models/voice_disposition.js new file mode 100644 index 0000000..1387349 --- /dev/null +++ b/server/models/voice_disposition.js @@ -0,0 +1,16 @@ +/** + * User Model + */ + +var crypto = require('crypto'); + +module.exports = function(sequelize, DataTypes) { + + var VoiceDisposition = sequelize.define('VoiceDisposition', { + name: DataTypes.STRING + }, { + tableName: 'voice_disposition' + }); + + return VoiceDisposition; +}; diff --git a/server/routes.js b/server/routes.js index b1428d9..8d5b549 100644 --- a/server/routes.js +++ b/server/routes.js @@ -1 +1 @@ -var _0x89a0=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x2E\x2F\x63\x6F\x6D\x70\x6F\x6E\x65\x6E\x74\x73\x2F\x65\x72\x72\x6F\x72\x73","\x70\x61\x74\x68","\x6D\x6F\x6D\x65\x6E\x74","\x65\x78\x70\x6F\x72\x74\x73","\x65\x6E\x76","\x67\x65\x74","\x2F\x61\x70\x69\x2F\x73\x6D\x73\x2F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x73\x6D\x73\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x75\x73\x65","\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x2F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x2F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x66\x61\x78\x2F\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x66\x61\x78\x5F\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x2F\x66\x61\x78\x2F\x73\x65\x73\x73\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x5F\x73\x65\x73\x73\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x2F\x66\x61\x78\x73","\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78","\x2F\x61\x70\x69\x2F\x6E\x65\x74\x77\x6F\x72\x6B\x2F\x65\x78\x74\x65\x72\x6E\x69\x70\x73","\x2E\x2F\x61\x70\x69\x2F\x6E\x65\x74\x77\x6F\x72\x6B\x5F\x65\x78\x74\x65\x72\x6E\x69\x70","\x2F\x61\x70\x69\x2F\x6E\x65\x74\x77\x6F\x72\x6B\x2F\x6C\x6F\x63\x61\x6C\x6E\x65\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x6E\x65\x74\x77\x6F\x72\x6B\x5F\x6C\x6F\x63\x61\x6C\x6E\x65\x74","\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x2F\x63\x68\x61\x74\x2F\x72\x6F\x6F\x6D\x73","\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D","\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x2F\x6D\x61\x69\x6C\x2F\x72\x6F\x6F\x6D\x73","\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D","\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x2F\x66\x61\x78\x2F\x72\x6F\x6F\x6D\x73","\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x5F\x72\x6F\x6F\x6D","\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x2F\x73\x6D\x73\x2F\x72\x6F\x6F\x6D\x73","\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x5F\x72\x6F\x6F\x6D","\x2F\x61\x70\x69\x2F\x73\x6D\x73\x2F\x71\x75\x65\x75\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x73\x6D\x73\x5F\x71\x75\x65\x75\x65","\x2F\x61\x70\x69\x2F\x73\x6D\x73\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x73\x6D\x73\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x73\x6D\x73\x2F\x6D\x65\x73\x73\x61\x67\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x73\x6D\x73\x5F\x6D\x65\x73\x73\x61\x67\x65","\x2F\x61\x70\x69\x2F\x73\x6D\x73\x2F\x72\x6F\x6F\x6D\x73","\x2E\x2F\x61\x70\x69\x2F\x73\x6D\x73\x5F\x72\x6F\x6F\x6D","\x2F\x61\x70\x69\x2F\x73\x6D\x73\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x73\x6D\x73\x5F\x61\x63\x63\x6F\x75\x6E\x74","\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x2F\x63\x61\x6C\x6C\x73","\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C","\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x2F\x70\x72\x6F\x61\x63\x74\x69\x76\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x5F\x70\x72\x6F\x61\x63\x74\x69\x76\x65\x5F\x61\x63\x74\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x2F\x77\x65\x62\x73\x69\x74\x65\x73\x2F\x66\x69\x65\x6C\x64\x73","\x2E\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x73\x5F\x66\x69\x65\x6C\x64","\x2F\x61\x70\x69\x2F\x61\x6E\x73\x77\x65\x72\x73","\x2E\x2F\x61\x70\x69\x2F\x63\x61\x6E\x6E\x65\x64\x5F\x61\x6E\x73\x77\x65\x72","\x2F\x61\x70\x69\x2F\x61\x63\x74\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x61\x63\x74\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x70\x61\x75\x73\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x70\x61\x75\x73\x65","\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x2F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67\x73","\x2E\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x5F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67","\x2F\x61\x70\x69\x2F\x6A\x73\x63\x72\x69\x70\x74\x79\x2F\x70\x72\x6F\x6A\x65\x63\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x6A\x73\x63\x72\x69\x70\x74\x79\x5F\x70\x72\x6F\x6A\x65\x63\x74","\x2F\x61\x70\x69\x2F\x74\x65\x6C\x65\x70\x68\x6F\x6E\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x74\x65\x6C\x65\x70\x68\x6F\x6E\x65","\x2F\x61\x70\x69\x2F\x6C\x69\x63\x65\x6E\x73\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x6C\x69\x63\x65\x6E\x73\x65","\x2F\x61\x70\x69\x2F\x73\x75\x67\x61\x72\x63\x72\x6D\x2F\x66\x69\x65\x6C\x64\x73","\x2E\x2F\x61\x70\x69\x2F\x73\x75\x67\x61\x72\x63\x72\x6D\x5F\x66\x69\x65\x6C\x64","\x2F\x61\x70\x69\x2F\x73\x75\x67\x61\x72\x63\x72\x6D\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x73\x75\x67\x61\x72\x63\x72\x6D\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x73\x75\x67\x61\x72\x63\x72\x6D\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x73\x75\x67\x61\x72\x63\x72\x6D\x5F\x61\x63\x63\x6F\x75\x6E\x74","\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x66\x69\x65\x6C\x64\x73","\x2E\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64","\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74","\x2F\x61\x70\x69\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x2F\x66\x69\x65\x6C\x64\x73","\x2E\x2F\x61\x70\x69\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x66\x69\x65\x6C\x64","\x2F\x61\x70\x69\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x61\x63\x63\x6F\x75\x6E\x74","\x2F\x61\x70\x69\x2F\x64\x65\x73\x6B\x2F\x66\x69\x65\x6C\x64\x73","\x2E\x2F\x61\x70\x69\x2F\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64","\x2F\x61\x70\x69\x2F\x64\x65\x73\x6B\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x64\x65\x73\x6B\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74","\x2F\x61\x70\x69\x2F\x61\x6E\x61\x6C\x79\x74\x69\x63\x73\x2F\x72\x65\x70\x6F\x72\x74\x73\x2F\x64\x65\x66\x61\x75\x6C\x74","\x2E\x2F\x61\x70\x69\x2F\x64\x65\x66\x61\x75\x6C\x74\x5F\x72\x65\x70\x6F\x72\x74","\x2F\x61\x70\x69\x2F\x61\x6E\x61\x6C\x79\x74\x69\x63\x73\x2F\x72\x65\x70\x6F\x72\x74\x73\x2F\x63\x75\x73\x74\x6F\x6D","\x2E\x2F\x61\x70\x69\x2F\x63\x75\x73\x74\x6F\x6D\x5F\x72\x65\x70\x6F\x72\x74","\x2F\x61\x70\x69\x2F\x61\x6E\x61\x6C\x79\x74\x69\x63\x73\x2F\x72\x65\x70\x6F\x72\x74\x73\x2F\x74\x72\x65\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x74\x72\x65\x65","\x2F\x61\x70\x69\x2F\x61\x6E\x61\x6C\x79\x74\x69\x63\x73\x2F\x6D\x65\x74\x72\x69\x63\x73\x2F\x64\x65\x66\x61\x75\x6C\x74","\x2E\x2F\x61\x70\x69\x2F\x64\x65\x66\x61\x75\x6C\x74\x5F\x6D\x65\x74\x72\x69\x63","\x2F\x61\x70\x69\x2F\x61\x6E\x61\x6C\x79\x74\x69\x63\x73\x2F\x6D\x65\x74\x72\x69\x63\x73","\x2E\x2F\x61\x70\x69\x2F\x6D\x65\x74\x72\x69\x63","\x2F\x61\x70\x69\x2F\x6D\x6F\x64\x75\x6C\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x6D\x6F\x64\x75\x6C\x65","\x2F\x61\x70\x69\x2F\x61\x6E\x61\x6C\x79\x74\x69\x63\x73\x2F\x65\x78\x74\x72\x61\x63\x74\x65\x64","\x2E\x2F\x61\x70\x69\x2F\x65\x78\x74\x72\x61\x63\x74\x65\x64\x5F\x72\x65\x70\x6F\x72\x74","\x2F\x61\x70\x69\x2F\x75\x70\x64\x61\x74\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x75\x70\x64\x61\x74\x65","\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x2F\x63\x68\x61\x74\x2F\x73\x65\x73\x73\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x73\x65\x73\x73\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x7A\x65\x6E\x64\x65\x73\x6B\x2F\x66\x69\x65\x6C\x64\x73","\x2E\x2F\x61\x70\x69\x2F\x7A\x65\x6E\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64","\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x2F\x63\x68\x61\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74","\x2F\x61\x70\x69\x2F\x7A\x65\x6E\x64\x65\x73\x6B\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x7A\x65\x6E\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x6D\x6F\x74\x69\x6F\x6E\x62\x61\x72","\x2E\x2F\x61\x70\x69\x2F\x6D\x6F\x74\x69\x6F\x6E\x62\x61\x72","\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x2F\x6D\x61\x69\x6C\x2F\x73\x65\x73\x73\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x73\x65\x73\x73\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x2F\x73\x6D\x73\x2F\x73\x65\x73\x73\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x5F\x73\x65\x73\x73\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x2F\x6D\x61\x69\x6C\x73","\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C","\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x2F\x73\x6D\x73","\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73","\x2F\x61\x70\x69\x2F\x77\x69\x64\x67\x65\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x77\x69\x64\x67\x65\x74","\x2F\x61\x70\x69\x2F\x7A\x65\x6E\x64\x65\x73\x6B\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x7A\x65\x6E\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74","\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x2F\x71\x75\x65\x75\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65","\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x2F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x2F\x61\x67\x65\x6E\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74","\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x2F\x6D\x65\x6D\x62\x65\x72\x73","\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x6D\x65\x6D\x62\x65\x72","\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x2F\x73\x71\x75\x61\x72\x65","\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x73\x71\x75\x61\x72\x65","\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x2F\x73\x71\x75\x61\x72\x65\x2F\x64\x65\x74\x61\x69\x6C\x73","\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x73\x71\x75\x61\x72\x65\x5F\x64\x65\x74\x61\x69\x6C","\x2F\x61\x70\x69\x2F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x73","\x2E\x2F\x61\x70\x69\x2F\x64\x61\x73\x68\x62\x6F\x61\x72\x64","\x2F\x61\x70\x69\x2F\x73\x65\x74\x74\x69\x6E\x67\x73","\x2E\x2F\x61\x70\x69\x2F\x73\x65\x74\x74\x69\x6E\x67","\x2F\x61\x70\x69\x2F\x74\x72\x69\x67\x67\x65\x72\x73","\x2E\x2F\x61\x70\x69\x2F\x74\x72\x69\x67\x67\x65\x72","\x2F\x61\x70\x69\x2F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x74\x65\x6D\x70\x6C\x61\x74\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x74\x65\x6D\x70\x6C\x61\x74\x65","\x2F\x61\x70\x69\x2F\x61\x6D\x69","\x2E\x2F\x61\x70\x69\x2F\x61\x6D\x69","\x2F\x61\x70\x69\x2F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x2F\x6D\x75\x73\x69\x63\x6F\x6E\x68\x6F\x6C\x64\x73","\x2E\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x5F\x6D\x75\x73\x69\x63\x6F\x6E\x68\x6F\x6C\x64","\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x2F\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x73\x2F\x6D\x65\x73\x73\x61\x67\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x5F\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x73","\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x2F\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x73","\x2E\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x5F\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C","\x2F\x61\x70\x69\x2F\x63\x6F\x6E\x74\x61\x63\x74\x6D\x61\x6E\x61\x67\x65\x72\x2F\x63\x6F\x6E\x74\x61\x63\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x63\x6F\x6E\x74\x61\x63\x74\x5F\x6D\x61\x6E\x61\x67\x65\x72","\x2F\x61\x70\x69\x2F\x63\x6F\x6E\x74\x61\x63\x74\x6D\x61\x6E\x61\x67\x65\x72\x2F\x63\x6F\x6D\x70\x61\x6E\x69\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x63\x6F\x6D\x70\x61\x6E\x79","\x2F\x61\x70\x69\x2F\x63\x6F\x6E\x74\x61\x63\x74\x6D\x61\x6E\x61\x67\x65\x72\x2F\x6C\x69\x73\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x6C\x69\x73\x74","\x2F\x61\x70\x69\x2F\x63\x6F\x6E\x74\x61\x63\x74\x6D\x61\x6E\x61\x67\x65\x72\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6C\x69\x73\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6C\x69\x73\x74","\x2F\x61\x70\x69\x2F\x69\x6E\x74\x65\x72\x76\x61\x6C\x73","\x2E\x2F\x61\x70\x69\x2F\x69\x6E\x74\x65\x72\x76\x61\x6C","\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x2F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x2F\x63\x6F\x6E\x74\x65\x78\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x5F\x63\x6F\x6E\x74\x65\x78\x74","\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x71\x75\x65\x75\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x76\x6F\x69\x63\x65\x5F\x71\x75\x65\x75\x65","\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x2F\x71\x75\x65\x75\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x5F\x71\x75\x65\x75\x65","\x2F\x61\x70\x69\x2F\x74\x72\x75\x6E\x6B\x73","\x2E\x2F\x61\x70\x69\x2F\x74\x72\x75\x6E\x6B","\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x71\x75\x65\x75\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65","\x2F\x61\x70\x69\x2F\x73\x71\x75\x61\x72\x65\x2F\x6F\x64\x62\x63","\x2E\x2F\x61\x70\x69\x2F\x73\x71\x75\x61\x72\x65\x5F\x6F\x64\x62\x63","\x2F\x61\x70\x69\x2F\x73\x71\x75\x61\x72\x65\x2F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67\x73","\x2E\x2F\x61\x70\x69\x2F\x73\x71\x75\x61\x72\x65\x5F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67","\x2F\x61\x70\x69\x2F\x66\x61\x78\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x66\x61\x78\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x71\x75\x65\x75\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x66\x61\x78\x5F\x71\x75\x65\x75\x65","\x2F\x61\x70\x69\x2F\x73\x6D\x73\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x71\x75\x65\x75\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x73\x6D\x73\x5F\x71\x75\x65\x75\x65","\x2F\x61\x70\x69\x2F\x66\x61\x78\x2F\x71\x75\x65\x75\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x66\x61\x78\x5F\x71\x75\x65\x75\x65","\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x2F\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x5F\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x2F\x61\x70\x69\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x74\x65\x61\x6D\x73","\x2E\x2F\x61\x70\x69\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x74\x65\x61\x6D","\x2F\x61\x70\x69\x2F\x76\x61\x72\x69\x61\x62\x6C\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x76\x61\x72\x69\x61\x62\x6C\x65","\x2F\x61\x70\x69\x2F\x63\x68\x61\x6E\x73\x70\x79","\x2E\x2F\x61\x70\x69\x2F\x63\x68\x61\x6E\x73\x70\x79","\x2F\x61\x70\x69\x2F\x74\x61\x67\x73","\x2E\x2F\x61\x70\x69\x2F\x74\x61\x67","\x2F\x61\x70\x69\x2F\x73\x71\x75\x61\x72\x65\x2F\x70\x72\x6F\x6A\x65\x63\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x73\x71\x75\x61\x72\x65\x5F\x70\x72\x6F\x6A\x65\x63\x74","\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x2F\x71\x75\x65\x75\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65","\x2F\x61\x70\x69\x2F\x66\x61\x78\x2F\x6D\x65\x73\x73\x61\x67\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65","\x2F\x61\x70\x69\x2F\x66\x61\x78\x2F\x72\x6F\x6F\x6D\x73","\x2E\x2F\x61\x70\x69\x2F\x66\x61\x78\x5F\x72\x6F\x6F\x6D","\x2F\x61\x70\x69\x2F\x66\x61\x78\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x66\x61\x78\x5F\x61\x63\x63\x6F\x75\x6E\x74","\x2F\x61\x70\x69\x2F\x61\x67\x65\x6E\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x61\x67\x65\x6E\x74","\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x2F\x65\x6E\x71\x75\x69\x72\x69\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x5F\x65\x6E\x71\x75\x69\x72\x79","\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x2F\x6D\x65\x73\x73\x61\x67\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x5F\x6D\x65\x73\x73\x61\x67\x65","\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x2F\x72\x6F\x6F\x6D\x73","\x2E\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D","\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x2F\x76\x69\x73\x69\x74\x6F\x72\x73","\x2E\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x5F\x76\x69\x73\x69\x74\x6F\x72","\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x2F\x77\x65\x62\x73\x69\x74\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65","\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x5F\x61\x63\x63\x6F\x75\x6E\x74","\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x2F\x6D\x65\x73\x73\x61\x67\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65","\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x2F\x72\x6F\x6F\x6D\x73","\x2E\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D","\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x2F\x73\x65\x72\x76\x65\x72\x73\x2F\x69\x6E","\x2E\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x69\x6E","\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x2F\x73\x65\x72\x76\x65\x72\x73\x2F\x6F\x75\x74","\x2E\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x6F\x75\x74","\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x2F\x71\x75\x65\x75\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65","\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x71\x75\x65\x75\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65","\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x74\x65\x61\x6D\x73","\x2E\x2F\x61\x70\x69\x2F\x74\x65\x61\x6D","\x2F\x61\x70\x69\x2F\x73\x6F\x75\x6E\x64\x73","\x2E\x2F\x61\x70\x69\x2F\x73\x6F\x75\x6E\x64","\x2F\x61\x70\x69\x2F\x75\x73\x65\x72\x73","\x2E\x2F\x61\x70\x69\x2F\x75\x73\x65\x72","\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x72\x6F\x6F\x6D\x73","\x2E\x2F\x61\x70\x69\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D","\x2F\x61\x70\x69\x2F\x78\x63\x68\x61\x74\x74\x79","\x2E\x2F\x61\x70\x69\x2F\x78\x63\x68\x61\x74\x74\x79","\x2F\x61\x75\x74\x68","\x2E\x2F\x61\x75\x74\x68","\x2F\x3A\x75\x72\x6C\x28\x61\x70\x69\x7C\x61\x75\x74\x68\x7C\x63\x6F\x6D\x70\x6F\x6E\x65\x6E\x74\x73\x7C\x61\x70\x70\x7C\x62\x6F\x77\x65\x72\x5F\x63\x6F\x6D\x70\x6F\x6E\x65\x6E\x74\x73\x7C\x61\x73\x73\x65\x74\x73\x29\x2F\x2A","\x72\x6F\x75\x74\x65","\x2F\x2A","\x70\x72\x6F\x64\x75\x63\x74\x69\x6F\x6E","\x72\x6F\x6F\x74","\x70\x75\x62\x6C\x69\x63","\x6A\x6F\x69\x6E","\x64\x65\x76\x65\x6C\x6F\x70\x6D\x65\x6E\x74","\x74\x65\x73\x74","\x63\x6C\x69\x65\x6E\x74","\x69\x6E\x64\x65\x78\x2E\x68\x74\x6D\x6C","\x73\x65\x6E\x64\x46\x69\x6C\x65","\x61\x6C\x6C"];_0x89a0[0];var config=require(_0x89a0[1]);var errors=require(_0x89a0[2]);var path=require(_0x89a0[3]);var moment=require(_0x89a0[4]);module[_0x89a0[5]]=function(_0xd2e9x5){var _0xd2e9x6=_0xd2e9x5[_0x89a0[7]](_0x89a0[6]);_0xd2e9x5[_0x89a0[10]](_0x89a0[8],require(_0x89a0[9]));_0xd2e9x5[_0x89a0[10]](_0x89a0[11],require(_0x89a0[12]));_0xd2e9x5[_0x89a0[10]](_0x89a0[13],require(_0x89a0[14]));_0xd2e9x5[_0x89a0[10]](_0x89a0[15],require(_0x89a0[16]));_0xd2e9x5[_0x89a0[10]](_0x89a0[17],require(_0x89a0[18]));_0xd2e9x5[_0x89a0[10]](_0x89a0[19],require(_0x89a0[20]));_0xd2e9x5[_0x89a0[10]](_0x89a0[21],require(_0x89a0[22]));_0xd2e9x5[_0x89a0[10]](_0x89a0[23],require(_0x89a0[24]));_0xd2e9x5[_0x89a0[10]](_0x89a0[25],require(_0x89a0[26]));_0xd2e9x5[_0x89a0[10]](_0x89a0[27],require(_0x89a0[28]));_0xd2e9x5[_0x89a0[10]](_0x89a0[29],require(_0x89a0[30]));_0xd2e9x5[_0x89a0[10]](_0x89a0[31],require(_0x89a0[32]));_0xd2e9x5[_0x89a0[10]](_0x89a0[33],require(_0x89a0[34]));_0xd2e9x5[_0x89a0[10]](_0x89a0[35],require(_0x89a0[36]));_0xd2e9x5[_0x89a0[10]](_0x89a0[37],require(_0x89a0[38]));_0xd2e9x5[_0x89a0[10]](_0x89a0[39],require(_0x89a0[40]));_0xd2e9x5[_0x89a0[10]](_0x89a0[41],require(_0x89a0[42]));_0xd2e9x5[_0x89a0[10]](_0x89a0[43],require(_0x89a0[44]));_0xd2e9x5[_0x89a0[10]](_0x89a0[45],require(_0x89a0[46]));_0xd2e9x5[_0x89a0[10]](_0x89a0[47],require(_0x89a0[48]));_0xd2e9x5[_0x89a0[10]](_0x89a0[49],require(_0x89a0[50]));_0xd2e9x5[_0x89a0[10]](_0x89a0[51],require(_0x89a0[52]));_0xd2e9x5[_0x89a0[10]](_0x89a0[53],require(_0x89a0[54]));_0xd2e9x5[_0x89a0[10]](_0x89a0[55],require(_0x89a0[56]));_0xd2e9x5[_0x89a0[10]](_0x89a0[57],require(_0x89a0[58]));_0xd2e9x5[_0x89a0[10]](_0x89a0[59],require(_0x89a0[60]));_0xd2e9x5[_0x89a0[10]](_0x89a0[61],require(_0x89a0[62]));_0xd2e9x5[_0x89a0[10]](_0x89a0[63],require(_0x89a0[64]));_0xd2e9x5[_0x89a0[10]](_0x89a0[65],require(_0x89a0[66]));_0xd2e9x5[_0x89a0[10]](_0x89a0[67],require(_0x89a0[68]));_0xd2e9x5[_0x89a0[10]](_0x89a0[69],require(_0x89a0[70]));_0xd2e9x5[_0x89a0[10]](_0x89a0[71],require(_0x89a0[72]));_0xd2e9x5[_0x89a0[10]](_0x89a0[73],require(_0x89a0[74]));_0xd2e9x5[_0x89a0[10]](_0x89a0[75],require(_0x89a0[76]));_0xd2e9x5[_0x89a0[10]](_0x89a0[77],require(_0x89a0[78]));_0xd2e9x5[_0x89a0[10]](_0x89a0[79],require(_0x89a0[80]));_0xd2e9x5[_0x89a0[10]](_0x89a0[81],require(_0x89a0[82]));_0xd2e9x5[_0x89a0[10]](_0x89a0[83],require(_0x89a0[84]));_0xd2e9x5[_0x89a0[10]](_0x89a0[85],require(_0x89a0[86]));_0xd2e9x5[_0x89a0[10]](_0x89a0[87],require(_0x89a0[88]));_0xd2e9x5[_0x89a0[10]](_0x89a0[89],require(_0x89a0[90]));_0xd2e9x5[_0x89a0[10]](_0x89a0[91],require(_0x89a0[92]));_0xd2e9x5[_0x89a0[10]](_0x89a0[93],require(_0x89a0[94]));_0xd2e9x5[_0x89a0[10]](_0x89a0[95],require(_0x89a0[96]));_0xd2e9x5[_0x89a0[10]](_0x89a0[97],require(_0x89a0[98]));_0xd2e9x5[_0x89a0[10]](_0x89a0[99],require(_0x89a0[100]));_0xd2e9x5[_0x89a0[10]](_0x89a0[101],require(_0x89a0[102]));_0xd2e9x5[_0x89a0[10]](_0x89a0[103],require(_0x89a0[104]));_0xd2e9x5[_0x89a0[10]](_0x89a0[105],require(_0x89a0[106]));_0xd2e9x5[_0x89a0[10]](_0x89a0[107],require(_0x89a0[108]));_0xd2e9x5[_0x89a0[10]](_0x89a0[109],require(_0x89a0[110]));_0xd2e9x5[_0x89a0[10]](_0x89a0[111],require(_0x89a0[112]));_0xd2e9x5[_0x89a0[10]](_0x89a0[113],require(_0x89a0[114]));_0xd2e9x5[_0x89a0[10]](_0x89a0[115],require(_0x89a0[116]));_0xd2e9x5[_0x89a0[10]](_0x89a0[117],require(_0x89a0[118]));_0xd2e9x5[_0x89a0[10]](_0x89a0[119],require(_0x89a0[120]));_0xd2e9x5[_0x89a0[10]](_0x89a0[121],require(_0x89a0[122]));_0xd2e9x5[_0x89a0[10]](_0x89a0[123],require(_0x89a0[124]));_0xd2e9x5[_0x89a0[10]](_0x89a0[125],require(_0x89a0[126]));_0xd2e9x5[_0x89a0[10]](_0x89a0[127],require(_0x89a0[128]));_0xd2e9x5[_0x89a0[10]](_0x89a0[129],require(_0x89a0[130]));_0xd2e9x5[_0x89a0[10]](_0x89a0[131],require(_0x89a0[132]));_0xd2e9x5[_0x89a0[10]](_0x89a0[133],require(_0x89a0[134]));_0xd2e9x5[_0x89a0[10]](_0x89a0[135],require(_0x89a0[136]));_0xd2e9x5[_0x89a0[10]](_0x89a0[137],require(_0x89a0[138]));_0xd2e9x5[_0x89a0[10]](_0x89a0[139],require(_0x89a0[140]));_0xd2e9x5[_0x89a0[10]](_0x89a0[141],require(_0x89a0[142]));_0xd2e9x5[_0x89a0[10]](_0x89a0[143],require(_0x89a0[144]));_0xd2e9x5[_0x89a0[10]](_0x89a0[145],require(_0x89a0[146]));_0xd2e9x5[_0x89a0[10]](_0x89a0[147],require(_0x89a0[148]));_0xd2e9x5[_0x89a0[10]](_0x89a0[149],require(_0x89a0[150]));_0xd2e9x5[_0x89a0[10]](_0x89a0[151],require(_0x89a0[152]));_0xd2e9x5[_0x89a0[10]](_0x89a0[153],require(_0x89a0[154]));_0xd2e9x5[_0x89a0[10]](_0x89a0[155],require(_0x89a0[156]));_0xd2e9x5[_0x89a0[10]](_0x89a0[157],require(_0x89a0[158]));_0xd2e9x5[_0x89a0[10]](_0x89a0[159],require(_0x89a0[160]));_0xd2e9x5[_0x89a0[10]](_0x89a0[161],require(_0x89a0[162]));_0xd2e9x5[_0x89a0[10]](_0x89a0[163],require(_0x89a0[164]));_0xd2e9x5[_0x89a0[10]](_0x89a0[165],require(_0x89a0[166]));_0xd2e9x5[_0x89a0[10]](_0x89a0[167],require(_0x89a0[168]));_0xd2e9x5[_0x89a0[10]](_0x89a0[169],require(_0x89a0[170]));_0xd2e9x5[_0x89a0[10]](_0x89a0[171],require(_0x89a0[172]));_0xd2e9x5[_0x89a0[10]](_0x89a0[173],require(_0x89a0[174]));_0xd2e9x5[_0x89a0[10]](_0x89a0[175],require(_0x89a0[176]));_0xd2e9x5[_0x89a0[10]](_0x89a0[177],require(_0x89a0[178]));_0xd2e9x5[_0x89a0[10]](_0x89a0[179],require(_0x89a0[180]));_0xd2e9x5[_0x89a0[10]](_0x89a0[181],require(_0x89a0[182]));_0xd2e9x5[_0x89a0[10]](_0x89a0[183],require(_0x89a0[184]));_0xd2e9x5[_0x89a0[10]](_0x89a0[185],require(_0x89a0[186]));_0xd2e9x5[_0x89a0[10]](_0x89a0[187],require(_0x89a0[188]));_0xd2e9x5[_0x89a0[10]](_0x89a0[189],require(_0x89a0[190]));_0xd2e9x5[_0x89a0[10]](_0x89a0[191],require(_0x89a0[192]));_0xd2e9x5[_0x89a0[10]](_0x89a0[193],require(_0x89a0[194]));_0xd2e9x5[_0x89a0[10]](_0x89a0[195],require(_0x89a0[196]));_0xd2e9x5[_0x89a0[10]](_0x89a0[197],require(_0x89a0[198]));_0xd2e9x5[_0x89a0[10]](_0x89a0[199],require(_0x89a0[200]));_0xd2e9x5[_0x89a0[10]](_0x89a0[201],require(_0x89a0[202]));_0xd2e9x5[_0x89a0[10]](_0x89a0[203],require(_0x89a0[204]));_0xd2e9x5[_0x89a0[10]](_0x89a0[205],require(_0x89a0[206]));_0xd2e9x5[_0x89a0[10]](_0x89a0[207],require(_0x89a0[208]));_0xd2e9x5[_0x89a0[10]](_0x89a0[209],require(_0x89a0[210]));_0xd2e9x5[_0x89a0[10]](_0x89a0[211],require(_0x89a0[212]));_0xd2e9x5[_0x89a0[10]](_0x89a0[213],require(_0x89a0[214]));_0xd2e9x5[_0x89a0[10]](_0x89a0[215],require(_0x89a0[216]));_0xd2e9x5[_0x89a0[10]](_0x89a0[217],require(_0x89a0[218]));_0xd2e9x5[_0x89a0[10]](_0x89a0[219],require(_0x89a0[220]));_0xd2e9x5[_0x89a0[10]](_0x89a0[221],require(_0x89a0[222]));_0xd2e9x5[_0x89a0[10]](_0x89a0[223],require(_0x89a0[224]));_0xd2e9x5[_0x89a0[10]](_0x89a0[205],require(_0x89a0[206]));_0xd2e9x5[_0x89a0[10]](_0x89a0[225],require(_0x89a0[226]));_0xd2e9x5[_0x89a0[10]](_0x89a0[227],require(_0x89a0[228]));_0xd2e9x5[_0x89a0[10]](_0x89a0[229],require(_0x89a0[230]));_0xd2e9x5[_0x89a0[10]](_0x89a0[231],require(_0x89a0[232]));_0xd2e9x5[_0x89a0[10]](_0x89a0[233],require(_0x89a0[234]));_0xd2e9x5[_0x89a0[10]](_0x89a0[235],require(_0x89a0[236]));_0xd2e9x5[_0x89a0[10]](_0x89a0[237],require(_0x89a0[238]));_0xd2e9x5[_0x89a0[10]](_0x89a0[239],require(_0x89a0[240]));_0xd2e9x5[_0x89a0[10]](_0x89a0[241],require(_0x89a0[242]));_0xd2e9x5[_0x89a0[10]](_0x89a0[243],require(_0x89a0[244]));_0xd2e9x5[_0x89a0[10]](_0x89a0[245],require(_0x89a0[246]));_0xd2e9x5[_0x89a0[10]](_0x89a0[247],require(_0x89a0[248]));_0xd2e9x5[_0x89a0[10]](_0x89a0[249],require(_0x89a0[250]));_0xd2e9x5[_0x89a0[10]](_0x89a0[251],require(_0x89a0[252]));_0xd2e9x5[_0x89a0[254]](_0x89a0[253])[_0x89a0[7]](errors[404]);_0xd2e9x5[_0x89a0[265]](_0x89a0[255],function(_0xd2e9x7,_0xd2e9x8,_0xd2e9x9){var _0xd2e9xa={};if(_0x89a0[256]===_0xd2e9x6){_0xd2e9xa[_0x89a0[257]]=path[_0x89a0[259]](config[_0x89a0[257]],_0x89a0[258])};if(_0x89a0[260]===_0xd2e9x6||_0x89a0[261]===_0xd2e9x6){_0xd2e9xa[_0x89a0[257]]=path[_0x89a0[259]](config[_0x89a0[257]],_0x89a0[262])};_0xd2e9x8[_0x89a0[264]](_0x89a0[263],_0xd2e9xa)})} \ No newline at end of file +var _0x2836=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x2E\x2F\x63\x6F\x6D\x70\x6F\x6E\x65\x6E\x74\x73\x2F\x65\x72\x72\x6F\x72\x73","\x70\x61\x74\x68","\x6D\x6F\x6D\x65\x6E\x74","\x65\x78\x70\x6F\x72\x74\x73","\x65\x6E\x76","\x67\x65\x74","\x2F\x61\x70\x69\x2F\x73\x6D\x73\x2F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x73\x6D\x73\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x75\x73\x65","\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x2F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x2F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x2F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x66\x61\x78\x2F\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x66\x61\x78\x5F\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x2F\x66\x61\x78\x2F\x73\x65\x73\x73\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x5F\x73\x65\x73\x73\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x2F\x66\x61\x78\x73","\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78","\x2F\x61\x70\x69\x2F\x6E\x65\x74\x77\x6F\x72\x6B\x2F\x65\x78\x74\x65\x72\x6E\x69\x70\x73","\x2E\x2F\x61\x70\x69\x2F\x6E\x65\x74\x77\x6F\x72\x6B\x5F\x65\x78\x74\x65\x72\x6E\x69\x70","\x2F\x61\x70\x69\x2F\x6E\x65\x74\x77\x6F\x72\x6B\x2F\x6C\x6F\x63\x61\x6C\x6E\x65\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x6E\x65\x74\x77\x6F\x72\x6B\x5F\x6C\x6F\x63\x61\x6C\x6E\x65\x74","\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x2F\x63\x68\x61\x74\x2F\x72\x6F\x6F\x6D\x73","\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D","\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x2F\x6D\x61\x69\x6C\x2F\x72\x6F\x6F\x6D\x73","\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D","\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x2F\x66\x61\x78\x2F\x72\x6F\x6F\x6D\x73","\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x66\x61\x78\x5F\x72\x6F\x6F\x6D","\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x2F\x73\x6D\x73\x2F\x72\x6F\x6F\x6D\x73","\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x5F\x72\x6F\x6F\x6D","\x2F\x61\x70\x69\x2F\x73\x6D\x73\x2F\x71\x75\x65\x75\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x73\x6D\x73\x5F\x71\x75\x65\x75\x65","\x2F\x61\x70\x69\x2F\x73\x6D\x73\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x73\x6D\x73\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x73\x6D\x73\x2F\x6D\x65\x73\x73\x61\x67\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x73\x6D\x73\x5F\x6D\x65\x73\x73\x61\x67\x65","\x2F\x61\x70\x69\x2F\x73\x6D\x73\x2F\x72\x6F\x6F\x6D\x73","\x2E\x2F\x61\x70\x69\x2F\x73\x6D\x73\x5F\x72\x6F\x6F\x6D","\x2F\x61\x70\x69\x2F\x73\x6D\x73\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x73\x6D\x73\x5F\x61\x63\x63\x6F\x75\x6E\x74","\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x2F\x63\x61\x6C\x6C\x73","\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C","\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x2F\x70\x72\x6F\x61\x63\x74\x69\x76\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x5F\x70\x72\x6F\x61\x63\x74\x69\x76\x65\x5F\x61\x63\x74\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x2F\x77\x65\x62\x73\x69\x74\x65\x73\x2F\x66\x69\x65\x6C\x64\x73","\x2E\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65\x73\x5F\x66\x69\x65\x6C\x64","\x2F\x61\x70\x69\x2F\x61\x6E\x73\x77\x65\x72\x73","\x2E\x2F\x61\x70\x69\x2F\x63\x61\x6E\x6E\x65\x64\x5F\x61\x6E\x73\x77\x65\x72","\x2F\x61\x70\x69\x2F\x61\x63\x74\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x61\x63\x74\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x70\x61\x75\x73\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x70\x61\x75\x73\x65","\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x2F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67\x73","\x2E\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x5F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67","\x2F\x61\x70\x69\x2F\x6A\x73\x63\x72\x69\x70\x74\x79\x2F\x70\x72\x6F\x6A\x65\x63\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x6A\x73\x63\x72\x69\x70\x74\x79\x5F\x70\x72\x6F\x6A\x65\x63\x74","\x2F\x61\x70\x69\x2F\x74\x65\x6C\x65\x70\x68\x6F\x6E\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x74\x65\x6C\x65\x70\x68\x6F\x6E\x65","\x2F\x61\x70\x69\x2F\x6C\x69\x63\x65\x6E\x73\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x6C\x69\x63\x65\x6E\x73\x65","\x2F\x61\x70\x69\x2F\x73\x75\x67\x61\x72\x63\x72\x6D\x2F\x66\x69\x65\x6C\x64\x73","\x2E\x2F\x61\x70\x69\x2F\x73\x75\x67\x61\x72\x63\x72\x6D\x5F\x66\x69\x65\x6C\x64","\x2F\x61\x70\x69\x2F\x73\x75\x67\x61\x72\x63\x72\x6D\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x73\x75\x67\x61\x72\x63\x72\x6D\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x73\x75\x67\x61\x72\x63\x72\x6D\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x73\x75\x67\x61\x72\x63\x72\x6D\x5F\x61\x63\x63\x6F\x75\x6E\x74","\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x66\x69\x65\x6C\x64\x73","\x2E\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64","\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x66\x72\x65\x73\x68\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74","\x2F\x61\x70\x69\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x2F\x66\x69\x65\x6C\x64\x73","\x2E\x2F\x61\x70\x69\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x66\x69\x65\x6C\x64","\x2F\x61\x70\x69\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x73\x61\x6C\x65\x73\x66\x6F\x72\x63\x65\x5F\x61\x63\x63\x6F\x75\x6E\x74","\x2F\x61\x70\x69\x2F\x64\x65\x73\x6B\x2F\x66\x69\x65\x6C\x64\x73","\x2E\x2F\x61\x70\x69\x2F\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64","\x2F\x61\x70\x69\x2F\x64\x65\x73\x6B\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x64\x65\x73\x6B\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74","\x2F\x61\x70\x69\x2F\x61\x6E\x61\x6C\x79\x74\x69\x63\x73\x2F\x72\x65\x70\x6F\x72\x74\x73\x2F\x64\x65\x66\x61\x75\x6C\x74","\x2E\x2F\x61\x70\x69\x2F\x64\x65\x66\x61\x75\x6C\x74\x5F\x72\x65\x70\x6F\x72\x74","\x2F\x61\x70\x69\x2F\x61\x6E\x61\x6C\x79\x74\x69\x63\x73\x2F\x72\x65\x70\x6F\x72\x74\x73\x2F\x63\x75\x73\x74\x6F\x6D","\x2E\x2F\x61\x70\x69\x2F\x63\x75\x73\x74\x6F\x6D\x5F\x72\x65\x70\x6F\x72\x74","\x2F\x61\x70\x69\x2F\x61\x6E\x61\x6C\x79\x74\x69\x63\x73\x2F\x72\x65\x70\x6F\x72\x74\x73\x2F\x74\x72\x65\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x74\x72\x65\x65","\x2F\x61\x70\x69\x2F\x61\x6E\x61\x6C\x79\x74\x69\x63\x73\x2F\x6D\x65\x74\x72\x69\x63\x73\x2F\x64\x65\x66\x61\x75\x6C\x74","\x2E\x2F\x61\x70\x69\x2F\x64\x65\x66\x61\x75\x6C\x74\x5F\x6D\x65\x74\x72\x69\x63","\x2F\x61\x70\x69\x2F\x61\x6E\x61\x6C\x79\x74\x69\x63\x73\x2F\x6D\x65\x74\x72\x69\x63\x73","\x2E\x2F\x61\x70\x69\x2F\x6D\x65\x74\x72\x69\x63","\x2F\x61\x70\x69\x2F\x6D\x6F\x64\x75\x6C\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x6D\x6F\x64\x75\x6C\x65","\x2F\x61\x70\x69\x2F\x61\x6E\x61\x6C\x79\x74\x69\x63\x73\x2F\x65\x78\x74\x72\x61\x63\x74\x65\x64","\x2E\x2F\x61\x70\x69\x2F\x65\x78\x74\x72\x61\x63\x74\x65\x64\x5F\x72\x65\x70\x6F\x72\x74","\x2F\x61\x70\x69\x2F\x75\x70\x64\x61\x74\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x75\x70\x64\x61\x74\x65","\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x2F\x63\x68\x61\x74\x2F\x73\x65\x73\x73\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x73\x65\x73\x73\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x7A\x65\x6E\x64\x65\x73\x6B\x2F\x66\x69\x65\x6C\x64\x73","\x2E\x2F\x61\x70\x69\x2F\x7A\x65\x6E\x64\x65\x73\x6B\x5F\x66\x69\x65\x6C\x64","\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x2F\x63\x68\x61\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74","\x2F\x61\x70\x69\x2F\x7A\x65\x6E\x64\x65\x73\x6B\x2F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x7A\x65\x6E\x64\x65\x73\x6B\x5F\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x6D\x6F\x74\x69\x6F\x6E\x62\x61\x72","\x2E\x2F\x61\x70\x69\x2F\x6D\x6F\x74\x69\x6F\x6E\x62\x61\x72","\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x2F\x6D\x61\x69\x6C\x2F\x73\x65\x73\x73\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x73\x65\x73\x73\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x2F\x73\x6D\x73\x2F\x73\x65\x73\x73\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73\x5F\x73\x65\x73\x73\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x2F\x6D\x61\x69\x6C\x73","\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C","\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x2F\x73\x6D\x73","\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x73\x6D\x73","\x2F\x61\x70\x69\x2F\x77\x69\x64\x67\x65\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x77\x69\x64\x67\x65\x74","\x2F\x61\x70\x69\x2F\x7A\x65\x6E\x64\x65\x73\x6B\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x7A\x65\x6E\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74","\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x2F\x71\x75\x65\x75\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65","\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x2F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x2F\x61\x67\x65\x6E\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74","\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x2F\x6D\x65\x6D\x62\x65\x72\x73","\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x6D\x65\x6D\x62\x65\x72","\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x2F\x73\x71\x75\x61\x72\x65","\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x73\x71\x75\x61\x72\x65","\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x2F\x73\x71\x75\x61\x72\x65\x2F\x64\x65\x74\x61\x69\x6C\x73","\x2E\x2F\x61\x70\x69\x2F\x72\x65\x70\x6F\x72\x74\x5F\x73\x71\x75\x61\x72\x65\x5F\x64\x65\x74\x61\x69\x6C","\x2F\x61\x70\x69\x2F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x73","\x2E\x2F\x61\x70\x69\x2F\x64\x61\x73\x68\x62\x6F\x61\x72\x64","\x2F\x61\x70\x69\x2F\x73\x65\x74\x74\x69\x6E\x67\x73","\x2E\x2F\x61\x70\x69\x2F\x73\x65\x74\x74\x69\x6E\x67","\x2F\x61\x70\x69\x2F\x74\x72\x69\x67\x67\x65\x72\x73","\x2E\x2F\x61\x70\x69\x2F\x74\x72\x69\x67\x67\x65\x72","\x2F\x61\x70\x69\x2F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x74\x65\x6D\x70\x6C\x61\x74\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x74\x65\x6D\x70\x6C\x61\x74\x65","\x2F\x61\x70\x69\x2F\x61\x6D\x69","\x2E\x2F\x61\x70\x69\x2F\x61\x6D\x69","\x2F\x61\x70\x69\x2F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x2F\x6D\x75\x73\x69\x63\x6F\x6E\x68\x6F\x6C\x64\x73","\x2E\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x5F\x6D\x75\x73\x69\x63\x6F\x6E\x68\x6F\x6C\x64","\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x2F\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x73\x2F\x6D\x65\x73\x73\x61\x67\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x5F\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65\x73","\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x2F\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x73","\x2E\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x5F\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C","\x2F\x61\x70\x69\x2F\x63\x6F\x6E\x74\x61\x63\x74\x6D\x61\x6E\x61\x67\x65\x72\x2F\x63\x6F\x6E\x74\x61\x63\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x63\x6F\x6E\x74\x61\x63\x74\x5F\x6D\x61\x6E\x61\x67\x65\x72","\x2F\x61\x70\x69\x2F\x63\x6F\x6E\x74\x61\x63\x74\x6D\x61\x6E\x61\x67\x65\x72\x2F\x63\x6F\x6D\x70\x61\x6E\x69\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x63\x6F\x6D\x70\x61\x6E\x79","\x2F\x61\x70\x69\x2F\x63\x6F\x6E\x74\x61\x63\x74\x6D\x61\x6E\x61\x67\x65\x72\x2F\x6C\x69\x73\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x6C\x69\x73\x74","\x2F\x61\x70\x69\x2F\x63\x6F\x6E\x74\x61\x63\x74\x6D\x61\x6E\x61\x67\x65\x72\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6C\x69\x73\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6C\x69\x73\x74","\x2F\x61\x70\x69\x2F\x69\x6E\x74\x65\x72\x76\x61\x6C\x73","\x2E\x2F\x61\x70\x69\x2F\x69\x6E\x74\x65\x72\x76\x61\x6C","\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x2F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x2F\x63\x6F\x6E\x74\x65\x78\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x5F\x63\x6F\x6E\x74\x65\x78\x74","\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x71\x75\x65\x75\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x76\x6F\x69\x63\x65\x5F\x71\x75\x65\x75\x65","\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x2F\x71\x75\x65\x75\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x5F\x71\x75\x65\x75\x65","\x2F\x61\x70\x69\x2F\x74\x72\x75\x6E\x6B\x73","\x2E\x2F\x61\x70\x69\x2F\x74\x72\x75\x6E\x6B","\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x71\x75\x65\x75\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65","\x2F\x61\x70\x69\x2F\x73\x71\x75\x61\x72\x65\x2F\x6F\x64\x62\x63","\x2E\x2F\x61\x70\x69\x2F\x73\x71\x75\x61\x72\x65\x5F\x6F\x64\x62\x63","\x2F\x61\x70\x69\x2F\x73\x71\x75\x61\x72\x65\x2F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67\x73","\x2E\x2F\x61\x70\x69\x2F\x73\x71\x75\x61\x72\x65\x5F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67","\x2F\x61\x70\x69\x2F\x66\x61\x78\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x66\x61\x78\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x66\x61\x78\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x71\x75\x65\x75\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x66\x61\x78\x5F\x71\x75\x65\x75\x65","\x2F\x61\x70\x69\x2F\x73\x6D\x73\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x71\x75\x65\x75\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x73\x6D\x73\x5F\x71\x75\x65\x75\x65","\x2F\x61\x70\x69\x2F\x66\x61\x78\x2F\x71\x75\x65\x75\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x66\x61\x78\x5F\x71\x75\x65\x75\x65","\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x2F\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x5F\x61\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\x2F\x61\x70\x69\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x74\x65\x61\x6D\x73","\x2E\x2F\x61\x70\x69\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x74\x65\x61\x6D","\x2F\x61\x70\x69\x2F\x76\x61\x72\x69\x61\x62\x6C\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x76\x61\x72\x69\x61\x62\x6C\x65","\x2F\x61\x70\x69\x2F\x63\x68\x61\x6E\x73\x70\x79","\x2E\x2F\x61\x70\x69\x2F\x63\x68\x61\x6E\x73\x70\x79","\x2F\x61\x70\x69\x2F\x74\x61\x67\x73","\x2E\x2F\x61\x70\x69\x2F\x74\x61\x67","\x2F\x61\x70\x69\x2F\x73\x71\x75\x61\x72\x65\x2F\x70\x72\x6F\x6A\x65\x63\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x73\x71\x75\x61\x72\x65\x5F\x70\x72\x6F\x6A\x65\x63\x74","\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x2F\x71\x75\x65\x75\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65","\x2F\x61\x70\x69\x2F\x66\x61\x78\x2F\x6D\x65\x73\x73\x61\x67\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x66\x61\x78\x5F\x6D\x65\x73\x73\x61\x67\x65","\x2F\x61\x70\x69\x2F\x66\x61\x78\x2F\x72\x6F\x6F\x6D\x73","\x2E\x2F\x61\x70\x69\x2F\x66\x61\x78\x5F\x72\x6F\x6F\x6D","\x2F\x61\x70\x69\x2F\x66\x61\x78\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x66\x61\x78\x5F\x61\x63\x63\x6F\x75\x6E\x74","\x2F\x61\x70\x69\x2F\x61\x67\x65\x6E\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x61\x67\x65\x6E\x74","\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x2F\x65\x6E\x71\x75\x69\x72\x69\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x5F\x65\x6E\x71\x75\x69\x72\x79","\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x2F\x6D\x65\x73\x73\x61\x67\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x5F\x6D\x65\x73\x73\x61\x67\x65","\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x2F\x72\x6F\x6F\x6D\x73","\x2E\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D","\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x2F\x76\x69\x73\x69\x74\x6F\x72\x73","\x2E\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x5F\x76\x69\x73\x69\x74\x6F\x72","\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x2F\x77\x65\x62\x73\x69\x74\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x5F\x77\x65\x62\x73\x69\x74\x65","\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x2E\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x5F\x61\x63\x63\x6F\x75\x6E\x74","\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x2F\x6D\x65\x73\x73\x61\x67\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x5F\x6D\x65\x73\x73\x61\x67\x65","\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x2F\x72\x6F\x6F\x6D\x73","\x2E\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x5F\x72\x6F\x6F\x6D","\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x2F\x73\x65\x72\x76\x65\x72\x73\x2F\x69\x6E","\x2E\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x69\x6E","\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x2F\x73\x65\x72\x76\x65\x72\x73\x2F\x6F\x75\x74","\x2E\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x5F\x73\x65\x72\x76\x65\x72\x5F\x6F\x75\x74","\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x2F\x71\x75\x65\x75\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65","\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x71\x75\x65\x75\x65\x73","\x2E\x2F\x61\x70\x69\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x6D\x61\x69\x6C\x5F\x71\x75\x65\x75\x65","\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x2F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x2E\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x2F\x61\x70\x69\x2F\x74\x65\x61\x6D\x73","\x2E\x2F\x61\x70\x69\x2F\x74\x65\x61\x6D","\x2F\x61\x70\x69\x2F\x73\x6F\x75\x6E\x64\x73","\x2E\x2F\x61\x70\x69\x2F\x73\x6F\x75\x6E\x64","\x2F\x61\x70\x69\x2F\x75\x73\x65\x72\x73","\x2E\x2F\x61\x70\x69\x2F\x75\x73\x65\x72","\x2F\x61\x70\x69\x2F\x63\x68\x61\x74\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x72\x6F\x6F\x6D\x73","\x2E\x2F\x61\x70\x69\x2F\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D","\x2F\x61\x70\x69\x2F\x78\x63\x68\x61\x74\x74\x79","\x2E\x2F\x61\x70\x69\x2F\x78\x63\x68\x61\x74\x74\x79","\x2F\x61\x75\x74\x68","\x2E\x2F\x61\x75\x74\x68","\x2F\x3A\x75\x72\x6C\x28\x61\x70\x69\x7C\x61\x75\x74\x68\x7C\x63\x6F\x6D\x70\x6F\x6E\x65\x6E\x74\x73\x7C\x61\x70\x70\x7C\x62\x6F\x77\x65\x72\x5F\x63\x6F\x6D\x70\x6F\x6E\x65\x6E\x74\x73\x7C\x61\x73\x73\x65\x74\x73\x29\x2F\x2A","\x72\x6F\x75\x74\x65","\x2F\x2A","\x70\x72\x6F\x64\x75\x63\x74\x69\x6F\x6E","\x72\x6F\x6F\x74","\x70\x75\x62\x6C\x69\x63","\x6A\x6F\x69\x6E","\x64\x65\x76\x65\x6C\x6F\x70\x6D\x65\x6E\x74","\x74\x65\x73\x74","\x63\x6C\x69\x65\x6E\x74","\x69\x6E\x64\x65\x78\x2E\x68\x74\x6D\x6C","\x73\x65\x6E\x64\x46\x69\x6C\x65","\x61\x6C\x6C"];_0x2836[0];var config=require(_0x2836[1]);var errors=require(_0x2836[2]);var path=require(_0x2836[3]);var moment=require(_0x2836[4]);module[_0x2836[5]]=function(_0x1c9bx5){var _0x1c9bx6=_0x1c9bx5[_0x2836[7]](_0x2836[6]);_0x1c9bx5[_0x2836[10]](_0x2836[8],require(_0x2836[9]));_0x1c9bx5[_0x2836[10]](_0x2836[11],require(_0x2836[12]));_0x1c9bx5[_0x2836[10]](_0x2836[13],require(_0x2836[14]));_0x1c9bx5[_0x2836[10]](_0x2836[15],require(_0x2836[16]));_0x1c9bx5[_0x2836[10]](_0x2836[17],require(_0x2836[18]));_0x1c9bx5[_0x2836[10]](_0x2836[19],require(_0x2836[20]));_0x1c9bx5[_0x2836[10]](_0x2836[21],require(_0x2836[22]));_0x1c9bx5[_0x2836[10]](_0x2836[23],require(_0x2836[24]));_0x1c9bx5[_0x2836[10]](_0x2836[25],require(_0x2836[26]));_0x1c9bx5[_0x2836[10]](_0x2836[27],require(_0x2836[28]));_0x1c9bx5[_0x2836[10]](_0x2836[29],require(_0x2836[30]));_0x1c9bx5[_0x2836[10]](_0x2836[31],require(_0x2836[32]));_0x1c9bx5[_0x2836[10]](_0x2836[33],require(_0x2836[34]));_0x1c9bx5[_0x2836[10]](_0x2836[35],require(_0x2836[36]));_0x1c9bx5[_0x2836[10]](_0x2836[37],require(_0x2836[38]));_0x1c9bx5[_0x2836[10]](_0x2836[39],require(_0x2836[40]));_0x1c9bx5[_0x2836[10]](_0x2836[41],require(_0x2836[42]));_0x1c9bx5[_0x2836[10]](_0x2836[43],require(_0x2836[44]));_0x1c9bx5[_0x2836[10]](_0x2836[45],require(_0x2836[46]));_0x1c9bx5[_0x2836[10]](_0x2836[47],require(_0x2836[48]));_0x1c9bx5[_0x2836[10]](_0x2836[49],require(_0x2836[50]));_0x1c9bx5[_0x2836[10]](_0x2836[51],require(_0x2836[52]));_0x1c9bx5[_0x2836[10]](_0x2836[53],require(_0x2836[54]));_0x1c9bx5[_0x2836[10]](_0x2836[55],require(_0x2836[56]));_0x1c9bx5[_0x2836[10]](_0x2836[57],require(_0x2836[58]));_0x1c9bx5[_0x2836[10]](_0x2836[59],require(_0x2836[60]));_0x1c9bx5[_0x2836[10]](_0x2836[61],require(_0x2836[62]));_0x1c9bx5[_0x2836[10]](_0x2836[63],require(_0x2836[64]));_0x1c9bx5[_0x2836[10]](_0x2836[65],require(_0x2836[66]));_0x1c9bx5[_0x2836[10]](_0x2836[67],require(_0x2836[68]));_0x1c9bx5[_0x2836[10]](_0x2836[69],require(_0x2836[70]));_0x1c9bx5[_0x2836[10]](_0x2836[71],require(_0x2836[72]));_0x1c9bx5[_0x2836[10]](_0x2836[73],require(_0x2836[74]));_0x1c9bx5[_0x2836[10]](_0x2836[75],require(_0x2836[76]));_0x1c9bx5[_0x2836[10]](_0x2836[77],require(_0x2836[78]));_0x1c9bx5[_0x2836[10]](_0x2836[79],require(_0x2836[80]));_0x1c9bx5[_0x2836[10]](_0x2836[81],require(_0x2836[82]));_0x1c9bx5[_0x2836[10]](_0x2836[83],require(_0x2836[84]));_0x1c9bx5[_0x2836[10]](_0x2836[85],require(_0x2836[86]));_0x1c9bx5[_0x2836[10]](_0x2836[87],require(_0x2836[88]));_0x1c9bx5[_0x2836[10]](_0x2836[89],require(_0x2836[90]));_0x1c9bx5[_0x2836[10]](_0x2836[91],require(_0x2836[92]));_0x1c9bx5[_0x2836[10]](_0x2836[93],require(_0x2836[94]));_0x1c9bx5[_0x2836[10]](_0x2836[95],require(_0x2836[96]));_0x1c9bx5[_0x2836[10]](_0x2836[97],require(_0x2836[98]));_0x1c9bx5[_0x2836[10]](_0x2836[99],require(_0x2836[100]));_0x1c9bx5[_0x2836[10]](_0x2836[101],require(_0x2836[102]));_0x1c9bx5[_0x2836[10]](_0x2836[103],require(_0x2836[104]));_0x1c9bx5[_0x2836[10]](_0x2836[105],require(_0x2836[106]));_0x1c9bx5[_0x2836[10]](_0x2836[107],require(_0x2836[108]));_0x1c9bx5[_0x2836[10]](_0x2836[109],require(_0x2836[110]));_0x1c9bx5[_0x2836[10]](_0x2836[111],require(_0x2836[112]));_0x1c9bx5[_0x2836[10]](_0x2836[113],require(_0x2836[114]));_0x1c9bx5[_0x2836[10]](_0x2836[115],require(_0x2836[116]));_0x1c9bx5[_0x2836[10]](_0x2836[117],require(_0x2836[118]));_0x1c9bx5[_0x2836[10]](_0x2836[119],require(_0x2836[120]));_0x1c9bx5[_0x2836[10]](_0x2836[121],require(_0x2836[122]));_0x1c9bx5[_0x2836[10]](_0x2836[123],require(_0x2836[124]));_0x1c9bx5[_0x2836[10]](_0x2836[125],require(_0x2836[126]));_0x1c9bx5[_0x2836[10]](_0x2836[127],require(_0x2836[128]));_0x1c9bx5[_0x2836[10]](_0x2836[129],require(_0x2836[130]));_0x1c9bx5[_0x2836[10]](_0x2836[131],require(_0x2836[132]));_0x1c9bx5[_0x2836[10]](_0x2836[133],require(_0x2836[134]));_0x1c9bx5[_0x2836[10]](_0x2836[135],require(_0x2836[136]));_0x1c9bx5[_0x2836[10]](_0x2836[137],require(_0x2836[138]));_0x1c9bx5[_0x2836[10]](_0x2836[139],require(_0x2836[140]));_0x1c9bx5[_0x2836[10]](_0x2836[141],require(_0x2836[142]));_0x1c9bx5[_0x2836[10]](_0x2836[143],require(_0x2836[144]));_0x1c9bx5[_0x2836[10]](_0x2836[145],require(_0x2836[146]));_0x1c9bx5[_0x2836[10]](_0x2836[147],require(_0x2836[148]));_0x1c9bx5[_0x2836[10]](_0x2836[149],require(_0x2836[150]));_0x1c9bx5[_0x2836[10]](_0x2836[151],require(_0x2836[152]));_0x1c9bx5[_0x2836[10]](_0x2836[153],require(_0x2836[154]));_0x1c9bx5[_0x2836[10]](_0x2836[155],require(_0x2836[156]));_0x1c9bx5[_0x2836[10]](_0x2836[157],require(_0x2836[158]));_0x1c9bx5[_0x2836[10]](_0x2836[159],require(_0x2836[160]));_0x1c9bx5[_0x2836[10]](_0x2836[161],require(_0x2836[162]));_0x1c9bx5[_0x2836[10]](_0x2836[163],require(_0x2836[164]));_0x1c9bx5[_0x2836[10]](_0x2836[165],require(_0x2836[166]));_0x1c9bx5[_0x2836[10]](_0x2836[167],require(_0x2836[168]));_0x1c9bx5[_0x2836[10]](_0x2836[169],require(_0x2836[170]));_0x1c9bx5[_0x2836[10]](_0x2836[171],require(_0x2836[172]));_0x1c9bx5[_0x2836[10]](_0x2836[173],require(_0x2836[174]));_0x1c9bx5[_0x2836[10]](_0x2836[175],require(_0x2836[176]));_0x1c9bx5[_0x2836[10]](_0x2836[177],require(_0x2836[178]));_0x1c9bx5[_0x2836[10]](_0x2836[179],require(_0x2836[180]));_0x1c9bx5[_0x2836[10]](_0x2836[181],require(_0x2836[182]));_0x1c9bx5[_0x2836[10]](_0x2836[183],require(_0x2836[184]));_0x1c9bx5[_0x2836[10]](_0x2836[185],require(_0x2836[186]));_0x1c9bx5[_0x2836[10]](_0x2836[187],require(_0x2836[188]));_0x1c9bx5[_0x2836[10]](_0x2836[189],require(_0x2836[190]));_0x1c9bx5[_0x2836[10]](_0x2836[191],require(_0x2836[192]));_0x1c9bx5[_0x2836[10]](_0x2836[193],require(_0x2836[194]));_0x1c9bx5[_0x2836[10]](_0x2836[195],require(_0x2836[196]));_0x1c9bx5[_0x2836[10]](_0x2836[197],require(_0x2836[198]));_0x1c9bx5[_0x2836[10]](_0x2836[199],require(_0x2836[200]));_0x1c9bx5[_0x2836[10]](_0x2836[201],require(_0x2836[202]));_0x1c9bx5[_0x2836[10]](_0x2836[203],require(_0x2836[204]));_0x1c9bx5[_0x2836[10]](_0x2836[205],require(_0x2836[206]));_0x1c9bx5[_0x2836[10]](_0x2836[207],require(_0x2836[208]));_0x1c9bx5[_0x2836[10]](_0x2836[209],require(_0x2836[210]));_0x1c9bx5[_0x2836[10]](_0x2836[211],require(_0x2836[212]));_0x1c9bx5[_0x2836[10]](_0x2836[213],require(_0x2836[214]));_0x1c9bx5[_0x2836[10]](_0x2836[215],require(_0x2836[216]));_0x1c9bx5[_0x2836[10]](_0x2836[217],require(_0x2836[218]));_0x1c9bx5[_0x2836[10]](_0x2836[219],require(_0x2836[220]));_0x1c9bx5[_0x2836[10]](_0x2836[221],require(_0x2836[222]));_0x1c9bx5[_0x2836[10]](_0x2836[223],require(_0x2836[224]));_0x1c9bx5[_0x2836[10]](_0x2836[225],require(_0x2836[226]));_0x1c9bx5[_0x2836[10]](_0x2836[207],require(_0x2836[208]));_0x1c9bx5[_0x2836[10]](_0x2836[227],require(_0x2836[228]));_0x1c9bx5[_0x2836[10]](_0x2836[229],require(_0x2836[230]));_0x1c9bx5[_0x2836[10]](_0x2836[231],require(_0x2836[232]));_0x1c9bx5[_0x2836[10]](_0x2836[233],require(_0x2836[234]));_0x1c9bx5[_0x2836[10]](_0x2836[235],require(_0x2836[236]));_0x1c9bx5[_0x2836[10]](_0x2836[237],require(_0x2836[238]));_0x1c9bx5[_0x2836[10]](_0x2836[239],require(_0x2836[240]));_0x1c9bx5[_0x2836[10]](_0x2836[241],require(_0x2836[242]));_0x1c9bx5[_0x2836[10]](_0x2836[243],require(_0x2836[244]));_0x1c9bx5[_0x2836[10]](_0x2836[245],require(_0x2836[246]));_0x1c9bx5[_0x2836[10]](_0x2836[247],require(_0x2836[248]));_0x1c9bx5[_0x2836[10]](_0x2836[249],require(_0x2836[250]));_0x1c9bx5[_0x2836[10]](_0x2836[251],require(_0x2836[252]));_0x1c9bx5[_0x2836[10]](_0x2836[253],require(_0x2836[254]));_0x1c9bx5[_0x2836[256]](_0x2836[255])[_0x2836[7]](errors[404]);_0x1c9bx5[_0x2836[267]](_0x2836[257],function(_0x1c9bx7,_0x1c9bx8,_0x1c9bx9){var _0x1c9bxa={};if(_0x2836[258]===_0x1c9bx6){_0x1c9bxa[_0x2836[259]]=path[_0x2836[261]](config[_0x2836[259]],_0x2836[260])};if(_0x2836[262]===_0x1c9bx6||_0x2836[263]===_0x1c9bx6){_0x1c9bxa[_0x2836[259]]=path[_0x2836[261]](config[_0x2836[259]],_0x2836[264])};_0x1c9bx8[_0x2836[266]](_0x2836[265],_0x1c9bxa)})} \ No newline at end of file diff --git a/server/utils/report_build.js b/server/utils/report_build.js index f74bfcb..1457aa6 100644 --- a/server/utils/report_build.js +++ b/server/utils/report_build.js @@ -1 +1 @@ -var _0xde29=["\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x55\x73\x65\x72","\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x62\x6C\x75\x65\x62\x69\x72\x64","\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x62\x75\x69\x6C\x64\x46\x69\x6C\x74\x65\x72","","\x5F\x68\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6C\x61\x63\x65","\x6C\x65\x6E\x67\x74\x68","\x28\x71\x75\x65\x75\x65\x20\x49\x4E\x20\x28","\x2C","\x6A\x6F\x69\x6E","\x29","\x20\x4F\x52\x20\x6D\x65\x6D\x62\x65\x72\x69\x64\x20\x49\x4E\x20\x28\x27","\x27\x2C\x27","\x27\x29\x29","\x71\x75\x65\x75\x65\x20\x49\x4E\x20\x28","\x65\x6D\x70\x74\x79","\x74\x68\x65\x6E","\x72\x6F\x77\x73","\x69\x64","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x6E\x61\x6D\x65","\x67\x65\x74\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x73\x65\x73\x73\x69\x6F\x6E","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65\x20\x49\x4E\x20\x28\x27","\x27\x29","\x3D\x3D\x3D\x3D\x20\x55\x53\x45\x52\x20\x46\x49\x4C\x54\x45\x52\x20\x3D\x3D\x3D\x3D","\x6C\x6F\x67","\x67\x65\x74\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x65\x6D\x62\x65\x72","\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74","\x71\x75\x65\x75\x65\x20\x49\x4E\x20\x28\x27","\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65","\x28\x71\x75\x65\x75\x65\x69\x64\x20\x49\x4E\x20\x28","\x20\x4F\x52\x20\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65\x20\x49\x4E\x20\x28\x27","\x71\x75\x65\x75\x65\x69\x64\x20\x49\x4E\x20\x28","\x67\x65\x74\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x73\x65\x73\x73\x69\x6F\x6E","\x72\x65\x70\x6F\x72\x74\x5F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x61\x6C\x6C","\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C","\x75\x73\x65\x72","\x72\x6F\x6C\x65","\x62\x75\x69\x6C\x64\x51\x75\x65\x72\x79","\x66\x75\x6E\x63\x74\x69\x6F\x6E","\x43\x4F\x55\x4E\x54\x28\x44\x49\x53\x54\x49\x4E\x43\x54\x20\x25\x73\x29","\x66\x69\x65\x6C\x64","\x66\x6F\x72\x6D\x61\x74","\x43\x4F\x55\x4E\x54\x20\x44\x49\x53\x54\x49\x4E\x43\x54","\x47\x52\x4F\x55\x50\x5F\x43\x4F\x4E\x43\x41\x54\x28\x25\x73\x20\x4F\x52\x44\x45\x52\x20\x42\x59\x20\x25\x73\x20\x41\x53\x43\x29","\x47\x52\x4F\x55\x50\x5F\x43\x4F\x4E\x43\x41\x54\x20\x41\x53\x43","\x47\x52\x4F\x55\x50\x5F\x43\x4F\x4E\x43\x41\x54\x28\x25\x73\x20\x4F\x52\x44\x45\x52\x20\x42\x59\x20\x25\x73\x20\x44\x45\x53\x43\x29","\x47\x52\x4F\x55\x50\x5F\x43\x4F\x4E\x43\x41\x54\x20\x44\x45\x53\x43","\x25\x73\x28\x25\x73\x29","\x43\x41\x53\x54\x28\x25\x73\x28\x25\x73\x29\x20\x41\x53\x20\x63\x68\x61\x72\x29","\x44\x41\x54\x45","\x25\x73\x20\x41\x53\x20\x27\x25\x73\x27","\x61\x6C\x69\x61\x73","\x70\x75\x73\x68","\x67\x72\x6F\x75\x70\x42\x79","\x6F\x72\x64\x65\x72\x42\x79","\x25\x73\x20\x25\x73","\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73","\x67\x72\x6F\x75\x70","\x70\x61\x72\x73\x65","\x28\x29","\x53\x45\x4C\x45\x43\x54","\x20","\x20\x46\x52\x4F\x4D\x20","\x74\x61\x62\x6C\x65","\x20\x57\x48\x45\x52\x45\x20","\x73\x74\x61\x72\x74\x44\x61\x74\x65","\x65\x6E\x64\x44\x61\x74\x65","\x6F\x66\x66\x73\x65\x74","\x6C\x69\x6D\x69\x74","\x66\x69\x6E\x64","\x20\x4C\x49\x4B\x45\x20\x27\x25","\x25\x27","\x66\x6F\x72\x4F\x77\x6E","\x20\x44\x41\x54\x45\x28\x63\x72\x65\x61\x74\x65\x64\x41\x74\x29\x20\x3D\x20\x27\x25\x73\x27","\x20\x28\x44\x41\x54\x45\x28\x63\x72\x65\x61\x74\x65\x64\x41\x74\x29\x20\x42\x45\x54\x57\x45\x45\x4E\x20\x27\x25\x73\x27\x20\x41\x4E\x44\x20\x27\x25\x73\x27\x29","\x20\x44\x41\x54\x45\x28\x63\x72\x65\x61\x74\x65\x64\x41\x74\x29\x20\x3E\x3D\x20\x27\x25\x73\x27\x29","\x20\x44\x41\x54\x45\x28\x63\x72\x65\x61\x74\x65\x64\x41\x74\x29\x20\x3C\x3D\x20\x27\x25\x73\x27\x29","\x20\x41\x4E\x44\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","\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","\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\x47\x52\x4F\x55\x50\x20\x42\x59\x20","\x20\x4F\x52\x44\x45\x52\x20\x42\x59\x20","\x28","\x72\x75\x6C\x65\x73","\x6F\x70\x65\x72\x61\x74\x6F\x72","\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E","\x20\x27","\x4C\x49\x4B\x45","\x25","\x76\x61\x6C\x75\x65","\x27"];var _=require(_0xde29[0]);var util=require(_0xde29[1]);var User=require(_0xde29[3])[_0xde29[2]];var Promise=require(_0xde29[4]);var Util=require(_0xde29[5]);exports[_0xde29[6]]=function(_0xa1cex6){return function(_0xa1cex7){switch(_0xa1cex6[_0xde29[48]]){case _0xde29[47]:var _0xa1cex8=_0xde29[7];var _0xa1cex9=_0xa1cex7[_0xde29[9]](_0xde29[8],_0xde29[7]);switch(_0xa1cex9){case _0xde29[29]:var _0xa1cexa;return User[_0xde29[28]](_0xa1cex6[_0xde29[22]],{attributes:[_0xde29[22]]})[_0xde29[20]](Util[_0xde29[27]]({},{attributes:[_0xde29[26]],include:[{raw:true,model:User,attributes:[_0xde29[22]]}]}))[_0xde29[20]](function(_0xa1cexc){var _0xa1cexd=[];_0xa1cexa=_[_0xde29[23]](_0xa1cexc[_0xde29[21]],_0xde29[22]);_0xa1cexc[_0xde29[21]][_0xde29[25]](function(_0xa1cexe){_0xa1cexd=_[_0xde29[24]](_0xa1cexd,_[_0xde29[23]](_0xa1cexe.Users,_0xde29[22]))});return _0xa1cexd})[_0xde29[20]](function(_0xa1cexb){if(_0xa1cexa[_0xde29[10]]&&_0xa1cexb[_0xde29[10]]){_0xa1cex8=_0xde29[11]+_0xa1cexa[_0xde29[13]](_0xde29[12])+_0xde29[14];_0xa1cex8+=_0xde29[15]+_0xa1cexb[_0xde29[13]](_0xde29[16])+_0xde29[17]}else {if(_0xa1cexa[_0xde29[10]]){_0xa1cex8=_0xde29[18]+_0xa1cexa[_0xde29[13]](_0xde29[12])+_0xde29[14]}else {_0xa1cex8=_0xde29[19]}};return _0xa1cex8});case _0xde29[35]:var _0xa1cexf;return User[_0xde29[28]](_0xa1cex6[_0xde29[22]],{attributes:[_0xde29[22]]})[_0xde29[20]](Util[_0xde29[34]]({},{attributes:[_0xde29[26]],include:[{raw:true,model:User,attributes:[_0xde29[22]]}]}))[_0xde29[20]](function(_0xa1cexc){var _0xa1cexd=[];_0xa1cexc[_0xde29[21]][_0xde29[25]](function(_0xa1cexe){_0xa1cexd=_[_0xde29[24]](_0xa1cexd,_[_0xde29[23]](_0xa1cexe.Users,_0xde29[26]))});return _0xa1cexd})[_0xde29[20]](function(_0xa1cexb){if(_0xa1cexb[_0xde29[10]]){_0xa1cex8=_0xde29[30]+_0xa1cexb[_0xde29[13]](_0xde29[16])+_0xde29[31]}else {_0xa1cex8=_0xde29[19]};console[_0xde29[33]](_0xde29[32],_0xa1cex8);return _0xa1cex8});case _0xde29[36]:;case _0xde29[38]:return User[_0xde29[28]](_0xa1cex6[_0xde29[22]],{attributes:[_0xde29[22]]})[_0xde29[20]](Util[_0xde29[34]]())[_0xde29[20]](function(_0xa1cex10){if(_0xa1cex10[_0xde29[21]][_0xde29[10]]){_0xa1cex10=_[_0xde29[23]](_0xa1cex10[_0xde29[21]],_0xde29[26]);_0xa1cex8=_0xde29[37]+_0xa1cex10[_0xde29[13]](_0xde29[16])+_0xde29[31]}else {_0xa1cex8=_0xde29[19]};console[_0xde29[33]](_0xde29[32],_0xa1cex8);return _0xa1cex8});case _0xde29[43]:var _0xa1cex11;return User[_0xde29[28]](_0xa1cex6[_0xde29[22]],{attributes:[_0xde29[22]]})[_0xde29[20]](Util[_0xde29[42]]({},{attributes:[_0xde29[26]],include:[{raw:true,model:User,attributes:[_0xde29[22]]}]}))[_0xde29[20]](function(_0xa1cexc){var _0xa1cexd=[];_0xa1cex11=_[_0xde29[23]](_0xa1cexc[_0xde29[21]],_0xde29[22]);_0xa1cexc[_0xde29[21]][_0xde29[25]](function(_0xa1cexe){_0xa1cexd=_[_0xde29[24]](_0xa1cexd,_[_0xde29[23]](_0xa1cexe.Users,_0xde29[26]))});return _0xa1cexd})[_0xde29[20]](function(_0xa1cexb){if(_0xa1cex11[_0xde29[10]]&&_0xa1cexb[_0xde29[10]]){_0xa1cex8=_0xde29[39]+_0xa1cex11[_0xde29[13]](_0xde29[12])+_0xde29[14];_0xa1cex8+=_0xde29[40]+_0xa1cexb[_0xde29[13]](_0xde29[16])+_0xde29[17]}else {if(_0xa1cex11[_0xde29[10]]){_0xa1cex8=_0xde29[41]+_0xa1cex11[_0xde29[13]](_0xde29[12])+_0xde29[14]}else {_0xa1cex8=_0xde29[19]}};console[_0xde29[33]](_0xde29[32],_0xa1cex8);return _0xa1cex8});case _0xde29[44]:;case _0xde29[46]:return Promise[_0xde29[45]]([])[_0xde29[20]](function(){return null});default:return Promise[_0xde29[45]]([])[_0xde29[20]](function(){return null})};break;default:return Promise[_0xde29[45]]([])[_0xde29[20]](function(){return null})}}};exports[_0xde29[49]]=function(_0xa1cex12){return function(_0xa1cex13,_0xa1cex14){var _0xa1cex15=[],_0xa1cex16=[],_0xa1cex17=[];_[_0xde29[25]](_0xa1cex14.Fields,function(_0xa1cex18){var _0xa1cex19=_0xde29[7];if(_0xa1cex18[_0xde29[50]]){switch(_0xa1cex18[_0xde29[50]]){case _0xde29[54]:_0xa1cex19=util[_0xde29[53]](_0xde29[51],_0xa1cex18[_0xde29[52]]);break;case _0xde29[56]:_0xa1cex19=util[_0xde29[53]](_0xde29[55],_0xa1cex18[_0xde29[52]],_0xa1cex18[_0xde29[52]]);break;case _0xde29[58]:_0xa1cex19=util[_0xde29[53]](_0xde29[57],_0xa1cex18[_0xde29[52]],_0xa1cex18[_0xde29[52]]);break;default:_0xa1cex19=util[_0xde29[53]](_0xde29[59],_0xa1cex18[_0xde29[50]],_0xa1cex18[_0xde29[52]])}}else {_0xa1cex19=_0xa1cex18[_0xde29[52]]};if(_0xa1cex18[_0xde29[53]]){switch(_0xa1cex18[_0xde29[53]]){case _0xde29[61]:_0xa1cex19=util[_0xde29[53]](_0xde29[60],_0xa1cex18[_0xde29[53]],_0xa1cex19);break;default:_0xa1cex19=util[_0xde29[53]](_0xde29[59],_0xa1cex18[_0xde29[53]],_0xa1cex19)}};_0xa1cex15[_0xde29[64]](util[_0xde29[53]](_0xde29[62],_0xa1cex19,_0xa1cex18[_0xde29[63]]));if(_0xa1cex18[_0xde29[65]]){_0xa1cex16[_0xde29[64]](_0xa1cex18[_0xde29[52]])};if(_0xa1cex18[_0xde29[66]]){_0xa1cex17[_0xde29[64]](util[_0xde29[53]](_0xde29[67],_0xa1cex18[_0xde29[52]],_0xa1cex18[_0xde29[66]]))}});var _0xa1cex1a=_0xa1cex14[_0xde29[68]]?getConditions(JSON[_0xde29[70]](_0xa1cex14[_0xde29[68]])[_0xde29[69]]):_0xde29[71];var _0xa1cex1b=_0xde29[72];_0xa1cex1b+=_0xde29[73]+_0xa1cex15[_0xde29[13]](_0xde29[12]);_0xa1cex1b+=_0xde29[74]+_0xa1cex14[_0xde29[75]];_0xa1cex1b+=_0xa1cex1a!==_0xde29[71]?_0xde29[76]+_0xa1cex1a:_0xde29[7];var _0xa1cex1c,_0xa1cex1d;var _0xa1cex1e=[];if(_0xa1cex12){_[_0xde29[84]](_0xa1cex12,function(_0xa1cex1f,_0xa1cex20){switch(_0xa1cex20){case _0xde29[77]:_0xa1cex1c=_0xa1cex1f;break;case _0xde29[78]:_0xa1cex1d=_0xa1cex1f;break;case _0xde29[79]:;case _0xde29[80]:break;default:var _0xa1cex21=_[_0xde29[81]](_0xa1cex14.Fields,{alias:_0xa1cex20});if(_0xa1cex21){_0xa1cex1e[_0xde29[64]](_0xa1cex21[_0xde29[52]]+_0xde29[82]+_0xa1cex1f+_0xde29[83])}else {_0xa1cex1e[_0xde29[64]](_0xa1cex20+_0xde29[82]+_0xa1cex1f+_0xde29[83])}}})};if(_0xa1cex1c&&_0xa1cex1d){if(_0xa1cex1c===_0xa1cex1d){_0xa1cex1e[_0xde29[64]](util[_0xde29[53]](_0xde29[85],_0xa1cex1c))}else {_0xa1cex1e[_0xde29[64]](util[_0xde29[53]](_0xde29[86],_0xa1cex1c,_0xa1cex1d))}}else {if(_0xa1cex1c){_0xa1cex1e[_0xde29[64]](util[_0xde29[53]](_0xde29[87],_0xa1cex1c))}else {if(_0xa1cex1d){_0xa1cex1e[_0xde29[64]](util[_0xde29[53]](_0xde29[88],_0xa1cex1d))}}};if(_0xa1cex1e[_0xde29[10]]){_0xa1cex1b+=((_0xa1cex1a!==_0xde29[71])?_0xde29[89]:_0xde29[76])+_0xa1cex1e[_0xde29[13]](_0xde29[89])};if(_0xa1cex13){if(_0xa1cex13===_0xde29[19]){console[_0xde29[33]](_0xde29[90]);console[_0xde29[33]](_0xde29[91]);console[_0xde29[33]](_0xde29[92]);return null};_0xa1cex1b+=((_0xa1cex1a!==_0xde29[71]||_0xa1cex1e[_0xde29[10]])?_0xde29[89]:_0xde29[76])+_0xa1cex13};_0xa1cex1b+=_0xa1cex16[_0xde29[10]]?_0xde29[93]+_0xa1cex16[_0xde29[13]](_0xde29[12]):_0xde29[7];_0xa1cex1b+=_0xa1cex17[_0xde29[10]]?_0xde29[94]+_0xa1cex17[_0xde29[13]](_0xde29[12]):_0xde29[7];console[_0xde29[33]](_0xde29[90]);console[_0xde29[33]](_0xa1cex1b);console[_0xde29[33]](_0xde29[92]);return _0xa1cex1b}};function getConditions(_0xa1cex23){if(!_0xa1cex23){return _0xde29[71]};for(var _0xa1cex24=_0xde29[95],_0xa1cex25=0;_0xa1cex25<_0xa1cex23[_0xde29[96]][_0xde29[10]];_0xa1cex25++){_0xa1cex25>0&&(_0xa1cex24+=_0xde29[73]+_0xa1cex23[_0xde29[97]]+_0xde29[73]);_0xa1cex24+=_0xa1cex23[_0xde29[96]][_0xa1cex25][_0xde29[69]]?getConditions(_0xa1cex23[_0xde29[96]][_0xa1cex25][_0xde29[69]]):_0xa1cex23[_0xde29[96]][_0xa1cex25][_0xde29[52]]+_0xde29[73]+_0xa1cex23[_0xde29[96]][_0xa1cex25][_0xde29[98]]+_0xde29[99]+(_0xa1cex23[_0xde29[96]][_0xa1cex25][_0xde29[98]]===_0xde29[100]?_0xde29[101]+_0xa1cex23[_0xde29[96]][_0xa1cex25][_0xde29[102]]+_0xde29[101]:_0xa1cex23[_0xde29[96]][_0xa1cex25][_0xde29[102]])+_0xde29[103]};return _0xa1cex24+_0xde29[14]} \ No newline at end of file +var _0x586c=["\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x55\x73\x65\x72","\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x62\x6C\x75\x65\x62\x69\x72\x64","\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x62\x75\x69\x6C\x64\x46\x69\x6C\x74\x65\x72","","\x5F\x68\x69\x73\x74\x6F\x72\x79","\x72\x65\x70\x6C\x61\x63\x65","\x6C\x65\x6E\x67\x74\x68","\x28\x71\x75\x65\x75\x65\x20\x49\x4E\x20\x28","\x2C","\x6A\x6F\x69\x6E","\x29","\x20\x4F\x52\x20\x6D\x65\x6D\x62\x65\x72\x69\x64\x20\x49\x4E\x20\x28\x27","\x27\x2C\x27","\x27\x29\x29","\x71\x75\x65\x75\x65\x20\x49\x4E\x20\x28","\x65\x6D\x70\x74\x79","\x74\x68\x65\x6E","\x72\x6F\x77\x73","\x69\x64","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x6E\x61\x6D\x65","\x67\x65\x74\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x61\x69\x6C\x5F\x73\x65\x73\x73\x69\x6F\x6E","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65\x20\x49\x4E\x20\x28\x27","\x27\x29","\x3D\x3D\x3D\x3D\x20\x55\x53\x45\x52\x20\x46\x49\x4C\x54\x45\x52\x20\x3D\x3D\x3D\x3D","\x6C\x6F\x67","\x67\x65\x74\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x72\x65\x70\x6F\x72\x74\x5F\x6D\x65\x6D\x62\x65\x72","\x72\x65\x70\x6F\x72\x74\x5F\x61\x67\x65\x6E\x74","\x71\x75\x65\x75\x65\x20\x49\x4E\x20\x28\x27","\x72\x65\x70\x6F\x72\x74\x5F\x71\x75\x65\x75\x65","\x28\x71\x75\x65\x75\x65\x69\x64\x20\x49\x4E\x20\x28","\x20\x4F\x52\x20\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65\x20\x49\x4E\x20\x28\x27","\x71\x75\x65\x75\x65\x69\x64\x20\x49\x4E\x20\x28","\x67\x65\x74\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x72\x65\x70\x6F\x72\x74\x5F\x63\x68\x61\x74\x5F\x73\x65\x73\x73\x69\x6F\x6E","\x72\x65\x70\x6F\x72\x74\x5F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E","\x61\x6C\x6C","\x72\x65\x70\x6F\x72\x74\x5F\x63\x61\x6C\x6C","\x75\x73\x65\x72","\x72\x6F\x6C\x65","\x62\x75\x69\x6C\x64\x51\x75\x65\x72\x79","\x66\x75\x6E\x63\x74\x69\x6F\x6E","\x43\x4F\x55\x4E\x54\x28\x44\x49\x53\x54\x49\x4E\x43\x54\x20\x25\x73\x29","\x66\x69\x65\x6C\x64","\x66\x6F\x72\x6D\x61\x74","\x43\x4F\x55\x4E\x54\x20\x44\x49\x53\x54\x49\x4E\x43\x54","\x47\x52\x4F\x55\x50\x5F\x43\x4F\x4E\x43\x41\x54\x28\x25\x73\x20\x4F\x52\x44\x45\x52\x20\x42\x59\x20\x25\x73\x20\x41\x53\x43\x29","\x47\x52\x4F\x55\x50\x5F\x43\x4F\x4E\x43\x41\x54\x20\x41\x53\x43","\x47\x52\x4F\x55\x50\x5F\x43\x4F\x4E\x43\x41\x54\x28\x25\x73\x20\x4F\x52\x44\x45\x52\x20\x42\x59\x20\x25\x73\x20\x44\x45\x53\x43\x29","\x47\x52\x4F\x55\x50\x5F\x43\x4F\x4E\x43\x41\x54\x20\x44\x45\x53\x43","\x25\x73\x28\x25\x73\x29","\x43\x41\x53\x54\x28\x25\x73\x28\x25\x73\x29\x20\x41\x53\x20\x63\x68\x61\x72\x29","\x44\x41\x54\x45","\x25\x73\x20\x41\x53\x20\x27\x25\x73\x27","\x61\x6C\x69\x61\x73","\x70\x75\x73\x68","\x67\x72\x6F\x75\x70\x42\x79","\x6F\x72\x64\x65\x72\x42\x79","\x25\x73\x20\x25\x73","\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73","\x67\x72\x6F\x75\x70","\x70\x61\x72\x73\x65","\x28\x29","\x53\x45\x4C\x45\x43\x54","\x20","\x20\x46\x52\x4F\x4D\x20","\x74\x61\x62\x6C\x65","\x20\x57\x48\x45\x52\x45\x20","\x73\x74\x61\x72\x74\x44\x61\x74\x65","\x65\x6E\x64\x44\x61\x74\x65","\x6F\x66\x66\x73\x65\x74","\x6C\x69\x6D\x69\x74","\x66\x69\x6E\x64","\x20\x4C\x49\x4B\x45\x20\x27\x25","\x25\x27","\x66\x6F\x72\x4F\x77\x6E","\x20\x44\x41\x54\x45\x28\x63\x72\x65\x61\x74\x65\x64\x41\x74\x29\x20\x3D\x20\x27\x25\x73\x27","\x20\x28\x44\x41\x54\x45\x28\x63\x72\x65\x61\x74\x65\x64\x41\x74\x29\x20\x42\x45\x54\x57\x45\x45\x4E\x20\x27\x25\x73\x27\x20\x41\x4E\x44\x20\x27\x25\x73\x27\x29","\x20\x44\x41\x54\x45\x28\x63\x72\x65\x61\x74\x65\x64\x41\x74\x29\x20\x3E\x3D\x20\x27\x25\x73\x27\x29","\x20\x44\x41\x54\x45\x28\x63\x72\x65\x61\x74\x65\x64\x41\x74\x29\x20\x3C\x3D\x20\x27\x25\x73\x27\x29","\x20\x41\x4E\x44\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","\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","\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\x47\x52\x4F\x55\x50\x20\x42\x59\x20","\x20\x4F\x52\x44\x45\x52\x20\x42\x59\x20","\x28","\x72\x75\x6C\x65\x73","\x6F\x70\x65\x72\x61\x74\x6F\x72","\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E","\x20\x27","\x4C\x49\x4B\x45","\x25","\x76\x61\x6C\x75\x65","\x27"];var _=require(_0x586c[0]);var util=require(_0x586c[1]);var User=require(_0x586c[3])[_0x586c[2]];var Promise=require(_0x586c[4]);var Util=require(_0x586c[5]);exports[_0x586c[6]]=function(_0x4097x6){return function(_0x4097x7){switch(_0x4097x6[_0x586c[48]]){case _0x586c[47]:var _0x4097x8=_0x586c[7];var _0x4097x9=_0x4097x7[_0x586c[9]](_0x586c[8],_0x586c[7]);switch(_0x4097x9){case _0x586c[29]:var _0x4097xa;return User[_0x586c[28]](_0x4097x6[_0x586c[22]],{attributes:[_0x586c[22]]})[_0x586c[20]](Util[_0x586c[27]]({},{attributes:[_0x586c[26]],include:[{raw:true,model:User,attributes:[_0x586c[22]]}]}))[_0x586c[20]](function(_0x4097xc){var _0x4097xd=[];_0x4097xa=_[_0x586c[23]](_0x4097xc[_0x586c[21]],_0x586c[22]);_0x4097xc[_0x586c[21]][_0x586c[25]](function(_0x4097xe){_0x4097xd=_[_0x586c[24]](_0x4097xd,_[_0x586c[23]](_0x4097xe.Users,_0x586c[22]))});return _0x4097xd})[_0x586c[20]](function(_0x4097xb){if(_0x4097xa[_0x586c[10]]&&_0x4097xb[_0x586c[10]]){_0x4097x8=_0x586c[11]+_0x4097xa[_0x586c[13]](_0x586c[12])+_0x586c[14];_0x4097x8+=_0x586c[15]+_0x4097xb[_0x586c[13]](_0x586c[16])+_0x586c[17]}else {if(_0x4097xa[_0x586c[10]]){_0x4097x8=_0x586c[18]+_0x4097xa[_0x586c[13]](_0x586c[12])+_0x586c[14]}else {_0x4097x8=_0x586c[19]}};return _0x4097x8});case _0x586c[35]:var _0x4097xf;return User[_0x586c[28]](_0x4097x6[_0x586c[22]],{attributes:[_0x586c[22]]})[_0x586c[20]](Util[_0x586c[34]]({},{attributes:[_0x586c[26]],include:[{raw:true,model:User,attributes:[_0x586c[22]]}]}))[_0x586c[20]](function(_0x4097xc){var _0x4097xd=[];_0x4097xc[_0x586c[21]][_0x586c[25]](function(_0x4097xe){_0x4097xd=_[_0x586c[24]](_0x4097xd,_[_0x586c[23]](_0x4097xe.Users,_0x586c[26]))});return _0x4097xd})[_0x586c[20]](function(_0x4097xb){if(_0x4097xb[_0x586c[10]]){_0x4097x8=_0x586c[30]+_0x4097xb[_0x586c[13]](_0x586c[16])+_0x586c[31]}else {_0x4097x8=_0x586c[19]};console[_0x586c[33]](_0x586c[32],_0x4097x8);return _0x4097x8});case _0x586c[36]:;case _0x586c[38]:return User[_0x586c[28]](_0x4097x6[_0x586c[22]],{attributes:[_0x586c[22]]})[_0x586c[20]](Util[_0x586c[34]]())[_0x586c[20]](function(_0x4097x10){if(_0x4097x10[_0x586c[21]][_0x586c[10]]){_0x4097x10=_[_0x586c[23]](_0x4097x10[_0x586c[21]],_0x586c[26]);_0x4097x8=_0x586c[37]+_0x4097x10[_0x586c[13]](_0x586c[16])+_0x586c[31]}else {_0x4097x8=_0x586c[19]};console[_0x586c[33]](_0x586c[32],_0x4097x8);return _0x4097x8});case _0x586c[43]:var _0x4097x11;return User[_0x586c[28]](_0x4097x6[_0x586c[22]],{attributes:[_0x586c[22]]})[_0x586c[20]](Util[_0x586c[42]]({},{attributes:[_0x586c[26]],include:[{raw:true,model:User,attributes:[_0x586c[22]]}]}))[_0x586c[20]](function(_0x4097xc){var _0x4097xd=[];_0x4097x11=_[_0x586c[23]](_0x4097xc[_0x586c[21]],_0x586c[22]);_0x4097xc[_0x586c[21]][_0x586c[25]](function(_0x4097xe){_0x4097xd=_[_0x586c[24]](_0x4097xd,_[_0x586c[23]](_0x4097xe.Users,_0x586c[26]))});return _0x4097xd})[_0x586c[20]](function(_0x4097xb){if(_0x4097x11[_0x586c[10]]&&_0x4097xb[_0x586c[10]]){_0x4097x8=_0x586c[39]+_0x4097x11[_0x586c[13]](_0x586c[12])+_0x586c[14];_0x4097x8+=_0x586c[40]+_0x4097xb[_0x586c[13]](_0x586c[16])+_0x586c[17]}else {if(_0x4097x11[_0x586c[10]]){_0x4097x8=_0x586c[41]+_0x4097x11[_0x586c[13]](_0x586c[12])+_0x586c[14]}else {_0x4097x8=_0x586c[19]}};console[_0x586c[33]](_0x586c[32],_0x4097x8);return _0x4097x8});case _0x586c[44]:;case _0x586c[46]:return Promise[_0x586c[45]]([])[_0x586c[20]](function(){return null});default:return Promise[_0x586c[45]]([])[_0x586c[20]](function(){return null})};break;default:return Promise[_0x586c[45]]([])[_0x586c[20]](function(){return null})}}};exports[_0x586c[49]]=function(_0x4097x12){return function(_0x4097x13,_0x4097x14){var _0x4097x15=[],_0x4097x16=[],_0x4097x17=[];_[_0x586c[25]](_0x4097x14.Fields,function(_0x4097x18){var _0x4097x19=_0x586c[7];if(_0x4097x18[_0x586c[50]]){switch(_0x4097x18[_0x586c[50]]){case _0x586c[54]:_0x4097x19=util[_0x586c[53]](_0x586c[51],_0x4097x18[_0x586c[52]]);break;case _0x586c[56]:_0x4097x19=util[_0x586c[53]](_0x586c[55],_0x4097x18[_0x586c[52]],_0x4097x18[_0x586c[52]]);break;case _0x586c[58]:_0x4097x19=util[_0x586c[53]](_0x586c[57],_0x4097x18[_0x586c[52]],_0x4097x18[_0x586c[52]]);break;default:_0x4097x19=util[_0x586c[53]](_0x586c[59],_0x4097x18[_0x586c[50]],_0x4097x18[_0x586c[52]])}}else {_0x4097x19=_0x4097x18[_0x586c[52]]};if(_0x4097x18[_0x586c[53]]){switch(_0x4097x18[_0x586c[53]]){case _0x586c[61]:_0x4097x19=util[_0x586c[53]](_0x586c[60],_0x4097x18[_0x586c[53]],_0x4097x19);break;default:_0x4097x19=util[_0x586c[53]](_0x586c[59],_0x4097x18[_0x586c[53]],_0x4097x19)}};_0x4097x15[_0x586c[64]](util[_0x586c[53]](_0x586c[62],_0x4097x19,_0x4097x18[_0x586c[63]]));if(_0x4097x18[_0x586c[65]]){_0x4097x16[_0x586c[64]](_0x4097x18[_0x586c[52]])};if(_0x4097x18[_0x586c[66]]){_0x4097x17[_0x586c[64]](util[_0x586c[53]](_0x586c[67],_0x4097x18[_0x586c[52]],_0x4097x18[_0x586c[66]]))}});var _0x4097x1a=_0x4097x14[_0x586c[68]]?getConditions(JSON[_0x586c[70]](_0x4097x14[_0x586c[68]])[_0x586c[69]]):_0x586c[71];var _0x4097x1b=_0x586c[72];_0x4097x1b+=_0x586c[73]+_0x4097x15[_0x586c[13]](_0x586c[12]);_0x4097x1b+=_0x586c[74]+_0x4097x14[_0x586c[75]];_0x4097x1b+=_0x4097x1a!==_0x586c[71]?_0x586c[76]+_0x4097x1a:_0x586c[7];var _0x4097x1c,_0x4097x1d;var _0x4097x1e=[];if(_0x4097x12){_[_0x586c[84]](_0x4097x12,function(_0x4097x1f,_0x4097x20){switch(_0x4097x20){case _0x586c[77]:_0x4097x1c=_0x4097x1f;break;case _0x586c[78]:_0x4097x1d=_0x4097x1f;break;case _0x586c[79]:;case _0x586c[80]:break;default:var _0x4097x21=_[_0x586c[81]](_0x4097x14.Fields,{alias:_0x4097x20});if(_0x4097x21){_0x4097x1e[_0x586c[64]](_0x4097x21[_0x586c[52]]+_0x586c[82]+_0x4097x1f+_0x586c[83])}else {_0x4097x1e[_0x586c[64]](_0x4097x20+_0x586c[82]+_0x4097x1f+_0x586c[83])}}})};if(_0x4097x1c&&_0x4097x1d){if(_0x4097x1c===_0x4097x1d){_0x4097x1e[_0x586c[64]](util[_0x586c[53]](_0x586c[85],_0x4097x1c))}else {_0x4097x1e[_0x586c[64]](util[_0x586c[53]](_0x586c[86],_0x4097x1c,_0x4097x1d))}}else {if(_0x4097x1c){_0x4097x1e[_0x586c[64]](util[_0x586c[53]](_0x586c[87],_0x4097x1c))}else {if(_0x4097x1d){_0x4097x1e[_0x586c[64]](util[_0x586c[53]](_0x586c[88],_0x4097x1d))}}};if(_0x4097x1e[_0x586c[10]]){_0x4097x1b+=((_0x4097x1a!==_0x586c[71])?_0x586c[89]:_0x586c[76])+_0x4097x1e[_0x586c[13]](_0x586c[89])};if(_0x4097x13){if(_0x4097x13===_0x586c[19]){console[_0x586c[33]](_0x586c[90]);console[_0x586c[33]](_0x586c[91]);console[_0x586c[33]](_0x586c[92]);return null};_0x4097x1b+=((_0x4097x1a!==_0x586c[71]||_0x4097x1e[_0x586c[10]])?_0x586c[89]:_0x586c[76])+_0x4097x13};_0x4097x1b+=_0x4097x16[_0x586c[10]]?_0x586c[93]+_0x4097x16[_0x586c[13]](_0x586c[12]):_0x586c[7];_0x4097x1b+=_0x4097x17[_0x586c[10]]?_0x586c[94]+_0x4097x17[_0x586c[13]](_0x586c[12]):_0x586c[7];console[_0x586c[33]](_0x586c[90]);console[_0x586c[33]](_0x4097x1b);console[_0x586c[33]](_0x586c[92]);return _0x4097x1b}};function getConditions(_0x4097x23){if(!_0x4097x23){return _0x586c[71]};for(var _0x4097x24=_0x586c[95],_0x4097x25=0;_0x4097x25<_0x4097x23[_0x586c[96]][_0x586c[10]];_0x4097x25++){_0x4097x25>0&&(_0x4097x24+=_0x586c[73]+_0x4097x23[_0x586c[97]]+_0x586c[73]);_0x4097x24+=_0x4097x23[_0x586c[96]][_0x4097x25][_0x586c[69]]?getConditions(_0x4097x23[_0x586c[96]][_0x4097x25][_0x586c[69]]):_0x4097x23[_0x586c[96]][_0x4097x25][_0x586c[52]]+_0x586c[73]+_0x4097x23[_0x586c[96]][_0x4097x25][_0x586c[98]]+_0x586c[99]+(_0x4097x23[_0x586c[96]][_0x4097x25][_0x586c[98]]===_0x586c[100]?_0x586c[101]+_0x4097x23[_0x586c[96]][_0x4097x25][_0x586c[102]]+_0x586c[101]:_0x4097x23[_0x586c[96]][_0x4097x25][_0x586c[102]])+_0x586c[103]};return _0x4097x24+_0x586c[14]} \ No newline at end of file diff --git a/server/utils/report_extraction.js b/server/utils/report_extraction.js index 16e504e..bcdedca 100644 --- a/server/utils/report_extraction.js +++ b/server/utils/report_extraction.js @@ -1 +1 @@ -var _0xe099=["\x74\x6F\x2D\x63\x73\x76","\x70\x64\x66\x6D\x61\x6B\x65","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x45\x78\x74\x72\x61\x63\x74\x65\x64\x52\x65\x70\x6F\x72\x74","\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x66\x73","\x6D\x6F\x6D\x65\x6E\x74","\x73\x69\x6D\x70\x6C\x65\x2D\x72\x61\x6E\x64\x6F\x6D","\x70\x61\x74\x68","\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x62\x6C\x75\x65\x62\x69\x72\x64","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x62\x75\x69\x6C\x64","\x66\x6F\x6E\x74\x73","\x52\x6F\x62\x6F\x74\x6F\x2D\x52\x65\x67\x75\x6C\x61\x72\x2E\x74\x74\x66","\x6A\x6F\x69\x6E","\x52\x6F\x62\x6F\x74\x6F\x2D\x4D\x65\x64\x69\x75\x6D\x2E\x74\x74\x66","\x52\x6F\x62\x6F\x74\x6F\x2D\x49\x74\x61\x6C\x69\x63\x2E\x74\x74\x66","\x6D\x65\x73\x73\x61\x67\x65","\x6C\x6F\x67","\x72\x65\x70\x6F\x72\x74","\x71\x75\x65\x72\x79","\x65\x78\x74\x72\x61\x63\x74\x65\x64\x49\x64","\x74\x6F\x4C\x6F\x77\x65\x72\x43\x61\x73\x65","\x74\x79\x70\x65","\x75\x73\x65\x72","\x6F\x6E","\x71\x75\x65\x72\x79\x20\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x6C\x65\x6E\x67\x74\x68","\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","\x66\x6F\x72\x4F\x77\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x70\x64\x66","\x63\x73\x76","\x65\x6D\x70\x74\x79","\x71\x75\x65\x72\x79\x20\x65\x78\x74\x72\x61\x63\x74\x69\x6F\x6E\x20\x65\x72\x72\x6F\x72","\x74\x68\x65\x6E","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\x62\x75\x69\x6C\x64\x51\x75\x65\x72\x79","\x73\x70\x72\x65\x61\x64","\x62\x75\x69\x6C\x64\x46\x69\x6C\x74\x65\x72","\x74\x61\x62\x6C\x65","\x61\x6C\x6C","\x72\x65\x70\x6F\x72\x74\x5F","\x6E\x61\x6D\x65","\x5F","\x2E\x70\x64\x66","\x61\x6C\x69\x61\x73","\x74\x61\x62\x6C\x65\x48\x65\x61\x64\x65\x72","\x70\x75\x73\x68","","\x6C\x61\x6E\x64\x73\x63\x61\x70\x65","\x70\x6F\x72\x74\x72\x61\x69\x74","\x68\x65\x61\x64\x65\x72","\x73\x74\x61\x72\x74\x44\x61\x74\x65","\x4D\x4D\x2D\x44\x44\x2D\x59\x59\x59\x59\x20\x48\x48\x3A\x6D\x6D","\x20\x2D\x20","\x65\x6E\x64\x44\x61\x74\x65","\x74\x61\x62\x6C\x65\x45\x78\x61\x6D\x70\x6C\x65","\x62\x6C\x61\x63\x6B","\x63\x72\x65\x61\x74\x65\x50\x64\x66\x4B\x69\x74\x44\x6F\x63\x75\x6D\x65\x6E\x74","\x72\x65\x70\x6F\x72\x74\x73","\x63\x72\x65\x61\x74\x65\x57\x72\x69\x74\x65\x53\x74\x72\x65\x61\x6D","\x65\x72\x72\x6F\x72","\x70\x64\x66\x20\x77\x72\x69\x74\x65\x20\x65\x72\x72\x6F\x72","\x66\x69\x6E\x69\x73\x68","\x63\x6F\x6D\x70\x6C\x65\x74\x65\x64","\x70\x69\x70\x65","\x65\x6E\x64","\x70\x64\x66\x20\x63\x72\x65\x61\x74\x69\x6F\x6E\x20\x65\x72\x72\x6F\x72","\x2E\x63\x73\x76","\x63\x73\x76\x20\x77\x72\x69\x74\x65\x20\x65\x72\x72\x6F\x72","\x77\x72\x69\x74\x65\x46\x69\x6C\x65","\x63\x73\x76\x20\x63\x72\x65\x61\x74\x69\x6F\x6E\x20\x65\x72\x72\x6F\x72","\x66\x69\x6E\x69\x73\x68\x65\x64","\x73\x65\x6E\x64","\x66\x69\x6E\x61\x6C\x6C\x79","\x2D\x2D\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x65\x78\x74\x72\x61\x63\x74\x69\x6E\x67\x20\x72\x65\x70\x6F\x72\x74\x20\x77\x69\x74\x68\x20\x65\x72\x72\x6F\x72\x20\x3A\x20","\x2D\x2D\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x65\x78\x74\x72\x61\x63\x74\x69\x6E\x67\x20\x72\x65\x70\x6F\x72\x74","\x75\x70\x64\x61\x74\x65"];var csv=require(_0xe099[0]);var pdfMake=require(_0xe099[1]);var _=require(_0xe099[2]);var util=require(_0xe099[3]);var ExtractedReport=require(_0xe099[5])[_0xe099[4]];var sequelize=require(_0xe099[5])[_0xe099[6]];var fs=require(_0xe099[7]);var moment=require(_0xe099[8]);var sr=require(_0xe099[9]);var path=require(_0xe099[10]);var config=require(_0xe099[11]);var Promise=require(_0xe099[12]);var reportBuildUtils=require(_0xe099[13]);var fonts={Roboto:{normal:path[_0xe099[16]](config[_0xe099[14]],_0xe099[15]),bold:path[_0xe099[16]](config[_0xe099[14]],_0xe099[17]),italics:path[_0xe099[16]](config[_0xe099[14]],_0xe099[18]),bolditalics:path[_0xe099[16]](config[_0xe099[14]],_0xe099[18])}};process[_0xe099[27]](_0xe099[19],function(_0xdd85xf){console[_0xe099[20]](_0xdd85xf);general(_0xdd85xf[_0xe099[21]],_0xdd85xf[_0xe099[22]],_0xdd85xf[_0xe099[23]],_0xdd85xf[_0xe099[25]][_0xe099[24]](),_0xdd85xf[_0xe099[26]])});function general(_0xdd85x11,_0xdd85x12,_0xdd85x13,_0xdd85x14,_0xdd85x15){extract(_0xdd85x11,_0xdd85x12,_0xdd85x13,_0xdd85x14,_0xdd85x15)}function extract(_0xdd85x11,_0xdd85x17,_0xdd85x13,_0xdd85x14,_0xdd85x15){return Promise[_0xe099[46]]([])[_0xe099[39]](function(){return _0xdd85x11[_0xe099[45]]})[_0xe099[39]](reportBuildUtils[_0xe099[44]](_0xdd85x15))[_0xe099[39]](function(_0xdd85x1d){return [_0xdd85x1d,_0xdd85x11]})[_0xe099[43]](reportBuildUtils[_0xe099[42]](_0xdd85x17))[_0xe099[39]](function(_0xdd85x12){return _0xdd85x12?sequelize[_0xe099[22]](_0xdd85x12,{type:sequelize[_0xe099[41]][_0xe099[40]]}):[]})[_0xe099[39]](function(_0xdd85x19){if(_0xdd85x19){if(_0xdd85x19[_0xe099[30]]){_[_0xe099[34]](_0xdd85x19,function(_0xdd85x1a){_[_0xe099[33]](_0xdd85x1a,function(_0xdd85x1b,_0xdd85x1c){if(_0xdd85x1b instanceof Date){_0xdd85x1a[_0xdd85x1c]=moment(_0xdd85x1b)[_0xe099[32]](_0xe099[31]).toString()}})});switch(_0xdd85x14){case _0xe099[35]:createPdf(_0xdd85x19,_0xdd85x11,_0xdd85x17,_0xdd85x13);break;case _0xe099[36]:createCsv(_0xdd85x19,_0xdd85x11,_0xdd85x17,_0xdd85x13);break;default:createCsv(_0xdd85x19,_0xdd85x11,_0xdd85x17,_0xdd85x13)}}else {updateExtracted(_0xdd85x13,null,_0xe099[37])}}else {updateExtracted(_0xdd85x13,null,_0xe099[38])}})[_0xe099[29]](function(_0xdd85x18){console[_0xe099[20]](_0xdd85x18);updateExtracted(_0xdd85x13,null,_0xe099[28])})}function createPdf(_0xdd85x19,_0xdd85x11,_0xdd85x17,_0xdd85x1f){var _0xdd85x20=sr({length:20,prefix:_0xe099[47]+_0xdd85x11[_0xe099[48]]+_0xe099[49],suffix:_0xe099[50]});var _0xdd85x21=[],_0xdd85x22=0;_[_0xe099[34]](_0xdd85x11.Fields,function(_0xdd85x23){_0xdd85x21[_0xe099[53]]({text:String(_0xdd85x23[_0xe099[51]]),style:_0xe099[52]});_0xdd85x22++});var _0xdd85x24=[_0xdd85x21];_[_0xe099[34]](_0xdd85x19,function(_0xdd85x23){var _0xdd85x1a=[];_[_0xe099[33]](_0xdd85x23,function(_0xdd85x25,_0xdd85x1c){_0xdd85x1a[_0xe099[53]](_0xdd85x25?String(_0xdd85x25):_0xe099[54])});_0xdd85x24[_0xe099[53]](_0xdd85x1a)});var _0xdd85x26={pageOrientation:_0xdd85x22>5?_0xe099[55]:_0xe099[56],content:[{text:_0xdd85x11[_0xe099[48]],style:_0xe099[57]},_0xdd85x17[_0xe099[58]]?moment(_0xdd85x17[_0xe099[58]])[_0xe099[32]](_0xe099[59]).toString():_0xe099[54]+_0xe099[60]+_0xdd85x17[_0xe099[61]]?moment(_0xdd85x17[_0xe099[61]])[_0xe099[32]](_0xe099[59]).toString():_0xe099[54],{style:_0xe099[62],table:{headerRows:1,body:_0xdd85x24}}],styles:{header:{fontSize:18,bold:true,margin:[0,0,0,10]},tableExample:{margin:[0,5,0,15]},tableHeader:{bold:true,fontSize:13,color:_0xe099[63]}}};var _0xdd85x27= new pdfMake(fonts);var _0xdd85x28=_0xdd85x27[_0xe099[64]](_0xdd85x26);if(_0xdd85x28){var _0xdd85x29=fs[_0xe099[66]](config[_0xe099[65]]+_0xdd85x20);_0xdd85x29[_0xe099[27]](_0xe099[67],function(){updateExtracted(_0xdd85x1f,null,_0xe099[68])});_0xdd85x29[_0xe099[27]](_0xe099[69],function(){updateExtracted(_0xdd85x1f,_0xdd85x20,_0xe099[70])});_0xdd85x28[_0xe099[71]](_0xdd85x29);_0xdd85x28[_0xe099[72]]()}else {updateExtracted(_0xdd85x1f,null,_0xe099[73])}}function createCsv(_0xdd85x19,_0xdd85x11,_0xdd85x17,_0xdd85x1f){var _0xdd85x20=sr({length:20,prefix:_0xe099[47]+_0xdd85x11[_0xe099[48]]+_0xe099[49],suffix:_0xe099[74]});var _0xdd85x2b=csv(_0xdd85x19);if(_0xdd85x2b){fs[_0xe099[76]](config[_0xe099[65]]+_0xdd85x20,_0xdd85x2b,function(_0xdd85x18){if(_0xdd85x18){console[_0xe099[20]](_0xdd85x18);updateExtracted(_0xdd85x1f,null,_0xe099[75])}else {updateExtracted(_0xdd85x1f,_0xdd85x20,_0xe099[70])}})}else {updateExtracted(_0xdd85x1f,null,_0xe099[77])}}function updateExtracted(_0xdd85x1f,_0xdd85x20,_0xdd85x2d){return ExtractedReport[_0xe099[83]]({status:_0xdd85x2d,savename:_0xdd85x20},{where:{id:_0xdd85x1f}})[_0xe099[39]](function(){console[_0xe099[20]](_0xe099[82])})[_0xe099[29]](function(_0xdd85x18){console[_0xe099[20]](_0xe099[81]+_0xdd85x18)})[_0xe099[80]](function(){process[_0xe099[79]]({message:_0xe099[78]})})} \ No newline at end of file +var _0xddb9=["\x74\x6F\x2D\x63\x73\x76","\x70\x64\x66\x6D\x61\x6B\x65","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x45\x78\x74\x72\x61\x63\x74\x65\x64\x52\x65\x70\x6F\x72\x74","\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x66\x73","\x6D\x6F\x6D\x65\x6E\x74","\x73\x69\x6D\x70\x6C\x65\x2D\x72\x61\x6E\x64\x6F\x6D","\x70\x61\x74\x68","\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x62\x6C\x75\x65\x62\x69\x72\x64","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x5F\x62\x75\x69\x6C\x64","\x66\x6F\x6E\x74\x73","\x52\x6F\x62\x6F\x74\x6F\x2D\x52\x65\x67\x75\x6C\x61\x72\x2E\x74\x74\x66","\x6A\x6F\x69\x6E","\x52\x6F\x62\x6F\x74\x6F\x2D\x4D\x65\x64\x69\x75\x6D\x2E\x74\x74\x66","\x52\x6F\x62\x6F\x74\x6F\x2D\x49\x74\x61\x6C\x69\x63\x2E\x74\x74\x66","\x6D\x65\x73\x73\x61\x67\x65","\x6C\x6F\x67","\x72\x65\x70\x6F\x72\x74","\x71\x75\x65\x72\x79","\x65\x78\x74\x72\x61\x63\x74\x65\x64\x49\x64","\x74\x6F\x4C\x6F\x77\x65\x72\x43\x61\x73\x65","\x74\x79\x70\x65","\x75\x73\x65\x72","\x6F\x6E","\x71\x75\x65\x72\x79\x20\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x6C\x65\x6E\x67\x74\x68","\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","\x66\x6F\x72\x4F\x77\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x70\x64\x66","\x63\x73\x76","\x65\x6D\x70\x74\x79","\x71\x75\x65\x72\x79\x20\x65\x78\x74\x72\x61\x63\x74\x69\x6F\x6E\x20\x65\x72\x72\x6F\x72","\x74\x68\x65\x6E","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\x62\x75\x69\x6C\x64\x51\x75\x65\x72\x79","\x73\x70\x72\x65\x61\x64","\x62\x75\x69\x6C\x64\x46\x69\x6C\x74\x65\x72","\x74\x61\x62\x6C\x65","\x61\x6C\x6C","\x72\x65\x70\x6F\x72\x74\x5F","\x6E\x61\x6D\x65","\x5F","\x2E\x70\x64\x66","\x61\x6C\x69\x61\x73","\x74\x61\x62\x6C\x65\x48\x65\x61\x64\x65\x72","\x70\x75\x73\x68","","\x6C\x61\x6E\x64\x73\x63\x61\x70\x65","\x70\x6F\x72\x74\x72\x61\x69\x74","\x68\x65\x61\x64\x65\x72","\x73\x74\x61\x72\x74\x44\x61\x74\x65","\x4D\x4D\x2D\x44\x44\x2D\x59\x59\x59\x59\x20\x48\x48\x3A\x6D\x6D","\x20\x2D\x20","\x65\x6E\x64\x44\x61\x74\x65","\x74\x61\x62\x6C\x65\x45\x78\x61\x6D\x70\x6C\x65","\x62\x6C\x61\x63\x6B","\x63\x72\x65\x61\x74\x65\x50\x64\x66\x4B\x69\x74\x44\x6F\x63\x75\x6D\x65\x6E\x74","\x72\x65\x70\x6F\x72\x74\x73","\x63\x72\x65\x61\x74\x65\x57\x72\x69\x74\x65\x53\x74\x72\x65\x61\x6D","\x65\x72\x72\x6F\x72","\x70\x64\x66\x20\x77\x72\x69\x74\x65\x20\x65\x72\x72\x6F\x72","\x66\x69\x6E\x69\x73\x68","\x63\x6F\x6D\x70\x6C\x65\x74\x65\x64","\x70\x69\x70\x65","\x65\x6E\x64","\x70\x64\x66\x20\x63\x72\x65\x61\x74\x69\x6F\x6E\x20\x65\x72\x72\x6F\x72","\x2E\x63\x73\x76","\x63\x73\x76\x20\x77\x72\x69\x74\x65\x20\x65\x72\x72\x6F\x72","\x77\x72\x69\x74\x65\x46\x69\x6C\x65","\x63\x73\x76\x20\x63\x72\x65\x61\x74\x69\x6F\x6E\x20\x65\x72\x72\x6F\x72","\x66\x69\x6E\x69\x73\x68\x65\x64","\x73\x65\x6E\x64","\x66\x69\x6E\x61\x6C\x6C\x79","\x2D\x2D\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x65\x78\x74\x72\x61\x63\x74\x69\x6E\x67\x20\x72\x65\x70\x6F\x72\x74\x20\x77\x69\x74\x68\x20\x65\x72\x72\x6F\x72\x20\x3A\x20","\x2D\x2D\x46\x69\x6E\x69\x73\x68\x65\x64\x20\x65\x78\x74\x72\x61\x63\x74\x69\x6E\x67\x20\x72\x65\x70\x6F\x72\x74","\x75\x70\x64\x61\x74\x65"];var csv=require(_0xddb9[0]);var pdfMake=require(_0xddb9[1]);var _=require(_0xddb9[2]);var util=require(_0xddb9[3]);var ExtractedReport=require(_0xddb9[5])[_0xddb9[4]];var sequelize=require(_0xddb9[5])[_0xddb9[6]];var fs=require(_0xddb9[7]);var moment=require(_0xddb9[8]);var sr=require(_0xddb9[9]);var path=require(_0xddb9[10]);var config=require(_0xddb9[11]);var Promise=require(_0xddb9[12]);var reportBuildUtils=require(_0xddb9[13]);var fonts={Roboto:{normal:path[_0xddb9[16]](config[_0xddb9[14]],_0xddb9[15]),bold:path[_0xddb9[16]](config[_0xddb9[14]],_0xddb9[17]),italics:path[_0xddb9[16]](config[_0xddb9[14]],_0xddb9[18]),bolditalics:path[_0xddb9[16]](config[_0xddb9[14]],_0xddb9[18])}};process[_0xddb9[27]](_0xddb9[19],function(_0xfcf7xf){console[_0xddb9[20]](_0xfcf7xf);general(_0xfcf7xf[_0xddb9[21]],_0xfcf7xf[_0xddb9[22]],_0xfcf7xf[_0xddb9[23]],_0xfcf7xf[_0xddb9[25]][_0xddb9[24]](),_0xfcf7xf[_0xddb9[26]])});function general(_0xfcf7x11,_0xfcf7x12,_0xfcf7x13,_0xfcf7x14,_0xfcf7x15){extract(_0xfcf7x11,_0xfcf7x12,_0xfcf7x13,_0xfcf7x14,_0xfcf7x15)}function extract(_0xfcf7x11,_0xfcf7x17,_0xfcf7x13,_0xfcf7x14,_0xfcf7x15){return Promise[_0xddb9[46]]([])[_0xddb9[39]](function(){return _0xfcf7x11[_0xddb9[45]]})[_0xddb9[39]](reportBuildUtils[_0xddb9[44]](_0xfcf7x15))[_0xddb9[39]](function(_0xfcf7x1d){return [_0xfcf7x1d,_0xfcf7x11]})[_0xddb9[43]](reportBuildUtils[_0xddb9[42]](_0xfcf7x17))[_0xddb9[39]](function(_0xfcf7x12){return _0xfcf7x12?sequelize[_0xddb9[22]](_0xfcf7x12,{type:sequelize[_0xddb9[41]][_0xddb9[40]]}):[]})[_0xddb9[39]](function(_0xfcf7x19){if(_0xfcf7x19){if(_0xfcf7x19[_0xddb9[30]]){_[_0xddb9[34]](_0xfcf7x19,function(_0xfcf7x1a){_[_0xddb9[33]](_0xfcf7x1a,function(_0xfcf7x1b,_0xfcf7x1c){if(_0xfcf7x1b instanceof Date){_0xfcf7x1a[_0xfcf7x1c]=moment(_0xfcf7x1b)[_0xddb9[32]](_0xddb9[31]).toString()}})});switch(_0xfcf7x14){case _0xddb9[35]:createPdf(_0xfcf7x19,_0xfcf7x11,_0xfcf7x17,_0xfcf7x13);break;case _0xddb9[36]:createCsv(_0xfcf7x19,_0xfcf7x11,_0xfcf7x17,_0xfcf7x13);break;default:createCsv(_0xfcf7x19,_0xfcf7x11,_0xfcf7x17,_0xfcf7x13)}}else {updateExtracted(_0xfcf7x13,null,_0xddb9[37])}}else {updateExtracted(_0xfcf7x13,null,_0xddb9[38])}})[_0xddb9[29]](function(_0xfcf7x18){console[_0xddb9[20]](_0xfcf7x18);updateExtracted(_0xfcf7x13,null,_0xddb9[28])})}function createPdf(_0xfcf7x19,_0xfcf7x11,_0xfcf7x17,_0xfcf7x1f){var _0xfcf7x20=sr({length:20,prefix:_0xddb9[47]+_0xfcf7x11[_0xddb9[48]]+_0xddb9[49],suffix:_0xddb9[50]});var _0xfcf7x21=[],_0xfcf7x22=0;_[_0xddb9[34]](_0xfcf7x11.Fields,function(_0xfcf7x23){_0xfcf7x21[_0xddb9[53]]({text:String(_0xfcf7x23[_0xddb9[51]]),style:_0xddb9[52]});_0xfcf7x22++});var _0xfcf7x24=[_0xfcf7x21];_[_0xddb9[34]](_0xfcf7x19,function(_0xfcf7x23){var _0xfcf7x1a=[];_[_0xddb9[33]](_0xfcf7x23,function(_0xfcf7x25,_0xfcf7x1c){_0xfcf7x1a[_0xddb9[53]](_0xfcf7x25?String(_0xfcf7x25):_0xddb9[54])});_0xfcf7x24[_0xddb9[53]](_0xfcf7x1a)});var _0xfcf7x26={pageOrientation:_0xfcf7x22>5?_0xddb9[55]:_0xddb9[56],content:[{text:_0xfcf7x11[_0xddb9[48]],style:_0xddb9[57]},_0xfcf7x17[_0xddb9[58]]?moment(_0xfcf7x17[_0xddb9[58]])[_0xddb9[32]](_0xddb9[59]).toString():_0xddb9[54]+_0xddb9[60]+_0xfcf7x17[_0xddb9[61]]?moment(_0xfcf7x17[_0xddb9[61]])[_0xddb9[32]](_0xddb9[59]).toString():_0xddb9[54],{style:_0xddb9[62],table:{headerRows:1,body:_0xfcf7x24}}],styles:{header:{fontSize:18,bold:true,margin:[0,0,0,10]},tableExample:{margin:[0,5,0,15]},tableHeader:{bold:true,fontSize:13,color:_0xddb9[63]}}};var _0xfcf7x27= new pdfMake(fonts);var _0xfcf7x28=_0xfcf7x27[_0xddb9[64]](_0xfcf7x26);if(_0xfcf7x28){var _0xfcf7x29=fs[_0xddb9[66]](config[_0xddb9[65]]+_0xfcf7x20);_0xfcf7x29[_0xddb9[27]](_0xddb9[67],function(){updateExtracted(_0xfcf7x1f,null,_0xddb9[68])});_0xfcf7x29[_0xddb9[27]](_0xddb9[69],function(){updateExtracted(_0xfcf7x1f,_0xfcf7x20,_0xddb9[70])});_0xfcf7x28[_0xddb9[71]](_0xfcf7x29);_0xfcf7x28[_0xddb9[72]]()}else {updateExtracted(_0xfcf7x1f,null,_0xddb9[73])}}function createCsv(_0xfcf7x19,_0xfcf7x11,_0xfcf7x17,_0xfcf7x1f){var _0xfcf7x20=sr({length:20,prefix:_0xddb9[47]+_0xfcf7x11[_0xddb9[48]]+_0xddb9[49],suffix:_0xddb9[74]});var _0xfcf7x2b=csv(_0xfcf7x19);if(_0xfcf7x2b){fs[_0xddb9[76]](config[_0xddb9[65]]+_0xfcf7x20,_0xfcf7x2b,function(_0xfcf7x18){if(_0xfcf7x18){console[_0xddb9[20]](_0xfcf7x18);updateExtracted(_0xfcf7x1f,null,_0xddb9[75])}else {updateExtracted(_0xfcf7x1f,_0xfcf7x20,_0xddb9[70])}})}else {updateExtracted(_0xfcf7x1f,null,_0xddb9[77])}}function updateExtracted(_0xfcf7x1f,_0xfcf7x20,_0xfcf7x2d){return ExtractedReport[_0xddb9[83]]({status:_0xfcf7x2d,savename:_0xfcf7x20},{where:{id:_0xfcf7x1f}})[_0xddb9[39]](function(){console[_0xddb9[20]](_0xddb9[82])})[_0xddb9[29]](function(_0xfcf7x18){console[_0xddb9[20]](_0xddb9[81]+_0xfcf7x18)})[_0xddb9[80]](function(){process[_0xddb9[79]]({message:_0xddb9[78]})})} \ No newline at end of file diff --git a/server/utils/voice_extension.js b/server/utils/voice_extension.js index db9ea97..0bd60f6 100644 --- a/server/utils/voice_extension.js +++ b/server/utils/voice_extension.js @@ -1 +1 @@ -var _0x19e4=["\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x49\x6E\x74\x65\x72\x76\x61\x6C","\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x63\x72\x65\x61\x74\x65\x41\x70\x70\x73","\x72\x6F\x75\x74\x65\x55\x70\x64\x61\x74\x65","\x69\x64","\x62\x6F\x64\x79","\x74\x68\x65\x6E","\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x69\x73\x41\x72\x72\x61\x79","\x6C\x65\x6E\x67\x74\x68","\x70\x61\x72\x61\x6D\x73","\x64\x65\x73\x74\x72\x6F\x79","\x75\x70\x64\x61\x74\x65","\x61\x6C\x6C","\x65\x78\x74\x65\x6E","\x74\x79\x70\x65","\x63\x6F\x6E\x74\x65\x78\x74","\x53\x65\x74","\x43\x44\x52\x28\x74\x79\x70\x65\x29\x3D\x25\x73","\x66\x6F\x72\x6D\x61\x74","\x6D\x65\x72\x67\x65","\x70\x75\x73\x68","\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x43\x44\x52\x28\x74\x61\x67\x29\x3D\x25\x73","\x74\x61\x67","\x2D\x2D","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64","\x66\x69\x6C\x74\x65\x72","\x69\x6E\x74\x65\x72\x76\x61\x6C","\x6D\x61\x70","\x2A\x2C\x2A\x2C\x2A\x2C\x2A","\x66\x69\x6E\x64","\x6E\x61\x6D\x65","\x4E\x6F\x4F\x50","\x61\x70\x70","\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x53\x74\x61\x72\x74","\x47\x6F\x74\x6F\x49\x66\x54\x69\x6D\x65","\x25\x73\x3F\x25\x73\x2C\x24\x7B\x45\x58\x54\x45\x4E\x7D\x2C\x25\x73\x3A\x25\x73\x2C\x24\x7B\x45\x58\x54\x45\x4E\x7D\x2C\x25\x73","\x66\x6F\x72\x45\x61\x63\x68","\x44\x69\x61\x6C","\x61\x70\x70\x64\x61\x74\x61","\x43\x41\x4C\x4C\x45\x52\x49\x44\x28\x61\x6C\x6C\x29\x3D\x25\x73","\x53\x6B\x69\x70\x70\x65\x64\x20\x43\x61\x6C\x6C\x65\x72\x49\x44\x20\x53\x65\x74","\x72\x65\x63\x6F\x72\x64","\x4D\x69\x78\x4D\x6F\x6E\x69\x74\x6F\x72","\x24\x7B\x55\x4E\x49\x51\x55\x45\x49\x44\x7D\x2E\x77\x61\x76\x2C\x61\x62","\x53\x6B\x69\x70\x70\x65\x64\x20\x4D\x69\x78\x4D\x6F\x6E\x69\x74\x6F\x72","\x51\x75\x65\x75\x65","\x63\x75\x73\x74\x6F\x6D","\x50\x72\x6F\x67\x72\x65\x73\x73","","\x53\x6B\x69\x70\x70\x65\x64\x20\x50\x72\x6F\x67\x72\x65\x73\x73","\x61\x70\x70\x54\x79\x70\x65","\x6F\x75\x74\x62\x6F\x75\x6E\x64\x44\x69\x61\x6C","\x53\x49\x50\x2F\x25\x73\x2F\x25\x73\x24\x7B\x45\x58\x54\x45\x4E\x3A\x25\x73\x7D\x2C\x25\x73\x2C\x25\x73\x2C\x25\x73","\x63\x75\x74\x64\x69\x67\x69\x74\x73","\x65\x78\x74\x65\x72\x6E\x61\x6C\x44\x69\x61\x6C","\x53\x49\x50\x2F\x25\x73\x2F\x25\x73\x2C\x25\x73\x2C\x25\x73\x2C\x25\x73","\x69\x6E\x74\x65\x72\x6E\x61\x6C\x44\x69\x61\x6C","\x53\x49\x50\x2F\x25\x73\x2C\x25\x73\x2C\x25\x73\x2C\x25\x73","\x2C","\x6A\x6F\x69\x6E","\x53\x74\x6F\x70\x4D\x69\x78\x4D\x6F\x6E\x69\x74\x6F\x72","\x53\x6B\x69\x70\x70\x65\x64\x20\x53\x74\x6F\x70\x4D\x69\x78\x4D\x6F\x6E\x69\x74\x6F\x72","\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x20\x63\x61\x6C\x6C\x20\x65\x6E\x64","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x48\x61\x6E\x67\x75\x70","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73"];var _=require(_0x19e4[0]);var util=require(_0x19e4[1]);var Interval=require(_0x19e4[3])[_0x19e4[2]];var sequelize=require(_0x19e4[3])[_0x19e4[4]];var VoiceExtension=require(_0x19e4[3])[_0x19e4[5]];exports[_0x19e4[6]]=createApplications;exports[_0x19e4[7]]=function(_0xddcbx6,_0xddcbx7){var sequelize=require(_0x19e4[3])[_0x19e4[4]];var VoiceExtension=require(_0x19e4[3])[_0x19e4[5]];if(_0xddcbx6[_0x19e4[9]][_0x19e4[8]]){delete _0xddcbx6[_0x19e4[9]][_0x19e4[8]]};return VoiceExtension[_0x19e4[16]](_0xddcbx6[_0x19e4[9]],{where:{id:_0xddcbx6[_0x19e4[14]][_0x19e4[8]]},transaction:_0xddcbx7})[_0x19e4[10]](function(_0xddcbx8){if(_0xddcbx6[_0x19e4[9]][_0x19e4[11]]){_0xddcbx6[_0x19e4[9]][_0x19e4[8]]=_0xddcbx6[_0x19e4[14]][_0x19e4[8]];return VoiceExtension[_0x19e4[15]]({where:{VoiceExtensionId:_0xddcbx6[_0x19e4[14]][_0x19e4[8]]},transaction:_0xddcbx7})}})[_0x19e4[10]](function(){if(_0xddcbx6[_0x19e4[9]][_0x19e4[11]]&&Array[_0x19e4[12]](_0xddcbx6[_0x19e4[9]].Applications)&&_0xddcbx6[_0x19e4[9]][_0x19e4[11]][_0x19e4[13]]){return _0xddcbx6[_0x19e4[9]]}})[_0x19e4[10]](createApplications(_0xddcbx6[_0x19e4[9]].Applications,_0xddcbx7))};function createApplications(_0xddcbxa,_0xddcbx7){var Interval=require(_0x19e4[3])[_0x19e4[2]];var VoiceExtension=require(_0x19e4[3])[_0x19e4[5]];return function(_0xddcbx8){if(_0xddcbx8){return Interval[_0x19e4[73]]()[_0x19e4[10]](function(_0xddcbxb){var _0xddcbxc=2;var _0xddcbxd={exten:_0xddcbx8[_0x19e4[18]],type:_0xddcbx8[_0x19e4[19]],context:_0xddcbx8[_0x19e4[20]],VoiceExtensionId:_0xddcbx8[_0x19e4[8]]};var _0xddcbxe=[];var _0xddcbxf=6;var _0xddcbx10=[],_0xddcbx11=[];_0xddcbx10[_0x19e4[25]](_[_0x19e4[24]]({app:_0x19e4[21],appdata:util[_0x19e4[23]](_0x19e4[22],_0xddcbx8[_0x19e4[19]]),priority:_0xddcbxc},_0xddcbxd));_0xddcbxc++;if(_0xddcbx8[_0x19e4[19]]===_0x19e4[26]){_0xddcbx10[_0x19e4[25]](_[_0x19e4[24]]({app:_0x19e4[21],appdata:util[_0x19e4[23]](_0x19e4[27],_0xddcbx8[_0x19e4[28]]||_0x19e4[29]),priority:_0xddcbxc},_0xddcbxd));_0xddcbxc++};_0xddcbxe[_0x19e4[25]](VoiceExtension[_0x19e4[30]](_0xddcbx10,{transaction:_0xddcbx7}));_0xddcbxa[_0x19e4[43]](function(_0xddcbx12){var _0xddcbx13=[];var _0xddcbx14=[];if(_0xddcbx12[_0x19e4[31]]){var _0xddcbx15=_[_0x19e4[32]](_0xddcbxb,{IntervalId:_0xddcbx12[_0x19e4[31]]});_0xddcbx13=_0xddcbx15[_0x19e4[13]]?_[_0x19e4[34]](_0xddcbx15,_0x19e4[33]):[_0x19e4[35]];var _0xddcbx16=_[_0x19e4[36]](_0xddcbxb,{id:_0xddcbx12[_0x19e4[31]]});_0xddcbx12[_0x19e4[33]]=_0xddcbx16?_0xddcbx16[_0x19e4[37]]:_0x19e4[35]}else {_0xddcbx13=[_0xddcbx12[_0x19e4[33]]]};_0xddcbx14[_0x19e4[25]](_[_0x19e4[24]]({app:_0x19e4[38],appdata:_0xddcbx12[_0x19e4[39]]+_0x19e4[40],priority:_0xddcbxc},_0xddcbxd));_0xddcbxc++;var _0xddcbx17=_0xddcbx13[_0x19e4[13]];_0xddcbx13[_0x19e4[43]](function(_0xddcbx18,_0xddcbx19){_0xddcbx14[_0x19e4[25]](_[_0x19e4[24]]({app:_0x19e4[41],appdata:util[_0x19e4[23]](_0x19e4[42],_0xddcbx18,_0xddcbx8[_0x19e4[20]],_0xddcbxc+(_0xddcbx17-_0xddcbx19),_0xddcbx8[_0x19e4[20]],((_0xddcbx19+1)<_0xddcbx17)?_0xddcbxc+1:_0xddcbxc+_0xddcbxf),priority:_0xddcbxc},_0xddcbxd));_0xddcbxc++});if(_0xddcbx12[_0x19e4[39]]===_0x19e4[44]&&_0xddcbx8[_0x19e4[19]]===_0x19e4[26]&&_0xddcbx12[_0x19e4[45]][1]){_0xddcbx14[_0x19e4[25]](_[_0x19e4[24]]({app:_0x19e4[21],appdata:util[_0x19e4[23]](_0x19e4[46],_0xddcbx12[_0x19e4[45]][1]),priority:_0xddcbxc},_0xddcbxd))}else {_0xddcbx14[_0x19e4[25]](_[_0x19e4[24]]({app:_0x19e4[38],appdata:_0x19e4[47],priority:_0xddcbxc},_0xddcbxd))};_0xddcbxc++;if(_0xddcbx12[_0x19e4[39]]===_0x19e4[44]&&_0xddcbx8[_0x19e4[48]]&&_0xddcbx8[_0x19e4[19]]===_0x19e4[26]){_0xddcbx14[_0x19e4[25]](_[_0x19e4[24]]({app:_0x19e4[49],appdata:_0x19e4[50],priority:_0xddcbxc},_0xddcbxd))}else {_0xddcbx14[_0x19e4[25]](_[_0x19e4[24]]({app:_0x19e4[38],appdata:_0x19e4[51],priority:_0xddcbxc},_0xddcbxd))};_0xddcbxc++;if(_0xddcbx12[_0x19e4[39]]===_0x19e4[52]&&_0xddcbx12[_0x19e4[39]]!==_0x19e4[53]){_0xddcbx14[_0x19e4[25]](_[_0x19e4[24]]({app:_0x19e4[54],appdata:_0x19e4[55],priority:_0xddcbxc},_0xddcbxd))}else {_0xddcbx14[_0x19e4[25]](_[_0x19e4[24]]({app:_0x19e4[38],appdata:_0x19e4[56],priority:_0xddcbxc},_0xddcbxd))};_0xddcbxc++;if(_0xddcbx12[_0x19e4[39]]===_0x19e4[44]&&_0xddcbx12[_0x19e4[57]]===_0x19e4[58]){_0xddcbx14[_0x19e4[25]](_[_0x19e4[24]]({app:_0xddcbx12[_0x19e4[39]],appdata:util[_0x19e4[23]](_0x19e4[59],_0xddcbx12[_0x19e4[45]][0],_0xddcbx12[_0x19e4[45]][2]||_0x19e4[55],_0xddcbx8[_0x19e4[60]]||0,_0xddcbx12[_0x19e4[45]][3]||_0x19e4[55],_0xddcbx12[_0x19e4[45]][4]||_0x19e4[55],_0xddcbx12[_0x19e4[45]][5]||_0x19e4[55]),priority:_0xddcbxc,IntervalId:_0xddcbx12[_0x19e4[31]]||null,interval:_0xddcbx12[_0x19e4[33]]||_0x19e4[35],isApp:true,callerID:_0xddcbx12[_0x19e4[45]][1]||null,appType:_0xddcbx12[_0x19e4[57]]},_0xddcbxd))}else {if(_0xddcbx12[_0x19e4[39]]===_0x19e4[44]&&_0xddcbx12[_0x19e4[57]]===_0x19e4[61]){_0xddcbx14[_0x19e4[25]](_[_0x19e4[24]]({app:_0xddcbx12[_0x19e4[39]],appdata:util[_0x19e4[23]](_0x19e4[62],_0xddcbx12[_0x19e4[45]][0],_0xddcbx12[_0x19e4[45]][1],_0xddcbx12[_0x19e4[45]][2]||_0x19e4[55],_0xddcbx12[_0x19e4[45]][3]||_0x19e4[55],_0xddcbx12[_0x19e4[45]][4]||_0x19e4[55]),priority:_0xddcbxc,IntervalId:_0xddcbx12[_0x19e4[31]]||null,interval:_0xddcbx12[_0x19e4[33]]||_0x19e4[35],isApp:true,appType:_0xddcbx12[_0x19e4[57]]},_0xddcbxd))}else {if(_0xddcbx12[_0x19e4[39]]===_0x19e4[44]&&_0xddcbx12[_0x19e4[57]]===_0x19e4[63]){_0xddcbx14[_0x19e4[25]](_[_0x19e4[24]]({app:_0xddcbx12[_0x19e4[39]],appdata:util[_0x19e4[23]](_0x19e4[64],_0xddcbx12[_0x19e4[45]][0],_0xddcbx12[_0x19e4[45]][1]||_0x19e4[55],_0xddcbx12[_0x19e4[45]][2]||_0x19e4[55],_0xddcbx12[_0x19e4[45]][3]||_0x19e4[55]),priority:_0xddcbxc,IntervalId:_0xddcbx12[_0x19e4[31]]||null,interval:_0xddcbx12[_0x19e4[33]]||_0x19e4[35],isApp:true,appType:_0xddcbx12[_0x19e4[57]]},_0xddcbxd))}else {_0xddcbx14[_0x19e4[25]](_[_0x19e4[24]]({app:_0xddcbx12[_0x19e4[39]],appdata:_0xddcbx12[_0x19e4[45]][_0x19e4[66]](_0x19e4[65]),priority:_0xddcbxc,IntervalId:_0xddcbx12[_0x19e4[31]],interval:_0xddcbx12[_0x19e4[33]]||_0x19e4[35],isApp:true,appType:_0xddcbx12[_0x19e4[57]]||null},_0xddcbxd))}}};_0xddcbxc++;if(_0xddcbx12[_0x19e4[39]]===_0x19e4[44]&&_0xddcbx8[_0x19e4[48]]&&_0xddcbx8[_0x19e4[19]]===_0x19e4[26]){_0xddcbx14[_0x19e4[25]](_[_0x19e4[24]]({app:_0x19e4[67],appdata:_0x19e4[55],priority:_0xddcbxc},_0xddcbxd))}else {_0xddcbx14[_0x19e4[25]](_[_0x19e4[24]]({app:_0x19e4[38],appdata:_0x19e4[68],priority:_0xddcbxc},_0xddcbxd))};_0xddcbxc++;_0xddcbx14[_0x19e4[25]](_[_0x19e4[24]]({app:_0x19e4[38],appdata:_0xddcbx12[_0x19e4[39]]+_0x19e4[69],priority:_0xddcbxc},_0xddcbxd));_0xddcbxc++;_0xddcbxe[_0x19e4[25]](VoiceExtension[_0x19e4[30]](_0xddcbx14,{transaction:_0xddcbx7}))});_0xddcbx11[_0x19e4[25]](_[_0x19e4[24]]({app:_0x19e4[38],appdata:_0xddcbx8[_0x19e4[19]]+_0x19e4[70],priority:_0xddcbxc},_0xddcbxd));_0xddcbxc++;if(_0xddcbx8[_0x19e4[19]]===_0x19e4[71]||_0xddcbx8[_0x19e4[19]]===_0x19e4[26]){_0xddcbx11[_0x19e4[25]](_[_0x19e4[24]]({app:_0x19e4[72],appdata:_0x19e4[55],priority:_0xddcbxc},_0xddcbxd));_0xddcbxc++};_0xddcbxe[_0x19e4[25]](VoiceExtension[_0x19e4[30]](_0xddcbx11,{transaction:_0xddcbx7}));return _0xddcbxe})[_0x19e4[17]]()}}}function handleError(_0xddcbx1b,_0xddcbx1c){return _0xddcbx1b[_0x19e4[75]](500)[_0x19e4[74]](_0xddcbx1c)} \ No newline at end of file +var _0x9bb6=["\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x49\x6E\x74\x65\x72\x76\x61\x6C","\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x63\x72\x65\x61\x74\x65\x41\x70\x70\x73","\x72\x6F\x75\x74\x65\x55\x70\x64\x61\x74\x65","\x69\x64","\x62\x6F\x64\x79","\x74\x68\x65\x6E","\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x69\x73\x41\x72\x72\x61\x79","\x6C\x65\x6E\x67\x74\x68","\x70\x61\x72\x61\x6D\x73","\x64\x65\x73\x74\x72\x6F\x79","\x75\x70\x64\x61\x74\x65","\x61\x6C\x6C","\x65\x78\x74\x65\x6E","\x74\x79\x70\x65","\x63\x6F\x6E\x74\x65\x78\x74","\x53\x65\x74","\x43\x44\x52\x28\x74\x79\x70\x65\x29\x3D\x25\x73","\x66\x6F\x72\x6D\x61\x74","\x6D\x65\x72\x67\x65","\x70\x75\x73\x68","\x6F\x75\x74\x62\x6F\x75\x6E\x64","\x43\x44\x52\x28\x74\x61\x67\x29\x3D\x25\x73","\x74\x61\x67","\x2D\x2D","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64","\x66\x69\x6C\x74\x65\x72","\x69\x6E\x74\x65\x72\x76\x61\x6C","\x6D\x61\x70","\x2A\x2C\x2A\x2C\x2A\x2C\x2A","\x66\x69\x6E\x64","\x6E\x61\x6D\x65","\x4E\x6F\x4F\x50","\x61\x70\x70","\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x53\x74\x61\x72\x74","\x47\x6F\x74\x6F\x49\x66\x54\x69\x6D\x65","\x25\x73\x3F\x25\x73\x2C\x24\x7B\x45\x58\x54\x45\x4E\x7D\x2C\x25\x73\x3A\x25\x73\x2C\x24\x7B\x45\x58\x54\x45\x4E\x7D\x2C\x25\x73","\x66\x6F\x72\x45\x61\x63\x68","\x44\x69\x61\x6C","\x61\x70\x70\x64\x61\x74\x61","\x43\x41\x4C\x4C\x45\x52\x49\x44\x28\x61\x6C\x6C\x29\x3D\x25\x73","\x53\x6B\x69\x70\x70\x65\x64\x20\x43\x61\x6C\x6C\x65\x72\x49\x44\x20\x53\x65\x74","\x72\x65\x63\x6F\x72\x64","\x4D\x69\x78\x4D\x6F\x6E\x69\x74\x6F\x72","\x24\x7B\x55\x4E\x49\x51\x55\x45\x49\x44\x7D\x2E\x77\x61\x76\x2C\x61\x62","\x53\x6B\x69\x70\x70\x65\x64\x20\x4D\x69\x78\x4D\x6F\x6E\x69\x74\x6F\x72","\x51\x75\x65\x75\x65","\x63\x75\x73\x74\x6F\x6D","\x50\x72\x6F\x67\x72\x65\x73\x73","","\x53\x6B\x69\x70\x70\x65\x64\x20\x50\x72\x6F\x67\x72\x65\x73\x73","\x61\x70\x70\x54\x79\x70\x65","\x6F\x75\x74\x62\x6F\x75\x6E\x64\x44\x69\x61\x6C","\x53\x49\x50\x2F\x25\x73\x2F\x25\x73\x24\x7B\x45\x58\x54\x45\x4E\x3A\x25\x73\x7D\x2C\x25\x73\x2C\x25\x73\x2C\x25\x73","\x63\x75\x74\x64\x69\x67\x69\x74\x73","\x65\x78\x74\x65\x72\x6E\x61\x6C\x44\x69\x61\x6C","\x53\x49\x50\x2F\x25\x73\x2F\x25\x73\x2C\x25\x73\x2C\x25\x73\x2C\x25\x73","\x69\x6E\x74\x65\x72\x6E\x61\x6C\x44\x69\x61\x6C","\x53\x49\x50\x2F\x25\x73\x2C\x25\x73\x2C\x25\x73\x2C\x25\x73","\x2C","\x6A\x6F\x69\x6E","\x53\x74\x6F\x70\x4D\x69\x78\x4D\x6F\x6E\x69\x74\x6F\x72","\x53\x6B\x69\x70\x70\x65\x64\x20\x53\x74\x6F\x70\x4D\x69\x78\x4D\x6F\x6E\x69\x74\x6F\x72","\x20\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x45\x6E\x64","\x20\x63\x61\x6C\x6C\x20\x65\x6E\x64","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x48\x61\x6E\x67\x75\x70","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73"];var _=require(_0x9bb6[0]);var util=require(_0x9bb6[1]);var Interval=require(_0x9bb6[3])[_0x9bb6[2]];var sequelize=require(_0x9bb6[3])[_0x9bb6[4]];var VoiceExtension=require(_0x9bb6[3])[_0x9bb6[5]];exports[_0x9bb6[6]]=createApplications;exports[_0x9bb6[7]]=function(_0x2575x6,_0x2575x7){var sequelize=require(_0x9bb6[3])[_0x9bb6[4]];var VoiceExtension=require(_0x9bb6[3])[_0x9bb6[5]];if(_0x2575x6[_0x9bb6[9]][_0x9bb6[8]]){delete _0x2575x6[_0x9bb6[9]][_0x9bb6[8]]};return VoiceExtension[_0x9bb6[16]](_0x2575x6[_0x9bb6[9]],{where:{id:_0x2575x6[_0x9bb6[14]][_0x9bb6[8]]},transaction:_0x2575x7})[_0x9bb6[10]](function(_0x2575x8){if(_0x2575x6[_0x9bb6[9]][_0x9bb6[11]]){_0x2575x6[_0x9bb6[9]][_0x9bb6[8]]=_0x2575x6[_0x9bb6[14]][_0x9bb6[8]];return VoiceExtension[_0x9bb6[15]]({where:{VoiceExtensionId:_0x2575x6[_0x9bb6[14]][_0x9bb6[8]]},transaction:_0x2575x7})}})[_0x9bb6[10]](function(){if(_0x2575x6[_0x9bb6[9]][_0x9bb6[11]]&&Array[_0x9bb6[12]](_0x2575x6[_0x9bb6[9]].Applications)&&_0x2575x6[_0x9bb6[9]][_0x9bb6[11]][_0x9bb6[13]]){return _0x2575x6[_0x9bb6[9]]}})[_0x9bb6[10]](createApplications(_0x2575x6[_0x9bb6[9]].Applications,_0x2575x7))};function createApplications(_0x2575xa,_0x2575x7){var Interval=require(_0x9bb6[3])[_0x9bb6[2]];var VoiceExtension=require(_0x9bb6[3])[_0x9bb6[5]];return function(_0x2575x8){if(_0x2575x8){return Interval[_0x9bb6[73]]()[_0x9bb6[10]](function(_0x2575xb){var _0x2575xc=2;var _0x2575xd={exten:_0x2575x8[_0x9bb6[18]],type:_0x2575x8[_0x9bb6[19]],context:_0x2575x8[_0x9bb6[20]],VoiceExtensionId:_0x2575x8[_0x9bb6[8]]};var _0x2575xe=[];var _0x2575xf=6;var _0x2575x10=[],_0x2575x11=[];_0x2575x10[_0x9bb6[25]](_[_0x9bb6[24]]({app:_0x9bb6[21],appdata:util[_0x9bb6[23]](_0x9bb6[22],_0x2575x8[_0x9bb6[19]]),priority:_0x2575xc},_0x2575xd));_0x2575xc++;if(_0x2575x8[_0x9bb6[19]]===_0x9bb6[26]){_0x2575x10[_0x9bb6[25]](_[_0x9bb6[24]]({app:_0x9bb6[21],appdata:util[_0x9bb6[23]](_0x9bb6[27],_0x2575x8[_0x9bb6[28]]||_0x9bb6[29]),priority:_0x2575xc},_0x2575xd));_0x2575xc++};_0x2575xe[_0x9bb6[25]](VoiceExtension[_0x9bb6[30]](_0x2575x10,{transaction:_0x2575x7}));_0x2575xa[_0x9bb6[43]](function(_0x2575x12){var _0x2575x13=[];var _0x2575x14=[];if(_0x2575x12[_0x9bb6[31]]){var _0x2575x15=_[_0x9bb6[32]](_0x2575xb,{IntervalId:_0x2575x12[_0x9bb6[31]]});_0x2575x13=_0x2575x15[_0x9bb6[13]]?_[_0x9bb6[34]](_0x2575x15,_0x9bb6[33]):[_0x9bb6[35]];var _0x2575x16=_[_0x9bb6[36]](_0x2575xb,{id:_0x2575x12[_0x9bb6[31]]});_0x2575x12[_0x9bb6[33]]=_0x2575x16?_0x2575x16[_0x9bb6[37]]:_0x9bb6[35]}else {_0x2575x13=[_0x2575x12[_0x9bb6[33]]]};_0x2575x14[_0x9bb6[25]](_[_0x9bb6[24]]({app:_0x9bb6[38],appdata:_0x2575x12[_0x9bb6[39]]+_0x9bb6[40],priority:_0x2575xc},_0x2575xd));_0x2575xc++;var _0x2575x17=_0x2575x13[_0x9bb6[13]];_0x2575x13[_0x9bb6[43]](function(_0x2575x18,_0x2575x19){_0x2575x14[_0x9bb6[25]](_[_0x9bb6[24]]({app:_0x9bb6[41],appdata:util[_0x9bb6[23]](_0x9bb6[42],_0x2575x18,_0x2575x8[_0x9bb6[20]],_0x2575xc+(_0x2575x17-_0x2575x19),_0x2575x8[_0x9bb6[20]],((_0x2575x19+1)<_0x2575x17)?_0x2575xc+1:_0x2575xc+_0x2575xf),priority:_0x2575xc},_0x2575xd));_0x2575xc++});if(_0x2575x12[_0x9bb6[39]]===_0x9bb6[44]&&_0x2575x8[_0x9bb6[19]]===_0x9bb6[26]&&_0x2575x12[_0x9bb6[45]][1]){_0x2575x14[_0x9bb6[25]](_[_0x9bb6[24]]({app:_0x9bb6[21],appdata:util[_0x9bb6[23]](_0x9bb6[46],_0x2575x12[_0x9bb6[45]][1]),priority:_0x2575xc},_0x2575xd))}else {_0x2575x14[_0x9bb6[25]](_[_0x9bb6[24]]({app:_0x9bb6[38],appdata:_0x9bb6[47],priority:_0x2575xc},_0x2575xd))};_0x2575xc++;if(_0x2575x12[_0x9bb6[39]]===_0x9bb6[44]&&_0x2575x8[_0x9bb6[48]]&&_0x2575x8[_0x9bb6[19]]===_0x9bb6[26]){_0x2575x14[_0x9bb6[25]](_[_0x9bb6[24]]({app:_0x9bb6[49],appdata:_0x9bb6[50],priority:_0x2575xc},_0x2575xd))}else {_0x2575x14[_0x9bb6[25]](_[_0x9bb6[24]]({app:_0x9bb6[38],appdata:_0x9bb6[51],priority:_0x2575xc},_0x2575xd))};_0x2575xc++;if(_0x2575x12[_0x9bb6[39]]===_0x9bb6[52]&&_0x2575x12[_0x9bb6[39]]!==_0x9bb6[53]){_0x2575x14[_0x9bb6[25]](_[_0x9bb6[24]]({app:_0x9bb6[54],appdata:_0x9bb6[55],priority:_0x2575xc},_0x2575xd))}else {_0x2575x14[_0x9bb6[25]](_[_0x9bb6[24]]({app:_0x9bb6[38],appdata:_0x9bb6[56],priority:_0x2575xc},_0x2575xd))};_0x2575xc++;if(_0x2575x12[_0x9bb6[39]]===_0x9bb6[44]&&_0x2575x12[_0x9bb6[57]]===_0x9bb6[58]){_0x2575x14[_0x9bb6[25]](_[_0x9bb6[24]]({app:_0x2575x12[_0x9bb6[39]],appdata:util[_0x9bb6[23]](_0x9bb6[59],_0x2575x12[_0x9bb6[45]][0],_0x2575x12[_0x9bb6[45]][2]||_0x9bb6[55],_0x2575x8[_0x9bb6[60]]||0,_0x2575x12[_0x9bb6[45]][3]||_0x9bb6[55],_0x2575x12[_0x9bb6[45]][4]||_0x9bb6[55],_0x2575x12[_0x9bb6[45]][5]||_0x9bb6[55]),priority:_0x2575xc,IntervalId:_0x2575x12[_0x9bb6[31]]||null,interval:_0x2575x12[_0x9bb6[33]]||_0x9bb6[35],isApp:true,callerID:_0x2575x12[_0x9bb6[45]][1]||null,appType:_0x2575x12[_0x9bb6[57]]},_0x2575xd))}else {if(_0x2575x12[_0x9bb6[39]]===_0x9bb6[44]&&_0x2575x12[_0x9bb6[57]]===_0x9bb6[61]){_0x2575x14[_0x9bb6[25]](_[_0x9bb6[24]]({app:_0x2575x12[_0x9bb6[39]],appdata:util[_0x9bb6[23]](_0x9bb6[62],_0x2575x12[_0x9bb6[45]][0],_0x2575x12[_0x9bb6[45]][1],_0x2575x12[_0x9bb6[45]][2]||_0x9bb6[55],_0x2575x12[_0x9bb6[45]][3]||_0x9bb6[55],_0x2575x12[_0x9bb6[45]][4]||_0x9bb6[55]),priority:_0x2575xc,IntervalId:_0x2575x12[_0x9bb6[31]]||null,interval:_0x2575x12[_0x9bb6[33]]||_0x9bb6[35],isApp:true,appType:_0x2575x12[_0x9bb6[57]]},_0x2575xd))}else {if(_0x2575x12[_0x9bb6[39]]===_0x9bb6[44]&&_0x2575x12[_0x9bb6[57]]===_0x9bb6[63]){_0x2575x14[_0x9bb6[25]](_[_0x9bb6[24]]({app:_0x2575x12[_0x9bb6[39]],appdata:util[_0x9bb6[23]](_0x9bb6[64],_0x2575x12[_0x9bb6[45]][0],_0x2575x12[_0x9bb6[45]][1]||_0x9bb6[55],_0x2575x12[_0x9bb6[45]][2]||_0x9bb6[55],_0x2575x12[_0x9bb6[45]][3]||_0x9bb6[55]),priority:_0x2575xc,IntervalId:_0x2575x12[_0x9bb6[31]]||null,interval:_0x2575x12[_0x9bb6[33]]||_0x9bb6[35],isApp:true,appType:_0x2575x12[_0x9bb6[57]]},_0x2575xd))}else {_0x2575x14[_0x9bb6[25]](_[_0x9bb6[24]]({app:_0x2575x12[_0x9bb6[39]],appdata:_0x2575x12[_0x9bb6[45]][_0x9bb6[66]](_0x9bb6[65]),priority:_0x2575xc,IntervalId:_0x2575x12[_0x9bb6[31]],interval:_0x2575x12[_0x9bb6[33]]||_0x9bb6[35],isApp:true,appType:_0x2575x12[_0x9bb6[57]]||null},_0x2575xd))}}};_0x2575xc++;if(_0x2575x12[_0x9bb6[39]]===_0x9bb6[44]&&_0x2575x8[_0x9bb6[48]]&&_0x2575x8[_0x9bb6[19]]===_0x9bb6[26]){_0x2575x14[_0x9bb6[25]](_[_0x9bb6[24]]({app:_0x9bb6[67],appdata:_0x9bb6[55],priority:_0x2575xc},_0x2575xd))}else {_0x2575x14[_0x9bb6[25]](_[_0x9bb6[24]]({app:_0x9bb6[38],appdata:_0x9bb6[68],priority:_0x2575xc},_0x2575xd))};_0x2575xc++;_0x2575x14[_0x9bb6[25]](_[_0x9bb6[24]]({app:_0x9bb6[38],appdata:_0x2575x12[_0x9bb6[39]]+_0x9bb6[69],priority:_0x2575xc},_0x2575xd));_0x2575xc++;_0x2575xe[_0x9bb6[25]](VoiceExtension[_0x9bb6[30]](_0x2575x14,{transaction:_0x2575x7}))});_0x2575x11[_0x9bb6[25]](_[_0x9bb6[24]]({app:_0x9bb6[38],appdata:_0x2575x8[_0x9bb6[19]]+_0x9bb6[70],priority:_0x2575xc},_0x2575xd));_0x2575xc++;if(_0x2575x8[_0x9bb6[19]]===_0x9bb6[71]||_0x2575x8[_0x9bb6[19]]===_0x9bb6[26]){_0x2575x11[_0x9bb6[25]](_[_0x9bb6[24]]({app:_0x9bb6[72],appdata:_0x9bb6[55],priority:_0x2575xc},_0x2575xd));_0x2575xc++};_0x2575xe[_0x9bb6[25]](VoiceExtension[_0x9bb6[30]](_0x2575x11,{transaction:_0x2575x7}));return _0x2575xe})[_0x9bb6[17]]()}}}function handleError(_0x2575x1b,_0x2575x1c){return _0x2575x1b[_0x9bb6[75]](500)[_0x9bb6[74]](_0x2575x1c)} \ No newline at end of file